Better HN
topnewbestaskshowjobs
Log inSign up

lucasoshiro

931 karma · joined Jul 26, 2023 (3y ago) · 320 submissions

Submissions

comment 5d ago · link · parent

Do you think that Brazil is that simpler than USA? Brazil has 26 states, 71% of the population of the USA and its area is bigger than the US mainland. It also feels like a collection of several smaller countries, despite being having a more homogeneous government

comment 1w ago · link · parent

The N64 homebrew scene is very active: we have libdragon (which is a very mature and relatively easy to use) and more recently, pyrite64.

There are plenty of new homebrew games (some really impressive, like cathode quest and junk runner), but I didn't see yet a good curated list

comment 1w ago · link · parent

Do someone have a similar list for SNES, N64, PS1 or PS2?

comment 2w ago · link · parent

> know it's not open-source, but this is how I use 1Password with FIFO .envs

I tried it some months ago, but it didn't work so well... The FIFO approach looks elegant, but in practice it doesn't work so well (maybe because the application was trying to read it twice?).

The best I could do with 1P was to store the env var as a password and retrieve through the CLI...

comment 2w ago · link · parent

Secretive is amazing! I know that it's not its purpose, but it would be great if it could store more than ssh keys, like providing a safe place for my .envs

comment 2w ago · link · parent

> As an aside, same with cheating in movies/series

As an aside from an aside, I find very interesting how every couple of main characters in movies has couple problems (cheating, lost of interest, one of them don't want to engage the other, etc). Taking a look at my list of recently watched movies (including very diverse ones, like Godfather, KPop Demon Hunters, Whiplash, Sunset Boulevard, Up, etc) and I cant't find a single one that we don't question whether the couple will stay together...

Actually, the only two exceptions that I remember are Marty/Jennifer from Back to the Future and Ferris/Sloane from Ferris Bueller's Day Off...

comment 3w ago · link · parent

> How are they being received generally in Brazil?

Very well. Not only BYD but also other brands like GWM and Geely.

> What kind of vehicles are people replacing with BYDs?

Combustion cars with the same price, they are not replacing other electrical vehicles because the Chinese brands are way cheaper yet they are good cars.

> I always assumed Brazilians drove mostly "legacy" VW or Nissans

Nowadays we have many models from different brands.

In the past the fleet was basically VW, Ford, Chevrolet and Fiat. In the late 90s and early 2000s the Japanesne (Honda, Toyota and Nissan) and French (Renault, Citroën, Peugeot) became popular, and then Hyundai also became a success here. Recently, the Chinese brands are becoming more popular, especially Chery and the ones that I mentioned before.

> including the ID.4

But I never saw it here, even though VW is a very popular brand here.

comment 3w ago · link · parent

I don't understand why REST clients are so overcomplicated... We only need an interface for cURL, we don't need cloud synchronization, creating servers, grouping by namespace (or environment, or session, or call what you want), electron, JVM and so on. A simple native app would do the job.

comment 3w ago · link · parent

Because it's fun

comment 4w ago · link · parent

My company once gave me a touchscreen laptop and I did know that until I touched the screen by accident. It was fun to play but I never found it useful. I heard many people saying the same, some of them even preferred to disable. I find it uncomfortable to touch a laptop screen... The only thing seems to benefit from that for me is photo editing apps or 3D modelling.

So, I'm curious about how you use it. Do you have a specific use case where touchscreen made you life easier?

comment 4w ago · link · parent

That's what I thought at first. But all the niceness of having a settings GUI didn't pay the unwanted bloat. My first try was to find a "debloated iTerm2", and then I found out that Ghostty's settings aren't the burden that I thought they would be

comment 1mo ago · link · parent

I also thought like that, but you only to set some defaults and you're ready to go. If you still prefer a GUI there are online generators. Nowdays you can also vibecode them, they are very simple and any LLM will do it right

comment 1mo ago · link · parent

For me: it doesn't really "bring" anything more than what I expect from a terminal.

In Mac, we had the default terminal app which has some problems with TUI apps and other small issues. iTerm2 is the replacement that most users use, but it become too bloated with useless features and AI, while it was hard to keep a good config file that I could share between devices. Ghostty was a sane mid-term for me: a good and modern terminal, with a simple config file, maintained by someone that I trust (Mitchell Hashimoto) and only that.

About Linux: I don't use Ghostty in Linux because I'm comfortable with Konsole.

comment 1mo ago · link · parent

Why teach people to play guitar once a week if they won't be a new Jimi Hendrix? Why teach people to run if they won't be a new Usain Bolt?

Maybe because they don't want to be an "emerging player" or something, they only want to understand how a new technology that is changing the world works and prefer to learn by doing.

If Sebastian is doing it by its personal brand, he really deserves it. I would trust him because I know he is a reference on his area of knowledge and I know he is because he shares his knowledge instead of only making fancy talks.

comment 1mo ago · link · parent

I don't like working with neural networks and I always found everything overcomplicated or oversimplified, sometimes both at the same time.

But this book is almost perfect. Every new concept is well described and every is well founded. And every step moves you forward (if you know, you know)

comment 1mo ago · link · parent

In newer versions of Git you check this by using the new command `git repo structure`[1]

[1] https://git-scm.com/docs/git-repo#Documentation/git-repo.txt...

comment 2mo ago · link · parent

Stash is just a stack of commits. If you use stash this way too much probably you will mess something, since it needs to keep that stack data structure.

The solution: create a branch or tag with the things that you're trying. If you want to apply it, use `git merge --squash`. This way your unfinished work lives outside the stash stack!

comment 2mo ago · link · parent

Native English speakers when trying to speak Portuguese find it hard to speak A with tilde (~). Like when they say "São Paulo" they say "Sao Paulo". Ã is the nasal A, which sounds like the U in "sun" and "burn", while the standard A sounds the same as in "car".

I don't know why this happens, since the phoneme exists in English...

comment 2mo ago · link · parent

Thanks. I'm upvoting that instead

comment 2mo ago · link · parent

> `find` does a lot more things than that.

And I don't think that's a good thing. Especially because AI coding agents use it a lot. They only need to hallucinate a little to destroy your filesystem.

comment 2mo ago · link · parent

I wrote this about git log -S and other Git tools for code archaeology and debugging: https://lucasoshiro.github.io/posts-en/2023-02-13-git-debug/

You can see the discussion about it here: https://news.ycombinator.com/item?id=39877637

comment 2mo ago · link · parent

> You probably don’t need find

I think for most cases `git ls-files` does this job quite well. If you provide pathspecs, this can be very powerful!

comment 2mo ago · link · parent

Yeah, that's true! I find it very boring to create automations manually, this will help a lot

24.

Ask HN: Lesser known features of macOS/iPadOS/iOS/etc. 27

16 points · by lucasoshiro · 2mo ago · 8 comments

comment 2mo ago · link · parent

> Git doesn't support them very well. Bugs are disappointing frequent

I can't remember any "bug" in the submodule machinery. If you find one, report to the Git mailing list, they very receptive.

> Having to constantly remember `git submodule update --init --recursive`

Set this config: `git config submodule.recurse true`

> IMO they're almost always the wrong solution.

Yeah... but sometimes they are the only feasible solution, especially when the dependency needs to be shared across projects that use incompatible dependency managers and Git is the only common denominator between them...

comment 2mo ago · link · parent

Jujutsu is built on top of Git, so it can benefit tools in the same ecosystem (forges, CIs, code quality tools, IDEs, plugins, etc).

I have only played a little with jj and hg, but I felt that jj has a more modern UX, learning from years of Git existence (and even influencing Git, like the new `git history` command [1]). On the other hand, hg was created in the same month as Git, both trying to improve the experience of the VCSs available at the time (april 2005).

[1] https://lore.kernel.org/git/20250819-b4-pks-history-builtin-...

comment 2mo ago · link · parent

> jujutsu works with git.

Just like TypeScript with JS, QUIC with UDP, GraphQL with HTTP, Android with Linux, and so on

> git can do everything jujutsu can do (otherwise, jujutsu couldn't work with git)

Replace "jujutsu"/"git" by "typescript"/"js", "quic/udp", etc and you'll understand.

comment 2mo ago · link · parent

ReactOS is way older than React. In fact, the first times when I heard about React I thought ReactOS was becoming mainstream, but no...

If you an OS based in JS, maybe the closer we had was NodeOS [1]

[1] https://node-os.com

comment 3mo ago · link · parent

I second 1. I'm a newbie in neural networks and I think it's an excellent book! One of my barriers in ML is the resources, I find them overcomplicated or too simplistic without a mid term. It's not the case of this book, everything is well-explained. Neural Networks aren't fun for me, but this book makes it very interesting.

comment 3mo ago · link · parent

If you have an account, you can follow his profile and support his work. If you don't have, you can see the images anyway.

If the author simply put the image into the article it would only be sending kudos to Hélio instead of supporting him. Of course a single follow or profile view is not that much, but it helps to spread his work

12345
11