Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tyrion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
tyrion
12y ago
Exactly, I don't understand why but it seems to me that a lot of people like to use the word REST as much as possible without knowing what it actually means, or without even having read the damn paper :(
62.
▲
by
tyrion
12y ago
Is this Free Software? In case it is I encourage you to make it available on F-droid!
63.
▲
by
tyrion
12y ago
If you are so concerned about privacy and security, why use an iOS device at all? Note: I am not trolling. It is a serious question. I mean, probably no one would be using ChatSecure if it were not Free Software, rightly, because nobody cou
64.
▲
by
tyrion
12y ago
Wouldn't it be easier for Netflix to ask for a valid US ID document to its customers to prevent this? Or would this be considered a violation of privacy somehow? Filtering users by ip address should not be allowed IMHO. What if I am a
65.
▲
by
tyrion
12y ago
> Almost, he is also converting ordinary dicts that get added as items to his own Dict class You are right I dind't notice that before. But looking at the code it seems that the only permitted values are dict and str?! > But yes,
66.
▲
by
tyrion
12y ago
I think you could implement it like this: from collections import defaultdict class D(defaultdict): def __init__(self): super(D, self).__init__(D) __getattr__ = defaultdict.__getitem__ __se
67.
▲
by
tyrion
12y ago
Is there some way to have a "Firefox shell" instead of a Chrome/Chromium shell?
68.
▲
by
tyrion
12y ago
I think it should be stated on the title that this is a post from 2011.
69.
▲
by
tyrion
12y ago
Is this free software? I don't see a license in the Github repository.
70.
▲
by
tyrion
12y ago
You can develop SPA with Reactjs and still render the page server side.
71.
▲
by
tyrion
12y ago
I am not sure you are talking about REST. I don't see any Hypermedia controls in the examples..
72.
▲
PythonJS now faster than CPython
(pythonjs.blogspot.com)
138 points
by
tyrion
12y ago
|
60 comments
73.
▲
by
tyrion
12y ago
The site is not working anymore. I can't finish my purchase :/ And .. is it really showing username and password of their mysql?
74.
▲
by
tyrion
13y ago
Too bad I don't have an iPad, I would love to try out this app :/ Are you planning to develop an android version anytime soon?
75.
▲
by
tyrion
13y ago
In my opinion using reduce, map and zip is not a good idea in this case. What are they needed for? I don't even think your approach is more functional than the examples above. I mean, this one line should be equally functional and .. i
76.
▲
by
tyrion
13y ago
Yes, I know that this is the correct way of doing it in bash. I posted this because someone might test the speed of the two scripts and conclude "bash is faster" while they actually measured the speed of "sort" probably.
77.
▲
by
tyrion
13y ago
I may be wrong but I think that this is actually spawning a subprocess and thus is not an exact translation of the python example. This bash script rewritten in python should be something like this: import subprocess, sys inp = ope
78.
▲
by
tyrion
13y ago
> Yep, bash is more readable for small scripts I don't agree with that, in my opinion bash is more coincise while python is far more explicit and thus more understandable. Python is not meant to be written in one line; the scrip
79.
▲
by
tyrion
13y ago
It is faster mainly because of the startup time of the python interpreter. You can improve performances using the "-S" on the python interpreter. I get inconsistent results with time, I think maybe because of context switching as
80.
▲
by
tyrion
13y ago
> (And in practice I don't think you would want to deploy on anything besides Gunicorn.) (You should definitely have a look at uWSGI.)
81.
▲
by
tyrion
13y ago
The moving background is constantly distracting me from the main content :( And btw I dind't notice the "animation" button on the top right until I came here to read the comments.
82.
▲
by
tyrion
13y ago
(Aaaand sometimes I hear people saying the Italian's Juridical System sucks. Just saying)
83.
▲
by
tyrion
13y ago
"there can be no doubt that the right to remain silent under police questioning and the privilege against self-incrimination are generally recognised international standards which lie at the heart of the notion of a fair procedure"
84.
▲
by
tyrion
13y ago
nemo tenetur prodere seipsum.
85.
▲
by
tyrion
13y ago
http://en.wikipedia.org/wiki/Abu_Omar_case Just an example
86.
▲
by
tyrion
13y ago
"Besides filing charges against Snowden, the US authorities have revoked his passport – which Amnesty International said interferes with his rights to freedom of movement and to seek asylum elsewhere." This to me seems a lot more
87.
▲
by
tyrion
13y ago
Isn't all "this shit" in violation of the International Bill of Human Rights? "No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and repu