7334
Just write the #!%/* parser
Writing parsers from scratch. Why simpler is better and why you don't need a parser generator.

parsing 
5 hours ago
Parser generators vs. handwritten parsers: surveying major language implementations in 2021 | notes.eatonphil.com
A lot of real-world language parsers are hand-written, not automatically generated from a tool
parsing 
5 hours ago
Parsing in JavaScript: all the tools and libraries you can use
We present and compare all possible alternatives you can use to parse languages in JavaScript. From libraries to parser generators, we present all options
javascript  parsing  software 
yesterday
Wasmphobia
Analyzes your wasm file and tells you which libraries are using up the most space
wasm 
yesterday
Borrow checking, RC, GC, and the Eleven (!) Other Memory Safety Approaches
List of alternatives to reference counting, garbage collection, and borrow checking
compilers  structure 
2 days ago
Is the Internet bad for you? Huge study reveals surprise effect on well-being
Is the Internet bad for you? Huge study reveals surprise effect on well-being
A survey of more than 2.4 million people finds that being online can have a positive effect on welfare.
health 
3 days ago
Sizing a Modulating Condensing Boiler - GreenBuildingAdvisor
Condensing boilers attempt to extract heat from the gas->liquid condensing stage. Setting the heater too high might not allow it to condense, so you get *less* heat out.
efficiency  environment 
3 days ago
Nail Fungus Remedies
This is a common enough complaint that it deserves its own sub. Help Reddit find remedies that help manage toenail and fingernail fungus. Please...
health 
3 days ago
The Emacs Window Management Almanac | Karthinks
Nice overview of emacs window/buffer management including customization and third party packages
emacs 
4 days ago
Hirrolot/datatype99: Algebraic data types for C99
Clever way to get discriminated unions and a match() statement .. with C macros
compilers 
7 days ago
North American Coastal Plain - north_american_coastal_plain.pdf
Geologically, North American Coastal Plain affects the towns — dallas/fortworth, austin, san antonio, new york city, washington dc, baltimore, philadelphia are all on this boundary
geology 
8 days ago
A Statistical Error in the Estimation of the Recommended Dietary Allowance for Vitamin D - PMC
Says the vitamin D recommendation of 600 IU/day is based on a statistical error, and it should probably be closer to 8800 IU/day
health 
11 days ago
Common diabetes drug lowers SARS-CoV-2 levels, clinical trial finds | CIDRAP
Randomized control trial showed metforming reduced viral load from covid by a factor of 4
health 
11 days ago
greggman/webgpu-utils: Some helpers for webgpu
Some helpers for webgpu. Contribute to greggman/webgpu-utils development by creating an account on GitHub.
webgpu  graphics 
12 days ago
Thoughts on this FOV/Lighting algorithm? : roguelikedev
Field of view algorithm that quantizes angles and stores the visible radius at each angle
algorithms  gamedev 
13 days ago
Announcing list-positions - Matthew Weidner
A library for assigning ids to list/string positions, so that when add annotations to some range of positions, and then later edit the list, the annotations can point to the right thing
algorithms 
16 days ago
Hobby’s algorithm for aesthetic Bézier splines – Jake Low
Given points you want the Bezier spline to go through, Hobby's Algorithm chooses the control points to make the spline pleasant. These curves are G1 continuous but not C1 continuous, and use the additional degree of freedom to reduce the variation in curvature.
geometry 
17 days ago
Valgrind
DHAT is primarily a tool for examining how programs use their heap allocations.

It tracks the allocated blocks, and inspects every memory access to find which block, if any, it is to. It presents, on a program point basis, information about these blocks such as sizes, lifetimes, numbers of reads and writes, and read and write patterns.
c++  software 
17 days ago
Three ways of handling user input
Alternatives to the usual callback-style input handling. Example shows dragging a box around, which requires the pointerdown, pointermove, pointerup events
structure  ui 
17 days ago
Do We Fund New Research or Not? - by Stuart Buck
A lot of research funding is based on you already having done the research
science 
18 days ago
Carifree vs sensodyne with Novamin Vs Biomin C Vs Apaguard Premio : Dentistry
Reddit comment says Biomin-F, Carifree, Apadent Total Care are all better than Sensodyne with novamin
dental 
18 days ago
JSDoc as an alternative TypeScript syntax
Overview of jsdoc syntax that gets read by typescript
javascript  typescript 
19 days ago
Tomorrow Corporation : How We Make Games at Tomorrow Corp – Our Custom Tools Tech Demo
Gamedev shows off their internal tools - live reloading of code, time travel debugging, etc.
gamedev 
19 days ago
LogLog Games
Blog post about Rust in game development, but also has a lot of good points about game development in general, including reasons to use ECS, iteration speed, generality
gamedev 
20 days ago
Computing Layouts with Deformable Templates
In this paper, we tackle the problem of tiling a domain with a set of deformable templates. A valid solution to this problem completely covers the domain with templates such that the templates do not overlap. We generalize existing specialized solutions and formulate a general layout problem by modeling important constraints and admissible template deformations. Our main idea for the solution is to break the layout algorithm into two steps: a discrete step to lay out the approximate ...
algorithms  procgen 
25 days ago
Ortho-tiles – BorisTheBrave.Com
"Ortho-tiles" for auto-tiling irregular grids
procgen 
25 days ago
MetaExtensions - WHATWG Wiki
List of HTML <meta> tag extensions that are for specific browsers or devices or situations
html 
26 days ago
Regexper
Regular expression visualizer using railroad diagrams
regexp 
26 days ago
How to improve Python packaging, or why fourteen tools are at least twelve too many | Chris Warrick
Python has distutils, setup.py, venv, virtualenv, wheel, pip, pipx, poetry, conda, pipenv, and more
python 
28 days ago
Why are wind turbines 3 bladed, but wind mills on small farms have 12 or more? : askscience
1 blade is the most cost effective windmill, but unstable; 2 is also unstable; 3 is the first stable point; 4 is unstable too; 5 is stable
engineering 
29 days ago
A Comparison of Traffic Flow Performance of Roundabouts and Signalized Intersections: A Case Study in Nigde
A diagram showing whether traffic signals or roundabouts are better at a given set of traffic volumes
transportation 
4 weeks ago
A Comprehensive Rebuttal to Seed Oil Sophistry
The popular consciousness has accepted many dietary villains over the course of the last half century, ranging from fat, to protein, to salt, to carbohydrates. More often than not, dietary constituents that have fallen under such scrutiny have been exonerated in time, as more and more scientific data is brought to light. I suspect that there is a growing number of people who are now wrongfully demonizing vegetable oils as well. Both skepticism and generally negative attitudes toward ...
health 
5 weeks ago
The Tonnetz
Visual representation of musical notes and chords, with a hexagonal layout
hexagons  music 
5 weeks ago
FNET/GridEye Server Web Display
Real time view of US electrical grid frequency
infrastructure 
5 weeks ago
FNET World-wide Frequency Map
Electrical grid frequency map showing how they're deviating from the ideal frequency
infrastructure  maps 
5 weeks ago
Searching & Exploring Your iMessage Database with SQL Queries
If you use iMessage, you can access and query the database where all of the messages are stored. All you need is a Mac and some basic SQL skills to begin!
sqlite  mac 
5 weeks ago
ArchiveBox/ArchiveBox: 🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
web  history 
5 weeks ago
GitHub - memononen/nanosvg: Simple stupid SVG parser
Simple stupid SVG parser. Contribute to memononen/nanosvg development by creating an account on GitHub.
svg  c++  software 
5 weeks ago
Moebius-style post-processing and other stylized shaders - Maxime Heckel's Blog
A detailed essay on the process of building a post-processing stylized shader reproducing the style of legendary artist Jean Giraud a.k.a Moebius for your React Three Fiber projects. In it, I detail the process of drawing outlines with a Sobel Filter as well as custom shadow and lighting patterns to bring a unique style to your WebGL scene.
graphics 
6 weeks ago
JavaScript engine fundamentals: optimizing prototypes · Mathias Bynens
Even though in theory each javascript object has a different set of properties, in practice large groups of them have the same set of properties, so javascript engines cache the "Shape" of objects in a separate data structure
javascript  performance 
6 weeks ago
A horrifying globalThis polyfill in universal JavaScript · Mathias Bynens
Various javascript environments support globalThis, frames, self, global, this
javascript 
6 weeks ago
How to Favicon in 2024: Six files that fit most needs—Martian Chronicles, Evil Martians’ team blog
Prefer SVG over PNG, trust browsers to downscale, drop obscure formats—the ultimate, exhaustive guide to favicons for modern web. Includes steps for static HTML and Webpack.
web 
6 weeks ago
Crank.js
Javascript/DOM framework that uses *generators* to give each component its own event loop (or it seems like it). Looks clever.
web 
7 weeks ago
How much do investors trade because of name/ticker confusion? - ScienceDirect
Investors are investing in similar sounding companies instead of the one they intended to invest in
money 
7 weeks ago
GitHub - chearon/dropflow: A CSS layout engine
Dropflow is a CSS layout engine created to explore the reaches of the foundational CSS standards (that is: inlines, blocks, floats, positioning and eventually tables, but not flexbox or grid). It has a high quality text layout implementation and is capable of displaying many of the languages of the world. You can use it to generate PDFs or images on the backend with Node and node-canvas or render rich, wrapped text to a canvas in the browser.
web 
7 weeks ago
Rive Renderer
2D accelerated animated vector graphics
graphics 
7 weeks ago
Accounting for albedo change to identify climate-positive tree cover restoration | Nature Communications
Restoring tree cover changes albedo, which is the fraction of sunlight reflected from the Earth’s surface. In most locations, these changes in albedo offset or even negate the carbon removal benefits with the latter leading to global warming. Previous efforts to quantify the global climate mitigation benefit of restoring tree cover have not accounted robustly for albedo given a lack of spatially explicit data. Here we produce maps that show that carbon-only estimates may be up to 81%...
environment 
7 weeks ago
Equal Earth Physical Map
A wall map in the Equal Earth projection showing terrain and world natural environments. The map is free of charge.
maps 
7 weeks ago
VoiceCraft
VoiceCraft: Zero-Shot Speech Editing and Text-to-Speech in the Wild
ai  audio 
7 weeks ago
Dispose of Smoke Detectors Properly
Where to return radioactive smoke detectors
environment 
7 weeks ago
Can we have our cake and eat it? Welcome to the world of sugar elimination | Sugar | The Guardian
Our sugar problem could be solved by counteracting it after we’ve eaten it, as stomach ‘sponges’ and fibre-making enzymes head to market
health  future 
7 weeks ago
Dueling with Microwave Ovens - WiFi Planet
Microwave ovens interfere with Wifi channels 8, 9, 10, 11
networking 
8 weeks ago
Defying Cavity: Lantern Bioworks FAQ - by Scott Alexander
There are multiple types of mouth bacteria, and one of them causes cavities. I seem to be lucky in that I mostly have the others. There are probiotic pills you can get on Amazon that promote the non-harmful species. And there was work on a vaccine against the harmful one. But Lantern Bioworks is doing something different — they are genetically modifying the harmful species to (1) not cause cavities, and (2) outcompete the unmodified version. It'd be a one time treatment, unlike the probiotics t...
health  biology 
8 weeks ago
Mechvibes
One of the only free applications that'll let you to change the sound of your keyboard into anything!
keyboard 
8 weeks ago
Writings of sussman@
Ben Collins-Sussman posts about Google culture
google 
8 weeks ago
Why Are (Most) Sofas So Bad? - Dwell
Changes in the sofa manufacturing and sales models
history 
9 weeks ago
bjorg: Int->Float->Int: It's a jungle out there!
Audio processing uses either integer amplitude or float amplitude -1 to +1. This page lists the various ways to convert back and forth (they're not all the same!! partly because integers are slightly asymmetrical)
floats  audio 
9 weeks ago
Web Browser Engineering
Web browsers are ubiquitous, but how do they work? This book explains, building a basic but complete web browser, from networking to JavaScript, in a couple thousand lines of Python.
web  python  software 
9 weeks ago
The Wax and the Wane of the Web – A List Apart
Forget death and taxes. The only certainty on the web is change. Ste Grainer takes a brief look at the history of the web and how it has been constantly reinvented. Then he explores where we are now, and how we can shape the future of the web for the better.
web  history 
10 weeks ago
The Complex But Awesome CSS border-image Property — Smashing Magazine
Lots of different ways to use CSS border-image for non-images
css 
10 weeks ago
Lezer
Lezer (the Dutch word for reader, pronounced like “laser”) provides a parser generator that outputs JavaScript modules, which can be loaded to parse code into a non-abstract syntax tree. This tree can then be used to do highlighting and basic semantic analysis.
parsing 
10 weeks ago
Beyond efficiency
Computer science often emphasizes processing efficiency, leaving robustness to be addressed separately. However, robustness requires redundancy, which efficiency eliminates. For safer and more scalable computing, we must embrace and manage this tradeoff.
structure  software 
10 weeks ago
Deskilling on the Job. When it comes to AI’s potential future… | by danah boyd | Medium
When highly trained professionals now babysit machines, they lose their skills. Retaining skills requires practice. How do we ensure that those skills are not lost? If we expect humans to be able to take over from machines during crucial moments, those humans must retain strong skills. Loss of knowledge has serious consequences locally and systemically.
structure  society  ai 
10 weeks ago
Urs Hölzle on LinkedIn: Today’s hyperscale data centers rely on ultra-high-bandwidth Ethernet… | 23 comments
About Google building their own network switches in ~2007
But what we needed was a 10,000-port switch that cost $100/port. So, almost exactly 20 years ago, we sent this five-page RFP to four different switch vendors (IIRC: Cisco, Force10, HP, and Quanta) and tried to interest them in building such a switch. They politely declined because “nobody is asking for such a product except for you”, and they anticipated margins to be low.
networking  google 
10 weeks ago
Götz Bachmann’s Ethnographic Research on Dynamicland — Christoph Labacher · Interaction Designer
The “Dynamic Medium Group” led by Bret Victor which is developing “Dynamicland” is much admired and closely watched in the interaction design community. Yet the information about their work is closely-guarded and usually only available in a highly moderated form. The work of ethnographer Götz Bachmann, who spent much time with the group to observe them, offers a new perspective and deep insight into the group’s ideas and practices.
computers 
11 weeks ago
M-x Reloaded: The Second Golden Age of Emacs - (think)
Emacs has a lot of positive things in its development that are getting it out of its own little world of doing everything differently
emacs 
11 weeks ago
Why Does The Sunlight Come From The North In Shaded Relief Maps?
If you've got a sharp eye and a knack for details, you might have noticed the sun coming from an unrealistic angle in most shaded relief maps: the north. In this article we explain why.
maps 
12 weeks ago
« earlier      
3d a3 actionscript advertising ai algorithms android apple art assembly audio biology blogs bluetooth book brain bugs business c++ calendar carbon cars cats chaos chemistry china civ4 classic color communication compiler compilers computers construction contenteditable cooking cool creativity css culture currency d3 database debugging dental design dhtml drawing dwarffortress e-m1 economics editor education efficiency emacs email emoji energy engineering english environment factorio filesystems firefox fish flash flickr floats fonts food fun funny future game gamedev games geology geometric-algebra geometry getting git giving google graphics gtd guild_wars hacks happiness hardware haskell haxe health hexagons hierarchy history houses howto html html5 hue infrastructure interactive internet iphone java javascript job json keyboard language latex learning legal liberty life light lightroom linux lisp long-tail lua mac machinelearning makingthings manufacturing maps marketing materials math money moo movies music networking neuralnetworks nodejs noise nwn oblivion olympus opengl orgmode os2 paper parsing pathfinding people performance photography physics politics ponds privacy procgen productivity programming projects puzzlequest python quantum quotes regexp religion rest reviews rotmg rss ruby rust s3 sad science search security shell simcity simplicity simulation sleep social society software solar space spore sqlite statistics stories structure supremecommander svg technology time transportation travel ttd tui tutorial typescript typography ui unicode unity unix video vision visualization voronoi wasm water weather web webgl weird wii windows wisdom work wow writing xml xmpp xslt zsh

Copy this bookmark:



description:


tags: