Better HN
topnewbestaskshowjobs
Log inSign up

arjvik

1,549 karma · joined Jan 24, 2022 (4y ago) · 504 submissions

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

Submissions

comment 1mo ago · link · parent

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)

comment 2mo ago · link · parent

was linked in the article!

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

2 business days is a lot more strict than credit cards, which at the very least would not blink an eye at 2 weeks.

comment 2mo ago · link · parent

This is not exactly perfectly fair - appears that the first player wins 11/27 times and the other two win 8/27 each.

comment 3mo ago · link · parent

This makes sense, and I guess as someone who’s never written Windows software I didn’t realize it was a leaky abstraction!

comment 3mo ago · link · parent

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 :)

comment 3mo ago · link · parent

> 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!

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

I think you just invented blockchain DNS (e.g. https://handshake.org/) without the byzantine tolerance.

comment 3mo ago · link · parent

Shortest-Path (Djikstra's) is in P :)

comment 3mo ago · link · parent

Sadly doesn't look turing complete (yet) :(

comment 3mo ago · link · parent

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`.

comment 4mo ago · link · parent

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.

comment 5mo ago · link · parent

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.

comment 5mo ago · link · parent

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?

comment 6mo ago · link · parent

in tech, we (frequently are expected to) work 5x12!

comment 6mo ago · link · parent

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

comment 6mo ago · link · parent

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?

comment 6mo ago · link · parent

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.

comment 7mo ago · link · parent

elaborate on the problem, for those of us that this is not obvious to?

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

Turns out if we say any word with the same inflection as sit, our dog sits!

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

Almost as if they shouldn't be getting special treatment in the first place!

comment 8mo ago · link · parent

  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!

comment 8mo ago · link · parent

This I didn’t know!

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

by future do you mean Future<T> or metaphorical future? :)

comment 8mo ago · link · parent

hey hey hey the world would be a better place if we all used JAX instead :)
12345
17