HNHacker News
TopNewBestAskShowJobs

zerof1l

923 karma · joined July 6, 2018

submissionscomments
zerof1l··on She Sent Her iPhone to Apple. Repair Techs Uploaded Her Nudes to Facebook (2021)
> This case shows how, even when Apple tightly controls its repair infrastructure, it cannot prevent disastrous cases like this

Customers should be able to choose where to repair their device, or even be able to repair it themselves. Just because it's an "official" repair shop doesn't mean its the best and the safest. Louis Rossmann has been saying this for years.

zerof1l··on Delete FROM users WHERE location = 'Iran';
I personally know a woman from Iran. She has a PhD in Data Science. She works and lives in the EU. Her mindset is that of an educated European person.

She does not support the current Iranian government, and neither do most of the people in Iran, according to her. But publicly expressing disagreement in Iran could have you disappear. That's why people are afraid to protest and speak out.

Regarding sanctions, it's not that hard to find and buy products from Iran. At least in the EU. What happens is neighboring countries import raw material from Iran, then put a label "Made in Pakistan", for example, and sell it. But those who know, can easily find and buy things like Iranian rice and spices.

zerof1l··on 15-Fold increase in solar thermoelectric generator performance
Could you combine them with solar panels?
zerof1l··on Is Chain-of-Thought Reasoning of LLMs a Mirage? A Data Distribution Lens
> ... that these "reasoning" models can often produce incoherent, logically unsound answers when questions include irrelevant clauses or deviate even slightly from common templates found in their training data.

I have encountered this problem numerous times, now. It really makes me believe that the models do not really understand the topic, even the basics but just try to predict the text.

One recent example was me asking the model to fix my docker-compose file. In it, there's the `network: host` for the `build` part. The model kept assuming that the container would be running with the host network and kept asking me to remove it as a way to fix my issue, even though it wouldn't do anything for the container that is running. Because container runs on `custom_net` network only. The model was obsessed with it and kept telling me to remove it until I explicitly told that it is not, and cannot be the issue.

``` services:

  app:

    build:

      network: host

    networks:

      custom_net:

    ...
```
zerof1l··on Self-host is just waiting for its iPhone moment
I've been through an iPhone moment, and I moved past it once I realized that I'm getting screwed and I have no control. Now I'm back to Android (Pixel with GrapheneOS specifically) and self-hosting.
zerof1l··on Raspberry Pi 5 Gets a MicroSD Express Hat
I would avoid using SD cards and go for something else like M.2 or NVMe for storage. SD cards tend to be on the lesser side in terms of performance, failure rate, and silicon quality in general.
zerof1l··on LetsEncrypt Outage
Because you're not supposed to rely on emails. You should have an automated certificate renewal in place. I'm under the impression that Let's Encrypt wants to reduce certificate validity even further from the current 90 days.
zerof1l··on TCP-in-UDP Solution (eBPF)
Makes total sense to me. But why hasn't this been done a long time ago? Pretty sure people spotted this earlier in TCP and UDP but this was never implemented?
zerof1l··on Basically Everyone Should Be Avoiding Docker
I get the impression that the person who wrote this article doesn't know much about docker. Running 2 apps and a certbot can be done without containers easily. Try running 20 apps, some of which depend on having the same dependency but on a different version.

Regarding security, it depends on how you set up your containers. If you just run them all with default settings - the root user; and give them all the permissions, then yeah, quite insecure. But if you spend an extra minute and create a new non-root user for each container and restrict the permissions then it's quite secure. There are plenty of docker hardening tutorials.

Regarding ease of setup, it took me a while to learn docker. Setting up first containers took very long time. But now, it's quick and easy. I have templates for the docker compose file and I know how to solve all the common issues.

Regarding ease of management, it's very easy. Most of my containers is setup once and forget. Upgrading an app just requires changing the version in the docker-compose file.

zerof1l··on New proof dramatically compresses space needed for computation
Here's the gist:

For nearly 50 years theorists believed that if solving a problem takes t steps, it should also need roughly t bits of memory: 100 steps - 100bits. To be exact t/log(t).

Ryan Williams found that any problem solvable in time t needs only about sqrt(t) bits of memory: a 100-step computation could be compressed and solved with something on the order of 10 bits.

zerof1l··on ICE test train reaches speeds of up to 405.0 km/h
I don't think Germans want faster trains, they want punctual ones. How about trying to set a record for trains being punctual?
zerof1l··on New EU rules on digital accessibility to come into force
There's a German version that has nice FAQ and is written in a more human friendly way going into all the details. You can use Google translate https://bfsg-gesetz.de/#faq

I'm very interested in how they've implemented Google Analytics. No external JS is loaded, just 9KB of packed JS embedded implementing a minimal call... and then it is being sent to their own script analytics4.php which acts like MITM. Does anyone know the name of the plugin or package they are using?

zerof1l··on DNS4EU, an EU-based DNS resolution service
As an EU citizen, I'm happy that we're starting to have more infra and are less reliant on countries outside of EU. However, I'm skeptical of their "privacy-focused" slogan. Most likely they mean that your data won't leave EU. However, EU itself does a lot of tracking and blocking.

The only true private DNS server is the one you own. It should be a recursive DNS server configured with DNS root zone and DNSSEC. So it would first contact one of the root DNS servers (obtained from ICANN), validate the authenticity of the response ensure it is not tampered with using DNSSEC, and then proceed to call the next server in the chain until the query is fully resolved. Such DNS server would bypass all censorships.

Also nice is that more and more root servers already support DoT meaning that the request and response would be encrypted preventing intermediaries like your ISP from seeing the data.

As a last resort, your DNS server can be hosted outside of the country on a server and then you'd connect to it over DoT or DoH.

zerof1l··on Bruteforcing the phone number of any Google user
This article highlights something interesting... it is quite common to get at least one /64 IPv6 block from a hosting provider or ISP. Yet most of the rate-limiting and IP blocking is done for a single IP. Sounds like when dealing with IPv6, an entire block of /64 should be rate-limited or blocked.
zerof1l··on Show HN: Semantic Calculator (king-man+woman=?)
male + age = female

female + age = male

zerof1l··on DNS piracy blocking orders: Google, Cloudflare, and OpenDNS respond differently
Everyone should just start running their own authoritative DNS servers like Unbound. That will eliminate the issue. And why is it still the norm that all major OSes don't ship with authoritative DNS... Same with all consumer routers. It is not an option at all, or if you run OpenWRT, you'd have to manually set it up. Hopefully, there will be some change in that direction.
zerof1l··on Kmart lied to me, so I hacked their lamp [video]
I also have such a lamp. Supposedly it's USB-C connection, but it only works when connecting with USB-A to USB-C cable.

My guess is it's due to the requirement to comply with EU law about USB-C. But proper USB-C requires active circuitry but manufacturers don't add it to save a few cents.

zerof1l··on Typed Japanese
Textbook one that is usually taught in the first couple of years - yes quite strict and can be deduced to logical patterns. But every-day spoken informal Japanese... no.

And then there are a bunch of nuances that don't follow logic. You just need to learn about them. For example, word "you" is always considered informal, a bit intimate and a bit rude in spoken Japanese, it can be used in formal written Japanese.

zerof1l··on C1 modem breaks no speed records, but is power efficient
I'm curious, is it the power reduction claim by Apple that is impressive, and where exactly does it come from?

Because as I understand it, transmitting a signal is the main power drain. If you transmit with less power it would mean a lesser range and lower signal quality. So Apple can't just have their phone transmit a signal with less power...

zerof1l··on About Google Chrome's "This extension may soon no longer be supported" (2024)
So the time had come to finally move from Chrome. I already have Firefox as my secondary browser, but I'm thinking of using this opportunity to take a look at LibreWolf as well. Also going to have a conversation with my non-tech-savvy family members to do the same. Once you get used to having clean websites without ads and pop-ups, its hard to go back.
zerof1l··on IPv6 Is Hard
I think that the main challenge people face with IPv6 is that they try to deal with it in the same way as with IPv4. IPv6 is not just a longer address, it's a completely different technology.

It took me a very long time to figure out how to configure my docker containers on my home server to have global IPv6 addresses. But I did it, and it taught me a lot about IPv6. I would personally prefer for the internet to be IPv6 only. It would make certain things much easier like firewall rules, IP whitelisting, and no more stupid CGNAT.

zerof1l··on Man who lost Bitcoin fortune in Welsh tip explores purchase of entire landfill
So the hard drive has been in the landfill since 2013. Exposed to natural elements, chemicals from other trash, and mechanical damage from all the crushing. There's a good chance that the drive at this point is damaged beyond recovery.
zerof1l··on Escaping surprise bills and over-engineered messes: Why I left AWS
I use Lambda + DynamoDB to run a very basic app for managing access to my servers. The monthly cost is $0.02 - $0.05.

I'm also looking into using S3 glacier for my server backups. It appears to be the cheapest option.

zerof1l··on DeepSeek could represent Nvidia CEO Jensen Huang's worst nightmare
Could someone explain as to why DeepSeek is bad for Nvidia?

The demand for Nvidia GPUs should now go up. Now anyone can run a GPT-like model by themselves. It's a prime time for businesses to start investing and setting up on-prem infra for that. I know some have been avoiding ChatGPT due to legal concerns and sensitive data.

zerof1l··on Double-keyed caching: Browser cache partitioning
As a user, you can use extension like LocalCDN. Instead of having your browser download common libraries and fonts, the extension would intercept the request and serve the local version. Even better in terms of privacy and security.
zerof1l··on My little sister's use of ChatGPT for homework is heartbreaking
He's overreacting. Its a matter of perspective. From the perspective of most of us here, asking ChatGPT to convert 3 minutes to seconds sounds trivial. We can do this conversion in our heads effortlessly in a fraction of a second. Because we've been doing it our entire lives on a daily basis. But for an 11-year-old kid, it can be a challenge. Why bother straining your brain if you can just ask ChatGPT... We are wired to avoid thinking and take the easy path. I bet that the things he's asking ChatGPT will appear equally trivial to somebody else.

The best way to handle this would be to talk to her and convince her to not use ChatGPT...

zerof1l··on Docker Compose Isn't Enough
As someone who is self-hosting with a docker on my own server, I don't see the negatives mentioned in this article as being a problem at all. Quite the opposite, it gives you the freedom to do your docker setup how you want it.

It took me some time initially to figure things out and I had to learn some things. But now it's a breeze. Once I had reverse proxy and automatic certificate renewal in place it has been working ever since then without me having to do anything. Adding a new service like Immisch or Jellyfin takes me an hour or less. Which can be quicker, but I adjust every docker compose to my setup and make it more secure. E.g. I create a new non-root user for each service. Basically I have the whole setup figured out; I have notes and checklists for the new services I add. I don't need to figure out things anymore and in 95% of the cases things just work.

Updating existing services takes minutes: just increment the version in the compose file and rebuild.

For my setup, I use macvlan as opposed to the default docker bridge network. So, the `ports: - "8000:5000"` docker compose config is being ignored. Instead, each docker container gets its own unique IP and MAC address I assign to it. It can then use any port it wants. Thanks to this, on my home network, I can access any container I want by IP. And any container can access any other container. I then add some restrictions for security purposes on the host machine using nftables.

For reverse proxy, I use Nginx Proxy Manager which is a simplified GUI around Nginx. I'm slowly moving to just using Nginx.

For the database, I run multiple instances of Postgres and MySQL and I don't see any issues. They take an insignificant amount of resources compared to the applications. If the application is not in use, its database instance is not being used as well.

zerof1l··on Nextcloud: Open-Source Cloud Apps
I've been using Nextcloud for some years now. Overall it's an ok replacement for Google Cloud. But for some time now their focus has been on developing features for business collaboration as opposed to personal & family ones. For example, their photo library is quite limited. There's Memories app for Nextcluod, but it isn't much better. I'm in the process of migrating to Immich. Nextcluod notes app on Android has been broken for some time.
zerof1l··on I was an MIT educated neurosurgeon – now I'm alone in the mountains [video]
I suggest watching the whole video, I found it very interesting. Here's my attempt to summarize the key points.

An MIT-educated neurosurgeon quit his job after realizing surgeries weren’t addressing the root cause of patients’ problems. He observed that the outcome of surgeries would vary greatly: for some it would help, for others a bit and for others, it would not help at all even though he performed them perfectly every time. Some patients even called before the surgery to say that they were okay and no longer needed surgery.

So he started asking patients questions and after 9 years he concluded that patients who got better and healed did the following (at 19:42 in the video): low salt diet; mostly plant-based diet; did things that would cause sweat: exercise, sauna, or living in hot weather; did not smoke; drank little to no alcohol; had good social support: family, friends, etc; slept 8 hours a day; were not stressed or managed to release it back, e.g. meditate.

Then he talks about the moral dilemma. If he helps patients to truly heal by sharing what he has learned, he and the hospital would not make money.

zerof1l··on Tokyo's Government Is Building Its Own Dating App to Combat Falling Birthrates
In the old times, raising kids was cheaper and required much less care. From the moment a kid could walk, he would be helping around the farm. The clothes he would have would be one shirt which he'd inherit from his older sibling. The toys would be whatever is around the farm. Most kids would not go to school let alone attain some higher education. Nowadays, its completely different. As parents, you need to invest thousands upon thousands before your kid turns 18 and then hope that he will get somewhere in life and take care of you.
← PreviousPage 3 of 8Next →