skysight-inc/HackerNews huggingface dataset:
When people asked my why I used Java this was pretty much my answer. I got tired of having to design all of my code around figuring out who owned the arguments, and what happened when it wasn't always the same answer. I can call a method that borrows the value from one that takes ownership, but I can't do vice versa.

I have six other things that will kill my app faster than a memory leak, but I have to design this shit first? No thank you. Rust is on my list of things to learn in 2016 and I'm hoping its borrowing semantics will feel like a solution to this problem without having to sign up for nondeterministic application pauses in the bargain.
Why-should-software-architects-write-code?
I did a quick search. Apparently the N900 can't handle multi-touch[1], which is a big advantage of capacitive screens.

I'd really miss that feature of the iPhone if it were taken away. Presumably the N900 has alternative ways of implementing equivalent features.

[1] https://www.starryhope.com/15-ways-nokias-n900-is-better-tha...
It would have got more traction if they hadn't chosen Biel.
Golang News
`ansi-term` works well in most cases. The only time it really breaks down for me is when I run commands that combine really long lines and complex escape sequences (like npm's new progress bar which you can thankfully disable).
Ask HN: Calculating Acceleration range from json data in Python
I am writing a script where i have some geojson data from a gps receiver of a bike with speed, timestamp and latlong. I have so far sorted the data using natsort, which gives the output in reverse order with the relevant timestamps.

Basically what i want to do here is trim a video (max 60 - 90 seconds) based on when the rider accelerates. So i need to get the range of timestamps which i can pass onto another script for processing of the video. Is there any formula out there for calculating acceleration which is relevant to my problem ? How can i get the range?

https://github.com/uber1geek/Python-GPS-Data-Analysis
I'm not so sure I agree with Mark on this one.

He asks how Sequoia's 'RIP Good Times' did at spooking the market, well...http://vator.tv/news/2015-01-13-venture-capital-sees-best-fu...

The funds themselves were unable to raise as much until 2015. So, yes, the market dropped considerably from 2007.
Of course, we also need to consider not just the VC environment but what was generally happening in public markets at the time. But yes, the market dropped, Sequoia or not.

I think what Mark isn't mentioning in this article (from my understanding, please correct me if I'm wrong) is that venture funds have to invest the money they are given within a specified time frame. So the irrationality is driven, in some ways, by an excess of money in the VC pool which is looking for good investments. Everybody tries to pile into the few that will work give positive returns. Which raises the amounts raised for those businesses, where we're seeing $100 million rounds in late stage.

In earlier stage investments, the VCs are likely trying to spread the load across as many businesses as possible, except, here again, you have multiple VCs and Angels trying to get in on the market.

As Mark said, it is a Market. He does benefit from having lower prices, and convincing other VCs that prices should be lower is the better strategy than trying to convince the start-ups themselves that they should be taking less.

It's like buying a house at auction. It doesn't matter what you tell the homeowner the house is worth, they're waiting to see how much they can get when people get excited about buying. But convince the other potential buyers that the market is going to go down and people are spending too much, and they all start second guessing their positions.

Have I contradicted myself enough in this comment?
This so much. I usually unsubscribe very fast from these sort of emails - I accidentally left a checkbox marked when I signed up to read an article and it actually got me hooked. Lots of good material.

I would love to read an article about how to create such digest emails. Typically they are truly terrible but they managed to make it interesting.
8 Docker containers isn't really saying much. I'm running 20 on my cheap VPS right now. They're just processes...
As others have mentioned the PyPI statistics aren't random at all. They're a count of downloads based on user agents. The points I mentioned above were discussions I had with the maintainer of PyPI (Donald Stufft) who also recognises that aggregated counts from PyPI are not an effective measure.

There are no good stats that give an accurate representation about usage % of each python version. PyPI is the only proxy we have, and that is skewed by a number of factors (two of which I mentioned). The overall trend is probably accurate, but exact percentages certainly are not.

My like or dislike for python 2 or 3 has nothing to do with my comment upthread. I was simply stating a number of facts about the data that people can take or leave as they like. It was not "convenient" for me to share those facts. I simply thought people might want to be aware that there's nothing scientific about the aggregated percentages.
Deleting from any empty database could just be a sanity check. If it's logically supposed to be empty at a given time, it's a perfect time to clean up database errors...
ekimekim said "even without considering dependencies/migration cost". Let's keep things in context.
> International Business Times

It's controlled by a religious cult or its leader, at least last I knew. I don't know that I put much faith in it. I'm not trying to tear down the whole story, but I think knowing and trusting sources is essential, especially in politics.

https://en.wikipedia.org/wiki/IBT_Media#Partnerships

Someone from IBT seemed to guard their Wikipedia pages, so there's probably more than you'll read there. If you really want to dig into it:

https://en.wikipedia.org/wiki/Talk:IBT_Media#Olivet_and_Davi...
Why I haven't given up on C++
I figure Mayer was brought on to do one thing: sell the firm, at the best possible price.

The Alibaba stake serves as a barrier against hostile takeovers (21B is a lot of capital), but when the firm really does need a buyer, they don't have one. Presumably Mayer's goal is to attract a bid from either Google or Microsoft. She has contacts within Google, and should have a decent understanding of how the firm values acquisitions. Hence the layoffs, constructive dismissal of remote workers, the Firefox bid, and such.
Low speed of newer Kingston SSDs
I think is important quantify the problem and look into the numbers. I did and found it astonishing.

I mean, the campaign contributions for H.Clinton for all its career come from the usual suspects, but the quantities involved are ridiculous, if you compare it with the quantities she and her husband received from speeches. And then there is the Clinton foundation.

Any honest person that look into it should have a problem with this.
You can use "we didn't start early enough" in such a way that it loses all meaning.

If you know your deadline (most game devs do) and your 100% in control of your scope then it's up to you (the team) to pick a scope that fits your resources (people and time).

The original article talked about situations where people didn't know the scope or couldn't change it and often wasted lots of time not starting. I think those are fundamentally different situations.
> then you have to maintain/monitor that daemon, seems like too much work.

This thread over at reddit may kill your concerns :)

https://www.reddit.com/r/emacs/comments/45mtdz/can_someone_e...
Dont depend on the grant money to run your business, treat it like icing on the cake. the money is more of a reimbursement than upfront cash. Grow from sales.
Depending on the car, some have accessory power that stays on for five minutes or so after the ignition is killed, and most of not all have lines that power the security systems. I would tap into one of those.
Have You Seen Facebook's New Feature?
Implicit parameters, too.
I guess these folks don't read xkcd: https://xkcd.com/927/
Thanks. I see now that it's merging binary neutron stars that create the huge gamma spikes.[0]

[0] https://www.astro.cf.ac.uk/research/gravity/tutorial/?page=4...

Edit: That tutorial also explains that black holes are very simple objects, so the chirps and ringdowns are likewise very simple. So black hole masses can be calculated very precisely. Also, amazingly:

> Just as optical radiation and radio waves, the luminosity of gravitational radiation falls off in inverse proportion to the square of the distance from the source. This makes binary black hole inspirals standard sirens: if we know what the masses of the two black holes are then we can infer the distance to the source by measuring its apparent luminosity. We can precisely measure the masses because the rate at which the frequency and amplitude of an inspiral increases depends only on the masses.
Thanks for the write-up. I guess bureaucracy is always the problem with public funding.

What's your startup btw?
p7zip is not anyone's first guess the first time they see a .7z file. And I don't have to download anything to open a .zip or .tgz.

Compressing a directory is a solved problem with standard solutions. You really should have a reason to push something like 7zip.
I'd imagine abolishing time zones would add billions of dollars in developer productivity back into the economy, doesn't seem like that bad an idea.
Yep. There are knives good at this. I have this one: http://www.amazon.com/gp/product/B000FLTP0A
To be able to enjoy a computing experience as envisioned by Xerox PARC and Olivetti, not AT&T.
This doesn't really make our jobs as programmers easier. For example, if I go for a bike ride in the morning, Strava calls it "morning ride". Morning will still be a concept based on the position of the sun, so it will have to look up my GPS data from the ride track, look up the time, and then compute where the sun was in the sky at the time in order to assign a label. Compare this to the current algorithm of mapping certain hours to certain words.

Similarly, if you have your screen on your phone set to turn redder at night, you now need to know your GPS location in order to do that correctly.

If you travel, this is going to be confusing. "What time do people start their workday here?" "When do stores open and close?"

Finally, this still doesn't solve the problem of "what's a good time to have a meeting with people in other locations". You'll still have to calculate your offset to the other attendees and see if they'll be awake at that time.

TL;DR: I'll eat my hat if this ever happens in my lifetime.
Employees are known to lie about education and work experience
Linux: http://linux.die.net/man/1/7z
Windows: http://www.7-zip.org/
Mac: http://7zx.en.softonic.com/mac
Yep. I look forward to these weekly digests. Once I click a link hours go by quick.
On the contrary I've been there less and less. There was a time where I was looking to contribute but the website is flooded with fake users generated questions. I guess they have to do that to fake the growth and attract more people but it just felt empty then...
Humans walk very efficient. If you want to burn fat or get your heart rate up, a 20 second sprint is equal to two hours of walking.

If you want to increase the capacity of your cardiovascular system, to get a lower resting pulse, the best method is to engage in an activity that gives you around 70% of your max heart rate, for about 45 minutes or more. Examples of such activities (for normal people) is gym training, cleaning the house, mowing the lawn, etc. At least twice a week.

Max pulse is around 220 minus age. So if you are 35, you want to average (220-35)*0.7=130, witch will feel easy.
> Quick, picture an iPhone user. You’re probably picturing somebody young-ish, urban. Somebody who likes a simple user experience that doesn’t change much from model to model. Somebody who admires good industrial design, and who has the money to fit a $600-$800 phone into their budget.

iPhone are so mainstream, so isn't so clear cut anymore.
Could part of it just be because Mathematical notation is just so bad? It's more of a shorthand than an actual tool of conveying meaning. So much context goes into establishing what a notated equation means - and that context is now gone.
This involves radically ignoring the human factor in time. Things are still mostly local in daily life, except in the small bubble these men live in.

Next year I'm sure they'll be arguing for decimal time.
I watched the documentary around a year ago and was really inspired by the team. It's sad to hear what happened to them to be honest. Such brilliant minds put to waste.
nitpick: in Javascript you can actually call functionName.toString() and get the implementation. AFAIK angular did this trick to implement their dependency injection mechanism.
They're not proposing a new standard, they're proposing using UTC everywhere which is what lots of people already do. It's not a new standard, just removal of existing standards.

That's just the time zones. I don't understand their calendar and if that's somehow necessary to make it work. At first glance, the calendar seems more confusing than our current one.
How about we destroy the daylight saving time first, and go from there?
Mobile application development company in India
There is something so autistic about this plan that it's just beautiful. So here's a guy who thinks that if we all used the same number everywhere (and abolish local politics! yay! Politics yuck!), everything would be easier, discounting by comparison that:

1. When we travel, we'd need to learn the local schedule.

2. When we communicate (say, by phone), we'd have to somehow compute where the other party is on their daily schedule.

3. Our understanding of global events would become muddled ("today at 15:30 an explosion rocked Tokyo". Was that the middle of the day? Middle of the night?), let alone of historical documents.

4. We'd need to educate billions who never travel outside their region about the new way the government services they rely on will now be communicating their schedules. I'm sure they'd appreciate the simplicity.

But, hey, we wouldn't miss our flights (never mind that most of the world population can't afford a plane ticket anywhere, let alone to a different timezone) and we'd all use the same number! Numbers are elegant, so if we could agree on a number, maybe the world would become less complicated. Can't we just all agree that the world isn't really complicated, but that icky politicians complicate it by making up their own numbers for "political reasons"?
Light used to measure the 'big stretch' in spider silk proteins
Yeah, you should always, always code what you're thinking about, IMHO. I once turned in a take home differential geometry final in the form of an ipython notebook because I found computing curvature coefficients so tedious. Debugging the thing to pass all my unit tests (not to mention solving the test question) probably have me the best understanding of anyone in the class.
Those problems already exist and have presumably already been solved for people living in the "wrong" time zone, such as western China which is completely out of sync with the sun.

So instead of having to get both the time zone and the sunlight/work hours right, we'd just have to do the latter.

About store opening hours, if you travel to Singapore (very popular stopover country), you'll have to work that one out - they open much later in the morning than western countries. That's just one example - https://en.wikipedia.org/wiki/Shopping_hours
I'd say it does well compared to other languages:
https://www.google.com/trends/explore#q=python%20tutorial%2C...
Slackware Linux maybe is not mainstream, but is a huge distro...
I think Rentrak in Portland is still an all Perl shop
You mean all those FP languages that happen to support OOP as well?

Lisp, Clojure - CLOS

OCaml - The O is for Objective, e.g. Objects

Scala, F# - Hybrid FP/OOP

Haskell - Type classes support polymorphism and extensibility.

Erlang - Message passing as envisioned by Smalltalk

So what are FP languages that have zero support for OOP concepts and are on the rise?
In TXR Lisp, I provide a "referencing dot" syntax (http://www.nongnu.org/txr/txr-manpage.html#N-013775DB).

A dot between symbols or compound expressions, with no whitespace, translates to a qref form:

a.b.c.d -> (qref a b c d)

The qref macro (http://www.nongnu.org/txr/txr-manpage.html#N-03A212AB) in turn does useful things like:

obj.child-obj.slot ;; slot access
obj.(fun arg1 arg2) ;; (call obj.fun obj arg1 arg2), obj evaluated once

I didn't go for the equivalence of (f x y) and x.(f y) because it's not a CLOS-like object system. It's single dispatch, and a method is actually a slot. Thus x.(f y) semantically corresponds to (call x.f y), and I don't see any value in making (f x y) a synonym for that, only harm.

It would complicate how function calls work. If global function f exists, x.(f y) still calls the one in x, unambiguously. for (f x y) to do that, the function lookup for f would first have to check that x is a struct object, and whether it has a slot called f, and then use it. Then otherwise fall back on behaving like a normal function call. That's just too much semantic cruft jammed into function calls.

The x.(f y) (f x y) equivalence only makes sense if you have a CLOS-like object system with generic functions that are separate from classes, so that f is a generic function named in the ordinary function namespace, which, when called, dispatches methods. Or a completely static language in which it is worked out at compile time whether f is an ordinary function or the member.
Cricket 365 24/7 World
A Call for Authenticity in the Silicon Valley
> not really seriously

??

Your comment is contrary to the Wikipedia article. And I recall big advertisement campaigns and hype around Swatch beat in 1999. And as the Wikipedia article mentioned several other companies supported it.
Yea that's true, since a few days it also supports VPC. Im interested in finding out the particular use-cases where one of them is better.
Pure FP might not have taken over the world.

But those that read my Java, C# and C++14 code, better know their way around lambda calculus.
Please login to see the answer to this question.
wow, that is a very interesting piece of news. Any chance you can cite the original reference to this ?
Yes, that was very funny - about 20 years ago.

On my current machine (OSX w 16 GByte RAM), Emacs built with Homebrow as native GUI application (HEAD, lots of bells and extras enabled) with 10+ buffers Emacs consumes 127 MBytes.
In comparison, Finder consumes 300+ MByte, Firefox 2+ GBytes and Slack(!) 500+ MBytes. And the Activity Monitor utility supplied by Apple I used to check these numbers uses 130 MBytes.

Yes, Emacs consumes 8 MBytes and more. But Moore's law has really fixed that problem. And in comparison with a lot of other SW, Emacs is not the SW application I would accuse for being bloated, quite the opposite in fact.
There's a world of difference between the two candidates' positions. Sanders has a history of stubborn, unwavering commitment to his progressive ideas, whereas Clinton has only recently aligned herself with some of the popular ideas championed by him. (Many of these ideas were truly radical when they were first proposed, even fringe.) Clinton, like most politicians, maneuvers for votes when convenient, and when required by her deep, complex ties to industries with their own, decidedly non-populist agendas.

As for reality – if I had to define the dialogue of this election, at least on the Democratic side, it wouldn't be a focus on modest, incremental, or "practical" approaches, but rather achieving ambitious, populist goals, demanded by those with a deep frustration with and even sense of injustice about the state of politics and the world. There's a very real desire for these kinds of changes, so much so in my view that implementation will necessarily follow from such strong demand.
Being 47 (I'm older!) gives you a perspective that younger folks simply don't have. How many SV startups are targeting people a few decades beyond their teens?
I think HackerRank is a great platform for challenges but I personally believe it only shows a small part of your skill set. I am a developer myself but also have hired a lot of engineers in my career. I believe that looking at existing projects you've done on Github gives a much better overview of your coding style, knowledge and your ability to learn. It also exposes some of the biases I know that we have in our own company (for instance, we know that if you have a functional programming background you'll fit in much better in our code base and team, even though we don't do functional programming).

All of this said, I think HackerRank is a great place to improve your skills in solving interview challenges and algorithmic problems.

Disclosure: I am a co-founder at source{d} where we analyse all git based projects to understand developers through their code.
Partially out of sync with the sun. When I was in Urumuqi, everything started a bit later (10AM vs. 8AM) and ended a bit later. I guess Kashgar would be a lot worse.
I've switched to Python a little while ago for the following use-cases, and couldn't be happier:

- Non-performance-critical command line tools for game-data export-pipelines that I previously wrote in C/C++: Python code is usually more compact, and everything I ever needed is in the standard library. If performance is critical I still prefer python to call out to minimal C or C++ tools which do the heavy-lifting.

- Replace native shell-scripts and Windows batch files with portable python scripts that run on Windows, Linux and OSX.

- Stitching together 3D content-creation-tools and command line tools, most DCC tools of have become python-scriptable in recent years.

- Code generation for C/C++ and shader code.

These are all very pragmatic and simple things, I don't care whether my python scripts are 'pythonic' or elegant, and I don't care about the 2 vs 3 debate. Python gets the job done, works everywhere, and I enjoy writing it because of its friendly syntax and powerful standard library.
The program I'm using for setting screen to red during night is actually asking for the coordinates already since the sun rises and sets at different times depending on where you live. It actually doesn't even get above the horizon in some locations on the earth during winter. Where I live we get about 4.25 hours of sun around midwinter.
Then every company is a tech company. You know Pizza Hut has an app now?
I think I was on the site yesterday. Went there through a link on twitter and clicked a link on that page. I was presented with the dreaded 'sign up to see' overlay dark pattern.

PS: I deleted my account sometimes back because I thought they used too many dark patterns to my taste at the time.
Hence why I love the idea of REPL as shell as used in the Xerox PARC and ETHZ OSes.

Only Powershell comes closer to how this was used.
> (the main one was more like once a century).

More like once in 200'000 years, actually.
Yes please! I can't even count the times anymore when we had someone over from London and had problems with the 1 hour difference in making appointments. Luckily, Outlook does a lot of the calculating, but then, you take a look at your watch when you arrive in a different time zone (which is just a short time of travel away) and boom, you're off again.

Just define a "Indicative start work time" for every place, like what would be 9:00 today, or something similar to align events during the day with the locals.
Austrian Minister Calls for a Constitutional Right to Pay in Cash
Nice. My titanium Halcyon struggles with it, but I guess that wasn't a use case they had in mind!
You mean like how it normally works? Of course it will be swapped out - into the GBytes of memory you oomputer is equipped with.
Tip: when presented with the dreaded sign up to see overlay, you can add ?share=1 to the end of the URL to bypass it.