skysight-inc/HackerNews huggingface dataset:
I've also been coding 30 years. I have to use same line at work, and I use next line in my (very large) side projects. Honestly, I don't know what the difference is.
That might be an option, but not as ubiquitous and easy to use. We’re dealing with people who barely read and speak a single language, much less English.
I think the key to good luck is mainly to be lucky and also to have good judgement. When I was younger I was very open minded, pursued a lot of things but I didn't have good judgement in what I did and who I did it with. So in the end a lot of things I did turned out to be big mistakes.
mine is assigned to the bash alias "gl"
Article version of https://www.youtube.com/watch?v=vuIlsN32WaE
don't trust anyone: even the people with whom you are attempting to verify your identity using a password.
Doesn’t client-side encryption effectively suppress the need to trust a third-party?

Edit : I wasn't referring to this specific case, where encryption is done with the code sent by a server.
> You should better ask why the mass of people registered on it to let this happen.

Social networks gravitate towards oligopolies(+), because people go wherever everybody else is. Even in Germany, there is a social price to pay for not having a Facebook account.

(+) Oligopolies, because there seems to be a age generation effect: children don't use the network where their parents are.

This is one of the areas where self-regulation simply doesn't work.
Sure, but then maybe don't call it "public" as people will think it can be downloaded without creating an account. Calling something public but require account creation is misleading.
ما هي حساسية العين؟ وكيف تحمى عينيك من الإصابة بها؟
Access Transparency Beta: Expand your visibility over your cloud provider
Show HN: What is the best Pokemon Type?
Facebook favorability plunges
Fact Check: Shitty by default
> Error handling is noise.

Use a language which has syntax to automatically handle the error handling noise for you (dare I so do notation in Haskell). Go is egregious in that regard, the constant repetition of `if err != nil {…}`.
Removing the braces and returning the unneeded non-result of handleError to save a couple LOC is penny wise pound foolish.

Is this a common JS idiom?
This is not Kim Schmitz's first involvement in illegal activities. He's no folk hero.
I think you already answered, in a way. When they called the same software by a different name, you stopped thinking that money was disallowed. You repeated that you (only?) think about what is good for business. So, yeah, OSI's rebranding worked. Same software, but focus on the business side.
Want to Be First Google from India? Run to Bangalore
Unlike most of her lot, her family was "middle class", thanks to the help of Canadian missionaries in her region who aided in education and offered them religion. Her family was thus Christian and benefited with education. Her parents held jobs as college teachers.

Gidla says that proselytization didn't help her lot. "Christians, untouchables - it came to the same thing. All Christians in India were untouchable. I knew no Christian who did not turn servile in the presence of a Hindu."

Proselytization did help her a lot: it was the reason the christians were there in the first place.
Entire article's essence in a single line of text.
No, I do a git blame, and see all the relevant commit messages.

If there's not 1 line of code from that commit remaining why is it relevant?

If something looks weird still - I go back to the commit that created this part of code and git blame that. I don't remember a case where I had to do 2 steps like that.

BTW we have a rule of putting JIRA ticket numbers in commits, that makes it even easier to find out. You can see the whole discussion that resulted in the code you try to understand, test cases that you don't want to break with your new changes, etc.
At least a quarter of my coworkers when I worked at HP.
My point was that blockchain being ubiquitous leads to people already having a set of keys that they can use.

Of course you can manage keys yourself, but it's a lot harder than if the user already has it set up.
Tabs, everyone can configure them however they want. :-)
Haven't looked into it for a while, but, it used to undermine the JIT compiler to use multiple return statements in a single method in Java.

That said, I entirely disagree with the premise. I find it vastly easier to reason about a function/method that does not return early. To me, this is on par with writing switch statements that don't cover all the possible values: a sin.
John Carmack on setting deadlines
I'm interested what the response will be to this. I personally don't use GAPPS on my phone, so the optimist in me hopes this leads to more community effort on FOSS replacements for GAPPS. Realistically, everyone will probably just go through the registration process.
As a C++ programmer I can assure you, I know plenty of individuals with very strong opinions on tabs vs spaces debate.
It's also only possible if the code is thought of as a text and is proofread/edited rigorously for reading. My process is
1) write the code quickly- add comments
2) revise for clarity and efficiency (usually modularity), remove comments as confidence allows. This is where I might get the variable and method names correct for self-documenting code. Usually it takes several passes. But most often, "good enough is good enough" and I leave comments in. Just in case.
Tell that to the APIs I work with, like POSIX sockets/Winsock, etc. You're suggesting that I wrap them all with RAII? That's ridiculous when you have hundreds of C types which are all used just once or twice. Using defer makes elegant/simple C-like code because it uses the C APIs directly and is nearly the same number of lines of code as a C programmer would write without using defer.

I fail to see how "learning proper RAII":

struct FooWrapper {
Foo *foo;
FooWrapper(...) {
foo = initializeFoo(...);
if (!foo)
throw FooException(...);
}
~FooWrapper() {
destroyFoo(foo);
}
}

try {
FooWrapper fooWrapper(...);
}
catch (FooException &e) {
...
}

is easier than

Foo *foo;
if (initializeFoo(foo, ...)) {
...
}
defer({
destroyFoo(foo);
})

If this isn't what you meant, could you demonstrate?
Let me guess. You're not a 4.0 GPA from an Ivy League, are you?
I would personally be more worried about not doing any deep thought. At least I know for myself when I'm in deep thought on some subject, I don't notice anything around me. I walked past my own wife on the street while she was trying to get my attention. That seems very detrimental to the kind of luck the researcher was testing. Maybe my best bet is to try to switch between being present and thinking.
If the timestamp doesn't work, he covers this topic at the 0:35:25 mark.
https://arxiv.org/abs/1502.05947

In this paper we describe a functorial data migration scenario about the manufacturing service capability of a distributed supply chain. The scenario is a category-theoretic analog of an OWL ontology-based semantic enrichment scenario developed at the National Institute of Standards and Technology (NIST). The scenario is presented using, and is included with, the open-source FQL tool, available for download at categoricaldata.net/fql.html.

This is part of a series of work on applying category theory to databases. The initial work was to cast database concepts into categorical concepts, this led to a clarification of various concepts such as many kinds of SQL query being instances of limits and colimits. The theory was then used to extrapolate via category theoretic concepts to develop new database manipulation concepts.

This is a general recipe for applying category theory, though there are other approaches.
https://news.ycombinator.com/item?id=16567275
Deep learning book chapter 2 notes
Same tool (but written in Go) in Show HN few days ago: https://news.ycombinator.com/item?id=16647977
They are both 250mg. The expensive one has "vegetarian" in the name. I can't find any explanation anywhere.
Pure Farming 2018 Pc Game Free [Downlaod] Full Version Here
Which is written once, rather than 1000s of times. That's a reduction in cognitive load and the same 'missing else' bugs I mentioned.

I agree it's not always easier to debug - but mostly (I find) writing code as pure expressions rather than a sequence of statements reduces the need for debugging massively. So, I don't think it's quite as black and white as you paint.
In the same way that people chose to be robbed at gunpoint when muggers A/B tested mugging people while armed versus mugging people while unarmed.
MAXDATA CROWDSALE ANNOUNCED FOR MAY First
Blockchain-service startup to begin crowdsale this upcoming Labor Day

After months of preparation, Assi Zichlinski, CEO of MaxData, has announced that the company will be ready for the crowdsale this upcoming May 1st. The update comes as welcome news to the the tens of thousands of users who have already demonstrated their excitement and support for the company’s vision via the various social media channels. In recent weeks, the company had been flooded with consumers asking when the crowdsale would occur - an exciting step on the way to a revolution in consumer prices.
Seriously.

TLDR: use guard clauses (when appropriate for readability and cognitive load)
Can you trust the client side encryption?
Maybe we should execute an international copyright convention that specifies that the public domain is only free for Earth people. We could own two entire universes someday.
Who is providing the encryption? If it's the same third party, there is a trust needed there.
I mainly use Kubuntu, but on MS Windows IIRC UAC popups day "ABC.exe needs permission to modify your computer" (or similar), that's some explanation at least. If you've no idea what that program is or why it suddenly needs permission then you can refuse (or seek help).

It's not great, but it's a little better than you suggest.
I've been coding about 20 years now, and I've seen all of these changes in my own coding style.
The issues surrounding Facebook are systemic to our corporate environment and culture. So, really it's a multifaceted problem that the media has disguised as Facebook's sole problem.

They're an American company so profit is of course precedent over everything else. If users are naive enough to think everything they ever did on Facebook could be private, then they just cease to use it for private communications.

Culturally, there's a giant lack of people wanting to actually pay for most things digital. I don't see why it's ok to pay $5 for a mobile game on your phone but people aren't willing to fork over $10/yr for a modicum of privacy.

Should take a poll on this....

Thoughts?
What exactly don't you like about Google's recent changes?
You've still got to trust the software doing the encryption, and the other software on your machine that might be able to interact with the software doing the encryption (e.g., browser and other browser add-ons, particularly when using a browser-based client side encryption scheme).
If it was this simple we wouldn't be still arguing about coding styles decades after they were invented.

Money quote.
For whatever it's worth, I insisted on single return for a long time when I was an intermediate programmer. 30 years in, I strongly prefer return early (as well as continue early in loops) and I cannot go back. The immensely reduced indentation is marvelous. Having that 'happy path' consolidated is more readable.
Keyword - FEELS.

The article answers its question eventually. The article is really a mashup of random facts that presupposes the ffg:

1. Fat people are so because they eat too much.

2. Fat people eat fatty foods.
Sometimes requirements or quircks of third party library need a comment.
Call for Contributions for HCAR34
It's that time of the year again (https://ro-che.info/ccc/16). With new updated to GHC, Hackage and various other projects, the editors of the Haskell Community and Activities Report are looking forward to your contributions. The deadline is 30th of April 2018 and you can find more details at https://mail.haskell.org/pipermail/haskell-cafe/2018-March/128829.html.
Mine is only `gl`, but I edited my .zshrc for that.
RMS is very clear on the difference between open source and free software [1].

> The two terms describe almost the same category of software, but they stand for views based on fundamentally different values. Open source is a development methodology; free software is a social movement. For the free software movement, free software is an ethical imperative, essential respect for the users' freedom. By contrast, the philosophy of open source considers issues in terms of how to make software “better”—in a practical sense only. It says that nonfree software is an inferior solution to the practical problem at hand.

Confusion certainly has arisen over the dual meanings of "free", where the intent is to convey "unrestricted" but often "without cost" is understood. Similarly, a confusion naturally arises between what OSI may define as qualifying for the term "open source," and the plain meaning of the words which imply that when the source is open for inspection, then the project is open source. But as you see above, even when the terms are understood as their definers intend, they have very different meanings even if they describe a similar set of software, because they have very different cultural contexts and goals behind them.

[1] "Why Open Source misses the point of Free Software" https://www.gnu.org/philosophy/open-source-misses-the-point....
Top 10 Bugs in the C++ Projects of 2017
In this case, the software is open source, so the software can be evaluated.
Not necessarily. I’ve been a LastPass user in the past but quit after some event I can’t even remember I just remember I am not going back.

Lockbox being open source and integrating nicely with Firefox and Firefox Accounts makes me want to use it.

I am the target audience of Lockbox.

One day I will run my own Firefox Accounts server. For now I use the one that Mozilla is running.

https://mozilla-services.readthedocs.io/en/latest/howtos/run...
Swift also has the `defer` statement which makes this particular approach usable even if there is cleanup to do before the function can exit.
https://news.ycombinator.com/item?id=12254517
Thanks for taking the time to write such a detailed comment!
I keep hearing the argument that the people most likely to pay for not looking at ads, are the most interesting to advertisers.....
Spot market simulator for AWS to verify bidding strategies (Open Source)
Statically Typed Data Validation with JSON Schema and TypeScript
I like Tortoisegit. No commands to memorize and the entire product can be worked via the keyboard.

https://i.stack.imgur.com/Xc9vb.png
Bit of a shame as Intercom has been doing Content Marketing right for a long time. Older stuff by Des Traynor was pretty good though (and entertaining, his talks about Product Strategy are hilarious). Might have switched to a staff writer, hence the genericism (i hope they don't let engineering write articles on their own).

I guess that is the peril of content marketing in a narrow field - eventually you run out of fresh takes but still need to attract eyeballs. Hence the Buzzfeed-style headlines.
OP probably meant "progressive" instead of liberal. Here's one example:
https://www.wsws.org/en/articles/2017/08/02/pers-a02.html

Leftist journalists are routinely denied access to mainstream media platforms and are then accused of being "useful idiots" or "Russian trolls" when the only media platforms they're allowed on are places like RT or Telesur.
There's a whole field studying machine learning interpretability.

This recent Distill article is a good introduction [1].

The lime [2] package, based on this paper [3], is also notable.

[1]: https://distill.pub/2018/building-blocks/

[2]: https://github.com/marcotcr/lime

[3]: https://arxiv.org/abs/1602.04938
Yes, I'm being sarcastic. Most of the western world is a gun-free zone, and there are very very few shootings, except in the US, where there are apparently more guns than people.

Only in the US would it be argued that taking away guns would result in more shootings.
This is an interesting study, but it begs the question: Was there really any serious doubt that Spearman's g is a general human trait, vs. a trait limited to Western cultures?

I realize that the mildly controversial nature of factor analysis plays into all of this, but the general concept of g is one of those things that seems to be intuitively obvious.

G by itself is a correlation factor that comes out of the numbers, but its essential nature is rather easy to summarize: Individuals that do well on one type of task that requires a level of cognitive ability tend to do well on unrelated tasks that also require a level of cognitive ability. G is an attempt to put a number to that correlation and thus to serve as a measure of general cognitive ability. The fact that g is defined as a hidden variable revealed by factor analysis doesn't really change the basic concept.

When described in that fashion, it seems ridiculous to imagine that that g could be anything but a universal human factor. For goodness sake, it can even be measured in some (non-human) mammals.

I would go so far as to say that if factor analysis did not find g in non-western cultures, this would say more about the reliability of factor analysis than it would about the existence of general cognitive ability.
The irony is, I'm french, and I tried to "englishify" "en masse", thinking it made sense.
I’ve been using a couple of python tools wrapped in two shell scripts to achieve what I think works well:

migration-capture.sh (using https://github.com/mmatuson/SchemaSync) creates a temporary db using a base schema SQL file, applies previously created migrations, and then creates up/down migration scripts by comparing that to a db that’s been modified manually or by an mvc model tool, etc.

migration-apply.sh (using https://github.com/gabfl/dbschema) applies the “up” scripts that haven’t been applied previously OR runs the “down” scripts corresponding to “up” scripts that have been run previously but are not found in the deployed scripts (ie rolling back a deployment automatically runs the down script for migrations that were in the rolled back versions)

Right now my only concern/goal for improvement with the setup is to replace the python tool the apply script relies on, with a pure shell solution so it’s one less dependency to need to install on production machines.

Edit: spelling typo

Edit2: Wtf is a bass schema.
Denying every right is the last step of the manuver I'm describing, the first step is to re-define right to mean comfort. Bush-era politics just went straight to step 2 and it didn't work on us.

I suspect that the current UN rights council may be an example of this in action. See: the track record of the members on negative rights, the number of positive rights on their list of rights.
> He's just some creep who got rich off of deliberately running a site that facilitated piracy

He actually got rich off of the Dot Com bubble years before, which is why he changed his name to Kim Dotcom.

He embodies a lot of the stereotypical hacker image that people have - overweight, hacked the Pentagon+NASA+Citibank before he was old enough to drink in the US, a touch dramatic, etc. It's only natural that he's given a bit of attention.

Not to mention he really didn't break any law - Section 230 made site-owners not responsible for content posted to their site unless they failed to remove it, and MegaUpload complied with DMCA requests all the time.
And the hardware - the keyboard, the processor, etc. And the environment - your colleagues, any cameras. In the end, you have to give some trust to some people.
Some messaging systems have features to make ordering easier. For example, ActiveMQ has Message Groups (http://activemq.apache.org/message-groups.html) which guarantee a single consumer processes message from the same group and that it receives them in order.
> "If we hadn't experimented on animals, you might not even be alive today."

That might apply to some life-saving drugs.

Cosmetics and weapons are not medicines - far from it.
When dropbox launched, we already had a lot of filesync options. It is not too late to add value in the password management business and Mozilla is trusted.
Email marketing for e-commerce
No, in fact, airlines have regulations, because big flying objects loaded with fuel are kinda seriously dangerous, and can kill (not in un*x console meaning of the word) lots of people at once. Very unlike social platforms, to be fair.

If regulations were introduced because of users not knowing what's good and beautiful, believe me, IT industry would be the most regulated thing in the world.
Again, leaders are not the main issue. The problem is more that very little users cared.
I've always wondered about the role that the reticular activating system plays in being lucky.

If you are expecting to find good opportunities you may spot them more. I have seen many typical people blunder blindly past once-in-a-lifetime-opportunities.

Many people just don't pay attention to massive opportunities. They just don't notice them or seem to not care when these things are right in front of their noses.
They broke into the guys house with loaded automatic weapons.

That's putting everyone involved in lethal danger, no matter what country it's in
Recording that a confidential communication happened appears to read on to that law, that's still part of "recording a communication".

If a law said i couldn't "record your visit to a shop" and I shared commercially that you "went to the shop at X time and stayed Y minutes" even if I didn't record the details of your purchases, or what you were wearing, or whatever, it would still appear to be a contravention of the letter of that law.
it's more about working in the knowledge that time is limited and valuable, and therefore to restrain one's perfectionism
> Programmers with lots of hours of maintaining code eventually evolve to return early, [..]

I agree with all your other points and I‘d even agree if you wrote return early makes code more readable but not that it‘s something experienced programmers do.

Programming is still - to some degree - resource management.
Inexperienced devs often miss that fact, because they are focused on memory management and believe they can rely on the garbage collector for clean-up. In real projects you quickly end up managing file descriptors, sockets, handles, GUI resources, etc.
Early return is terrible for that, because your coding style starts to depend on the kind of resource to manage.

That‘s why the more experienced folks end up writing single exit point code sooner or later.

EDIT: I‘m not arguing that early return and proper resource management are incompatible, just that most experienced programmers have often been burnt enought to avoid it.
when you fail to learn C++
Thanks. Where would alpine linux fit into this all. It seems like a good candidate for embedded setups.
There's a fine line between "grow and explore models without crushing compliance costs" and "break all the rules so you can outcompete established players". Hi, Uber!
Maybe I'm not being clear...

In the absence of clear, well-considered privacy laws (which I'm not the least bit hopeful for, particularly internationally consistent..), Google will have access to this data. As a randomly chosen user, there's probably nothing I can do about this (assumption being the average random user can't figure out how to enable e2e encryption). So Google will be data mining my data, if they choose to. And note I'm only choosing Google here because the user I replied to used Gmail as an example, I don't think Google is particularly unique or special in regards to using their user's data for profit.

Under those assumptions, if Google finds something illegal, they should say something, right?

There are a number of "outs" here. Privacy laws, Google giving me the ability to opt out/encrypt my data, ...

Do I want this? Hard no, but that's really not my point.