IRC log of #maemo for Monday, 2019-07-15

*** Pali has joined #maemo00:12
*** cyteen_ has joined #maemo01:16
*** Pali has quit IRC01:29
*** xes has quit IRC01:33
*** xes has joined #maemo01:41
*** florian has quit IRC02:02
*** xes has quit IRC02:21
*** xes has joined #maemo02:25
*** xes has quit IRC02:42
*** xes has joined #maemo02:46
*** atk has quit IRC03:00
*** atk has joined #maemo03:00
*** infobot has quit IRC03:20
*** infobot has joined #maemo03:21
*** ChanServ sets mode: +v infobot03:21
*** keithzg has joined #maemo04:53
*** parazyd has quit IRC05:17
*** parazyd has joined #maemo05:24
*** tm has quit IRC06:47
*** tm has joined #maemo06:51
*** pagurus` has quit IRC06:56
*** pagurus has joined #maemo06:57
*** Kilroo has quit IRC07:57
luke-jrbrolin_empey: ?07:59
brolin_empeyluke-jr: ??08:05
luke-jr"my aforementioned floating point “problem”"08:05
luke-jrwhat problem?>08:05
brolin_empeyThe lack of rounding of the result of the prices I am adding, which should have only two decimal places.08:08
luke-jryou should never use floats for money08:08
brolin_empeyWell, I use Python as a calculator on my desktop computer and it seems that Python uses floating point in this context.08:11
*** sunshavi has joined #maemo08:43
*** sunshavi has quit IRC08:59
*** sunshavi has joined #maemo09:08
DocScrutinizer05luke-jr: brolin_empey: COBOL actually uses EBDIC (sort of BCD) dezimal digits to represent and compute values, more often than not  that's money. they will know why the do this09:26
brolin_empeyMaybe I can have Python use fixed point instead of floating point?  Or use something other than Python, such as bc?09:30
MaxdamantusPython has `//` for integral division, if that's what you need.09:35
brolin_empeyIncidentally: Which interface is used to connect the integrated hardware keyboard on an ARM or MIPS handheld or notebook computer, such as the Nokia N900 or PineBook (both ARM) or Ben NanoNote (MIPS) or a computer not usually running Linux, such as the Nokia C6-00 (Symbian on ARM) or BlackBerry Classic (BlackBerry 10 on ARM)?  On x86 notebook computers, the integrated keyboard and mouse substitute are usually connected via PS/2 but I do not know how the09:39
brolin_empeyintegrated hardware keyboard and trackball or similar are connected on non-x86 computers other than Apple PowerBook m68k and PowerPC notebook computers, which use Apple Desktop Bus.09:39
MaxdamantusN900 uses i2c afaik09:41
MaxdamantusI imagine there isn't a standard interface for almost all keyboards.09:42
*** eMHa__ has quit IRC09:46
*** luke-jr has quit IRC09:50
*** ollieparanoid[m] has quit IRC09:50
*** jon_y has quit IRC09:51
*** mva has quit IRC09:51
*** ceene has quit IRC09:51
*** sixwheeledbeast has quit IRC09:51
*** g3kk3r_ has quit IRC09:51
*** chem|st has quit IRC09:51
*** atk has quit IRC09:51
*** qwazix has quit IRC09:51
*** rah has quit IRC09:51
*** r00t^home has quit IRC09:51
*** deepy has quit IRC09:51
brolin_empeyPython: In this case, I am adding instead of dividing.09:59
*** Pali has joined #maemo10:00
*** Pali has quit IRC10:08
*** eMHa__ has joined #maemo10:09
*** troulouliou_div2 has joined #maemo10:10
*** atk has joined #maemo10:16
*** qwazix has joined #maemo10:16
*** rah has joined #maemo10:16
*** r00t^home has joined #maemo10:16
*** deepy has joined #maemo10:16
*** luke-jr has joined #maemo10:16
*** ollieparanoid[m] has joined #maemo10:16
*** jon_y has joined #maemo10:16
*** mva has joined #maemo10:16
*** ceene has joined #maemo10:16
*** sixwheeledbeast has joined #maemo10:16
*** g3kk3r_ has joined #maemo10:16
*** chem|st has joined #maemo10:16
*** luke-jr has quit IRC10:17
*** luke-jr has joined #maemo10:18
MaxdamantusIf you add two ints in Python, you should get back an int.10:21
Maxdamantusthough iirc there is something liku .__iadd__, so maybe there's an operator for that too.10:21
Maxdamantusmaybe not10:21
Maxdamantusanyway, the goal should be to not get a float in the first place, rather than to convert it to int when you get it.10:22
*** jskarvad has joined #maemo10:37
*** saidinesh5 has joined #maemo10:41
*** florian has joined #maemo10:49
*** jon_y has quit IRC11:06
*** saidinesh5 has quit IRC11:11
*** saidinesh5 has joined #maemo11:11
*** jon_y has joined #maemo11:11
*** r00t-home has joined #maemo11:22
*** jon_y has quit IRC11:26
*** atk has quit IRC11:26
*** qwazix has quit IRC11:26
*** rah has quit IRC11:26
*** r00t^home has quit IRC11:26
*** deepy has quit IRC11:26
*** saidinesh5 has quit IRC11:27
*** ollieparanoid[m] has quit IRC11:27
*** mva has quit IRC11:27
*** ceene has quit IRC11:27
*** sixwheeledbeast has quit IRC11:27
*** g3kk3r_ has quit IRC11:27
*** chem|st has quit IRC11:27
*** Venemo has joined #maemo11:27
*** g3kk3r has joined #maemo11:35
*** sixwheeledbeast has joined #maemo11:35
*** chem|st has joined #maemo11:35
*** mva has joined #maemo11:35
*** eMHa__ has quit IRC11:35
*** ceene has joined #maemo11:36
*** atk has joined #maemo11:36
*** rah has joined #maemo11:36
*** jon_y has joined #maemo11:36
*** deepy has joined #maemo11:37
*** infobot has quit IRC11:37
*** qwazix has joined #maemo11:38
*** qwazix has quit IRC11:38
*** qwazix has joined #maemo11:38
*** ollieparanoid[m] has joined #maemo11:42
*** saidinesh5 has joined #maemo11:43
*** infobot has joined #maemo11:44
*** ChanServ sets mode: +v infobot11:44
*** eMHa__ has joined #maemo12:24
*** eMHa has joined #maemo12:27
*** HRH_H_Crab has joined #maemo12:42
*** Kabouik has joined #maemo12:50
*** saidinesh5 has quit IRC13:01
*** saidinesh5 has joined #maemo13:01
*** Venemo has quit IRC15:04
*** progenyx has quit IRC15:06
*** Venemo has joined #maemo15:38
*** Kabouik has quit IRC16:18
*** Oksana has quit IRC16:40
*** SpeedEvil has quit IRC17:55
*** SpeedEvil has joined #maemo17:56
*** troulouliou_div2 has quit IRC18:20
*** freemangordon has quit IRC18:28
*** freemangordon has joined #maemo18:39
*** eMHa has quit IRC19:06
*** florian has quit IRC19:12
*** Venemo has quit IRC19:17
*** drrty has joined #maemo19:20
*** Pali has joined #maemo19:25
*** eMHa has joined #maemo19:37
*** florian has joined #maemo19:56
*** LauRoman|Alt has quit IRC20:12
*** eMHa_ has joined #maemo20:40
*** eMHa has quit IRC20:40
*** tryagain has joined #maemo20:48
*** jskarvad has quit IRC21:01
*** saidinesh5 has quit IRC21:16
*** saidinesh5 has joined #maemo21:16
*** Oksana has joined #maemo21:26
*** Venemo has joined #maemo22:06
*** troulouliou_div2 has joined #maemo22:06
*** kraft has quit IRC22:31
*** kraft has joined #maemo22:44
*** kraft has quit IRC22:49
*** troulouliou_div2 has quit IRC22:51
*** Venemo has quit IRC22:58
*** kraft has joined #maemo23:00
*** kraft has quit IRC23:04
*** kraft has joined #maemo23:11

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!