« first day (2130 days earlier)      last day (2818 days later) » 

Ekn
6:00 PM
@PeeHaa I found it a bit lame (although you didn't ask me), it's nowhere near The Expanse (that's a good one I heard from tereško before).
 
Oh right. I heard that one before too. I'll do that one instead
 
@LeviMorrison Well, let me strongly disagree… At least for me. Other peoples experience may vary… but I'd hate to have to read highlighted code on a dark background.
 
@bwoebi Better to have it all green? Really?
 
@kelunik yes. On a complete black background yes. Black background in middle of light background is cruel.
 
@bwoebi Just turn your black into grey.
 
6:09 PM
The primary issue is that our regular text looks bad on dark, but the code definitely looks better on dark.
And we have too much contrast between dark and light to switch between them.
So it's jarring.
 
@LeviMorrison That's what I meant right now.
 
Look familiar to anyone?
 
6:26 PM
@DaveRandom He knows who to call man, PPU i.imgur.com/0ITAFmb.jpg
 
@PeeHaa I would recommend "Expanse" instead
 
Yeah was just about to start it. @Ekn said the same
 
I have only watched few episodes of "Dark Matter" - it had that "Lost, but with spaceships" vibe
 
@LeviMorrison Looks grey to me :P
 
@Ekn you should should try the audiobooks. I think there are 6 (of 9) available now.
 
6:30 PM
morning
 
Ekn
Agreed on the vibe. I know about the audiobooks, @tereško, I just need the days to have ~28-30 hours so I have enough time.
Can't even play any games more than half an hour lately.
 
just listen to them while you are doing shopping or making food
 
Ekn
Right... I should do that more often.
 
@Ekn the expanse. is. like. 42. I literally never went to bed and listened to it entirely in one night.
 
@DejanMarjanovic → eye cancer moved to bin
 
6:33 PM
(the series, that is)
 
@bwoebi LOL
 
Ekn
lol
 
@FélixGagnon-Grenier notice how I did not add "before sleep" to that list?
 
@LeviMorrison It's … bearable. Honestly, it looks better in current form…
 
6:34 PM
:p
using a whole day instead indeed sounds more reasonable :)
 
Ekn
I still have The Victorious and onwards from The Lost Fleet series on the big list.
 
telling old boss they have to find a new do it all it person went waaay better than expected.
 
Is this class good enough for sql injections?
 
public function query($query) {
$db = $this->connect();
$result = $db->query($query);

while ( $row = $result->fetch_object() ) {
$results[] = $row;
}

return $results;
}
ok, I reiterate, this is terrible
 
@FélixGagnon-Grenier you mean this class is terrible?
 
6:44 PM
@FélixGagnon-Grenier I bet it did
 
@CoderDudeTwodee yes, exactly
 
Thanks!
I have noticed that in the class, in every function, the connection is made first to proceed to the query. Is that necessary? I mean we could just open up the connection with $conn= new mysqli(); once and keep it stored in $conn again and again.
 
not only we could, it is a must. we must reuse the same connection object throughout a single script execution, unless you need to use two databases simultaneously.
but in itself, this class just feels like unnecessary boilerplate
 
I mean, instead of opening the connection again and again with the connect() function, passing the $conn variable into the functions is better, right?
 
not exactly
actually, this class serves no purpose. a mysqli or PDO object should be passed into an object having the need to connect to a database
 
6:50 PM
Yeah, so connecting again and again like in the class is pointless. Isn't it? @FélixGagnon-Grenier
 
yes. but not only pointless, actually hurtful.
actively bad, as a practice
 
Thanks.
Have you seen the safemysql class?
 
yeah, it's writer is somewhat spammy about it
 
By The Lost Mind.
 
not the one I was thinking of
link?
 
6:52 PM
Yeah just came across this at SO, and found the website and git repo.
 
advpassword.com just got hacked a little while ago , not really hacked , I just forgot to htmlspecialchars my output , damn :)
 
which actually makes one wonder about your expertise in security, if I may @Sasan
 
ok, it's the one I was thinking about. The Lost Mind is not it's writer.
 
He is colshrapnel
Check out his twitter.
 
6:55 PM
thought you were speaking about The Lost Mind, the moderator.
 
@Sasan two of them were done by me =)
 
His twitter display name is "The Lost Mind" and the username is "@colshrapnel".
 
Actually i didn't write the front end :D but really i surrender
 
@CoderDudeTwodee in any event, yes, you can use it safely, if you follow it's documentation
 
If you are really a hacker , get access to the Database . a challenge :D
 
6:56 PM
@SasanFarrokh ok I will stop trolling, but let me just share this with you here instead of xssing it to the site. Please read output.jsbin.com/sehuhafewa
@SasanFarrokh You really want me to find out?
 
@PeeHaa yes I do
 
@PeeHaa awesome
 
@SasanFarrokh First answer my question...
 
I am mistaken. Sorry, it's "your common sense" not "the lost mind". Damn I am sleepy.
 
@CoderDudeTwodee Hi sleepy. I am PeeHaa
 
6:58 PM
@PeeHaa I'll be cheering for ya
 
@PeeHaa hi PeeHaa, in Christian Bale voice I am Batman.
 
:P
 
:O
hides
 
@FélixGagnon-Grenier prepared statements vs safemysql. Who will win?
 
@bwoebi I've updated Arrow Functions quite a bit. Can you look it over a bit?
 
7:00 PM
@CoderDudeTwodee that class is pointless
 
@PeeHaa what question ?
 
you are loosing functionality and gaining .. well .. nothing
 
Which one @tereško?
 
@SasanFarrokh Did you read my super awesome jsbin?
 
@CoderDudeTwodee the one I replied to
 
7:01 PM
2 hours ago, by PeeHaa
ok question @SasanFarrokh. How are you going to store the formula?
 
I am confused. Are you talking about the safemysql class?
 
I am reading it ,
I will encrypt it with custom formula
 
Oh god
!!giphy good god
 
@CoderDudeTwodee No , you could take a look on www.advpassword.com
 
7:03 PM
1 message moved to Orphan GIFs
 
such confusion. very not related. much randomness
 
@SasanFarrokh Do you understand what I wrote in the jsbin?
 
Okay, is that even legal? XD
 
@LeviMorrison I will after dinner
 
@SasanFarrokh have you already decided on the title of your doctor dissertation in mathematics and cryptoanalysis ?
 
7:04 PM
@tereško are you talking about the safemysql class?
@FélixGagnon-Grenier prepared statements vs safemysql class?
 
@CoderDudeTwodee do you know what those tiny arrows on the left side of some lines do?
 
You are right, i fixed the xss vulnerability , about the hashing , I could hash the static parts and store the formula encrypted
@tereško I am not questioning math , but really you need more than 3 dumped password to get to the formula
 
@CoderDudeTwodee it's safemysqli. also this question doesn't make much sense. safemysqli uses prepared statements.
 
I am using the mobile version. I cant do a lot of things @teresko
 
7:07 PM
That means either a) you are going to screw up the encryption b) you are going to screw up the key management c) once I am in I have the formulas (passwords) of every single user in the system
 
So, I can directly use that class instead of prepared statements ?
 
@CoderDudeTwodee bullshit
 
@tereško test
 
@CoderDudeTwodee you should learn what a prepared statement is before anything. Actually, you should get to the point where you could tell, all by yourself, how much that class is awful.
 
@CoderDudeTwodee It's no use. We have been doing all kinds of tests on him already. Nobody knows what makes him tick. Our scientist are clueless.
:P
 
7:09 PM
@PeeHaa How could you get in ? it is just a prototype idea , hashing and encryption could be better you know that
 
How I could get in doesn't matter. What matters is that once I am in all hope is lost
 
@PeeHaa it's mostly beer. And a bit of bird's eye chili
 
:-D
@SasanFarrokh There is a reason why you will hear everybody tell you that passwords should be hashed not encrypted
 
@SasanFarrokh the point is that basically, you system changes absolutely nothing once someone dumped your data. things are still stored in the same place, hashed or encrypted.
 
@PeeHaa Can't just hash the static parts ? what's the problem of that
 
7:13 PM
@SasanFarrokh If you do that there is no way for you to compare it when logging in
 
@FélixGagnon-Grenier It just secures the client not the server and DB
 
@SasanFarrokh isn't that what https is for?
nvm, remembered that part about key logging
 
@SasanFarrokh think about it. if you are going to hash (even parts of it) how can you ever compare it when I am trying to sign in
 
@FélixGagnon-Grenier not protocols , if somebody be near user , he can't get the password or a keylogger or trojan can't read the password because it changes the next time
 
Also on a final note: the biggest problem with passwords are not keyloggers / over shoulder lookers for most people
 
7:16 PM
^^
 
It's crappy webservices getting hacked and the passwords being leaked
Which your solution doesn't prevent. It even helps attackers by the inability to salt+hash them
 
@PeeHaa Oh :D don't just disappoint me like that , can't you encourage me ? :)
@PeeHaa i can hash it , if i completely separate the formula and static part or store the length of the static passwords :/
 
@SasanFarrokh That cannot work
Explain to me how that would work
 
@PeeHaa I mean completely separate field of static password and dynamic , like people should fill two fields
 
So people have to fill in two passwords?
 
7:20 PM
I'm just imagining how this conversation would have went if it was tereško instead of PeeHaa
 
The conclusion would have been the same ;-)
 
@PeeHaa yes but it can be the other way ,, system will store the length of the static password in sequence , then it will read the first part by length and hash it then compare it , then formula part would be normal , next static part works same way first one did
 
That leaks the length of the formulas which makes brute forcing much easier
 
@PeeHaa it would be encrypted :D
 
Which as stated has its own set of problems
 
7:25 PM
hello
 
Shit only 4 hours 45 mins
 
@PeeHaa I think clients are in more risk of hacking than the server , so if a sever could be compromised why it should use this system ?
 
what it is '<%= position() %>' ?? same with '<?php echo' ???
 
@kresek Not anymore it isn't
 
@SasanFarrokh some statistics / citation would be interesting on that claim
 
7:28 PM
@kresek The first is killed in 7
 
i have it inside <script>, can you explain it?
 
@SasanFarrokh I don't buy that claim. I have no evidence for either side. The difference is: 1 user gets hacked is 1 user's problem. Your site getting hacked is your name on the front page of every tech site saying we have yet another leaky site and a lot of innocent users hit again
I am trying to translate your actual question @kresek. Are you asking how <%= position() %> should look?
 
i thought function is for display 'position()' function. But, in my phpstorm, this script showing error 'element b not closed'
<b><%= position() %></b> &nbsp;<small><i class="fa fa-sort"></i></small>
 
<%= position() %> -> <?= position() ?>
We are not asp hipsters
 
7:37 PM
You will always have a special hipster place in my heart tho
 
<3
 
@PeeHaa asp??
 
awful server pages
It's that microsoft thing
<% doesn't mean anything in php (anymore)
 
ok, thank you :)
 
np
 
8:20 PM
I live :)
 
Wes
 
that's the cheapest star I've seen today
 
Wes
omg, someone got that?
 
@bwoebi Ah, I refactored some of that a while ago, simple mistake it looks like. Surprised I didn't catch the signal issues.
 
got wat @Wes?
 
8:22 PM
!!imdb they live
 
[ John Carpenter's They Live ] 1988, John Carpenter
 
Wes
peehaa got it! that's enough :B
 
we live
 
Wes
or did he just check the filename?
 
I assumed it was imgur link
 
Wes
8:24 PM
@FélixGagnon-Grenier til roddy piper is canadian
back in his days he was a great star, tho. kids these days
 
السلام عليكم
 
Wes
and that movie is epic
 
!!en السلام عليكم
 
Peace be upon you (translated from Arabic)
 
Well done @Jeeves well done
 
8:25 PM
@bwoebi Depends if we want to care about order... That's happening because we don't defer callback execution on a resolved awaitable.
 
Wes
!!en mangiatore di salsicce
 
sausage Eater (translated from Italian)
 
Wes
ahaha
 
Lol
 
almost like french
 
8:26 PM
!!en la mère de PeeHaa
 
mother of PeeHaa (translated from French)
 
ofc...
 
salsicce is like sauce
mangiatore like mangeur
 
I see @Jeeves learned a new skill.
 
bleh. it's doesn't has this rocking rythm to it tho
 
8:27 PM
@ScooterDaraf Everything south of me in europe sounds the same to me :)
 
!!urban !!en combat à l'épée
 
whatchoo talkin bout willis
 
change little letters and build a new language hehehe
 
@Jeeves why u no allow piping
 
spanich italian french ..........
 
8:28 PM
@FélixGagnon-Grenier I'm pretty sure that would involve a rewrite
Just guessing here
 
spanich > spinach
 
i go to school = io goino todo skolo (my language which i built just now hahaha)
 
@Trowski I think we do… else under some circumstances we even might end up Emitter sending in wrong order (because of first-tick defer)
 
kool > look
 
This actually doesn't even sound that bad
 
8:30 PM
peehaa you talk just english ?
 
I speak lots of languages while under the influence of beer
 
no . not under the .... beer
when you awake
 
Not under beer I only know Dutch
 
dutch > deutsch
 
@bwoebi That should be an easy fix actually, let me see what I can do.
 
8:33 PM
ik kan gehen
 
Obviously. However German is just Dutch only shouting
 
@bwoebi I haven't really looked at what you changed with Emitter and the Producer trait.
 
i can go = ? ik kan gehen ?
 
That's a mix of german and dutch ;)
 
hahaha
 
ik kan i know but go i dont know
 
@Wes hahahahahahhahahahaha
OMFG I pissed my pants after just one
 
Ekn
lol
 
Wes
haha
 
:) german shouting
french for women
italian for classics
english for really men hahha
spanich for moderno
 
http://i2.ytimg.com/vi/41lZmGcRWHU/hqdefault.jpg
 
oh god damnit jeeves
 
Wes
youtube.com/watch?v=ghRKZRcxeI4 hahaha omg there are other videos
 
oh I am logged in as jeeves \o/
To the fix it mobile!
 
omg how can han read such long word with many many letters in german ??
one word with over 40 letter :)
@Wes
 
Wes
8:40 PM
adjectives are joined to nouns in german
 
Wes
which means that full text search won't work.
there's actually a text from google suggesting the authors to use the "zero width space" character to separate the actual words in german words
ever heard of that? @PeeHaa is dutch the same? do you know the existence of the spacebar?
 
The classic longest German word with its 79 letters would be translated in English into 15 words
 
@Wes The town I grew up in used to be called "Hendrik-Ido-Schildmanskinderen-Ambacht en de Oostendam" so there is that
 
Donau­dampfschiffahrts­elektrizitäten­hauptbetriebswerk­bauunterbeamten­gesellsc‌​haft
 
Ekn
8:44 PM
o.ö
 
Wait it's actually worse
 
^^ longest word
 
It was called "Hendrik-Ido-Oostendam-Schildmanskinderen-Groot-en-Klein-Sandelingen-Ambacht" for a while
Hendrik-Ido-Ambacht ( pronunciation ) (population: 29,147 in 2014) is a town and municipality in the western Netherlands. It is located on the island of IJsselmonde, and borders with Zwijndrecht, Ridderkerk, and the Noord River (with Alblasserdam and Papendrecht on the other side). The jurisdiction of the municipality covers an area of 11.90 km2 (4.59 sq mi) of which 1.23 km2 (0.47 sq mi) is water. The municipality comprises no other population centres. == Name == Until 1855, the town was known as Hendrik-Ido-Schildmanskinderen-Ambacht en de Oostendam. Then it merged with Sandelingen-Ambacht and...
 
longest word in netherland is Hottentottententententoonstellingsterrein
^^ longest words in EU
 
I have a file called config.php where I store my DB credentials, then I have a database singleton class called Db.php. I want to read my credentials from my config file but when I try to read the config variable I get Call to a member function prepare() on a non-object . Just want to see if I'm doing something obviously wrong, here's my code: pastebin.com/wx3jBVcR
 
8:47 PM
@ScooterDaraf You can even append en to make it both longer and plural
@simeg Do you have a return in the config?
 
in german you have to make string length to 75 characters :) when using names
char(75)
 
Wes
@PeeHaa how does that translate in english? :D
 
@PeeHaa yes I'm using it in many other files successfully, but not in a singleton class. Not even in another class.
 
@simeg You sure the path is right?
 
@PeeHaa yes, 100% :)
 
Wes
8:49 PM
longest word in italian is "precipitevolissimevolmente" means "with excessive hurry"
 
@Wes Most of it are just family names. Doubt you are supposed to translate it :p
@simeg Wait wat. Are you even actually instantiating it?
 
Wes
wonder how large are the graves in germanic countries
 
@PeeHaa in the constructor right?
@PeeHaa ahhhh I see what you mean, yes you are correct
@PeeHaa the constructor is not being called >.<
Thanks!
 
BTW you should totally drop that static singleton super global silver buller crap fest imo
if you want only one instance of something just make only one instance
 
Yeah I read something about that, that the singleton pattern is bad in PHP. I'll look into that.
 
8:54 PM
i want have SO chat script :( . i like it .
someone have nulled one hahaha ?
 
Part of why it sucks (and that's only one tiny part) is what you have just witnessed. Attaching stuff to the class instead of to objects proper
 
@bwoebi The fix for the awaitable callback order issue you showed is simple, but I'd need to address the problem in Success and Failure as well. If you replace Amp\Future in your example with Amp\Success, you also get 132.
 
Wes
singleton is bad everywhere, even in multithreading, not only php
 
I thought the singleton was a fairly common pattern, is it good in any language?
 
@bwoebi I'm not sure how I'd solve it in Success and Failure... in Placeholder I just added the new callback to WhenQueue if the awaitable was being resolved.
 
Wes
8:57 PM
everybody used it till they realized it sucked
 
@PeeHaa you are big moderator :) , can you give me under the bord without someone know the script of SO chat ? :)
 
@bwoebi Perhaps it should just stay the way it is?
 
@ScooterDaraf I'm neither big nor a moderator, but there are chat solutions out there that are better than SO chat.
It's community that drives SO chat not some ajax/webscokets hybrid with a 1990 GUI
 
thought you are moderator because your name is in italic style
 
Nope I'm just a room owner in here
mods are blue
 
9:03 PM
ok
im actually working on the most best chat on world
there is no chat script like mine :)
i guess i will finish it in two weeks
 
You sure that's not 6-8 weeks?
 
no i already spent some time on it , i almost finish ,
after 2 weeks it will be finished
gn8 gn8
 
Later
 
Wes
9:18 PM
cycling track gold medal \o/
 
9:29 PM
noob question on php if and or statements incoming
<?php if ( bp_current_user_can( 'bp_moderate' ) && bp_is_messages_inbox() || bp_is_messages_sentbox() ) : ?>
if (moderator) and is inbox or sentbox?
if (moderator) and is inbox, or is sentbox?
it seems to be the second one... how do i modify it so that moderator is separated from the inbox and sentbox... can i do this with one line?
haha nevermind i got it
if ( bp_current_user_can( 'bp_moderate' ) && bp_is_messages_inbox() || bp_current_user_can( 'bp_moderate' ) && bp_is_messages_sentbox() ) :
 
9:46 PM
If this UPS is not fixed tomorrow, I am selling my soul to Khorne.
would I be honored with the death of a UPS?
dead circuits for the circuit god?
 
@Trowski I'll give it a look a bit alter then
 
@bwoebi Deferring only when resolving seems weird... callback order shouldn't really matter anyway.
 
Anonymous
Evemoon
 
Wes
10:29 PM
evemorn
 
Ekn
\o
 
wow. remaking my passport right now. dude, all these papers and security measures. I find understanding a random number generator easier than coping with all their terms...
 
Ekn
indeed. I'll go through that myself next week in buenos aires as well.
 
10:45 PM
I hope you'll have more fun then I do. I want to travel to the united states in october, with all these things I have to wait for before even asking for the passport itself, I'm not sure I'll be able to leave :(
 
Hey guys, anyone knows a good software (mac) where it automatically transfers files across multiple computers?
Like Cloud thing but automatically synchronize the files.
 
like... dropbox?
also xcom2 is on sale
!
 
Yeah I guess, but something else. I have AWS account, does AWS offer anything like that?
I want to use it for my advertising agency
It more for bussiness
 
Ekn
@FélixGagnon-Grenier on steam? mine's showing the same price
 
ffs did I miss the sale already!??
crap. saw the mail today at job
ended by noon
:(
oh well, that may actually be a good thing, I really do not have 40 hours to lose this week
 
Ekn
10:55 PM
/me didn't even see the mail :(
 
is it on your wishlist?
 
Ekn
yep
 
Ekn
Oh -_-
I see it, arrived yesterday to spam, huh.
sigh, next time then.
 
first to see must tell :p
 
Ekn
10:59 PM
deal
 

« first day (2130 days earlier)      last day (2818 days later) »