« first day (2401 days earlier)      last day (2566 days later) » 
00:00 - 17:0017:00 - 00:00

5:00 PM
0
Q: Write a Bash script which takes a file path

Øţħmáñ BáŝĥēĕrWrite a Bash script which takes a file path; check whether it exists, if not will give a message and exit. If it exists, it will identify its type (directory, ordinary file, block, character based device, pipe or socket or soft link give a suitable message and exit. (hint: use cut, ls, and case )

 
@Zanna yeah, your editing is fine I think.
But sometimes I do want to see a question mark in the text haha.
Something like "How to fix this?" or "What is going on?".
 
5:25 PM
user image
2
ugh, got compressed.
non compressed version. Editing got a little out of hand on this one.
 
5:48 PM
Admit it. It's a conspiracy. All my fans are deleted. One by one. This wasn't a big fan though.
 
@NathanOsman - See update 7 to my question. I discovered somthing very interesting... askubuntu.com/q/881255/518562
 
 
@Seth - Loading of the initrd shouldn't take 7 seconds on a system with a 500MB/s SSD, should it?
 
@AndroidDev no idea. Just because you have a 500MB/s SSD doesn't mean it always operates at that speed.
 
@jokerdino I sometimes add those...
I used to do it more
 
5:58 PM
@Zanna - You might find update 7 to my question interesting... askubuntu.com/q/881255/518562
 
Damn again I ran out of votes!
Have you regenerated your initrd?
 
@Zanna What do you mean by that?
 
@Zanna That one does seem strange to me. What's your rationale for removing the actual question (such as it was)?
 
@AndroidDev update-initramfs....
 
@Zanna I don't remember.. should I run that?
 
6:01 PM
@AndroidDev can't hurt...
@AndroidDev not sure what the exact command is...
 
@Zanna I think you have to add -u if I remember right
 
@terdon I think I was just overzealously removing "thanks". Should have moved the "question" to the end
@AndroidDev yes for update
And specify the kernel or all
 
Ah, right. Yeah, removing the thanks makes sense, it was just odd that you'd also removed the only bit that was actually asking something.
 
@Seth nothing makes me feel more libertarian than when I fill out my income tax...
 
@terdon I think I have become more merciless since the meta question about "how should I end my question?" But I shall try to make sure I don't remove such things even if they are meaningless except for the support they offer to question marks
 
6:15 PM
I'm not saying you were wrong. I just didn't understand why you did it.
And yes, I do feel that some sort of question is helpful when asking, uhm, a question.
 
@NathanOsman - I dont' know if you've looked at update 7 to my question yet, but you don't suppose that the drivers for my motherboard's SATA controller have a bug or something that would cause it to read so slowly?
 
@AndroidDev I don't think it's reading, I am guessing the delay is in processing the initrd.
Keep in mind that the ramdisk has the drivers for every supported piece of hardware.
But yes, I just saw the update.
 
PS terdon I rejected the foolish edit someone suggested to your answer this morning but I see it got approved
 
@Zanna Yeah, I saw thanks.
 
@Seth haha
 
6:25 PM
Oh I see you fixed it :)
 
@NathanOsman Yeah, but the disk activity light on my tower is solid for the entire 7 seconds.
@Zanna For a sec I thought you were talking about this, but then I realized that terdon wasn't the author :)
 
Ah I should have skipped that one I guess
 
6:40 PM
@Zanna I can see why you rejected; I was a bit torn myself. But, they were only readability improvements, the actual code wasn't changed at all.
 
Dunno. All of the changes seem purely cosmetic as far as I can tell. Was it really worth fixing?
 
We want to create the highest-quality answers, no?
 
And the pedant in me is really bothered by the dangling comma after True:
stream = p.open(
    format=p.get_format_from_width(1),
    channels=1,
    rate=BITRATE,
    output=True,
    )
Is that even OK in python?
 
Hmm... good point... dunno...
 
I think no.
 
6:44 PM
Well someone can edit it to just remove that last comma, but I think the other changes were good.
 
I thought I myself would have commented rather than make this kind of edit, but I am not making progress in my python learning, so...
Should have skipped
 
@terdon yes, that is the official pep way @jokerdino I alwsys do it like that.
 
@Zanna yeah that's good
 
Lol, this is hilarious!
 
6:55 PM
python.org/dev/peps/pep-0008 Look at my_list @jokerdino @terdon
 
ah I see. It's a load bearing comma.
4
 
@jokerdino :)
 
well now that our insanity is over for a bit :)
 
:)
 
Ah shoot, what did I miss ^ ?
 
7:04 PM
@JacobVlijm just me and @jokerdino having some fun :P
 
:D
 
@JacobVlijm Ugh. That's awful! There's one pep I'll never follow.
 
@terdon you should know by now that you must use all pep rules. :)
 
Yeah. No. Won't. Shan't.
Most of them, I'll grant you.
 
:) I got used to this one somehow. Doesn't feel completed if I don't
....use it
 
7:14 PM
It feels really wrong to me. Like the hanging quotes in lisp. I'm too much of a langauge geek to accept hanging commas.
When trailing commas are redundant, they are often helpful when a version control system is used, when a list of values, arguments or imported items is expected to be extended over time. The pattern is to put each value (etc.) on a line by itself, always adding a trailing comma, and add the close parenthesis/bracket/brace on the next line. However it does not make sense to have a trailing comma on the same line as the closing delimiter (except in the above case of singleton tuples).

Yes:

FILES = [
 
I must admit, when I saw it first, I thought whaaat?
 
That makes a little bit more sense but still. Meh.
I do hate this obsession with the PEP guidelines in some corners of the python world though. Sheesh, even the pep itself goes out of its way to stress that these are guidelines and not rules. A Foolish Consistency is the Hobgoblin of Little Minds and all that.
 
squishy posts are squishy. *laughs evilly*
 
7:31 PM
@AndroidDev that's definitely worth including in the question.
What filesystem are you using for /boot out of curiosity?
@terdon wait until you learn Go where the formatting guidelines are built into the compiler. Most editors reformat your code when you save.
 
shudders
 
wat
maybe I'll reconsider learning Go sooner or (rather) later
 
@terdon Oyi, at least I only require some of PEP8, not all of it. And that's only to avoid Py3 Flake8 tests and analyzers won't explode on type hinting, and i override or ignore the rest.
Some of the parts are key, most can be ignored or hand-waved with differing rules.
 
@NathanOsman I don't have a separate /boot so I guess EXT4
@NathanOsman I added it. Also OldFred commented, and he has a 5 second boot time! (Minus POST and GRUB)
<sigh> Why does this guy ask so many unclear questions? </sigh>
 
user136984
7:56 PM
Is there anyone here with GNOME 3.24?
 
user136984
Because I have an issue on Arch, but I think it's a GNOME-wide one, but I just want to check first.
 
user136984
I assume that Ubuntu GNOME 17.04 comes by default with the latest shell?
 
8:17 PM
@ParanoidPanda yes 3.24 in 17.04 - but I only run it in a VM.
 
user136984
@Takkat: Ok, that's fine, could you check for me if one can still dismiss all notifications at once with a global "x" button in the list next to the calendar? Or whether that options has been removed with 3.24.
 
user136984
I am just filing a report and thus I need to know.
 
@ParanoidPanda this?
 
user136984
Yes, could you please generate some notifications and see if an "x" button appears to dismiss them all at once or if you have to do each one individually?
 
user136984
1
A: How to call desktop notifications on Ubuntu GNOME?

A.B.In the same way as also in GNOME 3.16 and in other desktop environments. The notifications can be sent via a notification daemon from the command line. The command is part of the package libnotify-bin and is installed by the *-desktop meta-packages. The dependencies are libc6, libglib2.0-0, lib...

 
user136984
8:20 PM
If you don't already know, that is probably the fastest way of checking this. :)
 
@ParanoidPanda ir says "Clear All"
 
user136984
Oh, there is a button... Strange... How strange...
 
user136984
Then it's an Arch issue.
 
It's a pretty vanilla Ubuntu GNOME 17.04 here.
 
user136984
The button is now appearing!
 
8:22 PM
Not even Guest Additions (because it don't like them)
 
user136984
That is really quite strange...
 
I did it?
Wohoooo
 
user136984
:D
 
<-- Takkician
2
 
user136984
I guess I will have to keep a watch on it in case it disappear for then.
 
user136984
8:23 PM
But if it doesn't, is it possible that I'm just blind as a bat and didn't notice it?
 
user136984
How very strange...
 
user136984
Anyway, it works now.
 
user136984
So that's really all that matters. :)
 
user136984
Thanks! :D
 
user136984
@Takkat: You should try out the Night Light mode by the way, it works really well, I'm getting really sleepy now... :D
 
8:25 PM
You need the bright day mode then!
 
user136984
:D
 
1
Q: What to do with excess RAM?

Christian O DystheI was so lucky to be given a Thinkpad with 1 GB SSD and 20 GB RAM. With Ubuntu and a bunch of applications open I am rarely over 10 GB with 10 to spare. Are there things I can do with all that RAM to speed up or otherwise improve my Ubuntu experience?

What about shipping me some over?
 
O.o - excess RAM? That is one of the many things I don't believe in.
              total        used        free      shared  buff/cache   available
Mem:       15662696     3629296    10390652      158600     1642748    11513132
Swap:      65535996           0    65535996
 
$ free
              total        used        free      shared  buff/cache   available
Mem:       32813192    12336616     4446348     2816684    16030228    17189628
Swap:      15684604           0    15684604
>:)
 
your's is bigger than mine... but I haz swapz
 
8:45 PM
You want big?
$ free
              total        used        free      shared  buff/cache   available
Mem:      173252908    42038580    19402544     9266328   111811784   120873668
Swap:        974844      219296      755548
That's work though :) The previous was my laptop.
You need a lot of RAM for genomics.
 
only important men get that much RAM and so little swap
 
what have I walked in on?
 
On men and their thing with their swap.
 
o.O
 
Swap is where my mind can be lazy.
 
8:48 PM
walks in
O_O
walks out
 
Hi Seth
 
I can't figure out how to get my system to hibernate with this fancy new swapfile business
as soon as I type the command, the system bursts into tears
 
@Takkat Hi!
 
has only 12 GB RAM, feels tiny
 
I believe you're not supposed to hibernate. Zanna unfrozen forever!
 
8:50 PM
    $ free
                  total        used        free      shared  buff/cache   available
    Mem:        1980016      827896      516676       59376      635444      942864
    Swap:       1392448           0     1392448
 
@ByteCommander Big things can happen in small RAMs
 
You are all just showing off
 
/shrug
 
2GB ^
toaster :)
 
My first computer came with 512
kB
That was half a megabyte
 
8:52 PM
Mac LC 4mb
40 mb hdd
 
@Zanna Ooooh, that's not good because then you'll soon have shorts on the PCB and then really bad things will happen :D
 
@Zanna 3,5 MHz \o/
 
@AndroidDev lol ^_^
 
The guy said "you can also use 1.4 mb floppies" I said: "yeah, what the heck, do me one of those"
 
user136984
8:58 PM
Let's hope they have an answer:
 
user136984
0
Q: Why does Fallopia Japonica not cause issues in Japan to where it is native unlike other countries?

Paranoid PandaFallopia Japonica (also knows as Japanese Knotweed), is currently causing a huge issue in the English countryside where it was introduced. This is due to the fact that it spreads and grows rather quickly, its roots go roughly about 3m into the ground and are quite hard to dig up as there are so m...

 
user136984
:)
 
I think they grew it that way just to annoy the English people.
 
user136984
I am doing research into removing it through eco-friendly methods.
 
Naaaa the 3 m roots are a myth - they grow right through the center of the earth.
 
user136984
9:02 PM
Do you think that there is any way I could get hold of some to study it better?
 
Do you live in the UK?
 
user136984
I mean, I know it's illegal to buy it in this country, but I would contain it properly within an indoor potplant that would never see any actual ground. And I would only have it for research purposes.
 
My parents have got some behind the shed you could have
 
user136984
@JacobVlijm: Yes, I am.
 
user136984
I think it's illegal anyway...
 
9:04 PM
To live in the UK?
 
user136984
Yes, I live in England.
 
user136984
Oh, right, no... :D
 
@JacobVlijm it depends
 
user136984
No, I mean, I like in the UK, and it's illegal to buy it here as far as I know! :D
 
user136984
9:05 PM
Not to live here! :D
 
@Zanna Haha, I guess
 
Illegal weed? That catches my attention!
 
hang on I turned on my laptop to find out where I am supposed to go to work tomorrow and I'm in here reminiscing about ancient computers...
 
We are not allowed to grow that in Germany too.
 
user136984
You don't know of anywhere I could get some legally for research purposes? Because I understand it not being legal to grow it in the garden. But this is a completely different matter.
 
user136984
9:06 PM
I am trying to help them get rid of it.
 
user136984
And it wouldn't spread from where I would be keeping it.
 
user136984
I guess I have to find some on the blackmarket... :P
 
user136984
Or get @Zanna to send me over some! :D
 
The blackmarket salesmen will beat you up if you asked them for some Japanese Knotweed...
 
user136984
Yes, I think so... :D
 
user136984
9:09 PM
I'm sure that there will be someone out there crazy enough to be selling it on the internet though. :P
 
That is sure for sure.
 
@Takkat Ha! Yes indeed. It's called compensating by psychologists :)
 
Post a question on AU: "how do I get rid of root if it is 3m deep, in an environmental- friendly way"
 
Hahaha
Weird resources: greendragonbotanicals.com/products/JAPANESE%20KNOTWEED.jpg <-- this is not spam, really... I don't even know these people. Trust me.
It is for sale...
 
@JacobVlijm maybe with a chroot?
 
9:12 PM
:)
 
lol
 
user136984
:D
 
user136984
Oh dear...
 
user136984
Anyway, goodnight folks! I am sure that I will find a dealer somewhere! ;P
 
goodnight
time for bed for me too
later folks
 
9:17 PM
Yeah, sleep well all.
 
good night... am off too.
 
:)
 
@ParanoidPanda Man, don't use the word dealer in the context of something you have previously described as "a potplant".
For any random bobbies watching the chat: I believe he meant potted plant.
 
Awesome NSA figured out another way to sneak spies into our bedrooms...
 
please tell me this is a fake
 
9:54 PM
dupe askubuntu.com/q/909291/367990 (also good if you find a better dupe target)
 
10:06 PM
0
Q: What do different colors in "/proc/####/fd" mean?

user180574Sorry that I am new to /proc. In Ubuntu 16.04, when I go to a fd directory and "ls -l", there are entries of different color (see image). What do these colors mean? Thanks.

 
10:24 PM
Kinda worried now. because I need my system up by tomorrow.
0
Q: Affecting a current install with a Live-CD after current install breaks

dgood1Long story short, battery failed me while in a 15.10 to 16.04 upgrade. Now, I'm stuck with Lubuntu telling me the Light Daemon is lying. I have my 15.10 CD with me, and was wondering if there's a way to use this to repair or continue the upgrade. It has access to my files at least.

 
10:44 PM
100 rep bounty on my question:
1
Q: Hosts connected to DD-WRT router running radvd get IPv6 addresses but can't communicate

SethI'm trying to get IPv6 working on my local network. I know my ISP (Comcast) supports it because anything connected to the modem/router combo I rent from them gets assigned an IPv6 address and communicate using the protocol (can connect to ipv6.google.com and gets 20/20 on http://test-ipv6.com/)....

 
no
let it expire
 
I just set it silly
 
exactly
 
11:37 PM
@ByteCommander nope not fake at all...
 
00:00 - 17:0017:00 - 00:00

« first day (2401 days earlier)      last day (2566 days later) »