« first day (855 days earlier)      last day (4108 days later) » 

6:00 PM
@webarto what's on line 4 there? i'll tell you
 
Anonymous
thanks
 
@Lusitanian Damn it, I always figure out when I ask :P listen [::]:80 default ipv6only=on; ## listen for ipv6, I'm guessing it has something to do with default keyword.
Yup, just removed that line from 2 configs. Who uses ipv6, right?
 
that wasn't the right lesson to take away, but heh
 
@webarto default is as apache's first host I find somewhere in some config file somewhere magic
 
@PeeHaa @NikiC How can someone honestly believe that two things arent't compatible, but aren't incompatible?
sorry triple-ping
 
6:04 PM
Restarting nginx: [emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
 
@Lusitanian It's like NASA trying to launch a car instead of a rocket, because meh they both have an engine right?
 
Not sure, but 1 server per ipv6?
 
@webarto why are you binding to all addresses, out of curiosity?
 
@PeeHaa one can add tags to feed?!
in any case. go ahead
 
yay
 
6:05 PM
@PeeHaa Don't say that, you'll give the US government more reason to cut NASA's funding and use that as an excuse.
 
@Gordon On all? pages there is a feed button
 
"Some dude in an internet chatroom said they could launch cars instead of rockets, and cars are cheaper."
 
@Lusitanian Don't drink too much wine I tell you.
 
loll
 
PeeHaa has made a change to the feeds posted into this room
 
6:06 PM
@Lusitanian Makes sense, thanks.
 
@Feeds that could become ugly. but lets wait and see
 
> Modifying Zone webarto.com zone webarto.com/IN
@PeeHaa @Lusitanian :beers: :lemonade:
 
\o/
 
lolwut
 
It works!
 
6:12 PM
@webarto That's apache...
:)
 
@PeeHaa on further thought...not only is DateTimeImmutable extends DateTime // mutable an LSP violation, it could actually be used as a counterexample by a professor explaining why the LSP is important
arghhhhhhhhhhhhh
 
@PeeHaa You are not that dumb after all :P
 
;)
 
Just kidding <3
 
6:17 PM
@PeeHaa I know, I'm very useful :)
hi btw
 
hiya :D
 
also what's that php-news.herokuapp.com and why do we have it?
 
0
Q: Instantiating objects in a MVC in PHP

user1582882I am working on converting a PHP application to MVC, and have a couple questions! 1) I have a main Model object, that I require a database connection for, as well as a User object that uses a database object also. Is it a bad practice to create a new database object for each of these classes, li...

0
Q: Call the class child method not its grandchild method

JossiMy problem is that REQ class will call the REQ_User's get() method instead of user's get() method. Is it posseble to make the REQ class call REQ_User's get() method. Or is this a bad OOP design? Is there a better OOP design that I can do? REQ is the main router that handle the general routes. ...

1
Q: Sharing functions across unrelated classes

StyphonI'm still working my head around object orientated programming and getting away from procedural programming. Although I use classes I know I still don't write my code fully OOP. I've been reading and doing my best to get as much information and practice as I can to further my abilities and I'm ma...

0
Q: Dealing with multiple languages and messages

DavidIn my application I have a Language class. When I run the load() method it determines what language files are needed and returns an array of all the messages used on the site in the chosen language. I have a Messages class which I then inject the returned messages into. Something like this: $la...

0
Q: Is the Service layer where all my real methods go?

DavidFrom all the tutorials I've read the service layer only seems to only have one or two methods in it so I am unsure whether services are only supposed to be lightweight/skinny as opposed to fat with as many methods as you need If I have a Post domain object and have a PostService class is this wh...

 
@PeeHaa this mod to @Feeds is not going to be good.
also morningafternoonevening @NikiC
 
no UGT here?
 
6:20 PM
we occasionally follow UGT
 
I having problem in php , I am trying to retrieve recrod and display but it is not happening correctly


Model :

public function getUser()
{
$sql = "SELECT * FROM users"; $result = mysql_query($sql);
$rows = mysql_fetch_assoc($result);
while($rows)
{
return $users = $rows;
}
}

Controller :
public function userRecord()
{
return $this->model->getUser();
}
 
someone fill me in on the OOP tag cleanup while I am taking a shower
 
Can any one please help me ?
 
@ShumailaHameedKhan ask it on stackoverflow with more details
 
Is there a way to simplify this? It applies a 6px stroke to the text:

text-shadow : -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000,
-2px 0 #000, 0 2px #000, 2px 0 #000, 0 -2px #000,
-3px 0 #000, 0 3px #000, 3px 0 #000, 0 -3px #000,
-4px 0 #000, 0 4px #000, 4px 0 #000, 0 -4px #000,
-5px 0 #000, 0 5px #000, 5px 0 #000, 0 -5px #000,
-6px 0 #000, 0 6px #000, 6px 0 #000, 0 -6px #000;
 
6:30 PM
@Ocramius okay !
 
user652649
@crypticツ you can't
 
@crypticツ that's why they now have CSS preprocessors :\
 
@wes how about with LESS?
 
user652649
i suggested somewhere probably on mozilla's bugzilla to implement
text-shadow:x y radius spread-radius color;
as there is in box-shadow but they ignored me. lol
 
user652649
never used LESS, i use php as a preprocessor for css, if needed
 
user652649
 
user652649
they changed the spec
 
@wes You've made it or?
 
dudes do you know how to get from mysql all records where datetime is from current day ?
:)
dinner time ?
 
@Gordon well , in the the main subtag is (with 4462 .. the next largest is java with 2348). Most of those posts have completely nothing to do with OOP. People have just tagged them based on "i used a class - it must be oop then" rule of stupidity. Also, the most of those posts are duplicated posts regarding same errors. Currently the goal is to deal with “Call to a member function … on a non-object” dups ( because they are a lot and easy to find.
 
user652649
@webarto nothing special... i just use plain php for loops, variables etc
 
6:42 PM
And them move on to PDO/MySQLi posts, most of which also have completely nothing to do with OOP.
 
@wes Yeah, I have something like that too. For simple stuff.
 
lolol stackoverflow.com/questions/14924615/… I have followed MCV structure
 
@tereško ah. i see. well. yes and no. Technically, Call to a member function … on a non-object is about OOP. They are all too localized though.
But I find it somewhat difficult to say this is OOP and this isnt.
 
@Gordon the distinction is whether the question is ABOUT oop or it just happens to use objects
 
@Gordon Have you considered adding CV count on backlog? I assume that is hard because you need to be logged in and able to cv.
 
6:50 PM
@Lusitanian I'm tweaking it
I suspected it would push a shitload the first time
 
yeah , cv/delv stats would be nice
 
@tereško fair enough
@webarto I have considered a lot of things but currently lack time for anything
 
@webarto Did you know it is a github repo? ;)
 
@PeeHaa I'm already integrating websockets, FU
@Gordon Word :)
 
The correct term is tweaking the sockets
 
6:53 PM
Once you learn the websocket hammer everything looks like a nail, apparently @webarto
 
Guten abend
wat
random reply
 
Sure dave
:)
 
@tereško use your sockpuppet :P
 
I am nearing death this evening
 
6:59 PM
@ThiefMaster this IS the sockpuppet account
 
Hi all ...
 
hiya @Baba
 
How are you doing ?
 
Good. Just finished my chinese. The food not a person.
 
@PeeHaa lol
 
7:00 PM
@DaveRandom How does it feel?
@PeeHaa How does it feel?
 
Isn't there a rule for helping with assignments stackoverflow.com/questions/14924780/… ?
 
@webarto Been better, tbh, needs moar sleep
 
I guess assignment could mean a lot of things
 
Sleep is for the weak
 
@PeeHaa did you see hsmaker.com/…
 
7:02 PM
Yes I did
 
@DaveRandom Catched a cold or something worse?
 
lol :)
 
wat
 
@webarto Not been to bed before 3am for like 4 weeks, starting to take its toll I think
 
@DaveRandom Probably, you are giving too much of yourself.
 
7:10 PM
@webarto one going out the window is PeeHaa?
 
@webarto lololololol
 
user652649
@webarto ahahaha
 
@Lusitanian Of course! :)
 
@webarto what's bad about that
 
user652649
7:13 PM
stackoverflow.com/unanswered/tagged/?tab=newest is there a way to totally hide ignored Tags' questions on that page?
 
@Lusitanian Viewed my profile :P I feel like a teenager girl getting a like on Facebook.
 
@wes I don't think so. [jquery] is only made lighter everywhere :(
 
@webarto :D
 
I'm not making fun of the guy, but this is insane to put in "Your Name" field: ua.linkedin.com/pub/illya-pavlichenko-csm-cspo-csp-psm-pmi-acp/…
 
7:20 PM
It's an agile manager. What did you expect from the guy
> Certified Scrum Master
...
 
@wes What do you want to hide?
 
user652649
hello @DaveRandom i want to show only non-ignored tags
 
user652649
what i have is a page filled of ignored questions
 
user652649
(I ignore a lot of things, yes)
 
hi, when i print_r my array i get it in all my options like this?

(
[id] => 59
[0] => 59
[message] => Whatever, Case Closed
[1] => Whatever, Case Closed
[operator_id] => 2
[2] => 2
[client_id] => 1
[3] => 1
[date] => 2013-02-17 19:24:59
[4] => 2013-02-17 19:24:59
)

how to prevent this and get just by name not number?
 
user652649
7:26 PM
at this moment i had to go to page 3
 
user652649
to get a non ignored question
 
@wes I don't know how to just ignore tags without specifying at least one to not ignore
 
@ConnorMiles you loop thought it and remove elements with numeric keys
 
So you can get [php] questions with a list of ignores but I don't think you can just have an ignore list
 
@tereško I think fetch assoc... but f* context is missing...
 
7:27 PM
ok, but why is it doing this it doesnt usualy do it
 
We don't know what is usually....
 
@ConnorMiles which PDO constant did you use with fetch() ?
 
what do u mean?
 
$statement = $this->database->prepare("SELECT * FROM chat");
$statement->execute();
$result = $statement->fetch();
 
7:29 PM
$result = $statement->fetch( PDO::FETCH_ASSOC );
 
How do you know it's PDO?
 
@webarto It is
I bet all my repz
 
2 mins ago, by webarto
@tereško I think fetch assoc... but f* context is missing...
and I raise you :P
 
user652649
@DaveRandom ok... not that useful that page... since it is like that
 
7:30 PM
@webarto we have spent a lot of time in IRC .. you evolve a 6th sense for these things
 
yesterday, by Connor Miles
can someone help me with pdo?
 
Hah, old school!
 
@wes In the search box put answers:0 -[ignored-tag] -[another-tag] ...
 
@DaveRandom Are you using free Heroku?
 
user652649
@DaveRandom i want to ignore all my tags in my ignore list
 
7:34 PM
@webarto Yes, you have a better solution? I have no safe public ws at the moment
 
@DaveRandom I have a modest VPS, and I'm Certified Nginx Vhosts Enabler.
 
hehe
CNVE Certified
 
Certified NVE Certified?
 
/me edits LinkedIn name
 
:D
 
7:37 PM
@wes Wait, what? There's a proper "ignore tag" feature on the site? Where is it?
 
user652649
or i want to show of course only questions that are in "Favorite Tags" list
 
user652649
@DaveRandom lol in the right column of the homepage
 
@DaveRandom It's not proper
It's the most useless feature on the site
 
@wes #interesting
 
user652649
lol
 
7:38 PM
@PeeHaa Doesn't have to be, I feel a user script coming on...
(although not now)
 
@DaveRandom Doesn't fix shit
"easily"
 
True
 
The thing is the question still are retrieved. So if you have 25 questions on a page. You could easily hide the jquery questions, but that would mean you are left with a page with only 10 qustions
^ bad typing is bad
 
But you could easily add a "find unanswered questions except my ignore list" button to the home page, that just generates a URL from the ignore list
 
7:41 PM
@DaveRandom hhhmmm maybe
 
$('a[id^="close-question-"]').text().match(/\d/ig);
["2"]
Can haz this easily with vanilla?
 
@webarto Can haz querySelector?
 
@PeeHaa there is God. How come I haven't seen this before :\?
Oh, I know, jQuery.
 
@webarto Hey. Don't look at me. I have been spamming the fact that I love it for some time now :)
 
@webarto What are you doing? Also document.querySelector('a[id^="close-question-"]').firstChild.data.match(/\d/ig); (assuming the first child is a text node)
Don't use innerText, it doesn't work in FF, and don't use innerHTML for anything ever.
 
7:51 PM
@DaveRandom I was just interested "how to css selectors" in vanilla js. Thanks for the tips.
 
@DaveRandom Unless for some speicific cases and you know what you are doing
 
@PeeHaa I know, but I haven't googled it :)
 
@PeeHaa It's true, cv-pls does contain one innerHTML because it's really the only sensible thing to do when the data you have is already an HTML string.
 
@webarto Note though. queyselector(all) is IE8+. And you can ofc only use selectors the user agent gets. So no CSS3 selectors for IE until v20
 
@webarto you haz added me as a professional network contact
 
7:52 PM
@PeeHaa What's IE?
 
@webarto good boy
 
@Lusitanian :) And I was added by a guy from Israel moments after :D
 
> Dynamic MVC Web Architect - Data Modeling Specialist at Self-Employed
that's a headline it's showing me for someone.
 
HAHA
 
just throw some 'webscale' in there
 
7:55 PM
It's not a rule, but the more description you have, the crappier you are at doing it.
 
eh mine's a bit buzzwordy
 
github.com/Codeception/Codeception I need this... is it legit?
 
@webarto looks like BDD to me
very interesting :)
 
describe 'blog post page' do
  it 'lets the user post a comment', :js => true do
    visit blog_post_path(blog_posts(:first_post).id)
    fill_in 'Author', :with => 'J. Random Hacker'
    fill_in 'Comment', :with => 'Awesome post!'
    click_on 'Submit'  # this be an Ajax button -- requires Selenium
    page.should have_content('has been submitted')
    page.should have_content('Awesome post!')
  end
end
Basically, this for php.
 
behat has existed for a while
and is quite similar
 
7:59 PM
@Lusitanian most people make up titles. As long as the title is long, sounds important and has the words 'Senior', 'Engineer', 'Specialist', 'Directorr' etc they look good to an employer. But most employers have caught on. I'm going to give myself the title 'Senior Director of Parse Error Engineering'
2
 
@crypticツ LOL
I need to use that at some point.
 
nothing wrong with engineer... if you are one...
 
wtf, dynadot destroyed my dns and it is no longer pointing to my blog/tec
:(
 
@webarto true, but when you aren't though. It's like a janitor calling themselves a 'Hazardous Waste Management Engineer/Technician'
 
@Lusitanian Your blog or your blag?
 
8:02 PM
@PeeHaa my blag
just corrected the entries, but wtf.
 
@Lusitanian I pointed to my server with WHMCS, and from there on I added A record with VPS IP. Also makes my mail handling easier :)
 
Oh noed. Tha blag is down :(
 
@PeeHaa the blag will be back shortly
@webarto i don't mind using dynadot for DNS though I use dnsimple for a bunch of stuff
which is a really nice simple dns provider
 
@crypticツ I went to college where everyone that is admitting first year is automatically an engineer (in his/her mind)...
 
(function() {
    var search, els, i, l;

    search = 'answers:0';
    els = document.querySelectorAll('#ignoredTags a.post-tag');
    for (i = 0, l = els.length; i < l; i++) {
        search += ' -[' + els[i].firstChild.data + ']';
    }

    document.getElementById('nav-unanswered').href = '/search?q=' + encodeURIComponent(search);
}());
@wes @PeeHaa ^^
Changes the Unanswered tab on the home page so that clicking the link takes your ignore list into account.
 
user652649
8:06 PM
naisss
 
user652649
is it possible to create bookmarklets in chrome?
 
user652649
or something like greasemonkey
 
@wes GM works in Chrome
 
@PeeHaa blag fixed.
@PeeHaa very important since millions of views daily.
 
:D
> Error 118 (net::ERR_CONNECTION_TIMED_OUT)
 
user652649
8:08 PM
@crypticツ i'm investigating.
 
@PeeHaa please to clear your dns cache.
 
@Lusitanian hmmmm i think teh router caches shit
 
well whenever the ttl passes
teh blag well wark egen.
 
ermagherd
 
@Lusitanian you should combine all your Google fonts into a single request with a |
 
8:11 PM
@crypticツ meh. i'll change it in octopress laterz.
 
blag workz
 
user652649
@DaveRandom thanks nice idea
 
@PeeHaa oh. my. god. youtube.com/watch?v=npgdw5Zb7TY
it's a parody of Friday. but oh my (removed because that was too ironic). i want to cry.
 
Honda S2000 :[
 
@Lusitanian Holy shit. Kill it with napalm!
 
8:16 PM
@PeeHaa i just feel bad for the indoctrinated children that they used for the video
 
@wes Save that as ignore.user.js, drag it onto the extensions page of Chrome.
 
user652649
yeah already done that
 
1 message moved to bin
18 messages moved to bin
>.<
 
user652649
you see, i can see the future!
 
user652649
i just finished to remove any javascript animation from a site, switching to css animations
 
8:26 PM
@wes So now the site only works in Chrome 128 and FF 112? :)
 
user652649
if you have a old browser you probably don't like animations. so better enabling it only on good browsers
 
user652649
no, now works without any animation
 
user652649
also if you have a old browser, js animations dont run smooth
 
I hear great things about flash :)
 
user652649
:|
 
8:31 PM
If anybody has some votes left:
 
can someone please explain to me why require_once only works on some files?
 
@ConnorMiles You seem to have a problem with your context generator
2
 
@PeeHaa And whats that in English? :)
 
Wow. That was indeed an instastar :P
 
And whats that in English? ... explains it all.
 
8:34 PM
@webarto Haha, no i actualy thaught he was on about some php stuff LMAO
 
how can haz fix this menu CSS to float to end of these web 3.0 social icons?
 
omg
 
I forgot HTML/CSS
3
 
> Senior Visual Basic 6.0 Software Developer
someone is hiring one of those on linkedin
 
Moment of silence.
 
8:35 PM
:P
 
Was that ad like 10 years ago?
 
> Posted:January 23, 2013
 
@webarto what exactly do you want? Same right position of both items? Or do you want the menu to be on the right site of the 3.0 icons?
 
@PeeHaa Please give me a moment, I don't know what I want.
 
:D
 
8:39 PM
@PeeHaa i haz dat, that's what I want, but I think I had some leet CSS to handle this block, right floating, absolute elements :)
 
@webarto You want it to be web 3.5b responsive?
 
user652649
@Lusitanian in Italy the majority of... historic... software houses still are using VB6.. of course new software is made with newer languages, but old software is born vb6 and still is vb6... and it is still fully supported, especially in enterprise market
 
@PeeHaa No mobile devices allowed to view website. Especially iOS powered :P
 
@PeeHaa I know it's taking ages this but it should be worth the wait, the code is getting much tighter and more error tolerant. In a nutshell, there will be a handshake event where you can access the cookies/url vars from the handshake and handle auth etc, and attach expando-style properties to the client object, in that way I think it should be much nicer in terms of the potential LoD and/or SRP violation, because you can only access the data at the point at which it is relevant
 
@webarto In that case I would just take the easy route and position the shit absolutely
@DaveRandom Oeh. Sounds enterprisy
@DaveRandom So in layman's terms. The handshake shit is saved with the resource id somewhere / somehow?
@DaveRandom expando-style. Isn't that something like a magic setter/getter thingy?
 
8:46 PM
@PeeHaa Basically what I'm thinking is that you verify the auth during the handshake event, and create a User object (or whatever) and (optionally) attach it to the client using some kind of storeValue() method on the client, so that in future events you have easy access to the User object without having to maintain a hash table mapping clients to users.
Also, doing it that way, you can reject the connection at handshake time (which is the correct way to reject the connection if you don't like it)
 
@DaveRandom Sounds like a way better way indeed
@DaveRandom I am agree
 
Hi, guys stuck on - duplicate entry '0' for key 'thread', i have been here (duplicate entry '0' for key 1 in mysql - Stack Overflow) but it did not work for me.
 
@webarto Now it's your turn :P How can I show 3, 4 and 5 instead of 1, 2 and 3: jsfiddle.net/Wa9wM
@ConnorMiles FREAKING CONTEXT CONNOR!
 
@PeeHaa What?
 
@PeeHaa <3
 
8:57 PM
You just keep throwing keywords in chat without providing any context to whatever it is your are doing
 
ill rewind.
 
@ConnorMiles CPU YMMV OOP websockets java ajax xhr. What is the problem?
^ you see. that's hard to answer
 
no, im working on it don't jump to conclusions ;)
 
it's the wiring .. the string that holds his ears to the head is getting loose
 
@PeeHaa your welcome jsfiddle.net/webarto/Wa9wM/1 :P
 
8:59 PM
@tereško I just kinda LOL on that
 

« first day (855 days earlier)      last day (4108 days later) »