Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grayrest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
361.
▲
by
grayrest
13y ago
I posted this as a separate submission but Nico posted the followup post [1] mentioned at the end of the opening paragraph: > In particular, the existing borrow checker rules, which were aimed at preventing dangling pointers, turn out to
362.
▲
On the Connection Between Memory Management and Data-race Freedom [Rust]
(smallcultfollowing.com)
6 points
by
grayrest
13y ago
|
0 comments
363.
▲
by
grayrest
13y ago
Pay gated content has been tried in the MMO space to varying degrees of success. The main problem with it is that the gates split your community, effectively reducing the userbase of your game. As a non-pay example, take WoW (I did Vanilla-
364.
▲
by
grayrest
13y ago
> What I don't understand is how they get people to keep playing once they realize they don't need skill to win, but rather a valid credit card number. It's all about how it's presented. Gems aren't presented as win buttons but rather a
365.
▲
by
grayrest
13y ago
> I like the idea of being able to use my own raw domain objects as the model, which in angular you are supposed to wrap up as a service as i understand it -- a bit of boilerplate i don't love. This is only a cultural thing. Angular is,
366.
▲
by
grayrest
13y ago
I'd expect `(:bar foo)` to desugar to `foo["bar"]()` since the keyword is being used as a function. Property access in clojurescript uses the ugly `(.-bar foo)` syntax.
367.
▲
by
grayrest
13y ago
I asked via twitter: https://twitter.com/vvuk/status/330119715546624000 some known bugs that cause us to use way too much transient memory while loading. Fixes incoming.
368.
▲
by
grayrest
13y ago
Dear lazyweb, Is anybody able to get it running on android? The nightly has both asm and webgl but is showing up as unsupported (and not just doing UA sniffing).
369.
▲
by
grayrest
13y ago
I bank at a credit union [1]. I specifically remember one year where they sent a letter saying roughly "We made too much money. Your account has been credited with your share of the excess." Of course, that's what a credit union implies but
370.
▲
by
grayrest
13y ago
MSRP is not retail. Quick search shows a list price of $400 at one place.
371.
▲
by
grayrest
13y ago
To follow up on this, I configure my editor to de-emphasize parens: http://gr.ayre.st/s/images/parens.png I can still see them if I need to but they have the same visual weight as tabs/end of line spaces. I like this because it makes it f
372.
▲
by
grayrest
13y ago
Splits came to vim way before tabs did as a result I use splits as vertical pseudo tabs: nnoremap <c-j> <c-w>j<c-w>_ nnoremap <c-k> <c-w>k<c-w>_ Which does both split navigation a
373.
▲
by
grayrest
13y ago
My .vimrc used to have: nnoremap - :Sexplore<CR> Which opens netrw when you hit the - key. I now have it mapped to ctrlp instead (ctrl+enter in ctrlp to split open).
374.
▲
by
grayrest
14y ago
The stars look like this in the fall, in the western US, 60+ miles from the nearest city, and above 5000 ft. I've spent a lot more nights camping on the east coast and while you can see the milky way if you're remote enough, the altitude or
375.
▲
by
grayrest
14y ago
> Perhaps JS will need goto I was under the impression that labeled break/continue were the equivalent.
376.
▲
by
grayrest
14y ago
The Mozilla guys have mentioned a compressed JS AST representation as the bytecode-like option if you take the asm.js approach to its logical JS VM as runtime conclusion.
377.
▲
by
grayrest
14y ago
Crossing the JS to C++ barrier is not free [1]. Compiling the C to asm.js allows everything to live in the VM and avoids this cost. [1] https://github.com/felixge/faster-than-c is a talk by a longtime node contributor on this topic.
378.
▲
by
grayrest
14y ago
Part of the reason the Clojure code is ugly is because he's basically doing imperative code in a functional language. Here's my (highly annotated) take: (ns nurblizer.core (:gen-class) (:use compojure.core) (:require
379.
▲
by
grayrest
14y ago
Since the Prismatic team is reading, I'll post a couple requests/annoyances. Context: I'm on the obsessive side when it comes to news reading. I'm trying to accurately predict the future, which mostly works. I clear out my full Prismatic fe
380.
▲
by
grayrest
14y ago
If using swank is impractical, the Clojure community is in the process of shifting from swank to nrepl. I haven't looked into the details of either but wanted to point out another option.
381.
▲
by
grayrest
14y ago
Webkit dev tools timeline in frame mode is bar none the most useful tool for tracking down performance issues. Looks like it's on your roadmap but it's far, far more useful in tracking down actual perf issues in large codebases than any oth
382.
▲
by
grayrest
14y ago
On EasyMotion: " let g:EasyMotion_leader_key = '<Space>' let g:EasyMotion_keys = 'abcdefghijklmnopqrstuvwxyz' let g:EasyMotion_mapping_f = '<space>' let g:EasyMotion_mapping_w = '<space><space&#
383.
▲
by
grayrest
14y ago
The SSD is soldered to the MB. Neither piece is user serviceable. This was mentioned in the comments of a googler g+ post showing off crouton the day of the announcement by the author.
384.
▲
by
grayrest
14y ago
You can get pretty far with regexes but you run into non hygenic macro problems. I use UltiSnips with regex snippets and python replacements and have gotten interesting stuff out of it like the JSON key quoting. The problem is that I have t
385.
▲
by
grayrest
14y ago
> As for motions, what kind of motions do you think are difficult to create? It's mostly text objects. Text objects for scope, variable references, etc. I think there are motions I have not yet discovered that operate on syntax trees. T
386.
▲
by
grayrest
14y ago
I am aware of Evil. I actually like and am happy with Vim and I have enough customization invested over the last decade that porting my plugins is painful. The list was mostly just a response to the 'never switch' sentiment.
387.
▲
by
grayrest
14y ago
Code generation would be possible but in my head it's more like paredit where edits operate on the underlying structure of the code. Going back to the XML example. The contents of the ending tag are the contents of the first WORD of the sta
388.
▲
by
grayrest
14y ago
Vim is my primary text editor and I'll never switch to an editor that doesn't have a command grammar but there's most definitely room for improvement: * It's difficult to add new motions to vim. EasyMotion and Surround.vim are the only two
389.
▲
by
grayrest
14y ago
I'd agree. It's more like a composable set of shell scripts at the moment. How things fit together differs quite a bit from other build systems I've used (make, rake, ant) and after a significant amount of cursing, I've come around to it. I
390.
▲
by
grayrest
14y ago
Grunt has a core file selection abstraction. Adding mtime source/destination checks and removing files from the list as needed should let them add this without issue. When I looked at the file internals for a bug I encountered I didn't see
More ›