Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bjoli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
bjoli
11mo ago
I am not saying that is wrong, but there are many mysterious claims in that book. I especially found the claim that "the most expensive burden to society is sugar" by a large margin was pretty astonishing. It lacks wide support in
152.
▲
by
bjoli
11mo ago
This is the GitHub repo: https://github.com/am-kantox/cure-lang
153.
▲
by
bjoli
11mo ago
For those not clicking random links: this foundation tries to find evidence of atrocities by people with dual citizenship so that they can be prosecuted in their other home country.
154.
▲
by
bjoli
1y ago
Linus Torvalds lives in pretty much vanilla microemacs.
155.
▲
by
bjoli
1y ago
I always use "two shift keys activates caps".
156.
▲
by
bjoli
1y ago
I once wrote an inliner. When you have not done it, it seems simple. When you are doing it it is like trying to restrain a large rabid dog with a slippery leash. Now, I am not a programmer by trade, but I have a hard time thinking anyone wo
157.
▲
by
bjoli
1y ago
Adding to this: using laziness compared to a while loop in cases where you will process the whole array is just pure overhead. Heck, testing now on 3.4.4 a while loop is faster than using each. Summing a million numbers (to make the overhea
158.
▲
by
bjoli
1y ago
Laziness is not free. An eager loop will be faster than a lazy construct, especially languages where the laziness isn't really a first class construct. Like ruby. Rewriting the code you wrote (or was it the other guy? I am making food
159.
▲
by
bjoli
1y ago
I spent some time discussing in another thread discussing why the foreach loop is so bad in many languages. Most of the bugs I write come from me managing state, yet if I want to do much more than going start to end of a collection I have t
160.
▲
by
bjoli
1y ago
I dont think interfaces is the point. As it is now in ruby you have to pick between comfort and speed when you can have both. Continuation safety has never been a thing in ruby, so caring about it doesn't make much sense regardless of
161.
▲
by
bjoli
1y ago
Listen, my gripe isn't with ruby in particular. It is with every language out there. Doing it that way is still going to be slower than doing it eagerly with a manual loop. I am not saying ruby should do away with the other ways of doi
162.
▲
by
bjoli
1y ago
Your example of the flatten and grep will build two intermediate arrays before summing. That's inefficient. I would also reach for higher order functions for most things, but when you need things to be fast that is not how you would do
163.
▲
by
bjoli
1y ago
You can iterate over strings and lists and arrays at the same time. You can do destructuring. You can accumulate values in every part of the loop, so if you have subloops you can accumulate values in the outer and inner and every intermedia
164.
▲
by
bjoli
1y ago
Yet, iterating over several collections and accumulating values is awkward. It is not that it is easy to implement the iteration protocol, it is that the construct for looping universally sucks. Even the awful loop macro from common lisp r
165.
▲
by
bjoli
1y ago
Leaving the comfort of lisp, I have started to wonder: why are all the looping facilities in other languages so awful? Standing on the shoulders of giants, I made this little abomination: https://rikspucko.koketteriet.se/bjo
166.
▲
by
bjoli
1y ago
Is the piKVM mode really piKvm?
167.
▲
by
bjoli
1y ago
Urbit is just another example of many that people will fall for fascist ideas if you make it esoteric enough. Whether it is through stupid names or lying about what you are actually doing doesn't really matter. Curtis Yarvin made littl
168.
▲
by
bjoli
1y ago
It is obviously a choice why isn't done, but with static modules you can know whether * is overloaded. That will improve procuedure calls by a lot, almist always. sure, with polymorphic finctions you can get a bit of the way using inli
169.
▲
by
bjoli
1y ago
Sorry. It was an autocorrect mishap. I meant DNS.
170.
▲
by
bjoli
1y ago
So, I am a victim of autocorrect. I mean DNS.
171.
▲
by
bjoli
1y ago
I tried various Things to be able to access my own DNA while not at home and ended up using wire guard for my subnet so that I always have access to my DNA server. Right now I am solving it with mikrotiks "back to home" app., but
172.
▲
by
bjoli
1y ago
Outdated maybe, but still quite functional. What is your issue with it? if people find the UI so bad, wouldnt it be easier to try to push an updated UI than getting all the infrastructure and everything going?
173.
▲
by
bjoli
1y ago
For am4 it is pretty easy to get things working with ecc udimms. I have a 5900x with 32gb of ddr4 ecc ram ticking in my basement.
174.
▲
by
bjoli
1y ago
While being heavily inspired guile-fibers, it seems to not actually be parallel. Anyway, I would say it is actually the nicest way to write concurrent programs. It supports you and helps you to not shoot yourself in the foot, while also sta
175.
▲
by
bjoli
1y ago
I wonder what would happen if EU harmonized the legislation so that the EU states could go together and develop an OSS journaling system. The amount of money saved would be astronomical.
176.
▲
by
bjoli
1y ago
Can someone who actually likes Thiel explain his allure? I find just about everything that comes out of his mouth vile, but apparently people listen to him.
177.
▲
by
bjoli
1y ago
When it is out of alpha, I am sure I will try it. I like opensuse, and would like to stay there if I can.
178.
▲
by
bjoli
1y ago
This was my solution as well. Why even have a robot? Give me a conveyor belt, some cameras and a moderately powerful SBC and I think I could probably manage a system that does one package a second with a fallback for humans to process what
179.
▲
by
bjoli
1y ago
For all my applications, going to PyPy was an instant 2x improvement. Not only that, it is a lot easier to hack on. I might be biased, but the whole implementstion idea of PyPy seems a lot more sane.
180.
▲
by
bjoli
1y ago
I was like you. Now I am on the immutable train. I really do think that is the future. I was on opensuse from 10.0, but and recently ended up on aeon which I find probably the most excitingly boring distro I have ever used apart from Debian
More ›