Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
tda
6y ago
I am a big fan of SQLAlchemy, though I often use it more as an advanced pythonic query builder than as an ORM It can sometimes be a bit more work to write something in SQLAlchemy than raw SQL, especially when doing complicated queries, but
332.
▲
by
tda
6y ago
You are correct, let me rephrase that: I separate plastic so it can be either burnt together with my other trash, or shipped to Turkey where god knows what environmental crime is committed with it. An extremely small percentage might be mel
333.
▲
by
tda
6y ago
Though I initially sympathized with the name change from master to main (cause I don't care what it is called), I am now more of the opinion that this kind of window-dressing might actually be harmful as it distracts from addressing th
334.
▲
by
tda
6y ago
A strong argument against nuclear is that the costs and benefits are very spread out in time (random numbers follow) say: 10 years of construction, 50-70 years of operation, 10 years of decommissioning. Who is willing to make an investment
335.
▲
by
tda
6y ago
Why solar not an option? The Sahara is really big, has plenty of sunshine. And population in a lot of upcoming economies are already used to supply limited energy grids. Maybe they can more easily adapt/grow into a power grid that meet
336.
▲
by
tda
6y ago
Though not so nice, there are ways to "stabilize" sovereign foreign countries to ensure energy stability. Just look at US middle eastern politics. Not saying we should, but I'd rather have the effort got to solar power in the
337.
▲
by
tda
6y ago
I would like to see the numbers; how much overbuilding would be necessary. Even if you need to install say 50%-100% extra capacity to meet demand in winter, solar power would still be perfectly economically viable. And I'm sure a vali
338.
▲
by
tda
6y ago
Some (often desirable) properties of RDP for timeseries is that is preserves details at extreme events and does not shift peaks. Very useful for e.g. seismic data. I have compressed tons of data with 1% subsampling with hardly any informati
339.
▲
by
tda
6y ago
Additionally we will need to live with a supply constrained electricity net. Sometimes there just isn't more available and variable pricing will be needed to reduce demand. Of course the Texas power crisis showed that even if prices ri
340.
▲
by
tda
6y ago
Nobody concerned about the ability to feed themselves should rely on or even have to consider red meat; red meat has historically always been a luxury product, not a staple food. That industrial farming, externalized impacts en perverse sub
341.
▲
by
tda
6y ago
birth control != murder
342.
▲
by
tda
6y ago
But not impossible! Just look at the COVID response. Massive and sudden cultural/behavioral change is actually more achievable than I would have thought last year, as long as the sense of urgency is sufficient.
343.
▲
by
tda
6y ago
I recall having MSN on a symbian smartphone just before iPhones even existed. Really cool and all, but I could only communicate to a handful of people with it. SMS was the de-facto only way, always 1-1 and charged per message. Internet 2g&#
344.
▲
by
tda
6y ago
Just looked it up, not sure what to make of it yet. At the very least it is passable as background music. https://open.spotify.com/artist/4FbZyaSZ5QaZES4I251OQU
345.
▲
by
tda
6y ago
After reading this, I can confirm the title checks out
346.
▲
by
tda
6y ago
How about this very reasonable request to "Remove current Song from Playlist" [1]? Filed in 2012, status shows as "Not Right Now", has collected 1343 votes and counting... They're even worse than Atlassian. I really
347.
▲
by
tda
6y ago
Maybe one day we figure out how to reuse the foundation/jacket for a huge windmill, that would be a win. And enough space to add an offshore High Voltage Station
348.
▲
by
tda
6y ago
And because of this ship it is easy to see how expensive topside removal must be. The vessel costed some 2.5B or so. Recovering that in a few dozen decommissionings means a Hugh price. And don't forget the operational cost of a crew o
349.
▲
by
tda
6y ago
I once came up with a system that worked pretty well for an array of mostly similar objects. I use a jsonpath like column names, so putting the values A and B in a column named "some.property.items[0]" results in [ {&q
350.
▲
by
tda
6y ago
Of course, the point was more that regardless of price the following holds in poor light: webcam < phone < point and shoot cam < dslr. Why are there no webcams with actual optical zoom lenses and decent sensor sizes? Why doesn'
351.
▲
by
tda
6y ago
Still doesn't explain why a $300phone has a better camera than a $250 logitech BRIO. I recently bought a BRIO and in non optimal lighting the performance is just as mediocre as a $30 C230 so I returned it immediately. In the en I convi
352.
▲
by
tda
6y ago
If you really want though, you can write a web server in a single python lambda: (lambda flask: (lambda app: (app, app.route('/')( lambda: 'Hello World!'
353.
▲
by
tda
6y ago
You could also use the array to store only the order, and regular FK relationships for membership. That way the referential integrity of the items is guaranteed, but the order is more of a "best effort" approach, as in that there
354.
▲
by
tda
6y ago
Did anyone try to ask GPT-3 something about the insurrection? I can't find any free/open text prompts for GPT-3, this is what GPT-2 has to say: After Trump lost the 2020 election his supporters stormed the Capitol > They smas
355.
▲
by
tda
6y ago
This is yet another great demonstration of sprite_tm's combination of technical skills, creativity and perseverance to make something cool out of plain curiosity or maybe just because. I really admire his drive to not only make the tec
356.
▲
by
tda
6y ago
Surprised to see the obvious solution at the bottom of the comments
357.
▲
by
tda
6y ago
Yep, that's because it is a mixed bag. Certainly a step up from normal consumer grade stuff, and not as expensive as 'real' enterprise hardware. Had a lot of promise, and lots of hn folks like myself converted. But I said had
358.
▲
by
tda
6y ago
Maybe there is no causality, but quality is definitely declining, and the company focus is shifting from making enthusiast hardware to extracting profit at all costs. The fiasco with the UDM firmware, releasing more incompatible PoE product
359.
▲
by
tda
6y ago
His statements are not backed by any evidence, so I don't know what to make of them. Nonetheless an interesting opinion by someone that has done some great things that certainly tickeled my curiosity, +1
360.
▲
by
tda
6y ago
In postgresql 12 a patch [0] is merged to remove the optimization fence certain conditions. From the changelog [1] " Allow common table expressions (CTEs) to be inlined into the outer query (Andreas Karlsson, Andrew Gierth, David Fette
More ›