Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
Top Categories > programming
#all #programming #history #startups #technology #science #life #literature #architecture #travel #creative #design #comics #cartography #finance #AI #indiehacker Muted Categories [alt+←][alt+→]
Posts on Nikita...
Orange-Website-Proofing My Blog Discussion on HackerNews and Lobsters. Over the course of one year this website is deployed, I did...
a year ago
6
a year ago
Discussion on HackerNews and Lobsters. Over the course of one year this website is deployed, I did not pay a penny for hosting it. Sure, I pay for renting the domain itself, but everything else is free and quite honestly I like it this way. So when I woke up to a 10$ bill from...
bt RSS Feed
Hosting with Codeberg Pages Hosting with Codeberg Pages 2022-07-29 I recently switched the pblog project repo over from...
over a year ago
4
over a year ago
Hosting with Codeberg Pages 2022-07-29 I recently switched the pblog project repo over from Sourcehut to Codeberg (mostly for UX reasons) and it got me looking into Codeberg Pages. It seemed like a cleaner approach to host my personal blog on the same platform I planned to also...
alexwlchan
Creating a Safari webarchive from the command line Recently I’ve been trying to create a local archive of my bookmarked web pages. I already have tools...
7 months ago
59
7 months ago
Recently I’ve been trying to create a local archive of my bookmarked web pages. I already have tools to take screenshots, and I love them as a way to take quick snapshots and skim the history of a site, but bitmap images aren’t a great archival representation of a website. What...
Making software...
Stop Using Hamburger Menus Stop Using Hamburger Menus 2023-05-04 I recently tooted about my hatred of website hamburger menus...
a year ago
36
a year ago
Stop Using Hamburger Menus 2023-05-04 I recently tooted about my hatred of website hamburger menus which was met with a surprising amount of support from other users. It seems like most people don't actually like hamburger menus. So why do we, as developers, keep using them in...
Irrational...
Deciding to leave your (executive) job. If two friendly executives meet for dinner, it’s likely they start by exchanging just how messed up...
a year ago
21
a year ago
If two friendly executives meet for dinner, it’s likely they start by exchanging just how messed up things are at work. Initiatives are behind, layoffs are happening everywhere, the team is in disarray. Then they’ll laugh, and switch topics. Sometimes one of the executives can’t...
Confessions of a...
An Unreachable Hidden XKCD Easter Egg inside CPython No, I'm not talking about import antigravity
a month ago
PostHog's RSS Feed
The most popular Heap alternatives and competitors, compared The most popular Heap alternatives in 2023 are: PostHog: All-in-one platform that combines...
a year ago
53
a year ago
The most popular Heap alternatives in 2023 are: PostHog: All-in-one platform that combines comprehensive analytics with session replay, A/B testing…
Joel Gascoigne
Why I crave mistakes I’ve mentioned many [https://joel.is/post/5961172449/beware-of-the-social-ideas]...
over a year ago
12
over a year ago
I’ve mentioned many [https://joel.is/post/5961172449/beware-of-the-social-ideas] times [https://joel.is/post/23348997538/what-online-gaming-taught-me-about-startups] before [https://joel.is/post/12790799237/achieving-scale-by-doing-things-that-dont-scale] on this blog that I...
PostHog's RSS Feed
I used to think you don't need product people. I was wrong. When PostHog was fresh out of YC last year, there were two things we focused on: (i) build and (ii)...
over a year ago
5
over a year ago
When PostHog was fresh out of YC last year, there were two things we focused on: (i) build and (ii) talk to customers. Hiring a product person felt…
Confessions of a...
Are Function Calls Still Slow in Python? An Analysis of Recent Optimizations in CPython How costly it is to call functions and builtins in your python code? Does inlining help? How have...
4 months ago
22
4 months ago
How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?
macwright.com
How are we supposed to do tooltips now? by I’ve been working on oldfashioned.tech, which is sort of a testbed to learn about htmx and the other...
a year ago
23
a year ago
I’ve been working on oldfashioned.tech, which is sort of a testbed to learn about htmx and the other paths: vanilla CSS instead of Tailwind, server-rendering for as much as possible. How are tooltips and modals supposed to work outside of the framework world? What the Web...
Alex Meub
Building an Arcade Stick I’ve been into playing games on my RetroPie machine lately and thought it would be cool to build an...
over a year ago
13
over a year ago
I’ve been into playing games on my RetroPie machine lately and thought it would be cool to build an arcade stick (also called a “fight stick”). Here’s the finished product: Materials and Components I had some leftover IKEA oak butcher block from a kitchen project and I thought...
Ognjen Regoje •...
What if I spent exactly two hours on each post Over the past year, the backlog of things I wanted to write had piled up. But my free time had...
a year ago
7
a year ago
Over the past year, the backlog of things I wanted to write had piled up. But my free time had dwindled. So, in the interest of being prolific and producing content that I can iterate and learn from, at the start of the year I decided that this year I would not spend more than...
A Beautiful Site
Shoelace.style — A back to the basics CSS starter kit I spent some time last week working on a free CSS boilerplate I'm calling Shoelace.css. It's kinda...
over a year ago
14
over a year ago
I spent some time last week working on a free CSS boilerplate I'm calling Shoelace.css. It's kinda like Bootstrap, but a lot leaner and pure CSS. You don't need a preprocessor like Sass or Less to use it, but it's still highly customizable with CSS variables. I'm calling Shoelace...
Tinker, Tamper,...
An Efficient Multi-Stage Build for Python Django in Docker We’ve recently begun dockerizing our applications in an effort to make development and deployment...
over a year ago
2
over a year ago
We’ve recently begun dockerizing our applications in an effort to make development and deployment easier. One of the challenges was establishing a good baseline Dockerfile which can maximize the benefits of Dockers caching mechanism and at the same time provide minimal...
alexwlchan
Going between Finder and the Terminal Earlier this week, Dr. Drang wrote a post about a few automations he uses to go between the...
3 months ago
37
3 months ago
Earlier this week, Dr. Drang wrote a post about a few automations he uses to go between the Terminal’s command line and the Finder’s GUI. He has some neat ideas, and I particularly like his AppleScript sel for selecting multiple items in Finder. I’ve written a couple of similar...
Words and Buttons...
[Renovated] Mathematical analysis explained with Python, blood, and TNT A brief introduction to mathematical analysis with a little SymPy on the side. The page explains how...
over a year ago
13
over a year ago
A brief introduction to mathematical analysis with a little SymPy on the side. The page explains how to disassemble a function, and how to assemble it back from the derivatives.
Steve Klabnik
How to be an open source gardener
over a year ago
Tyler Cipriani: blog
A case for stacked patches 📚 I’m wondering why you talk about “branches” at all. No such thing should exist. – Linus Torvalds,...
a year ago
8
a year ago
I’m wondering why you talk about “branches” at all. No such thing should exist. – Linus Torvalds, 2005, git@vger.kernel.org Git branches are hard to think about. But “GitHub” forces you to think about branches. A lot. Instead of futzing with GitHub’s feature branches, many...
MMapped blog
Scaling Rust builds with Bazel
a year ago
EXPLAIN EXTENDED
Happy New Year: the Sultan’s Riddle in SQL Here is a riddle I read a long time ago in Nauka i Zhizn, a popular Russian science magazine. The...
over a year ago
6
over a year ago
Here is a riddle I read a long time ago in Nauka i Zhizn, a popular Russian science magazine. The Sultan's Riddle Once upon a time there was a Sultan who was looking for a vizier to help him rule his country. It became known to him that among the multitudes of his loyal subjects...
Daniel Immke's Blog...
Making noisy SVGs Addendum Dec 7, 2023 One of my ongoing fixations with the web is how improvements in technology...
a year ago
7
a year ago
Addendum Dec 7, 2023 One of my ongoing fixations with the web is how improvements in technology inform web design. In an earlier post this…
Ink & Switch
End-user Programming A vision for empowered computing that reaches back forty years. Our research lab examines why it has...
over a year ago
15
over a year ago
A vision for empowered computing that reaches back forty years. Our research lab examines why it has been so hard to achieve.
Steve Klabnik
The CXX Debate
over a year ago
Josh Comeau's blog
Chasing the Pixel-Perfect Dream Is it possible to create an implementation of a design that matches to-the-pixel? Well, not really,...
over a year ago
4
over a year ago
Is it possible to create an implementation of a design that matches to-the-pixel? Well, not really, but that shouldn't discourage us! In this article, I'll show how I became designers' best friend by leveraging a series of tricks to get my implementation looking...
Seán Barry
Understanding TypeScript Generics TypeScript generics can be confusing for beginners. This article explains why they are useful and...
over a year ago
16
over a year ago
TypeScript generics can be confusing for beginners. This article explains why they are useful and when to use them.
Krzysztof Kowalczyk...
Porting a medium-sized Vue application to Svelte 5 Porting a medium-sized Vue application to Svelte 5 The short version: porting from Vue...
6 months ago
42
6 months ago
Porting a medium-sized Vue application to Svelte 5 The short version: porting from Vue to Svelte is pretty straightforward and Svelte 5 is nice upgrade to Svelte 4. Why port? I’m working on Edna, a note taking application for developers. It started as a...
37signals Dev
The radiating programmer You are an individual contributor at heart. You like writing code and solving technical problems....
a year ago
4
a year ago
You are an individual contributor at heart. You like writing code and solving technical problems. You dislike meetings and ceremony. Here’s what you can do to maximize what you like and minimize what you don’t: radiate information. The daily standup meetings that Scrum...
PostHog's RSS Feed
5 events all teams should track with PostHog It can be tricky to know which events you should start tracking first if you haven’t used product...
over a year ago
7
over a year ago
It can be tricky to know which events you should start tracking first if you haven’t used product analytics before. That’s why we recommend using…
The Changelog
Facebook is Censoring Stories about Climate Change and Illegal Raid in Marion, Kansas It is, sadly, not entirely surprising that Facebook is censoring articles critical of Meta. The...
9 months ago
24
9 months ago
It is, sadly, not entirely surprising that Facebook is censoring articles critical of Meta. The Kansas Reflector published an artical about Meta censoring environmental articles about climate change — deeming them “too controversial”. Facebook then censored the article about...
Jibran’s Perspective
Thoughts on Zettelkasten and the slip box I had a bunch of thoughts yesterday about the Zettelkasten method and how I could use it effectively...
over a year ago
4
over a year ago
I had a bunch of thoughts yesterday about the Zettelkasten method and how I could use it effectively to manage my knowledge base. I started the day by dumping my thoughts into Logseq. Here they are. These are open questions for now. I plan to investigate this further and try out...
swyx's site RSS Feed
Putting your Keyboard on Steroids with Karabiner Elements I did a livestream with John Lindquist from Egghead.io today, and he blew my mind on how much...
over a year ago
13
over a year ago
I did a livestream with John Lindquist from Egghead.io today, and he blew my mind on how much mileage you can get out of your keyboard!
Steve Klabnik
Matz is nice so we are nice
over a year ago
Words and Buttons...
[Renovated] Outperforming everything with anything It's about 100 lines of Python code that generate a linear solver in LLVM intermediate language...
over a year ago
16
over a year ago
It's about 100 lines of Python code that generate a linear solver in LLVM intermediate language outperforming C and C++ solutions. Originally published in mid 2018, now completetly rewritten.
Oxide Computer...
Navigating Today’s Supply Chain Challenges We’ve all experienced it. From toilet paper, exercise equipment, toys, cars, and everything in...
over a year ago
20
over a year ago
We’ve all experienced it. From toilet paper, exercise equipment, toys, cars, and everything in between, the supply chain during COVID has been blamed for many consumer goods shortages, and rightfully so. During lockdown, how many of us stalked our local warehouse clubs for that...
Liz Denys
Starlit sky coffee pitcher, 2024 Starlit sky on a clear night / the milky way / eternity / clarity / raindrops sticking to window...
8 months ago
Letters of Note
I have the best mother in the world Few people have fought harder for the plight of African-Americans than Martin Luther King Jr., a...
over a year ago
10
over a year ago
Few people have fought harder for the plight of African-Americans than Martin Luther King Jr., a minister and activist who spent most of his all-too-brief life leading the civil rights movement only to be stopped by a bullet in Memphis in 1968. He was born in Atlanta, Georgia, on...
PostHog's RSS Feed
PostHog Launch Week I: A Universe of New Features PostHog made huge strides in 2021. To name just a few landmarks, we: Raised a $15 million Series B...
over a year ago
5
over a year ago
PostHog made huge strides in 2021. To name just a few landmarks, we: Raised a $15 million Series B ahead of schedule Became one of YC's top-valued…
Basta’s Notes
Things nobody taught me about money When I was growing up, I was one of the first generations of students to have a strikingly different...
a year ago
7
a year ago
When I was growing up, I was one of the first generations of students to have a strikingly different education from previous generations. I grew up under the Bush administration’s No Child Left Behind policies. Classes teaching important life skills like home economics and...
ntietz.com blog
Using git mailmap when names change (or you mess up your email) People change their names for all sorts of reasons. They get married, they transition, or they just...
a year ago
5
a year ago
People change their names for all sorts of reasons. They get married, they transition, or they just decide a different name better suits them. When this happens, things break. Recently I talked about how email address changes break things. Today it's how to fix this issue with...
Stephen Wolfram...
ChatGPT Gets Its “Wolfram Superpowers”! See also: “What Is ChatGPT Doing … and Why Does It Work?” » To enable the functionality described...
a year ago
61
a year ago
See also: “What Is ChatGPT Doing … and Why Does It Work?” » To enable the functionality described here, select and install the Wolfram plugin from within ChatGPT. Note that this capability is so far available only to some ChatGPT Plus users; for more information, see...
swyx's site RSS Feed
React Miami: Temporal - React for the Backend These are the raw notes of my talk prep for my React Miami 2022 talk - Temporal - React for the...
over a year ago
18
over a year ago
These are the raw notes of my talk prep for my React Miami 2022 talk - Temporal - React for the Backend. Includes links and initial draft at the bottom.
swyx's site RSS Feed
How to Find Podcasts That Have Been Deleted TLDR, https://megaphone.spotify.com/ rehosts all mp3s
a year ago
Josh Comeau's blog
Data Binding in React As developers, we don't like working with forms, but they're a critical part of most web...
a year ago
4
a year ago
As developers, we don't like working with forms, but they're a critical part of most web applications! In this tutorial, you'll learn exactly how to wire up all of the different form controls in React. Never forget how to data-bind a checkbox or radio button again!
Irrational...
How to plan as an engineering executive. Some years back, I interviewed a senior leader for an engineering role, and asked them a question...
a year ago
53
a year ago
Some years back, I interviewed a senior leader for an engineering role, and asked them a question about planning. I enjoyed their response, “Ah yes, the ‘P’ word, planning.” That answer captured an oft heard perspective that planning is some sort of business curse word. Even when...
HTMHell
#12 accessible poll yes/no Bad code <form role="form"> <h2>Poll title</h2> <div id="pollQuestion">Is this...
over a year ago
7
over a year ago
Bad code <form role="form"> <h2>Poll title</h2> <div id="pollQuestion">Is this accessible?</div> <div name="pollGroup" role="radiogroup"> <div role="radiogroup" aria-label="Poll title"> <input type="radio" name="poll" aria-labelledby="pollQuestion" value="[object...
A Smart Bear
For probabilities, use Fermi numbers, not words Don't use phrases like "unlikely" or "almost certainly." Here's real-world data showing why not, and...
a year ago
57
a year ago
Don't use phrases like "unlikely" or "almost certainly." Here's real-world data showing why not, and what to do instead.
A Smart Bear
Ignoring the Wisdom of Crowds Discover how to leverage the wisdom of the crowds, but also when to avoid it, as it can easily lead...
3 months ago
37
3 months ago
Discover how to leverage the wisdom of the crowds, but also when to avoid it, as it can easily lead you astray.
Max Countryman
A Framework for Prioritizing Tech Debt Leverage is a powerful tool that applies to many things, including the code we write. However, tech...
a year ago
30
a year ago
Leverage is a powerful tool that applies to many things, including the code we write. However, tech debt like all leverage, comes with interest payments. How do we know when to start spending bandwidth on addressing it? We'll look at a framework that can help us ensure we don't...
Vadim Kravcenko
As a non-technical founder what should I be doing while the product is developed? First of all, congrats on starting this journey. So, you’re a non-technical co-founder in the...
a year ago
6
a year ago
First of all, congrats on starting this journey. So, you’re a non-technical co-founder in the process of product development, feeling […] The post As a non-technical founder what should I be doing while the product is developed? appeared first on Vadim Kravcenko.
elementary Blog
Big Feature Updates for Accessibility, Privacy, Security, and More As promised, this month brings a bunch of new features including a big new accessibility feature and...
a year ago
5
a year ago
As promised, this month brings a bunch of new features including a big new accessibility feature and a major platform improvement. Enjoy this month’s contributions to the upcoming OS 7.1! AppCenter As we work towards our continual goal of better supporting alternative app stores,...
swyx's site RSS Feed
Bouldering My first introduction to bouldering was in 2017, in DUMBO:
a year ago
Joel Gascoigne
What are you doing to feel uncomfortable? * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * I believe that...
over a year ago
12
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * I believe that when you’re building a startup, it is as much about developing yourself as it is about developing your startup. This week I’ve stepped up my gym routine and managed to go to the gym...
swyx's site RSS Feed
Beware The Fallacy of Composition Many things that make sense individually don't make sense as a group.
over a year ago
David Heinemeier...
Breaking the inertia of mediocrity It's rarely the terrible decisions, processes, or even people that'll sink your organization. It's...
a year ago
8
a year ago
It's rarely the terrible decisions, processes, or even people that'll sink your organization. It's the accumulation and inertia of the mediocre ones. Dealing with the truly bad is easy. It's painfully obvious to all that change is required. The danger is imminent. It's much...
The Changelog
Martha the Pilot Martha, now 5, can’t remember a time when she didn’t fly periodically. She’s come along in our...
a year ago
7
a year ago
Martha, now 5, can’t remember a time when she didn’t fly periodically. She’s come along in our airplane in short flights to a nearby restaurant and long ones to Michigan and South Dakota. All this time, she’s been riding in the back seat next to Laura. Martha has been talking...
bunnie's blog
Bypassing Windows 11 Account Setup I had the misfortune of setting up a Windows 11 machine and being confronted with creating a...
a year ago
25
a year ago
I had the misfortune of setting up a Windows 11 machine and being confronted with creating a mandatory Microsoft account. I can’t concisely explain why being forced to create an account bothers me so much, but generally when a vendor tries this hard to get you to do something,...
Alex Meub
Install JSDOM On Windows JSDOM is an awesome node package for simulating a browser environment. It’s a NodeJS implementation...
over a year ago
14
over a year ago
JSDOM is an awesome node package for simulating a browser environment. It’s a NodeJS implementation of the DOM that makes it super easy to work with pages retrieved from the Internet. Unfortunately, JSDOM relies on a node package called Contextify that is difficult to get working...
swyx's site RSS Feed
Avoiding Flash of Unthemed Code If your site has a dark mode or custom theme, you might have a flash of the default theme before...
over a year ago
17
over a year ago
If your site has a dark mode or custom theme, you might have a flash of the default theme before JavaScript loads. Here is the solution.
Paolo Amoroso's...
Exploring Medley as a Common Lisp development environment <![CDATA[Since encountering Medley I gained considerable experience with Interlisp. Medley Interlisp...
a year ago
7
a year ago
<![CDATA[Since encountering Medley I gained considerable experience with Interlisp. Medley Interlisp is a project for preserving, reviving, and modernizing the Interlisp-D software development environment of the Lisp Machines Xerox created at PARC. Nine months later I know...
Making software...
Introducing Notez Introducing Notez 2021-01-13 I have always been a fan of simple note taking applications, since I...
over a year ago
13
over a year ago
Introducing Notez 2021-01-13 I have always been a fan of simple note taking applications, since I tend to take a lot of random notes throughout the work day. Sometimes I reach for simple pen and paper, but other times it's nice to stay focused jotting down notes on the same...
David Heinemeier...
Tesla wins When we first got our Tesla Model X four years ago, I wasn't the biggest fan. Build quality was...
a year ago
7
a year ago
When we first got our Tesla Model X four years ago, I wasn't the biggest fan. Build quality was spotty, brakes didn't match the performance, and handling was at best so-so. But it could carry seven, including luggage, was electric, and the dual-motor acceleration was a hoot. So...
Irrational...
Systems-Thinking
7 months ago
A Smart Bear
Moats: Durable competitive advantage Industries commoditize over time, delivering similar products at similar prices resulting in low...
over a year ago
17
over a year ago
Industries commoditize over time, delivering similar products at similar prices resulting in low profit. Like entropy, this is the inevitable fate of a company, unless it exerts intentional force to the contrary. Moats are this force, and your strategy must identify how to create...
alexwlchan
emptydir: look for (nearly) empty directories and delete them I’ve posted a new command-line tool on GitHub: emptydir, which looks for directories which are empty...
6 months ago
44
6 months ago
I’ve posted a new command-line tool on GitHub: emptydir, which looks for directories which are empty or nearly empty, and deletes them. This isn’t a completely trivial problem, because emptiness is deceptive. Consider the following folder. Finder tells us it has 0 items, so it...
ntietz.com blog
Reflecting on 2023, preparing for 2024 This is one of those cliched posts: Reflection on the year that's ending, reviewing last year's...
a year ago
5
a year ago
This is one of those cliched posts: Reflection on the year that's ending, reviewing last year's goals, and talking about hopes and goals for next year. They're cliche, and they're also useful. The planning and reflecting process is a useful one, and sharing openly means other...
Computer Things
Be Suspicious of Success From Leslie Lamport's Specifying Systems: You should be suspicious if [the model checker] does not...
2 months ago
36
2 months ago
From Leslie Lamport's Specifying Systems: You should be suspicious if [the model checker] does not find a violation of a liveness property... you should also be suspicious if [it] finds no errors when checking safety properties. This is specifically in the context of...
Irrational...
Engineering strategy notes. Recently, I am thinking quite a bit about engineering strategy, and as part of that have started...
a year ago
13
a year ago
Recently, I am thinking quite a bit about engineering strategy, and as part of that have started re-reading previous resources on the topic, and looking for new things to read while I refine my point of view on what makes for good engineering strategy. The best introduction to my...
Joel on Software
HASH: a free, online platform for modeling the world Sometimes simulating complex systems is the best way to understand them. Read more "HASH: a free,...
over a year ago
15
over a year ago
Sometimes simulating complex systems is the best way to understand them. Read more "HASH: a free, online platform for modeling the world"
macwright.com
The S&P 500 is largely a historical artifact I see the S&P 500 referenced pretty frequently as an vanilla index for people investing. This isn’t...
9 months ago
57
9 months ago
I see the S&P 500 referenced pretty frequently as an vanilla index for people investing. This isn’t totally wrong, which is why this post is short. But, if you have the goal of just “investing in the market,” there’s a better option for doing that: a total market index. For...
Blog System/5
The IDEs we had 30 years ago... and we lost A deep dive into the text mode editors we had and how they compare to today's
a year ago
Copper • A blog...
Why aren't the most useful Mac apps on the App Store? Let’s set the stage first. So, it’s Tuesday night and I’m Command Tab-ing my way through 10...
over a year ago
14
over a year ago
Let’s set the stage first. So, it’s Tuesday night and I’m Command Tab-ing my way through 10 different apps, some with 3-4 windows, while trying to patch bugs in Lunar faster than the users can submit the reports. I’m definitely failing. I feel my brain pulsing and my ring...
Words and Buttons...
What can we learn from sexaplication on nuclear power plants Component redundancy is used heavily in safety-critical and mission-critical systems for reliability...
over a year ago
14
over a year ago
Component redundancy is used heavily in safety-critical and mission-critical systems for reliability improvement. But outside this niche, it's surprisingly little known in the world of software. Which is a shame since it's a simple but economical idea. It costs nothing to keep in...
Steve Klabnik
More rstat.us refactoring
over a year ago
macwright.com
Recently Early this month I arrived at work to see a Concorde parked in the Brooklyn Navy Yard. It’s been fun...
a year ago
20
a year ago
Early this month I arrived at work to see a Concorde parked in the Brooklyn Navy Yard. It’s been fun to identify the ships docked there, but an airplane was new, especially such a rare one. I guess a lot of airplane knowledge from my childhood has stayed with me, and being...
David Gerrells
how to save $13.27 on your sAAs bill Vercel has a decent entry level analytics product which I cannot afford so I am going to build my...
5 months ago
A Beautiful Site
PHP functions to get and remove the file extension from a string I use these regular expressions all the time, but it's much more convenient to have them both in...
over a year ago
14
over a year ago
I use these regular expressions all the time, but it's much more convenient to have them both in convenient PHP functions. // Returns only the file extension (without the dot) function file_ext($filename) { return preg_match('/\./', $filename) ? preg_replace('/^.*\./', '',...
Alex MacCaw
Unshackling Artificial Minds Humans, by nature, seem to be drawn to pessimism. It's a tendency rooted deep within us, a product...
a year ago
24
a year ago
Humans, by nature, seem to be drawn to pessimism. It's a tendency rooted deep within us, a product of Entropy, the law of nature that dictates it is easier to destroy than to create. And here we are, on the cusp of creating not just something new, but
A Beautiful Site
Avoiding timestamp errors when calculating dates in php When calculating dates in PHP, it is easy to add millisecond values such as 60 * 60 * 24 to...
over a year ago
17
over a year ago
When calculating dates in PHP, it is easy to add millisecond values such as 60 * 60 * 24 to increment the time by one day. This can become problematic for two main reasons. Issues with leap years # A year has approximately 365.25 days, hence a leap year occurs once every four...
HTMHell
Dear developer, your assumptions are wrong As developers, validation of user input is one of the first things we are taught. So, for example,...
over a year ago
5
over a year ago
As developers, validation of user input is one of the first things we are taught. So, for example, we may think it would be a good idea to put some restrictions in an input field for a name: <label for="name">First name:</label> <input type="text" minlength="3" maxlength="20"...
James Vaughan's blog
Jay Kamat
over a year ago
blag
When is my Cake Day? Using praw and prawoauth2 to find when is my cake day on Reddit.
over a year ago
Confused bit
Simply explained: how does GPT work? By now, you have probably heard of OpenAI’s ChatGPT, or any of the alternatives GPT-3, GPT-4,...
a year ago
19
a year ago
By now, you have probably heard of OpenAI’s ChatGPT, or any of the alternatives GPT-3, GPT-4, Microsoft’s Bing Chat, Facebook’s LLaMa or even Google’s Bard. They are artificial intelligence programs that can participate in a conversation. Impressively smart, they can easily be...
Computer Things
Know (of) the right tool for the job Last week's Picat essay did pretty well online! One of the common responses was "This looks really...
10 months ago
5
10 months ago
Last week's Picat essay did pretty well online! One of the common responses was "This looks really interesting but I don't know where I'd use it." For Picat there was a gap of five years between me hearing about it and actually learning it. The same is true for most of the weird...
Vadim Kravcenko
Database Migrations I consider database migrations one of the most annoying problems to deal with during a software...
a year ago
70
a year ago
I consider database migrations one of the most annoying problems to deal with during a software engineer’s life. Not only […] The post Database Migrations appeared first on Vadim Kravcenko.
ntietz.com blog
Rust's iterators optimize nicely—and contain a footgun I saw a claim recently that in functional programming using "map/filter iterates over the list...
7 months ago
5
7 months ago
I saw a claim recently that in functional programming using "map/filter iterates over the list twice, while the foreach loop iterates only once." The author continued that "Haskell can fuse maps together as an optimization but I don't think you safely fuse arbitrary map/filters?...
swyx's site RSS Feed
OSI Layers for Coding Careers Let's think about the value chain of humans that code and how we interact.
over a year ago
PostHog's RSS Feed
Sunsetting Kubernetes support for PostHog We're sunsetting support for our Kubernetes deployment for PostHog. Because we're an open source...
a year ago
6
a year ago
We're sunsetting support for our Kubernetes deployment for PostHog. Because we're an open source company, I want to be transparent about what this…
The Changelog
Review of Reputable, Functional, and Secure Email Service I last reviewed email services in 2019. That review focused a lot of attention on privacy. At the...
7 months ago
73
7 months ago
I last reviewed email services in 2019. That review focused a lot of attention on privacy. At the time, I selected mailbox.org as my provider, and have been using them for these 5 years since. However, both their service and their support have gone significantly downhill since,...
PostHog's RSS Feed
In-depth: PostHog vs Google Analytics 4 Want to understand how PostHog and Google Analytics 4 (GA4) are different? Here's the short answer:...
a year ago
39
a year ago
Want to understand how PostHog and Google Analytics 4 (GA4) are different? Here's the short answer: Google Analytics is primarily designed for…
A Beautiful Site
Give your JPEGs alpha channels If you need alpha transparency on the web, 24-bit PNGs are usually your best bet. The only problem...
over a year ago
13
over a year ago
If you need alpha transparency on the web, 24-bit PNGs are usually your best bet. The only problem is that PNGs are lossless and can grow in file size very quickly — much larger than your average JPEG. So what if there was a way for JPEGs to support alpha channels? I discovered...
the singularity is...
Tech Heroin Curtis dropped this post today, and I love the analogy. Liberals sell heroin, conservatives sell...
12 months ago
5
12 months ago
Curtis dropped this post today, and I love the analogy. Liberals sell heroin, conservatives sell cocaine. Techno-Optimism is cocaine. Atlas Shrugged is cocaine. Futurism is cocaine. I am a progressive. A liberal. I believe in progress. I am not a conservative. Conservatives lose....
markround.com
DevOps for the Sinclair Spectrum - Part 3 In Part 2 I discussed the server environment, as well as how I built and launched the first...
over a year ago
6
over a year ago
In Part 2 I discussed the server environment, as well as how I built and launched the first prototype version of the site. I hit some speedbumps along the way and quickly reached the limits of what I could do with a pure client-only 1980s BASIC codebase. In this part, I’ll look...
Charles Chen
Use TypeScript Record Types for Better Code TypeScript Record types have super powers that can help any team write better code.
over a year ago
bunnie's blog
Name that Ware, March 2024 The ware for March 2024 is shown below. This fine ware is courtesy of KE5FX. Really fascinating...
9 months ago
13
9 months ago
The ware for March 2024 is shown below. This fine ware is courtesy of KE5FX. Really fascinating stuff, thanks for the contribution!
swyx's site RSS Feed
Unsupervised Learning: Information Theory Recap A small detour to catch up on the basics of Information Theory we'll need
over a year ago
Alex Meub
Fun with IE7 and the Zoom Property This bug threw me for a loop. A CSS optimizer thought it was doing me a favor by “fixing” any...
over a year ago
13
over a year ago
This bug threw me for a loop. A CSS optimizer thought it was doing me a favor by “fixing” any invalid numbers. It replaces .my_class{ zoom:1; } with .my_class{ zoom:1px; } Those two characters (“px”) on the zoom property will blow up IE7 as it tries to zoom to a value in...
Nelson's Weblog
GAS I’ve been listening to the same music every night when I go to sleep 10+ years now. Weird...
a year ago
44
a year ago
I’ve been listening to the same music every night when I go to sleep 10+ years now. Weird endorsement; I’ve listened to it with more attention plenty of times too. But it’s particularly good for going to sleep; calm, interesting, and comfortably familiar. That music is GAS,...
blag
Recurse Center Day 4: B Tree fill factor Q: How do I have a same B Tree fill factor across all nodes?
over a year ago
ntietz.com blog
Starting my (overkill) homelab I've set up a homelab finally! This is something I've wanted for a while and finally the timing was...
over a year ago
6
over a year ago
I've set up a homelab finally! This is something I've wanted for a while and finally the timing was right. The right project came along to justify it, so I took the plunge. Naturally, that leads to a few questions: What's a home lab? Why do you want one? And what is the shiny...
Steve Klabnik
Rust-y Scraps: iterating with a step
over a year ago
swyx's site RSS Feed
Solve CORS once and for all with Netlify Dev _Published on [Alligator.io](https://alligator.io/nodejs/solve-cors-once-and-for-all-netlify-dev/)_
over a year ago
Kagi Blog
Kagi Translate - We speak your language Your browser does not support the video tag.
a month ago
Vadim Kravcenko
🙀 Startup founder fears by funding round Startup founders have a lot of fears. Some are afraid they won’t find a technical co-founder or...
over a year ago
7
over a year ago
Startup founders have a lot of fears. Some are afraid they won’t find a technical co-founder or attract angel investment. […] The post 🙀 Startup founder fears by funding round appeared first on Vadim Kravcenko.
PostHog's RSS Feed
PostHog Joins Hacktoberfest 2020 Let the pull requests come in! We're happy to announce that PostHog has joined Hacktoberfest 2020 ....
over a year ago
5
over a year ago
Let the pull requests come in! We're happy to announce that PostHog has joined Hacktoberfest 2020 . For those who don't know, Hacktoberfest is an…
ntietz.com blog
Achieving awful compression with digits of pi Compression is a really hard problem, and it attracts a lot of interesting ideas. There are some...
9 months ago
4
9 months ago
Compression is a really hard problem, and it attracts a lot of interesting ideas. There are some numbers whose digits contain all sequences of digits1. People have long hypothesized that pi is one such number; a proof remains elusive. If we have a number which contains all...
bt RSS Feed
They Won't Wait: A Warning for Slow Websites They Won’t Wait: A Warning for Slow Websites 2019-06-25 Your website is probably slow. I’m not...
over a year ago
6
over a year ago
They Won’t Wait: A Warning for Slow Websites 2019-06-25 Your website is probably slow. I’m not trying to make you feel bad or dismiss all the hard work you’ve put into your project. Heck, performance might have been a core value of the design. But websites can always be...
Liz Denys
Revised icebreakers for nicer New Yorkers You go to a friend's party, attend a work event, or just find yourself out and about. You meet...
over a year ago
16
over a year ago
You go to a friend's party, attend a work event, or just find yourself out and about. You meet someone new, and you're inevitably asking and being asked three questions: Where do you work? Where do you live? How much is your rent? Okay, you don't always encounter that last one,...
37signals Dev
Exploring server-side diffing in Turbo We did a lot of exploratory work before coming up with the Turbo improvement we presented in Rails...
a year ago
4
a year ago
We did a lot of exploratory work before coming up with the Turbo improvement we presented in Rails World. One of those experiments included diffing in the server instead of in the client. The idea The inspiration for this idea came, again, from Phoenix Live View, a library I find...
Elad Blog
Hiring Executives & Bad Advice When your company hits strong product market fit, your company will be sucked into a vortex of...
over a year ago
12
over a year ago
When your company hits strong product market fit, your company will be sucked into a vortex of customer demand and experience a Cambrian explosion of internal org complexity simultaneously. Things will initially seem to just truck along as usual, and then suddenly everything at...
Josh Comeau's blog
The Surprising Truth About Pixels and Accessibility “Should I use pixels or rems?”. In this comprehensive blog post, we'll answer this question once and...
over a year ago
4
over a year ago
“Should I use pixels or rems?”. In this comprehensive blog post, we'll answer this question once and for all. You'll learn about the accessibility implications, and how to determine the best unit to use in any scenario.
Steve Klabnik
How can I contribute to Ruby on Rails?
over a year ago
Making software...
Base64 All The Things! (Sometimes) Base64 All The Things! (Sometimes) 2020-03-18 An extremely overlooked process for displaying fonts,...
over a year ago
18
over a year ago
Base64 All The Things! (Sometimes) 2020-03-18 An extremely overlooked process for displaying fonts, images, documents, spreadsheets, etc. on the web is the use of base64 encoding. Although it may not be the most efficient (or easy) way to display and include these elements it can...
Steve Klabnik
Mixins: a refactoring anti-pattern
over a year ago
Liz Denys
Save Congestion Pricing! Gov. Kathy Hochul has announced an intention to "indefinitely pause" the scheduled rollout of...
6 months ago
60
6 months ago
Gov. Kathy Hochul has announced an intention to "indefinitely pause" the scheduled rollout of congestion pricing on June 30. Your voice is urgently needed to stand up for a funded MTA with increased accessibility, a healthy planet, and good government in New York. Stop a $15...
elementary Blog
elementary OS 7.1 Available Now Today, we’re proud to announce that OS 7.1 is available to download now and shipping on several...
a year ago
7
a year ago
Today, we’re proud to announce that OS 7.1 is available to download now and shipping on several high-quality computers. This release represents the sum of our work over the last several months as a single major update to the OS 7 series and includes all of the monthly OS updates...
bt RSS Feed
CSS Variables CSS Variables 2018-03-24 The CSS language is becoming even more awesome and powerful everyday. In...
over a year ago
6
over a year ago
CSS Variables 2018-03-24 The CSS language is becoming even more awesome and powerful everyday. In this quick article I’d like to focus specifically on the “new” CSS variable function that you can start using in your projects right now. Getting started is easy Let’s just jump...
Cognitive...
Built with Dolphin I started to understand that a lot of people are using and enjoying Dolphin - so I decided to put a...
a year ago
5
a year ago
I started to understand that a lot of people are using and enjoying Dolphin - so I decided to put a list here of products or projects that use Dolphin. If you would like to be listed here please reach out to me and I'll add...
PostHog's RSS Feed
Feature flag best practices and tips (with examples) Feature flags, aka feature toggles, are awesome. New feature for your beta test group? Use a feature...
a year ago
6
a year ago
Feature flags, aka feature toggles, are awesome. New feature for your beta test group? Use a feature flag. Testing multiple variants of a new UX? Use…
Epic Web Dev
Automatic Browser Request Cancellation (tip) Discover how automatic browser request cancellation works and its implications for web development.
a year ago
swyx's site RSS Feed
Pensieve: 10 Mar 2024 - Band of Brothers Ben dunphy continues to be a great conference business partner for me even though today was a glum...
9 months ago
21
9 months ago
Ben dunphy continues to be a great conference business partner for me even though today was a glum call where we made some concessions. I wish he were better able to take things off my hands but also I need to step up
bt RSS Feed
Never Do Spec Work for Free Never Do Spec Work for Free 2022-11-07 Your time is valuable and shouldn’t be taken for granted. Let...
over a year ago
6
over a year ago
Never Do Spec Work for Free 2022-11-07 Your time is valuable and shouldn’t be taken for granted. Let me say that again for the people in the back: your time is valuable and shouldn’t be taken for granted. Time is the most precious commodity we have as human beings, so never waste...
PostHog's RSS Feed
How we turned ClickHouse into our event mansion Recently, PostHog was invited to speak at OSA Con 2021 , an open source analytics conference...
over a year ago
5
over a year ago
Recently, PostHog was invited to speak at OSA Con 2021 , an open source analytics conference organised by Altinity. It was a fantastic opportunity to…
swyx's site RSS Feed
Ensembles vs Committees A useful dichotomy for team dynamics.
over a year ago
Making software...
Shiny, Animated CSS Buttons Shiny, Animated CSS Buttons 2021-04-27 Everyone can appreciate fancy, animated buttons - but often...
over a year ago
17
over a year ago
Shiny, Animated CSS Buttons 2021-04-27 Everyone can appreciate fancy, animated buttons - but often times they come with a performance cost: JavaScript. Luckily for us, we can create our very own shiny, animated buttons with pure CSS. The Demo Live CodePen Example The...
EXPLAIN EXTENDED
A good first word for Wordle Ok, I gave in to the fad and took up Wordle. For those who have been living under a rock for the...
over a year ago
5
over a year ago
Ok, I gave in to the fad and took up Wordle. For those who have been living under a rock for the past few weeks, Wordle is a relatively new online word game which has become viral. It is a variation of Bulls and Cows. You have six tries to guess a five-letter word. Each […] The...
alexwlchan
Finding the biggest items in my Photos Library I’m approaching the limit of my current iCloud storage tier, and most of that is my Photos...
a year ago
7
a year ago
I’m approaching the limit of my current iCloud storage tier, and most of that is my Photos Library. I don’t really want to pay for the next iCloud storage tier – I’d be tripling my bill, but I’d barely use the extra space. (My library grows pretty slowly – I’ve only added ~6GB of...
Tyler Cipriani: blog
Reading in 2022 Every book should be read no more slowly than it deserves, and no more quickly than you can read it...
over a year ago
18
over a year ago
Every book should be read no more slowly than it deserves, and no more quickly than you can read it with satisfaction and comprehension. – Mortimer J Adler, How to Read a Book My trusty, hated Kindle Reading only “1000 books before you die” used to strike me as unambitious. Then...
David Gerrells
How fast is rust? Simulating 200,000,000 particles The challenge, simulate 100,000,000 particles in rust using only the cpu. Let’s go.
a month ago
Vadim Kravcenko
Asking questions the right way In the software development realm, asking questions isn’t just a right—it’s a downright necessity....
a year ago
77
a year ago
In the software development realm, asking questions isn’t just a right—it’s a downright necessity. Let’s cut the crap and dive […] The post Asking questions the right way appeared first on Vadim Kravcenko.
Ink & Switch
Project Cambria: Translate your data with lenses Changing schemas in distributed software is hard. Could adopting bidirectional lenses help?
over a year ago
PostHog's RSS Feed
What we've learned about talking to users This post is from our Substack newsletter, Product for Engineers . It's all about helping engineers...
a year ago
6
a year ago
This post is from our Substack newsletter, Product for Engineers . It's all about helping engineers and founders build better products by learning…
Joel Gascoigne
Focus on the line, not the dot * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Yesterday I...
over a year ago
10
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Yesterday I noticed the Who’s Hiring? [http://news.ycombinator.com/item?id=4992617] thread pop up again on Hacker News. If you’re hiring, it’s a great place to share that fact. Since around half a...
ntietz.com blog
Three days of Advent of Code in Hurl Every year I do some of Advent of Code. One year I completed it, but usually I just do some of it as...
a year ago
5
a year ago
Every year I do some of Advent of Code. One year I completed it, but usually I just do some of it as a social thing with friends and then taper off as interest wanes. This year, I did three days of it, and stopped because I really truly did not want to write more solutions in the...
Alex Meub
Amazon's Top Rated Items I developed a set of scripts that scrape Amazon’s product pages. The result of scraping and...
over a year ago
17
over a year ago
I developed a set of scripts that scrape Amazon’s product pages. The result of scraping and processing nearly 300,000 products from 26 departments is my own Amazon Top 400 List. _chart("scatter","scatter-chart2", "Amazon Product Ratings", {categories:[ 'Average Rating', 'Number...
Cognitive...
Uploading CSV to DynamoDB with Node JS So I wanted to upload CSV to DynamoDB. Easy right? Not so fast. It turns out, you have to obey...
over a year ago
7
over a year ago
So I wanted to upload CSV to DynamoDB. Easy right? Not so fast. It turns out, you have to obey your provisioned write capacity. Unlike S3, "Simple Storage Service" where you simply upload a file, DynamoDB isn't "Simple". There's no "upload CSV" button. You have to write a...
HTMHell
The hidden attribute in HTML by Ahmad El-Alfy The hidden attribute allows us to hide HTML elements from the page. When it was...
a year ago
58
a year ago
by Ahmad El-Alfy The hidden attribute allows us to hide HTML elements from the page. When it was introduced, it worked in a very simple way: it set the CSS display property to none. Many people voiced concerns because here we are, mixing styles with markup again. To be fair, this...
General Robots
Writing Libraries for AIs to Use Donald Knuth tells us, “Programs are meant to be read by humans and only incidentally for computers...
a year ago
47
a year ago
Donald Knuth tells us, “Programs are meant to be read by humans and only incidentally for computers to execute.” but in the future we have a third category. I think that programs and libraries (and programming languages?) that lend themselves to effective AI assistance will win...
Tinloof - Blog
ReasonML for production React Apps? 🤔 (Part 1) ReasonML is a functional programming language with smartly inferred strict types, that compiles to...
over a year ago
6
over a year ago
ReasonML is a functional programming language with smartly inferred strict types, that compiles to JavaScript. ReasonReact is Reason bindings for ReactJS (aka the translated ReasonML version of the ReactJS). It has improved a lot lately and even added support for hooks in a...
Engineer’s Codex
How Google writes clean, maintainable code Google's SWE Book explains their readability process and style guides
a year ago
Irrational...
Modeling impact of LLMs on Developer Experience. In How should you adopt Large Language Models? (LLMs), we considered how LLMs might impact a...
2 months ago
47
2 months ago
In How should you adopt Large Language Models? (LLMs), we considered how LLMs might impact a company’s developer experience. To support that exploration, I’ve developed a system model of the developing software at the company. In this chapter, we’ll work through: Summary results...
Coding Horror
Updating The Single Most Influential Book of the BASIC Era In a way, these two books are responsible for my entire professional career. With early computers,...
over a year ago
20
over a year ago
In a way, these two books are responsible for my entire professional career. With early computers, you didn't boot up to a fancy schmancy desktop, or a screen full of apps you could easily poke and prod with your finger. No, those computers booted up to the command
bt RSS Feed
Chasing Performance Chasing Performance 2017-11-20 Update This post is no longer relevant since this blog has been...
over a year ago
5
over a year ago
Chasing Performance 2017-11-20 Update This post is no longer relevant since this blog has been redesigned since. I’m keeping this article up as a point of reference. So I decided to participate in Smashing Mag’s Front End Performance Challenge, not only for the potential of...
HTMHell
Getting started with Web Performance 🚀 by Alistair Shepherd Carefully observing websites in the wild As the murderous...
a year ago
24
a year ago
by Alistair Shepherd Carefully observing websites in the wild As the murderous tortoises start to converge on Ryūji’s hideout, they pull out their phone. It’s a cheap, older device but it’s survived the toils of the tortoise-ageddon well so far. Thankfully...
Paolo Amoroso's...
Managing card text in WebCard <![CDATA[The text of WebCard cards is intended to be read only but my previous attempt to achieve it...
2 months ago
29
2 months ago
<![CDATA[The text of WebCard cards is intended to be read only but my previous attempt to achieve it by overriding card editing didn't work. I implemented a new, simpler approach that actually works. The card type Web inherits from the Text type whose "substance" is a text...
TokyoDev
僕がDoorkeeperを売却した理由について This article is also available [in...
over a year ago
Alice GG
How to publish your Godot game on Mac Since 2019, Apple has required all MacOS software to be signed and notarized. This is meant to...
3 months ago
44
3 months ago
Since 2019, Apple has required all MacOS software to be signed and notarized. This is meant to prevent naive users from installing malware while running software from unknown sources. Since this process is convoluted, it stops many indie game developers from releasing their Godot...
PostHog's RSS Feed
How to run finance at your startup without hiring a finance person We run finance at PostHog without a dedicated finance person. This is a comprehensive, step-by-step...
over a year ago
6
over a year ago
We run finance at PostHog without a dedicated finance person. This is a comprehensive, step-by-step guide to do just that. If you implement…
The Codist
How Talking Over A Wall Changed My Direction As A Programmer I started my programming career in October 1981 at a large defense contractor (GD). At the time, my...
3 months ago
38
3 months ago
I started my programming career in October 1981 at a large defense contractor (GD). At the time, my goal was to work for a couple of years and then continue my education with a Ph.D. in Chemistry (I had already been accepted). The office I worked in was a
James Vaughan's blog
Putting the Casio F-91W band on an Apple Watch
over a year ago
swyx's site RSS Feed
The Light and Dark Side of the API Economy The 'API Economy' is a popular term for VC's and tech media, however Developers seem ironically out...
over a year ago
11
over a year ago
The 'API Economy' is a popular term for VC's and tech media, however Developers seem ironically out of the loop despite their central importance to the whole story. Here's my explanation, together with a dash of economics and social implications.
The Pragmatic...
A Tech Conference Listed Fake Speakers for Years: I Accidentally Noticed For 3 years straight, the DevTernity conference listed non-existent Coinbase employees as featured...
a year ago
21
a year ago
For 3 years straight, the DevTernity conference listed non-existent Coinbase employees as featured speakers. When were they added and what could have the motivation been?
Jim Nielsen’s Blog
A Well Known URL For Your Personal Avatar Well-known URLs are pretty neat. I’ve even dared propose one before here on my blog. And now I’m...
a year ago
101
a year ago
Well-known URLs are pretty neat. I’ve even dared propose one before here on my blog. And now I’m here to propose another: .well-known/avatar The idea is: anybody that owns a domain can put their avatar in a well-known location. I’ve already implemented this for my own site[1]....
TokyoDev
Grad school in Japan: my experience doing a Master of Sciences in Computer Science My journey in Japan began with an unconventional scholarship program called Vulcanus in Japan, which...
10 months ago
36
10 months ago
My journey in Japan began with an unconventional scholarship program called Vulcanus in Japan, which allowed me to take a Japanese language course and intern at a major Japanese company. I wrote all about it in [my previous TokyoDev...
swyx's site RSS Feed
How to Create Luck Your entire worldview changes when you realize you can *create luck*.
over a year ago
Nelson's Weblog
Legal aid charities for immigrants (2024) The Trump administration has made aggressive threats against immigrants in the US. It’s not clear...
a month ago
22
a month ago
The Trump administration has made aggressive threats against immigrants in the US. It’s not clear what’s coming, my biggest fear is a violent display of fascism. (Don’t call them camps!) But even if it’s a polite legal process it will be chaotic and disruptive to many...
Epic Web Dev
Exploring the has Utility in Tailwind CSS (tip)
11 months ago
Joel Gascoigne
Ratio thinking * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Something I’ve...
over a year ago
11
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Something I’ve found difficult to completely embrace, but which understanding has been super important, is the idea that there is a ratio for everything. I’ve started to call this Ratio Thinking,...
bt RSS Feed
Migrating from GitHub to sourcehut Migrating from GitHub to sourcehut 2022-11-14 It has taken a little bit longer than I anticipated,...
over a year ago
5
over a year ago
Migrating from GitHub to sourcehut 2022-11-14 It has taken a little bit longer than I anticipated, but I have finally started to port over all my personal open-source projects to sourcehut.org. I’ll get into the why and how momentarily, but first let’s take a look at all the...
Charles Chen
AI Startup Moats: The Difference Between Bakers and Ovens Are new AI startups "just another wrapper for a 3rd party model"? Does having an oven make you a...
a month ago
Joel Gascoigne's...
Build Week at Buffer: What it is and how we’re approaching it Build Week at Buffer: What it is and how we’re approaching it Note: this was originally posted on...
over a year ago
5
over a year ago
Build Week at Buffer: What it is and how we’re approaching it Note: this was originally posted on the Buffer blog. We’ve dedicated the week of August 22nd to a brand new internal initiative called Build Week. We’ll all be putting aside our regular work for a single week to come...
alexwlchan
Creating a Safari webarchive from the command line Recently I’ve been trying to create a local archive of my bookmarked web pages. I already have tools...
7 months ago
13
7 months ago
Recently I’ve been trying to create a local archive of my bookmarked web pages. I already have tools to take screenshots, and I love them as a way to take quick snapshots and skim the history of a site, but bitmap images aren’t a great archival representation of a website. What...
Steve Klabnik
Marx, anarchism, and web standards
over a year ago
Joel Gascoigne
How to start your startup in 4 steps * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Having started...
over a year ago
11
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Having started my latest venture [http://bufferapp.com] just over 5 months ago, and having just reached ramen profitability [http://www.paulgraham.com/ramenprofitable.html], I want to share some...
Joel Gascoigne
Does location really matter for your startup? * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Some of you may...
over a year ago
9
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Some of you may know that I just left everything behind in the UK and together with my co-founder Leo [http://leostartsup.com] arrived in San Francisco to base ourselves and Buffer...
The Pragmatic...
The Pragmatic Engineer: Cyber Monday Deals It's Cyber Monday: and I'm offering one-day, one-off discounts on my ebooks, as well as on The...
a month ago
19
a month ago
It's Cyber Monday: and I'm offering one-day, one-off discounts on my ebooks, as well as on The Pragmatic Engineer Newsletter. Here they are: The Pragmatic Engineer Newsletter: 20% off, for the first year, for annual subscriptions. Claim it here. See more details, and read reviews...
bt RSS Feed
Being More Efficient as a Designer and Developer Being More Efficient as a Designer and Developer 2019-09-28 I recently began working on a small side...
over a year ago
4
over a year ago
Being More Efficient as a Designer and Developer 2019-09-28 I recently began working on a small side project (a marketing site / blog for an upcoming UX book I’m writing, but I have nothing to promote yet - sorry) and found myself circling around different static site generators...
James Vaughan's blog
Systemd Timers as a Cron Alternative
over a year ago
Jim Nielsen’s Blog
Reloading a Document (and Preserving Query String Parameters) Using Only HTML tl;dr: an empty string for your link, e.g. <a href="">Reload</a> The other day I was trying to write...
a year ago
24
a year ago
tl;dr: an empty string for your link, e.g. <a href="">Reload</a> The other day I was trying to write some HTML to give the user the ability to reload the document in its exact state by clicking on a link (same functionality as if they hit CMD + R on their keyboard, or clicked...
Words and Buttons...
Sine and cosine Interactive mnemonics and changeable snippets.TL&DR: Sine is like S and cosine is like C. You can...
over a year ago
12
over a year ago
Interactive mnemonics and changeable snippets.TL&DR: Sine is like S and cosine is like C. You can make things like O or 8 by using them both.
Jim Nielsen’s Blog
Futuristic Progressive Enhancement Imagine someone came to you in a time machine and said, “In the future we will write software that...
7 months ago
61
7 months ago
Imagine someone came to you in a time machine and said, “In the future we will write software that becomes more capable as time passes without any effort on our part.” Wouldn’t that be amazing? Surely you’d want to know what sorcery makes this possible, right? Well the future is...
Josh Comeau's blog
The Undeniable Utility Of CSS :has Of all the latest and greatest CSS features, the “:has” pseudo-class wasn’t exactly at the top of my...
3 months ago
4
3 months ago
Of all the latest and greatest CSS features, the “:has” pseudo-class wasn’t exactly at the top of my wishlist. Once I started using it, however, I kept discovering incredible things I could do with it. It’s now become a core part of my toolkit! In this blog post, I'll show you...
Epic Web Dev
Accessible, Typesafe, Progressively Enhanced Modern Web Forms Learn how to use modern tools that offer the best user and developer experience for web forms.
a year ago
Epic Web Dev
Anatomy of a Test (article) Explore the analogy between learning human anatomy and writing code tests, emphasizing a universal...
11 months ago
6
11 months ago
Explore the analogy between learning human anatomy and writing code tests, emphasizing a universal three-step structure: Setup, Action, and Assertion.
Copper • A blog...
The journey to controlling external monitors on M1 Macs One lazy evening in November 2020, I watched how Tim Cook announced a fanless MacBook Air with a CPU...
over a year ago
11
over a year ago
One lazy evening in November 2020, I watched how Tim Cook announced a fanless MacBook Air with a CPU faster than the latest 16 inch MacBook, while my work-provided 15 inch 2019 MacBook Pro was slowly frying my lap and annoying my wife with its constant fan noise. I had to get my...
Ognjen Regoje •...
User-Agent: ChatGPT Disallow: * Edit: It’s happening! ChatGPT et. al. are bots and as such should obey robots.txt. User-Agent:...
a year ago
7
a year ago
Edit: It’s happening! ChatGPT et. al. are bots and as such should obey robots.txt. User-Agent: ChatGPT Disallow: * User-Agent: ChatGPT Disallow: * was originally published by Ognjen Regoje at Ognjen Regoje • ognjen.io on March 26, 2023.
Remains of the Day
Seeing Like an Algorithm In my previous post on TikTok I discussed why its For You Page algorithm is the connective tissue...
over a year ago
13
over a year ago
In my previous post on TikTok I discussed why its For You Page algorithm is the connective tissue that makes TikTok work. It is the bus on its motherboard that connects and closes all its feedback loops. But in the breathless rush to understand why companies might want to acquire...
Josh Comeau's blog
Animated Pride Flags Happy Pride month! In this tutorial, I'll share a handful of my favourite animation tricks. You'll...
a year ago
4
a year ago
Happy Pride month! In this tutorial, I'll share a handful of my favourite animation tricks. You'll learn how to build an animated wavy pride flag using CSS keyframes and linear gradients. We'll also see how to make it dynamic using React. 🏳️‍🌈
Jim Nielsen’s Blog
“The iOS App Icon Book” in Japanese Seeing something you made put in print is exciting. Seeing something you made translated and put in...
a year ago
27
a year ago
Seeing something you made put in print is exciting. Seeing something you made translated and put in print, well that’s pretty damn exciting too. Such was the feeling when I opened my copy of the Japanese translation of The iOS App Icon Book. While the core idea of the book...
Tyler Cipriani: blog
Review: Beepy, the pocket-sized, linux-powered cyberdeck THIS IS NOT A REAL FINISHED PRODUCT. – Erohead, birther of Beepy The SQFMI Beepy alongside my...
a year ago
6
a year ago
THIS IS NOT A REAL FINISHED PRODUCT. – Erohead, birther of Beepy The SQFMI Beepy alongside my cat printer The Beepy is a handheld Linux console designed by artists and built for nerds. From the first announcement, Beepy’s creator—SQFMI—was candid about the device’s lack of...
Code Of Honor
The making of Warcraft part 3 The first-ever multiplayer game of Warcraft was a crushing victory, an abject defeat, and a tie, all...
over a year ago
15
over a year ago
The first-ever multiplayer game of Warcraft was a crushing victory, an abject defeat, and a tie, all at once. Wait, how is that possible? Well, therein lies a tale. This tale grew organically during the writing to include game AI, the economics of the game business, fog of war...
PostHog's RSS Feed
Group Analytics is now available in PostHog Today, we’re excited to announce that PostHog has launched Group Analytics for both PostHog Scale /...
over a year ago
5
over a year ago
Today, we’re excited to announce that PostHog has launched Group Analytics for both PostHog Scale / Enterprise users and those on PostHog Cloud…
David Gerrells
a perfect blog editor What is the perfect blog editor? Nextjs with mdx is one way of doing it...kinda.
over a year ago
Liz Denys
Gogo Yubari's meteor hammer as a purse So I made a purse shaped like the Gogo Yubari's meteor hammer for a Kill Bill themed party... The...
over a year ago
14
over a year ago
So I made a purse shaped like the Gogo Yubari's meteor hammer for a Kill Bill themed party... The spherical shape comes from quilt batting stuffed between the beach ball style outside and a stiff dodecahedron lining. The body is hand-painted, punched out vinyl over black...
Joel Gascoigne
Dreams come true > Go confidently in the direction of your dreams! Live the life you’ve imagined. - Henry David...
over a year ago
9
over a year ago
> Go confidently in the direction of your dreams! Live the life you’ve imagined. - Henry David Thoreau [http://en.wikipedia.org/wiki/Henry_David_Thoreau] I can distinctly remember that for the month of December in 2010, and for much of January 2011, I did a lot of dreaming.
Nelson's Weblog
The Sandbaggers I just finished an extraordinary late-70s TV show, The Sandbaggers. It’s British spy TV. While the...
a year ago
6
a year ago
I just finished an extraordinary late-70s TV show, The Sandbaggers. It’s British spy TV. While the show name-checks James Bond frequently the soul of it is more of a Le Carré thing. Intelligence as a series of dismal political battles between underpaid civil servants at the home...
Epic Web Dev
Fixing a form validation bug in the Epic Stack (tip) Learn how a web developer fixed a form validation bug in the Epic Stack. Follow their step-by-step...
a year ago
5
a year ago
Learn how a web developer fixed a form validation bug in the Epic Stack. Follow their step-by-step guide and find out how they addressed the issue.
A Beautiful Site
Know When To Draw The Line One-off variations aren't uncommon, but they don't belong in your design system. You're design...
over a year ago
16
over a year ago
One-off variations aren't uncommon, but they don't belong in your design system. You're design system isn't solving for every possible use case — it's encouraging visual consistency and efficient development. Use custom styles for one-offs. This came up recently on my team. We...
bt RSS Feed
RSS Hacks With XSLT RSS Hacks With XSLT 2022-05-23 In my spare time I’ve been further tinkering (hopefully for the...
over a year ago
7
over a year ago
RSS Hacks With XSLT 2022-05-23 In my spare time I’ve been further tinkering (hopefully for the better) with my humble Shinobi Website1 script. The most recent update in patch-1 came with a solid amount of QoL improvements. If you’re interested, I wrote about it on the official...
ntietz.com blog
Writing Hurl's grammar, twice Recently I started working on a programming language, Hurl. Writing the initial code samples and...
a year ago
4
a year ago
Recently I started working on a programming language, Hurl. Writing the initial code samples and developing the concept is all fine and good, but the next step is to actually make it work. The steps I outlined for developing Hurl in the last post were: Write out code samples to...
Joel Gascoigne
The Anti-Todo List * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * For some time,...
over a year ago
11
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * For some time, I’ve gradually realised that my day is not only occupied by tasks from my todo list. Often, there are lots of other tasks which deserve time in my day just as much as those I have
somenice
Mammoth Mountain Logo Ooof. Hard to believe this would have passed all the checks and balances to get appropriated...
a year ago
51
a year ago
Ooof. Hard to believe this would have passed all the checks and balances to get appropriated approved. It’s not a stretch to say that a California ski resort has naively combined two M’s to form a crown but to outright copy a symbol used repeatedly by one of the highest selling...
swyx's site RSS Feed
3 Reasons to Upgrade Git For The First Time Ever Relatively new Git features that actually have me excited
over a year ago
Ink & Switch
01 · Universal version control We believe that simple, powerful, universal version control tools could help all kinds of creators...
10 months ago
23
10 months ago
We believe that simple, powerful, universal version control tools could help all kinds of creators produce better work.
Steve Klabnik
You're probably learning a technology in its seventh season, not its pilot
a year ago
Nelson's Weblog
Class action employment suits Google has agreed to settle a gender discrimination suit brought by employees. Congratulations to...
over a year ago
15
over a year ago
Google has agreed to settle a gender discrimination suit brought by employees. Congratulations to the plaintiffs, suing your employer is a difficult and stressful thing. But while the $118M headline looks big it works out to only $7600 per employee, less after the lawyers'...
blag
Recurse Center Day 14: NoSQL Transactions I learned how using MongoDB was fatal for a startup
over a year ago
PostHog's RSS Feed
All the cool things we built at our Rome hackathon As an all-remote team, we know how important getting together in person is (we’ve written about...
over a year ago
9
over a year ago
As an all-remote team, we know how important getting together in person is (we’ve written about this before ). Our product analytics team (plus…
Daniel Marino
Why I Still Prefer to Prototype Using Code There are several design apps available at a product designers disposal, and I’ve used several of...
8 months ago
59
8 months ago
There are several design apps available at a product designers disposal, and I’ve used several of them over the years. I think these days, most everyone is using Figma, but whatever app you’re using—most of them typically have some sort of prototyping feature. Typically they have...
Steve Klabnik
User-Agent: moz://a
over a year ago
The Codist
My Address Doesn't Fit, And Other Complaints So today, I decided to renew my driver's license online, like any modern person would. I started the...
6 months ago
52
6 months ago
So today, I decided to renew my driver's license online, like any modern person would. I started the process by going to my state's driver's license website. The first page is to verify my home and mail addresses. Since nothing changed, I hit "
PostHog's RSS Feed
Array 1.42.0: Get beta features via our roadmap! Want to know more about what we're up to? Subscribe to our new newsletter , which we send once...
over a year ago
4
over a year ago
Want to know more about what we're up to? Subscribe to our new newsletter , which we send once every two weeks! 1.42.0 update guide for self-hosted…
Josh Collinsworth
For whatever it's worth: my advice on job hunting in tech A collection of things I've learned over my decade in the industry, on how and where to look for...
7 months ago
44
7 months ago
A collection of things I've learned over my decade in the industry, on how and where to look for jobs, applying, interviewing, and all those fun things. For whatever it's worth.
The Pragmatic...
Did Automattic commit open source theft? The maker of WordPress took 2M customers from its biggest rival: has a red line been crossed?
2 months ago
Blog - Bitfield...
Cryptography in Go: AES encryption AES is an amazing, state-of-the-art encryption system, and it’s built right in to Go as part of...
4 months ago
19
4 months ago
AES is an amazing, state-of-the-art encryption system, and it’s built right in to Go as part of the standard library. It’s also incredibly easy to use. Let’s see how!
Copper • A blog...
Reverse engineering the MacBook clamshell mode You just got a large, Ultrawide monitor for your MacBook. You hook it up and marvel at the amount of...
a year ago
17
a year ago
You just got a large, Ultrawide monitor for your MacBook. You hook it up and marvel at the amount of pixels. You notice you never use the MacBook built-in display anymore, and it nags you to have it in your lower peripheral vision. Closing the lid is not an option because you...
Irrational...
Modeling driving onboarding. The How should you adopt LLMs? strategy explores how Theoretical Ride Sharing might adopt LLMs. It...
2 months ago
34
2 months ago
The How should you adopt LLMs? strategy explores how Theoretical Ride Sharing might adopt LLMs. It builds on several models, the first is about LLMs impact on Developer Experience. The second model, documented here, looks at whether LLMs might improve a core product and business...
Alex MacCaw
Lifestyle business FAQ I love lifestyle businesses. I've started a couple (one failed, one sold), before founding a larger...
over a year ago
12
over a year ago
I love lifestyle businesses. I've started a couple (one failed, one sold), before founding a larger business. Lifestyle businesses are intriguing to people, they sound too good to be true but the reality is they are imminently doable. Since I get quite a lot of questions...
macwright.com
Replay.web is cool I’ve been trying to preserve as much of Placemark now that it’s open-source. This has been a mixed...
11 months ago
19
11 months ago
I’ve been trying to preserve as much of Placemark now that it’s open-source. This has been a mixed experience: some products were really easy to move away from, like Northwest and Earth Class Mail. Webflow was harder to quit. But replay.web came to the rescue, thanks to Henry...
Making software...
I Want to Suckless and You Can Too I Want to Suckless and You Can Too 2022-12-23 The Desire to Suckless While I have been happy with my...
over a year ago
19
over a year ago
I Want to Suckless and You Can Too 2022-12-23 The Desire to Suckless While I have been happy with my previous desktop setup using Wayland on Alpine Linux, I just couldn't shake the urge to fully embrace the suckless ecosystem. Although, this meant ditching Wayland and returning...
David Heinemeier...
Turbo 8 is dropping TypeScript By all accounts, TypeScript has been a big success for Microsoft. I've seen loads of people sparkle...
a year ago
5
a year ago
By all accounts, TypeScript has been a big success for Microsoft. I've seen loads of people sparkle with joy from dousing JavaScript with explicit types that can be checked by a compiler. But I've never been a fan. Not after giving it five minutes, not after giving it five years....
macwright.com
Notes on using Linear We’ve been using Linear for a month or two at Val Town, and I think it has ‘stuck’ and we’ll keep...
8 months ago
28
8 months ago
We’ve been using Linear for a month or two at Val Town, and I think it has ‘stuck’ and we’ll keep using it. Here are some notes about it: The keyboard shortcuts are as good as people say they are: you can do things like hover your mouse over a row in a list, hit a keyboard...
ntietz.com blog
I'm taking a sabbatical and attending Recurse Center! It's been almost a decade since I graduated from college. In that time, I've worked at three...
over a year ago
5
over a year ago
It's been almost a decade since I graduated from college. In that time, I've worked at three startups, co-founded a non-profit immigration tech company, consulted for the United Nations, and noped out of grad school after one semester (twice!). I've also struggled with depression...
Making software...
Goodbye WordPress, Hello Jekyll (Again) Goodbye WordPress, Hello Jekyll (Again) 2020-08-13 For the past four months this blog has been...
over a year ago
13
over a year ago
Goodbye WordPress, Hello Jekyll (Again) 2020-08-13 For the past four months this blog has been running on WordPress - but that ended today. I've officially switched back over to Jekyll. I'm not going to spend too much time delving into why I made the transition back, but I'll...
Ognjen Regoje •...
Not wanting to work remotely is now a competitive advantage As much as working remotely is a competitive hiring advantage again, not wanting to work remotely is...
a year ago
8
a year ago
As much as working remotely is a competitive hiring advantage again, not wanting to work remotely is now an advantage for getting hired. A lot of companies are mandating returns to the office. Many more are scrapping fully remote positions, with some even rescinding fully-remote...
swyx's site RSS Feed
Data outlasts Code, yet Code keeps winning My recent [End of Localhost](https://dx.tips/the-end-of-localhost) piece on [Hacker...
over a year ago
16
over a year ago
My recent [End of Localhost](https://dx.tips/the-end-of-localhost) piece on [Hacker News](https://news.ycombinator.com/item?id=31669762) came with the usual dash of HN criticism devolving into [blaming beginners for not knowing the same parts of the stack that they consider...
samwho.dev
Adventures in Homelab: Part 1 If you work in tech, and you use the cloud in any way, you've probably heard of Kubernetes. It's...
over a year ago
13
over a year ago
If you work in tech, and you use the cloud in any way, you've probably heard of Kubernetes. It's inescapable now, and there's no shortage of takes on it. I've worked in a few companies that have used Kubernetes, but never been close to it. I've used in-house tools that...
swyx's site RSS Feed
Eating the Cloud from Outside In AWS is playing Chess. Cloudflare is playing Go.
over a year ago
HTMHell
Template for accessibility guidelines by Steve Frenzel Foreword This template is opinionated and intended as a starting point for those...
a year ago
6
a year ago
by Steve Frenzel Foreword This template is opinionated and intended as a starting point for those who want to define how accessibility is dealt with in their company. It does not matter whether your title is developer, designer, project manager or something else. I created it...
Vladimir Klepov as a...
I conducted 60 interviews in 2 months — here's what I learned It's hard to believe, but, starting mid-october 2023 I conducted 60 technical interviews and hired...
12 months ago
6
12 months ago
It's hard to believe, but, starting mid-october 2023 I conducted 60 technical interviews and hired 10 people into our team. It's been extremely tiring: around 80 hours of active interviewing, plus writing interview reports, plus screening CVs and take-home assignments, plus...
A Smart Bear
When you have nothing: How to find potential customers to interview How do you find potential customers to interview before you have a product, a website, or even a...
a week ago
alexwlchan
A script to get Live Text from images One of my favourite new features on Apple’s OSes in the last few years is Live Text, which is an...
over a year ago
14
over a year ago
One of my favourite new features on Apple’s OSes in the last few years is Live Text, which is an optical character recognition tool that lets you select text in images. This sort of tech has been around for decades, but having it built into the OS makes it much easier to use. The...
A small freedom area...
Improving color quantization heuristics In 2015, I wrote an article about how the palette color quantization was improved in FFmpeg in order...
over a year ago
20
over a year ago
In 2015, I wrote an article about how the palette color quantization was improved in FFmpeg in order to make nice animated GIF files. For some reason, to this day this is one of my most popular article. As time passed, my experience with colors grew and I ended up being...
Making software...
Dynamic Checkboxes Dynamic Checkboxes 2019-07-30 Checkboxes are used quite frequently on forms across the web. Whether...
over a year ago
20
over a year ago
Dynamic Checkboxes 2019-07-30 Checkboxes are used quite frequently on forms across the web. Whether you're selecting a pricing plan during a site's sign-up process or just simply selecting to opt-out from a newsletter, you have most likely interacted with some form of checkbox...
Jim Nielsen’s Blog
The Impressionist Blogging Movement I love this articulation: AI enables action without thought. It comes from an iA article about AI...
4 months ago
45
4 months ago
I love this articulation: AI enables action without thought. It comes from an iA article about AI and the future of design (emphasis mine): Now, what actually is AI? The Italian philosopher and technology ethicist Luciano Floridi sums it up nicely. He posits that AI doesn’t...
Writing - Andreas...
Using fewer parts Fewer parts make for better software and better products.
a year ago
HTMHell
#17 inaccessible cards Context: A list of linked cards, each with heading, image, and teaser text. Bad code <section> ...
over a year ago
7
over a year ago
Context: A list of linked cards, each with heading, image, and teaser text. Bad code <section> <section> <h2>Overview</h2> <figure class="card" data-url="image1.html" style="background: url(image1.jpg)"> <figcaption> <h4>My heading</h4> ...
bt RSS Feed
Pure CSS Simple Dropdown Plugin Pure CSS Simple Dropdown Plugin 2018-09-20 I find myself blowing away default browser select styling...
over a year ago
5
over a year ago
Pure CSS Simple Dropdown Plugin 2018-09-20 I find myself blowing away default browser select styling and implementing my own custom dropdowns far more often than I’d like. So, I recently created a very simple and clean component using just pure CSS. Check out the CodePen below...
A Beautiful Site
Superpowers I stumbled upon a short post that intrigued me. In it, the author claims that the cure for boredom...
over a year ago
15
over a year ago
I stumbled upon a short post that intrigued me. In it, the author claims that the cure for boredom is superpowers. Not superpowers in the Superman sense, but ones that we can teach ourselves. Learn Photoshop, and you’ll have a superpower. You’ll be able to see what your bedroom...
Josh Comeau's blog
The Quest for the Perfect Dark Mode Dark Mode has become common enough that it's a user expectation. And yet, creating the perfect dark...
over a year ago
4
over a year ago
Dark Mode has become common enough that it's a user expectation. And yet, creating the perfect dark mode with a statically-built site/app is deceptively tricky. In this in-depth tutorial, we'll see how to build the perfect, flicker-free, customizable theming solution for...
Elad Blog
Fireside SF: Clem Delangue CEO of Hugging Face Sign up now - in person space is limited
a year ago
MMapped blog
Universal domain types
10 months ago
samwho.dev
Having a Baby During the pregnancy of our first child, I kept a journal. I don’t keep journals. I don’t feel like...
over a year ago
15
over a year ago
During the pregnancy of our first child, I kept a journal. I don’t keep journals. I don’t feel like I have much to say in them. This was different. The whole experience was new, and there was a lot to learn. This post is a cleaning up and stitching together of that journal. It...
Evan Jones -...
How much does the read/write buffer size matter for socket throughput? The read() and write() system calls take a variable-length byte array as an argument. As a...
a year ago
42
a year ago
The read() and write() system calls take a variable-length byte array as an argument. As a simplified model, the time for the system call should be some constant "per-call" time, plus time directly proportional to the number of bytes in the array. That is, the time for each call...
Joel Gascoigne
Making money with a product: A myth? * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * I’ve realised...
over a year ago
9
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * I’ve realised there was a time I didn’t believe people would pay for a product. In my mind, it was a myth. As an entrepreneur, it’s so vital to overcome that. First, a coffee shop conversation I
A Smart Bear
Stubborn Visionaries & Pigheaded Fools How do you know when to stop, versus when to push through? You don't, not even in hindsight. But...
9 months ago
34
9 months ago
How do you know when to stop, versus when to push through? You don't, not even in hindsight. But these guiding questions can help.
swyx's site RSS Feed
Bad Ways to Get Data In working on my [Sapper export library](https://www.npmjs.com/package/ssg), I ran into a very...
over a year ago
14
over a year ago
In working on my [Sapper export library](https://www.npmjs.com/package/ssg), I ran into a very peculiar problem: my pages were being generated a lot more slowly than expected:
Alex Meub
A Craigslist Early Notification Exploit I wrote this post on November 23rd, 2020 when I reported the issue via Craigslist’s vulnerability...
over a year ago
16
over a year ago
I wrote this post on November 23rd, 2020 when I reported the issue via Craigslist’s vulnerability disclosure process. I didn’t want to publish it until I confirmed the issue was fixed, but it appears to have been fixed on February 28th, 2021 so I am posting it...
Computer Things
What could be added to TLA+ Last week Leslie Lamport posted The Future of TLA+, saying "the future of TLA+ is in the hands of...
4 months ago
40
4 months ago
Last week Leslie Lamport posted The Future of TLA+, saying "the future of TLA+ is in the hands of the TLA+ foundation". Lamport released TLA+ in 1999 and shepherded its development for the past 25 years. Transferring ownership of TLA+ to the official foundation has been in the...
Vladimir Klepov as a...
Can we useRef, but without the .current? Let's try! Ah, ref.current. Everybody knows that I love useRef — I've built custom useMemo with it, and I've...
over a year ago
6
over a year ago
Ah, ref.current. Everybody knows that I love useRef — I've built custom useMemo with it, and I've used it instead of useState to optimize re-renders. But typing ref.current over and over is just annoying. Come on, Vladimir, startX.current is just the same as this.startX in a...
macwright.com
Make a ViewPlugin configurable in CodeMirror by () ViewPlugin.fromClass only allows the class constructor to take a single argument with the CodeMirror...
a year ago
4
a year ago
ViewPlugin.fromClass only allows the class constructor to take a single argument with the CodeMirror view. You use a Facet. Great example in JupyterLab. Like everything in CodeMirror, this lets you be super flexible with how configuration works - it is designed with multiple...
Jim Nielsen’s Blog
Blogging & Listening When you read a great blog post, the feeling you often get is: “I already knew this, I just hadn’t...
3 months ago
39
3 months ago
When you read a great blog post, the feeling you often get is: “I already knew this, I just hadn’t been able to express it!” In this sense, writing a great blog post is about listening. If you’re listening — to others, your coworkers, the people you follow, your own experiences,...
Liz Denys
New Loose Leaf Security series: More on authentication and password managers Three more episodes of Loose Leaf Security are out, a series about authentication and password...
over a year ago
12
over a year ago
Three more episodes of Loose Leaf Security are out, a series about authentication and password managers: Using a password manager effectively In a deeper exploration of password manager browser extensions and features for sharing as well as a survey of alternatives to password...
Making software...
Bypassing the WiFi Hardware Switch on the Lenovo X201 Bypassing the WiFi Hardware Switch on the Lenovo X201 2023-04-02 I recently received a ThinkPad X201...
a year ago
53
a year ago
Bypassing the WiFi Hardware Switch on the Lenovo X201 2023-04-02 I recently received a ThinkPad X201 to start using as my daily driver. I purchased the X201 to replace my existing X260. Although some might look at this as a "downgrade" in terms of specs and hardware, I would have...
samwho.dev
API Design: In The Wild (part 2) In a previous post we looked at some real-world APIs, highlighting the good and the bad, and in this...
over a year ago
12
over a year ago
In a previous post we looked at some real-world APIs, highlighting the good and the bad, and in this post we’re going to do the same! › Python’s datetime.datetime Most experienced Pythonistas have written something like this at some point in their career: import datetime now =...
Basta’s Notes
That time I broke login at Box and what it says about business logic and code re-use
a year ago
Words and Buttons...
Bi-whatever transformations An interactive explanation of how polynomial transformations such as trilinear or biquadratic or...
over a year ago
11
over a year ago
An interactive explanation of how polynomial transformations such as trilinear or biquadratic or even linear-cubic work, and how to craft your own that fits your particular task the best.
David Heinemeier...
The gift of ambition The Babylon Bee ran this amazing bit last year: "Study Finds 100% Of Men Would Immediately Leave...
8 months ago
36
8 months ago
The Babylon Bee ran this amazing bit last year: "Study Finds 100% Of Men Would Immediately Leave Their Desk Job If Asked To Embark Upon A Trans-Antarctic Expedition On A Big Wooden Ship". Yes. Exactly. Modern office workers are often starved for ambition, adventure, and even...
Elad Blog
Changing times (or, why is every layoff 10-15%?) Changing economic markets suggests a shift in how some companies should operate, as well as what...
over a year ago
13
over a year ago
Changing economic markets suggests a shift in how some companies should operate, as well as what risks to assume for 2023
A Smart Bear
Legacy Humans have always tried to live forever. Maybe you can, but not in the way you imagine.
3 months ago
33
3 months ago
Humans have always tried to live forever. Maybe you can, but not in the way you imagine.
Jim Nielsen’s Blog
Errors Aren’t All Bad Adam Silver wrote “Don’t use the maxlength attribute to stop users from exceeding the limit” which...
8 months ago
57
8 months ago
Adam Silver wrote “Don’t use the maxlength attribute to stop users from exceeding the limit” which seems like one of those obvious things that needn’t be said, but I’m glad he says it. Have you heard of the “error prevention” heuristic? It means “do everything you can so users...
swyx's site RSS Feed
Why You Should Pre-Sell My thoughts on preselling, from having done it successfully exactly one time.
over a year ago
Ruud van Asseldonk
Git’s push url
over a year ago
The Pragmatic...
Github Copilot and ChatGPT alternatives There are a growing number of AI coding tools that are alternatives to Copilot. A list of other...
a year ago
167
a year ago
There are a growing number of AI coding tools that are alternatives to Copilot. A list of other popular, promising options.
Words and Buttons...
Arctangent scale. It's like the logarithmic scale but infinite With arctangent used as a scale, we can show any function on a screen. And not just a fragment of it...
over a year ago
Ink & Switch
09 · Version history as chat This prototype mixes a history timeline with a chat-like interface. The result is useful for...
9 months ago
21
9 months ago
This prototype mixes a history timeline with a chat-like interface. The result is useful for understanding changes and discussing a work-in-progress document.
Making software...
Enabling Safari Extensions with the macOS Catalina Patcher Enabling Safari Extensions with the macOS Catalina Patcher 2021-09-23 I have an old 2011 MacBook Air...
over a year ago
15
over a year ago
Enabling Safari Extensions with the macOS Catalina Patcher 2021-09-23 I have an old 2011 MacBook Air that is running the latest version of macOS Catalina thanks to the very wonderful Catalina Patcher by dosdude1. This project has made it possible for me to run and test some of...
swyx's site RSS Feed
Ranking #1 on HN in Mid April I last wrote about Ranking #1 on HN in December, and wanted to offer an update from my mild hit...
a year ago
5
a year ago
I last wrote about Ranking #1 on HN in December, and wanted to offer an update from my mild hit today. I am now taking Latent Space (the new name enabled by the previous owner of that domain selling it to me in my first P2P domain purchase) a lot more seriously with the support...
Steve Klabnik
Deleuze for developers: assemblages
over a year ago
Words and Buttons...
Binary search The page contains interactive plots to play with different strategies and distributions.
over a year ago
PostHog's RSS Feed
How Spotify (and PostHog) build successful features This post is from our Substack newsletter, Product for Engineers . It's all about helping engineers...
a year ago
6
a year ago
This post is from our Substack newsletter, Product for Engineers . It's all about helping engineers and founders build better products, and…
Irrational...
Notes on Technology Strategy Patterns Technology Strategy Patterns by Eben Hewitt is a methods-based approach to engineering strategy,...
a year ago
8
a year ago
Technology Strategy Patterns by Eben Hewitt is a methods-based approach to engineering strategy, with a particular focus on the methods wielded by McKinsey consultants, software engineering mainstays like Thoughtworks, and philosophy. A valuable read for anyone looking to build...
Steve Klabnik
WebAssembly is more than just the web
over a year ago
A Beautiful Site
Social sharing buttons are ineffective Back in 2012, I wrote an article called Down with the "Share" Widget. In it, I talked about why...
over a year ago
10
over a year ago
Back in 2012, I wrote an article called Down with the "Share" Widget. In it, I talked about why plastering social sharing buttons all over your website is completely ineffective. This morning, Smashing Magazine all but confirmed my theory. In today's Smashing Newsletter, they...
PostHog's RSS Feed
Why I ditched Google Analytics and Mixpanel for PostHog By Colin Wren, Co-founder of Reciprocal.dev . It took me until I built my second product, ...
over a year ago
5
over a year ago
By Colin Wren, Co-founder of Reciprocal.dev . It took me until I built my second product, Reciprocal.dev , to really understand the value of…
Joel Gascoigne
Use the happiness advantage * Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Looking back to...
over a year ago
10
over a year ago
* Tweet [https://twitter.com/share] * * Buffer [http://bufferapp.com/add] * Looking back to the start of Buffer [http://bufferapp.com], one of the things I think may have helped a lot with gaining traction fast was to involve users in the validation process and tell these...
blag
Marshaling Struct with Special Fields to JSON in Golang This is a short post explaining how I marshaled http.Request into json
over a year ago
Darek Kay
Prevent data loss on page refresh It can be frustrating to fill out a web form, only to accidentally refresh the page (or click...
3 months ago
45
3 months ago
It can be frustrating to fill out a web form, only to accidentally refresh the page (or click "back") and lose all the hard work. In this blog post, I present a method to retain form data when the page is reloaded, which improves the user experience. Browser behavior Most...
PostHog's RSS Feed
Automating a software company with GitHub Actions When developing software, there's no shortage of work: building new features, fixing bugs,...
over a year ago
8
over a year ago
When developing software, there's no shortage of work: building new features, fixing bugs, maintaining infrastructure, launching new systems, phasing…
Josh Comeau's blog
Understanding useMemo and useCallback What's the deal with these two hooks?! Lots of devs find them confusing, for a whole host of...
over a year ago
4
over a year ago
What's the deal with these two hooks?! Lots of devs find them confusing, for a whole host of reasons. In this tutorial, we'll dig deep and understand what they do, why they're useful, and how to get the most out of them.
Miguel Carranza
My role as a founder CTO: Year Four It has been one year since I wrote the blog post where I shared the learnings from the first three...
over a year ago
14
over a year ago
It has been one year since I wrote the blog post where I shared the learnings from the first three years of my journey as a first-time technical founder. 2021 was not an exception, and my role as RevenueCat’s CTO kept evolving quite a lot. As expected, my job did not get any...
PostHog's RSS Feed
Our new objective: Nail Self Serve The longer your strategy gets, the more useless it becomes. That's why, at PostHog, we communicate...
over a year ago
6
over a year ago
The longer your strategy gets, the more useless it becomes. That's why, at PostHog, we communicate strategy as 'Nail X', where X is the thing we need…
Tyler Cipriani: blog
My Remote Desk, 2024 My desk as of 2024-04-30 Remote companies have to work harder at everything. The effort goes beyond...
8 months ago
37
8 months ago
My desk as of 2024-04-30 Remote companies have to work harder at everything. The effort goes beyond “remote-friendly”—you need remote culture. But once you have a remote culture, it’s hard to imagine going back. After nine years of working remotely, the only thing I miss...
swyx's site RSS Feed
Swyx Faves: Software Engineering Daily > "How to become a 10x engineer: listen to @software_daily everyday." - [Amjad...
over a year ago
12
over a year ago
> "How to become a 10x engineer: listen to @software_daily everyday." - [Amjad Masad](https://mobile.twitter.com/amasad/status/956603016513167360)
David Gerrells
Can you convert a video to pure css? Can you convert a video to pure css? There is only one way to find out.
4 months ago
Elad Blog
The False Narrative Around Theranos One of the interesting aspects of the Theranos trial is the degree to which some folks are buying...
over a year ago
21
over a year ago
One of the interesting aspects of the Theranos trial is the degree to which some folks are buying into part of the defense's narrative that "Theranos was just acting like every Silicon Valley startup". This is of course blatantly false, but it is being adopted as some form of...
Josh Collinsworth
Alfred vs. Raycast: my constant debate After a year or so of using Raycast, I'm switching back to Alfred. This is what prompted me to make...
a year ago
5
a year ago
After a year or so of using Raycast, I'm switching back to Alfred. This is what prompted me to make that decision, and why I may or may not stick with it.
alexwlchan
Google is showing outdated results from the UK’s election Last week, fourteen years of Tory government came to an end with a Labour landslide. It was a rough...
5 months ago
41
5 months ago
Last week, fourteen years of Tory government came to an end with a Labour landslide. It was a rough night for every Conservative candidate, many of whom either lost their seat or saw their majorities severely diminished. One of those Conservative candidates was Nigel...
37signals Dev
Basecamp code runs 18% faster with YJIT Basecamp runs ~18% faster with YJIT. In this post I’ll share our setup, and the performance...
a year ago
4
a year ago
Basecamp runs ~18% faster with YJIT. In this post I’ll share our setup, and the performance improvements we achieved. Our setup Basecamp is currently running Ruby 3.3.0-preview3 and Rails Edge (master branch). We configure YJIT in our servers via RUBYOPT=--yjit-disable...
wingolog
preliminary notes on a nofl field-logging barrier When you have a generational collector, you aim to trace only the part of the object graph that has...
3 months ago
7
3 months ago
When you have a generational collector, you aim to trace only the part of the object graph that has been allocated recently. To do so, you need to keep a : a set of old-to-new edges, used as roots when performing a minor collection. A language run-time maintains this set...
A Smart Bear
Selecting the right product metrics A novel system for selecting and presenting product KPIs, satisfying not only the product team, but...
a year ago
25
a year ago
A novel system for selecting and presenting product KPIs, satisfying not only the product team, but also stakeholders, executives, and customers.
David Heinemeier...
Learning to accept defeat against reality A great many smart people terminably hamper their ability to better understand the world by refusing...
a year ago
6
a year ago
A great many smart people terminably hamper their ability to better understand the world by refusing to accept defeat when reality proves them wrong. Armed with an intellect that's at once both too proud to recognize it's own failings and cunningly capable of producing...
A Beautiful Site
Better Buttons with color-mix() and Custom Properties Let's build a button that accepts one color and calculates its hover and focus states automatically....
a year ago
8
a year ago
Let's build a button that accepts one color and calculates its hover and focus states automatically. For this experiment, we'll use CSS Custom Properties, color-mix(), and OKLCH to ensure that tints and shades are perceptually uniform. To keep things simple, we'll follow today's...
swyx's site RSS Feed
The Platinum Rule You've heard of the Golden Rule? "Treat others as you want to be treated." Introducing the Platinum...
over a year ago
22
over a year ago
You've heard of the Golden Rule? "Treat others as you want to be treated." Introducing the Platinum and Silver Rules.
Josh Collinsworth
Social Media, Compulsion, and the 12 Things I Learned on My Break from Facebook I’m beginning to believe that becoming more connected with everyone is making me less connected with...
over a year ago
The Changelog
When You Think You’re At the End, You’re At the Beginning Often when you think you’re at the end of something, you’re at the beginning of something else. –...
over a year ago
7
over a year ago
Often when you think you’re at the end of something, you’re at the beginning of something else. – Fred Rogers This is sunrise over Kansas. Or maybe sunset. I’m not going to tell you this time, because it doesn’t matter all that much. I love that it (if you don’t over-analyze it)...
Tony Finch's blog
My wireguard IPv6 tunnel Our net connection at home is not great: amongst its several misfeatures is a lack of IPv6....
8 months ago
35
8 months ago
Our net connection at home is not great: amongst its several misfeatures is a lack of IPv6. Yesterday I (at last!) got around to setting up a wireguard IPv6 VPN tunnel between my workstation and my Mythic Beasts virtual private server. There were a few, um, learning...
Epic Web Dev
Get Started with the Epic Workshop App (tip)
a year ago
Don Melton
How not to blog First off, be sure to wait at least three-and-a-half years between posts. It’s all about keeping...
over a year ago
15
over a year ago
First off, be sure to wait at least three-and-a-half years between posts. It’s all about keeping your audience riveted in anticipation.
Vadim Kravcenko
How to better handle stress in a startup? Dear Reader, First off, let me commend you on the courage and determination you’ve already shown on...
10 months ago
8
10 months ago
Dear Reader, First off, let me commend you on the courage and determination you’ve already shown on your journey. The […] The post How to better handle stress in a startup? appeared first on Vadim Kravcenko.
swyx's site RSS Feed
The World Is Run By People No Smarter Than You This post was written as a reflection at the first Dev Writers Retreat. It's been really weird doing...
over a year ago
11
over a year ago
This post was written as a reflection at the first Dev Writers Retreat. It's been really weird doing this in the PermaParty city while the world seemingly falls apart outside. Here's my attempt to make sense of it.
Josh Comeau's blog
Animating the Unanimatable An in-depth look at the surprisingly complicated problem of animating the transition when two items...
over a year ago
4
over a year ago
An in-depth look at the surprisingly complicated problem of animating the transition when two items in a list swap positions.
Tinloof - Blog
PWA: What it is and why you should try it The percentage of global web traffic on mobile phones has surged over the past decade. As of...
a year ago
7
a year ago
The percentage of global web traffic on mobile phones has surged over the past decade. As of November 2022, 60.28 percent of all web traffic came through mobile phones. Providing a good mobile user experience is therefore crucial to attract and retain users. Mobile applications...
ntietz.com blog
Approximating pi using... a cake? Happy Pi Day, fellow nerds! This is a holiday I've celebrated every year since at least 2010, and...
a year ago
6
a year ago
Happy Pi Day, fellow nerds! This is a holiday I've celebrated every year since at least 2010, and I'm not stopping anytime soon. The celebrations have evolved. It used to be just "bake a pie" and "haha pi, pie". Over time, I twisted it a bit (pizza is a pie of sorts! a cake with...
swyx's site RSS Feed
Versioned Docs in 30 Seconds with Amplify Console's Branch Subdomains Amplify Console just got the ability to create a custom subdomain for every new branch. This makes...
over a year ago
Computer Things
GitHub Search for research and learning Hi everyone! I have a new blog post out: An RNG that runs in your brain. It's a mix of cool tricks...
11 months ago
6
11 months ago
Hi everyone! I have a new blog post out: An RNG that runs in your brain. It's a mix of cool tricks and math analysis done with an exotic gremlin language. Patreon is here. Also TLA+ workshop on Feb 12 etc etc use the code NEWSLETTERDISCOUNT for $100 off etc Anyway I've been all...
Josh Comeau's blog
Delightful React File/Directory Structure How should we structure components and other files in our React apps? I've iterated my way to a...
over a year ago
4
over a year ago
How should we structure components and other files in our React apps? I've iterated my way to a solution I'm really happy with. In this blog post, I'll share how it works, what the tradeoffs are, and how I mitigate them.
Blog System/5
Kyua graduates The story behind the FreeBSD and NetBSD testing frameworks
5 months ago
A Smart Bear
The roadmap to Product/Market Fit… maybe This eight-step process brought WP Engine from an idea to a Unicorn. While there are other roads to...
a year ago
21
a year ago
This eight-step process brought WP Engine from an idea to a Unicorn. While there are other roads to Product/Market Fit, consider copying some of these ideas.
TokyoDev
Announcing the 2020 International Developers in Japan Survey I've launched the 2020 International Developers in Japan Survey. With this survey, I intend to paint...
over a year ago
7
over a year ago
I've launched the 2020 International Developers in Japan Survey. With this survey, I intend to paint a picture of what life is like for international developers here, both to help people considering making the move here, and also for those already living here to better understand...