-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my past little wonders posts can be found here. When I started the “Little Wonders” series, I really wanted…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Hi.
I'm sure you all know of games like Dwarf Fortress - massive, procedural generated wilderness and land. Something like this, taken from this very useful article.
However, I was wondering how I could apply this to a much larger scale; the scale of Minecraft comes to mind (isn't that something…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I'm sure you all know of games like Dwarf Fortress - massive, procedural generated wilderness and land. Something like this, taken from this very useful article.
However, I was wondering how I could apply this to a much larger scale; the scale of Minecraft comes to mind (isn't that something like…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all, I am using jcarousel to auto scroll some images. I would like to know how to make them scroll in one fluid scroll with no pauses or stops.
Currently there is a pause and then it scrolls again. If I am not making myself clear then ask and I will try to explain a little better.
This is the…
>>> More
-
as seen on Super User
- Search for 'Super User'
My computer is in a boot loop and despite all my efforts, I haven't been able to load windows XP with it. When the computer loads, I see some white loading bar at the bottom, then the windows XP loading screen, then the DELL boot screen, then windows XP loading screen, and it just keeps looping. The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm having a problem, where I wish to run several command line functions from a python program using a GUI. I don't know if my problem is specific to PyQt4 or if it has to do with my bad use of python code.
What I wish to do is have a label on my GUI change its text value to inform the user which…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm embarrassed that I'm asking this question, but here I go:
Suppose you have the following function foo. When I'm running a for loop, I'd like it to skip the remainder of foo when foo initially returns the value of 0. However, break doesn't work when it's inside a function.
As it's currently…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm embarrassed that I'm asking this question, but here I go:
Suppose you have the following function foo. When I'm running a for loop, I'd like it to skip the remainder of foo when foo initially returns the value of 0. However, break doesn't work when it's inside a function.
As it's currently…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I had learnt by reading your great answers here, that it is not good practice deleting items from within a foreach loop, as it is (and I quote) "Sawing off the branch you're sitting on".
My code currently removes the text from the dropdownlist, but the actual item remains (just without text displayed)…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
The following article was published on a Sun Microsystems website a number of years ago by John Feo. It is still useful and worth preserving. So I'm republishing it here.
How I Got 15x Improvement Without Really Trying
John Feo, Sun Microsystems
Taking ten "personal" program…
>>> More