skysight-inc/HackerNews huggingface dataset:
Why not render client-side?
OS X would have been the only one certified. Even then I wouldn't call it a BSD per-se.
Because the last time I wrote a bitmap like that was about a decade ago using a proprietary compiler for a Z80 clone that implemented a "C89-like"[1] language? Call it a bad habit from too many years working with embedded micros.

If I was using a modern(-ish) C, an enum might be more appropriate.

[1] When you only have 16k of RAM and a 256 byte stack, having "int x;" default to "static" storage instead of the stack is a feature.
Thank you for checking it out! And if you have any ideas for how things can be improved, I'd love to hear them :)
I'm a tree hugging city-dweller. The article's beginning of bashing my regular transit really turned me off.

I don't think $10 is representative. A 30-day CTA pass is $100 and a 1-year Divvy pass is $99. For people that use these transit options regularly, this trip sound like it would have been easy. The train was really so hot and rank on a brisk October day?

I agree that subways, bikes, and buses are not ideal. They are what we have in mass quantities right now. I do want better transit in the future. Tell me the story about that grand future. I don't want to bash the present non-car transit, when there are no alternatives yet.

Once I pushed through, I did appreciate the categorization of 3 commuters: Time Trumpers, Everyday Improvers, and Experience Seekers.
This is so strange. If I fetch the page from http://archive.is I get the same default Nginx page

http://archive.is/AxHFV

the only thing I can think off right now is that the http "Host" header field is not sent. I have several sites on the same server and Nginx is used as a reverse proxy and uses the Host field to redirect traffic to different ports.
Does anyone have an opinion on Spacemacs[0]?

I haven't used it, nor Vim/Emacs. Just came across it during researching the two. Spacemacs appears to have excellent documentation though.

[0] http://spacemacs.org/
It was already pretty clear, but your point-form explanation makes it even more clear. Somehow, I imagined there was more "magic" going on behind the scenes, but it's actually just matching this.props with actions and reducers.

This is a really neat idea, though I can imagine there might be some problems name conflicts for larger applications... still, it totally looks like something I will play with in the comping weeks. Thx for the writup and the above concise explanation.
I, for one, look forward to the day I have Python in my frontend.

Browser support for <Script type=text/python>! Viva la revolution!

I would need so much less migraine medicine that the pharma industry would lobby against it.
It's kinda sad that no one else seams to be picking up on this. To lead off with that intentionally altered quote and looking at code in terms of how existentialists frame reality is the most significant insight.

edit: Radical Freedom in my programs intensifies
I could see some of this with solar, but not as much with wind. Wind does much better as large turbines--such a 1.5-2 megawatt turbines--not small scale stuff. One reason for this is that wind resources are much better at say 80 meters than close to the ground.

Plus, for wind to work well you also need a wide geographic area to even out some of the intermittency. That requires a big high voltage grid.
There was a bit of a trend, in action shooter games, to express a grim, gritty, "realistic" aesthetic by washing out all colors to a uniform dusty brown. It was kind of silly, and the term "real is brown" developed to mock it. A few years later, you had people going "LOL, real is brown WTF" at basically any scene that took place in less than full sunlight, regardless of colors.

I feel like "clickbait" is turning into that. People have forgetten the difference between cynical Buzzfeed-ism and simple humor.
Not really: https://www.google.com/trends/explore#q=go%20programming%2C%...
I took it a step further and just use my home phone now. Not necessarily to escape any sort of addiction or privacy issues of feature phones (though the latter does cross my mind occasionally), but because when you retire a smartphone, the majority of your traffic is no longer data, but calls and SMS.

The codec used in wireline telephony is an order of magnitude better, so it starts to make a lot more sense; http://www50.zippyshare.com/v/sJG1ch4b/file.html

As for SMS, it's nothing Google Voice or any number of different services doesn't cover.
Bernie also talks against the TPP as well... Or are you assuming Hillary will win?
Bit trollish, but: IDEs which let you ignore the complexity of the code let you write complicated code. Writing in less-fully-featured environments forces you to consider simplicity as a desirable feature (so you can, y'know, work out what's going on when using a 80x24 terminal).
First there was Perl. Now there's Python. Until there's another powerful scripting language that starts with a P, I think Python is going to be safe. That being said, rumor is that Perl is back on the rise...
Ask HN: How to submerge myself in work
I want to begin this thread by acknowledging that i know that this question has probably been posted a thousand times, and there are a million "selfhelp" book about it out there, but i'm here more for your personnel experience!

I'm a freelance fullstack web developer and designer, and work has been great lately, i even have to turn down jobs sometime because i'm booked for the next month or so, but the thing is, i waste a lot of time watching videos on youtube and just mindlessly browsing social networks! I know that i can do so much more and be so much better, i want to start writing, i want to boost my social presence, i want to find the time to actually code a portfolio for myself, i code and design websites for people, yet i can't find the time to do it for myself, i want to code and sell themes as a side revenue, start my own small online business, since some of the contracts i took for startups are actually pretty huge now, i have more than a couple of web apps that i created and are worth more than a few millions right now. So all in all, i have too much that i want to do, yet i do none of it, i barely push myself to finish my actual work, and spend the rest of my day, reading books, hanging out and browsing social medias. How can i be one of those people that don't have to stay up for 2-3 days before the deadline to finish the work, and i want to be a part of the community, post free code snippets and do everything else i want to. I certainly don't lack passion, so what am i missing HN?
Discreet Oculus
I think "this is a very, very, very small amount of money if you want to build an encyclopedia" was probably said by a bunch of people in the early Wikipedia days.
I think Go is an acceptable modern language for lovers of C.
Especially those who are allergic to C++.
Compact Flash, SD, thumb drives are all advertised base 2. SSD are advertised usually base 10 but I've seen some advertised base 2. No consistency. But that's marketing for you.
Python is very strong in data analysis, as strong as ever in DevOps, and it's very versatile to always see it show up in other areas.

Most of our Python use is for cross-platform mobile development with Kivy and we're happy with it so far. Certainly happier than having to deal with Java and the disgustingly horrendous Android SDK.
Link to Wikimedia's wiki page on the project includes a decent FAQ: https://meta.wikimedia.org/wiki/Knowledge_Engine
Surprised no one has been mentioning qwant.com yet.
This entirely depends on the set of packages you configure. I was able to make vim plenty slow by running too many plugins over too many files. I made vim lightning-fast by keeping things simpler. I did both of the same to emacs.

Actually, advanced IDEs like Idea only feel fast because they do most of the stuff asynchronously. Afaict neither vim nor emacs are excessively good at it.
That's okay. I never understood it, at least you did for a while.
preach brother! :D
Python pretty much replaced Perl in everything yet Perl is alive and well today. So, no.
Building a basic search engine is relatively easy. Building one that rivals Google is extremely difficult, and not just because they're so big and convincing people to switch is hard. It's much easier to have good results when you know that the websites you're indexing don't care about you at all. Once you get popular enough to rival Google everyone and their mother will be trying to game you and that changes the problem significantly.

The original implementation of the Google search engine would get obliterated today, though I guess you have to start somewhere.
Or, if you want to use a binary format without having to deal with all of the complexities of inventing your own, you can also use Protocol Buffers. You can even use Protocol Buffers as a schema for JSON too as of 3.0.
Another behaviour which makes these steps hard to follow is: someone wrote code and ships it, and thinks, because it works and is being used, it is great and doesn't need to be changed. These feeling get even more in the way when the code took a while to write!

I keep telling my team to write bad code: write something that's correct (but not great) quickly, with an eye to replacing it with something better next sprint. Then, once you have something which works end-to-end, work out which bit is most terrible, and replace it. Repeat & launch when the quality is acceptable (and keep repeating after you launch).
Debian Popcon is interesting too, but don't rely on it either: https://qa.debian.org/popcon-graph.php?packages=python3.4%2C...
There's projects where you're trying something new, and there's projects where you're trying to get something done. I recommend keeping the two separate, and for the second type using whatever you feel most productive with. Mixing the two just increases the risk of your project for no real benefit.
>the language and the tooling suffer from dogmatism and inflexibility

The inflexibility and dogmatism of the language is its biggest strength, lending it to create universally readable codebases that any Go programmer can pick up and be productive with.

The tooling has never stopped improving, and Go 1.6 is going to make the VENDOREXPERIMENT an official, supported part of the language.

Plus the real reason why backend devs are abandoning Python for Go is a numbers game that Python, short of PyPy pulling a miracle, will never even hope to compete against.
I think both built-in completing read and helm/ivy have their uses. ido is best for when you know what you want and want to get it to it with minimal number of keystrokes. helm seems better for when you want to review many (but not too many) options before deciding on what you want.

I find ido unusable for find-file, because of how it splits up directory from filename. So I use the builtin completion.

But I rarely open files using find-file anymore. ido-use-virtual-buffers is magical. For commonly opened files it let you use switch-to-buffer whether the file is opened or not.

(require 'recentf)
(recentf-mode t)
(setq recentf-max-saved-items 200)

(setq ido-use-virtual-buffers t) ; include recentf files

While, something like this works better with helm:

(require 'yari)
(define-key ruby-mode-map [(meta h)] 'yari-helm)
Thanks for doing this. I am concerned about the base rate fallacy[1] and would like to know whether/how the probability that this signal was a false positive has been estimated.

I read much discussion regarding the probability of a false alarm given the baseline model.[2] However, without an estimate of the probability of detecting a true signal during the same time frame, we cannot calculate the probability this is a false positive. Such an estimate would obviously require some prior estimates of the rate at which these black hole mergers occur and the percent that can get detected, etc.

[1] https://en.wikipedia.org/wiki/Base_rate_fallacy

[2] https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.11...
why is that not the default behavior then?
Google Shutters Picasa to Focus on Google Photos
Which Movies Make Grown Men Cry?
ido would really benefit from being spun-out as a package. People would actually fix bugs and add functionality in a reasonable way rather than hacky extensions (like ido-hacks)
I grew up with computers so tinking binary is not an issue for me. Storage capacity has always been wierd. A 1.44MB floppy actually has 2,880 512byte sectors. Base 2 and base 10 in the same measurement!
The article just seems to be a rehash of this BBC blog post (from 2014): http://www.bbc.co.uk/mediacentre/worldwide/2014/labs-crowdem... The link gives a clearer idea of what's being done than the article does.
The dark side of big data
You have to wonder that something bigger is going on behind the scenes. George Soros was invested in Herbalife at the time this article was published. In November he exited his position.

Carl Icahn is an investor in Herbalife. Bill Ackman has been trying to destroy it.

Are these investment tycoons waging some kind of proxy war against each other?
It finds all of the files with the .rb extension in a directory, then feeds that in to git log --oneline. wc -l then counts how many lines resulted from git log, which basically tells you how many times each file has been modified. Lastly these numbers are sorted from largest number to lowest.

The gist of it is that you figure out which files get modified the most. This lets you know where your most frequently changed code is.
I try Emacs around once per year. The problem is it's so slow under OSX. It's much faster on my 2007 iMac running Linux than 2013 mbp. I even tried to run it under X-Quartz but still performed poorly. What can I do?
Good luck with all that in 20-40 years if China, Russia, or the Muslim world decide to make aggressive battle-tested men.

Because we should be training our children for the impending apocalypse at all times?
I had a similar problem with a crypto presentation. Basically, I was angling for a free ticket to an expensive conference. The trick was to propose something that is plausible, but too arcane for practical use. The consolation was a free ticket. Problem was that they accepted the talk. Damn!

So, I started to read crypto journals. Basically anything co-authored by Chaum, Micali, Goldreich, Wigderson. After a few weeks, I starting to get the hang of it. Sort of like learning a new language. So, I gave the presentation and then forgot about it.

A few years later, I decided to show my powerpoint to someone and describe the process. WTF? How did this lead to that? Didn't understand half of it. Was really embarrassing.
I'm just a bystander, but: the paper mentions another, weaker signal in the time period they wrote up (18 days IIRC). That one had an estimated false-signal rate of once in a couple years (the main one was more like once a century).
30-45 minute commute is pretty normal even within cities with good subway/transit systems. Walk to transit. Wait for transit. Possibly switch to another line. Walk to destination. This can easily amount to that timeframe even over just few mile distance.
He writes:

"Mathematics is an excellent proxy for problem-solving... Mathematics, by its concise and logical nature, lends itself to problem-solving (it is not unique in this regard)."

But how can we be sure this is true if is unable to read what he wrote?

Maybe I'm thinking about the way Clojure programmers tend to use the word "concise" -- concise is meaningful only if it contributes to readability. Otherwise the more accurate description is "terse". And terse does not lend itself to problem solving.
Is TeXmacs still being developed? I read that it is largely dead. The website and software haven't been updated in years.
Doesn't it say 250k in the letter?
> It seems like they've managed to starve out a good chunk of innovation on this front.

If you look the way magit dialogs are handled, they're quite innovative and could be useful in many other contexts (like shell commands). Magit itself has many other innovative UI approaches. EMMS/gnus/notmuch/twittering-mode have innovative UIs of their own. Also look at spacemacs and the things its doing with guide-key for more UI innovation.

Being able to search (C-s) or filter (occur) almost any text on the screen (including UI like button names) is very nice, and something I miss when in Atom (like the Settings tab where one can only search things the creator decided to add a search field for).

There is a ton of innovation in vim and emacs these days, mostly in new packages. I'm glad we have them (and Atom and others) exploring different approaches.

There are plenty of gedit-like editors with standard user interfaces.
> Go for systems and backend

Certain sorts of systems and certain sorts of backends maybe. There is a reason people prefer dynamic languages for web based backends for example - the amount of text mangling and arbitrary data structure manipulation becomes a serious headache in a compiled language, be it Go, C/C++ or what-have-you.

I work on a large system written entirely in Python -we've considered introducing Go to speed up certain processes, but Python will remain the foundation for the foreseeable future.
Emacs+Org-Mode can be an incredible platform for personal information/knowledge management and quantified self.
All the interns we've recently interviewed all have Java and Python skills so neither language is dying in any sense of the word. In fact I would probably say that those (plus Javascript) are probably the languages new programmers are learning first.

Both languages are however going through transition periods, with Python the 2.x to 3.x migration is still dragging on and shows no sign of ending. Java is in a period of libraries rebasing themselves around Java 8 and Java 9 will similarly be a disruptive release once project Jigsaw finally lands. But both languages will continue to be around for a long time.
> thumb drive capacities

I don't recall ever seeing a thumb drive advertised base 10. Have you seen base 10 for thumb drives often?
Yes, it is still being developed. The latest version is 1.99.4, which was released recently.
If it's any consolation, Peter Norvig's Sudoku solver seems so readable on the surface that I've fallen into the trap of thinking it looks easy, or that I fully get it. :)

0: http://norvig.com/sudoku.html
True, happens.
You guys should check out this HN thread. It deals with some of the same issues we're talking about here. https://news.ycombinator.com/item?id=11036843
> Particularly, if storage tech does fall as this article predicts, I don't see why it wouldn't just replace peaker plants directly.

This is the first target market of stationary utility scale storage (MW class), as current peakers are usually inefficient natural gas combustion facilities that only run ~100 hours/year (versus an efficient, more expensive combined cycle generator).
How to APPLY Your GLITTER EYESHADOW
I would not be surprised to hear about relationships being destroyed, people being crippled emotionally, living in shame and depression, etc. over a gaming addiction and the consequences, just as we know classically comes from alcohol addiction. So no, it's not a meaningful choice, I wouldn't wish either on someone.

IIRC I saw a Reddit post about someone's S.O. lying about hundreds or thousands of dollars of in-app gaming purchases, lying about quitting, etc.. I couldn't find it, but here's one about a person recognizing their own problem: https://www.reddit.com/r/StopGaming/comments/3oj8zg/spent_ab...
Next year has always been the year that functional programming will take over the world. It's been like that since I started programming in the early 90s. While functional concepts have leaked into imperative languages, Haskell is the only pure functional language that so far has come close to breaking out although Lisp has also gotten close a few times.

(see also next year will be the year of Linux on Desktop)
It's certainly a lot more difficult at the <10MW, distribution-connected scale. It sounds like the utility you were dealing with doesn't have any experience with variable generation resources and probably doesn't want to learn.

What a lot of jurisdictions are doing to ease complications for small projects is creating a standard-offer feed-in-tariff for projects under a certain size that allows you to get a boilerplate interconnection agreement and a fixed price that is economical even at low capacity factors. But to be clear, if you want small public utilities to be forced to take your power on reasonable terms, you're actually advocating for more market rules, not less. With less rules, they'll just use their natural monopoly to squeeze you.
> Or poor people could move, but sure it's just like war time profiteering.

ftfy
Agreed. It's much easier to hire for Python skills today than it was even 2-3 years ago.

While Python may be 'under assault' from a conceptual point of view, the job market would beg to differ!
The title is misleading. It's 250k, not 2.5m and the goal is a knowledge engine, not a search engine.
> Frequencies are irrelevant.

No they're not. They're very relavent for anything dealing with networkig and communications.

I recently programmed an atmega chip for a homebrew project and the frequency of the SPI bus was very relavent.
GP has argued otherwise. PyPI sampling is not random. It is heavily influenced by automatic downloads and such and completely ignores that most simple 2.x libs / non-3.3-tagged libs will work just fine on python 3.

In other words, it is neither random nor representative of python 3 usage, failing the premise you yourself mentioned.

There's no easy way to determine Python 3 usage overall. Your best bet is to go around polling companies of all sizes as well as indie devs. What you will find is that:

1. Some amount of people still use Python 2.x because they don't know any better

2. Some amount of people want to use 3.x, but still use Python 2.x because of incompatible dependencies.

3. Some amount of people (companies mostly) still use Python 2.x because a migration to 3.x is currently too costly.

1 -> This is partly caused by FUD. Hating on Python 3 has become a popular past time of people who don't know how to be productive otherwise. It's also caused by the very high amount of tutorials etc around the web that "require" 2.x because, for example, they have an unparenthesized print call (relevant XKCD: 353). Arguably this is one of the big failures of the 3.x push.

2 -> That number is constantly diminishing as more dependencies become available on 3.x. The most recent big win is Scrapy, a massively popular scraping framework, which just finished its 3.x port a couple weeks ago. It's an ongoing process - we are in a much better state than we used to be, the Py3WOS is looking almost entirely green.

3 -> This number is mostly irrelevant as it tends to be in closed ecosystems. So maybe CloudShareBuzzr Inc. is using Python 2.7 internally, but they don't produce anything open source so it doesn't affect the rest of the ecosystem. As new, major features are constantly added to Python 3.x (venv in 3.3, pip in 3.4, async def in 3.5), eventually the cost of switching will be worth it.
If you've ever worked in an office with VoIP phones, you know that the level of high quality audio is eerie. It's almost too real to seem like a phone call.
> Would you rather someone gets addicted to Candy Crush or to alcohol?

Or a third option: I spend time helping build a society where the consumption of neither ends in addiction.
WE ARE a HACKTIVIST GROUP
I've been a vim user for a few years (I wouldn't consider myself a power user, though). I switched to Spacemacs last year, and I don't regret it at all. The power of the Emacs ecosystem mixed with excellent hotkeys (on top of vim's better keybinds already) is a formidable combination.
> What's the odds of seeing one event when starting it up, and none since then?

They have seen other events, this was just the biggest.
It's not about dependencies, after all ido is part of emacs. I find the default with some tweaks to simply be better. Though it's a bit personal preference here I think.