Categories
Software development Technology

Raspberry Pi

Reading Time: 2 minutes

Downloaded Noobs image installer (imager_1.6.2) to Mac, unpack (or install) so that I have “Raspberry Pi Imager” on Mac, and then used it to create the bootable OS on the sd card using that software.

Burn the image for Raspberry Pi on Mac

After that insert the sd card to the appropriate slot on p3, also plugged in hdmi for monitor, and usb keyboard and mouse. Turn on the power (plug in the power adapter for iPhone with proper cable).

The Pi 3 in action, ports counter clockwise: power, hdmi (monitor), USB (2, mouse and keyboard)

Raspberry Pi Desktop first impression: I mainly used the web browser Chromium “Version 92.0.4515.98 (Official Build) Built on Raspbian , running on Raspbian 10 (32-bit)”, there is some lagging (keyboard, gmail and wordpress self host / post) compared to the MacBook, but still manageable. Keep in mind this pi 3 is probably selling for $30 or less nowadays. Btw, I tried a YouTube video (it’s the CNN Virginis moms switching from Biden to Youngkin story) in the browser too and it was a bit laggy in the beginning (video streaming?), but it worked well after couple minutes. This is pretty impressive.

Raspberry Pi Desktop

Obviously in order to use it as a desktop replacement, I would need to do some more tests. But I came across one post using pi 4 just now. Seems very promising there as well. Every Sunday morning my 2 daughters will take Chinese classes virtually via Zoom, and they uses my two personal macbooks. So in that duration I could use the pi 3. I noticed the temperature of the motherboard is not too hot either (no fans, no enclosure, just look like the picture 2 above).

Some other thoughts: there are tons of ideas regarding pi on internet. One idea is use it as home security. I will just need to dig more into it, and once I have more knowledge, I may purchase more Pi’s like my old friend Jeff Geerling (projects, blog) does. I don’t think I would be as prolific as he does. But I am just going to try.

References
Raspberry Pi OS – Raspberry Pi (Install Raspberry Pi OS using Raspberry Pi Imager)

Installing Raspbian with NOOBS – Introduction | Raspberry Pi Projects

How to set up and use a Raspberry Pi 3 with a Mac (I have a pi 3)

Categories
Life Life Tips

Mental health break

Reading Time: < 1 minute

Two more off days for the kids and teachers before thanksgiving holidays. Please note I still have 2 vacation days to cover it (also I WFH full time since March 2020 pandemic shutdown). Btw, I heard mental health break is getting popular among school districts (public schools), so there is peer pressure there. || The other day I heard from a podcast in which the author asked a bunch of billionaires (or millionaires, rich people, also with kids grown up): what’s your biggest regret? The answer is they wish they have spent more time with their kids when the kids were young. I can feel that: I think Sophia will let me hold her like a baby for at most one year or two. I enjoy every minute I spend with my kids: even if / when they consistently asks me “daddy, when will Roblox be back?” (the answer is I don’t know, as daddy don’t work for them…[捂脸])

Categories
Software development Technology Web

Roblox Outage

Reading Time: < 1 minute

(Update 4: 01-21-2022) Roblox published the root cause here.

(Update 3: 11-03-2021) I came across this website that shows nice stats for Roblox (I noticed downdetector only shows 24 hours history by default, not sure how to customize it). I vaguley recall I also see a github repo that can scan the roblox APIs, but I no longer see it when I tried to look through “roblox status” from twitter.

(Update 2: 10-31-2021) It appears the service is back as of 4:45 pm Pacific time, per Roblox status. Also the CEO blog post, and an article from Variety.

(Update 10-30-2021) Now I think that Roblox is likely hacked, unfortunately. The lack of transparency, as well as the length of outage are my main factors thinking they were hacked, btw. Now their official website says:

“We’re making things more awesome. Be back soon.”

Btw, I had a twitter thread going on this topic too.

(Original 10-29-2021) Roblox has a massive outage since yesterday, and it seems the impact is still going on as 11:35 pm US central 10-29-2021.

Downdetector :

What happens when Roblox is down?

Roblox status page

======

October 28, 2021 4:00PM PDT[Investigating] Many player experience are impacted.

stay tuned.

October 28, 2021 8:44PM PDT[Identified] We identify the root cause as internal system issue and work on the fix.

October 29, 2021 7:21AM PDT[Identified] We are actively working on recovery. Some users started to have limited access.

October 29, 2021 12:48PM PDT[Identified] The team continues active work on full site recovery.

======

Categories
advice and tips

My blunder on presenting today

Reading Time: < 1 minute

Today I made a pretty bad mistake on my presentation. Basically, I messed up my audio shortly after I got started, and I was not aware of it for about 6 minutes or so: until I realized I was kicked out the meeting. The audio issue was caused by my airpods losing battery, and I switched to the bluetooth headset. But it appears the airpods is still connected as I did not put the airpods in the pod (partially due to presenting, and I was a bit overwhelmed). Because the airpods was making noise, my colleague dropped me from the meeting, which I did not realized as I was switch between the tabs on Chrome web broswer: the meeting was just a tab and it was not obvious.

Going forward, I am going to implement two changes: no two bluetooth devices at the same time (again due to not complete switch over or disconnecting issue); also I am going to pull out the google meet tab to its own window so that I can be made aware.

Remote working brings a lot of convenience, and it brings a lot of challenges too (remember the lawyer’s I am not a cat incident on Zoom?). One thing I think it’s important is the empathy. I think the place I am working is okay, but not perfect. Without getting too much details, I feel I did not get much support, rather received some criticisms instead. There are better ways to handle that. If I am a leader, I would handle it differently.

Categories
advice and tips

Covid vaccine in St. Louis county

Reading Time: < 1 minute

St. Louis County COVID-19 Vaccines (pre-register)

Providers (hospitals in alphabetical order)

BJC

Mercy

SSM

St. Luke

Precautions / things to pay attention before taking vaccines.

Categories
Software development

GitHub 2FA and personal access token

Reading Time: < 1 minute

Even since I enabled the 2 factor authentication on GitHub, I am using the developer personal access token (PAT) for pushing the code.

The normal steps (please ignore the numbers in the beginning of each line):

  514  git remote remove origin
  515  git remote add origin https://my_developer_personal_access_token@github.com/major1xu/myNestEgg.git/
  516  git remote -v
  517  git push
  518  git push --set-upstream origin master

This works for both the public and private repo. I’m thinking another way to do it is when using “git clone” to begin with, we use the PAT. I am going to try it next time. Note I created the repo in the GitHub website first.

Categories
finance

Ark Investments

Reading Time: < 1 minute

Copied from mitbbs, link here.
======
木女神注定超越索罗斯和巴菲特,成为本世纪最大的投资传奇 Note, by Omaha aka yours truly, I disagree and I would be a bit cautious here. Warren Buffett is the best investor in the record in 20th century 1900 to 1999, no doubt about it. As to 21st century, the jury is still out, as we only had record for 20% of the century year 2000 to 2020

股海弄潮 9/916
theme_pic
secondwite
2021-01-09 12:26
楼主


这个是在10块钱买入亚马逊,30块钱买入特斯拉的女神。她在众大咖还不知道电子商务如何与物流互联网完美结合时就发现了亚马逊会一军突起;在多年前还没人能理解自动驾驶概念时就预言特斯拉的AI,大数据分析和驾驶软件会让特斯拉占据王者的地位。她甚至比马斯克自己更加看的清特斯拉的前景:在他80多(拆股前的420)想私有化时,
她再三提醒他这个价钱起码低估了10倍。幸好老马听了他的劝,不然就没有今天的世界首富。

她会是本世纪的投资女神,注定是超越利佛莫,林奇,巴菲特。索罗斯本来勉强可以与她比肩,但他过去政治化,注定无法一直在投资界伟大下去。为什么,她融合了他们的优点,但避免了他们的缺点。最重要的是,她扎住了本世纪的特质。

我知道连又些油管博主甚至本版都有许多人去年的投资汇报高于女神,但连给女神题写都
不配:她的资金接近200亿美元,以至于每个基金都被迫买入60个左右的股票,这种级
别的基金去年居然有一个月接近百分之40的回报,只能说是传奇中的传奇。

今天拜阅了木女神最新的视频


一下为她展示其投资哲学的经典视频
======

Also

Cathie Wood discusses her investing picks, plus her insight on Reddit, GameStop, Tesla and bitcoin (youtube)

A typical day for Ark Invest’s star stock picker Cathie Wood (yahoo finance)

Cathie Wood Sees 20% Returns After ‘Unbelievable’ 2020 (youtube)

Categories
advice and tips Fun kids

Holmdel BOE election

Reading Time: < 1 minute

FB

Patch

betterholmdeleducation (Platform)

data, media (social media, year sign, email etc)

Linda Zhang

Irfan Lateef

Ladue

2012

Ladue School Board Candidate Q&A With Sheri Glantz ” If funding allows, adding the option of Chinese to our foreign language department would be a priority.” (do I hear any volunteer here? Kidding. I mean a part time Chinese instructor to be serious)

2013

5 Candidates State Their Positions on Ladue School District Issues

Jeff Kopolow, Dan Regelean Elected to the Ladue School Board (data)

2014

2015

BOE results: Glantz, Goldstein won (out of 5 candidates)

2016

BOE results: Johnson, Kopolow won (out of 3 candidates)

2017

FB: Kisha Lee: The Key to a Stronger Ladue (2017 Meet the Candidates Night; won again in 2020 run #unopposed). From my recent memory Kisha is the first African American woman to be elected to Ladue BOE. As you may have read from above, she started in 2013.

2018

Glantz and Goldstein Re-Elected to Ladue Schools Board of Education

for more detailed information on election, refer to County Board of Election (citizen can request)

2019

results (county board of election): Johnson, Kopolow won out of 3 canidates

2020: there was no election on this year and the incumbent ran #unopposed (there was no new comer). The bylaw says that if there is no bond issue, and there is no new comer, there is no need for election.

2021

Marissa Rosen 4 Ladue April 6, 2021

Procedure to file for BOE

Board Briefs (blog)

Official web site

Categories
Career Software development Technology

Hiring Right

Reading Time: 2 minutes

In a little over last year or so, I was involved in many technical interviews, and sometimes hiring decisions (one vote only, but a No vote is usually a No for the candidate). This is quite different from normal technical contributor’s job. But I learn something from this process too. I think overall I had two bad “Yes”, meaning I should have said “No”, but I said “Yes”. In one instance it was purely my unforced error, in another case the process went haywire.

Let me recall my mistake first. I was talking to candidate, and I noticed something unusual in the resume. Basically it appears the resume has some contradiction with what’s been said by the candidate. I have two colleagues on the phone, not sure if they saw it on video (likely not as I may not have video camera for the laptop then). But basically at that moment the candidate grabbed the resume back from me. I was stunned to say the least. I told my two colleagues No. But they somehow asked me to re-think. And they talked me into “give him an opportunity”. Things did not work out eventually, as the manager eventually let that person go as he has some personality issue.

The second bad “Yes”, was process oriented. Basically after we made “hire” decision after interview, I recall I have seen the resume. I searched email and found out that candidate was “no show twice” in last September (sept 2019). No show is a red flag. No show without explanation is even worse. Not matter how talented someone is, it’s very hard to overcome this kind of issues. My regret there is we did not have a process to flag a candidate in our system. I recall at my former workplace, due to some back and forth, one hiring manager said “enough”, let’s flag this person on our system. So basically we are unlikely to see this person again. In a way it’s a good thing, because as minimum it gives some warning: one can always over-ride computer, but computer has better memory than human beings in many occasions. This process would have helped, if we had one.

Last but not least, some interview advice from Joel Spolsky. Quote: You should always try to have at least six people interview each candidate that gets hired, including at least five who would be peers of that candidate (that is, other programmers, not managers). || (more quote) So: don’t listen to recruiters; don’t ask around about the person before you interview them; and never, ever talk to the other interviewers about the candidate until you’ve both made your decisions independently. That’s the scientific method. || I spend about 30 seconds telling the person who I am and how the interview will work. I always reassure candidates that we are interested in how they go about solving problems, not the actual answer.

Categories
Software development Technology

Java keytool

Reading Time: < 1 minuteKeytool

The Most Common Java Keytool Keystore Commands

import

  • keytool -import -trustcacerts -alias root -file Thawte.crt -keystore keystore.jks (or cacerts)
    
    (keytool -keystore $CACERTS_STORE -storepass changeit -importcert -alias jfrog.root -file jfrog.root.cer -noprompt)
    
    

list

  • keytool -list -v -keystore $JAVA_HOME/jre/lib/security/cacerts

create

mulesoft

keytool -genkey -keyalg RSA -alias <key-alias> -keystore <keystore-name>.jks

sslshopper
keytool -genkey -keyalg RSA -alias mydomain -keystore keystore.jks  -keysize 2048

Install Spring STS on Mac

Drag the STS to the Application may not necessary, as it could not find the vFabric server (need to open the folder to let base_instance know)

Other setup for Maven (3.0.5)
home brew maven30 (stackoverflow thread)

Last but not least

Java dev blogs at Okta