Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
murkt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
murkt
3y ago
Isn’t it full of quite obvious things? I’ve read it 15+ years ago, when I only had half a year of experience, all of that with an OSS project in Java (really badly written). And I’ve came up with half of the patterns independently. And then
122.
▲
by
murkt
3y ago
Not that many hashmaps see hundreds of millions of entries in their lifetime. Given that Zig isn’t widely used, it’s probable that noone has really stumbled upon this behaviour in a non-benchmark setting.
123.
▲
by
murkt
3y ago
I fail to see how is this relevant to the article. HashMap/dict can as well store a mapping from an integer to an integer. Or from a token to an integer, or whatever, and it has nothing to do with serialization, JSON inefficiency or li
124.
▲
by
murkt
3y ago
Python also has dicts.
125.
▲
by
murkt
3y ago
You can also write it in Python, so it can be slow while it slows down your packets.
126.
▲
by
murkt
3y ago
Yeah, needs a dash there. Undo-able.
127.
▲
by
murkt
3y ago
I’ve used it for a long time, probably more than a decade (switched to Macs in 2010). Even in the 00s it had so many features. I think the first time I’ve encountered regular expressions was in a mass rename tool in Total Commander.
128.
▲
by
murkt
3y ago
> it had the same bells and whistles anyway Electric windows, sure.
129.
▲
by
murkt
3y ago
Reversed electrolyzer would be called a fuel cell then? What are their typical efficiencies?
130.
▲
by
murkt
3y ago
> 1-ethyl-3-methylimidazolium-functionalized Mo3P nanoparticles coated with an anion-exchange ionomer How hard/expensive are all their materials to produce at scale? Molybdenum is not as rare and expensive as platinum, so that’s cer
131.
▲
by
murkt
3y ago
Thanks so much, really informative! I need to read up on economies of Warsaw bloc countries. For some reason I’ve never even heard about a Poland bankruptcy in 1980-81, and I’m from Ukraine (so I’m more than familiar with goods deficit, sad
132.
▲
by
murkt
3y ago
I’m not familiar with the story, can you elaborate a bit on the chip production being a reason of GDR collapse?
133.
▲
by
murkt
3y ago
My children can answer it in a number of ways. Older one, depending on the mood, can just think and calculate, can say “I don’t care”, outright ignore the question, answer with a joke (“bazillion”). Younger one cannot calculate yet, and wil
134.
▲
by
murkt
3y ago
I am not a fan of ORMs personally, so haven’t tried lots of them. But even in Python, SQLAlchemy is way better than Django ORM. Django ORM is tolerable on small projects, and quickly gets in the way on anything a bit more complicated.
135.
▲
by
murkt
3y ago
Ehh, Django ORM always was one of the worst parts of Django.
136.
▲
by
murkt
3y ago
Sure, if it's only one additional five-liner action that's not even in core, then whoever wants to bring the hell back - it's only their own doing
137.
▲
by
murkt
3y ago
An action that renders HTML from JSON will either: — Require additional client-side templates and then it's back straight to hell; — Require really specific JSON structure, basically HTML-in-JSON, which will be ugly as hell and totally
138.
▲
by
murkt
3y ago
> Ukraine is a democracy the same way that Vietnam or Iraq or Kosovo are a democracy. Says who exactly? Ukraine’s democracy is by no means perfect, but it’s not an autocracy. https://en.wikipedia.org/wiki/The_Economi
139.
▲
by
murkt
3y ago
If US and NATO countries did nothing and Ukraine would lose the war, next step Russia would attack Poland or Baltics, and China would attack Taiwan.
140.
▲
by
murkt
3y ago
I know nothing about baseball, cricket and American football, they’re practically non-existent here. Basketball and soccer are full of numbers? For 3-4 years old they are. Maybe there could be some lessons for older kids, I just can’t think
141.
▲
by
murkt
3y ago
It’s already practically abandoned, he has only to pass “exams” twice a year, which is quite easy for him and doesn’t take much time. He finished second grade in February. It doesn’t bring much understanding, though. It’s hard to create par
142.
▲
by
murkt
3y ago
True, we’re going ice skating with him regularly, and it’s a great source of lessons. Doesn’t help very much with math, though :)
143.
▲
by
murkt
3y ago
Is there something similar to this, but for school-grade mathematics? I agree with this manifesto wholeheartedly, just it’s too damn difficult to think of all the whys on the spot to get my son to be interested in that. He’s doing “remote l
144.
▲
by
murkt
3y ago
I live in Ukraine and never have seen a US-funded playground. As a father of two, I’m a frequent visitor of playgrounds. Also have never seen a “funded by EU” sign. I’m sure there are some cases with EU-funding, as I’ve read about a couple
145.
▲
by
murkt
3y ago
What is this “no other options” bullshit? They could just not attack Ukraine and that’s it. Nobody would attack Russia.
146.
▲
by
murkt
3y ago
Counterpoint for 1: packages on PyPI or NPM. When I’m publishing an extension for another language. I really have no idea about their architecture. I’ve seen people just compile for the lowest common denominator. E.g. faiss-cpu on PyPI does
147.
▲
by
murkt
3y ago
One doesn’t need to work for bigger companies to have lots of data these days. Has been true for many years already. In our Postgres DB we have more than 4 TB of data, which I don’t think is too big. We didn’t need any special sauce, no ven
148.
▲
by
murkt
4y ago
Chinchilla actually came before alpaca and llama. Every new variation of model gets some new name, just like every library gets a new name. There were all kinds of BERTs before - DistilBert, Roberta, SciBERT, Schmobert, Schmuber, etc. Many
149.
▲
by
murkt
4y ago
With 4-bit quantization it will take 15 GB, so it fits easily. On 96 GB you can not only run 30b model, you can even finetune it. As I understand, these model were trained on float16, so full 30b model takes 60 GB of RAM
150.
▲
by
murkt
4y ago
1 megagram is a ton, which is widely used. A lot of stuff is measured in tons, including cars (“this car weighs almost two tons, which is pretty heavy for a sports car”), cargo (20-ton train car), etc. It stops on the ton, though - “40 thou
More ›