skysight-inc/HackerNews huggingface dataset:
What's your data on A? I'm not sure it's true.

The article says net revenue was $1.1 billion in Q2. Losses were "significantly" more than $750m. So we're talking a scenario where either they lose a lot of drivers or raise prices drastically. I'd expect a fair bit of damage either way, meaning still-lower revenues.

And they have very large fixed costs. Because they've already shifted most of their operating expenses to drivers, they have relatively little room to cut costs. They have a lot of expensive staff. They have a whole robot car research operation, which can't be cheap; Toyota has committed a billion dollars to figuring that out. So it's not clear to me that they'd be able to get to break-even.

I also think C is risky for them. Their valuation is "astronomical" by Bloomberg's standards; they're supposedly worth well more than, say, Ford. That's been based on a hard charge for global dominance, not just getting by in a few markets. And getting into the black might require big cuts in their marketing budget. If their growth numbers tank, their stock will lose the "dominate the market" premium.

So even if they could somehow get into the black, I'm not sure they would still be Uber at the end of it. They might not be the next Webvan, but they certainly could be the next Groupon.
Out of curiosity - will you compromise a little bit[1] on your principles if someone offers you 19 Billion USD? Honestly, I would. And I think almost all the people in the world would. So I don't see anything funny / surprising here.

[1] - going from "won't show ads" to "ship data to someone else who will show ads" is not a big step. Just for perspective, some people are literally willing to kill others for far less.
Not only is it ridiculous to permanently ban someone from the platform with 3 minutes notice for copyright violation, this ALSO isn't copyright violation! In the US (I don't know enough about other jurisdictions) this would almost certainly qualify as Fair Use and therefore NOT a copyright violation.

So Twitter is permanently banning people with 3 minutes notice for a first offense of OBEYING the laws (but apparently still pissing off the IOC).

Reversing the ban of this person once the story became widely discussed is NOT an excuse, unless Twitter is also reviewing all other bans.
But is Lyft really the competition for Uber in the long run?

This almost feels like the Blu Ray and HD DVD war - yeah, Blu Ray beat HD DVD, but digital beat out both. At what point do self driving cars mean that Uber no longer has a competitive advantage in transportation? Aka if you remove the need to sign up drivers, then you're just competing on cost of a vehicle + overhead as the cost to a customer to switch from Uber to say 'FordNow!' is so low - I just download another app.

Uber is competing with all forms of transportation and to beat everyone there is a long time to try to wait and stay solvent for.
I understand the sentiment but for this blog in particular, I think the content excuses the layout.
Java and JavaScript compared
> If an object is just there to store data and no behaviour, then that's fine - don't add behaviour if it doesn't need it.

In that case, you want values rather than objects. Alas, Python doesn't have compound values.
The competition may not come directly from technology companies, but from car companies. Tesla might be one of them.
Values and errors, part 1: 'Result' in Swift
Assuming they are continuously writing English text is quite the assumption.
I believe the big difference sharing ON Facebook and sharing WITH Facebook.
Show HN: Create a suggested CHANGELOG from your Git repo's logs
The writing's been on the wall for quite some time, so this isn't really news -- more of a clarification, really, written with reassurance for the average user in mind.

I see a lot of negative pushback here on HN, but here in Europe WhatsApp is pretty much universally used -- not to ludicrous extents, but simply because it's always been a usable, reliable service. Stuff like Viber caught on in some places, Telegram seems to be used only by techies, and Facebook Messenger seems to be rather hit and miss.

Despite a lot of reservations, I started using WhatsApp because the peer pressure was unsustainable -- family, friends, colleagues (at three companies), etc., everyone uses it, and to me it has the saving grace of (unlike FB messenger) not being updated every month with frilly, useless features (although they never seem to get around to adding quick replies on Apple Watch, and the lock screen replies on iOS still fail).

I'd probably be happy with SMS and iMessage, but the truth is that I _never_ get any messages through either (except for banks and the odd URL sent from an iPad)...
At one company I worked at, we used Avro to transfer data over the network. It's strongly typed with schemas, and it has both a compact binary form for transfer over the network and a text-based form for storage on disk that looks like JSON except field order matters (the schema and data are stored in separate files).
Yet we still have strong pushes from the government on the radical TPP and TTIP. I fear they want to update the law to catch up with technology but not in pro-consumer or pro-citizen way.
Yours must be a terrifying world in which to live. I'm sorry.
I was a huge fan of E&C when I was doing VC++ in the 00s.

I'm not sure about other languages, but with Erlang's hot loading (plus the sync[1] project) I find that aspect to be nearly as good as E&C in Visual Studio.

While it's not quite at the level of 'stop the code from executing, changing something, continue', it's close enough for practical usage - save a file, the underlying module is more-or-less instantly recompiled and loaded.

[1] https://github.com/rustyio/sync
I for one disapprove
Well, just after I read this, a magnitude 6.2 earthquake hits very close to Florence.
Fortunately, David survived.
"Amatrice, Accumoli and Arquata del Tronto. Three towns north of Rome reduced to rubble by an earthquake today. People dead. Lives ruined" (https://oilandmarble.com/2016/08/25/earthquake-in-italy-why-...)
Every time I refactor something in the code my goal is a PR with net negative lines.

But it takes experience and maturity to not to silly things trying to hit this goal. Sometimes it's just not possible.

0.1x as a term exists only because it's cute.

Instead, perpetually try to be a 0.9x programmer.
Other unsolved problems in natural language processing:
https://en.wikipedia.org/wiki/Natural_language_processing#Ma...

One that bugs me is proofreading. It seems like the tools in Microsoft word could do a lot more to catch and fix mistakes and with higher accuracy.
the number of stars out there is more like 1,000,000,000,000,000,000,000 pieces, or 1 billion trillion in observable universe. which is just a subset of whole universe. pretty good chances for something out there. hopefully not as xenophobix as humans these days (and more advanced at the same time)
Everyone always says this, but it seems to indicate more of an inability to grasp how much we don't know about other planets on your part than it does my inability to grasp how large the universe might be. It's entirely irrelevant if the universe is infinitely large if the probability of life arising is infinitely small.
Lie detectors do not have a good track record for making things better. If you want to catch criminals there are many other ways. If there was a murder near you would you want people trying nuero-tech on you?
Asia is much bigger than Thailand, Cambodia, Singapore, Japan and Taiwan; so the statement "Good thing Asia uses Line more than What's App." is incorrect. Also, WhatsApp is still more popular in SG than Line amongst the local population.
Autonomous cars don't solve the 'someone puked in the back' problem. So, companies will need a fair amount of local infrastructure near every city. Drivers are probably easier to find. So, I suspect 1-2 years after Ubner runs out of money is going to be the time for a competitor to show up.

Their real risk is a company treating ride hailing as a million dollar company vs. a billion dollar company and running with ultra thin margins.
> One interface to rule them all.

What does that even mean?

GUIs have quite obviously commanded a vast lead in popularity over terminals ever since they were invented. So, they don't "rule" in that sense.

Do you mean to say that you somehow "rule over the GUI using peoples of the world" because you use a terminal and maybe you write code or do sysadmin work that all the GUI users have to report to? I doubt that's actually the case because your boss is probably a GUI user who tells you what to do.

I don't think the terminal is ruling anything. I think some people are just fond of trite sayings that seem to enhance their own stature.
I'm probably missing your point, but

public static IList<Ephraimite> FindEphraimitesToKill(IList<Ephraimite> ephraimites)
{
var ephraimitesToKill = new List<Ephraimite>();
foreach (var ephraimite in ephraimites)
if (ephraimite.Speak("shibboleth") == "sibboleth")
ephraimitesToKill.Add(ephraimite);
return ephraimitesToKill;
}

or:

public static IList<Ephraimite> FindEphraimitesToKill(IList<Ephraimite> ephraimites)
{
return ephraimites.Where(e => e.Speak("shibboleth") == "sibboleth").ToList()
}

is not that verbose.
No, that's a web font failing to load.
In Java land, swagger + dropwizard validation do a rather good job of this with json. I wouldn't be excited to return to using soap/xml all the time.
the sounds of a hundred thousand project managers rolling their eyeballs at the prospect of every junior programmer thinking the project doesn't need to be done, or the feature request is pointless.
> The algorithm and salt are irrelevant.

Given any input domain, you can choose an algorithm that will make bruteforcing the entire domain take as long as you like. As an extreme example, bcrypt with a work factor of 20 takes over a minute to calculate a single hash on a high-end desktop. (Of course, whether whatsapp are actually doing any of this is another question).
Microsoft Excel blamed for gene study errors
> with a WYSIWYG form designer and two-way tools for coding the UI (what you do in the designer is reflected in the code-behind, and vice-versa)

IMO, that is one of Delphi's best features, and it had it had right from v1 or at least v2, IIRC. (Used both versions a bit.) The two-way tools, I mean - because over time, it helps you to rely less on the designer (if you wish), for things like writing code for properties and event handlers, and anyway you still have it as a fallback.

Of course it has many other great features too, as your comment describes very well (and it's good to mention the cons too).
I've not yet made use of it, but using the `type` keyword to create new classes quickly looks promising.

https://docs.python.org/3.5/library/functions.html#type
I vaguely recall reading about someone developing a chip that could run both ARM and x86 code. The idea being that it would run ARM code most of the time at low power, and then power up in order to run x86 code when necessary. I don't know if there was any clever sharing of the silicon, or if it was in fact just an x86 core and an ARM core glued together.

The only thing I can find on it though is this IEEE document reference: http://ieeexplore.ieee.org/document/6136696/
I'm still not convinced thinking, living, conscious machines are possible anytime soon, if ever. Until we understand the hard problem of consciousness and other fundamental mechanisms of the brain, we will never build true AI.

Increasing system complexity and hoping for a "singularity" event is cargo cult science[1]. It's like building runways on your private island and hoping airplanes will spontaneously land and produce wondrous treasures to trade.

[1] https://en.wikipedia.org/wiki/Cargo_cult_science
Glutamina comprar preço barato
I'm pretty sure that it looks out of place in all of the Deskktop environments that you have mentioned.
They surely do have my numbers i.e the phone numbers in my address book (for other people), but do they actually have my number? Every time I visit the facebook website i get a popup asking me to update my profile with my phone number. Note that I do not have the facebook app installed.
I don't get how "great" it is to let capitalization be used for exported identifiers. What is the rationale behind this?
Are We the Earliest Intelligent Life in the Universe?
Yachtcharter Montenegro
What's the issue with using your "real name"? Honestly I think that should be the policy more places, so people aren't hiding behind their online personas.
Which they do as read on another thread - 18$ for a 45min ride in SF, the driver gets $50.
So much for a lossy taxi company
Ask HN: Bandit algorithms and metrics?
Have you used bandit algorithms or multivariate testing to optimize your landing pages for user growth?

How has this worked for your startup or side project?
I know a lot of people who used to get upset about kids ignoring conversations for their "texting machines" and those same people now will dictate a text message in the middle of a conversation and give me the look like IM the one ruining their text conversation.
If you link to my site with target="_blank" and without rel="noopener" or some other preventative measure, that's all that needs to happen. The JavaScript is run on the other person's website. So all you have to do is link to their site and they get access to the location of the tab of the original site. No XSS or anything needed.
Gotta love the naivety of the post's comment "don't post other's IP." If only life were so simple. One might advocate a conservative position that anything not made by oneself shouldn't be posted. What a culturally impoverished world that would be! You can watch the competitive human activity on the activity organizer's chosen public performance medium but it isn't a good idea to communicate about it--you might be banned for offending someone and not be able to communicate anymore.

I suppose there's a balance between stuff to be shared and to not and in the middle there be DCMA take-downs and complaints.
Especially true if your business objects are generated code, e.g., protocol buffers.

Combining business logic with business objects is a mistake. That's a textbook example of tight coupling.
"recognizing cats" isn't a product at all - the AI behind it is the product, albeit barebones. I've heard folk on HN call such a thing an "MVP".

> By "the hard work of bringing a product to market", I meant the process of perfecting the product for actual applications

I'll have to disagree - "perfecting the product" is one of many roles required to bring a product to market. Other roles that are just as important are "dreamer/visionary", "practical starter/founder", "scale-up person". Sometimes one person can assume multiple roles, but rarely all roles, all of them are hard work.
An article about the "attrs" library was posted here a couple weeks ago. Really highlighted the tedium of Python objects while offering a neat solution.

https://glyph.twistedmatrix.com/2016/08/attrs.html

Regarding protobuf, I'm a bit disappointed with the direction of version 3. Fields can no longer be marked as required - everything is optional; i.e. almost every protobuf needs to be wrapped with some sort of validator to ensure that necessary fields are present. I understand the arguments, but I did enjoy letting protobuf do the bulk of the work making sure fields were present.
There was a whole research project at Stanford (Rivet - https://graphics.stanford.edu/projects/rivet/) which combined visualizations of code and hardware during execution and was able to keep history (here's an example where they were looking at memory stall issues -https://graphics.stanford.edu/projects/rivet/images/mview.gi...). And importantly, all the data and views were linked - for example, selecting a region of time when the CPU was stalled for memory would highlight the particular code in the source view that was currently executing. The system was used to analyze mobile networks, memory profiling, superscalar processors, and even debug the design of a GPU.

As an aside, a subsequent project in the lab called Polaris, built on the same system, became the precursor to Tableau (a business intelligence tool).

The power of visualization is that it can take abstract data and map it to visual features that our visual system can make sense of automatically without much cognitive load. An example I often like to give - imagine you were searching through my comment to count the number of 'e' letters. You would have to perform a linear scan. But now imagine the 'e's were red. You would almost instantaneously be able to jump from 'e' to 'e' and count them.
Using ES2015 Proxy for fun and profit
I dislike it because it's essentially privileged urbanites mocking working class rural people.
It's not chrome's bloat, it's Slack that's for some reason broken. I don't have such problems with VSCode for example. Also it's reusing already opened Chrome instance which should make memory usage more optimized.
What do you consider as "unrelated"? For example modern ARMv8 cores understand 3 instruction sets: AArch32, Thumb2 and AArch64. AArch32 and Thumb may be related, but AArch64 is more different (no conditional execution, more registers etc. for example). Though you would perhaps still consider them as related.

EDIT: Similarly, modern x86-64 cores support at least three instruction sets: x86-16 (real mode), x86-32 (protected mode) and x86-64 (long mode). These are related, but at least I claim that x86-16 and x86-64 are very different in practise.

A perhaps better example is Jazelle on older ARM cores, which supported exectuting most of Java VM's instruction set directly on the processor.

Or another example: The instruction set of many processors is separated into several parts that work and encode quite differently. For example the x87 instructions are stack-based instead of register-based. Or I have heard that AltiVec instructions encode and work quite differently from normal PowerPC instructions. The only reason why these are not considered as different instruction sets is that they lie in the same opcode space. If you consider instruction sets that "just lie in the same opcode space, but are otherwise mostly unrelated" as unrelated, then there are some instruction sets that evolved as hybrids of different instruction sets for controlling different functional units.

Or another example is many SoCs contain additional coprocessors and ARM's instruction set contains instruction for controlling them. These coprocessors execute different instruction set. But perhaps you would consider this not as "one processor" but rather several communicating processors on one chip.

TLDR: Define what you mean with "[one] processor" and with "unrelated" in terms of encoding of instructions.
Reversing the ban of this person once the story became widely discussed is NOT an excuse, unless Twitter is also reviewing all other bans.

It's exceedingly obvious, but worth mentioning anyway: They don't give half a fuck about anyone or anything that doesn't make them look bad in public (or if you have friends on the inside).
They might be cash flow positive but would they have enough to pay back all the leveraged debt they've taken on?

If they pulled out of a bunch of markets (why is Uber wasting its time in places like Japan where taxis are basically fine?), then they could no longer justify their valuation.

Their prices are going to go pretty high up, meaning they'll only survive in places where taxis are super awful (so, basically the US).

All that stock they've handed out would start dropping like a rock in the private valuations of the institutional holders, I bet some loan conditions will trigger, and they're going to suffer quite a bit. Not to mention the talent exodus.

It's like austerity. If your company is suffering due to a lack of growth to meet ambitions, is cutting costs going to make growth go faster or slower?

That said, I think Uber will figure something out, even if it ends up not hitting its goals.
This is too bad :(
I've been working with FPGAs for 4 years and shortly on ASICs before that, did software in a previous life (and still do), do you have something specific in mind?
The article specifies that we can opt out of it. But it doesn't say how to do it? Does it? Does anyone know how to opt out?
'Profitable can have many more meanings than you'd think.'
Postmodernism meets accounting meets Bay Area startups. I like these threads were everyone isn't just a programmer, but an accounting expert.
'Blurred Lines' Creators Urge Appeals Court to Reverse Trial Loss
NP, clear now - thanks.
Sunday Times Magazine is on it!

Inside Facebook’s (Totally Insane, Unintentionally Gigantic, Hyperpartisan) Political-Media Machine

http://www.nytimes.com/2016/08/28/magazine/inside-facebooks-...

The trend that bothers me most is seeing otherwise scientifically minded peers, paragons of rationality, who hew to the strictest standards of empirical rigour when it comes to their own research methodologies, sharing the most easily-debunked, inane conspiracy theories as if it were holy writ!
With your analogy that would assume we know exactly how long a meter is. "We know that we are wrong, but we don't know the exact right answer". Also language shifts and biases are not constants. Oh, then you have the issue of a corpus attempting to manipulate the learning algorithm itself.
The risk is real. When some site has a link with _blank to your site, the opener site stays accessible for javascript code that is embedded in your site.
Named tuples are pretty great! I used to think their immutability was a drawback, but I'm starting to come around to the opposite point of view.
I think doing sabbatical is good for people. I have never been doing that before. Many articles mentioned that sabbatical is good for our health, mental, and mind. This is some articles that I would recommend to read:

1. This is what 365 days without a vacation does to your health http://qz.com/485226/this-is-what-365-days-without-a-vacatio...

2. The 2015 Sabbatical: Why We Should All Take a Month Off - https://www.riskology.co/sabbatical/

By the way, thank you for making this post. It reminds me that I have to take a month off because of my works.
In many markets, Uber pays the driver more than they charge the customer.
If he used tuples as keys to the dict, he wouldn't have this absurd code and the article wouldn't have been written
It's still worth considering that the passenger risks having to share the car, so the lower price is most certainly justified.

I doubt Uber is trying to run those cars with only one passenger at a time.
You aren't obligated, you just might make people not like you very much.
Systems like AlphaGo do something like thinking. I suspect progress will crack along regardless of what philosophical types think about the hard problem of consciousness.

Also if you are a materialist the brain already is a thinking, living, conscious machine.
This is space that the Clojure community has already visited.
Similarly, algorithms trained to mimic human decisions will mimic human biases. See https://news.ycombinator.com/item?id=11753805 (probably others too)
There are thousands of people out there who carry IM Glucagon kits, an similarly time sensitive medication, intended to be administered by untrained bystanders. If it works for Glucagon, I see no reason it can't work for Epinephrine. In reality, there's no need for a vial, the syringe can be prefilled with the correct dose.
I can't read this without logging in, even if I get there through a Google SERP. I'm flagging this because of that, I don't know if that's valid or not.