Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minus7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
minus7
10y ago
I don't see the problem; reading and writing different encoding works fine. The CSV module makes no problems either: in_file = open("in.csv", 'r', encoding='latin-1') in_csv = csv.reader(in_file) o
62.
▲
by
minus7
10y ago
Exactly. Its clear distinction between (unicode) strings and (binary) data is Python 3's biggest plus, imho. No more randomly popping up errors because something is trying to handle the binary data in your str as string; instead you&#x
63.
▲
by
minus7
10y ago
Very cool! If you're familiar with CFFI already just skip the first half of the video or check out the blog post: http://codelle.com/blog/2016/5/embedding-pypy-in-a-c-applica...
64.
▲
by
minus7
10y ago
Using IP-to-country resolution and ignoring the Accept-Language HTTP header seems to be a pretty common tactic these days.
65.
▲
by
minus7
10y ago
Add a gif/webm of it in action to your readme. That will make it a lot easier and nicer to see what it's doing.
66.
▲
by
minus7
13y ago
We removed the donation button because we don't really have any running costs to cover.
67.
▲
by
minus7
13y ago
Thanks for the hint. I moved the files to another host, check the site again.