Thinkathon BLUEs
Walk with Blue
Walk with Blue
Jan 22nd
Last Thursday I planned to update my personal website but as I have gone through it, I cannot access it. I tried to reach my hosting and asked them if they did have a problem with their server. I accessed the other domain which I hosted at the same hosting site, but gone smoothly. I first think that the server where in my site was hosted was down. My hosting customer service agent did answered me the next day. Asking me what is my ISP, told him I got Sun Broadband Wireless. He mentioned to try changing my IP address on my Sun Broadband setting. Here’s how:
1. Go to Start then Connect to
2. Click Sun Broadband Dial-up
3. Go to Properties

If ever you had a problem accessing some websites on your Sun Broadband internet, try doing this.
Jan 7th
What’s ARM by the way?
ARM is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by ARM Holdings. It was known as the Advanced RISC Machine, and before that as the Acorn RISC Machine. The ARM architecture is the most widely used 32-bit ISA in terms of numbers produced.[1][2] They were originally conceived as a processor for desktop personal computers by Acorn Computers, a market now dominated by the x86 family used by IBM PC compatible computers. The relative simplicity of ARM processors made them suitable for low power applications. This has made them dominant in the mobile and embedded electronics market as relatively low cost and smallmicroprocessors and microcontrollers.
This is the first real device coming to market with ARM technology. By the way, it runs on Linux.
Lenovo will launch and invites us to put in the groove as we await this netbook, with their Lenovo Skylight
model, as Engadget reports. Flat rounded device will be available in the US this April. I don’t know when they will be launched here in the Philippines, lets just wait and see as Lenovo Philippines unveils this here. It cost American people about $500, possibly even lower if a 3G arrangement with AT&T works out.
Lenovo, per its press release, should make the device available in China and Europe later in the year.
The Linux system developed by Lenovo, but not further specified, displays some rather nice gadgets on its screen, 18 of which should be preloaded on the device when it comes out April 18. The integrated ARM processor is rated at 1 GHz, although it’s not clear from the specifications whether it applies to the single- or double-core processsor version
Nov 27th
URL: http://code.google.com/p/codeleanrefactoringseminar/downloads/list
How should you refactor your code?
* Incremental refactoring & the Boy Scout rule
* “Leave the campground cleaner than when you found it”
* Code quality
Code Rot & Technical Debt
Code rot – the decay in software that occurs as a result of not updating your software in respect to the changing environment in which resides
Technical debt – The situation that occurs when you opt to postpone some development activities in favor of a shorter release date.
“Agile – the power of moving quickly and easily; nimbleness: exercises demanding agility“
Does being agile means that you get your product out the door as fast as possible?
* Yes..even if its substandard it is still being agile..
Would you deliver a “squirrel burger” if it meants that you could make the deadline?
Is having a technical debt a bad thing?
* Its tactical decision.
True meaning of Agility
* Agility is measured by the speed of change, not the speed of delivery
How do you know if your code is suffering from code rot?
* immobile
* obscure
* rigidity
* fragility
* Dispensible
How do you know if your code is suffering from a code rot?
Code quality – your code base that many bad code smells.
Development effort – it is becoming more and more difficult to understand.
- take more time to work on the same parts of the code in your system.
Productivity – more difficult to change, developers missing deadlines.
Strategies for Code rot
* automated unit tests
* code reviews
* continuous code write
What if theres too much technical debt in your project?
* Rewrite vs. Refactor
* Depends on the time
What happends to shops that don’t refactor?
* The dead sea effect
* code quality drops
* senior developers quits. they can no longer maintain program
* morale in the shop drops. seniors quit.
* New hires come in, new developers don’t stay because of code quality.
* The big ball of mud
* in many case, systems with large technical debts devolve into systems with no discernible architecture or design (aka the “Big Ball of Mud”)
* common in development shops that suffers from the dead sea effect.
* prevent your application from becoming a BBOM by continously refactoring your code.
Refactor or Rewrite?
* rewriting solves the symptom, not the root of the problem
* the real problem is that there is no refactoring.
* The BBOM is the symptom of bad development practices.
* You should only rewrite a system if:
* The system does not work at all
* It is cheaper to create a new system than to maintain the exsiting system
Beware of the Second System effect
* The second system effect is the tendency for developers to redesign a successor system into giant..
The tale of the Squirrel Burger
What would you do?
* For me, I would do give them the squirrel burger for I am thinking of the sales not the quality of burger we have.
Would you serve it?
Answers:
Reckless/Deliberate
* We don’t have time to design?
Prudent
* we must ship now and deal with consequences
* Now we now how we should have done it
Inadvertent
* What’s layering?
Anatomy of a Software Development “Squirrel Burger”
* No Documentation
* Nobody understands how the system works.
* The shop is “agile” so they decided to document
* Low Code Quality
* Inefficient Development Proccess
If it isn’t broken, then why should we even fix it?
* Refactoring as defect prevention
* refactoring makes code easirer to understand and that makes it easier to find bugs on your code
Why refactor our code if the client doesn’t pay us to refactor?
* Refactoring and the story of Louis Pasteur
* During Pasteur’s time, the concept of washing your hands before an operation was thought to be rediculous
* Refactoring is something that clients rarely ask for.
Refactoring Part II
*fizzbuzzzzbaz coding*
The two values of software
* Function
* Form
Some Bad Code smell Examples
* Contived complexity
* Bad design they want to try out.
Single Responsibility Principle
Many bad code smells inviolate this principle.
Its should do only one and one thing.
Does the following code violate the SRP?
Examples:
* Statement-level examples
* Method-level examples
* Class-level examples
Bad code Smells
The Couplers
* siamse twins, kill one affects the otherother
The Bloaters
* Class, that no one undestands it
Object Orrientation Abusers
* Program code they still writing C. Ugly code structure.
Nov 19th
This video provides us a sneak shots of Adobe Photoshop CS5. These were some tricks we can do that are being developed by ‘Photoshop Labs’. It includes painter-style brushes, a new warp tool and more.
The new brush tools is like what Corel Painter application have. As we can see on the video, there is a wet paints being smiuged, and blended. We saw another new tool, warp. Pretty cool though! We can now edit pictures even man’s actions. A similar system After Effects’ Puppet tool has been added to Photoshop CS5, enabling artists to warp image by placing pins into areas to lock them down, then moving the areas around them.
Comments list