Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dagw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
631.
▲
by
dagw
2y ago
As someone who switches between PyCharm and VSCode, I find that Copilot seems to work better in VSCode for some reason. Nothing major, but the suggestions I get just seem slightly more relevant to my code base, and are more often what I wan
632.
▲
by
dagw
2y ago
The argument that paying more taxes than you strictly have to is a "voluntary donations". If you can legally (ab)use loopholes in the tax code to pay less taxes and choose not to, that is an active choice you are making to pay mo
633.
▲
by
dagw
2y ago
To be completely fair, it does a little bit more than that. It only considers finite numbers as 'numbers' (ie NaN and Inf aren't considered numbers). It also considers strings that can be parsed as numbers as numbers. Of cou
634.
▲
by
dagw
2y ago
It seems to be a culture things in the JS world. Packaging just 1 or 2 functions as its own separate package and using large chains of dependancies is just the way they do things. In most other languages, if this function existed, it would
635.
▲
by
dagw
2y ago
In this case main culprit seems to be a package called handlebars-helpers which is a collection of utilities for working with the handlebars templating language which was pretty popular in the JS world for a while.
636.
▲
by
dagw
2y ago
Wow! there are almost 2500 packages on npm that depends on is-number. That's insane.
637.
▲
by
dagw
2y ago
According to the readme it was a package he created back in 2014 when first learning programming and wanted to work out how to create JS packages, and then it somehow exploded and took on a life of its own.
638.
▲
by
dagw
2y ago
In a four-day work society, the extra "weekend" day can be spent with parents. Assuming the 'whole world' agrees to take the same day off. A more likely implementation is that you'll keep the traditional 5-day wor
639.
▲
by
dagw
2y ago
We can't ask teachers to work 5 days when the rest of the world doesn't. If this came to pass I'm sure some scheduling could be done so that kids still get a 5 day school week and each teacher still only work 4 out of those
640.
▲
by
dagw
2y ago
My point is that there is probably almost as much that can be done to mitigate forest fire risks as there is to mitigate house fire risks. We know which forests have a high risk of forest fire and we know various techniques that can be used
641.
▲
by
dagw
2y ago
It's not as if we could leave out sprinklers and fire escapes from buildings, and all of a sudden, housing would be cheap. There's a lot more to fire codes than just sprinklers and fire escapes. If you could ignore all fire code
642.
▲
by
dagw
2y ago
forests are not man made Most forests today kind of are, in as much that the way a forest is 'designed' is down to a whole collection of active choices made by the forest owners to intervene or not intervene in different ways. T
643.
▲
by
dagw
2y ago
Surely you can solve that by having the occupants sign a waver as part of the rental contract where they wave their rights to be evacuated or rescued in the event of a fire.
644.
▲
by
dagw
2y ago
I feel like this whole effort is not a technical problem but a cultural and financial issue. It's actually at end the of the day a legal problem. Building codes and fire regulations are very strict on what you can and cannot do, and
645.
▲
by
dagw
2y ago
Because rt.com is reachable in Sweden just fine, including sub-sites. See discussion further down thread, but basically the block in Sweden seems to be on the ISP level and depends on which ISP you have. I can access rt.com via work wifi,
646.
▲
by
dagw
2y ago
Did some more tests and seems to be Telia doing the blocking at the ISP level. When I'm connected to the eduroam wifi network (I'm at a university) then I can get to all those sites. When I turn off wifi and use mobile data, via T
647.
▲
by
dagw
2y ago
Al three work fine for me (also in Sweden). Perhaps different ISPs are dealing with this differently.
648.
▲
by
dagw
2y ago
The core problem is that if you implement rent control, without a bunch of other policies, all you achieve is to remove potential rental apartments from the market. Either they'll never get built or rental apartments will be sold off a
649.
▲
by
dagw
2y ago
They claim there are bugs in the COBYLA solver implementations included in scipy that this implementation has fixed. So I guess if you run into any of those bugs then PRIMA is better. They're apparently also in discussion with the scip
650.
▲
by
dagw
2y ago
I find that using tools like pybind11 to create python bindings rather than trying to write Python C API directly greatly decreases fragility since the pybind11 team have already spent a lot more time than me understanding the python API an
651.
▲
by
dagw
2y ago
I knew several people in Sweden who did this 10+ years ago. They'd finished their degree and in many cases even gotten a job, but still stayed enrolled in one or two courses just so they could keep their student apartment.
652.
▲
by
dagw
2y ago
If you're a property developer building an apartment building you have two choices, either sell the apartments or rent out the apartments. In an ideal free market economy the rental and sales prices for these apartments will be such th
653.
▲
by
dagw
2y ago
plenty of private landlords Not compared to countries with an actual free rental market. Having lived in both Norway and Sweden, the difference is stark. Moving to Oslo it took me a couple of phone calls and less than 10 days before I lit
654.
▲
by
dagw
2y ago
What law do you propose they introduce that would lead to Tesla "pounding sand" that also wouldn't fundamentally change the "Swedish Model".
655.
▲
by
dagw
2y ago
last I heard it was not going in Tesla's favor. It's definitely going in Tesla's favour. They've found work-arounds for most of the barriers the unions have thrown up and signed deals with various small non-union shops
656.
▲
by
dagw
3y ago
All of this changed after Tesla started to show its claws and to be taken seriously Absolutely Tesla is almost single handedly responsible for getting the EV market from where it was 10 years ago to where it is today. Without Tesla the E
657.
▲
by
dagw
3y ago
slowing the transition to sustainable transportation? How is buying an electric Not-Tesla slowing down the transition to sustainable transportation compared to buying a Tesla?
658.
▲
by
dagw
3y ago
And even if they're not (I believe they are), how long would Tesla get to keep that market to themselves?
659.
▲
by
dagw
3y ago
Yes, don't charge $40 if you are targeting large companies. For me as a project manager at Big Co, $40 and $400 is exactly the same, if I'm willing to pay one I'm willing to pay the other. What I care about is how friction f
660.
▲
by
dagw
3y ago
In parts of North America you have to deal with street hockey, so I imagine dealing with street cricket looks basically the same.
More ›