HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mediumdeviation

no profile record

Submissions

[untitled]

11 points·by mediumdeviation·5 maanden geleden·0 comments

comments

mediumdeviation
·5 maanden geleden·discuss
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.
mediumdeviation
·5 maanden geleden·discuss
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.
mediumdeviation
·6 maanden geleden·discuss
Also while searching for SimCity screenshots I found someone recreating NYC in SimCity 4 https://www.reddit.com/r/simcity4/comments/12dkxey/check_out...
mediumdeviation
·6 maanden geleden·discuss
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.
mediumdeviation
·6 maanden geleden·discuss
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
mediumdeviation
·6 maanden geleden·discuss
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.
mediumdeviation
·6 maanden geleden·discuss
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]
mediumdeviation
·6 maanden geleden·discuss
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.
mediumdeviation
·7 maanden geleden·discuss
Yeah, supporting iOS 12 in 2025 is odd. I was investigating browser support levels just recently for a library and also settled on iOS 16 as a reasonable level.

For reference, iOS 12.x and below are used 0.33% globally https://browsersl.ist/#q=safari+%3C+13+or+ios+%3C+13. Selecting iOS 16 would still exclude less than 1% globally https://browsersl.ist/#q=safari+%3C+16+or+ios+%3C+16. In both cases the vast majority would be older iOS which is unfortunate because I assume they're on older devices with no upgrade path, but you have to decide on the transpile/polyfill cutoff at some point and browser support has an extremely long tail.
mediumdeviation
·7 maanden geleden·discuss
For anyone confused by why the text says the performance is improving between each graph but the lines don't seem to show that - the color for each key and the scale changes between graphs.
mediumdeviation
·8 maanden geleden·discuss
Since it didn't gain traction the first time round, I'll just leave this here:

> Clad Labs launches Chad IDE, the first ever "brainrot IDE" https://www.ycombinator.com/launches/OgV-chad-ide-the-first-...
mediumdeviation
·8 maanden geleden·discuss
It's because the website is using cufon, a very early attempt at supporting custom fonts on the web using HTML canvas - basically every word you see is rendered as an image rather than text. The end result does not look good on hi-dpi screens like modern Macbook displays, probably they did not exist back then. The site mentions Google Font has a hosted version of it now and you can look at how it is meant to be rendered https://fonts.google.com/specimen/Averia+Libre
mediumdeviation
·9 maanden geleden·discuss
It's the scanline effect, here's three lines of JS to disable it from the developer console

    s=document.createElement('style');
    s.textContent='body::after{display: none !important}';
    document.body.appendChild(s)
mediumdeviation
·9 maanden geleden·discuss
I think you mean congresswoman, Adelita Grijalva https://en.wikipedia.org/wiki/Adelita_Grijalva

> On September 23, 2025, Grijalva was elected to the U.S. House of Representatives in a special election to succeed her father, defeating Republican nominee Daniel Butierez.
mediumdeviation
·10 maanden geleden·discuss
Since the article doesn't mention this, the intended use for this property is to act as a hint to the browser about what characters are supported by the font, and if the page doesn't have those characters then the browser can choose to not download the font. https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-fac...

This also mean you don't technically even need this property to achieve this, you can also recompile a font with limited glyphs, this property just makes it easier to do this with an existing font file, though of course the user would be downloading a lot of unused glyphs.
mediumdeviation
·10 maanden geleden·discuss
The news cycle is moving fast enough that shockingly enough this news is already pushed off the frontpage of these news sites, but the article is there if you dig a little.

- BBC: https://www.bbc.com/news/articles/c8641wv0n4go

- The Guardian: https://www.theguardian.com/world/2025/sep/16/israel-committ...

- NPR: https://www.npr.org/2025/09/16/g-s1-89014/israel-gaza-genoci...
mediumdeviation
·7 jaar geleden·discuss
Ah yes, same as my new Pixel. Apparently to be able to give me temperature in Celsius instead of Fahrenheit, Google would like to know every app activity and usage as well as everywhere I have been. This sort of privacy bundling really should not be allowed.