skysight-inc/HackerNews huggingface dataset:
I assume she's talking about the media used by her cameras. As in, the cameras store the raw data on SD cards in an unencrypted format.
This works for me in Chromium, but not in Firefox :(
Cartrdge is a community for people making video games, looking for senior dev
Well, the article also says that Musk & JB are cofounders of Tesla, so, you know.. Not expecting much accuracy from the rest of it.
Not encouraging to see a basic error right on the front page:
"From all six Star Wars films"

Couldn't resist... ;-)
I was. Cheeky fucker.
There are two situations to consider. The first is where someone wants to move to America and work here. Maybe you like the employment opportunities, maybe you have a long distance relationship you'd like to make short distance, maybe you like the weather, maybe your old country just sucks.

The second is where a company wants to bring in an expert from abroad to do some specialized work. You should be able to describe the expert as "Firstname fucking Lastname".

Hypothetically -- by which I mean, the way everyone talks about them but no one uses them -- H1-B's are supposed to be used for the latter. You sound like you fall into the former category, and while you may be a productive, valuable, decent member of society, you're no Digital-Fucking-Sea. So while it may suck that thousands of other people are cheating the system and abusing the H1-B's, and you don't get to, it's kind of working as intended.
The bug is triggered by using a custom memory allocator. It's clearly an edge case.
I think your apologetic edit actually managed to be more condescending than the original comment.
Without any compiler magic involved I don't think it's possible to implement that in C++ in a way compatible with the current std::string interface.

The problem is not the allocation of the std::string object itself, it's the allocation of the underlying buffer containing the string. std::string has a static size, the buffer itself is dynamically sized.

You could replace the heap alloc with something like calloc (or dynamically sized arrays) in the constructor but then the buffer would be tied to the stack frame of the constructor, not the calling scope (so the memory would become invalid as soon as the constructor returns).

Unless I'm missing something completely obvious the only way to implement that would be to ask for the caller to provide the buffer and let the string take ownership of it. It's definitely possible but it's not how std::string works and it's arguably more error-prone since unlike languages like rust there's no full blown lifetime checker in C++, so you'd have to make sure that the string object never outlives the supplied buffer.

Alternatively you might be able to supply a custom allocator to std::strings but here be dragons.
The data is being scraped from sources online and by watching the films about a thousand times.

As the data is already available freely elsewhere, I won't be charging or keeping the data, I'll provide it just like I do on http://pokeapi.co
I agree. We definitely need to get rid of this arcane base 60 unit of time and express our speeds in meters per microyear.
Check the bottom of the page ;)

We'll have episode VII details as and when it gets released.
Comparing Amazon with Costco, they are almost exactly the same price I pay for Huggies.

From the article: "For years, Amazon naysayers have warned that the e-commerce giant’s ambition would drive it to compete ever more directly with the merchants who sell goods on Amazon’s popular online marketplace. On Wednesday, the company is introducing its own line of diapers and baby wipes, which will only raise these fears."

Oh no! they are selling a similar product for a similar price! What will we do
Are you sure about that? I don't recall my battery life increasing by "magnitudes" when li-ion became widespread.
:D My other API for Pokémon is also great for demos and teaching APIs - http://pokeapi.co
reminds me of the 100 functions perlism http://stackoverflow.com/questions/6016271/why-is-it-better-...
Copy on write is not at all helpful in a language like C++ where concurrency can be concerned.
Does IE11 even support ActiveX? I didn't think that it did.

I tend to use IE11 because it is lighter on memory usage than Firefox or IE and my machine has only 4GB of RAM. Also, it has a lot of those features. By default, I have right click and search with Bing and there are many accelerators that do the same thing. Plus, I don't see how so-called limitations in the shell should lead to an underlying engine change. I think Trident works well, although the main frustrating thing is that it doesn't work with a lot of IE only sites ironically (my company's old version of Outlook webmail, my credit union, etc.).
If by "have a much easier time of it" you mean live with terrible insecurity and none or limited social services, then sure :P.
Perhaps the better analogy would be if Nintendo just continued releasing new levels for the original Mario Bros for NES.

Technically Super Mario 64 is some sort of sequel, but it's clearly an entirely different game.
Maybe I worded too loosely. What I meant was, Nintendo are not simply making the same sequel to a game like Mario, even though some of the original game mechanic is there, they have always in my opinion made each Mario game better than the last (like they have for Zelda and other games). They add in new features and other innovative gameplay mechanics that make it feel like more than just another Mario or Zelda game.

The issue with Rovio is exactly how you described it, a new Angry Birds game with new graphics but the same mechanics, the same storyline and basically nothing new.
What is exactly the difference with agentscript.org ?
The Governor of New York proposed giving prisoners in essence a community college education while incarcerated. Outcry from the public and lawmakers made him shelve the concept, despite studies showing massive drops in recidivism from such things.
Web apps developer here, in terms of standards/proposed standards support, the situation is much, much, much better than it was with IE7/8/9/to a lesser extent 10. We develop primarily against chrome, and IE11-specific behavior (measured by # of defects) is less common than firefox-specific behavior, which is less common than IE10 specific behavior.

The plugin support may suck, the dev tools may suck, but in terms of the browser itself, it is much more capable than what they've had in the past.
http://www.newyorker.com/tech/elements/the-ipod-of-prison
Uber Raises 1.2bb: “The Ride Ahead”
In other words, bias the process to the needs of Silicon Valley. SV gets all the great foreign engineers and screws over all of us in the Midwest, where $125,000/year in base salary is nearing executive-level compensation at many companies.
after taxes he will take home just $1+mm, far from enough to live out the rest of hist life in a 4/5-star hotel on a beach somewhere. u need at least $10mm for that
Hangouts looks pretty 'Material' to me, and has got its updated look quite early before lollipop.

Hangouts can be downloaded on its own from the Play Store too can't it - not sure what the angle is for Messenger...other than no Google Account.... strange
In the chromatin network there's no double helix, because it's always mostly unrolled and various things are bound to it. It looks a lot more like a ladder.

The double helix as analyzed only exists as part of chromosomes.
...how so?
No that's BS. `std::string` should be used where ever it is applicable.

The whole issue that this post about chrome was talking about was dealing with a poor usage of `std::string`, such as passing c_str() to then go and construct another string instead of passing by const ref.

Or building a set of `std::string` to simply check if a value exists.

That's just shit code, not an issue with `std::string`.
Whoops No Plaintiff Apple Tells Court iPod Owner Isn't in Class She Represents
One thing I really wonder about is why people want a clean log on the master branch. I don't mind merge commits is there, it shows what happened. But it would be interesting to hear other opinion and use-cases.
Any deficiency in the "Deadly Animal" slider is easily balanced by the massive surplus on their "Ute Availability" slider.
5 Things Agents Need to Do Every Day for Real Estate Success
There have been lots of advances since, under the term "content-aware fill". Lots of links from here https://www.adobe.com/technology/projects/content-aware-fill...

There's an oldish plugin for the GIMP called Resynthesizer, but there are better algorithms out now. G'MIC has one called "inpainting". http://gmic.eu/repository.shtml
Great news! WebSharper is fantastic for developing integrated server and web-client systems from a single F# codebase. Hopefully under the Apache 2 license both development and uptake may increase.

Have been very impressed with the UI.Next client-side framework that was previously in beta.
Definitely, and where `std::string`'s interface is not enough, use thrid party libs which work on std::strings, like boost string algoriths, std regex, or uftcpp.
Cool idea, but I think having to write a tonne of Javascript code to get anywhere in the game or play it would get pretty tiring pretty quickly. If you're a developer coding 10 hours a day, the last thing you would probably want to do in your spare time is play a game where the goal is to write code. Nonetheless, if this gets anywhere, I will still check it out and see what it is like.
VIDEO: Sony Entertainment Hack and Fraudulent Apps: IT Rewind Episode 16
> Beats the heck out of taking an unexpected GC call somewhere later when you weren't expeccting it.

How is that an issue with c++ `std::string`
this is big and clears alot up for me. been scratching my head about why Messenger even exists. And not alot said here or otherwise about why.

Will continue to ignore then because Hangouts really does cover everything
I heard about this gentleman on HN a few years ago. You have to watch him work: it's a performance, in every sense of the word: https://www.youtube.com/watch?v=HCUct4NlxE0&hl=en-GB&gl=GB
Judge: Give NSA unlimited access to digital data
This user seems to be a bot posting snippets of text he found "relevant".
Awesome to have this page. I was wondering about this only few days back, if I could find a website where I could learn Statistical Data Analysis in Python. :)
Having a one hit wonder is success. Forming a company around it to milk that brand is also a good strategy. But it would be naive to think every one hit wonder can be converted to a long term business strategy. Some can and some can't. But its just more difficult. You can't blame every company that fails for that - its the nature of the business.
This.

I own a small consulting and training shop focusing on a particular "enterprise" product that's used by more companies than I can count, big or little. We charge a premium rate per hour for consulting, and a premium per-day rate for training. Been doing it for over a decade now. Companies that would hire out to Accenture or Avenade or name-your-consulting-firm-here would, in our experience, much prefer to pay someone they can speak to about their skills and work without a technical sales rep getting in the way. It's not even that tough to get into a client's "preferred vendor" list, if they have one.

The combination of humble confidence and actually knowing your shit is a potent one.

Edit: typo
The serialization part - JSON, BSON or protobuf - is the part I'm complaining about. I have plenty of perfectly good ways to copy a packet of bytes from A to B. I want something that offers the safety guarantees of protobuf with a "simple case" that's as easy as e.g. Jackson. And I want something that can send functions, not just inert structs.
Awesome—thanks!
Here's the "Angry Birds Go! Cinematic Trailer":

https://www.youtube.com/watch?v=XreVL3Q0Gyk

I think that may be for a game rather than a movie but anyway.
Where's India on the list? It's as big as China. The point is that since the 1870's the United States was bigger, even with a large population difference. It's certainly noteworthy that China has caught up, or the U.S. is falling behind.
Devices need to be approved for prison use. 3G but no autoupgrades, or appstore but no external communication, sometimes the cover must be transparent. Probably no competition in that sector, therefore they can charge whatever they decide.

Hence it's not "cheap e-book reader, top of the range tablet", but "expensive e-book device, bottom of the range reader", if you follow me.
It seems that every place uses some kind of mix. Here at Brazil we get TVs measured in inches (the government just issued a law forcing them to be measured in cm, so there is also a small, mostly hidden number, with 2 decimal places, somewhere on the box), and receipts are measured in cups and spoons (but I've never seen a correctly sized spoon).

Some farmers use a crazy set of measurement, where units vary in size from one state to another, and even between neighboring cities, and stuff with a small market use whatever their biggest market use (what normaly means, whatever the US uses).
Does Io.js offer more performance than Node.js?
And ofcourse Mr Grayling has done his best to destroy Judicial reviews that highlight this kind of problem.

Basically if you want to challenge a law, a judicial review is the only way you can go about it (going through the political process, writing to an MP and the like leaves you open to the whim of the press and "public opinion")

http://www.civilsociety.co.uk/governance/news/content/18682/...

If this law goes through only those with significant amount of cash can ever challenge illegal laws. Combine that with the changes to legal aid, mean that only the rich will be able to attain justice.
Sweet! Bookmarked. Thanks for sharing. I'm just getting started with Python and this will indeed serve as a great resource once I start delving in Data Science stuff.
China vows to stop harvesting organs from executed prisoners in 2015
Well that changes everything b/c Marathon is just a piece of the puzzle. This turns the statement into "init.d isn't an operating system".
I use R for my statistical programming mostly, but I use Python for a lot of other things. It's nice to have this as a reference when I don't feel like moving back to R.
The problem with std::string is that it's named wrong. It should be called std::string_buffer, because that is what it is. Its performance characteristics are closer to a std::vector than a std::array (now available since C++11).

Many projects cannot copy around std::vector<char> in good conscience. They really want a copy-on-write string, an immutable string, a rope, a reference-counted string, or an always-in-place string. Or some combination of the above depending on the circumstance.

The problem is that std::string is not a good type to use as a parameter for various reasons. In addition to its aggressive allocation behavior, it's also fairly inflexible. What are the alternatives?

1. boost::string_ref - available now, so use it

2. std::string_view - available starting in C++14 and works roughly like boost::string_ref

3. pass around pairs of iterators instead of single objects

3) is actually the most flexible, though it requires different kinds of overhead. The most obvious way would be to template all your string-accepting functions on two parameters: the type of your begin iterator and the type of your end iterator. But the benefit is that you can pass around any of the above to your heart's content, plus more, like elements in tries.

std::string still has an important place, but it should generally be used as a private member variable, not as something you require in your interface. Pretty much the same thing goes for char* unless you are implementing a C ABI (plus a size, please). Even then, you can immediately convert to/from a boost::string_ref and still have yourself a self-contained reference to a bounded character sequence.
Why the hell would anyone ever use anything for anything?

Because that shit gets the job done. Pick the right tool for the job, sometimes PHP is the right tool.
Yes but if you talk about economic might, then PPP doens't make much sense either.
this is a no brainer: HACKER NEWS.

i don't mean any disrespect to pg, but commentary provided by the hn community is a reality check bar none.
I dont think it will hurt Node because Io is _completely_ compatible with Node,check this out: https://gist.github.com/maxogden/d96123138522c84cdb25
Small companies will, too. Just not the sort of small companies who look for talent on Freelancer boards. They're looking for bargains or non-critical work, in my experience, and the majority of them - if they get past the sticker shock - are not pleasant to work with.
You certainly know more about this than me. Do you think Rust would have been fundamentally more difficult to make compatible with Objective-C than Swift was, assuming Apple had invested the same amount of time and effort? My sense is "no", but I really don't have any clue, and I'm genuinely curious.
Pulling data out of Google analytics with ruby
What, in your opinion, is the best passive or semi-passive income?
I'm pretty sure it was a jibe at the fact that only 3 real Star Wars live-action films were made.
Rails: We need to talk
Just saw this - thanks for the info, very interesting!
> Many people imagine that making a product with a software company or with a freelancer is a similar process to buying a car.

Bad analogies are bad. One doesn't buy a ready and finished item. One buys time spent on building something -- hence it's a service.
Location: Dnipropetrovsk, Ukraine

Remote: Yes

Willing to relocate: Yes

Technologies: C++, Qt, Linux, Java, X++, CMU Sphinx, Git, KDE.

Résumé/CV: https://www.dropbox.com/s/qsup3ukqhdd6pnq/Vladyslav_Sitalo_C...

Email: root@stvad.org

LinkedIn: https://www.linkedin.com/in/vladyslavsitalo

I'm really passionate about technology and looking forward to work on interesting projects (I'm very interested in virtual/augmented reality, machine learning, healthcare and data analysis related projects, but also I will consider projects in other area).

About my experience:

I've participated in Google Summer of Code with Simon project on speech-recognition related tasks (more information available in resume). Project repo: https://projects.kde.org/projects/extragear/accessibility/si...

I've completed an internship at Microsoft, taking part into development new version of Microsoft Dynamics AX.
Ah, you didn't see the film_id & episode_id reference in the second example?
If/when you start delving into Data Science stuff, you should check out Data Science Weekly http://datascienceweekly.org/ (I'm co-editor) which is a free newsletter of data science articles, blog posts, job postings, resources, and interviews with data scientists.
Except that apple doesn't want to sell computers for C$, because all it can buy with them is ditches.
It's attitudes like those you've presented here that play a big role in the withdrawal from society a lot of these people (myself included) face.

>If a man is not having sex with a woman.. its because he wants to have sex with men..

If I have a choice between attempting to deal with women who have no interest in me (or a vain interest) with potential destructive consequences to my quality of life, or choosing instead to just say "fuck it" and withdraw to my comfortable job and pornography, I'm going to (and have for years) pick the latter. That doesn't make me "gay", it makes me unwilling to take an inflated risk for little reward. A truly equal relationship is appealing to me, as it would be to others, but that is harder and harder to find.

But you keep doing you. Flaunt your alpha male superiority in our faces. We frankly don't care, because that's not a system we want to be part of if we can help it.
For someone like me who is a "jack of all trades master of none" type of freelancer, this formula works fairly well. I have the advantage of having a full time job and freelancing on the side for extra spending/saving money. But if I ever do make the great leap to a full time freelancer, this formula tells me that I can make it for only a little more than I charge now.

Granted, I'm in a suburban/semi-rural area, so I may actually have to raise my rates to make a livable wage on my own, since the client pool is smaller, and this is part of why I haven't already made the leap. Admittedly, the "imposter syndrome" the author spoke of is probably a factor as well; deep down I know I'm good at what I do, but every time I have to research something I end up feeling like a know-nothing. That's something I'll have to overcome not only if I want to set forth on my own as a full time freelancer, but even if I want to advance as an employee.
Buying news coverage and crying misogyny in the ride-sharing industry
Creating Generative Music Using Node.js and Ableton Live
So now it's on The Pirate Bay you no longer have access to that IP?

That's wrong of course, hence it's completely different to stealing. Just becaue copyright infringement and stealing both have potential financial impact doesn't make them coterminous.
This is great. Thank you so much! I was curious if you had any advise on figuring out per project rates? I'm pretty new at making Wordpress sites but I make nice, handsome, responsive and very usable sites. People I have made sites for so far have wanted a single fee for the whole project.

I'm not so good at estimating the number of hours that go into a project yet. Do you have a rule of thumb aside from estimated hours * rate?
Run to Stay Young
If it's of any help, the impostor syndrome isn't unique to new freelancers. I've been consulting steadily for over a year, and I still feel it frequently. Acknowledge the feeling but don't let it be a barrier. (Maybe someone more experienced can chime in if I'm wrong about this.)
'Measures, Integrals and Martingales' by R. Schiller is a very good introduction to measure theory and some of its applications to probability theory.
At the time Nook had the glow-light and Kindle didn't.
How do you define a co-founder? Tesla was just an empty shell before Musk and JB arrived, so I think they are co-founders of Tesla, but not the only co-founders.
If you want to use Angular but don't want to drink the Kool-aid, Knockout.js provides a good balance between "Here's some MVVM stuff." and "Everything you do must be Angular."
Some feedback about the preview section:

/preview/typography: I was hoping to find out what font(s) I was looking at, but this page contains a history of typography. Looks like it's Helvetica? But I don't see the word Helvetica anywhere on the page. Maybe it's expected that the user will know why Helvetica is the right choice.

from /preview/grid : "A collection of classes to build grid based layouts with absolute ease. This is the simplest grid system you'll love to use." This feels weirdly sales-y for documentation.
I thought that one should not change the title and use the original one of the post. What would have been a better title? "ZDNets view on Docker vs. CoreOS"?
Well, we've been watching for the last decade as the predictions were made. Now they are coming true. Many people denied that it would happen and China would be another Japan, for example.

We should be observing history at its slow and steady pace. As India and China lead the world within a century, the United States will have to learn to fit into its new role farther down the ladder. We could be the Great Britain of the 22nd century.
I know what the word means and still don't get it.
> I'm french and piratebay is on its way to be blocked at the ISP level here.

What really? I'm really not following our politic, I had no idea.