magnASCII.io Simone Magnaschi
Senior Full Stack Web Dev

Deep dive in CORS: History, how it works, and best practices

No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Access to fetch at ‘https://example.com’ from origin ‘http://localhost:3000’ has been blocked by CORS policy.
Tags: #webdev
Saved on: 2021-04-14

Laravel Custom Validation: one of the fields required, but not both - Larav

Laravel Validation mechanism has a lot of rules provided - a field can be required, integer, IP address, timezone etc. But sometimes there is a need for a special rule which is not in that list. One example of this is when you have two fields and you need only one of them to be filled.
Tags: #laravel
Saved on: 2021-04-12

This Web Site is a Tech Talk—zachleat.com

Over the weekend I was finishing up some polish on the slides of my most recent conference talk when my daughter walked in to my office. We decided to record a short video of that interaction and put it up on Twitter. Needless to say, the tweet—uh—went much further than I expected.
Tags: #talks
Saved on: 2021-04-01

Using Laravel View Components – Beyond Code

When Laravel 7 was released, it introduced a new feature how you can organise and structure your blade views, called Blade components.
Tags: #laravel
Saved on: 2021-03-30

Beyond Design Patterns - Nomad PHP

SPONSORS
Tags: #php
Saved on: 2021-03-29

Deploy Your PHP App with Docker - Nomad PHP

SPONSORS
Tags: #video #php
Saved on: 2021-03-29

Vite with Laravel: Using React — Sebastian De Deyne

Vite supports JSX out of the box (you might have to rename .js files to .jsx), so there are no additional steps to get started with React. However, you'll probably want to enable React Refresh for a better development experience.
Saved on: 2021-03-26

CoScreen: Collaborative Screen Sharing by Datadog

Share one or multiple windows intuitively across multiple displays, keep the rest private and your data secure. Collaborate on any project on CoScreen to get it done faster together. You and your teammates can simultaneously control any shared app - 2-3x faster than Zoom.
Tags: #tools
Saved on: 2021-03-26

permission.site

HTTP HTTPS Async Clipboard API Notes: Augmented Reality (AR) Implemented behind the experimental flag chrome://flags/#enable-experimental-web-platform-features. Encrypted Media (EME) May succeed without permission depending on the implementation. Attempts to use known key systems.
Tags: #webdev
Saved on: 2021-03-26

SQLite is not a toy database | Anton Zhiyanov

Whether you are a developer, data analyst, QA engineer, DevOps person, or product manager - SQLite is a perfect tool for you. Here is why. The console is a killer SQLite feature for data analysis: more powerful than Excel and more simple than pandas.
Tags: #sqlite
Saved on: 2021-03-25

From semantic CSS to Tailwind - Refactoring the Netlify UI codebase

The React codebase that powers app.netlify.com is about five years old. During these five years, the focus has mostly been on high-speed growth, as most start-ups do.
Tags: #tailwindcss
Saved on: 2021-03-24

GroovePizza

Tags: #music #art
Saved on: 2021-03-24

Laravel SMTP Crack | Laravel News

Spammers have one goal, to send as much spam as cheaply as possible with good IPs that are not blocked, and we've been hearing more and more reports of Laravel apps getting their SMTP credentials hacked and then the attackers using those to send junk.
Tags: #laravel
Saved on: 2021-03-23

Debugging layout shifts

Learn how to identify and fix layout shifts. The first part of this article discusses tooling for debugging layout shifts, while the second part discusses the thought process to use when identifying the cause of a layout shift.
Saved on: 2021-03-15

Setup Step Debugging in PHP with Xdebug 3 and Docker Compose - Matthew Sett

What will you need? To follow along with this tutorial, make sure that you have Docker installed for your operating system, ideally the latest version, and one of Xdebug’s supported clients.
Tags: #xdebug #php
Saved on: 2021-03-11

How CLS optimizations increased Yahoo! JAPAN News's page views per session

Optimizing CLS by 0.2 led to a 15% increase in page views per session, 13% longer session durations, and a 1.72 percentage point decrease in bounce rate. Yahoo! JAPAN is one of the largest media companies in Japan, providing over 79 billion page views per month.
Saved on: 2021-03-10

content-visibility: the new CSS property that boosts your rendering perform

Improve initial load time by skipping the rendering of offscreen content. The content-visibility property, launching in Chromium 85, might be one of the most impactful new CSS properties for improving page load performance.
Saved on: 2021-03-08

FFmpeg from Zero to Hero by Nick Ferrando

This book is designed to address anyone who is just above the “raw beginner” level.
Saved on: 2021-03-07

Nodes – a new way to create with code | https://nodes.io

What if programming was about ideas, not semicolons? Compose, abstract, generalise. Start from top down or bottom up and refine as you go. With Nodes, programming feels like sketching on a canvas. Zoom in and out of problems, experiment on the side and easily re-use parts of other projects.
Saved on: 2021-03-07

🔎 Explore 21 IT jobs with relocation packages

Forgot password?
Tags: #tools #career
Saved on: 2021-03-06

When Objects Are Not Enough

I've been looking up resources on the roots of Object-Oriented Programming - a.k.a. OOP. This journey started because there is a trend in the Laravel community of using Actions, and the saying goes as that's what "Real OOP" is about.
Saved on: 2021-03-05

HTTPWTF

HTTP is fundamental to modern development, from frontend to backend to mobile. But like any widespread mature standard, it's got some funky skeletons in the closet.
Tags: #webdev
Saved on: 2021-03-04

Code analysis tools to help with upgrading an app to a newer PHP version? :

Hi folks – I have some older sites (some on PHP 5.6.40; some on various versions of 7.x) that I'd like to update to newer versions of PHP. Of cour
Saved on: 2021-03-03

Testing your controllers when you have a decoupled core — Matthias Noback -

A lot can happen in 9 years. Back then I was still advocating that you should unit-test your controllers and that setter injection is very helpful when replacing controller dependencies with test doubles.
Saved on: 2021-03-02

A monorepo approach to larger modules in Laravel and Lambda

I work with a large enterprise application that's broken down into a few teams, languages and modules.
Saved on: 2021-03-01

Ultimate Cheatsheet Compilation - DEV Community

Today I wanted to share with you the Ultimate Cheatsheet Compilation. I hope you will find this blog post useful and keep it handy for a quick reference. If you want to learn more HTML, CSS, JavaScript and web development tips & tricks, then please subscribe on YouTube.
Saved on: 2021-02-28

kuchin/awesome-cto

— Hello, my name is Dima and I'm a CTO — (chorus) Welcome, Dima A curated and opinionated list of resources for Chief Technology Officers and VP R&D, with the emphasis on startups and hyper-growth companies.
Saved on: 2021-02-27

Free Software, Not Free Support: My Reply Template — beberlei.de

Over the last weeks I have seen a few people tweet or write about the burden of open-source maintainership or being a public person in a programming community.
Saved on: 2021-02-27

Domain-Driven Laravel

Map concepts and ideas in domain-driven design (DDD) and transpose them into clean, testable, and quality code that is effective alongside the Laravel framework. This book teaches you how to implement the concepts and patterns present in DDD in the real world as a complete web application.
Tags: #ddd #books
Saved on: 2021-02-26

redbean

redbean is an open source webserver in a single-file that runs natively on six OSes for both AMD64 and ARM64. Basic idea is if you want to build a web app that runs anywhere, then you download the redbean.com file, put your .html and .
Tags: #web #tools
Saved on: 2021-02-26

Does it belong in the application or domain layer? — Matthias Noback - Blog

Where should it go? If you're one of those people who make a separation between an application and a domain layer in their code base (like I do), then a question you'll often have is: does this service go in the application or in the domain layer? It sometimes makes you wonder if the distinction bet
Tags: #programming
Saved on: 2021-02-25

Automatio - No-code Web Automation Tool

Build powerful automations for any website with Automatio. Use our intuitive visual bot builder or select from a wide range of pre-made templates. Automatio is made for non-technical people. Which means, creating a bot/scraper will require writing zero lines of code.
Tags: #tools
Saved on: 2021-02-23

Talk review: Thomas Pierrain at DDD Africa — Matthias Noback - Blog

As a rather unusual pastime for the Saturday night I attended the third Domain-Driven Design Africa online meetup. Thomas Pierrain a.k.a. use case driven spoke about his adaptation of Hexagonal architecture.
Saved on: 2021-02-23

Mistakes I've Made as an Engineering Manager | CSS-Tricks

DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! I’ve been a manager for many years at companies of different scale.
Tags: #team #career
Saved on: 2021-02-22

When to use empty in PHP? I’d say never — beberlei.de

This article contains a list of alternatives to use instead of empty expression.
Tags: #php
Saved on: 2021-02-19

Unit testing tips by examples in PHP

I just created a repository on Github with examples of good unit testing in PHP. I still work on these tips. I will also try to write more about some
Saved on: 2021-02-19

Identify All the Things With UUIDs! - Nomad PHP

SPONSORS
Tags: #php
Saved on: 2021-02-18

Successful refactoring projects - Prepare to stop at any time — Matthias No

A common case of refactoring-gone-wrong is when refactoring becomes a large project in a branch that can never be merged because the refactoring project is never completed.
Tags: #programming
Saved on: 2021-02-17

Should we use a framework? — Matthias Noback - Blog

Since I've been writing a lot about decoupled application development it made sense that one of my readers asked the following question: "Why should we use a framework?" The quick answer is: because you need it. A summary of the reasons: So, yes, you/we need a framework.
Saved on: 2021-02-17

"Tailwind CSS: From Zero to Production" on YouTube – Tailwind CSS

Today we’re excited to release Tailwind CSS: From Zero to Production, a new screencast series that teaches you everything you need to know to get up and running with Tailwind CSS v2.0 from scratch. It’s an eight-part series totaling 1.
Saved on: 2021-02-17

Functorio

You might have heard people say that functional programming is more academic, and real engineering is done in imperative style. I’m going to show you that real engineering is functional, and I’m going to illustrate it using a computer game that is designed by engineers for engineers.
Saved on: 2021-02-16

PHP Internals News podcast :: Globals, and Phasing Out Serializable

Derick Rethans 0:14 Hi I'm Derick. Welcome to PHP internals news, a podcast dedicated to explain the latest developments in the PHP language. This is Episode 75. In this episode, I'm talking with Nikita Popov about a few RFCs that he has been working on over the past few months.
Tags: #php
Saved on: 2021-02-16

Symfony Lock and Messenger component - Happyr developer blog

The lock component have saved me so many times. It helps me with race conditions, it makes my code simpler and my application more reliable. I’m using it to fix all kinds of problems and I’ve noticed that I use a few different methods.
Tags: #symfony #php
Saved on: 2021-02-15

Why I Built Litestream

tl;dr—Despite an exponential increase in computing power, our applications require more machines than ever because of architectural decisions made 25 years ago. You can eliminate much of your complexity and cost by using SQLite & Litestream for your production applications.
Saved on: 2021-02-12

CSS transitions and hover animations, an interactive guide

The world of web animations has become a sprawling jungle of tools and technologies. Libraries like GSAP and Framer Motion and React Spring have sprung up to help us add motion to the DOM. The most fundamental and critical piece, though, is the humble CSS transition.
Tags: #css
Saved on: 2021-02-09

The Rubinoos im Audimax, Hamburg 1978 - Events - Rockpalast - Fernsehen - W

The Rubinoos aus dem kalifornischen Berkeley feiern Ende der Siebziger ihre ersten Erfolge außerhalb der Vereinigten Staaten. Der Rockpalast schnappte zu und filmte ihren Auftritt im Audimax in Hamburg, wo die Band mit ihrem Power Pop ihr Publikum zum Tanzen brachte.
Tags: #music
Saved on: 2021-02-09

Introducing Clerk: All of user management, not just authentication

We thought authentication-as-a-service vendors might ease our pain, but over and over again, we were disappointed by how much extra work was necessary. We never understood why until one friend quipped, "auth-as-a-service really just solves half of 2-factor auth." Then it clicked.
Saved on: 2021-02-09

AWS Cheat Sheets - Tutorials Dojo

While these AWS cheat sheets will save you from going through all the AWS documentations, we still highly recommend that you read those as well as the whitepapers to supplement your exam preparations.
Tags: #aws
Saved on: 2021-02-05

The great SameSite confusion

In this post, I dissect a common misconception about the SameSite cookie attribute and I explore its potential impact on Web security. You undoubtedly have heard of the SameSite cookie attribute.
Saved on: 2021-02-05

Things You Can Do With CSS Today — Smashing Magazine

12 min read CSS, Tools, Workflow Share on Twitter, LinkedIn Try monday dev for free! Inclusive Design Patterns For 2025, with Vitaly Friedman Creating and Maintaining Successful Design Systems, with Brad Fost Click here to kickstart your project for free in a matter of minutes.
Tags: #css
Saved on: 2021-02-04

Do Tube

A curated directory of instructional YouTube videos
Tags: #learning
Saved on: 2021-02-04

An Ode to Slim

Saved on: 2021-02-03

About

There is a secret that needs to be understood in order to write good software documentation: there isn’t one thing called documentation, there are four. They are: tutorials, how-to guides, technical reference and explanation.
Tags: #programming
Saved on: 2021-02-03

7 bite-sized tips for reliable web automation and scraping selectors

If you’re like most developers, you’ve probably encountered Cascading Style Sheet (CSS) selectors for styling webpages. We can mix-and-match CSS selectors to describe any subset of elements on a page.
Tags: #webdev
Saved on: 2021-02-02

My approach to using z-index. The last time I got straight to the… | by Dav

The last time I got straight to the point people seemed to appreciate it. So… Categorise all uses of z-index as either local or global.
Tags: #css
Saved on: 2021-01-31

Lean and Mean Dev with PhpStorm (for Symfony) Video Tutorial Screencast | S

Unleash the power of PhpStorm for Symfony. Explore the powerful Symfony plugin, enjoy auto-complete namespaces, and more!
Saved on: 2021-01-28

Loading...

Saved on: 2021-01-28

A Bootstrapped SaaS Journey to $10K MRR

I'm Jon Yongfook the founder of Bannerbear. $10K MRR is considered something of a SaaS Bootstrapping milestone so I thought I should document how I got here. This is not a secret formula / growth hack, it is just a personal account of growing a startup.
Tags: #business
Saved on: 2021-01-28

Build your own PSR-4 autoloader

Deprecated: Return type of Illuminate\View\ComponentAttributeBag::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/pretzelhands/Projects/pretzel
Tags: #php
Saved on: 2021-01-26

Octave Compass

Tags: #music
Saved on: 2021-01-26

A comprehensive list of UX design methods & deliverables

This is an updated version of a list published a few years ago. A map that displays all the touchpoints of the consumer with your brand, as well as the key internal processes involved in it.
Tags: #ux #tools
Saved on: 2021-01-25

Sign-in form best practices

Use cross-platform browser features to build sign-in forms that are secure, accessible and easy to use. If users ever need to log in to your site, then good sign-in form design is critical. This is especially true for people on poor connections, on mobile, in a hurry, or under stress.
Tags: #webdev
Saved on: 2021-01-25

Software development topics I've changed my mind on after 6 years in the industry

Things I've changed my mind on: Things I now believe, which past me would've squabbled with: Typed languages are better when you're working on a team of people with various experience levels Standups are actually useful for keeping an eye on the newbies.
Tags: #programming
Saved on: 2021-01-24

React Authentication: How to Store JWT in a Cookie | by Ryan Chenkie | Medi

If that’s the case, there’s a decent chance that your API is secured somehow. Maybe you’re making authentication and authorization happen with JSON Web Tokens. If so, there’s also a decent chance you’re keeping your JWTs in local storage.
Saved on: 2021-01-22

How We Improved SmashingMag Performance — Smashing Magazine

Vitaly Friedman 33 min read Smashing, Optimization, Performance, Case Studies, Core Web Vitals Share on Twitter, LinkedIn In this article, we’ll take a close look at some of the changes we made on this very site — running on JAMStack with React — to optimize the web performance and improve the
Saved on: 2021-01-22

MuscleWiki - Simplify your workout

MuscleWiki is a fitness app with a comprehensive exercise library that includes videos and written instructions for over 2000 exercises. With a simple and intuitive bodymap that guides you to exercises for a particular muscle, you can simplify your workout with exercises suitable for beginners, intermediate and advanced fitness enthusiasts.
Tags: #health
Saved on: 2021-01-21

Maximally optimizing image loading for the web in 2021

Sara Soueidan said: Maximally optimizing image loading for the web in 2021 by @cramforce Loads of great #performance tips in there, some I didn’t know of before (like the `decoding` attribute 😯) Thread Sebastien Lorber 🇫🇷 said: TIL there's a "decoding" attr in html image in this post fro
Saved on: 2021-01-20

Templates made in Shuffle

An online editor for busy developers. © 2024 Shuffle. All rights reserved.
Saved on: 2021-01-19

Context switching costs more than we give it credit for. - Thinking Through

When I was a junior engineer, one of the best advice I got from a seasoned principal engineer was to batch things, stack rank them in preferred order (by time, size, impact, or priority), and execute. And, be careful when batching them.
Saved on: 2021-01-18

Welcome

Saved on: 2021-01-18

Death of third party cookies: Enter sandbox from Google

Cookies are soon to be a thing of the past; Google wants to play in the Sandbox instead. It might sound rather twee, but this marks a seismic shift in the online ecosystem that will affect us all.
Tags: #privacy
Saved on: 2021-01-18

Gitbar - Il podcast dei developer italiani

Conversazioni sullo sviluppo software fatte davanti a una birra.
Saved on: 2021-01-15

It’s not legacy code — it’s PHP. Vimeo has been using PHP in production… |

In the last year, Vimeo developers have written backend code in lots of languages — PHP, Go, Ruby, Python, NodeJS, Java, C, C++, and a bit of Rust. In 2004, we started with just one: PHP. It was an ideal language for brand-new startups like Vimeo.
Saved on: 2021-01-15

Vite 2, a DX jump into the future | patak

Vite is a next generation frontend tool. It generates optimized builds using the battle tested rollup. But during dev, bundling is avoided with files served on demand over native ESM. It has Hot Module Replacement (HMR) that stays fast independently of your code base size.
Tags: #frontend
Saved on: 2021-01-15

Archivio Grafica Italiana

The first systematic digital archive dedicated to the Italian graphic design heritage. A growing overview aimed to spread and promote the culture of quality that distinguishes the Italian design tradition.
Tags: #design #art
Saved on: 2021-01-13

Tools for better programming

Recently I discovered these tools that have helped me to control the quality of my code. + https://github.com/rectorphp/rector + https://github.com/
Saved on: 2021-01-13

Build Your Own Text Editor

Welcome! This is an instruction booklet that shows you how to build a text editor in C. The text editor is antirez’s kilo, with some changes.
Tags: #programming
Saved on: 2021-01-10

You want overflow: auto, not overflow: scroll | Kilian Valkhof

Every now and then a web developer using a Mac discovers that their beautiful design is littered with scroll bars on other platforms. Either because someone points it out to them or because they attach a mouse to their mac which makes scroll bars appear.
Tags: #webdev #css
Saved on: 2021-01-07

BTI360 | What I've Learned in 45 Years in the Software Industry

Looking back on four decades in the software industry, I’m struck by how much has changed. I started my career with punch cards and I am ending in the era of cloud computing.
Tags: #career
Saved on: 2021-01-06

新しく、スタジオジブリ5作品の場面写真を追加提供致します - スタジオジブリ|STUDIO GHIBLI

新しく、スタジオジブリ5作品の場面写真を追加提供致します。 スタジオジブリ作品の場面写真ですが、今月は、「風の谷のナウシカ」「天空の城ラピュタ」「おもひでぽろぽろ」「レッドタートル」から50枚ずつ、「On Your Mark」から28枚、合計228枚を本日から提供致します。 なお、9月から順次追加
Tags: #art
Saved on: 2021-01-06

Why your team doesn't need to use pull requests

Github introduced the pull request practice, and features to support it, to make it easier for people who run open-source projects to accept contributions from outside their group of trusted committers. Committers are trusted to make changes to the codebase routinely.
Saved on: 2021-01-03

How we boosted our traffic by 504.17% with a SEO-Friendly Web Story

Google Web Stories are a web-based version of the famous “Stories” format that we see on social networking apps like Instagram and TikTok. This new format allows anyone to easily create short, engaging, and dynamic content, which is then playable across any browser on the Open Web.
Tags: #seo
Saved on: 2021-01-03

A half-hour to learn Rust

In order to increase fluency in a programming language, one has to read a lot of it. But how can you read a lot of it if you don't know what it means?
Saved on: 2021-01-02

Modernizing PHP » Blog

How many times have we seen it, where an application does HR, payroll, shipping, billing, makes coffee, sweeps the floors, etc.? Too many times to count for me. The truth is that applications like this, these monoliths, are too large for their own good.
Tags: #php
Saved on: 2020-12-28

Interview advice that got me offers from Google, Microsoft, and Stripe

“What would you say if I asked you to design me a service capable of responding to thousands of user requests every second and latency was critical?” “Umm...that you have to solve this problem at work.
Tags: #career
Saved on: 2020-12-24

Fantasy UIs

LATEST Noah Schloss Star Trek: Picard, Westworld • April 2023 Noah Schloss Star Trek: Picard, Westworld Darby Faccinto Loki, Black Adam Mark Coleran The Island, Mr.
Tags: #design
Saved on: 2020-12-24

How to Favicon in 2021: Six files that fit most needs — Martian Chronicles,

It’s time to rethink how we cook a set of favicons for modern browsers and stop the icon generator madness. Frontend developers currently have to deal with 20+ static PNG files just to display a tiny website logo in a browser tab or on a touchscreen.
Tags: #webdev
Saved on: 2020-12-23

Bare-metal Kubernetes with K3s

Learn how to configure K3s on bare-metal to run a Kubernetes cluster with just as much resilience and fault tolerance as a managed service. This tutorial is a follow-on from my post Kubernetes on bare-metal in 10 minutes from 2017.
Tags: #k8s
Saved on: 2020-12-22

Live Coding 12-Factor App

Jiang: I'm Emily Jiang. I work for IBM. Actually, I'm based in IBM, UK down in Hursley. I'm the Senior Technical Staff member in IBM. I mainly work on open-source projects, MicroProfile, Open Liberty as an Architect.
Saved on: 2020-12-20

7 Rules for Creating Gorgeous UI – Part 2 (Updated for 2020) – Learn UI Des

This is the second part in a two-part series. You should read the first part first. We’re talking about rules for designing clean and simple UI without needing to attend art school in order to do so.
Saved on: 2020-12-18

Refactoring Am I Rent Stabilized

Revisiting the code of a five year old project.
Tags: #programming
Saved on: 2020-12-14

A system to organise your life

Johnny.Decimal is designed to help you find things quickly, with more confidence, and less stress. You assign a unique ID to everything in your life.
Saved on: 2020-12-14
❤️
</>
2024