Better HN
topnewbestaskshowjobs
Log inSign up

iamyemeth

35 karma · joined Nov 10, 2021 (5y ago) · 12 submissions

Submissions

comment 4mo ago · link · parent

"Unlike some of Nolan’s other films, The Odyssey is not boring, thanks to the source material, which is impossible to mess up entirely."

To imply in the first paragraph that a) Nolen's films are boring and b) that it's impossible to make a bad Odyssey movie because the source is so good, made me eye roll so hard I automatically stopped reading and closed my browser tab

comment 4mo ago · link · parent

https://en.wikipedia.org/wiki/Think_of_the_children

comment 5mo ago · link · parent

> Conclusion There are 2 r's in the word "strawberry".

Not looking good so far

comment 2y ago · link · parent

"But the company can’t quite show any of that today", in case you want to save yourself a click

comment 2y ago · link · parent

Wolf swears it's vegan

comment 2y ago · link · parent

Why, after 6 years, I'm over increased complexity for marginal benefit. Sounds like most things developed and promoted by FANG

comment 3y ago · link · parent

I would say Beej's Guide to C Programming is also excellent. Unpopular opinion, I think "The C Programming Language" feels a bit dated these days

comment 3y ago · link · parent

I meant more from the perspective that stb_ds achieves type safe generics in C using macros but without using defines.

It would be interesting to see if something similar could be achieved for an algorithm library.

comment 3y ago · link · parent

It's also the case that _Generic is only available in C11 while this library targets C99

comment 3y ago · link · parent

I'm always a fan of 80% solutions implemented in C. I think the library is pretty nice, and as someone who's experimented with trying to add quality of life features to C99 with macros I think the implementation is actually pretty clean and readable as far as these kind of implementations go.

That being said, I think the ergonomics of the approach taken by Sean Barrett in stb_ds is much nicer than the #define ALG_TYPE, #define ALG_PREFIX approach, although I'm sure it wouldn't be a big stretch to make something similar that was compatible with it.

My feeling is that you could get pretty far with something like Sean Barrett's stb_ds + Salvatore Sanfilippo's sds and then a generic algorithm library like this one

comment 3y ago · link · parent

Summary could have been:

"Man makes a stand against more Blizzard bullshit, mistakenly assuming that someone in management has a soul, gets fired"

comment 4y ago · link · parent

I love that an article that can basically be summarized as: “tabs or spaces? - tabs” is on the front page of hacker news