HNHacker News
TopNewBestAskShowJobs

tobias3

988 karma · joined January 18, 2011

submissionscomments
tobias3··on Raspberry Pi 400 Desktop PC
There is a sticky thread in the forums and such threads are always just the tip of the iceberg: https://www.raspberrypi.org/forums/viewtopic.php?t=245931

My guess: The VL805 USB 3.0 UAS is broken.

tobias3··on The Nordic concept of friluftsliv – outdoor life
No, that isn't it. Have you been to say the US or Australia (both very low density)? "Private property NO TRESPASSING" signs everywhere. Very few official trails. If you want to walk from A to B you better have one of those trails or you find yourself walking next to a road (without sidewalk).

Compared to here (high population density, Germany) or say the Alps, where you can use any road used for forestry or farming. The only thing you can't access is small gardens in relatively high density villages.

tobias3··on Netflix is creating a problem by cancelling TV shows too soon
They canceled "Teenage Bounty Hunters" which didn't look expensive (no idea if it was). It was a bit uneven but had good, witty writing. IMO could have hit its stride in following seasons and become a cult series.
tobias3··on Durability: NVMe Disks
Here is a post from him: https://lore.kernel.org/linux-btrfs/20190623204523.GC11831@h...

TLDR: Very few drives don't implement flush correctly. Notice that he mainly uses hard disks, not SSDs/NVMe. Failure often occurs when two (usually rare) things occur at once. E.g. remapping an unreadable sector while power-cycling.

tobias3··on US bans WeChat, TikTok from app stores, threatens shutdowns
"SWIFT" is already in Belgium and INSTEX isn't a SWIFT replacement.

This isn't a technical problem (one can transfer money other ways as well, for example). If an entity does business with Iran it risks being put on the US Entity List (think Huawei) or other sanctions. US influence currently is still far reaching and many businesses don't want to risk (future) complications for little gain (Iran isn't that large of an economy). The calculus changes if it is a market as large as China, though.

tobias3··on Btrfs Coming to Fedora 33
Synology has solved it by running btrfs on top of mdraid, then patching it so that btrfs reports errors to mdraid and putting repair code into mdraid. This reliably works.

I'm sure some would be interested in this, but Synology seems to not take GPLv2 too seriously and nobody seems to care about this.

RAID 5/6 in btrfs is relatively neglected because the big users that pay developers to work on btrfs (and put the work up-stream) don't care that much about it. E.g. Facebook is probably using it for their HDFS storage, so HDFS gives them the RAID functionality.

tobias3··on US to ban transactions with ByteDance and WeChat in 45 days
China does it, so it is okay for us to do it is just a very weak defense of this behaviour for us looking at this from outside of China and the US.

The US stood for free markets, democracy and human rights and (at least) pretended to make international decisions based on those values. Now the fig leaf is gone and it is clear that those are mostly used to make transactions to US benefit even if it comes at the cost to others.

If you value something like free markets, you stand by it even if it comes at a cost in the near future. If opaque TikTok recommendation engines are a problem, maybe regulate them in a way that solves the problem in general? That would hurt Youtube, Facebook and co. but it also would make the EU more comfortable in the negotiation for the Privacy Shield successor.

tobias3··on How Nespresso's coffee revolution got ground down
I depends. If you have an espresso machine with a pressurized basket it would kind of work even with too coarsly ground coffee. But coffee snobs will tell you that then you don't get proper extraction (i.e. weak taste) and that it would be more consistent but also consistently not optimal.

If you don't have a pressurized basket you really need to dial in the grind setting for each coffee, have a good grinder that doesn't make the machine choke and have a good machine that doesn't "channel", i.e. a lot of effort to make consistent shots.

tobias3··on Ask HN: If WinServer2019 was made free to use tomorrow,would you start using it
Also currently there is a bit of an incentive to make it user friendly.

If it becomes "consulting-ware" like Linux there would be an incentive to make it user-unfriendly and complicate it with high costumizability, bad UI and bad defaults.

tobias3··on Openstreetmap, a global map for worldwide insight
The indication that it is "dying" is that they are blocking your server/app? They state pretty clearly that you should use your own tile server or use a commercial tile service if you are a heavy user: https://operations.osmfoundation.org/policies/api/ https://wiki.openstreetmap.org/wiki/Commercial_OSM_Software_...
tobias3··on Cryengine Source Code
With modern C++ you could do this with a lambda
tobias3··on Sensors detect rise in nuclear particles on Baltic Sea
Yeah, I was surprised that there are a handful of reactors of the same type as Chernobyl (RBMK-1000) still online. For example west of St. Petersburg ( https://en.wikipedia.org/wiki/Leningrad_Nuclear_Power_Plant )
tobias3··on Performance/Avoid SQLite in Your Next Firefox Feature (2014)
Sure, use WAL journal mode and then run "PRAGMA synchronous=NORMAL". Documentation is at https://sqlite.org/pragma.html#pragma_synchronous . The default is FULL (compile time option SQLITE_DEFAULT_SYNCHRONOUS ) which makes SQLite durable, but naturally causes a fsync() at every commit. With NORMAL it only runs fsync() once it checkpoints from WAL to db file.

I run it with synchronous=NORMAL, but set it to FULL for specific transactions which I want to be durable. Then I turn off auto checkpointing and manually run WAL checkpointing in another thread once it is relatively large. That way it runs fsync() really rarely. That more performant setup is a bit complicated (and error prone) so it is no wonder that it is rarly done. Though I hope Firefox does it nowadays.

tobias3··on America is giving up on the pandemic?
We had large BLM demonstrations yesterday here in Germany. Demonstrators did not follow Corona virus rules (compared to e.g. fridays for future). If COVID-19 spreads in those circumstances (outside, mostly with masks, but close contact + chanting), this'll have been the last of those demonstrations here.
tobias3··on Microsoft Defender SmartScreen is hurting independent developers
For open source apps: Perhaps have a build service (Azure+github) that builds the software from source, then automatically signs it. Perhaps have some kind of application + manual review + requirements (like Github 2FA) process. Scanning for malicious source code would help a small bit as well.

For individuals: Some countries have an electronic identity system (eID), that would allow verification of name + address when code signing while being as secure/more secure than the usb sticks one gets for an EV certificate + the EV address/identity verification process. Because there is no standard this would be a lot of per-country work. And some countries don't have a (good) eID system (or an ID system at all). I only know the technical details of the German one and that one would work.

For businesses: EV certificates shouldn't be too much of a cost there. Though I am annoyed by the lack of competition driving the prices down in this area. Maybe make it easier for new authorities to enter the market?

tobias3··on Google bans Podcast Addict app over non-approved Covid-19 content
Podcast Addict shouldn't be banned for non-approved Covid content.

When I tested the version of Podcast Addict with ads, it started reloading ads in the background and going through my battery and data allowance. The developer wasn't able to figure out and fix the problem. Just did a quick search and the last time someone wrote about this problem is a year ago (on reddit). Maybe it is fixed now? I would be okay with an app being banned for such bug, btw. It's app bugs like this that cause the ever stricter background service restrictions on Android (until it's like iOS and just not possible anymore).

tobias3··on Introduce ZSTD compression to ZFS
In this case it could use the Linux crypto API, which already has ZSTD support and provides compress/decompress functions. But that is exported as GPLv2 so ZFS needs to do its own thing. And idk if the API is sufficient w.r.t. to e.g. workspace management/reuse.

W.r.t. to ZSTD: The usual thing is to provide a zlib compatible API, which ZSTD does ( https://github.com/facebook/zstd/tree/dev/zlibWrapper ). But the ZSTD zlib compatibility layer causes lower performance, so it is better to use it directly. Maybe all future compression algorithms can provide a ZSTD compatible API, so we have to do less work in the future?

tobias3··on 92 of top 500 subreddits controlled by same 5 people
Would that be legal in the US? (Intentionally deleting/promoting material as moderator without disclosing that you have been hired to do so and marking it as advertisement)
tobias3··on Make LLVM Fast Again
Specifically GPLv3. One reason, I think, is the tivoization clause. Users must be able to modify GPLv3 software and then run the modified version. If they included a GPLv3 bash into iOS, iOS users must be able to modify bash and use the modified one instead.

Your synth example is a good one actually. As a synth owner, I'd probably love to be able to replace the software on it with modified versions from the Internet or modify it myself. Linux is GPLv2, though.

How that morphed into disallowing GCC, idk. Maybe they want to prohibit users from installing their own compilers at some point?

Others have mentioned the patent clause. That one seems reasonable as well. In fact LLVM uses the Apache 2.0 license which also has a patent grant, albeit with a smaller scope. Apple could probably file a patent for a feature, then get a university department to implement that feature, then sue other LLVM users (like Sony). With the GPLv3 that loophole does not exist.

tobias3··on Stock buybacks are dangerous for the economy
It's not really a rebuttal, it's more of a description of how deeply flawed the system is. Given all currently available information CEOs should choose stock buybacks again.

If they need to be rescued now they should be regulated like other industries that are critical but don't seem to be able to weather crisis on their own (like banks), e.g. minimum cash reserve requirements with stress testing.

tobias3··on Finding Mona Lisa in the Game of Life
This is addressed since forever in the comp.compression faq http://www.faqs.org/faqs/compression-faq/part1/ see "9.2 The counting argument" and the link there to http://www.dogma.net/markn/FAQ.html#Q19
tobias3··on S&P 500 triggers 15-minute trading halt for the second time this week
The argument would be that there's too much savings chasing too few investment opportunities. That causes investment to become speculation with periodical bubbles that do nothing to direct investment into productive areas.

The thing is, there is so much opportunities with long-term pay-off. E.g. high speed rail, transitioning to renewable energy, research into new technologies, etc. they just seem to lack political/societal (or generational...) will?

If the FED or EZB starts buying stocks like the BOJ, like some economists already propose, I'll see that as direct transfer to retirement savings btw. and further encouraging misdirected investment, especially if there is even a notion of doing it for propping up the stock market and not to increase inflation. Needless to say, I'd be very angry about that.

tobias3··on Why ZFS is not good at growing and reshaping pools, or shrinking them
Ok, to be correct it is one of the factors. (one extra random write per hard link is a lot). Add another extra write to the Windows change journal and you probably have 3x the random writes per hard link compared to Linux (discouting active shadow copies which can additionally double that to 6x).
tobias3··on Why ZFS is not good at growing and reshaping pools, or shrinking them
As far as I know it is a fundamental design difference between btrfs and ZFS. Btrfs has extent back references. Given a location on disk btrfs has an efficient data structure that gets from the disk location to the items using that disk location. E.g. if a sector on disk gets corrupted it has a command that lets you list all the the files using that sector. With ZFS you'd have to iterate through all files, list block locations and check if one of them is affected. Of course such an additional index comes with a performance cost for managing that index (any kind of write or delete operation plus more metadata space used). On the top of my head this is used for rebalance, quota groups, device removal, send/receive (finding reflinks) and file system shrinking.

For a similar trade off compare hard links on Windows vs. ext4 and co. on Linux. On Linux there is no command to list all hard links to a file while Windows (NTFS) has one (FindFirstFileName etc.). This is why creating hard links on Windows is much slower and there is a limit of 1024 hard links to a file. To find all hard links to a file on Linux one would need to iterate over all files and check if they have the same inode number, however.

tobias3··on Five Years of Btrfs
I had a ZFS bug once where they increased the amount reserved in a new release which caused my file system to be 100% and me unable to delete anything until I went back to the previous release.

Btrfs uses the the disk completely. This is harder to do (also compared to e.g. ext4 reserving a fixed amount of inode space which may be unused when the disk is full). At some point they added an in-memory "global reserve" metadata space which allows you to delete stuff even if the file system is full.

tobias3··on Five Years of Btrfs
So they have fixed the last big hurdle to btrfs adoption in the small (single node) NAS space and are just sitting on it (violating the GPL). I urge any Synology user to write them to send you the Linux kernel source then upload it somewhere... though, their last Linux kernel drop seems to have been in 2017, so not much hope there...
tobias3··on Carbon Capture and Storage is necessary to keep global warming below 2°C
Yeah, everything every individual or even individual country does doesn't matter in the grand scheme. That's kind of the problem (tragedy of the commons). One way to break the tragedy of commons is to lead by example, take the societal high ground, pressure others to join and finally shun everybody that doesn't participate. E.g. Norway could press the stop button, they'd be poorer (but other countries aren't lucky and don't have any oil) it wouldn't reduce CO2 output much over the short term, but maybe that would put other countries on the path to do it as well.

In general the more upstream the taxation the easier to implement (it would be easy to simply tax the oil an oil rig produces), while the tax income would be probably fairer distributed if the tax is at the more consumption level/downstream.

tobias3··on Carbon Capture and Storage is necessary to keep global warming below 2°C
My intuition is that it would be almost always cheaper to pay e.g. Norway and Saudi Arabia to not pump out the captured carbon (in form of fossilized plant matter) in the first place, instead of pumping it out in the form of oil, burning it, then capturing the CO2, liquifying it and finally pumping it back underground where hopefully it doesn't bubble up again. But that would be the problem a world-wide carbon emission trade/carbon tax would solve...

Weirdly, I always see oil nations such as Norway here or Saudi Arabia pushing for CCS, as if this solution would be in their interest... while really reducing CO2 emmissions for them would be as simple as pushing a stop button.

tobias3··on WordPad Is Gettings Ads in Windows 10
Do you have any source on that?

Specifically, it has the option to enable a "Diagnostic Data Viewer" that shows the data it sends (as JSON). I've just enabled that, so there is not much to see, but so far it has only transmitted version information of OS software components.

(Mini-) crash dumps can contain all kinds of information but that is kind of unavoidable. As a developer, I'm gratefull whenever I get a core/crash dump, but yes, it shouldn't be automatic.

Here's a full list of data it seems to send https://docs.microsoft.com/en-us/windows/privacy/windows-dia... (at full telemetry level)

tobias3··on How to Corrupt a SQLite Database File
Of course fsync() sends a flush to the disk (unless you use non-standard mount options or "eatmydata"). They may not honor the FUA bit, though, but hopefully nobody relies on this if they expect it to work with consumer disks (See e.g. here https://devblogs.microsoft.com/oldnewthing/20170510-00/?p=95... ).

What I have heard is that some disks have problems if they are on a error recovery path. E.g. they have a corrupt sector or a sector that needs reallocation (pending sector), and then they have a power failure while the sector is reallocated.

← PreviousPage 6 of 13Next →