When you push a branch to a remote branch that has been updated by someone else in the meantime, without doing a pull before to update your local working directory, you will get the follow error:
$ git push
To ...
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '...'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
Continue reading
Author Archives: remkohdev
Herman Hesse, Siddhartha (1922)
Herman Hesse, Siddhartha (1922), 122p.
Siddhartha is the son of a Brahmin, who wanders into the wood to become a Shramana, renounces all ideology and teaching, returns to the world, to reject the secular riches he accomplished again and becomes a simple sage, spending his life as ferryman on the river.
Siddhartha rejects the Buddhist teachings of achieving nirvana through breaking out of Samsara, the cycle of desires. Instead Siddhartha embraces his desires, first his intellectual wanting as a Shramana, then his physical desires as the lover of Kamala and a rich trader, finally as father of his son. But only when he becomes a child again, when he no longer seeks, and therefor finds, does he find peace in the thoughtless unity of Om.
There are elements of Nietzschean and Heracleitan philosophy in Hesse’s story about an Indian sage. Siddhartha undergoes the three transformations of man according to Nietzsche from camel, to lion, to child. And the Heracleitan metaphor of the river forms the central Leitmotif in the wanderings of Siddhartha. The story lacks as in every story by Hesse the emotionally convicting human empathy and is a ideological story based on intellectual ideas. Hesse totally lacks the capacity to understand others as do Dostoevsky or Kazantzakis, and as Hesse lacks this capacity in his writing, so does his character Siddhartha lack the capacity to love. Siddhartha is worth reading because it’s a short read and it’s a great philosophical refute of Buddhism.
The ideological capture of the book is that only those who stop searching will find what they seek, we are all constantly changing, there is no single path to truth for all, each we must walk our own to find our peace.
Eric A. Kandel, The Age of Insight (2012)
Eric A. Kandel, The Age of Insight (2012), 508p.
On April 16, Eric Kandel spoke at the Rubin Museum about his new book ‘The Age of Insight.’ The dialog between Prochnik and Kandel was lacking poignant questions, but Kandel’s personal history and his love of talking, so typical for a man his age and standing, or his art of story telling was both highly amusing and slightly obnoxious. I decided to buy and read his book because I love the encompassing space of art, science and the mind. Kandel is a charming and inspiring man of age and an accomplished neuropsychiatrist who in 2000 won the Nobel prize for his work on memory storage.
Kandel was born in 1929 in Vienna and escaped the Nazi terror with his family in 1938. Kandel’s book traces back the Fin de Siecle of Vienna and in a way re-invents his own life as he seems to imagine it. He looks back on his personal history and the history of the science of the mind, the two paths merge in the course of Kandel’s career. Kandel happily borrows from this magnificent era in Viennese history to write about a science of beauty. Continue reading
Rhino: Hello Rhino
Mozilla Rhino is a scripting engine for running JavaScript in Java.
Installation
Download the latest Rhino version from the Mozilla site at http://www.mozilla.org/rhino/download.html. Unzip the Rhino files to your Java libraries directory, e.g. c:\dev\java\mozilla. Look for the js.jar archive and include it in your CLASSPATH environment variable or in the CLASSPATH setting of your application.
On Mac edit your ~/.bash_profile file:
PATH=$PATH
CLASSPATH=$CLASSPATH:/Users/nl11087/dev/java/rhino1_7R4/js.jar
export PATH CLASSPATH
Continue reading
the marriage of aphrodite

from the eastern crest of the setting eve
a wave of crystal particles like foam diverge
its shining stars wash ashore of ithaka
and curl in the green room of night
it is still and it is dark here
beauty greater than gold transits before a churning fire
so bright and large that it blinds our sight
her eyes sparkle married in heaven lit for only man to see
that we are wrapped in celestial embrace for lasting good
until death lands the kiss upon our fragile lips
with the salty taste of the sea that once gave birth to love
now gives birth to an eternity greater than man can love
there is written in the sky
only love can guide us through this night
and deliver man to womans thighs
RESTful (1): What is REST?
The term representational state transfer was defined in 2000 by Roy Fielding in chapter 5 of his doctoral dissertation Representational State Transfer (REST). REST is nothing more than the description Fielding defined in his dissertation. There is and will be no RFC or a specification for it by an authoritative organization. REST is mostly based on HTTP but can be based on other protocols. Fielding is also one of the principal authors of the Hypertext Transfer Protocol (HTTP) specification versions 1.0 and 1.1.
A RESTful web service (or RESTful API) is a web service implemented using HTTP and the principles of REST with the following four aspects:
- base URI for the web service
- media type of the data, e.g. JSON or XML
- set of supported operations as HTTP methods (GET, PUT, POST, DELETE, etc)
- hypertext driven API
REST architecture describes the following six constraints:
- separation of concerns between client and server, e.g. client is responsible for UI and server for data storage.
- stateless, each request must include all information to service the request
- cacheable client to prevent unnecessary client-server messaging
- code on demand (optional), server should be able to extent client functionality by including client-side code
- uniform interface, four guiding principles:
- identification of resources, e.g. using a URI
- client must have enough information to be able to manipulate the resource representation
- self-descriptive messages
- HATEOAS, Hypermedia as the engine of application state
REST vs SOAP
| REST | SOAP | |
| typing | weak | strong |
| requires message header | no | yes |
| requires XML parsing | no | yes |
| error handling | HTTP | user defined |
| asynchronous support | no | yes |
| stateful | no | yes |
Death in Venice
Two days between these walls of palaces
I rushed past the dead beauty that stood
like erect monuments to fleeting strangers
Chased by the shadows of old loves
Among those bright colors I smelled death
With its gay stare and gentle smile
The sun beating high above my sweated forehead
Whipping the fear into my lonely heart
That I am lost in this labyrinth of bridges
fleeing from island to island
from embrace to embrace
My sweet Selene where is the bridge
from which I jump into the abyss
E.B. White, Here is New York (1949)
E.B. White, Here is New York (1949), p.65
John Fante, Ask the Dust (1939)
John Fante, Ask the Dust (1939), 165p.