Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkbr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
The real source of Apple device IDs leaked by Anonymous last week
(redtape.nbcnews.com)
14 points
by
jkbr
14y ago
|
3 comments
122.
▲
by
jkbr
14y ago
For macro-level research, it would be useful if every category and filtered view featured accumulated stats (e.g., # of projects/successes/failures).
123.
▲
by
jkbr
14y ago
My Python version (in-place, no reverse): def add1(arr, val, n): todo = abs(n) or len(arr) seq = xrange(0, len(arr), 1) if n >= 0 else xrange(len(arr) - 1, 0, -1) for i in seq: if arr[i] == val:
124.
▲
by
jkbr
14y ago
This: # Finder: allow text selection in Quick Look defaults write com.apple.finder QLEnableTextSelection -bool true Combined with "Use OSX Finder Quicklook (Spacebar) to preview all plain text files"[1] is pretty useful. [1] h
125.
▲
by
jkbr
14y ago
HTTPie, an easy to use cURL replacement: https://github.com/jkbr/httpie (disclaimer: I'm the author)
126.
▲
Setting up Python development environment on Mountain Lion
(github.com)
2 points
by
jkbr
14y ago
|
0 comments
127.
▲
by
jkbr
14y ago
"Apple Launches 'OS X Server' for Mountain Lion for $19.99" http://www.macrumors.com/2012/07/25/apple-launches-os-x-serv...
128.
▲
by
jkbr
14y ago
I find feedback mechanisms that allow readers to react to individual parts of text to be useful, especially when the text is of a technical nature. What I dislike about this particular implementation is the UI: You don't know what happens w
129.
▲
High Performance I/O Instances for Amazon EC2
(allthingsdistributed.com)
10 points
by
jkbr
14y ago
|
1 comments
130.
▲
by
jkbr
14y ago
HTTPie also supports proxies and HTTP auth (see --proxy and -a/--auth).
131.
▲
by
jkbr
14y ago
> Hmm, that makes more sense. If it isn't already in the README or man page, it might be a worthy addition. Good point, I'll add it to the README. > Is there a way to have it construct the query string [...] Not yet, but it's being
132.
▲
by
jkbr
14y ago
You can still use regular JSON syntax, if you like: echo '{"foo": "bar"}' | http url The reason for having the simplified one is that it's less verbose and usually doesn't even require you to quote it: http url foo=bar
133.
▲
by
jkbr
14y ago
Thanks for the feedback! I tried to come up with syntax that would make the most common tasks (i.e., sending JSON objects, submitting forms, setting headers, etc) as easy as possible and also feel "natural". The reason for the chosen style
134.
▲
by
jkbr
14y ago
There is more to it than that. It provides an expressive syntax to construct all sorts of requests. You can submit forms, upload files and set headers without having to use flags. You also get syntax highlighting, ability to pipe in request
135.
▲
by
jkbr
14y ago
It's not meant to be an insult on cURL. cURL is a great library/tool and supports way more than HTTP, but the command line interface simply isn't as convenient for common HTTP as it could be. The "for humans" slogan is borrowed from the und
136.
▲
HTTPie: A cURL-like tool for humans
(github.com)
312 points
by
jkbr
14y ago
|
83 comments
137.
▲
by
jkbr
14y ago
IMO the preview appears automatically after ~2 seconds without having to press any key. Useful feature indeed.
138.
▲
Better cancelation flows
(kylewritescode.com)
44 points
by
jkbr
14y ago
|
37 comments
139.
▲
by
jkbr
14y ago
In the footer: Source: Freebase, licensed under CC-BY Other content from Wikipedia, licensed under CC BY-SA
140.
▲
by
jkbr
14y ago
Promising. Already now it's quite useful for studying/debugging algorithms. Looking forward to Python support. Recursive call support would be awesome too.
141.
▲
by
jkbr
14y ago
It's quite similar to Solarized [0] for which there is emacs support [1]. [0] http://ethanschoonover.com/solarized [1] https://github.com/sellout/emacs-color-theme-solarized
142.
▲
by
jkbr
15y ago
thanks, Saevar :)
143.
▲
HTTPie: cURL for humans (colorful CLI for python-requests)
(github.com)
6 points
by
jkbr
15y ago
|
2 comments
144.
▲
by
jkbr
15y ago
> Before installing, note that from within Terminal you can use the XCRUN tool to launch compilers and other tools embedded within the Xcode application. Use the XCODE-SELECT tool to define which version of Xcode is active. Type "man x
145.
▲
by
jkbr
15y ago
You are right. The aggregation wasn't a good example of an "action".
146.
▲
by
jkbr
15y ago
It defines a generic mechanism for performing actions that don't fit the GET/PUT/PATCH/POST/DELETE model on resources and collections. For example aggregations: POST /orders?action=sum&field=price HTTP/1.1 HTTP/1.1 200 OK Conte
147.
▲
Internet-Draft: A Convention for HTTP Access to JSON Resources
(tools.ietf.org)
56 points
by
jkbr
15y ago
|
12 comments
148.
▲
by
jkbr
15y ago
This looks handy. Btw, Django 1.4 (now alpha) is getting timezone support [1] and its django.utils.timezones [2] features similar functionaliy. [1] https://docs.djangoproject.com/en/dev/topics/i18n/timezones/... [2] https://github.com/dj
149.
▲
Microsoft launches an HTML5 version of Cut the Rope
(cuttherope.ie)
556 points
by
jkbr
15y ago
|
124 comments
150.
▲
Meaningful Transitions: Motion Graphics in the User Interface
(ui-transitions.com)
1 points
by
jkbr
15y ago
|
0 comments
More ›