Hacker Newsnew | past | comments | ask | show | jobs | submit | nandalism's commentslogin

There is also the [units] command from UNIX. I think the original was by Ken Thompson (AFAICR).

https://www.unix.com/man-page/v7/1/units/

$ units You have: 1 foot candle You want: lumens meter * 0.310896 / 3.2165097


Inspired by nullprogram's recent post on his alternative, libc-less, thread api.

I decided to see if I could replicated it in zig. I could, with caveats.


We need to bring ChatGPT into the modern age.

Plain ascii text output is a relic of previous century; the domain of the neckbeard!


I write a clone of the unix cmp utility.

(spoiler) I use zig SIMD features to make it faster than GNU cmp.


It's an interesting idea. If I had 2 phones I would probably install LineageOS on one of them and use that as my daily driver.

Keeping the other phone for banking only.


Many banks have gone this route.

Either no online access thru a website or requiring an app on your phone as part of the login process (which amounts to the same thing, no phone app, no banking).


I noticed a void in zig space. A wrapper for the pcre2 (perl regex) library (or any regex library). So I wrote one.

I briefly describe how wrapping C libraries works in zig and provide a complete (single file) zig wrapper for pcre2.


Inspired by a recent post on a D macro which generates an unrolled binary search, I wanted to see whether I could do the same thing in zig.

I could. Here it is...


Programmers need to stop working for free and stop aiding the normalization of free work.

No other profession works for free. On the rare occasions they do, they expect and receive massive social status boosts.


Internal corporate hackathons are the exact opposite of free work. You are getting paid and you get to make something fun instead of something needed for business reasons.


Hackathons are not work. If you play esports for work not every time you play a video game it is work.


Is meta-programming possible in zig?

What can be done with comptime and how does it compare to Lisp and Nim?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: