« first day (1068 days earlier)      last day (3879 days later) » 

7:00 AM
@Mr.Alien Yeah, my monad playground needs it until I can think of a better way to do it :)
 
@Mr.Alien Yesterday I played 1 police mission in Sleeping dogs, where I have to investigate 3 dead people. Interesting thing was 1 dead body was walking. lolzzz :)
@Mr.Alien Yeah, my boss is also chindi.
 
hello
:)
 
@Jack yea, so you can post the same thing again... @YogeshSuthar haha that just became like Indian CID
 
It takes care of the lexical binding as well.
@Mr.Alien Eh?
 
@Mr.Alien No, it isn't.
 
7:01 AM
hi..is this chat related to php.. i dont find any
 
yaa
 
It oversimplifies things, and sometimes is blatantly wrong.
 
i actually want to ask question
 
@user2514863 Please read the description to the to right of this page, then go ahead.
 
@Jack to take out your frustration? @MadaraUchiha hello, and it's not that bad.. sometimes its wrong, agreed, but rest of the things are ok there
 
7:03 AM
@Mr.Alien But how come dead body can walk. :)
@namratha Yes it is. All knows PHP.
 
@YogeshSuthar if our CID can have ghosts as murderers, than why can't a game have a dead body walking?
 
@Mr.Alien It's not really frustrating actually; I had an earlier implementation but there was a flaw in it :) in the sense that monads were being shared.
 
@Mr.Alien hahaha
 
guys
can i post question here
so if any want to answr
just pm me..
:(
 
@user2514863 just post it
 
7:07 AM
@user2514863 Did you read the description to the top right?
 
shell_exec('pdftk offerletter/'.$_GET['id'].'.pdf LAMPIRAN_A.pdf cat output offerletter2/'.$_GET['id'].'.pdf dont_ask');

header('location:offerletter2/'.$_GET['id'].'.pdf');
 
I didn't know this chat has pm ;-)
 
owh
sorry
 
Specifically the part that says Don't ask whether someone is here to help you. If someone is around and wants to help they will
Also, when pasting code, please use the button, or press CTRL+K after pasting your code.
shell_exec('pdftk offerletter/'.$_GET['id'].'.pdf LAMPIRAN_A.pdf cat output offerletter2/'.$_GET['id'].'.pdf dont_ask');

header('location:offerletter2/'.$_GET['id'].'.pdf');
 
@Jack if that happens to me, I usually start the project from scratch, it always happens, am about to finish a product and suddenly I think I can write better and I scrap entire thing
 
7:08 AM
@user2514863 Are you a girl?
 
@Mr.Alien Actually, I rediscovered ->bindTo() and then I saw a way out :)
The rest was more or less in the right shape.
 
@Jack oohhh gud luck with that
 
Hi,how to retrieve the data from existing database ?
 
@user2384323 by connecting to the db?
 
@Mr.Alien No need, I'm done with it :) Now I have to find fun examples I can play with =D
 
7:10 AM
newbie~
 
@user2384323 See the MySQL SELECT statements manual.
 
But to understand the examples, unfortunately you need to know a bit of Haskell lol
 
@Jack hehe cool.. and sorry for the wrong pings for user prefixed users, there are too many in the room now
 
oic..
 
@Jack one of my friend was doing it, I just know the name, don't really know what that does
 
7:11 AM
If you think this is a lot, it means you're getting old :)
 
@Yogesh y
 
@Mr.Alien There are some examples I put at the bottom of the gist.
I think the number one is interesting, at least for me.
 
shell_exec('pdftk offerletter/'.$_GET['id'].'.pdf LAMPIRAN_A.pdf cat output offerletter2/'.$_GET['id'].'.pdf dont_ask');

header('location:offerletter2/'.$_GET['id'].'.pdf');
 
@Jack will check that out @user2514863 atleast explain what you want
 
@user2514863 Because of owh.
 
7:14 AM
:)
just let me explain..
 
user652649
@Mr.Alien here at office i have three samsung 840 pro ssd sata3 (about 700mb/s iirc) 8D and that i haven't paid for them
 
user652649
@JoeWatkins what's your config?
 
@Wes pick one for me if u can, I will pay you double for shipping charge :p
 
student will download offerletter
and i'll will save in offerletter folder
 
user652649
7:16 AM
@Mr.Alien i don't think they actually cost a lot though, i think about 150€ each
 
in offerletter folder, i have 1 file name LAMPIRAN_A.pdf
so i want to join offerletter student download with LAMPIRAN_A.pdf and output will save in offerletter2
 
@Wes that's around 12750INR -> 12.75K
 
user652649
i'm guessing it is actually a lot in india, right?
 
@Wes just a couple of OCZ vertex, they are vertex 3 too, not even the latest ... 2 of em, raid 0 ...
 
yap, half of the monthly salary for a normal person
and about entire month salary for a fresher
 
user652649
7:20 AM
i have heard raid doesn't work well with ssd otherwise i would have tried raid 0 too @JoeWatkins
 
@Mr.Alien that was my 2months salary when I was fresher. :(
@Mr.Alien It means that you have 25K/month salary. :D
 
well I push pretty hard, and boot from this raid 0 array ... I have 2tb drive that hosts vm disks and stuff ... I've been doing this for about a year ... it has never actually crashed, never needed any special attention ...
 
@YogeshSuthar rofl yes
tera kitna hai?
 
@Mr.Alien more than you. :P
 
:(
 
user652649
7:23 AM
good to know @JoeWatkins when i'll get some free time i will try
 
You will get more if you change company and be in atleast 50-60 people company. @Mr.Alien
 
@YogeshSuthar well mine is not that, it is around that, n btw if urs is more than too u cry
@YogeshSuthar yea but as of now, I don't have any plans to change, as this is just 10 mins walking, good pay, so filhaal no
 
user652649
@Mr.Alien it's half of salary of a normal person also in italy these days :(
 
when they say that SSD's are less reliable than magnetic equivalents ... there's a few horror stories - doesn't mean anything, there are stories on the interweb where jack russels have attacked children, but jack russels aren't dangerous ... it's theoretical mostly, most of the problems that were evident during the development of the technology is solved at the hardware or software level by now, its a perfectly stable platform to rely on ...
 
lol you italian? @Wes
 
user652649
7:25 AM
yes @Mr.Alien
 
@Mr.Alien I am not crying. I was saying that 12K was my 2months salary when I was fresher.
 
plus I have a drawer full of broken magnetic disks, I chew through them at a higher rate for damn sure ... I don't think a magnetic disk has ever lasted a year ...
 
user652649
@JoeWatkins i had many horror stories with HDs, it's only about luck. like a wd "enterprise" drive with low rpm i bought last year: dead after 1 month 8D
 
@Wes will visit some day ... will have a pizza party
@YogeshSuthar u wer crying that u having pressures, teri taang
 
user652649
not a case that i backup important data on all 6 drives i have
 
user652649
7:29 AM
@Mr.Alien and write spaghetti code!
 
Its nearly always firmware that brings down any range of new disks, sometimes the firmware can do irrepairable damage to the hardware, but it's in principle a software bug ... what baffles me is why deploy disks in the first place whose firmware it is difficult or impossible to overwrite, and with the processing power of a factory that creates hard drives how on earth are they not pushed to the limit before they are sold ... I've had the same thing ... frustrating ...
 
@Mr.Alien hahaha, vo to har jagah hota he.
 
@Wes no, I don't write codes when am on vacation :p
@YogeshSuthar kya
 
@Mr.Alien work pressure.
 
ohhh
mujhe laga pizza lol
 
7:33 AM
Pay isn't everything. :P
 
@Mr.Alien hahaha, nahi re.
 
I got paid a lot more in London, took a cut for a better standard of living and a warmer temperature.
 
aur btaa kya kar raha hai
@Starsong Sweet changed to strong?
 
Song not strong :P
 
@Mr.Alien TP karte karte future ka task.
 
7:35 AM
I make about 330k INR/month apparently. o.O
 
@YogeshSuthar kaunsa? @Starsong oh yea and whhoooop 330K, if I would be earning that, I would've retired by 2024
 
@Mr.Alien I don't have India living costs :P Sadly
 
@Starsong That's normal pay If you are having foreign clients.
 
I live in Italy
 
@Mr.Alien kounsa kya mera office project ka future tasks.
 
7:37 AM
@Starsong you can move here.. @YogeshSuthar ohh, boring
 
@starsong 330k INR/month = 3.3lach?
 
€4000 / month
 
@user2514863 Lakhs
 
I work on location at least 2 days/week, the flights may get expensive :P
 
@Mr.Alien ops.. thx
 
7:38 AM
@Mr.Alien 1 of my friend is earning 1.33L/month and he is having exp. around 3 years. He lives in India too.
 
Usually I do 5 because I'm too lazy to work at home
 
@YogeshSuthar naseeb, also its general like you earn more, you spend more, so its the same
 
1.33L = 133000 rite.?
 
@Mr.Alien yeah, but depends on person too. @user2514863 right.
 
zzz
i just get 1.5k/month(junior)
 
7:41 AM
@user2514863 indian?
 
nop
 
Whats a crore?
One of my friends said he makes about 1 crore per year :P
 
crore.?
 
Indian money term
 
oic
 
7:42 AM
@Starsong crore = I can sit at home and keep that crore in my bank and spend my life with the interest I get over that from the bank
 
@Starsong 10 million = 1Crore.
 
Lot of money then
 
-.-
yaaa
 
@Starsong not that more
 
Sab saale lalchi he......
 
7:43 AM
@user2514863 1.5K, bhai, kidhar kaam kar rha hai tu?
@YogeshSuthar rofl
 
@user2514863 me too same
 
if 1 lakhs = dollar.?
 
It's about €120,000 = 1 crore
Takes me nearly 3 years to earn that :P
 
bt I won't take a day to spend that :p @Starsong
 
7:44 AM
@Mr.Alien If I had it spare, me neither :D
Would cost me 2x that to buy a decent apartment here.
 
my monthly salary only usd464.04
 
@Starsong prices for properties are too high in mumbai.. I can buy a flat, only if I take loans from the bank, fyi, it's around crore to buy a decent flat here
@user2514863 whats your age and what you do
 
@Mr.Alien A flat like mine would be €275,000
2.4 crore
 
junior programming in php,mysql,java
 
7:47 AM
@user2514863 and you earn how much? 1.5k? and where are you from?
 
YES!!! #PHP Thank you #StackOverflow http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php
:)
 
@Starsong where do you stay
@Gordon is that you in the pic?
 
@Mr.Alien is my twittername echoScout?
 
@Gordon I just saw the profile, looks damn similar from that size of the thumbnail
 
@Mr.Alien would I thank myself for writing the majority of that reference?
 
7:49 AM
@Mr.Alien @user2514863 says he is earning 464 USD = 29315 Rs.
How come 29315 = 1.5K?????
 
@Gordon well, that depends :p who knows who turns out meme
 
@Mr.Alien Malaysia
 
@Mr.Alien yeah, for an Indian maybe. You know, you look all the same to me as well.
 
normal rate for fresh entry
 
7:50 AM
@Gordon lol what makes you think that
 
around 1.5k to 2.8k
 
@YogeshSuthar I thought that ^^^ was INR
 
@Mr.Alien dekha re. But baad me convert b kiya.
 
lol
 
owh
LOL
 
7:51 AM
The cross-race effect (sometimes called cross-race bias, other-race bias or own-race bias) is the tendency for people of one race to have difficulty recognizing and processing faces and facial expressions of members of a race or ethnic group other than their own. In social psychology, the cross-race effect is described as the "ingroup advantage". In other fields, the effect can be seen as a specific form of the "ingroup advantage", since it is only applied in interracial or inter-ethnic situations, whereas "ingroup advantage” can refer to mono-ethnic situations as well. Deeper study...
 
if degree with exp around 4-7k
10++exp around 10k-15k
 
@user2514863 Is that enough for you? OR you require more than that?
 
@user2514863 10k-15k $ ?
 
10k = 195137.18 rupee
 
@Gordon some qualities are the same, but not all, infact if you see, some Indians are really good when it comes to international level.. well yes, we don't have much IT reputed companies like you people have
 
7:52 AM
@user2514863 10k$/month is really awesome ...
 
@user2514863 what you need more? send some to me @NullPoiиteя and @YogeshSuthar
 
@Mr. Alien i agree with u.. totally agree with u..
 
@Mr.Alien nahh i dont need money ... :)
 
@NullPoiиteя toh kya chahiye?
 
7:53 AM
i need lol
cost living
arghhh
 
@NullPoiиteя and btw how you are back so early?
 
@user2514863 take it, lol lol lol
 
haaha
LOL
monthly salary 1.5k
 
buying house around 500k
 
7:54 AM
Pro question: I have a php resource of type (OpenSSL key) in a variable ($this->_privateKey). I var_dump($this->_privateKey) right before calling another method. And it shows the (OpenSSL key) type. Then I again var_dump($this->_privateKey) right before the return in the called method, and it still shows as (OpenSSL key). But then things go mad.. right after calling the method, I once again var_dump($this->_privateKey) and now it's suddenly (UnKnown) and no longer valid resource..
 
<3 <3 <3 Can't wait
 
@Mr.Alien there are no class just went to submit some document
 
@MadaraUchiha downloading Rome Total War 2
@NullPoiиteя ohh
 
Can anyone hint as to why this is happening? Somehow between the end of the method and the next line of the call the resource gets closed..
 
@Mr.Alien power of post ... you know for that i resign my last Gov job
 
7:55 AM
lunch time bye
 
If i remove the return.. same thing happens, so it's not the return. Its really the end of the method call that destroys the resource..
 
@YogeshSuthar bye .. eat like a animal :)
 
@NullPoiиteя voh thodey dino mai bhains bann ne vaala hai, btw yea u r behind post, more the post more the bribe u get in india
 
@user2514863 my expanses are very limited .. i even spend more than 200$ month
 
omdofmdomdongfduih
 
7:58 AM
@PeeHaa frustration??
 
@PeeHaa You kept your coffee mug on the keyboard
 
It's too early ...
 
@PeeHaa Ahh yes, the DOMDong class, for when the person who wrote the XML document you are dealing with is a complete penis.
Monrings
 
lets compare income

A developer's salary == 50k INR + nothing
and IAS = 45K + home(which rent == 50kINR (free)) + car (with driver(free) == 75kINR) + 4 armed gurd 24hour (free of worth 90k) === 310k INR
 
@NullPoiиteя IAS = Income is not that variable, where developer can start his own business and earn lakhs, also p.s IAS has fear that he might be shot dead by other politician
 
8:03 AM
IAS = Indian Administrative Service?
 
@user2514863 yupp
 
oic..
:)
 
@NullPoiиteя btw you forgot, Developer = Fun.. There are Some Things Money Can't Buy. For Everything Else there's PHP :p
 
@Mr.Alien if you have power to hummer every one .. isnt it fun :)
 
8:05 AM
@NullPoiиteя lol it's only in India.. also waiting for modi to become pm
 
@Mr.Alien not gonna discuss politics ... but modi can't win because BJP has no base in south India and that sucks :( ..but you know no matter who is PM , one phone call of IAS can make any work possible in India :(
 
Hello guys
 
Does anyone know a reference about what PHP does after a method call ? (ie. memory cleanup or what not..) (this is about the question i asked a bunch of lines up.. a resource suddenly becoming unKnown at the end of a method call)
mornin @JebooScr
 
@Mr.Alien speaking about money Police caught 2374350k$ cash(idk how they manage to keep) + 1500kg gold in IAS officer's House :D
 
Morning
 
8:12 AM
@DamienOvereem the truth is in here, but dont ask me where: lxr.php.net
 
Morning
 
@NullPoiиteя :O itna saara? kabh? and btw off to lunch, cya soon
 
morning all ...
 
mornign
 
@DamienOvereem show me code
 
8:26 AM
Morning @JoeWatkins
 
Is there some pattern that describes how to effectively build system that uses diffrent Views for diffrent types of users. For example UserTypeA can view EntityTypeA but can create them and UserTypeB can both create and view EntityTypeA. Their interface is differentitate i.e. UserTypeB sees that button - CreateEntityTypeA where UserTypeA does not. And it might be also vice-versa.
Vice-versa for other types of entities i mean: UserTypeA can create and see EntityTypeB where UserTypeB cannot create entities of type EntityTypeB.
 
@JoeWatkins monring
 
As for right now i'm using symfony2 and thinking of just conditionally outputting all UI elements based on user roles and groups. So if current user hasRole("VIEW_ENTITY_TYPE_A") it will be showed to user. But this will require me to create a whole lot of controllers that will prepare and render diffrent parts of each page.
 
@Gordon thx
@JoeW
 
8:42 AM
http://stackoverflow.com/a/18867479/1723893
 
@DamienOvereem It does some refcount administration at the end of a method call afaik.
 
@Ivan0x32 sounds like a RBACL
 
@PeeHaa Nice night drinking?
 
@JoeWatkins I tried to reproduce the effect in simple small class, but it's not happening there. It has something to do with the resource being passed to another class which deals with signing XML. There just is no freeing/closing or anything to be found when I follow the process through that class.
 
@Fabien yeah
 
8:44 AM
In any case: the most curious bit is why its switching types (OpenSSL key -> unKnown) at the end of the method instead of on a specific line in the method or the used class.
 
@Gordon this stackoverflow.com/users/2790631/user2790631 user is spamming link ... his every answer is same
 
@PeeHaa You use a GUI for PostgreSQL?
 
@Jack I'll look into it.. ended up at php.net/manual/en/features.gc.refcounting-basics.php .. time to read some.
 
@DamienOvereem something done either zval_ptr_dtor or zend_list_del on the resource, to tell you what, I need to see code
 
@Fabien nope
It does come with a GUI though (at least on windows)
 
8:47 AM
It does?
 
brilliant ...
monty python ...
 
lol
 
is it monty python ...
 
@JoeWatkins At this moment i'd have to spam you with about 2500+ lines of code. I'll see if I can make a compact setup that reproduces the problem.
 
It's the hitch hiker's guide to ref counting in php?
 
8:48 AM
hitch hikers guide ...
yeah ...
 
@PeeHaa That's not the one i need X display for is it?
 
@Fabien I have no idea. I don't do GUI :)
 
Furry muff
 
:)
 
@DamienOvereem you might try stepping through execution to find out what is going on ... methods have the naming convention zim_Class_Method and functions zif_function, you should be able to break on entry to the method that is suspect and step until you see what happens ....
gdb php
b zim_Class_Method
...
run /path/to/script.php
next
...
next
like that ...
@LeviMorrison think you might be able to sort out build-setup so that the windows bits are somehow set apart ... I was thinking maybe even hidden by default with some Reveal.FX or whatever is cool this week ... else just a border or something ...
 
9:03 AM
@Gordon on the service-layer yes, i've already implemented this logic (checks for both ROLEs and ACLs (for ownership and etc checks) the question is how to render UI for them? For example if i have a toolbar with buttons CreateEntityA, CreateEntityB, ViewEntityA, ViewEntityB. How can i organise my renderening so UserTypeA only sees ViewEntityA, ViewEntityB, CreateEntityB and UserTypeB sees ViewEntityA, ViewEntityB, CreateEntityA?
 
@Ivan0x32 you could have EntityRenderers that know how to render the Entities according to the RBACL
 
@JoeWatkins Hmm. Don't we already have documentation pages in the manual on how to build PHP on various platforms?
 
Thanks for idea! Should i increase granularity of my components (i.e. create a whole lot of CreateEntityTypeAButtonRenderer type things) and try to check for rights in AOP way (i.e. just create a pointcut that catches all calls to IRenderer::renderAction()) or just create components that render diffrent parts of site in a smart way? Also how can i organise my code for latter approach (i.e. get rid of whole lot of IFs (if hasRight renderUi())?
 
9:21 AM
@LeviMorrison php.net/manual/en/install.unix.php ? that sort of thing ?
compiling on windows is link to wiki article ...
 
By latter approach i meant this: gist.github.com/Ivan0x32/6606691
 
also prototype.php.net/docs.php should have hr between content sections, it looks proper strange without it in my browser ...
also, is there any reason that page doesn't display the sidebar and has a very wide content div ?
 
What a shit start to the day - 3 points and £100 fine for rear bike tyre, then £120 for a new one
 
Ouch.
 
@JoeWatkins What is there to display, at that point?
 
9:30 AM
That's more than I spend on transport in 6 months. #FuckDriving :D
 
@Ivan0x32 that depends on your requirements. If you need that fine grained control, then do so. But if you don't, then don't. I'd probably start with dedicated Renderers for each Entity Type to keep it simple. To simplify that move the IFs into the objects that can decide this.
user image
7
 
^^ that's wrong
 
'Tis
IE11 has better raw JS perfs than most other browsers. :P
 
I think the image dwells more on speed...
 
Perfs === speed
IE11 has better speed (JavaScript raw) than the other browsers.
 
9:41 AM
Stats or it didn't happen :)
 
yawn
 
@Starsong For your enlightenment: Never trust a benchmark that you didn't fake yourself.
 
@NikiC I faked that one myself. :P
@Jack Sunspider (not a MS test suite) on all major browsers
 
I like IE10
 
I don't like the metro thingy... Don't trust it
 
9:44 AM
metro sux bigtym, that's why w8 failed
 
@Mr.Alien saints row 1 PC k liye he kya?
 
@PeeHaa you need to see this youtube.com/watch?v=Jazrxe4tBFo#t=91
Good Morning
 
@YogeshSuthar I started downloading Saints Row 3 yest, and 4 bhi
 
@Mr.Alien give me link of 1 and 2.
 
wtf 123-reg charge for sub-domains -_-
 
9:49 AM
@PeeHaa if you want to see the full video its here : youtube.com/watch?v=HG_wfMK7dko&feature=endscreen
 
@YogeshSuthar haha tu bhi mere jaise hai, pehle se khelta hai, I have 2-3-4 I don't think I have 1
 
@Mr.Alien Pura story pata rehna chahiye.
 
@Baba Let me watch it during the lunch
 
kya baat hai
 
> Let's see an example that pushes out weather updates consisting of a zip code, temperature, and relative humidity. We'll generate random values, just like the real weather stations do.
lol
 
9:51 AM
Ow wait. LAlready saw it yesterday @Baba
:)
 
ROFL We'll generate random values, just like the real weather stations do.
 
110 million sales for Windows 8, hardly a colossal failure...
 
@zerkms link please
 
@Mr.Alien ^ ^ ^
 
9:52 AM
@PeeHaa I wish i had friends like that .. beer swimming pool :)
 
@Baba Contact @hakre
 
:D
 
@PeeHaa So what do you do when you need to browse through data on your db? CLI output? Or export or something.
 
Baba Good morning.
 
@Mr.Alien lol ... do he specialize in beer pool ?
@iroegbu Good morning ... how are you doing ?
 
9:54 AM
@YogeshSuthar Check Out Payday 2
 
@Fabien I either have a CMS or just run queries to get data form the CLI
 
@Baba Well he swims in a pool and probably he drinks beer so .. ;)
 
@Mr.Alien Oh ok ... :)
 
@Baba I'm good... How's your project coming up?
 
@iroegbu Stressful .... not bad
 
9:55 AM
@PeeHaa Did you see that Phreeze thing @Gordon posted a little while back?
 
@Baba was just going to ask you about the Geo project you were wrking on
 
@Mr.Alien coming up steadily
 
@Fabien Yes. Had a quick glance
 
While it's probably a little limiting it was pretty cool.
 
@PeeHaa spreadable beer ... the world is becoming a better place
 
9:57 AM
I find the taste of beer not that enjoyable. Unless the weather is hot, the BBQ is smells good and the beer is nearly ice cold.
 
@Mr.AlienIf I play that much game I will ruin my life. :P
 
lol
 
@YogeshSuthar English please
 
@PeeHaa Now OK.?
 
9:59 AM
@Baba Nice :) @YogeshSuthar Yes yogesh, English please, and y scared, khel bindaas
 
@YogeshSuthar Yep
 

« first day (1068 days earlier)      last day (3879 days later) »