skysight-inc/HackerNews huggingface dataset:
I don't have any experience with this project, but I know a lot of panics in my Rust code look like this (you probably know this already, just setting up a question):

fn foo<T>() -> Option<T> {
// Oops, something went wrong and we don't have a T.
None
}

fn bar<T>() -> T {
if let Some(t) = foo() {
t
} else {
// This could've been an `unwrap`; just being explicit here
panic!("oh no!");
}
}

A panic in this case is exactly like an exception in that the function that's failing doesn't need to come up with a return value. Unwinding happens instead of returning anything. But if I was writing `bar` and I was trying to follow a policy like "never unwind, always return something", I'd be in a real pickle, because the way the underlying `foo` function is designed, there aren't any T's sitting around for me to return. Should I conjure one out of thin air / uninitialized memory? What does the kernel do in situations like this? I guess the ideal solution is making `bar` return `Option<T>` instead of `T`, but I don't imagine that's always possible?
Leading also to an increase in rate of suicide compared to placebo, and arguably increased homicide as well; guns being the misdirection narrative.

Edit to add: Downvotes even though in 2015 the FDA required "black box" suicide warnings on SSRIs because what I'm saying is true?
> "Your service is not allowed in the US because there's not enough boobies in it"?

No, the service will apply the filters and moderation tools to users from any given country separately. If the law in the US allows enough boobs and the US users post boob pictures, that's totally that legal ecosystem and userbase's thing.
I bought the founder's edition Stadia hardware and I'm thrilled with what I got out of it, personally. I got a free game system for years since they are giving everyone refunds. Played several AAA games I had no access to otherwise. Still going to have the, now free, Chromecast Ultra 4k with ethernet cable power adapter afterward too. It works fine even if I don't pair Stadia controllers with it.

This Ubisoft initiative to transfer licenses to PC is actually worthless to me since my PC doesn't have a GPU capable of playing games anyway and I have no intention to buy one.
No, the reason Rust was developed (with regard to that aspect) was that the necessary static analysis is enforced by the compiler if it is built into the language, whereas otherwise (if not built in) it empirically doesn’t get a lot of adoption. There’s nothing Rust’s static analysis is doing that couldn’t be done with the same semantics using an external static analyzer and linter annotations.

The ideas of Rust weren’t new when Rust was developed. The actual integration into a new programming language beyond experimental status was, and the combination with ML-style functional programming.
I like the vision, already in many cities I have ridden in here in the US there are attempts to gradually achieve something similar (though I find that bike streets don't announce themselves very well, so I often see new riders on busy/bad roads when there's a much nicer designated alternative just a block or two away, if only they knew). As for the pickup trucks, just removing the subsidies from gas prices will make them fade away pretty quickly I expect.
I think it's obvious that Linus is correct here.

For example, say there's a bug in the Linux kernel that would produce a "panic" at midnight Dec 31st 2022... do we accept a billion devices shutting down? In the best case rebooting and resuming a whatever user space program was running?

Despite the bad taste, I think the obvious answer is as Linus says: the Kernel should keep going despite errors.
I guess I don't see any misconception as the title implies. Most people I know see Lua like a toolkit. A toolkit that is cavernous, and if you use it say, as a way to manage your UI in a popular MMORPG, you could risk it's misuse compared to something more domain specific, (as we've seen with WOW RCEs over the years).

To be clear, I'm not making a case against using Lua, just sharing that the developers I know see Lua as a toolkit as the author describes (outside of the title irking me a tad I found the details insightful and enjoyed hearing someone's perspective of using it for projects).
That's just not true they have been showing videos at all steps along the way, from WAY before they were at the level that the Tesla bot is now
Why is quitting or finding another job NOT any option?

Can you put effort into questioning that baseline assumption?
Probabilities? Why do you need to bring those in?

Percentages are just a way of writing rational numbers. Bread recipes are expressed effectively as 1 part flour to n parts of each ingredient. But since n in that formulation is usually a value less than 1, expressing that number as a percentage is convenient. Percentage notation seems completely appropriate for this usecase.

So 60% hydration means 1 part flour to 60% of 1 part water, i.e. to .6 parts water.
The question of whether certain research should be banned because of the potential outcomes is one with deep philosophical roots and the basis of much science fiction. The 'just because we could do something, doesn't mean we should' question. I don't think there is a single absolute answer to this, as context matters.

What I do see is a long history of race-based 'science' being used to justify some pretty terrible policies and laws.
This, at $500, stretches even my credulity, even as a collector of books, lover of bread, and owner of books about bread.
I mean yes, I didn’t think about that, but the meat and potatoes is - if you look at my IP you can see I log in from 2 devices, my PC and my phone both in Canada, I was able to go in and appeal it, and saw that the login was from somewhere in China. Almost 5 hours after logged off.

They say “we have no way of proving it wasnt you”

Yes you do - logged out in Canada at 1230am my time, logged in at 523am my time in CHINA, attempted log in at 8am my time in Canada.

Was hoping to find help here, but so far nothing, but I do appreciate that people are understanding, gonna keep trying to get support to answer my emails!
Why does the total have to be 100%?

Do all fractions have to add to 1?
Make your statement "This ain't got nothin' to do with that malarkey!" and move on, there's no need to throw a tantrum and take your ball and go home. It's like a conflict of interest statement, "yes" or "no" are both acceptable answers, just say something.

For others who view this DEI addition as positive, it gives them an explicit place to call out areas of focus. For people who are looking for DEI-impacting work it's a much simpler filter than abstracts or full papers.
I am an Indian, and I share this feeling. We have some very good writers and lots of mediocre ones, not to comment about this particular post, which i have not read. Anyway, Indian schooling does not focus on writing as a skill, as much as they do on math and science.
The virus dies within a couple of minutes due to the heat.
I'm a layman but to me its about optics when Toyota doesn't have any EVs but is spending money on hydrogen development, and the aeons-old Prius. Most people are convinced that gas vehicles are not the future, and that renewable-energy powered personal vehicles and mass transit are.

BMW and Toyota just look like they got caught with their pants down by not having appealing vehicles, and other companies are now stealing their lunch. On top of that, Toyota has had some shady business too: https://cleantechnica.com/2021/07/30/toyota-actively-lobbyin...
Mostly I am just disappointed that very-smart people don't realize that such idiosyncratic decisions require a strong defense to get other people to believe in them. It doesn't seem reasonable to say "this is our serious plan to fix the internet, and also here's our ridiculous approach, sound good?".

If it's a serious plan with seriously dubious components, it needs a real defense. "Sometimes you need to build new languages from scratch" isn't a defense -- certainly not one that is proportional to the dubiousness of the plan.

https://developers.urbit.org/reference/hoon/overview has a lot of justifications that ... don't land. They're valid reasons to _consider_ doing what they've done, but on net, I just am not even slightly convinced that it's a tradeoff that is worth it. Especially the tradeoff of "not only should we make our own weird languages, we should make them totally obtuse to read and write, just for fun'. It is clearly not the tradeoffs a person trying to make a successful project that attracts developers would make.

I suppose I have an axe to grind with apologists for this because I think it's a shame they aren't putting their efforts into something with a better chance of succeeding, since I agree with their goal but not their plan for getting there.
What does school have to do with anything? In a short time they have made tremendous progress which will obviously only continue.
Liu Jingyao – Liu Qiangdong: Chinese billionaire sex assault case settled in US
> Hi. I’m an artist. I have spent most of my life practicing my
craft. I think that until we have abandoned the concept of “working
for a living”, this line of thought is a bunch of wankery.

If you seriously think that the deepest spiritual questions of
why we create are "a bunch of wankery" then you are no artist.
A producer of things, maybe. A very successful producer of
wonderful, beautiful and desirable things perhaps.

But not an artist.
It probably wouldn't be considered "inalienable"... I don't think eliminating it is the answer; some form of Copyright should probably exist. Maybe it would be appropriate to have shorter default Copyright durations overall and allow people to apply for longer terms if they think the work is particularly novel.

Something doesn't sit right with me when the same legal system supports these two different scenarios:

1) I find land or buy land and occupy it indefinitely as my property with exclusive use rights

2) I create something new using my creativity and have little to no rights over its exclusive or non-exclusive use

Why would I not control something I create when practically most other ownership rights are based on a first-come-first-served basis? Clearly if I created something, I came to it first.
I don’t know who’s right here but copyright constantly stops me from creating art.

I would probably only hang it on my own wall or sell 25 copies in a cheap zine but I’m terrified someone will sue me. So, I don’t create art that I envision. Maybe the world is better for it; maybe it’s worse.

One of my recent art projects was to create a series of images in the CGA palette of the 1980’s but using images of modern technology. It would probably end up very similar to this example. I’ve spent tens of hours trying to perfect the look I wanted but I abandoned the idea because capturing my own images is impossible in some cases that I can imagine.
Can you have an accent in sign language? Might someone from New York sign differently than someone from Los Angeles?
This is cute, but not useful as deaf/mute people can read. Also, doesn't translate properly (remember, different countries tend to have different sign languages).
Well what if the artist has a popular self portrait?
Apple wouldn't be allowed to release the feature in the States if it circumvented meaningful domestic surveillance capacities.
Kawa (like Clojure) runs on the JavaVM, but has a longer pedigree (from 1996), good compatibility with standard Scehemes (including R7RS), and has a stronger emphasis on performance: It has optional types and semi-decent type inferance so it is easy to write code as performant as Java. It also has fast startup, and is unopinonated on how you run and bundle applications: it generates pretty vanilla class files that interoperate with Java easily. See https://www.gnu.org/software/org and https://gitlab.com/kashell/Kawa
They are terminating TLS.
So you clearly didn't watch it at all because that's exactly what it did.
> But that will also give a precise error location, which makes reporting and fixing of the root cause easier. It could be harder to pinpoint of the code rolled forward in broken state.

I think you must have missed out on how Linux currently handles these situations. It does not silently move on past the error; it prints a stack trace and CPU state to the kernel log before moving on. So you have all of the information you'd get from a full kernel panic, plus the benefit of a system that may be able to keep running long enough to save that kernel log to disk.
When the CVEs appear in Rust, they use that as proof that their technology is better because they found those errors. Or, those were just unsafe and therefore not "real" Rust.
The problem with #3 is not really about C vs. Rust, it's about modern optimizing compilers (including GCC). A compiler is allowed to assume that UB simply won't happen, so it makes no guarantees whatsoever about what happens if UB is ever hit. It's not "return a random value", it really is "all bets are off". There is no guarantee that you manage to "limp along" in any reasonable sense, let alone report the failure. That's what "panic and recover" mechanisms are for, and yes even the ? operator in Rust can be seen as such a mechanism.
I would skip the artificial vitamins and see if it makes any difference (I doubt it).

I rather would go with cold water shower/bath after the sauna and healthy food for vitamins in general.
Their efforts should also allow you to transition to GeForce Now or other cloud gaming providers, so it's definitely not worthless.
Tesla delivered 343,000 vehicles in Q3 2022
I had this is a huge way with my previous employer. Everything about the code base was terrible, every choice that could be made along the way was the wrong one. Even the (CVS) tagging strategy for releases was just horrible. I really dreaded getting up in the morning because I knew the entire day was going to be a slog through the mud of bad design and worse code.

I'm way happier now, working for a company that has thoughtful people doing the bulk of the design work.
I think it’s probably split on which party you vote for.
> but the housing shortage is now Canada wide, throughout jurisdictions

Yes. That's what I mean by "systemic" too. The housing policy problems are a result of incentives and the same incentives exist across municipalities in Canada. Municipalities also don't exist in isolation; for example as Vancouver prices out people they move to nearby areas like Kelowna and exacerbate the problem there.

It's not a simple matter of efficiency. The bureaucracy is a symptom of the incentive structure. Councils have the vast majority of control over new buildings and they're not incentivized to approve them. Councils are mostly homeowners and are voted in by mostly homeowners, who mostly don't want to see their neighbourhoods change or the price of their single detached homes decrease.
The phrase "half-assed job" must have come from somewhere.
Google AI Introduces ‘TensorStore’
Fads, noise vs signal ratio, paradox of choice, economical pressures, culture wars, value signaling taking over, incentives to bs/fake, sea of unskilled juniors, higher customer expectations, everything talks to the networks, OSes vendors policies, legacy everywhere, faster path of technical change, legal and corporate contexts...

Also if you start today, you gotta learn some part of the pyramid your abstractions stand on, and that's growthing work as time passes.
The harsh truth is that you need to think about every single case of failure, and decide what to do when things go south.

If you look at how POSIX does it, pretty much every single function has error codes, signaling everything from lost connections, to running out of memory, entropy or whatnot. Failures are hard to abstract away. Unless you have some real viable fallback to use, you're going to have to tell the user that something went wrong and leave it up to them to decide what the application can best do in this case.

So in your case, I would return Result<T>, and encode the errors in that. Simply expose the problem to the caller.
Gyms usually have it. Most 24h Fitness Super gyms have it. Check out the gyms' websites.
Same. I was pleasantly surprised by the simplicity of the math and the usefulness of it.
This was also my experience in Finland. There were warning signs in some rented sauna’s for jumping into the snow or water after a sauna for people suffering from cardiac problems.

No note about sauna use in general.
think the rise of the metacreators in software contributes to a lot of noise which indirectly makes things difficult

lot of people with large followings espousing opinions and practices when they hardly spend time shipping product. this makes it hard, for even someone senior and experienced, to know what they should pay attention to. sometimes it feels like you should pay attention to things you fundamentally know doesn't make sense. and a lot of energy goes into unwinding mainstream rhetoric

I cite this as difficult because while most of the other hard parts of software are enjoyable, this one is just an energy suck
No wifi damns the premise completely, wifi is so ubiquitous that it has become synonymous with internet access itself. Cafes and hotels advertise having "wifi", not "internet access". College libraries label ethernet cables as "wifi cables" so that young students understand their purpose. The average laptop on the market doesn't have an ethernet port, nor do any of the low power tablets/phones on which Stadia might otherwise make sense.
I believe it boils down to hasty generalization, where you only recall (or are aware of) a few particularly noisy Rust users and take them as a representative of all Rust users. This kind of stereotype is unfortunately very hard to break.
People are fleeing Puerto Rico, Guam and every other U.S. territory. What gives?
I'm not sure what he's trying to say here. Is he saying code that's run out of bounds of memory should continue on into la-la-land?
Monster Energy wins $293M false-advertising verdict against rival Bang
In a similar vein: https://www.jeffbridges.com/
> The transfinite recursion form (Tx,y , z)(c, d) has not yet found any applications in programming.

Has it found any applications in the intervening 40 years?

Edit: a more approachable exposition is on p43+ of https://www.cs.tufts.edu/~nr/cs257/archive/per-martin-lof/IT...
> The point is, countering negative ideas with suppression does not work.

This is the core of your argument, and if true, it’s unassailable. However, I don’t believe it’s true. Do you have evidence that it is? I don’t mean well-crafted arguments by respected people, but actual evidence.

For my part, I’ve seen evidence to the contrary. Elsewhere in this thread, there’s a study that cites the positive benefits of deplatforming on Reddit. I’ve also observed that online forums invariably turn into cesspits if they aren’t moderated. The larger the forum, the more aggressive that moderation has to be, to the point of banning and shadowbanning. HN does it. (For that matter, downvoting is another form of deplatforming, in that it literally pushes other people’s opinions out of sight.)

So there’s two points of evidence that make me believe that deplatforming is effective: one is academic; and one is the personal observation, that I think we’ve all shared, that moderated fora work better than unmoderated fora. What evidence do you have? Please summarize rather than just posting links.
Also a common maneuver in Ace Combat, speaking about fictional uses.
Living in the suburbs seems pretty equivalent with this lack of experience phenomenon, just basically a lack of association with other people and experiences. He even explicitly mentions PTA meetings and "Live Laugh Love" signs, which are both pretty associated with white picket fence Americana.

Maybe there's a lot of people living in Manhattan whose main concern is their 4th graders position on the football team, but I somewhat doubt it
Ask HN: Who would be interested in a browser extension for fast video upscaling?
Just asking, I didn't develop anything yet.

It would allows you to turn a 360p video into a 4k video on the fly for example.
It would fill also the black bars in vertical content or if you have a wide display. (Probably with something like stable diffusion)

Do you have any recommendations?

What would be the ideal ux and do you guys have any idea whether this is even possible with current technology?

What amount would you be ready to pay if any?
This was an interesting study:

https://jamanetwork.com/journals/jamainternalmedicine/fullar...

I've always wondered if you can get the same benefits from hot tubs, and maybe even hot showers.

Additionally, things happen in cold too - wonder if cold showers can release these, and at what temperatures /durations. (people have easy access to cold showers)
> Static analysis (Clippy) can get you pretty far.

What's funny about this is that (while it's true!) it's exactly the argument that Rustaceans tend to reject out of hand when the subject is hardening C code with analysis tools (or instrumentation gadgets like ASAN/MSAN/fuzzing, which get a lot of the same bile).

In fact when used well, my feeling is that extra-language tooling has largely eliminated the practical safety/correctness advantages of a statically-checked language like rust, or frankly even managed runtimes like .NET or Go. C code today lives in a very different world than it did even a decade ago.
Couple options:

1. Have a constraint on T that lets you return some sort of placeholder. For example, if you've got an array of u8, maybe every read past the end of the array returns 0.

fn bar<T: Default>() -> T {
if let Some(t) = foo() {
t
} else {
eprintln!("programmer error, foo() returned None!");
Default::default()
}
}

2. Return a `Option<T>` from bar, as you describe.

3. Return a `Result<T, BarError>`, where `BarError` is a struct or enum describing possible error conditions.

#[non_exhaustive]
enum BarError {
FooIsNone,
}

fn bar<T>() -> Result<T, BarError> {
if let Some(t) = foo() {
Ok(t)
} else {
eprintln!("programmer error, foo() returned None!");
Err(BarError::FooIsNone)
}
}
When I tried to just swap it it wouldn’t authenticate the number, so I had to disable it, and then try to re enable it. For reference my password was very complex, if you saw it you’d think I smashed my head against my keyboard and went “there it is”
Apple SIM No Longer Available for Activating New Cellular Data Plans on iPads
All this safety, as Linus points out, is safety for plain programs, but a complex of serious problem for the kernel. "Safe languages" are only safe up to a point and in context; Rust has clearly been designed to write safe applications, not safe kernels.

So if some enthusiasts are trying to use Rust at cross purposes for Linux they are likely to appear obnoxious and entitled, and it is perfectly right to challenge them to prove that they can make Rust suitable.

There's more high quality and polite preaching earlier in the thread, for example:

> Please just accept this, and really *internalize* it. Because this isn't actually just about allocators. Allocators may be one very common special case of this kind of issue, and they come up quite often as a result, but this whole "your code needs to *understand* the special restrictions that the kernel is under" is something that is quite fundamental in general.
> not useful as deaf/mute people can read

Not all of them can: that's why accessibility is important.
Okay, just to fact check this. I am a fan of Rust, but pretending there aren't these aggressive rust users is a bit putting your head in the sand.

Like any language that has very cool features, there are people that take that tool as not a tool but a religion.

You can even look in my comment history and see people arguing with me when I say I was a rust fan, but memory safety isn't a requirement in some areas of programming. One person made it there mission to convince me that can't possibly be the case and in (in my example of video games) that any memory bug crashes and game and will make users quit and leave.