<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go/lib/mining/classifier, branch dev</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2026-04-04T20:52:47Z</updated>
<entry>
<title>all: apply go fix</title>
<updated>2026-04-04T20:52:47Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-04T20:50:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=778fd16011ec1d39c41b62372dc65f045183266e'/>
<id>urn:sha1:778fd16011ec1d39c41b62372dc65f045183266e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: convert license and copyright to use SPDX identifiers</title>
<updated>2026-01-15T10:26:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-15T10:14:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=7db8c302e1396eda40cd6a1e57f58ed791448556'/>
<id>urn:sha1:7db8c302e1396eda40cd6a1e57f58ed791448556</id>
<content type='text'>
With help of spdxconv tool [1], we able to bulk update all files license
and copyright format to comply with SPDX formats.

[1] https://kilabit.info/project/spdxconv/
</content>
</entry>
<entry>
<title>all: use for-range with numeric</title>
<updated>2025-01-22T20:41:10Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-22T20:40:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=2a0694d2fa577574b505c4635eb8a824eaf88ddc'/>
<id>urn:sha1:2a0694d2fa577574b505c4635eb8a824eaf88ddc</id>
<content type='text'>
Go 1.22 now support for-range on numeric value.
</content>
</entry>
<entry>
<title>all: replace "interface{}" with "any"</title>
<updated>2025-01-22T18:52:09Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-22T18:52:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=605d847b236dde031a2e387e74298d66a27b5e0a'/>
<id>urn:sha1:605d847b236dde031a2e387e74298d66a27b5e0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: merge package "lib/floats64" into "slices"</title>
<updated>2024-12-28T17:06:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-12-28T16:27:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=ec3fac32072a396a02b699065cb091ab292b9381'/>
<id>urn:sha1:ec3fac32072a396a02b699065cb091ab292b9381</id>
<content type='text'>
Now that Go has type parameter, we can use it to use the same function
that accept different types for working with slice of float64.
</content>
</entry>
<entry>
<title>all: merge package "lib/ints" and "lib/ints64" into "slices"</title>
<updated>2024-12-28T17:06:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-12-28T15:14:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=7a57091317cd86b9c88f4c6b5127c76bee0f6ede'/>
<id>urn:sha1:7a57091317cd86b9c88f4c6b5127c76bee0f6ede</id>
<content type='text'>
Now that Go has type parameter, we can use it to use the same function
that accept different types for working with slice of int, int64.
</content>
</entry>
<entry>
<title>all: comply with linter recommendations #2</title>
<updated>2024-03-05T07:53:12Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-02T21:59:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=2fa7605727e90ca323b7b24168632e485d74c583'/>
<id>urn:sha1:2fa7605727e90ca323b7b24168632e485d74c583</id>
<content type='text'>
HTTP request now implicitly create request with context.

Any false positive related to not closing HTTP response body has been
annotated with "nolint:bodyclose".

In the example code, use consistent "// Output:" comment format, by
prefixing with single space.
Any comment on code now also prefixing with single space.

An error returned without variables now use [errors.New] instead of
[fmt.Errorf].
Any error returned using [fmt.Errorf] now wrapped using "%w" instead of
"%s".
Also, replace error checking using [errors.Is] or [errors.As], instead
of using equal/not-equal operator.

Any statement like "x = x OP y" now replaced with "x OP= y".
Also, swap statement is simplified using "x, y = y, x".
Any switch statement with single case now replaced with if-condition.

Any call to defer on function or program that call [os.Exit], now
replaced by calling the deferred function directly.

Any if-else condition now replaced with switch statement, if possible.
</content>
</entry>
<entry>
<title>all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"</title>
<updated>2024-03-02T08:59:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-01T20:07:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=901c9803e6f93e0d5ee282f4061309022c46f490'/>
<id>urn:sha1:901c9803e6f93e0d5ee282f4061309022c46f490</id>
<content type='text'>
There are several reasons that why we move from github.com.

First, related to the name of package.
We accidentally name the package with "share" a common word in English
that does not reflect the content of repository.
By moving to other repository, we can rename it to better and unique
name, in this "pakakeh.go".
Pakakeh is Minang word for tools, and ".go" suffix indicate that the
repository related to Go programming language.

Second, supporting open source.
The new repository is hosted under sourcehut.org, the founder is known
to support open source, and all their services are licensed under AGPL,
unlike GitHub that are closed sources.

Third, regarding GitHub CoPilot.
The GitHub Terms of Service [1], allow any public content that are hosted
there granted them to parse the content.
On one side, GitHub helps and flourish the open source, but on another
side have an issues regarding scraping the copyleft license [2].

[1]: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#4-license-grant-to-us
[2]: https://githubcopilotinvestigation.com
</content>
</entry>
<entry>
<title>all: fix the warnings from linter revive</title>
<updated>2024-01-23T19:24:58Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-23T19:24:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=e0bb07c340e5d0821840b4f09655dc9653dc3105'/>
<id>urn:sha1:e0bb07c340e5d0821840b4f09655dc9653dc3105</id>
<content type='text'>
This rename all variable "Ids" into "ListID".
</content>
</entry>
<entry>
<title>all: fix variable shadowing as reported by shadow tool</title>
<updated>2023-09-13T17:59:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-13T17:59:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=b89afa24feaee375e914a69b23c2036733991f3e'/>
<id>urn:sha1:b89afa24feaee375e914a69b23c2036733991f3e</id>
<content type='text'>
The shadow tool [1] report a variable where its name is declared twice
or more, in different scope.

[1] https://pkg.go.dev/golang.org/x/tools@v0.13.0/go/analysis/passes/shadow
</content>
</entry>
</feed>
