HNHacker News
TopNewBestAskShowJobs

aardvark179

2,160 karma · joined November 28, 2011

Currently working at ServiceNow on all the things.

Formerly at Oracle Labs VM Research Group working on the truffleruby implementation.

submissionscomments
aardvark179··on After bankruptcy, he was banned from sports betting sites. Then he found Kalshi
You should try looking up betting, coffee houses, and the 18th century, or the founding of the London stock exchange. Gambling plays more of a role than you might want to admit.
aardvark179··on A map of every lighthouse
Pinch zoom is also broken on Safari on iOS.
aardvark179··on Subnormal floating-point numbers are expensive on Intel processors
I don’t know if any bugs contribute to this but this in the intel case but it has been very common historically for subnormal performance to be lower on many processors, and things like the Alpha required you to handle them in software if the COU fired a trap.

Have a look at https://en.wikipedia.org/wiki/Subnormal_number for some context.

aardvark179··on Book prizes don't work how you think
I don’t mean this to sound harsh, but this post comes across a little like you already assume you deserve to win such a prize and it’s just those fickle judges standing in your way.

I looked at your sample chapter and immediately bounced off a police officer in Maine calling in a murder as a 187 (California penal code).

aardvark179··on Book prizes don't work how you think
I think that proposed prize would be pretty “value-free.”
aardvark179··on The Estranged Worlds of J. G. Ballard
I’m okay with that. I’ve been a huge fan of Ballard and Priest for years, and got into Nina Allan’s work more recently and this book was a brilliant but heartbreaking read.
aardvark179··on The git history command
Having maintained internal forks, and having needed to pull in and rebase upstream changes I do read a lot of commits. Projects that take care with their commits are much easier to work with.

This is also true when creating with security patches and other things that need to be backported to multiple releases.

aardvark179··on Ghostel.el: Terminal emulator powered by libghostty
No, running a command in a terminal buffer doesn’t block the emacs UI, but a long running bit of elisp running in emacs can block the UI.
aardvark179··on Ghostel.el: Terminal emulator powered by libghostty
I think the thing that stops me from running more processes inside emacs is that a large diff parse from magit or similar can block everything, and so I end up keeping a separate terminal around anyway.
aardvark179··on Bun has an open PR adding shared-memory threads to JavaScriptCore
Okay. I gave it another read and I think we agree in general, but maybe disagree on how much memory model strangeness is acceptable, and how wide the gap between, “The behaviour can be understood by a developer,” and, “it should be possible to write a sequential JS program that creates an indistinguishable heap,” is likely to be.

The lower level bits round the object model etc. all look very solid.

Although structs may not be necessary to make JS concurrent their limitations might help in reducing where memory model strangeness could creep in.

aardvark179··on Bun has an open PR adding shared-memory threads to JavaScriptCore
It’s certainly possible, but I worry that weird things can happen when doing something as “simple” as defining a property if another thread is messing with the prototype chain. Even thread safe property maps can’t entirely save you because operations that need to go up the prototype chain are not and cannot be atomic.
aardvark179··on Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28
Although the work being done to enable multiple threads in JS is impressive I think it will be hard to make robust in many casss without locks, or fairly strict limits what operations can be performed on objects shared between threads.

The property lookup and modification process in JS is complex enough as is, is not specified in an atomic kind of way, and has many opportunities for user code to be run as part of accessor properties. Enabling it in multithreaded implementations is tricky without opening up deadlocks when modifying property collections, and even with that could likely be broken by some suitably evil code. Ive worked on more than one implementation that offered some degree of multithreaded access and it’s generally only safe when limited to simple properties.

Async / await avoids those issues because none of the places where user code can be executed allow async code, so there is no opportunity for the world to be changed under your feet during something like property access.

aardvark179··on Converting an Integer to a Decimal String in Under Two Nanoseconds
JSON ser deser is usually dominated by floats rather than ints, and they are more expensive to handle.
aardvark179··on When can the C++ compiler devirtualize a call?
The GoF book came out in 94, and Java in 95.
aardvark179··on Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
The point is that having a GC will affect your data structure and algorithm design, so it’s easier to automatically transform JS or TS to Go than to rust because you’re mostly reducing things down to one problem (translation) rather than multiple intertwined problems.
aardvark179··on Wit, unker, Git: The lost medieval pronouns of English intimacy
It depends a lot on where you were brought up, and the language you were exposed to. My first association would be a very Yorkshire, “Thou knowest,” rather than the king james.
aardvark179··on Rebasing in Magit
cF is the command you want for this.
aardvark179··on The stagnancy of publishing and the disappearance of the midlist
I recommend actual human reviewers who you can stick with over time and who do not just say that a book is good or bad but something about why. Those don’t have to be professional reviewers, they can just be people you know or follow who talk about what they read.

Looking at award shortlists and nomination lists is also a good filter providing you know a little about the award (I wouldn’t go to the Clarke Award shortlist for mil sf stuff, for example).

aardvark179··on New accounts on HN more likely to use em-dashes
iPhone—hold down 0 and ° should be on the pop up.
aardvark179··on Postgres Is Your Friend. ORM Is Not
It’s been swinging for at least 30 years, Toplink came out in 1994, and I have worked on systems that were written half a decade earlier that contained things we’d all call ORMs.
aardvark179··on How far back in time can you understand English?
That is superbly done. I can go further back than some here, 1300 is fine, 1200 I can mange okay, but 1100 takes real effort.
aardvark179··on How far back in time can you understand English?
Orthography is probably the biggest stumbling block going back to the 1500s or 1400s , but that’s really because the rest of the language has changed in vocabulary and style, but is still understandable. If you think the 1200 or 1100 entry are mostly orthographical changes then you are missing the interesting bits.
aardvark179··on How far back in time can you understand English?
Having interpreted for a guy speaking with a broad Glaswegian accent on the east coast main line, I can totally believe this.
aardvark179··on Games Workshop bans staff from using AI
I believe the lore appropriate term is Abominable Intelligences.
aardvark179··on The year of the 3D printed miniature and other lies we tell ourselves
Obviously there isn’t any of that in Warhammer, at least not officially. Even a pretty niche thing for them is probably at a scale where resin casting would make more sense (assuming they aren’t going to sell or license out STL files). There is a decent unofficial scene around alternative weapons load outs and such like, but it’s not going to destroy GW any time soon.
aardvark179··on JavaScript engines zoo – Compare every JavaScript engine
You need more than a simple sandbox for what you describe. You also need to avoid infinite loops or other constructs from causing a DoS or similar, and if you are doing this with the intention of interacting with some other parts of a system then you need to think about how that interaction works and whether there is a way to execute something outside of that sandbox.

Even if you go with something backed by a full time team there is still going to be a chance you have to deal with a security issue in a hurry, maybe in the run up to Christmas. That is just going to come with the territory and if you don’t want to deal with that then you probably need to think about whether you really need a sandbox that can execute untrusted code.

aardvark179··on C –> Java != Java –> LLM
Smalltalk, Lisp, and other image based languages allowed this. I would not recommend it beyond a very restricted idea of patching.
aardvark179··on Reverse Engineering US Airline's PNR System and Accessing All Reservations
Confirmation codes are not sufficient on their own, they cycle through them relatively quickly so they have to be combined with things like the passengers family name to actually identify the booking.
aardvark179··on Leaving Intel
Calling them AI flamegraphs is really naming them after the workload they are likely to be used on. If you want to make workloads more efficient it’s useful to know where they are spending their time.
aardvark179··on I see a future in jj
Crucially you can also select a region within a chunk and perform those commands, so it’s easy to untangle changes.
Page 1 of 26Next →