Day 3: Zoopla Theatre: Mark Overmeer - Apache in Pure Perl
From its start, Perl comes with most (Unix) core operating system trickery like forks, events and signals. So, you can implement real performing daemons for interesting tasks.
We will get into various features which show how straight-forward it is to implement an Apache-like webserver, with VirtualHosts, proxies, etc.
But we start by discussing many options how to set-up servers: processes, event-loops, and so on... before we reach to HTTP-servers processing requests.
Any::Daemon
- Use Apache as your front end ~30:00
GitHub - learnbyexample/learn_perl_oneliners: Example based guide for text processing with perl from the command line
Example based guide for text processing with perl from the command line - GitHub - learnbyexample/learn_perl_oneliners: Example based guide for text processing with perl from the command line
Day 23: One-Liners for Fun and Profit
Mojo one-liners are just Perl one-liners. You will use -E (or -e) to write the program. You might use -n to loop over input, or -p to do the same while printing $_ after each item, just like normal one-liners.
To get the extra Mojo goodness, add -Mojo. The name itself is a cute hack. Since -M is what loads a module on the command line, the module name is therefore ojo.
Open-source data multitool | VisiData
Command-line interactive multitool for tabular data.
VisiData is an interactive multitool for tabular data. It combines the clarity of a spreadsheet, the efficiency of the terminal, and the power of Python, into a lightweight utility which can handle millions of rows with ease.
Good design | About us | Vitsœ
Dieter Rams, Vitsœ's furniture designer. Ten principles for good design (sometimes referred to as the ‘Ten commandments’).
Free open source icons, illustrations, emojis and graphics - Iconduck
Iconduck lists 302,680 free open source icons, illustrations, emojis and graphics. They can be used for personal and commercial projects.
It's dangerous to Vim alone! Take Fzf.
Enter fzf.vim by the legendary Junegunn, which is a wrapper for the command line fuzzy finder with the same name, fzf. On the surface it seems like a just another fuzzy finder, but it's much more than that! Let me show you some of my mappings and how I have been using it...
Delay between adding user vs. availability in the API - #10 by benzittlau - Auth0 Community
BTW, if you had similar end points that supported batch requests (i.e. lists of ids or lists of emails), that would help significantly for my use cases (though still not be as ideal as a performant list endpoint with basic querying).
GET /api/v2/users/{user-id} and GET /api/v2/users-by-email offer immediate consistency in their results.
16 little UI design rules that make a big impact - Adham Dannaway
A UI design case study to redesign an example user interface using logical rules or guidelines
Use space to group related elements
Be consistent
Ensure similar looking elements function similarly
Create a clear visual hierarchy
Remove unnecessary styles
Use colour purposefully
Ensure interface elements have a 3:1 contrast ratio
Ensure text has a 4.5:1 contrast ratio
Don’t rely on colour alone as an indicator
Use a single sans serif typeface
Use a typeface with taller lower case letters
Limit the use of uppercase
Use regular and bold font weights only
Avoid pure black text
Left align text
Use at least 1.5 line height for body text
Doodle Ipsum
Illustration placeholders for developers. Powered by Blush
The Power Of Pen And Paper Sketching — Smashing Magazine
When designing for digital spaces, it’s natural to default to digital mockup tools, but doing so cuts out a world of possibilities. Analog drawing can unleash your imagination and allow you to focus on what’s most important at the start: the ideas.

Boilerform
Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.
SQL users: The QUALIFY clause is pure syntactic sugar
https://modern-sql.com/caniuse/qualify
Using a window function, we could add in a new column total_order_amount which represents the total order amount per customer. We could simply write:
SELECT
date,
customer,
order_amount,
SUM(order_amount) OVER(PARTITION BY customer) AS total_order_amount
FROM orders
ORDER BY date
the window function SUM(order_amount) OVER(PARTITION BY customer) effectively partitioned our table into different “windows” (one for each customer) and then calculated the total_order_amount for each of these windows. All of this was achieved without using a GROUP BY aggregation, allowing us to retain the same number of rows.
The relative font weight axis — how variable fonts ease font weight transitions | Stefan Judis Web Development
Variable fonts with a custom relative font weight axis ("GRAD") help to avoid layout shifts when transitioning font-weight.
The paint order of SVG elements and their stroke and fill is configurable | Stefan Judis Web Development
Control the paint order of path and fill using the paint-order presentation attribute or CSS property
In this case, I usually changed the path or width/height of the given element to avoid the stroke going over the filled area too much. But it turns out that you can change the paint order of fill and stroke using paint-order.
The default order is described via the normal value, and it defines that fill will be painted first, then the stroke, and finally the markers. But you can redefine the paint order so that the stroke is not painted over the fill area with stroke fill markers.
Chat with Document(s) using OpenAI ChatGPT API and Text Embedding
The short answer is that they convert documents that are over 100 or even 1,000 pages long into a numeric representation of data and related context (vector embedding) and store them in a vector search engine.

- Extending ChatGPT With LlamaIndex (GPT Index)
LlamaIndex, also known as the GPT Index, is a project that provides a central interface to connect your LLMs with external data. Yeah, you read that correctly. With LlamaIndex, we can build something that looks like the illustration below:
How to build a Chatbot with ChatGPT API and a Conversational Memory in Python | by Avra | Mar, 2023 | Medium
🧠 Memory Bot 🤖 — An easy up-to-date implementation of ChatGPT API, the GPT-3.5-Turbo model, with LangChain AI's 🦜 — ConversationChain memory module with Streamlit front-end. With the emergence of…
Ionicons: Premium Open Source Icon Pack for Ionic Framework
Ionicons is an open-sourced, and MIT-licensed icon pack. Download our premium designed icons for use in web, iOS, Android, and desktop apps.