Readit News logoReadit News
afranchuk commented on Show HN: Free, in-browser PDF editor   breezepdf.com... · Posted by u/philjohnson
afranchuk · 4 months ago
For what it's worth, Firefox has had most of these features built into their PDF.js viewer for a while. I believe signatures were recently added. I'm not sure whether there's capability to remove pages or merge PDFs, though.
afranchuk commented on Janet for Mortals (2023)   ianthehenry.com/posts/jan... · Posted by u/magnio
2pEXgD0fZ5cF · 10 months ago
Hey that's cool. Are you willing to instead share an example snippet of what the DSL itself looks like?
afranchuk · 10 months ago
Here's an excerpt (which is in a map passed to peg/compile) for numeric parsing:

    :nonzero-int (* (range "19") (any (range "09")))
    :int (+ "0" :nonzero-int)
    :decimal (cmt (* (? (<- :int)) "." (<- (some (range "09")))) ,parse-decimal)
    :fraction (cmt (\* (? (\* (number :nonzero-int) :s+)) (number :nonzero-int)
 "/" (number :nonzero-int)) ,parse-fraction)
    :integer (cmt (number :nonzero-int) ,parse-integer)
    :num (+ :decimal :fraction :integer)

afranchuk commented on Janet for Mortals (2023)   ianthehenry.com/posts/jan... · Posted by u/magnio
2pEXgD0fZ5cF · 10 months ago
Janet looks really interesting. Especially with how easy to embed it is.

If I understand it correctly creating DSLs in it should also be very easy with its macro and PEG feature?

afranchuk · 10 months ago
Writing DSLs is very easy, and fun! The PEG grammars are very elegant to build up. I wrote a language for programmatic recipes (think scaling, unit conversion, etc) with it and it was a delight. I'd provide an example but I haven't taken the time to write a README so I haven't published it publicly yet.
afranchuk commented on I Don't Have Spotify   github.com/sjdonado/idont... · Posted by u/sjdonado
askonomm · 10 months ago
I'd love to actually buy music and store it myself, as I've started noticing more and more that some of the songs I have on Spotify have started to disappear, but I find it very difficult to buy modern music anymore. Most gets released as singles, and as far as I know, to only streaming platforms. Is there a way to still buy the same kind of music that is on streaming platforms, and actually get the audio files?
afranchuk · 10 months ago
I've enjoyed the selection on Qobuz, which is all DRM-free and allows mp3 or lossless flac formats.
afranchuk commented on "Begin disabling installed extensions still using Manifest V2 in Chrome stable"   developer.chrome.com/docs... · Posted by u/freedomben
varun_ch · a year ago
Chrome to Firefox is a relatively easy switch, especially for those that don’t depend on Google sync. The main sources of friction for me were the lack of a good profile switching UI (solved with a browser extension that mimics the Chrome menu), and weird security requirements for homemade extensions (IIRC if you want to have the extension persist after restarting Firefox, you need to sign the extension, which is a pain)

For users switching from Arc, there is no good alternative, but Firefox with Sidebery and custom CSS comes close.

afranchuk · a year ago
Note that Firefox profile management is getting an overhaul right now, including an easy profile switching UI. I'm not sure when it will be landing in release, but it is being actively built!
afranchuk commented on Porting a cross-platform GUI application to Rust   hacks.mozilla.org/2024/04... · Posted by u/feross
afranchuk · a year ago
I'm the author of this blog post, feel free to ask any questions!
afranchuk commented on Infinite Craft   neal.fun/infinite-craft/... · Posted by u/kretaceous
TomK32 · 2 years ago
You can combine Trump with the Empire State Building to get Trump Tower. Also I think Trump + Money was Bankruptcy. And there's Trumpthuluh obviously.
afranchuk · 2 years ago
I forget how I got Trump (it was a different formulation than others mentioned though). But Trump + Titanic = Sinking Ship
afranchuk commented on Semantic Zoom   alexanderobenauer.com/lab... · Posted by u/bpierre
ballenf · 2 years ago
Anyone remember the photo viewer from 10+ years ago that started with a tiled view of every photo and you zoomed in kind of organically to what you wanted? At the time it was revolutionary to me. Kind of in the Picasa era or earlier. I believe it was shareware or freeware and might have been Java-based.

And I'd love help with a search query. Can't figure out the right words to avoid links about restoring old photos, or details of various MS Photos applications over the years.

afranchuk · 2 years ago
Are you perhaps referring to eagle mode?

https://eaglemode.sourceforge.net/

afranchuk commented on Show HN: User Persona Generator   founderpal.ai/user-person... · Posted by u/not_makerbox
afranchuk · 2 years ago
The persona I generated is a Christmas tree light company targeting nuclear physicists. The results were surprisingly cohesive!

However, there is a bug: it seems to insert a newline after every punctuation, including after "Dr." (the persona was "Dr. Thomas").

afranchuk commented on I Built Linux from Scratch   thesloth.me/posts/5/... · Posted by u/imthesloth
afranchuk · 2 years ago
I built an LFS system during one weekend my first semester of freshman year of college. I had too much free time I guess...

At the time I made it a 32-bit system since LFS didn't (doesn't?) support multilib and I knew I would need some 32-bit libraries.

I used that as my main system for quite a long time, upgrading software or installing based on BLFS or my own intuition as necessary. It worked pretty well! It was an invaluable experience in the development of my Linux expertise.

After about 5 years I got frustrated with the 32-bit system so I did an in-place upgrade to 64-bit. It was thrilling to come out the other end of that, to say the least (seriously). The training wheels were definitely off, but LFS had educated me enough to be confident in doing it. Also I kept around all the 32-bit stuff of course, so I could incrementally upgrade things.

After a few more years (maybe 2018ish?) I grew weary and changed to Arch (now I use void) :)

All that being said, I highly recommend LFS!

u/afranchuk

KarmaCake day312December 20, 2017View Original