Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
karlicoss
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
1.
▲
by
karlicoss
1y ago
Seems like official export [0] has tags and annotations along with timestamps. However in case you'd like more structured full data from the API (instead of a mess with csv + json?), you can use my tool [1] to export it. Here's ex
2.
▲
by
karlicoss
1y ago
datetime handling can absolutely be a hot spot, especially if you're parsing or formatting them. Even for relatively simple things like "parse a huge csv file with dates into dataclasses". In particular, default implementatio
3.
▲
The Decline of Mobile Development
(donnfelker.com)
23 points
by
karlicoss
2y ago
|
17 comments
4.
▲
by
karlicoss
3y ago
I argued that point in my article some time ago https://beepb00p.xyz/configs-suck.html also HN discussion at the time news.ycombinator.com/item?id=22787332
5.
▲
Fsearch, a fast file search utility for Unix-like systems
(github.com)
207 points
by
karlicoss
3y ago
|
95 comments
6.
▲
by
karlicoss
3y ago
I was annoyed by cron/fcron limitations and figured systemd is the way go because of its flexibility and power, but also was annoyed about manually managing tons of unit files. So I wrote a tool with a config that looks kinda like a cr
7.
▲
by
karlicoss
3y ago
Another thing I noticed is that homebrew python was noticeably slower on M2 comparing to the pyenv one. I imagine homebrew compiles it with too generic flags to support wide range of macs.
8.
▲
by
karlicoss
3y ago
It sparks a discussion around knowledge management, that's kinda nice :)
9.
▲
by
karlicoss
3y ago
Or you can use pipx, it deals with all the virtualenv business behind the scenes
10.
▲
by
karlicoss
3y ago
FWIW, never happened to me with Synching, but either way it's best to separate sync software and backup software. Sync might work flawlessly, but the user might make a mistake which would quickly wipe the files across all devices. I us
11.
▲
by
karlicoss
3y ago
I sync about two hundred thousands of files without any problems, especially if your aren't changing them all the time. The only issue I can imagine is initial sync with so many files might take a while, even if total size isn't h
12.
▲
by
karlicoss
3y ago
not sure what happens if you commit on two devices before syncing, but the "worst" that happened to me is I get an index conflict, in which case it's easily fixed by 'git reset'
13.
▲
by
karlicoss
4y ago
fuzzing?
14.
▲
by
karlicoss
4y ago
I'm rooting to get access to my own data (typically in sqlite databases in protected /data/data partition). Then I feed it into HPI (Human Programming Interface) [1], and from that it gets into my plaintext search system [2]
15.
▲
by
karlicoss
4y ago
First, big respect for working on software for so many years! My question is what data format is it using? I found some examples here [1], but looks like it's a custom binary format? Is there a functionality to auto-export (e.g. on sav
16.
▲
by
karlicoss
4y ago
Hey, it's a bit dated, I've been meaning to update the post for a while, but haven't had time. I actually bought a remarkable 2 since, but I didn't really end up using it much. IIRC main reason was that annotations are
17.
▲
by
karlicoss
4y ago
Yep, thanks! I really need to update the post with zotero
18.
▲
by
karlicoss
4y ago
Some time ago I wanted the best bits from both worlds: - from cron: specifying all jobs in one file instead of scattering it across dosens of unit files. In 90% of cases I just want a regular schedule and the command, that's it - from
19.
▲
Dates and Times and Types in Python
(blog.glyph.im)
2 points
by
karlicoss
4y ago
|
0 comments
20.
▲
by
karlicoss
4y ago
Yes. - you use an actual programming language (which you're likely to already know) instead of desperately figuring out how to simulate a for loop in yaml or to replace a part of a string, or whatnot - you have all Python static analys
21.
▲
by
karlicoss
4y ago
httpa://grep.app often helps for obscure code searches on GitHub
22.
▲
Add-on support in new Firefox for Android (2021)
(discourse.mozilla.org)
292 points
by
karlicoss
4y ago
|
212 comments
23.
▲
by
karlicoss
4y ago
as a workaround I'm using a keyword search bookmark in firefox mapped to 'g' https://www.google.com/search?q=%s&tbs=li:1
24.
▲
by
karlicoss
4y ago
yep, can confirm, it basically filters out any notebook output from version control (while keeping it intact in the notebook file itself). This works seamlessly with diffing, committing, staging, etc.
25.
▲
by
karlicoss
4y ago
I stopped worrying and in most cases just write configs for my tools in python. Then you can just import/exec it and you're done. I can use all the operations/primitives I already know in Python: string interpolation & o
26.
▲
by
karlicoss
4y ago
If you want a TLDR/teaser, watch for a minute from https://youtu.be/oI_X2cMHNe0?t=653 . It's fascinating :)
27.
▲
by
karlicoss
4y ago
Oh nice, I like it! So it basically automates detecting useful bits for a particular URL, but it's kind of time consuming and flaky. It could be very helpful to populate the 'rules' database though, and then this database cou
28.
▲
by
karlicoss
4y ago
Yeah, sadly, to get the canonical attribute, you need to fetch the URL first (which is slow and wasteful). Also sometimes canonical would still be different on the desktop and mobile version of the site, so it still has to be normalised aft
29.
▲
by
karlicoss
4y ago
your comments are always such an inspiration to read :) thank you!
30.
▲
by
karlicoss
4y ago
It's kind of tricky to do in general case, e.g. even hackernews is keeping meaningful semantic information in id= query parameter. Because of that it ultimately needs to a site-specific database/algorithm, perhaps with a fallback
More ›