Web Rendering Patterns
We find ourselves in an era where a new JavaScript framework was born, bringing exciting possibilities to the web development landscape. However, its complexity can be overwhelming, especially for those new to the field.
Saved
on: 2023-02-11
GPT in 60 Lines of NumPy
In this post, we'll implement a GPT from scratch in just 60 lines of numpy. We'll then load the trained GPT-2 model weights released by OpenAI into our implementation and generate some text. EDIT (Feb 9th, 2023): Added a "What's Next" section and updated the intro with some notes.
Saved
on: 2023-02-10
What does POSIX conformance/compliance mean in the distributed systems worl
Saved
on: 2023-02-08
Value-Oriented Programming
The research Val programming language uses value-oriented programming. Lucian Radu Teodorescu explores this paradigm. Robert C. Martin argues that we’ve probably invented all possible programming languages [Martin11].
Saved
on: 2023-02-08
What is a CDN & How do CDNs work ? | Level Up Coding
Few years back, I came across a new e-commerce website while browsing the internet. I noticed that the images on the website didn’t load quickly. I refreshed the page and retried a couple of times. Finally, after ten seconds, I was able to see the rendered webpage with images.
Saved
on: 2023-02-08
Visual design rules you can safely follow every time
You do not have to follow these rules every time. If you have a good reason to break any of them, do. But they are safe to follow every time. Pure black often has uncomfortably high contrast with other colours, and pure white is too bright. Use close-to-black and close-to-white instead.
Saved
on: 2023-02-07
sdras/awesome-actions
Actions are triggered by GitHub platform events directly in a repo and run on-demand workflows either on Linux, Windows or macOS virtual machines or inside a container in response. With GitHub Actions you can automate your workflow from idea to production. Tool actions for your workflow.
Saved
on: 2023-02-05
Build a GPT-3 app with Next.js and Vercel Edge Functions – Vercel
The field of artificial intelligence continues to take the world by storm. Huge strides have been made in text and image generation through tools like ChatGPT, GPT-3, DALL-E, and Stable Diffusion. It’s spawned a wave of exciting AI startups, many of which we’re seeing built with Vercel and Next.
Saved
on: 2023-02-03
Learn Images
Thanks for tuning in to Google I/O! Watch content on-demand. Stay organized with collections Save and categorize content based on your preferences.
Saved
on: 2023-02-02
(20) Any good no framework PHP MYSQL web app in github, I can learn from? :
Saved
on: 2023-02-01
PSR-14: Example - Access voting | PeakD
So far in our 5 part series we've dug into the details of Events, Dispatchers, and Providers. An awful lot of flexibility can be had from just three simple methods. But how does it work out in practice?
Saved
on: 2023-02-01
15 Prompt di ChtGPT per il SEO Copywriting
Ben ritrovati su questi lidi! Come abbiamo appreso nei precedenti articoli, ChatGPT è uno strumento molto versatile per il SEO copywriting.
Saved
on: 2023-01-31
When Screens were Secondary: Mario Bellini's TCV 250 for Olivetti
Here in 2023 we carry small screens in our pocket--and have gigantic ones on our workstations, in our living rooms and even in our cars. So it might be difficult to imagine a time when screens were not as important, and even a desk-sized unit could have a tiny screen.
Saved
on: 2023-01-31
The Window Trick of Las Vegas Hotels
When I lived in Hong Kong I often passed by a residential apartment complex commonly known as the "monster building".
Saved
on: 2023-01-30
My favourite way of testing validation rules
Validation can be a real pain to test. Forms usually have many different fields, and each field may have many different rules to validate it. Not only that, but certain fields might interact with each other, for example requiring a phone number only if the email address is empty.
Saved
on: 2023-01-29
Complete Internal List of Yandex Ranking Factors - Web Marketing School
Moobs, YOLO, slacktivist, clickbait. These words all turned up in the Oxford English Dictionary in 2016, signalling, perhaps, that the
Tags:
#seo
Saved
on: 2023-01-28
The 10 Best and Worst Decisions I’ve Ever Made
Today’s post is a little more personal than professional (in fact, this started off as a post for my personal blog), but there’s still plenty of overlap into entrepreneurship and crowdfunding. I turned 42 a few weeks ago.
Saved
on: 2023-01-28
An example of setting up xDebug in docker | Viktor Babanov
Once upon a time, I put together a working environment with PHP, xDebug, Docker and PhpStorm. Since then, I have been dragging it from project to project and felt happy. For those who find it difficult to set up a local environment with Docker and xDebug, I am posting this config with explanations.
Saved
on: 2023-01-27
Chronological list of Resources to Learn PHP from Complete Beginner to Adva
Saved
on: 2023-01-25
Certified 100% AI-Free Organic™ content - by Artur Piszek
AI is going to be big. Anti-AI is going to be big as well. One of my favorite products is “100% Fat-Free Pickled Cucumbers Fit (Gluten Free)”, which I once saw at the grocery store.
Tags:
#ai
Saved
on: 2023-01-25
ChatGPT Cheat Sheet.pdf - Google Drive
Saved
on: 2023-01-25
The Story behind ASINs (Amazon Standard Identification Numbers)
During Amazon’s earliest days (1994-1995), CTO Shel Kaphan and Software Engineer Paul (then) Barton-Davis had to write all the software needed to power Amazon.com on the day it offered its website to the world to sell books (official launch date was July 16, 1995).
Saved
on: 2023-01-25
Zero to Nix
No more "works on my machine." Create environments that work seamlessly and are easily sharable across platforms. No more broken builds or mysterious installation processes. Nix builds packages from scratch every time.
Saved
on: 2023-01-23
27 Companies Hiring Remote Software Engineers Anywhere in the World in 2023
Custom Healthcare Data Collection Solutions - WE'RE HIRING WORLDWIDE! Open positions at atlasprimary.breezy.hr Developer APIs for stocks and crypto trading, investing apps, and embedded fintech.
Tags:
#career
Saved
on: 2023-01-23
Netflix’s New Chapter – Stratechery by Ben Thompson
The simplified story of Netflix’s founding starts with Reed Hastings grumbling over a $40 late charge from Blockbuster, and ends with the brick-and-mortar giant going bankrupt as customers came to prefer online rentals from Netflix, with streaming providing the final coup de grâce.
Saved
on: 2023-01-23
#132: The contagious visual blandness of Netflix
Last week I saw M3GAN, the new horror-comedy starring Allison Williams and a robot-doll in a blond wig. I liked it enough. The doll character is genuinely well-done—a seemingly hard-to-nail mix of creepy and campy—but I walked out of the theater with a vaguely empty feeling.
Saved
on: 2023-01-23
How I upgraded eight PHP katas
Split screen Photo generated by DALL-E I recently upgraded 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
Laravel, artisan serve, and HTTPS
If you are working on a project with Laravel, you have more than one way to run it locally. You can use: The Artisan development server uses the PHP built-in web server for running a process that listens to new HTTP connection and executes and runs PHP code.
Saved
on: 2023-01-22
openai/openai-cookbook
Examples and guides for using the OpenAI API. Contribute to openai/openai-cookbook development by creating an account on GitHub.
Saved
on: 2023-01-21
The Page With No Code
It all started when I saw no-ht.ml, Terence Eden‘s hilarious response to Salma Alam-Naylor‘s excellent HTML is all you need to make a website.
Saved
on: 2023-01-21
My PHP enum style guide
This is my personal style guide for using enums in PHP. Each section describes the rule, but also the personal, opinionated reasoning behind the rule. Enums are very close to "constant values".
Saved
on: 2023-01-17
Conditional CSS
I like to think of CSS as a conditional design language. Over the years, CSS was known as a way to style web pages. Now, however, CSS has evolved a lot to the point you can see conditional rules. The interesting bit is that those CSS rules aren’t direct (i.
Saved
on: 2023-01-17
Quick Wins and Marginal Gains in Laravel // slidr.io
Quick Wins in Laravel A collection of tips that make my life easier as a Laravel develope...
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. I previously wrote about the release of Laravel Pint when it was first released.
Saved
on: 2023-01-13
Piano Chords: Simple Online Piano Chord Player
Major chords are triads constructed using a root, a major third and a perfect fifth. Major chords usually sound happy and bright. Major 7th chords are 4-note chords constructed with an additional major seventh. Minor chords are triads constructed using a root, a minor third and a perfect fifth.
Saved
on: 2023-01-10
How to store your app's entire state in the url
I'm working on a flowchart editor that runs in the browser, and I wanted a way for people to use it without having to sign in, or store any data on our server. I wanted to give them control over their data and to be able to store it locally to open and edit later.
Saved
on: 2023-01-10
3D in CSS
This does come with a cost. The greater the rotation, the more readability is lost. However, we don't always need 100% readability. Graphic designer David Carson once designed numbers for the floors of a hotel. They would be the first thing a guest sees when stepping off the elevator.
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. There were millions of members in the database and the Laravel stream download was not working:
Saved
on: 2023-01-10
Furby 1998 source code
Share to Twitter Share to Facebook Share to Reddit Share to Tumblr Share to Pinterest Share via email Want more? Advanced embedding details, examples, and help!
Saved
on: 2023-01-09
A CSS challenge: skewed highlight
I often challenge myself to see if something is possible to implement in a sensible way or to play around with new Web platform features. I end up with a demo but rarely share it with anyone.
Saved
on: 2022-12-31
8 Hard Truths I learned when I got laid off from my SWE job
I haven’t talked about this publicly for a variety of reasons, including Hard Truth #6 (Honesty Can Only Hurt You). And everything worked out for me in the end.
Saved
on: 2022-12-29
Docker on MacOS is slow and how to fix it
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.
Saved
on: 2022-12-23
sarven/unit-testing-tips
In these times, the benefits of writing unit tests are huge. I think that most of the recently started projects contain any unit tests.
Saved
on: 2022-12-21
Steve vs Matt — How two developers approach the same problem | Laravel News
It's very common to see two programmers who code the same feature differently. But 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. To begin with, let's take a step back and think about what Eloquent is.
Saved
on: 2022-12-21
Hello, Video Codec!
It can't be overstated how crucial video codecs are to the products we use every day. Without them, we wouldn't be able to watch videos on YouTube or meet remotely via Zoom.
Tags:
#programming
Saved
on: 2022-12-19
JavaScript APIs You Don’t Know About — Smashing Magazine
16 min read API, Apps, Tools, Guides, JavaScript Share on Twitter, LinkedIn Click here to kickstart your project for free in a matter of minutes.
Tags:
#javascript
Saved
on: 2022-12-15
The best things and stuff of 2022
Great things and people that I discovered, learned, read, met, etc. in 2022. No particular ordering is implied. Not everything is new. *also: see the lists from [2021](https://blog.fogus.me/2021/12/27/the-best-things-and-stuff-of-2021/), [2020](https://blog.fogus.
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.
Saved
on: 2022-12-13
Just Use Postgres for Everything
TLDR; just Postgres for everything. We have invited complexity through the door. But it will not leave as easily.
Saved
on: 2022-12-11
Learn to Code faster.
Fireship is a blazingly fast && highly-amusing way to level up your programming skills. Fireship is all about project-based learning. I create short highly-focused videos that make learning to code addicting.
Saved
on: 2022-12-10
Find the top computer science papers on any topic
Emergent Mind monitors social media for mentions of new computer science papers and surfaces the papers with the most engagement so you can stay informed about important new research. You can filter trending papers by arXiv category or timeframe and also sort the papers in a variety of ways.
Saved
on: 2022-12-10
Unicode characters you can not see
In Unicode there are a lot of invisible characters: regular white-space characters (e.g. U+0020 SPACE), language specific fillers (e.g. U+3164 HANGUL FILLER of the Korean Hangual alphabet), or special characters (e.g. U+2800 BRAILLE PATTERN BLANK).
Saved
on: 2022-12-05
ongoing by Tim Bray · Protect Me From What I Want
Over on Mastodon, there are many people who enjoy not being in the grip of software like Facebook or Twitter that single-mindedly tries to maximize “engagement”, which means the amount of time you stare at the screen so they can show you ads.
Saved
on: 2022-11-29
A Guide to Google Search Ranking Systems | Google Search Central | What's
Google uses automated ranking systems that look at many factors and signals about hundreds of billions of web pages and other content in our Search index to present the most relevant, useful results, all in a fraction of a second.
Saved
on: 2022-11-21
Useful Front-End Boilerplates And Starter Kits
23 min read Guides, Tools, Workflow, Templates, Round-Ups, Best Practices Share on Twitter, LinkedIn 11 Habits of Highly Effective Developers Click here to kickstart your project for free in a matter of minutes.
Saved
on: 2022-11-20
Why is McDonald's Considered a Real Estate Company?
Consumers think of McDonald’s as a burger restaurant, but in the business world, McDonald’s is considered a real estate company. While the brand has sold more than one billion hamburgers to customers around the world, 85% of its stores are owned by franchisees.
Saved
on: 2022-11-19
Tree views in CSS
A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript. Accessibility software will see the tree view as lists nested inside disclosure widgets, and the standard keyboard interaction is supported automatically.
Saved
on: 2022-11-19
The 12-bit rainbow palette
I designed the 12-bit rainbow palette for use on National Grid: Live.
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. Maybe we want to apply one layout to an article element if there’s a hero image at the top, and a different layout if there is no hero image.
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. Naturally, your first guess is 50, since you’re trying to cut the possibilities perfectly in half. I tell you it’s higher, so you guess 75. I tell you it’s lower.
Saved
on: 2022-11-15
Upbase Plans & Pricing - Free | Premium
Upbase is a unique productivity tool that combines project management and daily planning to boost your daily efficiency. Organize, prioritize, and keep track of what needs to be done.
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.
Saved
on: 2022-11-12
How to keep your legacy PHP project working with minimal efforts
So, what is the point? Extremely outdated but excellent working PHP projects are widespread cases in business realities. It’s enough just to open PHP projects listing in Upwork (or any other freelance marketplace) to prove that.
Tags:
#sw-architecture
Saved
on: 2022-11-11
37signals Dev — Vanilla Rails is plenty
I have often heard this: vanilla Rails can only get you so far. At some point, apps become unmaintainable, and you need a different approach that brings the missing pieces, because Rails encourages a poor separation of concerns at the architectural level.
Tags:
#sw-architecture
Saved
on: 2022-11-10
Idiot proof git
Functionality in this post is maintained in this Github Repo. PRs welcome! I’m an idiot. And git is hard. A lot of places use a rebase-based Git workflow, and I’ve made git less hard with a set of handy aliases. Put these in your ~/.
Tags:
#git
Saved
on: 2022-11-10
Audio CD ripping - optical drive accuracy listing
I tend to keep my audio local. Therefore, I need an accurate ripping device for my audio CD collection. Recently I found a neat listing in the dbPowerAmp forum, but I added some information as well as ways to filter and sort. Have fun!
Saved
on: 2022-11-07
Almost monospaced: the perfect fonts for writing
Monospaced fonts are the kind that most folks probably associate with a typewriter. It just looks like typewriter text. Programmers often use monospaced fonts in their code editors, which gives monospaced fonts an association of being computer-y text.
Tags:
#typography
Saved
on: 2022-11-07
MDN => Markdown
In 2021, the Open Web Docs team, with help from Mozilla, the W3C, and the wider web docs community, converted the authoring format for MDN Web Docs - all 11,000 pages of it - from HTML to Markdown. In this post we'll talk about why we did it, how we did it, and how it turned out.
Saved
on: 2022-11-05
Holograms, light-leaks and how to build CSS-only shaders.
I might be understating it a bit, but WebGL is a big deal. You only need to spend five minutes on one of the many design awards sites to see site-after-site fully leaning into the power of canvas.
Tags:
#css
Saved
on: 2022-11-03
My Top 10 Tips for Doing Time In ‘the Hole’ | The Marshall Project
When I went to prison at age 19, my greatest fear was being hurt by other people serving time. So when I passed through the prison gates, I took on the persona of a deadly gangster. I did things that landed me in “the hole” — slang for administrative segregation — over and over.
Saved
on: 2022-10-31
Modern PHP features explained - PHP 8.0 and 8.1 | Laravel News
Since its release in late 2020, PHP 8 has been a game changer. In this tutorial, I will walk through all the latest features with real-world examples of when I might choose to use them.
Tags:
#php
Saved
on: 2022-10-28
Sign in to Visit Go Inside the Great Pyramid of …
Please sign up or login to visit the Guided Tour of the full interior Great Pyramid on the Giza Plateau.
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. Use bash. Using zsh or fish or any other, will make it hard for others to understand / collaborate.
Saved
on: 2022-10-27
Pokemon Deckz
Saved
on: 2022-10-27
I have nothing to declare but my strict types — Webkudu
Learn to improve your PHP code in 1 minute by adding strict types. Adding strict types to your code is stupidly easy. Simply just add the line declare(strict_types=1); to the top of every PHP file you write. It must appear above everything in the file except for the opening <?php tag.
Saved
on: 2022-10-26
OKLCH in CSS: why we moved from RGB and HSL
The new CSS Color 4 specification has added the new oklch() notation for declaring colors. In this post, we explain why this is important for design systems and color palettes. So, that’s the short version, but if you want the whole story, let’s start from the beginning in the next section.
Saved
on: 2022-10-26
The 37signals Guide to Making Decisions
Below you’ll find a collection of general principles we try to keep in mind at 37signals when making decisions.
Saved
on: 2022-10-23
Rare Vintage Toys, Synthesizers and classic Mercedes cars.
When something is created with clear intention the results are often positive. This website explores design intention across a wide range of objects from iconic cars and buildings to electronic gear and even foods. All these unique objects are showcased with original insights and photographs.
Tags:
#design
Saved
on: 2022-10-22
Learn how to upload files in Laravel like a Pro
One of the things that I see many people struggling with is file uploads.
Tags:
#laravel
Saved
on: 2022-10-21
We’re drowning | snarfed.org
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.
Saved
on: 2022-10-20
A non-trivial Movies app built in multiple frameworks
The Movies App is a non-trivial demo application built on top of the TMDB (The Movie Database) API. It features multiple routes and views, authentication, dark mode and a range of performance optimizations.
Saved
on: 2022-10-20
Laravel’s safety mechanisms
Laravel is a mature PHP web application framework with built-in support for almost everything modern applications need.
Tags:
#laravel
Saved
on: 2022-10-20
How to use the watch as a Compass (Northern Hemisphere for instance)
You can estimate approximate compass directions using the positions of the hour hand and the sun as a guide. Keep in mind that these determinations are approximate as discrepancies can arise at different latitudes and in different seasons. 1.
Saved
on: 2022-10-20
Sound – Bartosz Ciechanowski
Invisible and relentless, sound is seemingly just there, traveling through our surroundings to carry beautiful music or annoying noises. In this article I’ll explain what sound is, how it’s created and propagated.
Saved
on: 2022-10-19
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 that the user interacts with, there's actually a z-axis that's often ignored. Some browsers, such as Microsoft Edge, even provide a way to see a website blown up into a 3D view:
Tags:
#css
Saved
on: 2022-10-09
Using Notion as a headless CMS for our blog
Headless CMSes have caught on in popularity recently. When building a CMS for the Data Narratives Blog, we wanted to try one out. While there are plenty of specialized solutions, we went with Notion. It’s stable, everyone is familiar with it, and has a super easy to use API.
Saved
on: 2022-10-07
Take advantage of Git rebase | GitLab
These days, developers spend a lot of time reviewing merge requests and taking these reviews into account to improve the code. We'll discuss how Git rebase can help in speeding up these review cycles. But first, let's take a look at some workflow considerations.
Saved
on: 2022-10-06
quine-relay/QR.rb at master · mame/quine-relay
If you are using Ubuntu 24.04 LTS (Noble Numbat), you can follow these steps. First, you need to type the following apt-get command to install them all.
Saved
on: 2022-10-06
Example Showcase - Tailwind CSS
You can build anything with Tailwind CSS. Well not quite anything, like you can't build a spaceship with it. But you can definitely build the website for the spaceship — NASA did.
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.
Saved
on: 2022-10-03