skysight-inc/HackerNews huggingface dataset:
I'm sitting at an HFT here, coding.

This zipline thing is quite interesting if you're new, but if you can code, I'm not sure what the advantage is. The idea of a backtest is quite simple, and you can easily fire up something like pandas to do it for you. The equity line is simply your positions x returns, minus costs. To determine your positions, you have to make sure you aren't looking at future prices, but apart from that you are flexible in doing whatever you like.

And this was a question for me. Suppose I want to code a cross-sectional strategy. How would I do that in zipline? It seems to be the kind of thing that gives you one backtest for one time series. Perhaps I just haven't looked into it enough. When we backtest, often we want to do things across the ensemble. We also take positions in a whole universe of instruments, so the backtest needs to be a matrix, rather than just one column.

Incidentally, the example strategy will work quite well for retail traders. You can add a bunch of futures together and get a sharpe well over 1, basically what every CTA does but won't admit to. If you're wondering what all those PhDs do all day, it's adding capacity and researching minor improvements on that MA strategy. A colleague of mine worked at one of these brand names, and another friend owns one.

So, does that mean anyone can simply do this? Well, yes. But you'd have a lot of leg work to do, and you might get discouraged before you start. You need an account from someone like Interactive Brokers. You need a fair bit of money, or you'll have increment problems trading the large contracts. And you'll have to set up all the data feeds and look at it each day.
Growth hormones have been banned in the Netherlands since 1961 and usage wasn't widespread beforehand.
Well, apparently "many people" don't have a basic understanding of biology. The pasteurization process kills all but the thermophilic bacteria which is why you need to culture pasteurized milk. Only one of the two bacteria needed to make yogurt can withstand the process and the rest of the survivors are incapable of out competing our immune system because they are adapted to an entirely different environment. It doesn't matter how many cows produced a batch of milk as long as the temperature is high enough to kill the non-thermophilic microbes. When it comes to food poisoning and regulated dairy products, the vast majority of contaminations are from the bacteria Staphylococcus aureus, which is so common it can be found on the skin of almost any human being and is easily transfered after pasteurization. A staph infection is peanuts compared to the "ultra-bad" bacteria like Clostridium botulinum which produces a toxin that is fatal at a concentration on the order of nanograms of toxin per kilogram of body mass (and it certainly can't survive the high temperatures of pasteurization).

Raw milk isn't actually banned in most of the developed world. The EU, for example, has non-binding rules that allow vendors to sell raw milk as long as it is done at a small scale, like your case, where the animals are tested often and the scale of the operation doesn't endanger the health of the average consumer. In most EU countries you can "time share" or own a cow that provides raw milk for your household but you can't openly sell it at a supermarket. Countries like France, where raw milk is culturally preferred (something like 20% of cheeses in France are made from raw milk), have a much much higher incidence of food poisoning from dairy than any of the countries where milk is always pasteurized.

I love raw milk and miss it dearly since I moved to the United States but there is nearly a century of evidence that raw milk at commercial scale is an unacceptable risk to public health. So much so that there isn't a single country in the developed world that doesn't strictly regulate raw milk products and all of them do so for public safety reasons.
By weighting how much a node's children change (or are passed over) you could also make the branches sway.

Perhaps thicken or colour each section based upon age.

Add 'fruit' in the form of words or images, based upon the content of the leaf nodes.
Why worry about that at all? If it can deliver within 30 minutes why not just tell Amazon when you're gonna be home?
Do you make phone calls?
Or alternatively U2F, which uses a dongle and is phishing-proof.
I'd consider it a failure if all Apple added was a better entertainment system. It's nice (possibly) and it seems to fit with the rest of Apple's products, but it'd fail to get to the core of the whole "car" concept.
The best thing is if you keep a butterfly net handy, you get a free drone with every delivery.
Here is the gist of the explanation from the article: And there aren’t any rules against casting away const to modify an object that isn’t itself const. This means the above (mis)behavior of foo isn’t undefined behavior for this call. Notice how the undefined-ness of foo depends on how it was called.

Wtf? This seems like a huge potential optimization gain missed. Surely by know it can't just be enabled because a lot of code would be written with the assumption above, I'm just curious for the rationale of this model. I don't understand the reasoning at all, why would you ever want to cast from a const to non const and have the behaviour depend on the type I pass to the function? Let's assume the signature of foo was faulty definied as const but still modifies x inside (faulty definined signatures for API compatibility seems to be the whole reason for allowing you to cast away const) and I pass int x, the the behaviour is definied but if I pass a const int x the behaviour is undefined?!? Clearly this is the fault of the person writing the foo function but how does that help me writing the bar function, I am not expected to know the whole call stack of foo, that's what the signature is for, I must be able to trust it's const correctness and that should not depend on what I pass into it.

If the optimization was always disabled I could understand the reasoning but now you get some kind of half assed middle ground where you as a caller must guarantee the actions of a callee.
Or someone is making sure to look like their are doing some work. I have seen plenty of managers, that are nothing more than a human layer between the CEO/CTO and the engineers.
Always Focus on Front End Instead of Back End for an MVP
I'd like to see you back that one up with proof :). My doctor told me a vitamin D deficiency is not problematic in Caucasian Europeans.
I banished misery from my life sometime in my early twenties.

Could you please elaborate? I don't mean any personal details but maybe which methods or books etc helped you achieve that?
Does Race Exist?
I tried maybe times. Every system I put into place quickly bores me to death, it kills my creativity and my brain then tries really hard to escape from it. Anyone else in that situation?

The only trick that really stuck to me is to write down on a piece of paper where I'm at during a context switch. That really helps to pick it up again faster afterwards.
Does WhatsApp have any kind of API for sending messages to their users?
They released Tinder for Investors
5 Books Every Digital Marketer Should Read This Summer
Interesting tidbit: when asked what's for dinner, the answer in the Netherlands usually only mentions the type of vegetables, even though meat is generally also part of the meal. The stereotypical Dutch dinner (the only warm meal of the day) consists of (cooked) potatoes, vegetables, and meat. (On Sundays, the warm meal moves to a delayed lunch time; the evening meal then is bread again. Social/regional variations possible, of course. Again, this is stereotypical of when I grew up in the '70s/'80s. We also ate pasta, rice, Chinese, and other stuff, don't worry.)
If there's a 1kg box at a shop within 5-10 miles of me, why should the delivery of that require a real human to take a one ton box of metal all the way here through the middle of a busy town?

> unwanted noise and danger

I'd be interested in knowing the noise, danger and pollution that comes from regular (or rush) deliveries.
It means your domain is alien to mine, and I can't tell you what is or isn't appropriate.

For me programming is about automating some business process or at least something you already know how to do, so it's a case of: 1) transcribe the doing into plain code 2) factor out patterns/redundancy in the code. (In practice this is interleaved, and 2) results in building up a language for expressing the domain in code which in turn simplifies 1) - indeed, when adding new functionality it's often a case of first transforming the current code into a representation that makes the new functionality simple). 2) is where the vast majority of the work lies and what takes up the time. Just as good writing is good editing, good coding is good refactoring. At least in my domain.
Phones used to do one thing really well: phone calls. The iphone was the first smartphone where other uses like web browsing were plausible, and now phones are barely used for calls at all.

Cars do one thing really well: driving. What, exactly, is the new form of use of cars that an Apple car can open up? What are you going to use your car for that isn't getting from point A to point B?
I agree that it's not pointless, but I have to disagree with your second claim. Could you provide a reference for your assertion?

The science I have read on this indicates the opposite:
"Increased skin pigment reduces the capacity of skin to synthesise vitamin D3" http://www.sciencedirect.com/science/article/pii/S0140673682...
A "pilot"? What?

I am 99.999999% certain Amazon intends for them to be completely autonomous.
Basically you have a call-only phone. Supposing you're making calls you're taking advantage of everybody else not following your policy. Doesn't feel it strange not to reciprocate?
I would love to use Mutter for writing a window manager. The compositing features it exposes is fantastic. My main problem is how many hooks (claws) it has in GNOME. I haven't looked at it for a long time, but does anyone know how realistic it would be to try to fork Mutter to work without GNOME (and all the associated systemd, etc stuff)?
For non prime packages, I live in Italy and a lot of stuff on Amazon catalogue is generally not available for next day delivery (which I use to time deliveries when I know the next day I work from home).

In Italy the express couriers are not allowed to leave stuff in your front yard, and it's generally not possible to schedule the first delivery attempt.
Nice!

note: I haven't filed it as bug yet, as I am unsure about the reason yet. But when I user data-username="gbraad" I do not see the correct Top repositories. At the top should have been 'gauth' (with 582 stars). When using the widget I see `blog` (with 7 stars). Might be because pinned repositories has been customized?
The role of environmental factors is much larger, just about everyone I know here in NL is taller than their parents.
Please be honest about your involvement with a submitted product
The Gucci wife and the hitman: fashion's darkest tale
Dollar Shave Club: How Michael Dubin Created a Massively Successful Company
But that truck can deliver hundreds of those boxes at a time. So it's one truck versus a huge swarm of drones. (Some of which may drop that 1kg box on someone's head.)

Difficult to imagine a case for this delivery method other than pure instant gratification.
Interesting, thanks for the info. Living in 'the regions' in the UK I wasn't aware of those London services.

It does illustrate why in my experience non-Prime customers are drifting away from Amazon, though. They're sharpening their localised and top-tier delivery experience whilst seemingly letting 'ordinary' orders languish. Whereas I can go to another retailer, or straight to the manufacturer, and have my order on my carpet before Amazon even put it in a delivery lorry.
I don't think letting a stranger enter your building / yard is less of a privacy / danger / noise concern.

As for: "non-critical stuff" - is that really up to you decide for others what's critical for them or not?
If they're willing to pay extra for drone delivery, it's critical enough for them.

Also - as far privacy goes:
"The company also claims it's working on ways to make the machines quieter and it says they won't have cameras on, just sensors."
I found a good way to curb crunch is to pay extra for it: Every mandated hour that exceeds the regular work time gets paid 25% - 50% on top, preferably in time off (that is for 8 hours extra a week you get 10-12 hours off the next). This allows for crunch time when needed but provides a strong financial incentive to avoid it. A lot of things suddenly drop in priority from "absolutely crucial" to "can be done next week" when you respond with "I hear you, are you willing to pay a 50% premium for that?".

Also offering help with child-care makes things easier for employees with families. Those are solvable problems if crunch-time is limited to short stints and if both sides are willing to work together.
Permanent backup codes are a thing. You can generate those at any time. It's a UX problem, not a technical one.
I dunno. Just give me plain sliced bread with a slice of aged cheese (preferably "farmer's" cheese, i.e., unpasteurized), and I'm happy. No work of art needed.

I don't like fresh mint tea myself, but nowadays you can indeed get it literally anywhere drinks are sold.
Not at all ridiculous. You need to work harder if you're actually trying to troll people--I'll assume you are not, however.

1) Most modern societies are becoming increasingly secular.

2) Global warming demands that we get off of petroleum as much as possible anyway.

3) Not poking our nose into geopolitical nightmares is quite doable, thanks. Bush Sr. sure showed how it was done.

4) You can fix massive unemployment or you can get violence out of young men. This is pretty simple cause/effect. If young men have no prospects, they never settle down and you wind up with a large disgruntled population segment with nothing to lose.

5) Mental health care needs to be better. Period. This includes the young and the old.
Whether it is worth stealing depends on several factors:

- is it worth it?

- will I get caught?

- am I a robber?

Stealing from the front of your house does not happen because most people are not robbers, and it is easy to get caught. Besides, you don't know what's inside, so you don't know if it's worth it.

A criminal operation with a dark-drone infrastructure is a different issue altogether:

- difficult to get caught, at least until we create structures to fight such operations

- it is organized by thieves - by definition

- it does not matter what you are stealing: once you have the dark-drones working, operating them is very cheap, so you can steal as much as you can, making the operations profitable.
Dutch food is the worst. The Dutch think of eating as a chore. When was the last time you went out for Dutch food? There's a reason the answer is never.
Ik ben een lang nederlander
I have looked at the reference for this (1) and I don't think it captures the idea that statistically, small groups vary more.

1) https://en.wikipedia.org/wiki/Maxima_and_minima
Obvious answer.
Syntex: a lightweight, markdownish markup language
Except it's not, as I'm just initiating a normal online payment through my online banking, and the recipient receives it (usually) close to instantly.

Giving cash to a friend still requires me to withdraw the cash from an ATM, pass it to the friend, who then needs to deposit it using a deposit ATM or visit his branch.

One involves a few clicks on your online banking website, the other requires a much longer process. The backend company isn't really relevant, what is relevant is that 'Faster Payments' has been used as a marketing term for 'near instant bank transfers' that transparently use FPSL as a backend.

Not at all equivalent.
Huh? My impression is that functional has been growing massively over the last 5-10 years. OCaml has been around for 20 years but it's only recently that you hear people talking about it. The amount of Haskell or Scala hitting HN goes up and up - and that's matched by the increase in jobs in these languages.
How does a market that lets people buy and sell shares without the company going public not get immediately slapped around by the SEC?

This all just feels wrong to me. As an employee selling shares how can I be sure I'm not getting screwed over by anyone? The entire thing just seems shady.
The "Why?" section seems to answer the question "What?".

Would have expected either "Why you should use this", or "Why I/we wrote this".
> I don't think letting a stranger enter your building / yard is less of a privacy / danger / noise concern.

Well, nobody enters without ringing, and I receive them at the door.

And danger: I'll let you know as soon as parcels or drones start dropping and damaging property or injuring people.

> If they're willing to pay extra for drone delivery, it's critical enough for them.

Exactly, that's why you need the taxes, to price in societal costs.

And make some deliveries drone-tax-free (blood delivery)
It was the common sense thing from a consumers perspective to make DotA 2 into a product. It's just funny that Blizzard didn't manage to be the ones to do it. I remember that at the time when DotA was a popular Warcraft Mod me and my friends were often talking about how Blizzard should do what Valve did with Counter Strike and hire the modders. In the end Valve made that obvious move themselves, but maybe it's their flat structure that makes it possible for them to absorb external talent that way more easily.
It wasn't the subsidence, it was the earthquakes that made the gas extraction unpopular.
> How can you build a system where one pilot is responsible for many drones?

They might be imagining the pilot being some form of "air controller" person.
To answer my own question: Receivers pay, not callers.
There are existing solutions for this such as https://quaderno.io/stripe-vat-subscriptions/
WebKit gets lenient on silent videos in web pages
code complexity is a liability; required functionality is an asset; one measure of engineering efficiency is required functionality per unit code complexity.
Crowdfunding platform Seedrs continues EU expansion and opens office in Amsterdam
> Well, then that defeats the main reason for using Java, doesn't it? The gist of that claim was that you could write idiomatic Java (with GC, small objects, etc.) and the JIT would use the information gathered during runtime to optimize the program on-the-fly to be faster than C.

You can put the same amount of effort in and the Java will perform better than the C. Or you can require the same level of performance and the Java will take less effort than the C (with the possible exception of very extreme performance cases).
Another file sync tool http://www.backup-utility.com/file-sync-software.html
> The FPGA, with its explicit management of every imaginable resource, is the worst target for a general-purpose functional programming language.

Huh? The greatest strength of functional languages is to allow you to explicitly manage cross-cutting concerns, no?
To me, sadness is when I feel sad. Depression is when I feel almost nothing, the whole world seems pointless, and have no enthusiasm for anything.

_Clinical_ depression is when that depression has reached the point where it needs treatment, is caused by brain chemistry issues, etc.
You can use Quaderno for that https://quaderno.io/stripe-vat-subscriptions/
Yup, there seems to be worrying trend on HN that any company not a part of the tech inner circle has no idea what the are doing.

Funny because more than once there have been articles here about how assuming unusual/ugly code is the work of an incompetent engineer is short sighted, as often professionals DO know what they are doing, and it was done for a good reason that is not immediately apparent.
I've had 250 orders with Amazon last year alone, all of them with Amazon Prime - I've had things which arrived a day late, but literally everything dispatched the same day, always. I'm in UK.
If u drink coffee u are broken individual
Amazon packages are standardized and have a logo on them, which marks them. I am not saying it is not hard, but packages are by no means arbitrarily sized.
I think you will find most states promote an 'us vs. them' attitude, especially in times of hardship. And conversely that both states and religions promote harmony and communion during times of plenty.

I'd argue for example that Christianity is only peaceful these days because the states that are predominantly Christian are also the most prosperous. And, if you want an example of what atheists do during times of hardship, look to soviet Russia or even Nazi Germany.

As for why middle eastern dictators matter more than African dictators to the west (basically the US), it's possibly because, on the international stage, your partially right: the middle east was initially interfered with because of its oil, but also because of its proximity to Russia. And today's conflicts are not about those reasons but the legacy of those reasons, I would say.
Small note: "Last active 0 days ago" would be nice to be written as "today" :)
Ruby trivia: A list of questions about Ruby you can use to quiz yourself
Just on my final point, for anybody who wants to look at how terrorism has been "resolved" in the past, I highly recommend researching "The Good Friday Agreement" which was hugely successful in Northern Ireland. It involved a large amount of compromise on both sides, and the consumption of a whole heap of humble pie.
Depends entirely on what the item is and who the seller is. If it's on the Marketplace, Amazon has almost no involvement is dispatch and delivery. If it's Amazon Fulfilled, they pick up and handle delivery once the seller is ready for dispatch. I think the Prime and Prime Now items are stocked in Amazon's warehouses and allow for full control.
Men's Revealed Preference for Their Mates' Ages
I don't actually work the extra hours, I just browse Reddit for a few hours a day. I really can't put in 8 hours of actual work, my brain melts after 6.
Small tip to get some more performance; never repeat your selectors.

If you need $(".stats") four times, don't repeat that four times, but do:

var stats = $('.stats')

and use the variable. Especially when using class selectors.

End result looks good; keep on hacking :)

N.B.

Same is true for indexers (and allows you to refactor the code easier later on);

Instead of:

for (var i = 0; i < repos.length; i++) {
var language = repos[i].language ? repos[i].language : "Unknown";
$(".repositories").append('<div class="container"><div class="item names"><div><a href="' + repos[i].repoUrl + '">' + repos[i].name + '</a></div></div><div class="item language"><div>' + language + '</div></div><div class="item stars"><div>&#9733;' + repos[i].stars + '</div></div></div>');
}

Consider:

for (var i = 0; i < repos.length; i++) {
var repo = repos[i];
var language = repo.language ? repo.language : "Unknown";
$(".repositories").append('<div class="container"><div class="item names"><div><a href="' + repo.repoUrl + '">' + repo.name + '</a></div></div><div class="item language"><div>' + language + '</div></div><div class="item stars"><div>&#9733;' + repo.stars + '</div></div></div>');
}
Countries like India are heavy users of diary products. Lactose intolerance is rare too. But always fare very poorly in the height rankings. So it cannot be concluded that it is diary products alone.
When you're dealing with 1 hour deliveries, those trucks aren't delivering "hundreds of boxes", they're actually still making a lot of smaller trips because they can't batch efficiently due to delivery time commitments.
I'm 6'8 and my girlfriend is 5'2. Usually I find our arguments to be the opposite way round in that "you have it better", e.g. My girlfriend needs a stool to reach the top shelf of the cupboards, but I have to time my steps as to not hit my head on door frames.

I think the worst one was learning to drive and then the many frustrating trips trying to find a car I could fit in.