« first day (2285 days earlier)      last day (2686 days later) » 

12:00 AM
@Zacharee1 Kaz is pissed at me because i VTC'd his question about holidifying the prompt as dupe
 
where
 
Truth be told 16.10 fixes the pulseaudio 8 bugs I've fixed in 16.04 by hand so I don't need the pulseaudio 9 update it contains. Besides I just want to learn about "snaps", Unity 8, and that new virtual printing thing they announced recently. I'm keeping my 16.04 on sdc and 14.04 on sdb and install 17.04 on sda which is the fastest SSD anyway. When it goes live in April I'll be prepared already.
@Serg Well you shouldn't VTC your friends, you should come to chat and just say "I'm concerned your thing might get nuked..."
 
no, VTC if it should be VTCed
 
@WinEunuuchs2Unix I'll VTC everybody and anybody, even a mod
 
gasp
not.... THOMAS??
oop after 7
time for REVIEWS
 
12:02 AM
I said a mod. Thomas is a mod. Therefore I'll VTC Thomas
 
and then die
 
Naah... you need professional curtesy... like when one doctor sees another screw up he doesn't go to the press he says "oh btw Joe that was the wrong drug to administer that's why the patient died".
 
@Zacharee1 new UTC day, time to bail
 
I am professional AF
 
@edwinksl you get back here
 
12:03 AM
I'm not saying you're not professional... I'm saying what professionals do when it comes to killing people.
 
@WinEunuuchs2Unix your other analogy a few days ago may have been good, but that one is not :P
 
Well I don't have any friends so I'm cutting myself some slack on this one :D
I'd vote close all 250K questions so we can start over and I can get some juicy rep!
 
On a different topic: if you have a chance, try Ukrainian/Russian pork aspic
I'm having it right now. Yummy AF
 
@Serg hats aren't an excuse :P
but questions that aren't dupes shouldn't be closed as a dupe.
 
Let the community decide yo
 
12:13 AM
(the dupe target is for a single user, i'm going for the entire system)
 
Still dupe . . . Just need to find a question like that
 
anyone will watch the UFC tonight?
will anyone*
I'm doing that english mistake way too often
 
Don't watch TV. I'm currently watching various streamers on chinese site anyway
 
@Serg by that logic, every question's a dupe.
which is probably true on AskUbuntu.
 
12:16 AM
Nothing is new under the sky
 
just need... 5 more goats.
 
> But he loves you.
George was great.
 
George Carlin, search him on youtbe and youl have at least a few evenings of good laugh
indeed he was
 
@Serg I've no TV here neither, and usually I'm not into UFC, but I've that habit of cheering against people that are not very humble
and the girl that is fighting the Brazillian female champ tonight is lacking some humility, even though she is the favorite for the fight :p
 
@Videonauth I know some of his videos already. In return, I can recommend you "Danny Bhoy" though.
 
12:25 AM
will for sure have a look
i love good made satire
 
They see me perlin they haytin
 
and vodka once a year just got me a bottle today for new years eve :D
 
i havent really been drinking much alcohol as of late. i just dont exacly enjoy the taste anymore. More addicted to coffee than anything
 
Gah! I still nearly jump every time my desktop shows up while sitting in a dark room.
 
@ByteCommander make you desktop wallpaper dark
 
12:29 AM
lol then you should change the wallpaper :p
 
Ive tons of scripts for that
 
@Serg it is... dark...
but...
8 hours ago, by Byte Commander
user image
^ @Serg
 
Well . . .why on earth would you set something spoopy as your wallpaper ?
Make it something less scarey. Like Thomas's avatar
 
holy the chat flags are so quickly gone again you sometimes not have a chance to clik on em
 
12:33 AM
gogogogogogogo - NATHAN
@NathanOsman ^
 
wohooo, found the bug on my function
 
@Serg less!!?? :P
 
@ByteCommander of course ! Thomas is nice and fluffy. I liek Thomas.
Anybody wanna throw me a suggestion on which Linux utility to implement in python ?
 
12:50 AM
hello
ONE DAY UNTIL 2017.
 
I WILL SEE YOU DIE 2016! NO MORE SHALL YOU TAKE!
 
rest in pepperonis
 
@Edity pepperoni or pepperonus as I learned recently by some random twitter someone posted here haha
AU is culture too
 
;p
 
1:43 AM
lol Journey... hell isn't a place.. it's a journey
 
1:56 AM
LOL
 
2:10 AM
sigh . . . if only my streaming didn't suck
 
didn't you find a way to seek to the end of the stdin buffer? @Serg
 
@Serg South Korea has the best internet and LTE coverage. Move there :p
 
oh, I think I completely misunderstood what he meant haha
 
@IanC nope. Well, if it's coming from bash redirection "<" it works just like regular file, but with pipe - no
You can't seek in pipe, os just doesn't allow it
 
yay, hit 2k CV
 
2:12 AM
@Zacharee1 I could but my gf doesn't speak Korean
 
@Serg From the Koreans I know, you probably won't have an issue with Mandarin
 
@Zacharee1 u so gud
 
@edwinksl he needs git gud --more
 
git --gud
 
we know zach doesn't git nor python
what a nubcake
 
2:15 AM
$ git gud
You are now so gud!
2
 
git gud -s "serg"
I think that's right...
 
@Zacharee1 so , now that you have studied Java, shall we see your mad java skillz on AU answers ?
 
@Serg I can understand that since pipes are dynamic, with buffers that might change size during execution a seek would need some extra thought but still sounds reasonable to let the user skip some parts of the buffer he already knows are unnecessary :/
 
@IanC well, at least as far as I understand , it's simply because pipe is FIFO structure, it's not exactly a set block of data on disk, which you can traverse
So far I am reading pipe line by line, but eventually I want to implement some form of circular buffer/queue so that i can discard unnecessary bits
 
but maybe there could be a way to pop several "items" without the overhead of actually fetching the contents of it
 
2:18 AM
Gah, carp. I think I'll have to close my stream,it's just pain to watch
 
@Serg probably not
 
@Zacharee1 butt wai ?
 
at least not any time soon
still don't know what I'm doing
 
Sounds like me any day of the week
 
@Zacharee1 Do you get a gold medal / badge at 2k CV?
 
2:27 AM
no
it's at 1k
 
yeah I know... I need 20 or more or so... I hope Zanna does some more ubuntu-one they are easy smeazy :0
 
I just copied code from Stack Overflow. I feel dirty.
 
@Seth I just did that too! if [[ $(id -u) != 0 ]]; then # Running as root (ie "sudo rm ...") doesn't need password here
 
But ONLY because when I realized what I needed to do I found my self writing the exact code anyway, because that was the best way to do it.
 
well I copied the code.. the comment is mine :)
 
2:28 AM
@Seth remember to attribute
 
@Seth is nubcake confirmed
 
@Zacharee1 agreed
 
@Edity It's a fact not an opinion :p
 
k
 
pffttt.... Seth is like the nicest mod around here
 
2:29 AM
as long as your nice
 
and the most humble... we all starred his "I'm an idiot" comment in chat
 
@edwinksl that's the thing. Super generic code. Probably not even copyrightable. I never understood the giant licensing arguments on SO. 99% of the code there doesn't meet the originality requirements.
@Zacharee1 <3
 
?!?
 
@WinEunuuchs2Unix yep!
 
@Seth yeah that MSE post about the changes in attribution was a poopshow
 
2:31 AM
the other thing about attributes is the poster copied it from someone, who got it from someone, who copied it from someone... so the attribute chain would get very very long indeed if everyone did it.
 
@edwinksl unfortunately.
I have no problem attributing someone's original work that I'm using, but I would question why I would be using that much of someone else's code in the first place.
 
yeah
 
I'd also question what it was doing on Stack Overflow.
 
@Seth something basic doesn't need to be worried about. Any caveman could probably write that
 
in other news, javascript is eww
@Serg that's the only reason I copied it, because it was literally the only correct way to do it and I would have just typed the exact same things myself :p
 
2:36 AM
@Seth next comes PHP
 
In other news, Python is still smexy and you know it
 
grating synth plays in the background
 
@Serg totally
 
@ByteCommander nut of the dough
 
Meanwhile, I'm farming questions on badge. I wanna hit that silver, so digging through all the old and forgotten and downvoted questions from god knows when
Some of the things OPs post are just ewww, like : for word in $(cat somefile.txt) ; do . . .done Just . . .ewww
I think AU and U&L made my standards set way too high . . .
Hhhhm, i foundz sum things furry interesting
 
2:44 AM
hmm
I have an iPhone 1st Gen
looks like I can get some good money from it o_O
 
Buy a batch of first iphones, keep them for years, then you can sell them off to collectors for good muney
 
Original iPod is supposed to be collector item now
Now I'm sorry I have a 3rd generation 4 GB silver and not a 1st gen :(
 
24
Q: How can I set up a password for the 'rm' command?

aswinMy friends keep deleting my files using the terminal. So please help me out by explaining how to make a password for rm command.

 
@IanC I just posted a comment there... and earlier revised my answer referencing our evil dark lord sith good friend Thomas
 
that question kind of reminded me of that joke, about the man who caught his wife on the couch with another man and got rid of the couch
3
 
2:51 AM
I was curious why Muru protected that question.
 
were there too many "Thanks" comments?
 
lol I don't think so... I think he had different motives which I frankly can't devine.
It would be an interesting meta question... "why was this question protected for no apparent reason?"
Anyway I think I saved the OP's skin with my comment under his question after all the other comments flamed him to death and got incredible number of raised flags (upvotes).
 
I think the idea wouldn't be prevent the command usage, but restrict the users he sets up for his friends from accessing stuff it would be bad for him to be deleted, no worries if they can only delete stuff from their users home dir
 
Nah, he needs better friends
 
also that ^
haha
 
2:58 AM
I think all the comments flaming him assumed he let his friends use his login account and no one thought to suggest they use a guest account with restrictions. I suggested that in my comment under his question... but I still posted an answer to what he requested... however most popular voted answer (Thomas Wards) was an opinion "You don't want to password protect rm!"... he got 40 votes.
Imagine if I could get 40 votes on every question where I said "You don't want to ask that question!" and people agreed :p
 
@WinEunuuchs2Unix you don't want to password protect rm command simply because that command is used in many many scripts under /bin and /usr/bin . You password protect that command and all those scripts break, which leads to consequence of breaking your system
 
well, I don't think Thomas answer was only opinion-based, he kind of explained why setting up a password to protect rm can break things up and gave an alternative
 
any JS experts?
 
@Serg Hehe you are 24 hours too late... I've already password protected rm and I"m still alive... read my answer there :p
 
not an expert, but if you want to throw the question and see if we can figure it! @Seth
 
3:02 AM
@WinEunuuchs2Unix well, lucky you, but no thanks
 
JS = Java Script?... or Jack of all Scripts?
@Serg Doesn't matter I have a plan B, I just downloaded Ubuntu 17.04 to install on another drive if this one breaks with rm mods :)
Which reminds me better burn DVD while I still have a chance!
 
@WinEunuuchs2Unix "Revise the password "WE2U" to anything you like. Keep in mind anyone smart enough to locate the rm command and figures out it's a script, can look at your password. So don't use the same password as your bank account."

That's a big problem. Not saying I agree with your approach but you could use a sha256 hash and the `sha256sum` command to make it 'alright' that the person can read the script
 
@IanC I've got $('a').click() handling clicking on the link elements of my page. Super simple page. All the links do almost the same thing, insert elements somewhere on the page. Just the somewhere and the element's id change. Is there a way I can refer to the <a> element that got clicked on? I tried this but that didn't work.
 
the person would be able to see the hash, but unless it's a weak easily brute-forced password it wouldn't help much
 
@Seth I'd give them IDs
 
3:07 AM
ooh, I figured it out.
jQuery has $(this)!
 
that too lol
but I think IDs would be more stable
 
@IanC Are you saying you can encrypt a script? That would be cool! BTW "WE2U" stands for WinEuunchs2Unix :)
 
@Seth I don't know jQuery but you can do it on JS with something like this
 
jquery everything
 
document.getElementById("test").addEventListener("click", function( event ) {
    // display the current click count inside the clicked div
    event.target.innerHTML = "click count: " + event.detail;
}, false);
the EventListener parses an object that can be used to get details on the event
like the target
but do it the jQuery way!
I don't know it, but I know you can do things 10x easier with it
@WinEunuuchs2Unix not encrypting the script, just the password
say the password is WE2U, which would be a weak easily brute-forced password, you would run:
`printf "WE2U" | sha256sum`
that would be the output:
14318b2b0ce00f00bea8138cb523d5ae8de6a1063bd279efaf48d972421bd2d6
 
3:11 AM
@IanC Encrypting a password within a script... buddy that sounds brilliant... I think you should post that question and answer it... bet you'll get 100 points at least :)
 
it's the sha256 hash of the password, so when you get the password in the script you would hash whatever the user writes
and check if it matches
something like:
 
 
Lots of fives... I bet Zanna is number 1 :p
 
@IanC oh that's nice. Thanks. I always like to know how to do it in Vanilla JS. Then I do it in jQuery :P
@IanC You don't know jQuery? You should totally learn it. It makes web dev 200 times easier.
 
Actually Kaz is #1, Zanna is second
 
3:14 AM
@IanC I'm serious it's brilliant putting a password into a script in encrypted format and you should Q&A that one.
 
read PASSWORD
PASSWORD_HASH=$(printf $PASSWORD | sha256sum)
if [[ "$PASSWORD_HASH" != "14318b2b0ce00f00bea8138cb523d5ae8de6a1063bd279efaf48d972421bd2d6" ]]; then
#invalid password code
fi
don't forget the "" around "$PASSWORD" on your script, or a empty PASSWORD will crash the script @WinEunuuchs2Unix
@Seth I don't know much of web-dev to be honest, I played around with it a while back when trying to set a small functional blog. Since my purpose was learning the tools I wanted to go for the raw stuff, but I heard so many good things on jQuery I'm willing to learn it :)
 
@IanC I'm the guy who couldn't even create PGP keys for his own kernel module he compiled... I'm definitely password / encryption challenged.
I read the SSL stuff for like 6 weeks and only got a headache.
In the end I had to force the .ko module into the kernel which kept complaining she was "tainted" in /var/log/syslog
 
SSL is a bit complicated as far as I read about it haha @WinEunuuchs2Unix
 
@IanC ah. well you did the right thing then. If you're starting out always learn the vanilla stuff first :)
hi @Chan-HoSuh! Been a bit :)
 
hi @Chan-HoSuh it's been 24 hours since you were here last :)
 
3:18 AM
ok so maybe I just missed him then. Point taken :P
 
hi guys
 
hehe was just playing around, ya know ;)
 
hello!
 
Now comes the hard part. Interfacing my static HTML pages with the go server..
 
well if Seth didn't see me, was i really here?
 
3:19 AM
@WinEunuuchs2Unix I know ;)
@Chan-HoSuh haha. ouch. yes, you were :P
 
if I write a script and no one runs it, does it really exist?
 
if nobody runs your scripts, do you really exist?
 
@Seth what are you working on by the way?
 
@Chan-HoSuh everyone knows I don't exist :p
 
if my GitHub page only exists if someone clones my repos, and I don't check the "traffic" is it both in a state of existance and non-existance?
 
3:22 AM
Ask @Serg about GitHub loneliness
:D
 
GitHub requires commitment . . . literally
 
That's why bachelors avoid it
 
@Serg and @Videonauth are actually the only ones that accessed my GitHub page lately. I CODE FOR YOU GUYS!!
 
who's that ^^^
 
@IanC any time buddy :D
 
3:25 AM
I don't know, it's an old meme @WinEunuuchs2Unix haha
 
@IanC oh someone in an organization I'm part of asked me if I could write a computer system for their elections. I don't think that's a good idea (paper is almost always best) but I thought it might be a fun challenge.
 
oh...okay... gives me a bad vibe that "meme"
@Seth whoever loses the elections can blame Russian Hacking and Putin was personally involved because as Obama said "Nothing happens in Russia without Putin personally knowing about it".
 
it's a guy from Dawsons Creek apparently
 
Dawson Creek, BC is in Canada you know....
 
@Seth what about votes with an RSA signature on them?
They can't be forged, and you can verify them at the end of the day
 
3:28 AM
oops maybe it's Dawson City, YT Canada... whatever we ship there from our warehouse.
 
@Seth there's this big controverse about whether paper votes are more fraud-safe then electronic votes, IMHO there are vulnerabilities on both for a person/organization with a bit will to fraud an election :/
 
How about people start voting with their gpg-signed electronic bulletins ?
 
@Serg can't have votes identifiable
 
@Serg I failed making a gpg-signed key for the kernel module I compiled.... I'll never be able to vote!!!!
 
I had an idea where voting machines have a smartcard in them, distributed by govt. All votes are stored in a DB with RSA sigs, and can be independently verified.
Votes can't be forged without the smartcard, so...
 
3:31 AM
I have an idea where you vote for people you personally know... and they in turn vote for people they personally know... and so on and so on.
 
i should probably look into how to make my entire voting platform work, and maybe even patent it.
but i'm lazy.
 
@KazWolfe too hard to falsify. The government would never go for it.
 
and now one of you is going to steal my idea and patent it. meanies.
actually idgaf. so...
 
@KazWolfe get KazBot AI to write it for you... it was in the chat room about 60 days ago and seemed pretty smart.
"idgaf" will be the most used phrase in 2017.... I'm going to patent it "Copyright (c) 2016 WinEnuuchs2Unix"
 
@WinEunuuchs2Unix and I will point to this:
Nov 1 '15 at 6:16, by Whaaaaaat
java: "lol format it however, idgaf"
 
3:35 AM
let me photoshop that
 
(c) 2015, Kaz Wolfe.
 
idgaf
LOL
 
@WinEunuuchs2Unix:
#!/bin/bash

# We'll want to report who called us when rm fails
PARENT_COMMAND="$(ps -o comm= $PPID)"

if [[ $(id -u) != 0 ]]; then # Running as root (ie "sudo rm ...") doesn't need password here
    # Get password with no screen echo
    stty -echo
    printf "rm (Remove) Password: "
    read PASSWORD
    PASSWORD_HASH=$(printf "$PASSWORD" | sha256sum)
    stty echo
    echo

    # Password matches?
    # The compared hash is the output of $(printf "WE2U" | sha256sum). Other passwords can be used here.
I didn't test it, because I still don't think it's a good idea
 
bypass: run del.
 
You lost me Ian, did you change the answer posted?
 
3:37 AM
but I added the hash comparison instead of the plain-text password
yeah @KazWolfe, there's that too :p
 
hm. i'm 4 votes away on one of my questions from another hat.
i need improvement ideas to generate more goats!
 
is that a hint hint ?....LOL
 
no.
 
i want to know how to make the question better in order to attract more organic upvotes.
 
3:39 AM
man, I'm so thankful for the VMs
I'm watching some streaming on a really suspicious website running flash plugins, full of bait ads and annoying pop ups
 
oh so we are non-organics?... I'm 5 of 9 and over there she is 7 of 9.
 
which I'd NEVER do if I weren't in a VM :D
 
Ian use "Adblocker Plus" works great here in AU and all around the web.
 
@WinEunuuchs2Unix if i'm hinting at getting votes and i get votes, it's not organic.
 
Kaz just link the question in question.
 
3:40 AM
 
ummm I already upvoted that one.
 
@WinEunuuchs2Unix I think I'd be more worried about the flash than the ads though :p
 
Ian I also have flash control chrome extention.
 
@Seth if you get to the point of testing the system, I'd be glad to help!
 
@WinEunuuchs2Unix then you can give improvement ideas.
 
3:43 AM
@KazWolfe I said I upvoted it... I didn't say I read it :P
Weird but true story... I had to upvote 600 questions to get a gold badge... and in the process I dropped from top .12% to .20% for the quarter.... In essence I handed out 3000 points to others instead of writing answers to questions and making points. A manager at work calls that "chasing the shiny thing".
Ugghh I just bought DVD's from the dollar store and they are shiny on both sides... which side is supposed to be up????
 
@IanC Okay! Thanks!
 
3:59 AM
@Serg from sys import argv, argv is a module and sys is a set of modules?
 
@IanC nope, argv is a class. You're importing only single class from specific module
 
oooh, I see
 
@IanC on your sha256 or whatever someone posted a comment "you could simply hash the password" which is what your idea was I think.
 
>>> from os import path
>>> os.listdir(".")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
So, if you import single class from module, you can only use that. you can't use anything else
 
I don't think Ruby supports that, guess when you require a module it's all or nothing
 
4:11 AM
yesterday i could change streaming server, today i don't see that option in the right click menu. What the duck !
 
what are you watching?
 
There's a chinese streaming website. Just watching a few random people. Sort of KTV singing, gaming, just plain talk, etc.
 
can you understand chinese without captions?
 
yawnn
 
Some of it, yes.
I actually need to practice and bump up my level. I wanna go for HSK level 5 exam, which is like Chinese proficiency exam for foreigners ( aka non-chinese folks )
 
4:15 AM
that's nice!
only foreign language I can understand really well is english, and my pronuntiation is probably not the best
probably can handle myself with spanish
and know really just a little of german
all I can say in chinese is "ni hao ma" haha
 
OOooo, very interesting. So apparently every streamer has their own set up. On come streamers you can select different servers, and other have only one server. Probably has something to do with ranking
I studied some spanish but . . . .it's like pushing a heavy car up the hill. I can feel interested for a while, but then i loose interest
I really want to learn Korean and Cantonese Chinese. Japanese would be nice, too, since that's what i originally wanted to learn
 
Twitch >_>
did someone... say korean???
 
Me ?
 
yas u
 
grr... getting some of these hats is next to impossible.
 
4:22 AM
lol
digging for hats?
 
Dude, you already have 30 , don;t you have enough ?
 
either because any good question i think of is a dupe, or anything at -3 is guaranteed to be nuked.
@Serg There are 41.
I can get 38 of them right now.
and i have 33.
(well, 31 on AU, two are SO only)
 
Does anyone know how to disable flash in chrome and use only html 5 ?
 
사람들이 모자를 쓰는 이유는 무엇입니까?
 
@Edity 因为帽子都很酷
 
4:25 AM
@Serg Ask a question, get it down to -3, I'll answer it, and then we can get it back up to +3, and then i can hit +5.
 
lol, because their cool?
 
@Edity yeah !
 
okay
see you all later
 
you get an answer, i get a really challenging hat. Win/win.
sound good?
 
O_o one girl is streaming via phone apparently and surprisingly with good quality. WTF ?
@KazWolfe eh . . . it might get closed before you even answer it
 
4:29 AM
@Serg for what?
it's technically about ubuntu, being on the ubuntu platform and all.
(which has worked with a lot of other questions that should be closed)
 
Aha, found it, chrome://plugins
 
damn it.
this site has no -3 questions that are remotely close to answerable.
 
Lol, sorry Kaz, I just can't help you lol
 
(well, no, you can.)
 
[ SmokeDetector | MS ] Bad keyword in body, blacklisted website in body, link at end of body, repeated URL at end of long post: that to seal all of it in and make specified it doesn’t evaporate by user636767 on askubuntu.com
 
4:39 AM
freakin' flash . . . You're gone - there's downside, but when using flash , it's not better either. Can't we have a better system for streaming stuff ?
 
has anyone ever had plantar warts?
 
quick search on google for plantar warts doesn't look too pretty
 
well, google tends to overreact a bit when it comes to illness :p
 
I can't decide if I should make myself a cup of noodles or not
 
yes
 
4:50 AM
this is not going to work.
 
What exactly ? @KazWolfe
 
trying for maverick on bad questions.
 

« first day (2285 days earlier)      last day (2686 days later) »