The Dilbert comics is just 2 years younger than me, which means there are thousands of strips. Most of them represent a mocked real-world situation, especially about big corporations and geeks. I have always wondered if managers read Dilbert. I bet they don’t, otherwise they’d say “oh, wait, this thing I’m doing was mocked by [...]
Today I noticed this Hibernate stactrace: at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1185) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1261) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) This means that when calling Query#list() (same goes for the JPA variant, which simply invokes the hinbernate class), the session might be flushed. That actually makes sense, because you may have: //running transaction session.save(foo); List result = session.createQuery("from Foo").list(); This will return the [...]
This is going to be an odd publication, that falls more into the “life tips” or “self help” category, than into “programming”. But bear with me. What is “clean software”? Software that has very few bugs, that has readable and maintainable code, that has good documentation and a lot of automated tests and metrics. How [...]
Recently I noticed that posts to facebook that I make through my tool (welshare) appear collapsed, with a weirdly big logo, as if it was posted to the app page, rather than through that app (indicated by a small icon) – see screenshot. I immediately reported a bug to facebook, but after I provided the [...]
Java is too verbose, they say. You can find comparisons of Hello World programs that take 2 lines in ruby and 10 lines in Java, and in order to read a file you need 20 lines in Java and just 1 in php. Even though the examples are often exaggerated (for example counting imports), it [...]
You are working on that fresh project and you see a bad piece of code somewhere. The wrong way to approach it is “nah, that’s someone else’s code, I’m not doing anything about it”, “I don’t have time to fix that – I have other tasks”, “I’ll surely break things if I change this”. The [...]
You should have a default use case (or a small set of them). No matter what are you making – end-user product, public API, protocol spec, etc. The default use case is the most common thing that your users will do with your product. The focus of your product. And after you define your default [...]
They say developing Java is slow because of the bloated application servers – you have to redeploy the application to see your changes. While PHP, Python, etc. scripting languages, allow you to “save & refresh”. This quora question summarizes that “myth”. Yup, it’s a myth. You can use “save & refresh” in java web applications [...]
Linux evangelists, please don’t read this. It is entirely my opinion and my experience. So, I will be talking about Linux as an end-user operating system. Well, end-developer, to be precise. And yes, I know, since I’ve used mainly Ubuntu, I should definitely switch to Debian/Slackware/your-favourite-distro. But I won’t. Ubuntu is said to be the [...]
Linux evangelists, please don’t read this. It is entirely my opinion and my experience. So, I will be talking about Linux as aн end-user operating system. Well, end-developer, to be precise. And yes, I know, since I’ve used mainly Ubuntu, I should definitely switch to Debian/Slackware/your-favourite-distro. But I won’t. Ubuntu is said to be the [...]
Recent Comments
- Алекс on Welcome to BGJUG website
- admin on Welcome to BGJUG website
- the reader on Welcome to BGJUG website

