HNHacker News
TopNewBestAskShowJobs

collinmanderson

2,545 karma · joined September 26, 2014

submissionscomments
collinmanderson··on How to succeed in MrBeast production (Leaked PDF)
Yes, MrBeast's doc definitely also had "Getting Real" vibes. https://basecamp.com/gettingreal
collinmanderson··on WebP: The WebPage Compression Format
iPhone lock down mode turns off remote fonts (including breaking font icons as sibling says)
collinmanderson··on CockroachDB license change
I'm waiting for python support first. Not sure what the eta is or why it's taking so long. Every day we get closer to the eventual deadline.

> Extended date representations are not currently supported (±YYYYYY-MM-DD).

https://docs.python.org/3/library/datetime.html#datetime.dat...

> MAXYEAR is 9999.

https://docs.python.org/3/library/datetime.html#datetime.MAX...

I'm also waiting for longnow.org to start using long dates behind the scenes, like image urls, html metadata, http headers, etc. They need to eat their own dog food as far as software goes.

    <link rel="icon" href="https://static.longnow.org/2022/06/favicon.png" type="image/png">
    <meta property="og:image" content="https://static.longnow.org/2021/10/header-talks.jpg">
    <meta property="article:modified_time" content="2024-06-11T17:21:23.000Z">
collinmanderson··on CockroachDB license change
> 02019

Why not 002019? 6 digits. That would be valid a lot longer.

collinmanderson··on Twitter kills its San Francisco headquarters, will relocate to South Bay
I recently learned about Elon showing up to a Sacramento datacenter on Dec 22 2022 and personally moving server racks out of the datacenter, when his employees said it would take 6 months.

"Elon Musk moving servers himself shows his ‘maniacal sense of urgency’ at X, formerly Twitter"

https://www.cnbc.com/2023/09/11/elon-musk-moved-twitter-serv...

https://news.ycombinator.com/item?id=37470110

collinmanderson··on "We ran out of columns"
Yeah, I think it's surprising how websites don't get DoS'd more often.

DoS has become more of an issue now that all of the GPTBots are generating a lot more traffic. https://news.ycombinator.com/item?id=40865627

collinmanderson··on "We ran out of columns"
The symptom was the website wasn’t loading, just spinning forever.

Looking at the http logs, around 5pm an ip address started spamming a whole bunch of requests to the same url. The same ip was doing pretty normal stuff on the website about an hour earlier.

My theory is holding down F5 key would cause the page to reload about 30 times a second. The website was not able to handle that many requests per second and it effectively became a denial of service attack.

This was around 2007-2010 and I think by now browsers have stopped repeating a reload if the F5 key is held down.

collinmanderson··on Open Source Farming Robot
Cups are 236.6 ml. 8 fluid ounces.

But, wow apparently the FDA rounds cups in nutrition labeling to be exactly 240ml “legal cup”, which I agree is super annoying. It’s 1.4% more.

“For purposes of nutrition labeling, 1 cup means 240 mL, 1 tablespoon means 15 mL, 1 teaspoon means 5 mL, 1 fluid ounce means 30 mL, and 1 ounce means 28 g (21 CFR 101.9(b)(5)(viii))”

collinmanderson··on "We ran out of columns"
It could maybe work if every team is responsible for their own area of the code base, where the code base starts to match the company tree
collinmanderson··on "We ran out of columns"
> I recently wrote my own SMTP server (bad idea!)

Recently I’ve been tempted to make an SMTP server that translates emails into a web-hook. Please tell me more horror stories so that I might be convinced not do it.

collinmanderson··on "We ran out of columns"
I’m seeing a lot of comments about terrible code bases, but I do think there’s something really beautiful here, something like “worse is better”:

> This may sound like a mess to you. But it was remarkably enjoyable to work in. Gone were the concerns of code duplication. Gone were the concerns of consistency. Gone were the concerns of extensibility. Code was written to serve a use, to touch as little of the area around it as possible, and to be easily replaceable. Our code was decoupled, because coupling it was simply harder.

collinmanderson··on "We ran out of columns"
I have had a website taken down by (pretty sure) a person setting something on their F5 key.
collinmanderson··on I prefer rST to Markdown
The worst part of the <i> to <em> migration is now <em> often gets used for book titles, which is completely wrong. Book titles aren’t emphasized, they’re italicized.

If someone hits control+I, or an italics button, it should use <i> tags, not <em>.

collinmanderson··on Ask HN: Anyone else having internet issues?
Yes, I suppose that's true of me too. :) I also have internet issues every day.
collinmanderson··on Ask HN: Anyone else having internet issues?
Ok. I think my issue is that Akamai CDN is blocking us :/
collinmanderson··on Copying is the way design works (2020)
> But yes, Xerox knew exactly what they were doing when they invited Steve and his team in.

Right. Xerox got Apple stock out of the deal. Not really stealing. Bought and paid for.

collinmanderson··on Joe Biden stands down as Democratic candidate
He endorsed Kamala
collinmanderson··on AT&T says criminals stole phone records of 'nearly all' customers in data breach
Amazing article about why phone spam is so much harder to fight than email spam.

Thank you for sharing it!

Now I need to lean SS7 signaling.

collinmanderson··on APT40 Advisory – Australian Cyber Security Centre
> APT40 rapidly exploits newly public vulnerabilities in widely used software such as Log4J (CVE 2021 44228), Atlassian Confluence (CVE-2021-31207, CVE-2021- 26084) and Microsoft Exchange (CVE-2021-31207; CVE2021-34523; CVE-2021-34473). ASD's ACSC and the authoring agencies expect the group to continue using POCs for new high-profile vulnerabilities within hours or days of public release.
collinmanderson··on No more boot loader: Please use the kernel instead
Ahh ok so it sounds like systemd-boot's philosophy is keeping things simple and minimal and re-using UEFI firmware as much as possible, to minimize risks with the linux kernel having issues booting, at the expense of not having as many features.

I suppose then the hope is that nmbl would basically be a general-purpose fully-featured replacement for grub, which seems to be going in the direction of being a full kernel anyway:

> one with quite some bells and whistles, with networking, complex storage, cryptography, http client, ca store and stuff (I mean, that's how I understand it, i.e. it should be able to load kernels from sources that require all that). It hence will need require regular updating (as much as the 2nd stage kernel most likely, if not more often, since it probably needs ca store built in), and quite possibly will break every now and then nonetheless, because it's basically a full OS you are boot as first stage.

- https://lwn.net/Articles/981149/

It sounds like if you don't need grub's complex features, then systemd-boot is probably the safest way to go, but if you do need grub's complex features, then nbml aims to be the safest and most reliable way to get those features.

collinmanderson··on No more boot loader: Please use the kernel instead
systemd-boot comes up in the Q&A at 29:50. (The main problem nmbl is trying to solve is code-duplication with the kernel and therefore security issue duplication, and just like grub or any of the alternatives, systemd-boot duplicates code that's already in the kernel. The security holes will exist in any case, but the goal is to reduce security hole duplication by reusing as much of the kernel as possible, rather than creating something separate. They also plan on reuseing grub's menu code, so it will have the exact same menu as grub.)

> The question is: that there are CVEs everywhere, we're not unique in this sense, and whether we would use systemd-boot.

> So, systemd-boot, it also works only on UEFI, and I believe that the plans are to keep it that way.

> Ultimately, the thing is that the kernel CVEs will get fixed no matter what, the question is: do we want to have more work fixing more CVEs. The kernel has a lot of developers, has very high visibility, and they're able to fix the CVEs in a reasonable time period. And, those aren't going to going to go away, the kernel CVEs aren't going to go away, whether we do this or not.

> Systemd-boot, any boot loader, that aims to replicate the things that the kernel does is ultimately going to run into the same problems as grub. We're going to have the font CVEs, we're going to have filesystem and storage and memory allocation bugs. All of that stuff is going to exist in whatever boot loader.

> Again, for an individual user, if you want to install systemd-boot, great, go ahead and use it. It's good, it works. But as a general option it's just going to have the same issues, unfortunately.

collinmanderson··on Polyfill supply chain attack hits 100K+ sites
> this is a wild microcosm example of how the web breaks in ways we don't expect.

I think the performance characteristics of the web are subject to change over time, especially to allow increased security and privacy.

https is another example of increased security+privacy at the cost of being slightly slower than non-https connections because of an extra round trip or two to create the connection.

The lesson I take from it is: don't use complicated optimization techniques that might get out of date over time. Keep it simple instead of chasing every last bit of theoretical performance.

For example, there used to be a good practice of using "Domain Sharding" to allow browsers to download more files in parallel, but was made obsolete with HTTP/2, and domain sharding now has a net negative effect, especially with https.

https://developer.mozilla.org/en-US/docs/Glossary/Domain_sha...

Now they're realizing that HTTP/2's multiplexing of a single TCP connection can have negative effects on wireless connections, so they're working on HTTP/3 to solve that.

Also don't use polyfills. If your supported browsers don't support the feature then don't use the feature, or implement the fallback yourself. Use the features that are actually available to you.

collinmanderson··on Apple's On-Device and Server Foundation Models
It was pretty neat how you could take the PCMCIA card out of an AirPort or WaveLAN/Orinoco and stick it in a laptop and it would just work.
collinmanderson··on Voyager 1 is back online: NASA spacecraft returns data from all 4 instruments
“rare planetary alignment occurring once every 175 years” according to https://en.m.wikipedia.org/wiki/Voyager_program
collinmanderson··on Engineering for Slow Internet
Very sad. I use http/2 push on my website to push the CSS if there’s no same-origin referrer. It saves a full roundtrip which can be pretty significant on high latency connections. The html+css is less than 14kb so it can all be sent on the first roundtrip as it’s generally within TCP’s initial congestion window of about 10*1400.

The only other alternative is to send the CSS inline, but that doesn’t work as well for caching for future page loads.

103 Early Hints is not nearly as useful as it doesn’t actually save a round trip. It only works around long request processing time on the server. Also, most web frameworks will have a very hard time supporting early hints, because it doesn’t fit in the normal request->response cycle, so I doubt it’s going get much adoption.

Also it would be nice to be able to somehow push 30x redirects to avoid more round trips.

collinmanderson··on Controlling the Taylor Swift Eras Tour wristbands with Flipper Zero
> For a long time there was no encryption on the Shure wireless mics most big shows use.

Latency is really important for live audio at shows, so that was probably the priority.

collinmanderson··on Husband and wife outed as GRU spies aiding bombings and poisonings across Europe
I suspect those were intended to be self closing tags like <img> <br> <meta> etc.
collinmanderson··on Let CRS 4 be your Valentine
Web Application Firewalls seem to be more standard now-a-days, and Core Rule Set seems to be main set of rules powering them.
collinmanderson··on Standard Ebooks
Amazing that you don't use front-end javascript at all. Is there anything you wish HTML+CSS could do better?

Re XHTML - It looks like the website is being served with a text/html content type. Did you give up on your XHTML experiment? How did it go? Maybe it would help if browsers reported back errors to the server, like how "Content Security Policy" reporting works.

collinmanderson··on Tom Scott: After ten years, it's time to stop making videos [video]
Or depending on how you count Rock, Paper, Scissors, it was more like 115 videos, though most were unlisted. Plus he's been doing more subscriber-only videos.
← PreviousPage 6 of 32Next →