Better HN
topnewbestaskshowjobs
Log inSign up

davestewart

112 karma · joined Jul 20, 2010 (16y ago) · 33 submissions

Web developer from London
Submissions

1.

Modular site architecture with Nuxt layers(davestewart.co.uk ↗)

2 points · by davestewart · 2y ago · discuss

comment 3y ago · link · parent

I bought a 3 legged camping stool which I thought would be portable and good for sitting against a tree, but unfortunately it gave me pins and needles after about 20 minutes.

https://www.decathlon.co.uk/p/camping-tripod/_/R-p-13373

Shame, as it was fine up until that point.

3.

How Does a QR Code Encode Data?(qr-code-generator.com ↗)

1 points · by davestewart · 3y ago · discuss

comment 3y ago · link · parent

Thanks!

comment 3y ago · link · parent

You're very welcome!

comment 3y ago · link · parent

Fantastic points!

comment 3y ago · link · parent

Sure! It's in Sketch, and the assets are here if you want to play:

https://github.com/davestewart/davestewart-site/tree/main/co...

comment 3y ago · link · parent

Fair point! Consider it fixed

comment 3y ago · link · parent

The article description is "A deep dive on why projects always overrun and a framework to improve future estimation"

This was a personal investigation into my faulty estimation skills, off the back of a small project which became a medium project, which became a large project with no shortage of surprises, overruns and pain.

The blog post was born from an honest and thorough postmortem where it turns out most of the work was simply not expected – and so wasn't accounted for.

I then went a stage further and attempted to outline more general reasons for this and to visualise how might look in terns of time and effort. It's not meant to be scientific, but is certainly an interesting way to look at things.

Anyway, I hope someone finds it useful.

10.

The work is never just “the work” (2022)(davestewart.co.uk ↗)

166 points · by davestewart · 3y ago · 75 comments

comment 3y ago · link · parent

I recently shed 10kg/1.5st following a three-month Keto + Intermittent Fasting routine.

Whilst the weight loss was great, even more exciting were the hidden benefits:

- increased discipline - better daily routine - getting my evenings back - going to bed and getting up earlier - regaining my love for cooking - understanding nutrition

If you're interested, here's everything I researched, learned and reflected on in one big blog post, including:

- how to plan for keto - what books to buy and websites to visit - how to plan, shop and cook 3 meals a day - spreadsheets with macros and meal plans - what to expect during the process - how to manage it around the rest of your life - how to enjoy it and what to do when you don't

Plenty more as well; hopefully it's useful if you've been considering one or both regimes.

Enjoy!

comment 3y ago · link · parent

Nuxt Content Assets is a Nuxt 3 module that lets you store assets next to your content then reference with relative paths (both in markup and frontmatter) then serve the lot with zero configuration.

This makes it simpler to manage content and assets as individual units, rather than having to juggle separate content and assets folders.

Live demo: https://stackblitz.com/github/davestewart/nuxt-content-asset...

comment 3y ago · link · parent

That's kind of you to comment! Thank you. FWIW it's a really fun exercise to log your own wins; I suggest you have a go!

14.

On mindsets, mind shifts and wins(davestewart.co.uk ↗)

66 points · by davestewart · 3y ago · 11 comments

comment 3y ago · link · parent

A 10-year (ish) retrospective of self-reflection and improvement

16.

On mindsets, mind shifts and wins(davestewart.co.uk ↗)

3 points · by davestewart · 3y ago · 1 comment

17.

Generate JavaScript/TS project path aliases via drag and drop(twitter.com ↗)

1 points · by davestewart · 6y ago · discuss

18.

Alias HQ - Easily reuse your tsconfig.json path aliases in your app's libraries(github.com ↗)

1 points · by davestewart · 6y ago · discuss

19.

Universal Vue stores you write once and use anywhere(github.com ↗)

1 points · by davestewart · 6y ago · discuss

comment 6y ago · link · parent

Try this one: https://got-paper.com

comment 6y ago · link · parent

Got Paper author here.

I didn't account for that!

I guess you could approximate with less wipes.

Do you use so little toilet paper you don't need a calculator anyway?

comment 8y ago · link · parent

Is there anything in particular you found sub-optimal?

comment 8y ago · link · parent

I've just released the 1.0 version of Vuex Pathify.

Pathify provides a declarative, state-based, path interface to your Vuex store.

What that means in English, is that you access store properties by path, and only by path. The plugin simplifies Vuex's API from 4 operations, 4 helpers, 3 accessor syntaxes and 3 or 4 naming formats to just 3 methods and a single path format.

Aside from the docs link above, there's a bunch of CodeSandbox demos so you can jump in and work with real code straight away:

https://codesandbox.io/s/github/davestewart/vuex-pathify/tre...

Cheers,

Dave

24.

Vuex Pathify – ridiculously simple Vuex setup and wiring(davestewart.github.io ↗)

2 points · by davestewart · 8y ago · 1 comment

25.

Laravel Sketchpad – an innovative, bolt-on development environment for Laravel 5(github.com ↗)

2 points · by davestewart · 9y ago · discuss

comment 16y ago · link · parent

Nice links!

Agreed about the amount of space used up when the blocks are closed, but once you've clicked a few to view the internal code, it's not such a big deal.

Perhaps someone else would like to take up the challenge of make the jQuery code navigable by treemap!?

12