skysight-inc/HackerNews huggingface dataset:
You're absolutely right. It makes far more sense to make the tactical decision to simply change the necessary code to work with the new CRM. I, and I suspect most of us, make the very same decision every day. When your goal is to build a product and ship then tactics, as in chess, will win you the game > 90% of the time.

I apologize if my trivial example failed to illustrate my point for you.

My point is that part of being a good developer is learning how to avoid doing the same task more than once. Tactical thinking inevitably leads to doing the same things more than once. The best programmers I've had the opportunity to work with rarely had to re-write anything they had to written. They had internalized the paradigms, patterns, and practices to avoid writing code that is brittle to changing requirements. This is what I mean when I say part of being a good developer is learning to cultivate laziness.

Focus on the things that matter but learn to internalize ways to avoid making work for yourself.
feel free to email me directly at david@weebly.com, i always love hearing about the things that aren't working perfectly.
There are fewer regulations, many of them informal and they don't answer to the FAA but to some branch of the DoD. This makes sense since military aircraft don't usually transport civilians or operate over populated areas.

See the software section of this document which says that military airborne software isn't, in general, acceptable to the FAA, which implies that the military are bound to weaker standards.
http://www.faa.gov/documentLibrary/media/Order/ND/8110.101.p...
One thing I want to add about TDD that always made it impossible for me to build is how pointless (to me) it is to do TDD in the functional/integration areas.

I tweak shit loads of forms, but as soon as a form get a little bit complex, it's impossible, for me, to apprehend the parameter's structure. Same goes with views. Your first view implementation is likely to be very different than the one you end up using.

TDD is built on the assumption that you know everything from the get go which has never be the case for me.

I write tests when things are settle down and ready to go live as a mean for me to say: "Ok, I think this is good enough, let's go live with this, but beforehand, let's make sure it works as expected".

Then bugs appears, and I add tests to cover those cases so I don't introduce regressions in the future.
Uber Used the Boston Bombing Anniversary as a Promotion
Distinguishing Analytics, Business Intelligence, Data Science
I disagree. We pay with our eyes, time and willingness to put up with bullshit. All of which are valuable to businesses. A lot of companies/websites have decided to lower the cost of that 3rd category (less ads, better UI) in hopes they can get more of the first 2.

That isn't to say the company has any obligation to its readers but just don't feel bad when I have adblock and scripts that fix your broken site.
Would employers have to provide indemnity insurance for any misuse of your personal network?

It would really suck to be called as a witness in a employment law case and have the opposition barrister rip your personal and professional competence to shreds for facilitating race , sex discrimination.

And yes that is what happens I know someone who used to be an organisations GC Yes would realy suck to be called as a whitness in a employment law case and have the oposition barister rip your presfional comptentance to shreds for facilitating race , sex descrimination.
Superb For iPhone Aims To Take Social Networking To The Offline World
Thanks for the feedback. We're working on refining our pricing. If you want to use the service, shoot me an email to erica at bitnami and we'll work something out.
> Distance in meters, Distance in feet

That brings up an interesting issue -- is the "right way" to do that to have different types for these, or one type for distance with different factory function/methods for different units. E.g.: should "meters" and "feet" be different types, or should the "measurement" module have both a "meters" and "feet" method that return the same ("distance") type.

It seems to me the latter is more conceptually clean.

OTOH, math might be easier to express with the former (particularly in a language that allows you to define implicit type conversions, so that if you pass an "inch" value to a function expecting a "cm" parameter, it gets automatically converted to the appropriate "cm" value.)
What's so hard to understand? Hacker News has a lot of naive people who have no idea how the world works.

Hey, the 80's called, and if you were born during or after, it's probably time to ask what you don't understand.

http://www.washingtonpost.com/blogs/fact-checker/wp/2014/03/...
I agree with you stylistically and don't personally use that brace placement. However, given the number of people writing C++ code for the F-35, it makes sense to settle on a standard that is never ambiguous. When nesting multiple control statements, it can sometimes require good judgment to know where to place braces for maximum readability. Giving each one its own line avoids requiring your developers to exercise good judgment in all the myriad cases.
I think so. It takes a while for it to `click`, but when it does you'll really start to enjoy it.
That whole blog post stinks of propaganda
Sounds good to me too. I'd like to set a "mood" as well. The probabilities for each track adjust based on the mood selected (aside: in the future the mood selection will be automatically and accurately determined via bio-sensors :)
Enemy of my enemy and all that. Seems logical to me. Unfortunately, no western nation would protect Snowden.

By the way, you seem to have triple posted.
This source (11 March VK post, 12 March rusbase article) is older than the article (Apr 22).
Add insurance and airline industries as big users. Mainframes are not going away. There is a general shortage of qualified folks to support and program them, and many of the folks who are qualified are aging. So yes, by definition having mainframe skills is marketable and salaries are attractive. On the (potential) down side, mainframe jobs exist almost exclusively in large, staid organizations, and mainframes are by and large doing the most pedestrian of data processing tasks. While there are exceptions, going mainframe means being comfortable in large, technologically conservative, bureaucratic organizations working on by and large mundane problems. You don't get a lot of time working on cutting edge technology (although some folks are doing interesting things with Linux as a z/OS VM). In exchange, you'll be well paid and work in very mature and experience operational environments.
In a dictatorship, if the ones holding power want to take control of an internet company holding data about the personal lives of hundreds of millions of people, they do so by ousting the CEO and taking control the hard way.

In a democracy with a free market, if the ones holding power want to take control of an internet company which holds data about the personal lives of hundreds of millions of people, they do so by strategically adding members to the company's board who are part of the oligarchy in place.

Putin's Russia still has a lot to learn! :')
I cannot believe the over-sensitive linguistically challenged group that must be downvoting that. Boy, doesn't it suck to know that sometimes words join together to have meanings and occasionally it includes one you weren't thinking of? Best approach is to say 'oh oops, I didn't mean that' and learn to construct your sentences better for next time. Worst approach is to deny that it could have meant that and learn nothing.
Hey, (I'm the original author of copytext at NPR) this looks like a really nice lib. FWIW, we specifically don't do it this way, because during development we're probably refreshing our page thousands of times and we don't want the delay of hitting the Google servers for every request.

Incidentally, that's also why we don't request the spreadsheet in Javascript--the lag time to render the page is too high.

We've found our approach gives us a nice balance of "real time" and "practical".

Thanks for the comment.
This is factually incorrect. Snowden stranded in Russia. He had a ticket for Cuba where intended to transfer to Bolivia(?). Either way: not Russia.
Here's the announcement[1] from a few days ago, linked from Safe's Twitter feed[2]:

Wanted to announce the release of my native Windows/MacOSX port of EncFS. It's called Safe, it's free and you can get it here: http://www.getsafe.org/

Safe forms an ecosystem with similar tools like TrueCrypt. It's not for hardcore cryptographic applications, you can't choose specific ciphers and it makes no effort to ensure plausible deniability.

Safe's main goal is to make file system encryption easy to use and accessible to more people. It's for every day encryption i.e. a simple way to ensure reasonably private stuff is actually stored privately. Peace of mind if your laptop or external hard gets stolen, or someone hacks into your backup service. As a tool, it empowers more people to make their own cryptography decisions instead of having to rely on and trust proprietary solutions.

Safe isn't without limitations. Think of it like the physical safe you keep in your home: burglars will have a hard time cracking it but given enough resources it's not strictly impenetrable. If you need a steel alloy vault, TrueCrypt might be closer to what you're looking for but it's not without its own set of limitations as well.

Personally I store all my tax, legal, and medical documents in Safe. That's just me, Safe is GPL and comes with no warranty :)

[1] http://pastebin.com/xxQhEv0q

[2] https://twitter.com/safe_app/statuses/457281727761620992
It's amazing to realize that even a monster success like Weebly (which among other things has made each of its founders vastly wealthy) is basically a roundoff error on Dropbox + Airbnb ($455m/($10b + $10b) = 0.02275).
Got a link? Wikipedia confirms the $30K loan from dad, but can't find the interview on google.
You are being voted down because your comment was completely unsubstantiated. Maybe if you had thought about it a little longer you'd have figured put there aren't actually that many (any?) viable alternatives for C++ for the kind of systems programming you'll find in a fighter jet. Or, if you disagree, you could have offered some insight as to what these languages would be.

If you can't have non-deterministic behavior such as GC, you can't waste gobs of heap or stack memory, you have to be able to interface with C libraries and embedded components, you need hard real-time guarantees, and your whole development stack needs to be stable and well supported, you end up with C or C++, it's that easy. You don't gamble by picking the hipster language du jour all the cool kids use to write websites or phone apps, but proven technology that (if used correctly) gives you reliable and predictable results, and will still be around and supported in 40 years time when these jets are still in service.

Blaming the failure to deliver the f35 on time and within budget on C++ is really quite a cheap stab.
He got in trouble for refusal to turn his company into goverment surveillance device. Much like the ones Snowden exposed so there's some symmetry between those situations albeit not obvious one.
As far as business in Russia goes, this sounds like a fairly normal course of events. Almost every large company has someone Putin-connected at the top, and when the Kremlin wants more control that's how they exercise it. (Either that, or corrupt court judgments that directly change corporate control.)

Don't be surprised if there are a rash of allegations of corruption, embezzlement, etc., against Durov. The sad thing about Russia is that they could be true, they could be part of a conspiracy against Durov, or both. You'll never know.
Andrew Binstock: Farewell, Devil's Advocate: Obituary for Stan Kelly-Bootle
I'm not sure if they're defining "logical" lines of code as all non-comment lines, but if so the requirement to have all curly braces ({}) on a line of their own would add to the vertical line count.
The way Columbia disintegrated somewhat imitates what range safety would do anyway. The whole idea is to blow the thing into little pieces which are collectively relatively harmless. You'll note that nobody on the ground was hurt by Columbia's debris.

Beyond that, the idea with range safety is to blow it up before it gets to a populated area. Not only to you break the rocket into little pieces, but you do it so that they fall down into the ocean, or on empty ground. Columbia's landing profile didn't allow this (even if it had range safety, which it didn't) but F9-R's certainly ought to, since it's returning over the same empty ocean that it launched over.
Snowden didn't flee to Russia. He was on his way to South America, transiting through Russia, when the USA revoked his passport, forcing him to stay in Russia.
Is there a book or tutorial or blog you would recommend for a Python person to learn Go? I'm certainly interested in what your thoughts are.
0. Drop me an email (see profile) if you want to continue this conversation. My full response is too large for a textarea.

1. Not using Play, so that's moot.

2. The monad type is not an Option, it's more like Future[Either[Problem, Response]], Caches, for instance, return Futures.

3. That was the simplest for comp I could find. Most of them are much longer. You'd have to be batshit crazy to write nested flatMaps for them.
It's not a waste just because it's a duplicate. It's a waste because all it aims to be is a duplicate in another language (which matters very little).
Except their website isn't in Go. So it doesn't even pertain to the conversation.
You aren't exactly wrong, but being smug about it doesn't make for productive discourse.
This wouldn't get anyone very far in my case, I really don't know that many developers outside of work. I don't like them, usually. They have bad senses of humor and annoying personality traits.
What are the killer features of this princess?
Flippa: https://flippa.com/

Popular for sites like this, as long as it doesn't take much skill/knowledge/connections to administer.
For the love of god, WHAT is a good music player for Mac? Going from Foobar2000 (PC) -> iTunes (MAC) is awful.
Doesn't say where/how Russia was doing/trying an illegal move...
Goji: a web microframework for Go
LGTM, and your response time to "support" requests is certainly great! I'll leave my grumpy comment, so that the context does not get lost.
i upgraded the server. i hope it runs better now. i will try to restart from time to time. because it has a lot of load right now...
Plenty of people don't like this aspect of Akka. Most of them are using scalaz-stream instead.

See http://noelwelsh.com/programming/2013/03/04/why-i-dont-like-... and http://www.chrisstucchio.com/blog/2013/actors_vs_futures.htm...
WhatsApp passes 500M active users, 700M photos and 100M videos shared daily
I agree. I skimmed the article before I made my parent comment. While I have no problems with my company asking me for selective referrals, I would never let a recruiter sit next to me at my workstation and build a spam database of my contacts regardless of the source.
Internal moves make no sense. You can't move an object out of a container that has invariants, like an ordered map. This is why it only makes sense for the caller to move a container in to the function. This is efficient. I've edited my 3rd version appropriately, as moving from a const& was clearly bogus.

template <typename Range>
void draw_all (Range r) {
for (e const& : r) { draw(e); }
}
Yeah, but I don't think his current visa was given out "of the goodness of their hearts"
Some of them became TDD consultants later on - it is more trendy now, although the hype is dying down a bit lately.
I wonder if there are any architectures where the naive strlen performs better.
Tuition in Europe varies a lot. In some countries it may cost €2000 per year, in others it's free.
Are you sure he didn't create copy of MySpace?
I agree. Was interested in signing up or at least seeing how much it cost but there is no link from menu for plans and pricing... Pretty big deal breaker for me.

Went to sign up but sign up page was on a non SSL page. I don't like sending passwords in the clear.
You can get a refund:
https://www.google.com/events/io/help#!/registration
Running Vkontakte in the US would get you into huge legal trouble, considering how many movies and music albums are hosted there without permission. And I think you would be required to share users’ personal data with US law enforcement agencies just as much.
Transcript of Supreme Court argument in Aereo case [pdf]
"So in the bottom of the ninth, we decided to transliterate our 90k lines of Python directly to Go, line by line."

A question here: Is it always a practical approach to transliterate line by line when transitioning to another language or because "Go [is] semantically very similar to Python"?
How Silk Road Bounced Back from Its Multimillion-Dollar Hack
> I'm glad this is still being updated.

We are too. There are a lot of languages out there and as we find them we add them (we have someone who is searching and adding them).

> If nothing else, this screenshot display ought to put to rest the idea that visual programming makes programming "intuitive" or "easy to understand".... most of these screenshots are just as opaque at first glance as any block of code is.

I'm not sure if I totally agree with your conclusion of what the VPL - Snapshot page is bringing to the table. I think this page shows that there are many different ways people form mental models. Not only in the domain of textual languages but even within the domain of Visual languages.

The intuitive or easy part comes from people being able to program a computer using the mental models they are most comfortable with.

As for VPLs being tried comprehensively, I think this is true in the case of domain specific VPLs and I think they are becoming more and more main stream. For general purpose, domain agnostic VPLs, I don't think we've even touched the surface.
In this article a former systems developer at MIT's Project Athena (and current CISO for In-Q-Tel) discusses the problems with trying to develop critical systems in a context where the failure mode is not random chance but sentient opposition. He also discusses ways to outpace network attackers and what policy implications those present.
And lose literally his last place of refuge capable of withstanding U.S. demands in the world? If he pisses Russia off, he's either in a Russian jail (horrible) or in US hands (possibly equally horrible). Why do you want this? Has he not sacrificed enough of his life?

Almost everyone, Russians most of all, know that Russia conducts fearsome mass surveillance of its own population. It was Snowden's revelations about the capabilities and intentions of the U.S. that came as a big surprise to many, and so were most needed.
Well, there are really three different kinds of information involved. For example, the variable "target_resist" might have: Computational type (float), Dimension (resistance), and Unit (milliohms).

Most built-in type-systems (sensibly!) only try to tackle the broadly-applicable computational-type, since the rest is context-specific.

However, in a contractual sense, all of those are important, if any are not as expected, you'll get bugs.
Breakingbytes: breaking tech news from the breakingnews team
What % of resources does Weebly devote to personal websites (www.myname.com) versus business websites (www.mycompany.com)?
Same with me. I use "test first" with unit/model tests only. For the rest I first write the code, test in the browser and when I am happy I write a test to make sure I won't break the feature with future code changes.
Learn to sketch UML (not use it as a formal development language) -- it's incredibly useful if you don't get too caught up in formalities. "UML Distilled" by Martin Fowler is a tiny book that teaches you enough to sketch it.

I made a UML cheatsheet a while ago for a talk:

http://loufranco.com/blog/uml-cheatsheet
While web 2.0. and mobile is reaching maturity with winners are consolidating the market we see the trading of productivity with performance and reduction of operational costs... I m more curious of upcoming booms and which languages and frameworks they are going to bring.
Link to russian version on Pavel's personal page: http://vk.com/id1?w=wall1_45616

Nobody was forcing him to write this. It is exactly what he thinks about Russia.

PS But sometimes people can change their opinion in a month :)
Ask HN: jumping back into C++ after 4 years, what did I miss?
For the last 4 years or so, I've been mainly using dynamic languages after coming from a solid C/C++ background. The last 4 years also have happened to be some of the most transformative years for C++. I'm starting a fresh project and want to know what people are using for their C++ ecosystem. In particular, I want to avoid re-inventing the wheel. Feel free to fill in the blanks below:

-- Compilers: g++, clang, anything else?

-- Build systems: do I still have to suffer through autotools?

-- C++11 features: which ones are production ready?

-- Package managers: anything decent at all yet?

-- Testing: unit tests, integration tests, profiling?

-- Debugging: still with gdb? Anything better than valgrind?

-- Threads: still with pthreads?

-- Documentation: anything better than doxygen?

-- Static analysis: anything FOSS out there?

-- RPC libraries: any de facto standard yet?

-- Async programming: still libuv?

-- HTTP client/server libs: I hate cgicc, but have used it.
"I cannot forecast to you the action of Russia. It is a riddle, wrapped in a mystery, inside an enigma; but perhaps there is a key. That key is Russian national interest."

- Winston Churchill
"First check you're not trying to solve a social problem with technology"

This is incomplete. It should be "First check you're not trying to solve a social problem with technology and no understanding of the social problem".

To claim that you can't solve social problems with technology is silly. Examples:
- People defecate in the same bodies of water that people drink out of. Modern civil engineering technology has solved this in many contexts.
- Occasionally, fires wipe out large swaths of cities. Modern construction technology, combined with fire codes, has solved this in many contexts.
You're not wrong, precisely, but the former method has the virtues of simplicity, forthrightness, and the presentation of a salutary example to others who might find themselves in a similar position.

Also, people from the West have been telling Russians that Russia has a lot to learn at least since the fall of the Soviet regime, if not since the days of the tsars. Some who've given such advice have done so out of good intentions. Others did so with malice aforethought, and have brought about considerable grief in so doing, as for example during the post-Soviet interregnum, when Yeltsin let himself be swindled out of a huge fraction of his country's wealth to the enormous detriment of the Russian people -- I've seen estimates of premature and unnecessary deaths thus caused which range into the low to middle seven figures.

Part of the reason why Putin enjoys such wide approval in the nation he governs is because he's not particularly inclined to listen to Westerners bearing gifts, whatever their intentions in so doing may be.
From the Engadget hands-on:

Additionally, Lytro has worked out a deal with Adobe and Apple so you can transfer those images to Lightroom, Photoshop or Aperture if you wish to work on them after you've adjusted the image's focus and depth of field to your heart's desire.
NIST removes Dual_EC_DRBG
iTunes killed all competition for a long time, but a lot of smaller players without all the baggage are popping back up these days.

I haven't tried most of these, but Ecoute is well done.

http://mashable.com/2013/07/31/alternatives-to-itunes/

http://pixiapps.com/ecouteosx/