Friday, July 29, 2022

FINAL INTERACTIVE ASSIGNMENT FOR CPT 307

 Data has been revolutionalized with the creation of computers.It is important as ever for science, business, technology, medicine. Some scientists think it should be the fifth state of matter. Don't believe me? Check out this link :Data Might Be the Fifth State of Matter, Proving We Reside in a Simulation – Kava News. Data is used to reveal whats underneath the veil of consumers, medicine, best practices, proof of fact. In CPT 307 we reviewed the concept of data, and how to organize it in a program. There are seven types of algorithms out there. 

  1. Brute-force or exhaustive search
  2. Divide and Conquer
  3. Greedy Algorithms
  4. Dynamic Programming
  5. Branch and Bound Algorithm
  6. Randomized Algorithm
  7. Backtracking
Brute-Force is pretty much how it sounds. One guide the program over all the required steps to calculate the data. Its reminds me of common core math. I wasn't a student during that time however, it would be like 3x10. One would guide the program and do 10+10+10. This is a simplified version but it easy to translate.

Divide and Conquer is when one divide the data into segments and calculate by the individual brackets. This is faster than brute-force because the calculations are small and fast. One would bring the equation down to the atom level and work on it from there. (Tutorials Point)



Greedy Algorithm is when one you solve multiple data points individually and then aquire the solution after every data point is looked at. For instance, take three objects and get the height for all them individually. Then one would add the heights together to get the total distance or height of the object. (Geek 2 Geek)

Dynamic Programming is when one uses recursion. One would use dynamic programming to solve the equation if there is repeating inputs,etc. Count how many ears for infinite amount of bunnies. (Geek 2 Greek)

Branch and Bond is used when there is exponentially steps in the calculation that might have to be solved every step. (Geek 2 Geek)

Randomized Algorithm is used when one might need to randomize the calculations and insert random numbers or work on different steps. This is used to reduce calculation time among the other algorithms. (Geek 2 Geek)


BackTracking is when one uses recursion (going back) and working on the previous step if the first number doesnt give a solution. (Geek 2 Geek)

   Those are summaries from the reference material. I suggest digging deeper into it. Which one is the best for the job? Often times, it comes down to calculating speed and data length. Each job we take on in the information technology we will have to adjust to the data. It all depends on what the business or what scientist the data is looking for and how much time they have, and how much data there is. As a student, I have used most of these during our assignments. Each type of algorithm did the job and worked for the assignment. One thing I will do is practice each algorithm and "learn" the method behind the maddness. I am excited for entering the workforce, and hope this helps with a little intro the what CPT 307 offers.



Reference

Backtracking algorithms. GeeksforGeeks. (n.d.). Retrieved July 29, 2022, from https://www.geeksforgeeks.org/backtracking-algorithms/

Branch and bound algorithm. GeeksforGeeks. (n.d.). Retrieved July 29, 2022, from https://www.geeksforgeeks.org/branch-and-bound-algorithm/

Data Structures - divide and conquer. Tutorials Point. (n.d.). Retrieved July 29, 2022, from https://www.tutorialspoint.com/data_structures_algorithms/divide_and_conquer.htm 

Dynamic Programming. GeeksforGeeks. (n.d.). Retrieved July 29, 2022, from https://www.geeksforgeeks.org/dynamic-programming/

Greedy algorithms. GeeksforGeeks. (n.d.). Retrieved July 29, 2022, from https://www.geeksforgeeks.org/greedy-algorithms/

Randomized algorithms. GeeksforGeeks. (n.d.). Retrieved July 29, 2022, from https://www.geeksforgeeks.org/randomized-algorithms/

Thursday, June 30, 2022

Introduction to Java

            Java is an object-oriented program. OOP for short is a computer programming model that organizes the software around objects. One would define the objects (commands, variables) and then list how they will interact with each other. (What is Object-Oriented Programming, 2022). 

            The structure for object-oriented programming are as follows with brief descriptions :

  • "Classes - are user defined data types for individual objects, attributes and methods.
  • Objects - are instances of a class created specifically defined data. Objects can be real or abstract.
  • Methods - are functions that are defined inside a class that describe a behavior of an object.
  • Attributes - are defined in class template and represent the state of an object."
    •                     - Retrieved from What is Object-Oriented Programming.

 

            How do you start programming Java? Easy, just install a compiler and I suggest starting with the Hello World program. It's usually everyone's first step into programming with Java. Here is a video for how to install Eclipse Java Compiler - (12) How to Install Eclipse IDE on Windows 10 - YouTube . This video takes you through the installation process of installing Eclipse IDE. There is a cool addition to the program that helps you with "Hello World" as well. If you decide to use a different compiler here is the instructions from the Eclipse Program on how to create Hello World.





              Here is some advice:

  •         Don't be afraid to experiment
  •         Learn Commands (Be the Java Dictionary!
  •         Brute Force is a solution
    • If you need to do it line by line, command by command and feed the program. 
  •          Use editor notes  command //
    • Nothing hurts more than a late night programming session and waking up in the morning and trying to figure out how or what you were programming.
  •        Have fun!


Resources

What is Object-Oriented Programming (OOP)?. (2022). Retrieved 30 June 2022, from https://www.techtarget.com/searchapparchitecture/definition/object-oriented-programming-OOP#:~:text=Object%2Doriented%20programming%20(OOP)%20is%20a%20computer%20programming%20model,has%20unique%20attributes%20and%20behavior.

Friday, April 2, 2021

The evolution of cell phones

   The evolution of computers brought microchips. Moore's Law says transistors will get exponentially smaller every two years. Computer's used to take up a whole room. Now, they fill in your pocket, glasses, etc.. Cell phones are more powerful than the rocket that went to the moon. 5G brought faster bandwidth which means more data can be transferred to person. 4G brought us Uber, Door Dash, Pay POS stations with cell phone. Doctors will be able to supposedly be able to perform surgery from across the world with 5G connection. You can visit a concert virtually. Maybe even pay extra for that virtual front row seat.

Cell phones use operating systems just like personal computers. There are a bunch of  operating systems : android, iOS, windows mobile OS and other small ones like blackberry (learn2g,2019). I preferred windows OS , and I was apart of the 3% of the population that had that phone(learn2g, 2019). Android uses Linux which is a open source, ease of control operating system. Linux allows complete control over the phone. This much powers allows easier accessibility to hackers, and invasion. iOS is built with MacOS in mind. It is pretty much operating a computer with a blocker. I suggest iOS to older people. I tell them "You don't have to worry about losing control or anything with iOS. If you read before clicking go, yes, allow then you will be good." Even formatting a phone isn't as bad as before. iOS offers cloud storage which will store an image of the phone on apples server. They can both run programs and usually share the same programs  on the play store, and app store (built for each operating system in mind). 

Cell phones have a lot of potential for allowing everyone into technology. Block Programming is very similar to how you operate Siri, or Ok Google. Once you realize which commands (object,command, variable) work on Siri you can form complex sentences to make a command work (line of programming). I love using the assistant. Sometimes it will mess up or translate something wrong but it has been a huge improvement since the days of DragonSpeak (talk to text program).

 Being apart of the cell phone industry opened my eyes. The competitiveness is there. Companies produce different promotions, offer more services in their eco system, selective hiring, cut throat pricing. There is an order of operations like math when dealing with cell phones. You have to become one with the way cell phones work. For instance, if you port a number on iPhone. You want to do it after installing iOS. If you do it before it can cause an error when the other phone can't approve of the new phone.

I think with 5G we will be online for everything. Anything you can think of will be online. We will have currencies that are dedicated to your online presence. I believe first world countries will be able to make money staying idle. I don't think its healthy, but I think it will be done. You can already buy crypto currency on your cell phone (Royal, 2021). I believe with 5G you will be able to stream the mining process.  I hope the future is as technical I believe. One thing is for sure you can never underestimate technology.



 References

Poetker, B. (n.d.). The mobile operating systems that matter in 2020 (+Effects ON DEVELOPMENT). Retrieved April 02, 2021, from https://learn.g2.com/mobile-operating-systems

James Royal, P. (2021, March 23). What is Cryptocurrency? Beginners guide to digital cash. Retrieved April 02, 2021, from https://www.nerdwallet.com/article/investing/cryptocurrency-7-things-to-know#:~:text=A%20cryptocurrency%20(or%20%E2%80%9Ccrypto%E2%80%9D,at%20times%20driving%20prices%20skyward.


Tuesday, March 30, 2021

Network security

 Pinging a server or computer does not do much damage. It pretty much is the basic calling out someone’s name and them looking at you. That is about how much computing power it takes. However, imagine if you were in a small room filled with people and they were all shouting your name. That can cause quite a confusion for a person. How does a computer handle it? Well, it depends. It responds to each shout as fast as it can (Imperiva, 2020). If there is a bunch it can cause network congestion (small room) with multiple different responses (multiple people) in a short amount of time (Impervia, 2020). This type of attack usually happens over long periods of time (Impervia, 2020) and over multiple ping requests from a bunch of computers (Impervia, 2020). This can bring down at least the computer, at most the network it is operating on. A passionate company and be brought down to its knees. Microsoft has been victim of network manipulation multiple times (Microsoft, 2021). Script kiddies or hackers usually do it for the laughs or for social statements. Microsoft reported Anonymous released a statement on attacking Live Servers earlier this year (Microsoft, 2020). The reason why computers are vulnerable is because of how networking works. You cannot hide behind a door on a network. You sort of can, but not really. If you want to communicate to the outside world, you have obligations to fulfil. There are things like firewalls or VPNS which allow you to circumvent the system, but if your original IP is found out. It can still be pinged to death.

 

            Social Engineering is popular. My T-Mobile store gets hit multiple times a week by people pretending to be IT. They usually want you to give remote access or personal information over the phone. They speak in double speak and don’t give much detail. For instance, “Was your call over email access for account jsmith1 resolved last week?” turns into “Was your technical issue resolved last week?” It is annoying and shows humanity at its worst. These people are after social security numbers, phone numbers, address, anything really (Indusface, 2021). Most of the time, I answer with a quick “yes it was resolved and reviewed.” They sometimes get pushy but most of the time they will just hang up. Some of my classmates work in the health industry. I imagine that data is highly sought after. I am sure he has worse stories than phone calls. He probably gets people in person claiming to be IT. It just happens to be the necessities of a digital world.

Computers in the work place...

       I work at T-Mobile. There is a lot of method to the madness when it comes to getting a new cell phone. A sales agent theoretically get %100 of your data over to phone about 97.5% of the time. It should also take no more than 20 minutes (depending on data). You know your agent is good at his job when he appreciates the procedure and does everything according to the process. For instance, you don't want to port the number til last. This is because the old iphone might need to verify your new phone. Once you port the number, your old phone can't verify in most cases. Going from iPhone to android is easy, however android to iphone needs more love from apple. Move to iOS app hardly works and takes a long time. I suggest staying in the same echo system for as long as possible. My forecast is hopeful but I think transfer between iOS <-> Android will be easier. Everything seems to be streamlined on mobile devices and everything updates to the second. I think mobile experts need to be champions of at least one operating system (iOS or Android). They also needs to master the procedure of telecommuncation companies. As a t-mobile rep, its just as important for me to learn verizon procedure (for instance do they need their account active to get reasonable help?) as a new hire for verizon. I hope this gives you a little insight to the mobile sales rep day. Please feel free to ask questions.

Pinging and tracert.


"I was able to ping google.com, complexity.gg, and ashford.edu. I ran into a problem with tracert. I think its because I actually have T-Mobile Home Wireless Internet.  The internet is just a router given access to the cellular data network by T-Mobile. It actually has a SIM card and appears on my bill with a data usuage. It is not a third party Hughes Net. It was a perk at work and very affordable. I think the reason why mine glitched out is because the tracert routes would be towers or satellite IP addresses. If anyone knew those than they could target t-mobile. I know this is an issue because we actually get target calls at work. I also think that is it because PING worked, and the internet worked as well. It could be a firewall or permissions thing but I don't think so. If it is then I could theoretically change it if I logged into the router. I did open ports for my halo. I don't remember seeing anything about permissions to tracert. Also the tracert worked for two hops. I believe one is the computer and the next hop is the router. Then the rest are timed out."





 

Discord, not ZOOM.

     I use a gamer communication app called Discord. You create an account that can go into any server you get linked to. The first picture I will use shows two things. The left chat displays all the servers I am apart of. The right displays all the chatrooms for that server. The channels use hashtag feature. There also chat channels if you need them. The circles on the left are all the servers I have joined. The small blip means there are new messages in that server that I haven't read yet. Each channel follows certain rules for most discord channels. For instance #gamertags isn't for chatting. Its just a directory for gamer tags.




Chat rooms look like this. You can see someone getting tagged which notifies the person mentioned. Slowmode is enabled so there wont be much spam. This channel happens to be #formal, so its a place for formalities. All team related stuff is posted in this channel. The user names are just for this server. For instance, my account has its own name that I can give nick names for each discord server I am on. This is great for privacy and trying to keep a coherent username to each theme of the discord. 

 If you pay for nitro plus you can share emojis from other servers. Some people will just join a server for its emojis. These are usually graphic designer based discords that are popular.



This is the account profile page. It has options like two factor authentication, notifications, text and images. Along the bottom is (discord aka servers), friend and private messages, search, mentions, and your profile. You can subscribe to Discord nitro, and boost servers. Boosting servers allows the members to use more bandwith with graphics, streams, icons etc.  Its great option for the servers that want to build a community and invest in options.

 

This is my favorite app, and lets me get in touch with people from all around the world. Thank you for reading.

 

Apparently it isn't just my favorite app. Microsoft is in talks to buy the company out for $10bln. Microsoft is my favorite company so I am ok with it. I think Discord has the best layout for gamers and it is fun to use. It makes the world a little bit smaller.

https://www.straitstimes.com/tech/tech-news/microsofts-us10b-plan-to-buy-discord-why-the-fuss-over-a-chat-app-for-video-games

 

FINAL INTERACTIVE ASSIGNMENT FOR CPT 307

 Data has been revolutionalized with the creation of computers.It is important as ever for science, business, technology, medicine. Some sci...