Better HN
topnewbestaskshowjobs
Log inSign up

vmp

185 karma · joined Aug 28, 2014 (12y ago) · 67 submissions

[ my public key: https://keybase.io/hschumann; my proof: https://keybase.io/hschumann/sigs/FjrCBh5pU9PBDrlbU1dQn7yk4I4XqXOhM04NGdwavVQ ]
Submissions

comment 5y ago · link · parent

I made a web-extension to add PassMark benchmark results to processors and mainboards with embedded CPUs to allow you to compare the best price per performance: https://addons.mozilla.org/en-US/firefox/addon/sharkys-geizh...

It really helped me make some decent budget builds.

Tried to publish it to the chrome extension store as well but they removed it. Honestly just use Firefox, google is garbage.

comment 6y ago · link · parent

I suffer from borderline personality disorder and it's rough but usually treatable with lots of therapy and learning of "skills."

The covid crisis made my issues boil over to the point of losing relationships, friendships and attempting to take my own life twice (before I found the therapist).

comment 6y ago · link · parent

If I made a facemask with that printed on it (as a QR code or whatever) would google stop trying to identify my face? Or would that paint a huge red target on my face?

comment 7y ago · link · parent

OpenWRT is awesome. Though I have my own story of woe: they switched a very specific WiFi driver implementation to another one which completely broke my 5GHz wifi, it leaked kernel-memory until the AP became unresponsive (fast). Though OpenWRT is so awesome that even someone like me who has no experience with embedded hardware can compile a new firmware with the old WiFi driver and it worked! :)

comment 7y ago · link · parent

(meme) I figured out why the google outage took a while to recover: https://i.imgur.com/hzcLx5X.png

comment 8y ago · link · parent

Personally, I've only ever had issues with Ubuntu Server and have since switched back to Debian.

I don't know if I'm extremely unlucky or if the choices I make are really that bad;

- I've hit a bug with amavisd and bitdefender[1]

- Recently, Ubuntu pushed for 'netplan' instead of ifupdown and that didn't work with an empty bridge for LXC[2][3]

- They broke a (convenience) script for remotely unlocking a LUKS rootfs[4]

- postconf segfaulting every 5 minutes[5], nothing bad but it just looks ugly in the server logs

That's the major annoyances that I've experienced in the last 3 years. Never had anything like it on Debian. :/

[1] https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1...

[2] https://bugs.launchpad.net/netplan/+bug/1736975

[3] https://bugs.launchpad.net/netplan/+bug/1773997

[4] https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/16518...

[5] https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/17534...

comment 8y ago · link · parent

I wrote a lightweight DNS proxy for this purpose in python+twisted and sqlite3: https://gitlab.com/Sharky/blocklist2bind/blob/master/twisted... which also works really well on a RaspPi 3 with pypy3.

comment 9y ago · link · parent

The next default compressor might be lrzip [1] by Con Kolivas; I've only see it a couple of times in the wild so far but for certain files it can increase the compression ratio quite a bit.

[1] https://github.com/ckolivas/lrzip

  # 151M    linux-4.14-rc6.tar.gz
  # GZIP decompression
  ~$ time gzip -dk linux-4.14-rc6.tar.gz

  real    0m4.518s
  user    0m3.328s
  sys     0m13.422s

  # 787M    linux-4.14-rc6.tar
  # LRZIP compression
  ~$ time lrzip -v linux-4.14-rc6.tar
  [...]
  linux-4.14-rc6.tar - Compression Ratio: 7.718. Average Compression Speed: 13.789MB/s.
  Total time: 00:00:56.37

  real    0m56.533s
  user    5m35.484s
  sys     0m9.422s

  # 137M    linux-4.14-rc6.tar.lrz
  # LRZIP decompression
  ~$ time lrzip -dv linux-4.14-rc6.tar.lrz
  [...]
  100%     786.16 /    786.16 MB
  Average DeCompression Speed: 131.000MB/s
  Output filename is: linux-4.14-rc6.tar: [OK] - 824350720 bytes
  Total time: 00:00:06.35

  real    0m6.524s
  user    0m8.031s
  sys     0m1.766s

  # Results
  ~$ du -hs linux* | sort -h
  137M    linux-4.14-rc6.tar.lrz
  151M    linux-4.14-rc6.tar.gz
  787M    linux-4.14-rc6.tar

tested on WSL (Ubuntu BASH for Windows 10)

edit:

  ~$ time xz -vk linux-4.14-rc6.tar
  linux-4.14-rc6.tar (1/1)
    100 %        98.9 MiB / 786.2 MiB = 0.126   3.0 MiB/s       4:25

  real    4m25.189s
  user    4m23.828s
  sys     0m1.094s
  
  ~$ du -hs linux* | sort -h
  99M     linux-4.14-rc6.tar.xz
  137M    linux-4.14-rc6.tar.lrz
  151M    linux-4.14-rc6.tar.gz
  787M    linux-4.14-rc6.tar
It looks like XZ still has the best compression ratio but also took the longest (real)time.

comment 9y ago · link · parent

> ifupdown has been deprecated in favor of netplan and is no longer present on new installs [...]

> Given that ifupdown is no longer installed by default, its commands will not be present: ifup and ifdown are thus unavailable, replaced by ip link set $device up and ip link set $device down.

Sad to see this go; I always use ifup, ifdown and ifconfig. Yes, they're old and clunky tools but in a way they are the staple of a proper Linux installation to me.

Not to mention that it's quite a handful to write out "ip link set $device up".

comment 9y ago · link · parent

The address, 7 out of 16 characters are fixed.

comment 9y ago · link · parent

Maybe reducing the entropy by almost half for a vanity key/domain name wasn't such a good idea.

comment 9y ago · link · parent

I had to turn off DNSSEC support for my Bind9 at home, from time to time pages wouldn't resolve or it would take up to 10 seconds (ages!). When I checked the logs it was something about EDNS packet sizes that tripped it up. Turned EDNS off (and DNSSEC with it) and had no issues what so ever. It's a pretty standard installation with a few master zones and it's resolving queries directly - without forwarding to ISP or GoogleDNS or anything.

comment 9y ago · link · parent

A shame, but understandable. :)

comment 9y ago · link · parent

> Available to all G Suite editions

Sounds like only to G-Suit customers, maybe they expand to everyone at a later date.

I just checked my free (grandfathered) GSuite account and there is no option for it (yet?).

comment 9y ago · link · parent

I had not heard of this, I'll check it out, thanks!

comment 9y ago · link · parent

Gogs for lightweight git repo hosting, works great, zero maintenance.

comment 9y ago · link · parent

When I tried to reset my ICQ password they wanted me to message 5 friends and have them vouch for me, people with whom I haven't talked in 15 years.. otherwise they wouldn't unlock my account which is coincidentally, for some unapparent reason, in some sort of restricted mode where I can't send any messages. Support would not budge and unlock my account even after I provided ample proof.

Why is it more difficult to get back in to my 20 year old ICQ than it is to reset any other password I have, even "high security" sites like Bitcoin exchanges or Domain Name providers.

comment 9y ago · link · parent

This article hit close to home, albeit my contact with a cyberstalker was (thank god) very brief it was a nerve-wrecking experience, to which end I panicked and deleted a lot of accounts and profiles in an attempt to make it harder to track my online activity. I was scared the stalking and harassment would become more personal, "leaking" in to the real world -- but it thankfully did not.

A lot of the (non-technical) internet users probably don't know how easy it can be to link an online identity to your person, be it through handle (nickname) re-use or simply having a pattern of likes and dislikes or hanging out with the wrong crowd. Once the connection is made you have nothing left to shield yourself with and will have to, like the person in this article, deal with it on a daily basis.

I've since grown up a little, grown a thicker hide and conquered my paranoia to a degree thanks to therapy, and have started to comment and share online again but the fear of coming across the wrong person with too much time on their hands still feels chilling to me.

Garry Newman (the guy behind "Garrys Mod" and "Rust" (game)) published[1] a rather interesting chain of emails, a peek in to the mind of his stalker.

[1] https://garry.tv/2015/11/10/stalkers-and-abuse-part-1/

comment 9y ago · link · parent

I use ZoL for my home-server (5x3TB RAIDZ) and couldn't be happier, never had an issue too. The features really spoiled me compared to other filesystems/volume-managers. The only issue that irks me is that I can't resize a pool after it was created, can't add new disks, can't remove one (without risking parity).

Recently I tried running a simple BTRFS SSD Mirror for only a single KVM virtual machine, I thought compression would be neat since they are just two cheap 120GB SSDs and I wanted to have a spare if one of them gave up the ghost.

At first everything was great but after I ran a btrfs scrub, and it found ~4000 uncorrectable errors, my VM was broken beyond repair and had to be restored from backup. The SSDs SMART data was fine, there weren't any loose cables, everything worked great, no reported (ECC) memory errors... I have no proof but it seems that BTRFS just decided to destroy itself.

I have since moved my SSDs to a ZoL mirror and (after running scrubs every two days for two weeks) had no further corruption, silent or otherwise. To me, this means that btrfs just isn't stable enough for production use - while ZoL is.

comment 9y ago · link · parent

Same here :/ It seems that IPv6 is a mere afterthought for most content providers - like Linux ports for popular Games... or civil discussion on forums. ;)

The weirdest thing I noticed in the past was, that IPv6 via Tunnelbroker.net actually worked better than ISP-provided-native-v6, though I haven't tried using a tunnel in a long time.

comment 9y ago · link · parent

Off-topic: If only IPv6 adaptation would have as much momentum as HTTPS.

comment 9y ago · link · parent

> The function body is well indented

To be fair, there is only one level of indentation. Kind of difficult to screw that up.

comment 9y ago · link · parent

I don't suppose CandyJapan has something for the lactose intolerant? :)

comment 9y ago · link · parent

I've been wondering since this began, is there any reason as to why someone would open up their file server/shares to the internet? I remember reading somewhere that SMB wasn't designed for WANs and seems like a terrible choice to put on the internet (even without the security risk).

comment 9y ago · link · parent

Any particular reason why there isn't any HTTPS?

comment 9y ago · link · parent

I made my own little debugging SMTP server in C# some time ago: https://github.com/vmp32k/MailBug/releases

It's not pretty but it works well enough. :)

comment 9y ago · link · parent

If only it were available in Germany. :(

comment 9y ago · link · parent

(off-topic) 27:08 - 27:09 - glad to see even official (?) Windows People have that random task-bar flicker glitch.

comment 9y ago · link · parent

For some reason I cannot reply to your message directly, only to a parent.

Flashbench [1] should be able to tell you what the erase-block and page size is.

[1] https://github.com/bradfa/flashbench

123