magnASCII.io Simone Magnaschi
Senior Full Stack Web Dev

Exploring Laravel’s Job Queue: Advanced Features for Efficient and Scalable

As web applications become increasingly complex and data-intensive, it’s becoming more and more important to offload time-consuming tasks to background processes. One popular way of doing this in Laravel is through the use of the job queue.
Tags: #laravel
Saved on: 2023-04-03

CSS Masking - Ahmad Shadeed

In the design world, masking is a popular technique to achieve unique design effects. As a designer, I’ve used it many times, but my usage of it on the web is rare.
Tags: #css
Saved on: 2023-03-31

How to read MySQL EXPLAINs

Learn how to read the output in MySQL EXPLAIN plans so you can utilize them to improve query performance. In the MySQL world, EXPLAIN is a keyword used to gain information about query execution. This blog post will demonstrate how to utilize MySQL EXPLAIN to remedy problematic queries.
Saved on: 2023-03-31

25 PERFECT AI Prompts for PHP Developers | by Brady Lewis | Mar, 2023 | Med

With prompts ranging from PHP frameworks to database integration, these prompts offer a wealth of actionable insights and guidance to help you optimize your development efforts and deliver outstanding results.
Saved on: 2023-03-30

Gut - Ease your journey with Git

Gut is a user-friendly Git CLI for Windows, Mac, and GNU/Linux. With intuitive commands and streamlined workflows, Gut simplifies the process of using Git's complex system, allowing you to focus on your code. Your code was working two days ago, right? Revert it without modifying history
Saved on: 2023-03-30

Bicycle – Bartosz Ciechanowski

There is something delightful about riding a bicycle. Once mastered, the simple action of pedaling to move forward and turning the handlebars to steer makes bike riding an effortless activity.
Saved on: 2023-03-29

Testing without mocking frameworks.

Over the years, my coding practices have changed a lot. From hacking away until it works to TDD/BDD/DDD and everything in between. One of the biggest changes in my developer career has been when, why, and how I test my code. In particular, my view on mocking frameworks has changed a lot.
Saved on: 2023-03-28

Superhuman: What can AI do in 30 minutes?

The thing that we have to come to grips with in a world of ubiquitous, powerful AI tools is how much it can do for us. The multiplier on human effort is unprecedented, and potentially disruptive. But this fact can often feel abstract. So I decided to run an experiment.
Saved on: 2023-03-26

Modelling Busines Processes in Laravel

As developers, we often map business processes to digital processes, from sending an email to something quite complex. Let's look at how to take a more complicated process and write clean and elegant code. It all starts with a workflow.
Saved on: 2023-03-25

Introducing Bladestan - PHPStan analysis of Blade templates

This Tuesday, I was a guest in 2nd podcast of PHP Portugal folks. It was fun as always, and apart from GPT questions, I got asked about the Laravel open-source packages like Punchcard. I wrote about Twig static analysis a year and a half ago.
Saved on: 2023-03-24

Everything You Can Test In Your Laravel Application

This article is about the How and What to test in Laravel. If you want to learn about the Why you should write tests, check out my 3 Compelling Reasons For Developers To Write Tests article. All test examples focus on testing concepts and can be applied to all testing frameworks.
Saved on: 2023-03-24

Web fingerprinting is worse than I thought

If you are reading this article, you are most likely using a web browser, and you have some expectations or beliefs about online privacy and security. For example, I do not know what you are reading on other tabs on your web browser, and you would like to keep it that way.
Saved on: 2023-03-22

Role And Permission In Laravel 10 using Spatie: The Definitive Guide (2023)

Roles and permissions can make or break your web application. If you’re not careful, your users might end up running amok, wreaking havoc on your carefully crafted code. Roles and permissions are like the bouncers at a club.
Saved on: 2023-03-21

Course introduction — MySQL for Developers — PlanetScale

Welcome to the MySQL for Developers course, where we’ll cover everything you need to know to become an expert user of the MySQL database. My name is Aaron Francis, and I’ll be your instructor for the course.
Saved on: 2023-03-21

MIT’s Barry Duncan demonstrates the power of writing in reverse

Words have always played a central role in Barry Duncan’s life. He’s worked in bookstores for more than 40 years, reads often, and has tried his hand at writing novels, children’s books, song lyrics, and plays.
Saved on: 2023-03-21

Laying Out a Print Book With CSS

Last year I published my debut technothriller, The Anshar Gambit, as an eBook. Satisfying, yes, but I’ve spent entirely too much of my life peddling bits. I wanted to hold it. Unsurprisingly, in order to get my book printed, I first needed to submit a pixel-perfect PDF of all the pages.
Saved on: 2023-03-21

Download Glaze

We updated our AboutUs page with our values and our mission. New!: Glaze 2.0 has arrived! More info.
Saved on: 2023-03-20

I’ve been employed in tech for years, but I’ve almost never worked – Emmanu

When Twitter fired half of its employees in 2022, and most tech giants followed suit, I wasn’t surprised. In fact, I think little will change for those companies. After being employed in the tech sector for years, I have come to the conclusion that most people in tech don’t work.
Saved on: 2023-03-17

Monitoring PHP Performance and Diagnosing Bottlenecks

As one of the most widely used scripting languages for web development, PHP is known for its flexibility and ease of use. However, with complex applications and increasing traffic, PHP performance can sometimes take a hit.
Saved on: 2023-03-17

Design notes on the 2023 Wikipedia redesign

In the dynamic and bustling landscape of New York, personal injuries can have profound and far-reaching consequences.
Saved on: 2023-03-16

How did Dennis Ritchie produce his PhD thesis? A typographical mystery (202

coliveira 7 minutes ago | next [–] It seems that the author never used a typewriter! The typewriter has tabs, so that you can center the equal sign, for example, after 3 tabs, and the alignment will be perfect each time.
Saved on: 2023-03-16

Modern Font Stacks

Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do.
Saved on: 2023-03-15

Laravel Response Classes

Responding from your Laravel application is what I would call vital, especially when you are building an API. Let's have a look at how we can power up our responses. Many of us typically start with using the helper functions in our applications, as the docs and many tutorials will use them.
Saved on: 2023-03-15

Convert code to your programming language of choice

Convert code to your programming language of choice
Saved on: 2023-03-13

ChatGPT's API is So Good and Cheap, It Makes Most Text Generating AI Obsolete

Everyone knew OpenAI would release an API for ChatGPT at some point. The APIs for GPT-3 alone enable the existence of companies such as Jasper and Copy.ai. The real question was the price of the ChatGPT. For context, when GPT-3 went out of beta in 2021, it cost $0.
Saved on: 2023-03-12

Secret colours of the Commodore 64

In 1991 I was fourteen years old. It would be fair to say I was obsessed with computers. I proudly owned a brown ‘breadbox’ Commodore 64 with an exotic upgrade - an Oceanic 5.25” disk drive: In May that year, I was reading COMMODORE FORMAT and devouring the C64 game reviews.
Saved on: 2023-03-12

Why the floppy disk just won’t die | Ars Technica

When Mark Necaise got down to his last four floppy disks at a rodeo in Mississippi in February, he started to worry.
Saved on: 2023-03-08

Online gradient descent written in SQL • Max Halford

Edit – this post generated a few insightful comments on Hacker News. I’ve also put the code in a notebook for ease of use. Modern MLOps is complex because it involves too many components.
Saved on: 2023-03-08

How Discord Stores Trillions of Messages

In 2017, we wrote a blog post on how we store billions of messages. We shared our journey of how we started out using MongoDB but migrated our data to Cassandra because we were looking for a database that was scalable, fault-tolerant, and relatively low maintenance.
Saved on: 2023-03-08

The Lost Art of Lacing Cable - The Broadcast Bridge - Connecting IT to Broa

Cable lacing is definitely old school but it's been the method of choice for major broadcast facilities, stage rigging, CATV installers, NASA engineers, ships and aircrafts for many years.
Saved on: 2023-03-08

ChatGPT Explained: A Normie's Guide To How It Works

The story so far: Most of the discussion of ChatGPT I’m seeing from even very smart, tech-savvy people is just not good. In articles and podcasts, people are talking about this chatbot in unhelpful ways.
Tags: #ai
Saved on: 2023-03-08

Reliability: It's Not Great

The last four months have been rough. We’ve had more issues than we’re OK with. I’ve hesitated to share this because, well, I’m fighting a debilitating feeling of failure. Fear, too. If we don’t improve, our company ceases to exist, and I really like working on this company.
Saved on: 2023-03-07

(20) How do I become a better dev? : PHP

I've come to the conclusion that after 9 years of doing PHP I'm not very good at it. I'm supposedly a "senior" but to be honest I most certainly don't feel like one. I'd like to remedy that.
Saved on: 2023-03-06

Organizing test code in PHP

You are working on a PHP application or a package. You have decided that you want to use: What are your drivers and options for organizing test code?
Saved on: 2023-03-06

Legacy Software Systems: How to Live with Aging Software Architecture?

What is Legacy Software and where to find it? After 10 years of running and putting thousands of miles on the clock, a car is bound to have some issues. After all, every mechanical part has its limits when it comes to durability.
Saved on: 2023-03-06

RoomGPT

See what our over 2 million users are saying about the product. "You can now see your rooms in different themes before you renovate. How cool is that! 😳"
Saved on: 2023-03-05

Smooth and simple transitions with the View Transitions API - Chrome Develo

The View Transition API gives you the power to create seamless visual transitions between different views on your website.
Saved on: 2023-03-05

Build a ChatGPT clone using the new OpenAI Chat API

OpenAI released a brand new API that allows you to make use of the powerful AI model that also powers ChatGPT. Let's see how we can make use of it and build a ChatGPT clone using Laravel 10. If you want to jump directly to the source code, you can find it on GitHub.
Saved on: 2023-03-04

Why I Migrated This Website From Symfony To Laravel | Tomas Votruba

It's been exactly a week since I migrated this website from Symfony to Laravel. I had never done such a migration before and feared the pitfalls waiting for me. The migration itself was easy and swift.
Saved on: 2023-03-03

Clerk | Authentication and User Management

Add sign up, sign in, and profile management to your application in minutes. Theme our prebuilt frontends to match your branding, or customize everything with our APIs.
Saved on: 2023-03-03

What are the steps to containerize a Laravel 10 application with PHP 8.2 an

Docker is a powerful tool for developers that allows them to create containerized applications. Containerization can help to simplify development and deployment processes, as well as make it easier to run applications consistently across multiple environments.
Tags: #laravel
Saved on: 2023-02-28

The Rules of Margin Collapse

In CSS, adjacent margins can sometimes overlap. This is known as “margin collapse”, and it has a reputation for being quite dastardly. Instead of sitting 48px apart, their 24px margins merge together, occupying the same space!
Tags: #css
Saved on: 2023-02-28

Rauno Freiberg. Devouring details. Nourishing novelty. Deploying excellence.

Rauno Freiberg. Devouring details. Nourishing novelty. Deploying excellence.
Saved on: 2023-02-25

I created an event-driven Slim Framework skeleton using AMQP and CQRS. In search for constructive feedback

Why? I was in need of a no-nonsense, intuitive and easy-to-use skeleton to set up new projects. I decided to open source it. Hopefully some of you may find this useful
Saved on: 2023-02-24

Query your Laravel database using natural language - Beyond Code

In November 2022 I started experimenting a lot with OpenAI's large language models, such as DaVinci or Codex. One of those experiments was the ability to query your database using natural language.
Saved on: 2023-02-22

Four Ways to Build Web Apps

This is my opinionated list of four approaches to building websites and web applications. Publicly hosted on the internet, serving HTML, CSS, JavaScript, images, etc over HTTP. Static websites are boring.
Saved on: 2023-02-21

Floating UI - Create tooltips, popovers, dropdowns, and more

Anchor a floating element next to another element while making sure it stays in view by avoiding collisions. This lets you position tooltips, popovers, or dropdowns optimally. Build your own floating UI components with React.
Saved on: 2023-02-21

Come creare un modello di testo SEO riutilizzabile con ChatGPT

Ben ritrovati su questi lidi. Abbiamo già parlato in più occasioni di come ChatGPT possa rivelarsi un utile strumento per il copywriting SEO quando utilizzato con intelligenza.
Saved on: 2023-02-20

Poor schemas, poor cataloguing: why music tagging sucks - the sporks space

One of the things that frustrates me with having a local music library is the tedium of tagging. While there are tools (like beets or MusicBrainz Picard) to make it easier, I feel there are fundamental issues with the design of tags for music, and the way we apply tags.
Saved on: 2023-02-19

The Firebase Blog

Firebase App Firebase App Firebase App Hosting: July Update Understanding FCM Message Delivery on Android Firebase Just Got Smarter: Meet Your New AI Development Assistant Building an AI-powered crossword puzzle with Genkit and Gemini App Hosting vs.
Saved on: 2023-02-17

How to get Codex to produce the code you want! | Prompt Engineering

Have you seen AI models that can generate code for you? Well, if you haven’t, you’re going to see them a lot more soon thanks to models like OpenAI’s Codex models.
Saved on: 2023-02-16

Bing: “I will not harm you unless you harm me first”

Last week, Microsoft announced the new AI-powered Bing: a search interface that incorporates a language model powered chatbot that can run searches for you and summarize the results, plus do all of the other fun things that engines like GPT-3 and ChatGPT have been demonstrating over the past few mon
Saved on: 2023-02-15

How Spotify's podcast bet went wrong | Semafor

Spotify’s podcast push began in earnest in 2016, when Ek invited audio executives including higher ups at Gimlet to the company’s headquarters in Stockholm, Sweden to explain the emerging American podcast market.
Saved on: 2023-02-15

What Is ChatGPT Doing … and Why Does It Work?—Stephen Wolfram Writings

That ChatGPT can automatically generate something that reads even superficially like human-written text is remarkable, and unexpected.
Saved on: 2023-02-15

André Staltz - Software below the poverty line

Most people believe that open source sustainability is a difficult problem to solve. As an open source developer myself, my own perspective to this problem was more optimistic: I believe in the donation model, for its simplicity and possibility to scale.
Saved on: 2023-02-15

Use Maps more and Objects less

Get the latest from Builder.
Saved on: 2023-02-14

Pranking My Roommate With Eerily Targeted Facebook Ads

Recently I found myself in need of a roommate and, like many others, reached out to the Craigslist universe.
Tags: #funny
Saved on: 2023-02-14

My favourite 3 lines of CSS | Andy Bell

In Every Layout, we wrote about The Stack. It’s a marriage of Heydon’s Lobotomised Owl selector and my method of managing Flow and Rhythm with CSS Custom Properties. Let’s break the selector down: every direct sibling child element of .stack has margin-block-start added to it.
Saved on: 2023-02-13

I made CLI app that generates Pokemon cards by using GPT and Stable Diffusion.

Feel free to try and share your feedback (on both code quality and usage/features).
Saved on: 2023-02-12

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

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.
Tags: #ai #next-js
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? :

0Posted by13 hours ago 46% Upvoted
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.
Tags: #ai #seo
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

PHP is a widely-used, server-side scripting language that is used to create dynamic web pages and applications. It is one of the most popular programming languages in the world and is used by millions of developers to create everything from simple websites to complex e-commerce platforms.
Saved on: 2023-01-25

Certified 100% AI-Free Organic™ content - by Artur Piszek

One of my favorite products is “100% Fat-Free Pickled Cucumbers Fit (Gluten Free), “ which I once saw at the grocery store. I do like my cucumbers in all forms, but the thing I particularly like about this iteration is the very clear and targeted branding.
Tags: #ai
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

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

Bright Nkrumah Senior PHP Backend Developer | Laravel | PHPUnit | MySQL | MariaDB | PostgreSQL | Redis | AWS | CodeIgniter 3 + Follow 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

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
❤️
</>
2024