HNHacker News
TopNewBestAskShowJobs

chrisfinazzo

480 karma · joined December 17, 2017

chrisfinazzo.at.hn

Trying to make a bio out of HN comments is a thing?

submissionscomments
chrisfinazzo··on I just wanted Emacs to look nice – Using 24-bit color in terminals
To my way of thinking, the idea that you would remove the toolbar in graphical mode defeats the purpose.

Emacs keybindings are complicated enough that I'd rather keep the ability to click a button available at all times even if I don't use it regularly - see my prior comment re BBEdit.

Such is life that I have some physical issues with my hands that make a purely keyboard driven interface occasionally uncomfortable. The chorded keystrokes in Vim were not satisfying to me, so I went in an emacs direction ¯\_(ツ)_/¯

When I started building out my init.el, it became apparent that I needed an escape hatch from time to time - this is it.

chrisfinazzo··on I just wanted Emacs to look nice – Using 24-bit color in terminals
See my response to db48x for context.
chrisfinazzo··on Adobe gives up on web-design product to rival Figma after deal collapse
This isn't the first time Adobe has taken a decent app w/ potential and run it into the ground:

Dreamweaver did many things, not all of them well, but it was never actively terrible. Over time, its functionality got split out into more apps that didn't actually require people to write web code - a disappointment that shouldn't surprise as Adobe's heart was still w/ print production and never really committed to the development side of things.

I would have expected that after Flash went EOL that more resources would go to the editor, but they just mined it out before going subscription, a dealbreaker that made me seek out Panic's Coda and (later) BBEdit.

I know it still exists in Creative Cloud, but unless you are deep in the Adobe ecosystem, there are better options available.

chrisfinazzo··on I just wanted Emacs to look nice – Using 24-bit color in terminals
Unsaid in all of this is that Emacs isn't my main text editor - that is the job of BBEdit where the GUI is both expected and rather good - instead, it is the "editor of last resort" (Vim is inscrutable to me).

The emacs GUI inside a terminal window - invoked w/ xterm-mouse-mode - is still rather minimal. I'm thinking more about emacs-gtk or Aquamacs. You could argue that the GUI gives you access to more system capabilities in a straightforward way - buttons/controls v keybindings - but this isn't a dealbreaker for me.

As long as I have a readily available reference for keybindings, that's good enough for me.

chrisfinazzo··on I just wanted Emacs to look nice – Using 24-bit color in terminals
Counterpoint: If you want a terminal w/o the bloat of a full GUI, but still most of the advantages, `xterm-mouse-mode` will get you 80% of the way there:

    (require 'mouse)
    (xterm-mouse-mode t)
    (mouse-wheel-mode t)
    (setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ;; scroll one line at a time
    (setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
    (setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
    (setq scroll-step 1) ;; scroll smoothly
Also, I should point out that I use `(setq auto-save-default nil)` - as God intended.
chrisfinazzo··on Show HN: Sendenv, a CLI tool to share environment variables
Ah, now I see...

The thing that really made dotfiles click for me was the switch to zsh in macOS + Armin Briegel's (of Scripting OS X) book, which laid out exactly how the transition was going to work. I'd done some basic things in `.bash_profile`, but this took it to another level entirely.

Tl;dr `zsh-newuser-install` is pretty idiot-proof, but it helps to know what the options are if you've never seen them before.

chrisfinazzo··on Show HN: Sendenv, a CLI tool to share environment variables
> sendenv also writes to "~/.bash_profile", "~/.zshrc", which is fraught (i.e. on my system they're read-only files).

> If you want them to persist system-wide, use ansible or some other configuration management.

I kind of understand not wanting to give other people the ability to mess with your shell, but why are these read-only?

Also, curious about the choice of Ansible...symlinks are a thing and the setup is really only as complicated as you make it. Building a mansion when you might only "need" a house with 1 or 2 bedrooms seems like an odd decision.

chrisfinazzo··on Use Plaintext Email (2019)
As it was explained to me, the worry was less about actual exploits and more to do with supporting various HTML features in the respective clients (Think Caniuse, but specifically for email).

Back when I was doing some work in this area, the Email Standards Project was trying to get most of the popular clients to update their rendering engines with this goal in mind. So far as I can tell, this work seems to have been inherited by the people behind the Email Markup Consortium.[1]

[1]: https://emailmarkup.org

chrisfinazzo··on FTC bans TurboTax from advertising 'free' services, calls deceptive advertising
Can confirm - While I was decent at math up to a point, fractions and long division in 4th Grade sent me down a hole that took me years to get out of...until Algebra II as a junior in HS crushed me.

I blame this on my Chemistry teacher - a class which I was also taking at the time - who spoke little English and had never taught in the United States until the year I landed in her class. I actually did reasonably well in Algebra for the first quarter or so until it all fell apart.

chrisfinazzo··on FTC bans TurboTax from advertising 'free' services, calls deceptive advertising
In addition, I wouldn't be surprised to find that many of the people who are in the target demographic for this feature don't itemize - and never have a need for such practices.

A 1040 + W2 might the only equation these people need to solve for.

chrisfinazzo··on Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS
In addition, so far I know, the @page "locations" (e.g, @top-center, etc.) are not well supported yet in all browsers which means the flexbox fallback is probably as close as we're going to get.

https://www.quackit.com/css/at-rules/css_top-center_at-rule....

chrisfinazzo··on Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS
I solved the issue by installing manually, but even that is a pain with TeX Live - some of the directory tree needed to be created before BasicTex was aware of the packages I was using.
chrisfinazzo··on Use Plaintext Email (2019)
By volume, yes...

However, my choice of this example was intentional. You're not looking for a low bounce rate, you want - and need - exactly zero. Questions about standards are moot in a plaintext environment and security concerns are, if not eliminated, greatly minimized if you can't include images or live, clickable URLs.

Business do send a metric fuckton of HTML mail, but they generally have the budget to test for and support more types of clients.

chrisfinazzo··on Use Plaintext Email (2019)
Counterpoint: If you have to guarantee delivery, I don't see how you can choose something other than plaintext unless you can make assurances about the environment recipients are using to read the message.

Case in point: Last I heard, The College Board still sends critical test information - admission tickets and the like - in plaintext.

chrisfinazzo··on Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS
Flexbox support has been [included][1] since 2018, although my use case was the prototypical one - a single row w/ 3 columns - so YMMV with how it handles more complex layouts.

[1]: https://github.com/Kozea/WeasyPrint/pull/579

chrisfinazzo··on Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS
Weasyprint has a bunch of options to do almost anything you can think of, but in my case, it's just a generator.

To your point that htmldocs supports more modern CSS features, I can see the advantage. Although the most complicated things I needed - aside from @page rules - were a replacement for a 2nd page header (solved w/ Flexbox) and automatic page breaks that would display correctly (a few lines of CSS processed w/ Weasyprint came out better and didn't require me to print to PDF manually.)

chrisfinazzo··on Show HN: Htmldocs – Typeset and generate pdfs with HTML/CSS
Once I had the chance to move away from Word, TeX was the first place I went. That said, I eventually tired of the obtuse error messages and felt I was making things more complicated for no real gain.

Even keeping a BasicTex environment working requires effort that HTML does not.

chrisfinazzo··on Modeless Vim
Corollary: xterm-mouse-mode in emacs is an equivalent of sorts for the rest of the world, and it is excellent.
chrisfinazzo··on Using Git Offline
Not quite - more that there’s a UI on that index.

The LKML [mirror][] has a page with links to the various lists, but if you dig around in those links, there doesn’t appear to be a way to post new items or reply to existing messages in a browser. It’s just text - The mechanism of action is still sending emails to various handles to perform these activities.

[mirror]: https://subspace.kernel.org/vger.kernel.org.html

chrisfinazzo··on Using Git Offline
How is this different if you work alone, on one machine, and simply don't use a remote?

I realize this is a bastardization of the concept, but for personal projects, it still sounds reasonable.

Reads further...

Eh, I guess USB drives count as separate machines in this case ¯\_(ツ)_/¯

chrisfinazzo··on Using Git Offline
One other distinction I would make between this and the email centric workflow that (almost) every mailing list that I know of these days has is the inclusion of a publicly accessible URL with an index of messages.
chrisfinazzo··on Apple to halt Apple Watch Series 9 and Ultra 2 sales in the US this week
Disclaimer: Not a lawyer

It isn't clear to me if Apple's internal team working on this was the original plan - think "embrace, extend, extinguish", or "we'll do the basics, everything else is a 'third-party opportunity'" - or if they were formed as a backstop in the event an acquisition or licensing deal didn't happen.

See also the current situation with AliveCor over ECG tech in the Apple Watch.

Bottom line, Masimo wants to be paid - which I get - but I think the case will also try to settle whether or not Apple (or anyone) can integrate these features in something that (legally speaking) isn't a medical device without paying licensing fees of some kind.

chrisfinazzo··on SVG Tutorial
I suspect my frustration here is that although Inkscape's controls sort of look like Word or any number of other word processors, since it can modify a document's underlying XML, it requires keeping both paradigms in your head as you work.

I know people use it and like it, but in trying to get something done in a way that would save time, this approach didn't really click for me.

chrisfinazzo··on SVG Tutorial
While most of the SVG text examples I've seen have a "word art" type of feel to them, I was mostly thinking it would be nice to show another common use case.

Recently, I've been using Standard Ebooks' toolkit to convert my Master's Defense into EPUB. SE uses SVG as its image format for covers - along with a few scaled JPGs. Unsurprisingly, all of this starts out as text and there is extensive use of text-anchor to get the alignment right.

Although they use XHTML as the primary input format, foreignObject is a concept I haven't encountered before, might be worth checking out...

https://standardebooks.org/contribute/producing-an-ebook-ste...

chrisfinazzo··on SVG Tutorial
Very nice. It would be nice to see an example or two with text + an image, as this is the battle I'm currently fighting.

Alignment is a trip, let me tell you...

While I've played around with Inkscape, I'm definitely on the "writing XML" side of the fence in order to create what I need.

chrisfinazzo··on Show HN: Beeper Mini – iMessage client for Android
The current state of affairs re encryption is an accident of history that I would bet doesn’t last much longer once Apple gets formally involved.

“Apple says it won't be supporting any proprietary extensions that seek to add encryption on top of RCS and hopes, instead, to work with the GSM Association to add encryption to the standard.”

https://www.techradar.com/phones/iphone/breaking-apple-will-...

chrisfinazzo··on HTML hacks that shaped the Internet
As I understand it - I was a bit young when it happened, so all I have are secondhand accounts - IE 5 on Mac was substantially better that other browsers due in part to its CSS support.
chrisfinazzo··on HTML hacks that shaped the Internet
As I’ve been converting from .docx to HTML, I was pleasantly surprised to find that using flexbox to lay out three elements in a single row is perfectly fine and - bonus points- the CSS doesn’t make want to gouge my eyes out.

To your point that HTML can be a security risk, I remember interviewing at The College Board in mid 2011 and finding out that they still sent critical information - think testing admission tickets - with a MIME type of text/plain.

If you need to guarantee delivery and readability, no matter where people are getting the message, I don’t see how you can do it any other way.

chrisfinazzo··on HTML hacks that shaped the Internet
I had an internship during college at a small web shop that did a ton of HTML mail. Early on, after I had completed a project, they took a half day to try and teach me how floats worked.

Note: If you think web browsers are weird, just wait until you try doing things in email clients or - $deity forbid - ebook readers.

As you say, it was weird and initially quite difficult to wrap my head around it. Surprisingly, I didn't actually learn about the "clearfix" hack until a couple of years later when I interviewed for a Front-End job at - of all places - Fox News.

The person who I talked with there gave me a take-home to work on and send back. Tl;dr I didn't get it quite right because I hadn't really taken the time to understand what the particular styles did to the layout.

Fast-forward to today and I'm using floats w/ @print and a div class of "clearfix" set to "both" in order to reset the layout of a document that was converted from Word's .docx to HTML.

How times change.

chrisfinazzo··on HTML hacks that shaped the Internet
If you're specifying @screen as the Media Type, the primary reason I can think of for going back to floats is art direction - especially if you wanted to float images alongside a block of text. I know there are "better" methods in more modern versions of the spec, but this is one that still seems to get a fair bit of use.

Old CSS never dies, it just goes to live on a very special farm upstate where it only has to do 1 or 2 jobs.

← PreviousPage 3 of 16Next →