Better HN
topnewbestaskshowjobs
Log inSign up

hannofcart

1,771 karma · joined Mar 12, 2017 (9y ago) · 422 submissions

Submissions

comment 16h ago · link · parent

Obligatory xkcd reference:

https://xkcd.com/538/

comment 1w ago · link · parent

This is a step too far I feel. I feel a filter/user setting would have been better. I actually listen to AI music almost exclusively now. In fact, I have often times wanted the opposite in YouTube music: a way to filter out HGM and only show AI music.

As with most things I think some AI heavy channels do very good curation. I quite enjoy AI generated jazz and neo soul instrumentals.

I especially enjoy playing over/along with these since they typically are 2-3 hr compilations of short tracks with slightly different melodies and chord progressions between songs. These sometimes even stay in pretty much the same key. Which makes it convenient for a beginner like me to play along with them.

comment 2w ago · link · parent

Most of the reasons previously not to use Rust came down to the i) non-trivial learning curve, especially the ownership model, and ii) the (allegedly) overbearingly strict compiler that forces you to think through potential errors and solve them.

With agentic programming, (i) is a non-issue since LLMs have a very good grasp of the language, and it's no skin of your back, the agent is sweating it out with the compiler, not you, and (ii) is likely something you actually want.

I suspect it comes down to which other ecosystem you are coming from:

Python -> Rust: massive performance gains, type safety, much better concurrency

C++ -> Rust: much much better memory safety, much nicer compiler errors and warnings

Java -> Rust: better memory utilisation, non-null-able types (though I think recent Java versions facilitate this), better performance

But there are other language ecosystems where the gains become more subjective.

For eg. Golang -> Rust, I'd argue better "correctness", especially when concurrency is involved, but it's less pronounced than some of the other paths I mentioned above.

comment 2w ago · link · parent

Am not sure if this is indeed what you are talking about but if it's the realisation that any song can be played in any key, and that you can mechanically 'transpose' (I think of it as shifting) any song in whichever key you want and more fundamentally, a tune is made of intervals, that was a big aha moment for me too.

The next was discovering the tonal center or 'root' of a song. A lot of gears clicked into place at that point.

comment 2w ago · link · parent

You could say that about recent slew of CVEs as well.

And such findings are usually praiseworthy and valuable.

comment 3w ago · link · parent

I see this over and over again. Those who want to work from office don't just want that for themselves, they want to force it on the rest of us.

And the explanations are always: "I have ADHD so I need someone to force discipline on me" or "My coworkers are the only ones I have to socialise with".

I really really want to treat these people with compassion and empathy but let's face it: these people force long commutes and a workplace that's full of distractions on the rest of us who don't have trouble being self-disciplined at home with a quiet place to do focused work.

7.

Straitjacket: A TypeScript template with Guardrails for your agents(github.com ↗)

1 points · by hannofcart · 3w ago · discuss

comment 1mo ago · link · parent

> stuff that’s a giant boondoggle to replicate because there are so many edge cases and considerations that it takes years of iterations to arrive at something stable.

The catch here though is that you don't need to replicate all of the giant boondoggle with your vibe coded solution.

For eg. Pagerduty does not handle payments in our country "properly". So we are replacing it. Pagerduty likely does a gazillion things but we only care about a tiny subset of that. And that we can build with an agent now.

And there am talking about Pagerduty that's already a rather narrowly focused SaaS product. If you consider the SAPs and the various ERPs and billing systems etc. out there they are much much more vulnerable since most firms just use a tiny tiny fraction of these giant behemoth software.

comment 1mo ago · link · parent

From what I can tell from cursory reading of data is that if you are in a profession where your output/contribution is purely digital or _could_ be digital in nature, then AI seems to have more than 50% coverage.

Turns out there are lots of jobs where the output is not digital in nature. And in those cases there's poor coverage.

comment 1mo ago · link · parent

Is the tool performance you mentioned for v1? Or is v2 of the tool also performing badly?

comment 1mo ago · link · parent

This is very nice. One suggestion based on a guitar related hobby webapp I built myself: fretboard renders in potrait probably makes for nicer ux.

My tool does not focus on strumming at all as this one does though.

Nice work. Am having fun with it.

comment 1mo ago · link · parent

I think you are conflating being 'tougher' than them with being more cruel than them.

Once you have turned crueler than them, you have just made the case for your enemies. And the cycle of violence will keep recurring.

comment 1mo ago · link · parent

I understand that a typical HN user is very different from the average person.

However, surely by now even the lay people who have seen the testimonies before Congress, the lawsuits and the excesses by Meta execs over and over again ought to be atleast somewhat wary of handing them more personal data?

I think the average person has very similar self preservation instincts as the rest of us. So it can't be that. Which leaves the fact that there are lot of people who don't know about the above mentioned scandals galore that Meta has been involved in?

comment 1mo ago · link · parent

This is one of the books that left me with the most profound sense of unease. And it deserves very high prait for being able to do that.

While people might remember it for other more striking ideas, I was impressed with how it expounds the theory behind the claims that "intelligence implies violence". That entire narrative was quite chilling.

That, and the way the author explains how to establish a means of communication using just... pain.

It's a brilliant book.

comment 2mo ago · link · parent

I have always used HN for consuming tech news. I was trying to say that these days, I really love following the developments in AI and among the most erudite audience for that can be found here, which is great.

You extrapolated that to assuming that AI news was my only use case.

Am saying that a lot of us like HN the way it is, and the way it has evolved organically into a firehose of AI news.

comment 2mo ago · link · parent

Your suggestion would break my use case: i.e I check out HN every day to see what the latest models that have been released are, and opinions from erudite people who have taken them for a spin.

Keeping abreast of fast moving AI developments with informed opinions/comments for various new models/agents etc. is primarily what I'm here for.

comment 2mo ago · link · parent

What does 'Astra' here mean? Surely they must be referring to the Latin word.

Because in another dead language of antiquity, Sanskrit, it means "weapon". Which would be a bit too on-the-nose.

comment 3mo ago · link · parent

I live in what's probably the outsourcing capital of the world (though I thankfully don't work in those body shops).

I don't think there's going to be a rush to outsource. In fact, I suspect that it's quite the opposite scenario going to play out.

Primarily because now that the cost to produce the boring/mundane stuff that is the stuff of outsourcing (internal tooling, dashboards, ERP, integrations, QA etc.), it will likely be much more cost effective to hire 3 devs in the US and give them hefty token budgets and have much easier coordination and communication loops than outsourcing to a Bangalore body shop that will try and bill you 15 engineers for the same work.

In fact, word on the street here is that there's a significant correction in the Bangalore realty market for the first time in history thanks to the IT salaries drying up. [1]

I suspect LLMs are going to have a global worldwide deflationary effect what with white collar salaries at risk. The only counter acting force might be the distortions caused by recent wars and tariff shenanigans of the US government.

But even having said all of that I am hopeful for the eventual benefits human beings can reap from the advent of LLMS. The only thing that keeps me up at night is my lack of faith in the aging gerontocracy (worldwode phenomenon) that all our futures are in the hands of that seems to be ill equipped to handle this period of what is most likely massive upheaval and uncertainty.

[1] https://timesofindia.indiatimes.com/real-estate/news/housing...

comment 3mo ago · link · parent

Firstly, I don't think it will be just 2-3 companies that fail. Due the circular investing between companies in the AI ecosystem, the fallout is going to be much bigger.

Secondly, even with that being true, I think open models are a great net benefit for all mankind in the long run.

I think both of those things are true at the same time.

comment 3mo ago · link · parent

Another way of rephrasing that though is that the public (including large pension funds, retirees, etc.) just dodged a bullet and aren't left holding the bag.

Nevertheless, I doubt anyone's going to emerge unscathed when the valuations start falling though. Vast sections of the American stock market will be wiped out yet and with it the global economy.

comment 3mo ago · link · parent

If what you're saying is true we are moving into an era where rockstar product managers are going to be more in demand than programmers since they can do all of what you mentioned above.

And typically (though not always) product managers have better people skills than programmers and consequently they might be more effective at the "gathering requirements" and "working together" bits you mentioned above.

Even much of the "validating releases" and "testing" parts should also be things that a decent PM should be able to wrangle now by themselves with some LLM agents to assist them. Afterall, why bother about code quality of a testing harness. So long as the PM can keep a coherent test case list and have end to end tests that cover them, programmers can leave that to them as well.

comment 4mo ago · link · parent

> The whole point of discovering knowledge is to enjoy the process and share that with the world to create hope an optimisim in it, not to product like a factory.

This is the crux of everything you've written and I strongly disagree. The purpose of knowledge is the sheer power it brings, and if there's factory scale churning out of it, I'll gladly take it.

As a closer analogy, consider this probability (I'll be stealing from the game Stellaris here): let's say a few hundred years later, when we are spacefaring, we discover a vast cache/library of knowledge of an alien civilization, we won't just pass up on exploiting it because we need to "enjoy the process of acquiring it on our own" or "derive the satisfaction of sharing the discovery with others". No, I and I daresay most others will take as much as we can without restraint in a quest to make all our lives better/more enjoyable.

And if that's ok to do, using machine intelligence to mine/grab any new knowledge or new math as Tao is suggesting here should also be acceptable and welcomed.

comment 4mo ago · link · parent

> is to have effective and empathetic human teachers

In the vast majority of the developing world, there are hardly any of those!

Here's a glimpse of what public education in India is like:

https://ohrh.law.ox.ac.uk/the-sorry-state-of-education-in-in...

comment 4mo ago · link · parent

This has fabulous potential if implemented right.

To all the detractors, I would like to point out that your opinion of kids needing a good human teacher is overfit to your experience of having had some of those growing up.

In third world countries like mine, we grow up with absolutely unqualified teachers who were unable to muster anything but a learnt-by-rote understanding of key concepts.

In hindsight these were just desperate adults trying to eek a living for themselves and their family in an impoverished country and resorting to any means by which to do it: gaming the school system or calling in favours to join school faculty. I bear them no ill will. But we as kids were much worse off for it.

I can assure you that no matter what concerns you may have about hallucinations in LLMs, I can bet everything I have that a reasonably modern model (and I'm thinking in the range of gemini-flash, not Fable) in a well designed harness geared towards tutoring would handily and repeatedly outperform every single teacher I had all throughout my schooling.

Don't let a quest for the perfect ruin what is likely already way better than status quo.

comment 4mo ago · link · parent

Some of the issues mentioned above like dead code removal, code duplication, unreachable code are already solved using deterministic linters for quite a while now for most language ecosystems.

You can get the LLM to run a script which checks for all of these and also enforce them by running the same script as a pre-commit hook. Setting this up religiously in every code base I work on has been what's given me the most mileage with agentic coding.

I wrote down a more detailed post of the various linters I use here:

https://www.balajeerc.info/Use-Deterministic-Guardrails-for-...

comment 4mo ago · link · parent

You're right. This is a different technique. This is my simplification of the TM technique along with "japa" (repetition of a phrase) as is typically taught in the Brahmin scripture school mileu.

Since the OP was about achieving flow state and focus, I thought this was relevant.

comment 4mo ago · link · parent

As someone brought up in a Hindu household (with Brahmin orthodoxy at that and all the casteism that came with it) and having learnt to shun all of that culture, and the religious indoctrination, here's the essence of mindfulness meditation that I was taught that I still practice and find useful.

1. Sit somewhere comfortable. Sitting "cross legged" or with your "back straight" as the guide linked to above advocates is not necessary. A comfortable chair/couch is fine.

2. The room should preferably be quiet. Though if you have the privilege of access to an outdoor courtyard that's quiet other than birdsong and chirp of insects, you'll probably enjoy it more. But a quiet room is good enough.

3. Phase 1: Set a timer on your watch/phone for 5 mins. Close your eyes. And let your mind wander. Doesn't matter what your mind drifts towards.

4. Phase 2: Restart the 5 min timer. Now, try quieten your mind of thoughts and focus instead on just your breathing. Be gentle with yourself. Your mind will wander again and that's fine. Just gently nudge it back to your breathing.

That's pretty much it. Slowly, over months try and increase Phase 2 from 5 to 10 mins.

When I described this to my partner, I used the analogy of treating your mind like a curious eager pup. In the first phase, cutting of external stimulus of sight by closing your eyes is like having the pup with you in a closed room.

In phase 2, you gently hold the puppy near you and get it to quiet down and stay still.

She mentioned that this analogy helped her a lot.

Honestly, this is pretty much the gist of it. I suspect that you will likely get most of the benefits of advanced meditative techniques with just the 2 simple steps from above. YMMV.

Be patient though. Getting to a fully calm state of mind takes months of practice.

comment 5mo ago · link · parent

Hi HN, I built (yet another) webapp (PWA) for looking up guitar scales and a bunch of other tools.

https://guitar-tools.eejalab.xyz/

There are plenty of other tools already that do this but hopefully this one adds some quality of life niceties such as dark mode and a mobile responsive design that seems nicer to use than the others out there.

Hope the colours look ok. I'm a colour blind person (deuteranomaly) and I've optimised it for what looks good to me. Am open to adding a mode in line with what regular vision people might prefer.

No frameworks used, vanilla JS. No sign ups. Data/state persistence is purely local storage.

Absolutely no commercial interest here. Built this purely for the love of it. Will forever be free.

comment 6mo ago · link · parent

Yup, it started out with me trying to figure out how the 'CAGED' shapes 'fit' with the pentatonic boxes. And it then kind of evolved from there with me adding more tools to help me learn the guitar.

Thanks for the feedback. Let me know how it goes. Happy to incorporate more changes.

comment 6mo ago · link · parent

Hi HN, I built (yet another) webapp (PWA) for looking up guitar scales and a bunch of other tools.

There are plenty of other tools already that do this but hopefully this one adds some quality of life niceties such as dark mode and a mobile responsive design that seems nicer to use than the others out there.

Hope the colours look ok. I'm a colour blind person (deuteranomaly) and I've optimised it for what looks good to me. Am open to adding a mode in line with what regular vision people might prefer.

No frameworks used, vanilla JS. No sign ups. Data/state persistence is purely local storage.

Absolutely no commercial interest here. Built this purely for the love of it. Will forever be free.

12345
15