skysight-inc/HackerNews huggingface dataset:
I don't think that's ironic. I, inspired by Kardashev [1], believe a civilisation's level of technological advancement can be measured by how much energy it controls.

Thus, a civilisation that can control an energy source at a low-power level (e.g. boiling water reactors) can presumably also deploy it at a high-power level (e.g. atomic bombs). If anything, especially as sources become more energetic, control capabilities will be preceded by deployment capability.

[1] https://en.m.wikipedia.org/wiki/Kardashev_scale
So.... What does it do? Is it a brain training app like lumosity or a spaced Repition system like Anki or a cause in using memory palace or what is it?

There is nothing on that page telling me how this app will help me remember stuff (or what kind of stuff)
Isn't it the other way around?
> gives each state in the federal system equal weight in choosing the president

That is not how it works at all. California has 55 electoral college votes, Wyoming has 3.
>"Mesos + a framework such as Marathon or Aurora was the most needy choice before Kubernetes came on the scene."

How is Mesos "needy"? Can you elaborate?

Needy has a negative connotation and it's not word I would necessarily associate with the Apache Mesos project. I've run a number of clusters in production now for just over a year with Marathon and it pretty much "just works." I have done 5 or 6 rolling upgrades now without issues. I haven't found it to be needy at all, quite the opposite, its been rock solid and the management overhead has been nominal.

>" I don't know if any of them are as flexible as Kubernetes in terms of things like volume management, config/secret management and security."

I think that Mesos is actually more flexible as it allows you to cherry pick the non-scheduler specific components to fit your use case. As an example for secrets management you can use something like Consul Vault or integrate Keywhiz or completely roll your own.

I feel like with Kubenetes you buy into the "whole thing". Using the example of secret management - you have one choice for secret management and the last time I checked they were stored in etcd in clear text. So if that doesn't fit your security requirements it seemed like you were out of luck.

Mesos also has a nice for for persistent volumes:

See:
http://mesos.apache.org/documentation/latest/persistent-volu...

and:

http://schd.ws/hosted_files/mesosconeu2016/08/MesosConEurope...
Anyone using an asynchronous python library? Interested in how that's shaping up.
Back-end: Node.js + Express + ws + Johnny-Five

Front-end: Bootstrap + (Three.js or Snap.svg) + ws

I create browser-based interactive UIs for controlling Arduino robots. I like to keep the web stack as simple as possible because the tricky/hard parts are in the robotics layer.
Strategists Play Rupee via Singapore Dollar as Economies Diverge
Walter Isaacson was outed by Wikileaks as colluding directly with the Clinton campaign so you can see why he would want to 'fix' the Internet.

Edit: source https://wikileaks.org/podesta-emails/emailid/6056
Defining "mind" or "consciousness" seems like a backwards effort. I would think that the natural progression would be that there is an observed concept which then needs a label (ie, I observe a bunch of tallish greenish things that share a large number of similarities and I label them "tree"). In this case, I would think that there was some observed phenomenon with observable/definable traits that we would then label as "mind" or "consciousness". However, in these cases, it feels as though we came up with the label and are now in search of a concept to fit them.
Spring Framework on backend -> ultra power and speed, especially if you go cloud and microservices route

Angular 1 on fronted -> easy enough to learn quickly, feels good to use and is powerful with great support and add-ons. Looking to start learning angular2

Will learn elixir and phoenix for some realtime and websocket stuff.
And with the new deprecation in 1.4 of bare words, a disambiguation goes away where when looking at a function you sometimes had to go "is this a variable or a function". Now functions with 0 args have parens, always.

I've found the locality of everything in the function that you mentioned helps IMMENSELY in refactoring. Just give a function a namespace and call it, and then figure out where it actually belongs later as you figure out your implementation.
> the lawyer-fixer and humanitarian Roy Cohn.

Roy Cohn the humanitarian. Funny. That should tell you all you need to know about the Mr. Singer and the New Yorker.
If you scale the way our technology works up to sufficient levels to accomplish the original event, I could see the following still holding:

It is always easier to take advantage of matter/energy existing in the universe than to create it yourself.

Supposing a civilization could communicate across galactic scales using this method, which seems easier? Crushing neutron stars / dropping things in black holes or constructing an appatus to emit an equivalent amount of power?

Just because even we can technologically do something doesn't mean we don't take easier shortcuts. Working smarter, not harder scales.

If it's based on naturally occurring raw material, it's not unreasonable that the source would jump around anyway.
I read the article twice, I still have no idea what he is talking about.
This is extremely, extremely bad advice. Do NOT run code like this, ever, exposed to anything, not even your own internal network. This is just ridiculously risky.

This gets you code generating html pages. It doesn't store anything. It doesn't do anything. It doesn't create any relation between any data and what is on screen. It stores things extremely insecurely (it can probably overwrite the application serving this with random binary data, trivial to privilege escalate (just overwrite the application itself)). It's slow, no caching layer, no ... It can't work, really, without tons of extra code. And it doesn't support all sorts of necessities of today's web apps. No auth, no users, no client identification, not even bloody cookies (although yes, all of those are doable with extra code). There's nothing in front of the application, allowing you to serve multiple applications.

This does:

filename := title + ".txt"
body, err := ioutil.ReadFile(filename)

(with filename taken directly from the url. It then proceeds to ignore any error upon loadPage return ... well done !)

(I love how the code making an extreme security error of using unchecked pathnames includes a discussion about exactly what permissions to use in the open call to open that file. Talk about missing the forest for the trees)

Just found a way to crash the application : just upload an invalid template, because the error is ignored on the template parsing, which can NULL the pointer the template, which will panic the app upon rendering the template. Hell, you're pretty much bound to do that by accident.

Please, people: DO NOT run code like this, unless you want to run a bitcoin miner for someone else, an illegal file mirror, or worse. For the love of God, do NOT give code on the same server any payment details for your web app and do NOT run this behind a firewall, or within your amazon virtual private cloud.

This brings back the very bad old days of C code serving webpages: so exploitable you're bound to exploit it by accident (ie. crash it). And it doesn't even have the good parts of the old C code : this thing uses introspection, which will make rendering templates about as fast as in python or ruby.
Sharon Brous: It's time to reclaim religion
Reminds me of the fictional TruYou product from the book The Circle. Which is a fascinating read that explores how "good" intentions like this can end in undesirable results.
"Let's fix the internet by putting in place an all-powerful central party to enforce new rules, which under best circumstances will be merely a horrible rent-seeking entity, and under worst circumstances will slowly turn the world into a totalitarian dystopia"
I've never developed using Django. How does it compare to Wordpress? Or under what situation is it preferable to Wordpress?
We detached this subthread from https://news.ycombinator.com/item?id=13253831 and marked it off-topic.
Django, because:

* Very little magic in the core.

* Well architected and loosely coupled (in spite of its sometimes-rep it's not actually monolithic: http://olifante.blogs.com/covil/2010/04/minimal-django.html)

* Largest/most solid ecosystem of 3rd party packages (except possibly rails) that does everything from authentication, CMS, CRM, ecommerce, comments, anti-spam, caching, REST APIs, file uploads, admin, emails, authorization, regular authentication, social media authentication, admin plugins, data import/export plugins, etc. etc. etc. meaning that there's an awful lot of code that you don't have to write.

* An opinionated core which means consistency which means that those 3rd party packages that all use caching, ORM, admin forms, etc. fit together and you don't have stuff like CMS plugins that just decided to use mongo for the hell of it (http://quokkaproject.org/) or 3rd party plugins forced to support 3 or more different storage backends (https://pythonhosted.org/Flask-Security/).

* Python is a terse and readable language with (relatively) strict runtime type checking and a huge ecosystem outside of just web stuff.
> Go doesn't have strict single ownership, like Rust, so you can send something to another goroutine without the sender losing access. This creates a potential race condition.

Rust has very thorough ownership semantics baked into the language to avoid such race conditions. But anyway, the idea of goroutines is that they should primarily be used to transfer values, which results in both goroutine's having their own separate copy of the data, and thus no races.
Nicely done! I'll have to to play with this.
We changed the url from http://www.atlasobscura.com/articles/how-a-tribe-is-fighting..., which points to this.

Submitters: Please follow the HN guideline that asks you to submit the original when one story points to another. Besides giving credit where due or at least further upstream to the source, the articles tend to get fluffier the further downstream you are.
http://www.haskellforall.com/2013/05/program-imperatively-us...
None: http://www.catonmat.net/blog/frameworks-dont-make-sense/
Stream Xvid Torrents in the Browser with Node and WebTorrent
But you cant compare Wordpress with Django, Wordpress is not a web framework is just a CMS for blogs.

Or am i wrong?

PS... Django <3
Agreed, it reads like a bunch of troll and self absorbed points. My ISP in India throttles every Public DNS servers except theirs (which I don't trust, is randomly censored) so browsing doesn't work at times. I am forced to keep a `dnscrypt-proxy` with `pdnsd` cache on a Raspberry Pi running to mitigate this.

Yes, the Internet is broken -- both accidentally and deliberately.
I'm pretty sure I'll be minority here, but I don't use any backend framework for page rendering. All my apps are pure SPAs. They render all the screen content themselves on the client and only query servers for data. I prefer this, because I can simply take any app and deploy it to server just by copying its files. I only need to scale API servers and I don't have think about app scaling, because just single instance of nginx with proper caching setup can handle hundred thousands of clients (serving static resources is cheap and fast). Also you can take same app, package it as cordova and deploy to app/play store (although this can be probably achieved with any other frameworks as well). On the frontend I use combo of react, redux, redux-saga ...

Before I've used backbone, but react with redux is night and day difference. Even you're just starting with js, your apps will be less error prone, because of concept unidirectional flow.

Maybe this is no longer special to react/redux, but I'm really not in the age I can switch frameworks everytime some new stack arrive. React serves me well. And then, there is also react-native, which is 90% same as react so you can reuse what you have learned. Other frameworks don't have this close to native counterpart. (not counting cordova, which allows to use any fw, but performance will never be same as react-native).
They have Dmitry Vyukov, who's better at that kind of thing than me. If they want to fix the problem, they don't need my help. I would rather publish my work, and if they want to adapt it for Go's channels, they can do that with my blessing.

To me the tricky part seems to be how they need an implementation good for all cases. Performance engineering is all about tradeoffs. Memory usage, throughput, latency are often competing requirements and you have to choose one. Furthermore, unless they can somehow statically determine how many threads access a channel, they have to use a MPMC queue, which is a performance anti-pattern.

I would modify the language (maybe just make() builtin) to allow specifying what type of Channel is needed where, SPSC, MPSC, SPMC, etc. But we all know how that would be received.
Yes.

irb(main):008:0> x = "1"
=> "1"
irb(main):009:0> debug
[1] pry(main)> x
NameError: undefined local variable or method `x' for main:Object
from (pry):1:in `debug'

If you really want to do this, you can use binding_of_caller[1] to create binding object (`Kernel.binding`) up in the call stack:

require 'binding_of_caller'
require 'pry'

module Kernel
def debug
binding.of_caller(1).pry
end
end

Then:

irb(main):008:0> x = "1"
=> "1"
irb(main):009:0> debug
[1] pry(main)> x
=> "1"

[1]: https://github.com/banister/binding_of_caller
I wrote a pretty concise version of it a while ago to convince myself it was possible [1]. It isn't as short as the naive (incorrect) quicksort using lists, but every line has a very clear purpose.

Most implementations on Rosetta code in other languages [2] seem to be about as long.

[1] https://gist.github.com/harpocrates/bbed7b6837d524aafa02

[2] https://rosettacode.org/wiki/Sorting_algorithms/Quicksort
Well if the moss has the ability to travel from the Trench to the Himalayas then that moss if pretty capable and might be turning over rocks looking for gold or oil.
> - If you are an individual contributor on a tech / engineering team: Keep in mind that you are only partially credited for being responsive to email and other requests. Your technical and intellectual contributions are often far more important than keeping your inbox at "zero".

Depends on the company lol. Mine prefers responsiveness over technical contributions, even though we are a department that plans, builds, and implements infrastructure systems.
Cancelable JavaScript promises cancelled
Using standard asp.net, just webapi/entity framework, and Aurelia for the front end at work. Developers are very productive on this.
This is so weird, I just decided to make one of these thread images last night and came up with the same algorithm which runs in about 10 minutes. But I think the loom robot is the real piece of work here. It takes me about an hour to string up 3000 passes manually, but on the other hand, I like my design of nails on a painted piece of plywood better. :) Nice work!
To me that's far more terrifying.
Are you listening cstross? It is time to write a novel about the evils of peace among the spacefaring. Service guarantees citizenship!
America's smallest town is run by its single citizen/mayor/librarian/bartender
Phoenix, for a lot of the same reasons I used to have for Rails including:

* Fast development cycle

* Conventional

* Great community

* Good ecosystem of libs to take advantage of

* "Magic" (although Phoenix's magic is much different)

And some of it's own like

* Great concurrency (which feels like a free win over Rails)

* Functional programming

* How Ecto, the ORM works

* How simple it is, even with the "magic" included.

* How assets are handled, via a thin layer to Brunch, Webpack, or other JavaScript asset bundler

There's a few more, but I think those are a lot of the major talking points.
I really wonder how software verification works in the case of Code Valley, e.g. if you order List.append a b, how do you know it won't return List.append b a?

This could perhaps be a great application for Idris-Style dependent types. For example, you could create an RFP for "List.append" with a few constraints, `len(append(a+b)) == len(a) + len(b)` and so on and then know that the market will create something you can automatically verify to a certain degree.
> As I’ve often said, and as others at Netscape can confirm, I was recruited to Netscape with the promise of “doing Scheme” in the browser. At least client engineering management including Tom Paquin, Michael Toy, and Rick Schell, along with some guy named Marc Andreessen, were convinced that Netscape should embed a programming language, in source form, in HTML. So it was hardly a case of me selling a “pointy-haired boss” — more the reverse.

> Whether that language should be Scheme was an open question, but Scheme was the bait I went for in joining Netscape. Previously, at SGI, Nick Thompson had turned me on to SICP.

Source: https://brendaneich.com/tag/javascript/
Do notation isn't cheating! For instance see these tips on writing g readable Haskell:

http://www.haskellforall.com/2015/09/how-to-make-your-haskel...

One of the big ones is always using do notation.
but... that's bigotry!

;)
But isn't hiding implementation details best done by using an interface (like the Integer superclass) rather than some flag somewhere with branching logic? Fixnum _is_ useful for C extensions to quickly convert to `int`, but now I suppose you don't know whether an Integer is cast-able to an `int` unless you inspect this flag in a new custom way.
Isn't junction noise temperature-dependent?
Aren't most hardware noise generators, like lava lamp, physically large?
dupe: https://news.ycombinator.com/item?id=13210849
It is a pitty that qcc (tcc + qemu codegen) never took off.
> Also I can't believe a scientist--who should know better--is trying to define this.

We're all philosophers, some are just better than others. The legitimacy of his argument is not dependent on his formal training, and so using this as a reason to dismiss his argument isn't valid.
"As I’ve often said, and as others at Netscape can confirm, I was recruited to Netscape with the promise of “doing Scheme” in the browser."[0]

I guess what you're confusing is that he disclaims that it is inspired mostly on scheme:

"I still think of it as a quickie love-child of C and Self."[0]

[0]https://brendaneich.com/2008/04/popularity/
Note that to _use_ an already written Haskell module, I don't need to know what extensions it uses. I don't even need to use the same ones. Haskell's LANGUAGE pragma is analogous to Rust having a bunch of experimental features you can turn on - they extend the language in a particular direction in a natural way.
> In Hillary's case it's even more absurd to claim that they could have known nothing

I don't think there is any indiciation in my post that HRC didn't screw up a campaign in several key ways. It's just worth noting that there is a new and unique series of technology-enabled techniques that DJT's team used to influence key states at the end.

Hopefully Facebook will be forced to release all the relevant data and we can see more about it.
For example: https://cdn.arstechnica.net/wp-content/uploads/2016/11/Revie...
Rails: Because it works!
I've always assumed the "historical reason" was that when people had to do computations by hand, it was easier to find the decimal value of 1/2^(1/2) [how did you make those square root symbols?] by dividing 2^(1/2) by 2 than by dividing 1 by 2^(1/2) (assuming that you knew the decimal expansion of 2^(1/2) ). With calculators and computers, that isn't important. Most of the math teachers I know would not penalize anyone for leaving an answer as "1/2^(1/2)".

But the idea of rationalizing is important - for example, so that you can express 1/[a + b * 2^(1/2)] in the form p + q * 2^(1/2), where a, b, p, q are rational.
The observed phenomena are the perception, reasoning, and labeling processes you describe. The word "consciousness" refers to the means by which those processes and many others are interconnected.
Streaming torrents are fairly common as far as I can tell. One of the old clients I used to use (uTorrent perhaps) had the option to download sequentially so you could watch a video as it was downloaded. And then applications like Popcorn Time put the whole thing into a Netflix-like interface to make it even easier to skim, bookmark, and stream TV shows and movies.

As would be expected, the tech does appear to be simple but the main issues are the ones regarding the most obvious uses: watching and sharing unlicensed video content.

But yeah, I would love it if this was used more often as a way to do low/no budget streaming or independent broadcast-style content. But for big players like TV networks and movie studios, it seems like it makes more sense to just serve content from their servers and CDNs so that anyone paying to watch something isn't also acting as a distribution node for a torrent swarm. I know that if I was paying for something like Netflix or HBO Now, I'd rather not use both upload and download bandwidth if I could help it.
yii2 php framework plus vue.js where inneed SPA like functionality.

Yii is the 3rd framework from the same devs, so it's modern and unincumbered by cruft. Scaffolding is fast, API gen is automatic and extension ecosystem is strong.
Indeed - but especially Jetbrains' IDEs provide fairly powerful tools to help you with this, way beyond search and replace.

In the end, you'll need to involve your brain anyway, but the IDE makes the menial work easier.
Even way back when, archives of Usenet postings were a thing. (Although it wasn't really systematically or completely archived.) Perhaps many people didn't fully appreciate how things they wrote under their True Names could be out there "forever." Or they assumed that Usenet was pretty much an exclusive club and things they wrote wouldn't be visible to the general public. But I'm not sure why someone posting on Usenet would assume that whatever they wrote was ephemeral and wouldn't be seen by anyone else a few years hence.
The amount of energy used actually makes it less likely to be intelligence.
LineageOS will be a continuation of what CyanogenMod was
Merry Xmas – GOP introduces plan to massively cut Social Security
I use Django for my projects and I prefer it over Java Frameworks although I am an ex-Java developer. Python/Django feels quicker and lighter than Java/Spring stack which result in productivity boost. I explained in detail why I use Django on my story https://hackernoon.com/why-i-chose-django-over-java-framewor...
It is hard for compilers to miscompile this specific example as it doesn't do much at all.

The idea is that a write to pfoo[1] couldn't possibly alias with any write to foo, so the compiler should be free to reorder accesses if profitable. This is the same in C and C++ and has nothing go do with vtables.

For what is worth, I couldn't get gcc, clang and icc it to miscompile [¹] a slightly changed example, so either it is not actually UB or compilers still refrain to make this kind of optimization as it would break way too much code.

[¹] i.e. they elect to reload from the struct after writing to the array and vice versa even when it would be profitable not to do so.