<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go, branch main</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2026-04-12T21:27:12Z</updated>
<entry>
<title>text/diff: update comments on BytesRatio</title>
<updated>2026-04-12T21:27:12Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T20:28:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=5e5faa4b7c3c79ac7e233251c0a3ea5861b7a2f4'/>
<id>urn:sha1:5e5faa4b7c3c79ac7e233251c0a3ea5861b7a2f4</id>
<content type='text'>
Explain the second and third return values: match and maxlen.
</content>
</entry>
<entry>
<title>lib/uuid: return nil if ID is zero</title>
<updated>2026-04-12T21:27:12Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T20:12:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=a7e8750d5b83f390afec2333350a7293917dee12'/>
<id>urn:sha1:a7e8750d5b83f390afec2333350a7293917dee12</id>
<content type='text'>
Per RFC 9562 Section 5.9,

  A Nil UUID value can be useful to communicate the absence of any
  other UUID value in situations that otherwise require or use a
  128-bit UUID.
  A Nil UUID can express the concept "no such value here".
  Thus, it is reserved for such use as needed for
  implementation-specific situations.

In case of SQL, the Value method should return nil if ID is zero.
</content>
</entry>
<entry>
<title>lib/memfs: fix due to changes on [text/diff] package</title>
<updated>2026-04-12T15:36:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T14:57:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=beccc10bc2fd1b80134c7acd5e180b9d31c7fb4e'/>
<id>urn:sha1:beccc10bc2fd1b80134c7acd5e180b9d31c7fb4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>text/diff: skip writing Unified if no difference found</title>
<updated>2026-04-12T15:33:31Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T14:37:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=e1b84ebc2a06d28cc1890e0eee69632363bb961f'/>
<id>urn:sha1:e1b84ebc2a06d28cc1890e0eee69632363bb961f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/test: rewrite Assert to use [diff.Unified]</title>
<updated>2026-04-12T15:33:31Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T14:20:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=c1a33bead8068e02c34fafb09c5519d5e5c18706'/>
<id>urn:sha1:c1a33bead8068e02c34fafb09c5519d5e5c18706</id>
<content type='text'>
Using diff Unified improve the test output readability when two large
strings are not match.
</content>
</entry>
<entry>
<title>text/diff: rename LevelWords to LevelChunks</title>
<updated>2026-04-12T13:35:18Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T13:35:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=05849aa15abc0bcfc6a76fc86af2ef6590023ce2'/>
<id>urn:sha1:05849aa15abc0bcfc6a76fc86af2ef6590023ce2</id>
<content type='text'>
Using Words seems like misleading since we capture the characters
difference, not a word as in human language.
</content>
</entry>
<entry>
<title>text/diff: rewrite TestText to test Files with LevelWords</title>
<updated>2026-04-12T13:29:02Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T11:49:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=986ad438d702ebf7d2604def94eaf3e807be7cfd'/>
<id>urn:sha1:986ad438d702ebf7d2604def94eaf3e807be7cfd</id>
<content type='text'>
In the struct Data, we add new method WriteLineChunks to print the
LineChunks data into [io.Writer] w.
</content>
</entry>
<entry>
<title>text/diff: rename LineChange to LineChunk</title>
<updated>2026-04-12T12:52:06Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T12:52:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=c708197eceaee50d29801cff63124a146139e969'/>
<id>urn:sha1:c708197eceaee50d29801cff63124a146139e969</id>
<content type='text'>
In the struct Data we also rename field Changes to LineChunks.
</content>
</entry>
<entry>
<title>text/diff: remove LineChanges</title>
<updated>2026-04-12T12:08:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T12:07:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=26a02a8396684fcb58f4ba431ae5ae799eb35d68'/>
<id>urn:sha1:26a02a8396684fcb58f4ba431ae5ae799eb35d68</id>
<content type='text'>
Defining []T as new type does not help on readability only make it
confusing for future maintenances.
</content>
</entry>
<entry>
<title>text/diff: add example for Files, Lines, Text, and Unified</title>
<updated>2026-04-12T12:01:45Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-12T10:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=bfa79cf52d62418f622289cee7c1fe5807c73be6'/>
<id>urn:sha1:bfa79cf52d62418f622289cee7c1fe5807c73be6</id>
<content type='text'>
While at it,

- reorganize the order of functions alphabetically, following
  the order from doc.
- changes the [Line.String] to print text in double quoted to help human
  compare the changes for non-printable characters.
</content>
</entry>
</feed>
