Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yxhuvud
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
691.
▲
by
yxhuvud
5y ago
Yes, though sometimes it is possible to replace a fully general priority queue with a faster structure that is using the structure of the problem at hand. For example, this problem (AoC day 15) has only ever a count of unique priorities tha
692.
▲
by
yxhuvud
5y ago
The new wind park that is intended to provide the energy for this is not along the south coast but also in northern Sweden though. Also, last I heard neither the exact location for the windmills or the steel mill are set in stone yet.
693.
▲
by
yxhuvud
5y ago
> - li-ion energy storage is great for same day fluctuations(storage measured in hours), less so for longer. Other energy storage tech platforms have different economic properties leading to more sensible deployments (the other end of th
694.
▲
by
yxhuvud
5y ago
Regarding feeding > The Swedish fossil-free steel (& Direct-Reduced Iron) manufacture (9000 MW) with wind power, then yes, it make total sense. What most of that energy consumption is used for is splicing water to hydrogen (which is
695.
▲
by
yxhuvud
5y ago
It is still dogshit though. The reasonable behaviour would be an error.
696.
▲
by
yxhuvud
5y ago
And exactly how is silent wraparound useful or even sane for that use case? You just proved the point of the one you responded to.
697.
▲
by
yxhuvud
5y ago
Thankfully most of the cost is in drilling the hole, not in parts that may need to be replaced.
698.
▲
by
yxhuvud
5y ago
No need to dig, only to do some drilling. It is very common here in Sweden. You just need to check the map first so you don't drill into the subway.
699.
▲
by
yxhuvud
5y ago
Don't be silly. Heat pumps with water that go down drilled holes (the term for it here in Sweden is mountain heat) would work just fine and probably be cheaper too
700.
▲
by
yxhuvud
5y ago
It is obvious that it can happen, but it is not obvious how common it seems to be.
701.
▲
by
yxhuvud
5y ago
Swish works for person to person transactions, physical store payments, and I've also seen some companies starting to use it for monthly bill payments (ie, send out a paper with qr code, user scan it with app and signs it, and bill is
702.
▲
by
yxhuvud
5y ago
Lead salts also tend to be a lot more toxic than silicon. Putting that in something as plentiful and exposed as solar panels sounds like a big potential issue.
703.
▲
by
yxhuvud
5y ago
Even for false sharing? That is, the problem when two unrelated atomics are allocated in the same page but accessed frequently from different threads, causing the memory to be thrashing between two different L1 cache lines.
704.
▲
by
yxhuvud
5y ago
The government of point of view is they have a central ledger of property ownerships and no need for any decentralised solution.
705.
▲
by
yxhuvud
5y ago
The reasonable thing to do is often to add the original developer as a code change reviewer. They should know about what the code is doing and about any pitfalls involved. If they don't like the changes, then it is easy to take the dis
706.
▲
by
yxhuvud
5y ago
Huh? The package dependency system in Ruby is a breeze, and has been a solved problem since 2007 or whenever Bundler was made.
707.
▲
by
yxhuvud
5y ago
The thing about exceptions is that they are runtime. Pushing the issue to the type system forces the user to handle the case.
708.
▲
by
yxhuvud
5y ago
Apple uses Swift. Swift uses ARC which is a kind of garbage collector (the naive and eager reference counting kind).
709.
▲
by
yxhuvud
5y ago
> DDR4 pages ("rows") are 8kiB Wait, are the underlying hardware access size for memory bigger than the default Linux page size (4kb)? Wouldn't that introduce needless inefficiencies? Can false sharing happen between diffe
710.
▲
by
yxhuvud
5y ago
Are most of the ones that end up in your hospitals and die unvaccinated? If so, vaccination is worth it.
711.
▲
by
yxhuvud
5y ago
Only if you assume the countries are similar in every other way that matter. But that is not the case, Sweden is for example by far the most urbanized country in Scandinavia - the share of people living in big or medium sized cities is 10%
712.
▲
by
yxhuvud
5y ago
Good writeup. One thing to note is that Go, Crystal and other systems based on green threads tend to not run into the problem as they have separate stacks for different execution contexts.
713.
▲
by
yxhuvud
5y ago
Yes, it has green threads. Crystal don't have the same tradition of having aliases of common methods as Ruby does, no.
714.
▲
by
yxhuvud
5y ago
The cancel operation in io_uring returns a status when it completes, which mean the memory can't be freed until the ring acknowledges the cancellation. That accomplishes telling the kernel that it needs not touch the referred to memory
715.
▲
by
yxhuvud
5y ago
The increased instruction set included in AVX-512 would hopefully stay though, even if the 512 wide processing unit goes away.
716.
▲
by
yxhuvud
5y ago
I'm not certain that is actually correct. The biggest steel maker here in Sweden is in early stages of replacing coal with hydrogen in their new production chains they are building, based on wind power. The really good part is that it
717.
▲
by
yxhuvud
5y ago
3) It is fine with a slightly uneven production of hydrogen as it only means you have to build up a buffer of it for sustained usage. This means it is ideal for hydrogen produced by wind and solar power.
718.
▲
by
yxhuvud
5y ago
> Well, unless you add a GC, which is what I'd do if I were in charge of Zig. That is probably not feasible either, for the same reasons the borrow checker isn't feasible. Zig has this pattern where they manually pass in an all
719.
▲
by
yxhuvud
5y ago
Corn prices could be driven by the shortage of fertilizer for next year.
720.
▲
by
yxhuvud
5y ago
Actually looking into this, it seems like it depends on jurisdiction. What you are saying seems to be true in England and USA, but here in Sweden the definitions seems to exclude foundations, as they have neither members or owners, and ther
More ›