Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhgb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
481.
▲
by
jhgb
5y ago
Are you saying that these things are somehow not happening in Mariupol? We already know that Mariupol has been a subject of population abductions at the very least.
482.
▲
by
jhgb
5y ago
You will not convince anyone sensible that the morals and discipline of US troops and officers are anywhere close to the morals and discipline (or the lack thereof) of their Russian counterparts with this whataboutism.
483.
▲
by
jhgb
5y ago
Furthermore, Russia is not doing anything that it hasn't already been doing for almost a century.
484.
▲
by
jhgb
5y ago
You already are autogenerating code in Lisp (using macros), but not without keeping the source for it, which still lives in the source files. If those files are not loadable into a clean image, you're doing something wrong (like CMUCL
485.
▲
by
jhgb
5y ago
Not quite. For example, languages like Python typically have generative class definitions -- meaning that a class definition always creates a new type, with no existing object instances being objects of that class. In comparison, Common Lis
486.
▲
by
jhgb
5y ago
> That has nothing to do with the tooling, though. C++ just doesn't support those features. In principle I don't see how language definition not supporting this would make this entirely impossible. It's just not possible t
487.
▲
by
jhgb
5y ago
My humble LP needs have always been satisfactorily fulfilled by QSopt and COIN-OR solvers (Clp/Cbc). I guess I'm just too boring for anything fancier.
488.
▲
by
jhgb
5y ago
Generally in CL you should be able to recover from a usable intermediate state and restart from there.
489.
▲
by
jhgb
5y ago
Hydropower actually has strong carbon-related undesirable environmental consequences, but probably not to such an extent in California as it does in Africa and South America. You'd have to find dam-specific data to verify that for Cali
490.
▲
by
jhgb
5y ago
Common Lisp implementations allowed you to change your program's code while debugging decades ago. Microsoft added bare minimum of similar functionality like fifteen years ago or so, if I remember correctly. I'm not even sure they
491.
▲
by
jhgb
5y ago
Depending on location, hydroelectric power can have (mostly because of decomposing vegetation) carbon-equivalent emissions ranging from several grams of CO₂ per kWh, all the way up to around two thousand grams (!) per kWh. This greatly depe
492.
▲
by
jhgb
5y ago
What financial hardship? Pretty much all the other pathways are even more expensive, either in externalities or in internalized costs. There really are not that many realistic options that remain open (at least in the US).
493.
▲
by
jhgb
5y ago
Well, damn. I imagine the reason why didn't know about this is because I have never been able to formulate any of my particular problems in terms of Euclidean TSP (even just metric was hard enough at times), so all interesting stuff wa
494.
▲
by
jhgb
5y ago
As I noted, you'd probably want to do this conversion before import anyway, so none of the results may be of practical interest if you decide to go down that road. But maybe query performance tests on already imported data would be of
495.
▲
by
jhgb
5y ago
Even memcpy would be more that fast enough, though. This just seemed like a weird test to me since instead of testing "which [database] can convert a set of coordinates into H3 identifiers the fastest", it seems more like a test o
496.
▲
by
jhgb
5y ago
> It is amazing how many large-scale applications run on a single or a few large RDBMS. It seems like a bad idea at first: surely a single point of failure must be bad for availability and scalability? I'm pretty sure that was the w
497.
▲
by
jhgb
5y ago
I have to wonder -- considering that H3 is apparently available as a C library -- how fast it would be to simply enrich the lon/lat data with H3 data using a simple Unix filter using that C library before even importing it anywhere. (O
498.
▲
by
jhgb
5y ago
No, there aren't? The last time I checked, the best polynomial-time approximation algorithm to symmetric TSP (Christofides) could only guarantee finding a tour with no more than 3/2 of optimal length. Has something better been fou
499.
▲
by
jhgb
5y ago
Is ABA an issue here? "Replace A by X*A" should be perfectly fine if an atomic swap gives you A back, since it means it was actually A at the time when you perform the swap. That it was B a moment go doesn't seem to matter.
500.
▲
by
jhgb
5y ago
> instead duplicating the code-paths (leaving incr/decr untouched and instead making mult_ versions of everything) If there already are two arithmetic opcodes, shouldn't both of them already be handled by the same code, only
501.
▲
by
jhgb
5y ago
> Western countries with very high wealth equality such as the Nordics "High wealth equality such as the Nordics"? https://upload.wikimedia.org/wikipedia/commons/3/39/Gini_Coe...
502.
▲
by
jhgb
5y ago
> a transfer of wealth from borrowers to debtors What's the difference between a borrower and a debtor?
503.
▲
by
jhgb
5y ago
I'm pretty sure that all you need to start with is linear programming and the Aggregate Production Planning model -- which is usually being used for physical manufacturing, but can be adapted to electricity production. Ideally you'
504.
▲
by
jhgb
5y ago
Is Tumbleweed actually comparable to Arch? Tumbleweed has frequent distribution snapshots, but they're still whole distribution upgrades. They're supposed to be consistent in a way that Pacman to my understanding has no concept fo
505.
▲
by
jhgb
5y ago
> 90% is pretty close to the 50 days of empty battery. That's not quite how I understood "50 days of empty battery", but fair enough. This is not something that can't be solved, though. Even the 90% estimate is the wo
506.
▲
by
jhgb
5y ago
> Do the "plenty" of people have an issue with you having a German ethnicity? How so? But he doesn't have German ethnicity...? His ancestors moved to the US in the 19th century.
507.
▲
by
jhgb
5y ago
> I recently played around with the data from Germany 2020. I scaled up the existing renewables (only the ones that are scalable - wind and solar, hydro is pretty much maxed out) so that the yearly consumption can be served from 100% ren
508.
▲
by
jhgb
5y ago
Firebird can do both, though.
509.
▲
by
jhgb
5y ago
One thing I was thinking about some time ago was that if you wanted such infrastructure while still being able to adjust azimuth and elevation, perhaps an artificial lake would work? At the very least you avoid salt water this way. Of cours
510.
▲
by
jhgb
5y ago
And how long is the arm supposed to be in the intended orbital system? Because if you want a 500m arm, you literally have a millions-of-cubic-meters-sized vacuum chamber -- and not only that, you have a vacuum chamber with a highly disadvan
More ›