skysight-inc/HackerNews huggingface dataset:
It's very sad that people feel this way, no matter if it justified or not. I feel like this presidential election has had more groups than usual come out and talk about similar feelings and/or actions. Is this a byproduct of new (accurate or not) being much more available compared to previous elections? In other words, did stuff like this happen before and we just never heard about it or is it really happening more this time around?
Search all 12,021 CRAN, BioConductor and GitHub R packages
> The fundamental problem with arrays in C is that compiler has no idea how big they are

Isn't that the compiler's choice, to not know how big they are? You could write a standards compliant implementation of C that did track how big arrays were if you wanted to couldn't you?
No, Guix uses a DSL for packages that's embedded in Guile. Pretty much everything else is also written in Guile with the current exception of the Nix daemon (C++).

The DSL is mostly declarative. Here's an example:

(define metal
(package
(name "metal")
(version "2011-03-25")
(source
(origin
(method url-fetch)
(uri (string-append "http://csg.sph.umich.edu/abecasis/Metal/"
"download/generic-metal-" version ".tar.gz"))
(sha256
(base32
"1bk00hc0xagmq0mabmbb8bykl75qd4kfyirba869h4x6hmn4a0f3"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags
(list (string-append "INSTALLDIR="
(assoc-ref %outputs "out") "/bin")
"all")
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(inputs
`(("zlib" ,zlib)))
(home-page "http://csg.sph.umich.edu/abecasis/Metal")
(synopsis "Facilitate meta-analysis of large datasets")
(description "METAL is a tool for meta-analysis genomewide
association scans. ...")
(license license:bsd-3)))

The stuff that's in the "arguments" field is a quoted expression, which is evaluated on the builder's side, at build time. We make use of code staging in several places, which seems like a perfect fit for Scheme.

Note that the `,zlib` thing means that the value bound to the variable name "zlib" is injected as is. All package expressions are "live" values in Scheme and can be inspected in a REPL.
With "a really good writer" being defined not as one who produces one good book.
I dunno, maybe? What would the security for that look like? If I found out trains had no drivers, and you could bring them to a stop just by disconnecting the iphone?
We have always been in the process of automating all jobs. This is the age-old battle between labor and capital.
When it comes to testing your water, some counties offer home testing services to concerned residents for free. I urge everybody with kids or thinking of having them to check your local county government's website for information. Even if the water treatment facility in your area is free of lead, the pipes in your home or neighborhood might not be.
Unix Admin Horror Story Summary, version 1.0 (1992)
There is a small type difference in C, sizeof() of those two types is different.
Books I read that I would recommend:

Deep Work - Cal Newport

The Power of Habit: Why We Do What We Do in Life and Business - Charles Duhigg

Grit: The Power of Passion and Perseverance - Angela Duckworth

Peak: Secrets from the New Science of Expertise - Anders Ericsson, Robert Pool

The War of Art - Steven Pressfield

Do the Work - Steven Pressfield

Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future - Ashlee Vance

Shoe Dog: A Memoir by the Creator of Nike - Phil Knight

The one that surprised me the most was the last one on that list. I don't usually read memoirs but this one was recommended by a few people so I picked it up and found the honesty with which he describes his mistakes refreshing and useful.
Chrome 2017 Not Secure Warnings Checker
I also read Ready Player One this year and thought it was excellent. Since then I've been searching for more books that pull me in like that one did. Way of Kings is pretty good so far.
Question from someone who don't know Rust: Why two dots instead of an ellipsis (three)?
Why would they want to "fix local poverty"? What does that even mean, writing checks in perpetuity? Why would they want to give their resources to other people? How culturally compatible are these "millionaires" with the people they would supposedly be helping? What does a Chinese expat engineer have in common with a schizophrenic black hobo that he would want to write them a check, their presence in the same zip code? Why would he do so when he's already taxed, heavily, to provide things like "homeless services" in SF to the tune of $250 million / year (IE, approximately $20K / homeless person) with apparently no effect? How much of a cut do these "nonprofits" take along the way?

Lots of unasked questions here.
Automatically install Windows on your server
Ok, from what I could tell, which wasn't much, it didn't have anything to do with the actual future of music.
Would you care to share the other two?
Essential Angular: Components and Directives
You can't, you can do that with your own pages, but not groups
Hmm. I've always taken the recent hacker/cracker as the following:

Hacker: One who breaks into computer systems or networks one does not control or have access to.

Cracker: One who breaks into software and firmware on their devices as to gain control of root over their machines. This may be in contention with the arbitrary licenses they may have agreed to prior to installation or purchase.
https://www.bloomberg.com/news/articles/2016-09-11/bridgewat...
There must be some interesting reason why ".." and not the more common "..." - I wonder what?
You forget that the empirical evidence is influenced by our cultural norms (such as children not leaving home until 18). If you (further) shelter/protect/structure young twenty-somethings, they'll grow up even slower, and fifty years hence a poster like you will be suggesting we raise the age of adulthood from 25 to 30.

Perhaps we should help kids grow up faster by giving them more experiences and responsibilities.
No energy source is completely free of GHG emissions over its full life cycle. As you can see from my other posts I am pretty bullish about renewables but this particular article advances some bad arguments.

According to Sovacool's analysis, nuclear power, at 66 gCO2e/kWh emissions is well below scrubbed coal-fired plants, which emit 960 gCO2e/kWh, and natural gas-fired plants, at 443 gCO2e/kWh. However, nuclear emits twice as much carbon as solar photovoltaic, at 32 gCO2e/kWh, and six times as much as onshore wind farms, at 10 gCO2e/kWh. "A number in the 60s puts it well below natural gas, oil, coal and even clean-coal technologies. On the other hand, things like energy efficiency, and some of the cheaper renewables are a factor of six better. So for every dollar you spend on nuclear, you could have saved five or six times as much carbon with efficiency, or wind farms," Sovacool says.

1) Even if we use the input numbers for his model, the amount of emissions you save is calculated against the fossil status quo. (At least until fossil use is basically gone and it's all just non-fossil sources competing with each other.) If the baseline is 443 for natural gas, every kWh produced from nuclear saves (443 - 66) = 377 grams, and every kWh produced from offshore wind saves (443 - 10) = 433 grams. A kWh of offshore wind saves 56 additional grams per kWh against a gas baseline, 15% better than nuclear, not 600% better.

2) He's blithely switching between currency units and energy units. A dollar's worth of offshore wind investment produced significantly less lifetime energy in 2008 than a dollar's worth of nuclear power investment. Even after 8 years of falling offshore wind costs and rising nuclear costs, crossover has been achieved only very recently.

3) The largest single part of nuclear emissions in his analysis comes from fuel enrichment at the front end. This was because there were still old, inefficient, gaseous diffusion enrichment plants operating in 2008 in the United States and France. Both are now closed, so the West enriches uranium only via centrifuge, which has much lower energy requirements and corresponding emissions.
It seems a little odd to do this 3 days before Christmas. Holiday depression is already a real problem, and making people unemployed a few days before the holiday sounds like a bad thing.

And it's a terrible time to be job hunting.

Why not hold on a few more weeks, let employees enjoy the holidays and announce in mid-January when employees can actually talk to hiring managers and get some good job prospects instead of being met with out of office messages?
My impression is that the cost of negative externalities of nuclear are less than that of fossil fuels (the health and environmental costs of coal for example are extreme). Does anyone know if those comparisons use more updated numbers you reference?
So whats next for the software projects by ClusterHQ? Making them a part of an Apache Incubator?
oh, don't worry, we also say that C is bad. C++ also gets an honourable mention.
I too would love suggestions, but I have Cicero's Republic on my list to read.
Will it be able to circumvent the GFW of China ? Given the fact that they are doing active probing now ?
Been working on this problem for awhile. We're currently in Alpha. Not saying a word about how we're fixing the problem on a public board, because peoples envy and jealousy leads to violence (imitative competition) Girard would postulate.

All I'll say, is it's really good and Gamified and will emancipate human people from suffering.
Change Chef for Ansible and I have the same architecture. And you know what? I have decided to put on hold K8S until persistence is properly managed.
Meanwhile, we have decided to give a chance to serverless architectures with AWS lambda.
You know what's weird, I don't like the arrow functions in es6. And, I'm a coffeescript guy. I just don't like that the syntax is conditional on so many different things. The number of parameters, line length, etc...

I just wrote this function and used `function` rather than `=>` because I couldn't get the syntax right using an arrow function:

const showTable = ["email", "phone", "website"].reduce(
function (previous, channel) { return previous || !!institution[channel] && !/^\s*$/.test(institution[channel]); },
false
);

Of course, the inconsistencies are what I don't like about js in general.
Linux will always be insecure. There's no fixing millions of lines of code running in supervisor mode.

What will happen instead is that the world will move on to a microkernel-based OS.
Science is increasingly siding with these toddlers (improves biota, reduces asthma); just not re this particular plant, of course.
CSS Flags: flags of the world with only one div
C/C++ users: how do you use it for in ML applications? Exploratory analysis? Converting research to production code? Do you use existing libraries, or do application specifics (or other reasons) require that you write your own?
I have the impression that Signal by now has such a great brand name that mere technical objections won't affect its growth for a very long time.
You can use Guix as a standalone package manager on pretty much any GNU+Linux distribution. It only affects /gnu, /var/guix, and /etc/guix/acl. It won't touch any global state (e.g. libraries in /usr, or binaries in /bin) and won't use any global state when building packages.
The Camera Band for Apple Watch
I remember that day vividly, I was in jr. high school. It's hard to describe how traumatic it was; the school teacher on board made it ten times worse. I would compare it to 9/11 for those that aren't old enough to remember.

As we learned later about the rubber o-rings failing in cold weather, the solution has always been framed as not launching in those conditions.

But, why not use a different material, or design away the o-rings to avoid the problem in the first place?

Edit: question is already answered here:
https://news.ycombinator.com/item?id=13239241
Three dots doesn't look like an ellipsis in a monospaced font, it's far too wide.
As far I understand it, FPGAs are used in trading for their low-latency response. It is hard to respond in software much faster than 5 us, even using kernel bypass, etc.
There are other things to consider besides the economy. The Arts have been a thing forever precisely because they are a good thing to have for a society, and not just for entertainment's sake but also to preserve our own history, to continue building the collective culture we take for granted, and on and on.

Not to mention that in general an educated populace is better at making decisions than an uneducated one, so even a moderately educated Starbucks barista contributes more to our society than an uneducated one, even if those contributions aren't financial.
API Design with Java 8
Even if we simplify it this way, arrays are still different because they cannot be assigned to and their decayed pointer can never be NULL (they always have a backing storage provided by the compiler):

int arr[5];
int *ptr;

// "arr" has a fixed backing storage of sizeof(int) * 5 bytes
// "ptr" may point to anything or be NULL, depending on control flow
Atlas Shrugged

1984

Fahrenheit 451

Brave New World

Born to Run by Bruce Springsteen

Neuromancer
Everytime a "what's the best language for Machine Learning/Data Science?" thread pops up, it always devolves into a flame war between "real data analysts use R" and "Python has thousands more libraries!". (most recent example 16 days ago: https://news.ycombinator.com/item?id=13110230 )

My response is always use-the-most-appropriate-tool-for-the-job-dammit and don't pigeon-hole yourself into one language, since each language has their pros and cons. I am very tempted to write an HN autocomment bot at this point. (in Python instead of R, of course, since that's the most appropriate tool for this job)
I think the implication is that we should say something akin to "the photo has been edited", not just replace the verb with a free alternative to Photoshop.
Loved the article, but holy hell medium.com is a bastion of dishonest journalism! I'd move the tensorflow article somewhere else!
Truly incredible.

The infosec community baffles me, when it comes to politics. I'm no fan of Trump, but the unfounded and apoplectic reactions from the likes of Matt Blaze, Swift on Security, the grugq, Jon Zdziarski, halvarflake, netik, kragen, etc, are batshit crazy.

There is absolutely no evidence that a Trump administration poses any threat at all to infosec, and by many measures represents a better option than the alternative.

Trump's former opponent is on record clamoring for a "Manhattan Project style" effort to undermine crypto, and 2600's readership is concerned with the man whose worst security-related gaffe is a vague suggestion about "[calling] up Bill Gates".

I really don't understand these nominally rational people, when it comes to politics.
Anyone know if macros 1.1 will be in 1.15?
> beating on a straw man

The guy literally says he relishes failure...
The very confusing term "free software" isn't on this list, and that fact speaks volumes.
Fair enough, I don't know what I'm talking about. Thanks for explaining.

(I thought OP meant no O-rings would've been used in the entire shuttle, not just these particular ones.)
I've lived on the internet since 92 and have always taken an intense interest in politics, so that's 6 presidential elections and 5 midterms (and multiple elections in various Euro countries I've lived in). I'd say there's a significant qualitative difference between this and any previous political turning I've experienced.
Have you heard of Confessions of an Economic Hit Man? It's somewhat similar.
Lawsuit alleges that McDonald’s overcharges for cheeseburger value meal
The positions of the graph legends are terrible - they overlap with parts of the most interesting data points.

If the author or an editor of the article reads this: It would help a lot if you could move the graph legends to the left.
Thanks!
It's no mystery. 76000 millionaires who care about their own interests and money instead of poverty aren't fixing local poverty. They could do a lot to address causes and symptoms to point of a great transformation. They just don't want to. End of story.

Now, knowing they don't want to or put in little effort, what's the next plan for people wanting to end poverty over there that factors this in as a base assumption?
They probably 'copied' Haskell here, which also uses "..".
Are you running Openstack yourself or a vendor backed version ? My understanding is deploying OpenStack in production is a nightmare. Would you mind sharing your experience (cluster size, upgrade, support etc.) ?
You comment would be a bit more relevant if the article actually include a definition for "freedom". You can't create a narrower definition when there is no definition.

If you don't like the word, just do a word-replace for "freedom" with "liberty". Liberty has a extremely long history of people trying to define it, and John Locke (1632–1704) once wrote on that subject: freedom is not as Sir Robert Filmer defines it: 'A liberty for everyone to do what he likes, to live as he pleases, and not to be tied by any laws.' ".

And if we talk about liberty, we must acknowledge the difference between liberty as the freedom to act and liberty as the absence of coercion. FSF focus heavily on the absence of coercion part, like not having patents, proprietary licenses and DRM coercing user and developers of software.
I agree.

It's definitely the worth the time to actually read it.

Sadly the title of the page predicts what most people commenting seem to have done -

Skimmed, got triggered by a word or a turn of phrase and came to type their first objection really quick.
People who are correct can come up with something better than an argumentum ad verecundiam.
11-50 employees according to https://www.crunchbase.com/organization/hybridcluster#/entit...
I think the critical idea is separating out the idea of the business failure and a moral failure on the part of those involved.

Businesses fail, and that's often sad. They even fail when you do everything right. It's just not shameful to have your business fail, nor in itself a mark on the character of those involved.
I recommend Stormlight to everyone new to fantasy. Such interesting yet easy to read books. With Sanderson writing, reading is fun.
Pure brutalism is bad enough

I think, just for the building itself, that the Houston Public Library serves its function very well. It is an excellent building for its purpose, and I rather like going there. The courtyard outside, though, is a stellar example of how US culture has completely forgotten how to create public spaces of value. (Why is it that Houston, of all places, seems to be challenged to remember why shade is useful!)
Best to check for NULL anyway though, because anything can happen once you let it decay to a pointer. Never assigning them is a good idea though, maybe it's best to think of them as constant pointers? But that's more confusing terminology for a C programmer, so maybe not. People get really wrapped around the axle when differentiating a constant pointer from a pointer to a constant.
That is the plan, yes. It's not in the beta yet, but will be backported.

(For those of you who don't pay super close attention to Rust development, that means libraries like Serde and Diesel will be as convenient to use on stable as they are on nightly, today.)
Depends on what the definition of "need" is. I don't think a million migrants need to come over here and suck the welfare system and people of Europe dry, but a lot of people do. It's all relative.
At which point, it essentially becomes a "break some of my apps in confusing and inexplicable ways" button.

Related reading: http://limi.net/checkboxes-that-kill
Someone needs to train that hiring manager. They gave you no heads up about the process. There might even be a chance the hiring manager didn't know you would have to interview afterwards if the company was small enough. Did you contact the manager afterwards? If the company doesn't have a defined process the manager might have been able to talk to HR to directly give you the offer.
It's likely that people within the organization already knew things weren't going well.

So, the bright side of this is that:

A) employees can spend the entire holiday week or two with their families, and

B) employees can start out their new year unencumbered by the stress of working for a failing company

Personally, I'd rather have it this way than come back from whatever fun holiday adventure I'm on to find out a week later that I'm losing my job... that's a terrible way to start the year's momentum.
Some of these Python libs call out to C for heavy lifting, which can be very performant.
It was the second year of my "read books like an adult" effort and there were some great ones:

Infinite Jest (David Foster Wallace)*

I was blown away by how completely delightful it was to read. I went in to it with a lot of trepidation about its length and esoteric fixation, but found myself completely immersed in the book in a way that I hadn't been since I was kid. I didn't pick up any hard and fast lessons from the book (indeed, its thesis is mostly that life is hard and the easy answers that are out there are toxic), but I definitely came away from it feeling like it was a bit more acceptable to share what I really thought and felt with others. Reading the book is like entering an intimate communion with DFW's mind and it reinforced in me the importance of inter-human connection in that way.

Every Love Story is a Ghost Story (D.T. Max)

DFW's biography, which I read after Infinite Jest. I highly recommend reading after IJ to get more background on where the books idea's came from. Two things I learned: 1. IJ basically took him ten years to write, 2: An incredible amount of it is drawn from personal issues and experiences, his struggles with addiction and loneliness were very real and he greatly downplayed them in his interviews.

The Invention of Nature (Andrea Wulf)

The best historical book I've ever read. Von Humbolt was one of the greatest scientists to ever live and I can't believe I'd ever heard of him before. The book itself does a great job of tying together the ideas of many great thinkers: Humboldt, Darwin, Thoreau, Muir, Goethe.

The Conquest of Happiness (Bertrand Russel)

Great little 'self-help' book from Russel. Perhaps a bit quaint in its datedness and Englishness, but a lot of the ideas still hold true. His thoughts on boredom were the high point of the book IMO.

The Hard Thing About Hard Things (Ben Horowitz)

The most 'make an adult of you'-feeling book I read this year. After attending an 'MBA bootcamp' style course, this book was the gritty, personal account that helped me tie all those lessons together. I got a job with a startup shortly afterwards and because I've never studied business (or worked in a real company before), I refer to the lessons in this book a lot.

My Struggle, first volume (Karl Ove Knausgaard)

Still reading this one and not entirely sure what to think. It's entertaining, heartfelt, and provides that sense of communion that good fiction needs. The book's purpose seems totally up in the air, however.
Paradox indeed; applies to more than just local poverty
Well, you don't know the exact circumstances. Maybe there's no money in the bank and they couldn't raise more investment and they did the best they could to stretch it out to the New Year?

Or maybe they're giving everyone 3 months severance in which case, it might not be so bad to get a Christmas gift of pay without work.
It hasn't been this hard to buy a house in America since the financial crisis