Category Archives: Technical

Technical parts

Outlook Preview PDF failed

First of all, to preview word/excel, etc. in Outlook, the Office apps must be all in the same version, so said google. Solution: Now, for PDF preview, Office/Outlook does not provide this, it's said to be provided by Adobe. Therefore, … Continue reading

Posted in Technical | Leave a comment

Is Google Drive View-Only PDF really protected from being copied?

Of course, nothing can escape Snipping Tool screenshot. But what about the shortest way to convert to a pdf document file? Because Google Drive somehow, giving the ability to restrict viewers from downloading if the owner so chooses, convert the … Continue reading

Posted in Technical | Leave a comment

Windows Language Input Hotkey keeps changing or being cleared

It seems that some app is changing the hotkeys I set for Chinese/English input. This solution that apparently helps is: After setting the hotkeys, go to Region > Administrative > Copy Settings... > check all.

Posted in Technical | Leave a comment

2012-2016 Honda CR-V Oil and Oil Filter Replacement

We did oil change today, at Edison Pep Boys (the one nearest to us in South Amboy was understaffed and they refused service, hence no Bubba meal). We ate at Penang Restaurant, drinks from Gongcha. They were supposed to get … Continue reading

Posted in Technical | 1 Comment

Logical operators for Boolean indexing in Pandas

Boolean Indexing - passing a series of list that satisfy the specified boolean condition. The operator &, | instead of AND, OR, are the only ones that work with boolean indexing here because it's an element-wise (like bit-wise operators) operator … Continue reading

Posted in Technical | Leave a comment

Python cgi-bin

Since Hostmonster (NYGC) cannot really catch up with the new Python, I could only do Python, the older version, via cgi-bin. And use PHP's exec('python test.py'); to do the trick. test.py's permission would have to be set to 755. I've … Continue reading

Posted in Technical | Leave a comment

Upgrading Python3 - For the Web (GoDaddy)

So there was Web Scraping with Python, but what I want is the other way around: Python to html. So the answer to that is DJANGO or FLASK, server side service. Hostmonster seems to be rather outdated with Python support; … Continue reading

Posted in Technical | Leave a comment

Rules with Shared Mailbox and How to turn 365 Group into a mailing list and using "Send As" delegation.

Turns out there are two kinds of Microsoft Office 365 Shared Mailbox: The one under Groups in 365 admin center, called Microsoft 365 group;And the one called Shared Mailbox in exchange admin center. To create rules for within Shared Mailbox, … Continue reading

Posted in Technical | Leave a comment

Python: ADD (+) vs. INPLACE_ADD (+=) vs. extend() for LIST

Today's Python series by Jake Gober led me to consider why there's difference between concatenate (+) two lists to the same variable and using the extend() function on the list. The answer is ADD (+) creates a new list, I … Continue reading

Posted in Questions, Technical | 1 Comment

Banker's Rounding

While briefing through this Python course by TIQC (very good course, very interactive, great professor Jake Gober), a question came up in the second video: Why is round(10.5) = 10? I'm not sure if the professor had the chance to … Continue reading

Posted in Technical | Leave a comment