Readit News logoReadit News
lolptdr commented on State of Terminal Emulators in 2025: The Errant Champions   jeffquast.com/post/state-... · Posted by u/SG-
lolptdr · 3 months ago
Are you implying that the article is bunk? What do you see as a better compendium than this?
lolptdr commented on Show HN: I made a web app to bring children's drawings to life   doodledreams.cc... · Posted by u/vikmex
vikmex · a year ago
Sorry for the inconvenience, I've reached out to you via email.
lolptdr · a year ago
I'm getting the same problem, just a static image panning around.
lolptdr commented on Show HN: I made a web app to bring children's drawings to life   doodledreams.cc... · Posted by u/vikmex
vikmex · a year ago
Hi, sorry for your troubles. It should be possible to try for free, looks like I have a bug after you submit the drawing, but it should still be visible under "History"
lolptdr · a year ago
Hmm, I don't see any free token. I agree that one free token is a good way to get interest going.
lolptdr commented on Everything I wish I knew when learning C   tmewett.com/c-tips/... · Posted by u/bubblehack3r
nayuki · 3 years ago
> Everything I wish I knew when learning C

By far my biggest regret is that the learning materials I was exposed to (web pages, textbooks, lectures, professors, etc.) did not mention or emphasize how insidious undefined behavior is.

Two of the worst C and C++ debugging experiences I had followed this template: Some coworker asked me why their function was crashing, I edit their function and it sometimes crashes or doesn't depending on how I rearrange lines of code, and later I figure out that some statement near the top of the function corrupted the stack and that the crashes had nothing to do with my edits.

Undefined behavior is deceptive because the point at which the program state is corrupted can be arbitrarily far away from the point at which you visibly notice a crash or wrong data. UB can also be non-deterministic depending on OS/compiler/code/moonphase. Moreover, "behaving correctly" is one legal behavior of UB, which can fool you into believing your program is correct when it has a hidden bug.

A related post on the HN front page: https://predr.ag/blog/falsehoods-programmers-believe-about-u... , https://news.ycombinator.com/item?id=33771922

My own write-up: https://www.nayuki.io/page/undefined-behavior-in-c-and-cplus...

The take-home lesson about UB is to only rely on following the language rules strictly (e.g. don't dereference null pointer, don't overflow signed integer, don't go past end of array). Don't just assume that your program is correct because there were no compiler warnings and the runtime behavior passed your tests.

lolptdr · 3 years ago
As a curious FE developer with no C experience, this was very interesting. Thanks for writing the article!
lolptdr commented on The mysticism of Alan Watts (2018)   philosophyforlife.org/blo... · Posted by u/sacrosanct
TedDoesntTalk · 3 years ago
Watts is an entertaining speaker, but he won’t teach you how to practice.
lolptdr · 3 years ago
What would you recommend to practice Watts’ ideas?
lolptdr commented on Phrack Issue 70   phrack.org/issues/70/1.ht... · Posted by u/bugmen0t
lolptdr · 4 years ago
Why does phrack.org domain not use SSL protocol?
lolptdr commented on Milky Way, 12 years, 1250 hours of exposures and 125 x 22 degrees of sky   astroanarchy.blogspot.com... · Posted by u/giuliomagnifico
mnw21cam · 5 years ago
That's not the full panorama. Try https://1.bp.blogspot.com/-TqRxEAjrDYI/YFCLF-H8K3I/AAAAAAAAS... instead.
lolptdr · 5 years ago
Damn, this is impressive. Wish there were more annotations of other notable sky objects in addition to what's shown.

u/lolptdr

KarmaCake day1416August 24, 2014View Original