skysight-inc/HackerNews huggingface dataset:
Using it for (other people's) pain management, I don't really care about how "nice" the high is (and I don't have any experience with it personally).

The main reason I like fentanyl is that it peaks much earlier than morphine. The most common reason I administer opioids is due to a musculoskeletal injury of some sort. Often those patients would experience a significant amount of pain while being moved and loaded into the ambulance. Fentanyl acts quickly enough that it's worth it to administer it before starting to move them. With morphine that's just a waste of time. Better to get them moved and then medicate them on the way to the hospital.
You can get very good improvements over Spark too. I've been using GNU Parallel + redis + Cython workers to calculate distance pairs for a disambiguation problem. But then again, if it fits into a few X1 instances, it's not big data!
Based on these features you might like Migo (https://www.getmigo.com/). Not affiliated with them in any way, just a user of the app.

Cool Show HN though! Can now check scooter locations in the browser, as well as on mobile.
Show HN: Alpaca Trading API Now Available on Mashape
Why Do Americans Stay When Their Town Has No Future?
That was enlightening. I didn't know the US merchants were so involved in the Chinese opium "trade." That is in quotes because China had banned the opium and these people were bribing Chinese officials and smuggling the drugs ashore. From the article: "they use boats manned by dozens of rowers to speed past inspectors, sneak up the coast, and deliver opium beyond the official port".

They were essentially the drug cartels of the 1800's. The article goes on to say how this drug money extracted from China was used to kick start the US's industrial revolution, and still funds universities and hospitals with grants from these fortunes. But I'm not sure I see any difference between the actions of those Americans then and the drug lords now.
> part of me thinks I might be scared of success ( or scared of surpassing my parents )(media attention), part of me fears the attacks that might come with success ( having something to lose )

Beware of those expectations, after the initial press fades out (a week or two in), you're going to have close to 0 users and 0 revenue. Launching is just the first step, you'll be successful when you can grow your user base.

You're likely not going to feel successful at that point, probably the opposite: "I spent 2 years working on this and no one is using it".
Wait, you think it is ludicrous to take how the enforcers behave with current privacy regulations as a rough guide to gow they will treat enforcement of future regulation? Perish the thought.
Even if they are realistic for some agencies now, they’re not guaranteed to be for all agencies forever.

But what irritates me a lot more is the many GDPR fans here who not just disagree with this assessment but accuse the other side of ill intent.

It’s disgusting to call people evil and shady because they are uncomfortable with relying on the voluntary goodwill of some faceless overseas bureaucrat that they did not elect and who has been given the power of life and death over one’s livelihood. 99% of people here who have concerns don’t want to violate user privacy, but this law is so shitty that they don’t even know how to comply. And every single thread is packed with people exclaiming that it’s so obvious and easy, while all spouting totally different and contradictory advice. What a shitshow.
That assumes a lot of trust in OEM providers, and there would be a lot of incentive to compromise the key.
Foursquare, Tinder, and dating
>For receiving something in the mail legally, reselling it legally, and nothing else?

I'm not sure why you would think that selling a schedule II controlled substance is "legal", just because the asshats selling it say they did "extensive research" on the law.
Sexual gratification is one of our most primal urges. Makes sense that it would be a driving factor in this, despite the strong taboo in some cultures.
TLDR; for the question in title:

I treated it as a programming riddle (or a series of riddles), quite similar to those you can find on the Project Euler.
Why on earth would a Chinese court consider GDPR? GDPR is a EU thing.

If you want to do business with the EU then GDPR will probably apply in some way but not for say US to China relations.

However the GDPR is a damn fine set of standards to live up to - bear in mind that you personally are a person. Would you not want your rights as an individual protected in the same way. Go on ... live a little (and be decent).

GDPR may be what everyone needs.
I don't see where the competitive advantage you mention lies?

Well, if you can't perform ML on data about the population that is most accessible to you, you are at a competitive disadvantage to those who can. I can't think of many EU companies that control large amounts of data on US citizens. Though I'm sure they exist, there are many more US companies that would have larger volumes of data on US citizens.
Wondering why this guy put corners in a civ game to begin with.

/r/civbattleroyale is generally a lot more interesting given a lot of civs are selected specifically to try to play to their terrain strengths.
Whoa, elixir is not even remotely widely used. Again, strong signs on HN-itis.

A few silicon valley corps experiment with it, maybe a couple major players have a service built with it. But in terms of actual mind share in the webdev sphere, it's a tip of the tip of the iceberg.

I already mentioned that beam is cool. I'm not making a point that beam can't be made to do things, only that it isn't suitable for some other things. In the sense of sending bytes from one place to another and having mechanisms for recovering from faults in a network where that communication is happening, erlang is good. But in dealing with complex page requests, structured data from json or webpages or user input or third party apis, it's not a good tool. A modern web developer is thinking about scalability, interopability with tools written in potentially dozens of different languages or variants of js, etc.

Elixir is cashing in on disgruntled shops frustrated with ruby but too incompetent to do scala/f#/clojure or potentially they were misled by uninformed hackers reading too much HN about how wonderful elixir is. They are going to find that while there are benefits to using a telephony system with decades of work out into it, they are inheriting decades of cruft as well. A luxury with ruby was that the past few years practically abandoned all sects of usage other than rails, so while performance was lacking, ergonomics were excellent and developer availability was unmatched even by today's standards where js is ubiquitous. You ever tried to use dialyzer for an app where the source lives on forty different machines? It's not fun. You ever had an actor that just randomly fails every now and then? You hunt and hunt, and in the end, locking it to a certain machine makes it go away and you realize that a machine somewhere else is causing good code to fail... Randomly.

BEAM for the web is a ticking time bomb.

I may seem bitter, but believe me, I'm not. In infosec, developer stupidity pays my bills. I used to think that I could do my job so well that someday stupid devs would all become defensive coders. But I've become a bit jaded, I suppose.

Btw,
There is no such thing as erlang vm. The beam vm is the product, erlang composes otp, which generates beam byte code. At least, not an official one. Maybe there is one somewhere.

I meant what he knew
What has no justification is throwing away 90% of the nutrients just so the rest becomes "steak". Other than that, GMOs still increase yield, allowing for less pesticide, water and land use.
can you explain this in better words: "then it would always make sense to rent 51% of the capacity at market rates, earn the transaction fees, and also perform a double-spending attack."
Yes. It’s absolutely ludicrous for me to say “ah, some random people on the internet say the EU regulators in their country have been fine, so I’ll be A-OK with dozens of countries all assuming vague and unchecked power over my business in perpetuity.”

I didn’t elect these governments, I don’t know them or trust them, and I don’t know or trust you either.

I don’t trust unaccountable power as a general rule.
Hi HN! Alpaca is a modern platform for algorithmic trading & automated investment strategies. Alpaca's API is the interface for your trading algo to communicate with Alpaca's brokerage service (SEC registered and a FINRA member).

The API allows your algorithms to access real-time price, fundamentals, place orders and manage your portfolio, in either REST (pull) or streaming (push) style.

In order to start trading with Alpaca API, please sign up here to firstly get on the waitlist. We are currently in the private beta. https://alpaca.markets/

Once you have signed up and have familiarized yourself with our API, please check out our python client to begin writing your own algos!
The difference is that before, they had to click accept in order to receive whatever service they were trying to obtain. Now they don't. Also, the sheer number of consent dialogs they will encounter will rise exponentially.
You know, I completely misapprehended your original query. No, it is fine that GvR called it "lambda". Had he called it experfn we would all translate mentally to "lambda" anyway. I am just sorry Mr. Norvig considers it equivalent to Lisp's, or does not consider it essential to Lispy-ness.
awk is so beautiful. A good awk one-liner can beat fancy pandas all day long in some cases.
What's your hardware setup for “coding interview” phone calls?
People don't usually have landline/desk phones at home, and you can't really hold your phone next to your shoulder for an hour, so what's the best way to talk on the phone while you type?

Headset? Speakerphone mode? Wear headphones, but put your phone down on the desk?
I have been downvoted for both reasons on HN. I don't feel bad about it at all I think its funny.
> what to do with capital improvements to it.

capital improvements are not taxed in an LVT scheme. That's the L in LVT.
There is a required shift in mentality that you are due.

Its like when you're in love, at first you can survive on romance, but to survive a marriage, there is a necessary shift into the long term mentality.

You've romanced your way to a product, but haven't considered the long term of it yet. In the future, it would help to have some long term thinking earlier on, so you can plan for various things and not have a step-function-like inflection point in your expectations.
if multiple accounts send multiple small payments (controlled by the same guy), then the exchange wont wait as long for the confirmations.
Are you conflating real estate with improvements?
cut solved your problem. Let's talk about why.

cut is line oriented, like most Unix style filters. It needs to keep only one line in memory at most.

If you say:

pd.read_csv(f)[[x,y,z]]

It has to read and parse the entire 28GB into memory (because it is not lazily evaluated; cf Julia).

If you actually need to operate on three columns in memory and discard the rest, you should:

pd.read_csv(f, usecols=[x,y,z])

Then you get exactly what you need, and avoid swapping.

The lack of lazy evaluation does inhibit composition--just look at the myriad options in read_csv(), some of which are only there to enable eager evaluation to remain efficient.
Well you will be happy to know that you can get third party utilities to manage window snapping in Windows too.
Loyalty != preference. I bet parent – like me – has a preference for the better scooters and software (Bird) over the shitty ones (Lime), but he’ll grab a Lime if no Bird is nearby.
I am the exact opposite of someone with hsam. I forget things constantly, and often have to fake my way through conversations like "do you remember when we..". I feel like I'm a totally different person from who I was 10 years ago, because I remember almost nothing from that time. I try not to get into arguments because I just have to take the other person's word that events happened like they said.
Not sure why you're getting down voted was about to post something along the same lines (though admittedly linking to a couple of threads, not just the search). But I don't think everyone on hn would be aware of the d forums (nor that it's a rather magnificent piece of "groupware" with usenet and irc support on top of (or should I say beneath) a quick Web interface.

https://github.com/CyberShadow/DFeed
Although I was surprised that the civ in bottom left didn't prevail. They seemed to be able to expand first.
This is a really useful article. What I really want is Java-minus-Oracle, and it sounded from some of the chatter around Kotlin like it might be that, but it seems what I really want is Groovy.
Could you please expand more
It does not, or at least I haven't found it in the past four years of using OSX for all of my professional development.

It has multiple desktop spaces, fullscreen mode, and "expose". It used to be that clicking the green dot on a window expanded it in developer-defined ways that were often unpredictable, but that got replaced with fullscreen mode.
Netflix surpasses Comcast in market value
Everything is deselected IF you click the "show purposes" button. If you visit the page and click what appears to be the only option, "I agree", then you're opted-in for everything.

Why doesn't the page have two equal size buttons, "I agree" and "I disagree"? We all know why. It's about intentionally misleading users into agreeing. This isn't fine, and it defeats the entire purpose of these regulations.
A huge point in favor of macOS is the quality of its ecosystem.

I only noticed this a couple of years ago when I tried to switch to Windows. When trying to find replacements for apps I use daily either there was nothing that had the functionality I wanted or what I found was just terrible. I found tons of win32 crap, or apps that didn't support scaling properly. Even software from Adobe...

Some examples: Alfred, iStatMenus, Karabiner, BetterTouchTool, etc.

After a couple of days and a buggy experience with a Surface Book 1 I returned it and bought a MBP.
I had an issue about the problems:
https://github.com/open-watcom/open-watcom-v2/issues/271
..and I document my code very well..
Bash-5.0-alpha available
It probably cost a few billion dollars to build all those banks globally. It costs a few hundred million to maintain all those banks and vaults. However, these banks and vaults can handle more than 2000x the transactions of Bitcoin in a single day (Visa on its own is 750x the capacity of Bitcoin, and Mastercard handles about twice the number of transactions as Visa), so Bitcoin would need to be at least 1/2000th the price to build and maintain the network to maintain a comparative economic advantage against just those two companies. Including the entire financial system, Bitcoin would need to be somewhere in the neighborhood of 20,000x cheaper and more efficient.

And since we're taking into account all of the underlying systemic costs going into banks, we need to do the same for Bitcoin. That means including all of the power utilities, factories, and mining facilities that went into making the hardware, plus the cost of shipping the hardware worldwide, plus the cost of the utilities and transmission lines needed to operate the network. And that's clearly not 1/20,000th the cost or resource usage of our current financial system.
I wouldn't call it "work". I was a moderator on a couple mid profile (<400,000 subs) subreddits until last year. The same team more or less ran the lot and all the subs were in a niche I really enjoyed.

For the most part, toolbox (r/toolbox) and RES were everything I needed. The redesigned modmail was a nice (but bright) update too.

In the end, I had my fun, a LOT of fun, but it started to grow boring.

I think what makes Reddit great is the small subs, especially now that defaults have been done away with, and the best / popular feeds are more commonplace.

The tools people talk about needing are truly for the massive, massive, subs like r/science, but I genuinely don't know how much longer those megasubs will continue to dominate for. Every change puts more eyeballs in the hands of mid size subs, and that's great.

I suppose my experience is not the same as those of megasubs, but hopefully my thoughts spark some interesting discussion, because I really do enjoy reddit.

Feel free to... AMA ;)
in addition to the miners, you also have to trust a largely centralized group of software authors who make the key decisions.
I am talking about the Split View mode described at https://support.apple.com/en-in/HT204948
My observation as someone that was a young child before smartphones, e-readers, the internet or even the Apple 1 is that parents didn't pay anymore attention to their kids then. They just had different distractions.

But that is just my anecdotal evidence just like the article is just anecdotal. Give me some real research showing parents are giving children less attention and to a degree that it is negatively impacting them and I'll care.
We don't live in the 13th Century anymore, and we don't live under a monarch anymore. Laws that make sense in the monarchy frontier don't make sense in a crowded finite space.

It seems you have no idea what unintended consequences you're preserving by staying beholden to an ancient status quo.
That's what everybody else uses. If you want to write edgy, hip and modern documentation you need to use words that other people don't. "Touch" implies a friendly, approachable and non-threatening user interface. It lets your boss know that you're all-in with this edgy new Unix UI stuff.

tl;dr: It's marketing bullshit.

The UI on the 3B1 was definitely nothing to write home about . . .
Top miners can short twice as many BTC futures to create one last profitable destruction.
It is horribly written.

>gaming has come to privilege haves over the have-nots

Extrapolated, I take it to mean: People with money to spend now have an advantage over poor people when it comes to video gaming

Even then, it's unclear what this means. An advantage acquiring games to play because it's more expensive to get into? In success within the games themselves? Something only rich people have the time to engage in?
Wait, the fungi from Yuggoth are doing app development now?
Seeing as how Paradex isn't the most popular DEX and Coinbase's ties to 0x, I don't think this is an acquihire. This looks like they are actually going to use Paradex as a relayer.
Maybe a bit meta for HN.
They have also never had the power to collect from any but the largest of companies outside their own borders. Now they are at least claiming that they do have this power. That sets a dangerous precedent and opens up the floodgates of abuse, because they don't have to deal with the PR or economic damage that the fines they assess internationally will cause - they import the money and export the problems. They simply see a massive inflow of money and get to hobble foreign competitors of local companies. It's a protectionist law, with the added bonus of extreme financial incentives for aggressive enforcement.
Developers have to have an OS to work from, no matter how much end-user usage shifts to mobile. Otherwise there would be no apps for those other platforms.

Apple may well get out of the developer game, which seems like a dumb idea given their market share, but I'm neither a finance expert nor an Apple executive, so maybe that's just how the numbers play out.

Microsoft is making a decent-sized push in this space lately, with the Linux subsystem, Visual Studio Code, etc. So I would guess they'll end up taking Apple's market share, which is a bit of a shame as far as I'm concerned.
So much energy from the brightest minds of our age dedicated to getting something for nothing. I'm outa here.
No it would not. Finding a BTC double spend attack vector would be like finding a 0-day: good and maybe even profitable up until fixed, which would take hours, days at most. Have 0-days destroyed Microsoft, Android, Firefox, Electron or Chrome?
Are you on iOS or Android? I find these tools for iOS are more limited. Maybe I'm missing something?
How the Posterior Parietal Cortex Makes Meaning Out of What We Sense
You won't really be able to process tx that low, you'll need to pay a tx fee proprtionate to the number of bytes. 1 satoshi per byte is a good rule of thumb for a very cheap tx. It takes more than 1 byte to describe one satoshi, so you can't get your tx to propagate.
I think the inefficiency of state controlled transit is worth discussing, but I think these examples are a bit cherrypicked and don't necessarily support claims like "[the private sector] would do a far, far superior job by comparison to the state." Unregulated private sector investing destroyed the traincar transit systems in the United States, and helped set a general national attitude towards cars vs transit that is not present in countries like Argentina. There are only a few privatized subways in the world, in Japan. Your argument waves away many of the realities of building and maintaining subterranean rail transit in a profitable private company. "If the private sector could do it" is a question staked on more than just government regulation.

Actually, in Argentina the use of long distance rail for mass passenger transit is increasing for the first time in years after the systems were nationalized.

Feel free to disregard what I've written if I, too, have accepted the liberal mantra. Issuing such a diagnosis poisons the discussion into an argument unnecessarily and suggests you're chanting a mantra of your own. Some of your examples are wildly picked and distant from the subject at hand, or downright confusing: What nationalized "telcos" in the UK are we comparing notes with? Can we use the highly regulated Korean ISP market as a substitute? Does it really support this point to crow that the US healthcare system is superior to socialized alternatives in European countries?
> If not, Google is coming down the road with Fuschia.

I'm also hoping Fuchsia will save us.
This would probably lead to a huge increase in transactions, and PoW mining as of now will not to be able to process tranactions fast enough and the coin ends up clogged and unusable.
There are silver linings to the total fabrication of images and audio, whose veracity and presumed authenticity due to the threshold for forgery is perhaps only 100 years old, and soon to disappear.

One, people will be less swayed by emotionally charged imagery, and that's a good thing. That means less #FOMO and less rage at the perception that everyone is having fun but you. People can feel normal, just being normal again, because the understanding that any and also photography, video or audio can be fabricated.

Two, media is manipulative regardless of who holds the keys to the castle, as most trusted information source. It's not a conflict of fake versus real. It's a conflict of one group of large personalities versus another set of polarizing characters, and external players fanning the flames. That one group can shout down another isn't great, because even if there is One True Narrative neither side presents it to us, and most of the smarter folks among us are already aware of this, and digest all information under such a context implicitly.