libera/#devuan/ Thursday, 2020-10-29

suavedandyGuys. I understand that I'm a noob but it seems that if I try to install something other than Devuan I get all kinds of problems.09:53
suavedandyI kinda can't leave Devuan by this point.09:54
suavedandyTried both GeckoLinux and OpenSUSE. GeckoLinux's live ISOs have stuff not working. OpenSUSE's installation ISO doesn't even have its signature matching. Both work slow.09:56
danuansuavedandy debian and now devuan are more straight forward i want to say server / admin (bsd-ish of linuxes) centric distributions , majority of todays other distros are for flashy desktop / newest feature driven10:02
gnarfacesuavedandy: i know.  and i'm sorry.  i've done my best to fix this problem with people, the world, and society as a whole but i failed.10:03
danuanbut it all depends on intricacies you are more confortable in dealing with , as all of them , devuan included have their own querks ,  and depends on hardware also ( some hardware will be hassle free out of the box , some will need tweaking)10:03
suavedandyWell, I'm going to install AwesomeWM anyway. Proprietary drivers I don't need, my laptop seems to work with open-source stuff just fine.10:05
suavedandyWhich is surprising, to say the least.10:05
suavedandyI have an Intel network card so… Yeah, iwlwifi.10:06
suavedandyAlthough I do see the message that some proprietary drivers are needed while installing. And they are related to iwlwifi.10:08
suavedandyMaybe false alarm but I don't know.10:08
danuannonfree from repos will do 80 - 90% of things when free doesnt work or wont work properly , other 20 10 % you will need to just download from manufacturer10:09
danuansometimes they work , like say a gigabit network card on an asrock mb  only functions as 100mb on free drivers10:09
danuanor nvidia cards , if you want full acceleration in all situations , its nvidia drivers beats free almost always for me , but they are finiky and dont always play nice10:12
suavedandyLike a work laptop has a graphics card.10:13
suavedandyAlso, regarding Awesome. I also wanted to try InstantWM due to cool anims but it seems that it's only available on InstantWM which is Arch and in beta.10:14
suavedandyI mean, I could've installed DWM…10:16
suavedandyOr SpectrWM.10:16
suavedandyAlso, did the Debian team start making point releases faster? Buster was released quicker. In a year.10:20
gnarfacethey've never had incentive before10:23
gnarfacenow they do10:23
gnarface(us)10:23
gnarfacethey know they have the funds to outrun us10:23
gnarfacebut it is more work for them too so i'm sure it's a existential crisis for them :-p10:24
danuani always liked used cars , you know they are good after someone  broke them in for you , after 100k miles things just run smoother10:25
danuan:010:26
suavedandyHas anybody tried Star?10:37
suavedandyOne of the Devuan derivatives.10:37
suavedandyIt says "Backports enabled by default." Whatever it means.10:41
suavedandyI mean, if they're talking about the repo then it's not hard. You open your sources.list and add beowulf-backports.10:42
user____ping fsmithred16:59
fsmithred?16:59
user____Hi. I had an unscheduled power outage today on beowulf, came back nicely, but the clock is out. One hour back, i.e. un-set the DST switch which occurred a few days ago normally.17:00
user____Is this somehow related to my running BIOS clock on localtime? With suitable setting in adjtime ?17:00
fsmithredmaybe17:01
fsmithredyou're dual-booting windows?17:01
user____I am multi booting other things too. Need it on localtime.17:02
user____EET should be Eastern European Time UTC+3 but it gives me AM/PM. What the.17:02
fsmithredthis is on a desktop clock?17:03
user____cli root17:04
user____desktop follows that too17:04
user____what's the debianism to set the tz again? debconf-something?17:05
r3bootdpkg-reconfigure tzdata17:05
user____was set correctly, and it claims it's 18:06:19 EET which is correct17:06
user____But date shows the wrong time17:07
user____iow system date and time are okay but date shows something like Thu 29 Oct 2020 06:07:02 PM EET -- should be 24h time no PM17:07
koollmanthat's date formatting, not timezone/dst, I think17:07
koollmandepends on locale settings17:08
user____TZ was unset, setting export TZ=Europe/Bucharest -> same outcome, wrong17:08
user____env|grep (LOCALE|LC) -> nil17:08
user____In the C locale which should be default, 24hr "military" time should be the default, no?17:09
koollmanyou would think so, but no. american defaults :)17:09
user____uhh. US military time is 24hrs no AM/PM17:10
gnarfacethere is a way to set it to local time17:10
koollmanalthough I do wonder what should be default on my system. Maybe C local isn't used ?17:10
gnarfacedefault puts the bios in UTC17:10
gnarfacethere is also a way to make windows UTC aware17:10
gnarfacesome registry edit17:10
user____This used to work fine on ascii. I assume someone in USA edited the TZ files and got careless with defaults. I'm probably on Oklahoma "standard" time or something as a result.17:11
gnarfacethe "locale" command outputs the locale environment variable settings, env won't list them by default17:11
koollmanuser____: LC_ALL=C date17:11
user____yep that fixed it koollman, thanks17:12
gnarfacethe other possibility is that you lost that data because it was the last thing set before your hard power loss and the disks hadn't synced yet17:12
user____LC_ALL was unset as reported by locale17:12
user____gnarface: no, it was days ago17:12
koollmanuser____: so wrong local set somewhere, and date checks that somewhere if no local env variable set17:12
user____It is safe to put LC_ALL in root's .profile ?17:12
gnarfaceyou should be able to just run "dpkg-reconfigure locales"17:12
koollmanuser____: locale -a, to list known locales, locale, to see currently used one17:12
gnarfaceset it to what you want17:12
user____No, it's all en_US.UTF-8 but LC_ALL was unset which is likely the root config mistake propagated from upstream17:13
user____My understanding is, LC_ALL should default to C when unset.17:13
user____Subtle bit rot propagation there. I can't be sure the ascii LC_ALL was also unset or set to C, since I never looked.17:13
koollmanif it is all en_US.UTF-8, then you very likely end up with american-looking time format17:13
user____LC_PAPER="en_US.UTF-8" O.o17:14
user____Yeah I need to look into this a bit17:14
user____In the 1st place, why would root need any locale other than C?17:14
user____Must make for real fun in scripts and such having the "wrong" surprizing locale in a remote connected server in another country because muppets decided to translate all messages and locale defaults to the local patois.17:15
user____This is a gnu-ism. Clearly. Almost Poettering class gnu-ism.17:15
gnarfacenah even happens in mysql17:16
gnarfacewelcome to the post unicode world17:16
gnarfaceyou just gotta get your locales right now17:16
user____Anyone here on beowulf who can confirm their root account is on en_US.UTF-8 while other accounts are on other locales?17:16
user____gnarface: yes, the only locale root needs is C, for sanity's sake.17:16
user____emos who need it spoonfed in their own patois do not need a root account.17:17
gnarfacei'm not 100% sure your base assumptions are correct17:17
koollmanmaybe C.UTF-8 , at least17:17
koollmanalso, I cannot reproduce your problem yet17:17
user____koollman: valid17:17
gnarfacebut i can verify for you that on ascii, beowulf, and ceres, every user gets the locale you set with dpkg-reconfigure17:17
MinceRi thought locale support was required by POSIX17:18
koollman(but I have too many strange envs, I need a nice clean one :) )17:18
user____I did a clan beowulf install so nothing changed.17:18
user____*clean17:18
gnarfacefirst thing that comes to mind is that it's not a guarantee hardware metadata or filenames are 100% latin1 characters only anymore17:18
user____so, is it safe to put LC_ALL=C in root's .profile or not?17:18
koollmangnarface: it never was17:18
user____gnarface: UTF8 is a valid upgrade but assuming local patois conventions for numbers and dates is not17:19
user____Even if the local patois is American English.17:19
koollmanI'm not sure what changes the display, though17:19
user____koollman: try LC_ALL= date17:19
gnarfacei wonder if this is just one of those things where you have to change the debconf priority to get it to ask the right questions17:20
koollmanuser____: I don't have the problem, but I know my envs aren't clean installs. But, to be sure, in your env this gives two different output : LC_ALL=en_US.utf8 date ; LC_ALL=C date17:21
koollmanif so, yeah, I would definitely set C or C.UTF8 as my default system-wide locale17:21
user____Right, so LC_ALL is a shortcut to override all the other settings.17:24
user____Right, will set it so koollman17:24
a1000did anyone had install problems with linux-libc-dev recently ?17:24
koollmanuser____: but you do confirm that those two are different on your beowulf install ?17:25
user____hm? Yes date output with LC_ALL= defaults to US AM/PM mode; LC_ALL=C.UTF-8 makes it right (24h)17:26
user____And yes with LC_ALL=en_US.utf8 is't American and the same as LC_ALL=17:27
user____also locale dumps LC_TIME as en_US etc as above, so, not a surprize.17:27
user____Trying to find a reference on default POSIX time, pretty sure it is Zulu 24h format, but can't find it.17:30
a1000POSIX time is Epoch with 0=1.1.1970 0:0 UTC17:32
user____I've edited /etc/profile + export LC_ALL="C.UTF-8" but for ~/.profile 's I did: export LC_TIME="C.UTF-8"17:32
user____This is safer in view of whatever else the user needs (I am the only user on this system for now)17:32
user____a1000: how convenient, no mention of AM or PM -- aha! no mention means 24hrs...17:33
a1000POSIX simply counts seconds, what you make out of it depends on you, this way you can handle any timezone etc17:36
user____It also has a "default" date format which is what I was after.17:37
user____"canonical" date?17:37
user____https://pubs.opengroup.org/onlinepubs/9699919799/utilities/date.html this should be as close as it gets imo17:38
user____"Otherwise, date shall use the timezone indicated by the TZ environment variable or the system default if that variable is unset or null."17:39
user____What IS the system default.17:39
user____Should be C imo.17:39
user____Pretty terrible standard. Anyway, thanks for the discussion. More items marked for checking on newly set up systems.17:41
a1000system default  here like "implementation dependent",  take a look at ISO 860117:42
user____I tried to introduce ISO8601 time at the company I worked for for 12 years in the 1990s-2000s. The boss chewed me out, he could not get used to it.17:44
nemokoollman: hmmm C as a system-wide locale is probably pretty risky nowdays17:44
user____It was a small company and I was directly under him...17:44
user____nemo: why?17:44
nemokoollman: UTF-8 is so wide-spread...17:44
nemouser____: C does not support UTF-8 - we discovered this when someone added unicode to our source files17:44
user____UTF-8 and C are disjoint in the sense of date formatting17:44
nemoand distro compiles failed17:44
user____oh17:44
nemouser____: I was talking as a system-wide default for LC_ALL17:44
user____What systems? gnu?17:44
nemowhich is not just date17:44
user____Well now C.UTF-8 seems to be supported?17:45
nemouser____: major distros, Fedora and Debian, failed to compile our source code because their build servers used a locale of C17:45
nemook. that's different17:45
user____When?17:45
nemouser____: just a few months ago17:45
nemohm. last fall maybe actually17:45
nemolast release17:45
nemohad to do emergency rereleases17:45
user____Interesting. Buster/beowulf or before?17:45
nemoI'm just saying it's a dangerous default17:45
nemouser____: after buster17:45
user____nemo: thanks for sharing that17:45
nemochanged like... '€' or whatever the person had done, to hex escaping17:46
* user____ will try some umlauts in C.UTF-8 just to see17:46
nemoso distro servers could compile17:46
nemouser____: depends on the parser ofc17:46
nemobut a strict C parser isn't aware of UTF-8 validation17:46
user____Was this in source or filenames?17:46
nemouser____: source code17:46
nemofailed on unicode both in comments and in code17:46
user____A strict C parser should not do anything at all with non 7 bit ascii17:47
user____Now failing in comments is bad.17:47
nemouser____: this was a haskell tokeniser doing string validation17:47
nemouser____: I'm saying you can get unexpected results is all17:47
nemoI'm not saying it was C the language in particular17:47
nemojust that as a default weird things might happen17:47
user____Yes, I can see how that works. Thanks for sharing.17:47
nemonp. and yeah, I think it's just 'cause UTF-8 is becoming so widespread17:47
nemopeople just assume it'll be supported. often isn't even defined17:48
user____It's because emos expect 50 year old langugages to accommodate their all inclusive use of Inuit curses as identifiers.17:48
user____brb17:48
nemohehe17:48
nemouser____: well this was in char string 😉17:48
user____ᑐᐱᓚᒃ17:58
user____that's an Inuit curse for you.17:58
user____LC_ALL=C echo "ᑐᐱᓚᒃ" -> renders correctly on beowulf xfce4-terminal with defaults as installed. I guess we are good.18:00
* a1000 has still a problem installing linux-libc-dev on beowulf18:12
user____I just tested beowulf's gcc can handle Inuit curses in strings just fine with LC_ALL=C (no specific UTF-8 selected).18:15
user____You can also try it out yourself:18:15
user____82.76.46.34:8080/lc_all-c-utf8-test/18:16
user____err there may be a "few" firewalls in between.18:16
user____ok should work now18:19
user____I'll termbin it just because the server is not always up / temporary18:20
AlexLikeRockwhat its  the best downloader for firefox (add-ons ) ?18:21
user____ /join #firefox is the best downloader18:22
xrogaanIs the individual sending on the ML from @d404.nl here?18:54
user_____re: discussion earlyer: Inuit curses and other UTF-8 in C source: I uploaded the test I made and ran on Beowulf, am curious if there's someone whose system fails this test? https://termbin.com/17f821:46
user_____<aside>I love the glyphs the Innu language(s) use(s), they are absolutely great looking.21:48
nemouser_____: I wouldn't expect that to fail personally21:48
nemouser_____: our problem was, as noted, with haskell21:49
nemowhen LC_ALL=C the string tokeniser did 7 bit validation21:49
user_____Well you were the one who said it fails sometimes (potentially). I have no way to know what Haskell does with UTF-8, but I am surprized C handles the gibberish so well.21:49
nemoas opposed to LC_ALL=en_CA.UTF-8 or whatever *.UTF-8 that all the devs had been testing with before we threw it over the wall to the distros21:49
nemouser_____: yeah. C is blind to it21:49
user_____I had half expected a warning about non ascii or binary data in a literal string.21:49
nemouser_____: what I had been saying was that if you set your system *default* to LC_ALL=C used by ALL apps21:50
nemoyou might get surprising behaviour these days21:50
nemouser_____: just because UTF-8 support is becoming increasingly assumed21:50
user_____If you look at my upload you'll see it builds with LC_ALL=C forced upon the compiler21:50
nemoif you set en_US.UTF-8 and someone else wrote fr_FR.UTF-8 content, it'll still work21:50
nemouser_____: I saw that. that was not my point at all21:50
nemomy point was SOME things might break21:50
nemogcc not breaking is not surprising to me21:50
user_____Well it is mine since I did not set C.UTF-8 just C21:50
nemoI know21:50
nemoto repeat21:50
user_____Okay, I get your point.21:51
nemoif you set it SYSTEM wide21:51
nemosoem things. not gcc. might break21:51
nemohad no other purpose in warning than that, based on our experience21:51
nemoand it used to be fine. this is just a confluence of recent events I think21:51
user_____And thanks for sharing it. I had to try it out of course. Am interested if there is anyone whose system does NOT compile & render that right. Devuan any version, but also others.21:51
nemouser_____: here. let me give you the precise details 😃  I'll dig up the commits and bug report21:52
nemohttps://issues.hedgewars.org/show_bug.cgi?id=72521:52
nemothis issue seems to summarise nicely21:52
user_____reading, thanks.21:52
nemoI was definitely surprised by it when it happened as you can see21:52
nemoI mean it was absolutely our fault..21:53
user_____Sure. Also good you talked about it.21:53
user_____AHA, FreeBSD. There is the error :)21:54
nemoheh21:54
nemowe had same issue on Debian too21:54
nemolater21:54
user_____Sure, kidding.21:54
user_____tbh, I wrote some little grammars for flex+bison and modified other people's and I'd very much (VERY MUCH) not accept arbitrary bytes as valid input anywhere, not even in comments probably, certainly not in strings.21:56
user_____My work/hobby targets embedded mcu's and there is no room for such things in there. Every byte value has special meanings and non ascii characters certainly have such more often than not.21:57
user_____So I'm surprized gcc liked my Innuit destroying monster. And sort of ate it :)21:57
user_____hedgewars is a game written in Pascal I gather?21:59
user_____Or is that Haskell21:59
Wonkapascal.21:59
user_____tbh I found plenty of non ascii comments in C code over the years and there was never a problem. Router firmware is full of it, Russian, Asian, you name it.22:00
user_____the glyphs I referred to above, a lot of them are here https://omniglot.com/writing/ucas.htm22:01
user_____nemo: but nobody was daring enough to use Hangul variable names or the like (Hangul = South Korea)22:02
user_____I know for a fact that won't work in any decent parser in use now.22:02
Wonkahttps://en.wikipedia.org/wiki/Inuktitut_syllabics22:04
Wonkahttps://docs.python.org/3/reference/lexical_analysis.html#identifiers says Python 3 allows quite a lot more than ascii for identifiers22:06
nemoWonka: most interpreted languages do22:07
nemoWonka: rakudo goes to extremes22:07
nemohttps://docs.raku.org/language/unicode_entry22:07
nemojavascript allows it too22:07
nemohttps://m8y.org/tmp/sdk.html a test I did long long ago22:08
user_____ouch.22:28
user_____well I know for a fact it won't work in any decent parser for C or similar languages (C dialects etc). re: above statement.22:28
user_____Anyway, keep it on topic. Any specific languages in use on devuan installs which require special care with UTF-8 enabled to work well?22:29
nemouser_____: I suspect rather the opposite these days22:40
nemoapps failing in C mode is more common22:40
user_____Well I have the grammars in view, flex+bison source. I assure you the identifiers and function names WILL be ascii only, 7 bit22:41
nemouser_____: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874160  the discussion in this bug might point to potential problems?22:42
nemouser_____: seems to have been a patch to make "C"="C.UTF-8"22:42
nemopeople bringing up positives and negatives of such a default22:43
nemonegatives seem mostly about assumptions of C22:43
* user_____ is scared by the number of things and code(s) which fail reporting success lately22:43
user_____Well once wchar_t is a thing, ascii is no longer a thing. I mean Asian non-UTF encodings probably.22:46
user_____UTF does try to solve a lot of problems and it works nicely but things like lexicographic sequences, collation, and string length assumptions based on glyph count are all off the scale.22:47
clortutf8 you mean22:55
user_____yes22:59
user_____utf16 is I think wchar_t territory, never used it.22:59
clortwindows world23:43

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!