skysight-inc/HackerNews huggingface dataset:
Nobody should still use the awful legacy vue component syntax, it is trivial and much cleaner to migrate to script setup components, which do provide properly type checked props easily
https://v3.vuejs.org/api/sfc-script-setup.html#defineprops-a...
https://v3.vuejs.org/api/sfc-script-setup.html#typescript-on...
(although vue class component is still the best API of all VDOMs, it's unfortunate its development has stalled)

Webstorm now properly supports template type checking too
https://blog.jetbrains.com/webstorm/2021/11/webstorm-2021-3/...
> I've heard nothing but bugs, bugs, and more bugs.

I "upgraded" to a Pixel 6 and Android 12 has been completely fine for me, so it might be certain people. I am aware some of my friends had bugs with Android 12, though.
The UK railway network back then was very dense.

In the UK you are never very far away from a road called Station Road with no (longer) any station or railway, or from a path that used to be a railway line. Or a strange bit of road with only the backs of things on it that use to be a railway line.
> Google will return irrelevant results from today rather than relevant results from 10 years ago.

I can't imagine many subjects for which decades-old results would be more relevant than current ones.

Also, Google gives you the option to search by date or date range, so if you just wanted 10 year old results, you could just do that. It even adds the date to the results.
When to support JVM languages?
Why do you say it’s non-consensual? He donated his body to science.
Speaking as someone who is actually diagnosed with chronic insomnia and delayed sleep phase disorder, college sucked because my lack of sleep would affect my focus and concentration and that would kill me on exams where a sloppy mistake (circling the wrong answer) or running out of town would drop my grade significantly even if I fully understood the material.

I performed much better on homework assignments where there was less time pressure because I could work on them around my irregular sleep schedule. I'm grateful now for working as a programmer because it affords me the same luxury - with my condition I simply can't exist in a 9-5 society.

(Before people comment, yes I have tried melatonin and no, recreational drugs don't help me sleep either)
Kagi for serious stuff (work, health). I've no idea how since they build mostly on Google and Bing but something they do makes an enormous difference.

Marginalia for fun stuff.
Loved the article, it's curious that he didn't mention the electric version of the Hot Water Bottle, where it's just a closed system which gets warmed up over and over.
Running a Fly app backed by DynamoDB Global Tables is an option. DDB keeps a copy of your data in all the regions you specify, each Fly instance can connect to the nearest region, and writes are propagated with eventual consistency & last write wins.

And most Redis commands can be mapped to DDB, I worked on a lib to do that.

https://github.com/dbProjectRED/redimo.go

https://github.com/sudhirj/aws-regions.go

https://aws.amazon.com/dynamodb/global-tables/
> I could imagine lot of people who would think they are better off there than in the US.

I love Bulgaria (beautiful country, great people) but it's just your imagination: there are still more Bulgarians emigrating to the USA than Americans to Bulgaria. Lots more. Like almost one-way street, really.

Poor minority Walmart employees having no idea how good they would have it in Bulgaria instead...
Given our history, I was assuming there was some expectation that duties might also include requests of a sexual nature.

I really hope that's not the case. But we (rich white people) don't exactly have a good track record in these types of situation. :(
Yeah it totally makes sense from an average individual standpoint, that's currently an insane amount of money in a world where lots can't afford any car at all.

But it seems like it took a long time for even the big companies to fully trust that they would even be possible, and even the rich people looking for expensive toys didn't want them all that much till recently.
that's just not true. NATS does have neither at-least-once nor exactly-once. NATS Jetstream has at-least-once, but it does not have flexible topics anymore like NATS. It's two completely different things.
Fly just runs container images, so you can already run any language you want, including the JVM.
https://kagi.com/

https://search.marginalia.nu/
> The security of TLS-ALPN-01 relies on TLS implementations rejecting a connection if an unknown ALPN is present.

I hope it does not, because the majority of servers don't reject unknown ALPNs. (See: ALPACA attack)
We use Bull at $CURRJOB and it works great until there's an issue and for _some reason_ jobs stall. Getting into the nitty gritty to debug the Lua code was not a fun week. We moved onto RMQ for our needs on the next project and are looking at ways the replace Bull/Redis in the old project.
The near flat graph of housing costs since 1993 [1] seems really suspect.

It's from the BLS so maybe housing costs have been much more stable in the USA, because in the UK they have soared since the early 90's - so much so that Millennials are often called "Generation Rent" due to the declining rate of home ownership.

[1] https://fullstackeconomics.com/content/images/size/w1600/202...
Do you have a car? Try driving in one direction for about 50 miles, then driving back. If you come across a gas station or a tourist trap once you're nearly 50 miles out, stop there for a bit. It's not exactly a vacation, but it at least breaks routine.
Google has some neat tools, click the "tools" menu and select any time, you can enter a range there: https://imgur.com/a/XQSMT9n

Not that I ever needed to use it, but it's there.

Google does know an indirect date of the page even if it's not written explicitly. The first crawling date should be saved and if no better indicator exists I'd assume they are using that timestamp.
I always liked SGA better, but you’re definitely right about SG 1.

Which of course begs another question: SG1 was made in a time that we can call the Golden Age of TV Sci fi, along with the Trek shows, Farscape and many more.

(Though granted: SG1 is probably more of an action adventure show at heart, if you want to get anal about classifications.)

Despite productions that cost hundreds of millions of dollars, why don’t we see show of the same quality today?

Yeah, there’s The Expanse and The Orville, but those two are the only exceptions in a media landscape almost barren of good sci-fi like SG-1.
The hedonic inflation argument is that you are now many times better off with your RTX3080 compared to a GTX 480 or whatever, and so your 'cost of living' has effectively gone down, because to buy a GTX 480 equivalent now is many times cheaper than it was.

The reality of course is that you have the 'latest greatest' graphic card in each case, and that is what should be measured.

It's just not realistic to live like Christie (no antibiotics, no highways, air travel, internet, tv, etc, etc) in 2022, and so inflation calculations based on like-for-like products and services are essentially meaningless.

'Cost of living' measures should reflect how much it costs to live like a factory worker, a shop assistant, a doctor, lawyer, manager, CEO, etc. Inflation currently measures 'Quality of living' more than 'cost of living', if anything at all.
Because they are sex workers.
Another key feature missing from the list is:

4. Redelivery

Are messages redelivered if there's a failure in the consumer? This is critical to many systems using older messaging platforms like MQ.
Because you’re a student: join a sports club.

Exercise cured SOOOOOO much.

Now, if you’re a little older and have some money you can do what I did: hire a personal trainer. The social part is important. The returns to this investment are obvious. Do it even if you are already athletic.

If you don’t have money and can’t join a sports club—rearrange your room, set it up for yoga. I also did this. If you’re really really bad, try DDPY. They even have a bed workout!

And if you can / need—do all three! I’ve actually sort of done all 3 over the past year and I feel so much better. :)
You are quite right, and Fly.io can be that "gateway drug" to taking advantage of it. I suspect that is also their exact business model too, attract customers when they are small and run in one region, then as they grow encourage global distribution extracting business from them.

My business doesn't "need" global distribution but it could defiantly be argued that it could "benefit from" being so.
This technique is nothing new and commonly used in influenza.

Good luck producing viable virus though. Many mutations are deleterious to organism.
> sad that in 1997 I had a 56K dial in modem on a Pentium II running Internet Explorer and today I have a 1Gbps connection on a M1

Images took ages to download on 56k. Performance today is vastly better.

There are cases where progress has moved backwards eg. new buggy JS Reddit, but I by no means have rose tinted spectacles for the past.
But that's just semantics. GP's point was that with Must-Staple, the "real" expiration period becomes pretty much irrelevant - instead, the lifetime of the OCSP response becomes the new effective lifetime of the certificate.

If you compare (1) a short-lived certificate and (2) a long-lived certificate with Must-Staple and short-lived OCSP responses, the benefits, security properties and failure modes of both are exactly the same*. You're just putting the timestamp into different fields.

(* Or almost: Some notable practical differences are described in the sibling comments - but those are mostly a property of LE's current policies, not the protocol itself)
> someone was distributing their PDFs online using various services, but mainly Scribd

Ah, Scribd, the scummiest company YC has ever had any connection with.
A lot of sites recycle old content and/or remove the dates so you can’t easily tell how frequently the sites update. Very frustrating when your researching technical issues and you keep encountering outdated materials. Not to mention historic content that disappears behind paywalls.
I've noticed that most science and math publications - including the paywalled stuff - omits the date. It can be very frustrating finding such information and not knowing its vintage. It IS relevant.
The issue is that the damage here is almost irreversible - short of taking the whole blockchain down (which might be used as an excuse to do it ?).

I guess that the penalties could be correspondingly high - like the difference between rendering someone temporarily unconscious versus killing them ?
One million cats to save Putin?
yes, i read it daily on Mastodon but please stop to reposet each 3-4 days the news about electronic tongue that analyse fish it's anoying
I'm really interested in fly.io after their Postgres post the other day, but I've not seen anywhere what their recommended solution is for ActiveStorage – is it still writing to S3 (or equivalent), or would it be somehow using their volumes? Are there any published examples (blog posts etc)?
Well said too.

Those NOT doing what is "expected" of "big money" need to a better ways to connect, support each other and work togther against those expectations.
They probably disable the account of whoever leaked the copyrighted material.
TikTok made this more popular. Every other social media had a date of the post or the video. TikTok had none. Still doesn't. That kept videos fresh over time.
How to Beat Burnout
They are expensive due to the accuracy required to test the small amount of lead in water. At least last time I checked that was the case .

I was hoping to see some recommendation on Water filter or other ways to get clean water. But so far there are none.

We are in 2022 and clean water still feels like a luxury.
There is an important distinction between promised lifetime and actual lifetime.

For example if a CPU instruction-level issue was discovered Fairphone would have no way to fix that without microcode updates. This means that a vendor can't guarantee security updates for longer than Qualcomm will offer low-level support. However the discovery of an explotable instruction 3 years after release is quite unlikely and as far as I am aware hasn't occured so presumably Google *could" continue updates in this case.

Of course there is still consumer expection issues. If phones are usually supported for 5 years even though they only promise 3 you might feel cheated if your particular model has to stop at 3.5 years.

There is also the option of ignoring the CPU vulnerability but continuing other security updates. However trying to explain this to users is incredibly difficult. Even if you can get their attention you have to explain the impact of being able to break out of the app sandbox to them.
It's not that deep.

During the pandemic the price of used cars started to rise. Did we attribute that to people with more money who can then get higher credit on the now more expensive cars?

No, we attributed it to a lack of supply of cars, and worked to free up the blockages so that the market would return to its correct state where cars depreciated.

It's the same problem with housing. We need to build an awful lot more, and we need to move the work to where we build the houses.

Once we cross the rubicon and house prices start to depreciate, as they should because they wear out, then we'll see a phase shift in the market and vastly more supply. It'll be like the latent heat of condensation.
Honduran president’s fall from grace poised to end in US indictment
Very easy to put on way too much muscle? Most people find it very hard work over a long time to put on even small amounts of muscle.

Where did you get these ideas from?
The most actionable suggestion I can make is to go run or lift weights, unless you have some medical condition. It will improve well being and you will regain the desire to study or work.
Don't believe it 100%; statistics for the communist period are hard to interpret. Should you subtract something form people's income if they can't spend the money? If prices are kept stable by decree but people have to queue longer/shorter to buy them, is that 0% inflation, or should the change in wait times be factored in?

This isn't to say that communism did badly. It is to say that interpreting the statistics has special challenges.

Other things I've read concluded that communism did well for the people up to the sixties, except Stalin's calamities, then increasingly not. And Russia now, not.
It also serves as its own form of memory hole, if readers can’t get the context of the date after a few searches, they are likely to just give up.
I think tls-alpn-01 doesn't need you to reject the connection, my understanding is that successful validation requires three things:

The server agrees this SNI matches its name

The server agrees it offers this ALPN protocol

The server provides the tls-alpn-01 magic certificate agreed via ACME

Unfortunately none of these three steps requires affirmative work by the server to get it wrong, they can just passively nod along. "Yeah, I'm abandoned-server.bank.example, whatever you say", "Yeah, sure I can talk alpn/1 protocol, whatever that is", "Yeah, this certificate I was given by some bozo is definitely my certificate"

We know from previous incidents that just because something is obviously a bad idea, or even explicitly forbidden, doesn't mean it won't get done unless we also make it difficult so that it's easier not to.
Yeah, this is just crazy. They had blood samples going back five years, and did not run any earlier samples for calibration. But the paper claims the test has a specificity of 99.8% and the positive rate until March is 0.2% -- just the expected date of false positives.
> housing prices are driven by the average income

They are driven by the average income of the wealthiest $number_of_homes renters. If there are not enough homes in a single city then a lot of people will pay very significant part of their salary to have a place to live.
Ask HN: Physical keyboards vs. on-screen keyboards, what do I do wrong?
I have been typing on computer keyboards since the Eighties. Naturally, I have become a very proficient typist.

For the past decade or so, I have been trying to do the same thing with on-screen keyboards (tablets, phones). It's been a total failure - and I'm quite annoyed by my lack of progress with those. No matter what I try - pecking the screen with my indexes, trying to use my thumbs (seriously? how do people do it? thumbs are the largest fingers, how do you hit the letter you want with them?), using a wavy movement with my index, without lifting it until the desired word is suggested - everything I've tried is far less efficient than typing on a keyboard, even on a lousy one.

What am I missing? How did you get proficient with on-screen keyboards, fellow HNers?
Is there a legitimate use for argc=0? Could they just change it behind the scenes to have a single name of the program argument if it's 0?

Seems like a good use case for Android style API levels, but only if used very sparingly and with old ones not removed.
The price is inelastic. They can set the fee to almost any amount and people will pay it as long as publishing there results in promotions and grants.
Define better first.

If by better you mean supporting a competitive market that doesn't strengthen the monopoly Google has on search and their results which, as years go by, are augmented for their benefit but not yours, then anything is better than Google.

If by better you mean increased chances that the first few results will contain the answer you need, then Google is still king. That being said, when it comes to tech, with most answers found in open git issues or stackoverflow, i find brave search sufficient. So much so that i haven't used any of Google's services in over a year.

The real question is, what are you willing to compromise? There's an in-between for the two extremes above and the choice is subjective.

An exciting alternative is https://neeva.com/
I'll happily pay money for a privacy oriented search engine as i do for email, cloud storage and NextCloud. We shouldn't expect things to be given to us for free. I work, they work, we can do a fair trade with some iou derivatives.
There’s one crucial issue with this view: robots need energy to work. And consuming energy destroys the planet and will continue to do so for quite a while, because clean energy solutions aren’t ready and we need to drastically reduce our carbon emissions (among other things) right now. Time is running out and we can no longer afford the dream of a post-work society.
In my mind Claude Shannon is the greatest mind in modern history (move over Einstein!). He’s vastly under-appreciated outside of CS circles.
(2020)

Previous discussion: https://news.ycombinator.com/item?id=21937607
I notice this sometimes also in academic papers. I would like to see a date but it is not usually presented. Is this for similar reason?
If you were the cat, I bet you'd feel differently.

That's as serious of an answer as I can give. It's the same reason I never neutered my cats, since it felt like a mutilation.
My top tools for blogging in 2022
Yes, I discovered this back when reddit was just a few years old. Before then I was able to search google for a specific reddit thread and find it. Now there is no chance. I've been screen shit and downloading things that I like for years now.
He means per year. Your estimates are generous. For my graduate studies I was paid 8000 a year.
I was including NATS Jetstream, which has exactly-once message delivery [0].

[0] https://docs.nats.io/nats-concepts/jetstream#exactly-once-me...
This book is very biased, see for instance the "one-hump world": https://www.jasonhickel.org/blog/2019/3/17/two-hump-world

For a full review (in french): https://paulboosz.github.io/2020/analyse-nouveaux-optimistes...
Anecdote: On of the best friends of my oldest daughter moved to a new rented flat recently. When I saw the address for a playdate, I recognised it and said to my daughter "I think you went to a birthday party at this address when you were 3-5 years old when another of your friends must have lived here". To corroborate this, I looked up the calendar on my phone, where I'm pretty organised about putting dates and locations of events. However, at that point I discovered that Google Calendar only keeps 2 years of history!

So modern technology is literally erasing our pasts. Not just calendar entries, but messaging systems (people used to keep handwritten letters for decades), and possibly even photos (if we're not careful about preserving them).

Edit: See my clarification of the 2 years in comment https://news.ycombinator.com/item?id=30084620 below. I still think the point remains - we do not own or value our digital data in the same way as physical objects, and there is a much heightened risk of that data disappearing as a result, either by the owners of the platforms the data is stored on archiving the data or by us not valuing it enough to preserve exports and backups through long periods of time.
This isn't a watermark though. This is giving different people different content. Watermarks don't change the content.
Pfff

Didn’t believe in this cargo from the beginning. Instead I’m watching the world change. When you work with code and understand what it does and all of the implications, these rules are irrelevant, because you have your own sense of when it’s time to (…).

To me bad code is basically two things: (1) negligent/inconsistent formatting, (2) when you read it you can’t grasp what it does. Not because of complex algorithms, but because it is an abomination consisting of tens of files, 5 meaningful lines each, and logic mostly smeared across imports.

My latest favorite was an abstract factory of a single server constructed from specific implementations of property accessors which combine into a hierarchical non-documented method-structure. All it does is listening on a tcp port, regex-parsing messages like

command; key:value; key:value; …; msg:…

replying “command OK” and calling back .on(“command”, (data_structure_class) => {}). Too bad it parses it wrongly when msg has “;” in it, which is okay according to the spec. 17 files, countless boilerplate lines only to fail in a trivial task, which is basically a one-pager.
If we enable everyone to have at least $30 per day, would this not result in asset inflation and purchasing power of said $30 lower - these these people would still end relatively poor ?
RFC 8737, Section 5: "The second assumption is that a server will not violate [RFC7301] by blindly agreeing to use the "acme-tls/1" protocol without actually understanding it."

RFC 7301, Section 3,2: "The server SHALL NOT respond with a selected protocol and subsequently use a different protocol for application data exchange."
Google Maps now defaults to that last options (or at least displays it by default, I'm not certain it's always chosen). See here [1] for example. I would be interested in seeing a 3rd party assess how accurate that metric is.

[1] https://techcrunch.com/2021/10/06/google-maps-launches-eco-f...
Ask HN: Raspberry Pi Zero 2 W availability
None of the Ras Pi resellers in India seem to have the Raspberry Pi Zero 2 W in stock. Has anyone from India been able to order these?

If you are outside India, have you been able to source it?