Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
ramen
17y ago
To say that some systems "misuse" HTTP status codes implies that there is a correct way to use them. What is the correct way to use HTTP status codes for an API? They weren't even designed for APIs. Where is this specified? Since REST is ju
62.
▲
by
ramen
17y ago
Caching has been the main reason I have chosen REST over XML-RPC in certain instances - the ability to use existing web proxy and caching solutions to cache an API is certainly convenient. However, I completely agree about your last sentenc
63.
▲
by
ramen
17y ago
There is a de-facto standard for that: system.listMethods to list supported methods, system.methodSignature to get the parameter and return types for a method, and system.methodHelp to get its documentation. It's not an ideal solution, sinc
64.
▲
by
ramen
17y ago
I like how XML-RPC support is built into Python. If a server supports XML-RPC, I can get an instant command-line interface that feels like using an ordinary library. The data structures that XML-RPC supports are mostly the same as JSON: arr
65.
▲
by
ramen
17y ago
Yay! Dropbox is a winner in my book.
66.
▲
by
ramen
17y ago
I know you all know this, but I feel like it bears mentioning that nobody is forcing you to use list comprehensions whether map/filter stay in Python's built-ins or not. They can be defined in around 3-4 lines of code each. Lisp aficionados
67.
▲
by
ramen
17y ago
So this is a feature? I thought it was just broken in Linux.
68.
▲
by
ramen
17y ago
For-loops like "for (i=0;i<myLinkCollection.length;i++)" should always be written like "for (var i=..."), unless there's an explicit "var i;" declaration somewhere. Otherwise, this creates a global variable "i", which can lead to some v
69.
▲
by
ramen
17y ago
Google Groups used to be a great service when they first took over Deja News, but things have been gradually deteriorating ever since. They used to be read-only; now, they allow anyone with a fake account to post. They are a huge source of
70.
▲
by
ramen
19y ago
zip is matrix transposition in disguise.
71.
▲
by
ramen
19y ago
ramen
72.
▲
by
ramen
19y ago
But, I thought, worse was better? I'm so confused... =)
73.
▲
by
ramen
19y ago
Beware of hyperbole.
74.
▲
by
ramen
20y ago
My point is that PHP's lack of namespace hierarchy is just like C. In fact, most of PHP's libraries are very close to the underlying C libraries. The lack of apparent organization is mainly due to the fact that PHP pulls all these different
75.
▲
by
ramen
20y ago
If you think that's bad, you should try C sometime.
76.
▲
by
ramen
20y ago
I often find myself defending PHP. It seems to be very unpopular lately, at least by some very vocal individuals on the web. I like PHP, and here's why: It runs everywhere, has lots of libraries, and most of my friends know it. That, for me
77.
▲
by
ramen
20y ago
He should come with a towel.