|
Over the decades I've relied heavily on bash aliases and functions to automate common tasks, resulting in a .bash_profile that's over a thousand lines long. But lately I find myself writing many small scripts instead. These tiny scripts, which live in a directory on my $PATH, have several advantages: They compose nicely, in line with the Unix philosophy . They are reasonably portable. If it works for me on Linux, it'll often work on....
|
|
Over the decades I've relied heavily on bash aliases and functions to automate common tasks, resulting in a .bash_profile that's over a thousand lines long. But lately I find myself writing many small scripts instead. These tiny scripts, which live in a directory on my $PATH, have several advantages: They compose nicely, in line with the Unix philosophy . They are reasonably portable. If it works for me on Linux, it'll often work on....
|
|
Hi, Deine E-Mail-Validierung ist falsch (wahrscheinlich). Und deine Modellierung, dass jeder Mensch einen Vor- und einen Nachnamen hat, ist ebenfalls falsch. Als ich in den vergangenen Tagen meine Bookmarks auf der Suche nach einem Artikel zu Project Management in BigTech durchforstet habe, bin ich auf einen alten Artikel von 2010 gestolpert: Falsehoods Programmers Believe About Names . Ein exzellentes Essay! Unsere Annahme..
|
|
Today’s fun was implementing OAuth2’s RFC 7636 ’s PKCE (Proof Key for Code Exchange) in C#. It’s relatively straightforward, but I decided to share my implementation should it be helpful to someone else out there. PKCE is an extension to the Authorization Code flow to prevent CSRF and authorization code injection attacks. [..] It was originally designed to protect the authorization code flow in mobile apps, but its ability to prevent ..
|
|
Ask any software engineer and they’ll tell you that coding date logic can be a nightmare. Developers need to consider timezones, weird date defaults, and platform-specific date formats. The easiest way to work with dates is to reduce the date to the most simple format possible — usually a timestamp. To get the immediate time […] The post Date.now() appeared first on David Walsh Blog .
|
|
Ask any software engineer and they’ll tell you that coding date logic can be a nightmare. Developers need to consider timezones, weird date defaults, and platform-specific date formats. The easiest way to work with dates is to reduce the date to the most simple format possible — usually a timestamp. To get the immediate time […] The post Date.now() appeared first on David Walsh Blog .
|
|
We all have secrets. Sometimes, these are guilty pleasures that we try to keep hidden, like watching cheesy reality TV or indulging in strange comfort food. We often worry: “How do we keep the secret safe?” “What could happen if someone finds out the secret?” “Who is keeping a secret?” “What happens if we lose […]
|
|
I can't believe I haven't written anything here in over a year. I increasingly want to move my experimental, art, hobby, and professional content away from platforms that exist to extract value from me and my friends. I'd also like to be less precious with this space, to treat it in the casual, experimental fashion I would treat Instagram or Facebook. So I'm going to be playing around with posting shorter posts, unfinished things, and ....
|
|
I can't believe I haven't written anything here in over a year. I increasingly want to move my experimental, art, hobby, and professional content away from platforms that exist to extract value from me and my friends. I'd also like to be less precious with this space, to treat it in the casual, experimental fashion I would treat Instagram or Facebook. So I'm going to be playing around with posting shorter posts, unfinished things, and ....
|
|
I can't believe I haven't written anything here in over a year. I increasingly want to move my experimental, art, hobby, and professional content away from platforms that exist to extract value from me and my friends. I'd also like to be less precious with this space, to treat it in the casual, experimental fashion I would treat Instagram or Facebook. So I'm going to be playing around with posting shorter posts, unfinished things, and ....
|
The post discusses my experience with learning and using Ruby, highlighting its good, bad, and weird parts.
|
|
Snyk welcomes Helios, accelerating our ASPM vision with runtime insights
-
snyk.io
-
2 years ago
-
eng
Snyk announces acquisition of Helios, accelerating application security posture management (ASPM) capabilities with runtime insights.
|
|
Selling my company was a milestone that many entrepreneurs dream of. But today, I get to look back on all of that nearly two years later with the benefit of hindsight.
|
|
Using todoist as a cloud inbox for GTD in Emacs orgmode for better integration with services like Slack and Google Assistant
|
|
Using todoist as a cloud inbox for GTD in Emacs orgmode for better integration with services like Slack and Google Assistant
|
|
Using todoist as a cloud inbox for GTD in Emacs orgmode for better integration with services like Slack and Google Assistant
|
|
User input from HTML form fields is generally provided to JavaScript as a string. We’ve lived with that fact for decades but sometimes developers need to extract numbers from that string. There are multiple ways to get those numbers but let’s rely on regular expressions to extract those numbers! To employ a regular expression to […] The post Extract a Number from a String with JavaScript appeared first on David Walsh Blog .
|
|
User input from HTML form fields is generally provided to JavaScript as a string. We’ve lived with that fact for decades but sometimes developers need to extract numbers from that string. There are multiple ways to get those numbers but let’s rely on regular expressions to extract those numbers! To employ a regular expression to […] The post Extract a Number from a String with JavaScript appeared first on David Walsh Blog .
|
|
A retrospective on getting solar panels installed. The installation cost around 5k€ (4k€ after government subsidies), and we were able to generate over 80% of our yearly consumption and save just short of 1k€ in year 1 as well as shave off our CO2 footprint by over a ton
|
|
Executive summary: If you have excess savings that you want to grow and compound with minimum drawdowns, you should put half of it in global stocks, a quarter in bonds, and the last quarter in gold. Rebalance yearly and go to the beach. The Persian Portfolio is an investment portfolio that consists of just three […]
|
|
This site under construction I had a failure scenario with WordPress and PHP versions. As I think a static site should be created statically, I’ve decided to export the current content and create a new web site with Hugo.
|
|
Not technical writing, but Jim Lawless interviewed me on his "Stray Pointers" podcast. We discuss Forth, C, CGI, Python, Go, and AWK.
|
|
I've started a new position as Staff Engineer at Float Health. We're using a nice SaaS tool called Range for daily checkins as well as meeting agendas and notes. The workflow encourages everyone to write a small handful of bullets about the main things they worked on each day. We are lucky enough to have Range founder Dan Pupius working with us at Float Health, and I had to smile and send him this ancient screenshot. This is essentially m..
|
|
In the world of mathematical statistics, there is a constant confrontation between adepts of different paradigms. This is a constant source of confusion for many researchers who struggle to pick out the proper approach to follow. For example, how to choose between the frequentist and Bayesian approaches? Since these paradigms may produce inconsistent results (e.g., see Lindley’s paradox ), some choice has to be made. The easiest way to con..
|
|
This is a story of how a random person on the internet set me thinking and eventually triggered a change to this blog. It started last September, when someone suggested offering email subscriptions in addition to the existing RSS feed. The thing is… I was purposefully not offering email subscriptions! What a waste, someone might say: you had multiple articles reach the Hacker News frontpage in 2023, yet you failed to “capitalize” on the opp..
|
|
In the world of mathematical statistics, there is a constant confrontation between adepts of different paradigms. This is a constant source of confusion for many researchers who struggle to pick out the proper approach to follow. For example, how to choose between the frequentist and Bayesian approaches? Since these paradigms may produce inconsistent results (e.g., see Lindley’s paradox ), some choice has to be made. The easiest way to con..
|
|
In this post I will show you how to setup Linkding, a self hosted bookmark manager that I am personally using for a while now and I am very happy with it. I will also share with you my setup and how I am using it.
|
|
In this post I will show you how to setup Linkding, a self hosted bookmark manager that I am personally using for a while now and I am very happy with it. I will also share with you my setup and how I am using it.
|
|
You've likely heard some variant of the morality story where someone justifies their (commercial) worth as mostly a matter of knowledge, and not just labor. A typical version is as follows - a handyperson is hired to fix a failing heater. They spend a few minutes investigating and listening to it from a variety of locations, and then tap a particular spot with a hammer and fix it. They bill the owner of the heater $300 - the owner obj....
|
La campagne de don de Framasoft est dorénavant finie. Grâce à vous, l'association a pu boucler son budget 2024. J'aimerais revenir sur la barre de don animée que Framasoft a proposé lors de sa campagne. On va jouer à qui-est-qui ! 😁
|
|
Streaming services have revolutionized content delivery, sending linear media companies into a panic as they watch traditional cable services decay. “Cutting the cord” is a common practice these days, but the streaming landscape isn’t perfect. We’re a decade into streaming so I wanted to share my thoughts on the state of new media: first impressions, […] The post Thoughts on Streaming Services: 2024 Edition appeared first on David Wals..
|
|
Streaming services have revolutionized content delivery, sending linear media companies into a panic as they watch traditional cable services decay. “Cutting the cord” is a common practice these days, but the streaming landscape isn’t perfect. We’re a decade into streaming so I wanted to share my thoughts on the state of new media: first impressions, […] The post Thoughts on Streaming Services: 2024 Edition appeared first on David Wals..
|