nebunez, to javascript
@nebunez@fuzzyroots.net avatar

So is the killer? 😮 Which still uses frameworks . 🙁

Is this peak cross-platform? 🤔

mcchaos, to hamradio German
@mcchaos@metalhead.club avatar

Anybody aware of a supplier for ? I need replacements for , and .
Preferable located in EU ;-) Thanks for any hint!

makealinuxapp, to linux
@makealinuxapp@mastodon.social avatar

Hello 👋

Four years ago we created https://makealinux.app/ to encourage new developers to build applications for .

Reception to the initiative was great, but now the site is in dire need of a spring clean, and new coat of electronic paint! 🖌️

We've started a fresh repository (link in bio) to build the new site. Do stop by, and take a look. It's all a little empty, but we're working on it!

If you'd like to help, we'd welcome contributions! 🙏

tetrislife, to random

So, #Mozilla #XUL was a problem but #Electron / #Tauri are not ... hmmm

indutny, (edited ) to random
@indutny@fosstodon.org avatar

Having some fun time playing with react-reconciler. Not sure if this idea will come to fruition, but I'm hoping to at least get it into a demo-able shape.

indutny,
@indutny@fosstodon.org avatar

Here's the end result: https://github.com/indutny/electron-ssr

I don't know if I have energy or desire to finish it given the limitations (I realized really late that you can't marshal ReactSyntheticEvent), but it was super fun!

The demo looks a bit plain, but all the fun stuff happens under the hood. The UI is translated to real DOM nodes in the renderer (UI process of Electron), but the state (callbacks, count) is actually managed by the main process (aka backend of Electron).

Demo of React rendering between Main and Renderer process n Electron.

indutny, (edited )
@indutny@fosstodon.org avatar

My extended goal with this exercise was to do something like Server-Side Rendering between Electron's Main and Renderer processes. For that to be complete I would need to introduce some sort of boundary class that would let me wrap the components on the server-side (main process), and let client-side (renderer process) actually hydrate them.

I might give it a go a bit later, but I'm quite satisfied with what I got so far!

indutny,
@indutny@fosstodon.org avatar

Aha! It was actually easier than I thought and I managed to do a simplified version that doesn't yet support syntactic sugar of 'use client’. Check this demo out!

The red area is pre-rendered in the main process (server), and the green one is a client component that lives in the renderer process (client). The most important bit is that the main process state (useState and such) is preserved on the refresh, while the renderer process starts afresh!

This is so fun 🤩

Electron React SSR demo

indutny,
@indutny@fosstodon.org avatar

Here is the component's source. As advertised the boundary between client/server components is a bit raw, but that can be polished away given further interest!

Source code:

If you like what I'm doing with this and think that I should keep it up - maybe encourage me a bit with stars and boosts? 🤗

[// Renderer component import { useState, useCallback } from 'react'; export default function Renderer(props) { const { count, addOne, removeOne } = props; const [local, setLocal] = useState(0); const addLocal = useCallback(() => { setLocal((n) => n + 1); }, []); const removeLocal = useCallback(() => { setLocal((n) => Math.max(0, n - 1)); }, []); const reload = useCallback(() => { window.location.reload(); }, []); return ( ### This runs in renderer process

Add globally Remove globally Add locally Remove locally {local + count > 5 ? ( You clicked so much

) : null} Global Count: {count}

Local Count: {local}

Reload Window

); }](https://cdn.fosstodon.org/media_attachments/files/112/070/309/288/395/372/original/ab50aace1d3b6b68.png)

mstankiewicz, to random
@mstankiewicz@pol.social avatar

Don’t use . Use .

andre, to rust
@andre@fedi.jaenis.ch avatar

Built my first app today.

That's a framework for turning web applications into „native“ apps.

From what I can tell, somewhat similar to , but hopefully more secure.

Anyway, compiling Rust crates isn't fun. Will likely defer to some machine soon for this.

I'm very much a fan of interpreted languages.

ajussak, to web French
@ajussak@piaille.fr avatar

Change your mind

ailurux, to random
@ailurux@chaos.social avatar

I'm really excited to share this update. It's all about lua on tangara, and fun things you can do with the lua console. @hailey also guest stars in this one to show off the desktop companion :D https://www.crowdsupply.com/cool-tech-zone/tangara/updates/lua-support

craftyguy,
@craftyguy@freeradical.zone avatar

@ailurux @hailey yay the Companion app isn't some garbage 🎉

martijn, to random
@martijn@ieji.de avatar

Protip. Don't use for your apps if you rely on secure communication. And especially don't leave the developer tools on, or store Auth tokens in plaintext.

kubikpixel, to AdobePhotoshop
@kubikpixel@chaos.social avatar

«Why I chose instead of »

So to say secure 's that are to run on different 's will in my opinion use / with @TauriApps for development and no longer @electronjs:

🦀 https://scribe.rip/why-i-chose-tauri-instead-of-electron-e67b34f8857d

atplume, to Signal
@atplume@blahaj.zone avatar

So, I finally got my Framework Laptop. A day early, too! Beautiful machine, I must say. I put the RAM and SSD in, followed the instructions and I made my choice of operating system.

I hesitated a lot between @fedora and Elementary, but in the end, I went with Fedora because it was recommended and I love @gnome. When @elementary 8 releases, I'll make sure to check it out, though.

Battery life has been surprisingly good! I've done a lot of things on it today, lots of downloading, opening and closing stuff, with constant downloading and music streaming in the background. I've been losing around 10% per hour.

Honestly, it's all good hardware side. I'm still not a fan of the keyboard which could be a deal breaker as this is the one thing that I'm stupidly picky with, but I think I just need to get used to it.

My issues are more with the software and on that, there isn't much the @frameworkcomputer team can do.

First off, the animations in GNOME just aren't smooth and I can't seem to figure out why, I'm never getting that buttery smooth 60 fps scrolling, for exemple. But I can deal with this.

No, my two big gripes for now, are : Scrolling speed. I've looked it up and I found people complaining about of a simple "scroll speed" adjuster in GNOME for years. It's a massive issue right now, scrolling is just ridiculously sensitive and because I'm not a very technical person, I haven't been able to figure out how to fix it. :(

Another thing is... what's up with apps? I use three. Notesnook, Cider 2 for Apple Music and . All three look blurry.

Notesnook takes it one step further by being especially weird at this. I used two versions of the app. The Flatpak. And the Appimage. Both have their own annoyances. The flatpak is crisp af, I love it, BUT... it's header is light theme only, not following the theme of GNOME and the mouse cursor gets either huge or tiny when using it. The Appimage though, follows the theme correctly, has normal size cursor... but is a blurry mess.

@notesnook Is this something you can fix? Or is this just out of your control?

It's my understanding that Electron apps and Wayland are not into each other? I hope they accept one another soon and kiss, because this is really bothering me. And I hate that I don't know how to contribute to this, so I'm sitting here. Complaining. While not contributing anything. Like an asshole. :(

But other than that, well. it's working really well so far.

itnewsbot, to NewZealand
@itnewsbot@schleuss.online avatar

Before snagging a chunk of space junk, Astroscale must first catch up to one - Enlarge / This artist's illustration released by Astroscale shows the A... - https://arstechnica.com/?p=2004454

piefedadmin, to kbin
@piefedadmin@join.piefed.social avatar

Google provides a tool called PageSpeed Insights which gives a website some metrics to assess how well it is put together and how fast it loads. There are a lot of technical details but in general green scores are good, orange not great and red is bad.

I tried to ensure the tests were similar for each platform by choosing a page that shows a list of posts, like https://mastodon.social/explore.

https://join.piefed.social/?attachment_id=308Mastodonhttps://join.piefed.social/?attachment_id=307Peertubehttps://join.piefed.social/?attachment_id=311Misskeyhttps://join.piefed.social/?attachment_id=309Lemmyhttps://join.piefed.social/?attachment_id=313kbinhttps://join.piefed.social/?attachment_id=315Akkomahttps://join.piefed.social/?attachment_id=310PieFedhttps://join.piefed.social/?attachment_id=314pixelfedhttps://join.piefed.social/?attachment_id=312PleromaPieFed and kbin do very well. pixelfed is pretty good, especially considering the image-heavy nature of the content.

The rest don’t seem to have prioritized performance or chose a software architecture that cannot be made to perform well on these metrics. It will be very interesting to see how that affects the cost of running large instances and the longevity of the platforms. Time will tell.

https://join.piefed.social/2024/02/13/technical-performance-of-each-fediverse-platform/

piefedadmin,
@piefedadmin@join.piefed.social avatar
spaceflight, to space
@spaceflight@spacey.space avatar
spaceflight,
@spaceflight@spacey.space avatar
revesdespace, to random French

🚀 Missions réussies pour Rocket Lab et son lanceur : 4 satellites Skylark pour la surveillance spatiale ont été placés sur orbite basse et le premier étage a été récupéré dans la mer après descente sous parachute
📷 Rocket Lab

image/jpeg
image/jpeg

pi_crew, to NixOS
@pi_crew@social.project-insanity.org avatar

Unfortunately apps are still a bit unstable on . I added some workarounds by @GetPsyched to the wiki on how to get VSCodium running again 🔧 https://nixos.wiki/wiki/VSCodium

revesdespace, to random French

📢 Mercredi, jour de lancement
🚀 - tentative de récupération du premier étage après descente sous parachute et amerrissage
🛰 “Four Of A Kind”, 4 satellites Skylark de Spire pour la surveillance des débris spatiaux
⏰ 6h15 UTC
🌎 Péninsule de Mahia, Nouvelle-Zélande
📷 Rocket Lab
📺 https://www.youtube.com/watch?v=NDyxRPGWhRo

frankel, to rust
@frankel@mastodon.top avatar
revesdespace, to random French

📢 Dimanche, jour de lancement
🚀 - tentative de récupération du premier étage après descente sous parachute et amerrissage
🛰 “Four Of A Kind”, 4 satellites Skylark de Spire pour la surveillance des débris spatiaux
⏰ 6h15 UTC
🌎 Péninsule de Mahia, Nouvelle-Zélande
📷 Rocket Lab
📺 https://youtu.be/iLwTLqaCnQ8

berto, to random
@berto@floss.social avatar

The amount of security holes in the software that we use every day is depressing, just this month I had to update Chromium four times in order to fix a total of 19 vulnerabilities.

craftyguy,
@craftyguy@freeradical.zone avatar

@berto ya, but it seems like they are often the worst offenders. And it doesn't help when there are things like ... which lets a full web browser go around masquerading as things like a chat client, text editor, etc.

andros, to emacs
@andros@hostux.social avatar

I publish a new article: «Creating desktop applications using the Emacs core»
https://programadorwebvalencia.com/creating-desktop-applications-using-the-emacs-core/

In summary, I can use Emacs to create GUIs with an Elisp backend.

mjgardner,
@mjgardner@social.sdf.org avatar

@andros @marcolas The point is your architecture is the same as , replacing embedded and running with embedded running .

So every app using it has all of ’s disadvantages:
• lowest-common-denominator obviously foreign to the host OS
• non-portable shims to integrate with host OS features
• an individually bespoke runtime consuming storage, memory, and compute as if it were a separate virtual machine

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