Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jitl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
781.
▲
by
jitl
2y ago
All I’m saying is that a position “desktop Linux can’t into games” is very very wrong in 2024. I wouldn’t pick desktop Linux for productivity use because I need a laptop, and Linux doesn’t seem to have figured out power management or reliab
782.
▲
by
jitl
2y ago
If you want to look at an objective numeric metric for this, why not foreign military bases? US has 128+, China had ~2. To project global military power China will need similar order of magnitude presence. I use that number as a check again
783.
▲
by
jitl
2y ago
Rings kind of hollow because a Linux handheld (Steam Deck) is currently the gold standard gaming device.
784.
▲
by
jitl
2y ago
The tests provide the same value as usual: early detection of coding mistakes, (somewhat) format specification of contracts, assurance the code does what it's supposed to do and continues to do what it's supposed to do as the code
785.
▲
by
jitl
2y ago
My cursor workflow for getting tests is to make the test file, import the code under test, and then type cmd-k, “unit tests for <class>”, enter. Add additional cmd-k to prompt for method tests and cases as needed. Pretty basic, would
786.
▲
by
jitl
2y ago
Some nerds need and appreciate formalization of what you’re describing as a social norm being made explicit and spelled out for them. Besides, most DMs I’ve played with already do this kind of “ok what kinda stuff is everyone thinking about
787.
▲
by
jitl
2y ago
You write: > 18. I hate that it doesn’t have types. It’s totally YOLO: In the point where you say that you didn’t mention STRICT mode, which seems to directly address your complaint.
788.
▲
by
jitl
2y ago
The OP failed to mention that SQLite does have opt-in strict tables that enforce types, you just need to do `CREATE TABLE name (stuff TEXT) STRICT`, see https://www.sqlite.org/stricttables.html Like journal mode being ROLLB
789.
▲
by
jitl
2y ago
You do not want to use IndexedDB, you should avoid IndexedDB if you can make live work without it. IndexedDB rows need to be very coarse grained, each operation with the IndexedDB API has very high overhead compared to something like walkin
790.
▲
by
jitl
2y ago
For typo resistance and stemming it’s useful. Mostly it depends if your search matching logic needs to do allocation per document, like if you need to concatenate 10 strings together to get the complete search text and then split that into
791.
▲
by
jitl
2y ago
It works great for me with no random errors so far, with these dependency hashes: https://github.com/justjake/Dotfiles/blob/new/config/nvim/la...
792.
▲
by
jitl
2y ago
With FlexSearch or lunr or similar, building an index is so fast for “thousands of items” that it’s fine to do it when the user opens a search interface and forget it once they’re done.
793.
▲
by
jitl
2y ago
I have 60k photos using 1.2TB and Photos.app feels faster than Google Photos or Lightroom to me ¯\_(ツ)_/¯
794.
▲
by
jitl
2y ago
I always describe this as “fluxbox window management”, but u guess it made its way into KDE eventually! I don’t remember it in the KDE2 days at least. Anyone have a good app that does this for macOS? I use this one which works great but it
795.
▲
by
jitl
2y ago
Rude comment. I know how to write SQL.
796.
▲
by
jitl
2y ago
<leader><leader> also opens the fuzzy finder in LazyVim. I don’t like it quite as much as <shift><shift> which is the shortcut in Jetbrains but it’s better than <Cmd>-P in VS Code
797.
▲
by
jitl
2y ago
I’ve tried out a few distros for vim and emacs over the years and usually drop them after a few hours of trying. But I gotta say I’m really enjoying LazyVim. It’s config layering system makes tweaking any specific plugin settings very easy,
798.
▲
by
jitl
2y ago
It’s great at doing stuff that is routine, well-understood, done and documented and discussed many times before. “Boilerplate”. But also summarization, brainstorming, assisting a human unfamiliar with the body of knowledge. It is bad at doi
799.
▲
by
jitl
2y ago
Yes, Wezterm has this. https://wezfurlong.org/wezterm/multiplexing.html I haven’t used it yet, and it requires you install Wezterm on the remote. Ideally Wezterm could push a mux server executable to the remote host if
800.
▲
by
jitl
2y ago
I just started using wezterm, my config isn't as mature or fancy, but I already found a spot where lua config is making me happy. I added a feature so I can command-click on Github PR numbers in Wezterm to take me to that PR on Github.
801.
▲
by
jitl
2y ago
You should also check out Wezterm too and see which one you like more. I ported my tmux keybinds to Wezterm - including vim-tmux-navigator style ctrl+{h,j,k,l} for navigating between nvim splits and Wezterm splits, ctrl-a as tmux leader. Ge
802.
▲
by
jitl
2y ago
I was using iTerm up until about a week ago when I unboxed a new Mac and decided to test out alternatives while setting it up. Ghostty wasn't out yet so I started with Wezterm, and was shocked to find how much it's speed improved
803.
▲
by
jitl
2y ago
It’s fast. In the same league as Alacritty and Wezterm, which is to say on the doom fire benchmark those terminals can do 500fps plus, where iTerm2 does 90fps on my M4 MacBook Pro. In practical terms if you use tmux or vim in the terminal,
804.
▲
by
jitl
2y ago
If the entire contents of the article was in the title, you’d still have to read all the words
805.
▲
by
jitl
2y ago
I think the product offerings from CDN companies are the best / most interesting they’ve ever been, compared to the overall IaaS space. “Edge computing” was a meme phrase a few years ago but really there’s no way to beat the speed of l
806.
▲
by
jitl
2y ago
Weird take. I might try all the services with free tiers, see which one works the best, and give that service my business in the long term. Like, how else to evaluate competing vendors? If there’s no free tier it means everything I want to
807.
▲
by
jitl
2y ago
I’m not saying these features only exist in iOS, but for the most part they’re not mutually compatible between OSs. So everyone needs to be using the same OS to enjoy the feature. For some reason the Android people switched to iOS to use th
808.
▲
by
jitl
2y ago
Roughly in order of FOMO iMessage, AirDrop, Find My Friends, AirPlay, WiFi password sharing, iPhoto sharing
809.
▲
by
jitl
2y ago
Idk all the people in my friend group who started on Android have ended up on iOS so they can participate in these Apple only features. It seems the ecosystem is already doing great and getting people to switch is not a problem at least her
810.
▲
by
jitl
2y ago
I think the Apple one is limited to people you are somehow iCloud “friends” with, I’ve never seen a prompt for someone I don’t know
More ›