skysight-inc/HackerNews huggingface dataset:
Someone down voted that comment, and understandably so as it probably came off a bit flippant...

So here are some numbers. The US, with ~320 million people is nearly 25% of world GDP. The US has public/private debt of ~146 trillion dollars. Consumption fueled by this debt contributes greatly to economic activity around the globe.

So yes, debt should be avoided. But if everyone avoided debt at all turns it would not be good scenario for the global economy. And, there has to be losers for the system to keep working as it is. Back on topic, there are no shortage of homeless who became so because of assumption of debt and inability to service it.

America is not set up on a pay cash and live within-your means basis. Sure, you can try to do this, but it will be hard, you will be the exception, and you definitely won't be emulating your neighbors nor your government.

I feel it's a bit of a messed up system that causes problems and is not infinitely sustainable. But for right now, it is what it is.
This looks interesting. I love Alain de Botton and what he's trying to do by inspiring a type of secular Renaissance in traditions, religious activities and culture. Doing things like having church-like sermons on ideas, the importance of rituals and other concepts covered in his book, Atheism 2.0. He also has thephilosophersmail.com, a news site that's like a positive spin on the Daily Mail.
Debit Card (Lack Of) Security
I'm intrigued, and would love to hear of anyone's experience using this, particularly in a production environment. One question: does it have performance implications, one way or another?
I did a full 10-day course and it was everything but a cult. I can see how one can perceive it as such, but my impression was entirely opposite - there is strong, effective and well-tested self-improvement methodology dressed into a tiny sliver of Buddhist religion. The dressing makes it easier to digest for some people and is easy to ignore for others.

The freak-out is not unusual, a friend of mine left in a hurry reporting something remotely similar to claustrophobia. She never mentioned being banned or anything like that, and I'd surprised if it happened. My other two friends shrugged off the whole experience. Yet another acquaintance reported permanent reduction in anger, and completely giving up alcohol, which was previously a problem. Myself I became less "jumpy", less likely to be frightened by a sudden noise or such. There were otherpositive effects like reduction in compulsive eating, but they worn out in about 6 months. None of us ever went back, and I only get an occasional email from them.
Your comment about tents is a bit much. There is a better point to be made about innovating on lower cost housing situations (building and design codes usually drive up cost). Can we make safe buildings with shared recreational and common areas to cut down on square footage and lower rent? Can we save on space and costs in the long run by improving noise insulation? Why couldn't there be a WalMart (or whatever your preferred alternatives are) on the bottom floors of a high rise apartment?

Though I fully agree about minimum wage laws. It's a big risk to hire someone off the street if you can't even start her at a lower introductory wage that ramps up aggressively with proven performance. Governments that mandate high wages must logically assume responsibility for figuring out a way to make sure everyone can do something worth $12/hour (or whatever the wage is). Alternately, an aggressive guaranteed income or earned income tax credit can help with this sort of scenario. But it needs to be paired with a drop in the minimum wage to work.
New EU VAT rules threaten to destroy e-commerce micro-firms
It's absolutely possible for certain values of "power of your type system", "power of your program's types", and "extensiveness of your unit testing system". A few points to elaborate this.

1. Types absolutely can capture (trivially often) invariants which can never be satisfactorily covered by unit tests. This is the difference between proof and evidence.

2. Unit tests are far easier to write for many kinds of program behavior. Even though you can encode essentially anything you want into sufficiently powerful type systems, their proofs can be too challenging to practically build.

3. Type checking works very differently from testing. It's not red-green-refactor. It's more like "describe your problem in types and then slowly discover the only possible program which is correct". The feedback cycle here is very fast, but sometimes more inhospitable. Major research focus is on making this better, though. I'd say some of the most advanced HCI work is being done in dependently typed proof systems... but it's targeted only at people who understand and use dependently typed proof systems to begin with.

4. Unit tests often duplicate functionality which is trivially and automatically inferred by a type system. This is why, for certain invariants, types are "free" and unit tests are both incomplete and a big violation of DRY.

So, essentially, the unit tests which get written for you automatically are the trivial ones which are inferable properties. A dynlang usually does not have sufficient structure to enable this inference so you have to cover it with unit tests or contracts. More advanced, un-inferable properties can be handled and checked on compilation as well, but typically it takes some effort to build this stuff. Interestingly, though, you usually do it with heavy automation driven by the (partial) inference that the compiler provides—it becomes a conversation between you and the compiler as you develop the program which satisfies the type specification you gave.
Hackercafe: working with opportunity teams
I think replacing the hammock step with walking would be a big improvement. There's quite a lot of support for the idea that walking helps you think.
I suggest you get a geiger counter and walk around with it for a while.

Not nearly all of the naturally occurring radiation is occuring in some well shielded location deep underground.
Effect of App Store only feature on ranking and downloads
If they sell it as plumbing the hourly rate wouldn't even be that suspicious.
Not all consumers of food transit and delivery services are end-consumers getting groceries. Restaurants need the same services.
Right. It's substandard, but the government isn't building or subsidizing alternatives, so just banning tents doesn't really help.
Facebook Facelift
> Microsoft officially revealed in a legal filing a figure of 1 billion in royalties that Samsung pays each year.

And right there would have been a good place to include a link with more about this legal filing.
I'm not going to go buy a book just so I can spend the time writing code for you to dismiss as "oh that's not idiomatic haskell". Are you saying you don't actually know and are just repeating the claims made by the authors? Do you know haskell?
This lack the best option:
ctrl-x a

Don't bother having a external GUI, just use the built-in Ncruses one.
Eat more and weigh less with oil free Potato Strong diet
Hrm, unless I am missing something, Phoenix requires Elixir 1.0.2 which is available in Erlang Solutions sources? https://www.erlang-solutions.com/downloads/download-elixir

The reason though is that Elixir 1.0.2 includes some bug fixes that affects Phoenix in development.
Blockspring is hiring a first designer
I'd LOVE to make an asic, but we're a small lab and don't have that much to spend.
US DoD report: Preparing for war in the robotic age
Tim Tang Test – the longest online riddle game
I think banks are aware of the shortcomings of debit cards, but the risk far outweighs the need for any more security, why? Debit cards are like credit cards in that they are insured by the bank that issue them. Most debit cards even though they are tied to a real bank account thus resulting in varied availability of funds still have a limit on how much you can spend per day (unless you get the limit lifted).

The bank knows that they can take the risk of credit/debit card owners getting their details skimmed and an occasional rogue purchase being made. The amount will be merely written off, a relatively minor loss compared to what your bank will lose in a day from bad investments.

Pretty alarming nonetheless, but it is what it is in the financial world. Losses are expected.
I'd say not idealistic at all, it's an entirely practical thing. Early LISPs were coded directly to the instruction set and register widths of the 36 bit IBMs they were written on. BCPL and B were likewise untyped languages with the "word and pointer are the same thing" assumption baked in. Fortran and the IEEE floating point standard evolved in lockstep, etc...
platforms are transitory - portability is still the oracle worth worshiping at. Look at the folks who ported Version 7 Unix to x86 - 35-40 year old code, running on a new platform.
Architecture Astronaut
It seems they haven't had a sale in ages, which is a shame because I really want Pycharm but won't pay full wack for it.
Thanks for the comment. Are there any books or resources about mindfulness that you found particularly helpful?
Black Friday traffic brings down Web stores of HP, Best Buy, others
Yeah, that's a false dichotomy. That being said...

> How is someone like me who lives in a tiny studio "super-rich"?

In many parts of the country, fitting your lifestyle in one room sounds like being poor. Even Abraham Lincoln's childhood log cabin had a big yard. Just because you're making six figures doesn't mean you're making enough to comfortably support a family while still being home in time for dinner.
Search for interviews with homeless people. In the Bay Area they get more money begging than anywhere else, and the police leaves them alone.
Is there much benefit in using Phoenix for the server for a SPA where 95% is API routes, over using Plug directly? I guess it might make adding websocket services easier in future? (I've been very impressed with Plug/Ecto, just wondering if moving over to Phoenix while not too entrenched would be worthwhile.)
This is pretty well done, just tried this out and being a minimalist myself, I think the author has done a great job with this. Going to keep this installed.
Is that example in the screenshot a good one?

This works fine in a Content Scratchpad of nightly Firefox for me:

// See also
// https://github.com/richgilbank/ES6-Repl-Chrome-Extension/issues/12
function add(a, b) {
return a + b;
}
let nums = [5, 4];
console.log("foobar" + add(...nums));
I haven't used it, but read up on it after starting to use the Reform gem. It seems more geared toward forcing cleaner, more encapsulated code, which should make your rails app more maintainable in the long run. I don't think that there's any major functional changes that would impact performance.
assembly -> binary is an encoding not a syntax.

That's like asking an author if he writes using the alphabet or ascii.

Programming language debates are like asking Charles Dickens why he wrote in English rather than Russian. Would his books have been any different in Russian? No - it's irrelevant.
It's not just fashion or typing speed- syntax affects how readable code is. Common tokens that don't have a lot of meaning intrinsic to the program being written should be smaller or you get mired in bureaucracy when trying to read it.

Which of the following is clearer?

plus(new vector(5, 3), scale(3, new vector(7, 3)))

new vector(5, 3).plus(new vector(7, 3).scale(3))

<5, 3> + 3 * <7, 3>
Box Backup isn't dead, but there is pretty much only one guy maintaining the code these days and he doesn't get time to release very often.

It's good software but still not really feature-complete. For example, doing mass-restore (e.g. an entire directory) is very tedious. Single files are fine, but this doesn't make it very useful.

(Point of note, I maintain the servers for the project, but don't really contribute to the project itself these days.)
Regarding #3, he said that the reason they can't control people as they move to cities is to:

a) the use of cellphones/internet spreads information

b) their ability to collectivize and locally share information in high-density cities

But have you read any recent books on China post-internet? They have largely succeeded in maintaining control of the peoples perceptions of vast amounts of issues. They might not be able to stop CNN/Tweets from getting out but they have an incredibly powerful propoganda machine that makes sure all the citizens distrust Western dissent.

So even with access people question it and

Second, the government employees a massive '50-cent army' to sway opinion all over the internet. Thousands of people who endless comment on websites in highly deceptive ways.

Third, the party co-opts popular influencial youth such as Han-han [0] and Zhou Xiaoping [1], and makes sure their message is anti-western and pro-state (with degrees of restraint to make it non-obvious).

Fourth, those cell phones have nothing but helped the Chinese party pick up and 'disappear' any dissidents.

So I disagree with Lee Kuan-yew that China can not maintain control. They have and are.

1 out of 3 people in China work for the party, how can they not maintain control?

[0] https://en.wikipedia.org/wiki/Han_Han

[1] http://www.foreignpolicy.com/articles/2014/10/21/is_this_the...
Introducing MakeSchool
Is that an opinion you share with the author and you are referencing a really poor book in an attempt at an argument from authority? Strongly typed is well defined, even when a Racket enthusiast dishonestly tries to pretend otherwise in his Racket marketing book. That nonsense was removed from the book was it not?

The term was defined by Barbara Liskov in 1974: "whenever an object is passed from a calling function to a called function, its type must be compatible with the type declared in the called function". Very clear, very simple, no nonsensical or meaningless problems at all.
I'm with you. My favorite language is Blub.
Thanks, that's fixed now.
Probably the second one, but they all look basically the same to me. Perhaps programmers should get better at reading code.

The last one is least readable IMHO. It's like a regexp. It's the most ambiguous and has the most potential for errors also.

It's hard to typo "function" and have a program still compile/run. It's a lot easier to typo "fn" and still have the program compile/run. Smaller tokens mean more potential errors.
I think "horizontal spam" is a helpful designation for this particular problem.
A letter to our Indian users – OnePlus Blog
More specifically, Twitter is apparently doing ad targeting based on this information.
> But for something aiming to fill the role of systems programming, it's just so incredibly different from everything else. It almost feels like they are going out of their way to make it as different as possible.

Different compared to: most programming languages? Systems programming languages? Just C/++?

> I mean, you see how Haskell is doing, and a lot of people blame that on the absolutely alien syntax to anything programmers are used to.

Its syntax fits how it operates. Should Haskell have -() at the end of functions, like C-like and ML? No, since Haskell uses partial application and currying - the ()-stuff would likely end up as cruft. A function of three arguments in Haskell is not passing in three values as a tuple: it is a function that takes one argument and returns a function - that function is a function that takes one argument and returns a function... how is that clear when you write it as `f(x,y,z)? Not to mention if you partially apply it.

Can you write Haskell code as a sequence of declarations and expressions? Arguably no, since it has non-strict evaluation; having a list of declarations and expressions would be misleading, since they can really be evaluated in any order.

What can be contested is the significant layout (though it is optional) and user-definable operators. Though I think Haskell code would become really crufty without operators, since they sometimes make expressions more clear than a series of prefix-oriented functions.
>> “What these techies don’t realise though is that we’re no different to them - they’re just one misstep, one paycheck away from being us.”

> I don't presume to know Jimmy's life, and everyone goes through hard times. However, unless it's your first job out of poverty, if you are one paycheck away form being homeless, you are doing something considerably wrong with your life.

Privileged much? If you are one paycheck away from being utterly destitute, living on the streets and foraging in trash cans for food, then yeah, there's a problem. The problem being a lack of social programs by your government.

"Techies" may be more than one paycheck away from destitution, but unless they've won the startup-IPO/acquisition lottery, they're not that many more paychecks from homeless, especially in the case of life-altering disease or accident.
It's looks very close to Visual Basic to me ... :)
Ah okay, thanks. It doesn't seem like a behaviour that's very in line with the general vibe of the iOS platform, but it's also hard to imagine a way of removing this functionality without degrading the user experience. I wonder if we might see the app store guidelines updated to specifically forbid this sort of wide-net URL surveying.
What does it do, and how does that help you?
If you can do a lot with little means you are resourceful. That's powerful by definition. So there you have a pragmatic yet theoretical foundation.

Just by being somehow basically-reductionist, you'll see that the Universe does a lot with just electrons, protons and photons, yes?

Well... if you for example adhere to String Theory then you will be able to model a lot with just strings http://en.wikipedia.org/wiki/String_theory

"Everything is a String" => you have something Paradigmatic. A "space" or "knowledge body" that can explain a lot using little.

That's what I mean by being paradigmatic.

If you want more reference on this principle and you take the Quantum way, one thing you'll find is that you can explain a lot with little too. There is actually a theorem that deducts Newton's second law using only Schrödinger's Equation as foundation.

But since I've talked about this here I've won 3 downvotes, then you can rest for sure that the Universe is broken.
Dammit, that's a cool approach. I managed 20Euro in the first attempt but it was brutal.
That is true, the discount is only good for e-books.

I hardly even thought to make the distinction. These days, for technical topics anyway, the "e-" prefix is just as optional for "book" as "mail".
Bullshit framework
I understood you, I was replying to the thread in general.

> ... the result is "safe code". It may be, but the parent does not seem to be speaking to that question ...

Here we differ. The ability to successfully run valgrind (and presumably remove all errors) does actually speak to the question, and it answers that the result is in fact safe code.

It is not necessary for the compiler to assure safe code, it's perfectly possible to do it with an external tool. And as a result C is a safe language as long as you use both tools.
Yes, in LISP everything is an expression
Ànd assembler was once an innovation as well. I read a quote by Richard Hamming once, he stated "automatic programming" as it was called, would be a great productivety booster.
Services (unlike products) are typically constrained by the number of personnel available.

How does Amazon determine a company's availability when a customer books a job?

Most of these business I'd guess are probably in the 1-10 people range and probably not the most tech savvy. I can't imagine an adequate solution unless Amazon provides scheduling software and enforces adoption.
>(reep = peer spelled backwar[d]s, duh)

>reep.io uses modern WebRTC technology to enable peer-to-peer file transfers between two browser[s].
I'm from C# background and I can't imagine doing large client apps in JS anymore - maybe I'm too old but Dart IDE and integrated debugger is something I can't live without.

Dart is single best client side tech for me.
Whoever owns the big single pipe gets to determine what goes into it first. A CDN can insure that preferred ads go in early, so they always appear before the content is fully loaded. Ads that don't go through the CDN may show up, eventually.

There's also an encryption issue. The big pipe is one SSL/TLS session under a single key. Whoever owns the big pipe gets to see everything. Things like embedded Facebook content, normally encrypted with Facebook's keys, can't go through the big pipe unless they accept the CDN looking at their traffic.

It's not clear how all this plays out, but it definitely implies more centralization.
Food stamps are about 4 usd/person and some people have completed the challenge to live only on food stamps, so it would presumably be easier to do so in bulk.

Then you need a place to sleep, but that doesn't mean an appartment or room, it could as easily be a disused shipping container with bunk beds. Lets assume that we put 4 rows of bunkbeds into each 40 row shipping container (that leaves space for a small closet next to the beds, assuming the beds are 4 feet wide, with space at the other end to get in/out of the bed). I have no idea what a used shipping container cost or what a bunk bed costs.

There is a huge variety in land cost, so lets just take the cheapest possible option: not currently used government land. We can assume that we can get this for free, since this will either be a government project or payed for entirely by the government.

Heating costs can likely wise be minimized by putting the camp near some place that is neither going to become very warm or very cold.

We are going to need toilets and baths, probably something like a toilet for every 5 to 6 people and a shower for every 10 to 20. I have no idea what a toilet costs, but a shipping container with a drain in the bottom and 30 shower heads would be largely dominated by the cost of the shipping container and the cost of the water.

You will need somebody to cook the food and some place to cook it, but it could easily be eaten in tents - these would be cheaper than the shipping containers. The tents could also be used as a place to hang out when food is not served and could provide a variety of improvement activities, such as reading/storytelling. You will want to have a library attached which could be made of, that is right, shipping containers and you may want to have a small school or else a school bus (there is going to be kids there).

The cost of a shipping container (according to a handy, 11 steps wikihow guide http://www.wikihow.com/Buy-a-Used-Shipping-Container) runs from 1000 to 8000 usd, lets call it 4000, a quick google search suggest a bunk bed runs a little over 200 usd, which would give us a capital cost of sleeping areas of 1200 for the beds, say 1000 for the closets and 4000 for the container for 12 people, i.e about 520 usd/person.

Lets assume the bathrooms, toilets and tents cost the same, so that is about 1000 usd.

We assumed the food was 4 usd/person/day, but that does not include deoderants, tampoons, showgel, toothbrushes, etc. so lets make this 12 usd/day.

Adding everything up with have capital costs of a bit more than 1000 usd/person in the best case and 360 usd running cost/person/month.

That is strictly warehousing them, though for most I doubt it makes sense to retrain them.
If you ran valgrind (and mudflap) then any error that might be detected by a compiler with range checking will be detected.

Any further errors will not be fixed by any supposed "safe" language either.

Imagining that another language will make a difference is a mistake. It will not.