[-] ExLisper@linux.community 93 points 10 months ago* (last edited 10 months ago)

Reminds me of a joke: A guy walks down the street and mumbles to himself angrily: You cook every fucking day but no one ever calls you a cook. You fix your car all the time but people never call you a mechanic. You have a small garden and grow your own food but when people see you they don't say "Hey, farmer!". But you rape someone one single time...

But seriously, for the same reason you don't ban drunk drivers from driving for life or shoplifter from shopping. People have to function in society somehow, even if they did terrible things in the past.

22
Who's up for a challenge? (linux.community)

Hi all,

Some time ago I've been thinking about a programming challenge that's not simply another HackerRank style algorithm task and came up with something that I myself had a lot of fun solving. It goes like this:

We have a well known function (as in I didn't come up with it):

 function xoshiro128ss(a, b, c, d) {
                return function() {
                    var t = b << 9, r = b * 5; r = (r << 7 | r >>> 25) * 9;
                    c ^= a; 
                    d ^= b;
                    b ^= c; 
                    a ^= d; 
                    c ^= t;
                    d = d << 11 | d >>> 21;
                    
                    return (r >>> 0) / 4294967296;
                }
            }  

We initialize it with 4 random parameters a,b,c,d (that I selected) :

  let rnd = xoshiro128ss(a, b, c, d);

and we do:

  let rand1 = rnd();
  let rand2 = rnd();
  let rand3 = rnd();
  let rand4 = rnd();

Knowing that:

rand1 == 0.38203435111790895
rand2 == 0.5012949781958014
rand3 == 0.5278898433316499
rand4 == 0.5114834443666041

What are the values of a,b,c and d?

I was wandering if it's possible to figure it out and couldn't stop trying until I did. It was an interesting journey and I learned some new things along the way Maybe someone else here will also have fun with it. As for prizes, I don't know... whoever posts the right answer first gets an upvote and eternal fame.

[-] ExLisper@linux.community 145 points 10 months ago

If anyone would care to read the article it's more about companies making more high end cars and running low stocks than making cars bigger. They reduced stock during the pandemic and discovered that they can make more money selling fewer cars with maxed out specs than a lot of base models. They simply don't have base models on stock now and people still have to buy cars so profits are soaring. Basically they made everyone depend on cars by killing public transport and are now milking it hard. Because what are you going to do? Work from home?

36
submitted 11 months ago* (last edited 11 months ago) by ExLisper@linux.community to c/lemmyshitpost@lemmy.world

By now most of you know that I'm by far the most reasonable person on lemmy. I'm basically real life Judiciary Pag. Well, maybe not the Very Relaxed part... But I'm very Learned and extremely Impartial.

So here's the deal: if you need to resolve some conflict, if you need someone to decide who's the asshole or simply can't decide who's right and who's wrong in a silly comment fight - just ask. I will give you my totally unbiased, 100% impartial opinion and you will be able to move on with your life.

#IWBTJOT

[-] ExLisper@linux.community 122 points 11 months ago

Charging $999 for a watch is the next idea Apple will steal from them.

17
Working as a Rust dev (linux.community)

What essential skills/knowledge would you say are/is required to work as a Rust dev?

I did couple of small/mediumish personal projects in Rust using axum with sea-orm and later tauri with leptos. That's on top of many years of experience working as a Java/Javascript dev and occasionally touching things like Python or Flutter. Most of things like databases and web stuff is transferable but what strictly Rust concepts are required to work as a Rust dev? In what fields it's used the most?

129
submitted 11 months ago by ExLisper@linux.community to c/world@lemmy.world

On Wednesday, members of the European parliament [MEPs] voted to outlaw the use of terms such as “environmentally friendly”, “natural”, “biodegradable”, “climate neutral” or “eco” without evidence, while introducing a total ban on using carbon offsetting schemes to substantiate the claims.

958
submitted 11 months ago by ExLisper@linux.community to c/memes@lemmy.ml
[-] ExLisper@linux.community 135 points 11 months ago

"But Chrome is slightly more convenient! Why would I suffer tiny inconvenience today in order to save me from way greater inconvenience later? Who am I? Some reasonable person?" - typical Chrome user.

[-] ExLisper@linux.community 111 points 1 year ago

I think so far this is what people wanted: end the status quo and apply shock therapy.

His supporters hope that in the long run the economy will become independent and the country would come out of the never ending crisis. My guess is that everything will simply end up owned by private interests and while (best case scenario) the economy will do better, people will suffer even more.

[-] ExLisper@linux.community 99 points 1 year ago* (last edited 1 year ago)

The "belief" we're in a simulation is more like a interesting idea than something people organize their lives around. Is it possible? Yes. Am I going to praise the great programmer every Sunday? No.

The belief in God in most cases is not just belief in some general higher power but a very specific deity with weird morality, silly mythology and bunch of scam artists behind it.

  • I think there's a higher power...
  • Ok...
  • that got mad at us for eating fruits but then impregnated a lady with itself and pissed us off so that we murdered him and he could say he's not mad anymore.
  • ... WTF?
[-] ExLisper@linux.community 154 points 1 year ago* (last edited 1 year ago)

This shit really grinds my gears. There's absolutely no need for this product. Normal vape is like $20, you're not saving on anything. In EU the manufacturers are obligated to recover used units (they have to setup boxes where you can drop them and handle recycling) but obviously you see them on the ground all the time. This should be banned with the speed of light but EC thinks the current regulations are enough. Fucking infuriating.

29
Should I change my name? (linux.community)

Hi,

So I have lived in Spain now for almost 10 years and I will be applying for citizenship soon. As part of this process I can pretty much chose my Spanish name. Or I can keep my polish name.

The problem is that my name is very polish, like Grzegorz Filipowski. Every time someone has to write it down and look me up in a database I have to show them my ID. When it happens over the phone I have to spell it. Every time I meet someone they ask me what's my name is and then repeatedly try to pronounce it while I say 'yeah... close enough'. It's pretty annoying and it would be solved by simply changing my name to something Spanish like Gregorio González or something.

What do you think? Would you see it as a practical thing to do or as a stupid intent at impersonating a real Spaniard?

234

Saudi Arabia is driving a huge global investment plan to create demand for its oil and gas in developing countries, an undercover investigation has revealed. Critics said the plan was designed to get countries “hooked on its harmful products”.

Little was known about the oil demand sustainability programme (ODSP) but the investigation obtained detailed information on plans to drive up the use of fossil fuel-powered cars, buses and planes in Africa and elsewhere, as rich countries increasingly switch to clean energy.

116

Sometimes I will use something and realize I've owned it forever. It's a nice change in our throwaway reality. I think my personal record is a bicycle multi-tool I got for one of my first bikes, ~25 years ago. Still have it, still use it. When it comes to electronic devices I have a Panasonic mini Hi-Fi from ~2005. Never felt like changing it.

What's your record?

95
Cheese (linux.community)

Cheese

[-] ExLisper@linux.community 117 points 1 year ago

A number of candidates will create their own forks and there will be a long Game of Thrones style war between different factions. After couple of weeks each distro will choose the fork they will make the default one and people will split into warring factions. After that we will enter a nuclear winter style period lasting couple of years during which 90% of post on Lemmy will be just shitposting the rival forks. After a decade or two of backstabbing, dirty politics and other drama new dictator will be selected and all will be back to normal.

[-] ExLisper@linux.community 188 points 1 year ago

To anyone using Chrome and complaining about Google having too much control: shut the fuck up. You're part of the problem.

[-] ExLisper@linux.community 153 points 1 year ago

I don't get it. Braiding live animals would be worse, right?

23
Let's talk time travel (linux.community)

I just finished watching 'Bodies' and we have to agree on one thing:

Timecrimes is the only proper time travel movie ever made.

Spoilers below...

Every other movie either tries to take time travel seriously (Primer, Minority report, Travelers) and fails by creating paradoxes or takes it lightly (Back to the future, Hot tub time machine, Groundhog day) and is not a real SciFi movie. Timecrimes is the only perfect loop and hence the only movie that avoid paradoxes. And what a loop at that. The reveal is just perfectly timed giving away each detail step by step. You basically figure it out together with the protagonist and watch him change his decisions as he realizes what's going on. The loop is the entire point of the movie and that's the only proper way to do it.

Bodies was close but of course they had to add a happy ending there and break the loop in the last episode which was pretty weak.

Timecrimes forever.

That's all I had to say. Thank you.

323
Package managers be like (linux.community)

Sorry Python but it is what it is.

13

I'm trying to find something and it's not easy. I'm using claws now and I doesn't seem to have dark mode.

Evolution should have it but my theme is set to 'Adwaita-dark' and evolution ignores it?

Thunderbird pissed me off by removing the tray icon...

I tried aerc but it didn't connect to my mail server for some reason.

Any other decent client that does support dark mode?

[-] ExLisper@linux.community 95 points 1 year ago

Just remember: it's ok to be the weird guy that doesn't use instagram and isn't in the group chat.

[-] ExLisper@linux.community 110 points 1 year ago* (last edited 1 year ago)
  • keys: very handy for when you need to unlock the door to your apartment. If you add car keys you can also drive somewhere which is very helpful. I use mine pretty much every day
  • cellphone: it's like a multitool with a camera, flashlight and a phone. If it's a smartphone you can all use it to access internet. Saved my life many times when I was bored and had to look at some videos online or check the news
  • wallet: great for carrying cash, ID and credit cards. It's good to have your ID with you when people ask for your name but you live in a foreign country where no one speaks Polish. You can use cash or credit cards to buy other stuff you need like a bottle opener
view more: next ›

ExLisper

joined 1 year ago