skysight-inc/HackerNews huggingface dataset:
>Pretend for a moment that Javascript had macros (sweet.js where are you?) and the Angular syntax was more explicit:

Well, sure. If and when JavaScript gains hygienic macros (via sweet.js or otherwise), I will like this sort of notation. However, the reality is that JavaScript doesn't have macros currently. Thus, I still dislike the magical dependency notation.

>The last thing you'd expect is a syntax where the injected dependency names were chosen by the implementor of the provider.

I don't see why this is bad. Several languages allow you to rename things in imported modules. The two that I can think of immediately are Python and Guile Scheme. Most of the time there is no reason to rename, but sometimes it is a good idea to rename for clarity or to avoid name clashes. This is something that you can already do via the explicit form of dependency injection.
This brings back very uncomfortable memories. When I was 25 I was helping a friend who was creating the first structural analysis software for the PC. I introduced my friend and his partner to this strange guy in Dearborn, Michigan. There were meetings at the airport and in his office in Dearborn. This guy claimed to be a wizard at arbitrage and arcane financial instruments. He said he worked out all the algorithms for Ford Motor for hedging copper futures. He was overweight, had greasy hair, and, I kid you not, his back pockets were usually turned inside out. We figured, eccentric genius. At least at first. All he ever provided were excuses. He was waiting to flip some sort of bond issue overseas that would give him $10 million, etc. That business never got off the ground.

Then a year later my own partner and I got a call. We had been looking for a manufacturing business to acquire. The crazy guy had a contact in Chicago who was looking for an operations team to come in on a deal to acquire a manufacturer of audio mixing boards. This company was still run by the founder who had practically invented the industry. There were 50 employees and customers included major studios and venues around the world, including the US Senate and the Kremlin. The deal maker, lets call him DB, proposed that each of four partners -the founder, me, my partner, and him- put $25K into a holding company. He would arrange a $250K line of credit from the Korean bank in Chicago that he was friends with. Then we would operate the company out of bankruptcy. Well we three each sent him $25K (my dad lent me the money). We did all the legal paper work, and I showed up the next day as one of the new owners of a $3 million/year company. Very exciting for a 27 yr old. To make the story short. DB was a complete crook. He needed $75K to pay off someone else he had screwed and was threatening his life. The business shut down. 50 people lost their jobs. It took me years to get back on my feet financially.
Why do 0! and a^0 equal 1?
Sorry to be negative, but the UX of this guide is actually pretty bad. They're using target="_blank" to open links to the next day's lesson in a new tab instead of current window. Why?

Set aside the general argument that it's never really appropriate to do this - because it's certainly not appropriate in this context. The user just finished reading your article, and thought it was good enough to read another one. Why would you presume they need to keep the current one open indefinitely?

I have a hard time taking advice on a subject from someone who isn't practicing it well on their own projects.
Except the way the Persona protocol is designed means that Mozilla doesn't know either.
There's a very good reason it's in Guantanamo and not upstate New York (and it's not because of the climate).
How I built an application in two days
How could any industry evolve beyond such easy money? As long as there are users who will put up with Google/MyCoolWebSearch/ALOT/Conduit/Baylon/etcetera messing around with their settings and information these firms will never move away from these tactics.

If I rememeber correctly, Ccleaner was removed from Ninite due to the automatic refusal of big G's toolbar.
The UX on this site would be better if every link did not open in a new window, especially since each article is so short.
I recommend you check out http://seasonedgit.com/
Good concise explanation. For those who missed it a few months back, I wrote a blog post which contained an explanation of NP and, more importantly, why it's important for programmers to recognise NP problems.

The section headings 'Understanding NP-complete completely useless?' and 'Recognising NP-complete problems' are the most relevant. http://lifebeyondfife.com/helping/
This is the font they are using: https://philsfonts.com/index.php/fonts/overview/GF060022X1
fry meme face Can not tell if serious.

C++...most code in any language is a mess. The language being horrible is an opinion.

PHP can't comment.

Ruby...the community always struck me as a strength for it, honestly. As there are multiple implementations, which are you referring to, exactly?

Javascript hasn't changed since 1999 except for jQuery and HTML5? -Really-? Ecmascript 3 (actually, 2; 3 was standardized in December 1999) is the same as 5, and all the libraries and functionality and approaches and ideas are no different than a time when Geocities was a big thing?

Erlang is alien (fair, but...that's a reason to be dismissive?) and -not usable outside of (a) very narrow specialization-?! It's extremely usable -except- in a few specializations, which the language site even lists for you.
population control... = misunderstanding of basic science...
GM food = NOT the GM Food the companies tell us about.
We have been "modifying" genes for centuries thanks to simple, natural selection/crossing. Instead of putting more money into those methods (looking at crops region to region) the GM-maffia is only trying to patent a "universal/general" crop that should work in large areas.... anyhow, I am presenting all this very simplistically, but, I do not feel the need to insert genes from animals into plants n vice versa.

Is a study into GM necessary: yes, do we need to let monopolies decide policy for the people? no f'in way...
The on disk cache can still cache data for reads and they actually may actually cache data for writes as well if they are using write barriers.

There is no reason for the RAID controller to not let the on-disk cache and scheduling work while it is doing writeback, it only needs acknowledgement at the end before it flushes it's non-volatile cache.

This could also be something that I don't know about. Maybe in the world of disks write barriers are < some disable write caching command? Can controllers issue writes large enough to make up for the lack of caching + write barriers? I have no idea, how SATA works.

Again this gets into why it is hard to know what to expect from a disk IO benchmark. You have to know how the caches are operating and there are many of them and configuration can vary.
My understanding of the technology is that the endgame for persona is that you don't have to trust a third party. Instead, the authentication will be provided by the browser itself (the protocol behind Persona is called Browser ID). The current implementation is just a shim until browsers provide support for it natively.
With my two orthogonal syntaxes, there is no transformation. "|>" doesn't need to look at its operands to be implemented. With a macro, you have a call to foo/N end up a call to foo/N+1.

Also, coming from a functional background, where I read "X |> F()", I think "(F())(X)", not "F(X)".
Yea but Apple is always the bad one and Google never does 'evil'. Hope people start realizing they're all the same.
I do not believe that "delud[ing] yourself into thinking you picked it because it was the absolute best" is the correct interpretation of @noonespecial's comments.

I read @noonespecial's comment as saying that once you pick something, sometimes you should stick with it "even to the point of excluding something you find out later would have been a much better choice".

I think the "with religious zeal" bit was either a mistake or was intended to mean something different.
And it still goes down when Amazon does (or has this changed?). Sure you get something extra, but paying more just to add another layer that can possibly fail? I don't know...

edit: Oh, and you are getting vendor-locked and they can go Google-App-Engine on you.
Similar to queue theory in stores. Nice
The in-kernel drivers support 6 monitors now, with a max of 2 non-displayport. Have you tried a recent kernel?

http://xorg.freedesktop.org/wiki/RadeonFeature/
I am old enough that there was only one way to go once you hit "team leader" and wanted to earn more -> "management".

About 3 years ago I said stuff it, took a pay cut and spent a long and happy time just coding all day. It seems however that no matter which way I turn people will not let me sit in a box and type, I have to help straighten out teams, talk to humans, navigate politics.

We use coding as if it was a real job - it is no more a job than writing or literacy. A few privileged, talented people will be paid for their writing skills. the rest will use coding in the same way as literacy, as part of their job

1. You won't ever escape "people management", but that's not a bad thing. People (especially highly skilled professionals) are like autonomous self-guided missiles, you just need to know how to guide them, and let them be guided by you.

Start with Google's 8 rules http://www.davidzinger.com/8-google-rules-improving-manageme...

Remember - you will not be making the tough decisions - your team / people will. You just get to guide which tough decisions get looked at.

2. Having a "constant flow of new challenges" is all about building and filling a sales pipeline. This is pretty brutal work. There is nothing other than knuckling down, calling people, building audiences, sales sales sales. To me this is the biggest cost of being in business for myself - and I am a long way from having got it right.

So the advice I have and am trying to live by is

* build an audience on a subject you are good at

* build a product related to what you are good at

* keep going
Simple Strong Password Generator
Oh and another thought, all in the good mind-set of errrm "profit": patenting life = criminal...
If you truly want to master the language, Reg Braithwaite's stuff is incredible. I think Javascript Allongé is one of the best programming books I've read on any topic, and it's free online: http://leanpub.com/javascript-allonge.
It's seems many people are comparing Grunt to Gulp, without considering the subtitles:

Grunt is the "JavaScript Task Runner" and Gulp is "The streaming build system"

There is not much point in using grunt for building or gulp for running tasks, IMHO.

My team is moving towards using gulp for js/css builds and make for tasks. We used grunt before. We probaby should use npm for tasks, though (cross-platform).
Sigma.js a JavaScript library dedicated to graph drawing 1.0 is out
I'm an Android user who has had a problem with the google app market since I got my first Android phone 2.5 yrs ago. Since they transitioned to Google Play, I haven't even agreed to the new terms of service! Of course, this means I don't get apps through the play store.

Instead, I get apps through either F-Droid (https://f-droid.org/) or Aptoide (http://www.aptoide.com/). F-Droid is only for free and open source apps; although I have upgraded to paid versions from restricted apps I found via F-Droid, so don't completely rule it out. Frankly, I don't understand why more developers don't use services like Aptoide.

The only negative is that I also like knowing that an application is "the application" it claims to be (not a name-the-same app). So I will normally find a developer's page, then follow their provided link to their Aptoide or F-Droid entry.

So quit complaining about google's restrictions and post your apps where people like me can pay you good money for them! If enough developers and consumers go this route then the new g-men will have to adapt to market forces.
What equivalent or similar actions could be taken against GCHQ in the UK?
Hear hear!

Let me take the example PHP, since you mentioned it and I don't know enough to have an opinion.

PHP is generally claimed to suck badly. But even I can see that the "haters" on HN generally don't know/discuss the existing PHP frameworks and methods.

If I would look at PHP to evaluate it for a project, I'd look at if it seems fun to use (really important!) -- and if it would be usable with good coding standards and modern frameworks.

The bad things people talk about PHP (bad cruft in naming of methods, kludgy parts) are not relevant if it takes a few hours/days to learn that -- and if a good coding standard can limit yourself to a subset of the language. You need to do that for all languages anyway. (See JavaScript.)

But: One big red flag would be if the language proponents are language war fanatics that vote down criticism of their language/framework while attacking all competition. You probably know which ones I talk about.
House of Cards was written in 1999. The Netflix version is an interpretation (the original is aboutUK politics), but the book is the basis for it.
In fact, it is a quintet, not a quartet, that the author was referring to. And it was the one in C major, as made clear in the beginning.
With the GSS constraint solver stuff like this becomes very easy...

#div[center-x] == #container[center-x];

(note that this is fully source order independent. It doesn't matter where in DOM the elements #div and #container are)
Google isn't a store though. They are a distribution channel, who happened to build their own self-checkout lanes after several checkout lanes were already installed, then put caution tape up in front of the other ones. Google needs developers, just like developers need Google (if you're developing for Android and don't mind making waaaaaayyyy less than if you were developing for iOS :p).
But, this doesn't solve the issue that you're still trusting someone else with your secret (your password).

We need to move towards protocols like SRP[0] in general so that no matter where I'm logging in, noöne has my password.

[0]: http://en.wikipedia.org/wiki/Secure_Remote_Password_protocol

EDIT: As ubernostrum points out, Persona is solving a different problem than SRP does. However, one of the reasons different identities (username/password combinations) are encouraged currently is because providers can't be trusted with the secret of your password.
Sorry to be an asshat, but isn't this thing incredibly old? I'm getting a strong déjà vu feeling.
Then they can do the same thing. It's a non-argument, my favorite of the HN tropes.
Yay. Another week to waste rebuilding all the builds and fixing all the continuous integration jobs.

Is anyone else thoroughly unexcited about all this playing in the sand? We're building products; why do we spend so much time and money on build tool churn?

I avoid build tools whenever possible (using built-in build commands and things like compass), but when I do need a build, I just use Rake. My toolchain stays the same so I can get shit done.
Why should moderate disclosure be a lose-lose situation? If Google has a problem with entering a country that is dependent on the country's laws or policies, explaining the problem to the local citizens could lead to public discourse about the laws and, eventually, change.

Zero disclosure is a winning strategy only because people will use their imaginations and think there are valid reasons for the progress being so slow. The people will argue that the reason Google is not telling us is the policy and not the fact that they don't have a good reason.

---

This discussion reminds me of the famous quote from Eric Schmidt:

"If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place."

Does that rule apply to Google disclosures as well?
Patient Apps For Improved Healthcare: From Novelty to Mainstream
There is no best, only design decisions.
The Valley has been filled with these types since it became known for loose money and fame. I've met perpetual VCs without money, Founders with no real startup other than a logo and domain name, and name-dropping nobodies since they first day I came here.

In general be suspicious of flakiness and an inability to meet any agreed upon timeline, and always validate information in person when possible. Even if they are real and show these attributes, you likely don't want them involved with your business ventures anyways.
I actually prefer the slightly older version, without all of the expansion packs - I think they broke some of the balance of the game making those changes.
Scientists Solve Mystery of Flying Snakes: News: Headlines and Global News
52 animal impressions using household objects
Lots of good options here but let me add one more: maybe you're completely fine and don't need to make any kind of career change.

I and many developers I know have been through a phase like you describe. This is especially true in tech, where most projects fail, and for people with wide interests like yourself. Some people would be happy writing nice code and leave it at that. But you're going to be bummed if the design is ugly, the marketing plan doesn't work, or if any of a dozen other things outside your control goes wrong. You are upset, anxious, and fearful. You attribute your feelings to objective things around you like business failures, etc. and guess that a new line of work might solve those feelings.

Let me suggest that maybe they won't. Those feelings are telling you something, but you can't trust your guesses about what will solve them, and you especially should not make large, life-changing decisions because of half-understood feelings of anxiety and depression.

Instead, try to engage with and resolve those feelings in smaller ways. Pick something small you will decide to do really well and just thoroughly engage in it. Make some new friends. Maybe go talk to a therapist or religious figure.

What I found out of this process was that I had made several career moves, some bad choices in my personal life, and a lot of stress by setting myself impossible goals and ignoring some longstanding things I disliked about myself. In the process, I learned that I wasn't really paying attention to the world around me and especially to close friends and family. After some reading, low-pressure work, and therapy, I understand my own feelings much better, and I derive much more satisfaction from my life outside work.

Of course, by no longer putting on my job the stress to define me and my value as a person, I get to approach it much more freely and joyfully. It ain't perfect, and it doesn't always work, but on a good day I can deal with setbacks and annoyances without them damaging my emotional state.

A therapist would call this cognitive therapy focused on mindfulness. Various religions would call it spiritual direction aimed at contemplation or present focus. There does appear to be actual evidence of its value, though I'm only qualified to say it works anecdotally. Good stuff.

Anyone who is interested, feel free to ask questions here or email me at username at gmail.
Judges Poised to Hand U.S. Spies the Keys to the Internet
Hiring the Best Developers in the Industry | Toptal
Use 2 factor auth to mitigate that?
To me that seems safer than having 100s of different accounts with no support for 2 auth.
Sligthly related to the part you find crazy, Google has their main European HQ in Ireland, basically because of the very low corporate taxes here, but guess what? It's impossible to buy a Nexus on Google Play from Ireland. If you try you get this message:

--
Sorry! Devices on Google Play is not available in your country yet.
We're working to bring devices to more countries as quickly as possible.
Please check back again soon.
--

They say they're working on it. But that's just a lie. This message has been there for at least the last two years (probably a lot more) and nothing has changed. And we're not talking about a small country in the middle of nowhere. Ireland is part of the the European Union. And they not only have offices here but their main European HQ. They just don't care at all.
Out of curiosity, has ColdFusion turned into what Cobol kind of is, that niche where no one is starting new projects, but a lot of legacy systems still need support, and the price for that support is beaucoup money?

I ask because I actually learned ColdFusion back in the mid to late 90s, but never really did much with it; Perl largely supplanted it in the stuff I was doing, and by the time I entered college, Java supplanted that for web (and actually in industry I'm using a lot of others).

(Not that I want to do that, by any means; I don't have the experience or desire. But curious)
Firefox Accounts is a centralized authentication system based on email addresses and passwords. Persona is a decentralized authentication system based on proof of email address ownership.

For Sync, Persona isn't the right tool for the job. Specifically, Sync needs a human-memorable source of entropy (password), and minimal external dependencies so that recovery meets user expectations. It's possible that Accounts will eventually use Persona for email verification, but the centralized password is unlikely to go away.

Marketplace is in a similar situation, and actually uses a centralized, friendly fork of Persona so that it can proactively force users to re-authenticate before purchases and allow people to use the site before they complete their email verification. Those features might make their way into Persona in the future, but for now it felt better to trim them from Persona and switch Marketplace over to Firefox Accounts.
Replacing the Objective-C “Delegate Pattern” with ReactiveCocoa
Instead of scraping HN directly, have you looked at the HN Search API, from the old HN search engine ? ( https://www.hnsearch.com/api )

The current search engine looks like it also has an API ( https://hn.algolia.com/api ). Presumably they have a full dataset on hand, which you may be able to get if you contact them.
this doesn't solve the issue that you're still trusting someone else with your secret (your password)

If you run your own identity provider, you are only trusting yourself with your secret.

Also, nothing about Persona requires password-based authentication -- you can use any mechanism you like to authenticate to your identity provider.
If that would be the problem then the toolbars would disable adblockers, but most of them are just changing the browser's search engine and default home page so the users will use their search and see their ads.
There is no vendor lock-in with any aspect of Heroku. https://www.heroku.com/policy/promise
Monitise Buys Turkey’s Pozitron For $100M
to be honest with you i always find it suspicious when someone can only program one or two languages. either he doesn't want to or he's not capable of.

there used to be a time where all our scientists used to be philosophs with a lot of proficiency in a lot of different domains. that's not even too far back.
> my own experience with people who are like this

have you met many of them? i mean, perhaps some people oversell themselves, some might even tell outright lies -- but this guy fabricated entire identities.

i'd like to think that this is not exactly commonplace.

but if it really is, then this kind of thing more common in the tech industry, or does pretty much everything with a "business" angle attract a few people like this?