Readit News logoReadit News
X0Refraction commented on JVM exceptions are weird: a decompiler perspective   purplesyringa.moe/blog/jv... · Posted by u/vrnvu
xxs · 4 months ago
try/finally is effectively try/catch(Throwable) with copy all the code of the finally block prior to exiting the method. (Java doesn't have a direct bytecode support for 'finally')

Nothing that cursed.

It compiles to this:

  void foo() {
    for (;;) {
      try {
        continue;
        return; } 
      catch (Throwable t) { continue; }
    }
  }

X0Refraction · 4 months ago
Won't that particular code fail to compile in java because the return is unreachable?
X0Refraction commented on Windows 11 Update KB5063878 Causing SSD Failures   old.reddit.com/r/msp/comm... · Posted by u/binwiederhier
asimovfan · 6 months ago
some data might be worth way more than any SSD.
X0Refraction · 6 months ago
If it is then storing it without backups sounds like a bad idea
X0Refraction commented on Rust’s dependencies are starting to worry me   vincents.dev/blog/rust-de... · Posted by u/chaosprint
palata · 10 months ago
Similar feeling here.

Cargo makes it so simple to add tons of dependencies that it is really hard not to do it. But that does not stop here: even if I try to be careful with adding dependencies, a couple dependencies are likely to pull tens of transitive dependencies each.

"Then don't depend on them", you say. Sure, but that means I won't write my project, because I won't write those things from scratch. I could probably audit the dependency (if it wasn't pulling 50 packages itself), but I can't reasonably write it myself.

It is different with C++: I can often find dependencies that don't pull tens of transitive dependencies in C++. Maybe because it's harder to add dependencies, maybe because the ecosystem is more mature, I don't know.

But it feels like the philosophy in Rust is to pull many small packages, so it doesn't seem like it will change. And that's a pity, because I like Rust-the-language better than C++-the-language. It just feels like I trade "it's not memory-safe" for "you have to pull tons of random code from the Internet".

X0Refraction · 10 months ago
This was linked from the top comment on the Rust subreddit: https://wiki.alopex.li/LetsBeRealAboutDependencies

I think it makes a good point that some of the difference here is just perception due to dependencies in C/C++ being less immediately visible since they're dynamically loaded. To some degree that is a plus though as you likely trust the maintainers of your OS distribution to provide stable, supported libraries.

As other commenters have said, perhaps this is an area where the Rust maintainers could provide some kind of extended standard library where they don't guarantee backwards compatibility forever, but do provide guarantees about ongoing fixes for security issues.

X0Refraction commented on How many supernova explode every year?   badastronomy.beehiiv.com/... · Posted by u/rbanffy
packetlost · a year ago
Same here. I found the controls to be frustrating and the game-play loop to be kinda dull. The story on the other hand, is very good. I get that the game-play is meant to illicit certain feelings, but it just didn't do it for me. I did enjoy reading a synopsis of the story on the wiki though.
X0Refraction · a year ago
This is a common complaint, but I think the controls are actually very tight. Usually the issue is that the player is struggling with travelling in a vacuum with a ship that can quickly get up to tens of thousands of km/h and it's very difficult to judge distances in space. I realise you're unlikely to go back if you've read a story synopsis, but for anyone else I would highly suggest locking on to your target and using the two numbers (your current speed relative to the object and the distance from the object) to judge how hot you're coming in.
X0Refraction commented on How many supernova explode every year?   badastronomy.beehiiv.com/... · Posted by u/rbanffy
Trixter · a year ago
I did not play with a controller, which made Dark Bramble effectively impossible to finish because the keyboard is all-or-nothing thrust. Had to cheat to get past it. They should have said that using a controller was mandatory, not recommended.
X0Refraction · a year ago
It's not mandatory, there's 1 part in Dark Bramble where you can go a little faster if you use a very small amount of thrust. You can just use the momentum you came in on though, there's still plenty of time
X0Refraction commented on LA wildfires force thousands to evacuate, NASA JPL closed   theregister.com/2025/01/0... · Posted by u/rntn
sahila · a year ago
She cut some 2% of the LA fire department budget, 17M out of 837M. The outrage is politically fueled more than any rationale reasoning.
X0Refraction · a year ago
Is that reduction absolute or real terms? If it's absolute then that's a pretty large reduction considering inflation
X0Refraction commented on Nearly all Nintendo 64 games can now be recompiled into native PC ports   tomshardware.com/video-ga... · Posted by u/Malic
whateveracct · 2 years ago
WASD with mouse aim control doesn't really work with the game though.

The modal aspect of aiming combined with the travel time/return-to-center of the cursor is a really fun part of the game. If you could just free-aim while running a la PC FPS it would kind of ruin the campaign since everything is designed around this. Picking your spots and keeping cool while aiming are the appeal.

That said, if you keep the modal aspect and have the mouse just 1) rotate Bond like left/right on the stick does and 2) control the cursor only in "aim mode" (hit R)..then I think that could be fun.

Tbh, I wish shooters didn't go straight to Quake-style WASD+mouse free-aim across the board. The modal aspect makes gives Goldeneye a certain physicality I really like.

X0Refraction · 2 years ago
Weirdly Goldeneye did have a control layout where you could move with one joystick and aim with the other using 2 controllers: https://www.youtube.com/watch?v=dZaEpugk3hY
X0Refraction commented on 23andMe updates their TOS to force binding arbitration   stackdiary.com/23andme-up... · Posted by u/rdli
logifail · 2 years ago
> When I buy something on the internet, I have 14 days to return it if I don't like it

One (unintended?) consequence of this is that as a consumer, you cannot buy an annual digital motorway toll pass in Austria with immediate validity. The earliest your pass can start from is 18 days from the date of purchase.

"Customers can withdraw from the online purchase of a digital vignette within 14 days. Taking into account a further three-day period for mail, your digital 2-months and annual vignette is only valid from the 18th day after purchase."

https://www.asfinag.at/en/toll/vignette/digital-vignette/

How glorious that it's necessary to include 3 extra days to cover the potential delivery time of postal mail in the event of a return for an entirely digital product :/

The workaround for this - which I discovered last time I drove a rental car in Austria - is to tick the box that says "I'm a business, not a consumer". You don't need to prove you're a business, just to tick the box. Consumer protection nullified, can purchase product valid immediately.... <sigh>

X0Refraction · 2 years ago
Strange, I would have thought a pro rata refund would be allowable in these cases. I'm pretty sure that's how it works with insurance so I'm unsure why a toll pass would be any different.
X0Refraction commented on HMRC (UK Tax Authority) Persuing Uber for £386M (~$487M) Vat   twitter.com/DanNeidle/sta... · Posted by u/gchadwick
gadders · 3 years ago
There was no austerity. Government spending actually went up during that period.
X0Refraction · 3 years ago
Total spend or age adjusted per capita? Those are very different things when you have a growing and ageing population
X0Refraction commented on AI is going to eat itself: Experiment shows people training bots are using bots   theregister.com/2023/06/1... · Posted by u/Bender
jchw · 3 years ago
Of course they're sitting on a goldmine. If they weren't, they'd be absolutely mortified by what they're doing to their own website. I think by June 30th, it's going to prove to be a solid win for Reddit: they still have all of the data they ever had, and they'll have better ad revenue than ever. Unless the community can get a lot more creative, Reddit is about to be absolutely fucking rich (even though the communities will all be hallowed out.)
X0Refraction · 3 years ago
There are signs that the blackout will have an affect on their bottomline if it's kept up [1]. I'd imagine that's why they're making these moves to remove moderators participating in the blackout so quickly. I think it'll be interesting to see if they can find other moderators who participate for free and bring as much value to reddit as the current mods do.

My guess is that the changes will still go ahead and the general quality of content on reddit will go down longer term although how much is an open question.

[1] https://www.adweek.com/social-marketing/ripples-through-redd...

u/X0Refraction

KarmaCake day100July 21, 2014View Original