HackerTrans
トップ新着トレンドコメント過去質問紹介求人

adamkf

no profile record

投稿

Serialization from Node.js

adamfaulkner.github.io
1 ポイント·投稿者 adamkf·昨年·0 コメント

Binary Formats Are Better Than JSON in Browsers

adamfaulkner.github.io
75 ポイント·投稿者 adamkf·昨年·16 コメント

コメント

adamkf
·先月·議論
I'll give you two:

The first was when I first realized that I could tell codex to use gdb to debug a core dump. This was about a year ago, so it made a bunch of incorrect theories, but it enabled me to go much further than I would have been able to go by myself. I eventually solved the problem.

The second was when I decided to ask it about my Linux Wi-Fi issue that I had been having for several years. The computer would infrequently have multi second pings and dropped packets, then go back to normal. I thought it was due to the weak signal, but after describing the problem to codex, it immediately disabled power management on the Wi-Fi interface (this is a desktop computer, so I don't care much for that anyway) and the problem has never come back. I had been dealing with this for years, and I had tried searching for a solution before, but codex just solved it directly.
adamkf
·3 か月前·議論
> maybe not even a car

Hold up — one can be mature without any of those things, but cars are especially optional.
adamkf
·10 か月前·議論
I see these posts a lot, but this really does not match my experience. I find I run into many more bugs in kde than in gnome or other desktop environments. This bug made kde absolutely unusable for me: https://bugs.kde.org/show_bug.cgi?id=365255

(I think this bug is still present in X11, but I've moved on to Wayland.)

The other bug I run into constantly is that "exposé" sometimes makes all the windows invisible. The only fix is logging out and logging in again. I've seen this across a number of different distros. Gnome is mostly boring and just works for me.
adamkf
·3 年前·議論
I've been using Wayland KDE on my gaming machine recently, it somehow made my cursor movement stutter. Switching to KDE X11 or Gnome Wayland solved the issue.

I hope they address this kind of thing prior to making it a default.
adamkf
·3 年前·議論
Here's the quote from the [actual whitepaper](https://envoy.com/wp-content/uploads/2023/08/Workplace_Data_...) from Envoy that this article references:

> 80% of executives say they would have approached their company’s return-to-office strategy differently if they had access to workplace data to inform their decision-making.

Envoy's not exactly an unbiased source here, since they sell software to collect this data.
adamkf
·3 年前·議論
I am using typescript with typescript-language-server. I'll give the lazy stuff a try, but I am not sure why this would make the editor more responsive outside of the initial load.
adamkf
·3 年前·議論
I gave it a try the other day using copilot.lua, and it made the whole editor unusably slow. It somehow caused syntax highlighting to "lag" for tens of seconds every time I made any sort of edit.

Maybe I need to be using the official plugin, and maybe I need to disable LSP based syntax highlighting, but that makes me wonder what it's doing.
adamkf
·3 年前·議論
In my experience living in SF, these cars are much safer than the typical drivers in my neighborhood for pedestrians. Most human drivers around here don't even bother to stop at stop signs, and instead just slow slightly. With the cruise and Waymo cars, I feel like the risk is a bit lower when I'm on my bike or walking.

I have witnessed a Cruise car stopping in the middle of the road when faced with an oncoming emergency vehicle, so I totally buy that they aren't ready for prime time yet.

Honestly, I'd prefer if we prioritized enforcing existing traffic laws for regular vehicles.
adamkf
·3 年前·議論
My understanding is that it provides asynchronous replication, so you'd still lose some data if you lose a machine. This is documented here https://litestream.io/tips/#data-loss-window
adamkf
·3 年前·議論
>The only time you need to consider a client-server setup is: Where you have multiple physical machines accessing the same database server over a network. In this setup you have a shared database between multiple clients.

This caveat covers "most cases". If there's only a single machine, then any data stored is not durable.

Additionally, to my knowledge SQLite doesn't have a solution for durability other than asynchronous replication. Arguably, most applications can tolerate this, but I'd rather just use MySQL with semi-sync replication, and not have to think through all of the edge cases about data loss.
adamkf
·4 年前·議論
I gave Helix a try the other day and really enjoyed the "feel" of things. I'm also generally impressed with their philosophy / approach, after having spent way too much time tuning my Neovim configuration. However, I ran into several blockers for it being my daily driver, I thought I'd share them:

1. It's generally janky whenever the language server is slow, in ways that Neovim is not. The most visible one of these is that completion does not take into account the characters that were typed between when the completion request started and when the completion was selected. For example, if I type "abc", and the LSP suggests "abcdef" after having only observed the "a" keystroke, Helix will end up with "abcdefbc" as the final output. This is annoying.

2. The posted directions (https://github.com/helix-editor/helix/wiki/External-binary-f...) for configuring prettier didn't work, there are no error messages visible in any logs. I haven't had the bandwidth to dig into this yet.

3. Helix doesn't detect the correct root for my language servers in my environment, and it doesn't seem to have any way to override the detected root. This means that have to start the editor in the directory that I intend to use as the root. This gets really problematic when I'm working across several languages.