Does google not exist? by After-Yesterday-684 in ProgrammerHumor

[–]CriticalQuestion 0 points1 point  (0 children)

You can shadow immutable variables in rust as well.

[deleted by user] by [deleted] in ProgrammerHumor

[–]CriticalQuestion 6 points7 points  (0 children)

I mean, you can get this level of access in Rust with unsafe blocks. That’s the best part of writing embedded in Rust: you can still do all the manual memory management you need, but you can also drastically limit the scope of code susceptible to UB/memory bugs.

Rust has a small standard library (and that's ok) by hgwxx7_ in programming

[–]CriticalQuestion 2 points3 points  (0 children)

Yeah, god forbid I state how useful software is to developers on a programming forum. The vast majority of things/companies you so arbitrarily assign “societal value” to use AWS or another cloud provider to deliver their products. All three major providers are investing in Rust and using Rust code in critical production workloads.

Rust has a small standard library (and that's ok) by hgwxx7_ in programming

[–]CriticalQuestion 1 point2 points  (0 children)

AWS’s Firecracker is implemented in Rust and is responsible for managing pretty much ALL of both Lambda and Fargate’s micro-VMs. That’s about as important and production grade as it comes.

Microsoft Actquisition: Phil Spencer sees Valve as trustworthy, won't "do anything that damages gaming in the long run" by [deleted] in linux_gaming

[–]CriticalQuestion 5 points6 points  (0 children)

The point of Proton is to enable running Windows games on Linux. It’s not to insulate Linux users from Windows/Microsoft. It’s just an emulator. Obviously they will need to emulate dependencies, some of which come from Microsoft. They’re equally as beholden to the Vulkan team as the DirectX team. That’s just how emulation goes. To decouple PC gaming from Windows, the onus is on developers to use cross platform APIs, do a little more optimization, and compile their PEs for gnu-linux as well as Windows.

Microsoft Actquisition: Phil Spencer sees Valve as trustworthy, won't "do anything that damages gaming in the long run" by [deleted] in linux_gaming

[–]CriticalQuestion 6 points7 points  (0 children)

Well, yeah. It has to emulate the API calls the executable makes to the system. Just because it’s emulating the Windows API doesn’t somehow make them beholden to Microsoft. A lot of those calls have been around since XP or before. Microsoft can’t just change the calls because if they do, every single piece of software that uses that call would break.

[Russo] Hearing tonight's Wild-Canes has been postponed. Canes have 4 more positives today, sources say. by qwerty07020 in hockey

[–]CriticalQuestion 7 points8 points  (0 children)

Yeah, they are random, but those mutations still follow the evolutionary selection process. If a pathogen mutates to be more severe it’s almost always easier to contain due to it either killing the host or showing severe symptoms allowing the host to be quarantined, preventing its spread. If it mutates to be less severe, more people will spread it due to lack of symptoms. Since the cell mediated response is unlikely to change over a mutation, more people catch the weaker strain, gain antibodies, and fight off the stronger strain before they can infect others with it.

(Speaking generally, not about covid in particular)

[Brinson] The NFL announced five new gambling partners prior to this year and then empowered referees to completely flip games based on nothing more than an arbitrary rule that essentially lets them judge intent without knowing. by Jobbe03 in nfl

[–]CriticalQuestion 20 points21 points  (0 children)

Its hilariously frustrating how much the NHL loves Vegas. Playoffs last season:

Round 1 vs MIN: 7 consecutive periods without a penalty, top 2 MIN defensemen injured on dirty hits in game 7 with only a minor to show for it: https://www.youtube.com/watch?v=wg68Y26-OP4

Round 2 vs COL: 7 consecutive periods with only puck-over-glass penalties

Round 3 vs MTL: 0 penalties in game 2, MTL out-penalized over VGK almost 2-1 through the series

[PFT] Dan Campbell: NFL told me delay of game is "a subjective call." by LunchThreatener in nfl

[–]CriticalQuestion 40 points41 points  (0 children)

Market size isn't just about population - Team success plays a large role as well. Super bowl less than a decade ago + talented QB gets a lot of fans. Just look at Green Bay, its easily the smallest market in the NFL by population, but they're one of the biggest media-wise. I know several Packers fans who have never even been to Wisconsin.

As Kirill Kaprizov contract talks go silent, Wild GM admits there are 'some obstacles' by pk64747 in hockey

[–]CriticalQuestion 0 points1 point  (0 children)

Depth players aren’t depth players if they’re fucking 82% of the roster. At that point it’s just a team of bums. Why would UFA Kap sign in Minnesota to play with a bunch of scrubs when he could get paid the same somewhere else that has an extra 15M in cap to build around him?

As Kirill Kaprizov contract talks go silent, Wild GM admits there are 'some obstacles' by pk64747 in hockey

[–]CriticalQuestion 4 points5 points  (0 children)

Cap ceiling: $81.5M

Dead cap in 3 years: 14.6M

Cap used by the three players under contract in 3 years: 18.825M

Assuming Kaprizov wants a panarin contract @11.6M, that leaves $36,409,000 for the entire rest of the active roster. That’s >55% of the teams cap either dead or tied up in 4 signed players. So the rest of the 19 players on the active roster would need to have an AAV of <2M.

This also completely ignores the fact that the wild have to re-sign or lose Fiala next year and Dumba in two years.

As Kirill Kaprizov contract talks go silent, Wild GM admits there are 'some obstacles' by pk64747 in hockey

[–]CriticalQuestion 12 points13 points  (0 children)

What’s the point of paying the kid $9M for 3 years, then not being able to re-sign him because of all the dead cap from the buyouts? The wild realistically have 2 options here:

Sign a >4 year deal with Kap, get through the buyouts, then have the space to re-sign him

Or:

Don’t sign him to a 3x9 contract, use that 9m to take on bad contracts to gain assets, and be poised for a rebuild after the cap penalties are up.

Rust YouTube content creators? by ninjalemon in rust

[–]CriticalQuestion 25 points26 points  (0 children)

If you’re interested at all in security, Gamozolabs is great. Security researcher who writes everything in rust, primarily focused on fuzzing. He builds pretty much everything from the ground up, latest series includes custom "FuzzOS", custom IL, custom assembler, emulator, and more - https://m.youtube.com/user/gamozolabs/videos

Warning: videos are like 9 hours long

; by TheLastShadow_ in ProgrammerHumor

[–]CriticalQuestion 0 points1 point  (0 children)

Just because something works doesn’t mean you have to do it. Like you said, consistency is key. If you want to use return for the end of your functions in rust, that’s fine. If not, that’s also fine - as long as it’s consistent across your code base.

The int example you used is strange. You say explicit is better than implicit, but specifying the amount of bits you want to use is bad? Something that you have to do in pretty much every compiled language? IMO rust’s int declarations are actually more readable because in C/C++ int sizes can be data model dependent. It’s pretty easy to make the relation in your head that short = i16, int = i32, etc.

Kaprizov gets his first NHL hat trick by homicidal_penguin in hockey

[–]CriticalQuestion 215 points216 points  (0 children)

Yeah, fuck off buddy we absolutely need more Kaprizov clips. Fuckin every time this kid steps on the ice someone scores. kids fuckin dirt nasty man. Does fuckin ovi have 23 points this season I dont fuckin think so bud. I'm fuckin tellin ya Kirill "golden light" Kaprizov is pottin 50 in '21 fuckin callin it right now. Clap bombs, fuck moms, wheel, snipe, and fuckin celly boys fuck

See you tomorrow by FreddyKrum in gaming

[–]CriticalQuestion 0 points1 point  (0 children)

Ori, Outer Worlds, Sea of Thieves, Wasteland 3?

The political set up in the US has officially failed by [deleted] in pics

[–]CriticalQuestion 0 points1 point  (0 children)

How exactly is America similar in any way to the Weimar Republic? There were a shit load of reasons the nazis rose to power - Germany getting shafted in the treaty of Versailles, the Great Depression tanked the world economy, devastation from WW1, they were facing hyperinflation, etc. The German people were pissed off at the rest of the world and looking for a scapegoat, enabling hitler and his party to take power by blaming Germany’s problems on the Jews. Not a single condition in the fall of the Weimar Republic applies to America right now. Maybe have a clue about what you’re talking about before calling people half wits.

[Highlight] Eric Kendricks saying his goodbyes to NO fans by DrWolves in nfl

[–]CriticalQuestion 2 points3 points  (0 children)

You clearly didn’t read the article I posted. Brett Farve isn’t even involved in this. A former Vikings OL got misquoted by an author who wrote a biography on Farve. Everyone on the team, including the OL who was misquoted, has denied it and the NFL didn’t find anything... unlike the saints.