HNHacker News
TopNewBestAskShowJobs

tobias3

988 karma · joined January 18, 2011

submissionscomments
tobias3··on Linus: Don't Use ZFS
The problem is that ZFS doesn't have an offline repair tool. A (granted unlikely) bit flip in an important data structure that gets written to disk makes the whole fs unmountable and that's it (idk if it has a tool to rescue file data from a unmountable pool? Maybe we should ask Gandi...).

With e.g. ext4 you can get back to a mountable state pretty much guaranteed with e2fsck. You might loose a few files, or find them in lost+found, etc. but at least you have something.

The reason ZFS doesn't have a offline repair tool is pretty convincing. Once you have zettabytes (that's the marketing) of data, running that repair tool will take too long, so you'd have to do everything to prevent that in the first place anyway. Including checksumming everything, storing everything redundantly and using ECC RAM.

tobias3··on EA is permanently banning Linux players on Battlefield V
Yeah, but matchmaking only works if you have enough players per region and/or small matches. With 64 players per match this becomes difficult really fast. Battlefield has the additional difficulty that some pleople want to (only) play planes or tanks, so another dimension on which to match...
tobias3··on Vatican Uses Donations for the Poor to Plug Its Budget Deficit
What annoys me even more is that in Germany e.g. the wages of bishops are directly payed for by the state. Only priests and lower levels are payed via church taxes.

As usual it's a stupid historic thing dating back to 1803 and not one has touched it since (It is "compenstation" for a one-time transfer of church property to the states in compensation for France taking German territory).

tobias3··on FUSE for macOS is no longer open source
As far as I understand this would be a "mere aggregation" since the application and the kernel module communicate at arms length through the kernel syscall interface https://www.gnu.org/licenses/gpl-faq.en.html#MereAggregation . So they'd have to make the source of the kernel extension available (as the GPL requires) but it would not be viral to the application using the kernel extension.

As the FAQ entry says this is a legal question "which ultimately judges will decide" and as far as I know that hasn't happend yet. Which is probably one reason many don't want to do it and err on the safe side and choose another project with non-viral license.

tobias3··on Filesystem devs should aim to make “badly written” app code “just work” (2009)
Like renameat2 on Linux with RENAME_EXCHANGE ?
tobias3··on Files Are Hard (2015)
As a result of the paper linked in this article sqlite has a new setting

PRAGMA synchronous=EXTRA;

It is not the default (default is usually FULL).

tobias3··on How Is NordVPN Unblocking Disney+?
Yeah, they'll just ask the German intelligence service to spy on Americans for them using NSA tools.

https://www.spiegel.de/international/world/german-intelligen...

tobias3··on Save .org
Hmm, in my case this would be .de/DENIC. Seems to be organized as a cooperative with those members: https://www.denic.de/en/about-denic/members/member-list/ So not very promising.

But .eu/EURid seems to be a non-profit.

tobias3··on Save .org
As a plan B. Is there any top level domain run by a non-profit where I can switch to long term?
tobias3··on Volkswagen Axes All Non-Electric Racing Programs Worldwide
Porsche is part of Volkswagen and they didn't axe Porsche motorsports non-electric, did they?
tobias3··on A foundation course in reading German
There is also a huge (unsolved) gender issue with e.g. occupations. Every occupation has a male and female form and traditionally the male form is used to address a mixed group. English only has this in a few (easily fixed) cases like businessman => businessperson, policeman => police officer, otherwise they are gender neutral.
tobias3··on Every American Car Brand Is on the Bottom Half of CR's Reliability Rankings
There are already 1873 German Aldi discounters in the US. Maybe it's not where the HN croud buyes their stuff (that would be trader joe's ;) ). But there is a way to get cheap fresh produce in the US now.
tobias3··on We're Incentivizing Bad Science
He also left as World Bank chief economist after he complained that the "Ease of doing Business" index suspiciously went down for Chile while a socialist party was in power.
tobias3··on Gmail marking email from me as spam
Ok, so the way OVH can solve the problem is the same way e.g. Amazon SES solves the problem.

1. They block all outgoing mail (outgoing 25, 465 and 587) and only open it up once you have submitted a ticket where you decribe for what purpose and how often you want to send mail (if you start off wanting to send a million mails per week they won't open outgoing mail at all). Manually review of those tickets is required so that bad actors can't get through. Difficulty of getting through the review needs to be adjusted upwards till it is too much work for bad actors (and they switch to another provider).

2. Monitor bounce-backs and have a spam reporting form for OVH IP ranges. Start blocking outgoing mail pretty soon if a small number of those arrive. Of course this is a cut-throat business ("email marketing"/spam), so competitors may submit false spam reports...

3. Therefore, for (2) you'll have to keep some records of the mail sent, i.e. you'll require mail to be send via relay... The review and the mail relay costs something, so you make it a monthly/per mail cost. Voilà, you have Amazon SES.

Currently they probably block individual instances if they get a lot of complaints about one sending a lot of spam. They can't distinguish legitimate mail from spam because it is all SSL encrypted.

tobias3··on James Gosling on Richard Stallman [video]
I found this copy of what seems to be the source code: https://github.com/larsbrinkhoff/emacs-history/blob/sources/...

It has copyright notices everywhere (not that this matters). And following notice in Installation:

  Please remember that Emacs is copyrighted.  You are free to use Emacs
  internally, but you are not free to redistribute it.  If someone is
  interested in obtaining a copy of Emacs, refer them to me:
So you are not allowed to redistribute it without written permission from the author. I also think back then redistributing source code was the "portable" way if redistributing programs and redistributing binaries wasn't feasible.
tobias3··on I tried to hack my insomnia
It's the correct dose. See https://slatestarcodex.com/2018/07/12/did-a-melatonin-patent... for the sad background.

TLDR: MIT did a study and patented Melatonin usage with reasonable dosages. Manufactures just increased the dose 10x to get around the patent. The patent is expired but the damage remains.

tobias3··on Apple Removes HKmap.live from the App Store
Something like the "browser choice" that the EU forced Microsoft to implement for a while would do the trick. During initial iOS setup you'd have to choose which app store to use (from the currently most popular choices).

The law suit that resulted in "browser choice" started in 1993 and "browser choice" was started 2010, so this may happen "soon".

tobias3··on Decades of diesel use in Europe have created a public health crisis
Here is a paper using diesel cheating to estimate health effects of diesel cars: http://ftp.iza.org/dp12427.pdf

One cheating diesel car in 1000 cars increases ozone, PM2.5 pollution by 1.33%, 1.99% respectively.

Each additional cheating diesel car in 1000 decreases child birth weight by 0.19%, causes low child birth weight 1.9% more often and causes 8% more visits per quarter per 1,000 children of age 0 to 4 to doctors because of asthma.

So yes, comparable American cities would be healthier. Having less taxes on diesel was a huge mistake in Europe. My guess is it was an attempt to burden transportation industry less with taxes. Plus lorries can do tax arbitration by filling up outside of countries with high diesel tax (so you wouldn't want too high of a diesel tax because of the "laffer curve"). This caused this whole innovation of having consumer diesel cars, even though they are more expensive, complicated and heavy. If you take into account weight and production cost it becomes difficult to justify a diesel engine via CO2/fuel savings outside of tax advantages (this doesn't apply to lorries).

tobias3··on Microsoft has removed the “use offline account” option when installing Windows
Well, they have to compete with ChromeOS, I guess... Currently they allow you to exit S mode to a normal Home edition.
tobias3··on Microsoft has removed the “use offline account” option when installing Windows
I kind of understand this decision. Users forget their account password and lock themselves out. Then they complain about Windows loosing all their data. With an online account they can reset their password via mail, etc.

There definitely should be an option to encrypt it like the in the pro version, but then you could also just buy the pro version (then you can also disable auto-updates...). It's not really expensive in the EU.

tobias3··on Fsyncgate: Errors on fsync are unrecoverable (2018)
Well, at least in this case one can abort (or go into some read-only mode) in case of fsync() returning failure. With most storage media that is the correct thing to do anyway. Having multiple processes and having the fsync() error returned to only one of them is problematic though.

I recently found out that syncfs() doesn't return an error at all in most cases (through data loss :/). It's being worked on ... https://lkml.org/lkml/2018/6/1/640

It's astonishing that such critical issues are still present in such a widely used piece of software.

tobias3··on Epic Games Supports Blender Foundation with $1.2M
They probably prevent it from starting and later do self checks (checksums), check for wine using other methods and then game-ban accounts in waves to hide how they detected cheating/wine.

There isn't a general way to prevent cheating on open platforms with this kind of game, so it ends up being a kind of cat and mouse game. Think of an aimbot (instantly moves your mouse cursor to an enemy as soon as the enemy is seen) or a wall hack that makes enemies visible behind obstacles. The only way to detect those is to check if your runtime environment is being modified by known methods. Opening a wine front (where you'd somehow have detect Linux processes/a modified wine or even a modified kernel etc.) is probably too costly compared to the number of non-cheating players on Linux.

tobias3··on German regulator says it discovered new illegal software on Daimler diesels
Perhaps someone older can correct me if I am wrong, since this is difficult to research: Here in Germany the tax difference between diesel and gasoline was mainly created in 1991. Gasoline prices were increased to pay for German re-unification and diesel prices weren't taxed as much because of "European tax harmonization" -- I'd say this is code for "we want to remain competitive and lower diesel taxes gives our industry a competitive advantage". To be fair, they increased taxation of diesel passenger cars (yearly fee) as well -- just not enough. So nothing intentional. They needed to increase taxes, gasoline was a convenient target because its price was low compared to previous times or something, they didn't want to hurt the (export oriented) industry, so diesel wasn't taxed as much. Individual consumers looked at total cost of ownership of diesel vs. gasoline cars and started buying the diesel one.
tobias3··on What’s New in Apple Filesystems [pdf]
For internal storage Apple has control over the hardware. They can just choose hardware with better internal error correction/detection, so block level checksumming on the software side doesn't make much sense in this case. For external storage it would be nice, though.
tobias3··on India heatwave temperatures pass 50 Celsius
I'm more pessimistic. People will come up with something to use up all easily available fossil fuels no matter what population size. E.g. via space tourism, the moon being the new Mount Everest. This can easily be seen by how much more CO2 each US-Amercian emits compared to every other person on earth. So your Thanos solution wouldn't even work short term.

The effect also doesn't wear off until you take the CO2 out of the atomsphere and bury/solidify it, which doesn't happen organically within reasonable (for humans) time frames.

tobias3··on Linux apps that run anywhere
If upstream isn't interested in maintaining a stable version (or more realistically doesn't have the resources), someone'll have to fork it, rename it and release it as "stable foo fork". Upstream makes calculated decisions (if you want to be charitable) w.r.t. the resources they have, the new features they want to add, stability etc. If those trade-offs are not what you want, you'll have to use different software. Same applies to e.g. the telemetry. And from experience e.g. Debian maintainers often don't look at the code of the package they publish e.g. jwz's time bomb in XScreensaver, let alone backport bugfixes to the package version from the earliest maintained upstream stable version.
tobias3··on Shipping a Linux Kernel with Windows
So they painstakingly built a Linux syscall ABI into the Windows NT kernel (including tricky stuff like fork()). Then they just abandon that approach and run the Linux kernel in a VM/or something like user mode Linux/coLinux ( http://www.colinux.org/ ). I feel sorry for all the wasted work in WSL1.
tobias3··on Use mmap with care
I solved the problem this way recently as well. This solution would also work with multiple threads (you can probably set the flag in thread local storage, though I haven't done that yet - currently using a global map with thread id as key). Though still not with multiple different signal handlers.

That said, if I could do it over I wouldn't use mmap again. Especially since io_uring is around the corner (on Linux) that allows zero-copy reads/writes with no syscall overhead.

tobias3··on Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled
In my case I don't even know why it needs read and WRITE access to ALL repositories. All I want is for it to build one public repository. It doesn't need any special permissions for that at all.
tobias3··on EU Agencies Falsely Report More Than 550 Archive.org URLs as Terrorist Content
Like https://dweb.archive.org/ ?
← PreviousPage 7 of 13Next →