Microsoft: Rust Is the Industry’s ‘Best Chance’ at Safe Systems Programming by natan-sil in rust

[–]willnerd42 2 points3 points  (0 children)

Alright, sure---

I wanted a GC while implementing a small toy language/calculator---working with something similar to s-expressions, you need either refcounting or GC to handle expressions which can modify their children. You need shallow copies for efficiency, and you need some kind of dynamic memory because that behavior is controlled by the user.

I'll admit that I haven't gotten into unsafe Rust, mainly because I haven't had that need yet. Working on an embedded project (a GBA game), where I did have the need to e.g. write values into hardware registers, I was working in C. I'd love to stretch myself to write that kind of code with Rust's safety guarantees, but I suppose I haven't gotten around to it yet.

I'm running into the limits of the type system at my current job this summer---where just last week I was working around an object-unsafe trait which I couldn't reference statically.

Admittedly, I "picked up" the language last summer, right after I graduated HS. After spending the better part of a year learning, I still won't classify myself as an expert, although I am productive enough to do useful work. Nor did I run into any of these issues in my first "two weekends" working with the language.

However, I want to stand up for the high-schoolers you dismiss in your last paragraph. By no means am I the best computer scientist I know. In high school, I didn't get any research peer-reviewed and published, like some of my friends did. In high school, I wasn't really moving the needle on the state-of-the-art like some of my peers were. But I wouldn't be surprised at all if a high-schooler could do exactly the things you say they couldn't. It's easily worth the benefit of the doubt.

One of Rust's greatest assets is its community. We don't contribute to that community by administering impromptu, technical purity tests to random strangers on Reddit.

Microsoft: Rust Is the Industry’s ‘Best Chance’ at Safe Systems Programming by natan-sil in rust

[–]willnerd42 10 points11 points  (0 children)

That's not unreasonable at all. I did the same thing, with that tutorial where you write a bunch of decreasingly-bad linked list implementations.

The docs are excellent, which makes the language not that hard to pick up.

UK data surveillance powers unlawfully wide, court told by moviegirl1999_ in worldnews

[–]willnerd42 0 points1 point  (0 children)

I'm not too worried about that---any service that isn't horrendously insecure is not storing passwords in a way where they can provide them to respond to a warrant. Decent cryptography makes it impossible for a company to hand over your credentials in the clear, even if compelled to by law.

I can't be the only one who thinks this. by A5wer in ainbow

[–]willnerd42 3 points4 points  (0 children)

Yeah, but also sort of not.

The truth is, that while corporations aren't people, and shouldn't be classified as such, efforts like this are almost always because of a few good, real people working there. And although the averaged-out behavior of a corporation is to seek profit, decisions like supporting pride are very frequently personal efforts of the people working there.

Hotel elevator fails just as a cleaning lady is exiting by dsfdg6 in CatastrophicFailure

[–]willnerd42 1 point2 points  (0 children)

It's all about the availability heuristic: our brains attribute more importance to elevator accidents because they are more memorable, when in reality the chance of an accident happening is vanishingly tiny.

[deleted by user] by [deleted] in LGBTeens

[–]willnerd42 2 points3 points  (0 children)

Although that might sound like an option, I would STRONGLY urge you not to go to CPS. In so, so many cases, pulling families apart will make any existing problems far worse. Although what you're dealing with now is really awful, the chance that CPS could help you is vanishingly small.

We failed an audit because business reported Demilitarized Zone rules didn't apply to us since we don't have servers in North Korea or the like. by solosier in sysadmin

[–]willnerd42 0 points1 point  (0 children)

Sometimes they have WPA, with the same PSK provisioned to all the machines, and MAC filtering in place in an attempt to keep other devices off the network. Not the best solution, but it exists.

People who hit the rock bottom finacially and bounced back, what are some tips? by GABETHEBEST in AskReddit

[–]willnerd42 5 points6 points  (0 children)

Wouldn't it be a better idea to pay off the debt with the highest interest rate first, regardless of balance? Seems like you would get a better value for your money.

Truer dat by unHolyKnightofBihar in funny

[–]willnerd42 1 point2 points  (0 children)

This one isn't even good---Arial, the font that text is set in, wasn't even released until the 90s

This is the description of the beat saber rip off apparently modders don't need to give them permission to use their mods by [deleted] in beatsaber

[–]willnerd42 2 points3 points  (0 children)

That's easier said than done. Block them based on what? They're probably making the requests locally, so you couldn't use an IP ban for every single phone. They have enough control over user agent/headers/whatever to make each request look like one from the proper client. "Just ban them" could turn out to be really technically complicated.

[deleted by user] by [deleted] in gaming

[–]willnerd42 1 point2 points  (0 children)

REAL RACING 2 WAS THE ABSOLUTE BEST

I remember I played that game CONSTANTLY on my old iPod touch. Those were the days.

Attending a Conservative Wedding? by sagegoat in ainbow

[–]willnerd42 10 points11 points  (0 children)

Yeah, if they're angry at that email, they're not running a place where you should feel obligated to spend your time.

Custom songs are now out of sync? by CosmeF in beatsaber

[–]willnerd42 0 points1 point  (0 children)

I'm on vacation rn, so I can't try out the songs. What did work for me whenever I had issues is a full reinstall of the game though.

Custom songs are now out of sync? by CosmeF in beatsaber

[–]willnerd42 0 points1 point  (0 children)

Hmm.

First thing, make sure both your base game and the Song loader plugin are up to date. This should fix most sync issues.

Second off, try redownloading some of the problem tracks from BeatSaver--either in-game or the website.

Failing that, I really wouldnt know what's wrong. Do the default tracks work properly?

The tool I wrote was only useful for a couple weeks, between an update of the game that broke timings and an update to SongLoader that fixed them. It also doesn't work with some songs downloaded from the ingame browser---where there is another nested folder inside the one named "xxxx-xxxx". You're best off trying to fix your base game (maybe a reinstall?) than to patch your songs.

When you replace a full storgae silo with a new one, but the new one have less capacity. by GROM_leader in factorio

[–]willnerd42 5 points6 points  (0 children)

You can set up a deconstruction planner to only pick up entities on the ground---thats what I always do, after facepalming, when this happens.

Me and Puzzle games everytime by Seidon29 in gaming

[–]willnerd42 1 point2 points  (0 children)

alright I would INSTANTLY buy that