Mar 09 2012

Anyone can be a programmer!

Tag: Misc,My LifeInsaneLampshade @ 1:15am

So I recently spent the past 3 weeks creating a program from scratch in Java with no prior knowledge, reading no books on the subject, and no tutorials:

https://code.google.com/p/winebrewdb/

It all came about because keeping a record of the homebrew wine I occasionally make somewhat outgrew the spreadsheet it was originally kept in. Cue a search of the internet looking for a proper program that does the same thing, records brews, notes, recipe’s, pictures, has various calculators and info. All I could find at the time was a couple of outdated websites that looked like they were made in the 90′s, a few programs for storing homebrew beer data (doesn’t quite fit the needs of wine brewers… different processes), and a rather large and expensive program for more professional vineyards/winery’s, which was somewhat overkill for my needs (I did later find BrewTrax which is basically what I ended up writing a very simple version of, but more on that later).

So failing to find an appropriate bit of software at the time and definitely needing one, I fired up Eclipse and thought “how hard can it be?”… turns out, not very! If you want to learn programming don’t bother reading anything, just have a project with an end goal and then just start. First problem was obviously “how do I make a window?”, google it, insert result into your program. Next problem; “how do I add some buttons/text to that window?”, again google it, insert result into program. That’s where I was when I had that (lol):

…a very Java looking application with a rough idea of the buttons I wanted and zero functionality. Next problem then; “how do I make the buttons do stuff?”, google again, use result. And so on, how do I store data in a database, how do I retrieve data etc. etc. Just keep furiously googling everything until you have a working program that does all you need! Then once you’re at that point you just have to make it look pretty and fix all the bugs (there will be bugs, there are always bugs), et voilà:

An entire perfectly working (minus 2 cosmetic bugs that I have no idea how to fix) open source program that doesn’t look like poo and does exactly what I need it to without any bloat (even works on linux and mac)! Made as I said above, with no prior knowledge, no books, no tutorials, just a whole lot of googling! All in the space of 3 weeks too, god knows how long it would have taken to get that done in an actual office environment with professional qualified programmers… even simple things like a text change can take weeks in some companies I’ve worked, lol.

As for that BrewTrax thing I mentioned earlier, it pretty much is a far more complex version of what I made. I paid for it because I wanted to check it out, and on paper it sounds great, but in practise it was far more effort to use than I cared for. Not to mention if what seems like half of the application is taken up by menu’s and toolbars then something’s gone horribly wrong. See below (green highlighted bits are the bits of the program that aren’t menu/toolbar):

I could list the other silly design decisions (no search function, only endless “filters” for example), but then it’d just turn into a long winded rant, lol. So back to the original point of my post…

You don’t need to be a programmer to make a program!

Anybody can do it with a bit of googling. Now if only drawing ability could be acquired through a quick google! :(

 

Edit: On further playing with BrewTrax it’s not too bad once you change the layout, pick what columns you want, set your filters and then hide the filter box. Still could do with smaller icons/padding though. And it seems there *is* a search function, just not particularly obvious at first, lol. Now if only it had more users so that their live data thing and online recipe’s etc. had more use.


Mar 05 2012

Bye Bye BPI

Tag: Misc,MusicInsaneLampshade @ 2:23am

This is quite possibly the most intelligent thing I’ve ever heard from a rap artist. Every single word he speaks is the truth (even includes Stephen Fry!).


Oct 18 2011

Polar truths

Tag: MiscInsaneLampshade @ 0:42am

In order of importance of course! :)

  • Cats > Dogs
  • Tea > Coffee
  • Kirino > Kuroneko
  • iOS > Android > Blackberry > Windows Phone
  • Straight hair > Curly hair
  • Windows > Linux > Mac
  • Unrolling from the front toilet paper > unrolling from the back
  • Nvidia > ATI
  • Intel > AMD
  • Inami > Poplar
  • Skirt > Hotpants
  • Milk in after brewing tea > Milk in before brewing tea
  • Radio 2 > Radio 1
  • Ale > Lager
  • 360 > PS3
  • Special K > Cornflakes
  • PG Tips > Tetley
  • Pool > Snooker
  • Minori > Taiga

Aug 22 2011

Still alive!

Tag: Misc,Site NewsInsaneLampshade @ 23:26pm

I will do something here at some point…


Feb 01 2011

Minecraft~

Tag: MiscInsaneLampshade @ 21:53pm

*blows cobwebs away from site*

…soooo, Minecraft anyone? I’m sure everyone knows about Minecraft by now (if not, where have you been the past year?!)… to sum up; multiplayer lego with monsters, circuits, fun stuffTM, and cake (or just watch the zero punctuation review, lol).

Anyway, the server that’s been running on my machine with a grand total of 3 players has been going for 3 months now, and we have achieved… well… we’ve moved some blocks around, dug some holes, and made some towers. As you can see below:


It’s a very odd game, there’s really no point to it. Why did I build a bunch of secret things that no-one else is ever likely to find (especially with only 2 other players, lol); in the hope that some bright spark may one day find them on their own, that there’s some sort of legacy i’ve left on this imaginary world, or simply because it was amusing to build? But then you expand that and realise there’s really no point to anything; why write a novel/poem that either only you will ever read or only you will ever know the true meaning of?

…and in a roundabout way what I really mean is, the server needs more than 3 players, ask if you want to login to it. :)

   

(I realised halfway through this post that I’d somehow merged 2 posts together “Play Minecraft!!” and “Everything’s pointless, oh noes :o ”, and that the end result now is just a half finished post, lol fail :D

…on the plus side:

(January 2011 = the last 3 days of January 2011)

It works!! (…make that 3 posts merged into a half finished post now. ;) Or in maths terms: the loss of 83.33333etc% potential short term future content. Yeah, I should update here more. >_<)

)


Next Page »