skysight-inc/HackerNews huggingface dataset:
The risk of not lending the banks out is a depression where the currency / global economy may have lost more value.

Example: The gov only made 8.5%, but if the US costs have increased 16% over the same period (because of a depression), the overall return is more like 24.5%, ignoring the additional costs of a depression.
Adding to some of these other comments, when IBM did their groundbreaking 32 bit System/360 in the 1960's, they started with a nice silicon transistor based logic family, but it pretty much ran at only one speed. So to deliver a family of computers with the same ISA, they microcoded the slower ones.

The very slowest one had 8 bit wide execution units, and presumably used similar techniques to deliver its 32 bit macroarchitecture. Per Wikipedia (https://en.wikipedia.org/wiki/IBM_System/360), the Model 30 in 1965 could execute "up to" 34,500 instructions per second, the hardwired Model 75 could do about a million. See e.g.: https://en.wikipedia.org/wiki/IBM_System/360#Table_of_System...
This is the thing people tend to miss, I think. There are a large number of people who don't like GNOME/KDE/Unity/whatever but who also don't want to take the time and effort to assemble the whole thing from pieces.

I did the same thing with Arch, as well as with Void Linux. Void, in particular, is a distro I find very interesting and would like to use, but the hours I would spend making a usable desktop for myself (assuming I would even succeed, and prior experience has shown that not to be the case) are better spent elsewhere.
Very cool. I always thought motor and ICE were series connected, such that the motor would have to push back against the ICE to move the car. I suppose the still are though when with this gear setup.
A Peripatetic School for the 21st Century
> What is the problem?

Nobody said anything about it being a some sort of a problem.

Actually, the reason why I checked this link and the comments section is because I thought that this is in some way related to the Vivaldi browser. After reading the comments, I realized that I was completely wrong.
This is covered in the FAQ. Partly, I allow it because there are no parsing ambiguities with it, so why not. But moreover, depending on type name & variable names, intelligently beginning or ending with an alias can lead to extremely fluent APIs. "that(expected Bool)Equals(actual Bool)" vs "writeTo(Linkable output)". This freedom can lead to more readable APIs in any language, not just English.

Of course, I do see where the complaints come from, and a part of me fears the day that someone releases a wake linter which requires aliases to follow the type. If that were to happen I think I'd nix the idea in favor of unity in the community.
Bandwidth exceeded, cache here: http://webcache.googleusercontent.com/search?q=cache:http://...

Looks like some parts are missing though.
You can have a micropayment channel between the user and their email provider, and between email providers.

When User A wants to send an email to User B, he sends a micropayment through one of these channels to his email provider. His email provider in turn sends a micropayment to User B's email provider. User B's email provider sends a micropayment to User B.

So in this way, value can be transferred without any on-chain BTC transactions, zero fees, and instantly.
> Supercars generate 5x-10x more torque, which would likely break this sort of transmission

Perhaps, perhaps not. Williams had a working CVT in the FW14C F1 car, which was pre-emptively banned at the behest of their competitors. It probably set back CVT research by a couple of decades, and marked the end of F1 as a tech testbed.

Currently it's worth noting the Toyota are running the Lexus 450h in racing, and the Lexus LS600h runs a 327HP/520Nm V8 though a CVT mated to an electric motor running over 200 HP.
Mentioned in xkcd: http://xkcd.com/207/
How it would work: https://news.ycombinator.com/item?id=9054764
rational? I can't even believe it's for real!

how can a number 1.3063... ^ (3 ^ any n) produce a prime? (discarding decimal portion < 1). For any n?

it just seems so super-simple. well, I can think of a simpler constant. is there one such that raising it to 2^any n produces a prime? (plus decimal change)?
I used Dokku on DigitalOcean. Was it worth it? Honestly? No.

Would it have been worth it if there was any sort of clear roadmap for the future of Dokku, or anything coming out of Flynn other than "a first beta" (which I think I've seen at the top of flynn.io for literally months now)? Perhaps.

I eventually got fed up with the lack of direction, ditched Dokku, and went with a pure Docker-solution (which I documented here: https://medium.com/@robringham/how-interviewpad-uses-docker-...), and I don't feel like I lost much, and I don't regret moving away from Dokku. I feel like I have much more control now (at the cost of the Docker learning curve, which honestly wasn't that bad).

From my post on Medium:

"It [Dokku] worked great for a basic setup, but ultimately was simply not mature enough — minor customizations were straightforward, but anything past that (particularly around security) involved rolling up your sleeves and being willing to wade through Dokku’s source code (and that of Dokku’s plugins). Lack of direction in the project was another concern — Dokku is on hiatus, with Flynn, Dokku’s spiritual successor, in apparent eternal beta/preview mode."

To make up for losing Dokku's nice Heroku-like Git deployment, I rolled my own script-based Docker image swapping system for deployments, which has worked great.
Interesting, I wasn't aware of this. Thanks for the explanation - I'll have to keep this in mind the next time I'm implementing pagination for a very large table.
Have been using dokku on DigitalOcean since the 0.2.0, for personal projects. After bumping up against the poor quality of database plugins, I found "dokku-alt", which comes with pre-packaged well-functioning plugins for common use-cases, and seems to be good enough for my needs.

When evaluating the ecosystem, I got the impression Flynn has stalled out, and Deis looks to be too large for my modest requirements.

What I'd really like is ElasticBeanstalk or Heroku, but the per-app pricing quickly breaks the bank. My kingdom for a graceful way to host many tiny, low-traffic apps for cheap!
Clojure on DevDocs
I could see an argument for colocating this type of enterprise in a secure data centre. There are places with 24/7 surveillance and 24/7 armed staff on site and they are going to do the security better than your average group of startup guys.
He wasn't serious but he would have been interested in a quick answer. I didn't get it cause I couldn't think of a quick way to know what a reasonable upper bound for the serial number is (I believe they're printed sequentially). To be fair the guy spent his whole career learning how to count things!
Crawling pages is probably one of the most common use cases, I would imagine.

I use PhantomJS and SlimerJS to host CLI tools written in TypeScript/JavaScript. I also run these tools in the browser because I find it a better debugging experience than remote debugging.

There's a lot of functionality available through NPM and writing tools and scripts in TS can be very productive and easy to cobble things together - even advanced things.
No, it's not a scam. The mind control is used only rarely. The whole thing would not work if the predictions were not accurate.
I read hacker news, so 1?
You were playing Liar's Poker.
I'm a freshman in university right now, how is linear algebra helpful in computer science? I'm finding it hard to stay motivated as I can't think of any uses outside of graphics. Maybe I'm just not far along in the course though.
The cynicism is utter, grasshopper. It's simply that everybody lies constantly. And when everybody is lying constantly, habitually, the consensus reality becomes seriously donked. Many of us start questioning our sanity.
From briefly skimming the paper, it looks like the only use of lemma 4 is in lemma 5, where the author explicitly states that it is possible to prove without the Riemann hypothesis, if one is willing to work with a bound of about 10^6000000000000000000.
several other comments mentioned https://github.com/dokku-alt/dokku-alt

did you check it out? do you think it could fill in the gaps you mentioned?
Moya is a new web development platform written in Python
>They have very low effect on the success of the company other than doing their job well.

By 'they' did you mean engineers at tech startups? They have a huge effect on the success of the company and options-based incentives directly cause vastly greater alignment and output.
A Hacker's Guide to Git – Wildly Inaccurate
The long-awaited announcement really made my day!

https://trello.com/c/rIfdKceP/58-clojure
Depixelating Pixel Art
You're right on the second point. I have it limited to 4 million sockets per machine.
that FAQ is a little old.

The statement that the "pf" in OpenBSD is "better" isn't necessarily true. The "pf" in FreeBSD and pfSense is a bunch faster, even on single-core.

the IPsec in FreeBSD and pfSense (especially AES-GCM) is also, much faster than that found in OpenBSD.

OpenBSD has a problem: it doesn't scale on multi-core CPUs, and the world has gone multi-core. FreeBSD took years to get this right (forking Dragonfly along the way due to disagreement about the MT model.)
Yes.

Flynn wasn't complete enough to use.

Dokku was too much of a moving target.

Deis requires substantially more resource than I'm willing to stand up for a minimal project.

My ideal solution would be a Dokku-like on a hardened CoreOS. I'm hoping some of these projects turn an eye to security in 2015 -- hardened toolchains, kernels, etc.
A Hacker's Guide to Hiring a Ruby on Rails Developer – Gun.io
5G rollout
He probably played it differently from most people though

http://quant.stackexchange.com/questions/4201/strategies-for...
Okay, that's just bad[1]. It's not hard to avoid the undefined behaviors in C with machine generated code; it's not that there are a lot of undefined behaviors, just that they are often non-intuitive. A computer doesn't care if they are intuitive or not, so avoiding them in code-gen isn't that hard.

It sounds like Nim passes the lack of safety of C up to the user a bit (e.g. in the null pointer dereferences) in exchange for improved performance.

1: And by "bad" I mean "not a tradeoff I would make." I actually can see good reasons for doing so, it just doesn't fit my priorities.
Deb.haskell.org Security Breach
Or stick it to the back of a Roomba, for fully automatic mapping of a house
Interesting. I haven't heard of it, but it certainly looks interesting.

Having ditched Dokku and gone my own way, the one concern I'd have in going back to something like Dokku is that it always felt like there was too much "magic" going on beneath the hood, which made me nervous - particularly with respect to security.

RE: security - one thing I had a hard time of figuring out with Dokku was how the underlying Docker system played with firewalls (something I still struggle with, but at least I don't have a layer of scripty Dokku magic between me and Docker now).
The article was just summarizing a case report which was published in a respected journal (which I read before commenting).

Wikipedia [1] provides a nice treatment of the rationale for the publication of unusual cases like this one.

In essence, case reports are meant to be a medium for the dissemination of new hypotheses, not a means of testing them.

They are acknowledged to be an extremely biased source of information, which is why they are not included in meta-analyses, and can not be used to support regulatory approval of new therapies. (And also why the lay person should probably ignore them when researching a medical condition.)

In exchange for this bias and unreliability, however, you get a very high sensitivity for rare, 'black swan' type events that may prove informative or thought-provoking, even though they would never amount to a blip in a controlled trial.

I don't know how or whether this particular case report informed research into OCD, but it's easy to imagine researchers following this up by doing lesion studies in animal models of OCD, perhaps leading to experimental deep brain stimulation treatments in humans targeting this region.

The fact that this freak injury would be hard to reproduce, and does not in itself represent a medical advance, is irrelevant (thus why I said you'd missed the point).

Did it need to go out on the AP news wire? No, but it's a compelling (or, OK, 'sensational') human interest story, so it's not too surprising it got picked up.

[1] http://en.wikipedia.org/wiki/Case_report
An iPad app I like and wanted to build on top of uses signed requests. Except the signing occurs on the iPad and is verified by the server. Oops. I disassembled the app and took the secret key to generate my own requests.
iTunes U has some great free content including full UC Berkeley EE courses. I used to listen to them in my free time, and it's a great resource considering UC Berkeley is one the top EE schools.
But there's an easy fix: don't pick numbers from the given sequence, instead use binary search on [0,n]. Then you're guaranteed only log n iterations.
Probability Theory with Haskell
Interesting to know. Causes me to second guess the overseas development company options but I still wonder if being the solutions architect / US based agent to PM and sell the work perhaps I can capitalize. Eg. If I charge $40/hr for my work and sell the outsourced hours at $40/hr with a $30/hr cost basis I could run a team of 4 dev's and still make a decent hourly rate. I always thought I would find some efficiency in this model by reusing software libraries but that has never panned out.
Another idea is to just stuff the input into a hash table and then say:
is 0 there?
is 1 there?
...
is n-1 there?
I played around with it quite a bit in early 2014 and even wrote a plugin for it. It gave me a better understanding of Docker and abstracting things into containers. The internals are all bash scripts so it's pretty easy to follow how it works and modify it.

[1]: https://github.com/sehrope/dokku-logging-supervisord
I had bought an inexpensive FPGA board to play around with programmable logic and then later learned about CPLDs (from a bigmessowires project report at http://www.bigmessowires.com/68-katy/), which seemed a better, cheaper fit for what I want to do.

I wanted to know more about the background and history of these programmable logic technologies and this tutorial was fantastic, so I posted it here.

Hackaday also has some great articles and tutorials on this topic: http://hackaday.com/2008/12/11/how-to-programmable-logic-dev..., http://hackaday.com/2014/04/06/cpld-tutorial-learn-programma...
I was discussing procedural city generation with a graphics person awhile back. One of the things we realized is that procedurally generated cities almost always feel "wrong" because real life cities generally have a mishmash of dozens of general architectural "styles" based on various quirks of history.

One example: in Cincinnati Ohio, working class houses in certain neighborhoods have stained glass windows. It's usually only one or two small ones, but they're there in certain neighborhoods because of a stained glass artisan "scene" that arrived on a wave of German immigrants. Another quirk about Cincinnati: there are lots of houses that are quite narrow for their plan area, because taxes were based on the width of the building on the street. There are quirks like these that cause a city to be a geographically differentiated patchwork of different styles.
Sorry, I ran into some unexpected bandwidth limits. I've put up a mirror here:
http://tmwhere.nfshost.com/city_generation.html
that's a good point, and the line of code does read fluently. i'd still argue that blurring the "alias = noun, type = adjective" metaphor is a bad idea; you couldn't write

that(expected Bool, expected Int)Equals(actual Bool, actual Int)

to match on two values, for instance. on the other hand, constraining the adjective to come before the noun is an english-based convention, so you're probably right about seeing which way the community leans before doing anything.
We gave both Dokku and Flynn a try earlier in 2014. Dokku ended up just being too simple for our needs—we're deploying to a cluster, not a single machine. Flynn still felt too immature and definitely isn't optimized for microservice architectures.

Instead, we hired progrium (the creator of Dokku) to help us build out a Fleet & CoreOS based deployment infrastructure. With a couple custom bash scripts, all run through CircleCI, it's worked pretty well so far.
His comment was offhand, but was rooted in truth. Wake up, this is a 'bay' thing. People in this thread are throwing around salaries that amount to more than any doctor, lawyer, or politician makes in most major world cities. A lot of people in here need a reality check, comparing their 'profession' of front end jQuery to what a doctor does - I can't believe the person above made that remark. You're all worth what the market will pay, yes, but have some humility please. We all know we're in a bubble here, no need to get a big head about it and act like 100K+ is your god given right to what amounts to one of the least capable, accountable, and professionally trained careers in the developed world. Pipe down, nobody in the late 90's bubble talked like this.
[1996] according to http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.9...
It's not dead, but it does show the reasons why we have centralized banks: User trust and security through regulation.

Before we had this, banks were robbed all the time..just like the Bitcoin exchanges. The only reason the government hasn't completely regulated it yet, is because the average person it's investing in it.
You're just bolstering the point with this argument.
> The point isn't the lines that contain "yield from". It's the lines that don't contain "yield from"

What is the point though? Why does it matter where context switches happen (either CPU or IO ones). You are doing the job of the scheduler which is like being teleported back to Windows 3.1. Adding "yield froms" turns your functions into generators. The job of code maybe is to update shopping carts or send tweets or something like that, now that function returns a generator and anything on top of it has to deal with it.

The original point, which I think you missed, is that the typical advantage of "yield from" (or deferreds, or callbacks) is that you don't need to worry about synchronization. Look no mutexes, this is fantastic! Except that is wrong. As the application grows, top level code starts to look like:

r1 = yield from f1()
r2 = yield from f2(r1)
r3 = yield from f3(r2)
...

With callbacks it looks even uglier. That code is logically approaching the code that looks like:

r1 = f1()
r2 = f2(r1)
r3 = f3(r2)
...

In a multithreaded program without mutexes.

Therefore this thing exists: http://twistedmatrix.com/documents/8.1.0/api/twisted.interne... and I had to use it often enough. Because what happens is two clients would start 2 concurrent callback chains, and if they start updating some shared data ( a database or internal structure ) you've got a data race and you need to use the DeferredSemaphore.
Relatedly, I found this survey of different methods for procedural city generation (template-based, agent-simulation-based, etc.) to be informative: http://www.citygen.net/files/images/Procedural_City_Generati...
In many cases it's trickier than that too: if you're using your database's UUID's as the primary key, you'll need to find another column to use BETWEEN on and index that to make this work.

Plus, as stated in the slideshow, you can't provide jumps to arbitrary pages. In some cases this doesn't matter, but worth taking note of.

(pagination is frustrating!)
Analyse Asia #17: Analyse China and Xiaomi with Hans Tung
Episode 17 Synopsis: Hans Tung (@hanstung), the managing partner of GGV Capital and #69 on The Forbes Midas List joins us for an interesting conversation on his journey as a venture capitalist which traverse between China and US. He also discuss some of the interesting companies on his portfolio. Starting his time as a venture capitalist in China, 2004, and witnessing the rise of the Chinese internet giants: Baidu, Alibaba and Tencent with the upstarts, Xiaomi and Cheetah Mobile, Hans Tung offers a different perspective into the ever changing ecosystem of the Chinese mobile and web landscape and how mobile is now the common platform for both US and Chinese companies to compete for the next 2-3 billion out there in the other markets. He also shares with us interesting anecdotes on Xiaomi, with reflections on how Lei Jun and his team have built the company from the start till now, and the real back story to how Xiaomi hired Hugo Barra from Google. Lastly, he discuss how mobile is now the new platform where both US and Chinese companies will compete out there for the next 2-3 billion market.
>HMAC256("userId=johnnysmith&expirationTime=1356156000&oldBcryptHash=$oldBcryptHash&clientIpAddress=$clientIpAddress", $mySuperSecretKey)

Maybe I'm wrong but he can still use this password reset if he remembered his login and logged in. ID stays, it might not be expired, BcryptHash stays, Ip stays.
That, of course, is suboptimal.
Here is a breakdown of the Volt 2.0 drivetrain, ignore the thread title, the diagrams and description are good

http://gm-volt.com/forum/showthread.php?158881-New-Voltec-ap...
No, and no.

Both are pretty lackluster and honestly not worth the effort.
It will be checked against the current hash. The reset creates a new hash, so the token won't work a second time.
I don't understand what problem you are describing. A user who remembers his momentarily-forgotten password can of course change or reset it regardless. The article quite sensibly describes using the old password hash as a nonce without pestering the database with extraneous records.
+1!

This was a really refreshing read on HN. Wish there were more articles like this one utilizing crypto for modern programming applications.
OMFG this reads exactly like some communist screed with one difference. If you own a single laptop you own 100% of the means of production, you do not NEED LP's, VC's, Angels, or a paycheck. If you want to keep 100% of it, then go, code up your own damn site like any number of people here did, don't take a dime from anyone and go produce some value and keep all of it. There are basically zero costs involved with launching a web startup. do it then. you're acting like this is the nineteenth century and you're working in some factory owned by a VC. you own the tools. what exactly are you missing? Go build something and put it up. right now. tonight. go go go go go go.
I dont understand their reasons for forking.
If I copy your movie, you still have the movie. If I take your bitcoin (adding a transaction to the global block chain moving it to my wallet), you no longer have that bitcoin (the world does not accept your authority to spend it).
Self employment tax (the equivalent of the employer side in W2 work) does max out at 117k.

It's complex, and I think that someone doing sidework would not benefit enough from an scorp to make it worth it. Someone doing it fulltime that makes a lot and can claim low normal wages should look into it.
Arbitrary two cents: Rust's approach to this bothers me a lot. A missing semicolon having such a weighty meaning strikes me as one of the worst warts to survive Rust's rapid evolution. It forces you to scan very carefully to determine outputs.
I ran into this issue couple of years and have been iterating on a model, that seems to be working. If you're interested in hearing more about it, ping me please. My email is in my profile.
Is there any point to generating primes that large? I thought one of the reasons to prefer ECC was because it uses a much smaller key than RSA.