How I upgraded eight PHP katas
I recently upgrade eight PHP Katas from a minimum PHP 7.3 to a minimum of PHP 8.0. I used Rector, Easy Coding Standard (ECS) and PhpStan to help me. This is how I approached the upgrade and used these tools.
Saved
on: 2023-01-23
git-sim: Visually simulate Git operations in your own repos
git-sim: Visually simulate Git operations in your own repos with a single terminal command
Saved
on: 2023-01-23
Laravel, artisan serve, and HTTPS
How to serve your Laravel Project locally via HTTPS protocol
Saved
on: 2023-01-22
https://github.com/openai/openai-cookbook/blob/main/techniques_to_improve_reliability.md
Saved
on: 2023-01-21
The Page With No Code
View Source shows nothing, but the page has content. The Page With No Code is the kind of puzzle that makes web developers unhappy.
Saved
on: 2023-01-21
My PHP enum style guide - stitcher.io
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.
Saved
on: 2023-01-17
Conditional CSS
CSS is condtional in many ways. In this article, I will go over a few CSS features that we use every day, and show you how conditional they are.
Saved
on: 2023-01-17
Quick Wins and Marginal Gains in Laravel // slidr.io
Hassle free slidedeck hosting. Designed from the ground up for technical presentations and the need of our community!
Saved
on: 2023-01-13
Configuring Laravel Pint | Laravel News
Laravel Pint is the hot new thing from the Laravel team. An excellent wrapper around PHP CS Fixer that is my go-to code standards tool.
Saved
on: 2023-01-13
Piano Chords: Simple Online Piano Chord Player
Play piano chords online. Hear and visualize major, minor, diminished, augmented & more chords on the piano. Makes for an easy piano chord reference chart.
Saved
on: 2023-01-10
Www.scottantipa
Saved
on: 2023-01-10
How to implement csv exports (millions of rows) in Laravel with a distributed approach using Queues and Jobs
I was working remotely yesterday and I was supposed to implement an export feature for a list of members on a system. The resulting file must be a CSV file.
Saved
on: 2023-01-10
Furby 1998 source code : David Hampton, Wayne Schulz : Free Download, Borrow, and Streaming : Internet Archive
The source code of the firmware used in the 1998 Furby.The patent wrapper containing it was obtained and scanned by Sean Riddle (seanriddle.com).
Saved
on: 2023-01-09
A CSS challenge: skewed highlight — Vadim Makeev
Recently Sacha Greif challenged his Twitter followers to code a fancy highlighter effect using only CSS. Guess what? I took the bait and started coding!
Saved
on: 2022-12-31
8 Hard Truths I learned when I got laid off from my SWE job
I got laid off from a software engineering job in April of 2020.
Saved
on: 2022-12-29
Docker on MacOS is slow and how to fix it
Note 05/01/2024: Hello there, you can find an update version of this article here, with the latest findings, improvements and new tools. Thanks to the DALL·E 2, we finally have a very nice graphic representation of the feelings of a Docker container inside a macOS environment, I will try with this article to make this poor container safe to the coast.
TL;DR Link to heading At the time of writing, the only viable option to have a decent performance and a good DX are:
Saved
on: 2022-12-23
sarven/unit-testing-tips: Unit testing tips by examples in PHP
Unit testing tips by examples in PHP
Saved
on: 2022-12-21
Steve vs Matt — How two developers approach the same problem | Laravel News
It's common to see two programmers who code the same feature differently. It's much less common for those two programmers to see eye-to-eye and remain friendly
Saved
on: 2022-12-21
Effective Eloquent | Laravel News
Get ready to level up your Laravel skills with this tutorial on eloquent queries! You'll learn everything you need to know, from beginner to advanced techniques
Saved
on: 2022-12-21
Hello, Video Codec!
In this post, we'll explore at a high level the key concepts and defining characteristics of video codecs. Then, to further demystify them, we'll even implement one from scratch in about a hundred lines of Rust.
Tags:
#programming
Saved
on: 2022-12-19
JavaScript APIs You Don’t Know About — Smashing Magazine
In this article, Juan Diego covers the least known yet extremely useful APIs, such as the Page Visibility API, Web Sharing API, Broadcast Channel API and Internationalization API. Together we will see what they are, where we should use them, and how to use them.
Tags:
#javascript
Saved
on: 2022-12-15
The best things and stuff of 2022
Saved
on: 2022-12-14
10 Personal Finance Lessons for Technology Professionals
> Patience.
Frugality.
Sacrifice.
When you boil it down, what do those three things have in common? Those are
choices.
Money is not peace of mind.
Money’s not happiness.
Money is, at its essence, that measure of a man’s choices.
This is part of the opening monologue of the Ozark series
[https://www.youtube.com/watch?v=AEK9HrQ9E4I] and when I first heard it, I
immediately stopped the show and dropped it into this blog post. It's a post
that has been many years coming, one I started drafting about
Saved
on: 2022-12-13
Just Use Postgres for Everything
Startups use too much technology. My advice: Use Postgres for everything
Saved
on: 2022-12-11
Stripe's real pricing: a primer
Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics - getlago/lago
Saved
on: 2022-12-10
Fireship - Learn to Code Faster
Fast-paced video tutorials and challenging projects for the modern app developer.
Saved
on: 2022-12-10
Emergent Mind: AI Research Assistant
Research-backed answers to your questions.
Saved
on: 2022-12-10
Unicode characters you can not see
Saved
on: 2022-12-05
ongoing by Tim Bray · Protect Me From What I Want
Saved
on: 2022-11-29
A Guide to Google Search Ranking Systems | Google Search Central | What's
Explore some of Google Search's more notable ranking systems, including systems that are part of our core ranking systems, which are the underlying technologies that produce search results in response to queries.
Saved
on: 2022-11-21
Useful Front-End Boilerplates And Starter Kits — Smashing Magazine
We don’t need to write everything from scratch every single time. With boilerplates and starter kits, we can set up our projects faster, and get to work immediately. We’ve also just recently covered CSS auditing tools, CSS generators, accessible front-end components and VS code extensions — you might find them useful, too. This collection is by no means complete, but rather a selection of things that the team at Smashing found useful and hope will make your day-to-day work more productive and efficient.
Saved
on: 2022-11-20
Why is McDonald's Considered a Real Estate Company?
The golden arches are synonymous with burgers and fries, but business people find something meatier to sink their teeth into when looking at McDonald’s ledger: the real estate.
Saved
on: 2022-11-19
Tree views in CSS
How to create a tree view (collapsible list) using only HTML and CSS
Saved
on: 2022-11-19
The 12-bit rainbow palette
A palette of twelve colours chosen with consideration for how we perceive luminance, chroma, and hue
Saved
on: 2022-11-19
Using :has() as a CSS Parent Selector and much more
It’s been a long-standing dream of front-end developers to have a way to apply CSS to an element based on what’s happening inside that element.
Saved
on: 2022-11-18
A 900-Page Pre-Pantone Guide to Color from 1692: A Complete Digital Scan |
Human beings got along perfectly well for hundreds of millennia without standardized taxonomies of color, but they didn’t do so in a globally connected culture full of logos, brands, and 24/7 screens.
Saved
on: 2022-11-17
Twenty Questions
Let’s play a game. I’m thinking of a number from 1 to 100. You guess, and I tell you whether my number is higher or lower.
Saved
on: 2022-11-15
Upbase Plans & Pricing - Free | Premium
Upbase - All-in-one project management tool with built-in daily planning
Saved
on: 2022-11-13
Dealing with technical debt during the sprint — Matthias Noback - Blog
It’s quite ironic that my most “popular” tweet has been posted while Twitter itself is in such a chaotic phase. It’s also quite ironic that I try to provide helpful suggestions for doing a better job as a programmer, yet such a bitter tweet ends up to be so popular.
Twitter and Mastodon are micro-blogging platforms. The problem with micro-blogs, and with short interactions in general, is that everybody can proceed to project onto your words whatever they like. So at some point I often feel the need to explain myself with more words, in an “actual” blog like this one.
Saved
on: 2022-11-12
How to keep your legacy PHP project working with minimal efforts
I hope this article can be helpful for PHP-based website owners, but also it can be quoted in a conversation between a PHP developer and a client. So, what is the point? Extremely outdated but…
Tags:
#sw-architecture
Saved
on: 2022-11-11
37signals Dev — Vanilla Rails is plenty
A common critique of Rails is that it encourages a poor separation of concerns. That when things get serious, you need an alternative that brings the missing pieces. We disagree.
Tags:
#sw-architecture
Saved
on: 2022-11-10
Idiot proof git
Aliases, etc that have made rebase-based workflows in Git much less advanced feeling.
Tags:
#git
Saved
on: 2022-11-10
Audio CD ripping - optical drive accuracy listing
Saved
on: 2022-11-07
Almost monospaced: the perfect fonts for writing - blakewatson.com
The unedited, writerly feel of monospaced fonts meets the readability and legibility of proportional ones.
Tags:
#typography
Saved
on: 2022-11-07
MDN => Markdown
Open Web Docs supports web platform documentation for the benefit of web developers & designers worldwide. We are a community of web developers, standards makers, and technology companies that rely on this documentation as critical digital infrastructure, and we work cooperatively to ensure its long-term success and maintenance.
Saved
on: 2022-11-05
Holograms, light-leaks and how to build CSS-only shaders - Robb Owen
Get a shiny WebGL look without actually using WebGL. In this article we take a look at how CSS blend modes unleash the potential of cool compositing effects without the need for JavaScript
Tags:
#css
Saved
on: 2022-11-03
My Top 10 Tips for Doing Time In ‘the Hole’ | The Marshall Project
In prison, going to “the hole” can mean spending 23 hours a day alone in a tiny cell. Here, incarcerated author Michael J. Nichols shares his top 10 tips for enduring long stretches of “administrative segregation.”
Saved
on: 2022-10-31
Modern PHP features explained - PHP 8.0 and 8.1 | Laravel News
Since its release, PHP 8 has been a game changer. In this tutorial, let's walk through all the latest features with real-world examples of when to use them.
Tags:
#php
Saved
on: 2022-10-28
Go Inside the Great Pyramid of Giza | Digital Giza
The Great Pyramid, or the Pyramid of Khufu, has fascinated scholars and tourists alike for centuries. Located on the Giza Plateau near Cairo, Egypt, it is the largest of the three pyramids that form the Giza Pyramid Complex. Built during the Fourth Dynasty of the Old Kingdom of Egypt, around 2580–2560 BC, it is one of the oldest and most intact structures from ancient Egypt, and it is the only one of the Seven Wonders of the Ancient World still in existence.
Credits:
This tour was created on-site by the following people:
Doctor Wael Fathy, Ministry of Tourism and Antiquities
Inspector Ezzat Salama, Ministry of Tourism and Antiquities
Luke Hollis, Mused
Script is by Luke Hollis. Victoria Almansa-Villatoro provided the …
Saved
on: 2022-10-28
Shell Script Best Practices — The Sharat's
This article is about a few quick thumb rules I use when writing shell scripts that I’ve come to appreciate over the years. Very opinionated....
Saved
on: 2022-10-27
Pokemon Deckz
Saved
on: 2022-10-27
I have nothing to declare but my strict types — Webkudu
Improve your PHP code in just 1 minute by adding strict types! Part of a series focused around PHP/Laravel/MySQL/Coding.
Saved
on: 2022-10-26
OKLCH in CSS: why we moved from RGB and HSL—Martian Chronicles, Evil Martians’ team blog
CSS Color Module 4 adds oklch(), and we gain P3 wide-gamut support, boost code readability, and improve developer-designer communication.
Saved
on: 2022-10-26
The 37signals Guide to Making Decisions
A company is essentially two things: a group of people and a collection of decisions. How those people make these decisions is the art of running a business. This guide shows how we do it.
Saved
on: 2022-10-23
Blending Modes | Dan Hollick
Do you just click different blending modes until it sort of looks right?
Well, that probably won't change after you read this but at least you probably won't use Lighten or Darken again.
(you should bookmark this thread and use it as a reference)
Saved
on: 2022-10-22
Learn how to upload files in Laravel like a Pro - Laravel News
One of the things that I see many people struggling with is file uploads. How do we upload a file in Laravel? What is the best way to upload a file?
Tags:
#laravel
Saved
on: 2022-10-21
We’re drowning | snarfed.org
Matthew Childs / Reuters We live in a golden age of software reuse. We've never before had such a wealth of freely available code, in so many languages, so easy to find and install. And yet, we're drowning. We slap together rickety rowboats and toss them out on PyPI Ocean and npm Sea, then act…
Saved
on: 2022-10-20
Movies App
Movies is a non-trivial learning application in Next.js, Angular, Nuxt.js, Svelte, Lit and other frameworks. Built to show developers how they can deliver reasonably good experience while maintaining good developer experience.
Saved
on: 2022-10-20
Laravel’s safety mechanisms — PlanetScale
A comprehensive overview of Laravel’s many safety features that can help you prevent painful mistakes.
Tags:
#laravel
Saved
on: 2022-10-20
How to use the watch as a Compass (Northern Hemisphere for instance) | CITIZEN WATCH Global Network
How to use the watch as a Compass (Northern Hemisphere for instance)CITIZEN WATCH Global portal site.
Saved
on: 2022-10-20
Randoma11y - Accessible color combinations
Discover millions of accessible color combinations with RandomA11y, the real-time color playground.
Saved
on: 2022-10-17
CSS mesh gradients generator: Mesher Tool by CSS Hero
A Free tool to create beautiful mesh gradients only with CSS code. Use your own colors or randomly generated ones to build the trendiest CSS gradients of 2023
Saved
on: 2022-10-17
Feather – Simply beautiful open source icons
Feather is a collection of simply beautiful open source icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.
Saved
on: 2022-10-17
Why is z-index not working?! - Explaining CSS Stacking Context - DEV Commun
Dimensions are weird. While most web apps seem to focus on the x and y axis, representing a 2D plane...
Tags:
#css
Saved
on: 2022-10-09
Using Notion as a headless CMS for our blog
We used Notion’s API and incremental static regeneration to power our blog
Saved
on: 2022-10-07
Take advantage of Git rebase | GitLab
Tap into the Git rebase features to improve your workflow.
Saved
on: 2022-10-06
quine-relay/QR.rb at master · mame/quine-relay
An uroboros program with 100+ programming languages - mame/quine-relay
Saved
on: 2022-10-06
Example Showcase - Tailwind CSS
A collection of beautiful websites built with Tailwind CSS.
Saved
on: 2022-10-06
Modeling a scalable fantasy football database with Amazon DynamoDB | AWS Da
Today’s online games generate more data than ever and have request rates that reach millions per second. For these data-intensive games, it’s important for developers to select a database that delivers consistent low latency at any scale and has throughput elasticity to accommodate spikes in traffic without costly overprovisioning during low activity periods. This is […]
Saved
on: 2022-10-03
Templating in HTML | Kitty Giraudel
I’m Kitty Giraudel, a transfeminine web engineer based in Berlin, focused on accessibility and inclusivity.
Saved
on: 2022-10-02
Figtree - Google Fonts
Figtree is a clean yet friendly geometric sans serif font for usage in web and mobile apps. It's light-hearted and crisp when used for text, yet still retains s
Tags:
#typography
Saved
on: 2022-10-02
Good design means it's easy-to-change — Matthias Noback - Blog
Software development seems to be about change: the business changes and we need to reflect those changes, so the requirements or specifications change, frameworks and libraries change, so we have to change our integrations with them, etc. Changing the code base accordingly is often quite painful, because we made it resistant to change in many ways.
Code that resists change I find that not every developer notices the “pain level” of a change. As an example, I consider it very painful if I can’t rename a class, or change its namespace. One reason could be that some classes aren’t auto-loaded with Composer, but are still manually loaded with require statements. Another reason could be that the framework expects the class to have a certain name, be in a certain namespace, and so on. This may be something you personally don’t consider painful, since you can avert the pain by simply not considering to rename or move classes.
Saved
on: 2022-09-28
Experimenting A New Syntax To Write SVG
It's been a while since I introduced a new syntax to the css-doodle project
to solve my own problems.
While I'm not sure it would be useful elsewhere,
I need to make some notes before I forget the details.
Saved
on: 2022-09-27
I spent two years trying to do what Backstage does for free - Stack Overflow
Saved
on: 2022-09-22
Walkmp3rson Is An MP3 Player Like Sony Never Made
If you weren’t already well aware, the 90s are like, so hot right now, and that includes cassette tapes for some reason. (Even though we personally didn’t have a CD player until 1998, t…
Saved
on: 2022-09-22
Type-Level TypeScript
An online course to become a TypeScript expert. Discover the most advanced features of the type system while solving fun challenges!
Saved
on: 2022-09-21
https://www.artgarfunkel.com/library.html
Saved
on: 2022-09-16
Algorithms in PHP: Deques (circular buffers & linked lists) – A Walk Within
In the previous post, I talked about priority queues. But in my explanation of an alternative implementation, I neglected to mention a few things: The alternative implementation isn’t for pro…
Saved
on: 2022-09-13
Ask HN: What are some of the best documentaries you've seen? | Hacker News
Tags:
#video
Saved
on: 2022-09-12
Ask HN: What's the best source code you've read? | Hacker News
Saved
on: 2022-09-11
Ask HN: Does anyone have a great public domain list of programming books? | Hacker News
Tags:
#books
Saved
on: 2022-09-10
Mounting Amazon S3 to an Amazon EC2 instance using a private connection to S3 File Gateway | Amazon Web Services
Customers rehosting applications in the cloud that deal with large files and unstructured data can benefit by utilizing object storage from a performance, scalability, and cost perspective, as compared to block or file storage. If a legacy or COTS (commercial-off-the-shelf) application being migrated doesn’t inherently support object storage services like Amazon S3, it may be […]
Saved
on: 2022-09-09
Infinite Scrolling: When to Use It, When to Avoid It
Infinite scrolling minimizes interaction costs and increases user engagement, but it isn’t a good fit for every website. For some, pagination or a Load More button will be a better solution.
Tags:
#frontend
Saved
on: 2022-09-08
Critical CSS? Not So Fast! – CSS Wizardry – Web Performance Optimisation
Critical CSS promises faster loading, but is it worth the complexity? Learn when Critical CSS actually boosts performance or when it might slow you down.
Saved
on: 2022-09-07
Why A4? – The Mathematical Beauty of Paper Size - Heidelberg Laureate Forum
Unless you have skipped a lot of school, or work, or both – or you live in the USA – you have probably used an A4 sheet of paper before now. Have you ever wondered …
Saved
on: 2022-09-06
Granular interfaces — Sebastian De Deyne
A few weeks ago a spec change for an application we're working on forced us to refactor part of the codebase. It was food for thought about the flexibility granular interfaces provide, and choosing the right abstraction at the right time. This is a short writeup on the thought…
Tags:
#programming
Saved
on: 2022-09-06
Patterns.dev - Modern Web App Design Patterns
Learn JavaScript design and performance patterns for building more powerful web applications.
Saved
on: 2022-09-06
(...) — USB, Thunderbolt, Displayport & docks
Blog post — USB, Thunderbolt, Displayport & docks
Saved
on: 2022-09-05
Run Stable Diffusion on your M1 Mac’s GPU – Replicate blog
How to run Stable Diffusion locally so you can hack on it
Saved
on: 2022-09-01
How to offer effective free trials | Upollo
More users and more revenue without needing to run 20 A/B tests
Tags:
#business
Saved
on: 2022-08-31
4.2 Gigabytes, or: How to Draw Anything - ⌨️??♂️?
Saved
on: 2022-08-30