• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4289 shaares
30 / 215
Filters

Day 3: Zoopla Theatre: Mark Overmeer - Apache in Pure Perl

QRCode

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
https://www.youtube.com/watch?v=cOmev2nl_1M
April 17, 2023 at 10:55:19 AM EDT *
perl apache webdesign http psgi
FILLER

GitHub - learnbyexample/learn_perl_oneliners: Example based guide for text processing with perl from the command line

QRCode

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

https://github.com/learnbyexample/learn_perl_oneliners
April 17, 2023 at 10:42:19 AM EDT *
perl linux terminal
FILLER

Day 23: One-Liners for Fun and Profit

QRCode

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.

https://mojolicious.io/blog/2017/12/23/day-23-one-liners-for-fun-and-profit/index.html
April 17, 2023 at 10:36:41 AM EDT *
perl mojolicious linux
FILLER

Open-source data multitool | VisiData

QRCode

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.

https://www.visidata.org/
April 17, 2023 at 10:20:33 AM EDT *
data python visidata csv excel
FILLER

Good design | About us | Vitsœ

QRCode

Dieter Rams, Vitsœ's furniture designer. Ten principles for good design (sometimes referred to as the ‘Ten commandments’).

https://www.vitsoe.com/us/about/good-design
April 17, 2023 at 10:19:03 AM EDT *
design inspiration
FILLER

Free open source icons, illustrations, emojis and graphics - Iconduck

QRCode

Iconduck lists 302,680 free open source icons, illustrations, emojis and graphics. They can be used for personal and commercial projects.

https://iconduck.com/
April 14, 2023 at 3:27:50 PM EDT *
icons illustration
FILLER

It's dangerous to Vim alone! Take Fzf.

QRCode

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...

https://jesseleite.com/posts/2/its-dangerous-to-vim-alone-take-fzf
April 14, 2023 at 1:52:59 PM EDT *
vim fzf
FILLER

Delay between adding user vs. availability in the API - #10 by benzittlau - Auth0 Community

QRCode

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.

https://community.auth0.com/t/delay-between-adding-user-vs-availability-in-the-api/28763/10
April 14, 2023 at 8:30:56 AM EDT *
auth0
FILLER

16 little UI design rules that make a big impact - Adham Dannaway

QRCode

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

https://www.adhamdannaway.com/blog/ui-design/16-ui-design-rules
April 11, 2023 at 1:33:25 PM EDT *
webdesign design ux
FILLER

Doodle Ipsum

QRCode

Illustration placeholders for developers. Powered by Blush

https://doodleipsum.com/
April 11, 2023 at 11:19:00 AM EDT *
illustration design webdesign inspiration
FILLER

The Power Of Pen And Paper Sketching — Smashing Magazine

QRCode

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.

https://www.smashingmagazine.com/2021/09/power-pen-paper-sketching/
April 11, 2023 at 11:17:30 AM EDT *
design drawing inspiration
FILLER

Boilerform

QRCode

Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.

https://boilerform.hankchizljaw.com/
April 11, 2023 at 11:14:41 AM EDT *
forms css webdesign boilerplate
FILLER

SQL users: The QUALIFY clause is pure syntactic sugar

QRCode

https://medium.com/learning-sql/sql-window-functions-explained-through-4-real-world-examples-91db9972b6bc

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.

https://towardsdatascience.com/sql-users-halve-the-length-of-some-of-your-queries-with-this-one-trick-c3c2c226cb35
April 11, 2023 at 10:23:40 AM EDT *
sql mssql
FILLER

The Ultimate Beginner’s Guide to Midjourney

QRCode

Also:

https://bootcamp.uxdesign.cc/20-incredible-midjourney-prompts-that-will-blow-your-mind-part-2-463ae919b6c3

https://bootcamp.uxdesign.cc/easy-beginners-guide-to-mid-journey-the-revolutionary-ai-art-tool-3b4de95bd4ca
April 11, 2023 at 10:10:42 AM EDT *
midjourney ai images
FILLER

CSS Masking - Ahmad Shadeed

QRCode

A deep dive into CSS masking

https://ishadeed.com/article/css-masking/
April 11, 2023 at 9:56:26 AM EDT *
css webdesign images
FILLER

The relative font weight axis — how variable fonts ease font weight transitions | Stefan Judis Web Development

QRCode

Variable fonts with a custom relative font weight axis ("GRAD") help to avoid layout shifts when transitioning font-weight.

https://www.stefanjudis.com/today-i-learned/the-relative-font-weight-axis-how-variable-fonts-ease-font-weight/
April 11, 2023 at 9:54:46 AM EDT *
fonts typography
FILLER

The paint order of SVG elements and their stroke and fill is configurable | Stefan Judis Web Development

QRCode

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.

https://www.stefanjudis.com/today-i-learned/paint-order-of-svg-elements-is-configurable/
April 11, 2023 at 9:44:57 AM EDT *
svg
FILLER

Chat with Document(s) using OpenAI ChatGPT API and Text Embedding

QRCode

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.

https://betterprogramming.pub/how-to-build-your-own-custom-chatgpt-with-custom-knowledge-base-4e61ad82427e

  1. 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:
https://blog.devgenius.io/chat-with-document-s-using-openai-chatgpt-api-and-text-embedding-6a0ce3dc8bc8
April 11, 2023 at 9:28:42 AM EDT *
chatgpt ai
FILLER

How to build a Chatbot with ChatGPT API and a Conversational Memory in Python | by Avra | Mar, 2023 | Medium

QRCode

https://levelup.gitconnected.com/its-time-to-create-a-private-chatgpt-for-yourself-today-6503649e7bb6

🧠 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…

https://github.com/avrabyt

https://medium.com/@avra42/how-to-build-a-chatbot-with-chatgpt-api-and-a-conversational-memory-in-python-8d856cda4542
April 11, 2023 at 9:19:55 AM EDT *
chatgpt ai
FILLER

Ionicons: Premium Open Source Icon Pack for Ionic Framework

QRCode

Ionicons is an open-sourced, and MIT-licensed icon pack. Download our premium designed icons for use in web, iOS, Android, and desktop apps.

https://ionic.io/ionicons
April 7, 2023 at 8:41:29 AM EDT *
icons
FILLER
30 / 215
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community