Recent submissions

Comment · 7 months ago
I really like the idea, and I've actually built something similar. Please format the writing in the post sound less gpt-esque; I believe in the tool you're making and I believe it will improve marketing to people that share my aversion to that writing style.
Comment · 10 months ago
Learn more saxophone, learn more jazz piano. Get better at ear training.

Technically, apply myself more to projects at my job, learn how to fit in our flow better. I've been using AI to program some goofy projects, and I've found a good medium between vibe-coding and auto-complete, where I make it draw up a plan for every commit, and then I ask it to implement it, and if the generated code is wrong I undo the changes and revise the plan to be more precise. It's relatively easy to verify the plan, not as easy to verify the code, but it's still easy to debug the code and figure out what's wrong.

The burden shifts more to creating small modules with stable interfaces.

Comment · 11 months ago
There kind of is. There's __cplusplus, which I'll grant you is quite janky.

  #IF __cplusplus==202302L
Comment · 11 months ago
In my recollection, what killed g+ was forcing your YouTube account to become your g+ account, with your public name attached to the trashpit YouTube comments used to be. Everybody protested using g+, but the "Google account for everything" stuck around anyways.
Comment · 11 months ago
I'll take the bait.

Do you distinguish between writing a compiler and writing an optimizing compiler, and if so, how is writing an optimizing compiler an extinct art?

Equality saturation, domination graphs, chordal register allocation, hardware-software codesign, etc there are many new avenues of research for compilers, and these are just the ones on the top of my head that are relevant to my work. Most optimization work is R&D and much of it is left unimplemented at scale, and things like the phase-ordering problem and IR validation are hard to do in practice, even given ample resources and time.

Comment · 1 year ago
Persians might actually be a unique dual culture. Whereas others might guess or ask about things, Persians offer absolutely everything and the actual problem then shifts from "what can I ask for" vs "what should I refuse?".

An asker asks for things, absolutely everything, and the giver must choose what they can give.

A guesser must choose what they can ask for, and only ask when they're quite sure it can be given, so the giver has less responsibility for the transfer or service, and most asks can be assumed to be reasonable.

A Persian cannot ask for anything. They must wait for it to be offered, and even then, they must insist that they are quite alright, and that they would rather do without, and only through reciprocal insistence from the giver can they consider whether it would be rude to take them up on the offer.

Presumably, one can judge the giver's underlying intent by the quality of their reciprocal insistence (does it seem like they're just doing the bare minimum of insistence upon their offering, or do they truly wish for me to take them up on it?)

In the Taarof system, an offeree actually has more data, rather than a simpler Asker-scenarion "no", and even more data than the shared values in a Guesser household, this allows for a quick negotiation of values by the immediate and well-practiced cultural norms around the quality of insistence, even for people across different households.

Comment · 1 year ago
I have a wrapper around IndexedDB I've been using since 2020ish for my offline-first texting based notes system called FileDB, which makes indexedDB look like a filesystem. https://github.com/kasrasadeghi/pipeline-js/blob/main/assets...

I wrap that in FlatDB, which is an opinionated flat cache for the files with metadata inline, used for very fast searches (searching 150k messages in less than 20ms on my 4 year old phone). This handles a lot of tricky cases, like accidental cache modification, and editing the database in different tabs.

There's even a sync algorithm that synchronizes notes across devices. https://github.com/kasrasadeghi/pipeline-js/blob/main/assets...

Comment · 1 year ago
I've built a very similar contraption, but without any libraries because I got annoyed at having to relearn a new kind of React after react class components got out of fashion and people started using hooks. I built it out of raw JavaScript and a raw python socket server.

How do you manage sync? Mine is a WebApp so I use indexedDB, and that's nice so that it works on my computer browser, but I don't want multiple tab synchronization on my phone and it's tricky to handle. I've built something that works, but I'd love to explore other designs.

You said React Native, so there might be a regular app sort of data store to disk.

Comment · 1 year ago
Working on ML Compilers for different accelerators.
Comment · 1 year ago
The sounds a bit like the book Sphere by Michael Crichton.
Comment · 2 years ago
This reminds me of something mixing the Age of War flash game (which had great music) and TeamFight Tactics (TFT). An RTS without some kind of unit control seems strange, but interesting as it is often the greatest barrier to accessing the game.
Comment · 2 years ago
Beautiful notation. I found the first especially interesting, with the spatial mapping recorded in a kind of "parametric-function on a 2d plane" view, like a camera on a slow exposure looking at the entire dance from bird's eye view.

The later ones are reasonable, as they map more closely to the music notation that has become standard, but for classical music of different cultures, notes don't often lie on a single place, but swing from one pitch to another, with blips and arcs in their paths from one place to another.

The staff-based notations lose the first-hand flow of the notation in space. I wonder what could be done with color.

Comment · 2 years ago
I believe there is an accessibility setting for the visually impaired that puts a 4x2 grid of pressable squares on the phone screen, and users flip their phone and use it in portrait mode. This might be iPhone only? I remember in the video for this that iPhone accessibility was much better.
Comment · 2 years ago
Comment · 2 years ago
The steam controller that the steam deck was based on can still be found. I bought a few of them when they had their final sale.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton