Our Software Development forum encompasses topics related to native application programming design and development.

60 39 38 36 36 34 32 31 30 30
Member Avatar
I have a Chromecast that I use to stream video from my laptop to our TV. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, I am limited to streaming files in the mp4 format. Fortunately, ffmpeg allows me to convert other formats to mp4. …
by Reverend Jim 1,091 in Software Development ()
Member Avatar
I know that this probably has been done by someone, but I want to learn how to do this using VB 2010 express. I cannot seem to get the numbers to stay in the text boxes that they are dropped in. The numbers always go to the last box (#81). …
by major_lost in Software Development ()
Member Avatar
This is easy! But I admit, it can be rather confusing at first if you also take the old style MenuItem stuff into account. I hope my code is as clear as possible. If not please let me know. To test it, just start a forms application and paste it …
by ddanbe 2,372 in Software Development ()
Member Avatar
Some time ago, I needed to know the pathname of my running application, in order to create a temporary file. As it seems ther are alot more options than I thought. So I applied all I could find in this little snippet. I also used the full names to make …
by ddanbe 2,372 in Software Development ()
Member Avatar
For those interested in operating system development, this snippet tests status of A20. It is the line that allows memory beyond 1 meg to be addressed, otherwise it will just wrap around which some applications and versions of DOS depend on. My bootloader MBR1_44 has switched system to protected (32 …
by ShiftLeft 15 in Software Development ()
Member Avatar
This is a small one. Some time ago this table came in handy, testing out low level multiplication. And I just love multiplication tables. We all do, now don't we? :)
by ddanbe 2,372 in Software Development ()
Member Avatar
since the forum has been quiet for a while I thought to post this program , it might start new discussions . the idea is not new but it should be interesting to starters . as usual any comments is appreciated
by fonzali in Software Development ()
Member Avatar
One of the most, if not THE most, beautiful formulas in math, is from Euler: ... It combines in it a relation between the number e, thr number Pi and the complex number i, plus the basic math symbols 1, +, = and zero. Is that not amazing? More info …
by ddanbe 2,372 in Software Development ()
Member Avatar
After reading this excellent ... by djjeavons, and just trying to learn WPF, I decided: "Well, let's translate that to WPF!". It was a bit harder than I thought, but a great learning experience! Her's how my screen in action looks: ... Things that changed compared to the Forms version: …
by ddanbe 2,372 in Software Development ()
Member Avatar
Inheritance with generic types can sometimes be tricky. If you would inherit from a Stack<double>, no problem, but what if you want to keep it as generic as possible? Maybe it's a bad idea, but I wrote something like ... and in Stacker I implemented some arithmetic methods like divide …
by ddanbe 2,372 in Software Development ()
Member Avatar
I found that one can use dictionaries to hold Tkinter widget config and display parameters. This then permits one to have these dictionaries elsewhere in the code for easy modification instead of buried within the code for each widget. I particularly like to place these dictionaries toward the top of …
by BustACode 15 in Software Development ()
Member Avatar
I ave been learning NumPy arrays/matrices in Python. As I worked, I found that I desired a more readable form of 3d matrices. So I figured that writing one would be a good goal and learning exercise. The goal was to create a function that would print 3d NumPy matrices …
by BustACode 15 in Software Development ()
Member Avatar
Just a simple password creator using Python code. The length of the password can be set and the characterset could be changed if you so desire.
by vegaseat 1,720 in Software Development ()
Member Avatar
I needed a calculator and I didn't want to use google since my internet is slow. So I made one! Here it is. Working with it is simple. Use the number and operation keys("c" for clear, "p" for pi, and "s" for sqrt) as well as the return and enter …
by DragonMastur 23 in Software Development ()
Member Avatar
It could be simplifide more, I know. I was doing it as an exersise so its rough and skecthy. But it's workable, I tested it more then 50 times.
by DragonMastur 23 in Software Development ()
Member Avatar
Sometimes, when I have really, really nothing else to do, I start doodling with some code. Wanted to display the coordinates of the mouse pointer. Thought it was complicated, but it was rather easy. Look, starting at line 94. Then: why not explore a ... , and what if I …
by ddanbe 2,372 in Software Development ()
Member Avatar
I made a little py editor because I didn't want to go to all the troble of installing an idle, but I didn't like notepad either. Here it is!
by DragonMastur 23 in Software Development ()
Member Avatar
karmstrong ask in the Python chat if any one was farmilar with converting a for loop in C to Python. Here is a program in python that will do it for you! ... Thank You!
by DragonMastur 23 in Software Development ()
Member Avatar
Needed a func to convert base 2 into 10, and back. Found the referenced code in this func for moving between three bases, and generalized it to between bases 2 and 62, and all in between. Upconvert a number, then down convert, then upconvert again. Go wild, have fun.
by BustACode 15 in Software Development ()
Member Avatar
I, and many others, desired a "switch" keyword in Python. For me it was to a desire to make some of my code more compact and readable, as I often have many user selected options for the code to weed through. So I set off on a journey to figure …
by BustACode 15 in Software Development ()
Member Avatar
Just trying to find out which of these five isprime functions is the fastest.
by vegaseat 1,720 in Software Development ()
Member Avatar
Member Avatar
A few hundred years ago the glorious leader of a big country wanted to reward the creator of the chess game. The creator of the game simply wanted one grain of rice put no the first square of the chessboard, two grains on the second, then doubling it for every …
by vegaseat 1,720 in Software Development ()
Member Avatar
I needed a random color selector. I found one ... . I rewrote it to make it more general purpose. "f_GenRandomColor" is the picker. The output is in list form, which should make it suitable for most general applications. "f_HTMLRandomColorChart" is just a way to create an HTML table to …
by BustACode 15 in Software Development ()
Member Avatar
This will take a value in EAX or AX, convert to ASCII hex with optional padding and upper or lower case This example would yield "---fc103a" ... AX pointing to 1 character before actual beginning allows for successive calls with that pointer so essentially one could convert a 1,024 bit …
by ShiftLeft 15 in Software Development ()
Member Avatar
Now I am going through a project with colors. And then I think that if I try to display color values with their names in a simple combobox, it could be amazing. I tried and did it and it is looking like ... ... So, I wrote a simple code …
by Shark_1 85 in Software Development ()
Member Avatar
When recursion won't do, then memoizaton will.
by BustACode 15 in Software Development ()
Member Avatar
Allows multiple entries using raw_input. I often have to enter multiple items in my Python programs. Today I discovered a way, and with a few mods made it happen.
by BustACode 15 in Software Development ()
Member Avatar
Here lambda is used to create a one-line function for factorials.
by vegaseat 1,720 in Software Development ()
Member Avatar
Just an example of a persistent list class that could have interesting applications in data mining.
by vegaseat 1,720 in Software Development ()
Chat Log Latest Posts