Chrome

Do You Need A Binary Repository?

Any developer knows that you must have a source code repository (e.g. Git) but from time to time I get the question “why do I need a binary repository”?

Here is the short answer:

Faster and more secure software development – Any company is a software company these days and the best companies release updates on daily/hourly bases. The ability to push updates quickly is a real competitive advantage. The minute you have few engineers on your team you wish to avoid ‘fetching the all internet’ with every ‘npm install’.
A binary repo will give you the option to cache these libraries and make sure you are working with the correct ones (vs a hacked one). From the developer perspective, it is a big boost for their productivity as it saves time during development and on each build. Even better, from the DevOps perspective, the ability to control all the packages/libraries (and scan them for vulnerabilities) is a huge advantage. It enables the internal engineering team to control the releases better as they have full transparency (e.g. quality, performance, security, licenses, etc’) on everything the ‘compose’ the release version. Check the 12-factor app manifesto for more on dependencies (declaration and isolation).

Continue reading
Advertisements
Standard
Business

Charlie’s Thoughts on Decision Making

I read a few years ago the Poor Charlie’s Almanack and found it to be a really great book for many areas in life. It’s also a long and heavy book so you might wish to get it it to your Kindle. Charles Munger is a brilliant thinker and it’s no surprise that the book is full of practical wisdom.

Some of the points I took and used many times:

Incentives – He talks about the incentives and how they are in the root of many systems. One of the more powerful statements is: “If you wish to see what people will do – look at their incentives”. It holds true both to people and to teams & companies.

Bias – How the human mind is closing itself after it ‘knows’ something. That might be really hard when you want to change your thoughts on a topic. You should embrace people who think differently and aren’t agree with you on every topic. It’s not easy but rewarding and will improve your decisions. Continue reading

Standard
life

Factfulness – Book Review

It’s one of the best books I read during 2018. 

Hans Rosling was a great author (and a speaker) and he expressed his ideas in a very clear way. One of the great things that open this book, is the test that he gives you at the beginning. It comes to prove you, how little you know about the world we live in. It drives the point home very clearly.

Don’t believe?

Try it for yourself:

Continue reading
Standard
life

The Emperor of All Maladies

I’ve just finished this interesting book on the biography of cancer. On one hand, it’s a depressing story, as we are still losing many battles.
On the other hand, there are many ways that progress have been made and hopefully, we are in a phase (e.g. genomics research and the cost reduction in analyzing DNA) that will bring us more victories. It is a story about the  history of research with eureka moments and decades of despair.

The author, Dr Mukherjee does a great job in describing the history from its first documented appearances thousands of years ago (when the Greek historian Herodotus records the story of Atossa the queen of Persia and the daughter of Cyrus, who noticed a lump in her breast.) through the progress in the twentieth century to cure, control, and conquer it to a radical new understanding of its essence. 

I found somewhere this encouraging answer he gave to the question “With all that you have learned up to this point, are you hopeful in terms of cancer research and possible cures?”
Mukherjee: “I feel pathologically hopeful!
The opposite of hopeful is hopeless.
How can you be hopeless?
Discoveries have occurred, and discoveries are occurring.
Look at history, does that mean that every move becomes the most brilliant discovery or the universal cure for cancer? No.
But history clearly shows a track record of progress. Medicine is caught in this moment of pulling out from a sea of uncertainty these little pieces that are more certain than others. I often tell fellows and residents, to me there is no discipline we practice as human beings that manage this level of complexity. Not just statistical or scientific complexity, but emotional complexity. That’s what makes it one of the most unbelievably moving professions that exist.”



Standard
cloud, testing

Product Excellence Best Practices

What are the components that help teams to build quality into their outcomes?

The main goal is to create a baseline that developers could follow and be in a quality level that is well defined and measurable. The main parts to focus on are:

  1. Testing
  2. Code reviews
  3. Static analysis
  4. Health monitoring: availability, resilience, etc’.

Tests

Continue reading
Standard
Chrome

Raspberry Pi As Security Camera With Motion Detection

It was a fun weekend project I did with my kids. We started with a new Pi Zero and in a few hours (of many ‘paths’ to nowhere) we got into the point of having a useful security camera. The useful part is when the camera sends you alerts (email or Telegram messages) when it detects movements.

We open the package and connected the Pi Zero to a USB power, a keyboard, a mouse and monitor. We cut a bit a corner by buying an SD card with NOOBS on it but it wasn’t working (nothing was coming up on the screen when we boot the Pi). So we downloaded a new version from Raspian Jessie 4.4 from NOOBS and install it. Now when we boot the Pi we got a new screen. We open the terminal and typed:

Continue reading
Standard
life

How to Be Happy Without Getting Lucky

Perfect spot for thinking and breathing

A perfect spot for thinking and breathing

 

All the great ideas here are from @Naval
I just edit it so I could comeback and read it from time to time.

1. Seek wealth, not money or status.

Wealth is having assets that earn while you sleep.
Money is how we transfer time and wealth.
Status is your place in the social hierarchy.‏

2. Understand that ethical wealth creation is possible.
If you secretly despise wealth, it will elude you.‏

3. Ignore people playing status games.
They gain status by attacking people playing wealth creation games.‏ Continue reading

Standard