« first day (824 days earlier)      last day (4124 days later) » 

2:00 PM
He uses java in the book, but that can go well for c++ or C, or python
 
user142019
FUUUUUUUCK
 
user142019
I'm already at school.
One hour early.
 
@StephaneRolland tnx, I saw some part about threading and shut down and felt a bit too abstract... like make sure your app shuts down correctly from the begining :D
 
user142019
Parents y u say 14:45 when I ask you the time when it's 13:45.
 
lol
Zoidberg relies on his parents to tell him the time.
 
2:00 PM
@NoSenseEtAl I don't remember the part about threads
 
user142019
@TonyTheLion My watch broke. :<
 
you suck
what about the time on your computer???
 
user142019
Ah well, time to work on Hexapoda and to troll you guys some more.
 
user142019
@TonyTheLion I use Linux in a VM and the VM's clock is incorrect.
 
any linux gurus around? My (virtual) machine isn't showing up in /net/<hostname> on other machines on the network. Any idea how to troubleshoot stuff like that?
 
user142019
2:01 PM
I can show OS X's menu bar, but I didn't think of that.
 
@Zoidberg You suck?
 
@Zoidberg what a crap excuse
 
@NoSenseEtAl I tend not to hesitate to jump over the part of a book when I don't feel interest, so maybe I've just read the parts I wanted to read
@NoSenseEtAl but again, don't expect a revolution, it's just how to write clean code. Code that's easy to read and modify.
 
@Zoidberg Most likely because by default linux assumes the bios clock to be UTC, and Windows assumes it to be local time?
 
@jalf Btw, you can now have Windows treat it as UTC.
 
user142019
2:03 PM
I don't use Windows.
 
Yay for "secret" registry settings.
 
@R.MartinhoFernandes oh really? How?
 
@jalf I think this is avahi-related.
 
user142019
GitHub always adds four days to times on my computer, so e.g. in 3 days mojombo open sourced mojombo/conduit.
 
Xeo
Hm, I got a nested for loop.. with indices i and j and I told myself to watch what I write in the increments... still fucked up and incremented i in the j loop. :|
 
user142019
Laptop on lap > laptop on desk/table.
 
Xeo
@Zoidberg Laptop on lap-top?
 
@Xeo This has happened to me quite a few times.
 
@jalf It was there since ever, (XP or early), but was buggy. They fixed it with 7 IIRC.

Robot does not like loops

Nov 15 '12 at 10:17, 24 minutes total – 135 messages, 11 users, 0 stars

Bookmarked Jan 10 at 21:15 by R. Martinho Fernandes

I feel so smug now.
 
2:10 PM
erm... is it possible to have bash script send su commands into a detached screen? I know how to send commands into said screen... but performing the su is proving challenging
 
@thecoshman Why don't you just attach to it?
 
@R.MartinhoFernandes I want to automate it
 
@thecoshman And?
 
if I attach to it, how do I automate running the actions within the screen session?
 
Anyway, that sounds wrong.
Are you sure you want to send stuff to whatever is currently running on that session?
Doesn't sound very automate-y.
 
2:14 PM
@R.MartinhoFernandes yes, I am going with blind faith that it is doing exactly what I told it to :P
 
What are you trying to do exactly?
$ screen -S session -X stuff thingy types "thingy" into the session named "session".
 
automagically start a program as a user
 
But that is really nasty.
@thecoshman Why does it have to be on a particular detached screen?
 
the fact that it is detached is not really relevant, I just want to start the screen detached so that I personally don't have to interact with it
 
@thecoshman I recommend screen -S name -d command instead.
 
2:17 PM
which does...
 
Instead of starting the screen and typing your command in it, just start the screen with your command and detached (-d).
 
user142019
case id <$> ref of yes very useful id <$>. I think it's time to sleep.
 
@R.MartinhoFernandes the command 'name'
 
21
Q: Make a program run slow

RoboAlexIs there any way to run a C++ program slower by changing any OS parameters in Linux? In this way I would like to simulate what will happen if that particular program happens to run on a real slower machine. In other words, a faster machine should behave as a slower machine to that particular pro...

^^ lol
 
@thecoshman No, the command "command". "name" is the name for the screen session, in case you may want to attach it for some emergency procedure or whatever.
 
2:20 PM
@R.MartinhoFernandes but how do I get the command to run as a different user?
 
Hello
 
@thecoshman Make the command be sudo?
$ sudo -u user thing will run the thing as user.
 
Anybody have any good references/tutorials/books on the format parameter of fscanf or sscanf specifically in c?
 
@R.MartinhoFernandes that has the problem of asking both for my sudo password, and asking for a password in the first place
 
2:22 PM
@thecoshman And su won't?
You can also run the screen with sudo instead (i.e. $ sudo screen).
Or allow running that particular command without a password. (man sudoers for info)
 
@R.MartinhoFernandes it only has one problem, I need to enter a password. but at least it is only the password of the user i am su-ing to
 
@thecoshman You can also feed your command into su's standard input.
But that is hackish as heck.
 
user142019
Good guy Coke machine gave me two cans for the price of one.
 
TIL people still use Turbo C++
 
user142019
lol
 
2:24 PM
@Rapptz Tis common in Indian universities.
 
Why's that
 
atm I am feeding three lines into my screen `su user_to_run_as ;exit`
`password_for_user`
`program_to_run ; exit`
not great I know
 
Xeo
@R.MartinhoFernandes Can I get the opposite of that and make programs run faster? :D
 
If you want to use the password of the user to run as, instead of the current one, sudo can do that too. Again, man sudoers.
 
the main problem is, I want to ssh in as one user, but run this program as another...
 
2:27 PM
Write a custom PAM module
 
@CatPlusPlus ¬_¬ trying to find a simple solution
 
Hint: it's sudo
 
So, to sum up, I would do $ sudo -u user -- screen -S whatever -d command.
 
user142019
I don't even have sudo installed.
 
And set up sudoers however you want for that.
 
user142019
2:28 PM
Today in class: state diagrams. =_=
 
@R.MartinhoFernandes hmm...
 
If you are willing to skip asking for a password (hardcoding the password ends up being the same thing, no?), $ screen -S whatever -d -- sudo -u user command is another option.
 
user142019
Please somebody come over to Rotterdam with a gun and shoot me.
 
Use targetpw flag in sudoers to make it ask for target user password
If you want it to behave like su
 
Yeah, sudo is flexible as fuck.
 
2:30 PM
Who wants to write theoretical test about control theory for me
 
I can configure sudo to let a certain command (or custom fancy pants script) with out it actually asking for a pword... no? so for any other action, the sudo would still need a pword, and that account is still using a pword...
 
It's boring as hell
 
@thecoshman Yes.
 
And once again I don't remember how to multiply matrices and determinants manually
 
ah not matrix maths
 
2:32 PM
It's like fucking integrals
I remember it for a day and then have to learn it all over again
 
Because of course you have to remember this shit, you can't have the damn equation written on paper
 
My superpower is better than yours.
 
My superpower is sleeping 20 hours without a break
 
25 secs ago, by R. Martinho Fernandes
My superpower is better than yours.
 
2:33 PM
@CatPlusPlus Woah.
 
See, Tony knows what I'm saying
 
user142019
My superpower is annoying you with my false claims on C++.
 
My other superpower is getting drunk easily.
 
But seriously control theory
So very relevant to my computer science
 
2:35 PM
@CatPlusPlus I have no idea what that is anyway.
 
@R.MartinhoFernandes drunk_mode();
 
Ah who am I kidding this degree is not CS, it's some other weird thing and I've been lied to
 
user142019
Same here. I know how you feel.
 
user142019
We get shit about UI design.
 
user142019
If I wanted to study UI design, I'd go to a fucking UI design school.
 
UI design at least has some relevance
If you don't know anything about UI design you end up being Apple
But industrial controllers?
 
user142019
@R.MartinhoFernandes I like the lightning.
 
@R.MartinhoFernandes very much so :D
 
I don't want to have anything to do with platforms like that, and doubly so with theory behind them
 
user142019
lol
 
2:40 PM
@R.MartinhoFernandes Angry mages attack
 
@R.MartinhoFernandes no, you have too many
but it does deserver stars...
 
I can't help it, I can't deny a man his stars
 
It's me
I'm the deserver
 
user142019
I'm thinking of making a BugDatabase monad. :|
 
2:41 PM
Pity they aren't wallpaper sized.
 
user142019
They are if you stretch them.
 
user142019
:D
 
user142019
But I'm not sure if it makes much sense.
 
user142019
I don't see how it could be a functor.
 
So many equations to remember
 
user142019
2:44 PM
Write them down.
 
Yes that will help a lot
I'll just then map the piece of paper to memory
Remotely
 
Good idea Cat!
 
Yay, I successfully asked something in German to a coworker.
 
@R.MartinhoFernandes "Why is my toilet on the way"
 
2:49 PM
What.
 
@R.MartinhoFernandes nevermind
 
@thecoshman "Warum ist meine Toilette in weg?", I guess.
 
user142019
I think "im Weg". :P
 
user142019
Though I must say, I'm pretty terrible at German.
 
user142019
2:50 PM
(And no, leaving off the last two words is not funny.)
 
Oh. Maybe. I haven't learned all the declensions yet.
 
Xeo
@thecoshman Da fuq.
(Yes, "im Weg")
 
can a man not imply a robot is bad at German?!
 
user142019
> Waarom is mijn toilet in de weg?
 
user142019
However, it's a very weird sentence.
 
2:52 PM
@Zoidberg That's Dutch?
Quite similar it seems.
 
user142019
@R.MartinhoFernandes That's Dutch.
 
user142019
But you'd rather say "Waarom staat mijn toilet in the weg?".
 
Oh. Maybe "stellen" instead of "sein" would fit better. (@Xeo?)
 
Xeo
@R.MartinhoFernandes I think you mean "stehen", as in, "Warum steht meine Toilette im Weg?"?
 
Xeo
2:55 PM
Also, "on the way" isn't really "auf dem Weg" in German.. atleast it doesn't sound right.
 
@thecoshman See? I'm bad at it.
 
Xeo
"I'm on the way" == "Ich bin auf dem Weg", as in, I'm currently going somewhere.
 
Haha, US politics are still funny.
> First, we learned that Bachmann is refusing to pay five staffers unless they sign a nondisclosure agreement that prohibits them them from talking to any reporters or police about any "unethical, immoral, or criminal activity" they may have witnessed during the campaign.
 
I want to cry!
 
What happened?
 
3:03 PM
copy pasting from one XML XSD to another XML XSD makes the XSD invalid
but it's complicated, I can't see the forest from the trees
that means I'm going to have to make an effort to read and understand both and try and figure out how to fit one into the other
while not being tempted to go out and jump off a bridge
 
Sounds like fun.
Ah fuck it. Jeremy Soule is awesome, but I have been listening to this same playlist for a month now. Time to change.
 
@R.MartinhoFernandes I might want to check it out.
 
@StackedCrooked He's great.
 
user142019
I love >>=.
 
3:12 PM
I don't.
I prefer do-notation, fmap, <$>, and/or <^/ ^>.
 
user142019
Oh of course <$>.
 
>>= gets clunky really fast.
 
user142019
Sometimes I like oneliners like runReaderT f (DatabaseState repo) >>= return . Just.
 
@Zoidberg Ain't that fmap?
 
user142019
Hmm.
 
user142019
3:14 PM
Just <$> runReaderT f (DatabaseState repo) compiles.
 
user142019
Hmm nice. Thanks!
 
@Zoidberg Yep.
 
user142019
It compiles so it works.™
 
I don't suck that bad at VCS. ;~;
 
user142019
Okay, you suck good at VCS.
 
3:18 PM
I don't suck at all at VCS! :c
I just don't check in as much.
 
Or you're good at sucky VCS.
 
@ThePhD Aka you suck.
 
=[
I check in when it matters!
 
In other words, you suck when it matters. :P
:)
 
user142019
Vigorous Cunt Suck.
 
3:20 PM
;~;
Ya'll dun hurt mah feelin's SO much. ;~;
 
@ThePhD Erm, I think yesterday proves the opposite.
 
@R.MartinhoFernandes Thaaaat was just a circular dependency isssuuuueee! My VCS was fiiiine I sweaaar.
 
I beliiiiieve I can flyyyyy
 
user142019
I believe you can't fly.
 
Why? He's on the no-fly list?
 
user142019
3:24 PM
He's a human.
 
user142019
Human's can't fly.
 
@Zoidberg of course we can!
seems legit
 
Airplane! (titled Flying High! in Australia, New Zealand, South Africa, Japan, and the Philippines) is a 1980 American satirical comedy film directed and written by David Zucker, Jim Abrahams, and Jerry Zucker and released by Paramount Pictures. It stars Robert Hays and Julie Hagerty and features Leslie Nielsen, Robert Stack, Lloyd Bridges, Peter Graves, Kareem Abdul-Jabbar, and Lorna Patterson. The film is a parody of the disaster film genre, particularly the 1957 Paramount film Zero Hour!, from which it borrows the plot and the central characters. The film is known for its use of absu...
SCNR.
That movie is awesome btw. You should watch it or never ever mention you haven't watched it.
 
@R.MartinhoFernandes Surely you can't be serious.
 
3:29 PM
Why didn't you call me Shirley?
 
Because "surely" was the word. "Shirley" is what Leslie Nielsen heard.
 
/ˈʃɜːrli/ you must be joking.
 
Oh, the lounge-wide ban on pointers is still in effect.
 
Right, that's playing it safe.
 
int *array = (int*)malloc(sizeof(int) * 10);
Am I going to get banned?
Not only is there pointers, there's also malloc(), and casting the result of malloc().
 
3:33 PM
@Mysticial No, just mocked for not knowing C.
2
 
@Mysticial Why do cast the result of malloc? Why don't you sizeof *array?
 
ahahahahahah
 
fuck
 
If Cat finds out, he might try to bring the Ban Hammer down on you.
 
I guess I'm fucked.
 
3:34 PM
Or just hit you with the You Suck Hammer. Whichever suits his fancy.
 
@R.MartinhoFernandes Because he does not know C.
I thought that was obvious.
 
Ell
Airplane is hilarious
and the naked gunw
 
user142019
@R.MartinhoFernandes that's the planes that fly, not the humans themselves.
 
Because everyone knows planes are made by magical ants.
 
Reminds me of that thing the guys at Extra Credits called "kinesthetic projection".
 
user142019
3:43 PM
Java y u no Haskell.
 
You know, when you feel like a tool you're using is an extension of yourself?
So, instead of saying, "I'm in a plane that flies", you say "I fly"?
@Zoidberg Because that would make it worse than it already is.
 
@EtiennedeMartel There's something like that in religion.
It's, uh
It's called Otherkin, I believe.
 
Waaaaaaaaat.
Boy, your head is messed up.
 
People who legit believe they are bridges / chairs / trucks / foxes / jaguars
 
@ThePhD I hope you're not refering to those people on Tumblr.
 
3:44 PM
Or maybe they just identify with them... I'm not sure. I can't remember exactly.
 
That's totally not the same thing.
 
In either case they make it a way of life / religion. I wonder if it's anywhere in wikipedia...
 
my mother is a dragon otherkin— i know because she used to tell me all the time how she felt she was a dragon in the body of a woman
Still.
 
You are totally about mental disabilities. We were talking about extreme familiarity with some tool.
 
Otherkin are a community of people who see themselves as partially or entirely non-human. They contend that they are, in spirit if not in body, not human. This is explained by members of the otherkin community as possible through reincarnation, having a nonhuman soul, ancestry, or symbolic metaphor. Scholarship has framed this identity claim as religious because it is frequently supported by a framework of metaphysical beliefs. Description Otherkin largely identify as mythical creatures, with others identifying as creatures from fantasy or popular culture. Examples include: angels, demo...
So it's religious.
 
3:47 PM
Mostly attention-whorish.
 
@EtiennedeMartel I never knew that stuff happened on Tumblr. I had met a person who started talking to me about it.
 
@ThePhD Sounds to me like it's more generic insanity (where religion is a more specific form of insanity).
 
Then again, it's Tumblr. You could probably find anything on there.
 
@ThePhD There's a large otherkin sub community on Tumblr
 
@EtiennedeMartel Welp, glad I don't use Tumblr! :D
 
3:49 PM
I wonder, though, why is it always dragons or wolves or hawks or other cool animals? Why is there no slug or fruit fly otherkin?
I think some of these guys might be talking bollocks.
 
@EtiennedeMartel ...
 
@EtiennedeMartel It'd be hard to identify with something that barely lasts a few months at the very best.
 
check out @AmericanAir 's twitter header. They own http://aa.com, but they use http://www.bit.ly links. Yes, with the www.
@ThePhD I don't think the wolf ones live only to age eight.
 
user142019
School y u no interesting subjects.
 
user142019
3:51 PM
I don't give a fuck about UML and Java.
 
@Zoidberg "School" <---> "Interesting Subjects" You can't have it both ways.
 
@ThePhD I disagree.
It's not the subject, it's the teacher. A good teacher can make anything interesting.
 
No teacher will ever fascinate me with UML.
 
user142019
But in order to make Java and UML interesting, you'll need to be an extremely good teacher with a very high amount of imagination.
 
@Luc remember when you thought "y" in German was [y] like ü? fünf is [fʏnf] (and I never heard anyone say [fynf]).
 
3:53 PM
@Zoidberg Or huge tits.
 
user142019
But then the tits of the teacher are interesting, not the subject being taught.
 
@EtiennedeMartel Huge tits + very high amount of imagination = win.
 
user142019
And the teacher has to be a hot female in order to make that work.
 
@Zoidberg Could you imagine? A horror-inspiring face with huge tits.
The mental challenge one would have to engage in.
 
THAT CRAZY MOMENT WHEN YOU DISCOVER YOU’RE OTHERKIN, AND THEN THE NEXT DAY YOU WALK AROUND AND ALMOST EVERYTHING GIVES YOU OTHERKIN FEELS.
 
3:55 PM
I wonder why.
(I am not sure that is not confirmation bias)
 
@R.MartinhoFernandes I think it's a textbook case.
 
@DeadMG Repost of a repost
 
wasn't here at the time.
 
doesn't matter
 
3:57 PM
and it's not on the starboard
 
It WAS on the starboard
 
Oh, now it's our fault.
 
@EtiennedeMartel Dammit, stupid extra "not" slipped in and ruined the joke.
 
@EtiennedeMartel Absolutely.
 
That's the puppy for you.
 
3:58 PM
puppy logic
 
the only real logic
 
erm
the only place where things make less sense than they did before
 
they make all the sense
 
"My yellow truck is green"
 

« first day (824 days earlier)      last day (4124 days later) »