Recent submissions

Comment · 1 month ago
I learned this while using IntelliJ, because it suggests both options. I searched for the difference and, once understood, I was able to use the knowledge everywhere.

The other useful advice is when there is a full folder you want to ignore. Putting a .gitignore with a single "*" ignores the full folder...including the gitignore file itself.

I do use it when I quickly need to ignore the .idea folder

Comment · 2 months ago
For all comments saying that it is a standard and shouldn't be changed, I think the standard is that the first "menu" is the important one, no matter how it's called, so for this reason it should really be changed.

Imagine if you move the file menu to the middle. Will you still be quickly able to find it "because it's a standard" or instead click the new first menu (and then spend several minutes trying to find where the "New window" option is)?

Comment · 2 months ago
But...there is a solution that works (although it may be a bit confusing at first). A toggle with two buttons, dark and light. Both cannot be pressed at the same time, but both can be unpressed at the same time. That's the auto mode, and the ui can be tweaked to show a little label in between or below.

In auto, none of the buttons is pressed (and preferable a small label that says auto is shown). Pressing dark/light will force that mode, enable that button and remove the auto label.

In dark/light mode, you can press the other button to enable the other state. Or you can press the current button to disable it, and switch to auto. This last one is the confusing-at-first interaction, but makes sense if you think about it (it's like saying: I want dark / I want light / I don't care)

Comment · 4 months ago
Usually the but me a coffee button is there because there are people that asks for it. Like, they do want to give you something, and often they ask you for a way to do so.

That button is for them, for those who want that button, if you don't just ignore it! Nothing bad will happen and the author is (usually) not expecting anything.

Comment · 5 months ago
Mi primer lenguaje de programación fue Logo (el de la tortuga) en español. Estuvo bien para aprender, y puede que ahí sí tenga algo de sentido, permite que los niños entiendan mejor lo que están haciendo, incluso si el inglés les cuesta.

Para ámbitos más profesionales coincido con el resto de comentarios: un único idioma (y el inglés ganó la batalla) es preferible.

Comment · 5 months ago
"Next week's Friday" -> "Next's Friday" -> "Next Friday

Still confusing, but at least I understand where it comes from.

Comment · 5 months ago
If we follow the same logic. If today is may 2026, and you want to do something "next September", are you referring to september 2027? After all, months are also grouped in years.

The fact that "next [X]day" skips the one on the current week is arbitrary, and probably more confusing than if it didn't. If people you are talking to understands that, go on, but otherwise keep in mind that "next [X]day" is confusing and you should clarify or say it differently

Comment · 6 months ago
I made this one-page little tool to help me split bills when going out with friends:

https://trianguloy.github.io/githubPages/SplitBill/splitBill...

The UI is horrible, but I really liked doing the coding. I'm also aware of other similar sites, but this one contains the features I need.

Comment · 7 months ago
Similar with salary. If you want a raise, you need to ask for it. It's sad, but that's what it is. (I'm aware of some companies that do raise the salary annually, and there is also the performance benefit if you have it, but I don't think that's common).

That, and the "you need to change companies frequently (at most one each year)" are the two things I always say to people on a computer science career.

Comment · 7 months ago
> Letting an LLM write for you is like paying somebody to work out for you.

This. This is the big distinction. If you like something and/or want to improve it, you do it yourself. If not, you pay someone else to do it. And I think that's ok.

But I guess some people either choose a wrong job or had no other option. I'm happy to not be in that group.

Comment · 7 months ago
As a forced mac user at work (always used windows or Linux) the number of modifier keys is really confusing. On pc you use control almost for anything, alt for very special cases (when usually control is already taken) and the windows/meta key for os-related things. On mac a lot of shortcuts use command, but some use control, and there are a bunch that use option without a real reason why, my memory really suffers from this.

The only common thing between the two is that the fn key is only used for the special modifiers under F1-F12.

I was given a magic keyboard, and my plan was to replace it with a standard one, but then I found about the keys mapping from Karabiner, and the fn key is exactly at the control position...so I started remapping.

Now, I can do almost everything with fn+key. Fn+c=command+c, fn+s=control+s and so on.

Comment · 8 months ago
I've joined local groups for anime and videogames, but they are mostly anime. Videogames and programming seems to be almost exclusively masculine (the stereotypes are there for a reason) but the few girls there doesn't seem much different.

Maybe I've had bad luck, maybe I need to search more, but still...the situation seems to be similar everywhere.

Comment · 8 months ago
That women feel pressured to be introverted and/or man feel pressured to be extroverted. Being the opposite is a handicap.

Although, the good part, is that the personality doesn't seems to be genetic and doesn't come from your parents either, otherwise we would be extinct (literally).

Unfortunately, this situation makes me think about genre issues in an different way, not only sort of understanding why they happen, but surprised that it's not more common. I've met very horrid persons, that have achieve what I haven't, just because women doesn't seem to try to see past them. Is like they gave up...

Comment · 8 months ago
As someone who identifies with the text, a very introverted guy that almost never starts a conversation but it's able to maintain it once they other person starts it, and as someone who has never dated any girl (and failed to do so) I'll just say: almost every random person that talks with me...is a man.

It doesn't seems...fair...and, again, says a lot about society.

Comment · 8 months ago
I was in a similar situation in 2021, and my requirements were small size, no notch and headphone jack. I didn't like Samsung (the android from Samsung is fundamentally different from the other androids) and wanted to avoid xiaomi and other similar brands due to the ads bloatware.

The size requirement was basically impossible, but I switched it to a width requirement instead, and I found the Sony Xperia 10 III.

Pros: One of the smallest widths, no notch, jack, and a minor modified android (no stock, but pretty close).

Cons: too tall (but at least the small width makes it a easier to use with one hand), medium-bad camera (for some reason, although I don't care) and some preinstalled apps (like Facebook, but you can remove/disable them with adb).

Overall I'm pretty happy with it, and I'm considering another Xperia as a replacement if this one starts to fail (more than 4 years now, but still fine)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton