HNHacker News
TopNewBestAskShowJobs

Jhsto

2,841 karma · joined November 20, 2012

For NixOS stuff reach me at juuso@ponkila.com For research, GPGPU, and APL stuff juuso.haavisto@cs.ox.ac.uk is more appropriate

juuso.dev

submissionscomments
Jhsto··on Popcorn Time Is Back
I use Plex. There is a music focused player called Plexamp which I use on iOS. This allows also offline downloads. IIRC you need the Plex Pro subscription, but that's around $100 one-off payment.
Jhsto··on Popcorn Time Is Back
Given some of the people here might run their own servers, the self-hosted alternative is to have something like Sonarr PVR for newsgroups and torrents, alongside a tracker indexer like Jackett, and then Plex for the frontend. In this combination, you "subscribe" to TV shows and select movies on the Sonarr system, and then the downloading is taken care for you even when new episodes arrive. These will then appear on Plex which is refreshed by the pipeline automatically. The system integrates with private trackers and is capable of maintaining your seed-ratio if that's important.

I recently fell into this rabbit-hole while trying to organise my music. For music there is Lidarr, which also ID3 tags your music and reorganizes it into folder structures. This is convenient since organizing anything using Plex is a nightmare.

Jhsto··on GGPoker awards pot to wrong hand
It seems there was a conditional which resulted in different players in the same table playing different versions of poker, hence why one of the queens were discarded in showdown: https://www.reddit.com/r/GGPokerCommunity/comments/vltp0x/st...

How this has ever gotten into production code, I don't know. Same question goes for legal licensing.

Jhsto··on Ask HN: Will online voting require to trust crypto experts?
This also applies in more general sense: will some aspects of formal verification (thus programmers) turn into tools of legislation and government oversight? In the other crypto field, cryptocurrencies, some have called for formal specifications to be one aspect that projects should include to become available in certain legislations. Although, the problem remains the same as with the OP: only a handful of people are able to review the proofs, which partly renders the usefulness of the proofs obsolete.
Jhsto··on Building a Budget Homelab NAS Server
Thanks, this is a great explanation! I wish the blog post would have described the TrueNAS like this.

> You're running off a RAM disk with no boot drive? What if you have a power outage?

Yes, the server only has the HDDs which contain the NAS data. The server bootloops until it gets an image from the router (ipxe boot). The disk images have systemd scripts which install everything from 0 on each boot. Coincidentally, this means system restart is how I upgrade my software.

> Core supports FreeBSD jails and Scale supports Docker

This clarifies the situation -- TrueNAS seems like an option that I would recommend for anyone who wants a quick OSS NAS setup.

Jhsto··on Building a Budget Homelab NAS Server
I see, so I assume the upside is that it's a time saver. Thanks! I personally wen't with samba on Linux and with btrfs. I was wondering if there's something non-obvious in TrueNAS that I'm missing out on.

And to my account, I think my upsides are that:

- ability to choose the kernel

- no need for SSD for base OS since running off of RAM is rather easy on Linux

- samba can run in a container thus a bit more control security-wise

- server may run something else as well

Of course, this comes with a lot more technical hurdles. More like a side-project than utility really. That's why I was wondering does TrueNAS provide non-obvious upsides that would be lacking in self-rolled one.

Jhsto··on Building a Budget Homelab NAS Server
What is the technical upside of using TrueNAS instead of samba? If you want to optimize for control, it seems a bit weird to me to settle for an "all in one" software stack.
Jhsto··on The new and upgraded Framework Laptop
Any plans to ship models with coreboot one day?
Jhsto··on Among a certain set, counterfeit luxury bags may be more popular real ones
> They’re not that much more expensive than flagship Android phones.

You sure the women in the article don't think the same way about the bags? The price difference between a working Android phone and top of the line iPhone is around 10x as well.

Jhsto··on Feeling uncomfortable when leaving phone at home shouldn't be normal
I have found smartwatches a good for this purposes. With cellular connectivity you have emergency services, calls, certain notifications, maps, and NFC payments. You cant procrastinate on it as easily as with a phone.

Many in this thread suggest a feature phone. Anecdotally, a friend of mine went this route, but people became suspicious of him. Especially when meeting new people. His dates thought he was cheating on his (non-existent) wife, or that he was hiding something in more general sense. He returned to having a smartphone after a year or so with a feature phone.

Jhsto··on Internet spring cleaning: How to delete Instagram, Facebook and other accounts
I once got my old username released through their generic support ticket system. I never received a reply, but instead found one day that they had processed my request.
Jhsto··on The 'Batman Effect': How having an alter ego empowers you (2020)
You can also reinvent yourself whenever you move from a place to another. I used to live in a small and enclosed community to my twenties until I moved out into an environment I knew nobody. It gave me a clean-slate, and after returning a year later, people close to me told I had changed a lot. Moreover, I continued to be the new me. The gap in the shared history cut both ways: I could forever hide behind it and explain e.g. some opinion of mine to come from influences of that time, but on the other hand, it was also the last time someone else than I knew a coherent history of me.

Since then, I have moved into new environments four additional times. Each time I see it as a possibility to reflect what I'd like to change and work towards that. And whenever I return to home, I feel like a tourist now.

Jhsto··on StarBook 14-inch
I'm not well versed in UEFI firmware, but how is this possible:

> Due to how lightweight coreboot is, it will offer better performance and lower power consumption. For example, the LabTop Mk IV combined with coreboot will offer approximately 8% more performance and around 20% longer battery life (with a record of 13 hours and 42 minutes for general use).

Jhsto··on USB-C hubs and my slow descent into madness (2021)
If you use a laptop with an external monitor, a better idea is to get a premium monitor which handles charging, video, and data transfer of USB devices connected to the monitor for you. This allowed me to get rid off the wonky USBC hubs, but before my employer got me a Dell monitor I didn't know that a single USBC connection can deliver all three.
Jhsto··on Proposed EU rules would require clothes to last longer and be easier to repair
My two cents:

Bonobos for shirts and jeans

Pt01 and Pt05 for pants (sales are up to 50%)

Pure Waste for t-shirts and colleges

Asket and Everlane for everything else

Jhsto··on So you want to study mathematics
In a way, writing types is proof-esque. It establishes some basic correctness guarantees regardless of the programming language. Some concepts like refinement types make it seem more "mathy", by requiring quantifiers within programs: https://ucsd-progsys.github.io/liquidhaskell/blogposts/2019-...

Someone without any background in the subject would probably find Dafny interesting.

Jhsto··on Introduction to GPUs with OpenGL
For anyone interested in the Vulkan end of things, I recommend this: https://hoj-senna.github.io/ashen-aetna/

What is nice to see that with Rust's linearity, cleaning resources once they become unused can be cleared quite easily by implementing a custom drop function. The challenge remains though that to know what order you have to do it requires consultation of the Vulkan specification. Though even for this you can enable Vulkan validation layers which actually give quite clear idea what you are doing wrong.

Jhsto··on Just say no to :latest
In a perfect one would use CRIU [0] to suspend the old container, then download the new one and start it. If the service comes up with the new container, then remove the suspended one and otherwise, fallback to the suspended container.

[0]: https://criu.org/Docker

Jhsto··on Epic Games acquires Bandcamp
Can't wait to show off my indie vinyl collection in Fortnite!
Jhsto··on Cellular Automata (2017)
While sidelined quite heavily on the text, I think that the reversibility of CA is quite interesting: https://en.wikipedia.org/wiki/Reversible_cellular_automaton
Jhsto··on Finding your home in game graphics programming
This online article series is quite good for Vulkan on Rust: https://hoj-senna.github.io/ashen-aetna/
Jhsto··on Self-Hosting Dozens of Web Applications and Services on a Single Server
I guess that in this very specific environment, the only practical reason against the Pis are the containers. Spotty support for ARM images seems to be a continued problem.
Jhsto··on Category Theory: Lecture Notes and Online Books
This series has some C++ examples alongside Haskell: https://bartoszmilewski.com/2014/10/28/category-theory-for-p... and acquirable as a PDF at https://github.com/hmemcpy/milewski-ctfp-pdf
Jhsto··on DeepCreamPy- Decensoring Hentai with Deep Neural Networks (2018)
It tries to predict patterns from blurry shots. It might introduce artifacts that were never there: some drawings I upscaled turned distant woods into houses. You can see why this might be bad when viewing something for historical accuracy.

See e.g., https://www.topazlabs.com and https://github.com/nagadomi/waifu2x

Jhsto··on Container-to-Container Communication
Bit besides the point, but how many of you do still run nginx inside container infrastructures? I've been having container hosts behind a firewall without explicit WAN access for a long time -- to expose public services, I offload the nginx tasks to CloudFlare by running `cloudflared` tunnel. These "Argo" tunnels are free to use, and essentially give you a managed nginx for free. Nifty if you are using CloudFlare anyway.
Jhsto··on Container-to-Container Communication
As if the TCP is less secure? Not necessarily as the TCP sockets here most likely live in a private network between the two containers: you run `podman network create example` and then `podman run --net=example whatever`. This creates an internal network (e.g., 10.0.0.1/10) over which the pods communicate. Only if you want to expose some port would you use `-p` flag to expose it to host LAN, which you then redirect to WAN.
Jhsto··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
I made a slight revision on my comment: it is 15% of nodes which are run on hosting providers. Therefore, the 500 nodes does not constitute 15% of the whole network, as only 70% of nodes run on hosting providers: https://www.ethernodes.org/network-types
Jhsto··on Ask HN: Hetzner dedicated and crypto – what have you been told is allowed?
An anecdote: I had trouble participating in the Ethereum network properly, but then I synced my timeservers with Hetzner's NTP servers and things resolved. And at the time of writing, around 15% (roughly 500 nodes) of Ethereum nodes on hosting providers use Hetzner (though it seems it is consistently decreasing): https://www.ethernodes.org/networkType/Hosting

The likely reason for forbidding the applications is that syncing deteriorates the disks heavily. Nevertheless, they seem to be widely used to this date, as time synchronisation with them seems to have positive effect on node operation effectiveness.

Jhsto··on Barreleye fish
A fish capable of self-reflection!

Jokes aside, I wonder does the fish comprehend that it's seeing the world from under a cover.

Jhsto··on Allwinner D1s/F133 RISC-V Processor Integrates 64MB DDR2
The second paragraph says:

> Besides the built-in RAM, Allwinner D1s comes with many of the same features as D1 RISC-V SoC, but loses HDMI output and the HiFi 4 audio DSP, and Allwinner made some tweaks to the IOs with one less I2S audio interface, and general-purpose ADC.

← PreviousPage 5 of 16Next →