skysight-inc/HackerNews huggingface dataset:
Sorry for the confusion. I meant that writing exception-safe code is difficult, not that RAII makes it difficult to write exception-safe code. I should have been clearer about that.

The book is excellent. For anyone who wants to use C++ exceptions, it should be required reading. But as someone who has gone through that gauntlet, I feel that I probably would've been better served by spending my time on something other than mastering the finer points of exceptions.

The reason I started talking about C++ exceptions in the first place is because, in my experience, when someone is very pro-RAII (like the original commenter I responded to), they also tend to be pro-exceptions. This isn't always true, but on average, it seems like either people prefer both or prefer neither.

Writing exception-safe code is certainly one of the hardest challenges available in C++, so if you enjoy a good challenge, then it's hard to do better. But if you're just looking to design large-scale systems, it seems like exceptions are unnecessary, as Google has demonstrated by banning the use of exceptions in their codebases.

In my experience, by refraining from using exceptions, it's possible to design large codebases more quickly, with fewer bugs, and without losing any safety or extensibility. However, this is simply my personal experience, and it may be mistaken to generalize this into a claim that all codebases among all C++ teams should refrain from using exceptions.

So, that's all I meant. I was also in excruciating pain yesterday due to a certain tooth that decided to segfault in my mouth, which may have contributed to the adversarial nature of my writing style. I feel bad about how I came across, and I sincerely apologize for it. No excuses, though: I should've done better.
90 DB Wireless Bluetooth customizable Multi Speaker
Coming soon SoGo Mini it’s mini yet powerful to replace your home music system, mini yet cute and customizable. Portability beyond imagination, one can carry it in pocket. Features like amazing 20 hours of battery life, multi device compatibility and multi speaker connection make this device superior in its category.
Custom Design Website, CAD Engineering Service
Nimbx Technology is your one stop shop for every requirement, like customized CMS based search engine friendly website, computer-aided design, 3D print, design/print a card, apps development etc. Customer satisfaction is their prime goal, as they believe in making impact rather making money.

http://goo.gl/jM0ZF2
Icann bids to stop Iran web domain seizure
I think the following is the biggest news. I wonder how they're going to enforce it...

"You must not incentivize people to use social plugins or to like a Page. This includes offering rewards, or gating apps or app content based on whether or not a person has liked a Page. It remains acceptable to incentivize people to login to your app, checkin at a place or enter a promotion on your app's Page. To ensure quality connections and help businesses reach the people who matter to them, we want people to like Pages because they want to connect and hear from the business, not because of artificial incentives. We believe this update will benefit people and advertisers alike."
Is it the technology you doubt? If so, you can easily try out apportable and see it for yourself.

There are a lot of reasons why people don't use Apportable, most of them don't have anything to do with Apportable's actual technology. Those reasons include: not willing to pay for it, and the fact that iOS design patterns (human interface guidelines) are completely different from Android design patterns. You cannot simply port over the exact same buttons and table views from iOS. Apportable will port those over just fine, but you basically need to redesign the entire app to be different on Android to have something that isn't jarring. At which point you may as well write everything in Java.
Actually, that was a discussion from a few years ago.

The discussion today was this:

https://news.ycombinator.com/item?id=8192054
If inspiration is asynchronous, the best you can do is have figurative pen & paper ready to record when it shows up. By also capturing the time & space context of the interrupt, you can look for unique-to-you patterns that prompt inspiration.

Generic tips: http://www.lifehack.org/articles/communication/top-10-source...

If you're a visually-oriented person, mind map software (e.g. iThoughts HD on iOS) makes it easy to spatially rearrange photos and phrases into a vision board, offering some structure yet leaving implicit room to generate new concepts.

If you want structured creativity, look into TRIZ. If you want unstructured creativity, grab some metaphysics / philosophy books.
Love the idea of Fixed, specially if it spills over to healthcare charges.

I have observed that hospitals invariably manage to saddle me with ridiculous "processing fees" and suchlike and add around $100 or more to my expected charges every time I visit them. I usually just pay up to avoid the nuisance of dealing with administrators who cannot seem to be able to communicate over email, and possible damage to my credit if I try to challenge it. I strongly suspect this is the case for a lot of middle-class Americans.

I'd gladly pay the same amount to Fixed to act as an intermediary between me and said 70s-era administrators, if only to let them know that someone is looking carefully at their exorbitant charges, and possibly even contesting them.
From my experience there are a few things that I try to keep in mind while working.

1) Keep your code as simple as possible. In the real world if you can call your code complex or clever it is probably bad.

2) When presented with a problem don't immediately reach for the keyboard. Take some time to make sure you understand the actual problem that you are solving.

3) Good enough and working beats perfect and not working. Perfectionists make horrible co-workers and usually end up with horrible code.
declaring income is one thing, but hotels in most areas collect specific hotel taxes levied by a municipality, and airbnb people aren't collecting and remitting specific hotel taxes.
Unclear that anything will protect against nationstate attacks.

Qubes is one of the less-insecure alternatives, http://www.economist.com/blogs/babbage/2014/03/computer-secu...

Intro to Tails/Tor: http://www.linuxjournal.com/content/tails-above-rest-install...

Android hardening (non-trivial effort): https://blog.torproject.org/blog/mission-impossible-hardenin...
> The Tea Party and the Occupy Wall St. movement is another example of two groups that basically want the same thing (hold big banks accountable no more corporate bailouts etc...)

Except not. While the TPP and OWS were, in some senses, responses to the same circumstances, TPP seeks generally right-libertarian approaches to addressing those circumstances, and OWS seeks generally left-wing solutions. There's some overlap, but also deep and fundamental opposition. TPP is anti-tax/anti-regulation, OWS is generally for restoring regulations that were removed that they see as having enabled the situations that both TPP and OWS respond to.

This isn't really surprising -- major, widely-felt economic pain is shared, but different ideologies offer different approaches to addressing that pain.
If there is ever a simple uprising in the US, I would completely agree with you, it would be next to impossible to get the armed forces in the USA to fight against a general popular uprising.

If it is more fragmented then it gets more complex as national solidarity breaks down at that point. Sure the army won't shoot Americans, but propaganda can start to redefine who counts as American.

ISIS did take over well equipped army bases with AK-47s, however only because the people with the equipment were not trained and ran away instead of using it.

And the IDF has only ever been in limited engagements against Hamas. They have never tried to completely destroy them militarily.

My point with the LTTE was never that a rebellion cannot fight a sophisticated military, just that if a sophisticated military uses total war tactics, they can utterly annihilate a foe.

What stops armies from doing this against a weaker enemy is not capability, but politics. The US could have nuked Vietnam for instance, but politically it would have been unjustifiable.

Ultimately, it is the attitude and makeup of your military that protects you from them, far more than the personal ownership of guns.

Edit - Regarding common conspiracies. My personal bet at the moment, ignorant and uninformed as I may be, is that there are a bunch of secessionists with power in Missouri and that this explains the bewildering actions of the Ferguson police.

It would seem a very good explanation for the actions of many of the authorities involved in the situation. Though, then again, so would complete incompetence, so in truth I am 50/50 on this.
Rails 4.2.0 beta1: Active Job, Deliver Later, Adequate Record, Web Console
I don't understand. That's exactly what domain modeling is. Putting names to the data you need to store and, in this case, capture at a particular moment in time.

Let's put it this way. Do you think it is reasonable to store the taxes as a reference, or the shipping cost? We would never consider it appropriate to say, "Go look up the shipping cost for a 5lb package from here to here." Oh, and by the way, this is using a live reference to a customer object, for which the shipping address might very well have changed.

Of course we would not do this. So why would it appropriate for a product price? An invoice is the capture of all this information at the moment the purchase is made. That is its purpose. If we did not need this moment-in-time capture, then the concept of an invoice would not even exist.
This is golden. Thank you.
That's fairly common. For example, hello.jpg (of goatse fame) is a gif as well.
Do you have any idea how morally bankrupt Microsoft was in the 90s? These guys got their training at Microsoft. The irony is the chief has completely changed, while the underlings continue on, perhaps trying to move out of his shadow.

Edit: Perhaps a little context is in order for the younger crowd here, since the MS today is very different from the MS of the 90s. First is "embrace, extend, extinguish", which was used to great effect with Internet Explorer and with Java. Their FUD campaign against Linux was legendary. They played nasty tricks during acquisitions. The list goes on[1].

1. http://www.vanwensveen.nl/rants/microsoft/IhateMS_4.html (To be fair, this person obviously has an axe to grind, so read with a bit of skepticism, but I worked at both competitors and partners of MS during that time, at neither position was very comfortable.)
Listening to the audiobook of The Gallic Wars by Julius Caesar is rich in detail and really grabs you by the throat. The classically trained narrator is superb. https://www.youtube.com/watch?v=snft290-FRc&list=PLpO7W_VntC...
3 Million Websites use Bootstrap today, here's a list!
When we think of Kings and Queens today, certain images pop into our minds that would not exist without the Byzantine emperors. The Byzantine emperors, starting with Constantine, were emperors in the most absolute sense of the word. They utterly dominated their empire to an extent few emperors of Rome ever did. Their rule and the iconography that sprang up around it were copied wholesale by royalty throughout Europe, which is why Europe's kings are so often portrayed, in art, in ways that are so similar to the Byzantine emperors. Constantinople gave the world the mold that all absolute rulers ever since have been cast in.
Are the questions catered to American women, or are they universal? Do you have a few examples? I find it interesting that this works..

I can't imagine what you'd ask men. Cars? I know nothing about them. Tools? No idea. Cooking, sport, shaving your beard.. I've got a beard trimmer?
"Sorry, but your browser needs Javascript to use this site. "

No thank you.
Yeah, possibly. I have no expert knowledge of this particular shoot.

Serenity's not a great example though, normally a movie like that would've been closer to $100M at the time. Source: http://en.wikipedia.org/wiki/Serenity_(film)#Filming
Which Is Closer: Local Beer or Local Whiskey?
This is a great move. I've seen so many video players with a like-trigger on the play button.
Yawned 3 times while reading that sentence " Dopamine levels are highest early in the day, giving a plausible explanation for why people yawn after waking up, he said." , and I just woke up ..
How to form a habit?
Payment fraud risk? Honestly, I figured it was just to save money from the economies of scale.
You say it's open source?

Is there a link to where developers can learn how to help with development and or use the player for their own projects?
Major retailers and manufacturers Like gate giveaways and contests. I'm really interested in seeing how Facebook plans to enforce this or what type of penalty they apply.
Imagine you live in Nigeria and happen to be the one actual honest to god legit well to do Nigerian prince. You want to go shopping online for a iPhone with your credit card. Problem is no one in their right mind on planet earth will sell you that iPhone because the chances of a fraudulent transaction originating from Nigeria are close to 100%.

With Bitcoin on the other hand when you transfer someone bitcoin that payment is as good as giving them cold hard cash there is no way to reverse that without the seller agreeing to do so so there is no risk of a charge back. The seller can ship the good and the poor guy who just wants to buy an iPhone can buy his phone w/o having to fly to a foreign country.

Bitcoin is like Cash that works over the Internet. The same way email is a letter over the Internet. Same result w/o physical presence.
That is awesome!

I was only 4 years old when my dad trusted me around scary things like torque wrenches and lathes. It wasn't until I was 10 that we were able to put together the whole engine again.

I feel like it is kinda cheating at life to have really, really good parenting.
In my opinion, viewing highlight text only is less distracted :). And well, using in terminal is more convenient for guys who work mostly in terminal right.
Nextbigfuture.com
Unfortunately, all I can say to comfort that is that choosing "rate of change" as your centralizing analogy for "derivative" has been shown through the history of mathematics to be a great start, but a slow finish.

Frequently mathematics benefits a lot from abstracting to algebra because, at this point, it's purely about how to define elements and operations by their apparent behavior instead of by their metaphor or interaction with a larger idea (such as notions of space, continuity, rate, change... all of those require quite a lot of mechanics to get in place, while algebra is very light-weight).

As an example, there have been a lot of attempts to discretize calculus for computers. Usually, the goal here is to create a scheme of discretization which, in the limit, resembles the smooth computations we'd like to perform. This has been a successful program in practice, but it's known to be fraught with weird edge cases. It's easy to create discretized situations which violate intuition.

Much of the reason these failed is because they attempted to generalize from the notion of "rate of change".

There's also the idea of discrete calculus (not "discretized") which is what you get when you apply the algebraic laws alone to some very standard notions of discrete spaces (oriented simplicial complexes, in particular—the simplest discrete object which "has enough topology" to meaningfully have the algebraic laws of integration applied to it).

What you get in this case is a rich theory of discrete calculus which rederives half of manifold learning and graph theory as a special case. All of the laws follow precisely—and they must, as the entire construction was built to prevent such violations.

Finally, you can examine discrete calculus to find a notion of "rate of change" if you like. But it's alien from that which you might be familiar with from continuous domains. It would have been very difficult to arrive at this point trying to generalize that intuition.

But it's practically inevitable (not to say it's easy, just inevitable) to if you say that you want to take the algebraic structure of derivatives and integration and apply it to oriented simplicial complexes.
#1 can be a concern if #2 is too common. I.e. if it's too easy to make junk patents, trading them can become a lucrative parasite business. So some will file tons of junk patents just to sell them to trolls. In such scenario the fact that some are ready to pay for such junk encourages more patent pollution which only harms innovation.
Agree with the sentiment but I can read the article with JS off.
Chicago, for example, stores water and sewage in a nearby quarry during periods of heavy rain.

Um, it's more than a quarry. Chicago is 3/4 through a sixty year project to install more than 100 miles of underground tunnels and reservoirs which will hold 66 million cubic meters of water when finished in 2029 (or thereabouts). The quarry is a temporary reservoir.

http://en.wikipedia.org/wiki/Tunnel_and_Reservoir_Plan
Many months ago there was a thread on HN about words that only males or females know the definition of... Thats one option... (I can't track it down.)

In the case of verifying women, you can simply ask the difference between different tampons or whatnot and most guys will have no clue. There are lots of things that ALL WOMEN know that men don't.

In the case of the forum my wife participates in, they ask questions about what happens at the Mikvah. While a few men might know the laws around this, no jewish male has ever been present at the mikva, and no single jewish women either... It is an experience exclusive to married jewish women...and there are specific things that are said and done that most men would have no idea how to answer. The few that would know the answer would likely stay away from the site in the first place (if they even use the internet!)

Edit: Here is the questionnaire. http://balaboostas.com/forum/entry/register?Target=%2F
>the problem seems to be that their muscles cannot support weight or balance.

It does? Newborns can support their own weight when hanging. Most toddlers can support their own weight standing long before they develop the coordination required to walk. Babies lack fine motor control.

Our ancestors, with less complex brains, would have been able to walk shortly after birth, hence the walking reflex.

I suspect the issue is that the complexity of modern human brains delays the formation of the neural circuits required for walking because a whole bunch of complex features are developing at the same time.
Word Perhect
> It's common in mathematics to take a word that already means something, and re-use it for a different but related concept. For example, in group and field theory, you talk about addition and multiplication, but they're not necessarily the standard definition.

That's true, but I feel like the article mislead me because it didn't give me a proper and timely explanation of what it means by "derivative".
> The biggest general tip is learn data structures. They are the fundamentals, you will always use them, get used to them.

Yes. E-R data modelling is worth learning early and well, http://www.aw-bc.com/info/riccardi/database/Riccardi_ch4.PDF
the 3.3-km-long tunnel-shaped reservoir, which is 7.5 km in diameter

That seems absurdly large. Then again, I suppose they want to avoid the question "what happens when it overflows?"
Probably the World’s Best Mac HEVC Player
Liberum Consilium: a system design for moderated deliberation [pdf]
The Al Capone of Tarnów
Doubtful about backpackbang.

All it is going to take is a couple smuggling stings on the travelers, and then they will have the reputation as not being safe.

I mean, who wants to spend their vacation in a foreign prison, waiting for the consulate? Or risk losing their job for smuggling a couple hundred dollars?
There's an 80s book with fantastic interviews of programmers before they became business leaders, check out the reviews:

http://www.amazon.com/Programmers-Work-Interviews-Computer-I... & http://www.amazon.com/Programmers-at-Work-Susan-Lammers/dp/0...

Some (all?) interviews free here: http://programmersatwork.wordpress.com/
100% Remote, US-based developers needed
My company is hiring developers, if you are interested send me a resume to resume at dotnetfactory.com

We are looking for several senior level .NET developers (with strong front-end/full stack experience and SharePoint a plus) to join our team. We of course will also consider developers with other skills.

PS: I have been working here for 5+ months and loving it. My favorite part is the 100% remote which for me is more important than any other benefit.
I believe it is 7.5 meters in diameter.
That sounds reasonable as a high level explination. However, the real reason police blow off 'small' crime is they have quotas. So, if there not going to actually catch anyone so it's a 'waste' of there time. Get someone's license plate and the police are all over a hit and run have a vague description and you just became more paperwork.

Which is why drug crime is so heavily inforced. It's easy to get a steady stream of people.

As a side note, I once had a cop show up and say someone found your cellphone come to the impound if you want it. 'wasteful' sure, except the odds where vary good I would be there so it's worth a little effort.
If the ticket is only $500k, I don't see it being limited to the top 1% richest. Given that you're making a one way trip to another planet, you no longer have need for any of your property including your car and home. If a middle class person making $80k - $150k were to save for 10 - 15 years then sell all their property then they certainly would be able to put together $500k. I know I'd be willing to go if Musk is able to pull this off.

In terms of compensation for the colonists, what are you going to do with money when you're on a dead rock 225 million kilometres from Earth?
And only one of these sets of priorities is self-centered.
Closed products always have that visual polish

Wow. You must use different closed-source software to me. I agree a lot of open source software is very ad-hoc and seems to have no overarching design in place, but the same seems to be true of most closed source software in my experience.
Why I Canceled My Amazon Prime Account
To tie some intuition back, here's how

I(region, derivative(quantity))
= I(boundary(region), quantity)

is just the Fundamental Theorem of Calculus.

What you need to do is take "region" to be an interval of the real line like [a, b]. Now, the boundary of "region" is the set of the end points, {a, b}. Thus, we've now transformed this equation to

I([a,b], d(quantity)) = I({a, b}, quantity)

If we see I as being a sum, it's clear that the right-hand-side must be the same as a regular sum, though we need to account for the idea that we're summing from a and to b. Ultimately, we do this by negating where we're coming from[1]

I([a,b], d(q)) = -q(a) + q(b)

Then we just have to recognize I([a,b], _) as the definite integral from a to b

DefiniteIntegral(a, b, d(q)) = q(b) - q(a)

and this is a statement that the definite integral of a function on an interval [a,b] is the difference of the antiderivative of that function evaluated at the endpoints---the standard fundamental theorem of calculus!

But notice that in this transformation we've destroyed some information. No longer is it so apparent that "boundary" and "derivative" have some kind of kinship. We also cannot easily generalize this notion to higher dimensional spaces (unless we already know the Stokes Law trick).

[1] This is a bit arbitrary. If we chose it the other way the equation would still hold, it'd just not be the standard convention and thus less recognizable. The reason we choose this is because calculus, it turns out, depends upon a notion of orientation. We have to know whether we're going with or against "the flow".