skysight-inc/HackerNews huggingface dataset:
Article intro:

> Attempt to engage millennials with artificial intelligence backfires hours after launch, with TayTweets account citing Hitler and supporting Donald Trump

Also, bad decision by Microsoft to allow it to honor "repeat after me" requests.
He described not Link Time Optimization (-flto), but the very basic linker functionality: to only include required functions. C/C++ has a weird compilation model where each source file is translated to machine code separately, with placeholders for unknown function addresses. Thus it is trivial to take only required functions.

-flto, on the other hand, allows to reverse this process to allow interprocedural optimization across different translation units.
Understanding Prototypes, Delegation and Composition
Seconded. This is a really fascinating book for anyone who is interested in how space and environment affect us, or anyone who wants to build or remodel their own home/office/pub/any other human-used space. Whether or not you agree with any of the particular patterns (and there are hundreds), the authors' discussion of why they think each one is worth considering will make you think more deeply about the way buildings function and influence our behavior, and will prompt better, clearer ideas for how you want the spaces you live in to work for you.
Really? Funding the taliban, backing western intervention in israel and across the middle east for decades, invading iraq and afghanistan, destroying democracy in south america. Non of that is responsible for revenge attacks against the west?
They've been acquired by Facebook, the main guys behind are now making Facebook M.
40/120 = 33%

except misreporting, another possibility is that there was a previous layoff. Like 120 to 107 (~11%) and then from 107 to 80 which is ~25%.
JS does not have an Integer type, so (x > 0) does not work. Now if you add all those checks necessary to see whether you're actually dealing with an integer here, you get to a point where you cannot be sure anymore whether there aren't any weird type coercion issues there and need to start writing tests. Suddenly your whole positive integer check took 1h to write and you still cannot be sure whether there's something you didn't think of.
I'd rather use an external library for that that's properly unit tested.
Well, actually "practise" makes you... a Brit
>perhaps moving it around (as would happen as you walked with it in your pocket).

One attack vector is stealing cars out of a supermarket parking lot. You just wait for someone to drive up in the model car of your choice and have your accomplice discreetly follow them into the store. When your accomplice texts you that they are at the bread aisle/back of the store you can just steal with impunity knowing that a bystander will see no difference between the actual owner who has the key in his pocket and you with your relay device in your pocket. You also know that your victim is in the back of the store and that they can't get within sight of you before you're already long gone.
I appreciate this if only as a great example of using jupyter notebook and pandas. Thanks!
Why Philippines is the best place to do MBBS outside India?
Many Indian facing hard time to adopt extreme climate condition (cold and hot) and food style.
Climate approximately 26 degree Centigrade.
Fees : No Donation and affordable fees
Language: 3 rd largest English speaking country
The battery charger that makes you run and run.. and run
It's js .. they never learned to program.
Typical uppity attitude ("New York is the center of the universe").
Am I right that len(" null") here is 5, so it's working incorreclly?
I've done apt-get install node on ubuntu and got a legacy package. Would you go to check if apt-get install firefox really install the browser and do it every single time you install something? It's not totally a bad excuse I think.
Maybe noone needs a watch neither a smart one, anymore?
Thank you. I'd run across that elsewhere and was wondering where the hell I'd just recently mentioned it....
> Someone hasn't read Stallman's issues with (scare quotes) "the open source definition": https://opensource.org/osd-annotated

That link doesn't seem to have anything to do with what you said. That isn't Stallman's annotations -- he doesn't use the term "open source" and probably wouldn't want his words published on opensource.org. You probably wanted to post this: http://www.gnu.org/philosophy/free-software-for-freedom.en.h.... The main reason that the FSF and Richard Stallman distinguish free software and "open source" is because "open source" doesn't reference the moral underpinnings of the free software movement. It's just a set of 10 guidelines that appear to be entirely arbitrary (because they're secretly derived from the free software definition, but with more restrictions in some cases).

> What term would you use for "publicly visible, but not hackable-by-license" software as opposed to "publicly not visible, and not hackable-by-license"? The former satisfies many concerns with vendor software, in that you can examine the code yourself for bugs, vulnerabilities, or backdoors.

I would call both proprietary. The distinction is that they give you the code for the program as part of their proprietary software package. It doesn't make it non-proprietary if that's the distribution model they use.
Ipmjs: Immutable Package Manager
It doesn't handle edge cases, it doesn't perform well and it isn't well tested. There is also no documentation. Obviously 30 seconds wasn't enough for you to verify anything at all about this module (namely that it's complete garbage).

And just because some random guy didn't get something as trivial as this right the first time, doesn't mean nobody else can. Also the de facto standard library lodash already has padding utilities, made by people who have a proven track record.
I guess I just remembered it wrong, or I'm including traffic.
Linux on non-apple machines.
I think being useful is better then being consistent.

Also with git clone from github it's easy to copy settings on any non too security sensitive boxes.
So funny, just few weeks back I had an argument with somebody about writing a simple functions vs. importing libs when you need less then 5% of the functionality. I am more convinced than ever that it is better off to have the least amount of external dependencies. Of course I would not want to rewrite a 2M+ LOC library with very complex code, but left pad is not one of those use cases.
Thought it was a typo on my part... but HN seems to be trimming running spaces.
Pretty cool stuff!
I guess it's not commonly known in HN circles, but hardware startups often measure their staff in kilograms because it's an SI unit.
I agree with you, besides the tree-shaking (nice word btw).
It's like NPM shaking the Christmas tree and then say "Have fun cleaning up the floor". Remember that NPM is not like apt-get, where the packages are Managed for you by an expert. In NPM you have to manage the packages! And where you can't have NPM and build dependencies, like in production, maintenance now becomes much harder!
The struggle behind Cairo's revolutionary graffiti wall
Great work on this stuff.

Question about package managers built on ipfs, and ipfs in general: how do you ensure the packages/files you depend on will always be available? Is the idea that there would be at least one entity pledging to host every package for eternity, or if you depend on obscure packages would it be wise to run your own mirror of the packages you use? Or something else?
Yarvin's political tracts seem to specifically reject fascism, Communism, and modern liberal democracy; you may not like his politics, and may find them analogous to fascism in key and dangerous ways, but it seems factually inaccurate to call.him a "professed fascist".
I think that was smokeyj's point... the left-pad module is not going to have a "backdoor". nv-vn was creating a bit of a straw man, as no example or particular scenario in this article involved crypto.
My critique was regarding tools vs skills.
Voucher Codes UK  http://www.vouchercodesgb.co.uk
if the bubble pops it means people are selling.
The Teensy boards[0] are the work of a single, dedicated engineer. While their design is proprietary, they are compatible with the Arduino IDE, to which Paul Stoffregen (PJ from PJRC) contributes substantially[1]. Unlike both Arduino entities[2, 3], his track record is clear from ethical shenanigans.

---

0. https://www.pjrc.com/teensy/index.html

1. http://www.pjrc.com/teensy/arduino_contrib.html

2. https://news.ycombinator.com/item?id=11212021

3. https://news.ycombinator.com/item?id=9231708
We can only judge by devices that are out of support.

Galaxy Nexus: released in November 2011, last release: 4.3 in July 2013. Update Window: 1 year and 8 months.

Nexus 4: released in November 2012, last release: 5.1.1 in May 2015. Update window: 2 years and 6 months.

Nexus 5: released in October 2013, last release: 6.x (?), probably April/May 2016. Update window: probably 2 years and 6 months.

(Granted, the Nexus 4 received security updates for a longer period.)

They have recently announced a better policy:

Nexus devices will continue to receive major updates for at least two years and security patches for the longer of three years from initial availability or 18 months from last sale of the device via the Google Store.

Source: http://officialandroid.blogspot.de/2015/08/an-update-to-nexu...

But 3-4 years is definitely false. Up to now ~2-2.5 years, in the future 3 years.
Log-log scales would really help. Otherwise - points in the low range are too dense to be useful (big differences in density make be hard to spot, or even - invisible).
Intermittent Fasting Benefits and Methods
As a Fish user since it's inception, I humbly disagree.

Oh-My-Fish[0] is the preferred and popular plugin framework for Fish. The guy behind Fisherman abused DMCA to discredit OMF, which was a pretty shady tactic for an open-source project.

[0]https://github.com/oh-my-fish/oh-my-fish
As others have pointed out, there are stuff that should not be made with Electron and this is one type of app that just shouldn't.

If it is platform specific anyways, why not do it in like C# or something that would make it lighter and faster?
It's nice there's a policy around that, but I can understand the fears of someone considering using this to start a product - or even worse, a business.

Google has an history of shutting down useful products, why people should trust that one for long term integration?
Build more, to will sell to........ the highest bidder!

And the highest bidder is not middle class people.

And when you raise taxes that are directly levied against overseas buyers, then the government becomes addicted to those taxes and therefore addicted to overseas buyers.
I would say it is an equally snarky shot at all those who choose to depend on a third party module for something that can be written in 140 chars.
These issues are ortogonal.
I wasn't aware WebRTC used SCTP. Good to know!
module.exports = leftpad;
function leftpad (str, len, ch) {
str = String(str);
var i = -1;
if (!ch && ch !== 0) ch = ' ';
len = len - str.length;
while (++i < len) {
str = ch + str;
}
return str;
}

Isn't that the least efficient way to do that function? Prepending a string has always been very expensive operation.

Calculating needed length. Using repeat and just concatenating 2 strings would be faster.
This form of "sarcasm" is best countered with following it through to its logical conclusion.
He wouldn't put that small function in a package (or even a separate file) though.
JS does not have an Integer type, so (x > 0) does not work

It depends on what the surrounding code actually does wheter (x > 0) works or not. Depending on the version of is-positive-integer you are using a positive instance of the class Number may return true, false or cause an error.

PS. never mind that the implementation of is-positive-integer is extremely inefficient.
To some extent it reminds me a story "All paths to happiness" https://physicsnapkins.wordpress.com/2013/05/20/all-paths-to... - without spoiling it too much, also about trying all combinatorial possibilities.

For quantum suicide (as in https://en.wikipedia.org/wiki/Quantum_suicide_and_immortalit...) - it still makes me think. Maybe it makes sense to gamble with others (using photons in superposition), putting my life at stake. And e.g. in the only 1/1024 universes I live I have x1024 money (and other universes do not matter to me).
This is why one guy can now compete with say Google or Microsoft, because that guy uses code written and managed by more engineers then both Google and Microsoft have combined. Instead of paying hundreds of dollars to said companies, you can just NPM install "what you need".
This comment was funny.
> Because nurturing a foreign rentier class is not the best plan for retaining your sovereignty and keeping local people happy and wealthy?

I'm an Eastern European living in a relatively big Eastern European city, and I'm now writing this from an apartment that I'm a renting from a very cool French guy, the owner, who is in his late 50s or so. At the height of the local real estate bubble (in 2007) the Norwegian sovereign wealth fund invested in buying 500 apartments in a local project, the investment flopped (I don't petty the Norwegians, though, that fund is huge). And I could go on and on with other examples of foreign-owned properties in the city where I'm living in.

Point is, this is capitalism. I'm paying rent to the French owner of my apartment with the money I'm gaining from my current American oversees employer, and there's nothing wrong with that. You guys cannot choose which aspects of capitalism you want to like and which not, i.e. you cannot be allowed to invest freely in other parts of the globe (like Canada is now allowed to do) and in turn not allow other nations to invest in Canada (like not allowing Chinese real estate investors to buy property in Canada). Because if you do that you're economic colonialists.
For a week, I'm trying mailgun. I'm surprised that it's working much more better that mandrill. I try this in a server that I rarely used, and somehow, mandrill have not been working for some times. When I change postfix to send using mailgun, all mail queue sent without problems.

It's even seems faster than when I'm still using mandrill.

Mailgun inbound also works without need any apps. Just use it to redirect to another email, and now I have a working temporary email address that can receive inbound mail.

Thank you mandrill, to open my eyes that there are mailgun that doing it's job much better than yours.
clojure? I think the language is one just another jar to install. Makes it easier to pin stuff to the language version.
That's interesting. JavaScript has enough quirks to warrant an is-positive-integer module.
This is great! BUT: I think on of the biggest concerns with this right now, is reliability. Many sources that you get your data from are just heavily unreliable (I'm looking at you Valve). Our startup would heavily rely on an API like this, but I guess we'll have to wait until Valves and other API get more mature and offer solutions for websites under heavy load. I see the problem you approached here and it's definitely a big one in the community. I wish you guys best of luck!
Agree. One reason that I use mandrill in the first place is because sendgrid sucks. And it will sucks to get back using them after mandrill kick all free users.

But now mailgun is a truly savior. I'm even willing to pay for their services rather than mandrill.
Another way to look at it is that proprietary software vendors drain massive amounts of money out of the world, far in excess of the value they generate.
I would add to this by saying that I don't think the function of unions is to optimize the economy. It's to counterbalance the dominion of corporations over citizens.
Why rent to the riff-raff if you are so rich? It's such a hassle. The property values going up is enough of a return. Soon we will have an empty Vancouver that serves as a city sized trophy case for rich people.
Oh, that's a great rephrasing, too. Is it yours? (Curious about the source, not nitpicking.)
Edit: Meant to say, if he changed the name, would it make it unfindable?
Python: Like datetime.timedelta, for date arithmetic
> bandwidth waste.

Bandwidth is cheaper than developer's time.
function foo(arr) {
var str = "";
var leftpad = require("leftpad");
for(var i=0; i<arr.length; i++) str += leftpad(arr[i]);
return str;
}
To make it a real quality clickbait, here is my take, "A city where Chinese buyers fails to conquer, and here is why"
Pardon my ignorance: so how those key fobs work? They have no buttons and the car is automatically opening/closing itself based just on the proximity? That would mean I can not have my car closed when I am drinking beer in a garden over the street, which would be totally nuts, so I guess it's not how they work?
I thought the bubble would of popped 9 years ago in 2007. It hasn't. Should I wait another decade for "bubble^2: faster, stronger" to not pop this time? Is the property value going up by about the canadian currency drop or more in the past 18 months a coincidence?

Did Vancouver or Canada recently experience a huge economic boom and increase it's residents income band to more than the Reno, NV levels than it currently is? Actually, the opposite is happening with alberta's oil industry currently imploding and every imported good going up %30 in price due to the property increase.

I moved away, like a lot of younger people, to somewhere somewhat more affordable, and I suggest anyone who is a software dev to do the same. The compensation delta is %100+.
CLI tool to check if a word is trademarked
First "expert" should be defined.

If by expert you mean someone better than 90% of all humanity at some task X, then the time to get to this level could be orders of magnitide smaller than a 95%, which itself is orders of magnitude smaller than 99.9% i.e. (pro/olympic athletes, concert pianists, etc).

If you don't agree please offer a counter example. Besides all sports, lets consider juggling. Here, 1-2 hours can make you better than about 80% of the population, but becoming a passable street juggler will take months, and a proffesional artists who can innovate as a juggler probably many years.

Essentially, my hypothesis is that improvements in a task X decrease exponentially over time.
Use a Customized Utility Library Instead of Pure Vanilla JS
Benadryl trips are always bad. No abuse potential.
In most first world countries that sticker would just get your bike taken by the police instead of a thief.
I wouldn't really call it a dependency since it gets inlined with the shipped code.
The Brutal Edit War Over a 3D Printer’s Wikipedia Page
Edge case for left padding - when you provide empty string as padding filler. It can go into infinite loop if not written correctly.
There's also the third option of legal limbo (not that I'm familiar here)
you are dead wrong. 3 of 10 people are easily Beijinger Chinese now.
But advance server didn't come out until 2002 when they started the charge model.

Also Facebook is a complete driven market of selling idiots person information and advertising.
There's some heavy stuff in here.

> Go home if you have a contagious disease. You should go home if you are thinking suicidal thoughts. You should take a break or go home if you think homicidal thoughts for more than a few seconds. You should send someone home if they show serious mental malfunctioning or signs of mental illness beyond mild depression. If you are tempted to be dishonest or deceptive in a way that you normally are not due to fatigue, you should take a break. Don't use cocaine or amphetamines to combat fatigue. Don't abuse caffeine.

https://github.com/braydie/HowToBeAProgrammer/blob/master/en...
>hasn't reduced the number of paths to test

But it has: it's now tested, and you don't need to write tests for it next time you want to use it.

>100% test coverage is rarely a good thing

Not sure what your argument is here. Sure, it may not be helpful but are you saying that one should strive for less than 100% coverage, because "it's rarely good"?
"Out of cheese error : please reboot universe"

( https://en.wikipedia.org/wiki/Hex_(Discworld) )
London Met. police commissioner suggests not refunding online fraud victims
They expose a virtualization API that allows this on Mac App Store: http://veertu.com/

Don't know how robust it is compared to e.g. VMWare or VirtualBox, but it seems to be working well enough in my simple tests.
He's an anarchist of some sort, just like many. Anarchists generally want to replace the violent top down nation-state with bottom-up democratic forms. Real democracy, not fake doublespeak democracy where no one feels like their voice matters.

Your post is horrifically misleading.
Most of Vancouver and Canada was already nice and safe since pretty much forever. It's really not traditional gentrification. There is no local or canadian economic boom driving this.

The difference between a housing shortage and a housing bubble is when rents disconnect from housing prices. Rent is about 1/2 or less compared to an equivalent mortgage in many parts of Vancouver.
Sorry, misread. Curtis Yarvin's the conference speaker.
But patio11 has produced (on average) 750 publishable words per day.
Javascript is in fact special because it's one of the few languages where the developer can't choose the version of the language to use. It's dictated by users with 4 year old browsers.
Amb is implemented with a backtracking evaluator and supports a try-again operation for requesting all valid outputs (universes). This library just forks the process for each "universe" and kills the ones where fail is called (including failing assertions). It can only return the first valid value.

This library is significantly less useful than amb for non-deterministic computing, but that doesn't seem to be the goal...
UK Citizens Reveal Opinions on Brussels Attacks
Swift 2.2 cannot infer type of Optional T .None
Those TSRs also had little to no UI, and keep an index for fast searches. Images are probably also a part of it since seemingly no application these days can look like a native application anymore :|
> If you pass an object created in baz 1.2 to baz 1.1

How could that ever happen? Foo and bar are separate deps. How do they pass something between each other? You can't pass something between the two baz versions because they are implementation details inside two different respective modules, foo and bar. The only way I can see is: bar passes you a baz 1.2 object, you pass it to foo, and foo passes that to baz... But if that could cause a bug, the whole setup is just wrong if there's any kind of contract saying that what you're passing is a baz object. If that's the case, baz needs to be a top level dep of your code, and foo and bar might just mention it as a peer dep. And I'm sure the OP wouldn't argue for bundling peer deps.

Maybe we need a real example :)
"Open source" doesn't mean the code is free to take over. The blog should have used exact terms on licenses and their TOS.
Positive and negative words in scientific PubMed abstracts between 1974 and 2014
SSRIs, contrary to the article are all potent anticholinergic.
Whats even funnier is how those same crack shacks are now $1.5mm to $2.4mm in price.
It's called a context menu :)

Back in the day before those fancy keyboards (and today still) the other keyboard shortcut is Shift+F10.
This is just to let non-JS programmers program JavaScript. Asynchronous programming, or programming without global/imports is too hard it seems.