HNHacker News
TopNewBestAskShowJobs

brushfoot

1,972 karma · joined May 25, 2015

submissionscomments
brushfoot··on Johnny Decimal: A System to Organize Projects (2015)
Your mileage may vary, but I've certainly been able to bring my own tooling at my employers, broot included.

Regardless, the main point is that numbering directories as a mnemonic is more of an encumbrance than a help. The justification on the website, that it prevents new directories from disrupting the user's mental map, is unconvincing. There are many methods for that that don't require a team to align on a numbering system and fixed directory order - shortcuts, bookmarks, snippet managers, broot, and z, to name a few. Not all methods are available in all contexts, but at least some are.

Prepending numbers, on the other hand, forces users to, at best, waste time learning a system they might not need to use again or, at worst, bikeshed about what number to give a new directory or how to renumber if a change is needed. Users can't even skim directory names because the order is fixed and they've been robbed of the ability to sort alphabetically. The larger the team, the worse all this becomes.

brushfoot··on Johnny Decimal: A System to Organize Projects (2015)
A past coworker implemented a system like this. It was awful. He was the gatekeeper because the numbers had to be "just so" to meet his approval, and he was the most senior person on the team.

Limiting yourself to a handful of categories at each level makes sense, but numbering everything is a bad idea. It's busywork, and other people have to learn your idiosyncratic nomenclature. Just give the directories good names. Search really isn't as bad as the article suggests, especially with something like broot [1].

[1]: https://github.com/Canop/broot

brushfoot··on Show HN: Going into freshman year, figured I should build an interpreter
I'd suggest the opposite. I originally double majored in the arts before switching to tech. For me, the classes in all cases were less useful than self-study with projects, more expensive, and oftentimes outdated. The degree opened the door to more jobs, but the classes themselves weren't worth the expense in my opinion. Your mileage may vary by university, of course.
brushfoot··on Do you avoid the news? You’re in growing company
I not only avoid it, I've added news sites that I used to read to my hosts list, redirecting to localhost so I can't compulsively check them in the middle of the day anymore.

Personally, I think Aaron Swartz was right [1]: I feel better off, emotionally and mentally, reading a monthly magazine or an annual book than trying to absorb every tidbit of clickbait dished out by the view-driven media. Monthly content is generally more nuanced and often more actionable, and whatever social media furor accompanied each small part of it, as it developed, is omitted for being the tempest in a teapot that it was.

[1]: http://www.aaronsw.com/weblog/hatethenews

brushfoot··on How is ChatGPT's behavior changing over time?
> asking questions where it is easy to judge the factual accuracy of the responses seems a pretty reasonable test to be running.

It isn't reasonable if that isn't what the system was designed to do.

It would be a poor test of my general practitioner's competence to ask him calculus questions and conclude he doesn't know what he's talking about because he can't answer them.

brushfoot··on Twitter now requires an account to view tweets
I'm cautiously optimistic about Lemmy. Anyone can spin up an instance, so it's decentralized, but instances are connected, so there's community.

It may still be rough around the edges, but to me it feels like the spirit of the old phpBB forums combined with almost 20 years of lessons learned from Reddit.

brushfoot··on Reddit makes it impossible to delete PII, refuses to do it itself violating GDPR [video]
This looks like part misinformation.

It says Reddit is restoring deleted content, but the footage suggests the opposite.

At one point, the user deletes all their content, and then, the next day, they refresh their profile, and content is there again. But it isn't the content we saw them delete (granted, they cut some of the deletions from the video). The content we saw them delete was posted to a variety of subs. The supposedly restored content, in contrast, is all from r/javascript.

As some video comments point out, r/javascript was apparently private while the user were deleting their content. After the deletion, but before the user refreshed their profile, the sub went public again.

So, the fact that the Reddit UI doesn't show users the content they posted to now-private subs seems to be the real culprit here. That said, it's still a problem. It would be better if users could control their own content regardless of subs' current public/private statuses.

brushfoot··on JPMorgan Chase and Co tracks employees to dystopian extents
> so you are saying JPM does keep a log of video, audio, and monitor screens. Today, they are just too incompetent to process all of the data.

GP said the opposite of that:

> this post is dramatically blown out of proportion

> the HD video feed that measures changes in stress etc are completely made up.

brushfoot··on JPMorgan Chase and Co tracks employees to dystopian extents
> I would assume what the commenter mentioned is the "ideal" and certainly not how the system functions on a day to day basis.

It's also possible they're just making it up.

There are lots of incentives to do so: revenge, boredom, karma farming, economic destabilization, stock shorting, competition, talent poaching....

It reads to me like embellishment from someone with a bone to pick. They noticed basic tracking and invented dystopian details that would be popular with the outrage sub they posted to.

They actually claim that Chase scans employees' homes for "TVs, game consoles, and several other things," which are "all flagged if detected," as if Chase will only employ the Amish.

It's just a little too perfectly tailored to Reddit.

brushfoot··on JPMorgan Chase and Co tracks employees to dystopian extents
Stories that describe tracking basic activity, sure. Nothing about Chase scanning your home for "TVs, game consoles, and several other things."

The poster expects us to believe that Chase doesn't want their employees having "TVs"? What, are they going to hire an all-Amish workforce?

The post is a little too "Reddit" to take seriously.

brushfoot··on Htmx Is the Future
I use tech like HTMX because, as a team of one, I have no other choice.

I tried using Angular in 2019, and it nearly sank me. The dependency graph was so convoluted that updates were basically impossible. Having a separate API meant that I had to write everything twice. My productivity plummeted.

After that experience, I realized that what works for a front-end team may not work for me, and I went back to MPAs with JavaScript sprinkled in.

This year, I've looked at Node again now that frameworks like Next offer a middle ground with server-side rendering, but I'm still put off by the dependency graphs and tooling, which seems to be in a constant state of flux. It seems to offer great benefits for front-end teams that have the time to deal with it, but that's not me.

All this to say pick the right tool for the job. For me, and for teams going fuller stack as shops tighten their belts, that's tech like HTMX, sprinkled JavaScript, and sometimes lightweight frameworks like Alpine.

brushfoot··on KitKat ribs AI in hilarious new ad campaign
Optimistically, that will mean a higher number of small teams working on more products.

Do we really need more products, though?

Well, we don't need more throwaway trinkets. On the other hand, there are diseases to be cured, environmental problems to be solved, asteroids to mine, universal speech translators to implement....If those are "products," then more teams would be great.

The hard thing as I see it is that the barriers to progress aren't mainly technical right now. They're social, political, tribal, and in some sense spiritual.

brushfoot··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
Add this to the list of reasons why I refuse to live or work in San Francisco. I screenshotted your comment and shared it with my family.

I know this is anecdata, I know the article we're discussing lends itself to these kinds of stories, and I know there're a lot of positives in SF, too; but there comes a point at which the negatives outweigh the positives by severity, regardless of relative quantity. SF is past that point for me.

brushfoot··on SudoLang: A Powerful Pseudocode Programming Language for LLMs
> Language without formalization is unreliable; in any critical domain, clarity is not optional. Law, maths, code.

That's the purpose of plugins/LangChain. For deterministic tasks, don't use an LLM.

Whatever you use for process orchestration should be able to make use of the LLM where it's a good fit and something else where it's not.

> you need the abilities to a) efficiently instruct them without wasting tokens

Plain old brevity. There's no need for semicolons and parentheses and the level of punctiliousness that a formal language imposes.

> b) interpret their outputs according to the structure required downstream.

You can include downstream structure in your prompt. Still no need to design a language for it. LLMs understand imperatives like "structure your output like this."

brushfoot··on SudoLang: A Powerful Pseudocode Programming Language for LLMs
This feels like inventing horseshoes for cars. The author asks ChatGPT for its advantages over natural language interactions, and the ever agreeable ChatGPT comes up with this:

> Firstly, SudoLang provides a more structured and consistent syntax than free-form natural language interactions. This can make it easier to understand and modify code

> Secondly, SudoLang is designed specifically for interacting with LLMs, which means it can take advantage of their unique capabilities, such as generating code, solving problems, and answering complex questions

> Finally, SudoLang includes features like modifiers and template strings that allow for more precise control over the responses and outputs generated by the LLM

But none of these is an actual advantage.

1. Formal languages' restrictiveness is a disadvantage with an LLM. It artificially limits the LLM to acting like a traditional GPPL. With an LLM, when you need to express something that would break the mold of a formal language, you can simply express it: There's no need to introduce a new version of the language spec or search Stack Overflow.

2. "Designed specifically for" isn't an advantage if the design is poor. LLMs were already designed specifically for interacting with natural language, which already lets the user "take advantage of [LLMs'] unique capabilities," as ChatGPT puts it.

3. Modifiers and template strings aren't useful because, again, LLMs don't have the constraints of formal languages. In fact, as ChatGPT points out in the article, "an LLM (large language model) does not need to be given the specification of SudoLang in order to interpret SudoLang code." In other words, my naive request to ChatGPT to "mail merge" a set of names into some text is as valid as SudoLang's template strings, without having to learn their syntax.

It's an interesting experiment, but I don't think it makes sense beyond that.

brushfoot··on I lost everything that made me love my job through Midjourney
For sure. I recommend anyone in business for themselves productize and build moats.

I still work about the same hours, though. AI has just raised the level of abstraction. Less time is spent on looking up specific syntax and more on reviewing, iterating, testing, architecting.

brushfoot··on I lost everything that made me love my job through Midjourney
I don't see it. I consult, and AI has just let me take on more clients. Using ChatGPT lets me finish their projects faster.

What's ending is the era of CRUD work.

brushfoot··on I lost everything that made me love my job through Midjourney
Trivial app demos, sure. Non-trivial, no.

Influencers have been cranking out the former to sell their course/personal brand/consulting. They stand to gain from making AI look as magical and easy as possible.

A decision-maker watches an influencer's video and goes, "Wow! AI can do it all! I need to hire this influencer as a consultant/like their content/buy their course!" The reality isn't quite as flashy.

Incorporating LLMs into my workflow has been a great productivity boost, but by no means do they spell the end of software engineering.

brushfoot··on Post-GPT Computing
> I think over time, we’ll see that what many of us really liked about building software deep down wasn’t coding, but intricately imagining the things computers could do for us and then getting them to do it.

Spot on. It's a good time for existential reflection: Who would you have been hundreds or thousands of years ago? Who will you be now that technology is radically changing again?

There will always be interesting, creative challenges like programming, whatever form they take.

brushfoot··on Accenture would cut 19,000 jobs
Friendly reminder to assume good faith [1]. We can't know whether GP knew exactly what OP's title meant or not. Personally, I thought it meant that Accenture would cut the jobs if they could, but something was stopping them.

I haven't checked OP's profile, and we don't need to to talk about this. I want OP to feel welcome here, and that isn't incompatible with talking about clarity and keeping original article titles.

[1]: https://news.ycombinator.com/newsguidelines.html

brushfoot··on Ask HN: What is your shortcut for 'Git commit'?
My PowerShell profile has a function, `gc`, that stages, commits, and pushes all changes. (It runs `git add -A`, `git commit -m` with the specified message, and then `git push`.)

Usage:

`gc 'Change navbar size'`

brushfoot··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
The boilerplate is pretty minimal nowadays. In 2020, C# introduced top-level statements, which removed a lot of the ceremony.

You used to have a class, and there would typically be a separate Startup.cs file. Today, this is a complete .cs file for creating an API:

    var builder = WebApplication.CreateBuilder(args);
    var app = builder.Build();

    app.MapGet("/", () => "Hello World!");

    app.Run();
brushfoot··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
.NET has been doing a lot of things right. My startup's codebase is nearly all .NET 7: landing page, web app, Windows service, API. The main non-.NET code is vanilla JS in the web app.

I've been keeping a close eye on Next.js, which is very well done, but I love how versatile .NET is. With one language, I can write all of the above, and my dependencies are minimal thanks to .NET's rich standard library - a refreshing change from the NodeJS apps I've written and maintained.

With native AOT, .NET can even be compiled to native binaries. Recently, I wrote a Windows password filter DLL in C#, which would have been unthinkable some years ago.

It's a really enjoyable stack to work with. Kudos to Microsoft for what they've been doing with it.

brushfoot··on Chat GPT4: Is the world prepared for the coming AI storm?
> You will work less, produce more (with AI)

The "work less" notion seems based on the idea that the only kind of work we can do is to keep the 20th century going. Once that infrastructure is automated, there's nothing left to do. That's just not true.

AI can help us explore space, mine asteroids, discover new worlds. It can eradicate diseases. It can create portable tests for transmissible diseases. It can help us rebuild cities into green spaces with fruit trees, gardens, flowers.

We have this incredible new technology that can let us reshape the world into an incredible future. Why would we settle for anything less than Star Trek?

The possibilities aren't ending with AI; they're just beginning.

brushfoot··on GPT-4 is phenomenal at Code
Companies always have ideas on the backlog. I myself have a huge backlog of dream projects that I don't have time to implement, and I'm just one person.

Tech like this helps us make a bigger impact faster.

brushfoot··on GPT-4 is phenomenal at Code
Just the opposite, this is letting me pick up more work than ever. The nature of that continues to shift as rote memorization becomes less important, but that was already the case thanks to earlier forms of code completion.

It may be that breadth is becoming more valuable than depth. The engineering design process is more important than ever, along with soft skills and an eye for what kind of work matters.

brushfoot··on The EU's new Cyber Resilience Act is about to tell us how to code
It violates HN guidelines [0]:

> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

> Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

> When disagreeing, please reply to the argument instead of calling names.

It's okay to disagree with someone, but saying their comments are hypocritical and that they're throwing a fit is not okay.

0: https://news.ycombinator.com/newsguidelines.html

brushfoot··on The EU's new Cyber Resilience Act is about to tell us how to code
> giving more power to big corporations and adding yet another bureaucratic hoop to jump through for small companies

Exactly. Customers need to be safe, but there also need to be paths for the mom-and-pop shops, the equivalents of your local farmer's market or grocery store.

Indiscriminate regulation can crush smaller players. Think of the indive dev accepting donations or the bootstrapped startup founder. Not everyone can get VC funding and hire a team of lawyers to keep up with it.

We need to protect small businesses AND consumers. Revenue thresholds are a good start.

brushfoot··on The EU's new Cyber Resilience Act is about to tell us how to code
Yes, as a bootstrapped lifestyle startup founder, I have no idea how I would comply with this if I were serving Europe. I can see this limiting European startup founders to the independently wealthy or those who can get VC funding.

Meanwhile, large corporations who can easily afford the lawyers will further entrench their monopolies.

brushfoot··on The new Bing will happily give you citations for a pile of nonsense
> For all the pushback crypto got here, it's fascinating to see the support that this grift has gotten.

Two very different things. I could never really see crypto taking off without massive political changes. ChatGPT, on the other hand, is already my daily assistant. The utility is here and now.

It's rarely perfect, but it gets me 90% of the way there, then I tweak the output.

How good it is depends on what you're using it for, as with anything - I don't think it's really a good fit for something like a search engine (yet) as it's terrible with facts.

But scaffolding code, summarizing text, expanding outlines - it's very good at those kinds of tasks, often astoundingly good.

← PreviousPage 6 of 11Next →