skysight-inc/HackerNews huggingface dataset:
True if your product is a success. But if you're building 10 projects and only one of then succeeds, you just spent 9 times enormous amount of time you will never get back. One could argue that rewriting the successful one from scratch would still take less time than that.
If Internet comments were always this encouraging, the world would be a better place :).
The point of the example is that this is how NOT to do it in C++.

There are two better options:

void f(int n, int x) {
Gadget p(n); // Stack allocated
// ...
if (x < 100) throw new Exception("Weird!); // no leak
if (x < 200) return;
// ...
}

Or, if it really has to be a pointer:

void f(int n, int x) {
std::unique_ptr<Gadget> p = new Gadget(n); // Smart pointer
// ...
if (x < 100) throw new Exception("Weird!); // no leak
if (x < 200) return;
// ...
}

Both will be automatically freed as soon as the scope is exited.
The point is not about C++ vs Java, it is rather about writing C++ like you would write Java, which leads to leaks.
Java:

void f(int n, int x) {
Reader fr = new FileReader("foo.txt");
// ...
if (x < 100) throw new Exception("Weird!); // resource leak
if (x < 200) return; // resource leak
// ...
}

A garbage collector that gives a false sense of security is much worse than no garbage collector at all.
If I were to have one question to ask the author based on that blog, it would be 'What job/career does his other half have?'.

I have pretty much free-roam of where I am, considering I work remotely and have flexibility over which hours I work due to clients in numerous time zones, however my girlfriend is a micro-biologist which makes where she can work rather limited to Universities and other research locations.
DeveloperAuction Rebrands As Hired.com
Do you want to feel less isolated working on your own?
In the big picture, visual programming is very natural. It is, in fact,
so natural that we often make flowcharts of how systems work. It would
be better if these flowcharts would actually be the system, rather than
an incomplete, possibly outdated description.

In the details, visual programming is just an inconvenient gimmick.
IMHO. It may change one day.

Not exactly the same, but it reminds me of Smalltalk environments, which
give you a "browser" to view classes, inheritance relationships, etc
etc. while giving you a code editor for the actual method
implementations (example: https://vimeo.com/27850933 ).

We use two types of files to program Glow. The detail files, which can
contain anything, and the overview files, which may only contain
constants and how components are connected to each other. An overview
file may not use macros.

Both are editable with any text editor, but the overview file can also
be edited visually as a vectorized flowchart (vectorized to zoom in on
details)

"Both are editable with any text editor" sounds much better (to me with
my admittedly limited experience with Smalltalk) than Smalltalk's
file-less model where everything is a change to the whole system
"image".
What percentage of antibiotics used in industrial animal farms are still patented, and what's the profit margin and net profit from those antibiotics at biotech companies?
Not island related, but there has been at least one case of this that I know about in the UK: someone broke into a warehouse and was injured when a stack of stuff fell on him. I'm not sure if the claim would have held water in court but the company didn't want to take the risk and settled with him for an undisclosed sum. IIRC they were also fined for the health and safety violation that was the mis-stacked stock (as the same accident could have happened to an employee instead and an inspection found other such problems).

Warning signs disavowing the owner of a site of responsibility for other people's actions (in a public place or while trespassing) often have little to do with the actual rule of law though (except where the signs are mandated by regulation) - more often than not they are simply about reducing the chance of someone trying it on. You might win easily in court if it goes that far, but if you can save the time and other hassle of needing to go that far by putting people off trying it is likely to be cost effective to do so.
http://www.motherjones.com/tom-philpott/2013/04/study-confir...

After analyzing the mutations of the MRSA strains in the women and the animals, the researchers concluded that it had been circulating among the livestock before jumping to the people. The researchers' analysis is "so fine-grained," McKenna writes, that it "seems to me to be difficult to challenge."

The Danish study comes on the heels a 2012 paper by a consortium of US and European researchers, which used gene sequencing to show that another common strain of MRSA originated in humans as a common staph infection, jumped to livestock, where it evolved resistance to the common antibiotics tetracycline and methicillin, and then jumped back to humans. Of course, you can also contract antibiotic-resistant pathogens through contact with raw meat—as, for example, more than 100 people did when the agribusiness giant Cargill sent out tens of millions of pounds of ground turkey tainted with antibiotic-resistant salmonella in 2011.
To me, rent just seems like a form of dividend payment, which is of course not unique to property ownership.
In OOP its recommended to use pointers as class members, managed by class methods. What you show is a "wild" allocation that doesn't really belong to no one and thus not really managed. You're right, pointers can be misused, but what can't be? Think of infinite loops or some similar very bad algorithm choice if nothing else. No amount of language design will fix bad programming.
> it's impossible for bacteria in animals to ever affect humans

Those farmers should read the book 'spillover'. According to some papers 60% of all pathogens has in recent times jumped from some other species to humanity, and depending on how rigidly you define species you can add the other 40% too.
Canonical's Mir licensing causes concerns
Geniet van deze lekkere maar vooral gezonde gerechten met pompoen
Second high speed rail link from London to various parts of Northern England. Instigated by previous (Labour) government, who later admitted that they had basically pulled the thing from their bum as a Keynsian reflationary boondoggle with zero economic justification for the investment.

Inexplicably, the current government, rather than using the fiasco as an excuse to jump up and down and laugh at Labour's contemptible attitude towards the public purse, have decided to treat the whole affair as if it were a deadly serious well-thought-through major public works investment, and are defending it with rottweiler-like tenacity as if it were their very own dearly beloved pet project.

Baffling.

Anyway, I guess it will get built successfully in the end, as these things tend to ... although it's main use will probably be to hasten the journey of refugees from the economic wastelands of the North to the only place in the UK with actual jobs on offer. I.e. London. (Where they will all sleep at night is beyond me, however -- as the usual NIMBYs are doing a great job of preventing the development of what we actually need -- large volumes of high density housing for London-based workers).
This example from the docs seems quite heavy:

<button data-bind="click: function(data, event) { myFunction('param1', 'param2', data, event) }">

Feels a bit strange to define functions on the HTML code.
That's correct. It's eclipsed by the value.
Yup, that's true. Currently they're blowing the open platform horn (for their Steam Box as well), but Steam itself is by no means open.

At some point, open platforms might no longer align with their business goals. That's when they'll do nasty stuff, and that's when I'll whine about them. Currently, I'm cheering them on.
Interesting post! Thanks for sharing it.
65 useful keyboard shortcuts for chrome
Dear rspeer - we regret learning of your negative experience with our service. We do find it somewhat puzzling that you never reached out to us for assistance after your instance had crashed - we have thousands of active users and each incident is dealt with utmost professionalism regardless the plan type. If you wish, we invite you try our service again and contact us at support@garantiadata.com with any question or issue.
Cloud Security: An introduction to Amazon EC2′s AMI and RDS Best Practices
No, not plugins, extensions.
I'm trying to find out two things:
1. Trying to find out what extensions are used most of the times on my service so I can create a better experience by implementing those features. (Like if I would be Tumblr I would like to track how many users are using http://missing-e.com/ or similar extensions.)
2. Trying to find out how much revenue do I loose because of ad blocking extensions.
The zombies thing is a bit disturbing, not because I take it at face value but rather that you would actually say that.

Those are people. They may live a life very different from yours, but I feel pretty confident that they care about the things they have, the people they know, where they live, and so on. Your narrative sounds terribly dehumanizing and dismissive. Nor do I understand how that the geographical location of a casino represents...anything at all, much less a 'true' Detroit.

As others have said, the Detroit dystopia thing has played out. As a Torontonian I love taking a drive down to Detroit and catching a game. The city truly feels like it is on a slow rise from the depths, having quite firmly hit rock bottom.

Does it have bad area? Absolutely. But then so does every urban American city.
What I was hoping you'd say :)

This is fine until I want to do this, at which point C++ becomes a memory management bastard:

void f(int n, int x) {
Gadget g = new Gadget(n);
// ...
if (x < 100) throw new GadgetException("Gadget broke", x);
if (x < 200) return;
// ...
}
Farms use the majority of antibiotics: http://www.motherjones.com/tom-philpott/2011/07/what-usda-do...

Altogether, the US meat industry uses 29 million pounds of antibiotics every year. To put that number in perspective, consider that we humans in the United States—in all of our prescription fill-ups and hospital stays combined—use just over 7 million pounds per year. Thus the vast bulk of antibiotics consumed in this country, some 80 percent, goes to factory animal farms.
Still, Java and Javascript are completely different languages and that has never lead to much confusion..

Not within the tech world, sure, but ask say a recruiter and it's a coin toss.
This idea - having locally unrestricted components connected by a restricted, declarative system - seems to keep popping up and never quite taking off. Hopefully sooner or later someone will spin it just right.

Some related projects:

Opis - http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.167.... - pure functions connected by dataflow combinators (with time travel debugging and model checking at the dataflow level)

Bloom - http://www.bloom-lang.net/ - temporal logic for coordination, message passing for communication with stateful endpoints

Flask - http://dash.harvard.edu/handle/1/2797447 - a c-like language for local sensor computations with a haskell dsl for specifying communication patterns across the sensor network

Then of course there is all the FRP work (eg http://www.haskell.org/haskellwiki/Functional_Reactive_Progr... http://docs.racket-lang.org/frtime/)

Despite all the interest, overlog (the predecessor to bloom) is the only language I've seen so far that has any convincing demos (hdfs and hadoop in 8kloc). I'd love to know if anyone is actually using this sort of stuff in production or, if not, why not? What goes wrong when you try to scale this up?

EDIT: I forgot to mention Mozart/Oz, one of the most interesting dataflow languages and one that explicitly talks about layering progressively less and less deterministic systems of concurrency - http://www.mozart-oz.org/features.html
try/finally in Java / using in C# are designed for that scenario.
2013 Movie Releases
That had been Google's policy for some time, they just started enforcing it for a while. IIRC it was around the same time BMW and a couple of other big names were temporarily de-listed for keyword stuffing and similar shenanigans.
> What job/career does his other half have?

During all this we worked together running the same business in various stages/products for 15 years. She's currently a successful glass works artist: http://www.worldinglass.nl/Site/Afbeeldingen/Afbeeldingen.ht...
Sounds pretty cool!

Since you're pretty much at design stage, two ideas are worth exploring:

1. Uniqueness typing (re: linear typing for mutable data) is a neat addition. The paper by John van Groningen et al seems the most appropriate: "Exchanging Sources Between Clean and Haskell: A Double-Edged Front End for the Clean Compiler."

2. The Shen lanaguage
http://shenlanguage.org/

Clearly, these may not map directly to the features in the final design, but the ideas they cross-pollinate will be very useful.
Well, I guess power corrupts etc... etc...

Although, as far as the UK is concerned, I have noticed that once Brits leave the island, the preponderance of their liberalism and tolerance seems to evaporate, leaving only an unpleasant core of xenophobia and bigotry. Or perhaps that is just some sort of self-selection / sampling bias, driven by the sort of people who tend to head off into the wide open yonder?
The ThemeForest Experiment: One Year Later
So you write `foo.bar` in Python and `O.bar foo` in Haskell, and you find the former satisfactory but the latter an ugly design mistake? Honestly it doesn't even look that much more typing; and (subjectively!) has a little better semantics, e.g. you can say that bar is a function with the type `Foo -> String`.

One advantage I'll admit is that in Haskell you have to actively watch out for ambiguities and refactor colliding types to import as qualified.
Ah, I read some of your stuff in the bugtracker/project directory(?)

I found the whole thing interesting, but a bit intimidating, because I never did FOSS stuff, code reviews etc. are all new to me.

But it's probably a good thing for improving skills.

Thank you for the link. :)
The best corporate presentation I saw at my time at IBM was a speaker with a bio on the first slide which highlighted his career history. While I can't remember the specifics, it pretty much looked something like this:

1995 - 2000: Role at company X

2000 - 2005: Role at company Y

2005 - present: Role at IBM

We were half way through 2009.
Indeed, storing the state on the server only (still have to figure out what to do with no connectivity), and verifying receipts on the server will mostly get it fixed.
nice post. Could you go into more detail about the controller snippet? What are you doing after the "// listen to events on model".
you can always fake a defer:

void f(int n, int x) {
Gadget g = new Gadget(n);
std::shared_ptr<void> defer(nullptr, [g](void *) {
delete g;
});
...

But honestly ... I'd just use a stack allocated object - or a smart pointer. In the last year I didn't write one delete. (I'm a full time C++ dev).
We're working on the perfect solution!
Thanks, we found that many app developers are unaware of how much in-app purchase hacking is taking place these days. So it was important for us to share.
A long time ago, but I used to work for a European subsidiary of a company headquartered in Santa Cruz back in '99, and when we went over to visit we could not go a day without hearing almost the whole team bitching about Hwy 17...

Apart from people like the CTO who had a fantastic place nestled deep in a small valley in between the nearby redwoods, or the CEO who had a huge house in Santa Cruz and had his sailing boat in the harbour.
Working in the same 100km radius is hardly "nomadic." The only real move the author did was to Canada, before relatively quickly moving back home.
When properly done, aggressiveness and cursing at people is way to emphasize things. In the scale of emphasis it falls somewhere below passive aggressive and using all caps.

Here is the example sentence in standard hacker rudeness scale:

0. Please fix this.

1. Fix this now, you moron. <-- Linus

2. I guess, we don't use this until you find way to fix this. Maybe I help with FreeBSD project meanwhile.

3. I need you to fix this NOW.

4. I NEED TO YOU TO FIX THIS NOW!

5. I NEED YOU TO FIX THIS NOW, MORON!
Is it really down? I'm not so sure. From what I've observed, most saavy tech people where already aware of the security issues. I'm sure there were some (perhaps not quite as saavy?) tech people who were shocked by the recent revelations. Most Americans are not tech people, and if they have heard of the NSA scandals, are not shocked, nor terribly worried.

They are used to, and for the most part, willing to trust their tech people to do what is right.

Is Facebook usage down? Gmail? LinkedIn? Twitter? I doubt any of those SaaS services are hurting as a result of the NSA scandal, and those are some of the ones that were specifically mentioned as rich data sources for the g-men.

Most of the companies I've worked in over the past 15 years or so are driven Number One by tight deadlines. Anything that makes those deadlines easier to hit, is a welcomed part of the project. Member privacy and data security have not been priorities. Sure, they are important if you can do it, but not as important as hitting that deadline.

We need rapid deployment and flexible configurations for everything. The fast pace just keeps getting faster.

We've seen a rise in VM's, pre-staged servers, appliances, then AWS provisioning, and other infrastructure technology because rapid deployment and flexible configurations are paramount.

SaaS is even better, you don't have to mess with infrastructure at all.

Faster, and faster if you can.
Dropbox is very useful even when not sharing data between people, Bump isn't for all I know (never actually used it).
When something happens on the topic object (it is expanded, collapsed or someone replies to it) an event is emitted. Here those events are caught and I can do my thing on that moment.

It's similar to jQuery custom events, except that we use our own event system so we can get rid of the DOM specific features – such as the jQuery.Event object.
Moving from PyroCMS to Jekyll for speed, security and sanity
Beaglebone weather station
Tutorial: Does Your Mobile Website Load in 3 Seconds?
Isn't that already happening now?

Look at nuclear technology. Weapons or other wise, super powers and their allies are always paranoid that developing countries may develop nuclear power and all the edge they have in negotiating anything will just go away.

Inventions like things that control vast advances in science and technology are always going to be much about politics and less about altruistic nature of humans to share the inventions with each other.

Fighting bigger wars to prevent small insignificant wars is the common theme these days.
Iceland is trying it out: https://en.wikipedia.org/wiki/J%C3%B3n_Gnarr
Accessing LaTeX graphics features directly is really cool,I would just use numpy and d3.js or flotr or something.

Why not use the MathJaX CDN directly?

I even wrote an IDE (basically stolen from MathOverflow) to type markdown and have it render on the web. Sacrifice control of paragraph sizing etc.
Yes. I work for a SaaS company in the financial sector and one of our offline competitors has just gained a chunk of our userbase due to this.

Why? Because someone is responsible for it at the end of the day and they don't want any data protection and security audits to show them up. That's the only reason.
Amsterdam, Poznan -> 1065 km, Amsterdam, Toronto -> 5500 km, Toronto, St. Josephs Island -> 650 Km, St. Josephs Island, Exloerveen -> 6000 km, Groningen, Landgraaf -> 300 km, Groningen, present -> another 300 km.

It's a bit more than a 100 km radius, I can assure you and whether or not you think 5 years is quick is up to you.
I just went to http://www.bing.com/ for the first time in ages. It seems to have achievements/medals in the top right (the 0/5 thing). That seems like a very unprofessional thing for a company like Microsoft?
I don't think OOP means what you think it means. There's nothing in Object Oriented Programming paradigms that specifies what you should declare class members as. There are more important components to that decision such as what language you're using.
Have you ever thought of buying a boat to live?
Iran restores blocks on Facebook, Twitter
The joy of Iran's Facebook and Twitter fans was short-lived as authorities on Tuesday restored blocks on social networks after filters were lifted for several hours overnight.
This was a short run self contained project by our summer intern Dan, but turns out to have had a tonne of benefits.
Well articulated. If you'll forgive some shameless self-promotion, Ractive (http://ractivejs.org) was born of the same philosophy - programmers shouldn't have to bend their code to the will of a framework, nor should they have to learn a dozen new concepts in order to be productive. It's an alternative to Knockout or React.
Opened the link. Did ctrl+f "api". Nothing found. Closed the link.

Unless it has an API, I'm not interested in your SaaS.
It mattered a lot before. If you had no online reviews to go by, going into a book store and picking up an O'Reilly book was a reasonably good bet.

It doesn't matter so much now, and it also only worked because O'Reilly was a small publisher who had the benefit of being able to be really picky about authors and subjects. It doesn't scale when you want to get a large number of books out on subjects where you may have very little choice in authors. How many people are qualified to write a book about [insert random 5 months old javascript library of the week]? Often it might be a handful of people, several of whom won't be interested and/or are bad writers.
Yes, but my s.o. wouldn't have it (it can get pretty cold in winter on a boat). The closest I've come to this is building a small RV (and I'm busy right now building an even smaller one).
Pneumatic tooth fairy delivery system
Looks good. I can definitely forgive :) Looks like we have similar goals:

> Ractive.js is designed to have as few surprises as possible – no mysterious $scope.$apply()
Elon Musk is by no means the first person to get that realization.

As a theme only things that can be easily reproduced by looking at the very physical nature are patented. If something is easy to reproduce by just looking at the idea or invention itself, that is the kind of thing that is commonly patented. Why else do you think the patent ecosystem if full of crappiest and most obvious patents possible.

It hardly makes any sense to patent some thing that is genuinely difficult to figure out otherwise.
Why? Because some things are testable. Antibiotics can be tested in a lab, while climate science cannot. Furthermore the climate is not behaving like early models predicted it would, so it makes it hard for people to accept (especially after sensationalist movies like An Inconvenient Truth). Also the politics involved are complex. Some countries (like my Canada) use way more oil per person and wouldn't be as affected by climate change.