This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:spring2016:dschmitt:journal [2016/01/22 01:50] – [JANUARY 21, 2016] dschmitt | blog:spring2016:dschmitt:journal [2016/04/28 00:27] (current) – dschmitt | ||
---|---|---|---|
Line 1: | Line 1: | ||
======C/C++ Programming Journal====== | ======C/C++ Programming Journal====== | ||
- | ====JANUARY 21, 2016==== | + | ====MARCH 15, 2016==== |
+ | |||
+ | * //What action or concept of significance, | ||
+ | * RGB Values that exceed 255 and beyond (tested up to 10,000,000) give weird behaviors, some transparency effect with the black background give a gradient kind of effect ([[http:// | ||
+ | * We are now getting into reading, writing, and appending to files for our sam0 project. Learned some tricks with ascii characters, like +32 for uppercase gives lowercase, and vice versa. After a deep conversations regarding various legal / ethical problems, we discovered dinosaurs with hats ( UP UP DOWN DOWN LEFT RIGHT LEFT RIGHT B AAAAAAAAA ). | ||
- | * //What action or concept of significance, | ||
- | * Today we talked about the different variable data types and related them to " | ||
* //What concepts are you dealing with that may not make perfect sense?// | * //What concepts are you dealing with that may not make perfect sense?// | ||
- | * The only really big difference | + | * Haven' |
+ | * Just fully grasping | ||
* //What challenges are you facing with respect to the course?// | * //What challenges are you facing with respect to the course?// | ||
- | * I haven't had much practice with Linux or Unix. And while I have had some, it will be interesting/ | + | * Everything seems great so far. Glad we're doing different logic/math based concepts overall. |
+ | * Still looking to do a snake game when I get a chance. | ||
+ | |||
+ | ====MARCH 29, 2016==== | ||
+ | |||
+ | * //What action | ||
+ | * We're now getting into C++ a little more than specifically C. This will be interesting and I cannot wait to see what we'll be doing. I have a previous background in Java programming, and it seems that many of the same concepts can be applied | ||
+ | * In class last Tuesday we talked about P.I.E. for object oriented programming. | ||
+ | * // | ||
+ | * **// | ||
+ | * // | ||
+ | |||
+ | * //What concepts are you dealing with that may not make perfect sense?// | ||
+ | * The above three all have a lot of similarities in my head, as I dealt with them often in Java and make it harder to distinguish. Other than that, I'm pretty excited to dive into C++ a little more. | ||
+ | |||
+ | * //What challenges are you facing with respect to the course?// | ||
+ | * Not much so far. In unix and c/cpp we have been doing a lot more byte manipulation, | ||
======UNIX/ | ======UNIX/ | ||
- | ====MONTH Day, YEAR==== | + | ====FEBRUARY 5, 2016==== |
- | This is a sample format for a dated entry. Please substitute | + | * //What action or concept of significance, |
+ | * We've been going over some useful commands / tricks | ||
+ | * //Why was this significant?// | ||
+ | * This is significant because we're just learning the basics of this operating system in some fun puzzle kind of ways. We're learning the significance of many of these commands as well as how we can manipulate the output and input for these commands. | ||
+ | * //What concepts are you dealing with that may not make perfect sense?// | ||
+ | * Everything seems to be pretty simple so far. | ||
- | As an aid, feel free to use the following questions to help you generate content for your entries: | + | ====APRIL 7, 2016==== |
- | * What action or concept of significance, | + | * //What action or concept of significance, |
- | * Why was this significant? | + | * Just finished up the major UDR 2 project, which included a lot of BASH scripting. This project included a LOT of binary **search**ing. Every packet begin with **41 34 ..**, and we had to filter certain things to achieve certain things. It was great. |
- | * What concepts are you dealing with that may not make perfect sense? | + | * Our newest project is dealing with octal permissions. UPR0 (Unix Permission Review) |
- | * What challenges are you facing with respect | + | * HINT: rwx = 421 = 7 |
+ | * Example: rwxr-xrw- = 756 | ||
+ | * The trick is that we can only do the assignment every 2 hours, which is slightly annoying. This hinders on my ability to pump out the assignment immediately. | ||
+ | * //Why was this significant? | ||
+ | * This is significant because permissions are very helpful when dealing with files that need to be public, private, or group local. | ||
+ | * //What concepts are you dealing with that may not make perfect sense?// | ||
+ | * Everything is coming together nicely, still getting used to REGEX patterns, specifically grouping mechanics. **\(\)** | ||
+ | * SED Usage: **s/ | ||
+ | |||
+ | ====APRIL 27, 2016==== | ||
+ | |||
+ | * //What action or concept of significance, | ||
+ | * We have begun our adventure on the wondrous " | ||
+ | * **0x0** - Digital Storage Conversion: This was was tricky to think about. My solution was to convert everything down to byte size, then back up to the size they need for output. This worked well. | ||
+ | * **0x1** - Length Conversion: This used the same methodology as 0x0. I converted everything down to millimeters, | ||
+ | * **0x2** - Unit Conversion (Optimized): | ||
+ | * //Why was this significant?// | ||
+ | * The EOCE marks the dwindling end of the semester, and as such, these groups of projects display the knowledge (and power) that we have absorbed throughout these many weeks. | ||
+ | * //What concepts are you dealing with that may not make perfect sense?// | ||
+ | * C++ Syntax is a bit challenging, |