« first day (2101 days earlier)      last day (2864 days later) » 

7:25 AM
Ubuntu is following Google's example ?
Very soon there might be only 64 bit Ubuntu, no more 32 bit
 
@Serg vaguely makes sense
"The timetable up for discussion provides a piecemeal approach with the goal of offering absolutely zero installable 32-bit support by Ubuntu 18.10." is the srs bit
 
[ SmokeDetector ] Bad keyword in body, bad keyword in title, link at end of body, pattern-matching website in body: Muscle-Building How To Begin Your Education Having A Bang by jeangooden on askubuntu.com
 
tho I hope this means a 64 bit minimal installer
 
Nope, read the full article. By version 18, there will be no more 32 bit os versions
With Ubuntu 18.10 support for 32-bit PCs will disappear completely. Users would only be able to run 32-bit software using Snaps, containers, or virtual machines.
"With Ubuntu 18.10 support for 32-bit PCs will disappear completely. Users would only be able to run 32-bit software using Snaps, containers, or virtual machines."
 
@Serg you could do a minimal install and go off that
unless they're killing that off too
 
7:31 AM
@AndroidDev muru is mod on vi.stackexchange.com
 
o/ hi Videonauth
Haven't seen you in a while
@JourneymanGeek minimal iso was never officially supported, i think. It's a community iso
 
good lord community bot is so stupid /rant
 
@Serg pretty sure its officially supported
and I use it a fair bit
 
@Serg Do you use 32 bit?
@edwinksl why?
@edwinksl @Community yes the community bot is stupid.
 
What bot? Community dosen't really do much?
 
7:39 AM
@JourneymanGeek Yeah it deletes questions. That's what i think edwinksl is talking about. Thats what im talking about
 
ahh
THAT usually means the question got flagged or roombaed
its not actually community that does that, but various underlying scripts
 
@Serg was to be expected. I even believe it took far too long
@CollDue96 no it does not. when community deletes a question it is an actual mod that did that
 
@CollDue96 nah, i use 64 bit, because i like more RAM :)
 
always better to have twice the room to swim in :=)
 
@Rinzwind well . . . Maybe it's about time. If 64 bit technology is available , and far more popular, then why not......And yes, the moar ram the better. Maybe i should buy myself another stick of ram for my birthday
So . . . . Anyone wanna try out my python script for wallpapers ? Or should i just post it ?
 
7:47 AM
hi
 
Can i see your python script?
 
I have stuck at this with no headway. Please have a look askubuntu.com/questions/792589/…
 
@CollDue96 do you have both gnome and Unity ?
 
I just wrote an python script also, for silent upgrades. Though I am not sure why it is not working
 
@AbhishekBhatia Maybe you should ask someone to review it
 
7:49 AM
@Serg yes i do
Althought i usually only use gnome
 
@Serg askubuntu.com/a/792621/417607 Please have a look. :)
 
@AbhishekBhatia dosen't it work. and please post the source of your python scritp
 
@CollDue96 ok, so how about you be my tester for this script?
 
@Serg What does it do ?
 
7:53 AM
@AbhishekBhatia if you in gnome it sets wallpaper A, if you're in Unity it sets wallpaper B
 
@Serg oh cool! Sorry I use kde, won't be able to test it.
I have just started using ubuntu, wanted an automated way to upgrade to "all" packages but surprisingly I can't find one.
 
@AbhishekBhatia actually if the gsettings work in kde, it should work there too
@AbhishekBhatia what's wrong with sudo apt-get upgrade ?
 
@Serg That is fine, but it is not automated. I was trying to use unattended-upgrades to make it automated but it doesn't seem to work. Here is my approach: askubuntu.com/a/792621/417607. Source Code: github.com/abhigenie92/unattended_upgrades_repos/blob/master/… Problem: askubuntu.com/questions/792589/…
 
ayyy this question is a mess askubuntu.com/questions/792419/…
 
Just another ranter who can't calm down and evaluate everything rationally
 
8:04 AM
Is there a better answer to this question askubuntu.com/questions/87849/…? How do you guys do it?
 
@AbhishekBhatia i doubt many people do silent automatic upgrades
 
Can there be two apache users?
 
i myself prefer to see what is being upgraded first
 
Doe anyone know if this is correct:
cat /etc/passwd | grep apache
apache:x:993:1000::/var/www:/bin/false
id -u apache
993
cat /etc/passwd | grep 993
chrony:x:995:993::/var/lib/chrony:/sbin/nologin
apache:x:993:1000::/var/www:/bin/false
 
@blade19899 probably not, but maybe you could add another user to apache group ?
 
8:08 AM
@edwinksl But at the end of day, you still have a log you can check. I was trying that because I do ultimately upgrade everything so it doesn't much matter.
 
@Serg Files are being owned by apache
 
@blade19899 chrony is in apache group i see
 
[ SmokeDetector ] Bad keyword in body, link at end of body, pattern-matching website in body: It has the ability to slow the release? by Roslynbandi on askubuntu.com
 
@Serg Ill try and test it.
 
@AbhishekBhatia fair enough, it is a personal preference. i like to see what is being updated to remind myself what has changed. i wouldn't have the discipline to read the logs every now and then to look at silent upgrades.
 
8:21 AM
@Serg can you please post your script
 
@CollDue96 will post in a minute. I am writing an answer
 
"htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of HTTP users. If htpasswd cannot access a file, such as not being able to write to the output file or not being able to read the file in order to update it, it returns an error status and makes no changes."
But I would use a group :-P
and please 1 more CV too askubuntu.com/q/792419/15811
 
@AbhishekBhatia ^
There it is , my wallpaper script
@JacobVlijm Maybe that'll be interesting for you too ^ Probably too verbose, but what can i say - i'm a n00b
 
@Serg never admit to being one you n00b
 
at least i am honest, right ?
I've been clearing out a list of saved answers today. Many of them are old
Though they're fun
 
8:38 AM
Morning!
 
@Serg if '__main__' == __name__? i usually see it the other way around
 
:D Yes.
 
in fact you are the first that i see to write that in this order
 
But it's correct.
 
does it change the equality ?
No
 
8:39 AM
i didn't say it does
 
It's just counter-intuitive.
 
just pointing out something i don't see often
 
Code obfuscation...
 
hehe, well , i have no idea if it's frequent or not, i just do what my professor does :p
 
o.O
Somebody actually teaches it in that order?
 
8:41 AM
OK . . .maybe not . . .either i am a dum dum, or i twisted prof's code
$ grep -Ri 'main' /home/xieerqi/MSUD-CS2050-SPRING-2016/
/home/xieerqi/MSUD-CS2050-SPRING-2016/linkedlist.py:if __name__ == '__main__':
/home/xieerqi/MSUD-CS2050-SPRING-2016/linkedlist.py:#   unittest.main()
/home/xieerqi/MSUD-CS2050-SPRING-2016/hashtable.py:if __name__ == "__main__" :
/home/xieerqi/MSUD-CS2050-SPRING-2016/hashtable.py:   unittest.main()
/home/xieerqi/MSUD-CS2050-SPRING-2016/dijkstra_algorithm.py:if '__main__' == __name__:
/home/xieerqi/MSUD-CS2050-SPRING-2016/dijkstra_algorithm.py:    unittest.main()
 
Usually you always compare if VARIABLE == VALUE...
 
@Serg fickle-minded
pick one goddamnit
 
Welp , there's one more thing for terdon to nitpick about
@edwinksl pick one ? OK , "PIKACHU, I CHOSE YOU !!!"
how's that ?
 
solid response
 
So, with this script my git repo is . . . .
Shell 86.1% Python 9.2% Awk 4.7%
 
8:44 AM
I pick Matilda. She's slow but has thick armor and a strong gun.
 
I'm almost 10% snake, and 86% shell-fish
the rest is bird
 
Bird?
 
Awk sounds a lot like auk
In fact
"AWK was created at Bell Labs in the 1970s,[3] and its name is derived from the surnames of its authors – Alfred Aho, Peter Weinberger, and Brian Kernighan. The acronym is pronounced the same as the name of the bird auk (which acts as an emblem of the language such as on The AWK Programming Language book cover[4] – the book is often referred to by the abbreviation TAPL)." (wikipedia)
 
brian kernighan does too many things
 
Yeah, he's awesome . . . Like , I ain't got enough brainz to get even close to that level of awesome
 
8:49 AM
the bust augmentation spam makes no sense
does the spammer even know what demographics this site has
 
@edwinksl they dont care, as long as they can lure people from google . . .
 
guess so
or maybe people like you would click on it because YOLO ;)
 
I remember Oli rexplaining how this works to me, but i promptly forgot it all , because i am not interested in career of a professional spammer
yup , maybe . . . YOLO is always an option
oops ,
 
@Serg Hi Serg, isn't simply pgrep either one of the Unity services enough to determine, and set the wallpaper correspondingly? Then we are done in a few lines, even if we include a small while loop for a minute or so to give Unity the chance to get alive.
 
There . . . .now it's what i wanted
@JacobVlijm umm . . . yeah, could be done that way. . . It was sort of exercise in writing custom functions for dbus and gsettings
 
9:02 AM
...Which is fancy!
 
also avoiding using shell and popen
I know it could be done easier. I just chose the road less travelled
 
Could be done in bash in that case in a few lines as well haha
....If you want to avoid subpr.
 
could be done in one long one-liner too :D
 
Yeah, but I can only read between the lines :)
 
speaking of lines . . . did i cross the 80 char width ?
Well, my copyright statement did . . .
but not the code itself
 
Oli
9:06 AM
@NathanOsman Yup. Have also had things go missing, and when queried they've shown us the signature "STEVE". Funny how delivery companies think you're lying to them when you try to explain the only Steve you know lives 150 miles away.
 
@Serg I regularly do, only for "real" stuff (Launchpad) I worry about that...
 
how's that ( Launchpad ) going by the way ? Have you set up 16.04 repository yet ?
 
@Serg good that you mention! I should check...
Ah, yes I did :)
 
Nice . At least you can be certain people can download stuff in 16.04
I still need to figure out Launchpad. So far I've been uploading everything to my git
 
i heard it is easier to deal with AUR than with launchpad
 
9:20 AM
I have no issues with Launchpad. Cannot say it is very intuïtive, but it works fine.
...But their "Karma" is stupid...
 
sort of like voting system ?
 
Yeah, but without voting. You get karma for doing stuff. I had 3000 in the days I almost did nothin, but set "targets". karma dies away over time. Silly, they should remove it.
 
[ SmokeDetector ] Offensive answer detected: How to install traceroute utility? by pooy on askubuntu.com
 
Kubuntu . . . .not my specialty . . . .i should get it in VM at least
 
9:28 AM
...Same with me. I need some serious viewport setup. I think it should be easier though, but if the behaviour is that the application makes you switch back, it will include an annoying flash back and forth.
 
@ByteCommander by the way, i think im not bellowing anymore :)
 
Bellowing?
 
I repeatedly misspelled below as bellow
Byte corrected every post with that XD
 
don't be low
 
Lol
 
9:31 AM
pretty unique question eh? askubuntu.com/questions/793075/…
 
Great!
 
Oop, Terrance won't be happy
OP accepted my answer over his
Computer technician ? Um . . . My job title is lab technician. Does that count ?
 
lol
guess so?
oli = computer technician confirmed
 
oli = computer technician ++
 
lol
 
9:43 AM
Oli == l3377 h4x0r +1 ed
 
0
Q: Being stupid and I deleted wanted files using BleachBit. Is it possible to restore those files?

wojtekediI have deleted files from two disks using BlechBit1.10 on Ubuntu-16.04. By any chance is there a possibility to restore all files? Please be mercy-full in your judgement.... :(

who wants it?
 
at least he admitted being stupid . . . .
That guy is back
-2
Q: Using the Top command with ps and kill

Adam NagyFor my Computing Controlled Assessment I am looking into some of the basic commands for the Linux OS Debian. For the final question I have to write a short essay on using the top command along with ps and kill to investigate misbehaving system. The question asks to use help from PC specialists (o...

@Oli ^
welp , i am out for now. 88 guys
 
10:01 AM
Oh man, some idiot has given students an assignment asking them to get "computer technicians" to explain if/when top is useful. They've also been spamming U&L with this crap.
 
Sigh...
We should ask the OPs for the mail address of their professor and tell him our opinion about his teaching methods.
 
anyone here familiar with pycharm?
 
@terdon OMG lol
 
@Videonauth Yup.
 
10:06 AM
@ByteCommander any idea how to enlarge the font inside pycharm ? this is painfully small on a 1920*1080 monitor
 
@Videonauth There should be an option in settings/editor somewhere, I guess.
Don't have it running here to check ATM.
 
Stupid teacher.
 
10:17 AM
@terdon teacher probably used U+L to explain things _o-
send him a mail >:-D
 
@ByteCommander found it
but its for sure not that obvious
checked before under default settings and didnt find it there, but then under settings i found the font setting
 
Yeah, most stuff is under Settings.
Their default settings are a bit confusing.
They should either out all in one or split it into project-specific, project-default and global settings.
 
indeed i imagined it rather other way around
that default is global
well :)
 
No, Settings is project-specific PLUS global.
Default Settings is only project-default
 
yep weird indeed
but for sure a more pleasing UI as eric6
 
10:25 AM
 
there its even more weird you have to set the font for each sub-window
 
10:39 AM
0
Q: All services of a user are killed when running multiple services under this user with systemd

PatrickWe're using Ubuntu 16.04 LTS and want to use multiple Tomcat installations which should start at boot time. One of these Tomcats would host a Jenkins which will deploy a webapp onto the other tomcat and restart it. To start the services, we added systemd service scripts. What we noticed is that...

 
10:58 AM
0
Q: Backup the entire operating system

SnowbellI have installed Ubuntu OS and installed all the softwares and tools from my college Internet connection. Now, I am going back to my home where it might not always be easy to reinstall all the softwares and utilities once the system breaks down for some reason. Is there a way to backup the entir...

 
11:24 AM
@UbuntuQuestionsonU&L correct? and now what?
 
12:09 PM
@Videonauth - We need you to translate! askubuntu.com/questions/793114/…
 
don't you just hate it when your abhängigkeiten aren't erfüllt...
 
@StefanoPalazzo tatsächlich! (Had to use Google translate) ;)
 
@Rinzwind care to post an actual answer from the bug report you linked to? Bugs are not off topic on U&L
 
12:24 PM
@terdon sure but you are the U+L person :=)
 
Yeah, but you commented... :P
 
@terdon good enough?
 
@StefanoPalazzo Sorry, but this is an English-only site. I'm going to have to flag that for you to review
2
 
@terdon GOOD ENOUGH?

>:)
 
@Rinzwind I guess it will have to do... :P
Thanks!
 
12:39 PM
lol
 
:)
 
yay upvoted on U+L
148 rep <3
 
tsk
 
Oli
@Rinzwind Don't spend it all at once, kid
 
when I have 150 gonna bounty it >:D
 
12:40 PM
oh no
 
back to 0 <3
 
lol
 
@Oli how's the little Oli doing?
and did you reg him on AU yet?
 
o_O
 
hey guys! Just came here to tell you that I survived in the end
got another iso and that was it
 
12:48 PM
@Rinzwind I'll just refund it.
 
@Zacharee1 :D
 
:p
 
Oli
1:38 PM
@Rinzwind Her and no, not yet. She's too busy crying and not sleeping at the moment.
 
hi, how to ssh into a docker container? What will you provide as username/password?
 
I see someone lurking
 
really? who?
 
not telling :p
 
1:50 PM
my kitty is scared :) i just took the USB desktop fan out of the cabinet, shes attacking it wildly lol
 
lol
 
kitties are crazy, they get aggressive at seemingly random things
 
yeah i guess its the slight sirring noise it makes
 
katz
 
if the amount of attention we pay to cats can be diverted toward productive things, mankind would be infinitely better off
 
1:55 PM
hahahaha, but far more unhappy then
 
:(
at any point in time, about 1 billion humans are looking at cats or cat pics
 
:) well
@edwinksl can you give me a hint here, i try to avoid the programm to error out when argv[1] isn't given, should i pack that in a try: block?
if __name__ == "__main__":
    if sys.argv[1]:
        print(make_passwd(sys.argv[1]))
    else:
        print(make_passwd(6))
or are there any other methods to test if an argument was given, without running into an error?
 
@Videonauth Check if len(sys.argv) > 1 before accessing the element
 
ah yeah makes sense, this flu is killing me with that headache
 
@Videonauth if sys.argv[1:] is short and does not throw an error if it does not exist.
 
2:10 PM
ah ok, well im slowly getting the hang of it, hopefully, its so different from c++
 
@Videonauth I can imagine :)
 
yes c++ is far far deeper, you really have to do every step, while in python many things are given from start
 
Vote to migrate to meta: askubuntu.com/q/793155/367990
@Videonauth batteries included :)
 
@ByteCommander Or not, benefits of me being around :)
 
example:
// the usable charset
std::string charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!$%&/()=?+*'#-_.:,;<>|~\\}][{ ";

unsigned char getsinglechar();
std::string makepasswd(unsigned int letters);

// randomize char
unsigned char getsinglechar()
{
    char returnvalue = rand() % 255;
    if(charset.find(returnvalue) != std::string::npos)
    {
        return returnvalue;
    }
    else
    {
        return getsinglechar();
    }
}

// password routine
std::string makepasswd(unsigned int letters)
 
2:12 PM
Okay, I must go. Seeya.
 
import random; print("".join(random.choice("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY‌​Z0123456789!$%&/()=?+*\'#-_.:,;<>\|~\\}][{ ") for _ in range(20)))
 
@ThomasW. aaaahh, you're spoiling all the fun :)
 
first block was c++ second was @ByteCommander equivalent of python
 
@Videonauth yeah like others said, i would check for len(sys.argv) > 1 before indexing into sys.argv[1:]
 
yip this is what I make now, found finally an IDE which im comfortable with
 
2:14 PM
you can also do the whole try except block thing if you want to sanitize user inputs, but i am guessing that's not the point here
 
I use argparse (COMPLEX!) to handle the command line arguments for my programs. Not the best approach but lets me dictate required items, default values, etc.
 
nah, makes no sense only maybe checking if argv[1] is a number
 
@Videonauth you do know you don't need to type out alphabet, do you?
 
yeah ByteCommander showed me that as well
im only stupid, i didnt take a note of it
 
import string
 
2:16 PM
ah ok
 
175
A: Alphabet range python

jamylak>>> import string >>> string.ascii_lowercase 'abcdefghijklmnopqrstuvwxyz' If you really need a list: >>> list(string.ascii_lowercase) ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] And to do it with range >>>...

...more than just alphabet...
 
i have a better one...
>>> from string import printable
>>> print printable
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
 
I hate you
 
:)
 
both good took notes and bookmarked that question
 
2:20 PM
@JacobVlijm I actually just yesterday had a use case for 'Printable Characters Only' and verifying if it is
 
now i have to only have to alter it to my wishes, i want every possible printable only to occur max 4 times in a password
 
import string
import [...]

...

def _is_printable(datastring):
    return set(datastring).issubset(set(string.printable))

...
 
@ThomasW. ah...
 
0
Q: askubuntu not letting me post

Rasmus AIt just says: This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar. From my perspective, it is all good.. http://pastebin.com/B6s4LzVx

 
@JacobVlijm working in base conversion is evil, I had to convert base32 OTP seed codes to hex, and to base64. And to plain text. It was not pretty, because plain text has to be printable to be displayed - string.printable was useful, but checking if the set of plaintext chars was a subset of printable characters was... eurgh.
 
2:21 PM
only thing I have a bit of ramble with is PyQt5, it is really slow
 
question for qtox users (i think there are a few in this chat): askubuntu.com/questions/793156/…
 
@StefanoPalazzo yeah thankfully C++ makes it nice. Unfortunately, not python :/
 
@ThomasW. all(i in string.ascii_printable for i in war_and_peace) :)
 
oh wait
um
 
2:26 PM
the set thing is clever
in the good and the bad sense of the word :)
 
:P
@JacobVlijm @Videonauth I have a better implementation of mine...
>>> from string import digits, letters, punctuation
>>> printable = digits + letters + punctuation
>>> print printable
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
if only because I forgot printable includes whitespace
 
@ThomasW. isn't all of that < 127 in ascii?
 
@StefanoPalazzo Probably, but who wants to code checking the ASCII values? Especially if the use case for Videonauth is to generate random strings of printable/usable characters for random passwords
 
Nice!
 
usable eh
 
2:29 PM
just some implementations :)
 
it's random.randint(33, 126) by the way just for completeness (man ascii)
 
:P
@StefanoPalazzo he can complete his own program though and post it to Code Review for peer input
i just did for one of my python programs, because I think i fail at some things
 
yep that was already enough input :) i mean i made it already working in c++, im just converting it to python for the purpose of getting my feet wet with something practical
 
I <3 Python, but don't let @NathanOsman hear you talking about c++ like that :PPP
 
now just to find out how i can set run paramters in pycharm
c++ is nice too but for most user cases to overkill to be honest
and as im a trained mechanic its for me use the right tool for the job mentality
 
2:33 PM
Hi!
I am new to open-source and ubuntu in general. I wanted to get a script I wrote for generating format for unattended-upgrades reviewed. How should I go about it?
 
@Videonauth the right job for most jobs is a sledgehammer?
@AbhishekBhatia code review?
there's a site for that. Worth checking if its on topic
 
but i think first link would be more appropiate
 
any get ssh here?
 
@JourneymanGeek Thanks! My issue is a bit ubuntu specific. The script works but I am not sure what is the correct format. Please check this if possible askubuntu.com/a/792621/417607
 
@deostroll if no one answers here its most likely that none right now has a solution for it, I myself be a newborn linux user more or the less and have not much experience with docker containers at all
 
2:42 PM
@deostroll it helps to also be more clear in what you're trying to ask
@deostroll "any get ssh here" is vague; what are yo uactually trying to achieve or get help with?
 
oops...neo disappeared I guess...sorry
 
Woah! SE site names onebox now?
Neat!
 
This is what I get askubuntu.com/questions/793029/… . It really confuses me if it is bug or there is some problem with my script.
 
@terdon they do that already since im here on the page :)
still i think the ask ubuntu one will need a rework ;) its white on white
or nearly
 
@Videonauth I'd never realized.
Heh, not that one
 
2:50 PM
[au]
this one neither
 
How do you guys do unattended upgrades for "all" packages (including ppas added). I can't find a good approach anywhere.
 
ah ok, well seems not all links do
 
@AbhishekBhatia security updates only, or all packages?
and with or without a reboot (kernel)?
 
@ThomasW. everything with no reboot.
 
Anybody got a good and simple tutorial on how to setup a website on nginx?
 
2:53 PM
@AbhishekBhatia on systems where I don't have Landscape controlling, I run a script that runs the upgrade via cron.
 
@blade19899 I'd see if howtoforge does
 
@ThomasW. I am looking for a better answer to this question. askubuntu.com/q/87849/417607
 
My lighttpd install is based off their setup
 
@blade19899 apt-get install nginx and read through the default shipped example config in /etc/nginx/sites-available/default
which is there for a reason :)
 
2:54 PM
@blade19899 but note that 'a website' is vague - is it static HTML? PHP backend? depending on what the 'site' is, you may get real complex fast.
 
without wanting to, start a belief discussion, are there so many differences between apache2 and nginx?
 
i only have alot played around with apache till now, XAMPP on windows and now LAMP stack
@ThomasW. thank you, input is always welcome
 
@ThomasW. can you post the script.
 
@AbhishekBhatia I have to find which system has it - most of my systems are now Landscape-managed
 
2:59 PM
@ThomasW. Why not use unattended upgrades instead? It seems to me like reinventing the wheel.
 
@AbhishekBhatia because Landscape is already managing all my systems, both local and remote. It takes the place of unattended-upgrades :)
and reports back better about things that fail, etc.
also better scheduling ;)
 

« first day (2101 days earlier)      last day (2864 days later) »