Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
name_for_now
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
name_for_now
9y ago
> It became clear from conversations with potential COO recruits that few would take the job if Mr. Kalanick stayed, they said. Aha. Now I think this makes more sense.
2.
▲
by
name_for_now
9y ago
I've written something similar myself in C++ before, but I'm curious if people actually have interest in using something like this regularly. I had thought I would do something like configure lynx to use it but the novelty quickly
3.
▲
by
name_for_now
9y ago
Interesting. I had not heard the term "glass cliff" before and I think I quite like it.
4.
▲
by
name_for_now
9y ago
So, outside of giving your data to government agencies, you're saying the worst thing Google can do is use ML to turn you into a consumer-zombie? While I mostly share your stance on this, that argument just seems completely ineffective
5.
▲
by
name_for_now
9y ago
I think if someone is going to use something like SpaceVim, it would be best to start early and just learn that instead of vanilla vim. The initial cognitive load will be high for learning both anyways. I personally do not have the patience
6.
▲
by
name_for_now
9y ago
I used to run more commands from vim, but now I personally find Ctrl-Z is usually more convenient for all the one-off commands. If I do run stuff from inside of vim, it's now usually ":w !" or ":r !" (or some custom
7.
▲
by
name_for_now
9y ago
To be fair, a number of those operators are > This is an infix alias for cons. > This is an infix alias for snoc. > A convenient infix (flipped) version of toListOf. > An infix version of itoListOf. And a lot of them are (<+~
8.
▲
by
name_for_now
9y ago
Indeed. Especially in such a simple scheme, e.g. if they find people aren't giving away enough money and try to incentivize it, people will just form cycles. If you start doing triangle-detection on the graph (as a stand-in for some ar
9.
▲
by
name_for_now
9y ago
I don't think you can call the STG an IL...
10.
▲
by
name_for_now
10y ago
I use Discord exclusively for text and I'm also not sure why there's hype about it in terms of VOIP. Also fwiw, on desktop you can open up Developer Tools with Ctrl-Shift-I and mess with the styles.
11.
▲
by
name_for_now
10y ago
That's not actually necessary, so it was probably just to show a sequence of keypresses.
12.
▲
by
name_for_now
10y ago
I would honestly be very surprised if you said Bash was your favorite of the 6.
13.
▲
by
name_for_now
10y ago
Here's a quick gist that does what I think you want, modulo any specific error handling. https://gist.github.com/usernamefornow/14f972df9429146b46846... edit: note that the cleanest way would probably to write you
14.
▲
by
name_for_now
10y ago
You can pass union types to the macro, so that should handle your "varying types" problem. In terms of nesting, I just create another struct with its own JSON.mapping and use that as the type for the field.
15.
▲
by
name_for_now
10y ago
Hmm, seems like the author either does not know about JSON.mapping [0] or just chose not to use it. Honestly, the corresponding macro for YAML is the main reason I use Crystal for CLI apps since it comes with the stdlib. YAML is easy enough