HNHacker News
TopNewBestAskShowJobs

tobias3

988 karma · joined January 18, 2011

submissionscomments
tobias3··on A fork() in the road
Use O_CLOEXEC everywhere (even third party libs). It's really annoying, but necessary. Means you need to use accept4(), dup3(), popen with an additional "e" (of course all of that needs to be feature tested, during compilation/runtime).
tobias3··on The silent victims of the US embargo against Iran
The EU recently opened a mechanism to allow banks to interact with Iran (INSTEX; https://en.wikipedia.org/wiki/Instrument_in_Support_of_Trade... ). It is realtively recent and idk how much it will be used, but it is not an unsolvable problem (with some overhead).
tobias3··on Germany’s soldiers of misfortune
Theoretically being a importer is even better. You get valuable natural resources, goods, services and labour in exchange to green paper with $ on it (or database entries in banks). One just has to distribute the gains to keep the population satisfied (which military spending does, albeit inefficiently).
tobias3··on Germany’s soldiers of misfortune
Yeah, the main problem was that the weapon is not designed to work in conditions like in Afghanistan. That's why soldiers in Afghanistan (righfully) complained.

Then, the weapon trades of weight (plastic), against accuracy (in long fire fights). And if that is the correct trade-off to make is of course debatable and depends on the usage.

tobias3··on MongoDB removed from RHEL 8 beta due to license
Having read the license it seems like (in MongoDB context) a license where the GPL virality is more explicitly stated to include service mangement sofware. One could already argue that this software is "derived" if it depends on and extents MongoDB.

Couldn't you get in contact with the EFF and work on a more general, more viral form of AGPL, and treat the current license as more of a stop-gap measure? With those viral licenses it is really important to have only a few, so that they are compatible.

tobias3··on Fintech startup Plaid raises $250M at a $2.65B valuation
Well, at least in Germany we kind of have the FinTS protocol to get at the data and don't have to scrape. So less need for an intermediary. I also saw something about EU regulations for bank APIs, but unfortunately not one common API.
tobias3··on OpenZFS vs. Btrfs and other file systems (2017)
I'd say the main problem is that there isn't a fsck for ZFS. If important metadata gets damaged you'll have to re-create the whole file system.

W.r.t. to btrfs they are at least working on a fsck tool, even though it can't repair much yet (what it can repair is e.g. some bitflips caused by bad RAM: https://patchwork.kernel.org/patch/4116411/ ).

And stuff like ext4 or ntfs can get back to a state where one can write to it again in most cases.

Another problem is that many applications don't handle EIO well, i.e. they don't give you an option like "Continue with corrupt data", e.g. if a video file gets damaged it doesn't matter much, it'll just be a few damaged pixels, but the whole video player stops playback because it doesn't handle the IO error.

tobias3··on OpenZFS vs. Btrfs and other file systems (2017)
Maybe APFS was mainly developed for iOS?
tobias3··on OpenZFS vs. Btrfs and other file systems (2017)
XFS wasn't able to handle a lot of extents well (which occur with sparse images). The problem was only recently fixed, I think.

That said, it should only cause memory allocation deadlocks, not corruptions.

tobias3··on Signing Your Apps for Gatekeeper
Microsoft does this with drivers since Windows 10 (attestation singing). I think this is okay, since users hold Microsoft responsible if the kernel crashes and this at least gives them the possibility to investigate.

Signing apps with normal (EV) code signing certificates is the best we have for other apps, I think. If you detect malware signed by a a certificate you blacklist that one and foward information to the relevant criminal authorities. If they don't investigate you blacklist the whole country. That last step is probably the most controversial one, but otherwise you still have a malware problem.

tobias3··on BetrFS: An in-kernel file system that uses Bε trees to organize on-disk storage
TokuDB seems to be written in C++. It's neat that they managed to make that work in-kernel.

Also there are patent notices in the TokuDB files.

So probability of it being in Linux at some point approaches zero. And with the patents they even made the whole technique unviable for any Linux fs (haven't looked at them in detail obviously).

tobias3··on Elon Musk Settles SEC Fraud Charges
At the very least he is a one person marketing machine making people buy pricy cars by a very new car brand using only his twitter account and his personal brand (and shooting one car at mars). Quick googling got me a VW ad budget of more than $6 billion. $40 million is nothing compared to that.
tobias3··on Soviet Collapse Echoes in China’s Belt and Road
The economist had e.g. a leader like this: https://www.economist.com/leaders/2005/06/16/after-the-fall

It is possible to call bubbles, especially if they are as large and data is transparently available. It is really hard to tell the moment when it will pop, especially if it is connected with the government like in the soviet union or in China.

tobias3··on Amazon Dark Patterns
They are kind of useless for other customers. The customer reading the review might get the product from another seller, shipped by another service (might depend on shipping address).

If you think it is the sellers fault, review the seller. If you think it's the parcel delivery service's fault send it back with that as reason. That is signal enough.

tobias3··on Amazon Dark Patterns
Maybe he left a review of the shipping process on another product, the seller reported it and now his reviews are being reviewed?
tobias3··on Adversarial childhood events are associated with Sudden Infant Death Syndrome
That's what happend here in Germany. There was a court case where male circumcision was ruled bodily mutilation. Afterwards they created a law to make it legal only as religious practice (after a lot of discussion).
tobias3··on How did Google get so big?
The EU also cannot prevent Google from buying US startups, furthering they monopoly position. And US startups get more funding because they might be bought by Google.
tobias3··on Farewell, Google Maps
We don't even need to look at the Snowden documents anymore. The largest Internet exchange (DE-CIX) recently lost a court case which tries to get rid of the BND wire tapping.
tobias3··on Show HN: B2blaze – A Backblaze B2 library for Python
This whole library wouldn't be necessary if Backbalze implemented a S3 compatible API. They give reasons like being able to load balance on the client for their API (which I do no think is a good reason), but ultimately they just push work from their end to a lot of applications and developers.

Maybe it also has a strategic advantage? Now every product has to announce they support B2 whereas nobody has to announce they support Wasabi, because they support any S3 compatible storage such as AWS S3, Google Cloud Storage or Wasabi.

tobias3··on Bitcoin backlash as ‘miners’ stress power grids in Central Washington
Last I heard about Venezuela and bitcoins, people there were using the "free" electricity to mine bitcoins, contributing to the rolling blackouts. And then using the bitcoins to import overpriced stuff. Yeah, you shouldn't give people electricity flatrates, because of stuff like this. This is why we can't have nice things, this is why socialism doesn't work etc. But the bitcoin miners are really destructive in this case and not something you should praise.
tobias3··on About ZFS Performance
With bcache one would have a write-back cache, so it would speed up writes as well (which would be superior to L2ARC).

Comparable to the L2ARC would be adding the NVMe as swap and then increasing the mysql buffer cache to 400GB or something (don't know if that would work without issues, though). With zswap that would even have compression.

tobias3··on GDPR: Don't Panic
There is probably a large number of consultants who make money out of getting "GDPR ready" etc. and in whose interest it is to maximize the fear.
tobias3··on Founder who lived with bipolar for years started a company to tackle the stigma
I recently read this: http://slatestarcodex.com/2018/03/22/navigating-and-or-avoid...

(Applies to the US.) Sheds a bit of light on the motivations behind your treatment and how to get better treatment.

tobias3··on ZFS on Linux: Unlistable and disappearing files
Yeah, but the distributions are a bit at fault as well. If you use btrfs on SuSE you cannot use RAID5/6 because it is not supported.
tobias3··on Firefox Product Roadmap
Yeah, one needs to check those extensions one by one for performance problems. My performance problems with Firefox went away when I uninstalled Ghostery a while back.

Firefox is doing a good job about analysing extensions startup performance, but I guess they need to do the same thing for page loads and memory usage. Or integrate the extension functionality into core more.

tobias3··on Object Storage: AWS vs Google Cloud Storage vs Azure Storage vs DigitalOcean
S3 is an abstraction that gives you a limited amount of operations with limited guarantees (e.g. eventual consistency, can only replace whole files). What you get in return is easier scalability and performance. If you use an S3 API to store files (like minio does) you give up power and gain nothing. So you are better off using NFS, samba, webdav, ftp, etc. Additionally minio doesn't seem to sync files to the file system, so you can't be sure a file is actually stored after a PUT operation (AWS S3 and swift have eventual consistency and Ceph has stronger guarantees).
tobias3··on Object Storage: AWS vs Google Cloud Storage vs Azure Storage vs DigitalOcean
Plus the SLA is different. It probably should be compared to at least AWS S3 reduced redundancy storage.
tobias3··on Object Storage: AWS vs Google Cloud Storage vs Azure Storage vs DigitalOcean
OpenStack Swift or Ceph with Ceph Object Gateway. Don't use minio, it's a toy for testing.
tobias3··on How did Google Talk change from a dream to a nightmare?
It used libpurple to connect to the chat networks -- same as Pidgin :)
tobias3··on Windows for Linux Nerds
I'd say you pin can pin it down mostly to those reasons:

* Do you have active snapshots (vssadmin list shadows)? Halves random writes to disk in the worst case.

* Do you have USN journaling enabled (fsutil usn queryjournal c:)? Adds extra IO to meta-data operations.

* NTFS/FAT is optimized for fast directory listing speed so modifying files also modifies directory entries. Nothing one can do about that (except being aware of that and designing programs with this in mind).

* Windows doesn't keep as much dirty fs data in fs-cache. I know of no way to change that. One can probably, if one uses a Windows Server OS.

* Is a on-access Virus scanner active? If yes, one cannot compare performance to Linux. It's a massive bottleneck.

← PreviousPage 8 of 13Next →