vaughan

Joined 15 years ago

Karma
767
Submissions
339
Member since
Aug 31
Programmer

vaughanhackernews at gmail

View on Hacker News

Recent submissions

Comment · 6 months ago
For me this is the perfect timing. Just this week I was fed up with my iPhone (and most of the Apple ecosystem) and bought a Google Pixel 10 Pro.
Comment · 6 months ago
We need this for TypeScript.
Comment · 1 year ago
It’s very hard to do tags in the physical world. You need to stick different colored post-its to things and do a full table scan (with your eyes) any time you want to process all docs of one tag. Or you cluster things together depending on similar colors.

Hierarchy is easy in the physical world.

But what is crazy is since the dawn of computing we can store data however we want and project it however we want…and yet we still use hierarchy for file storage…like we still just have a filing cabinet of manilla folders.

Comment · 1 year ago
Best solution to date?
Comment · 3 years ago
Comment · 3 years ago
> As for SQL

We should peel off SQL and get access to the underlying layers.

Comment · 3 years ago
My dream is to make everything visualizable at runtime. I think all of computing becomes very simple and much less complex if we can do this.

We are visualizing things in our head already. And any explanation of anything in computing is a diagram. But we have zero diagrams when coding.

Just dynamically instrument all code to send messages to a GUI.

Comment · 3 years ago
Comment · 3 years ago
I haven’t seen my desktop in years…
Comment · 3 years ago
Meanwhile Windows still struggles with getting files to the bin.
Comment · 3 years ago
Something cool however is you can actually build the open-source WebKit browser engine yourself and make closed-source Safari use your locally built version.
Comment · 3 years ago
Interesting read. It’s amazing more people don’t use runtime variable value annotation tools like Wallaby.js, or a debugger.

So much time spent mentally remembering what is in what variable based on the naming.

I often find myself adding “// e.g. foo, bar” to show example cases for some lines of code…like recedes for example. Wallaby.js is a godsend for this though.

Comment · 3 years ago
This is why we need better tools like projectional code editors.

There should be an editor toggle to inline functions temporarily.

No more bouncing.

Comment · 3 years ago
The real issue is plain text, and files and folders.

File names, folder names/hierarchies, function names, class names are all _arbitrary_. You could randomize them all and your code would still run.

What is not arbitrary is: the call graph, and the data flow/dependecy graph.

Every line/block of code could be wrapped in a function.

And classes...your class methods are just functions with an implicit parameter of an object of a certain type...and practically, not the entire object, just the parts it that it actually uses in the function body.

So if you just focus on what your functions do, the boundaries and groupings of your code will become self-evident.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton