HNHacker News
TopNewBestAskShowJobs

ajnin

3,349 karma · joined November 1, 2014

submissionscomments
ajnin··on Almost all searches on my independent search engine are now from SEO spam bots
This made me curious to try that search engine so I typed "electronic music box" (first thing that came to mind). As far as I can tell none or the 10+ pages of results include all those 3 words. I mean, you might not have any relevant sites in your database (likely if there are only 1000 sites or so as another of your blog posts imply), and I understand you want to show some result to the user, but if I want irrelevant links I might as well go to google.com...
ajnin··on Bitwarden: Generate a Username
I'm also using KeePass and I have my own NextCloud instance, and with the Android app + browser add-ons I have an as good experience as with cloud offerings, and maybe even better since I can also use it as an SSH agent to store my SSH keys.

But honestly with all the updates I'm putting off I'm probably actually more at risk, and a good password manager implementation will encrypt all passwords client-side so you're not actually uploading your passwords to anyone's computer.

ajnin··on Theion sulphur crystal batteries promise breakthrough in energy density
> Battery manufacturer Theion has designed lithium-sulphur cathode technology that triples the energy density and requires 90% less energy to produce.

Compared to what ? Very annoying when articles do that, it shows a lack of rigor that does not inspire confidence in the rest of the article.

ajnin··on “Open source” does not mean “includes free support” (2020)
I'll have a bit of a contrarian opinion here: if you publish some software there is at least an implied notion that it allows to solve some problem (license terms notwithstanding). For example if you go to the home page for this blog then you will find a rather well made page that might get you the impression that you can find here some piece of software that allows to download APKs. Now, if it actually does not quite work because of bugs that you refuse to even list somewhere because that would be "work", then you take the responsibility to mislead people and make them lose their time based on incomplete information. Yes your time is important, but other people's too. When you unleash something upon the world, then you have some responsibility for it, at least morally. For context I do have some minor open source projects that very few people use and I allow bug reports but I just ignore them until I have the time and motivation to get back to it in an hypothetical future. In the meantime it serves as information for others.
ajnin··on Tesla driver dies after his Model 3 stops on highway, gets hit by two other
Tesla/Elon Musk have this weird irrational obsession with using only cameras for their autopilot. Yes, humans can drive using only two eyes (and also actually ears, touch feedback and acceleration sensors), but they also have a lot of accidents. It's not obvious that you can do better with software only, and in any case you're crippling yourself by not using additional inputs for no good reason.
ajnin··on Treatment for Tinnitus with Stimulation of Auditory and Non-Auditory Nerves
More importantly, what happens if there is a short somewhere and the USB port becomes connected to mains voltage ? Computers are not medical devices, and I'd say it is fairly common to feel a small tingle when touching ports so isolation is not that great. The actual medical device should use an isolation transformer or be powered by batteries.
ajnin··on Nuclear war probabilities are useless - counter to the nuclear gambler’s ruin
This makes very little sense to me. Nuclear war is not a random event that might happen at any given point with some probability P. It is a decision that is made based on an evolving situation, there are not independent random event you can apply high school math to.

Also an event being rare does not mean that it is unlikely. For example a 29th of February is a rare event, if you were to think about it in terms of probabilities, there is about 0.07% of chance for it to occur on any given day. So you would conclude that there is about 1-(1-.0007)^(2*365)=40% chance to occur within 2 years. But it is obviously absurd to think this way, since the next 29th of February will happen in 2024, in less than 2 years, the probability is 100%.

ajnin··on Ask HN: Single-person creations that have stood the test of time?
What about works of art in general ? Leonardo da Vinci, Van Gogh, Picasso, Escher, Botticelli, Michelangelo, Shakespeare, Bach, Haendel, Mozart, Beethoven, Chopin, Saint-Saëns, Bob Dylan, Mark Knopfler, Bob Marley ... And so forth. All artists who created works that are still considered masterpieces to this day.
ajnin··on MuZero’s first step from research into the real world
Can someone enlighten me how this paves the way to AGI? At the surface this looks like a rather mundane optimization problem.
ajnin··on Chernobyl power plant captured by Russian forces
Sorry but being insulting is not going to make your argument more convincing. Pretending that somehow NK and Pakistan have more nuclear capabilities that FR or UK is a joke.
ajnin··on Chernobyl power plant captured by Russian forces
Not sure why you think North Korea and Pakistan can project and not France and UK which both have nuclear attack submarines. The heart of nuclear detterrence lies in those submarines that can cause second strike MAD.
ajnin··on Sunsetting the Bethesda.net launcher and migrating to Steam
Steam is very convenient for users, many people won't even consider buying a game if it's not on Steam. I guess they have more potential sales this way.
ajnin··on SpaceX’s monstrous, dirt-cheap Starship may transform space travel
The main problem with that idea is that rockets are incredibly loud and noisy. You couldn't launch anywhere close to population centers, where the transportation needs are, and if you need to take a boat to get to a launch platform far at sea you lose a lot of potential.

Second problem is that it looks awfully like an ICBM. Lots of countries wouldn't like one of these flying in their direction, which would limit the amount of possible routes.

ajnin··on C# Raw String Literal Proposal
I think it's a good approach but I would do it the opposite way : create an UnsafeString and use that whenever your program takes external inputs. Then make it so that this UnsafeString can't be used directly but must always be consciously converted to (safe) String when using that data anywhere.
ajnin··on Don't use text pixelation to redact sensitive information
In that example he's not blurring in the usual sense, he's replacing the whole image by a single average value.

Blurring is mathematically a convolutions product of an image that can be represented as a function f and a kernel g. The key fact is that the Fourier transform of f.g is the product of the Fourier transforms of f and g. So if you know g, or can guess what it is, you can solve for f knowing f.g and g, since everything is linear. (Some blurs might not be linear transforms but the usual gaussian blur is)

Information can be lost in two ways : 1/ quantization of the data due to storage in a limited number of bits, 2/ truncation of the blur at the image edges. So blurs cannot be fully reversed, but some information can be recovered. That might be enough to identify the information that was concealed in the first place. See the Wikipedia article on deconvolution for examples.

ajnin··on It's often said that the Analytical Engine was before its time
He's missing one key fact in his analysis which makes the conclusion incorrect, imho : early computers were really, really slow !

Early mechanical or relay computers for example had dedicated hardware to compute multiplications or divisions or more complex operation on full width floating point registers and still they took minutes to complete a computation. Doing things in software sounds great written from a multi-GHz modern computer but it would have been just too impractically slow at the time. Doing something as seemingly simple as a division can take thousands of cycles when you need to do everything "in software" with only additions and subtractions. When your machine has a clock frequency in the order of 1Hz, this translates to hours on a single operation.

So the issue was mostly technical, the hardware at their disposal was not capable of doing things quickly enough, so they did not design impossible things based on a future understanding of how things should be done. The process of invention is very iterative, building up on technological progress. When advances in semiconductors allowed to reach clock speeds millions of time faster, then doing things "in software" came naturally.

ajnin··on 1Password for SSH and Git (Beta)
I don't know is that's "correct" bit what I use is KeePass with the KeeAgent plugin, which acts as an SSH agent.

The keystore is stored on a nextcloud instance which allows to share the key easily between multiple hosts. It works flawlessly with git, ssh, also Windows tools like Putty will pick it up.

ajnin··on Don't use text pixelation to redact sensitive information
Another related piece of advice is that you should not use blur to hide sensitive information because blur is actually a mathematically reversible operation ! It's quite surprising at first but the information is still there, it has just been spread out. If you know the shape of the kernel and have enough resolution then you can unblur the image. You can even apply this process (called deconvolution) to physical blurs like imperfections in telescope optics. In practice however bit resolution is often too low to have good results.

You should also be careful with video, since it contains many frames it might be possible to reverse rougher pixelations or blurs than would be possible with a still image. There exist various superresolution algorithm that can extract high-resolution images from multiple low-resolution video frames.

ajnin··on Handling argc==0 in the Linux kernel
polkit is a freedesktop.org project, convincing Linus to break userspace is an easier deal than getting them to admit fault. (joking)
ajnin··on Europe Is Losing Nuclear Power Just When It Needs Energy
> As the Fukushima disaster unfolded in Japan in 2011, then-German Chancellor Angela Merkel made a dramatic decision that delighted her country’s anti-nuclear movement: all reactors would be ditched. What couldn’t have been predicted was that Europe would find itself mired in one of the worst energy crises in its history

That's just not really true, plenty of people warned that with Germany closing nuclear and coal plants at the same time it would need to rely on external sources for energy, France for electricity, and with NordStream 1 and 2 projects, the reliance on Russian gas for Germany rose to around 50%. It was pretty obvious that becoming dependent on a not always friendly foreign power was a bad idea, but with Germany being so dominant in Europe no one dared to oppose it. Now Russia is playing this card fully.

ajnin··on People don't work as much as they say
Could you share some details about that defect metric and how you implemented it? Sounds interesting.
ajnin··on I won the local election, but my township ignored the results and state law
He lists those in one of the follow-up tweets :

> The primary duties and functions of the Board of Auditors include:

>

> - Acting as a fiscal watchdog for the citizens of the township

> - Auditing, settling, and adjusting the accounts of all elected or appointed officials who received or disbursed funds during the immediate preceding calendar year

> - Setting salaries for supervisors who are employed by the township

> - Auditing records of the local district justice, if deemed appropriate

> - Filing the annual report for the township, unless the Board of Supervisors contracts an outside accounting firm per the code. (Nevertheless, in some townships auditors work together very closely with the township staff to insure that all township funds are properly expended and accounted for.)

> - Hearing cases involving financial loss to the township as caused by any elected or appointed official, who have acted in a violation of law or beyond the scope of their office

There are a few things here the supervisors might not want an outsider to look into.

ajnin··on I won the local election, but my township ignored the results and state law
Well, I'm not that confident. If the "offender" happens to be friends with "the state", that is, the party in power, then it's very likely that not much will happen, the executive will be happy to let them be, the prosecutors, who are not independent, will ignore the problem, and the judiciary will have its hands tied. Stories of corrupt politicians enjoying years and years of pilfering of the public good are much more common in "napoleonic" systems, it feels.

It's better to have a strong judiciary than a strong administrative police, imho.

ajnin··on How big was the Tonga eruption?
Sounds like the hairy ball theorem (https://en.m.wikipedia.org/wiki/Hairy_ball_theorem)
ajnin··on Starlink satellites hindering detection of near-Earth asteroids, study finds
> Potentially capable of resolving exoplanets

I was curious about that claim, so I did a bit of research and made a "back of the envelope" calculation. According to Wikipedia [1], the angular resolution of a telescope is proportional to <wavelength of light>/<diameter>. Starlink seems to operate from 10 to 40GHz, so assume the hardware has a 50% design margin so is capable of reaching 60GHz. Visible light has a frequency of 400 to 800THz, so take the middle of 600THz. Using those figures, it come out that the Starlink satellites, used as a telescope, would have the same angular resolution as a 1.3m visible light telescope. Is it enough to resolve exoplanets ? I'm not sure but I think not. Hubble is 6m and can apparently resolve some exoplanets so it's not too far off. Some launches to GEO would boost the resolution to the equivalent of 8.4m in visible. (IANAA)

1: https://en.wikipedia.org/wiki/Angular_resolution

ajnin··on French moratorium on prion studies after two cases of fatal brain disease (2021)
Blunt needles are a thing. They are used for example in electronics as a way to dispense tiny amounts of solder paste or flux on components pads on a PCB. Presumably when transferring solutions from container to container, you don't need a sharp needle, unless the container is closed with a membrane that needs to be pierced.

There are also gloves that protect against puncture. If you're using both sharp needles and non-protecting gloves then it is probably time to revise the procedures.

ajnin··on Mozilla's Firefox Relay to be added to disposable-email-domains blacklist
"Safety" is the capability to exert your individual freedoms freely. If, to ensure that safety, you suppressed the freedoms, then you've failed.

But we're not talking about fighting crime here, but companies tracking what people do and as far as I know there is no societal right for Discord and LinkedIn to track people.

If that pendulum ever swings back too far, and you're right, it likely will, I'll be sure to let "my politicians" know using regular old no-government-id-required email as I already did on occasion with no issue.

ajnin··on Mozilla's Firefox Relay to be added to disposable-email-domains blacklist
In retrospect my comment was probably too harsh. Thanks for providing an escape hatch, but it's practically impossible to create an anonymous gmail account.
ajnin··on Eyeo wins German copyright decision, sets legal precedent for who ‘owns’ HTML
He was replying to a comment about the "Acceptable Ads" policy so he was clearly talking about uBlock, not uBlock Origin.

I think the story of how uBlock was transfered and then managed in a way that was not what you wished is pretty well known, and I think most people know that you forked back the project to restore that trust, and they appreciate the work you're doing for the community. At least I know I do, so let me take this opportunity to say thank you.

ajnin··on Mozilla's Firefox Relay to be added to disposable-email-domains blacklist
This project seems to work under the pretense of fighting the spammers. Maybe it actually does. But it also deprives people of their right to not be tracked constantly, to remain anonymous. A world with no crime is a world without individual freedoms. The way this is so casually and openly discussed here is slightly terrifying.
← PreviousPage 6 of 24Next →