skysight-inc/HackerNews huggingface dataset:
Slick. Aside from the issues listed in github, what is taking 80% of the time? Did you expect the 80-20 split?
The author isn't saying that there's anything wrong with strlen; he's just saying that it's not trivially optimizable like it might seem to be.

Also, std::string is C++, not C.
Without knowing the percentage of cases that result in plaintiff wins in other cities, you can't draw any meaningful conclusions from that stat.
Hey, you have no email in the profile, you mind if you shoot me one? I think it would be nice to network with a fellow finance pythonista.

To your point: maybe in US yes, but in Europe I have been trying 2 years almost and nothing. Startups don't have the budget to support a full finance guy and when they have, they tend to prefer locals (like good luck getting a finance job in a German startup).
Here's one website that specializes in these:
http://www.tradecarview.com/

Don't get too excited at some of the crazy prices. They don't include shipping costs and none of the cheap cars will be street-legal in Europe or North America.
Did we read the same article? I read no rant against `strlen`, but rather against naive programmers incorrectly assuming that it could/should be hoisted out by an optimizing compiler. There was not one word about being pained by an extra variable, rather that it's a clunky-but-correct solution.

And other languages have nothing to do with it; this is strictly a post about C, not a dynamic language, and not C++.
This is ridiculous. No one has ever claimed a free market would instantly create a perfect utopia overnight, just that it would be better and improve more over time.

In many areas Somalia did significantly improve compared to it's past government and is better off than the countries around it.

https://www.youtube.com/watch?v=3TTOsWym-dI

Additionally only a small percent of libertarians are anti-statists and want the government gone completely.
Samoa recently changed to driving on the left in large part to gain access to cheap Japanese cars being shipped over from families in NZ and Australia.
The topic of jury secrecy came up in the Apple vs. Samsung case. I can't find a link to the specific rules right now, but basically, jury deliberations are secret.
Hi Kohsuke,

> In Japan, the seller is on the hook for up to an year for problems that weren't discovered at the point of sale.

Actually, it's 5 years in Japan now. My contractor just had to do a complete re-wallpapering of my house because the paper suddenly split.
Can we put up billboards in East Texas letting potential jurists know what the stakes for the country are?
Not sure if it's a serious question, but the Acorn people went on to found ARM...
What's the technical principles of Octopage App
Port Jekyll to iOS or use a backend server running Jekyll?
I'm a Texan (10 years in Houston, 10 years in Austin, and currently residing in Austin), and I'm one of the most vocally anti-Texas people in this thread (though I'm not suggesting poisoning the water).

I'm just very frustrated. The future of Texas, just like the rest of the country (but very much so Texas), is technology. This one little town, and this one judge, seem to be hell-bent on destroying innovation. There's just so much wasted energy and effort, and it makes me sad to see the bad guys win so frequently (and these are bad guys; they've extorted millions from people who had no idea this really silly patent existed).
Damn, didn't see the last line -- news:yc badly needs an update...
Well, he is actually right that the town is essentially funded by patent lawsuits.
http://www.nytimes.com/2006/09/24/business/24ward.html?_r=0
Another C design defect: having the asterisk NOT make all the variables in a declaration pointers.

So instead of
string* string1, string2;

You have
string /string1, /string2; <---- WTF do you have to do to get an asterisk before these in a comment?

The first term should be the type you're declaring. I'm declaring string pointers, not strings named "star string1" and "star string2". You should only have to look at the first column in your variable list to see the type of each one.
sadly, one word comes in mind : the new mafia.
Wikipedia doesn't have that. For most Pokémon, they have summary pages like this

http://en.wikipedia.org/wiki/List_of_Pok%C3%A9mon_(252%E2%80...
Honestly, I think we'll survive, but if we do die, it will be because we can either no longer eat or fuck, and since we are so good at finding or making things to eat, I figure the famine must be logistics based.

I also think that, more likely than not, the standard quality of life will continue to rise. It has been getting better for a very long time now, and we seem to have some significant momentum in that regard.
Honestly, part of it is motivation. I keep getting distracted with other things.

I expected it to go the 80-20 way, the initial ideas are not new ones, I have been building similar frameworks for a few years.

The time is mostly spent on the more difficult problems like "How should operators hang up when the program is closed?" " Should the program be expected to close?" "Should there be a global context object, or a default one" "Should an operator have a window by default or not"

There is no right answer, so its just a case of sucking it up and implementing something, seeing if it works, and going from there.

Plus the side escapades with earthquakes and space weather and irc channels - although implementing these little things does drive the bigger project.

I am hoping before the end of the year I can hit something I feel comfortable slapping "1.0" on and move onto something else for a while and use it as a base for working on some other ideas I have.
JointJS: JavaScript diagramming toolkit
I've lived in Japan for 11 years now, and have the complete opposite experience from you. While older houses (30~10 years ago) were horribly insulated, houses now are sturdily built, with good insulation (mine has fiberglass and spray-foam composite) and are pretty well put together. If you buy a cheap house, then yeah, you'll have a cheap house -- but that's anywhere in the world.

> If this doesn't sound crazy enough, there are a lot of carbon monoxide related deaths every winter in Japan because many people (especially elderly people) use an ancient heating system called /kotatsu/, where they burn coal under a small table that's covered with a blanket.

Umm.. Kotatsu do not produce Carbon Monoxide. They're usually electric, and you're the first foreigner I've ever seen who has complained about them. (I love them, my wife hates them because once inside, I never leave)

Carbon monoxide poisoning usually comes from eldery in older house where they use kerosene heaters (touyu) for heating. Almost all kerosene heaters have a 3-hour timer though, so it is a little safer than you make out.
The New Human Wilderness
Define "powerful". Do you mean expressive power? If yes, I'm calling bullshit because C++ has all of the following (off the top of my head, and I won't even mention any OOP-y features):

1. Templates

2. Template-based standard library

3. Lambda expressions

4. std::bind

all of which make C++ much more expressive than C.

In terms of performance "power", there's almost no difference. Sure, calling a virtual method is slower than calling a function in C, but you don't have to "pay" for it with performance if you don't use it.

EDIT: god-dang formatting
> “He doesn’t have all these fancy degrees,” said Fenster.

I find it funny that Fenster, after praising Jones in this way, would attack Diffie's credibility by pointing out that he lacks a master's or PhD.

[1] http://arstechnica.com/tech-policy/2013/11/newegg-trial-cryp...
1. A news/blogging platform: http://techendo.co

2. I also organize and run the san francisco hacker news meetup. http://www.meetup.com/San-Francisco-Hacker-News-Meetup/

3. Dev school grading site: http://schools.techendo.co

4. Burrito: http://burrito.techendo.co

5. Tribes: http://tribes.techendo.co

6. Next up is an app that helps businesses find their distribution channels -- to be released in a week or two.

7. ..and finally a kickstarter for a hacker tool coming early next year.

Join us on #Techendo on freenode to chat. :)
Of course this happens the week after I submit my sample.... ;-)
Moved all over, actually. Australia is a big importer, all of SE Asia, etc.
> When forward declaring a class/struct, you must use the same keyword which it was declared with.

Wrong.

struct Foo;

class Foo {
};

int main(int, char**) {
Foo f;
}

compiles cleanly with -ansi -pedantic -Wall -Wextra besides warning about unused variable.
Thanks, by the way as an experienced developer what would be your stack if you wanted to start your own. After reading comments here, posts in other places, I am going to stick with Python/Django/PostgreSQL+PostGIS/ElasticSearch and django-tastypie for REST backend, for activity stream maybe django-activity-stream for the beginning, since I am only one member now :), I do not want to reinvent bicycle.
You probably meant the stdc++, not the STL. But I agree, in C++11 one can use smart pointers which help avoiding many memory management pitfalls and make memory ownership mode more explicitly defined through the language itself.
In my opinion, the main take-away here is that the proofs were, obviously, no proofs. If you program with modulo arithmetic you have to do your proofs with modulo arithmetic. If you use IEEE floating point, say goodbye to your theorems about real arithmetic.

If you forget/omit a single fact about your target platform/machine/api (whatever axioms you found your reasoning on) in your proof, it may be worth nothing.
The thing about templates is kind of silly, AFAIK, they added typename since the use of class didn't really make sense for the reasons he did state. They made an error in other words and corrected it in a latter release of the standard and best practice would be to use typename unless you need compatibility with an older compiler that doesn't support it.
I'm making a social sharing application, dedicated to street food vendors, it's called tacotuyo.. very early in development still (about 20 hrs in)
http://tacotuyo-elninja.rhcloud.com
I really really want to try loving AngularJS, and to some extent i really do -- but when I need to look at the documentation, I feel like shedding tears.

Angular-team: You have an awesome product. Please fix your documentation, and include examples usable with angular-seed, instead of the standalone-examples.

Has the documentation improved with 1.2?
I'm not trying to equate things to HIV tests, and it's probably a poor example. I'm not sure what the reporting process for an in-home HIV test would be. I recently had a doctor tell me that she's not allowed to actually give the results of an HIV test over the phone for fear of patient reactions.

What I was trying to say was that that class of test should be easier to use and get a definitive yes/no answer with a smaller false positive rate.
Not to shock or surprise anyone here, but there's a lot of the tech scene outside BOTH NY and SF. Where's the largest private software company? Cary, NC [1]. Microsoft and Amazon? Based in Seattle. IBM? The non-NYC parts of NY (White Plains and Armonk, NY). And what's happening in different regions like Chicago? Lots going on. DC and Baltimore? Tons of activity -- including a $2.7B acquisition [2] and an IPO or two [3]. Raleigh? Philadelphia? Las Vegas? Indianapolis? Kansas City? Miami? Atlanta? Austin? Estonia? Berlin? ...

And let's not forget Boston / New England ... which is STILL #2 in total Venture Capital investment. [4]

See where I'm heading? This idea of an ongoing battle between two locations as being the core of the IT / Startup ecosystem belies the fact that a considerable amount of activity is happening outside these two regions.

I love NY and I love SF. And I think good entrepreneurs should do their best to network in both of those scenes. And YES there's a ton of VC in SF / Silicon Valley and a huge amount of activity in NY. But entrepreneurs outside of NY and SF can do just fine too. Ask Tony Hsieh from Zappos (Las Vegas) or Jeff Bezos (Seattle). I say, let these two cities battle it on while everyone else focuses on making their company and their local entrepreneurial scenes better.

[1] https://en.wikipedia.org/wiki/SAS_Institute_Inc.

[2] http://www.bloomberg.com/news/2013-07-23/cisco-agrees-to-buy...

[3] http://www.forbes.com/sites/ericsavitz/2012/03/29/millennial...

[4] https://www.pwcmoneytree.com/MTPublic/ns/nav.jsp?page=region
Climate Reality Project
Any doctor educated in the past two decades
is well versed in genetic testing

I'm not sure what definition of "well versed in genetic testing" you had in mind but this is untrue for most or all reasonable definitions.

any doctor specializing in areas where genetic testing
is a frequently used aspect of planning/diagnosis
(such as OB/GYN) will be highly familiar even if trained long ago.

Also an overstatement. The trouble is that "genetic testing" is a large and complex field. Are you referring to a single-gene test for a well-known and well-characterized disease? Or whole exome sequencing? Because in the coming years doctors will come into contact with both. In general these tests will require specialist interpretation; not general physicians or OB/GYNs.
Just seems silly to rant against strings in C when they aren't really strings at all. char* is explicity a pointer to a sequence of chars. If a developer wants more things, like a cached length, invalidated by changes, then a lib should be used. A string lib like bstring[0]. I think we get to this precarious place by even considering that char* somehow brings what we could call 'common string functions' to the forefront in an easy way. And of course, assuming the compiler will optimize away code like strlen where it cannot possibly deduce constant memory conditions for the null byte, very silly indeed.

[0] http://bstring.sourceforge.net/

C is low level, but the same mistake could be said for any other language where a function is repeatedly called in a loop. The compiler can only do so much, garbage code is still garbage code. Cache your function calls less they const restricted, and extremely simple, and even then, the compiler might still fail to optimize.
As my high school calc teacher explained to me...

"Infinity isn't a number. Infinity is a process".
I'll tell you a secret - nobody gets C++

;)
Why are patent disputes resolved by laymen (juries) rather than experts in law and the area of study of the patent itself? I just don't see how people completely unfamiliar with the subject matter at hand can be expected to understand highly technical arguments necessarily to determine patent validity.
> You want to make a part of a struct private?
> /* private * /

Thought this was a joke first, but it's not? Is it possible you have worked in the same place or with the same people a long time? I just can't imagine this would work for us.

And I thought about it quite some time, but I really cannot see why you would prefer a comment (ie ignored by compiler, same keyword but surrounded with a few extra keystrokes) by a true first citizen keyword that does the same and enforces it? That would be the same as comments saying "hey this is const" instead of using proper const-correctness, no?
Making some overgeneralizations here, software written by scientists aren't going to be as good as software written by software engineers. Their usual purpose (and their training/background) is to publish papers and writing code is just a means to an end.
People nowadays never mean SGI (or anything other than the C++ standard library) when they say "STL", so it's a good time to stop correcting them.
Correction: the default access level in C# I think is that the name is visible to all the members of the given assembly, but not outside of the assembly. I don't remember what it's called though.
It's an electric bass, not a trumpet. Why not just use headphones?
Android KitKat Now on Google Play Editions Of HTC One, Samsung Galaxy S4
It does not make much sense to talk about fresh water supply on scales larger than aquifer.

Some are strained, and wars may be started over some, but Egypt and the Sudan starting a war over the Nile really doesn't have many implications at all for people who get their fresh water elsewhere. It won't make water more expensive in North Dakota; wells in Australia will still produce fresh water as Egyptian and Sudanese soldiers burn on the battlefield. Fresh water isn't like oil, it is not a traded commodity (and if we consumed it in small enough quantities to ship around like we ship oil, then there would be no shortage concerns).

There are plenty of concerns, but they are regional concerns with regional solutions. Some of those solutions may be "Find somewhere else to live", or even "Wait until enough of the population in this area dies, so that the water supply is sufficient for the survivors". These possible resolutions are not pleasant resolutions.. but the world seems to have a knack for being less than pleasant.

My point here is that there is no reason for these regional issues and their potentially horrific resolutions to threaten the survival of the species itself. We are too resilient for that. Should that be comforting? Who knows. Probably not.
Where do you get the idea that the author is ranting against strings in C? I don't see it.
Post-Snowden, the balcanisation of the Internet waits.
Yup.

More annoyingly, for a binary search over an array (i.e. something that can fit in memory) their code is still wrong - they should be using size_t.
> NGINX doesn't differentiate enough from the other HTTP servers out there to justify the cost.

Then why the angst? This just makes me more confused about what your argument is.
Yeah, I live here (Austin; spent 10 years in Houston, too). I love Texas.

But, Texas does have a reputation for being backward, regressive, racist, and willfully ignorant. It was Texas State Board of Education that led to a decades-long battle over evolution. If that's not embarrassing, I don't know what is.

Texas also just passed a law that will shut down all but 4 (maybe 5) of the health clinics that offer abortion in the entire state. Those clinics are also where a lot of folks get birth control, STD testing, and often where poor women go for gynecological care.

Texans will spend 15% more on healthcare because of the stubbornness of our governor. Whether one agrees with Obamacare or not, it's pretty nasty to intentionally screw over poor people out of nothing more than spite.

Texas definitely has a bad reputation. And, it deserves that bad reputation.
There are no rules to limit the kinds of member functions you can add to a struct. Structs can be polymorphic, can have vtables, and don't need to be compatible with C.
To me, the sentence wasn't awkward. Rather, the way the probability was implied ignored that the best (most skilled) employees are not evenly distributed across the globe. I would wager your likelihood of randomly choosing a 'top' candidate from the 2.5bn pool compared to the 0.023bn to be something near 1:500, for example. But, you do still have a point. An alternative phrasing, which acknowledges the irregular distribution, might be:

"2.5 billion people in the world have internet access.
Statistically speaking, the chances that the best person
for us to hire for any position is among the 0.023 billion
people in the New York metro area is unlikely, even
considering the high concentration of talent in New York."
Blackberry shakes up senior management
He's ranting against repeated function calls. Same could be said for any other language. The only interesting thing here is that strlen is the main way to get the length of a string in C, unlike OOP languages that will have a .length accessor that usually keeps the last validated length for o(1) access. That doesn't mean C is subterranean leveled.. it just means the language isn't OOP .. use a lib/struct/functions and the problem is solved. I see this as a baseless attack on C's lack of OOP through some clever bashing.
>NGINX doesn't differentiate enough from the other HTTP servers out there to justify the cost.

From the post:

>admittedly amazing software

It sounds, honestly, like you're never going to pay for OSS. That's fine if that's the way you want to do things, but to then write a post entitled "We should ditch NGINX" seems way over the top.
I've been maintaining a Perl binding to libsass.

CPAN page here: http://search.cpan.org/perldoc?CSS%3A%3ASass

Github here: https://github.com/caldwell/CSS-Sass
Oh yes, floating point numbers have ALL SORTS of other issues. I was just stating the JS rationale for leaving ints out of the language, not saying I find it particularly convincing at all.
In this case I did mean the STL-derived bits specifically. C++ collections, iterators and <algorithm> are awesome. When you're used to C for writing native code and your options are arrays, linked lists, or oh-god-I-hope-I-wrote-this-hashtable-correctly, this stuff is amazing. I guess they're not called the STL anymore, but I tend to use the term to refer to them specifically.

I actually only very rarely use smart pointers in my main C++ project; my game has a simple lifecycle and wouldn't benefit from them much, though I could probably stand to use unique_ptr more than I do. The primary place I use them is to use std::auto_ptr to clean up after myself when dealing with try-catch blocks--I standardized on them before really understanding unique_ptr and my use of them is single-function-limited so I kept it consistent. The game itself is modeled on a stack-based state machine and I'm able to pretty easily reason about my object lifetimes within each state without smart pointers.
Although I can't currently support my claim, I swear that I have gotten compiler warnings for doing so.
How Python manages its memory
1) Internet-Side for Magic Cards
2) little JavaScript-Game
Sure, and if you have a variable being accessed from different threads, just slap a comment on it:

/* SHARED BETWEEN THREADS! careful. */

I'm sure people will read it. And then write safe, reliable code.
This is an awful article. It is extremily rare to choose `struct` vs `class` because of their default visibility. It is much more usual because of style.

Is it a functor? Is it a data structure? Do I need C-compatibility? Do I want to encapsulate behaviour and validate correctness? Do I want to maintain the company style?
‘Electric Blossom’ still life photography by Torkil Gudnason
Acclaimed Danish-born/New-York-based fashion photographer Torkil Gudnason has turned flowers into fine art with his Electric Blossom series. Heavily featured in both his personal and commercial projects, flowers are a recurring element and an obsession for Gudnason.Choosing the freshest of flora bathed in ethereal lighting, this collection of still life photographs is so rich in colors, textures and details that they almost look computer generated. Gudnason manages to capture their sumptuous, sensual, fragrant beauty up-close and personal. It’s like an explosion of delectable, gorgeous eye candy!
Newegg's strategy is to invalidate patents in order to discourage future litigants.

Just winning a cheaper verdict today won't reduce their costs in the long run by much. The PTO issues hundreds or thousands of new patents every year on business processes Newegg is already using so there's no limit on potential future litigation.
I'm making an online store in Rails for a specific target market (have to be vague). I'm building it mostly on my own and I'm looking for a second developer to help me out.
Zibusiso Mkhwanazi
Not yet 30 years old, Zibusiso Mkhwanazi is something of a phenomenon in the South African ICT sector.
Sorry, that was a slipup. What I meant is a string object library. std::string would be fine in the case of C++ or bstring for C

http://bstring.sourceforge.net/
I have worked on codebases (in javascript) that did essentially this.

I tweaked private members from outside the class.

I never regretted it.

There's probably a moral here, but I'm not sure what it is.
Some relevant discussion here:

http://cboard.cprogramming.com/cplusplus-programming/134827-...