skysight-inc/HackerNews huggingface dataset:
I can attest to this. C++11 is amazing. Pseudo type-inference with the "auto" keyword, specific "nullptr" rather than null being conflated with an int, smart pointers, list initializations, for (elem : lis) loops... an actual hash table implementation that isn't backed by trees?! Is this even C++ anymore?!

I've mostly written scripting languages until C++ but man C++11 has made the transition way easier. A lot of small stuff that makes your day so much better. Some big stuff that also makes your day better.
Cool question. My theory: I think it's because they have phenomenal market penetration- so many people use Google search, Gmail, Google Maps. The term Google (to me, at least) elicits a microcosm of the Valley at large. Do they have the most employees, or the most political will? I'm thinking of "Washington" as the shorthand for "USA", or "Wall St." as shorthand for "New York"... maybe I'm wrong, but it's an interesting thought experiment to sit and evaluate all these "X is the default shorthand for Y" statements that get thrown around.
Oh, sure. I could see how a regular person would think of all those things as simple things, and why you'd see that as an obstacle to adoption or progress.

I don't think we'll be seeing optimized 3D dual-link display drivers from nVidia any time soon.
From Chapter 11: Compilers and Tools in release notes:

11.1. GCC Toolchain

In Red Hat Enterprise Linux 7.0 Beta, the gcc toolchain is based on the gcc-4.8.x release series, and includes numerous enhancements and bugfixes relative to the Red Hat Enterprise Linux 6 equivalent. Similarly, Red Hat Enterprise Linux 7 includes binutils-2.23.52.x.

These versions correspond to the equivalent tools in Red Hat Developer Toolset 2.0; a detailed comparison of Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7 gcc and binutils versions can therefore be seen here:

https://access.redhat.com/site/documentation/en-US/Red_Hat_D...

https://access.redhat.com/site/documentation/en-US/Red_Hat_D...

Notable highlights of the Red Hat Enterprise Linux 7.0 Beta toolchain are the following:

- Experimental support for building applications compliant with C++11 (including full C++11 language support) and some experimental support for C11 features.

- Improved support for programming parallel applications, including OpenMP v3.1, C++11 Types and GCC Built-ins for
Atomic Memory Access and experimental support for transactional memory (including Intel RTM/HLE intrinsics, built-ins, and code generation)

- A new local register allocator (LRA), improving code performance.

- DWARF4 is now used as the default debug format.
A variety of new architecture-specific options.

- Support for AMD family 15h and 16h processors.

- Link-time optimization support.

- Enhanced warnings and diagnostics.

- A variety of new Fortran features.
The "difference" is in your values, not in the responsibility of governments.

You value acquiring physical intelligence. You do not value spiritual exploration. FWIW, MDMA is not "bliss" and it's not "short." It's longer than your average horse-ride, and it's much more complicated than simple bliss (as I've read in numerous reports on erowid.org)

It is the government's responsibility to protect us through sharing appropriate information [1], not to ruin our lives through imprisonment when we undertake solo activities with no risk to others.

BTW, I'm not even an MDMA enthusiast. I just don't feel like it, too busy, but for those who want to, I just want them to be safe, have their stuff tested, etc.

[1] So, why are articles like "Death rates from ecstasy (MDMA, MDA) and polydrug use in England and Wales 1996–2002" [2] only available through a paywall!!

[2] http://www.ncbi.nlm.nih.gov/pubmed/14533133
Having been in both camps for significant periods of my life I suspect lazy people make up a very similar (if not larger) portion of "haves".

I don't think the GP deserves a measured response. I think the comment deserves outrage, but I get your point. I certainly get hyperbolic.
Ok, if there's a way to be absolutely sure that every participating phone, ring, watch or badge is impossible to copy then this is awesome.
How to Make New Google Map Responsive
4.8.2 it looks like
> "Even using conservative, realistic estimates... it's still possible that organisms could be swimming around out there in the oceans of Europa," she said.

ALL THESE WORLDS
ARE YOURS EXCEPT
EUROPA
ATTEMPT NO
LANDING THERE
Title: "Never create Ruby strings longer than 23 characters"

Conclusion: "Don’t worry! I don’t think you should refactor all your code to be sure you have strings of length 23 or less."
Ask HN: Is Twitter CDN working for you?
For about 2 days now, the CSS and JavaScript files from abs.twimg.com take forever to load. I've tried different internet providers with no luck. At first I thought it was a Firefox issue after upgrading to version 26, but then I've discovered that it was working on Chrome only because the resources were loaded from cache.

I'm curious if this happens all around the world or if it's something related to my region(Romania).
Microsoft considers free versions of Windows Phone and Windows RT
My Co-Founder is not the gender I would choose to sleep with.

Having gotten in bed with a co-founder in the past I would say this article missed the more important rules.

Don't date in the workplace, and don't work in the datespace. You have to compartmentalize your relationship. Don't talk shop over a candle light dinner, and don't talk love/sex/relationship in the office.

Don't get viewed as a unibrain. You need to be in sync, but you need to be viewed as two people. It is easy to get viewed as BrianAndJen all one word, all one person.

No pet names in the work place. You can't be like "Hey Babe, can you get me those TPS reports".
The license is the critical feature: the open source version is available under GPL and LGPL. Beware of the implications for iOS development with GPL/LGPL (have to distribute source or .o files for your application).
It's 4.8.2
Personally I think "doesn't work like Eclipse" is a good thing. If you don't mind trying again go to http://www.jetbrains.com/idea/documentation/migration_faq.ht... first. You will also find CTRL+SHIFT+A combo useful - it's a fast search of settings/actions.

Properly set IntelliJ will boost your productivity many times. It's just an investment if you migrate from other IDE. I like to think about it as something similar to migration from crappy unit testing solution to a better one - it just pays off after some time.
Destroy the Agile Clubhouse (open plan offices and teams)
My spine has become crooked since I stopped lifting for a while, it's actually quite pathetic. The only thing that sorts it out and relieves the pain is core and lower back exercises. Fortunately these are the most accessible exercises: you don't need machines or weights. One thing I like to do is go to the gym and dangle from the tall pull-up bars, completely relax my muscles and let my spine decompress and hang. Then, I do a rowing/pedaling motion with my legs while I dangle, as well as do high kicks. I have to keep doing it, though, if I don't go every alternating day my back will be crooked and painful once again.
So in a sense, based on reviews and discussions of other professionals who have used the tools, it is a platform for these entrepreneurs to figure out what tools are efficient/effective for their needs to build a company/work on projects type of deal? If that is true from my understanding, I think it is pretty neat!
> Improved Application Performance and Isolation. Run applications in isolated and secure lightweight containers utilizing SELinux and resource management. Linux containers provide a method of isolating a process and simulating its environment inside a single host. It provides application sandboxing technology to run applications in a secure container environment, isolated from other applications running in the same host operating system environment. Linux containers are useful when multiple copies of an application or workload need to be run in isolation, but share environments and resources. [1]

Looks like there is a major shift in that they will support containers out of the box now. Hopefully we will see some type of GUI to create containers and manage cgroups. There has also been major effort assigned to getting containers working with OpenStack and Docker. You can manually download/compile LXC today, on RHEL 6.4, but it seems like a bit of a hack, since you need to figure out networking and LVM on your own, never mind building base container images. Should be interesting.

[1] https://access.redhat.com/site/sites/default/files/pages/att...
Nice self righteous racial stereotyping there - thanks.
This Website Wants You To Spread Love By Trusting The Internet
Wow, I can't believe there are people like you around. Your comment is nothing but negative. What do you consider a positive story ? How did he reduce it to a game ? What are you talking about ?
Neo4j 2.0 GA - Graphs for Everyone
Forget Safari: Here are the best 5 browsers for iPhones and iPads
It's not a surprise. Other BRICS are on the same road.

Russia and Brazil more explicitly.

I'm homossexual and live in Brazil. We have the highest rate of homophobia related crimes of the "civilized" world.

Moral aggressions are very common.

Just like in the USA, fundamentalist christians are pushing the government against all the progress we have made in the past decade.

I fear for my rights and my safety.
> ... or continuing their other illegal activities and get taken down by the police.

Yeah sure, just as they are being taken down right now. Haha, they even made you consider to change the laws on their favor (yeah, if you think you came up with that idea, think again).
Also, implying that bad guys care about police/law/wrong/right...
allocation of the RString (which becomes larger and thus more difficult to malloc), and the 23 string bytes that will sit unused for longer strings.

I got the distinct impression (backed up by an actual code snippet defining the max embedded string size) that the 23 byte limit was calculated to exactly match the size of the data that would otherwise have to be stored for a heap string anyway. Thus, it doesn't actually take any extra space in the struct, and those 23 bytes do not go unused in other strings.
OK. Those are on our to-do list.
What Does The 2013 Say? Remix & Colab of the top videos of 2013
Love your passion. I see nothing mixed about your feelings. :p
Ironically (given the context it was brought up in), my answer would be privilege.
#NoManagers and inclusiveness
Actually, my comment needs to be understood as an answer to the OP's title "Never create Ruby strings longer than 23 characters".

I understand that there's many places where strings are shorter than 23 characters and I never meant to say that this optimization was superfluous. I actually think it's pretty clever.
I run a forum (historic vehicles) members donate to see additional content, mainly old posts and bigger images, this is the primary income. Our recurring income is in that range.

Certainly not hi-tech but valuable to our membership and increases by at least 10% each year.

We don't run any keyword advertising but in the past year I we started selling advertising space in 12 month plans which has supplemented income.

Facebook has taken a bite out of our daily posting figures but it has made no difference to traffic/income. Facebook can't compete when it comes to delivering old content.

There are several associated niches to ours which don't have a centralised web site, much potential, you do however need a good knowledge of the subject matter and time to build the community.
Not a big concern, few people who make an effort to use a standing desk are going to end up standing for too long, as they will take breaks (get a stool). It's far more likely the average person will sit too long since the symptoms of excessive sitting only appear later on; the actual time of sitting will feel comfortable and people go 9 hours a day without taking a break.
Who needs more than 23?
Last I checked (October) I could not get the build.gradle to play nicely. Most of the other material online involved using instrumentCompile to trick Android Studio into running your unit tests and a custom runner/plugin: https://github.com/JakeWharton/gradle-android-test-plugin

If you have gotten it working in Android Studio, I'd be very keen to see how (if you are willing to share).
Because their customers are pissed off, and if they don't do something to mollify them, they'll lose money.

Previously, when the customers didn't care, they did nothing to involve themselves with this, and almost certainly aided the government.

It's purely business. Google and Facebook don't have morals, they have a bottom line. You can understand their actions by following the money.
Man, if only all the minorities and women would learn how to code, they'd be fine, just like me.

/s
If you're interested, we have a TodoMVC example for SAPUI5: http://todomvc.com/labs/architecture-examples/sapui5/
Taming the Beast of Garbage Collection Flag Doom
Nobody is talking about C's insufficiency for programming. When doing anything C is enough just like any other Turing-complete language.

You'd been saying that in your humble opinion system programming in Java is no harder than in C++, which is something very alien to my experience of actually programming on the system level (as same as your performance claims but I am not even going to get into this one. Last time I did a Java programmer told me that a Java program that is measuring as 4 times slower is running "on the same level", whatever that means).
SAP (or Salesforce or whatever) comes in. Client wants new tech, but keep the business process the same. Lots of wasted money, tears, and anger. Client adapts business process.

The problem is that most enterprise do not reach the last step.
Satire? We can only hope
----In that little instant of waiting for Timmy’s snap, Cindy’s undivided, absorbing brain is trained on her phone. Nuclear sirens could be going off but she has six seconds to see Timmy’s message and then it’s gone. Forever! That was your chance, Cindy. Everyone knows you can’t recover a snap!

Better pay attention. (Gulp.)

Now compare how easy it is to tune out advertisements on other sites. “Thirty seconds until your video loads.” Alt-Tab. “Promoted Tweet.” “Sponsored Post.” Ignore, ignore. Instagram ad, Pinterest ad. Scroll, scroll. Hey, did you get the new adblocker?----

Sudden realization. I don't use snapchat, but if this is how it works, it could be a double edged sword...People would start to ignore snaps from people they don't dim important or don't want to look the snap from.

The ads, should then be directed to snaps from people I'm interested in...
If IDEA 13 supports that, then great! Would love to see a blog post describing your setup.
yep, spot on - appreciate it
I have mixed feelings, specifically, about the bus blockade. It hurts the wrong people.

I love technology and there are a lot of wonderful people in this world, but I hate what has been done to it, mostly by MBA-culture outsiders who'd be better for the world (and make more money) as passive backers, but their ego gets in the way and they have to act as an executive caste.

"Business" should be about creating value for all (including oneself) and not about wielding and accumulating power.
This comment is also 23
private message/ping
I had this same discussion with an ex-colleague and he pointed out that if you managed to drive away all the lower paid workers, then who would clean your streets, stock your supermarket shelves, put our your fires and catch those criminals? He made a very good point.
I believe the real answer to all drug problems is to run the world in a way that is bearable and interesting without the effects of drugs being necessary.

If crack addicts had water slides and massages, would crack still be interesting? Mainly crack seems to be an escape hatch from the brutal realities of incomplete urban life.

Putting a water slide on every block and other nice things is easier said than done, I know. But we can start making the world into the kind of place where crack isn't attractive and we can do it cheaply with inexpensive and free activities like singing, dancing, story-telling, campfires, etc.

I know, I sound like a fucking boy scout troop leader, but this kind of wholesome stuff can be good for us, doesn't depend on corporate culture and is likely what out bodies and minds evolved to perform well. We don't have to criminalize drugs, just make better things for people to do.
I don't know why apache says freeBSD, but i'm pretty sure that the server is running DragonFly
Pilots and other staff appear to have HSPD-12 identification badges, which are a lot harder to fake than buying a uniform online. Surely you've seen airport/airline employees swiping their badges at security?
> When programmers don't know

They did know. And there are many more cutoffs than powers of two, depending on storage backend.
> but rather that the cost of the short string is also added to the long string

The key point is that for short strings, you're not adding it to the cost of the long string, but instead overwriting the data that you would track the long string.

In other words, the memory layout you get is this:

short:
[Rbasic]['s', 't', 'r', 'i', 'n', 'g', '\0']
long:
[Rbasic][ length ][ dataptr ][capa or value]

Which leads to another interesting question: How does the optimization interact with null in the middle of short strings, since only long strings have a length stored? Does Ruby check for embedded null when creating a string, and disable this optimization?
Yeah they're a big company, but there are other big companies. If the press is out to "get" Google or merely is catering to an audience that would click on any headline with the word "Google" in it, that doesn't mean that they are right or that their reporting is accurate, and there is no need to try to twist reality to suit them and needlessly blame the victim.
Because of this line:

#define RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1))

23 wasn't chosen, it was calculated to be the size that would be required for a struct describing a heap string, and will actually be a different number for different architectures. Choosing to make it bigger would add unnecessary overhead to the RString struct.
Set up 2 GA accounts, then in your embed give even IP addresses version 1, and odd ones version 2, then you can track 20M pageviews. Admittedly it's a little rubbish. Guess you could use the API to combine them again for your own backend use.
What an interesting read.

I'm glad there are incredibly smart people like him challenging the programming status quo.

My favorite quote:

"I always do, not just dynamic stuff when I give a talk, but I do stuff that I'm interacting with on-the-fly. Because that is what the computer is for. People who don't do that either don't understand that or don't respect it."

We have major issues with creating "dumb" and "dead" programs and systems.
Disqus security hole links racist comments to politicians
Racist and offensive comments left on far-right Swedish message boards have been traced back to prominent members of the Swedish Democrats, an anti-immigrant party with 20 seats in Sweden's legislature. Although the politicians weren't posting under their own name, the Swedish newspaper Expressen was able to suss out the posters' identities via a flaw in Disqus, the third-party commenting service used by many blogs. Disqus fetches Gravatars using a hashed version of the poster's email address, which the investigators were able to extract.
Really, CSI? Visual Basic Tracks Killer
It also depends on how good you are in choosing lovers.

Many people a pretty bad at this and break up (badly) every few years.

These problems won't work out for a start-up.

Also, many start-ups fail and moneyproblems can easily kill relationships.

But I know a few people, who are in a relationship and working together for years. They don't make big money, but their companies aren't in trouble either.
http://i.imgur.com/cy8ZpnT.png \o/
My kids are growing up on classical music. It helps accelerate this process.
Oh, right. I see where you're coming from. I think the "executive caste" problem you describe is almost universal. It's a tragedy. =\
Codebrag - code reviews app
It is oddly cruel to see that logic applied in organic meats. An animal might become infected. It might die a very painful and slow death. But to keep organic certification, not antibiotic maybe used on the farm.

Even for animal that will become food, I would think that kindness should be applied. If it is sick/infected, but still useful for meat, cure it and eat it. If not, just kill it. Don't let it suffer.
Fake deaf interpreter at Mandela memorial
American, here. Thank God for Australia. Looks like they're pushing back on US legal nonsense. The primary function of the US legal system is to protect the interests of the powerful.
I live in the part of the country that the article author recommends as a place to go to find work if unemployed. The long-term unemployed persons I know best came out of high school with very limited job skills (barely literate or numerate) and have spent their free time while unemployed mostly pursuing hobbies that do not further develop their job skills. (Some of the saddest cases I know are people who had problems with alcohol or other drug abuse in the early years of their working life.)

Many of those people would indeed be employable in St. Cloud, Minnesota or Mankato, Minnesota in entry-level, manual-labor jobs, but unemployment benefits have, till now, provided enough income to allow living independently without having to go to work each day. I'll see what happens to the people I know best, locally, when the "emergency" extensions of unemployment benefits at long last cease. There are definitely employers in this frigidly cold state that are still on the lookout for willing workers, and I wish well to everyone seeking work. There are probably quite a few opportunities yet available to the people who will look for them.
If they are your co-founder they shouldn't be a bad break up anyway. You have to be pickier about co-founders than lovers. Most people will have more lovers in their lifetime than co-founders.
If you're able to separate your business relationships and personal relationships and keep it professional then why not? The problem with that is it's usually easier said than done.
i am all for SPAs an love angular, but in reality >90% of the web world is still using the document orientated model of 37Signals. That will change eventually, but its a long way to go.
This is a Website
Organic Milk Enhances Nutritional Quality by Shifting Fatty Acid Composition
2013 – DevOps Retrospective
I can think of one more; some sites use referrer to allow you to bypass a paywall if (and only if) you came from search results.

The problem is, all of these "features" allowed by referrers are user-hostile actions.

If referrers went away tomorrow, users wouldn't notice the difference or care. Publishers would get angry and think "we can't milk our content/visitors for as much money anymore!" But that doesn't really change the relationship with the customers who value your product or business so I personally can't believe it will make a sizable difference in the end.
It's 400KB of minified Javascript. Compare with some other large-ish libraries:

Angular: 97KB
jQuery: 90KB
jQueryUI: 87KB

It takes a while to load and compile.
Rlenk Breaks 135 Hour Marathon Gaming World Record on Twitch.Tv
I couldn't have said it better. Is HN mostly filled with bitter, sad and pessimistic little men. Honestly ... This is supposed to be a positive story. I can't believe the comments I'm reading.
Why is that? I don't understand Canadian politics but the main explanation I've read online for this is that it was due to US pressure. But since the US government is allowing Colorado and Washington to go forward with their legalization that explanation no longer makes sense.

Do Canadian citizens just not have an effective way to influence their politics or what's the deal?