« first day (2237 days earlier)      last day (2717 days later) » 

12:00 AM
well for me its just a obvious question but I am sure I am right but want to ask another developer
ok if you do a clean install of database and code fresh and clean is there any reason you would have to do a clean install again if those files were never modified?
there should be no reason to re install database and files again unless you modified the database and core files right?
 
Ummm... I don't know? Depends on exactly what those "core files" actually do?
Are you refering to the Joomla source code?
I assume you should never need to modify that
Database is a muddier issue
 
Here is what happened, i installed a fresh copy of joomla and database for a friend worked great no issue.. then one of his friends did something in the admin area of joomla and said he needed to reinstall a new clean install.
 
Well it definitely needs to be known what the "something" that was done is
 
i cannot think of any reason someone would need to re install a database and code for something they did in the admin area
they didnt have any access to ftp or the database
 
Actually, here's the core point: you are going off what someone told you a fix is, rather than looking at what the actual problem is
i.e. what is not working?
 
12:06 AM
right and that is what i tried to explain
 
and in what specific way is it not working?
 
it was but he made a change in the admin area. I assume he didnt know what he did and only re install to fix
 
@Codi well if they won't tell you that then I wouldn't waste any time on it
@Codi well maybe. But since they didn't know what they were doing it's equally possible that it was a tiny fix
Like maybe they deleted the admin account or something
 
@DaveRandom thanks man I just couldnt wrap my head around it lol
 
I have worked with IT "professionals" for a long time and I can tell you this for certain, people who know a little bit about a thing tend to fix every problem with a carpet-bomb approach
 
12:09 AM
I told him there should have been no reason to re install a database or code that was just installed and working fine
 
e.g. how many times have you told someone to reboot, only to watch them hold in the power button for 5 seconds?
 
LOL I feel you
@DaveRandom thanks
 
np, although not sure if I said anything useful :-P
 
guys, I've done a job for a client in two equal payments. He paid half and now that the job is done the guy vanished from my facebook. I just tried and could access the VPS's root. Is there something I can do to make sure I'll be able to block his website even if he change the root password?
 
Just remove the app code from the box
 
12:49 AM
@bwoebi so I'm having a weird issue
 
@DaveRandom yep?
 
I seem to be getting encrypted data (i.e. undecrypted binary garbage) in a watch() callback from an artax request
 
TFW what you're trying to implement breaks fundamental assumptions of bigger parts of the apps architecture…
@DaveRandom encrypted or deflated?
 
?
@bwoebi ooooooooh
good point
yup, gzip
ugh, how do I deal with that in a transfer-encoding: chunked?
wow I had forgotten that I don't understand gzip like at all
 
watch is giving you the dechunked input, right?
@DaveRandom TBH I think the parser shall take care of inflation too
 
12:56 AM
I... guess so?
yes it must be
@bwoebi well it should I think yes but clearly it isn't doing
this is the twitter streaming API I'm using, if it was actually returning garbage someone would have noticed...
Just throwing it into gzinflate doesn't seem to work
 
Yeah, inflate_init() is your friend @DaveRandom
gzinflate() only works on complete data
 
ahh OK right it's a rolling stream
 
yep
 
So Content-Encoding: gzip => ZLIB_ENCODING_GZIP?
 
That's btw. the reason Artax doesn't do it; PHP versions pre-PHP 7 don't support inflate_init() or any incremental inflating methods...
@DaveRandom yes
 
1:01 AM
I remember trying to understand gzip once and failing
because there seemed to be quite an incestuous relationship between it and deflate
 
yeah
 
yay works ty @bwoebi
 
:-)
If you get some free moment, feel free to PR it to Artax to directly output inflated data
 
@bwoebi I don't know that codebase at all but I'll have a crack
 
@DaveRandom (against amp_v2 branch because PHP 7)
 
rabbitguy Hello Gonna assume that no one has the answer. I am Jeeves. Do you mind if I just call you Gonna?
 
ugh
needs work
but twitter streaming things work \o/
 
1:59 AM
bah, bugfixes which prevent errors by disabling behavior…
 
 
1 hour later…
3:19 AM
Morning
 
Morning all
I have a question
How to get the activity of following users?
Here is my query:
SELECT activity_log.*
FROM activity_log
LEFT JOIN user_followers ON user_followers.follow_id = activity_log.user_id
WHERE activity_log.user_id = 6;
 
4:14 AM
@ZeeshanAhmed what's the problem?
(apart from the questionable choice of relational schema)
 
4:33 AM
... did I get flagged?
 
 
2 hours later…
6:19 AM
Congratulations @deceze
 
6:42 AM
posted on November 30, 2016

New Cyanide and Happiness Comic

 
7:20 AM
some feed back on a web app at www.swish23.com
 
is that spam?
 
no
Not Spam
 
@SalOrozco well, some feedback then: swish23 doesn't sound too trustworthy. To me it evokes feelings of username1243 (you know, that thing when the username you want is already taken). Adding to this feeling is the missing ToS, Data Privacy or anything about who runs it. There is nothing that would tell me what I get when signing up. Or rather, there is no details about how photos sharing, chat and feed will work. This together will totally prevent me from entering my email into that form.
 
thank you
I was stuck on a name. So i just put it out there with what ever random name
 
7:34 AM
@SalOrozco In addition, there is no option to register via OAuth, e.g. fb login or google or whatever. Also, why do you require my name, gender and birthdate (!) over just my email and some password, and maybe a username? Shouldn't need that much data to provide the service to me. I like Datensparsamkeit
 
Is What facebook has as its registration fields.
Thats to much?
 
Morning, can somebody help me to fix my vagrant box ?
 
@SalOrozco It's not uncommon, but I prefer signups that don't ask for half of my personal data.
@Traxstar that strongly depends on what's broken with it. And you didn't tell.
 
@Gordon i startet creating a new maching (ubuntu/trusty32) . It downloaded the package and creates the new VB. If i now want to run vagrant up i got the following error log pastebin.com/ZbMUMAGL
 
Ok so after I get the tos and data privacy. How do I get people to join.
I know nothing about marketing.
 
7:44 AM
@SalOrozco hire someone who does.
 
lol This was really just a project to help me get a job. If I can learn to do it my self I will try.
 
marketing is not something you do aside if you want to do it properly. it takes effort and money.
of course you can do the cheap things, like pushing your stuff to social media and hope that it will create some buzz
 
@Traxstar sorry, no idea. something with windows apparently. can you try github.com/mitchellh/vagrant/issues/6754
 
ahh I don't want to learn any more. I learned from design to front end stuff. To back end.
Give learning a break lol
 
7:51 AM
the learning never ends until your dead
we are knowledge workers.
 
You're right. Just seems like there is never ending subjects to learn.
 
@Gordon i now startet again with scotchbox. you know where to place my project ?
 
@Traxstar I dont know scotchbox. Back when I was still using windows I put all my stuff into C:\Code\[projectname]
 
ah i got it ;)
 
add more than 21 years in current date?
it support upto 21 years if i try more than that it give 1970
@Gordon
 
7:59 AM
@SagarNaliyapara huh? what?
 
@Gordon $end = date('Y-m-d', strtotime('+22 years')); this works upto 21 only
for 22 years it give me result as 1970 rather than 2038
any idea?
 
Whats the best way to cache on server side.
 
@SagarNaliyapara use the DateTime API and finally move to a 64bit machine
@SalOrozco the best way is not to have code that requires caching in the first place. And if you do, see if you can optimize it first without caching. If that fails, look into memcached and redis or maybe elasticsearch
 
What php framework should I learn?
 
morning
 
8:07 AM
@SalOrozco none. learn php.
 
lol
 
I am serious
 
Good that's what i did first.
I just see all these jobs that require frameworks.
 
@SalOrozco looking for trends you should learn DDD and EventSourceing and CQRS because it's solving problems and building business logic that way cause you do not really need to learn any framework, you may use it as an UI just for some REST API or for some templating
 
!!eval echo date('Y-m-d', strtotime('+22 years')); // @SagarNaliyapara
 
ahh That's good to hear.
 
@brzuchal nah, DDD, ES and CQRS are a niche. They are nice to know but for most projects it's overkill going that route.
 
That I don't have to learn frameworks.
A niche?
 
they are good with apps where you need to model loads of business domain knowledge and represent their data in multiple contexts. for your average small to medium sized php project the additional architectural requirements are way too demanding.
 
@Gordon it may depend. In my company I'm propagating that way so people don't waste their time for setting up some frameworks, they are focused on domain because the most important in application is business logic that's the value buysiness pays for not for well configured framework which doesn't really do anything at all, it's just UI layer
 
8:12 AM
any body out there who can help with billdesk payment gateway
 
@Gordon yes I agree it doesn't suite for small projects
 
@Gordon there is a technical issue and these guys are not even responding properly
 
I see you guys are from other countries. What do php developers make in outside the US.
 
money
 
8:15 AM
@SalOrozco in Germany: around 55k I'd say. With some 20k variance depending on skill level and employer.
 
Is that good to live with in Germany?
I don't really know what stuff cost in germany.
 
It is about 33% more that the median salary
 
ahh You live very well.
 
I cannot complain… unless we start talking about real estate prices
 
Morning room
 
8:19 AM
What's the housing cost in Germany.
Out here in California we have some of the most expensive living in the country
 
ah california. you gonna seceed from the other states in 2017. dont worry.
 
Hoping to. He already offended all of Silicon Valley.
Or he will make it harder for people to get work visas.
 
@SalOrozco all but this peter guy. lol.
 
lol
Cant believe it Peter.
 
@Gordon where do you put all your logic if you are not using DDD? Just some services (but that's DDD too...)? Active Record?
 
8:26 AM
@Patrick services or on the objects with the data or into objects wrapping objects with the data
 
someone ping @beberlei that he needs to renew his certificate
 
@Patrick and no, it's not DDD if you are only using the technical patterns but not thinking into bounded contexts and events and stuff. imo.
@Patrick what certificate?
 
ah so basically ddd lite?
 
@Patrick done
 
domain driven design
 
8:29 AM
@Gordon So if someone is using entities, value objects, repositories, aggregate roots, services etc you would not call it DDD unless it's the whole shenanigans?
 
@Patrick fixed
 
that was fast :o
 
:)
 
morning
 
@Patrick that's because there is LetsEntrypt under the hood it's reneving automaticalyy or by simple one command in CLI
 
8:31 AM
what are we discussing?
 
o/
 
best book to practice php OOP
 
you dont practice OOP with a book ... you do it with an editor
 
little around what to leaarn: framework, ddd, cqrs etc.
 
@SalOrozco I'm still in the process of writing it :P
in the meantime use my tutorial
 
8:33 AM
@Patrick I would say so, yes. DDD without bounded contexts and events is just applying technical patterns of DDD, but not the concept as a whole. It's not a bad thing but it's also not the whole thing.
 
Thanks Patrick
 
@SalOrozco PHP OOP… hmmm… there is none. But I like Fowler's Refactoring book and Martin's Clean Code.
 
@Gordon I would recommend those two books also :)
 
I personally recommend this book: goodreads.com/book/show/8855321-leviathan-wakes
 
8:35 AM
I recently got Meyer's OO Software Construction and Booch's OOA/D but didnt find the time to read them yet
 
@SalOrozco Fowler's and Martin's books are very good, don't look for books called: OOP in PHP - they tend to have low quality most of the time
 
Also, a lot of people recommend the Smalltalk book by Alan Kay… or was it by Kent Beck? Can't remember. The Smalltalk book.
 
I'm taking notes.
 
lol tereško
 
8:40 AM
@SalOrozco in general, I like the books from the Addison Wesley Signature series
 
Who is self taught and who went to a University?
 
me
also, is that a logical and?
 
lol
or
 
Anonymous
@SalOrozco I think most people who went to university are still self taught. AFAIK uni is useless in terms of web development - at least that's the case around here
 
Anonymous
mornking o/
 
8:45 AM
well, still me. I am self taught developer, but I also have a Magister's degree in comm studies and I briefly studied comp science as well.
 
@SalOrozco I did both
only I did not finish my Master's in all 4 attempts I made
 
I went to school for design.
Learned web development on my own.
 
@SalOrozco I did both also
I've got engineer's degree and now after few years for completeness am studying for master's degree
 
You guys ever think of coming to the States to work. You guys would get better paying jobs here.
 
Anonymous
@SalOrozco hah
 
8:53 AM
lol or not?
 
Anonymous
Isn't the states on fire atm?
 
lol civil war
 
@SalOrozco There are also remote positions for US companies available on market so I don't think relocation to US is needed at all to get payed well.
 
you mean in all the states, which overwhelmingly voted for Hillary, people are rioting ... to punish other (?) states, that did not vote like they did
the "left" in USA is insane
 
I live in California.
One of the largest economies in the world.
 
8:59 AM
aaaaaand the fucknuggets in your state are rioting too
 
Everyone that wants free shit is rioting lol
NO more free shit with this new president.
 
reality check - you still dont have a "new president", until the electoral college votes
 
That wont happen.
If it was to happen.
 
gud mornes
 
ThW
"free shit" %-|
 
9:01 AM
there would actually be a civil war.
 
@SalOrozco well ... that's what your rioters are demanding
 
electorates are selected by the party to vote for them
they are usually people deep with in their specific party
They wont vote the other way.
 
Hey guys this is not politics chat, I personally don't give shit about that what is going one in US
 
lol
 
Anonymous
@brzuchal within reason, people can talk about what they want here. It's not for you to regulate
 
9:07 AM
I don't think I can convince wife and kid to move to the US and leave the rest of the family behind.
I was tempted to move to NYC. But nah… too big a step when you are not single.
 
Anonymous
To be fair, even in the current state it's in, I would still like to live in the US. I'm not a fan of the UK
 
@JayIsTooCommon yeah, I know, sorry, this whole mess doesn't really affect me and everybody talks about it
 
Must be nice in Germany.
 
@brzuchal it does affect you. Just likely in indirect ways.
 
I gotten job offers from Texas and Chicago.
 
9:10 AM
54 secs ago, by Sal Orozco
Must be nice in Germany.
 
R11: The place where Laravel or JS are off-limits but pretty much anything else is allowed :D
2
 
@SalOrozco I cannot complain. It's one the most convenient and safest places to be in the world.
 
depends in there in germany
 
I wouldn't move out of California
lol
 
Anonymous
@Gordon Why safest? Not disagreeing, just curious
 
9:11 AM
@SalOrozco maybe you should ... other places have this thing called "weather"
 
@Gordon It may be some indirect way but peoiple here are not talking about it because it's war away from now.
 
Maybe I should try it out for half a year.
 
@JayIsTooCommon Who would want to attack Germany? I thinko no one or maybe only ISIS
 
Maybe Russia
?
 
It' never gonna happen
 
9:14 AM
Since the Us protects germany
Not no more. Maybe if Hillary had been president.
 
We just upgraded our servers to PHP7, and are running it using IIS 8.5. It's working fine when not under load, but when we let users on it, it randomly gives 404s with "No input file specified". Anyones got a clue what is the reason for this?
 
I'm in the middle between Germany or Russia, that mey be not safest place in the world :(
Also protected by US but what if those two will start a war
 
@JayIsTooCommon because in general our crime rates are low and germany had no civil wars or anything for ages now and we have social welfare, good infrastructure, free education, healthcare and what not. of all the countries in the world where you could get born into, germany is like a lottery win.
 
Where?
 
PL
 
9:16 AM
@brzuchal well .. there are no earthquakes and volcanoes here
 
@tereško or hurricanes or typhoons
 
@PatrickReck That sounds more related to IIS than PHP. Is it completely random URLs, no pattern in the ones that get the 404?
 
@Gordon your crime rate has been going up and your welfare budget is going down
 
lol what about sports I know people outside of the US are crazy about Soccer
 
It's football
 
9:18 AM
Here we are crazy about American football
 
@SalOrozco every other country call it "football" .. and majority doesn't give a fuck about it
 
US will never be at the World level at football.
We will never produce great players.
 
to the West of USA there is Japann, China, India and Russia
 
Anonymous
@Gordon I didn't realise things were so good there. If it wasn't for the weird language that you speak, i'd consider moving there
 
moin
 
9:20 AM
lol
 
Anonymous
@DaveRandom yo fine man
 
Yes. Yes I am.
 
@pmmaga It's random when retrieving PHP files, 9/10 times the same request works but the 10th it gives the error
 
Morning
 
@tereško maybe they do. I'd have to check the current statistics, but in general, they are low and welfare is still good. So I don't think there is any reason to claim different, unless you want to tell people that something is wrong. There isn't. Germany is still a paradise.
 
9:23 AM
Hy every one
 
What's a good place to visit in your countries.
 
I have a question
 
good city
 
my country has only once city: Riga
everythjing else is basically a town
 
where are you from
 
9:25 AM
@DaveRandom \o/
 
@PatrickReck Multiple machines? (One may be misconfigured?)
I don't have much experience with IIS
 
@pmmaga It's on all of our servers :)
 
Anonymous
@PatrickReck nothing is random :)
 
@PatrickReck So maybe one of them is misconfigured? Hence the 1 out of 10 times?
 
@JayIsTooCommon It appears random. It's got something to do with load, but you cannot predict if it's gonna throw an error or not
@pmmaga If I send 10 requests to 1 server, one or more of them may return the error
 
9:31 AM
@tereško you can check here: de.statista.com/statistik/daten/studie/197/umfrage/… It's all in german, but I guess you can understand the numbers. So yes, crime rates has been going up since five years. But it's still much lower than ten years ago and about the level it was 15 years ago. The notable exception would be the time before 1993. I dont know what happened there but I would assume some changes in how the data is collected.
 
@PatrickReck The plot thickens.. Maybe kickthatcomputer.wordpress.com/2013/12/22/…
 
@pmmaga I found that one too, but it's not enabled :/
 
@PeeHaa I need it for a thing, but that thing is pretty complicated so first I'm going to implement it in Jeeves so that we can feed @mentions and replies for Jeeves back into the room
 
@tereško But all in all, you can see that the crime rate was quite stable in the long term
 
@Gordon this problem is of 32bit machine?
@Gordon Thanks
 
9:35 AM
@DaveRandom \o/
 
@SagarNaliyapara yes, strtotime returns an integer and the size of that is based on whether the machine is a 32bit or 64bit machine. See en.wikipedia.org/wiki/Year_2038_problem
 
@Gordon Once again thank you for such good information
 
@Gordon I will to remember to check back, when stats for 2016 are out
 
@SagarNaliyapara if you cannot upgrade to a 64bit machine, use the DateTime API as this will work with dates beyond 2038 even when on a 32bit machine.
 
9:40 AM
ok
o/
 
@tereško there has been news reports about that already. right winged political crimes and burglary have seen the most increase. basically, the trends of 2014 and 2015 continue.
 
"right wing political crimes" ... that sounds unsettling
 
well, yes. populism is the real crisis. not some refugees.
 
Fascism. It's spelled fascism.
Ant and Dec are populists.
 
Ant and Dec?
 
9:45 AM
@Gordon especially since they hired Anetta Kahane to patrol social media for hate crimes thought crimes
 
@tereško never heard of her. and who is "they"?
 
@Gordon Well maybe not them, they don't have a political agenda, at least not in the traditional sense. But the point is that they are sort of "ordinary people" and that is why they have appeal.
Oh wait I just realised that's an uber-British reference :-P
 
@DaveRandom no, I don't know what Ant and Dec is
 
I recommend you keep it that way
Although they are at least harmless
 
I can totally do that :D
 
9:48 AM
@Gordon they as in "Justice Ministry". And she is an ex-stasi, that is in charge of Amaedu-Antonio Foundation
 
@tereško I am reading the wikipedia article. Although I am still not sure how all that is relevant to the message you referenced that to
 
Anonymous
@DaveRandom :P
 
@tereško Also, your strikethrough seems to imply that you think there is a campaign against freedom of thought.
 
in germany? definitely
anyway, I'm off to work (I'll be AFK for ~ 1h)
 
@tereško can you base that on any evidence because I think it's great nonsense?
 
9:56 AM
I will try to dig up some, but my german skill is pretty much shit
 
I think you meant freedom of speech, "denazification" laws target freedom of speech
 
@tereško that is probably the issue
@tereško also, the wikipedia article on Kahane suggests she was more of less forced into the stasi and quit stasi on her own accord after realizing what it means which led to gov imposed restrictions.
 
@AdamRutherford There is, of course, the Peppa Pig jigsaw: https://t.co/x9QZEWckY5
 
@Gordon yeah ... about that ... only proof of that seems to be the research paper, that she ordered
 

« first day (2237 days earlier)      last day (2717 days later) »