<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go, branch v0.44.0</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=v0.44.0</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=v0.44.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2023-03-02T10:36:25Z</updated>
<entry>
<title>Release share v0.44.0 (2022-03-02)</title>
<updated>2023-03-02T10:36:25Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-03-02T10:36:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=4efba34f57ebc90b5a216ad9b104e25e7e812274'/>
<id>urn:sha1:4efba34f57ebc90b5a216ad9b104e25e7e812274</id>
<content type='text'>
=== New features

* lib/time: implement Scheduler
* lib/time: add new type Clock

=== Bug fixes

* lib/clise: fix potential data race between Push and Slice
* lib/memfs: minimize data race on DirWatcher
* go.mod: update all dependencies

=== Chores

* all: set the test timeout to 1m
* all: access embedded field or methods using the type name
* lib/email: add an example for Filter method on Header
* cmd: temporarily hide unused commands
* AUR: add go-test-coverhtml.sh and go-bench.sh into package
* lib/websocket: replace math/rand.Read with crypto/rand.Read
</content>
</entry>
<entry>
<title>all: run go mod tidy</title>
<updated>2023-02-28T14:28:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-28T14:28:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=1dc2b3fae81ed02bd5bcba4a3fea3a2a9b4d4f4e'/>
<id>urn:sha1:1dc2b3fae81ed02bd5bcba4a3fea3a2a9b4d4f4e</id>
<content type='text'>
This clean up the other dependencies that we still recorded in go.sum.
</content>
</entry>
<entry>
<title>lib/clise: fix potential data race between Push and Slice</title>
<updated>2023-02-28T14:24:09Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-28T14:24:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=0e8deacead93901649a3b67bf0284cf803ce984c'/>
<id>urn:sha1:0e8deacead93901649a3b67bf0284cf803ce984c</id>
<content type='text'>
The data race may occur if Push is called, the .last field is incremented
and at the same time an other goroutine call Slice that access the .last
field.
</content>
</entry>
<entry>
<title>all: set the test timeout to 1m</title>
<updated>2023-02-25T13:25:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T13:25:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=9b8b3ca82d5339748045f2014371413eea082a09'/>
<id>urn:sha1:9b8b3ca82d5339748045f2014371413eea082a09</id>
<content type='text'>
Some flaky test, caused by waiting for channel, require waiting for 10m
before it considered fail.
This changes we cut the default timeout to 1 minute.
</content>
</entry>
<entry>
<title>all: access embedded field or methods using the type name</title>
<updated>2023-02-25T12:56:24Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T12:36:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=fee20f0aeb51113a995c8fe21ff1e34f4244eb8f'/>
<id>urn:sha1:fee20f0aeb51113a995c8fe21ff1e34f4244eb8f</id>
<content type='text'>
This is for clarity in the code, better to be explicit by typing where
the field or methods come from.
</content>
</entry>
<entry>
<title>lib/email: add an example for Filter method on Header</title>
<updated>2023-02-25T12:56:24Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T11:52:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=4100f2dbd433ec885c3c9f5eb963ba98bb1ab1e4'/>
<id>urn:sha1:4100f2dbd433ec885c3c9f5eb963ba98bb1ab1e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd: temporarily hide unused commands</title>
<updated>2023-02-25T12:20:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T11:49:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=1b7acc58d0169b049802dba38b16ed7f3d7172a3'/>
<id>urn:sha1:1b7acc58d0169b049802dba38b16ed7f3d7172a3</id>
<content type='text'>
The cart, cascaded-random-forest, lnsmote, random-forest, and smote
are part of completing thesis and they never used anymore.
</content>
</entry>
<entry>
<title>AUR: add go-test-coverhtml.sh and go-bench.sh into package</title>
<updated>2023-02-25T12:20:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T11:37:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=88eccbefed9ffb95a9c033896e3897141b042473'/>
<id>urn:sha1:88eccbefed9ffb95a9c033896e3897141b042473</id>
<content type='text'>
While at it, canges the go-bench count to 10.
</content>
</entry>
<entry>
<title>lib/time: changes the Scheduler nextSeconds to time.Duration</title>
<updated>2023-02-25T12:20:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T11:30:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=bfa233f63af3fa4a961bda406fafd8183b044a4d'/>
<id>urn:sha1:bfa233f63af3fa4a961bda406fafd8183b044a4d</id>
<content type='text'>
Using time.Duration give better ticker precision, minimize panic due to
checking for &lt;= 0 value for Reset.
</content>
</entry>
<entry>
<title>lib/time: add unit tests for the rest of Scheduler</title>
<updated>2023-02-25T12:17:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-02-25T11:08:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=6c050650316b6f2c7920e92c3a1316dff9362d39'/>
<id>urn:sha1:6c050650316b6f2c7920e92c3a1316dff9362d39</id>
<content type='text'>
We found dead code in parseListTimeOfDay and way to simplify getting
default minute in nextHourly.
</content>
</entry>
</feed>
