ExLisper

joined 1 year ago
[–] ExLisper@linux.community 1 points 7 months ago

But some people will be a bit turned off by murder so it probably evens out.

[–] ExLisper@linux.community 1 points 7 months ago (2 children)

What do you mean? You think it should be lower or higher because of the killings?

[–] ExLisper@linux.community 11 points 7 months ago (1 children)

Can you put this in a npm package so I can use it in my project, please?

[–] ExLisper@linux.community 9 points 7 months ago

25 wpm 83%

I was using phones with hardware keyboards for way too long and never really learned to type on screen keyboards. Now I just hate them and use desktop communicators whenever I can.

[–] ExLisper@linux.community 0 points 7 months ago (4 children)

You're right, I was wrong by 20%. His support is around 50% and he's pushing it to 70%. Does this mean he's not supported by general public? 40-50% is as much as any government gets really.

[–] ExLisper@linux.community 0 points 7 months ago

WTF? Whataboutism would be if you said "Russians killed Ukrainian children" and I replied with "But what about Russian children!". I said "yes, children are innocent, ESPECIALLY Ukrainian children". I'm playing especialism you dufus.

[–] ExLisper@linux.community -3 points 7 months ago

I think you don't know what playing with the wording means.

[–] ExLisper@linux.community -3 points 7 months ago (6 children)

Because he needs to pretend support for him is absolute while in reality only vast majority supports him. Because he cannot allow any opposition to grow in Russia in case he makes a mistake, like he did with Ukraine. Because if there's any sign of weakness even his allies will turn against him in a heartbeat.

He's tampering with elections to move it from 70-80% to 100%, not to move it from 10% to 100%. It's lower since the war didn't go as planned but most Russians supported Putin and his war.

[–] ExLisper@linux.community 0 points 7 months ago (14 children)

You're right, especially the Ukrainian children kidnapped and held in Russia.

[–] ExLisper@linux.community -1 points 7 months ago (32 children)

So fire them into Russia. Problem solved.

[–] ExLisper@linux.community 43 points 7 months ago

We're almost there...

 

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.

36
submitted 8 months ago* (last edited 8 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

 
 

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?

 

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?

 

Cheese

 

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.

 

Sorry Python but it is what it is.

 

Tech company faces negligence lawsuit after Philip Paxson died from driving off a North Carolina bridge destroyed years ago

Discuss!

 

I'm thinking about learning to play drums for some time now and I have a question. If I'm a complete beginner should I still get a full drum set? I know you can buy a cheap electric set for like $300 but can I start with something smaller and simpler? Are there some kind of electric pads that would work for taking first steps and that would later let me progress to full drum set? It's not that I don't have space, I'm just not sure I will stick with it and I don't want to be stack a big set I don't use later. Or full set is actually the best way to start?

 

How close was it?

 

Haven't seen any posts about this and it's a pretty big thing. From DMA website:

Examples of the “do’s”: gatekeepers will for example have to:

  • allow third parties to inter-operate with the gatekeeper’s own services in certain specific situations;
  • provide companies advertising on their platform with the tools and information necessary for advertisers and publishers to carry out their own independent verification of their advertisements hosted by the gatekeeper;
  • allow their business users to promote their offer and conclude contracts with their customers outside the gatekeeper’s platform.

Example of the “don'ts”: gatekeepers will for example no longer:

  • treat services and products offered by the gatekeeper itself more favourably in ranking than similar services or products offered by third parties on the gatekeeper's platform;
  • prevent users from un-installing any pre-installed software or app if they wish so;
  • track end users outside of the gatekeepers' core platform service for the purpose of targeted advertising, without effective consent having been granted.

We'll see how this plays out but this is first move in a very long time that could open up platform like WhatsApp to 3rd party clients and force Google and Apple to open their mobile OSes to other apps. Maybe we'll see stock Android without play services? One can dream...

P.S. https://digital-markets-act-cases.ec.europa.eu - page about the legislation

view more: next ›