The Sims 3 is (are???) coming!
That game is definitely on my wishlist!
And so is a new graphic card. My Radeon Xpress 200M doesn't seem to be on the list. And so is a new computer, as I only have two laptops (well, only,... ) and you can't add a graphic card to a laptop (can you?). And so is a new desk for that computer, with a flowery desktop like this one:
(But definitely with different legs.) And so is... nah, I'd better stop now.
30 January 2009
On my wishlist: the Sims 3!!!
20 January 2009
Making Silverlight do the work for me: fake software boxes
What I love about Silverlight is that it does a lot of work for me. An example: fake software boxes. Let's say you have some software to advertise: isn't this box appealing?
So, you can go to the graphics department and nicely ask for such a box. Or follow the tutorial. But what if you have dozens of products to advertise? The graphic people don't want to do that and neither do you. I believe there are some smart graphic editors that do macros or something like that, but there's yet one more way, illustrated by the diagram below:
Here's what I did yesterday working on a website to advertise my company's software:
- I took two plain pictures, one for the front and one for the side (this one can be a textblock).
- I placed them on the canvas and surrounded them with borders.
- I added a rectangle for the top.
- I applied transformations to obtain the pseudo-3d effect you can see above.
Okay, this is the place where I should put the code, but I did this at work, which means it's copyrighted to my company and I'd have to ask my boss for his permission, which I couldn't really do these days because he's too busy and now I'm leaving work for a week to focus on school. Sorry about that.
Furthermore, this can be done better (look again at the picture on the top):
- one can apply a matrix transform to give perspective (that thing where parallel lines all meet somewhere... mine don't)
- one can add a shadow (which I definitely should)
- one can make rounded corners like Microsoft's software boxes have
- one can add a reflection, since it's web 2.0 and every single software box is standing on a shiny surface, and Silverlight is great for that too!
Well, if anyone feels inspired and wants to make a re-usable software box control, I'm sure a lot of people would re-use it, so let me know if you do!
13 January 2009
Silverlight and localization
Lucky me! I got a new project: the new company's website. Such sites need to have two features:
- an impressive presentation layer
- a few languages versions
There are a few catches. First, there is no easy way to do that as in asp.net (there should be!). Microsoft published an article on localizing Silverlight applications and it's no fun to read. But, we're big boys, let's add our resources files by ourselves, rename them and stuff.
Second catch is coming: the constructor in the resourse.designer.cs file is protected instead of public. Two workarounds here:
- change it yourself everytime you modify the resource
- get a tool for that: Dmytro Kryvko’s Extended Strongly Typed Resource Generator 2.3
I don't know... you might have more luck than me. If you wanna localize, start with reading "Silverlight and International Thoughts". There's a fully detailed instruction on creating a localized application in 43 steps.
As much as I like Silverlight, localization is a nightmare and that disappoints me a lot, as it's something that's been done in asp.net already - I feel like reinventing the mouse wheel here!
11 January 2009
What's in my bag
It's a cool feminine tradition to post a picture of all that we carry around in our bags. Here's mine:
What do we have here?
- The MSI Wind pink laptop
- a mouse for the laptop
- a power cable for the laptop
- a 4 GB pendrive
- a bunch of cards
- train season ticket
- cell phone
- Tic-tacs
- hand cream
- a Microsoft book
- a comb
- a few random lipsticks
- Astor foundation
- a few random hair elastics
- a wallet
- an mp3 player
07 January 2009
Good news from Lifehacker
So the global economy is in trouble and the cold here is unbearable, but Lifehacker posted a bunch of good news recently:
Bruce Schneier is coming to Poland!
Bruce Schneier is coming to Poland! He'll be the keynote speaker at CONFidence 2009.
More info about the conference at 2009.confidence.org.pl.
03 January 2009
Update
So I haven't updated for a while... here's what I've been doing lately:
- celebrating Chritsmas with lots of family singing
- deciding to get married in April or May
- buying stuff for our new house
- handling wedding stuff
- writing my masters paper
- hosting a New Year's party
- getting rid of clutter
Most of that stuff is going/gone good, except that the cat vomited on my bridal magazines.
Coming next: back to work, learning Python, preparing for the 70-something exam... Enough to keep a girl busy, right?
23 December 2008
Big day that started bad
Today was a really big day for me: I decided to start writing my master thesis!
Here's how the title goes:
Displacement of smooth integers in short intervals and their applications in cryptography.Sounds great, doesn't it?
So. I found the papers with the stuff I needed to start and downloaded the LaTeX template. Didn't compile. Tried compiling a kinda "Hello, World!" document. Didn't compile. Switched computers. Didn't compile.
Started loading The Sims on one of the computers while fighting with MikTex 2.7 on the other one. The Sims would freeze while loading any lot. Started wondering really hard what was going on with the world.
The Sims were easier to fix. I downloaded Sims2Pack Clean Installer, that showed my add-ons by install date, with a red background if they were suspicious. I got them working after a few tries and build something like a dorm that was in fact an apartment lot. Some old guy moved to my so-called dorm, no girl did and the residents would stay in their bedrooms instead of enjoying the kitchen, study, tv room, swimming pool and other cool stuff I prepared for them. Still, doesn't beat the stupidity of the 51 NPCs that moved into that:

Fixing MikTex was harder. Actually, there was no fixing, but getting the 2.5 version from Daddy from two years ago and getting the required packages from some russian ftp server.
But, I wrote my name on the master thesis template, so I have officially started writing it today!
19 December 2008
Yet another programming language
I blogged about learning Java and C#, and here I am again, learning a new language again: Python.
They made me. At work. First, I was a bit mad: I'm learning Objective Caml at school, C# for the 70-536 exam, can my brain take much more?
But as soon as I tried it, I loved it for the easy syntax and operations on lists. It also supports supports multiple programming paradigms (primarily object oriented, imperative, and functional) - how cool is that?
15 December 2008
Silverlight: my app is up!
Yeah, finally! The website I was working on this summer is up (and featured on silverlight.net)! In Polish only, but my boss said we'll get it translated. For now, you can check out the cool animated tree menu and the HTML ovelay iframe that adjusts its height to you browser window (provided that your browser window is tall and you reaload the app) at bcp.softax.pl.
Oh, and did I mention I got engaged? Mmm, yeah, I did.
