« first day (2557 days earlier)      last day (2391 days later) » 

Mornings
 
posted on October 15, 2017

New Cyanide and Happiness Comic

 
1:06 AM
urgent hellppppppp
i created a backup file of ibdata in xampp debfre deleting it. thyen when i replaced it back to normal
i can't access xampp and also read these tutorial that can access again the database but what happen to me is that it was deleted
all the db data
43
Q: XAMPP - MySQL shutdown unexpectedly

AustinWhen I open XAMPP and click start MySQL button and it gives me an error. I had started it just before, but now it isn't working. 12:19:12 PM [mysql] Attempting to start MySQL app... 12:19:12 PM [mysql] Status change detected: running 12:19:13 PM [mysql] Status change detected: stopped ...

please help guys :(
is there any way to restore the data?
 
1:21 AM
is it in your recycle bin where you can undelete it and see if XAMPP starts?
would be a good way to learn how the process works and determine the steps to get it working again
then you can just do the same with your backup and repeat those steps
 
yes and i copied it again inside mysql/data in xampp
but the error logs stated that it cannot find the existing tables
 
the mysql/data directory should contain an ibdata1 file along with directories representing the databases
one such directory should be mysql/data/mysql and contain files frm, MYD, and MYI
should also have a performance_schema directory, and more directories which hold whatever databases you're trying to restore
depending on the engine used in different tables, you could have other files
 
yes it contains also the databases inside mysql
i just followed the tutorials in that SO link. after that, i can access the database but the data isn't available
so is it possible to restore if i still have the idbata01 and all other db that is inside the mysql folder
 
1:37 AM
The file is supposed to be named ibdata1
if you're trying to store a backup there with a different name, try placing it in a different folder
 
yes it is ibdata1
 
why were you messing with this sort of stuff in the first place?
 
because mysql server is not running in xampp
i restarted it, then still not working
 
it just one day decided not to run in xampp for no reason?
 
yes for no reason
it was running 24/7
 
1:46 AM
do you have something else hogging its port?
skype for example needs to be booted afterward
that might have been the initial issue, something like that
 
none. that desktop has plain xamp and ms office only
i also encountered the port problem in logs but im so sure there no port conflict
 
might try debugging mysql by itself rather than including wampp in the picture
 
now i can';t start mysql services in services.msc
 
you aren't storing the data on an external or virtual drive by any chance are you?
 
ill restart the pc
first
 
1:56 AM
restarting can fix problems that come for no reason without reason lol
 
2:37 AM
@Ultimater Can't start
the mysql service
 
what do you think is the problem?
 
i just received reports from the technicians that maybe the database is full.
 
how much data are you running???
 
that database that is inside that desktop has many data and does not have backup data for it.
the ibdata1
has 2gb
file
1 desktop pc : ibdata1 = 2gb, only 1 database running on it
 
you're running that much data locally on a windows computer?
seems a bit overkill for development
 
2:49 AM
it's not my program though. it's from a dev from a sis company that who deploys his own program
 
you able to re-pull it from production or staging?
or a dedicated local development database?
 
@EarvinNillCastillo Move away from XAMPP anyway. VirtualBox/Vagrant and Puphpet.
 
we didn't store it in our local databse, the dev insisted it in a standalone db server
rather
we didn;t allow permission to access our database
to our database.
 
Something must've had permission, besides the point.
You're running a production app on XAMPP?
 
yes
but it is not me who created it
department conflict
my programs is in our local database.
 
2:54 AM
Well, consider it a valuable lesson in hiring and another lesson in database backups
 
sounds like it could have stopped working from brute size
 
What do you mean programs?
Tried this?
6
Q: Recovering mysql database from data folder backup

Alireza NooriI have uninstalled the old XAMPP and deleted all of the content of d:\xampp folder and installed the new one. When I copy my backup folder (with the name of my database, containing all .frm and .opt files) to the D:\xampp\mysql\data, the database shows in the list in phpmyadmin but it has no tabl...

 
colleagues of mine have worked with mysql with around a terrabyte of storage successfully in production.
2GB sounds big for development though, especially wampp
 
Also "it is not me who created it" isn't a good excuse if you're the one who has to maintain it. For starters you should be creating regular backups.
 
you might try installing mysql by itself, same version of whatever wampp is using, separately on your computer
 
2:57 AM
@Ultimater yes that is what im feeling it too
@Fabor ill checked it thanks
 
then see if you can copy-paste and get it running without going through xampp
 
@Fabor, this is beyond me, this is between the discussion of my manager and the efv
 
So tell your manager, part of a developers job is explaining this sort of shit to them.
You should be able to justify it
And if they don't listen you show them a copy of the email when you recommended to change when it breaks
 
yeah if you fail on this sort of stuff, don't waste too much time on it. get projects reassigned so they can be completed on time by others
should be able to get on screen help by someone or something
communication is probably very important in this sort of issue
if you did this on production data, and have no idea what you're doing, you're risking ppl's necks
if it's not production, ppl can help
 
we already told to the developer to create a backup module in his system yet he is still not responding to the email.
Monday hell day to me grr.
Before I tried fixing it, it is having an error therefore i can't access it's database that is why im searching for a fix.
 
3:06 AM
probably best keep searching in the meantime to pin-point what's causing it and not causing it
and see if it's a xampp issue, or some config or something
"If I had an hour to solve a problem I'd spend 55 minutes thinking about the problem and 5 minutes thinking about solutions." - Einstein
 
He didn't leave a few minutes for browsing cat gifs.
 
Fixed it! ahahahahah
yes that's what I do too
 
grats
 
anw, what virtualbox and puhpher
puhpet
 
Fixed the first problem, now go fix the horrible solution you have for a database.
@EarvinNillCastillo It's good for dev, if you're talking production env, go get a proper server.
 
3:12 AM
@Fabor here in our office, the department who has this program must purchased their own server because it is theirs so they must spend their budget for the server
 
What is your business?
 
i don't know why the dev deployed a desktop server that has 500k row
manufacturing
 
And is your job an important part of that business?
 
no.
im invisible to them once i deployed their program. like no props to me.
 
I mean how important is that system/database?
 
3:15 AM
@PeeHaa o/
 
it is important because it is the data of production.
 
So they should find some budget for it.
 
ill raise this also to my manager later.
 
Start doing daily backups
Keep longer ones too
 
ah yes, i think we needed to add it in our daily backups
 
3:17 AM
@ToukaXKaneki I see that you want to tweak the design.. why not sync up :) I'll be free from Wednesday till Sunday.. works for you? You can pm here or on Hangouts.
@PeeHaa I'll take it from here. Allow me.
 
@Fabor yes thank you for your advise and also @Ultimater thank you.
@Fabor why did u said stop using xampp and use puphpet
 
puphpet is just a configurator.

You should use a real environment, like a dedicated box with centos on it or something.
 
im using windows
 
3:40 AM
Is that the only thing that machine is doing? Or do you use it for other stuff?
 
that is the only one
in my dev pc should i use that or i could use wampp
that(puphpet
 
4:00 AM
Use XAMPP i guess, always resemble production as closely as you can
 
4:55 AM
morning
 
Wes
5:06 AM
i was woken up by the UPS. not the delivery guy, but the most annoying sound in the world. BEEEEEEEEP BEEEEEEEEP BEEEEEEEEEP
i need to get new batteries. btw @tereško do you know if i risk something upgrading the UPS batteries, like from 20A to 30A?
 
:-P
 
posted on October 16, 2017

New Cyanide and Happiness Comic

3
 
Wes
looks like i cannot
 
 
1 hour later…
6:27 AM
@Wes sorry, no clue
 
Wes
yeah checked out on the interwebs, it's a bad idea. it might damage the ups
 
6:43 AM
I catch a cold, how awful it is! :-(
 
mornin
 
Wes
\o
 
o/
 
\o
 
7:01 AM
@bwoebi Same as the expose() changes. Just retag the previous v0.6.0 as v0.6.2 and tag v0.7.0?
Also, please do actual releases with a change log in the release notes.
Just tags aren't pushed to IRC and Twitter.
 
Can I ask Jekyll questions here?
 
user379888
Hi. I need to make a way to deploy code to staging site without using Filezilla (using an automated tool). Any free tools recommendation?
 
@FahadUddin rsync?
 
Use Git. :D
 
user379888
@HassanAlthaf: I want to use Git but I don't know how to deploy using git.
 
user379888
7:06 AM
I am trying to automate deployment to staging and live site.
 
first result for deploy using git: digitalocean.com/community/tutorials/…
 
user379888
My old employer used beanstalk's on click deployment to staging and live.
 
!!? deploy using git
 
Search for "deploy using git -site:w3schools.com" (https://www.google.com/search?q=deploy+using+git+-site%3Aw3schools.com&lr=lang_en)
• How To Set Up Automatic Deployment with Git with… - 8 aug. 2013 - This article will teach you how to use Git when you want to deploy your application.… (https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps)
• Deploy your site with git · GitHub - Deploy your site with git. This gist assumes: you have a local git repo; with an online remote repo… (https://gist.github.com/oodavid/1809044)
 
lots of results
 
7:07 AM
@FahadUddin did your old employer also block google?
o/
 
Exactly. :D
 
7:26 AM
mornin
 
moin
 
half of the PHP tag is Laravel nowdays. for a framework that's heralded by its creators and his minions for it's simplicity, that speaks volumes.
 
Is this sentence correct? (English Perspective)
> Enjoy breakfasting!
 
@Gordon he is opening multiple connections from the same script. There are always nested statements. Ofc not that directly like a nested query but like some module is calling another module. Given both opens a persistent connection, we have two connections that are cannot be used by any other process for a considerable amount of time.
bad code + persistent cpnnection = too many connections error
 
@YourCommonSense edited. better now?
 
7:41 AM
morngings
 
@Shafizadeh correct, technically, but using "breakfast" as a verb is a little weird - people do do it but it sounds odd. "Enjoy your breakfast" is better IMO.
 
@DaveRandom thx
 
@Gordon I still don't like it because it lists pconnect as an alternative. Pconnect is an option for the different script instances, but by no means it's for the same instance opening multiple connections. Your answer sound like "also you can shoot yourself in a foot. It is not recommended though, as you'll become crippled" but without the implied sarcasm so ti could be taken directly
 
ok, I'll remove it. my main point was showing that connection handling can be influenced, but I guess it's misleading
 
Besides, there are CLI scripts, that do not use pconnect at all.
 
7:48 AM
I still maintain that connection persistence is and has always been a bad idea in 100% of situations, I have ranted about this before
At best it saves you a SYN/ACK round trip, if that's your bottleneck then you have much bigger problems
 
given he said it opens "tens to hundreds" connections, it sounds like an ORM, and as long as the object stays alive, the connection is not closed and thus cannot be reused, defeating the whole idea. Worse yet, a persistent connection cannot be reused by another process. Thus a single apache thread will eat up all the connections
or, at least that is how I understands it
 
Wes
Full page ad in the Washington Post today. Strange times.
 
@YourCommonSense wait... a connection per entity???
 
@Wes I guess Hustler isn't selling so well recently
 
that's a pretty Trump move
 
7:54 AM
@DaveRandom the OP didnt say so, but just that there are multiple mysqli instances. I'd assume it's one per entity though. would make "sense" for a newbie.
@YourCommonSense I also removed my comments to your comments. mind cleaning up yours then?
@DaveRandom I guess it's a statement, but I'd still assume most of it is just trying to boost hustler sales
 
> This pornographic magazine dislikes the president too, I think I'll buy it
 
@Mr.Alien o/
 
@PeeHaa pinged that guy. Will take it from here...
 
@Mr.Alien <3 tnx. And as always no pressure. I only just picked it up and closed issues and pr which were 2 years old
:P
 
@PeeHaa I saw xD .. better late than never ahaha
 
8:04 AM
Awesome
@Mr.Alien :D
 
ohai @Mr.Alien
 
I felt so bad
I actually didn't want to touch it anymore mostly because of that :P
Well that and priorities / lack of attention span
 
yeh you went on a monster github cleanup yesterday I see
 
@DaveRandom @Ekin basically made me do it
And now it's mostly done I am so happy she did
 
@Ekin can I pay you to make me do it?
 
8:05 AM
:D
 
:D
 
Really I need to write tests for <insert repo name here>
 
@PeeHaa no need to feel bad .. even my projects are just lying around, no updates nothing.. need to work on that though as am getting kinda 3-4 registrations a day
@DaveRandom heyo.. howz you bro
 
ExceptionalJSON is actually a pretty easy one though, there's only a few error permutations and the success case and that's it
 
@DaveRandom I didn't see the code but "Basically, the same "connect" method is being called multiple times (tens to hundreds, depending on the data)" sounds like this.
 
8:07 AM
I will see if I can do it at lunch
 
@DaveRandom I added it to the r11 hacktoberfest list
 
@Gordon removed
 
:-) I saw that repo on the list yeah
 
Anonymous
mornin
 
o/
 
8:07 AM
@DaveRandom Might be something somebody wants to pick up as an intro to testing?
 
@PeeHaa oh cool, nice idea
 
@JayIsTooCommon o/
 
@PeeHaa sure, although I could use one of those :-P
 
:D
Also fine :D
 
I mostly know how to test, not so good at actually doing it
@Mr.Alien oh, you know... alive
@YourCommonSense I struggle to think rationally about DB layers in PHP having been working with .net desktop applications... the whole PHP database ecosystem seems a little insane after that. I can't even begin to guess where the sane middle-ground on that is :-/
/me will most likely be offline for half an hour while I rebuild the company routing tables and seriously confuse all the internal RIP nodes
 
8:13 AM
rip bro
 
Btw, I think those broken replies of Jeeves for what do you think (?:of|about) (.*) and alikes need something like (?:.*)? in front. Not sure if that is fixed already
 
@DaveRandom celebrating Halloween early than usual? :D
 
Anonymous
@DaveRandom is your sky a weird colour too?
 
Anonymous
oh, offline. Dick.
 
@JayIsTooCommon I see it here too though.
Way too fucking dark / early
 
Anonymous
8:16 AM
so weird
 
@Ekin Fix it \o/
Or add it to the list :)
 
I didn't test it on Jeeves though :P
Let's add it to the list
 
hey guys, I have a Symfony CRUD app, it does use event listeners and and has a service which basically has methods to persist a given entity .. what sort of testing I should do for this ?
I have already written some functional tests for http responses
but not sure if I should test the Event Listener ( as it just uses Symfony's build in Component )
which is tested by the framework guys
 
Wes
@DaveRandom i might have changed my mind about star trek already
damn it started so well, now it's ridiculous
i mean, wtf?
 
@Wes how much more you are going to ignore me?
just for that one AOE match
 
Wes
8:28 AM
wat
 
@JayIsTooCommon well I live in Manchester and it's October so this is pretty standard tbh
 
Anonymous
@DaveRandom It looks like i've turned on 'cinema' mode in my eyes.
 
@Wes not seen s01e05 so I shall refrain from comment. I'm prepared to give them a certain amount of leeway though because TNG S1-2/3 are mostly terrible an DS9 1 is also not great.
 
Anonymous
!!wotd
 
jawbreaker Informal. a word that is hard to pronounce.
 
Wes
8:30 AM
e4 was ridiculous already. wtf
 
Naked Now.
 
Anonymous
\o/
 
In fact @Wes read memory-alpha.wikia.com/wiki/TNG_Season_1 and tell me with a straight face that Discovery does not have a far higher batting average so far.
 
Wes
tbh i like all of tng, including the first episodes
 
@Wes sure, in retrospect
they have a certain charm
but they are fucking ridiculous
 
Wes
8:38 AM
they rushed into something too strange too fast, the thing that drives the spaceship... wtf?
it's too crazy even for sci-fi
 
for me, they get 2 seasons to get their heads screwed on
so many shows I love have a decidedly shaky start, many more get killed early because TV executives have a bad habit of listening to the public and/or generally fucking it up
 
Wes
i can tell already it's not getting renewed
 
that would be a shame, imho
because it's Star Trek it has some pretty big shoes to fill, give them time
"fail better" etc
 
Wes
i am afraid i've entered ragequit mode already
i get alternative drive systems. it's not the first time. but this is fucking strange
 
I like Voyager. I haven't seen a single episode, but I know the theme is "women don't know how to drive". I mean, that's the main plot, right? Female captain, gets lost in space, tries to find way home. That's so cliché.
 
8:51 AM
Mornin' 11
 
Mornings @Sean @Jimbo
 
@Gordon the main theme of the first season is "what if the klingons had never discovered shampoo?"
 
Ah the spoopy avatars are back
 
@Sean Get your pink hat out!
\o/
 
8:55 AM
@PeeHaa /me Silently hopes this isn't a euphemism
 
Hahah :p Gotta go find it
 
@Jimbo Nope
 
@Wes how to you feel about this episode?
 
Found it!
Yearly reminder that @Wes is amazing for making them.
5
 
Anonymous
when he does make them..
 
Anonymous
9:05 AM
protip: Start learning vuejs(2) if you haven't already.
 
Anonymous
It's like a programming porn
 
Anonymous
vue and vscode are the only positive things I like about my job now
 
We have a few front-enders here who are throwing away React for Vue
 
@Jimbo React is ancient in JS terms :P
 
Ha, I worked on Backbone at the beginning of the year
 
Anonymous
9:12 AM
@Jimbo I've never touched React, but I would learn it just to throw it away for vue.
 
And next year vue will be out and replaced :)
 
Yep
Just like Angular, never-ending cycle
 
just go straight to react
 
Anonymous
@PeeHaa Nah, it's exploding it will be around for a long time just like jquery
 
If past experience tells me anything is that it will be gone for the next shiny thing
Ask jquery, underscore, backbone, whateverjs
 
Anonymous
9:15 AM
I don't think there can be a framework as simple and easy as vue in the near future. I think it will be like jQuery.
 
Anonymous
It's also insane how everyone likes it github.com/wordpress/gutenberg/issues/2733
 
That was because of licensing issues
Also wordpress
 
Anonymous
Yeah, I hope WP won't drag it to the dirt like it did with PHP.
 
Mornings v2 o/
 
Anonymous
I'm probably against it
 
Anonymous
9:17 AM
Also, popularity is a bad indicator of quality. Case 1 - Laravel
6
 
There are 2 PHP projects I know of that use it by default
wordpress and laravel
 
Also, popularity is a bad indicator of quality. Case 1 - Laravel
 
@Jimbo on Stack Overflow it is indeed an indicator of quality. It's currently quite popular in the php tag, which would indicate bad quality.
 
@Mr.Alien I was in the midst of tweaking the design and, in the process realized that I'd have to know the inner workings of the js. Which made me quite confused, and therefore I have decided to drop the idea to tweak to a material design...
 
9:19 AM
@Gordon Haha, never thought of it that way
 
@ToukaXKaneki fwiw the most likely terrible JS is on me I think :P
 
@ToukaXKaneki sorry, my JS was shit back then.. am supposed to make it better, if you want, you can fork out a branch and work on that, by that time, I'll scale the JS
 
alrighty! that works for me.
 
I've holidays from this Thursday till weekend.. so you can ping me and we can sync up
 
\o/
k!
 
9:27 AM
Good morning!
Anyone here with some serious Heroku experience?
 
Anonymous
only funny experience :(
 
Well might be more useful then where I'm at.
Have you used Docker to do funny experiences in Heroku? :-D
 
Anonymous
Nah, was just kidding
 
Anonymous
!!welcome BjornSchijff
 
Welcome @BjornSchijff, please read the Chat Guidelines
 
Anonymous
9:33 AM
Just ask the Q and someone will help if they can :)
 
Anonymous
@BjornSchijff ask away
 
Anonymous
I have two node stacks running on heroku right now
 
Ahh awesome!
I think node is quite a bit easier in it's configuration; cause you can do listen.port($PORT) or something similar.
I'm stuck with my docker application (runs fine locally) to deploy properly on Heroku. I can't set it to listen to the dynamically assigned port on Heroku.
Figured someone running a PHP app using Docker on for example Heroku, would've solved this issue.
 
Wes
just watched ep5 @DaveRandom i changed my mind
there's still hope :B
@DaveRandom one of the shittiest if not the shittiest episodes ever
those with deanna's mother are super shit too
 
aloha o/
 
9:37 AM
@Wes I'm talking more about the mcguffin than the characters (that guy is super annoying)
 
Anonymous
Ah, php ... I don't do that sadly. Haven't touched it in ages @BjornSchijff but make sure to set up runtime configs on your Procfile
 
Anonymous
@pmmaga o/
 
I see @sa
@samayo, figured this was the PHP so hoped someone would've done that before :-D
 
Wes
that is less strange than the t. being adapted to drive a spaceship in a snap of fingers
 
@BjornSchijff what are you trying to bundle inside your container? (apache/fpm/nginx+fpm/etc)
 
9:41 AM
apache+PHP7.1
I've got another architectural question, but that's beside the main issue that I can't get the application to start in the first place.
Like running apache+PHP locally works fine.
But on Heroku I get $PORT binding timeouts (R10)
 
Wes
there's a story between every warning pbs.twimg.com/media/DMP72jKXkAIi-lF.jpg slightly not safe for work
 
Yikes. You just know someone ended up in the hospital for that story.
Ouch.
 
@Wes lol. graphic and everything :D
 
Anonymous
@Wes is that even real?
 
Anonymous
I refuse to believe the manufacturer would put that label
 
9:44 AM
@BjornSchijff OK so I haven't used heroku for ages and I don't particularly gat along with docker, but the fundamental issue is that you need to dynamically tell apache which port to bind to, correct?
Where do you get the value for that port number from?
Like, presumably you can somehow pass it into the container on start?
 
@Jimbo stop. There is no point arguing with people on the twatter
 
In your httpd.conf, you can Include the file with the Listen directive in it from a known absolute path, and you can dynamically generate that file which you are including in a startup script in the container (with sed -i s/%PORT%/$PORT/g /path/to/listen.conf or echo "Listen 0.0.0.0:$PORT https" > /path/to/listen.conf maybe) @BjornSchijff
just an idea
it may not be very "the docker way", I don't know
 
hmmm
@DaveRandom that's an interesting thought
 
@BjornSchijff basically it's lifted from the way a lot of my internal PHP apps work, I commit the "base" nginx/fpm configs and have server-specific stuff (server_name and fpm pm.* directives, for example) included, so that I only need to have very small - often 1 line - config files for the specific hardware, and everything else is shared
 

« first day (2557 days earlier)      last day (2391 days later) »