« first day (1491 days earlier)      last day (3455 days later) » 

Sim
7:07 PM
how do i get timing for this 0:14 seconds im trying to use time out im not good at math can anyone help i know for 2 mins is like 2000*60 math is my enemy as u can tell
 
> i know for 2 mins is like 2000*60
 
Sim
i know im dumb when it comes to mathh
 
@Sim Whadya mean?
 
you can't multiply integers?
how do you manage doing groceries?
 
Sim
nop
i can't
 
7:10 PM
are you on life support?
does someone else tie your shoelaces?
 
Sim
nop
just math
i can add but nothing else
 
You can't multiply?
 
how old are you?
 
Do you have any idea what 2000*60 is?
Do you know what that has to do with 2 minutes?
 
because Stack Overflow has minimal age requirement of 13
I am pretty sure that at the age of 13 kids are taught how to multiply
 
7:12 PM
how do I disable css in chrome?
 
@AwalGarg It may be possible to compile it without css support. Or use something like Plain Clothes.
 
@Sim the only thing computers can do is add
 
Sim
i think i got it
8400?
 
@Zirak what is plain clothes?
 
@SomeKittens except not.
 
7:14 PM
@AwalGarg Google
 
they can multiply, divide, and some even calculate square roots
 
oh right
!!google plain clothes
 
:/
 
@Sim did it work?
 
Sim
7:16 PM
yup
@SomeKittens thankss
 
I'm glad you've finally grasped multiplication
 
this gotta be a joke
@BenjaminGruenbaum see programming easy
everyone can be devloper
no multiplification needed
 
that's kinda the beauty of it all
 
@BartekBanachewicz Only web development though
 
@copy hurfhpgfh
 
7:18 PM
@BartekBanachewicz Well, yeah, and my 4 year old relative is an artist
 
@copy Says the guy who's favorite language is executable pseudocode!
 
@SomeKittens I said that. Earlier today. He's making fun of me.
 
@SomeKittens Python?
 
@copy Yeah (I'm joking)
 
7:22 PM
My latest crash course in Python has been a lot of fun, even if I do keep trying to use dot notation on dicts.
!!afk rebooting to WinDoze
 
s/WinDoze/2010/
!!afk because I have to
 
as I said earlier! some ppl don't need math (or Math) in their JS, therefore Math.Tau would just add unneeded bloated extra boilerplate code
 
@m59 AwalGarg is afk: because I have to
 
7:39 PM
@SecondRikudo ?
whats up?
@SomeGuy Looks great, only feedback from me is to maybe center it
^ case I just ordered
looks slick imo
 
@Loktar E:D?
 
sure I'm not doing anything else I guess
I gotta hook up the rift, and send/receive a friend invite
Im loktar on there
 
k
not sure how friend stuff works
 
me neither lol
its updating so itll be a few
 
preferred voice chat?
 
7:50 PM
I jumped on TS
generally I use mumble not sure if you have it or not?
 
nah
TS update...
 
I just jumped into rlemons
 
@SomeKittens aaaawwww
 
@m59 ?
 
m59
in knowing things on The Stack Exchange Network Chat, 2 days ago, by Zach Saucier
@AwalGarg We'd love to hear more about it if that's true!
 
8:01 PM
;p
@m59 I am sorry I didn't wish to give a false impression, I thought the sarcasm was clear, apparently it wasn't.
 
m59
in knowing things on The Stack Exchange Network Chat, 2 days ago, by Awal Garg
...I have certainly accepted Jesus as my savior and Bible as the only book. I accept my mistake.
 
m59
I recommend making that the truth ^ so that you don't need to be sarcastic and haughty about things which other people feel deeply. Jesus will give you love greater than that.
 
ok
 
0
A: How to select one or other or no checkbox from dynamic table?

royhowieI can't believe no one has suggested this so far. Your problem is a general misunderstanding of HTML. This is not what checkboxes are for. You should be using radio buttons: <div> <input type="radio" name="radio1" value="buy" id="buy"> <label for="buy">buy</label> <input type="radio...

for the love of god
 
8:07 PM
@royhowie This is absolutely the best solution, which OP didn't ask for.
+1
 
@AwalGarg thanks
I think it's somewhat embarrassing that these other people actually tried to fix his script
 
...-1 and lol to the question
 
@royhowie Have an upvote for being sane.
 
@BartekBanachewicz please don't be a douche to new users.
 
@BenjaminGruenbaum are you kidding me now
I admit, I am a douche a lot
I call people idiots for no reason.
 
8:16 PM
No, I'm not. Someone came here for help and what you did is call them stupid for not knowing how to do it.
 
but that guy went over the top and back again.
 
Why? Because he didn't know enough math by your standards?
 
by my standards?
 
No one in this room knows enough Math by my standards including me.
 
are you seriously suggesting that assuming someone knows how to multiply integers is too much?
 
8:17 PM
Do you think it helps them learn when you make fun of them?
 
...ahem
 
No, but when they don't know how to do it - don't make fun of them.
@AwalGarg ahem what?
 
I actually wasn't making fun.
I was too surprised to do that.
 
@BartekBanachewicz :/
 
Related:
!!xkcd ten thousand
 
8:18 PM
 
user2620028
Does anyone in here know c well enough (and is willing) to help me out with an easy homework assignment, i have bounced in and out of the c room for the past week and have not been able to get any resolution to my problem :(
 
@BartekBanachewicz Just... please don't do it.
 
@HatterisMad sure
just don't post code here directly, use some service for that.
@BenjaminGruenbaum I think you're losing it. But sure, whatever.
 
user2620028
@BartekBanachewicz what posting service do you recommend for c code?
 
@HatterisMad Ideone if you want to run it, Gist.github.com otherwise
 
8:20 PM
@BartekBanachewicz maybe I am, but I don't think making fun of people who admit they don't know how to do stuff is the right way and the more basic their problem is the worse we're making it for them when we call them names because they can't solve it.
 
oh wait it's down I forgot, sorry
 
We have a real problem in Math because of that attitude, we have a generation who thinks math is hard becauseo f it. Teachers are scared of it becasue when they didn't get what an integral is the first time they were made fun of.
 
I'm not blaming you for our education problem, I just ask that you don't encourage it here, that's all.
 
orite. Sorry.
 
8:21 PM
I can't make you, so I'm asking.
 
user2620028
@BartekBanachewicz ideone.com/gZEPUL
 
a guy knows how to use a computer, surfs the internet, writes code, earns enough rep to chat on the site, is over 13, and can't (not even doesn't know) multiply integers?
are you fucking kidding me?
 
@HatterisMad uh oh, that's a long code. Okay, what seems to be a problem?
 
user2620028
@Bartek only one method in that that is giving me problems
 
@HatterisMad which one?
 
user2620028
8:23 PM
@Bartek the printmemory method
 
user2620028
@Bartek if you look at that method it is a option if else, the if prints to screen, the else is supposed to print to file
 
user2620028
They should print identical results however
 
user2620028
I think it is a lack of my fundamental understanding of c
 
can you answer me what C Standard is this written against?
because the syntax of parameters that you're using is about 30 years old
 
user2620028
8:24 PM
My professor is an idiot standard? Not quite sure to be honest
 
void print_memory( current_print_job, memory_to_print)
int current_print_job, memory_to_print;
 
user2620028
allocating the arguments? lol
 
@HatterisMad stdout is a FILE*. You can fprintf(stdout, stuff) all day long.
 
user2620028
Is that not what i am doing?
 
So your if...else should be a matter of deciding which file pointer to print to. Beyond that, all the calls are the same.
 
8:25 PM
@HatterisMad well this syntax is still officially supported, but quite old.
 
No need to make the difference between writing to stdout and writing to file.
 
user2620028
@Zirak exactly, before i touched this method it didnt have the if else branch, it was only the code inside the if
 
yeah, so just use fprintf every time
 
user2620028
oh instead of printf
 
user2620028
in the if branch
 
user2620028
8:27 PM
but the if branch works perfectly lol
 
1 min ago, by Zirak
So your if...else should be a matter of deciding which file pointer to print to. Beyond that, all the calls are the same.
if (writeToStdout) { fd = stdout; } else { fd = f; }
fprintf(fd, "crap");
 
user2620028
yeah i know what you are getting at
 
@Zirak "%s"!
 
You also have a printf regardless of the condition, which could be a problem.
Also, remember to fflush
 
in PHP, 2 mins ago, by bwoebi
https://twitter.com/rasmus/status/533715791191887872 … Someone needs to spam Rasmus with encrypted junk…
sounds familiar ^
 
8:30 PM
@Loktar what happened with the RO list again?
 
@HatterisMad str1 and str2 are also incredibly useless
 
user2620028
@Zirak yep lol
 
You have a few oddities there in general
 
user2620028
@Zirak i never claimed this was good code, this is trying to make a professor happy
 
Blowjobs come easier
 
user2620028
8:33 PM
@Zirak i just for the life of me cant figure out why it only prints the first fprinf
 
4 mins ago, by Zirak
Also, remember to fflush
 
@BenjaminGruenbaum does that mean that the experiment ended in failure?
 
@SecondRikudo experiment over, Loktar and SomeKittens objected heavily and I didn't feel like it was worth it if it goes against their will.
 
I see
 
user2620028
8:33 PM
now i dont know what fflush does
 
Depending on implementation, output is cached to possibly combine multiple (possibly expensive) writes into one. How exactly it works is very system dependent, some only flush on newline, some at (seemingly) random times, etc. But it's good practice to flush after taking a large enough dump.
man to the rescue linux.die.net/man/3/fflush
 
Look! Zirak made a funny!
 
user2620028
So flush after its getting hung up you think
 
:D
@HatterisMad if you don't flush often enough, it'll start clogging.
 
@BenjaminGruenbaum bows
 
user2620028
8:36 PM
@Benjamin Thanks plumber
 
@BenjaminGruenbaum To save the rain forests, I only flush every Wednsday.
 
@BenjaminGruenbaum can totally be a plumber
 
For some reason, I am wanting to stop coding... I unno wtf is wrong
 
I should be a room owner, I totally am a js devloper
 
@AwalGarg Maybe you're human and have other interests.
 
8:38 PM
@AwalGarg try something different in coding. Or simply something different
 
@Zirak why save the rainforest? What has it ever done for you? I say let's burn it down.
 
@BenjaminGruenbaum My great uncle was a rain forest, and then 4012.js killed it :(
 
I think it is just because I am getting a laptop which is about 10 times more powerful then my present 8yr old pc... so I am too anxious to fuck with it.
@Zirak I'd have to check that ;p
@BartekBanachewicz kk
 
You can try Haskell now
Would only take an hour to compile yesod (fixed)
 
8:41 PM
wut
 
Platform is distributed as binaries, come on
Lens builds only 10 hours now
but then again, "trying out" hardly involves Lens :P
 
@copy ......I am so glad I didn't try haskell on this pc
 
@copy hihi
@AwalGarg can always use Scotty, that's a small one. (a web framework, like yesod)
 
The problem with Haskell is that it's too mainstream.
3
Oh wait, you're doing Idris now and not Haskell, rock on then.
 
8:42 PM
The problem with Haskell is that I don't know it.
 
I'm actually not.
@AwalGarg that's easily solvable.
 
@BartekBanachewicz Not me, @BadgerGirl
 
Good, Idris is so yesterday.
 
Ironically I charge $40/hr for code mentoring in C, and teach people haskell for free
 
Yesod was terrible when I tried it.
 
8:43 PM
@BartekBanachewicz not actually ;p I already have an exponentially growing "to-learn" list
Oct 8 at 8:44, by Zirak
The more you learn, the more you realise how much shit you still have to learn
 
@AwalGarg vOv priorities
@copy you two live together now?
 
@AwalGarg Whenever you add something to the list, the size of the list doubles?
@BartekBanachewicz Yeah
 
@copy aww. And you're both going to visit Poland?
 
Sure
 
If you both go to Poland and tell me long enough in advance I'll come visit.
 
8:45 PM
More people to laugh at @Ben behind his back is even better.
@BenjaminGruenbaum damn.
 
Although Gdansk is a long way from Germany, I wonder if there are direct flights there.
 
@copy The first time I added something to it, it grew by a factor of infinity! now you can imagine.
 
:D
@BenjaminGruenbaum yeah, I paid about €120 two-way to Berlin (but it's cheaper if you buy earlier)
 
@AwalGarg factor of infinity isn't a thing - unless you can show me two numbers where you divide one by the other you get infinity.
I'm probably in Amsterdam (again) the week after next week.
 
@BartekBanachewicz Can we crash your place?
 
8:46 PM
...
this guy
 
Note, he's saying 'crash your place' and not at your place.
 
lol
 
@copy I suppose. Depends on how long you'd like to stay and when.
 
Probably at the end of this semester (around March)
 
he would send you a copy
 
8:48 PM
oh March
 
March works for me, heck, I don't even care I'm invited I'm coming.
 
we might have moved to our new place by then
 
I'm a Polish citizen but I've never been to Poland.
 
@BartekBanachewicz then December
 
yeah if it's March then
a) I'll have a car to pick you from the airport
b) I should have finished refurnishing my flat and will be able to give you your own room
 
8:49 PM
Yay!
 
it's in Gdynia, but that's pretty close (it's a part of the tricity)
 
The world is such a small place.
 
This summer (hopefully) I'll be to the states for a month or two, nothing settled yet.
 
hihi pro map
 
@BenjaminGruenbaum when are you visiting us?
 
8:52 PM
Not sure, where are you in Germany again?
 
Bochum
 
Wait a minute, that looks like it's a train away from Amsterdam!
Which, I said, I'm probably in between the 26th and 29th
Google says it's a 2 and a half hour bus/train
Or a 2 hour drive
 
damn I can't wait to meet you guys (and badgers)
 
I'm actually a talking hand.
 
8:55 PM
@BadgerGirl seriously though - it's a weekend, have you ever been to Amsterdam before?
 
I have, but I can definitely go again.
I'll bring you cookies.
 
@BadgerGirl I'll keep you updated about the trip (I'm going 95%) but if I'm going I'd love for you and @copy to come. It'd be awesome.
@BadgerGirl I think they sell good cookies and brownies there.
 
So I've heard.
 
@BenjaminGruenbaum the ones with drugs inside?
with baked those once
 
@BartekBanachewicz No, why would you think I implied that? In Amsterdam :O? surely you jest.
 
8:57 PM
or so we told people
 
@BenjaminGruenbaum Sounds cool
 
they were high nonetheless
 
Yay :D
We're having a meetup.
 
g'night internet people
 
we don't exist good night
 
8:58 PM
@BenjaminGruenbaum Where do you stay?
 
well shit I was supposed to write js and I'm finishing 3rd beer and talking with you
what do I do with that?
Grab a 4th, I suppose.
 
I have no idea yet, we have plans with friends for two weeks from now, I don't have tickets yet, we're buying tomorrow. We're probably staying at a hostel.
 
@RoelvanUden you should come too
And whoever best friend who happens to live in the Netherlands
 
@BadgerGirl I respectfully decline. Thank you for the offer.
 
@BadgerGirl zigi
 
9:07 PM
@Florian you should come too
 
@FlorianMargaine shudder
Say it again
 
@BadgerGirl 10 hours by car...
 
take a plane
I'm taking one
 
will you pay for it?
:P
 
9:14 PM
How much is it?
 
no idea
anyway, I won't let you pay for it
 
So buy it yourself :D
 
@BenjaminGruenbaum I'll take it
 
@BenjaminGruenbaum can I get your feedback on my pong?
 
@SecondRikudo sure.
ping
 
9:21 PM
:)
 
tag:benjamin-so-troll
 
@SecondRikudo can you make a gh-pages branch?
@SecondRikudo why don't you separate "classes" in files?
 
@FlorianMargaine Yes, until I do, 5minfork.com
 
too lazy
 
9:23 PM
@FlorianMargaine It's an example project, I didn't want to start getting too complex
(For learning canvas)
 
so you think it's more complex to create files than putting everything in the same file? :s
 
@FlorianMargaine Meh, it really doesn't matter that much
 
@SecondRikudo why do you have a vector class?
 
@BenjaminGruenbaum To easily control coordinates and speeds
Vector addition and scalar multiplication mostly
Plus, it made sense, I'm dealing with a lot of movement and positioning
 
@SecondRikudo the global context is weird, you should inject it into things that are drawable
 
9:37 PM
@phenomnomnominal Inject ctx into Entity?
 
Meh, this would've looked so much betteri n ES7.
Apart from injecting which was already mentioned and performance stuff which you probably don't care about - looks nice.
 
@BenjaminGruenbaum 2018 problems amirite?
 
Also - why is reverse not on prototype?
@phenomnomnominal lol :D
@BadgerGirl just talk to friends I'm flying with, they're cool with you coming :) We're buying tickets tomorrow I'll keep you updated.
 
Cool :)
 
9:44 PM
I learned today how to do interfaces in C
it's pretty cool
 
@BenjaminGruenbaum Because it returns a new vector, rather than changing this one
It seemed like a factory method to me, so I preferred it static.
Style choice.
 
why don't you make Vector immutable and have all the prototype methods doing the same thing as reverse?
sure, not performance awesome.
 
@FlorianMargaine I could do that, actually.
 
reverse is not a factory, it's just a method of an immutable object...
I don't need to point you to ircmaxell's "Beyond OOP" article right? :P
 
I tried to focus more on the canvas side of things, physics and the such, and less on the overall structure of it
It's a Pong game ffs :P
 
9:53 PM
in PHP, Sep 26 at 10:46, by DaveRandom
Never post code in this room if you don't want it dissected :-P
 
@FlorianMargaine There are several things wrong with you posting that.
1. It's not that room.
2. I want my code dissected
3. I'm merely commenting on your feedback, but I do appreciate it;
 
@FlorianMargaine meh
 
@BartekBanachewicz javascript.
it's not haskell
 
lol
I love how everyone has to guard themselves against that now
Notice how I just said "meh"
 
there isn't a runtime optimizing by doing diffs of objects
nah, I just meant this ^
 
9:56 PM
I know what you meant ;)
 
in js, it's inherently slower to work with immutable objects
as in many languages tbh
 
@FlorianMargaine then again, there's not many languages around that do that
@FlorianMargaine precisely
even in Haskell MArray is the only option sometimes
 
although I don't know if C# doesn't optimize that. I mean, it encourages working with immutables objects, so maybe it has something similar...
 
SQL might do that too
 
user2620028
 

« first day (1491 days earlier)      last day (3455 days later) »