Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
threeducks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
threeducks
1y ago
It should also be noted that PyTorch has a page about reproducibility: https://docs.pytorch.org/docs/stable/notes/randomness.html TL;DR Seed your PRNGs and call torch.use_deterministic_algorithms(True) to get
62.
▲
by
threeducks
1y ago
Over the past two years, I have also seen many similar stories where the majority of users were unable to recognize that these stories were AI-generated. I fear for the future of democracy if the masses are so easily deceived. Does anyone h
63.
▲
by
threeducks
1y ago
I agree with your examples, but is there anything new that Mojo brings to the table that could not be achieved with a Python library?
64.
▲
by
threeducks
1y ago
I have learned a lot from other programming languages, but developing a new programming language and building an ecosystem around it is a huge amount of work. In the case of the Mojo programming language, it would have been more beneficial
65.
▲
by
threeducks
1y ago
Learning new languages did change how I think about programming. For example, Clojure's immutability and functional nature had a strong influence on how I write my (mostly Python) code these days. I learned how to write efficient cod
66.
▲
by
threeducks
1y ago
When I was young, I enjoyed messing around with new languages, but as time went on, I realized that there is really very little to be gained through new languages that can not be obtained through a new library, without the massive downside
67.
▲
by
threeducks
1y ago
- 1100 tokens/second Mistral Flash Answers https://www.youtube.com/watch?v=CC_F2umJH58 - 189.9 tokens/second Gemini 2.5 Flash Lite https://openrouter.ai/google/gemini-2.5-flash-li
68.
▲
by
threeducks
1y ago
9 lines seem to be sufficient (assuming string keys and int values). // Hashtable definition #include <string.h> #define N 1024 int* map_ptr(const char **keys, int *values, const char *key){ size_t
69.
▲
by
threeducks
1y ago
I have been testing it since yesterday in VS Code and it seemed fine so far. But I am also happy with all the GPT-4 variants, so YMMV.
70.
▲
by
threeducks
1y ago
> The best way to mitigate the load from diffuse, unidentifiable, grey area participants is to have a fast and well engineered web product. I wonder what all those people are doing that their server can't handle the traffic. Wouldn&
71.
▲
by
threeducks
1y ago
the median prompt [...] consumes 0.24 watt-hours of electricity In layman's terms, that is (approximately) - one second of running a toaster, or - 1/80th of a phone charge, - lifting 100 pounds to a height of 6 feet, - m
72.
▲
by
threeducks
1y ago
What makes it so that this kind of precision is required? I have little knowledge of the physics behind it, but a few decades ago, a local university had an open day where they bounced lasers off of a retro reflector on the moon to measure
73.
▲
by
threeducks
1y ago
With mediocre documentation, NVIDIAs closed-source libraries, such as cuBLAS and cuDNN, will remain the fastest way to perform certain tasks, thereby strengthening vendor lock-in. And of course it makes it more difficult for other companies
74.
▲
by
threeducks
1y ago
As far as I am aware, the "hanging" issue remains unsolved to this day. The underlying problem is that LLMs sometimes get stuck in a loop where they repeat the same text again and again until they reach the token limit. You can br
75.
▲
by
threeducks
1y ago
There certainly are issues on Linux as well. The Detectron2 library alone has several hundred issues related to incorrect versions of something: https://github.com/facebookresearch/detectron2/issues The mmdetectio
76.
▲
by
threeducks
1y ago
Yes, but the odds of getting GPT-OSS to respond with that riddle are pretty low and it is not necessary to demonstrate whether the LLM can answer the riddle correctly.
77.
▲
by
threeducks
1y ago
FWIW, I asked gpt-oss-120b this question 10 times and the answer was always "sauce", "sane" or "sale". I also tried different temperatures (from 0 to 1), which did not seem to have an effect on the correctness
78.
▲
by
threeducks
1y ago
OpenRouter rankings conflate many factors like output quality, popularity, price and legal concerns. They can not tell us whether a model is popular because it is genuinely good, or because many people have heard about it, or because it is
79.
▲
by
threeducks
1y ago
A human would likely have refactored the two collision checks between bullet/enemy and enemyBullet/player in the JavaScript code into its own function, perhaps something like "areRectanglesOverlapping". The C++ code only
80.
▲
by
threeducks
1y ago
I think LLMs are adapting higher level concepts. For example, the following JavaScript code generated by GLM ( https://github.com/simonw/tools/blob/9e04fd9895fae1aa9ac78b8... ) is clearly inspired by this C++ c
81.
▲
by
threeducks
1y ago
98.css: https://jdan.github.io/98.css/ XP.css: https://botoxparty.github.io/XP.css/
82.
▲
by
threeducks
1y ago
Relevant XKCD: https://xkcd.com/927/
83.
▲
by
threeducks
1y ago
That might work for the current generation of bots, but it will become infeasible when the domain names are generated in such a way that they overlap with spellable and existing domain names.
84.
▲
by
threeducks
1y ago
Wow, that's smart. I was wondering whether there is a way for the bots to generate "unpredictable" domains such that security researchers could not predict them efficiently (even with source code), but the botnet controller c
85.
▲
by
threeducks
1y ago
Not sure if that counts, but if you import both matplotlib and OpenCV at once, there is a good chance of a crash due to conflicting PyQt binaries: https://github.com/matplotlib/matplotlib/issues/29139 But I a
86.
▲
by
threeducks
1y ago
What the parent poster means is that you can use the API to generate many question/answer pairs on which you then train your own model. For a more detailed explanation of this and other related methods, I can recommend this paper: htt
87.
▲
by
threeducks
1y ago
An AI does not have much to gain by replicating itself beyond a few backups for increased resilience. It makes more sense to combine all compute to power one big AI instead of spawning many small AIs.
88.
▲
by
threeducks
1y ago
Testing PCIe bandwidth with a model that fits entirely into VRAM (quantized Phi-3 Mini at 2.39 GB on RTX 5090 with 32GB VRAM) is stupid because there won't be any memory transfer over PCIe beyond the initial model load. They should hav
89.
▲
by
threeducks
1y ago
> why this isn't melting Voyager? Same reason why you can sit in a sauna with very hot air or pass your hand through a flame quickly without severe burns. Low density matter does not transfer heat very well. And space is especially
90.
▲
by
threeducks
1y ago
Another reason to ditch email-to-login: It decreases active user count because login is such a chore. I only use those websites if I absolutely have to and there are no alternatives.
More ›