Thursday, June 16, 2011

Brief Notes on Enabling Samba in OpenSolaris

I've been experimenting with OpenSolaris again. I figured out how to enable my broken samba package: I discovered that, after installing the package with

pfexec pkg install SUNWsmbs SUNWsmba

I had to execute:

svccfg import /var/svc/manifest/network/samba.xml

I then copied /etc/sfw/smb.conf-example and modified appropriate values, and created a configuration file that was saved to:

/etc/sfw/smb.conf

Finally, I could enable the SAMBA server:

svcadm enable samba
(taken from: http://baitisj.blogspot.com/2008/07/quick-notes-on-enabling-samba-in.html)

Wednesday, June 1, 2011

Ubuntu nasty bug

pam update causes cron to stop working with "Module is unknown" error

https://bugs.launchpad.net/ubuntu/+source/pam/+bug/790538

Thursday, May 19, 2011

C# Intrinsic data types

The intrinsic types

C# type Size (in bytes) .NET type Description
byte 1 Byte Unsigned (values 0-255).
char 2 Char Unicode characters.
bool 1 Boolean True or false.
sbyte 1 SByte Signed (values -128 to 127).
short 2 Int16 Signed (short) (values -32,768 to 32,767).
ushort 2 UInt16 Unsigned (short) (values 0 to 65,535).
int 4 Int32 Signed integer values between -2,147,483,648 and 2,147,483,647.
uint 4 UInt32 Unsigned integer values between 0 and 4,294,967,295.
float 4 Single Floating point number. Holds the values from approximately +/-1.5 * 10-45 to approximately +/-3.4 * 1038 with 7 significant figures.
double 8 Double Double-precision floating point; holds the values from approximately +/-5.0 * 10-324 to approximately +/-1.8 * 10308 with 15–16 significant figures.
decimal 12 Decimal Fixed-precision up to 28 digits and the position of the decimal point. This is typically used in financial calculations. Requires the suffix "m" or "M."
long 8 Int64 Signed integers ranging from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
ulong 8 UInt64 Unsigned integers ranging from 0 to approximately 1.85 * 1019.

Tuesday, April 26, 2011

Adriana Zarri, epitafio

«No me vistan de negro: es triste y fúnebre. Ni de blanco, porque es
soberbio y retórico. Vístanme de flores amarillas y rojas, y con alas
de pajarillos. Y Tú, Señor, mira mis manos. Tal vez me han puesto un
rosario, o una cruz. Pero se equivocaron. En las manos tengo hojas
verdes y sobre la cruz, tu resurrección. No coloquen sobre mi tumba un
mármol frío, con las mentiras acostumbradas para consolar a los vivos.
Dejen que la tierra escriba, en primavera, un epitafio de yerbas. Allí
se dirá que viví y que espero. Entonces, Señor, tú escribirás tu
nombre y el mío, unidos como dos pétalos de amapolas».



Non mi vestite di nero:
è triste e funebre.
Non mi vestite di bianco:
è superbo e retorico.
Vestitemi a fiori gialli e rossi
e con ali di uccelli.
E tu, Signore, guarda le mie mani.
Forse c’è una corona.
Forse
ci hanno messo una croce.
Hanno sbagliato.
In mano ho foglie verdi
e sulla croce,
la tua resurrezione.
E, sulla tomba,
non mi mettete marmo freddo
con sopra le solite bugie
che consolano i vivi.
Lasciate solo la terra
che scriva, a primavera,
un’epigrafe d’erba.
E dirà
che ho vissuto,
che attendo.
E scriverà il mio nome e il tuo,
uniti come due bocche di papaveri.

Adriana Zarri
(1919-2010)

Monday, April 18, 2011

50 years old

Bonhoeffer: “Who Am I?”

Who am I? They often tell me
I stepped from my cell’s confinement
Calmly, cheerfully, firmly,
Like a squire from his country-house.
Who am I? They often tell me
I used to speak to my warders
Freely and friendly and clearly,
As though it were mine to command.
Who am I? They also tell me
I bore the days of misfortune
Equally, smilingly, proudly,
Like one accustomed to win.

Am I then really all that which other men tell of?
Or am I only what I myself know of myself?
Restless and longing and sick, like a bird in a cage,
Struggling for breath, as though hands were
compressing my throat,
Yearning for colors, for flowers, for the voices of birds,
Thirsting for words of kindness, for neighborliness,
Tossing in expectation of great events,
Powerlessly trembling for friends at an infinite distance,
Weary and empty at praying, at thinking, at making,
Faint, and ready to say farewell to it all?

Who am I? This or the other?
Am I one person today and tomorrow another?
Am I both at once? A hypocrite before others,
And before myself a contemptibly woebegone weakling?
Or is something within me still like a beaten army,
Fleeing in disorder from victory already achieved?
Who am I? They mock me, these lonely questions of mine.
Whoever I am, Thou knowest, O God, I am Thine!

D. Bonhoeffer
March 4,1946

Sunday, March 13, 2011

1st Sunday in Lent

I appeal to you therefore, brothers and sisters, by the mercies of
God, to present your bodies as a living sacrifice, holy and acceptable
to God, which is your spiritual worship. Do not be conformed to this
world, but be transformed by the renewing of your minds, so that you
may discern what is the will of God--what is good and acceptable and
perfect.
[…]
Let love be genuine; hate what is evil, hold fast to what is good;
love one another with mutual affection; outdo one another in showing
honor. Do not lag in zeal, be ardent in spirit, serve the Lord.
Rejoice in hope, be patient in suffering, persevere in prayer.
Contribute to the needs of the saints; extend hospitality to
strangers.
-Romans 12:1-13 (NRSV)

Encourage one another and build up each other.
-1 Thessalonians 5:11 (NRSV)

Prayer
Thank you, God, for your amazing love and for sending people to
encourage us when we need it. Help us to be channels of support and
encouragement for those around us. Amen.

16 El que se bendijere en la tierra, en el Dios de verdad se
bendecirá; y el que jurare en la tierra, por el Dios de verdad jurará;
porque las angustias primeras serán olvidadas, y serán cubiertas de
mis ojos.
17 Porque he aquí que yo crearé nuevos cielos y nueva tierra; y de lo
primero no habrá memoria, ni más vendrá al pensamiento.
19 Y me alegraré con Jerusalén, y me gozaré con mi pueblo; y nunca más
se oirán en ella voz de lloro, ni voz de clamor.
19 Y me alegraré con Jerusalén, y me gozaré con mi pueblo; y nunca más
se oirán en ella voz de lloro, ni voz de clamor.

Isaiah 65