git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add a birdview-on-the-source-code section to the user manual

From
Karl Hasselström <kha@treskal.com>
Date
May 9, 2007, 10:43 UTC
Message-ID
<20070509104332.GA14214@diana.vm.bytemark.co.uk>
In-Reply-To
<Pine.LNX.4.64.0705091137190.4167@racer.site>
On 2007-05-09 11:38:34 +0200, Johannes Schindelin wrote:
Show 14 quoted lines
> On Wed, 9 May 2007, Daniel Barkalow wrote:
>
> > It's kind of important to distinguish between the hex
> > representation and the octet representation, because your code
> > will not work at all if you use the wrong one. And "unsigned char
> > *" or "unsigned char[20]" is always the octets; the hex is always
> > "char *". Primarily mentioning the one that is more intuitive but
> > less frequently used doesn't help with understanding the actual
> > code.
>
> That's a really good idea, to point out that "unsigned char *"
> refers to octets, while "char *" refers to the ASCII representation.
> I will add this, together with a simple example (the initial
> commit).

That'll address my complaint nicely, I believe. It was the confusion between these two formats that I was trying to get at.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Johannes SchindelinNext: J. Bruce Fields
Message 10 of 33 in “Add a birdview-on-the-source-code section to the user manual”
  1. Add a birdview-on-the-source-code section to the user manualJohannes Schindelin, May 8, 2007
  2. Karl HasselströmMay 8, 2007
  3. Johannes SchindelinMay 8, 2007
  4. Karl HasselströmMay 8, 2007
  5. Johannes SchindelinMay 8, 2007
  6. Karl HasselströmMay 8, 2007
  7. Daniel BarkalowMay 9, 2007
  8. Karl HasselströmMay 9, 2007
  9. Johannes SchindelinMay 9, 2007
  10. Karl HasselströmMay 9, 2007
  11. J. Bruce FieldsMay 9, 2007
  12. Junio C HamanoMay 9, 2007
  13. Junio C HamanoMay 9, 2007
  14. Johannes SchindelinMay 9, 2007
  15. J. Bruce FieldsMay 9, 2007
  16. Karl HasselströmMay 9, 2007
  17. Johannes SchindelinMay 9, 2007
  18. Johannes SchindelinMay 9, 2007
  19. Petr BaudisMay 9, 2007
  20. Johannes SchindelinMay 9, 2007
  21. Daniel BarkalowMay 9, 2007
  22. Johannes SchindelinMay 9, 2007
  23. J. Bruce FieldsMay 9, 2007
  24. Johannes SchindelinMay 9, 2007
  25. J. Bruce FieldsMay 9, 2007
  26. Daniel BarkalowMay 9, 2007
  27. Johannes SchindelinMay 9, 2007
  28. Karl HasselströmMay 10, 2007
  29. J. Bruce FieldsMay 9, 2007
  30. Junio C HamanoMay 10, 2007
  31. Add a birdview-on-the-source-code section to the user manualJohannes Schindelin, May 10, 2007
  32. Junio C HamanoMay 10, 2007
  33. Karl HasselströmMay 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.