skysight-inc/HackerNews huggingface dataset:
At a guess (after 1 min grep), this is the original code (from an old copy of the HN src). afaics, that's the code to render the entire table for all the stories (plus the 'more' link), including the html (note the inline 'tr' tags etc).

https://github.com/wting/hackernews/blob/master/news.arc#L92...

The point is that all the variable you want for rendering "page 2" are right there in scope.

A closure can capture those, so you don't have to do any extra work serialising them, sending them to the browser, validating them on return, etc.

Closures can seem odd the first time you come across them, but they're pretty mainstream these days (perl, python, ruby, C++, C#, golang all have them (some of them for a very long time :-), as well as the more traditionally-functional languages).

There's more info here and it's the sort of topic you'll get lots of answers from in HN. http://en.wikipedia.org/wiki/Closure_%28computer_programming...
Tbqh, my remark was pretty condescending, because the original comment seemed to be suffering from the DK effect.

In fairness, there's a kernel of truth in that almost any article about Clojure seems to get uncritically upvoted, but that's another matter. The fact remains that Clojure, whilst not as popular as Scala, is nonetheless (quietly) in use at a lot of firms.

Some more examples:
* CitiGroup EU FX derivatives is pure-Clojure
* There's at least three different hedge funds using it.
* Deutsche Bank are definitely using it too.
I'm too scared to try it - I have all my photos and stuff like that on my Facebook account. So tempting though!
Why should they not coexist? Some want it for free and some want to pay for e.g. support or additional features.

Last time i watch at RTD it was a plain .md project import from e.g. GitHub only to show a plain documentation.

In Readme.io you can edit/write your docs, have blog function and an integrated discussion plattform (for support your users). If you not need this features, you can use RTD or directly sphinx.
Fun to scan down this list: http://www.siliconvalley.com/SV150/ci_25548370/
Naturally the biggest companies have the most teams.
I would love that. Invite me at leoncullens @ live . nl
Github has already faced this issue and homakov[1] pointed that out.

[1] https://news.ycombinator.com/user?id=homakov
> It won't be able to figure out the non-delimited version in the parents example. That's the point. By allowing that you've made it harder to read unless the reader has exactly the capabilities of a heavy weight IDE.

Yes it will. This is not Haskell where different functions have arbitrary precedence; Scala functions are evaluated left to right (except a very short list of mathematical operators) unless they end in ':'. The only possible meaning of "a b c d e f g" is the one where b, d and f are methods and c, e and g are arguments. You don't need a heavyweight IDE to work that one out.
It was fun guessing who each company was based on the groups.

Made a little script[1] that generates a screenshot and outputs the groups formatted like this:

microsoft.com groups: Yammer, Mihafa, Somex, iOS Team, China South CAM-S, DSE-Ireland, FUSE Labs, GroupMe, MozTeam, OCS Design Studio, OSS Studios, Priya's Team, FAST, Office PM, DMX, UK Apps, Bobbyk test, ExPGTeam, Team Wolf, BD&E, BingTV, OS Services, DMX, Kudu, EE COE, web, UI Team, Office BP, OneNote, VOX, CPG, India LRP, FooBar, Capture, Capptain, RoleClarity, asterix, Dragonslayers, SignalR, Office Mix, patterns & practices, DX, XD, TEDCOM, Exchange Ecosystem, CSI, PowerBI-ng, ODP, Compete, My Life & Work - China, Azure Active Directory, Census, MeetingsHVS, APEXOutlook, [FUN]CTION, Tempe, Arcadia, OEM, SharedPlatDev, #hashtag, Universal Apps, Modern Attachments, DLDW, Windows client, ESocialGP, MEA HQ Windows, Azure CAT PMoR, OneDrive, Azure Compute, QuestPersonalization, The Size 7 Italian Team, MMCOM, DLTC, ATMS, TED Strategic Engagements, Async Media Distribution, MAW team, APLD

[1] http://pastebin.com/raw.php?i=NgTeseN1
Slack has a Reporting Security Vulnerabilities page on its site: http://slack.com/whitehat. Seems like something they would have taken seriously if it had been brought to them first.
JavaScript 101-#16 – Switch statement
I am curious. Could you elaborate on this?

Edit: I wonder how Github distinguish their own "internal" email doing.
How Does Risk Management Influence Production Decisions? [pdf]
Slack is on HackerOne, better report to them next time :)

https://hackerone.com/slack
From scrum to scrumban?
In the US that could be probably prosecuted as "hacking a computer system". Very similar to what Aaron Schwartz did.
Can C.E.O. Satya Nadella Save Microsoft?
Google hack? What? That's no hack, that's the way google is supposed to be used, you know...
Me too. You end up feeling ambushed, because you'll be reading a bunch of witty, smart, and/or playful comments on some Reddit post, thinking "I don't know these people but they're fun", and then you randomly encounter some unchallenged misogyny or racism in the midst of it with plenty of upvotes. Can these people really exist? Do I want to even be reading something that people who repulse me are also reading?

If you stick to subreddits thing are much better. For example, I lurk on r/rust a lot, and like other high-quality subreddits they have a stickied code of conduct to establish the ground rules. And the community there is extremely friendly and encouraging.
Although the product looks very attractive, I doubt they will be able to pull it off. This line from their TOS should be a little worrying:
"We are engaging in a new industry, and there is no assurance that the products and Services will contain all of the characteristics set forth herein or in our marketing materials."
I guess you need a special definition

diverge = Later diverge
headTotal [] = diverge
Well, this flaw is one example: Slack assumes that someone with an @facebook.com email address must be a Facebook employee. However, Facebook issues @facebook.com email addresses to regular users, too.
It's not just the mac app, even the website signin[1] is affected. Also any email address works, it apparently just checks the domain.

[1] https://slack.com/signin
The future of Adobe creative applications
I find it much easier to visually tell what the tree structure (AST) is in the Scala version, because of the different possible delimiters -the fact that a '(' must match a ')' and not a '}' makes it much easier to visually parse.
Nice XSS try on the 3rd image.
From what I've seen, incredibly stringent moderation creates the illusion of a high-quality community more than anything else. For example, a while ago Something Awful forum member's boyfriend posted something claiming that she'd been raped by another forum member, and the admin at the time decided to handle it by permanently banning everyone involved including the alleged victim. You wouldn't have seen any criticism of this on the forums at the time because doing so was a bannable offence; I'm not sure most people who used the forums even knew it happened. There were rumours that some of the moderators were blackmailing women on the forums for nude pics earlier on, but again they didn't make it onto the forums themselves.
This is hardly an exploit. Since no authentication is required in order to see the chatroom listings for any domain, we must assume that they meant for their chatroom directory to be public information. This may not be what their customers are expecting, though...
While I'm unable to comment on the content of the article, I really have to applaud HostGator's error page marketing strategy here.

We've met with a horrible fate (status code 500) while generating what appears to be a static page. This site is hosted by HostGator! Get yours now!
Are you kidding? Articles like this are my favourite posts on HN. I would love to see more technical content like this and less softcore chit-chat.
I wrote a node script[1] you could use for this.

[1] http://pastebin.com/raw.php?i=NgTeseN1
Well, the SQLite folks are clearly still getting good usage from Cachegrind.
While Bangalore is not representative of India as a whole, the electricity prices are similar to global figures.
You don't know which optimization require which architecture.
And your "extensible, optimizable architecture" may be the cause of the performance problem.
As a supposed Haskell advocate you are really doing a very good job of being thoroughly unpleasant. Knock it off. It reflects very badly on the Haskell community.
fair enough... from the beginning, I assumed you had more knowledge about this than the rest of us - and you do :P
Private channels could help with this. I believe they aren't visible unless you're explicitly invited.
Shaming Slack is one point. This guy just exposed the confidential information of who knows how many of Slack's customers. In my opinion that's douchery of epic proportions.
It's cars, mostly.

Many of California's cities have laws requiring massive, incredibly wasteful amounts of parking to be built even in supposedly high-density or transit-oriented communities. In addition, there are rules saying houses have to be set back a certain distance from the road, which takes a good deal of space. Finally, most places also require that roads meet a certain (high) "Level Of Service", meaning lots of cars can move through very quickly. Nevermind the fact that by building things like this you are forcing them to go much, much FARTHER. Have you noticed that driving through LA (or San Jose for that matter) is mostly driving through a sea of parking lots and wide streets? See http://en.wikipedia.org/wiki/Level_of_service for more.

There is also a cultural preference for lots of land; I'm bemused by how many people mock "McMansions" for having small yards but never spend any time in their own yards.

This is less true in the bay (and not at all in SF) than other parts of the state (looking at you LA) but it remains a problem. Also, areas where the majority of the population are homeowners tend to vote against new housing construction. This increases the value of their own homes at the cost of strangling newcomers to the area and making the cost of living exorbitant. Of course, without new housing those areas will continue to consist primarily of homeowners, so the cycle continues. Even in supposedly lefty places you see people oppose construction that would help increase housing supply, presumably because it's bad for the environment or will damage neighborhood character. I'm sympathetic to those claims, but making people commute from 40 miles away (if they're LUCKY it'll be on BART or Caltrain, but probably not) can't be good for those things either.

I wonder if it's time we reconsidered whether it makes sense for highly interdependent neighboring communities to be separate cities. Would we have a more integrated and efficient transportation, housing, and office infrastructure if the bay from San Mateo up to Mill Valley and east to 680 were the same city? Quite possibly. It would at least mean, to some small extent, that they couldn't say "we'll take your companies but housing the plebs is somebody else's problem - only huge single-family homes for us, thank you!".
There was an exception against that until about a year ago. Then this year that exception was added back in.

http://www.theverge.com/2014/8/1/5959915/president-barack-ob...
I am aware that these facilities exist, the problem is geography. Unless you live near a ridge that provides 100m+ of head and consists of non-porous rock, it wouldn't be cost effective.
Good thing Google, Microsoft and Apple aren't supporting DRM in their machine now - oh wait!

Also, Firefox - oh, Firefox - guess where it gets its DRM protection from now? Ok, I'll just say: Adobe.
Does C++ have late binding? For example, in the Obj-C Cocoa framework, a menu item can determine, at run time, whether the current control can respond to it, and enable/disable itself appropriately. Say if a button had the focus, the Paste menu would be dimmed because you can't paste a button.
Check out the privacy policy: https://www.plastc.com/legal
These guys expect to own every part of your information. Yet they still charge through the nose for the tech. Have your cake and eat it why don't you.
There is a contrast only if you consider that the only way to capture value is through money.

Also you may think that "Capture value" is not a priority for everybody (Not only money, but also public attention, or power).

In fact capturing value as a priority may absorb too much of your time to be useful.

EDIT: corrected a word
The lost money may be tax deductible.

http://www.irs.gov/taxtopics/tc515.html

Theft seems covered. Even if its Uncle Sam.
When was this article written? I can see it refers to Snow Leopard as the latest (or possibly upcoming) version of OSX, so 2009?
There are also loads of great serif fonts. I've been using them for a while now. It's really great to see them moving into software.
Well, it depends on his tone. When pondering a question, I feel like it's good to define boundaries and then work your way inwards. He sets the lower bound: all photos are modified in some way. We are okay with that. But we're not okay with this smile edit. At what point in between does it become not okay? It makes you think very specifically about why something makes you feel the way you do.

He might not be saying, "these two things are the same," but rather, "this situation is similar, what makes this one okay but not that one?"

I don't know if that's what he was doing though. But I find my discussions start off similarly. I reframe a question in the context of similar things that I already know how to feel about, and find the intersection points.
An important part of the question here is are the subquestions of what should be regarded as a "common carrier"-like thing (a category which probably includes email traffic and public Internet traffic at the TCP/UDP level), and what should be tolerated on those services, and what should be regarded as not similar to a "common carrier" (which clearly includes, say, the official Wikipedia version of a Wikipedia page or the non-advertising content of an issue of the New York Times), and what should be tolerated in those venues. Part of the problem of Reddit is that it blurs the lines between the two categories and sends vague or contradictory messages about which side of the line it's on. Things that make Reddit look more like a single publisher or "community" include:

* the single /r/whatever namespace, which was meant to be used as the marker for the canonical or default reddit on a particular topic (and is still used by users for that purpose, whatever disclaimers Reddit may want to hide behind now)

* the partly-shared moderation across subreddits

* talk about "the Reddit community" and "Redditors" (wait, it's not a community but rather "a community of communities"? http://www.redditblog.com/2014/09/every-man-is-responsible-f... ? Excuse me while I pick myself up off the floor), the Snoo branding and individual subreddits' customisation thereof, the promotion of shared Reddit meetups http://www.redditblog.com/2014/05/global-reddit-meetup-day-i... , and in general the consistent effort to promote a common identity for "Reddit" and "Redditors"

* other technical features like Reddit gold which likewise encourage the perception of Reddit as a single platform

The just-a-platform argument is hard one for any message board or single-host/owner, single-login cluster of message-boards to sustain. Reddit's even more poorly placed to sustain it than others. Twitter, for example, is much better placed to do so, even though it's a single-owner/host, single-login publishing system.
Signup confirmation mail doesn't seem to arrive, maybe Facebook was quick to add a filter for mails coming from Slack.
She really understands social networks trolling and how it works in details, very good article. It is something like inescapable in the internet, and this is very sad. I ran an italian social network site for many years and this was our main problem. If you read Twitter, this is huge. Moreover a few companies are making the problem worse by polarizing and using this in order to attack competitors. The DMCA thing is spot-on: creating facts from nothing, since there are enough people saying it, it must be true. Nobody bothers to actually check. However, doesn't this just reflect a general lack of "information analysis" skills of most people on the internet? The "button" trolls are able to touch to enable certain behaviors in other people, sounds very related to their inability to take apart true information from false information. Logical analysis from faked one. So after all the root cause is that most communities are not the quality they should be.
If you trusted Facebook with that, you aren't scared enough.
Unless we're talking about ancient versions of C++, those productivity advantages of Objective-C are mostly a myth which I have yet to see any argumentation for.

The whole point is moot though, because Swift is the future. It's quite amusing seeing the Objective-C community trying to reconcile their irrational love of the language with the reality that Apple communicated - it's a disadvantage for the platform, keeping developers away with its unusual syntax, lack of safety and overcomplicated paradigms.
I don't understand -1s to the parent post; it's important to remember and be aware of limitations and dangerous areas in a language (or any other tool). And shadowmint tries to describe them in very civilized and calmly assertive way. I find his posts, as well as the counterarguments (like those from pcwalton and wycats), massively educative and informative. I absolutely can't understand why someone would like to see them fade out and disappear. I see the thread as exactly a kind of educated, professional argument that is so valuable on HN. And in such, being partially wrong or incorrect in some aspect is not something "bad" and "requiring censorship", but rather opportunity for straightening by others with a side effect of educating the larger community, isn't it?
Completely untrue about the people at Slack. I disclosed a pretty trivial vulnerability to them and got a $100 reward.

How about next time you stop generalising?
This is only true if you don't value the "compulsory" part of the job: Teaching, writing grant proposals, supervising Masters-level students, supervising Ph.D students where you do not publish as first author, etc. The system is set up so that researchers don't primarily research, which is a big problem and places absurd incentives to do an unhealthy amount of work.

On the contrary, I find that in most jobs I do, there is decreasing marginal utility of my work, since I have a finite amount of energy and the quality of my work goes down as I cross the 40-hour mark. People seem to have individual differences in where this cut-off point is, but I have yet to meet someone who claims it is not there. So for me, given that I value all my work, the concept of increasing marginal utility of work is strange. It would perhaps be different in another field than plain vanilla software development consulting, would be interesting to have a discussion around this.
As far as the current public information goes, Apple Pay tokenizes your credit/debit card and uses that to pay, which means your bank processes the payment. Apple won't process the payments themselves.
You first have to enable your facebook email address from facebook email settings.
Not a snowball's chance in hell. Apple's whole play for Apple Pay is security. They will not be allowing third party cards to receive credential info.
I'm sure way more businesses use Skype and Hangouts than Slack and HipChat.
It changed my behaviour, too. Between the rootkit, what they did to Lik Sang and the Other OS issue with PS3... I have boycotted Sony and will not reconsider after the third strike.

It also made me question what I bought from other people. Instead of generally accepting some limitations, I now will not buy anything that does not allow me to use what I purchased however I see fit. That now includes software. Fortunately Humble Bundle and GOG stepped up to be suitable alternate sources of gaming entertainment.

I find I don't even miss the more restrictive services anymore. Most of the spending there ended up being habit rather than desire.
Yeah, I thought he was just a daft hacker caught by bad laws until I saw the article about his new swastika tattoo a couple of days ago. Between that and finally catching up on the finer details of 'gamergate', I'm thoroughly depressed about the state of the world.
Location: Dallas, TX

Remote: Yes (see details below)

Willing to relocate: No

Technologies: Java, PHP, HTML/CSS, JavaScript, SQL (MySQL and Oracle, incl. query optimization), Linux/LAMP admin (some bash scripting), web development, REST & SOAP webservices

Resume: request by email

Email: recruit@thisamericanlab.com

Web developer (3-5 years of experience, depending on how you count it) comfortable with front-end and back-end, probably better with the latter. Since technologies are already listed above, it might be more concise to tell where my frontiers of learning are right now: JavaScript frameworks (i.e. Angular), deployment/workflow automation, and performance tuning.

I'm entering my peak programming years -- I still enjoy new things but also have seen/done enough to avoid most of the big pitfalls. My current job isn't bad, but due to management constraints and the nature of the current project, I'm doing less than my potential.

It would be really nice if there is workflow and infrastructure in place to allow remote work for moderate periods (or all the time). I want to go visit some extended family.
Facebook uses the fb.com domain name for employee email addresses. The facebook.com domain doesn't seem to be linked to the fb.com domain on Slack.
Modern computing devices are dramatically more secure than physical things like your house or your car.

Er, no. You can't break into my house from another country. Moreover, my computer is also a physical thing in my house, so it cannot easily be more secure than the house itself.

The patching of possible security breaches has become a weekly ritual. And there are hundreds of thousands of unpatched compromised computers sloshing around in botnets.
there is also a lot of, we like our town and we don't want others here. Hence throw up building codes, regulations, and such, to keep housing from being built. You can use all sorts of PC buzzwords to make it palatable, from environment to maintaining historic sites. When large scale housing is built it usually is where people don't want to be.
Recognizing the increasing marginal utility of work is exactly what allows you to live your life well. IF you take advantage of it correctly.

Imagine you are stuck in a room with 10 screaming people. You could expend a bunch of effort and get one of the people to stop screaming, but this hardly seems worth the effort. There will still be 9 people screaming, and now you will be too exhausted to work on your own projects. Instead you devote a little effort to learning how to deal with the screaming while you get your work done.

THIS IS A MISTAKE.

It is a mistake because getting that person to stop screaming is a permanent improvement upon your situation. Getting the first person to stop screaming has very little utility, but the next one is easier AND makes an even bigger difference. The next one even more so, etc. By the time you get down to only 2 or 3 screaming people you are amazed at all the new things you can hear. You can almost hear yourself think!

When you work on things that give yourself more capability you are making permanent stackable improvements. By the time I had fixed the loudest screaming voices of nutrition, sleep, exercise, and constructively reacting to stress, I couldn't even recognize the person I used to be.
Most deaths in the Hanshin earthquake were caused by collapse of older buildings; modern highrises were largely unaffected.