HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sisk

no profile record

comments

sisk
·8개월 전·discuss
Thanks for this info. First I'd heard of it. Here's a link for others. https://developer.1password.com/docs/ssh/bookmarks/
sisk
·10개월 전·discuss
> No ⌘. sending CTRL-C

This comment sounded familiar[0]. :) For what it's worth, still possible with:

  keybind = "cmd+.=text:\x03"
[0]: https://news.ycombinator.com/item?id=42889411
sisk
·12개월 전·discuss
There's a setting that will allow you to double-click to open a file from the multibuffer which I find more natural:

  { "double_click_in_multibuffer": "open" }
sisk
·12개월 전·discuss
Re GPU usage: noticed this myself a few months back and decided to poke around. Recommend turning off the minimap if you have it enabled. There seems to be some over-rendering that is exacerbated by it. It's actively being investigated and improved upon (0.192 was a great step in the right direction) but, even still, I've found it (currently) has a big positive impact once disabled.
sisk
·작년·discuss
Hiya. No questions but just an fyi: the version of `@fresh/init` mentioned in the article (`2.0.0-alpha.30`) fails to run. Looks like latest at this time (`2.0.0-alpha.33`) runs successfully.
sisk
·작년·discuss
My pleasure—happy to share an alternative. Thanks for making and sharing a thing!
sisk
·작년·discuss
If I understand this correctly, the `BroadcastChannel` API solves a similar purpose.

https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_C...
sisk
·작년·discuss
Heads-up: the terms and privacy policy links are broken.
sisk
·작년·discuss
zsh also supports the "alias anywhere" concept (their term is "global alias") by using the `-g` flag.

   alias -g ag='2>&1 | grep'
   some-command ag 'words' # equivalent to: some-command 2>&1 | grep 'words'
sisk
·작년·discuss
This is possible with this newly released version. Just add this to your config.

  keybind = "cmd+.=text:\x03"
sisk
·작년·discuss
Websockets are bidirectional while SSE is unidirectional (server to client). That said, there's nothing stopping you from facilitating client to server communication separately from SSE, you just don't have to build that channel with websockets.
sisk
·작년·discuss
For GasBuddy, specifically, it was used for an opt-in feature known as "Trips" whose purpose was to show you driving insights such as those mentioned in the article (hard braking, hard turning, hard acceleration). Not enabled by default and looks to have been removed at some point.
sisk
·2년 전·discuss
For the first part of your question about the other replicas, docker will load balance between all of the replicas either with a VIP or by returning multiple IPs in the DNS request[0]. I didn't check if this proxy balances across multiple records returned in a DNS request but, at least in the case of VIP-based load balancing, should work like you would expect.

For the second part about updating the service, I'm a little less clear. I guess the expectation would be to bring up a differently-named service within the same network, and then `kamal-proxy deploy` it? So maybe the expectation is for service names to include a version number? Keeping the old version hot makes sense if you want to quickly be able to route back to it.

[0]: https://docs.docker.com/reference/compose-file/deploy/#endpo...
sisk
·2년 전·discuss
Anyone know the story behind the name? Couldn't find anything in the docs.
sisk
·2년 전·discuss
Price will come down and, in the meantime, compounding pharmacies are filling the gap in addressing stock shortages and high prices. Just be sure to use a reputable pharmacy if you decided to go that route.
sisk
·2년 전·discuss
> The private key is much easier to set up than stunnel's TLS certificate, "dd if=/dev/urandom count=4 bs=1k of=key" and you're good to go.

The spiped documentation recommends a key size with a minimum of 256b of entropy. I'm curious why you've chosen such a large key size (4096b) here? Is there anything to suggest 256b is no longer sufficient for the general case?