350 private links
enterkeyhintcite(reference an URL to an<q>,<blockquote>,<del>,<ins>) anddatetime- attributes for custom ordered lists: reversed, start, type, value
downloadattribute for<a>that has a value for the suggested file namedecodingattribute for the<img>element: sync or async the decoding of a picture.
A helper is something specific to a given project. It wouldn't generally make sense to share helpers between projects; the category.helpers.js functions really only make sense for this blog.
A utility is a generic function that accomplishes an abstract task. Pretty much every function in the lodash library is a utility, according to my definition.
I find the distinction between both useful.
Et une application tournant sous électron avec une BDD SQLite en typescript bien propre, c'est partiii.
Ou un programme Deno / NodeJS
- trigonometric functions
- new viewport unites
- :focus-visible
- scroll-behavior can be smooth :)
- lazyloading images by default with an attribute
array.prototype.atsupports negative integers
All the searchable data are loaded into a json inside a script tag. The searchable content is made through title, url, date and content.
It uses 2.14MB used though :/ But no request
Inspiring me to do the same on my blog :)
A function that returns a type such as
asserts value is NonNullable<T>A feedback about typography on the web
Breakpoint: 0 200px 400px 600px 800px 1000px 1200px 1400px
├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────>
Slice: · xxs xs · s · m · l · xl xxl xxxl
· · · · ·
· · · at(m) · ·
· · ├────────┤· ·
· · · · ·
· · · from(m) · ·
· · ├─────────────────────────────────────────────────>
· · · ·
· · to(m) · ·
├──────────────────────────────────────┤· ·
· ·
· between(s, l) ·
├────────────────────────────┤·
Using slice instead of pixel values makes it more comfortable. I am still using the mobile-first approach.
Topics:
- Date and time formatting
- Variable names and debugging
__repr__and__str__- Superior performance
- Full power of formatting spec
- Nested F-Strings
- Conditionals formatting
- Lambda expressions
An editor to organize the different snippets
Keyboard-friendly, accessible multi-select Svelte component.
Minimal web framework based on XML syntax
Syntax, timing function, looped animation, multi-step animation, alternating animations, shorthand values, fill modes (forwards and backwards), dynamic animations with CSS variables
May be useful someday
progress in type systems marches inexorably forward, ruling out broader and broader classes of programs as bad. one day, type systems research will achieve the ultimate goal: to conclusively establish that all programs are bad
@lindsey
Summary of new PHP features since v7.0
A library that seems good to parse CSV
13[isOdd] returns true. Funny.
How to do it ?
- Use Symbols to create unique keys
Object.defineProperty()with the symbol- Passing parameters with a function :)
Metho simplifies this process with a simple method.
Metho project: https://github.com/jonrandy/metho
Using the first 48 bist to encode the date up to the microsecond into the UUID. We can encode a date until 10899. We should be fine.
There is then 80 bits left for the random (collision happens in these 80 bits if they got generated at the same microsecond !)
We can then sort, order the UUIDs by date :)