-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsystemprogramming.html
More file actions
345 lines (253 loc) · 13 KB
/
Copy pathsystemprogramming.html
File metadata and controls
345 lines (253 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<!DOCTYPE html>
<!--
Plain-Academic by Vasilios Mavroudis
Released under the Simplified BSD License/FreeBSD (2-clause) License.
https://github.com/mavroudisv/plain-academic
-->
<html lang="en">
<head>
<title>İsmail Hakkı Turan</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Oswald:700' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="wirelessnetworks.html">WSNs</a></li>
<li><a href="systemprogramming.html">System Programming</a></li>
<li><a href="index.html">Operating Systems</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#publications">Publications</a></li>
<li><a href="#">CV</a></li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container">
<div class="row">
<!-- Entries Column -->
<div class="col-md-9" style="height: 200vh;">
<div class="col-md-10">
<div style="font-family: 'Oswald', sans-serif; font-size: 22px;">İsmail Hakkı TURAN</div>
<p>Room 236-C, Computer Engineering Department,
<br><a href="https://maps.app.goo.gl/hDocRXPyifzyKB7WA"><b>Address:</b></a> Körfez, 19 Mayıs Ünv. No:64, 55270 Atakum/Samsun</p>
<p>hakki.turan[at]bil.omu.edu.tr<br><br><br>
</div>
<!-- Main Image -->
<figure>
<img class="img-responsive" width="700" src="IBM_Electronic_Data_Processing_Machine.jpg" alt="">
<figcaption>Lois Haibt</figcaption>
</figure>
<br>
<div style="margin-top:2%; margin-left:40px; text-align:justify;">
<h1>System Programming Course</h1>
<div style="margin-left:40px; text-align:justify;">
<style>
table, th, td {
border:2px solid green;
}
</style>
<!--h4 style="color: red;">
<br>I am pleased to announce that I will be attending the <a href="https://www.enssys.org/2023/">ENSSYS Workshop</a>
under <a href="https://sensys.acm.org/2023/">SenSys 2023</a>, which will take place from November 12th to 14th.
</h4-->
<h2 style="color: green;">Dedicated Office Hours for the Course</h2>
<h3></h3>
<table th td style="padding-left:108px; width:80%; ">
<tr>
<th style="padding-left:5px; border-spacing: 5px;">Name</th>
<th style="padding-left:5px"> In Person</th>
<th style="padding-left:5px"> Online</th>
</tr>
<tr>
<td style="padding-left:5px">İsmail Hakkı TURAN</td>
<td style="padding-left:5px">Personal Room<br><i>(09:00-12:00 Wednesday)<br>(15:30-17:00 Friday)</i></td>
<td style="padding-left:5px"><a href="https://chat.google.com/room/AAAA9GD4qHQ?cls=4"><i>Chat and Meet Link<br>(bil.omu accounts)</i></a></td>
</tr>
</table>
<h2>1st Week (16.10.2025)</h2>
<div style="margin-left:40px; text-align:justify;">
<h3>Shell Scripting Tutorial (Automatic Translation Available)</h3>
<p>A quick catch-up with <a href="https://www.youtube.com/watch?v=tK9Oc6AEnR4">shell</a> basics.</p>
<h3>Session Notes</h3>
<p>Please open <a href="https://ismailhakkituran.github.io/hafta1_shell_giris.md">this file</a> with a .md file previewer or <a href="https://github.com/ismailhakkituran/ismailhakkituran.github.io/blob/main/hafta1_shell_giris.md">view online</a>.</p>
<h3>Skills Learned from Week_1 Application:</h3>
<ul>
<li>Shell basics</li>
<li>Linux File System Hierarchy</li>
<li>PATH</li>
</ul>
<h3>How much was I able to work on the Week 1 application?</h3>
<input type="checkbox" id="skill3" name="skill3" value="1">
<label for="skill3"> I installed the Ubuntu WSL system, or alternatively, a Linux/UNIX-like OS on my machine. </label><br>
<input type="checkbox" id="skill1" name="skill1" value="2">
<label for="skill1"> I watched the "Shell Scripting Tutorial" video and ran every command on my machine.</label><br>
<input type="checkbox" id="skill2" name="skill2" value="3">
<label for="skill2"> I also read the "Session Notes" and executed every command on my machine.</label><br>
<br><br>
<p>
<p>
<p>
</div>
<h2>2nd Week (23.10.2025)</h2>
<div style="margin-left:40px; text-align:justify;">
<!--h3>Multi-threaded TCP Sockets with Java</h3>
<p>Click the <a href="https://github.com/ismailhakkituran/multithread-socket-application"> repository </a>link</p-->
<h3>Continuation of Shell Basics</h3>
<ul>
<li>Concepts of stdin, stdout, and PIPE</li>
<li>SSH connection and using PuTTY</li>
<li><code>top</code> and <code>grep</code> commands</li>
<li>File permissions <code>chmod</code> </li>
<li>Basic regex experiments (<code>*</code>, <code>?</code>)</li>
<li>Running shell commands from the terminal or from a file</li>
</ul>
<h3>Basic TCP and UDP Sockets with Python</h3>
<ul>
<li>OSI layers</li>
<li>Transport layer protocols</li>
<li>Concepts of TCP and UDP and their differences</li>
<li>Typical TCP server and client implementation</li>
<li>Typical UDP client behavior and execution</li>
</ul>
<p>Click the<a href="https://github.com/ismailhakkituran/basic-sockets-with-python"> repository </a>link</p>
<h3>Skills Learned from Week_2 Application:</h3>
<ul>
<li>Understanding of standard input/output streams (stdin, stdout) and the use of pipes in shell operations</li>
<li>Experience with SSH connections and PuTTY for remote system access</li>
<li>Proficiency in using shell commands such as <code>top</code> and <code>grep</code></li>
<li>Knowledge of file permissions and basic regular expressions (<code>*</code>, <code>?</code>)</li>
<li>Ability to execute shell commands both interactively and from scripts</li>
<li>Comprehension of OSI layers and transport layer protocols (TCP and UDP)</li>
<li>Understanding the differences between TCP and UDP communication models</li>
<li>Implementation of a basic TCP server and client using Python</li>
<li>Execution and analysis of typical UDP client behavior in Python</li>
</ul>
<p>
<h3>TO-DO from Week_2 Application:</h3>
<input type="checkbox" id="skillweek2" name="skillweek2" value="1">
<label for="skill3"> I've sended my student number to local server.</label><br>
<br><br>
<p>
</div>
<h2>3rd Week (13.11.2025)</h2>
<div style="margin-left:40px; text-align:justify;">
<h3>Skills Learned from Week_3 Application:</h3>
<ul>
<li>Data-holding objects, POJO</li>
<li>Preparing objects to be sent over a stream, serialization<p>(Click the<a href="https://github.com/ismailhakkituran/sending-basic-objects-over-sockets"> serialization repository </a>link)</p></li>
<li>Google’s protocol that enables object exchange between different programming languages and systems, Protocol Buffers</li>
<li>Common programming mistakes, and the concepts of mutable and immutable <p>(Click the <a href="https://github.com/ismailhakkituran/ismailhakkituran.github.io/blob/main/app-session-mutable.md"> link </a>)</li>
<li>Is it possible to send an email using telnet with SMTP, which is a text-based protocol?</li>
</ul>
<!--h3>Sending objects over TCP Sockets with Java</h3>
<p>Click the <a href="https://github.com/ismailhakkituran/sending-basic-objects-over-sockets"> repository </a>link</p>
<h3>Sending mails using SMTP protocol via TELNET</h3>
<p>Using TELNET client, opened a socket connection with Google-Mail-Server.</p>
<p>Click the steps file in the <a href="https://github.com/ismailhakkituran/sending-mail-over-sockets-using-smtp"> repository </a>link</p>
<h3>A Small Exercise Project until 4.11.2024</h3>
<p>Try to implement these telnet based mail client with your favorite programming language.
<br>(Without using third-party library)</p>
<p>Click the <a href="https://github.com/ismailhakkituran/sending-mail-over-sockets-using-smtp"> repository </a>link</p-->
</div>
<h2>4th Week (27.11.2025)</h2>
<div style="margin-left:40px; text-align:justify;">
Internalize the hierarchies in the examples. Try to distribute the workload in multi-threaded matrix multiplication using different partitioning strategies.
<ul>
<li>Single-threaded matrix multiplication example<a href="https://github.com/ismailhakkituran/matrix-mul-single"> repository </a></li>
<li>Multi-threaded matrix multiplication example<a href="https://github.com/ismailhakkituran/matrix-mul-multi"> repository </a></li>
</ul>
Run shell commands with their parameter options, and make it a habit. Click<a href="https://github.com/ismailhakkituran/ismailhakkituran.github.io/blob/main/system-app-27-11-2025.md"> here </a></h3> to access the documentation page for the commands used in the final exercise.
<!--p>Click the <a href="https://github.com/ismailhakkituran/multithread-socket-application"> repository </a>link</p-->
<!--h3>Sending mails using SMTP protocol with Libraries</h3>
<p>Try to implement these programs that can send e-mail using SMTP-Mail-Libraries
with your favorite programming language. <i>(self exercise)</i></p>
<ul>
<li>
Code a program that sends an email containing colored words.
</li>
<li>
Code a program that sends an email containing an attached text file.
</li>
</ul>
<h3>Mutable/Immutable Concepts in Programming Languages</h3>
<h4>Java String Class is Mutable or Immutable with Examples?
<i>(Useful for the next Exercise)</i></h4>
<ul>
<li>
<p>A <a href="https://www.geeksforgeeks.org/java-string-is-immutable-what-exactly-is-the-meaning/"> blog</a>
post</p>
</li>
<li>
<p>A <a href="https://www.baeldung.com/java-string-immutable"> blog</a> post</p>
</li>
</ul>
<h3>Streams in Java</i></h3>
<h4>Stream Converting Types <i>(Useful for the next Exercise)</i></h4>
<ul>
<li>
<p>A <a href="https://fehmicansaglam.net/sen-outputstreame-yaz-ben-inputstreamden-okuyayim"> blog</a> post titled:
<i>"Sen OutputStream'e yaz, ben InputStream'den okuyayım"</i></p>
</li>
<li>
<p>A <a href="https://blog.ostermiller.org/convert-a-java-outputstream-to-an-inputstream/"> blog</a> post titled:
<i>"Convert a Java OutputStream to an InputStream"</i></p>
</li>
</ul>
<h3>Performance Comparison of Java Sets</h3>
<ul>
<li>
<p>A <a href="https://fehmicansaglam.net/senkronize-olmayan-java-util-set-gerceklemelerinin-performans-karsilastirmasi"> blog</a> post titled:
<i>"Senkronize olmayan java.util.Set gerçeklemelerinin performans karşılaştırması"</i></p>
</li>
<li>
<p>Adapt <a href="https://gist.github.com/anonymous/2556469"><i>this</i></a> improved version by Ahmet A. Akın which should be developed for Java List Collections</p-->
</li>
</ul>
<br>
</div>
<h2>5th Week (04.12.2025)</h2>
<div style="margin-left:40px; text-align:justify;">
Run shell commands with their parameter options, and make it a habit. Click<a href="https://github.com/ismailhakkituran/ismailhakkituran.github.io/blob/main/system-app-04-12-2025.md"> here </a></h3> to access the documentation page for the commands used in the final exercise.
<br>
<br>
<h4><i>The next exercise will be announced soon via Classroom...</i></p></h4>
<br> <br> <br> <br> <br>
</div>
<a href="https://info.flagcounter.com/cNnN"><img src="https://s01.flagcounter.com/countxl/cNnN/bg_FFF8C7/txt_1F0000/border_CCCCCC/columns_4/maxflags_12/viewers_0/labels_1/pageviews_1/flags_0/percent_0/" alt="Flag Counter" border="0"></a>
<br>
<img src="https://hitscounter.dev/api/hit?url=https%3A%2F%2Fismailhakkituran.github.io%2Fsystemprogramming.html&label=sysprog&icon=github&color=%23198754&message=&style=for-the-badge&tz=Europe%2FIstanbul">
</div>
</div>
</div>
<!--/div -->
<!-- /.container -->
<!--div class="col-md-3">
<div style="font-family: 'Oswald', sans-serif; font-size: 32px;">
<b></b></div><br>
<p><b>Halet-i Ruhiyye</b><br>
<p>Kaygılar Üzerine
</p>
</div>
<a style="color:#b5bec9;font-size:0.8em; float:right;" href="https://github.com/mavroudisv/plain-academic">Plain Academic</a>
-->
</body>
</html>