skysight-inc/HackerNews huggingface dataset:
Ask HN: Which publications do you read?
Hi HN readers,

I've been lurking for two months now after a tip-off from a software dev friend. Primarily my question stems from my aspiration to learn to code from scratch using sources that are reliable for accurate and helpful content.

For full disclosure, I work for several international software companies in a marketing capacity. So I am also interested to find out if our PR efforts are vindicated by your responses.

My hunch is that HN readers don't have a loyalty to one publication in particular, but prefer to source content from all over, and ideally at the source i.e. from bloggers and website press offices.

Thanks
I've been leaning toward functional programming and libraries-over-frameworks for a while now (influenced largely by the Clojure community), and when I realized that the Javascript world embraces these views, I was able to make peace with Javascript.
Wow is that map widget annoying on mobile. It takes up the whole screen and eats scroll gestures, making it impossible to get last or go back.
> actually [scrolling up] well is one of the most critical aspects of a terminal as a good product for end users

You've clearly misunderstood the point st is trying to make. Not only is it not critical, it's a bad idea for a terminal to store and scroll history! Yes it's nice to have a history to scroll through, but other programs (screen, tmux, Emacs, etc.) are much better at doing that than terminal emulators are!

For many people, like sysadmins, it's crucial that shells can be accessed over a network. Does that mean terminal emulators should build networking into their code? No, since SSH already does an excellent job.

For many disabled people, it's crucial that shells can be speech-driven. Does that mean terminal emulators should build speech recognition into their code? No, since external systems (Sphinx, etc.) are already tackling this problem.

Of course, from an "end user" perspective it would be nice to have "one application" which does all this. The beauty of the UNIX philosphy is that we can write such an application easily (untested, but you get the idea):

#!/bin/sh
if zenity --entry \
--title="New Terminal" \
--text="Enter the shell URL (blank for local shell)" \
then st -e "tmux -c ssh '$?'"
else st -e "tmux"
fi
I can't reproduce this error, can you please give me your user name so I can take a look and see if there's something wrong with your account specifically? Thanks!
Node supports parallel processes (granted, not threads), promises are a nice alternative to nested callbacks, and Javascript supports basic functional style. You've named some legitimate challenges of Javascript, all of which have been addressed in some capacity.
NPM chokes for me about 1 time out of 10. The main repo has reliability issues. A lot of the libs install executables that require sudo. Java solved dependency management years ago. I don't know why every language doesn't just rely on a classpath.
Even if the numbers are completely made up, I'm not going to be outraged that police decided to enforce laws that cyclists need to be abiding by anyway.
Do they mention what exactly? As near as I can tell, that could just mean they're running Linux on Xen. That's "built on open source".
for anyone interested a doc done by Vice interviewing Kim.

https://www.youtube.com/watch?v=gMxhIfG0MpY
I recently switched from PHP to node, but for what it's worth, PHP now has Packagist.
Three quarters of Britons consider Internet access a 'human right'
I guess the "uv" in "libuv" stands for "unicorn velociraptor."

Edit:

"libuv" stand for "Librarian Unicorn Velociraptor". http://logs.nodejs.org/libuv/2012-09-09
The NSA is building a whole installation in the Western US specifically so they can do exactly what you propose, or as close as they can get at this time.

So, don't be surprised. Be a little bit afraid.
Exactly. No policies are changing. They're just putting more resources into enforcing existing laws.
Doesn't appear to be any flawed math here... just flawed PR. Not like somebody missed a decimal point.

Based on my comprehensive understanding (watched The Wire and read articles), made up stats and policing are old buddies.
> According to the complaint, the four companies participated in twice-daily conference calls to set global price benchmarks for platinum and palladium, which also affected derivative products based on the precious metals.

I was bond trader so I don't know the specifics of the platinum and palladium markets, but my guess is they are pretty illiquid. A significant portion of it is likely traded off-exchange so discovery of the true value of the commodity is a huge issue. It sounds like these four companies see a lot of flow in one form or another and thus have a better idea of what the true market price is. They also probably have significant counter party exposure to each other through derivative contracts. Meeting twice daily to compare notes and settle on a price to adjust margin, etc. It doesn't sound very nefarious. It just sounds like a bunch of market participants trying to figure out the right price. And of course they use this information to make money for themselves - that's how a market making operation works.

Now you could make the argument that regulation should push more of this type of trading onto an anonymous Exchange where price discovery is available to everyone and this drives down the information advantage that insiders have. The Government pushed that with swaps to various degrees of success. Hopefully they continue to do more of it.
The ability to buy these companies _before_ they cost a billion dollars.
I think really what happens is Node enables a new type of stack[1]. It doesn't actually really step on anything new the SPA's aren't already doing. Instead it moves to become isomorphic, so initial render is done by Node, but still the data sources, validation, and heavy backend logic all stays behind an API. That API could certainly be Erlang powered.

Also to respond to your points...

1. This I see as the most valid argument, but not a deal-breaker (see Walmart, LinkedIn using Node without problems scaling).

2. Check out Flow by Facebook [2] or TypeScript.

3. Not true with require/modules.

4. It's incredibly easy to include a JSLint file in your repo and as a git hook.

[1] http://nerds.airbnb.com/isomorphic-javascript-future-web-app...
[2] http://flowtype.org/
This seems interesting. My initial reaction was "what's does facebook get" from this. I had originally thought that this was only going to be open to apps that somehow incorporate Facebook's api (or their wholly owned company's APIs). So I was surprised to read that it essentially said "no facebook required". Which seems nice.

The 30 day live requirement is also telling. I'm guessing that facebook can judge if any initial uptick is occurring and then use this in their acceptance criteria.

Th fbstart program seems to be some sort of way for facebook to get a grip into the very early stage mobile ecosystem. Primarily for their acquisition strategy (think early instagram, whatsapp, etc.). It also seems like a direct competitor to the accelerator programs?
JavaScript PowerArray, 0.1.0
I dropped the current version and the update into Kdiff3 [is there a good online diff viewing tool?].

There are some interesting changes, some very subtle. One is the move from "data use policy" to just "data policy".

Another subtle change that probably alters the scope quite considerably is the alteration of "content" to include stuff you "provide" and not just things you purposefully post.

There are several places, eg Safety > Promotions, where the entirety of the rules have been moved to another document which is included by reference (in this case via the "Pages Guidelines"). Apparently, TIL:

>"3. Promotions may be administered on Pages or within apps on Facebook. Personal Timelines must not be used to administer promotions (ex: “share on your Timeline to enter” or “share on your friend's Timeline to get additional entries” is not permitted)." //

This seems to be lots of FB promotions work - "like and share to enter".
No, we are not.

>This story is a great demonstration of my maxim that any headline which ends in a question mark can be answered by the word "no." The reason why journalists use that style of headline is that they know the story is probably bullshit, and don’t actually have the sources and facts to back it up, but still want to run it.

Source: https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...
I never worked much with JS, but from my experience I find it hard to imagine writing such a big application in JS. It is so easy to do things wrong in JavaScript. Weak types, global namespace, ambiguous and unexpected behaviours.
Unless you're unfortunate enough to be working GWT or something similar.
cool and socially acceptable is not the same thing.
That's why I addressed it in the POV of a product. It's basically subjective. IMHO the "terminal product" should have history handling included.
It's not like police are an inexhaustible resource.

Resources allocated in one realm means a dip in another. Using bad stats to justify a reallocation should be alarming to local residents.
How to create a great webinar or video presentation
Of course, you just have to prove that you know the private key. Handing it out is unnecessary. My bad.

BTW, instead of signing a message, you could also move around some money through that account. This may be easier to achieve for non-tech people, as it can be done with any Bitcoin client.
Yes, there is no question that Duke Power Co had racist intent.

However the measure that they hit on is actually a reasonable way of improving your interview process. There is general research to that end, and it was presented in that case. But the sample set of previous employees hired by Duke Power Co was not large enough to statistically demonstrate that fact. Therefore the court decided as it did. As a result the fact that IQ tests are more effective at figuring out who to hire than human interviews is no longer actionable by any normal employer.

There are some notable exceptions. For example the US military has enough history and experience with the ASVAB that they are able to safely use it. But very few companies are in a position to do such research for themselves.
I think your answers to 2-3 are not real answers. You're not giving an explanation that would convince someone who doesn't share your opinion. You're simply saying that you don't care about there concerns with nothing to demonstrate that your viewpoint is somehow more valid.
Btw, If you're using a corporate email it might be the spam filter that's preventing the email from being delivered to your inbox :)
Not just at the front, but maybe on every separate page too.
Building Hypermedia APIs – Links and Forms in JSON
Disagree. It seems half the industry is moving to node in NYC. All the major publishers (NYC tech's bread and butter) are using it or switching to it.
Some LinkedIn job titles from current GitHub employees:

* VP, Business Development & Services
* Head of Technology Partnerships
* CIO
* VP, HR
* Vice President, Strategy
* Vice President, Marketing
* VP Communications
* Director of Outreach
* Director of Sales
Correct use of the scare quotes there.
Ask HN: Do you use microservices?
Hey all,

Just wondering what percentage of people here are adopting this trend of microservices? What platforms , messaging layers, protocols and patterns are you using to aid in this? What are the pain points?

I am quite heavily invested in the world of microservices and would like to see if anyone out there does it differently.

Cheers
Why would you suspect that? Just because criminals more often commit crimes that do not allow for easy A/B testing (or dont offer a worthwhile return on it) does not mean smart criminals wouldn't do such testing. If you want to get technical about it american banks have been doing A/B testing for a long time, and often are just as big of crooks as extortion virus creators.
I was in a fraternity. Did some people do some stupid shit, sure, it was college after all. But I have a hard time seeing how any crazy extortion schemes would come into play as you described. I don't know how I could extort a brother because I once saw him puke in the street or streak thru campus. For someone as prolific on HN as you, I'm surprised to see you come off as a conspiracy nut. Or, maybe me living in the midwest where everyone is nice and cooperative in general has given me a warped view of the world (albeit a positive view).
Great idea! I've actually wished for something like this before.
Yep, of course we got ideas from Trello! We love Trello, but it lacked some features which made it hard to use for us - Most importantly we were creating multiple boards on Trello to keep track of a single project (clients/remote teams/local teams/etc) and that's why we added in-project roles and permissions!
You can send commands to a running tmux session, eg. http://superuser.com/questions/492266/run-or-send-a-command-...

How far you take it depends on what you'd want out of such a tool. Simple "New Shell", "Close Shell" buttons would be easy; overlaying draggable partitions would be more effort, and less elegant, but still do-able.
QA is probably your quickest path towards a job IMO. If you're willing to do manual testing but has some capability to do automated testing you can bring some real value.
For 1) it's a flip along the axis of the mirror, not a rotation at all.
I'm just conceding that these argument cannot be won. Tomes have been written and the argument becomes unproductive very quickly. It's like people who believe in God arguing with those who do not. It's not about JavaScript or Node, it's about your entire belief system.

They're both good, in both cases.
Policy is not the same as law. A police department can have a policy on how to distribute resources....
Amazon Fire Phone Gets Another Fire Sale: $199 Unlocked
Possible stupid question: couldn't it be done outside? The machine is autonomous anyway...
I feel like people stick fingers in their ears and ignore the ecosystem whenever JS is mentioned. There's a wealth of transpilers and tools that fix all the problems mentioned here (if you even agree they are problems), and yet they are brought up every time.

Weak types: Check out Facebook Flow or TypeScript.

Global namespace: Not true with require/modules.

Ambiguous/unexpected behavior... please explain? You could use any number of libraries to add consistency there. It's incredibly easy to include a JSLint file in your repo and as a git hook to ensure consistent syntax usage. ES6 introduces lots of nice features for writing code, and is usable today with transpilers.
I wrote something a few years ago that does a similar thing using a real command line. https://github.com/Gazler/githug
Sounds very good. But I would like more info on :

> but I personally have had poor luck getting Grunt to work reliably in practice.
> a hassle to enter "git add [specific file]"

`git add .` worked as well and clicking the command autoenters it at the prompt.
Thank you for writing that. I'm going through a rough patch at the moment and you've really given me a moment of clarity. I've realized that there is at least one person in my life that I should be considering a friend which I didn't previously, and one friend who I should really downgrade to an acquaintance.

If you ever find the time to write down more of your thoughts about friendships I'd definitely be interested in reading them.

I struggle to make new friends. The standard advice seems to be to go to meetups, do volunteering, and join sports clubs. I've tried those and can't get them to work for me. There's something more to it than just being in attendance.

I think you're definitely right about that tangible point where things change, and I never manage to quite get there. I don't know if that tipping point is something you can instigate or if you just have to leave it to chance.
It's about the opportunity cost. What other thing could the police be doing instead of giving traffic tickets to cyclists? After all, the best case outcome of doing so is to reduce pedestrian injuries from 1 per year to 0 per year, which isn't much of a benefit. 16000 people were injured and 178 killed by cars in NYC in 2013. That's a much richer hunting ground for police activity.
Could also be that they are only looking at the subset of collisions involving bicycles where the cyclist was determined to be at fault, which isn't data available in the analysis given here.
You're entirely missing the point. Scrolling is already broken if you use any terminal multiplexer (such as `screen` or `tmux`).

As such, having an additional, useless layer of scrollback on the client is both confusing and pointless, so they removed it.
Yep. And his demo is a little game... :)
There's not enough time for seeing all those videos though.
WordPress Permalink Performance
They actually started towards the end of the summer, at least here in Brooklyn. Hadn't seen a biker get pulled over for things like not coming to a complete halt at stops signs in 3 years I've been here. Witnessed about 5 of them in the span of 3 weeks, heard about plenty more. I'm all for it. Casual bikers around here are not exactly fun to deal with.
What complexity does it bring?

I'm writing apps from the ground up using React and I've found the isomorphic bits take <10 lines of code as long as you design for it from the start.
Is this really so bad?

https://gist.github.com/SirCmpwn/540c5fc115e9f65bfa3b
My prediction: a bill to restore discriminatory pricing will be passed before the next congress is out. They'll probably insert it into YODA so they can act like they're doing us a favor while they screw us.
How about - https://waffle.io/ ? I am not affliated with waffle.io but I have used them in bunch of projects and works well enough.
Could Kimble be the Fluffy Bunny?
That is a policy change. Policy and law are not the same thing.
How is Netlify better than Github Pages?
So why bother to fabricate reasoning behind their actions?
It's just CMD + Del.

Probably to avoid accidentally hitting the Delete key and deleting files when browsing. Apple generally avoids making destructive acts easy.
Depending on how solid the iron bars are, you could try breaking one in half. The two halves will behave like separate magnets if it was a magnet.
If you're thinking about a "terminal product" then why single out st's lack of history at all? That would be like claiming Excel lacks presentation capabilities. Whilst it's a true statement, presentation facilities are irrelevant to a spreadsheet; they're available in the PowerPoint component of the Microsoft Office suite, and they're designed to work together, so it's a complete non-issue.
Medium launches a tool to help you build beautiful charts in seconds
> Other people start from a principle of "if a government did it, it was wrong". Which places all government actions off-limits.

Of course. Think of it this way:

- I don't have the right to take your money.

- My friends and I voting unanimously to take your money still doesn't give us the right to take your money.

- No matter how many friends I vote with, we as a group never have the right to take your money, or anyone else's.

- Then how did government get the right to take my money and yours?

You may say because it owns the land and if we don't like it we can leave. But think of it this way:

- I don't have the right to keep others from using unused land that even I am not using.

- And so on, same as above.

- Then how did government get the right to keep others from using unused land that even itself isn't using?

The problem here is that no one can grant another person or group with rights that they themselves don't possess.

It follows that the governemnt has no way to acquire this right, and so it does those things illegitimately (not authorized by any person or group of persons, since no person or group of persons has those rights to give up to the government). That's why anything a government does with tax money is wrong, because that revenue is ill-gotten.

That's why the excuse is usually "oh, there's a social contract"; this is a red herring. Even if the people had actually read and signed such a contract, they still don't possess those rights in order to be able to give them up to another party.

We allow ourselves to be taxed and to pay the government for land not by consent [1] but by threat of force, since if we disagree, we are fined, and if we don't pay we eventually go to jail.

[1] consent means voluntarily agreeing to do something. voluntarily means without coercion or threat of violence.
I believe the answer is exactly half the can. Why do you think that is inaccurate?
Growth Hacker Course – An Interactive Online Course from Ryan Holiday
They're rearranging the same resources from enforcing something else to enforcing traffic laws against bicyclists.
The problem is we can't all do that.

I'd love to have all that and not need to work. I also do fulfilling work for myself and so I meet all the requirements. How can I sign up to that gravy train?
> All of these are valid points except 1.

I have another counter-point for this as a rails developer tinkering with golang recently. I think Go got this correct in many ways. Having light weight goroutines that can scale well; having good IO which does epoll/libuv style wait in the background transparently when you read/write. Easy to understand multiprocessing language in general. I have no idea why it's not taking off in web development though.
Ha! Did not hear this before :)
I actually think our money system is fine, but that control should be put back to congress as designated in the constitution and not to a non-governmental body such as the fed. The problem is that before that would be viable, congress needs to be purged of corruption first, which is much harder as long as the monetary system is controlled by the international banksters.
> The behaviour of Joyent towards Ben Nordhuis left a very bad taste in my mouth last year.

What happened?
For the browser, no. Its native there and that's fine by me. But on the server, yes, I have that feeling.
A 2014 UN study on the happiest populations* doesn't even include the US in the top 10 (it scored #17). All of the countries in the list have some form of a mixed economy (ie. not full on socialism, but a much stronger social support system in place than the US).

So, there isn't even that much experimentation required to get a better system in the US. Rather, I'd say American's have thoroughly been indoctrinated against social support constructs that you only have yourselves to blame (you only need to look at how underfunded the public school systems, police, college are).

*http://www.cnn.com/2014/03/20/travel/happiest-countries-to-v...
I have worked as a tech support guy for PHP-based apps for ~6 years. Pretty shitty schedule and pay.

Then I finished all Ruby and Rails courses on CodeSchool. Then practiced myself, using mostly Google for info. This allowed me to apply to a Rails company as a junior developer. I got hired and trained. I love it.
Yes but if you're using a language that transpiles to Javascript, you might as well use another language all together (for backend programming). Debugging becomes much simpler with a language that doesn't has to turn into something else.

For frontend development, a lot of frameworks and libraries only work consistently with Javascript. I've looked at TypeScript for instance, and it indeed looks nice. But it has a bunch of edge cases with Angular and/or Backbone. You're just piling on complexity with these languages.
Also a large number of data centers here are owned by US corporations.

Does anyone know in who's data center they are?
There is also https://huboard.com/.