kerfuffle, to architecture
@kerfuffle@mastodon.online avatar

Too often, what people call technical debt is simply an encounter with the limits of functional anticipation. If you think a system will never need to do X given the foreseeable usecases and then one day it does need to do X, you don't have technical debt.

Technical debt arises when you then try to shoehorn the needed functionality in, instead of asking/making/taking the time and effort to redesign it.

kerfuffle,
@kerfuffle@mastodon.online avatar

In fact, I've come across more technical debt in systems that tried to anticipate more functionality than reasonably foreseen: overzealous abstraction and open-endedness in a technical implementation can be a nightmare to work with. It's healthier to foster a culture where developers can cooperatively make disciplined adjustments to their software.

opdavies, to random
@opdavies@mastodon.social avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar
martijn, to vscode
@martijn@ieji.de avatar

The Microsoft project looks great, but it could use some activity.

There is a great opportunity to improve the plugin or the tool or to improve it's current default ruleset. You can use this tool for in your code, or common best practices.

Will you help me popularize it's usage? For me it's a serious contestant for the sluggish if it gets a bit more love 🩷

https://github.com/microsoft/DevSkim

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

Here’s a niche gotcha with the clipboard API’s navigator.clipboard.writeText() method that’s unique to Safari:

If you access a function from a module within your gesture handler (e.g., click handler), you will get a permission error.

The (sadly hacky and not as robust) workaround is to set a global variable from your module instead.

Full gist:

https://codeberg.org/aral/gists/src/branch/main/clipboard-writetext-permission-error-when-using-modules-in-safari.md

#Safari #clipboardAPI #JavaScript #ESModules #web #dev #gist

Yrrussaj, to wordpress French
@Yrrussaj@piaille.fr avatar

Salut la communauté. Une petite idée de comment on pourrait récupérer localement le contenu d'un fichier toutes les 10 secondes sur un serveur pour l'afficher sur un site qui tourne sur #Wordpress sur ce même serveur. C'est en gros le nom d'un artiste et d'une chanson diffusée en live sur une radio, et on veut l'afficher sur la page web de la radio.

On peut fait ça en quoi ? En #php ? Avec un plugin ? Et s'il y a 1000 personnes qui accèdent au site en même temps, comment on fait pour éviter de faire 1000 fois la même requête ?

#dev #webdev

nette_news, to php
@nette_news@phpc.social avatar

📝 Group and Sort Data in Latte Templates Like a Pro

In the latest update of Latte, we are introducing several significant enhancements that will simplify and make more efficient the work with data in your templates.

https://blog.nette.org/en/group-and-sort-data-in-latte-like-a-pro

#php #nettefw #programming #webdev #dev

claras_universe, to github
@claras_universe@ieji.de avatar

Im still onto my streak. Its 132 days now. There is no going back, I have to fill the whole thing xD

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

The Evergreen Web section in Kitten’s¹ settings now has its own page too (and uses Kitten’s new Streaming HTML² workflow).

If you have the previous version of your site up somewhere, you can use the 404-to-307 technique³ to forward missing pages to your old site so as not to break the Web.

I’ll add local static archive support later.

¹ https://codeberg.org/kitten/app
² https://ar.al/2024/03/08/streaming-html/
³ https://4042307.org

notsle, to random
@notsle@kzoo.to avatar

Manager: Lets teach a non-developer office worker how to push code to git. "It's just clicking a few buttons. I've done it before. It's not that hard."

Me: :excuse_me:

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

Lots to do yet but the new Kitten¹ settings section (that’s common to all Kitten apps / Small Web places) is coming along nicely. (With the general style/layout borrowed from Domain².)

(It’s currently a single page and I’m breaking it up into multiple ones because it’s time.)

Once I’m done with this I should really record a screencast of Kitten’s new backup and restore feature/data portability.

¹ https://codeberg.org/kitten/app
² https://codeberg.org/domain/app

#SmallWeb #Kitten #Domain #SmallTech #web #dev

chiefgyk3d, to python
@chiefgyk3d@social.chiefgyk3d.com avatar

I was up late trying to figure out a stupid issue I was having with the Crowdstrike API so I didn't stream on twitch last night, hoping to do a stream tonight. I think they took a feature out my team was actually using which would allow me to contain a device and make a note that could be viewed in the dashboard.

javahippie, to fediverse
@javahippie@freiburg.social avatar

I'm following this tutorial by @Gargron, does anybody know if this is still up to date? I can't get Mastodon to find my test-actor in search. The inbox exists and can be posted to, the actor verifyer tools tell me it that it should be valid. I can see in my logs, that the mastodon instance I am searching for is accessing my actor endpoint, but in search, it tells me nothing can be found

https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/

#ActivityPub #Dev

claras_universe, to chess
@claras_universe@ieji.de avatar

I did the first board render with my chess engine :o I'm really happy with how it turned out. And it also shows that the white kingside castling worked xD (Assets from itch.io)

instantiator, to cochlearimplants
@instantiator@mastodon.social avatar

👋 Come work with me at Nesta!

We're looking for a front-end developer to join our small team as we build prototypes / MVPs / and production-ready collective intelligence solutions.

There's lots more information in the job description, and I'll gladly talk to you about the role if you have questions. Reach out!

Apply by 28th May:
https://www.nesta.org.uk/jobs/frontend-mid-level-developer-ccid/

illusionofmana, to GraphicDesign
@illusionofmana@socel.net avatar

to the young graphic designers/artists that do home print media. My word of advice... DONT USE THE BAKED IN PRINT OVER NET FEATURE.
Get a cheap thin client from a thrift or e-cycler, dump windows 7 or linux on it and set up print server.
It will save you a billion years of troubleshooting and wanting to throw your expensive printer out the window.
Wishing you the best. ~An artist who hasnt had a printer issue since 2016!
#graphicdesign #art #artist #IT #tech #homelab #dev #linux

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

:kitten: Meow! New Kitten just dropped:

• Uploads are now listed in the Small Web Place Settings (/💕/settings) of all Kitten apps.

#Kitten #SmallWeb #SmallTech #uploads #settings #web #dev

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

Just deployed a new version of Kitten.

It uses the latest version of JSDB (5.1.3) which fixes an issue where instances of EventEmitter subclasses persisted to the database were erroneously persisting their (by convention private) _events arrays containing AsyncFunction instances and thereby causing a crash on the database open attempt when the AsyncFunction class could not be found as it wasn’t provided to the JSDB.open() method.

https://codeberg.org/kitten/app

:kitten: 💕

aral,
@aral@mastodon.ar.al avatar

… JSDB, by the way, is short for JavaScript Database, which is, umm, a JavaScript database.

It’s an in-process, in-memory database for Node.js for Small Web use that persists to an append-only JavaScript – not JSON, JavaScript – transaction log.

JSDB’s very easy to work with because you just use native JavaScript objects and they just automatically get persisted for you.

e.g., Here’s a quick 6-line Kitten app that persists a counter:

https://codeberg.org/kitten/app#using-javascript-database-jsdb-a-not-so-scary-database

opdavies, to random
@opdavies@mastodon.social avatar
ChrisShort, to github
@ChrisShort@hachyderm.io avatar

Did you know you could follow a lot of GitHub things with RSS? Yes! It's awesome!
Org: https://github.com/ublue-os.atom
Commits: https://github.com/ublue-os/config/commits.atom
Releases: https://github.com/ublue-os/bluefin/releases.atom
User: https://github.com/chris-short.atom

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

Just published a minor update (version 5.1.1) to JavaScript Database (JSDB) that optimises the custom data type¹ serialisation code by removing a redundant return statement:

https://www.npmjs.com/package/@small-tech/jsdb

This change is backwards compatible and shouldn’t require and updates to your projects, including the ones you have in Kitten (which uses JSDB internally).

¹ https://codeberg.org/small-tech/jsdb#custom-data-types
² https://codeberg.org/kitten/app

#JavaScriptDatabase #JavaScript #database #JSDB #Kitten #SmallWeb #NodeJS #web #dev

nette_news, to php
@nette_news@phpc.social avatar

📝 Blog: Aliases: A New Feature in Application Navigation

https://blog.nette.org/en/aliases-a-new-feature-in-application-navigation

#nettefw #php #dev #mvc

nandavereda, to random Portuguese
@nandavereda@ayom.media avatar

Pretendo montar um servidor nextcloud pra família usar, garantindo um local seguro para armazenar fotos pessoais, bem como docs do trabalho.

O plano é comprar um raspberry pi 5, com um HAT M.2 e conectar um nvme de 1TB tanto pra boot/os quanto para os dados. Quando precisarem de mais espaço expandirei com um hdd convencional pela USB; Farei backup regularmente para meu NAS, offsite; Disponibilizarei fora da rede local, usando uma VPS como proxy para burlar o firewall da vivo residencial

opdavies, to php
@opdavies@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • everett
  • magazineikmin
  • thenastyranch
  • Youngstown
  • cubers
  • vwfavf
  • slotface
  • osvaldo12
  • ngwrru68w68
  • rosin
  • kavyap
  • Durango
  • PowerRangers
  • provamag3
  • DreamBathrooms
  • InstantRegret
  • khanakhh
  • Leos
  • GTA5RPClips
  • mdbf
  • tacticalgear
  • ethstaker
  • cisconetworking
  • anitta
  • modclub
  • tester
  • megavids
  • All magazines