Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devit
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
301.
▲
by
devit
3y ago
Here you can apply the most common technique for such problems, which is to create a graph whose vertices are pairs made of a vertex of the original graph, plus the "state" of the traversal (or in other words, the essential inform
302.
▲
by
devit
3y ago
You can do that, but there's a tradeoff of losing properties that otherwise hold. For example, by adding the imaginary numbers, there is no longer an ordering compatible with addition and multiplication (ordering compatible with multip
303.
▲
by
devit
3y ago
Italy has not banned ChatGPT: that would be accomplished by a DNS-level block on national ISP resolvers that has not been applied, which would be trivially circumvented by using an unaffected DNS resolver. Rather, OpenAI has decided to resp
304.
▲
by
devit
3y ago
Interestingly they seem to have different token ids for "Word", "word", " Word" and " word". That seems kind of a wasteful design. It seems like it would make more sense to have a single token for all
305.
▲
by
devit
3y ago
In-person competitions simply don't allow any Internet access, you have to use their own machines and you can't bring any data or printed material or electronic device.
306.
▲
by
devit
3y ago
GPT-4 is competely incapable of solving any advanced problem in coding or mathematics competitions, and usually doesn't even appear to correctly understand the problem statement (assuming the solutions are not in the training set, of c
307.
▲
by
devit
3y ago
It's a bit annoying that you have to pay for Copilot just to sign up for the waitlist, rather than being able to either pay for acceptance or start paying when you are accepted.
308.
▲
by
devit
4y ago
Missing discrete GPU and ECC RAM.
309.
▲
by
devit
4y ago
Basically this expresses the image as an image where each row is a linear combination of a set of K rows, with different coefficients for each row (or equivalently for columns). In general it doesn't make sense to compress images this
310.
▲
by
devit
4y ago
And the problem is that such a thing doesn't really work on mainstream CPUs, because memory access instructions take a highly variable amount of cycles depending on which cache level the data is in, which the compiler cannot know, and
311.
▲
by
devit
4y ago
This appears to just hallucinate it using the LLM (easily seen by using made-up words). A much better approach would be to do a Wikipedia/web search and then ask the LLM to summarize the results for a 5 years old.
312.
▲
by
devit
4y ago
As long as you build unwinding tables for each function (which I'm pretty sure gcc has an option for), there is no need for a frame pointer unless the function uses alloca or stack VLAs.
313.
▲
by
devit
4y ago
Because an unexploitable browser (which is the main fundamental advantage of Servo) is more important for Tor than elsewhere since an exploit will compromise anonymity. Also, since Tor browsing is often done with JavaScript off, and removin
314.
▲
by
devit
4y ago
I'd suggest those priorities, in order: 1. Making a fully secure no-JavaScript browser for Tor usage 2. A secure browser that works on major websites 3. Android support 4. Embedding support 5. Extensions support 6. All missing features
315.
▲
by
devit
4y ago
Or just stop using terrible regular expression engines with superlinear runtime? E.g. Rust's regex crate has linear runtime is thus not susceptible to "ReDoS".
316.
▲
by
devit
4y ago
For noise, they should either build a barrier or buy out the properties nearby, certainly not limit the speed. And for surface conditions, repave the road.
317.
▲
by
devit
4y ago
The problem with the Autobahn are the 120 km/h speed limits that are there on a sizeable portion of it for no reason. They should remove all the speed limits, not add more.
318.
▲
by
devit
4y ago
Great question! I've been using the new AI assistant for a while now and I've definitely noticed a certain "sameness" to its responses. In fact, I think it would be relatively easy to build an AI that could recognize the
319.
▲
by
devit
4y ago
This is only for algorithms whose output is solely dependent on the outcomes of comparisons of input values. Otherwise you can for instance sort an input made of zeroes and ones in O(n) time and O(log(n)) space by counting the ones.
320.
▲
by
devit
4y ago
Wow, finally! The lack of working translation was the biggest reason to use Chromium instead of Firefox. And being local is great, and the quality even seems quite good.
321.
▲
by
devit
4y ago
It looks like a language equivalent to Hare can be obtained by adding restrictions to C++. Considering the lack of key C++ features (e.g. generics) in Hare and the lack of adoption, and most importantly the fact that you should use a memory
322.
▲
by
devit
4y ago
That solution is terrible, with a bad algorithm that requires O(tree_height) space (the optimal one involves temporarily using left/right pointers as a parent pointer so that you only need constant space) and lacking any sort of assemb
323.
▲
by
devit
4y ago
They could make only the OSX version proprietary, which would not be a big issue since OSX users have already opted in to slavery.
324.
▲
by
devit
4y ago
The problem seems to be that assert is implemented as a regular function. It must be implemented as a macro so that the line number and assertion expressions are printed, allowing to easily identify the failed assertion. If a language doesn
325.
▲
by
devit
4y ago
You need to like it.
326.
▲
by
devit
4y ago
The source code to the tooling that generates the initialization code sequence along with all the input and configuration files and anything else needed to run it constitutes the source code of such a binary blob.
327.
▲
by
devit
4y ago
You can program your smart contract to forever deny the use of such funds by recording its "non-selfdestruct" balance in the state and only allow to withdraw up to that amount.
328.
▲
by
devit
4y ago
You can if you put your money in a smart contract that refuses all transfers that haven't been pre-approved by you, although that's not the standard procedure.
329.
▲
by
devit
4y ago
That's what vsync is for. And despite what some people and games seem to think, vsync isn't an optional feature that you can turn on or off, it's something that must always be enabled since it's essential to display corr
330.
▲
by
devit
4y ago
I don't understand why crossing between sidewalks would be unsafe. Pedestrians obviously do that all the time, and assuming that you start crossing from a stopped state and not at speed, it seems to me that a bike is as visible or more
More ›