HNHacker News
TopNewBestAskShowJobs

kn100

957 karma · joined April 10, 2019

[ my public key: https://keybase.io/kn100; my proof: https://keybase.io/kn100/sigs/nOXeTQ4U0lvgpPLIV3dKe53E0DyUqFbkK3J-pw4GyGY ]
submissionscomments
kn100··on Internet of Desks: How I Connected My Standing Desk to the Internet
that's a great idea and one I'm stealing for the future! thanks.
kn100··on Internet of Desks: How I Connected My Standing Desk to the Internet
Y'know what I'd love? For all IoT crap to feature a socketed ESP32 or whatever. The vendor can ship whatever garbage software they want to it, but maybe in the future when Wifi 2.4ghz does eventually die as an example, we could all just swap the controller chip with one that supports 5ghz wifi. This will never happen since the world prefers us to throw all that crap out to buy new crap, but it's nice to imagine!
kn100··on Internet of Desks: How I Connected My Standing Desk to the Internet
Hehe, you're not the first person to have suggested this, and I was wondering how quickly the HN crowd would find and point it out. You're definitely right, but to explain why it is the way it is right now:

* I just didn't want to mess about with postman or curl or whatever in order to test, much easier to just issue a get request by visiting a url in the browser

* I'm going to be ripping the HTTP support out shortly and replacing it with MQTT support so it can more cleanly integrate with my HomeAssistant setup. The HTTP stuff was mostly just the fastest way I could get something approximating what I was looking for.

I definitely agree though, this being a `GET` request is offensive :P

kn100··on Internet of Desks: How I Connected My Standing Desk to the Internet
boy do I have just the thing for you (disclaimer: I have nothing to do with, nor have I tried this): https://www.tindie.com/products/tjhorner/upsy-desky/

if your standing desk has that ethernet like connection scheme, something like this might just work out of the box!

kn100··on Internet of Desks: How I Connected My Standing Desk to the Internet
You make a good point - but let's be careful to not confuse personal hackery with random internet connected shit you buy from the internet. In my ideal world, every IoT product would directly and clearly document it's hardware, along with allowing the user to replace the firmware with whatever they wanted, so users like me can opt out of the cloud driven solution.

The nice thing about a hack like this is you, the creator, have full control over exactly what is exposed or how. There's no cloud, no external control, no unwanted firmware updates, nothing. If everybody was willing and capable to engage with their hardware at this sort of a level, there wouldn't be this crisis of insanely insecure hardware being sold to uncaring consumers, imo!

kn100··on Ask HN: What is the most useless project you have worked on?
I'm trying to teach myself how to sniff and interact with i2c hardware on consumer products. I'm doing this by attempting to connect my standing desk to the internet. Literally the whole goal is to have a "make desk go up" and "make desk go down" button in my Home Assistant.

The real goal is learning to sniff i2c though.

kn100··on Backdoor in upstream xz/liblzma leading to SSH server compromise
Here's a handy bash script I threw together to audit any docker containers you might be running on your machine. It's hacky, but will quickly let you know what version, if any, of xz, is running in your docker containers.

``` #!/bin/bash

# Get list of all running Docker containers containers=$(docker ps --format "{{.Names}}")

# Loop through each container for container in $containers; do # Get container image image=$(docker inspect --format='{{.Config.Image}}' "$container")

    # Execute xz --version inside the container
    version=$(docker exec "$container" xz --version)

    # Write container name, image, and command output to a text file
    echo "Container: $container" >> docker_container_versions.txt
    echo "Image: $image" >> docker_container_versions.txt
    echo "xz Version:" >> docker_container_versions.txt
    echo "$version" >> docker_container_versions.txt
    echo "" >> docker_container_versions.txt
done

echo "Output written to docker_container_versions.txt" ```

kn100··on World of Spectrum 404 Page
the only way this could be even better is if it includes the sounds that came from the spectrum!
kn100··on Show HN: Memories – FOSS Google Photos alternative built for high performance
Immich does exactly this with CLIP models, you can even customise which CLIP model it uses and it does a phenomenally good job, I'd personally say surpassing even Google Photos.
kn100··on The Reddits
nuked my 8 year old account and all posts and comments I had there after their API bull. Lemmy isn't as enjoyable as the communities are far smaller and less engaged, but overall I've spent a lot less time scrolling for no reason so overall it's a win.

same thing with Twitter and Mastodon, except I feel Mastodon was far more successful a transition for me.

kn100··on Ente: Open-Source, E2E Encrypted, Google Photos Alternative
Hey! I wanted to ask you something.

So, I am traditionally somebody who self hosts a lot of stuff. I am not allergic to paying a fee to have something hosted by someone else - but one of my conditions to doing this is that there is an easy way to migrate away from the cloud offering should I choose to in the future.

To give an example, I use Tailscale HEAVILY right across all my self hosted stuff. It is absolutely central to everything I do - and I'd find it very hard to live without it. I am totally comfortable with this because Headscale exists, which is an open source implementation of Tailscale. If for some reason Tailscale starts making decisions I don't like, or perhaps the pricing changes in a way I am not a fan of, I have the option of trading some convenience.

I am really happy to see your server is open source. That is amazing news, and makes me feel a lot more interested in your product. I wanted to ask a few questions though:

* Let's say I've signed up with your service, and am hosting a bunch of stuff with you. I decide after 6 months I don't like some changes to the pricing model or something. How does one get their data out of the `cloud` ente.io - and into a self hosted instance of the server? Is there any data loss during this process?

* Your clients are not open source. I totally understand this. Do they however support talking to a different backend (like for example a self hosted Ente instance)?

* And finally - how would you say your tool compares to the two main open source Google Photos replacements, Immich and Photoprism?

kn100··on Pixel owners report problems after installing January 2024 Google Play update
pixel 6 pro owner here, up to date on everything, phone is entirely fine.
kn100··on Ubuntu Pro
I'm happy we live in a world with so many decent desktop Linux distros. I was a happy Ubuntu user since 7.10, but recently with Snap canonical irritated me to the point of switching, and I hopped around a couple distros before settling in Opensuse Tumbleweed. if you want the benefits of a rolling distro like Arch without the bullshit of dealing with Arch, I highly recommend it.
kn100··on In 2024, please switch to Firefox
I switched back to Firefox like 6 years ago and it's the input browser I use regularly. I do unfortunately have Chrome installed on all my machines too since once every couple of months I'll find some usually government website that only works properly in Chrome.

Firefox for Android is excellent too, especially since you can have add-ons. Between my Adguard VM in my tailscale network and Firefox ublock, my phone is an ad free place. Other add-ons that make the mobile internet more tolerable:

Google Search Fixer - Google give Firefox users a crappy old search UI. this extension forces the new nicer UI.

Old Reddit redirect - just redirects all reddit links to old.reddit.com. this bypasses the age verification nonsense Reddit introduced given I refuse to have an account there these days.

Video background play fix - this one just means any video you are watching in the browser will keep playing if you minimise the browser - some sites try to be helpful and pause the video.

ClearURLS - removes all tracking junk from URLS - make sharing links less miserable

Dark reader - essentially just a way to make any website dark mode.

kn100··on Show HN: Talk to any ArXiv paper just by changing the URL
Interesting thought. I then wondered if perhaps we could introduce some kind of mechanism like a token that is authorized to spend a certain amount, and then wondered if we could take that concept to the extreme and have one key with some money loaded that users could put into websites. it was at this point I realised I'd just invented the credit card.
kn100··on Responsive scrollable videos without obscure video encoding requirements
works well on Chrome on a Pixel 6 Pro. extremely janky and terrible in Firefox for Android on the same device. I recorded a small video to demonstrate. https://youtu.be/cK7KlcH1uPs?si=m3q7S9Ml0aS_IFoX
kn100··on Ask HN: Do I need AWS? Or am I thinking this wrong?
You can definitely avoid the hyperscalers, but unless your ops are very simple, you'll end up paying for it with the cost of managing your infra yourself. Think about resiliency for example. What happens if the DC you're in goes down? Have you got another DC to direct traffic at? Do you need that? These sorts of questions are the ones that being in "the cloud" makes simpler to answer. I'm of the opinion that not every app needs 99.99999% uptime and not every app needs to be in the cloud though, so godspeed to you should you continue with this approach. There's no technical reason why you can't dramatically scale from this point.
kn100··on To make dishwashers great again? (2020)
This whole article reminds me of the absolute nonsense surrounding the EU regulating vacuum cleaner power levels. In the UK, it was not uncommon to see vacuum cleaners rated as high as 2400w (!) prior to the introduction of the regulation. Of course, when the regulation came to power those rock bottom crappy cheap vacuums one could buy suddenly got much worse as they were forced to limit power usage to 1kW. Well, as far as I can tell, most any vacuum cleaner today at virtually any price range does a reasonably decent job on 800w or less, and the regulation was a huge success in preventing ludicrous inefficient designs from finding their way to market.

I bring this up because this was actually a talking point during Brexit, and the excitement that Finally! Brits would be able to buy good vacuum cleaners again now they'd left that pesky EU. I've got no idea of the status of that particular regulation today, but I know that I haven't heard a single person mention it since the days of the Brexit vote.

Power ratings don't correspond to performance if the world irrationally decides that higher power means better. If the low end landlord special dishwashers can't make do on 1500w, then perhaps they just shouldn't exist. My landlord special cheapo dishwasher here in Canada however does a completely fine job using the cheapest powder I can get at the supermarket, as long as I load it properly, and haven't absolutely burnt the shit out of something in a pan.

kn100··on Why ISO was retired (2021)
Ventoy is a magic tool that does exactly this, if you weren't aware.
kn100··on Go 1.21 will (probably) download newer toolchains on demand by default
Seeing a lot of discourse here talking about how Go releases are so stable and don't break shit. As someone who also loves Go, I mostly agree with these takes, but let's not forget how much of a mess dependency management used to be in the bad old days. I remember Glide, Dep, Godep, etc. I think given the Go teams attitude towards not breaking backwards compatibility we will probably see less breaking upgrades like we see in frontend-land for example, but things were not always this nice and stable.
kn100··on Ask HN: What Next After Ubuntu?
I've moved to Fedora for desktop use in the last little bit. It's been quite nice, I have to say! My server stock is a bit all over the place at the moment, as I'm experimenting with a few things. I've got:

* Ubuntu 22.04

* Debian Bullseye

* Oracle Linux 8 (This was more accidental than anything...)

* Armbian

I haven't settled on where I'll be going but I think in the end I'll mostly be moving towards Fedora for everything. Their server OS is pretty nice too!

kn100··on Train Travel in the UK: A Foreigner’s Perspective
the fee is usually less than £1. Every single person I know in the UK that travels via train uses it. I wish it didn't fall to a private institution to provide what is a fairly basic service, but I think the fee shouldn't deter people from using it, especially considering they don't even charge it in a lot of cases. Booking tickets directly with a ToC is a terrible experience.
kn100··on The story BCG offered me $16,000 not to tell (2010)
https://archive.ph/VavYg
kn100··on HP Dev One Laptop with Pop_OS
The 16:9 screen is an immediate turn off for me. on a machine of this size that extra screen real estate you get with 16:10 or even 3:2 is important to me. Shame too, because this could be the perfect machine for me.
kn100··on Run your home on a Raspberry Pi
Why not! I'm not particularly familiar with Macbooks personally, but If it can run what you need it to run, then it's an absolutely fine use for one! I'd consider removing the battery and running without it for safety reasons, but I'm not certain if you can do that with Macbooks - and besides, a laptop with a battery installed could be considered a home server with a UPS :P

The only more specific advice I have is to stick to stuff 7th Generation or newer on the Intel side if you plan on a media center use case, since 7th Gen intel stuff is when they introduced x265 hardware accelerated decoding/encoding into the GPU found on those CPUs, which is a great help. I love repurposing EOL hardware for this kind of use case, since it's imo a better solution than buying yet more electronics, and it also saves something from the e-waste trash heap.

kn100··on Run your home on a Raspberry Pi
It's probably been mentioned before, but if you want something that is:

* A fair bit more grunty than a Pi

* Fairly power efficient

* x86

* More of a standard computer

You should consider picking up what Servethehome has coined the TinyMiniMicro nodes. They're the kind of computers you typically find strapped to the back of a monitor in a doctors office and usually are fairly power efficient machines. I, for example, have a Lenovo m710q - which has an Intel 6500t (a quad core CPU), 16gb of ram, and a 512GB SSD, which I paid around 200USD for, that is significantly easier to manage than a Pi (since it's 'just' a computer) and sucks back around 10w of power at idle (which is roughly triple a Single Pi 4) - but still in the realm of negligible. It actually replaced a Pi 4 for my self hosted home stuff, and it was a fantastic choice that I do not regret.

Lots of this type of computer are available in all sorts of configurations, and the more 'standard' nature of the machine opens up a lot of possibilities the Pi either makes more difficult, or impossible. For example, my node hosts a bunch of services for me, but it also acts as a Steam In Home Streaming machine that I have connected to my living room television, which allows me to stream games from my desktop to the TV fairly effortlessly.

kn100··on The Perils of RSS
I wonder how much data you could encode in an RSS feed and therefore retrieve from services like Feedly?

I remember reading a while ago about movie piracy sites that would store chunks of encrypted video inside images and host these images on services like Google Drive, and then client side download these 'images' in order to reassemble a film. I wonder if a similar thing would be possible with and RSS feed? Feedly seems more than happy to store the entire content of every post I've made!

kn100··on The Perils of RSS
I suppose you're right, but as I explained in the post, I am not some big company, I'm just a person who occasionally likes to post stuff on the internet. I'm a huge fan of various blogs, and want to be a part of that space. It is so nice to browse a proper hobbyist blog that isn't loaded up with attempts to sell me things, and is just someone who is genuinely passionate about whatever it is they're blogging about.

I personally am not a user of RSS, however I received multiple requests to add a feed, so I did. I don't want to set up a staging environment for my blog, this is a hobbyist thing I do in my limited spare time.

The whole reason I wrote this was to hopefully prevent people like me from making this same mistake. I wasn't particularly familiar with RSS and its idiosyncrasies, and paid the price for it. By providing my content in a format I myself have very little interest in without fully understanding the ramifications, my content has become available on a third party service that I have no control over, and when readers discover that my feed doesn't look right, they come to me to complain about it. It might just be a fundamental disagreement, but I do wonder if tools like Feedly should provide a little more control either to publishers, or to users.

I'm just rambling at this point, but hopefully this illustrates my thinking behind the post better.

kn100··on The Perils of RSS
I'm going to try this, as well as other suggestions here across a range of cloud-ish RSS readers and have a shoot out! It's going to take me a little while since it seems Feedly at least does not crawl very often, but I think a little experimentation here would make for an interesting follow up.
kn100··on PipeWire: A year in review and a look ahead
As someone who has a fairly basic use case for something like Pipewire - I switched to it about a year ago and hope to never switch back. Everything just works properly - and some of the value added stuff we have now (Easyeffects inside a Flatpak sandbox comes to mind) are very cool and work extremely well. My thanks to the developers, who have done an AMAZING job of building a realistic alternative.

There is a lot of REALLY good software coming out for Desktop Linux recently. Wayland, Pipewire, Wireguard, etc!

← PreviousPage 2 of 4Next →