<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ucs/src, branch v0.1.1</title>
<subtitle>micro celcatsanitizer: parce que les emplois du temps lisibles, c'est surcôté

</subtitle>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/'/>
<entry>
<title>µCS v0.1.1</title>
<updated>2020-09-20T10:31:59+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T10:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=45454dcb16567dd5bc58e90fcca41a05013b7ab6'/>
<id>45454dcb16567dd5bc58e90fcca41a05013b7ab6</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucs: set the time zone to local when starting the server</title>
<updated>2020-09-20T10:25:55+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T10:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a'/>
<id>5aa3559f1c3789f1f29816ace7b6ba4c57b1ec6a</id>
<content type='text'>
This sets the time zone to local when starting the server to avoid
having timestamps in UTC in the logs.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This sets the time zone to local when starting the server to avoid
having timestamps in UTC in the logs.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: use a proper type to iterate over a course description</title>
<updated>2020-09-20T09:59:19+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-20T09:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=98c4919dc592f45265ee3a8e1784df7127e3ad78'/>
<id>98c4919dc592f45265ee3a8e1784df7127e3ad78</id>
<content type='text'>
Currently, to find a course's summary and location, there is a
pattern matching over a ad-hoc 3-uple of a boolean and two strings.
To make it clear, this badly defined structure is replaced by an
actual ADT, `loc_and_sum', containing 4 cases:

 - `Nothing', when the groups has not been found yet;
 - `Groups', when the groups has been found by `check_groups'.  This
   means that the next line should be the course's location;
 - `Location', when the location has been found.  If there is no new
   line to read, the string is the location, otherwise it's the
   summary, and the next line should be the actual location;
 - `Summary', when the location and summary has been both found.  All
   subsequent lines will be ignored.

A function is also added to convert a `loc_and_sum' to a couple of
string containing the location and the summary.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, to find a course's summary and location, there is a
pattern matching over a ad-hoc 3-uple of a boolean and two strings.
To make it clear, this badly defined structure is replaced by an
actual ADT, `loc_and_sum', containing 4 cases:

 - `Nothing', when the groups has not been found yet;
 - `Groups', when the groups has been found by `check_groups'.  This
   means that the next line should be the course's location;
 - `Location', when the location has been found.  If there is no new
   line to read, the string is the location, otherwise it's the
   summary, and the next line should be the actual location;
 - `Summary', when the location and summary has been both found.  All
   subsequent lines will be ignored.

A function is also added to convert a `loc_and_sum' to a couple of
string containing the location and the summary.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: use a match/with instead of a if-chain in `location_and_summary'</title>
<updated>2020-09-19T18:33:40+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-19T18:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=6fc1084cf13ec0578f7774fd41aee2dd2ace1649'/>
<id>6fc1084cf13ec0578f7774fd41aee2dd2ace1649</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: memoized version of `get_unicode'</title>
<updated>2020-09-19T17:14:31+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-19T17:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=36c9cd7d082bb2077a910269702a13784ef10fbb'/>
<id>36c9cd7d082bb2077a910269702a13784ef10fbb</id>
<content type='text'>
To avoid creating buffers to decode an HTML entity, this create a
memoized version of `get_unicode' in hope to operate a bit faster and
reduce memory allocations.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid creating buffers to decode an HTML entity, this create a
memoized version of `get_unicode' in hope to operate a bit faster and
reduce memory allocations.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: invert the `group_affix' list order</title>
<updated>2020-09-19T15:01:29+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-19T15:01:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=cd3d6caea294eb041e8635c5f62ec90027fee281'/>
<id>cd3d6caea294eb041e8635c5f62ec90027fee281</id>
<content type='text'>
Each affix is tested with a `List.fold_left', which means that the
list is traversed in order.  Hence, the most likely results should be
at the beginning of the list, not at the end.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each affix is tested with a `List.fold_left', which means that the
list is traversed in order.  Hence, the most likely results should be
at the beginning of the list, not at the end.

Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>course: return the summary if there is no " - " in the event's full name</title>
<updated>2020-09-19T14:59:20+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-19T14:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=35c693e146746af36b251159eae96660c75b3c71'/>
<id>35c693e146746af36b251159eae96660c75b3c71</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ics: timestamps are in local time, not UTC</title>
<updated>2020-09-14T06:57:22+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-14T06:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=ec42f16b511df869e69f58cb1c757b1cc861a1a4'/>
<id>ec42f16b511df869e69f58cb1c757b1cc861a1a4</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>µCS v0.1.0</title>
<updated>2020-09-13T18:15:57+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-13T18:15:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=20ec96616d57884927c630fd47310b72597241ff'/>
<id>20ec96616d57884927c630fd47310b72597241ff</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucs: add command line parameters, powered by cmdliner</title>
<updated>2020-09-13T18:14:10+00:00</updated>
<author>
<name>Alban Gruin</name>
</author>
<published>2020-09-13T18:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pa1ch.fr/alban/ucs.git/commit/?id=ebd49001ab9c844eaba52a19f6387dfb2a0da7af'/>
<id>ebd49001ab9c844eaba52a19f6387dfb2a0da7af</id>
<content type='text'>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alban Gruin &lt;alban@pa1ch.fr&gt;
</pre>
</div>
</content>
</entry>
</feed>
