2,392 karma · joined Aug 19, 2013 (13y ago) · 782 submissions
comment 1mo ago · link · parent
That's is, since only recently, no longer strictly true: the age-old libfossil recently got client sync support, so is now (aside from _serving_ repos) essentially a standalone impl (its own developer still uses fossil(1) stash, patch, and diff -tk features, but otherwise uses libfossil's counterparts).
Also, Dan Mestas has <https://github.com/danmestas/go-libfossil>, a Go library for working and fossil, and he is also working on <https://zeitforge.app/>, a clean-room impl. of fossil (whereas libfossil is largely ported directly from fossil(1)) which even goes so far as to _not_ use an sqlite database for its file storage.
Dan Mestas and Dan Shearer are working on finalizing RFCs for fossil's sync protocol and artifact format, and zeitforge is created by carefully managing LLMs which are reading that draft (but not the source code of libfossil or fossil).
comment 2mo ago · link · parent
Then you have proven that you are human.
> Fossil has no way to fix it, by design,
As an 18-year-long contributor to fossil i can assure you that this is absolutely not true. Fossil can amend any checkin and it can move checkins to other branches. Go to sqlite.org/src/timeline?r=mistake to see many examples of where human failing has been both demonstrated and accounted for without breaking anything.
comment 2mo ago · link · parent
Funnily enough, that's collectively fossil's developers' least-favorite part. We make no secret about not liking the ticket system, and we only use it when we need to record a certain ticket for posterity's sake. Aside from that, we use the forum for all ticket-like traffic.
> Since the whole tracker is just a thin front on sqlite ...
Except that it's not: <https://fossil-scm.org/home/doc/trunk/www/fossil-is-not-rela...>
comment 2mo ago · link · parent
That _is_ the refactoring tool in my IDE (emacs). i demonstrated replacing _all_of them at once, not replacing them each by hand.
> ... because it’s the right thing to do and doing it without the tool confers no benefit and is prone to error.
There was nothing in my post done "without the tool." Shell/find/perl _is_ the tool for C refactoring, and has been for decades.
comment 2mo ago · link · parent
It's long been my experience that that only works with high-level languages (specifically, those with bytecode), not C (especially once symbols are generated from macros). (OTOH, i've not touched an IDE in well more than 10 years.)
Also, it's long been my experience that any half-decent IDE is still a pale shadow of Emacs.
comment 2mo ago · link · parent
:-?
My "10+ years" was not referring to any specific milestone. It was referring to the general flow of time. It's been 10 years since 2016, twenty since 2006, and more than 40 since writing my first program. Lots has changed every 10 years in that period, both in my skills and the environments i program in, but shell/emacs/makefile remains a staple of that process.
comment 2mo ago · link · parent
Similar here: CDs and DVDs burned from 2000-2006 or so were, without exception, illegible by 2015. It's sickening.
comment 2mo ago · link · parent
If you mean using a text editor, a shell, and a makefile, then you're not alone by any stretch of the imagination.
If you mean your skills stagnated 10+ years ago and have not advanced since then, then... yeah, you might be the only one ;).
comment 2mo ago · link · parent
FWIW, it's long been my experience that floppies (like CDs and DVDs) have a half-life and they degrade quickly upon reaching it. You'd have been lucky to be able to recover those in 2001. Now? If at all, only high-end forensic tools could recover them.
comment 3mo ago · link · parent
And then google whether the domain is associated with phishing attempts. i've been targeted several times recently by folks with "official" email addresses but whose domains are (per google) strongly associated with phishing.
13.
Show HN: Word-finder/anagram solver web app for mobile browsers(wanderinghorse.net ↗)
2 points · by sgbeal · 3mo ago · discuss
14.
Show HN: JavaScript/JSON and CSS minifier lib in minimal C89(fossil.wanderinghorse.net ↗)
3 points · by sgbeal · 4mo ago · discuss
15.
Show HN: Rules-free solo-only client for the Paperback tabletop game(wanderinghorse.net ↗)
1 points · by sgbeal · 4mo ago · discuss
comment 6mo ago · link · parent
> "Late last night, a trespasser breached airport security at Denver Int’l Airport, deliberately scaled a perimeter fence, and ran out onto a runway," Transportation Secretary Sean Duffy said in a statement
comment 6mo ago · link · parent
That it should in some way affect my mental health has never once occurred to me. If anything, i assume that living on one's body's own natural schedule would be optimal in terms of related effects on mental health.
> How do you deal with times day and night are flipped?
When there's not something pressing me into a schedule, e.g. a job, i kind of "circle around" to a conventional schedule every few weeks. All things considered, i prefer the "swapped" times because it's quieter at night. e.g. less traffic driving by, fewer neighbors making various noises, and no DHL/UPS/DPD deliveries for the neighbors being dropped off here because the neighbors aren't home (whereas i am almost always at home and both the neighbors and the local delivery folks know it).
i'm a retiree so, with the exception of shopping and rare appointments, the night/day or weekend/weekend[^1] are not generally distinctions which affect me, and it's never bothered me in the slightest to not have a fixed schedule. On the contrary, a fixed schedule somewhat bums me out long-term, presumably because it does not match my biological clock.
> How does it affect your social life?
My social life is (by preference and choice) comprised solely of (A) my FOSS work, and there's no clock associated with any of that, and (B) my wife. Both my and my wife's biological families are all on another continent, so we've no family obligations which require physical presence. When i'm not FOSS'ing, we play a lot of board games.
[^1]: stores are closed on Sundays and all public holidays in Germany. More than once i've gone to the store, only to discover it's closed due to a holiday i've overlooked (like, most recently, May 1st).
comment 6mo ago · link · parent
comment 6mo ago · link · parent
- "mobile app" means "its web interface"
- "backed up" means to wherever you upload/sync your backups to
- No automagic table calculation support.
comment 6mo ago · link · parent
The current trunk is actually 1.7mb in its canonical unminified form (which includes very nearly as much docs as JS code), split almost evenly between the WASM and JS pieces :/. Edit: it is 1.2mb in minified form, though.
Disclosure: i'm its maintainer.
Edit: current trunk, for the sake of trivia:
sqlite3.wasm 896745
sqlite3.mjs 816270 # unminified w/ docs
sqlite3.mjs 431388 # unminified w/o docs
sqlite3.mjs 310975 # minifiedcomment 6mo ago · link · parent
1) It's apparently impossible to cleanly structure large projects with PHP. i've been a part of many such projects across a large handful of teams, and every one of them eventually became a complete mess, structurally speaking, no matter how conscientious the developers were. Java, for example, forces a directory structure onto developers. PHP is more C-like in that regard - "do whatever you want" - and i've yet to see that end well for older/larger projects.
2) Breaking age-old working features with new releases, like when they removed split or join or implode or explode (two of the four, but i don't recall which). When they did that, and my decade-old website suddenly stopped working, i lost all motivation to continue maintaining sites in PHP. Dropped it that very day (for my personal sites) and have not looked back. i still had to use it in commercial projects off and on through 2014, and each one only help cement point #1 for me.
i don't miss it.
comment 6mo ago · link · parent
That arguably belongs in the commit messages or, in some cases, in code comments.
> or what I was planning next.
That arguably belongs in ./TODO or, in some cases, code comments.
Edit: TODOs in code comments obviously don't have a natural ordering, but i frequently look at diffs to help figure that part out, as they clearly mark the new/recent TODOs.
> Is there anything that actually works, or do you just accept the tax?
There will always be a tax for context switching - even brief interruptions during concentrated work often require longer than the interruption to get back into the work (that's a well-studied phenomenon, actually). There is no avoiding that unless, perhaps, one has eidetic memory (in which case the cost is _presumably_ low enough to be considered negligible (but perhaps someone with eidetic memory can enlighten us on that)).
> How long does it realistically take you to resume a project after 3+ days?
That depends entirely on the project and its complexity/scope. It might be 5 minutes, it might be half a day. i'll admit that i sometimes (okay, okay: often!) avoid going back to something i'd _like_ to work on because i know in advance that this tax is likely to be paid by an inordinately large portion of my current energy levels, leaving little for the actual work. Frequently, though, when _finally_ getting back, i discover that the tax is less than anticipated. Maybe that's an age/experience thing, though - refamiliarizing myself with older code seems to come more easily to me with age, for reasons beyond my ken.
comment 6mo ago · link · parent
Done! Edit: nevermind - i've deleted it. The community guidelines request/require that responses actually attempt to answer the question (how to block all AI usage), which this response does not address.
comment 6mo ago · link · parent
# From one's $HOME dir:
rm -fr ./.config/google-chrome/OptGuideOnDeviceModel
mkdir -p ./.config/google-chrome/OptGuideOnDeviceModel
touch ./.config/google-chrome/OptGuideOnDeviceModel/weights.bin
chmod 0400 ./.config/google-chrome/OptGuideOnDeviceModel/weights.bin
chmod 0500 ./.config/google-chrome/OptGuideOnDeviceModel
Adapt as appropriate for your OS. For "Chrome Unstable" installs, the dir name is google-chrome-unstable.This has, so far, kept Chrome from (re)installing that file on my system.
Hypothetically the parts involving weights.bin aren't needed so long as the containing directory is not writable.