HNHacker News
TopNewBestAskShowJobs

byuu

3 karma · joined May 24, 2022

#ByuuDidntKillHimself
submissionscomments
byuu··on Google’s Monopoly is Stifling Free Software?
My main website has a domain authority of 53; a subdomain with the same IP would be seen as the same site (I used to use subdomains and have seen this firsthand); a subdomain with a different IP would start me over which is a very bad thing (I've been struggling with byuu.net in this regard.)

The URL scheme is the convention I follow, but I also include the version# in the file name.

I did put the executable inside of a ZIP archive, along with a text database and a few video pixel shaders. One change I made recently was moving from .7z to .zip since some users don't have 7-zip installed, but I presume Google is smart enough to scan inside 7-zip archives even if Windows isn't (out of the box at least.)

I've been providing these releases for fourteen years now. I have no idea what suddenly changed other than it took about two years to release a new version due to a lot of massive changes.

I appreciate the reply all the same, thank you for taking the time.

byuu··on Google’s Monopoly is Stifling Free Software?
My larger fear is how opaque the process is: will it just continue to flag my downloads as being harmful? Or will it eventually escalate to blocking my entire page/website as I've seen happen to others? Will it result in search penalties if I continue to release new software? How can I make these warnings go away permanently? None of this is explained anywhere that I can locate. All I have to go by are the scary warnings asking me to "secure my website from future attacks" and that their review found I "no longer" host harmful downloads now that I've removed my own, safe software from my website.
byuu··on Google’s Monopoly is Stifling Free Software?
The reason I state that it does is because at least Chrome (and its derivatives, which make up 70% of the browser market) and Firefox rely on Google Safe Browsing to flag downloads, and Google controls 92.42% of US search users.

Having one's website and/or downloads flagged as harmful, and potentially being deindexed for hosting malware, is not something any software developer can ignore.

If Bing and Edge flagged my downloads, I would honestly not care as they control 2% of the market. The Windows "this file was downloaded from the internet" warning is something that, regrettably, is so common that users already ignore it, and it happens even for many commercial software programs. Although I do consider that an unfortunate hurdle for free software developers as well, the harm is substantially smaller.

As such, I respectfully disagree.

byuu··on The modern web is becoming unusable
They do that because they know human nature (well, post-popup windows from the '90s) is to move your mouse down to close the popup and then close the tab, as if it makes any difference. That buys them another 2-4 seconds of time-spent-on-page analytics metrics. It took me a bit to untrain myself from that behavior. I'd quite like a browser extension that stops reporting when my mouse moves out of the tab.
byuu··on A new cycle-stepped 6502 CPU emulator
For me, the "why" is that I grew up playing RPGs, and around my early teens I discovered the west missed out on dozens of major games (even Dragon Quest 5 and Final Fantasy 5!)

I taught myself programming and reverse engineering so that I could fan translate these games.

After I finished a few of them, I became disheartened that my work had trouble running on real game consoles due to emulator inaccuracies.

The folks writing emulators at the time took many shortcuts to run on the slower computers we had back then, but in spite of PCs getting faster, they didn't want to incur any speed hits or break any other fan translations relying on emulator bugs.

So I switched focus and started writing my own emulators instead. I was filling a niche that at the time wasn't covered. These days, I mostly keep at it because it's fun, I like the games on these old systems, and I'd like to preserve the games for future generations as faithfully as possible.

(if you're bored and would like a really in-depth answer, see https://byuu.org/about for a full history.)

byuu··on How Facebook Avoids Ad Blockers
Yeah, I always have to write userscripts to get access to getElementsBy(TagName,Id,etc) and then call .parentNode().parentNode()... to reach the ancestor I want to remove.

Of course the downside of userscripts compared to uBlock rules is that they take time to run, so you end up seeing the ads briefly before they are erased, which is annoying. So then I run the scripts prior to page-load to insert CSS rules to hide all elements that might be ads, let the page load, filter it, and then override the older CSS rules. It's quite a hassle, really.

What I'm saying is, :parent selectors in CSS would be greatly appreciated.

byuu··on Why I Voted to Sell .ORG
I did the same. If things go to hell I'll do global 301 redirects starting around 2026-2027, and work to get every link possible updated across the internet, to drain every last possible cent of value from my .org, and then I'll abandon it if the prices have gone up extortionately.
byuu··on Twitter account deletions on 'pause' after outcry
You can't be the first to register on every platform out there. If you ever become successful enough, people are going to impersonate and false flag you anyway. You have to balance putting your beliefs out there, so people know an obvious fake; with not over sharing to the point you annoy people with differences from you, which I can tell you first-hand is hard to recover from.

After that, make a links/contact section on your website to list all your accounts. Post a note that anything not on the list is an imposter or someone coincidentally using the same name as you (which does happen, especially when you naively pick a four-letter name.)

Anyone still conflating a false account with you with one step to verify it as a fake will be acting in bad faith regardless.

byuu··on Tell HN: Google should drop Quora from search results
I only use the script on my desktop, and so I've never seen an AMP result. I'd need to be able to use the 'inspect element' developer tool on mobile I suppose in order to see how to filter them. Not even sure the script works on mobile though.
byuu··on Save .org
The hope is to get a non-corrupt TLD in place that won't raise prices on you with no caps (and if possible while we're at it, won't charge you for certificate signing.) Ideally, a real winner would be a pay-once, own-for-life (say 100 years) TLD. I might be willing to drop $500 on a domain I know I'll never have to remember to renew.
byuu··on Save .org
Anything that doesn't work out-of-the-box is dead on arrival, though. I would never be willing to move my domain from .org to a system that people couldn't get to without installing additional software (eg OpenNIC.) But if every OS and/or every major browser supported OpenNIC, then I'd be willing to make the switch.
byuu··on Save .org
As stated by another person, yeah I'd want it to not overlap with the existing ICANN TLDs. Not too hard to do, and we could fix one of the bigger annoyances of DNS and correct the ordering: bsnes.byuu.org -> #newtld.byuu.bsnes, for example could work, or even just #byuu -> #byuu.bsnes and only have a sole TLD for it.

I don't know how we stop squatters, maybe a one-time registration fee would be reasonable, but that would be discriminatory as $100 would be trivial for developers in the US, and impossible for service workers in Mozambique that just want a personal website.

It's not as though .com/.net/.org (and heck, even a lot of the new gTLDs) aren't absolutely filled to the brim with squatters already.

byuu··on Save .org
Unfortunately, with at least Chrome and Firefox moving to DNS-over-HTTPS, they are the entities deciding on address resolution for 99% of average-user requests.

I would agree with you in principle however, in which case there's an even more impossible goal: get Microsoft, Apple, Google, and every Linux/BSD distro to agree to a new OS-level alternate domain name resolver that functions out of the box. And also stop Google and Mozilla from rolling out browser-level DoH.

byuu··on Save .org
The process of mapping name=IP is not remotely technically difficult, and I'd dare say most people reading this message could implement the backend to such a system in a few days.

Setting up the peering replication and nameservers around the world is considerably harder, but it's definitely not a $10 billion+ problem (the current value of registrars and certificate authorities.) A startup funded by YC could handle that easily.

Dealing with all the companies trying to sue you over others squatting their domains and having to decide who has the better claim would be the most expensive part.

I really hate to say it because it's so cliche and overused, but a blockchain-like system could remove the central authority, the server costs, and the lawsuit risks. But it would introduce concerns over trust, most likely.

The really hard, unsolvable part is the unwillingness of the browser vendors to support an alternative domain name system. If Chrome, Firefox, and Safari all supported a new TLD outside of ICANN's control as a public service (let's call it "Let's Resolve" which would offer free domains and would be funded through donations), it would be very successful. If even one of them didn't support it, nobody would ever consider using it for their websites. Browser extensions, even if they allowed access to intercept domain name lookups, would not work. It would have to be supported out of the box in every major browser, and well, good luck with that. Anything failing to herd those three cats right out of the starting gate is absolutely dead on arrival.

Who knows though, maybe they'll raise .org prices just a bit too much, and piss off an established non-profit enough to start a huge campaign to create an alternative. But probably not.

byuu··on Save .org
It always astounded me that for the longest time until only recently, you were expected to pay additional money, more than the domain cost itself, for HTTPS security (and if you wanted a wildcard certificate, substantially more money.)

I guess when the gTLD explosion didn't result in massive new profits for the new TLDs (some are $100+/year!), the powers that be decided to focus on existing TLDs instead where there's extensive decades-long lock-in effects at play. No one needed company-name.ninja, but good luck giving up your company-name.org to a squatter or worse, your competition.

byuu··on The Hierarchy of Cringe
Block Together. A list blocking 100,000 people belonging to group X sometimes sweeps up people outside the group for the crime of eg following a friend who is part of said group. There is also intentional sabotage in adding someone innocent that a maintainer dislikes to such lists.
byuu··on Supreme Court to Hear Google-Oracle Copyright Fight
That makes more sense, thank you.
byuu··on Supreme Court to Hear Google-Oracle Copyright Fight
Sorry if it wasn't phrased well, but that's what I was meaning by it being a serious question: does this lawsuit cover code written by Oracle engineers? It's my understanding the lawsuit was based on code developed by Sun, given they announced the lawsuit almost immediately after acquiring them in 2010, so it seems disingenuous to claim this is about their innovations, rather than Sun's. It feels equally rude to those Sun engineers to act as if Java in 2010 was their innovation. Buying something makes it your property, but not your creation. Whatever Oracle contributed after the acquisition, certainly would count as their innovations, but that was not the original basis for this lawsuit.
byuu··on Supreme Court to Hear Google-Oracle Copyright Fight
> "We are confident the Supreme Court will ... reject Google’s continuing efforts to avoid responsibility for copying Oracle’s innovations."

Serious question: which part of Oracle buying Java from Sun was innovative?

byuu··on Cooperative Threading
I consider it something of a trap in fact.

You start writing a new emulator for the first time, dispatching entire instructions in one go, and so you don't even really need a state machine at all.

Then you start trying to get the timing better with opcode-cycle granularity, and in comes a separate state machine for every instruction.

Then you realize you need clock-cycle granularity to fix certain edge-case games (eg emulating the effects that occur during bus accesses), and suddenly the prospect of a state machine for every cycle of every instruction becomes overwhelming.

You would then be realistically stuck with the choice to either stop improving your accuracy, or rewriting things cooperatively.

Since I'm focusing byuu.net articles toward aspiring emulator developers, I thought it would be an important topic to cover.

byuu··on Cooperative Threading
There's probably hundreds of these libraries. Almost everyone chooses to just write their own.

I wanted one because in 2007, no project existed that was laser-focused on maximizing performance (I switch threads tens of millions of times a second in my emulators), was lightweight enough (I implement my own schedulers for my emulators), and was portable enough (I am not even aware of a CPU architecture libco won't run on currently.)

The library is extremely small, and being in control of it allows me to adapt and support new targets directly as needed.

byuu··on Cooperative Threading
Because for many years libco has supported all C89 compilers. I didn't want a dependency on GNU as on Windows, nor did I want to write an MSVC variant. There is no technical reason it cannot be inline now, especially now that we have Clang with a compatible asm syntax.
byuu··on Cooperative Threading
Verilog lets you model things natively in parallel, but few people have user-programmable FPGAs lying around sadly. Very cool tech, though!
byuu··on Cooperative Threading
To change the stack pointer, you either need sigaltstack (not always available) or you have to hack jmpbuf (not remotely portable), but indeed we have done both in my libco library. Assembler is quite a bit faster when you can manage it.
byuu··on Cooperative Threading
No one really agrees on the exact terminology. There are stackful and stackless coroutines, continuations, green threads, fibers, cooperative threads, etc. Generally when people talk about coroutines without a qualification they are meaning the stackless variety. I personally consider a coroutine with a stack frame to be a cooperative thread, but understandably not everyone will agree on naming. The nomenclature hopefully should not affect the broader message of the article though.

In any case, I am not so much trying as I already have. C++ does not have stackful coroutines. I implemented them via my libco library and have been using them for over a decade now.

byuu··on HSTS from Top to Bottom
Still doesn't solve the first-request problem. When can we start using DNSSEC to help prevent DNS hijacking in the first place?
byuu··on Instagram now forces people to sign in to view public profiles
I was curious too and looked into it.

Someone originally thought it would be a good idea to ignore EXIF data, and by the time someone else cared enough to address it, they were worried about breaking sites that had bad rotation EXIF data if browsers suddenly started honoring it.

Mozilla tried to add image-orientation: from-image CSS for this purpose, so sites could say "no actually the EXIF data really is good", but then no other browser vendor followed along.

So as usual, everything in computer science is just terrible for the sake of legacy compatibility with the first implementations ever made.

byuu··on Instagram now forces people to sign in to view public profiles
I wrote a userscript to do this if you're interested:

https://code.byuu.org/google

It blocks search and image results by pattern, and also removes the URL tracker wrapping wherever possible.

byuu··on I Survived the “Destroying Angel” (2006)
All I can think is what a liability nightmare that would be in the US if a pharmacist made a bad call. For both the pharmacist and the company that employed them.
byuu··on A dumb reason computer vision apps aren’t working: Exif Orientation
This has caused me quite a bit of trouble with my image gallery as well, I've taken to just using exiftool to remove all rotation from my photos, which breaks half of them, and then manually hard-rotating them using ImageMagick, which is technically not a lossless operation if I'm understating it correctly.

I really don't understand why it was decided that most photo viewing applications would honor EXIF rotation, but web browsers would not.

← PreviousPage 2 of 29Next →