Better HN
topnewbestaskshowjobs
Log inSign up

mik3y

2,264 karma · joined Feb 8, 2011 (15y ago) · 236 submissions

just a guy who loves building stuff!

write a little at hoho.com

elsewhere: @mik3y

Submissions

comment 1w ago · link · parent

I never thought "the insurance and underwriting industry" could be exciting, but this was a fascinating read.

Here on our computers we've been watching AIS maps of ships transiting the strait or not in response to global events. And then here in this article, it's the buyer/seller/broker side of it all that has been reacting and adapting to the same events, and ultimately determining who moves.

comment 2w ago · link · parent

The evil site is acting as a reverse HTTP proxy: When you do a `GET evilsite/foo`, to compose its response the server first does a `GET targetsite/foo`, mutates the response however it likes, and passes it along to you.

So you don't need to worry about CORS from the perspective of the web app, nor need a real browser, because the victim is only ever interacting with the evilsite endpoints.

Certainly there are ways the target site could try to thwart this (i.e. detect unusual request patterns from wherever the proxy server is fetching from; client-side JS to detect the site being hosted on a foreign domain; etc). But at that point it's an arms race.

comment 2w ago · link · parent

Sort of a digression, but it's the first time I've seen something like this:

    > We don't take pull requests. Have your agent open
    > an issue describing the bug or idea, and our agents
    > usually turn it around fast.
Pretty interesting approach, compared to receiving a zillion potentially sloppy PRs. Open source in the age of LLMs.. ("agent source"?)

4.

Rune: A native GPU-rendered Rust UI framework for macOS, Windows, Linux and web(github.com ↗)

179 points · by mik3y · 2w ago · 132 comments

5.

Phalanx CIWS Defense Simulator(ciws.obliscence.com ↗)

4 points · by mik3y · 1mo ago · discuss

comment 1mo ago · link · parent

Yes! In fact..

The first version of Google TV, an internal demo, was based on MythTV. We had MythTV running against some HDHomeRun tuners, then a transparent webview (a fork of Petit Four-era Android builds since it had great d-pad nav support) running on top of it.

"Apps" were pure JavaScript gadgets, inspired by iGoogle, with custom DOM methods for anything TV-specific: channel changes, tuning info, and so on. With the MythTV demo, we managed to make some pretty fun hybrid apps that did things like pull up related stories about the TV show you were watching (maybe sounds lame now but was kinda cool seeing it for the first time: an iframe over my TV show, holy shit what can't I do with this). Adware was never discussed; we wanted to be a free and hackable OS for the living room.

After heading in this "widgets" direction for about a year, Android had been released and we strongly believed in a strategy based on it, so made the pivot. It was pretty tough, and educational, trying to build consumer products at Google in this era and without any singular unifying vision across the company. I longed for a top-down dictator like Steve Jobs who could cut the crap.. (even if we were judged to be the crap!)

I'm guessing the ad-infested OS from OP has some lineage back to the original Google TV, but of course I'm sure it's barely recognizable now.

comment 1mo ago · link · parent

I strongly agree with this take. And in particular, I've been wondering about this:

    > Individuals work with agents to produce changes independently, 
    > each operating a small software factory.
    >
    > [...] together they start to resemble Frankenstein’s monster
    > rather than a carefully shaped sculpture.
Do solo developers consequently have a bit of an advantage today when it comes to producing tasteful, opinionated software?

8.

Horrible edge cases to consider when dealing with music (2022)(dustri.org ↗)

5 points · by mik3y · 4mo ago · discuss

comment 5mo ago · link · parent

I had a very similar single experience with Om: I was introduced completely randomly while he was at True Ventures; he couldn't have been nicer, more curious, or more genuine despite me almost certainly reading like a total waste of time.

It's both heartwarming, and bitterly sad, to see so many other posters confirm he was one of the good ones.

comment 5mo ago · link · parent

Layoff announcements are this kinda tricky class of corporate comms where you need to speak to at least 3 different constituents, with 3 different messages, which are often in conflict.

It's something like:

(A) To the public (e.g. prospects, customers, investors): "This is a good thing and we're going to be an even better bet!"

(B) To the remaining team: "This is tough and I feel your pain and will do better."

(C) To the laid off: "It's not you, it's me, thank you and good luck."

It's hard if not impossible to handle all three of these authentically, concisely, and in the same message. Which is why you can almost immediately find something not to like..

comment 5mo ago · link · parent

Sure: I think you're essentially missing a whole set of concerns - ones that are not purely technical - behind why this method is popular; and so your arguments wouldn't convince someone actually responsible for one of these scripts to change or cease the practice.

Nobody would argue that it's categorically safe/good/smart to blindly pipe a script into your shell; and for the record, I agree. I would also readily agree that habituating users to doing this probably creates new, more general risks especially among how less-technical users interact with their CLI.

However, the realities of the "real world" make it popular for a reason, in light of those negatives; tons of scaled projects continue to offer a 1-liner. So we have to ask, why? They'd probably say that's because it (a) improves project adoption, and (b) reduces "install broken" tickets.

You have to address the non-technical merits and goals to get behavior to change here, and sadly, I don't think anyone has done that.

But who cares about me? I'm not currently maintaining one of these (though I did once). My suggestion to bring your argument to an active project was genuine: try it! I'd be delighted to see you bring about the change you want.

[PS: The commenter I replied to originally used the term "bad faith", which they've since edited]

comment 5mo ago · link · parent

Bad faith, or perhaps just ignorance. It reminds me of purist junior engineers - and I have been one - refusing to understand or tradeoff in the world beyond their own.

Rather than argue with those of us who are pointing out messy realities, this commenter might be better served filing a bug against any number of the projects that offer installation this way, asking them to remove it, and see if it lands any better.

Technical purity/superiority isn’t the only factor, or even the most important one, driving projects to offer quick installers like this.

comment 5mo ago · link · parent

The ideas aren't mutually exclusive, and I've never seen an open source project support "curl | sh" without also supporting those methods.

Indeed, plenty of these scripts often act as a "what OS and packager do we have" mux. Just look at the source of this one, for example.

When you support an open source project at scale and/or with less savvy users, you come to see the benefit of "here, just f'ing slam this into your shell and we'll figure it out" installers. I know I have.

comment 5mo ago · link · parent

I am genuinely curious what it tells you, as "curl https//.. | sh" has long been an enormously popular approach to distribution in the open source world. Homebrew, to name just one example, advertises a similar method.

(pi.sh also documents other install methods, like `npm`, on their homepage)

If trust and security is the issue, unfortunately "better" ideas like hashpipe [1] never achieved critical mass

    [1] https://news.ycombinator.com/item?id=9318286

comment 5mo ago · link · parent

I really wanted to dislike the anonymous operator for the careless project (and the hilarious pomposity of the IRC subagent it spawned).

Then I imagined the real-but-unknowable chance it was all set up by some kid just getting into computers, just seeing what’s possible, getting excited by a much bigger world at reach — and remembered my own expensive mistakes with long-distance BBSes & the like.

I sorta hope for that, anyway. Curiosity is a beautiful thing.

comment 5mo ago · link · parent

I've been enjoying Moat [1]. Proxies credentials, networking, etc; uses MacOS containers if available; and setup worked without much fuss. I haven't tried others, though.

[1] https://majorcontext.com/moat/

comment 5mo ago · link · parent

    > How could it be better?
On a purely language basis, I'd start with the things the BrighterScript [1] folks have done to clean up the warts and inconveniences of the language.

Personally I'd rather it not exist. Roku would be more pleasant to develop on had they chosen a more popular, existing language as the basis (e.g. Python). Then the task of developing for the platform ~mostly reduces from "learn a new language and a new framework" to just the latter.

I suppose it hasn't inhibited their success, of course.

    [1] https://github.com/rokucommunity/brighterscript

comment 6mo ago · link · parent

Because the repo includes the tool authored for, and discussed in, the "blog"?

19.

Uv-outdated: Show outdated packages in your uv projects(github.com ↗)

3 points · by mik3y · 11mo ago · discuss

comment 1y ago · link · parent

Could a supply chain attacker simulate an advisory-remediating release somehow, i.e., abuse this feature to bypass cooldowns?

comment 1y ago · link · parent

Yes, seeing periodic 5xx errors (though eventually succeeds).

Interestingly `bun upgrade` catches "GitHubIsDown" as a specific case:

    $ bun upgrade
    Bun v1.2.20 is out! You're on v1.2.18
    Downloading [38003/21788202] Bun upgrade failed with error: GitHubIsDown
    
    Please upgrade manually:
      curl -fsSL https://bun.sh/install | bash
(Appears to have been triggered by a 503 for https://github.com/oven-sh/bun/releases/download/bun-v1.2.20...)

comment 1y ago · link · parent

Right, but, they never owned it, and would never attempt to assert that. So in hindsight (and similar to GP) compliance was a worse and more frustrating option than simply never mentioning things.

comment 1y ago · link · parent

Ugh, you gave me bad flashbacks of the same committee.

I tried to re-license a previously-released project (like from GPL to MIT or similar) and they wouldn't budge. I had written all the code.

In the end, I decided that them suing (or firing) me to assert their ownership of $VALUELESS_PROJECT, so they could then license it back, was ridiculously unlikely, said fuck it, and did it. And I was right.

comment 1y ago · link · parent

A very well-written and persuasive critique, thank you for it.

(And god I hope you’re not a state-of-the-art summarization LLM.)

comment 1y ago · link · parent

Thought this was going to be an mmWave sensor with an "AirBnB host friendly" UI of some sort.. turns out it's just a network sniffer? Seems.. defeatable.

    > How it Works
    > 
    > Party Squasher uses the presence of mobile phones
    > as a proxy for the presence of people.  You start by
    > connecting our small sensor to your property’s internet
    > router. [...]

comment 2y ago · link · parent

I've been interested in doing this as a side project too, ever since "unwiring" my jeep in a similar fashion (rip out modem).

My quick-and-dirty idea was to stand up a Discourse forum with categories for each make, threads for each model (or possibly model + model year range pairs).

If anyone wants to collaborate / provide some extra motivation, hit me up..

comment 2y ago · link · parent

I refer back to your exact blog post every 6 months or so to see how (or if) its various issues have been smoothed out, and whether I should recommend it in a new build. Thanks much for keeping your post up-to-date!

comment 2y ago · link · parent

0.5% -> 0.7% = 40% increase in fees, for affected customers.

(edit: 0.7% not 0.8%)

12345
8