skysight-inc/HackerNews huggingface dataset:
Oh my god this guy is a freaking genius! He totally cracked the restaurant code!

> "Make your food delicious."

No shit? That could possibly make customers happy?

> "Next, consider cooking an art form."

Aha, okay...

> "Go ahead: Kill tips and list a fair price for your bowl of brisket pho, grilled lamb shawarma, or omakase."

Haha, okay... well if it's this easy... how could everyone get it so wrong? Damn!

---

FYI - I never felt uncomfortable to tip in a restaurant. I go even as far as that I don't dine in restaurants which have a no tip policy or where the tips go to the owner instead of the staff.

Also, restaurants already charge a fair price. It's one of the longest running industries and they do still pretty well, so clearly they already ask a "fair" price for their phos. The wage for a chef or other staff is not determined by the menu price but by the market rate. If you have more people who can cook than people who need a cook then it's a bit tough isn't it.
I actually found myself factoring my code differently after learning lambda calc. It at the very least seemed to result in better code (c#) so I would say there is practical benefits.
You're still thinking about these servers as a bare metal. We don't keep the servers running. We create a server always from scratch or based on an image we prepared or with a docker container that is automatically pulled from an internal repo once the OS is turned on.

This is the benefit of running on GCP. We don't have to trouble ourselves with the headache of scaling both with the images and containers thanks to the internal tools offered by GCP.

We quit Softlayer around February. We were running bare metal and they went down so often that we essentially ended up keeping one super large server for a very insignificant service. We never gave them too much of chance so I may be too harsh.
You could run XP in a virtual machine. Bonus is that it will portable when and if you upgrade the machine.
Handling empty WHERE IN clauses in DBALs
We already have huge portion of the system in C/C++ ;)
Freight brokerage is a common entrepreneur business model. It's also mostly localized and commissioned.

Every market has a variety of players (shippers, carriers, brokers) in the game which brings volatility to pricing and where brokers can find arbitrage opportunities to earn themselves additional revenue.

The business is also cyclical, seasonal, meaning again highly volatile and the reliance on the brokerage model to maintain continuity in the marketplace.

Past the pricing level there's also multiple levels of bureaucracy to manage. Everything from documenting and confirming loads, rates, BoL, LTL, CoC. Lots of which is still manual and tedious on purpose.

Then you finally get to the scheduling, dispatching, and invoicing, which is Uber's area of expertise.

To play, Uber needs to tackle all three levels. Re-build the software layers, re-build the processes, then throw in from their deep pockets to take over territory one by one.
yes and no, it is easier to do it. but large trucks are a bigger hazard on the road the a small car, they can break the middle barrier, can do a lot more damage on the road. the fines for the drivers and the companies are allot stricter.

they have to get it 100% all the time or they cannot put it on the road. One glitch and you have a 25t missile on the highway. Imagine the chaos that can cause, and imagine the liability of the company operating that truck.

while it is easier in ideal conditions, it is not easy in real world.
As a person who was born and living in a country which has no tipping culture.
The tipping sucks.

I should have been fully informed how much should I have to pay before I purchase something or some service.
Any extra demand from agreed amount should be illegal.

I also don't want to waste my precious time on paying the tip for calculating tax.

The worker's salary is a employer's responsibility.
If the the worker become underpaid without the tipping, then the worker is underpaid by the employer.
Why RAID 10 is better than RAID 01
Appears to be really hard to pull off. How many hours of training does a person need to achieve let's say 20wpm?
Sorry for hijacking OP's thread but I would like to ask the crowd about degree and universities. As for someone outside of the US what are my options? The unis are not equal. Most of them are just meh (good enough). Why would I spend 4+2 years in some place just to get a piece of paper when I am currently earning 65k euros?

The point is in the EU most of the unis are really just not that up to date when it comes to teaching you the real deal ( minus math and cs basics). And they are inflexible bureaucrats.
I don't believe that's correct. Look at a Surface Pro trackpad next to a MacBook Pro trackpad.

http://i.imgur.com/rynFtJQ.jpg

The MacBook Pro Trackpad is 206% of the size of the Surface Pro 4 trackpad. Literally double the size.
well, the title ("how to find size of an array in C without sizeof") certainly made it sound as though there was some use to this!
The government is leading the way because they have NASA budget to spend on completely unprofitable, but scientifically interesting projects.
Except that the end to end points are not connected directly by a highway. They do have to move in the cities as well, so they need to optimise for that anyway.
Things like the parentheses in print was why the 2.7 branch was created -- allow the old to exist and make available some of the new features. Probably the biggest mistake there was not to make deprecation warnings on by default, to accentuate that it was a transitionary release. Then again, it's the same problem PHP has, with not wanting to warn that the old way of doing things is going away for various reasons.
Magento 2 Multi Vendor Marketplace
Top 15 Most Frequently Asked Questions of Our Clients
Flying Robot Car Simulator
Ask HN: Why Django sucks?
Good heavens! Thanks
Instability resulting from war or corruption leads to the collapse of enforcement of anti-poaching laws, and simultaneously encroachment by farmers and miners occurs either in a likewise lapse of enforcement or through direct sales by said corrupt sovereigns.

The only cure is a ubiquity of states which are willing and capable of protecting and rewilding these lands, restoring entire indigenous ecosystems, and halting or mitigating the destructive effects of climate change.

In regard to market forces, the US does not subsidize these grazers, unless you mean aid to their host countries.

Our complicity lies in a series of free trade agreements which pushed US production around the world while the carnivorous part of the American diet followed culturally.

As this global demand for meat already exists, the die is cast. It is a problem for culture at this point (short of dietary fascism).
Having used AWS in production for about 2 years, I can say that scaling in the cloud is hard to get right. Spikes of traffic and load are hard to scale with, especially if you're scaling down to just the right amount of instances to manage the current load. We try to keep 50% capacity free for such spikes. Speaking with AWS support, we can fix issues with limits and scaling elbs, in hours not weeks, so I haven't had the same experience as you in that respect. One thing I would suggest, is that you have 2 AWS accounts. One for dev and one for prod. This way you should be able to see the limits that you're hitting before you get to production, and can raise tickets to get them ammended.
If you don't plan to support IE9 then by all means use Bootstrap 4. But keep in mind that Bootstrap (or any CSS framework) are not a perfect solution for not learning CSS. Sooner or later you will need to modify bootstrap or create your own styles.
Seconding the recommendation for Practical Electronics for Inventors as a comprehensive and self-contained book for learning electronics at a hobbyist level.

Art of Electronics is also a good book but needs to be read with a discerning eye to place everything in the appropriate context: some sections are important, some are premature optimization for hobby-level projects, and some are flat out obsolete. I feel it's better used as a reference book than read cover to cover.

Also worth playing around with the Falstad circuit simulator: http://www.falstad.com/circuit/

And there are lots of good app notes out there from the manufacturers. (http://www.ti.com/ww/en/bobpease/assets/AN-31.pdf is a classic.)
In platform-specific matters like this (text rendering, input handling, &c.), Microsoft has always led the way in IE or now Edge, Mozilla following after a while (admittedly often years) in Firefox, and Chrome typically years later. Firefox and Edge handle precision touch very well; Chrome… well, it’s OK these days. But definitely not great.

I’m still waiting for Firefox or Chrome to actually implement the Pointer Events API properly. Edge does exactly what I expect, Firefox does almost everything as I expect, Chrome is simply terrible. And only Edge supports pressure sensitivity, so the Surface Pen only has full utility on Edge.
Previous discussion [1].

[1] https://news.ycombinator.com/item?id=11209228
One of the biggest reasons I stopped using PCs, and started using Macs, was the quality of Apple's touchpads. I recently had to work with a new Dell, and was sad to see that things hadn't improved much during the last 10 years. Seriously, what manufacturer could possibly compare a Mac to their PC offering and find that crap acceptable? I hope this push by Microsoft will result in a more Mac-like touchpad experience for PC users.
> Of course, if you happen to be the one who got there early, and you like having 3-hour meals while chatting with your friends, it's the perfect arrangement, because nobody will pressure you to eat, pay, and leave in 30-40 mins as usually happens in the US.

If I'd like to be pressured to leave asap I would go to a fast food chain. So, this doesn't sound like a problem at all, more like a feature.
> "No, learn CSS!" but isn't CSS exceedingly simple?

No, it's not. I don't want to start a CSS flame war, but at least for layout / positioning I struggle every single time with CSS, especially on sites with dynamic content. CSS is my least favorite part of the web development stack by far.
This is something I've also experienced during my travels to Europe, in particular in Paris. I will say I've found this to be a "feature", not a "bug". In addition, it's uncommon for the check to be presented without it first being asked for, whereas in the US, once you "pass" on desert, you're given a check.

I'd love to see a non-tipping culture organically rise up. I'd choose restaurants that pay a living wage for all full time employees, sans the need for tips. I know some restaurants have experimented with negative results, but I'd like to (maybe wishfully) believe that this can still take hold in the US.
Toronto sisters arrested for cyberbullying and extorting Nigerian billionaire
Here[1] is one that's not being accepted. Here I have to draw an equilateral triangle given a straight line.

I am drawing two circles, on the two terminal points, with radius as the length of the given line. The intersection of two circles is the third point of the triangle.

[1] : http://i39.photobucket.com/albums/e179/iamcreasy/Screenshot_...
You are a landlord. You need to decide whether to make an improvement to your property.

There are only two things you care about:

1. How much money does that improvement bring in?

2. How much does that improvement cost?

Neither of those two inputs are affected by a land value tax. Therefore the landlord must reach the same decision, regardless of whether there is an LVT or not, and so LVTs have no effect on whether landlords improve their property.

You might think that they'll be motivated to improve the lot in order to be able to pay the LVT, but that rationally doesn't factor in to the decision to improve the land or not. It only affects the price of the land (Imposing an LVT makes land prices fall by the discounted future cost of the tax).

And not to be rude, but it seems strange to jump into discussions recommending LVTs as a solution to an economic problem without first understanding basic economic theory.
chrome does its own crazy smooth scrolling stuff, it has also been changing a lot in the last few release. YMMV.
Yes, and some of us really appreciate this. I love long lunches and dinners. I hate visiting many US places and feeling rushed.

Sometimes I think American dining is about just food, rather than the whole experience of dining, which includes the conversation with friends and family.
The point you're missing is that is that is was another change, for changes sake.

You're right, a print() statement is better than just print, but it was an unnecessary change, that was made 'for the best' without sufficient justification.

Python3 allowed the devs to fix some of the mistakes or sins of the past

Unfortunately, historically, it seems that it would have been a far, far better choice to roll those fixes out incrementally, even if it meant multiple breaking changes.

It was too many changes, all at once.

I think the lesson here is that time and time again, 'big bang' breaking changes have been failures.

2to3 should have made this a trivial change; but that only holds if 2to3 actually worked for every other simultaneous breaking change (it didn't).

A far, far more mature and better approach would have been the 3.x line being a continual stream of breaking changes with a flawless 2to3 that converted 100% of every python2 program to working python3, and a series of 3.xto3.y migrations that flawlessly upgraded python3 code until all breaking changes had been worked out.

Imagine if you had a series of transformations you could apply to any python2 project and you could incrementally migrate it automatically to 3.5. That is what we should have had. Screw print statements; invest in meaningful stuff when you make breaking changes.
This comment is why I love hacker news. Pendantic, yet informative.
New gene-therapy cancer treatment 'wipes out' dying girl's leukaemia
I lean toward agreeing with this article, however laws would probably have to change in order for it to work. Raising prices, say by 20%, and passing that money directly to servers is fine IMO. That would not only eliminate tipping, but really invest employees in the success of the restaurant. Further, the restaurant could decide the "tip" portion of the price on expensive alcohol as well, eliminating the ridiculousness of calculating the tip for the food and alcohol separately (many people don't tip the full 15-20% on very expensive bottles of wine, for example).

Where this falls down is that tax would then be charged on the raised prices, meaning we're now paying a tax on the "tip". I think many people would find that hard to swallow. So it's a good idea, but local and state tax laws would have to change.
It is a nice feature unless you're on the other end of the deal, walking from one completely full restaurant to another looking for a table. In a sense, it's an inefficiency because a table may free up shortly after you leave, but the staff wouldn't care to predict that.
Since 1998, I don't think I've ever worked for a "software" company (transportation, HR, healthcare, and logistics make up the bulk of my experience). As a result my code has tangible results, instead of trying to innovate itself into meaning.
پکیج تور تایلند ویژه هتل های ۳ ستاره پاتایا ورود ۱۸ ژانویه ۲۰۱۷
Oh, I might not be aware of that type of CSS framework. Can you point me to some examples? I was thinking of frameworks like Bootstrap and Semantic UI.
But food prices _wouldn't_ go up in the owner-operated restaurants which would then have a significant competitive edge. Likewise real estate prices should go down, higher taxes would mean less demand and owner-operators would be more motivated to buy than investors. Likewise investor dollars would be guided by taxes to more productive targets.

Investing in restaurants that own land as opposed to investing in land that restaurants use seems like it would have significantly different effects to the economy.
I've never had X forwarding work well enough to actually be usable, and last time I checked NX was still a massive (/non-free) pain to setup.

Besides, I already have a workflow that works perfectly fine, is headless as I prefer, works with mitmproxy, etc.

Also, I installed Fiddler from AUR again this afternoon and it just looked awful. The settings menus were unreadable, for example.
I think as a counterexample, one could look to projects like FreeBSD, which have had a long-running development branch and branches for release for a very long time. Breaking changes happen in -CURRENT, but within a stable branch -- 10.x, 11.x, etc, you even get things like ABI compatibility, so a module written for kernel 10.1 will work for kernel 10.2.

The example projects show more a lack of development discipline than a problem with the big break model. A version number change from 1.8.7 to 1.9.0 doesn't suggest big changes that one should be cautious of, causing problems. Linux Kernel 2.5 had the problem of a lack of developers willing to write more inclusive tests and a lack of a pre-determined roadmap. Python had the problem of a lack of a transition version where deprecation warnings were on by default. Successful breaks can be made when they are declared in advance so people can have reasonable feedback. The projects in question show communication problems, not problems with the idea.
Cout-embauche: Simulate the cost of hiring in France
This would be awesome for people who are disabled. Voice input is still a pain and only works with a limited number of applications. If you could somehow switch between keyboard and tracking for the mouse pointer, this could give full use of a computer to many people.
I look forward to the breathless praise from tech news, with lots of fluff about automation and driver-less lorries.

I suspect that as they have to deal with real companies, with lawyers that do due diligence things won't be so smooth.

Delivery is business critical to most companies, so Uber are going to have to make a pretty strong pitch to get business.

I'm not sure who they are pitching at, companies that do lots of hauling will have decent relationships with haulage broker/companies directly. They'll do credit and guarantees.

The other thing is that I'm strongly suspicious of Uber business practice, as they appear they'll do anything to make a quick buck. (drop drivers, jack up prices, lie, cheat and generally break the law)

That's not something that I want when shipping business critical stuff. "oh sorry, the surge price on the haulage has changed, conference season you know..." or "we've dropped that subcontractor, we're sorry your pallet appear to have been lost"
I'm 23, coding since 12. Probably echoing a lot of comments here, but contribute to open source! Not only will it help your prospects of getting a job, you will be helping others which is just as rewarding (if not more). I have only studied 2/5 years of a master in CS, and I get job offers solely based on my Github profile. I don't even have a CV. The industry isn't as competitive as you think. Good developers are rare.
Is this proof of life on Mars? NASA rover discovers a large SPOON on the surface
> It is extremely hard in this industry that is changing so fast

Doesn't move as fast as you think. Tons of work doing "boring" work. Read what Scott Hanselman says about "Dark Matter" developers: http://www.hanselman.com/blog/DarkMatterDevelopersTheUnseen9...
Is Google Making Us Stupid? (2008)
Openjdk is fine for commercial applications. If you have commercial code openjdk will work fine. Just make sure that flag isn't enabled.

Openjdk doesn't have all the same features as the oracle jdk (javafx etc)
Machine Learning Use-Cases with Apache Spark
Parsing regular expressions: the tale of regex101.com
You might think that they'll be motivated to improve the lot in order to be able to pay the LVT, but that rationally doesn't factor in to the decision to improve the land or not. It only affects the price at which the land is bought or sold.

I misunderstood the LVT as something that is levied against the landowner every year?

And not to be rude, but it seems strange to jump into discussions recommending LVTs as a solution to an economic problem without understanding basic economic theory.

I read an economist article on it, and I thought that I understood it. Apparently I don't.

I won't be recommending it in the future until I fully understand the consequences.
To answer this question, I'm more interested in how do you learn it first.

All these frameworks are just COPY & PASTE the pre-made code. For example, you wanna button in that style:
http://v4-alpha.getbootstrap.com/components/buttons/

Copy that code and paste into your HTML. Whatever v3 or v4 are the same way.

If your learning way is memorizing the code without checking the document each time, then I'd say v3.
Microsoft should release their own multi-touch touchpad with this tech and call it the Surface Touchpad or something along those lines. Basically their equivalent of the Apple Magic Trackpad. It's what I miss when I've got my Surface Book docked, having come from a MBP/Magic Trackpad setup.
That's exactly right. Either that or a catastrophic mechanical failure. It's really not an experiment you want to do. One way or another, it would be both ugly and irreversible.
> And yet it's considerably more expensive.

Even after you've included all of your costs?

It's easy to say the raw food ingredients are considerably less expensive, but that's only a small part of the story. There is a cost of having a kitchen (tools and space in the home), utility costs, not to mention your time.

Maybe a high end specialty restaurant that is selling an experience, but I'd be surprised if you could actually compete with a place like McDonalds on cost.
Learn both, it's not rocket surgery.
I believe the fallacy you've created here is called a false dichotomy. There are obvious shades of gray here.

In the category of the government already doing it, there is a difference in outcomes between doing it with x funds and n*x funds.
> And yet it's considerably more expensive.

Is it? I thought one reason that obesity was higher among people with lower incomes is that it's cheaper for them to buy prepared food than to work an hour less and cook themselves?

If I spent the time I did on cooking on paid work instead, the money I would make could pay for a very good meal. (of course, I don't, I still cook because I can't spend every waking hour working or I'd go insane)
For me, restaurants are not about getting nutrition, they are about enjoying the food and spending a nice time with friends.
The connection between machineguns, mufflers and silencers
Masonry dam had quite a different problem which is just that there was too much water and it couldn't keep up, so water spilled over the side about 6000ft away from the dam. The problem with the Mosul dam is that it's built on soluble rock that could be swept away with enough pressure. Yes, too much water is the cause of both failures, but they're quite different.