12:53cosurgi: ahh, my favourite irc channel ;)
12:53imirkin: a good dose of sarcasm, with the occasional helpful comment thrown in the middle?
12:53cosurgi: yeah ;)
12:54imirkin: we do what we can
12:54imirkin: (the royal, editorial we)
12:56cosurgi: yesterday night I've spent 90 minutes on phone trying to instruct my firend who went to the server room, on how to enable networking. Some server couldn't connect to net no matter what.
12:56imirkin: i've seen NICs get stuck
12:56imirkin: reboot usually fixes them right up
12:56cosurgi: I went grub editing with him, remotely
12:56RSpliet: I've seen friends get stuck too... could be PEBKAC
12:57imirkin: sometimes have to actually plug the thing in too
12:57imirkin: hardware is the worst
12:57cosurgi: When we gave up. I told him to do one extra restart, and then... he noticed some cable unplugged from the wall socket. He plugged it in. And it started to work.
12:57imirkin: WHO CALLED IT
12:58cosurgi: yeah, my wife had a good laugh too ;))
12:59imirkin: i spent two weeks rewriting a VHDL impl for ATAPI into one for ATA because i couldn't get the cdrom drive to ever read any data, so figured it should with a hard drive
12:59imirkin: coz who knows what can go wrong with a cdrom
12:59imirkin: the HDD didn't work either, but made clicking noises
13:00imirkin: in the end -- not enough power to spin it up.
13:00imirkin: like i said - hardware is the worst.
13:02cosurgi: funny thing is that I asked him three times to follow the cable from the server, to its other end. It was connected to some U1 rack switch. And it is that switch which was disconnected from the wall. All light were bliking, so it looked right.
13:05cosurgi: sometimes I used to put a dead click-of-death HDD into a refrigenator for couple of hours, then reconnect it. I was able to copy some data out of such HDD before it went dead again
13:05imirkin: yeah, that's a common trick :)
13:05imirkin: just make sure you wrap in a plastic bag first
13:05cosurgi: yeah, exactly
13:05imirkin: otherwise condensing moisture kills it
13:07cosurgi: actually you are the first person who told me it's a comon trick. Everybody else who I told about this looked up at me like I'm super crazy weirdo
13:07imirkin: ok, not common like water is common
13:08imirkin: common among people who are (a) old enough to remember hard drives that actually spin and aren't sealed in with helium and (b) are huge super-nerds like us, apparently.
13:09karolherbst: I guess the reason is rather that HDD just don't die as often anymore so nobody needs those tricks really :p
13:09imirkin: yeah, MTBF on a HDD used to be like 2 years
13:09karolherbst: I have like 6 2.5" hdds here and only the 320GB one is done for
13:10karolherbst: it still works though
13:11karolherbst: it's just noisy and respins quite often
13:11imirkin: heh. noisy.
13:11imirkin: ever seen a *full* height hdd?
13:11karolherbst: the 5.25 or the even bigger ones?
13:11imirkin: 5.25", but a "standard" cdrom drive is known as "half-height"
13:12cosurgi: I have an 8.25 inch floppy disk stored in my attic. But no such HDD
13:12karolherbst: ahh yeah.. seeing the pictures
13:12karolherbst: I might have seen one though
13:12imirkin: full-height takes up 2 5.25" slots of a modern case
13:12karolherbst: ahd has like 10GB storage?
13:12imirkin: those things had huge storage... i think like 40MB
13:12imirkin: incredible, right? :)
13:12karolherbst: my first HDD was like 100MB I think or 1GB, but that was a 3.5 one
13:12imirkin: so much storage in such a small space
13:13cosurgi: (8" actually)
13:13karolherbst: I already fear that some of my 2.5 HDDs will die shortly though :/
13:13imirkin: i've never actually seen a live 8" floppy, only pictures
13:13imirkin: laserdisc was fun though
13:14imirkin: record-sized cdroms basically :)
13:16karolherbst: mhh, 9 Power_On_Hours -O--CK 072 072 000 - 21115
17:06rsq: Hello everyone. Is it possible to detect that a system is running nouveau if nouveau is built-in for the kernel? In this case lsmod | grep nouveau does not work.
17:07diogenes_: rsq, glxinfo | grep "OpenGL renderer"
17:08imirkin: rsq: depends how reliable you want to be
17:09rsq: This is for wayland sessions, I do not know if glxinfo would be available.
17:09joepublic: just throwing `inxi -G` out there
17:10Lyude: ls /sys/module/nouveau will tell you if it's built-in for the kernel
17:10Lyude: but not if it's actually running or not
17:10rsq: Good tip Lyude .
17:10Lyude: additionally, if you configured your kernel with the right options sometimes you'll have a config file in /proc/config.gz
17:11Lyude: note too - /sys/module/nouveau will show if it's built as a module too, so I guess a good way to differentiate between built-in and not would be if it's in lsmod and/or /sys/module
17:11imirkin: lrwxrwxrwx 1 root root 0 Mar 26 13:09 /sys/class/drm/card0/device/driver/module -> ../../../../module/nouveau
17:11imirkin: this tells you that it's actually bound to nouveau
17:12rsq: ok, noted. Good info. With this I will be able to handle all cases in my start script.
17:13rsq: I have to set an extra env variable for nouveau. In wlroots, there are issues with the hardware cursor.
17:14imirkin: issues with nouveau
17:14imirkin: or issues in wlroots?
17:15imirkin: also if you have an actual drm device
17:15rsq: wlroots I think.
17:15imirkin: and can do drm ioctl's, you can look it up
17:15imirkin: let me check how, hold on
17:15imirkin: it's in drmVersion->name
19:37imirkin: do you have any idea how hard it was for me to figure out what that meant?
19:37imirkin: i was in HS, and none of the teachers knew.
19:37imirkin: (or at least not the ones i asked)
19:38imirkin: and it's not like there are good indices of mathematical operations
19:39karolherbst: that's... kind of sad
19:39imirkin: how do you search for dag? esp if you don't even know what people call it
19:39imirkin: you just see it all over some book
19:40imirkin: good luck on altavista :p
19:40karolherbst: I have no idea how I would, but we knew what it since the 1st or 2nd year of school
19:41karolherbst: how else do you do dvisions?
19:41imirkin: transpose + complex conjugate?
19:41imirkin: oh, that's the division operator that cosurgi put in there
19:41imirkin: that looked like a dag in my font
19:42imirkin: even when i know what it is, i still can't find it.
19:44imirkin: presumably you weren't learning that in 1st or 2nd year of school...
19:44karolherbst: but it was the division operator, soo :p
19:44karolherbst: we used the asterisk notation though
19:45imirkin: that's just complex conjugate
19:45imirkin: that's the other problem - none of these things are standardized =/
19:45RSpliet: maths gets a lot easier if yo limit yourself to ASCII
19:45karolherbst: hell no
19:45karolherbst: ASCII only sucks
19:46imirkin: RSpliet: iso8859-whatever-the-greek-one-is
19:46karolherbst: then you still miss out random shit
19:46RSpliet: extended ascii has greek I think?
19:46imirkin: which extended ascii? :)
19:47karolherbst: EASCII :p
19:47imirkin: iso8859-1 has various accents on latin chars
19:47imirkin: iso8859-5 has cyrillic
19:47karolherbst: yeah.. but iso was later
19:47imirkin: aha, iso8859-7 has greek
19:47imirkin: never heard of EASCII
19:48karolherbst: I don't think it was ever a thing anyway
19:48karolherbst: EBCDIC was probably the first one anyway
19:48karolherbst: I think
19:48imirkin: EBCDIC is an alternative to ASCII... same general list of chars, just differently laid out
19:48imirkin: (technically ASCII is an alternative to EBCDIC, but ASCII won)
19:49imirkin: and IBM also had a thousand different codepages
19:49karolherbst: ohh wait
19:50karolherbst: right.. EBCDIC was an extension to this BCDIC shit
19:50karolherbst: which ... was 6 bit
19:52karolherbst: ahh HP-Roman was the first ASCII extension
19:52karolherbst: I think?
20:24cosurgi: ouch. I didn't expect the conversation to go this way
20:24cosurgi: In fact I wanted to produce a single small dot, but found division instead. Then I wondered how it will render for you ;)
20:25cosurgi:still can't find the dot.
20:27cosurgi:presses AltGr with random keys, and obtaines stuff like: ≤µń”ŋ’ə…łó→↓§·«»»– whoa! Dot! ·
20:27cosurgi: that AltGr 8
20:27cosurgi: that's AltGr 8
20:27cosurgi: found it :)
20:27imirkin: compose-. + -
20:28cosurgi: Hm. I haven't mapped compose key. I was too lazy
20:30cosurgi: I use AltGr for 9 polish letters. That's how I'm used to it. Then all other keys onn the keyboard produce weird symbols, which I started to use and like. For example arrows: ←↓↑→ ↔
20:30imirkin: yeah, most european keyboards have AltGr, but US don't
20:31imirkin: so have to use compose key
20:32linkmauve: But us Europeans also use a compose key, otherwise how are we gonna write Compose+CCCP ☭? :D
20:33imirkin: wow, that's an awesome sequence
20:33imirkin: doesn't work here though
20:34linkmauve: Oh? I thought it was a default in whichever component handles compose key sequences.
20:35imirkin: xkb does
20:35imirkin: but i don't have
20:35linkmauve: % grep SICKLE /usr/share/X11/locale/en_US.UTF-8/Compose
20:35linkmauve: <Multi_key> <C> <C> <C> <P> : "☭" U262D # HAMMER AND SICKLE
20:36imirkin: ah, i think i'm not in that locale
20:36linkmauve: Other ones have an include "/usr/share/X11/locale/en_US.UTF-8/Compose" line.
20:37imirkin: how do you know which one it picks?
20:37linkmauve: I have no idea.
20:38imirkin: hm, for me it's only in the en_US.UTF-8 one
20:40imirkin: oh wait
20:40imirkin: didn't think of that.
20:40imirkin: that's awesome.
20:42linkmauve: imirkin, /usr/share/X11/locale/compose.dir actually tells whatever reads it which file to load depending on your locale.
20:44cosurgi: alright, you've won ;) I will map the unused menu key into compose key
20:45imirkin: linkmauve: i don't have any LOCALE or LC* env vars set
20:45imirkin: maybe defaults to C.UTF-8
20:45imirkin: coz C just goes to iso8859-1 which doesn't have those compose keys
20:46cosurgi: xmodmap -e "keycode 135 = Multi_key"
20:47imirkin: союз нерушимый...
20:47linkmauve: imirkin, ah, might be why.
20:47cosurgi: (I found the keycode with xev)
20:48imirkin: linkmauve: no, it works for me. it didn't originally coz i didn't think to use upper-case letters with compose
20:49cosurgi: yeah. I was just checking Compose-
21:08imirkin: welcome to the future.
21:08imirkin: and of course you have all these with AltGr, but it's easy to do stuff like ł (Compose-/ l)
21:09cosurgi: hm. l is faster
21:09imirkin: right. but when you're on a US layout, and you use it approximately once a year...
21:10imirkin: (coz my pøłíŝħ is a little weak...)
21:10cosurgi: hahah :)
21:11imirkin: (and i never remember what the pronounciation rules are in the various slavic languages that adopted latin-based alphabets)
21:12cosurgi: I'm impressed that there was something that you had a chance to forget! :)
21:12imirkin: well, i learn it for like 5 minutes, and then promptly forget
21:12imirkin: i remember in polish / = soft
21:14cosurgi: yes. It is mostly soft.
21:14imirkin: sometimes hard? :)
21:14cosurgi: not always though. ó u are spelt exactly the same. I have no idea how I know which one to write.
21:15imirkin: well, i meant for consonants
21:15imirkin: in russian, they removed 3-4 letters in 1917
21:15imirkin: which were that situation - same pronounciation, but you had to be educated to know which to use
21:15imirkin: which was, you know, sign of bourgeoisie...
21:16imirkin: so now words that are entirely unrelated are spelled very similarly
21:16imirkin: (and they also nixed the hard sign at the end of ~every word ending in a consonant)
21:17cosurgi: ok, let me check: ąćęłńóśźż , these are soft: ąćęłńśź ; this one is hard: ż, and this one sounds the same: ó
21:18imirkin: no soft z?
21:18imirkin: i know, but you said sounds the same?
21:18imirkin: oh. i see.
21:18imirkin: ź vs ż
21:18cosurgi: hm. No. I said ó sounds the same as u. And that 'this one is hard: ż' and that 'these are soft: ąćęłńśź';there is ź, the last one :)
21:19imirkin: so what's plain ol' "z"?
21:19imirkin: or it's always accented one way or the other?
21:19cosurgi: no, we have plain z.
21:19cosurgi: hmm. What english sound that migh be.
21:19cosurgi: like s, buut softer than s.
21:19imirkin: so you have hard, soft AND plain?
21:19cosurgi: yeah :)
21:20cosurgi: that's the end of our alphabbet :)
21:20imirkin: ok, so "z" doesn't actually sound like "z" (hard or soft)
21:20imirkin: but more like "s"?
21:20cosurgi: yeah. Sort of.
21:20imirkin: learn something every day.
21:21cosurgi: actually 'ż' and 'rz' sound very much the same.
21:21imirkin: that i could never remember. the weird r's all over the place
21:21imirkin: they mean something else don't they
21:21cosurgi: yeah. That can be annoying
21:21imirkin: i just ignore letters that don't make sense
21:21imirkin: good enough :)
21:22cosurgi: the most crazy language for me is from Chechia
21:22karolherbst: polish is worse
21:23cosurgi: very similar when you hear them talk. You can almost make out the words. But when you try to understand what they are talking about the brain gets squeezed
21:23imirkin: yeah. lots of funnily different words.
21:23imirkin: like "pozor" means "attention", apparently, and is on street signs everywhere
21:23imirkin: whereas in russian it means "shame" :)
21:24cosurgi: and in polish "pozór" means "fake"
21:24imirkin: also good.