« first day (1286 days earlier)      last day (3653 days later) » 

3:07 PM
4pm hunger issues :(
 
:D
 
too close to dinner to eat and too far from lunch to keep hunger away
 
My mistake is that I always eat something sweet when I'm hungary like that.
 
is there some standard regarding how you send location data to external service ?
something like the ISO format for sending datetime
 
3:16 PM
@tereško timestamp?
All timestamps are returned in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ
https://developer.github.com/v3/
Just an example.
 
@tereško lat long not standard enough?
 
^^ I think he means delimiters, precision, etc.
 
@Fabien lols!
 
@JoeWatkins omfg this is the guy I was talking about when he said he found bug in ctype_digit (that is very well documented bug by the way).
 
user1607528
@Fabien russian lol :), does it really feel that way, i gotta get one of those :)
 
user1607528
3:22 PM
cool stuff
 
@Lusitanian Is this something Google specific?
 
@TOOTSKI a very well documented bug is still a bug :-)
 
I can imagine it feeling quite immersive. I hope so at least.
 
@TOOTSKI It makes me crazy when people do: condition ? true : false
 
@ircmaxell It's not a bug, it accepts the string and not integer :)
 
3:25 PM
@TOOTSKI that is a bug, because it violates PHP's type system. By-design doesn't mean it isn't a bug
 
@Leri That's very noob and this guys works 8 years for the company and claims he has more than 20 years of programming experience. But nevermind him.
 
If yes. Merge the thing and clean it up. Fix the CS issue. Turn this in a strict in_array(). Remove the if here if we can just concatenate $this->access_type @Lusitanian
 
morning everyone just wondering what is the best way to do a php upload section for a website
 
@ircmaxell I don't agree with you in this particular case. Misuse is not a bug.
If you honor the manual, there are no problems.
And I agree it shouldn't be like that from the start, but it's PHP.
 
PHP says 1 and "1" are interchangable. That's one of the foundations of the type system. It's held true in 99% of the language. But ctype_digit() doesn't hold that...
 
3:31 PM
@BenjaminGruenbaum Fine, people are nice, team head is not a moron
When do we meet for coffee/beer? :P
 
Tuesday? Tel Aviv?
 
Sure, where?
 
lol dat function
function seconds_to_days($seconds)
{
    return $seconds/86400;
}
 
@PeeHaa Awesome.
 
@PeeHaa Beautiful.
 
3:35 PM
@ircmaxell Sure, but everyone knows it works like that for ctype_digit, maybe one can discover for himself, but not for the world :)
Not a bug per se.
 
@TOOTSKI most people never actually look at ctype_digit. And those that do are likely to pass $_GET directly, which will never actually encounter the conversion issue
point being: it's a bug. Even if it's by-design. Even if it's won't-fix. Even if it's a as-documented. It still is a poor design, which breaks the type system (and hence classifies itself as a bug)
 
YES! But he didn't discovered it! :)
 
Independent discovery is still discovery. It's just not as cool.
 
@LeviMorrison Which I sort of said, 2-3 messages before.
You don't jump on to Twitter and make claims :P
And then delete your tweets.
Because you're ashamed.
 
Supposedly making tweets and deleting them is a thing.
 
3:39 PM
That someone who used php for 2 years, knows better.
 
@ircmaxell ctype_* clearly says that internals rely on ctype.h and that php's implicit type convertions may not held true. Am I missing something here?
 
3 mins ago, by ircmaxell
point being: it's a bug. Even if it's by-design. Even if it's won't-fix. Even if it's a as-documented. It still is a poor design, which breaks the type system (and hence classifies itself as a bug)
 
@ircmaxell Let me pick your brain while you're chatty... substr($string, 1337, 1) is the ~same as $string[1337] ? The "performance" is the ~same. Overhead here is just that it's calling function?
 
both allocate a new zval, both copy the single character. The only "real" difference should be the function call overhead
 
Thank you, that's it.
 
3:46 PM
> 'Notice: Undefined index: array_name in Page3.php on line 10'
 
LOL
 
ow wait. nope that's just me
 
@ircmaxell Agreed that it's bad design decision (yay, for inconsistencies), not sure if it can be called a bug...
 
Sorry OP
 
ThW
 
3:53 PM
I just moved my RFC to Under Discussion.
 
@LeviMorrison \o/
 
Email is about to be sent.
Just fixing one nitpick in the RFC and then I'm hitting send.
 
@LeviMorrison Update the RFC pin as well ------------------------->
 
@LeviMorrison a.k.a. all hell break loose :P
Mazel tov!
 
4:04 PM
++
 
w00t
 
No love for Room11 lectors.
 
Congrats @LeviMorrison, now let's watch it being mercilessly torn to pieces by the toxic kindergarden!
 
#believe
 
#belieber
 
4:06 PM
@Gordon you around?
@TOOTSKI needs a ban.
 
:D
 
To whoever flagged that: Don't. It's annoying to all 10k+ users.
 
function findUser($userid): User{
    //find user in database
}
what happens if user isn't found?
 
@Zirak Was wondering who'd be the first to get here.
 
Half of my country is Islamist and we have bombs. Watch out Dor.
 
4:08 PM
@SecondRikudo I just missed you guys so much, I had to drop by.
 
@TOOTSKI We have bigger bombs. Watch out Dejan.
 
@iroegbu I believe in that case you want nullable hint (not sure about syntax).
 
@Zirak I bet you did :D
 
@SecondRikudo <3
 
@iroegbu The logical response would be null, but I'm not the one who made the RFC
 
4:10 PM
@SecondRikudo Empty User, heh.
 
that will be disastrous
 
@TOOTSKI Or that, yeah
 
Some things currently function on that premise.
Like Doctrine.
Talking 'bout database stuff.
 
something like function findUser($userid): User? { ... }
 
Innovation is forbidden, only copying from other languages is allowed!
 
4:14 PM
c# has something like that :p
 
@LeviMorrison RFC would break a lot code fixers/stylers, so I'm going be in b4 and make patches.
Bleeding edge.
 
@TOOTSKI Give me a moment and I'll take a screenshot of what PhpStorm looks like with return types...
 
@LeviMorrison Haha, sure.
 
Dat moment you can start working on a fresh VPS always fills my hearth with joy
 
@PeeHaa Deflowering VPS, new book by Pieter Hordijk.
 
4:18 PM
:D
 
stackoverflow.com/questions/23274252/… <--- what to do with this :s
 
(y)
 
4:34 PM
@iroegbu It's quite different thing in C#... variables that are instances of ValueType can't be assigned null since they are stored without any references, directly as value. However, there're situations when you need to assign null. To handle this situation .NET has struct (which is value type) Nullable<T> (with generic constraint: where T is value type i.e. struct). That ? is just syntax sugar. E.g. DateTime? d is the same as Nullable<DateTime> d.
 
@LeviMorrison You have space before : here... function find($id) : User;
 
@TOOTSKI 'Tis allowed.
 
I know, but it's sole example and it doesn't emphasize that.
e.g. function current(): Comment;
I'm just saiyan.
 
Hola
 
e'ning
 
4:56 PM
@PeeHaa yeh it's google specific AFAIK
 
@Lusitanian kk
 
I got a reply off-list. Positive feedback. He had some questions; he sent another email afterwards saying he found the info in the RFC.
Success!
 
@PeeHaa oops forgot the third param thank you
 
@Lusitanian And you have some garbage char in there ;)
 
5:03 PM
what do you mean
 
@PeeHaa i despise the github web editor.
 
hehe
 
fixed
 
awesome
 
5:05 PM
@PeeHaa do we know why the ilb is so popular btw? 361 stars
 
What the shit
I have to pay a fee for NOT having Sky Talk?
 
@Fabien tihs eht tahW
 
@Lusitanian We are awesome. And phpbb uses it. And pfsense is about to integrate it I think
 
@PeeHaa wow :D
pfSense is nice
why does a firewall need an oauth client
 
@PeeHaa @Lusitanian you're awesome.
 
5:08 PM
i should probably start paying the lib more attention lol
why can't i make my dog do it for me though, he's a better programmer anyway
@PeeHaa btw wtf is with this etsy carp
 
@Lusitanian Fucking clueless
 
@PeeHaa i blame the hipsters on that site tbh
 
It did work at some point. But then it didn't
I have been meaning to go over my code one last time and shoot them a mail
 
@PeeHaa github.com/Lusitanian/PHPoAuthLib/pull/230 we need tests on this one, so shall i do the honors of asking?
 
Yes bad cop
:)
 
5:13 PM
@PeeHaa closing issues like github.com/Lusitanian/PHPoAuthLib/issues/226 this one
with lack of responses
 
mmm Vanilla coconut protein bars arrived. Quite tasty :D
 
Going through resumes...
> Converted substantial portions of a 480K makefile from nmake functionality to Perl scripts, enhancing maintainability, readability and extensibility.
The only thing I can imagine perl ever improving would be make. Wow.
 
Yeah they got their answer. Moving on. Perhaps we should gather all issues like that and put it in a faq @Lusitanian
 
@PeeHaa good call
phpoauthlib dot com slash faq
 
@Charles lol
@Lusitanian yeah
 
5:16 PM
> Speak, read and write Esperanto at intermediate level
Oh yeah, instahire right there.
 
Anyone include their github?
 
@PeeHaa what is this 120 max line length shit
ugh
i broke the build with that
 
PSR-something
 
why did i approve using this psr-something
did someone inject me with an alcohol
 
kool aid
 
5:18 PM
i think someone forced me to drink a marijuana
i just removed part of the line that wasn't totally necessary since i'm lazy
anyway. that's a rather silly restriction
where did you hear about pfsense? @PeeHaa
 
@Lusitanian A (for me) new feature of github is that you can see incoming links
 
where can i see such things
 
Damnit the link is gone from the top 10. Not sure where to find it again
It was a post from somebody asking whether it was ok to include our lib for google stuff. It was given the ok
 
interesting though didnt know this even existed
 
Me neither until recently
 
5:25 PM
also has anyone established how travis is able to provide all these computing resources for free?
are we sure he doesn't just use a giant botnet
to run CI
for FOSS projects
also, what runs CI for travis?!?
 
lol
 
woohoo i fixed the build
 
yay
 
yatta!
 
alright time to break it again
 
heheheheheheheh
 
"This is NOT real git documentation!"
 
5:54 PM
wtf jhjugjhgyufyur76tr67r67
0
Q: PHP: T_ECHO parse error when displaying mysqli query in html table

user3452790I'm trying to get the results of a query from two database tables to display into a single html table upon the user hitting the "submit" button, but I'm getting a strange parse error: Parse error: syntax error, unexpected T_ECHO in /home/aarpet6/capstone.aaronpetrik.com/ins3.php on line 43 ...

worst thing of the day
 
lol
 
Wow. Just read an actual humane conversation on /r/php with two people of conflicting thoughts.
 
link or it didn't happen
 
it's linked :P though perhaps not so evidently as to what it points to.
 
@Fabien yeah, it was actually pretty cool
 
6:05 PM
@PeeHaa It's Thursday? No way.
 
Ow wow. While puking and bleeding from the eyes I totally forgot to cv that monster
209
A: Why is Stack Overflow so negative of late?

BenI interacted with SQL : Select Lowest 20 Record yesterday. The OP had done so little research that it was answered correctly, without enough information to answer it correctly, in 49 seconds A 70k and a 30k user interacted without voting to close It got 3 answers, 2 incorrect (one of these bec...

amen
 
6:24 PM
> Mumbai, India
OP :D
 
> What tricks/hacks/strategies have you invented to debug PHP code?
I should reply phpdbg.com rite ?
 
> put on hold as unclear what you're asking by Wooble, zeantsoi, Dave Hillier, bmargulies, TOOTSKI just now
@JoeWatkins YES!
He's been living under a rock.
We should add article that it's merged into PHP 5.6
Something like that.
I'll add it.
 
INSERT phpdbg INTO core;-- BITCHES
YAY!
 
In connection with my RFC, there is this:
I didn't see the @official_php wiki ( http://wiki.php.net ) looked so good on mobile.
 
6:28 PM
> For older applications or just spaghetti code that somehow works, I had to write a php parser in php to do things like give me a visual representation of an execution tree.
 
As of PHP 5.6.0, array_map(null, ...$input)salathe 1 min ago
@NikiC <3
 
@PeeHaa Honestly I'm beginning to think that the problem isn't low-quality questions by themselves... it's that they're earning upvotes from people that don't understand that it's a low-quality question. Stupids, all the way down...
 
Let them suck on it a bit.
> 1. An unmeasurable amount of awesomenimity something can produce.
Room11 - Where shit happens.
 
knock knock.
I know that it's for php, but I have a small almost insignificant question about mysql that I don't think it's worth posting it on SO. Can I ask it here? (the room of sql is empty for hours ... >.<)
 
@TOOTSKI The room regulars are incredibly productive. Look at the last two major releases of PHP; room regulars contributed substantial portions of ideas.
 
6:45 PM
@MichelAyres Please read room-11.github.io ... as I violate a rule :D Just ask.
 
@Charles you too "Dump a link to this document." hehehe
 
Yeah, yeah, I always forget that one.
 
SELECT * FROM tbl WHERE name = '\\\'test\\\'\\\'re' Works
SELECT * FROM tbl WHERE name LIKE '%\\\'test\\\'\\\'re%' Don't
name in the database is == \'test\'\'re
 
please use prepared statements
 
@tereško like addslashes and stuff?
 
6:50 PM
no
 
Wow a video * - *
 
@MichelAyres If you ever say that word again in here, there will be a mob, and we will hurt you. With words and hyperlinks.
 
:-)
 
@Charles exploding my like by spaces, which position of the array is the word I can't say?
 
6:54 PM
@MichelAyres No. Wait. What?
 
@MichelAyres "@tereško" :)
 
Ahhh =P
 
(really, "addslashes")
 
hey , I haven't even called him/her in rude names
 
Your behavior has been positively better over the last several months, @tereško. Thank you.
 
6:56 PM
@tereško and we'd never mob anyone for using your name :)
 
@tereško Thanks for the link. Very useful ^.^
 
@LeviMorrison Yeah, that's what I'm talkin' aboot.
 
@ircmaxell Thanks for the video. Very useful ^.^
 
:-)
 
:-)
 

« first day (1286 days earlier)      last day (3653 days later) »