eswangren
Re:How to Get a Job as a Developer in Less Than Six Months
on Monday August 20, 2012 @11:29PM (#4411018)
Yay, that's exactly what our industry needs; more cargo cult programmers writing terrible software! Let's just be glad that this RoR guy isn't building anything safety critical.
Re:Sorry Dan Shipper and other coders, you are wrong.
on Friday August 17, 2012 @02:11PM (#4397837)
You don't think that some people are simply better suited to tasks that require a high degree of logic than others? Really? I would think that day to day interactions would teach you that much... We're not all born as blank slates with near unlimited potential.
Re:The 5-minute Guide to C Pointers
on Thursday August 16, 2012 @04:28PM (#4393490)
Just like any other type. Everything is passed by value in C. Everything.
Re:The 5-minute Guide to C Pointers
on Thursday August 16, 2012 @04:24PM (#4393476)
And it is actually somewhat dangerous to cast the return value of malloc. Aside from being redundant it can hide an error on compilers which implement an older version of the standard (not uncommon. Anything pre-C99).
If you forget to include stdlib.h the cast hides the error and malloc will be assume to be a function which returns int. makes for interesting runtime errors.
Never cast the return value of malloc in C, and don't write redundant code. C is not C++.
Re:The 5-minute Guide to C Pointers
on Thursday August 16, 2012 @02:07AM (#4390124)
Just as with pointer arithmetic (because that's what this actually is) you don't multiply by the size of its elements. This:
array[2]
is the same as this: *(array + 2)
The compiler knows what the type of data the pointer refers to and can produce the byte offset itself. Also: "...it's always pointing at the first element of the the array"
Eh... an array can degrade into a pointer when needed, but what does the following produce? char arr[10];
??? x = &arr;
Is "x" a pointer to pointer to char? From your assessment it would seem so, but in reality the type of "x" is char (*)[10]
i.e., pointer to array of char 10. An array is an array, and arrays can degrade into pointer types.
Re:Visual Studio 2012 and .NET Framework 4.5 released
on Wednesday August 15, 2012 @11:17PM (#4389743)
I never used 2008, so I see why you might say that. I went from 6 -> 2005 -> 2010. 2010 is slow as a dog. 2005 is slower than 6.
Re:Visual Studio 2012 and .NET Framework 4.5 released
on Wednesday August 15, 2012 @08:09PM (#4389140)
I just hope it's faster. VS has been getting noticeably slower with each release since 6. It's unbearable at times.
Re:GCC switches from C to C++
on Wednesday August 15, 2012 @04:12PM (#4387955)
I believe an operating system typically implies both.
Re:GCC switches from C to C++
on Wednesday August 15, 2012 @03:17PM (#4387671)
Two prolific projects that amount to far more than the vast majority of us of is will ever accomplish.
Re:Do you understand the difference between retained and shallow heap ...
on Wednesday August 15, 2012 @01:55PM (#4387194)
Yeah, I know... I'm just ranting I suppose.
Re:Do you understand the difference between retained and shallow heap ...
on Wednesday August 15, 2012 @01:31PM (#4387071)
So, I thought the whole point of managed languages was to abstract this stuff away from the programmer. If I have to have a deep understanding of the JVM's implementation details to do anything non-trivial I may as well just stick with C. At least C makes it very clear as to what is going on.
Re:The Antipattern of the MacGyver Programmer
on Tuesday August 14, 2012 @03:36PM (#4382700)
Well who would disagree with that? It's common sense; no article required.
Re:Anic - Faster than C, Safer than Java, Simpler than *sh
on Tuesday August 14, 2012 @12:30PM (#4381739)
It's not a good idea from any perspective. In my experience, the only people who cram as much logic into as few characters as they possibly can are beginner to intermediate level programmers who are in that awful phase where they think they know a lot more than they do.
Re:Ask HN: How do you manage your passwords?
on Monday August 13, 2012 @03:51PM (#4377773)
KeyPass has always treated me well, is free, and runs on multiple platforms.
Re:"Computer Science" is Not Science and "Software Engineering" is Not...
on Wednesday August 08, 2012 @01:25PM (#4356781)
I am first and foremost a software guy, but I work in a systems group. I write hardware device interfaces. I solve problems in the physical world. Motion control, digital imaging, electronics. Many of the problems I solve on a daily basis are problems of physics, yet I solve them (mostly) in software. I think the term "software engineer" applies here. Let's not forget that there are many, many engineers just like me who do not write CRUD and web apps every day.
Re:Want to be more secure? Build two-factor authentication into your w...
on Tuesday August 07, 2012 @03:11PM (#4351731)
Oh great, so now I get hassled with two factor authentication for every stupid, crummy, brain-dead web app I use? No thanks. This level of security is overkill for the vast majority of apps out there.
Re:Lessons From Netflix
on Tuesday August 07, 2012 @03:09PM (#4351723)
+1 that was a horrible, horrible UI change. So much so that I wrote them an email just to complain about it. I don't know what they were thinking with that one.
Re:Lessons From Netflix
on Tuesday August 07, 2012 @03:06PM (#4351712)
NetflIx doesn't get new releases. I don't care why they don't, but the fact remains that they do not. I cancelled because of this. I really like NetFlix as a company, but the lack of selection kills it for me.
Re:
on Monday July 30, 2012 @12:13PM (#4313044)
Why did you wrap the word "stealing" in quotes? It's exactly what you would be doing. If you think you'll get away with it then you're too dumb for me to hire anyway.
Re:NBCOlympics’ Opening Ceremony Tape Delay: Stupid, Stupid, Stupid
on Friday July 27, 2012 @10:32PM (#4304502)
I think it's fair to assume that a Chicago news caster is speaking primarily to an American audience. Specifically, a Chicago audience. So even in that context they weren't being misleading. Relax a bit.
Re:Leaked RIAA Report: SOPA/PIPA “Ineffective Tool” Against Music Piracy
on Friday July 27, 2012 @05:34PM (#4303700)
What is this "rest of the world" you speak of?
Re:Is C/C++ worth it?
on Tuesday July 24, 2012 @11:59AM (#4286228)
Right, but people who are using node.js aren't writing C. Of course C comes into play to do the heavy lifting, but we're not talking about infrastructure. Writing a web server and writing a website are two very different problem domains.
Re:Is C/C++ worth it?
on Monday July 23, 2012 @11:33PM (#4284248)
I was under the impression that application programming using node.js was done primarily in JavaScript...
Re:Is C/C++ worth it?
on Monday July 23, 2012 @09:16PM (#4283844)
Who the hell is writing C when JavaScript is an option? I mean, I love C, and I don't know JavaScript well, but they don't really live in the same problem domain.
Re:Lenovo CEO Gives His $3 Million Bonus to 10,000 Employees
on Friday July 20, 2012 @04:14PM (#4272684)
It's easy to call people cowards when you're not in their situation and likely never will be. I'd like to see what you would do if you actually made that kind of money.
Re:Unbreakable crypto: Store a 30-character password in your subconsci...
on Thursday July 19, 2012 @02:58PM (#4267526)
Unbreakable? Bah, torture would work, and that's much faster than cracking a password.
Re:Ask HN: Is StackOverflow being ruined by its mods?
on Sunday July 15, 2012 @08:07PM (#4248676)
Also, the majority wins, so if two voted to close as a dup and three voted for off topic the. It gets closed as OT.
Re:Free Chrome CDs in Best Buy
on Friday July 13, 2012 @06:26PM (#4242321)
The fact that they are buying a PC from best buy says it all really...
Re:How Amazon’s ambitious new push for same-day delivery will destroy ...
on Wednesday July 11, 2012 @09:49PM (#4232506)
Why wOuld I feel the need to inspect a book before buying it? I am working under the assumption that no pages will be missing. It's worked out fine thus far. You do realize that purchasing items over the Internet has been working well for some time now, right?
Re:Confirmed: Mountain Lion sends some 64-bit Macs gently into that go...
on Wednesday July 11, 2012 @06:45PM (#4231861)
Because using a stronger password somehow nullifies security holes in an OS?