skysight-inc/HackerNews huggingface dataset:
How simplistic an answer do you need? (apologies if this way underestimates where your question is coming from...)

Acceleration is change in speed[1] over time. Delta V over delta T. How many meters per second did you change your speed by every second?

So for a first approximation: Take three consecutive datapoints (a, b, and c). Calculate the distance and time between point a and b (from their lat/longs and timestamps). Divide the distance by the time to get average speed between a and b. Now do the same for points b and c. Now you can subtract one from the other to get "change in speed", and you can approximate the corresponding "change in time" several ways depending on the nature of your data (if you've got reliable one-point-per-second datapoints, just use 1 second as your "change in time". if your gps data isn't that consistent, I'd first try averaging the two time intervals a-b and b-c and using that.)

Now just keep doing that iteratively for every point and the two points following it to get a stream of acceleration datapoints and their relative timestamps. Turning this into Python is left as an exercise for the reader :-)

Edit: I just re-read the full question after posting this - if you've got reliable speeds for each timestamped datapoint, ignore the first half of that, all you need to to is calculate "the speed at time b minus speed at time a divided by time difference between time a and b" , then assign that as the acceleration for time b (for simplicity, or for some new average time halfway between time a and b to bet closer to "the truth"). That'll probably get you "close enough".

Note that if you're getting typical GPS data "noise", you'll probably want to track a moving average of the calculated accelerations. The multi rotor controller guys seem to mostly use "kalman filters" to clean up and make sense out of real world noisy sensor data... For your use case of algorithmicly generating timestamps in video, you quite likely wont need to get their level of precision. Try the easy way first...

[1] I'll handwave away the technicalities of the difference between speed and velocity for at least the first approximation solution here...
Top Places to Eat in U.S. According to Yelp
http://goo.gl/18pkmx
I've seen some great answers on Quora, but their growth is possibly due to spam. I hate to accuse them of that, but...

Quora lets you sign up using a Google account. Normally, this means you won't need to create a new password. However, Quora immediately asks you to provide one.

With that in mind, what's the point of linking your Google account? Well, according to this recent thread, Quora tries to access your contacts:

https://www.reddit.com/r/privacy/comments/3ax27p/tried_to_re...
On mobile, they make you install their app to look at anything at all.

Any company that needs dozens of "dark patterns" and tricks to stay afloat probably shouldn't exist. LinkedIn is the same.
“Three things I learned during 4+ years at Uber”
Ah, I was really convinced by the article but I completely forgot about days. That really makes it a nonstarter.
Do you literally not sleep at all, very little or are you just being facetious. I'm curious because I go through regular periods where I skip sleeping for a day or two.
Jim Clark: Unsung hero of the net (1999)
Cory Doctorow's Makers is becoming a reality.
You got to the unsubscribe form? Every time I inadvertently follow a link to that site, I get to their "show the article then cover it in a popup demanding I register" screen, think "to hell with you" and close the tab.

Which is a pity because it seems like they have a lot of interesting content, but there's no way in hell I'm going to give them my Facebook or Google+ account to get at it, and I can't be bothered creating a new throwaway email just for them.
Company gives away free data, so users download 1,841 terabytes
That's fine if you don't mind the time that could have been spent on something you actually cared about.

Sometimes it happened that school attempted to teach me something I was interested in and I ended up understanding it. At other times, however, it all went to /dev/null.
Beşiktaş Böcek İlaçlama, Beşiktaş Böcek İlaçlama Şirketi
Women coders do better than men in gender blind study
Do they still make you sign up to view all the answers? I remember being greatly annoyed that the site kept coming up at the top of Google results, only to be blocked by needing to login.

Whereas other rivals sites like the ___ exchanges didn't have this nag.
I wish a week were consisted of a number of days divisible by more numbers instead of a prime number (7). If a week was 12 days, we could do a routine every 2, 3, 4 or 6 days and it would still be the same day every week. E.g. If I wanted to run once three days, I could do that on every 1st, 4th, 7th and 10th days and it would fit the week perfectly or if we want to do a regular business meeting twice a week, we could do that on 1st and 7th days and the number of days in between would always be the same. Our schedules would be so much more neat, which could potentially yield to much more order and productivity.
I switched to emacs a year ago and I love it. I feel a lot more productive when everything I need is in single window. However, just recently, I started feeling what used to be minor RSI to be a major discomfort. There are days where I can't type at all. I don't know if emacs' key bindings is mainly to blame here, but it seems like it. evil-mode have been recommended to me but I'm hesitant because I never liked vim's key bindings.
Right. That's an application which actually cares about solar light levels in a region.

Most applications care about local time, because when it's 7 AM in December in northern Montana, you're getting out and going places regardless of how much longer it's going to be before the sun comes up. Local morning is only loosely tied to local sunrise, civil or otherwise.
In my opinion they test the wrong things for the majority of software developers. Most people who write code don't need the ability to solve especially hard algorithmic problems. Ranking solutions to hard problems is probably useful if you're Google but there aren't many Googles out there. We like to think that we're solving hard problems (and actually, on HN, we're more likely to be), but most companies aren't. A large amount of software is literally just a CRUD form and a database.

For the overwhelming majority of software businesses it's far more useful to know if someone is disciplined enough to use good variable names than whether they can write an algorithm to count the number of edges in an acyclic graph.
Slack uses so much memory because it's carrying around the baggage of its own webkit session. It's little more than a web browser that just connects up with slack, and thus has all of the bloat and ugliness of javascript.
You fly over from Londen to Amsterdam, having scheduled something at 16:00, which is in the agenda of the other person as 17:00, but then you check your analog watch. True, it would go well when you would've checked your smartwatch.
No worries dude. I could care less about my ranking on this site lol
I think we should totally adopt blockchain time. Typical time will look like "be03d0988bfa799f7d7ef9ab3de97ef481cd0f75d2367ad456607647edde665d6f6f and sixty eight seconds". Very convenient and also VC backable right now.
Wow, this site took me back to 1995.
That seems possible. Everything I've seen from that site indicates it's terrible.
Why C++ sucks (2016.02 edition)
Why Your Brain Loves Negativity and How to Fix It
FYI: This reads like an antivirus advertisement for nontechnical users.
$5
I don't see the point. If your docking station needs a coprocessor, why not just use a desktop? I think that mobile use vs. desktop use cases are so different, that two devices make sense.

> Don't everyone is supposed to pay something like 99$ a year for the privilege?

Developer Program Membership is no longer required. As of XCode 7, all you need is a (free) Apple ID to sign software for your device. You do need a paid membership for access to App Store distribution and for integrating services like Apple Pay.
It's a pity that franc is no longer backed by gold.
They are required to give you the 990 form if you email them usually.

In anycase, https://wikimediafoundation.org/wiki/Financial_reports

And the internet archive is a lot more deserving.
Thanks for the reply.
What's your background? Do you consider yourself analytical?

My feeling is Google Analytics is really not for most people, it's quite unfriendly.
What do you think?
Does the average American know their UTC offset?

I ask as I doubt the average British person would know, and it's zero for part of the year, and +1 for the summer.

But Americans have multiple time zones in their country, and we don't.
This is more an API for programmers, while the Mizu compact is for endusers/administrators without to any specific knowledge.
Tidal Has a Slight Ressurection, Hits No.1 on iOS App Store
In addition to the two LIGO sites, there is the Virgo instrument outside of Pisa, Italy, which will come online later this year. The KAGRA detector is currently being assembled underneath a mountain in Japan. And, mentioned in another reply, LIGO has the equipment for a third detector. This is currently in storage in the hopes that the Indian government will build a facility. By 2023 there should be five widely-spaced detectors worldwide.

The resolution of time-of-flight between the two LIGO sites for the signal we just detected was about half a millisecond. This resolution is somewhat dependent on the signal strength and the location of the source relative to the detectors. With three sites we can localize most sources to tens of square degrees on the sky. This is still very large; the moon is a quarter of a square degree.

The odds are pretty good to observe only one event in 16 days of data, and the likelihood of seeing the event on the first day is the same as the likelihood as seeing it on the last day. The analysis of the remaining data from the first observing run (ended Jan 12th) will probably take a couple of months.
For linux we already have a lot. Also for Asterisk there are a lot of user interfaces written.
For windows there is are no other free softswitch with easy to use GUI.
400M Chinese cannot speak their national language
> If you look at a country like the US that still doesn't use metric

Like? Only the US. All other countries converted to metric at some point.

Same with time zones and DST. Those weren't made by God on the sixth day, governments made the migration to them deliberately.
This point is addressed by the inventor in the comments at TFA:

Ernest Shackleton
October 29, 2015 at 10:21 am

Penguins at the North Pole??

Julldozer
October 29, 2015 at 10:56 am

If you were a penguin on a touristic trip, where would
you go for the Xmas holidays ?
How Ted Cruz Engineered His Iowa Triumph
Google algorithms keep changing all the time. Personally, I haven't noticed Quora results come up in Google search more often.

It could be that Google is tracking your clicks with cookies and showing you more of the sites you click frequently in the search results. Or the queries you are using might be dominated by Quora.

While I dislike Quora for forced sign up (with an even weirder explanation for why you need to have an account), some of the answers there are top notch. I haven't seen such depth in any Q&A sites.
In this case (Wordpress), PHP is used by end users, not by programmers.
Calculating the position of the sun in the sky is easy. It's predictable. Calculating the current UTC to local time offset is hard. Not only does it require knowledge of your location just like calculating the sun position does, it also relies on a patchwork of arbitrarily chosen rules that are subject to change at any time due to the whims of politicians. (And it doesn't tell you the position of the sun in the sky either, as local noon may be anywhere in a ~5 hour range around solar noon, and you have no idea when sunrise or sunset are or even if they occur at all, which they may not above the arctic circle).

It's confusing when you travel anyway. You have to reset your clocks, and know if/when the local time changes, where the time zone borders are, and what the time offset is to other places you care about like home. And after all that you still don't know when businesses are open or when people eat or sleep because that varies.

It doesn't solve the "what's a good time to have a meeting" problem, but it does solve all forms of the "I thought this time was in my time zone but they thought it was in theirs" problem. It also solves the "having to do mental mod 12 math to talk about time with other time zones" and "having to know the dates of everyone's DST changes" problem.

I agree that this will never happen in our lifetimes.
This is how I prefer to use it as a tool. Rather than set up difficult questions and test some algorithm that can be found with a decent google, set up a small number of relatively straightforward challenges.

This then filters out anyone who just can't code, and you can review the passing tests for craftsmanship.
I miss Aardvark :(
MicroPython is already pretty much there on some fronts.
Yeah they will still probably be labeled as dead man walking for the next 20 years long after your FP langue de jour will have outlasted it's pristine days and got damned to hell by the devs having to maintain the programs written in it.
Don't get me wrong if you are currently doing consultancy business for a niche FP language far for me to blow the wistle to companies that instead of paying your fees and hefty salary for that rare programer(who might be me) who would have dabbled in your obscure language they would be better of paying 10$ a month and get 2 more DigitalOcean instances to support the rise in traffic your non sharable state code is solving.
Rocket Internet's on-demand cleaning platform Helpling launches new technology
The problem is the bug catch creep growing around DataInput and mathematical operations.

I think it would really help to have a language, that differs between the original methods raw body (displaying the pure intentions) and blends out the various filters and catchy expeption handling.

Such a function with catchy names, could be allmost as good as a coment- and is usually there.
Coments can be useless too
/* Function taking these arguments, returning this type */
> I never liked vim's key bindings.

How... dare you? Did you really try? What's wrong with them?

I'm finding vi mighty fine. I switched my shells to vi mode and hate going back.

Maybe you need to try Dvorak, I have to admit I've never used vi on QWERTY :)
Assuming C code (not C++), then const int is not the same as a #define. An enum is only good if the values fit within the range of a native int.
While they are both Q&A sites, I would consider quora and stack overflow to be in different markets.
I might not have understood the article, but avoiding to write code is dangerous, and will lead to code that after a while will be impossible to understand because there will be hacks upon hacks. Your boss loves this though.

And about cleaning up the code after you got it working, ha ,ha, like that would ever happen.
It doesn't have to look nice, but make sure you get it right from the start, and that it covers all those twenty edge cases.
It will cost more time ... So most software projects fail anyway!? Maybe it's because of your shitty code ? (grin)
How to lint your stylesheets (Sass/CSS) properly with Stylelint
> large-scale campaigns of imprisonment and murder

That's counterproductive, because it's very bad PR in the long run. The modern way to abuse data is through "parallel construction", which allows for very efficient COINTELPRO-style targeting of anyone that would bring people together. There's a reason modern mass-surveillance technology is mapping relationships.

Limiting our right to assemble has been happening for a long time (remember "free speech zones"?). Before any serious challenge to a power can happen, the people involved first have to realize other like-minded people exist, that they don't have to challenge power alone.

(if anybody things this is implausible, I suggest re-reading the documents about JTRIG)
I didn't know about HackerRank. The concept seems quite similar to Stockfighter. Any idea how it compares?
Everything and everyone has a price.

It's only if we don't record the data in the first place, it can't have a price applied to it.
I am used with the old Delphi / C++ Builder style.
I think that it is much more clear than than bot the STL and the new trendy C11 style.

So my hashmap handling looks like this:

MHashMap userlist = new MHashMap<HUser>();

HUser *user = userlist->First();

while(user) { user->DoSomething(); user = userlist->Next(); }
TL;DR: "Obeying orders" is a powerful pattern; combined with "computer is always right", it can be downright deadly.

An anecdote: I've been driving in this one particular city for ages, I know the streets and their properties - yet while I was busy with traffic (rain and night and pedestrians, oh my), it only took a "turn left NOW" command to send me wrong way into a one-way street (instead of the correct one, a block down). I knew that specific street was one way, but not focusing on navigation at that moment, I have blindly obeyed, as it looked somewhat reasonable; only after turning did I realize what I have done (fortunately, nothing else came of that incident). Note that I do not have blind trust in algorithms - quite the contrary (turned out the navigation's data was wrong), yet I have outsourced a part of my cognitive load onto the device.

I'm not blaming the device: the faulty action was all mine (that's what you get for a talking toaster ordering you around). What I got was some insight: I no longer wonder why someone with more trust in their computing devices could do something so "blindingly stupid." This is probably the one area in UX that's hard to fix: the assumption that Friend Computer Is Always Right.
My understanding from speaking with former PM's is they moved their sign-up-to-view "paywall" from the first page you view to the second page, at least when you come from a social network or search engine. That obviously increases the relevance and search score when the answer is high quality.
If you look at the papers in the link, a private foundation is donating 850k solely for this purpose. I didn't read all the legalese in the paper, not sure where the rest is coming from.

So apparently it's not money of the Wikimedia foundation funding this project.
Because asking a question on Stack Overflow is becoming a formal skill, for God's sake!

It gets more annoying and restrictive every day so that I have to think trice before deciding if I should go again trough that agony of asking a question and fight with SO admins to keep it from being closed.
No, only the average American programmer. Most others wouldn't know what UTC is and haven't had to think about GMT since elementary school.
Utc everywhere, yesterday please
With negative interest rates becoming more prevalent and the IMF calling for the abolishment of cash to allow levying negative interest rates on all balances, I think it's perfectly valid to want a right to pay in cash.

On the other hand, negative interest rates have been prevalent for all of fiat history, thanks to monetary base and commercial bank money inflation. Negative nominal rates only make it more explicit.
That the article mentions airlines using UTC is a good insight. When there is a need to coordinate amongst international actors, then the importance of a globally shared time system can be agreed. But that's complete overkill for making plans to meet your friends for dinner, because a local frame of reference is the only time that is going to have meaning between you. I think the way it works now is pretty decent. Most globally coordinated systems already use UTC. You're already using it to store your database records, aren't you?

If rogue states decide to monkey around with their clocks, well I don't know. Half joking, but maybe we should just turn up to those meetings late?
> What did the Unix tradition of composability though pipes produce though that was more complex than grep, to put it in an exaggerated form?

netpbm?

Actually, once upon a time, there was a web browser called "Chimera", it used external commands to handle many types of files. For example, it used djpeg to load inline JPEG images.
I do believe that big data analysis could benefit your company a great deal: http://www.sas.com/en_us/insights/articles/big-data/big-data...
For the last couple of years I've been appending "?share=1" to the URL every time it asks me to login.
School district bans ‘racially devisive’ video after backlash
In http://arxiv.org/abs/1602.03840 we describe the various parameters that we were able to measure for this signal, and in http://arxiv.org/abs/1602.03841 we compare the results to the predictions from general relativity.

In Figs 6 and 7 of the second paper you can see the constraints from GW150914 on what are known as the "post-Newtonian" expansion terms of Newtonian gravity. Previously, terms beyond first order were only loosed bound, mostly from observations of the Double Pulsar system J0737-3039.

Just from this one event, we can also constrain the mass of the graviton to an order of magnitude less than the previous best measurement.
Everybody loves strategy. It's an easy and fun fantasy to put yourself in the place of the CEO at a giant company. And it doesn't feel like science, where you have to actually study lots of math before you can have an opinion.
C++ is a language that's easy to code badly in, but that doesn't mean it's hard to code well (portably, maintainably, effectively) in.

IMO it's a language that well suits pragmatic programmers who are willing to cherry-pick the most convenient and productive features for their projects and leave the rest alone.

It's a terrible language for those of us who compulsively try to be clever and use every little nook and cranny of the language they're using. They get lost out in the dark scary corridors and spiderwebs, and then say "C++ sucks" instead of "what the hell, don't go out there unless you really NEED variadic templates today."

Edit: And it's easy to get yourself in really weird pickles if you don't know what not to do, (static initialization order, I'm looking at you!) I've found my WTF-per-minute rate has dropped dramatically over the years as my coding style has improved.
Quick research on that:

- OpenOffice / LibreOffice (StarOffice)
- Firefox (with roots at Netscape)
- MySQL
- Blender
- Joomla (Miro)

So, there are samples for both approaches.

Open source superiority discussions from your local "uber enthusiast echo chamber" should stay exactly there. Here's real world calling.

When it comes to your predictions about no developers signing NDAs... With the perspective for an early influence on a product that WILL go open source, I think it is a bold statement to deny the possibility of a group of people taking such a chance.
I am not claiming this is an especially interesting opportunity for hobbyists.
To be pedantic, Clojure has nothing to do with CLOS. It does leverage JVM and lets you use objects and OOP patterns though.
Isn't this technique against all privacy ethics/manners?
Right now, C++ is less portable than Java..., that really have this ‘write once, run everywhere’ thing.

As someone who's currently rewriting a massive Java project in C++ so we can port it to other platforms, this made me laugh.

It reminds me of that physicist joke about spherical cows. "Assume a working JVM..."
Haven't watched it yet but there's double facepack 5 secs into the movie https://www.youtube.com/watch?v=RjbKYNcmFUw
Today JARs celebrate their 20th birthday
OSHW iCE40 FPGA evaluation board project
Every candidate has broken one or more of you "never vote for" rules.