HNHacker News
TopNewBestAskShowJobs

montroser

3,632 karma · joined December 27, 2018

submissionscomments
montroser··on Ask HN: React, Vue or Angular?
If you care most about ecosystem, then React.

But really, if you just want to get things done without arguing about the twenty different ways it _could_ work, then Vue.

React and ecosystem are overflowing with conflicting paradigms and mismatched libraries and frameworks for your frameworks that all make it very messy. In code, and with humans too, it all becomes difficult to navigate.

With Vue, you just do it the Vue way and it all just works. Then you get to focus on more important things like how to craft the product.

montroser··on Show HN: Share multiple screens simultaneously in Microsoft Teams
It's crazy that they still detect Firefox user agents and deliver the old ultra-basic call experience, where half the time you can't see the same thing that everyone else is seeing. When content is "spotlighted" or when there's a bot or app installed in the call, Firefox people just can't see it, and there's not even any messaging saying as much.

Of course if you spoof your user agent to be Chrome or Edge, all works perfectly well. I would bet Microsoft have ended up here out of ignorance more than malice, but either way it's not very nice of them.

montroser··on Streaming HTML out of order without JavaScript
Yes, many frameworks including svelte took heavy inspiration from various parts of the Web Components specs, including named slots. So, this is the original thing that svelte and others copied.
montroser··on iOS and Wi-Fi Direct
The thread linked here is many years old, and just Apple doing their normal walled garden Apple thing.

Why is this interesting?

montroser··on We made "ding" sounds in Microsoft Teams when people join a call
I think the "long-running" part is important. Like, if I'm doing pair programming with someone one else for a bit, and then we settle into a mode where we're both working on our individual parts, and then all the sudden we hear a third voice in the call from a person who just joined -- it does seem out of nowhere, and kind of discombobulating if there's no warning.
montroser··on Unexpected responses from ChatGPT: Incident Report
This explanation feels unsatisfying. It's so high-level that it's mostly void of any actual information.

What was the wrong assumption that the code made that caused this wrong behavior? Why was it not caught in the many layers of automated testing before it made its way to production? What process and procedural changes are being implemented to reduce the risk of this class of bug happening again?

Presumably all of that is playing out internally, but if the public postmortem is meant to instill confidence, you have to actually share some of the details, or else it becomes meaningless.

montroser··on You need alerts for your alerts: the case of the missing file descriptors
Alerting is so hard to set up in Grafana that you probably just shouldn't even try.
montroser··on Damn Small Linux 2024
I remember DSL fondly. It was a marvel then, and maybe now in retrospect even moreso -- that so much functionality could be packed into such a small footprint.

Conceptually the need still exists today, even if the whole landscape has changed in the meantime. I'll look forward to trying this out!

montroser··on Ask HN: 9-yo son wants to build a game, I'm lost. What can I do?
True, was not the first exposure, and I still did a good lot of hand holding at the beginning.
montroser··on Ask HN: 9-yo son wants to build a game, I'm lost. What can I do?
Strong +1 for PICO-8. My nine year old kid got right into it.
montroser··on Browsh: The modern text-based web browser
Are you projecting? The point is to be able to use the modern web in all of its spectacular complexity, from within a text-based terminal. Which goal it actually achieves!
montroser··on Now Blocking 56,037,235 IP Addresses, and Counting
No, this craziness(!) here suggests that it's not a static site:

> "I added hyphens to the opening and closing PHP statements to prevent my web server from interpreting them as code."

It could be a static site, and one could also automate the job that this person spends their precious time doing every day, copying and pasting text (IP addresses) that matches a pattern from one place to another. But they seem content, so...

montroser··on CSS Is Fun Again
It's not an issue of having the resources to implement the spec -- it's that they're not convinced of the value of the feature, especially given it has the potential to impact performance.

I personally think they are vastly underestimating the enormous potential upside for the whole Internet if devs can make style changes with confidence, and frameworks like Vue and Svelte don't have to keep bolting on bespoke, expensive JavaScript-based approximations.

montroser··on CSS Is Fun Again
Yeah, scoped css is key to reducing all sorts of complexity.

The BEM approach in all is craziness is basically an attempt at scoping. And then tailwind too is trying to solve many if the same problems, from the opposite direction. In both cases people end up using their component frameworks and JavaScript libraries to build new abstractions atop the hacks to try and scope css, and the pile grows.

Real scoped css with @scope has actually landed in latest Chrome and Safari, but Firefox are dragging their feet.

https://developer.chrome.com/docs/css-ui/at-scope

https://github.com/mozilla/standards-positions/issues/472

montroser··on Edge functions: Node and native NPM compatibility
I bet this is cool in some way, but old me can't help but compare this approach to the delightful horror story here from some decades ago...

https://thedailywtf.com/articles/the-inner-json-effect

montroser··on You don't need JavaScript for that
I like the sentiment here, and the switch is cool, and summary/details is occasionally handy. But -- the datalist element is almost never a realistic option for anything more than a toy or prototype.
montroser··on Discouraging the use of web application firewalls
Have they never seen Speed?
montroser··on Conway and Doyle can divide by three, but I can't
4. If even _more_ accuracy is needed, add another 1%

5. If even _more_ accuracy is needed, add another 0.1%

5. If even _more_ accuracy is needed, add another 0.01%

and keep going ad nauseam!

montroser··on Cooking and bird safety
You can do quite a lot with All-Clad stainless cookware. Heat the empty pan for 120s then add oil and reduce heat as desired. From there any sticking will be truly minimal, and for any of that use a metal spatula and you'll be all set.
montroser··on One Year into Musk, X Monthly Users Are Down 15% and Ad Revenue Has Slumped 54%
The sooner we get away from the delusion that "twitter is basically a public service," the better.

This timult has been good for people to internalize that it's a private, for-profit company, whose leadership can change, whose moral compass is up for grabs. Not the right venue for official communications from governments and institutions, let alone you or me...

montroser··on Firefox 119 unleashes PDF prowess and Sync sorcery
Firefox is pretty good these days, but I'm not sure about all of this feature creep. Seems like much of this could just live as extensions.

The one place where I wish they'd invest would be in getting AEC (audio echo cancellation) up to par so I could use Firefox for my WebRTC calls at work.

montroser··on Hilbert curve: The space filling curve drawn with JavaScript
One beautiful quality of these curves is that they can nicely reduce a two (or n) dimensional space down to one, so that neighbors can be found simply by looking at ranges.

https://stackoverflow.com/questions/499166/mapping-n-dimensi...

montroser··on 1Password detects "suspicious activity" in its internal Okta account
It might possibly be a bad idea for everyone to consolidate all of the credentials and all of the auth flow mechanics for all of the things to a small handful of companies.
montroser··on My website is one binary (2022)
It's arguable whether this is better or worse, because now you'll have the text wrapping where needed _but also_ again where it would have on a wider viewport, even though it already wrapped. So on mobile you'll have a full line, then half a line, then a full line, then half a line, and so on, wrapping alternatingly at the natural edge of the viewport, and again at the original line end terminated by a line break.
montroser··on Database Migrations
Nope, it just made my life better and I want others who feel the pain in TFA to know there are options.
montroser··on Publishing my first game using PICO-8
PICO-8 is a wonderful little thing. Kind of like a modern day Commodore 64 with a brilliantly intuitive IDE. My fourth grader has spent many a weekend tinkering with sound effects and sprites and animations and all the like. The whole space is nicely constrained (128x128px 4-bit color) while still being expressive enough to capture the imagination...
montroser··on Database Migrations
Such is life. This perspective seems coming from an application developer who is seeing the database as an extension of the app. When you're big enough to have a database ops team, they will come with a different perspective, and most likely be highly skeptical of storing schema changes in the database.

If your're not too cool for MySQL, check out skeema.io for a declarative, platform-agnostic approach to schema management and path to happiness.

montroser··on Azure dropping database support for MariaDB. Users advised to migrate to MySQL
Agree the disk format is much nicer with MyIsam, but don't you have a much greater chance of corruption in the case of a power failure? InnoDB has some annoying shortcomings, but in return it seems nice that you get your data consistency.
montroser··on Fx – Terminal JSON Viewer
Very cool. Not a huuge deal, but for open source software, I don't totally appreciate the http call to a bitly tracker in the install script...
montroser··on TypeScript vs. Python: A Performance Exploration in Bun and Traditional Runtimes
Bun looks impressive here. It would be interesting to see this type of comparison with a variety of different real-world workloads.

FYI you have a typo in your link to the code.

← PreviousPage 10 of 21Next →