“The things you own end up owning you.” - Chuck Palahniuk.
I was minimalist. It was very easy and stress-free life. I did own many things but but only after careful planning and I was quick to sell things that didn’t meet my expectations or once I stopped using them.
I also used to live well below my means. I felt free because loss of job or any other financial crisis would not affect me much.
It is so easy to know what is right action but sometimes so hard to do it.
Ayden is having rough morning. Well he was having good morning until we took him to his soccer match. He got shy and didn’t want to play. I spend 45 minutes encouraging him. Getting frustrated. Getting embarrassed. Getting angry.
I wanted to leave.
I don’t know what is right behavior. What should have I done. Is it too much to expect your child to do what they wanted to do. If you don’t push your child will they never get out of their comfort zone and never grow. If you push too much will that cause them unnecessary anxiety when they will naturally grow up at their own pace.
Join 900,000+ members. Learn financial modeling and interview skills to help you break into the top financial careers in the world.
— Read on www.wallstreetoasis.com/
Could you be highly sensitive person? A highly sensitive person is someone who can get overwhelmed by various senses such as noise, smells, clutter that would not bother most people.
I got two kids and sometimes they both are crying and screaming at the same time. Their screams causes my neck, shoulders and arms to get stiff and I feel tingling or pins all over my arms. This sounds like heart attack and I am going to doctor to have it checked but quick search showed that this might be due to High Sensitivity towards noises or screams. And that’s when I learned about Highly Sensitive People aka HSP.
I had been using GitHub and Netlify for this site but lack of some features such as access to server logs finally got too much. So I decided to move this blog to my VPS.
One thing I really love about using Github is CI/CD and Github Actions. But I wanted something even simpler with less dependencies. So I decided to use a simple bash script to build and deploy the site.
Windscribe is a desktop application and browser extension that work together to block ads and trackers, restore access to blocked content and help you safeguard your privacy online.
— Read on windscribe.com/vpnmap
It’s both intriguing and somewhat disheartening to observe how trading concepts often mirror human behavior. Here’s how:
Follow the Trend
In the investment world, the saying “past performance does not guarantee future results” is well-known. Despite this warning, many successful trend followers have found that stocks moving up generally continue to do so, and vice versa.
Interestingly, this concept applies to humans as well. Those who are happy and kind often continue in the same manner or even improve, while those who are miserable tend to spiral downward.
I love swimming but it is hard to swim for more than 30 mins, not because I get tired but because it gets boring.
I had been looking for headphones for swimming but almost of all them are essentially mp3 players. That is because Bluetooth doesn’t pass through water very well. You need to pre-load songs or mp3s. Which would be fine if you only care for music. But I am mostly listening to news or audiobooks. It seems like too much work to use those headphone for anything but music.
Community driven, articles, resources, guides, interview questions, quizzes for DevOps. Learn to become a modern DevOps engineer by following the steps, skills, resources and guides listed in this roadmap.
— Read on roadmap.sh/devops
In my view, horizontal spaces should be minimalist and vertical spaces can be maximalist. This way you will have a lot of horizontal space to sit at, write on. And walls covered in art to entertain you and also reducing echos and creating quieter space.
In our backyard lay a series of deck drains that perennially harbored standing water. Despite my best efforts, tracing the end of these drains proved to be an elusive task, seemingly due to the fact that it was compacted and buried beneath layers of earth.
I even ventured to employ a drain snake to address the issue, but the screws securing the drain covers were victims of rust, rendering them immovable.
The gut microbiome may be both helpful and harmful, and not only is it affected by diet, it has also been shown to affect mental health including personality, mood, anxiety and depression. In this clinical study we assessed dietary nutrient composition, mood, happiness, and the gut microbiome in ord …
— Read on pubmed.ncbi.nlm.nih.gov/36993403/
This was in 2011. More than 12 years ago. Still one of my favorite memory.
View from skydiving plane just before jumping Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas Skydiving in Dallas
A minimalist wardrobe for a 42-year-old man who works from home should be focused on versatility, comfort, and style. Here’s an itemized list of wardrobe items, including the suggested quantity of each item, colors, and styles:
T-shirts (6-8)
Colors: Black, white, gray, navy
Style: Crew neck or V-neck, fitted or slightly loose
Colors: Black, white, gray, navy
Style: Crew neck or V-neck, fitted or slightly loose
Colors: Black, white, gray, navy
Style: Crew neck or V-neck, fitted or slightly loose
Long-sleeve shirts (4-6)
Colors: Black, white, gray, navy
Style: Henley or crew neck, fitted or slightly loose
Button-up shirts (4)
Colors: White, light blue, chambray, a subtle pattern or plaid
Style: Collared, long-sleeve, slim or regular fit
Sweaters (2-3)
Colors: Gray, navy, black
Style: Crew neck or V-neck, slim or regular fit
Hoodie or zip-up sweater (1-2)
Colors: Black, gray, or navy
Style: Minimalist design, slim or regular fit
Jeans (2-3)
Colors: Dark wash, medium wash, black
Style: Slim or straight fit
Casual pants or chinos (2)
Colors: Navy, khaki
Style: Slim or straight fit
Lounge pants or sweatpants (2)
Colors: Black, gray
Style: Slim or regular fit, comfortable material
Shorts (2-3)
Colors: Navy, khaki, gray
Style: Flat front, mid-thigh or knee-length
Underwear (10-14)
Colors: Black, white, gray, navy
Style: Boxer briefs or briefs, comfortable material
Socks (10-14)
Colors: Black, gray, white
Style: Ankle or crew length, some dress socks for formal occasions
Sleepwear (2-3)
Colors: Black, gray, navy
Style: Comfortable pajama sets or sleep shorts, soft material
Casual shoes (1-2)
Colors: Black or brown
Style: Minimalist sneakers or loafers, versatile and comfortable
Dress shoes (1)
Colors: Black or brown
Style: Oxfords or Derby shoes, appropriate for formal occasions
Sandals or flip-flops (1)
Colors: Black, brown, or navy
Style: Comfortable and practical for warm weather
Jacket (1-2)
Colors: Black, navy, or gray
Style: Lightweight or medium weight, versatile design (e.g., bomber, Harrington, or denim jacket)
Coat (1)
Colors: Black, navy, or gray
Style: Warm and stylish, such as a wool overcoat or a parka
Accessories (minimal)
Belt: One black and one brown, matching the color of your shoes
Watch: One versatile and minimalist wristwatch with interchangeable straps (black and brown leather, or a metal band)
Scarf: One or two scarves in neutral colors (black, gray, or navy) for colder weather
Hat: One casual hat (e.g., beanie, baseball cap) in a neutral color for sun protection or warmth
Sunglasses: One pair of classic, versatile sunglasses (e.g., aviators, wayfarers) with a neutral frame color
I am a big fan of cheap VPSs. I start many personal projects, bring up a VPS, play around and then wipe it. Never have to worry about accidentally running up bill in 100s or 1000s of dollars. I run this blog on $4 server.
Ayden was a curious and adventurous five-year-old boy who loved nothing more than riding in his favorite monster truck, Blue Thunder. He spent hours each day practicing and perfecting his skills, always dreaming of one day becoming a professional Monster Jam driver.
One day, as Ayden was practicing his jumps in the backyard, he suddenly found himself soaring higher and higher into the air. Before he knew it, he was hurtling through the atmosphere, leaving the Earth far behind.
I think a lot of people would love to live their life as if they are on a permanent vacation. Before I was married, I didn’t make a lot of money but felt like that everyday was a vacation.
For me, vacation means:
Eating out/not cooking
Not cleaning
Spending time outside
Not working
Ready to travel
Eating out is cheaper than cooking, if you are not picky. I ate mostly fast food. Of course, it is not healthy but it is vacation. Also it is still better than overeating home-cooked meals.
Follow up to my last post, the people I admire the most are usually startup founders or business people. And then creators of open source softwares.
This weekend, I also met my engineer turned entrepreneur friend and saw Jobs movie. It seems I know what I should do.
I want a business that gives a lot of freedom, especially freedom to be with my kids. If I can involve kids in the business, it would be even better. Would love low stress business but it is not a requirement.
Driving to Ayden’s first Monster Jam show earlier this, as AT&T stadium got in our view, he is getting excited. His heart was probably beating faster and he could probably feel it. He said the cutest thing ever, “Baba, my heart is growing bigger.”
I am not sure if women experience midlife crisis but I know several men who have experienced or are still in middle of midlife crisis. I have a theory that every 20 years, men need a big change.
Usually, there is a big change in 20s, people are moving out of their parents’ homes, going to college or starting their careers.
And when people turn 60, they are getting ready to retire. Downsize their homes.
We just recently bought a beautiful single family home. Before this, we lived in a townhouse. And before townhouse, I have lived in apartments. Buying a townhouse was a big step but buying single family home is a whole new beast.
First, buying a house is probably a sound financial decision. There are plenty of articles and research that shows people who own homes are financially better off.
But very few people talk about negatives of homeownership. And I think because lack of that information, a lot of people make incorrect decisions and end up regretting their home purchase. I did. I had huge buyer’s remorse the day we moved into our new home. I am still getting over it.
Found this receipe online, modified it a little and it is our favorite food right now.
Ingriedient
3 lbs meaty beef ribs, (grass-fed)
2-4 tablespoons olive oil
1 tablespoon garlic powder
1 tablespoon onion powder
1 tablespoon cajun seasoning
2 tablespoons sugar
1 teaspoon chili powder
1 teaspoon salt
1 teaspoon paprika
2 teaspoons oregano
Instructions
Rinse ribs and dry COMPLETELY with paper towels.
Lightly coat ribs in olive oil.
Mix together seasoning and sprinkle generously over ribs, front and back.
Place the ribs in a large ziplock bag or covered bowl and marinate in the fridge for 1-2 hours.
Preheat the oven to 250 F.
Place the ribs on a foil lined baking tray in a single layer.
Add another piece of foil on top to create a pouch for the ribs to cook in. Be sure to seal the edges of the foil so that it’s tight and steam won’t seep out.
Bake on the middle rack of 3 1/2 -4 hours.
When the ribs are done to your liking, drain off the excess fat.
There is a saying that we overestimate how much we can do in days but underestimate how much we can achieve in years.
Nothing makes a father as proud and happy as his children. My biggest guiding principle for my long term goals is to provide Ayden and Zayn an environment where they can grow to be happy and successful. Also it is important to realize that I cannot make anyone happy or successful. Only thing I can do is create an environment for them to grow in.
Just the other day, I happened to skim a blog post, “My awakening moment about how smartphones fragment our attention span.” It struck a chord, and I realized that I’m in the same boat. It’s been ages since I’ve properly read a book. Even when I have audiobooks on, I’m doing something else and hardly ever genuinely enjoy them.
I’ve got this habit too, of kicking off loads of projects and then ditching them once it’s time to roll up my sleeves and do the detailed work. Setting up a new project is a rush, but finishing something? That’s a snooze fest.
“It’s What I Do” by Lynsey Addario is probably in my top 10 favorite books. As someone who always wanted to be a serious photographer who would use images to make the world better place, I felt a real connection while reading this book. While reading it, I imagined myself being in the situations that Lynsey was in and I really don’t know if I would have been able to handle those situations.
So we bought Minecraft on PS4 and started to play. I preferred to play in 1st person perspective but Ayden preferred 3rd person. But he didn’t know how to ask me change the perspective. So he would say, “Be the people that Evan’s be.”
Tonight, I was reading Puss in the Boots bedtime story to Ayden. Story begins with Old Miller dying.
Ayden asked me if people die in real life. I am not ready for this conversation but I also didn’t want to lie. I said yes and hoped we can move on quickly.
Ayden’s eyes turned teary. In crying voice, he asked, “Why?”
“It just the way it is.” I said.
I watched him as he processed this new information about life. He has seen dead worms, read stories with death in it, but never connected that with people.
Tonight, I was reading Puss in the Boots bedtime story to Ayden. Story begins with Old Miller dying.
Ayden asked me if people die in real life. I am not ready for this conversation but I also didn’t want to lie. I said yes and hoped we can move on quickly.
Ayden’s eyes turned teary. In crying voice, he asked, “Why?”
“It just the way it is.” I said.
I watched him as he processed this new information about life. He has seen dead worms, read stories with death in it, but never connected that with people.
Feeling my way through the darkness
Guided by a beating heart
I can't tell where the journey will end
But I know where to start
They tell me I'm too young to understand
They say I'm caught up in a dream
Well life will pass me by if I don't open up my eyes
Well that's fine by me
So wake me up when it's all over
When I'm wiser and I'm older
All this time I was finding myself, and I
Didn't know I was lost
So wake me up when it's all over
When I'm wiser and I'm older
All this time I was finding myself, and I
Didn't know I was lost
I tried carrying the weight of the world
But I only have two hands
Hope I get the chance to travel the world
But I don't have any plans
Wish that I could stay forever this young
Not afraid to close my eyes
Life's a game made for everyone
And love is a prize
So wake me up when it's all over
When I'm wiser and I'm older
All this time I was finding myself, and I
Didn't know I was lost
So wake me up when it's all over
When I'm wiser and I'm older
All this time I was finding myself, and I
I didn't know I was lost
I didn't know I was lost
I didn't know I was lost
I didn't know I was lost
I didn't know
Jab aasman girnay lagtay hain
Aur zameen jalnay lagtee hai
Aik chhupa huwa khwaab janam leta hai
Sehraon main awaaz aati hai
Mein kaun hoon
Tum kaun ho
Mein kaun hoon
Tum kaun ho
Gham geen hoon
Aur tum mazloom ho
Jab bhook nachtee gaatee hai
Aur nafratein jashan manatein hain
Aik chhupa huwa khwaab janam leta hai
Sehraon main awaaz aati hai
Mein kaun hoon
Tum kaun ho
Mein kaun hoon
Tum kaun ho
Majboor hoon
Aur tum bay naam ho
Aik chhupa huwa khwaab janam leta hai
Sehraon main awaaz aati hai
Mein kaun hoon
Tum kaun ho
Mein kaun hoon
Tum kaun ho
Gham geen hoon
Aur tum mazloom ho
Tum kaun ho
Mein kaun hoon
Tum kaun ho
Gham geen hoon
Aur tum bay naam ho
Tum kaun ho
Mein kaun hoon
Tum kaun ho
Majboor hoon
Aur tum bay naam ho
There was a time
I used to look into my father's eyes
In a happy home
I was a king, I had a golden throne
Those days are gone
Now they're memories on the wall
I hear the songs from the places where I was born
Up on a hill across the blue lake
That's where I had my first heartbreak
I still remember how it all changed
My father said
Don't you worry, don't you worry, child
See heaven's got a plan for you
Don't you worry, don't you worry now
Yeah
Don't you worry, don't you worry now
Yeah
Don't you worry, don't you worry now
Yeah
There was a time
I met a girl of a different kind
We ruled the world
I thought I'd never lose her out of sight
We were so young
I think of her now and then
I still hear the songs reminding me of a friend
Up on a hill across the blue lake
That's where I had my first heartbreak
I still remember how it all changed
My father said
Don't you worry, don't you worry, child
See heaven's got a plan for you
Don't you worry, don't you worry now
Yeah
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
See heaven's got a plan for you
See heaven's got a plan for you
See heaven's got a plan for you
Don't you worry, don't you worry, child
See heaven's got a plan for you
Don't you worry, don't you worry now
Yeah
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Oh-oh-oh-oh-oh-oh-oh
Yeah
Source: Musixmatch
Songwriters: Steve Angello / Sebastian Ingrosso / Axel Hedfors / Martin Lindstrom / Michel Zitron / John Martin
Back when I was a child
Before life removed all the innocence
My father would lift me high
And dance with my mother and me and then
Spin me around till I fell asleep
Then up the stairs he would carry me
And I knew for sure I was loved
If I could get another chance
Another walk, another dance with him
I'd play a song that would never ever end
How I'd love, love, love to dance with my father again, ooh
When I and my mother would disagree
To get my way I would run from her to him
He'd make me laugh just to comfort me, yeah, yeah
Then finally make me do just what my momma said
Later that night when I was asleep
He left a dollar under my sheet
Never dreamed that he would be gone from me
If I could steal one final glance, one final step
One final dance with him
I'd play a song that would never ever end
'Cause I'd love, love, love to dance with my father again
Sometimes I'd listen outside her door
And I'd hear how my mother cried for him
I pray for her even more than me
I pray for her even more than me
I know I'm praying for much too much
But could you send back the only man she loved?
I know you don't do it usually
But dear Lord she's dying to dance with my father again
Every night I fall asleep and this is all I ever dream
Last year, we took Ayden to monster truck show. We didn’t know how loud these trucks can be. So we bought ear protection headphones for him. He was still feeling a little scared.
Later he came up with idea that sound of engine comes from the tires. He would keep telling me that monster trucks tires are loud or they made it louder after he put on his headphone.
Once upon a younger year
When all our shadows disappeared
The animals inside came out to play
Went face to face with all our fears
Learned our lessons through the tears
Made memories we knew would never fade
One day my father, he told me
"Son, don't let it slip away"
He took me in his arms, I heard him say
"When you get older
Your wild heart will live for younger days
Think of me if ever you're afraid"
He said: "One day you'll leave this world behind
So live a life you will remember"
My father told me when I was just a child
"These are the nights that never die"
My father told me
When thunder clouds start pouring down
Light a fire they can't put out
Carve your name into those shining stars
He said: "Go venture far beyond the shores
Don't forsake this life of yours
I'll guide you home, no matter where you are"
One day my father, he told me
"Son, don't let it slip away"
When I was just a kid, I heard him say
"When you get older
Your wild heart will live for younger days
Think of me if ever you're afraid"
He said: "One day you'll leave this world behind
So live a life you will remember"
My father told me when I was just a child
"These are the nights that never die"
My father told me
"These are the nights that never die"
My father told me
My father told me
I got stuck on this problem, even after looking at answers, I could not follow algorithm. Following video really helped me understand it:
Here is my solution after watching this video:
/**
* @param {number} x
* @param {number} n
* @return {number}
*/
var myPow = function (x , n ) {
if (x == 0 ) return 0
if (n == 0 ) return 1
if (n < 0 ) {
x = 1 / x
n = - 1 * n
}
const half = myPow (x , Math.floor (n / 2 ))
let ans = half * half
if (n % 2 == 1 ) ans = x * ans
return ans
};
/**
* @param {number[]} nums
* @return {SparseVector}
*/
var SparseVector = function (nums ) {
const x = new Map ()
for ( let i = 0 ; i < nums .length ; i ++ ) {
if (nums [i ] != 0 ) {
x .set (i , nums [i ])
}
}
this.map = x
this.length = nums .length
return this
};
// Return the dotProduct of two sparse vectors
/**
* @param {SparseVector} vec
* @return {number}
*/
SparseVector .prototype .dotProduct = function (vec ) {
let ans = 0 ;
for ( let i = 0 ; i < vec .length ; i ++ ) {
if (vec .map .has (i ) && this.map .has (i )) {
ans += vec .map .get (i ) * this.map .get (i )
}
}
return ans
};
// Your SparseVector object will be instantiated and called as such:
// let v1 = new SparseVector(nums1);
// let v2 = new SparseVector(nums2);
// let ans = v1.dotProduct(v2);
I spent hours troubleshooting why url path was getting stripped from requests in our Nodejs/Expressjs based app. The reason was this line in Kubernetes’ Ingress:
nginx.ingress.kubernetes.io/rewrite-target : /
Removing it fixed the issue. Check Kubernetes documentation
I don’t really have much understanding of these terms in the headline. I mostly associate NFT with scams, metaverse with Second Life in VR. But recently I have been thinking about all the times I lost big opportunities because I didn’t understand innovations.
Back in late 2000s, I had a friend who was talking about Bitcoin and how it will change everything. I think he even send me some. But I didn’t understand it and didn’t really wanted to learn it. Of course, in 2018, I was searching my emails and texts trying to find those bitcoins.
For example, let’s say one buys $500,000 single family home and rent it out for $3000 per month. Since it is investment property, they will need to make at least 20% down payment. On $400,000 loan, their monthly payment would be about $2750 at 3.25% interest rate, with $10,000 in property taxes per year and $2000 yearly insurance.
($36,000 – $33,000) / $100,000 = 0.03 or 3% return.
Programming is something I enjoy and pretty good at it. I’m still not at the top of salary range for programmers but this is a tough question. I can get into FAANG but there is still a ceiling of how much one can earn as a software engineer.
Hotel California is such a beautiful song. And it’s deep meaning can apply to pretty much any situation. I have been especially thinking of last line, “You can checkout anytime you like, but you can never leave.”
A lot of people think this song is about about drugs and Hollywood life that is hard to leave. But it can apply to anything. One can never leave their corporate life, they are stuck there forever because they got bills, family, and fear of going on their own. So they can mentally checkout anytime they like, but they can never leave.
Ayden and Simba were playing when they saw the moon. Ayden wanted to go to moon but didn’t know how. Then Simba remembered their friend Rocky the Red Rocket can take them to the moon.
They went to Rocky’s house but he was not there. Simba said let me find him because he can find anyone by sniffing their smells. Simba sniffed and sniffed and found Rocky swimming in the pool.
Once upon a time, there was a little boy named Ayden and he had a little dog called Simba.
One day Aydne said to Simba, he lute’s go to moon.
Since said that is an excellent idea.
So Ayden and Simba went to their friend, Rock the red rocket’s house.
They knocked on the door but no one answered. Simba sniffed and sniff and found Rocky at the pool.
“Hey Rocky, how are you?’ asked Ayden.
“I am good fellas, what are you guys up to” replied Rocky
“We really really want to go to the moon, when you go to moon next time, can you please take us with you?” Ayden asked politely.
Rocky said, oh guess what, I am going to moon right now. Let’s go now, if you can.”
Simba nd Ayden got excited and they jumped in the Rocky.
3, 2, 1, Blast off!!!
Rocky went into space and then landed on the moon.
Moon was so beautiful, Ayden and Simba got out and started to play on the moon. It was very bouncy and it was red. And it smelled like a cheese. So Simba licked the moon’s surface and said moon tastes like cheese too. Ayden took a small bite of moon and guess what, moon is indeed made out of cheese.
Simba and Ayden ate a lot of moon. They got so full.
Rocky called them and said it is time to go back home.
Rocky took them back home and Ayden and Simba thanked Rocky. And then took a nice big nap!
One day, Blue Bus wanted to eat yummy yummy apples. He looked in the fridge but there were no of apples. He went to Target to buy apples. But Target was out of apples too.
Then Blue Bus went to Red Bus but Red Bus was out of apples too. She had just eaten the last apple
Blue Bus then went to Green Bus’s home. Green Bus was out of apples too.
Blue Bus then went to Yellow Bus. Yellow Bus had just got back home from his work. Blue Bus asked if he had any apples but Yellow Bus was out of apples too. But Yellow Bus had just dropped Ayden at his home and Ayden had a big bag of apples.
Blue Bus finally went to Ayden’s home. He asked if Ayden had any apples. Ayden said, “yes I do, right here in my pockets”. Then Ayden gave one apple to Blue Bus. Then all the buses came, Ayden shared his apples with everyone and they all ate apples together.
As I turn back, my eyes dampen
When I realized my incomplete life
My life became clear to me
Broken promises
Deserted dreams
Broken promises
Seek time’s tender shade
Yesterday too, was in ruins
Now is deserted as well
Life asks for a moment of support
Damp memories
Won’t let me sleep due to grief
Damp memories
Won’t let me live.
Once upon a time there was a Yellow bus. Yellow bus was very fast, but there was a Red car which was faster. One day, Red car challenged yellow bus for a race.
They decided to race from Dallas to Houston. It was the longest race ever. All the cars gathered around the highway.
Referee said 1, 2, 3, Go!
Yellow bus goes zoom zoom. But red car goes zoom zoom zooooom. And Red car was faster and it was winning.
After a while Red car looked in its rearview mirror and didn’t see Yellow bus at all. Red car’s engine was overheating, and it was running low on gas. Up ahead was a gas station.
Red car decided to pull into gas station to refill gas and and cool down the engine in a shade.
While resting in the shade, it fell asleep.
Yellow bus, however, didn’t stop. It kept going and going until it crossed the finish line.
Red car woke up and realized, it slept for too long. It raced to finish line but Yellow bus had already won the race.
Red car was surprised and asked how did you not take a break, Yellow bus said by going fast but not too fast. They laughed and then went to eat ice cream.
Moral of story, go fast but not too fast.
Mirza Ghalib was the one of the greatest Urdu poet from 19th century. I translated this poem for a school project.
‘
I look at the joys of this world, as I look at the dust.
Crying used to give me pleasure but now my eyes have gone dry.
When I am dead, wind might take my dust to my destination.
Because now I have no more strength to continue.
For whom are these preparations of welcome, who is this lover from the heaven?
All I see is flowers, and nothing else.
My love has left me capable of nothing.
Now I just wish to live quietly somewhere.
Asad, my poetry is for times past.
It is useless to write, when no one understands.<br />
Who is that is I
Still lost in my mind.
Trying to find my purpose,
When there might not be one.
The first thing was writing
Can words truly change anything?
Why should I write,
When there is so much noise
Are you in that house,
Or are you out here.
I will give up now,
This desert is just too vast.
My voice will not reach you,
Is this even a language.
What is music when there is no rhythm.
Why should I write,
When I have nothing to say.
Wrote this poem long time ago, it seems it is still applicable.
Stop crying, this is just the beginning of love.
Hold on and see what will be next.
In the morning, there were voices in the caravan.
Let’s move on and let the sleeper sleep.
On this ground nothing can grow.
Please stop planting seeds of hopes in your heart.
These are marks of true love, they remain forever.
It is not possible to wash them away from your heart.
Time was more important than anything else in my life.
And Mir, I wasted my time foolishly.<br />
This was another college project, I translated this poem by Mir Taqi Mir.
It was a school or temple, or was it Makkah or a church.
We were all guests, only you were the host.
Oh! How sad it is. I found just before death.
It was only a dream, what I saw. It was only a fairy tale, what I heard.
How sad it is that autumn is in the garden.
There was some grass, which was my friend.
This place is getting chaotic with all these people coming and going.
My heart used to be the place for your peace.
It is useless to remember them, try to be happy.
Dard, it is not important if they remember me or not.<br />
Mir Dard was a sufi poet from India. I translated this poem for college project.
I am a dad to two amazing boys. I am married to a beautiful woman, and we have a tiny 7 pound dog. We live in Dallas. I am lucky enough to work as software engineer and make living with my hobby.
At one time, I dreamt about making video games. Now I am lucky if I get to play them.
But I have better and more fun things to do now, that is playing with my kids. Taking them out and showing the world is one of the greatest joy of life.
O my friend, a heart does not need hate.
All love good but do not even hate bad.
Who does not want the softness of flowers?
But do not be afraid of sharpness of thorns.
There is same blood in the veins of the thorn.
It is brought up by same evening breeze of the spring.
Do not throw away dying flowers.
Yesterday, they were the glamor of the garden.
Once they were also part of the world of perfumes.
O passerby! Do not kick dust on their leaves.
Though they are no longer in the feast.
They were raised in the laps of same morning breeze.
Feeling so empty, and hollow inside,
Cannot believe I am writing a poem to a cigarette,
but I feel so unsatisfied, unfulfilled,
like this poem, half-finished.
Mama told me when I was young
Come sit beside me my only son
And listen closely to what I say
And if you do this it’ll help you
Some sunny day oh yeah
Oh take your time don’t live too fast
Troubles will come and they will pass
Go find a woman yeah and you’ll find love
And don’t forget son there is someone up above
And be a simple kind of man
Oh be something you love and understand
Baby be a simple kind of man
Oh won’t you do this for me son if you can
You got a fast car
I want a ticket to anywhere
Maybe we make a deal
Maybe together we can get somewhere
Any place is better
Starting from zero, got nothing to lose
Maybe we'll make something
Me, myself, I got nothing to prove
You got a fast car
I got a plan to get us out of here
I been working at the convenience store
Managed to save just a little bit of money
Won't have to drive too far
Just 'cross the border and into the city
You and I can both get jobs
And finally see what it means to be living
See, my old man's got a problem
He lives with the bottle, that's the way it is
He says his body's too old for working
His body's too young to look like his
My mama went off and left him
She wanted more from life than he could give
I said, somebody's got to take care of him
So I quit school and that's what I did
You got a fast car
Is it fast enough so we can fly away?
We gotta make a decision
Leave tonight or live and die this way
So I remember we were driving, driving in your car
Speed so fast, I felt like I was drunk
City lights lay out before us
And your arm felt nice wrapped 'round my shoulder
And I-I, had a feeling that I belonged
I-I had a feeling I could be someone, be someone, be someone
You got a fast car
We go cruising to entertain ourselves
You still ain't got a job
And I work in a market as a checkout girl
I know things will get better
You'll find work and I'll get promoted
We'll move out of the shelter
Buy a bigger house and live in the suburbs
So I remember when we were driving, driving in your car
Speed so fast, I felt like I was drunk
City lights lay out before us
And your arm felt nice wrapped 'round my shoulder
And I-I, had a feeling that I belonged
I-I had a feeling I could be someone, be someone, be someoneYou got a fast car
I got a job that pays all our bills
You stay out drinking late at the bar
See more of your friends than you do of your kids
I'd always hoped for better
Thought maybe together you and me would find it
I got no plans, I ain't going nowhere
So take your fast car and keep on driving
So I remember when we were driving, driving in your car
Speed so fast, I felt like I was drunk
City lights lay out before us
And your arm felt nice wrapped 'round my shoulder
And I-I, had a feeling that I belonged
I-I had a feeling I could be someone, be someone, be someone
You got a fast car
Is it fast enough so you can fly away?
You gotta make a decision
Leave tonight or live and die this way
Teaching Children to Walk Independently! – One of the first reassurances I can give families is that Motor Milestones exist on a continuum. Each child achieves these skills at their own time, in their own way. Though we learn motor development from textbooks positing neurodevelopment theory to explain skill acquisition and motor patterning, the manifestation of this progression takes on distinct characteristics when we look at each child as a unique creation. – http://blog.dinopt.com/independent-walking-kids/
Scientists have also administered cognitive tests right after exercise—for example, measuring the flicker fusion threshold (the rate at which a flashing light begins to look like it’s steadily glowing) and found the same thing: After exercise, one’s senses are heightened and thus can detect the flashing at a higher frequency than before exercise.Taken together, these findings indicate that “people see more clearly and immediately after exercise,” Maddock says. “They can make finer visual distinctions; their perceptions are sharper.” – https://www.outsideonline.com/2186146/your-brain-exercise
Notably, most improvements in GI symptoms were maintained, and autism-related symptoms improved even more after the end of treatment. Important changes in gut microbiota at the end of treatment remained at follow-up, including significant increases in bacterial diversity and relative abundances of Bifidobacteria and Prevotella. Our observations demonstrate the long-term safety and efficacy of MTT as a potential therapy to treat children with ASD who have GI problems, and warrant a double-blind, placebo-controlled trial in the future. – https://www.nature.com/articles/s41598-019-42183-0
Anything you can do to keep from packing up your shit and leaving is called love. – http://a.co/7cPPwc2
It is hard sometimes to keep in mind the growth-promoting potential of the mismatches between parent and child goals because the parents’ empathy for the child can make them feel as if it is their fault that they cannot fulfill the child’s wishes. – http://a.co/cbhTMiO
The basic premise of attachment theory is that toddlers can grow into happy and competent children if they can rely on at least one adult who makes them feel safe and protected. From this basic feeling of security in relationships grows the impetus to explore how things work in the world and to try out new skills. – http://a.co/1QjXVtb
Toddlers walk through life like we all wish we could: confident, demanding, and 100 percent positive that they are the center of the universe. – http://a.co/7nddWp3
It also appears that belonging to the London cluster made writers substantially more productive. Mitchell finds that the average writer in London saw their productivity go up by 12 percent. By comparison, writers in smaller clusters, in Dublin, Edinburgh, Oxford, and Cambridge, saw no such gains. Furthermore, being part of the London cluster increased the likelihood of an author having their work published in any given year by 24 percent. – https://www.citylab.com/life/2019/06/british-irish-writers-london-clustering-dickens-woolf/590884/
Research led by the University of Exeter, published in Scientific Reports and funded by NIHR, found that people who spend at least 120 minutes in nature a week are significantly more likely to report good health and higher psychological wellbeing than those who don’t visit nature at all during an average week. However, no such benefits were found for people who visited natural settings such as town parks, woodlands, country parks and beaches for less than 120 minutes a week. – https://medicalxpress.com/news/2019-06-hours-week-key-dose-nature.html
In May 2012 I made a commitment that changed my career: A simple task, completed every day, that skyrocketed my blog and allowed me to make over $30,000 in 6 weeks: https://nathanbarry.com/commitment-changed-career/
Vonnegut: Can you believe this guy? He makes more money in a single day than we’ll make in our entire lives. And you wrote Catch-22! > Heller: Sure, but I have something he’ll never have. > Vonnegut: Yeah, Joe? What’s that? > Heller: Enough: https://news.ycombinator.com/item?id=20436934
The deliberate dog body language of curving is used in polite greetings, negotiation, or as a calming signal. A head-on, frontal approach can be seen as confrontational. The curving could be the curving of the dog’s body (which makes a slight c-shape), or a directional curve in the path the dog walks on approach. Some have described it as a ‘banana walk’, an easy descriptive way to imagine the direction of walk, due to the shape of the path taken by the dog.
— https://www.silentconversations.com/dog-body-language-curving-silent-conversations/
“The most important emotional accomplishment of the toddler years is reconciling the urge to become competent and self-reliant with the simultaneous and sometimes contradictory longing for parental love and protection.” — The Emotional Life of the Toddler by Alicia F. Lieberman – http://a.co/ahiuBee
“It is neither possible nor desirable to be always attuned and responsive to the moods and wishes of children.” — The Emotional Life of the Toddler by Alicia F. Lieberman – http://a.co/fwr0A4E
Most knowledge worth having comes from practice. It comes from doing. It comes from creating. Reading about the trade war with China doesn’t make you smarter—it gives you something to say at dinner parties. It gives you the illusion that you have the vaguest idea what is happening in our enormously complex world: https://tjcx.me/posts/consumption-distraction/
“but the often observed increased involvement of fathers in the toddler years may be linked to findings that fathers as a group are more likely than mothers to promote the adventurous exploration and challenging play that toddlers are now ready to join.” — The Emotional Life of the Toddler by Alicia F. Lieberman – http://a.co/89HPMXr
“One study, for example, found that children who showed a secure attachment to their fathers by seeking them out for comfort when feeling stressed had fewer behavior problems and showed more competence in school and peer groups than did those who had an insecure relationship with their fathers.” — The Emotional Life of the Toddler by Alicia F. Lieberman – http://a.co/5KTWPMl
Living cells in the human body experience forces of various frequencies (for example breathing, heartbeats, walking, running, jumping and singing), typically ranging from 0.2 hertz to hundreds of hertz,” the researchers wrote. At the highest frequencies, cells became stiffer and the enzymes that guide gene transcription could not bind to the DNA, the team found.Cells’ immediate responsiveness to force makes sense from an evolutionary perspective, Wang said.”Cells must be able to respond quickly to things in their environment so they can survive,” he said. – https://phys.org/news/2020-04-physical-spurs-gene-reveals.html
An important point to note here is that automated trading does not mean it is free from human intervention. Automated trading has caused the focus of human intervention to shift from the process of trading to a more behind-the-scenes role, which involves devising newer alpha-seeking strategies on a regular basis: https://blog.quantinsti.com/learn-algorithmic-trading/
In this article we’ll look into a real options trading strategy, like the strategies that we code for clients. This one however is based on a system from a trading book. As mentioned before, options trading books often contain systems that really work – which can not be said about day trading or forex trading books. The system examined here is indeed able to produce profits. Which is not surprising, since it apparently never loses. But it is also obvious that its author has never backtested it: https://financial-hacker.com/algorithmic-options-trading-part-3/
If you’re considering algo trading as a career then be sure to talk to a lot of people doing it. I spent several years trying to break in to the industry at a few prop firms with only middling success. Here are my observations:1. The vast majority of firms only hire people with CS or math degrees from top 10 schools, with an MS being the minimum. There are few exceptions.2. Nobody is making as much money as they used to.3. Depending on what firm you end up at you will probably spend a lot less time building cool strategies and a lot more time trying to shave off a few microseconds here and there.4. Be prepared for a pretty rough work environment. Swearing, violent outbursts, people being secretive and not sharing ideas.5. If you’re lucky, management will be STEM people. If you’re not, they will be former floor traders who have managed to stay alive this long. – Ask HN: How do I get started with Algo trading? | Hacker News – https://news.ycombinator.com/item?id=11332960
I write (program, paint, animate, market, and so on) computer games like this one1. The recent economic troubles haven’t effected me negatively that much, instead it’s been a positive thing as more people are home and playing more games. I don’t necessarily want to ‘profit’ from all the hardship around, but I’m glad to provide products that entertain and hopefully make the current situation a bit more bearable – that feels good.I got started over 10 years ago now, making Flash-based games and licensing them to various web portal and publishers, which was good money for a student back then! A little indie game developer golden age where you’d get a lot of players and also a few thousand dollars per game without too much trouble. I went on from there doing self-published games that anyone can buy on Steam or the Mac Store, both of which provide about 90% of my revenue, and the remaining 10% are from smaller stores and game distributors.1https://store.steampowered.com/app/654960/The_Eldritch_Zooke… <- My current project. – Ask HN: Successful one-person online businesses? | Hacker News: https://news.ycombinator.com/item?id=22858035
I took a pill in Ibiza
To show Avicii I was cool
And when I finally got sober, felt ten years older
But fuck it, it was something to do
I'm living out in LA
I drive a sports car just to prove
I'm a real big baller 'cause I made a million dollars
And I spend it on girls and shoes
But you don't wanna be high like me
Never really knowing why like me
You don't ever wanna step off that roller coaster and be all alone
You don't wanna ride the bus like this
Never knowing who to trust like this
You don't wanna be stuck up on that stage singing
Stuck up on that stage singing
All I know are sad songs, sad songs
Darling, all I know are sad songs, sad songs
I'm just a singer who already blew his shot
I get along with old timers
'Cause my name's a reminder of a pop song people forgot
And I can't keep a girl, no
'Cause as soon as the sun comes up
I cut 'em all loose and work's my excuse
But the truth is I can't open up
Now you don't wanna be high like me
Never really knowing why like me
You don't ever wanna step off that roller coaster and be all alone
You don't wanna ride the bus like this
Never knowing who to trust like this
You don't wanna be stuck up on that stage singing
Stuck up on that stage singing
All I know are sad songs, sad songs
Darling, all I know are sad songs, sad songs (hey)
I took a plane to my hometown
I brought my pride and my guitar
All my friends are all gone but there's manicured lawns
And the people still think I'm a star
I walked around downtown
I met some fans on Lafayette
They said tell us how to make it 'cause we're getting real impatient
So I looked 'em in the eye and said
You don't wanna be high like me
Never really knowing why like me
You don't ever wanna step off that roller coaster and be all alone
You don't wanna ride the bus like this
Never knowing who to trust like this
You don't wanna be stuck up on that stage singing
Stuck up on that stage singing
All that I know are sad songs, sad songs
Darling, all that I know are sad songs, sad songs
Virginia Woolf and poetry
No one seemed to notice me
Being young was getting so old
Cheap beer and cigarettes
Life was like a movie set
And I seemed to be given no role
But in times of trouble
I can turn to my mother
And I know that she gon' understand
So at age 18
I cried to my mother
And she told me, "young man"
"There are moments when you fall to the ground
But you are stronger than you feel you are now
You don't always have to speak so loud, no
Just be as you are
Life is not always a comfortable ride
Everybody's got scars that they hide
And everybody plays the fool sometimes, yeah
Just be as you are"
They played me on the radio
And everything was changing, so
I thought I was all the way grown
But I can still remember in that cold November
When I realized I'm all alone
But in times of trouble
I can turn to my mother
And I know that she gon' understand
So at age 22
I cried to my mother
And she told me, "young man"
"There are moments when you fall to the ground
But you are stronger than you feel you are now
You don't always have to speak so loud, no
Just be as you are
It doesn't matter if you become some star
Life is better when you open your heart
You don't always have to act so hard, no
Just be as you are"
"There are moments when you fall to the ground
But you are stronger than you feel you are now
You don't always have to speak so loud, no
Just be as you are
It doesn't matter if you become some star
Life is better when you open your heart
You don't always have to act so hard, no
Just be as you are"
I was debating between PS5 and Quest 2 (Affiliate link), and yes it is like comparing apples and oranges, but in the end Quest 2 won. I will likely buy PS5 at some point though. But before I buy PS5, I need a new TV with 4K and HDR. It seems pointless to play PS5 on 1080p TV from early 2010s.
Quest 2 is not my first experience with Virtual Reality. I tried PSVR about 2-3 years ago but the mess of wires really turned me off with the idea of VR. When I found out that Quest 2 is completely wireless, I got interested in it again. I was not very excited about needing Facebook account to use it though.
I translated this poem in my freshman year for my English class.
This is a world of miracles for you.
But for me, this is the world of randomness.
The world of fantasies is poor,
But poorer is the world of births and deaths.
It is no wonder that your gaze will change it all,
The world of possibilities is calling you.
Na main moman vich maseetan
Na main vich kufar dian reetan
Na main pakan vich paleetan
Na main andar bed kitaban
Na main rehnda phaang sharaban
Na main rehnda mast kharaban
Na main shadi na ghamnaki
Na main vich paleetan pakeen
Na main aaabi na main khaki
Na main aatish na main paun
Today Ayden said, “Jack (his friend) wants to be firetruck driver and I will be ambulance driver. Jack will put out fires. I will take people to hospital. It will be so much fun.”
It's not time to make a change
Just relax, take it easy
You're still young, that's your fault
There's so much you have to know
Find a girl, settle down
If you want you can marry
Look at me, I am old, but I'm happy
I was once like you are now
And I know that it's not easy
To be calm when you've found
Something going on
But take your time, think a lot
Think of everything you've got
For you will still be here tomorrow
But your dreams may not
How can I try to explain?
When I do he turns away again
It's always been the same, same old story
From the moment I could talk
I was ordered to listen
Now there's a way
And I know that I have to go away
I know I have to go
It's not time to make a change
Just relax, take it slowly
You're still young, that's your fault
There's so much you have to go through
Find a girl, settle down
If you want you can marry
Look at me, I am old, but I'm happy
All the times that I've cried
Keeping all the things I knew inside
It's hard, but it's harder to ignore it
If they were right I'd agree
But it's them they know, not me
Now there's a way
And I know that I have to go away
I know I have to go
Journey to the Microcosmos is a YouTube channel all about looking at microscopic organisms through microscope. Videos are beautifully produced and narrator explains what you are looking at in a calm soothing voice. These videos are educational and interesting. Highly recommended.
They say boys don't cry
But your dad has shed a lot of tears
They say I should be a strong man
But baby, I'm still filled with fear
Sometimes I don't know who I am
Sometimes I question why I'm here
I just wanna be a good dad
Will I be, I have no idea
They say girls shouldn't be tough
And moms should raise their kids at home
But baby, I know that that isn't true
'Cause your momma's the toughest person I know
I wanna raise you to be like her
And watch you show the world how to do it on your own
I'm still tryna figure out who I am
I don't wanna mess this up or do this wrong
I'm gonna be there for your first breath
I don't know if I'll be there for your first step
I can promise you that I'll try to work less
But the tour's routed, and I got this album
Put in so many hours, and I just want the outcome
To be something that I can look back and I can be proud of
Don't wanna be a dad that's living in FaceTime
But I've got a world to sing to and you at the same time
I won't spoil you, you can trust that
For your sweet sixteen, you get a bus pass
Had your heart broken, been there, done that
I love you and I can't give you enough of that
Get back to community that raised you up
Read Langston Hughes, I suggest A Raisin in the Sun
Listen to Sam Cooke, a change gon' come
You put the work in, don't worry about the praise, my love
Don't try to change the world, find something that you love
And do it every day
Do that for the rest of your life
And eventually, the world will change
I'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I if
I'm the person you become
If I'm still growing up, up, up, up
I'm still growing up, up, up, up
I'm still growing up
I recommend that you read The Alchemist
Listen to your teachers, but cheat in calculus
Tell the truth, regardless of the consequence
And every day, give your momma a compliment
Take your girl to the prom
But don't get too drunk hanging out the limo
Slow dance with your woman in your arms
Sneak her in after but boy, you better tiptoe
Don't wake your mom up, do yoga, learn 'bout karma
Find God, but leave the dogma
The quickest way to happiness learning to be selfless
Ask more questions, talk about yourself less
Study David Bowie, James Baldwin and 2Pac
Watch the sun set with best friends from a rooftop
Wear a helmet, don't be stupid, jaywalk, but look before you do it
If it snows, go outside, build a jump, get some help
Get a sled, thrash the hill with your friends, 'til it melts
Go to festivals, camp, fall in love and dance
You're only young once, my loved one, this is your chance
Take risks, 'cause life moves so fast
You're only young once, my loved one, this is your chanceI'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I
If I'm the person you become
If I'm still growing up, up, up, up
I'm still growing up, up, up, up
I'll be patient, one more month
You'll wrap your fingers round my thumb
Times are changing, I know, but who am I
If I'm the person you become
If I'm still growing up, still growing up, still growing up
If I'm still growing up, still growing up, still growing up
If I'm still growing up
I'm still growing up, ooh
I'm still growing up
I'm still growing up
Nants ingonyama bagithi baba
Sithi uhm ingonyama
Nants ingonyama bagithi baba
Sithi uhhmm ingonyama
Ingonyama
Siyo Nqoba
Ingonyama
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (asana)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
From the day we arrive on the planet
And, blinking, step into the sun
There's more to see than can ever be seen
More to do than can ever be done
There's far too much to take in here
More to find than can ever be found
But the sun rolling high
Through the sapphire sky
Keeps great and small on the endless round
It's the circle of life
And it moves us all
Through despair and hope
Through faith and love
'Til we find our place
On the path unwinding
In the circle
The circle of life
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
Ingonyama nengw' enamabala (se-to-kwa!)
It's the circle of life
And it moves us all
Through despair and hope
Through faith and love
'Til we find our place
On the path unwinding
In the circle
The circle of life
Yesterday, after I picked up Ayden from his daycare, he said, he didn’t know what he wants to be. I guess they asked him this question in his class. I told him he has plenty of time to figure it out. There is no rush.
Then later at night he said, “Baba, I know what I want to be. I want to be a Tow Truck Driver.” He said it would be so much fun to tow cars.
I have been using Docker and Kubernetes for several years now but never really took any time to really read about it. There were a lot of gaps in my understanding of how Docker works and what really is possible with it. Just recently my employer started to offer Udemy’s subscription, so I took Hands on Docker course. Here are some of the important things I learned in this course.
Where do you run Docker containers
You run these in Windows or MacOS but most likely you will use Linux in production. And unlike Windows and MacOS, you can run Docker on Linux VPS.
Everything seemed okay but email were not getting delivered. Logs showed me that smtp connections were timing out:
tail -f /var/log/mail.log
May 3 12:28:10 postfix/smtp[3160]: connect to gmail-smtp-in.l.google.com[172.217.197.27]:25: Connection timed out
May 3 12:28:10 postfix/smtp[3160]: connect to alt1.gmail-smtp-in.l.google.com[2800:3f0:4003:c00::1a]:25: Network is unreachable
May 3 12:28:40 postfix/smtp[3160]: 4984C41A1E: to=<xxxx@gmail.com>, relay=none, delay=3246, delays=3186/0.01/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c00::1a]:25: Network is unreachable)
However, I could ping any of above ip addresses just fine.
Without full understanding, I had enabled HSTS on amerkhalid.com with option includeSubDomains. I had a subdomain that was used as “Custom Domain” to SmugMug site. After enabling HSTS, these subdomains started to throw NET::ERR_CERT_COMMON_NAME_INVALID.
The fix is of course simple, don’t use includeSubDomains. But that opens up your top level domain to man in middle attacks.
For now, I decided to follow the best practices and leave includeSubDomains enabled. And decided to not use custom domain for my SmugMug site.
> interactive-adventure-game-tool@1.0.0 start /Users/amer/alexa/interactive-adventure-game-tool
> node node_modules/gulp/bin/gulp.js
/Users/amer/alexa/interactive-adventure-game-tool/node_modules/require-dir/index.js:97
if (!require.extensions.hasOwnProperty(ext)) {
^
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (/Users/amer/alexa/interactive-adventure-game-tool/node_modules/require-dir/index.js:97:37)
at Object.<anonymous> (/Users/amer/alexa/interactive-adventure-game-tool/gulpfile.js:1:85)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Liftoff.handleArguments (/Users/amer/alexa/interactive-adventure-game-tool/node_modules/gulp/bin/gulp.js:116:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! interactive-adventure-game-tool@1.0.0 start: `node node_modules/gulp/bin/gulp.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the interactive-adventure-game-tool@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/amer/.npm/_logs/2018-01-02T05_12_24_832Z-debug.log
Setting up Ingress is an easy process but when it doesn’t work it gets really painful. First, make sure you have Ingress Controller setup correctly. This is in addition to Ingress resource and should be automatically setup by your cloud provider. When I was trying to setup a Kubernetes cluster on IBM Cloud, I ran into a lot of issues. It seems due to my permissions level something went wrong during provisioning of Kubernetes and Ingress Controller was not setup correctly. I went through a lot of steps including recreating alb , ingress resources, etc. The final fix was to login to IBM Cloud as superuser to change Access Policies for the cluster. Once did that, everything just worked magically.
Runtime: 52 ms, faster than 13.33% of PHP online submissions for Set Matrix Zeroes. Memory Usage: 19.8 MB, less than 80.00% of PHP online submissions for Set Matrix Zeroes.
I moved all my blogs back to Hugo. I have gone back and forth between Wordpress and Hugo several times. WordPress makes it really easy to write and publish content. On this domain, I was using WordPress as a bookmarking service. With PressThis plugin, I was able to use a bookmarklet and publish a new post from any page on the web. But that plugin has not been updated in a while and it seems with every new WordPress release something would break. A few times, I was able to hack it to keep going. But lately, I cannot keep up with it. I will have to figure out a better way to bookmark but for now, I didn’t want to deal with WordPress. And easy bookmarking was the only reason why I was using WordPress.
Robert Walter Weir was one of the most popular instructors at West Point in the mid-1800s. Which is odd at a military academy, because he taught painting and drawing. Weir’s art classes were mandatory at West Point. Art can broaden your perspective, but that wasn’t the point. Nineteenth-century West Point cadets needed to be good at drawing because cartography was in its infancy. High-quality maps of the United States – let alone, say, Mexico – were scarce, if they existed at all. Military officers were expected to draw maps on the fly and record a battlefield’s topography. It wasn’t a niche; it was vital to war. Weir’s favorite student, who passed the time at West Point drawing river bends and mountain ranges, was Ulysses S. Grant. West Point no longer offers drawing or painting classes. Its sole cartography course emphasizes mapping software and technology, as you might expect. Drawing was an expiring military skill. Critical in one era, diminished in the next, unmentionable thereafter. A lot of things work that way. Every field has two kinds of skills: Expiring skills, which are vital at a given time but prone to diminishing as technology improves and a field evolves. Permanent skills, which were as essential 100 years ago as they are today, and will still be 100 years from now. Both are important. But they’re treated differently. Expiring skills tend to get more attention. They’re more likely to be the cool new thing, and a key driver of an industry’s short-term performance. They’re what employers value and employees flaunt. Permanent skills are different. They’ve been around a long time, which makes them look stale and basic. They can be hard to define and quantify, which gives the impression of fortune-cookie wisdom vs. a hard skill. But permanent skills compound over time, which gives them quiet importance. When several previous generations have worked on a skill that’s directly relevant to you, you have a deep well of relevant examples to study. And when you can spend a lifetime perfecting one skill whose importance never wanes, the payoffs can be ridiculous. Anything that compounds over decades usually is. A few permanent skills that apply to many fields: Not being a jerk. Being a jerk offsets being talented one for one, if not more. They don’t teach this in school, but it’s the single most important career skill. Part of this includes empathizing with jerks who are being jerks because they’re dealing with stress. The willingness to adapt views you wish were permanent. Accepting when expiring skills have run their course. A lot of what we believe about our fields is either right but temporary, or wrong but convincing. Sam Arbesman’s book The Half-Life of Facts makes this uncomfortably clear. “Medical knowledge about cirrhosis or hepatitis takes about forty-five years for half of it to be disproven or become out-of-date,” he writes. “This is about twice the half-life of the actual radioisotope samarium-151.” Getting along with people you disagree with. Equally smart people can come to different conclusions. And as Larry Summers once noted, “There are idiots; look around.” Some of these people can be avoided. Many can’t. You have to deal with them diplomatically. People who view every disagreement as a battle that must be won before moving on end up stuck and bitter. Getting to the point. Everyone’s busy. Make your point and get out of their way. Respecting luck as much as you respect risk. Acknowledging risk is when something happens outside of your control that influences outcomes and you realize it might happen again. Acknowledging luck is when something happens outside of our control that influences outcomes and you realize it might not happen again. Staying out of the way as much as you offer to help. You can add as much value by getting out of people’s way and minimizing your burden as you can by actively helping. This is especially important for two groups: new employees eager to get involved, and senior managers eager to get involved. Accepting a certain degree of hassle and nonsense when reality demands it. The ability to be comfortable being miserable. Frances Perkins, Franklin Roosevelt’s Secretary of Labor, said the most remarkable thing about the president’s paralysis was how little it seemed to bother him. He told her: “If you can’t use your legs and they bring you milk when you wanted orange juice, you learn to say ‘that’s all right,’ and drink it.” A useful and permanent skill in a world that’s constantly breaking and evolving. The ability to distinguish “temporarily out of favor” from “wrong.” Endurance is key because every industry is cyclical, and putting up with its dark days is the only way to ensure you’re part of the good ones. Gracefully exiting when you realize that whatever fueled past success doesn’t work anymore is also key. Warren Buffett says his favorite holding period is forever, then dumped $7 billion worth of airline stocks based on a few weeks of data. That might lo
“Have you ever watched Inside the Actors Studio? The host, James Lipton, invariably asks his guests, “What factors make you decide to take a particular role?” The actor always answers: “Because I’m afraid of it.””
“Heaven and Earth are meeting in a storm that, when it’s over, will leave the air purer and the fields fertile, but before that happens, houses will be destroyed, centuries-old trees will topple, paradises will be flooded.”
““There’s no point sitting here, using words that mean nothing. Go and experiment. It’s time you got out of here. Go and re-conquer your kingdom, which has grown corrupted by routine. Stop repeating the same lesson, because you won’t learn anything new that way.””
“In India, they use the word ‘karma,’ for lack of any better term. But it’s a concept that’s rarely given a proper explanation. It isn’t what you did in the past that will affect the present. It’s what you do in the present that will redeem the past and thereby change the future.””
“There’s a secret that real writers know that wannabe writers don’t, and the secret is this: It’s not the writing part that’s hard. What’s hard is sitting down to write.”
This year I crossed off one of my bucket list item, got Open Water Diver certification. I had done scuba diving before at Honolulu. It is among my top 3 best experiences. Ever since that vacation, I had been wanting to get into diving more seriously.
But since we live in land locked Dallas, I didn’t think it was possible or worth it. Then this year in February I saw Groupon from International Scuba and I decided to just go for it. I think Groupon was for $250 but then there was a fine print which said we need to buy our own mask, fins, snorkel, and boots. I bought all this gear from International Scuba as they offered free gear rental for checkout dives. But this added about additional $200.
I got my iPad Pro at the end of 2017. Before buying it, I had read many blog posts by various developers who were using iPad for programming and web development. But soon after I bought it, I realized that serious web development on iPad is hard. The biggest issue was debugging JavaScript and CSS without web tools.
At first, I was having buyer’s remorse but I loved the form factor of iPad and loved drawing on it. I am used to reading on Kindle and iPad was just too heavy for long reading sessions but it was very decent reading device for quick reading sessions. So I kept it.
“The things we really want to do are usually the ones that scare us the most. The things you’ll not feel conflicted about are the choices that leave no one hurt.”
— What Should I Do with My Life?: The True Story of People Who Answered the Ultimate Question by Po Bronson https://a.co/izynNz8
Here are some things to consider about consulting:Sales/Selling is the last thing on your list and salesperson is only a maybe. Reverse all of your priorities because selling and relationships are the most difficult things to master for a consulting company and you will die without those skills.In consulting, tech talent < sales/relationship talent. In fact, if you’re great at the latter go ahead and get started now because there are lots of great tech people who don’t want to do it and will come work for you on a nice contract rate.To give you an example of this I once worked with a consultant who was a technical rock star, and another consultant who was supposed to be technical but was actually pretty below average. The below average guy was more successful because he was great when talking with the customers and they loved him. He knew enough to talk through problems at a high level, explained things well, and made them feel comfortable that things we’re on the right track. If he didn’t know something, no problem, he just went and found someone with the answer.Besides those soft skills he knew how to set and manage expectations. You may be used to the best results winning, but if you don’t manage and then exceed expectations it doesn’t matter. People love you when they expect 80 out of 100 and you deliver 88. They will not be happy and often fire you if expecting 100 out of 100 and you deliver 92. You will wonder how you just lost to a competitor who is not “as good” as you.Even if you have pretty good soft skills, do you want to spend time constantly using them? I thought you liked the tech side? If you like both then great because someone has to spends tons of time doing it to sell, maintain, and expand the work and your success depends on how good they are at it.For many people this will all be hard to believe, or they think it’s exaggerated, or that it’s easy to just hire someone to do it. That’s fine, I hope you have great success. Drop me a line in a couple years to say how things turned out.
“For would-be entrepreneurs (he calls them “wantrapreneurs”), or entrepreneurs who’ve grown a little too comfortable, Noah has a recommendation—ask for 10% off of your next few coffees. “Go up to the counter and order coffee. If you don’t drink coffee, order tea. If you don’t drink tea, order water. I don’t care. Then just ask for 10% off. . . . The coffee challenge sounds kind of silly, but the whole point is that—in business and in life—you don’t have to be on the extreme, but you have to ask for things, and you have to put yourself out there.””
“I remember walking out of the station around midnight. It was up on the top of this mountain, a beautiful place. I remember looking out and just saying, ‘Oh, my God, when am I going to like this? When am I going to really be happy with the work that I’m churning out?’ I look back on that all the time . . . if I could go back and just tell myself, ‘Don’t stress about it, it’s all going to work out in the end.’”
I have been trying to figure out next steps in my career. On one hand, there is management track. Then on other side, I just like to code and not deal with meetings and all that. But then as a dev, my earning potential is limited. Been thinking of going solo as freelancer. Then I can focus on code and choose my own projects.
““I think we need to teach kids two things: 1) how to lead, and 2) how to solve interesting problems. Because the fact is, there are plenty of countries on Earth where there are people who are willing to be obedient and work harder for less money than us. So we cannot out-obedience the competition. Therefore, we have to out-lead or out-solve the other people. . . .”
— Tools of Titans: The Tactics, Routines, and Habits of Billionaires, Icons, and World-Class Performers by Timothy Ferriss https://a.co/62h4x27
““What could possibly be more important than your kid? Please don’t play the busy card. If you spend 2 hours a day without an electronic device, looking your kid in the eye, talking to them and solving interesting problems, you will raise a different kid than someone who doesn’t do that. That’s one of the reasons why I cook dinner every night. Because what a wonderful, semi-distracted environment in which the kid can tell you the truth. For you to have low-stakes but superimportant conversations with someone who’s important to you.””
““Because most of us say yes to too much stuff, and then, we let these little, mediocre things fill our lives. . . . The problem is, when that occasional, ‘Oh my God, hell yeah!’ thing comes along, you don’t have enough time to give it the attention that you should, because you’ve said yes to too much other little, half-ass stuff, right? Once I started applying this, my life just opened up.””
“DEREK: “Well, I meet a lot of 30-year-olds who are trying to pursue many different directions at once, but not making progress in any, right? They get frustrated that the world wants them to pick one thing, because they want to do them all: ‘Why do I have to choose? I don’t know what to choose!’ But the problem is, if you’re thinking short-term, then [you act as though] if you don’t do them all this week, they won’t happen. The solution is to think long-term. To realize that you can do one of these things for a few years, and then do another one for a few years, and then another.”
Here is a list of parenting books recommended by members of Hacker’s News community. All links are affiliate links to purchase these books from Amazon:
Last week, I had decided to use Swift/Apple’s ecosystem for initial gamedev. But I wasn’t feeling 100% okay with getting locked into Apple’s ecosystem.
So I spent last week doing more research on developing simple apps using Swift, Xamarin, Flutter, and React Native.
Since I use JavaScript at work, React Native would be the easiest way for me to get started but it feels too much like work and I am kind of tired of js/npm dependencies and build tools. One nice thing about staying in Apple’s ecosystem is that everything has really good documentation and feels more polished.
It is amazing how having your own kids changes everything.
I love my my dog and because of him I love almost all dogs. I hated leaving him home, so much, that I would not go to restaurants that don’t let dogs in patio. (With Whiskey Cake being notable exception). Every grocery trip, I would buy him a new toy, many times had arguments with wife because he had too many toys. Every vacation we would have huge argument because I wanted dog friendly vacation where we can take our dog.
I am not sure how I found this book by Erik Dietrich. Maybe Google or Amazon recommended it. But I found it very inspiring. There are so many things in it that I agree with and so many new things that I am still having hard time believing.
As a developer, who is having a hard time figuring out his career, this book provided an interest perspective. The basic idea in it is that in any big corporation, developers are unlikely to find fulfilment. They may truly believe in their employer’s mission and try to climb corporate ladder. When they do that they will get stuck in middle management. They will keep working hard, hoping to move on to executive roles but very few would do by believing and hard work alone.
Ever since I bought iPad, I have tried to make it my main computing device. I love the form factor. I love many apps on it. I am have really started to enjoy many photography apps on it. Touch screen makes a lot of sense for photo editing. Snapseed, Apple Photos, Affinity Photo are my favorite photo apps on the iPad. But it has been hard to incorporate it in my photography workflow.
I use 13-inch MacBookPro for personal projects and 15-inch for work. My personal MBP would be last traditional laptop, hopefully. Since most of my work can easily be done on Linux VPS. I have been using 10.5-inch iPad Pro with Blink shell for most my side projects. I like the form factor of iPad Pro and I am getting better at Linux administration. Now I am also setting up Docker images so I can bring up new images as needed.
Occasionally, when people find out I am a programmer, they ask me if I will build them a website or an app on the side. As I spend all day programming at my work, I rarely have motivation to continue programming after work.
However, talking to most people, I realize they don’t need a programmer; most of their needs can be met by a simple SaaS solution. Recently, I directed a few friends to WordPress.com, SmugMug, Shopify, etc. They all were happy with the results and ease of use. Also I am glad they talked to me because one guy was ready to spend a few thousands on a developer for a WordPress-based site.
Managing WordPress can get time consuming. I have tried to move to static website several times but kept going back to WordPress. But there are several advantages of static sites generators that I finally moved for good. I am also advising a lot of my clients to use Hugo especially when they know that they will rarely ever update their sites.
Here are some of main advantages of Hugo (or other static site generators) vs WordPress and other CMS.
I finally bought 10.5” iPad Pro (Affiliate Link). It was mostly an impulse purchase. When first I started to use iPad, it felt blah. It is hard to find good apps or what apps you might want to try out.
My main goals with iPad was to have a really small laptop replacement. So I was hoping for a decent code editor. There are some code editing apps but there is no way to try them out before purchasing. So I am spending a lot of time reading reviews before I purchase any app.
As a developer, I am lucky that I get to work from home as needed. But I have never been 100% remote; Lately, I have been reading a lot about working remotely, remote first companies, Digital Nomad lifestyle etc. This is compilation of various resources that I have found useful so far:
I upgraded PHP to version 7.0 on Ubuntu box. Running php -v on shell would show it as version 7.0. But Apache was still using PHP 5.6. I tried various methods to update settings for Apache but nothing worked until I issued following commands:
sudo a2dismod php5.6
sudo a2enmod php7.0
sudo service apache2 restart
After 3 years, I am using Laravel again at work. Laravel has extensive documentation but sometimes it can be a bit verbose. Here are command to get you started as soon as possible. This assumes pretty much fresh install of MacOS.
My biggest takeaway from this book was that most people start business to create a job for themselves. For example, a person who enjoys baking may start a cake shop. The problem with this approach is that one is working in the business, not on it. The right way to start a business is with a goal of eliminating one’s job. For example, the person above should figure out a way to hire someone else to do baking.
I learned of Mark Manson through his blog, especially this post, 7 Strange Questions That Help You Find Your Purpose. Since then I have been on and off following his blog. He usually has a lot of good advice, so finally I decided to get his book. Makes it easier to have all information in one place.
I had no idea what Subtle Art of Not Giving a F*ck was about. It was an impulse purchase, perhaps to support his blog. It turns out to be a really good book. As a semi-regular reader of his blog, I sort of knew what his philosophies were. Still it was good to read everything in one place.
I signed up on a few microstock sites hoping recoup some of cost of my camera. These sites provide FTP access for easy uploading photos. Lightroom doesn’t come with an easy way to publish or export photos to FTP site.
But Lightroom SDK comes with a free sample plugin that can export photos to a FTP site. It works really well and very easy to install. I learned this at LightroomSolutions.com.
I wasn’t sure what to expect when I picked up “The War of Art” by Steven Pressfield. It shows up on Hacker’s News and other entrepreneurs’ forums regularly as a recommended reading. Steven Pressfield is a novelist but this book is popular reading for anyone who is pursuing a goal.
The author’s main point is that the most important and the hardest thing is doing. Weather that be sitting down at desk to write a novel or software. Once you are at your desk, or at your office, the hard part is done. This can apply to anything; fitness, painting, photography, etc.
Now that I have a new fancy camera, I have tried to organize my photos better. Over years I have collected about 70GB of photos. It seems a lot to me but apparently there are many people with well over 1000 GB of photos. The biggest challenge with so many photos is that it is hard to organize them. Upon several recommendations and some searches on the web, it seems Lightroom is the best software for organizing and managing photos.
How to Fail at almost Everything but still Win Big by Scott Adams (affiliate link) comes up on Hackers’ News a lot. Finally, I had a chance to read it.
This is a little different kind of book compared to my regular reads about ultra-successful business titans. I had no idea who Scott Adams was until I heard about this book. He created Dilbert comic. He gave very down to earth perspective on how he achieved success in this book.
SELECT
w1.website_id,
w1.name as website_name,
s1.store_id,
s1.name as store_name,
p1.entity_id as product_id,
p1.sku,
pname.value as product_name,
url.value as url_path,
small_image.value as small_image,
msrp.value as msrp_price,
price.value as price,
p1.created_at as product_created_at,
p1.updated_at as product_updated_at,
visibility.value as visibility,
pstatus.value as status,
case
when
(pstatus.value = 1
and visibility.value > 1 )
then
1
else 0
end as enable_flag,
c1.entity_id as category_id,
cname.value as category_name,
c1.parent_id,
c1.created_at as category_created_at,
c1.updated_at as category_updated_at
FROM
catalog_product_entity p1
inner join
eav_attribute p_attr ON p1.entity_type_id = p_attr.entity_type_id
and p_attr.attribute_code = 'name'
inner join
catalog_product_entity_varchar pname ON pname.entity_id = p1.entity_id
and pname.attribute_id = p_attr.attribute_id
inner join
eav_attribute p_attr2 ON p1.entity_type_id = p_attr2.entity_type_id
and p_attr2.attribute_code = 'url_path'
inner join
catalog_product_entity_varchar url ON url.entity_id = p1.entity_id
and url.attribute_id = p_attr2.attribute_id
and pname.store_id = url.store_id
inner join
eav_attribute p_attr3 ON p1.entity_type_id = p_attr3.entity_type_id
and p_attr3.attribute_code = 'small_image'
inner join
catalog_product_entity_varchar small_image ON small_image.entity_id = p1.entity_id
and small_image.attribute_id = p_attr3.attribute_id
and pname.store_id = small_image.store_id
inner join
eav_attribute p_attr4 ON p1.entity_type_id = p_attr4.entity_type_id
and p_attr4.attribute_code = 'msrp'
inner join
catalog_product_entity_decimal msrp ON msrp.entity_id = p1.entity_id
and msrp.attribute_id = p_attr4.attribute_id
and pname.store_id = msrp.store_id
inner join
eav_attribute p_attr5 ON p1.entity_type_id = p_attr5.entity_type_id
and p_attr5.attribute_code = 'price'
inner join
catalog_product_entity_decimal price ON price.entity_id = p1.entity_id
and price.attribute_id = p_attr5.attribute_id
and pname.store_id = price.store_id
inner join
eav_attribute p_attr6 ON p1.entity_type_id = p_attr6.entity_type_id
and p_attr6.attribute_code = 'visibility'
inner join
catalog_product_entity_int visibility ON visibility.entity_id = p1.entity_id
and visibility.attribute_id = p_attr6.attribute_id
and pname.store_id = visibility.store_id
inner join
eav_attribute p_attr7 ON p1.entity_type_id = p_attr7.entity_type_id
and p_attr7.attribute_code = 'status'
inner join
catalog_product_entity_int pstatus ON pstatus.entity_id = p1.entity_id
and pstatus.attribute_id = p_attr7.attribute_id
and pname.store_id = pstatus.store_id
inner join
catalog_category_product ccp ON ccp.product_id = p1.entity_id
inner join
catalog_category_entity c1 ON c1.entity_id = ccp.category_id
inner join
eav_attribute c_attr ON c1.entity_type_id = c_attr.entity_type_id
and c_attr.attribute_code = 'name'
inner join
catalog_category_entity_varchar cname ON cname.entity_id = c1.entity_id
and cname.attribute_id = c_attr.attribute_id
and pname.store_id = cname.store_id
inner join
catalog_category_product_index store1 ON store1.product_id = p1.entity_id
and store1.category_id = c1.entity_id
inner join
core_store s1 ON store1.store_id = s1.store_id
inner join
core_website w1 ON s1.website_id = w1.website_id
I have been playing with OpenShift for past several hours. It looks great. But a while back I started to get 503 Internal Server error.
When I checked logs using rhc tail , I saw this error: Layer 7 Wrong Status, Invalid Response 404.
I spent an hour or so troubleshooting. Turns out the issue was Netbeans had added src/main/web/app/WEB-INF/jboss-web.xml when I ran the application locally on my machine. I committed this file, thinking I might need it. Deleting it from repo fixed the issue.
The technical term is 5/5 Cadence (5 seconds up, 5 seconds down). I tried this for the first time on Sunday, it is really intense. Momentum is not there to help you. You will feel every part of your muscle throughout the motion.
Weights
Tim Ferris showed a simple formula to figure out what should be the starting weight to workout with. Simply do regular sets. If you can do 5 rep, wait a minute & then increase the weight by 10 lb or 10%. When you fail a set, then take 70% of last 5 rep set and use that weight for slow motion workout. You can figure out weights to use by trial and error. This should prevent injuries or wasted time.
Are you tired of checking data in your code before inserting? Well MySQL procedures are here to rescue. This simple procedure shows how you can do that:
Just spent 3 hours debugging a session bug in my webapp. CodeIginter was creating a brand new session with each page load. The issue was a misconfiguration with my config file.
Fix was simple, in /application/config/config.php, make sure correct domain is set for $config['cookie_domain'].
Query Saving is a feature of CI’s database class that stores the results of every query in memory until the controller is finished executing. As it turns out, in version 1.6.0, the ability to turn this off was added. The addition of the save_queries variable is listed in the Change Log, but as of the latest release of 2.0.0 last week, it still hasn’t made the documentation.
I am not sure if this works anymore or not. I don’t use Pentaho now but this post seems popular, so leaving it here for now. Contact me if this is incorrect and needs to be corrected or taken down.
Download Pentaho BI Pre-Configured Installation from [http://www.pentaho.org/download/ga.php]
Install JDK5.
Open C:\pentaho-demo\pentaho-solutions\system\publisher_config.xml. Add a password for publishing reports.
Delete all folders except reporting under C:\pentaho-demo\pentaho-solutions\samples.
Delete all .xaction and .properties files under reporting.
Copy JDBC driver for your database under C:\pentaho-demo\jboss\server\default\lib. I used Oracle 10g driver, it is called ojdbc.jar.
Edit .jsp file to change the look of default Pentaho website under C:\pentaho-demo\jboss\server\default\deploy\pentaho.war\jsp.
Add path to your JDK in start-pentaho.bat located under C:\pentaho-demo. For example, set JAVA\_HOME=C:\Program Files\Java\jdk1.5.0\_11
Double click on start-pentaho.bat.
Open C:\pentaho-demo\jboss\server\default\deploy\pentaho.war\WEB-INF\web.xml. Search for base-url and add your server’s ip.
Now you should be able to publish reports to Pentaho using Report Wizard or Report Designer.
Once you publish report, you will need to go to C:\pentaho-demo\jboss\server\default\deploy and open newly created data source file named something like ???????-ds.xml.
If your database is Oracle you will need to change driver class property to oracle.jdbc.driver.OracleDriver
And your newly published report should be accessible via Pentaho now.