The Code Ship

Sailing through a sea of code

  • General3
  • Deployment1
  • Web Development4
  • Algorithms1

  Subscribe in a reader
  Subscribe via email

Blog by Ayman Farhat. Built with Django.
  • 6 days, 16 hours ago

    Serializing a Function's Arguments in Javascript

    At many instances when doing Ajax requests in Javascript, a serialize function comes in handy for creating a string in standard URL-encoded notation for the request parameters. The most widely used serialize function is that of jQuery which works great on forms. But what if the request is not based ...

    • #javascript
    • #serialization
    • #functions
    • #parameters

    Read more ▼

  • 2 weeks, 2 days ago

    Quality Computer Science Education for Free? Yes Please!

    Recently I have been following a couple of online courses on Coursera and udacity, and I must say the quality of the material is really good. Browsing through several programming and computer science courses you can notice that the quality of the material is at least as good as many ...

    • #science
    • #coursera
    • #free
    • #udacity
    • #computer
    • #education

    Read more ▼

  • 2 weeks, 3 days ago

    New Version of the Blog is Out

    Hello everyone, as you can see I have just rolled out a new design for this blog, the old one was nice yet had some evident problems in terms of UX, layout and colors. So I decided to revamp it into this. The new blog design is simpler, the layout ...

    • #new
    • #version

    Read more ▼

  • 1 month, 2 weeks ago

    Methods Within Constructor vs Prototype in Javascript

    At many instances when working with javascript objects, different pieces of code can give the same result on the surface yet underneath they could be different. One scenario is when adding methods to your Javascript "classes". First of all lets agree on the fact that there are no classes in ...

    • #prototype
    • #methods
    • #constructor
    • #performance

    Read more ▼

  • 1 month, 2 weeks ago

    Exercise: Alien Language Pattern Matching

    As part of my programming workout I was going through some nice Google code jam exercises and came across an interesting exercise from the 2009 qualification round related to matching words against patterns. Not hard but interesting to solve. The problem You can read about it in detail here. In ...

    • #pattern
    • #codejam
    • #exercise
    • #matching

    Read more ▼