Difference between revisions of "Blog: 2023-09-17"

From razwiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 76: Line 76:
   
 
Namespaces are one honking great idea -- let's do more of those!
 
Namespaces are one honking great idea -- let's do more of those!
  +
  +
== Bill joy on implementing protocols ==
  +
  +
As Gage tells it, "BBN had a big contract to implement TCP/IP, but their stuff didn't work, and Joy's grad student stuff worked. So they had this big meeting and this grad student in a T-shirt shows up, and they said, 'How did you do this?' And Bill said, 'It's very simple -- you read the protocol and write the code.'"
  +
  +
Cool https://indieweb.org/Homebrew_Website_Club

Latest revision as of 22:11, 17 September 2023

Great quotes in code

Magit[edit | edit source]

> Magit is an interface to the version control system Git, implemented as an Emacs package. Magit aspires to be a complete Git porcelain. While we cannot (yet) claim that Magit wraps and improves upon each and every Git command, it is complete enough to allow even experienced Git users to perform almost all of their daily version control tasks directly from within Emacs. While many fine Git clients exist, only Magit and Git itself deserve to be called porcelains.

Poetry[edit | edit source]

I built Poetry because I wanted a single tool to manage my Python projects from start to finish. I wanted something reliable and intuitive that the community could use and enjoy.

Sébastien Eustace

Ballad of asdf[edit | edit source]

Once upon a time there was a programming language

There were many versions of it

So people wrote a version manager for it

To switch between versions for projects

Different, old, new.

Then there came more programming languages

So there came more version managers

And many commands for them

I installed a lot of them I learnt a lot of commands

Then I said, just one more version manager Which I will write instead

So, there came another version manager asdf version manager - https://github.com/HashNuke/asdf

A version manager so extendable

for which anyone can create a plugin

To support their favourite language

No more installing more version managers

Or learning more commands

Zen of Python, by Tim Peters[edit | edit source]

Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren't special enough to break the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse the temptation to guess.

There should be one-- and preferably only one --obvious way to do it.

Although that way may not be obvious at first unless you're Dutch.

Now is better than never.

Although never is often better than *right* now.

If the implementation is hard to explain, it's a bad idea.

If the implementation is easy to explain, it may be a good idea.

Namespaces are one honking great idea -- let's do more of those!

Bill joy on implementing protocols[edit | edit source]

As Gage tells it, "BBN had a big contract to implement TCP/IP, but their stuff didn't work, and Joy's grad student stuff worked. So they had this big meeting and this grad student in a T-shirt shows up, and they said, 'How did you do this?' And Bill said, 'It's very simple -- you read the protocol and write the code.'"

Cool https://indieweb.org/Homebrew_Website_Club