skysight-inc/HackerNews huggingface dataset:
> Does anyone know the equivalent of lambda without the 15 mins restriction.

You can run short-lived jobs in a container in any container orchestration system or even straight up Docker.
Ask HN: Is there any beautiful Markdown editor?
Can anyone tell me if there is a beautiful markdown editor? I have been looking for it for quite a long time but I found nothing fit! Every markdown editor I found is ugly! Help! I can't write raw markdown without a beautiful UI!
Wind power is nice, but the key is nuclear power, which covers 35% of Finland's needs already and that number is going to go up once they fully ramp up Olkiluoto 3.

Unfortunately it also took around 17 years to build the thing, so this playbook is not going to be particularly useful to anybody else who needs to wean themselves off Russian energy now.
Two more tips - go here

https://porkbun.com/products/domains

Scan down the list looking for sale pricing in renewal column. Occasionally there is 2-3 dollar pa stuff there and you can buy 10 years of that

Also if you meet the nationality requirements netcup does easter sales that have perpetual euro per year .de domains. .de isn't entirely clogged yet so you can get a short-ish name for dev purposes
Worth noting that this same idea has been widely held over decades by proponents of safer languages, long before Rust as well.
That's interesting. I was thinking for using it to receive email, rather than send it. I wonder if that's also a problem?
You mean, Finland has both ability and motive.

I would argue that most larger Western nations have the ability to be self-sufficient in electricity. And those that don't can often partner with other neighbors or allies for smaller, more secure access to energy.

I would also argue that all nations current have motive as well as ability. The reliance on potential adversaries for energy makes entire nations or blocs fully dependent on these adversaries, which has been clear since at least the 1973 OPEC sanctions.
Interesting point if it had been apparent it would have been an issue, at what point does a poor Pi become an issue?

What would a Pi of 3.0 do?
With a good phong it's all about the dot products and specular highlight (if you using highlights). Make sure you clamp the dot products and give yourself a minimum ambient light value of around 0.15 to 0.2.
Poland also used to have this kind of shops - they were called Pewex https://en.m.wikipedia.org/wiki/Pewex

And they allowed purchases mostly in dollars. This shops were the only place where You could get high tech equipment that was produced by "rotten" west.
Wix dev con – Git, ecomm platform and blocks
Probably the key point is here.

> The probability is calculated based on the neutral theory of molecular evolution and binominal distribution of non-synonymous (N) and synonymous (S) mutations.

This means (ELI15):

We use as a starting point the belief ("a theory" [0]) that natural mutations do not simply occur randomly, but instead follow certain rules. The fact that there are rules, makes certain combinations of mutations (i.e. not just single mutations but the case where mutations abc1234, xd456, er6523, and sdf374 happen together) more or less likely than other combinations of mutations.

Given that theory, we calculate how likely the particular combination of mutations included in the Omicron variant is to occur naturally. It turns out it's quite unlikely.

---

Not defending or attacking the paper or its conclusions, as I haven't read it. Just explaining the difference to randrange(1000000) which is a. just one single item; b. all items equally likely even if called repeatedly.

---

[0] https://en.wikipedia.org/wiki/Neutral_theory_of_molecular_ev... - "A neutral mutation is one that does not affect an organism's ability to survive and reproduce. The neutral theory assumes that most mutations that are not deleterious are neutral rather than beneficial."
You should always define Pi in your code, in case the value ever changes.
The Future of AutoCAD (2018)
Thanks for having the awareness of the atrocities committed by the British. While British characters in the movie may look like "cartoon baddies", the kind of atrocities the British did on their colonies is no cartoon material. They really did many unspeakable things and committed genocide of millions in the subcontinent alone.
Most graveyards don't work like that - at least not in my part of the world. Graves are regularly re-used and stones are moved.

We can't expect the dead to continue to exert pressure over the living.
Not needing a car is great, but this apply mostly to people living in cities. I would love to walk to work, I would only need to triple my income or downgrade a lot my quality of life by living in a bad small apartment.
Let's Play Eye of the Beholder – Amiga
Kraken…?
"It's just math." But math can be expensive, and in the fragment shader you are calculating everything per-pixel, whereas if you provide your geometry to the vertex shader, you only have to calculate something once per vertex, which is usually much less.

Furthermore, depending on the GPU and the exact workload, it can be that vertex and fragment shading can run in parallel. In that case, it is better to spread the load over both, instead of letting the fragment shaders do everything.

The same goes for texturing. Instead of calculating most of the ball's color pattern in the fragment shader, and only using texture lookups for the number itself, if you just have a texture covering the whole ball, you basically offload a lot of computation to the texture units.

That said, for a pool game where the balls are one of the most important items on the screen, it's probably worth it to get the perfect smoothness and lighting, as you mentioned.
This makes me wonder (I'm not following chess): have there been attempts at competitions with some degree of computer assistance? Say, something like each player can choose to get assistance once in a given game, etc.
Actually I think the post highlights that even the statistic you quoted means less than one thinks it means. For example, some of the books included may have been only a few weeks on the market. Some titles may be niche books with the expected lower sales volume calculated in the price. BookScan only covers a certain percentage of print sales in the US, the total sales could be more than double that.
Very cool idea, but what I'd need way more often:

Now what I want is something that will scan a pile of socks and tell me how to put them together to have a perfect match.

https://media.istockphoto.com/photos/socks-pile-texture-pict...

Or better yet, tell my robot how to do it.
This is an interesting situation.

Organizations are comfortable treating your email as your identity because email is freely, instantly available to anyone in the world with internet access.

Email is free and massively available because it is cheap for providers to operate and ads make it profitable. Because organizations treat email as identity, email is very important to people’s lives, and losing access to your email account can be devastating. Thus there are calls for regulation requiring human intervention (such as customer support), the cost of which scales linearly.

This kind of regulation seems incompatible with free, universally available, instant sign-up email. Ad revenue is probably not enough to hire support staff for millions of customers across dozens of languages. One half-hour support call probably costs more money than a customer generates in years through ad revenue.

Correct me if I’m missing something, but it seems that providers would have to charge a fee for email to adequately support their customers. If this happens, then email access can no longer be assumed.

So here’s the core of the question: if we are dissatisfied with how fragile our identities are online, who pays to fix this?
I've seen what an adult is. "You've been alive for 18 years". That's it. No knowledge checks. No requirement of anything, really.

the most striking experience of this i was able to observe in US boy scouts.
there were two boys of similar age who were close friends, until one of them turned 18. he then was made an assistant scout master. some time later the two friends had a falling out because the younger one did not respect his older friend as a leader. it's not that he wasn't qualified as a leader. they probably both were, but that birthday made one be the leader of the other, instead of allowing them to remain peers.
That should be minimized as long as a limited number of domains per person (excluding legal entities) are allowed in a limited number of tlds.

Your property is both relatively scarce, limited, and requires significant service compared to random domains on some random tld.
Ask HN: Does https://github.com/klauspost/compress returns 502 for you?
I noticed Github returns "This page is taking too long to load" with status code 502 for https://github.com/klauspost/compress but rest of their urls works fine. Anyone know why would that be the case ?

Cloning the repo works perfectly well.

git clone https://github.com/klauspost/compress
Cloning into 'compress'...
remote: Enumerating objects: 6989, done.
remote: Counting objects: 100% (6989/6989), done.
remote: Compressing objects: 100% (2444/2444), done.
remote: Total 6989 (delta 4019), reused 6877 (delta 3956),
pack-reused 0
Receiving objects: 100% (6989/6989), 49.89 MiB | 13.50 MiB/s, done.
Resolving deltas: 100% (4019/4019), done
:) I know that because I've read the Foundation's tax returns and audited financial statements that the figures and discussions in Wikipedia are based on.

See also:

https://washingtonpost.com/news/the-intersect/wp/2015/12/02/...

https://dailydot.com/debug/wikipedia-endownemnt-fundraising/

The Foundation has 5 times as much money today as it did at the time of the Washington Post report.
Yes. People are often narrowing the topic down to <magic form of transport> - but the discourse should include whole package as you have mentioned.
Would be awesome if this app contained all Lego sets ever (including the Rebrickable ones) so you know which sets you can build when you just bought bulk Lego at a flee market. But it seems it only contains their own designs and some user submitted content.
Yes, it also finds pieces in a stack, but I'd rather do that part myself. Sorting Lego manually is fun!
> If you consider the climate and consequent human life costs of fossil energy sources, the risk of a nuclear disaster does not look very scary.

The risks of these are not connected, but add up. It's also a bit weird that people are so sure we can reverse the climate change, while forgetting that we can definitely reduce radioactive emission, but see it as a good trade to have more radioactive pollution.
It would be easier to accept if dishwasher and washing machine companies were already being made to contribute to munincipal water system costs.
Ok, well, that seems an untenable view when we know the Backfire Effect exists.
Done forget about the Microsoft, Nintendo, and Sony game consoles! Those are what I'm most excited for being opened. I would love to be able to run stuff I write on my PS5.
> I don't see how squatters would benefit more from that than other people registering domains.

Registering a domain is not an issue to anyone.

Some domain name registrars even offer multi-year subscription plans for those who don't want to bother with the 5minute work it takes to extend a subscription, and send out warnings months in advance to renew subscriptions.
I gave it a try some months ago, and it was quite disappointing. The amount of broken packages was strange, and the number of problems with their Interface was slightly disappointing.

But true, if you can work past those things, it might be better than tipi.
Why would they do that? The problem they were intending to solve is their legal liability.

The problem that Europeans can’t read their news without ads is not a problem they want to solve. They don’t want people reading their news without ads.
A new HN meme is born.
Scan the inside of your fridge — list all the dishes you could make.
SICP contains a chapter on non-deterministic programming that’s similar to how Prolog executes: https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

There’s also a chapter on logic programming but it doesn’t quite work the same way as Prolog: https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

Peter Norvig has a couple of chapters (11,12) on how to implement Prolog in his book PAIP. He also has a chapter (17) on constraint satisfaction but IIRC it’s not integrated into his Prolog system: https://github.com/norvig/paip-lisp

Many real Prolog implementations are based on the WAM. For an excellent introduction to the WAM look at: http://wambook.sourceforge.net/

I don’t have books or papers on implementing constraints and how to integrate them with Prolog. But here are two great classes on Coursera that explain how constraints and constraint propagation work. You can audit them for free:

Discrete Optimization by Hentenryck https://www.coursera.org/learn/discrete-optimization

Solving Algorithms for Discrete Optimization by Lee and Stuckey https://www.coursera.org/learn/solving-algorithms-discrete-o...

I believe constraints are typically integrated into Prolog through attributed variables: https://www.metalevel.at/prolog/attributedvariables

But I don’t really know how that works. Markus Triska has a few papers on constraint solvers for SWI Prolog on his webpage. He can probably give you more and better pointers: https://www.metalevel.at/
Because more tech is always the correct solution, right?

The world will be a better place once we outsource everything to our machine overlords, can't you see?

Why waste precious time thinking when you can get your answers right now? Thinking don't lead you nowhere, the machines will do it better than you anyway.
Risky click of the day
The problem is (apparently) no monospace version of the /ʃ/ character, which renders fine in non-monospaced fonts (on Android).
they're behind with on their payments for older aircraft

Cutting people off from bank transfers is a two-edged sword, the lenders/lessors will have to sue the lawmakers concerned. But I don't see them winning on that one.

The other problem is that age-old Business Problem: Once those customers that used to be yours are pushed away, they very rarely come back. 300-odd planes at (say) 30 million each is about 10 billion in lost sales for the two Western companies. And that's gonna hurt.

Is this really the start of the end for Airbus and Boeing in Russia?

A more salient question could be, especially with the latest economic problems in the US and Europe: Is this really the start of the end for Airbus and Boeing as viable companies?
It can be incorporated into a 3D scene as long as you can make a square billboard . You may have problems with clipping that' you need to address manually, but it might be worth it as you can get better visuals, assuming you are trying to render spheres.

As far as I know there shouldn't be any distortion issues. A sphere will always look like a circle from any perspective. Well that is unless it's really really big or your are really really tiny and you give the size difference you are relatively close to its surface. At that perspective it just look like a flat plane.
> The room which featured post-photography painting presented as a punch in the stomach to art.

I am surprised by the “art” = “paintings” association. Photography is also art, and by its addition as a tool to the toolbox, the possibilities definitely increased.

Same goes for audio recordings and music, more techniques definitely broadened the field and we got so much more than what we had before.
> A typical .uk domain will set you back the thick end of a hundred quid if you want it for a decade! Can I find something cheaper?

The wholesale price for .uk domains is £3.90/year[0] so where does the £100 for ten years figure come from?

[0] https://www.nominet.uk/change-to-uk-domain-wholesale-prices/
PyCon SK 2022 Sunday livestream (Python conference)
Batteries power EVs. Those batteries are charged with fossil energy a lot of the time, because renewables are too volatile to power a grid.

The fuel that powers ICEs can be converted from electricity as well. This is an inefficient process, but it would put surplus renewable energy to some use.
> The communications around nuclear at the moment are fascinating. I think we are really witnessing a massive PR campaign trying to take advantage of the war in Ukraine.

Well, they'd not really be doing their jobs if they didn't.

If there was an organisation that advocated for renewables, and their PR department didn't tie in an ongoing war in europe with a fossil fuel supplying country to their messaging, you'd think they weren't earning their money and should be replaced with someone who did.

It just so happens that other organisations have the same incentives and their organisational goals are not all as positive for human society.

The oil and gas industry for example, have used this war to advocate for more drilling and to attack rival technologies like renewables. Which is predictable if a little bit sociopathic.
Why is this flagged though? This is related to privacy and technology used to track purchase. I thought this was relevant for hacker news.
I think we can all agree it’s quite unimportant for Wikipedia to be microsecond up to date, and the people obsessed with being “first” probably don’t have the best reasons for wanting to be first. I wonder if they would just be better off locking pages, doing a collaborative period where changes can be debated, and then wholesale applied, rather than have this mess.
I've always though about that fact myself. Can somone find the answer to why didn't the GLSL designers / video card driver people make PI built into their language?
I would already call them staggeringly high.

«In 2016, studies found that the cost of a typical EV battery replacement could reach $10,000 or more» (from Autoweek).
Political will and long term planning are very important. Unfortunately short-sightness is what's killing these projects. Anything that cannot be completed in a government's term in power is very hard to be approved.
If we're keeping score on fallacies, roenxi is pointing out an association fallacy.
Looks like they found themselves a new “partner” :D
> Mandated parking minimums.

Have you lived in areas without mandated minimum parking? I have and it is a nightmare I don't care to ever repeat. There are good reasons for such rules.

In a perfect idealized world with excellent public transit, there's no need for mandated minimum parking, I agree! But that perfect world mostly doesn't exist (maybe Manhattan, only some areas).

When there is no parking, but people absolutely must have their car to get to work to be able to survive, it is mayhem. Violent fights over parking with human and property damage, people circling for hours and hours all night trying to park, you can't leave your house to go to important things because you lose your spot, and so on.

The positive way to do it is to solve for public transit first, so that most people are happy to not have to have a car. Then parking becomes a moot point, no rules needed.

If you force people to have a car to exist in society and simultaneously force them to have no place to park, it is a disaster.
This is pure brilliance. The depth of reasearch they went to for some of the units is mind-boggling

--- start quote ---

/* From Department of the Army's authoritative study: "Effects of
Nuclear Weapons", footnote 3 to section 1.45, available at:
http://www.fourmilab.ch/etexts/www/effects/

"The majority of the experimental and theoretical values of the
explosive energy released by TNT range from 900 to 1,100 calories per
gram. At one time, there was some uncertainty as to whether the term
"kiloton" of TNT referred to a short kiloton (2 x 10^6 pounds), a
metric kiloton (2.205 x 10^6 pounds), or a long kiloton (2.24 x 10^6
pounds). In order to avoid ambiguity, it was agreed that the term
"kiloton" would refer to the release of 10^12 calories of explosive
energy. This is equivalent to 1 short kiloton of TNT if the energy
release is 1,102 calories per gram or to 1 long kiloton if the energy
is 984 calories per gram of TNT."

So, evidently they don't quite specify which ton is required...

--- end quote ---

And it goes on
I think unfortunately that battle is already lost. If you try running gdb on a modern Linux system it will attempt to download the debug sections it needs from a remote server, which is very very slow :-(
The first picture of a human was very good!
Yes it's crazy. They have a product for almost every problem a small business can have.

Most companies would need a trillion dollars in funding before achieving the same thing.
There shouldn't be any issues with receiving messages sent to newgTLD domain but some websites may refuse to register new accounts with such addresses. Rather uncommon but it may happen.
What might make that even cooler is having multiple layers.

1. Detect the trees (I think morels are symbiotic with some kind of tree) that morels are most likely to be found near.

2. Detect the morels themselves, perhaps taking into account that you are now in a particular environment so you know you don't have to worry about detecting them on a sandy beach or some other ecological impossibility (if there is such a thing for morels, and I suspect there is).
> It means I could maybe publish my memoirs and family tree and have it still available in 500 years.

This usecase makes no sense at all. If you plan to have a server going after you're no longer able to maintain a server, your only option is to pay someone to manage your infrastructure and/or services. Once you're paying some company to manage your infrastructures, managing domains becomes a subitem in your invoice.
Ooooffff

This started well but it seems like a crap take at tweetsplaining

> When people reference book sales, they’re typically talking using NPD Group’s BookScan numbers

The guy is an author and this is the meaning of sales he pulls first? really?

Number of sales is what your publisher will tell you. Because they owe you money for every sale done. Because a sale is how many times people clicked the 'buy' button (be it digital, Amazon, or went into a bookstore).

"BookScan numbers" LOL

> there are dramatic differences between 1) lifetime sales, 2) sales in the first 12 months after publication, and 3) sales in any random calendar year.

By the context it's obvious what they mean FFS. This guy can't interpret a tweet and came up with this clickbait crap?
Thats an interestring post, thank you! Do you think that's why for example JavaScripts Math.PI also comes out to 3.141592653589793?
Because their intended audience is American, their monetization partners are likely just compliant with American law.
Related:

Mary Kenneth Keller - https://news.ycombinator.com/item?id=25550364 - Dec 2020 (6 comments)

p.s. These links are just in case people are curious about past threads! Reposts are allowed on HN after a year or so (https://news.ycombinator.com/newsfaq.html), and this isn't a repost in any case.
.eu.org namespace isn't crowded either. I could register my first name with it, and gleefully kept it for a few years now. I have more trust with them to run it more than those novelty gTLDs that run all sorts of games to take as much money as possible.
Startup trends to watch from Y Combinator’s S22 Demo Day
The delays are usually due to the time it takes to evaluate whether or not the mining can be done without too much damage, what actions would be taken to mitigate that damage, and how effective that would be.
This. Any shred of trust (not that there was much there to begin with) in EU media vanished during this Ukraine conflict.

Meanwhile the media never reports how people are protesting on the streets and the farmer's protests.