Show newer

Apparently it’s a lot easier to make a Mac app support Dark Mode for Mojave if you don’t have hard-coded colours in it. And if you’re not forced into using hard-coded colours because of the way you draw your app window.

Looks like I’m spending a bit of time rewriting this app.

@markxa it means that if you feel like treating Mastodon as a chat environment today you can, and if tomorrow you want it to be more like Twitter, it can be.

Much of yesterday was spent bashing my head against not being able to find it's packages when invoked as a subprocess from another Python process. Every time it was run it would report an `ImportError` for the module `site`. We even set up the `PYTHONHOME` and `PYTHONPATH` through the env with no luck. Today we're hoping that using a `venv` gives us more luck.

@marramgrass I see that Webpack is already in the master branch for Phoenix, but no release of it yet. I figured I would try to understand what is happening with Brunch so that I could see about replacing it with Webpack myself (we use Webpack in work - though when I say “we”, remember that I’m a manager now 😉).

That said, I reckon that the problem is that we rely on too many abstractions for this whole thing. NPM, Brunch, Elm, Phoenix and so on. It all adds up to me not knowing what exactly is being done on my behalf.

I suspect there's a bit of spelunking in my future to figure out how the plumbing is actually hanging together. Then maybe I'll appreciate what is broken.

Show thread

I think I'm close to giving up on with . After trying the upgrade to 0.19 again, I can get the Elm code compiling but it seems like Brunch doesn't like compiling it.

I don't understand why this sort of thing has to be so opaque.

Well, that's my purchase done. A nice new Series 4 Apple Watch to replace my venerable Series 0.

Toyed with the idea of dropping down to the smaller size, but didn't want to sacrifice my existing straps/bands.

Show thread

So is anyone ordering new devices at 8am this morning? Going for a new watch myself, but passing up the phone this year. Just not enough changes to justify the money when I'm wanting a new laptop at some point.

What about you @stuartgibson?

@nivrig I want a new MacBook - work usually provides the necessary MBPs.

@d3z ah right - not using anything specific for that. It's going to be running inside a Phoenix app so I'll probably just use whatever they provide (probably Less)

@d3z when you say styling, do you mean auto-formatting of code in an editor?

Oh they know how to win me back. I’m a sucker for their environmental schtick.

Show thread

Doesn’t help that the stream keeps pausing this evening.

Show thread

I know I’m in a minority these days but I really just want new Macs. (And I don’t mean the iPhone Xs Max) The events are definitely a lot more filler than killer now.

My fears about the book being in bad shape were unfounded. PragProg don't have their usual forum up and running any more so they couldn't announce that there were updates, but seems like the author was on top of it, and released new chapters to the beta program last week. Now I can try 0.19 again!

Show thread
Show older
NI Tech

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!