« first day (1944 days earlier)      last day (2994 days later) » 

user3119231
1:00 PM
Right data: $safe = ["localhost", "root", "", ""];
 
You connect with your credentials to a database not a server
 
user3119231
I use: $safe = ["localhost", "adadada", "", "cadenas"];
 
So if you don't use a database there is no validaton besides checking whether mysql is listening somewhere
 
hey who is @Jeeves??
 
Jeeves, Somewhere on a server in a galaxy far far away
143 8
 
user3119231
1:01 PM
Nah nevermind. :D
 
is he some kinda special person ??? just asking....
 
@GourabNag that's mean
 
Jeeves is pretty special, indeed.
 
@PeeHaa what happens?
 
@PeeHaa Who wants packagist? Always links to the source.
 
1:10 PM
Hey can anyone see why the link echoed from the database isn't working? pastebin.com/bP5npM0K
line 34 :)
 
"Doesn't work" how?
You have $row['"apply_link"']
 
it links to the db field name in this case apply_link
 
You probably don't mean to have twice the necessary quoting.
 
yeah
i added that in coz i was trying anything :P
lol
 
ok, well, fix that. ANd then, seriously, doesn't work how?
What are you getting (or not getting)? What is actually in $row?
 
1:13 PM
$row = $sql->fetch
 
@PeeHaa Y U WANT LINKS TO PACKAGIST INSTEAD?!?
 
What is actually in $row?
Have you var_dump()ed it?
 
@jbafford i've enter a link in to the db, then i'm trying to echo that link out here.
@jbafford no
 
Hii!!!
 
@jbafford don't know what that is :)
 
1:14 PM
first step in debugging: make sure what you're trying to output is actually what you're trying to output.
 
@GourabNag hello again :P
 
Sup @AboutLeros !!! :P
 
@jbafford everything is outputting fine, it's just the link isn't linking to what is in the db.
 
What exactly does that mean? I can't see your output.
 
@jbafford ok, a link, you click on it and it take you some where else. . . well it doesn't do that. . .
@jbafford it goes to the www.exmaple.com/apply_link
which doesn't exist and not what's in the db.
 
well, why are you echoing apply_link rather than whatever is in your database? Are you sure that that's not what's in your database? Have you var_dump()ed $row yet to confirm?
 
@jbafford var_dump()ed ?
 
var_dump($row);
 
see the php manual
 
1:20 PM
:P:P:P:P:P:P:P
 
@jbafford i'm looking
 
@bwoebi Windows environment vars are screwed up
@kelunik Fair enough
 
@PeeHaa See @bwoebi's message.
 
why @PeeHaa Y U GUYS HATE WINDOWS?????
 
@GourabNag I dont
It's the most sane desktop environment
 
1:22 PM
@jbafford just says bool(false)
 
well, that'd be why you're not getting anything then.
 
i agree with you @PeeHaa
 
@bwoebi I expected it ebcause the command is !!packagist @kelunik
 
now, go figure out why $row is a boolean and not an array
 
@PeeHaa it is !!package
 
1:22 PM
!!packagist codecollab/encryption
 
[ codecollab/encryption ] Encryption package of the CodeCollab project
 
!!package codecollab/encryption
 
oh
 
@bwoebi ;)
 
oh thats the bot!!! I GET IT NOW!!!!!!!
 
1:23 PM
!!package codecollab/encryption
@Jeeves you ok?
:-(
 
lol
 
Hi I've been into php project and I stumbled on using Git and I've been doing some certain excersises. Now I get the idea I think. Am I correct to say that a repository is like a giant tree-like structure and branches are the parts within a repository containing certain commits, which Git allows us to interact with?
 
does the bot do anything else??
 
@Barrosy sorta kinda.
 
1:24 PM
no, i am getting everything else. it's all displaying from the db. it's only the link that doesn't work.
 
Allright thank you for confirming my idea about git @jbafford
 
@jbafford :)
 
@Barrosy the description certainly misses the whole part about versioning
 
@Gordon Allright well that's maybe because I'm still getting into it, right now I'm at a part about tags :P
I guess that's pretty close to versioning
thanks for your reply @Gordon :)
 
1:29 PM
@Barrosy a better description might be; a repo is a tree (more specifically, a directed acyclic graph), tree nodes represent individual commits, and the tree branches represent different branches of development (which may or may not correspond to an actual branch at the git level)
 
"git gets easier once you get the basic idea that branches are homeomorphic endofunctors mapping submanifolds of a Hilbert space."
 
'homeomorphic endofunctors mapping submanifolds of a Hilbert space' what does this phrase mean??
 
^^
 
Math. It means math. Twisty, mindboggling math.
 
O.o
 
1:36 PM
And wrong math...
Pretty much in all ways it can be wrong :D
 
And set theory. Let's not forget set theory. Because set theory is always good for a bucket of laughs.
 
ROFL
swordfight
 
see, bucket of laughs. QED.
 
I like my manifolds to be smooth, just saying
 
@Danack 10 minutes of worktime lost reading only about Hilbert space
 
1:41 PM
hehe...
 
@SergeyTelshevsky Yeah, you could have spent that time better by learning how to use git :P
 
@jbafford ok, still doesn't work. now displays nothing: pastebin.com/AQWNXdsG :P
 
use git, but not use it's branches :D
 
@AboutLeros You probably want to read up on XSS attacks
 
@PeeHaa thanks :)
 
1:49 PM
google's 2nd result for endofunctors leads to a SO question on haskell.. no way I am going to go that trail!
 
I hate benchmarking… first bench… 245e8 instructions and 12.9 sec … every subsequent benchmark is slower than that. (≥ 258e8 and ≥15.2 sec)
how am I supposed to compare benchmarks when they're not consistent?
 
@bwoebi you in a vm?
 
no
 
heh, then you don't know half of it ^^
 
hmmmpf
I just see that it wildly varies depending on how many traps are measured…
I possibly could have more success if I could pin a program to a CPU … let me research that…
bah, I need to reboot to isolate a CPU… not now then.
 
2:01 PM
@bwoebi huh?
can't you just do a taskset?
 
@NikiC (I'm not talking about setting affinity but about really isolating a processor core)
taskset just pins a process to a certain core, but kernel still schedules other work on them
 
I'd still try it, maybe it's good enough...
 
no not really
 
> well i saw your video about php extension making - this question is a bit personal but did i hear there water bong in the background?
 
@JoeWatkins lol
He is right though :-) Isn't he?
 
2:12 PM
no ! ;)
 
@PeeHaa that was water for the tea
duh
 
haha
green tea, obviously
 
in my defence, it was a long video ...
 
@FlorianMargaine So british
 
@JoeWatkins the problem here is, you think you need a defense :P
 
2:15 PM
systemd is a fucking cancer
 
@tereško Why?
 
sure buddy
 
I don't like it because I have to learn everything again fwiw
 
something else you don't know how to do, so it's cancer?
 
@FlorianMargaine Merely dark humour
 
2:16 PM
@FlorianMargaine everything I don't understand is cursed
 
@JoeWatkins but you understand almost everything, so it's fine...
it's only php core that you don't understand... it's fine
:P
 
@PeeHaa well currently I have a minor problem with mesa, which cases X to fail. Or it should be, but because systemd-logind cannot reach SDDM, it just freezes all my input. And since logging goes through systemd to, I have no info to debug on, even when I will get back in using live-usb
 
@FlorianMargaine you're not supposed to understand it ... peaking behind the curtain is a bad idea
 
@tereško That sounds like you are fucked :-)
 
@JoeWatkins ... that's what she said
 
@tereško SDDM?
 
Replacement of KDM
 
also: journalctl --root=/mnt
 
@FlorianMargaine Simple Desktop Display Manager
 
ok, didn't know this newcomer
I used to use slim...
now I don't even have a display manager
 
2:31 PM
kinda odd I guess, I use gnome but my desktop mostly consists of tiled terminals
 
it's a fucking nightmare
it took me like 80min to get back my GUI
 
Why didn't you just restore your config from backup? :D
 
you really funny
I had to boot manually from a live USB, downgrade mesa and recompile gpu driver
and now I am going to try it all again with the new mesa version, in case I missed a way to bypass the issue without resorting to a downgrade
 
Just install Windows like a sane person and stop dicking around with sysadmining
 
hmm, isn't there an option you can specify at boot time to just prevent X loading? Rather than the whole live usb thing
 
2:38 PM
@Leigh removing the display manager
 
@Leigh you might give this thing a try: swaywm.org
 
booting in tty is the One True Way
 
@PeeHaa s/Windows/OS X/
@FlorianMargaine yeah… ideal for browsing the internetz
 
supply text as a kernel parameter
 
@bwoebi I actually use it fairly often
 
2:39 PM
@bwoebi lol. I like my games and OSX has less games than linux
 
sometimes I just need emacs or w/e, so I don't run startx
 
@NikiC I think Dmitry doesn't understand the world anymore … I've told him his patch has a negative perf impact ^^
 
@FlorianMargaine this is my primary system and not a remote VM
 
@tereško same
 
@NikiC Just saying … a small bit more cycles (+0.5%), +6% L3 misses, +1% L2 misses and -0.2% ICache misses ^^
 
2:41 PM
I really can't see a sane scenario in which I would want to run my primary system without GUI
 
@tereško it happens when I'm on the train without internet, and I only use the GUI for the browser
 
@Leigh how do you provide that for direct UEFI boot?
 
I'd have to reboot to find out..
 
@Leigh I think I already know an answer: I would have to create another UEFI entry specifically with that setting
 
brb, rebooting
 
2:44 PM
@bwoebi hum. bad implementation or the idea just doesn't make sense at all?
@bwoebi Remind me, what are current live range leaks?
Is something like (function() { yield from [yield]; })()->send(new stdClass) supposed to leak?
 
# IRC log:
hmm, I find that it is most significant for small icalls
e.g. zif_ord … twice (!) as many L2 misses
array_shift … 60% more L2 misses
(now I only can hint again with my vm_stack_restructuring patch :-D)
this is, because in my application ord() is exclusively called inside a generator though
(and ord is a fairly lightweight function)
 
Anyone know if FileSystemIterator and DirectoryIterator are streaming iterators or do they operate on an in memory collection of all the file items?
 
@NikiC don't think so
 
@bwoebi ok ... I wanted to implement additional gc and noticed that one of the test cases was just outright crashing
 
@tereško Took me like 5 attempts, so for me halt it at the boot menu (press an arrow key or something), then press e to edit the boot params
 
2:47 PM
@PeeHaa it not like this is my first day. But shit like this really drives home the fact that linux is not for your average users .. and probably never will
@Leigh there is no boot menu in my setup.
the boot happens directly from UEFI entry (no Grub or any more lightweight boot manager in between)
 
Really? I have a UEFI boot, but I have a menu (I set the timeout to 1 second so I have to be quick)
Maybe you were all yolo when you installed and set the timeout to 0
 
nope
I remember setting it all up quite vividly, because it took me like a day to figure out what the manual wanted me to do
ok .. not a day, but at least an hour
and there was no timeouts being set (which actually surprised me)
 
what distro under the hood?
 
Be careful buying from China :)
 
2:53 PM
@Leigh Arch
 
Buying stuff from china is just nuts.
 
@tereško same as me then
/boot/loader/loader.conf should have a timeout
 
user3119231
is the pdo catch error 1045 for password and username?
 
@Leigh I used this approach: wiki.archlinux.org/index.php/…
"Using UEFI directly (efibootmgr)"
 
Anyone ever experienced hardware issues?
 
2:56 PM
I have no idea what I followed
 
yeah, well, I wasn't as much "following" as "taking some pointers"
 
user3119231
I have to create a "picklock" system to detect database weaknesses. However I need to get the error... I don't know if I should show the code in public.
 
Looks like I'm using systemd-boot
 
oh .. the joy
 
I remember trying another method before that I had bad luck with, due to it trying to boot off only 1 disk in the raid
 
3:00 PM
@Maurice 1045 is mysql not pdo
Access denied IIRC
 
user3119231
Thanks, but this won't help me.
 
user3119231
I know what it is. But 10 minutes ago there were an error for each scenario (1044, 1045)
 
user3119231
now it is just 1045 for wrong username AND wrong password
 
I guess not, anyways... when I checkout on origin/master and commit, another master on commit 1 appears and origin/master keeps existing on commit 0?
talking abut git again here ;3
and remote repository
 
posted on February 11, 2016 by nlecointre

/* by Wes */

 
3:18 PM
I like the kid on the chair falling into the pool haha
 
@Feeds @Wes are you so bored you are adding gifs to the codinglove?
 
Wes
nope, not me
all my gifs get rejected, they are too funny
 
@Gordon Wow that's a crap one
 
that last one links to...
 
3:29 PM
@Machavity yes, in an answer. I flagged the answer because its a closevote effectively
 
user3119231
Just don't get why this does not work: pastebin.com/pqyStxz9 Anybody can give me a hint?
 
@Maurice without you telling us what it's supposed to do or what exactly doesn't work, I'll say it doesn't work because you are using globals because using globals is always wrong.
 
First time I have used argument unpacking \o/
 
user3119231
@Gordon I want to let the script parse the keys and try to connect to database. If the key is false it will try with another one.
 
@PeeHaa unless you are doing some templating-related stuff, you should be really worried
 
3:39 PM
@tereško return new $classname(...$parameters);
 
oh, I thought you were talking about extract()
my bad
 
@YourCommonSense thanks for your reply :), I was thinking to create a PDO wrapper and use transaction as a mandatory, thus have a doubt on always wrapping the transaction in a try catch block :)
 
 
3:54 PM
Event handling at its finest
 
@Fabor "internet history" being a huge misnomer there
 
> Critics point to portions of the law like the statement that "data includes any information that is not data." The UK's home secretary and the Bill's principal architect, Theresa May, later explained that this was supposed to refer to things like paper.
I should probably shred my internet history.
 
@Fabor So much despair about IT in politics.
 
Evenin'
 
4:02 PM
Evening
 
I really hope the next generation at least has a clue.
 
@Sean I don't have a clue, and I'm this generation. It's all good.
 
I wonder how ISPs are going to record my paper though
Maybe I'll have to fax it to them
 
Mornings!
Tommorow I am packing and caturday I am moving!
\o/
 
4:15 PM
To somewhere exciting?
 
to new apartment!
 
4:29 PM
@tereško I'm using them all the time… each time when I use use ($var) on a Closure … :-P [yea, that's a static var]
 
@Fabor IT CROWD!
 
heh :P. Is it popular across the pond?
 
I like it
 
@Fabor It's popular everywhere! :)
 
hi guys!!
 
4:37 PM
Github keeps telling me I have new notifications, while I don't. Annoying :(
 
@Oldskool they're just trying to increase their visitor count to prop up their stats before doing an IPO.
 
@Leigh upgrades space, much closer to town (less work travel time)
 
More time for you is always better
@ircmaxell did you see the US version?
(if not, don't, it's terrible)
 
is there a reason why the issue with collections in php hasn't been addressed?
For instence something like this:

$foo = new Foo<Bar>();
$bar = new Bar();
$foo->add($bar);

Or maybe it's just me that can't find where it's talked about?
 
4:48 PM
that's called Generics
and it has been talked about a lot
and it may happen, just hasn't yet
 
5:00 PM
hey!!
 
posted on February 11, 2016 by nlecointre

/* by danywalls */

 
Hi Everyone,
 
sup dude!
 
today i got an unexpected error in Magento..
 
well i have never used magento before
 
5:04 PM
Ohh that's Okay, i am also new in magento
 
am I the only one who thinks responsive web design is not a good idea? (1) doesn't save bw, (2) frustrates users who want larger text, (3) annoying if the mobile version doesn't show the same amount of information as the desktop version and there's no way to switch to the desktop version
 
(3) is my big problem with responsive design
specifically, that responsive design is reacting only to size changes by also providing a UI that assumes an input method change.
 
Er, (3) is not a problem with responsive design, but with not using responsive design, I would argue
 
it's really irritating when I have my web browser open and it just happens to be 1023px wide.
and bam, I get a useless site
 
5:08 PM
@Andrea no, what I mean is, a 500px-wide website on a desktop browser should still work like a desktop website, not a mobile website.
 
I like to zoom to 150% so I don't have to be too close to read the text, but on responsive websites, they start moving stuff around -> like removing essential sidebars, changing the style entirely, etc
 
@jbafford I don't think there should be a distinction
 
I disagree. UI/UX design for mobile vs. desktop are different.
You wouldn't want to use a desktop UI on mobile, and you don't really want to use a mobile UI on desktop.
 
@Danack I hate these jokes where people just make up nonsense to try and sound clever
 
but I want the option to do so, mobile on desktop not really but if you start hiding stuff in the mobile version then I get mad
 
5:11 PM
@jbafford the web isn't specific to mobile or desktop, though. I think you should design sites to work on both
 
that's why I love how stackoverflow approached it, simple "Mobile" or "Desktop" link at the bottom of every page, (here too)
 
I really hate "mobile" Wikipedia. It's functionally useless.
have to tap twenty times to see all the content in the article.
 
I hate how StackOverflow approached it. The mobile version lacks crucial functionality and isn't nice to use, and the desktop version is unusable on mobile
 
That's not mobile design, it's shitty.
 
well they've got a mobile app so I don't really complain
 
5:13 PM
^
 
I don't want to download an app for stuff we should be doing in the browser
 
@jbafford versus having to scroll forever
@PeeHaa websites should be websites!
 
what's wrong with that? Only thing you'd really need is a widget to bring up the article's TOC from wherever you are.
 
Is there a way to import blogger file into wp.com
 
@jbafford that obscures the content
@William you're asking in the wrong place, I suggest room 600613
 
5:16 PM
@Andrea a widget, that shows the TOC only on demand, obscures the content?
 
@jbafford the widget has to always be around on screen
 
I think I can deal with that.
 
@Andrea hahah I will not ask again. Google has had old information.
 
stick it on the top or bottom with other navigation elements.
 
5:19 PM
> The IT person is a brain man. He is the cool guy. He knows the best. The best job is the job where you have the last word.
HELLO YES I WOULD LIKE TO APPLY TO BECOME ”BRAIN MAN“
> IT person children, home made baklava carries the Bayram feast even.
what did I just read
 
@Andrea it's ok, we know you don't understand, because To be honest, let me say that girls can’t become IT people. If one exists at all, she is a rare flower, the queen of the team, everyone’s darling. The IT person, refrains from the IT girls.
3
/me runs for covert
 
hehehe
 
seriously, though, that guy is about to get a massive internet backlash.
 
In that same WTF vein, apparently someone took the time to marry GitHub accounts to Google+ to determine gender and then found that pull requests by women get accepted more often than men. But if the woman is a newcomer she is apparently more likely to have her pull request rejected
I am kinda scratching my head at the conclusions the author draws. The numbers aren't massively off
 
5:25 PM
@Machavity That does not look statistically significant to me, and neither do I particularly trust the methodology.
 
I make no claims to accuracy. Heck, GH doesn't even ask for gender which kinda dents any methodology. But this graph doesn't show a giant disparity and yet that's what the author wants you to take away from her article
 
@Machavity well, my first thought was, "there are error bars, to they must understand how statistics work"
G+ is still a thing?
 
LOL
> The most surprising finding is that they've found more than 1.5 million G+ profiles... /s
I would think PHP Internals also disproves the bias. Internals treats everyone equally badly
5
 
@NikiC regarding your last mail: you mean putting an extra ZEND_FREE instead of CALL_CTOR_RESULT_UNUSED? Or a specialization?
 
That is a nonresponse bias or something like that because not everyone like me has a G+ account connected to it.
It would almost be better to go off their github username and guess there gender.
 
5:31 PM
@Machavity there are a few people more respected than others and a few who everyone hates ^^
 
@Machavity they don't look particularly far apart of that was the whole graph, but the y axis isn't even zero-based...
 
@William I stopped trying to guess genders from real names
unless it was blindingly obvious
 
Yeh, I mean I'm obviously a girl
 
Still don't think determining gender based on G+ account is anyway relevant.
 
I'm fairly certain Internals has multiple "Andrea" and "Andreas" that are of both genders, for example.
There are plenty of gender-ambiguous names.
 
5:35 PM
Out of curisoty how do you determine the gender from G+. Wouldn't that only be if the G+ account and the persons email address are both public?
 
Maybe that's pushing it a bit far
 
@bwoebi extra free
 
@William G+ has a "gender" field
 
@FlorianMargaine Yes and how do you connect that to github? The --github email addresses aren't public and-- G+ is defaulted to public.
 
you're looking for ---foo---
 
5:38 PM
Ok well reading the article they only used the public ones.
 
i.e. foo
3, not 2
 
hahah now it is locked so close. They should really allow basic html in chat.
 
@William a small subset of markdown is enough :)
 
@FlorianMargaine I'm not going to argue one way or another to much, but why not just convert b,i,a,s,code automatically to mark down? Or put a pop up to users. ---is--- is not exactly easier to remember.
 
@William you can't parse html with regex, you can parse markdown with regex, so it's just easier overall
 
5:47 PM
You answer is not a wrong for all html, but notice I'm not saying all html. Github does exactly what I described(although they include <table> which SO doesn't) . Either or a pop up would be useful at minimum.
 
@FlorianMargaine tchrist contests that
 
@Gordon Ah, I forgot how much I love perl.
 

« first day (1944 days earlier)      last day (2994 days later) »