Better HN
topnewbestaskshowjobs
Log inSign up

ralgozino

399 karma · joined May 2, 2018 (8y ago) · 97 submissions

In a love-hate relationship with computers. -- https://algozino.com.ar
Submissions

comment 3d ago · link · parent

You can style pages using uBlock Origin too, I configured the following custom filter under My Filters to:

1. Increase the font-size 2. Remove the white background for light mode 3. Respect system dark mode and have a nice dark theme

Snippet (hopefully HN renders it ok):

  ! Hacker News: bigger text + soft light theme + dark theme that follows the system setting
  news.ycombinator.com##html:style(zoom: 1.25 !important)
  news.ycombinator.com##.comment, .commtext:style(font-size: 10pt !important; line-height: 1.45 !important)
  news.ycombinator.com###hnmain:style(max-width: 960px !important)
  
  ! Light
  news.ycombinator.com##:matches-media((prefers-color-scheme: light)) body, #hnmain, input[readonly]:style(background-color: #f1eee6 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: light)) .subtext, .comhead, .subtext a:link, .comhead a:link:style(color: #666 !important)
  
  ! Dark
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) html:style(color-scheme: dark !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) body:style(background-color: #111 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) #hnmain, input[readonly]:style(background-color: #1c1c1c !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) td[bgcolor="#ff6600"]:style(background-color: #b34700 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .pagetop, .pagetop a:link, .pagetop a:visited:style(color: #111 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) body, td, .default, .title, .subtext, .comhead, .yclinks:style(color: #8f8f8f)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) a:link, .c00, .c00 a:link, .admin, .admin td:style(color: #dcdcdc !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) a:visited, .subtext a:link, .comhead a:link:style(color: #8f8f8f !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c5a, .c5a a:link, .c5a a:visited:style(color: #a8a8a8 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c73, .c73 a:link, .c73 a:visited, .c82, .c82 a:link, .c82 a:visited:style(color: #8a8a8a !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .c88, .c88 a:link, .c88 a:visited, .c9c, .c9c a:link, .c9c a:visited:style(color: #707070 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .cae, .cae a:link, .cae a:visited, .cbe, .cbe a:link, .cbe a:visited:style(color: #575757 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) .cce, .cce a:link, .cce a:visited, .cdd, .cdd a:link, .cdd a:visited:style(color: #424242 !important)
  news.ycombinator.com##:matches-media((prefers-color-scheme: dark)) input, textarea:style(background-color: #262626 !important; color: #dcdcdc !important; border: 1px solid #444 !important)

You can tweak them as you please :)

comment 1mo ago · link · parent

no- native speaker here (Spanish mother tongue), I read it as "an alternative, that is open source, to ...", no implication that the other options are not open source

comment 6mo ago · link · parent

you can reserve node resources for system processes so the pods don't kill the node using some kubelet parameters: https://kubernetes.io/docs/tasks/administer-cluster/reserve-...

comment 7mo ago · link · parent

> I don't really write any emojis in anything I use a browser for anyways

Proceeds to use an emoji as favicon :D

comment 8mo ago · link · parent

Ctrl+q in zsh is much better, I don't remember if bash has it.

You write a command, you remember that you need to do something else first, press ctrl+q/the lines gets cleared, write a different command and after you press enter to run it the old command appears again :)

comment 11mo ago · link · parent

Argentina is a special case.

When inflation is absurdly high like in Argentina, Economy does not make sense any more.

Basic economic assumption are not true and you get things like that or that "spending" is actually "saving".

I don't think it relates.

comment 1y ago · link · parent

Do you want to serve already existing files from a directory or just that the backend is a directory on your server?

If the answer is the latter, seaweedfs is an option:

https://github.com/seaweedfs/seaweedfs?tab=readme-ov-file#qu...

comment 1y ago · link · parent

I went down this rabbit hole not so long ago too.

There was a discussion open on containerd's GitHub on removing the dependency on the pause image but it has been closed as won't fix: https://github.com/containerd/containerd/issues/10505

Also, if you are using kubeadm to create your cluster, beware that kubeadm may be pre-pulling a different pause image if it does not match your containerd configuration: https://github.com/kubernetes/kubeadm/issues/2020

comment 1y ago · link · parent

You seem to be using tip. Switch to using a stable release (1.2 is the latest one) instead if you don't want to be exposed to potential issues.

FWIW I've using tip since the closed beta and never had major issues.

comment 1y ago · link · parent

One of the maintainers said in another comment that it will download the formatter (ruff) and it is not embedded. So if you don't use that feature you won't even notice: https://news.ycombinator.com/item?id=44978660

comment 1y ago · link · parent

Powerlevel10k is perfect for me: fast, configurable, looks really good. It is not maintained anymore though :( I guess I'll keep using it while it lasts

comment 1y ago · link · parent

glow is kinda that: https://github.com/charmbracelet/glow

comment 1y ago · link · parent

that is not completely correct, see:

The United Provinces of the Río de la Plata (Spanish: Provincias Unidas del Río de la Plata), earlier known as the United Provinces of South America (Spanish: Provincias Unidas de Sudamérica), was a name adopted in 1816 by the Congress of Tucumán for the region of South America that declared independence in 1816, with the Sovereign Congress taking place in 1813, during the Argentine War of Independence (1810–1818) that began with the May Revolution in 1810. It originally comprised rebellious territories of the former Spanish Viceroyalty of the Río de la Plata dependencies and had Buenos Aires as its capital.

source: https://en.wikipedia.org/wiki/United_Provinces_of_the_R%C3%A...

comment 1y ago · link · parent

That particular diagram seems to have been generated by https://plantuml.com according to the image's metadata

comment 1y ago · link · parent

I don't know if this is a recent addition, but I started recently to use it: `git worktree` is awesome. It let's you have more than one copy of the repository at different points without doing the stash dance.

comment 1y ago · link · parent

I see you have not bought an HP printer lately: https://instantink.hpconnected.com/us/en/l/v2

comment 1y ago · link · parent

Sure, they were encouraging usage of the docker hub, but it's been at least a couple of years since they started pushing on the other way, when they introduced the first rate-limits.

If everybody did a fair-use of the Docker Hub maybe we wouldn't have the rate-limits in the first place? But I think we all learned that won't be happening in the open Internet.

Setting up a pull-through cache is pretty straight-forward, you can find the instructions in Docker's documentation: https://docs.docker.com/docker-hub/image-library/mirror/

comment 1y ago · link · parent

Or you set up a mirror and don't abuse a free service

comment 1y ago · link · parent

Install "fzf" [0] and set it up to be used with control+r, there's no going back. You get as a bonus the chance to use fzf in a lot of other places :)

I guess that more advance tool would be "atuin" [1], but it is too much for my use case.

[0] https://github.com/junegunn/fzf [1] https://github.com/atuinsh/atuin

comment 1y ago · link · parent

That's pretty convenient and easy to remember

comment 1y ago · link · parent

I got really confused for a moment, thinking that "deciseconds" was some git-unit meaning "seconds needed to make a decision", like in "decision-seconds" xD

Note: english is not my mother tongue, but I am from the civilised part of the world that uses the metric system FWIW.

comment 2y ago · link · parent

Absolutely, you can even buy a pre built datacenter from companies like Huawei or Schneider and get it shipped, plug power and network and be online.

comment 2y ago · link · parent

Maybe you are not aware but while it is summer in the northern hemisphere in the southern hemisphere you have winter (and so on). So, speaking of seasons means exactly the opposite depending on which hemisphere you are.

What's wrong with using a calendar date like may the 1st? I know that there are other calendars too. But is more manageable IMO.

comment 2y ago · link · parent

Somehow related, expressions like "next summer", "starting this spring" and such on public global announcements make absolutely nonsense if you are in the southern hemisphere (like a big percentage of the global population)

comment 2y ago · link · parent

Hi there! the links to the roles are giving me a page not found error. I was interested in the infra one, but all the links give the same error.

comment 2y ago · link · parent

I second mise, it's been a nice replacement for direnv, asdf and makefiles for my use case. Much faster, still compatible with the old configuration files when needed and all in one tool for the new projects. Awesome.

comment 2y ago · link · parent

Are the positions remote from anywhere (like written here) or only from USA (as in the linked descriptions)?

I'm also getting 404 for the team blogspot like a sibling comment.

comment 2y ago · link · parent

sounds like Obsidian's canvas: https://obsidian.md/canvas

comment 2y ago · link · parent

You don't need to create a group. You can message your self (your number) directly.

comment 3y ago · link · parent

great story! also, TIL that I've been pronouncing `sudo` wrong, I was 100% sure that it was supposed to be like pseudo, but I guess that is a myth :)

It's so great to be able to listen and learn from the people that invented these important building blocks themselves, I feel lucky. Thanks for sharing.

1234