Multithreading is not always best solution

I’ve had a problem where I’ve needed to clean some stuff from files and then upload them to the server. Cleaning part was fast, for more than a hundred of files (2 GB in size) it took less than a minute. Problem was with upload. It took several hours. So, I’ve thought, let’s try doing it in parallel. I’ll launch upload on so many threads as I have, and my workstation has a Xeon, it should help.

Read More

Sometimes you need to hack it (MT and memoQ)

memoQ is great product, I’m saying it a lot. But some features need a bit polishing and one of them is support for Machine Translation (MT). It’s done through series of plugins. I’ve just used two so far. Pseudo-translation which is fine, but limited. Although they’ve enhanced it in Adriatic version. Second plugin is for Google Translate. There’s not much in terms of configuration, you set the API key, can specify regex which matches will be ignored in MT process, and enable option to put the tags from source at the end of the translation.

Read More

Don't oversell

Overselling happens when you have a server which can handle 10 users, but you’re selling it to 15, because you assume they’ll not utilize all resources assigned to them. Or that you’ll manage to add more resources before users would start using them fully. It’s the most broken assumption in tech industry which almost never works, drives customers mad and ruins your brand. And that’s exactly what’s happened to me recently.

Read More

Hugo isn't there, yet

I’m currently using JekyllRB for my blog which maybe isn’t bad, but I don’t like it much just because I don’t like Ruby. I’m running site generation form Docker container, because I’m not allowing Ruby anywhere on my box. So I wanted to try Hugo. It’s written in Go which I know and kind of like, and it’s much faster. Speed isn’t maybe main factor for me as Jekyll is fast enough for my needs, but Hugo just feels better.

Read More

In the Beginning...was the Command Line

That’s the title of great essay written by Neal Stephenson, so I’m lending it for my post. I was always the kind of guy who wanted the newest hardware, the latest software, the shinier GUI the better. Then I’ve started to do some proper engineering, and it’s changed my mind. I like the Chrome’s download manager, but whenever I need to download something heavy from unstable source or to quickly check what’s in the header I resolve to curl.

Read More

Client for memoQ server Web Service API

I work a lot with memoQ Server, great translation tool. It has awesome Web Service API which covers almost all aspects of the server. It lacks CAL license management which is annoying. But on the other hand, it extends some functionality (for instance pre-translation), so you can do more than with memoQ Client. And it’s API, so you can automate a lot with it. To make life easier for myself I’ve created series of Python packages which serve as a client to this API.

Read More

Search TMs on memoQ server

Working in localization industry involves a lot of searches in the TM (Translation Memory), or TMs even. I was saying many times that memoQ is great tool, both client and server products. But what I find limiting is ability to search through TMs. You have an app for that, but it’s not very pleasant to use. Fortunately memoQ provides server Resources API. Unfortunately its basic functions allow you to search TMs with the same limitations as their client app.

Read More

You never know when some knowledge will be useful

I’m a big fan of learning. Can’t stand a day without learning new thing, and can’t stand people who are not learning either. Recently I was reading Black Hat Python, it’s a great book, I truly recommend it. Even such noob like myself could figure out the stuff described there, it’s just brilliant. Anyways. I was reading it for fun, and maybe to use it for my private projects sometime. Never really though that I could use it in my work.

Read More

Want to be efficient go with the API (memoQ and TMX)

Recently I was posed with the task of backing up Translation Memories (TMs) from memoQ server into TMX format. You can of course do it from memoQ desktop client, however taking into account number of TMs we have it would mean at least 400 clicks every time backup is needed. It would be quite a dull task and as a human being you can always miss one or two TMs in the process, and you don’t want that.

Read More

The book was better (Godfather)

I know that guys who say that book was better than the movie are annoying, but today I’ll be such guy. I’ve seen Godfather some time ago, and I didn’t like it. Because of that I had no interest in the book. But recently one of my favorite actors recorded audiobook where he’s reading this novel, so I’ve decided to give it a try. And I was amazed. This book is brilliant.

Read More