skysight-inc/HackerNews huggingface dataset:
It's exactly that kind of thinking that worked so brilliantly for Firefox, isn't it?
I'm not sure it is that concise. Just look at the code that you've given. What is it actually doing? How much of it is the juicy part and how much is the language clutter? To me, it feels like in terms of the actual functionality this code does not do that much. Skips the text before first "+++". In more concise languages that whole piece would look like a single line:

env.lines = [line for line in env.lines if not line.startswith("+++")]

And just look at this:

when String.length line > 4 && String.sub line 0 3 = "+++"

Really? Specifying numbers like that in the code? And are we really going to alloc an object here? Wow. Wouldn't anyone prefer to use something like:

line.startswith("+++") ?

edit: my code doesn't implement the exact same functionality. I've only attempted to give a feel/look of the code, not rewrite it. it looks like the original code returns the lines after the '+++' lines, but I can not tell for sure, as the header/modified function implementations are not given.
LG PD239W Pocket Printer (BLE/NFC)[0]. How is SnapJet better than this?

[0] http://m.lg.com/us/cell-phone-accessories/lg-PD239W-pocket-p...
To be this is a community factor rather than a technical one. You can't talk to a Haskell person for five minutes before they're trying to explain monads to you, (often whether you already understand them or not) and to an OCaml programmer they're just another tool.
it's (sadly) very refreshing honesty from a scientist. In grad school, I counseled a junior grad student on this sort of phenomenon, she didn't take my advice and learned a very hard lesson - spending 4 years of grad school chasing down ghosts. On the other hand, it wasn't a waste, she got a very good job in the pharma industry on the back of her commitment to sussing out errors, her honesty and introspection.
> It is a DoubleClick invention that Google bought.

Not really.

It is the remnants of a failed web startup. They offered a freemium backend as a service, but it didn't take off.

http://web.archive.org/web/20091230110525/http://getangular....

http://web.archive.org/web/20100215054417/http://www.angular...

Then I believe that one of the founders/authors was hired by google, and...

> They then attached "from Google" to the logo and it took off like a rocket.

Yeah.
i guess he want something that compares remote forks a la github, instead of a patch uploader that is agnostic to where you store your repos
New rule:
Don't use images with source resolution <= 800px for full width headers.
hey CSS Stats - let me know if we can sponsor you. chris at maxcdn com - can get you an account right now.
That's where the remaining problem is.

Funding agencies should really stop kneeling in front of publishers and refuse to pay for this, or at least fix themselves a maximum price per publication.
Currently publishers ask for $1000 to $5000 in some cases, which is completely insane. I'm not denying the cost of publication. But there is that actual cost, and then there is the prices demanded by publishers, which looks more like violent theft than it looks like the actual cost.
It will happen later: https://www.mediawiki.org/wiki/Phabricator#Migration_timelin...
Could you please stop calling it "scanning"? It's not scanning anything, it's exposing a film.

A lot of people who read your product description (and your comments here) seem to think that it's an actual image scanner that creates a digital image and then prints it. You can help preventing that misunderstanding (and avoid all the questions about whether one can print via Bluetooth) by making more clear what your product actually is in the language you use.
Zhuowei/ClickFast
Apparently you can opt-out at some level.

I’m running Yosemite 10.10.1; according to Activity Monitor, Dropbox, VimR and Terminal aren’t sandboxed.

Of course, many low-level processes aren’t sandboxed either.
Apache Mesos 0.21.0 is released
The latest Mesos release, 0.21.0, is now available for download. This version includes the following features and improvements:

Task reconciliation for frameworks (MESOS-1407)
Support for Mesos modules (MESOS-1931)
Task status now includes source and reason (MESOS-343, MESOS-1143)
A shared filesystem isolator (MESOS-1586)
A pid namespace isolator (MESOS-1765)
Full release notes are available in the release CHANGELOG.
Not so. The delegation of discretionary power to the agency (whose head serves at the pleasure of the President) is explicit in the statute. As I pointed out above, the President is not declining to enforce the law, but promulgating standards for how that discretion should be applied. Furthermore, this is not as novel a situation as some commentators claim, because such standards are regularly promulgated in other similar contexts, such as rules not to automatically exclude would-be immigrants who infected with HIV (instituted and terminated by executive fiat) or to grant refugee status to people from conflict/disaster zones, which are similar exercises of discretion. The only 'large' thing here is the number of people who might qualify for residential status under the newly-promulgated criteria for evaluation (eg 5 year continuous presence inside the US plus parental relationship to a US citizen/LPR plus absence of felony convictions).

Here again is the DoJ's legal memorandum on the allowable scope of executive action in this context - you'll notice that it affirms the President's powers to act in some respects while denying it in others. I'd be glad to discuss it in depth but the document is necessarily long and technical.

http://www.justice.gov/sites/default/files/olc/opinions/atta...
Yeah, dateutil it is cool, but it has a few problems:

>>> from dateutil import parser
>>> parser.parse('')
datetime.datetime(2014, 11, 24, 0, 0)

It gets worse with fuzzy parsing:

>>> parser.parse('something meaningless', fuzzy=True)
datetime.datetime(2014, 11, 24, 0, 0)
I think it's worth saying that I appreciate when you give the community greater insight into the decisions you guys make. I know sometimes it's a hard judgement call, due to the risk of fueling an endless argument. I often have to make this call myself, and usually err on the side of leaving out the details. So I appreciate it when details are provided when most, like myself, would opt to leave them out.

Anyway, I thought this might be an encouraging word for whenever you have to face this choice again in the future.
AI Startup Sentient Raises $103.5M in Funding
I have no idea where that help page took those screen shots from... but it is definitely not from github.com or github enterprise. I see no way to assign pull requests... i don't even see the checkbox they mention on the PR list!
Collapsing entries on the same page in the back button right-click menu.
Hmm... maybe this is just me not being familiar with the literature, but from that link, it looks like there are very mixed results (some studies report no difference based on age of acquisition, whereas others report that children learn more quickly/effectively). It does seem like the percentage weighs in your favor though, so I suppose I should adjust my beliefs on the matter.
I want to go to physics grad school just so I can have a lab full of equipment like that, with a lot of it stuff I machined myself.
> Even in Phabricator, though, when you have multiple reviewers only one has to accept for it to be accepted. Oftentimes it is _more_ confusing to have multiple reviewers because you don't know who should have the final say.

Yeah, this depends on workflow. We generally send every piece of code to two reviewers but just wait for either one to accept, unless there's a particular reason that both should look at the review. This works well for us but I can see how it wouldn't work as well for people with other processes.

> The commenting system is a matter of preference, but having forgotten to "Clowncopterize" (a great demonstration of the professionalism of those who hack on Phabricator) comments, and given that they thread in email, it hasn't been a problem for me. Though I understand where you're coming from.

Yes, Phabricator's isn't perfect but it's the best of the ones I've tried, especially if everyone using it is familiar with the tool and uses it frequently (that is, you might forget to Clowncopterize once or twice ever, but then you'll know for the future). I used to use Kiln (http://www.fogcreek.com/kiln/) which had a different approach for emails – they essentially debounce emails to have a half-hour delay and coalesce any emails within that timeframe together, so you get fewer emails but don't need to submit the collection of comments explicitly. Having tried all three choices, I'd say that they're all painful in different ways and I personally prefer Phabricator's approach.
If you're on the free version should you still worry?
Is there any way chats older than the cap on backlog can be restored?
So the UK attacked Ireland.

Nice one.
> They then left an unsourced quote as the very last line of the article

The article stated the source of that quote:

"Carl Guardino, chief executive of the Silicon Valley Leadership Group, which represents most of the region’s large tech companies"
It's not a perfect solution but it sure does head in the right direction. If the perception can be changed so that "serious" science with big donors is always published openly and only rinky-dink "school" science is published behind paywalls because it's just "publish or perish" schlock it will be a huge win.
Ask HN: MySQL Tuning for Performance Suggestions/Help
I have a LiquidWeb Storm Server running CentOS 64 bit version 6.5 with a single 8 core CPU (AMD FX-8350) and 31gb of memory with a SSD.

I'm currently running Apache 2.2.29/PHP 5.5/MySQL 5.5 and host around 30 sites, two of which are fairly high throughput WordPress sites built in WordPress.

MySQL Tuner is reporting large #'s of fragmented tables and rather high (15-25%) connections aborted. I'm looking for advice on my.cnf configuration tweaks that I can put in place to tune the system for maximum performance.

Thanks!

>> MySQLTuner 1.3.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.40-cll
[!!] Total fragmented tables: 574

-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned

-------- Performance Metrics -------------------------------------------------
[--] Up for: 1d 22h 31m 46s (15M q [93.205 qps], 222K conn, TX: 431B, RX: 11B)
[--] Total buffers: 1.1G global + 16.4M per thread (300 max threads)
[OK] Maximum possible memory usage: 5.9G (19% of installed RAM)
[OK] Highest usage of available connections: 8% (26/300)
[OK] Key buffer size / total MyISAM indexes: 384.0M/290.8M
[OK] Key buffer hit rate: 99.9% (110M cached / 130K reads)
[OK] Query cache efficiency: 66.5% (7M cached / 11M selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (16 temp sorts / 99K sorts)
[!!] Joins performed without indexes: 1637
[OK] Temporary tables created on disk: 21% (68K on disk / 321K total)
[OK] Thread cache hit rate: 99% (26 created / 222K connections)
[!!] Table cache hit rate: 3% (3K open / 80K opened)
[OK] Open file limit used: 32% (5K/16K)
[OK] Table locks acquired immediately: 99% (7M immediate / 7M locks)
[!!] Connections aborted: 17%
Mesos modules provide a way to easily extend inner workings of Mesos by creating and using shared libraries that are loaded on demand. Modules can be used to customize Mesos without having to recompiling/relinking for each specific use case. Modules can isolate external dependencies into separate libraries, thus resulting into a smaller Mesos core. Modules also make it easy to experiment with new features. For example, imagine loadable allocators that contain a VM (Lua, Python, …) which makes it possible to try out new allocator algorithms written in scripting languages without forcing those dependencies into the project. Finally, modules provide an easy way for third parties to easily extend Mesos without having to know all the internal details.
Philosophy is the precursor to science. It is relatively primitive, unfocused, untestable. Maybe still interesting though in terms of its ability to tie together ideas different scientific fields without so much "rigour". That is really more a weakness of science though.

You need to separate literature from philosophy. There certainly are today and have been recently some excellent novels with interesting ideas in them. But for someone to pay large amounts of money to study novels or poetry or even history -- even the most privileged groups are expected to have practical skills and knowledge in a consulting position or running a company.

The relative lack of interest in politics, morality, better social organization, etc. I believe you can attribute to a few things. First, there is less hardship than in previous eras, which means fewer critics of social structure. There is also a relatively strong control over public (and private, to a degree) education that is reinforced by a powerful propaganda machine.

But the critics and ideas are out there. They are harder to find.
Mesos 0.21.0 introduces an optional shared filesystem isolator for the Mesos Containerizer. The isolator does not provide full filesystem encapsulation like Docker. It is intended for deployments where containers share the host’s root filesystem but certain parts of the filesystem should be made private to each container.

One example use-case is a private /tmp directory for each container. Processes running in the container will see a normal /tmp directory but it actually refers to a subdirectory of the executor work directory, e.g., the relative path ./tmp. Processes will not be able to see files in the host’s /tmp directory or the /tmp directory of any other container.

This isolator is available only on Linux.
Finally Docker support for Chronos, this is going to be great for running idempotent batch jobs!
Unfortunately that just shifts the problem from one of space to one of time. (There's an algorithm for calculating the hexadecimal/binary digits of pi without calculating previous digits, but AFAIK none for the decimal digits, so YMMV depending on which base you're doing it in. That's just a particular feature of pi, though so it doesn't matter for the general point.)
Mesos 0.21.0 also introduces an optional pid namespace isolator for the Mesos Containerizer. The isolator runs each container in its own pid namespace such that processes inside a container will not have visibility to processes running on the host or in other containers.

The Mesos Containerizer Launcher has been updated to use the pid namespace to terminate all processes when destroying a container. This avoids known kernel bugs and race conditions when using the freezer cgroup. If the container is not running inside a pid namespace (started with an earlier slave version), the launcher will fall back to the prior behavior and use the freezer cgroup.

This isolator is only available on Linux.
i don't know of a rocket that could effortlessly accelerate a rock to a nontrivial percentage of c, which would be within a reactionless drive's capability, given enough time. see also http://www.projectrho.com/public_html/rocket/reactionlessdri....
The TaskStatus associated with a status update has relied on a single enum and free-form string to communicate the status. There are benefits to adding more data to the status update, and in Mesos 0.21.0, we have introduced the notion of a Source and Reason.

The source of a status update is, broadly speaking, the actor that changed the status. This can currently be Master, Slave, or Executor. Similarly, we have added an enumeration of reasons for the status update. The list can be found in include/mesos/mesos.proto and is fairly extensive.

Our hope is that frameworks can use the source and reason to better communicate status updates to end users, and make better scheduling decisions.

We have also introduced the notion of a TASK_ERROR state, distinct from TASK_LOST. The semantic difference is that tasks that are updated as lost can be rescheduled and should succeed, while tasks with status error will continue to fail if they are rescheduled. In Mesos 0.21.0 we do not send TASK_ERROR but it has been defined so frameworks can prepare to receive it. We will start sending it in Mesos 0.22.0.
The evolution of Darwin’s Origin: Cambridge releases 12,000 papers online
> Natural language's main purpose is human-to-human communication.

Agreed.

> Programming language's main purpose is not.

For languages other than raw machine code, the main purpose that they exist is human-to-human communication. A constraint that they face is the need to be able to be reducable to machine code to also support human-machine communication, but other than human-to-human communication (including time-shifted one-way communication to the future of the same human that initially created a work), there is no reason for them to exist at all.

> I think you understand the parent's point.

Sure, I understand the point. I'm also explicitly disagreeing with it.
Neil Gaiman interview: every fairy tale is a loaded gun
Frameworks are now able to reconcile task state through the mesos API, to ensure that they remain eventually consistent in the face of failures.
The word "semantic" isn't semantic.

The problem with being semantic (where I guess "semantic" means, to you, that the CSS class is representative of the human readable content of the element?) in underlying UI code is that it doesn't make sense to have a CSS class for every unique item in the UI. The projects I'm working on a UI for would literally have thousands of classes. Even if I categorized them down to some subset (e.g. "apache-config-item"), it would still be in the hundreds, and would be unnecessary information; my UI doesn't need for Apache configuration textboxes to be differently styled than Postfix configuration textboxes. In fact, it would be counter-productive and ugly to give them different styles.

The "semantic" in "Semantic UI" seems to be that the classes describe the resulting visual output. This is semantic. It's just not semantic for the end user (which it doesn't need to be). It is semantic for the developer. The developer, at a given moment, doesn't (generally) care whether the text box is for Apache of Postfix configuration options; they only care if it is the kind of text box they want the user to see.

Presumably, you'll also have IDs that uniquely identify your divs and your input elements. Which still allows styling for specific use cases.

In short, I can't imagine a "semantic" framework being useful if it is semantic for the end user rather than semantic for what the developer is interacting with.
Your intuition is good, but pi is a bad example. There are ways to represent specific irrational numbers such as pi, e.g. a turing machine generating all its digits. For most numbers in R that isn't possible, however. The exceptions are called computable numbers and they form a tiny (countably infinite) subset of R.
Well, it is meant to be very forgivable. Right now it outputs the same thing for both "1 week ago" and "1 weeks ago" (even though the latter is grammatically incorrect).

Can you elaborate what you mean by "proper grammar for singular values"?
The practical record for Shor's algorithm is definitely 3x5 = 15. A different style of quantum computer factorized 143 using another method, which seems to have also have theoretical complications in addition to practical ones. It is definitely possible to factor some larger numbers than using "just Shor" but from what I understand, these methods are just "hacks" in the sense that they are not a good way to factorize in the general case. Maybe someone can correct me on this.
Very nice. I'll definitely be looking more into this.

How does it compare to hipache? [0]

[0] https://github.com/hipache/hipache
This is really great, but to play devil's advocate, does this hurt the authors? That is, does this mean that they can't publish in Cell or another reputable journal, and would this discourage them from taking funding from the Gates Foundation?

As an article in The Winnower said, science is not disinterested and there are egos involved. "We got published in Cell" or "Our paper is in Science" still speaks prestige.
It would be an interesting experiment to negotiate a single annual payment to all journals to make them publish all articles in an easily downloadable and extractable form.
Yeah it should be pretty nice for sure. Try it out and let us know what you think for sure.
Docker support for Chronos is a big deal!!
Even more insane when you consider that peer reviewers are unpaid.
Ok, I thought you categorically opposed scientists being activists.

I do agree that some things are perhaps too easily reported or assumed to be caused by climate change when there is not much evidence to support that (yet).
Show HN: HackerNews-Streaming
Not in the medium term. The paywalled articles' days are counted already -- in physics, putting the paper into arxiv is the standard practice, and it doesn't hurt anybody.
While I love and use Haskell a lot I would recommend Purescript [0] over Haskell or Ocaml.

Even if the only reason (hint: it's not) were that Purescript uses familiar tooling such as NPM, node, CommonJS modules, bower, etc and would allow users to focus on learning functional programming faster.

For those that wasn't more than the examples, there is the wonderfully comprehensive, practical, and just plain fun Purescript book[1].

0: http://www.purescript.org/

1: https://leanpub.com/purescript/read
I've been using Phabricator for almost a year now in our company. At first, I also had my questions about the workflow with arcanist (the local PHP cli software to interact with Phabricator). However, right now I really love it and miss it on every repository which works without Phabricator. Commands like 'arc feature', 'arc tasks' and 'arc inlines' provide a solid abstraction over the repository to bring the workflow to the cli.

About the unit tests: indeed, out-of-the-box Phabricator only supports running them locally (you can configure the unit engine to run every time a piece of code is been send into review). Luckily, it's not that hard to hook into the event engine (https://secure.phabricator.com/book/phabricator/article/even...) to, for example, trigger your CI-server to run the test suite for a specific revision.
Also, Phabricator is still being developed actively. There are a bunch of alpha and beta applications which will only make it more powerful (for example: DryDock and Harbormaster, which will ease the work for automatic builds: http://www.guywarner.com/2014/05/integrating-jenkins-and-pha...)

In my opinion, Phabricator is one of the most powerful tools around for doing code reviews and effective collaboration management. Even with the large amount of beta applications (which are promising in many cases) the decision for us was easy to make.
> At one time, the USPS did mostly one thing, delivering first class mail and they did it really well, to anywhere in the US for like 10 cents.

Is this your version of, "back in my day a candy bar was a nickle"?

Because the last time a stamp was 10 cents was 1975.. which would be 43 cents today.

It's called inflation.

http://en.wikipedia.org/wiki/History_of_United_States_postag...
This looks like it could be a fun party gag, if it was about the size of an iPhone or smaller and very cheap.

But at this size and price point? I don't see the appeal over one of the mobile dye-sub printers, some of which are smaller than this device.
Docker support in Mesos:
* Users now can launch executors/tasks within Docker containers.
* Mesos now supports running multiple containerizers simultaneously. The slave
can dynamically choose a containerizer to launch containers based on the
configuration of executors/tasks.