@lil5@fosstodon.org avatar

lil5

@lil5@fosstodon.org

I try to keep a productive/helpful tone. Also I prefer tabs, sized at 3 😈 My favorite languages/frameworks are Tailwind, GoLang & SQL

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

zsoltsandor, to fediverse
@zsoltsandor@social.lol avatar

I like @Mastodon, however I am also flirting with the #XMPP could-have-been, @movim as a platform to discover. If only #Movim had proper #ActivityPub compatibility.

lil5,
@lil5@fosstodon.org avatar

@Goffi @zsoltsandor @Mastodon @movim why did you choose mercurial?

lil5, to random
@lil5@fosstodon.org avatar

Crowdin uses git wrong
https://crowdin.com/

With the crowdin github integration it first downloads the entire repository every commit then syncs the translations with what it has.

Is translate better in this department?

tool

thewk, to random German
@thewk@fosstodon.org avatar

I maintain that switching between standard and summertime should not be a thing anymore.
Then again, two days a year with an excellence excuse to play with all my watches 🤷🏼‍♂️

lil5,
@lil5@fosstodon.org avatar

@thewk

There are, for instance, more heart attacks and digestive and immune-related diseases in the week following the shift to DST. A small bump in car accidents also tends to be recorded.
Long-term health effects include depression, slowed metabolism, weight gain and cluster headaches.
That's because our "social clock", ie, the schedule under which our societies operate, and our internal clocks, which are more or less aligned with the sun, are out of whack.

array, to random
@array@fosstodon.org avatar

The story of my life when developing some web project is mostly always the same: I can surf on the code waves for a while... And then some apparently minor, silly detail got me stuck for hours. Now it's been a Vue component that refuses to display a selected placeholder by default, so you don't have to stare at an empty select bar. Yes, I've tried that already but no dice. Will I make it? Yeah, or bust. :D

lil5,
@lil5@fosstodon.org avatar

@danielsiepmann @array The most important thing to remind oneself is that in the end it’s just #html rendered in the browser, #VueJS, #React, #AlpineJS, #Angular are just reactive template engines (with state machines).

The question here is: is this an HTML or state-machine fix?

lil5, to random
@lil5@fosstodon.org avatar

I added a template import/export tool for react-invoice-generator

Repo: https://github.com/lil5/react-invoice-generator

Website: https://lil5.github.io/react-invoice-generator/

Let me know what you think 💭

lil5,
@lil5@fosstodon.org avatar

@amunizp this pure client side, static GitHub pages, no server db

lil5,
@lil5@fosstodon.org avatar

@amunizp it’s not mobile friendly atm

If you look at it from a desktop you’ll see the template upload and download buttons

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Minor Kitten¹ update: Even if your page routes now return nothing (e.g., null, undefined, empty string), a proper page will be rendered that includes the development-time WebSocket that powers hot reloads.

So the shortest valid page route is now:

export default () => ''  

And, more importantly, e.g.,

export default () => kitten.html`  
 <page css>  
`

Will also render.

:kitten:💕

¹ <https://codeberg.org/kitten/app>

#Kitten #SmallWeb #HTML #CSS #JavaScript #htmx #hypermedia #web #dev
lil5,
@lil5@fosstodon.org avatar

@aral does kitten run on #BunJS ?

array, to random
@array@fosstodon.org avatar

I can relate: https://blog.ignaciobrasca.com/opinion/2024/03/15/javascript-nightmare.html Maybe some day I will tell the story of the three days I spent trying to find out why my full stack JS project, which ran just fine in local, failed miserably after hitting some API endpoint in production, why it was so hard to debug, and why, even after solving two unrelated consecutive issues "works in my machine, dies on deployment", I still don't really know what caused any of the errors (?) #JavasScript

lil5,
@lil5@fosstodon.org avatar

@array as both @smithy/is-array-buffer and @smithy/util-stream are both written in Typescript my first question would be: is this written in typescript or JavaScript?

lil5, to react
@lil5@fosstodon.org avatar

https://custom-elements-everywhere.com/

A list of JS frameworks and their support for Custom Elements

is the only one that doesn’t support Web Elements properly.

array, to random
@array@fosstodon.org avatar

My first project has died at the worst of times: on deployment. Node/Express+Vue, on a Plesk server. Two whole days trying to make something that did wonders on my local env, doing the same on prod. Because who knows, and believe me: I've tried all I got. I guess I will get the boot and start again. :P

lil5,
@lil5@fosstodon.org avatar

@array @fedops did you have an Acceptance environment? I find most problems can be negated having a second place that’s in a production-like environment.

I’ve tried to take those types of experiences as lessons for what my boundaries are and try to raise them before they occur. E.g.; To release this website I need the following (someone else to test it too, an acceptance environment).

Humans make mistakes, good policies ensure they don’t cause downtime.

lil5,
@lil5@fosstodon.org avatar

@array @fedops GL with the crunch 👍

matrix, to Matrix
@matrix@mastodon.matrix.org avatar

Matrix wouldn't be where it is today without the vibrant ecosystem of FOSS clients, bots, bridges, servers, SDKs, and more!

And it's the people who make it all possible.

Please join us in spreading the love on this and give a shoutout to your favorite projects! 💞

lil5,
@lil5@fosstodon.org avatar

@matrix I tried to email you but no response…

Please set the gomatrix repository to archived, or at least add a banner to the readme stating that the package is no longer maintained.
Cherry on top is to add a link to the GoLang sdk that is maintained.

https://github.com/matrix-org/gomatrix

Please remove it from the list of “stable” SDK on https://matrix.org/ecosystem/sdks/ stable is not synonymous to discontinued.

lil5,
@lil5@fosstodon.org avatar
markwalker, to django
@markwalker@fosstodon.org avatar

Using Anymail to send mail through Mailgun & headers don't exist in the received email, but they're there in django 🤔

The only one that gets through is "X-Mailgun-Tag". It's as if they strip the rest.

#django

lil5,
@lil5@fosstodon.org avatar

@markwalker cool, I found this from them but no email sending tool am I missing it?

https://anymailfinder.com/

paulox, (edited ) to CSS
@paulox@fosstodon.org avatar

Pico CSS v2 has been released! 🎉

A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default. ✨

https://picocss.com/docs/v2

lil5,
@lil5@fosstodon.org avatar

@paulox @mborus picocss is a pure css library so I’d be surprised if htmx wouldn’t work well

lil5, to django
@lil5@fosstodon.org avatar

gopy - github.com/go-python/gopy

A great way to speedup #django with #golang

Generates the cpython glue code & compiles golang, to integrate into a #python project

https://pkg.go.dev/github.com/go-python/gopy#section-readme

peertube, to fediverse
@peertube@framapiaf.org avatar

We are in the process of developing a mobile application in 2024 🎉 :peertube:

Before starting the technical development, we felt it was important to understand the expectations of people who are watching #PeerTube videos.

We're looking for a few people to take part in a short 30 minutes video conference during the week of 15-19 January to find out more about your needs and opinions regarding the adaptation of PeerTube as a mobile application.

Send us a direct message if you're interested!

lil5,
@lil5@fosstodon.org avatar

@peertube @yunohost will the episodes be downloaded using torrent / web torrent?

#iOS or just #android ?

lil5,
@lil5@fosstodon.org avatar

@peertube @yunohost

https://apple.stackexchange.com/a/463624

Torrent clients are in conflict with section 5.2.3 of the App Store Review Guidelines (Audio/Video Downloading: Apps should not facilitate illegal file sharing), so there can't be any apps in the store which would be able to download torrents.

pwaring, to random
@pwaring@fosstodon.org avatar

Can anyone recommend a shop in the UK which sells desks or tables at standing height? I usually buy from Ikea but all of their fixed height desks seem to be at sitting height.

I don't want an adjustable desk as they are too heavy for me to assemble and move by myself. I want a fixed height desk at standing height. Basically the same as any normal desk but with longer legs.

lil5,
@lil5@fosstodon.org avatar

@pwaring you might find something in the bar-table section.

randomlinuxuser, to random

Hi @JoeRess i was listening to @LateNightLinux yesterday and I am having the same random WiFi disconnects as you on an m1 Mac Pro. Can you point me in the direction of the article you saw indicating what “features” to disable so I can try this please? Unfortunately installing asahi linux is not an option for me 😔.

lil5,
@lil5@fosstodon.org avatar

@randomlinuxuser @JoeRess @LateNightLinux It’s a desktop computer, connect it with an Ethernet cable.

lil5,
@lil5@fosstodon.org avatar

@JoeRess @randomlinuxuser @LateNightLinux one with; Cable clip nails, cable ducts & meters of utp in every second hand shop.

It’s not that hard to add wiring, getting started can seem daunting but it’s worth it!

xahteiwi, to markdown
@xahteiwi@mastodon.social avatar

Hivemind, please help.

One thing that still eludes me is a way to lint #Markdown files to enforce a one-sentence-per-line rule. This is remarkably nontrivial.

Can somebody point me to such a thing? Ideally in #Python, but I'll take any language (even an emacs minor mode will help).

A bajillion bonus points if the thing can also unwrap wrapped paragraphs and automatically turn them into one sentence per line.

Boosts appreciated, thanks!

https://sive.rs/1s

lil5,
@lil5@fosstodon.org avatar

@xahteiwi

#prettier is my go to for formatting files

  • It does code formatting inside md code blocks
  • Renumbering sorted lists
  • Adds table spacing
  • Adheres to .editorconfig configuration

https://prettier.io/blog/2017/11/07/1.8.0.html

mikestreety, to random
@mikestreety@hachyderm.io avatar

What's the best tool for end to end/integration testing a non-react app?

I understand Puppeteer and want to automate some clicking etc and ensure I get the right results. It would be nice if it could async some tests.

It seems Jest is the right tool, but everything says it is react based

lil5,
@lil5@fosstodon.org avatar

@mikestreety

https://www.vitest-preview.com/

Visualize your #Vitest tests in a browser with the minimum configurations.

https://vitest.dev/

A Vite-native testing framework. It's fast!

onthefencedev, to macbookpro
@onthefencedev@twit.social avatar

hmmm - so, in the market for a new #macbookpro and torn between a 14" with a 1TB SSD and 16" with a 512GB SSD.

Do I need the larger screen or more storage?

My current MBP is a mid-2015 15.4" model so I've got my moneys worth out of it ... but it's starting to struggle now and isn't getting any OS updates so it's usefulness is deminishing.

It also "only" has a 250GB SSD and I'm nearly maxed out.

lil5,
@lil5@fosstodon.org avatar

@onthefencedev the more important question is how much ram does it have?

Storage can always be moved to external space; NAS, usb, cloud but RAM is set.

Currently rocking an M1 mini with 16GB RAM and I’m still using swap space occasionally.

Extensive usage of swap space lower the longevity of your SSD

#apple #mac #m1

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