HNHacker News
TopNewBestAskShowJobs

arjvik

1,549 karma · joined January 24, 2022

find me at https://arjunridesa.bike/

star my code at https://github.com/arjvik

reach me at <github username>@gmail.com

trying out arjvik.at.hn

submissionscomments
arjvik··on 11 year old unsoundness bugs found in Rust borrow checker
You take hardware properties as axioms (for instance, ARMv6 cache coherency is specified in detail as part of the lengthy spec, even though you have no guarantees that the hardware actually is faithful to the spec)
arjvik··on PDF Forgeries Are Surprisingly Rare (2022)
was linked in the article!
arjvik··on OpenAI’s Navier-Stokes release included a Lean 4 formal proof
Sadly, as ideal as this seems, Lean has a history of kernel bugs that allow one to prove False.

It's unlikely to be the case here as instead of hillclimbing a Lean proof for validity it appears the proof was first constructed in English before being translated to Lean, which intuitively (hopefully) reduces the chance it exploits a bug.

arjvik··on What do Visa and Mastercard do? An intro to card networks
2 business days is a lot more strict than credit cards, which at the very least would not blink an eye at 2 weeks.
arjvik··on New type of dice guarantees no tie when deciding who goes first
This is not exactly perfectly fair - appears that the first player wins 11/27 times and the other two win 8/27 each.
arjvik··on How do functions like alloca allocate memory from the stack?
This makes sense, and I guess as someone who’s never written Windows software I didn’t realize it was a leaky abstraction!
arjvik··on Solo – a .so loader for static Linux binaries
Mapping parts of files into executable memory, and then executing them, had better be bulletproof! Exploiting this seems like a direct path to RCE, and it's likely that this sort of library is used by privileged code.

Purely academically, this is a very cool piece of code! Just hoping that it gets a thorough vetting before used by privileged/security-critical software :)

arjvik··on How does IKEA come up with names for its products?
> Sofas → Swedish place names

Looks like some of these place names have been overpowered in search results by their named-for sofa counterparts! When searching Finnala, Sweden, I essentially only get search results for the sofa, and even the Google AI overview, while admitting it's a locality in Sweden, shows me a picture of the sofa!

arjvik··on How do functions like alloca allocate memory from the stack?
Arguably the lower level abstractions are more interesting too! how exactly Windows does ring-0 is less interesting than writing your own ring-0! And unless you care about writing driver-level software for Windows or contributing to the kernel, learning this is also less useful.

I'm essentially arguing that unless you work at MSFT, there's next to no reason to learn that specific abstraction layer.

arjvik··on Bluesky Protocol Services
I think you just invented blockchain DNS (e.g. https://handshake.org/) without the byzantine tolerance.
arjvik··on My phone detects going on a run as “someone snatching my phone and running off”
Shortest-Path (Djikstra's) is in P :)
arjvik··on Video2NAND – Abusing video codecs for great computational power
Sadly doesn't look turing complete (yet) :(
arjvik··on Clockwise/Spiral Rule (1994)
The way I've learned to read it is

    int v;
means that `v` is an `int`.

    int *w;
means that `*w` is an `int`, meaning `w` is a pointer to an `int`.

    int *y[5]
(note that `◌[]` has higher precedence than `*◌`, so this is `*(y[5])`) means that `*y[5]` is an `int`, so `y[5]` is a pointer to an `int`, meaning `y` is an array of `int` pointers.

    int (*(*kitchensink[5])(int, int))[6];
means that `(*(*kitchensink[5])(int, int))[6]` is an int, so

- `*(*kitchensink[5])(int, int)` is an array of `int`.

- `(*kitchensink[5])(int, int)` is a pointer to array of `int`.

- `kitchensink[5]` is a function pointer to a function that takes `(int, int)` and returns a pointer to an array of `int`.

- `kitchensink` is an array of function pointers to functions that take `(int, int)` and return a pointer to an array of `int`.

arjvik··on Ferrari Creates a Fake Manual Transmission
On your side here!

The clutch (and the potential to money shift your transmission) is _fun_, but not the reason that I want a stick shift - when pushing a car beyond normal limits just having control of when it shifts is enough. That being said, the up/down gate is just no fun! Plus, it lacks any feedback on what gear you're in.

arjvik··on Are you expected to run five Python type-checkers now?
understand?

It's really easy to understand that everything is typed as Any/Object/whatever upper bound type your statically-typed language of choice uses.

Desiring something better does not mean a lack of understanding of the status quo.

arjvik··on GitHub bans security researcher who posted zero-day Windows exploits
ooc, would you claim its the responsibility of the security researcher to remove the webshell, or the company's as soon as they were notified? was it publically discoverable and exploitable or was there some form of protection?
arjvik··on Can we have the day off?
in tech, we (frequently are expected to) work 5x12!
arjvik··on Can we have the day off?
something something you're paid the amount the market values your work, which in today's job market is an order of magnitude less than the profit you bring the company
arjvik··on Anthropic acquires Stainless
I don't have an account but my colleauges do as my company uses the platform.

By self-service, do you mean that the SDK generators are now source-available so they can be run by end users locally?

arjvik··on I’ve banned query strings
Every object in git (commit, tree, revision of a single file) has a hash that is guaranteed unique within a repository (otherwise many more things than a web UI would break) and likely also globally. I can understand wanting to isolate repositories to prevent hash collisions from causing problems, but within a repo everything has a universally unique ID.

edit: for instance, that specific VERBS.md is represented by the blob 3b9a46854589abb305ea33360f6f6d8634649108.

arjvik··on China blocks Meta's acquisition of AI startup Manus
elaborate on the problem, for those of us that this is not obvious to?
arjvik··on Meta capturing employee mouse movements, keystrokes for AI training data
While it would be a hilarious failure mode to encounter, this is actually a good thing!

These models already have the skills that humans were using them for, so either by training the models to use subagents or simply inlining the work done by the AI, you have a much easier time training the model to perform tasks from a human-distribution. The humans have done the work of making the human-distribution look more like an AI distribution.

arjvik··on German Dog Commands
Turns out if we say any word with the same inflection as sit, our dog sits!
arjvik··on CERN to host a new phase of Open Research Europe
Open access typically means authors pay a publication fee, which leads to the same result of the government paying twice and the journal profiting twice.
arjvik··on Delta Air Lines Says It Will Suspend Special Services for Congress Members
Almost as if they shouldn't be getting special treatment in the first place!
arjvik··on Show HN: Druids – coordinate and deploy coding agents across machines

  insertDrakeMeme()
  nah: Actor-Critic Models
  ayy: Actor Model
In seriousness, huge fan! multi-agent systems are inherently distributed systems, and we've solved the problem of organizing distributed systems before through actors.

...Just wait until we get multi-agent systems with enough agents to need distributed consensus!

arjvik··on The Shape of Inequalities
This I didn’t know!
arjvik··on //go:fix inline and the source-level inliner
recover()'s semantics make it so that "pointless" use like this can be inlined in a way that changes its semantics, but "correct" use remains unchanged.

Yes, maybe some code uses recover() to check if its being called as a panic handler, and perhaps `go fix` should add a check for this ("error: function to be inlined calls recover()"), but this isn't a particularly common footgun.

arjvik··on Agents that run while I sleep
by future do you mean Future<T> or metaphorical future? :)
arjvik··on FFmpeg at Meta: Media Processing at Scale
hey hey hey the world would be a better place if we all used JAX instead :)
Page 1 of 17Next →