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

> I dare you to watch 5 minutes of news on the government media channel (the only channels that can be accessed in the free TV tear, that poor people are able to watch) and say that it's not rigged.

This is not true. While most of the channels are government media, you also get RTL, which is very much opposition media. Source: https://mindigtv.hu/muszaki-segitseg-1/csatornak/csatornakio...


Thanks, I didn't know that.


> When it comes to code reviews, it’s a common phenomenon that there is much focus and long-winded discussions around mundane aspects like code formatting and style

Does this really happen, or has it just became a meme? I haven’t worked at any company where we did not have auto formatting set up with a common style config, along with some form of linting.


It really happens, though hopefully less and less.

At my previous job, we had enforced automatic code formatting in pull requests, but most of the code was not (yet) formatted, and people were afraid to bulk format the code. I wrote a script that picked a few files periodically, formatted them, and auto-assigned a review. They hated it. Eventually I turned it off. I wasn't even pushing the style, by the way, just working with the most "legacy" code.

Before that, I worked on a team whose TL offered to hand-reformat my submissions, because clang-format didn't get his personal style right.

At my current job, we're a team of two and we know what we're doing, but there are some nits that have lead to lengthy, albeit adequately self aware, discussions (mostly C++):

- Is it ok to use assert()?

- Is it ok to use std::string literals? ("hello there"s)

- Should errors reported by an API have a corresponding error message? Should the error message be contextual?

- Should an API report fine-grained errors or just a component-wide failure value?

- Is it ok to add more logging? Is it just noise?

- Is it ok to report errors using exceptions?

- Are stringstreams too slow?

- Is it ok to write a strict parser for a specified format?

- Does a parser need a corresponding fuzzer?

- Is it ok to use macros for conditionally compiled multi-level logging?

- Should functions have contracts documented in source comments?

- Are regular expressions overkill?

- Should we use /bin/bash or /bin/sh?

- Is it ok to use exec in a shell script?

- Single quotes or double quotes?

- Should the release process be automated?

- How often should releases occur?

- Are variant types ok?

- Is RAII a useful technique or is it over-complicating code-hiding?

- Is this "simple code"?

... The list goes on and on. Can you guess, based on this list, what it is we work on? No, you cannot.

A team could vote on a Coding Style Guide to decide many of these things, but does anybody follow those? If you're going to give someone a hard time, you give them a hard time. </rant>


Code style is a trivial issue to solve with modern tools. And even before that, most review I’ve seen simply left a single comment “Hey, you forgot to indent ;)”

If you are having intense discussions about code style, that’s an organizational redflag and a sign there’s a talent issue in the org (it’s really bike shedding).


Style is super subjective and a lot of engineers pass opinions as facts in code reviews - because management wants to see reviews.

Code reviews become a hassle as soon as it becomes a career progression step.


But aren’t 10s of thousands of people dying from self-driving crashes?


> What if a 15 year old Dane sends a dick pick to a 17 year old girl in France? Is she a child pornographer?

In some countries, you can have sex at 14, but only do sexting at 18. Total mindfuck.


In some US states you can't buy porn until you're 21 years old, but you can ACT in porn as of 18.

Laws are far from being logical or always making sense.


Reminds me of the kinder egg VS AR15 ownership thing in the US


Or drinking age and gambling age vs serving in military…


Which is fascinating, because when I was a kid the drinking age in some places in America was still 18. It had always been 21, but the protesters against the Vietnam draft made it a big point that they could be sent to war but weren't allowed to drink at home so states lowered the drinking age to 18 through most of the 1970s. When I turned 18, Las Vegas and New Orleans were the only places in America that still had that law in place, and since then they both reverted to 21.


Now can they have sex in public ? Cause I guess that s the rationale: an image on a phone, or a discussion is more shareable than two teens fondling under a quilt. Also, the abuse potential.

Find enough innocent to change the jurisprudence, but I d bet that you can find so many more quilty parties that the law had to go one way.

Now I have a daughter and I was 16 before mobile phone existed. I m thinking what I would do if I see her sexting: probably nothing after 16 and a soft warning between 14 and 16 and a very strict one before, just because consent can only exist with maturity. Now if the guy is 30 and she s 16, I d tell her she s being an idiot sending him anything: it's not like he cares about her as a person, most likely and she s going to suffer under my responsibility or at best put him in danger. But, 16, starts to be her choice to listen or not and difficult for me to enforce anything.

Glad she s still 3 :D


That’s how it is in the US, the federal government criminalize electronic sexual communication with a minor, but in person seduction in many/most states A-OK. A hurdle, but imagining the malicious compliant person that understands the boundaries more than the minor gives me the shivers. “Hm they’re so distant over text but they’re always keen to meet up yay”


This sort of goes to how much society should or shouldn't step in as a parent for people who are shitty parents. The vast majority of underage sexual assaults in the US are committed by family members or family associates. Right there in the trailer park. And there ain't shit that breaking into everyone's email is going to do to change that.


I think what's more fucked up is that in Germany for example it's legal to have sex with a 14 year old if you're 30 as long as the parents consent. It gives a whole different perspective to when people talk about other "less developed" countries.

I actually think that there were other EU countries that had even lower age limits than Germany.


That's not true afaik.

Someone under 18 could have sex with someone over 14 (but also still under 18).

As soon as one of them is older than 18 it becomes child molesting, and the grown up is in serous trouble.

The law makes not sense of course. It was a more or less recent change. The old regulation may seem bizarre given that example of the parent, but it was more close to reality in most cases.

Before that a 18 year old was not in trouble when sleeping in consent with a slightly younger friend (which is a common situation in reality). Now you would automatically get prosecuted as child molester if authorities would find out; no matter a relationship and consent!

That's the outcome of the CP witch-hunt in Germany… Quite normal things are now outlawed and can ruin lives of young lovers quite substantially.


You're wrong, the other commenter is actually correct in recommending the Wikipedia article. For some reason the German age of consent article is weirdly specific[0]. It references legislation that applies both for 14 year old and above 21 year olds.

It's somewhat related to determining whether the child was capable of "sexual self-determination". But typically the abuser will only get punished if both the child and its parents file a legal complaint(at least that's what the law says).

I'm going to leave my opinions on this at the front door, but given how easily this law can be abused it's almost comical how often the german government has used the excuse of "think of the children" when they passed mass surveillance laws.

By the way as others have pointed out while the 14 and 17 year old can have sex legally, sending any kind of nudes actually triggers another law that may lead to imprisonment[1]. Making any kind of "pornographical" material available to children under 18 is a felony. Who would have known that the porn my classmate shared in highschool on VCR, if shared on an iPhone nowadays could have led to him being sent to the juvenile detention center.

[0] https://de.wikipedia.org/wiki/Schutzalter#Schutzalter_14_Jah...

[1] https://dejure.org/gesetze/StGB/184.html


I can't edit my post above any more.

The other child posts are correct, I'm wrong.

My confusion comes mostly form a not realized, but once planed change in this laws.

In the end the current legislation seems quite sane.

But this can't be said about the laws governing messaging intimate content between teens. That's the other source of my confusion.

Anyway, thanks to bmn__ and rjzzleep for pointing out my error!


> That's not true afaik.

Can you look first into Wikipedia, online law publication to verify before spreading misinformation?

You are morally obligated to edit your post and correct it with the true facts.


Hungary does not tax it's citizens living abroad.


I was going by the table at https://en.wikipedia.org/wiki/International_taxation#Individ... but it’s entirely possible that it’s incorrect.


It looks like Hungary technically taxes nonresident citizens except in almost every case where it would matter.


https://nextjs.org/telemetry

What's the catch here? You can opt out if set an environment variable. You can surely do that on CI as well, if that's your concern.


The catch is that this is intentionally made inconvenient. If it were a config setting I could just put it there,commit, and forget about it.

By making me setting an environment variable you are forcing me to remember to set it up in my infrastructure, on each environment, on each developer laptop, for each project independently, and if my project is open source, good luck with any user remembering/caring to set the env var.

And this is pretty intentional so that people forget or just don't care to disable it.

That's the catch.

https://github.com/vercel/next.js/issues/8851


Next supports loading env variables from files, and as far as I can see, telemetry respects this. Add this line to a `.env` file, and it's done.


There are a lot of shitty companies that require you to contact support or even wait weeks before you can delete your account.


Yep.. for subscription cancellation and account deletion. One of the reasons I love the AppStore



It's not standard, but that's not a surprise, as Markdown is a pretty barebones format. Most of what they extended it with is pretty simple, like [[wikilinks]]. There are also other tools being developed that can work with the custom syntaxt extensions.

Also, at the end of the day, it's still just plain text. You won't lose any of your data if you no longer use Obsidian.


No. 40% of the population had at least 1 vaccine already. Death and infection rates are also declining.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: