Posts
Pod CrashLoopBackOff Reason
Today one of my deployments always got CrashLoopBackOff. Searching internet don’t gave me the root cause of those errors even I went through all the steps. Steps from internets are all about describe, logs, liveProbe etc. I noticed the reason and exit code in last state when I described one of the pod. It should be the focus point to find root cause of CrashBoopBackOff.
Containers: nginx: Container ID: containerd://9570e7e67d83692fdbe0e0871919a81222137fcaee2eaecb1eff6b772ec805b1 Image: nginx:1.
Posts
My first post
This is my first adoc post after migration from jekyll to hugo.
a
b
test
order list testing
a
b
third try to test github action
Posts
Why I stick to jekyll
I am a big fan of Tex and asciidoc. Asciidoctor is ruby based and can been easily integrated into jekyll. Hugo currently still has some rough edges in asciidoc integration. Considering the time and effort to switch to Hugo, it is not worth to do that.
Posts
run redux-saga examples
run redux-saga examples TL;DR:
yarn yarn build
I run into module not found issues when I try to run those examples under the repository of redus-saga. Even following comments in github issues and stackoverflow, those solutions don’t work out.
Scripts in the package.json of the root folder don’t work for examples.
After run yarn && yarn build, can change directories to those examples and run them.
Posts
Workaround solution for inout refcursor parameters for stored procedure in postgresql 11 JDBC
The workaround solution mentioned at Issue doesn’t work when inout refcursor parameter is used.
Here is my workaround solution for that.
CREATE OR REPLACE PROCEDURE sp_test(INOUT results refcursor) LANGUAGE plpgsql SECURITY DEFINER AS $procedure$ begin results := 'cur' ; OPEN results for select generate_series dt from generate_series(date'2019-01-01' , date'2019-01-31', interval '1 day'); end;$procedure$ ; conn.setAutoCommit(false); Statement st = conn.createStatement(); ResultSet rs0 = st.executeQuery("call sp_test('')"); ResultSet rs = st.
Posts
Error message of rabbitmq is terrible
Error message of rabbitmq is terrible Today I installed RabbitMQ 3.7.13-1. However I always got the following messages when running rabbitmq-server and a dump. The error message doesn’t give any clue of root cause. It is none of the cases searched from google such as permission issue, configuration issue etc.
{"init terminating in do_boot",{undef,[{rabbit_prelaunch,start,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}} I re-read the installation guide and double-checked steps and configuration. There is no luck.
Posts
Issues of clean setup spacemacs and their solutions
I encountered the same issue "File error: Cannot open load file, No such file or directory, bind-map" twice in my setup of spacemacs. The issue can be solved several ways which I found from github and clojurians-log.clojureverse.org. I consolidate the reasons and list them below.
Timeout: the relevant setting in .spacemacs :- dotspacemacs-elpa-timeout 30
TLS Certs: emacs --insecure
Permanent TLS Certs: the relevant setting in .
Posts
Chemical Bonding
Chemical Bonding The Stable Electronic configuration of a noble gas An outer electron or outermost electron is also known as valence electron. Only outer electrons are involved in chemical reactions.
In what way do noble gases behave differently from other chemistry ? Noble gases are unreactive because they have fully filled outer shells, that is, they have duplet or octet electronic configuration.
How do atom achieve the electronic configuration of a noble gas?
Posts
Kinetic Particle Theory
States of Matter Matter is substance that has mass and occupies space. All living and non-living things are matter.
State of matter: solid, liquid, gas
Property Solid Liquid Gas Shape
fixed
not fixed
not fixed
Volume
fixed
fixed
not fixed
Compressibility
Cannot be compressed
cannot be compressed