skysight-inc/HackerNews huggingface dataset:
Li Haoyi just gave a talk at Scala by the Bay entitled "Beyond Bash", which details the shell scripting environment he's been working on that is hosted in a reimplementation of the Scala REPL, called Ammonite.

Slides for the talk: http://tinyurl.com/beyondbash
Docs: http://lihaoyi.github.io/Ammonite/

I wasn't at the talk, but I downloaded it and have been playing around with it. It's really fun!

The path operations are all typed (ie, you can't combine relative and absolute paths in stupid ways), you get all of Scala to operate on files and the filesystem (if you know Scala, this is pretty huge), and it has a handy pipelining syntax that is effectively an extension of the shell `|` operator we all know and love: http://lihaoyi.github.io/Ammonite/#Extensions

There are other niceties built in as well, like syntax highlighting and pretty printing, that gave me the impression that the author really cares about the UX of the software. It's not all academic/pure, in fact it appears to be the kind of pragmatic, practical thing that I wish Scala was known for. I highly recommend giving it a shot, especially if you already know Scala. I definitely will be giving it some time in the coming weeks.
Thanks for all the work on iron / hyper / web-related rust! You've done some impressive amount of coding!

I was wondering what are your plans regarding iron-related extras. It seems like logger, staticfile, and others are not updated as often as iron itself (some fixes I noticed lately were PRs, staticfile fails on travis). Do you have plans on how to expand iron in the future? Will you produce more basic blocks yourself, or do you expect some community modules to start growing as people use iron itself?
Your question is kind of vague. Yelp, TripAdviser, Angie's List, GetSatisfaction, and a few others all field both customer complaints and compliments for B2C businesses and even B2B businesses.
If I set this option, I wonder if OS X third-party app installers will be affected? They often ask for the admin password, presumably to install software in directories owned by the system.
The more interesting story is linked to in the story:

China Makes Jaw-Dropping Cuts to Carbon Emissions in 2015 Equal to UK’s Total Output

http://www.goodnewsnetwork.org/china-makes-jaw-dropping-cuts...
If you live in Washington state and would like to do something about preventing further poaching, please vote Yes on Initiative-1401 which will be on the state ballot in this fall [0].

Furthermore, anyone can donate for example to the International Anti-Poaching Foundation[1][2] which fights these poachers. The founder, Damien Mander[3], is an Australian ex spec-ops sniper who is using his military experience to train the park rangers since they, unlike the poachers, tend to be poorly equipped and trained as well as understaffed.

There is also the David Sheldrick Wildlife Trust[4][5] which takes care of elephant and rhino orphans (most of them are orphans due to poaching). For $50 a year, you can become a sponsor of a particular orphan and they'll send you photos and updates about how your sponsored orphan is doing. I've been giving these out as gifts with good successes. You can for example sponsor this little fella [6].

[0] http://saveanimalsfacingextinction.org/

[1] http://www.iapf.org/

[2] https://en.wikipedia.org/wiki/International_Anti-Poaching_Fo...

[3] http://en.wikipedia.org/wiki/Damien_Mander

[4] http://www.sheldrickwildlifetrust.org

[5] http://en.wikipedia.org/wiki/David_Sheldrick_Wildlife_Trust

[6] https://www.sheldrickwildlifetrust.org/asp/orphan_profile.as...
Renewable power has more than doubled while coal has decreased
Thus proving that all our nerdy knowledge isn't as important as we think it is in order to be incredibly successful.
Yes, I'm aware of the background, but surely if they want people to use it, they should take the best route to achieving that? Or if it's a learning experience, learn part of the reality about getting people to use a service?

Otherwise, how many of us look over the page and then walk away?
After 30 years even if it changes, let's say during the Clinton era much changed. It lasts a decade and then the course corrects to the trajectory it was on before. The people that affected the system are now irrelevant or soon dead. The new generation has forgotten the past.
Greece is a country with large government problems. And the government is not what pays the price for this structured deal. The people do. It is very convenient to assert that Greece is a free country where the people are in charge. If you want to blame someone for their misfortune, interpret past events so that it looks like they inflicted it on themselves.

> Nobody is threatening Greece with military action should they not pay their debts.

It should be quite obvious in 2015 that military action is not the only way nations can destroy other nations. For example, forcing them via a corrupt and disconnected government to pay into an unsustainable financial settlement until they are bled dry and peeled down to the bone is one way you can destroy a country.

Why do we equivocate governments, states, and countries? The country of Greece suffers for the sins of its state, executed by its corrupt and inept government.
You're backpedaling. Earlier you said only young people can afford to use these services. Now you're saying only young people choose to use these services.

The latter may be true; the former certainly isn't.

When the horseless carriage came out, or electric light, or the radio, traditonal-minded folk chose not to buy them. But I don't think anyone would say those inventions made the world into an assisted-living facility for the young.
I've often thought about this, but came to the opposite conclusion: a laptop is the smallest thing you can trust. The keyboard sends data to the CPU. The CPU sends data to the screen. The CPU does encryption and talks to the network.

I feel like there's no point in trying to chop it down any smaller than that. All you're doing is shifting trust from "system A" to "system B", without really changing anything.
FirstStep wants to get millennials investing their virtual loose change
Nobody has access to that data except executives at Amazon.

However, I can say that when I was ready to go (and tried to transfer out of the group) we had lost %70 of the employees in the group. After I left, the group basically dissipated... and the incompetent manager who drove them all off, he got promoted!
Typeset.js – an HTML pre-processor for web typography
>We know exactly what the government does, we don't think that it's right, and yet we can do nothing to stop it.

We can do nothing to stop it because we are not in the majority. That is how democracy works. If you believe we should be able stop it anyway then you do not believe in democracy.

Educate the public. Tell people why they should care. Get them to vote on it. Because right now most people are apathetic or positive on surveillance as a way of protecting them.
Not really.

All you do is have a claim over a chunk of the future earnings of that country.

All this could have been avoided many times, if the Greek government had stopped expanding its government and welfare programs. People sounded the alarms back in the 1980s when the expansion of the state was first begun in earnest.

Really, it betrays a fundamental principle that voters will knowingly keep returning government with no intention of handing down a balanced budget, if they think they can get away with it. It's rational behaviour to vote yourself largesse if you think someone else will get stuck with the bill.
If you want to be pedantic about it then sure ;)

Show me a well known, battle-tested and mature authentication library for Go? btw, I was just showing the parent that Go doesn't have everything for a secure website/api as he claims and other languages are way ahead of Go for making average Joe programmer write secure web services because of their mature library ecosystem.
>Once smoke reaches emergency levels, Nest Protect can't be silenced- by regulation in the US and Canada. Address the source of the problem, and Nest Protect will quiet down when the smoke level gets lower.

https://nest.com/support/article/Nest-Protect-Safety
Improvements in magnet technology for fusion reactors
Pre-shifting and pre-rendering are two rather different things. If you could pre-render all of this, there'd be no question - you'd get 50Hz out of the ST, no problem! You'd use the hardware scrolling, and CPU usage would be something like 0.02%. But you can only fit 16 screen buffers into 512K, and that wouldn't be enough, so you need to do things properly.

Regarding the planes: you can modify each independently. Just set up your palette in the right way! For 4 planes, something like:

0000 - light grey (background)
0001 - purple (lines)
0010 - dark grey (shadow)
0011 - dark purple (shadowed line)
0100 - white (ball)
0101 - white
0110 - white
0111 - white
1000 - red (ball)
1001 - red
1010 - red
1011 - red
1100 - pink (ball)
1101 - pink
1110 - pink
1111 - pink

Now you can manipulate each plane separately, as appropriate, ignoring the rest, and you'll get the right result. Of course, this limits the number of colours you can have at once, the limit being 1 layer per plane, and then N+1 colours in total for N planes.

With the ball demo, you have 2 x 1-bit layers (2 colours each, 1 shared), and 1 x 2-bit layer (4 colours, 1 shared), for a total of 7.

All of this applies to the Amiga just as it does to the ST, because both operate using the same principles in this respect. (The Amiga's dual-playfield mode existed, I suspect, only because it was- cheaper than having more palette entries! If you had 64 palette entries, there'd be no need for it.)

(As for the resolution, I think the ball demo was 320x256 pixels? - certainly seems to have been the case judging by the screen grabs I could find. So I think my calculations stand. Don't ask me why they didn't go for 640x256x4bpp, because I have no idea.)
How Iron Man's Arc Reactor (probably) Works
I just noticed that IKEA has a new product called SKARSTA, which is a hand-crank standing desk. This is different from the electric IKEA standing desk that others have mentioned. Lets see if this link will work: http://www.ikea.com/us/en/search/?query=SKARSTA
ps. I do not own this product and can not recommend for or against it, just saying that it exists.
Payscale.com puts the average employee tenure at 1 year, which is very low, but comparable to Google (1.1 years). Apple is 2 years, Microsoft is 4 years.

http://www.payscale.com/data-packages/employee-loyalty/full-...
An easy and plausible interpretation of my post is that I was concerned for the psyche of my fellow human being, and for the people he might be around. In the future please respond more civilly and substantively instead of dismissively.
Have you launched many times on that formula?
This is called a quadtree. Here's a comparison: http://blog.notdot.net/2009/11/Damn-Cool-Algorithms-Spatial-...
Previously: https://news.ycombinator.com/item?id=10066014
Fravia died, unfortunately ;(.

http://search.lores.eu/index.html
A wiki is a terrible instrument for writing software documentation. For example, there is no revision control to track changes as required by by changes in the code, there is much duplication. I could go on, and on, why a wiki is not optimal for any documentation associated to a software project.

Better to use a system like DITA or dockbook.
To be fair, Microsoft and the big Silicon Valley companies have suburban campuses. Amazon is in the middle of a big city.

I think the parking allowance is something like $130/month.
And it only took, what, 90 years?
In 1975, a Kodak employee invented a digital camera
"Historically, aesthetically and culturally". This isn't about saving manuals so people can keep running 80-year-old systems that are still in service. This is about history.
well, this bug is a null pointer deference. smap is like -no_shared_cr3, but without the performance loss.
Quackpad – simple collaborative docs for teams using Slack
How we know what lies at Earth's core
We use conduit at Dropbox as well, but mostly for PEP 333 type reasons ("universal" request/response types and a pluggable coupling layer between handlers and servers.)
http://akkartik.name/post/literate-programming
I just can't seem to figure out where you are coming from on this. My first question is, why would you plug a device with transfer rates in the 20-40GB/s range into a SATA3(6Gpbs) port?
Next is although we can wax poetically on what exactly is the best case for every ones use cases how are you going to guarantee that the micro controller will work the way you want it to?
Databases with properly configured indexes will retain the important data in RAM with out further modifications, and again how would you ensure that the records you feel should be cached are cached since the small micro controller would barely have the resources to analyze the data stream to begin with.

Lastly if you do care about data retention during power outages and sags then you would likely want an APC/backup battery. Even though the data stored in the SSD/RAM hybrid might have enough backup power to flush to disk how about the data that is currently in RAM waiting to be flushed as well?
I think in one instance they staged a motorbike accident which was loaded with a custom replica tusk. The "poacher/smuggler" pretended to run from the scene thus leaving unattended an item of apparent high value which was subsequently "stolen" and thus entered into the smuggling economy surreptitiously.

The investigator is understandably a big cagey about methods, etc. so as not to expose people and future investigations.
Ah, neat! Thanks for filling me in. I almost never hear people talking about it.
Vancouver's Tech Ecosystem
What's the CSRF library? I couldn't find one on crates.
> A company that doesn't reimburse travel expenses

I've had that happen and i live in a country with massively stronger employee protection laws than the USA.

> All the data I provided is 100% true and above reproach

You claim it is. That does not make it so. The very fact that you feel the need to say it, and say it in a fashion that is highly ignorant of reality, makes what you say even more suspect.

At the end of the day, what we have here is two parties, who're both highly motivated to spin a story their way.

Btw, out of sheer curiosity:

>> If you get an answer wrong because you disagree with the principle itself, then maybe we need to reconsider our way of thinking.

Has Amazon ever reconsidered its way of thinking in the matter referenced there? Please provide examples.
Show HN: Dayquant – Analyze your life every day
I try to maintain and ensure the basic building blocks are usable and high quality, but I am just one person, and there is much to do. There are several other people associated with iron who also help with maintenance and feature additions to the key packages under the iron organization, and they make everything much much easier (thanks again!).

There are already some community crates that integrate with iron, providing things like handlebars templating; I hope that as the community expands, more third party crates will appear and make using iron even easier.

If anyone is interested in working on iron or wants to write a community crate using it, you should reach out on the #iron channel on the Mozilla IRC network. I and others hang out there and we can answer questions and provide help.
Microsoft Drops Another Windows 10 Update
Show HN: Jigdraw – Android jigsaw puzzle game using a user's own drawings
Which makes m wonder if he was encouraged to write this. Seems like there's a lot of visible damage control being done in the form of these types of blog posts.
Moleman 2 – Demoscene – The Art of the Algorithms [video]
Downvoted previous comment, upvoted this one, perfect way to admit a mistake, well done sir (or ma'am)! :)
I listened to the interview on the radio; it was two fake tusks he had carefully made, good enough to get him arrested at the airport there.
Thanks, this was useful.
>It's simple to create multiple users on OS X. It's quick to switch between them.

It's also something 95% of OS X users don't do or care about.
The Incredible Shrinking Operating System
>Although, OS X is a bit like Windows. A bad program running in userspace can essentially ruin your system as much as a program running as root.

Erm, OS X has sandboxing. So, no. Except if you use unsigned third party stuff.
> That's why lenders make money. Because there is a risk of default.

Nope! Interest paid also covers more things, like inflation, opportunity cost, and other risks. You could make money as a lender with zero default risk.
> No one would (should!) ever consider writing a webservice in C++

I can think of one area where that is done (and where Rust might fit quite nicely): Bittorrent trackers!
while I agree with you on the security benefits of a full microkernel, to be entirely honest, if you had access to just IOKit you could easily use a network card or an hard drive controller to get a physical memory write-what-where, which in turn would allow you to gain access to anything, plus the microkernel performance issues of e.g. having to context switch on interrupts.
>>> Germany is doing really well and it's clear it has nothing to do with the euro.

Germany is doing fine particularly because of the euro. They can have very cheap exports because of it. When a single currency represents vastly different economies, it's obvious the rich get richer and the poor stay poorer.

Of course, the euro was only meant for countries with comparable economies. Too bad Greece basically lied to adopt it. And now Germany has every reason possible to keep weaker economies in the fold for its own benefit.
"Ancient Japanese wisdom" (and art, philosophy, etc) is mostly re-packaged ancient Chinese wisdom.
Thanks for the detailed response!
Bieber to ripped off
Justin Bieber ripped off for what do you mean.
25k sounds like a lot, but from the pictures it looks like most of them are not very thick and it'd be relatively easy to grab a whole stack of them at once. From my estimation that is around the size of a small library.

If they can be removed from the shelves and boxed at an average rate of 5 per second, that's 5,000 seconds or <1.5h at the most. Even after adding in trips to the new storage location, packaging, unloading, etc., and considering it's a trivially parallelisable task, it definitely seems doable to move the whole collection of 25k within a few hours.
Its a classic alright but being a classic just a warning to everyone some of it does require going back in time a little bit like dealing with a 16bit binary.

If this type stuff interests any of you but is too hard, give mine a try ( 0x0539.net ). It is not intended to be a significant challenge, instead all the stages focus on introducing some basic concept related to offensive security. Its mostly aimed at some young teens that have expressed an interest in learning that stuff rather so the target is very introductory.

I update the site every so often with new sets of challenges and rotate through former sets if someone requests it. The current one I ran for a bit in 2013 and then brought it back earlier this year and plan to cycle in a new binary exploitation focused one in December.
How can this possibly be beneficial for this to happen? Surely they will eventually run out of developers to trick.
This blog post isn't served over HTTPS, either:

Secure Connection Failed

The connection to blog.cryptographyengineering.com was interrupted while the page was loading.

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
First, thank you for taking the time to write that all out, that has been the best summary of literate programming Ive read.

It sounds very much like an intellectual over experiential persuit. Your code was scripted (like a play) with stage blocking directions, sets, costumes, and musical accompanyment whereas the way I have most often worked has felt more like improv: get the right people in the room and their talents and interactions will produce what we need as we move forward.

For both methods it seems like it still requires a HIGH level of skill to produce something great. My question is: does Literate programming and all its associated documentation give a process that prevents bad programming from happening?

In the 'improv' way of making it up as you go along, if you have low skill you output low value. What would a low skill programmer thrust into a Literate programming product result in?
>show me a case where it actually worked and we can talk further.

You mean like how people can anonymously buy drugs on the internet? It's working fine. It's not perfect, but it doesn't have to be.
Mildly interesting detail to elaborate on, but the essential point stands, don't you think?
I have a fake whale tooth. I found it years ago. It has scrimshaw, and so old, I didn't get destroy it. I never told anyone because I was ashamed. I didn't know how the tooth was obtained. I assumed it was at least 200 years old.

Well I found out it's a fake, but it's a really good fake. The guy I brought it to didn't realize at first, but eventually determined it was a fake. He then said, "If they can get polymers so close to real Ivory 40 years ago--why are they still killing animals for it?"

I hope China follows through on their plan to stop the sale of Ivory, but I have a feeling we need to step up our efforts to stop this. If it was up to me, I would have these areas protected by the National Guard.(If Africa would allow us there for this specific reason?)

I hate to even bring up that Dentist, but I congratulate the companies that rufused to be accomplices in
this horrid, despicable hobby? I don't know know Ted N, or crazy Alaskan woman can condone his retched behavior? In my mind, I have my hands around that dentist's neck.
This package contains all previously released fixes.
I doubt you'll get anywhere near 5 per second, even with a large number of people working on it. A single person will likely need 5-10 seconds to grab a manual from a shelf, place it in a banker's box, and move on to the next one. You'd need 25-50 people to get that.

Still, even if it's 100 person-hours, it's an achievable goal; A dozen volunteers over the course of a day can do so.
I would prefer email for this, and I'd suggest you look at simply using one of the many open-source issue tracking platforms to handle these functions.
Tim isn't at HQ, as he mentions.
In fact, he's in a pretty remote office (Vancouver) that isn't all that large (though trying to grow).

It's not shocking it may have a different culture.
And learning from past works of science and engineering is how we keep learning and growing as a human race. So yeah, history - specifically science history, which is arguably even more important than your average history.
Same could be said for the people you're complaining about ...

As the world turns ...
No. The tech genie is only half out and it must continue to get out. Preferably before the legal solution comes out. We have crypto, but it's not even remotely ubiquitous. Consider yourself - how many of your peers would you be able to send OpenPGP-encrypted email message today?

The important thing to worry is that once some lawmaking passes and and journalists will happily announce the legal battle's won and the spies won't spy anymore (ha!) most will be happy about this, and continue to ignore any technical issues. That is, stay easy targets until the next scandal.

Both technical and legal solutions are important. We just can't ditch one and say that it's not important anymore - neither works well without the other.