News for hackers. Stuff that matters.

firat

Re:Ask HN: Best linux laptop for developers on Wednesday November 02, 2016 @01:08AM (#12852395)
Ask HN: Vim or Emacs?
Re:Practical Guide to Bare Metal C++ on Thursday July 21, 2016 @03:56PM (#12139579)
That's interesting. Have you linked dynamically? Maybe the author is talking about a statically linked binary, since he uses terms like "bare metal" and "final binary". Even if that takes an extra 120k, maybe additional throw statements won't be so significant.
Re:Typewriters are back, and we have Edward Snowden to thank on Thursday November 13, 2014 @02:59AM (#8600426)
I was under the impression that vinyl records sound better. Are you saying that they are not or that they haven't achieved a noticeable revival?
Twitch.tv + Google Glass will be interesting.
dat keyboard.
Re:Weightless Project on Thursday November 21, 2013 @07:52PM (#6778601)
Where is the money coming from? Why wait for people to lose weight if they already have the money?

I'll assume the device manufacturers are donating the money. Looks like a marketing gimmick to me.

Have you read past the first sentence?
Re:The Drone that Killed my Grandson on Thursday July 18, 2013 @04:05AM (#6062399)
Bullshit.

Here is why: Yemeni government != Yemeni people. The authorities, probably, don't mind letting US drones kill people, simply because it won't be them getting killed.

Imagine the US military firing tear gas and water cannons on protesters in Turkey and saying "It's OK, your government gave us permission". The major problem in the Middle East is that, the governments can get away with not giving a fuck about the people.

Re:iOS 6 Breaks the App Store on Wednesday September 19, 2012 @09:25PM (#4546484)
I agree that iOS 6 layout is ridiculous and far from usable.

However, if you are building an app for Picasa, it better have "Picasa" in its name. The results are probably sorted by relevance (whatever that might be) and not only by ratings.

Re:I can't make this stuff up on Saturday August 25, 2012 @06:35PM (#4433587)
I am already considering to drop OS X after the lawsuit, but I only read 2 paragraphs before I decided to look for this comment in HN before reading further.
Re:Some web development tips from a former Digg developer on Friday August 24, 2012 @05:52PM (#4429878)
Okay, I understand that the formal definition of "idempotent" is different than what the author means. What is the correct term to use in this case?

Edit: Next paragraph says:

  This is a very useful property in many situations, as it means that an operation can
  be repeated or retried as often as necessary without causing unintended effects.
  With non-idempotent operations, the algorithm may have to keep track of whether the
  operation was already performed or not.
"A change in state" would be an unintended effect I think.
Re:Some web development tips from a former Digg developer on Friday August 24, 2012 @05:48PM (#4429861)
What is the definition of "result". My point is that result in this case is a "change of state" vs "no change in state".
Re:Some web development tips from a former Digg developer on Friday August 24, 2012 @05:08PM (#4429672)
I don't think this is the right way to think about it. The ending "state" might be the same, but the output of the first logout operation would be "change of state: logged in -> logged out". In the second case, however, it would be "no change in state". It does different things under different circumstances.
Re:Adobe confirms: no Flash for Chrome on Android on Wednesday February 08, 2012 @09:19AM (#3566590)
The problem is I watch the movies when I want to watch them. Flash is embedded in random. You can always have click-to-flash solutions but those are usually buggy and there are other solid arguments in the list.
I suggest Learn Code the Hard Way by Zed A. Shaw (http://learncodethehardway.org/). It's online, it's free and it's brilliant. I'd suggest him to go with Python as his first language.

If he wants to be a good programmer, he should be able to pick up languages rather quickly after he learns his first one. So switching language is not an issue. Keep in mind though, learning the first one will take some time.