Thursday, January 02, 2020

list manager

list of things that go into each project,  with temporal or logical associations
a list of items in other lists, so that it forms a sequence to achieve

Fundamental mistakes - part 2


----contd

I guess the idea was that having the ingredients in place would make the dish appear magically, eventually. It was not like I was trying to avoid the cooking part.  What was missing was the 'making it happen' task, which is largely figured out and can never be written down.

The  advantage of the affiliate marketing idea is that the inventory is free , and the actual heavy lifting, such as handling orders, shipping, payments etc is borne by the merchant. So all you need to do is handle search . The problem is no one will come to you .



Saturday, December 28, 2019

Gerald Weinberg

When I did get Systemantics, what struck me as valuable was the treatment of systems as an entity in itself.  However, the work was a spoof, and the original being spoofed was most probably this one -



More from the author, of note, and in my reading list :

- Intro to general systems thinking
- psychology of programmer
- secrets of consultants
- design of stable systems
- series on Quality Software

The works on software and consulting are a much needed manual that's been missing for years. Oreilly Safari has a couple of titles. 'Managing expectations' seems to be a message from the universe.

Amazon has some, but are super expensive. Leanpub seems to have jumped into the fray, with $9.99 versions of all the needed ones.

[Skip intro]
To compare and contrast our early preoccupations -
Ashby :Design for a Brain ,
as well as
Ashby : Introduction to Cybernetics
Norbert Weiner's books on cybernetics

and honorable  mentions of  the appetites of the past, we never got past the menu
 metastate transition   ( The Phenomenon of Science : Valentin Turchin's ) ,  autopiesis (Maturana, Varela )...
Cliodynamics, Guns-germs-steel, Tainter -Collapse of Complex Societies - we were looking for seldonomics, vaguely.



[weinberg on writing]
1. Don't write on what you don't care about
2. people will tell you to write on what you know, ignore them
3. smarter  person are    unhappier.  The  cure seems to be self-expression. If you can't sing, dance,write or play an instrument, writing is pretty good

Sunday, December 22, 2019

story -draft v1

".. is a loser who loses at losing, still a loser  ? "
asked Douglas Hofstadter, thoughtfully chewing a
bread stick..

"There are no paradoxes in nature."  replied John Galt,
shaking his head, face set and grim. 

He retrieves something from a pocket and gives it to
Douglas, who looks at it suspiciously.



It turns out to a card, with a black-and-white picture of
a woman with short 80s hair , and 
"Examine your premises carefully" printed at the
bottom, in gold letters. 

The letters glow mysteriously.



Douglas pushes back his chair, stands up, and walks t
o the bar, holding the card. 

He picks up a flashlight and a poker and wanders off. 



Bertrand Russell distractedly watched him go .

 He turned back to the papers on the table, scribbled
something angrily, and threw the pen down
in a fit of anger. 



"I have to check something in the library,"  he says,
and rushes off to the stairs.



"Let us say, there are two doors guarded by one guard
each, the first one always wins, and the
second one always loses..." , starts Raymond Smullyan.



In a dark corner of the room , Kurl Gødel rubbed his
hands gleefully.   



"You are technically correct, the only kind of correct !",  he said. Everyone gave a start, and turned
to look at him.



"Wait. my puzzle is incomplete !" says Smullyan



"Yes!! ",  cackles  Gødel,  "It is !!".  He turns to look
towards the piano  and nods at the player ,who
begins playing something gloomy and foreboding . 

As if on cue, lightning flashes through a window, 
illuminating a woodcut hanging above the pianist.
Thunder crashes far off. 

In the roaring emptiness outside, mist starts to roll ,
visible only through the front windows of the bar.



A bearded man sits next to Gødel, seemingly lost
in thought. He is staring at the wall unceasingly,
his beer and peanuts untouched. 



A knock on the door. A head poked itself through
the gap. 

“Courier to pick-up the order”,  a voice with a slightly
nasal twang, loud enough . 



It looks at Simon, who gets up and walks over to a
machine kept in the darkest corner of the room.
It looks like a cheap espresso machine, and is
painted black, and has  “Sodre Speed” etched in in
dull gold on the side. He pours a dark brown fluid
through a vent at the top, and cranks the lever
a few times. The machine starts whirring .

“It’ll be fast, “ says Simon, pulling out a slip of paper
from his pocket and clacking some buttons on
the machine. In a while, a sheet of paper slides itself
out of the machine, is pulled off by Simon,
who hands it to the courier.
The courier folds it carefully, inserts it into an envelope ,
which he places carefully in his
leather map-case, touches his cap, and leaves.


references

- https://en.wikipedia.org/wiki/G%C3%B6del,_Escher,_Bach
- https://www.brainyquote.com/quotes/ayn_rand_163204
- https://en.wikipedia.org/wiki/Principia_Mathematica
- https://en.wikipedia.org/wiki/Herbert_A._Simon
- https://files.eric.ed.gov/fulltext/EJ743541.pdf








Tuesday, August 20, 2019

It's only Tuesday morning and I'm wondering if can go somewhere and get sloshed.

Saturday, July 20, 2019

All of you trying to lose weight, 2020 is going to be your year !!
With weather patterns swinging more and more each year, crop failures will raise food prices so much that you'll have no money to buy food, and then  food riots and revolutions  will start happening regularly, and y'all'll get all the exercise you need  running away from cops  during demonstrations. That healthy  perfect 25 BMI ( 23 for south asians) is inevitable !!!

Thursday, July 18, 2019

me : this is a milpitas pine cone
neighbour : oh  , is it special ?
me: yes, it grows only on one area of milpitas
neighbour : really ? wow !!
me: yes, that 's because the tree is there no .....


persians have a culture of wine and poetry
creativity, like the sphincter , depends on looseness , business is the opposite

Friday, June 28, 2019

my review of neal stephenson's snow crash

Every once in a while there comes a story that is so real that it is difficult to distinguish between the story and reality, and it continues to be so for a hundred years . With technology, a hundred years is covered in ten years, and in this , Snow Crash stands up to the challenge. Written whenever,  it remains real wherever you go today, with criminal corporations, suburban enclaves, runaway inflation , immersive 3d worlds with their own currency and cultures, large governmental organizations building software , large scale exodus and refugees & media preachers, ancient religions ..
Snow Crash continues to remain entertaining, with the stories and characters that are part tongue-in-cheek and part all too real, and themes that are never out of style - swords- cars-bikes-teen rebellion - badassery-adventure-chases -gangs ...
Neal Stephenson's objective rendering of characters' behavior/responses  to situations  provides a very useful juxtaposition to the readers' typical emotional one, and gives a matter-of-fact tone to future-shock-y situations that the reader would otherwise not know how to process

Wednesday, June 12, 2019

The only real fun is in building things that can make it to the real world and help you learn the underlying in the process. It has to work at both ends - you have to get better at the underlying _AND_ the work should serve people better than previous versions.  Else there's no compounding.
Java doesn't allow this. Hence it's time to transcend Java

Wednesday, June 05, 2019

I ran 42 km in may 2019. That's close to a marathon. Only 200m less ..
To all of you asking why didn't you do a marathon, it took me 19 days.
I took a lot of breaks, like going home, going to office, sleeping etc in between.

interstitial



"Find your passion. I was very, very lucky to find it when I was seven or eight years old... You're lucky in life when you find it. And you can't guarantee you'll find it in your first job out. But I always tell college students that come out (to Omaha), 'Take the job you would take if you were independently wealthy. You're going to do well at it.'"
- Warren Buffett


What do you desire? What makes you itch? What sort of a situation would you like?
Let’s suppose, I do this often in vocational guidance of students, they come to me and say, well, "we’re getting out of college and we have the faintest idea what we want to do". So I always ask the question, "what would you like to do if money were no object? How would you really enjoy spending your life?"
Well, it’s so amazing as a result of our kind of educational system, crowds of students say well, we’d like to be painters, we’d like to be poets, we’d like to be writers, but as everybody knows you can’t earn any money that way. Or another person says well, I’d like to live an out-of-doors life and ride horses. I said you want to teach in a riding school? Let’s go through with it. What do you want to do? When we finally got down to something, which the individual says he really wants to do, I will say to him, you do that and forget the money, because, if you say that getting the money is the most important thing, you will spend your life completely wasting your time. You’ll be doing things you don’t like doing in order to go on living, that is to go on doing things you don’t like doing, which is stupid. Better to have a short life that is full of what you like doing than a long life spent in a miserable way. And after all, if you do really like what you’re doing, it doesn’t matter what it is, you can eventually turn it – you could eventually become a master of it. It’s the only way to become a master of something, to be really with it. And then you’ll be able to get a good fee for whatever it is. So don’t worry too much. That’s everybody is – somebody is interested in everything, anything you can be interested in, you will find others will. But it’s absolutely stupid to spend your time doing things you don’t like, in order to go on spending things you don’t like, doing things you don’t like and to teach our children to follow in the same track. See what we are doing, is we’re bringing up children and educating to live the same sort of lifes we are living. In order that they may justify themselves and find satisfaction in life by bringing up their children to bring up their children to do the same thing, so it’s all retch and no vomit. It never gets there. And so, therefore, it’s so important to consider this question: What do I desire?
- Alan Watts

How Jay-Z created his billion dollar empire   (Forbes via MattLevine via Bloomberg)

Friday, May 10, 2019

fake it till you make it




Julie Pagano: It's Dangerous to Go Alone: Battling the Invisible Monsters in Tech - PyCon 2014
fake it till you make it
act like you know what you're doing
get help
kill your heroes

Thursday, April 11, 2019

reality, like water which takes the shape of the container it is poured into,  morphs into the mind of the person it flows into. how would a container know if it is a container which doesn't have the know shape ?
thankfully, minds are plastic. yet, the more time spent in a shape, the greater the resistance of that mind to get out of that shape, and more rejecting of different experiences it becomes.
way out ?
if you malleably copy people, you will behave, and be responded to accordingly, as per that behavior which you copied, which is not yours.
if you like the response, you can move to make it yours by doing more of it.

Saturday, March 30, 2019

* Freakonomics, Think like a Freak, Gang leader for a day

* 50th Law

* Causal Inference: The Mixtape - Scott Cunningham (http://scunning.com/cunningham_mixtape.pdf)

* Illmatic, All Eyez on Me




Friday, March 15, 2019

re-awaken the old masters

(i)

from Greenspun


The typical white collar worker gets the job by having the right credentials and connections and then gets ahead by pleasing his or her boss. This worker might have a fancy education, a fancy suit, a smooth demeanor, and a political sophistication, but know nothing about making a profit or pleasing customers. The shareholders want profits, but the employee wants a raise and a promotion, things that can be most easily obtained by sucking up to the boss. It is very difficult to refocus one of these middle managers to think about customers and profits instead. Once the employee psychology sets in, it seems to be more or less permanent.


If you remember the lore, Greenspun did stuff in LISP and scheme as part of a CS education.

see : http://philip.greenspun.com/bboard/q-and-a-fetch-msg?msg_id=0006XQ


So many works -start with the sitemap and work down the list, finish off the technical content asap, then move on to reviews and other writings.


This , I think, is a site that I feel I should pull completely. While Sivers has lot of content, it is lightweight and dogmatic. Fried and Fowler are also blogs. This is a site, not a blog.


(iI) from defmacro.org,  another independent thinker -doer.

His original blog posts on lisp, functional programming, taming (doubt | perfection) and Enso gave me the feeling that I was on the right track and things will work out. I seem to have come unrooted, unanchored... 



These people were my 'future-possible' selves, and reading about them gave me a cutout larger than me that I just needed to fill, to step into their lives. Things aren't that simple now, and I am tasked with predicting where I'll end up, but the abstractions and formal systems are the tools I feel I need to sharpen. Mathematical thinking.



Can you make a profitable business with programming ?

Wednesday, February 27, 2019

Wit & Wisdom

Wit means having capacity for inventive thought & quick understanding, having a keen intelligence.
Wisdom is the quality of having experience, knowledge and good judgement.
The two cover everything about competence, effectiveness etc.

Wednesday, February 20, 2019

fasting feels NICE !!!

it makes me lighter, more flexible, makes the energy flows more easily ...

fasting/emptying brings back appetite and appreciation

the emptiness of the time brings perspective and 'puts down the cup' ,like AB said.

reading Joko Beck, with threads to Yasutani ,Kapleau, Myoyu Roshi and the Great Plains Zen Center.

XMind is really good. Unloaded my brain in like half an hour. Imagine what daily practice with that can do.

Some notes/ advice
Problem solving: divide into pieces, test each piece separately.
Progress : tracer bullets, one feature a day
Critical thinking : when/where things are and when/where they aren't.
Goals : people around you , not just physically -   | , what you can do - --   yields  |--

zen lessons
do lesser things, slowly, better than last time, with full attention
fast on and off to reconnect
acknowledge and let emotions slide, try not to be swayed by them
work so that you improve slowly but surely, so that in a month, year, progress is  visible
AB
allow yourself to be happy
move so that you get closer to happiness

intelligence w/o principle = cunning ?

My earning, reading, doing, liking and what's on my resume are not aligned.

Gandhi - "Happiness is when what you think, what you say, and what you do are in harmony."

Sunday, February 10, 2019

you hit me I hit you ?

You hit me I hit you ,that's fair, and a part of your mind is satisfied
You hit me and I hit you, and now there are two persons with hurt instead of one, and that is worse than one person being hurt.

If I give you a bottle with one thousand million pills and line up all the  people in your life - family, workers, colleagues, neighbours, favorite actors, authors etc and ask you to give them each one pill from your bottle, knowing that all but one will make the person who consumes it very happy for a day, but one person will die from taking it. Will you do it ? For a million dollars ?

You can always argue that there are higher chances of getting hit by a bus ( 2 in a million), so there is no culpability here, and that the payout was justified.

One part of you will always know that it was your hand that killed that person, that his/her spouse and children will now never get what your spouse and children are getting ( assuming), and that every time you play with your child, your heart will feel a pang for the victim's child.

At what point does this leak into your life that what you have is unfair, and so you start mis-treating your family to make it fair to the dead person ?

Ref :Fight Club - this is your greatest moment - the narrator had been living life off of dead people, his work paid off when he helped the car company pay claims to people who had taken the poison pill.
What  division of labor forgets is the complexity of the human mind, and it connects everything to everything else. Hence , the 'finest moment' here means the narrator chooses to make his life out of the burns suffered.  If there is no burning of flesh, he will not have a job, and as Cracked pointed out in its phenomenally brilliant article - , you _are_ your job, even though Tyler literally says otherwise in the film. And as a human being who is neurologically programmed against this sort of thing, the paradox between the man and his job sends him to therapy. He lucks out ,because he only suffers from sleep therapy - if he had known what was troubling him, it would be either prozac or a suggestion to change jobs, and Bam!, no Fight Club - which is what is probably happening in the real world.
Division of labour allows for a large aggregation of human beings ,including Nina from accounts- receivable, and those who walk around with salads, to perform atrocities as burn humans alive, all the while hiding behind beige office cubes and the arguments of chance and livelihood.
Combined with psychotherapy, of course.

The irony here is , like the  'you are not your job' one, therapy is supposed to help one learn to accept and work with the pain, which is usually reality seen through your faulty model (Box!), and to stop
escaping via the numbing devices one has started to habituate; whereas it is equal parts, if not more, a source of numbing pills in itself !

All life comes from other lives, even vegetarians kill the plants they eat. Only plants are the purest forms of life, living off sunlight, air and water. And nitrates in the soil. Sun, air, water, nitrates in the soil.

Thanks to Mark Manson and his articles for laying the field out so clear ,
and to Jordan Peterson for his message of standing up for oneself

science fiction to business proposals

Isn't it time for the science fiction of the 70s to transcend into the business proposals of the 20s ?

Sf has already seeped into literature, with works on the Singularity blurring the line between sf and near future technology. 


Thanks to Elon Musk we have  reusable space launchers ,though no space elevators yet.
There is some talk of  nano machines on the interwebs, but mostly some clips on 9gag ,  which we know wouldn't lie.
There are robots everywhere except in the daily life - robots on the production line,  computer vision assisted quality control,   robots with guns, robots with machine guns, walking robots, horse robots, dog robots .. .and this is not counting the retail /consumer robots. The field of moving weapons, autonomous or remote controlled, has taken off. (snort snort)
There are now remote control planes and unmanned cars.

We can edit genes and make super babies (CRISPR?).

Gibson's stuff is almost true, leaving aside space travel. There is the matrix, wearable devices are nudging the barrier to reality,  glasses that beams feed into your eye directly while being connected to the internet...
Stross's wearable cameras on cops are real in some places already, so are digital, within-game valuables. The dark web supposedly exist, and south american drug lords supposedly use neural networks to set prices of cocaine (?)

All of this remains highly energy negative, as in burns ton of hydrocarbon to move people and charge machines. Cold fusion is not here, neither is a cure for cancer.

Cryptonomicon's crypto currency is here, so is  Gibson's idoru.




Thursday, February 07, 2019

a philosophy and notes


1. Prescriptive - 5BX, diet and meditation for superpowers
2. Do things daily. Incomplete & imperfect are okay. Missing a day is not.
3. Quantity. over quality. Ship regularly


1.

5BX is a set of exercises with an increasing level of complexity and intensity.  5BX has warmup and stretches built in, and culminates in a heart straining on-the-spot jogging or walk/run alternatives.

It has multiple charts ( A-F) with multiple levels within each. The progression takes 4 days per each, level, worked daily, for around 15 levels.

Over the long term, done daily, it increases stamina, endurance& flexibility . This is built in into the exercises. The on the spot jogging ( not the walking substitute) breaks a sweat, and puts me out of the lethargic zone. Mood perks up almost immediately.
On the days when this is not doable, see if you can do a walk or a yoga session.

2. The core principle is to do something on a daily basis towards the life I want.

3.
Shipping regularly, somewhat less than perfect items ,that too daily, will eventually get you there. Shipping a perfect thing happens once a lifetime, never more
this also means -  get t-shirts printed, talk to people etc do things before you are ready

among the corollaries - follow these - go for expertise and depth. These pay off. There must be effort on expertise, with results , for over a year.
Go for bold large attempts instead of feeble tip-toeing.

Work on habits . Do tasks that affirm identity, no matter how feeble they maybe. ( from
 https://sivers.org/book/AtomicHabits, Tony)

Tuesday, February 05, 2019

crypto reading list


Following the blockchain craze ,a friend asked me for a reading list. Below is what I know but haven't read completely (except the last one) . They should be enough to get you to a good place.
 a) The Code Book by Simon Singh
 b) Handbook of Applied Cryptography : http://cacr.uwaterloo.ca/hac/
 c) Security Engineering by Ross Anderson
 d) Designing an authentication system in four acts [ Article] http://web.mit.edu/kerberos/www/dialogue.html
 e) Alice & Bob Dinner after speech : https://urbigenous.net/library/alicebob.html Last one is hilarious

16/9/18
adding one more
f) Applied Cryptography by Bruce Schneier

5/2/19
adding two more
g) Cryptonomicon by Neal Stephenson- this is a large large blog article masquerading as three intertwined stories involving ww2, a modern tech startup involving crypto , a math wizard .... I first read it in 2004, and it was water in the parched ideological desert of Mumbai. For someone who had read Levy's Hackers and ESR's Revenge of the Nerds , it was a sign . However, faith loosened in the onslaught of the mundane, and I am left writing about it.
h) Stephen Levy's Crypto - this is recommended. I will read it.


I have also some python code encrypting and decrypting stuff. An excerpt of the Prisoner of Zenda lent itself to the process. The basic version was completed in one evening ( an adult evening is interspersed with chores, dinner, walking, babysitting, parent-sitting, neighbour-ing, spouse-whispering, lot of nodding while listening ... etc ). The java version took much longer and doesn't do so much.

here : https://github.com/goingkilo/python_practice.git

Wednesday, January 09, 2019

oh books


Nutrition sheet, logs etc


It just stumped him. Now he couldn't think of anything to say. A silence occurred, and then a peculiar answer: ``Narrow it down to the main street of Bozeman.'' It was a stroke of insight.
She nodded dutifully and went out. But just before her next class she came back in real distress, tears this time, distress that had obviously been there for a long time. She still couldn't think of anything to say, and couldn't understand why, if she couldn't think of anything about all of Bozeman, she should be able to think of something about just one street.
..
..
..
He told her angrily, ``Narrow it down to the front of one building on the main street of Bozeman. The Opera House. Start with the upper left-hand brick.''
..
..
..
Her eyes, behind the thick-lensed glasses, opened wide. She came in the next class with a puzzled look and handed him a five-thousand-word essay on the front of the Opera House on the main street of Bozeman, Montana. ``I sat in the hamburger stand across the street,'' she said, ``and started writing about the first brick, and the second brick, and then by the third brick it all started to come and I couldn't stop. They thought I was crazy, and they kept kidding me, but here it all is. I don't understand it.'

----------------------- ZMM, Part III, Chapter 16


The acts of the mind, wherein it exerts its power over simple ideas, are chiefly these three: 1. Combining several simple ideas into one compound one, and thus all complex ideas are made. 2. The second is bringing two ideas, whether simple or complex, together, and setting them by one another so as to take a view of them at once, without uniting them into one, by which it gets all its ideas of relations. 3. The third is separating them from all other ideas that accompany them in their real existence: this is called abstraction, and thus all its general ideas are made.
John Locke, An Essay Concerning Human Understanding (1690)

----------------------- SICP Chap 1 

I was putting down nutrition information in a spreadsheet. I tired of it, and after a few days it struck me that I should be coming in from the other end. So I made a list of 'ingredients', and linked the sheets to the earlier reference, and decided to sum up the cals.
While discussing, I came up with the idea of a minimal mealpack-  peanuts, with onions, tomatoes and cucumber.

Marketing and branding is one, repeated consistent service is another. The former is signaling.

The next step would be to put all goals in one row, so that comparison is intuitive, and the progression  & trade offs are easier to calculate. [Ref SICP quote]

Tuesday, January 08, 2019

arguing on the internet #1

"The first gulp from the glass of natural sciences will make you an Atheist, but at the bottom of the glass, God is waiting for you"


- someone , attributed to WH.


Only because science is all models, and all models are wrong and some are useful (1) , but G/god is a story , a narrative, and the part of the brain that handles emotion connected narrative is like Africa compared to the part of the brain that handles logic and abstraction which is like  London, so the brain more 'story's things than 'logic's things .

Story is the water to us whales , and air the logic we come up to take in.

//Wow, I excel myself. This is going on my blog.



God the model is comprehended by the neocortex and God the story is comprehended by the large continent-like mammalian brain. So ,while cerebrally discussing , one might agree that the God/Bible is a story, when it's gut reaction time, lots of human behaviour patterns start following the characters in the scriptures....


science is the sharp edge of human collective consciousness, narrative & story the gooey middle of it - a fog of goo with prickles on the outside ( see Alan Watts Prickles & Goo)


so what this means is when a swarm needs to expand, it hauls out the scientific apparatus, and discovers things, and then commoditizes it so that the middling masses can use it without knowing more than 'God', or 'Comrade Stalin' or 'Civilization' made it possible - ( today all sorts of yahoos can use cellphones without knowing the name of Shannon )


The closer to the edge you get, the much pricklier it gets, with much lower tolerances.

It follows the center is completely vapor.


(1) George Box

Friday, January 04, 2019

beer game

Have been on the economics game wagon for the last couple of days. This has resulted in multiple tycoon games being installed on the mobile (and quickly uninstalled),  drooling of caesar and railroad tycoon on Steam, and a one session run-in with Virtonomics online, that will in all probably never be revisited.
Had a run in with the beer game a long time back. It is supposed to be a game in optimization - supply chains, feedback, knapsacks ...

The wikipedia page throws up a nice set of ghosts - system dynamics, feedback control theory, peter senge's 5th discipline and fieldbook....
second level ghosts thrown up are Forrester, with his Urban & Industrial dynamic books, and also
Principles of Systems which is in our reading list... which precludes Calculus, Rudin , ....

Of course, feedback & control tips us in to the lake of Cybernetics, with Weiner, Ashby , Maturana, Varela, Pask , peter Turchin, Principia Cybernetica ....

Tuesday, January 01, 2019

More 2019



0. Here is a revolutionary idea - use money to make your life better than the others around you. Signalling, investments & asset, hobby items .

1. Learn to think statistically. Not just learn, but do that a lot. Life is a numbers game. This goes hand in hand with Diversification . Of identity, investments, effort etc.

2. Start a business. Remember the lesson of compounding. With a 30% tax and a 15 % sales tax every Rs. 100 you earn is worth Rs. 67. And this shit doesn't compound.

3. Progress one step a day. Want a perfect diet ? Count your macros on day 1, count protein for the next two etc keeping track-log as you go.  You'll soon have a list of things to eat and not-eat. Then you can do a fixed-cal foodpacks and not eat anything else the whole day.

4. Leverage your writing habit and blog to get some paper-writing and novel-writing practice.

5. Planning and execution - blog-paper-plan(goals-objectives-deadlines)-schedule-review. No need to keep things in your head. All daydreams go into a blog post or document. The items that need action go to a plan with steps and deadlines. These are reviewed until solved. Single document for goals and objectives.

6. Introversion, rejuvenation and rest.  Where, when & how do I work best ?

7. Repetition is key to building skill.

Friday, December 28, 2018

moving past java

- >Thursday is a dull day. Need larger doses of caffeine, the Chai Point machine won't cut it.
this has been a long time coming. Even before Strand, I was harping on this, while some successful people have built successful lives without knowing Java, I am unable to get off this island.
With Java getting slightly better every year, it also makes it easier to stay, though whether this is the equivalent of peeing in your pants to stay warm, we won't know till the freeze sets in.

In other languages, I assumed I would be able to get off the ground quicker with ideas, but my experiences with Flask didn't happen.
I still believe if I do this in a non-java only company, I might actually see the benefits, the problem here being the brain split between the Java world and office world and the python world.

When moving on, it must be to a language that is not bollocks, but also makes it possible to have a great career. The end of this exercise (and related 6_6 ) must be freedom from worrying about a job ever.


Was reading DHH on SvN   . Felt so reaffirmed. My 32s are coming back to me.
Led to Jason Fried's talk on Chase-Jarvis-show . Listened while driving to work from Sankar Eye.
Slack (and related real-time chat applications) have turned Work from creative to an assembly line, where you can't miss the part coming down the conveyor. Forget Knights, Castles , forts and mills -    you are in a Charlie Chaplin movie - the one where he gets a nervous breakdown on the line and squirts everybody with an oil gun. This is a very interesting take on the economic clutches we are in.

I'm guessing I could master a language in a month or two, if completely immersed, however the last time I tried something partially close to this - the clojure-dopewars-android days, it was traumatic at the end. Working in android means perpetually being on Stackoverflow, and I didn't have that, or 'finished app' as my goal - I was thinking of something on the lines of Processing ,or the joy people claim to get when working with Lisp. Lisp is recommended for large organisms, and Pascal (and Java) for large pyramids of crafted stone. Given this feature of Lisp , Clojure is not Lisp, though it is the closest. Difference between Java and other languages is that Java programs manipulate large chunks of Java code, whereas other languages, say Python, C-L or Ruby manipulate data.

While some startups continue to slug along in Ruby, funded ones take a long time and get rewritten in Java.  V2.0 , or even patches on V1.x are a pain. We want to do v0.001, which rakes in users and moolah.

If you are moving out of Java, then you should know the replacement in depth, doing both algorithms and real world projects in it. Have you considered Goodrich/Tamassia's python algos ?

Also interviews now look at real world application of skills. Java projects don't get into the real world fast enough to do the many that needs to be done. So you should be using a language that lets you get into production for _ALL_ your ideas , including and especially your useless ones (See simone giertz ted talk !!  + _why , I swear I'm upto no good!), and get them out asap ! Ultimately, this and the next para are the 2 boundaries of the trade, charging money being one more , which we will come to one other day.

EPI : You could start the day cerebrally by memorizing CS stuff - there is so much - algorithms, java classes & the JVM,  workings of OS and networks, assembly ... If nothing this will keep you sharp and you'll be able to talk.

Systems are for solving problems. Knowing system limitations has nothing to do with Java usually-  knowing software helps here. Algorithms, computer structure, operating systems - these will never go out of fashion.


NoSQL , in depth redis, how does mongo do stuff, how does a mysql cluster operate , what is off heap memory, which product provides this , what is CPU cache and memory ?


Here's a word on doctrine, always go to the edge where skill & ability to do things is needed. Established fatty layers can afford to toy with candidates in a way that leads to negative conditioning, and can be best avoided.

True big-data / distributed systems experience is vital and cannot be book-made. If that's what is attracting potential employers , then false pretenses might backfire.

Comic relief : Stackoverflow snippet I came across


-> aaaand we are onto the next Thursday. For some reason I am more rested today.
 Learning a new language & framework, say Ruby/Rails , needs immersion, which needs time. It cannot be done over evenings, when you have to come back in the morning and reload java into your head. If I get a break ,first thing to do is immerse in python or ruby or go or Scala or whatever for long enough to emerge on the other side as a <X>Warrior.

If you have a chance to write integration tests  for a Java/Spring project , in another language, which one would you choose ? I can think of JRuby, Jython and Clojure to begin with., in increasing order of appeal.



Today is a coffee day ; Unlike last week, when it was Thursday, it's a Friday this week. It might have to do with the one round of 5bx I did yesterday morning. Going past my limit puts me in a energy-surge, and corresponding appetite surge.

Sizov makes good reading (link from Partha) - 1. promotions are a trap - you tend to stay longer to accumulate them until you become obsolete, 2. don't learn frameworks,  learn patterns,  3. you are not a software developer, but a money maker ...
As per this, language is irrelevant to the larger picture - the tech scene will fill in some language /framework. Then, while it follows it is better to work in a language you can reason about and distill ideas to working code faster  - hence ruby/python etc, if you can deliver faster in Java, then Java remains a valid choice.
But after beating my head around the opaque layers of Java misdirected by Berlin, I am convinced that Java is a trap.....

To know real constraints of the system, code has to be written in C and you should see it fail, with messages from the metal underneath. With Java, you only get a check-engine light.

Feb 1 today. It's the next Friday. It's been a while now. My unit of consciousness is a week !
I have been fiddling with Java coding interview problems, and have implemented a one-time pad implementation using java.util.Random . It doesn't work so well ( unicode support ?).
I wonder how long the python version will take to code up. I also ran into a python script which pulls data from urls, and read Swaroop Ch's " A Byte of Python" and created a _gasp_ object !!
You can go through life's obstacles, but never around them.  All my trains are stopped at their individual Mt. Fuji.  Also researched some non-painful web frameworks for Python. Back to Django for portability and cachet.Most of them are crufty. Go with the universally accepted cruft.
Java or Java's sake, projects and pieces in Python. Learn OOPS, Django and the complexity.
Chassis in Java, Systems in Java, data in Py wherever whenever possible.
List of Java things - Java performance tuning, garbage collection, system tools like jmap,jps etc, JLS, JVMspec, venners inside Java, concurrent classes, nio, classloaders etc.
BF, stock-flow system , game engine with ticks and world updates, stocks, nutrition etc - all Py.

Areas PPTs.  - Like the Chassis diagram which gave so much joy, I should make PPTs of ecosystems and solutions. They will act as maps for learnings

one of these I have not read ...


Wednesday, December 26, 2018

reading list 2019

so good - cal newport
power -pfeffer
microeconomics - varian
12 rules
maps of meaning

portable mba
[ ,finance * accounting, marketing, investing, economics, strategy, pm, enterpreneurship]


homo deus

linux - wrox
think like a freak
how not to be wrong power of mathematical thinking

Tuesday, December 25, 2018

microhabits - solve small problems this 2019

In 2019 it's important to remember a few things -

a) Not having perspective is the default. So it's important to reverse that, and work diligently on the plan, until it becomes second nature.

b) It's vital to have personal metrics for progress. It's hard to overestimate how un-clued in others are, especially the ones closest to you

c) It is not possible to get things done without an environment conducive to cerebral work. There is no way you can work in a noisy place, or when tired  & sleepy. Hack this . Which brings us to

d) A pre-requisite of c. is diet,  exercise, socializing, rest & recreation. Without mental and physical wellbeing, nothing can grow.

e) finish things. You need to leave behind you a lot of pieces of completed work, which will be the bricks of your life.

Appendix : Plan
i)  meditation - stillness, breath, flinch-less -that's all. Sit still, mind still, control the reaction impulse.

ii)  write project logs in one place. Review them  when quiet, & relaxed . So that cold cognition wins.

Monday, December 24, 2018

Susan Blackmore and Jordan Peterson

Came across a youtube video featuring a talk show  featuring Jordan Peterson vs Susan Blackmore, and I strictly feel the 'vs' is superfluous here, because both these people are scientific, and rational.

It's as surprisingly rare combination these days, and when you throw in well-spoken, it's amazing.  Going by the thumb rule -, whenever you see something new, it means the wave has tipped , and that many others will be seeing too. So I expect a new wave of rational, scientific and well-spoken literary people dominating the zeitgeist soon.

Jordan Peterson is the second person whole intellectual work strikes me as very true and apt, who is religious. The first was McLuhan, whose every sentence rings so true that even after I read any of his quotes on wikiquote, I'm left with a feeling that I'm not doing enough to propagate his words . And he was a devout Catholic. Jim Rohn referred to his  2 hr seminar as 'fundamentals, because the ideas stem from the Bible'.   Kevin Kelly also recommends the same. Jordan Peterson calls the Bible to have 'narrative truth'.  Merton's Chuang Tzu is also very accessible, and the quotes on fasting were very hard-hitting for me.  However, I fear  he finds Christianity in Taoism and Zen,  rather than finding just Taoism and Zen.

Should we aim to be the stinktree of Chuang Tzu ? Ajahn Brahm ,in his many talks that have accompanied my drives - refers to damaged trees in the woods and says that only these are beautiful. Pema Chodron says - trying to improve and get better is a subtle aggression against the self .


The lotus grows out of mud, and being an IT worker, that is my mud. Hence it is only normal that I see consciousness as a large complex computer program processing its own debug output.

To use a non-computer analogy, I will use writing, because there is there is a lot of writing on blogs and such about how computer programming comes closest to writing. We can debate that another day.

To use an analogy that doesn't involve computers, imagine that you've hired a writer to write a large essay on current events , but you have only limited access to him, or his writing - let's say he sends partially complete drafts a.k.a drafts by post ( snail mail), and fails to do so sometimes. Since you have an idea what the final essay looks like - it touches this location, that group, that recipe, that invention etc you  keep a list of key points on a slip of paper, and read through the reports and do a bit of course correction here and there. In this analogy, the essay being written is reality, the drafts you get are the snapshots your senses take now and then, and the list of points in your hand is your course plotted on your map*, or your mental model of how reality should be -  whether the writing follows grammar rules, has analogies, anecdotes, whether it references or includes scientific data , whether the writing is flowery and has flourishes, whether you insist on a typewriter or a fountain pen or a ball-point pen, in cursive or italic - these are your conventions - religious, optimized for profit, convenient, ordered from above etc.
Your map gets formed as you go on, and your course also changes accordingly with new information -   young blood blazes a course through much changes of employment fueled by the winds of youth, ideals and raw energy,   coming of middle age charts a slow course through a suburban house and steady job, education helps form new friends or enemies - etc
Mental illness is when you don't open your mail, write your own essay ,and then dismiss it as lacking.  Anxiety could be not receiving mail for a couple of periods, or not opening your mail for a couple of periods, and losing touch with the essay being written.

An entity is only known through its differences from other entities. Hence dependent arising of identity. Buddha rocks !

 The null, from which everything deviates = Brahman. That from which nothing can deviate = Tao. Hmm.. if the null is the core of everything, both are equivalent ?

This is a very large post and I haven't seen the video yet. Waities.

Saw some more of the video - quite an interesting debate - I find myself agreeing with both of them at all times even though they are on opposite sides.

JP says : you write papers because they make you think

I was reading Superfreakonomics when ...

The authors claim that the shoe bomber failed to ignite his shoe bomb and kill anybody, yet security measures brought in to prevent future shoe bombings cost airline passengers to lose 1065 years , or the entire lives of 14 people.

How to make use of this time ? Combine distributed crowd-sourced commodity computing (Iexec white-paper)  and the design for body-movement-phone charger, and people standing in the queue can be working out charging their phones, all the while renting out the computation power of the phones to the 'net, so that they get paid and their insurance premium comes down too.
Two birds with one stone. Aw yeah !

The Shib would probably get providers from  Aliexpress ...
There's a fun list of ideas here -

https://www.hongkiat.com/blog/extraordinary-smartphone-chargers/

The one that triggers my delight is the one which uses heat from a boiling pan to create electricity to charge your phone. This has been an ongoing thing with me - best improvements seem to come from harnessing li. Very Tao.  Most of human progress involves using processes and tools that require not thinking. And hence these frequently go against the li of nature.
The fabulous Prius uses the moving car's need to lose energy fast to charge the battery . All that energy was going waste all these days. Wham ! impressive mileage and a higher value car with phenomenal gas savings when driving within the city.
Similarly , here's a list of things I 'brainstormed', after watching a bicycle driven washing machine ..



These are ,in order -
a) A hydraulic charger leveraging people's & car's needs to descend from
b) a potential energy battery , and cranks connected to, say, gyms and escalators
c) a small body charger consisting of a wind up spring and a bull worker
d) desert cooler (adiabatic expansion wala)
e) sloping streets friendly to skateboards and scooters
and some old goldies
f) fresnel heater and steamer, fresnel net roofing
g) solar still desalinator pipes

I will go in more detail in these soon.


The Singularity will take us to Mars and beyond. It will create nano-machines that will crawl our bloodstream and handle Defense & Repairs.  It will create matter compilers , molecular transmuters and 3d printers so that we can feed any old material and create anything from modern day manufactured items to food, to biological tissue and organs . It will be, as Gibson says, the end of economics.
Until then, we must work as midwives, easing its entry into the world.

JP thinks that the world population is around 7 billion , and it would peak at around 9 billion and then fall rapidly. Until then, there is going to be a tremendous demand on ,of course, food & water, shelter & sanitation, transportation, medical &  health services, and then on learning, training & education.
Existing systems, businesses and institutions will have to learn to handle scale growth in their users.

According to YNHarari we have the means to create enough food and water for all the world to eat. All scarcity today is due to existing political structures & incumbents which do not permit upgrading of facilities for fear of loss of power.

There are open source village construction kits which can be leveraged to setup communities in wastelands ( not cleared forests please).

There is enough free and high quality video and text content on the internet for volunteers to bring people to the fold of beyond-high-school mathematics.

Still, ideology and irrationality are the largest drivers of human awareness. McLuhan famously said "I'll see it when I believe it", and so while the Singularity, and Plenty are knocking furiously on our doors, the masses can only see the world from the scarcity of previous failed movements like communism and casteism. More rational models ,like we can do more with less thanks to brains and science,  have not yet spread enough , however the mind of man can quickly assimilate any idea that is in his favor.


Wednesday, December 19, 2018

hints

two of the things I read today mentioned "hell yeah or no", - manson and levitt(tlaf). Adding sivers, that makes it 3 . What is the universe telling me ?

Also, the missing connect between Cialdini and T. Harv Eker - no one I like is asking me to do it, no one I have made rich and is now helping me back, no one I know is getting rich for me to copy, I have no consistency to maintain in being wealthy - spousal environment is a weak link , no one with authority is ordering me to become rich, there is no scarcity of rich people on the planet.
Weird ?

Kahneman is all about hot and cold thinking. Somebody said civilization is victory of cold over hot. Or slow over fast.

What to have for lunch ? Revisited

The pithy formula for health is " eat less, move more, relax".

Further detailed advice on the first part, ie, eating is thus :  "eat food, mostly plants, not too much" .also see.

However, there is help to be found in the two linked articles in the original post. Matt Might's specific algorithm is as follows :

First, create a food journal, and add daily entries covering what you ate, and estimated calories.

Make a list of specific exercises that you do ,with calorie burnt in a per-minutes-of-exercise basis, for each.

Now, two working numbers are calorie requirement, and BMR. Ensure daily that any and all calories over BMR are burnt off by exercise.  Track this too in the journal.

The body will not take to this deficit kindly, and will encourage you to binge on chocolates or coffee with milk and sugar, or even large meals. You can hack this in parts with :

- eat meals at specific times in a day

- eat more protein, and drink more water

- use milk-less sugar-less versions of caffeine . This is a toughie.

- weight training. This boosts BMR.  Caveat - in my case , this will be after basic bx fitness, followed by maintenance yoga for at least , say, 6 months.

- Practice meditation. It is one way to drop out of your mind and 'take a hike in the woods', so to speak. It increases happiness and will (won't) power. TM and Zazen and breath meditation are all not that different.

- the more items you cook yourself, the more meaningful food becomes, and more control is to be had. And more integrated your experience becomes.

- use bursts of mad out exercise to keep it fun - when you really push your limits ,you get a glimpse of the better you.

- join competitions. for fun. winning will follow.
- eat slowly. This works as a meditation as well as a way to eat less.








Tuesday, December 18, 2018

A day in the life

I am tempted to add 'worthless' before the 'life' in the title but Chad Fowler has asked to stamp out cynicism, and Toit_Lover tagged my '72 % water 100% useless' meme forward as 'dark'.
So I won't.

Luckily ,was able to prime a bit this morning  - getting started with a tiny bit of Tony before the Tiny Banana kidnapped my phone to draw on Google Keep - yet another hobby of mine  - scrawling on Keep .
We try to keep her away from phones 'coz she's developing a squint and I want to avoid a costly surgery in the future.
The 4bx went off well, as Tiny-Mom was out of the house in the morning doing her run and I got the kitchen to myself. Chores completed quickly - (had to fend off helpful parents - and was out of the house as soon as Tiny-Mom came in.  An effective pattern to keep in mind for .. well - daily.

The drivecast today was Tony, a break from the regular Ajahn Brahm (AB), probably because I feel
can-do-ish. 

I have so many books on InternetArchive, O'Reilly Safari, plain PDFs and in paper to complete - I am so overwhelmed. There are books on Taoism on IA which I might not find elsewhere. Buddha in the Robot is something I look forward to completing. While I first referenced it in Lance Daybreak pieces by Erik Davis, I feel Gary Zukav might have started the Hua-Yen new -age nonsense with this book, and that all else are derivative ..
Sadly, in many things, I have forever been living in the dim light of the derivative for ages, missing the core , the heartwood of culture.

Norbert Weiner's Cybernetics is going to be my life long goal. I need to finish it before I die. Seriously. Then comes Herbert Simon and Shannon. Chaos Theory can wait.

There's lunch with SuperLiar-DeliciouslyDeluded-Hustler-snakeoilsaleman-spirit-animal-Fakebastard.


I also want 2019 to focus on economic sense, and psychological well being.

We come back to this again and again - workouts make me feel 'alive'. If only there as a way to not let being overcast affect the workouts.

Immediate reading list :
* Portable mba - finance & accounting
* Dhammapada - eknath easwaran

Eventual reading:
* microeconomics -varian
* macroeconomics cartoon guide

Hey ,guess what, one down  two down , three to go - exercise & writing is done,  remaining is cooking, reading and socializing.

For the unsufferable mid-week, when getting out of bed itself is a challenge, I propose hitting limits - like running without restraint, or back-permitting - lifting, to remember what  muscles make up the me. The daily restricted existence dulls the will to live.  Moustache !!

Sunday, December 16, 2018

What to have for lunch ?

My Basal Metabolic Rate = 1835 calories per day. The daily calorie requirement is around 2202.
Calculator here

By consuming the daily requirement, but using exercise to create a caloric surplus, one can achieve weight loss.

Along the way, loss of weight will reduce the BMR, and also metabolism and appetite.
While cardio might be the simplest and easiest form of exercise,  weight training can build muscles which increase the BMR. This needs higher protein consumption
Yoga can heal or improve ligament strength, and can also trigger homeostasis, eliminating biological urges during the time that follows the session.

So can one simply eat 1.411 kilos of short grain cooked rice daily to meet the requirement ?

No, that's not enough. We need some of the calories to come from carbohydrates, some from fat and some from proteins.
And we haven't touched upon the topic of minerals , vitamins, and fibre.

Also, monoculture is not your friend, as eating the same diet will blow up any small nutrient deficiencies into disastrously larger ones, at which point you might need intervention in the form of, say, a B12 injection, or large enough diet change to throw off your calculations.

There are also essential nutrients which are found only in certain foods, or have to be supplemented using man-made product.

SCD, and the Taoist diet asks you to avoid grains.  Some vegetables are not SCD OK.

Yoga asks you to avoid meat, and preferably spiced, oily foods .

Keto needs you to avoid carbohydrates.

Diabetes avoidance needs you to avoid processed foods, and any with high glycemic index. This includes Ragi.

Dr. Jason Fung wants you to eat two meals a day. Jains want you to stop eating after sunset, and also not carry over food past the night into the next day.

We will leave vegans alone for now.

It is generally considered good practice to eat fixed meals at fixed times.

Replacing cigarettes in the chain-smoking habit with tea or coffee is also not good.

Some people went without sugar for a month and reported higher levels of energy and mental sharpness.

Two great links from the same author

One nutshell idea of health is this - eat less, move more, relax. Once this is in the bone, you can start tuning into quality of the things you eat or the workouts you do.
Relax is underrated.  There's a reason the Buddha is seen at every spa or massage parlor.



well folded






lol.
If the next video's not adowable, I don't know what is :

https://img-9gag-fun.9cache.com/photo/a1QodVD_460svvp9.webm

world maps

You can use openstreetmap tiles for testing purposes, but the volunteer driven organization will not be able to support your maps -tiles  requests if you are serving a lot of traffic commercially.

So cough up and go to mapbox.
My examples run on a free developer mapbox key.  I look forward to completing a Ukiyo-e Risk game or a cybernetic dope-wars...
Google maps shows me a darkenend map for me now.

Or git-gud and setup your own tileserver, the entire world's maps are downloadable. No serious.

There's also wikimapia but I haven't checked it out.

We set out to create a places & merchants map based tool, but have ended up here, writing this post.

A friend is interested in the Iexec whitepaper. He wants to code up a blockchain backed distributed computational system. I am still confused : if you aren't able to generate hashes ,your entries will not go into the blockchain, right ? If so how can you make this into a determinate dependable system ?
Time will tell ...

Spring boot guides are going well. All my previous attempts stalled at some stage of setup or getting v0 to run. I guess the thing to remember here is to start with working systems.

There's a laundry list of chores to complete to get your Spring application Production-ready, as per heroku documentation. These range from logging, to adding metrics, ssl , rate limiting, alerting, error and maintenance pages,  uuids for postgres keys etc.
Spring documentation only asks you to add a Procfile.  However, there's also moving to production which introduces our old friend JMX  , which Berlin choose to use via Jolokia.

One idea that surfaced in today evening's Metropolis Chai run was that we should have an electronics store for people moving to Bangalore, containing - say, headphones, computer speakers, large monitor, maybe desk and chair .. .etc

Why not build a chinese pagoda using cardboard ? There is no end to decorative things one can make out of cardboard,paper with scissors, paint and glue.

And oh hey, a Cracked.com writer took apart Fight Club and gave it a new life. A different one.

Most of work involves lowering of barriers to things, so that they can be done with less mental 'lift'. There's a book called 'Deep work' . However, if you can't do the heavy lifting in one session, you'll need to sow the ideas and have the brain connect them over time and places. Sometimes my brain wakes up after a day or a week. It always connects when talking to a friendly-capable. The office is full of hostiles.

Ajahn Brahm mentioned in a talk that there is no will power, only won't power, as the decision you think you are taking has already been taken for you in the core part of your brain, and the awareness and action parts only get the message a little later - which is when you 'know'. So you are always aware of yourself doing the wrong thing  ,if you noticed . You have 3 seconds or milliseconds, am not sure, to catch the impulse - hence - won't power.
I'd like to draw your attention to the parallel :

* Thus spake the Master Programmer: "When you have learned to snatch the error code from the trap frame, it will be time for you to leave."

Tao Te programming say " Go for the hand not the ball"

I can start putting all my knowledge in a searchable database. But why ?

Wednesday, December 12, 2018

Overabundance of material

 - "We are drowning in information but starved for knowledge"

The world's treasures lay undisturbed in sites like   Project  Gutenberg, Sacred-Texts.com etc.
For e.g , you can get all the Kai Lung stories on Project Gutenberg.

I chanced upon the Internet Archive , made the mistake of digging deep,  and now it  has put  one hundred obligations upon me.

I found cartloads of old villains  - Koestler's The lotus and the Robot  -which covers just past Freedom India and Japan from a westerner's raw unsympathetic point of view ,    a whole bunch of Thomas Cleary books , and I can never get done with all the Taoism and Zen that he translated - that man must've been a prodigy or maniac , some of the portable MBA series, clausewitz, sun tzu,  a lot of - get this - Donald C Laird books . His Technique of Getting Things Done predated GTD by almost a century and thanks to a doting, dutiful father, was on my reading desk in school, the stories seared on to my brain. Unfortunately, they did not help me in college.

I also found Y Perelman books - the lovely Physics for Entertainment and Figures for Fun series..

My Oreilly Safari is loaded with titles in relevant playlists. I see the appeal of  rebirths now - so much to read is there , though in my case I will even consider the option ,if offered , to  come back as a ghost and haunt libraries ...

There is no shortage of blog articles advising against 'self-improvement' and reading material promising 'the way'. And my shelf is full of books I will never read.  There are even printouts of blog articles among the books.

What is this disease of book/knowledge hoarding ? Whither deliverance ?