HNHacker News
TopNewBestAskShowJobs

albinahlback

18 karma · joined November 6, 2021

submissionscomments
albinahlback··on Google fixed more Chrome bugs in June than over the past two years, thanks to AI
And how many were introduced by AI?
albinahlback··on New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]
Very nicely typeset.
albinahlback··on The AMD Zen 5 Microarcitecure
Looks like Zen 5 will now have 3 integer multiplication ports? Hopefully that yields a reciprocal throughput of 2/3 of sequences of mulx instructions!

EDIT: With the 8-wide dispatch system, I suppose it can actually target Apple's silicon when it comes to asymptotics, no?

albinahlback··on Beating the Compiler
While I do think there are a lot of reasons to why one should not write in assembly, time-critical base routines can often benefit a lot from being written in assembly (take GMP's mpn-module for instance). However, this puts some constraint on how the code should be formatted (in GMP's case, this means that everything the mpz-module does is derived from the mpn-module), which cannot be said for all applications.
albinahlback··on Overleaf: An open-source online real-time collaborative LaTeX editor
Very good tool for learning LaTeX, and has some tutorials as well.

Unfortunately, in my experience it does not work as well with Git as they advertise.

albinahlback··on NetBSD 10.0 Released
I've been interested to try out (Net|Open|Free)BSD for a while. I mostly code and compile C code. What should one expect when going from Linux to either of these BSD systems?
albinahlback··on Germany opposes client-side scanning planned by EU
Great to see some opposition on this issue. As a swede, I have been baffled by the silence from Swedish media about this. Mullvad VPN has been bringing up this issue a lot, most notably in the swedish newspaper SvD [1], but also by advertisements in the Stockholm subway, but that's about it. Understandably the ongoing NATO process takes up a lot of headlines, but most of the other headlines are just about murders, unfortunately.

[1]: https://www.svd.se/a/76mlxW/jan-jonsson-stoppa-forslaget-om-...

albinahlback··on Ask HN: Lighter alternatives to LLVM
I presume you compile C/C++ code. How does your file structure look like? Do you have a lot of files with little to no content? You can speed things up by merging files. I have managed to reduce the building speed by around 95% by doing such simple things.

Reducing the amount of unnecessary headers is also beneficial, but in comparison to merging files it barely makes a difference.

albinahlback··on Space Math
I think many of the ideas originates from the problem that many users of Latex does not know how to combine proper Latex formatting with stylistic code. The output should be nicely formatted, and given the code it should be very easy to see what it will produce.

As such, I do not like the second example with the code format int_5^20 4 x dx. The absence of backslash \ makes me think that "int" is a variable, "_5^20" is too tight for me, and dx also looks like a variable. Personally, I prefer typing \int_{5}^{20} 4 x \dd{x}, where \dd is your favorite differential typesetting (for me it is \mathop{}\!\mathrm{d}).

But I suppose it is only meant to be a substitute for MathJax and similar markup programs, and not actually Latex.