skysight-inc/HackerNews huggingface dataset:
I mean, if you're going to be generating it anyways, just generate ninja files. They are faster, but the downside is just that you need to generate them, as opposed to being generic.
For those not in the know, John Ioannidis is responsible for much of the current focus on reproducibility in science, following his seminal 2005 paper "Why Most Published Research Findings are False." (http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1182327/)
This is kinda hilarious because, yes, "Autotools is great" [as a consumer]. But autotools and m4 is kinda awful to write IMO.
Also you can't conditionally build a .c or .cpp file without ifdefs in the source.

Also you have to wait for find to run before any building starts. Can be slow for a large project.
Can you elaborate on the ranking methodology eg is it:

sum([u.karma for u in users_who_mentioned])

Or something more complicated?
It's open and free. You just need to register your MAC.
Could you tell me more about Passport not being secure? I've been meaning to use it in an upcoming Node project, so I'd really love to know why I shouldn't use it, and what I should be using instead!
Please do not use scons in your projects. Poorly written SConstructs are as common as poorly written Makefiles, and are more difficult to patch to work correctly because of all the magic that goes on under the hood.

SCons has many issues that negatively affect packagers. Some are listed on the Gentoo wiki here: https://wiki.gentoo.org/wiki/SCons

As an OpenBSD packager, I hit many of those issues and a few more. For example, scons’s C preprocessor support is not great, and often brings in header dependencies that should be #ifdef'd out; when those unnecessary headers are removed during build (happens often on a machine bulk building packages), the build breaks.

I’ve replaced SConstructs with Makefiles before. Typically it makes the build faster, simpler, and more portable, and is popular with other OS packagers. Example: https://github.com/sinamas/gambatte/pull/6
Douglas Crockford explains why JSON doesn't have comments
That's not really what I am talking about. I'm talking about the oft-parroted "talent shortage" wherein companies claim they can't find enough good developers. If true, companies cannot afford to let good ones get away. I personally think "we have a talent shortage" is code for "we don't know how to hire".
This is how we got into this mess in the first place. "Surely it can't be very difficult, let me just add this.."
It genuinely saddens me that providing an open Wifi guest network for my guest's convenience is considered 'negligence'.

Interestingly where I leave a major Canadian ISP provides unsecured wifi networks across the city. To get access all you need to do is register your ethernet address to your account. As we know it is trivial to spoof an ethernet address. So, I suppose this ISP could be liable as well? Oh, wait--they are just the pipe. So, why is the consumer treated different? Sigh.
Could the title be tweaked to include "effect sizes and power" somehow? Those are the most important parts of the title, yet are missing completely from the short version.
autotools is pretty great for the end-user who wants to compile your code or the distributor who wants to package it up for Debian or whatever.

It’s a crawling horror for the programmer that wants to use autotools as the build solution for their code however, which is the topic under discussion.
I do not think that it is feasible to expect a government agency to solve bad engineering. There is no pixie dust that the NSA can sprinkle on systems to make them secure, even if it dedicated all of its resources to trying.

If anything, by doing what they are doing, they are exposing the fallacy of such expectations and hastening the development of systems that are actually secure. By that measure, this is actually improving security in the long term far more than attempting to bolster the status quo ever could.
> there are no benefits to making a civilian craft less stable

(Slightly) less fuel consumption? That's for longitudinal stability influenced by center of gravity. [0][1][2]

> Most airplanes are designed so that the wing's center of lift (CL) is to the rear
> of the center of gravity. This makes the airplane "nose heavy" and requires that
> there be a slight downward force on the horizontal stabilizer in order to balance
> the airplane and keep the nose from continually pitching downward.

So moving CG aft decreases stability but also decreases induced drag (drag produced by producing lift) because the downward force required to keep the nose up is reduced, which in turn requires less total lift and a lower angle of attack.

[0] http://www.airliners.net/forum/viewtopic.php?t=761755

[1] http://avstop.com/ac/flighttrainghandbook/longitudinalstabil...

[2] http://www.pprune.org/tech-log/357859-cofg-induced-drag.html
Thank you, in turn, for replying. I'm of the opinion that out variables have little value if you have tuples and deconstruction, but I wanted to understand your point. I'm not sure I do, unfortunately. I'm little out of practice with C#, so bear with me.

Back to this code:

if(!memo.TryGetValue(rdr.GetInt32("student_id"), var out complete)
memo.Add(new Student(rdr out complete).ID, complete);

There's a parens missing on the end of the if, correct? Also I can't parse the student c'tor:

new Student(rdr out complete)

I was assuming there is a comma in there somewhere. Does this compile? What does "out" do here? I thought you were getting a new out variable, but that's not correct since you wouldn't be able to name it the same in the same scope.

Also, I don't see how "complete" is ever non-null. If the ID isn't in the dictionary, then TryGetValue returns false and "complete" is null. Then you add the null "complete" to the dictionary, and throw away the Student object (which apparently does other side effects) once you have its id? If ID is in the dictionary, you get back what you inserted, which is still null.

And then you call .AddCourse on the possibly null reference? I'm lost.

Can you post the code again? Maybe I'm just missing something due to a syntax error.
Interview with Creator of Asciinema, Marcin Kulik
Trying to run Docker on your own to do anything meaningful can be a very painful exercise.

I gave up after trying to spin up a cluster on DigitalOcean using v1.12. Like the author, I couldn't get my containers to see each other, something that worked before v1.12.
Also, as someone actively reducing the amount of email newsletters they receive, I'm wondering if you plan to offer an alternate format, like an RSS feed.
Exactly. When evaluating a language / build system / whatever, it is definitely not sufficient to look at Hello World. You have to evaluate the worst case and average case if you want to get an idea of what you're in for. Looking at the "best case" (simple one-file project) tells you almost nothing except how hard it is to get started.
Clojure... well, I wouldn't go so far as to say it's "not a lisp" (some people would), but it's quirky. It's like that weird guy who's just as competent as the rest of us, but has an "interesting" perspective on how he tackles problems. The example I got in another thread on this is:

(list? '(1 2 3))
;;; => true
(= '(1 2 3) (cons 1 '(2 3)))
;;; => true
(list? (cons 1 '(2 3)))
;;; => false

That's actually psychotic: if your lists aren't lists, than don't call them lists!

Anyways, Scheme is the part of the lisp family tree that actually evolves, albeit slowly. The spec is minimal, so compatability between implementations is low. I'd reccomend either Chicken or Guile scheme to most people, as both have pretty good FFI, decent performance (Chicken's is better), and good libraries (for a scheme).

Racket isn't a Scheme, although it started as one. The official implementation of Arc runs on an old version of Racket, from when it was closer to Scheme (we should probably port it to another scheme at some point...). It's not really my thing, but you might like it, and it has some of the best library support of any lisp outside Common Lisp.

OTOH, you may like Common Lisp. Bits of it are idiosyncratic, and it's huge and inelegant, but it's a tremendously powerful language, and very well supported and documented. There are actively developed implementations, and the most popular is probably SBCL.
Here are the first few things that came to my mind:

- I want this & will use it, it's a great idea!

- I didn't understand the rankings based on visiting the site, I assumed it was number of mentions, but so far after some browsing, I've only seen a single comment listed under any book. Is karma used only as a tie breaker, or can a high karma with low mentions rise above a book with high mentions?

- I'd love to see a top 10 monthly or yearly. Weekly is just so much volume. And it looks like weekly lists usually top out with a single mention? I want to see which books get many mentions, whatever time window that takes. Also I can't read a book a week, so I don't shop for books weekly. This means I'm afraid with a weekly list I'd probably miss all the good stuff.

- The signup popup came up too quickly. I see other people complaining about it and saying remove it. But I would probably have signed up if I understood what I was getting. Seeing it before I even have a chance to see the value or understand who and what this is made me dismiss it immediately. But I'd gladly give my email address to get a monthly email with a top 10 list, and speaking personally it'd help me to have a sense for whether this is strictly a side project, or you'll be doing some marketing. The aggressive popup w/ little info just makes it feel like I'm getting trapped into something and I try to escape, when your intent may have been 100% to generously give people a no-nag opt-in reminder.
It says that change is easier than it might seem.
... and autotools is actively hate-inducing if you have to debug it.
CMake is icky. I’ve never been comfortable with it. I’ll take hand written makefiles over CMake, unless I have to have Windows as a build target.
Wow, this surprises me, as I've been surrounded by Christians most of my life. I'm less surprised by the media, however--they're not very charitable in their representations of Christians (e.g., the Starbucks cup fiasco was literally one guy complaining about the cup design, but the media made it out to be some sizable portion of Christians). At any rate, do you perceive anti-PC pressure to be so prevalent as to be a legitimate concern? Do you think it would sway the speech of the average person toward legitimately offensive terms?
I do agree that VPATH is helpful, but you'd still need to put the Makefile into the build directory in that case, which is distasteful, as it's not a built file.

Also you can't really get around specifying the files or searching, unless you have one c file per executable.
I like to look at comparisons like this:

That is about 1 Yahoo in 2016

Or about 3 youTubes in 2006

Or 1.5 Lucasfilms in 2012

Or 0.2 Whatsapps in 2014

EDIT: Whatsapps number corrected, thanks.
When I complain about homophobia, I always use the argument that people of the same gender having sex is something that adults do in their free will and doesn't affect other people's lives and therefore shouldn't have any laws against it.

I don't like the concept of women covering themselves like that because of religion, but I have a hard time thinking it should be banned because of the argument I just mentioned.

But I still feel this cognitive dissonance inside... It's weird.
No, that's just what they're called.
Winning Companies Lead with a New Culture Mindset
Unfortunately it's not going to float up to the stratosphere from the troposphere, so a good portion of a flight will be causing ozone pollution.
Now we know why most of UFO's always have eerie glow. It's just actuators :)
I think this is the exact reason most people tend to struggle with any type of learning. Even topics like math and science which require building block approaches can benefit from taking a high level view and refining where appropriate.
Post-hoc power assessments? c'mon e.g. Hoenig & Heisey (2001) provide evidence that several different approaches for calculating post-hoc power are flawed and can produce misleading conclusions. Once a confidence interval has been computed, there is no additional information that a post hoc power calculation can provide.

Nevertheless cog neuroscience has had a bad habit of using small samples, sample sizes that developmental cognitive neuroscientists have criticized.
Earlier accessibility of a top Scheme implementation could have helped make it more popular earlier. Just like with Smalltalk and Common Lisp before which also got into trouble because of good implementations being out of reach of most people.
Sorry if that was confusing, I wasn't trying to say AJAX-like behaviour happened without JavaScript but simply echoing mintplant's concluding observation that a 1995-style <table> with a bunch of checkboxes and a remove button would work just as well as the fancier tech stack.

(That said, I'm certainly not saying that JavaScript doesn't allow much richer UIs, only that as an industry we're often prone to assuming that the cooler tech automatically implies benefits to users – e.g. ask anyone who's had to reload a simple form UI because the AJAX logic failed to handle network / server errors, out of order dispatch, etc. in a non-confusing manner – or everyone should love your favorite tool without asking whether it has actual benefits for what they need to do.)
"Palm OS Programming, 2nd Edition" curated content at its best! Is there some seminal work in this book I'm not aware of?
A few weeks ago, someone posted an article where the author showed how they could "inline" functions by playing with the AST. That was done to increase performance for the case of very simple functions along the lines of:

def mul_by_pi(x):
return x * 3.14

(I'm sure there are better examples, but that was the idea). I've seen production code where methods and functions are used to provide bitmasking with a class-dependent mask, for example (where the mask is a const, not an attribute), which would benefit from inlining.

From what I've seen, it seems MacroPy could do that, but it's not a direct example anywhere, and it seems they haven't tested it. Has it been done before?

My other problem is that the client is extremely averse of adding any new dependency (which is understandable), but I might be able to convince them if I can show a significant speedup on inlined code. The previous post I mentioned isn't a viable alternative because only "toy code" (as the author said) was provided, and in my team we aren't knowledgable enough in AST handling to feel comfortable hacking it together, but a more mature project like MacroPy definitely looks viable.
So what if they did? How are we any worse off than if they'd written their own TCP replacement from scratch to begin with?

Maybe someone outside Google gains nothing, but presumably their engineers will spend less time reinvesting the wheel, which is a net gain for humanity in less time wasted.
PE companies usually do. They will just layoff a bunch of people cut salaries and probably saddle it with debt and get as much cash flow they can from the company.
0.2 Whatsapps
You just boosted the ranking of "Palm OS Programming Second Edition" again.
Poetically simple code review
GLuster is a disaster.
proc1 sends a message to proc2 via bus1, then sends a signal to proc3 via a shared memory channel by incrementing a counter in shared memory; proc3 sees the message and signals proc4 via bus2;

There is no partial ordering between proc1->proc2 and proc3->proc4 as the memory channels are invisible to bus1, but Proc2 and proc4 can detect the total ordering violation by using another counter in shared memory.
Not really. Ozone is the primary byproduct of producing a plasma in our atmosphere, and it is really only a problem when it is released at lower altitudes. Releasing it in the upper atmosphere where jets usually cruise would be harmless, if not beneficial to the existing ozone layer.

Not to mention the fact that any byproduct produced by a plasma would be infinitesimal compared to the amount of NOx produced by jet engines.
Our Solar System “Is in a Unique Place in the Universe – Just Right for Life”
I wonder how erlang would work on this, especially in a multi-coprocessor system.
You can scroll during navigation in iOS 10. Possibly you also can during CarPlay.
rekt.. I mean, rkt
Maybe there was a thread about "which book did you buy that is least relevant today?"
My question was more about other compounds, for example those involving fluorine (https://en.wikipedia.org/wiki/Fluorine#Atmosphere). I have not asked about F specifically because that is known and in decline (I think), but there may be other things in the air that specialists know better.
Offline content with service workers
I have trouble agreeing with this, probably because I came up through traditional engineering. To me, this is a profession and a competent professional should be compatible with any company. Certainly some company-professional matches will be better than others. However, every significant "incompatibility" I have seen is the person, the company, or both being unwilling to admit that they have or had a problem.
So this is how programmers finally go remote. We need people to grow food, survey land, build things, but you can just code from Earth and transfer it to Mars. You'll need to be in an office on Earth though.
Twitch Could Be a $20B Dollar Company Inside Amazon
Ask HN: Whats the best video talk you have ever seen?
There are many great talks available online. What are some of the best you have seen.
I really agree with your third point and I too would love to see different ranking options. A week to week basis is too much volume to weed out books I'm not interested in.
book_entry['rank'] = (avg_karma_count * avg_karma + book_entry['karma'] * book_entry['karma_count']) / (book_entry['karma_count'] + avg_karma_count)

Where avg_karma_count and avg_karma are the weekly values.
and I argue with your conclusion.
This is not simple. I haven't made my own Makefiles, because when I see them, they are complex and not easy to understand.

That's why I chose CMake for my projects.
If this is simple, I chose the right build tool.

This build file of a large project is easier to understand than the "Simple Makefile"

https://gitlab.kitware.com/vtk/vtk/blob/master/CMakeLists.tx...
This only works in the Unix world, on Mac only for command line tools (but only after installing autoconf and make), and not at all on Windows unless you install a complete Unix environment (cygwin or mingw).
I didn't get that from the article. I think the idea is less of replacing conventional actuators completely, and more covering the the physical actuators with a layer of plasma to mitigate non-efficient airflow before it hits the actuator.
This is so cool. I wonder if it could be scaled down even further, maybe by using a different developer board (FPGA?) instead of Raspberry Pi.
If you think it's expensive to hire a professional, wait until you hire an amateur.
I’ve made a comment to that effect on the original blog post. Hopefully they’ll be able to fix it.
Was anyone else expecting terminators? :)
Suggestions welcome and I'll alter. Edit, oh I can't, have to let admins do so if they think it best. IT was a hard edit to do.
For a newbie, what is the reason you didn't use hosted CI, like Travis CI?
Was the author naive? Yes, we all go through there but the rule always applies, always have a contract.

That said, I don't really understand people here that criticize him. Per the screenshot they called him a shareholder. That word has a clear meaning and they clearly screwed him over. I think he was right to walk away with his tech.
This is probably like, "just 90 companies control the majority of economic activity". Concentration of wealth and power is a bitch.
fstat(1) is similar on FreeBSD, lsof is in the ports.
Yes it does (I use it on OSX every day). But maybe it is because it has grown on me, but I find it less distracting that other Qt applications that try to look like OSX.
Show HN: A site for creating and voting on goat memes. Check About page for docs
Maybe you should the same in your HN profile.
300% range increase on a drone size vehicle, huh? Imagine the application to conventional jet travel. This would revolutionize the industry, letting jets fly far further than they currently can.
If it makes you feel any better, the actuators of the physical actuators haven't been physical for more than a decade now.
How to Build Your Own Discrete 4-Bit ALU
I always thought the dealership system was mandated in the US to prevent companies from selling a car but not providing any required maintenance for it. With dealerships, they're required to give someone else the repair guides.

Obviously there's much better ways this could've been done…
For a successful LBO, growth is largely irrelevant. What is relevant however, is that you can protect your existing market share. If you can buy a company for $1bn with $800m in debt and pay that down, and sell it for $1bn again 5 or 10 years down the line, you just made a cool $800m. If you can double the net profit, you'll be able to sell it for $2bn, etc.
Indoor bouldering is very entertaining, even if you know very little about climbing. You don't need to be an expert to see the challenge posed by a tiny crimp, a massive overhang or a big dyno. The immense difficulty of the problems mean that the struggle is visible, even for the strongest climbers. In a sense, you're watching a battle between the climber and the route-setter.

https://youtu.be/00nLWbGQJks?t=48m15s
The next sentence after "You want to be a shareholder?" is "What percentage are we talking about here?" followed by "When will the paperwork arrive? That's when I can start contributing." That conversation failed to happen (for weeks). There's some responsibility for the meltdown shared by both parties here.
> installing into a DESTDIR

> setting custom CFLAGS/LDFLAGS

> changing prefix, libdir, sysconfdir

> cross-compilation

Pretty much all of this can be done trivially in a makefile, using a very innovative construct called "variables".

> parallel builds

make -j. Works especially well if you have working dependencies. This makefile does.

> conditional features

make has ifdef... Granted this makefile uses find to discover source files, which won't totally work. But it's a small fix. Or you can do conditional features through CFLAGS.
PHP Frameworks for Modern Web Development
WAF is not so much a build system, but a bunch of python scripts to create your own build system, it's in the same zoo as cmake, scons or premake, but (in my opion) worse than any of those. I might have had a bad first impression though because of the project I had to use WAF in had terribly complex WAF scripts.
a) Your controller should be relatively simple. If it is buggy/broken it should be immediately obvious when the app is run. So, not being able to unit test it separately is not a big a deal, I think[0].

b) I don't think having the view and controller coupled makes this a big deal in a lot of cases[0] as long as the controller doesn't have behavior creep.

[0] There are exceptions to everything.
Website Maintenance – 11 Tips for Web Designers and Developers Pt2
Their service is very expensive compared to Google, AWS and the rest. I wonder how they've managed to survive on their own for so long
> according to CF, it's not an issue...?!

According to CloudFlare, they are are a reverse proxy, and they are not responsible for anything. This has been their response to every issue that I've tried to bring up with them over any channel, including here on HN.

CloudFlare just doesn't care.
I agree with your speculation; it seems likely, however, I don't understand why laying off staff at VMware would help make the company stronger - is it just supposed to make the balance sheet look good in the short term?

Short-term results oriented layoffs like this decimated HP under Carly Fiorina, and I don't have a good long-term outlook on VMware, if Dell decides to take a similar approach.