skysight-inc/HackerNews huggingface dataset:
Not true. We've also found that rebasing our own work onto the latest master makes it a lot easier to deal with conflicts. When you do a merge, the conflicts you see are a mixture of your own code and someone else's code, and it can be hard to tell which is correct because you're not familiar with the other person's changes. But when you rebases, all of the changes are code that you wrote, so it's easier to figure out how to fix the conflict.

This may sound counter-intuitive, because you're thinking it's the same conflict either way. Most of the time it is; if you and someone else changed the same bit of code, the conflict will be shown to you the same way whether you merge or rebase. Those are easy to fix. What's harder is when someone reorganizes some code without making significant changes to it. In a merge, you'll see changes all over the place, but in a rebase git can usually figure out the new line numbers, and may not indicate a conflict at all. The other area where my team has had difficulty with merges is in Visual Studio sln and csproj files. When you add new projects to a solution or new references to a project, git can present a very confusing diff during a merge conflict. But for rebase only your additions are highlighted, and most of the time you can solve the conflict with "use theirs before mine".
> he has managed to save $43 a month on gas!

He saved $250 a month on gasoline didn't he?
That math doesn't work out.

$5000/year on gas is $416/month.

$3700 charging over 2.5 years is $123/month.

That's a saving of $293/month.
I would only consume the archive of tumblr blog that is primarily photos that way. Trying to read a mostly print blog that way would be difficult.
Can't speak to the statistic claimed, which does sound a little out there, but I can certainly testify that multiple millionaires shop at this Wal-Mart: http://www.walmart.com/store/59

Store 59 is also sort of a special case, in that when they leased their first building for it in the '70s, it was at least twice the size of anything they'd leased before, and became the proving ground for their Supercenters. And they made a point of rebuilding and reopening the second building on the site within 6 months after it got destroyed by the 2011 tornado (granted, that was easier since they didn't lose much of their employee pool (no one was killed in that Wal-Mart, but I'm sure some moved away because of the housing shortage), they were all very busy at the 2 other Wal-Marts in the area in the interim).

To provide a personal anecdote, one of those multimillionaires was my father, who in the early '60s was a low level manager at a Ben Franklin "Five and Dime" (https://en.wikipedia.org/wiki/Ben_Franklin_(company) ) in Joplin when Sam Walton, who owned a set of them down in Arkansas, would regularly drive up to Joplin for airplane trips. He'd always stop by and talk to the owner and managers of this (set of?) Joplin (area?) Ben Franklins, getting a feel for what was going on here. Very smart guy (certainly smarter than the Joplin owner, who declined the offer to invest in Walton's new venture...).

Stepping back to the general question, the crime patterns in Joplin area's four Wal-Marts pretty much match the neighborhoods they're in. Before anyone can claim Wal-Mart is doing a bad job here, they've got to correct for that.

Although I can't speak to the stories people are telling of poorly managed ones, only that I've never seen or heard of such here, the stores are well run and to my observation, pretty much all the employees but some of the cashiers are reasonably happy/satisfied with their jobs/whatever.
Why do Danish Americans do better than Danes?
Three!? Lucky.

New York yellow cab drivers split 12 hour shifts and pay ~$150/driver/day just to lease a medallion.
Analyze your GroupMe groups without giving access to your account
You can retarget, but through Dynamic Ads and Custom Audiences. It means that you can't do programmatic or through third party adtech platforms.
Wow, that's totally crazy. Is that due to Android projects needing to link against Android which is a very large library?

I don't recall it being that dire for my non-Android project, but I don't recall checking my mem usage either...
Not only that, but the parts he did replace are more expensive that his old car.

In other news, a luxury car does not compete well on economics alone.
HN is pretty good after the update that introduced tree collapsing, except that the up/down arrows are implemented weirdly. So on my Windows tablet, and occasionally on Android, when clicking on the arrow the browser decides to snap to the nearest clickable link instead, which is the userid.

I'm also intending to build a scraper simply so I can determine what my highest voted comments of all time are.
This is coding 101: Write/include only the code you need. No more, no less. To quote ESR (as much as I hate doing so), "Don't just do something, stand there!"

And yes, security and error checking are necessary. Anybody who says otherwise should be drawn, quartered, shot, and fired.

As much as I like this post, a framework sometimes has some value. If you're writing a true SPA, it'll only be loaded once, and something like React or Mithril is nice for a bit of structure. Mithril in particular, due to its small size, is handy.
Best it would be paid by public who would not even be watching or interested in that event. I think it is just a variant of 'You may not be interested in politics but it does not mean politics is not interested in you.
Avoid Bad Mobile App Reviews – Here's How
Appium setup on windows
Consider a salesperson. They make pitch after pitch, each one failing, a series of negative events. Being "pessimistic" does help identify the possibility that they are not selling effectively.

However, Being "optimistic" does not preclude change. The optimistic view is that each such event is driven by the prospective customer's choice (impersonal), is a stand-alone event (temporary), and is only a lost sale (specific).

The optimist is free to explore some options. For one thing, maybe they are selling to the wrong customers? Or perhaps their sales techniques don't fit those customers?

Since the optimist believes these are one-time events, the optimist believes it could go differently tomorrow. That doesn't mean it will magically go differently tomorrow! The optimist believes that they can make some changes and get different results tomorrow.

The pessimist believes that since they are permanently at fault, change is futile. The optimist believes that change is possible.

Now what about the idea that something is generally wrong with the optimist? For example, perhaps they don't listen in general, and this is why they are not selling. Well, "Stop being rude" is difficult to act on. "Listen more..." What does that mean exactly?

The optimist can drill down into specifics. What, specifically is going wrong? Ah, customers don't believe the product suits their needs. We can fix this, do more needs analysis in the qualifying portion of the sales process, and then write proposals in a "where-we-are-today, where=we-want-to-be, gap, how-the-product-forms-a-bridge" format.

So they fix listening in sales. And then they notice a problem in their personal relationships, and they fix listening there too. Lather, rinse, repeat. And perhaps they graduate to fixing a self-absorbption problem.

General problems need an accumulation of specific fixes to conquer, and learned optimism can help.
Sounds like a similar idea to https://en.wikipedia.org/wiki/Curl_(programming_language) -- can you compare them?
Don't forget Apple's app stores giving billions to devs, the billions made by software vendors making windows software, Facebook's platforms generated lots of revenue for other businesses, etc, etc.
> If you screw up a rebase, the history is re-written…

https://git-scm.com/docs/git-reflog

> …or force-pushed by accident

Well, you could nuke git folder "by accident" as well :) Jokes aside, don't force-push to "other's" branches).
numpy does this, with np.datetime64('2013-07') or np.datetime64('2013-07-01 12:15'). I wouldn't recommend using it if you're not otherwise using numpy, though.
>I work at a place where we surgically remove deadwood, keep valuable people & tech. Those who have value feel valued.

I smell coolaid.
Oh, god yes. If you need a special, mobile only site, you're doing it wrong. HN is living proof.
Gonna be such a pain having bent the usb type-c connector while having phone in your pocket..
I don't know that the math is right in this piece. In one paragraph they make mention of "a yearly tax credit of $150,000", then in the next they say "With a yearly tax deduction of $150,000 and a second deduction of 35% of costs (35% of $1 million = $350,000), that’s a total of $500,000 in costs recouped, or 50%."

Credits and deductions are not the same thing. A credit is netted against your tax bill, a deduction reduces the taxable amount of your revenue. A $1 deduction therefore provides a much smaller benefit than a $1 credit.
No supercharger in Quebec City, but some destination chargers.

https://www.tesla.com/en_CA/findus?redirect=no#/bounds/46.98...
GameDVR: Is Windows 10 recording my screen, at all times, without permission?
Walmart stores are also convenient to a lot of people. I'm not their target demographic and don't really like grocery shopping there in general. However, one is nearby and it's pretty common that I'll pop in to pick up something even though I don't generally do a "weekly grocery shopping" there.
Drive train was replaced 2x for free.
This is how I explained entrepreneurship to a group of 5th graders
From 2013: "How I served 100k users without breaking the server- or a dollar bill." (on S3)

http://blogging.alastair.is/how-i-served-100k-users-without-...

I've been using S3 for serving so much of my web work that I can't believe it has only been 3 years since I learned how to do static page serving on S3.
Sorry Ass: Remake of the PC DOS Game Donkey
You are missing that the drive train design was entirely new when Model S was released and had some design problems that needed fixing, hence the free replacements.
> If you screw up a squash merge, you can still check out the intermediate commits if you know the hash.

if you're going to store commit hashes externally instead of using the reflog then it makes no difference whether you use rebase, merge, or even cherry-pick or reset.

also, sudo itself poses no risk; it's much more important to evaluate what you're running, instead of a blanket restriction on what is just another tool. if I run "cd /; rm -rf *" on my desktop, it doesn't really matter whether I'm running as root or as my user, I'm going to have a bad day. "curl | sh" is equally as dangerous as "curl | sudo sh".
>[Citation needed]

As I stated I am working with them, so I have some non-public information regarding specific store numbers which I can't disclose under NDA, sorry.

However, here is some public data, the average WM shopper is a 50 year old white women with a household income of $53,125. [1] Another article showing 10% of WM shoppers make $75k-$99k and 15% of WM shoppers making $100K+, though this is based on a survey of 4,000 shoppers, so I don't know how accurate this data really is. [2] You can find other odd facts about their demographics floating around, such as a greater percentage of $100k-$150k households shop at WM than percentage of <$15k households. [3]

100,000,000 customers/week is obviously a ridiculous amount of people and reflects a giant cross section of society. Annually 80% of American shoppers will shop at WM at least once this year, see [3].

Anecdotally, I would say the newer model Walmart Neighborhood Markets are nice and clean, and I would say on par with groceries such as Publix, Meijer and Kroger.

[1] http://www.businessinsider.com/meet-the-average-wal-mart-sho...
[2] http://www.businesspundit.com/heres-a-breakdown-of-walmart-s...
[3] http://brandongaille.com/41-interesting-walmart-shopper-demo...
It clearly says in the article those were early drive shafts that had a known defect.
In the hypothetical scenario where we didn't have a "space race" with Russia doesn't mean humans would not have figured out how to send a few satellites to space. Or learned how to triangulate signals to make GPS work.

The OP said "lots of money was wasted". Sending rockets into space was very valuable. I don't think anyone questions that. But that was hardly the only part of the space race.
Because it is completely unrelated to express, and even with express that is not really how it works so it'd only cause confusion
$3700/2.5 years in electricity vs projected $12,500 in gas. So about $8800 in savings over 2.5 years, ~$293/mo, ~$3500/year. Still makes it hard to justify the Tesla based on just the gas savings, unless he keeps the car for >15 years.
The only one I've ever lived in.

https://www.wolframalpha.com/input/?i=1%2Fx
That's correct for many websites, but others such as Facebook have such a complicated but still correct UI on a desktop that it's appropriate to have two different websites.
...And why would you want that?

All your applications share the same virtual memory space. So you have a much higher hit rate in your TLB, then without. It greatly lowers the chance that shared memory will leave L3 cache.

Cache hit rates are very important...

The advantage for fork(2) over clone is that you CAN'T
share those datastructures, making it harder to write
code resulting a deadlock

Dead locking has nothing to do with how RAM is accessed or how virtual memory is partitioned, it has to do with how you are managing your locking. Modern memory/instruction re-ordering is stupidly fast. If you are locking memory/data structure locations you are likely doing something wrong. Concurrent Memory fences are around 3 orders of magnitude faster then locks.

As for the kernel resources for the process, you'd be
surprised how large RAM has gotten these days...

TLB/L2/L3 cache is still premium real-estate. RAM size is awesome! I love waiting 100,000cycles to get the page I requested.
How do you guys approach the one branch per developer rule? For smaller changes, i do it all the time but it is very hard for bigger changes.

When we write bigger features we always need at least two dev. One writing the front end (HTML templates) and one the backend (whatever populates the templates, makes sql query). We both need immediate feedback. I design the models around the templates so i need the templates at least partly to work. He needs the models to properly do his work either (if he wrote the templates before I write the models, the development of the whole feature would slow down and it is not nice to only work with a lorem impsum all the time. We also get very detached from the actual feature that way.

How do you manage those situations? Just do one branch per feature and if that feature requires more work, then just let two people work on that feature?
I'm surprised that Tesla honors the consumer warranty with the car being used for commercial purposes. That's pretty unusual I think.
> Most people don't realize just how much AMD has turned around the past year.

I've been recently reading stock reports from some of my banking friends (and actually chatted with some staff at AMD) because I'm curious about the turnaround. Don't own equity yet.

Just last year AMD looked to be in very dire straights, and are still operating at a loss. Is the consensus that they are going to survive now?
They're both about the same, but vimperator is more frequently updated for compatibility with new Firefox versions.

That alone is much more useful for me.
I believe they have 8 year warranty for 100,000 miles by default, and you can increase that to 8 year and "infinite miles", which is what the taxi driver wanted to do next:

https://www.tesla.com/blog/infinite-mile-warranty

EDIT: It seems to differ based on battery model and other things, and the basic warranty is just 4 years and 50,000 miles now:

https://www.tesla.com/sites/default/files/blog_attachments/m...
Adjusting font size with vw is fun, but often the rate at which the font scales is kind of loopy especially when compared to small type. This article takes the example you mentioned above and takes it much further. https://www.smashingmagazine.com/2016/05/fluid-typography/

Have used * + * before. It creates this huge dependence on the placement and ordering of your html you can't create psudo elements to pull off some style trick, there are often a bunch of exceptions when using it too that it kind of defeated the purpose of using it in the first place. Best to have a .class * + * in front of it to relegate it to a specific area.
Google Now and Siri are opt-in. Google Now is part of Google App apk which can be disabled.

Cortana can be disabled with renaming an .exe in AppData folder.
Considering that Microsoft's Privacy Statement now asks for complete access to all data on your computer, I cannot see how any privacy concerns should be too exaggerated.
Strange doubles behaviour
HN has a mobile-only site, it was updated quite recently. It's been quite subtly done, but it's made upvoting and accessing comments a lot easier.
Could anyone who follows the "rebase all the merges" workflow detail why they choose to work that way? It seems to me that Git's strength is being able to time travel in your repo (especially with something like git-bisect, one of the few tools I'd call downright magical)

But if you're rebasing your commits, haven't you lost that? The concerns about a "clean commit graph" seem more aesthetic than functional.
No editing here but that's okay. I only just came back to this conversation now :D

I think Delorean, Pendulum, Arrow, etc, aim to make dealing with dates more understandable and less painful. It's perfectly possible to fully grasp all the technicalities of pytz/dateutil/datetime -- and I recommend that anybody who has to deal with dates and times in Python do so -- but if you'd rather not think about it all and are okay with deferring some control to the opinions of one of these libraries, that's when you probably pull them off the shelf instead of the aforementioned trio.
I think the chemistry of the batteries is such that fully charging or discharging it is the most detrimental thing for its life. Charging it from say, 20% to 80% might actually be the optimal case for battery life.
> Everything in a computer is a stream of bytes

Data can be meaningfully separated from control and structure in many cases, and failure to do that is a major (perhaps the major) source of security bugs.
Those are all interesting and terrifying scenarios, but there's no science showing cap-and-trade or particular levels of carbon taxes will produce better outcomes. If they're both dead-end approaches, we need to focus even more on less obvious solutions or building up infrastructures and organizations to deal with the consequences. Pouring more good resources after bad in those cases will only make us less likely to be able to help refugees, build better levees, etc.
We are talking about a Taxi. The maintenance costs for a typical driver should be far less.

His situation is unique since he drives a Taxi in Quebec. It is a very harsh environment there in the winter and the roads are horrendous and will wear out a 4x4. There are pot holes that will swallow a car. Hence the wheel bearings. Brakes in a Taxi are replaced very frequently. Where a typically driver might replace them once every 2-3 years a Taxi might replace them 2-3 times a year. The power train warranty (unlimited mileage) has covered his drive unit which I imagine is like a transmission and not the electric motors.
Does it count as a rejection if they don't even call you back for an interview/ i.e. all you get back is an automated reply?
I believe it parses it itself.
Ah, you're right, my mistake. I thought both numbers were for 2.5 years; $1300/30 = $46.
They do yes. You should only use it when traveling and can't charge it overnight.
Did you really say a good product will sell itself? Generally this is not true, especially for enterprise solutions. But, I'm happy to be proven false if you can provide examples
Namespaced FS as in chroot.

Your program don't see what else is running on the system. Also means that it removes possible conflicts for shared libraries and other system-wide dependencies.

This kind of isolation is not only good for app bundling as a developer, but even more important as an operator in a multi-tenant scenario. You throw in containers and they don't step on each other toes. Plus, system stay clean and it's easy to move things around.

Network namespace as in linux network namespace (http://man7.org/linux/man-pages/man8/ip-netns.8.html).

Each container has it's own IP stack.

Containers provide proper abstractions so you can then assemble all of this, pretty much like you use pipes on a unix shell.
50,000 miles a year is only 200 miles a day (assuming 2 weeks of vacation), the tesla can do that range without any charges, he just needs to have enough charge an usually long trip at the end of the day. At the rates taxies charge, someone who goes for farther than the charge of a Tesla is going to make the news just for their bill - even if the trip is in a normal gas car.

I expect that he plugs in over lunch hour, and at bathroom brakes. This won't get him to full charge, but it is enough to ensure that he can handle a long trip. If he is ever at less than half charge he has made enough money that he can afford to take an hour off to charge.
> speculation on their gains in the HPC and "deep learning"

I think this will be the battleground; see intel MIC for another big sillicon trying to edge in.

I agree that CUDA/cuDNN is far ahead, but do you think they can maintain it? GPGPU paradigms are changing pretty rapidly, so the entire field could be ripe for disruption.
For groceries (the one thing I can't really outsource to internet shopping), I find that Walmart's Neighborhood Market stores to be far nicer than the superstores. I shop at mine all the time and it's a clean, quiet, pleasant experience.

There's a standard superstore Walmart 2 miles from my Neighborhood Market, and I avoid it at all costs for the reasons you state.
I worry about survey-based studies with small sample sets which reinforce conventional wisdom...
In the simple way, express accepts a path (url-like fragment) and executes a callback when it matches the url. THAT is what I meant from express-like, but from this and other comments I can see it wasn't clear at all.
What's holding me back as an entrepreneur [video]
As I understand it, sometimes they do this via techniques roughly similar to inserting change markers (that is, remember both versions). The change may technically be "conflict free" according to the algorithm's definition, but from the user's point of view, the merge has not been completed until you pick which version to keep. Informally, each place we need to manually do a merge can be considered an unresolved conflict according to an alternate definition of "conflict".
Tactics for fine tuning your Rails app performance
> I'm asking about the errors that the language prevents, not the community's conventions.

My understanding is that, at the moment, the language doesn't have native threads yet. The design of multi-threading behavior and errors the language prevents is still being worked out.
> more aesthetic than functional

It is easier to understand a cleaner history than a messy one.

> haven't you lost that?

You've lost the ability to look through one kind of history, but not other ones. bisect still works if you've rebased.
I'm loving this! Great stuff. Is there a way to exclude websites from activating SurfingKeys?