@joneskind@lemmy.world
@joneskind@lemmy.world avatar

joneskind

@joneskind@lemmy.world

Developer. Feminist. Ecologist. Used to be a protection Paladin.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

joneskind,
@joneskind@lemmy.world avatar

What’s less sustainable is centralized web. You must know that since you work for Amazon, right?

When PopcornTime was still a thing you could watch adfree any movie you’d like even in 4K because resources were shared through peer to peer.

Now, YouTube gets up to 12$ RPM, content creators get maybe 40% of that. With 2 prerolls and 2 midrolls + banners they get plenty enough money to make things work. Google has the most aggressive VASTs of the market. They are everywhere, called multiple times per pages.

Spare us your tears.

Besides, no significant competition? Is that a joke?

joneskind,
@joneskind@lemmy.world avatar

Unfortunately, YouTube exists because content creators make money out of the ads.

But free content video is possible with a peer to peer protocol. The content creator get the responsibility to keep the seed alive. The more popular, the more it gets shared, the more it’s available.

But content creators don’t work for free, and public libraries don’t have the resources to store all the dumb content people deem necessary to make.

Reminder: give money to Wikipedia. This thing is a miracle.

joneskind,
@joneskind@lemmy.world avatar

Wait, isn’t Musk car company called TwitterCar? What’s the T stand for then? Twitter, TwitterCar, SpaceTwitter. All TwitterBoy’s corps

joneskind,
@joneskind@lemmy.world avatar

IMHO people just won’t give a flying fuck about it. Most people won’t even be aware of it.

They’ll upgrade when they’ll buy a new PC, just as usual.

joneskind,
@joneskind@lemmy.world avatar

IMHO, there’s a card missing saying

“Waiting a few years that every bug get fixed”

Another one should be

“Waiting a few years so that my $100 bucks GPU can run it flawlessly”

And last but not least.

“Waiting a few years so that my $2000 MacBook can play it at 30FPS”

Been playing Cyberpunk 2077 lately, that game is dope. I use Game Porting ToolKit BTW

joneskind,
@joneskind@lemmy.world avatar

Gotta keep that PC to play some Windows games right?

I did something dumb that I don’t regret yet, put my PC budget into a more powerful Mac when GPTK came out. I surely can’t play all games but so far I’m really satisfied.

Running Mixtral-7x8B_Q4 on a laptop wasn’t something I was expecting to be able to do :)

So I can’t say I got the best gaming rig for sure, but professionally speaking this has been an absolute blast.

If I remember correctly M1 was about as powerful as a 1050 when it came out (at least on native games). Are you happy with your M2 Air? I managed to play CP77 on my wife’s one, but since it only has 8Gb of RAM it crashed just after the meeting with Jackie Welles.

TBH, I miss a good macgaming sub on Lemmy. At a least I have an occasion to laugh of myself from time to time

joneskind,
@joneskind@lemmy.world avatar

k

joneskind,
@joneskind@lemmy.world avatar

Manjaro Gnome on a Raspberry Pi 4 4Gb + SSD is just fantastic.

joneskind,
@joneskind@lemmy.world avatar

I installed Gnome and now everything looks like macOS. Help!!!

joneskind,
@joneskind@lemmy.world avatar

Our Very Stable 4D Chess TwitterBoy Genius has become so fantastically effective in killing his brands.

First Twitter.com, then TwitterCars and the TwitterTrucks.

Will he kill SpaceTwitter too?

And what about TwitterDigger? Is this still a thing?

joneskind,
@joneskind@lemmy.world avatar

But what exactly is this measuring?

Hard to tell honestly.

phpBB and Wordpress are websites engines. It doesn’t take into account the content of the websites they are serving, and more importantly the bloated advertising scripts that might be added to the sources.

Mastodon? What are we even talking about here? The content? The engine? Which instance?

So, while it’s true that some websites are bloated and some are not, OP’s post says absolutely nothing about it. Size means nothing when a single picture can easily outweigh a huge javascript file mining some bitcoins. For the same reasons, loading times mean nothing either.

Memory usage, FPS, Cumulative Layout Shift, First Input Delay, Largest Con­tent­ful Paint, any data gathered from the performance API. There are tons of efficient way to measure a website’s efficiency.

Finally, a website can fail to load for many reasons. First of which can be a 504 Bad Gateway Timeout, which is an event based on an arbitrary value on the server’s side.

joneskind,
@joneskind@lemmy.world avatar

I just laughed unexpectedly loudly at this joke. I hope will get some well deserved upvotes

Recommendations please: Self-hosted web site analytics

Hello y’all! I have my personal (static) website / blog running on netlify out on the public internet. Netlify, in case you’re not familiar, is not a traditional web host, so I can’t add databases or anything else like that on the server itself. Right now, that site has zero analytics / visitor tracking and I’ve decided...

joneskind,
@joneskind@lemmy.world avatar

Hello,

If you only want to track the number of page views you can do something simpler.

On your website, add an empty image with a known name in the footer that point to your home server (no proxy needed if your website allows loading images from external site)

You should see the attempt to download the empty image in your home server logs. There are tools to parse your server logs for specific keys (I have Logstash in mind)

If you want to track anything else, just add another empty image linked to the website event you want to track.

joneskind,
@joneskind@lemmy.world avatar

When my console throws a NaN I kinda think of it as an Halloween kid receiving a fruit instead of a candy. They won’t say “That’s a fruit”. They’ll say “That’s not a treat”.

I’m personally pissed more often by a falsy 0.

Did you know that early analog computers would literally explode when asked to divide by 0?

Now computers just say “Hey stupid, that shit is not even a Number in a mathematical sense, but sure I’ll add one to it.” instead of “Why would you kill me like this?”

You can’t really define Infinity as a number, yet it is part of their world.

So typeof NaN === ‘number’ totally makes sense in that regard.

If you ever worked with arrays of dates, don’t judge NaN too harshly.

joneskind,
@joneskind@lemmy.world avatar

in javascript a property is truthy if it exists


<span style="color:#323232;">myThing.property = "some string"
</span><span style="color:#323232;">
</span><span style="color:#323232;">if (myThing.property) { // true
</span><span style="color:#323232;">  // do something
</span><span style="color:#323232;">}
</span>

It works with everything except of course for falsy values


<span style="color:#323232;">myThing.number = someNumberThatShouldNotBeEqualToZero
</span><span style="color:#323232;">
</span><span style="color:#323232;">if (myThing.number) {
</span><span style="color:#323232;">  // do something very important with that number that should not be equal to zero
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">// This can fail at anytime without warning
</span>

So you’ve got to be extra careful with that logic when you’re dealing with numbers.

I am not saying it’s wrong though. I’m saying it’s often annoying.

joneskind, (edited )
@joneskind@lemmy.world avatar

In the case of a non-existing property, the value would be undefined rather than null.

And while == and != exist in JavaScript, most linters will throw an error and require a === and !== instead as they should be avoided.


<span style="color:#323232;">null == undefined // true
</span><span style="color:#323232;">null === undefined // false
</span>

Besides, null is a perfectly valid value for a property, just as 0. Working with API Platform, I couldn’t tell the number of times I used this kind of statement:


<span style="color:#323232;">if (property || property === null) {
</span><span style="color:#323232;">  // do some stuff
</span><span style="color:#323232;">}
</span>

Probably just as much as


<span style="color:#323232;">if (property || property === 0) {
</span><span style="color:#323232;">  // do some stuff
</span><span style="color:#323232;">}
</span>
joneskind,
@joneskind@lemmy.world avatar

TBH I just don’t understand how this kind of human garbage policy can be popular anywhere. I mean, it must be popular if DeSantis has been elected right? Who are the people voting for this shit? And who are the people letting it happen?

joneskind,
@joneskind@lemmy.world avatar

Who is Le Man, and what is so special about him?

joneskind,
@joneskind@lemmy.world avatar

I do ML stuff on my Mac that even the most expensive RTX 4090 could dream of being able to do, because of a buttload of shared memory

As a developer I’ve been missing most of my tools on Linux, and the OS is just catching up.

Friendly remember that macOS is a Unix system that can run any Linux software, meaning that anything done on Linux can be done on macOS.

Proton makes Linux a perfectly fine gaming platform, with sometimes even better performance on Proton than native Windows…

Anyway Windows sucks, that we can agree on

joneskind, (edited )
@joneskind@lemmy.world avatar

I am interested in what tools are missing on Linux that exist on macOS?

  • iOS development tools for starter.
  • A good enough WebKit browser for Technical acceptance testing (GNOME Web is going better, but not quite yet)
  • Visual Studio (The IDE, not the Editor)
  • Quality of life Apps

macOS isn’t Unix and doesn’t contain Unix code

en.wikipedia.org/wiki/Darwin_(operating_system)

“Darwin is mostly POSIX-compatible, but has never, by itself, been certified as compatible with any version of POSIX. Starting with Leopard, macOS has been certified as compatible with the Single UNIX Specification version 3”

macOS also can’t just run all Linux applications. That’s nonsense. It doesn’t use the Linux kernel or its APIs and ABIs.

There are tons of ways to run Linux software on macOS maketecheasier.com/ways-run-linux-software-mac/

Now, can I talk to someone who actually knows what he’s talking about?

joneskind,
@joneskind@lemmy.world avatar

At this point I’m suspecting every single one man who feel the need to write “Alpha Male” in his resumé to be gay with daddy issues.

joneskind,
@joneskind@lemmy.world avatar

Most of young boys are fine and innocent.

But I guess that saying « he’s an alpha male » instead of « he has way too many problems to solve before being able to come out » would be funnier and accurate.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines