@gabrielesvelto@fosstodon.org
@gabrielesvelto@fosstodon.org avatar

gabrielesvelto

@gabrielesvelto@fosstodon.org

Old school nerd.
Knows things about computers that would drive you insane.
Hacks on Firefox at Mozilla.

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

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

Whenever you see “productive” replace it with “happy”. We don't need to be more productive, we need to be happier. We're so good at the former that our productivity is destroying the world we live in.

gabrielesvelto, to OpenAI
@gabrielesvelto@fosstodon.org avatar

Summarizing the recent #OpenAI #ChatGPT debacle

ca1ne, to random
@ca1ne@mastodon.gamedev.place avatar

Ripgrep on Linux:

rg -q --stats -e "fn " ~/code

768019 matches  
765164 matched lines  
46364 files contained matches  
307371 files searched  
0 bytes printed  
3991529330 bytes searched  
48.370520 seconds spent searching  
5.081457 seconds  

/2

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@ca1ne I had thought about this too. With a warm cache ripgrep tears through the 13 GiB of mozilla-central's repository in less than 0.3 seconds. With a cold cache it maxes out my NVMe SSD's bandwidth thus taking ~6.5s.

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@ca1ne BTW the same applies to fzf+fd-find. The combination is so fast that it makes indexing completely useless. And that's in spite of my home folder containing ~9 million files, which shouldn't be exactly "average user".

waltertross, to Israel Italian
@waltertross@mastodon.online avatar

Who am I to disagree with president #Biden? Nobody. But I do. "There is no equivalence – none – between #Israel and #Hamas". Wrong: both sides committed horrible crimes, for which their leaders can rightfully be held responsible.

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@waltertross as someone else said: war crimes are war crimes, even when it's your allies committing them

eniko, to random
@eniko@peoplemaking.games avatar

Sam "I want to date the Torment Nexus" Altman

this whole thing is just a goddamn kink isn't it. he keeps being like "oh noooo what if AI becomes sentient, and eeeevil? what if my AGI girlfriend wants to... step on me? 😱"

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@eniko I find the sexual implications of OpenAI's rise to be deeply disturbing. Especially given the tech bros inclination to shove ChatGPT in unwanted places without asking for consent.

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

The most spineless and slimy politician of the EU sends his condolences for the death of the Butcher of Teheran.

As a citizen of the EU I say good riddance. My thoughts go to the families of the thousands upon thousands of Iranians who have suffered and still suffer under the regime he worked so hard to consolidate.

gabrielesvelto, to amiga
@gabrielesvelto@fosstodon.org avatar

I've just watched the #Amiga demo HAMazing by Desire and I want to say a few words about it. The first ones are: it's insane what hardware that's almost 40 years old could do. It blew my mind as a kid and rightly so.

The demo is all about leveraging HAM mode, which allowed you to display up to 4K colors simultaneously. Let me explain how that worked and how remarkable this demo is. 🧵 1/6

https://yewtu.be/watch?v=i0gilhsxaEA

#DemoScene

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

The original Amiga OCS chipset had a palette of 32 color registers which was the maximum that could normally be displayed at the same time, using 5 bits per pixel to index them plus 1 bit that could be used to halve the brightness of the color.

In Hold-And-Modify mode these 6 bits weren't used to encode a color, but a command. You could set the value of a pixel from a 16 colors palette, or copy the color of the previous pixel while changing one of its components. 2/6

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

By accurately choosing the 16 base colors, and precomputing the color offsets one could display a lot of colors, obtaining remarkably realistic static images.

However the fact that the adjustments needed to happen horizontally meant that it was hard to use for drawing independent objects, or moving ones. Horizontal banding artifacts would usually appear as one was forced to change one channel at a time to reach the target color. 3/6

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

Which leads us to this demo: what makes it amazing is that it does plenty of dynamic rendering in HAM mode, without even the slightest trace of color banding or horizontal artifacts. It's mind-blowing!

To be fair, this is the post-compo version. One of the effects in the compo version (the rotating bars) would exhibit banding, but still, it was amazing. 4/6

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

It's worth mentioning that the demo probably uses one of the craziest tricks that the Amiga hardware had up its sleeve. The color registers could be modified between the scanlines during the horizontal blank, that is during the time the monitor's electron beam moved back, right to left, after having painted a scanline.

Since nothing was being displayed during that period this could be done without the user noticing, yielding a new set of colors per line. 5/6

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

This was achieved via the Copper - one of the Amiga coprocessors - and is not an easy trick, requiring careful coding and precise timing.

Anyway, this demo is fantastic, the authors have amazing skills and the hardware was so much ahead of its time. And if you want to read more about it Wikipedia has a very good article about HAM: https://en.wikipedia.org/wiki/Hold-And-Modify 6/6

gabrielesvelto, to firefox
@gabrielesvelto@fosstodon.org avatar

The nightly version of #Firefox for #Android on 32-bit ARM phones is broken.

It's likely caused by a compiler bug but I'm not sure yet. In the meantime you can use the beta/release versions which both work fine.

I'm investigating the problem here: https://bugzilla.mozilla.org/show_bug.cgi?id=1897635

eniko, to random
@eniko@peoplemaking.games avatar

hmm. 10 unique bosses in kitsune tails once the remaining few are done. feel like that's actually a pretty decent number for a lil indie game

i mean. SMB3 arguably had like, 3

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@eniko sounds like plenty to me. Oniken had 6 IIRC and Odallus: The Dark Call had 12 maybe? But I seem to remember some you encountered twice and it was a much, much larger game than the former.

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@eniko I'm thinking "very successful indie platform games I know of" here. I don't remember how many were in Owl Boy and Iconoclast, but I doubt it was much more than 10.

bhearsum, to random
@bhearsum@fosstodon.org avatar

Been trying out NES games from time to time with the 5 year old. Mario has been a bit too frustrating for him. We picked up Excitebike yesterday, which has been almost perfect. I was surprised to learn you can even make your own tracks!

Are there are other vintage games that are fairly forgiving and good for young kids?

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@bhearsum tetris!

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

In what can only be considered an example of karma, the Houthis struck a tanker which was being used to smuggle Russian oil

https://apnews.com/article/yemen-houthi-ship-attack-6e133626776f4264e66d9f1d0b58315f

mastomememakers, to scifi
@mastomememakers@det.social avatar
gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar
gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@mastomememakers that one is totally accurate

gabrielesvelto, to linux
@gabrielesvelto@fosstodon.org avatar

I've updated my tutorial on how to monitor #ECC memory on #Linux to include information about the kernel_lockdown LSM, and how to make it work when it's enabled.

Long story short, you can still monitor corrected & uncorrected memory errors with kernel lock-down enabled, but only using integrity mode. rasdaemon is incompatible with kernel lock-down confidentiality mode, as it deliberately hides kernel information from userspace applications.

https://www.setphaserstostun.org/posts/monitoring-ecc-memory-on-linux-with-rasdaemon/

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@rgacogne yep, thanks, I'll fix it later

eniko, to random
@eniko@peoplemaking.games avatar

note that a reduction in reaction speed is probably not (solely) a function of aging because there's been studies that point out that after retirement age reaction speed actually increases*

seems way more likely that working age adults being more stressed, overworked, and ill rested reduces reaction speed to me. meanwhile retirees who have no job and functional UBI won't have nearly as many of those issues

*no i will not cite my sources on this since it was years ago i was looking into it, if you want to find the study i recommend you hit up a search engine (if any functional search engines remain in our AI-tainted present)

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@eniko I have no trouble at all believing that a lot of the decline in my reaction speed is being almost constantly tired and overworked

dotstdy, to random
@dotstdy@mastodon.social avatar

The Firefox mobile app is really not good :(

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@dotstdy @DenJohn does the interface still respond but the page remains white and it doesn't load new pages no matter what you do? Sounds like a but I've also encountered: https://bugzilla.mozilla.org/show_bug.cgi?id=1892395

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@dotstdy @DenJohn could you grab the logcat when it happens? That'd be a good way to figure out if it's the same issue

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