Pinned toot

Native Android apps on Linux.

So I took some time to shape out and write down my thoughts. And now I'd like the opinion of experts on the subject (or anyone with objective criticism).

@postmarketOS
@Ubports
@purism
@sailfishosnews

gitlab.com/ThibaultLemaire/and

Pinned toot
Pinned toot

I'm a software developer. I believe in Libre software , decentralisation, encryption by default, and also functional programming.

I currently am on with .

Unordered set of stuff I like:
- Steampunk
- Cycling
- Goa Trance
- Uplifting Trance
- Synthwave
- Electro Swing
- Nightcore

Naughtylus :nixos: :plasma: boosted

No. I don't care. This might be the most controversial thing I've ever posted, but it's "Graphics", not "Jraphics". Neither Smuckers or Wilhite are changing that.

"Jif settles the great debate with a GIF peanut butter jar - CNN"

cnn.com/2020/02/25/business/ji

Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted

Please remember that #Git is by nature distributed. So when migrating from (for example) #GitHub to (for example) #GitLab please, please, please do NOT create a brand new repository and git add the files, or the entire commit history will be lost. Instead, just push the existing repository to your new hosting service.

Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted

A lot of people like to have the option of having a dark mode for a website. Maybe they prefer the look, or maybe they want to save their eyes from strain. This post will show you how to implement an automatic CSS dark mode that changes depending on your visitor’s theme. CSS Dark Mode On this site, I define variables to set the colours of my theme. I’d suggest you do the same, as it will make this process a lot easier. My standard variables are as follows: :root { –accent: #226997; –main: #333; –light: #666; –lighter: #f3f3f3; –border: #e6e6e6; –bg: #ffffff; } If you want to use these variables throughout your stylesheet, you do so like this: p { color: var(–main); } This way, if you ever want to change the colours of your theme, all you need to do is amend the variable you defined and everything using that variable will be updated. Now we need to define a new set of variables that will be used when CSS dark mode is invoked. For me, the additional variables look like this: /* Define colours for dark mode */ :root { –accent: #3493d1; –main: #f3f3f3; –light: #ececec; –lighter: #666; –border: #e6e6e6; –bg: #333333; } Adding Dark Mode Support We now have our two sets of variables defined. The only thing left to do is add the prefers-color-scheme media query to our dark variables. Take your dark colour variables and add the @media query below: /* Define colours for dark mode */ @media (prefers-color-scheme: dark) { :root { –accent: #3493d1; –main: #f3f3f3; –light: #ececec; –lighter: #666; –border: #e6e6e6; –bg: #333333; } } That’s literally it! Your site will now automatically switch to dark mode if someone is using a dark operating system theme and visits your site. My light theme My dark theme Testing It Works I’m sure you will want to test this change works. To do so, you can simply enable a dark theme on your operating system, such as the iOS dark theme. Alternatively, if you don’t want to mess around with your OS themes, you can force this test in Firefox. Here’s how: Open Firefox and type about:config in the address bar and hit enter.You will be asked to accept the risk. Accept it.In the search bar, search for ui.systemUsesDarkTheme.Change the checkbox to number and click on the + symbol.Change the value to 1 and […]

https://kevq.uk/how-to-add-css-dark-mode-to-a-website/

Naughtylus :nixos: :plasma: boosted

The year is 2025

There are five browser cores:
- webkit
- chromium
- gecko
- servo
- youtube-dl, which ended up implementing a full-fledged browser in python to keep successfully downloading videos

Naughtylus :nixos: :plasma: boosted

p2p is the future
federation is just a not-so-happy medium between centralization and decentrialization

Naughtylus :nixos: :plasma: boosted

fosdem, google 

Naughtylus :nixos: :plasma: boosted

I couldn't find a simple example on how to get started with Rust and SDL2 in Webassembly so I went ahead and ported a good one I found in C++.

thibaultlemaire.gitlab.io/rust

Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted

Just found a neat little game on #FDroid.

2050 (A game loosely based on 2048, but with circles instead of squares) - f-droid.org/app/org.mattvchand

Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted
Naughtylus :nixos: :plasma: boosted

Big picture, in the next decade, I would like to see:

1. Federated free software services become the dominant platform for social media and messaging.

2. A more privacy-oriented and cryptographically-literate public, and simple, standard free software tools anyone can leverage for this purpose.

3. Open hardware, especially RISC-V, becoming the dominant approach for new hardware development.

4. Recapturing the mobile market from proprietary walled gardens, instead favoring models which put the user in control of their devices (e.g. pmOS).

5. Average (read: non-SV CEO) technologists becoming more politically engaged, including running for and winning offices, and using political will to reinforce the above and start making a difference outside of tech

Show more

Naughtylus :nixos: :plasma:'s choices:

Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.