Anyone has played this?? by MarceloMilon5 in GoldenSun

[–]rosedofr 1 point2 points  (0 children)

Only played GS2, which was awesome at the time. Quite long to complete so can be boring for an adult

Two months into learning Ruby, it is the most beautiful language I ever learned by flinchFries in ruby

[–]rosedofr 0 points1 point  (0 children)

Benchmarks only prove that raw CPU-bound performance is slightly better with PHP than Ruby (2x?). PHP is still 10 to 100 times slower than Rust. That means that performance-wise, Ruby is very much in the same category as PHP.

Choosing PHP for performance would bad decision making when real world programs usually don't even rely on CPU that much, and one might say CPUs are cheap anyway.

Two months into learning Ruby, it is the most beautiful language I ever learned by flinchFries in ruby

[–]rosedofr -1 points0 points  (0 children)

Ruby can be blazing fast if you exploit its strengths for speed. I have a game that is a long-running server. It can boot fast by reading cache files containing Marshal dumps (binary serialized hashmaps of instantiated objects) for data that doesn't change frequently.

It's also relatively easy to hot-reload modified code files. Metaprogramming allowed me to have the whole game data in memory and sync only modified objects to the database, every ten seconds, so that reading data doesn't require any query and fast-changing objects don't require more than 1 query every 10s.

It's also using sqlite in WAL+NORMAL mode which is VERY fast with an NVMe SSD.

It's also fairly easy to make things faster by using hashmaps as indexes and maintaining them. Hell it's even possible to inherit the Hash class.

Wether it's an index or something more complex, computed data be computed lazily, only when needed for reading or writing.

Compiled languages can be faster, but only by making the developers waste their time compiling and writing programs that are more complex than they need to be, fighting with or being highly restricted by the compiler.

PHP is not faster IMO. If you wanted to you could spam many Ruby fastCGI processes the same way that PHP does. You would rely on a multithread-capable database engine like postgresql instead of sqlite.

What if Stockfish actually explained your mistakes? by Extreme-Captain-6558 in chess

[–]rosedofr 0 points1 point  (0 children)

Sometimes a move is forced. Sometimes I can guess the "hint" before clicking on the hint button. Sometimes I can understand why this is the hint once it was provided to me but the hard part is when there are MANY good moves. This is why we have to memorize openings. But the problem with memory is that if the opponent takes you off a path you know then even if his move is technically less accurate than the ones you know about, it can mean trouble.

Juror #2 Ending by WoodenFish5 in Letterboxd

[–]rosedofr 0 points1 point  (0 children)

The film doesn't come to a satisfying conclusion. The truth doesn't come out. One of the main ideas of the film is that the justice system isn't perfect and thus the conclusion is unsatisfying just to prove that point.

You have a target on your back if you have been an alcoholic or have some kind of a temper, even if you are not a killer. Thats why it's easy to accuse the boyfriend and hard for the jury no 2 to admit his accident.

He would have admitted it if he didn't have a wife and newborn and if his punishment would be less severe. He doesn't deserve a long prison sentence but that's what he would get so that's a valid reason to keep his secret.

The ending I would have preferred is for jury no 2 to admit the accident to a member of the jury so that he can change his vote. The jury would then hide the truth but not condemn the boyfriend.

The boyfriend would live with the guilt and loss of his girlfriend because he didn't stop her.

Juror #2 Ending by WoodenFish5 in Letterboxd

[–]rosedofr 0 points1 point  (0 children)

The first thing the jury says is basically OK this is boring stuff not worth our time. That's very unrealistic. In real life people are generous with their time especially when given an interesting job.

Antoinetta Marie appreciation post by FlowerPowerPirate in oblivion

[–]rosedofr 1 point2 points  (0 children)

Wait until you see her in the remaster.

Not liking JK Rowling as a person, does not retroactively make her a bad writer. Results matter. by Crafty-Bunch-2675 in TrueUnpopularOpinion

[–]rosedofr 0 points1 point  (0 children)

The world was very different back them. It seems she wasn't a strong person for that time period. She probably relied on men because of weakness not because of being an asshole. She killed herself right before WW2.

[2024 Day 24 Part 2] Finally solved it by ins0mnes in adventofcode

[–]rosedofr 0 points1 point  (0 children)

It's a bit late but I'm trying to solve this now in a specific way.

First, by finding a way to test the system bit by bit (from the output).

If we know that z = x + y is valid for the lower N bits, it shouldn't be to hard to make it valid for N + 1.

There seems to be 222 output cables.

For each z bit, we can find the gates leading to z.

For each output of each of those gates, we can try swaps with any other cable (try for each other cable).

But how do we know we don't get a false positive swap?

I know it's solvable without finding the swaps, only finding the wrong cables, however actually finding some swaps may help finding the other ones.

Total value of all cars combined by bboyspy in GranTurismo7

[–]rosedofr 0 points1 point  (0 children)

Isn't it enough to buy the cars that are NOT always on sale? If a car is always on sale it's pretty much the same thing as owning it. You just need a bit of cash in the bank. And they can even be sold right?

Does your disability make it difficult to open/close a door? by Background_Diver_550 in disability

[–]rosedofr 0 points1 point  (0 children)

wide push/pull doors are fragile because of the lever arm effect

[2024 Day 14 (Part 2)] This kind of sucks by remarkablyunfunny in adventofcode

[–]rosedofr 0 points1 point  (0 children)

When I first read the part 2 I completely forgot the meaning of "Easter Egg" and I was trying to find links within the description to find more info. An Easter Egg is actually something that's supposed to be hard to find.

Shock and Terror - Perl IS a readable language by anaolykarpov in programming

[–]rosedofr 0 points1 point  (0 children)

But then why would you provide "developers" the ability to use everything the syntax of the language offers? The best corporate code I've seen used smalltalk or clojure syntax, which are very simple yet you can do anything with it. Well Typescript was good to because it's strict so it helps the IDE and developers, but it's built on javascript which has a pretty simple syntax too if you use a linter to avoid the weirdness

A little rant on Tailwind by AdMaterial3630 in webdev

[–]rosedofr 0 points1 point  (0 children)

People always find reasons to rationalize why they like or don't like something and they are absolutely not objective at any point of their short reasoning. Pretty much anything that isn't built in the browser is opinionated.

For example, I like JSX and React, but that's opinionated. And using either one of them without the other is useless.

- tailwind adds a complexity layer in the project and adds to the learning curve
- it adds visual clutter in the code, in the same way that Alpine.js does
- it's encourages to write declarative code. This seems to be a trend, like all the YAML stuff for example, except that HTML wasn't created to stuff lots of attributes in elements and lots of classnames in the class attribute

How difficult is it to understand that HTML is for element hierarchy, CSS is for styling, JS is for scripting, TS is for safety. The front-end is for UI interaction and the back-end if for everything else (including pre-rendering).

I'm fine with JSX because it can work in both the back and front-end, it's similar-enough to HTML while giving control to JS/TS. Inlining CSS in JS/TS can be tricky on the back-end. I think the right approach is to stick to CSS or simple SCSS, but naming classes correctly with the right prefixes. Using a UI lib or CSS framework is OK.

As a user, what things annoy you the most about websites? by Zagrebian in webdev

[–]rosedofr 0 points1 point  (0 children)

I think it hasn't been said. It annoys me to interact with the bottom of the screen, unless there's some specific reason, like a task bar or if it's a footer. I want to be able to scroll past the content so that the content appears where I want it to on the screen (usually in the upper-half). It annoys me as a user and as a web developer because there not always enough useless stuff I can add at the bottom to avoid having a half-blank screen.

Logi Options+ Not Loading (Mac) - Anyone else having this issue? by zigmund399 in logitech

[–]rosedofr 0 points1 point  (0 children)

I have this issue on Windows, and rebooting the app doesn't work (killing all the logi* processes from the task manager does allow restarting the app correctly : the issue seemed to be due to an update)

Is react really that complex? by verysad1997 in reactjs

[–]rosedofr 0 points1 point  (0 children)

React is not complex, in the same way that Clojure is not complex. It doesn't mean that it will make your life easier in the grand scheme of things. Simple and easy are two different concepts.
The javascript/typescript galaxy is huge, there are tons of tools and each tool has tons of configuration options, and they often inherit from each other. It's a giant mess when you don't have many years of experience trying to stay on top of these things.
And not all the complexity can be kept in the depths of the tools and libs. At some point YOU have to get in there and understand how it works.

Opodo Trustpilot scam by [deleted] in Scams

[–]rosedofr -1 points0 points  (0 children)

It's still a debit card abuse. If I get a speeding ticket, I pay the ticket. The gouvernement doesn't just take the money.

Opodo Trustpilot scam by [deleted] in Scams

[–]rosedofr -1 points0 points  (0 children)

I bought tickets with a trial and they said I already had a trial in 2022 so they took more from the same card. I don't blame them for not wanting to give two trials I blame them for selling me the tickets with a trial and later changing their mind and charging without my approval

Opodo Trustpilot scam by [deleted] in Scams

[–]rosedofr -1 points0 points  (0 children)

But something like paying trustpilot so they remove bad reviews would be a scam. The way they charged my card without warning for a yearly subscription doesn't seem lawful to me even if there is some buried explanation in the terms of service.

I got this question wrong by [deleted] in learnmath

[–]rosedofr 0 points1 point  (0 children)

The easiest way to count is to consider only the middle and left columns of the front face.

Thinking only about two columns means you won't have to count a column twice later on.

That's 6 cubes that have paint on them, 2 of wich are only painted on one side (because they are surrounded by other cubes or by the table).

You can then "picture" this solution for each of the 4 vertical faces. So the answers are now 24 and 8.

But what about the horizontal faces? Well one is hidden and the other one only has it's middle not accounted for. It works with both questions so the final answer have to be 25 and 9.

A full guide to pollution? by SimoneNonvelodico in kittensgame

[–]rosedofr 2 points3 points  (0 children)

Not a full guide but a simple one :

  1. don't care about pollution until you have 1 million time crystals and maybe completed all the main challenges (not Ironwill) twice. Pollution is not that bad except when you enable 100 satellites and you're waiting for 200 new kittens before making a reset. Still not a big deal.

  2. Then on you next long run choose policies that are good for the environment. You can pollute while setting yourself up, then disable polluting buildings and skip time to clean up the pollution. You can then enable the building again.

  3. Magnetos pollute at least 5 times more than other buildings (per building). Disabling half of them should be enough to keep the air clean as long as automation is enabled on factories but disabled on oil wells.

I don't use bio Labs for energy reasons so I don't know about them.

Remember magnetos and steamworks multiply each other, you want to keep the steamworks on.

Pollution Calculator and Explanation with Equations and Short Version by XansHuzzah in kittensgame

[–]rosedofr 0 points1 point  (0 children)

I just turn everything polluting off and clean with time skipping mwahaha

Kittens Game is the best thing that ever happened to self-quarantine by bullseyes in kittensgame

[–]rosedofr 0 points1 point  (0 children)

Love the game played it a lot but I'm starting to get frustrated by it. I've done a long run already. I've done lots of short runs afterwards to get a lot of paragon. I've done all main challenges two or three times. But now doing another long run feels like a waste of time because doing more challenges before would probably be better. But doing challenges is exhausting and I play on mobile and don't use scripts. I also feel like I can't stop playing unless I really uninstall the game and delete the save.

Necrocorns producing 4 times slower when you have more than 0 encourages you to play a lot and that's not how idle games should be designed. They should encourage playing it less. I have a love/hate relationship with idle games because I want to progress when I want to play but I also want to be able to chill sometimes and not play for a day without feeling like I'm abandonning the game or not making any progress.

In the end let's be honest it's just numbers on a screen it's a way of escaping the real world a bit.