Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vkazanov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
vkazanov
1y ago
All good points with one comment. Was there a real example of centrally planned economies after the fall of the ussr? More like centrally guided : Korea, Japan, China are all equally good examples.
182.
▲
by
vkazanov
1y ago
When I was young and beautiful and naive I enjoyed playing with setting things up, even though my main focus was on backend dev. Like, setup postgres, tweak settings to performance, that kind of thing. So I was the first one to get the &quo
183.
▲
by
vkazanov
1y ago
Yup. Half of physics is written just like this.
184.
▲
by
vkazanov
1y ago
Well, systemd IS useful, the same way Kafka is. I don't want to back to crappy bash for service management, and Kafka is a de fact standard event streaming solution. But both are kind of hard to understand end-to-end, especially for an
185.
▲
by
vkazanov
1y ago
Yeah... It took 4 years to properly integrate Kafka into our pipelines. Everything, like everything is complicated with it: cluster management, numerous semi-tested configurations, etc. My final conclusion with it is that the project just d
186.
▲
by
vkazanov
1y ago
Everything hardware on all levels pays significantly less than software, be it US, UK or Asia.
187.
▲
by
vkazanov
2y ago
As a half Polish half Russian who grew up in soviet Lithuania i still remember hating to learn polonez in the late soviet period. Dancing doesn't involve computers... Anyways, as a single statistically insignificant fact: polonez was n
188.
▲
by
vkazanov
2y ago
This is pretty extreme. :-) The magic is that just counting calories basically leads to the same outcome: less carbs and sugary stuff, less fatty meats, more lean meat, more veggies, etc.
189.
▲
by
vkazanov
2y ago
As somebody who went through successful weight cuts at least 3 times I must notice that not losing weight on 200 calories a day is... a very unrealistic situation. Even a 1000 calories is starving. (I do weightlifting, and controlling one&#
190.
▲
by
vkazanov
2y ago
Yes, C++ is a great example of having to make decisions that don't have good solutions without a GC or something like. See mentions of undefined behaviour in relevant sections of the standard, i.e. when a lambda captures something with
191.
▲
by
vkazanov
2y ago
The other important bit here is garbage collection. Local and anonymous functions that capture lexical environments really, really work much better in languages built around GCs. Without garbage collection a trivial closure (as in javascri
192.
▲
by
vkazanov
2y ago
In a way this is true. A function pointer is already half way there. What it lacks is lexical environment capture. And things that are possible to do with closures never stop amazing me. Anyways, functional programming is not about purity.
193.
▲
by
vkazanov
2y ago
Somehow haskell and friends shifted the discussion around functional programming to pure vs non-pure! I am pretty sure it started with functions as first order objects as differentiator in schemes, lisps and ml family languages. Thus functi
194.
▲
by
vkazanov
2y ago
I had the same question until I understood one key pattern of pure functional programming. Not sure it has a name but here goes. There is world, and there is a model of the world - your program. The point of the program, and all functions,
195.
▲
by
vkazanov
2y ago
You never know
196.
▲
by
vkazanov
2y ago
Same here on lenovo thinkpad 14s with AMD Ryzen™ AI 7 PRO 360 that has a Radeon 880M iGPU. Works OK on ubuntu. Not saying it works everywhere but it wasn't even that hard to setup, comparable to cuda. Hate the name though.
197.
▲
by
vkazanov
2y ago
Yes, I was a bit vague. If we are to be serious then we would have to come with definitions of grammar-based approaches vs stohastic approaches. All I am saying is that grammars (as per Chomsky) or even high-school rule-based stuff are impe
198.
▲
by
vkazanov
2y ago
That's correct. Grammars the way I understand them are are a family of human language models. Typically discrete in nature. The approach was born out of Chomsky's research culminating in the Universal Grammar idea.
199.
▲
by
vkazanov
2y ago
What exactly is wrong? The fact that grammars are very limited models of human languages? My key thesis is that human languages operate in a way that non-probabilistic models (i.e. grammars) can only describe it in a very lossy way. Sure, L
200.
▲
by
vkazanov
2y ago
> Languages definitely follow grammars But it's the other way around! Grammars follow languages. Or, more precisely, grammars are (very lossy) language models. They describe typical expectations of an average language speaker. Gramm
201.
▲
by
vkazanov
2y ago
Yes! As somebody who speaks 2 languages, and sort of reads/understands 2 more, I cannot agree more. Human spoken languages do not follow any grammars. Grammars are just simplified representations of reality that is probabilistic in nat
202.
▲
by
vkazanov
2y ago
Huh? Offended?! Filesystems present a durable way to store hierarchical binary/textual data. They normally have a very well-defined api used to provide a primitive query language. Sounds a lot like a database, no? Even internally they
203.
▲
by
vkazanov
2y ago
Glibc is a reliable generalist while most other ones specialise in something: single thread, multiple threads, slab, arena style, etc .. Some of the other things disabled might be useful for distros in general, like ndebug assertions or co
204.
▲
by
vkazanov
2y ago
This is a nice and visually pleasing manifesto. It is also hard to read.
205.
▲
by
vkazanov
2y ago
Programmers like recursion because some algorithms are much, much more pleasant to write this way. Others are easier to write iteratively. Both are easy to do wrong. Example: depth-first tree walking algorithms. Implicit stack makes it tri
206.
▲
by
vkazanov
2y ago
Just noticed that this is what you suggested :-)
207.
▲
by
vkazanov
2y ago
There's also a hybrid approach: generate electricity and also reuse heat for centralised heating. This can reach 60% efficiency as far as I remember but might require building plants closer to heat consumers.
208.
▲
by
vkazanov
2y ago
I think this is mostly due to the more niche nature of the discussion. Many people play games, not too many people (or even devs) know about all the numerous Lisp-likes. In relevant communities. I have seen A LOT of arguments in niche commu
209.
▲
by
vkazanov
2y ago
No, all popular functional languages have one flavour of polymorphism or the other. Or, in math speak, Oop means polymorphism but polymorphism doesn't mean oop.
210.
▲
by
vkazanov
2y ago
Yes, this was already becoming true around the time I was writing the linked article. And I also read the paper. :-) I also remember I had access to a pre-Haswell era Intel CPUs vs something a bit more recent, and could see that the more co
More ›