skysight-inc/HackerNews huggingface dataset:
That seems a naive sentiment to me. You say "go fully autonomous" as if that's a capability that exists when it doesn't.

I don't believe that an autonomous computer program today is capable of deciding when to shoot missiles at people, when to shoot down another aircraft, or when to drop bombs on a building. I don't think a program, with no human input, no GPS, at night, in inclement weather, in the face of enemy sensor jamming, is even able to decide if it's reached its target accurately enough to then attack that target. I also don't think any computer program, even operating only in a simulation, can perfectly evaluate the acceptable level of collateral damage to civilians and infrastructure from its decisions -- to decide, for example, whether it should complete its mission of bombing an enemy unit if that unit enters a home or a hospital. I also don't think either of us is more informed and smarter than the US military and US congress, both of which have decided that there is still a future for manned aircraft for all these reasons.

I don't believe you really think otherwise either. "At this point", we don't even have autonomous cars that work in the real world. With all the best minds in AI working on the problem, with a working GPS and a paved road, our "Google cars" are still foiled by such simple things as a foggy morning blinding the LIDAR. It's going to be a long time before you replace the human pilot in an F15 or a B2.
Data size has a bit to do with it. Not trying to be pedantic, just adding that.
One is allocating on the stack and one on the heap.

Allocating on the heap means you have to delete it yourself in C++.

It's pretty staightforward, no?
I don't mean to be a naysayer, but it's not like the entire LHC international organization banned Powerpoint. This is one forum at one arm of one project at the LHC.

Don't get me wrong, I think it's great, but this is quite a small group we're talking about. I guess this is what the meetings look like:

http://i.imgur.com/kNJOySY.jpg
It seems to me, it's just the laziness of the programmers working on the front end that leads to them needing this. The code should be designed with the idea that the end user will run arbitrary JS of all kinds. If it can't handle that without negative side effects, it has huge problems. I hope Chrome fixes this bug once and for all and takes steps to prevent overwriting window.console by user code.
The problem I have is that Stripe, a competitor to Balanced, seems to keep the (YC S) emblem every time they have a story. It feels like YC is trying to hide the fact that Balanced is a YC company I guess. Pair this along with the fact that (IMHO) Balanced is killing it, but I only ever see PR about Stripe (except for a few weeks ago, when Balanced announced a partnership with CoinBase, another YC company)

But I could be paranoid.
Out of curiosity, how would you recommend handling a situation in which a file close fails? My instinct is to have an RAII class whose destructor catches any exceptions, adds the error to some list somewhere, and doesn't rethrow anything.

What's an example of a language you like that does exceptions in a better way?
> "the Seattle one lets you walk through the inside"

As long as the weather is nice enough. We had to close down if there was either a threat to safety (lightning, ice on the stairs) or a lot of moisture getting inside the aircraft.

As a bonus, you can also walk through Eisenhower's Air Force One aircraft and see a lot of other cool stuff. Apparently in the summer they even open the 747 prototype, one of the 727s, and the Super Connie: http://www.museumofflight.org/airpark

(I used to work in the museum, and later volunteered to monitor those two aircraft. Never got to see inside the 747 though.)
Source Code Pro looked good when I saw it in webpage images, but when I switched my iTerm2 to it, it looked very... stumpy.

Have not tried it in Linux yet. But DejaVu is the only font yet that I've found satisfying on both Mac and Linux (with Ubuntu's font rendering patches)
Correct me if I'm wrong, but Retailmenot's business model is drawing in people seeking discount codes and then tags their affiliate codes when the user clicks through to site to actually make a purchase.

Coupon.com's business model is to be the online distributor of manufacturer and store coupons. I'd have to think Coupon.com's revenue comes more from manufactures and stores licensing / paying for inclusion on the Coupon.com website than from affiliate marketing.

Retailmenot is getting 73% of its total traffic from search and Coupons.com is less than half of that at 35%.

I think Coupons.com also has a more engaged audien than Retailmenot and a large network of coupon bloggers promoting the product and participating as affiliates.
Reaching My Autistic Son Through Disney
I did an ECL port to iOS a while back, which you can read about in the ecl links here:

http://kriyative.github.io/tags/

I vaguely remember someone adapting it with an ECL to android cross compilation effort. Can't find that link now.

The LGPL license of ECL is something to keep in mind as you consider your options.

Good luck.
Your Contract Projects and Payments in One Place? Vote with Your Email.
TBH, I don't think very many people know how to do this. (including me -- but thanks for pointing this out, I will definitely spend some time figuring out how to do it).

It's pretty straightforward. Simple approach:

- Make a textbox.

- Add a word for each page you want to link to.

- Highlight the word.

- Insert -> hyperlink -> Place in this document.

- Copy that textbox to every page.

Here's a simple example. I put it on github, because I don't use dropbox, and I haven't heard good things about slideshare.

https://github.com/ehmatthes/nonlinear_powerpoint
I can't help but think that a scorched earth strategy might backfire...
Then lets cut right to the chase then.

We don't treat animals that bad. Putting people, at whatever age, in small boxes and throwing away the key for an arbitrary amount of time IS TORTURE.

I don't care if you stole a loaf of bread. I dont care if you assaulted a classmate. Nor do I care if you raped and murdered multiple people. Torture is NEVER an acceptable answer to committing crimes. If someone's that bad, file for a capital case and attempt to have the state murder them.
The problem with Gulp is just that it just adds too much extra cruft into the mix that isn't really necessary, mostly around running tasks from the CLI. Our general thought for build tasks is that all of that should be in a Makefile which will nicely handle mtime checks and everything for you, and is available on pretty much every setup out there.

The simplicity is nice because you can read through Metalsmith's source and really understand everything that it's doing very quickly: https://github.com/segmentio/metalsmith/blob/master/lib/inde...
You nailed it. XSLT is not a programming language, it is a data transformation language. Furthermore, it is a data transformation language written as a valid and well formed XML document.

I was recently involved in an exercise to create a JavaScript runtime environment running in Java, and wrote JavaScript scripts to process JSON payloads that transformed them into a set of instructions that would change network switch configurations. The process that kicked off the transformations initially generated XML payloads, but it had been modified to generate JSON for the exercise... or more accurately that is what it would do, but we were in the POC phase.

The difficulty in using JSON was that the payload wasn't flat but represented a system of woven objects, as was true of the original XML payload. The XSLT transformer while cumbersome to write was able to transform the payload using backtracking XPath references that was significantly more difficult to articulate when using JavaScript. In the end my POC method worked and it was easier for someone with a procedural programming mindset to read and write, but it lost some of the nuance of the XSLT method.

Use the right tool for the job. I personally thought the best approach would have been a combination. Use a lighter weight XSLT to transform the objects into a more manageable payload and then use the JavaScript to handle the last mile tasks it was better suited to do. It was an interesting exercise and maybe I'll be able to leverage what I learned on a future project.
I've been learning how to generate .epub, but I'm having trouble with generating the math equations that render nicely.

Do you know of any epubs with math in them that I could imitate?

Would you be willing to try out some of my .epub testing and give me feedback? If so please send me an email.
Standard as in, "except for the bad stuff," maybe, but there's no limit to the undefined void of bad stuff.
> Some people's learning styles might make that less of a problem (i.e. so-called auditory learners might be able to internalize what's being said nearly at the speed it's spoken), but for those of us who need to translate what we hear into our own mental language, constant note-taking substantially hampers the learning process.

Learning styles is more or less discredited. IIRC, research indicated that most students respond similarly to the same learning styles. The main difference between students tends to be whether or not they understand previous material.

I'm not saying that different mediums is a bad idea - most students do respond well to diagrams, explanations, examples, practice, etc.

Research supports note taking, so it's probably a good thing for most students. However, it might not be good for all subjects - math and programming requires a lot less memorisation of facts, and a lot more thinking. If you want to understand dynamic programming, simply memorising the key points won't help you much. If you want to learn a new API, then writing down important methods might.
Still early in development, but I've been working on an autopilot for quadcopters that uses Python, and the ROS framework.

https://github.com/rospilot/rospilot
Reminds me of the Anti-PowerPoint Party[1] (which was linked to on HN at some point). I would also like to say that I personally find whiteboard presentation much easier to follow. I taught a little bit too, but used slides, because it was easier. Maybe banning computer slides isn't such a bad idea...

[1] http://en.wikipedia.org/wiki/Anti-PowerPoint_Party
Make the right social connections, and get tons of free stuff forever
How did we ever survive without them, before boost showed up? I seem to remember doing just fine. They are a symbol of the useless bloating of C++, a language trying to be all things to all people. A half-assed halfway house between managed and unmanaged. You're either a competent C++ coder, in which case you shouldn't need them, or you're new to the language, in which case they are obfuscating the details that you need to learn.

> transfer ownership

Then transfer ownership. The object that owns them encapsulates a container. When it is destroyed, it iterates the container and destroys the objects that it owns. So to transfer, take it out of that container and pass it to the new owner. It isn't rocket science.

>unknown lifetimes

Then you have a lazy, poor design. And that's the point really, managing your memory properly is an intellectual rigour - it forces you to improve your design, to be acutely aware of these issues. Not just spawn shared_ptrs and hope for the best. We have nice forgiving languages where you can be lazy. Coding in C# is like taking a holiday. C++ is meant to be hard.
There is some indication that hand writing notes results in better retention: http://www.huffingtonpost.com/wray-herbert/ink-on-paper-some...

Some searching also pulls results from a few years ago with similar headlines.
Yes, aka UNREALIZED demand.
They have a contract with Google that guarantees them $1B over 3 years.

http://www.zdnet.com/blog/btl/google-paying-mozilla-300-mill...
I'd rather have all the facts open and on the table. For better or worse the amount of information asymmetry in the bitcoin market is staggering.
I don't think that's the only logical conclusion one can come to after reading DJB. Periodically rekeying has the beneficial effect of adding some forward secrecy to your RNG, so losing the state once doesn't necessarily permanently bone you.

People are working on a better Linux random driver.
Fibers are carbohydrates that are not decomposed thus lowering the secretion of insulin from pancreas (insulin spike). So the actual spike instead of having high peaks it is moderated now, making:

1) Your cells more sensitive to insulin (avoiding diabetes)

2) Your contains a more rational amount of energy so your body won't to have to store fat.

I don't quite understand how do you define energy since fibers are not technically digested. Well not the insoluble ones. The soluble are digested but, because of their slow digestion they regulate the insulin spike in a positive way: takes longer but spike (imagine this is a graph with peaks) is way lower (a graph with lower insulin peaks is easier for your pancreas to excrete and your body to handle).

Soluble fibers (e.g. oatmeal) helps with cholesterol, which performs a variety of functions in the human body (it's involved in cell wall functions, permeability, bile acids and so on).

> Doesn't fiber require more energy for digestion, which shouldn't be spent while sleeping?

Digestion requires energy and when you sleep there's much energy to be used elsewhere, so actually when you sleep the digestive process is working at full throttle... so I'm not sure what do you mean by shouldn't be spent while sleeping.

When you sleep having an empty stomach is bad, when you sleep having a load of food sitting in your stomach is equally bad, for the sleep quality but your digestion will work better than say if you were awake.
>But the guy in the article wants to be a High School teacher.

I already mentioned low-paid jobs.

Also, at least here in Australia the only pure degrees that the high-school education system cares about are maths and science, everything else is "generalist" and can be filled by any teacher. In addition, at least here a general degree isn't good enough any more, you either need a teaching degree or a graduate diploma in teaching.
> I don't think a rectangular wave can propagate through the ether :)

According to a guy named Fourier, a rectangular wave is really just a bunch of sine waves working together.
I happen to agree with the grandparent post. C++ is overbloated with features and when STL and templates came out, not all compilers even supported all their features. Not to say that templates themselves are bad, but there are too many things in C++. For example copy constructors vs initializers, (String)foo vs String(foo) etc. And now with C++0x and 11 we have even more. Lambdas? Concepts were about to be in there? Etc.

A programming language is supposed to be small so that programmers can share code. The rest can be handled with libraries. That's why C is better for huge projects. Linus agrees with me :)

In addition, why encourage reference counting pointers? If you really want to manage objects on the heap, have a garbage collected reference counted pointer.
Seems to work for me. [1] Maybe they fixed it?

[1]: https://twitter.com/ryanseys/status/442104260059488256
There is a big difference between a 4 and 10 hour flight. For a 4 day weekend, I wouldn't take a 10hr trip but 4 is doable. Of course, I live 20 minutes from an international airport.
Thanks for the feedback and the compliments! I played around with Radi a while ago and quite liked it :)
>reference counted system is a _garbage_collector_

Exactly. An awful one.
Speaking only for myself, taking copious notes in class always substantially hampered my ability to keep up. The only times I took such notes were in a couple of mathematics courses which moved at a blistering pace and had no textbook or other provided material: in those, it was essential to write everything down so that it could be studied and learned later, after class. But the act of writing during those classes made it quite a bit harder to follow the lectures while they were happening.

I would have much preferred to receive hand-outs with the same definitions/theorems on it a day or two before the lecture, so that I could have put my full attention on the professor and the material.

In basically all other courses, I only wrote notes when struck by particularly insightful thoughts I wanted to remember later, and my notes as often were about my own reactions as about what the professors were saying. But because I find it easy to focus and pay close attention in lectures, I generally had better recall afterward than most of my peers, even the ones who spent much more time “studying” their notes later.

* * *

By contrast, I had several friends who could only follow lectures by writing notes while in class, because otherwise they found lectures hard to focus on, and because they found that the physical act of writing what they heard to enormously help their later recall (not to mention they had a physical artifact they could refer to afterward).

* * *

I would like to see your sources for the statement “learning styles is more or less discredited”, as it does not align with my experience either as a student, as an observer of other students, or as the son of a school teacher. It seems completely obvious and non-controversial to me that some people have an easier time following verbal conversation than others, that some have an easier time reading/writing, that some people are more attuned to pictures/graphic elements, etc.

Maybe “learning styles” is a bad name for this, and I personally believe that it’s mostly the result of practice and acculturation rather than anything genetic/inherent, but it still remains obviously (to me) true that different students find different modalities and teaching/learning methods more effective.
SVD is in there, in the "matrix decompositions" section.

aybe I should make it more prominent.... but usually for UGRDs they focus on eigen-decomp so I put the main focus there too...
>Anything that occurs in the real world occurs linearly. //

Solution finding in a quantum computer? They're solutions are supposedly parallel and non-linearisable. Reading the solutions I guess forces linearity.

There's also relativistic issues but you can solve those by saying there's an implicit "within any particular Inertial Frame of Reference".

I think perhaps what you mean is anything that we experience we experience linearly; is that a better way of saying it?
> It's against the grain to think this way in dynamic languages because variables don't have types, only individual values do.

So? "The only valid type for a conditional is boolean" still works if types only apply to values. Under that principle, anything but True or False value encountered in evaluating the condition of an if statement ought to throw a TypeError, not be evaluated for truthiness. If you are expecting something else, call an explicit, use-case-appropriate function to get the right in-context truth value.

(Note, I'm not saying Python should do this, I'm explaining how the logic applies to Python without any contradiction to the "variables don't have types, values do" principle.)

> IMO every value except boolean false (and, if you insist, nil/null) should be truthy in a dynamic language.

I think that's better than what Python does (Ruby does that by default, with nil included as false, though it is IIRC possible-but-extremely-strongly-discouraged to override the default truthiness of objects so you could have classes with falsey values), and I lean toward preferring that approach, but the idea that a dynamic language would do well to just allow True and False as the only valid (non-error-producing) values for an "if" statement is not, IMO, without some merit.
Nordic Countries have this problem which affects melatonin levels and human psychology. It's not a very good place. I think the best conditions are met in the Mediterranean.
Yes, I agree. The flip side is that retailmenot is profitable while coupons.com is not. Neither would be in good shape if they lost their free traffic. Can coupons.com still support their affiliate/referral payments if they lost the x% of revenue they don't have to pay much for?
Wow no response to the fact you can't use it on apples app store. I take no pleasure in pointing it out but this is pretty fundamental. Time for a new project?
Like everyone, I'm still waiting for the perfect language. That said, due to this issue and the fact that writing exception safe code in c++ scares me (due to having datastructures potentially being in a wierd state), I have never used exceptions in c++.

I'd like to try c#, to see if it has the power of pythons unchecked exceptions and with blocks but with more helpful static typing for more 'mission critical' stuff, but I'm quite torn because as my name suggests, I like working on linux...,
Oh well, my memory failed me!
Malaysia Airlines 'loses contact with plane'
I’d recommend using Alfred app instead!
Brandon Sanderson's First Law of Fantasy
Information, Beliefs, and Trading
I spent my entire university career skipping out on lectures because I would never get much out of them. The spoken word is too slow when paced to the dumbest student, the linear straightjacket of slides goes against my natural inclination to imagine and experiment on tangents, and most professors insisted on telling rather than showing anyway, which is horribly inefficient.

If I'd had videos, I could have watched them at 2x, paused when I needed to to go do some sketching or googling, and learned more in the same amount of time because I was directing my own learning and not limited to somebody else's linear encoding of ideas into words.
adjusted EBITDA is a pretty standard financial metric

No... EBITDA is already "adjusted earnings". Adjusted EBITDA is "Adjusted, Adjusted" earnings. Or more correctedly <opportunistically> Adjusted Earnings.
One could also argue that the SR-71 was a tool that prevented death rather than facilitated it -- by delivering intelligence. It was a reconnaissance aircraft and despite being operated by the Air Force the payload of the Blackbird was never weaponized.
jaw dropping how this so called "industry" behaves. scam here, blackmail there etc.

it's like you give a bunch of kids one new shiny toy and boom, there is war.
Whatsapp blocked contacts list removed
>C++ is meant to be hard.

I thought C++ was meant to be a lot of things but I don't think it being "hard" was one of the key points of its inception.

Just because you're using a "hard" language, it doesn't make you a better programmer. If the language can be made easier, more productive to write, with less problems and bugs due to memory leaks and inaccuracies, while not impacting performance, why wouldn't you want to do that?
I felt the exact same way about Consolas' i and l… so much so that I hacked its metrics to remove the extra serifs.

http://mbauman.net/geek/2009/03/15/minor-truetype-font-editi...
Arrowsmith System
> There’s a misconception that restarting the (HTTP) request will fix the problem. That is not the case. Again, TCP will resend those packets that need resending on its own.

But that's not true if the connection is interrupted at the socket level, right?

For example, if the device switches from 3G to Wi-Fi, or from Wi-Fi to wire, then I believe, its hardware address changes, its IP address changes and the socket becomes stale. But the TCP connection, would it be closed right away or would it hang until some timeout? (And does it depend on the OS?)
You're terribly right. I've never seen immature behavior come from anyone involved in any "grown up" sector of the economy.
Somethings are better without powerpoint-like presentation, but is possible to use it correctly.

I have used the ideas behind http://www.presentationzen.com/ with good results.

Based on that, my mom setup a service to build that kind of presentations at http://www.emilypresenta.com/ (the site is in spanish for now), including finding, buying the photos/icons and the provide a basic layout for the talking part.