John McDole's Avatar

John McDole

@codefu.mcdole.org

Flutter, Dart, mobile, web, hardware tinkerer, dad, cub master. Former Stadia UI TL, Google Fiber TV.

281 Followers  |  123 Following  |  156 Posts  |  Joined: 12.11.2024  |  2.2083

Latest posts by codefu.mcdole.org on Bluesky

Post image

Cat: Laundry Day

02.07.2025 14:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Barf. You can have fancy sidewalks and a decent roadway. My 'hood has power poles that cut off the usable sidewalk and it's aggravating as hell, but at least we have something to walk on.

20.06.2025 23:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Sorry, *anti-sidewalk*?!

20.06.2025 17:54 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This year's unavoidable DLC - an ear that feels like it has water in it and ringing. Fun!

22.05.2025 13:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'll try to land this first and then experiment with jaspr

17.05.2025 11:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Don't thank me yet - I need to land this internally and that might take a smidge of work.

17.05.2025 05:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
flutter + dart shelf + gcp buildpacks + docker
YouTube video by John McDole flutter + dart shelf + gcp buildpacks + docker

#Flutter Web hosted app in a #Dart Shelf server using gcp buildpacks!

youtu.be/ZUnCg_trdAw

@mdh2.bsky.social / @kevmoo.com

17.05.2025 04:31 β€” πŸ‘ 9    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0

You want the grpc protos for your service to automatically build some REST routes on say "shelf"?

16.05.2025 22:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

protofu is fast because it doesn't use anything else and self-compiles the first time its run. I know there is some rough edges around maybe updating the version number(?) but I've not investigated.

16.05.2025 22:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

IF (and I'm talking speculatively) you were to have this; what would you expect the folder structure to be?

I'm thinking everything goes in pubspec.yaml, use workspaces, and maybe have an extra line for build: some script (in case you want to use your friendly neighborhood protofu lib)

16.05.2025 21:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
buildpacks/builders/firebase/apphosting at main Β· GoogleCloudPlatform/buildpacks Builders and buildpacks designed to run on Google Cloud's container platforms - GoogleCloudPlatform/buildpacks

Yeah, engineers are not known to naming things well. Doing buildpacks with gcp first is far easier at the moment. If you look here, you'll see its a different beast:

github.com/GoogleCloudP...

16.05.2025 21:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This is my GCP cooking. Having to learn buildpacks, go, bazelisk, getting it to run on a M3 mac, _and_ keep my dayjob.

16.05.2025 21:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

IAMAPM. To be clear, there is no official plans, designs, or anything else.

I'm cooking in the buildpacks for GCP because I'm stubborn and have been known to run Flutter and Dart in interesting places (google fiber set top boxes, TVs with teeny-tiny micro browsers).

16.05.2025 21:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Two-Student Team Stuns the Competition at U.S. Constitution Contest Matthew Meyers and Colin Williams of Oregon won first place at the national U.S. Constitution Team competition. Then came the recount that threatened to unravel their achievement.

I didn't know there was a Constitution competition.

Feels like a movie script having a two-kid team win it!

www.nytimes.com/2025/04/16/u...

18.04.2025 14:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Look, if you spelled it the same way in all the places, the compiler says your good :)

16.04.2025 13:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Finished The Final Architecture series, in need of a palate cleanser - so Dungeon Crawler Carl it is...

#books

15.04.2025 17:50 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Common JST Connector Types – Matt's Tech Pages β€œJST Connector” is either shorthand for a connector manufacturer called Japan Solderless Terminal, or a vernacular term for a range of different type of wire to board connectors, which either are, or resemble designs from Japan Solderless Terminal.

Interesting find while repairing some battery connectors on a headset. There's a ton of connectors out there, and finding images of each (along with some calipers for validation) was hard, till I came across this blog.

www.mattmillman.com/info/crimpco...

06.04.2025 19:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Which flame issue was this?

02.04.2025 20:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Gemini in DartPad integration landed! Great work from @jryanio.bsky.social, @csells.bsky.social, and others!

27.03.2025 21:59 β€” πŸ‘ 18    πŸ” 8    πŸ’¬ 1    πŸ“Œ 0
Preview
WATCH LIVE: NPR, PBS heads answer lawmakers' allegations of bias The CEOs of the largest U.S. public broadcasting networks are appearing before a House subcommittee chaired by Republican Rep. Marjorie Taylor Greene.

Free speech isn't only speech you agree with. Looks like it's back to the good old days of McCarthyism.

> The hearing, entitled "Anti-American Airwaves: Holding the Heads of NPR and PBS Accountable," was called by Greene

www.npr.org/2025/03/26/n...

26.03.2025 14:26 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Which ones are these? I've got some viture pros and I love them

21.03.2025 18:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Congratulations! Now register to vote :)

20.03.2025 15:12 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Your Outie comes to a complete stop at the stop sign before proceeding.

19.03.2025 02:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Try out hot reload on the web with the latest Flutter beta

Using Flutter on the web? Wish you had hot reload? You can try it out (in beta) today! Details here: www.reddit.com/r/FlutterDev...

18.03.2025 19:26 β€” πŸ‘ 60    πŸ” 19    πŸ’¬ 4    πŸ“Œ 5

Vive la cafΓ©ine

17.03.2025 14:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Version 0.0.3 appears to work :)

```
lcov_format --lcov coverage/lcov.info --out coverage -f html
```

pub.dev/packages/lco...

17.03.2025 03:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Just use the `find` from the script uri; seems to work local, remote, and snapshotted.

17.03.2025 03:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

And it's borked / null once it compiles to a snapshot. Nice.

17.03.2025 03:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Answer: yes... when globally activated, its non-null:

Package: file:///home/john/.pub-cache/global_packages/lcov_format/.dart_tool/package_config.json

and there's a package to use it: pub.dev/packages/pac...

17.03.2025 02:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Looks like a `package_config.json` might exist... maybe from Platform.packageConfig (the docs don't look right)

17.03.2025 02:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@codefu.mcdole.org is following 20 prominent accounts