skysight-inc/HackerNews huggingface dataset:
I was wondering why this wasn't working, I have DB blocked at my office. Actually I don't have blocked their datacenter's IPs, I've only have blocked dropbox.com domain, if the JS library was in another domain it would work for me..
Show HN: Notes, a very simple app which supports Textile Markup.
Please use "HN" as invite code.

http://hmpgr.com/apps/notes

I would love to know if there are folks who prefer Textile over Markdown. I know Markdown is more famous but are there Textile fans too?

Notes app is built on Hmpgr Platform. Looking for feedback. I have been using it for sometime and find it useful (unbiased thought, I promise).

Since the app itself is responsive, it works on all platforms (through browser).

Please use "HN" as invite code in case you wish to try the app.
I would strongly discourage the use of compiler plug-ins, especially those which modify the bytecode. Not only does it make for code which is hard to follow and difficult debug, but most of them break with each new JDK release, often in unpredictable ways, forcing you to wait for updates.

Given the choice I always pick Scala over Java. Maintaining legacy Java code with AspectJ, Lombok and other behind-your-back bytecode manipulations are literally the bane of my existence.
Show HN: Use Regular Expressions to create custom RSS Feed views +more
Debian/Hurd switches to sysvinit
Clickable:

http://hmpgr.com/apps/notes
>But the current generation of young techies seem to be outright hostile towards women.

To the extent that this is true, I think it could be backlash in response to pushing for more women in tech.

My youngest brother's high school has a girls only programming club, and a girls only robotics team (with no male equivalents). There was also a program where kids from his engineering class got selected for a summer electrical engineering program, with preferential selection for girls. He really wanted to do it and he definitely had the grades and ability, but all 3 kids who were selected were girls (who had lower GPAs and lower scores in the engineering class.)

He lives in a pretty rural area, so there aren't really a lot of options for him to get involved in something like a robotics team outside of school. I would have probably been upset if something I was really interested in was off limits because of my gender, and I can't really say how something like this would have affected me when when I was 14.
I'm not sure about this. Mmm. My gut feeling is I wouldn't feel too cool about using it, and I'd guess that if you gave news sites the chance to opt-in to being framed, not many would take Snip.ly up on it.

But I might be missing the full picture, and perhaps I'm just not the target audience.

Good luck to Snip.ly, but for developers who would want to stop this kind of thing from happening on their own sites, OWASP has a clickjacking defense cheat sheet:

https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_S...
Obligatory: http://www.dilbert.com/strips/comic/2013-03-28/
It's not unlawful. Religious organizations are allowed to discriminate based on religion.
herp derp ads r bad!!1

You don't know what you're talking about.
If I follow someone on twitter, I want to know what they are up to. If someone has an event or product, or something else they think is relevant to the article, then I want to know.
Cart Life exits Steam, goes open source
I'm pretty happy with Komodo Edit (http://komodoide.com/komodo-edit/), and it's free.
Yep, sorry I'm unable to find/reproduce this bug with ace editor.
Thanks mountainair!

The LLC step (when I had done it before) was pretty straightforward over at http://www.legalzoom.com/ but it was a few hundred bucks and I did it for exactly the reasons you described...to get out of that open liability that the business could incur (I was younger, and thinking bigger about the growth my little company would have so I did a whole bunch of research to try and do the best thing I could do at the start). But I ended up shutting down the LLC because of the expense/benefit ratio wasn't working for me at the time and then stopped doing business really until I started up again in 2010 with the software business on a tiny scale.

If I did decide to take on a more employees/volunteers it would definitely be a route I'd want to take again.

We don't have any local law schools within a few hundred miles, but I think we do have one business law instructor here at the college who might allow me to pick his brain if I asked.

Thanks again for the feedback!

(Sorry for the delay in my reply...HN started giving me the "You're submitting too fast. Please slow down. Thanks" error when I tried to submit this reply and another one).
A) I share most of the content I find on twitter, which is very limited. Again, you have some idea of I am going to be evil with it.

B) That's cool that some of the uses are advertising, but I'm not going to. I'm not trying to sell some product.
"Corporations are at least somewhat constrained by the need to actually provide some service that is useful to people. Exxon provides energy, McDonald’s provides food, etc. The exception to this seems to be the financial industry. These institutions consume vast amounts of wealth and intelligence to essentially no human end."

Well, no. Banks provide liquidity, investment opportunity, and loans. Just like McDonald's, there is a cost to this service, and the negatives of this cost may or may not be worth the "positive constraint" but to say there is no positive constraint is utterly rediculous.

"Of all human institutions, these seem the most parasitical and dangerous."

What of those institutions that wage wars and actually people killed?
No. That guide assumes you're running a bunch of processes in the container (or even a full system). That's not the case at all when you're doing an "application container" that doesn't need its own cron daemon, ssh daemon, etc.

Containers can be much leaner than the kind discussed there.
> I know a lot of people who wait to buy a TV series when it comes on DVD because they cannot understand why the sum of all episodes available for digital download costs the same as the DVD, when there are much lower expenses.

This sounds like an education problem: how do we make people understand that the cost of printing DVDs is negligible (in fact, practically nothing) in comparison to the efforts of hundreds if not thousands of trained individuals, tens of millions of dollars of specialized equipment, and the limited availability of their favorite actors?
The city of edmonton has had this for awhile now, and it's publicly available - https://dashboard.edmonton.ca/
Interesting read discovered after investigating how to defend a site from being framed with a new URL shortener mentioned elsewhere on HN today.
This is probably one of the better articles I've read on this subject, but I feel it walks around a greater issue that afflicts much of modern philosophical discourse.

It is nearly impossible to divorce the way we view the world with the way we talk about the world. This is basically what the author of this article is saying (and that societal structures reinforce this view by enforcing restrictions on language). The key point there is that the way we view truths about the world doesn't necessarily reveal any truths about the way the world actually is: this is a trap that makes all but the most abstract (and meaningless) philosophical metaphysics paper turn into an exercise in reading jargon.

The author limits his analysis to morality, but I think it can be extended to any sort of classification exercise. If societal definitions of truth and heresy change over time, why can't the definition of a chair? So while two thousand years ago, "chair" could have meant either something with four legs, a back and a seat or simply a straw mat.
For people in Austin, the annual Austin Cup is scheduled for May 3rd. I participated in it a couple of years ago, and it's lots of fun (one of our teams came in 2nd!)

Profits go towards the Center for Child Protection.

http://www.austincup.net/
I am the creator of howldb.com
How "Adam Savage Naked" came to be popular search item on my blog.
Sure, FB, wikipedia, phpbb, wordpress. But when were those started? If you look at what's created today in startups and open source, PHP isn't a very popular language IMO
same thing happened to me, except I saw the first two lines of the example. weird.
Landfill search for 'E.T.' Atari video game is halted
Truly - moving off my triple headed desktop to my X1 carbon is always jarring, especially with merging.

A few things that have helped me working with constrained real estate:

1) Terminal font choice - I switched to Inconsolata last year for my road laptop. Can drop font size to 10 and save serious column space without murdering your eyes.

2) High contrast syntax highlighting with light and dark themes - While I love Solarized on my desktop, glare can make it tough to read. I often switch to Tomorrow (http://chriskempson.github.io/base16/#tomorrow) dark or light depending on the conditions.

3) Buffer navigation plugins - The biggest productivity sink of the small, horizontal laptop screen is the reduced real estate for code. You end up spending way more time navigating up and down a file than on a bigger screen. As I use vim, I use EasyMotion (https://github.com/Lokaltog/vim-easymotion) to make that navigation fast. Repeating the last motion in particular is super useful.

Hope that helps.
Had the same problem.

Using: Chrome Version 33.0.1750.152
Have Adblock installed.
"bahahaha" in response to something that amuses me. Usually, I just have to click a stupid upvote button instead.

^-- this is generally what I avoid, plz no downvotes. :(
Judging by the description, I'd assume it's for a religious organization like a church.
Shitty technology (view source)
I am usually wary of new languages, because they come at a great cost. All the code I've written, libraries I've discovered, standard library I'm used to and take for granted are suddenly gone, and I have to start from scratch. On the plus side, the new language may have desirable aspects that are improved.

However, this is not that. Despite looking like a different language, in reality, it's just a different _interface_ to writing/reading Go. It's completely compatible with all the libraries, tools that work on Go code because it _is_ Go code, simply expressed via a different representation of the Go AST.

I think that is a really nice way to experiment with the positive aspects of new languages/syntaxes. Nicely done!
Many of us can be offended, and not want to work at such a company, but this should be both our and their choice to discriminate.

They discriminate against atheists or others who do not share their beliefs; we discriminate against working for or supporting them.

To ask the law to intervene in what should be a mutually private decision on both sides, is to ask for one or both of the private parties to be coerced and limited in their First Amendment freedoms.

The law currently exempts certain entities from discrimination laws based on religious or other criteria. But all entities should be exempt from laws which interfere with their right to choose.

Here are great arguments for the right to discriminate, one by a Christian, and two by atheists:

http://fff.org/explore-freedom/article/workplace-discriminat...

http://archive.lewrockwell.com/block/block169.html

http://freestudents.blogspot.com/2010/10/legislation-require...

This does not condone state-sponsored or state-enforced discrimination. It supports voluntary freedom of association between consenting parties, without coercive force ever being used to try to alter one party's choice.
This is hardly the first site to frame another site. It's hardly the first link shortener to do so and add a message or ad in another frame or interstitial either. There's enough that "top 10 URL shorteners to make money" is an actual recurring blog post across the web.
Perhaps surprisingly in an interview that's mostly about technical issues, Tristan Sloughter makes some very smart points about labor:

global labor issues: With high unemployment, and high under-employment, it is said you should feel lucky simply to have a job and to not ask for more.

effect of the two-tier labor market for engineers: I've spoken to many developers who think golden jobs exist all over easily to grab by anyone who will work hard enough. This is not the case at all and the programmers in the companies with slides and free lunches must learn this and unite with the real world or risk finding themselves on the wrong side of labor battle in the future.

creation of a 'reserve army': I think the push for everyone to learn to code shows what the future holds. More and more companies in all fields are having uses for programmers, and the easier it is to replace them with cheaper labor the better for their profits.

anti-labor bias in U.S. culture: More likely the mass of developers are on the "Right" but not because of libertarian ideology but simply being in the United States.

social context of technology use: Simply developing a technology doesn't change the world, but the social battles around it, either directly or indirectly, do.

social progress requires socialism: There is enough food and housing, it simply isn't being properly distributed, and this shows that technology itself can not provide a solution.
Gates-style philanthropy is on a course to eradicate polio. That's a potentially huge impact. Sure, the effects of polio are limited to a few poor people right now (mostly because herculean effort was already exerted to get it there), but if we can eradicate it, it means that not only is the current suffering eased, but we will never again have to spend any resources on polio, nor have people suffer from it.
is there a third category of AI which doesn't necessarily care to live or not, but winds up destroying humanity because of its Lennie-like power (possibly even in the service of humanity)?
How can YC be pressured? They sure don't have an LP problem. In terms of hiring for YC itself, it's already quite diverse.

The only thing YC really needs to care about is 1) getting the best possible startups to apply and then 2) for those companies to be successful.

#2 is pretty much immune to pressure-on-YC; YC has no control of YC startups, with only 2-10% common equity. #1 is explicitly the thing they are working on, so it seems unlikely "we will pressure you to accept more female founders if you don't accept more female founders by convincing female founders not to apply" would be a realistic threat.
It very much does. Stopping the blame at Snowden was a judgment call. They could have said it was the fallout of their own reporting (stopping the buck further down the line), or of the practices that Snowden leaked memos about (stopping the buck further up the line), but instead they chose to point the finger at the middle man. That is judgment.
It would have been a more valid complaint for someone compelled to upgrade from Win3.1 to Windows 95.

At this stage, Windows XP users are like Japanese soldiers stranded on an island, growing old not knowing they lost the war. Except without the excuse of being on an island.
If anything T20 will replace the 50 over game. The recent ashes and the Aus v SA tour has definitely re-ignited interest in Test cricket though.
This is what DNS is for. If you specify your backends by hostname instead of IP, then each time the load-balancer tries to connect to the backend, it'll get a list of A records from its DNS resolver and pick one in a round-robin fashion. Thus, if you have a dynamic DNS server that queries your presence service, it can return exactly the hosts that are up right now as the round-robin set.

Right now, if you use SkyDNS[1] as your DNS server, and attach Skydock to the Docker host, this all Just Works. Most people want to use etcd instead of Skydock, though, so support for that is coming soon[1] too.

[1] https://github.com/skynetservices/skydns

[2] https://groups.google.com/forum/#!topic/coreos-dev/iklEYHh5J...
I don't know the details of your app, but I have a feeling that there are many places where you can optimize it.

You can't just take a desktop app and stick it on the phone. It will perform poorly.

But you have to design mobile (web) apps from the ground up relying on the strengths of the mobile platform.

One idea is to limit the functionality of the mobile app. Tasks which are very UI heavy should probably be simplified or removed.
For some reason I find this less readable than the original syntax. I couldn't say why, as I quite like Python or Coffeescript.
> I don thinkt that makes any sense. Should we also use js to implement the OS for the server?

We don't normally develop the OS ourselves, so what language it was written in is irrelevant. Same goes for runtimes, libraries, etc. If we're not responsible for maintaining it, it should not matter what language it was written in. Naturally, the "same language on client and server" argument can only apply to code we develop and maintain.
Wow - It's ten years already... Time flies.
The true genius of this essay is that it gives to the reader a sense that every controversial idea they believe is indeed correct.
Goldman Sachs also aggressively leverages connections to government.

eg

http://www.huffingtonpost.com/2009/06/02/government-sachs-go...
People see Airbnb as a good idea, this shouldn't be a surprise.
> Nobody would even attempt to run a company like that.

Nobody would ever attempt to run a monastery like a bar, either.
Objective Next: Next Generation of Objective-C
I have to say, while I really like this article, I think it goes too far with the statement: "Argue with idiots, and you become an idiot."

He prefaces that statement with a very black and white example of people who ban the color yellow. Using that example every reader can agree they are idiots, but in truth these issues are never that black and white. So calling them idiots, and suggesting you would become one by entering the debate goes a little too far - IMHO.
I am pretty sure, this service is not going to thrive, because people will never click snip.ly urls once they know what it is, and contains user-ad which hinders user-exprience on the linked article. Is this too hard to figure?
I don't think you get it.

http://snip.ly/h5P
It's hilarious to see someone add semantic whitespace to Go, which seems to be the opposite of Python With Braces[0].

I'm in the whitespace > braces camp, but mandatory braces help with the dangling else problem and makes it easier for the parser.

[0] http://www.pythonb.org/
Fair enough. I actually don't use node, or js on the server. :-)

I still kind of like the idea though, of having only one source for (say) object definition, which is shared somehow between the client and server code. Being able to use the same unit tests to check my client side models as server side ones.

Maybe you could do it the other way around though - having your objects from your SQL Schema (or ORM, or whatever) generate the basic JS models... I dunno.

I totally agree that you need multiple languages, and that knowing multiple languages is incredibly valuable - and a lot of fun. I wrote a basic scheme in python for fun, and have a haskell textbook on my desk in front of me right now :-) - But I also feel that there should be some way that by using one language for all of your application logic (client and server side), there could be a benefit.

Sure, DOM manipulation is it's own weird thing - as is database querying, and document styling,- but the application logic that is done clientside and server side is very similar, I find.
Arduino Yún changes colors based on March Madness Epicness
Genetic mugshot recreates faces from nothing but DNA
> But if it was obvious that it was wrong, why did masses of people agree to this? They wouldn't have done it if they also saw it as wrong.

Because we, as a species, learn.

Yes, value systems might change. But it seems, at least to me, that they rarely (not never, but rarely) revert back to older norms.

We probably are "wrong" about things we believe right now, too. Some of the beliefs will be considered wrong in the future because we have different circumstances. Most of them will have changed because we've realized they're actively harmful to the continued existence of a human society.
The charges would be equally effective if they were untrue.

A lot of things HN has claimed about NSA really can't be substantiated, and that DOESN'T mean that I have to believe the HN position by default.
> don't allow unsanitized user-provided HTML through raw.

It's sad that you even need to say this, both for the fact that Javascript sandboxing is so terrible and the fact that developers aren't aware of the hazards of just blindly taking user-provided HTML.
E.g. http://law2.umkc.edu/faculty/projects/ftrials/socrates/socra...

Quote:

The standing of Socrates among his fellow citizens suffered mightily during two periods
in which Athenian democracy was temporarily overthrown, one four-month period in 411-410
and another slightly longer period in 404-403. *The prime movers in both of the anti-democratic
movements were former pupils of Socrates, Alcibiades and Critias*. Athenians undoubtedly
considered the teachings of Socrates--especially his expressions of disdain for the
established constitution--partially responsible for the resulting death and suffering.
Alcibiades, perhaps Socrates' favorite Athenian politician, masterminded the first
overthrow. (Alcibiades had other strikes against him: four years earlier, Alcibiades had
fled to Sparta to avoid facing trial for mutilating religious pillars--statues of
Hermes--and while in Sparta had proposed to that state's leaders that he help them defeat
Athens.) Critias, first among an oligarchy known as the "Thirty Tyrants," led the second
bloody revolt against the restored Athenian democracy in 404. The revolt sent many of
Athen's leading democratic citizens (including Anytus, later the driving force behind
the prosecution of Socrates) into exile, where they organized a resistance movement.
Prominent primitivists such as John Zerzan openly acknowledge this.
IOS v. Android in A/B Testing
I can't say that I find it less readable... but it is only marginally better for me. I'd rather just use a decent editor which takes care of the braces for me.
Yup! We actually linked to that from the article as an example C implementation. It's really solid and also has a Librato backend ;-). We're already using it on a several high-throughput services internally and it will probably warrant it's own post in the future.
How about providing some examples that aren't obscure edge cases that are easily avoidable?
You can't report on data that doesn't exist.

Do they have a take on the three points you listed above? I know they have an app for reporting pot holes, but how complete is the data?

At least they can monitor performance over time, and start asking questions like:

> If more pot holes are being filled now, is it because of an increase in performance or because we have more deteriorating roads?
Nuke a city? Perhaps not (although I'd get the fuck out of Tehran or Pongyang quick, just in case). Nuke every military base in the country? Much more likely. But more importantly, we would be able to do just about anything short of a chemical or biological attack, for as long as we wanted, under the guise of "restrained response to a nuclear attack".