« first day (1075 days earlier)      last day (3864 days later) » 

7:00 AM
@Jack Well, there is one problem: If bug-free code leads to death, there is not much use in writing it.
 
@udaysagar u want php.net/in_array I think ...
 
... but seemed fun
 
For a simple 3 word statement, you need to write 4 word biggy statement
 
from where i start for flight/hotel reservation site
 
7:10 AM
@hakre No, sharing the secret to writing bug free code leads to death, that's all :)
 
@Burhan start with the free API you know. But design the system so that you can also add another one into the mix in the future.
That will allow you to already to some steps while you still search for another one.
The companies I know who designed a flight comparison in the last years did write their own systems by scraping all sites of all airlines and other portals.
which those sites didn't like so they needed to create some infrastructure to work around that.
as you can imagine this is non-trivial at large.
 
@hakre ayo, u busy these days? I don't see you often
 
@hakre any api you know tell me paid/free
 
I get the feeling that for you the word "API" is equivalent of "magic"
 
Morning
@tereško You mean API != Alternate Practices & Incantations?...
 
7:23 AM
 
That would make Harry Potter an expert in API's ... $enemy->expelliarmus().
 
I came across acronym DOB as a column name (datetime is data-type) so more likely it's Date of Birth. Is that acronym common and does it really mean what I think (i.e. is there any other definition of it)?
 
morning
 
morning everyone
 
@AlmaDoMundo morning
 
7:27 AM
would anyone be interested in helping a newb with Symfony on wamp?
 
hi, @Leri, what's up?
 
@Leri Yep, that sounds about right.
 
by the way - since ios room is silent - are there any ios devs?
 
@AlmaDoMundo Want to kill my boss for using acronyms as column names. :D
you?
@Jack Cool, thanks. ;)
 
mofngofndgofdng
 
7:29 AM
@Mr.Alien yes, busy like a bee.
 
@Leri :p I'm fine. going to learn some ios-dev basics, but I have no Mac for xcode :(
 
@hakre thought so.. :p
 
@AlmaDoMundo VM but installing is PITA.
 
is there a way to run xcode under *nix somehow? here there's a point that it is no way:
20
Q: Can you Run Xcode in Linux?

Mohit DeshpandeCan you run Xcode in Linux? Mac OS X was based on BSD Unix, so is it possible? From what I have heard, there is a MonoDevelop plugin that has an iPhone simulator.

but may be I can do that without xcode?
 
@AlmaDoMundo AFAIK, you can't compile. Of course you can write code where you want.
What do you think about SteamOS?
 
7:35 AM
@Leri I guess so (I could use even vim for that). The problem is - since I'm newbie, I'm going to use official docs & manuals. And they all refer to xcode :\ And, of cause, it is - as I've understood, something official to build ios apps
 
Run a Hackintosh VM?
 
hm.. that's an idea
 
Friend does that
 
jQuery is so easy, browsers should really think to implement some inbuilt feature
 
Why?
 
7:39 AM
@Mr.Alien I agree
 
@Burhan micros.com
 
@Starsong I need some more RAM. :(
 
Then we'll have different browsers interpreting jQuery in different ways. And everyone will include the lib anyway.
 
@Mr.Alien No, in that case there will be jQueryjQuery that will hide differences between different jQuery implementations.
 
@Starsong well, they should keep a standard that will be maintained by jQuery org, and that will also help in getting rid of the bloated libraries
 
7:41 AM
@Starsong will it handle Mac osx ?
 
@Mr.Alien The VanillaJS library is already included in every browser
 
i.e. since it's a graphical os there may be troubles with RAM :\
 
@Mr.Alien That won't happen, especially in commercial browsers.
@AlmaDoMundo BTW, what are you going to develop?
 
@PeeHaa they should go for jQuery, I started JS few months back, reached operators, I just modified jqueries and I am already writing mini ones myself, it's that easy, it does a hell lot of job in few lines
 
@Leri one very simple application (some kind of reminder + scheduler for some organization )
 
7:43 AM
@Mr.Alien A few lines o0??
 
@Mr.Alien You should try vanilla.js, it supports more browsers
 
would anyone be interested in helping a newb setting up Symfony on wamp?
 
code.jquery.com/jquery-1.10.2.js <- More than a few lines I would say
 
@Leri I would like to disturb IOS room, but.. there too proud to listen to newbies and they have restricted access :p
 
@PeeHaa shorter code.. @Starsong let me check that out
 
7:45 AM
@AlmaDoMundo At the very brief look their doc is very newbie-friendly, so I doubt, you'll be having any problems.
 
@Mr.Alien Really there is really not that much jquery (the main package) provides over vanilla js
 
@Leri yes, docs are pretty good - I agree. But I've read till the point of xcode install
 
@Starsong even future browsers!
 
and realized that I'm under *nix (and I have no even Windows :\ ..) - so I don't know what to do
 
@AlmaDoMundo VM is your only option, or by mac?
 
7:47 AM
SO gives me sad answer that it's impossible to run xcode under *nix properly (only open-source part - which is basically, only core)
 
@PeeHaa but I still feel that even jQuery should be integrated..
 
@Leri - here:
50
Q: Is it possible to run Mac OS X in a virtual machine?

Frep D-OrongeI'd love to be able to try Mac OS X in a VM, preferable on something shiny and new like KVM for linux. I'm a Linux and Windows person, but I would like to try out Mac OS X without investing in the expensive hardware or accumulating yet another box to fit somewhere under my desk (read: no, I don'...

 
@Mr.Alien No way. That's like intergrating CakePHP into PHP core
 
lol
 
7:47 AM
- I've got an answer that it's not too easy to do this :p I'll try, of cause
 
@AlmaDoMundo But don't violate rules, otherwise @Starsong will complain. :p Well, just kidding. However it's really silly policy.
 
@Leri which rules?
 
@AlmaDoMundo "An OS X guest on non-Apple hardware is possible with some fiddling, but is in violation of the software's EULA (i.e doing so is of questionable legality..)" From here
 
@Leri I tried to run Lion, but what I see is just a bllack screen
 
@PeeHaa awesome, we need to RFC that
.. and it might actually succeed
 
7:51 AM
screw them all, let those who disagree go to the hell :p
 
@Leri though, there are some tutorials on youtube, I actually tried to run without a graphic card, I plugged in my 1 gig gc, now I will try to run that again
 
@Mr.Alien If I develop anything on iOS it will be game, so I'll use either corona or Unity, both give me possibility to develop and test on windows, so later I'll compile it for iOS.
 
@Leri than buy a new one :p
 
that goes to enabling kvm :\
 
@Leri Uhhhhhm wut. How are you going to test it on windows?
 
7:54 AM
@PeeHaa vm
 
@Mr.Alien vm of what? mac os?
 
@PeeHaa mac os on windows vm
 
Is that stable? If so pass me the disk please :)
 
@PeeHaa corona comes with own emulator that behaves close enough as selected platform, Unity has it's own player, so while development you can use that. Before release state what @Mr.Alien said.
 
@Starsong, I followed your example of setting the nginx folders. Now I can have multiple sites on one machine
Thanks!
 
7:57 AM
C:\Users\sara>php composer.phar create-project symfony/framework-standard-editio
n Symfony 2.3.0
Failed loading c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9-x86_6
4.dll
Could not open input file: composer.phar

C:\Users\sara>php composer create-project symfony/framework-standard-edition Sym
fony 2.3.0
Failed loading c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9-x86_6
4.dll
Could not open input file: composer
could anyone help me out?
 
@Leri wut? an iphone/ipad simulator on windows?
pics or didn't happen
 
Then you should take a look at Cake PHP ;) its OOP and MVC... — Stony 20 mins ago
some days it is not worth getting up
 
Wait.. which MVC is not OO? :D
 
@PeeHaa I am having 6.8 gig(approx) iso.. I tried to run that using vm, but it failed, I think because there was no graphic card plugged in, now I plugged in to play few games, will try it again tonyt
 
@PeeHaa Not really an emulator: coronalabs.com/products/corona-sdk
 
7:59 AM
@PeeHaa youtube.com/watch?v=MEJ9Lr59iJo <--- don't remember quiet well but I guess I followed this tut.. for a copy, you can get that on pirate
 
But enough though unless you do very platform-specific stuff. And in this case, you should not really use it.
 
> The Adobe Flash Player is required for video playback :)
 
hey guys .. what do you think: should autoloaders be able to load more then just *.php files, and if yes, then what API would you suggest
 
Does anybody Vim user here?
 
Everybody does. Either that or butterflies
Well I am sure this is not true:
> Go cross-platform with ease
 
8:02 AM
Every PHP developer must know how to exit Vim.
 
While testing on my Android it was behaving correctly and did not have any specific stuff but permission for vibration.
 
hello everyone
 
@tereško Why would you want to load other than *.php?
 
@Leri *.phar ?
 
can i ask a question on c and pointers... actually its two questions... i don't find a c chat room here and people at c++ are quite harsh
 
8:06 AM
Could Vim users here check this question about ‘autocmd’ and ‘augroup’ with ‘map {lhs} {rhs}’? stackoverflow.com/q/18998510/2007055
 
there is C room on FreeNode
 
@tereško Since it's not a hack or something and it's perfectly valid to have classes compressed there, I don't see anything wrong. But it's just me...
 
:( ok
 
@Leri Did you also test in one of the other 1999 devices in order to know how it behaves on 80% of the market ;)
 
8:07 AM
@blackbee Harsh, and so we did this
 
:)) nyc..
 
Mornings
 
@PeeHaa :)
 
@DaveRandom jo davester
 
Sup dawg
 
8:09 AM
Really android development reaaaaaaally sucks. @Leri I am totally an android guy but it just sucks monkey balls
 
yessss ... autoloader migration complete
 
@DaveRandom Did you do anything for your assignment yet yesterday?
 
@blackbee Could always ask on the main site.
 
@PeeHaa I started but I got interrupted, so in the interests of not cheating I'm going to start again from scratch later when I have 90 uninterrupted minutes to myself
Just emailing the guy now to tell him that
 
i can't ask questions... previously on my first day i posted very long bad php codes, i was heavily downvoted, i deleted one question and edited another... but still i was banned... @Starsong
 
8:12 AM
@PeeHaa Will keep that in mind. Still choosing platform. I am more comfortable with WP and Android, so more likely I will go for the first one. /me tries to learn market/
 
damn, irc chat clients saying my jdk plugins are outdate... i cant dwld jdk at 12kbps.. i know ppl here know pointers... plz allow me..
 
@Mr.Alien Hey, do you know of an easy way to control color transformations on a section of the page rather than just an element?
 
@blackbee 1) you are going off topic b) learn English
3) we are not a refugee camp for people with a question ban
10
 
right know i need to learn c ... english is good is good, c is better..
i dont understand why i am treated like a outcast everywhere..
 
@Jack elaborate a bit, what you want to do exactly..
 
@Mr.Alien I want to illuminate the center portion of a horizontal slider, so as you slide an item underneath it undergoes a colour transform.
Doable? =D
 
@PeeHaa Shouting HTTP REQUEST makes that so much better of a question title. It makes so much more sense now!
 
Guys. I've made a SEPA xml generator class a while back (direct debit stuff.. ) and I am wondering what you guys think about the class' 'usage' interface. Basically the addTransaction bit etc. Since I don't have any "more-senior" developers above me.. nobody can badmouth me when they feel my code is crap :) So please shoot at github.com/dovereem/php-sepa-xml
The factory pattern is actually only so chaining can be used
 
@DamienOvereem Your tests are missing :)
 
nice .. got new avatar in the ignore list
 
8:19 AM
thats one of my biggest failures indeed.. i'm still in the mindset that tests take me more time
 
@blackbee Whats the question?...
 
which is probably the case.. since i still have to get used to actually creating them in the first place..
 
Yes, I know pointers; no, I'm not going to spend all day explaining them.
 
sometimes it feels that adding people to ignores is like catching pokemon
 
8:21 AM
@blackbee Whatever your question is, please only ask it if this blog doesn't cover it.
 
@tereško I know I have an awesome avatar, but don't catch me just yet. I actually do value your oppinion every now and then :)
 
^ This
 
Does @tereško have any non-tiny avatars?
 
I cleared the list couple weeks ago
 
@DamienOvereem Why do you have an empty actor: github.com/dovereem/php-sepa-xml/blob/master/classes/…?
 
8:24 AM
@Starsong
1.
struct node{
    int data;
    struct node *next;
};
struct node *q;
//malloc
scanf("%d" &q->data);
how does the above line work
 
Guess because I thought i would need it at some point. No actual use. Guess i forgot to remove it
@PeeHaa unneccesary braces :)
 
Yeah that's what I said missing braces ;)
 
@Mr.Alien No, imagine a horizontally scrolled area and you want to highlight the middle element; of course, you can just set the middle element's opacity, but that doesn't look nice when you scroll another item into the middle; know what I mean?
 
guys I want to ask your opinion on something:
I'm (I guess) a fairly beginner to PHP. So far I'm used to using Smarty, flat PHP and PDO. My MVC-skills are discussable.
Since I'm working on bigger projects now, I'm looking into using Symfony. Do you guys think it's a good idea to start learning Symfony for me at this point? Or should I stick with an easier framework?
 
8:25 AM
hehe :) I kinda like it that way.. doesn't bother me usability wise. Don't know how many people are actually against that style..
 
So far it seems Symfony is hard to get into, to me at least
 
@DarkAshelin I tried to force symfony to authenticate against a rest service.. gave up after 2 days and went back to my own framework..
 
@DarkAshelin I'm using ZF and I'm happy :p
 
@AlmaDoMundo Zend Framework?
 
8:27 AM
is that easy to get into? and how does it compare to Symfony in functionality/efficiency?
 
I can not answer - since good answer may come only from the one, who used both of them
 
@DamienOvereem Looks pretty clean to me at first glance. Although I am wondering what php version you are targeting (because of the lack of real namespaces)
 
@DamienOvereem You're talking about this right?
 
@Starsong
2. In the program here: http://www.geeksforgeeks.org/queue-using-stacks/
where does &q->stack1 refer to. the address of *stack1? or the address pointed by stack1
 
@Jack yes, but my rest service uses a different authentication method. Modifying the "default" behavior to fit my needs was a pain in the arse.
 
8:30 AM
@Jack lol, hard time understanding your requirement, can you throw me a fiddle? ok, seems like after reading 5 6 tyms I am getting what you want, now do you want to hide this black portion when till the next slide comes in?
 
wow, first time I see coloured packet compilation console output :p (installing KVM)
 
@PeeHaa the Sepa_.. bit is just my naming convention. Namespaces could be used indeed, just don't see the need since my naming convention (taken from Zend) pretty much takes care of it.. Both would work i guess.
 
@Mr.Alien It would be a bit like how a magnifying glass would work.
 
@blackbee These questions look like homework. o.O
 
@DamienOvereem I know that convention, but it was a "hack" because PHP didn't support namespaces at the time
 
8:32 AM
@PeeHaa thank you for reviewing it though. I sometimes hate not having people around me to criticize my code
 
@Jack ohhh got it, wait
 
no, its not a homework actually i am trying to learn data-structures
 
@blackbee Why not write some code and run it to find out?
 
@blackbee Look at the signature of the struct and the signature of the function it is being passed to, and remember that & passes a pointer to the value instead of the value itself. If the value is itself a pointer, it passes a pointer to the pointer.
 
@PeeHaa True.. I think its just a habit. My autoloaders usually work with those names in the default namespace, reserving namespaces for modules ..( ie a Backend_User class in the Authentication namespace would be located in directory /modules/Authentication/classes/Backend/User.php )
 
8:34 AM
@Jack so the black box should scale the object behind in that particular area, so css cannot do that alone, if you want to go jQuery, if you want to scale that element, than you can use
 
could be done differently i suppose.. but so far it worked for me
 
that means something like.. *stack1=something; **pointer=&stack1...
 
do your own homework, there is no point in us answering the questions for you ...
 
@blackbee There is nothing here that you can't figure out by hacking a few lines of C out and running it through gcc -- asking someone else for the answer to a question you can solve is help vampiring.
 
8:36 AM
@Jack lol bad server 500 again, this time I just changed the php file, and added some text
 
@blackbee and it doesn't appear like you're trying, just pasting the questions here ... bad form ... I dunno why you are learning C, but I will take a stab in the dark and say it's probably a module you have no choice but to do, well there's damn good reason they use C for foundational studies, you want to build your career on solid foundations, so learn it your damn self ...
 
@Mr.Alien It's not about scaling ... hmmm
 
got that again, even if I make a single php mistake, instead of thrwing me an error, this website throws 500 always..
 
@Starsong i actually did write programs on stacks, queues(using linked list) , i got stuck at stacks using queues...
 
@Mr.Alien Read Apache's error.log then. :P You've probably got weird error handling settings.
 
8:39 AM
structures and pointers are a bit confusing for me :) .. well, i won't disturb nymore...
 
@Mr.Alien jsfiddle.net/LJzgh/1 .. whatever is in the red area should get a different colour treatment (but only the portion that intersects).
 
If you're using nginx, the reason for the error is that fcgi can't handle the crap your script is spewing at it (use Apache for dev).
 
@blackbee I'd be all up for helping if you had posted some code or asked a question not copied from a text book/question sheet ... try and work it out and pastebin where you get too, thats genuinely helping you, giving you the answers not so much ...
 
@Starsong I don't get error logs either.. sucky server read here and here
 
@blackbee eval.in <--- Use this.
 
8:40 AM
I'm going to maccy d's ... in a bit chaps ..
 
posted on September 25, 2013 by Mikko Koppanen

After some hiatus I’ve been getting back on fixing bugs on Imagick and getting the code into more representable condition. This hiatus has been a result of busy work schedule and getting a new start-up running in Kuala Lumpur. While fixing a bug related to clone keyword I came across the following resource: http://www.rubblewebs.co.uk/imagick/. The page contains quite a nice collection of Imag

 
@DamienOvereem No problem
 
@Jack ahaa, now I got you.. Nope, CSS cannot do that, the best thing you can do is jsfiddle.net/LJzgh/2
@Jack lets take out % for now jsfiddle.net/LJzgh/3
 
@Mr.Alien I'll just go with a positioned png with a cut out in the middle then :)
 
@Jack yea, that's better, css is still primitive..
 
8:50 AM
Gotta run, picking up my boy from school :)
 
@Jack :D tada..
 
ugh, my 2-minute-attentionspan isn't enough to read through tutorials/docs D:<
 
ok.. i am getting to understand..
is that only me who suffers from lack of creativity and confidence at programming or is that i have to practice more to be able to figure out solutions by myself?
 
Mac OSX + KVM under Linux = wizardy :s
 
@blackbee The latter. You need to practice more.
 
8:53 AM
:) OK commando
 
@blackbee The hardest part in programming is learning how to learn. Sites like SO have made it very easy to get the exact answer you're looking for without understanding WHY that answer is true, which has damaged the learning process for people.
C is hard to learn that way because the language is full of nuances that require you to understand internals.
 
you are right. although i read the basics about pointers, structures and pointers to structres, pointers and functions . i just get confused while implementing them in practice
 
Morning
 
@blackbee That's because they're confusing. Practice makes perfect.
@blackbee I use C++ on a daily basis and I still sometimes often have to experiment to work out how to do something. That's a part of programming.
 

« first day (1075 days earlier)      last day (3864 days later) »