skysight-inc/HackerNews huggingface dataset:
> What does it matter who believes what if the real things that are actually happening are that they build a lot of renewable energy sources?

It matters A LOT. The anti-climate change propaganda is one of the biggest roadblocks to meaningful climate action. In a normal world, the population of the US would have risen up instantly if their president had withdrawn from climate accords or forced the EPA not to talk about global warming. These are lunatic acts, much crazier than the than Nero fiddling while Rome burns.

Sure, it's nice that they're planting a few wind farms. But that is a drop in the bucket compared to the real changes required if we are to stop global warming from completely dooming our civilization. Building wind-farms would have been a solution if it had started 40 years ago.

Today, the only option is to stop most non-renewable plants, and most factories that rely on their power. We need to produce a fraction of the goods we are producing today (not talking about the US specifically, this is a global problem), with all the human costs that will entail. I'm not holding my breath for any of it.
In 1998, I lived in Ghana and used the Africa Online ISP. They ran a transparent HTTP proxy that routed through a high-bandwidth high-latency satellite connection. All other traffic went through a very low-bandwidth low-latency fiber connection. I used to proxy my browser through SSH to a US server and enjoy very fast text-mode browsing.

I expect some ISPs will end up using differential routing over Starlink and fiber. They could have the routers on each end automatically switch large one-way TCP transfers from the Starlink connection to the fiber connection after the first 2MB.

They could even make the transition smooth, by buffering data transferred over Starlink and slowly adding delay to match the delay of the fiber connection. This would require some RAM, but only during the transition period for each TCP session. The client would see the throughput go down during the transition period.

If the remote server could increase the data rate, then the ISP could perform the transition with no drop in throughput seen by the client. The sending router would send fake ACKs to the server to get it to send data faster. The sending router would send the burst of data through the fiber link and also buffer it and send it through Starlink at the original rate. Once the receiving router is receiving the same data at the same time over both the fiber link and Starlink, the sending router can stop sending over Starlink. The client's TCP ACK packets would continue to flow over Starlink.
I use this workflow a lot and while I’m still figuring out how I want to implement something. I’ll often just do the whole thing in one file, commenting, and rewriting and restructuring code as I go with multiple open windows to different parts of the file. I only break it up when I’m happy with the abstractions, and I know where the natural fault lines run between functions, classes and concepts.

Doing this too early feels wrong; like I’m prematurely committing to a division of responsibility that’s going to subtly drive me to a bad design.
In my anecdotal experience, it does not. The logic goes:

- Assert that a face is present.
- Is wearing mask?
> If yes, proceed with Watch unlock (irrespective of top of face).
> If no, attempt Face ID scan.
They were, last time I looked. Which was admittedly a while ago.
C#/ASP.NET is the fastest web framework now:

https://www.techempower.com/benchmarks/#section=test&runid=8...

7.000.000 requests per second

Even GO can only achieve 4.500.000 million requests per secnod being a low-level language, in opposite to high-level C#.
Exactly. Just like with open source software, if you don't like something make your own instead of creating cargo cult around the ashes of a mediocre past.
It is not rocket science. If you are in the business of selling oil and gas, you ideally consume as little of it as possible. Solar and wind are cheaper sources of energy but they aren't easily transported. So Texas is using solar/wind to both cut costs and allow them to export more of their petrochemicals.
Why is this a problem worth solving? I don't recall this being a bottleneck in my recent work.
Tagged Unions Are Overrated
Which country more or less is it? When the hot season will arrive will you be able to go out and make an impromptu bar with friends somewhere free (public squares, forests, beaches, etc.)
Tailwind CSS Garden
English football is consumed by racism and hatred. Can the cycle be broken?
Not sure how much Scala 3.0 will actually matter in the industry, but it is nice to see it finally happening.
What we have seen with the WHO, and what you can also expect from the IPCC, is a minimization of the problem. The incentives for such organization are always to downplay the size of the risk, to present optimistic estimates as worse-case scenarios.

So yes, most likely the IPCC is wrong or lying to some extent: global warming is almost certainly a much bigger problem than their official estimates.
Hello and thank you for your time.

Yes, I'm trying to catch both small and mid customers, maybe that's a rookie mistake.

Another problem would be that a customer said he doesn't want SMS messages, he wants just the app.

So pricing based on SMS, would still result in unequal pricing for those who don't want SMS notifications.

Should I tell them: price per reservation is 5 units with SMS notifications included? (the problem with this would be that in the future I plan to add more SMS notifications and I cannot raise the price every time).
ClickHouse supports transactional (ACID) properties for INSERT queries. It can also replicate data across geographically distributed locations with automatic support for consistency, failover and recovery. Quorum writes are supported as well.

This allows to safely use ClickHouse for billing data.
if that's your bag then you can still totally do that with an ORM, hibernate for example lets you just write a whole query in raw SQL while still getting all the benefits of eliding a bunch of boilerplate field copying, having "active" objects with ORM-level update/transaction management, etc.

plus it means you don't have to write all the dumb "select * from books where bookName = :bookName" code that obviously can be handled trivially by the ORM. You just use SQL the places where it makes sense.

the ORM hate always strikes me as a little misplaced because of this - you can always write SQL where it's appropriate, in any decent ORM. And you can write bad queries in SQL too. Obviously very complex queries are maybe better reserved for raw SQL but it seems like a lot of the hate comes from maybe less experienced engineers getting in over their head with complex work items because ORMs "make it easy", and that is going to happen with raw SQL too if you throw those same engineers at those work items.

ORMs aren't inherently that heavyweight, I see people complaining here about SQLAlchemy and as a Java developer I don't have performance concerns about hibernate. That sounds to me like a Python problem and a "this specific ORM isn't performant" problem, not ORMs being bad as a whole. And if you really want a "just load the data for me and do nothing else that incurs a performance hit" approach then you can use stateless objects and it's just a wrapper around the DB to load and transform the data for you and/or do a raw, whole-object update back to the DB.
I wouldn't be surprised if gold mining is way worse for the environment than Bitcoin mining.
This feels like exactly the reason I prefer using zsh's zargs command for these things. In part because you can use all the extended globbing functionality zsh provides. Something like the following [untested] rework of your pipeline:

zargs -P $(nproc) -i ***(#i).(pdf|azw3) -- calibre-convert \{\} \{\}.epub

We're firing up nproc tasks, matching case-insensitive .pdf or and .azw3 at any depth, and then batch processing them. zargs is documented in zshcontrib(1).

It doesn't feel that different to your imagined syntax to me, quite whether that matches your mental model better is for you to decide though.
Assuming there is a planned extra capacity/planned expected failure rate/additional set of regulations and guidelines, its not mainly the literal "connectedness" of the grids, but the "independence" part that is being attacked, specifically being independent from federal oversight.
Yes love this feature! I also try to get the habit to put in labels more often, it really helps to have some landmarks to navigate from.
The left graph makes it look like the increase is well within the expected yearly variation, the right one starts quite high 325% level, making it deceptive, but also less informative, especially since combined they appear to say that debt continued to increase as before, but gdp dropped by 25% in 2020. That seems excessive, and I would certainly have expected the debt to increase more and be far more exact compared to gdp. So is the takeaway that we didnt really borrow alot in 2020, and gdp estimation is hard?

Conclusion is that the article is likely not based on accurate information.
If you learn Vim like anything else - slowly and starting with
the basics - it's not more complicated than figuring out any
IDE. And once you know the basics you are fully in control how
deep you want to go.

Personally I have found Vim more approachable than IDEs
actually. It doesn't throw all those overloaded toolbars at you
according to some one-size-fits-all principle. For me it went so
far that last year I actually did a Java project in Vim instead
of an IDE for the first time, because the latter had grown to be
so frustrating to use.
Again, here we can rely on zsh having advanced globbing functionality. Instead of moving your test in to the execution block and suddenly having possibly unbalanced parallel groups you switch to something like *(.mw-1) to operate on files(the .) modified in the past week(the m[odified]w[eek]-1) or whatever. I'm choosing mtime because of your %Y, but zsh offers many other filters too. This is detailed in the glob qualifiers section of the zshexpn(1).

I'm not sure whether I'd move the actual branching in because of the balancing issue, that is point where my hairs stand up. Perhaps, this is where it all falls apart.
Mobile Computational Photography: A Tour
It is a law of engineering that every engineer will claim his code is the most efficient, his car the best and hist nuclear power plant the safest.

WWER-440 has no closed safety vessel, poor emergency cooling and no redundancy to speak of. It is a PWR design that is maybe on par with a poor western BWR. Also, all the reactors in West Germany were continually retrofitted, especially after the lessons learned due to Czernobyl. That wasn't feasible for a Sowjet design during the breakup of the Sowjet Union (while a lot was built in the GDR, there was also a lot that would have been imported).
Though with three children under the same policy, you get just over 2 % risk that at least one of them get abducted. The upside is hard to quantify (especially for me who view it as obvious that children should be allowed unsupervised walks) but I can totally see how the 2 % number with a very serious downside can get someone to doubt.

(I know what "conservative estimate" means, I'm just playing devil's advocate.)
Its better to think of it as we borrowed from ourselves in the future, so as long as growth exceeds rent, we are fine.
The distinction between effort (man hours) and lead time gets lost often. Clueless managers ask for the first and take it for later.
Secondary indexes are supported by ClickHouse.

https://clickhouse.tech/docs/en/engines/table-engines/merget...

They are not like indexes for point lookups, but also sparse.
Actually they are the best you can do without blowing up the storage.
Show HN: Mailcharmer (find businesses emails and contact forms in seconds)
Bio-Unsafety Level 3: Could the Next Lab Accident Result in a Pandemic? (2014)
I have never ever seen it crash.
Yeah I agree with this, go with the gut. Please do keep us updated.
Yeah none of that is going to happen. People aren't going to rewrite major open source projects in Oberon, or specially hosted .NET, or custom JVMs, or Ada. ISRG isn't going to arrange funding for things to be rewritten in another memory-unsafe language, so C++ is right out. Stuff is going to get rewritten in Rust. Sorry!

That sounds snarky, I know. I promise, I'm not being snarky, and, again: it ain't my first choice (it'll be fine though).
Soil? Though not sure it is prudent to potentially spread active biological material all over a pristine (eco)system.
My wife showed me once a chart of both founding and the estimation of the fusion spark (plus net energy). It explained pretty good why the estimation had changed.

My impression is that if humanity had focused on the question and not the politics we would already have fusion capacity.

But do not forget, we still do not know if it is financial benefit to use fusion in the future.
I can't imagine that these licensing fees amount to a very high proportion of the cost of running a university—the value provided is very high.

Arxiv, research gate, scihub— they all seem to work well together with the commercial publishing system.

I think the world without a lot of money going into scientific publishing would be worse off.
It doesn't depend on the relative velocity of Earth and Mars. It depends on your coordinate system. You can use Schwarzschild coordinates centered on the Sun and use the time coordinate to define simultaneity, but that's an arbitrary choice.
usually depends on how big or unscrupulous the hospital is. The big ones charge you through the nose for every frigging thing, read inr 15K per night for a bed, charges for injection administration and visits by dietician. For the treatment you are told to pay up before the operation so you know generally how much you are getting into before hand.

The big problem which comes when a patient has to visit another city for treatment, you usually have to take a couple of relatives for assistance. Air/rail tickets, Hotel room/rented apartment, then food and transport for these people. That is usually more than the actual cost of procedure if the thing goes longer than a few days.

Yes. For a non emergency procedure it is common to shop around for either govt hospitals which is cheaper if not free but there is a delay in actual treatment or private which just quote you a figure. Then its just a matter of budget/ recommendations from friends.

Insurance is as i said, not prevalent so your savings count and sometimes people draw a credit but that is in exceptional cases.
It's going to break. Either the dollar will go or the market will crash.
> Now I have to get back to where I was.

In Emacs, you can often use C-x C-x for this, since many movement commands which moves far away, like beginning-of-buffer, sets the mark at where you moved from. So C-x C-x moves you back. If this does not help, i.e. you have moved several times, you can almost always get back by repeatedly doing C-u C-Space until you find yourself at the correct place again.
> A simple example is, say, foreign keys. Trying to access the foreign key of an object by doing `book.user.id` does an additional query for the user table to get the ID. It's less known that the id is immediately available by just doing `book.user_id` instead.

Hmm.. Sounds like a bug. Why is this not the same value for a foreign key?
I am the author of the story. I appreciate any feedback so that I learn from you! I will be participating in the discussion.
I would do a bit more by

#if !defined(this_works_but_it_suck_memory_too_hard)
....
#else
....
#endif

That should give me a clue why I "disabled" it when I come back to it 5 minutes later.
For $12'000'000'000 we could build a lot of small-medium size biogas (for agriculture all around the country), wind and hydro plants. Even solar plants can produce a lot of electricity from Marth till October.
I do not want to repeat what other said but I do not see this as problem there are deserts in the world, which are not used for food production and they are have not been use for anything else in that sense. Nothing lives there so there is nothing that could be endangered.

Total area needed to power entire world with solar would be ~ 532,900 square kilometres (square with sides 730 km) roughly area of Spain.

Space of just 3 deserts is:

Sahara 9,000,000+

Australian Desert 2,700,000

Arabian Desert 2,330,000

Gobi Desert 1,295,000

Further more, vertical farms are not just about space, correct me if I am wrong but vertical farm use less water and they have a better control of pests without usage of chemicals, they are easier to work with and automate food production.
Because you forget what you can’t see.

This is the same way that whitespace and long variable names make code harder to read and reason about: simply because you can see less of it.
There aren't decent homes for sale in my area for less than around 500% of what I make due to various govt interference.
Microsoft, Rust for Windows
Malware Browser Guard plugin for Brave is blocking this website by default.
Depends on if you identify it early enough really and even then halving your app tier costs could be sizable for any company. If you can get some productivity benefits at the same time from say static typing then there's even more reason to switch.
For this I use:

a) git add and git diff --cache

b) :w and git diff (or git diff HEAD to compare a+b)

c) nmap <leader>d :w !diff -u % -<CR>

so that’s three diffs / four different stages.

If I need more I also don’t refrain to use sequences of temporary commits I rework with git reset master + git add -p and/or git rebase -i

So overall there’s no fear of early commitment to be had.
Well it's easy to say this about summer but in the winter you have no options. It's too cold to hang out outside, play sports or whatever. You could hand out at each other's houses but people prefer to have neutral ground where no one has to prepare for everyone else
ORMs aren't inherently that heavyweight, as a Java developer I don't have performance concerns about hibernate.

That sounds to me like a Python problem and a "this specific ORM isn't performant" problem, not ORMs being bad as a whole. Python has never been the fastest language (it's far slower than, say, Java) and the GIL really prevents applications from scaling well without multiple instances.

And if you really want a "just load the data for me and do nothing else that incurs a performance hit" approach then you can use stateless objects and the ORM truly becomes just a wrapper around the DB to load and transform the data into an object for you and/or do a raw, whole-object update back to the DB.
It's getting close enough now that we might see "digital salons" in the near future, where you can have a model created of yourself, and be mo-capped while you try hair styles, tattoos, piercings, clothing, etc in real time.

All that's really left is bringing the practicality of creating an accurate "MetaHuman" from consumer-grade photographs in line with kinetic-style mo-cap.

The model doesn't need to be perfect, (though I'm sure the uncanny valley is doubly-uncanny when you're looking at yourself), it just needs to be accurate enough to be recognisable as yourself, and capture the highly individual differences in body/facial structure, skin tone and complexion, and existing body modifications/scars/birthmarks/etc.

Best part is that with the rate GPUs are improving, this will all be achievable from home.
The bar was the meeting point, and the place where we closed the week. I met my friends there, and sometimes made new ones.

You may not like bars and the fact that they exchange services for money, but that doesn't mean you don't have to show sympathy for people who are losing everything because of a force majeure.
Getting Started with Distributed Machine Learning with PyTorch and Ray
Funny, I've been using the same trick in VSCode without reflecting on it.
I seldom even do that. I just keep the code there, write the replacement, and then delete it.
It is like that because of social media and news outlets that basically produce "confirmation bias" news that has no other intention but to reinforce one's own existing beliefs. Both sides do it so it is not a partisan issue. This is what I think is actually behind the reason that the USA is so divided now and each side of the debate is so entranced in the typical political discourse.
Without the app, the client is wasting 1h per day answering the phone and calling customers for reminders (or texting them). I don't imagine that all the customer who are calling will use the app all of a sudden, but it will happen in time.

45m-1h/day = 15-20h/mo (on average)
15h/mo = 10% of employee's working time

> Per successful booking probably makes sense here (I would imagine...)
Another competitor is charging a fixed fee per booking and a booking is considered billable, if it's not cancelled after X hours after the start date/time.
The radioactive strength and decay time is not that long, right?
Even without undo-tree, Emacs undo history is "persistent". By that I mean that changes aren't overwritten, so the statement in the article that undoing stuff and then making edits loses the undone changes is not true for Emacs. You just have to undo back through the new edits, then you will start to redo the old undone edits, and so on. It can be tedious, but just the knowledge that it's all there is quite liberating.

Another vanilla feature I sometimes use to keep track of old code is the "kill ring". Just cut the old code and it will be available in there later if needed.
We did an evaluation for our API. The API accepts an image upload, passes it onto the backend for processing and returns a ~2k json lump in return.

Long story short, fastapi was much much faster than anything else for us. It also felt a bit like flask. The integration with pydantic for validating dataclasses on the fly was also great.
The issuing CA is required to pick one of the SANs to encode as CN if it is to be present at all in a leaf certificate.

You may be able to choose (so long as you obey this constraint) by setting your desired CN in the Certificate Signing Request.

If you meant how should you pick? Well that's up to you. From a presentation point of view, the CN may be used to display the certificate's subject in some summary views so you might want a short but sufficient name to describe what it's for, if it also includes aliases that are more confusing or less specific.

From a compatibility point of view, older software might (erroneously as this article points out, PKIX introduced SANs over twenty years ago, time to upgrade) only check CN and so you might want to reserve the CN to be for a name used by the oldest crumbliest clients. If you've got archaic.mycorp.example and modern.mycorp.example and experimental.mycorp.example with archaic still offering TLS 1.0 and 3DES to that valuable yet tragically slow to upgrade customer who insists on it, well I'd put archaic.mycorp.example in the CN field because if there's a client that'll expect it there it'd be the one that's still needing TLS 1.0 or 3DES not the one built last week.

Another compatibility idea, don't put the obvious name in the CN for the test servers, use some other name you own that's harmless - this way people integrating your system will run into the "It doesn't work because our crappy library doesn't do SANs" problem during early testing not when it goes to production or some day when your production certificates change the value of CN.
Signal Needs to Do Better for Its Response to the Anti-Censorship Community
Right, but the desire to undo is incompatible with the desire to have fast transfers. Yet another solution to this problem would be to have transfers take 24 hours during which they can be "un" sent by the sender, but I imagine banks will have a very strong preference towards instant or very very fast transfers.