WSQ11 – Library Assignment

--Originally published at JAVALIO

In this WSQ I had the opportunity to discover a website that will help me in POO because there are some interesting problems, also they come very explained and with the answers if you want to check it

The library task was easy I just had to edit some things and it worked, I think the most important is the page is just found!

WSQ11 – Library Assignment


WSQ11 – Library Assignment

TC201 #CourseReview – Mr. I Never Use an Umbrella

--Originally published at Orientierteprogrammierungobjekteundetwasmehr

This course has been something really new to me.

I learned the more fundamental concepts of Object Oriented Programming, as well as putting most of these into practice. Classes, objects, attributes and methods. APIE: Abstraction, polymorphism, inheritance, encapsulation and delegation. Has-a, is-a relationships. Visibility modifiers. Overloading and Overriding. Also I learned about software development tools and practices like UML and CRC cards. I still have to learn about the metaobject protocol. I also learned a lot about the Unity game engine and about video game networks and protocols, the Authoritative Server approach, latency compensation, client prediction, server reconciliation and other interesting concepts. this and this  are some really nice articles about the subject.

First off, I thought I wasn’t doing a lot of things, the course was really relaxed, doing the assignments whenever I wanted and learning whatever I wanted. A lot of people coursing OOP with Salinas told me that I was learning nothing, because the way the class works. But at the end of the first partial I realized I had learned more than my fellows from the class of Salinas, and they are still saying “you didn’t learn about Java user interfaces”,  but honestly, I don’t give a duck about user interfaces. I was learning all the theory and doing the programming wsq’s by, which is quicker than having the teacher trying to put the concepts in everyone’s head in one class, because I think everyone has it’s own learning rhythm.

I personally think this teaching method is really good and could work really well, but first, ken has to polish some aspects of the course:

First, there must be more emphasis on doing the assignments, because people (at least most I know) is not very interested in self-education, they don’t do the things they should until they realize they have one or two days left for finishing everything. They don’t manage their time correctly, they prefer to procrastinate all the time instead of focusing in what is really important.

Second, I think there should be more programming assignments, sometimes I learned the concepts, did the posts about what I learned and everything but never put these concepts into practice, making me feel like I did not master the topic completely, and I don’t mean learning Java, I mean reinforcing the concepts learned with something practical, because I definitively think that this class (and every programming class) should be language agnostic, focusing on learning the theory and putting these concepts in practice in whichever language the student wants.

I think that if ken really efforts improving his course in these aspects he will have a really, really good course, keep the good work!


TC201 #CourseReview – Mr. I Never Use an Umbrella

James Gosling interview

--Originally published at Orientierteprogrammierungobjekteundetwasmehr

Just finished watching Triangulation 245, featuring James Gosling, the creator of Java, one of the most popular programming languages in the world, and the Java Virtual Machine.

James Gosling interview

Gosling staring right into your soul

He was interested in programming at an early age. The idea of creating Java came from observing how everything was switching from hardware to software, writing code instead of inventing new machines. I also want to point out that he is Canadian.

James Gosling interview


James Gosling interview

Ward Cunningham

--Originally published at Orientierteprogrammierungobjekteundetwasmehr

This post is about my thoughts on the Triangulation Chapter 239, where Ward Cunningham is interviewed. He is the inventor of the wiki, he contributed to the development of Eclipse Ward Cunninghamand Relic and is part of the Smalltalk community.

Wikis are the biggest knowledge source in the world, where anyone can write, read and edit any publication. Extreme Programming is a methodology for agile software development where there is more emphasis in adaptability  than predictability.

Ward CunninghamThe interview showed me how a simple man can make a huge contribution to humanity, such as wikis; where people share their knowledge just to make that knowledge public for everyone, and how we can work together for a better society.

 


Ward Cunningham

Career choice: Do whatever you want.

--Originally published at Social coding

I didn’t like the blog, why?
I feel there isn’t any type of recipe like the points in the blog, the author say this but he didn’t go deep in the topic.
You should learn what you want and what you think is your passion. I am passionate about discovering things, investigating and searching for innovative solutions for problems that we live now, so I can decide what can help me achieve this goal. Last semester I failed a class and didn’t get such a great grade, but I am pretty sure that I learn a lot of new things more than the ones my teachers were teaching me. I wanted more, I want more, I won’t stop now.
I didn’t go for the top grade or for impressing my teachers, that doesn’t help my goal. So when I saw the opportunity to learn about startups and how they work with their different weapons (ok, it will be better to call them methodologies), I took it. And I am happy, I got into Tec Lean Accelerator Program where I learned a lot about business. If I want to make a change I need to know this, that time was spent in something a lot of people of first semester wouldn’t like to. But his use of my time bring me one more thing that I think it is the most important.

Meeting people who can enrich you.

I feel very grateful to all the people who told me new things and then became my friends. All this experiences have been great but this was because I was not afraid of going out of my comfort zone to learn something that can help me achieve my goals.
I want you to do a exercise:

Write your goals. Then the things you need to know for them to come real. And then learn one thing each week.
You will feel like a new person every week.

You should try it, but don’t think you only need to know about one side of the fight. In the present time, we need to be prepare to be in any position.


Career choice: Do whatever you want.

#WSQ11-Library

--Originally published at Blog

And this is the most boring wsq that I have ever done!
Because all it asked of me was filling the blank methods with just some return statements in most cases.
The most interesting I did in this assignment was doing a for loop and throwing some exceptions.

So i entered the WSQ11 blog post in kenscourses and clicked the first link because I’m too lazy to read.
And the first thing I notice is that I don’t know what to do here, obviously, instead of go back and read the instructions I started doing the first assignment.
#WSQ11-Library

After some dedication and hard work doing that thing about gravity I realized it was too stupid, so I deleted all the files, including System32.

So now I had the tough task of reading the instructions.
According to the English dictionary of Cambridge, the word “to” is pronounced as “tu”.
The instructions said that I should try to “tutu” the Library assignment.
#WSQ11-Library

All I did in the book class was add some fields, getters and setters.
#WSQ11-Library

And in the Library class I just used the Book class to create the simulation of a library.
It also asked me to create a static method, I was so excited.
#WSQ11-Library

After that I kept reading and clicked on a link, and the first thing a saw was a big message saying “Buy my book!”, it was so gross that I had to leave the site.
#WSQ11-Library

github


#WSQ11-Library

WSQ08 – Yo Soy 196

--Originally published at JAVALIO

Second time I face this problem, last time I was programming in Python, now is Java.

Yo soy 196, is about Palindrome, and Lychrel Number, is simple there exists palindrome(things that reads the same way left to rigth and otherwise) example rotator, reviver, denned, sexes, etc.

There also exist Palindrome number like 11, 22,33,44,55..(this are called Natural Palindrome, because by nature they can be read right to left and othewise), others numbers like 12 are palindrome but not for its nature, we need to add their inverse in order to find the Palindrome, 12 + 21 = 33, now 33 is palindrome but there are some numbers that we cannot find if they become palindrome after many iterations, these are called Lychrel Number the first example is 196 the first number that cannot be proved that reach a Palindrome

So our programm what do is receives a range and look for natural Palindromes, Palindromes after addinig, and candydates Lychrel numbers.

My codes in Github:

https://github.com/cesarau04/WSQ-Java/blob/master/WSQ08.java (main)

https://github.com/cesarau04/WSQ-Java/blob/master/MyRange.java (class MyRange)

Image by Eva the Weaver


WSQ08 – Yo Soy 196

WSQ08 – Yo Soy 196

--Originally published at JAVALIO

Second time I face this problem, last time I was programming in Python, now is Java.

Yo soy 196, is about Palindrome, and Lychrel Number, is simple there exists palindrome(things that reads the same way left to rigth and otherwise) example rotator, reviver, denned, sexes, etc.

There also exist Palindrome number like 11, 22,33,44,55..(this are called Natural Palindrome, because by nature they can be read right to left and othewise), others numbers like 12 are palindrome but not for its nature, we need to add their inverse in order to find the Palindrome, 12 + 21 = 33, now 33 is palindrome but there are some numbers that we cannot find if they become palindrome after many iterations, these are called Lychrel Number the first example is 196 the first number that cannot be proved that reach a Palindrome

So our programm what do is receives a range and look for natural Palindromes, Palindromes after addinig, and candydates Lychrel numbers.

My codes in Github:

https://github.com/cesarau04/WSQ-Java/blob/master/WSQ08.java (main)

https://github.com/cesarau04/WSQ-Java/blob/master/MyRange.java (class MyRange)

Image by Eva the Weaver


WSQ08 – Yo Soy 196

WSQ07 – Babylonian Method

--Originally published at JAVALIO

Cesar Cortez and Andres Choza also worked with me during the WSQ07, here we came with a little more of knowlegde about Java, but even though we still have dounts.

Babylonian Method is about finding the root of a number but in a different way, first we have to see the number given like for example, 19, then look for a x number that x^2 is the closest number we can approch to 19.

For example: 1×1 = 1, 2×2 =4, 3×3=9, 4×4=16, 5×5=25

So 19 is (4^2) and (5^2 ), so we can infer that the root of 19 is 4.### something because is between 4×4 and 5×5

For more information I recommend you to see this video:

 

Our code in Github: https://github.com/cesarau04/WSQ-Java/blob/master/wsq07.java

Image by vasse nicolas,antoine.


WSQ07 – Babylonian Method