« first day (2766 days earlier)      last day (2183 days later) » 
01:00 - 18:0018:00 - 00:00

1:17 AM
0
Q: Which version of Debian is Ubuntu 18.04 based on?

AJ.Which version of Debian is Ubuntu 18.04 LTS based on?

 
1:36 AM
0
Q: ubuntu 14.04 LTS touchpad cursor frozen

Matt BaneyRunning Ubuntu 14.04 LTS on a Dell XPS-13-9350 in the last day or two the touchpad cursor started hanging, moving slowly, and then freezing. It will only move with a click-drag holding down on the touchpad, but then when I release it opens the right click menu, and left click is ignored... Resta...

 
 
3 hours later…
5:23 AM
0
Q: Linux encryption script using rsa algorithm from scratch

Post ApocalypticUsing the bash shell I am trying to compute 78390^91025(mod 180577) So using the base 78290 the power of 910025 and applying the modulus of 180577, I wish to obtain the following logic: y=base for i = 1 to the exponent-1 y := (y*base) mod 'modulus' next i print y In doing this I hope to sa...

 
5:39 AM
0
Q: Should I update from Ubuntu 14.04 LTS to a newer version? and if so how?

Matt BaneyI am running Ubuntu 14.04 LTS on a Dell 13-XPS-9350 laptop. I've had the laptop about 2 years. Should I upgrade to a newer version of Ubuntu? If so which version? and How? The Ubuntu Software Updater, and the Ubuntu Software apps, don't seem to have any information about how to install a new...

 
 
2 hours later…
8:06 AM
I wonder if it really makes sense to close 18.04 questions still as OT as of today is, regarding to the release schedule; the release day of 18.04!?
^--- CC: @pomsky , @karel
 
8:27 AM
Not anymore.
 
yes just saw this one in the questions and it was closed 6 hours ago
:)
maybe a bad example because this one might really be better a bug report
 
@Videonauth I voted to close that a few days ago as it looked like a bug, not just because it's about 18.04.
 
@pomsky maybe we need an PSA for the people who are reviewing that 18.04 is now fine, but i agree with you that it looks more like a bug even i cant reproduce it here
I'm on 18.04 now for about 2 months right now :D
 
@Videonauth if it seems like a bug close it. Otherwise determine if it can be answered
 
8:37 AM
@Rinzwind hm?
 
@ByteCommander more metal for you :=)
 
Eek net sprechen funny German... ;-P
anyway, sitting in a Maths lecture right now, not a good time to put on metal
 
But you can click on links :=) @ByteCommander
@ByteCommander that never stopped me :X
 
our prof is probably like 70 years old, I fear he might die from a heart attack
 
:D
I am so dumping Babymetal into that topic :D
 
yeah saw that :D
 
I first thought it is a jpeg or so
until i realised you can mark the text inside
 
 
1 hour later…
10:09 AM
@Rinzwind :D :D :D
@Videonauth Starred!
 
10:33 AM
Dumb question alert:
I want to:
for szFile in u*.fab; do cp --verbose "$szFile" "${szFile%.*}"; done
but with sudo. How do I do that?
 
@Fabby what do you mean? Either sudo for s in... or for s in *; do sudo cp.
What's making it hard here?
 
@Fabby There are no dumb questions, people which are dumb ask no questions, they just mess it up an then let others solve the mess. So asking is an intelligent way of gaining knowledge, therefore no questioni is dumb! There are only dumb answers :)
 
10:51 AM
@Fabby AWHOOOGA! AWHOOOOGA!
Still don't see a dumb question though. I was just wondering if I was missing something.
 
@Videonauth I think it makes sense to close the questions until it's officially released. If there is a problem with the release, whereas, for some reason it can't be released on this day, they would get better support from the development site to get an understanding of the delay.
 
@L.D.James I do not see any problems on my 18.04 which would indicate a reschedule
 
They are installing something that may have an official release note that we can use to give better answers, if they install an official release.
 
in fact the updates are nearly ceased of rolling in
 
I don't either. It wouldn't be possible to see a schedule problem unless there was one.
 
11:02 AM
@L.D.James on the other side canoncals main time zone is CST if i remember right
 
Since you and I "agree" that we don't see any scheuling problems, it would appear to make sense for the questions to wait for the actual scheduled release before trying to get support for something that hasn't been released.
 
so for them their days just started
 
I'm sure they are very busy getting everything organized to avoid confusion and problelms. I'm sure they want the release notes and everything to match when people start downloading the official released version.
Giving support to the beta version may flood the system with things that may not be a problem in the official release.
... or may have a simple solution that could be avoided by giving support for the official release and using the official notes and provided workarounds for issues tht remain.
 
@Fabby How about: sudo parallel echo cp -v {} {.} ::: u*.fab
 
yes we will see, the official announcement for 17.10 came about 16 o clock my time
and its actually 13:00 or 1 pm for those not familiar with 24 hour format
 
11:19 AM
@Videonauth trust me ... the announcement is not imminent.
 
@fossfreedom I trust you in that, you of all of us should have the most insight of us all about te schedule
 
I only watch the clock on the LTS versions. I'll have more insight the next time as a resulf of this script:

#!/bin/bash

echo "Checking the release status of 18 04 LTS" | espeak
elinkout="$(elinks "https://www.ubuntu.com/download/desktop")"
status="$(echo "$elinkout" | egrep 18.04)"
echo $status > status-18.04.out

while [ ! "$status" ]; do
date
sleep 300
done
date > ubuntu-18.04LTS-releasetime.sh
while :; do
echo "18 04 LTS has been released." | espeak
sleep 300
done
It'll be two years before I watch the clock for a release again.
 
@L.D.James for me a new release is in about 6 months :D
or earlier because i mostly install it when it reaches beta 2
 
I used to when I was younger... might start back again after I catchup a little bit with the current LTS versions. It takes me a little longer to soak in everything.
 
11:28 AM
I do install the interim versions, but later, when there are support questions that I try to test to see what might be going wrong.
 
@Videonauth tsk wussy! a real ubuntu user switches before beta
 
@Rinzwind I mostly do, 18.04 i has since beta 1
 
I switch when I get bored with a release. and LTS's are the most boring.
I still believe removing right click from the desktop is an idiot design decision :P
 
before it makes not much sense to switch but i mostly observe the alpha versions on a VM
 
at least it is when they do not let met alter it :P
 
11:29 AM
what do you want to alter?
 
I want right click to show me the context menu I know get by tapping touchpad with 2 fingers
 
I probably should pariticpate in alpha and beta more... and give feedback on some of the "idiot" desgn flaws.
2
 
Oh you are to blame? >:)
@L.D.James they probably don't like someone pariticpating >:-)
 
It would probably take a minute to get in the club.
I have been heard on some of my suggestions. I hit a lot of nerves, but some of the of the senior mods at ubuntuforums.com, apologized and told me that agreed with some of my suggestions, and mad efforts to make changes.
I believe they have ears, it just takes patiences to get through somethings.
 
12:24 PM
@terdon Sorry was editing and sourcing something else.
I meant: I want to execute all that under sudo and doing:
sudo 'for szFile in u*.fab; do cp --verbose "$szFile" "${szFile%.*}"; done'
doesn't work nor
sudo for szFile in u*.fab; do cp --verbose "$szFile" "${szFile%.*}"; done
basically I want to copy a bunch of files with extension "fab" to not have that extension and I need to run it as root.
Obviously, I can do a:
sudo -s
and then a:
sudo for szFile in u*.fab; do cp --verbose "$szFile" "${szFile%.*}"; done
CC @Videonauth
Smoke! BRB
@dessert what does that do?
 
as @terdon said: just put the sudo in front of the cp command:
`for szFile in u*.fab; do sudo cp --verbose "$szFile" "${szFile%.*}"; done`
 
:o I'm an idiot! :O
twice. Where did he say that?
 
:)
 
directly after your initial question
 
Damn! Missed that completely!
 
12:30 PM
You could also do sudo bash -c 'for file...'
 
@terdon yeah...
I'll try your first one
 
well happens, sometimes we fail to think outside the box we have set for ourselfes
 
Works like a charm:
/usr/share/applications
$ for szFile in u*.fab; do sudo cp --verbose "$szFile" "${szFile%.*}"; done
'unity-activity-log-manager-panel.desktop.fab' -> 'unity-activity-log-manager-panel.desktop'
'unity-appearance-panel.desktop.fab' -> 'unity-appearance-panel.desktop'
'unity-bluetooth-panel.desktop.fab' -> 'unity-bluetooth-panel.desktop'
'unity-color-panel.desktop.fab' -> 'unity-color-panel.desktop'
'unity-control-center.desktop.fab' -> 'unity-control-center.desktop'
'unity-credentials-panel.desktop.fab' -> 'unity-credentials-panel.desktop'
 
Yay!
 
(still need to find a good icon for the Wacom Tablet though)
 
12:36 PM
@Fabby The very same as your loop, but with multi-threading and a IMO very cool syntax. ;P
@Fabby no steam tablet?
@Fabby i need to learn to read first
 
@dessert man parallel
Wow!
 
@Fabby I won't answer a question of yours with rtfm, no I won't. ^^
 
I'm going to keep this command in the back of my head!
(Meaning: next time I'll need it, you'll probably have to tell me again it exists)
;-) :D ;-)
Back to my bash script that should tell me whether I'm in Germany or not.
 
false; while (( $? != 0 )); do sleep 600; wget -q http://releases.ubuntu.com/releases/18.04/ubuntu-18.04.4-desktop-amd64.iso; done
 
@Fabby hahaha, so your physical location is not always sure?
:P
kidding
 
12:46 PM
@dessert how is that different from while true?
 
@Zanna Dessert doesn't think like us mere mortals...
Some call that crazy, I call it "Genius"
@Videonauth This is what it looks like now:
#!/bin/bash

# Download lists, unpack and grep out titles, remove double quotes and write to$
curl --silent iblocklist.com/lists.php \
 | sed --silent "s/.*value='\(http:.*=p2p.*\)'.*/\1/p" \
 | xargs wget -O - \
 | gunzip \
 | grep --invert-match '^#' \
 | sed 's/\"//g' \
 > ~/.config/qBittorrent/ipfilter.dat

curl --silent whatismycountry.com | sed
 
@Zanna it's less readable and more complicated, simply :)
 
oh I see :)
 
Yup, what I said!
 
@Fabby If you end the lines with the pipe, you don't need to escape. I find that far more readable, personally:
 
12:53 PM
:D :D :D
 
#!/bin/bash

curl --silent iblocklist.com/lists.php |
    sed --silent "s/.*value='\(http:.*=p2p.*\)'.*/\1/p" |
    xargs wget -O - |
    gunzip |
    grep --invert-match '^#' |
    sed 's/\"//g' > ~/.config/qBittorrent/ipfilter.dat

curl --silent whatismycountry.com | sed
 
@terdon :O
changing that immediately!!!
thanks!
 
while bored; do various unnecessary operations; done
 
another bash question:
curl -s https://whatismycountry.com/ | grep "hank you for joining us from" has as output: var typedText = {"strings":"[\"Thank you for joining us from Germany\", \"enjoy your stay\"]"};
How do i just get "Germany" from that output?
 
if you put a newline in a chat message all the formatting dies
 
1:01 PM
Thanks!
 
np. It's an annoying er feature
 
It's probably documented somewhere, so it's a feature.
Smoke, brb
Ah! bash string expansion!
Reading that after my smoke
 
@Fabby curl -s https://whatismycountry.com/ >/dev/null && echo Germany
genius :D
 
@Fabby curl -s https://whatismycountry.com/ | grep -oP 'Your Country is \K[^<]+'
 
1:03 PM
you can use that useful thing from Perl ^
 
@Fabby curl -s https://whatismycountry.com/ | sed '/joining/!d;s/.*joining us from //;s/\\".*//'
 
@dessert I like Terdon's better...
 
@Fabby me too
 
preens
 
sed is silly not to have magic \K
 
1:06 PM
@Zanna Yeah, but sed only does ERE. It doesn't even have lookarounds.
 
@dessert it does:
curl -s whatismycountry.com | grep -oP 'Your Country is \K[^<]+'
Germany
 
@Fabby shame upon me
I like it so much that we have Worthy of a star ----^ on the right now. Thanks Fabby!
 
Hello :)
 
Hallo. :-)
 
Hi!
 
1:12 PM
@Fabby Good afternoon to you Fabby ! :)
@dessert Good afternoon to you too ! :)
@Fabby Do you wanna see how I built the "frickin" Broadcom WLAN drivers for the current RHEL 7.5 edition ?
 
1:33 PM
@Zanna I suppose if you want to process text using PCRE you just use Perl. ;P grep serves a different purpose, so it's useful to implement PCRE. Note however that man grep calls the -P option “highly experimental” in v2.24 (16.04) and still “experimental” in v3.1 (18.04).
> grep -P may warn of unimplemented features.
 
it does a good job with \K though
 
@dessert Is that actually the case, though, or is it instead a bug in the documentation that it still says it's experimental?
 
@EliahKagan well they erased “highly”… obviously somebody worked on it
@terdon Which PCRE features does grep not support (fully)?
 
Um... I don't know.
 
I'm not sure that means it's still experimental at all. It may have been weakened instead of removed in order to avoid controversy. I'm not saying it's not experimental, only that I haven't observed any problems with it and people seem to use it in production with some regularity. I should look for the relevant parts of the commit history...
@dessert Was the issue originally that it did not support some PCRE features, or that it did not support some features of grep (rather than of regular expressions) when using -P? It links to the shared library for PCRE.
ek@Io:~$ ldd /bin/grep
	linux-vdso.so.1 =>  (0x00007fff3b0f2000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fbbd4db6000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbbd4bb2000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbbd47e8000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbbd45cb000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fbbd525b000)
 
1:43 PM
@EliahKagan good question
> Perl-compatible regular expressions give additional functionality, and are documented in pcresyntax(3) and pcrepattern(3), but work only if PCRE is available in the system.
 
Yeah.
PCRE is widely used, and I've never heard anybody say it's not regarded as stable. It's not, however, used by Perl for its natively supported regular expressions. (Hence "Perl Compatible Regular Expressions.") So for some weird cases that might be another reason someone would use grep -P instead of writing perl one-liner or short Perl script.
 
I need to buy the dummies book to regexp...
 
@Fabby regular-expressions.info – just read the whole page including linked pages and you rule the world
3
@EliahKagan Even the official documentation for GNU grep 3.0 from gnu.org still calls them “highly experimental”…
 
It will stay that way until somebody changes it. It's said stuff like that for so long, and yet grep -P seems to work fine for everybody whose uses it... I don't know what to believe.
Btw, I am not saying we should ignore it. Not based on my speculation that it might be removable, anyway.
But I don't recommend people overhaul all their scripts to remove grep -P out of fear that something might go kablooey, either. :)
 
1:58 PM
@EliahKagan Phew!!!!
:D
 
2:10 PM
@dessert the problem with your suggestion, which otherwise seems good, is that I don't know how to use Perl :(
 
@Zanna I remember in the Unix group about 10 years ago, whenever a Windows admin walked in and asked "How do I..." the answer before he could even finish his question was:
Perl!
>:-) >:-) >:-)
 
that must have been frustrating
 
@Zanna Weren't you bored? Visit learn-perl.org! :)
 
lol @dessert , you got reference link for everything. Thanks for the regex one!
 
not me - your loop.... I haven't been bored since I was 10
2
but thanks for the link :)
@EliahKagan I think this is the first time I've ever seen that word, but just now I heard it in the song I'm listening to o.o
 
2:18 PM
@Benny I'm just dumb and need to read about everything before I write anything. ;D
 
oops my last link seems nsfw
 
For free-as-in-beer online resources to learn Perl, I'd suggest this tutorial and this book (and the docs as a reference).
 
:) thank you!
 
@dessert Starred!
(and not just some dumb joke this time!!!)
@Zanna Starred!
@Zanna Which bit?
I didn't hear/see anything NSFW...
But then... My opinion shouldn't really be taken as a gold standard for NSFW guidance...
¯\_(ツ)_/¯
 
2:36 PM
at zumba class, when the singer on the track swears, my zumba instructor pulls a face and apologises to the kids. If she didn't do that, they probably wouldn't even notice. So I'm not going to go into detail about why I think it's nsfw because I don't think that would help...
 
I was once told that when no women are present, one man calling another man "a silly cunt" was funny...
... if someone wouldn't have spoken up and said that "the C-word" was never ever uttered and that it's the worst of all words...
... I'd probably still be calling other men that!
¯\_(ツ)_/¯
So always feel free to educate this barbarian...
0:-)
 
3:13 PM
@Zanna Wanna post a sed answer to this question? :)
 
cool question :D
thanks... let's see...
sed doesn't know about the [[:ascii:]] character class name :(
 
3:33 PM
lights the room on fire
 
pours water on @ThomasWard
 
@Zanna GNU sed supports octal, hexacdecimal, and decimal escape sequences, with \o, \x and \d, respectively, and the work inside character classes. I think [\d0-\d127] should match any ASCII character if sed is using the C/POSIX locale.
This does filter the ASCII-only lines from their example input, but that doesn't prove there's no gap in my reasoning about setting LC_ALL=C being sufficient to ensure it:
LC_ALL=C sed -nr '/^[\d0-\d127]+$/p'
That command doesn't do the particular line-joining task they're asking for, of course.
 
oh nice! I was reading the info... [[:graph:]] seems to work with LC_ALL=C... but something is going wrong... maybe the newline
@EliahKagan thanks! this seems to do the job LC_ALL=C sed -r ':a;N; s|([\d0-\d127]+)\n([\d0-\d127]+)$|\1 / \2|;ba'
 
@Zanna [[:graph:]] is equivalent to [[:alnum:][:punct:]] so I don't think that would be adequate.
 
yes
much better to have the proper thing ^_^
 
3:49 PM
Looks good. I think you should post it.
 
you should probably post it yourself. It was more than half your work XD
 
The only part I did was come up with [\d0-\d127].
 
question: how to enter unicode alt codes in ubuntu?
like the tm symbol (0153)
 
@Videonauth ™ is 2122.
 
well that is the number i found on the net, for the tm symbol when you want to enter it over the keypad
but i have no clue how, on windows its simply you hold down alt and press the numbers on the keypad
 
4:01 PM
To enter that trademark symbol, I held down Ctrl and Shift while typing: u2122
 
mhmmmmm testing: u
mhmm does not compute
:D
 
Hmm?
I don't know why the alt code for it in Windows is 0153 (you're right that it is, though), so I don't know how to enter it using that number in Ubuntu.
@Videonauth Are you saying you can't enter any characters with their unicode code point values, on your Ubuntu system, by holding down Ctrl and Shift and typing a u followed -- while still holding down Ctrl and Shift -- by the number?
 
yep i only get an U and then nothing
a small u with underscrote and when i try to press anything afterwards nothing happens
 
Which number keys are you using?
 
ah ok have to release the ctrl and shift after the u and then type the number
 
4:05 PM
Huh.
I don't have to do that.
I can do it, and then press a non-number key to finish it.
But I don't have to.
 
i tried the number pad and the number row above the normal keys
 
I'm using Lubuntu 16.04.
Maybe the way it works for you is actually the recommended way and I've been doing it wrong.
 
well at least i now know how to enter them on this machine :)
 
Anyway, the question of how to enter characters using the number that would be use with Alt in Windows is interesting. I don't know the answer. If we don't have something for that on the site, we probably should. At worst, there should be a way to convert them automatically, so an answer could explain how. At best, there should be a way to enter them using those values.
 
yep u2122 is nicode tm symbol but alt code is very old in fact
by using the number pad to simulate keystrockes which are not on the keyboard
 
4:08 PM
Yeah, it is old, but for a long time it was just for 0-255, right?
 
0163 or such is the pound symbol for example IRRC
yes max is 0255
its always dependend on the charset which is actually used ASCII wise
or better to say keyboard layout
 
4:36 PM
@EliahKagan the rest of it was very straightforward though :)
I also hold down ctrl & shift while typing the unicode numbers for special characters but ooh yeah it's not necessary :)
 
4:49 PM
@Zanna Thanks for posting it! I was going to say that if you were unwilling to post it then I would do so... but that I'd have to actually fully learn how it works first, which I had been hoping to learn from your post about it. :)
 
does it need better explanation?
 
(in response to this) pours copious amounts of salt on @Zanna
 
shrivels
 
found a nice way of listing all possible available packages
apt-cache search ...
if you need them alphabetically sorted apt-cache search ... | sort -d
funny that three simply dots match everything
 
I think one dot is enough :)
 
4:58 PM
@Zanna and youre right
just piped both commands into a file and compared the sizes
they are size wise identical
and i could guess even have the same checksum and they have the same checksum
 
I did a diff because I thought ... might not match packages with only two characters like mc, but there was no difference
 
now i wonder if there is a command like that for pacman
because thats what keeping me switching to arch, finding package names and the like
 
see perhaps this page on the Arch wiki hmm I guess that's not all that helpful - but there is the package search online
 
Thank you
 
reasons not to switch to Arch
#1 it will be harder to test that all your AU answers work on Ubuntu
 
5:15 PM
@Zanna #2 GuixSD (WP) is cooler.
 
ooooooooooooh looks interesting
 
@Videonauth You only need one .:
apt-cache search .
 
@EliahKagan yes figured that after zanna mentioned it
 
Oh.
Right.
Sorry everyone!
My dot-related statements are very unoriginal!
 
np :)
dot or nodot, thats the question ...
@Zanna erm fot that im anyways using VM's
i never test on my own system
 
5:21 PM
must be where I'm going wrong :)
 
I did testing before on my own system but after i screwed it up once very badly i switched to using VM's
 
Might a container be another option?
 
containers are nice for testing things :P
 
i only know containers to get rid of things, ususally theyre called trashcans ;D
ok, ok kidding
 
I like messing up my own system. A little adrenaline sharpens the mind better than caffeine...
 
5:26 PM
i'd settle for the caffeine :p
 
@ThomasWard Your messages in /dev/chat about containers are very useful. :)
(Not just that particular message.)
 
5:42 PM
glad to hear it :)
 
5:58 PM
still not released? anybody knows what's going on?
 
01:00 - 18:0018:00 - 00:00

« first day (2766 days earlier)      last day (2183 days later) »