Hacker News new | past | comments | ask | show | jobs | submit | ghosty141's comments login

> I’ve found SPoT (single point of truth) a better maxim than DRY

I totally agree. For example having 5 variables that are all the same value but mean very different things is good. Combining them to one variable would be "DRY" but would defeat separations of concern. With variables its obvious but the same applies to more complex concepts like functions, classes, programs to a degree.

It's fine to share code across abstractions but you gotta make sure that it doesn't end up tying these things too much together just for the cause of DRY.


> No one thinks of software size primarily in the context of their disk space.

This is wrong. The reason why many old tools are so small was because you had far less space. If you have a 20tb harddrive you wouldn't care about whether ls took up 1kb or 2mb, on a 1gb harddrive it matters/ed much more.

Optimization takes time, I'm sure if OP wanted he could shrink the binary size by quite a lot but doing so has its costs and nowadays its rarely worth paying that since nobody even notices wether a program is 2kb or 2mb. It doesn't matter anymore in the age of 1TB bootdrives.


I dont think you are right. Light for example doesnt perceive time at all. From the photons point of view it never aged even a microsecond while it traveled lightyears. Time is relative too so from our POV 1 year passed when a photon traveled 1 ly, but for the photon no time passed.

this is fantastic, thanks!


I don't get this. Git is still distributed, even if the "main" repo is on github, everybody still has a local copy. You are confusing project management (which github effectively does) and git. Git is still git, github is just a project management tool with git integration.

In the Linux kernel the project management is done via email (which is also just a centralized webserver in the end), so whats the problem?


The problem is lot of Dev tools has centralized on GitHub, so much so that we cannot use IPv6 only servers for development because GitHub does not support IPv6.

From what I use composer and brew relies on GitHub to work.

https://github.com/orgs/community/discussions/10539


This is a 20 year old article and no we don't have "nazis kill foreigners with some regularity". Yes hate-crime happens, but you make it sound like an active war zone where you have to be afraid of your life if you are "foreign" looking.

I'd wager for tourists it's very safe in Germany.


> I'd wager for tourists it's very safe in Germany.

Unless they're Black or "look Muslim", in which case I'd stay the fuck out of Eastern Germany. There's more recent reports as well, e.g. [1] - and it's been a massive issue for Eastern Germany, especially since the rise of Pegida [2].

But don't get me wrong, Western Germany also has its no-go areas, especially anything rural. The large cities tend to be decently safe from far-right violence - but even the smaller ones can be dangerous. Just last week a friend of a friend and her child was attacked in Landshut near Munich by a drunkard (and no it's not hearsay, there's a police report).

[1] https://www.mdr.de/nachrichten/sachsen/dresden/dresden-radeb...

[2] https://www.zeit.de/politik/deutschland/2015-10/pegida-dresd...


I am a foreigner living and working in Germany. Its a perfectly safe and pleasant country to live in.


It sure is, until it isn't. And it strongly depends on where you are in the country. I highly doubt you live comfortably in a Nazi area.


[flagged]


That's of course not true in the slightest, but it is the image the new Nazi party is painting. I recommend you stop consuming afd content.


Regarding your knowledge on this topic your recommendation is an insult. Every month a crazy asylum seeker drives into a crowd of people here, I don’t make this up look it up. All kinds of outdoor festivities are undergoing brutal security regulations, making them unprofitable and many don’t even happen anymore because of this. Not even mentioning the knife crimes which are absurdly. Nazi crimes are the lowest they have been in history. Most problematic are the antisemitic tendencies from the Palestinian movement at the moment.


> Every month a crazy asylum seeker drives into a crowd of people here,

Did you forget (or not hear) the Magdeburg x-mas market car attacker was an AfD supporter and antiislamic? And the Mannheim one was a German gardener with "Reichsbürger" connections?

It doesn't quite make for snappy headlines, so a lot of people never hear these details…


The Madgeburg terrorist is a Saudi Arabic refugee which dislikes the Islam and not really an AfD supporter, but mentioned that he liked some position regarding the Islam critique the party has.

The Mannheim terrorist is indeed a German but I guess that the exception confirms the rule.

Overall all extrem attacks if from right, left, foreigners are an issue and need to be adressed accordingly. The problem which the Germany people have with the current state of affairs is that the bad behaving asylum seekers mostly the ones from the middle east get a soft treatment to say the least when they commit heinous crimes and the deterrence of appropriate punishment through law and order is not given.


You call someone who has lived in Germany for 18 years a refugee, and dismiss his AfD sympathies. That says nothing about him and everything about you really.

Try to look a little bit beyond your polarized bubble. I'll be happy to meet you halfway there.


Well he is official an political refugee in Germany because of his anti islamic activist activity, his origin country wants to prosecute him. He was until his arrest an anti islamic activist and had a very active social media presence in which he lamented about the way Europe and especially Germany are handling the refugee crisis which are mostly Muslims. In this context he reposted and referred to some AFD politicians and their position on the crisis. Does that make him an AFD supporter?

Afaik his social media was so messy that people would connect him to various even contradicting things. That the big press settled with AFD supporter after they found some repost is lazy and misleading.


This clearly isn't going anywhere. Let's pull up https://de.m.wikipedia.org/wiki/Liste_von_Terroranschl%C3%A4... instead. It seems roughly 50/50 islamist and Nazi terrorists (with 2 left terrorists mixed in.)

If we can agree that half the problem is Nazis and the other half is Islamists, I'm OK with that. Deal?

(Yes I'm ignoring the left attacks. They targeted objects/property, not people.)


Well, if you're Palestinian, Germany can be really harsh and I won't bet on your safety..


That’s complete nonsense and the opposite is the case.


The smarter the human is the more it knows how little it knows.


I agree. I mean constant nagging about features can definitely be annoying so I can understand that part but having the rest sounds like burnout.


There is a semantic difference. If you just copy paste code from the master branch to a release branch it might be unclear where that code came from. A cherry pick makes it clear that you ported a bugfix from the master to the release branch.

You obviously don't need many git features if you are working alone or with only 1-2 team members but the bigger the organization the more complex the git workflow becomes.


I also kinda love the thought of seeing untouched nature, like there have probably only been a handful of people there.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: