Software: Difference between revisions

From 太極
Jump to navigation Jump to search
Tags: mobile edit mobile web edit
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Software design =
[https://www.r-bloggers.com/2023/10/reading-notes-on-a-philosophy-of-software-design-by-john-ousterhout/ Reading notes on A Philosophy of Software Design by John Ousterhout]
= Data structure and algorithms =
[https://www.makeuseof.com/websites-data-structure-algorithm-coding-challenges/ 7 Websites to Practice Data Structure & Algorithm Coding Challenges]
* LeetCode
* HackerRank
* Codewars
* Codility
* HackerEarth
* Techie Delight
* InterviewBit
= GUI testing tools =
= GUI testing tools =
https://en.wikipedia.org/wiki/List_of_GUI_testing_tools
https://en.wikipedia.org/wiki/List_of_GUI_testing_tools
Line 8: Line 21:
* [https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005265 Ten Simple Rules for Developing Usable Software in Computational Biology]
* [https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005265 Ten Simple Rules for Developing Usable Software in Computational Biology]
* [https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1008390 Ten simple rules for writing a paper about scientific software]
* [https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1008390 Ten simple rules for writing a paper about scientific software]
= UI design =
* [https://www.makeuseof.com/top-tools-ux-ui-designers-should-master/ The Top 11 Tools You Should Master as a UI/UX Designer]
* [https://www.makeuseof.com/grayscale-ui-ux-design-benefits/ 10 Reasons Why Designing in Grayscale Will Improve Your UX/UI Designs]


= VLC keyboard shortcut =
= VLC keyboard shortcut =
Line 53: Line 70:


To find out the source of a web clip, click the Note Info icon at the top.
To find out the source of a web clip, click the Note Info icon at the top.
== Tusk ==
[https://github.com/klaussinani/tusk Refined Evernote desktop app]


= Dropbox =
= Dropbox =
Line 67: Line 87:
* Backup your web site - [https://mybackupbox.com/ Backup Box]
* Backup your web site - [https://mybackupbox.com/ Backup Box]
* Host web page - [http://droppages.com/ DropPages] or [http://pancake.io/ Pancake.io]
* Host web page - [http://droppages.com/ DropPages] or [http://pancake.io/ Pancake.io]
== Ubuntu ==
* From the official website:
** [https://www.dropbox.com/install-linux Dropbox Headless Install via command line]
** [https://help.dropbox.com/installs-integrations/desktop/uninstall-dropbox How to uninstall Dropbox on your computer]
** [https://help.dropbox.com/installs-integrations/desktop/advanced-reinstall How to run an advanced reinstall of Dropbox]
* [https://www.linuxbabe.com/ubuntu/install-dropbox-headless-ubuntu-server How to Install Dropbox on a Headless Ubuntu Server] 2020
<ul>
<li>[https://www.how2shout.com/linux/install-dropbox-gui-or-headless-on-ubuntu-20-04-lts/ How to install Dropbox GUI or Headless on Ubuntu 20.04 LTS] (works)
{{Pre}}
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
~/.dropbox-dist/dropboxd
sudo wget -O /etc/systemd/system/[email protected] \
  https://raw.githubusercontent.com/joeroback/dropbox/master/dropbox%40.service
sudo systemctl enable dropbox@$(whoami)
sudo systemctl start dropbox@$(whoami)
sudo systemctl status dropbox@$(whoami)
curl -LO https://www.dropbox.com/download?dl=packages/dropbox.py
sudo mv dropbox.py /opt/
sudo ln -s /opt/dropbox.py /usr/bin/dropbox
sudo dropbox update
</pre>
Question: how to know there is a new update?
</li>
</ul>
* [https://linoxide.com/install-dropbox-ubuntu/ Some command-line examples]
* [https://askubuntu.com/a/653846 Dropbox very high CPU usage without any actual data transfer], [https://askubuntu.com/a/504014 Dropbox is taking too much CPU time. How can I fix it?]
On my Ubuntu machine (20.04), I found the machine's HDD led is very busy. When I used grafana to monitor, it can be seen the disk I/O dropped to 0 after I disable dropbox daemon.
[[File:DisableDropbox4pm.png|250px]]


= Photos =
= Photos =
Line 77: Line 129:


= Open source =
= Open source =
[https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009481 Ten simple rules on writing clean and reliable open-source scientific software]
* [https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009481 Ten simple rules on writing clean and reliable open-source scientific software]
 
* [https://opensource.com/article/20/5/write-about-open-source-software How to write about open source software]
[https://opensource.com/article/20/5/write-about-open-source-software How to write about open source software]
* [https://wiki.opensourceisawesome.com/books/what-i-use-day-to-day/page/the-software-i-use-in-2023 The Software I use in 2023] from opensourceisawesome
* What should you write about?
** 2024 [https://www.youtube.com/watch?v=6t5BQRQJIVY Part 1]
* What type of article are you writing?
* [https://www.howtogeek.com/897598/misconceptions-about-open-source-software/ 7 Misconceptions About Open Source Software]
* Who are you writing for?
* Words matter
** Use everyday language
** Know which words to avoid
** Use inclusive language
* Revising and editing
* Style guides


= Difference Between Development, Stage, And Production =
= Difference Between Development, Stage, And Production =

Latest revision as of 18:35, 29 April 2024

Software design

Reading notes on A Philosophy of Software Design by John Ousterhout

Data structure and algorithms

7 Websites to Practice Data Structure & Algorithm Coding Challenges

  • LeetCode
  • HackerRank
  • Codewars
  • Codility
  • HackerEarth
  • Techie Delight
  • InterviewBit

GUI testing tools

https://en.wikipedia.org/wiki/List_of_GUI_testing_tools

Testing

Smoke testing (software)

Developing Usable Software

UI design

VLC keyboard shortcut

  • Alt + arrows => skip 10 seoncds
  • +, - (no shift needed) => play faster, slower
  • M => toggle mute

FreeMind

Java based program

Install:

Tips:

Examples: Mind Maps by Vladimir Toncar

coggle.it

https://coggle.it/

unison

http://code.google.com/p/winison/

Evernote

To find out the source of a web clip, click the Note Info icon at the top.

Tusk

Refined Evernote desktop app

Dropbox

10 tricks and tips

  • Favorite files for offline reading on mobile devices
  • Use Dropbox as your default Document folder
  • Email files to dropbox as attachment
  • Get more stoage for free
  • Maintain firefox settings across different computers
  • Upload files to Dropbox via URL - URL droplet
  • Download torrents remotely
  • Maintain two dropbox accounts - Dropbox wiki
  • Backup your web site - Backup Box
  • Host web page - DropPages or Pancake.io

Ubuntu

On my Ubuntu machine (20.04), I found the machine's HDD led is very busy. When I used grafana to monitor, it can be seen the disk I/O dropped to 0 after I disable dropbox daemon.

DisableDropbox4pm.png

Photos

License

Open source

Difference Between Development, Stage, And Production

Difference Between Development, Stage, And Production 4 tiers

  • development is what you have on your local machine
  • stage: not stable, built with the last contributions from git
  • QA: same data as production (optional)
  • production

On NIH, it is Dev -> QA -> Stage -> Prod.

There are different definitions. On microsoft, it follows this process:

  • Development
  • Testing
  • Staging
  • Production