skysight-inc/HackerNews huggingface dataset:
Every app has an architecture, good or bad. Since there is no universal set of rules (methodology) about how to build an app, every developer/team has to come up with their own solution every time an app is being built. There are quite few design patterns that are trying to describe how to organize overall application structure on a high level, but one of the most promising is so-called "unidirectional data flow" pattern introduced by Facebook in their Flux framework. UniFlow is an attempt to build a universal foundation for any iOS app.
This is not a forum for accusing people of being sinners. Don't you have something braver to do than standing up for bigotry, even after the bigot has been politely and repeatedly asked by a moderator to stop his religious harangue, but was argumentative in response [1], found it "somewhat discomforting" to have his own words quoted back to him, and has declared he won't stop [2], regardless of how discomforted his own words make other people feel?

[1] https://news.ycombinator.com/item?id=13246410

[2] https://news.ycombinator.com/item?id=14187168
> their general more precise use of language

This isn't really true, it's just a snobby idea the French have somehow successfully convinced us of. (It goes along with the idea that they have the most "refined" culture or something).
Uber can't seem to stay out of the news.
Have you considered O-1 visa?

It sounds intimidating, but many of the requirements are rather easy, i.e. "international prize" can mean getting an app in App Store or Google Play selections, "being a member of professional organizations" can be having an account on Dribbble or Scoutzie, publications online count as "having media publications", etc.
That was the first of his videos that I saw, too! I think it's a good introduction, but I'd say it's one of the least serious out of all of them. I suppose it's an acquired taste -- I had some difficulty convincing my dad to check out the channel, but recently he told me he was enjoying "that Canadian 'keep your dick in a vise' guy".

We would often sit down as a family and watch The Red Green Show during my middle school years. With its TV run now long over, I'm glad that there's another Canadian continuing in the grand tradition of workshop shenanigans.
> the expectation is that we'd expand capacity

Yes but electric cars are often touted to be the "green solution". What's the point if we're just going to have more - and we're talking about lots more - power stations? They still eat resources, and spout pollution. There's the nuclear option but hey..
China has a large, high-speed highway system similar to the ones you find in developed countries.
I never had any issues sideloading J2ME apps...
41. I learned programming when I was 8 (basic on a C64) and I have as much fun programming today as I've ever had. Besides, there's no doubt I'm a better programmer today than I was 5 or 10 years ago and I keep learning new things.

Actually, I'm more worried about ageism than about the decline of my abilities. I work in academia, but I wonder if I could get a software engineer position if I wanted to.
While the words "decide" and "choice" have slightly different connotations, it's quite frustrating to hear such a just-so explanation without making clean definitions for the two terms. I guess in the end you back away from that particular distinction in favor of the incontrovertible "roles change".

If you don't mind, could you rephrase your conjecture as a falsifiable hypothesis?
I would guess it's a combination of intentional leaks and reporters smelling blood in the water. Maybe also the upper management did something to lose the favor of people that would normally protect them from these kind of events (big investors). Or at least put a stop to them.

Something to note is that half (3/6) of Uber's board members are internal (Uber employees). So perhaps Kalanick is under no pressure of being ousted (maybe he has tie-breaking/veto privilege as the chairman) by the board, and so people that do want him removed are resorting to leaking bad press, in the hope that external pressure will force a change.
A is working on one chain but B and C are working together on another chain, so the A chain has 40% and the B/C chain has 60%.
My opinion: This is not about the drivers. They were engaging in activity intended to be actively hostile to a competitor. That is why this is wrong.

It is one thing to build a competitive business. It is another to try to actively undermine the competition, and not because your service is simply better.

I get rather tired of a world in which "Well, technically, it didn't break any existing rules, so it should be okay, right?" gets used to justify all kinds of ugly stuff. We live in a world that our existing laws were not designed to account for because it hadn't been invented yet, nor even imagined. It is almost like saying "Well, if we invented magic and used magic to murder people, hey, we should be allowed to get away with murder because our current laws don't have clauses that address the use of magic, amirite??!!"

Uh, no. You are not right. And I hope we will develop laws and rules that spell out that you are not right.
> Ditto, only ever breaks if you try to bend and snap it off deliberately.

No way. I've had many Micro-USB cables die because the connector gets bent. Trying to plug in devices in the dark or without being able to tell which way the cable is facing, not to mention the tension put on the connector when your device is in a bag or something, means the design is not very reliable in general.

My USB-C cables feel much sturdier, but we'll see.
I have my tin hat on so here's an upvote!
Just as mirimir said, it is biological norm to draw line between your own kind and everyone else. For example, both dogs and cats don't kill each other, but dog can easily kill a cat.
This stuff destroys your heart valves. You need those.

Here is how it messes with your heart valves:
https://en.wikipedia.org/wiki/5-HT2B_receptor

Note that DMT is in the list, along with some similar things that people play with.
I quite like how minimal these are, very nice for understanding and for quick coding!

With minimal code like this, I'm a little torn between declaring a class with members and using an anonymous data structure. A tree for example can be a tuple in python, and doesn't need to be declared. How big do you let it get before taking the time to declare a class?

Re: primes_sieve_of_eratosthenes.py, after doing more primes problems on Project Euler than I care to admit, I ended up with this pretty minimal sieve. The repo's indexing and .append in the loop slow it down.

sieve = [True] * n
for i in xrange(2,int(n**0.5)+1):
if sieve[i]: sieve[i*i::i] = [False] * ((n-i*i-1)/(i)+1)

And total tangent but have you guys seen the amazing and extremely memory efficient postponed sieve generator? http://ideone.com/WFv4f
Look, the manual of the car details that failure mode, it was predicted this could happen, it is proven (by the manufacturer, in the instruction manual) that that failure mode exists and the people involved in the accidents testimony corroborates that the button was not working. If you want to bring in deformation of the frame to the point where the doors do not open into play then I think you should provide the evidence, everything else points to the simplest solution: electrical system failure. And trust me, you want that electrical system off, even if it is only the 12V battery it could turn a simple accident into a very bad one in a hurry. 12V batteries are more than capable of turning a bunch of wiring into a nice little fire starter. I've seen this up close and it's not pretty.

Note that Tesla would be absolutely horrified to learn that this accident did not allow the rear doors to be opened mechanically because they were jammed as that would indicate a structural un-soundness of their chassis design.

Note that EURO NCAP makes fairly explicit mention of whether or not doors can be opened after an accident and that that passenger compartment deformation is a huge factor in the rating a car gets.

Electrical problem + making a nice handle on the door for emergency release: fixable. Rear doors jammed after mild front impact -> back to the chassis drawing board, massive recall.
Here are some decisions that you might be faced with when holding the CEO job at a 300 person company:

- The New York Times has just written an article about how your company mined user data and sold it in a nefarious way. But this sort of sale is critical to your business model. What do you do?

- You hired a VP of Sales 6 months ago who interviewed better than anyone you have ever met and came with glowing recommendations, but he has missed his quota for 2 quarters. Do you fire him or do you give him some more time?

- A competitor has, completely unexpectedly, launched a similar product as yours but is charging customers half the price. Your CTO doesn't know how they could be turning a profit at such a low cost. They're very quickly eating into your market share. How do you respond?

Obviously these situations would be far more nuanced than these 2 sentence descriptions and obviously you would get all sorts of opinions from employees & advisors but ultimately making these sorts of calls is the CEOs job. Making these decisions well is not easy and it can have a huge impact on the company.
Breath of the NES (Independent 2D Breath of the Wild)
The charitable reading is that it's not democratic because processors, not people "vote". The point of a 51% attack is that one person (more or less) controls 51% of the "vote".

I mean, we joke about how corrupt American politics are, but it's not like the Kochs or George Soros or whoever can actually control 51% of the vote directly.
How efficiently can an electric car be charged using a gasoline generator, anyway? If "1/3 of us charged our current petrol cars for comparable electric vehicles", there'd suddenly be a lot of gasoline sitting around doing nothing. We could always burn that while bringing more base-load capacity online. Sort of an 'electric-engine polyfill'. ;)
According to Wikipedia, "In 2002, the National Weather Service contracted with Siemens Information and Communication and SpeechWorks to introduce improved, more natural voices. The Voice Improvement Plan (VIP) was implemented, involving a separate computer processor linked into CRS that fed digitized sound files to the broadcast suite.... Additional upgrades in 2003 produced an improved male voice nicknamed "Tom", which could change intonation based on the urgency of a product"

Also, here are some audio clips http://www.nws.noaa.gov/nwr/info/newvoice.html
He's a democrat, it took just a second to look up. I don't know why you didn't just post that. Sleazy people in both parties - shocking news for no one.
Video: License plate covers. Are they illegal?
It's more like their competitors were always encouraging and spreading the negative press, and eventually it reached a tipping point that emboldened insiders to speak out and everyone went all out because it's a scandal and a way to be vindicated against Uber.
Their main r&d seems to be to stop others from getting approval for cheaper competitors.
Even fitting the interpreter in cache, there's obviously still some overhead to interpreting instructions rather than executing them directly.

Also, I suspect most of the memory related slowdown with interpreters is due to the indirections in memory representation of data/code, not the interpreter itself falling out of cache.
Not good advice, a B1 does not allow you to operate a business (though you can do sales or take meetings). You need to speak with a lawyer to determine what counts as working on your business. Also it's very hard to get a B1 as a European due to the visa waiver program which gives you 90 days - you need a very good excuse why those 90 days aren't enough (remember you aren't allowed to operate a business), and if they reject you then for ever after you have to click the button on the immigration form saying 'have you ever been denied a US visa'.

Your best options are the O1, if you think you can meet three of the eight criteria, or the E-2 visa. Both will cost $5-10k in legal fees and distract from building your business. Eligibility for E-2 with $100k in investment (must be from your home country does not have to be from you) will depend on your business plan.

Either way, you have to talk to a lawyer not an internet forum. Most lawyers will give you advice for free on the expectation that you will pay them to do the work.
Virginia is avoiding regulating self-driving cars to drive self-driving vehicle innovation.
> are resorting to leaking bad press, in the hope that external pressure will force a change.

Well I'll hang my hat now and grab my pitchfork to join the mob...
What recourse will we have against them? Do any of the punishments for our ruling class have teeth?

If you win, you become richer. If you lose, you... Lose your job at the state capitol?
That's a good way of putting it. You're moving from one failure mode to another.
That's not why your grocery store doesn't accept gold for a pack of gum, though. If you could have an unforgeable, standard-sized, $0.01 nugget of gold, you wouldn't have to convert it, you'd just pay with that.

That's what cryptocurrencies could offer.
Maybe Apple has an update to the firmware and/or software which resolves that issue.

In my opinion, tolerable behavior includes:

* Not charging at all (should indicate incompatible or disconnected cable)
* Charging (at any speed) only while off/asleep.
* Charging, but in some slow mode.
* Charging "quickly".

Any other behavior sounds like at minimum a software defect, and at worst a non-correctable hardware defect.
Wikitribune from Wikipedia
Wait -- these scientists think there's a possibility these hallucinations take you to an alternate dimension, and that the 'beings' encountered are not simply creations of our mind?

Fucking hell; they've tripped themselves retarded.

I guess there's no harm in trying.
You could always move to a country which does not spend your money on behavior you object to.
We can debate why people pay the "Apple tax" (ignorance, fashion, the fact that they once made very good hardware), but it certainly isn't because they have the best track record for working with third party peripherals like chargers.

Have you ever tried to charge an Apple phone or tablet with a charger for a non Apple phone?
I think you've also just well described so much of startup software development as well. Great ideas, a grand pool of undiluted computer science theory, nobody going "why do you need 120 servers to run a webpage?"
Open croquet
http://www.opencobalt.net/
Don't miss this! It's by the creator of the also excellent short film, WANDERERS, narrated by Carl Sagan: https://vimeo.com/108650530
I'm pretty sure this means Kubernetes Ingress on GCP now support WebSockets as well! People have been asking for this feature for a long time, glad it's available now.

(I work on GCP)
Point taken. Perhaps my reply could have been more constructive, as well.

The original suggestion to "solve your own problem" is a sound one. He doesn't say that it has to be a problem programmers have. And I doubt he was implying it would absolutely lead to lottery-winning results ;)

I believe that is better advice than finding a problem you can't relate to at all. As Jtsummers also suggests, choose something you will be interested in. Will you want to spend your spare time working on a solution for knitters if you have never touched a piece of yarn in your life?

I would also look at gearing any project towards the B2B market, as opposed to B2C market. I spend much more money with much less hesitancy for tech and software when it helps me or my employer make more or waste less money.

And I hope that most HN commenters can feel free to say "here's what's worked for me" when asked for advice without first offering up a disclaimer, and I suspect most readers can discern a lot for themselves.
GOMAD is probably the most straightforward diet for gaining weight (preferably along with compound free weight lifts, eg, squats. Otherwise all the weight gain is fat instead of muscle).

What it is - take your normal diet, and on top of that, drink a gallon of whole milk every day. A gallon of whole milk is 2400 kcal (200g carbs, 120g fat, 120g protein). Along with your normal food intake, this will make you gain weight.
The government is looking to relax those rules. This article suggests Tesla is waiting for the changes to come into effect.

https://electrek.co/2016/12/21/tesla-china-other-foreign-aut...
Wow! Hospital supplies, prescription drugs and many other health care markets are effectively un-enterable by new innovative entrants through similar kinds of illegal, anti-competitive arrangements....probably one of the reasons we haven't seen a YC hospital supply startup... '

"EpiPen’s sales and expanded markets brought in more than $1 billion in revenue for Mylan."
"The company’s CEO, Heather Bresch, is one of the highest-paid CEOs in the industry, earning nearly $19 million annually."
"Mylan...had...illegal deals with schools to undercut competitors and allegedly scammed federal and state regulators out of millions..."
You probably don't need Redux if it's just simple persistence of data.

The simplest option is just to read and write a blob of JSON using the AsyncStorage API: https://facebook.github.io/react-native/docs/asyncstorage.ht...

Another option you could try is Realm, which is commercial but has a free tier (even for commercial apps) and has a pretty simple API: https://news.realm.io/news/introducing-realm-react-native/

Another is the SQLite module which comes with Expo:

Docs: https://docs.expo.io/versions/v16.0.0/sdk/sqlite.html
Example: https://github.com/expo/sqlite-example/blob/master/main.js
How about this, tell me if it works for you or not;

A path is sequence of correlated activities that lead to a particular goal or deliverable.

A choice can increase or decrease the total number of goals or deliverables.

A decision can increase or decrease the success chances of a pre-existing goal or deliverable.

Generally a startup CEO has one deliverable, the product. And all of their actions are decisions on how to de-risk that deliverable at minimum cost.

An enterprise CEO has multiple deliverables, evalutated as 'enterprise value'. Their actions are generally choices to add or remove deliverables to increase enterprise value.
I suspect that is not the reason people do not send gold back and forth.
Robert Pirsig: Zen and the Art of Motorcycle Maintenance Author Dies Aged 88
But the group has order 2^k. Since the powers of x (for any group element x) form a group themselves, Lagrange's theorme tells us that the order of x must divide 2^k. This should mean that it is impossible for x to have order (2^k)-1. If fact, it means that x^(2^k)=1.

Further, if you are given the value y=x^2, then no power of y will give you x.
I'm not saying that you're wrong in believing that the cause was likely due to power failure. My point was that you didn't actually know that for a fact (and hadn't even made an argument for it being power failure, you simply assumed it without explanation). You're accusing me of moving the goalposts simply because I challenged an assumption you made.
I'm a huge Elon fan, but it feels like he's jumped the shark on this one.
"A is working on one chain but B and C are working together on another chain, so the A chain has 40% and the B/C chain has 60%."

but if B and C are working together, it implies there is some sort of relationship between them so they could be coordinated together(e.g. owned by same org), this not the case I am trying to use here;
my case is really 3 independent miners
I reject this entire post. Stock prices reflect the day to day movement. At most the consideration is quarterly. New ceos are commonly brought in to cut costs by degrading internal resources for quarterly bumps. Retirement stakeholders have no say in this.
"good" and "bad" are comparisons, not quantifications. The correct question is something like: all else being equal, what is the difference in expected lifespan between a juice drinker and a juice abstainer?

I'm pretty sure that HN has consumed more of my lifespan than any diet could compensate for.
Worse still: if you lose other people's money you get bailed out (oh, and no bonus for like 3 years or so).
So management in general doesn't deserve more than $X? CEOs do much more than simply broker deals, and the rest is explained by basic market principles-good CEOs are scarce, and therefore well compensated.
One more thing is that every single SSHD ran @ 5400rpm. I ended up buying a conventional HDD @ 7200rpm and bundled a portion of my SSD with PrimoCache.
Yes, absolutely. I do in fact think United should not be directing law enforcement to drag their customers off their planes.

I haven't heard of American being in the news lately--so can't comment on any wrongdoing that they've been up to.
FORTH has claimed exactly this for decades, I think :)

(or was that L2?)

may be doing just that right now in your x86 BIOS :)

https://news.ycombinator.com/item?id=8869150 for a HN discussion
Ask HN: How to succeed in tech as an introvert?
Just some background: Currently a student and introverted to a large extent. I tend to avoid company parties or any other large gatherings. I'm intimidated whenever I intern at a new company because it seems like every other intern is outgoing and making the most out of their experience. Just as an example, some interns invite random people working in completely different departments to lunch. I've noticed most people who go out of their way to do things like this do go on to to be successful in general.

So my question is, knowing that I'm (very) introverted, how do you think I should change or improve myself to have a more successful career?
Sure, I wouldn't be surprised if some reporter at TechCrunch had a vendetta against Uber.

But I have been barely getting much of my Uber news from TechCrunch lately. So either the entire tech media has a vendetta against Uber, or it's not both.
And you think you're having troubles with your startup?

"Zen was published in 1974, after being rejected by 121 publishing houses...then Pirsig lived reclusively and worked on his second book Lila for 17 years before its publication in 1991."

"Quality is, how do you know what it is, or how do you know that it even exists? If no one knows what it is, then for all practical purposes it doesn't exist at all. But for all practical purposes it really does exist."
Do you think it's possible to monetize this to make it a full time gig?
A discouraging idea - checking eBay, brandnew Cuecats are like $10. I think that's well below their original selling price, even after all these years of inflation.
Eating other species does have selective advantages.
I enjoyed this conversation chain a lot!

> I think it's interesting to take propositions to their logical extremes

What I find most annoying about animal rights activists is that they mean well, but most of them haven't really thought through their position, and pushing their positions to logical extremes is a great way of exposing it. People actually value human life above other life, and those that claim otherwise are either liars, psychopaths, or they just haven't thought it through.

I mean, if you make a classical trolley problem where you have to choose between saving 1 human baby or N puppies, is there a number, N, such that you would save the puppies instead of the baby? The logical consequence of "all life is equal" is that N=2. That's clearly murderous. If you were to make lifespan a factor, and dogs live 1/7th of a human, then N=8. That's still highly objectionable.

I honestly don't know if there's a number where I would start choosing the puppies.. 1 million? Puppycide or one human? Or is that example too extreme? I don't know, but it's interesting to think about.