skysight-inc/HackerNews huggingface dataset:
The articles promise is actually terribly dubious. Firstly, in the real world, name+'@'+domain is likely to exceed the capacity for any SSO anyway. Even the example composition, which is 21 chars, may resort to heap allocation under some implementations. It's a bad solution to depend on it for performance.

Secondly, as you discovered, the current GNU stdlibc++ implementation of std::string will always allocate for short strings. Even 1 byte. This is for binary back-compat and will hopefully be fixed in GCC 5.0. For now try it with Clang and libc++. See[0] for more information and a comparison of current implementations.... the standard doesn't require SSO at all.

Thirdly, and getting to the deeper issue, once the heap is involved the C version is nearly (it needs length params) optimal and will still always be more efficient than the C++ code. Why? The C++ solution uses uses operator+ which is fundamentally performing a different and less general algorithm. For composition it will introduce some amount of repeated work which even the best link-time optimizing compilers probably won't remove, and may, depending on the length of the trailing string segments, and the growth strategy used under the covers, force two allocations. The standard doesn't give complexity guarantees for mutation on std::string at all, so the resulting performance could, on some platforms, be very bad. In all cases you will be able to construct an input that forces more than one allocation (exponentially growing segment sizes).

There's also another efficiency issue in the naive op+ approach... C++s allocator specification doesn't provide realloc() so a portable solution will always use more peak memory, on average, when it is forced to reallocate.

The C++ solution is just using the wrong algorithm for the job. You can write, and I have toyed with[1], a variadic strcat() function that will be optimal in the generic case. The standard library just lacks one. It's embarrassing, but fairly understandable given that variadic templates didn't come in to the standard until 2011. I'm hoping if they introduce one it'll be called scat() :-)

I'm a big C++ fan, but we shouldn't be deluding ourselves here. Fortunately, these things can be fixed within the framework of the current language.

[0] https://github.com/elliotgoodrich/SSO-23/blob/master/README....

[1] http://codepad.org/rkmNTkIn
I am not a native English speaker. I understand it may not be the best natural language out there but I hope you agree that if any language is close to being the universal language on this planet then it is English.
I used to blog in German for a relatively large German portal and stopped because I couldn't stand the commenting behaviour by Germans - where in US/English sites you get 50% joking, 49% niceness, and 1% insight in German you get > 80% nitpicking and complaining, especially hard when we played around and experimented with (un)gendered nouns in German. Killed all the fun for me, Germans are strange.
Apple Planning “Cutting-Edge” R&D Facility in Japan
If you use a CNAME and the www subdomain, CloudFlare allows you to set a CNAME on the root domain.
I think it's a general concensus that a "data mapper" isn't much better than an ORM (obviously a form of data mapper). While you can write a data mapper that is less intrusive than a typical ORM, it's still not as nice as using a schemaless type of store such as JSON.
This is the same economic problem that affects basic research. Open source software is a 'public good' - its usefulness is not diminished when it is used by others, and you can't prevent others from using it.

The longstanding solution to this problem is government support. This might not be a sexy solution on HN, but it is the obvious one.
> more interestingly the crowd sourced OpenStreetMap know about the "promenade".

Not too suprising really. OSM can be updated in a minute to add new features.
The concept is really, really good! I'm curious how they had all these providers let them change users' passwords though, most of them don't have any public APIs for that.
What does your lawyer say about all this? I really hope you've already spoken to one those two months ago. If you haven't, you're a fool and you should talk to a lawyer right now. If you have, what advice from random internet people do you need on top of the legal advice from your lawyer?

It's important to realize that you are not the company. The company has stopped paying salaries, so it is already bankrupt.

Another thing I'm wondering is: if you have such important customers, why is the company not profitable?
I've been looking at vultr alongside a Linode account for development and small website hosting purposes that need a little more customization and server side control than something like a Jekyll blog. AWS S3 is fairly reasonable for hosting small, static sites that get almost no hits besides you maybe ahead of almost everyone because most will charge you for the compute and memory of the web server of the site hosting the content while with it's stripped to transfer and static disk storage, which would be pennies per year for sharing a small collection of pictures with a few friends. I have gigabytes of stuff and it costs me less than a dollar per month on S3. Expensive if you look at Google Drive or OneDrive costs sure, but the utility I get out of it is worth a few dollars per year for me. Also, I like the security I can tweak on my bucketa.

With the HA design you tend to need running on AWS for serious operations (AZs out the wazoo with every other feature tacking on a few dollars at a time), you might as well use multiple cloud hosting providers and load balance across them. Obviously this isn't typical practice, but Amazon's lock-in is pretty glaring when looking at one of the best potential aspects of cloud being that of PORTABLE workloads.
From ~50M people in a large European country

You're forgetting to count everywhere outside of Europe that speaks an European language (besides English, of course).

Portugal has only ~11M citizens, but Portuguese is spoken by 220M people around the world as their first language. Same with Spanish (470M) and French (74M).
Add a pinch of NLP and you can not only set your enemies on a course to hell, but re-invent religion while you're at it.
To paraphrase Don Knuth, "I have only proven it correct, I haven't tested it."

To be fair, he says "likely to be" and results may vary between compilers. He also makes reference to the speed penalty of calling strlen(), which isn't necessary with std:string because it stores the length. Even with more allocations, it's possible the C++ version runs faster. It should have a lower computational complexity, meaning it would be faster if the input strings were much longer than they are in this example.
LeWeb 2014: VC Fred Wilson's hottest trends for 2015
Same with Amazon EC2 - they only support it on their load balancers
Love this description!
Samsung Shares Horrifying Laundry List of Potential Gear VR Risks
Osmarender hasn't been used in years. A new and faster tile service on the main openstreetmap.org website was deployed and that makes osmarender unneeded. Try OSM now, it might be good for you.
Just looking at the numbers of PewDiePie viewers. There are a large number of people willing to watch people just play the game.
Relevant south park video from last week. https://www.youtube.com/watch?v=azsWdFFBlRI
I just finished watching this and 48:58 really blew my mind.
Disappointing how few startups focuses on organic growth, most startups nowadays prefer to clamber for the attention of investors instead.
Great idea in theory, but as you fear I think this would quickly be bastardized into more private military-industrial complex funding.

I would expect a tax-funded OpenSSL to be developed mostly in secret, in cooperation with the NSA, to be extremely expensive to develop/maintain, and to most definitely have backdoors.
same thing here, we restricted our public APIs to native scalar types, and the JNI glue is just a wrapper around these functions. Off the top of my head, we only expose a couple functions to set the native surface handler, get a valid reference to the AssetManager, and receive input notifications.

the Java code base only consists in a single Activity object and a ScaleListener.

We also ended up integrating our android build process in visual studio using a mix of python/batch scripts.

The make utility provided by the NDK is notorious for not being able to process absolute windows paths, so we cannot use the all-subdir-makefiles command. A workaround was to use a simple python script to generate a viable Android.mk file, setting the LOCAL_SRC_FILES var with a list of relative paths to our source files.

In the post-build event of a dedicated VS project, we batch the calls to ndk-build, the ant command, and the final little adb dance.

with the proper file hierarchy (src, res, jni and asset directories), the build process is very smooth.
Look further down in this thread and there are already users in Germany being signed up on DS-Lite. Their only IPv4 access is behind carrier-grade NAT. Anything that wants to make a direct inbound connection and doesn't want to proxy (VOIP, games etc) will need to support IPv6
Liquid Cooling on the Rise as Data Centers Crunch Bigger Data
Do you mean that the approach of DDD feels obsolete or antiquated? I'm genuinely curious...
At least in game development, some of the heads of some of the Japanese companies (Nintendo, Sony, etc) struggle a lot with English.
Location: Florianopolis - SC - Brazil

Remote: Yes, Only

Willing to relocate: No

Technologies: C, C++, Python, ASM (x86 and ARM), Octave(Matlab), Digital Signal Processing algorithms, Linux Kernel, Device Drivers, Firmware Development, Firmware/Hardware Integration, Board bring up, FPGA and VHDL.

Résumé/CV: https://www.dropbox.com/s/oc4k1u08pmbwf0g/resume_english2.tx...

Email: rapphil@gmail.com
Terrible technical setup, we have a dedicated server that can't be guaranteed an upgrade without losing the absolute server paths.
If they expanded this to general products (and in the UK) this could kill my usage of Flubit. I regularly get 10% or more off Amazon stuff through them, but their delivery is nowhere near as reliable.
Two comments about the presentation itself:

1. The color selections on the "Per-country IPv6 Adoption" tab are abysmal for those of us with poor color perception.

2. Since we're talking about replacing outdated technology, why use a Flash-based graph on the "IPv6 Adoption" tab?
Until quite recently I haven't heard of anyone having a problem with supporting v4 only. But that time is ending; the first problem I've heard of is a VoIP provider who has problems with customers on DS-Lite. In about three years it's quite possible that IPv4 has the sort of occasional tunnel/reliability issues that IPv6 had five years ago.

"Google works, so it's not my connection at fault, it must be your site that's broken."

The big reason to support IPv6 now is IMO that (all else being equal) it's better to add v6 support when you roll something out than to introduce it later.
This comment is very confusing. First of all, the linked paper doesn't state what you claim it states. The authors show equivalence between two specific frameworks of neural networks: SVM-NN and Regularized-NN, and not equivalence between SVM and NN. Generally, SVM and NN are equivalent only in the sense that all discriminative models are equivalent. The kernel trick in SVM requires your embedding to have an "easily" calculable inner product. I'm not an expert, but I think this places strong constraints on the embeddings you can use.

Second of all, SVM does not create any feature space (i.e., embeddings). It just finds a good separator with a maximal margin. Deep NNs, on the other hand, do create features in their hidden layers.

Anyway, even ignoring these issues, I'm not sure I understood your main point.
Agreed. Also one can argue that the fact that English may not be the first language will in itself have an effect on the thought process, even if English is the medium used. So in that way we still have some diversity, if only obliquely.
I've never been one to lean on investors as a solution to problems. Its far better to build your company on the basis of the immense amounts of help and good you are doing your customers. If you're not doing that, and its not a principle focus for how you're going to produce revenues, then its not business but rather an academic experiment.

Investment is very important, though, for various big-growth reasons, but mostly to extend reach beyond what the business-as-organism is capable of attaining independently. Better to grow strong by remembering who really pays the bills: true customers.

Too many startups conflate investor/customer in strange ways before they realize there is actually a relevance to how much of the company is your company.
BTW, there's one more gotcha with java maps:

public static void main(String[] args) {
Map<String, String> testHashMap = new HashMap<String, String>();
Map<String, String> testTreeMap = new TreeMap<String, String>();
testHashMap.put(null, "foobar");
testTreeMap.put(null, "foobar");
System.out.println(testHashMap.get(null));
System.out.println(testTreeMap.get(null));
}

This will throw NullPointerException at the last line :) For hashmaps it works, for treemaps not.

Happened on production in my previous company (we used map2.get(map.get(...)) and used null rturned from the inner map to get the default value from the outer. Then we changed to tree maps to keep order when displaying the maps...
How to decorate a website for Christmas?
Aside from the usual snowflakes, that is.
The U.S. Is a Rising Star in Manufacturing – But at What Cost?
Processing large datasets with Doctrine
The retry logic has to be there anyway (you can't sacrifice partition tolerance).
very interesting, I would like to know, programmable in which way? I have already signed up
Try it with -stdlib=libc++, since that's what will control the behavior of std::string.
http://search.dilbert.com/search?p=R&srid=S3-USESD01&lbc=dil...

"I'm gonna to write me a newmini van this afternoon!"
Disclaimer: I work there
We don't use any APIs, we just get in there with a headless browser (phantom) and mimic the user actions to change his password.
Why invent a new marketing buzzword name for what everyone already calls complacency?
> From SEA, you have the whole west coast at your doorstep, but you'll need a car and time to enjoy it

Well luckily you'll have lots of time off from your Amazosoft job... What's the most exciting weekend city break out of Seattle, Portland? SF if you fly, and the selection tapers off after that. Weekend breaks are a lot more fun when you choose from 20 places to fly to for under a hundred.

> After spending 4+ hours in an immigration line the last time I went to London via heathrow, I am probably never visiting there again.

<snarky comment about U.S. immigration> Heathrow is fast with EU passport, though as it happens I agree regarding London as a tourism destination
Research: Large-Scale WhatsApp User Monitoring
Is there a MIT licensed version?
Unfortunately, while government can mostly wrap its head around science though consultation with academia, the state of the art of software is so ethereal and moves so fast that I imagine seeking funding for software will be even more of a farce than it is in the sciences.
Despite English being my native language, I am sorry that it won. There is a lot of ambiguity in it, whether you are writing on technical matters or not.

And what is with this scourge of position:fixed headers lately? I like to scroll with the space bar or page-down button, and the header always slightly overlaps the top of the new page, preventing me from reading a couple of lines.
I wouldn't dream of writing something for the larger audience in portuguese - although I could rehash ideas that are only found in english, in portuguese.

That would be an easy way of getting karma points with my fellow citizens, and learn things better, which always happens when you need to explain something.

I should start doing it.
As a child of German parents I understand completely :-) Even they thought Germans could be a hard bunch.
It's quite simple.
1st - you need to decide what platform do you want to build your shop on (i.e. magento, opencart, presteashop etc. - just google it and pick the one you find best fit for your needs) and where do you want to host it
2nd - make your own theme (or buy it - usually there is quite a theme market coming with each platform)
3rd - get your logo done
4th - get your supply chain sorted
5th - connect card gateway (and/or paypal) to your platform (there are many mods available, some are free and some are paid)
6th - you are on-line, from now on you focus on tweaking (branding, SEO etc.)

Good luck!
Thanks for the feedback. I might remove this if it turns out to be useless.
I went there because i wanted to learn and i did. I also did pretty well and came out wiser, that was the whole point for me. What point did i miss?
Checkout Octopress. It generates HTML pages from markdown and you can host it in e.g. S3. When I hit HN or /r/programming homepage a few times in the past, there were no scaling / performance issues and I paid maybe $0.5 for S3 for that day.
I agree it would make sense, but is the real problem not how to allocate that money?

Who decides how much the Postgres guys get, or if its worth to support yet another NoSQL store? Involving politics seems like a surefire way into mediocrity. How to get around that?
Need to order a cake? There's now an app for that, too
That's the good thing about C. With C++, you don't know what is being allocated, where. With C, it is explicit. You know what's happening if you call malloc.

And this compose function could easily be written in C to take the "addr" as an argument to be filled, rather than provide it as a return value. Then it can be entirely stack allocated. The caller would need to make sure that the "addr" array was large enough of course.

I started learning C and C++ together at the same time a few years ago. I prefer to code in C++, using the standard template library, but there's always this extremely annoying little voice in the back of my head saying, "you could do this more efficiently if you operated on character arrays instead of a std::string"
Looks like he just traded grunt/gulp for browserify which is also a build tool with lots and lots of configuration and plugins and I'd rather be using webpack in that category.

Just switch to webpack and you don't have to bend npm or browserify to your will either.

Relevant presentation: http://adrianrossouw.github.io/webpack-uber-alles/
First, which of the "myths" are "factually accurate" and in what sense?

Second, I don't find his use of "myth" objectionable, in much the same way I (as a scientist) don't find objectionable the use of "theory" to mean "guess" in non-scientific speech (attempting to impose "guess" as a meaning when discussing scientific theories is anathema). This use of "myth" here is fairly common, at least colloquially in America, as a rhetorical flourish in place of "misconception."
Well, you could pass around the object but then you'd have to come up with a new object-literal syntax because `this` won't exist any more, unless you're planning on keeping it around but keeping it lexically scoped, in which case you have to stop using object literals as traits and prototypes.

At that point you might as well just redesign the language from scratch, which maybe you'd appreciate.

Guess I'm just not feeling the hate on this one.
Millennials Do Drive
At least it is at this point in time. German is also so close to English that I'd say it's one of the easiest switches, at least for reading/writing.
My hoster recommended me to install WP super cache to avoid situations when too much traffic kills the site. Gotta do that now.
Newbies can be complacent. Plus it has the flattering word "expert" in it.
Break crypto.
state of js implementations, 2014 edition [audio inside post]
Where do you draw the line though - there have been military remotely operated or autonomous vehicles (munitions, reconnaissance drones, targets) since at least WW2.

Edit: I guess it all depends on the definition of "drone"...
This is the app that all those highschool kids almost killed themselves over right? Hack away, I would say responsibly disclose but this app only hurts people.
True.

Because of this I stopped visiting german websites like Heise or Golem.
Well his VPS account exceeded his daily/monthly bandwidth limit most likely
In practice I have power over my computer but there is no 'allow access to my banking information' button for most of my bank stuff because the banks don't allow it. The info is on their servers and in the most extreme case I have to use a physical security device to generate a code to access it. Dunno if that's the way forward?
This brings interesting question. Is it possible to hack human brain? Will specific set of stimuli make brain react in certain way?
That kind of supports your point though.
Much of C++ can only be understood in the context of C. For example, why are string literals not std::string, and what the heck are null-terminated strings about? In your alternate universe, C++ would be a nonsense language full of absurd design decisions. Understanding C is perhaps necessary to understand why C++ works the way it does.
ooo - I've one for Dublin, Ireland.

http://www.slideshare.net/FrontlineVC/the-irish-tech-startup...

Kudos to people who will post the tech guides for other European cities like Berlin and London as I don't have them.
I have a feeling that moveForward(100) might become a new meme... ;-)
The interviews have been on my blog for a year: http://stiglerdiet.com. I put up the dedicate site yesterday.
Sill, one "bad" language is better than many slightly better ones.
I live in Norway, and was almost forced to learn German at school: "It's the language of engineers!". That was maybe true when their generation grew up, but I haven't had use for it in a professional setting so far. So yeah, you're right.
Fascinating stuff. I am already imagining its application in optics where a single substance can be made to behave as an universal lens by varying the power of the lens programmatically.
You are missing a quite significant '2' on the number of francophones, it's 274 millions, not 74M.

http://www.francophonie.org/Denombrement-des-francophones.ht...
It isn't a replacement for Grunt/Gulp. It is a replacement for browserify or perhaps require.js.

It builds your javascript and css (and images!) into one or more bundles which does overlap with what people often use grunt for. In my experience it generally obviates the need for grunt because what's left to do once you've packaged and minified your js, css and images and you have your source maps, etc.?

I suppose the rest can be done with npm scripts, but simple tasks like running tests could even be done from bash or a makefile anyway.

Here's a good recent presentation on webpack: http://adrianrossouw.github.io/webpack-uber-alles/
Are other human languages significantly less ambiguous than English? (Conlangs like lojban, sure, but anything used by more than a handful of people?) Genuine question, I haven't studied any other languages since I was sixteen.

Fully agree about position:fixed. For long articles I often remove them in the DOM editor. I wish browsers would change page-down distance when there's a fixed header, but I recognize that this is a tricky problem that would have horrible edge cases.
Internet giants wage war on pop-up ad blockers