profile
viewpoint
Matt Widmann mattwidmann Cupertino, CA

mattwidmann/metalsmith-copy 15

Metalsmith plugin that copies and renames files

mattwidmann/dot 4

Matt Widmann's `.` files

mattwidmann/Unique.safariextension 2

Safari extension for closing duplicate tabs

mattwidmann/option 1

simple option parsing in C

mattwidmann/Pinup.safariextension 1

Safari extension for Pinboard.in

mattwidmann/tst 1

embeddable C unit testing framework

mattwidmann/bare 0

C project skeleton

mattwidmann/Feverish.safariextension 0

Safari extension to add page to Fever RSS service

mattwidmann/lightning 0

iPhone web app for measuring distance from lightning strikes

mattwidmann/lua-toml 0

toml decoder/encoder for Lua

issue openedchrisman/chrisman.github.io

RSS feed escapes XML of each item

The RSS feed for the site doesn't work because the XML needed to delineate each item is escaped:

<?xml version="1.0" ?>
<rss version="2.0">
  <channel>
    <title>chrisman.github.io</title>
    <link>https://chrisman.github.io/</link>
    <description>chrisman blog</description>

    &lt;item&gt;
&lt;title&gt;
On Bookmarks and Note Taking
&lt;/title&gt;
&lt;p&gt;&lt;link&gt;https://chrisman.github.io/11.html&lt;/link&gt; &lt;description&gt;&lt;/p&gt;
[...]

I tried to fix this by removing the sed commands that escape the angle brackets and bracket the HTML content of each item with <[CDATA[, but the resulting M4 file isn't formatted by pandoc correctly, either. The preamble for each item seems to mess up the parser, causing it to leave the first few paragraphs to be left as Markdown.

The changes are probably going to be more involved -- maybe the sed command can be made more intelligent (might have to switch to awk...) to only do the conversion between <description> tags that are on their own line?

created time in 5 days

issue commentkikito/md5.lua

Use bitwise operators for Lua 5.4

Those are valid, thoughtful points.

Here's another proposal: MD5 hashes are fixed and this particular implementation hasn't seen an update in 2 years. How about, going forward, new versions of md5.lua require 5.3 or later and this project can just use the bitwise operators directly? And prior versions can use the current version of the library?

mattwidmann

comment created time in 5 days

issue commentkikito/md5.lua

Use bitwise operators for Lua 5.4

Would something like this work?

local bit_53 = loadstring[[
return {
  bor = function (x, y) return x | y end,
  band = function (x, y) return x & y end,
}
]]
if bit_53 then
  bit = bit_53()
end
mattwidmann

comment created time in 14 days

issue comment9fans/plan9port

acme backspace/ctrl-h delete the selection and one more char before selection if selection exists

macOS text handling removes the character preceding a selection on backspace, but only if it's a space character. Maybe that would be a good approach for Acme to take. This behavior has always confused me, too.

cjacker

comment created time in 14 days

issue openedkikito/md5.lua

Use bitwise operators for Lua 5.4

The bit manipulation library has been removed in Lua 5.4, so md5.lua falls back to its custom bit manipulation functions, using tables. It would be better if md5.lua knew how to use the bitwise operators that were added in Lua 5.3.

created time in 14 days

PR closed mattwidmann/metalsmith-copy

Bump lodash from 4.17.10 to 4.17.13 dependencies

Bumps lodash from 4.17.10 to 4.17.13. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/e37182845f16715a0d1c391c8662d83c55609cee"><code>e371828</code></a> Bump to v4.17.13.</li> <li><a href="https://github.com/lodash/lodash/commit/357e899e685872b4af5403ecc4b2a928f961ae63"><code>357e899</code></a> Rebuild lodash and docs.</li> <li><a href="https://github.com/lodash/lodash/commit/fd9a062d57646450b61f74029315abd4cc834b08"><code>fd9a062</code></a> Bump to v4.17.12.</li> <li><a href="https://github.com/lodash/lodash/commit/e77d68121ff00ba86b53eed5893d35adfe94c9dd"><code>e77d681</code></a> Rebuild lodash and docs.</li> <li><a href="https://github.com/lodash/lodash/commit/629d1865793182cd967196716f4beff223aa4a91"><code>629d186</code></a> Update OpenJS references.</li> <li><a href="https://github.com/lodash/lodash/commit/2406eac542b2a1282be8d812a6d8a45433ade80a"><code>2406eac</code></a> Fix minified build.</li> <li><a href="https://github.com/lodash/lodash/commit/17a34bc5854bb982ef333bfe7ae469f4dfcee0ec"><code>17a34bc</code></a> Fix test bootstrap for core build.</li> <li><a href="https://github.com/lodash/lodash/commit/53838a38f8e4f6204ef2f837fecc4e07d09afe77"><code>53838a3</code></a> Fix tests in older browsers.</li> <li><a href="https://github.com/lodash/lodash/commit/29e258497b5ff45494a85cfa58743517aaeeff52"><code>29e2584</code></a> Fix style:test lint nits.</li> <li><a href="https://github.com/lodash/lodash/commit/8f4d3eb018884d96eb57fba3f724bfff494df724"><code>8f4d3eb</code></a> Update deps.</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.10...4.17.13">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+4 -4

1 comment

1 changed file

dependabot[bot]

pr closed time in a month

pull request commentmattwidmann/metalsmith-copy

Bump lodash from 4.17.10 to 4.17.13

I'd rather put all of the security updates into one PR.

dependabot[bot]

comment created time in a month

startedwitheve/eve-native

started time in 2 months

startedmjibson/acre

started time in 2 months

more