raldone01
@raldone01@lemmy.world
- Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites 2 days ago:
I used this script:
import Axios from 'axios' import OldFS from 'fs' import { PromiseChain } from '@feather-ink/ts-utils' const fs = OldFS.promises const image = process.argv[2] const destination = `http://${process.argv[3]}/vfs/ota` const now = process.argv[4] === 'now' const once = process.argv[4] === 'once' async function triggerUpdate(): Promise<void> { console.log('Uploading new binary') const file = await fs.readFile(image) await Axios({ method: 'POST', url: destination, headers: { 'Content-Type': 'application/octet-stream', 'Content-Length': file.byteLength }, data: file }) console.log('Finished uploading') } (async () => { const updateChain = new PromiseChain() console.log(`Watching file '${image}' for changes\nWill upload to '${destination}'!`) if (once) { await triggerUpdate() return } if (now) await updateChain.enqueue(triggerUpdate) OldFS.watch(image, async (eventType) => { if (eventType !== 'change') return let succ = false do { try { console.log('Change detected') await updateChain.enqueue(triggerUpdate) succ = true } catch (e) { console.error(e) console.log('Retrying upload') } } while (!succ) console.log('Upload finished') }) })()
- Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites 2 days ago:
Hahahah. Awesome. Have fun! You just need a simple webserver. The builtin one will do and then you use the ota functions of the ESP IDF.
- Comment on No JS, No CSS, No HTML: online "clubs" celebrate plainer websites 3 days ago:
Back in school my friends all flashed their mcus with 4-8MB images over serial with 115200 baud. I set up ota updates over wifi. They were all fascinated by my speedy flashes. However when I offered to help them set it up not one was interested because their setup was working as is and slow flashing is not a “bad” thing since it gave them an excuse to do.other things.
- Comment on Is Google about to destroy the web? 1 week ago:
Very interesting. I hope this passes as an actual Standart. I looked around but couldn’t find information on how to enable it in the Webbrowser. It just says firefox is not supported.
- Comment on Is Google about to destroy the web? 2 weeks ago:
I would love a if there was a standard websites would use to receive donations. An integrated browser addon that track what you visit and gives you a review before distributing funds after each month would be great. It should accumulate money to avoid transaction fees for tiny amounts.
- Comment on Saying "over" on the radio is like the null byte at the end of a string. 2 weeks ago:
I don’t think a semicolon is semantically correct in this case. It suggest you want to add something. That’s why it is used in programming. You are making statements.
Maybe we should use a
.
after return statements to signal the end of our statement stream. - Comment on public services of an entire german state switches from Microsoft to open source (Libreoffice, Linux, Nextcloud, Thunderbird) 3 weeks ago:
Ahhh 😅😂
- Comment on public services of an entire german state switches from Microsoft to open source (Libreoffice, Linux, Nextcloud, Thunderbird) 3 weeks ago:
I don’t see how this gives any insight into how your subscription price is being used for products relevant to you.
- Comment on public services of an entire german state switches from Microsoft to open source (Libreoffice, Linux, Nextcloud, Thunderbird) 3 weeks ago:
And there could be insight into whether the money is actually used for developing the relevant application.
- Comment on Your help needed: PhD research on why people choose to self-host 4 weeks ago:
Done but I felt lots of questions to be very similar. Maybe there is a form platform that can show only a subset of control questions for every survey.
- Comment on New Cars Don't All Come With Dipsticks Anymore, Here's Why 5 weeks ago:
And the blinker one right? EVs still have that afaik.
- Comment on Android’s next big feature turns your phone into a desktop 1 month ago:
The auto connect foe bluethooth is really infuriating. Windows and android both don’t have options for disabling auto connect.
On linux you can only select wbtween trust and no tust which effectively means auto connect. BUT WHY DONT THEY JUST CALL IT AUTO CONNECT.
It’s a real bummer.
- Comment on [deleted] 1 month ago:
I hate to break it to you but some humans…
- Comment on [deleted] 1 month ago:
I think that may be just a numbers thing. Highly annoying though. And when they crawl over your screen but you can’t remove these little flies without squishing them on the monitor.
- Comment on 13 Creepy Things Your Smartphone Knows About You 1 month ago:
The issue is that the web login requires their app. All major banks in my country have this requirement but I will have another look when the time for a new phone comes.
- Comment on 13 Creepy Things Your Smartphone Knows About You 1 month ago:
I moved over to mostly open source apps where possible. My main issue will be the banking apps that insist on safety net.
Graphene os is great on paper but I would like to buy a different brand than pixel like fairphone.
- Comment on Framework Laptop 12 is now available for pre-order for €569 and up (but not in the US) 2 months ago:
I have not had problems with usb so far on my fw16 but the integrated graphics 780M… My god the amd gpu drivers are a mess.
- Comment on OneNote to perish alongside Windows 10. 2 months ago:
Thanks for the link. I just setup joplin and joplin server.
I migrated all my old samsung notes to joplin.
Sadly I still can’t replace OneNote. There is no open source alternative for an infinite canvas with proper custom server based sync that helps to resolve conflicts. Logseq looks pretty good but the server sync implementation is not open source.
- Comment on OneNote to perish alongside Windows 10. 2 months ago:
Also it seems like every one note version is good at some task or aähas access to formatting/organization options that others can only view.
I wish there was an open source solution in a similar manner to immich (quality and organization) wise.
- Comment on What is your favourite way to transfer files in your homelab? 3 months ago:
Ähm. So your not gonna like this but I just connect with vscode remote-ssh and drag’n drop em from the os file explorer into the vscode one.
So long story short scp I guess.
- Comment on Adding Sata drives to dl380 g7 4 months ago:
I had a dl380 g6 and if a non hp certified gpu was put in it would increase the baseline Fan speed to almost full. Even though the other GPUs temperature values were correctly recognised by the ILO processor.
It was ridiculous.
Maybe its better on the g7 but I wouldn’t count on it.
- Comment on Everyone knows your location 4 months ago:
I just learned that san disk has a 10 year warranty. Today I made a claim for a 5 year old sdcard. Maybe worth a shot.
- Comment on Optimisation is a Slow Process 7 months ago:
Good luck speaking when they are clogged up. :/
- Comment on aerodynamics 7 months ago:
Hydrodynamic
- Comment on All Of Apple’s Foldable iPhone Prototypes Have Visible Creases, Which May Explain The Company’s Apprehension Towards A Launch 8 months ago:
My personal theory for the curved edges is, that samsung just wanted to prevent cheap off brand replacement screens.
- Comment on Yes No 8 months ago:
Good ol cowsay
- Comment on Yes No 8 months ago:
Awesome! Thanks for your work. For me this renders correctly on whatsapp in landscape and on the element desktop client.
Here is a monospace optimized version:
No No No No NoNo NoNo NoNoNo NoNoNo NoNoNo No No No No No NoNoNoNo NoNoNo No No No No NoNoNo NoNoNo
- Comment on Yes No 8 months ago:
Anyone in the mood to reply with the message in a format that I can copy paste?