« first day (1105 days earlier)      last day (3858 days later) » 

7:00 PM
@tereško u mean "professional" ? that's because i have lots of expertise on web dev
 
2 mins ago, by professional
@Neal is php a programming language to do everything for a website like c#
 
*brace for impact*
 
@BenjaminGruenbaum are you using phpstorm6 atm?
 
nope , you don't have any "expertize" what-so-fucking-ever
 
@ircmaxell any idea what happens to stderr in cli-server ?
 
7:01 PM
nope
 
@DanLugg Yup
 
@DanLugg lulz
 
@Fabien @cspray I hope one of you brought the popcorn.
 
@RonniSkansing I am. w00t
 
@tereško my intention was to discuss
 
7:03 PM
@DanLugg Yup
 
aaaaand he's a ghost.
 
@professional strange. I would not describe myself as "professional" at web development. Ever.
 
@JoeWatkins goes to the CLI stderr
 
@tereško i sometimes frustrated for that name, anyway how to change it
 
@professional Agreed with teresko, name sounds odd
 
7:04 PM
Can you do MVC in php like how it's done in Cake. MVC is web scale. Cake is an awesome framework.
4
^ Looking for the sentence that will make tereskos head explode
 
@tereško I have a question specifically for you, I remember seeing you say before that if your your controller method getIndex() is called, a getIndex() method also gets called on the view and you do not call the view method from the controller, this is done outside. I have noticed that all my controllers and views methods match up exactly but I call the view method from within my controller
 
@Orangepill So, by definition web is cake scale.
 
I'm nervous now.. I visited php.net on the 21st..
._.
 
And since views pull their own data from the model layer, why does the view get injected into the controller at all?
 
7:06 PM
In the PHP $data[] = (object) $row;. What this mean. Is object is the class?
 
(anyone seen the news of the php.net compromise?)
 
@VoidWhisperer yes, check the list of pinned posts on the right
 
@VoidWhisperer did you blacked out for 24 hours or so ?
 
@VoidWhisperer Yes it was like 10 or 12 hours ago
 
I was there on the 21st, but didn't visit since
visited the stripos page on the 21st :s
Also, fi.php.net wasn't infected, right? x.x
 
7:07 PM
TGMCians
In the PHP $data[] = (object) $row;. What this mean. Is object is the class? @VoidWhisperer @BasicBridge please help me
 
....
Why is the pinned post on the right
going to php.net
 
@TGMCians $data is an array that contains a object of type StdClass
 
when php.net was infected
........?
 
@VoidWhisperer was being the key word
 
@David actually that was more of an example. An the corresponding methods for the view were showed without REQUEST_METHOD prefix.
 
7:08 PM
@VoidWhisperer the [Enter] key is not punctuation.
 
and where is the proof it isn't anymore?
 
@VoidWhisperer are you just trolling now?
 
@igorw see, that's what I'd think ... when you fopen stderr from within php, yeah the output gets to cli stderr, but when cli server attempts to write stderr in C, don't see any output ...
 
No.
I'm just being paranoid..
 
Of what? Browse with JavaScript disabled. Whoop-dee-fuck problem solved.
 
7:09 PM
@VoidWhisperer why don't you visit the link to the right and educate yourself on the matter, also take off your tin foil hat it's out of style.
 
@Orangepill Is this Object is Inbuilt class?
 
@DanLugg or browse with as separate user account
 
@DanLugg I want cake now
 
Ok, I see now @crypticツ
 
@tereško Ok but then since we are not doing codeigniter here and passing data to the templates from the controller what is the use of a controller having a view object?
 
7:10 PM
Ok.. I'm still going to run a virus scan even though supposedly it started on the 22nd
just to be on the safeside
 
TGMCIans StdClass is a builtin class
 
@JoeWatkins oh, in C. that's a different story I guess.
 
Gotta get kids ... later guys
 
laters
 
7:12 PM
@igorw yeah seems, but it's referenced everywhere like it should work ...
 
@JoeWatkins look at the cli SAPI and see if it's doing anything funky
at least that's where I'd expect to find funkiness if there were any
 
@tereško Since views retrieve their own data what is the point of a controller having an instance of a view?
 
@David because in some cases the controller needs to alter views state. Take for example "collapsible widget". Changing it from collapsed to expanded could be implemented completely without involvement of model.
 
@igorw well I've searched for funk and cli on it's own has no problem writing the real stderr
it's only when you start server and it goes into ev loop that you appear to loose output to stderr ...
 
@tereško Ah yes that makes sense
 
7:13 PM
or changing the output format from json to xml
 
unless you open the stream from within the engine ...
 
I was starting to wonder what my controllers were doing with views at all
 
@David probably because your controllers were the views. In a Rails-like structure the views and controllers are merged and templates take the place of proper views
 
@tereško I have my controllers extracting request data, calling services to update the model, and then my views would retrieve data from the model, choose what template and pass the data to the template. Does that sound correct?
 
@David kinda. But it should be "templates" not a singular "template"
 
@tereško Well yeah I have this base template and then a <?php echo $content; ?> somewhere in the middle which is the return of another template which was rendered and sometimes I have another template within the content etc. How does that sound
 
Hello to all i have saved document in my site using uploading them. i want to give facility to user he can download all document in single zipped file. i m using codeigniter with php any suggest
 
@David yes
 
Is it just me or why can't I reach git.php.net?
 
@tereško I have a major problem though, what do you do when you need data from the database which does not really have anything got to do with the model layer
 
7:20 PM
that was one of the domains infected
it's down at,
atm
 
@VoidWhisperer ah… okay? I thought it'd have been only the (www.)php.net domains…
 
This data needs to be retrieved in the view, passed to the templates but the data has nothing got to do with the model layer. It is confusing me
 
nah
php.net and git.php.net on one server
and two others on a different one
 
@bwoebi They are read-only if I remember correctly.
 
ah okay fine
 
7:22 PM
what @LeviMorrison said
 
@David is this 'data' something like a settings/config that is stored in the db?
 
@reikyoushin It is a client who wants to be able to edit the text of headings, list items, color and that stuff from the admin area
That sort of data does not fit in the model I don't think.
 
@David ahh. more like template widgets..
 
@reikyoushin Yeah I suppose actually. Do you have any idea what is the best way to retrieve this data
 
@David maybe treat the widget as a domain object? i'm not good at these stuff. i was just as interested as you are because i might encounter stuff like these in the future..
 
7:30 PM
I do not like the idea of doing database queries from the view. I would prefer more abstraction
The thing is I do not think this sort of data goes under domain objects
I am almost certain 99.9999999%
 
David why not?
 
@RonniSkansing Well aren't domain objects part of the model layer
 
Evenings
 
But the data needs to be saved somewhere
 
7:33 PM
I do not think the text of heading number 2 on the about us page and the color of it has anything got to do with business objects/domain objects
 
Had your Beer? @PeeHaa
 
@David you will treat the widget as a domain object.. then it will certainly be part of the model layer.
 
David you are right
@David but the data used for it is
 
@Fabien Yes I had.
 
Something about this feels wrong
 
7:34 PM
then your widget can have a field 'container name' or something that will be loaded on a specific part of the template..
 
@David what feels wrong about it
im not sure what the current setup is
 
you can also switch them up or remove them if you like. somewhat like how normal CMSs usually do it. just that this time you get to do it cleaner because you're gonna be using MVC
 
@reikyoushin @RonniSkansing The picture I have of domain objects is that they contain business logic
 
@David hmm.. well. i dunno. ^_^ i'll wait for @tereško's answer then
i just feel that treating widgets as domain objects make them part of the business logic.
 
huh?
 
7:37 PM
<h1> on the contact us page having "This is the contact us page" and being the colour red just does not seem right going into a domain object
 
> The picture I have of domain objects is that they contain business logic
 
i am not really paying attention here
 
here @tereško what can you say about this
5 mins ago, by David
I do not think the text of heading number 2 on the about us page and the color of it has anything got to do with business objects/domain objects
but he is querying the data from the DB
so i thought he can treat em as domain objects..
would that be wrong?
 
I would doubt that color comes from DB
unless it was stored already as complete HTML fragment
 
@tereško but it can be edited from an admin
somewhat like a dashboard..
what is the best way to implement them?
 
7:40 PM
@tereško When he is in the admin area he wants to be able to put in the hex colour that the text will be, which gets stored in the database
 
@reikyoushin dunno ... try out few approaches
 
Hey guys, who is cv-pls.com ?
 
@webarto @crypticツ
 
my approach was to treat the settings/widgets as domain objects..
 
@PeeHaa Know anything 'bout server it's hosted on?
 
7:41 PM
@webarto ya?
 
but @David feels there is something wrong bout it..
@webarto its @crypticツ
 
@webarto it's hostted out of a cereal box
@webarto what you want to know about the server?
 
@reikyoushin at first try to think of the way you could implement something , and then walk through the process that would be required to implement it. Then compare the outcome. You should be able to do it, while you are doing something else .. like making tea or taking a dump or walking a dog
 
@crypticツ Are you paying for it?
 
7:43 PM
@webarto yeah, but I have other sites hosted on it as well. $9.93/month VPS
 
@tereško @reikyoushin I could do it right now by making a domain object for this data and a mapper but I think it is wrong
 
@crypticツ You should get a couple or Pi's and literally rack a server in a Corn Flakes box.
 
@tereško im just as curious as @David because he is the one who has the question.. i am just wondering if what i thought would be okay or not.
 
@reikyoushin the answer most likely is "not", but he need the ability to make his own mistakes and solutions
=P
i really have no intention to do any more mental exercises today
 
gah.. and in the end i still didn't have an answer. ahaha. oh well. i'll just continue to lurk and wait for other people's questions and try to learn from them.
 
7:45 PM
@webarto why what's up?
 
@tereško @reikyoushin I should will just tell the client this is a bad idea and should not be done haha
 
@crypticツ i smell a free VPS coming :P
 
@crypticツ We can move it to $60/month VPS if it oversizes that one :)
 
@David i dont think it's a bad idea.. because you wont have to edit the template just because your boss wants some content changed. although your implementation might matter big on this one..
 
@reikyoushin Yeah I want to come up with a good solution to this. MVC covers the view pulling data from the model but not pulling this sort of data
I am not sure what sort of category this data even goes under
 
7:50 PM
@David Check out Web MVC
 
@reikyoushin we can't close answers xD
 
@webarto you paying? =oP So far not much load, even the next version will not have much load. I however wouldn't mind a VPS for database support down the road. We want to eventually have the ability to track close votes, and have oauth accounts. @DaveRandom @PeeHaa were thinking of having a centralized database which the cv-pls extension and the cv-pls.com site can use. But that's still a little in the distant future, well at least on my end since stack API doesn't support what I need to for it
 
@HamZa sorry, it was meant for the question.. wrong link
can somebody pls delete the wrong link above? can't edit it anymore..
 
The question should be cved either way imho
1 message moved to bin
 
@PeeHaa i meant to cv the question. i just got the wrong link...
 
@PeeHaa
 
:-)
 
hello guys....
 
haha. its hard dealing with two monitors doing two things at the same time lol
 
is it true that there is no organization that gives free domain name ?
 
7:58 PM
No NOOB calling it's rules of some game servers
@Giliweed subdomain
 
@BasicBridge it's a joke
 
@BasicBridge I'm sorry, are we playing Counterstrike? $game->detach($basicBridge);
 
@Giliweed dot.tk does..
 
hello
 
really??? 100% free???
 
7:59 PM
can someone take a look at this question? stackoverflow.com/questions/19597719/…
 
@Giliweed domains are cheaper than a cup of coffee, why would you want a free domain which will likely have some gimmick associated with it being free.
 
That x 1000 ^
 
@Giliweed yes but they will take your domain when you start gaining page views
 
I have no credit card to buY
 
creditcard??
 
8:00 PM
@Giliweed try paypal then
 
Because that's the only way to get a domain :|
 
@Fabien Ok thanks
 
Yea really; besides, prepaid?
 
hmm or something else..
@DanLugg prepaid? what's that, a cellphone sim? XP
 
I get all my domains from the black market over the Tor network using bitcoins O_O
 
8:01 PM
never used paypal... in my life.. but now I guess I have to get a look
 
@crypticツ I get all my domains by selling my body
No wonder I only have crap domainnames
 
I get all my domains selling @PeeHaa's body.
 
lol,
 
Can I get your domain names after..?
 
do you know how much expensive it is from my country!!!
 
8:03 PM
Eww, sloppy second domains.
 
@Giliweed we dont even know what country you're from..
 
mars ..... :/
 
@Giliweed domains.mars?
 
ha ha
 
never seen one yet
 
8:04 PM
good one
 
@Giliweed As expensive as from any other country
 
@Giliweed it cost $2k from mars
 
@BasicBridge plus the taxes!
 
@crypticツ In some 3rd world countries, there is no standard online payment methods, which means paypal isn't available in those countries. So there is no easy way to legally purchase one
 
well according to dolar rate it will be 15dolars ..
 
8:05 PM
@reikyoushin Yes you must have to pay them, or you are shut down
 
actually 1000 taka.
 
@Giliweed So that is what? 2 euros?
 
our domains are 35$ a year T-T dot.ph/services
 
.ph?????
awesome!
 
twas why i'd rather get a .com ^_^
 
8:06 PM
I want to host my site on the tld
 
@reikyoushin hahaha "Php 3,010.00"
 
I don't know the current rate but ,,,, I know 80 taka = 1 dolar
 
yeah, our currency is PHP
^_^
 
wish I had credit card
 
@Giliweed why can't you get a prepaid card/debit card then?
 
8:07 PM
google $1 in taka easy conversion
 
sigh
 
@PeeHaa are you gonna get php.ph ? and your index is php.ph/php.php
 
trying to get one...
 
Hello
 
@Giliweed Buy a pre-paid credit card. Nevermind.
 
8:08 PM
OMFG!?!?!
 
have no bank account ... need to open one ...
 
-1
A: prevent highlight of page with ctrl+a

TonyMany people dislike the Control + A blocking, try to avoid it. from this answer, How can i disable the ctrl + a using javascript? the solution is <script type="text/javascript"> var isNS = (navigator.appName == "Netscape") ? 1 : 0; if (navigator.appName == "Netscape") document.capture...

 
who's gonna give me a prepaid card???
 
@Giliweed There are numerous ways to pay for a domain
 
"taka" is a falcon or something like that in japanese
 
8:09 PM
taka is wonder in filipino..
 
CC, wire transfer, bitcoins, sending checks, sending money
 
what???
 
if(navigator.appName == "Netscape")? 1920 called they want their browser detection back — PeeHaa 2 mins ago
^^ HAHAHAHA
 
taka is what we call money
 
google.com/… 1 US Dollar equals 77.82 Bangladeshi Taka
 
8:10 PM
"taka" is what a fox says.
 
@PeeHaa, tell me the ways ... (the easy ones )
 
@DanLugg lol
 
@Giliweed Do you have problems reading stuff here in chat?
 
@reikyoushin
 
8:11 PM
Are you browsing using netscape perhaps?
 
@reikyoushin yess...
 
@DanLugg lulz
 
what?? say what???
@peehaa ,, why?
 
@Giliweed here:
3 mins ago, by PeeHaa
CC, wire transfer, bitcoins, sending checks, sending money
 
Yes @DanLugg :D taka kakakaka kakak kakaka!
 
waht are you guys saying???
yes i'm having a problem... wait 1s
 
I have no idea how he must perform this song live.
 
8:14 PM
Does anyone else think the 'Umbrella Corporation Plan' should be added to the hosting plan list? dot.ph/services
 
Resident Evil reference? -_-
 
Totally!
 
@PeeHaa what is netscape??
 
@Giliweed are you serious o_O ?
 
@Giliweed Ask your parents
 
8:15 PM
really I don't know what is netscape.
serious
 
So am I
 
@Giliweed netscape is when the fish escapes the net.. >( >>*.)
 
@Giliweed google it ...
 
huh? !!!!
 
Teach a man to fish and hope the fish doesn't netscape.
It's a famous expression.
 
8:18 PM
Give a man a fish and he'll eat for a day, beat him with a fish repeatedly and drown him in a river if you want him to shut the fuck up.
 
:12585593  why did you asked this I didn't understood
chat.stackoverflow.com/transcript/message/12585593#12585593
 
Ok.... why are we talking about netscape?? is it related to money transfer topic?
or php?
 
@Giliweed Yes totally
 
8:21 PM
how?
 
You should totally use the netscpa eto get your domain
It's totally awesome and such
 
is it a software??
do i have to install or download?
 
@Giliweed No you just sniff snort it
 
Girlfriend makes cake for her 'software engineer' boyfriend. First comment definitely deserved gold.
 
snort it??? are you jokeing?
 
8:24 PM
pecl.php.net cert has been expired for almost a year O_o
 
@Fabien lol, awesome cake !
 
jokeing??
 
@Giliweed please go duckduckgo it for your own sake ><
 
@Giliweed No I am super serious
You should totally snort netscape
 
@HamZa Ever attempted a flip and landed on your face? It's no' pleasant :(
 
8:26 PM
@Fabien I landed several times on my back, I still want to learn it though ...
 
@HamZa Just have two friends support you and it's fine.
 
@HamZa you search engine sucksss :/
 
@HamZa maybe you should regex your flip to make it a little more accurate
 
@Fabien heh, managing to get those friends helping me for a few times to do that would be difficult xD
@reikyoushin I wish it was possible, I would use the (?R) recursive pattern xD
 
@HamZa Learn a wall flip, it's 10x easier.
 
8:29 PM
@Giliweed and you should use your brains
@Fabien lol, let me youtube that ...
 
Like flies on a turd
0
A: Does javascript code appears in browsers?

AkshayYes, every person has JS code of every page. Critical functions are managed by server, which users does not have access to. To best protect JS code, you could obfuscate/minify it. How can I obfuscate JavaScript?

 
@HamZa b4 using brains I have to know for what I'm using it... not like my brain is for free ... dhuuum
 
@Giliweed You should totally use meth to get your domain btw
 
@Giliweed hahahah I'm telling you like twice to search it xD
I think it's maybe late for you :p
 
@crypticツ Yeah, sponsored by my company. Thanks for explaining. (sorry for short reply brb)
 
8:32 PM
@HamZa search what ...?? this is what I got... google.com.bd/#q=snort+netscape
2
 
@Giliweed Search for "netscape wiki" -_-
 
@Giliweed download.netscape.com That will download Netscape 4.04 if I am correct it's the latest most stable version.
 
sigh........ ok
 
@webarto @crypticツ i'm right eh? XP
47 mins ago, by reikyoushin
@crypticツ i smell a free VPS coming :P
 
lol!
:X
 
8:35 PM
@Fabien btw let me tel you a story: I was once in a swimming pool, I tried to swim like a worm or better said a snake ? Anyways, I ended up breaking my front teeths with the bottom of the swimming pool. How did I do that ? I've no idea ... lol
 
btw, if you guys will do it, what's the best way to cache results of a 3rd party data?
 
@HamZa Not the same method but I have been there. I tried diving head first as directly down as I could. Smashed my mouth on the bottom of the pool. Or another time we were swiming through each others legs and I swam through and smacked my tooth on the end of the swimming pool wall.
 
lol
 
mine was better! i jumped into the pool full force thinking it was 5ft then suddenly it was the kiddie pool (2 ft) and everything went ! i didn't feel my legs until about 5 mins later XP
 
Sure I can. Everybody can. The cake is a lie — PeeHaa 25 secs ago
 
8:38 PM
Part of youth I guess.
 
speaking of youth, is @rdlowrey back yet?
 
@HamZa ..OMG netscape is a browse!!! it is a browse?? ... why didn't you say it the easy way!!
 
That's what we were saying...
 
nope, it is not a browse.. you use it to browse though
 
8:40 PM
@Giliweed lol ...
 
@Giliweed If you install it you get a free domain
2
 
Told ya, it's too late for you mwahahaha :P
 
@Giliweed it has a menu option in the 'Options' menu that is titled 'Buy a domain'
 
OOOwwwwwooo
really?
 
yes
totally
 
8:40 PM
@PeeHaa Are you drunk ? Or is it because it's friday night lol
 
and you don't need a credit card!
 
coooollllll
awsome
 
@HamZa Both and none
 
dammmn coool
 
Can you say quantum?
:)
 
8:41 PM
q uuu aaaa nnnn ttttttaaa mmmmmM
:p
 
(facepalm) That guy may have an heartattack from such deception xD
 
@Terry Porting your C program from 1988 to javascript. cool :-)
 
@PeeHaa you mean 콴틈?
 
@reikyoushin is that korean O_O ?
 
... @hamja ,,, a small one :D
 
8:44 PM
@reikyoushin That just makes me hungry :P
 
@HamZa yep, i typed it. ^_^
 
@reikyoushin Hah, it's not free :P It's hard earned benefit :P
 
@webarto you're gonna pay for it? wow cool!
 
Sweat & blood :P
 
@webarto can i have your hard earned benefit too? minus the sweat and blood. jk
 
8:47 PM
I'll just take the sweat and blood please; thanks.
 
@Fabien I just checked a tutorial on the wall flip, I might try that ...
 
@DanLugg there's your sweat and blood
 
No, that just looks like sumo wrestlers.
return @$this->parameters[(string) $name] ?: null; // because IDGAF
 
@HamZa As long as your body is vertical by the time you start leaving the wall it's easy peasy.
 
@PeeHaa, I installed the Netscape navigator 9 (which is a browse!!!) ..... but on the option menu there is no "buy a domain " option
 
8:57 PM
@Giliweed is this serious?
 
@Giliweed Option menu who told you that? That is bollocks.
You first have to install the DomainFree.xpe plugin
After that you have to restart your pc
 
@PeeHaa No, that's only compatible with NN 7.5
 
After that you will find the "Domain" menu
 
:O ....
 
8:59 PM
You need to get herpderp-1.0.7-5f17dd871dacc61834234a9cd5aa375d
 

« first day (1105 days earlier)      last day (3858 days later) »