Put the knife down and take a green herb, dude.
One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com
Using 89% of the same design the blog had in 2001.
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.
MarkUpDown is the best Markdown editor for professionals on Windows 10.
It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.
Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor.
Stop looking. MarkUpDown is the app you're looking for.
|Tuesday, August 15, 2017|
Ran into this question about diffing blocks of text on StackOverflow yesterday after KDiff3 and WinMerge both went crazy trying to diff a file where I'd simply mostly just grouped and, therefore, rearranged lots of methods. Seems like an easy issue, but as that question points out...
That really is painful, when it should be a reasonably easy process.
Results are pretty good, both for the simplest case from the SO question, to real-world code.
(The green highlight is for grouping a block, but by default it ignores/doesn't highlight any moved blocks, which is nice when you're diffing code like I mentioned before...)
Now I have to resist the desire to put this into a full-fledged UWP app whose goal is to be a diff tool. There are smarter things to write on my own time. Please realize this, self.
posted by ruffin at 8/15/2017 10:02:00 AM
|Sunday, July 30, 2017|
There's a reason John Gruber's initial spec for Markdown didn't approach the level of complexity the CommonMark people wanted: You end up with exceptionally wordy jive like what we find for list items.
Phew. That was fun, wasn't it?
I was in the CommonMark spec today for two reasons. First, I fairly recently (well, months ago) swapped my main Markdown engine to the .NET CommonMark renderer (don't worry; table support and other features are done outside of CommonMark). Second, I wanted to know why only two of the following were creating nested lists, though my old renderer would create nested lists from all three.
Curious? You've probably guessed, but here's the rendered HTML, first as HTML, then the HTML source.
See what happened there? If your nested list starts with a 2., as in the first example, though that'd be a bulleted list without the nest...
... it's not when nested.
Note that CommonMark is paying attention to the starting number of your ordered list. See how the list, above, starts with 2., though the next bullet is a 3., even though I used 4. in the raw Markdown?
Why is the nesting ignored in the first example? The spec tells us:
Which means MarkUpDown needs to capture when someone has a bullet from a numbered list, hits return, gets the next number automatically inserted...
... which leaves them with...
... which doesn't render as a nested list. What they likely want is...
I'd hoped to get in automatic renumbering of ordered lists anyhow, but we'll start with this simpler change first... if it looks nested, we're going to reset the number to 1.
I realize this is a pretty boring post if you're not a Markdown aficionado. I've got some more interesting drafts around here somewhars. I'll try to find time to post them, but this one bugged me enough to write up.
posted by ruffin at 7/30/2017 10:36:00 PM
|Friday, July 14, 2017|
From AppleInsider, reporting on a Wall Street Journal article:
Anyone who is surprised by this, raise their hand.
The more interesting question is why Apple cares. I understand they've successfully made the transistion from selling DRM'd media files to selling streaming subscriptions with music. But what's different between music and video?
Apple doesn't make music. They sell subscriptions to listen to everyone's music, not music they produce. I realize they tried to become a cable provider and didn't quite make it, but this Netflix approach they're trying with Planet of the Apps? I'm not a huge fan. Signing independent movies might be a smart move, but why even bother with video subscriptions? What does Apple really want to look like in 15 years?
Apple doesn't tend to have its finger on the pulse of what's popular. I think back to the proverbially skeuomorphic iOSes before 7. And Ping. There's nothing about Apple that says they're great at following the wave. They were fortunate enough to get in front of the wave thrice, but they've never caught one.
I wish they'd stop trying.
posted by ruffin at 7/14/2017 11:18:00 PM
|Friday, May 05, 2017|
There are simple solutions to the shifting , each with one major flaw:
Interpreted incorrectly, transpilation gives the impression that you're developing for an environment like a server: a controlled, homogenous system. You're not. It's not node. And I've yet to see a practical advantage beyond very specific, situated uses -- JSX compilation for React, for example -- provided transpilation. It's all still very familiar zeroes and ones.
posted by ruffin at 5/05/2017 09:48:00 AM
|Saturday, March 25, 2017|
I tweeted about a parent I overhead a few weeks back with the gall to tell their give-or-take six year-old, "When I'm on my phone, you DO NOT do that!" We are more distracted as a society, but I enjoy the way this NY Times piece reminds us it's not like this is a new thing. I used to always carry around a paperback until, well, until I could carry the books around even more conveniently on my phone.
What's more important to realize, perhaps, is just how many "distractions" of the 80s (and before) aren't considered distractions today. Talking to someone else, regarding the birds flying, checking out cars on the street... the things we used to do to give our brains a break before would often be considered contemplative and "authentic" engagments today.
Why is that? I think there's some small part of the distinction that's linked to feeling "productive". Phone distractions are measurable. Your digital distractions have metrics. Children, birds, conversations are all unique experiences. You can't, much as Instagram & Facebook tries, share breakfast with others with your network online, not really, not, to borrow a term, losslessly. Distractions that aren't swipeable are in a newly reconfigured set of experiences of unmeasurables.
We no longer value the unmeasurable enough. Before, the unmeasurables were valid pursuits on their own merits. We only had to justify their value to ourselves. Now, unable to "share" them fully as digital copies (and have their worth rubber-stamped by our virtual selves), we undervalue them -- while at the same time lamenting their loss as we search for a new term that could reinvigorate their value in a society no longer predisposed to appreciate them.
I should go to sleep. ;^)
posted by ruffin at 3/25/2017 01:52:00 AM
|Friday, March 24, 2017|
You might already know that Joel Spolsky's comment, "Old code doesn't rust", is one of my favorites.
But did you realize what a great time capsule that post is with Joel on Software's template redesign?
Wow. What a difference sixteen years makes. Why couldn't young Joel find good food? The horrors of bootstrapping, I guess.
I cringe to think of doing a similar comparison for myself. ;^)
posted by ruffin at 3/24/2017 09:19:00 AM
|Tuesday, March 21, 2017|
I've been working with some stuff that's heavily React and mobx-i-fied, and constantly get dumped into those third party libraries. With Blackboxing, I can put those and any other third-party libraries into the black box, and will automatically jump over all of that code.
It's beautiful to skip over all third-party libraries. I kid you not. Beautiful.
What I hate is that this stuff seems to have been around in at least pre-release form since 2014!
posted by ruffin at 3/21/2017 01:04:00 PM
All posts can be accessed here:
Just the last year o' posts: