Archive

Posts Tagged ‘zen’

2009 final considerations. 2010 year of the Phoenix?

January 1st, 2010 bodom_lx No comments

About a year after the creation of bd-theme-zen Wordpress theme, I decided to switch to a new theme. The new theme is monochrome

The reasons behind are simple: unfortunately, 2009 has totally been not a Zen year for me. Many things have not gone as I thought they should have been. Many other important things have been melted. Lot of things have changed.

I hope 2010 will be the year of the Phoenix, in which everything aggressively changes again and turns better. For everyone, for sure.

Therefore, I decided to switch to a new theme, monochrome by mono-lab.net. This theme is very modern, yet minimalistic and elegant. And surely, more nice-looking than those themes written by me.
I’m still happy with bd-theme-zen, I liked its initial orange version and I appreciated the glacial blue one I decided to switch to around August (the color switch was also significant for me).

But this is not time for being Zen. It is time to be reactive.

I wish everybody a fucking explosive 2010.

For those of you asking if I was spending my time to write this post on 2009-12-31 at 00.00: I wrote this post on 2009-12-26 and scheduled the publish to the beginning of the new Year.

Related posts

Dycapo, road to 0.0.1

December 25th, 2009 bodom_lx No comments

I’m doing some refactoring to the code and writing some useful documentation for the first pre-alpha-dontuse version of Dycapo (a.k.a. DyCaPo – Dynamic CarPooling system).
Dycapo 0.0.1 will only be for illustrating some functionalities of the system and the integration of the technologies.
The following is an explanation of our version codes:

  • 0.0.x releases are all pre-alpha-dontuse releases, to only illustrate some functionalities.
    API will likely change very often.
  • 0.x.x releases are still alpha-releases, that cover some internal development cycles but have
    important features that will appear on a stable releases. API for the important parts of the
    project will likely not be changed.
  • 1.0.0 will be considered a stable release that can be used for testing in a small reality. API
    will be frozen.

Related posts

2009 is a Zen year! Announcing BD-theme Zen

January 5th, 2009 bodom_lx No comments

2008 has been a

chaotic, beautiful, uncertain, loving, annoying, sad, inciting, exciting, claustrophobic, happy, insecure, agoraphobic, free, ugly, closed, wild, lonely, impetuous, serene, safe

year for me. It has been a year of changes.

I would like to enter this new year in a Zen way. I would like 2009 to be a year of tranquillity and serenity.
I want to free me from heavy, non-important details. I want to be more minimalist.

I want to focus on essence rather than on appearence.

While I’m preparing to act in this way, you can enjoy mi first step, the most easy one: a new Wordpress theme.
You can see BD-theme Zen working on my blog, but you can also download it and modify it under the Gnu GPL license (v.3)

Enjoy.

Related posts

BD-theme-zen

January 5th, 2009 bodom_lx No comments

BD-theme Zen is a minimalistic, imageless, 2-columns, orange Wordpress theme.
Its clean design was inspired by the great style of Dean Lee blog. The theme was quite written from scratch, using Chris Nolan’s modified version of the default WordPress theme as codebase, that is optimized for viewing at 1024 pixels and adds sidebars on pages and posts.
BD-theme Zen is thought for focusing on the content of your posts while maintaining a delicious but clean aspect.

BD-theme Zen Screenshot

BD-theme Zen Screenshot

Features:

  • Minimalistic, clean, zen design. Following Plaintxt principles
  • Imageless, lightweight, fast
  • Content separated from funcionalities: big menu on top and classical menu on right side
  • Wide space for content: thought for developers who post code snippets
  • Ready for Wordpress sidebar, but also uses custom widgets (called BD-widgets)
  • BD-widgets are just blocks which integrates default wordpress functions and html
  • Tested with every famous browser: IE7, IE8, FF3, Chrome, Opera 10

Download:

License:

BD-theme-zen is released under the GNU GPL v3. See the source code or http ://www.gnu.org/licenses/ for details.

Related posts

BD-shell 1.0.0 RC2 is out! Processes in background are dangerous

September 13th, 2008 bodom_lx No comments

Release Candidate 2 for my C shell is out. This is a real release candidate, code is frozen and hopefully this one does not have serious bugs like RC1. As you may know, RC1 has been retired because of a bug causing a segmentation fault when launching short commands in background. Let’s see why this happened. The following schema summarizes what happens when a program in background is launched:

Schema for BD-shell, anatomy of process handling

Schema for BD-shell, anatomy of process handling


As you see, there is a non-synchronous function that is called when the child exits, the SIGCHLD handler.
What if the background command is very short, like ls? It may happen that SIGCHLD is thrown before the job object creation. Bdsh RC1 did not manage this case, and crashed. RC2 fixes this and does not have relevant bugs according to my definition of 1.0.0 release.

Finally, go and grab the code!

Related posts

Object Oriented Memory Management

March 19th, 2008 bodom_lx No comments

Major Update on 10th April 2009, inclusion of C++ programming language!
Updated on 18th April 2008, a complete example on stack and heap
Updated on 15th April 2008, new contents and new layout!
Updated on 6th April 2008, new contents!

The paper you can download from here is about a model for memory management during the execution of programs written in Java and C++.

It started on March, 2008 as a summary of the lecture notes of both the “Programming Project” and
“Software Engineering Project” courses held by professors of the CASE (Center for Applied Software Engineering) of the Free University of Bolzano – Bozen.

The first versions of this publication were only about Java memory management.
Subsequent revisions added information found on other sources. Unfortunately, the author forgot to
reference the sources on the document.

On March, 2009 the author began to add the information about C++ programming language. More
information from other sources were added, including their attribution.

The biggest source of this document is still the set of presentations of CASE.
The code snippets and their corresponding stack/heap diagrams are copied in full from those of the
slides.

The next major revision will contain original images (not belonging to CASE slides), as well as other code
snippets that I could find more clear than those of CASE.

If you find that this document contains information taken from one of your publications, please
contact the author, that is willing to either delete them from this document or to add an attribution to
your work.

Download the PDF of the summary

Table of Contents:

  • The model
  • Code load and execution
  • Activation Record (AR)
  • Contents of the Activation Record
  • Abbreviations for
  • Declaration vs. Definition
  • The scope of a variable
  • Extent of a Variable
  • Blocks
  • Scope Activation Record (SAR)
  • Example on SAR
  • Role of SLs
  • Dynamic Memory Allocation And Handling
  • Dynamic Vs. Static memory allocation
  • Dynamic Memory Scope and Extent
  • Accessing dynamic memory
  • Classes
  • Objects
  • Object instantiation
  • Objects in Memory (Java)
  • Objects in Memory (C++)
  • Memory Management issues (Java)
  • Memory Management issues (C++)
  • Methods
  • Methods (Java)
  • Methods (C++)
  • Attributes
  • The null value (Java)
  • The NULL value (C++)
  • Parameter
  • Parameter Passing (Java)
  • Example of parameters passing (Java)
  • Example of parameters passing (Java), continued
  • Parameter Passing (C++)
  • Example of parameters passing by value (C++)
  • Example of parameters passing by reference (C++)
  • Pointers vs. Parameters (C++)
  • Previous example using pointers (C++)
  • Constructor
  • Inline initialization
  • A constructor’s call (Java)
  • Class attributes
  • Example of class attributes (Jav)
  • Example of class attributes (C++)
  • Class Method
  • Example of Stack/Heap Diagrams in Java
  • Code
  • Stack Diagram
  • Heap Diagram
  • Memory portions assigned to a program (code area, heap / dynamic memory area), execution stack
  • How code is loaded in Java
  • The Activation Record (AR) and function calls
  • Abbrevations (AR, RV, RA, SP, N/E, @, ??, arb)
  • Examples on method calls and activation records usage
  • Declaraion vs. Definition of a variable, the scope of a variable, blocks
  • Scope Activation Record (SAR), Static Link (SL), the role of SL
  • The extent/lifetime of a variable
  • Dynamic memory allocation and handling
  • Dynamic vs. Static memory allocation
  • Dynamic memory scope and extent
  • Accessing dynamic memory
  • Classes and Objects in detail, object instantiation
  • Memory Management issues
  • Objects vs. Variables (definitions)
  • Methods of Objects
  • Class Attributes
  • The null value
  • Parameters (formal, actual), parameters passing (by reference, by value)
  • Constructors and Inline Initialization
  • Constructor’s call
  • Class attributes (static variables)
  • Class methods (static methods)
  • Complete Example of Stack/Heap Diagrams

Everything is integrated with simple examples.

Download the PDF of the summary

Related posts