HNHacker News
TopNewBestAskShowJobs

amingilani

3,894 karma · joined October 14, 2014

Just another cyborg.
submissionscomments
amingilani··on Avoiding the babbling-idiot failure in a time-triggered communication system
Like a time-out timer (TOT) on radios?

> When activated, the Time-out Timer starts counting the moment a user begins transmitting. If the transmission continues beyond a pre-set duration, the timer automatically cuts off the transmission. This mechanism compels users to be concise in their communication and relinquish the channel, allowing others the opportunity to transmit.

— https://talkpod.com/blogs/two-way-radio-wiki/what-is-time-ou...

Edit: No, it's more like a scheduled lockout. You can only talk when it's your turn. And the assumption is that the clocks on each node are synced:

> Every node has a notion of the global time and uses this notion along with the static schedule to establish when it should send messages.

amingilani··on Music Theory for Programmers
I know the trope. My first guitar teacher taught me how to play songs but didn’t know the notes on the fretboard. It’s a bit like being able to drive a car without understand what the clutch and gears actually do.

But personally, I couldn’t handle not knowing why the clutch needed to be pressed, or why a chord shapes is the why it is.

amingilani··on Music Theory for Programmers
I like to think about it as an opinionated framework. Once you have the basics, you can take an unpredictable sounding song and deconstruct it to understand why it sounds so good.

I don’t really have a problem with systems.

amingilani··on Music Theory for Programmers
> How much do you see a path from A(rticle) to S(ound in your ear).

Very clearly. The author constructed a melody from first principles in the article. You can take any song, deconstruct it using the information in there and begin to see why it sounds nice.

> This article is trivializing music down to a few not-so-important facts

This is a music theory lecture with code examples. Hardly “not-so-important”.

> mistaking some math for anything that would help `programmers` (?) understand music.

Compared to the lessons on https://www.musictheory.net this is definitely programmer/engineer friendly. It’s better than my old go-to at https://www.lightnote.co

amingilani··on English ↔ Claudish Translator
> The translation did not land cleanly. Please try again.

I get this everything, including the examples.

amingilani··on Pareto Front
A seam is a place where you can alter behavior in your program without editing in that place

“Chapter 4: The Seam Model”, Michael C. Feathers, Working Effectively with Legacy Code

amingilani··on LLMs won't break symmetric crypto
> They’re time- and battle-tested

All conjectures are until someone with the time and energy proves or disproves them.

amingilani··on Ruff v0.16.0 – Significant new updates – 413 default rules up from 59
Ruff/black support and enforce this. Just do ‘'z': 2,’

If you add an extra dangling comma at the end of the last item, ruff/black will auto-format to the line-by-line style you like.

amingilani··on Show HN: I made some transistor animations
Would you consider releasing these under a permissive license?

I run a (Canadian) ham radio training site[0] and would love to put them in the lessons. With attribution of course.

Edit: Oh gosh, your whole site is full of wonderful illustrations. My niece might finally get her license with these :)

[0]: https://clares.ca

amingilani··on Fear of humanoid robots spurs human workers to strike at Hyundai auto factory
I literally just finished playing Detroit: Become Human and now this is a real world headline.

https://en.wikipedia.org/wiki/Detroit:_Become_Human

amingilani··on Scientists reverse brain aging, with a nasal spray
...in mice.

> Therefore, this study examined the effects of late middle-aged (18-month-old) male and female C57BL6/J mice receiving two intranasal doses of hiPSC-NSC-EVs on neuroinflammaging in the hippocampus at 20.5 months of age.

— https://isevjournals.onlinelibrary.wiley.com/doi/10.1002/jev...

amingilani··on .garden TLD's change to a bad neighborhood
Further to your point, it harms the existing wonderful sites like https://radio.garden/—which has been featured on HN several times over the past few years.

> First-year TLDs under $2 is one of the best indicators of likely abuse. Some TLDs like .xyz are truly fighting abuse while others feign ignorance.

I don't understand this. The first year being discounted (or free) helped .me, and .xyz in the past. This is one year of data. Surely more time is needed?

> It is unlikely that there are valid business reasons for network environments to allow .garden domains;

What do you mean? What is this likelihood based off of?

> highly recommend defenders completely block the .garden top-level domain, and allowlist items as needed.

Holy overreaction, Batman.

amingilani··on AI is code – and can't be prompted into being smarter
You’re conflating offsite backups, a type of backup, with the class of backups. Backups can be on-site. Is it as durable? No. Is it a backup? Yes.
amingilani··on I turned a $80 RK3562 Android tablet into a Debian Linux workstation
What was the motivation for this? Why this particular tablet?
amingilani··on Frontier AI has broken the open CTF format
I don’t think CTFs are dead, they’ll just evolve. The difficulty level will need to be increased or the rules locked down. Just like sports and racing persist despite the existence of performance enhancing drugs and rocket technology.

I just did a CTF where I was in the top 10. It was the first CTF I completed and I used AI because the rules permitted it. That said, I couldn’t solve all challenges.

But yes, it was significantly easier now than I last attempted one. Even manually solving with AI assisted assembly interpretation was much easier.

amingilani··on Claude Code dies with ANTHROPIC_API_KEY in cloud environment
Maybe I wasn’t clear. I was following the docs on their SDK. See here: https://platform.claude.com/docs/en/api/sdks/typescript

This is for their API, and I was on Claude Code Web.

It wasn’t clear to me that following the SDK docs and introducing the environment variable as in the examples would magically enable API billing for Claude Code.

amingilani··on Claude Code dies with ANTHROPIC_API_KEY in cloud environment
I once followed their docs and added it to my Claud Code Web to call their API. Unbeknownst to me they started charging me for all Claude Code calls by passing them to the API. They refused to refund me, but did update their docs at some point to remove the faulty instructions I followed.
amingilani··on Tip: Web requests should not be measured in Hz [Hertz]
Eli5?
amingilani··on College instructor turns to typewriters to curb AI-written work
A typewriter tty would be a fun weekend project.
amingilani··on The quiet disappearance of the free-range childhood
I think OP is talking about Shifting Baseline Syndrome[0].

> A shifting baseline (also known as a sliding baseline) is a type of change to how a system is measured, usually against previous reference points (baselines), which themselves may represent significant changes from an even earlier state of the system that fails to be considered or remembered.

[0]: Wikipedia: https://en.wikipedia.org/wiki/Shifting_baseline.

[1]: Earth.org article that reads nicer: https://earth.org/shifting-baseline-syndrome/

amingilani··on Building a CLI for all of Cloudflare
> So we introduced a new TypeScript schema that can define the full scope of APIs, CLI commands and arguments, and context needed to generate any interface. The schema format is “just” a set of TypeScript types with conventions, linting, and guardrails to ensure consistency.

I'm confused though, why isn't that tool/framework being shown here. What is it and how does it work? It is similar to the TypeSpec tool someone else posted?

amingilani··on The next generations of Bubble Tea, Lip Gloss, and Bubbles are available now
As someone that zooms into websites including HN by default, I for one appreciate the text size :)
amingilani··on SynthID: A tool to watermark and identify content generated through AI
I just tried this idea, and it looks like it isn't that simple.

> "Generate a pure white image."

It refused no matter how I phrased it ¯\_(ツ)_/¯

> "Generate a pure black image."

It did give me one. In a new chat, I asked Gemini to detect SynthID with "@synthid". It responded with:

> The image contains too little information to make a diagnosis regarding whether it was created with Google AI. It is primarily a solid black field, and such content typically lacks the necessary data for SynthID to provide a definitive result.

Further research: Does a gradient trigger SynthID? IDK, I have to get back to work.

amingilani··on Discord cuts ties with identity verification software, Persona
I didn’t say it was state sponsored mass surveillance, nor did I say the method of obfuscation was good.

Just that it’s a pragmatic approach (no matter how flawed in practice) and concerning that it needs to be done.

amingilani··on Discord cuts ties with identity verification software, Persona
To me it feels pragmatic.

I find it more concerning that mass surveillance has come to the point where someone can’t safely express their frankly-not-that-controversial opinions without obfuscating the subject’s name.

amingilani··on Show HN: Algorithmically finding the longest line of sight on Earth
Now we just need to put two hams with 2m/70cm radios to make the longest line-of-sight QSO on the planet. Bonus points for QRP.

Definitions:

* Hams: Amateur radio operators.

* QSO: conversation or contact between two radio stations.

* QRP: Low power, typically under 5 watts.

amingilani··on Germany issued formal travel advisory for US
Direct link: https://www.auswaertiges-amt.de/de/reiseundsicherheit/usaver...
amingilani··on Show HN: MTXT – Music Text Format
What prompted this and why does it not?
amingilani··on Zenroom – No-code cryptographic virtual machine
Examples are here: https://github.com/dyne/Zenroom/tree/master/docs/examples
amingilani··on Kohler Can Access Pictures from "End-to-End Encrypted" Toilet Camera
> it is clear that Kohler is one end of the communication

That’s not end-to-end encryption. By that logic HN, and any other website over HTTPS is E2E encrypted.

Page 1 of 29Next →