skysight-inc/HackerNews huggingface dataset:
It's not very nice to shoo someone away from discussion and then continue the discussion yourself.

> Clinton is definitely not eligible to serve as President

This has never been established. The 22nd Amendment prevents him from being elected President.
BayesDB and BQL are great ideas in theory. But the problem with building any "general" analysis tool to abstract away underlying complexity is that it must either be (a) a least common denominator solution, or (b) the proverbial hammer to which everything will look like a nail.

The reason why there are lots of different statistical methods is that different problems and different samples from different populations call for different approaches. And frequently the reason why a certain approach is invalid in a particular use case is subtle, difficult to explain, and easy to miss. Abstracting that complexity away from the would-be "scientist" is an invitation for them to develop unreasonable confidence in their results "because the model said so." We have more than enough of that attitude already, thank you very much.
Try running mvn:dependency-tree on any large enterprise Java project, and see what comes out. If you told me you were familiar with every single library in the output, I would not believe you.
>and they don't require you to run proprietary software.

Only I specifically asked the inverse: to be able to run all the proprietary software I want.

Besides, that's always the case -- "a recent Linux distro" is always supposed to fix all of these problems, I've been hearing that (and trying in vain) ever since 2000 or so. And I use Linux on the server side just fine (and actually have several desktop Linux installations too, since 1997 and RedHat 5.3 IIRC, just not as my basic everyday work/fun desktop, because they're dreadful still).
This is making me really want to start powerlifting again. I got up to a 420 deadlift (sumo style), and 320x4 back squat, before I wound up drifting away from it.

I think once my shoulder finishes healing (rotator cuff surgery), I'm going to start lifting seriously again.
I asked via email and it turns out it was modded off as a duplicate of a recent post a week ago [1], which I see you cited too

I didn't realize the topic was a dupe, oops! Anyway now we know.

I was told they're considering the feature and will probably implement something. Fingers crossed!

> trying to be polite and thoughtful and helpful sucks up an asymmetric amount of effort, as this post demonstrates.

Not sure what you mean here. Whose time, commenter or HN staff? Either can choose to ignore the topic, whether by closing the tab or through modding. As you said, meta discussions are modded off, but allowed from time to time because, according to the response I got in email, "they get people's juices flowing". I'm fine with that though I do think it'd be more clear if that were noted in the guidelines.

[1] https://news.ycombinator.com/item?id=11355038
> I don't think candidates should get a pass.

Nor should their opposition have the power to delay proceedings until such a time as it is politically advantageous to them. This should have been dealt with last year.
> So your process will never shrink in memory usage

But it should at least stop growing (unless my understanding about non-moving GCs is off, which it could be).
> This will effectively counter IBM/Apple's Swift strategy with iOS devices for the enterprise.

In a similar vein, Satya Nadella's new "vision" expressed in yesterday's keynote, aka the future of chat bots with their AI / personal agents (channeling some of the original General Magic vision of 25 years ago), strikes me as more attainable for "developers developers developers" v.s. the marketing messages / PR spin coming from IBM on the Watson AI.

> I'm learning React Native, MS is giving me pause to look at Xamarin.

Likewise. Let's see what Facebook has to say at F8 starting April 12th. The competition is great. We are in a much better place today v.s. 20 years ago when Microsoft was a monopoly and expending time and money trying to kill Netscape and battle Sun's lawyers over Java.
1 APRIL 2016 00:33.... 'nuff said people.
I fully agree that self-driving cars should be able to go on US roads, and of course they're "good enough." They should be designed with any type of road in mind, because you never know where you'll have to drive.

I was simply responding to someone defending US roads when there's a publicly visible crisis happening with our road (among other) infrastructure that no politician seems to want to address.
God I really hope they don't kill off Google Voice, I use it daily!
And so it begins :)
Motivation in a Bottle
Just curious but is it Zapdos?
Hmm, I said "please show some respect and consideration".

Your comment is of mostly unfounded ideas as already pointed by others.

I do not follow "So what?", I am not trying to proclaim some self-righteous ideas. I am just trying to say that what you said is mostly unfounded, and that's not some real respect or consideration for the most successful SNS product after FB.

Like, if I say, Google search sxs, their users use shitty product. Sure I may have some good points to support that, but clearly I was not showing any respect or consideration for Google search's status as the most successful search engine.

Lastly, I am not sure why do you have this kind of attitude towards my comment. I was mostly neutral in my wording. You probably should learn to think and speak in a neutral position, instead of trying to position others as hostile.
> Most of the country uses paper ballots that are counted by machine.

This machine then is the target, no?
Bear in mind that the iPhone is priced beyond the salary of most people. It is certainly a luxury item.
Also interesting that this really only prevents governments from claiming resources. What about companies or people?
That seems a little niche, let alone the fact that your phone camera probably has a light on it.
How does a screen reader handle that ?
Wow, this blows left-pad.io's whole business model. Wonder what they're going to use their VC millions on now?

EDIT: Here's an idea: Monetize your padding by putting ads in it.
I hate to spoil the fun for everyone.

But there is actual value in doing things the npm/unix way.

Just yesterday I used a module to turn numbers to comma separated strings 10000 -> 10,000

Could I have written a function to do it ?

Sure

But every less line of code I need to write saves me time.

Programming is fundamentally a creative field ( which means there is no absolute truths ) - and each individual developer should be given the freedom judge when to write code and when to use other's people modules.

I would say that this whole fiasco just proves how awesome programming has become - remember the days when adding a dependency was hell ? Now we live in a world where adding dependency has so little cost that we rather not even spend 10 minutes writing a function.

To me its an improvement over the state of affairs from the past.

Its also cheaper to switch dependencies - imagine if the leftpad disaster was somewhere in the window's kernel ? or in std:: ?

There is always trade-offs in every decision you make in software - I think we are moving in the right direction.

Just need to make package creation immutable.
Wow. Marie Knox, the woman that has already admitted to stealing the money, has her hands in a lot of different organizations in the Bay Area. She was the cashier, website manager, and person responsible for ordering inventory at her last position. Sure hope her past employers/nonprofits are all checking their books closely now..

Good on Sudarshana Banerjee, who took her board responsibilities seriously and uncovered this shortly after starting.
https://transparency.automattic.com/national-security/
What bugs me is how prevalent that has become.

I'm looking at you Jenkins![0]

[0] https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenki...
This really needs to happen...
Days since a stupid leftpad joke

0
One would think so, obviously. Most people don't need to work with BSTs on a regular basis.

However, once you start practicing, a funny thing happens: assuming you're doing it the right way, with the right mindset, you start to enjoy doing those problems. Your intuition hardens and a certain level of system-design clarity sets in by seeing similar problems across topics.

In some ways, that's what I'm looking for as a hiring manager, by definition: do you enjoy a problem that is new to you, but still up your alley? Do you have an urge for efficiency? Can you express your thought process and work with me to build a solution? The problems asked in the current interview process are good enough to tease these things out.

Take home assignments and OSS contributions are also another credible method of interviewing, and has its own pros and cons. To see a good treatise on different ways of interviewing, see this: http://www.gayle.com/blog/2015/6/10/developer-interviews-are...
Plug: I'm launching Discoverboard.com for this in a couple weeks
Ask HN: What is the VC dimension of a brain?
We know that brain is a neural network, so I wonder how much data is needed to avoid overfitting for a brain. This is possibly related to the "10,000 Hours of Practice" that we need at least 10k hours training to avoid overfitting.
The "classified" information wasn't regarded as such at the time. It is only now regarded as secret information through reclassification, likely stemming from political influence to ante up the charges against Clinton. That entails a responsibility to maintain secrecy from here on out but doesn't mean the original act (however stupid) was a breach of national security.
"But there is actual value in doing things the npm/unix way."

This is where the node community falls down.
They think because there is value in sometimes doing it this way, there is always value in doing it this way.

Rarely is the right answer for architecture/programming/etc at one of the extremes.
We should really be verifying the fingerprint of the key itself, even if it is served over HTTPS.
I'm not sure (I'd appreciate some feedback by someone who uses one), but I'd think it would just read the whole text. Depends on what it does with hidden text.
ECC isn't just a gimmick nowadays?
JetBrains need to get better --far better-- at providing support. In fact, I think they need to have full-time, US-based, knowledgeable support. I've been using their tools for years. We own a few full-product-line subscriptions yet every single time we have to ask for support I know it will be a disappointing experience.

We don't do it that frequently, maybe two to four times a year. And, when we do, you can be the problem was well researched and we simply ran into a wall. Between the time it takes for them to get back to you and some of the answers that come back, well, it's less than ideal. This is harsh, but sometimes I think "you might as well have asked me to re-install Windows to fix the problem".

What ends-up happening is that we will generally google the heck out of the problem, post it on SO and experiment and sometimes figure it out. In other cases you just give up and live with the issues.

On the developer side MS has far better support and the community of developers using their tools is much larger, which means you have a higher probability of finding one or more answers to your problem.

Still. Love JetBrains tools. I just wish they'd take support seriously.
CloudFront is cheap to start using, it does not stay cheap much like most of Amazon's offerings.
Quick update: We will be keeping Pinboard on IFTTT. Here is an email we sent out to Pinboard customers this afternoon explaining! http://ift.tt/keepingpinboard
iOS UIKit Dynamics demo with 11 example
https://www.law.cornell.edu/uscode/text/3/19

Subsections (a), (b), and (d) [every succession category] of this section shall apply only to such officers as are eligible to the office of President under the Constitution.
This repositorie is a demo of UIKit dynamics animation. All the dynamic behaviors are practiced. There are 3 practical applications and 1 independent project of solar system also. It's the best way to learn dynamics animation.
I am currently developing a hybrid app. Where communication with backend, image manipulation, interaction with settings+security features of the platform -- are in Android Java. While the basic data entry / data presentation forms are in React-native.

I would not mind switching the Android Java side -- to Xamarin, but will I still be able to have a portion of my app in React Native?
Are there any open source examples that use Xamarin and React-native?
There's a better approach that depends on third-party scraping. You publish the canary on a schedule, but take it down as soon as it's been scraped. So there's nothing to take down when you get the warrant, NSL, etc.

Edit: And then you don't publish the canary as scheduled. Before you got the warrant, NSL or whatever, you were subject to no court order. So you were free to speak. After getting it, can you be compelled to speak falsely?
The real cost of robotics
It's been going for quite a few hours at this point.
Ώρα για στοίχημα
Scraped all from the page. http://gitoops.xyz/
Awesome stuff! BTW, I didn't realised you're in Singapore.
Additionally: The core problem wasn't the existence or the reliance of dependencies. But simply the fact that the package was no longer available.

Which is - no matter how big the packages are - a huge problem.
>Why does it matter if they say "run" instead of "evaluate"? What's the difference, in your opinion?

"Evaluation" solely implies passing an actual value and getting the result from a function. Taken in isolation, each evaluation (of pure functions) is independent from whether 10 or 200 other happened before or after -- it depends only on the input it gets.

Saying "run" on the other hand can be conflated to mean running a pure function in the course of a program's execution, and there the order or execution can matter with regards to the overall program's behavior, e.g. when it affects the derived input of a subsequent function.

>Do people really have trouble with the (universal, not FP-specific) notion that the input to a function matters?

Yes, people do expect pure functions will free them from race conditions for example -- only to discover that they still exist, as the author did, at a higher conceptual level.

Heck, if we are to discuss the original article, isn't it a given that such people as its author do exist and have the same confusion?

Or does the author seem like some totally ignorant programmer that is not representative of more people (and that we'd expect him/her to get it all wrong)? It doesn't come out that way to me.
Do you plan on adding support for web assembly? Also in your account you don't list your email or a private way to reach out to you.
Finviz
Great tool.

Any intention of expanding to Australian markets?
All models in one models.py file is common for Flask and Django.

If you use multiple apps within one Django project or the equivalent in Flask (Blueprints), that extends to one models.py per app (where a "project" is a collection of "apps").

Sometimes you'll see one file model per (with a models/__init__.py that imports them for use). While I think it keep dependency imports for each model very cleanly separated, you end up having a lot of redundancy importing the same basic pieces in every model file.
I think the reason people felt it was silly is that there is a whole library (a tiny one, sure, but still a dedicated library) for that one function. If there had been a left-pad function in a larger utility library that everyone was using, nobody would have thought it was silly.
Kudos and props for offering a service like this. Could basically be abused very easily by some nefarious dev.
I suspect you were being tongue in cheek about it, but I don't think this would be an April Fools' matter for Reddit.
But every less line of code I need to write saves me time.

How much time did you take to find the code, read the documentation for it to make sure it does exactly what you need, did you budget time for the future when it doesn't work exactly as you wanted and you'll have to either find another module or fix it yourself, etc.?

If it's something nontrivial (e.g. SSL/TLS), then it certainly makes sense to reuse. But if it's trivial, then the overhead can be far greater than the savings.

Of course, the definition of "trivial" varies greatly depending on the skill level of the programmer.
Congrats guys this is a really neat hack, really impressive.

Did you guys think about building it further out to provide a GPU load balancer for multiple frontend machines running Cuda / OpenCL?
The Incredible Flying Nonagenarian
> The late Fred Brooks ...

Still alive, as far as I know.
Thanks for the summary. Net, I was afraid of some such. I.e., IMHO, it won't even start to work.

Here's my first-cut architecture: The core of the intelligence is some concepts and relationships between them. The relationships are based on historical input data from experience since birth.

The concepts are close to nouns in language. The relationships are close but not as close to verbs in language. The relationships are closely related to what we regard as causes. The relationships can be moderated or qualified by, right, adverbs. And, sure, adjectives can modify the nouns.

Then, start like a baby does, with just nouns and then some simple verbs with sentences of just two words.

As for say, kitty cats, early on the input is not in words or language at all -- actual language as a way to get input data, say, fairly directly to concepts with nouns, is later.

For rational and deductive reasoning, that is just a special case where the causal relationships are taken much more seriously than usual.

For vision, to do at all well, need to do at least fairly well with concepts -- that is, vision needs to identify objects for which the intelligence already has, or at least is in the process of learning, concepts and, say, recognizing a 3D object from just its 2D image.

I'm busy with my startup now, but later maybe I'll try to code up what I just described.

Here I'd be using electronic logic; how biologic logic does such things, e.g., search the collection of 3D internal visualizations of concepts that are 3D objects, I don't have a clue.
left-pad not a BUILT IN language primitive --- NON-STARTER!

Dammit people!

http://www.xent.com/pipermail/fork/Week-of-Mon-20091109/0545...
Interesting. Same question someone else asked: What's your injury history been like?

Coincidentally, I just got back from the doctor. I had my right ankle x-rayed because it's been sore for couple of weeks. I kind of limp in the morning until it warms up and then I can walk normally but step the wrong way and it can be painful.

Nothing wrong. They said it's probably a strained ligament issue.

I am doing 200 lbs squats and same on Romanian deadlift. My guess is that my squat biomechanics is off and I am doing a number on my right ankle. I just started reading "Starting Strength" by Mark Rippetoe and will get some coaching to see about fixing problems.
And just like that left-pad.io is cut out of the market. Man, startups are cutthroat these days, but that's business for you.
This is the second april fool's post. I dread the next 24 hours.
There is a substantial status aspect to it (your average Shanghai fashionista wouldn't be caught dead with a xiaomi), but Android UX still has a bad reputation even in China. The group I'm in of Beijing-based Chinese techies (I'm the only foreigner) are largely split 50-50 between iPhone and various Androids (and no WP even though the company is Microsoft). They aren't very fashion oriented (programmers, researchers).
Well, people have been shot with far less obvious things on their hands mistaken (or "mistaken") for guns.

Besides, what phone camera has a light on it that's visible?

None that I can think of in day/noon/afternoon time. Some have a focus assist light and/or flash at night time -- but taking out of one's pockets and pointing a small object at a US policeman at nighttime, and especially in an aggressive scenario as the one we're discussing, that I would advise even less.
Recently went through a similar setup, but used Docker and some existing h2-friendly images. Think it's a nice way forward for deploying to production environments.

Wrote about the process here: https://clay.fail/posts/hip-http2-using-docker/
> The beef and dairy business will top the oil one as the biggest pollutant, if it isn't topping already.

It isn't.

Agriculture accounted for an estimated emission of 5.1 to 6.1 GtCO2-eq/yr in 2005 (10-12% of total global anthropogenic emissions of greenhouse gases (GHGs)). (IPCC AR4[0], slightly revised to 5.0 to 5.8 GtCO2eq/y in AR5)

That's all agriculture, including livestock, this (IPCC AR5[1]) is just "cow farts":

Enteric Fermentation. Global emissions of this important category
grew from 1.4 to 2.1 GtCO2eq/yr between 1961 and 2010, with average annual growth rates of 0.70% (FAOSTAT, 2013).

[0] https://www.ipcc.ch/pdf/assessment-report/ar4/wg3/ar4-wg3-ch...

[1] https://www.ipcc.ch/pdf/assessment-report/ar5/wg3/ipcc_wg3_a...
Pivot to right-pad.io
If someone doesn't value his life, then sure - single core perfomance ended even in 1988. Every millisecond matters.
i don't know what is worse. "Embrace, extend and extinguish", or "Acquire, hype, abandon".
Ask HN: Where to see April Fool's joke compiled online?
Tomorrow is a April Fool's and I'd like to know if there's a website that lists out the bigger pranks.
Maybe people write infrastructure stuff in it?
Truth, Lies, and the Amazing Randi
For anyone else that's confused - the linked page above is the presentation, but you need to use space or arrow keys to navigate.

Also, the URL at the bottom is broken (says TPM2016.zoffix.com but links to http://zoffix.com/TMP2016)
Or bleem [0]

[0] http://www.strangehorizons.com/2000/20001120/secret_number.s...
PCBShopper[1] lets you compare prices and shipping times between ~20 Chinese vendors.

On a separate not I'd highly recommend DirtyPCBs[2], not only because of how funny their FAQ[3] is, but also because of the the reasonable quality boards. They also allow panelized jobs without any extra charge, which is rather unique. Typically that is bit more you have to pay extra for that.

Typically you'll find that you pay 14USD for 10 5x5cm boards. Delivery time ~30 days.

[1] PCBShopper http://pcbshopper.com

[2] DirtyPCBs http://dirtypcbs.com

[3] DirtyPCBs FAQ http://dirtypcbs.com/about.php
I really like the Python style you guys have adopted.

Grouping imports into: standard lib, third party, local is a strong pattern that I don't see done consistently in many repos. Likewise with your use of wrapping long imports with ()s and a single tab.

Any chance of sharing your Python style guide? My startup is Python based (Django and Flask) and would really appreciate it!
I'm surprised nobody has tried to game this system using the CFAA. The CFAA makes unauthorized access a felony, i.e. it permits a site operator to define criminal behavior as they see fit. (and there are prosecutions to back this interpretation).

The hack: define 'unauthorized behavior' in your TOS / user agreement to include release of data to any third party. A court can't order you to commit a felony.