Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devit
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
271.
▲
by
devit
3y ago
Yes, Zen 2+ can execute 4 two-operand LEAs per cycles (according to Agner Fog), and apparently Sapphire Rapids can execute 5 LEAs of any 32/64-bit kind per cycle (according to Intel).
272.
▲
by
devit
3y ago
Why does Ocaml need to tag types? (as opposed to statically knowing the type of everything) Do they not monomorphize generics?
273.
▲
by
devit
3y ago
Apparently the perpetrator who sold out their users to the highest bidder is named Benjamin Kramser and they even freely admit the deed on their homepage! ( https://www.kramser.xyz/ )
274.
▲
by
devit
3y ago
The author doesn't seem to have much experience in writing Rust. For instance, passing RefCell<u32> by value as their code does makes no sense (just use u32...), and the code seems to have a lot of clones, most of which are proba
275.
▲
by
devit
3y ago
It's just Perl 6 renamed.
276.
▲
by
devit
3y ago
It seems you can get a diagram of the actual circuit like this: 1. Go to https://edaplayground.com 2. Paste the code in the right pane labeled "design.sv"; it's probably a good idea to reduce the number of registe
277.
▲
by
devit
3y ago
Do they offer shared IPv4 addresses with routing by HTTPS SNI?
278.
▲
by
devit
3y ago
Not the crypto, but rather the getpass() function, which simply reads a password from standard input without echoing it. Since the function uses a static buffer, there is a limit on the password length, which apparently on Solaris was set t
279.
▲
by
devit
3y ago
Wouldn't it have the opposite effect, of massive centralization? If you can make a perfectly superconducting electric grid, then it's better to build power plants in a single optimal location (e.g. nuclear power plants in an isol
280.
▲
by
devit
3y ago
In case it's not obvious, here is how the attack works: 1. The attacker manufactures a device, such as a smartphone, generates a keypair for it, stores it on an HSM on the device (generally called a "trusted enclave"), and si
281.
▲
by
devit
3y ago
In a lot of places there is either a formal ban on phones and cameras or at least of taking photos, or people simply are used to live simply or in the moment and don't use them (at least not for non-essential things). This holds for wr
282.
▲
by
devit
3y ago
Google Pixel, install GrapheneOS on it
283.
▲
by
devit
3y ago
LineageOS, GrapheneOS and others will mantain those apps or a replacement, so this is a non-issue.
284.
▲
by
devit
3y ago
As long as you have two metal end caps connected by metal poles, and you lay the carbon fiber in the direction that connects the end caps, then it seems that the hull would become concave/"bulge inward" and the fiber would ho
285.
▲
by
devit
3y ago
You can implement such a system-wide undo with filesystem snapshots using LVM2 or btrfs (or with backup/restore). However, you also need to properly isolate software in containers or VMs since of course doing a system-wide undo on a sy
286.
▲
by
devit
3y ago
People act based on their beliefs, and their beliefs are not necessarily related to reality; in fact, they usually aren't.
287.
▲
by
devit
3y ago
The 128 bytes of RAM seems quite easy (game state is 32 bytes for chessboard + 1 byte for side-to-move+castling+en-passant plus 2/3 bytes per move in the search stack + 1 byte to record the depth at which castling was disrupted = 54&#x
288.
▲
by
devit
3y ago
Use pgbouncer
289.
▲
by
devit
3y ago
There probably should be a toggle or a separate brightness control (i.e. "maximum brightness" and "default brightness") if something like that is exposed to the web. Letting content be arbitrarily much brighter than what
290.
▲
by
devit
3y ago
Seems kind of pointless, since the implementations for different languages are independently written and thus the results depend mostly on the skill of the programmers who wrote them (at least for languages that are efficient), and on the q
291.
▲
by
devit
3y ago
Well, that's accurate and indeed a major problem. Subreddit moderators, like unfortunately usually moderators everywhere, can act arbitrarily and there is no way for users to remove or punish moderators. So this means that /r/
292.
▲
by
devit
3y ago
What? Prompts are natural language, so I don't see how they can possibly become obsolete.
293.
▲
by
devit
3y ago
It looks like the reason this apparently weird instruction exists is that AArch64 has a zero register, meaning you can use csinc with two zero register operands to represent cond ? 1 : 0. Given that AArch64 has/had no 16-bit instructio
294.
▲
by
devit
3y ago
The fill algorithm is far from being properly optimized: 1. Use pointIdx instead of a string for fill keys. That's going to be way faster and memory efficient 2. There's no need to have separate added and visited. Just keep added
295.
▲
by
devit
3y ago
The article claims that an allocator that splits memory based on allocation size is called a "buddy allocator". That's misleading: an allocator that allocates an area for each size class is usually called a "slab allocat
296.
▲
by
devit
3y ago
It works like this: First, convert the input text to a sequence of token numbers (2048 tokens with 50257 possible token values in GPT-3) by using a dictionary and for each token, create a vector with 1 at the token index and 0 elsewhere, tr
297.
▲
by
devit
3y ago
It's more efficient, both in time (optimized character parsing, no repeated work if parser backtracks) and memory usage (store identifiers as an interned byte string instead of a tree of character tokens). It also makes it easier for s
298.
▲
by
devit
3y ago
Radio towers are at much lower altitude, so you need way more of them than satellites to cover the whole planet. Also you need permission on land and you need a boat in addition to the tower on the sea. Plus always having line of sight to t
299.
▲
by
devit
3y ago
Looks like the actual threat is that it's hard to get currently known chemical weapons synthesized because labs will refuse to do so, while it could be much easier to have some novel AI-generated molecule synthesized because the labs d
300.
▲
by
devit
3y ago
Well, the safe approach is to either have the user provide their own API key, or to perform requests on the backend (after verifying the user has an account, correctly authenticated, has paid and deducting from their quota). Or you could ge
More ›