skysight-inc/HackerNews huggingface dataset:
That's my impression too. It's not that good programmers are immensely more productive than decent programmers, it's that bad programmers are very bad. Not only can they just not do certain things, but they leave messes that others have to spend time fixing.

I've had days where I've ended up doing literally nothing, but still objectively outperform some colleagues because they rammed some shitty unstable undocumented race-condition hack into the codebase.
This looks like something that could catch on, especially if you're already compartmentalizing projects into libraries, that alleviates a lot of hesitation in sharing a codebase. It's good to see that NDA's are involved as a layer of protection.

There are things that a human can suggest that computers can't. Such as a refactoring suggestion.

Here are a few ideas:

- Consider adopting a standard like EditorConfig (http://editorconfig.org/) for reviewers to have compliant indentation out of the box

- For Enterprise packages: perhaps there can also be an opportunity to sub-contract out features and write tests?

- Consider experimenting internal CI tools (like as done in open source projects) to scan for obvious/low-hanging fruit automatically

- Scanning for / suggesting package updates

- Provide QA / audit for a large open source project for exposure

- Security auditing

Here are things that are good to hear:

- Static / Linting: things like vulture, flake8, etc. seem like a nice thing to stick to. It's good that these linters have configuration files to it
> I'm okay with neonazis saying disgusting things, as long as they play by the rules and don't commit any violence.

So people should be allowed to say anything? So you can organize any imaginable crime, threaten people and promote false information as long as you don't do any physical harm?

I agree that just objecting Cloudflare's decision doesn't make you anything. One being a potential Nazi sympathizer just because they don't see any limits to where free speech ends can just be a very crazy conspiracy theory - nothing else.
My first issue was in 1984 (Forth Issue). I couldn't live without it, then. Until the end of Byte. We had no equivalent source of info in France. It was a fantastic and eclectic source of programming hints, ideas, whatever.
I'm now 66 and retired as a Sysadmin. Very good memories.
--
cmic
The fewest are real refugees fleeing war and violence. Most migrants are just doing it for economic reasons.

This leads to surreal situations like in Germany, where asylum seekers went for holidays in the countries they had "fled" from in the first place. Everything on welfare payment, and the legal explanation was some convoluted "they have a human right to go back to their own country" kind of argument.
This article is a waste of bandwidth and server storage space, the entire content is just an elaboration of the title, with not even a single consideration to what the cause is.

There are also a few graphs to make the author feel like he is a scientific researcher writing a paper instead of what he is actually doing , which is posting a question that quite frankly could with little extra thought fit in a tweet.
_Especially_ without evidence.

He did already accuse the commenters defending free speech of being Nazis though, so compared to that "shills" doesn't even sound all that bad.
People who change their religion are often disowned by their family, their spouse might divorce them, etc. It can in no way be considered a choice.
From the code I saw of it firefox's code is still pretty much in the 90s mindset. I mean I just went to the github repo and opened a random file and look at this : https://github.com/mozilla/gecko-dev/blob/master/widget/Text... or this : https://github.com/mozilla/gecko-dev/blob/master/dom/base/At...

raw pointers everywhere, macros, etc etc

nsresult Attr::Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult, bool aPreallocateChildren) const
{
nsAutoString value;
const_cast<Attr*>(this)->GetValue(value);
...

makes my eyes bleed. the references to netscape everywhere are funny, too.
Huh. I didn't know about that. Thanks for the info.

I don't know anything about the current maintainer or any of these disputes but I hope WOS keeps going; it's been going for over 20 years and amassed a lot of good stuff in that time.
To those coming directly to the comments, this is more than the "you must take at least 2 weeks a year" thing we've all read about before:

> I recently collaborated with Shashank Nigam, the CEO of SimpliFlying, a global aviation strategy firm of about 10 people, to ask a simple question: “What if we force people to take a scheduled week off every seven weeks?”...And it was entirely mandatory...The system is designed so that you don’t get a say in when you go. Some may say that’s a downside, but for this experiment, we believed that putting a structure in place would be a significant benefit.
I would love to use Elixir, I find the language to be the natural successor to Ruby, given the trends in languages today. However, everything I've read says that it's pretty hard to deploy. That the cloud options are limited (or take away the advantages of Erlang VM like code hot swapping). Any progress on this front?
That was a nice article. Thanks.

I'm curious about the first table in the "Interop with other systems" part.

It seems to say that an Erlang deployment doesn't need Nginx or a HTTPServer, anybody knows how that works?

EDIT: I read the cited source (https://rossta.net/blog/why-i-am-betting-on-elixir.html) and it seems that is the case.

It looks too good to be true, yet. It would be nice, if somebody with Erlang deployment experience, could comment.
I don't like the debugging workflow described in the linked article "Debugging techniques in Elixir", it reminds me of DDD: a separate tool not integrated with my main development environment and requiring extra manual steps. I tested both the Jetbrains plugin and the vscode extension, both failed (unsupported versions, bugs, etc...).
To elixir users: what do you think about the state of debugging tools? What is your workflow?
Don't forget what I call "technological supremacy" bias:

https://news.ycombinator.com/item?id=14902333
Out of curiosity, can you point me to the prior research that you mention? Aside from a couple of blogs, notably [1], I haven't seen much formal research, much less anything showing bounds on supportability.

[1] https://rusty.ozlabs.org
Where in Europe is it mandated by law that someone take a week off every two months?
We're creating the world of tomorrow
Thanks for the suggestions! I should've thought to check archive.org foot the books, as I've found lots of good old Turbo Pascal books there in the past.
This was the one that really struck a chord with me. You start of trying to take the product you created for one specific client and then generalising it.

You end up, in practice creating a individual bloody application for each client.

(Not a coder, more a manager who created specs and tried to shield the coders from the worst of the shit-storm).
>n this bazaar are now thugs, they sell wares designed to disrupt the bazaar, to addict customers, and to stop more complex goods from being sold.

The problem with that example is the same thing can be used to describe MLK during the 60s. He was all of that by most of the people who lived during that time. It can be applied to pornography, or Catcher in the Rye. You either squash distasteful ideas or you don't. Here's a little secret for you younger folks. The stuff the next generation does, you might find distasteful, but it's the future. They have to be allowed to try on new ideas. If you don't those ideas become more attractive because they are forbidden fruit.

The nice thing about allowing Stormwhatever to speak, is it allows people to see them for what they are. If you squelch them, well, that just makes them stronger.

You have to be able to apply it to people who you admire and people you despise.
Nothing wrong with that. It's a nice tool. Glad to hear the donations help keep it alive.
You can look into drab, an elixir server-side DOM manipulation library: https://github.com/grych/drab. I've never used it, but many people in the Elixir community think it holds a lot of potential.
> This is an extremely frightening statement to me. I'm terrified by the fact that you'd paint me as a Nazi sympathizer because my meta-level beliefs that text and speech should be protected are stronger than my object-level beliefs that Nazi philosophy is evil.

Well, your theoretical beliefs are now put to a much more practical test, sympathizing with the Nazis in any way shape or form, even if it comes down to just sympathizing with their 'right to a platform' is an excellent way to see how strong ones beliefs really are.

If this is the first time you are in a situation where your strongly held principles are put to the test then I sympathize with you, the longer you live the more this will happen and the more likely you will end up in a situation where there is a conflict between a strongly held belief and a negative consequence for yourself.

Note that bringing weapons (loaded or not) to a march sends a message: we're an army, and we're armed. Not using those weapons should not get them points. One of them brought his car and did use it, the damage was as bad or even worse as if he had fired a rifle.

> The Nazis are not reviled today because they had disgusting beliefs. They're reviled because they actually murdered millions of innocent citizens.

And they would do so again in a heartbeat if they knew they could get away with it.

> I'm okay with neonazis saying disgusting things, as long as they play by the rules and don't commit any violence. (Hell, people brought AK-47's and AR-15's to Charlottesville but didn't use them, despite the violent clashes.) Whatever happened to "sticks and stones"? Do kids not learn that mantra anymore?

Neo Nazis only say disgusting things because they know they are still living in a society where they can not get away with doing more but make no mistake, the overthrowing of that very society is their goal and I'd love to see you arguing for 'free speech' in the society that they wish to create.

You'd be up against the wall faster than you can say 'jack shit'.
Yes, it was recommendation from personal network for me as well.
My targets depend on context but I like client side stuff to be done in under 100ms since that was the limit for a human to feel like the interface is 'instant' I learnt at college.

There a bunch of tricks you can pull to give that impression even when you have to go over that limit.

These days I'm lucky, I only work on an internal web app that is almost entirely served over gig ethernet.
For automotive they're starting to make interesting things like dual-core CPUs running in lock-step. The outputs are compared at each cycle and a fault is declared if they differ. The problem is that doesn't generally allow you to keep running (perhaps a reset if that helps). They still like to rely on fallbacks like manual steering and braking, and the fact that you can pull over to the side of the road when something quits working. None of that is relevant for fully autonomous self-driving cars where the driver may be reading a book and not ready to take over quickly.
I think what they're pointing to is that the ELO system "true skill" that dota uses is a log normal distribution. To your point I'm not sure that means that player skill improves along the distribution, but I think it does mean their probability of winning increases exponentially.
Perfect example of the snowflake generation.
"test" < 1 is a TypeError in python3, and it works in python2 (returns False), it is part of the pitfalls of porting code to python 3.
Idea validation: How to find users to talk to?
The best way to validate your idea is to talk to your potential users. Where do I find them and how do I approach them?
Cookies and blockchain: Privacy risks of web payments via cryptocurrencies
Apple should rethink plans to waste $1B on video content
That's talking about hate speech, which is absolutely covered by the first amendment.

Sufficiently dangerous speech is not protected (Schenck v. United States, Dennis v. United States). Whether or not this speech was sufficiently dangerous is a matter of debate, but the comment you're replying to is correct.
Software-Only Mitigation Against Rowhammer Attacks Targeting Kernel Memory
poor little thing

#firstworldproblems
A password for key derivation prevents this attack and all other physical attacks. Trezor has supported this since day one.
Damn that takes me back! I used to love watch Secret Life of Machines, back in the 80s.
There are some corner cases that run fine in python but trip up 2to3 tools, including this web based one. This code for example:

print(set(x for x in range(2),))
Ask HN: What books do you suggest about marriage?
Hi HN,

I am a guy who has a plan to get married around 27 years old. I have no experience about relationship. I don't have a girlfriend. My friend asked me about the motivation behind marriage. Unfortunately, I have no idea why I should get married. Religion reason doesn't make sense. My friend told me to find a book about marriage in general (not related with a religion) as a reference. So, what books do you recommend?

Thank you.
But compared to most radioactive-powered devices, they would be quite small, no?
I had done a few Wordpress frontends for friends and family and this Ad Agency really needed a "User Interface Developer" for the backlog of projects.

After a few long discussions technically of Wordpress development they deemed me capable enough to handle the workload. I persisted with my intentions to help and break into web development, and it blossomed wildly from there.

By the time I started my second job, I had a real portfolio of Fortune 500 brands live and in the flesh and never looked back from there.

Honestly, it was stupid how easy it was to break into this niche. It took a lot of sleepless nights and long work weeks, but seriously anyone could do this. I'm a big proponent of that. I was a meat cutter before this.
Essential Phone now available to order, ships soon to pre-sale customers
Daily Stormer: Cloudflare Drops Neo-Nazi Site
I think this is incorrect. In Mysql utf8_spanish_ci and utf8_swedish_ci have different accent rules, for example.
That argument is convincing only on the shallowest level. Germany arrested, fined, and released those tourists. Thailand has given dissidents lengthy prison sentences. How about we worry about Germany's speech laws after we free people who are stuck in retched prisons for 10 years?
I absolutely agree with you -- the great proportion of migrants are coming for economic reasons.

It seems that clear-cut numbers that do not fit the "women & children escaping war-torn Syria" narrative have a tendency to get down-voted...
Implying everyone in Europe has a good work life balance!

Some are pushed to their limits every day for a meager wage most of us wouldn't leave the bed for.
Automation may take our jobs–but it’ll restore our humanity
The Next Era of IoT and Bots in Mobile App Development Company
Mobile apps act as the interface for IoT implementation and bots play an exceptional role in instant messaging app development. The techniques are amazing to be utilized under this domain.
If you're not fond of the syntax (and I don't blame you at all, I'm no fan) then you should give Erlang a try.
Just a guess, but wouldn't this approach used in isolation result in a high potential for getting stuck at local optima? It seems to me that the success of this experiment is the result of interaction with players in different MMR brackets.
> Also as trivia, BYTE was the last magazine I ever paid a subscription to (circle 1998?) because I felt cheated after paying up for a full year and after 1 issue, they shut down the operation. I got a form letter saying they would substitute with something else (Dr Dobbs? can't exactly
remember)

Same happened to me! Renewed for 2 years after being a subscriber for many years, and then they just stopped publishing a few issues later. And they offered 'Windows Magazine' as a substitute - ugh, no thanks...
I'll second that. Extremely in depth.
Tech Certifications with the Best ROI
When they start dressing the part, take part in torch carrying marches shouting slogans about mass murder.
How to create a Neural Network in JavaScript in only 30 lines of code
machine learning is all the rage these days, but actually turning it into a viable business on your own seems incredibly hard - both getting data to work on, doing something genuinely useful/valuable with it AND somehow monetizing that is a tall order for a startup

Not if you are in manufacturing. (edit: or finance)
They (the python community) doesn't require a library for left-padding. I don't think they will fall for this
Think forward a little bit. The "all talk" guy with vile opinions backed by a violent mob is already in the White House. He won. Now is exactly NOT the time to try to curtail free speech in any way, lest that same precedent be used by the administration to stifle dissent by his opposition - you - in the future.

Freedom of speech (and in fact a lot of the Constitution) is constructed to curtail governmental powers so that dangerous groups in charge aren't able to fundamentally re-shape the country. Why would you want to undermine that when the country is arguably very close to being in that position?

(Personally I think CloudFlare is within its rights to fire a client it doesn't like; non-governmental entities don't have first amendment obligations, just a requirement not to break certain class-based discrimination laws. I don't know if neo-Nazis are a protected class in that respect but it's difficult to see how they would be, since they are not a political party or recognized minority group.)

edit: parentheses
Fair enough, but in that case wouldn't it be more convenient to earn Ethereum proper?
And it uses actual secure hardware, originally designed for smart cards.
That's talking about hate speech. Explicitly dangerous speech, or 'fighting words', as acknowledged in the article, are not a protected class of speech under the First Amendment, as established in Chaplinsky v. New Hampshire 1942.
I have, and quite liked it. The problem seems to be that Elixir has much more momentum and better tooling (from a web-dev perspective). Am I wrong about that?
Welcome to peak stuff
Finland, We Hardly Knew Ye
Investigations are not convictions.
Implementing Functional Languages (1992)
So North Korean parents should just "deal with it" that their children fled the country and so they were sent to labor camps? Because, that's the law, you know.
I feel fortunate that my company gives generous vacation time (up to 4 weeks), plus sick days, "personal days", and national holidays.

We have a use it or lose it policy, which encourages everyone to use it. I'm also fortunate that the work for my role specifically is pretty easily managed with a reduced team, and has natural periods of being slow.

That said, it does feel weird to take extended vacation (2 weeks plus) even though its entirely within our rights as employees. There's a feeling of FOMO and fear of being seen as a slacker for taking too much time at once.

I like the pre-set vacation times, but it does make it hard for things like coordinating small teams so theres no over-lapping vacations. It also would make it hard/near impossible to schedule events in the future - e.g. weddings - unless you had some say over when the week was taken.
Insulting the king's dog is clearly harmless.

Arguing for genocide, or deportations, or coercive "cures" for gayness or etc etc is clearly harmful.

There is no reason to make space for haters. Kick them off the internet.
>If you can't acquire the resources to start your own print, then tough luck.

"See, we just had a misunderstanding. I thought I lived in the USA, the United States of America, and actually we live in the USA, the United States of Advertising: freedom of expression guaranteed, if you've got the money!"

-Bill Hicks on being censored by CBS
As the article mentions European employees are mostly safe, in north America they have already cut 7000. So the upcoming layoffs will mostly be in Asia. I guess competition with Samsung/Huawei is brutal and it is losing market share.
Besides being simply a must read for any "hacker" who is not yet comfortable with the ideas of quantum physics, this little book gives an excellent explanation of how the secure quantum key distribution works.
As someone who plays dota, this bot really isn't that impressive. The hero they chose is seen as a very difficult one to master for humans, precisely because judging distances, current life, current mana, damage etc. is so difficult to do on the fly and even if you can keep track of all of that in your head, you need extremely precise inputs to outplay your opponent. Yet by going through the API, they handed all of that to their bot on a silver platter. They pretty much let the bot sidestep the core challenge of this hero, while it was kept in place for the human players.

On top of that they also reduced the complexity of the game quite significantly by limiting items etc., which further reduced what humans could do against the bot. Even then, the bot utterly failed once humans were allowed to use a tiny bit of creativity.

And that's not even taking into account that this was not even close to the complexity of a real dota match. The big challenge in dota is in the decision making with incomplete information and in coordinating 5 people with only voice and the ability to ping the mini map, in a giant "search space" created by hundreds of different heroes, items and game mechanic interactions.
Ok cool. The question stands. How do you feel about ISIS does? Do you leave terrorist recruitment up or take it down? And if ISIS does have to go, why are white terrorists different?
So that system is inherently flawed as well. All that does is add another time management problem to the worker - they will still have to schedule time off for all of the things that don't happen in that mandatory time off, and they will still have to front-load all of their work into the days before they are out of the office, and then have even more work waiting for them when they return.

In the article, they found out that 7 weeks was too often, 12 weeks was too far apart, so they moved it to 8 weeks. Bluntly, at that point as an employee I'd be looking elsewhere as fast as I could. I'd rather just have a job that let me set my own time off and not hassle me about it - making me juggle even more nonsense like that would just be another obstacle to actually accomplishing anything at work, and make it even harder to leave work behind when away from the office.
Mostly that afaik a jail with sysvipc set isn't really isolated any more - it works, but defeats some of the purpose of using a jail in the first place?

https://forums.freebsd.org/threads/59371/

Apparently this can(should?) be tweaked a bit since 11-release:

https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=&n=1

> allow.sysvipc A process within the jail has access to System V IPC primitives. This is deprecated in favor of the per-mod- ule parameters (see below). When this parameter is set, it is equivalent to setting sysvmsg, sysvsem, and sysvshm all to ``inherit''.

I interpret that as it still being the case that setting this to the (equivalent of) the deprecated setting, one looses much of the protection a jail normally gives.