HNHacker News
TopNewBestAskShowJobs

Tobias42

62 karma · joined July 20, 2007

Enterprise Java programmer at day and game programmer (www.bearbushkas.com) at night
submissionscomments
Tobias42··on Delphi 13 Florence Released
Have you tried Vaadin? It's like writing a Swing application that compiles to the web. Or at least it was when I used it last, about 7 years ago.
Tobias42··on Ultra-processed foods may contribute to cognitive decline
You don‘t have to do that. You can buy cheap meat and cheap vegetables. That way you will still eat much healthier than eating ultra-processed stuff, and probably even save money.
Tobias42··on No code reviews by default
Usually I answer unspecific 1-sentence criticisms with a question what alternative solution the reviewer would suggest. Sometimes they look into it more deeply and really come up with a better solution. If they don't, at least the discussion is over.
Tobias42··on Ask HN: What are you surprised isn’t being worked on more?
I recently thought about this, too. Is there any cloud-based, simple relational database, aimed at non-programmers?
Tobias42··on The history of economic growth is a tale of cleanliness
I remember noticing the same in Marseille about 10 years ago, but Paris for example was already quite different back then. Now I live in Madrid and not picking up after your dog is very much frowned upon, and you see very little pet waste in the streets.
Tobias42··on AMD Ryzen 4000 Mobile APUs
I don't know if $700 qualifies as cheap, but the iiyama ProLite XB2779QQS-S1 (5K) seems to fit your description. I am quite happy with mine.
Tobias42··on How Command and Conquer: Tiberian Sun punished the computers of the day [video]
I don't know if it is just nostalgia, but I have played them all and like the N64 version the best. It is fast-paced, not as cluttered as some of the new ones, and has a good balance between relying on driving skills and the usage of extras.
Tobias42··on Blendle ditches pay-per-article service
The article didn't say that they sold 100000 articles, but that they have 100000 users that payed for individual articles. We don't know how many articles those users bought on average, but probably much more than one.
Tobias42··on Professional Software Development
"Clean Code" comes to mind. It is also already more than 10 years, but holds up well.
Tobias42··on Great Wall Motor unveils $9k electric urban car with nearly 200-mile range
Interesting vehicle, but the design is such a rip-off. Honda Urban EV in the front and Smart forfour in the back.

It would be interesting to know what the unsubsidized price is and if it ever comes to the west.

The e.Go Life has a similar concept but does not seem to be able to compete on price or battery capacity.

Tobias42··on How Windmills as Wide as Jumbo Jets Are Making Clean Energy Mainstream
Unfortunately the capacity of these dams in most areas is far from enough to compensate all fluctuation in renewable energy production.
Tobias42··on I made an iPhone game with PhoneGap and won't do it again
Have you tried SpriteKit? I chose SpriteKit with Swift for my first game and like it quite a lot, but I keep wondering if it was a good choice to limit myself to iOS.

What I'm interested in mostly is if I at least got a significant performance gain from chosing SpriteKit over Unity.

Tobias42··on Ask HN: What simple tools or products are you most proud of making?
I hope you have a lot of fun with it and I'm curiuos of your feedback!

As a customer I very much prefer the pay once model, too, but we really seem to be a minority these days.

We sold about 45 copies of the game so far in almost half a year, but when we made it free for a weekend we immediately got 200 downloads without even advertising.

So let's see what happens with free2play. We are going to make all levels but the first one an in-app purchase and maybe a few characters. There will be no consumable IAPs because I hate them with a passion.

All previous buyers are going to keep the full game btw. Apple makes it surprisingly difficult to implement that, but anything else would just not be right.

Tobias42··on Ask HN: What simple tools or products are you most proud of making?
http://bearbushkas.com

I spent most of my free time the last 1.5 years to make this 4-player iPad game together with my brother (developer) and two cousins (graphics).

Considering that it was our first Swift and SpriteKit project (my dayjob is programming business applications in Java), I am pretty proud of the outcome. It even got some reviews (one with a 92% rating!).

The only problem is, we completely underestimated how hard it is these days to get downloads for an old-fashioned "pay once for the whole thing" game. Currently we are in the process of converting it to a free to play model, hoping that more people try it. Wish us luck!

Tobias42··on Germany to tell people to stockpile food and water in case of attacks
0 chance of floods, really? https://en.wikipedia.org/wiki/2002_European_floods

And do you have a source for your claim that only 1/4 of recent asylum seekers were refugees?

Tobias42··on Japan Now Has More Electric Car Charging Spots Than Gas Stations
How can the EU tell Norway to build charging stations if Norway is not even a member of the EU? Do you have any sources for that?
Tobias42··on German automakers who once laughed off Elon Musk are now starting to worry
50000 is definitely much too high. The number I have in my head is 15000. Maybe you confused the two.
Tobias42··on Swift 2 Apps in the App Store
That's true. I didn't want to badmouth swift, I quite enjoy developing with it. I guess I just needed to vent my anger about SpriteKit a little.
Tobias42··on Swift 2 Apps in the App Store
If your Swift app is using SpriteKit it might take a little longer to get it ready for the App Store: https://forums.developer.apple.com/thread/17463

Apple really screwed up SpriteKit badly in the new version. I'm experiencing almost all of the problems mentioned in the forum.

Tobias42··on A Holiday in Honor of the Korean Writing System
Why do you think the German spelling reform of 1996 didn't succeed? Of course some people, especially older ones, didn't make the switch in their own writing, but basically all newspapers, magazines and books use the new spelling nowadays.
Tobias42··on Salaries for Developers and Designers across the world
Those numbers are worthless. 69700 USD for a software developer in Switzerland is much too low. Even starting salaries are higher than that in most parts of Switzerland. I think the average is probably around 120000 USD.
Tobias42··on They're using Windows RT
The author fails to mention tablets with an Atom CPU as an alternative. They cost pratically the same as similar ARM tablets and give you the option of running x86 software.
Tobias42··on Why aren't we all using Japanese toilets?
You only find those toilets in many decades old bathrooms.
Tobias42··on Is the use of “utf8=✓” preferable to “utf8=true”?
What if a sequence of byte values is valid in the charset that IE uses to encode the form data as well as in UTF-8, but is interpreted as different characters in UTF-8? With your method you would not detect an error and use the wrong characters. (Except if IE sends a content-type header with the actual encoding used, and this header is evaluated on the server side to convert the form data into a string. But in that case you don't have to check for invalid UTF-8 characters, but for characters that are invalid in the charset specified in the content-type header.)
Tobias42··on The German Model
I think it is a psychological issue. If salaries get cut by 30% across the country, people go to the streets. If you devalue their currency, most people don't even realize it and just accept that the prices for certain imported goods went up.
Tobias42··on Hacking the Used Car Purchase
Where do you pay that much? I have lived in Germany and Switzerland and had various cars. Liability insurance never was more than 700 dollars per year.
Tobias42··on An Engineer's Explanation of the Fukushima Incident
Do you know if new plants are generally built with containments that work without cooling?
Tobias42··on Ask HN: Review my App - Freeciv.net
Is it even possible to enter any valid email address there? I have an email address whose only special character is the dot before the top level domain and it doesn't get accepted.
Tobias42··on Java is just fine for your online service startup development
About the Batik library: What makes you think that it is the JVMs fault that it uses that much memory? It seems much more likely that it is a just a crappy library with lots of memory leaks.
Tobias42··on Java is just fine for your online service startup development
If you compare JRuby with MRI Ruby, the memory consumption is indeed higher in JRuby. I am no expert in JRuby but as far as I know, the problem with it is that it can not fully take advantage of threading and thus suffers from similar problems as the MRI + some additional memory overhead.

A Java web application however needs very little additional memory per request-handling thread, which makes its memory footprint much smaller when many parallel requests are involved.

100 ms for the home page in my Java app might not be great but, considering that 7 separate queries to the database are involved and that it runs on a very weak server, I think it is quite decent. And because of the use of concurrency (threading) there is a good chance that 100 ms for a single request translates into more than 10 requests per second. But I still wouldn't call my webapp lightning fast. I was calling java lighning fast because in my case I still get decent response times on bad hardware and with an inefficiently programmed application (7 db requests that could as well be cached and only refreshed every hour or so).

You are absolutely right about the rails app however. The 1 second response time is not normal. I just measured again and suddenly I get similar response times as for the java app. The server must have been under heavy load before (maybe the automatic backup). I admit that my quick measurements are not very representative and apparently not reproducible reliably, but still: about the same response time as the Tomcat with no database activity and on a faster server. I also checked a different rails project of mine running on an equivalent VPS. Pages where two simple database request are involved, which, when directly invoked in psql, take 15 ms, take 300-400 ms to load if not cached.

Page 1 of 2Next →