skysight-inc/HackerNews huggingface dataset:
If is to be more functional like e prefer add functions: compose and curry:

1 -
// With pipe:
var result = "hello"
|> doubleSay
|> capitalize
|> exclaim;

With compose:
var greet = compose(exclaim, capitalize, doubleSay);
greet("hello");
// or compose(exclaim, capitalize, doubleSay)("hello");

2 -
var person = { score: 25 };

// With pipe:
var newScore = person.score
|> double
|> score => add(7, score)
|> validateScore

// With compose and curry:
var newScore = compose(validateScore, curry(add(7), double);
newScore(person.score);

3 - Mixin paradigms

// With compose and curry :
var newScore = Function.compose(validateScore, add.curry(7), double);
newScore(person.score);
The B52 and earlier bombers programs at Boeing directly contributed to the development of their airliners - so it's kind of the other way around, historically.

you might find this mid-1970's project amusing: cruise missiles from a 747.
http://foxtrotalpha.jalopnik.com/why-boeings-design-for-a-74...
I use time machine w/ 2 drives. One will always fail, but probably not 2 at the same time.
http://www.vanityfair.com/style/2014/04/sergey-brin-amanda-r...
i'm going to ignore the financial costs until a direction has been settled so your point would be an optimisation problem in regard to environmental effect

ie. what's less damaging? pacific garbage patch or truck diesel emissions?

if i had to dream up a bottling system now my interest would be in resource renewal.. mainly biodegradable substances

perhaps a waxed paper? i'm unsure what the weight costs would be on paper versus plastic, and i'd also want to investigate environmental effects of cans
Quick question regarding best practices - do you prefer connecting to an ec2 instance using the `.pem` file or do you transfer your ssh keys the first time you connect?

Thanks,
Meat and other animal products are delicious. Eating them is totally natural. The only issue I have is with cruelty. I would be ok with a rise in prices in exchange for more ethically produced animal products (though I don't think conditions would have to change much for chickens, they're pretty retarded). Historically meat has been a luxury.

That being said, if you are a vegan on the internet ranting about animal cruelty and you own basically any mass produced clothing you need to re-examine your priorities.
Unitymedia in Germany no longer gives out IPv4 addresses to new customers, even if you call support.
> the only reason for eating meat is taste

I've come to the same conclusion myself, after stopping eating meat several years ago.
People are addicted to the taste of meat and they eat it out of the desire for pleasure.
We can have a healthy and beautiful body without eating any meat.

Sometimes I wonder, how would the world be like if people ate no meat and didn't keep billions of animals as slave prisoners ? What if people stopped killing animals for food ?

Would that affect the way that humans treat each other too ?
Would people treat plants and nature differently too ?
Would that be a more aggressive or a more peaceful world ?
Would that affect the social structure of humans ?
Would that be a more spiritually evolved world ?

....
are you questioning the existence of toxic workers? or the validity of the study?
see, you are just being toxic ;)
The second generation Kinect (the XBox 360 unit.)
I need a pants triad.
Using curl is one way:

% curl -v https://google.com/ --http2
* Trying 2607:f8b0:4007:802::1008...
* Connected to google.com (2607:f8b0:4007:802::1008) port 443 (#0)
* found 180 certificates in /etc/ssl/certs/ca-certificates.crt
* found 722 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_ECDSA_AES_128_GCM_SHA256
...
* ALPN, server accepted to use h2

The above is with the GnuTLS build on Debian, recent enough OpenSSL versions support both NPN and ALPN.
Yeah, if you have to test regularly then your fingertips end up hurting like hell (for a while I had to test 10+ times a day).

You also have to keep buying new needle drums/cassettes as well as glucose strips - not sure if this system cuts down on disposable parts?
Extension methods only apply to instances and they must be declared explicitly.

This syntax can be used anywhere as long as the types signatures of the functions are conducive to the chaining.
The only solution I foresee comes from technologies such as the one you mention, in vitro meat. Billions of families on earth have an entrenched cultural desire for meat. It's much easier for a technological revolution to happen than to change culture.
1. You can't compare the performance of middle-income/poor countries to rich ones. It's much easier to grow a poor economy 10% annually than a rich one due to labor and capital being used so inefficiently at the start.

2. The US has hardly suffered in the study time (1988 to 2008). 1.6% real gdp growth/capita per year.

3. How has Brazil done well? It's 1988 to 2008 growth is 1.3%, below that of the US. More open Mexico has done better (1.4%).

4. Chile, a middle-income country known for free trade, grew 4.2%

5. China is a bit of an anomaly with its incredible 8% year over year growth (possibly the highest in the world). It has many unique factors allowing it to drive high growth (one of which is strong institutions that historically had crippled, not helped, growth).

source for numbers: http://www.wolframalpha.com/input/?i=%28%28brazil+real+gdp+p...
Yes, backend-authenticated access control is possible. See https://nchan.slact.net/details#authenticate-with-nchan_auth...
Is there someone here who follows Riemann Hypothesis research closely enough to comment on whether there is any there here?[1] The Riemann Hypothesis is a sufficiently complicated and famous problem that I think it must be easy for a wishful thinker to suppose he has found a solution when he actually hasn't.

[1] This is a reference to a famous quotation from Gertrude Stein's autobiography, "anyway what was the use of my having come from Oakland it was not natural to have come from there yes write about it if I like or anything if I like but not there, there is no there there."

https://en.wikipedia.org/wiki/Gertrude_Stein#.22There_is_no_...
Seems Gagarin was not the first man in space
Related to the snarky comments about how this relates to Google's search/advertising business...that raises an interesting question: why isn't this filed under Alphabet Inc. rather than Google? I thought that was the purpose of having Alphabet, to be the umbrella over old-Google's old and new businesses?

edit: I can answer my own question: this was published on December 3, 2015. But it was filed May 28, 2014, which was created in 2015.
Semi-modern inspection techniques (eddy current inspection) and X-ray inspection can detect hidden defects and cracks and aluminum airframes are fairly readily repairable.

I wouldn't expect that metal fatigue will prove to be an impediment to the B-52's ability to continue to deliver ordinance.
Except even in the busiest cities, elevator men weren't a load bearing column of the economy. Your comparison is failing to account for the sheer scale of the truck driving business and the importance of those salaries not just to the individuals, but to the communities in which they live.
Actual software available at https://github.com/openalpr/openalpr
In my experience, the highest "times 10" productivity comes when developers are motivated and passionate about the work they are doing. (Along with having a baseline of skill of course.)

Great developers can be passionate about niche languages and in the short term it could be a recruiting tool for exceptional developers. But you have to balance that against the fact that if your chosen language is too far outside most other developers' experience you're greatly reducing the pool from which you can hire.

Let's say somehow you are able to find a team of five truly energetic self-managing Clojure developers. Yes, I would back that team if they were up against 25 average developers and associated managers.

But then how're you gonna scale? You can't just take normal developers, teach them Clojure, and expect them to get Clojure fever the same way your group of self-selected experts had. I mean, they are professionals and they will learn it, but you will end up with an ordinary development team simply using a uncommon language.

You cannot beat regression-to-the-mean simply by choosing a different development toolchain. You can only beat it by hiring the right people, often those who tend to fall through the cracks of traditional HR processes, and letting them recommend the tools.
Alphabet, not Google anymore, no?
1) It may. Depending on the problem they are trying to solve.

2) It will have some appealing for some developers yes, but the pool of talent will be smaller than a more mainstream language
Environmental change for one. example Syria losing half its agriculture land due to climate change has a lot to do with their poverty increase which then has other downstream consequences (ISILs numbers grow -> more terrorism -> increased military spending -> govts invasion of privacy). Add on that the shoe has yet to drop for most consequences related to climate change - yet it's still real and happening today.

Add to that culture and knowledge exchange effects and I'm pretty sure income distribution, while easily measured, would not be towards the the top.
plus google now suggestions based on the results.
Don't forget Eisenhower's original wording described it as the military-industrial-congressional complex. The KC-X would be flying if the original contract to EADS had not been scuttled by Congress:

https://en.wikipedia.org/wiki/KC-X
Market Rate is for Lobsters
This is rather a snide comment. But yet, how much more invasive is physiological monitoring than allowing video and audio monitoring of ones home? Or ones children, via dolls?
I was "published" in a perl book; a screenshot of the #perl efnet IRC channel was used in the "other resources" section, and something I'd said was part of that. The money that rolled in after that, ....hoooo, boy!

Yeah, I'm still working for a living.
Or you could just buy the property and be done with it. Take a little responsibility for own existence.
This is a very naive analysis. It defines toxicity as propensity to be fired, only looks at big corporations, and uses self-reports in interview tests (like paper tests) as the independent variable.

I suppose the reason this piece strikes this community as so silly is that the general philosophy of the startup is that a group of 5 or 10 people can best multi-million dollar corporations because corporations are so inefficient. To turn to such a company's firing decisions as the source of truth of worker quality feels profoundly backward.
Hmm.... this seems extremely naive on the part of the author.

Let's take his approach for a moment. How do we look at the statistics he proposes? Do we look at the last election or the last decade or since the last redistricting? His analysis showed single sets of races, but US states have bicameral legislatures... do we somehow combine those results or pick and chose? Do we, as the author did, discount third party participation and if so isn't that also biasing redistricting efforts in favor of two parties that are not as different as most would like to admit? Do we choose our time frame ad hoc at the time of redistricting?

How do we deal with this problem: we have a district that was itself gerrymandered at one point in time to ensure that a significant racial minority had sufficient electoral clout in at least some districts (including our example). Now that district votes for Party A consistently, but the mean vs. average approach shows that the redistricting unduly favors Party B... do we meet the aims of inclusion or do we try to ensure that political parties are not advantaged/disadvantaged at redistricting time?

The real problem here is that democracy has become this important at all. Rather than worry about how to best preserve the rights of each individual from undue interference from anyone (including government officials) we are more worried about ensuring that we are not unduly disadvantaged in having access to the force that government represents: and in so doing ensuring that we can use it against those we don't favor for the benefit of those that we do.
Lua tables are similar- they're nominally hash tables but are often used as arrays (including a length operator), and a few versions ago they added an optimization where small integer keys are stored in an actual linear array.
They are also working on a glucose-tracking contact lens. Continuous glucose monitoring is one of the last components of the "Artificial Pancreas" that could be employed by type 1 diabetics like me. Using the Dexcom CGM system with an insulin pump, an rpi, and Nighthawk, some actually have an artificial pancreas (skirting the FDA's approval latency). I would imagine Google sees this as a huge opportunity to affect a HUGE community with a chronic condition and demonstrate their prowess in yet another industry.
Applied to whole systems to make them more secure from hardware up:

http://homes.cs.washington.edu/~levy/capabook/

Modern project already running FreeBSD with capability security:

http://www.cl.cam.ac.uk/research/security/ctsrd/cheri/

Also look up CapDesk and DARPAbrowser.
Yes. All messages are buffered for a configurable length of time. Longpoll and EventSource clients receive the last message id with each message, and if interrupted can be resumed from there provided the message has not timed out. I don't yet have a way of transferring the last-received message id for websocket clients, but if it is known it can be set during the ws handshake.
Deep learning for crosswalk detection in aerial pictures
my opinion is that we wouldn't even be here without developing animal husbandry.

In general, mistreated animals do NOT make good food products. Eg, they taste bad, and are tough, and have low yields.

I don't think the worlds problems would be solved by us not being opportunistic feeders. If you do, then you are clearly deluded.
Pretty interesting to see quite a few that South Park ended up using in their bit about "Internet Money" from a while ago. I really enjoyed their take on the subject. Hell, even Garfunkel and Oates turned their little gimmick (Pregnant Women Are Smug) into an actual career in entertainment so the article kind of misses at least one, and probably more.

My closest actual relation was with a member of The Gregory Brothers who did Auto Tune the News, which was viral, but also kind of a business card for potential future work.

I never understood the logic behind www.Zombo.com other than to be a marker in the sand for mocking internet culture. Glad to see it's still functioning. THE INFINITE IS POSSIBLE AT ZOMBO COM!
From a pure economics perspective, it does create those superior jobs. I.e. the usual tale of the factory worker who was replaced by a robot, then got a new job fixing the robot that replaced him. Unfortunately this makes a few huge assumptions: 1) That the worker in question is able to take on that role, 2) That for some reason the factory would hire 1 person to maintain each robot (not happening), and 3) That the robot's output would be equal to the worker, which is highly unlikely (it would be much more efficient and make fewer mistakes).

Plus, in the new modern automation trend, we're not just talking arms that build cars anymore, we're automating entire company departments. Things like accounting, investing, inventory control, etc. are all being heavily automated. White collar workers aren't as safe as they think.
No, I still by paper books and then share them with network. I block time for reading. I don't read stories. Biz books, code books only.
At least there is a more trustworthy method of validation. Is it illegal for me to spend my time on a lawn chair on the side of the highway logging the plates I see if that's the kind of thing that blows my skirt up?
It's not proper though.
I'm incredulous of:

>There are vast areas of research where every credible paper gets posted to the arxiv

due to your word "every" which from context you mean literally; no exceptions. So, what would these vast areas of research be? The statement would not be true for any areas of research I know about.

EDIT: Thanks for the replies - fascinating. That in certain fields, no paper is worth reading if not on arxiv.
It is available in JS too:

function double(str) {
return str+', '+str;
}
function ucase(str) {
return str.slice(0,1).toUpperCase()+ str.slice(1);
}
function exclamation(str) {
return str+"!";
}

var _="hello";
_ = double(_);
_ = ucase(_);
// _ = foo(_);
_ = exclamation(_);

console.log(_); // Hello, hello!

function pipe() {
var functions=[];
for(var i=0; i<arguments.length; i++) {
functions[i]=arguments[i];
}
return function pipe_call(arg) {
for(var i=0; i<functions.length; i++) {
arg=functions[i](arg);
}
return arg;
}
}

var _="hello";
_ =pipe(
double,
ucase,
// foo,
exclamation
)(_);
console.log(_); // Hello, hello!
I bet on NAT latency. No NAT must be great for push messaging, since the network is stateless and less keepalives are necessary to keep the connection open.
Arxiv is pretty much for all. What you call vouching is just endorsement, and it's not peer review at all.

what I got Googling 'pseudoscience arxiv' - http://arxiv.org/find/all/1/all:+AND+marvin+herndon/0/1/0/al...

These titles wouldn't even make it past HN's front page, they would be flagged - by lay people with no background.

Let me emphasize: arxiv is not peer-reviewed, it is an open publication platform.

Out of the above list, I only clicked through one - http://arxiv.org/abs/physics/0510090 reading "Teaching Earth Dynamics: What's Wrong with Plate Tectonics Theory?"

Quote:

"I review what is wrong with plate tectonics theory ... and describe my new
Whole-Earth Decompression Dynamics Theory, which unifies the two previous,
dominant theories in a self-consistent manner. Along the way, I disclose details of what
real science is all about, details all too often absent in textbooks and classroom
discussions."

This wouldn't make it past a HN reader. "I disclose details of what real science is all about." No peer would ever accept that, in any journal on any subject.
Driving a car increases your risk of death via accident by an astronomical amount. Shame on you!

The only leg vegans have to stand on in the argument against meat is the cruelty occurring in factory farms. That cruelty isn't inherent in the process of raising and slaughtering animals though. Not to mention life in the wild can be pretty rough as well.
Any errors in the actual content of the paper shouldn't take long to turn up. There seems to be nothing more high-powered than calculus used in the proofs.
Did I miss the part where they cover call quality?
Cultured meat from stem cells: Challenges and prospects (2012) [pdf]
The videos are good but something is just off ( uncanny valley ?) about the way the person presents. It seems really fake :(
> "The cycle of modern consumerism and corporations is disgusting. I laugh to myself when I think North America looks down on third world countries. In many cases, it's the exact opposite. I'm a spoke in the wheel like most, however this article makes me want to change."

If you want to know the answer to this issue, it can be found by learning the 'waste equals food' approach found in nature. I can recommend this talk by William McDonough as an introduction to how this can be applied to man made items:

https://www.ted.com/talks/william_mcdonough_on_cradle_to_cra...
What is the "it" that you did?

Changing a string like 'foo=yes' to 'foo=no ' would be easy enough - as long as the filesystem does not checksum data.

Adding multiple lines to multiple files is not going to work very well.
That's correct, that feature is for authentication only. I may add a feature to replace the message with the back end response.

By multiplexing I mean that a single websocket (or any other) subscriber can subscribe to multiple channels.
On page 4, it says "Now by Robin criterion d(n)<0 for n large enough, yielding lim sup (n->infinity) (d(n)) <= 0". If I understand the criterion from page 1 right, assuming RH is false only implies that d(n) <= 0 for some n > 7! -- not for all n sufficiently large, so the limit superior is not constrained as claimed. In fact, on page 2, the paper claims "Thus, if m is bounded and n->infinity, we see that d(n)->infinity", which, if the falsity of RH did imply lim sup (n->infinity) (d(n)) <= 0, would make for an even shorter and simpler proof.

Disclaimer: I've only got an undergrad in math and don't know much about the specifics of the cited papers, so I might be missing something.
That one is easy! Anything not 'Merican or not in a state of anarchy. Keep the rich rich and the poor poorer (Especially their education). Also don't tax the Rich to much since that would be redistribution of the Rich so tax the crap of the middle-class.
> Are you saying President Clinton did NOT use B-52s to carpet bomb?

I'm saying the case you cite is not on any sort of scale comparable to Vietnam or WWII.

Your Operation Cobra cite involves 3,000 aircraft. Your Kosovo cite involves 86 bombs.
Just go with Atheist or Agnostic why does it need another word?
Just glucose monitoring for diabetics would make this a valuable patent. The last try at noninvasive glucose monitoring did not work out very well.
But pompous comments are ok?
Possibilities 2 through 4, while theoretically possible, are highly unlikely based on fairly basic observation of human nature and how secret power operates. And because it's all secret, we're entitled to make the most ungenerous guess.
As noted in the OP, yes, as do F#, Elixir, Elm and Julia.
While it was not me who posted this to the Hacker News (so don't blame me for the title here), I can assure you that all mentioned credentials were active at the time when I found them.
That's what I thought - but it turns out that not all ISPs behave well.

https://defcon.org/images/defcon-22/dc-22-presentations/Grah... but the video is also very entertaining. This is applicable to the IPv4 internet but I'm sure someone will eventually come up with a way to do it for IPv6.
Instead of a hashing contest it uses time locked deposits on which block will be accepted next.

To my understanding it works out as a combination of prediction market style betting and bidding for a block to be accepted.
Ask HN: How to search online webcams?
I assume there could be 3 different ways of doing this as usual.

1) Live webcam re-director

Such as http://www.earthcam.com/mapsearch/ But this only re-directs you to other sites those provide live webcams.

2) Live webcam broadcaster

Still on earchcam.com . But this time it provides live webcam broadcasting.
http://www.earthcam.com/usa/newyork/timessquare/?cam=tsrobo1

3) Webcam heartbeat locator

Some sites, such as shodan:
https://www.shodan.io/search?query=webcam

You can even get a webcam URL from this. But it looks some of the results are not valid anymore.

So, here is my question.
###### How to search online webcams in codes? ######

Any tutorials?
Thanks!
> There will come a time when we don't need to redesign our aircraft every few decades any more than we do our infantry's rifles.

Except that the M4 is from 1994, making it significantly younger than the B52.
My grandmother is 83 years old and gets about $1200/mo to live on. So, your saying her lazy ass needs to go get a job when her check goes down to $800 so I can have an $800. it makes no sense. a negative income tax makes a lot more sense and you can set it up so the marginal tax rate doesn't discourage people from working.
Hard faces
Hey, are you accepting pull requests for spelling/grammar?
Kind of, though in my case it's more that the internet and video games simply grab my attention more than books. I mean, if I have nothing else to do, I can read fine, but if it's between that and say, Super Smash Bros... well, I'm probably not gonna be able to focus on the book.