Загрузка видео...

Не удалось загрузить видео

На главную

Existing search tools on Windows suck. Even with an SSD, it’s painfully slow. So I built a prototype of Nowgrep. It bypasses most of the slow Windows nonsense, and just parses the raw NTFS. On an SSD, this ends up faster than ripgrep, even on a cached run (Nowgrep...

486,817 просмотров • 11 месяцев назад •via X (Twitter)

Комментарии: 0

Нет доступных комментариев

Здесь появятся комментарии из оригинального поста

Похожие видео

Well that was an adventure. Toad's fuzzy file search boosts first characters, smallest number of groups, and it highlights the best scoring match. So you can locate a file with the bare minimum of keypresses. It's an expensive algorithm as it scores every possible combination of the query characters. For any given path there could be many indices which match, and each of them is scored separately. Still, it was fast enough to search as you type for my largest repository. Alas, it was slow for very large repos. Like Microsoft's Typescript, which has more than 84,000 files. I figured I'd reach the limit of what I could do with Python. So my options were to use something like ripgrep or re-implement the fuzzy searching in a faster language. I didn't want to add the ripgrep dependency, so I built a Rust version (with the help of AI) which eventually yielded a ~14X speedup. Nice. Better. But it could still become painful to type under certain pathological conditions. An inefficient algorithm can always be slow if you add more items. So I scrapped the Rust solution and built an index in Python—so the fuzzy search could throw away most paths that wouldn't match or have low scores. And its faster than the Rust solution was. The only downside is that there is a little additional work upfront (done in the background). I think this will do for a while. Until I get an issue that it is slow with 10million files. Rust is still an option, as is doing the work in parallel. This will be in the next version of Toad. Here I am searching the Typescript repo... #Python

Will McGugan

12,260 просмотров • 5 месяцев назад

💾 Okay I finally bought a Raspberry Pi 5 to make into a real retro computer as a proof of concept I love the Raspberry Pi much more than my ESP32 simply because I can SSH into it and it's just like a normal computer or server, the ESP32 required specific software to re-flash it everytime and it was TEDIOUS!!!! I need a fast feedback loop to develop with so all this flashing is too slow for me The Raspberry Pi 5 instead just runs Linux which then runs DOSBox-X to run Windows 3.11 install live downloaded from there so it stays fresh I then also got a Checkmate 19" IPS Retro Monitor by Stephen Jones (very indie and Kickstarter-style product) which is like a vintage retro PC monitor but with an OLED and it runs at 1280x1024, and the Raspberry Pi 5 has HDMI out so it works perfectly with it Then I got an 8BitDo retro IBM keyboard, but the spacebar broke, so I gotta send it back and get a new one, but it was great while it worked, so it's not in this video, and I got the 8BitDo retro mouse So altogether it's a proof of concept of a real vintage retro PC with internet and it works now My end goal is to make this into production and SELL it, not for money but more for fun because I think it should exist, just like Palmer Luckey's ModRetro Chromatic Gameboy-remake I'd go with something smaller than this 19" checkmate display though, it's great but too big for the Windows 3.11 era I think, more like 14" with a matching sized retro IBM-style keyboard and Windows 3.11 preinstalled (if legally allowed by Satya Nadella) with WiFi working out of the box We could also go with Windows 98/XP, because for me too Windows 3.11 was a very short time, so I too have vague memories of it, most of my computing memories is Windows 98/XP etc. Inside it could simply run on a Raspberry Pi 5 like here, which is easily powerful enough to run all of these OS'es I see many SF founders with Apple II's in their living room, and I guess cause Apple was more popular there back then, but in the rest of the world we were mostly IBM PCs and clones that ran Windows, so it's cool to have that as one retro object working with internet in your living room Anyway, step by step, we're here now 😊

@levelsio

149,119 просмотров • 9 месяцев назад