Skip to main content

Fitness inspektor: Erpet Badminton

Erpet Golfcentrum sídlí na Smíchově kousínek od Vltavy. Jak je z názvu partné, badminton je jeden ze sportů, na který si můžete do zařízení zajít. Samotná hala má celkem pěkné - nejsem vůbec odborník - interní golfové hřiště plus trenažér. Bohužel my chodíme na badminton a tam je to trošku horší.

Komplikace už na začátku. S multisportem si sami nezajdete, Erpet neumí půlit cenu kurtu. Když máte kartu oba dva, je to ok. Pokud ji má pouze jen jeden, tak má smůlu, prostě oba zaplatíte penězi, protože částku vám nerozpůlí. Šatny jsou už docela staré, sprchy ještě o dekádu horší. V tomto směru tuhá historie.

Unikátem je cesta ze šatny na kurty. Tam se totiž dostanete po venkovním chodníku, který má cca 50 metrů. Což je speciálně po hodinové hře v zimě při 10 stupních v záporné škále (zdravím rockzone) celkem o zdraví. Když se člověk dostane konecně do haly, musí projít po kraji tenisového kurtu, což hráčům bílého sportu nezávidím, protože prakticky vždycky musí počkat. Samotná hra je v pohodě.

Když přičtu celkem vysokou cenu, ve špičce 290kč, hodnocení bude špatné - čtyřka.

Comments

Popular posts from this blog

NHibernate performance issues #3: slow inserts (stateless session)

The whole series of NHibernate performance issues isn't about simple use-cases. If you develop small app, such as simple website, you don't need to care about performance. But if you design and develop huge application and once you have decided to use NHibernate you'll solve various sort of issue. For today the use-case is obvious: how to insert many entities into the database as fast as possible?

Why I'm taking about previous stuff? The are a lot of articles how the original NHibernate's purpose isn't to support batch operations, like inserts. Once you have decided to NHibernate, you have to solve this issue.

Slow insertion
The basic way how to insert mapped entity into database is:
SessionFactory.GetCurrentSession().Save(object);But what happen when I try to insert many entities? Lets say, I want to persist
1000 librarieseach library has 100 books = 100k of bookseach book has 5 rentals - there are 500k of rentals It's really slow! The insertion took exactly

Java, Docker, Spring boot ... and signals

I spend last couple weeks working on java apps running within docker containers deployed on clustered CoreOS machines. It's pretty simple to run java app within a docker container. You just have to choose a base image for your app and write a docker file.

Note that docker registry contains many java distributions usually based on open jdk. We use our internal image for Oracle's Java 8, build on top of something like this docker file. Once you make a decision whether oracle or openjdk, you can start to write your own docker file.

FROM dockerfile/java:oracle-java8
ADD your.jar /opt/your-app
ADD /dependencies /opt/your-app/dependency
WORKDIR /opt/your-app
CMD ["java -jar /opt/your-app/your.jar"]
However, your app would probably require some parameters. Therefore, last line usually calls your shell script. Such script than validates number and format of those parameters among other things. This is also useful during the development phase because none of us want to build …

Git on Windows: MSysGit

I have started to use Git today. I read a lot of discussions that there is no good tool for Windows platform. After forethought I have decided to used TortoiseGit. I also feared of difficult work related with Git as a lot of articles mentioned many instructions. As I already said, I have decided to use TortoiseGit, because I'm used to work with TortoiseSvn, but for start, MSysGit is enought. So this article is about MSysGit, next will be about TortoiseGit.

How to start with MSysgit on local machine?
Download and install Git for WindowsCreate source code directory for your git appRight click the directory at your favorite file browser. Menu should contain item "Git init here". It initializes chosen directory to be git-abled :-)It was your first usage of Git.

Commit data to local Git repository

Now, you can add any file, your first source code, to created directory. If you are prepared to commit any changes to your local git repository, follow next instructions.
Right-click th…