Skip to main content

Posts

Showing posts from October, 2020

Notes on weird Wifi Home network with multiple routers

 https://www.net.princeton.edu/software/dhcp_probe/ http://odhcploc.sourceforge.net/ Mobile Android Xiaomi Redmi note 7 can not access internet. It can ping local LAN IP but it detect wrong gateway. Since 192.168.1.1 web access lead to wrong router (this one already disable DHCP). https://sites.google.com/site/quanghoangls/thong-bao/modem-router/cau-hinh-router-wifi-chay-ngang-hang-voi-modem Yee => It turned out that the 2nd Wifi Router setup incorrectly when it set LAN IP = 192.168.1.1 that same as Internet Modem.

Notes on book Working Effectively with Legacy Code p1

From page 310. Hyperaware Editing    If it isn’t out by the time this book is released, I suspect that someone will soon develop an IDE that allows you to specify a set of tests that will run at every keystroke. It would be an incredible way of closing the feedback loop. It has to happen. It just seems inevitable. There are already IDEs that check syntax on each keystroke and change the color of code when there are errors. Edit-triggered testing is the next step.     Tests foster hyperaware editing. Pair programming does also. Does hyperaware-editing sound exhausting? Well, too much of anything is exhausting. The key thing is that it isn’t frustrating. Hyperaware editing is a flow state, a state in which you can just shut out the world and work sensitively with the code. It can actually be very refreshing. Personally, I get far more tired when I’m not getting any feedback. At that point, I get scared that I’m breaking the code without knowing it. I’m struggling to ma...