Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NAFV_P
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
541.
▲
by
NAFV_P
13y ago
One of my goals in life is to write a piece of software that everybody hates. If those same people depend on it to survive, that is a hugely satisfying bonus. Bill Gates did the same thing, he must got off on that.
542.
▲
by
NAFV_P
13y ago
Getting shot in the face by some dickhead who camps in the bushes then getting teabagged is not my idea of next-gen.
543.
▲
by
NAFV_P
13y ago
Regarding number 2 (again): unsigned sum(const unsigned char *s) { unsigned result = 0; size_t length = strlen(s); for (size_t i=0; i < length; i++) { result += s[i]; } return result; } But it could be
544.
▲
by
NAFV_P
13y ago
The example given in the article shows all the code, but your example involves a function so the code in question is hidden. The behaviour partially depends on how the function is written. "0 0 1" is what I would expect from your
545.
▲
by
NAFV_P
13y ago
Regarding number 2: Loop-invariant strlen() : I would write the loop as the optimised version first hand, especially if there were nested loops. No. 5 caught me out, but I'm not surprised.
546.
▲
by
NAFV_P
13y ago
His hard drive may be worth even more when it is dug up by archaeologists 1024 years in the future.
547.
▲
by
NAFV_P
13y ago
> edit: My "job" is studying literature. I thought someone in your position might use regex fairly frequently.
548.
▲
by
NAFV_P
13y ago
He might as well have used my Grandpa's famous 'cabbage licqueur'.
549.
▲
by
NAFV_P
13y ago
hmm, die-shot.
550.
▲
by
NAFV_P
13y ago
"Kuwabatake Sanjuro" roughly translates as "mulberry field thirty year old". The Kuwabatake Sanjuro from Yojimbo could cut a kimono off of a man's back without drawing blood, and hit leaves blowing in the wind wit
551.
▲
by
NAFV_P
13y ago
I just did a quick calculation: 12000000 bitcoins in circulation, @ $750/BTC... $9billion worth of bitcoin.
552.
▲
by
NAFV_P
13y ago
It suggests that: you are a lazy piece of shit you were incarcerated for bank robbery you were on the run from the Feds living in Argentina you went to Pakistan to attend a Jihadist training course (BTEC-diploma) you were kidnapped by alien
553.
▲
by
NAFV_P
13y ago
> I'd say it depends on what the newbie's end goal is. Some newbies have specific goals, some don't. When I was a newbie, my goal was to learn some programming . I started off with C++, which I don't think is very
554.
▲
by
NAFV_P
13y ago
I wouldn't disagree with the main point of this article, but I think C is also a good language for newbies.
555.
▲
by
NAFV_P
13y ago
A programming language.
556.
▲
by
NAFV_P
13y ago
> but "Fuck you", "moron", "piss off asshole" are a smidge over the top On the other hand he could have responded with this: for I in range(2**20): print "Fuck you, Asshole"
557.
▲
by
NAFV_P
13y ago
I have a copy of Sergio Leone's "Once upon a time in America" on DVD, which has two rape scenes. It also has a sex scene involving a minor and shows Robert De Niro's character smoking opium.
558.
▲
by
NAFV_P
13y ago
In what respect, the identifiers or the keywords?
559.
▲
by
NAFV_P
13y ago
> I disagree. Poor spelling and grammar is an abomination in professional software if it is client facing. It is abominable, but I have seen poor spelling and grammar on software released by Toshiba, I haven't heard any complaints
560.
▲
by
NAFV_P
13y ago
and text like “Link will be sent to your mail for to update your Password.” sprinkled throughout public facing parts of the website, which just doesn’t give your customers the best impression of you and your business. Poor spelling and gr
561.
▲
by
NAFV_P
13y ago
Give it ten years, employers will make their underlings have radio transmitters implanted deep into their heads in order to communicate over great distances. This is the future of pair programming... Hive programming.
562.
▲
by
NAFV_P
13y ago
> I'm not trying to nitpick but I'm worried newcomers to the language might be misled by your comments I'd better not mention the IOCCC then.
563.
▲
by
NAFV_P
13y ago
Zed hasn't finished it yet. I'm dying to see this virtual machine of his.
564.
▲
by
NAFV_P
13y ago
> It was a great Danny Boyle movie, incidentally. 28 Days Later is one of my favourite documentaries. It evokes London beautifully, and the zombies are shown in an unbiased manner.
565.
▲
by
NAFV_P
13y ago
Fools, this is just marketing dressed up as an "inspiring story". This guy sounds like a self-help guru , he doesn't sound like a programmer. Oh look, there's a book he has written which is available on Amazon. He also
566.
▲
by
NAFV_P
13y ago
They spent their money well. Sending an Olympic torch on a space walk is a waste of time.
567.
▲
by
NAFV_P
13y ago
Oops, I messed up the formatting big time.
568.
▲
by
NAFV_P
13y ago
As of 06/11/13 I am on day 101. I write C (rot13 my username), Python and a bit of Javascript, and I am currently doing an accountancy course. The hacking is not in a professional context. Not that much on C (but I'm not real
569.
▲
by
NAFV_P
13y ago
According to BBC's QI, a guy who used to teach actors how to shoot said that there were only two people who wouldn't blink when they fired a gun... Clint Eastwood && Yul Brynner.
570.
▲
by
NAFV_P
13y ago
I was intrigued by the bit regarding array indexing, but I have yet to break out vim and mod that C source . How would this apply to multidimensional arrays?
More ›