MSComicChatBTW | # Appears as ANNA | 00:29 |
---|---|---|
ham5urg | Is there a bash tool for to store variables in simple maps, vectors or multimaps. I tried jq and json but json is a pain. | 20:22 |
ranix | by map do you mean an associative array | 20:24 |
ham5urg | ranix, yes. C++ nomenclature. | 20:30 |
tuxd3v | ham5urg, I believe you are talking about a hashtable, yes bash has 'associative arrays'( hashtable ) | 20:38 |
tuxd3v | but you need to be running bash >=4 | 20:39 |
ranix | ham5urg: | 20:46 |
ranix | ranix@Asphodel:~$ declare -A array1 | 20:46 |
ranix | ranix@Asphodel:~$ array1[foo]=bar | 20:46 |
ranix | ranix@Asphodel:~$ array1[baz]=harbl | 20:46 |
ranix | ranix@Asphodel:~$ echo ${array1[baz]} | 20:46 |
ranix | harbl | 20:46 |
ranix | ranix@Asphodel:~$ bash --version | 20:47 |
ranix | GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu) | 20:47 |
ham5urg | ranix, thanks | 20:49 |
ranix | np | 20:50 |
mason | Needing a hash table is one of those things that I use as a flag to determine if I need to pick a different language. | 21:04 |
mason | Although I've not been above writing key/value pairs to a temp file. | 21:05 |
Guest79805 | quit | 21:57 |
premoboss | hi. i doin some experiment with linux (kernel) adn i qant to recompile source of 5.7 using a. config from 5.8. i know there is a way to "import" a .config form a different version of kernel, but not find how to do also asking google. | 22:44 |
gnarface | premoboss: well you can just manually replace the .config and it'll probably mostly work. if you want to be prompted for all the missing fields it's "make oldconfig" | 22:47 |
premoboss | ahhh... there it is "oldconfig" thanks! | 22:48 |
premoboss | thanks gnarface | 22:48 |
gnarface | no problem premoboss | 22:49 |
golinux | gnarface . . . you are like a magic bot in this channel that answers all questions. | 22:53 |
gnarface | i'm like the oracle at delphi; i huff gas then all my prophesies come true! | 22:55 |
brocashelm | i second that. hoas (mostly on the forums) is also very helpful | 22:55 |
gnarface | thanks guys, it's nice to feel appreciated | 22:56 |
gnarface | this knowledge cost me a lot and didn't do me much good | 22:57 |
gnarface | hopefully it can help someone else | 22:57 |
brocashelm | np | 22:57 |
brocashelm | i see the complaint about ceres not getting updates triggered new updates, lol | 22:58 |
golinux | Something is funky in our infra | 22:58 |
golinux | Our infra master is just waking up in AU. | 22:59 |
brocashelm | i checked the sid repo and saw there were a shit ton ahead of ceres | 22:59 |
brocashelm | i see | 22:59 |
brocashelm | any reason packages like meson are still a bit behind? | 22:59 |
gnarface | well there might be expected build delays under normal operation | 23:00 |
fsmithred | that's a forked package | 23:01 |
golinux | Optimal infrastructure seems to be a moving target | 23:01 |
gnarface | well i discovered recently 2nd hand that the arm64 builds of EFL can take >32GB | 23:02 |
brocashelm | ok. wanted to know which ones to watch out for. even things like openvpn i've waited for devuan to catch up on because it has lines of code calling systemd...? | 23:02 |
fsmithred | !!! | 23:02 |
gnarface | so maybe the build cluster just ran out of ram and the build scripts derailed | 23:02 |
infobot | in #devuan the exclamation mark ("!"), when put as first char in a line, is the infobot attention char (a shorthand for "infobot: ..." highlight). This is on special request, in most other channels the bot uses tilde ("~") as attention char, and you'll find factoids referring to that like "also see ~<factoid>" | 23:02 |
fsmithred | oops can everyone see that bot? | 23:03 |
gnarface | yes | 23:03 |
brocashelm | yes. now i know everything | 23:03 |
fsmithred | anything with +devuan in the version is a forked package | 23:04 |
fsmithred | so 'dpkg -l |grep devuan' will list the installed ones | 23:05 |
brocashelm | i noticed some were spelled "devaun" | 23:05 |
fsmithred | uh oh | 23:05 |
gnarface | hah oh shit yea it's true | 23:06 |
brocashelm | on my ceres: bootlogd, initscripts, sysv-rc, and sysvinit-utils | 23:06 |
gnarface | also sysvinit-core and sysvinit here | 23:07 |
brocashelm | true, those would be affected in a pattern. i use runit | 23:07 |
brocashelm | version 2.96-4+devaun1 | 23:07 |
fsmithred | five packages? | 23:09 |
gnarface | yes | 23:11 |
gnarface | that's all i've got here anyway, but haven't updated for 2 days or so | 23:11 |
gnarface | maybe 3 | 23:11 |
gnarface | maybe that's what derailed the builds? | 23:11 |
fsmithred | six | 23:12 |
fsmithred | no, you can put anything in the version | 23:12 |
fsmithred | I made a note in #devuan-dev | 23:12 |
gnarface | i thought the typo might ruin the previous/next version logic though | 23:12 |
fsmithred | not sure whose packages those are | 23:12 |
fsmithred | might do that, yeah | 23:12 |
fsmithred | it still comes after debian which is good | 23:13 |
brocashelm | btw, linux dabbler did a good video on devuan (i think someone linked it here the other day, but it helps to spam the url again): https://www.youtube.com/watch?v=rkYAMjhtqkA | 23:16 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!