Readit News logoReadit News
vaughan commented on Why do we need modules at all? (2011)   groups.google.com/g/erlan... · Posted by u/matthews2
d0mine · 5 months ago
"whether hierarchy is better than tags" sounds like whether hammer is better than a screwdriver. Use a tool appropriate for the job.

Hierarchy seems more rigid less general than tags but when it works--it works.

vaughan · 5 months 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.

vaughan commented on Ask HN: Code should be stored in a database. Who has tried this?    · Posted by u/vaughan
compressedgas · 5 months ago
Don't need to put the code in a database to do that. You can do that entirely with specially formatted comments and a projectional editor.
vaughan · 5 months ago
Best solution to date?
vaughan commented on Metric Time   metric-time.com/... · Posted by u/rickcarlino
vaughan · 2 years ago
.beat time or Swatch Internet Time is way better.

https://en.wikipedia.org/wiki/Swatch_Internet_Time

vaughan commented on Making Hard Things Easy   jvns.ca/blog/2023/10/06/n... · Posted by u/hasheddan
cryptonector · 2 years ago
To make hard things easy you have to find the right way to abstract them so you hold only some bits of the hard things in your head and all the frequently-used details too (maybe), and everything else you have to look up as needed. That's what I do, and that's roughly what TFA says.

The problem is that people don't necessarily bother to form a cognitive compression of a large topic until they really have to. That's because they already carry other large cognitive burdens with them, so they (we!) tend to resist adding new ones. If you can rely on someone else knowing some topic X well, you might just do that and not bother getting to know topic X well-enough. For those who know topic X well the best way to reduce help demand is to help others understand a minimal amount of topic X.

> So, bash is a programming language, right? But it's one of the weirdest programming languages that I work with.

Yes, `set -e` is broken. The need to quote everything (default splitting on $IFS) is broken. Globbing should be something one has to explicitly ask for -- sure, on the command-line that would be annoying, but in scripts it's a different story, and then you have to disable globbing globally, and globbing where you want to gets hard. Lots of bad defaults like that.

It's not just Bash, but also Ksh, and really, all the shells with the Bourne shell in their cultural or actual lineage.

As for SQL, yes, lots of people want the order of clauses to be redone. There's no reason it couldn't be -- I think it'd be a relatively small change to existing SQL parsers to allow clauses to come in different orders. But I don't have this particular cognitive problem, and I think it's because I know to look at the table sources first, but I'm not sure.

vaughan · 2 years ago
> As for SQL

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

vaughan commented on Making Hard Things Easy   jvns.ca/blog/2023/10/06/n... · Posted by u/hasheddan
justin_oaks · 2 years ago
The part that resonated most with me is "Show things that are normally hidden".

Tools that do this make things clearer almost immediately. Consider the developer tools in a web browser. Do you remember the "dark ages" before such things existed? It was awful because you had to guess instead of seeing what was going on.

Tools like Wireshark that show you every last byte of network packets that it has access to AND parses it to help you see the structure. This isn't just for debugging networking data; it's hugely beneficial in teaching networking concepts because nothing is hidden.

This is also one of my favorite things about open source software. I can view the source to understand what's causing a bug, to fill in knowledge gaps left by the documentation, or just learn more about programming concepts. Nothing is hidden.

vaughan · 2 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.

vaughan commented on macOS Sonoma is available today   apple.com/newsroom/2023/0... · Posted by u/mfiguiere
pchangr · 2 years ago
Do you have a link or something ? I couldn’t really find where you’d do that
vaughan commented on macOS Sonoma is available today   apple.com/newsroom/2023/0... · Posted by u/mfiguiere
spicybright · 2 years ago
FINALLY we've come full circle and can have widgets on the desktop again!

It's not like a revolutionary killer feature for me, but I just always preferred having information always in my "peripheral" instead of having to actively check a separate menu.

vaughan · 2 years ago
I haven’t seen my desktop in years…
vaughan commented on macOS Sonoma is available today   apple.com/newsroom/2023/0... · Posted by u/mfiguiere
auggierose · 2 years ago
I wish they did something so deleting files from the bin wouldn't take millenia on my iMac Pro. Yes, it's an old computer, but shouldn't that be a solved problem?
vaughan · 2 years ago
Meanwhile Windows still struggles with getting files to the bin.
vaughan commented on macOS Sonoma is available today   apple.com/newsroom/2023/0... · Posted by u/mfiguiere
chatmasta · 2 years ago
I wish Apple would separate the updates of their bundleware from their OS. Some of the major updates have meaningful changes to the underlying OS (gatekeeper, SIP, etc.), but others - like this one - are primarily changes to frills like Messages, Notes, Safari and other Apple-native apps that I don't even use.

I have no problem with Apple bundling these apps and making them work seamlessly together, and I don't even mind that they're all updated simultaneously (except for Safari, which I wish I could update independently without relying on the "Technology Preview" beta channel). But I do have a problem with upgrading my entire OS and disabling the new bloatware features just because I want to keep auto-updates enabled. I used to delay updating and then would end up way behind, which is why I enrolled in auto-update. But now it feels like I'm being held hostage to their update schedule.

And for what benefit? There are hardly any useful OS-level changes in this release, but there are a bunch of new features I'll need to disable (while hoping the next auto-update doesn't break my external monitor), all powered by freshly written code contributing to an expanded attack surface. If I had my way, then I'd take the OS updates and skip all the apps. Keep the attack surface small while still meaningfully improving the core. I don't care about the rest.

vaughan · 2 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.

u/vaughan

KarmaCake day767August 31, 2011
About
Programmer

vaughanhackernews at gmail

View Original