skysight-inc/HackerNews huggingface dataset:
Interesting! There are a number of consulates in the area, but for much larger nations: Korea, Portugal, India, Russia.
The standard permits padding structures, but not reordering their members. That's why container_of is necessary (to avoid constantly-updated manual offset calculations or writing redundant code). Any implementation that reorders structure members is non-compliant (and likely incompatible with much existing code).

To quote the relevant section (C99 6.7.2.1.13, same wording present in C89):

Within a structure object, the non-bit-field members and the units in which bit-fields reside have addresses that increase in the order in which they are declared. A pointer to a structure object, suitably converted, points to its initial member (or if that member is a bit-field, then to the unit in which it resides), and vice versa. There may be unnamed padding within a structure object, but not at its beginning.

I'll repeat that I consider direct casts to be somewhat idiomatic. Macros are more traditional for offset members.
That's it, I'm running my RAM in a ZFS pool from now on! Now I just need 128GB of RAM to run ZFS... /s
It's weird they have fictitious entries right on crowded areas of a metropolitan city which tons of people look up on their mobile phones every single day. I'd say this is bad UX.
Lenovo supports 32 GB of RAM in Laptops since the W510, that model was out like 5 years ago.
Funny, this occurred to me more than ten years ago (as a result of seeing knoppix, actually) but it still hasn't come to pass. Given the increasing importance of mobile, i doubt many users will sacrifice battery life or laptop comfort for the dubious benefit of having their applications partitioned into VMs.

Using VMs for apps does make sense for some pro apps, especially those with idiotic system requirements and/or copy protection. And obviously for testing.
The US is a tad larger and more politically/legally disparate than Spain; those factors alone make it much more challenging.
I'm taking specifically about linking authorship and Google+ and including photos in search results with names. Google can still make it possible to search by author without needing up search results.
According to TFA, Lyft likely engages in the same tactics. When asked for comment, the Lyft spokesperson denied engaging in a completely different tactic.
Perhaps related to Google's Map Engine tools? It appears to be a layer on top of the base map, though maybe it was part of their Partner Program: http://maps.google.com/help/maps/mapcontent/basemap/index.ht...
Cause of ALS is found, Northwestern team says (2011)
That would be supported by the use of "Bend" to label the diagonal bar in the third flag:

https://en.wikipedia.org/wiki/Bend_(heraldry)
Stross says Gliese 581c on the grounds that it's the closest currently known vaguely-habitable exoplanet. Most likely there are others closer and we haven't found them yet.

Probably not Alpha Centauri since it's a binary system.
In computer science, the later approachability comes from people finding ways to use the work, and eventually we get to the point where the people using the work aren't specialists anymore (one of my professors used to say that if you're the first to do something you're a scientist, if you're the second you're an engineer, and if you're the third you're just a technician). With modern art (my impression at least) is that the art is contained in the commentary on society and the dialog with other contemporary artists, and that will never become more relevant or approachable, you'll just need to be an art historian to understand it in a century.

That said, what I find approachable is not a terribly important criterion for art, I just found the it irritating that the actual art was in the process but the context of being in a gallery suggested that the artifact was the art.

(For what it's worth, I also find theoretical computer science papers that produce unimplemented and likely unimplementable algorithms which shave log factors off existing bounds irritating as well, but that is again a matter of personal taste - those at least might give some later researcher a hint about how to actually build a usably better algorithm, though.)
3D Printed Concrete Castle
Flags made up from geo shapes. The blue areas are lakes, yellow is beach. If you go into Google Map Maker you can do stuff like this, but that it got past some type of approval from a mod seems like a real cock up.

This deep-link shows the "East" object, which is a lake: http://goo.gl/zRoZqS

edit: Upon further digging, there is either a group of people or some automation involved, as they've not only submitted these new features, but managed to gather enough upvotes that they seem to have snuck through the system as I can't imagine this getting by any standard human review.

I've reported the shapes as spam, but when it's this easy to get something silly through in the middle of San Francisco, you have to wonder what else has been changed over the years.

edit2: Do yourself a favor and check out how many of this user's edits have been approved & published: http://www.google.com/mapmaker?gw=66&ptab=1&uid=209018779364...
I created another such implementation which is coroutines and channels but with the aim to be able to build an almost malloc-less applications.

https://github.com/baruch/libwire
Technically, affine.
"However, the study authors caution that their analysis doesn’t account for health attitudes in different states that might explain the association."

As the article suggests, correlation does not equal causation. Looking at this map: https://en.wikipedia.org/wiki/File:Map-of-US-state-cannabis-...

one can imagine numerous other reasons that might lead to differential rates of painkiller (ab)use between states. Socioeconomic status is fairly clear to me (states with higher status are more likely to have medical marijuana), other correlations are a bit more of a can of worms.
Linux Command-line Journey Day-5
Love ember!!, if you ever worked on iOS and Android, you will love it. there is actually no difference between modern MVC frameworks!!
Those books are at the Internet Archive you know. It even says so in the article.
A habitable plainet would require a vaguely Sun-like star. Odds of one hiding between us and a. Centauri are low. Gleise or a neighbor are best bets, and near exoolanets are also generally easier to spot.
Airbnb still has a spammer in charge, which shows that the tolerated level of sociopathy is way too high for this incident to have any consequences.
I've wondered the same - why don't we make artificial gravity up there? The best answer I can find is experts saying, "What's the point, after all the trouble of getting to space?"

The point is, living in zero-g is destructive to humans. Living in even 1/3 g makes a lot of things a lot better ... and a space station with a zero-g part as well as a small-g part would have the best of both worlds.
World's First Spray-On Cloth
Get unfascinated, because it's easy to spend $100k on a kitchen. I don't know how close we just came to that, but it probably isn't far. I would be embarrassed by the cost, but the stuff that dominates that cost is so basic that none of it seems extravagant. Kitchens are just expensive. In order of cost significance:

1. We demolished the entire HVAC stack, including knocking out an old chimney, and replaced a furnace and hot water heater. The new appliances were nice bonuses, but were a rounding error compared to the labor. That work got us a range hood sufficient for our new stove.

2. We tore the kitchen down to the studs and replaced the windows and backdoor, and created a pass to our dining room.

3. Cabinets. Holy fuck are cabinets expensive.

[ huge dropoff in expense happens right about here ]

4. We had an architect plan all the details of the renovation, which sounds silly except (a) the kitchen is better as a result, (b) it prevented us from fighting over feasibility of things we wanted in the kitchen, and (c) it made it easy to get permits.

5. New appliances. For normal people, you'd have to work pretty hard to find reasonable appliances that would significantly impact the cost of a new kitchen. It's not the "professional" appliances that make kitchens cost $100k.

6. Countertops (we wanted something cheap that ended up not working out, so this turned out more expensive than we planned).

7. Tile.

We live in a not-particularly-expensive part of town (there's a significant amount of section 8 on our block, which is directly adjacent to the West Side of Chicago). Our house isn't expensive relative to houses in Chicago. But renovation --- real renovation, not just replacing a fixture and putting in new backsplashes --- gets nosebleed expensive fast.

My impression is that people used to be able to do stuff like this regularly by taking out home equity loans, on the premise that improving the house increased its value and so was a little like investing on margin.

Incidentally: to anyone considering improving a kitchen: get a foot pedal sink. The plumbing for them is cheap (like, a couple hundred bucks installed). It makes a huge difference.
What is wrong or unethical about it?
Yes, I've thought that, too. Just give up on manned interstellar travel, and redefine the Earth as your spaceship. It may be the only answer, but it's a bit sad all the same.
https://en.m.wikipedia.org/wiki/Glass_ceiling
Do theoretical computer scientists despise practitioners? (Answer: no)
Found: The Islamic State's Terror Laptop of Doom
For what it's worth: we just renovated, and we have linoleum floors now. They're great; grippy, still pleasant to walk on, and, most importantly, easy to clean.

You'd need to be way, way overpaying to end up spending mid-5-figures on countertops.
Simple, add an optional human significant "ultra" version (better name suggestions welcome) to indicate a philosophical version upgrade consistent with how major versions have historically been used (as marketing communications).

E.g., 1.1.7.0 or 1.7.0 are equivalent.
Depends what you mean by "just a matter of money".

If you could enslave the entire population of Earth to work full-time on the project for a couple of decades or so then, yeah, you could do it easily. In a world of free will and competing priorities I don't think it'll be possible until we reduce our cost-to-orbit. Certainly there are no big technological show-stoppers though.

As a vague guesstimate, I've read 1km proposed as a minimum viable radius for one of these things. So you'll need a rim about 6km long. The International Space Station is about 100m long, so if you staple sixty of those end-to-end you'd have a minimum-viable 1g station, at a cost of about six trillion bucks. But of course it would basically just be a thin tube, not much living space.

As for asteroid miners: I can't possibly imagine that this is the sort of thing that we're ever going to send humans rather than robots to do.
AWS: What You Don’t Know Can Hurt You
Simple, add an optional human significant "ultra" version (better name suggestions welcome) to indicate a philosophical version upgrade consistent with how major versions have historically been used (as marketing communications).

E.g., 1.1.7.0 or 1.7.0 are equivalent.

[Cross posted from the other thread: https://news.ycombinator.com/item?id=8244920]
I have a relatively simple rule about what is and isn't art. It doesn't have to be everyone's rule--it's just my rule:

Nothing is objectively art; art is always in the eye of the beholder, but it's only real art to someone if they would want it even if no one else ever saw it.

Take a toilet nailed to the wall. If the person who created this thing would have done so if he had known that no one else would ever see it, if he would have nailed the toilet to his own wall at home knowing that he was the only one who would ever see it just because HE HIMSELF wanted to look at it, then it really is art to him. It's not any art that I'm interested in, but that doesn't matter. All art is subjective. It is a genuine expression of his own esthetic desires. It IS art to him.

But if he would never consider such a thing for himself, if it's only part of a show he puts on for others in hopes of getting paid ("it speaks to the inhumanity of corporate greed...blah, blah" he explains greedily), then it's just a commercial product. If it's nothing he would have any interest in without the audience, but it's about getting attention, not money, then it's a publicity stunt, not art. To the artist, it's not art. (If it really is art to the artist, it can ALSO be a commercial product or publicity stunt while remaining art to him.)

And if the wealthy customer would have no interest in it if he couldn't show off his "statement" to others, then it's not art to him, either. It's some sort of signalling, or a commercial investment, or whatever, but it's not art to him. And if potential buyers knew that it was not even art to the artist, what might that mean to them?

Of course, I can't be sure what really is in someone else's mind, but if I doubt that the artist would sincerely want this poo-covered crucifix in his own living room for his private enjoyment, nor that the rich people swooning over its deep meaning would care if they couldn't show off their depth to their friends, it means I'm doubting that this piece of junk is really art to anybody.
Forget "exotic but sustainable wood" and "artisans". Just put the word "custom" next to "cabinet". Five figures. That is what custom cabinets cost.

We were back-and-forth on custom cabinets versus IKEA cabinets. We weren't looking to make a vanity cabinet purchase. We just couldn't get the storage --- particularly the pullouts --- that we wanted from IKEA.

Kitchens are really expensive.
Google "Map Shows Most Racist People On Earth".
http://www.washingtonpost.com/blogs/worldviews/wp/2013/05/15...
This is awesome, but off topic. Give me a few days to refresh my Verilog, and I can design you a 16 core CPU; this of course says nothing of the quality and performance of that CPU.

I don't mean to bash Parallax but to make a point that making an N-core processor is itself not impressive. Making an N-core architecture that performs like this is.
This has some more information:

http://www.ninds.nih.gov/disorders/amyotrophiclateralscleros...

It references data in the OP.
Handling arithmetic overflow exceptions using checked unchecked contexts in c#
There's a lot of silly stuff in this list. A separate Miele oven? An $8k in-the-wall fridge? A dual dish drawer washing machine? A FIFTEEN HUNDRED DOLLAR MICROWAVE?

You don't have to do any of this silly stuff to rack up huge bills for a kitchen. Like I said: just gut it, and get custom cabinets. Or buy a Lexus. Similar price.
U.S. Hikes Fee to Renounce Citizenship by 422%
Hey, another vote for that Bosch dishwasher. It rules.
Directives and scopes may be somewhat tricky concepts but they are not "bug ridden."

Do you want composability? Write a bunch of element directives and nest them -- it'll end up looking almost exactly like React's classes and components. The main difference is that in React you throw away MVC and replace with with a big ol' render() function that spits out "HTML" (well, a shadow-DOM version of it anyway)

Scopes are just objects that use prototypal inheritance to
inherit from outer scopes. Create an new (isolated) scope in your directive to isolate data to that component and its subcomponents.

Also, using AngularUI Router is essential.
I agree re container_of and I put it in initially, but then saw tyletreat's "not quite C programmer" and took it out. I remember being majorly confused by this struct-by-field recovery way back when I was just starting up with C.
This is an old article from 2011. Nevertheless, it was a breakthrough paper done by a team that has worked with ALS research for a long time.
Depends on what your're playing. The flight-sim I play (Prepar3d) will use every core you throw at it.
Pitch Decks for VCs You’re doing it wrong
Browsers expose a large number of well-defined APIs to web pages! But breaking backwards compatibility for those is very rarely acceptable.
Great initiative by Indian regime. I hope they've will and wisdom to breach http://india.blogs.nytimes.com/2012/07/12/at-a-sperm-bank-in... and http://india.blogs.nytimes.com/2012/12/17/indias-200-million...
not opening
Name that $180 AMD processor before you imply objective superiority. The $180 Intel processor is probably as fast or better. Keep in mind, Intel's $1000 processors aren't meant to be 5x as fast as the $200 ones.

Intel has had better performance per watt for years, and an "8 core" AMD processor and "8 core" Intel processor are not equivalent.
This thing supports 8 DDR4 slots. Finally we are moving beyond 32GB RAM limit.
I would say align yourself with your long-term career goals and the team that you were offered to work with.
For instance, if you would like to start of your won soemtime, working in a small team can benefit a lot.
Not one hiding between us and Alpha Centauri (which is unlikely), but one of the hundred or so stars between us and Gliese 581.

Closer exoplanets aren't necessarily easier to spot, we've spotted those around Gliese 581 because they have a nice short period of a few days.
If Someone Handed Steve Jobs a Pen, This Is How He Would've Sold It
TODOs are presented in task lists, etc, by many IDEs. For me, they're included in my workflow, not forgotten.
Gamification is about changing behaviors by allowing people to do that in a gameful way. LinkedIn uses a progressbar to nudge people into sharing more information. Some people get really into it to get the progressbar up to 100% and feel competitive.
A progressbar caters towards the fun motivator "Achieving a sense of completion." So this examples points in a right direction, though you could make it a nudge more gameful, e.g. by using whimsical percentage titles (80% = Writing Hero) etc.

BTW: if you want to learn more about progress bars as used in gamification, check out our Enterprise Gamification Wiki: http://www.enterprise-gamification.com/mediawiki/index.php?t...
Is there any plan to abstract away the need to handle drawing the widgets yourself, and provide layout functionality?
DICE is one such developer. BF4 scales pretty well across cores, and so should any game that uses that engine unless crippled artificially. There are other developers as well but most make console only games (Killzone, Uncharted, etc... are all heavily multithreaded).
Why Vox Media Took on SavedYouaClick Over Tony Soprano Spoiler
DoulCi Bypass Activation for iOS 7 and upper versionsiPhone jailbreak
I would hardly consider negotiating with authorities "being loose with their money"...
DoulCi Bypass Activation for iOS 7 and upper versions
I'm not going to claim that I know one way or the other (I think it's pretty difficult at this point) but here's another data point, http://humanrightsinvestigations.org/2014/05/12/pew-poll-cri...
71 comments so far and only 2 people actually answered the question and they both said the same company: Circle CI.

Personally I'm more interested in the answer to the question posed than a debate on the merits of an open office plan vs closed so if anyone else knows of any other startups that don't use an open office plan I would love to know. I imagine others clicking into this conversation are probably interested too.
I've used ghc-events-analyze to debug production multi threaded software, and even have a wee patch or so in it. (Mostly for things like "why is my map reduce ish compilation not substantially faster on a 40 core computation vs a 20 core one").

It's a really great tool for seeing all the various events in a programs execution! That said, when processing event logs that are >=50mb (which can happen pretty easily), it's currently a bit memory hungry. Though that's something that should be easy to fix once I (or you dear reader) decide to have a go at fixing it. Also Edsko, the author, is a super nice guy and a very responsive maintainer.
My first job out of university was as a developer at www.als.net. In the 1.5y that I was there I saw two of these "breakthrough" studies that got patients' hopes up but amounted to nothing.

I'll withhold my enthusiasm, though I sincerely hope this is one that leads to a cure. It's horrible, and research is underfunded due to its status as an orphan disease[1].

1. https://en.wikipedia.org/wiki/Rare_disease
Uneducated guess:

Military spending hits a sweet spot of being a tried-and-true generator of middle-class jobs, responding to a perceived urgent national need, and also functioning as a sort of insurance policy, in the sense that we're often paying for something not to happen, making it hard to assess value.

A space program doesn't necessarily hit any of these notes. It requires specialized talent, responds to no immediate need, and, perhaps perversely, because you can measure the success of a space program, it's too easy to foresee things going wrong.

I think you could make a similar case for why we don't plow $500bn into curing cancer, which is a manifestly better idea (even just from an actuarial perspective) than spending 10x more than the rest of the word on defense.
SymPy doesn't appear in IPython, but IPython is aware of SymPy if it's installed so you can get nice printing of math in the notebook. Also, why link to the Wikipedia page for IPython and not the homepage?

For most people, I'd actually recommend the use of the IPython notebook for doing any SymPy work as you can get the nicely formatted math and inline plots. If one is doing debugging, then you're better off in one of the Python IDEs.

The PyDy guys who work on the sympy.mechanics module have done some nice IPython worksheets.

The SymPy tutorial that's part of the SymPy docs isn't too bad and there's the SymPy live shell so one can try things out.

While we've mostly moved away from IRC, we're now on Gitter and there's also the mailing list if you have specific questions.

Note: I'm a SymPy developer (and a GSoC 2014 mentor).
I can see it being spun pretty hard as an anti-virus initiative at some point, or a "guarantee you software investment into the future" kind of thing.

Nobody (consumers) really care that it makes it easier for app developers or most of the other benefits, but consumers can be scared into all kinds of weirdness.

Bonus for PC makers, it would give a huge boost to kick off the upgrade cycle again for home PCs. More cores, more RAM, more disk space needed for all these dozens of VMs (each with their own multi-GB OS and software install).

Heck, I know of at least half a dozen people who do a variant of this right now in order to run a single Windows only application on their Macs.
Tell Indian regime to send Officials to every house in India for opening a Bank Account. They've been doing it for registering you as a Voter.
Sure. McCarthy was right that there were Soviet agents in America, and that there was a Soviet threat. But he was not the lone canary in the coal mine, blowing the whistle on Soviet deceptions. He is not known for being the voice of reason when few would believe the reality of the situation. He is known for leading/inspiring witch hunts for Soviet spies, and ruining people's lives based on coincidence and thought-crime. When you say he was "not entirely wrong" without qualification, it is these things that people feel are implicitly referred to by the statement.
Why are you being racist? What's the difference whether someone looked like you or not?
http://plan9.bell-labs.com/magic/man2html/2/thread
It feels pretty grand to consider the prospect of no longer having to debug crashes due to expired QTreeViewItem pointers, or spending time counseling junior team members to check for expired weak pointers.

Qt is excellent for its epoch, but if you've read the source you will know that we should not treat it as sacrosanct. Algebraic types and explicit lifetime declarations and macro syntax extensions could all do wonders for it.
There's a couple of other things you can do. Since those are Python integers, you can specify a SymPy Integer instead with Integer(1)/7 instead. The other thing you can do is S(1)/7. Both of these should work.
HTML5 Picture Element