@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.

JackEvans, to random
@JackEvans@fosstodon.org avatar

Why is my machine feeling sluggish? Oh because slack is just idling in the background and leaking memory like a waterfall.

lil5,
@lil5@fosstodon.org avatar

@JackEvans slack developers sounds like you need to install more ram :troll:

lil5, to random
@lil5@fosstodon.org avatar

React Invoice Generator
https://lil5.github.io/react-invoice-generator/

I've added mobile support to React Invoice Generator, give it a go!

@amunizp

onthefencedev, to DuckDuckGo
@onthefencedev@twit.social avatar

Is it me or is #duckduckgo down for everyone?

Not getting any search results at the moment

lil5,
@lil5@fosstodon.org avatar

@auyongcheemeng @onthefencedev @witewulf

startpage.com
searx.space
search.brave.com

linus, to random
@linus@donotsta.re avatar

Anyone remember /cgi-bin? I brought it back, but using a Bash webserver and my own JS engine instead of Perl scripts :blobcat3c:

https://linus.dev/posts/kiesel-devlog-8/

lil5,
@lil5@fosstodon.org avatar

@linus right! now I see the eval function shudder

But yeah cgi is great for hobby projects and home scripts

lil5,
@lil5@fosstodon.org avatar

@famfo @linus

is able to do so too, and much faster then JS

http://stackoverflow.com/questions/43701302/ddg#43711864

zsoltsandor, to fediverse
@zsoltsandor@social.lol avatar

I like @Mastodon, however I am also flirting with the could-have-been, @movim as a platform to discover. If only had proper 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.

#dst #summertime #eu

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 rendered in the browser, , , , 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 ๐Ÿ’ญ

#hledger #accounting #bunjs

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

lil5,
@lil5@fosstodon.org avatar

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

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 #wc #WebComponents

#React 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 ๐Ÿ‘

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

lil5, to diy
@lil5@fosstodon.org avatar

While building cupboards, this tool helped me out with picking out how many boards to buy for cutting into shelves: https://www.opticutter.com

#diy #free #webapp #woodworking

@muppeth might be something for you too

lil5, to typescript
@lil5@fosstodon.org avatar

In #typescript there are times when the the browser declaration lib.dom.d.ts is in my opinion too strict:

> Passing an invalid ID to clearTimeout() silently does nothing; no exception is thrown.
https://developer.mozilla.org/en-US/docs/Web/API/clearTimeout

And yet the declaration files only allow a number for clear timeout, while in the browser it works perfectly fine if I do: โ€œclearTimeout(null)โ€.

lil5, to typescript
@lil5@fosstodon.org avatar

I see people religiously abstaining from the any keyword, and as always being overly pedantic in code is a bad thing:

For example;
let arr = [1,2,null]
let Narr: number[] = arr.filter(n => n !== null)

This would fail tsc without adding โ€œas any as number[]โ€ at the end

lil5,
@lil5@fosstodon.org avatar

@valentino With how many devices that run Windows (without #tpm 2.0 or 8gb ram) or MacOS (earlier than 2018), itโ€™s no surprise people are #SwitchingToLinux .

To give some perspective the GTX1060 (from 2016) still holds 4% of steam users.

pjol, (edited ) to fediverse

deleted_by_author

  • Loading...
  • lil5,
    @lil5@fosstodon.org avatar

    @pjol @ArtemisApp for anyone considering contributing this project isnโ€™t actually GPL

    The team have tried their best to cover it up.

    lil5, to opensource
    @lil5@fosstodon.org avatar

    A project I contributed a small amount to, recently added a license: and I thought no much of it, until they started claiming that this license is โ€œopen sourceโ€

    I created a pull request to replace it with โ€œsource availableโ€ but was rejected

    https://github.com/mormaer/Mlem/pull/240

    A warning to anyone who is interested contributing that this is not GPLv3 software itโ€™s CommonsClaused ๐Ÿ”’

    lil5, to random
    @lil5@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • provamag3
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • lostlight
  • All magazines