HNHacker News
TopNewBestAskShowJobs

guilherme-puida

274 karma · joined February 12, 2022

Software engineer from Brazil.

Chat with me! guilherme at puida.xyz

submissionscomments
guilherme-puida··on Start all of your commands with a comma (2009)
(2009)
guilherme-puida··on Dasel: Select, put and delete data from JSON, TOML, YAML, XML and CSV
I maintain dasel on Debian [1], and It's such a nice tool! I don't use most of its advanced capabilities, but being able to convert from/to any of those formats with a single tool is very useful.

[1]: https://tracker.debian.org/pkg/dasel

guilherme-puida··on Why I should be running Debian unstable
> dasel: JSON/YML/XML/CSV parser, similar to jq, but different syntax, not sure I'd grow into it, but often need to parse YML like JSON and failing

I maintain dasel on Debian, and It's such a nice tool! I don't use most of it's advanced capabilities, but being able to convert from/to any of those formats with a single tool is very useful.

guilherme-puida··on Libera IRC Channels Sorted by Number of Users
I use senpai+soju+gamja and they all work very well together.
guilherme-puida··on The Overengineered Resume with Zola, JSON Resume, Weasyprint, and Nix (2023)
In Brazil we have Lattes (https://pt.wikipedia.org/wiki/Plataforma_Lattes). The English translation does not mention it, but one of it's most useful features is a centralized resume platform. It's quite nice, but mostly used by people in academia and government-adjacent areas.
guilherme-puida··on Ask HN: Which programming podcasts do you listen to?
I really like Software Unscripted by Richard Feldman.
guilherme-puida··on Wcurl: a curl wrapper to download files
wcurl does a lot more than that, though: parallel downloads, retries, following redirects (and other things, that are all written in the blog post).

There's also some value in providing a ready-to-use wrapper for users that install the curl package. Maybe wcurl will also show up in other distributions after a while, especially since Daniel also likes the idea.

guilherme-puida··on I'm forking Ladybird and stepping down as SerenityOS BDFL
As Long As it Suits the Community, I guess. I might be naive, but the reasons he gave for his decision don't strike me as selfish.
guilherme-puida··on Go's old $GOPATH story for development and dependencies
> Isn't it the case that Debian builds of go 'packages' (i.e. making a .deb package') are using the pre modules mechanisms?

As far as I know, yes: https://salsa.debian.org/go-team/packages/dh-golang/-/blob/d...

guilherme-puida··on Ubuntu 24.04 LTS is so buggy you can't install the OS [video]
Debian.
guilherme-puida··on Ask HN: Who are your favorite tech youtubers
Off the top of my head, Andreas Kling and Casey Muratori don't fall into any of those buckets. There are probably more examples as well.
guilherme-puida··on How we built JSR
Common Lisp, maybe?
guilherme-puida··on Ask HN: What is your policy regarding smartphones for your children?
> There are no good music on yt because of at least lack of organization of tracks/albums/discography, lack of lossless and of course lack of a decent search.

I don't think children care too much about any of those problems, though. I used to listen to music on a cheap radio player with an usb stick and I thought it was the greatest thing ever.

guilherme-puida··on Spring 6.1 now compatible with virtual threads and JDK 21
> I’m shocked actually that you don’t get this kind of mentorship where you work. What’s your Director doing?

Bold of you to assume that every company has a technically competent director (or that higher-ups even care about mentorship).

guilherme-puida··on $HOME, not so sweet $HOME
When you create $XDG_CONFIG_HOME/emacs/init.el before starting emacs for the first time your `user-emacs-directory' will be set to it. However, the other locations (.emacs, .emacs.d) are always preferred if they exist.

Refer to section 50.4.4 (How Emacs Finds Your Init File) of the manual for more information.

guilherme-puida··on Tell HN: '' in Vim moves cursor to recent line
> By contrast, in Vim you use $ to move to end of line, and ^ to move to begin of line.

You can also use shift+i and shift+a to move o beggining/end of line and enter insert mode.

guilherme-puida··on Jujutsu: A Git-compatible DVCS that is both simple and powerful
> So in your workflow you never "git commit -a"?

I like seeing what I'm about to commit, so I always do `git commit -p` or `git add -i`. Most people where I work do the same, so I don't think this workflow is uncommon.

guilherme-puida··on Ask HN: Why do functional programmers hate loops (for, while, etc.)?
forEach is just an alternate syntax for a for..in loop, that instead of being a block it takes a closure. It's not functional, since it's only used for side-effects.
guilherme-puida··on Ask HN: Why do functional programmers hate loops (for, while, etc.)?
Sure, but `forEach` is not even in the same category as map/filter/reduce. `forEach` is in no way functional.
guilherme-puida··on Ask HN: Why do functional programmers hate loops (for, while, etc.)?
forEach is still a loop
guilherme-puida··on JavaScript import maps are now supported cross-browser
> ... and is more performant, since it's often written in Rust. (See Vite, esbuild, etc.)

Minor nitpick, but Esbuild is written in Go, not Rust. Vite also uses Esbuild behind the scenes.

If I'm not mistaken, SWC is the one built in Rust.

guilherme-puida··on We're building a browser when it's supposed to be impossible
I don't think Ladybird is being built to dethrone Chrome, just like Serenity is not being built to dethrone Linux.
guilherme-puida··on Google Python Style Guide
Every single editor has some equivalent to `expandtab`, so you just use that instead of pressing space x times.
guilherme-puida··on Distributing Mac apps outside the App Store, a quick start guide (2021)
As a developer from a developing country, $100/yr is really expensive.
guilherme-puida··on Breaking up with JavaScript front ends
> I considered installing a redirect plugin to send me to the old.reddit subdomain

I use RES[1] to force the old layout (along with many other things).

1: https://redditenhancementsuite.com/

guilherme-puida··on Ask HN: What are your “scratch own itch” projects?
Thank you. HTMX is a breath of fresh air.
guilherme-puida··on Lula defeats Bolsonaro to again become Brazil’s president
If Bolsonaro had managed the pandemic just a little bit better we would have won, I think.
guilherme-puida··on Ask HN: Where to watch skilled developers writing code and explaining ideas?
While I enjoy his videos, his personality can make content hard to watch sometimes.
guilherme-puida··on Ask HN: Where to watch skilled developers writing code and explaining ideas?
You didn't mention C++ so this might not be that useful, but I really enjoy Andreas Kling [0] and his work on SerenityOS.

Even though I don't use C++ at all, he explains concepts so well that I've been able to learn a lot.

He also has some videos using Rust to build the SerenityOS Programming Language, Jakt [1]. The compiler eventually became self-hosted, so more recent videos don't contain Rust code, but earlier ones are a goldmine.

[0]: https://www.youtube.com/c/AndreasKling [1]: https://github.com/SerenityOS/jakt

guilherme-puida··on Python 3.11.0 final
I find mypy to be underwhelming in comparison to Typescript, but maybe it's just the ecosystem. Most JS libraries nowadays are either written in Typescript or have type definitions, but some big Python libraries don't (or the types are not complete).
Page 1 of 2Next →