HNHacker News
TopNewBestAskShowJobs

SquareWheel

5,684 karma · joined November 8, 2011

submissionscomments
SquareWheel··on An end to typographic widows on the web
This solves a real problem for me. In the past I've used <wbr> with white-space:nowrap set on the parent to help choose logical breaks in text, but it's tedious and requires DOM access.

A simple CSS rule to automatically calculate this is very welcome.

I'm not sure I like the name "pretty" for the second rule though. If they have to expose the algorithm (first-fit vs Knuth-Plass), I'd rather they choose more descriptive names.

SquareWheel··on Google Search Is Dying (2022)
That's often true. Individual subreddits may filter new accounts or low-karma thresholds to prevent spam. The better subreddits will simply flag it for manual review rather than remove it outright.
SquareWheel··on Google Search Is Dying (2022)
> Your karma basically determines the visibility of any new post you try to make.

User karma isn't factored into the site's sorting algorithms. Post score is, and that influences karma, but not the other way around.

edit: On reflection, you may have been referring to the ability to post, rather than the popularity of the post. In that case, the misunderstanding was mine.

SquareWheel··on Could we make the web more immersive using a simple optical illusion?
For the intrinsic parameters of the webcam, that is a property of the hardware and not your room, yes? If so, it seems possible to crowdsourced that information to build a database. Then for most users, it's just a matter of entering your product model rather than taking 50 checkerboard photos.

It's still not convenient, but it's a much smaller hurdle to overcome.

SquareWheel··on Drag an emoji family with a string size of 11 into an input with maxlength=10
> Except in Safari, whose maxlength implementation seems to treat all emoji as length 1. This means that the maxlength attribute is not fully interoperable between browsers.

No, it's definitely not. You can read the byte length more directly in JS, and use that to inform if more text is allowed or not.

    const encoder = new TextEncoder();
    const currentBytes = encoder.encode(inputStr).byteLength;
But the maxlength attribute is at best an approximation. Don't rely on it for things like limiting length for database fields (not that you should trust the client anyway).
SquareWheel··on Google stopping coding competitions
Quite sad to see. It seems like they're still doing Summer of Code and CTF events, at least?
SquareWheel··on Mozilla solves the Manifest V3 puzzle to save ad blockers
Yeah, I read the post eager to see what AdGuard's thoughts were after building their MV3-based blocker, but the article never actually goes anywhere. It's just repeating Mozilla's stance from at least a year ago.

I tested both AdGuard and uBlock Origin in MV3 for a while, and they seemed fine to me. Adguard's had less friction due to opting sites into cosmetic filtering by default.

SquareWheel··on Bigscreen Beyond – Small VR Headset
I didn't know that was included. Thanks for explaining.
SquareWheel··on Bigscreen Beyond – Small VR Headset
This is perhaps the wrong question, but how is it that he was able to create such a long tweet?
SquareWheel··on GPU Video acceleration in the Windows Subsystem for Linux now available
> Vulkan was released nearly a year after DX12.

True, but Vulkan is largely a continuation of Mantle which released two years before DX12.

SquareWheel··on Update to the .NET language strategy
I don't see the contradiction. Visual Basic existed before .NET did.
SquareWheel··on As a US Navy fighter pilot, I witnessed unidentified anomalous phenomena
The number is infinity. There is a reason that data is not the plural of anecdote.

Once scrutinized, these phenomena are almost always explained by humans misinterpreting their instruments (either machine readout, or their own eyes).

Honestly, you wouldn't believe how many people report _the moon_ as a UFO because it shows up in an odd place, gets distorted by unique atmospheric conditions, and can appear in different shapes and sizes (moon phase and proximity to Earth).

These people aren't idiots. Their brains evolved to recognize patterns as a survival mechanism. Arguably their pattern recognition is stronger than everybody else's. But when you factor in lack of familiarity with the scientific method, or inclination towards spirituality, or a simple willingness to believe in extraterrestrial life, it's not uncommon to hear stories about ghosts, angels, and aliens.

These stories do not stand up to inquiry. They have been tested time and time again and always fall apart under scrutiny. The reason that Bigfoot photos are always blurry isn't because he's camera shy - it's because when the photos are not blurry, we can clearly see it's not Bigfoot.

NB: I have no problem with believing in alien life in terms of say the Drake equation (statistically, it's probable!). I just find it highly unlikely of such a visitor reaching Earth.

SquareWheel··on ReactOS
Do I believe they know the project "very well"? No, probably not, but that's an extremely high bar to meet.
SquareWheel··on ReactOS
I don't think anybody is accusing the submitter of being a sockpuppet. It's just a rather well-known project already, and there's not any news to discuss related to it right now (as far as I know).

I get that there's always one of today's lucky 10,000, but I think a certain threshold of obscureness is reasonable. It wouldn't make sense to submit the Linux Kernel project, or Mozilla Firefox without any news.

Maybe I'm overestimating how well-known ReactOS is, though.

SquareWheel··on Eggs are 60% more expensive than last year in the US
It didn't the last time a bird flu impacted the egg supply. Inflation will continue to be a factor, but I expect it will return to near-normal levels, at least.
SquareWheel··on Microsoft eyes $10B bet on ChatGPT
Are we forgetting TensorFlow? It played a part in starting this whole AI revolution.
SquareWheel··on Google’s quest to digitize troops’ tissue samples
That article is specifically called out as being misleading and clickbaity by Search Engine Journal. I don't see what linking it again is adding to the conversation.

>There have been click-baity news reports stating that “Google Removes ‘Don’t Be Evil’ Clause From Its Code of Conduct” but that is not entirely accurate.

>Google has not removed that clause. Google has removed it from the preface, resulting in more attention to the word respect. But it still remains at the end of the document as before.

SquareWheel··on Google’s quest to digitize troops’ tissue samples
I just linked you the code of conduct where it is very clearly still present. It was at one time moved from the opening statement to the closing statement, but it has never been removed as you've claimed.

edit: This was in response to the parent's original comment, prior to the edit.

SquareWheel··on Google’s quest to digitize troops’ tissue samples
For as many times as this has been debunked, it's rather frustrating to see this particular misinformation persist.

https://abc.xyz/investor/other/google-code-of-conduct/

SquareWheel··on Kerbal Space Program free on Epic
There's two free games this week, so https://store.epicgames.com/en-US/free-games would be even better. Not sure why the submitter only mentioned one of them.
SquareWheel··on Microsoft fined $64M by France over cookies used in Bing searches
Well that's every company. So now every website is annoying.
SquareWheel··on DuckDuckGo now blocks Google sign-in pop-ups on all sites
They're not wrong, but there are two sections with similar names. Scroll down further to this box.

https://www.howtogeek.com/wp-content/uploads/2021/06/2-sign-...

SquareWheel··on DuckDuckGo now blocks Google sign-in pop-ups on all sites
Yes. If you're not logged in with Google, you won't get these prompts in the first place.

edit: Some comments below suggesting this is mistaken. Sorry, I hadn't noticed that in the past.

SquareWheel··on DuckDuckGo now blocks Google sign-in pop-ups on all sites
Note that these prompts can also be disabled in your Google account settings. I find them very irritating so I've disabled it on all accounts I manage.

https://www.howtogeek.com/735152/how-to-turn-off-the-sign-in...

SquareWheel··on Second Life on GitHub
Ah, things would be simpler indeed if words could be dictated.
SquareWheel··on Second Life on GitHub
Not really. A lot of folks, including myself, don't subscribe to the OSI's definition of open-source because it just doesn't match the common usage. Open-source takes many forms, and source available is just one example.
SquareWheel··on Mozilla to explore healthy social media alternative
I read through the page and these features seem... not great? Some of them might be considered anti-features.

The Browser Launch feature says that Firefox always waits for extensions to load network requests whereas Chrome gives an option to wait via a setting. So in this case, you're trading performance (parallelizing the work) for privacy (may not catch a tracking request). It's a tradeoff I'm sure many are willing to make, but I like that Chrome offers the setting. I tend to err towards performance, myself.

WebAssembly says it isn't used - not because it isn't available - but because it would add an extra permission to the manifest. That is to say, Chrome informs you of this when installing extensions and Firefox doesn't. That's a minor implementation detail at best, and I think a case can be made that providing more granular scopes is a positive thing.

Then pre-fetching. Are they really disabling a major performance feature by default? I've used pre-fetching to good effect when the browser's resource scanner ran at the wrong times. The option should exist but this is a terrible default.

The other features are more reasonable. HTML filtering could be useful for adversarial sites like Twitch.tv that actively fight adblockers. Storage Compression seems like a useful optimization if you have a lot of extensions installed that populate IndexedDB. I'm assuming it's caching those values rather than doing a "first time setup" every time a new private window is launched.

I'll readily admit there may be more intent behind these features than is expressed in these blurbs, but on initial glance I wouldn't say anything here is critical. The pre-fetching one in particular seems like a negative.

SquareWheel··on Dolphin Progress September, October, and November 2022
> Ironically, by accidentally making the problem occur more often, K0bin made it much easier to track down and fix.

Boy do I know that one. Intermittent issues are so much harder to debug. Getting a frequent test case often means the difference between solving a bug in an afternoon, or letting it live on as a GitHub issue for years, only to be bumped every few months by a comment that adds no new information at all.

SquareWheel··on Mozilla to explore healthy social media alternative
Are you familiar with declarativeNetRequest? It's already in use by tools like AdGuard and uBlock Origin Lite. I've tested both and they work very well.

I think it's very clear that adblockers are still possible in MV3, despite concerns.

https://chrome.google.com/webstore/detail/adguard-adblocker-...

https://chrome.google.com/webstore/detail/ublock-origin-lite...

SquareWheel··on MelonJS – a fresh and lightweight JavaScript game engine
Cool callout. Frankly I'm impressed that a JS game engine is still relevant after more than a decade.
← PreviousPage 7 of 34Next →