Better HN
topnewbestaskshowjobs
Log inSign up

DesertVarnish

132 karma · joined Feb 17, 2018 (8y ago) · 31 submissions

Submissions

comment 1y ago · link · parent

Largely but not entirely a data problem; specifically poor captioning. High quality captioning makes such a big difference.

comment 1y ago · link · parent

The buffer pool and CoW are honestly really nice patterns for this type of canvas heavy setup with React where it's not a good fit for a custom reconciler.

comment 1y ago · link · parent

For hydrocarbon synthesis, hydrogen production from electrolysis dominates the energy usage, along with driving the Sabatier process. DAC might be like 5-10%.

Higher CO2 concentration is better but certainly not needed, it doesn't make or break the economics.

comment 1y ago · link · parent

Difficult engineering problem but working from first principles suggests that the energy requirememts are not insurmountable. The roundtrip efficiency is worse than batteries but much better than photosynthesis.

Terraform Industries (and others, like Synhelion) has a plausible if slightly optimistic target to be price competitive with fossil fuels for methane in the early 2030s.

Some places with very cheap to extract hydrocarbons like Saudi Arabia may be able to compete for a very long time, but there are many futures where most of humanity's hydrocarbon consumption (including the ones used for the chemical industry, plastics, etc) derives from atmospheric carbon.

And this can happen fast, the world (mostly China) has developed a truly massive manufacturing capacity for PV.

comment 1y ago · link · parent

My wife has been working on a pixel accurate recreation of MacPaint on the web, and one of the things that I've learned from on-and-off helping with it was just how much of the magic in it is actually just handled by QuickDraw.

Also, the text styling has a lot more complexity than you would expect.

comment 2y ago · link · parent

The energy densities are generally at least an order of magnitude lower and the cost is at least an order of magnitude higher. They serve different purposes.

comment 2y ago · link · parent

My understanding is that fluoridation of municipal water supplies serves a different purpose than fluoride in toothpaste. The fluoride in the water supply is low concentration and is intended to cause teeth to develop with stronger cavity resistance, toothpaste is a much more superficial and immediate measure.

comment 2y ago · link · parent

Unavailable at the moment (HN hug of death?), Wayback Machine: https://web.archive.org/web/20240204131916/https://esoteric....

comment 2y ago · link · parent

I remember looking into a similar problem and learned that on desktop it was just an encrypted SQLite DB. It was readable with the standard SQLite library.

Not sure of the situation for the mobile backups though!

comment 3y ago · link · parent

They really aren't the same.

Crypto didn't and still doesn't have the same immediate utility. The value proposition just wasn't there to justify the money and attention it was getting. Bitcoin in particular was a prototype that got mythologized into being "digital gold" despite it's many, many technical limitations.

Diffusion models and LLMs work today and make possible things that were science fiction five years ago, and have shown tremendous and exciting progress in the past 18 months.

comment 3y ago · link · parent

Haskell is purely functional, but if you make ample use of do-notation it's very easy to write in a familiar imperative(ish) style for day-to-day tasks. Most learning materials won't emphasize this but large production Haskell codebases that do a lot of IO usually end up looking a lot more familiar than you might expect.

If you have interest in both OCaml and Haskell, you might also consider just learning Rust which borrows aspects from both of them. Rust traits aren't quite as powerful as Haskell typeclasses and its module system is definitely more limited than OCaml's, but if you write it in a more functional style you'll get exposed to a lot of similar patterns.

A lot of things in Haskell never really clicked for me until I spent some time getting comfortable with Rust.

comment 3y ago · link · parent

It depends on what you eat. A person eating a lot of tomatoes, legumes, potatoes, and squash would hit it pretty easily, which is common for a lot of traditional diets (south asia, some parts of latin america, etc).

comment 3y ago · link · parent

> For instance, using the features of the language to describe a nested structure of components, each of which has different dependencies that are a subset of its parents dependencies

I may be misunderstanding you, but this seems tractable with React.memo. Merely encode the dependency or lack thereof in the propsAreEqual predicate.

comment 3y ago · link · parent

No mention of E4X? https://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-part...

15.

Free-types: Higher kinded types in TypeScript(github.com ↗)

65 points · by DesertVarnish · 3y ago · 49 comments

comment 3y ago · link · parent

I took this course with Hug many years ago. He's a truly gifted educator and I learned so much from the projects.

comment 3y ago · link · parent

They are, up to $1M with sweep IIRC.

18.

Rspack: A fast Rust-based web bundler(github.com ↗)

74 points · by DesertVarnish · 3y ago · 9 comments

comment 3y ago · link · parent

Most of the time an application built using web technologies is slow, it's not because the web's UI layer (HTML/CSS) is intrinsically slow.

A desktop app written in Tauri that punts most of the heavy data processing to Rust with a UI layer written in well-optimized React or Solid.js is really plenty fast. In practice what we get with most Electron apps is not especially well written React with frequent coarse grained re-renders, inefficient data processing, frequent allocations causing GC pressure, and excessive JSON RPC. The problems here aren't HTML/CSS + JS for basic event handling, it's everything else about how the software is developed.

comment 4y ago · link · parent

Is it actually standard practice to use nitrogen fertilizers with soybeans? Soy is a nitrogen fixer and I've read that nitrogen fertilizers often reduce yields for soybeans because it interferes with nodulation and undermines that plant's nitrogen fixing capacities.

comment 4y ago · link · parent

This is a long standing debate in evolutionary biology, I wrote about it if anyone's interested in more context: https://www.maltinsky.net/blog/giraffe-evolution.

comment 4y ago · link · parent

I don't mean to detract from your more general point, but given the associations that sleep apnea has with obesity (and even just non-obese elevated BMIs) I think that is very plausibly an environmental change.

comment 5y ago · link · parent

I'm another Mercury employee. When I joined there wasn't much of a specific onboarding process at all, beyond being given a few simple tickets to work on and pointed to some documentation.

I had written a very small amount of Haskell before, but IIRC correctly I think I made my first commit only a few weeks after joining. In general even people without an existing strong FP background seemed to become productive pretty quickly.

comment 5y ago · link · parent

It's interesting to see companies showing up in this space (e.g., https://hash.ai/), many of them based out of London. I'd consider applying if I was based in the UK, but I'm curious about what inspired the founding team to start the company. Can you share an origin story?

comment 6y ago · link · parent

Packaging gtk for systems other than Linux can be a bit of a nightmare, and the experience on platforms other than Linux and desktop BSD leaves a lot to be desired.

comment 6y ago · link · parent

println is a macro in Rust because 1) the language currently lacks support for variadic functions and 2) being a macro allows the format string to be parsed at compile time.

comment 7y ago · link · parent

At one point, Roam supported importing org-mode files (my team actually asked them to implement it back in spring of 2018). The product vision has changed a lot since then and I'm not sure if they still support it, but if there's interest I wouldn't be surprised if they brought it back.

comment 7y ago · link · parent

I may be wrong, but insolation probably isn't a substantial factor in keeping cores molten because of how small the energy input is. Venus does have extremely active volcanoes. There's suspicion that it might have a stronger magnetic field if it were spinning faster (it's rotational period is currently longer than its year).

29.

Pliny the Elder on the 21st Century(maltinsky.net ↗)

3 points · by DesertVarnish · 7y ago · discuss

comment 7y ago · link · parent

That was fantastic. Attempts to teach programming through gamification tend to have issues, but the instant visual feedback and clear goals helped me understand CSS much better.
12