ttanev's comments

ttanev | 2 years ago | on: Making a Linux home server sleep on idle and wake on demand – the simple way

It is not as hard, but requires a device in the middle to send the magic packets from time to time. Using my home desktop like this for years, 10 years ago it was a native feature of my tomato based router back then. Today it is with a small script that sshes into the openwrt router and sends the magic packet to the PC, but very similar in terms of UX.

ttanev | 2 years ago | on: The Ancient Order of Bali

Never ignore centuries old knowledge, seek to understand it first before trying to use modern methods for agriculture. The article is exactly about the story around understanding why old methods for agriculture worked better than modern ones.

ttanev | 3 years ago | on: Framework announces AMD, new Intel gen, 16“ laptop and more

I for one was waiting for a touch screen option as well, but this sounds easier than the AMD part sounded awhile ago. And they will probably add it as an option at some point, their track record for listening to what their users are saying in their forums is awesome so far.

ttanev | 3 years ago | on: A Linux Evening

Heartwarming, thank you so much for sharing this experience with us. :)

ttanev | 3 years ago | on: Ask HN: What do you use VMs for regularly?

Tl; dr: this setup is probably very close to the GPU pass-through (with a twist) many folks are using for GPU-heavy use-cases in a VM already, so not sure if it could be classified as unusual.

At work, we use VMs with NIC virtual function interfaces (https://www.kernel.org/doc/html/latest/driver-api/vfio.html) from the hypervisor for first line of validation for our product (full disclosure: part of the quality and automation team at StorPool Storage), so that we can have an environment both close to the production systems with network hardware acceleration enabled in the VM (i.e. kernel bypass) and easy to reproduce and re-create. There are some limitations and setup quirks with different orchestrations, but they are not live-migrated anyway, so not really an issue.

At home the main usage is for isolated environments (not unusual), and recently to be able to access a ZFS in an older Freenas/Freebsd zpool drive (the Ubuntu ZFSoL could not detect it for some reason, haven't looked into it more). I was a bit surprised that passing through the whole storage controller with the sole SATA disk behind it (the host root OS is on an NVMe) is actually slower than attaching to the VM as virtio raw disk (i.e. /dev/sdN).

ttanev | 3 years ago | on: Ask HN: Which programming games helped you become a better programmer?

I'll reply mostly on 2. - most of these were already mentioned in the previous thread - [0] Grasshopper, [1] SpaceChem (awhile ago), [2] 7 billion humans (haven't finished it yet, and haven't played for a while), [3] Human Resource Machine and [4] TIS-100. They mostly help to build habits, and persistency, not just being fun.

The "real world" always provides much more interesting "gameplay", but it is sometimes with a too steep learning curve. :)

Edit: And I've been ninja'd by another user, but just remembered that there is another in my wishlist - [5] Baba is you (haven't played it, though)

[0] https://grasshopper.app/ [1] https://zachtronics.com/spacechem/ [2] https://tomorrowcorporation.com/7billionhumans [3] https://tomorrowcorporation.com/humanresourcemachine [4] https://zachtronics.com/tis-100/ [5] https://www.hempuli.com/baba/

ttanev | 3 years ago | on: Ask HN: What are some good inspirational and uplifting books?

I'd strongly suggest Simon Sinek:

https://www.goodreads.com/book/show/7108725-start-with-why

https://www.goodreads.com/book/show/16144853-leaders-eat-las...

presently reading:

https://www.goodreads.com/book/show/38390751-the-infinite-ga...

Before these, I've really appreciated:

https://en.wikipedia.org/wiki/The_7_Habits_of_Highly_Effecti...

Someone already suggested Man's Search for Meaning by Viktor E. Frankl:

https://www.goodreads.com/book/show/4069.Man_s_Search_for_Me... ...and I absolutely agree!

Next in my queue is Flow by prof. Mihai Csikszentmihalyi:

https://www.ted.com/talks/mihaly_csikszentmihalyi_flow_the_s...

Happy reading! :)

Edit: formatting

ttanev | 3 years ago | on: Bash-oneliner: A collection of handy Bash one-liners and terminal tricks

A really nice list, thanks a lot for sharing! :)

I'd add this when a filesystem gets almost full (but not overfilled, see below). This shows where most of the space goes:

  # du -axm / | sort -n | tail # takes a while on large filesystems, or ones with lots of files
Then narrow down for each of the most filled directories:

  # du -axm /some/dir | sort -n | tail # subsequent searches are fast, now that metadata is cached.
In case there is no space at all, sort will complain if the /tmp directory is on the same fs, then the only option is to search any suspect directories with du -sm $dir

And about this one: https://github.com/onceupon/Bash-Oneliner#using-ctrl-keys

A bit surprised that the Ctrl+b(ack one...) and Ctrl+f(orward one char) shortcuts are not included.

As well as their Alt+b/f for a word back/forward too. Very convenient for going through a long command by getting in the beginning or the end of the line, then move words back/forth to update it.

ttanev | 4 years ago | on: Bash Pitfalls

A very happy and grateful user here, jumping in here just to thank you for the time and efforts to create this one! It saved me many hours of debugging after stupid midnight-coding-sessions mistakes. We even have it in our coding-style internal guidelines for some time now.

ttanev | 4 years ago | on: I was deceived about Covid vaccine safety

My fiancee had previous issues with vertigo, and few weeks after getting COVID this got as bad as it was ever before. Took her a few months to recover fully, thankfully. A neighbor lady also reported she started having balance issues, though after a vaccine (not sure which one, but I guess it should have been Astra Zeneca). Most of my friends that have contracted the virus around me are reporting that whatever they had issues with before, worsened.

For me on the other hand there were no particular issues after the virus, though I certainly don't have the same strength I had before. Haven't yet vaccinated, as I've been instructed by my GP not to yet (still have ~600 bau), my next test is in 10 days. Still researching which vaccine is safest.

ttanev | 4 years ago | on: Mozilla Rally

If it was working correctly though. On the desktop version it seems to be working almost flawlessly, but on mobile it requires an internet connection when you're reopening a tab in reader-view mode which is a bit odd. I'm starting to thing this is probably due to the existence of pocket integration (there's an old bug report).

And the fact that we are connected 99.9% of the time doesn't make it less annoying on the next flight (whenever that will be in this pandemic :)).

page 1