/srv/irclogs.ubuntu.com/2021/06/11/#ubuntu.txt

thyriaen__sarnold, oh you mean because i wrote .Xsession with a capital X ?00:00
sarnoldyes00:00
thyriaen__ok let me check if it have it in capitals in my directory00:00
thyriaen__sarnold, nah, i had it in small letters unfortunately00:02
sarnold:(00:02
jpmhI have a linux machine with no GUI and need to set it to connect to a local wifi network.  In the past I edited  /etc/wpa_supplicant/wpa_supplicant.conf to add the device.  That file no longer seems to exist.  What file doI need now.  Ubuntu 20.0401:27
Bashing-omjpmh: Does https://blog.ubuntu.com/2017/12/01/ubuntu-bionic-netplan help ?01:29
MrSteveBash. He there :)01:33
jpmhBashing-om: TY - looking at that reference now - ty01:33
MrSteveI get mailed.01:33
jpmhBashing-om: so,I looked on my laptop, which I did configure using the gui forthe old file and any of the new ones referecedin that document and see none of them01:36
jpmhBashing-om: I even did: find / -name \*yaml |grep netplan - to see iif it was somewhere else - now I have no idea how my laptop connects either01:39
Bashing-omjpmh: what shows as the renderer from ' /etc/netplan/01-network-manager-all.yaml ' ?01:43
jpmhBashing-om: NetworkManager01:44
Bashing-omjpmh: Oh boy - with no GUI you need to switch to networkd.01:45
sarnoldyou can drive things with nmcli01:46
sarnoldit's more work01:46
sarnoldbut it might be less trouble than switching to networkd, depending upon how much of your networkmanager does correctly already01:46
jpmhBashing-om: on my laptop, which IS connected, there is a file: 01-network-manager-all.yaml in 01-network-manager-all.yaml but it has NO info on my connection, I was hoping to copy that01:48
sarnoldthe netplan yaml to start up nm is basically the same two or three lines for everybody01:48
Bashing-omjpmh: I would suggest that you let systemd do it. Maybe like: https://www.configserverfirewall.com/ubuntu-linux/ubuntu-network-manager/ <- Disable Network Manager and enable systemd-networkd // But sarnold's advise is also good.01:49
jpmhsarnold: if that was addressed to me, so, where is the actual info on my connections kept. That file is the same on the laptop and the machine I want to use01:49
sarnoldjpmh: check /etc/NetworkManager/system-connections/01:50
jpmhBashing-om: I do see that you two agree, what I don't get, is there must be a file somewhere with the info otherwise I would not be connected through my laptop01:51
Bashing-omjpmh: Be aware that " 01-network-manager-all.yaml" is for network-manger. A different file is sought for networkd.01:51
jpmhsarnold: That seems to be it - there is a file in there  for evey network I have conneted to and it seems to contain in each file all that would be needed - I'm about to copy to the on-gui machine01:52
Bashing-omjpmh: systemd-networkd, and config's under /etc/systemd/network/ .01:52
jpmhby on-gui I mean non-gui01:54
sarnoldno worries, most of the time typos on irc can be ignored :)01:55
Bashing-omjpmh: netplan is a configuration generator, for either NetworkManager, or systemd-networkd the idea is to create a config in /etc/netplan that is then applied automatically to whichever service manages network connections01:56
jpmhguys, thanks for the heklp.I copied the file and all works - TY so much01:59
sarnoldwoot02:00
RakkoIs there an apt* command (or some other command) that acts like grep, but it searches the files inside all packages, not just ones you have installed?02:00
sarnoldRakko: apt-file can search the filenames02:01
sarnoldRakko: debian hosts a code search tool that you can use; it only indexes debian stuff, but it's really useful https://codesearch.debian.net/02:01
Rakkooh, nice. That's probably good enough for me.02:01
Rakkothanks02:01
samianhi02:12
mybalzitchhttps://ubuntu.com/tutorials/create-a-usb-stick-on-windows#8-write-warnings <== these instructions do not work. you must select "write in DD mode"02:40
mybalzitchthe installer failed to find the iso image after booting if you choose "write in ISO mode", and the installer also fails to run the live image if you let it attempt to netboot. lol.02:41
tomreynmybalzitch: please scroll down on said page to where it says "Suggest changes"02:43
tomreynthat's where your findings should go - here they'll just be lost in the void02:43
Linkandzeldacan I use the ubuntu server ISO to install a bootable system to a usb stick plugged in the same system?02:46
mybalzitchtomreyn: I'm on IRC. I'm not signing up for some discus account to report the issue when the maintainers for said documentation likely idle here, or someone else has an account.02:47
tomreynLinkandzelda: yes02:47
Linkandzeldatomreyn: great, thanks. gonna put my OS on a usb plugged to my server's motherboard and free up a sata port02:49
tomreynmybalzitch: it uses ubuntu sso, so if you already have an account there then you wont need to create another.02:50
mybalzitchnope.02:50
tomreynand the other thing just won't happen, so it'll go to /dev/null02:51
bigpod mybalzitch: i would as well recommend you to use that becuause again reality is IRC is basicly /dev/null02:52
tomreynLinkandzelda: maybe use an ssd ther,e though, standard flash drives are just not durable enough02:52
mybalzitchthat's great for an official support channel02:53
bigpodmybalzitch: and those instructions work i used rufus maybe a week ago without having to write in DD mode02:53
mybalzitchnot on my asus board02:54
mybalzitchthe installer boots, but it can't find the image to mount02:54
mybalzitchreboot and write with dd mode, works fine02:54
mybalzitch¯\_(ツ)_/¯02:54
bigpodwierd02:54
bigpodon both my HP laptop and asrock MB based desktop i did not have to select Write in DD mode02:55
bigpodand installer worked just fine, it booted went into Ubiquity and installed everything02:56
mybalzitchI've never had write in ISO mode work for any flash drive I've tried02:56
bigpodwierd02:57
mybalzitchand the installer/initramfs offered to download an ISO. it grabbed network config, downloaded it, said it was gonna do stuff, then just dropped me to the initramfs prompt02:57
bigpodonly time ever i had to do it was with completly different distribution one time and that was it, ubuntu has never required that from me02:57
tomreynmybalzitch: this is not the primary (commercial) support channel vanonical provides, if that's what you assumed. this channel is mostly (read: almost exclusively actively) used by volunteers, such as yourself.02:59
tomreyn*Canonical02:59
bigpodmybalzitch: i would say that there is something wrong with your system if that is a requirement03:00
mybalzitchbigpod: I've had it with multiple computers and multiple flash drives, but please go on03:00
bigpodmybalzitch: now that changes things but still not actualy sure because i have never had to use dd mode so yea03:01
bigpodtomreyn: as far a si understand its ment for basicly asking questions aka ephemeral stuff03:02
mybalzitchalso, this happens at a point where the board has picked up the usb drive, booted grub from the drive, and loaded part of the installer03:02
mybalzitchthen the installer is unable to find the OS image in a format it likes to continue the installation process03:03
tomreynbigpod: yes, *support* channel. i'm just saying don't expect the developers to wait for you to ask your questions and seek an answer for you, or to update docs based on what you type here. (i know you dodn't suggest that's the case.)03:05
mybalzitchlol03:07
bigpodmybalzitch: to me that sounds like either HW issue or file validity issue sorry03:08
bigpodbecause from my experiance if DD mode is required you dont get into boot of OS at all you will at best get to grub and even that is a tall order sometimes03:09
bigpodbut it is true that DD mode writes the files in a different way then ISO mode but i still dont know how that would affect anything becasue as far as i understand ubuntu ISOs are designed in a way so they can be written in ISO mode03:12
geniiYes, they are hybrid images03:13
=== genii is now known as genii-core
=== sami_ is now known as Samian
thyriaenhow can i configure certain applications to always run in preset workspaces ?05:15
bumblefuzzso, I changed my DE to KDE06:26
bumblefuzzand I can't figure out how to change ctrl+alt+T to terminator06:28
thyriaenoh my god - i am going insane over these keyboard configurations06:31
thyriaenalright so i have managed to get xmodmap to load my ~/.xmodmap file but now after some time IT REVERTED back to the default settings - what might have caused this and how can i stop it from happening ?06:32
ILoveAndrewLeethyriaen: what keyboard configurations?06:36
ILoveAndrewLeemay be related but I have a custom keyboard layout written in "us", and it gets overwritten every time I update my OS06:37
thyriaenILoveAndrewLee, i have a few remaps in my ~/.Xmodmap file which i load on startup06:37
ILoveAndrewLeethyriaen: Ever thought of just `sudo vim /usr/share/X11/xkb/symbols/us`06:39
ILoveAndrewLeeThis way, your keyboard remaps also work under root06:40
thyriaenILoveAndrewLee, i have thought of it, yes i didnt want to change a system file because, as you are describing once i update it it gets overwritten06:40
ILoveAndrewLeethyriaen: It happens once every 6 months, or 2 years if you are doing lts. I then just save my US file in a repo, and load it from there06:41
thyriaenILoveAndrewLee, maybe i can make a copy of us and put my changes in and call it /usr/share/X11/xkb/symbols/thyriaen ?06:41
thyriaenILoveAndrewLee, it only screws it up if you do a dist-upgrade ?06:41
ILoveAndrewLeethyriaen: Well you should DEFINITELY back up US before editting it, and definitely make a way for you to be able to restore it, because if you f up your US file, your keyboard will stop working06:42
ILoveAndrewLeethyriaen: Right, only if you do a dist-upgrade06:42
ILoveAndrewLeethyriaen: I've done enough mucking around on my us file, that I had to devise an effort to `cp` the backup file with my mouse and middle click.06:43
thyriaenILoveAndrewLee, i am using the uk layout however this is my output of the symbols directory06:44
thyriaenhttps://termbin.com/hib206:45
thyriaenwhat to do you think might be the correct layout ?06:45
ILoveAndrewLeeI'm guessing its us,06:45
thyriaenbut i dont use us06:46
thyriaenim guessing it might be pc06:46
ILoveAndrewLeethyriaen: The files borrow from each other. I use Canadian and have used french, but the edits I made to colemak ( found in us ) work none the less06:46
thyriaenT_T06:47
thyriaenwhy are keyboard layouts so confusing06:47
ILoveAndrewLeethyriaen: don't get me started.06:47
ILoveAndrewLeethyriaen: Anyways, what sort of remaps are we talking about? For what its worth, I have an 8 layer programmer's layout06:48
ILoveAndrewLeeTake a look here. https://usercontent.irccloud-cdn.com/file/Lt4snw9l/image.png06:49
thyriaennot that much i am just starting out editing the layout and since everything i touch is just one huge pain to even get it load06:49
thyriaeni dont want to extend it before i can get it running06:49
ILoveAndrewLeeWhat I do to achieve this, ( Its technically the wrong way but the right way is confusing and cumbersome ) is that I just overwrite the "Colemak" layout with what I want06:49
ILoveAndrewLeethyriaen: I did create a spreadsheet that will generate the code for you if you are interested.06:50
ILoveAndrewLeeone sec. It makes things vastly more simple06:50
thyriaenthat would be awesome06:50
thyriaeni just want to get things done before my uhk gets here06:51
thyriaenand i get leave all that software stuff behind06:51
ILoveAndrewLeehttps://docs.google.com/spreadsheets/d/19paGH1cmvnzNiCFA39nmm9afTIfgCIrt8NUOLpyqM3k/edit?usp=sharing06:51
ILoveAndrewLeeGo there. Make a copy06:51
thyriaenthanks but that might be overkill :p06:52
makarahi. I updated my Ubuntu 20.04.2 server a while back and rebooted today. I use sshfs to mount drives, but now when i umount them on my desktop it puts the server to sleep! What's happening?06:53
makarai have systemd logs06:53
thyriaencan i make space an modifier such that space+q is F2 ?06:53
ILoveAndrewLeethyriaen: totally fine. I wrote a tutorial for it here: https://askubuntu.com/questions/510024/what-are-the-steps-needed-to-create-new-keyboard-layout-on-ubuntu06:54
ILoveAndrewLeethyriaen: Yes you can.06:54
thyriaenis that tutorial for your spreadsheet ?06:54
ILoveAndrewLeethyriaen: yes. At the bottom, `Quick and dirty solution`, that details out how to use the spreadsheet06:55
thyriaenalright06:55
thyriaenthanks a lot06:55
ILoveAndrewLeeThe rest is some basic understanding06:55
thyriaeni will inhale that and see if that fixes my stuff06:55
ILoveAndrewLeethyriaen: Do you still want your space to act as a space?06:55
thyriaenILoveAndrewLee, no06:57
ILoveAndrewLeethyriaen: If you look at my layout, I have switched the <Return> key with a <shift> modifier. For a time, I also wanted it to also function as a <Return> key as well, that would return if I ... oh06:57
thyriaen:p06:57
ILoveAndrewLeeInteresting layout then you got there. What is your idea of making the space a modifier?06:57
thyriaenoh its not going to be my default layout - currently i am only editing my normal layout to include german letters and the euro sign, switch : and ; around, put capslock as esc and so on06:58
ILoveAndrewLeecapslock as esc? Must be for vim or something.06:59
thyriaenbut once i have figured it all out i wanna make a 2nd starcraft brood war layout where space + q w e are my camera hotkeys06:59
thyriaenso the space thing is just for sc:bw - not for my usual layout06:59
ducassemakara, are you mounting them on an ubuntu client?07:00
ILoveAndrewLeeIf I can offer a suggestion, I access my alt keys with left and right alt.07:00
makaraducasse: yes07:00
ducassemakara, why not use nfs?07:00
thyriaenILoveAndrewLee, partly for vim, but partly in preperation of my UHK keyboard which does not have an esc key - so might aswell get used to it right now07:00
ILoveAndrewLeethyriaen: In order to make the right alt comfortable, I shifted over the right hand by one row. This also had the added benefit of making they keyboard symmetrical and more comfortable.07:01
makaraducasse: i don't know/can't remember. Is it secure? Is there a tutorial for that?07:01
ILoveAndrewLeethyriaen: uhk keyboard ... I got to look that up07:01
ILoveAndrewLeethyriaen: Ah. And Ew. They didn't fix they symmetry!07:02
thyriaenILoveAndrewLee, it uses this layout: https://cutt.ly/VnOEobZ07:02
ILoveAndrewLeeStill cool though.07:02
ducassemakara, it has client-based security, so if the server allows you root access local root is root. very simple to set up, fast, much faster than sshfs07:02
thyriaenILoveAndrewLee, it also does all the key remapping on the hw side07:03
ILoveAndrewLeethyriaen: Now that is cool07:03
ILoveAndrewLeethyriaen: Are you still going with Qwerty? Or are you going to do Dvorak, Colemak, or Workman?07:04
thyriaenILoveAndrewLee, so in preperation to that layout i want to change my stuff to be closer to it to make the transition easier07:04
ducassemakara, they are on the same network?07:04
thyriaeni have never looked at dvorak or anything apart from qwerty - i recently moved from qwertz layout to qwerty and started using 10 finger typing, got into vim and everything falls together now which is a good point of breaking bad habbits - before i was kinda a floating 6 finger typist just freestyling it07:06
ILoveAndrewLeethyriaen: ah I see the layout now. There are a lot of things I like about that layout. For one, the right alt is much more accessible to the right thumb. That should be your modifier key.07:06
thyriaenILoveAndrewLee, yea, i don't know what keys to have which modifiers on it07:07
ILoveAndrewLeethyriaen: I did give a 2 hour presentation on this at my LUG if you are interested, but the short version is that you are extremely smart for investing the time to do this.07:07
thyriaenILoveAndrewLee, i definitely want to have multiple layers with different stuff07:07
ILoveAndrewLeethyriaen: Have you just learned VIM?07:07
thyriaenim getting started on it - not much more than hjkl, e a A :wq yet07:08
ILoveAndrewLeethyriaen: Well the 8 layer layout is your best bet. Took me a while to figure out how to do that07:08
makaraducasse: yes07:09
thyriaenyesterday i started a haskell tutorial and i want to do it with vim - so learn haskell, new layout, new typing technique and vim in one go07:09
makaraducasse: i'll definitely have a look, but at the moment I can't have that server going to sleep all the time. It just did it again, without disconnecting sshfs07:10
thyriaenit think its best to throw out everything you know at the same time so your brain can concentrate on new stuff and don't fall into old patterns07:10
ILoveAndrewLeethyriaen: okay that is good because the way I learned vim, is having to remap everything out for colemak. Its best to do that when you are fresh07:10
makaraso im trying https://unix.stackexchange.com/a/25151/4798707:10
ILoveAndrewLeethyriaen: EXACTLY!07:10
thyriaenILoveAndrewLee, what are the benefits of not using qwerty ?07:10
ILoveAndrewLeethyriaen: Comfort, and typing speed are the main ones. For example, if you were to compare typing a novel like war and peace on Colemak vs Qwerty,07:11
ILoveAndrewLeeyour fingers would travel like 3 miles less, and 50% less overall compared to qwerty.07:11
ILoveAndrewLeeIt prevents carpel tunnel syndrome, which I had bad under qwerty, where I had to literally rest from typing.07:12
thyriaenILoveAndrewLee, while i do love stuff like that - my main concern is that it will give me an obstacle in the world to have a different layout - when i am at a different computer, typing on a friends laptop, id assume its quite awkward07:13
ILoveAndrewLeethyriaen: Those are the main ones. After that, my most important changes to they keyboard was to first make a Programmer's layout.07:13
ILoveAndrewLeethyriaen: Yeah, that will be pretty much impossible to deal with.07:13
thyriaenILoveAndrewLee, i grew up with qwertz ( german layout ) and my main reason to switch to qwerty was to be more compatible with the world, for example when connecting to a server via ssh or just in general being on a pc in the university07:14
ILoveAndrewLeeI have my own laptop, a thinkpad though, so it is almost never an issue. Sometimes it is though, but I don't think its worth the health of your fingers.07:14
ILoveAndrewLeethyriaen: Well the fact that you will have a hardware based keyboard, solves that issue for you.07:15
ILoveAndrewLeeFrankly, I would have gotten one if I knew that existed.07:15
thyriaenILoveAndrewLee, yea maybe - maybe you will get your UHK :p07:16
thyriaenit also splits for ergonomic stuff07:16
ILoveAndrewLeethyriaen: That is huge too. Qwerty is horribly unsymmetrical.07:16
thyriaenILoveAndrewLee, what kind of thinkpad you got ? I have my X1 Carbon 2017 and thinking about getting a T14s Gen2 AMD07:17
ILoveAndrewLeeEven wads is a travesty, because it is oriented in the worst possible way for comfort for gaming.07:17
ILoveAndrewLeethyriaen: I got a ton, but I got an x290 silver yoga right now. That carbon is a beautiful machine07:18
thyriaenILoveAndrewLee, i am thinking about going esdf when i pick up another shooter :p07:18
ILoveAndrewLeethyriaen: You just got the best taste in everything, lol.07:18
ducassemakara, check the logs07:18
thyriaenILoveAndrewLee, probably the thing i love the most about myself, my taste07:18
ILoveAndrewLeethyriaen: interesting. Ive shifted over to the right hand for arrows. Incidentally, i also remapped the arrow keys to alt kl;o07:19
thyriaenILoveAndrewLee, right and for arrows and left hand for mouse ? are you left handed ?07:19
ILoveAndrewLeeor jikl. So you hold alt, and you have access to arrows. Great for document editting. And its synonymous with vim.07:19
ILoveAndrewLeethyriaen: oof I didnt think about the mouse. I play mostly rpgs...07:20
thyriaenILoveAndrewLee, i plan to have some kind of uhk modifier map the actual arrow keys to modifier+hjkl07:20
thyriaencause some applications dont have hjkl support baked in07:21
ILoveAndrewLeethyriaen: I did try sdfr. Not baaaaad but still not ideal.07:21
thyriaendo you know superhuman ? :p07:21
ILoveAndrewLeesuperhuman?07:21
thyriaenILoveAndrewLee, yea, the email client07:21
ILoveAndrewLeethyriaen: You mean I can dispense with thunderbird? lol07:21
* BobbyJr ears perked up07:22
BobbyJrtheres finally a Thunderbird rival that actually works?07:22
ILoveAndrewLee^07:22
thyriaenILoveAndrewLee, email clients are so awful tbh07:22
thyriaeni absolutely love superhuman07:23
ILoveAndrewLeeyes. Something about thunderbird... I'll check it out.07:23
ILoveAndrewLeethyriaen: Have you heard of QuteBrowser?07:23
thyriaeneverything is keyboard driven made for vim shortcuts07:23
thyriaeni have not07:23
ILoveAndrewLeeWOAH IM SOLD!07:23
ILoveAndrewLeeLETS GO! VIM BASED EMAIL07:23
ILoveAndrewLeethyriaen: Qutebrowser is a vim based browser. I've used it for almost a year now. Its based.07:24
ILoveAndrewLeeLove it.07:24
thyriaenILoveAndrewLee, how is the rendering engine ?07:24
ILoveAndrewLeethyriaen: I'm also right now learning and working on sc-im, which is a spreadsheet terminal app with vim bindings.07:24
thyriaeni have found everything which is not chromium or firefox based to be unusable in the current web07:24
ILoveAndrewLeethyriaen: I'd say its excellent. It uses QtWebEngine, which is based on Chrome07:25
thyriaenyou mean i can get rid of freakin libre fkn calc ?07:25
ILoveAndrewLeehahah, maybe... I like it so far, and the developer is active so I've been chasing down bugs with him.07:25
thyriaenILoveAndrewLee, let me know if you need a superhuman invite07:26
ILoveAndrewLeethyriaen: If you are just getting into coding, I also suggest checking out QtCreator. Qt is the best way to do C++ imo, and the IDE is great for almost all languages. It also has vim built in07:27
BobbyJrI always end up going back to FF everytime I try a different browser. That said, I like MS Edge. Its a better Chrome than Chrome.07:27
thyriaenILoveAndrewLee, i wouldnt say im getting into coding - i use the intellij suite so clion for c++07:27
ILoveAndrewLeeBobbyJr: I find FF unusable now, after I got used to qutebrowser. Its like trying to use a normal text editor when you know vim.07:28
ILoveAndrewLeethyriaen: Interesting. System Admin then? I always assume someone using vim is doing one of those two things, to be a programmer or to be a sysadmin07:28
thyriaenILoveAndrewLee, I am doing my masters in theoretical computer science, mostly writing lots of latex - but i am also self employed general IT Guy, general interest in linux and doing things the open source, and proper way - so i do my invoices in latex for example07:30
ILoveAndrewLeethyriaen: Oooff latex.07:31
ILoveAndrewLeeI tried writing a parser for latex; it was not fun. haha.07:31
thyriaenILoveAndrewLee, i absolutely love latex07:31
ILoveAndrewLeethyriaen: Is there a vim based latex editor that supports active previews?07:31
thyriaeni do my presentations in it - was able to completely replace word and powerpoint havent touched that shit in 5 years07:32
thyriaenILoveAndrewLee, there is - i did all my previous projects in sublime text but probably going to configure and move over to vim this month07:32
ILoveAndrewLeeI would do the same, and guys like luke smith really proved out the concept of how superior it is, but I have not found a good editor.07:33
thyriaensublime text with latexing package is what i used07:33
ILoveAndrewLeeSublime... mmmmm Hard pass07:33
thyriaeni wrote my bachelor thesis in it07:33
ILoveAndrewLeethats epic.07:34
ILoveAndrewLeeWhat was your thesis on?07:34
thyriaenILoveAndrewLee, you don't like sublime ?07:34
ILoveAndrewLeethyriaen: Call it irrational, but I really don't trust javascript based editors.07:35
makaraducasse: i have the logs. I don't know what's wrong though07:35
thyriaenalgorithmics and complexity of paths with neighbourhood constraints in graphs07:35
ILoveAndrewLeeAlso, I am super happy with QtCreator, that I just use that instead.07:35
thyriaenILoveAndrewLee, it isnt javascript based, is it ?07:35
thyriaenits written in c++ i think you are mixing it up with atom, which is pure aweful07:36
ILoveAndrewLeethyriaen: Is it? Its cross platform from what I am just reading, with a python api, which Python is the worst.07:36
* ILoveAndrewLee buttresses himself for having an unpopular opinion07:37
ducassemakara, is there no indication why it went to sleep?07:37
thyriaenpython and javascript is the worst, yes07:37
ILoveAndrewLeethyriaen: Woah, very based. I am surprised. Most people LOVE python and celebrate it as le best beginner language. I think its the worst beginner language.07:38
thyriaenyea07:38
thyriaenit is literally the worst beginner language imaginable07:38
ILoveAndrewLeethyriaen: Come hand out in #sqt and lets be friends. You are cool07:38
thyriaensqt ?07:39
thyriaenwhat is that about ?07:39
ILoveAndrewLeethyriaen: Its a 4channel.org/g/ general, /sqt/ which stands for "Stupid Questions Thread"07:39
thyriaenbut there are no stupid questions07:40
ILoveAndrewLeeIn other words, its basically the /g/ irc chat.07:40
ILoveAndrewLeethyriaen: That sounds like a challenge.07:40
thyriaen;p07:40
BobbyJrIm the kind of heathen that takes python code and rewrites it in PowerShell. Mainly as a learning exercise to see if it can be done. Long story short, it can. Kinda.07:47
ILoveAndrewLeeBobbyJr: Powershell.... how what I just. What?07:54
kyle_hi, while i am trying to mount a nfs share over rdma, i get mount.nfs: an incorrect mount option was specified07:54
kyle_i see that the nfs server is accepting the connection, and have modprobed the correct modules, and have testing rdma with a ping over the infiniband network07:55
=== ILoveAndrewLee is now known as Kill-Animals
xu-help43whi. can anyone help?08:11
xu-help43wWi-Fi connection often falls off. help please set up. Network controller: Ralink corp. RT3290 Wireless 802.11n 1T / 1R PCIe08:12
alan_hello08:13
alan_is anybody here ?08:13
xu-help43wyes08:14
alan_haha08:15
TriesteHi, I'd like to install KVM on my machine, so I followed https://help.ubuntu.com/community/KVM/Installation but according to both the grep command and `kvm-ok`, my CPU (i7-7700K) simply does not support any form of virtualization - could that be right? It's a relatively new and powerful CPU, is it possible I missed a BIOS setting or somesuch?08:20
TriesteTo be precise, `egrep -c '(vmx|svm)' /proc/cpuinfo` outputs 0, and `kvm-ok` outputs "INFO: Your CPU does not support KVM extensions"08:21
ravageCheck your bios08:24
kyle_is nfs over rdma available in the nfs-common package on ubuntu?08:48
SauvinTrying to do a do-release-upgrade, can't because some packages are held and won't update. Help?08:50
xu-help43whi. can anyone help?08:50
xu-help43wWi-Fi connection often falls off. help please set up. Network controller: Ralink corp. RT3290 Wireless 802.11n 1T / 1R PCIe08:50
=== holgersson is now known as schrostfutz
=== schrostfutz is now known as holgersson
Mekaneckxu-help43w: it doesn't fall off, it disconnects08:53
Mekaneckalso08:53
Mekaneck|patience08:53
Mekaneck!patience08:53
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/08:53
xu-help43wyes)08:54
xu-help43wyes)08:54
Mekanecktry searching the web for bugs and/or solutions08:55
holgerssonyep08:55
holgerssonxu-help43w: If I just type your full network card name plus "ubuntu" into a search engine I find plenty threads about ralink devices, e.g. https://www.linux.org/threads/wifi-problem-in-ubuntu.32714/08:56
xu-help43walready tried several options. nothing helped08:56
=== denningsrogue1 is now known as denningsrogue
holgerssonI ommitted the slash and everything past it though: "Ralink corp. RT3290 Wireless 802.11n 1T ubuntu"08:57
holgerssonLooks to me as there will be some manual work necessary for that card.08:57
xu-help43wI'm not a great Linux specialist09:00
ledeni[m]xu-help43w: can you run 'nm-connection-editor' in terminal and check your wi-fi connection  -- general -- auto connection is tick ✔️09:09
xu-help43wyes installed. everything is working well now09:13
ac5tini installed xubuntu-desktop and xrdp on my ubuntu server and then i try to connect to it using remmina i get this error:  [1020140:1028342] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server09:49
xu-help43wonly the signal is weak. although the reuter is near09:52
=== denningsrogue5 is now known as denningsrogue
isapgswellhi10:49
isapgswellpeople10:50
isapgswellavoid notebook firstboot certified to proprietary OS10:50
gryisapgswell: hi10:52
isapgswellgry hi10:52
gryisapgswell: what exactly is its name?10:52
isapgswellgry name of?10:57
oerheks"avoid notebook firstboot certified to proprietary OS" is there a question in this?10:58
isapgswelloerheks it is a hint10:59
oerheksexplain please?10:59
isapgswelland do not update the firmware before checking https://fwupd.org/10:59
lotuspsychjei dont know proprietary Os, is it new?10:59
isapgswelllotuspsychje paid OS11:00
lotuspsychjei think your hints are more for #ubuntu-offtopic isapgswell ?11:00
oerheksso there is no support issue then.11:00
isapgswellan advice11:00
ograalso ... full sentences would really be helpful (but i told you that before)11:01
isapgswelli disabled permanent MEI11:01
isapgswellwithout reflasing11:01
gryisapgswell: brand and make of that evil notebook11:02
lotuspsychjelol11:02
isapgswellgry sorry about you11:03
isapgswellogra no children here, sorry about you too11:05
mortso, my understanding is that anyone can upload a snap for anything. For example, I could take something like the rustup program, package it as a snap, and submit it - and if no one else has done that, it will be installed by anyone who types `snap install rustup`. Is this correct?11:05
mortfurther, anyone who types `rustup` in their terminal would be adviced by the terminal to install my snap, right?11:06
oerheksmort, yes, if you claimed that name, they will11:06
ogracorrect11:06
mortwhat are the processes in place to prevent me from uploading a rustup with malware for example?11:06
mortI mean rustup is claimed already, but for a package which isn't claimed yet11:06
ograthogh note that "well known package names" are usually reserved by default  ...11:06
ograso you would need to ask for the name explicitly11:07
ogra(typically packages that have a deb equivalent in the archive)11:07
mortright, so rustup probably isn't reserved then11:07
ograthe registration page has a "dispute this name" button or so ... that you can use to talk to the store people11:08
oerheksmort, see the snap developers page, how snaps are reviewed11:08
oerhekshttps://snapcraft.io/blog/trust-and-security-in-the-snap-store11:08
rud0lf.ca11:09
rud0lfdisregard11:09
gryoerheks: who reviews it? volunteers?11:09
oerhekssnapcraft team, and volunteers11:09
mortwhat specifically though would prevent me from making a snap of something like rakudobrew, include some subtle malware which is hard to catch through a quick manual review, uploading it to the snap store, and infiltrating the machines of everyone who follows apt's suggestion when they try to `apt install rakudobrew` and apt tells them "try snap11:10
mortinstall rakudobrew"11:10
ograthe builtin snap confinement would prevent you from doing that11:11
ograall you could infiltrate is the snap sandbox11:11
ogranot the host11:11
mortnot really, this would be a kind of snap which it would make sense to use classic confinement with11:11
ograclassic gets a full manual review11:11
mortapt would tell people, "do snap install rakudobrew", snap would tell people "do snap install --classic rakudobrew", people would do that and I would get their cryptocurrency wallets11:11
ograso your malware would likely be found11:11
mortI wonder how thorough those reviews are11:12
ograclassic snaps undergo a very slow, longwinded approval process11:12
ogra(of several weeks usually)11:12
mortdo you upload binaries or source code + build script11:12
oerheksyou might want to reask in the snappy channel11:12
mortto the snap store11:12
ograyou upload a binary snap11:12
ograyeah, lets take this to #snappy11:12
mortright11:13
=== EriC^ is now known as EriC^^
xu-help43wWi-Fi connection often falls off. help please set up. Network controller: Ralink corp. RT3290 Wireless 802.11n 1T / 1R PCIe11:46
xu-help43wcan anyone help?11:46
=== yeats is now known as chreeus
=== chreeus is now known as csharp
=== csharp is now known as csharp_
gryxu-help43w: check output of "sudo dmesg" in terminal, please11:48
xu-help43wready11:50
gryxu-help43w: put it into a pastebin.11:51
gry!pastebin11:52
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.11:52
uluntu1Hi11:52
uluntu1I have set up isc-dhcp-server over Ubuntu server 20.04. Isc-dhcp-server starts well. But when I plug a network cable to link the server to the switch, I get the following message: network failed - Connection activation failed. Problem described here: https://askubuntu.com/questions/1345088/ubuntu-server-20-04-set-ip-isc-dhcp-server-network-failed11:53
ledeni[m]xu-help43w:  can you give me url of ip a | grep wl | nc termbin.com 999911:54
xu-help43whttps://paste.ubuntu.com/p/xVmrZBPY9C/11:56
ledeni[m]xu-help43w:  'sudo ifconfig wlo1 | nc term.bin 9999' url12:07
c_89hi12:07
ledeni[m] * xu-help43w:  'sudo ifconfig wlo1 | nc termbin 9999' url12:07
ledeni[m] * xu-help43w:  'sudo ifconfig wlo1 | nc termbin.com 9999' url12:08
ledeni[m]xu-help43w: sorry mistake12:09
ledeni[m]xu-help43w: can you give url of last post12:10
xu-help43whttps://paste.ubuntu.com/p/xVmrZBPY9C/12:11
ledeni[m]xu-help43w:i mean 'sudo ifconfig wlo1 | nc termbin.com 9999' you just paste in terminal and you will have termbin url12:13
ledeni[m]xu-help43w: pate it and enter12:13
ledeni[m]*paste12:14
=== EriC^ is now known as EriC^^
xu-help43wcommand not found. I have xUbuntu12:15
ledeni[m]xu-help43w: yes sorry  'sudo iwconfig wlo1 | nc termbin.com 9999'12:16
RupertEvertonhello everyone -- i'm looking for an applet as close to this one as possible https://i.imgur.com/y2Y6TVk.png (this is from a screenshot posted on WhiteSur theme) -- basically a way to display all the info in one applet instead of having one for each12:17
ledeni[m]xu-help43w:  I'm just interested  about your power management is on or not12:21
ledeni[m]xu-help43w:  and if yes then just run 'sudo iwconfig wlo1 power off' and see how is going on with your connection12:25
xu-help43whttps://termbin.com/v1vu212:31
ledeni[m]xu-help43w:  yes it is on  just run 'sudo iwconfig wlo1 power off'12:33
=== ExeciN17 is now known as ExeciN
xu-help43whttps://termbin.com/v1vu212:35
xu-help43weverything is the same to mine12:36
ledeni[m]xu-help43w:  yes because i did not ask for url but we can check again 'sudo iwconfig wlo1 | nc termbin.com 9999'12:39
ExeciNHi people. Is there a way to rearrange the drives? On some machines, the OS drive is sda and on some others is sdy12:44
ExeciNfstab only has uuid references so even if the os drive changes from sdy to sda, the os would still boot fine12:46
oerhekswhen does " the os drive changes from sdy to sda" ???12:46
oerheksnever heard of such behaviour12:47
ExeciNwell, I want to induce such behavior12:48
oerheksthere is none.12:48
ExeciNhow can I?12:48
lotuspsychjeExeciN: whats your endgoal exactly with this?12:50
ExeciNput the os drive as sda, the "cache" drive as sdb and the rest 24 drives as whatever, repeat for all 5 machines, configure said 5 machines using identical commands12:52
MrMobiusis there an existing PXE server I can use to install ubuntu server?12:54
oerheksfirst drive is always sda, so when does it change to sdy ?12:54
ExeciNoerheks: I'm not exactly sure what you mean with "first drive" but in any case, I want to change sdy to sda12:55
oerheksMrMobius, no, but you can easily setup one yourself?12:55
MrMobiusoerheks, kind of a chicken and egg problem12:56
oerheksit is more simpler than that, there is no pxe service on the www AFAIK, you have to do that yourself12:58
ravagethe closest thing to a public server is https://netboot.xyz/ . but you still need to boot that somehow13:05
chalcedonythe community moved over here, right?13:07
Chunkyz-RPichalcedony: sure did.13:08
ExeciNhttps://wiki.ubuntu.com/IRC/ChannelList13:08
Chunkyz-RPiExeciN: has that even been updated?13:09
oerheksChunkyz-RPi, yes, 2 lists for freenode and this server13:10
ExeciNit mentions this very channel on libera13:10
oerhekseasy to read yourself..13:10
Chunkyzoerheks: don't have a web browser currently installed hence not reading it. :-)13:10
=== heap_ is now known as heap
spinningCathalo13:18
spinningCatwhat did i do wrong here? https://bpa.st/M5WQ13:18
oerheksi see makeup errors, a systemd unit is type sensitive13:19
oerhekscompare with https://www.oreilly.com/library/view/odoo-11-development/9781788477796/04962a35-0ab6-4519-a279-4afc27992049.xhtml13:20
spinningCatmakeup errors?13:20
oerheks[Install]   WantedBy=default.target = on the same line13:20
spinningCatoh13:21
oerheksand there is a tool to check the unit13:21
spinningCatdamn13:21
wezspinningCat: .o/13:21
spinningCatwhat tool13:22
spinningCathow goez wez  warez13:23
oerheksoh wait, that is for netplan > sudo netplan try13:24
wezspinningCat: How goes cycling13:24
wezI don't warez13:24
spinningCatmorning and evening13:24
wezI pay for content13:24
spinningCatlike 50km a day13:24
wezoh>13:24
wezI have been sick for the last 3 weels13:25
wezand it has been raining all this week13:25
oerheksthese are validators https://www.liquidweb.com/kb/validate-yaml/13:25
oerheks!ot13:25
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!13:25
wezI did do some 1year old bench presses though13:25
wez12Kg weight13:25
oerhekswez, please, use an offtopic channel for chit chat13:25
wezoerheks: oh sorry, I thoiught i was in web-social13:26
wezwhere I usallty speak to spinningCat13:26
Mekaneck!ot | wez13:26
ubottuwez: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!13:26
wezMekaneck: Thnx mate, oerheks beat you to it13:26
Mekaneckjust to make clear where you can chit chat13:28
wezMekaneck: cheers13:28
chalcedonyMy husband is having a problem with a new setup of Ubuntu 20.04. He's still running the live version on a usb stick and the hard drive. It can't see the Internet.13:55
chalcedonyi'm on the internet fine, his other computer is fine, that one says no internet.13:55
chalcedonyi asked him to check the cord - wired lan, and it's plugged in.13:55
chalcedonyit's not a new computer and it's been fine previously.13:56
chalcedonyit can't ping, doesn't have traceroute.13:56
sixwheeledbeast"lshw -C network" should show ethernet device?13:59
coz_sixwheeledbeast, lspci   ?14:01
chalcedonyi'll take a look, thanks14:01
sixwheeledbeastonly if it's pci, it maybe builtin14:02
chalcedonysixwheeledbeast, does it matter if i use sudo for that?14:04
sixwheeledbeastshould show without but best with sudo yes14:05
yuzihello14:10
chalcedonysixwheeledbeast, it shows the wireless interface first, then the gigabit ethernet controller. could it be trying to run wifi?14:12
chalcedonyi took pictures of his screen but i'm not good with uploading pictures. if you tell me what to copy, i can do that.14:14
sixwheeledbeastthats just a list of detected hardware for the system.14:16
chalcedonyok14:16
sixwheeledbeastcheck the connection information for that, not sure where that is with vanilla ubuntu, possible in a panel top right?14:17
sixwheeledbeastdo you have a local ip?14:17
sixwheeledbeast"ip addr"14:17
chalcedonyi'll try that14:17
sixwheeledbeastor ifconfig14:17
chalcedonysure14:18
sixwheeledbeastyour looking for a connection with letters and numbers like enp3s0 or what have you14:19
=== SWAT_ is now known as SWAT
chalcedonyit doesn't have ifconfig and can't download it14:22
chalcedonyip addr seems to give me a v6 address14:22
chalcedony1: lo: <LOOPBACK,UP LOWER UP, mtu 1500 qdisc fq_codel state UP group default qlen ..14:24
chalcedonyi think what i am is too tired to do this.14:25
chalcedonyi'll be back later thanks sixwheeledbeast :)14:26
=== dewwii_ is now known as dewwii
eoli3nHi, nautilus doesn't detect a samsung phone, libmtp is installed, don't know what to check14:41
eoli3n(connected with usb)14:41
oerheksunlock the phone before connecting perhaps?14:48
oerheksthen in terminal: mtp-detect14:49
=== TomyWork is now known as TomyLobo
=== TomyLobo is now known as TomyLobo2
=== TomyLobo2 is now known as TomyLaptop
=== TomyLaptop is now known as TomyWork
oerheksmaybe you have to set enabled USB Debugging in Developers Options on your device too..14:51
eoli3noerheks tried the unlock tip with mtp-detect, it doesn't see any "raw device"14:52
eoli3ni'm rebooting phone and pc to be sure, because i installed mtp-tools (which was missing)14:52
eoli3noerheks USB debugging trick, not sure i need this14:53
eoli3nbut lets test14:53
[code]phone has to be unlocked too14:53
oerheks[code], indeed14:54
oerheksthat was my 1st hint14:54
=== Scotty_Trees2 is now known as Scotty_Trees
[code]ah i see.14:55
eoli3nhow to be sure i need USB Debugging ?15:03
eoli3nthat's for my mother huhu, i'm debugging her at phone15:04
eoli3nenable developers options by leading my mother with my voice is funny15:04
eoli3nbut she did not succeed XD15:04
eoli3n"search for build number and click 7 times on it" she " there is no menu" me "yes this is a hidden one, clic on build number"15:05
eoli3nok usb debugging check15:14
eoli3nwhen she connects usb, nothing prompt on android, and i run through ssh "watch -n1 mtp-detect" which see nothing15:14
eoli3ni can't even see usb connected with lsusb, she's searching for another usb cable15:26
TomyWorkI assume you checked other ports too?15:28
eoli3ni did15:28
eoli3nshe tried 3 usb ports15:29
TomyWorkthe quantum superpositioned ports too?15:31
eoli3nonly usb ones :)15:33
heaphello whe ubuntu package of zfs-dkms is the same as i download zfs from github and compile it manually?15:35
eoli3nthat was the cable15:36
eoli3nwith a new cable everythings ok15:36
=== Ricardus_ is now known as Ricardus
bandit-ledhow to keep okular and libepub fom filling up .xsession-errors with cruft from opening files?16:05
=== genii-core is now known as genii
tomreynbandit-led: can you share some of those logs on a pastebin?16:12
tomreynheap: zfs.dkms will compile the kernel modules for the currently running kernel, based on the module version released with this ubuntu release. you will likely find both older and newer module versions somewhere on github16:14
tomreynbandit-led: make sure you also discuss the ubuntu version and flavour you're using, and relevant customizations (such as a different default desktop environment, X server)16:15
=== bsmith093 is now known as Guest3252
=== Aprexer is now known as Guest530
=== E_Eickmeyer is now known as Eickmeyer
=== csharp__ is now known as yeats
=== trekkie1701c_ is now known as trekkie1701c
=== cipherboy1 is now known as cipherboy
=== cmagina_ is now known as cmagina
=== stwalker1ter is now known as stwalkerster
=== yeats is now known as csharp_
=== gr33n7001 is now known as gr33n7007h
=== keypushe- is now known as keypusher
grobkornhello channel. need some advice with mounting a NFS drive from synology... installed nfs-common... created a directory in /mnt .. after using mount i cant access to that directory... ubuntu 20.10... any hints?17:05
oerheksgrobkorn, this is the whole tutorial, nas-part, install part, mount part, and more important; file permissions https://acceptdefaults.com/2020/03/16/mounting-a-synology-share-in-ubuntu/17:08
oerheksafter any group changes, logout/login17:08
gt756grobkorn, it depends on exactly how your mount command looked like, and whats in the logs17:08
gt756p.s. and on permissions (as oerheks has righly noted)17:09
grobkornmounting via CLI --> mount AND fstab... both has the same result17:11
grobkorndone everything like in that tutorial... mounting itself comes with no errors.. but cant access the directory after mounting17:11
grobkornchmod says - nop permission after mounting17:12
gt756wondering, why would you use chmod after unsuccessful mounting? =#17:15
gt756what for?17:15
grobkornbecause the posted tutorial says to use chmod if you dont have the permission, right?17:19
grobkornhave the exact same entries in my fstab on my laptop... everything donel like described in the tutorial... it works perfect on my laaptop,, but not on my pc... both ubuntu 20.10... i have no clue :///17:20
gt756isn't it that you have to have right permissions on your mount point directory, first. Before mounting?17:25
gt756And if your mount failed, or you don't have access to mount point after mounting - your chmoding is useless. It neither goes to target, neither to mountpoint.17:26
gt756But of course that recursive chmodding will work if (and only after) mount was successful, and you can enter mount point dir. Even if it's weird to override all permissions to shared resource each time new user mounts it - it becomes stupid wars of users owning it.17:29
grobkornaaah ... thats so stupid... synology changed the SQUASH settings during update to DSM7.... sorry - now everything works... thank u all17:42
=== SuperL4g is now known as SuperLag
raubYou are scaring me: I have a synology box I have not updated recently17:47
=== blue_penquin[m] is now known as Guest4534
bandit-ledhow to keep okular and libepub fom filling up .xsession-errors with cruft from opening files? sorry for not adding extra information.   Ubuntu 21.04 hirsute (x86-64) https://paste.ubuntu.com/p/HbkrGRkFRR/18:34
Chunkyz-RPianyone ever got this with lightdm? Process: 767 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)18:39
bandit-ledhost info etc https://paste.ubuntu.com/p/sYjNpM4hrC/18:42
jfcaronI am on Ubuntu 20.04 LTS but I require packages that are apparently only available up to 18.04 LTS.  Is there a way to install the old packages on the new system?18:46
bandit-ledwhat are the packages?18:46
jfcaronqt4-default and all the dependencies18:47
bandit-ledwhats the app your trying to install?18:47
jfcaron(and yes I know qt4 is like a bajillion years old)18:47
jfcaronit's a custom GUI for talking to a data acquisition hardware18:48
jfcaronI need to compile the custom GUI and it requires qt4 (and QWT, qtcanvas)18:48
jfcaronIt was written by a lab member many years ago, no one is available to overhaul it to Qt5.18:49
jfcaronI tried compiling Qt 4.8 from the .tar.gz but I get a compile error I don't understand, I figured maybe it was possible to install the .deb from 18.0418:49
oerheksfocal .. https://launchpad.net/~rock-core/+archive/ubuntu/qt418:49
jfcaronoh, awesome oerheks, thanks.18:50
oerheksuse at your own risk.. but you seem to have a legit reason, have fun!18:50
bandit-ledi would also say not to do that18:50
bandit-ledwhats the last lts that has qt4?18:51
oerheksbuild such in a vm18:51
bandit-ledif there is one even18:51
jfcaron18.04 LTS apparently still has qt418:51
oerhekshttps://launchpad.net/ubuntu/+source/qt4-x1118:52
oerheksjups18:52
jfcaronbut I had trouble with stuff that needed QtCanvas even there18:52
bandit-ledyour going to have alot of issues trying to do what you want18:53
bandit-ledthere is no updated version of the app your trying to use?18:53
jfcaronIt was written by a grad student like 8 years ago18:53
bandit-ledmight be better to install the version that has qt-4 then post the error your getting trying to do what your doing18:53
jfcaronI tried that before in #qt but everyone just told me to stop using qt4.18:54
jfcaronIt's like asking python 2.x questions in #python, good luck getting any sympathy.18:54
bandit-ledthen your going to have to do the vm route to use the app or contact the grad studient18:54
jfcaronMy eyes are set on the "this is my last week at this job" solution right now.18:55
jfcaronOh good, the qt4 from that PPA is going to uninstall qt5 on my system.  I'm sure that won't break anything. = )18:55
bandit-ledmaybe do a full backup before you start throwing ppa's at it18:56
sixwheeledbeastthat's often the issue with this stuff tho, kick the can down the road...18:56
oerheksagain; build such in a vm18:56
sixwheeledbeastI'd say vm too18:57
jfcaronIf the bigshot professors with a million dollars in funding can't be bothered to hire software professionals to maintain their stuff...18:57
jfcaronWe have another physicist doing all the networking in the lab too.18:57
sixwheeledbeastat least the main system is not compromised.18:57
bandit-ledyes but your talking about software from a grad student18:57
jfcaronIs the software in a VM likely to be able to talk to a card in a PCI-Express slot?18:58
oerhekspci pass through, sure18:58
bandit-leddepends on the device and what your trying to do but that a different question18:59
jfcaronGod I thought the hard part would be figuring out which version among foo_dev, foo_build, foo_build2 of the code to compile.19:00
jfcaronCuz obviously it's been customized over the years and never documented or put into a version system.19:00
jfcaronHow did you get that launchpad URL for the latest Ubuntu that had a package?19:02
jfcaronIf I'm doing a VM anyways I would install a really old one that has QtCanvas19:02
jfcaronBut I don't even know the name of the package.19:02
sixwheeledbeastBackup the system you have now and turn that into the VM?19:03
jfcaronNo, the same system needs to be able to talk to other equipment with more-modern interfaces (the HV power supply uses Qt5 for its GUI)19:04
jfcaronOr maybe I'll give up.19:04
tomreyndon't give up, solve the actual problem19:05
=== mikeputnam1 is now known as mikeputnam
tomreynunmaintained / unmaintainable software which the solution you want to use depends on.19:05
jfcaronlol ok I'll fix the actual problem of postdocs only being given 2 years to work on projects and academics never bothering to document their code or do anything properly because there is no time.19:05
jfcaronI have until Friday next week. =)19:06
sixwheeledbeastsolve problems you can actually solve.19:06
tomreynmaybe not this one then. ;)19:07
sixwheeledbeastI dont see how the "qt5 HV supply" effects my solution but ok.19:07
sixwheeledbeastaffects19:08
sixwheeledbeastmeh19:08
sixwheeledbeastif you have docs for that it can be installed on the same system not the vm, or another vm etc etc.19:09
Guest64why cannot I putty into the machine running at runlevel 3 ?19:09
jfcaronI can't even find what package I'd have to install to get "QtCanvas" working, there's more modern stuff called QtCanvas3D that swamps all the search results.19:10
sixwheeledbeastsounds like a qtwebkit thing?19:12
jfcaronLooks like it was a backported Qt3 thing for Qt 4.119:13
jfcaronhttps://dot.kde.org/2005/12/20/qt-41-now-available (Ctrl+F for qtcanvas)19:13
jfcaronI can find a download for 4.119:13
jfcaronhttps://download.qt.io/archive/qt/4.1/19:13
tomreynGuest64: if "the machine" is a system running a supported Ubuntu release (see /topic) and by "putty into" you mean "connect to, through the ssh protocol, with the putty ssh client", then it's probably because the ssh server is not installed / running on the Ubuntu system, or due to unsuccessful authentication, or for lack of permissions.19:13
jfcaronSo maybe I could set up a VM with an Ubuntu version that has Qt 4.1 in the repos.19:13
tomreynGuest64: the error message you get threre may help narrowing this down more.19:15
oerheksjfcaron, xenial perhaps, and use the old-versions trick from the EOL upgrade factoid19:16
oerheks!eol19:16
ubottuEnd-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades19:16
jfcaron!xenial19:18
ubottuUbuntu 16.04 LTS (Xenial Xerus) was the 24th release of Ubuntu. !End-of-life was April 30th, 2021. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade19:18
jfcaronoerheks What's the EOL upgrade factoid?19:19
oerheksjfcaron, you would end up with "deb http://old-releases.ubuntu.com/ubuntu/ xenial main restricted universe multiverse19:19
oerhekshttps://help.ubuntu.com/community/EOLUpgrades#Update_sources.list19:19
jfcaronIn a 16.04 VM, or on my 20.04 machine?19:19
oerheksno, in the vm ofcourse19:20
oerheksthere is just 1 server online, for such old versions19:20
jfcaronOk I will make a 16.04 VM and try to get it working on that.19:27
jfcaronI hope I can undo the damage from this PPA.19:27
ash_worksiI just watched 2 videos where people pronounce gnome "gah-nome"... is that really how people pronounce this?19:30
sarnoldI say something more like "guh-nuhm"19:32
jfcarong'nome mate19:33
sarnoldcrikey19:33
oerheksgno-mé19:33
sarnoldgno-me, gno-myou, gno-mus19:34
jfcarongee-nom19:34
Mekaneckofftopic.....19:34
ash_worksioerheks sarnold I'm not sure if you're saying you pronounce the g or not19:37
ash_worksiI'm just stunned anyone pronounces it19:37
krytarikI guess it depends a little on what your first language is too..19:38
ash_worksito me, it's like pronouncing "what", w-hat19:38
Mekaneckash_worksi: that chit chat belongs in #ubuntu-offtopic19:39
ash_worksisorry Mekaneck; I thought the question was trivial enough to be done by now19:39
Mekaneckit's a ubuntu support channel, you should know better ;)19:40
ash_worksiMekaneck: you're right19:41
krytarikMekaneck: I feel like there is a bit much attitude swinging alongside though.19:48
Mekaneckdepends on how you pick it up19:50
Mekaneckanyhoo, have a nice eveing19:50
Mekaneck*evening19:50
Linkandzeldawhat would cause my ssd write speed to be less than 10MB/s on an idling server with no resources?19:51
WalexLinkandzelda: O_PONIES :-)19:53
WalexLinkandzelda: small committed writes.19:53
=== s_ is now known as hays
WalexLinkandzelda: small committed writes on flash SSD without persistent buffers.19:54
=== s_ is now known as hays
LinkandzeldaWalex: im not sure what that means, could you explain?19:56
WalexLinkandzelda: web searching helps.19:57
oerhekswhy would the writespreed higher on an idle system?19:58
oerheksseems like to me that it does not do that much.19:58
WalexLinkandzelda: it is a very common issue. Look for benchmarks for 4K random writes on a consume flash SSD.19:58
oerheks10 mb/s measured over a period of time..19:59
Walexpretty good actually.19:59
oerheksso, is your server unresponsive ?19:59
Walexmany flash SSDs cannot do as much as 10MB/s on small committed writes.19:59
Linkandzeldaits a fresh install of ubuntu, no services, no data20:00
Walexit is 20 times faster than on HDDs.20:00
Walexthat 10MB/s is still 20 times faster than on HDDs.20:00
Linkandzeldaim using fio to do a random write test: fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=4k --numjobs=1 --size=4g --iodepth=1 --runtime=60 --time_based --end_fsync=120:00
Linkandzeldathe same test on mt laptop gives me 400MB/s write20:00
WalexLinkandzelda: have you heard of something called "Google"? I am told it contains a lot of information.20:01
sarnoldWalex: that's not super-helpful20:01
LinkandzeldaWalex: yea, not helpful at all20:01
Linkandzeldai come to IRC for targetted help, in case someone knows exactly the same issue, after googling20:02
=== hays is now known as h_
Walexsarnold: Linkandzelda: it is pretty basic, storafge 101 information, that can be foung easily just with the keywords I mentioned.20:02
WalexLinkandzelda: and it is not even related to Ubuntu.20:03
WalexThe explanatiobn takes several paragrpahs, and I think that to be helpful I would have to do the web search myself, and I cannot understand why the person requesting the information has not done that already.20:04
WalexNote that I also already gave the obviously correct answer in detail "small committed writes on flash SSD without persistent buffers". has someone else done more? They are welcome to try.20:05
LinkandzeldaWalex: still nowhere with it, but i'll stop asking if its not related to ubuntu directly20:15
* Walex has looked at https://www.google.com/search?num=50&as_q=small+committed+writes+on+flash+SSD+without+persistent+buffers and the results are pretty explicit20:18
LinkandzeldaWalex: you are basically telling me "thats how it is"?20:22
=== TheMaster is now known as Unit193
LinkandzeldaWalex: im just not making any sense of what you are pointing me at. I am only trying to assertain if there's a problem with this system or the hardware. what pointed me to believe there was is that im getting faster sequential writes to an ssd connected via usb 2 to a raspberry pi than an internal sata ssd. 101 or not, that does not make sense20:32
sarnoldhow's smart output look on the drive?20:33
Linkandzeldasarnold: basic health check passed20:34
sarnoldLinkandzelda: and the error counts?20:35
Linkandzeldasarnold: looks like a very old drive, power on hours 4446 and all marked as "Old-age" and one "Pre-fail"20:37
sarnoldthat isn't even half a year of uptime..20:38
Linkandzeldasarnold: this is the report https://hastebin.com/wubabiqoqa.yaml20:41
sarnold199 UDMA_CRC_Error_Count    0x0032   100   100   050    Old_age   Always       -       2657320:41
sarnoldI wonder if that's "bad cable" kind of thing20:42
Linkandzeldasarnold: thats totally possible, gonna swap the cable on the drive now and see if that has any difference20:43
sarnoldtwo ssds I've got with 38559 hours power-on time report zero udmo crc error counts20:43
webchat79I'm on an Ubuntu focal.20:57
webchat79I just found out I have 2 docker containers running on my machine for mysql and ghost.20:57
webchat79I vaguely remember having played with them a month ago but no more.20:57
webchat79Where should I look to find how they startup everytime I restart?20:57
webchat79doing a `docker ps --no-trunc` give me the following:20:58
webchat79```20:58
webchat79```20:58
webchat79```20:59
webchat79CONTAINER ID                                                       IMAGE            COMMAND                                        CREATED       STATUS        PORTS                                       NAMES20:59
webchat79238ae6052d38c59c2f72de51672a0fad9b986ea534bb0b4291bc04efd77e1b98   ghost:3-alpine   "docker-entrypoint.sh node current/index.js"   4 weeks ago   Up 10 hours   0.0.0.0:8080->2368/tcp, :::8080->2368/tcp   newtest_ghost_120:59
webchat7991f6c45310654bf9c3c9d46de52b0d1608aa07b759e0cad40af2cd3cccf9b519   mysql:5.7        "docker-entrypoint.sh mysqld"                  4 weeks ago   Up 10 hours   3306/tcp, 33060/tcp                         newtest_db_120:59
webchat79```20:59
tomreyn!paste | webchat7920:59
ubottuwebchat79: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:59
webchat79got it, sorry, I'm more used to Discord21:00
tomreynno problem then. ;-) i'm afraid i don't know your very answer, i'm not too much into docker.21:01
tomreyndocker itself will be a systemd unit21:01
webchat79https://paste.ubuntu.com/p/Jk8CRgVmBn/21:01
Slartfrom a quick google-search it seems like docker handlers much of this itself.. there's also ways to do it from systemd etc...  I would start checking for docker commands21:01
webchat79This is the output of `docker ps --no-trunc`21:02
tomreynhttps://docs.docker.com/config/containers/start-containers-automatically/21:02
webchat79I looked into this file from that output `docker-entrypoint.sh`21:02
webchat79and found a bunch of them in the the `overlay2` subfolders that are managed by docker21:03
tomreynsee the link i posted above, i think it explains how to choose which ones gets started automatically21:04
webchat79O God21:04
webchat79So, this means that 4 weeks ago, I ran some containers with `--restart unless-stopped` flag21:05
webchat79and everytime I restart my machine they also startup again bc I haven't stopped them specifically21:05
webchat79I just forgot about them21:05
webchat79Gonna test that hypothesis21:06
webchat79Restart my pc and see them containers running again21:06
webchat79then stop them by command and restart again21:06
webchat79if they don't start it's correct21:06
webchat79Thanks a lot21:06
tomreynyou're welcome21:07
webchat79btw, is this the right/best channel for asking these normal linux/ubuntu question21:07
webchat79?21:07
tomreynif you run an ubuntu release that's supported, yes21:08
webchat79thanks, that's a relief, ran this question on a lot of discord servers with no response21:08
tomreynfor general linux questions, you'd head over to the #linux channel, and to #docker for docker (i assume, have not checked this exists)21:08
webchat79thanks again21:09
=== h1pot is now known as BeneditoSalvador
svm_invictvsI've got a docker container running ubuntu, how do I know which version it is?21:29
ZeZulsb_release -a21:29
svm_invictvsNo command lsb21:30
ZeZueither you forgot the '_' between lsb and release21:30
tomreyncat /etc/os-release    also works21:31
ZeZuor it's not running ubuntu and is extremely cracked out for not seeing the _ and giving full cmd in result21:31
svm_invictvsYeah no lsb_release21:31
svm_invictvsYeah my IRC client doesn't render underscrores for some reason21:31
svm_invictvsLinux e8c494837310 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 x86_64 GNU/Linux21:31
ZeZu20.0421:31
svm_invictvsThat's my kernel, though right?21:31
ZeZuyeah21:32
svm_invictvsWhich shares with the host machine.21:32
ZeZuI forget the docker containers can be very minimal and might not have lsb package,  i never use them : perhaps it's normal21:33
svm_invictvsYeah21:34
svm_invictvsYeah i"M not using the official ubuntu docker image21:34
tomreynit's not ubuntu if it doesn't comply with ubuntu defaults, though,probably some derivative which just claims to be ubuntu.21:34
svm_invictvsokay21:34
svm_invictvstomreyn, The host machine is Ubuntu20.04 right? So uname is sharing hte kernel of the host machine21:35
svm_invictvsuname doesn't tell me what I want.21:35
svm_invictvsAnd my cat just bit my face lol21:36
tomreynsvm_invictvs: i can't watch over your shoulder (nor bite your face, you're safe there!), so couldn't tell what the host is running.21:37
WalexLinkandzelda: "a problem with this system or the hardware" there is neither a problem with the system or hardware, as I wrote you have a "flash SSD without persistent buffers". Some flash SSDs have them, and some don't. Perhaps another useful keyword for searching is "supercapacitor" and "SSD"21:37
=== mxp_ is now known as mxp
svm_invictvs.21:45
svm_invictvstomreyn, I just change the base container to explicitly use ubuntu 20.0421:45
svm_invictvstomreyn, I was originally using the openjdk 11 containers. It's easy enough to just switch to ubuntu and then manually install the jdk.21:46
svm_invictvsI guess I could make alpine editions of my containers which is what all the cool kids do, but that's well beyond the scope of this discussion21:46
LinkandzeldaWalex: its a cheap ADATA 120gb so i believe that it doesnt have good components21:55
WalexLinkandzelda: it is not good or bad components, it is whether it has a persistent write buffer (and good firmware).21:56
WalexLinkandzelda: usually only "enterprise" SSDs have a persistent write buffer, backed by supercapacitors.21:57
LinkandzeldaWalex: and what about NVMe SSDs?21:57
WalexLinkandzelda: the same, it is a limitation of the flash chips.21:57
LinkandzeldaWalex: and HDDs?21:58
WalexLinkandzelda: much worse, because of mechanical positioning.21:58
WalexLinkandzelda: what do you think is the typical HDD write rate on comitted 4KiB random writes?21:59
Walexvery few people seem to have done the relevant multiplication and give the right number :-)22:00
WalexLinkandzelda: please guess a number for the HDD case22:00
WalexLinkandzelda: for HDDs there is a big difference in many case between enabling or disabling the HDD write buffer with 'hdparm', and it is similar for flash, only more/less bad.22:01
LinkandzeldaWalex: im not sure i could guess, without doing the tests22:03
WalexLinkandzelda: put another way, what is the random IOPS rate of an HDD, usually?22:03
Walexfor HDDs read and write IOPS rates are the same...22:04
LinkandzeldaWalex: ive never looked, the only thing i can tell you is the typical everyday use read/write and what i expect or have seen22:04
Linkandzeldai just know that HDDs are slow, and SSDs are fast haha22:04
WalexLinkandzelda: then a detailed explanation would indeed be a bit long... Anyhow some details22:05
LinkandzeldaWalex: a 4kib text on pi with usb2 hdd: WRITE: bw=74B/s (74B/s), 74B/s-74B/s (74B/s-74B/s)22:05
Linkandzeldatest*22:06
sarnold74 bytes per second?22:06
Linkandzeldaapparently22:06
WalexLinkandzelda: a typical HDD can do around 100 random IOPS, and with a 4KiB write size, that is 0.5MB/s.22:06
Walexsarnold: Linkandzelda: that probably is blocks.22:06
sarnoldeven random 4k writes that feels shockingly low.. you usually get around 100 random ops, so 400kbps is about what I'd expect...22:06
sarnoldWalex: oh that makes a lot more sense22:06
LinkandzeldaWalex: this is a usb22:06
Linkandzeldaoh wait, yes, its B = blocks22:06
sarnoldeven ancient usb ought to be able to do 400kbps :)22:07
Linkandzeldablock size is 4k22:07
WalexLinkandzelda: and the RPi USB2 is famously crap.22:07
Linkandzeldaso... 74 * 4k per s?22:07
WalexLinkandzelda: yes.22:07
LinkandzeldaWalex: i know, but its better than it's usb 3...22:07
Linkandzeldawhat i dont understand is the same test on the server in question using a usb hdd gives this result: WRITE: bw=6327KiB/s (6479kB/s), 6327KiB/s-6327KiB/s (6479kB/s-6479kB/s)22:08
Linkandzeldais that kbytes or kBlocks?22:08
WalexLinkandzelda: anyhow what really slows down all sort of storage is "committed", that is implicit or implicit22:08
WalexLinkandzelda: anyhow what really slows down all sort of storage is "committed", that is implicit or implicit 'fsync'.22:09
WalexLinkandzelda: that#s kibibytes. It is too high.22:09
WalexLinkandzelda: probably it does not do proper committing.22:09
LinkandzeldaWalex: its fio, i thought that was an amazing tool to check this kind of thing22:10
WalexLinkandzelda: USB2 mass storage protocol is not good for data integrity.22:10
WalexLinkandzelda: 'fio' is excellent, but you have to know what the various knobs mean.22:10
LinkandzeldaWalex: fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=4k --size=4g --numjobs=1 --iodepth=1 --runtime=60 --time_based --end_fsync=122:11
LinkandzeldaWalex: end_fsync means it syncs at the end of the test22:12
WalexLinkandzelda: those are plausible but perhaps they don't measure what you think. For example do you know how SSDs are likely to respond to increased 'iodepth' and increased 'bs'?22:12
WalexLinkandzelda: 'end_fsync' is "optimistic" as it makes the results too dependent on how much memory you got.22:13
LinkandzeldaWalex: i know that this is very complex, and different setups and hardware cause completely different results than what a typical situation would be like22:13
Linkandzeldathis is the SSD in question with the same test: WRITE: bw=9361KiB/s (9586kB/s), 9361KiB/s-9361KiB/s (9586kB/s-9586kB/s)22:13
WalexLinkandzelda: it is 20 times faster than a typical HDD.22:14
LinkandzeldaWalex: what would you expect from the same test on an NVMe?22:14
WalexLinkandzelda: same, if it does have committed writes and same memory size.22:15
WalexLinkandzelda: a 4G test file may be larger than RAM or a lot smaller.22:15
LinkandzeldaWalex: server ram is 2GB, pi 4GB22:15
LinkandzeldaNVMe is a laptop with 16GB ram22:16
LinkandzeldaWalex: the NVMe results WRITE: bw=433MiB/s (454MB/s), 433MiB/s-433MiB/s (454MB/s-454MB/s)22:16
Linkandzeldaam i reading the results wrong or this lightening speed?22:17
Walexyou have already mentioned these numbers before, and I have already mentioned the 20 times difference BTW22:18
WalexLinkandzelda: that is not necessarily the actual write rate... RAM caching.22:18
WalexLinkandzelda: while you run that test consider also running 'iotop'22:19
WalexLinkandzelda: what's the actual write rate reported by 'iotop'?22:25
LinkandzeldaWalex: sorry, a thunderstorm happened and the network went down22:29
svm_invictvsWhen configuring sshd, is tehre a way to specify the environment for the user session?22:30
Walex"just for fun" I have done a 'fio' run on my amazing 2TB NVME flash and I am getting random write rates of 50-70KiB/s...22:30
LinkandzeldaWalex: iotop reports values around 350-600MB/s for both total and actual22:31
Linkandzeldathats for the nvme22:31
WalexLinkandzelda: that's pretty good, but then I suspect that it is not doing committed writes.22:32
Linkandzeldamaybe it just has amazing cache or buffers or something, handled by the firmware itself22:32
Linkandzeldasomething the OS doesnt know about22:32
Linkandzeldaand the others dont, which give real values22:32
WalexLinkandzelda: the problem is that manufacturers deliberately omit the persistent buffer from consumer drives to force enterprise users to buy enterprise drives.22:33
Linkandzeldaeither way i understand now a bit better what to expect from these tests, but hope you also know why i was original alarmed at the different result and why i felt my SSD had a problem :)22:33
WalexLinkandzelda: sure, but that's how things are.22:33
WalexLinkandzelda: and there are some papers and benchmarks that show that :-)22:34
WalexLinkandzelda: BTW drive buffering on/off can also be set in BIOS. Many laptops have the default to "on".22:35
LinkandzeldaWalex: come to think of it i disabled write cache in the bios of this server22:35
WalexLinkandzelda: then it should be slower, unless the firmware ignores that.22:36
Linkandzeldashould i re-enable it?22:36
WalexLinkandzelda: only to test if it makes any difference.22:37
Linkandzeldai only disabled it because unfortunately the front 4 bays are broken and i was trying to get them working22:37
WalexLinkandzelda: I just remembered that this page discusses small committed write rates on SSD and has some simple test results: https://www.sebastien-han.fr/blog/2014/10/10/ceph-how-to-test-if-your-ssd-is-suitable-as-a-journal-device/22:40
WalexLinkandzelda: as you can see the "1 JOB" write rates go from "hundreds" to "a few" MB/s.22:41
sarnoldoh that's cool page22:42
Walexsarnold: Linkandzelda: this explains supercapacitors: https://www.anandtech.com/show/11765/liteon-ssds-at-fms-new-controllers-and-tsv-nand-packaging22:43
Walexsarnold: that page on Ceph journaling also applies to other types of journaling.22:43
sarnoldWalex: yeah I figured it'd be useful for zfs slog devices, too22:44
* Walex has just remember where he had put some relevant saved links22:44
sarnoldwell, useful for filesystems in genheral, but specifically useful for slogs etc22:44
Walexsomething about latency issues with flash SSDs: https://www.anandtech.com/show/13131/the-silicon-motion-sm2262en-ssd-controller-preview/322:44
Walexsomething about long term steady state testing: https://www.tweaktown.com/articles/6104/ssd-consistency-testing-18-drives-tested-for-real-world-performance/index.html22:45
sarnoldno wonder people loved those optane 900 drives..22:46
Walexsarnold: well, the write blocks are much smaller and the consistency is much higher, and the rw cycles a lot higher too.22:47
LinkandzeldaWalex: i turned off the write cache because there's a lot of power cuts here. i just turned it on, and gonna do the tests again22:47
Walexsarnold: flash SSD are essentially RAIDs of 8MiB BIOS flash chips.22:47
Walexsarnold: every time you do a committed write to a flash SSD you are reflashing a BIOS chip :-)22:48
sarnoldWalex: lol22:49
Walexsarnold: I know it sounds ridiculous, but it is (almost) the literal thing.22:49
sarnoldthank goodness it's faster than the bios updates I've done :)22:50
Walexsarnold: yes, but that is largely because BIOS chips are updated using a terrible buis (a serial link IIRC)22:51
LinkandzeldaWalex: with it off the ssd's results WRITE: bw=38.1MiB/s (39.9MB/s), 38.1MiB/s-38.1MiB/s (39.9MB/s-39.9MB/s)22:51
Linkandzeldaon*22:51
WalexLinkandzelda: that explains a lot :-)22:52
LinkandzeldaWalex: how real is the data loss from enabling the cache? i assume it means that if something is written and the OS thinks its done, its not commited til the cache is flushed22:53
WalexLinkandzelda: it is not a cache, it is a bffer for writes (even if lots of people confuse read caches with write buffers)... :-)22:54
WalexLinkandzelda: if buffering is disabled, and the drive lies to the OS, terrible things may happen, but often they don't22:55
Linkandzeldaeven the bios manafactuers lol22:55
WalexLinkandzelda: actually sometimes the buffer and cache overlap: so that just-written stuff can also be read back from the write buffer22:56
LinkandzeldaWalex: if the write buffer is enabled its essentially lying isnt it?22:56
Linkandzeldahow long does it take for such things to be commited out of that cache?22:56
srcI use go on ubuntu 21.04 and it's version 1.16.2 which is out of date, so I was looking for an easy way to track stable releases, and found a snap https://snapcraft.io/go however I am unsure now what happens if I install the snap? will the versions co-exist, will it somehow destroy my go build system22:59
WalexLinkandzelda: the storage unit buffer may have a timeout or only write out when it gets full, depends on the firmware.23:06
Walexah I had specified an odd paramter. With typical parameters, my NVME and SATA 2TB both do 30+30MB/s with mixed rw of 32KiB blocks, committed every 8 blocks.23:10
sarnoldsrc: it probably all boils down to the PATH that's in use in each process23:13
sarnoldsrc: if the snap go is in the PATH first in most but not all processes, you might run into problems, yeah; it might be worth uninstalling the deb packaged go if you're going to use the snap packaged go, just so you'll have fewer potential problems to troubleshoot23:14
Walexsrc: another small issue is that SNAPs can only access files under '/home/', so if you want to build anywhere else you need a "bind" mount23:14
Walexmy current quick-and-rough 'fio' test: https://paste.ubuntu.com/p/7gZ27GPxbb23:15
Walexnote that the test file size is much larger at 100G than the RAM size.23:16
Walexpure 32KiB random reads get me roughly 450MB/s on the NVME and 250MB/s on the SATA drive (on the SATA drive 'fio' reports 550MB/s, probably caching).23:19
srcsarnold: Walex: mhm kay thanks, good things to consider23:27
srcgiven ubuntu's six month release cycle and me not needing the newest version of Go that desperately atm, I'll postpone the issue for now23:28
srcseems easier to at some point install the official go package and use their infrastrcture fully not any os packages23:29
sarnoldit could be; when I was dabbling in rust, it was certainly much easier to use the rustup tooling to get rust and cargo23:30
srcI can imagine, and once you screw up using language specific ways to install stuff with packages in distro repositories etc23:31
srcit all goes to hell from there23:31
=== ghostcube_ is now known as ghostcube
sarnoldyeah, pip is a good way to make a real hash of things23:31
Walexsarnold: actually it is possible to use 'pip' in a safe manner, but it is very tedious.23:38
Walexsarnold: the key is to always, always, always use '--user'23:38
Walexthe dream: https://xkcd.com/353/ the common reality: https://xkcd.com/1987/23:41
sarnoldWalex: oh, I thought the trick was "always use virtenv"23:42
Walexsarnold: the key is to always, always, always use '--user' and always always use 'python3.N', and invoke 'pip' as something like 'python3.8 -m pip3 ...' and never user 'virtenv'23:42
sarnoldWalex: this second xkcd rings far more accurate23:43
sarnoldWalex: though it's missing the "stuff that only worked for 14 months a dozen years ago"..23:43
Walexsarnold: I know the 1987 XKCD strip number by heart as I have to use it sometimes several times a day :-)23:44
sarnoldlol23:44
Walexsarnold: sometimes with: https://boyter.org/static/books/Cf7eHZ1W4AEeZJA.jpg23:45
sarnoldperfect :)23:46
Walexhttps://boyter.org/static/books/CfSQdwUW8AErog1.jpg23:46
Walexhttps://boyter.org/static/books/pRDPMx2.jpg23:46

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