Intro to DevOps

--Originally published at How to HACK or not

This is a post about me giving you an introduction to DevOps, but for this I had to learn myself what DevOps mean. First I would like to say what I think of DevOps before I read anything, only pure experience and casual discussions about this with colleagues and friends.

DevOps sounds like development operations, which is operaciones de desarrollo in Spanish (it’s easier for me if I translate first). With this in mind, I would say that a devOps developer would be in charge of creating a flow system for all the tools and stuff the system could need, this is from servers to deployment but nothing to do in the code of the project in particular. I mean, he or she will establish the environment for the -for example- a web developer may be able to work and deploy all changes he or she make. Something like that.

Okay, now the definition I found on the post my professor recommended us (What is DevOps?) says a lot, a lot of DevOps and finding a single definition is so hard that I just kept the one the author gives first:

DevOps is the practice of operations and development engineers participating together in the entire service lifecycle, from design through the development process to production support.

So I am right in one thing, DevOps involves all the process, actually is kinda a process by what I understood, also it talks more about the environment where the project will be developed and not the system itself. Also, there were given other points I think are useful to “fully” understand what this methodology is.

  • Infrastructure Automation – create your systems, OS configs, and app deployments as code.
  • Continuous Delivery – build, test, deploy your apps in a fast and automated manner.
  • Site Continue reading "Intro to DevOps"

Weekly plan #7

--Originally published at How to HACK or not

This week the plan is to finish the mockups along with the functional requirements.

With this we expect to end the week with a demo presentation about how the system should work using the mockups and flow diagrams. Also, we expect to have some code this week, but not for the presentation purposes.

A week without the Tech giants.

--Originally published at How to HACK or not

Impossible. That’s the first thing it comes to my mind by reading the title of this blog entry. But, is it really impossible? This week in class we learned it is not, but this will come with a lot of problems (unless you live in a small town with no access to the internet as I used to do before I moved to the city for college).

First: who are these giants? Just read the next post and you will know, probably you don’t even need to leave this page.

“How 5 Tech Giants Make Their Billions…” …

Now you know who the top 5 are, ask yourself if you think you can live at least a week without them (I mean you obviously can live but you know what I mean). Maybe if you’re an apple user like me you could say the easiest ones to leave behind would be Amazon, Microsoft and Google; I gave this answer when I was asked. Next I will talk about what I thought would be my easiest order to leave them.

  1. Amazon. I said this was the easiest one, but did you know almost all the incomes amazon have is because of their cloud services? AWS hosts a loooot of content we use on internet so if we just “turn off” Amazon a lot of web pages would do the same.
  2. Microsoft. This was my second choice because as an apple user I don’t use much of their products, only Word, PowerPoint, Excel, OneDrive but I actually use sometimes the equivalents from Apple. The thing with Microsoft is that their services are more focused on companies, so it’s very probably that you be asked to used some product from Microsoft in your work, in mine we use Azure Web Services.
  3. Facebook. Facebook
    😀
    🙂
    Continue reading "A week without the Tech giants."

I’m not living in a smart city

--Originally published at How to HACK or not

Last week, we didn’t have a class because of our beautiful and not well followed constitution so we didn’t discuss any topic in class BUT I did went to work, school, meetings, parties, towns so I will talk about that, how the city I’m living is not that smart as a “Mexican silicon valley” should be.

The first thing is the lack of bridges or bridges in places that don’t have sense. I am talking about the bridges for pedestrians. I work in an office located in a very crowded avenue so it’s almost impossible to cross from one side to another unless you walk 500mts and try to cross in the crosswalk which activates the green line each 5minutes for 5 seconds so you may end up in the middle of the avenue. Why don’t you get off of your bus closer to your job you may ask, let me answer: I am lazy, obviously I’m taking the bus that leaves me the closest to my job which is in the other way of the avenue, well there’s another that may leave me at least in the same side as my job BUT if I want to take this bus I have to take another one to reach the place for that bus and I am not that smart taking buses.

Another thing that makes me believe my city ain’t smart is how they try to be smart but are too lazy to do it. The other day I went to Walmart and the made a big area for picking what you may buy online with a special zone, different colors, etc. But it wasn’t working, they had the place closed by yellow tapes like a crime scene. And the reason a get mad about this is because when

🐮
💩
Continue reading "I’m not living in a smart city"

Weekly review, week #4

--Originally published at How to HACK or not

Last week we focused on continue developing the requirements for our app. It is very important to have well defined our requirements, functional and non functional. Some points we have defined so far are

  • Development of an iOS app.
  • Native app developed using the Xcode tools.
  • Use of API’s for location services as google maps.
  • The design must be simple to the user with not many features but the ones that may cover the main functionality.
  • A Non-Relational database as MongoDB or FireBase.
  • The app must be available all the time.

Concerning the user interface we have opted for a simple as it can be design for the commodity of the user. We are still figuring out how the final design will look. We know what elements will our app have, but we still don’t know exactly how it will look.

We look like we are a little bit slow in the development, but this stage of the project is crucial for how the project will be developed later. We hope to have all well defined so no more changes be necessary later in the development.

How is it goin’, city

--Originally published at How to HACK or not

I missed the class for week three BUT I am good citizen, I think. Yeah, didn’t do a research about what my classmates studied in the class, but now I am available for everything they want to show me (don’t do an albur joke, please).

What I know we did (because I was there) was to getting together and plan how are we gonna deal with the data we collect from the users of the mobile app, they need to know they will share the info with us and have to agree in doing it, otherwise we would just be a new baby facebook.

So, we went to a meeting with our professor and discussed about that and… we didn’t reach a solution, but we were close. Actually while a was on my way to the meeting in the bus a realized we could do something like I was doing in that moment. Let me explain myself better, I am not a user of busses, I am new at this because of my new job, so I downloaded an app called Moovit which tells you how the public transport works in the city, THANK YOU.

Well, this app asks you if you want to a part of a world movement helping all the community to save the world by sharing your data and giving comments or feedback once in a while. I AM CLEARLY EXAGGERATING but it’s kinda true. They have like a forum where the users share their info and report of a problem with the app or the system or their lives. Anyway, I think that the simple fact of being part of a community that helps the others and the app recognize you for that is something good for you in exchange for giving the info, is Continue reading "How is it goin’, city"

The smart citizens we are

--Originally published at How to HACK or not

The title for this entry isn’t correct. I feel like I am not being a smart citizen, well more like a not smart student because I have been having trouble dealing with how I manage my time and tasks/homework/social life/relationship (HA! I don’t have one 😂😔). But here I am, doing my blog entry for the week 2 in our week 4 😀

Well, if I can recall well, in the second week we had our first meeting as a team for the final project. I knew all my team partners since ever (4 years) except for one: David. I liked the guy, he is nice and also is with me in another class, we noticed it after we made the team. I am also working with Gabo, my friend since first semester and one of the people I most trust in the world (for specific things, he is dumb in few aspect of his life) and Constanza, the girl I met in my 3rd semester and who never stops of amazing me, I love to work with her because of how she makes me push harder so she doesn’t go in front of me. I love this guys.

Talking about the class, we decided we would do a mobile app for showing the users where the public bicycles of the city are located and also we take some data from their trips using them. With their permissions obviously.

So, Gabo is the only person with experience in mobile development, we decided to be iOS because Constanza and I hated android studio when we were partners int the mobile development class and had to make an android app. David is not an ISC so he hasn’t experience at all, but he is fine trying new things and we know he will Continue reading "The smart citizens we are"

Trying JUnit

--Originally published at How to HACK or not

Now, for the Software Quality and Testing class, we went into JUnit for unit testing in java. To try it out I followed a tutorial, more like a class, that was pretty nice, I’ll give you the link somewhere in the post so you can do it by yourself. The reason I am l¡hiding the link over there is to you to read some of my post. It will be short, I promise.

Okay, I begun with Eclipse, the IDE for developers, more like java developers. I have always liked to use this IDE since I was in my first semesters of college. Okay, Eclipse already have JUnit or you just install the plugin if not.

I tried JUnit before in my Architecture class, so this was more like a refresh of what JUnit is. Some useful concepts and tools are this:

  • JUnit promotes the idea of “first testing then coding”, which emphasizes on setting up the test data for a piece of code that can be tested first and then implemented. This approach is like “test a little, code a little, test a little, code a little.”
  • A Unit Test Case is a part of code, which ensures that another part of code (method) works as expected. To achieve the desired results quickly, a test framework is required. JUnit is a perfect unit test framework for Java programming language.
  • Fixtures is a fixed state of a set of objects used as a baseline for running tests.
  • A test suite bundles a few unit test cases and runs them together. In JUnit, both @RunWith and @Suite annotation are used to run the suite test.
  • Test runner is used for executing the test cases.
  • JUnit classes are important classes, used in writing and testing JUnits.

So, what I learned

Screen Shot 2019-02-06 at 00.05.05
Screen Shot 2019-02-06 at 00.06.09.png
Screen Shot 2019-02-06 at 00.07.25.png
Screen Shot 2019-02-06 at 00.10.15.png
Continue reading "Trying JUnit"

Second test

--Originally published at How to HACK or not

Okay, I have not wrote any blog entry since my first blog post explaining what this blog would be about. The topic is the same, Software quality and testing. Now it has been three or maybe four weeks since the course began and I have to say, I haven’t been so much into it. I mean, I like the course and the topic, but for personal reasons I haven’t giving my best trying to learn.

Don’t misunderstand me, I have not been doing research about the course, BUT I have been having work experience with related to this. True, I didn’t say that about me, I am currently working as a frontend developer and yes, you may think (I used to) that there is no testing or QA in fronted development, but oh my carrot, there is a lot of testing. Actually, when I’m about to finish a component for a web app or something we always joke saying “I finished the task, now I have to wait for Dara to say it is wrong” because it’s true, there’s always something the designer don’t like how it looks or how it feels and we know the importance of user experience, so we always have in mind those little corrections we know we will have to do. So yeah, there is a lot of QA in frontend development.

In rare cases the page is approved without corrections and then it’s like:

giphy-1

Well, keeping with what the class has been for me, I have missed some of them, hope it doesn’t make me miss the semester 😬. Agh, hate that I get distracted by my thoughts so easily. Okay, in the class we have worked about our final project, I don’t know if I discussed it already but you can see what’s it

🙂
Continue reading "Second test"

Personal experience in Smart Cities

--Originally published at How to HACK or not

Hello, there. This is my introduction to a new category, also for my Smart Cities class, but in this one I will be talking in singular, just about me and how I feel on it, my experience with the class, pues. (It’s from norteños ending and explanation with “pues”).

Anyways, this course begun 2 classes ago and what can I say about it. First I have to say that in all my career I have never been in a class with the majority of my friends, it is awesome to share the class with them and furthermore be 1 team (that later become 2 bc it was to big 🙄). Second: the professor, well, it’s Ken, everyone loves Ken, he was the first professor I toke a software related class with (fundamentals of programming).

In the first class he asked what we believe the course was about, and not it is not about smart cities, it is about how to build a smart city. That’s all. The second class was about planning our project which is in our team blog post The beginning and Weekly Plan #1 Smart Cities. Go and check them out. Peace.