u/Shammah - 20 Archived Voat Posts in v/programming
u/Shammah
  • home
  • search

u/Shammah

0 posts · 20 comments · 20 total

Active in: v/programming (20)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: What do you guys think of NASA's programming guidelines? Are they too strict or do they make sense when code correctness is life-or-death?

I don't find copy pasting boring at all!

0 18 Jul 2015 20:12 u/Shammah in v/programming
Comment on: How to show web skills

This is like the gazillionth time I've seen this in just a week's time. This is not original or cool, and HR does not have time for this shit. This doesn't show off web skills, it shows off unoriginal copy-paste skills.

/salt

2 10 Jul 2015 14:31 u/Shammah in v/programming
Comment on: Visual Studio 2015 Final Release - July 20th

I haven't had a chance to work with it yet. I've read that C++ intellisense has gotten a lot of improvements, I can't wait to check this out! I hope it works out of the box with UE4, although I doubt it and we'll have to wait a week or two.

1 10 Jul 2015 09:41 u/Shammah in v/programming
Comment on: Why does ++[[]][+[]]+[+[]] return the string "10"?

I just want to say I don't have a single ounce of regret of moving from a web/mobile job to a native desktop job.

3 08 Jul 2015 23:39 u/Shammah in v/programming
Comment on: How can I grasp the concept of C sockets?

Wax on, wax off, wax on, wax off.

You can only memorize it by applying it again and again. Just be aware that the entire interface is different in say, C# or Java. You're learning C specific networking code here.

0 08 Jul 2015 15:23 u/Shammah in v/programming
Comment on: I need to convert my development team to a "test first" mindset. Pro-"test first" Voats, how was your team converted? Anti "test first" Voats, tell me your criticisms so that I can prepare for them.

See Erik Meijers video last posted here which dicusses some of the reasons why you shouldn't do TDD. I'd take a milder approach. Try to make as much tests as you go aside from trivial stuff, and when solving bugs, don't push the fix unless there's also a test case that passes with it. It keeps your mind from going insane from the boredom of writing tests. Besides, software evolves and changes, so a lot of time on creating tests beforehand is a waste.

1 08 Jul 2015 15:13 u/Shammah in v/programming
Comment on: 0x5F3759DF, The inverse square root hack.

The algorithm was invented by Andrew Donald Booth in 1950 while doing research on crystallography

Because it's totally obvious that you'd need such algorithm when studying the structure of crystals :|

1 08 Jul 2015 15:03 u/Shammah in v/programming
Comment on: Why this sub sucked on Reddit and how to make it not suck here

Bullshit. For example, there's a clear difference in skill between asking how automatic dependency injection works, and how to create methods.

5 07 Jul 2015 17:21 u/Shammah in v/programming
Comment on: What language should I start learning? (IT/Networking college student)

Python for the basics, then C for the gritty shitty gory details of networking. Although, I don't think the language matters as protocols are language agnostic.

1 07 Jul 2015 17:15 u/Shammah in v/programming
Comment on: C++'s Rule of Three

If I recall correctly it's now the rule of five ;D

1 07 Jul 2015 09:45 u/Shammah in v/programming
Comment on: Interactive and short Vim tutorial

Proprietary :(

4 07 Jul 2015 09:43 u/Shammah in v/programming
Comment on: VOAT back-end?

Aside from Mono, .NET is slowly turning cross platform via Roslyn. I wrote a small game engine in .NET/Mono on Linux a few years ago. Worked fine :)

2 06 Jul 2015 22:27 u/Shammah in v/programming
Comment on: VOAT back-end?

They're using Entity Framework and thus also MSSQL if I recall correctly. I don't know the exact details, but you might find out some more if you skim the source code over at https://github.com/voat/voat

5 06 Jul 2015 11:16 u/Shammah in v/programming
Comment on: Java question regarding learning (to do with the Google vs Oracle situation)

These days there's a huge circlejerk concerning scalability. In practice, however, it often doesn't matter, as in many cases the bottlenecks lie somewhere else, if that amount of data throughput is even met. By the time it actually becomes a problem, you should look into how things can get improved or not. Of course, it doesn't hurt to create your service / program with optimization and scalability in your mind, but it shouldn't be a primary concern unless you're Amazon. Pre-mature optimization is the root of all evil; first get it to work, optimize (or scale) later.

1 06 Jul 2015 11:13 u/Shammah in v/programming
Comment on: Java question regarding learning (to do with the Google vs Oracle situation)

Personally, I don't think you should be worried, given Java is huge behemoth and will not easily vanish in my opinion. If you are still worried, however, you should feel comfortable continuing with C#. In fact, C# and Java are very similar, and I'd say if you know C#, you will already implicitly know Java. Remember that Java is very corporate, and can't move as fast as C# could. As a result, I see C# as an improvement over Java, in a sense that it can do the exact same plus more. If you're comfortable with C#, you will have no trouble learning Java's syntax in less than a day, in case you really want to make that Android application.

The other way around, from Java to C#, might take you a wee bit more time, given there are more things to learn like properties, generators (yield), operator overloading and such. As a final remark, I'd like to say that .NET is turning more cross-platform friendly by the day with Roslyn, and you may use ASP.NET for creating web applications. Did you know Voat was made in C# and ASP.NET?

1 06 Jul 2015 10:43 u/Shammah in v/programming
Comment on: Essential facts about floating point calculations

These are every important facts, and cannot be repeated enough. These kind of errors are small, but can be catastrophic for certain algorithms, such as numerical integration and the solving of partial differential equations. The theory behind minimizing these errors is bigger than one might suspect at first glance, and are definitely not trivial.

4 06 Jul 2015 10:36 u/Shammah in v/programming
Comment on: VOAT back-end?

Yes, we should rewrite the entire thing to Go. I mean Rust. I mean Nim. I mean Crystal. Wait, what's the flavor of the month again? There's nothing wrong with .NET. Isn't Reddit even written in Python, which is considerable slower than CLR? Either way, it doesn't matter. I also don't see how you can suggest Rails over any other alternative out there. This post reeks of trolling. The mere fact you think a project like this can't be anywhere close to complicated shows your post has to be taken with a grain of salt already.

52 06 Jul 2015 10:22 u/Shammah in v/programming
Comment on: I wanna get into learning Python. Is Codecademy a good resource?

It's good up until the point it is not good. Just start learning, and when you think you've hit a wall, look for more (maybe better) resources.

4 05 Jul 2015 17:46 u/Shammah in v/programming
Comment on: One Hacker Way - Erik Meijer

Excellent, excellent talk! Do however take in mind that Erik's talk is done by the 10th person; and thus his sole purpose is to disagree with everything concerning agile. It's his purpose to clear out our cache, and to disturb the system.

1 05 Jul 2015 17:27 u/Shammah in v/programming
Comment on: Coder vs Programmer

The jerk in this video is so immense, my legs became hollow.

4 05 Jul 2015 16:03 u/Shammah in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.