skysight-inc/HackerNews huggingface dataset:
It's a rite of passage to create a crappy, half baked web framework. It's a great thing that every web developer should do so that they understand, end to end, the tensions facing the creators of web frameworks, the tradeoffs between the various attempts to balance purity with convenience, and how much 'magic' you want a framework to perform vs how much should be completely explicit.

However, nobody should ever use these frameworks, there are probably 5000 of them floating around out there in github, and beyond an exercise in pedagogy they are mostly half broken and stupid.

So to the author of Quinn: don't let this get you down, stay excited, but realize that it's possible that you can't just swoop in and do something great on your first try. OTOH, node.js' ecosystem is so amateurish and shitty that maybe you actually could.
> I also believe my problem could be discipline.
> I usually work during the night, sometimes in the morning. I choose the night because it's less distraction, but then I distract myself with reddit or IRC, and I get little done.

You're right - discipline is a challenge for you. It's a challenge for everyone, but you're the person of concern here.

Work on your discipline habits. This is different for each person. Try lots of things. Keep trying.

As you've described, your current career is a struggle. Many short-term gigs, constant pressure, almost no social capital, and (I pessimistically assume) low pay.

And regular criticism, either direct or indirect.

That sucks! And it's not likely to improve. You're in the midst of a market that runs on people meat. Like a sweatshop, except your mind instead of your body is being exploited.

It's better than a physical sweatshop, but it still sucks. The key thing to remember is that you're participating in a market which places little value on humans. It's easy to absorb that attitude, and devalue yourself.

If you stay in this career, the likely outcomes are:

- burnout

- depression

- resilience

- aggression

(This is all personal experience & opinion, BTW. It might not match reality.)

In order to survive, and even succeed, you need to minimize your burnout and depression, and cultivate your resilience & aggression.

Aggression doesn't mean rage - it means hunger. It means viewing every single interaction as fuel.

You've shown you can write decently (many people can't speel sipmle word).

For example, this communication:

Given the urgency of the project, and the communication problems, I don't think this is a good first Company project for you. I removed you from the project. So I can make sure you're put in a better position, what's the ideal project for you?

looks like a solid opportunity. You might reply:

"Thanks for taking this action, and for the frank communication. I understand the tight schedule and I appreciate your help in matching my abilities with your needs. You asked what the ideal project is, and we both know projects are never ideal.

For me to bring maximum value, I need time. You're probably familiar with the good/cheap/fast triangle. I work in the 'good' corner.

Thanks again for your time. I'll be happy to talk further at your convenience."

I bet you can write it even better. (hint: shorter = better)

The fact is, in the cheap-gig market, you'll get to write this response dozens of times. You'll have plenty of chances to practice, until you're either a iron-hard pro, or a mentally destroyed basket case!

(or some strange hybrid of those two things)

Hope this helps.
I believe the arguments should not be available in arrow functions according to the spec.
(source: discussion here https://github.com/Microsoft/TypeScript/issues/1609)
Still they bought some struggling companies with intention of finishing them off, not saving them because their tech competed with their core tech. And they did it covertly.

The impact they had is probably arguable.

Still, I think that no city in the United States came up with an idea how to benefit from trams, the way European cities did, is a little bit strange.

After all that's the country that hosts biggest ball of twine in the world.
Intro to a CPA
Does anyone have a good CPA they work with? Looking to gain a better understanding of what expenses can be classified as "business" and best practices on how to incorporate an "expense policy".
Is this open source hardware as in RPi? Like, you can actually use the GPU, but shaders and everything else are closed source?
How to Get 1,134 Email Subscribers in 14 days
Vim with Wordpress and Tmux
Self-deception habits of the Software Developer
Our Biased Brains
For narrow minded people here:

- existence of the gendered categories does not force you to use the gendered categories

- dropping the gender categories does prohibit others to use the gender categories
5 programming problems every Software Engineer should be able to solve
b/c waste is bad. もったいない as the Japanese say.
Great article! It is inspiring to see and experience people helping other people especially when it comes to jobs.
JavaScript. People love to hate it, but I believe that that's just because they never actually bothered to learn it properly. That being said, I have developed a great deal of respect for it for its capabilities and flexibility. I assume that you probably already "know" it like most devs do, but I encourage you to go back and build something big with it. You might be surprised.

In terms of flexibility, you can use most of the major programming styles with it (Procedural, OO, Prototypical, Functional), as well as Synchronous and aSynchronous (evented) flow. You can mix them as needed. There is an IDE, debugger, and execution engine on every OS. It has matured over time (and is still being refined). It is high-level enough to make programming grunt-work bearable, but still feels intuitive for those of us who love the low-level stuff (C++ and Assembly are actually my favorites). It has closures. And websockets!!!!

Drawbacks: lack of threads and pointers. Yes, I miss them.
its about F*G time
open source in-browser code editor
So why would Tesla even care about sales in Michigan? Musk always implies that Tesla is production constrained (again just two days ago in Q1 earnings call), and Michigan isn't one of the states with ZEV program, so a sale in Michigan earns Tesla $30k less than a sale in California or Massachusetts or the other 8 ZEV states. Selling in Michigan costs Tesla money.

And why is Tesla so against dealers? As long as Tesla is showing the "internet price" then customers can see exactly how much the dealer is higher so buying from a dealer wouldn't even be a bad experience. A Tesla dealer would be more like CarMax, or at worst a Saturn dealership.

I think it's worth considering that Tesla may in fact be demand constrained not production constrained, and that's why they need to sell in these states where they earn less. And they don't want dealers because they are much more transparent about demand.
Four Reasons Why Rails Rocks at Wolox
That is assuming that everyone is a hired mercenary. I could rather easily find a job that pays me a 10%-30% raise over what I currently make. I don't do that because I already make "enough" and I like my current job, company, and coworkers. It isn't even a matter of loyalty, it is a matter of different priorities that puts money further down the list than job satisfaction. Finding a good paying job is much easier than finding a good job.
Show HN: Gradlancer – Find affordable skilled students for your project in UK
A cool & unique freelance platform connecting UK employers with skilled university students "Gradlancer" is exclusively connects skilled, freelancing university students to employers looking for talent. It allow employers to post relevant student based freelance roles on the site. The site then matches students to these roles and the students have the option to bid on a project. If the student is successful and wins the work, the employer and student communicate through the site to take the work on further and once completed, the student generates an invoice and is paid by the employer
There was a recent large study, mentioned in the article, that said that drinking up to 6 drinks a day was healthier than being teetotal. It got a lot of publicity. And it's probably not true, so it's good that articles like this one are appearing.
From the article:

argues for a simple theory: the net marginal impact of drinking on health is negative at all levels; and moderate drinking is a marker for relative youth, affluence, and healthy habits rather than a cause of good health
The Traffic Factories: Metrics at Chartbeat, Gawker, and The New York Times
I think that's just because you are used to see it used that way. And it's not like CoffeeScript invented this.

Haskell does it:

\x -> x + 1

OCaml does it:

fun (x : int) -> x + 1

It is very common in functional languages to use -> both for function bodies and return types.
I'm not the author, but found this useful:
Bootstrap tabs that keep track of the history using the HTML5 History API
I think more awesome, was the hosted fields you just launched, so that I can have a custom, stylized form where each credit card input is its own iframe.

https://www.braintreepayments.com/features/hosted-fields
Another thing that matters enormously is branch misprediction. For example, super scalar sample sort beats GNU's (stupefyingly fast) std::sort by 35-50% on average. I benchmarked skewed quicksort vs std::sort vs super scalar sample sort in a totally artificial setting (sorting a permutation of 0 to n-1) for a lecture: https://github.com/lorenzhs/quicksort-pivot-imbalance

(Repository does not contain the super scalar sample sort code, I don't have the rights to publish that unfortunately. I used the authors' old Pentium 4 optimized code from the paper linked at the bottom (incl PDF).)

Edit: super scalar sample sort also has large data locality benefits over quicksort, the "wavy" line for ssssort shows the caches' impact. I haven't studied that aspect in detail yet.
Happiness Comes When You Free Yourself from Shame – Joanna Ciolek
CFFI 1.0 beta 1
Furthermore, Zappos is in Las Vegas. It wouldn't be my idea of a place to live but some people like it and it's certainly hugely cheaper than most of California. So someone leaving Zappos in IT/software development probably has the option of going to work for one of the casino groups or moving.
Every time this comes up, I have one simple question that I have yet to have answered to any degree of satisfaction.

(Someone who endorses this structure) explain to me in one sentence with fewer than 20 words how a 'lead link' is not the same role as a 'manager'.
It's a fine line. Sometimes the best thing to do is to walk away and leave the problem for another day. Other times you're just making excuses because you don't know how to solve a problem.

Learning which is which comes from experience I would assume.
On the tamer side of things, general disaster preparedness is smart. FEMA has a pretty good website[1] dedicated to the topic.

I'm probably not alone in saying my emergency supply consists of a bunch of uneaten Soylent sitting neglected in a low cupboard. I also live in Seattle, where earthquakes and volcanic eruptions are a real threat. So really, I ought to start taking my own advice here.

[1] - http://www.ready.gov/are-you-ready-guide
Reddit planning “safe spaces” initiative to censor certain words and phrases
I like having my foot in both doors. I work some of my time with an agency and the rest with my own clients. This gives me the stability/constancy I want, but also allows me to pursue my own clients (and to charge them a ton more, knowing I have the agency to fall back on, if I need to).

> Any tips on making the switch?

Yeah, find an outfit that's a good fit. Make sure they're flexible, understand the industry, and that there's no personality conflicts. You should have a very easy, comfortable relationship.

> Where did you find these middlemen you were talking about?

They're all over the place, looking for you. You just need to be found or you can find them. There's a ton of them. Probably quite a few on this thread. Make yourself easy to contact. You'll bump into them eventually or you can actively look for them by researching some larger projects in your niche. Larger projects require multiple people and that brings the agencies out, since they're able to bring multiple people onto a project pretty quickly and effectively.
One important subtlety here is that it would depend greatly on where you were geographically. In a small town with one employer it would be one way, in LA or NY it would be another.

Zappos is located in Vegas, which is a bit of an oddball market and somewhere between these poles I would think.
I also met my wife at church.

But, you know, don't go there just to pick up women. For that matter, don't go to the gym just to pick up women. Don't go to the farmer's market just to pick up women. That's creepy, and women don't like creeps. (At least, most women with decent judgment don't, and you don't really want to wind up with the ones who have bad judgment.)

Instead, just go do stuff. You're going to the gym? Great. Talk to the person on the next treadmill (if they're willing, not buried in their earbuds). If that person is the wrong gender, talk to them anyway - at least say hello. Learn to talk to people, not just to potential partners. Ironically, this is a useful step in finding partners...
Not for lots of people. And startup loyalty is even worse.
Tesla isn't only selling in ZEV states. Are they also losing money to "prop up" numbers in the non-ZEV states they are selling in?
Wearables Startup Neumitra Gets New Cash Amid Fitbit, Apple Buzz
Corporate loyalty is gone, but nepotism never dies.
This seems like it would be more lightweight flexible than something like angular. With angular you have to do everything with data attributes (which is fine for a lot of use cases) but this can be done in all js with "normal" HTML.
I imagine that people in management positions have reason to take the package even if their skill set is perfectly aligned to the new job. If you're on a career path where one of the major measures of your success is how many people are under you, then you better be pretty committed to the Zappos vision if you're staying on. A long stint of not having anyone reporting through you might be a bit of a black spot on your resume if you ever end up for a position elsewhere.
So what is the alternative? If you don't have any cheap clients (cheap labour) or portfolio (free labour), how do you convince clients what you're worth?
I've used Fedora, off and on, for many years and Red Hat before it, back in the late 90's.

I still have 2/3 of my machines on Fedora. My main development workstation is running Arch now and I plan to migrate my music production workstation and my all-rounder ultrabook as well.

Despite moving away from Fedora, I really can't say much against it and little against it that's actually in favor of Arch or any other distro.

It's a good solid distribution. The only real pain points are installing non-free drivers and that some things aren't packaged for it. I'm comfortable repackaging things, doing manual installs, or adding necessary repos--no distribution has 100% of all software ever created in its repositories.

I mainly switched to Arch because I wanted a rolling release distribution where I wouldn't feel "left behind" after a couple of years of being too lazy to reinstall my whole OS. (Which is different than LTS, because I want more than just security updates and fixes, I want the latest everything, forever.)

The secondary reasons I ended up liking Arch are the AUR and that Arch does much MUCH less for you out of the box in terms of default configurations etc than Fedora does and I was getting a bit frustrated with not having things the way I wanted them while having default configurations that were adequate enough to settle for.. so I wanted a distribution that would be basically almost unconfigured after installation so that I would arrive at the configuration I wanted. In this regard, Arch has been better than Fedora but that isn't "user-friendly" that's more "user-challenging".

Either way, Fedora is a good distro, I would recommend it to a raw newbie or a power user. I can't really say anything other than that, it's definitely Linux. It's also really easy to install. (I auditioned Ubuntu and some Ubuntu-derived distributions some time ago found things like getting my RAID working at install-time to be impossible. I use BTRFS now, but I was trying to use my mobo's RAID-controller then.. which was trivial in Fedora and not happening in Ubuntu.)

If you're curious to know what I don't like about Arch.. it's that updates seem like they should be done pretty regularly and I'm not in the habit of rebooting more than about 2-3 times a year. There was even a year in recent history where I did not reboot once and my uptime was somewhere around 1 year before I irrationally became worried that I didn't -know- that my computer was capable of booting because I hadn't tested that capability in so long, so I rebooted it and then updated just to demonstrate to myself that it would work.
Meteor Facebook Feed Reader (GitHub)
When it comes down to it, it's a matter of comfort and risk.
You can use pre-built images even with plain LXC:

lxc-create -t download -n container1 -- -d ubuntu -r trusty -a amd64

LXD just takes it a little further, so on the UI level you are dealing just with images through the whole life-span of the container, not just when you are creating it. That makes it possible to wrap it all in a nice API and automatize the environment.
I can see Twitter too, they never make any money as far I as I can tell.
> Instead of taking the response as a second argument, the dispatch function is expected to return the response... The moment the function returns, both the status code and all headers are known.

I highly doubt this convention will work. You need to be able to return errors or DB information in the response code and headers, which would be impossible since Node is nonblocking. Even something as basic as storing session information in Redis suddenly becomes impossible. This seems like it gives a very minor benefit and causes a whole lot of problems.
Maybe you need to write a 5000-word memo to get the message across.

http://www.webwordcount.com/count.php?u=FoW3dBdV
It has the same effect as the UPDATE/INSERT trigger they use as far as I'm aware, without the additional storage.
Hey Hacker News, we’ve been working on this prototype for a while and would love to get some early feedback from you guys. If you have a minute, please click through, try it out and let us know what you think.
There's definitely Tesla owners in Michigan. They just buy them in other states and drive them back in. Of course the main issue is the law that disallows corporate owned service centers. Hopefully, either they get the law tossed OR Tesla simply employs a third party to provide service in some manner.
I'm surprised the number of people taking the deal isn't higher. If I need religious zeal, I'll go join a religion.
Hey Hacker News!

We're a new job search site for all computer professionals. Please, check us out! We made the website intentionally simple but we're C++ programmers, not designers. Therefore, we would appreciate any feedback, both positive and negative.

YC-funded start-ups and everyone else, if you're looking to post your jobs, please, give us a try. We're giving 25 free jobs to promote our site but if you need more, contact us and tell us you found us on Hacker News. We'll figure out something for you.

Those who need a job or looking for a change, we don't require you to register to submit your resume and never will. Just a few basic fields to fill out and you're done!

Thanks, folks!
From what I've read, Semco employees help set their own compensation and hours, something that will not be happening at Zappos (at least not in such a direct fashion). Semco is a workplace democracy, not a holacracy. It isn't a worker cooperative (like certain MONDRAGON group members), so there isn't shared ownership, so it has that in common with Zappos.

In a nutshell, the holacracy system will have "circles" of individuals which act as semi-autonomous groups to achieve results. Each circle might function democratically. Semco is a more traditional company with a workplace democracy overlay on top. This piece goes into more detail: http://jonathangifford.com/maverick-ricardo-semler-10-key-de...

EDIT: And oh yeah, both Zappos and Semco are privately held. The linked article discusses this in the comments, but in recent years we've had more illustrative examples of how profit incentive sucks character and morals from a company, e.g. Cook shouting down an investor questioning the need for green initiatives, or Schultz telling investors they could sell if they don't like his support for same-sex relationships. These two held on, but countless others surely sacrificed their values at the altar of shareholder value. In short, I'm not holding my breath that we'll see workplace democracy or holacracy at a public company anytime soon.
"Holyrood" is the part of Edinburgh in which the Scottish parliament is located. In this context it's being used to refer to the Scottish government collectively, in the same way that "Washington" is often used to refer to the American government.
>Isn't this a concern as the main objective of search is to provide accurate results?

If it provides 99% of the results and misses some documents because of some weird bug or encoding issue, then it could very well be good enough for their purposes. Heck, even 90% could be good depending on what they do (e.g. serve articles in an online site).

For other uses, like police or medical records obviously they'd need 100% results.
You have it exactly backwards. Without relicensing, you can't ever revoke the conditions of the GPL and allow proprietary things. You can always make non-copylefted code more restrictive, e.g. you can make it proprietary.
Dangerous knowledge. Best put these kids on a watch list.

/s
Video for your ears: What do planets sound like?
Those are the kind of things I wonder about when I hear about zappos or valve or other companies that claim to be without managers. Is the person who cleans the restrooms getting to be part of this (although in the modern world the companies probably pay another company to do their janitorial work)
I read your discussion there, let me pick one of your early comments.

It does this (in general) by giving points to people who satisfy other people's values and proportional to how much they satisfy them. These points can be used to satisfy their own values after and this creates a feedback loop of value satisfaction. IMO a very good thing.

If I understand you correctly, you think that what Adam Smith explained with the invisible hand, that all individuals pursuing their best interests will usually result in a beneficial situation for society as a whole, is true. If that is the case I have to disagree, otherwise just ignore the rest of the comment.

There is nothing that justifies this assumption, if everyone just tries to maximize its individual gain there is no force that will ensure that gains for society as a whole are simultaneously maximized. Let's just stick with the topic of the article, slavery. If a few people exploit the workforce of a large number of slaves they surly maximize their personal gains but you can hardly argue that it leads to a good overall situation.

By the way, I want to avoid the moral discussion and will just take it for granted that we agree that a world in which the slaves are not slaves but receive a fair compensation for their work is a better world.
In Patrick (Patio11)'s blog with his consultancy rates [0] he switched very early from hourly payments to weekly - that seems like a really nice tradeoff. You're not counting hours, if the scope changes you can adjust pretty fluidly, and you're not having to go chasing gigs all the time.

[0] http://www.kalzumeus.com/2015/05/01/talking-about-money/ If you haven't read this, it's fantastic