HN user

hyperbrainer

805 karma
Posts30
Comments179
View on HN
3blue1brown.substack.com 7mo ago

3B1B: Recruiting, both for myself and for other companies (potentially yours)

hyperbrainer
4pts0
golem.ph.utexas.edu 11mo ago

How to Count N-Ary Trees

hyperbrainer
3pts0
notashes.me 11mo ago

A deep dive into Rust and C memory interoperability

hyperbrainer
154pts79
rust-gpu.github.io 12mo ago

Rust Running on Every GPU

hyperbrainer
16pts1
graphicallinearalgebra.net 1y ago

Graphical Linear Algebra

hyperbrainer
304pts26
hackage.haskell.org 1y ago

Lens: Lenses, Folds and Traversals

hyperbrainer
88pts60
fasterthanli.me 1y ago

All color is best effort

hyperbrainer
3pts0
backscattering.de 1y ago

The Hashtable Packing Problem (2020)

hyperbrainer
39pts15
www.harudagondi.space 1y ago

A Rust Documentation Ecosystem Review

hyperbrainer
94pts14
blog.janestreet.com 1y ago

Why GADTs matter for performance (2015)

hyperbrainer
83pts26
burgers.io 1y ago

Custom Logging in Rust Using tracing and tracing-subscriber

hyperbrainer
2pts0
medium.com 1y ago

I started an open source project in 2004. This week, it hit 30000 GitHub stars

hyperbrainer
11pts0
news.ycombinator.com 1y ago

Ask HN: Memory-safe low level languages?

hyperbrainer
61pts117
curry-lang.org 1y ago

Curry: A functional logic programming language

hyperbrainer
172pts37
www.scottaaronson.com 1y ago

The Busy Beaver Frontier [pdf]

hyperbrainer
4pts0
mathmondays.com 1y ago

Monsky's Theorem

hyperbrainer
49pts13
haacked.com 1y ago

JSON Hijacking (2009)

hyperbrainer
2pts0
mtlynch.io 1y ago

My Book's Pre-Sale Just Barely Succeeded

hyperbrainer
19pts7
unlinkedlist.org 1y ago

Tail Call Recursion in Java with ASM (2023)

hyperbrainer
96pts48
blog.google 1y ago

Gmail's upgraded search results help you find the emails you want, faster

hyperbrainer
10pts6
web.archive.org 1y ago

Teleo-Reactive Programs

hyperbrainer
7pts1
worldsworstdetective.com 1y ago

No dumb questions: What's the biggest number?

hyperbrainer
4pts0
www.axler.net 1y ago

Down with Determinants by Sheldon Axler (1994) [pdf]

hyperbrainer
1pts0
cot.rs 1y ago

Cot: The Rust web framework for lazy developers

hyperbrainer
113pts68
www.youtube.com 1y ago

Why Did Prisma Choose Rust Initially? [video]

hyperbrainer
4pts0
twitter.com 1y ago

VictorTaelin: SupGen is a coding AI runs on 1 core CPU can prove theorems

hyperbrainer
38pts5
sites.math.rutgers.edu 1y ago

Theorems for a Price: Tomorrow's Semi-Rigorous Mathematical Culture (1994) [pdf]

hyperbrainer
2pts1
rust-gpu.github.io 1y ago

Welcoming two new Rust GPU maintainers

hyperbrainer
2pts0
chrisdone.com 1y ago

Fast Haskell: Competing with C at parsing XML (2017)

hyperbrainer
5pts0
lwn.net 1y ago

User-Space Interrupts (2021)

hyperbrainer
38pts7

One of the best books I have read in recent years, somehow immensely relevant now: _Eccentric Orbits: The Iridium Story_ by John Bloom, that explores exactly what went wrong, the bankruptcy filing and so on. I wonder if you might find your experiences reflected there.

"highly paramteric like fastners, gears, 3D printed boxes"

1. These parts should probably be on McMaster. If you are not using them straight from there, you better have a _great_ reason as to why not when it comes up in the design review.

2. Solidworks has Smart Fasteners, Inventor has Spur Gear Component Generator, Sketch->Extrude->Shell takes 30 seconds, so not sure why 3D printed boxes would be faster or better with this for most stuff. Also, this stuff is easily solved by things like the component library and configurations.

There is also all the helpful work that Mathworks does such as Simulink ... Also, consider that MATLAB works much more like how one would write on paper (including 1-indexing) and is what people are used to at this point.

If an engineer came to you and said “So for this project, I put all the code, input data, output data and comments scattered about one big two-dimensional array with no type safety, no portability, no scalability, no security, no variable names, no code re-use, no unit tests, no integration tests, no abstractions and no error handling”

So, how is this different from engineers and MATLAB?

Irrelevant but spreadsheets have always struck me as one of the most beautiful pieces of software that we use. Automatically updating calculations, programming logic complex anough for most ERPs, using it is a database, easy organisation of data, graphs -- it has it all. From both a user and developer perspective, they are one of the most diverse tools on a computer. MS may make terrible software sometimes, but damn it, does Excel run the world.

That's the first thing on the page.

Interviewer: “What happens if you allocate memory with C’s malloc and try to free it with Rust’s dealloc, if you get a pointer to the memory from C?”

Me: “If we do it via FFI then there’s a possibility the program may continue working (because the underlying structs share the same memory layout? right? …right?)”

I see it as beautiful the same way Galadriel would be beautiful as the Dark Queen. Utterly captivating and powerful, and yet something that should never be.

My first thought was that this was done with consideration for mobile phones, since many higher-end models use 120 Hz displays, but Ladybird does not seem to support mobile for now.

Websites using requestAnimationFrame now render at up to 120Hz on supported hardware

But the phrasing of it about "can now" suggests to me that this may simply be a performance issue too. They changed it from 60 to 120. Perhaps in the future they can go from 120 to 144 or even 240.

Long Term Support 12 months ago

the future of SQLite is basically guaranteed on account of being open source

I am not concerned with whether it has a future. But I do fear that the absolute manic focus on code quality, testing and support may take a dive when other programmers take the helm. I am not claiming that there are no developers who are equally careful and/or skilled, but whether the culture of SQLite will persist is, to me, still an open question.

I have been experimenting with rendering fonts in Rust lately. I was pleasantly surprised by how simple reading the ttf file format is. The hard part, of course, is actually doing everything with the bezier curves and contours and filling the insides etc. But if I were to just be working with straight lines, I already have everything I need. Indeed, I used MATLAB's `patch` to quickly check my progress and see the major bugs in my rendering implementations, and got there within a couple hours.

we cannot just require all generic parameters to be Clone, as we cannot assume they are used in such a way that requires them to be cloned.

I don't understand what "used in such a way requires them to be cloned" means. Why would you require that?

If you wish to approach Category Theory from the viewpoint of a programmer, not a mathematician, I suggest Bartosz Milewski's book Category Theory for Programmers. For this, all you need is some previous programming experience. He uses C++ and Haskell iirc but as long as you can read snippets of code, you'll be fine.

I am suggesting this since you said you want to better understand functional programming. Category Theory, as mathematicians look at it, is an extremely abstract field. If you want to do pure math related stuff in Category Theory, and only then, I would say important prereqs are Abstract Algebra and Topology. I believe the motivation for Category theory lies in Algebraic Geometry and Algebraic Topology, but you definitely don't need to be an expert on these to learn it.