Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qazxcvbnm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
31.
▲
by
qazxcvbnm
2y ago
When you get to using [count]g[something] and g[count][something] and <C-@>[count]g[something] etc a lot, you start getting a bit confused about where you need to put the count to make things work. So you can make putting the count an
32.
▲
by
qazxcvbnm
2y ago
Some other things I do: Invoke terminals on directories (instead of netrw). So, I can e.g. sp. to split to a new terminal. function! Isdir(dir) abort return !empty(a:dir) && (isdirectory(a:dir) || \ (!empty($SYSTEMDRIVE)
33.
▲
by
qazxcvbnm
2y ago
vimrc for 4) vnoremap <C-@>s <C-w>sgv vnoremap <C-@>v <C-w>vgv nnoremap <expr> <C-@>w '@_' .. ((v:count1 + (winnr() - 1)) % (winnr('$')) + 1) .. '<C-w>w'
34.
▲
by
qazxcvbnm
2y ago
(equivalently, if you use screen; the key point is the \eP and the \e\\ between which the real xterm escape codes go, or else screen will eat your escape codes which will never see the light of day) augroup term_normal au!
35.
▲
by
qazxcvbnm
2y ago
For me, some of the things that's really important for a terminal multiplexer include: 1) Keybindings having no conflicts with other terminal applications. For that, vim's default window-management key of <C-w> is unfortunat
36.
▲
by
qazxcvbnm
2y ago
A formal account regarding what the author puts as effects and pre conditions https://arxiv.org/abs/1001.1662
37.
▲
by
qazxcvbnm
2y ago
Just for the other side of the picture, I live in vim and use it as my terminal multiplexer. Vim’s my shell. I have thousands of buffers in vim and practically never leave it. I’ve used terminal multiplexers for years before I switched to
38.
▲
by
qazxcvbnm
2y ago
By the way, is it Shopify’s open source policy to ignore outside PRs, or are they simply understaffed? My PR which addresses a major issue in one of Shopify’s big React Native libraries has received zero acknowledgement from Shopify for alm
39.
▲
by
qazxcvbnm
2y ago
I don’t know how Guile does this, but note that finding a fixed point does not generally require a lazy language; you just can’t do it naively — you can still take a bunch of functions that act on a config and ‘while (changing) keep applyin
40.
▲
by
qazxcvbnm
2y ago
It may not help with clarity, but I do love dearly how, so refreshingly, he allows me to feel how he himself feels of the world and its significance with his work, and in that I do feel I understand his point of view better.
41.
▲
by
qazxcvbnm
2y ago
Thank you for pointing out these distinctions which I had not grasped, and the relevant literature! Time for me to dig back into Girardesque pages. Is "Logique 2.0" this paper https://girard.perso.math.cnrs.fr/logi
42.
▲
by
qazxcvbnm
2y ago
On the topic of Girard, I've been very attracted to his ideas about the "dynamics" of logic and "communication without understanding". It always appears to me that such ideas and things like the "execution form
43.
▲
by
qazxcvbnm
2y ago
I do something similar, and one more tip is to remember to provide your pbcopy and pbpaste with `LANG=en_US.UTF-8`, or else non-ASCII will be garbled.
44.
▲
by
qazxcvbnm
2y ago
“The truth is that it longed to yield. Ten years ago any symmetry with a semblance of order — dialectical materialism, anti-Semitism, Nazism — was sufficient to entrance the minds of men. How could one do other than submit to Tlön, to the m
45.
▲
by
qazxcvbnm
2y ago
Sounds like a problem for rediff ( https://github.com/twaugh/patchutils ). Instead of directly editing the unified diff file, make a copy and edit the copy. Once you’re done, call rediff original-patch edited-patch to ge
46.
▲
by
qazxcvbnm
2y ago
Ranger seems quite slow for the directories I tried to use it on. Use lf, may give broot a try.
47.
▲
by
qazxcvbnm
2y ago
Another way: yy@" In other words, execute the " register (what you just copied) as a macro. In the same vein, yy@0 would work as well (the 0 register is the last yank). Also, what do you mean without a native map structur
48.
▲
by
qazxcvbnm
2y ago
Yes, I might have misworded my question. My question is in relation to this paragraph on page 12: "Note that the SQL ORDER BY directive can be modelled as a non-linear aggregate function that emits a list. However, such an implementat
49.
▲
by
qazxcvbnm
2y ago
Hi, I’ve read the DBSP paper and it’s a really well-thought out framework; all the magic seemed so simple with the way the paper laid things out. However, the paper dealt with abelian Z-sets only, and mentioned that in your implementation,
50.
▲
by
qazxcvbnm
2y ago
Happened to me too… Yes, it happened during syncing. I searched up on how to disable Kindle auto update and it’s happening less, but last time I bought a book from Kindle store I got bit again. I guess it’s a sign to stop feeding the hand
51.
▲
by
qazxcvbnm
2y ago
For myself, I just make a directory `workflows` and put all my scripts in it, and organise related scripts into subdirectories, so that I can use tree and filesystem tools to check what subcommands are available.
52.
▲
by
qazxcvbnm
2y ago
Is there any potential that indexes could be created over foreign key joins in the future? I know that as of today, no multi-table indices or statistics exist for Postgres, which has had led me to do some further denormalisations.
53.
▲
by
qazxcvbnm
2y ago
Would you mind posting a link as well? Would be much appreciated.
54.
▲
by
qazxcvbnm
2y ago
I’ve known them through their work on Wish List and Flash List. They’re one of the bigger supporters in work on list rendering in React Native (a vital, devilish, and often overlooked area).
55.
▲
by
qazxcvbnm
2y ago
Song was eliminated by Qi. I imagine you are referring to the Battle of Changping where the Qin buried 400,000 of Zhao’s surrendered armies.
56.
▲
by
qazxcvbnm
2y ago
Incredible… I hadn’t even noticed, and people found the holy grail and open-sourced it! By the way, I was wondering about a related question. Do streaming engines typically store a copy of the data streamed to them? For instance, if I had a
57.
▲
by
qazxcvbnm
2y ago
That sounds incredibly cool - have you written up anything about it? I would love to learn more about it.
58.
▲
by
qazxcvbnm
2y ago
I think OrioleDB is picking up from where zheap left things, and seems quite active in upstreaming their work, you might be interested to check it out.
59.
▲
by
qazxcvbnm
2y ago
This sounds quite nice, but what would be a good way to generate their JSON format from SQL?
60.
▲
by
qazxcvbnm
2y ago
Hard to believe that .NET is now on Linux - .NET 4.0 feels like yesterday. The Windows factor was a big scare factor for me for sure; I won’t forget the time a client spent more than 70% of their hosting budget on Microsoft licensing fees…
More ›