Showing posts with label School. Show all posts
Showing posts with label School. Show all posts

Thursday, 20 February 2014

Documents and stuff

Again a good text from the 750words experimentation. Remember that these are more like brain dumps than actually researched and thought texts:

Well, this day was almost gone until I remembered that hey, I still have the daily 750 words undone!

The school today was awesome for once. It seems I'm doing the IM-project I've babbled about everywhere for the project-classes, which means I have to really put my hours to a book. I resist the "use excel for bookkeeping of hours" - clause of our instructions though. .xsl(x) is a stupid format in Windows, and completely useless in the real world. Currently I do the bookkeeping as a series of Clojure maps, with keys like when, count of hours, and what did I do. I think the git could provide the when and what is done - values, but it is useless in keeping track of the hours used. I think there exist real apps for tracking the used time per project, but since the school is too lazy to propose anything better than Excel, I'm also too lazy to experiment with stuff that is not guaranteed to be better than Clojure.

If I am allowed rant more about the office formats, I want to express my utter dismay about the state of the document-producing software of ours. First: MS Word is... well, if the document is expected to follow formal standard, then it is a nice tool, although producing software with strict, formal standard is dumb. For producing somewhat informal text that doesn't look like it is done by agitated baboon it is horrible. For that I use Emacs. Today I translated and edited the first IM-blogpost into a "starting report of the project" by writing finnish into an org file in my blogging folder, and then let the Emacs export it into something that doesn't yield "WTF is this format?" - responses. I hoped the odt would be enough, since at least in the Emacs of my mac the creation of pdfs is somewhat challenged, and producing docx:s from anything usable is not a walk in a park. Of course the response was "can't you... export it to pdf or something from that linux of yours?"!

Yeah, hold on a second, I'll just brick this macbook with a fresh install of fedora or something...

I spent ten minutes trying to get the latex->pdf - exportation working, and after failing that, opened the exported odt in the Libreoffice Writer, the only thing worse in producing text documents than Word, and exported the document into pdf.

I think the project document was accepted, and now I'm rewarded with credits for working on this thing! I have yet to check the official site where these projects are hosted, but at least I received no complaints as a reply to my email where I attached the report. I was also told the school could give me a hypothetical server in case the Heroku fails, but I am not really looking forward to that, since as far as I understand, they do not have too many public IP-addresses, and I am not absolutely certain I'm able to keep the security holes out of my code.

After giving my report I resumed hacking the server of this IM (which by the way needs a real name. I think the old MEsE is a stupid one, but this faceless "the IM-project" is also such.), and found out that the server doesn't correctly update the moment of the last call any time the client calls. This means that after five minutes from the logging in the client is officially timeouted with no way to reset the timeout. Let me tell you, the state will be the end of this world.

I should do designs of the client at some point. I've spoken of this project only as a better Skype without the VoIP, but that doesn't seem to be enough to convince some people about how awesome this project is, and neither does the fact that only thing I've got to show of it are some four blog posts and a screen full of Clojure. I have seen a few people that wanted to take part in this project if I switched the implementation language to something "sane", like the Java or C# we're being taught in the school, and in a general case I could do this (although assuring them the project will probably be doomed after it), but with this project I've actually tried them. The Java was lousy in the server side, and although the C# was somewhat verbose in the client side (compare XAML to s-exprs... :P), I could see me doing an alternative implementation of the client in C# sometime.

Thursday, 13 February 2014

~600 words on IMs and school

I have been doing 750words every morning this week, and now I have a text I feel could be published also here. It's not long, most of the rubbish I wrote in the original 750-entry has been edited away, but it has some interesting material concerning the yesterday's post. And I hope I'll publish more of them. The long text once in two months - method I've been doing here since discovering Yegge's blog hasn't been merciful on this blog, so I'll try to ape Swizec's way of writing shorter stuff at least weekly, and I'll try to wander outside the programming niche.

Last night I unveiled some new thoughts on this instant messenger - project I've been doing for a few years. I think the SMS is the best instant messaging technology we currently have, and I don't mean this as a compliment for those Nokia engineers who made this techonology two decades ago. I mean that as a compain to us fools who have had the microcomputers for three decades now, and the best thing for communicating with them is the IRC. Five years ago we also had the Live Messenger, which was barely better than writing SMSs alongside the coding, but the Microsoft killed the thing: first they created the Live Messenger 2011, which did have probably one improvement, but it also had dozens of stupid ideas, and the stupidest of them: after a year the thing was killed by Skype. Skype is somewhat usable as an AV-phone, but it is horrible with textual messaging.

From the mild attention I got (one, probably bot, more follower in twitter and one comment in the facebook) I can deduce this thing could gain some traction in the market. Unfortunately, if it gets, I really have to familiarize myself with the ad-networks, because I don't expect the free heroku-server to support more than five concurrent users. In the weird case I get the system to pay itself with the ads, I'll become one very happy panda (to utilize an odd metaphor). If the thing will generate revenue, I might also write clients for the three mobile platforms. There the ad-systems should be easier to implement than in the computer land, as would be getting the people to pay for the clients.

This project might also be applicable in the school. We have these weird classes known as the project classes, where us students are expected to come up with an idea (since we're too inexperienced to implement existing ideas for the local software companies, or something) and implement it. I think most of us will do some game or another, but since I'm not currently in the mood for developing such things, I'll try to get the yesterday's blog post accepted as a design for my first project. The only problem is: the projects are supposed to be done in groups with two or more people, and I'm actually a little afraid of opening my mouth on stuff that actually matters. So trying to sell this idea to one or two other people is hard, even if I was implementing my IM on more traditional tech. I imagine Clojure looks like ancient greece to guys who barely have their feet wet with C#.

I just asked in the facebook if anyone actually would be interested in this project. Let's hope someone responds out of serious interest, not out of "Feuer is ..." for some stupid reason, if I may add, "... deemed to be a wizard in programming. Let's hope the wizardness overflows to me also!" - feeling. For some reason the two (or three? or four?) people who I am certain would have any valid input (in either designing and programming sense) for this project don't even live in the Kymenlaakso.