« first day (1349 days earlier)      last day (3605 days later) » 

10:00 AM
can you tell us the full description of a task ?
 
I had enough "love" with VM-s when I was setting system & networking according to PCIDSS
 
task?
 
1 min ago, by Fabien
I think we've left this a little late then as they want an answer in the next 24 as to specs for what is our current goal setup.
what is the full description of the thing that you have been asked to do ?
 
The task is just to provide a spec for machines for dev, staging and production. The current plan for the boxes was to just run apache/mysql etc on them.
Dev box would host the dev branch of each site and so on..
 
my recommendation would be: vagrant + virtual box for development environments (with 1GB ram)
16GB/8GHz system for staging environment, probably would double as the primary GIT repository for the company
and 2GB(ram)/4Ghz/10GB(drive) VPS as the default recommendation for production servers, with option to adjust for client-specific requirements .. it would be sufficient for a small-to-medium size site with 100 clicks/s
 
10:09 AM
I would second the above. If you really must have a dev server you could use it for specialised dev database hosting, which would reduce the stress on the VM
 
Need to learn more about VMs but I trust your advice. I'll FW it on.
Drupal runs predominantly off the DB. So having it shared is probably a good thing.
Is the production one not a little small for a 10+Drupal site box?
 
its again again only inserting last row record in db
while its showing me that first row data is saved in brwoser echo result while there is only last recors inserted in db
 
@Fabien The number of sites isn't relevant, it's all about total traffic. With colo it's all about the sum of the parts. This is another reason why it's a good idea to use VMs in prod as well, it's a lot easier to compartmentalise
 
@Fabien production box would be 1-per-site
if you have 10 sites, you would have 10 VPSes (probably hosted by different providers in different continents)
 
@tereško can (should?) be virtualised though
 
10:21 AM
Yay, more doctrine questions
0
Q: How to remove Entity in a @ORM\ManyToOne relationship

Jimbo Each Server entities can have multiple Clients entities. I need to be able to add / remove clients to a given server at will. This is a bidirectional OneToMany relationship. The Problem I'm using the following to try and delete a Client from a Server. When I do this, I get the following: ...

 
@DaveRandom VPSes are virtualized. It only depends on where the virtualization happens.
 
ye gods, the linkedin "PHP Developers" is just a stream of the shittiest stackoverflow questions without the occasional good one
 
@Jimbo but doctrine is fine thing (no trolling now)
 
lol
@DaveRandom that's what happens when you have an indian-only forum
 
@tereško Yes, more for the benefit of @Fab. He seems to be in a position where the bos who understands even less about this than there non-sysadmin techies is dead set on "buying a production server", trying to persuade them to outsource it is probably a lost cause so he can at least recommend that they do it as properly as possible within those constraints
 
10:27 AM
Yeah. I'm the most knowledge about servers here.
 
@Fabien , the main point that I am trying to get across is that a development house should not be responsible for hosting production sites. Otherwise (even if you had an on-staff sysadmin) the company acquires additional risk.
 
@tereško I've suggested hiring a sys admin sooner rather than later. Even as Dave suggested to bring someone in to setup and sort everything out then I can do maintenance.
 
how many people do you have in a company?
 
The actual hosting isn't local though. We pay for it from wirehive.
~20
4 devs who'd touch inside of servers
 
in that case a sysadmin might be a good idea, but even better would bet to have few developers, that are familiar with server administration
 
10:30 AM
Sys admin is a lot more likely and that's not something they plan on doing soon :(
I'm teaching as I go what I know.
 
then start playing with VMs
try to set on up on your own box
 
Keep in mind the previous admin was done via ftp, mysql guis and calling server hosts for vhost setup
WHM etc.
cPanel
 
@Fabien Well yes, if you were considering hosting the server in your own premises then someone would need shooting. But when you own the server, you still have to maintain it at the data centre. Really, without a full team dedicated to this task, the right way to do it would be to outsource all of this junk to someone, and everytime you take on a new site you just spin up a new VPS to run it. The costs of this are passed on directly to the client and factored in to their pricing.
 
@tereško I will. But the 24 hour dilemma will still exist. Maybe I can ask them to delay purchase of the dev box. That's the one we're really talking about here. Only issue with it is I am away all next week.
 
You are writing software, not maintaining a server farm. There is a little bit of overlap, but not much...
 
10:34 AM
here is how it works where I am now: we have 8 developers, 6 of them are developing on their own environments (2 only use VMs), we are currently paying for maintaining the staging system to a 3rd party.
and in the whole company I am the only one with some knowledge of how to set up a server
 
@DaveRandom Forgive my ignorance but spinning up new VPS isn't resource consuming compared to installing apache on a single box and using it for all sites?
 
.. the latter part sucks
 
@tereško Well for the last part ditto but I have a lot less knowledge of it than you too :p
 
@Fabien if VPSes are in a cloud, why would you care.
client should be the one who pays for hosting
 
@Fabien It's not your problem, you are paying a fixed price for it
And you are passing that directly on to the client
ygwypf
 
10:37 AM
Fair enough
 
gonna play some Terraria
 
@tereško You play Terraria?
We should co-op sometime
 
@tereško Tried Starbound?
 
@Fabien I actually didn't like it as much
 
@Fabien it wasn't with a good enough discount
 
10:38 AM
@SecondRikudo Me either but it was still fun
 
@tereško Did you get CC+BBT yesterday? 90%
 
@SecondRikudo nope
 
@SecondRikudo lol and tnx @DaveRandom
 
@DaveRandom boo
 
10:39 AM
Sorry, at work, onebox minimiser doesn't work any more because of stupid webstore-only bollocks
 
@DaveRandom Why do we use clusters of VMs for sites?
 
@tereško Do you have CC?
 
Anyone got a work around for that, btw?
 
@DaveRandom You know what really is stupid
 
@DaveRandom Yeah
 
10:39 AM
On canary everything still works :|
 
@SecondRikudo what is "CC" ?
 
@tereško Castle Crashers
 
So I am not sure whether this is going to be the way forward
 
And BBT is BattleBlock Theater
 
no, neither
 
10:40 AM
@DaveRandom Download the file, go to chrome://extensions and drag it in, still works for me.
 
i have large amount of base64 images how can sent it to server via ajax?
 
@tereško Get them.
At least CC, it's fucking awesome
 
@tereško Steam?
 
Oh I forgot steam sale
 
@Fabien You have one VM per site. Means that only one site will ever be affected by a system compromise, much eaiser to monitor traffic and scale resources up/down on a per site basis, and it's no longer your problem to deal with physical maintenance
 
10:41 AM
I wasn't impressed last time I looked
 
Plus you can mush more easily customise bits of config for certain sites
 
If CoH2 was a fiver I'd buy it
 
can any one help me
 
colo highly limits what you can do because anything you do to the server affects everybody
 
10:42 AM
@DaveRandom Should the box the VMs are on be quite powerful then?
 
@SecondRikudo Oh so you can re-add things after they were disabled?
also @SecondRikudo what chrome version are you currently running?
 
@DaveRandom 35, but TBH I haven't tried installing custom userscripts very lately.
 
@Fabien which VMs ?
 
It does work with extensions, I'll tell you that.
 
Production
 
10:43 AM
Ah well it may not work, 35 was the switchover, I'll try now
@Fabien Well yes, but if you use an external hosting service that's not your problem
 
@DaveRandom You can try Tampermonkey too
 
6 mins ago, by PeeHaa
On canary everything still works :|
 
@DaveRandom Makes sense.
 
6 mins ago, by PeeHaa
So I am not sure whether this is going to be the way forward
What do you mean by... leak? Memory leak? Privacy leak? Pipe leak? — BoltClock ♦ 3 mins ago
:D
 
@SecondRikudo this is what I have: steamcommunity.com/id/teresko/games?tab=all
 
10:50 AM
So what I am getting.

1) Devs VM on their own machine but connect to the Dev box (1GB ram) for data
2) Staging cluster of VMs web facing (16GB/8GHZ) as its for all sites
3) Production depends on client requirements but single site ~2gb ram/4GHz 10GB drive. For the shared hosting we use cluster setup and up based on client/site requirements again
 
@Fabien for staging a VirtualHost might be a better option
 
How come?
 
@PeeHaa Yeh but I'm not that brave
 
because you do not have same security/load concerns as in production.
and it would be easier to maintain
 
@DaveRandom :P
 
10:52 AM
@tereško How would you validate whether the two password fields match in registration?
 
Just saying the maybe the webstore thing is a hoax because it isn't even implemented in canary which should implement everything first
 
@tereško Ah great. Answers seem so obvious once they're been said. :-/
 
@Fabien Experience is priceless...
 
@SecondRikudo preferably - only in JS/App
but in real world - in the domain object
 
@Fabien Other thing that boss will probably like about using an external VPS provider for prod is: no enormous capital outlay. Generally setup is free, it's just a monthly cost (which you pass on to the client, at a markup)
 
10:54 AM
having user to repeat the password has no real value to the backend code
 
@tereško JS/App?
What' App in this context?
 
iphone or android
 
Okay. I'll go speak with head of dev. But this all comes with a VM learning curve that will be extended to all devs I guess. Not a huge one I should imagine.
 
Client-side, basically.
 
10:55 AM
yeah .. but I am not entirely certain about it .. it's a new approach for me (less then 2 month old)
 
@tereško plus sending the pw twice to the back end is a security risk, it's an in for hackers, as there is known to be duplicate content at a known (or derivable) position in the request body (TLS compression attacks)
 
@DaveRandom was that a sound of "ahaaaa moment"? Or have you been doing it all this time?
 
It would take millions of observable payloads to be able to crack it though, so probably not that practical in the real world
@tereško I'm not sure I've ever actually written code that does it actually, not sure
I've not written a user reg form for years, the last one I wrote was probably horrifying
 
we all do
as I said - this a new idea (not sure if it's "mine", probably someone else has thought of it) that I am playing with
 
hey everyone i am android developer
i am a beginner in php
I installed xampp
as i passed this url i got localhost/phpmyadmin
could anyone solve this problem
 
11:02 AM
is mysql running ?
 
@DevilAbhi Step1: uninstall xampp
 
ok then?
 
@Patrick why it is the correct option, it would not be the best thing for a complete beginner
1 min ago, by tereško
is mysql running ?
 
Recommendations sent to head of dev. Cheers guys.
 
no its not
 
11:04 AM
He seems to have taken it all on board. thumbs up
 
Pratic Joshi hello my friend.
 
@Fabien vms are dead simple, the learning curve is just server admin (i.e. what you run in the vm)
 
@SaadChaudhry here also
@Patrick i uninstalled xampp
 
@DevilAbhi then that would be the problem. XAMPP is bundled with mysql/mariadb server. Make sure that it is running properly.
 
I am here to see how you issue resolved
 
11:05 AM
@DevilAbhi why did you do that? Why didn't you ask him what was his proposed alternative?
 
look what teresko is saying
 
i am trying to understand
 
which part ?
 
@tereško i want to use xampp kindly tell how may i use
i uninstalled xampp as patric said
what i must do next
 
@tereško replicate the production environment as good as possible if he is not using a vm. if it's just for playing around with a few things, php built in server and sqlite will do (or install any other db you like)
 
11:08 AM
@DevilAbhi , the point that @Patrick was trying to get across is that XAMPP/WAMP and other "all-in-one solutions" are really horrible for professional developers. But you are a newbie. A professional developer would set up a virtual machine, BUT in your case it would be an overkill.
7 mins ago, by Devil Abhi
i am a beginner in php
 
yr actually i dont have to work more on php
 
@Patrick , please consider the contet before giving an advice
 
i just to fire small db queries
i am on android
 
@tereško actually he wants to make a webservice in php so that he can use it in android
for that reason he have installed xampp server
 
@SaadChaudhry reasonable enough
 
11:09 AM
but there is some issue with mysql configuration I think
 
(and thanks for translation)
 
he was unable to configure mysql aswell
 
so saad may i install xampp again?
as i uninstalled that
 
@DevilAbhi here is what you should do: reinstall XAMPP, make sure that you started all of the services (apache and mysql in particular)
 
I don;t know Let teresko sort out some solution
 
11:11 AM
lol
 
oks saad
teresko am installing
 
if you see some errors regarding the startup of mysql, tell us those error
 
I think you just earned yourself a place in @tereško's hall of fame of tiny avatars
 
no place for second
ppl remember the first one :P
 
if you see no errors, then the fastest way would be to uninstall XAMPP and try installing WAMP (another all-in-one setup)
 
11:13 AM
easy alternative
 
if neither of those end up working, then you will have to install all the parts manually
 
teresko whenever i start installing it
 
@tereško I was running xampp in production when I started out because I didn't know better... Because I was told to use it in school and nobody ever told me any better
 
it gives me this dialogue
and i click on ok installation start
is it affecting?
 
Pratick how are you my friend
 
11:14 AM
@DevilAbhi cancel the installation and instead run it as administrator
if you get the message again, give up and try WAMP
 
@DevilAbhi That's your fault for developing on windows ;)
 
@Jimbo why don't you purchase him a mac :P
 
sorry terseko could you pls tell how to run it as administrator
 
I'm working on/from windows... no problems setting up.
He probably isn't logged in as admin
 
lol
 
11:16 AM
@SaadChaudhry Because there's no such thing as macs in india
 
@iroegbu you do not need to log in as admin. You can do a left-click on an EXE file and choose "run as admnistrator"
 
by rightclicking
got it
 
@Jimbo not india everywhere
 
@tereško still got the same dialogue
 
@SaadChaudhry ubuntu.com no need to buy a mac :)
 
11:17 AM
@DevilAbhi is that the latest XAMPP version?
 
@Patrick well I have one alerady
 
@tereško another quick question, regarding data mappers this time
 
Windows > Ubuntu
 
Do you have one datamapper object per domain object per storage type?
 
I think so because I downloaded it last month
 
11:18 AM
@iroegbu false
 
@iroegbu wat
 
1.8.0.0 version
 
@Patrick Ubuntu is *nix for people who would rather be running windows
 
@SaadChaudhry I run ubuntu on a macbook too
 
:|
 
11:18 AM
@DevilAbhi in that case try installing WAMP instead
 
either use a proper distro or stop lying to yourself
2
 
oks teresko
 
@DaveRandom 9/10
 
@SaadChaudhry I started to learn PHP ~6 month after I begun using freebsd as my desktop system
 
@DaveRandom Yeah. That curve isn't so bad for me :)
 
11:19 AM
@Patrick so when you are switching towards iphone development
 
I've been doing PHP about 2 years now :D
 
@SaadChaudhry I don't care about iphones
 
@Jimbo where?
 
@Jimbo s/PHP/your mum/
2
 
I have done php 4months in school
 
11:20 AM
@Patrick isn't iphone programming interseting?
 
Nob. s/your mum/@Listuanians mom
 
on windows platform using wamp
 
@DevilAbhi It is really interesting
 
@Jimbo My mother is not a lithuanian
 
then it start troubling when I've installed skype :P
 
11:22 AM
Is someone just starring everything I say?
 
@DevilAbhi Not to me
 
I only starred one :D
 
@SaadChaudhry you should change the port on Skype or Apache
 
oks patrick
 
@Patrick but you told me once that you are looking to switch your technology
 
11:23 AM
@SecondRikudo yes. I tend to have several mappers for each domain object.
 
@SaadChaudhry i have no idea what you are talking about
 
@tereško That doesn't scale very well though :|
 
@DevilAbhi Could you move the window up a little bit/
 
oo @Patrick sorry It was my mistake :P I thought you are Pratick
 
11:24 AM
@teresko what to select in this?
 
@DevilAbhi find the location of chrome.exe , it should be somewhere in program files/
 
Haha @Patrick = @Pratrick :')
 
@DevilAbhi Please use ALT+PrtScr next time. Most of us are here at work and popping up an image of a model is hardly SFW.
 
@DevilAbhi just click 'open'
 
@iroegbu bad idea
 
11:26 AM
lols... windows explorer?
 
i haven't got chrome.exe
i clicked on open also nothing is happening
 
@DevilAbhi lol. Go to C:\Program Files (x86)\Google\Chrome
 
horizontal instead of vertical scroll sucks balls
It's like someone at Microsoft has concluded the entire world uses nothing but tablets
Github Gists: how is it pronounced when spoken? Hard or soft G (Gist/Jist)
 
gist
 
it's "hard G" for me
 
11:34 AM
 
Download the visual c runtime
 
3
Q: What is the intended pronunciation of "gist" (as in gist.github.com)?

Adam TuttleUntil today I've always heard it pronounced "jist" (similar to "just" or "gin"), but I just heard someone pronounce it with the same g-sound as "gold" or "give". What's the intended pronunciation?

 
@DevilAbhi copy that error message in google
 
@tereško i selected chrome.exe and i got this dialogue
 
LIES! @Patrick
 
11:35 AM
@DevilAbhi when you press ctrl+C in an opened error message, it will copy the text
you probably are missing some 2010 or 2008 c++ runtime
 
@tereško WAAAAT!?!?!?
 
@Patrick Yeh that's what I always assumed, it makes sense in the context it's supposed to be used (PoC and code fragments) but it just doesn't look right, and everyone here seems to say it with a hard G
 
@PeeHaa yes .. you do not need to write it down by hand =P
 
OMFG. That is just awesome!
 
@PeeHaa you didn't know that? Everybody point an laugh at @PeeHaa!
 
11:37 AM
:(
 
:-P
 
:-D
 
@DevilAbhibasically, you need to install the correct C++ runtime and restart the installation
 
@DaveRandom wouldnt really make sense to me if you pronounce a word differently based on context...
 
and now I will go and play some Terraria
 
11:42 AM
@Patrick welcome to English :-P
 
@tereško the situation is getting compicated and complicated
pls may yu tell which micrsoft c++ files are required
 
@DevilAbhi believe me, this is the "simple option"
 
yr i am believing yu
 
you do not have a 64bit system ?
you probably have a 32bit windows
 
its 64
 
@DevilAbhi try installing the one that I linked you to
 
can someone pls look into it this is only inserting last row record in db while 1st row is not inserted what's the issue ?
 
=P
 
yes i am installing that
 
and you got that error ?
 
11:48 AM
no
this soft got installed
now i install wamp again
 
@tereško Your laptop plays skyrim? :-/
 
@Fabien nope
I have another computer where I can play some of it.
at work
=D
 
heh
How far have you gotten through it and what route did you take character wise?
 
@tereško this time I haven't got that dialogue
now what to put in this
?
 
leave it as it is
@Fabien I haven't actually played it. Only bought it yesterday.
 
11:55 AM
i clicked on local host
 
only one that I have sunk some time in from that list is XCOM
 
Forbidden

You don't have permission to access / on this server.
its giving me this @tereško
 
did you install it as administrator ?
 
@tereško I played that. But not on PC - got it on the iPad. It's effectively just a nice looking mobile game
 
11:56 AM
@tereško Ah. Nice. Love that game. Can sink so many hours in to it.
 
@tereško tell him how to install as an administrator
 
I already did once
 
saad by rightclicking
we get this
 
I assume that I am not talking to a goldfish
 
run as administrator
 
11:58 AM
so why did you install it without administrator permissions?
 
:')
 
@teresko phymyadmin is getting open
 
so .. it works now
 
local host also working
thanks yr
just we have to make small setting
thank you
lemme try php code
 
you're welcome
 
12:05 PM
hey anyone suggest me which client library is good for google webmaster api for php or codeignitor.
 
I need your help again also in making webservice so if you dont mind may i disturb you again
 
@gowri you probably won't find anything up-to-date. CodeIgniter has been dead for a year now.
 
teresko in xampp we keep our files in htdocs folder
may i know in wamp we keep our files in which folder
 
@tereško: true, but I also unable to find core php classes for that.
I tried this github.com/Isset/codeigniter-google-apis. but I always getting error like this "Sorry, there seems to be a problem. The service you're looking for is temporarily unavailable. We're working hard to restore your access as soon as possible. Please try again in a few hours. Thanks for your patience. "
 
^ my first ever actual blog post-y type thing
(which most of you have probably already read :-P)
 
12:08 PM
I also checked in this repo, github.com/google/google-api-php-client/tree/master/src/Google/…. I don't find any service for google webmaster. am I missing something
 
12:25 PM
Dave <3
 
12:42 PM
@gowri because it is a REST API
 
12:56 PM
wassup @tereško Does sql in statement have maximum values it accepts?
because I am running a query and once it gets to 9th value it is not included in its sum function
I mean the 10th isnt included
 
Using REST with CI makes me think of trying to attach a latest Porsche engine to a '93 Ford Sierra
 
but 1-9 are
 

« first day (1349 days earlier)      last day (3605 days later) »