mediumdeviation

Joined 14 years ago

Karma
1,791
Submissions
297
Member since
Oct 27
View on Hacker News

Recent submissions

Comment · 17 days ago
Comment · 1 month ago
This definitely feels like Hyperloop, but for data centers instead - a really cool idea that falls apart the moment it meets contact with reality. The most bizarre thing is how any of this and the Hyperloop got any amount of funding and development beyond just an initial feasibility report.
Comment · 2 months ago
I'm not sure what prompt you put in but did Gemini replace the all of the images in the original with its own? That would be really weird behavior unprompted.
Comment · 3 months ago
On the capitalization, it seems the BBC will always use title case for acronyms (Nasa, Nato) and all caps for initialisms (ATM, SNP). I did try to search for SQL to see if the Beeb thinks it should be read as Sequel or Es-que-el, but their search refuse to show exact results and keeps giving me articles about the Scottish National Party instead.
Comment · 3 months ago
Ugh I would recommend anyone reading this to just skipping over it, it's mostly just a glorified loading bar. The visualization is obvious Claude slop, there are better and clearer visualization below that actually picks out the useful details rather than hose you with pretty colors and numbers go up.
Comment · 8 months ago
We went out and used our editor against our and customer's documents. The Open part of OOXML makes as much sense as the Open in OpenAI. Microsoft made OOXML available to fend off an antitrust lawsuit, there is no incentive for them to make it actually easy to build competing editors off their specification.

FWIW the bug I found is that your comment parser assumes the w:date attribute represents a useful timestamp of when comments are made. It does not - a bug in Word causes it to save it as ISO8601 local time but _without timezone_, rendering it useless if more than one user across different timezone edits the document. Instead, you need to cross reference the comment with a newer comment part and find a dateUtc attribute. The above is, of course, completely undocumented.

Comment · 8 months ago
Ah these poor fools. Having built this exact product (OOXML compatible editor in React) before, it took all of two minutes to find a bug. The issue is that the OOXML spec is not in fact definitive - Word is, and trying to implement it from the spec will produce something that works maybe 80% of the time then fall over completely when you hit one of hundreds of minor, undocumented edge cases. Assuming of course that CC did not just hallucinate something. And then there's the more fundamental problem that HTML/CSS has unresolvable incompatibilities with OOXML. This is why Google Docs for instance use canvas for rendering.
Comment · 9 months ago
Comment · 9 months ago
Another fun fact - lodash/fp doesn't deduplicate with lodash when bundled. For a couple of months I was wondering why our app had bundled two copies of lodash. I dismissed it as a measurement artifact at first. It took so long to realize there was actually two copies of lodash and it was because one developer on our team had a preference for fp syntax.
Comment · 9 months ago
Links can have that as their href and it will also work as you'd expect. It's the telephone equivalent of the more well-known mailto: scheme
Comment · 9 months ago
It's not random, setting the query string to a new value on every fetch is a cache busting technique - it's trying to prevent the browser from caching the page, presumably to increase bandwidth usage.
Comment · 9 months ago
Pretty sure that blog is hosted on Wordpress.com infrastructure so it's not like the blog owner would even notice unless it generates so much traffic that WP itself notices.

That said I don't think there's many non-malicious explanation for this, I would suggest writing to HN and see about blocking submissions from the domain [email protected]

Comment · 9 months ago
Note that this is 51kb, it's not exactly lightweight https://bundlephobia.com/package/@js-temporal/[email protected]. Still good for forward compatibility or on the server, but for smaller apps it's significant.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton