Just write the #!%/* parser
parsing
6 hours ago
Writing parsers from scratch. Why simpler is better and why you don't need a parser generator.
6 hours ago
Parser generators vs. handwritten parsers: surveying major language implementations in 2021 | notes.eatonphil.com
7 hours ago
A lot of real-world language parsers are hand-written, not automatically generated from a tool
parsing
7 hours ago
Parsing in JavaScript: all the tools and libraries you can use
javascript
parsing
software
yesterday
We present and compare all possible alternatives you can use to parse languages in JavaScript. From libraries to parser generators, we present all options
yesterday
Wasmphobia
yesterday
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
2 days ago
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
health
3 days ago
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.
3 days ago
Sizing a Modulating Condensing Boiler - GreenBuildingAdvisor
3 days ago
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
health
3 days ago
This is a common enough complaint that it deserves its own sub. Help Reddit find remedies that help manage toenail and fingernail fungus. Please...
3 days ago
The Emacs Window Management Almanac | Karthinks
4 days ago
Nice overview of emacs window/buffer management including customization and third party packages
emacs
4 days ago
Effect of Dietary Linoleic Acid on Markers of Inflammation in Healthy Persons: A Systematic Review of Randomized Controlled Trials - Journal of the Academy of Nutrition and Dietetics
6 days ago
Linoleic acid doesn't seem to be linked to inflammation
health
6 days ago
Fact-Check: Paul Saladino on seed oils - The Proof
6 days ago
Links to studies about seed oils and health
health
6 days ago
Hirrolot/datatype99: Algebraic data types for C99
7 days ago
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
8 days ago
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
11 days ago
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
11 days ago
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
webgpu
graphics
12 days ago
Some helpers for webgpu. Contribute to greggman/webgpu-utils development by creating an account on GitHub.
12 days ago
Thoughts on this FOV/Lighting algorithm? : roguelikedev
13 days ago
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
16 days ago
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
17 days ago
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
c++
software
17 days ago
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.
17 days ago
Three ways of handling user input
17 days ago
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
18 days ago
A lot of research funding is based on you already having done the research
science
18 days ago
First ever fluoride-containing bioglass toothpaste wins FDA approval | British Dental Journal
18 days ago
Biomin-F toothpaste in the US will be prescription-only
dental
18 days ago
Carifree vs sensodyne with Novamin Vs Biomin C Vs Apaguard Premio : Dentistry
18 days ago
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
19 days ago
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
19 days ago
Gamedev shows off their internal tools - live reloading of code, time travel debugging, etc.
gamedev
19 days ago
LogLog Games
20 days ago
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
algorithms
procgen
25 days ago
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 ...
25 days ago
MetaExtensions - WHATWG Wiki
26 days ago
List of HTML <meta> tag extensions that are for specific browsers or devices or situations
html
26 days ago
How to improve Python packaging, or why fourteen tools are at least twelve too many | Chris Warrick
28 days ago
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
29 days ago
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
4 weeks ago
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
health
5 weeks ago
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 ...
5 weeks ago
The Tonnetz
5 weeks ago
Visual representation of musical notes and chords, with a hexagonal layout
hexagons
music
5 weeks ago
FNET/GridEye Server Web Display
5 weeks ago
Real time view of US electrical grid frequency
infrastructure
5 weeks ago
FNET World-wide Frequency Map
5 weeks ago
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
sqlite
mac
5 weeks ago
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!
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...
web
history
5 weeks ago
Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
5 weeks ago
dosyago/DownloadNet: 💾 DownloadNet - All content you browse online available offline. Search through the full-text of all pages in your browser history. ⭐️ Star to support our work!
web
history
5 weeks ago
DownloadNet - All content you browse online available offline. Search through the full-text of all pages in your browser history.
5 weeks ago
GitHub - memononen/nanosvg: Simple stupid SVG parser
svg
c++
software
5 weeks ago
Simple stupid SVG parser. Contribute to memononen/nanosvg development by creating an account on GitHub.
5 weeks ago
Moebius-style post-processing and other stylized shaders - Maxime Heckel's Blog
graphics
6 weeks ago
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.
6 weeks ago
JavaScript engine fundamentals: optimizing prototypes · Mathias Bynens
6 weeks ago
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
6 weeks ago
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
web
6 weeks ago
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.
6 weeks ago
Crank.js
7 weeks ago
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
7 weeks ago
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
web
7 weeks ago
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.
7 weeks ago
Accounting for albedo change to identify climate-positive tree cover restoration | Nature Communications
environment
7 weeks ago
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%...
7 weeks ago
Equal Earth Physical Map
maps
7 weeks ago
A wall map in the Equal Earth projection showing terrain and world natural environments. The map is free of charge.
7 weeks ago
CuriePackSM Radioactive (Am-241) Smoke Alarm Recycling Kit-1 gallon (4-5 Alarms) | Curie Services
7 weeks ago
Pricey but they'll accept radioactive smoke detectors for recycling
environment
7 weeks ago
Dispose of Smoke Detectors Properly
7 weeks ago
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
health
future
7 weeks ago
Our sugar problem could be solved by counteracting it after we’ve eaten it, as stomach ‘sponges’ and fibre-making enzymes head to market
7 weeks ago
Dueling with Microwave Ovens - WiFi Planet
8 weeks ago
Microwave ovens interfere with Wifi channels 8, 9, 10, 11
networking
8 weeks ago
Defying Cavity: Lantern Bioworks FAQ - by Scott Alexander
8 weeks ago
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
keyboard
8 weeks ago
One of the only free applications that'll let you to change the sound of your keyboard into anything!
8 weeks ago
Why Are (Most) Sofas So Bad? - Dwell
9 weeks ago
Changes in the sofa manufacturing and sales models
history
9 weeks ago
bjorg: Int->Float->Int: It's a jungle out there!
9 weeks ago
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
python
software
9 weeks ago
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.
9 weeks ago
The Wax and the Wane of the Web – A List Apart
web
history
10 weeks ago
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.
10 weeks ago
The Complex But Awesome CSS border-image Property — Smashing Magazine
10 weeks ago
Lots of different ways to use CSS border-image for non-images
css
10 weeks ago
Lezer
parsing
10 weeks ago
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.
10 weeks ago
Beyond efficiency
structure
software
10 weeks ago
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.
10 weeks ago
Deskilling on the Job. When it comes to AI’s potential future… | by danah boyd | Medium
structure
society
ai
10 weeks ago
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.
10 weeks ago
Urs Hölzle on LinkedIn: Today’s hyperscale data centers rely on ultra-high-bandwidth Ethernet… | 23 comments
10 weeks ago
About Google building their own network switches in ~2007
networking
google
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.
10 weeks ago
Total daily energy expenditure has declined over the past three decades due to declining basal expenditure, not reduced activity expenditure - PubMed
10 weeks ago
Claims human metabolism has slowed down, and that could be part of the obesity problem
health
10 weeks ago
Götz Bachmann’s Ethnographic Research on Dynamicland — Christoph Labacher · Interaction Designer
11 weeks ago
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)
11 weeks ago
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?
maps
12 weeks ago
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.
12 weeks ago