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

There's an accompanying blog post at https://zserge.com/posts/fenster/

This author has some pretty cool stuff, like a tiny alternative to Firebase https://zserge.com/posts/pennybase/


There is at least two bugs in the blog post, here:

Next simple task would be to fill the complete framebuffer with a solid colour:

    memset(f->buf, rgb, f->width*f->height*sizeoof(uint32_t));
The first is the obvious typo around `sizeof`, which I didn't even see at first (edit: this).

The second is that code will only work for 8-bit colors, i.e. only the 8 (technically CHAR_BIT, "a byte") least-significant bits of `rgb` will be used. This is a quirk of the `memset()` standard C function, which has the prototype:

    void *memset(void s[.n], int c, size_t n);
but then the man page [1] says:

The memset() function fills the first n bytes of the memory area pointed to by s with the constant byte c.

[1]: https://man7.org/linux/man-pages/man3/memset.3.html


It will fill the screen with any of 256 shades of grey, for which r == g == b.


Neato! It's nice to find zserge around. He built upon the idea of my static site generator Zas [0] to create his own zs [1][2] a few years ago. I think he's still using it :)

[0]: https://github.com/darccio/zas

[1]: https://github.com/zserge/zs

[2]: https://zserge.com/posts/new-site-generator2/


No. This is a trend. HN is a tech and startups website so it will show trends. At one point it was VR, eventually it was Web 3.0. Right now it's LLMs but this too will pass and something else will come along.


  Location: Portugal
  Remote: Yes
  Willing to relocate: No
  Technologies: Ruby, Rails, Python, Django, Postgres, React, Node, Go
  Résumé/CV: https://0x1.pt/Vitor_Sousa_Pereira_CV.pdf
  Email: [email protected]
Currently Lead Engineer at a London-based AI SaaS. Been there from the very start. Looking to switch industries.


Homebrew was kind of slow, at one point, but I find that it works pretty well these days. Still, this is pretty cool and competitions is always good.

Interestingly, I always imagined that a would-be replacement would come written in Swift. I guess I was wrong.


Looks similar to Clasp but implements Clojure instead of Common Lisp.

https://clasp-developers.github.io/


Clasp is really cool but it’s a shame that it does not support Windows properly. A lot of C++ is used on Windows. I’ve seen this pattern repeated elsewhere — I think it has to do with Windows exception handling being different and complicated. Hopefully jank does not suffer the same fate, since author is a gamedev!


The Jank creator talking with folks at CERN about integrating with their C++ codebase makes sense too. Clasp was originally used to do some molecular simulation if memory recalls.


Good point. When Clojure first came out it was questioned whether it's a lisp at all, but now I commonly hear many say it is the best Lisp.


Cool. I tried to build Clasp from source a long while ago, and failed. Now a brew install….



No that is a webserver that AOL bought. It used TCL but also threads.


Wild seeing "19 years ago" as the last commit time.

https://github.com/aolserver/aolserver


Can’t be the same thing GP is talking about as the repo says it’s multithreaded and the poster said what they worked on wasn’t


Might have been updated later on.


How does one get into the investment business?


The comment you're replying to laid it out pretty clearly if you want to be a part of a hedge fund (as I interpret your question.) Know friends and family with money (a lot, hopefully) or, more commonly, have institutional connections. Have at least some connections and experience in finance/banking/investing (at a large scale, not small-fry stuff). Bring the two together with a lot of marketing and promises.

If you want to work in IB, then you basically need to go to a feeder school or have connections. The investment business is a lot of "look, we have the smartest people in the room to handle your money, trust us." They rely, like consulting, on selling the prestige of their employees education and social capital. You will sign on to working absurd hours, with the promise of making a lot of $$$ if you can survive (literally, a guy died this year at BofA).


Working in IB isn't related at all to actually making investments / trading though.

If you want to trade your best bet is apply for roles at prop shops and funds and avoid banks entirely


Internship at a fund/CTA/market maker/wholesale bank. If older, go in through an ops position. Don't spend time at a retail bank.


It depends what you want to do. Portfolio manager and quant research roles are rare and highly competitive but other roles in risk, ops or compliance are more common. It's an insiders market for sure.


I think the link for k.zip was just removed.

EDIT: shakti.com/k/k.zip is now returning 404.


Thanks, I thought I was going insane a little bit there :-)


Would you mind expanding on what your friend does? Sounds like energy trading which is something I’ve been taking a look at. I’m just curious.


Seems more likely it's to do with running the systems and networks.


Do you mean njs? Or is there a really a NodeJS module?

https://nginx.org/en/docs/njs/


Yes, njs. My dumb mind expanded the "n" to "node".


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: