Tuesday, October 31, 2017

Internet access all over the world through fiber optics and satellites

Internet access all over the world through fiber optics and satellites :

Links to follow :

Youtube channels for programmers

  1. Writing a game engine in C with no libraries: https://www.youtube.com/user/handmadeheroarchive
  2. Random game and compiler programming: https://www.youtube.com/user/jblow888
  3. Minecraft clone in c++ and other stuff: https://www.youtube.com/user/silverspaceship
  4. Those are awesome streamers but jon has mostly been playing games and silverspaceship's last obbg video is 9 months old: https://www.youtube.com/watch?v=IIn-0TJopNA
  5. Very good explained videos about low level programming and computer hardware: Ben Eater
  6. Videos about security and exploits: LiveOverflow
  7. JavaScript, Functional Programming and general Programming topics: FunFunFunction
  8. Algorithms and Computer Science topics: TheHappieCat
  9. Very Good Tutorial Series about all different kinds of topics (Algorithms, WebDev, Ai and so on): TheCodingTrain (Also the host is absolutely hilarious.)
  10. Videos from computer science professors about different computer science topics: Computerphile
  11. And for all German-speaking people: Brotcrunsher has very good tutorial series about different programming languages and other programming related topics.
  12. Coding Train also points to The Happie Cat, here is the actual channel https://www.youtube.com/user/shiffman
Source : Reddit

Monday, October 30, 2017

Data Storage options for Android

Data Storage options for Android

https://www.journaldev.com/9383/android-internal-storage-example-tutorial

Android Storage Options:
1. Internal Storage
2. External Storage
3. Shared Preferences
4. SQL DB
5. On Network (On Cloud)

-------------------
INTERNAL STORAGE
-------------------
PATH : Data/Data/{Package name}/Files/{file name}
API's : openFileOutput({file name}, MODE_PRIVATE);
openFileInput({file name});

-------------------
SHARED PREFERENCES
-------------------
SUITED FOR : Key-value pairs
PATH : Data/Data/{Package name}/shared_prefs/{pref name} [API : Environment.getDataDirectory()]
API's : Environment.getDataDirectory().
SharedPreferences  = getApplicationContext().getSharedPreferences("{Pref Name}", MODE_PRIVATE);

-------------------
External STORAGE
-------------------
PATH : Android/data/data/{application_package}/{Folder name}/{File name} [API : getExternalFilesDir({Folder name})]
API's : Native Java

-------------------
SQL Lite
-------------------
PATH : data/data/databases/
API's : SQLiteOpenHelper, DBManager