HNHacker News
TopNewBestAskShowJobs

paulnechifor

243 karma · joined December 23, 2012

submissionscomments
paulnechifor··on Goodbye, Clean Code
Indeed. Maybe my English skills are fading with time, but my impression was that it works there because it's unclear who you're talking about. "Some other" is singular, but multiple people could have noticed that so it makes sense to use the plural there. It's kind of like how in American English they say "France _has_ won the WC", but in British English they say "France _have_ won the WC" (because a team has multiple people).

But saying "The boss fired me. They are awful." sounds no different than "The boss fired me. He are awful." or "They is awful." My auto parser is failing and I have to think it through.

paulnechifor··on Goodbye, Clean Code
Fair enough, but at least they had plural you back then: thou.
paulnechifor··on Goodbye, Clean Code
One example:

> My boss invited me for a one-on-one chat where they politely asked me to revert my change. I was aghast. The old code was a mess, and mine was clean! I begrudginly complied, but it took me years to see they were right.

The first they sounds like the boss and the colleague were in the same room, but it can't because he says one-on-one. Still, presumably both the boss and the colleague wanted the revert. But the second they is really ambiguous. Was the boss right or the colleague?

paulnechifor··on Goodbye, Clean Code
Sorry for the off topic grammar question, but am I the only one who finds it confusing how people have started to use plural pronouns to refer to individual people?
paulnechifor··on Porkchop plot
I can see how somebody would think that "Slovenčina" means "Slovenian" though. (Slovenian is actually "Slovenščina".)
paulnechifor··on YouTube’s LGBTQ Problem Is a Business-Model Problem
Honestly, a moderator should intervene. What's the point of linking to an article where you can only read 3 lines before paying?
paulnechifor··on YouTube’s LGBTQ Problem Is a Business-Model Problem
Sounds like a conflict of interest. If someone gets sued for rape, the jury doesn't get filled with rape victims.
paulnechifor··on Why the Stranger Things ‘red room’ is confusing younger fans
Yeah, it's always cheaper to just take pictures with your phone, but using old and more difficult methods makes the photos seem more important even when they are objectively worse.

I've been meaning to try wet plate photography[1] because it seems very intriguing to my closeted-hipster self, but I don't trust myself with the chemicals needed.

[1]: https://www.youtube.com/watch?v=TKtE_j9jmtk

paulnechifor··on Facebook wants up to 30% of fan subscriptions vs Patreon’s 5%
You are conflating freedom of speech with the US first amendment. Freedom of speech is a principle. It applies to private companies as well. Voltaire didn't say "I disapprove of what you say, but I will defend to the death your right to say it, so long as it's not on Twitter, Facebook, &c in which case I'll beat you to death myself because private companies are entitled to censor their own platforms".

What's the point of having free speech protected by the government if in practice no company will allow you to practice your free speech?

paulnechifor··on My Twitch Live Coding Setup
Depending on your setup, you might never/rarely need to use certain keys. The numpad is a waste of space, there's literally no need for it. Arrow keys are rarely needed if you use Vim and i3wm (plus vi mode in bash and vi shortcuts for Tmux). On my keyboard if I need the arrow keys I just press Fn+esdf (wasd offset by 1). All the other rarely used keys (F1-F12, PgUp/Dn, &c) are just a Fn key away. I find that combining keys is more convenient that having separate keys far away.
paulnechifor··on Finding Lena Forsen, the Patron Saint of JPEGs
Yeah, I dislike this too. It's not as if you have to change your keyboard layout to write a foreign name. You can just copy paste it.
paulnechifor··on Things you should know about the Ottoman Janissaries
It's not honest. It glosses over bad aspects. Take the blood tribute[1]. It mentions that some parents would allow their children to be taken, but it doesn't mention that some others considered it so bad that they would mutilate their children to avoid them being kidnapped.

It doesn't mention that they were forcefully circumcised and converted to Islam. Muslim laws say that you're not allowed to have Muslim slaves, but the Ottomans were all to happy to ignore this.

It says that the "recruitment" (to be kind) age varied anywhere between 8 and 20. That's completely misleading since the ideal age was 8 to 10.

[1]: https://en.wikipedia.org/wiki/Devshirme

paulnechifor··on Homebrew 1.9.0
I don't think recompilation is required. You can use proot (like chroot) to make a local dir look like "/nix" to subprocesses. I've seen it here (but not tested it): https://gist.github.com/mbbx6spp/4f467adb4e0133063fd87e264c6...
paulnechifor··on Mickey Mouse and Batman will soon be public domain
Perpetual copyright does the opposite of encouraging innovation. Consider how many of the highest grossing movies are made up of endless sequels and reboots of existing franchises vs how many are new.

I'm sure you're right that it encourages investment, but I don't think that the commoditization of culture makes it more innovative or better (for my subjective definition of better).

paulnechifor··on BPG Image format
Only in countries with software patents.
paulnechifor··on GitLab 11 released
When you pick tabs over spaces you have to live with the fact that many people will pick a width different from yours. :)
paulnechifor··on Britain’s European allies desert it in a vote at the UN
Europe and the EU are getting conflated more and more. It's kind of like how if someone said he's American, you wouldn't assume he's from Brazil, even though technically Brazilians are American since they're from the American continent or continents.
paulnechifor··on Britain’s European allies desert it in a vote at the UN
> [...] confirming what many say about the euros not really having the best interests of the UK (or even themselves) in mind in many instances.

How can this be confirmation if it occurred after Britain triggered Brexit? It's a reaction. Of course "the euros", as you call them, don't have Britain's best interests in mind considering Britain is leaving.

paulnechifor··on Romania is developing its own culture of protests
You can easily masquerade a bribe as negligence.
paulnechifor··on Romania is developing its own culture of protests
> there are no reasonable facts on why the government should resign

Other than the fact that they tried to decriminalize many corruption offenses triggering the largest protests since the fall of communism. As many people are saying: thieves shouldn't be let go just because they've been caught and gave everything back.

paulnechifor··on Romania is developing its own culture of protests
Are you sure about that?

The president did trigger a referendum on this, but the ruling party jumped the gun and passed (and now revoked) this law before the referendum question was even finalized. The referendum will still go ahead.

Even if you phrase the question as "Do you want to decriminalize corruption?", or a more probable "Do you agree with softening the legislation toward combating corruption?" a significant amount of people will say yes, not because they think corruption is good, but rather they've been lead to believe that the National Anticorruption Directorate is biased toward PSD (the successor to the communist party).

(Small note, the two main networks saying this are Antena 3 (whose owner is in prison and would have benefited from this law) and Romania TV (whose owner is on the loose and on Europol's most wanted list).)

paulnechifor··on Romania is developing its own culture of protests
I really doubt it. Older people in Romania (not all but many) are nostalgic about communism. They'll say things like "sure you couldn't say what you thought, but everybody had jobs, houses, etc".

They miss having things decided for them, they miss having a life long job (which only works because the government plans the economy), they miss news about how everything in Romania is well and getting better and how horrible things outside of Romania are.

But some things are the same. The ruling party (successors of the communist party) won on a message of "foreigners are trying to control Romania" and look at how many foreign sounding names in have in politics (including the current president who is an ethnic German).

paulnechifor··on How Do I Declare a Function Pointer in C?
The "spiral rule" doesn't work all the time. See this previous HN comment by stephencanon: https://news.ycombinator.com/item?id=12775862 .

Also this comment by Linus Torvalds (copy pasted because I don't know how to link to Google+ comments):

> I don't think that works. It breaks trivially for consecutive [] or * cases, something that he carefully didn't have in his examples.

> So the examples were made up to make it look like it's a spiral, but type parsing is about precedence, not about spirals. It so happens that the higher-precedence operators ([] and ()) are on the right-hand side, which is why it "works" to start on the right.

> And it doesn't explain why

> typedef int (fn_t[][2])(void);

> is ok, but

> typedef int (fn_t[2][])(void);

> is not.

> "Spirals"? I don't think so.

paulnechifor··on Ubuntu on Windows
It depends on what you do. It's terrible for media things, but it's the best OS for programmers and I don't have to go along with every UI trend Microsoft/Apple are implementing this week.
paulnechifor··on WordSafety – Check a name for unwanted meanings in foreign languages
While you have this on the front page, why not start a repo where people can send pull requests, rather than submit one word at a time?
paulnechifor··on A Natural A/B Test of Harassment
I thought better of HN before this. It looks like if you don't toe the line you get downvoted and your comments get [killed].
paulnechifor··on Full email validation regex (RFC 2822)
It looks to me like you're neglecting email addresses from <http://ai./>. The 'ai' TLD does have an MX record.
paulnechifor··on jSpy: Automatically detect user's history
I see you always omit the semicolon for the last statement in a block. Is this a Pascal influence?
paulnechifor··on Getting to work on diversity at Google
> Diversity [...] is good for public relations.

That's pretty much the only reason tech companies are interested in diversity.

paulnechifor··on One reason we lack Internet competition: Starting an ISP is hard
It's only expensive if you have high standards. Romania (and much of Eastern Europe) has good connections because there is a demand for cheap and fast connections (due to piracy). This resulted in neighborhood networks of 100-1000 people or more. And the cities started looking like this:

http://media.hotnews.ro/media_server1/image-2012-09-14-13222... http://storage0.dms.mpinteractiv.ro/media/1/1/1686/6527161/1... http://www.b365.ro/media/image/201107/w620/Cabluri-NetCity.j... http://www.b365.ro/media/image/201302/w620/netcity_romania_i... (I was unable to find some of the best pictures.)

Eventually big ISPs started offering higher speed and unlimited traffic plans and the cables are still being buried.

← PreviousPage 3 of 5Next →