HNHacker News
TopNewBestAskShowJobs

lakomen

770 karma · joined April 22, 2022

hn at 6s4 dot de
submissionscomments
lakomen··on Sherlock: Hunt down social media accounts by username across 400 social networks
Why is this not a website but I have to install something?
lakomen··on Hoarder: Self-hostable bookmark-everything app
No browser plugin?
lakomen··on 38th Chaos Communication Congress
It will be glorious.

I have quite a few recordings I'd like to watch

lakomen··on Google starts tracking all your devices in 8 weeks
I'm tired of the constant attacks on our privacy and sovereignty. Be it technical or political
lakomen··on We use our own hardware at Fastmail
You also terminate accounts at your sole discretion
lakomen··on Decline in teen drug use continues, surprising experts
Yeah but at some point the life of the party became boring because it was all day every day. So we just hung out and smoked weed and played SNES, PSX on a daily basis and went to clubs on weekends and cafés from wed/thur onwards.

I met so many people only through smoking weed. And because weed is such a laid back drug, we were all laid back and friendly with each other.

What I learned to hate over the years was that daily routine of finding something to smoke. We had our dealers we phoned up or sometimes we would deal ourselves to finance our consumption.

Dealing drugs was another level though. Hostilities arose. Some people claimed turf and threatened others with violence, those were "miraculously" found by the police and landed in jail. Also dealers that scammed others. The scene had a way to police themselves. Those were the good years.

Later the quality became worse and the quantity as well. It was no longer... how should I put it,... fun and games but people discovered it as a source of making profit. Even friends or people you considered friends would try to scam you and you weren't any different. That time began approximately when the Afghanistan wars began and the CIA was cut off from the cannabis sources.

It was like this, we would smoke weed in the summer and black afghan in winter. The black afghan fell off. What remained was green hash from the turks and weed, which was stretched with hairspray and silica sand.

I quit doing ganja, also because I hated being stoned all day every day and having to do the daily finding weed routine. I was so tired of it, also "what am I doing with my life".

I lost most "friends", I had to, to not be exposed to this crap on a daily basis. I wanted to get somewhere in life not just consume weed all day and be a loser who got nothing done. Better late than never.

I very rarely do resin nowadays, not by smoking but orally, and it's like once a year or every 2 years. Cannabis is definitely good for your health, if not overdone.

lakomen··on Decline in teen drug use continues, surprising experts
What's surprising about it? Teens are attracted by things that are forbidden to them. When you legalize drugs that falls off. Also enough information is available nowadays that doesn't come from some finger waving "you you you" morality zealot, but actual real life examples.

For me at least the pull of cannabis and other drugs, never did real hard and addictive drugs like heroin, was that they were illegal and the effects weren't as bad as the lectures said they were. So I thought what's true about cannabis is also true about cocaine, lsd, psilocybin, xtc etc, but I've seen enough movies about heroin addicts going to waste. I was wrong about lsd and psilocybin and coke had no positive effect on me, except once I became Mr super cool monopoly player ans the other time I was full of energy, but I believe it was mixed with something other than coke. LSD was very uncontrollable, the 1st time was great, simple laugh and dance, the next time was awful and I suffered from it for many years. Psilocybin then, with friends cleared my mind and I was able to articulate myself and think clearly like never before. Amphetamine, I'll never forget the sour smell, but essentially a useless drug, except to stay awake. MDMA varying degrees of happiness and community. But the worst drug was nicotine. Useless, super addictive and really bad for your health. So hard to quit and it's everywhere and it's even worse now with all the e-cigarettes / vapes. Nicotine is an epidemic that needs to be eradicated. It's pure evil.

lakomen··on ScyllaDB moving to a source available license
Of course it is. All those open source copycat projects, using open source to get exposure then switching. Boo. Just like cockroachdb. Taking Open source contributions for free then making it spyware or payware.

Bleh

lakomen··on Go Protobuf: The New Opaque API
Not at all.
lakomen··on Go Protobuf: The New Opaque API
That's just a distributed monolith and you shouldn't do that.
lakomen··on Go Protobuf: The New Opaque API
Graphql won the race for me. Grpc is no longer relevant. Too many hurdles, no proper to and from Web support. You have to use some 3rd party non free service.
lakomen··on What the EU's new software legislation means for developers – The GitHub Blog
1st thought, without reading it, "what have they done now again?" EU always means making life more complicated, see cookie banners. Politicians need a reason to explain why they're getting paid to do their job, so they create regulations for regulations sake. I've just skimmed over it, I bet somewhere there there's a loophole where the EU or its member states, aka select few earn big money from these "guidelines", or it's legislation already now, I thought the EU only formulates guidelines which the member states have to implement. Yes, I'm pedantic where it's required.

IMHO a politician making legislation should have at least completed an apprenticeship in that field before being let lose.

Yup it's all about money. Bleh

lakomen··on Nobody Gets Fired for Picking JSON, but Maybe They Should?
Or maybe they shouldn't
lakomen··on U.S. math scores drop on major international test
Not just US, I read this about Germany and Australia as well. Might or might not be true
lakomen··on How do I pay the publisher of a web page?
Yeah but we're in the digital age and trying to make things better than they were
lakomen··on JSON5 – JSON for Humans
Oh he'll no not another standard no one needs. JSON is good enough
lakomen··on "Hetzner decided to cancel our account and terminate all servers"
Colo is a lot more expensive than some dedi or VM somewhere. Can you provide me with a 12 core 32gb ecc 2TB ssd for 33eur/m? I doubt it.
lakomen··on "Hetzner decided to cancel our account and terminate all servers"
I've had many bad experiences with Hetzner, from taking my server offline because someone posted something bad and created an Abuse report, to unwillingness to cooperate to let me keep my ipv6 subnet after a forced move of data centers, to many minor shenanigans. Oh and banning my forum account because I was defending myself against some racist accusations (he was the racist)

I am always recommending to not build on Hetzner.

Ok but on topic, who is this guy and why did they do this to him?

lakomen··on React 19
It's a big step back
lakomen··on React 19
I worked with AngularJS, Angular, Vue, Svelte and now React. I tried React time and again but found it to be too complicated and ineffective. I like Vue best. But lately I have completed a few React projects, because of a graphql package that's only available for React. The current state of React is pretty good IMHO. There are some things you need to get used to, but that's the case in every framework, when in Rome. The SPA side is great, it also ranks well. But the SSR side is awful. Absolute nightmare. And it's moving too fast. Vue is vue and code from v2 even works with v3. React will now stop being easily embeddable without a compilation step.
lakomen··on Browsing negative content online makes mental health struggles worse: Study
And what about all those murder movies, the horror movies, the gun shooting movies, the extortion murder rape kidnapping etc, crime in general, intrigue, blackmail, scheming? We have a subscription to a package that has a lot of US content. HBO, Fox aka Star Channels. 80s & 90s movies were better, happier. The mood is mostly dark and dire nowadays.

And then there's "news", if you can even call it that anymore. Mostly political propaganda, hate mongering and FUD. I'm in a good mood, then I read "the news". I had a time where I completely ignored them, that was after 9/11 and my mental health was superb. But nowadays the planet is on fire and everyone in power is just starting more fires. But "the news" are also pushing a certain mindset, at least in Germany, although there isn't much difference between the outlets. They all just more or less copy paste the same sources. Paranoid schizophrenic mindset mixed with some Russian hate and foreign hate and radical right normalization.

lakomen··on We switched from Next.js to Astro (and why it might interest you)
It's not that Angular isn't cool, it's not productive and very cumbersome. Rxjs gets in the way and ngrx has too much boilerplate. It's for large teams and companies that can afford to move slowly.
lakomen··on We switched from Next.js to Astro (and why it might interest you)
If you create a vite project with rr7 and a new remix project, it's the same project that gets created
lakomen··on We switched from Next.js to Astro (and why it might interest you)
But that's so ugh. Templates and the endless helper functions. No interactivity, all the if else blocks. No just no, not again.
lakomen··on We switched from Next.js to Astro (and why it might interest you)
Rust, I've been experimenting with it, and (tutorial) code written a year ago doesn't compile anymore. If there's something you shouldn't use, it's Rust, at least for the time being. Maybe in 10 years.
lakomen··on We switched from Next.js to Astro (and why it might interest you)
I've been getting into React recently, because of entgo and relay on the server.

React with vite for SPA/PWA is lovely.

React as a SSR with Next is a nightmare, because next auth.

Graphql with GLUID aka Relay is awesome. React-oidc-context is awesome. It's all a joy to work with.

Today I tried remix with remix auth. I have to manually check token expiration, do refresh, decode the jwt, can't seem to have optional auth routes it's all or nothing.

I haven't tried Astro. And the article ended when it came to the "juicy bits" aka the interesting stuff.

I tried Svelte with Houdini. Compared to React Svelte is so barebones. You have to do everything on your own, I mean compared it's just less comfortable, less developed, but it has come a long way, no denying that. Houdini in theory was great but in praxis, it can't do "on Query" fragments and the maintainer or developer didn't help, so I abandoned the project with Svelte kit and Houdini. I even added a repo for him to look at, just a link to the docs about fragments and nothing else. Yeah but on Query fragments are also a part of the Graphql spec. Ah well.

Apollo, last time I used it, it was complicated, maybe it's different now that I have finished one project with Relay and understand more.

Idk what graphql thing exists for Astro. I won't read the followup posts because I'll forget about it.

So yeah, quite useless article tbh, no offense

lakomen··on Show HN: TeaTime – distributed book library powered by SQLite, IPFS and GitHub
Yes, I'm aware how ipfs works, but that doesn't really answer the question :)
lakomen··on Ask HN: Homelab projects to learn Linux admin and DevOps to get hired as one?
Thanks, yes rent 3 small (well 4 dedicated cores, 8GB RAM, 256GB storage) nodes for CP and double the size for workers, which should be enough for a test cluster, well test and actual real life prod cluster, external of course. Costs around 80€/m. My current server costs are about the same price.

I noticed when the master or 1st cp node goes down, the other 2 are not sufficient to keep the cluster running. I wonder why do I then even have (and am paying for) 3 CP nodes when failover isn't working.

I had the most success with microk8s. I tried many other solutions, and I'm not going down the manual kubeadm path. I can't dedicate all my time into maintaining that cluster. I want to focus on developing my services, writing a configuration file, or rather with k8s that's a collection of files... Everything screams "don't do it". "It's too complicated, too time intensive, don't do it, you will regret it"

I'm not even sure k8s will be able to recover the loss of 1 worker node. All my experiments with a 3 worker postgres cluster showed that if the node count is less than 3, it goes into an endless loop of trying to bring the instances up.

I mean the most important thing is, how good is the solution when disaster happens? K8s tries to reallocate the resources on other nodes. But if there are less nodes than required by the helmet chart, that fails. So that means in conclusion, I need a fallback node, aka 4 worker nodes, and the cluster now costs about 97€/m. But that also means that I can't say with certainty which IPs are being used, if I scale the service up. I'm trying to be cost effective, my resources are limited. And I'd like to learn about this, but a course costs over 10k€ and takes 6 months.

I also noticed, when I have 3 CP nodes, only the 1st node has high CPU and RAM usage, the other 2 are pretty much dead, except for the 10% resource usage of etcd, no matter if they're doing anything or not.

Stateless workloads are a myth. Or rather you can't provide a service completely without state. The units can of course be stateless, but they will access stateful containers, like postgres, which also run on k8s.

I don't think I need k8s for now and when I will, other solutions are more likely. The whole effort of maintaining and upgrading the cluster, and right now there's a transition to gateways instead of ingress controllers, so you need to bother with infra instead of solving actual problems.

Thanks for feedback anyhow.

lakomen··on Ask HN: Homelab projects to learn Linux admin and DevOps to get hired as one?
I find the basic Linux stuff is learning by doing and reading docs, using search and asking around.

Docker has docs and also searchable examples and blogs.

But k8s is an IMHO artificially fenced off area. No matter where I ask, I receive no response or am met with arrogance and elitism.

I can't even get the simplest thing answered, which is "what is the minimum required setup for k8s, if not using a hosted solution? I plan to use 3cp 3w nodes and utilize all resources available. Do I NEED external storage, do I NEED an external load balancer or can I use DNS-LB?"

Official k8s forum - zero response. Reddit k8s - zero response and downvotes Home operations Discord - zero response

It's like this little well kept secret only select few have access to.

The documentation is also not clear on that subject, because I believe the big companies like Google and Amazon want to sell you their k8s offerings, which are super expensive, over 2k per month for a 5 node cluster are you kidding me

lakomen··on Show HN: TeaTime – distributed book library powered by SQLite, IPFS and GitHub
I absolutely don't understand this.

Doesn't ipfs require a server running? Where is the server code?

← PreviousPage 2 of 29Next →