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

You should be posting a link to https://flaviocopes.com/books/ or https://flaviocopes.pages.dev/books/css-handbook.pdf

The mailing list thing just sends you a public url. There's really no need to subscribe to it


Related, I have written about the formatting of the TZ database and other representations before: https://gitlab.com/libtime/documentation/-/wikis/Timezones


If the editor focused on becoming an IDE instead of being idiot-proof and cleanly designed, what would distinguish it from the 1,000 other editor projects?


It's nice to see an editor that explicitly isn't an IDE and is more something like notepad. often when editing config files and the such, it's more convenient to use something like notepad than it is to use something like VSCode.

This editor doesn't have delusions of grandeur, it focuses on usability more than features. and it is better for it.


JPL provides a data generation API that you can telnet into: https://ssd.jpl.nasa.gov/horizons/ to get the positions and whatnot of asteroids, planets, spacecraft, etc.


Thank you! I accepted it


yay - it has made it to raku module status https://raku.land/zef:librasteve/Moonphase


This is also interesting for speed, The algorithms ran by all the impls are identical, but sacrificing speed for cleanliness and adherence to spirit is done regularly.

Without having actually measured, the rust impl probably runs faster than the C impl, but that's not because rust is "faster" than C. That's because I used a closure with one call to floor() for modulus in rust, whilst in C I did 2 fmod()'s to get it because the alternative would've been to make the code unreadable or add a second function/macro (although thinking about it now, undef does exist...)


This discrepancy with time is explained in the book the algorithm is based on (Practical Astronomy with Your Calculator, which also does a good job explaining a ton of other ideas and models in astronomical calculation).

January 0th makes sense because a year starts on January 1st. You count days of the year from 1 instead of from 0. So if we are going by the day of the year, day 1 of the year should be Jan1, the consequence of this being that Jan0 exists and is Dec31 of the prev year.

I originally got into this because of my status bar on i3, hacking together C code from moontool into https://github.com/oliverkwebb/moontool about a year back.


> January 0th makes sense because a year starts on January 1st. You count days of the year from 1 instead of from 0. So if we are going by the day of the year, day 1 of the year should be Jan1, the consequence of this being that Jan0 exists and is Dec31 of the prev year.

That's how bugs get introduced. /s


Javascript is a famously cruft free language, as we all know.

My real question is how you created an account, found this article, presumably read through it, and wrote out multiple comments insulting me all within two minutes.


For a definition of "nobody" that includes Eric S Raymond, one of the most prominent figures in the linux world who's article (https://www.catb.org/esr/time-programming/index.html) I reference multiple times.

[plonk](https://www.catb.org/jargon/html/P/plonk.html)


That looks like a decent article, but for the general case, ESR is not credible on name alone. Go look up criticism of that guy.


Is this really the type of discourse on HN now?


I don't have time to get into it every time that guy's name comes up.

Basically he's best known for:

* Jargon file

* Parading himself around as "Mr open source" in the late 90s

* Working on what by all accounts was a not very good mail client a long time ago

That's the "good" side that's supposed to give him credibility as an expert, and it's not very much. The negative stuff is pretty bad.


The Art of Unix Programming


Already a has-been at that point.


> Eric S Raymond [...] prominent figure[...] in the linux world

Doesn't he work for Microsoft?


He was the publisher of the Halloween documents (from my understanding leaked by a whistleblower to him) and has always been a firm opponent to Windows in all his works. Are you thinking of Poettering?


<del> Isn't this his blog: https://devblogs.microsoft.com/oldnewthing/ ?

It is hosted by Microsoft and talks about implementation details of Windows. So I always assumed, that he works there.</del>

My bad, that's Raymond Chen.


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

Search: