Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Kenji
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
96 ms
·
571.
▲
by
Kenji
10y ago
I bet most people just read the first page of this guide and thought "yeah, I should upvote that, I'm gonna read it later" and don't realize that the article is full of gaping holes and TODOs which really devalues the en
572.
▲
by
Kenji
10y ago
You made me laugh out loud. Thank you for bringing humour to hackernews.
573.
▲
by
Kenji
10y ago
Good question. The ones that are in my favourites, that'd be the quick answer ;) I value posts with very high raw information content and some humour to go along with it. With information content, I mean stuff like "in C++, use vi
574.
▲
by
Kenji
10y ago
I usually write a comment, read other people's comments and then read the article. In that order ;) Jokes aside, I actually do tend to value the content of HN comments more than the actual links. Very often, only the comments are read-
575.
▲
by
Kenji
10y ago
I have two questions for you: - How does Haskell fare with large projects that use APIs that are inherently stateful, like OpenGL? Don't things get messy and ugly as the pure world of Haskell is being tainted? - How do I optimise Haske
576.
▲
by
Kenji
10y ago
It has nothing to do with newcomers or skill or any of that. Often, we need to make computers do a list of things. Conditionally, sometimes, but nevertheless, a list of things. This is human thinking. A C function is nothing other than a li
577.
▲
by
Kenji
10y ago
Emotion won't win you a debate. Or convince anyone. As a matter of fact, precisely this 'should be fucking ashamed'-culture is what enabled Brexit and Trump in a large part. Learn and correct course.
578.
▲
by
Kenji
10y ago
//int dead = *P; // deleted by the optimizer. If a compiler does that, it is broken. Dereferencing P clearly has side effects (i.e. segfault if P does not point into valid memory). A compiler must prove that its opti
579.
▲
by
Kenji
10y ago
The problem with not watching the news is that when you socialise with other people, your discussions will be one long string of Aleppo moments ( https://www.youtube.com/watch?v=fOT_BoGpCn4 ) because the newspapers pick som
580.
▲
by
Kenji
10y ago
Trump's victory was a cultural movement independent of 'fake news' or Russians. The sooner we all recognize that, the sooner we can react and adjust course to avoid things like the 2016 election in the future (where both main
581.
▲
by
Kenji
10y ago
Wait, what? It seems like this person is projecting their own problems on everyone else. The realization that you're not a genius and that there are more competent people around and that programming is often not research but actually e
582.
▲
by
Kenji
10y ago
Nanny state has to make sure that wittle people are getting the right information, hmm? Looks like Germany can't fully shake off its fascist past.
583.
▲
by
Kenji
10y ago
I loved these as a kid! This brings back memories. I've never thought about the math behind it but maybe I should, this is awesome.
584.
▲
by
Kenji
10y ago
Then how do you obtain such a random number that you use as a parameter? After all, it cannot be the result of a function, because then we'd be in a 'dysfunctional world'. Yet, it cannot be a constant either. I guess you'
585.
▲
by
Kenji
10y ago
Reminds me of those old times when Norton Anti Virus automatically quarantined the binaries of empty Borland Delphi GUI projects. Eventually I just got rid of my antivirus altogether because it kept having false positives.
586.
▲
by
Kenji
10y ago
> The blank Photoshop document glows in front of you. You’ve been trying to design a website for an hour but it’s going nowhere. For me, it's exactly the other way around. I have a beautifully illustrated Photoshop picture and then
587.
▲
by
Kenji
10y ago
Call me ignorant but why exactly does a plain, honest ad need JavaScript? Why isn't a plain picture that links to the advertiser's site (maybe through a counter redirect so you can see how many people followed the link) enough?
588.
▲
by
Kenji
10y ago
As far as I know, the EmDrive is still considered controversial and it is not certain whether and how it works. It is interesting because it could cause a revolution to how we view impulse, so it might be a colossal thing just as much as it
589.
▲
by
Kenji
10y ago
I guess they'll just raise inconvenience to block the ads higher and higher, just like they did on Android phones, where Chrome did not have any extensions and apps serve ads that cannot be blocked without you getting root access to yo
590.
▲
by
Kenji
10y ago
If you take the results of soft 'sciences' seriously you've already lost. Recognize submissions like the one you linked as noise and move on. Common sense goes a long way.
591.
▲
by
Kenji
10y ago
Nonsense. That's like saying Windows was the first OS with GUI and windowed applications. There were many before Apple, like Palm devices, they just weren't that successful.
592.
▲
by
Kenji
10y ago
Why Functional Programming ended up not mattering much at all, after all (2016) [pdf]
593.
▲
by
Kenji
10y ago
Sleep deprivation is torture. This has been clearly established and the evidence of harm that sleep deprivation causes is so vast that I'd rather not continue discussing this. "Eviduuuuuuuuunc! Prove that which is common sense!&qu
594.
▲
by
Kenji
10y ago
Sleep deprivation helping with depression is among the dumbest things I've ever heard and "doctors" who advise this strategy and harm people as a result should be held liable as harshly as possible. I am serious: This idea co
595.
▲
by
Kenji
10y ago
Willpower is not about forcing yourself to do something, but to deliberately put yourself into a situation that forces you to do it. For example: You want to run, but you are too lazy. Ask a friend to run with you at a certain time. Now you
596.
▲
by
Kenji
10y ago
I think this is very very dangerous advice. So much so that I flagged this article. Sleep deprivation is harmful in most cases and is very likely to worsen depression and work performance significantly (not to mention - you shouldn't d
597.
▲
by
Kenji
10y ago
not to use after free(); accidentally adding a second clause to a non-bracketed if expression; Two methods I religiously use in my code: Set to NULL after freeing. free(NULL) is a no op, so freeing twice is never an issue anymore. And sin
598.
▲
by
Kenji
10y ago
Software Design is intellectually productive. If you aren't, you are not designing and implementing software.
599.
▲
by
Kenji
10y ago
I can't squeeze more than 4-6 hours of intellectually productive hours out of a day. I may delude myself into thinking I can do more, but it's not sustainable.
600.
▲
by
Kenji
10y ago
People who think AV is good or even necessary are delusional. Never has there been software that was worse than the AVs I came in contact with. They pose more of a stability problem than malicious programs themselves.
More ›