• Content count

  • Joined

  • Last visited

Community Reputation

287 Excellent

About FrancisChung

  • Rank
    Sr. Member

Profile Information

  • Gender
  • Location
    Sydney | Seoul

Recent Profile Visitors

3,017 profile views
  1. You're right about XDebug slowing everything to a crawl. Have you tried these tricks involving the profiler and remote host?
  2. Great work TPR, I wrote some JS code to do this a while back, and it wasn't pretty ... at all. Thanks for this
  3. @Robin S , I haven't forgotten .... just been flat out recently. As you can see, I've programmed the side mouse buttons accordingly to my own usage patterns. The commands you see are for PHP Storm. Most/All of them are commands i use for debugging. I also have other profiles for different programs / IDEs as you can see on the top menu (Visual Studio, Diablo3 etc) Another interesting thing is there is a right mouse button you can click (G-Shift) which you can press to get an alternative set of comma. I've grouped out IDE editor commands here seperately. Also, it lets you have 3 different modes according to Colour which you can customise. You can see above that I'm currently in the default mode of Purple. There's a button at the top of the mouse that lets you cycle through other modes. Following picture shows the commands for the Red mode. I've put in some Web Browser commands in the Red mode for example. So it's a bit of work to program the commands you use and lay it out the way that's useful to you. I am happy to provide the profiles if anyone needs it, save you hours! The huge advantage of going through this process is you can just learn 1/2 set of layouts and you can use it on multiple IDEs , enviroments. My Visual Studio layout is almost identical to PHPStorm layout (bar some unique commands) so I know exactly where the StepOver or StepThrough commands are exactly. Perhaps overkill if you just use 1 IDE or program in 1 environment but if you're jumping around, then I don't know of a better solution than this. The only issue you might have if you're intrigued is sourcing the mouse. I think I've seen some go on sale on eBay still ...
  4. I stumbled across this on Github ... just breathtaking .... piece of history right there. A good place to brush up on your Assembly Language By the way, Margaret Hamilton who worked on the module is considered a programming genius.
  5. @Robin S, Just realised it might be better if I uploaded some sample configurations and screenshots to better illustrate my points. I can do it once my laptop returns from repairs.
  6. 3-4+ years I think. It took me a while and it was a bit of a stop/start journey, but I now have converted and can't go back. Ah fatigue & RSI. Luckily I've rarely suffered from it so far from coding touch wood. Only incidents I can think of late are after some epic FPS sessions involving Doom, Shadow Warrior & Killing Floor 2. Yes it is unavoidable and one shouldn't avoid it. Trouble for me was, I was switching back and forth between IDEs every few months and I would forget all the shortcut keys after a while, and some of them involve complex key strokes like multiple ctrl + key combos. If you take the time to setup a layout that reflects your workflow and usage pattern that is IDE agnostic or independent, then you can free yourself from remembering all the short cuts. Even if you do, it's much easier to look up what the button is then some obscure keyboard short cut hidden away in the layered menu structure. Great thing is it is programmable so you can program it to do anything. Funny enough you're the first person that showed any interest in it. I remember when I first saw the mouse, I got a sudden brainstorm and thought for using it to aid with my IDE situation. Certainly my MMO playing friends thought I was mad for getting a MMO mouse for that. I also recall people calling me mad for deciding to use Processwire for my first Website
  7. Haha, I might as join in too I use the Logitech G600 MMO Mouse exclusively. Why? Because of its programmable feature, you can program your most go-to keyboard shortcuts into it. It takes a little time to program it in, and more time to find a layout that suits you but just take your time with it. It's definitely worth it IMHO as you can eliminate all keyboard shortcuts making you more efficient. The best thing is you can upload someone else's mouse profile and use it so if anyone is interested in my PHPStorm layout, give me a shout. Before the MMO mouse was released, I used a Logitech G13 Keyboard for the same.
  8. Database Mocking :
  9. I was expecting some juicy gossip about Brad Pitt & Jennifer Aniston under those headlines .... 320 stars
  10. @szabesz, It's something that takes a long time to be really fluent with it. And don't try and fit every problem or situation into a Design Pattern as most people who start off with this topic inevitably get excited and try and fit every problem into one. The trick is to learn to identify when a problem seems like it can elegantly be solved by applying a suitable design pattern to it if one exists at all.
  11. Mastering PHP Design Patterns book from Packt Publishing is free for the next 22 hrs (as of time of posting)
  12. Try using a foreach loop if you're bad with arrays and loops. It will iterate through each member of a collection (or arrays) and you don't have to worry about setting it up initially or its exit conditions. The article I posted previously has an example of it. For further reading :
  13. @SamC Slightly off topic, but here's a good one for JS. gude-to-parameter.html P/S : the spelling mistake in the URL is as is. As you learn other languages, this is another area where there might be subtle differences between languages that could come back and bite you. (e.g. Java only does pass by value)
  14. An alternative could be to export to an XML format for Excel. But without knowing your exact requirements, it's hard to tell if it solves your problem. There's a detailed discussion here with sample code.