Must-Know Tips for Efficient Laravel Apps (Not just selecting only needed c
Forget the usual advice like selecting only needed columns, subqueries, eager loading, caching queries, using queues, and indexes. This article dives deeper into actionable strategies that can truly level up your Laravel applications. The toBase() function is a hidden gem in Laravel's Eloquent ORM.
Saved
on: 2024-09-17
HOW TO SUCCEED IN MRBEAST PRODUCTION (leaked PDF)
. Whether or not you enjoy MrBeast’s format of YouTube videos (here’s a 2022 Rolling Stone profile if you’re unfamiliar), this leaked onboarding document for new members of his production company is a compelling read.
Saved
on: 2024-09-16
A (more) Modern CSS Reset - Piccalilli
I know I also have a terrible record with open source maintenance, so I thought I’d archive the original and just post this instead. Do with it what you want! To be super clear, this is a reset that works for me, personally and us at Set Studio.
Saved
on: 2024-09-15
Breaking Down OnlyFans’ Stunning Economics
Though a private company, Felix International (“OnlyFans”) is a UK company and therefore required to publicly disclose certain information pertaining to its business and operations.
Saved
on: 2024-09-13
The 7 Levels of Laravel Optimization: From Rookie to Optimization Overlord
Buckle up! We’re diving headfirst into the wild world of Laravel optimizations, climbing the treacherous ladder from “just glad it works” to “your colleagues might call you a wizard” or curse you for turning simple tasks into a dark art. Ah, the basics.
Saved
on: 2024-09-12
Illuminate
Illuminate Illuminate EXPERIMENT Sign in Illuminate Google apps Main menu
Saved
on: 2024-09-11
yournextstore/yournextstore
We officially support the current LTS version – 20 at the time of writing. YNS should work on versions 18, 20, and 22. If you're using one of those versions and encounter a problem, please report it!
Saved
on: 2024-09-10
Features of your font you had no idea about
In the previous article (Quick guide to web typography for developers) we covered the basic steps to improve the typography in your apps. Today I'd like to expand a bit more on the topic of fonts and what you can get out of a high-quality font (paid or free).
Saved
on: 2024-09-10
How I Built an NFC Movie Library for my Kids
When I was a kid, my sister and I had a tower of VHS tapes we watched endlessly. Fast-forward to today, and my children's movie collection is vastly different. It's completely digital and dispersed across services. I wanted to recreate the tangible magic of my childhood for them.
Saved
on: 2024-09-10
Accessible Colour Palettes | Figma
Saved
on: 2024-09-09
Just Our Type: The Story of Creating Figma Sans | Figma Blog
Developing a brand refresh means rethinking its very foundations. As we charted an evolution of image, color, pattern, and motion, we treated our typeface as a crucial counterpart—a way to punctuate a heightened visual language.
Saved
on: 2024-09-09
OAuth from First Principles - Stack Auth
I've wanted to write a blog post for everyone who learns things the same way that I do; by trying to break them. I'll start off with an awfully flawed implementation that authorizes a user with a 3rd-party app, and then continuously attack it until we arrive at something that's secure, kind of.
Saved
on: 2024-09-09
Creating a Git commit: The Hard Way
Many of us create a few Git commits daily, either through GUI tools or the command line. It can be as simple as following these steps: Here, we've used Git high-level commands (also known as Porcelain commands) like git add, and git commit.
Saved
on: 2024-09-09
Introducing Pollen
Pollen is a highly configurable, responsive library of style-agnostic CSS variables for your next design system. It lets you write faster, more consistent, and more maintainable styles. Made and maintained with ❤️ by the fine people at Bokeh.
Saved
on: 2024-09-09
A Post-Google World
In the late 1930s, it appeared as if Antitrust Division chief Thurman Arnold had tamed the business world, having filed so many antitrust suits with such effectiveness that there was no longer any resistance.
Saved
on: 2024-09-08
HiEventsDev/Hi.Events
Hi.Events is a feature-rich, self-hosted event management and ticketing platform. From conferences to club nights, Hi.Events is designed to help you create, manage, and sell tickets for events of all sizes. For detailed installation instructions, please refer to our documentation.
Saved
on: 2024-09-07
OAuth from First Principles
I've wanted to write a blog post for everyone who learns things the same way that I do; by trying to break them. I'll start off with an awfully flawed implementation that authorizes a user with a 3rd-party app, and then continuously attack it until we arrive at something that's secure, kind of.
Saved
on: 2024-09-06
Mintplex-Labs/anything-llm
AnythingLLM: The all-in-one AI app you were looking for. Chat with your docs, use AI Agents, hyper-configurable, multi-user, & no frustrating set up required.
Saved
on: 2024-09-05
Routed Gothic Font
A clean implementation of a common lettering style found on technical drawings, engraved office signs, computer and typewriter keyboards, and some comic books and avionics from the mid-20th century. It’s ugly, and therein lies its beauty.
Saved
on: 2024-09-04
What's Functional Programming All About?
There are many descriptions floating around the internet, trying to explain functional programming in simple terms. Unfortunately, most discuss details only loosely related to functional programming, while others focus on topics that are completely irrelevant. So of course, I had to write my own!
Saved
on: 2024-09-04
CSS @property and the New Style
The @property at-rule has recently gained support across all modern browsers, unlocking the ability to explicitly define a syntax, initial value, and inheritance for CSS custom properties. It seems like forever ago that CSS Houdini and its CSS Properties and Values API were initially introduced.
Saved
on: 2024-09-04
A simple approach to static site generation
This blog is over 7 years old now, and I'm still writing on it! Not bad! It has always been a statically generated site, backed by my own static generator. In fact, the name "stitcher" comes from that generator. It's called that way because it "stitches" content together.
Saved
on: 2024-08-31
The secret inside One Million Checkboxes
A few days into making One Million Checkboxes I thought I’d been hacked. What was that doing in my database? But let’s back up.
Saved
on: 2024-08-30
Dokku: my favorite personal serverless platform
It’s often desirable to have HTTPS for your site. Dokku makes this easy with the Let’s Encrypt Plugin, which will even auto-renew for you. I don’t use this, because I’m letting Cloudflare handle this with its proxy.
Saved
on: 2024-08-26
TIL: 8 versions of UUID and when to use them
About a month ago1, I was onboarding a friend into one of my side project codebases and she asked me why I was using a particular type of UUID. I'd heard about this type while working on that project, and it's really neat.
Saved
on: 2024-08-26
You Are NOT Dumb, You Just Lack the Prerequisites
I always thought I was too “dumb” to understand math. During my school years, it was evident to me that for some kids math was easy, and for others like myself: painfully difficult. This belief shadowed me for years, a constant reminder that while believe I am smart… I’m not THAT smart.
Saved
on: 2024-08-25
Awesome Stuff on Hot Page
AboutDocsPricingEdit this page!Login or Signup! Build Any Web Page Build your web site on Hot Page and unlock the power of professional tools by using real HTML, CSS and JavaScript—without the hassle.
Saved
on: 2024-08-24
Continuous reinvention: A brief history of block storage at AWS | All Thing
Marc Olson has been part of the team shaping Elastic Block Store (EBS) for over a decade.
Saved
on: 2024-08-22
Code as Art - Andrew Watson
In almost all circumstances, code is a means to an end. The phrase "computer programming" itself describes the activity of programming a computer to accomplish a particular task. Often, that task is logical.
Saved
on: 2024-08-22
Collection Pipelines in PHP
If you read the book “Refactoring to Collections” or saw screencasts and talks by Adam Wathan about collection pipelines, but do not work with Laravel, you might have asked yourself how to apply these techniques to other PHP applications, for example Magento.
Saved
on: 2024-08-21
PHP 7: Type-safe Arrays of Objects
With PHP 7 you can choose to write much more type-safe code than before, thanks to scalar type hints and return types. But what about arrays? There’s still only the generic “array” type hint, you cannot specify what’s in the array. For the IDE, you can add PhpDoc comments:
Tags:
#php
Saved
on: 2024-08-21
On the Record: Music Before Mass Production
With the launch of Thomas A. Edison’s Perfected Phonograph in 1888, recording technologies entered the lives of a significant part of the world’s population.
Saved
on: 2024-08-16
CSS Grid Areas
CSS Grid support has been widely available since March 2017 in all major browsers. Yet, here we are in 2024, and I still see few people using the grid template areas feature. It’s no surprise that many avoid template areas as making sense of the grid is challenging enough.
Saved
on: 2024-08-16
Video with alpha transparency on the web
I've been helping some teams at Shopify improve page load performance, and the issue of 'videos with an alpha channel' kept coming up, where videos of UI mocks needed to be composited on top of inconsistent backgrounds, such as larger CSS backgrounds.
Saved
on: 2024-08-13
I don't write code the way I used to - stitcher.io
I turned 30 last week, and it made me realise I've been coding for more than half of my life now. I took a moment to reflect on my programming skills after a decade, and realised that 20-year-old me would probably facepalm if he'd seen my write code today. First, I gave up on most abstractions.
Saved
on: 2024-08-08
How I Use "AI"
Saved
on: 2024-08-08
Tony Hawk’s Pro Strcpy – I Code 4 Coffee
Back in 2016 I really wanted to improve my exploit development skills and find some new bugs to hack the original Xbox. For many years people could download a hacked game save for games like 007 Agent Under Fire, Splinter Cell, or Mechassault and use it to hack their console.
Saved
on: 2024-08-08
Andy Warhol’s lost Amiga art found
After 39 years, Andy Warhol’s lost Amiga art has been found. And it’s for sale. Details of the reemergence help to shed light on an earlier discovery from about a decade ago. And those details come from the very person who taught Andy Warhol how to use a computer.
Saved
on: 2024-08-05
"We ran out of columns" - The best, worst codebase
Oh the merchants2 table? Yeah, we ran out of columns on merchants, so we made merchants2 When I started programming as a kid, I didn't know people were paid to program.
Saved
on: 2024-08-04
I Recreated Shazam's Algorithm with Go
Saved
on: 2024-08-02
How Google handles JavaScript throughout the indexing process
MERJ and Vercel's research to demystify Google's rendering through empirical evidence.
Saved
on: 2024-08-02
The lie of music discovery algorithms
> I come up with an idea of generating playlists from images. Images that you shot on your phone yourself, or that you found on Pinterest, or a painting that you really like and feel inspired by.
Saved
on: 2024-07-30
StreamPot/StreamPot
StreamPot is still in the early stages of development, we would appreciate your feedback. StreamPot is a project that provides scaffolding for transforming media in your app (e.g. trimming a video, stripping the audio from a video, transcoding a video from mp4 to webp).
Saved
on: 2024-07-29
The “Sun Motorway” is 65 years old: a short history of an extraordinary inf
Eight years pass between the laying of the first stone, on May 19 1956 in San Donato Milanese, with President of the Republic Giovanni Gronchi, and the inauguration of the 764 kilometers between Milan and Naples, on October 4 1964, by Prime Minister Aldo Moro.
Saved
on: 2024-07-29
The New Internet : Hacker News
zokier 8 minutes ago | next [–] Of course these ideas are not that new. IPv6 was supposed to give end-to-end connectivity to all, and originally IPsec was supposed to be mandatory part of IPv6, giving each internet host cryptographic identity. And so on.
Saved
on: 2024-07-27
Generating sudokus for fun and no profit
Once upon a time I decided to create a complete sudoku application as my grandma wanted to play some sudokus on her computer and I wasn't satisfied with the free offers available. The project went on for some years and finally lead to sudoku.tn1ck.
Saved
on: 2024-07-26
WALL·E
From a trash-filled Earth to the futuristic Axiom and back again, WALL·E is a finely crafted balance between consumerist dystopia and sixties space-race optimism.
Saved
on: 2024-07-12
A Guide to PHP Attributes | Ash Allen Design
When building web applications in PHP, there may be times when you want to add metadata to annotate your code that can be read by other parts of your application.
Saved
on: 2024-07-03
The Super Effectiveness of Pokémon Embeddings Using Only Raw JSON and Image
Embeddings are one of the most useful but unfortunately underdiscussed concepts in the artificial intelligence space relative to the modern generative AI gigahype.
Saved
on: 2024-07-01
These Stunning Butterflies Flew 2,600 Miles Across the Atlantic Ocean Witho
Gerard Talavera was walking on a beach in French Guiana in October 2013 when he came across a spectacle that stopped him in his tracks: about ten butterflies fluttering around with tattered wings. These were not just any butterflies.
Saved
on: 2024-07-01
A Model of a Mind
\(\newcommand{\customstrut}{}\) \(\newcommand{\crossedouty}{\dot y \kern -5pt \scriptscriptstyle{\diagup\atop\vphantom{y}}}\) \(\newcommand{\crossedoutone}{\dot 1 \kern -5pt {\scriptscriptstyle{\diagup\atop\vphantom{\textstyle 1}}}}\) \(\newcommand{\crossedouttwo}{\dot 2 \kern -5pt {\scriptscriptsty
Saved
on: 2024-07-01
Adding PHPStan to a legacy project | BackEndTea
PHPStan is a static analysis tool for PHP. It helps you find problems in your code base, like passing wrong types, calling methods that don’t exist, detect wrong annotations, and so much more.
Saved
on: 2024-06-29
Rubenerd
Sean Endicott quoted a CNBC interview with Microsoft’s CEO of AI, and it’s nothing if not entertaining! “With respect to content that is already on the open web, the social contract of that content since the 90s has been that it is fair use.
Saved
on: 2024-06-29
The World's Fastest Voice Bot Demo
A demo showcasing the potential capabilities of voice-driven AI chatbots when optimized and deployed to minimize network and model latency.
Saved
on: 2024-06-27
Table of Contents
Corcel is a collection of PHP classes built on top of Eloquent ORM (from Laravel framework), that provides a fluent interface to connect and get data directly from a WordPress database.
Saved
on: 2024-06-27
The story of Jim Phillips' Screaming Hand
Saved
on: 2024-06-26
The many faces of undefined in JavaScript
But in the end, you have to use this language and you can’t avoid undefined values. Here are some things I’ve found that can limit the exposure to the defects created by the many faces of undefined.
Saved
on: 2024-06-26
Synthesizer for thought | thesephist.com
I share new posts on my newsletter. If you liked this one, you should consider joining the list. Have a comment or response? You can email me.
Saved
on: 2024-06-24
llama.ttf
llama.ttf is a font file which is also a large language model and an inference engine for that model. Ehm, what? llama.ttf is a font file which is also a large language model and an inference engine for that model.
Saved
on: 2024-06-24
Introducing Type Perfect for extra Safety
When dealing with legacy, we first focus on safety by knowing the important types. Code must have reliable type declarations to be refactored safely. Over time, we've been adding our custom rules to address PHPStan blind spots first. Today, we're proud to publish them in one solid package.
Saved
on: 2024-06-20
Billard
Make music in the browser by letting balls clash, setting key, mode, gravity, speed... MIDI enabled.
Saved
on: 2024-06-19
Monads are like burritos
At first I thought the choice of burritos was only a facetious reference to the peculiar and sometimes strained analogies these tutorials make. But then I realized that monads are like burritos.
Saved
on: 2024-06-02
?️ Hi.Events: Open-source event ticketing application built using Laravel
Hey all 👋
Over the last year I've been working on an open-source ticketing application. It's finally somewhat useable, so I thought I'd share.
[h
Saved
on: 2024-06-01
Things you wish you didn't need to know about S3
Let’s try all the different S3 encryption options, see why it’s more like access control than encryption, and why that matters. What happens when marketing and cloud security get together without supervision? Enjoy our review of cloud security marketing material.
Saved
on: 2024-05-31
Tagged Singletons - stitcher.io
I've added a pretty interesting feature to Tempest: tagged singletons. Let me give you the tl;dr: Tempest allows you to attach a tag to a singleton definition, which means you can have multiple singletons of the same class, as long as their tags differ.
Saved
on: 2024-05-27
Essays on programming I think about a lot | benkuhn.net
Every so often I read an essay that I end up thinking about, and citing in conversation, over and over again. Here’s my index of all the ones of those I can remember! I’ll try to keep it up to date as I think of more.
Saved
on: 2024-05-27
string theory, the guitar kind
Saved
on: 2024-05-23
The curious case of the missing period
Recently during my 1 on 1 with my manager we talked about a current project that one of our other teams are working on. This sparked a memory from one of the previous projects I worked on long ago. At the time the client used Microsoft Word templates with placeholders in the document.
Saved
on: 2024-05-22
Rethinking Text Resizing on Web
Airbnb has made significant strides in improving web accessibility for Hosts and guests who require larger text sizes. Improving web accessibility is a critical priority at Airbnb, and we use the Web Content Accessibility Guidelines (WCAG) to help guide our compliance efforts.
Saved
on: 2024-05-21
IBM and the Transformation of Corporate Design
Until the arrival of Elliot Noyes as IBM consulting director of design, IBM’s many office products were a confusion of styles: from 1930s-era punched card equipment—complete with steel Queen Anne legs—to room sized computers inflected with mid-century styling, festooned with tiny signal lamps.
Saved
on: 2024-05-15
The Great Flattening – Stratechery by Ben Thompson
Saved
on: 2024-05-13
Optimizing PHP applications for performance — Mateus Guimarães
I recently posted this tweet and it kinda blew up. I was not expecting it, since I didn't do anything special. To give some context: this was for a legacy PHP application running on 5x t2.xlarge (8vCPUs, 32GB of RAM). Those are massive machines, and super oversized for the application's needs.
Saved
on: 2024-05-07
Why you should take a look at traefik, even if you don't use containers
Traefik got really popular over the last few years in the bubble of home-lab youtubers, that’s when I first heard about it.
Saved
on: 2024-05-06
Time-based CSS Animations
In my earlier post Time Uniform For CSS Animation, I took a note about a way to do CSS animations with time ticks instead of keyframes. It was limited applicable because CSS lacked the ability of doing complex Math calculations.
Saved
on: 2024-05-05
Master the Change
When we upgrade a new project to the best version possible, the latest PHP and framework versions, it's not only about changing syntax sugar to a more fancy one. It's about the vast focus shift in project management so far. It's a change to master.
Saved
on: 2024-04-26
HTML attributes vs DOM properties
Attributes and properties are fundamentally different things. You can have an attribute and property of the same name set to different values. For example:
Saved
on: 2024-04-25
shipmonk-rnd/composer-dependency-analyser
This package aims to detect composer dependency issues in your project. This means you can safely add this tool to CI without wasting resources.
Saved
on: 2024-04-23
Check out some examples
Dashboard, cards, authentication. Some examples built using the components. Use this as a guide to build your own.
Saved
on: 2024-04-23
Inside the Super Nintendo cartridges
One of the exceptional characteristics of the Super Nintendo was the ability for game cartridges (cart) to pack more than instructions and assets into ROM chips. If we open and look at the PCBs, we can find inside things like the CIC copy protection chip, SRAM, and even "enhancement processors".
Saved
on: 2024-04-22
Why you need a "WTF Notebook"
There's a very specific reputation I want to have on a team: "Nat helps me solve my problems. Nat get things I care about done." I keep a bullet journal.
Saved
on: 2024-04-19
Caching secrets of the HTTP elders, part 1
There is no hard limit on table size in csvbase. Within reason, they can be as big as you like. And if you go off and run your own instance you can do whatever you want. Big Data isn't always Better Data, but it's nice to have the option.
Saved
on: 2024-04-17
Use Your Potions and Scrolls
I find that when I play RPG games, I often hoard single-use items like potions and scrolls, saving them for some future critical moment. I finish games like Skyrim with a backpack full of unspent resources, reserved for a crisis that never actually arrives.
Saved
on: 2024-04-17
kevinbentley/Descent3
This is the latest version of the Descent 3 source code. This includes the '1.5' patch that Jeff Slutter and Kevin Bentley several years ago. At the time, it worked for Windows, Linux, and Mac.
Saved
on: 2024-04-17
I Nearly Died Drowning. Here’s What it’s Like to Survive.
This story was funded by our members. Join Longreads and help us to support more writers. Spring in Montana is a season of waiting, trapped in a limbo of rotten snow and inaccessible trails.
Saved
on: 2024-04-17
This is a teenager
The world has a lot of compassion for kids. When we're young, we have so little control over their lives. We play around, mess up, and get into trouble. We also endure dysfunctional homes, family chaos, violence, bullies, and whatever else comes our way.
Saved
on: 2024-04-16
StockTune: Free Music, Endless Possibilities
Move Your Audience with StockTune's Free Music Library. Download Premium Royalty-Free AI-generated Tracks. No Attribution Required!
Saved
on: 2024-04-13
StockCake: Captivating Free Images for Every Occasion
Unleash Creativity with StockCake's Free Image Library. Download Free Photos for Commercial and Personal Use. No Attribution Required!
Saved
on: 2024-04-13
A deeper dive into optimal PHP-FPM settings
In most cases, PHP-FPM settings aren't something an average developer would be in a position to examine more closely. That's ok; not everyone wants or has to spend time dealing with that kind of adjustment on the server.
Saved
on: 2024-04-09
How to think about HTML responsive images
The days with an immobilized knee are long and I’ve just read through the Images section of the HTML Standard, as one does, hoping to better understand how responsive images work. The term responsive image encompasses two complementary approaches.
Saved
on: 2024-04-09
Lennon McLean
This article is written about a Hello World program written in C. This is about as high as you can go as a high-level language without having to worry about what your specific language is doing in the interpreter/compiler/JIT before your Hello World proper actually runs.
Saved
on: 2024-04-09
27 Words You Should Never Use to Describe Yourself
Some are incredibly overused. Others just make you sound full of yourself. Either way, you lose.
Saved
on: 2024-04-08
Mario meets Pareto
Finding the fastest driver is as simple as ranking them by their speed statistic. Here you might think that Bowser or Wario are a no-brainer. But you can't just rely on speed to find the optimal build. You have to consider one as well.
Saved
on: 2024-04-05
Avoid blundering: 80% of a winning strategy
You have been told: Establish a vision. Set goals against the vision. Create actions that achieve the goals. Measure progress against the goals. I’ve told you that myself. It’s how you should plan work.
Saved
on: 2024-04-03
The Rise and Fall of 3M’s Floppy Disk
If you ask the average person what the company 3M does, odds are if they have a few gray hairs hanging out on their scalp, they might say that the company makes floppy disks.
Saved
on: 2024-04-03
A Deep Dive into Email Deliverability in 2024
Around 50 years ago, in October 1971, Ray Tomlinson, a graduate of MIT, sent the first email email over a network.. Last year, ~121 trillion emails were sent between ~4.3 billion people.
Saved
on: 2024-04-01
For Brilliant Color: Packaging the First LSD Blotter
Eric Ghost's cleverly disguised LSD packaging mirrored the 1960s counterculture's psychedelic vision. The image that follows is not of actual Kodak film but rather of a clever and gently satiric stealth packaging for underground LSD made by the New Yorker Eric Ghost — aka Eric Brown — in 1968.
Saved
on: 2024-03-25