Implementing your own recommender systems in Python

Nowadays, recommender systems are used to personalize your experience on the web, telling you what to buy, where to eat or even who you should be friends with. People’s tastes vary, but generally follow patterns. People tend to like things that are similar to other things they like, and they tend to have similar taste as other people they are close with. Recommender systems try to capture these patterns to help predict what else you might like.E-commerce, social media, video and online news platforms have been actively deploying their own recommender systems to help their customers to choose products more efficiently, which serves win-win strategy.
Two most ubiquitous types of recommender systems are Content-Based and Collaborative Filtering (CF). Collaborative filtering produces recommendations based on the knowledge of users’ attitude to items, that is it uses the “wisdom of the crowd” to recommend items. In contrast, content-based recommender systems focus on the


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/bbCnqHB48a0/implementing-your-own-recommender-systems-in-python-2

Original article

Open-source geo is really something right now

Open-source geo is really something right nowIn March a helpful Internet person named Michal Migurski tweeted:Want to help @openaddr derive a parcel dataset for the US? I know of funding for a quick development project.Many people who work at Postlight are the kinds of people who sit up straight in their chair when someone says “derive a parcel data set.” So I pinged Michal and was introduced to Waldo Jaquith, another helpful Internet person and Director of U.S. Open Data. Then, as Waldo wrote:U.S. Open Data is a long-time supporter of the Open Addresses project, a volunteer-run project that aggregates government-published address datasets to create a global repository of the coordinates of street addresses. Anecdotally, project volunteers had noticed that a fair number of the data sources contained not just the latitude and longitude of an address, but the boundaries of the parcel. That raised the question of how many


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/lfYexrBrC-s/open-source-geo-is-really-something-right-now-f8e310c5f57a

Original article

Myth debunking: WebViews suck, everything should be native

200 screens, 2 programmers, 1 designer, 40 hour weeks, 3 vacations, 1 sabbaticalBeing a small company is something we hold dear at Basecamp — it’s a core value of the company.But Basecamp 3 is not a small app — its feature set is both broad and deep. It has well over 200 unique screens, and new ones are added every week.And yet with so many features and screens, Basecamp 3 for Android was still built by only two programmers and one designer.In earnest, the Android app started development in March 2015 (when we assembled our full team), and the it launched at the beginning of November 2015. That’s roughly to 100% in 8 months.The key to shipping was that we leaned on the webviews where we needed to.While the Android team was building native functionality and views for high-touch screens (things like push notifications, navigation, the home screen), a whole bunch of other webview


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/SdW5L3RD_SA/debunking-android-myths-webviews-suck-so-make-everything-native-cea5f8a8db87

Original article

How bad is the Windows command line really?

Kevin Gallo just announced Bash support on Windows.

If you have never had to interact with the Windows Batch language, this might not seem like such a big deal. Surely Batch could not be substantially worse than Bash, right?

Bash: a language that was neither designed, nor evolved. An adequate solution to a problem that has since become orders of magnitude harder. As arcane as it is useful, as dangerous as it is ubiquitous, Bash: the language that asks how much we are willing to give up for convenience’s sake?

Sure, Bash could be worse. But substantially worse? Bash had one value proposition: it was just good enough. It is difficult to imagine that it would have flourished as it has, if that had that not been true.

But the truth is what it is. Batch is substantially worse. And how much worse sort of beggars belief. Look:

The time a batch script takes to


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/J-NaPwFQ99M/batch.html

Original article

Show HN: Node bindings for libui, a native UI library for Unix, OS X and Windows

readme.md

libui Node.js bindings.

libui is a simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

It is in early stage of development, but is evolving at great pace and is really awesome.

It could become an awesome, lightweight alternative to Electron to develop multiplatform GUI.

Windows: Windows Vista SP2 with Platform Update or newer
Unix: GTK+ 3.10 or newer
Mac OS X: OS X 10.8 or newer
All current libui API, except for these ones are implemented.
I’m developing on linux, so this is the preferred platform to test. OSX should work too, but it’s not tested. Windows has yet to be configured in build scripts, but it will be supported in further releases.
There are very few tests developed, but they are passing in Travis thank you to @jjrv awesome work.
This is not yet battle-tested in a real app, but the control


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/5i0_mo90Y1Q/libui-node

Original article

One command static website setup on AWS S3

Problem to solve

I want to setup static website on AWS S3 under 10 minutes. Also

Available options

I couldn’t find a fast enough way to do it. Ways I tried:

Setting up on AWS Console GUI – no way I am doing this again. Way too many stuff to go wrong
Writing Cloudformation template – I can tell this was not designed for human beings.
Documentation complexity and randomness kicks you off. It is way too complicated for such simple start
Terraform – to learn this thing and write my own template took ~3h.
So, really is it really not possible to setup fast?

User friendly Terraform template

That’s why I created new Github Repo, that me and other peple could do it by executing single command

sjevs/terraform-static-website-s3-cloudfront

Follow the steps described in the README, but it is more less all about setting up your website.tfvars file:

region = “eu-west-1”
domain = “” # jevsejev.io
domainAlias = “” # jevsejev_io
subdomain = “” # www.jevsejev.io
subdomainAlias


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/R56M7sCjg7o/

Original article

Spaced Repetition Learning

Abstract: Since using spaced repetition software as a learning tool and memory aid seems to still be relatively niche, I give a brief introduction to spaced repetition learning and why I’ve found it useful. Then, I link to each of my current flashcard decks, broken down by topic, made using the free, open-source software Anki. First Published: 12/10/12. Last Updated: 2/23/16.
0) Introduction1) Data From Five Years of SR2) Biology3) Chemistry4) Math5) Medicine6) Neuroscience7) Physics8) Programming9) Psychology10) Statistics
Introduction
Most of the time, it is acceptable to learn something in the short-run and accept that you will mostly forget it later. Maybe you don’t care about the material long-term and just want to pass a course. Or maybe you need to understand a topic to execute a two-month long project, and after that you have good reason to expect the knowledge will lose its value.
But sometimes forgetting information over the long run is intolerably inefficient. For example, if you


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/56RHpRs2ROM/

Original article

The OpenType Cookbook

OpenType features allow fonts to behave smartly. This behavior can do simple things (e.g. change letters to small caps) or they can do complex things (e.g. insert swashes, alternates, and ligatures to make text set in a script font feel handmade). This cookbook aims to be a designer friendly introduction to understanding and developing these features. The goal is not to teach you how to write a small caps feature or a complex script feature. Rather, the goal is to teach you the logic and techniques for developing features. Once you understand those, you’ll be able to create OpenType features that fit your design as perfectly as possible.
This cookbook is written with the assumption that you have a basic working knowledge of the structure of a font. You need to know the differences between characters and glyphs, understand the coordinate system in glyphs and so on. If you aren’t familiar


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/VYY4jHzNhRM/

Original article

Berners-Lee: WWW is spy net

Inventor of the World Wide Web, Sir Tim Berners-Lee, has warned that the internet has become the “world’s largest surveillance network.”
Speaking at the Decentralized Web Summit conference in San Francisco run by the Internet Archive, the engineer joined other internet notables including “father of the internet” Vint Cerf and Mozilla head Mitchell Baker in discussing how to strengthen the open internet as well as ensure its contents are retained over time.
“The web is already decentralized,” Berners-Lee told attendees. “The problem is the dominance of one search engine, one social network, one Twitter for micro-blogging. We don’t have a technology problem; we have a social problem.”
Berners-Lee’s warnings about surveillance were reiterated by founder of the Internet Archive, Brewster Kahle: “Edward Snowden showed we’ve inadvertently built the world’s largest surveillance network with the web. We have the ability to change all that.”
The conference featured the developers of many


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/IVcHwv0DDqE/bernerslee_warns_of_spying

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: