HNHacker News
TopNewBestAskShowJobs

johnny_reilly

1,551 karma · joined April 9, 2012

OSS Engineer - TypeScript, Azure, React, Node.js, .NET

- website: https://johnnyreilly.com/about

johnny_reilly.at.hn

submissionscomments
johnny_reilly··on How I ruined my SEO
There's no ads.

Over time I've change page URLs, partly as a migration from Blogger to Docusaurus, partly due to just changing page URLs without thinking about it.

I've changed image URLs by switching from PNG to WebP and back again.

Thanks for the link will check it out.

johnny_reilly··on How I ruined my SEO
I've listed all the causes I can think of. Does any strike you as "the one"?
johnny_reilly··on How I ruined my SEO
Which profile? I link to it in my GitHub / Mastodon / Twitter profiles for instance
johnny_reilly··on How I ruined my SEO
Yeah - primitive but probably reasonable. Would be happy to experiment with that. I've also been pondering things we could do around open graph images as well, would be nice to use image CDNs like Cloudinary for open graph images in the same way we can for blog images https://johnnyreilly.com/2022/12/26/docusaurus-image-cloudin...
johnny_reilly··on How I ruined my SEO
Yeah I'd love to get your help! My email address is johnny_reilly at hotmail dot com or you can DM me here: https://twitter.com/johnny_reilly or here https://fosstodon.org/@johnny_reilly
johnny_reilly··on How I ruined my SEO
Yup - I am not quite sure! But I reckon it's fairly likely that the post contains the "how" of how I ruined my SEO. The hope is that a knowledgeable someone can say what I did wrong.
johnny_reilly··on How I ruined my SEO
Also intrigued as to whether this could be a cause. I'm certainly not opposed to adding one, but I'd be surprised if it was necessary. But I'm here to learn!
johnny_reilly··on How I ruined my SEO
Thanks for the tips!

> A cool trick to improve the result fast is by removing the lazy load effect from the LCP: https://i.imgur.com/rOOWm91.png

Haha, ironically I'm responsible for wholesale lazy loading of images in Docusaurus:

https://github.com/facebook/docusaurus/pull/6598

Generally that's a good thing, but it's not good for title images that appear "above the fold". I wonder if there's something we could do to determine whether an image is "above the fold" and so not apply lazy. Something to ponder.

> Try to make more strategic articles stronger.

Not sure I follow your meaning here, do you literally mean applying bold to certain articles? Or something else?

johnny_reilly··on The Need to Read
Declare your interest Sebastien ;-)

I migrated my own blog to Docusaurus from Blogger about a year and a half ago. I became very enamoured (and still am) with the idea of writing blog posts as markdown, storing them as code and publishing them as a website.

I was delighted at how much Docusaurus aligned with that. So much so that I wrote a guide to help others migrate:

https://blog.johnnyreilly.com/definitive-guide-to-migrating-...

johnny_reilly··on The Need to Read
What Simon said! I've found that blogging hugely helps me clarify my own thinking on a topic, and flush out areas of ignorance.

Another excellent option for making getting going with blogging simple is Docusaurus - makes it very easy to get up and running!

https://docusaurus.io

johnny_reilly··on What to blog about
I blog a lot of Today I Learned (TIL) because experience has taught me that tomorrow I forget. Writing it down makes it a little less likely I'll forget, and at least allows me to more easily remember when I do
johnny_reilly··on Turbopack, the successor to Webpack
ts-loader maintainer here. webpack never did typechecking. It's possible to run ts-loader in two modes; with type checking active and with it disabled. For years I've been advising running type checking as a separate process to improve the development workflow:

https://blog.johnnyreilly.com/2017/09/07/typescript-webpack-...

Exciting news about turbopack - the world is about to get much faster!

johnny_reilly··on Day.js – Fast 2kB alternative to Moment.js with the same modern API
Interesting to see the support for luxon. When moment was announced as a done project they recommend a number of alternatives; one of those was luxon. Date-fns was also in there, and given I was already using it I carried on my merry way! I'm curious what the difference between luxon and date-fns is. Npm trends are interesting

https://npmtrends.com/date-fns-vs-dayjs-vs-luxon-vs-moment

johnny_reilly··on Reasons you aren't updating your personal site (2020)
I can only speak for my own experience. I blog because I enjoy it and because it helps me stop repeatedly solving the same problems. It's essentially my long term memory published to a website. If it was only that and no-one read it, that would be fine. It has been going for more than 10 years now and I have no plans to stop.

TBH I only really started looking at traffic in the last year and I'm gratified it gets a bunch. But honestly not for the topics I would imagine (and often hope for).

The other useful aspect: writing about a topic flushes out my areas of ignorance and clarifies my thoughts. That's a useful exercise.

https://blog.johnnyreilly.com/

johnny_reilly··on Ask HN: Who is hiring? (September 2022)
Investec | https://www.investec.com/ | multiple full stack software engineering roles | Full time | UK Want to be part of a place that straddles the space between engineering, fintechs and banking?

If you're into Azure, if you dig the web and if you want to use some tech that's pretty exciting then drop us a line!

We're building some pretty innovative stuff, inner sourcing like our lives depend upon it, and we want fun and curious people to join us and help.

Our tech stack is very Microsoft flavoured, so expect a lot of Azure, Bicep, .NET, TypeScript, React, Angular and many other things besides.

Contact john.reilly@investec.co.uk and let's chat!

johnny_reilly··on Understanding UseMemo and UseCallback
I love the way this is put together. Just outstanding work - totally readable with interactive illustrations. Hats off!
johnny_reilly··on Docusaurus 2.0
So happy to see Docusaurus hit the big 2.0! I use it to power my blog and it's a tremendous tool. The DX is fantastic and it's open source! I've been able to contribute to it myself. Amazing times!
johnny_reilly··on Publishing your work increases your luck
This resonates with my own experience tremendously. I've blogged for ten years - opportunities have come out of it. I've worked on OSS for ten years - opportunities have come out of it. Most of the time I was doing both I felt like I was doing something inconsequential that only meant something to me. That was incorrect. Reliably putting work out there and collaborating with other humans makes things happen.
johnny_reilly··on Thank you to our maintainers
I'm really disappointed with the conversation this has provoked. I was a fortunate recipient of this and I am delighted. I'm pleased about the money, that's great. But more than that I was really thrilled to discover that I had indirectly worked on GitHub; because I love GitHub.

I feel like I should qualify this further. I actually missed the original email and spent a day or so realising friends and open source colleagues were being recognised, whilst believing my own OSS wasn't in the mix. And I was pleased for them.

I've been doing OSS for more than a decade. I enjoy it. I wish companies directly supported it, as paying for what you value is responsible and wise. GitHub just did that. Thank you GitHub. I appreciate it. This was a good thing. Well done!

johnny_reilly··on Flowers for Algernon (1965) [pdf]
This book changed me. I was an idle eight year old, and my school didn't give us homework to do. So my father decided to set me homework of his own devising, which on one occasion was reading Flowers for Algernon.

I was moved by the story of a man who had little natural ability, straining to make the best of what he had. Then becoming smarter than everyone around him, and then what follows.

There's many things to take from this story. I took away that we should make the best of what we have. To do otherwise is to miss out. Never take what you have for granted. Everything is a blessing; don't waste it.

johnny_reilly··on I don't care about HSTS for localhost
I feel like I'm going to be denounced as a heretic, but here goes: I don't care about HTTPS for localhost

When developing locally I'll aim to run without HTTPS / HSTS etc - whilst I'm generally fairly passionate about narrowing the gap between local development and your deployed setup, using HTTPS locally often results in hours of yak shaving.

There. I said it.

johnny_reilly··on Ask HN: Who is hiring? (June 2022)
Investec | https://www.investec.com/ | multiple full stack software engineering roles | Full time | UK

Want to be part of a place that straddles the space between engineering, fintechs and banking?

If you're into Azure, and think the web is the cure for tech that is old and is clanking...

Drop us a line!

Quite seriously we're building some pretty innovative stuff, inner sourcing like our lives depend upon it, and we want fun and curious people to join us and help.

Our tech stack is very Microsoft flavoured, so expect a lot of Azure, Bicep, .NET, TypeScript, React, Angular and many other things besides.

Contact john.reilly@investec.co.uk and let's chat! (I'm on leave right now but will respond as soon as I'm back)

johnny_reilly··on Top-500 NPM package maintainers now require 2FA
Years ago, when I was less security aware, I shared my password across different accounts. Not wise, but I know better now. One site that I used was hacked and my password compromised. The hacker was able to use that password to gain control of my npm account. Lesson learned.
johnny_reilly··on Top-500 NPM package maintainers now require 2FA
I think it was, yes!
johnny_reilly··on Top-500 NPM package maintainers now require 2FA
I'm a top 500 package maintainer apparently (I think for my work on ts-loader but I'm not certain).

This is great news. Some years ago an ethical hacker hacked me. I can still remember my shocked reaction upon being contacted by the hacker in question where I learned they now had the ability to publish malicious versions of npm packages on my behalf. This was long before supply chain attacks were well known and commonly discussed. A more innocent time.

The hacker in question gave me a simple piece of advice: turn 2FA on for your packages. Which I subsequently did. It's great that npm are pushing this. Yes it's a faff but the tradeoffs are net good. A little inconvenience is reasonable as compared to the alternative possibility.

I remain very grateful to the person who hacked me. If you should be out there: thanks - you did me a service

johnny_reilly··on WebP is such a goated format
At Christmas I ran an experiment to convert all my blog images to webp. It worked well and my savings were around 50%. I haven't made the leap to make the move for the simple reason that webp isn't considered a "native" format in the main. I lose things like image previews when I'm navigating around my file system. That kind of thing. I think I'm also made slightly nervous by seeing so few others seeming to use it. Still might make the leap but haven't yet

https://github.com/johnnyreilly/blog.johnnyreilly.com/pull/1...

johnny_reilly··on ‘Housing in ‘07 wasn’t a bubble” is a true statement that almost no one believes
> Just pity the countries that effectively don't have a Flatland, like Australia, the UK and NZ.

Ha! I see your "UK does not have flatlands" and I raise you Norfolk. V flat indeed

johnny_reilly··on Ask HN: Who is hiring? (April 2022)
Investec | https://www.investec.com/ | multiple full stack software engineering roles | Full time | UK

Want to be part of a place that straddles the space between engineering, fintechs and banking?

If you're into Azure, and think the web is the cure for tech that is old and is clanking...

Drop us a line!

Quite seriously we're building some pretty innovative stuff, inner sourcing like our lives depend upon it, and we want fun and curious people to join us and help.

Our tech stack is very Microsoft flavoured, so expect a lot of Azure, Bicep, .NET, TypeScript, React, Angular and many other things besides.

Contact john.reilly@investec.co.uk and let's chat! (I'm on leave right now but will respond as soon as I'm back)

johnny_reilly··on Ask HN: Who is hiring? (March 2022)
Investec | https://www.investec.com/ | multiple full stack software engineering roles | Full time | UK

Want to be part of a place that straddles the space between engineering, fintechs and banking?

If you're into Azure, and think the web is the cure for tech that is old and is clanking...

Drop us a line!

Quite seriously we're building some pretty innovative stuff, inner sourcing like our lives depend upon it, and we want fun and curious people to join us and help.

Our tech stack is very Microsoft flavoured, so expect a lot of Azure, Bicep, .NET, TypeScript, React, Angular and many other things besides.

Contact john.reilly@investec.co.uk and let's chat!

johnny_reilly··on Ask HN: Great Blogs by Programmers
Shameless plug: https://blog.johnnyreilly.com

I generally write about tech I'm using; a lot of TypeScript, a lot of Bicep, a lot of Azure at the moment. Essentially anything that intrigues me may get blogged

← PreviousPage 2 of 5Next →