skysight-inc/HackerNews huggingface dataset:
I wouldn't say that heterogeneous ifs are silly for languages with explicitly type-tagged data (Lisps) where a value has a type, not a variable (actually, there are no variables - there are bindings - symbols acting as pointers to a type-tagged values). Moreover, I would say that homogenous conds and cases (pattern matching) with a "default" branch are way more silly.

Also I am very surprised by such statement from 'the author of a several papers with the word type in the title'.

I also would argue that the design of CPUs such that any sequence of bits could be loaded in any in any register and interpreted depending of the current context, instead of having typed registers is not a shortcoming but a fundamental feature. It makes code small and elegant. There is whole TAOCP to see how.
Yep, voltage on the eneloops by comparison is 1.2V. Lots of battery operated toys work better with 1.5V batteries. There are rechargeable alkalines that provide 1.5V but they are very unreliable and the rest of the rechargeable AA market is lower voltage. So batteriser would be pretty neat if it works as advertised.
Better OOP is definitely not the direction the language is going. C++11 added override and final. C++14 had no OO features. C++17 may get UFCS (i.e. f(x, y) == x.f(y)), which is either an OO feature or another step away from OOP depending on how you view it.
Will this work for police violence?
I have a vague memory of some research recently (last few months) that showed it was nigh-on impossible to persuade most people of a contrary position to one they held. In fact, it helped to strengthen their existing beliefs.

But my google-fu/pocket-fu is weak and I can't currently find it.
Are you baffled when you run an open source application and the GPL pops up?
If you're going to claim "better" than Trello, you need to have a usable demo preferably only a click away, not a registration form away.
I believe Putin still wears high heels, as well as other vertically-challenged dictators.
Yes, but it's eight times more dead.
Fair enough. I was coming at this from my current experience where a couple of different programs I have grab JSON from a server: the Python one puts it into an object, the bash script doesn't because I couldn't be bothered :)
Appreciating living in a first world country.
That's where I sit most of the time. I prefer using Linux as my desktop, as well as my server OS. I'm looking into combining my machines under Mesos, but that'll take some figuring out (as opposed to Kubernetes and friends).

My degree calls for, unfortunately, very vertical programs that I cannot afford (3d design - Autodesk Inventor, Cateia, Solidworks). So I resort to piracy for my learning. I still feel wrong to make profit on pirated works.

However, I'm also learning FreeCAD as well how they develop it. This is what I use when I make money on 3d designs. I'd much rather it win out than things like Inventor anyday.
Well, its probably not surprising that a startup ecosystem that is all about selling longshots attracts around is peripheries, journalistic and otherwise, people who are prone to accept longshots as much more probable than they are.
Not comparing to HP/PTB/LFRC, just RCU and similar schemes. You're right in that the first class are easy to beat given appropriate workload.

RCU is being conflated, the (Hart) paper I linked to will addresses your questions (sorry phone).
> Poor people or people that don't mind taking a risk for the chance of a reward?

People who don't mind paying for the feeling that they have a chance to win. Their actual chance to win is far too small of course (unless you're at MIT), but the thrill they feel is real. That's what you pay for. Just like a roller coaster ride or something.
> The problem is that I cope with pain and hurdles differently. When people stop to rest I usually push some more. When they seek a shelter from the rain I want to ride more. When they need to chat with someone I need to read a book. I am a hyperactive introvert with a strange set of interests. I am a little different and because of that it's much harder for me to make friends.

Shared suffering & growth is how you form the strongest bonds.

If you're biking w/ people and they stop to rest (or b/c of rain). Time to make a choice. You can keep going, or stop with them.

If you keep going, you'll grow, your legs will get stronger.

If you stop, they'll grow, their legs will get stronger. But you have to keep stopping to see it happen. In time they'll stop less often. You'll love watching them get stronger, and they'll love that you were there to witness their growth. You're sharing in their suffering, even if you're not winded or uncomfortable yourself.

Fast forward to the future, now you're struggling with something physically or emotionally, and one of them may stop to be by your side. They could've pushed past you but they want to be there for you. You were there for them.
Will do! We atually started as an open source / licensed hybrid model. Then moved to offer all of our software for free and charge for support. Moving to a cloud platform was a natural next step - not only is it a great way to demo the tech and on-board new users, but it's also a great way to accelarate features for the rest of our users.

You wouldn't believe how indebted we are to our community that give us feedback and feature suggestions, it's quite amazing really.
This bit is from comment on the NYT site:

> "Banks love it when people default on their government backed student loans. At the time of default they are paid in full by the government and then they are able to turn around and sell that debt to collection agencies."

Is this true?
Looks pretty nice. Congratulations! But why this is better than other chat apps for WWDC?
They Took Our Myths
Already posted here: https://news.ycombinator.com/item?id=9678357
Why? I have a lot of experience in the UK and that is how I would see it
Compared to what the private industry would pay for the same set of skills? Massive doesn't mean much if it is still a fraction of what those skills would otherwise be valued.
Location: Ostrava, Czech Republic, Europe

Remote: Yes

Willing to relocate: No

Technologies: Clojure, Racket / Scheme, Java (+ Spring et. al.), Groovy (+ Grails), R, a bit of Python, JS, CoffeeScript; Hadoop MR, Pig, Spark, Hazelcast; SQL, MongoDB, Neo4J & Riak basics

Resume: https://www.dropbox.com/s/rvhh0ucxbitjtst/cv_daniel_kvasnick... and http://cz.linkedin.com/in/danielkvasnickajr/

Email: daniel [ d o t ] kvasnicka [ a t ] me [ d o t ] com

Links:

* https://github.com/dkvasnicka

* http://danielkvasnicka.net/

* https://www.hackerrank.com/dkvasnicka

I'd like to join a company where I could let loose my love for data and functional programming - with lots of parentheses, preferably :) I'm currently working in a data science team in a major pricing science company, applying algos to heaps of transaction data in order to find out how to make more money on B2B transactions. I know some ML basics and I'm actively learning more.
I'm not able to relocate but I have a firm grip on remote working as I've been working remotely for a few years now. I'm OK with visiting your HQ like two times a year or something like that...
This is how almost everything works now and so it's weird to even have he discussion.
nice, although that green hurts my eyes...
Can Learning to Code Delay Alzheimers?
WWDC tips, 2015 edition
Paris to Lyon is a similar (slightly shorter) distance and done in 1:53 (average 208 kph). Beijing to Zhengzhou is slightly further and takes 2:24 (average 304 kph). These are best cases running directly along the high-speed line, but presumably the direct LA-SF service will be one of those too.

Edit: the closest comparison distance-wise is probably Barcelona to Madrid; 2:45, average 227kph.
Show HN: Trvl.gd – Travel Experiences Curated
Not, I was specifically saying that wasn't what was implied by that statement.

I'll try again with an analogy. Say the biggest problems for society are feeding and clothing their children, getting a job after hitting fifty and paying for medical care, with dating much further down their priorities.

On the other hand, 20-year-olds USUALLY don't have kids or major medical problems, and so dating is much more important for them than those things.

Now if the 20-year-olds build a dating app, of course most users will not be from their demographics, simply because there are many more non-20-year-olds than them. But it doesn't mean that the time and money investments in that dating app reflects the needs of society as a whole.
I wrote this before, but I think the most effective way to hire is to do your best without giving into to grueling whiteboard interviews, and take a chance on someone who seems smart. But also fire the person quickly if it seems like they won't be a good fit. After spending years interviewing people, this is the best conclusion I've come up with, because nothing else works as conclusively. Yes, it's brutal, and a bit ruthless, but effective. Whiteboard interview questions are a terrible measure of whether someone will be able to contribute. Same goes for the other types of interview questions.

Of course, you need to give the person a chance to ramp up, etc, but if they can't be a contributing team member in 2 months, then it's better to give them 1-2 month's severance and get rid of them. I know one late-stage startup in the city that is using this technique, and I believe Netflix uses this technique as well. It sucks, and kind of creates a bit of a harsh environment, but it's a fast way to build out your team, and probably has the same success rate as any other interview method, if not better because you cull your bad performers quickly.
5 Insanely Effective App Store Optimization Tips for Higher App Rankings
The Thing Holding Back Internet Innovation Is the Internet Itself
Not much probably. Practically al fishermen's fleet was wipped and aquaculture where also damaged. Luckily, most yellowtail production was sold in the winter market a few weeks before, so seafarmers have enough money in the bank to start again.

Most whalers were probably offshore when the tsunami striked thus not so damaged. I'll bet that this $30M where for families that lost their relatives or houses, instead to buy better whalers, but i'm just guessing...
Sorry if your developing software professionally you DO NOT take risks like that.
> Remember that letting go is not forcing something to go away. Instead, letting go is an invitation. We generously allow the recipient to choose whether or not to accept the invitation, and we are happy either way. When we let go of something that distracts our meditation, we are gently inviting it to stop distracting us, but we generously allow it to decide whether or not it wants to stay. If it decides to leave, that is fine. If it decides to stay, that is fine too. We treat it with kindness and generosity during its entire presence. This is the practice of letting go.

> Finally, if you do not remember a single thing you read in this chapter so far (maybe because you do not care about this book but your wife made you sit down and read it), happily, Jon Kabat-Zinn has a one-phrase summary of this entire chapter:

> __Breathing as if your life depends on it.__

> If you can only remember a single phrase in this chapter, remember this, and you will understand mindfulness meditation.

From Chade-Meng Tan's Search Inside Yourself: The Unexpected Path to Achieving Success, Happiness (and World Peace), warmly recommended: http://www.siybook.com/
Yes, but their investment still has a positive ROI (if they do their homework and the economy doesn't collapse, that is). The ROI on a lottery ticket is negative (unless you're at MIT and figure out a loophole like this).
I've been using linux + gnu since I was about 14. I cargo-culted almost exclusively for the first 4 years of my using of linux. Things broke constantly. I would install a new distro just to try out a different DE, not realizing that the differences between kubuntu and ubuntu could be exchanged with a simple apt-get command. Everything I ran in a shell was copy pasted.

Then one summer I installed gentoo. I used it for about a year. If something broke, I made sure to understand why, and to not just fix it. I learned more in that year than I had in the first 4 combined.

Now I use debian and arch linux, it's not worth the hassle of running a gentoo system. But oddly, nothing seems to break anymore. I don't feel like I'm doing anything differently.

That leads me to the conclusion that not breaking installations is more about uncovering the unknown unknowns of your understanding of your system than anything.

Just my $0.02.
By all means try. But saying it "becomes reality" is massively overhyping it.
My poor misunderstood British sense of humour :)
where does it run? on windows or linux?
Orange Is the New Black S.3 Review: New Style That Takes Too Long to Get Moving
"Right side of history", "moral arc of the universe", etc. seems to suggest that the people becoming uncomfortable think it's a slippery slope too.
Factoring out constants has a nice effect of turning your header into a sort of declarative program, a quick summary of the interesting behavior choices the program makes, a guide to understanding the program at a glance.

With numRetries=5, you can see he program makes retries. Withjust 5, that fact is hidden away in a method parameter somewhere.

And unless your IDE is ed+cat, there is no hunting needed to jump to a definition of a method. Having layers of generality makes code easier to read.
I've got nothing to back this up, but every high speed train project I've heard of in the US - which is admittedly like 2 or maybe 3 - has failed due to budget mismanagement, politics or both. Do we have any meaningful HSR in this country?

This is IMO the biggest issue w/ Hyperloop - budget and/or politics will kill it well before engineering challenges.
Windows 10: More security with non-stop patching
Brain's reaction to certain words could replace passwords
London - Onsite - Tech Roles at JustPark!

Following our record breaking crowd funding campaign, JustPark are looking to take the next step on the mission to eradicate the pain of parking!

We're looking for a number of Developers, Designers and QAs to join our fun office in London, and really help us add some cool new features to our product.

Head on over to http://www.justpark.com/jobs to see a list of positions we have open.

Looking forward to receiving your application!
Boycotting Coca-Cola is extremely challenging: they own a lot of competing "hydration" brands and perhaps even the manufacturing processes used by their direct competitors.

I know several people who think they are boycotting Coca-Cola but are extremely ineffective in managing to do so. Although Coke might be disappointed by the damage to their core brand, they might be less than disappointed when you choose their more profitable products as an alternative.

Good luck!
That's awesome. That's where I grew up. I had a bunch of friends that went to that university. And if I'm not mistaken, Heroes Beacon is where I used to get my comics.
Our bodies are hard-wired for sweets
Looking at the French high speed rail system (which is the one we seem to hear the most about in the United States), the longest link I see is 106 km. Los Angeles to San Francisco is 544 km.

New York to Los Angeles is about 4,000 km. London to Moscow is only 2,500 km.

Edit: the point here is that Europeans, in general, have no conception of the distances involved in the U.S. transportation network. Passenger rail (high speed or otherwise) works well for relatively short distances in relatively densely populated regions. The trouble is that we don't have very many of those regions.

Edit 2: so you're moderating down arithmetic now? Awesome.
I agree about student loan being a complete commitment.

A mortgage, however is a secured loan with an interest rate tied to the risk of the loan. Especially if you're paying points, PMI or a higher interest rate, the chance of default is already calculated into the house and is part of the risk that the lender's responsibility. They also made a commitment to take it back if you don't pay (and you've paid for that privilege, perhaps dearly.)

Student loans are a bit different because some interest rates are heavily subsidized (some are not). If you're paying a high interest rate, then you are paying for someone to accept the risk of not getting paid back. Default, they get punished, they stop making bad loans, the market corrects.

Instead we've jammed a penny in the circuit breaker and loans must always be available and are near impossible to discharge. Government backs or bails lenders out and nobody gets punished for contributing to the mess (and driving up prices for cash payers too).

edit tldnr -- Loans are not priced based on moral commitment to them. If you get a loan priced as such (interest free from a friend) honor that commitment. If you pay extra for the inherent risk, let the risk taking parties honor their commitment, too.
What false impressions would those be? They haven't been exactly shy about publishing the odds (one in hundreds of millions) of winning the jackpot. Odds for smaller prizes are much better, and they get even better on things like scratch cards.
Don’t Trust Anyone Under 500
How about Paris to Marseille (775km vs 615km for LA to SF) in 3 hours 15 min, Paris to Bordeaux (584km) to be 2 hours by 2017, or Brussels to Lyon (734km) in 3 hours 43 min?
Get rid of HR completely. The best places I've worked at had no HR team. Instead, the team interviewed and decided together who to hire. Anyone could veto a new hire and anyone could introduce or recommend a new hire. I know this wouldn't work at a huge company but I'm fairly certain I read about Berkshire Hathaway operating like this at the BU/Department level.
It's been my understanding that the local bookie is slightly better than the state for small time gambling.

Meaning, on the three digit lottery drawing, the state pays 500 to 1 on a game where the odds of winning are 1000 to 1. In order to be the more attractive alternative to the state lottery, bookies pay 600 to 1.

For the small time payouts, I'd trust that the bookie's desire to keep the bets rolling in will be inducement enough to pay. They operate in small circles and word would spread quickly if a bookie refused to pay someone who had legitimately won.
Sorry I meant that some toys / gadgets have a perceived gender. Home computers became seen as boys toys.
"work is good for you. It expands your universe and gives you a life beyond the realms of the little box we're otherwise born with"

That's the sad truth for many people. I mean most people even find their love interests at work.

I was unemployed for about 1 1/2 years now and I didn't miss work for a second.

I coded what I wanted, I learned music instruments, I did sports, had much time for friends and slept till noon. After half a year I couldn't even imagine a life with a job anymore. I had so much todo even without a job.
Couple of questions.
1/ Is it opensource?
2/ Does it support the S3 api? or just a custom/rest api
3/ What makes it more attractive then Ceph or Riak CS?
"History of the alphebet" [sic]

Not mentioned is the curious fact that there seems to have been only one independent discovery of the alphabet. All alphabets are descended from the same root, proto-sinaitic or have been made up by people who knew about alphabets (Korean). Irish runes and Khmer script thus share a common ancestor.
The french TGV will soon take 2 hours and 5 minutes to go from Paris to Bordeaux (567 km).

The japanese shinkansen takes 2 hours and 22 minutes to go from Tokyo to Osaka (515 km).
I know Americans are all about personal responsibility and individualism, etc but we are humans first. I think the decision to stand idly by while your neighbors are getting preyed upon is not being an honest American (no true scotsman, woop)
This sort of frame of reference juggling can be used to say any money is used for any purpose anywhere.

Most lottery money is earmarked for education, infrastructure improvement, etc. The effect it has on any other portion of the budget notwithstanding - it's a fact that lotteries bring in substantial amounts of income.
There was also WS-CDL, a standard for choreography that was intended to improve upon many of the orchestration standards (and implicit centralised control within them). It was one of the few WS-* standards to come from W3C rather than OASIS.
http://www.w3.org/TR/ws-cdl-10/
Why you must tame complexity to become a better programmer
I don't trust a layout engine whose webpage advertising the engine has centering issues... iPhone 5s in portrait does not center the section starting with 'Polyfills' but does so in landscape mode; I'm pretty sure this was not the expected design.
Sometimes I wonder if the attachment of moral ideas to what are really just business contracts is part of the way modern individuals are being played by modern corporations.
In my business experience breaking a contract is something to be proud of if the penalties of breaking it are a better option than the cost of fulfilling it. That was all laid out in the contract, the morality of the thing was laid down in writing at the start when how the contract might not be honoured was considered in the contract itself.

Entering into the contract might have been a poor decision but compounding that poor decision by not breaking it when breaking it is the better option doesn't seem like a move in a positive direction either.
pretending that the rules of capitalism are somehow beyond the realm of the human and moral is repugnant
Tota11y – an accessibility visualization toolkit from Khan Academy
Agreement and disagreement.

Yes, countermeasures can be taken. I apply a number of defenses myself:

⚫ Multiple browser plugins: adblock, noscript/scriptsafe, ghostery, privacy badger, uMatrix. They work, variously, but also make browsing more of a pain. Applying these to, e.g., my parents' systems leads to inevitable (and difficult to diagnose remotely) issues. The median state of technical user competence is very low.

⚫ Privoxy. Though not on my primary browsing sessions as it's routed through...

⚫ Tor. If you want to destroy your browsing experience, route all traffic through Tor. Some sites flat out fail to function (e.g., Craigslist), generally because they block all traffic from proxies. Others repeatedly throw up captchas, including several (Cloudflare comes to mind) who rely on JS entirely, and cannot be bypassed for non-JS browsers. Also: pretty much all commandline tools (curl, wget, youtube-dl) are difficult or impossible over Tor, and you'll have to disable proxy for them. In other cases, Tor is seen as "suspicous activity" and triggers account protection, a/k/a self-triggered denial of service:
https://www.reddit.com/r/dredmorbius/comments/2w618r/how_to_... (also discussed on HN).

(Some way to be able to toggle multiple (or no) Privoxy modes easily would be useful.)

⚫ An extensive set of /etc/hosts blocks. Drawn from uMatrix's blocklists, plus additions of my own. It's a total of 62,290 entries, including most common (and many uncommon) tracking and advertising sites.

Plus other practices in real-world tradecraft.

It's still 1) tedious and 2) only modestly effective.

Email, mobile comms use, and messaging generally remain far less protected than I'd prefer.
I'm all for extracting constants, but not (always) to the top of the file: why not put them as close as possible to where they are used - especially for one time uses?
Er, isn't blackjack usually against the house? I always thought of poker as the quintessential "fun with friends" game. Hang out, drink a couple beers, everyone pitches in $10 on the poker game to make it entertaining.

Blackjack isn't really a party game.
If you enter an agreement voluntarily, and it's not an agreement about something you absolutely need to survive (like air, water, or food), you should honour it.