Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
realharo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
361.
▲
by
realharo
10y ago
That's a good start, I'll try that out when I have some time. This specific screenshot however - a linked list - shows a situation where you most likely don't care about the exact structure like this - you only care that it
362.
▲
by
realharo
10y ago
The visualization aspect looks quite interesting, but I'm not sure how many things this can do that a quality IDE already doesn't. The example uses the author mentions ("Following code paths from method to method", "
363.
▲
by
realharo
10y ago
There is no CLion plugin for IDEA (yet).
364.
▲
by
realharo
10y ago
>I find uninitialized objects' badness comparable to the badness of unhandled exceptions - neither is very hard to debug. Unless you have a bunch of code that just passes the object around without looking into it (so it won't
365.
▲
by
realharo
10y ago
So how do you protect yourself against inadvertently passing around uninitialized objects?
366.
▲
by
realharo
10y ago
I guess another option would be a private constructor + a static factory method that returns an optional.
367.
▲
by
realharo
10y ago
I can quite easily picture a situation where someone misunderstands an article claiming that a technology is "modern", or there is "a new wave" of usage, or simply talking about a new version, etc. Especially since the P
368.
▲
by
realharo
10y ago
I think most of the stories on TheDailyWTF are based on true events, but are slightly tweaked (names, details, etc.) for privacy and dramatic purposes.
369.
▲
by
realharo
10y ago
I often have to work with C++ code at work, so I'm all too familiar with music and video stuttering during compilation. I usually just use procexp to give the music player process higher priority, which solves the problem (although not
370.
▲
by
realharo
10y ago
According to the article, they are doing exactly that (but only as a partial "solution").
371.
▲
by
realharo
10y ago
Similarly, I once made a game with vector-based levels and just used Inkscape as the editor.
372.
▲
Time Programming Fundamentals [video]
(youtube.com)
1 points
by
realharo
10y ago
|
0 comments
373.
▲
by
realharo
10y ago
VS Code is built with TypeScript.
374.
▲
by
realharo
10y ago
I also like a rule that states that you either put all the parameters on one line, or each one on its own separate line, but never something in between.
375.
▲
by
realharo
10y ago
Wow, I never knew that existed, just assumed it was an original song. It has a very jingle-like quality to it.
376.
▲
by
realharo
10y ago
Probably similar in Korea, or at least as far as I can tell from watching Starcraft GSL broadcasts on Twitch. The chat always went crazy when this catchy ad started playing https://www.youtube.com/watch?v=MA7PJsp-erM Or mor
377.
▲
by
realharo
10y ago
True. Other languages have it way easier because: - proper module system, none of this header file nonsense - no compiler flags to worry about - no preprocessor definitions to worry about - as a consequence of the above, no dependencies tha
378.
▲
by
realharo
10y ago
That still doesn't mean that you should do any of those operations by hand (which is what the previous comment was about). But sure, if you do scheduling for future times, you do need to be aware of such possibilities and store the fut
379.
▲
by
realharo
10y ago
Still hell of a lot simpler than hand-writing Makefiles though. For both small and large projects. I mean, a "hello world" CMakeLists.txt can be literally just this: add_executable(hello hello.c) And it's cross-platf
380.
▲
by
realharo
10y ago
No, the point is that you should not be doing those thing manually , i.e. you should never be adding integer offsets to something or doing similar operations. Instead, all the rules for conversions between times are already stored in the t
381.
▲
by
realharo
10y ago
If you watch the video I linked above, he explicitly mentions that 99% of the time you should not be dealing with any of those things manually - that if you find yourself working with offsets and DST values, it's a sign that you'
382.
▲
by
realharo
10y ago
The second part basically says "don't use JSON for config files, use some unspecified JSON superset".
383.
▲
by
realharo
10y ago
Time is actually quite simple if you have a good mental model of what you're trying to represent and don't try to mix different concepts into a single value. This talk explains it VERY nicely: https://www.youtube.com&#x
384.
▲
by
realharo
10y ago
Typo, I meant to say "is now the standard...". (can't edit anymore)
385.
▲
by
realharo
10y ago
Regarding Java, Swing has sort of fallen out of favor and JavaFX is not the "standard" UI library.
386.
▲
by
realharo
10y ago
Pretty annoying that you can't select text to copy/paste and quote it.
387.
▲
by
realharo
10y ago
We've already been through an era of manual DOM updates with jQuery and it was pretty horrible for anything non-trivial.
388.
▲
by
realharo
10y ago
A clone of something that appeared 3 years later? (2011 vs 2014 according to wikipedia)
389.
▲
by
realharo
10y ago
It's not a solution, just an observation.
390.
▲
by
realharo
10y ago
The next generation can try to rejoin if the situation in the future changes significantly. Just not anytime soon.
More ›