skysight-inc/HackerNews huggingface dataset:
It's not like exceptions because it's not used like exceptions. You only use panic if you want to crash the whole program. If you don't want to crash the whole program, you don't use panic. You do not want to crash the whole program if the user data failed to validate, so you do not panic in that case. If a library panics on invalid user data, that's a pretty serious bug.

I've been programming in Rust since it came out, and a couple of those years professionally, and I don't think I've ever seen anyone use catch_unwind. Maybe once in a test case?

To be concrete, let's talk about an example of a panic. Say you want to access the 3rd element of a vector. There are two cases:

1. You're not sure whether the vector actually has three elements on not. In this case, you call `my_vector.get(2)`, which returns an Option, and you handle the case where it's present and the case where it's not. This is standard error handling.

2. You are sure that the vector has at least three elements. Perhaps you just checked its length for some other reason, or you are careful to maintain this invariant, or you just constructed this vector by pushing 5 elements onto it. In this case, you would typically use `my_vector[2]`, which panics if the vector is too short.

For #2, the thing to notice is that this function literally never panics, under any input whatsoever if it is written correctly. Should that fact really clutter up its type signature, either by forcing it to return a Result type or by forcing it to have a "throws panic" marker?

EDIT: This is for a function that uses a possibly-panicking operation, `my_vector[2]`. There are also the functions that define a potentially panicking operation, like the vector indexing function itself. You could put a marker in the type signature of those, that would be reasonable. Though it would only be for users; the compiler wouldn't care.
That would mean the police actually doing their jobs, though, and they don't feel like doing that.
Asking prices are just advertising to get your foot in the door. If an asking price of $1 were to start a bigger bidding frenzy than one that's 30% underpriced, sellers would list homes for a buck.
> You can speak for $god?

Don't have to. He's been pretty clear about it already (bible, modern prophets, etc).

If faith isn't your thing, science confirms the living humanity of the human fetus. Most of us also have an innate sense that killing one of our own is wrong, full stop. No amount of social or political rhetoric added to the conversation ("but health care...", "my rights...", etc) will change the fact that it's wrong.
By “less”, you can easily buy a house with 3.5% (FHA). The requirements aren’t that strict.
A standard Introduction DSA course will generally not cover advanced DSA stuff like segment trees or Heavy-light decomposition, or theoretical stuff like number theory, or computational geometry all that stuff you would find in the competitive programming space.
I mean - were you working at companies like Amazon before..? That's gonna influence it a lot more heavily than anything else. You can certainly get a job at FAANG without having a Master's degree.
You are participating in the housing market by both owning and renting
I'd rather deal with Australia Post 100 times in a row than ever have to talk to DHL ever again. Those guys really suck.
Oil 0.10.0 – Can Unix Shell Error Handling Be Fixed Once and for All?
Ah thankyou I was looking on his page and could only see Spotify/Apple Podcasts
It is very ergonomic language though, when you consider how much of C++ complexity it manages to simplify.

> I'd much rather these be warnings

Delusional attitude. If it can be caught at compile time it should be; there is no reason to leave it as a warning for programmer to maybe handle.
You can write less garbage in some languages (eg no memory safety bugs in safe Rust), or at least make it more difficult to write that garbage
I don't think the compiler can tell if you are mutably indexing to two different items in a collection like Vec.
We should upload historical artifacts to the Blockchain and they will live forever as NFTs.

Problem solved
Next RFC: replace true/false with nocap/cap
Only if you are on Android using the write to SD storage permission or if you explicitly enabled integration with third party services on iOS. By default the apps (on iOS at least) have their data rather tightly sandboxed.
You are more profitable for them by not watching as much as you used to. The only way your apathy hurts them is if you downgrade to a lower tier of service or cancel it.
“Allow”? Who do you think is the authority here? What means do they have to enforce their judgment?
> Rust is slightly unusual in that most users/potential users of it tend to be very vocal about it.

Or that the only users you know about are vocal…because how would you know about the non-vocal ones?
I agree with a lot of the criticisms of content on Netflix, but I also think that it was necessary. I don’t think it would be possible to pump out only A++++ content to fill their catalog in the time that they have been able to grow their offering. So now that they do have a ton of content, they can scale down new releases a bit and focus on providing better content rather than more content. I think they had to push out as much as they could because of all of the new competition in the area. Now they have a large collection of Netflix originals to keep some subset of subscribers entertained, and going forward they can focus on growing that subset by introducing better quality originals. If they focused solely on quality, a subscriber might only stay for a few months or a year or so before they could watch everything (edit: everything “worth watching”) and unsubscribe. Just my opinion.

Edit2: as part of the growth of competition in this arena, Netflix was having certain shows pulled (an example that comes to mind is The Office)
// we don't need to close wordlist_file
// it will be closed when the variable goes out of scope

AND

// mutex is released here as _guard is dropped

That's a fancy name for good old garbage collector from Java
A lot of things are overvalued relative to the income they can generate. Credit has been cheap and easy so speculation has been rife. That will end.
>The SFPD declarations did not show that any of the defendants has been convicted of selling drugs, possessing drugs for sale, or violating any pretrial stay-away orders.

This is hilarious. It’s literally insane that the SFPD or a halfway-smart DA would think that this would work.

How exactly was this supposed to work? These 28 people could just be arrested on sight? Aside from giving the cops a little dopamine boost by dispensing a ridiculous overreach of power, how would this actually stop the flow of drugs?

If I were one of these big bad drug dealers that terrified the SFPD so badly that they had to beg for extra power to fuck with me more, I’d maybe just sell drugs right outside the arbitrary border. Or just sell drugs to somebody that lives in the TL and is down to resell. Or disregard the order and continue selling drugs wherever. Or set up a drop system.

The police are the biggest crybabies in the world and I’m glad they didn’t get to tremble their liddle-widdle frowns and get to arbitrarily arrest people that haven’t been convicted of a crime.
Guess they already fixed it.
I think you actually hit the nail on the head.

The homeless have always been there, the poop, the needles, and the other trash was less visible - until the plastic bag bans - now there is no ready disposal mechanism.
My abridged professional background:
- Full stack developer for ~2yrs
- >30yrs old
- No college degree
- 13 week full stack bootcamp

My thoughts/opinion:
I absolutely love what we do. I love the seemingly endless depths of new things to learn. I worked closely with a recent 4 year CS degree grad on my team these past 2 years. I have learned so much from him it has truly made me appreciate the foundational knowledge a CS degrees provides. It's certainly not the end all be all, but I feel like it's a pretty good foundation to build your (house of cards)[https://news.ycombinator.com/item?id=31277158]

Financially, I doubt it makes sense factoring cost and time you're not working as a dev. But, if you really do enjoy learning about and writing code, and you have the time and money, I would highly encourage taking that time now for a CS degree and enjoying it!
I’m not disputing your citation. But I believe this is a lot clearer.

https://dqydj.com/household-income-percentile-calculator/
I agree, but there is always a cynical angle to everything.
I honestly feel that whoever complains about MyGov never had to perform these bureaucratic operations in a country like Greece. The fact that one can interact with some of the biggest and slowest-moving agencies in the Australian government from the comfort of their home was mind-blowing to me when living in Aus.

Maybe having to queue up for 3h in the cold to be greeted by a grouchy underpaid public servant that would have you queue up again next week (the Greek experience) until you have to call some person you know to do basic things like renewing your passport has lowered the bar too much for me.

Let’s not forget software is hard in the best of environments and archaic governmental offices and processes aren’t exactly conducive to development velocity and quality
Utterly floored to bring up The Master of Playing Cards at dinner parties.
Show HN: Build your own IPsec VPN server in less than 10 minutes
The only thing I would add to that list is the phenomenon where they list the same movie in 5 or 6 different categories.
I told the kids they aren’t allowed to watch that until they’re old enough to drink. Mostly so they can drink immediately afterward. That’s one of hose movies you really only need to see once, like Schindler’s List.
Base 2048
Our only choices are right or left, so if both are at fault then is it really our choice? On that note, what does it matter there is only 1 bad choice vs 2 bad choices?

Whoever is in charge is preserving this two-party system. We need a better way for minority candidates to get representation in congress, but also a voting system which allows a 3rd party to win.
I enjoy your hot take on Rust, but now I want to hear about what you've seen
I set up my fathers ‘vaccination pass’ a few months ago. I had to link about 4 different services together, prove his identity twice, confirm email multiple times, navigate through the chain of services trying to talk to each other… I’m used to complexity as an engineer and it took me 20 minutes of headscratching to get it working. Insanity
Thanks for this! It's extremely helpful and motivating. Congratulations on your achievement!
Has paying Accenture, Deloitte and IBM tens of millions of dollars ever worked for anyone?
The connection between interest rates and housing prices is weaker than I would have expected (it certainly exists, just not to the extent I imagined) and oddly enough it takes a couple years to show up: https://www.bis.org/publ/work665.pdf

I suppose it makes sense. They say not to spend more than 1/4 (or 1/3) of your income on housing but if a house costs 2/5 of your income you're probably not going to set up a tent and wait for interest rates to come down.
FAA wants U.S. airlines to retrofit, replace radio altimeters
Why are Israeli companies coming to the US to sew an Israeli website that serves Israeli content?
Thanks! I'll look into the program at Auburn.
As the articles notes, some of the people on the "ban list" have never been convicted of something in the first place.
Probably typing on a non english keyboard. When I learned C a long time ago, I read somewhere 'isnt it nice that one doesnt need a lot of keystrokes like for begin and end', and I thought pls give me begin and end instead of this unpleasent slow hand movement.
Here's my favourite example.

We were renovating an old 1920s house and wanted to replicate the timber/wood/plaster look on a wall that needed replacing. The timber was cut to a certain profile.

Went to the local builder supplies and asked about getting some timber cut to the profile of my sample. The guy behind the desk says:

"Whaddya wanna do that for? Just chuck a bit of gyppie up mate, she'll be right!"

Translation: Cover the wall with gyprock (sheet rock for Americans). Don't worry about making it look the same.

It's an attitude, an instruction and a lifestyle rolled into one thing. I got the timber cut somewhere else.
Vectors really don't make linked lists irrelevant - if you want to be able to quickly pop from the middle, no Vec magic will currently help you
No data vendor will give you bulk historical backfills cheaply because then they will be out of business.

I will give you some more names, go pouch a quant or one of their ex-data engineers and maybe you can learn more:

- Bloomberg

- Thomson Reuters

- FactSet

- Refinitive Eikon

There is a reason why so many fintechs are going crypto first. The underlying technology may not be sound but the open business model and accessibility makes innovation a lot easier than dealing with old school financial gatekeepers.
And `unsafe` with `yolo`.
"Just get 20% returns easily" LOL! The fact that you would not only think that type of return is consistent and "easy", but literally think that you should go into debt betting on that, is laughable. If it was guaranteed money, everyone would be doing it.
Do you get the standard reporting error to Microsoft dialog when it crashes? Hopefully someone will be able to look at that. In typical cases only a small summary with the stack is uploaded so your content should not be visible to whoever is looking at the dump.
“Crime Pays but Botany Doesn’t” crosses citizen science with environmentalism
I sometimes state this as, “ask ‘why’ one more time than you think is reasonable. Otherwise known as “Ask ‘why’ until you get tired of it, then ask one more time.”

If you don’t understand the problem you’re fixing symptoms.
I mean, the "use of it" is obvious, it's another protectionist tariff in a long, long line of protectionist tariffs. It heralds from an age where that was much more common, and is an artifact of a long-discredited view of international trade.
TV+ is doing good on its own. CODA, Severance and Ted Lasso are already bringing attention to the platform. Netflix would just muddy Apples image as a high quality brand.
Way back in 2016, I worked on a project for QLD Health, and it was no better than what you just described. Took years off my life, I swear.
> You're basically making it so that people can only visit your site if a third party corporation wants to maintain an account with you.

I don’t know about you but people can only visit my site if a “third party” maintains an account with me… and that third party is my ISP.

The web, even self hosted sites, isn’t some direct person to person contact network. It relies on a wealth of protocols and a community backing it.

Now to be fair, I do upgrade everyone but I don’t do so because of security concerns.I do it because the protocol inconsistency occasionally shows up in my logs, and sometimes browsers block APIs based on if you are HTTPS or not. It’s be nice if they didn’t but browsers are yet another third party in between my severs and my end user.
Not if you've legacy apps using pandas everywhere.

Same API means I can import polars as pd and be done with it.
By having homosexuality violently oppressed, ostracized and ridiculed in the past, and slowly reversing that attitude towards it? People were literally criminals for loving people of the same sex...
Little Andy we call him.
Ah, I had never heard of sieve, I'm grateful you pointed me to it.

> I would love somebody to write up seive and how to use it with the majors.

By this, do you mean write it up for the major social networks, like Facebook, Twitter, LinkedIn, etc?
Can someone fix the typo in the title? Deliverr (with e), not Delivrr.
That comment is a joke. SmartCompose does not use a Markov Chain, it is either still an LSTM or got upgraded to a small transformer based model.
I hear ya, me too. I love them, not for everything, but to just have some level of control on my attention. I use a ton of them on Fastmail.
Altoona area. Some places in Woodstock. If you're willing to commute from Canton, it's got some great options too.
I don’t want to make assumptions about how you use the services in MyGov, but the experience of my family and friends has been that, if you require any service which is at all out-of-the-ordinary or needs a pair of human eyes looking at it (whether or not it should - there are plenty of broken processes at Centrelink, some might say that’s by design) then you need to make a phone call, because the function to perform self-service is simply not there. I have also had fairly good experiences with MyGov - but my interactions with social services are fairly boring compared to the needs of many people.

Edit: the problem here of course is that if you make a phone call you can expect to wait in a queue for many hours.
I wrote my own file watching utility for macos: https://github.com/drpriver/macwatch

does a similar thing.
I was told that middle class in the US is the class that owns tools that they use to augment or repair their home, whether owned or rented. Poorer and you don't have time between jobs to do it or the spare income for the tools, so it doesn't get done. Wealthier, and you just hire it done, because it isn't worth your labor rate.
I think the biggest factor whether or not prices have room to fall is how built out an area is to its zoned capacity and how many jobs there are in the given metro area. Job growth incurs population growth with incurs development. Development will continue if there is sufficient population demand. In cities like LA, job growth has triggered huge surges in the population over the past century, and in turn this triggered development to the limits of zoned capacity. LA is 92% built out (1). In other words, all the low hanging fruit of how much can actually be built has been built already, and what's left in that 8% are probably the edge cases that for one reason or another have been picked last by developers for development because they are not going to very easily receive financing by lenders who are going to want to see penciled out and sound business plans before loaning money, not the crap in the remaining 8% of zoned capacity that is hardly going to generate a profit.

In order to stand a chance of working our way out of this, we need to make it easy to build in terms of what happens at city halls to make more supply increasing projects viable in the eyes of lenders. We need to increase the zoned capacity of our job centers so they can actually support the workers they employ versus force the lowest earning workers to far flung commutes or into living multiples per bedroom. It's like a law of physics. Make it possible for developers to build and supply will expand like a gas to fill available zoned capacity until demand incurred by labor are met, and prices should not appreciably rise if there is no need to enter bidding wars far above ask.

1. https://la.curbed.com/2015/4/8/9972362/everything-wrong-with...
Ah nice, do you think you might use them if something similar were available on a Twitter or FB (or whichever social platform you use)?
I wonder if the US government secretly did this, too. We may never know.
exactly. They lose the trust of subscribers. What happens then is that no one wants to watch a new show because it's going to get cancelled. So people wait until more seasons or the show is entirely out. Which is also increasingly common. People are getting tired of waiting a year between seasons, when there are entire complete shows they could binge watch right now. So they wait. Which means Netflix never sees the season 1 viewers they need.

Some shows just don't hit their stride until two or more seasons in. Parks and Rec had a really rough first season.
Most of it. Some of the Australian contracting companies some government projects are handed to use external contractors themselves to varying extents. Though I do believe it isn't that common as IIRC most contracts explicitly disallow it.
This just seems to reinforce the notion of "possession is 9/10ths of the law". I'm not saying she should keep it, but it's not obvious who it "belongs" to.
Highly dependent on the area. If that city is say Indianapolis or Toledo it would easily pay all your bills and buy you a house. If that city is San Francisco it's enough to buy some lube for the moonlighting profession you'll have to do to make rent.
The Bay Area wasn’t the economic centre it is now, then. It was closer to a boomtown, and even that effect was constrained.
There may be some truth in the "too woke for normie crowd" allegation.
Earlier this year, much before the bad news went global for Netflix, Reed Hastings said this about experience in India during an earnings call:

"The great news is in every single other major market, we've got the flywheel spinning. The thing that frustrates us is why we haven't been as successful in India. But we're definitely leaning in there,"

The general opinion in India is that unlike Prime Video India and Disney Hotstar (Disney Plus' Indian avatar) which created a lot of good local content which served the interest of masses and hence achieved success, a lot of Netflix' local content mostly served the tastes of a sub-segment of the well earning, well traveled elite crowd (read "woke") from the bigger cities like Mumbai, Delhi and Bangalore. Apparently this was because the local producers came from the same group and were not tuned to the tastes of the country at large (or even the affluent segment at large). Many of them have since been fired and Netflix India has also gone ahead and reduced monthly subscription for the standard plan to only INR 199 and a new mobile only plan for only INR 149 (~ USD 2). Has not made much of a difference in the past few months though.

Ref :

https://www.bbc.com/news/world-asia-india-60108294

https://www.moneycontrol.com/news/business/netflix-slashes-i...
not just them, look at "thousand and one nights", but not at an adaption, look at something close to the original, these used to be very cruel, also the old Russian folk tales used to be quite cruel.

I think they all used to live in a very different reality, with people dying at an earlier age and much more often then they do now. Also infant mortality was much much higher in the olden days; it was a scary time, altogether.

The olden days didn't have the luxury of clean water, antibiotics and food plenty. These are quite recent inventions...
Both the price of land and the amount of land you need per unit of housing have some serious fairness problems right now.
I get that he had to eat, but it is a little lame that he only posts stuff when he has a book to advertise now.
> The mistake these courts are making is thinking that the punishment is meant for the individual committing the crime ONLY. In fact, it is a deterrent for OTHERS to think twice before attempting a crime.

That's not a mistake they are making, because:

(1) No one was convicted of a crime, so there are no “criminals” involved, and

(2) It doesn't make deprivation of rights without legal basis acceptable that it is done to deter people other than those being immediately deprived of rights.

> Rulings like this will have a very predictable outcome

Yes, and that outcome is “law enforcement will need to charge people with crimes and prove them to the criminal standard of ‘beyond a reasonable doubt’ before depriving them of liberty on the basis that they are criminals.”