skysight-inc/HackerNews huggingface dataset:
So how does this work? Do we trust the car or the man?

If the car does not detect any steering input, even though it has been given (due to bad software or hardware), or logs a warning being sounded, even though none manifested in the real world, what do we do? How do we know?

Bugs are by definition human assertions of computer failure, the computers can't lie (yet), but they can be wrong.

Are inward-facing dash-cams going to be required so that we have evidience of compliance with the terms of service of our vehicles?

I think it is rather unlikely that a false steering input detection, a false warning log, and a false door-opening log all happpend at once...perhpas not in thic case, but subtle, cascading bugs can and do happen.
Honest answer is: we don't know yet -- we're working our way up from the bottom.

But we (cautiously) don't see any reason why the basic design shouldn't scale to very large (e.g. petabyte) datasets, and that is our eventual goal.

That said, we do think there are a lot (even maybe the majority) of use cases in the GB-TB range.
There was only one thing that worked for me to finish my first book. I showed up every day and wrote something. Then I edited the hell out of it (like 8 passes).

The rough draft was 100+ pages. The final version is 64.

There is no shortcut to writing and editing a book. You have to put a lot of time in and just write the damn book.

My book if you're interested: http://www.amazon.com/dp/B0163BAUWC
"Yeah, and of course you'll share equity and strategic decision-making with me." Employers, executives, managers all love to move their problems onto the employees.
I'm Joining GitHub
I wrote a post a few years ago about agents (https://jobtipsforgeeks.com/2012/09/17/disrupt/) and actually had some people from HN approach me to see if I'd started that service. At the time I hadn't but I'm reconsidering this right now.

I wrote the article in response to the incentives for recruiters being typically seen as driven by the client (hiring firm). The main issue is that recruiters are paid by hiring firms, and agents would be paid by the employee/new hire.

Job seekers seem less likely to pay for a service like this (negotiation). I've provided coaching to many, which usually includes mostly job search and resume advice, and may end with negotiation advice, but I'm typically not approached just for the sake of negotiation help.

Maybe I should advertise that as a separate service.
Just make sure you add on 15-20%.
Haha I agree.

For a second I was conserned about the level of my geekiness.

Then I moved on the the next HN article...
It's funny how abundance has changed reading, vs. scarcity. There used to be this implicit assumption that if it got published, it was worth reading (with a few caveats), so you were willing to give the benefit of the doubt to the piece, really engage with it, wait for the payoff. A lot of fiction demanded that approach.

Now I, like you, am willing to give up on things. I demand proof that you have something to offer before I'm willing to invest in the relationship with a book. Only very rarely do I violate this practice -- if something gets a ton of a buzz I might push through when otherwise I'd quit.

I wonder if we're better or worse off. Certainly we're different readers now, and probably writers.
By that definition Chrome is the only browser that sandboxes. But your comment was on how ridiculous it was that Firefox was the only one not doing it.

People's hate of Mozilla is very similar and as misguided as their hate for Microsoft and it really shows in your original statement that they can do no right.

Instead of a congratulatory "welcome to the club (of one)", it's "why weren't you a member all along?"
The linked page says, as its last line, "many important features are not yet implemented including a query system."
In a "laugh because the only other option is to break down and cry" sort of way, yes.
:) Thanks, we like it too.
I bet you use a real stamp too that has to be "pasted" on. First class letters get forwarded too.

I throw so many letters "away" (UBBM) and the sender has no idea it never made it.

Plus many people don't open theor mail right away or they are away from their house for a long period Of time. A first class letter that doesn't look machine-made is always an intriguing "open"
Of course :). 1729 is the smallest number that can be written as the sum of two cubes in two different ways:

10^3 + 9^3 = 12^3 + 1^3
Was the extra charge not for enciphered telegrams?

Props for the scifi reference
His point is that supply and demand has dictated that engineers who create $1.5M in value are worth approximately $100k. It works both ways.
I wonder where Rust and servo fit here. Will they be able to "swap" some parts of Firefox with others written in Rust?
"There are certainly some developers that aren't competent. In my experience those developers get weeded out of the industry relatively quickly."

That gave me a chuckle.
The book is from 1980 (https://en.wikipedia.org/wiki/The_Bourne_Identity_(novel)), and there was a film in 1988: https://en.wikipedia.org/wiki/The_Bourne_Identity_(1988_film...

Are you sure it wasn't that one?
I actually went on an interview once in which they asked for my last pay stub as proof of income. I declined and they said they would have to pass on me. A good portion of my previous income was equity. Granted the equity did not pan out but I was making double that in straight income in the job before it. Anyways I doubled down on their attempt at making the information asymmetrical and told them that they have my asking price and that there would be no negotiations on salary, if I had to hand over that information. I submitted my last check, they came back 20% higher than my previous compensation, at which I doubled my salary requirements from my originally stated requirements to take the position and took a position with their competitor before they even responded. After notifying them I was no longer considering the position, they eventually came back and said they would match my original requirement as they where getting desperate, but honestly at that point the well was poisoned.

Point being you are right it is asymmetric information warfare and they will use it against you, even if you offer them a poison pill like I did.
Ya, agree.

They get paid by the company though. So if I had to pick between the company and the candidate I'd say they're more aligned with the company.

You're definitely right though that they aren't really aligned with the company either.
Ever read the Iliad? The catalog of ships was murder. I had to make myself remember that literature served a very purpose then, and existing in a very different context, in much the same way that the crazy excess of detail (so it seems to me now) of 19th century literature came across very differently to people who didn't have TV, movies, or practically any visual media.
If I were to log door opening events, I'd log what switch/sensor detected that event. Just seems like the natural thing to do to me, and not an indicator of anything particular.
Why are we left to guess about what data exists?
Don’t hack for a living: how I boosted my iOS development with Swift libraries
> the truth is that once you get to the point of "competent developer" and the meaty part of the bell curve, we are all pretty much interchangeable

That is not my experience at all. I see big skill differences in my coworkers.

But as an employer, it's real hard to know which candidate is 200% of the average and who is 50% (or -10%), so you end up having to offer everyone an average salary with small variations.
I humbly suggest that the wildly varying values you get on Sand Hill is from varying beliefs, not a conspiracy or a scam.

VC's generally don't invest in snake oil or try to pawn off snake oil.
Have you noticed that shift in release notes rhetoric? I cannot recall seeing such pseudo-cool-worded-wannabe-funny release notes with questionable punctuation ever before.

> "Roar for moar / We've got your back / Try saying that three times fast / Buh-bye, squeaky voice! / hot, hot, hot! / embetterment / …"

I hope this is not a beginning of standard discourse towards users, because as I've found out I prefer previous boring and concise one.
Would they not have said something to that regards then?

It does appear, so far, that these "log dumps" are being carefully sifted through and cherry picked for release.
Having thought about this a bit, I actually come to the opposite conclusion.

I think a lot of companies who might have previously hired devs would be better off trying not to anymore, with what devs cost today. This is going to mean all sorts of things, including more off-the-shelf stuff vs. home-rolled for companies, smaller software companies that don't get started because people would rather take the BigCo job that pays $200k base plus stock, etc.

Pretty much any business is about taking stuff and making something out of it that can be sold for more than its inputs. With dev salaries being what they are, a lot of opportunities get ruled out quickly because they just aren't big enough.
If you often have many tabs open, Firefox the better choice in terms of memory consumption. I use Chrome for more "appy" web sites, and Firefox for the rest of my casual browsing.
I'm in the middle of the "Wheel of Time" books. That must have been the most planned out series ever. Or reworked like a million times. At least, that's what I gather from people who have reread the series and praise the amazing foreshadowing in the first half of the series (even books 1 and 2).

For those who don't know, "The Wheel of Time" is 14 books plus a prequel.
I have mild tinnitus, it's not really bothering me but is noticeable in quiet environments. I find it interesting that I can exacerbate it by pulling on my jaw or clenching my jaw. If I'm feeling a bit under the weather, it is also exacerbated by moving my eyes. So at least in my case, there's a definite connection to muscles around the ear.

There appears to be at least some support for this in the literature, e.g. http://www.scielo.br/scielo.php?pid=S1808-86942012000600004&...
maybe I would have been, but now its 20 years later and people actually have done some OOP and they know what it is really like in practice, and are no longer just reciting the bullet points from a slide show they saw at a conference.

what are the other paradigms we usually contrast with imperative though?

Declarative style can be done with OOP but it is still implemented in an almost strictly imperative way internally within the classes implementing the interfaces. Even the gluing together of interfaces is usually done in a more imperative than declarative style with OOP. The ideal for OOP is to have declarative interfaces from top to bottom but we almost never achieve this goal in practice.

Functional style is basically not done with OOP. It's possible, and my first exposure to "objects" was in working with closures in Scheme. However, in mainstream OOP functional style is only used as part of a mixed paradigm approach. We see a lot of this in languages like Python, Ruby, and Javascript.

Aspect-oriented programming? orthogonal to the question of imperative vs. not. This style is supported naturally in almost any language that offers first class introspection of its runtime but is only popular in niche use cases.

The actor model (i.e. what Erlang does)? A subset of functional style that is designed for highly concurrent systems. Orthogonal to imperative vs. non-imperative. Each actor within a system is probably an imperatively coded procedure. The system as a whole is not.

Why am I bothering to point this stuff out? Because I want to get past the kind of shallow and limiting view that the label "imperative style" matters.
That's Hardy-Ramanujan number! :)
This is interesting. Can you suggest any resources that lay out concrete proposals for how this could work in practice? Are there examples of where it has already worked in the world?

Some questions:
1. Wouldn't there still be a need for capital to finance risky ventures that take a long time to create value? How would a forward-looking startup with high capital costs, such as a biomedical device company with unproven technology, work in this economy?
2. How do you measure the value labor creates?
3. Is the allocation of resources among labor proportional to the value it creates? How does that work among a team of specialists that are more than the sum of their parts?

I'd genuinely like to understand whether this could work or has worked.
You will probably not become a millionaire unless you have no family, you never get laid off/let go, and your salary scales with inflation.

There are other considerations as well, including cost of living (most high salary jobs are in high-cost areas), liabilities (debt), and so forth. If you want to get rich (again, 7-figure range), this just doesn't seem like a good bet to make.

My personal slant on things is that even if you do become a millionaire, let's say in your 60s, who cares? The point is to get rich while you can still enjoy your money. There's no virtue in being buried with your treasure.
I've used the GitHub web editor a few times. It's painful, but gets the job done for quick fixes.

I've also tried out TouchQuode a while back and talked to the author a bit - it was a nicer editor even then, but it didn't integrate with git at the time, so I didn't use it much. http://www.touchqode.com/
I use index cards as bookmarks and for note-taking. Post-it's also work.

I also wrote down references to pages, paragraphs and sentences, etc. on those cards, e.g. p42p3s5.

Nowadays I just make a light x in the margins, with a pencil (so that I can erase it if I want to).
I never ask the question, "what did you make", but "what do you want to make". More often specifically preface with, "do not tell me what you make".
If it is an I/O heavy workload (and it is), then his statement "All 101 threads run 99.9% of the time and we get an almost 100× speed-up." cannot be true. The processing portion probably runs n times faster, where n = the number of CPU cores, but his I/O thread is still single-threaded ("[w]e cannot do writing to disk from several threads for the following reasons...") and obviously cannot be running 100x faster.
I don't really think using lite engine is that much easier than just building your own backend and hosting on AWS? Some of the library utilities you guys have are pretty cool and convenient. But there are lots of open source libraries that do much the same thing. I'm not sure where the target audience would be. People who can code don't like the restriction, people who can't code will not be able to set this up.
6 tips before you accept a job offer
Deals.Woot.com shuts down after 7 years
Only for weak passwords. Strong (80-bit plus) passwords are still safe, even with unsalted MD5. Too bad people are really bad at choosing passwords.
It doesn't support queries. It's a datastore, not a database. This is from their FAQ. https://github.com/attic-labs/noms/blob/master/doc/faq.md
I don't think the poster of your parent comment would disagree with your explanation of the how things are; they're only saying that's not how it should be.

If we lived in a just meritocracy, people who created millions of dollars in value with their code would be compensated with millions of dollars, but this is rarely, if ever, the case.
> As a personal preference, I like my browser (and most of my applications) to be a single process.

Honest question: Why is this your preference? What difference does it make whether an app is using 1 process or 10 behind the scenes?
It provides zero abstraction, which is especially painful when handling errors. In Go you basically _have_ to handle the error right when you receive it, there is no way of usefully combining or composing it. Also error handling itself is very verbose and can't be abstracted over.

In other languages you can compose errors just as regular values, which allows you to handle the errors at the place where you have all the information to deal with it.

Not only that, the types represent the structure of the computation you ran.

For example, your type is Future[Option[List[Person]]] and just by looking at the return types of the things you called, you can tell exactly _where_ an issue occurred and how to handle it:

Your value is a Success(None)? -> The method inside your asynchronous computation that returned Option[List] failed!

Just to note, Future[Option[List[Person]]] is not some made-up example, it could be a real-world query against the database–for instance "do we know the friends of user X"?

- Future – we run it async
- Option – we might not know it
- List – his friends

This let's us very neatly tell apart things like

- Failure – "the database response from the database timed out"
- Success(None) – "we have no idea about user X' friends"
- Success(Some(Nil)) – "X has no friends"
- Success(Some(List(...))) – "here are X' friends"

(And the compiler will make sure that you handle all possibilities)

In Go the closest pattern would likely be to extract the string from the error value and compare it to error strings you recognize. An alternative would be to define a special single-purpose data type specially for each type including all combinators, as Go would not be able to express any commonality between Future[Option[List[Person]]] and Future[Option[List[Pet]]]. You would need to define 4 new data types and all operations anew.
Maybe Tesla has ownership of this data and only publishes the data that helps their case.
> So how does this work? Do we trust the car or the man?

Well, until there is a free tool to dump the logs from all of the Tesla cars, and Tesla the company starts releasing the raw data for the public to verify, the more appropriate question is:

Do we trust the man or the company?

Telsa has a _lot_ to lose, so the temptation to cherry pick data points that tell their desired narrative is fairly strong.
And, for the people down-voting, I'd love to know why. Send me a message if you don't want to say publicly. The anthropologist in me genuinely wants to know.

I can't understand how anyone would be for work ('they call it work for a reason, right?'). The only reasons I can imagine are 1) inflexible ideology, 2) sadism, or 3) love of power hierarchies.
http://www.thelancet.com/journals/lancet/article/PIIS0140-67...

> Overall, alcohol was the most harmful drug (overall harm score 72), with heroin (55) and crack cocaine (54) in second and third places.
No, it actually doesn't. If I own a book, I can do anything I want to it. I thought it was obvious that my question was entirely rhetorical.

Your response speaks to the insanity people have become accustomed to in IP law.
The Haskell Reports, especially the 2010 edition, have been clear, readable, and straightforward documents whose contributors and editors should be commended. If only other language standards were so clear! (C'89 and Fortran are also really excellent documents.)
Web Notifications: News on Lock(screens)
Thoughts on Uber's List of Postgres Limitations
From listening to his talks and interviews, I see Kay as a true renaissance person. Close enough to the industry to know its inherent illnesses, distant enough to not be indoctrinated by contemporary BS. The absolute opposite of serial bullshitters like Martin Fowler, for example.

I recommend his talk "Normal Considered Harmful".
This seems like a really hard version of the credit assignment problem -- if you open to chapter 20 and get some differential equation that you can't solve, then what's the search strategy, other than read chapter 20? Which would make no sense if you hadn't read chapter 19, etc. Or so it seems -- I haven't actually tried it. Could you elaborate a bit on the process? I like the engagement and the 'information chase' aspect of it...
Impressive? Or immoral?

When I purchase a $100,000 vehicle, I want the vehicle to act under my control. Not under Tesla's control.

The sensor data belongs to Tesla, not to the customer. And Tesla uses the sensor data to serve their Public-Relation benefits instead of helping the individual customer.
Yes, actual memory safety is a feature that Rust has, and C++ has lots of footguns. It still does not make using an enumerator correctly any harder.
Except thousands of years ago it was limited to natural causes. Now the law actually encourages it.

It might not be such a bad thing. In the past, people might have unearthed the treasures and dispersed them on the open market and then built their hous.

Now they just build the house over the things, which stay put where some future archeologists can give it a layer number.
Ask HN: Your favourite programming book?
I was reading through this thread (https://news.ycombinator.com/item?id=12209446) and found suggestions to very to the point books by fellow developers.

Can you suggest some good books you have read not particularly related to a particular programming language, but the book to improve planning, estimation, programming and maintainability.
What will be the next Pokemon Go?
If the car's sensors were faulty, then the logs would be in error too.

It's wouldn't be possible to say for sure whether the driver or the log is correct unless the sensors are physically recovered and tests.
> Carriers’ fear of commoditization is alive and bad; how else to explain Verizon’s necrophiliac acquisitions of AOL and now Yahoo?

Sentence of the week.
The authoritative source is the Go source code. Read it, it's relatively easy to understand, and fairly obvious that the STW mark termination phase goroutine (like any other goroutine) will be preempted after forcePreemptNS (which is 10ms), and if that happens even though it hasn't finished its work, it transitions to a concurrent task, and resumes later.

If you're interested in the finer details, I'm sure the GC talk at golangUK later this month will discuss them all, and the slides and/or videos will eventually land here on Hacker News.
A 7 figure annual income is setting the affluent definition very high.

You can work at Google for a decade and end up a multi-millionaire, with enough money to retire to most places in the US.

From your other comment, it seems like you haven't done the analysis on this. Top companies are routinely paying $200k-300k these days. That's enough to save a million dollars over a decade even if you have a family.
I don't think the poster of your parent comment would disagree with your explanation of the how things are; they're only saying that's not how it should be.

If we lived in a just meritocracy, people who created millions of dollars in value with their code would be compensated with millions of dollars, but this is rarely, if ever, the case. It's this fact which makes libertarian arguments about the unfairness of tax and social welfare programs offensive.
I think you're mistaken there simply because most colors are not a single wavelength. If colors were a single wavelength, then indeed something around 2 cones should already be sufficient to resolve any color in the range of their joint sensitivity, because there is enough information to deduce which single wavelength was responsible for their activation levels. But because we see things that are combinations of various wavelengths, adding more cones with different sensitivity always provides useful information for resolving which wavelengths are present at the same time at which intensity.
"This cannot end well."

The death of Verizon would be a good thing though, no?
Massachusetts is doing some good steps to better the work environment and entrepreneurship. This is a nice to have in negotiations and MA challenging non-competes are great things to change[1].

Non-competes are extremely anti-innovation, anti-worker, anti-business and really anti-American. Workers that are skilled cannot be owned. Good knowledgable workers should be compensated to keep them around, not fear of legal threat of using skills they developed.

Non-competes need to go away everywhere.

[1] http://fortune.com/2016/06/30/massachusetts-non-compete-pass...