Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sfn42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
271.
▲
by
sfn42
9mo ago
Share to share any of it?
272.
▲
by
sfn42
9mo ago
This is a load of bullshit man. Even the article you linked describes lying to his friends' parents to get a second dinner, being unable to have just one cookie etc. The only way to get fat is to eat too much and anyone who really eats
273.
▲
by
sfn42
10mo ago
Thats not too surprising as most web developers are JS developers. I'm sure JS will stay dominant at least a while longer, but in the .NET world Blazor is quite popular as far as web frameworks go. I imagine it will keep gaining popula
274.
▲
by
sfn42
10mo ago
A modern blazor wasm app is nowhere near 300mb. There are techniques to reduce this size like tree shaking. There's no need to include lots of unused libraries. Modern Blazor can do server side rendering for SEO/crawlers and fast
275.
▲
by
sfn42
10mo ago
> Expecting your average front-end logic to be compiled in WebAssembly does not make much sense. Why not? .NET Blazor and others already do that. In my eyes this was the whole hype of WASM. Replace JS. I don't give a crap about runn
276.
▲
by
sfn42
10mo ago
You're still ignoring the fact that there is an absolutely unfathomably insane amount of water on the planet. The world's largest pump (according to a quick search) can pump 60,000 liters per second. The oceans contain over 1.3 bi
277.
▲
by
sfn42
10mo ago
Yeah except the highest volume facility in the world is called mammoth and in order to offset our current emissions we would need a million mammoths. Even if you could make it a thousand times more efficient it would be a stretch.
278.
▲
by
sfn42
10mo ago
Never in the history of the planet has the temperature increased anywhere near as quickly as it's doing now. If you look at a chart of historic temperature levels, pretty much every significant change on that chart corresponds to a mas
279.
▲
by
sfn42
10mo ago
It's not expensive and hard, it's impossible. The largest carbon capture facility in the world is called mammoth, and in order to offset our current emissions we would need a million of them. We can not build a million of them. Th
280.
▲
by
sfn42
10mo ago
Well here's the thing - there's quite a lot of water out there too. How long and how many terawatts of power do you think it'll take to suck a significant fraction of the earth's seawater through a capture facility?
281.
▲
by
sfn42
10mo ago
The thing people don't think about with regards to CO2 capture is that you have to get the atmosphere in order to capture CO2 from it. You essentially have to suck the entire atmosphere into these carbon capture facilities. Using somet
282.
▲
by
sfn42
10mo ago
Of course warming is accelerating. Emissions are accelerating and the second and third order effects of ice cap loss, thawing permafrost etc are setting in on top. We have known about this for a century at this point and it's still bei
283.
▲
by
sfn42
10mo ago
Never really tried anything. Just thought about it but I don't know the first thing about audio programming and like I said it doesn't seem viable for smart tvs anyway so I never did anything with it.
284.
▲
by
sfn42
10mo ago
YouTube does this. When I open a video the quality is set to Auto by default. It'll also show the "actual" quality next to it, like "Auto 1080p". Complete lie. I see this and see the video looks like 480p, manually
285.
▲
by
sfn42
10mo ago
I am floored that people really expect integrated TV speakers to be good.
286.
▲
by
sfn42
10mo ago
I toyed with the idea of making some kind of app for this but while it may work on desktop it seems less viable for smart tvs which is what I primarily use. Though I have switched to mostly using Plex, so maybe I could look into doing somet
287.
▲
by
sfn42
10mo ago
As opposed to the House model where every episode is exactly the same with some superficial differences? I like the long movie format, lots of good shows to watch. Movies feel too short to properly tell a story. It's just like a few hi
288.
▲
by
sfn42
10mo ago
Mocking and integration tests are not mutually exclusive. I often use mocks in my integration tests. Some things can be integration tested, some things can't. Sone things you just need to mock.
289.
▲
by
sfn42
10mo ago
I use test containers and similar methods to test against a "real" db, but I also use mocks. For example to mock the response of a third party api, can't very well spin that up in a test container. Nother example is simply ti
290.
▲
by
sfn42
10mo ago
You can do that with a details element, you just need some code to actually do it. Which I'm pretty sure there's no possible solution that doesn't require some code to do that. Really don't see what your complaint is.
291.
▲
by
sfn42
10mo ago
You're doing it wrong. You don't have to remember the incantations. You just have to remember that they exist, and then google them or ask an LLM when you need them. If you use something enough you'll remember. If you don
292.
▲
by
sfn42
10mo ago
I've never met a designer who wasn't completely fine with my suggestions for more pragmatic solutions. Like just styling a default scrollbar instead of implementing my own scrollbar to make it exactly like the design. Using a defa
293.
▲
by
sfn42
10mo ago
It's total BS though. If you have enough money to waste any significant amount on gambling, then you also have enough to save that same significant amount. I don't think it's necessarily the worst thing if you waste like $10
294.
▲
by
sfn42
10mo ago
I just go into SSMS and expand the columns for the tables I care about in the left hand explorer, screenshot it and send that to copilot.
295.
▲
by
sfn42
10mo ago
Right, so it might just mean that reckless drivers are more likely to smoke weed.
296.
▲
by
sfn42
10mo ago
It's totally fine to prototype, but you need to take care when you try to morph a prototype into a real product. Very often people just take the shortest path from a to b, every single time. So you start with a reasonably shoddy protot
297.
▲
by
sfn42
10mo ago
There's a thing on YouTube these days where house inspectors basically shame builders. There's one guy who says "I can't tell you who the builder is" while walking past the builder's sign then proceeds to show
298.
▲
by
sfn42
10mo ago
You know there's a lot of places in this world where education is pretty much free. Turns out it's good for society when people do well, and most first world countries have figured that out and leaned into the whole helping each o
299.
▲
by
sfn42
10mo ago
Obviously I'm not talking about the cases where it doesn't matter. I'm talking about the cases where it does. I fixed one where a report took 25 minutes to generate and after switching out an O(n^2) list lookup with a dict it
300.
▲
by
sfn42
10mo ago
Just because you won't use it doesn't mean it's not useful. Lots of programmers use math. Lots of programmers use DSA knowledge on a daily basis - and if you aren't you're probably writing bad code. I see a lot of O
More ›