skysight-inc/HackerNews huggingface dataset:
Sorry for not being clearer. I edited the original post, so use that email. :)
And dcfldd (not a coreutils app you have to install it separately) gives you a progress report, as well as using all the usual dd syntax.
That's a really smart hack, I didn't realize comments were included in the output of Function#toString. You could do other cool things, e.g. an annotation for type checking:

function checkType(f) {
return function(a) {
var type = f.toString().match(/\/\/(.*)\n/)[1].trim();
if(type !== typeof(a)) throw new Error('Invalid type');
return f(a);
}
}

var halve = checkType(function(n) {
// number
return n / 2;
});

halve(4); // returns 2
halve('string'); // emits error
It's mainly intended for use in Node.js, but I've documented how to use it with a minifier for the front-end: https://github.com/sindresorhus/multiline#minification
For a verbose or simple progress `cp` equivalent I tend to use RSync. Both RedHat/CentOS/etc and Debian/Ubuntu all come with RSync as standard. The only caveat is that I find RSync to be slightly slower than coreutils cp; however you do gain all the advantages of RSync if you then need to sync files across the network for example.

> rsync --progress <source> <destination>

> rsync --progress /home/me/music/*.mp3 /mnt/shared/music
A.K.A a nappy/diaper.
I never realized that this had such a deep history. I thought it was just an aesthetic cribbed from island cultures. I did not know there was such a concept as "Tiki Lifestyle", and how it originated as a counterculture in America. Very interesting.
It uses the same archaic syntax as TeX :( I was hoping they would come up with something nice and modern like Markdown.

It seems like a cool project, OCaml is probably a fine choice although I've never used it. But there are a few smells. The first to me was him mentioning the project had 100.000 lines already. Now if this was C I could see why. But this is a modern functional language. There's no 10.000 line rolled out parsers, no hundreds of specialised general libraries.

Why is the project 100k lines? Is it an unmaintainable behemoth already?
A little bit more likely than it first would seem. The balloon didn't land on Laura Buxton, but on a farmer who knew someone named Laura Buxton, which depending on how common that name is and how many people the farmer knew is not extremely unlikely. After the girls met they were already primed for looking for resemblances because of the identical name. All in all, it's a very unlikely event but not as unlikely as you might think.
Use the presentation mode of a proper PDF reader to go through the slides.
How much does the use of AC in the US contribute to overall energy usage I wonder? Solar powered AC FTW I think.
Indeed. You can use it to show the progress of a recursive directory copy with this trick:

tar c -C /tmp/source . | pv | tar x -C /tmp/dest

you can also pass an approximated size of your source to pv, however the tar output will be slightly bigger.
When I was a kid I had a a kit for doing this.

This also the principal behind spying on someone in a room by watching the wobble of reflected light on a window.
I am not making up reasons, so you can keep "go and find a better one" to yourself.

There are no bulk auto-updaters on Windows except for Windows Update, which is professionally provisioned. If Chocolatey wants to act as one, it needs to measure up.
Yep. If these people didn't exist, we'd have to invent them.
Is "line" in this pronounced as in "gasoline" (lin) or "waistline" (laɪn) or "adrenaline" (lɪn)?

edit: Like gasoline. "Its name is to be pronounced like Pa-toe-leen, and it
is the frenchifcation of the translation in portuguese of a joke in english"
a) markdown isn't expressive enough. In fact it's pretty horrendous to edit and separate content and layout IMHO. I'd go as far to say I prefer docbook over markdown. It's fine for github readme's but not typesetting.

b) the problem is complicated. Complicated problems need lots of lines of code. 100kloc isn't much. The thing I'm working on has 5.2Mloc and took 25 people 20 years to write. To the layman it probably looks like it does less than this typesetter meaning it's a bad metric to use.

My MacTeX installation is about 1300Mb if that's any gauge.
It is slightly slover, but one huge benifit is, that you get -P or --partial, which often ends up saving me lots of time.
This is really handy for DFP creative templates. Thank you.
But when other countries have tried to loosen their drug enforcement policies it is the US that has historically leaned against them very hard with the big sticks of trade sanctions and development aid.
Ah coffee. I wonder what percentage of coding is fuelled by coffee. Quite a lot I'd imagine.
It depends how to define American Dream. That's an outlandish salary even there, attainable by almost no one, at yet thousands upon thousands of folks are getting by ok.
You're right, I should have said: altruism was a secondary concern.
Kryptoradio – A Bitcoin data transmission system
When I was first really to program I was into hacking javascript to do the crazy things I wanted it to do. I basically did exactly this, albeit with a worse interpolation feature[1]. Don't actually do this please. In the browser, just open up a different <script type="text/plain"> and grab the string from that tag. On the server you can just use a file. Any string that's actually long enough for `["foo", "bar"].join("\n")` to be too cumbersome should be in a separate file, especially if the other way involves a massive hack.

[1]: http://zurb.com/forrst/posts/Javascript_native_multi_line_st...
8 Companies with Exceptional Customer Service
In vein of general ASN.1 trivia in other comments, how many people rememer the ASN.1 doom of 2002?

Almost everything running SNMP had remote pre-auth vulns and on multiple levels - on the ASN.1 encoding side plus on the levels above that. And most of the SNMP managed gear was things like routers and switches and printers that were a nightmare to upgrade, or even exhaustively enumerate in your network.

https://www.cert.org/historical/advisories/CA-2002-03.cfm
Great for them. Just a couple suggestions for the website is to change the black colour scheme, possibly a lighter colour scheme.Viewing content can get more challenging overtime because of the colour scheme. "Lit" could be changed to "Literature", it doesn't make sense to name all other titles in full and leave one out. But I guess they are still in beta for the genius.com domain.
That still doesn't explain, for instance, cutting out translating web applications or PC/Mac software.
To expand the parent comment, in Terminal (OS X), Ctrl-T prints the progress of dd and cp so you needn't look up their PIDs
Very true!

Having it defined is very important. However part of the problem is that definition actually takes away guarantees that many CPUs (eg. x86) give you. For example double checked locking works in x86 but famously not in Java. So the fact is that Java is giving you in some ways a less sequential model than what you started with is what makes it particularly insidious.
Exactly this.
I try to explain this to people in layman terms like this:
Comcast ist trying to charge the water fountain, saying it "wants" to pump to much water into people's homes.
You should be specializing in translation, regardless of the format you work for. And I'm pretty sure you can find a cheap Android phone around to test if things work right.
Why would they get sued, unlike any other company that hosts user-submitted content? As long as they comply with DMCA takedowns, I don't see why wouldn't they be covered under the safe harbor provisions.
Securing Redis in the Cloud
I think annotations is a powerful idea. Imagine seeing all the annotations of your favourite satirist, or politician. Instead of a thinker writing their own blog, they could just annotate others - attacking, critiquing and defending.

This awesome power has to work with verification and moderation. No one likes trolls, and no one likes those who do not contribute to the discussion - but no one likes sterile, conformist, one-sided annotations either.

What my ideal annotation service would provide free expansion of ideas rather than at best a kind of directors commentary.
I don't see why either a minivan or mini-mini (like the Mazda CX-5) or crossover (Toyota Highlander, Kia Sorento, Hyundai SantaFe) wouldn't be a good choice. I am living the proverbial American Dream and love our Odyssey to death. Guess what, though: it's not new (a 2008), and it costs nowhere near the article's projected annual cost, especially if you do your own oil/fluid changes. I drove a VW GTI and my wife had a Golf TDI when our first child was born and there was no conceivable way to fit his car seat rear-facing behind me, so we sold my GTI and bought a bigger vehicle. Minivans are awesome. :)
https://github.com/Lokaltog/powerline
Auroro Demo from Strangeloop 2013 [video]
My partner already does "specialise" in translation. She does freelancing for a living. I simply had the theory that it'd be more effective to niche down, and I chose to target iOS because: I'm a user of iOS, I have some iOS development experience, and the App Store is growing in Japan. We're not basing our livelihoods on the decision. It's just something we're testing.
They're doing it for free. They have a right to be picky :)
In that regards, it's mostly a matter of simplicity. It's easier for us to work with the devices we have (and love) and to market based on a specific target.
> a) markdown isn't expressive enough. In fact it's pretty horrendous to edit and separate content and layout IMHO. I'd go as far to say I prefer docbook over markdown. It's fine for github readme's but not typesetting.

More people should understand this before suggesting Markdown as a solution. For a better experience on github or bitbucket you can use reStructuredText and Org-mode. https://en.wikipedia.org/wiki/Lightweight_markup_language#Co...
I find it ironic that a website for a typesetting tool requires me to zoom in to be able to comfortably read it.

It looks like it could be an improvement over TeX. I like that modularity is a focus, because that's where TeX really suffers. Hopefully the typographical elements will actually be composable and extendable rather than having the loose facade of such functionality found in TeX.
It's not only cool, the documentation is the primary test case for many of those projects.
Damn right! They have a right to be picky if they're charging too :)
The ideas presented here are somewhat similar to IX[1], a security-oriented operating system implemented by Doug McIlroy (inventor of Unix pipes) starting from Tenth Edition Research Unix.

[1] http://www.cs.dartmouth.edu/~doug/IX/
Just compile to native code using an AOT compiler like RoboVM.
Your emacs analogy has issues -- vim is another programmable editor alongside emacs. And IDEs, especially ones like Eclipse, have similar complexity behind a graphical interface. Should languages be replaced, or is it better that they just grow and adapt? Look at the scale of the energy minimum around English.
Why bother when OCaml and Haskell already have more compilers to choose from?
I think i saw 8 libraries before who abused comments like this.

Edit: Yawn.
But not the rest of the world.
Vim is merely another local maximum, complete with its own faults.
I wonder about the relationship between caffeine and the near-universal spread of tea and coffee as hot beverages.

I love tisanes, what are informally called herbal teas. I find it striking that there are literally hundreds of plants used to make herbal teas with an incredibly long history - mint, chamomile, dandelion, jasmine, red clover, elderflower, passion flower, hibiscus, etc. etc. But none of them have a tenth of one percent of the popularity of coffee or true tea.

Many people who enjoy tea and coffee enjoy the effects of the caffeine. But I'm surprised at the scale of the difference between the popularity of caffeinated and non-caffeinated drinks.
Probably worth pointing out that this won't play nice with most minification utilities unless you don't mind leaving all comments in the output.

I think for this reason I still prefer using Array.prototype.join for multiline strings:

var str = [
'<!doctype html>',
'<html>',
'<body>',
'<h1>❤ unicorns</h1>',
'</body>',
'</html>',
].join('');
Here's a single command which should do the same. It supports cp and dd, but anything else that supports SIGINFO could be added in.

ps -A | grep -P 'cp|dd' | sed -r 's/^\s*([0-9]+).+$/\1/' | xargs kill -s SIGINFO
How did Hacker News evolve from the discussion board for YC, to the discussion board where the first comment on any post involving a YC company is reliably someone crapping on it? What an amazing shift.
How To Install Android L SDK on PC
Cloud At A Cost – Hosting For Suckers
I think if someone was to redo TeX, that it would be really nice to see an incremental type setting system. That means modularity not just at the code level, but also with respect to how the run-time data structures are dependent on each other, and the ability to "reflow" text on a change in a way that required minimal changes to the previous flow of the text. Then we could have something that was Wysiwyg, interactive, and produced output that looked fairly decent.
I've also heard that Earl of Sandwich guy is a real asshole.
Honestly, the only reason I use Foursquare and various other personal tracking things is I hope someday to be able to export the data into a nice visualization like this.
Java can haz Lambdas (C# does haz for 10 years)
The about page gives me no idea of what it is, especially as someone who knows TeX quite well. It starts with the single mistake all of those pages do: "It's like A, but with B!" On top of that, B is already in A. Typesetting with scripting? LuaTex (actually quite easy, if you know the typesetting surroundings). More layout control? ConTeXt.

The biggest hurdle in all those systems is understanding what typesetting actually is (in contrast to content editing or especially programming). It comes with a completely different vocabulary. What's a strut?[1] What's a quad?[2] What are the standard elements of typography and page layout? How are fonts measured?

Finally: how does the system manage forward compatibility (can I still compile my document from 5 years ago?) - scripting and modularity are features that have to be evaluated under all those regards.

Also, I am very surprised that code examples in the reference documentation look horrible. Isn't that what the system is there for?

That said: I love that there is competition in that space. TeX is great and will be around for a few decades, but that doesn't mean there can't be others.

[1] http://en.wikipedia.org/wiki/Strut_%28typesetting%29
[2] http://en.wikipedia.org/wiki/Quad_%28typography%29
Draft Version of Effective Modern C++ by S. Meyers Now Available
You can use the `/*@preserve` directive.

See: https://github.com/sindresorhus/multiline#minification
The goal is to annotate everything, definitely including legal texts.
Azure Intelligent Systems Service
Just PasteBin it and inform HN. But you won't because you don't have the balls.
A practical guide to protocol buffers in Go
But what does that have to do with the price of tea in China?
Because its less fun if you can't see the results.

And fun is important when you're doing something for free.
Wow. This site discourages me, as I feel that I may never make something so pretty.
Yes. Unless you think someone should be allowed to post videos of themselves breaking into your house and raping your family?

A crime is a crime. That's it. If you don't like copyright then advocate it's removal but we live in a consensus based society so if you lose you shut up about it.
Sounds like Korean "fan death."

http://en.wikipedia.org/wiki/Fan_death
I didn't realize comments were included in the output of Function#toString

Probably because sometimes they're not, depending on the JavaScript engine (though perhaps all of the major modern browsers do)
Hey, thanks - that'll teach me for not reading the full page!
I might already have done that.
"Fairly decent" is a fairly low bar for a typesetting system.
FYI, CoffeeScript has multiline strings (and a bunch of other nice things!)
AsciiDoc is just as readable as Markdown, but semantically equivalent to DocBook
Is that your problem? The movie industry makes more than you? That does not sound like juvenile logic at all.

Keep up the good work stealing other people's efforts.
You can also

var str = ' \
<!doctype html> \
<html> \
<body> \
<h1>❤ unicorns</h1> \
</body> \
</html> \
'

I find it's better than string concat because the trailing \ is just one annoying thing rather than three.
Seattle usually cools quickly at night. I'm a bit stumped by this also.
Mutable Algorithms in Immutable Languages, Part 1
Επιτυχία στο ίντερνετ και ο κανόνας των 10.000 ωρών – SEO | WEB DESIGN
This makes me embarrassed to work in tech in SF. :(
Big Bang: Big Doubt For Most Americans
Ok, at least as good as TeX then, something much better than Word. I mean, we are getting good with doing incremental computation (e.g. FRP, SAC, etc...), why not apply these techs to the problem of typesetting.
It's not a slippery slope at all. It's quite clear cut.

If a shop was distributing fenced goods or human traffic we wouldn't allow it to remain in business because they also distribute free and legitimate groceries.

Do you see how slippery the slope is? You have left from the tiny tiny tiny niche use of file transfer for free content to the massive industrious downloading of intellectual property.

As long as you are still being paid your salary though...easy to have a faux-morally superior position when it is not your efforts being ripped off.
watching the error path cleanups in libasn1 in LibreSSL is scary indeed. It's a very complex API indeed, compared to something like the PolarSSL implementation. Undoubtedly more such bugs lurking that will affect routers, printers and other embedded gear for decades to come.
Pay them enough and I'm sure he'll consider your suggestion.
> Well what is often forgotten is that humidity is just as big of a culprit as the temperature of the air. Hot but dry air can be tolerated much easier than colder but more humid air.

I hear this a lot but my experience is different.

Humid weather is annoying because it makes you sweat more. However, spending a few minutes at 35C in Beijing (where the air is extremely dry) I would like I'm about to burst into flames and can't breathe. At over 35C in Thailand I would only be annoyed with the weather if I had to spend significant time outside.
Google Launches $100m London-Based Startup Fund
I live in CH too (for more than 20 years now) and although in can get hot in the summer, the humidity is normally much lower than the US east coast and southern states.

I used to regularly travel to North Carolina from Basel (normally warmer than Zurich) and could really feel the difference, even though the temperatures were similar in the summer. In NC, A/C was essential; in Basel not so much.
Catnip herbal tea is also delicious, and extremely calming to a point that nothing else I've tried is, personally.
Or, it could be that TeX has been cobbled together over decades with little design guidance or vision, resulting in a mishmash of approaches and inefficient code.

To me almost everything in TeX feels like a hack, even if the fundamental idea is good and the sum of all hacks ends up looking pretty good. The fact that it's a huge hack that takes 1.3GBs to install is not a gauge of quality.
Well as far as mmorpgs go, the point isn't to sell ads. The point is to get customers hooked up and then gradually make them more frustrated so that they have to pay real money to alleviate the frustration.
For the Lisp programmer to broadcast that he had to crow it from his horse and cart!
It's about time someone gave this a bash - though to some extent this covers the same ground a Pandoc.

However, some of the technological choices seem... unwise if the aim is a lively community project. Version control for instance - whatever technical advantages Darcs may have are heavily outweighed by it's much smaller user base (having to learn a new VCS just to contribute to a project is a massive pain!)
359 days ago. https://news.ycombinator.com/item?id=6062738 .
Slightly related: what many people don't know is that on OS X and BSDs, commands often react to SIGINFO (Ctrl-t), giving progress information. E.g. from the cp man page:

If cp receives a SIGINFO (see the status argument for stty(1)) signal,
the current input and output file and the percentage complete will be
written to the standard output.
A man has raised more than $40,000 on Kickstarter to make a potato salad
The following browsers return comments:

- Latest Chrome

- Firefox >=17

- Safari >=4

- Opera >=9

- Internet Explorer >=6

From: https://github.com/sindresorhus/multiline#compatibility
Also, everyone seem to assume the laser comes from or near the rifle, when it could come from a much closer team member for various reasons. Easier to conceal both a laser and yourself than a full blown sniper+weapon in shooting position. Alternatively, moving targets.

All sorts of known strategies applicable to e.g Hellfires come to mind (sorry for the dubious reference and descriptions, I recently unearthed old Comanche 3 and Longbow games): shoot timed salvos and light up targets in sequence, shoot blind and hidden then pop up and light up at the last second...
What I don't really see, HSA-wise, is how they plan to cater for the fact that graphics and compute cores favour significantly different types of memory (DDR vs GDDR). From what I understand, one of the major cripplers of on-die graphics so far as been its reliance on the same bog-standard memory interface shared with the CPU. How will this interact with AMD's side-port memory schemes?
Sorry but what does this have to do with anything?
I was immediately put off by the syntax, too.

We don't have to do strict Markdown, but even Markdown is transparently extensible in HTML. It is entirely feasible to write publishing quality documents in HTML/CSS3, and thus, Markdown.

I would love to see something like Markdown, but well-suited for typesetting, but with a transparent backend scripting language for more in-depth tasks. Scribble looks like a good start: http://docs.racket-lang.org/scribble/index.html

Currently, I use org-mode and LaTeX-export for this. It works well enough, but a native integrated environment would open this to a much wider audience.
I wonder if you could calculate just how unlikely this event is. Then multiply by the world's population and a few decades, and count how many similarly unlikely events happened. Do you get a big mismatch or not?
Plus, many similar meetups have occurred between people who didn't share similarities, but we don't hear about those because they're unremarkable. There are many motivations for believing events such as this are more than just a coincidence. It's also very difficult to comprehend the sheer number of human beings living on this planet when each of us has relationships with such a minuscule percentage of them.
I also like -avh and --stats for rsync, I use rsync many times a day for transferring files and folders across networks. It's brilliant.
I never flushed migrations, maybe I should! Thanks for the comment. Food for thoughts :)
Who, in turn, starred in the movie "Some Like it Hot."
> Can I still compile my document from 5 years ago?

Well on the About page it does have the FAQ:

> Can I use Patoline for a huge, ten years long project that I'm starting now?

> Although one of the authors has written his PhD. thesis (120 pages, in computer science) with it, we don't recommend it now. The reason for this is that small adjustements and bugfixes are being made all the time, and working on such an unstable system can be frustrating. However, for documents that are not meant to last forever in time, we would be happy to help you with it: feel free to contact us for help.

> Stay tuned: we do plan to release a long term supported version of Patoline soon.