HNHacker News
TopNewBestAskShowJobs

ricardbejarano

1,554 karma · joined September 12, 2018

Site Reliability Engineer at Cisco. Author of The Homelab Handbook. Builder by passion.

https://www.bejarano.io

submissionscomments
ricardbejarano··on Google finally revealed how much personal data they collect in Chrome
Controversial opinion:

Half the data Chrome collects is harmless, and the other half is up to the user to give up:

- Location data: you are asked and must approve for Chrome to use (at least on macOS) - Financial data: you must enter it manually and click "save for future use".

Could it be better? Sure! But I think DDG is exaggerating here. We're not _that_ bad.

ricardbejarano··on Be My Eyes
This is one of the most beautiful ways I've seen tech put to work.

Thanks for being so kind, this is awesome!

ricardbejarano··on Chili pepper consumption associated with 25% reduction in death from any cause
It is, but I like that I can make something burn with half a dozen drops, which means I keep the flavor of the food, without altering it too much.

But it is, I recall it once was the hottest sauce in Hot Ones[0].

[0] https://www.youtube.com/watch?v=Da8-QfGemgo

ricardbejarano··on Chili pepper consumption associated with 25% reduction in death from any cause
Interesting...
ricardbejarano··on Chili pepper consumption associated with 25% reduction in death from any cause
Man I wish it were, as of late I've become addicted to putting a couple drops of Blair's Mega Death on all my main dishes.

I've found it to be the best spicy I've ever eaten: it does not leave the mouth (no throat or lip burn, does not go up your nose), the crescendo is soft (if you dilute it), and takes no more than 20min to go away after your last bite.

ricardbejarano··on Why Credit Card Fraud Is Still a Thing
Ever heard of market regulation?

Also, don't forget the "winners" are appointed by the consumers, if everyone likes your product what can you do about it?

Are consumers supposed to skip the best option just because the company behind it is getting too big?

ricardbejarano··on KeePassXC 2.6.0 Released
Also, this is more niche, but I have it set to auto-fill HTTP Basic Auth credentials, which works perfectly since that's a well-established standard.

I use Basic Auth for many of my LAN-only web services at home and KeepassXC + browser extension feels like having client-side certificate authentication or similar, feels like going through airport security without taking your stuff off into bins.

ricardbejarano··on KeePassXC 2.6.0 Released
I use the browser extension all the time (Chrome).

When it works, it works great. You can tell the extension to auto-fill and auto-submit, so that it feels like you had been logged in from the very beginning.

The problem is, it works (in my experience) around 80% of the time. I'm guessing it's not on them since it requieres websites to follow certain standards in order to have autodetectable login form fields, but it's a pain nonetheless.

Try it, it takes a couple mins to set up. The best feature IMO is the keyboard shortcuts to fill in details.

ricardbejarano··on Show HN: I coded the world's most popular meditation program into a web app
Without caring about meditation at all (sorry?), I want to thank OP for giving us a way of trying it without signing up.

All "Show HN" posts should do that IMHO.

ricardbejarano··on Show HN: A searchable list of self-hosted software with screenshots
> There are a few very vocal people who dislike it for all kinds of reasons [...]

I'll have to agree, there are few but very vocal.

ricardbejarano··on Show HN: A searchable list of self-hosted software with screenshots
I know a lot of people here don't like Cloudflare, but they provide a solution to the "HN hug of death" mentioned above for free.

Whenever you expect to get a traffic spike, you can always turn proxying on for a day or two and turn it off afterwards.

ricardbejarano··on Show HN: A searchable list of self-hosted software with screenshots
Perhaps we need a new term or two to distinguish between "services I provide through providers" and "services I provide with my own metal" (except ISP and power, 'cause I run my services but I'm not buying a power plant).

At the moment people, myself included, use "self-host" for both.

ricardbejarano··on Everything I know about Kubernetes I learned from a cluster of Raspberry Pis
Or set tight resource limits.

Setting resource requests also enables the use of HorizontalPodAutoscalers.

ricardbejarano··on Everything I know about Kubernetes I learned from a cluster of Raspberry Pis
From experience, anything with 2GB or more RAM can be a master node. Workers can even have 1GB and work just fine.

Be warned, though, in my experience etcd requires a somewhat decent read/write latency, or else it's going to fail, and when etcd fails everything fails. Your changes don't apply, etc.

ricardbejarano··on Everything I know about Kubernetes I learned from a cluster of Raspberry Pis
Everything I know about Kubernetes I learned from a single-node (pseudo)clustered refurbished ThinkPad X201.

It cost me 90€ at an IBM refurbished sell. It is downstairs by the router, and it has been hosting everything for me except my email and my blog (which I want to host but I'm not sure about the reliability of my ISP's service, this morning it went down for 5h12m, without prior notice or anything).

It is amazing how much you learn from doing stuff. I'm currently on my 3rd year of univerity for CS, so I've tried the academia-style learning process, reading books on my own and doing stuff on my own. The latter is the best method by far.

ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
I can count with one hand the amount of state constitutions that allow the sudden declaration of independence of a part of their territory.

Self-determination is a right you reject when you step foot on Spain (and practically every other country).

We might have to change that, I don't know, but the Spanish constitution is no fascist rule, or else almost all modern democratic states are, too.

It is very complicated.

ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
We had a non-binding referendum on November 9th, 2014, with 90% saying yes to independence, but 37% voter turnout.

Then an illegally-binding referendum was organized by the Catalan government on October 1st, 2017. The result was 90% leaves, but yet again, 43% voter turnout, and there were no democratic guarantees, as some people were caught voting multiple times, the census was obtained illegally, etc.

After that illegal referendum, the Catalan government decided to secede and declare independence. That's why they were prosecuted and recently convicted. Declaring the independence of a part of Spanish sovereign territory is explicitly forbidden under the name of "secession" in Spanish constitution, and because it goes against the nation's own sovereignty it is considered a very serious crime, that's why they were convicted up to 13 years.

From my POV, as a Catalan citizen, this is ordinary application of law, the law that we all agreed upon in the first place, and the riots and violent scenes seen recently are simply caused by a minority of the pro-independent minority which want independence at all costs, and police forces can't allow that, thus, conflict.

ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
The thing is, the government can't let a "comunidad autonoma" organize a binding referendum about a region's secession of Spain, because that would put the region's sovereignty on the region's people, and that's against the Spanish constitution (art. 1.2, the sovereignty of the entire Spanish territory is of all Spanish citizens).

That also infringes Spanish constitution's 2nd art., "the Constitution is fundamented atop the indissoluble unity of the Spanish nation".

It's not that they "should have let them vote", it's that they can't, unless the Spanish citizens reform the constitution and remove those articles.

The separatist movement is blocked in that regard, and unless all other UN countries were to recognize Catalonia as an independent state, they are locked in as a "comunidad autonoma" until a constitution reform happens.

ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
I'd rather not to take anyone on Spain very seriously about this, as this is a very "with me or against me" kind of problem, and practically everyone has a strong opinion.

Everyone will tell you their side of the story, with half-truths and euphemisms wherever they need them.

Source: I'm Spanish, currently living in Barcelona.

ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
Yes, but the website redirects to http://82.223.97.47/, a "site was taken down by the judicial authority" site, if you are connecting to tsunamidemocratic.github.io from Spain.
ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
The website redirects to http://82.223.97.47/ (site was taken down by the judicial authority) if you connect from Spain.
ricardbejarano··on Spanish government orders GitHub to take down Tsunami Democràtic repository
Repositories are hosted on GitHub, and unless GitHub explicitly blocked those with Spanish source IP addresses, there's no way a Spanish ISP can block us access to a repo unless they block GitHub altogether.
ricardbejarano··on Show HN: Nginx Image with HTTP/3 (QUIC), TLS1.3 with 0-RTT, Brotli
You may find my NGINX image[1] interesting.

There's some features you could easily add to yours in order to make it a better overall image.

[1] https://github.com/ricardbejarano/nginx

ricardbejarano··on Ask HN: What do you self-host?
> It's not necessarily dangerous but lithium batteries have a chance to fail and in very rare cases even explode, making them a potential fire hazard.

Well, I'm removing the battery and the pseudo-UPS logic right now. The battery looks fine, but I'm not taking any risks, since it's on top of the DL380 but under a wooden TV stand.

Thanks for the heads up! You might have prevented a fire.

ricardbejarano··on Ask HN: What do you self-host?
Happy to help!
ricardbejarano··on Ask HN: What do you self-host?
You haven't answered my question. Your supposed "kill switch" wouldn't exist in that scenario.

I gave you an apples to apples protocol comparison. If you tell me there's a single bit that lets you distinguish between HTTPS traffic and DoT traffic running both on 443/TCP, then I'll buy your "kill switch" argument.

And even if you do, nothing keeps me from saying farewell to my ISP as soon as they press that switch.

ricardbejarano··on Ask HN: What do you self-host?
Nothing keeps an end-user from rescinding it's ISP contract as soon as they ever slightly cross the line of filtering a single packet.

I agree in that end-users shouldn't give a dime about DNS privacy, it should be private by default, but it is up to us to promote the correct protocol over the "hacky" one.

If DNS-over-HTTPS is superior, then why don't we shove everything down 443/TCP? Or better yet, why don't we get rid of TCP altogether and send everything over a port-less encrypted dynamically-reliable trasport protocol? Surely middleman couldn't distinguish between traffic.

Ports are there for a reason. The fact that they are used with anti-end-user intent doesn't make them (or any protocol that runs on them) inherently bad. Yet one thing that makes a protocol better than another one, given set of requirements, is efficiency.

By the way, if I were to switch my DoT server from 853/TCP to 443/TCP, the port wouldn't be a problem anymore. Per your standards, now DoT would be better than DoH, wouldn't it? Same results, smaller payloads.

ricardbejarano··on Ask HN: What do you self-host?

  s/mechanism/hack/g
DoH is a hack, the use of suboptimal protocol to achieve the same goal.

DoT is a protocol explicitly designed for it's purpose.

If brickhead sysadmins block DoT it's their problem, and if you have to work around that then it is, in fact, a hack (or a "workaround", doesn't matter).

It's not that DoT or DoH are superior to one another, it's that DoT is "DNS in TLS", and DoH is "DNS in HTTP in TLS", doesn't that raise a red flag for you?

ricardbejarano··on Ask HN: What do you self-host?
At this point I consider myself pretty knowledgeable on Kubernetes.

I bought Kubernetes Up & Running a year ago, I was disappointed to see it is a very over-the-top view, without getting into details.

I skimmed over Kubernetes in Action a couple months ago. Nothing really catched my eye either.

The last one I read was Kubernetes Security by Liz Rize. Either there's not that much to securing Kubernetes or the book is very introductory too.

The only parts of K8s I don't know a lot about are storage (haven't got past the NFS driver yet), CRDs and distributions like OpenShift. But in the same way I'm lacking storage expertise outside of Kubernetes.

ricardbejarano··on Ask HN: What do you self-host?
Didn't know unbound had DoT.

I learnt about CoreDNS because Kubernetes uses it for service discovery, and once I read about it's "chaining plugins" philosophy I wanted to try it out.

And it was so refreshing coming from Dnsmasq that I fell in love with it.

← PreviousPage 3 of 5Next →