skysight-inc/HackerNews huggingface dataset:
"His website is not Web 2.0 - doesn't fit our company"

"Doesn't say machine learning on his site - behind the times"

"Doesn't know Map-Reduce and Hadoop"

Yeah, I think we should pass on this candidate
And who sets up the bank?
Knowing averages doesn't help the individual homeowner who has to deal with the increased risk.
In the short-term, this also allows homeowners to take advantage of variable-rate billing from power companies. Charging a bank of batteries in off-peak would be much cheaper than getting full current during the peak.

One problem is that eventually the cost savings is eroded by everyone jumping on the bandwagon to use the off-peak hours, which eventually become more expensive. Also, regarding your point about grid stability, if enough power consumers use these kinds of batteries, some sort of scheduling might be necessary to actually level out the grid's demand across all 24 hours.
I use this approach as well, but I also have a filter in my mailbox that sends those mails to a folder 'notes to self', to avoid excessive notifications and inbox clutter.
Java – Features, Versions and Uses
These are zero width characters. There's no reason why they have to be at the end of the URL.
I have no idea whether anyone will buy Tesla. If Jason or someone he likes a lot has invested in Tesla, it could be a teaser he put out to try to get someone else interested (Google). Or it could be his sincere opinion.

I'm going to go off topic from the will-they-be-bought-or-not question because that seems a bit beyond conclusive at the moment. Even for a random internet commenter like me.

Instead I'm interested in the author's dismissive attitude toward the household battery idea.

The author tries to refute Jason. This paragraph is where he lost me:

> And for what purpose? So I can disconnect from the electric grid for a week, and then reconnect again when the battery has run out? Or to power it with expensive solar panels? I don’t think so.

Just because you can come up with a question, and you can't yourself come up with an intelligent answer to the question, doesn't mean that the question has no good answer.

In this case, with just a few moment's thinking I can easily come up with a better answer to "for what purpose": The answer is, this leads to all sorts of savings and efficiencies, namely:

- A good household battery makes the grid more flexible, and gives the owners of batteries access to cheaper off-peak power.

- The grid can be less stressed, meaning it doesn't have to be overbuilt as much. Some of the current maintenance costs can be eliminated or allocated to more constructive uses.

- Loads become more balanced, eliminating the cause of some brownouts and blackouts.

- Centralized solar becomes more practical.

- Decentralized solar becomes more practical and useful 24/7. (And by the way it is now competitive with grid rates, and getting cheaper every year).

- Other widely variable energy sources (such as wind) become more practical.

- New businesses facilitating alternative energies will become viable. Including possibly some businesses represented today only by twinkles in Elon's eyes.

- Over time, not only do battery owners, but other consumers as well, may end up paying less for power than they would have otherwise, because of the efficiencies introduced to the system.

There are so many benefits, the kicker being the direct cost savings to the consumer which will give them a reason to invest in these things. And while talking about cost to consumer, I consider it likely there will be subsidies as well, possibly government, possibly corporate, possibly both, because the other dividends (see above list) are so compelling.
So communicate this to both the parties. He kept it a secret. What will present friend think of it? Don't be a selfish idiot in a relationship.
Funny. I had almost the same discussion over in the UK. We decided that the most interesting city engine would be one that incorporated time driven development and the changing categorisation of land area.

I'd still love to try and write a game that included time travel and the results of historical changes on a modern city.
I wonder if he actually intended anyone to find that, except maybe his college buddies. I know that I would certainly think twice about leaving snarky comments in my resume HTML, but I imagine that “view source” was not as easy as to do in the browsers of the time (I could be wrong, too lazy to research it). Or that, even if it were easy, it would not be a routine check that a hiring manager or interviewer might conduct.

Especially when “frontend development” was not really a skill yet: in 1996, we are talking a world of HTML 3, JavaScript 1, and not even CSS 1 until later that year. HTML likely would not have been the focus of many jobs; it was literally just a way to implement hyperTEXT, so the implementation didn’t matter as long as it rendered correctly. It’d be like looking at a candidate’s PDF resume in a hex editor.
http://strongloop.com/
Do You Know How Google Detects Fake Names?
Turtles all the way down is one answer - but if that doesn't satisfy you... a human who then accepts an offer for his controlling interest by the AI?
ObamaCare enrollment closing with flurry of sign-ups, after Web glitch fixed
Why is *.torproject.org blocked?
It's the same argument used on Amazon of course. Pumpers that proclaim: why just imagine how much Amazon will be worth once they start generating a meaningful profit!

Back in reality, were Amazon generating $8 billion per year in net income, their market cap probably wouldn't move at all unless their forward profit growth projections were dramatic.

It's maybe most common mistake I see inexperienced, or delusional, investors make - failing to understand the concept of future returns being pulled forward.

There's a Chinese stock I always think of when it comes to this, China Life Insurance (LFC). Back during China's market bubble of 2006/07, the stock was pumped to the moon, projections were for perpetually high growth for decades. It was trading at something like 80 to 100 times earnings in 2007 at the peak... eight years later it hasn't moved higher than that (predictably the growth collapsed and the PE compressed).
Heroku is expensive from a hosting perspective but cheap from a sysadmin cost perspective.

And it's this total cost of running a service (or at the very least the opportunity cost of not working on things essential to your business and the risk of your site getting screwed by somebody malicious) that I'm trying to convey.

For a business, $240/year to get a SSL terminating load balancer maintained by a dedicated security sysadmin team to sit in front of their app looks like a heckuva deal.

There is just so much work that is involved in keeping a system properly up and secure that unless you're valuing your time at near zero dollars an hour, or you have so much traffic and cash coming in that you can get a dedicated person to handle it Heroku makes monetary sense.
Windows app development best practices by Futurice
Million User Webchat with Full Stack Flux, React, Redis and PostgreSQL
Right click to view source goes way back.

But you are right, hiring managers probably wouldn't do it.
Giving ownership of all land to a small group of political elites and their politically well connected friends, what could possibly go wrong?
Ask HN: Have you ever been interviewed by a CEO
I have been directly interviewed by the CEO of a company.

They are into hospitality domain, and wanted someone who can take care of the technical aspects of the product.

I was completely wondered when there were no technical questions asked.

Only thing he (CEO) wanted to know was "What value I can add".
There is no Apple premium; that is a tired myth.

You simply get a lot more, and you do pay for it.

The MagSafe connector alone will save your laptop... and you don't need to hack it yourself with a Dremel and epoxy. Battery design and power management, unibody strength, big touchpad, beautiful sound system, Thunderbolt, resale value, hand-me-down value... when you factor everything in, MBP is a no brainer and it's the ThinkPad owners who end up overpaying.
Fred Durst was a programmer and Linux hacker prior to Limp Bizkit. RedHat is named after his red NY Yankee's hat. Rockstar programmer?
My 2p:

Use something you're familiar with, and that you have a good source of information flow, by which I mean, subscribe to security updates (including for whatever stack you put on your server), and certainly have a test server simply for playing with things, getting used to functionality.

I have a shell app on my phone, which I love, so I can log in at a moment's notice, wherever I am, just to check things out or apply a change.

The Linode and DO tutorials are pretty nice, and cover the vast amount of eventualities. If you're unsure which to choose, go with the one that has more documentation for your use case. DevOps is not cloak-and-dagger mysticism; having control and understanding of your stack is, imho, far more important than choosing between a distro to run it on. Just make sure your server is locked down and that you regularly apply updates (that you've tested on your test server).
Potentially significant bits from the above wikipedia page:

The original transfer of the deed would not be valid because
'Such a deed, even if it did exist, would have no legal standing. Under common law, the person receiving the property in question must have the legal capacity to receive it, and the property must be delivered to—and accepted by—the recipient.'

and ' Athens-Clarke County confirms that the tree is in the right-of-way, and is thus “accepted for care” by municipal authorities;'

however,

'Regarding Jackson’s deed, one writer noted at the beginning of the 20th century, “However defective this title may be in law, the public recognized it.”[13] In that spirit, it is the stated position of the Athens-Clarke County unified government that the tree, in spite of the law, does indeed own itself.[14]'

So, while if you wished to do this with some land you owned, and a tree, it probably would not be considered legally valid in the US (at the moment), but there might be a chance you could get it to be effectively the case?
Get a job. But first realize degrees don't matter. Technology companies tend to value real-world experience a hell of a lot more than diplomas. I am speaking as a software engineer without any degree. you aren't fucked but you need to get a job. Any job experience at all will differentiate you from all the other PhDs out there.
About the only thing useful here is having the session id be validated before being used. PHP is notorious for allowing the client to select any session id they want.

I've read "the network is my favorite database" a while ago. Similar concept. But, the problem is that the urls are really long and wouldn't fit into an sms for example. If you are trying to get users to get started with your service the last thing you want to do is throw more friction at the process.

It's a bit like Microsoft shuttling ViewState back and forth in the old ASP, instead of just storing sessions in the database. Signing things is good for validation, to prevent giving out resources to a client which wasn't given valid credentials. But that stuff should be stored in cookies, not links. Links should be simple and to the point. And if that means having the links contain a token the server can use to look up additional info, tinyurl-style, then so be it. That lookup is fast, and once you did it, you can cache it in a hash based cache like memcache. Better experience for the end user and better security for you.

In short - I agree with the author's premise about guarantees etc. but when giving humans links, they should be simple. Store all the authentication crap in cookies.

To bring my point home, I'll just remark that inviting someone by sms or email is a way to not only motivate them to sign up but also having them click a unique link already verifies their mobile number or email address in one shot. One click and they have an account.
If you're a VC, har har har har
The path to liquidity is not always straight up and to the right. Some funding rounds can drastically revalue prior shares through reverse splits. This can make your 1% stake magically turn into a 0.05% stake in a single funding round. Even if they don't reverse split, funding rounds issue new shares which is dilutive if you do not also get an additional grant. Once you leave a company, your precious few shares get diluted and reverse split with all the funding rounds between your departure and the liquidity (IPO or acquisition) event.
Eh more like HTML 2.0 and yes you could view source. And the spec for the 3.x release was 3.2, not 3

No one called it JavaScript 1 or CSS 1, well maybe they called it CSS 1 by the body standards. But it was, "hey you can change text color without switching font tags with CSS!" But no one really called it, "JavaScript 1." And assuming this was last edited Jan '96, probably wouldn't have CSS in there.
I found I can still remember how to drive to my exes's
Another example is the window tax[1] in the UK, which led to small or walled up windows.

[1]http://en.m.wikipedia.org/wiki/Window_tax
Interesting Infographics
Autonomous drone delivery requires something analogous to "positive control" used in the existing air traffic control system, yet none of that infrastructure exists. Neither primary nor secondary radar used for aircraft today will work on UASs, so how are they going to be tracked and separation ensured? If it's a decentralized system along the lines of TCAS, that implies some industry agreed upon spec, whether it's active/passive sensing, or whether there's actually communication between UAS's. Any communication probably needs to be cryptographically signed for validation, probably shouldn't be encrypted however so it's transparent. Clearly it has to go beyond existing technologies for aircraft if there will be no role for air traffic control. A whole separate set of expectations and standards for how various kinds of systems failures are to be treated, how does an autonomous UAS determine an emergency, how does it declare one (to reserve a different section of airspace than on its prior "plan" in order to avoid a worse accident), how does it actually perform an emergency landing? Some of these things could be proprietary but other things need to be openly published, namely the spec, the standard, and the metric for performance.

We can't just say "oh, no pilot, rules go out the window" as if everything we've learned about flight safety doesn't apply at all to UASs. No, there's actually a lot of adaptation that needs to be done. A whole lot.
Optimizing to assembly that calls the actual external memcpy implementation should be fine. If the custom memcpy works with NULL, without triggering undefined behavior, then any further optimization which assumes memcpy's NULL semantics would be clearly incorrect (which is not to say some compiler won't do it, but it would be a bug). The bug report you linked is about naming a function "memcpy", which is different - and IMO GCC's behavior was indeed incorrect until the change to disable the problematic functionality with -ffreestanding.
Sounds like you really like the new ThinkPads. Linux will run on either machine.

One thing to consider (countering my point elsewhere in the thread) while I don't believe Apple products are more expensive when all the features are considered, Apple sure does overcharge for one thing, and that is memory. So, depending on how much memory you want to get, that could make your decision.

Linux runs fine in VMs for me on the laptops I've done this on, a 4GB MBP, 8GB air, and now 16GB MBP. I've met people running Linux directly on the metal as well and they seemed happy with it. How is Lenovo's driver support for features like power management and the trackpoint buttons you mention, is one thing I would want to ask if I were you.
I enjoyed that video but it also confused me a bit. It is useful in that it clearly makes the point that what's different about the PSD is that, unlike the planetary gear system in the Ford Model T and many others, at no time is any of the three components ever locked or fixed. The sun-gear, planetary gears, and ring gear are always free to rotate, and do.

What was not clear to me was the power flow from the ICE to the wheels. It seemed as if he was saying that the only connection from the ICE to the wheels was indirect, by turning MG1 to generate current that could drive MG2 which drives the wheels. But I don't think that's the case.

I know that if I floor the pedal entering the freeway, the ICE spools up to something like 5000rpm and holds there while the car accelerates. So clearly there is a flexible connection. But is all of that mighty horsepower being transmitted by first being turned into AC in MG1, which flows to MG2, which turns it back into torque? Because that would be rather inefficient I would think.
You can still do that on-demand retraction as long as the hash is fed something from the database that you can change.

IIRC, Django uses both password and last login timestamp inside the hash. If you needed to invalidate someone's token you could just add 1 millisecond to their last login time.
The new edition will likely cover both in detail. It's out in May on Amazon UK.
You can get Kano. Or just their OS and docs (it runs on RPi, should run on RPi2)

As for other "kids" friendly environments, you have
+ the MIT Scratch/ Blockly drag-and-drop visual coding environment (Kano has blockly and they build the interface with the RPi Minecraft (cf https://www.youtube.com/watch?v=cTjN_1GFsfk ))

+ Python / Ruby / JS "for kids" books; HumbleBundle is currently having a book bundle that include a few "Programming Language" for kids book https://www.humblebundle.com/books ; you will find online a few other books (e.g. https://inventwithpython.com/ http://ruby4kids.com/ruby4kids ) based on doing games)

+ you can have the Sugar image (what's the OLPC is running) setup to run , http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki . It has a lot of nice apps, and it includes a nice Logo inspired Turtle environment (TurtleArt / TurtleBlocks)

If you decide to go into hardware as a way to get your kids started, then look at Arduino also (e.g. http://sylviashow.com/episodes/s1/e3/full/arduino ), or a simple robot controlled by your RPi.
And his CV as an adult:

http://www.thelocal.dk/20150120/job-denmark-cv-photo
mschwaig replied with the answer above [0]: use the old password hash when creating the token. For an example in the wild, see how Django does it[1].

0. https://news.ycombinator.com/item?id=9055749

1. https://github.com/django/django/blob/master/django/contrib/...
Ah OK, I was just going off of a quick glance at a Wikipedia timeline.

And I’m saying “CSS 1” etc. the same way people call the original Playstation “PS1”. Hindsight is always versioned.
In our case, we're writing "@changelog [quick summary of the change]" somewhere in our commit message when we think that the commit actually warrants a change log entry.

Then as part of the release process, somebody (usually me) uses `git log --grep` to find all the commit messages that developers thought to be change log relevant and writes a document that can be consumed by end users (including screenshots of the features etc).

This way end-users can still be informed about changes (most don't care, some notice and complain even when one pixel has moved to a different spot), but we never have issues with merges or rebases (at least not related to change log maintenance :p)

Also, in my opinion, keeping a change log for developers is completely unnecessary these days with git and other tools to provide very quick and easy access to the revision history.

But for end-users it still makes sense, though it of course has to be on a higher level than individual commits.
I don't think the above commenter is talking about the look of it when he/she says "style," rather he/she is referring to the way it is written.
Yes. It sucks and is a miserable experience. I had a friend who rented a ZipCar, or similar, to drive out of town for a weekend get away. It was way overpriced. Those services are meant for short quick trips in the city. Not extended trips outside of a very small area.
HTC One M9 – rumors, specs and features round-up
"The new rules would not apply to model aircraft."
I think this is going to be a problem... when does a model become a "small unmanned aircraft system" and when does it not? It seems to me they're at least heavily overlapping, if not synonymous.

Does it have to resemble an existing aircraft to be considered a "model aircraft"? This could easily be open to interpretation of law enforcement. If so, my brother had some "small unmanned aircraft systems" back in the '70s (powered by 049 engines). They were most definitely "experimental designs" as some of them looked nothing like any (manned) aircraft ever produced. This proposal looks dangerously close to something that could make experimenting with new aircraft designs an illegal activity, including those designed for humor. Examples include flying lawnmowers, doghouses and witches. [0] How would they classify my Dragonflies? [1] They certainly don't resemble any manned flying contraption ever made, they barely resemble an actual dragonfly. Would these fall under the "more flexible framework for “micro” UAS under 4.4 pounds"? If so, that's utterly absurd. If your answer is "it's a toy", I agree, but then so are all of the quads and aircraft I've already mentioned. It needs to have a very distinct line distinguishing a "model aircraft" from a "small unmanned aircraft".

It doesn't even say "powered aircraft", so a large hand-launched remote controlled glider could be illegal (yes, I know this is reaching a bit, just trying to prove a point).

It's unclear to me if this will make illegal all of the automated fliers that have been built (such as those suggested on old episodes of Hak5, programmed to fly to a nearby building's roof, park for a period of time, then fly back, etc.). I suspect it will, since it makes repeated references to the "operator" and "line of sight", etc.
I saw interviews with people (at DEFCON?) who had created some very impressive auto-navigating (beyond autopilots) craft as well.
All of the machines produced with cameras and video feeds for remote operation would suddenly be illegal to fly in the manner for which they were designed. Among those would be a wonderfully implemented one with a full cockpit view. [2]

"A small UAS may not fly over people"
This is really vague... "directly over" or just "kinda over" (what range)? Technically, if they're over 7 feet up, they're "over people" so already in violation. This will make flying remote control airplanes illegal in parks too... where will all the hobbyists be able to go? You can't launch and land in a cornfield.

[0] http://flyingthingz.com/
[1] http://www.wowwee.com/en/products/toys/flight/flytech/dragon...
[2] http://hackaday.com/2014/06/18/rc-plane-flies-with-a-cockpit...
How to Unlock Motorola Moto Maxx Using Unlock Codes
boot2docker is a commandline interface to docker that works on Windows, Mac and Linux. (Maybe *BSDs too.)

On non Linux systems, it downoads a prebuilt VM, and runs it with Virtualbox.

This is how Docker currently works on other OSes.
You can also run a gpg-agent to avoid typing the passphrase or your GPG key multiple times during the archive creation.