Better HN
topnewbestaskshowjobs
Log inSign up

comment500

65 karma · joined Jun 22, 2022 (4y ago) · 7 submissions

Submissions

comment 4y ago · link · parent

Maybe the universal solution to this is for the Unicode Consortium to dedicate a set of codepoints for encoding SVG or something similar.

Then the system text renderer can be responsible for drawing these diagrams, and they can be embedded anywhere in text.

It would also have the side benefit of letting people draw their own emojis, rather than waiting some time from months to never to have their suggestions included in the next Unicode release.

comment 4y ago · link · parent

ChakraCore, the former JavaScript engine of Microsoft's Edge browser, has in its repo a decent high-level description of how its JIT compilation is integrated: https://github.com/chakra-core/ChakraCore/wiki/Architecture-...

I found the source code to be quite readable too, last time I delved into it. Also its command line tool ("ch"), when compiled in debug mode, has loads of options available to show what it's doing internally when it executes a JavaScript program.

comment 4y ago · link · parent

Agreed, as an atheist it all sounds fine to me. I can respect their code of ethics without feeling the need to adopt it myself.

I'm grateful to the author of SQLite for releasing this excellent piece of software into the public domain and continuing to maintain it for the benefit of all. If providing this good work to the world was driven by his Christian principles, then really, who are any of us to criticise. Indeed, we should all be thankful.

comment 4y ago · link · parent

Another useful thing if you need to backdate commits for whatever reason are the GIT_AUTHOR_DATE and the GIT_COMMITTER_DATE environment variables, upon executing git-commit they'll override these fields in the commit to whatever date, time and timezone you specify. I use this sometimes when I'm making some previously private work public, and am redoing the commit history to make more logical sense to others who may read it.

Also useful are git-fast-export and git-fast-import, if you really need to delve into the inner details of a commit. For example, I had three separate but related git repos that I needed to merge, so I created a new repo with separate branches to hold each repo, merged everything manually, committed that to a new branch, then used export/import to edit the commit to have the tips of the three other branches as its ancestors. Maybe there's a better way to do this with other git commands but I found it easier just to delve in and edit the commit data manually.

comment 4y ago · link · parent

Interesting feature, looks like it may be an alternative to writing big long tweet threads all in one go with a "@threadreaderapp unroll" tweet at the end.

The main difference with this seems to be, you can't link to or highlight individual sections within the Note, if quote tweeting or replying. Perhaps this is a good thing, to prevent parts of what's written being too easily taken out of context.

One downside may be that the entire Note would be targeted for terms of service violations, should they occur. At present, if a tweet in a multi-tweet thread breaks the rules, it can be excised without affecting the rest of what's written.

comment 4y ago · link · parent

One caveat here is that many of the vulns used in the wild are in V8 and related to JIT code generation. Unfortunately rewriting in Rust can't really help with this.