News for hackers. Stuff that matters.

vmp

Re:Geizhals – Tech Product Price Comparison and Tracking on Saturday September 11, 2021 @12:48PM (#28493439)
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.

Re:Ask HN: Are you depressed? on Saturday November 14, 2020 @08:29PM (#25097295)
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).

Re:Google Widevine Content Decryption Module DMCA on Friday November 13, 2020 @06:13AM (#25081140)
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?
Re:OpenWrt 18.06.4 on Thursday July 04, 2019 @03:18PM (#20357016)
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! :)
Re:Google Cloud Networking Incident Postmortem on Friday June 07, 2019 @05:12AM (#20122880)
(meme) I figured out why the google outage took a while to recover: https://i.imgur.com/hzcLx5X.png
Re:Ubuntu 18.10 Cosmic Cuttlefish Released on Friday October 19, 2018 @08:31AM (#18256228)
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...

Re:Pi-Hole: Why You Need a Network-Wide Ad-Blocker on Tuesday August 07, 2018 @05:48AM (#17705062)
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.
Re:An ode to pack: gzip’s forgotten decompressor on Monday October 23, 2017 @10:09AM (#15533250)
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.
Re:Ubuntu 17.10 Artful Aardvark released on Thursday October 19, 2017 @06:03AM (#15506678)
> 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".

The address, 7 out of 16 characters are fixed.
Maybe reducing the entropy by almost half for a vanity key/domain name wasn't such a good idea.
Re:Ed25519 for DNSSEC on Wednesday September 27, 2017 @09:31PM (#15353826)
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.
Re:Drive File Stream launching to all G Suite customers on Friday September 08, 2017 @10:46AM (#15200548)
A shame, but understandable. :)
Re:Drive File Stream launching to all G Suite customers on Friday September 08, 2017 @10:06AM (#15200222)
> 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?).

Re:Ask HN: What are your favourite self-hosted tools? on Monday August 28, 2017 @06:12AM (#15115571)
I had not heard of this, I'll check it out, thanks!
Re:Ask HN: What are your favourite self-hosted tools? on Saturday August 26, 2017 @12:25PM (#15106108)
Gogs for lightweight git repo hosting, works great, zero maintenance.
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.

Re:I’ve Had a Cyberstalker Since I Was 12 (2016) on Friday July 28, 2017 @02:12AM (#14872345)
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/

Re:ZFS on Linux v0.7.0 released on Wednesday July 26, 2017 @11:52PM (#14862570)
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.

Re:42.be (IPv6 only) on Saturday July 15, 2017 @08:33PM (#14779861)
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.

Re:Life Is About to Get Harder for Websites Without HTTPS on Wednesday July 12, 2017 @12:20AM (#14750106)
Off-topic: If only IPv6 adaptation would have as much momentum as HTTPS.
> The function body is well indented

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

I don't suppose CandyJapan has something for the lactose intolerant? :)
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).
Re:Njalla – A privacy-aware domain registration service on Sunday April 23, 2017 @09:16AM (#14178034)
Any particular reason why there isn't any HTTPS?
Re:Show HN: Fake SMTP server as a service on Monday April 03, 2017 @11:33AM (#14023530)
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. :)

Re:Hackers Stole My Website on Wednesday March 22, 2017 @05:04PM (#13934944)
If only it were available in Germany. :(
Re:Bash and Windows Subsystem for Linux Demo [video] on Tuesday February 21, 2017 @11:08AM (#13696520)
(off-topic) 27:08 - 27:09 - glad to see even official (?) Windows People have that random task-bar flicker glitch.
Re:Dd is not a disk writing tool (2015) on Sunday January 08, 2017 @07:35AM (#13349458)
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

Re:My Watch Runs GNU/Linux on Friday January 06, 2017 @04:59AM (#13335138)
Does it run Doom? :-)

Older »