« first day (2806 days earlier)      last day (2135 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
nerd
!!friday
 
\o/
 
Wes
i've seen worse things starred, namely @DaveRandom in a banana hammock
6
 
gods
to think I'd forgotten that I'd ever seen that
 
Wes
how, i have been trying to forget for years
 
3:04 PM
drugs, mostly
 
@Wes I am both intrigued and terrified.
 
lol
 
Wes
lol
 
Room 11 is star-happy today.
4
ah, jeez...
 
Soooooooooooooo
 
3:09 PM
stars everywhere!
3
 
cc @MadaraUchiha @rlemon
 
I was expecting 11.
 
@PeeHaa hah
 
yeah, 11
 
It's the fucking JS room...
:-(
 
3:11 PM
did you plaster Amp stickers on a wall?
 
Was it a mess too?
 
@StatikStasis It was when we left :P
@Tiffany I don't have amp stickers because @DaveRandom sucks
 
@PeeHaa =D Did you light the bbq?
 
@PeeHaa The universe is giving you signs.
 
Not sure if metaphor or just meaty
 
3:12 PM
Come to the client side, we have this (although no one is sure what or where)
 
Wondering if she used the sudo commands in person on PeeHaa.
 
@StatikStasis What do you think?
 
Yes
 
3:14 PM
lol
 
guess what's worse? I had to deal with a frigging js bug the entire day before the roadtrip :p
 
felt like he took me to r17 to ask about it :D
 
yeah you think you're done with JS? Well guess again!
 
posted on June 22, 2018 by CommitStrip

 
3:18 PM
 
WOW! I just noticed one of the stickers on @PeeHaa 's laptop: i.imgur.com/miT4bOB.png
8
 
hehehehehehe
tbf it's @Ekin's laptop :P
 
thanks :P
 
this gets better and better
 
3:20 PM
LOL! =D
 
I mean fluck you too
4
... that's mine
 
Wes
so what's the story that made you use that sticker on something different than a toilet cover
tell us :B
 
I thought your photoshop detection skills would be higher @Wes :)
 
:P
 
Wes
oh i am not paying attention
 
3:23 PM
lol
 
:D
 
Wes
i was expecting a funny story
 
@StatikStasis you should have adjusted colors :(
 
It was supposed to be a quickie.
 
That's how you end up with a manbearsquidpigoctodog
Listening to people :P
 
3:27 PM
@PeeHaa I really want to see such a thing
 
:D
 
octodog... hmmmm
I'll settle on octochicken
 
Good lord that looks disgusting.
 
it's awesome you mean?
 
...yeah that.
 
3:30 PM
@FélixGagnon-Grenier lol
That looks weirdly tasty
 
aye
 
I really wish to cook one like that one day
and get beaten half to death by the people I'll have invited for supper
 
@FélixGagnon-Grenier Someone has watched way to much hentai.
 
wait, there's actochicken in hentai? brb, whacking it to that
 
3:31 PM
welcoming
 
Octopus has to be cooked a certain way in order for it to be good
 
Wes
hi appropriate avatar
 
Otherwise the texture is wrong and it's unappealing
 
a long time, is how I believe it's to be cooked
 
Wes
octopus is my fav food
 
3:32 PM
I love properly-cooked octopus, I hate octopus that feels like chewing rubber
 
Wes
could eat tons of this
 
okay that looks amazing
 
@Wes you meant "better", presumably
@PeeHaa I should indeed go fuck myself
 
Wes
it.wikipedia.org/wiki/Todarodes_sagittatus is the species. and shrimps, and mediterranean mussel
 
I asked Trowski for stickers months ago. It's not just you @DaveRandom.
 
3:42 PM
@Allenph I had to remind him a second time, he got them in the mail shortly after, and I got them around a week later
 
I haven't even tried to use it yet. But now I have time! \o/
 
I may be in mainland europe in a couple of weeks anyway, where it will be significantly cheaper for me to mail then than it is from here
 
@Allenph did they kick you out the door?
 
The British Invasion II @DaveRandom
 
apparently the fact that it needs to cross ~20 miles of water that have literally thousands of crossings/day and a fucking rail tunnel makes it like £10 more expensive
 
3:44 PM
@Tiffany No.
@DaveRandom Probably some kind of tariff.
 
@Allenph We have not yet stockpiled anywhere near enough tea, that's at least 20 years away yet
 
Still have a deficit from Boston?
 
well tbh we keep shooting ourselves in the foot, I have had like 8 cups of tea so far today, and it's very much not over yet
 
@DaveRandom You should regardless :P
 
@DaveRandom caffeinated tea?
 
3:50 PM
teinated tea mayhaps?
 
Is there an equivalent of an Irish Covfefe for tea?
 
Just tea. If it's not camellia sinensis it's not fucking tea. Cut the leaves off, dry them out, possibly ferment them, that's tea. Anything else can fuck off.
@Allenph a cup of tea makes a fantastic accompaniment to a joint.
 
<3
@DaveRandom, saying the hard truths since last joint
 
@Tiffany The stuff that's sold as decaf is generally crap, I have got reasonably good at doing reduced-caf ones by essentially rinsing the bag with a small amount of boiling water, which (supposedly) removes ~80% of the caffeine without removing too much of the flavour but honestly I don't really bother.
 
You heard about "Caffeine Naps"? Apparently it's a 20 minute nap and a coffee. Supposed to be pretty good for waking you up.
 
3:56 PM
@Fabor yup, I do that with my adhd med in the morning, sometimes
well, except that it takes an hour for the med to kick in
 
@DaveRandom Should try coco leaf tea instead of coffee to go with the joint. Wonder how well they'd pair.
 
@Fabor yeh I have heard about that, my gut reaction was "20 mins is about the lag on an E, that would probably be better"
@Fabor you mean coca or cocoa? Very different things :-P
 
lol
 
coca leafs are overrated
 
3:57 PM
heh
 
evenin
 
yeah coca leaf*
and I think it tastes alright.
 
just popped in to post this acm.illinois.edu/404
 
3:59 PM
I suspect it tastes of not that much after the first couple, it's a pretty effective local anesthetic...
 
yay, something from Illinois that I don't have to be ashamed about
 
@mega6382 best 404 page ever
 
though, UIUC is usually the only one that puts out anything good
 
It's kinda sweet tasting tbh. Probably not to different from sugar water.
But then again I add sugar to mine
 
@Tiffany you also have the Cusacks
 
4:00 PM
@mega6382 That is great.
 
@StatikStasis someone visited the room earlier than tripped my mental sensors, but not enough data to link the two
 
I thought that too.
 
@Fabor yeah, it does :) I am just sour about the fact it does not really gets one high
 
lol. Drink more then :P a LOT more.
 
4:07 PM
Rofl.
 
@Fabor hehehe :)
 
@mega6382 my favorite 404 page, unfortunately it looks like Bloomberg took it off. :(
 
@mega6382 I have recently come back around to the conclusion that JS is just insane. Occasionally I veer away from it, wondering if there's maybe something I'm missing due to not fully understanding some paradigm or other, but I'm pretty sure it's just insane and I will never actually understand it because it is inherently incomprehensible.
 
@DaveRandom Putting together a node script this morning… thinking if we could get fibers and async/await into PHP there would be no reason for this JS craziness.
 
4:23 PM
@DaveRandom I don't get why they love singletons so much. Is there some reason for that on the FE?
Even MadaraUchiha seems to think it's okay if it's JS.
 
singletons are dope yo
 
Iirc the original context of the def of the "singleton pattern" was for gui apps, about which I generally know very little
Maybe they do make sense there, if
 
I think there're primordial in video game making
 
I just want to ask one question. Is it impossible Inject sql with MySQLi Prepared statements?
 
Wes
4:28 PM
@kelunik iirc you were doing a php code to html pretty printer or something, right? how did it end up?
 
Do I need to use mysqli_real_escape_string with prepared statements?
 
Wes
i'm writing a pretty printer too, but maybe you did that already? making sure that e.g. tokens don't go on multiple lines $o<nobr>-&gt;</nobr>method()
 
@FélixGagnon-Grenier That's funny. I've always thought the best possible place for OOP would be video games.
 
Wes
is there a way to infer the language in markdown in the inline `code` like for multiple line code
```php
```
?
 
A number of MarkDown style parsers accept that, yes.
 
4:38 PM
@Allenph Singleton, as and of itself, is not bad. Sharing an instance through a DIC is actually implementing a singleton.
problems arise when people use static stuff everywhere that couple everything together.
 
I thought a singleton was when the class itself ensured there was only one instance.
Like, there's always a difference in style between an object that is shared but was not designed as a singleton, and a class that was designed as a singleton from the getgo...
At least in my mind.
 
541
Q: Are PDO prepared statements sufficient to prevent SQL injection?

Mark BiekLet's say I have code like this: $dbh = new PDO("blahblah"); $stmt = $dbh->prepare('SELECT * FROM users where username = :username'); $stmt->execute( array(':username' => $_REQUEST['username']) ); The PDO documentation says: The parameters to prepared statements don't need to be quoted; t...

 
@AbrarAhmed in addition to that^: prepared statements don't do anything against injection. If you prepare a statement that you crafted by concatenating unsafe values, a prepared statement will not protect against anything. You must ensure to use parameterized queries.
 
@Allenph Right, sharing an instance through dependency injection is common.
 
Yeah. I mean my repositories are almost always shared.
 
4:46 PM
!!lxr mysqli_real_escape_string
 
[ /ext/mysqli/mysqli_api.c#1962 ] PHP_FUNCTION(mysqli_real_escape_string) {
 
But sometimes they're not for weird reasons. They're not designed to be JUST be shared.
 
is that basically a getter for $this?
god, I can get lost in the lxr for php-src like I can reading wikipedia articles
like going down a rabbit hole
 
Wes
the trick is, after you opened 40 tabs in your browser, you kill it with the task manager and never open it again for 6 months
that's at least what i do
 
so if a function is called in C that has more arguments than the function allows for in parameters, this can be allowed through the usage of ... in the parameter list, and using va_list in the function to get the rest of the arguments?
I ought to brush up on C/C++
been ten years since I used either, but couldn't hurt to refresh myself
 
5:03 PM
I think that's how it works, yeah. Pretty sure you need some random header for it to work though.
 
@Allenph like va_start? e.g. va_start(va, type_spec);
 
Nope. It's stdarg.h. Looks like it's auto included in most compilers.
 
oh, that sort of header
 
@FélixGagnon-Grenier I just can't envisage a valid use case anywhere tbh, since they involve lazy instantiation that means that either they have no state based on ctor args, in which case you may as well just make it a fully static class, or the state needs to be available everywhere that accesses the instance in case there is no instance yet, in which case a factory would be just as easy or even easier
 
5:06 PM
I swear, this room doesn't just improve skill with PHP, it turns you into reading through the php source with a thirst of curiosity so strong that... I don't have an appropriate comparison
 
you forgot to mention the resulting night terrors
 
three years ago, I never would have thought I'd be digging through the php source with gusto
@DaveRandom I haven't gotten that far yet. I'm sure if I keep going like I am, I'll be reminded of Lovecraftian horrors
# At the Mountain of Madness
 
I haven't started with the PHP source much. I get confused almost immediately.
 
I don't understand what I'm reading at face value, I have to dig around, write stuff out, and try to understand what's going on, going through it step by step in my head or on paper
 
I think I'll try BrainFuck this weekend.
 
5:10 PM
@DaveRandom I can only imagine what my brain would conjure up in forms of nightmares while I was still on an anti-psych drug
 
php-src is not written in C so much as a snowflake language of triple-nested macros with a few random smatterings of C sprinkled throughout
 
is that where the ZEND comes in?
 
@Tiffany Did I ever tell you what the doctor gave me to sleep?
 
the theoretical separation between zend and php is another challenging concept, and one that I am far from the best person to explain
 
Give it a go! :D
 
5:14 PM
@Allenph I want to guess Ambien, but I'm guessing it's something worse
 
She gave me high doses of Seroquel. I'm almost positive it was because she was Mormon and I was honest about my recreational drug use with her.
I ended up going nuts in the middle of the night several times.
 
@DaveRandom how I understand it is that Rasmus built PHP originally, then worked with Israeli developers and built the ZEND engine as a semi-integrated part of PHP. It's like piling boxes on top of other boxes, with occasional bits of tape in between
 
as I understand it, the theory is that the language (PHP) and the executor (the zend engine) are decoupled from each other such that it would be possible to use the execution engine for a different language, but I've never been completely clear on whether this has ever been true in any meaningful way, let alone whether it's still practically true today
I think the original idea was something roughly analogous to the separation between IL and C#/VB.net/J# et al
but I'm not even certain of that
 
@Allenph of all the near-dozen types of anti-psych drugs I tried, I'm surprised that wasn't one of them
 
you should talk to Nikita/Bob/Joe if you want to know, it's possible that everything I just said is completely wrong
 
5:18 PM
I first have to ask myself if this is something I really want to dive that far into
 
@Tiffany I sent her a nasty note. Apparently my girlfriend was scared several times in the night and I repeatedly asked her if there was side effects like that and what she was giving me and she never told me.
 
my curiosity is piqued, but I'm not sure if I'm serious about trying to understand it
 
@Tiffany on a more practical level though, the reason for the general pattern of having a prefix is that C doesn't have any language-level concept of namespacing, so it's simply a mechanism for avoiding naming collisions
 
@Allenph I think 75% of the anti-psych drugs I tried gave me weird dreams, but they at least weren't scary. They were just weird. The last two drugs I tried, my dreams started veering towards nightmares, couple that with the "weird" aspect, and the nightmares I'd get were just horrifying. I suppose the fortunate part is that I couldn't remember them when I woke up. Maybe a piece here or there, but not enough to explain exactly what the dream entailed.
 
also it's worth noting that the confusing nature of php-src is largely a product of the fact that it's designed to be highly portable, combined with the usual cruft that comes into every project that has "legacy code". Not all C code is as hard to understand as php-src, it's something of a baptism of fire I think
 
5:22 PM
@Tiffany I didn't remember anything and was like ramming my head into walls and pissing in my closet and yelling at my girlfriend.
 
/me out, bbiab
 
o/
 
@Allenph do you sleepwalk normally?
 
Nope.
 
huh
I live alone, so I have no way of knowing if I was sleepwalking. If I did sleepwalk, I can only imagine what my cats saw...
on semi-related note, if you ever want to have wild, yet interesting and vivid dreams... be insomniac for a couple of days. I had some crazy dreams in my early 20s while I was going through a bout of insomnia, but they weren't scary... just interesting, like "I could write a book on this" interesting
 
5:29 PM
@DaveRandom I've always wanted to understand this too.
 
Wes
woah reading that unlocked me the dream i did tonight. i was putting salt in the petrol tank of a car of i don't know who
then i left laughing
like, evil laughing... MUAHAHAHHAHAHA
 
@Tiffany Dreams are crazy for like 2 weeks after DMT too. You could try that. :D
 
 
1 hour later…
6:45 PM
I'm here to help https://youtu.be/qr6LVLY1q8Q #cooking #soup #lasers
 
@Dereleased bored?
 
I just want to help people make soup
 
Whats with all the stars on the messages about all the stars?
 
@mega6382 chat.stackoverflow.com/transcript/message/43012971#43012971 I think this started it. @PeeHaa or @salathe sticky starred the message at first, then removed the sticky
 
Room11 went full meta
 
6:50 PM
I was wondering why a gist I posted was starred
seeking help on turning a nested-if mess from Excel into something tangible in PHP... that sounds oxymoronic
but, it's true
 
Yeah, I know, I was there at the time.
 
yeah, I dunno why
@Dereleased has it... we went full meta. I'm So Meta Even This Acronym
 
!!xkcd meta
 
I don't even know who Douglas Hofstadter is... I just like the statement.
 
6:54 PM
!!wiki Douglas Hofstadter
 
Douglas Richard Hofstadter (born February 15, 1945) is an American professor of cognitive science whose research focuses on the sense of self in relation to the external world, consciousness, analogy-making, artistic creation, literary translation, and discovery in mathematics and physics. Hofstadter's book Gödel, Escher, Bach: An Eternal Golden Braid, first published in 1979, won both the Pulitzer Prize for general non-fiction and a National Book Award (at that time called The American Book Award) for Science. His 2007 book I Am a Strange Loop won the Los Angeles Times Book Prize for Science and...
 
I'm here to help, but please keep future questions related to cooking, soups, and/or lasers
 
where'd you get the purple laser and is it a real purple laser?
 
I bought it online some years ago
and yes
 
lit anything on fire with it?
 
6:57 PM
It's not that strong
<10 mW
 
ah
 
What happened was, I was making noodles, and before the water was boiling I had these two laser pointers I'd been messing with, and I shined one in the water, and then said to myself, "If you don't have time to pick 'em fresh, store bought will be fine."
My wife is out of town with family, so I made that video for her. The very end included a little more, but I chopped it out for YouTube
 
lol
 
How long should I cook my soup for using lasers?
 
Hi! What is the best way to count page views? IP , Session variables, cookies ?
 
7:01 PM
@Fabor After the water boils,
(I had more, that got sent accidentally, but now that it has, I'm leaving it)
 
Hi! @Tiffany
 
hi?
 
@Tiffany even though I assume you resolved the original issue ages ago, 3v4l.org/C4iSp
also note that the original excel version has a bug in it, it doesn't account for F3 being equal to 1.5
 
it can't
I'll explain what it is on hangouts
 
It had better be illegal, otherwise I'm not interested
@azamkhan google analytics
 
7:11 PM
Count page views with IP? o.O
 
it made sense in like 1995
 
remember the days of having a page counter on your website
very very first website I ever built when I was like... 10 or 11 was with some web-based GUI builder... I was so happy to have a page counter on it
 
7:28 PM
Jun 1 at 11:41, by mega6382
whats geocities?
^ that is my least favourite message in the entire transcript of this room
 
@DaveRandom literally: cities on earth - right?
 
I had spinning skull gifs on mine
 
Everyone I know pronounced it GEE-oh-CITIES, then I met someone who pronounced GEE-AH-CITIES
that was weird
 
@DaveRandom I think you'll love this code.divshot.com/geo-bootstrap
 
7:44 PM
are we star-banned?
2
or am I star-banned?
2
I guess not
 
Apparently it's just you
 
I tried starring Florian's message two times, and both times the star was cleared, third time it worked. Possibly a RO is clearing it cause they hate it.
 
@FlorianMargaine gods
that required a nsfw
 
it's a work of art
 
!!urban nsfw
 
7:48 PM
[ NSFW ] Not Safe For Work. Used to describe Internet content generally inappropriate for the typical workplace, i.e., would not be acceptable in the presence of your boss and colleagues (as opposed to SFW, Safe For Work).
 
Genius really. Easiest million dollars ever.
 
> Web Page Blocked
Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.
:(
> Category: questionable
 
New Luke Cage season definitely requires subtitles
 
7:55 PM
@Fabor Is it responsive?
 
@DaveRandom it makes sense for console video games also.
 
Wes
how the hell do you keto diet. everything contains carbs
 
@Wes meat and salad
 
Wes
salad is carbs
 
@Wes I also was going to say "meat and salad"
 
7:59 PM
not as much as bread
or pasta
pretty much everything I understand about Italian cuisine, as an American, is carb-filled
 
Wes
yeah. i'm eating that stuff. it's hard to not eat the same thing over and over
 
now I want a milky way...or a three musketeers
dammit @FélixGagnon-Grenier
 
Wes
whats a milky way or a 3 musketeers
 
hahahaha
pasta, rice and bread are to be avoided, in that thing
 
@Tiffany I am literally having sainsburys.co.uk/shop/gb/groceries/… for dinner as I need it.
 
Wes
@FélixGagnon-Grenier i am fucked (in italian)
 
8:04 PM
beer!!!! noOOOOOOOOOO!!!!!!!!!!!!!
 
@Danack my god that looks amazing
 
I KNOW
 
@FélixGagnon-Grenier beer is loooooaded with carbs
 
Wes
sweets disgust me. i don't know how people can eat that stuff
 
@Wes ...you're weird
It's a wonder I don't have more cavities for the amount of sugar I consume daily, I guess fancy electric toothbrush FTW. Probably also helps that I don't drink soda.
 
Wes
8:07 PM
i am not, it's too sweet :B that milky way bar for me is like garnishment without the substance
i mean, it's like nutella without bread :B
 
lol
 
Wes
some people eat it with a spoon... they disgust me
 
I'm going to get a three musketeers
I eat nutella pretty much with anything.
 
Wes
and i find it offensive even :B
 
8:08 PM
out of the jar, on bread, on top of fruit or whatever
fuck... I was supposed to go to meeting a half an hour ago
 
Wes
lol
 
my office door has been closed, wandered outside, wondered where everyone was, because everyone else is gone...
I guess I can still show up without being tacky
maybe
 
it's friday, s'all good
maybe
 
Wes
@Fabor lol i was asked to do one just the other day
not exactly the same thing but nearly
doing an action unlocks pixels of a pre existing picture that needs to be revealed :D
any spam recipes? @Danack
............ i like spam
 
8:31 PM
evenin
 
@Danack ah, those are cream puffs here... there's a brand that has a bunch in a frozen container, heat them up until they're thawed.... they're amazing
 
8:49 PM
@Tiffany are the dlc worth it on Grim dawn, or not so much? they,re only at -20% ;)
 
@FélixGagnon-Grenier I just bought the expansion yesterday. It added the necromancer class, which made it an instant-buy for me.
and it is fun
 
:)
oooh, getting over it is at 5 bucks
 
that's the game with the irishman in the cauldron?
 
8:55 PM
lol
oh well. Holidays for two weeks starting in 5 minutes
 
\o/
 
I'll be closing my computer in a few mins. I almost already have nostalgy
laters o/
 
Bye @FélixGagnon-Grenier
 
9:35 PM
well, I have spend something like 100 EUR ... should be enough
 
Wes
10:12 PM
youtube just did the spotifykilla, or so they say
 
10:30 PM
@tereško What all did you buy?
@Wes What did they do?
 
Wes
music.youtube.com can you see it?
> Initial release November 12, 2015; 2 years ago
maybe they renewed it?
never seen it before
 
11:05 PM
my cat jumps on my desk, starts walking across it, gives two little innocent meows like "don't put me on the floor again"
 
Wes
did you?
 
not yet
 
Wes
is it sitting on your keyboard?
 
mousepad
 
Wes
lol
 
11:07 PM
but her claw got caught on it and I made her move... she meowed again and strutted off
"I can see when I'm not welcome huff"
 
Wes
lol
 
11:42 PM
@Wes I have to log in
 
00:00 - 15:0015:00 - 00:00

« first day (2806 days earlier)      last day (2135 days later) »