Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

In Rust, error handling is opt-out, not opt-in. Alice Ryhl (Rust for Android at Google, Rust language advisor & Tokio maintainer) explains: “The other thing I think is quite good is error handling. So on one hand, Rust doesn't really use exceptions, so it actually returns the error as...

52,059 Aufrufe • vor 1 Monat •via X (Twitter)

0 Kommentare

Keine Kommentare verfügbar

Kommentare vom Original-Post werden hier angezeigt

Ähnliche Videos

Two years ago today, Elon Musk introduced xAI with these words: “The overarching goal of xAI is to build a good AGI with the purpose of trying to understand the universe. I think the safest AI, the safest way to build an AI is actually make one that is maximally curious and truth seeking. So you go for try to aspire to the truth with acknowledged error. Does one ever actually get fully to the truth? It's not clear, but one should always aspire to that and try to minimize the error between what you think is true and what is actually true. My theory behind the maximally curious, maximally truthful as being probably the safest approach is that I think to a superintelligence, humanity is much more interesting than not humanity. One can look at the various planets in our solar system, the moons and the asteroids, and really probably all of them combined are not as interesting as humanity. As people know, I'm a huge fan of Mars, but Mars is just much less interesting than Earth with humans on it. And so I think that that kind of approach to growing an AI, and I think that is the right word for it, growing an AI is to grow it with that ambition. I've spent many years thinking about AI safety and worrying about AI safety. And I've been one of the strongest voices calling for AI regulation or oversight just to have some kind of oversight, some kind of referee, so that it's not just up to companies to decide what they want to do. I think there's also a lot to be done with AI safety, with industry cooperation. I kind of like Motion Pictures association, so I think there's value to that as well. But I do think there's got to be some like in any kind of situation that is, even if it's a game, they have referees. So I think it is important for there to be regulation. Like I said, my view on safety is like try to make it maximally curious, maximally truth seeking. And I think this is, this is important that you to avoid the inverse morality problem. Like if you try to program a certain morality, you can have the, you, you can basically invert it and get the opposite, what is sometimes called the Waluigi problem. If you make Luigi, you risk creating Waluigi at the same time. So I think that's a metaphor that a lot of people can appreciate.”

ELON CLIPS

21,519 Aufrufe • vor 1 Jahr

“What did you think of Lando being booed at race because people and I've seen it online as well say he doesn't deserve the title because McLaren favored him over his teammate. Do you think that's total nonsense?” Jacques Villeneuve: “That's a little bit ridiculous. When there was some booing in some races, that was embarrassing. You should never boo a driver that's clean, doesn't do anything dirty, on track is respectful, and on top of it is super fast. What's wrong with people? That was embarrassing. And, had it been that Piastri was a second a lap faster than him and somehow Lando was winning because a lot of things were happening, his car breaking down every time, then you could start thinking, okay, that's really not cool. That's not fair. But that wasn't the case. And in the second half, Norris has been faster right at the beginning as well, last year as well. So there's this whole middle of the season where Piastri was driving a lot better than Norris and was getting the points. Norris had an engine blowing up, not Piastri. And so those fans, they don't look at that either. You have to look at the whole picture, at the whole season. And suddenly if your favorite is starting to go backwards, you just got to bite the bullet and accept it. Your favorite is just going backwards. That doesn't mean that the other one is treated better or the other one is undeserving just because the one you're a fan of is not winning right now. That’s really wrong. If you're a fan of the sport, then you have to be a fan of the sport and understand when your driver is maybe not cutting it at this point in time, even though he was before and he will in the future again. It's all a question of timing. But that's the price we have to pay now with social media and how big F1 has become. It's very passionate. The people are passionate and once, you know, fans come from fanatism, you stop thinking, when you get in that mindset and it happens to all of us. You want something so much that you get attached and you cannot - it's hard to start seeing reality. So you will try to mold the reality to your thought process and if your champion is not winning then it cannot be his fault. It has to be something from the outside. It has to be the team destroying his chance or not favoring and so on and so on and so on. But there's nothing concrete behind those comments. It's pure fandom and it'll always be like this. And ultimately it's not a bad thing. You know drivers at that - sportsman at that level have to grow a thick skin. If not, you don't deserve to be there. You just have to have a thick skin because they're all very happy to get the compliments. They love it when it's just positive, but it gets balanced out with negatives and you need to be able to take and accept the negatives as well. It goes both ways. You cannot have the good. You just have to be a thick skin and know that it's part and parcels of what's going on. And in one month, it will be forgotten and maybe everything will change and it be the other driver that suddenly will be criticized and so on. So, it's just that's just the way it is.”

naenia ¹ ⁶³

29,833 Aufrufe • vor 6 Monaten

"Courage is far shorter in supply than genius." - Peter Thiel "One of the challenges in writing a book about entrepreneurship or teaching a class on this is that there is sort of no formula. And I think science always starts with a number two. It starts with experiments you can repeat, things you can do over and over again. But there's sort of a sense in which every moment in the history of business, every moment in the history of technology happens only once. The next Mark Zuckerberg will not be starting a social networking company. The next Larry Page will not start a search engine. The next Bill Gates will not be starting an operating system. And so if you are trying to copy these people, you're in some sense not learning from them. And so I think one of the really big challenges in teaching or writing about entrepreneurship is what can you say about being an entrepreneur at all when the key thing is always to do something new, different, that's not precisely been done before. And so the point of departure I start with in Zero to One is a somewhat indirect approach by asking a series of contrarian questions. The business question is, what great company is nobody starting? The more intellectual version of this question is, tell me something true that very few people agree with you on. And this is a fantastic interview question. It turns out to be quite a hard question, even when people can read on the internet that you ask of everybody who comes in the door, it still is a hard question. It's one of those unusual questions where if you know it's on the test, it's still hard. And it's hard not just because we sort of think that new things require brilliance or something like that, but because it's socially difficult. If I ask you that question, if you tell me something like the education system is screwed up or our political system doesn't work very well, those are true answers, but they're not actually good answers because all of us already know them to be true. The good answers are ones that are somehow uncomfortable that the person interviewing you does not actually want to hear. And I think we live in this world where courage is in far shorter supply than genius. And so it is sort of this, it is in a sense this problem of political correctness properly understood, is this very deep, very, very broad sort of a problem."

Founder Mode

12,339 Aufrufe • vor 5 Monaten

Why is Rust different than many/most programming languages? Alice Ryhl works on Google's Android Rust team, is a Rust language team advisor, and is a core maintainer of Tokio (the most widely-used async runtime in Rust) Timestamps: 00:00 Intro 04:09 Tokio: an overview 05:11 What Alice likes about Rust 12:48 Rust for TypeScript engineers 13:51 Moving from C++ to Rust 14:34 Memory safety 18:12 Garbage collection tradeoffs 21:46 Ownership, references, and borrowing 26:59 Unsafe in Rust 31:21 Crates and Cargo 35:55 Language design and RFCs 43:02 Building new features 46:30 Editions vs. versions 49:47 Getting paid to work on Rust 51:27 Contributing to Rust 53:03 Rust in the Linux kernel 55:45 AI use cases for Rust 1:01:35 Learning Rust 1:03:54 Book recommendation Brought to you by: • Antithesis – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. • Sentry – application monitoring software considered “not bad” by millions of developers Three things worth knowing about Rust: 1. Rust was designed to turn implicit failures into compile errors. Where other languages allow you to forget something, Rust makes an omission into a compilation error for things like null checks, uninitialized variables, or error propagation with the ‘?’ character. If you mess something up, it’s almost certain your program will not compile. If it does, at the very least you should see a lint warning. 2. Refactoring in Rust is safe and easy, thanks to the compiler. Alice: “I change a return type or struct field, then just fix the compiler errors until the compiler stops shouting. And then once I’ve done that, I’ve updated every place I need to update.” Rust’s focus on correctness makes refactoring it more straightforward than dynamically-typed languages and Java-style typed ones are to refactor. 3. “Editions” allow Rust to make breaking changes without ‘breaking’ anyone’s code. Rust editions (2015, 2018, 2021, 2024) can be mixed freely across crates. A library on the 2021 edition works seamlessly with a binary on the 2024 edition. This is how Rust evolves syntax (like adding async/await as keywords) without forcing an ecosystem-wide migration. Thanks a lot, Alice for this great discussion! And for your work on Rust.

Gergely Orosz

51,575 Aufrufe • vor 1 Monat

EVERYONE needs to be aware how SIGNIFICANT the Wisconsin Supreme Court election is This election decides who controls The House of Representatives and Voter ID Elon Musk “The single biggest challenge, I think is actually just making people aware that there is this very important election. There's both the very important election for Judge Schimel as well as the deciding on, on adding voter ID to the Wisconsin Constitution institution, which is very, very important. So it's quite shocking ,you can sort of tell where voter fraud is happening, where they ban id, you know, like why would you ban, ID like in New York and California, it's like illegal to show idea at an election. Well, why would, I can't imagine why that would be the case…. So, two really important things is to ensure judicial integrity on Tuesday and then the voter ID thing It's April Fool's Day. So I think most people aren't aware, like I said, most people aren't aware that there is this important election, but there most people don't even know that there's an election at all. Or if they do, they aren't sure exactly when and where it is. — They don't realize just how important it is. They think it, it's, well it's just, you know, some kind of judicial thing that's not that important. But it actually, what they're doing, what's happening on Tuesday is a vote for the, the which party controls the U.S house of House of Representatives. That is why it is so, so significant and whichever party controls the house, to a significant degree controls the country, which then steers the course of Western civilization. So it's like, I feel like this is one of those things that, that may not seem that it's gonna affect the entire destiny of humanity, — it's a super, it's a super big deal. The fact that I'm here in person, like I'm not phoning it in. I'm here in person”

Wall Street Apes

51,269 Aufrufe • vor 1 Jahr

Important: Who is Opposing the UAPDA? "It's staff! And it's like, who elected you? You were not elected!" ~Burlison "I cannot believe that I am sponsoring the language that Senator Schumer also is sponsoring." ~Burlison ~ Burlison: "We're trying to get UAP Disclosure Acts put on the National Defense Authorization Act. We are facing difficulties, and I mean, it's so frustrating, because it's not members [of Congress]. I don't, at least, if it is members, they're not coming to me and saying, 'Hey, I'm not allowing your amendment.' "It's staff! And it's like, who elected you? You were not elected!' I mean, for you to be able to deny an elected official whose...my job is to answer to the people, and you're gonna deny me the ability to get this amendment, at least even offered, is unacceptable. "And so, right now we're trying to get that made in order, so that when it comes to the floor, at least we get an opportunity to have a vote on the UAP Disclosure Act! And then you'll know who supports it and who doesn't. "But I've gotta get the Intelligence Committee to approve that. And, so any help, André Carson, would be greatly appreciated. If you could lean on our chairman and others, that would be fantastic, but we've gotta get it made in order. And if we get out of the House, I think that we're halfway there. "And then we'll...I think we've got allies in the Senate, whether it'. And I cannot believe that I am sponsoring the language that Senator Schumer also is sponsoring (laughter and applause). But what's right is right, and truth is truth. And we're all Americans, and that's why this is such a common-sense thing. And the only thing that's gonna stop it is these staffers who are killing things behind the scenes in the cover of darkness. And so, that's what we're facing right now, so your help getting vocal on this is probably the only way we're going to get it done."

Joe Murgia

11,580 Aufrufe • vor 15 Tagen