skysight-inc/HackerNews huggingface dataset:
https://news.ycombinator.com/item?id=11780565

https://news.ycombinator.com/item?id=13399004
Uber is not even the middle layer here. The middle layer is an as-yet nonexistent aggregator that will search all of the services (Uber, Lyft, Google, Amazon, whoever) to get you the best price for your ride at that moment.
Considering that

int * foo, bar;

are variables of two different types, the asterisk clearly has affinity to the variable name. It is misleading to bind it to the base type name.
This is awesome!

One improvement: it's standard practice in text adventures to have a uniform set of commands and shortcuts. For example, 'i' is a common shortcut for 'inventory' but your bot doesn't know what I mean. Similarly, 'x' is short for 'eXamine', and 'n', 'w', 's', 'e' are the compass directions.
I've said it before and I'll say it again -- Uber needs to release a tier where you can hire a backhoe or other construction vehicle and arrive at your destination in style.
top of front page, please check for dupes before submitting!

https://news.ycombinator.com/item?id=13437905
Does anyone know what protocol/transport Discord uses? XMPP, web sockets, JSON, etc?
Time means logical clock. We incorporate a number of mechanisms to track causality, such that for each changeset we know exactly which other changesets it was based on. Timestamps are only used when two changesets that are causally unrelated conflict, in which case we use the timestamp to decide on the ordering.
My best argument against living in simulation is similar to the argument against the intlelligent design or solipsism - if you could simulate anytning, why would you simulate this?

So many things in universe make sense if they have happened by accident, but make no sense to include in an intentionally created simulation.

If I would have the power and intelligence to create/simulate a universe, there's no way in hell I would make the world to work like this.
Read about Thomas Tempelmann's and Mike Pall's disk copy programs for the Commodore 64 and 1541 disk drive:

http://www.pagetable.com/?p=647

http://www.pagetable.com/?p=656

From the second article:

It worked by transferring the "live" GCR-encoded data from the 1541's disk head to the C64 and simultaneously doing a fast checksum. Part of the checksumming was done on the 1541, part was done on the C64. There simply weren't enough cycles left on either side! Most of the transfer happened asynchronously by adjusting for the slightly different CPU frequencies and with only a minimum number of handshakes. This meant meticulous cycle counting and use of some odd tricks.
https://news.ycombinator.com/item?id=13438610
I'm one of the people who nagged you on the redis post, and particularly expressed skepticism that such a transition would've been necessary. I haven't read this yet, but I just want to say thanks for actually following up to that thread and posting it. Looking forward to it!

---------

EDIT: Just read the post, and while it provides a good perspective on Discord's rationale to introduce Cassandra in the first place and does a great job pointing out some unexpected pitfalls, it doesn't specifically respond to replacing Redis with Cassandra due to clustering difficulty, per the prior thread. [0] Redis is only specifically called out as something they "didn't want to use", which I guess is probably the most honest answer.

The bucket logic applied to Cassandra seems like it could've been applied to redis + a traditional permanent storage backend nearly as easily. The biggest downside here would be crossing the boundary for cold data, but that's a pretty common thing that we know lots of ways to address, right? And Cassandra effectively has to do the same thing anyway, it just abstracts it away.

Again, I'm left wondering what specific value Cassandra brings to the table that couldn't have been brought by applying equal-or-lesser effort to the system they already had.

I also found it amusing that they're already contemplating the need to transition to a datastore that runs on a non-garbage-collected platform.

[0] https://news.ycombinator.com/item?id=13368754
It's disgustingly arrogant to assume that. They are showing exactly the understanding needed to answer the question. They obeyed the instructions, and they paid good money to have that opportunity, but they are being punished despite doing exactly what was asked of them. Whether the instructor has the legal right to do this or not, it certainly feels like fraud.

If the question setter failed to set a good question, that's the question setter's fault, not the student's fault. Punishing the student for somebody else's mistake is injustice.
Iranian hostage crisis comes to mind.
Agreed. And to me it's not just the math notation that bugs me, but the tendency of mathematicians (and perhaps by extension, physicists) to always use one-letter variables.

In software development, you'd get torn apart in code review if your variables are all one letter long. Why is math so terse?
If you look into the indicators that fall into the Retail and Services sales category, there are extremely big ticket items and high-volume items that aren't sold in high volume or at all due to regulation.

All auto sales, gas purchases, alcohol & tobacco, heavy industrial equipment (commercial farm equipment, etc) are included in that category.

Online sales only being 10% of that still probably looks massively outsized if you're drilling down to B&M clothing & electronics purchases. I haven't made a B&M retail purchase any more times than I can count on one hand since 2004.
The SQL Server Database Tuning Adviser will happily create all the indexes, stats, and what not, for a given workload. And yeah, you can speed up your queries (the workload) as a result. The problem is that there's always a trade off - those queries may now be fast, but inserts and updates end up being slow due to the burden of index maintenance.

There's also maintenance views that can be queried to see if SQL Server is detecting any missing indexes, or if there's any indexes that are not being used - but again these have to be taken with a grain of salt, as the stats get reset each time those indexes are rebuilt.

> Did they build the right indexes? Well... the DB doesn't know.

The DB does in fact know - looking at the query plan for a given query will outline if there are any obvious missing indexes - but having the DB go ahead and build indexes by default for every given query is dangerous. When you go through 10 iterations of an ad-hoc query refining it down to what you actually want, how's the DB to know that the first 9 don't count? Etc..

> You should say "I want to run these queries, and I have this much memory for you" and it should know how to get your results as fast as possible.

That is in essence what the query optimizer attempts to do, though it has breaking points where it will settle for 'good enough' because optimization of the query itself becomes too expensive. Sometimes people just write bad queries.
I'm sure historically Maori were convicted disproportionate to crimes. Modern day? Well just in the court. The Treaty of Waitangi is for historic issues.

Japan paid reparation after WW2: https://en.wikipedia.org/wiki/War_reparations#World_War_II_J...
JP Morgan Chase and Deutsche (not exactly the model for integrity) have recently opted not to work with Uber because of its lack of disclosure.[0] Besides, take another look at that table above: not a confidence-inspiring list.

[0] https://www.bloomberg.com/news/articles/2016-11-07/banks-sai...
I convinced my friends to switch from Skype to Discord for this reason. I've had a few new groups every day and I would get calls all day long because if someone wanted to play they would call everyone.

I made a Discord group about a month ago and everyone I know is using it. If someone new wants to play, we add it to this group, so everyone is there.

Also we're not annoyed by calls anymore, as you only have to join the voice channel, instead of calling everyone.
My brain parses both of your expressions (and both of your comments) the same way.

Like, it's tautological: 'de-referencing an int pointer will give you an int'

Brains are weird.
As a "newer" engine, SQL Server has a couple of tricks that aren't found in most other systems, including intra-query parallelism across multiple threads. This capability requires occasional reshuffling of data between threads, which makes SQL Servers internals a little more like a distributed DBMS (think Netezza/Teradata) than the wonderful, but ancient, Postgres. All of which means that SQL Server has a larger palette of execution options and some different optimization decisions than PG.
Hockey sticks come from low friction. Subscription models are just plain tougher -- people have to put in a credit card and pay real money for the service. You just don't get exponential increases in that type of a situation (cue counter-example).

The business models that lead to hockey sticks are anything where the initial use is free to the user. Essentially, how Google, Facebook, and Twitter all started. They can use advertising to monetize that growth, and eventually ancillary paid services (Google Drive storage for example).
Airlines appear to have turned that around in the last few years. Full flights and profit.
A couple of 'em!
why would i need email to be hierarchical if i usually have just 1 on 1 conversations? makes no sense...
I found this advice on negotiating to be most helpful:

1. Always stay polite. Getting emotional works against you in most cases.

2. Don't give ultimatums. Saying "I want this and this" is fine - don't add "or else...".

3. In your current situation, you have lost some negotiating leverage (your previous salary, your experience) but it's not unsalvageable. Simply bring them up and counter them yourself:

* Your previous salary is not relevant - only what you want to accept now. HR has a desire to lowball you so you should counter with a higher-than-market request.

* Your experience is not an issue. If they want you for the job then you are qualified for the salary that job entails.

4. Use the fact that you are _already_ giving them something by accepting an offer one level below! Make this a big deal and ask for compensation for doing a higher level job.

5. Pick a price that is 10% above market value and have a list of reasons you want it (new house, car, ...). Do not be afraid to stick to your ask. After all, they need you to do the job just as much as you need their job.

6. When picking a number do not pick a round number (numbers like 30% sound like you have not given it much thought. Numbers like 101,300/- sound like you have figured out your finances and have a good reason for your ask).

7. Be patient and remember you both want something out of this.

Good luck!

Edit: The Lightning Guide to Software Resumes has a short section on negotiating that is a good summary. A better book is "Never split the difference" by Chris Voss which is, I think, the best book on the subject.
I think this quote has one particularly important implication (among many): A major mismatch between responsibility and authority is a huge morale killer. If you have to constantly ask for permission, you will feel much less personally invested in success because you don't feel like it was your doing.
Are there any YC Discord servers?
If there's any popular one, I'd love an invite.

Otherwise you might want to join mine, as I just made one: https://discord.gg/kcxK6
Explain shadow profiles then.
Huh. So do you know if they do anything help with repeat testing/peeking?

Optimizely takes an interesting approach: they apply repeat testing methods, segmenting the tests by user views of the results. Like 30x more complicated than multi-bandit, but they don't need a feedback mechanism.
NurFace Games: The game company started by a homeless developer
Credit rating is highly correlated with wealth, and is also highly correlated with reduced accident rates.

You're assuming that accident rates are directly correlated with claim rates, however. A wealthy individual is less likely claim for a minor accident, preferring to pay out of pocket for small repairs rather than take a big hit on their premiums. Someone less wealthy may not have that option.

There are other reasons why wealth may reduce your risk to insurers that are unrelated to safe driving. You're less likely to leave a car parked insecurely in a dodgy part of town, for example.

Finally, "drivers of luxury brand cars" certainly aren't the same set as "wealthy people with good credit records". Plenty of lower net worth people can still manage a lease on a BMW or Mercedes, or buy a used one.

Drivers of luxury cars cause more accidents, insurers say:
http://www.telegraph.co.uk/finance/personalfinance/insurance...
Our realtime messaging is done over Websockets using either JSON (for web/non-native) or ETF (http://erlang.org/doc/apps/erts/erl_ext_dist.html). Almost all user-based actions are sent over our HTTP API using JSON.
Looking at this point and one of the ones below, I think there's a bit of a misunderstanding as to why drugs are expensive and why they take so long to get to market.

The hypothesis Balaji and others here suggest is that the FDA requires drugmakers to pass useless onerous regulations and expensive studies before it'll approve a drug. In so doing, the drugs become more expensive to market.

Having worked a little in the drug discovery area, I'd advance a different hypothesis: the low hanging fruit are gone.

Balaji in his post explicitly mentions insulin coming to market in 2 years. That's a pretty easy thing to approve: you have a molecule that is identical to one produced by your own body, that has known or easily understood physiology and pharmacokinetics. All you have to show is that your preparation isn't toxic, so of course it's going to take nearly no time to get approved.

Contrast with a cancer drug. There you have a really complicated disease, not very good model systems before you get to test the molecule in a human subject, and when you get there most of your patients die anyway because diseases are hard/they're too sick/it doesn't work well enough.

I think the information/silicon technology side of silicon valley doesn't quite understand how hard biochemistry and biotech actually is. In traditional engineering you know a lot about the inputs to your system (code, silicon, plastic, etc.) and you know a lot about how they work. In Biology/Biochemistry/Physiology none of that is true. Your inputs, underlying system and outputs are hugely complex and in many ways completely non-understood.

That's why it takes so long to "innovate" or develop new drugs. Bureaucracy may not help, but it's not the main cause either.

An essential blog to read if interested in drug discovery:

http://blogs.sciencemag.org/pipeline/

topic relevant post:

http://blogs.sciencemag.org/pipeline/archives/2015/08/07/on-...

Full disclosure: I once met with Balaji for an informal job interview/get to know the company at Counsyl
I was in Chiang Mai for most of December and I wonder how Uber can be successful there. The songthaews and tuktuks are so cheap that I almost always took those. The only time I took Uber was to go to the airport, since I carefully planned my money so that I wouldn't have any cash left over and Uber would charge my credit card and all the other options would require a variable amount of cash.

That said, the Uber was reasonably cheap, quick and friendly, so their service seems to have improved there.
I appreciate the sentiment but I'd argue that if you're looking for generic methodology, you should ask for a generic solution. The question shouldn't be "solve x^3 = 7", it should be "solve x^3 = y" or "solve x^y = z".

If a student produces a correct answer to a numerical question that's correct by drawing a graph or doing a linear/binary search, that seems fine to me.
But at the same time it's interesting to note that RubyTruffle will not even rely on the JVM to run!
Wow, the feedback you got on that forum has a pretty rare level of detail and helpfulness. Confusing syntax, perhaps, but the community is point for sure!
Nah ... Ever met a parent before? Many of them are pretty serious about their car seats and brands.
I had to delete a shitload of data from Cassandra recently and it required dropping gc_grace_seconds to a very low value in order for the tombstoned records to be dropped during compaction (this was mentioned in the article)
Copenhagen vs. Everett, Teleportation, and ER=EPR (2016)
I would be reading math-savy papers 3x as fast if they just declare the variables explicitly before equations, instead of definitions scattering all around the paper..
After writing this today, I was reading an interesting (to me) article on building two sided marketplaces, a pop up came up around half way through, didn't feel unreasonable actually as I was feeling value from the contents of the article and it felt likely appropriate moment for them to make the ask.

Thanks for the discussion everyone.

Ref: https://www.sharetribe.com/academy/how-to-communicate-your-v...
You're right. True understanding of null hypothesis and p-value isn't easier than Bayesian. Heck, just try to figure out if you need a one-sided or two-sided test.

But it's easier to try to black box it and say this number cruncher tells me if these two things are really different. Of course, if you don't understand what's going on, you start p-hacking.

Anyway, you're I think you're right.
DVDFab multiple bundle options for Windows users
It based on functionality that all exists in the traditional on-prem SQL Server as well - certainly not the e-mail and point a click creation, but you can definitely query SQL Server DMV's for missing index information[1].

As with any suggested indexes though, they have to be weighed against their effect on other workloads. Additional indexes can have a big impact on inserts / updates / deletes.

[1] https://blogs.msdn.microsoft.com/bartd/2007/07/19/are-you-us...
This lawyer refinanced his student debt with SoFi and deeply regrets it
noscript shows a nasty looking XSS warning when I click any of the 'example code' links.
Isn't this the same argument that could be used in the context of hospital borne infections?

Autopilot will reduced the number of fatalities in the same way that going to the hospital when you are sick will reduce the number of fatalities. However some people that use Autopilot will die when they otherwise would not have if they hadn't used Autopilot, just like how some people going to the hospital will die from infection when they otherwise would not have if they hadn't gone to the hospital.
I Can Tolerate Anything Except the Outgroup
And I really hope the future for math be some lisp-like syntax where no special syntax is required every new concept is introduced.
> That's much easier to intuit and use to guide experiments than actually build into the bandit algo.

IDK about your intuition, but for most other people, it gets in the way of statistics.

The "loss function" is just as easy to calculate for A/B tests as for multi-armed bandit. The value of user doing A is $X, the value of B is $Y, and the value of C is $Z.
Ask HN: I think I am grossly underpaid. Question on work/life balance?
I work for one of the top tech company in Seattle/Redmond area. I have nearly ten years of software dev. experience. I am getting $130k as base and 20k in stock each year.

I am not an engineer, though. I lead a remote team located outside of US. My workload is really awful. I usually work 55 hrs to 60 hrs per week. Additionally, my commute takes 90 min. on daily basis. I still have very good knowledge of technologies and I do coding in my leisure time.

Every day I wake up with feeling bad about myself. I took this job because of some personal reasons. I have no personal life, no hobbies, no interests. I can't remember when I laughed last time. It's work -->home-->gym-->work-->sleep--> repeat cycle for me.

I want to move into the management. I have discussed this issue and work hours multiple times with my manager, who just makes excuses every time we discuss and shows false hope.I am young and very enthusiastic about technology and making difference to lives of millions of people. I equally like making money as well.

What shall I do? I don't have a mentor or good friend to discuss these issues. Should I continue the job and see how it pans out or should I start looking for another tech company?
I don't know if I am overreacting?

In my opinion worst thing is that, I can not stop thinking about the work. My autopilot on brain keeps thinking about the work, even though I don't want to. I tried observing my thoughts but that does not work for me.

Could anyone with enough experience under the belt please advise?
I've been teaching college algebra for 20 years. There is nothing arrogant in what I said. The student needs help and it is clear that this is so to anyone with experience teaching such courses. After many years and thousands of students I've developed an intuition on when a student needs help and when I don't need to worry about them.

If you had to bet a million dollars, based solely on the solution presented and knowing the course was college algebra, would you put the money on them passing or failing?
Interesting, I too have considered deleting the account few times.

In my opinion, the endorsement feature is totally useless and doesn't represent any real value.

The only thing useful in LinkedIn case is that sometime I want to connect to a person, and upon looking at their LinkedIn I can find that they are connected to someone in my network.
Even if you don't have to install a client you have at least to authorize a ssh key and somehow express your intent to add an ansible client.. When in the case of some other solution the installation amounts to one package to deploy (with no dependency) and one command line to issue, installation is a false problem..
I agree that low hanging fruit being gone is an issue.

However, that doesn't mean bad FDA rules are not also an issue. From the blog post I linked to:

Any pharma company that wants their medication approved in both the US and Europe has to spend a billion or so dollars getting it approved by the FDA, and then another billion or so dollars getting it approved by the Europeans. A lot of pharma companies don’t want to bother, with the end result that Europe has many good medications that America doesn’t, and vice versa. Just in my own field, amisulpride, one of the antipsychotics with the best safety/efficacy balance, has been used successfully in Europe for twenty years and is totally unavailable here despite a real need for better antipsychotic drugs.
I found two great explanations of cap theorem on youtube.

https://www.youtube.com/watch?v=gLtO0vY_M78

https://www.youtube.com/watch?v=Jw1iFr4v58M

And now I hope my understanding is correct:

The way I see it, the most important thing to understand first is what the word partition means in the context of distributed systems. If the system is partitioned (being in partitioned state), that just means that some nodes can not talk to each other. There is an outage of some sort and when building distributed systems, you always have to expect that, so the P (partition-tolerant) from CAP is always there, you always have to choose it. After that, you just have to decide if you will be more C (consistent) or more A (available). If you pick C, then this means some nodes will have to wait until the system is back in connected state to get the latest state, but if you pick A, then you always get the answer, the last one the node had before it got disconnected.
Why do you think you couldn't contact a self driving car? It would certainly be possible to build some AI that can handle "special instructions".
I have so many things that I need a system to keep me productive. Plus, it's fun to get things done and be confident in not having missed anything important.

Productivity is about getting the right results for the least effort!
Programatically Understanding Series
So, in this aspect they operate exactly like a crappy, unlicensed cab company. Why don't they just make their logo the Jolly Roger?