Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
generalk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
421.
▲
by
generalk
17y ago
Both are good! Documentation helps ease users in, while proper hyperlinks make the service discoverable.
422.
▲
by
generalk
17y ago
Go beyond superficial uses and REST shines, but a beginner used to calling library functions might not see it. I'm fairly certain this is the reason that XML-RPC/SOAP has succeeded in the enterprise space and REST hasn't.
423.
▲
by
generalk
17y ago
If that works for you, awesome. HTTP and REST give you several ways to make requests (PUT vs. POST? Fall back on POST for clients that don't support PUT? How?) PUT is used for update operations and POST generally for create. Your library
424.
▲
by
generalk
17y ago
It gives you a unified means to specify functions, along with parameters and their types, and gives errors when the requests don't match the definition. With a REST implementation you roll yourself, you'd just have to re-implement this stu
425.
▲
by
generalk
17y ago
For example, what is the correct status code to send when a new resource has been created? From http://en.wikipedia.org/wiki/List_of_HTTP_status_codes 201 Created The request has been fulfilled and resulted in a new resource being creat
426.
▲
by
generalk
17y ago
I'm confused about your Python example and how REST can't achieve that. bash$ curl http://my-fake-service.com/people/1.json {name: "John Doe", address: "123 Fake St"} I think opposite you, however. My feeling is that REST will prob
427.
▲
by
generalk
17y ago
Every REST interface I have tried to integrate with uses HTTP error codes differently, treats the GET/POST/PUT/DELETE commands in its own peculiar way, and has unique requirements for authentication. I can't defend systems that (for examp
428.
▲
by
generalk
17y ago
If I'm operating a Frobnitz service and my documentation doesn't indicate how to Blat a given Frobnitz, then the failing isn't my communication layer, it's my documentation.
429.
▲
by
generalk
17y ago
Just in case there's some confusion: that's exactly my point. Not the part about engineers vs. programmers, but the "client needs trump personal preference" bit. In our case, in order to be players in the industry, we have to support XML-RP
430.
▲
If you have REST, why use XML-RPC?
(joncanady.com)
38 points
by
generalk
17y ago
|
58 comments
431.
▲
by
generalk
17y ago
All of that, but replace Terminal.app with iTerm.app -- it's 2010 and Apple still hasn't released a terminal emulator that supports 256 colors.
432.
▲
by
generalk
17y ago
If you enjoyed that you'll probably enjoy Doctorow's Scroogled: http://craphound.com/?p=1902
433.
▲
by
generalk
17y ago
Glad someone pointed it out, I use ReMate whenever I can. It's no good for projects in heavy development though. I've had co-workers do `git pull` with ReMate active. None of the updated files appear in TM, which makes it easy to save and c
434.
▲
by
generalk
17y ago
> It's a friggin' phone. It is to make calls with. No, it isn't. It includes a phone and you can make calls with it. > What would be more important to me is very long stand-by time, reliability and the ability to roam across the
435.
▲
by
generalk
17y ago
> Good to see such a considered approach in this day and age. Since when is holing up for multiple years to work on your commercial project with little outside communication a "considered approach"? > In my eyes, there could be no T
436.
▲
by
generalk
17y ago
How does the title call out the video element as "effectively unusable" when in the end Gruber actually crafts a page that works with the video element? Sure, no client respects the autobuffer attribute, and there's no way to use a poster i
437.
▲
by
generalk
17y ago
What things are that broken in OS X? I use it every day, I'm sure I could come up with a list if pressed, but compared to when I used to run earlier versions of Ubuntu on my laptops, it's a dream.
438.
▲
by
generalk
17y ago
I find I make this mistake constantly: I've contacted someone, I've put the ball into their hands, but the goal is still as far away as it was when I started. It's an easy trap to fall into, at least for me, because clients have as much to
439.
▲
by
generalk
17y ago
Flickr's not a backup service, and from the quoted TOS: > Your photos are not removed from Flickr, only from the list of your photos. Right. You can't browse your old photos. Links to those photos work, but your list no longer contains
440.
▲
by
generalk
17y ago
For the record, I probably will have to support IE6 for the next few years, so I don't have any luxuries here either. If we're just proposing new ideas, suppose we create a new tag to link CSS3 documents to HTML documents? <stylesheet&
441.
▲
by
generalk
17y ago
Well, sure, that takes care of the symptom but not the underlying issue: comments shouldn't affect runtime! To put it differently, if I remove all comments from a source file, the compiled/interpreted result should be 100% the same. If it i
442.
▲
by
generalk
17y ago
I simply can't stand it when someone's solution to a problem is "I know, I'll put the code inside a comment!" Now, as a human looking at a syntax highlighted source file, my parsing is broken. All the differently-colored comments that I sh
443.
▲
by
generalk
17y ago
Yeah, but those will be weeded out of the popular app channels. The real benefit here is the ability to upsell -- now, I don't have to download a free app, decide I like it, and download a completely different app; I can just buy the licens
444.
▲
by
generalk
17y ago
Why, indeed? Paper checks are a security hole and an inconvenience wrapped into a handy slip of paper! The main advantage of the Giro Transfer method (it seems) is that it's a PUSH rather than a PULL. With credit cards or checks, I give you
445.
▲
by
generalk
17y ago
There are similar laws for credit fraud, of course, so the stated benefit of "I don't have to give someone my details!" is confusing. In any kind of "pull" system where I have to give someone else credentials to access my account, there's g
446.
▲
by
generalk
17y ago
My experience with this kind of transfer system is limited to the posted article, but the benefits sound enormous! > 1) They take time to process, so if you have to move money around, you can give someone a check and then go put the mon
447.
▲
by
generalk
17y ago
Why can't it be both? As far as I can tell, "cloud" generally means someone else stores my data and the only way I can get to it is via the Net. In that case it's absolutely a failure of the "cloud". And if the data was stored on a SAN, it'
448.
▲
by
generalk
17y ago
To be fair, you can answer those questions on the Ruby on Rails site, or through a number of google searches. > I don't use Ruby on Rails, because -- honestly -- I'm not quite sure what Ruby on Rails means. Ruby on Rails is an open-sour
449.
▲
by
generalk
17y ago
I don't use .NET because -- honestly -- I'm not quite sure what .NET means. Does it mean the Visual Studio IDE and tools? I'm not a fan of those. They're good at what they do, but I prefer tools like TextMate, Emacs, or Vim. Does it mean VB
450.
▲
by
generalk
17y ago
Wait, what? You're saying you don't sanitize your database inputs?
More ›