Friday, September 26, 2014

Oh sandwich cake, oh sandwich cake...

...How much I love thee sandwich cake!


Aww yiss! Sandwich cake and monay! Can life get aby better bro? Nah it can't! I'm a rich bitch!

Seriously though:
I know this is a blog mainly for Java and my antics revolving that, but today, I made a sandwich cake as a good bye meal. I am now enjoying the leftovers as I count the last money I have. It's really not as glamorous as it seems; yesterday was pay day, and that's pretty much all the money we (yes, we're two people living on this) have to spare the coming month. And by "to spare", I of course mean "will have to put into the food account" since I made a sandwich cake.

The money on the picture is less than what it cost to make the cake. 
So much for being rich...

The cake really was a luxury. But I thought it was a funny contrast on the pic. A picture says more than a thousand words, but in this case it's a thousand lies. It isn't cheap to be a student after all.


WTF is a Sandwich cake?

And for those of you who wonder what a sandwich cake is, it's exactly what it sounds like; a cake made out of sandwiches and sandwich-toppings and whatever you want really. There are as many versions of sandwich cake as there are grandmothers in Sweden. So if you ever go to Sweden. Have sandwich cake. It's better than any smörgåsbord, I promise you that!

But I warn you; once you've had it, you won't be able to be without it.

Wednesday, September 24, 2014

Sooo tired...

Today I've been coding all day straight. I'm so tired I just can't understand what I'm reading any more. But my program is done.

I can't say I'm too happy with it though; too much static, too little object. I blame my roots in C++!

I will take all the criticism I can get tomorrow. Next program will be much better!

Tuesday, September 23, 2014

Wow I feel stupid now!

I've spent all weekend trying to figure out how to solve an issue in the program I've been working on for two weeks now... And on the first student presentation of the programs my classmates have been working on, I figure it all out. I felt so stupid when I realized how simple it was. So it turned out to be a very useful day despite the fact that I've spent most of it derping around with ArrayLists, Lists and Arrays, printing in different ways. At least I know I will be done with my program by tomorrow night.

It's been a very fun day today so far. I can't wait to get home and keep coding in peace. (Sadly I get a bit distracted coding in class, since I actually am listening)

And I'll try to not make this happen:


But until the program's done I'll tell myself this:


Gotta stay humble.

Sunday, September 21, 2014

The immutable drama of map

Gently, gently, he moved his fingers over all her buttons.
- "Before I commit," he says "I have to mutate you".
Map fidgeted a bit.
- "But you know, darling, that I'm immutable. The source code says..."
He interrupts her.
- "To hell with the source code, I need this now!"
He passionately holds on to her whole body, moving his fingers faster. She squirms a bit and sighs;
- "I-if you want to mutate, p-please be gentle!"
He gives it all he's got. M, K, and he commits to her whole repository!
- "I SAID BE CAREFUL! THAT HURT! Dammit why didn't you SetFromMap! I trusted you!".
She escapes his grasps as the application crashes.
- "DAMNIT!" says the the programmer.


Don't ask me what I'm doing. I was just reading the source-code.

Friday, September 19, 2014

The golden rule

The second week of programming I made my own list of rules;

1. Make it work. (Få det att fungera)
2. Make it awesome. (Briljera)

I was quite amused that the Java guru I saw monday had pretty much the same expression: "Make it work. Make it better."

I've been chanting my order of creation to my classmates all the time. It's a good method to work by, which is why I'm not very surprised to find that a Java Guru is using it as well.

Thursday, September 18, 2014

LinkedIn

Sooo... While working on my assignment... (which is similar to this subject, don't ask how) I remembered my empty LinkedIn profile. As vacant as my heart (and wallet) used to be as an unemployed (well, it still kinda is; since I'm studying, I have even less money now).

Straight to the point

 AHEM! So, now that I am on my way to actually becoming something, I figured; why not  try to actually connect with people? I only have less than 1½ year to network before I need to be out on LIA (It means "Learning By Working" but I'm gonna leave the acronym as "Learning In Action"). And I'm quite looking forward to the LIA part especially, so I really want to have done my groundwork and find the company for me, working with what I'm both good at and find fun. I don't even know where to start right now as I don't even know what part of programming I will be good at, or even what kinds of fields there are, but I'm working on it.

If it's something I've learned during my life, it's this.

So in the mean time, feel free to connect with me on LinkedIn and give me tips on what fields there are to program within Java so I can broaden my research.

Now, back to my project~

This week, just wow..!

This week, no day turned out as I had planned. Monday took a very nice turn of events; after mentioned shower I was invited last minute to go watch a seminar on Java 8 in Jönköping. Best. Decision. Ever. I already love it! It was incredibly interesting and despite that I've only been programming Java for 3 weeks I could follow along with everything he said. The second part of the lecture was a little bit more advanced, but still 100% understandable. And I had 4 wonderful classmates with me to hang out and discuss it as well. Best Monday indeed!

Though all my plans for Monday - including the program I was intending to make and the trip to the store. I couldn't have made it even if I wanted to as we came back at midnight.

Tuesday, fun fun fun! But boy was I too tired to even think about shopping, and I did program in school so I fulfilled that part of my challenge. I also initiated a new project that's due on Tuesday. Fun!

Wednesday, I don't know what happened there. I got up and suddenly it was afternoon (coding does that to you) and time to go shop. While in the shop, I meet up with the only person more talk-active than my little sister, whom monologued with me for 2h. My less than one hour shopping trip took near 3. All I had time to do was cook dinner and go to bed.

This morning, I did wake up early, prepared my lunch box and had breakfast, only to still leave late for the train... And at the platform, as the train arrives I see before myself the commuting pass still laying right next to the computer station on my desk, right next to my lunch box and breakfast-break sandwich. Fudge-cakes with extra cream.

Good thing I have school today. Any other activity and my day would have been ruined. At least I have school now ♥

Monday, September 15, 2014

Good Monday

The milk and yoghurt both expired two days ago, all I have to eat is a bar of chocolate. I fell asleep last night with a great idea to implement in my program, but now I don't know where to start. I need to go shop, but no breakfast, no energy to go do that either.

Life is a little meh at the moment. I think I'll wake myself up with a shower.

Sunday, September 14, 2014

Keeping up the good work

I didn't make an all new program today, instead I spent 3 hours (thus far today) working on an existing project, and I can't help but to wonder if I'm making the program unnecessarily complex. Looking at the interface intro class' code it looks like that method is way simpler. But I need to read up more on it to be able to construct something like that atm.

So, I haven't posted any memes in a few days now so I thought I'd treat you to my thoughts on this meme:
School only gives us the tools and tell us how they work, we're the one's who are supposed to figure out what to build. How else are we gonna manage working?

It probably sounds harsh for the ones struggling, especially from a n00b like me, but that's how it works. It's hard. I will probably also think it's hard, but that's how we excel and teach ourselves what to do in the future.

Saturday, September 13, 2014

Write a program a day challenge!

So I did a tiny update on the looks of the blog today, just to get rid of all the standard blog stuff. Some day I might get the thumb out of my arse and make my own layout... But for now; meh.

The background picture is indeed a functional java program. Just a little something I whipped together as a part of a challenge I was thinking of doing:

the "Write a program a day!"-challenge!

I find that just reading about programming every day isn't enough, so I'm gonna challenge myself to write a small program every day. I was thinking of something that takes about an hour to put together, but there's no time limit on it; if I feel like doing something that takes all day, I'm free to.

Would anyone care to join me?

There's no requirement to show what you make, it's more of a personal challenge where you just code to get the code through your fingers into the spine. It can be anything, however simple or complex you feel like; no-one's gonna judge you.

Comparable

So my teacher told me to look up comparable, which I've done and I've gotten this amazing "aha" moment where the more I read about comparable, the more I think it's exactly what I want for the assignment I'm working on.

I'm still on the theory stage, but it looks like it will work.

I will get back to you about it later. But that's pretty much what I'm up to atm. That, and laundry.

Thursday, September 11, 2014

Smiling

To me, programming is like a puzzle. A lego puzzle where you decide the motif. It's logical, it makes sense and there's so much to do with it. It tickles my mind that wants to absorb information, it tickles my logical thinking, and it tickles my imagination. I love it. It can eat me whole, consume all my time and I'll be happy.

I love falling asleep letting possible code structures running through my head. I love finding the next tool that'll let me do what I want. I love that "aha" moment when things just click. It's fun to read other people's code and figure out what it means. It's getting easier and easier, even with methods and tools I have yet to learn about.

When my teacher says that FX is more advanced than swing, a sparkle is born in my eyes and I instantly get consumed with curiosity of what it means, in what way is it more advanced? What can it do? I can't wait know!

The decision to start learning Java feels more and more like "fate". This is what I'm supposed to do, what have I been doing before this? Stupid me!

I hope this feeling will last.

Last night I fell asleep after the words "I wonder who'll hire me" and for the first time in my 5 year long unemployment life, it was a positive question full of future and expectation, not the old usual "will any one ever want me?".

I fell asleep smiling.

Tuesday, September 9, 2014

Free loot!

Today, not only did we dig deeper into arrays, we got a free computer bag from the school!


Which actually turned out to be of pretty high quality and stylish (I love the colours of my school).


Needless to say I was actually pretty happy! It's just what I need! And it's padded for safe laptop storage.

Since I've been digging down into arrays this passed week I had a lot of spare time during class and recess, which I spent helping out some classmates. It's nice to be of help and explaining things to people help in my learning too, so it's a win-win.

And who knows, next time it might be me who's in need of the help..? The feel in the class is really nice. It's full of kind, social, and helpful people.  It feels like we can be a good team in helping each other excel. I feel pumped for the following 2 years.



Sunday, September 7, 2014

Mini laptop

Right now I'm dreaming about one of those really tiny laptops. Just something to type code on, run netbeans and sourcetree while I'm lazying in the sofa. Not that I own a sofa atm... but a tiny little portable thing. In comparison, my normal laptop feels a bit big.

Now, I don't have the funds for it and I don't need it, it's probably the same kinda thing as I imagine normal girls feel when they wanna shop online for shoes.

Apart from that, I've been watching Sword Art Online while I've been reading up on that program I've been fibbling with since Thursday. I'm almost considering doing another program in the meantime. Something small and quick.

Oh well.

Saturday, September 6, 2014

Good morning saturday!


I have some prior coding experience with HTML, CSS and C++, the last one being kinda very minor and I haven't used it since I took the course. So when you face the code for the first time, not even knowing what IDE to download or even that you need a JVM, you really feel like a monkey behind the screen.

However, time to start the monkey-coding! (or spaghetti code, for his noodly appendage's sake)

I'm still trying to just read through the books and some tutorials and oracle... I can't say I've gotten very far, but my ideas are flowing out of me at the moment.


Right now I'm trying to work on a program using the arrays created upon start-up. I'm toying with what I can do with that information. What I want to do, what woke me up this morning, I don't even know if it's possible, but it's gonna be fun to find out.

And for those of you who lack self-discipline in studying and working outside of the classroom:






With programming, the self-study never ends! You need to think this is fun enough to more or less do 24/7. You do? Great! Let's get down to business!

Hello world!

Last week I began my new education, which is - of course - programming in the Java. I am still but a n00b and I know near nothing, but I'm having fun and my mission for the coming 2 years is to live and breathe programming.

So far I love my schedule, I love my classmates and I love my choice. I dream of coding and I wake up early because "time to try that!".

I am not a native English speaker so some jokes in this blog will be in Swedish with English translations, like so:
*pulla is swinglish for pull, but it also mean to finger someone*
Pulla in the tree? How else could I pull a commit from source tree?
Which also illustrates my bad and naughty humour. I apologize in advance.

This blog is not PG13,
(but it's not adults only either)