skysight-inc/HackerNews huggingface dataset:
In Scala, there are many ways to write a function. I wish I can share some code snippets, but, I'll just summarize for the sake of simplicity:

1) Functions have different forms and even nomenclature based on how many parameters they accept, how they are represented, etc.

2) Scala still has OO, which means it needs to carry a lot of baggage. The breadth of Scala's nomenclature combined with OO will take you a long way to learn the language.

3) Scala still runs on JVM which means you need to learn some of the JVM concepts if you'll be using it in prod. If you're from a Rails background, this is completely a new arena, because this is usually the Java guys' arena.

4) I wanted to be able to simply open up the source code and be able to understand what's happening. This was possible in Ruby/Rails, and ultra easy to do in Phoenix/Elixir, but painful in Play/Scala. IF you open up the source code of a Play! framework project, there's code so succinct that you would need to be strong with the language's understanding to get the full picture. Case class, implicit, etc., just to cite a few. In Elixir/Phoenix, it's just modules and it's just simple, yet elegant.

5) That being said, it's still good to learn Scala because there are tons of libraries out there with special use cases which you can use Scala for - It's still a good strongly typed language to build a robust project on.
IF I remember correctly, David Pollak mentioned in his book that he'd written an app in Scala that ran for years without any problems.

As for Haskell, I read this somewhere - "Haskell is nice and all, but it's no Erlang."
Since Erlang also has a bit of a learning curve, the next best alternative is Elixir.

P.S, - languages should be chosen based on one's own philosophy and in this case, Elixir strongly resonates with my own philosophy and all this is just my own opinion on why I chose it :)

Cheers.
Elisa Lam and Her Bizarre Death
For the Dutch: wij van wc-eend...
I think that when there is such a large conflict of interests, the best course of action would be ignoring opinion pieces on the parent company/owner altogether.

If it's major news that you cannot avoid publishing, just report the basic facts with no commentary.

Otherwise you cannot really read the piece without entering a similar spiral of thought:

"Is it genuine ?"

"If it's critical, is it to make the point that the paper really is independent ?"

"If it's positive, how can I trust it, considering the source ?"

etc...
You already have Joshua Tenenbaum and Karl Friston. You're just ignoring them in favor of celebrities who talk about AI rather than mere cognition, and have billions in funding and years of professional self-marketing to throw around.
Maybe I am old, but the Model 3 gets 0-60 in about the same time the Porsche 911 used to. I would consider everything less than 8s "sporty". That does not mean, it is a race car, just something with quick performance. The fact that the full power is always instantly available without shifting or pressure by the turbocharger building up, closes the gap further.
I live in a complex in Shanghai where the rent for a 2bed 1study apartment without car parking is $3.5k USD. The yield is extremely low as that property would cost you $3m including taxes/fees to buy. Because the rent is so cheap compared to the cost to own, I saw people trying to rent but couldn't get any unit for months all the time. Low demand?
Glad to see all of that advanced internet surveillance technology is being put to good use...

So much for the argument that tracking is helping companies serve you better ads.
Digital advertising is absolutely effective. 2 of the biggest companies in the world are digital advertising companies, with several other giants. Don't be fooled by random examples.
I keep saying that the evidence on the danger of the current drug policy is so clear that I refuse to see this as a subjective issue where a politician is justified to be of the opinion current policy is ok anymore.

I can understand "ordinary people" not reading up on it, but at this point I personally consider politicians who continue to oppose large scale drug reform to be morally responsible for contributing to mass murder.

I accept they're not legally responsible, but I genuinely believe most of them should be in prison on murder charges for their parts in perpetuating these violent policies unless they've at the very least voted in opposition to these policies if/when they've had the chance.
I want to testify of how Dr.MULI JONATHAN used his

traditional african herbal medicine to cure me of

HIV virus
I taught my life has come to an end as I was

diagnosed of HIV 4 years ago.
I was told by the doctors that my immunity has

dropped resulting to a fall in my CD4 count and i

was placed on anti - retroviral drugs therapy but

this was not a final solution to my ailment
I was a confused person until a friend introduced me

to Dr MULI JONATHAN I contacted him and he sent me

his herbal drugs with instructions on how to take

them. After taking the drugs for the required days I

went back to the hospital to repeat my test...

Behold I was tested HIV -NEGATIVE.
I am so happy.
You too can contact him;

mulijonathanherbal@gmail.com
WEBSITE: https://mulijonathanherbalhome.yolasite.com
Whatsapp: +2349038544302
While I wouldn't say that the problem has been "well studied", the research community has been paying interest, and some progress has been made, most notably- as pointed out by benjaminjackman- LIME[1]. Roughly speaking, LIME learns a locally approximate model which can be interpreted. It will work will any black box model, not just neural networks.

[1] https://arxiv.org/abs/1602.04938
Actually this is a clear case of overfitting leading to a high false positive rate resulting in the misidentification of a US ship for chinese.
What I can imagine freaking people out looking at your code is not knowing what, if anything, is atomic or otherwise in a transaction. Presumably that's well-defined by the ASDF operations and whatever multi-threaded solution you're using in Lisp along with the Lisp runtime guarantees, like presumably (I haven't looked) if you compile and load a package through ASDF it will do it all at once (but for each thread?) and you won't get in a state where one thread has a reference to both an old and a new function in the package. You might still have an issue where one thread expects a database schema that no longer applies because you've updated the schema and the mapping code was updated by the package reload but this thread hasn't had that happen yet...

For your web system, are you guaranteeing that if any subsequent requests come in, they wait for the current request to completely finish before being processed? If so, at least there's no obvious bug and the recompile only happens once, but that will turn people away when we're in a many-CPU age. So it's really not that different from the CGI model that PHP has used so successfully. FTP a new copy of the PHP file onto the server, presto, all new requests use that code and you didn't have to restart anything.
> purchasing a small apartment now costs about the same as Sydney, with a median price above USD$1M

Wow. What is the median salary in Shenzhen? And how do people who earn that afford million dollar apartments?
Tesla Model 3: The entire world will want this car
Steve Jobs Demonstrated the Perfect Way to Respond to an Insult
This is awesome, and will be awesome potentially for OpenStack clouds where it can get quite messy.

Having said that might need some improvements to also work with OpenVSwitch.
That is a piece of junk. Digital advertising can filter out silly clicks like that without a problem.
Thanks for agar.io - it cools.
Any chance of a AMA or similar ?
Would be really interested on the technical aspects (only 1 week! to minimal viable product) ?
Also on the ad revenue ? (where it is not commercially sensitive ?)
Also the fun stopping bots playing the game ?
Your view on the great trick moves (and youtube videos), are these fake or are people really that good ?
Do you play it much yourself ?

:)
Ask HN: Can a Corporation have its own army?
In the scenario of corps getting huge, owning vast territories, creating their own culture and social facilities, having more budget than some countries.
Could they just train their own army?
Is this happening?
If you're coming from a Rails background, you'll find Coherence[1] similar to Devise.

However, I was recently in need of implementing authentication for more than two models (Buyer, Seller) and that's where I hit a roadblock with these Devise-like libraries. Just by chance I found a really good, well designed library which I use in production as of now. The author is also the author of many other famous libraries in Phoenix-verse (Comeonin, for example). The library is called Phauxth. Check it out:

https://github.com/riverrun/phauxth

[1] https://github.com/smpallen99/coherence
> Regarding the Hidemyass claim of "physical servers in 190+ countries," RestorePrivacy's post countered saying if users believe that, "I have a bridge to sell you."

Why do people still use HideMyAss? It was found to be scammy and ineffective multiple times over the past decade.
Like they didn't know already, even before fentanyl. Dealers don't care for the long run, they want their cash today and screw anything else. A few fiends die, tough; someone else will come along soon enough. And if you're caught, 5 or 10 years is an immaterial difference: prison is just part of the lifestyle, doing two 5-yr or one 10-yr is the same.
But for his own sake wouldn't it be better you told him so that he can either get a burglar proof safe if that's what he wants or get a new fireproof safe that he then doesn't destroy by drilling through it?

I know that a lot of people don't appreciate advice though, but still if this relative respects you they should listen.
That is the definition of price dumping.
Setup spark cluster in docker with 4 commands
With SPF, DKIM, DMARC, coupled with blacklists and the reputation system of big mail providers that's making it difficult to host your own email, it's actually quite to impersonate an email address.

Try it, then see how many times you can hit a @gmail address.
It is easy to say they accept liability, as long as they are not selling any cars qualifying for it. I think this question needs to be seen when and if we are getting cars which can completely take over from the driver - and that basically implies liability by the manufacturer, because I as a driver have not handed over control, if I would be still liable for accidents.
Not necessary, the battery can take very high charge currents for short amounts of time.
> Which value(s) should be prioritized over others? How about differing values between cultures and human groups within each culture?

Don't kill humans sounds like a good start.

Honestly, this problem seems a lot simpler to me than creating AGI itself.

I agree it is challenging. The most imminent question is probably, "should a self driving car be allowed to kill 10 people on the sidewalk to avoid a head-on collision, or should it accept the head-on and let the driver die?"

These domain specific problems will come up before the AGI one does, and we can address them as they become relevant.

You've noted that regulating AGI is difficult, and it sounds like you don't have any other solution in mind.
Sure but if the link leads to the actual FedEx website then what would be the point?
Have you considered that a large part of the reason it keeps sucking them back in might be that it's the only environment where they're not judged for their problem?

If so, a less judgemental environment might very well help more people out of the addiction cycle, and a more judgemental environment might very well make it harder to escape.

It's not at all clear that making it into something shameful has any positive effects.
> Turning lights on and off, using a plain old mechanical switch, is about the easiest, most mindless task I perform on any given day.

Agreed, but ...

The switch and light are where the original house owner wanted them. If I want to move either of them, I'm calling an electrician and tearing through walls. And, if you want to add a second switch that controls one light, good luck.

Being able to wire the light and the switch separately is useful.
Use a keyboard with thumb key clusters for Ctrl, Alt, and other modifiers. If you cannot use such a keyboard (e.g. on a laptop) I suggest remapping CapsLock to Ctrl or using `god-mode`.
DVDFab 10.0.3.9 Crack Patch and Registration Key Full Free Download
> I wanted to be able to simply open up the source code and be able to understand what's happening. This was possible in Ruby/Rails, and ultra easy to do in Phoenix/Elixir

While it is possible to look at source code in Ruby/Rails, in practice for me (even after a few years of production ruby experience) it was extremely painful to look at any number of libraries due to the amount of redirection and implicit state, and monkey patching. But Elixir has (almost always) been VERY easy to follow, sometimes the code is just so simple.
And Erlang! Don't forget Erlang :)
> Tesla’s trying to change the vocabulary we’re using to describe it, from “kilowatt-hours” to “range.”

I understand why they did it -- Tesla's cars tend to be the most efficient EVs around, often by significant margins compared to competitors. But for someone who was hoping battery size competition would be the new megapixel race, this is quite disappointing to hear.

I suppose "range" could be used in the same way, but range is less "hard factual", as they can twist it however they want, unless they actually use the EPA and WLTP cycles.
I had the same reaction when I read this. I was looking forward to getting to my computer later today so I can see what that key map does!
As sibling point out all is not lost. In a wood framed structure put lag bolts in to studs or beams. It doesnt have to be perfect. Your primary goal is to prevent a strong man, or someone with straps/handtruck, from literally walking off with the goods. The goal of a safe is to simply delay the attacker until an active response arrives.

Edit: in an appartment building check your floor loading. A little jewelry/document safe is probably fine. Big get very heavy very quick on a relatively small surface area.
> I think the fundamental reason this is happening is that the chinese do not trust their own gov't enough to store their assets in a more liquid form.

nonsense. check the total amount saved in state owned banks. or check how many seconds it takes to sell government bonds.

http://www.smh.com.au/business/china/with-28-trillion-in-sav...
There is collusion between banking, real estate developers, agents and politicians in the western world too ...

I actually I think we invented this stuff.

PS: 3% return p.a. for a real estate investment? Amazing; around here real estate investments return zero or below and investors count on property price appreciation, tax deductables or maybe rent increase.
It's my alarm clock that also happens to play podcasts and can browse and check email when needed. I guess it fits in a lot of niches.
Find All References Within a Visual Studio Code Project Easily with Ripgrep
DFS+Fanduel+MLB+Picks+7/29/17:+DraftKings+Top+3+Pitchers
I wasn't speaking of Shanghai, my apologies if I wasn't clear in my post.
I have locked down their OS's with Unchecky, UAC to full, non-Admin accounts, all Win10 (love the forced updates).

Installed a PiHole to clear all their devices from malicious ads / malicious url's.

Seriously, since I installed PiHole my maintanance visits / calls have dropped by 90%.

They don't use a CC. Maybe once a year for flight tickets but I tell them to check the URL / https.

And I've told them 100 times: companies do not call you. They don't. Ignore calls!
At least on MacBook Pros, there is not a control key anywhere in the same pinky area as the caps lock key. A solid inch or two is quite a big deal.
It's peculiar how reports of sensible policy make me feel Portugal is adorned in rubies and roses. Here in the UK the Home Office recently said they have no plans to look at even the classification of cannabis. Despite most local police forces not bothering with anything but factories, a majority of population supporting legalisation/decriminalisation, and global trends. We are comparatively medieval but for a few smart initiatives. I have heard that Germany and Norway/Sweden also have some very similar attitudes: I blame Calvinism.

I could rant for hours on alcohol and tobacco policy in the UK. A little knowledge of the field of Harm Reduction opens a lot of avenues for criticism. Particularly increasing taxation, which extracts most from the working class and is effective in few use-cases. The UK isn't alone: look up the EU's May 2017 'Tobacco Product Directive' regarding E-cigs. Read: lobbying from groups that are responsible for millions of deaths and public cost are strangling and monopolising a market and technology that is an incredible source of harm reduction... I'm struggling to hold my tongue at this point.

We have a large problem with a political class who don't listen to reason or evidence, simply an innately conservative discourse makes the problem look smaller than it really is. It's fantastic to read a positive outlook on Portugal's policy - it has been smeared countless times here.
> I've been to Lisbon and was approached countless times on the street by shady individuals trying to sell drugs, usually mj/hash but also coke

They are mostly groups of gypsies selling fake drugs and sunglasses that will escalate to coercion if necessary/possible. Police is normally very permissive.
Louis Borgenicht: How to Do Meaningful Work That Matters
You are wrong: it is a big moral failing. Why is it impossible for Westerners not to use drugs, while the Japanese manage not to use it fairly well?

Should we set the bar for behaviour so low?

Even if drugs were legalized, the cost for treatment would be high (and presumably be bourne by the tax payer).
I just committed a potential fix[0]. Thank you for bringing this to our attention and please let us know if that takes care of the defect you were seeing!

Next time, if you want to be sure we read about your problems with OpenBSD, please use sendbug(8) and fill a report[1] or come talk to us on tech@.

[0] -- https://marc.info/?l=openbsd-cvs&m=150131738906455&w=2

[1] -- https://www.openbsd.org/report.html
Universal income as a replacement for all current Government social support functions is an idea that came out of libertarian-leaning ideology - it's a really, really good method of removing the Government's role in social support, and forcing people to take control of their own lives. Socialists support a universal income only so far as it doesn't massively affect various support functions the Government currently performs - i.e. they don't really support it, since that's untenable.

PoW and PoS blockchains follow libertarian ideology and fundamentally libertarian ideas of how the world should work - "no ability for the Government to see what you're doing and tax it" is pretty much the rallying cry of its proponents, or it was about three years ago when I was into it. (Oh, along with a healthy dose of "companies can do no wrong, and if they do, it's your fault".) The political goal is to remove the Government's (and therefore the banks') role in trade. Centralised "blockchains" as used by banks are irrelevant there, and shouldn't even use the same word.

Direct democracy is, unfortunately, something that heavily overlaps with libertarian ideology - again, it severely shrinks or removes the role of Government in political decision-making processes.
Serious safes are in the neighborhood of $5-10,000 and weigh 2-4,000+ lbs. proper concrete anchors are maybe $100 and another 1-2hrs of installation time. Thats a hard roi to beat.
I'm a long time vim user, but after a colleague showed me org-mode I installed emacs (with spacemacs).

Currently I only use it to edit org files, but it feels like there is a whole ecosystem waiting to be explored.
>> Czech Republics are, broadly, multicultural success stories

This is bullshit.
https://elixirforum.com/t/senior-software-engineer-new-relic...
> 1. Use only the beginning of the document, as that's probably the most important part anyways, and it's fast.

That seems to be a solution devised for news articles, as the standard news writing style involves providing answers to the Five Ws up front on the article.
Curious, what are the possible steps that you can take? Can this be a valid reason for firing someone?
Thanks for the link. This was a great read. Hope other countries follow this lead.
Lisp doesn't really have separate release/debug modes[1]. When you want to distribute a program as a binary, you dump the image and set a custom top-level function to use instead of the default REPL. The program will still contain the compiler/interpreter and can redefine everything just like during development (altough the program might not use or expose those features to the user). The REPL isn't in any way magical in Lisp; it's just the default option for interacting with the Lisp.

[1]: You can ask the Lisp to drop all debug information as an optimization, which makes development impractical, but still possible. Some implementation might allow you to distribute a program without the compiler, but the standard does not specify that.
My point would be that if Uber vanished Uber drivers wouldn't, and very rapidly they would be providing their services via alternatives. My feeling is that no one would lose if this happened, apart from Uber's investors.
Show HN: UI components for you and I – Farhad Ghayour
> Is there some way to normalize the document length?

A basic technique is to normalize each term within a document following the term frequency-inverse document frequency statistic.

https://en.wikipedia.org/wiki/Tf%E2%80%93idf
Shanghai has the lowest demand in all tier-1 cities in China. It is reflected in its relatively low prices/rent compared with Beijing and Shenzhen.

The yield is pretty much the same: each ￥10m RMB generating only 10-12k RMB rent per month (with properties that have fancy reno excluded).
A literal broken window fallacy example. Amazing.
EOS Development Sneak Peek for Very Early Developers
GnuBee Personal Cloud 1 – About to Ship
However you can still check the IP address of the mail server that sent the mail. Some things to look at:

1. Check PTR for IP and verify that the A or AAAA record for that name points back to the same IP.

2. Compare with IP address of server that sent previous mail to you.

3. Check SPF records for the domain.

4. Check MX records for the domain. Keep in mind that they might be using different servers for sending than for receiving though and that MX is for receiving.
Just released by Farhad Ghayour; #JSChannel 2017 Conference.
Do you have a good set of basic customisations that anyone using Emacs should do?
F1 airflows explained
Papercraft Fold up Tutorial video
Gradient descent can be made online. But it's very slow and suffers from catastrophic forgetting. Typical gradient descent needs to iterate over the dataset many times, while naive Bayes only needs one pass.
"classical liberalism" is close to the opposite of what most people think of liberalism. It arose in the 19th century and then was liberal in that it advocated the rule-of-law for all, low tarrifs and low taxes.

It has been termed "classical liberalism" since the late 19th century to distinguish it from social liberalism, which is what most people think of now whn they refer to "liberal".
Real estate investment is the new Swiss bank account. It's acceptable to take some losses every year, if it means you get to keep your hoard.
> As João Goulão, the architect of Portugal's decriminalization model, told Hari, "using drugs is only a symptom of some suffering, and we have to reach the reasons."

Not necessarily. Using (harder) drugs is no more an indication of mental health problems than using alcohol. Many people use drugs recreationally without becoming addicted.