Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Makes no sense (Score 1) 24

Developers should now be freed to make higher level, more difficult to find logic erors.

Rust helps prevent that as well, and a great deal at that. I found a good writeup here:

https://itsallaboutthebit.com/...

Also, a concept I commonly apply in rust, which generally isn't possible to do in most languages:

https://medium.com/@lucky_ryda...

Designing your data structures in such a way that you literally can't accidentally create an invalid state is a godsend. I don't care how good of an engineer you are, you'll inevitably forget to check some odd thing here or there that results in a subtle bug somewhere else. But, as always, this is a tool that rust makes available to you, it's up to you to actually use it.

Comment Re:I have to say by now I approve (Score 1) 24

How? And when?

If you're talking about that deutschbag who believed social media shaming others into bending to your will is the correct way to get your point across, he already blew a headgasket and left after he didn't get his way. Besides, that's not a typical rust user, that's a typical internet german, and he isn't even the first internet german linux kernel developer to do that. And it even extends to non-internet germans to a degree, see for example the raids they've been conducting in their country against their own people for the crime of insulting somebody on the internet.

Comment Re:I have to say by now I approve (Score 1) 24

The language itself still can't prevent people from doing stupid things or ensure that they follow best practices as the recent CloudFlare outage showed. [substack.com]

That failure is one of the greatest things about rust. Whoever wrote that code already knew that something could fail, but actively chose to disregard it. It's not like Java or C++ where you do something, and because you didn't read the entire documentation about that library (and that's assuming the developer even documented it, which they often don't) suddenly your code throws an exception at runtime. The developer who wrote that line KNEW it could fail when he wrote that line. Why? Because he HAD to have known, otherwise he wouldn't have typed .unwrap().

It's for this exact reason that when I declare my code ready for production, I add these lints:

#![deny(
        clippy::unwrap_used,
        clippy::expect_used,
        clippy::panic
)]

Comment Re:I have to say by now I approve (Score 1) 24

While the Rust community is certainly toxic in parts

Why do you guys keep claiming this? Even before I ever thought of learning rust, I never saw this. Part of the reason I made a sudden switch from making an effort to learn go to learning rust was because every interaction I had with them was really nice. Every one of them have always been willing to go out of their way to explain even basic CS concepts in a non-condescending way in every interaction I've had with them.

Shit, even here I've had to explain CS concepts to people WITH ACTUAL CS DEGREES (which I don't have, by the way) which I myself learned from the rust community. You know who I've had to explain them to? Fucking assholes like angel o' sphere who do nothing but shit on rust while not even knowing the first thing about it. Literally, the deutschbag speaks about how much better linkedlists are than deques for every use case imaginable, when almost the exact opposite is true, and he doesn't even understand why. Then again, maybe that's why some of you guys hate the rust community to begin with: They tear down that one particular barrier that C++ developers use as a pillar to hold up their egos as they write shitty code with their ill-conceived language (which once was considered in the linux kernel, and then swiftly rejected.)

And before you point a finger at me: Yes, I am a toxic asshole when I am on the internet. I am a troll. I've never denied any of this. But I'm also not part of the rust community. I don't take part in their events, I don't identify as "rustacean" (except in a tongue-in-cheek way on occasion.) I just happen to find the language useful, and recognize that it actually delivers everything it promises. I've worked with C, Java, C#, Pearl, Golang, Python, and others I'm not thinking of right now. Yet the one tool I consistently feel like picking up when I begin prototyping anything, even small things, is rust. Why? Well, not memory safety. Rather, because it's so fucking easy to write code that doesn't fail in ways I didn't anticipate. Shit, I can rapidly prototype multithreaded code with ease and not have it break in stupid ways. Not even golang can claim that, even though it was literally designed around multithreading from the ground up. It's also the one language where I never find myself fighting with the tooling (contrast to say Java, which has absolutely shitty tooling.) There are all sorts things about rust that most people don't even think of that just aren't a thing in most other popular languages, like exhaustive pattern matching, that eliminate so many bugs before your code even compiles.

the language has one really big advantage: It is hard to learn!

Actually a lot of research has been done on this, by google, amazon, microsoft, and many others, and it turns out that new developers can become productive in rust much quicker than they can become proficient in other systems languages. This has also been my lived experience. My hypothesis on that is that rust is a language that emphasizes correctness, and overall makes it considerably easier to implement things the right way than it does to implement them the wrong way.

Comment Re:What was the test to say 27% was unreasonable? (Score 1) 96

Epic also charged 30% until roughly a month or two *after* they filed a lawsuit against Apple.
Now Epic charges about half their previous percentage (12%)
Epic still charges $100 per submission, just like Apple.

Where the fuck did you get this idea from?

https://web.archive.org/web/20...

They've been charging 12% since they had a store at all. And as of recently, they don't charge any commission at all for the first $1,000,000 worth of sales.

Just making something up and treating it as fact is rsilvergun level retardation.

Comment Re: Hope that those kids (Score 1) 136

Because you asked

https://en.wikipedia.org/wiki/...

Kids do not have their own discretion, period

Right, no capacity for it, or the ability to learn from their mistakes (where direction comes from) until their 16th birthday, then BAM, just like that, they instantly learn all of it.

Comment Re: The statewide corporate commission (Score 1) 36

I mean I can read news articles.

And obviously very selectively at that.

And you can find the news articles the talk about the corporate commission overriding the locals.

All the chairmen of the ACC are directly elected on the same fucking ballot as the POTUS, and the mid-terms. They're not appointed. They're also not running on some one-off election outside the national election day that nobody pays attention to.

I think the governor is a Democrat so there's some hope but usually you can steam roll locals especially smaller ones. Arizona has a lot of small towns and small cities that won't have the strength to push back against a combination of large corporations and corrupt state governments. It's a reddish state, I think without cheating and gerrymandering it would be a blue state because the statewide races keep going blue but the local races keep going red and that's usually a sign of voter suppression and gerrymandering...

The same commission that determines both federal AND state districts in Arizona is literally the exact same fucking one that does it for California, a state whose only party admits that it's gerrymandered in its own favor.

Whatever the case though it's very difficult for Democrats and un corrupt politicians

It's interesting that you list democrats and "un corrupt" [sic] politicians separately considering the state I'm living in right now, which happens to be right next to Arizona, has been overrun with government corruption for the last decade. And guess what? They're all fucking democrats. Look at the current FBI investigation on the state FFS, and that was started under Biden. 23 charges on just one person who is really close to the governor. And if that's not bad enough for you, there have been 576 federal corruption convictions in 10 years in just California alone. That makes my current state, that I live in, more corrupt than even Illinois, New Jersey, and New York.

How one probe of the ACC that didn't even result in a conviction gets your attention more than what's going on one state over is anybody's fucking guess with a person as moronic as you. Rest assured, you're in good company with Donald Trump in the "what the fuck is broken in your head?" department.

to win small races like the corporate commissioner because people do not realize just how much power those kind of local races have but you can bet your ass corporations and billionaires do

It's done during the normal election, it's NOT a small race. If you vote for the governor, US president, a senator, or a congressman, either state or federal, then guess what? Your ballot includes the ACC in it along with all of the state referenda. How do I know this? Because I voted in that state from when I was 18 until I was 40, not fucking reading about it on shitty websites like fark.

Comment Re: Thanks, Chandler (Score 2) 36

Hmm... Not really. The one city I've spent by far the most of my life living in (I think about half) is Chandler Arizona, so let's just say I'm quite familiar with it. There already is no shortage of tech jobs there if you want them, in fact the city began growing exponentially specifically because people out of state began moving there in droves. Many semiconductor plants, datacenters...you name it. By landmass, it is pretty big, and more than half of it was farm land, now almost all of it is developed. At the same time, it's also not like silicon valley cities where you're either tech or you can't afford to live there but somehow you manage to scrape by. Probably for the best that it stays that way. Look what happened to silicon valley during the pandemic. And it could happen again any time tech takes a dump after a major bubble. Like say, an AI bubble.

Diverse economies make for robust economies. For another example, see Detroit. If I was still there, I'd probably say no thanks. There are many places that could likely benefit from such a datacenter, but I don't believe Chandler is one of them.

Comment Re: Shortage? (Score 1) 199

It's good to a point, but what you don't want is Balkanization. Switzerland already has four official languages, so I see why they in particular might be acutely aware of it. There's a similar situation brewing in Mexico City as a lot of foreigners are moving in, with few of them even speaking Spanish, which is pissing off a lot of the locals.

Mexico city also has a related (but not the same) concept progressives are likely familiar with is gentrification, which is somehow bad despite balkanization being awesome because diversity.

Comment Re: Say 'me too' or perish (Score 1, Insightful) 81

What tells you people are leaving these?

Last I checked, Fecebook still has millions of active users, and fuckerberg is still raising a shit every time an app store adds a rule that restricts his ability to spy on people, as if he thinks he has any power to do anything about it. His net worth would take a major hit if people really left it, which would be funny, but it hasn't.

I still can't figure out what the fuck mastodon is, aside from the fact that Trump Social uses its code, and on toot.io right this second you'll find a feed of "toots" from people who only know how talk about how much they hate Trump, America, the right, etc. So I think it's safe to just call it Trumpadon. But at least it appears to be active, because there's definitely tooting going on. Or as the British call it, trumping. Either way, no obvious indication that people are leaving.

Bluesky is kind of weird, but there are sites that track how active it is. It gained millions of users at the 2024 election, then they seemingly just as quickly left. Ever since then, they come and go in little spikes that somehow correlate well with every news cycle featuring Elon. Oh, and the ones who stick around appear to find joy in painting swastikas on things, especially cars.

As for x...well, unlike Fecebook, it's not public and its valuation doesn't appear to affect the net worth of the guy who is most commonly associated with it, assuming its value has changed. The media enjoys quoting random people from it anyway as if the stream of consciousness of random twitter users is somehow newsworthy. But as with Trumpadon, no obvious signs that people are leaving.

Slashdot Top Deals

In every non-trivial program there is at least one bug.

Working...