skysight-inc/HackerNews huggingface dataset:
(this is probably not going to be a very popular answer here, since most people enjoy making things abstract, and feel like they're creating value)

Making things too abstract, too early, is usually a bad sign. In most cases, the most most specific and straight forward solution to a problem is the best one.

There's definitely cases where you're simplifying things by making them more abstract and reusable (but making something reusable before you need to reuse it is a waste of time) -- another good case is where you're using the principle of separation of concerns.

I think when I started developing I made everything very abstract, b/c all the books you read would also tell you that was a good thing.

It's not. Until you need to, at least.
Bumbla claat princess riddems. Control your space lady.
Ugh, no kidding. I want to see what the skates look like up close. I want to hear what they sound like without music being played over the top. There's hardly anything useful in the video.

That said, I've been looking for a decently portable, medium distance form of personal transport for a long time (preferably wearable so I don't have to lug it). I can't take a bike onto a tram. These might actually fit the bill.
Ask HN: Would you pay $5/month to get your partner in shape?
I would gladly pay $5 a month to be able to hold my significant other more accountable for exercising and staying in shape, and I'm wondering if other people feel the same way. I set up a quick splash page to collect some feedback on the idea here:

http://stay-fit-together.herokuapp.com/

All comments appreciated!! Thank you!!
Agreed, the C compatibility and piling off features on top is a serious legacy.
DHS Releases Hundreds of Documents on Wrong Aurora Project
If I wore these, I'd have to kick my own ass.
Building a Community for High Schoolers Who Code
You have to have permission from the home owner to switch them over from ADSL to VDSL and to give them a new modem. Here in Australia the plan was to run Fibre to the outside wall termination point on each person's house by default (opt out). Then someone comes shortly after to patch it through the wall etc if and when the customer wants it. There was no legal hooplah at all.
TIL about cloc! Thank you good sir.
It seems as though this is because he had node_modules checked into source control on the frontend part. npm basically likes to download the whole internet when you run npm install, so these stats do not suprise me. Checking in that directory is generally discouraged, but its possible he wanted to avoid adding the node dependency in order to ease installation.
Abstraction is good. Gratuitous abstraction is bad. Experienced engineers can make that distinction.
One City in Pakistan Makes Nearly Half of the World's Soccer Balls
bullshit .. there are tons of people with ultra smart than this fame-ass ! people from russia , china are very very smart than this look-at-me i m so ex-google.
if you are that smart why you need article and fame ? why do name dropping ( using google for those ass-hats who don't know what name dropping is )
seriously , get a life
It's worth mentioning when you benchmark Docker you are never really benchmarking Docker unless what you are doing is measuring setup/teardown of containers.

What you -are- benchmarking is namespaces, cgroups, CoW filesystems and your underlying hardware.

As Solomon has already pointed out as soon as you use a bind mounted volume in Docker parlance you are simply benchmarking your host Linux kernel + host filesystem + host hardware, nothing more. I am unsure of whether Docker is now configuring the cgroups cfq or blkio controllers yet but that could also play a part.

The TLDR is this: Docker doesn't have an impact on performance because it's just glue code, none of Docker itself sits in any of the hot paths. You are better off benchmarking the individual components in the actual hot path. Also worth nothing that compute benchmarks will be absolutely worthless as they -will- be 1:1 native performance (because there are actually no additional moving parts).
I have used windows 7 on multiple different MacBooks. My company works with clients that require us to be in a windows environment. I'm also of the opinion that if you're using windows today you should be using windows 7. Windows 8 is, in my personal opinion, a failure as an OS for a desktop environment. I've never had issues installing windows into the boot amp environment. I'm sorry you have not had the same experience.
Then hopefully you would state that explicitly before-hand no? This guess work from the interviewee's side is what makes many of these interview code problems so completely arbitrary.
Still painfully slow getting started. 30 minutes to move 3 tiles? Same thing happened now as the first time this was posted. An army is moving, but they're probably going to grow old and die there.
I've had a Trello card system up as well. I kept my ideas dumped into it publicly in hopes that that would raise my accountability and get me off my procrastinating ass to get work done. My procrastinating ass turned out to be much stronger than I expected sadly. Even so, the system is gold and I use it in organizing pretty much everything I need to do.

(I also pledge, that the day I start earning money from my side projects, if I ever release that is, I'll buy into their paid plan).
Sexy restaurant chain charges trademark infringement against Florida caddy girls
-Bad: Do nothing
-Better: Object to everything and you might win the lottery
-Best: Object reasonably that they may be taken seriously
-Beyond amazing: Admit everything in such a sympathetic way to minimize guilt*

*Gerry Spence
It was an example, and I picked Laos because it is small. People get defensive if I name their country, instead of thinking rationally, and because Laos is small most people reading my comment will not be from Laos.
A Way To Find Movies Worth Watching On Netflix
You'll have to catch your ass, first.
Bringing a healthcare product to market is really hard. A friend just had a good one with a proven product and sales fail simply because institutional hospitals take to long to really implement a decision to the point they will actually pay for a piece of software they want to use even if it isn't something regulated.

Google certainly has the cash to sit this sort of thing out, hire sales and support people etc. Microsoft and others are doing so, see Microsoft Amalga for example.

However a more intriguing area, to me, is doing some more basic research without becoming a health company. Google is doing this with the glucose contacts and things. These are novel ideas with significant IP that could be spun off into an independent company and/or licensed to to an existing drug company to push through clinical trials and bring to market.
Man claims he was taken on a “high-speed” chase by an Uber driver
Besides his books on Networks and Operating Systems and his work on MINIX OS, I also recall he launched the website electoral-vote.com.
I name my servers with names fitting ships so that I may have a proper fleet of boxen.
I think this is the root of it. Looking at the repo, you shouldn't have to go through 20 steps to just install the app. I believe Node is just for compiling and gulp stuff, so that's fine for front-end.

I can't say I'd pass the interview but my idea of how this would work would be:

- simple instal.php script that would use PHP's PDO to create a DB and a table with necessary info
- simple api.php script that would take API calls in order to save scores and that's it. You could easily do this in Node as well thus keeping everything javascript
- javascript front-end with no PHP involved there. An actual index.html file with everything in it, referencing one (non-minimized) JS file and whatever images and CSS.

This is hindsight 20/20 obviously especially since we all want to show EVERYTHING we know during an interview and I'm guilty of doing things like this as well. I'm guilty of doing the opposite too, keeping things too "prototype-y" and messy.
This is great. Founders need to see this.
But what's the point? These days, there's not a whole lot jQuery does that can't be done easily with vanilla JavaScript. Would you rather hire someone who can write lean code with minimal dependencies or someone who throws in whatever library is getting the most buzz "just because"?
This book when combined with "The Clean Coder", and "Refactoring: Improving the design of existing code" completely changed how I thought about programming. It "levelled me up" so to speak. Even though I'm as far from being good as it gets, I still know I improved significantly from reading these three books.
It's designed to not take a lot of time to play. Something that you can spend 10 minutes moving your troops around then come back after a few hours.
Discrimination is considered unethical when it is baseless.

When it has merit, it is accepted as ethical.

It is ethical to deny a loan to people with a terrible credit score, because there is very good reason to suspect people with a terrible credit score will default. It's still discrimination, but it is ethical because it is based in fact.

Discrimination can have useful purpose. You can't expect people to expose themselves to a 9 out of 10 risk of being exploited by corrupt authors "in the name of equality".
> “Security Princess” is Parisa Tabriz’s official title at Google. Seriously.

Well, sure, but at the same time my official title at Google is "Engine Ear". It just takes manager approval.
(Note: the following is not criticism directed at you. I'm merely using your comment as a springboard for commentary about the industry on many matters you also show you are aware of.)

These things are highly subjective.

Yes.

leads them to judge your work in the harshest light instead of an evaluative one

Should any professionals have to present apologetics for others in his procession doing such a thing? We are all human beings, but shouldn't we be trying not to be this quickly and arbitrarily judgemental?

Speaking of burning irrational hatreds:

Somehow the social expectations of the programming profession are that we can get away with acting these out.

PLEASE DO NOT MIX TABS AND SPACES. Drives me nuts--I would have dinged you for that.

Yes. This can be problematic. The fact that it is still problematic after all these decades is a good indicator of how backwards we are as a profession.

If you look at the various analyses answering the op as detection of signalling -- well, it's all about signalling. I'm not so sure this is too much more substantive than an interview where you need to have the right school name on the right degree and a properly pressed suit.
Article's headline does not match its content. The "$6000 a month" idea came from what somebody posted on Glassdoor about a college intern at another company. Article conflates that with saying Facebook is hiring high school student interns.
Bitcoin is a "negotiable instrument[]...in such form that title thereto passes upon delivery."

A negotiable instrument can be but is not limited to debt instruments; the counterparty is simply whoever you transact with. Private municipal currency, for example, is not currency under the statute but is a monetary instrument because it is a negotiable instrument.
In a word: automation. The promise of automation is that you can trade labor costs for capital costs. In other words, the promise of automation is plugging the "leak" of trickle-down economics. Now, we've got weird rich entrepreneurs spending their money on weird shit made by [computer programs commissioned by] other weird rich entrepreneurs (Yo), and poor laborers wondering where all the money and work is.

The answer, of course, is for all those laborers to start their own businesses selling stupid shit to rich people (Potato Salad.)
It's a security. It's equity in a consensus mathematical construct.
This whole interview practice seems a bit odd to me. Does anyone else out there give these types of "Homework" assignments to candidates after they've already been through HR and tech interviews? If I gave out an assignment like this at all, I'd be inclined to give it before the on-site interview as a pre-screen. I thought the whole point of such a thing would be to screen out people who can't code at all before they take up valuable man-hours interviewing, with a secondary goal of creating discussion material for a technical interview. Assuming it doesn't completely suck, I'd use part of the technical interview to discuss various aspects of the solution - the merits of frameworks used, tradeoffs of design decisions you made, what would you need to do to scale to 1M users, where are the potential performance bottlenecks and security challenges, etc.

Doing it like this makes me wonder if their real motive is something else. What are they really trying to determine with this sort of test at this time? They do it at a time where there isn't much opportunity to discuss the result, so what's the real goal? Whether, without prompting, you used their favorite language/framework/database and happen to have the same coding style as them? Seems pretty silly to me.

Did you get any possible feeling that maybe they have some hidden or political reason for not wanting to hire you, and threw this test at you as a way to create an excuse for why they won't hire you? That would explain why they gave it after the interviews and don't seem to be interested in discussing why it doesn't meet their standards.
"hold my significant other more accountable for exercising and staying in shape..."

I wouldn't want to be in a relationship with someone who thinks they have a right to "hold me accountable" for staying in shape. Nor would I want my significant other to keep track of my exercise history or be notified if I fall behind. I'm a responsible adult, not a child. The whole thing sounds rather creepy. What does your significant other think of this idea?
It all depends on what they asked for. Did they ask for an example of how to structure "real"-sized web-application? Because otherwise this could have been seen as a bit of overkill for something where perhaps a hundred lines of Javascript, one sql table (or some other storage) and two backend routes (post score, get scores) would have been enough.
Show HN: Faster access to Google hangouts
I'm not the OP but I really appreciate your answer. Thank you for taking the time.

What is the "right" amount of time/effort to put into a "job-application" project like this?
A unit of account is not a measure of liabilities; it is simply a measure of the relative value of different goods or properties, which usually include liabilities. By that definition, Bitcoin certainly is a unit of account. Though it is not the unit of account for any government, nothing prevents private companies from keeping their financial records in bitcoins (so long as they also prepare copies in the appropriate legal currency for tax or regulatory filing purposes as necessary).
I rode one at SXSW in March 2013 -- they're yet to be made available commercially?
All true, but it does not diminish my point; that since the dawn of capitalism, money has been a balance sheet phenomenon: being simultaneously someone's asset and someone else's liability, and in this Bitcoin is different.
The thing is this doesn't apply to rural communities. It is very distance limited.
The article gives an example of a program that fails to typecheck, based on function variance.

Note that this algorithm is based on HM. You can't do plain old HM if you have subtyping; you have to do some algorithm based on it. This is just one of many possible algorithms.
It is not nonsense.

It is not nonsense because people really run their applications (e.g. PostgreSQL) in virtualized environment these days (i.e. AWS, DO, Linode, Google Cloud etc.) People still need to estimate the performance they will have under these situations - and these benchmarks are relevant to them.
This is fantastic. I've used python mechanize in some very large projects and it was very frustrating - their lack of documentation and, well, the fact that it's complete "abandonware".

I've had mechanize repository cloned for a year now, planning to do something with it - never got around to. Looks like MechanicalSoup just got themselves a new contributor!
No.

First of all. Docker is -not- virtualisation. It's -containerization-. Effectively namespacing and little else.

In Linux namespaces are hierarchal, I can arrange them in a tree. Where at the top namespace A can have 2 sub-namespaces B and C. A can see the process table of B and C, but B and C can only see their respective process tables.
This is called pid name spacing.

Full containerisation on Linux actually requires a bunch of different namespacing, firstly the pid namespaces above but also uids, network (yes, in Docker your container has a fully namespaced network stack in including it's own (multiple!) route tables and adapters) and also device/filesystem etc.

The key take away here is NOTHING is being virtualised, we are simply only showing a section of the system to each process depending on it's position in the namespace hierarchy. What this means is Docker (well really Linux.. Docker is just glue that calls this functionality up) is just.. Linux. Nothing fancy and definitely nothing KVM/Xen/VMWare would be able to influence.
Docker captures stderr; you can configure Postgres to simply use stderr logging, and then capture it in the host system.

Another option is syslog, which Postgres also supports, with which you would log to the host's syslog daemon. (You can mount the host's /dev/log if you don't want to deal with setting up the networking.)
Yep, I got to ride one a while back. As someone who doesn't know how to skateboard it was pretty much terrifying real.
Firefox OS 2.0 UI and Design Features
I'm not saying we should ignore this but there are always going to be bad apples and I trust Uber/Lyft driver much more than I trust taxi drivers...
Trading platform to buy shares in startup companies
The Importance of Openness When Selling
c++ LOL! I love it. Thank you so much. I don't mean to hate on C++ too much.

much love!
You basically stated a definition of racism and then asked if that was racism. It doesn't really matter if evidence is involved or not. Racism is just stereotyping based on ethnicity or culture; as soon as you've generalized for good or bad, it is racism (yes, racial profiling is racism also).
I see a disconnect between balance of dependencies vs. the minimum required to yield the target result. A lack of focus on the thing you are trying to show... coding skill/efficiency around the game problem. The tight piece should be a great set of game code. I see, which I see a lot when I see IoC for small jobs, inversion of focus. Lots of ceremony yielding a loss of clarity.

You know laravel.
You know about libraries and can use them.
It's less clear that the code you wrote was good. It's sort of buried in a fair bit of noise.

You won no favors by requiring an install of the nature you have and fumbling that a bit as well (chmod 777).

The other thing is... you can't trust a potential employer's reason for saying, "No." They said it, but you don't know if the message is garbled by the HR rep or even a flat out lie because the short answer is, "No." and they don't want to spend time explaining themselves.

They decided and moved on. They are not invested in your future. Coming here for feedback is a good practice. We care about you and have few reasons to just let you know, "No."

Soooo many dev job fish in the sea. Get your line back in. Your bait is fine.
Good call on ditching the extended pregnancy metaphor.

Previous post:
https://news.ycombinator.com/item?id=7970809
As a person that's bought an electric skateboard in the past and a lot of other dumb stuff, I feel like I have a decent grasp on the target market here... but I couldn't buy one of these, they just look so dorky. It's like wearing cement shoes or something. Way too bulky and garish. And the marketing video.. ugh. Like the shirtless dude and the weird slow-mo cuts and the obvious pandering to a male audience? It just gives off a very desperate vibe. If they have to go to such great lengths to make it seem "cool" you can be almost assured they realize exactly how uncool it looks.

The other thing is, your target market is basically college students to start with (probably), or kids. 400+ is out of their range. I think you can get away with cheap/functional+dorky (regular skates), or expensive+cool, but you can't do expensive+dorky (segway territory).
Nice to see this getting a bit more exposure. It's a quirky film but I enjoyed it when I saw it last year.
>Could one not just as well argue that dollars are just ink on paper, and therefore not money?

Aren't there people who argue exactly that? The sovereign citizen types, and folks who insist on paying their parking tickets in gold bullion.
Really, really cool to see the hackathon scene develop like this - due to nothing other than the extreme dedication and hard work of a select few.

I'm still not exactly sold that hackathons are the best way to learn, but they're certainly not the worst. Great to see more and more people find safe environments like this to play around with different tech and, equally importantly, network with others.

Congrats on building such a cool community, it's all very inspiring.
Most people don't worry about their data privacy, or else they wouldn't be on FB, take those buzzfeed quizzes, etc.

The P in HIPAA stands for Portability. At it's heart, the act was supposed to guarantee patients have access to their health information, not bring health data liquidity to it's knees.

This is Jonathan Bush, of Athena, testifying (read: ranting) a couple weeks ago about regulations and innovation in healthcare. The big take away is that healthcare specifically sets these rules with incredibly high barriers of entry, and then at the last minute does a complete 180. We've seen it every step of the way with the EHR incentive program, CEHRT, ICD-10, payment reimbursement, etc.
https://www.youtube.com/watch?v=CekfvGDiab8
I'd rather hire the guy who writes the most maintainable code. jQuery is hardly a "buzz" library, and in this case, using it certainly wouldn't be "just because". It's been the industry-standard method of non-trivial DOM manipulation for years. If he included Angular or Ember or some other nonsense, then I'd be concerned for the exact reasons you stated.
http://chademeng.com/jgf.jpg
Obesity crisis solved. If only we'd all been willing to spend $5* a month sooner.

* divorce lawyer costs not included
No way. Is this a successor to the old DOS game by the same title? http://en.wikipedia.org/wiki/Dominus_(video_game)

I spent a great deal of my childhood playing Dominus, admittedly badly. I'd love to see its spirit live on.
...and its Archimedean inverse(his favorite!): a Wilson(tm)* soccer ball enjoys 2/3 the volume and 2/3 the surface content of its minimal cylindrical official Wilson(tm) shipping clear plastic blister pack.

*citation: Tom Hanks in "Castaway"
Why is this on HN ?

Because it's about 'Uber'
Wonder if it is like this?

http://www.worldstarhiphop.com/videos/video.php?v=wshh3112nn...
I'd argue they are at disadvantage. Small startups can't eat the cost of spending 2 years developing for a particular standard just to have it changed on the due date.
Nope. No, they most certainly do not.

The web is SO GOOD at serving content. Really, really great at it.

Games? Streaming live video? Super high frame rate UI animations? Not quite there yet.

But man, it's a fantastic platform for delivering text to an outrageously broad array of devices.

News sites don't need mobile apps. They need content people care about and a URL. Nothing more.
Fleet: Name-your-own-price rides within the San Francisco Bay Area
Mirror Your Android Screen to the TV with Chromecast
Capturing it in the host system would imply logrotate on the host - which I am not sure about because logrotate needs to issue sighup to log-creator.

Currently, I am bind mounting /dev/log which means syslog is logging to the host system - but again, the same issues.
Show HN: WebGL Mandelbulb Fractal