dev blog box
Tuesday, March 16, 2021
Invalid ELF Header
Tuesday, November 24, 2020
Interesting day - what to do if docker registry fails with timeout.
I've setup my Mac in order to use brew for mostly everything because I like installing stuff from terminal. ( Definetly this is a personal issue from the days I had to install and reinstall my Windows machine ).
Now I did my development setup to support a backend oriented programmer because that's what I do in my professional life. With this in mind I wanted to dive into writing a lambda in node because I will use that know how for work.
So after a few "brew installs" which went ahead without a hitch I started :
- sam init
- sam build
- sam local invoke ScheduledEventLogger --event events/event-cloudwatch-event.json
Yes, I used the setup sam can create for you - I did say I was testing stuff out.
And then this happened : "docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.15:50524->10.0.2.3:53: i/o timeout."
Of course at this stage I popped up google search and start reading stackoverflow... So I tried a bunch of the things that were suggested - not a happy result in sight was to be seen. So then I've given up and said to myself that I need to get on the "tried and true" solution: uninstall and reinstall - but happiness was not in sight. And then I got onto : https://forums.docker.com/t/pulling-docker-images-i-o-timeout/740/6
So turned off and on my Wifi and "voila"
Friday, August 21, 2020
Still here - still coding
Tuesday, April 7, 2015
POST to a url with basic authentication and 301 response without follow through.
Friday, September 17, 2010
I've been trying to improve my skills in direction of software craftsmanship.
First thing's first : the difference between mocks and stubs is now clear.
When do i use stubs and with what intent - talking about code review ( unit tests are code as important as production code towards the value added paradigm).
When do I use mocks and most important at what stage of the development process could one insist on using mocks.
Ideas are a great thing so now I can say that reading about this subject and doing this training gives a much clear picture how to do it (crafts). It's still fuzzy but I'm confident i'm getting there one step at a time.