skysight-inc/HackerNews huggingface dataset:
Not entirely sure, since I rely on the defaults provided by LinuxServer.io SWAG Docker image. The backing store for my site runs on ZFS though and it’s highly likely that web assets are cached in memory.
Simple indeed.

As such, it has "missing parts" that I think are important:

1. Reasons to intentionally panic are mainly for invariants that you failed to express through the type system, and so that have to be checked at runtime, although you "know" that they should always be true. An example of this is having a struct implementing Drop while still having a method of that struct that allows to take its internals. To achieve this you typically need to put the internals in an Option, and have drop only drop if the option is there. Since all methods can only be called when the object has its internal in place, you should unwrap the internals before using them in each method. Returning an error in this case would be exposing internal architecture details and essentially "dead code".

2. You can recover from a panic. This is especially useful if one of your dependencies is misusing panics or you're triggering something that "should never happen". You may want to use that for a longer-lived application (eg a web server), so that a panic in one connection does not bring down the entire server. This is also necessary before calling into FFI because unwinding in another language is UB at this point.

3. When writing applications, `anyhow` is a great crate for "stringly typed, user-facing" errors. Its superpowers are to convert any error into its erased error type, and to be able to add context as a String to any error. You can then iterate through the various layers of errors, which is great for giving context to the end-user of the application. You shouldn't use anyhow in libraries though, because otherwise you will expose "stringly typed" errors everywhere, that are hard to act upon for your programmatic users.

Error handling is a difficult topic in any language. Rust's error handling story is better than in many languages, but I feel it still lacks some things:

- I would like to be able to mix and match error types without making them "stringly typed" and more freely than with the rigid "from" implementations using thiserror

- The current system pushes people to make a single big Error enum for their crate, which obfuscates which errors can or cannot be returned by each individual function, and so makes it harder to act upon each error condition. I try to 1. have one specialized enum per function (or per functions with similar errors) 2. have one "generic" enum containing all of the others, so that if the user doesn't care about the specific error they can
just `.into` their way to the generic error.

- The current system is very "type" oriented, and so doesn't push people to actually model "error conditions". eg multiple error conditions can be caused by IoErrors, but it is tempting to snuggle all IoErrors in a single enum variant "IoError(IoError)", whereas a more expressive way would be to describe error conditions: eg "CouldNotOpenConfig(IoError)" and "CouldNotSaveData(IoError)" instead of a single "IoError(IoError)".

The article remains a good short introduction to error handling in rust, but I wonder if we *want* a short introduction to a difficult topic.
I’ve come to the realization I really should be using a VPN, for so many reasons. I really know nothing much them - any recommendations?
Ask HN: How much traffic can you expect when on the frontpage of HN
How much traffic can you expect at 50, 100, 500, 1000 upvotes?
I don't know if that is true. Considering one of the issues with Mazda is text parsing. My ford doesn't transfer all the epg data from the radio module to the media unit and it requires a several hundred mb update when radio stations change their logo as people now expect radio station images since it is part of the dab standard.
Though the identification you hear may be that of the originating station in the case of a simulcast.

Many years back Clear Channel would simulcast hurricane coverage across most of their stations in Florida, resulting in them all identifying as "Newsradio 610 WIOD Maimi". (Though a YouTube search suggests iHeartMedia now pitch- and speed-bends to say all the legal identifiers very quickly.)
> not many people want to call Vodafone

No need to call, it's a switch in their app or website. It's the same for pretty much any provider.

The annoying part is that the switch tends to reset fairly often.
But it's not an upward deviation from the "happiness" norm, it's deviation from the joy baseline. They're entirely separate systems.

To give an extreme example, someone who's addicted to drugs might receive extreme joy from their next hit, while at the same time being deeply unhappy, and unable to take joy from anything else. That's the hedonic treadmill at the extreme.

At the same time, someone who's very happy might be able to take joy from something simple - like a fried egg yolk with the perfect consistency - because their mind is not preoccupied with seeking bigger and better joy, they may be more free to find it in simple places where it arises naturally.
> This is not an assumption, there is no circular reasoning.

Of course it is an assumption. A star moving across the sky is not a proof by any means.

> And we observe different parallaxes for different stars, meaning that stars are not all on the same distance from earth.

No, we don't measure different parallaxes for different stars. We measure different trajectories for different stars across our night sky and then, using the assumption that Earth rotates and that it is on an orbit around the sun, we conclude that there must be a parallax effect involved in the observed trajectory of the star which we can then use to estimate its distance to us.

> So, this way you prove that the earth moves and stars have different parallaxes and are not all attached to a crystal sphere. I don't see a problem here.

To see that what you're referring to as "proof" is no proof at all, consider that Ptolemy's epicycles (i.e. the elaborate version of the crystal spheres) are just a Fourier series and can therefore be used to describe any periodic movement across the sky. (Without you having to know anything about whether Earth rotates or not.) For a very impressive example see
https://m.youtube.com/watch?v=QVuU2YCwHjw .
Facebook's customers are advertisers, not users.
One should also check Telegram settings for media downloads\autoplay. This may change memory consumption drastically.
Explains why life since having kids feels like 5 years have gone by with nothing to distinguish them.
Send love to open-source projects
I tried traveling more, but I find out after the first day, I’m no longer as excited. Also can be a frustrating and time consuming experience when you don’t have a strong passport.

I’m a “busy body” and I find novelty almost every week in my environ or nearby. I always push myself to try new things / start a conversation with strangers / group activities / etc. Even things I have been doing for a long time like working out at the public park or playing football, still gets me excited like a kid.

Admittedly, the biggest improvement in my happiness was moving to a developed country.
This is really needed for me who is a channel change maniac.
Bit Happens: Bitcoin's rising correlation to the S&P 500 and Changing Dynamics
Agreed. Never been a full nomad, as I always had my own base in Berlin, but I’ve been around enough of them (and wrote reports about it) long enough to see it.
Digital Nomadism hasn’t solved the problem of rootlessness. If you’re nomadic long enough, you risk ending up with a very odd kind of depression. It’s also a different way of getting stuck on the same thing. Most nomads I know tend to stay longer and longer in a place, and to go back to that place eventually.
I’m still a huge fan of it, and I think that remote work and work from anywhere is the only way forward for most intellectual workers.
Yet, I can see the problem more clearly now that I’ve forcefully stayed put for two years, then when I was kind of compulsively traveling.
Nonetheless I write this while on a 2.5 months workation break in Southern Europe to flee from Berlin’s gray winter (which has a devastating effect on anyone’s mood).
But those things take millions of years at least and we barely know how to fling bits of foil-wrapped garbage at the other specks of dust around our star and seem to be rapidly improving still. I'm no Red Martian but we really shouldn't have the confidence to contaminate other worlds yet. I'm not saying we are likely to find another life in the Solar system but there might be other unknown-unknown phenomena we shouldn't blindly rob ourselves of.
In my experience traveling was the best cure for the mind in my life. I totally disagree with the author.

The only downside of traveling is money expense.
And they struggle enough as it is to attract younger users, credit card checks would completely kill the demographic for them.
I bought a Galaxy Tab S6 Lite last year and I prefer it over my iPad Air.

I actually think the iPad has horrible usability. My only recourse is a friend who is an Apple Fanboy and can give me hints like "you can search for apps by swiping with your finger up (or down, can never remember) from the middle of the screen". Before that, I was unable to discover apps I was sure I had installed.

Also every iOS app seems to have its own approach to navigation, as iOS doesn't have universal back and home buttons like Android.

Unfortunately Android is also copying more and more of the Apple approch and introduces undiscoverable gestures. I personally hate gestures with a passion.

But to each their own.

Where Apple my score big time is with longterm support (security updates).

Ultimately you have mostly the same apps on both platforms.
thats a bummer. thanks for the info!
I don't know if this is an idiom but I heard it during a code review some time ago: Occam's razor. What it means is basically keep it simple, don't over-engineer.
12" Macbook form factor would be perfect. That thing was always slow with Intel, with M1 it would be super-compact, powerful computer.
HN"."
I'd pay double what I pay for things like media streaming services for Telegram if they had a supporter tier. It's easily the best service I use.
I had assumed that too, but guess it's G.O. Access, for the author's initials: https://github.com/allinurl
Those bad characters are fed into the program long long after the compiler has done its job.
The fact they keep trying despite repeatedly being humiliated by market realities, though, indicates the lobbying pressure by pro-censorship groups is quite high. This is bound to produce something eventually.
A couple of books on this topic:

Cockshott, Cottrell: Towards a New Socialism, brief synopsis as well as a link to the PDF version at https://en.wikipedia.org/wiki/Towards_a_New_Socialism

Phillips, Rozworski: People's Republic of Walmart, https://www.versobooks.com/books/2822-the-people-s-republic-...

Disclaimer, I've only skimmed through the first and not read the second. I'm not personally super-convinced as I think markets are in many ways a pretty good decentralized economical information sharing mechanism (in the sense of prices conveying information about scarcity etc.). That being said, there are of course numerous examples of market failure where some kind of state intervention is needed. And in some cases the market failures in question might be so severe and so hard and expensive to work around that a socialist model might in fact work better. Like health care or much of public infrastructure. But that doesn't IMHO mean that market mechanisms must be entirely abolished everywhere.

To get back on the topic of electrical grids, yes I think a mechanism of dispatching based on marginal costs is a good idea, as that means the lowest cost producers to meet the required demand are used. But also note that this is a pretty "synthetic" market, with a central planner deciding on which generators are dispatched, and customers are buying from that market rather than some kind of "natural" market where they'd go directly to the producers. And of course few end customers have their rates tied to the spot price, which sort of destroys the idea of demand response where the end users would react to high prices.

And the variability of the electricity price is only going to get more dramatic as more zero-marginal cost variable producers like wind, solar come online. In a simplified model with zero marginal cost producers and inelastic demand you'd either have a cost of zero when production is higher than demand and the administratively decided ceiling price (or infinity if such a ceiling hasn't been set) when demand is higher than production. Which doesn't really sound like a functioning market. So maybe we'll over time go towards a model where some kind of capacity market is responsible for the majority of generator income (and customer cost) and the wholesale spot market reduces in importance, mostly deciding the merit order for dispatching generators.
> Honesty is for the poor.

The morality and ethics crisis in our country in a nutshell.

We're building bigger and better systems to scam and exploit each other, meanwhile China keeps on getting better at building real stuff.
Most people, under-18s or not, will download whatever comes first when looking for "free vpn" on the app store.
I’ve been using Proton VPN with no major issues. Would be interesting to know what others here think of them.
Does it now support non ford based models as these are of Mazda's own design and at least the infotainment is not comparable to ford sync which runs qnx (or Windows CE embedded for older versions). The relationship ended in 2015 afaik.
I found this to be good as well, maybe you can add it to your list https://github.com/ferama/rospo
This machine almost certainly exists under DARPA/NSA. IBM is getting close commercially to something with enough QBITS to break a AES
Ask HN: What’s your favourite micro library?
It is definitely okay OP. I love GNU/Linux to a point that I refuse to work for any company where I have to use a Windows machine. I can tolerate a Mac, but I'm willing to take slightly lesser money for a Thinkpad running Ubuntu/Whatever. I also cannot stomach the Atlassian software, so I won't work with those either. BitBucket is a travesty that is only matched by Jira and surpassed by Confluence.
Travel certainly changes people. But it depends on your openness to new ideas. Some travelers expect to find their own country in a different place - these people will not be altered by travel. However if you consider travel as an exercise in adaption to other peoples’ ways of life, then it certainly will challenge some of the axioms that were instilled in you from a young age by your society.
Where I come from, companies don't waste real estate with monitor rooms for security guards. Instead the monitoring is outsourced, and the security guard has a fixed position and a set number of patrols they need to do.
This isn’t quite right. The age verification is enforced on mobile networks, not devices.
For mac, I use little snitch to block all unwanted outgoing streaming include connection to Apple. It is kind of weird that some app keeps connecting to somewhere when I don't need it. The outcome is that some apps might be buggy. For example, Chrome would randomly crash with error code 11 which might be the failure of connecting to their auto-updating server. Vscode might crash with error code 5 also, but I'm not sure if it comes from the network blocking or not.
Show HN: An AI that predicts how long a car will last
AutoPredict is a tool to help predict how long a car in the UK will last given its MOT history.

In the UK every car more than three years old must take an annual MOT test to make sure it meets legally required safety standards. The results of these tests contain information about the condition of the car and details such as its current mileage, engine size, and fuel type. These results are also openly available for anyone to see, for any car, past and present.

I collected the MOT histories of more than 16 million cars (more than 100 million tests) which have already reached the end of their life. I then trained an ML model using a random forest to predict how much longer a car will last given its current MOT history. Just enter a valid UK number plate and get a prediction back, along with statistics about the make and model of the car. Feel free to use the random number plate button to get a prediction for a random car if you don’t know a valid UK number plate.

The model currently gets within a year of a car's actual end of life for 51% of cars.

Try it out and let me know what you think.
But I imagine it’s a large deterrent because not many people want to call Vodafone and ask permission to look at pornography.

True, and particularly galling when the content you want to look at is not porn but (say) the internet archive or opinion sites that weenies in the provider have deemed offensive.
I took the same approach with motorcycling. I decided to do it for 3 years while at university because it had a transformative impact on my lifestyle. But I also decided the odds were way too bad to keep doing it my whole life. So I stopped and haven't done it since then.
We use Pgbouncer in in our Apache Airflow cluster.

During busy time, Apache Airflow can launch hundreds of workers, each of them need at least 1 connection to Postgresql to save its result. Because each worker run in its own process due to Python's lack of support for threading, client-side connection pool cannot be use effectively.
Stackexchange contents are freely available with a share-alike licence, ctrl+f "user contributions" in the site footer. The data dumps are linked elsewhere in these discussion threads.

They are not scraping. The secondary economic exploitation is expected. The copy sites (attempt to) capture value that the primary is unable to.

Despite Google becoming worse overall, I noticed that the copy sites are consistently ranked lower than the original. What is your search engine experience? I have not encountered a robo Youtube video as you have described.
on my desktop tg would routinely eat up to much memory so that i am now starting it with a script that sets a hard memory limit. haven't had a problem since.
> This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check out Snap, MakeCode Arcade and Adafruit Circuit Playground Express:

[1] https://snap.berkeley.edu/

[2] https://arcade.makecode.com/

[3] https://www.adafruit.com/product/3333

[4] https://makecode.adafruit.com/

Also check out this tiny old book suitable for a total noob to computers:

The Pattern on the Stone - The Simple Ideas that Make Computers Work by W. Daniel Hillis

https://www.amazon.com/Pattern-Stone-Computers-Science-Maste...
I thought so too, but sometimes the money gets normalized once you start working, and you forgot that you factored in your feelings for a distasteful experience. And that's when you start looking at other opportunities. Atleast that's how it was for me. I got into a Cryptocurrency job, and I loathe the field. I got a 3x hike doing it, but now I want to leave and find a saner pasture.
> But those things take millions of years at least

Perhaps. But we may not be spacefaring for very long. Now's the chance.

We've been exploring Mars for 45 years now. No life yet. As I said, the people who regard life as a malignancy will never be satisfied. There's always a deeper hole to look in.

> contaminate

Earth life isn't "contamination".

> unknown-unknown phenomena we shouldn't blindly rob ourselves of

Instead we'll blindly rob ourselves of the opportunity to spread life into a lifeless universe. How incredibly sad.
Indeed. You can tell a historically bad technical measure by the following phrase being repeated forever: ”we will never ask you for…”. I await this for credit cards.
Mullvad seems to be the most popular recommendation on HN nowadays. A couple recent threads:

https://news.ycombinator.com/item?id=28551960

https://news.ycombinator.com/item?id=29903695

I've been using them for a while, very happy with it so far. Stable connection and high speeds - good enough that I often forget I have it on - and a nice selection of locations.

They even accept cash! Each account is just an ID so you can mail your account number and some money to them and payment will be processed.

Mozilla VPN also uses Mullvad's servers behind the scenes.
If you say so. I'm having a lot of fun with a bottom-dollar setup. There is no perceptible tuning delay and there's a lot of functionality in such a small space. The parent comment was referring to the lack of responsiveness as a result of the digital age, and a lot of the real-time thinking behind SDRs can be applied to take back control and be able to read different competing radio formats and receive on various bands. The problems with the data parsing are sometimes baked in to ICs and software, but the whole idea behind SDRs is to separate the act of receiving radio and decoding it so that there is less friction to changing how it works.
I think one could reasonably say that a car shouldn't be expected to save the driver from all situations when the self-driving features are just a backup system and the driver is expected to be in control. However, those features shouldn't cause unsafe situations all by itself, like the example video of the car trying to swerve into a bicyclist.
Does your by any chance have remote onlocking or nearby unlocking features (or are the radio modules installed by default)? Some cars start the boot sequence well before you enter the key/car for the infotainment systems.
First of all, just to repeat: I am very much in favor of the IRS doing as much as it can on its end and then prompting for info it does not have but thinks should be relevant.

That said, neither daycare nor college tuition are itemized deductions. You can take the standard deduction and get credits/deductions for those at the same time.

Or the EITC: That one depends on who lived with you during the year, which the IRS also does not know. But it could ask that one question and then compute it for you...

Handling of stock transactions is the _easy_ case here, assuming the brokerages correctly track basis, because they already report all the relevant info to the IRS.

> I’m willing to wager that for the vast majority of U. S. residents for the vast majority of their lives, their deductions will not exceed the standard deduction.

That is a very sure bet, but not that relevant to whether the IRS can compute one's taxes because our tax code as currently structured has a bunch of credits and deductions that are not part of Schedule A that matter to quite a number of people.

To put numbers to this, per https://www.eitc.irs.gov/eitc-central/statistics-for-tax-ret... in 2020 25 million tax returns had EITC. Per https://www.irs.gov/statistics/returns-filed-taxes-collected... in that same year there were about 150 million total "individual, estate, and trust" tax returns. So at least 1/6 of individual tax returns (more to the extent that trusts exist) could not have been correctly done with the information the IRS has.

And as I said, the vast majority of people who paid for child care would need to correct whatever number the IRS came up with for that.

Now I agree there are lots of people (healthy retirees, young college grads with no kids) who probably _could_ have their taxes done by the IRS entirely. And I'm all in favor of that happening, as long as we're clear that this is not going to reach everyone, and will generally benefit the people who are in the best position to navigate the current system already....

Which brings us back to reducing the underlying complexity, so the IRS could handle more cases itself.