codingclues.eu
Shader optimization tip (CodingClues)
http://codingclues.eu/2009/shader-optimization-tip
Here’s a little trick that seems to work with OpenGL/GLSL on NVIDIA cards. When you have a geometry shader that outputs some primitives (in my case GL POINTS) inside a loop and the number of iterations is not known at link time you’d normally write something like this:. I pointCount; i ) { . }. I pointCount) { . } }. Are you interested in reading more from CodingClues? Then subscribe to new postings via RSS. Middot; Community Page. Thanks. Your comment is awaiting approval by a moderator. P300 filesharin...
codingclues.eu
“Shiny Table” Effect with Gimp (CodingClues)
http://codingclues.eu/2009/shiny-table-effect-with-gimp
8220;Shiny Table” Effect with Gimp. Well, the following post does not cover a typical programming topic, but maybe even as a software engineer you might have to deal with (web) design from time to time. At least I did when developing a new website for a customer ( http:/ heilmann-software.de. While creating shiny and glossy effects seems to be a trivial task for the experts using Photoshop, I tried a lot until I got some good results with Gimp, the Open Source image editor. 7 Now select the first layer a...
codingclues.eu
.NET Compact - Gradient Filled Button with Rounded Corners (CodingClues)
http://codingclues.eu/2009/net-compact-gradient-filled-button-with-rounded-corners
NET Compact - Gradient Filled Button with Rounded Corners. Today, a good user interface must have a nice look, too. As the iPhone shows, using an application must be some kind of fun. In order to create such GUIs, the controls provided by the .NET Compact Framework are lacking a lot of functionality. However, the MSDN gives us some hints: in this article. They show us how to create a button filled with a gradient background. Well, what about adding rounded corners to the gradient filled buttons? Then sub...
codingclues.eu
Tools archive (CodingClues)
http://codingclues.eu/category/tools
Stress test your webapp with Webload. There are a lot of commercial stress and load testing tools available, but in general they are really expensive, so buying one is probably not the best idea if you just want to stress-test a single web application for one time, like I did. Instead, I checked out some Open Source tools and found Webload, an Open Source variant of a more comprehensive tool developed by Radview. The download can be found here. It’s not available on the official website any more). Well, ...
codingclues.eu
JDBC CommunicationsException with Hibernate and MySQL (CodingClues)
http://codingclues.eu/2009/commysqljdbcexceptionsjdbc4communicationsexception
JDBC CommunicationsException with Hibernate and MySQL. If you are using MySQL and Hibernate, maybe you are familar with an exception like this one:. Commysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was79095 seconds ago.The last packet sent successfully to the server was 79095 seconds ago, which is longer than the server configured value of 'wait timeout'. You should consider either expiring and/or testing connection vali...8211; this property f...
codingclues.eu
How to convert UTF-8 to UTF-16 using vector operations (CodingClues)
http://codingclues.eu/2012/how-to-convert-utf-8-to-utf-16-using-vector-operations
How to convert UTF-8 to UTF-16 using vector operations. Olivier writes about UTF-8 processing with SIMD/SSE on the Woboq blog. Introduction to lock-free programming using C and Qt. Property Bindings with C. Are you interested in reading more from CodingClues? Then subscribe to new postings via RSS. Middot; Community Page. Thanks. Your comment is awaiting approval by a moderator. Do you already have an account? Log in and claim this comment. Recent comments ( follow comments. Middot; Learn more.
codingclues.eu
Web archive (CodingClues)
http://codingclues.eu/category/web
JDBC CommunicationsException with Hibernate and MySQL. If you are using MySQL and Hibernate, maybe you are familar with an exception like this one:. Commysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was79095 seconds ago.The last packet sent successfully to the server was 79095 seconds ago, which is longer than the server configured value of 'wait timeout'. You should consider either expiring and/or testing connection vali...8211; this property f...
codingclues.eu
(CodingClues)
http://codingclues.eu/page/2
If you have ever wondered what the nice color names from the .NET. Actually mean, you will find this page. They present a listing of the named colors in .NET, show how they look like and also specify the corresponding hexadecimal values. Retrieve the Favicon for any URL thanks to Google. When designing or coding a website, there is an easy method for including favicons next to the links. You cannot assume that a favicon is always at /favicon.ico of the URL, as there are different ways. Using Ruby On Rails.