Better HN
topnewbestaskshowjobs
Log inSign up

robertwpearce

11 karma · joined Mar 1, 2013 (13y ago) · 21 submissions

[ my public key: https://keybase.io/rpearce; my proof: https://keybase.io/rpearce/sigs/l-AGGi2EJXc7FJkXi4a2JeQNyT1CdA_Ei1RsspZNg-M ]
Submissions

comment 1mo ago · link · parent

For small-scale projects, I use a server-side helper for an HTML page to include only certain CSS, SVG, and JS on a page. Each JS file is tiny, progressive, vanilla JS; SVGs are predefined and generate an SVG sprite that I then consume; CSS pulls in a `base.css`, the page's CSS file, and any component ones pull in their own. It's hand-rolled per project (pre-AI being decent), but I'm proud of it, and it keeps every page tiny. HTTP/2 multiplexing is pretty good and downloads the files more or less in parallel.

comment 9mo ago · link · parent

A Heroku app of mine went down starting at ~7:43pm Eastern US (I KNOW, I need to migrate it elsewhere), and in a separate, weird "thing is down" instance, some pages in the Epic healthcare app seem to be offline. Also seeing that YouTube issue.

Related comments on reddit:

* https://www.reddit.com/r/Heroku/comments/1r7o1hk/outage/ * https://www.reddit.com/r/youtube/comments/1r7onh1/youtube_we...

comment 10mo ago · link · parent

Same! uBlock on Firefox lists ~280 scripts blocked

comment 11mo ago · link · parent

I remember reading this when you published it! I was considering going at the time, as well as some years after, but this + work + starting a family had me choose different. I don't know if you've written a follow-up, but I would 100% read that.

comment 12mo ago · link · parent

I decided to start learning Zig this past week, and typing in "zig book" to a search engine led me to that project. After a handful of pages, I had no clue what was going on and couldn't follow it (that said, I am new).

I quickly found https://ziglang.org/learn/, and the guide is great. For ziglings, make sure you're on the latest dev build (as it says in the README)! (Edit: or get the tagged release for the version you have!)

comment 2y ago · link · parent

For what it's worth, I recently played the 25yr release of Half-Life on Macbook Pro M1 using Parallels with Windows on Steam. I re-played the entire game over a few months, and it was a really great experience.

It's disheartening to hear that such an excellent game was kept from entire platforms because of what happened in that story.

comment 3y ago · link · parent

RailsCasts was an incredible help in my early web career, and I was so so grateful for the time and effort that went in to each episode. I've wondered about this story for years, and it's wonderful to see this story start to get told. I hope Ryan is doing okay and in a good place!

comment 3y ago · link · parent

Wow, I'm horrified that the post was received this way. How did it make you feel bullied? Was this because of it using imperatives with "do" and "don't"?

edit: the real-talk takeaways at the end are worth reading, I think (I'm biased, though)

comment 3y ago · link · parent

Ah, I missed it — probably because I haven't seen any of these "heaping praise" comments yet

comment 3y ago · link · parent

Since this was originally posted, the inline PDF is hidden an replaced with a link on smaller screen sizes.

comment 3y ago · link · parent

That's an interesting point. When I taught, I took this same approach — thanks for reminding me of it.

comment 3y ago · link · parent

The fix for this is going out right now, and I gave you and your original comment credit in the article. You rock!

comment 3y ago · link · parent

This originated as a fun talk at the Auckland Functional Programming meetup. Given there is so much "here's how to get your team into FP" content out there already, this felt like an engaging approach and was a nice talk to share with folx.

I disagree that it's annoying and click baity — else I wouldn't have went to all the effort — but if it's not for you, it's not for you.

comment 3y ago · link · parent

I'm doing it wrong! Thanks for looking into this. I will 100% fix this.

comment 3y ago · link · parent

It's hard for me to tell if your account is a joke or not because of the "yakshaving" part, so I'll respond as if it isn't.

I totally agree with you! I can't say that conversation belongs alongside this post, though.

comment 3y ago · link · parent

I'm with you

comment 3y ago · link · parent

TS and Elm were included in a "Don't have static type checking" section, alongside Flow, ReasonML, and a blank space for all the others. The point I was going for was that there are numerous options for static type checking for the web out there.

comment 3y ago · link · parent

That's really weird, and I'm sorry that happened. I'm on Firefox Developer Edition on macOS, and it displays inline for me, but that could be my settings.

I'll take a look at using an embed tonight. Thanks for the feedback!

comment 3y ago · link · parent

Should be fixed now. Sorry about that

comment 3y ago · link · parent

Sorry about that :(

comment 3y ago · link · parent

Author here: I broke the CSS last night on light mode while making a few changes. Sorry about that!