miniblog.

Wow, gcc's codebase is amazingly lispy in places: prefix syntax with parentheses, foo_p for boolean functions. https://github.com/gcc-mirror/gcc/blob/master/gcc/match.pd
It's natural to worry about the practicalities of new designs. There's a wonderful discussion in https://medium.learningbyshipping.com/nikon-versus-canon-a-story-of-technology-change-45777098038c about camera owners worrying about *batteries* being unreliable. Times have changed!
Good article on RSS on Techcrunch: without helping users with curation, or giving publishers metrics on what is read, it will continue to be supplanted by competitors: https://techcrunch.com/2018/04/07/rss-is-undead/
Git 2.17 has some really nice diff tweaks: colouring lines that have moved without modification, and even showing context by function rather than just N lines! https://blog.github.com/2018-04-05-git-217-released/
Fun post on building IDE features into Excel: https://blog.querystorm.com/index.php/2018/04/04/whynow/
Paxedit is a nifty Emacs project that goes beyond paredit: https://github.com/promethial/paxedit/blob/master/readme.org It understands e.g. (setf x 1 y 2), where you want to transpose pairs of expressions. It's also smart enough to allow you to operate on the sexp containing point, without you needing to move!
The death of Dennard scaling, Moore's law, and the future of ISA design and performance: https://www.eejournal.com/article/fifty-or-sixty-years-of-processor-developmentfor-this/ (I loved Patterson book and he's the definitive authority here!)
Today I'm playing with Pollen, a 'programmable publishing system'. It lets you intermingle prose and code definitions. https://docs.racket-lang.org/pollen/Backstory.html Racket promotes defining new languages, so it's a great fit there. The syntax feels lighter than TeX too.
Seen a GitHub project that you want to send a quick patch to? I'm really digging github-clone.el, to quickly clone and fork a project without leaving the comfort of Emacs! https://github.com/dgtized/github-clone.el
Until 2015, LLVM just unconditionally put the function prologue at the beginning of each function, even when it wasn't needed! A friendly introduction to the shrink-wrap pass here: https://reviews.llvm.org/D9210
Every browser has its own distinct URI schema for the "Reader View"! https://www.ctrl.blog/entry/browser-reading-view-uri
I love the idea of mutation testing, but changing my code in arbitrary ways, then running it, is scary. Many PLs don't have a good sandbox available.
Microsoft rather enthusiastically reminds you about its browser when you search for alternatives! Seems odd for a product that produces no revenue for them.
Photo Photo Photo
@DPD_UK I have a parcel that was supposed to be signed for. I wasn't in, and I don't know anyone called Garden. The parcel is not present. Can you advise?
Photo
Cute project translating all the keywords of JS, to help programmers where English isn't their first language: https://fhtr.org/js-i18n/ (looks like a proof of concept though)
This is a sign of a great text editor community: when you see an idea elsewhere, you explore it and see if you can achieve the same advantages! https://www.reddit.com/r/emacs/comments/88b51s/putting_the_i_back_in_ide_jane_sts_emacsbased/dwkwcg9/ (Tarsius has lots of valuable opinions on VCS integration with editors, of course.)
Rather than opting-in to git blame, it would be nice if IDEs showed metadata on the current function by default. It'd be really valuable to know "this function is frequently modified" or "this function has had N distinct authors". It would help your intuitions about the code.
Sometimes it's a real pain that JSON doesn't support comments. One positive consequence is that 'npm install' is always able to programmatically add new entries. Cargo's TOML is much harder to edit in a way that preserves comments, though solutions now exist.
I spent a while implementing a pretty-printer in elisp, only to realise that ielm already has a fine pretty-printer. Turns out that pp-to-string is built-in to Emacs! (I missed this initially because of the short name: I only found cl-prettyprint.)
A bit of humour in sample code makes a great first impression on your new users! This example is from
Photo
Showing 501-520 of 657 posts