All posts by Hien NGUYEN

Hien Nguyen is a geomechanics researcher who likes to share his passion and skills in data analyzing, programming, arts and lifestyle.

Change Footer Text in Slide Master in Powerpoint 2016 and later

It is normal that we use a presentation more than one time for different conference. Anytime doing that, modifying the footer, where the conference’s name and the date are, is an important job to do to avoid embarrassing moment.

It is pretty obvious that you can simply open Slide Master and edit directly the footer text to whatever you want. However, for Powerpoit 2016 and later, when you do that and return to the slide, the old text content is still there and the modification you’ve done is applicable only for new slide.

In order to edit that, now what we should do is manually edit them. Not slide by slide but by Insert -> Header & Footer -> Modify the content, then click “Apply to All”.

It’s a nuisance but we can solve it by that trick.

Please follow and like us:
error

Proper set-up of Zotero to manage your bibliography

Anyone who works in academy world would hear at least once about using Zotero to manage the reference. In this post I will show you how to install Zotero and set it up properly to max out its capacity by connecting increasing the storage size, connect with sci-hub, and how to grab a paper from a journal in just one click. I mention only Windows platform, but on Linux it is pretty similar.

Where to find Zotero and how to use them?

Well Google is your friend and installing Zotero is as easy as installing other software on a Windows computer. Here is the homepage of the Zotero we are talking about:

https://www.zotero.org/

(by the time I paste that link, I realize Zotero has just introduced a new tool called Zoterobib for fast crafting a abstract. Nice work Zotero!).

Just download the file and install on Windows platform, as well as the Firefox add-on because you will need that.

Download PDF to local computer using Zotero

If you installed Zotero on your lab computer, chance is it will be easy to grab a PDF when you are browser those journals website. If your institute has access to the source, just click the button of the add-on in Firefox while Zotero in running to let it connect to the database and make a copy on your local computer for you. Next time you can navigate inside Zotero and read the PDF however you like.

If you install on your personal computer or if you connect to a paper that your school does not have access, then you have few other choices to get the PDF: (a) message directly the corresponding author of the paper, normally they will reply you very fast if you have interest in their work (we are! we are really happy when there is someone want to read what we are doing!); (b) if you cannot wait, there is the site sci-hub where you can search and download the paper for free, then go to Zotero and attach the PDF to the paper query in Zotero; (c) or you can do the b step automatically by modifying a bit of how Zotero searching for the PDF, thanks to a great tip by Simon on medium. Using (b) and (c) may be illegal in some countries so prepare to secure your connection (tip: don’t worry much, people just don’t care).

Sync your file to your personal or 3rd party storage service (WebDav)

Zotero itself supports free user with 300MB to store and sync the paper they collect across all server and to be fair this is enough. However when you are working with a big database, it is advised to use a WebDav (Dropbox, GDrive…) to sync your files there. I advise you to use pcloud service because they offer 10GB and it is very easier to configure. Guys at Berkeley University wrote a clear instruction to do that. Enjoy your fast 10GB!

Sync file with your Android phone

Last info I want to share is bringing Zotero to Android phone. The situation we may encounter is there is possibility that you want to read again a paper from your library when you are in a seminar without your laptop, or you are on a bus and you cannot wait till home to open and grab the idea. So let us install a connector of Zotero on Android phone to make it work.

There are several apps who help us do that trick. Although they are still having limits, but basically they do the job: connect to Zotero, sync the library and download the PDF. I recommend ZotEZ², don’t let the rating fool you, it really depends on what you want, if you just want to look at the library the most simple way and want to download the PDF and read on your phone, this app deserves a 5-star rating. It is free and with some in-app purchases you can unlock other utilities which is probably useful for you with a rather OK price (~5 euros).

Conclusion

I shared what I am using for my research. Few free to add some more comments if you know Zotero can do more or there is better option to do those tasks (I know there is!). Hope the provided information helps you and your research work. May the force be with you!

Please follow and like us:
error

Use conda package in Sublime Text to switch between Python Environment

More and more people are using Anaconda for their Python needs. One important thing to notice is that Python has two version 2.7 (supported till 2020) and 3.6. Some packages are still using Python 2.7, also, when you install a suite of program for certain purpose (data analysis, image processing…), creating one environment for each purpose is a wise move.

Sublime Text (ST) is a very fast and intuitive text editor, it supports Win/Linux/Mac. We can download and use it for free (with some notification about purchasing), or we can buy a license ($80) at the time I write this blog post.

Running a Python script in ST is simple. You edit the script, choose the build system as Python, then Ctrl + B or choose Build to run the script. However, this would work only when you define Python Path for the system. How about those environment you created in Anaconda? You can do that easily by the package in ST, named CONDA.

To install CONDA, you need Package Manager inside ST. The complete guide can be found here. Then in ST, you should choose the Build System as Conda instead of Python. Now every time to want to activate the right environment, in ST just press Ctrl + Shift + P (to open the Package Option Panel) then type in CONDA, all the possible options are there.

Please follow and like us:
error

Review một số sách tôi đọc gần đây

Theo số liệu thống kê báo Tuổi Trẻ đưa năm 2018 thì người Việt đọc 1,2 cuốn sách/năm. Hơi ít, không biết thống kê có sai không, hy vọng là sai. Review vài cuốn để các bạn có thời gian tìm đọc cũng như né để khỏi tốn thời gian. Mong rằng sang năm 2019 cái số thống kê nó cao hơn.

Đọc sách là rất tốt nhé.

Cuốn What The French! nói về Pháp rất là hài, nhiều thông tin nửa khen nửa chê nước Pháp nhưng vẫn rất lịch sự, không thiên vị chút nào. Đọc để biết dân Pháp giáo dục con cái như thế nào, dân Pháp họ nhảy nhót như thế nào, apero là cái quái gì v.v… ai thích học một cái gì đó về Pháp cũng như giải trí rất tốt. Đọc từ cách đây 2 năm nhưng thỉnh thoảng vẫn đem ra đọc lại.

Cuốn Sympathizer thì mấy năm trước đã được giải sách ở Mỹ, không bàn nhiều, nên mua về, để đấy đọc sau (tui cũng chưa đọc haha mặc dù trên kệ đã mấy năm).

Ai thích có một cái nhìn vui vui về cuộc đời dân nghiên cứu khoa học (làm thí nghiệm, mặc áo blouse trắng, đo đạc chính xác…) thì cuốn Lab Girl phải nói cực hay. Tác giả khởi đầu sách bằng việc nói về bố mình là một giáo sư trong trường đại học và hồi cô còn bé ông hay dẫn cô đến lab. Có những thứ phức tạp nhưng được tác giả giải thích đơn giản dễ hiểu, có một số từ chuyên môn nhưng tra từ điển phát ra ngay. Đọc để thấy yêu trái đất này hơn.

Cuốn Đừng bao giờ đi ăn một mình là nhảm nhí. Lớn lên muốn đi ăn một mình hay không là tùy, đi ăn một mình cũng chả làm bạn chết. Lí do thì coi trong cuốn tiếp theo.

Đó là khi bạn là dân Introvert, này không có gì lạ: hơn 1/3 dân số thế giới là Introvert nên nếu bạn vô tình phát hiện ra bạn là Introvert thì bạn cũng không là cái gì đặc biệt hay ngoại lệ hết. Và khi người ta đang party thì bạn ở nhà và đọc cuốn Text, don’t call.

Nếu bạn ngấp nghé muốn lập gia đình cũng như gần gần như vậy, thì đọc cuốn bìa màu vàng nhé. Không bàn nôi dung nhiều, đọc thì biết, nhưng có một câu trong đó là “That you don’t have to be married to be happy in life, but you will be happily married if you first discover your singleness on time before marriage”

Cuốn cùng lại nói về cuốn cũ rích Nhà Giả Kim, tôi biết cuốn ngày từ lâu lắc lâu lơ và thấy nó chả có gì đặc biệt. Chả hiểu tại sao nhiều năm gần đây đi đâu cũng thấy các bạn trẻ quote từ cuốn sách quá trời quá đất. Nếu chấm điểm thì tôi chấm 5/10. Bạn cùng phòng cũng phổ cập thêm là cuốn sách này bị bạn đọc trên toàn thế giới chê tan tác.

Mấy cuốn còn lại mới hốt về chưa đọc, review sau. Nếu không thấy review có nghĩa là sách quá dở hoặc người quá lười.

Please follow and like us:
error

List of free stock photos – Update 2019

A well-picked picture can play an important role to a blogpost or a document in general. However, the search for a good one requires effort (taking photos yourself, finding a good one on the internet) or money (stock market). Fortunately, there are free websites and nice people who are willing to provide their photos for free (or almost free), here is the update list of 2019 which I’m currently using: Continue reading List of free stock photos – Update 2019

Please follow and like us:
error

Search in Windows

To be short: Searching files in Windows sucks.

I don’t understand why such a supposed-to-be-simple utility is poorly built in Windows system. I was hyped when upgrading from XP to 7, and 7 to 8, and 8 to 10. In the end, the feeling I have is disappointment.

At the beginning, when a fresh system is installed, everything seems smooth. Understandable! Reasons: Not many things to search, indexing is not a heavy job, and computer resource still has lots of room for software to run. Continue reading Search in Windows

Please follow and like us:
error

Justify text automatically in wordpress blogpost

The new Gutenberg editor provided by WordPress is pretty neat. However, there are certain limits of the ability to align text as what we usually do in Microsoft Word, especially the nice-looking “justified text”.

In earlier version of the editor, we can open the extended editing bar and there would be a Justified Alignment option to click and apply on the paragraph. The current one doesn’t have it. To resolve this problem, there are several options: install the old editor plugin (which will be supported till 2022), or simply put the CSS code in the Additonal CSS section of the current theme setting:

p {text-align:justify}

Then all the paragraphs from now on will be formatted as Justified.

Please follow and like us:
error

Preparing a scientific illustration

Making a beaufitul demonstration for your work is very important when you want to bring a clear and interesting message to the readers, especially in academic community.
Thanks to a lot of drawing tools, both open source and commercial, both click-to-draw and code, one can make beautiful and informative piece of artwork that provides better information to enrich the quality of a manuscript. Let us have a look of all available tools out there.

Continue reading Preparing a scientific illustration

Please follow and like us:
error

Useful shortcuts in Word 2016

I’m a LaTeX guy. However, sometimes working with other people requires me to switch to the good old Word. I’m not totally displike it, I even find it useful and practical in some particular cases comparing with LaTeX.

Here is some shortcut in Word that I find useful and use them a lot during my work routine:

Continue reading Useful shortcuts in Word 2016

Please follow and like us:
error

Tính tò mò

Một trong những bản tính tôi thấy hay hay và thấy ghét cùng một lúc ở con người đó là bản tính tò mò, vậy nên viết về nó một chút chắc cũng vui.

Tại sao lại nói về sự tò mò? Chắc phải quay lại cuộc nói chuyện với một thằng bạn cách đây vài tuần, tán dóc với nó thì nhiều chủ đề, từ đá banh, game cho tới Vật lý lượng tử, lỗ đen rồi dark matter… trong một lần thảo luận thì có một câu là “tố chất của dân nghiên cứu là gì?”. Continue reading Tính tò mò

Please follow and like us:
error