« first day (1282 days earlier)      last day (3657 days later) » 

9:00 PM
@bwoebi :P
 
@bwoebi *as bad
 
btw I'm hanging in the C++ room lately, and it isn't that bad after some time...
 
@NikiC as I-sometimes-don't-think-about-English-before-writing-English
@NikiC btw. does phpdbg user API currently look much better?
 
@HamZa It isn't but they have some really stupid people in there
 
you mean trolling people lol?
 
9:02 PM
hi
 
Not trolling. I think some of them are genuine retards
 
@user2428568 Hi there
 
I need some help related to mysql
 
you aware with this ?
great
 
9:03 PM
@PeeHaa argh, potatoes!
 
@user2428568 I can help
 
hahahah dont bash c plpl people
 
I have a field in db that store yes no value , I want data that yes field is very first records and other remains
is it possible to get ?
 
So query only if yes?
 
I shall refer you to the "potato". Your sentence did not make any sense .. at all.
 
9:06 PM
@user2428568 What are you trying to do? Sort them or select them?
 
:D
 
SELECT * FROM 'potato' WHERE 'yesno' = 'yes'
Like that?
 
SELECT p.Id,p.NameLatin,p.NameEnglish,cm.DescriptionEnglish,p.SelectionFavorite,p.SelectionGarden,p.SelectionPerso1,SelectionPerso2,SelectionPerso3 from plant p "
+ "inner join CategoryMain cm ON p.CategoryMain = cm.id ORDER BY (p.SelectionFavorite=yes)
 
Why are you storing a boolean as text???
 
@user2428568 you probably need to get this book pragprog.com/book/bksqla/sql-antipatterns
 
9:08 PM
no that's a check box value so yes/no
 
No that's a boolean
 
Or true false
 
So true false
 
Unless you are working with mysql it is 1 0
 
9:09 PM
Or potato . no potato if u cant count
 
lol
 
@NoahHuppert MySQL can count to potato
 
The question is, can you?
 
Hardly
 
@PeeHaa how? does it need to underflow first?
 
9:12 PM
my question is that how to fetch the first records that's fav=yes and other remains
 
LIMIT 1
 
So join query for selecting yes and then no
 
but how ?
 
please please please stop making up those crap table aliases you don't need
 
LIMIT potato
 
9:15 PM
ordered by brown
 
Just make 1 query then the other. Then add. Or I think there is some sort of SQL join command that I forget
 
@user2428568 is am actually getting the impression that you should try to read some "mysql for beginners"
 
@PeeHaa what magic did u use to make that fancy related thingy ? :D
 
you seem completely clueless about the basics of SQL
 
@Maggz [tag:your-awesome-tagname] :)
 
9:16 PM
@Maggz click on "help"
 
BURN THE WITCH!
 
wheeeeeeeeeeee thats some fancy things around here
 
@HamZa OMFG THERE IS A HELP!?!?!?!
 
@PeeHaa in the bottom right of your screen
 
First time I've seen that :P
 
9:18 PM
lol not sure if "right bottom" or "bottom right"
 
Nont the wrong bottom the right one
 
checked faq but not help ^^ thx
pfff dosnt work
 
@Maggz #fail ;-)
it doesn't like spaces
 
indeed facepalm
:P
 
oh spaces :/
man.. it's late >.<
 
@Maggz what time is it?
 
@HamZa 23:19
 
You call that late?
 
not really but it's been a long day
 
9:21 PM
@HamZa Nope. Neither did I want to I think. Looks like some sales event to me
 
so i have no need for pear now ... none at all ...
 
ok
 
The PHAR install has its downsides though.
 
@JoeWatkins What is a pear????? ;)
 
@SecondRikudo it seems a language from sri lanka en.wikipedia.org/wiki/Languages_of_Sri_Lanka
 
9:22 PM
Namely, most IDE's don't have support for phars.
 
I think we started to use composer method like last week ...
 
@JoeWatkins I like eating pears
 
ok then we can keep the word and fruit ... the rest tho should be burned, twice ... then stabbed, then cremated, then buried ...
 
@PeeHaa what does cv stand for?
 
9:26 PM
"kill with fire"
 
@tereško hehe
 
changed a bit but looks better now: ssmailsubscription.tk/inc/captcha.php
still need to change font color and center it a bit more
 
please, could you use a color combination that is not harmful to humans
 
@JoeWatkins From man rm:
> -P Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted.
 
@tereško as I said
still need to change font color and center it a bit more
not sure which color to do though
now it's hard to read rofl ssmailsubscription.tk/inc/captcha.php
is it better now? I think it is in my opinion: ssmailsubscription.tk/inc/captcha.php
 
9:34 PM
Why aren't you just using recaptcha
?
 
cuz I don't like using such if I am using it for my own created scripts...
 
Just dont use captchas, they suck donkeys off
 
rofl I don't want people crying about spambots registering on there scripts ;)
 
@AlulaErrorpone The alternative also sucks
 
lines are now randomized from 2 to 5 lines AND chars are also randomized from 4 to 7 chars the dots are randomized from 220 to 440
 
9:39 PM
as I said earlier: honeypot approach will be good enough
 
@tereško does the color looks better now?
 
kinda, yes
 
which RGB would you recommend?
Lines & dots = 59, 59, 59 | Text = 120, 95, 95
background = white
 
@tereško How would that work?
You mean hidden fields?
 
9:42 PM
yeah in my experience that doesn't work well
 
Pee do you think mine will work good/fine enough
 
@MikeM. Tbh I doubt it. It looks like it is easily beatable by ocr tools. I am not a robot though so I might be wrong
 
ROFL .‘ ‘Ii .,’.“.,.‘
,~/ ~ z. "
.~ ~ ~
,.~‘ .'. ~ ‘
' ; 0 I g '2 ‘ . I
. , . 4
‘ ~ .e~ ~. J. ‘ ~ ~ '
,'~. : “ ., ‘ ~
tested on: http://www.free-ocr.com/
 
Rao
what's wrong in this line of php code? `$order = new \Tib\Vendor\{$vendor->className}\Order($this);` Why does it throw error?  "PHP Parse error:  syntax error, unexpected '{', expecting T_STRING"
 
@MikeM. I could write something to "crack" it automagically in maybe 15mn
 
9:48 PM
oki can you do it HamZa I want to see it
 
sigh there is really better things to do
 
rofl so you can't do it?
 
you win
 
Ye we can't tell by words if someone can do it or not xD
Rao provide a pastebin with the total code..
 
@Rao This is just not allowed by the syntax, that's all.
write $classname = "\Tib\Vendor\{$vendor->className}\Order"; $order = new $classname($this);
 
Rao
9:52 PM
there is no other way? I have to construct a string for that?
 
@HamZa come on ! prove it ^^
 
@Rao $order = new ${"_".!$_="\Tib\Vendor\{$vendor->className}\Order"}($this); works too… hehe… but you really should just construct the string.
@JoeWatkins still here?
 
Rao
hmmm.. okay!
@bwoebi BTW the second solution you gave is constructing the path like this "\Tib\Vendor\{Gilt}\Order"
the flower braces remains
 
@Maggz @MikeM. damn, ok challenge accepted
 
yayayayayy
:D
 
10:04 PM
@Rao Ah yes, the \ is escaping the {… $order = new ${"_".!$_="\Tib\Vendor\\{$vendor->className}\Order"}($this); … better?
 
Rao
Yep
 
@bwoebi yeah .. works, but IMHO it still looks like someone puked in your codebas =/
 
@tereško that's why I didn't recommend it… just said it exists^^
 
Rao
didn't understand it though, this part ${"_".!$_="\Tib\Vendor\\{$vendor->className}\Order"}
 
@Rao That compiles to "crap"
 
10:11 PM
@Rao sets a variable $_ to the string and returns a variable $_
 
rofl
My string doesn't update properly xD
 
Rao
still don't get the ${"_".! part any documentation on this? I dont even know what to google!
 
@Rao the ! is a boolean not, the . concatenation operator and the "_" a string
 
@MikeM. guess @HamZa won ^^
 
why?
 
10:16 PM
@PeeHaa can you explain how here factory is injected into class instance?
 
I just finished, now let's test it on your server :P
 
just read the captcha out
 
@MikeM. Looks good to me
 
and show me a pic.
@SecondRikudo I only have a little issue xD my string won't get updated on the page :P
Laughing My Ass Off because of that :P
 
@MikeM. What do you mean?
 
10:18 PM
grabbing the image text doesn't work properly yet xD
 
 
viewsource...
that's not my image type rofl
 
@bwoebi ${!${''}="\Tib\Vendor\\{$vendor->className}\Order"}; FIFY
 
@MikeM. I filtered it :)
Let me gist it...
 
I don't really trust this rofl
upload it to a free site and let me check it out ;)
 
10:20 PM
@TOOTSKI great!
 
@MikeM. Anything you do will be crackable. Give up
 
Your job is to keep spammers out, this is more than enough, trust me.
 
I know but we can atleast try to prevent it
 
@bwoebi Nikita posted this, was first to everyone here.
 
10:20 PM
I remember
 
Or go with recaptcha or some other solution, @MikeM. Google "recaptcha"
 
I don't like recaptcha
 
It's not about your likings.
 
@MikeM. Why not?
 
@HamZa sweet :D
 
10:22 PM
Today I played Counter-Strike 1.6 online for 2 hours, after 5 years :D
 
TOOTSKI it actually is....
 
Then you're better of without it :)
 
@SecondRikudo I just don't like adding other sources to my own open source script
 
@MikeM. What you have is enough.
 
I must say that it sometimes doesn't work fine, but I blame the OCR program :P
 
10:25 PM
@HamZa PWNtcha?
 
@TOOTSKI Yeah, I pwned the captcha of @MikeM.
 
:)
@SecondRikudo This Captcha looked great :) Now, it's horrid.
 
Rao
@bwoebi I understand the notations, but together its not making sense to me! and what is this, ${!${''}="\Tib\Vendor\\{$vendor->className}\Order"}; @TOOTSKI pls explain it to me. what is ${} what does it do?
 
@MikeM. even a captcha saying "What is two plus two?" every time is enough to stop most spammers.
What you have is plenty. Please stop beating yourself over this unless you're willing to go on just for the sake of the challange.
In that case, I advise you to switch fonts, switch CaPitaLIzaTioN and rotate the characters.
 
Well for this release it would be enough
 
10:28 PM
Distorting the characters also helps a lot.
 
but next releases might turn stronger and stronger
 
@Rao Magic?
 
did u read about this algorithm google came up with a couple weeks ago which is about 98% right with captcha? which is higher than humans..
 
Not really Maggz
link me to it
 
Rao
that's a magic function? cool I shall google it and find out more.
 
@Rao I've never seen anyone who willingly holds the hammer by its head and hits the nail with the handle.
Nice job.
 
just refresh it a few
 
many thinking of switching to audio captcha - which would rly suck ^^
 
the captcha is way too late rofl
 
@Rao No, it's variable variables.
 
10:30 PM
audio captcha sucks indeed I can't understand a shit
 
@MikeM. Offer a refresh option to reload the image if it's not readable.
 
@MikeM. @Maggz See it working cyber.servehttp.com:8080/OCR/p0wn.php
 
Rao
@SecondRikudo I am still starting out! It looked like some alien language, and I couldn't even look up what ${} is.
 
@MikeM. Are you referring to the fact that the code is only displayed after refresh?
 
@MikeM. here's the paper about it - but i'm pretty sure you can find an short article about it somewhere - i just couldnt find an english version so fast
 
10:33 PM
@bwoebi If you're sind da, can one "calculate cost" of opcode i.e. execution time? Can't google the stuff.
 
it was meant for google streat view .. but it does pretty well with captchas ^^
@HamZa rly nice.. how did u come up with this so fast ?!
 
Rao
@TOOTSKI @bwoebi Thanks!
 
@Maggz I once was approached by some people that were participating in a CTF hacking competition. They needed to bypass a captcha in 3 seconds, otherwise the submitted answer will be rejected
 
@HamZa it's really slow but now I believe you ;)
 
@MikeM. I'm hosting it directly from home, blame lol
 
10:36 PM
xD
and ye I get what you mean with sometimes it fails
 
@TOOTSKI you mean of a specific opcode or general opcode overhead?
 
@HamZa DoS time!
 
Got one that failed atm...
 
hahaah
 
Erm, stress test.
 
10:37 PM
@TOOTSKI heh, I can close that port, my raspberry pi is still connected and up at port 80 :D
 
@Maggz So basically I did something like this before. I liked this one since I had to filter the noise. The one from the competition only needed a flip or mirror (or both) can't remember
@MikeM. close enough lol
 
ye xD
 
@HamZa cool ^^
 
retry second fail xD
 
10:39 PM
Yeah it makes mistakes on Y W and A
 
oki works fine now 2/3 failed xD
 
yeah .. but still > 80% right ..
 
This is just PoC. The point is: an experienced developer/hacker could get around this easily
 
@bwoebi Let's say... ZEND_BEGIN_SILENCE, ZEND_FETCH_R, ZEND_FETCH_DIM_R, ZEND_END_SILENCE that would be for e.g. @$_GET['id']... now, people say shutup operator leads to poor performance, just wanted to know if you can "calculate" based on opcodes, but that probably also depends on the type and size of variable, and whatnot. So, stupid question really... :) (I'm not using @)
 
So my suggestion is to use an already existing robust solution
 
10:40 PM
let me check maggz 1/3 right = 33.33333333333333333333333% let me check on 10 tries
 
You're flooding my network :O
 
:D
building botnet
:P
 
That said, I need to get a vps
 
hahaha
 
@HamZa Let me pull one out of my hat.
 
10:42 PM
HamZa 50% correct 50% failed
 
@MikeM. blame tesseract lol
 
Neh I blame you because you made the script xD
 
@HamZa You're misreading the situation
 
@TOOTSKI That's a myth. Shutup operator hasn't poor performance, (I'd say it's quite fast) just throwing errors is quite slow. It's just a very very little slower than having error_reporting(0); already set.
 
10:44 PM
yes it does
 
I never said that HamZa xD
 
mispelled y ...
 
A spammer will not hire an experienced developer to get around this easily.
 
@SecondRikudo thanks for the refresh button tip it works fine now ;)
 
@bwoebi Got it, makes perfect sense, thank you.
 
10:45 PM
@TOOTSKI You need to look at the source and what it does. Only then you probably get how fast it is.
 
It's not economical from their point of view to do so.
 
it works fine now tho ;)
 
By making their lives a bit harder, you make your site not worth their spammy time, and they move on to a less protected site.
 
True :)
 
@TOOTSKI the first use of @ is slow all subsequent uses of any @ are much faster (due to some HashTable inits)
 
10:48 PM
@bwoebi I'm such a noob here :) Thanks.
 
uhm @SecondRikudo if the user clicks refresh does it have to keep all values or?
 
@TOOTSKI I just was looking at source…
 
@MikeM. Sure, only the captcha should refresh
 
@bwoebi Yes, but it takes skill to interpret source.
 
I'd just not recommend using @ in tight loops
 
10:49 PM
@bwoebi Those last three words are redundant.
 
@bwoebi Not there, just some "edge" cases where it's PITA to do all the checks, streams maybe.
 
@TOOTSKI The only thing is about compiled variables, but these usually aren't so bad...
e.g. why ($a).$a=1 !== (@$a).$a=1… because there's an additional hashtable lookup before instead of looking up the precompiled value.
but they're still quite fast as long as your variable names aren't too long…
 
Something like not using INDEX for MySQL :) Thanks, need to get into basic internals more.
 
Btw. can one please benchmark @$var and isset($var)?$var:NULL ?
once with $var set and once with it not being set...
 
Yes, yes.
 
10:56 PM
Please do.
 
0.4190239906311 vs 0.25001406669617
Shutup being slower.
 
var set or not?
 
for ($i = 0; $i < 1000000; $i++)
{
  @$var = NULL;
}
 
compared to?
 
$var = NULL;
for ($i = 0; $i < 1000000; $i++)
{
  $var = isset($var) ? $var : NULL;
}
 
10:58 PM
Yay for perma fetching from L1 cache
 
nvm :D
 
morning!
 
@TOOTSKI that's quite fast.
 
just as the assigning a variable is fast too…
If you do a function call like @include include takes much, much, much more time.
You won't notice the perf "hit" by @.
 
11:02 PM
Assigning to declared variable takes 0.18601083755493 so it's really really fast anyways (isset check)
 
isset check on compiled variable is very fast
 
Write a book! :D
 
Nikita can do that.
 
Sure hope he will.
 
Microoptimizing in PHP :-P
 
11:04 PM
"Why use PHP in the first place? It sucks and it's slow."
:P
 
yup it works :D
and 0 JavaScript used to refresh xD
 
@TOOTSKI PHP is slow. And HHVM is fast.
In theory at least.
 
6 hours ago, by TOOTSKI
>python formd5.py
0:00:03.557000

>php formd5.php
10.175581932068
 
Practically too.
But not in real world things.
 
For a "simple" operation/calculation, yeah, it is. But for web it's the best.
 
11:06 PM
mysql queries, file openings, socket interactions… whatever … when these things are needed, it's slowness becomes unnoticed
 
Exactly, all of these benchmarks are doing millions of iterations and the slowness would be noticeable on Facebook level scale, but you'd had other problems then.
 
Btw. I'd really like to know sometimes what PHP does internally wrong e.g. compared to python (without any JIT) so that it is still slow?
 
I don't know, if you click on the transcript message I posted and scroll down, Joe had an argument with the Pythonian fella.
But you were there :D
 
still. PHP is still slower compared to the languages without JIT.
 
I don't know, interesting question.
 
11:13 PM
night.
 
Good night.
 
Also known as the PHP Util guy.
47
A: Using Python vs PHP for Web Development - When and Where

S.LottObjective Answers. Security - Not language specific. Speed - Not language specific. This is entirely a function of the overall web architecture, caching and database. Ease of use - subjective. Nothing more to say. Scalability - This is entirely a function of the overall web architecture, ca...

Awesome.
 
I am going upstairs it's 1:16 AM going future the ssmailsubscription.tk
BRB
 
11:21 PM
@TOOTSKI you still haven't answered why your name became like that.. xp
 
@reikyoushin @PeeHaa called me @webfarto :D
So I had to stop the mockery in its roots.
:D
 
so your surname is PATOOTSKI?
:)
 
:D
Webfarto Patootski
Totally my fake identity.
 
being dayshift here sucks.. everybody's gone when i'm awake. blah. >.<
 
Haha, true dat!
It's 2AM here, gotta get some shit done so I can sleep by 2PM tomorrow.
 
11:26 PM
@TOOTSKI you're working at night there?
 
No, I work officially from 9AM to 5PM EST (eastern 'murica time).
I'm catching up :D
Haven't been the most productive last week. Too burnt out from the week before.
 
I am back ;)
 
@TOOTSKI then next week you'll say you're too burnt out this week.. and so on..
~ the cycle of life ~
 
Probably not, one week of burning is enough for a month I think.
But yes, I will :D
Have so much stuff to do, I need to reorganize.
 
@TOOTSKI then i'll leave you for now.. i'll be off for a bit.
 
11:31 PM
OK, buddy, enjoy.
 
anyone knows how to make <a> a block with 100% width in CSS?
 
Like you said?
 
I mean like how would I get this
Oh wait got it it's display: block; width: 100%;
 
Yup.
 
you answered it within your question ^^
 
11:41 PM
Ye I just didn't remember the display: block;
but uhm ye how to get a new line through php/html echo in the View-Source:
I tried \n but nope
 
Paste a line of code where you do that.
Here's @crypticツ, I better run.
I totally FTP edited the files on cv-pls.com
 
@Leri doing alright. Just lurking a bit here and there. I apparently have found a life so will be here less often =oP
 
view-source:ssmailsubscription.tk/index.php \n doesn't do shit lmfao xD
 
br ? nl2br?
what u mean?
 
@TOOTSKI bitch you been talkin bout me?!
 
11:44 PM
no <br /> is for visual output
 
*smacks the PHP out of you*
 
I want a new line in the internal output of view-source:
 
@crypticツ U want to bro down, bro!?
 
Use double quotes when you use \n ...
 
What's up brah, I'm here brah, what, brah.
 
11:45 PM
wait shit I putted it into html not php derp
 
Just press return in HTML...
 
ewww now it looks nastier now xD
 
You're using Comic Sans so it can't be nastier than that.
 
Oh ye I still need to change that
and dude I am talking about the VIEW-SOURCE not visual pages.
 
Тестимир Тестовљев
Test
 
11:53 PM
what the heck is that?
that's better :D
TOOTSKI I use georgia now never had comic sans in my style.css
 

« first day (1282 days earlier)      last day (3657 days later) »