345 private links
Les dérives sont identifiables:
- Le volume n'est pas la valeur. La quantité de texte revient simplement à un marqueur artificiel de qualité, de sérieux, voire de compétence. Nous ne produisons pas nécessairement plus de valeur. Nous produisons simplement plus de contenu.
- Le workslop. La productivité individuelle ne se traduit pas nécessairement par une productivité collective.
- L'IA qui résume l'IA
- Le tokenmaxxing
- L'expertise à l'ère de l'IA ne se mesure pas à la quantité de tokens consommés, mais à la pertinence de leur utilisation.
This is my multi-month study plan for becoming a software engineer for a large company.
The even more knowledge seems valuable to me because they go in-depth about classic data structure.
- recursion
- dynamic programming
- design patterns
- combinatorics
- NP, NP-Complete and Approximation Algorithms
- Caches: LRU cache and CPU cache
- Processes and Threads
- Testing
- String searching & manipulations
- Tries
- Endianness
- Networking
[I lost all my notes about this post]
In order to use this API with a cross-origin request, the server must provide the header Timing-Allow-Origin.
Going in-depth: the performance API can surface the server-timing header with performance.getEntriesByType('resource')[0].serverTiming.
Client-side use cases:
- inspecting Images And Other Asset Responses
- inspecting resources before Javascript run
- inspecting the current HTML document
- provides data about a request from a service worker
It can be useful to instrument or test API requests. The header provides information about a component and its duration while processing the API request.
The right one is to ship it with the known bugs, and write them down in the release notes honestly. A version 0.3 that exists and helps somebody today is worth infinitely more than a version 1.0 that only exists in your head, because the one in your head has never helped anyone and never will. Real people with real devices find the things you'd never have found on your own, and the only way you get access to them is by letting go of the thing before you think it's ready.
In a company, burnout comes from deadlines and managers who've never shipped anything promising things to people who've never used anything. In open source and indie development, it's sneakier: the queue is infinite, you're the only person who can empty it, and nobody's paying you to.
Say what's actually wrong. "It's broken" helps nobody. "When I do this, on this device, with this setting on, this happens instead of that" is gold. A good bug report is the single most useful thing you can give a developer, and the kindest, because it saves them hours of guessing.
Say what works, too. Developers almost never hear about the things that work, because nobody files an issue saying "this is fine, actually."
tldraw, Figma, Sketch, Paper, Framer, Excalidraw, Pencil, Mural, Canva, Miro, Spline (2D), Spline (2D / Hana), Draw.io, Adobe Illustrator, MS Paint, Rive,
Well that's clear
A neutral technology would be match the following characteristics:
- The technology being discussed has no bearing on the attitudes or ideologies of the person holding it: use or non-use is ideologically neutral.
- The technology being discussed can be effectively separated from the people using it: nothing can be inferred about a person from the technologies that they use.
- The technology is used fully consciously: you are always fully aware that you are using a technology and have complete volitional freedom to use a different technology at any time.
- The technology does not influence the kinds of things likely to be done with it: use of the technology doesn't tend to encourage one course of action over another ("guns don't kill people, people do").
The example of an SUV, or React (JS-first) and Vue (HTML oriented) is given.
(via https://mamot.fr/@burgervege/117622774981396788)
“It's just a tool” is a way of shirking responsibility. Especially since tools aren't found in nature. They're made by people, who aren't separate from the rest of the world. The tech industry bears a special responsibility in this regard.
J'ai déjà entendu parler plusieurs fois de Yjs, mais je ne connais pas la bibliothèque pour se connecter en temps réel PeerJS
L'auteur liste un certain nombre de projets (applications) utilisable afin d'utiliser WebRTC.
Kurento intègre OpenCV pour effectuer de la reconnaissance d'image en temps réel.
Ainsi qu'une longe liste dépendant des besoins de chacun:
Ou d'autres projets applicatifs:
- BigBlueButton
- Mediasoup
- Edumeet
- UNINETT
- tracker webtorrent
- Jitsi
- Prosody
- BOSH
- Jibri
- mediadevices
- Neko
- Openbox
References:
Le WebRTC se composent de stack téléphonie/vidéo IP normalisée par l'IETF. Les codes. WebRTC utilise une connexion point à point, à la différence des anciennes communications via un serveur commun.
Le fonctionne se décrit ainsi:
- Établir une session: le protocole reste ouvert, du moment que chaque participant effectue une SDP (Session Description Protocol).
- La négociation ICE détermine l'établissement de la connexion. STUN permet de connaître les IPs publics. Lorsque les routeurs ne sont pas conciliant pour une connexion point à point, un service TURN peut être utilisé. Il se charge d'être le proxy. Il est déconseillé de faire l'impasse sur un serveur TURN quand on fait du WebRTC, les clients déterminent eux-même s’ils ont besoin de l'utiliser.
La connexion peut aussi être pair à pair entre deux participants. Il est aussi possible d'utiliser les patterns SFU (Selective Forwarding Unit) et MCU (Multipoint Conferencing Unit). L'un transfert simplement les données, l'autre mixe les flux pour en créer un nouveau optimisé.
Les différents acteurs (clients lourds comme Zoom, Skype, Teams) et les navigateurs webs font une course afin de se démarquer des concurrents. La concurrence a fait émerger:
- SVC (Scalable Video Coding), l'évolution du multicast permettant d'envoyer dans un seul flot plusieurs résolutions, et le SFU sera capable de sélectionner la seule résolution à envoyer. Voir le schéma SVC neutre :D
- RED (REDundant audio data) améliore la qualité audio avec de la redondance. Les paquets perdus sont reconstruit via l'ensemble des paquets du flux. L'audio étant plus faible que la vidéo, le surpoid est faible.
- AV1 devrait être l'équivalent libre de H.265. Google annonce un gain de 30% en qualité sur les petites connexion. À voir donc si le compromis CPU/débit sera pertinent sur toutes les machines. Le format prévoit le chiffrage de bout en bout. Un SFU serait capable de distribuer les paquets vidéos sans être capable de les lire.
- SFrame évite que les clés de chiffrement passe par le SDP. Le chiffrement se fait sur les frames, et non les paquets RTP
La gestion des congestions, souvent assumée par le SFU, permettra de changer de résolution. Les acteurs restent discrets sur ces techniques non spécifiés, non libre, et beaucoup de lobbying comme le relate https://blog.mozilla.org/webrtc/what-is-rmcat-congestion-control/.
Les bibliothèques utilisées sont souvent écrite en C/C++ avec des bindings pour les langages de plus haut niveau. Les formats vidéos son aggressivement optimisés en assembleur (merci VideoLAN). "L'approche que l'on trouve le plus souvent est un service écrit en C ou C++, avec une API distante, du JSON sur une websocket, et des scripts satellites.". Pion s'est lancé dans la réécriture de ces services en Go.
Coturn est le projet de référence dans les documentations pour utiliser STUN et TURN.
Les informations du navigateur Firefox sont disponibles sur about:webrtc
Meta page describing Gwern.net site ideals of stable long-term essays which improve over time; idea sources and writing methodology; metadata definitions; site statistics; copyright license.
The about page describes how the website works. The abandoned systems, principles (that provides good #UX)), the many usage of links.
Gwern also has a system of confidence and importance tag (log, emotional, fiction). The confidence is shared with the Kesselman List of Estimative Words. It ranges from certain to impossible.
There is also an importance tag from 0 to 10.
Microcontrôland is a fictional country located in Europe, simulated by 7 tiny electronic computers. Its citizens vote, elect a president, sometimes rise up, and react every day to the real world markets. Every evening at 8 pm, the country writes this newspaper itself.
Desktop app or browser app: how I decide, after 30+ years in technical UX, front-end and product. I start in the browser, make the desktop app earn its place, and keep one codebase wherever I can.
If anything must run for hours or after the window closes, lean desktop. Browsers can freeze or discard hidden pages, and a frozen page's timers and fetch callbacks stop. A desktop process keeps running.
- First in the browser: instant updates, no install, every operating systems
- Installable web app: own window and icon, works offline, support varies by browser
- Desktop app: long running job, deep OS integration, signing and updates to own
Plutôt gênant. Cela arrivera tant que la technologie est au dessus du reste.
Immediate intent is better because it don't give false promises.
About the hype
Yes I am aware this API can be useful. The relativeTimeFormat is often used in the web apps.
Intl.DateTimeFormat: format dates and timesIntl.RelativeTimeFormat: "yesterday", "in 3 days"Intl.DurationFormat: "2 hours, 5 minutes and 30 seconds"Intl.NumberFormat: format numbers, currencies, and unitsIntl.ListFormat: "Apples, Oranges, and Bananas"Intl.PluralRules: figure out plural forms correctlyIntl.Segmenter: break text into words, sentences, or graphemesIntl.Collator: sort strings in a locale-aware way
All Intl functions have roughly the same shape:
- Pick a locale.
- Pick some options.
- Create a formatter.
- Reuse that formatter with your data.