skysight-inc/HackerNews huggingface dataset:
ALGORAND: The Efficient and Democratic Ledger (by Silvio Micali)
I guess the company that makes it easy will win.
How to Intercept Windows Update and Windows Store Traffic
HelloJS – JavaScript conference
Xamoom-janus – A json:api python extension for Bottle, Flask and more
It is poorly optimized for 32bits - some benchmarks: http://encode.ru/threads/2221-LZFSE-New-Apple-Data-Compressi...
Or potentially Samsung Focus

http://www.notebookcheck.net/Samsung-Galaxy-Note-7-Edge-Unpa...

This is why I want to buy Note 7....
Samsung could include an app called the Samsung Focus for combining email, instant messaging, and calendar into one convenient window.
Cops Shot Her Boyfriend, She Streamed the Horrific Aftermath on Facebook
The problem with that is that natural language - written or spoken - is the natural user interface for humans.

To a certain extent we can learn how to input data in a structured manner a machine can easily process:

- the limited subset of human language that makes sense as search engine input

- GUIs

- pretty much every input form in client software

However, for anything above a certain level of complexity this requires domain knowledge and often even for users with experience in that domain it's still an error-prone process.

The web as a general-purpose database is a vision that has yet to materialize. It's not that hasn't been tried before, both in a top-down (Semantic Web) and bottom-up (microformats, Wikis) fashion. It's not that those attempts have been complete failures: The tools they brought about - particularly Wikis - are a vital and highly useful part of the web.

Still, they're mostly limited to niche or domain-specific data and we still need search engines and natural language understanding to make sense of the largely unstructured free-form text that's stored in Wikis.

That's why I still see the need for a player such as Google that in one way or another makes human language comprehensible to machines. This might result in something like the web-as-a-database but it isn't all that different from what the likes of Google and Facebook are already doing today, is it?
"It's 2016." So what? Have people lost the ability to use abbreviations? One letter is perfectly fine because they are abbreviations, the purpose of which you should recognise immediately if you understand the tiniest bit of what LZ algorithms do and the concepts surrounding them. D = distance, L = long-distance, M = medium-distance.

You may ask, "Why and what is q"? By only looking at the fragment posted, where q is the output pointer, I can already guess there is an input pointer named p, and glancing at the full file shows that is indeed the case. x is also a temporary. This is a very common convention.

Sadly, I'm increasingly finding that code these days is some bloated monstrosity with variable names that barely fit into 80 columns and plenty of ridiculous indirection that turns what really needs only a single line into a deep function-call-chain spanning dozens of lines (not all in the same place) and maybe even across multiple files. Reading "modern" C# and Java code makes my head hurt with all the verbiage --- there is so much code, but very little actual substance.

This code is essentially all substance and little verbiage, and I can comprehend it quite easily. Thus I find the style complaints entirely unfounded.

To borrow a sentiment from Linus Torvalds: the code is "unreadable" to you, because you are not (yet) qualified to read it.

/rant
Kerosene a pagination library for ecto and phoenix
I'm kind of confused by Feynmann diagrams where a stray gluon flies off. What happens to it then? Where does it go?
I had no idea Tukey invented the words "software" and "bit"
I never thought about making a puzzle game out of those automata. that's pretty awesome! :)
Messaging service implementation for Node.js
I skimmed through the site and am left with the question: where do I submit my paper?
These are the 7 declarations + the bonus one suggested in the text.

body {
background-color: #EEEEEE; /* bonus */
color: #444;
font-size: 18px;
line-height: 1.6;
margin: 40px auto;
max-width: 650px;
padding: 0 10px;
}
h1, h2, h3 {
line-height: 1.2;
}
BuiltinNode – Node.js companies, startups and jobs
Alibaba joins the automotive race with new 'internet car'
If you're not remoting, it's not difficult to work at a high level. The API presented to the application is easy to control. The interesting thing about NeWS was that a high level event could be defined by the application. The protocol needn't be designed to accommodate it a priori. The example mentioned sliders, not scrollbars. The display server wouldn't even know what a slider was. It would have been defined by the application.
So what effect will this have on risk assessment as used by insurance companies?

"Insurance companies use a methodology called risk assessment to calculate premium rates for policyholders. Using software that computes a predetermined algorithm, insurance underwriters gauge the risk that you may file a claim against your policy. These algorithms are based on key indicators about you and then measured against a data set to weigh risk. Insurance underwriters carefully balance the insurance company’s profitability with your potential need to use the policy."
Some of the values are quite dated (eg criticising someone for having no savings because they spent all their money caring for their sick family, because they "never made a profit for themselves"). I'd also challenge his assumption that somehow common people just intrinsically know what most people want: that may have been a fine assumption for a 1920s grocer, but doesn't translate so well to the technology and global markets of 2016. Still, overall a good read.

Perhaps it's the culture of " brilliance" that ought to be criticised. I come across plenty of tech-startup junkies, who love the lingo and talk a big game about the latest libary/product/other person's startup that just got funded, but produce very little themselves. I hired one such fellow recently, and he completely dropped the ball both in the actual work, and mangled the relationships with every client he was in the same room with. Worse still, he put phenominal effort in to explaining to me why my feedback (as somone who has spent most of his career managing clients, and built these relationships over years) was actually wrong, and he in fact was not doing shoddy work or frustrating the people who cut our cheques.
This is a good example of a pointless "optimization" making the code harder to read.

If he had indeed meant that, he should have written

x = ~x + 1;

GCC, even with optimisation turned off, will turn that into a negl instruction.
In the past week I've set up Hydra (adapting https://github.com/peti/hydra-tutorial ). It's quite nice, but there are a few sore points. These mostly seem to be known, so it's just a case of waiting for the features/fixes to land:

- No (semi-)stable releases, requiring mixing and matching git revisions of Hydra and Nix until we find a combination which builds. nixpkgs master (i.e. unstable) contains a Hydra package and module, but I think that's been added after the latest stable nixpkgs release (16.03).

- As a consequence of the above, we need to build a lot of stuff locally since they're not in the binary caches.

- While nixpkgs master contains a NixOS module for Hydra, these modules don't yet work outside NixOS. Hydra can be run on, say, Ubuntu, but it requires manual, imperative configuration of Hydra, Postgres, etc.

- Configuration relies on interacting with the Web UI. "Declarative jobsets", which allow jobset specification via Nix, are in master, but I couldn't get any git revision containing that to build.

- Build slaves must be running NixOS. As I'm stuck with an Ubuntu host, this forces me to use VMs, which has overhead and makes some architecture choices more difficult. NixOS containers may fix this, but they currently only work on NixOS.

- Since I'm forced into VMs, I might as well deploy them with NixOps. The standard NixOS image used by NixOps is only 10GB, and NixOps doesn't support resizing it (there are open pull requests for this).

- The Hydra Web UI allows logging in, configuring, etc. I would prefer if there were a Web UI without write access to the DB, i.e. once the jobsets are set up (via a declarative approach or a write-enabled Web UI), there should be a read-only view of the progress, outputs, logs, etc. (new builds would be triggered by git pushes, or by SSHing to the server and running a command).

- It would be nice if the DB requirements were a little lighter; e.g. if there were an SQLite option. Using the Postgres NixOS module is easy enough, but it's a bit overly-complicated (e.g. setting up credentials and sharing them between hydra and the DB, one-shot systemd jobs to initialise the DB, etc.); plus, if anything goes wrong I'd have to learn how to use Postgres (I already know far more about MySQL, MariaDB, SQLServer and Oracle than I'd like!).
Speaking of Watts: Five years before Echopraxia, he wrote a blog post on Portia.[1]

1. http://rifters.com/real/2009/01/iterating-towards-bethlehem....
Oh, no doubt about that, it's distinctly unhelpful in any political conversation (unless the aim is to deliberately trying wind up the other person in the conversation)
Factorio is great. You a few dozen minutes or so thinking that this is a typical RTS with a twist, and then you suddenly realize that the opponent in this game is not really those hostile critters - the true challenge is managing complexity of your logistics.

This game is hard fun. I.e., the kind of fun that makes you want to write an autorouting programm for the converyor belts.
I have been collecting different ways the chicken and the egg question can be answered and I am up to 11. I have to get around to writing them up.
I think you might have replied to the wrong post
Those labels seem related to the spin, is that right?
Startup DiscoverAll testing HN
I understood the concept of literate programming of a way to organize _source code_ in such a way that it 'flows' better for a human, i.e. it starts with the methods/functions/modules/blocks where you naturally would start if you were to explain your code and then on to the next method/function/module/block that you would explain. Perhaps some comments here and there to explain where to start and what are special points of interest.
I should have read the wikipedia article I suppose where it seems to be actual prose... :)
Now I am not sure I like the idea - always found well-written source code to be easier maintainable and understandable than prose...
I have been testing out the iPad for development work and it's working out ok so far. I do have a separate keyboard and an ipad support and I mostly work on remote machines using server auditor ssh app. One advantage is the separation of screen from the keyboard so I can have the screen at eye level and the keyboard at elbow level. Less strain on the neck. A mini desktop like environment. Oh and I am 39 :)
Looks really good. Thanks!
Just FYI. Brujo is close to being expert in Erlang. This post is a more of a "warning for juniors" than "damn, today I've discovered something new".

And there is nothing really WAT about it. Just part of rather simple Erlang language grammar.
Many of the problems necessitating the solutions don't become critical until you've got civilization in the first place.

A nomadic culture in a moderate climate doesn't cluster to the point it has contaminated drinking water, is floating in its own effluvia, or is breeding epidemics.

Mid-ninteenth century London and New York were pretty horrible. No freshwater supplies, no sewers, no waste removal, horse-drawn transport leaving droppings, urin, and carcasses everywhere, cholera epidemics killing 50,000 people a year.

Absent in-migration, London couldn't maintain its population.

I'm not saying pre-ag life was easy. Simply that early industrial conditions were horrid.
When I was doing numerical analysis and computational physics, this is also exactly what I did. Work out all the equations then port them straight into C or fortran.

And I was a comp sci major first and a physics major second. You spend over a decade doing math with single letter variables. Hard habit to break I guess.
Is anyone playing with this? I read whenever people post this stuff here, and this book is very interesting and I will peruse despite being way above my understanding and I am curious who is doing something crazy with NetBSD which I find fascinating as well since the first toaster jokes I heard.

I think that everyone, thanks to container and general virtualization acceptance are moving in a slightly different direction, but I thought rump kernels and Metasepi (also posted here a few times) blew my mind and thought we can start bootstrapping more secure foundational OS layers below legacy applications Unix has bequeathed us forever.

http://www.metasepi.org/
Sure, the older teacher has more experience, but it's hard to argue that experience is worth more than TWO young teachers.

Do you have an objective reason to believe that? Are two surgeons with a couple of years of experience better than one with 25? Two mechanics?
The parent comment meant that there is not a big difference to them on which medium (paper book, iPad, desktop monitor) they read a text, "text" is its own category instead of paper vs electronic. Similar "video" is its own category. Watching a Football game on a gigantic 60 inch screen vs on your small phone the big screen may be more comfortable, but it doesn't fundamentally change how you process the information (compared to reading what happened on Wikipedia or hearing radio play-by-play commentary.)
Key trends in machine learning and AI
Will Youtube use it for cat videos? Coursera for lectures? Bandcamp for indie projects? Probably not. Consumers of Hollywood junk on various netflixes deserve malware. They eat shit already, now they'll eat it with tasty DRM sauce.
> I like email too, but it's difficult to reach young people this way.

I gifted my 13yo niece a year of Spotify recently and, to create her account, they required an email address.

She looks at me half-confused. "I can just use my usual, right?"

"Sure," I say, a bit confused by the question and watching to see what that means.

Turns out in her peer group they all use 10 minute expiring emails from various free net services. Gmail is something they just hold onto for notifications from school and older relatives.
I am unconvinced. REP MOVS is tiny (it is literally 2 bytes, a single instruction), extremely fast on modern x86, and in my experience what little gain (if any) you get from the giant blob of code will be offset by all the instruction cache bloat it causes. If you search for "enhanced REP MOVSB" you will find some further reading.
A good read on the historical development and use of Feynman diagrams is Drawing Theories Apart The Dispersion of Feynman Diagrams in Postwar Physics https://www.amazon.com/Drawing-Theories-Apart-Dispersion-Dia...
Well, for the very reasons discussed here, that's debatable due mainly to it being turned into a snarl word, mainly by those on the left-hand side.

But yeah, definitely so re your second point, it is needlessly antagonising, and destroys measured political discussion (as it always has and always will)
Not really. The point of startup in a garage is that it's your garage. No commute to get there, and no extra rent beyond what you were already paying.
It's an interesting theory, but I'm not sure it really explains anything. E.g. that parts of the brain grow with use is certainly a surprising and interesting result. But it's not different than muscles growing with use, I don't think it requires agency to explain.

Split personality is interesting, but also incredibly rare and may not really exist at all. Schizophrenia appears to be the result of physical damage to brain tissue, not merely healthy brains developing independent agents. Addiction is easily explainable with reinforcement learning gone wrong.

There are theories of neural learning algorithms that are agency. Like the bucket brigade algorithm. But as far as I know that never worked very well. It's difficult or impossible to determine the "reward" for neurons, and having them be agenty doesn't really help anything.
It's not something I had intended to do, but I could do. That would make it much more manageable to scale because the community could maintain the algorithms, which takes long enough for the 24 sources I already have that I'm hesitant to add more right now.

It's written in C# though, I can see that being a problem.
The short answer is because it has meat in it. The less a pepperoni curls, the lower the percentage of actual meat present. So if it curls, it's higher quality but more gross (cups of grease).
NYC mortality rates 1800-2005

https://ello.co/dredmorbius/post/MsQfdPAn_0XUdZUoReBfbg

I'd call it 1880-1920, but yes.
The practice of reverse engineering something teaches you to be methodical and pay attention to detail.

It would be a great task to set a student.
I always assume that if somebody calls me out of the blue it means that somebody has died or that my flat has burned down.
>> Any syntax errors or JavaScript errors generate a visible error message for the user telling them the site is broken.

>This would make users not use the browser that implemented it.

I think the idea behind this is that

1) the web developer will now the site is broken and

2) the client who is paying the web developer will know the site is broken so

3) the site will be fixed before it even gets to the end user.
I hope that such technology will work to the benefit. Maybe one day thousands of people will be safe because of this machine.
Thinking about human size manipulation. How far away from it do you think we are?
Fujifilm's new X-T2 camera has 24 megapixels, 4K video, and great controls
>Although these are C/C++ functions, they were `designed by disassembly` ... meaning I was paying close attention to the compiler output. This is NOT normally advisable (we don't want the compiler to dictate how we design our functions), however, when you are designing things for maximum performance, it's important to pay attention to how the code will compile! The strange layout of the functions is a testament to my close observation of the compiler output.

Why not write in assembly then? And this sounds like a recipe for slower code when using a different compiler or a different version of the same compiler:

>The way instructions are ordered also prevents the compiler from making some `assumptions`!
Closing the tab, and then clicking the link again makes it go away. I think Forbes links need to be banned on HN until Forbes stops doing this shit.
ugh, AVG has always been my go-to AV for home Windows users.. I hope the Free edition will remain.. (Even though they have been trying to aggressively convert users to the pay version for years)
It goes into a vertex involving some other particle with the appropriate "color" charge. That part is not depicted because it is not relevant to the process under study, as in "and then it goes off to die somewhere, I don't care where or how".
That's just a part of a bigger diagram. Due to color confinement you can't just have one gluon.
Good spot, I'll fix this shortly :)
> and a complete one

The UK has a population of about 63m. 46m of those could vote. 30m of those did vote. 17.5m of those voted to leave.

That's 52% of the turnout; 38% of the electorate; 25% of the population.

They won the ballot, but I wish they'd stop saying "a majority of the country voted for Leave" when only a quarter of the country voted leave.
With Speaky you can learn any languages you want
This letter makes me cringe. Is this how this stuff works, or they were stupidly naïve? https://www.documentcloud.org/documents/2941005-Silent-Circl...
I wholeheartedly agree with this.

I'd like a more customizable Do Not Disturb feature, which would let you put people in groups that have different rules. For instance, when I'm working, I'd like to filter out any calls from everyone but colleagues, and even then I'd like my phone to ignore calls from anyone but my immediate team unless they call several times within a couple of minutes. (Except when I'm support, the opposite would be true.)

When I'm not working, I'd like to ignore pretty much any call which is not from people designated as friends, and at night only allow calls from very close friends and immediate family.

Very, very rarely do I get a useful call from an unknown number. In the past year, it's probably happened maybe four or five times, and all other times it's been telemarketers or otherwise useless calls that can go straight to voice mail.

Speaking of voice mail, the visual voice mail feature that was touted as revolutionary in the original iPhone announcement is something I still want. I've never seen it outside of the states, and even then, only on Verizon or whatever it was. I haven't seen it in years though -- is it still available?
I suppose we can always weasel around with the definition of "why".

Why was my claim refused?

Because you have a large number of consonants in your surname which, when combined with the fact your phone number has a prime number of "4" digits, leads to an increase risk of fraud.

Why do those factors indicate fraud?

Because our training data indicates that they do.

Why does your training data indicate that?

...
Doesn't Windows anyway come with a free antivirus solution these days? If so, this might be a good opportunity for Windows users to get rid of the nagware.
You might also be interested in "The rhythm of education; an address delivered to the Training college association" (1922).[0] We focus so heavy on what Whitehead calls the precision stage of education without the romance and generalization stages, the first to become interested in the material and the last to use the material new and original ways. When we go forward with using technology in education, it doesn't necessarily mean that teaching jobs are no longer needed or software is replacing teachers. The technology and formative assessment with software is there for the second step, precision, but human interaction needs to be there for the romance and synthesis of the acquired information. 100 years ago I think Whitehead was applying concepts of agile development to education.

>Of course, the stage of precision prolongs itself
as recurring in minor cycles which form eddies
in the great romance. The perfecting of writing,
of spelling, of the elements of arithmetic, and of
lists of simple facts, such as the Kings of England,
are all elements of precision, very necessary both
as training in concentration and as useful acquire-
ments. However, these are essentially fragmentary
in character, whereas the great romance is the
flood which bears on the child towards the life of
the spirit.

>The success of the Montessori system is due to
its recognition of the dominance of romance at
this period of growth. If this be the explanation,
it also points to the limitations in the usefulness
of that method. It is the system which in some
measure is essential for every romantic stage.
Its essence is browsing and the encouragement of
vivid freshness. But it lacks the restraint which is
necessary for the great stages of precision.

[0] https://archive.org/details/rhythmofeducatio00whitiala
I don't see how you can write an article on x86 memcpy without having benchmarks for 'rep movs' as a baseline. That is the old x86 assembly instruction that does the entire copy in one instruction. With modern processors, that instruction drops into a microcode loop to move the data using the internal instructions.

Microcode has a bit of a delay getting in there and so 'rep movs' is not so great for short moves, but normally does pretty well for large transfers.

That is the big problem with memcpy, the optimal code depends on how it is used. Block copies of large aligned structures wants different code than moving short unaligned strings. Ideally, the compiler has more context and can select the different versions for different call sites.