skysight-inc/HackerNews huggingface dataset:
It's nice to see that C++ is finally getting reflection. The real question is why it took so long: reflection is a killer feature in a large number of commonly occurring practical settings (GUI creation, user scripting, serialization, multithreading/IPC) yet it came to C++ relatively late in the game, to wit, after C++ got a turing-complete template system and long after grotesque workarounds like Qt's moc grew to maturity and metastasized. When there are large numbers of people using workarounds ranging from "don't use C++" (see: desktop frameworks other than Qt) to "implement your own restricted C++ parser to add reflection" (see: Qt) you would think that reflection would have found itself higher on the priority list. Is there someone here who can help me understand why the C++ standards committee had priorities that were so different from these communities for so long?

Are people making desktop apps, games, and other heavy users of reflection simply not well represented on the standards committee? Did bikeshedding delay reflection for a decade? Did language lawyers resist adding it because there exists a "clever" template-infested strategy for emulating it (at the expense of using arcane and sinfully ugly syntax in your declarations, naturally)? It sounds like it could make an interesting case study, but I'd settle for a tl;dr.
The unresolved problems of SysV don't automatically make the systemd approach right either.
Somewhat amusingly, it was actually a remarkably comparable situation.

There was a significant populist anti-relativity movement in Germany in the 1920s: http://www.mpiwg-berlin.mpg.de/en/news/features/feature7

>Although they had previously played no role in German academic life, during the 1920s scores of self-proclaimed researchers alleged to have proved the theory of relativity to be scientifically incorrect. Because the arguments set out in hundreds of ensuing publications frequently rested on fundamental misunderstandings of Einstein’s new theory, their accounts have largely been ignored by traditional history of science.

>Einstein’s opponents were simply not prepared to question their own worldviews and instead sought alternative explanations for why their objections were disregarded by the academics. With time, many turned to conspiracy to account for their marginal status: plots favoring Einstein, so they imagined, explained his success and their marginalization. Having reached this point, any sort of resolution of the controversy had become impossible.

And from a review of the book ( http://arxiv.org/ftp/arxiv/papers/1111/1111.2181.pdf )

>Nevertheless, anti-relativists were convinced that their opinions were being suppressed. Indeed, many believed that conspiracies were at work that thwarted the promotion of their ideas. The fact that for them relativity was obviously wrong, yet still so very successful, strengthened the contention that a plot was at play—and some anti-relativists were convinced that the co-conspirators were Jewish. Jews were held to dominate both the newspaper business and the new discipline of theoretical physics; they could thus easily advertize one of their own (Einstein) and his fallacious work (relativity). Gehrcke, for instance, kept emphasizing that the successes of relativity could only be explained by a state of “mass hypnosis”, brought about by excessive and one-sided reporting.

Hmm…
I have ever actually attended a congress, but I watch the live streams passionately since the 25c3. 29c3 was IMO the worst congress, 30c3 was a way better.
Rails doesn't have a namespace because Ruby has namespaces and Javascript doesn't - it'll be added in ES 6. Rather late, I think, but there you go. You can actually fake namespaces with Angular if you use a module framework like Require.js, but that involves adding more boilerplate to every module (like Angular 2.0 will actually require as well).
I knew someone who consulted a large bank not to use Angular for financial apps. They were insistent to use Angular until he finally showed them a fairly typical requirement of an app like that in angular: 5 tables with 100 rows and columns. It literally crawled when running on a Dell Workstation laptop.

It is kind of nuts that angular is big.
I just checked and these are on the list of unsupported processors for Cinema 4D. Are there any uses for this sort of thing in other 3d rendering applications or is it not suited to that kind of thing? Only asking because there are still a lot of rendering engines that don't leverage GPU but $250 for a good chunk of rendering power would be a great alternative to building a dedicated render farm for someone like me who does it more for art/creative projects and not so much for a living. Right now my options are just continuing to use my standard consumer workstation, building a small render farm, or purchasing (and adapting to) a GPU-accelerated renderer.

I'm certainly no expert on this stuff but I'm always on the lookout for affordable ways to make my projects easier to work with.
5 months should have been plenty to come up with something. It sounds like your initial goals were way too complicated. You need to aim small for a version 1 and then add features later. You have now learned one of the first lessons of software development.
> FreeBSD needs to either port their ZFS drivers to their bootloader, or employ a hacky method of having a UFS boot volume that then points to a ZFS root partition (which, sadly, is how FreeBSD currently works).

A ZFS-aware loader hit CURRENT in late 2008, and a dedicated zfsloader for use from (gpt)zfsboot hit the stable branches in late 2009.
Facebook Debuts ‘Privacy Basics’ and Updates Policies - More Personalized Ads
You don't need highly skilled devs, you need a disciplined team - which should review each other's members' code, stick to a style guide, research best practices, etc.

Like with every software development, actually.
I'm sorry, I can't really continue discussion with you since I've already spent 3 months worth of karma on this thread. My apologies.
I am not a lover of angular, but the reason angular is so popular is because it gets the prototype out there.

So many things and places are just doing things "lean" and "iterating" so angular makes that easy.

I'm not sure anyone could tell me Angular isn't very productive and that it wouldn't be tempting to use it so you can get some fairly magical experiences for users and in demos.
'assert' is not a keyword. Even if it were, they overrode it with a function that has the exact same signature and general runtime behaviour. Hardly anything to be surprised about.

Also, invoking the principle of least surprise on a C codebase is just ludicrous.
> Maybe I'm being too mean, but yeah, I also think a lot of the comments are pointless.

Yeah, I think you're being a little mean. If you browse to that user's GitHub page, it looks like it's just somebody new who's excited about software. Good for them.

The comments are pointless, sure, but also harmless. Similar comments might crowd out productive discussion if they were on (say) the head of the master branch, but I doubt that any serious development is happening on git's initial commit anyway. Let the new people have their fun.

As far as newbie disruptiveness goes, it could be far worse. When I was getting started with Linux, I posted this cringeworthy gem to LKML, now enshrined in the archives for all eternity: https://lkml.org/lkml/2000/10/22/69 If newbies today are merely posting "yay, git!" and "thank you!" to a secondary forum where it doesn't disrupt development, I'd say they're doing pretty well in comparison. :)
Also having issues logging in, same symptoms.
This is the hardest question to answer. My startup was once at a point when any sane person would have given up, and yet here we are - alive, growing, funded. Before that there was a phase when I was all in. I was living in my car in Silicon Valley because I couldn't afford rent, stressed out of my mind, had no product, and could tell that we were a long way yet from having product, traction, and being compelling to investors (or even an accelerator). And I had zero dollars in the bank (actually significantly fewer than zero dollars).

So how did we get from point A to point B? I got a job so that I could pay the bills and think straight. My co-founder and I parted ways, and I ended up finding another. We built out the product and got enough users for an accelerator to take a risk on us, then for investors to do the same. Now, a year later, I have the perfect team with enough money and the right product.

It sounds like, if you're honest with yourself, you're a long way away from being a palatable investment. My guess is that you're even farther than you think you are, because that's just the nature of the beast.

If I hadn't taken the time to postpone - not give up, but realize the circumstances we were in weren't conducive to building a company - I'm sure we would have failed. If you're not going to make it, accept that fact, and do what you have to do to get your ducks in a row.

Sometimes "Don't give up" looks a lot like giving up, and that's the hardest part. But if you really believe in what you're doing, you do what you have to do, no matter what that is.

Just my two cents.
Assuming MVC is the right choice for SPA development.
For me you are using the two frameworks harder to prototyping - this is more truth for node, in fact. (this is my opinion, take it on your own).

What I would do in your place is simplify your code. This is, change to ruby and do not use any front end framework (remove angular for now) and just stick with a simple bootstrap integration.
If you like (American) politics, Political Junkie and the Political Gabfest are both awesome.
AppleID does this too.
Yes, that is precisely the problem with Net Neutrality.

We really don't want ISPs to be common carriers. Keep them private and competitive.
Really? Automating turning off AC/Heat when you're not there saves a ton of money and is very low effort. Especially if you don't have a programmable thermostat at all.

I cut my bill enough to cover the Nest in less than 3 months and I purchased it shortly after launch. For me it was the 80% and now I continue to work on fixing the rest of the problems with my AC/heat related costs.
Diversifight – a talk at the diversity hackathon at Spotify Sweden
That's interesting, but it certainly was not one of the largest political debates of its era.

That the situation climate change is in. So it's not a comparable situation.
Hackers Exfiltrating Data with Video Steganography via Cloud Video Services
You don't seem to have thought this through.

Most importantly, smell is not the only reason you might want to get rid of shit quickly, systematically and far from the hands of humans and animals. It is a major carrier of disease.

> I am aware that achieving this on an urban scale would be a challenge, but it can certainly be solved.....

It probably can - but can it be solved to a degree that gives a better net result than the current system? Water is expensive[1], but so are the trucks required to ship sawdust in and shit out of the urban areas that most people live in (>80% in the US) and the rest of the infrastructure required to safely turn it into compost.

1: In some places. In many places water is really quite abundant.

Edit: Also, a cursory reading of https://en.wikipedia.org/wiki/Sewage_treatment suggests that there are several paths for processed sewage to be either, indeed, composted or turned "into fertilizer pellets. This product is then sold to local farmers and turf farms as a soil amendment or fertilizer".
Exercise in a bottle next food frontier for Nestle
This:

youtube-dl: youtube_dl/*.py youtube_dl/*/*.py
zip --quiet youtube-dl youtube_dl/*.py youtube_dl/*/*.py
zip --quiet --junk-paths youtube-dl youtube_dl/__main__.py
echo '#!$(PYTHON)' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl

Might be less confusing if you append '.zip' in the first two commands:

zip --quiet youtube-dl.zip youtube_dl/*.py youtube_dl/*/*.py
zip --quiet --junk-paths youtube-dl.zip youtube_dl/__main__.py

When you echo the shebang overwriting the file, I was thrown off. I'm thinking,
"Why did you just zip all those contents into the file to just throw them out?"
Then I see the `cat` line, and it makes sense that the `zip` command appends
the .zip to the end of the file.
It's a fantastic book for getting your mind used to the functional way of thinking.

I'd also recommend JavaScript Allonge on the same topic. https://leanpub.com/javascript-allonge
Nice post. I loved my CoCo2 back in the day. I doubt their enthusiasm will last if they have alternatives, but it is fun to see the exploration, even if it is just for a little while. Planting the seed is important.
Penrose Tiles, of course:

http://mathartfun.com/shopsite_sc/store/html/PenroseTiles.ht...

The online shop for the new Museum of Mathematics in NYC has some of fairly cool stuff, also:

https://shop.momath.org
Aereo loses battle, cord-cutters may win war
How to make a line chart in R, step by step
Wait until your thermostat wiring goes bad.

With a combination of hard-to-modify interior walls and an open plan design where wall-mounting often doesn't make sense, going with wireless thermostats was an easy choice.

Now the thermostat in the main living area can be moved depending on whether we are using the wood stove, and the kitchen thermostat that was always too far from the radiators and too close to the oven can be placed where it actually keeps us comfortable.

Unless your house is new-ish and thermostat placement was carefully considered, the benefit of being able to easily move a thermostat and experiment with placement can be enough of a benefit to justify relatively expensive thermostats.
"Those cultural norms are not written into any of the faqs or guidelines "

Cultural norms usually aren't, that's why they're culture.
Most important link in this thread.
Personally, trying to automagically cache controlled at the hardware level has... issues. It far too often is/becomes a leaky abstraction.

The problem is that hardware is too inflexible. And trying to explicitly manage things in software, that is from the operating system, has other issues. It's expensive, both in terms of time taken for the context switch / etc - and it tends to wipe out a large chunk of cache too.

Modern processors are mainly cache, in terms of die area. There's plenty of room for adding new bits and pieces if it helps speed things up.

So, what's between the hardware and the OS? Well, what about an FPGA? So you have the hardware read cache if present, but have the FPGA make the decisions about how to manage the cache. What to keep, what to toss, that sort of thing. This FPGA could also be used for basic system calls / scheduling, and perhaps even for specialized disk access (read: something like "this process can read in this range without consulting the OS") (As OS time can be most of the latency when reading from an SSD.) - with a system to fallback to a full syscall if necessary.

You could perhaps even implement the branch prediction unit in the FPGA.
>> "But all these reports are not going to reach the actual user."

I think it might. It was one of the top headlines on the evening news in the UK and the main message was to users - change your password. How many acted on that I don't know but the reports certainly got out to regular people.
In some cases, a Nest may not be a good investment. However, my home was built in the late 1970s where energy efficiency was not in the builders lexicon. I literally cut my electric bill by 50% with the nest vs the dial based thermostat that was included in the house. This paid for both of my nests in 2 months.(upstairs and down). Since then, I have saved that amount consistently all summer. Now I live in Houston, so saving AC as much as possible is a huge boon for me.

However, when its cold, I notice little to zero benefit from the nest. Keeping my house warm takes significantly more energy than keeping it cool(our AC units are relatively new and efficient, as is the furnace. However, the hot air just leaks right out of the ceilings into the air...

So IMO, there are cases where a Nest is worth it, and will pay for itself. ymmv though.
Maybe. What I maybe didn't make clear, though, was that this wasn't a one off thing: I had to manually spin it up every time I turned it on. After the first couple of times I didn't bother screwing the cover back on, and occasionally I'd leave it off to show friends...
My Amiga 1200 is still working. I had souped it up with a VGA adapter, a 68040 card, amongst other things. I had to adapt a PC PSU to feed it the necessary power after that.

It has been with me to Japan for 6 years. I forgot to reset the voltage from 110v to the UK's 240v and the magic white smoke from the capacitors escaped the PSU.

But the Amiga itself survived to tell the tale and is working happily with the new PSU ;)
The results are actually pretty impressive, but the player seems to be broken for me; I have had to manually download everything.
There is also a similarly titled, much longer (92 pages vs. 29 pages) introduction to tensors by the same author, also hosted by NASA, and released ~3 years later: Foundations of Tensor Analysis for Students of Physics and Engineering With an Introduction to the Theory of Relativity

http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/2005017...

The pdf.js in my Iceweasel 31.2 seems to be choking on the pdf document, though it looks fine in other readers.
I'm really disappointed that not only is this article on Hacker News, but it's currently at #1. The article contains almost no substance at all.

Angular's a controversial topic. So if you're going to write a long blog post picking a side, you really need to back it up with examples and offer alternatives. The six part "detail" posts aren't much better.
My thermostat recently died so I had to replace it. Looking at my local Home Depot and Lowes, I could spend $300 for the Nest or $24 for programmable weekday/weekend device. I would have been happy to pay a premium for better technology, but a 12x premium was more than I was willing to go.

Additionally, the Nest would have only been used 3-4 months of the year. I live in the dry southwest and I use (and prefer) evaporative cooling. None of the all in one thermostats can control evap coolers. If Nest wanted to innovate, they could build a remote control box to add this functionality, then I might consider it a better value.
Anyone who calls themselves a hacker needs to read this to calibrate their definition.

This guy - he's a hacker.
The Shrinking World of Ideas
Isn't every era?
What are the criteria for approving an "approved hiring manager"? Exactly who does the approving? I work in a small pond, networks overlap, discretion is vital.
>I don't see myself spending over $100 for a thermostat. Ever.

If my thermostat could figure out the ideal time to heat and cool my apartment to maximize my comfort and minimize my cost without me having to mess with it, I would gladly pay $100 for it, even if the savings were less than the cost of the unit.
There are downsides to keeping them private that are apparent to most customers of Comcast/AT&T/Time Warner. Nor has there been any indication that the private nature of the telecoms has served to act as a buffer against federal intrusion. If anything, the monolithic and centralized nature of the ISPs has made it easier for the intelligence agencies to get what they want.
I wonder how this system will do with arm fatigue (commonly called "gorilla arm"). This problem plagues touch screens, and based off of Pinc's demo, I worry about it here as well. Still though, I'm rooting for the team - I've been dreaming of something like this for a long time!
I wonder though, could a regular user create a lot of watches and "overflow" the inotify "queues", then just 1 harmless change in /etc/init.d could bring down the system?
Former Tinder Employees to Launch Direct Competitor Called Bumble
The author indicates the watcher also follows /etc, so any files written there could cause this as well.
>it is content that you already have a right to see //

You have opportunity, that's not the same as a right. The content supplier is under no obligation to provide content to you, ergo no "right to see" that content.

That said, personal time-shifting and format-shifting should IMO be a normally allowed part of the copyright deal.
It's not perfectly clear whether "dyads or matrices" means "dyads, which we also call matrices" (wrong!) or "either dyads or matrices" (right, kinda!), which is why I picked on a slightly later bit of the document to support my accusation.

It's also not perfectly clear what the author really means by saying that not all matrices "are" tensors but all tensors "are" matrices; this is part of what he says is summarizing previous remarks but I don't see any previous remarks addressing the point.

The usual answer is to say that a tensor is a matrix that "transforms correctly"; in something closer to puremathematicianese, what this really means is that we're looking not exactly at matrices but at functions from coordinate systems to matrices (i.e., you plug in the coordinate system you want to use, and out come the components of the thing-that-might-be-a-tensor as a 3x3 array), and that what you've got is a tensor of a particular kind if and only if the way in which these numbers change as the coordinate system does is right. But at this point in the document he hasn't said anything remotely like that. He does eventually mention it but not until the very end, where he seems to think he's getting it as a consequence of some other definition -- but unless that definition is the (definitely wrong) one that says the only tensors are tensor products of vectors, it's not clear what it is.

(It is in fact possible to define tensors in another way that's neater and coordinate-free, and derive the transformation rules as theorems. One way to do this is closely related to what this document does, but instead of (wrongly) saying that all tensors are tensor products of vectors ("dyads", etc.) what you (rightly) say is that all tensors are linear combinations of tensor products of vectors. Er, and their duals. And you actually have to say what all that means, and it turns out to be a rather elegant bit of theory. Perhaps that's what this document is gesturing towards, but it really doesn't do more than gesture.)
I had never read much Elon Musk before but I am incredibly impressed with his Elon Musk's eloquent Elon Musk is. This deal is undoubtedly good for Nevada. These tax incentives always seem to me to be a zero sum game. They benefit large corporations who have the ability to negotiate with states at the expense of smaller corporations who do not have that ability. In essence they cause small corporations, or individuals to subsidize large corporations.
I'm not sure if it's still the case, but SourceForge used to have an approval process to get a new project / repo set up, which defeats a lot of the utility of GitHub for being able to store whatever projects you want to toss up there.
Maybe I'm old fashioned but Angular just does too much for me. In fact many frontend frameworks simply do too much for me. I like to structure my web applications in a very minimal way.

I like having one layer that covers the UI display and UI events. This layer does nothing beyond styling, setting up the UI and using messages to pass back events in a generic way.

My business logic handles generic events. So say I have a button for saving, in my UI layer it registers the click event but then sends a generic message with a payload that is simply "Save". The business logic then saves it. This let's me drastically change any of the UI with zero affect on my business logic.

I wouldn't recommend it yet for production (very early) but I'm working on a small library that does much of this messaging and binding of messages directly to DOM objects. https://github.com/KrisSiegel/msngr.js
I'm a bit out of the loop on this stuff, but isn't this kind of thing (bulk-rewriting stuff in /etc) exactly what configuration management systems do in their normal operation?