Better HN
topnewbestaskshowjobs
Log inSign up

pionaryon

8 karma · joined Dec 12, 2024 (1y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

The worst time to break my flow is when I'm debugging.

comment 1y ago · link · parent

Really? They've been working hard on a mass surveillance legislation (which would outlaw encryption) for a couple years now, it was thankfully voted down in 2023 because of a successful public outcry, but that didn't stop these gestapo assholes, they're gonna "reword it" and keep pushing it and eventually the public will have fatigued and stopped caring and it will go through.

comment 1y ago · link · parent

And programmers back in the day managed just fine with punch cards...

comment 1y ago · link · parent

You can get pretty far with keeping sharing to an absolute minimum and when you do need to share data, slap a lock free ringbuffer between them to communicate. Pretty simple to get right.

comment 1y ago · link · parent

You can suppress function like macros by using parenthesis because function like macro expansion is literally defined as "name directly followed by open paren".

  #define foo(x) something
  void foo(int a) {} // doesn't work
  void (foo)(int a) {} // does work because 'foo)' can never be a function macro