diff options
Diffstat (limited to '080_blog/00035_Programming')
| -rw-r--r-- | 080_blog/00035_Programming/00010_IPC/.index.md.swp | bin | 0 -> 12288 bytes | |||
| -rw-r--r-- | 080_blog/00035_Programming/00010_IPC/index.md | 24 | ||||
| -rw-r--r-- | 080_blog/00035_Programming/00015_Competitive-Coding/index.md | 17 | ||||
| -rw-r--r-- | 080_blog/00035_Programming/00020_Computer-Science-Literature/index.md | 48 | ||||
| -rw-r--r-- | 080_blog/00035_Programming/index.md | 3 |
5 files changed, 92 insertions, 0 deletions
diff --git a/080_blog/00035_Programming/00010_IPC/.index.md.swp b/080_blog/00035_Programming/00010_IPC/.index.md.swp Binary files differnew file mode 100644 index 0000000..87e0eaa --- /dev/null +++ b/080_blog/00035_Programming/00010_IPC/.index.md.swp diff --git a/080_blog/00035_Programming/00010_IPC/index.md b/080_blog/00035_Programming/00010_IPC/index.md new file mode 100644 index 0000000..e42e38f --- /dev/null +++ b/080_blog/00035_Programming/00010_IPC/index.md @@ -0,0 +1,24 @@ +# Inter Process Communication + March 14, 2018 + +We can attach nicely to same memory segment from 2 different processes: + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c .numberLines} +// ipc via shared mem +// attach to shared memory; +key_t my_ftok = ftok("~/surf-webext-dom-shared-mem",'a'); + +int mem_seg=shmget(my_ftok,1024*1024,IPC_CREAT|0660); +if(mem_seg==-1) +{ +g_print("shmget failed: %s\n",strerror(errno)); +} + +shared_buf=shmat(mem_seg,NULL,0); +if(shared_buf==(void*)-1) +{ +g_print("shmat failed: %s\n",strerror(errno)); +} +g_print("attached to shared memory.\n"); +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + diff --git a/080_blog/00035_Programming/00015_Competitive-Coding/index.md b/080_blog/00035_Programming/00015_Competitive-Coding/index.md new file mode 100644 index 0000000..df847e7 --- /dev/null +++ b/080_blog/00035_Programming/00015_Competitive-Coding/index.md @@ -0,0 +1,17 @@ +# Competitive Coding + +A small selection of websites, which I visit from time to time, addressing competitive coding. + +* topcoder.com +* codeforces.com +* codility.com +* codersclan.ne +* projecteuler.net +* www.codingame.com (need to check this) +* www.codechef.com (need to check this) +* http://psyho.gg/overview-of-programming-contests/ (and read here) +* https://www.hackerrank.com/ +* http://code.google.com/codejam +* https://www.kaggle.com/ – predicitve modelling +* odesk.com / elance + diff --git a/080_blog/00035_Programming/00020_Computer-Science-Literature/index.md b/080_blog/00035_Programming/00020_Computer-Science-Literature/index.md new file mode 100644 index 0000000..114294e --- /dev/null +++ b/080_blog/00035_Programming/00020_Computer-Science-Literature/index.md @@ -0,0 +1,48 @@ + +# Comp Science Literature +This is a list of some books, focusing on topics around computer science, which I recently read or am currently reading or want to read :P + +* Anthony Williams, C++ Concurrency in Action: Practical Multihreading +* The Boost C++ Libraries, Boris Schäling (Online book) +* Meyers, Effective C++ (Addison-Wesley) C++98 only? +* Meyers, More Effective C++ (Addison-Wesley) C++98 only? +* Meyers, Effective STL. C++98 only? +* Sutter, Exceptional C++ +* Sutter, More Exceptional C++ +* Karlson, Beyond the C++ Standard Library: An Introduction to Boost 1st Edition +* Maybe Something on Multiprocessing (?) +* Donald Knuth. The Art Of Computer Programming +* Algorithms 3rd Edition (by Cormen, Leiserson, Rivest, Stein) +* Jonathan Bartlett. Programming from the Ground Up +* C++ in a Nutshell (O’REILLEY, by Lischner) +* C++ Primer (5th Edition) by Lippman, Lajoie, Moo +* The C++ Programming Language 4th Edition +* Dive into Python (2 and 3) by Mark Pilgrim +* Version Control with Git (O’REILLEY, by Loeliger & McCullough) (next: 9(10) ?) +* The Linux Command Line, by William Shotts (http://linuxcommand.org/tlcl.php) +* Debian, The Administrators Handbook (by Hertzog and Mas) +* Absolute FreeBSD by Michael W. Lucas +* Modern Operating Systems, Third Edition (by Andrew S. Tannebaum) +* Linux Device Drivers (O’REILLEY, by Corbert, Rubini, Kroah-Hartman) +* Linux Kernel in a Nutshell (O’REILLEY, Greg Kroah-Hartman) +* Concrete Math (2nd) +* STOC '83 Proceedings of the fifteenth annual ACM symposium on Theory of computing / Primitives for the manipulation of general subdivisions and the computation of Voronoi diagrams +* sedgewick & waynes algorithms +* books from appendix, from programming from ground up? + +## What every programmer should know about + +* Undefined behaviour: http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html +* Memory: http://lwn.net/Articles/250967/ +* Floating point arithmetic: https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html + +## some areas of interest + +Some General Topics I am reasearching right now (or plan to do it). Or used to reasearch... + +* Neuronal Networks +* Deep Learning +* Random Forrests (and other techniques based on Decision Trees) +* Simmulated Annealing +* (Linear) Integer Programming + diff --git a/080_blog/00035_Programming/index.md b/080_blog/00035_Programming/index.md new file mode 100644 index 0000000..3424ab3 --- /dev/null +++ b/080_blog/00035_Programming/index.md @@ -0,0 +1,3 @@ +# Programming +Some programming related stuff. + |
