Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afhof
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
afhof
14y ago
Makes me wonder if future languages will be designed to be read in serial. Perhaps that will decrease the amount of time we need to look at code to understand what it does.
92.
▲
by
afhof
14y ago
I still can't grok why people pick C++. Is it just a Windows specific thing? If someone wanted speed of execution, why not use Ansi C? If someone wanted object oriented programming, why not the myriad other languages? (Java comes to mind
93.
▲
by
afhof
14y ago
Please port this to Firefox! The /only/ time I open up Chrome is to view a Youtube link someone sent me.
94.
▲
by
afhof
14y ago
I believe it doesn't work for videos that have ads attached. https://www.youtube.com/html5
95.
▲
by
afhof
14y ago
Before I interviewed at Google, I read the book "Effective Java" Never before have I read something and had an epiphany that not only is someone else is way, way smarter than me, but the advice incredibly powerful and useable. I regularly
96.
▲
by
afhof
14y ago
Weak explanation and crummy code. It didn't answer one of my long standing ansi escape code questions: whats the deal with that 256 (really 216) color space that programs like htop use? How do I get that, and why does it exist? Also: "cl
97.
▲
by
afhof
14y ago
Also don't forget that attachments are usually base64 encoded which increases the size by 33%.
98.
▲
by
afhof
14y ago
Its nice to see my name in the Contributors file. I found that submitting patches was easy and said patches were quickly reviewed. What isn't easy is reading and understanding the documentation. The jump between the Go tour and the Go doc
99.
▲
by
afhof
14y ago
So once you've allocate more memory than you have, what happens when you to to write to any of it?
100.
▲
by
afhof
14y ago
I feel bad for Netflix right now. First they get sued for not having subtitles for movies they didn't make[1], and now it looks like they are scrambling to get subtitles up. [1] http://arstechnica.com/tech-policy/2012/10/netflix-settles-w
101.
▲
by
afhof
14y ago
Unless you can sustain a $100,000-$300,000 loss before you have have paid into the insurance pool more than that amount, it makes sense. If you had gobs of money, then it wouldn't make sense for you to have insurance. (preconditioned on in
102.
▲
by
afhof
14y ago
As for blaming the tool for what the users do: I believe this has been tested in court with the Sony vs. Universal City Studios case (The Betamax case). Since the recorder wasn't explicitly made for breaking the law, the makes of the record
103.
▲
by
afhof
14y ago
Looking at the diff, it doesn't appear anything was really fixed, just removed. I guess that explains the quick turn around time on the exploit.
104.
▲
From Zero to Go: An HTTP Server in Go from Scratch
(notcarl.com)
3 points
by
afhof
14y ago
|
0 comments
105.
▲
by
afhof
14y ago
Why does everyone keep saying Doing X in Language Y is faster than X in Language Z? Really they are comparing compilers, not languages. Everyone seems to just keep making potshots at Language Z.
106.
▲
by
afhof
14y ago
eh. I use regular expressions often enough that I am pretty fast at them for common cases, and usually get them right on the first try. This seems like it would only be useful if you don't really use regex's that often. For the case of us
107.
▲
by
afhof
14y ago
If you haven't read the first one, it is a book filled with programming gems. I have personally used the magic number division algorithm in my CUDA programming, resulting in a ~50x speedup. Highly recommended.
108.
▲
by
afhof
14y ago
The Stock Market is bigger and more impactful than sports, but I wouldn't say cheating in sports is less serious. There is a LOT of money moving around in sports (Superbowl, BCS, etc.) and having the best (doping or non doping players) tur
109.
▲
by
afhof
14y ago
Did anyone even read his code? The C code gets the wrong answers once its integers overflow. The Python code will produce the correct answer using longs once the integer calculations overflow. Ctypes is the right answer for a different pr
110.
▲
by
afhof
14y ago
4chan represents a social cauldron unlike others. The first and foremost question I had hoped to find out was "What do people talk about when they don't have an identity to think of?" There is almost zero consequence in the case of failur
111.
▲
by
afhof
14y ago
I feel kinda silly just having spent the long weekend writing a threaded 4chan scraper. This is a super welcome change though. Even if you don't visit 4chan regularly you can't ignore the VAST amount of content people upload there. I ima
112.
▲
by
afhof
14y ago
It was a grim realization that I am not the target audience for Chrome. All the stylistic features I like about Firefox seem deliberately left out of Chrome. What bothers me more though is that Firefox along with the rest of the browser m
113.
▲
Dissenting Opinion: Software Dependencies
(notcarl.com)
3 points
by
afhof
14y ago
|
0 comments
114.
▲
by
afhof
14y ago
This sounds like sour grapes to me. Getting an offer from amazon and microsoft aren't trivial, and from the looks on glassdoor the salary range is the same. Why aren't you happy?
115.
▲
by
afhof
14y ago
As always, another link bait zdnet article with a flashy title and zero content. Normally I don't bite but I guess I have been taken in and got exactly what I expected. How come zdnet articles still get posted? I have yet to see one that
116.
▲
by
afhof
14y ago
On the other side of things, how do you convince someone who is in this trap to get off their butt and go (with you or not) do something worthwhile?
117.
▲
by
afhof
14y ago
But without pointer indirection and dynamic memory allocation, why even use C? The big idea of C is pointers. Aren't there languages designed for mission critical and embedded environments (Ada for instance) ?
118.
▲
by
afhof
14y ago
Wait.... no malloc or sbrk? That means all space has to be stack allocated? That's a pretty serious limitation and would probably make it hard to do anything really interesting.
119.
▲
by
afhof
14y ago
A lot of the changes listed in this article are as the title suggests "Googley". I am not that surprised by these actions though. It's easy to get used to the free food and the Friday meetings and then miss them elsewhere. That said, if I
120.
▲
by
afhof
14y ago
I must be mistaken because this looks like a nonissue. Servers are not ever expected to trust client provided data. The origin header is optional for non web services which means that servers probably won' be too picky about this field.
More ›