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

Mr. zahlman, can you please share the source code of "palette swapping by loading the byte data of PNG resources into an array and replacing the PLTE chunk before handing it to the MIDP image loader"?


It's been about 20 years and I don't know if I could even find it, nor have the legal right to disclose it. Regardless, this sort of thing is pretty trivial to figure out if you're already familiar with MIDP (and have access to the documentation) and understand the PNG specification (https://www.libpng.org/pub/png/spec/1.2/PNG-Contents.html). The hard part is having the idea in the first place.


You should consider to read books written by Peter Gelderloos about social anarchism, for example "Anarchy works".

At least you will meet with thoughts of people who have the same frustration as you have.


What about compilation speed of Go/Rust? Surprisingly there wasn't mention about this in article. I consider slow compilation as a main issue of Rust compared to Go. Am I right?


Rust is very slow, yes.

However, I was writing a rather tiny library so it wasn't a major factor, so I didn't notice this until much later.

I did intend to add a blurb about this when posting to Polyglot Weekly, but I .. forgot ;P


thanks for answer)


It's my first commend at ycombinator and I want to say: Hacker News, I love you! ^^

I tried to install Erlang IDEs such as Erlide ( https://groups.google.com/forum/#!topic/zotonic-users/CdLhhQ... ) and open Zotonic projects but features like code completion and quick reference didn't work. Maybe some folder access rights problems, I don't know.


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

Search: