skysight-inc/HackerNews huggingface dataset:
And I expected something which includes the subdomain part in the highlighting. Doing a little "TN-display dance" I see that Chrome highlights news.ycombinator.com, whereas Firefox only highlights ycombinator.com which kind of undermines my point (and seems slightly wrong to me, as this seems to be a certificate for the exact third level domain, not a wildcard under the second level).
Oh, you have the next big startup idea? Umm.. make sure if it is really that big
Whine, whine.
> Of course, this technique only works in dynamic languages.

Actually, pytest does that by rewriting the AST[0], basically it rewrites the `assert` statement into a more complex form which extracts all the info it needs upon failure. In a statically typed language, you could do that with a compilation hook and some codegen.

There used to be a "reinterpret" mode where it would walk the stack frame and try to understand the expression involved at runtime, that was removed in Pytest 3.0, now the choices are assert-rewriting and plain assert (without any introspection).

[0] http://pybites.blogspot.be/2011/07/behind-scenes-of-pytests-...
> The biggest hurdle with Golang and working on different unrelated projects that are in their own GIT repo. Golang forces you to have one single path were all the code should reside - GOPATH.

No one forces you to have one single path where your code should reside. It's just an environment variable, so you can have a GOPATH set per project if you wish. It could be your git root.

> Why not offer a config??

That's what they did, or what am I missing?
Yeah, you're missing out. :)

Print statement style debugging can (with effort) get a lot of stuff figured out.

But :), it's often fairly slow to go through that iteration cycle with non-trivial bugs, compared to using a debugger.

With a debugger, you start from the same place in your code you'd put your print statements. But instead of modifying the code to spit out values, the debugger will pass control of the running program to you. You can then go forwards through your program, seeing how the variable values change, which branches are taken, etc.

It'll get you to the same end result as the print statements, but faster.

Also, for complicated/hairy/weird bugs, being able to follow the actual execution can be enlightening which print statements don't really do.
Do they ever re-use screws?
Sure, and it should go hand in hand with appropriate image augmentation. Maybe make something like a GAN that would try to generate anti-obfuscation image augmentation for every new adversarial example...?

Our eyes can be fooled easily anyway.
> pytest is great, but a just a bit too much magic for me.

There isn't much magic there, just an import hook which rewrites the assertion during compilation.

> And I really don't like it when you pass a user defined failure message, you lose all this nice introspection.

Er… you don't, that's what the second snippet shows: if you have a custom assertion message, it just prints the message alongside everything else…
Elixir is just an AST transform for erlang/otp. I like erlang and there are features that I wish it had sometimes, but elixir couldn't be further from what I'd come up with if I decided to fix it myself. It takes all the bad parts of lisp, shoves them into a bad ast format, and crunches it all down to beam code. It's just a terrible implementation of a terrible idea.

I am actually moving components of my apps away from erlang to f# to shield it from the destruction of beam that elixir will bring about.

2/10
And what if people don't like the result? If the result will be that there is a biological difference between the sexes will people accept the result or just start calling google a sexist and bigoted company and then google will suffer? There is a Norwegian documentary about biological differences but that didn't change anything.
However, to take the analogy further, the aim of Musk isn't to put the other manufacturers out of business. He has openly stated that his aim is to increase the baseline of technology expectations. And WW2 most certainly did that.
Which Internet Registries Offer the Best Protection for Domain Owners?
Well, to whom? Legally, only the owner, and they're using it to create debt.
They would be most successful where population and sign density is high, which would be the cities. During such an attack, public transport could move around people while the authorities would take care of the attackers.

The problem for them is that where they would cause the most harm, rural areas (since they are in most dire need of supplies a few towns away and don't have any good alternatives to cars), is where such an attack would be the hardest to implement. Canada, Australia, Iceland and Alaska has many roads where vital street signs can be tens of miles apart from each other, as well any actual people who might be effected by this. Also, demographic movements is working to their disadvantage; more and more people everyday are moving to large cities.
Please outline the rights that were denied to him. The article that we are commenting about seems to have a completely deluded sense of what his rights are, but maybe we can start the discussion around his specific rights.

Contra the original article, a 23 year-old does not have a fundamental right to talk to mommy and daddy once arrested.

Law enforcement is under no obligation to arrest you as you arrive in country so that you can become a cause celebre to the conference you are about to attend. Neither are they under any obligation to tell you ahead of time that they plan to arrest you.

While the accused has rights, the friends, family, and casual acquaintances of the accused have none. Law enforcement must give Marcus' lawyer access to him, but need not tell random strangers where he is being detained. In the first day or so it is not at all uncommon for someone who has been arrested to be moved from the initial arrest point to a location in the jurisdiction of the indictment or from a local/county holding facility to a federal facility. What Marcus needs to do is shut his mouth, repeat "I am invoking my right to remain silent and wish to speak to my attorney", and NOT SAY ANYTHING.

Oh, he didn't get to communicate immediately with his co-defendant and make sure they have their stories straight? Yeah, major violation of his rights there...

I am not sure what fantasy-land the author of the original post lives in, but even someone with only a passing familiarity with the US legal system would know some of this. Yes, he will get to speak to his attorney and such access by his counsel must be allowed, but there are strict limits on how long he can be denied such access and he should expect the feds to go right up to that limit but not beyond. As someone who apparently has an appreciation for the grey areas in law and society, I am sure we will hear from Marcus how much he appreciates law enforcement taking advantage of the differences between MUST and SHOULD in the societal protocol docs that we call laws and legal precedent.
Coming from the banking industry, nobody looks at using unproven languages or frameworks unsupported by a large community or major vendor. If you "guess wrong" on a language you're looking at a multi-million dollar rewrite down the road which is an unacceptable risk. It's also very difficult to find staff or contractors who are familiar with new or unpopular tech.
Basically any industry that deals with "real money" or "life and death" intentionally does not follow developer fads.
Your false equivalency is showing
All my new server-side code is in Go (where all my old code was in Elixir) because I wanted something I could build locally and deploy easier. The deployment story for elixir is... substantially worse than ideal, for, seemingly, no reason at all. At the time I was writing the deployment scripts, not only was the hot-code-replacement not going to work, even AOT compiling to .beam files was broken, with multiple 3rd party tools not helping.
Things like this are the reason I don't think global warming will ever be a problem. Even if this example turns out to be a pipe dream, we will eventually figure out a way to lower the temperature or remove co2 from the atmosphere.
> BCash now has a "market cap" of about $3.7 billion dollars, probably a world record for a startup (open source project) that was literally released to the world a few days ago.

You made me giggle. Market cap is a measure already debatable for Bitcoin, but for a currency for which most of the holders aren't yet able to sell, it's completely meaningless. As a matter of fact I made already 150% return by shorting it. I plan to make even more as people are slowly able to unload their BCH.
The adversarial examples don't need to work from all distances and angles.

Many street signs especially in rural areas might have a pretty small visibility window and they will only be visible from a pretty fixed angle until you pass them.

So while you might not be able to develop an adversarial example that works for all signs from all distances and angles it wouldn't be hard to develop one for a specific sign.
The angle for that sign is known, the distance in which most cars could resolve the sign is also known, the average speed on the road can also be taken into account which gives you a rough idea of the time span the autonomous driver would have to identify and resolve the sign.

Heck if you know the algorithm it wouldn't be that hard to build an app that basically allows you to take a picture of the sign with your phone from the road, select a car or subset of cars you want to jam and it would generate a likely pattern to apply to the sign to jam those cars.

I should also add that in this case some of the examples that do seem to work look to be of the shape and size of common bumper stickers, this is pretty worrisome since these are not that uncommon on street signs, especially in rural areas where they are more or less at reachable heights.

I also wonder how well do these systems deal with graffiti.
You don't have to sell short, you can buy puts which give you far greater (not unlimited) upside than your capped downside.
A better way to make holograms
These "white hat" people are really amusing. They sell weapons to criminals and then sell the defense to the victims and then act all indignant when they get arrested.
Using the term "bcash" when talking about Bitcoin Cash makes you look like a fool or at the very least shows you are not a neutral source of information. That term is a misinformation gimmick invented by people who want to see the fork fail and are using it in order to confuse people about what Bitcoin Cash actually is. As other have pointed out Bcash is actually a fork of zcash and nothing to do with Bitcoin Cash.
Daquiri – logging for Python that works by default
So it's 2009-2010 and someone has $6000 laying around. Hears about Bitcoin and buys 100,000 shares at 6 cents each. Wakes up in 2017 and miraculously all is there, in the old computer. $6000 to $300,000,000 in 7 years.

Have we ever seen such appreciation in an investment /speculation?

Oh, it will crash, as soon as a 'better' cryptocurrency comes in. It has value for as long as people buy it.
In the US they can focus on just the interstates. And, they are unemployed, already used to long boring trips, and have established communication networks between them. Oh, and disenfranchised friends at the various rural truck stops and motels that will also be razed by self driving tech.
The Rise of Homeschooling Among Black Families
I don't see how those two are contradictory.
You have a database where people can say "I want to buy x amount item of type y for at most price z" and "I want to sell x' amount item of type y' for at least price z'". And if the database finds a match then a contract is made (doesn't necessarily mean that immediately money or product will change locations, just legal ownership changes).

For instance I say I want to buy 100 bananas for at most $500. You say you want to sell 50 bananas for at least $450. Then both our demands match and I buy 50 bananas from you for $450.

Since often there are different kind of offers from both sides not all can match and you have two lists of open buy and sell offers.

A practical detail is that if you either want to buy or sell right now you will of course create a counter offer to the corresponding top of the list of the other type and a trade happens immediately. I'm no expert but I think this is the most common kind of trade. It's a little like in a shop. You just take whatever the price tag says.

Smart people will also try to make offers close to the top of their list even if they don't want to buy immediately. But if they are too far away the trade may never happen and they pay the offer fee for nothing.

I think most of these trade platforms make money by fees. You make an offer, you pay a fee (probably a percentage of your offering price). And there's also a second kind of fee for trades that actually happened.

There are other kind of trades that basically simulate bets. And most of these terms have different names. Both of these things mostly are created to make it look more complicated and make you feel stupid.

The current price of bitcoin for instance is just the amount of $ per BTC that the last trade contained. In theory it's totally possible that the prices of two trades are totally far away, one selling BTC for $1, the other selling for $2million. But in reality due to market dynamics they often are close together and go up or down in steps.
The advent of AI-based search. I'm not sold on the siri/cortana et al conversational agent approach. AFAIK it's mostly UI/UX layered atop the "keyword->10 links" paradigm. Search is missing the key concept of iteration and exploration and (hopefully) someone somewhere is working on it.
> Taleb is correct to call out this cartoon as the politically correct nonsense that it is.

Agreed -- it's a bullshit attempt to re-write history.

> why, in the current day, history needs to be rewritten to be completely fictitious.

For example complaining the recent Dunkirk film has mostly white men in it... when that was true of the historical event it depicts.
I think we misunderstand each other. I'm not here to present arguments to convince you of anything as there seems to be the subtext of a conflict that I'm not interested in being a part of.

I merely summarized some of the many discussions that took place on a mailing list a few years ago. There are several pointers to notable posts in the wiki, and the archive contains all the source material.

If you or anyone else were also present in those discussions and wishes to analyze what was said and what could have been, I'll gladly take that discussion private. But I'm not interested in discussing the equivalent of whether the moon landing was staged.
Yes, I completely agree with you, but it's a feedback anyway, more data points to consider. I would be glad to hear the negative feedback even if in my mind I say that is BS*. Maybe there are points that I didn't consider before.
From up close, their aim is terrible.
True, but then your timing is even more crucial. You can be right about a coming crash, but if it happens after your put option expires, it won't do you any good...
Actually there are loads of reputable exchanges where you can sell BCH. The problem is that the networks is so slow and unreliable for now, that it takes ages to move your BCH to those exchanges.
What about quic?
Wonder if anything similar could have happened to the author of cURL had he not been denied boarding on a US flight - https://news.ycombinator.com/item?id=14643467
> Calling someone out for being racist [...] should be acceptable

If someone actually is racist. Not if someone is merely disagreeing with SJWs.
Would you consider Erlang to be a proven language?

http://www.erlang.org/about
I doubt everyone chomps at the bit on a Saturday morning (for most of them) to remind others on the internet that, yet again, there are no silver bullets.
Not really. :)

These are the Go .bashrc lines in my Linux dev desktop:

export GOPATH=${HOME}/go:${HOME}/git_repos
export GOBIN=${HOME}/git_repos/bin
export PATH=$PATH:/usr/local/go/bin:${HOME}/go/bin:${HOME}/git_repos/bin

Note the two different paths in GOPATH?

∙ $HOME/go is where "go get foo" puts stuff

∙ $HOME/git_repos is where stuff I'm developing goes (eg $HOME/git_repos/src/github.com/sqlitebrowser/dbhub.io)

The separation means I can backup stuff I'm working on, and exclude the general downloaded Go code from backups as that would just be a waste of space.

Most people do seem to use just one path in GOPATH though, and I remember also doing things that way when first starting out. Not sure why, maybe it's due to some incorrect assumptions given by the Go learning material commonly read when starting out?
> Don't go to the US.

Yup, or rather, try to stay within your own jurisdiction.

Right now, SHA2017 [1] is going on in The Netherlands. There's also the CCC, Chaos Computer Congress in Germany. Besides that, there's also a Camp called CCC every other few years. Someone from the UK could've stayed in the EU, but didn't.

[1] https://sha2017.org
The Productivity Secrets of Airbnb CEO Brian Chesky
> Bitcoin... is not going anywhere.

Exactly. Bitcoin needs only to survive to gain long-term credibility in the public's mind. I've been long since 2011. Here's what I wrote back then:

"If Bitcoin passes the harsh tests of crisis again and again, it will slowly gain credibility in the public’s mind, both as medium of exchange and store of value. Over a period of many years or even decades, as the world gradually learns via trial-and-error how to use Bitcoin, becomes familiar with its properties, and ultimately comes to trust it, nothing can prevent it from gaining as much credibility as, say, gold.

The world’s existing legal and regulatory regimes may not welcome Bitcoin at first – few governments are likely to take kindly to the emergence of a decentralized, anonymous, global currency beyond their control. Sooner or later, however, governments will adapt to the changing circumstances, as they always do. I would expect governmental acceptance of Bitcoin to occur initially in less developed countries, as many of them are already used to having their fortunes tied to a global currency beyond their control: the US dollar.

If I am right, in the long run, as man-made crises of all kinds erupt all over the planet from time to time, global adoption of Bitcoin should gradually expand from niche markets to the broader population. Ultimately, global adoption for Bitcoin should be enormous."[0]

[0] https://cs702.wordpress.com/2011/05/29/on-the-potential-adop...
A guilt and redemption system focuses almost exclusively on the transgressions of the accused for the well being of society. An ethical system takes into account the well-being of everybody including the accused.
Devs on HN are a very small subset of the developer population.
What is elixir doing that's so bad to .beam format?
> So it's not a neglected problem - some of the top minds are on it.

That's why I believe it will be fixed. It is the "it's not a problem" crowd that I take issue with, and I would be surprised if many of the top researchers held that position, unless they are confident that they are close to a solution.

I think you are under-generalizing here. The risk here is not of a sign being mistaken for a gorilla specifically, or even about signs specifically, but the fragility of image recognition in general. Similarly, because the issue is not (just) about adversarial images, the fragility of adversarial images is not much of a mitigating factor.
Google Pixel 2 rumoured to drop the headphone jack
"there are strict limits on how long he can be denied such access and he should expect the feds to go right up to that limit but not beyond"

I disagree, the limits are minimum standards, not what we should expect.
Yes, it does, the problem is, the basic setup isn't converging to solution so nothing to plot, which is unusual and probably means I choose wrong boundary conditions or something.
Developer creates alpha /pet project for fun and learning and HN commenters complain it doesn’t do enough... sheesh.
Bitcoin Cash is only a few days old. It is going to take some time for the market to find it's true price. That will take more and more exchanges supporting it so that markets function more smoothly. In the meant time it would be expected that there are wild price fluctuations and differences in price globally.
Not all devs read HN. Based on conversations I've had with devs I've worked with, I doubt it's even close to a majority.
It's also worth noting that, VocaLink, one of the well-known payment systems company do use Erlang for their products. I have also seen that Visa/Mastercard has been looking for Erlang developers as well.
Considering this is "Ask HN" the question is for people reading HN no :)?
I would even argue that you have a point here. But the example is one where centralization through exchanges is the actual problem, not decentralization. Maybe find another example?
With the constant stream of negativity surrounding blockchain coins it's a wonder that anybody chooses to use them as an investment vehicle. There are so many parallels to penny stock trading in the 80's that it's uncanny.
I'm curious - if you actually had $300m worth of bitcoin and started selling it, would you be able to actually sell everything off for that price before the price started dropping like crazy? Would whatever exchange you're using even be able to wire $300m USD to your bank account after the sale just like that?
I always understood that Bitcoin have appealed to the Ayn Rand followers. But what Ayn Rand have advocated for is selfishness and not a society. You can dress that as "be responsible for our selves" but in this case, much as with a lot of cases, spreading out the cost of building and operating a secure system across many people have proven to work much better than individuals doing the same.
Bypass+FRP+apk+Download+Free+2017+For+All+Android+Version
Thank you, that was very illuminating.
At the heart of it Shkreli was robbing Peter to pay Paul.

He took some of Retrophin investors profits and used it to pay back his investors in MSMB. Those profits should have gone to Retrophin investors.

From the perspective of the hedge fund, this is a pretty bad spot to be in. Retrophin investors will be looking to be made whole for the money Shkreli gave to MSMB investors.

I would imagine that this is how Ponzi schemes start.
It was ~$2000 per sale, not total amount of sales worth $2000.

I also question if the conversion of BTC worth was based on what it was worth back when the alleged crime was committed.
Do you mean traditional lecture performed poorly?
I have observed very similar behavior on Kraken. I cannot say if it's as significant as "Spoofy", but there's definitely some algo placing and canceling orders in direct response to legitimate limit orders.
What makes you say that it should be trivial to measure performance?
Erlang != Elixir. They run on the same VM, and you can reference Erlang code in Elixir but that doesn't make them equally production ready.
But Erlang and Elixir are not the same thing. Erlang is proven in a major way thanks to telecom industry. That they both use the same VM is not enough.
It's the Wild West, which admittedly does look pretty fun at times. Interesting at the least. But I can't believe anyone really thinks that any day now, normal people are going to start using this currency.
... except Clojure is used by prominent banks and it's all those things.
The road environment is designed for people to see and understand. Without a human-emulating "general AI", it's unlikely that every sign and surface marking out there will be legible to a machine. IMO, the whole premise of training these machines to see roads like a human is flawed. Their developers should be working with government agencies (like the FHWA in the US) to create new standards that are aware of the capabilities of the machine.
I have been looking for something that combines this and something for Cordova like m$ codepush all in one any ideas?