Better HN
topnewbestaskshowjobs
Log inSign up

hun3

304 karma · joined Feb 21, 2022 (4y ago) · 164 submissions

Submissions

comment 2mo ago · link · parent

I believe r2 can already highlight same 16-bit patterns, am I missing anything?

comment 3mo ago · link · parent

Browsers (WHATWG) uses UTS #46, not IDNA2008.

ada-url (https://github.com/ada-url/ada-python) closely tracks WHATWG spec and thus less likely to lead to parser differential vulnerabilities when interoperating with browsers.

comment 4mo ago · link · parent

> The only downside is that it won't stop UDP packets from getting to a UDP listener. There will not be a response but the application will still see it.

Try:

  ip route add src ${net} blackhole

comment 5mo ago · link · parent

> The OS is a thin layer providing an abstract and consistent interface regardless of the hardware configuration.

This is called a hardware abstraction layer, not OS.

https://en.wikipedia.org/wiki/Hardware_abstraction

comment 5mo ago · link · parent

System WebView but Electron is now the system

comment 5mo ago · link · parent

The operating system has historically trusted the applications not to do dumb things too much.

Only now we're witnessing the consequences much more frequently thanks to accelerated slop.

comment 5mo ago · link · parent

(zenzi)³

I mean zenzi-cubic

comment 5mo ago · link · parent

China has proxies that sell cheaper access to frontier models in exchange for permission to train on your data.

comment 5mo ago · link · parent

Right.

As an example: Oracle and PostgreSQL don't have dirty reads: READ UNCOMMITTED does nothing. MySQL's concurrency model depends on the engine.

comment 5mo ago · link · parent

What keeps users themselves from vibe-coding their own software?

If you don't own quality, why should I pay? You're just a middleman at that point.

comment 5mo ago · link · parent

If you squint hard enough, you'll notice your bank account serves as an IPC semaphore replenishing API credit balances.

Your wallet is now a real-time communication channel.

comment 6mo ago · link · parent

_RealShipOpts has a constructor.

comment 6mo ago · link · parent

With consent, yes.

comment 6mo ago · link · parent

No, "virtual machine" alone doesn't make things safer.

Shrink your attack surface.

Use a completely locked down seccomp. Use nsjail or gVisor for containers. Use microvm or libkrun for full OS.

Lesser attack surface is what matters. Virtualization is only half of the story.

comment 6mo ago · link · parent

Avoiding problems outside your business problem domain, and can therefore guide the AI more effectively towards building the right thing.

comment 6mo ago · link · parent

(Note that this still assumes that each biased-coin toss is i.i.d.)

comment 6mo ago · link · parent

They are orthogonal.

Suppose you have 100ms audio latency and no wait time. Then, natural pause will trigger response immediately but you won't notice it has started until after ~200ms (round-trip time). Twice as annoying.

comment 7mo ago · link · parent

But it's still a bit more difficult to sue them for leaking your company's data.

At least for now.

comment 7mo ago · link · parent

You can write unambiguous (UB-free) code and the compiler's output will be deterministic. There will even be a spec that explains how your source maps to your program's behavior. LLM has neither.

Also, if you need to control performance, you still need to know how CPU cache and branch prediction works, both of which exists at the abstraction level of assembly.

comment 7mo ago · link · parent

How can you read a language you didn't learn?

comment 7mo ago · link · parent

PatchGuard would like to have a word with you.

comment 7mo ago · link · parent

Ironic, since Unix is itself an embodiment of "worse is better."

comment 7mo ago · link · parent

I used floating timestamps as some kind of an identity. If there is ever a conflict, I just increase it by 1 ulp until it doesn't collide with anything. Sorry.

comment 7mo ago · link · parent

In Python, `shlex` has utilities for quoting and tokenizing strings for POSIX shells.

> Documentation: https://docs.python.org/3/library/shlex.html

(Windows users: CMD is hopeless. Sorry. Try powershell.)

comment 8mo ago · link · parent

Finally, a DOOM download that bypasses captive portals

comment 8mo ago · link · parent

> There are better techniques for hyper-parameter optimisation, right?

There always are. You need to think about what those would be, though. Autoresearch outsources the thinking to LLMs.

comment 8mo ago · link · parent

This is exactly what subinterpreters are for! Basically isolated copies of Python in the same process.

https://docs.python.org/3/library/concurrent.interpreters.ht...

If you want a higher-level interface, there is InterpreterPoolExecutor:

https://docs.python.org/3/library/concurrent.futures.html#co...

123456