Stefano

@stefano@discuss.systems
5 Followers
5 Following
23 Posts

Yet another professional in architecture and systems design.

and also...
👨‍✈️ Airplanes Pilot
🤿 Scuba Diver
🏃‍♂️ Runner

🇮🇹 Living in 🇬🇧

Thoughts and views are my owns

Websitehttps://stefanocislaghi.com
LinkedInhttps://linkedin.com/in/stefanocislaghi
If you are in #london and wanna talk about #GraphQL then you want to join the London GraphQL Meetup https://guild.host/events/london-graphql-july-n9q9qd
London GraphQL July | Guild

Jul 1st 6:00PM: Come and join us for the Summer edition of London GraphQL; Two talks on the most up-to-date GraphQL topics interspersed with

Guild
Let’s promote a new app for #aviation geeks https://apps.apple.com/app/id6744141393
‎Redhill ATIS

‎Elevate your flying experience with the Redhill Aerodrome Weather App, the ultimate tool for private pilots navigating the skies around EGKR, Redhill Aerodrome in Surrey, UK.  Designed with the unique needs of small airport operations in mind, this app provides you with real-time local weather updat…

App Store

Happy 50th birthday, cron! Thanks for remembering all of our jobs for us 😎

https://en.wikipedia.org/wiki/Cron

#cron #unix #linux #birthday

Guess I am obsessed by #primenumbers 😂 I always try to have a room which is a prime number. 1901 is both a prime number for the floor (19) and for the room.
Way too many companies talk about #innovation. They claim they do it. They are unsure what's that. Innovation is a broad concept, I agree, but it's about changing price or upgrading your laptops. I can't really stand with those talk about innovation, just because it's a nice #buzzword.

FINAL §

Juntao Qiu finishes his article on data fetching patterns for single-page applications. This last pattern is Prefetching, which involves fetching data before it's called for in the application flow. Although this can mean data is fetched unnecessarily, it reduces latency should the data be needed.

https://martinfowler.com/articles/data-fetch-spa.html#prefetching

Data Fetching Patterns in Single-Page Applications

Five patterns to help Single Page Applications fetch data from remote sources

martinfowler.com
#graphql community on mastodon seems nonexistent
The time you discover that you forgot about your mastodon but also #raycast has a trouble with the auto. @dan is it all ok with #oauth? I unfortunately just get a generic error
“I have been doing it for ages” is probably the worst #anti #pattern in #softwaredevelopment
That feeling of taking out #twitter from your #github profile
×

Happy 50th birthday, cron! Thanks for remembering all of our jobs for us 😎

https://en.wikipedia.org/wiki/Cron

#cron #unix #linux #birthday

@thedarkener Cron syntax still sux though
@pecet @thedarkener At least it is easier to cron syntax get right than getting #systemd timers to do anything useful 😃
@thedarkener
Remembering 50 years? I can't remember what I just typed!
@thedarkener @nblr real talk: how did you get reminded?
@thedarkener 50 years and I still can't remember it's syntax.

@a1ba @thedarkener Heh I just have this at the start of my crontab files as a cheatsheet:

# field values # ----- ------ #-minute 0-59 # +-hour 0-23 # | +-day of month 1-31 # | | +-month 1-12 # | | | +day of week 0-7 (0 or 7 is Sunday, or use names) # | | | | + command
@lanodan @thedarkener I'll take it, thanks
Crontab.guru - The cron schedule expression generator

An easy to use editor for crontab schedules.

@me @a1ba @thedarkener
> We created Cronitor because cron itself can't alert you if your jobs fail or never start.

That's false, setup an MTA on your servers and you'll get alerts when the cronjob fails (or when the commands printed something out, useful to check their work), as for never starts well, any monitoring tool should be able to monitor that.

@lanodan @thedarkener @a1ba

> setup an MTA on your servers

yeah that's a tall order for some people

@a1ba @thedarkener 50 years and I still get regularly burned by accidental output from cron jobs. :-)
@thedarkener i used systemd timers, never used cron
@thedarkener and thanks @mibh for his "modern" implementation (a "lot" more recent ;-))
@thedarkener dang, cron can't run jobs every 50 years!
@thedarkener 50 years of accidentally typing crontab -r

@thedarkener A friend was at a conference dinner and sitting next to Paul Vixie. The MC introduced Paul and mentioned some of the programs he wrote, but excluded cron.

My friend leaned over and said something like "They missed cron, I use it every minute of every day, thank you!".

@thedarkener wow, and not a single day of vacation. Not even on Jan. 1 st, 2000 😉
@thedarkener It’s a common misconception that cron is 50 years old, because it’s its 50th birthday. In reality, for a very short period of time, someone accidentally wrote cron’s birthday expression with a * in the first column, which resulted in a birthday per minute until they realised their mistake.
@thedarkener I'm Jealous of cron. You only have to tell it once for it to form a habit ​
@thedarkener If only the syntax wasn't so arcane...
@dusnm Well good thing is, you only have to learn it once ;)
@thedarkener @dusnm I use https://crontab.cronhub.io/ to solve that problem
Cron expression generator by Cronhub

Cron expression generator by Cronhub

@gunchleoc @thedarkener Eh, I moved to systemd-timers a while ago.

@jwp @thedarkener I love using timers, cron syntax is scary.

And tbh, in the end I am already using systemd for all my services and stuff so win win.

@thedarkener Cronjobs are really very helpful (and much much much much much more reliable and stable than the Windows Task Scheduler)

@mbeddedDev That might have something to do with the operating system each was designed for respectively. 🙂

@thedarkener

@mkj I know. But in a project we used the Task Scheduler a lot and even basic stuff like "curl <some url> every 30 minutes" led to issues.
But we had to use a Windows Server -.-"

And something like "do a task at <time>" should just work :D

@thedarkener ahh, cron, computers doing stuff for you when you want it. Seems like it can think on it's own, just deciding to do stuff, so essentially it's the original large language model.
@thedarkener I will celebrate in a timely manner
@thedarkener I think the only correct response for this is to create a cron job that posts an update to this thread every year 😄

@thedarkener I'm still interested in meeting the person or persons who introduced the -e and -r args to crontab.

I have questions.

@thedarkener long live Unix tools and its culture.
@thedarkener TIL that cron existed and it was already better than i thought it could be