Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
graue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
graue
13y ago
Are you sure? My VPS runs Ubuntu 12.04.2, only has the vim-common, vim-runtime and vim-tiny packages installed, and `:python echo "Hello world"` works fine.
242.
▲
by
graue
13y ago
Python scripting inside Vim has been supported for a while. I've never seen a Vim plugin written in it, though, which seems odd given the gripes about VimScript.
243.
▲
by
graue
13y ago
This is a really important problem. I can't count the number of times I have seen something promising on GitHub only to notice on closer inspection that it has no license attached at all. Or, almost as bad, it just says "License: MIT" at th
244.
▲
Benchmarkers, beware the ephemeral port limit
(danielmendel.github.io)
2 points
by
graue
14y ago
|
0 comments
245.
▲
by
graue
14y ago
I watched the video. That's cool, but not what I had in mind — they're running Vim on a remote server, not in the browser itself.
246.
▲
by
graue
14y ago
This makes me think - is there any reason you couldn't compile Emacs or Vim in Emscripten, and adapt it for the web? Maybe with some kind of in-browser terminal emulator? Quick googling suggests no one has tried this yet... I find that surp
247.
▲
by
graue
14y ago
This is really neat. I hope it stays up after April 1st. Autogenerated haiku fans might also want to check out Twitter Haiku, which generates haikus from your recent tweets: https://sleepy-mesa-7562.herokuapp.com/ It strings words togethe
248.
▲
by
graue
14y ago
A day later I looked at this again and I'm a little closer to understanding. var listPromise = new Promise(); creates an object that, being a Promise object, has certain methods and internal state, derived from the prototype of P
249.
▲
by
graue
14y ago
It's a shame that one got flagged, it's a well done hoax with some amusing yet highly plausible examples: http://www.intercaloninterstates.org/examples.html
250.
▲
Use your GitHub code as a website background
(alliejon.es)
1 points
by
graue
14y ago
|
0 comments
251.
▲
by
graue
14y ago
Hmm, what happened to task::spawn? use task::spawn; is failing in one of my example programs and I don't see this mentioned in the changelog. Edit: OK, need to add "core::" in front, thanks dbaupp. There's another little Rust 0.5 p
252.
▲
by
graue
14y ago
It's working fine for me. Did you scroll down to the readme?
253.
▲
by
graue
14y ago
Awesome, starred it. I hope you do put it on npm!
254.
▲
by
graue
14y ago
Interesting point. I usually don't mind breaking the build for a few minutes while implementing a biggish change, but I also commit often and can use "git diff" to find out what I changed and quickly get back to a working state.
255.
▲
by
graue
14y ago
I'd assume that's 7.7 million track plays. 7.7 million * $0.005 = $38,500, which is the right order of magnitude. Then note that it says " less then [sic] half a cent per listen".
256.
▲
by
graue
14y ago
Neat, that looks like a much more well-engineered and less hacky solution. While I'm happy with what I have now, I've bookmarked this in case I need it later for a bigger/more complicated project.
257.
▲
Rebuild code automatically with "watch" and a makefile
(scott.mn)
42 points
by
graue
14y ago
|
28 comments
258.
▲
by
graue
14y ago
This code doesn't look right to me: // list :: [Promise a] -> Promise [a] var list = function(promises) { var listPromise = new Promise(); for (var k in listPromise) promises[k] = listPromise[k]; Perhaps the ass
259.
▲
by
graue
14y ago
Isn't this the ultimate goal of Persona - native browser support?
260.
▲
by
graue
14y ago
This sounds awesome. I hope you do it and write a blog post about it!
261.
▲
by
graue
14y ago
> it also allows you to detach/reattach your running session I use dtach(1) for this. I'm sure tmux is far more powerful, but dtach is much simpler and does all I need at this point. It's still less than a year since I learned Vim, so
262.
▲
by
graue
14y ago
I don't see Google Maps mentioned here. That's proving the hardest to quit for me - by far. I moved to NYC a month ago and it would be like an order of magnitude harder to get around without GMaps' transit, walking and biking directions. Fo
263.
▲
by
graue
14y ago
You could open source it anyway, though, or parts of it. NewsBlur does this: https://github.com/samuelclay/NewsBlur One could run their own NewsBlur, but Samuel has stated it requires a lot of resources to pull RSS feeds, and so in practi
264.
▲
by
graue
14y ago
Looks nice, just a note: the redirect from http://streamified.me is broken. $ curl -I http://streamified.me HTTP/1.0 302 Found Cache-Control: no-cache Connection: close Location: https:\/\/streamified.me
265.
▲
by
graue
14y ago
No need for it to be an issue though. Generating an Atom feed is dirt simple. I wrote my own Jekyll template to do it: https://gist.github.com/graue/5184195 The only Jekyll-specific stuff is the first three lines and the `{{ .. }}` and `{
266.
▲
by
graue
14y ago
That would be cool. Please do!
267.
▲
by
graue
14y ago
Cool. Any plans to add an RSS feed? Your blog is really interesting, so I'd like to subscribe, but I probably won't remember to come back and check it manually.
268.
▲
by
graue
14y ago
I was referring to the "personal project" matt_m mentioned, but I'll take a closer look at this too.
269.
▲
by
graue
14y ago
That's an unfair criticism. If you look upthread, a commenter points out[1] that the CNN page for this article includes at least 10 third-party tracking scripts. Most people are unaware that tracking is going on at this scale, how it works,
270.
▲
by
graue
14y ago
Outside of an electromagnetic pulse or similar disaster, I'm not worried at all about that outcome. The Wayback Machine archives almost everything publicly available. When you put stuff in the cloud — which includes tweets on Twitter, photo
More ›