« first day (2085 days earlier)      last day (2853 days later) » 

12:04 AM
happy friday! o/
 
9 hours ago, by PeeHaa
https://rbaas.pieterhordijk.com
 
 
5 hours later…
5:04 AM
morning
 
5:16 AM
mornin
 
5:54 AM
morninn
lets start this day with a video
 
Monin
@Gordon this is a wrong video
 
!!rebecca
 
@SergeyTelshevsky better?
 
6:03 AM
@Gordon not better, this is normal :P
 
!!is it really friday Jeeves?
 
Let me think about it … wait … yes … well actually, no.
 
such a confused elephpant you are today @Jeeves, it seems
 
Morning
happy Rebecca day!
 
\o/
 
6:10 AM
@Ekin did your friend reappear?
 
yes he did! It seems his flight was two hours before what happened...
 
I guess he's is very happy he took that flight then
 
no one knew the exact time he was there, so we all panicked.
yes, he was so, so lucky...
 
must be very weird stepping onto a plane and then learning at the destination that the place you just left blew up
 
indeed, I can't even imagine
 
6:14 AM
on a very unrelated side note: this video is hilarious
 
@Gordon who filmed my mom!?
 
heh :-D
 
@SergeyTelshevsky brazzers?
 
if only brazzers did driving lesson movies
 
YAAAY
Today my vacation starts
in ETA 7.5 H
 
6:18 AM
that is fantastic. what better day to start off vacation than friday?
 
moin
 
it's the exact opposite for me, it's the day I get to start rewriting a ~5GB codebase from scratch after ~ 2 months of only personal projects
 
Aug 15 '15 at 0:02, by DaveRandom
There's no worse design task than a blank sheet of paper
good luck :-)
 
heh right, thanks :-)
at least this time I am not required to refactor a codebase full of mysql_ and alikes, I'm allowed to trash it all and use whatever I want to use
 
6:28 AM
@Ekin sorry to hear that
 
@Ekin dbase all the things! :-P
 
hah :-D
 
wait, dbase is still a thing? dbase.com :-S
 
> dbDOS™ PRO 5+N is the next generation of DOS support on the Windows® 64-bit operating systems.
wat.
 
6:33 AM
good morning
 
@DaveRandom when you forget to make a release after 01.04
 
@RonniSkansing yeah, that was pretty much how I spent 2015, so this feels good
 
6:51 AM
someone got the networkcable jesus ppicture
 
@RonniSkansing this one?
 
Yes thanks! =) lol
 
yw :)
 
It's Friday, Friday Yeah, yeah, yeah
 
7:11 AM
Morning 11 and happy rebeccaday to all!
 
morning guys
 
@Naruto o/
 
mornin Oldskool,Naruto
 
Hi guys!
 
o/
 
7:20 AM
 
mornings
 
morning tereško
 
Happy Rebeccaday @tereško
 
Morning
 
7:23 AM
I don't approve of that rebecca bullshit and never have
2
 
Fryyydaihh :)
 
Anonymous
@tereško You're just full of joy and happiness ^.^
 
@JayIsTooCommon no, I just don't think, that "cringe" is compatible with "joy and happiness"
 
Wes
morning
 
Anonymous
o/
 
7:27 AM
(sorry ... my latvian is leaking through .. we love triple and quadrupedal negations)
 
@tereško Doesn't mean we can't sling the Rebecca madness your way .. in fact it encourages me even more ;-)
 
Anonymous
You going to NW @tereško ?
 
no
 
7:44 AM
You been to a conference?
Rebecca is about the art of click-bait and deception.
 
@Fabor That it is.
 
Anonymous
the question on everyone's mind is, "what should I learn next ..?"
 
not really
 
"What should I drink next?"
 
7:59 AM
Happy Friday, room 11!
 
\o/
 
Anonymous
Ah, great Tilaa shutdown my server for the 15th time :\
 
Please tell me why my upload function fail to upload images while itshows $_FILES['file']['error'] is zero?
 
because your code is wrong?
 
@astrosixer Check your error log?
 
8:05 AM
@samayo wtf? I haven't had a single shutdown in all this time.
 
@samayo And why exactly are you still a customer with them?
 
are you sure that it not just your OS crashing?
 
I'd accept it once or twice, but 15 is crazy.
 
Anonymous
Nah, it's over unpaid bills. Every end of the month since last year.
 
LOL
So start paying? ;-)
or start paying faster
 
8:07 AM
@samayo I once worked somewhere where a "legally blind" guy at our supplier shut down our production instead of his dev environment, because he had the wrong terminal focused
 
@samayo So, pay your bills. lol.
 
@Oldskool I dont see anything in the error log
 
what exactly are you complaining about?
 
@samayo If you dont pay your rent/mortgage, what do you think happens? :)
 
8:10 AM
That its not 16:00 yet
 
Anonymous
@Leigh how do you even trust a legally blind guy to do work in a place like that .. :)
 
Anonymous
@MattPrelude I don't pay rent!
 
@samayo dunno, apparently he had a ridiculous zoomed in monitor and stuff
 
Anonymous
!!version
 
8:12 AM
@Leigh judging by how often that type of stuff is done by people with 20/20 vision, it's not because of him being legally blind
 
8:28 AM
Working with things like PHPStorm, it's basically recommended that compser / gulp etc is managed on your local machine, along with a copy of PHP, PHPUnit etc. while your actual app is contained in a virtual box behind vagrant, with a shared folder
 
Why can't you just work with everything local?
 
@Danack huh? not sure what you mean. phpunit is not a gui tool.
 
you can, but it's much cleaner to keep the "webserver" in a VM
.. or even on a separate system
 
docker. you must use docker.
 
Smoking in Russia comes with unexpected dangers. https://t.co/DcDsVmitkr
 
8:34 AM
@Gordon I thought docker was a non local thing?
 
@Sean you thought wrong
 
@Sean its more or less similar to having your app in a vm. in fact, on mac os it is very much that
 
Local docker registry server.. is this what I should be starting to read up on for a local deployment?
 
@Gordon you should use jails with zfs snapshots :P
 
@Sean no, just docker
 
Cheers ^^
 
Wes
9:00 AM
there's a mofo that stole for the third time the antenna from my car (you can unscrew it) not because they need it, but because they find it funny. every time it's €35 + the journey to the spare parts reseller that is 150km away from me. now i'm undecided if i should remember to bring the antenna with me every time i leave my car unattended, or buy a camera and film the motherf....
 
@Wes lol
The strips on my door panels used to get stolen almost monthly at some point :P
 
anyone good at regex?
 
@Naruto Better just to ask the question ;-)
Probably someone that can figure it out in here.
 
Wes
@PeeHaa super annoying
 
Yeah. That gets old really fast
@Naruto Are you new here? :P
 
Anonymous
9:05 AM
@SergeyTelshevsky Just wasted 20 minutes look at everything :)
 
@Gordon yes, I meant I should stop trying to do programming with a gui tool, and instead just do programming with programming.
 
I'm receiving the next string from a webservice: *200=Black400=White, I need an array with 200 => Black etc.. No idea if this is even possible?
@PeeHaa sometimes ;)
 
@Naruto Can you give the full string and the rules?
Because I assume you also need 400 => White
Isn't there a delimiter?
There just has to be
 
the exact string I receive: string(153) "*200=Zwart400=Donkerbruin616=Middenbruin833=Cognac866=Blauw899=Wit933=Rood944=N‌​atur949=Lichtgrijs955=Taupe962=Lichttaupe969=Donkertaupe977=Beige988=Groen"
 
That webservice is full retard and beyond
Moment. I think I can write a broken preg_split solution
 
9:11 AM
!(\d+)=([A-Z][a-z]+)! not for split but for match_all though
 
Gon
Moin
 
@Kat So - go doesn't have exceptions, but instead it has Panic. Isn't that exactly the same thing, except that it's a single type, so calling code can't call specific exceptions?
 
But keep in mind @Naruto I cannot believe that is really what you get back from a webservuce
No sane webservice returns data like that.
 
It does like kinda retarded, yes.
 
Are you 100% sure you are looking at the raw data from the response?
 
9:12 AM
@PeeHaa it doesn't ^^I just found out it returns it with <br/> , who the **** uses that?
 
/me faceplants
 
It had to be :P
 
Because BR is a very valid newline char
 
@Naruto Try sending a proper request and request json or xml
Accept: application/json
 
what do you mean by that? :D
 
<OPTLST>*200=Zwart<br/>400=Donkerbruin<br/>616=Middenbruin<br/>833=Cognac<br/>86‌​6=Blauw<br/>899=Wit<br/>933=Rood<br/>944=Natur<br/>949=Lichtgrijs<br/>955=Taupe<b‌​r/>962=Lichttaupe<br/>969=Donkertaupe<br/>977=Beige<br/>988=Groen<br/></OPTLST>
 
> Docker for Mac and Docker for Windows are currently in Beta.
 
That is crap, but meh
@Naruto Use the DOM to get all the textnodes
 
for this you need just a nested loop with explode
 
So I really should only be using docker on a linux box?
 
Gon
9:17 AM
umm... so when an websocket message is sent after the handshake there shouldn't be any thing like, HTTP Headers...?
 
wait what? I'm doing in this in php u know? @PeeHaa
 
!!docs domdocument
 
[ DOMDocument ] Represents an entire HTML or XML document; serves as the root of the document tree.
 
PHP also has some tools for handling xml ya know ;)
 
ye and I'm we using SimpleXMLElement
 
9:19 AM
Eeeeeeeeeeeeeeeeeeeeew
 
should I rewrite? ^^
 
Probably not
Just note that there is nothing simple about simplexml
5
 
9:25 AM
@PeeHaa Could not agree more. shivers
 
@PeeHaa s/simplexml/xml/
That's the real problem with simplexml
 
Cue visions of writing simpleXML code, when suddenly namespaces knock down your door and break your kneecaps
 
Namespaced XML is not simple
 
@Sean or stick to vagrant with virtualbox
 
@Gon nope, you send "frames"
 
9:33 AM
Junior just resolved a merge conflict by using his copy only, completely overwriting my work ¬_¬ FML
 
Meh just revert to your version start a merge war
 
Exactly what I'm doing. :P
 
:-D
 
hi
 
hola
 
9:35 AM
@Sean You sure he's not an intern? Merge conflicts are like git 101.
 
@Oldskool He's not that chalked up on VC, really doesn't understand why we use it & commit so liberally
 
Sounds like a designer rather than a developer :P
 
Real men use git rebase -i HEAD~1000 && git push -f
5
 
@Oldskool merge conflicts are a git flow feature
 
Anonymous
You can't blame people for not knowing much about VC.
 
9:37 AM
@samayo venture capital?
 
posted on July 01, 2016

New Cyanide and Happiness Comic

 
Anonymous
@Gordon Version Control.
 
hi guys just want to ask this. for example i have 2 folders of mvc using Codeigniter, leave and payroll, and i have a login page in leave folder, is it possible to access payroll folder after logging in?
 
Anonymous
@Sean On the surface, it looks easy to pull, push, create branches, PR .. but I have no idea about the rest ..
 
9:38 AM
@Ricardo folder… an app has nothing to do with folders. there is no such thing as folders of mvc
 
let's say i have 2 projects using codeigniter
 
its software. you can wire together everything somehow
 
because my problem here is code structure
 
Fast & Furious 8 filming in Cleveland. Imagine if you weren't aware and suddenly saw this. (h/t Kasey Crabtree) https://t.co/0u08Lgo0DH
 
!!rebecca
 
i cant convert my 1st project with the 2nd project to merge them in one
 
@Ricardo by project you mean two independent applications running on the same host?
 
yes
but i want to have the same login page
 
you want to have the same login page for signing up in the other application or you want to be able to sign up to both applications from the same login page?
if you just want to have the same login page, copy the login page to the other application
if you want to sign into project 1 and also be signed in in project 2, that's a different story
 
is it possible to share the same login page which is included in one project?
wait let me explain
 
Wes
9:46 AM
@AdilIlhan ( ͡° ͜ʖ ͡°)
 
@DaveRandom Force push protection ftw.
 
because i have 2 portals, hr and accountant
 
@Wes @Wes @Wes Didn't you want to try a new logo because you were not satisfied?
 
the 1st project is hr which is leave management system and the login page is included in it. the seecond project is the accountant portal which is the payroll computation
 
Wes
@kelunik i don't know. i just want to die painfully :P
 
9:48 AM
when i login as an accountant for example, how will i be redirected to accountant portal or payroll project?
 
@Ricardo how should we know? you wrote the software. not us.
 
no i mean is it possible?
 
is what possible? I dont understand what you are asking.
 
@Ricardo You need a) a shared authentication system. Look at OAuth. b) a separate application to actually be the OAuth provider, keep track of what users are able to do, and handle that appropriately.
 
I have a vague idea that you are asking about a single sign-on system, but not sure because you keep refering to folders and pages.
 
9:50 AM
What you want is possible but decidedly non-trivial
 
@DaveRandom ok thanks ill try that
 
if you are asking about a Single Sign-On, then see what @DaveRandom said
 
@PeeHaa kill me plz
 
I will, but why?
 
Must there be a reason?
@kelunik why is chat offline?
 
9:54 AM
TIL: the l in salmon is silent.
 
@DaveRandom Because 1&1 canceled my contract for 1€ / year, so the server is gone since yesterday.
 
is there a way to do this:
 
@kelunik Oh you need a server? I can give you one of those if you want, I assume the required bandwidth is negligible?
 
UPDATE Things SET changedOn = CURRENT_TIMESTAMP, orderNum = :num
WHERE thingId = :id AND orderNum <> VALUES(orderNum)
^ this doesnt actually work, but is there a way to make it?
 
@DaveRandom I have two servers on DigitalOcean for free currently, that's not the issue. I just have to find time to update the chat. It was running on PHP 7.0-dev from July 2015 or so.
It needs some adjustments before it can be run again.
 
9:56 AM
though I guess it makes sense. fish dont talk
 
@kelunik you have a list of things that need doing?
 
e.g. Throwable wasn't in PHP 7 at that time.
 
Anonymous
@Gordon hahahahaha
 
@Gordon Dead fish have no tails?
 
Lots of dev tools seem to be better on a linux box. Wonder if it's worth setting up dual boot
 
9:58 AM
@tereško ... AND orderNum != :num ?
 
@Sean Do people still do this? y u no VM?
 
@nikita2206 IIRC you couldn't use placeholder multiple times .. or am I having a brain-fart ?
 
@DaveRandom I do VM, but just looking at stuff like docker, and how npm / composer seem to work with less niggly issues on a *nix file system
 
@tereško I think I've used it multiple times at least with doctrine/dbal... Not sure about naked PDO, but you could still bind the same value twice (if that's not what you were trying to avoid)
 
Hi guys this is the leave management system im working github.com/bbalet/jorani on but i'm having a hard time tracing or finding the code for page redirection on login, where does it usually located on this kind of mvc code structure?
 
10:01 AM
@Sean Why would running a VM affect the kind of file system you can use?
 
@nikita2206 No you cannot @tereško
Unless you are running with emulated prepares
 
@nikita2206 I dont actually have PDO. I actually have an shim, because we are still migrating away from mysql_*
 
/me steps away
FAST
 
naaaaaaaw
 
@DaveRandom Well, for instance before the awesome changes to npm windows struggled with nested packages because of how deep the folders would go. it would be running in a shared directory, so regardless of whether it was used on local or inside the VM it would break
 
10:03 AM
@PeeHaa I have never understood this. Given that PDO's placeholder syntax is handled by PDO (it's not standard syntax for the actual DB driver) I don't see why this inconsistency shouldn't be resolvable.
 
@Ricardo it should be in a view ... it usually is in the controller's action
 
@DaveRandom Because PDO is actually a POS?
 
Ah yes, how did I forget
 
@tereško ok thank you
 
@Sean Not really, a virtual disk is just a file to Windows, it knows nothing of the data inside the file and the fact that it represents a file system (assuming we are talking about using Win as the host and *nix as the guest)
 
10:05 AM
It's also super annoying because you want your composer packages on the VM so your app can use them, but you also need PHP installed on your local machine to support things like phpunit, which phpstorm seems to prefer to use locally (and stuff like phpcs, etc.)
 
@Ricardo though, it should be in the view only is you actually are separating concepts of "template" and "view"
 
@DaveRandom Shared folders still had the same limitations as the windows filesystem though. If you tried to create a directory nested too deep it would cause issues. Somehow npm would be able to bypass it on installing packages, but if you tried to delete them it would kick up a fuss
 
Hello! I would need some help with regex - I'm working on script that would show potentially dangerous requests, but somehow I can't filter URL correctly. This is the base regex which matches URL containing other URLs in GET parameter(s): ^”(GET|POST).*\?.*\=http\:\/\/.* HTTP\/.*$. I want to ignore URLs that matches word 'goto' in parameters... this is what I have so far, but it's working only if this word appear somewhere in URL: ^"(GET|POST).*\?.*(?!.*goto)\=http\:\/\/.* HTTP\/.*$ Thanks!
 
@Sean because you were running NPM on the Windows machine. Run it on the guest OS
You can still have your local PHP/phpunit etc on the host OS so that PHP Storm will play nice with it, but if you want to run commands that work better on *nix then you just SSH to the guest and run them there
 
@DaveRandom Dunno, make it not crash on startup again.
 
user1804599
10:10 AM
@NikiC can routes have positional arguments instead of keyword arguments with FastRoute?
 
Needs code review and adjustments to new APIs.
 
PHP storm even has a built-in SSH client @Sean so you don't even need to switch windows...
@kelunik may take a look and see if there are any easy wins later
 
@DaveRandom I rewrote it partially, actually want to finish that somewhen and bring it back up then.
 
You partially rewrote something and then lost the momentum? I have literally no idea what that is like.
2 messages moved to bin
 
@Jeeves are you drunk?
 
10:20 AM
@AnmolRaghuvanshiVersion2.0 Screw you human!
 
!!translate en --from=ms puki
 
cunt (translated from Malay)
 
lol
Well no matter what way you vote you'll always vote cunt
 
!!translate en --from=ru puk
 
PUK (translated from Russian)
 
10:24 AM
..
 
!!translate en --from=ru pitchka
 
pitchka (translated from Russian)
 
@DaveRandom I didn't continue because no time.
 
morning
 
@SergeyTelshevsky yeh MS translation is not nearly as good as Google, and Google don't provide a free API :-(
 
10:27 AM
!!translate en --from=fi kipu
 
pain (translated from Finnish)
 
heh
 
@bwoebi ohai
 
@SergeyTelshevsky actually google doesn't know this one either
 
@PeeHaa All fine? :-)
 
10:33 AM
All bon. YOu? :)
 
I need to finally finish these fucking damn [insert further swearing here] watchpoints.
 
phpdbg?
 
yes
 
10:54 AM
Anyone use Behat / Mink for functional testing and know how you can ask it to check that an element attribute does not exist
 
@Bassie In principle yes, in practice the parser does not accept placeholder names starting with numbers
 
@Jimbo i dont know behat/mink but the docs suggest you can do $anchorsWithoutUrl = $page->findAll('xpath', '//a[not(@href)]'); so you could just write an xpath for that element attribute and if the result is false/null/empty, your test passes
 
Yeah I suppose I could even to [disabled] or something, bit annoying
Opened an issue anyway, because elementAttributeExists exists, but elementAttributeNotExists doesn't.
I'll use your suggestion for now, thanks @Gordon
 
yw
 
@Jimbo Is there no negation?
 
10:59 AM
@DaveRandom Nope, it's an assert
 
@DaveRandom interesting, but it's a fart
 
Why is my database not showing a specific table when using "SELECT * from users;" in CLI? Any idea?
I've created a database and I am using it.
(The table that I am trying to access exists)
 
sounds like a plan
 
@Gordon LOL
 
@Gordon hahaha nice
 
11:11 AM
hehehe
 
Real men use git rebase -i HEAD~1000 && git push -f
 
http://thebrexitplan.com
 
@Gordon why does nothing happen when I click the button? (focus with tab <3)
 
11:14 AM
@bwoebi That's not a click.
 
it might make sense to keep track of the things Jeeves tweets to avoid double tweeting
 
@kelunik even if I overload the CSS to have it stay in place and I click, nothing happens
 
@bwoebi ;-)
That's the plan.
 
:-P
 
Wes
@kelunik it is according to w3c :B
 
11:16 AM
YES!!! https://youtu.be/-a6HNXtdvVQ
 
@kelunik seen it ^^
 
Wes
focus + enter fires the "click" event
 
@Wes I know.
 
Wes
i know that you know. :B
 
They should have named it invoke :P
 
11:18 AM
@kelunik might wanna reply with youtube.com/watch?v=7Oor7fAmmiQ
 
11:37 AM
Sorry guys, we the people won. :)
The elites, the bankers, the plutocrats lost. The soreness of the 48% is delicious.
 
You're not a people
 
@MattPrelude you forgot to add the smart people to the list of who lost…
 
@bwoebi Smart people won. Smart people aren't afraid of being a country instead of a protectorate of the European state.
 
@MattPrelude protectorate of the European state. Well, I'm all in favor of the European federalism, but you're using that term pejoratively which I cannot agree with.
 
11:50 AM
@bwoebi Well if you support European federalism then it makes sense for you to support the EU. None of the Europhiles here made the case for federalism because they know it's unwanted. They just pretended it isn't happening.
I don't support European federalism, I support strong independent European nations cooperating as friends & allies without political or economic union.
 
@MattPrelude So, I guess you still want nations trading. Well, that's a big part of what the EU solves, with common standards, lower barriers of trade, freer movement and all that. It's really direful what the hurdles are to export to foreign states (i.e. not in an Union)… Every state has different norms, what he accepts, financial declaration requirements, laws etc.
Or what type of cooperation are you talking about?
Especially for the "small people" it's already hard enough to sell things to foreign countries … without the Union… well, forget it completely.
 
user1804599
@NikiC ah ok :)
 
@bwoebi Free movement is a part of the problem, at least in as far as it has been extended to countries with vastly different levels of economic development (and soon, vastly different cultures). We should trade in goods and services, without the need for harmonising regulations internally & externally, especially outside of standards on goods & services.
I am all for removing tariffs and barriers to entry, but the EU didn't do that. It put tariffs on non-EU imports and created higher barriers to entry.
 
@MattPrelude vastly different cultures? Well, as of today I'm definitely strictly against Turkey joining…
 
"protectorate of the European state"… quick… hand out the aluminium hats.
 
11:58 AM
hello everyone, actually I am working on a project where i need to get the mac address of the site visiting pc
please help me,
thanks
 
@bwoebi That was a reference to Turkey, though it could also apply in west/east Europe or south/north.
(Anyone who thinks that Hungary shares a culture with Sweden has probably not spent long in either)
 

« first day (2085 days earlier)      last day (2853 days later) »