topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 3:06 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kobi7 [ switch to compact view ]

Pages: [1]
1
DC Member Programs and Projects / Re: new software - dst
« on: February 28, 2011, 06:14 AM »
pleased to release a new version.
changes:
the server now handles connections.
the client can now connect.

(if anyone reads this :-))
please if you find any thrown exceptions or crashes, let me know that I missed them.

known issues:
if server drops the connection, and reopens the port,
the client can no longer connect. ( will fix for next release )

STATUS: work in progress.

next in plan:
- some fixes.
- starting handshake.

next+1:
- verify that everything still runs, and state is reset, if handshake fails internally.
- add the various handshaking actions.
- check that all is ok when handshake fails deliberately (due to wrong password)
next+2:
- start integrating communicator. (secure mode)
- allow non-local ips, and different port.
- revamp ui from start to the real ui.
- hook all parts.

next+3:
- much ui goodness.
- log is usable
- status responders usable.
- chat usable.
    the software is usable, move status to beta. feedback from users.

2
DC Member Programs and Projects / Re: new software - dst
« on: February 26, 2011, 09:26 AM »
Here's a newer version.
mainly reworked the handshaking protocol, which you don't yet see. (it's more elegant now)
visible features:
- The server can now open and shut a port.

the client still doesn't do anything.
Next is allowing a client to connect, then you can start playing / breaking.

enjoy, kobi

this week I hadn't much time to work on it.
when I did I mainly learned that debugging dlls is harder. (even though all code is available)
Anyone knows the way to do it? (right now I just copy my code over, and make slight changes)
I may add a logging utility.

3
DC Member Programs and Projects / Re: new software - dst
« on: February 21, 2011, 09:17 AM »
Thank you friend

4
DC Member Programs and Projects / Re: new software - dst
« on: February 20, 2011, 07:29 AM »
progress. still unusable. (but compiles and runs, and the cleanup is almost complete)

The server can wait for, and accept a connection.
the gui doesn't show much or give feedback (except for a bit of color)
the client does nothing at the moment, so you can't really connect to the server.

I haven't implemented shutting the port yet. (not hooked)

just a progress update.
soon things will start to get functional.
and after a bit of testing the gui will change to something usable.

5
DC Member Programs and Projects / Re: new software - dst
« on: February 19, 2011, 08:16 AM »
still no functionality, just a ui change for easier testing later.
maybe have a chance to finish the clean up today.

by the way, any of the programmers here know how to test network code? (too much state)
preferably unit testing it?

6
DC Member Programs and Projects / Re: new software - dst
« on: February 17, 2011, 12:04 PM »
a quick update, the organizing into dlls is a great success. reduced code size -> reduced complexity.
In another language I'm familiar with, the way to code is to start vocabularies (another name for libraries)
which have static functions (words) and public constructors, but do not have state. (maybe internally they have a private state to update between the words.)
the state remains in a few isolated places, in your own program, and there too it's pretty minimal.
So it's much easier to reason and see the picture when you split your code to functionality providing dlls, and the minimum active state and interacting with the user, that your program does.
following is cleanup, and enabling the gui to connect.

7
DC Member Programs and Projects / Re: new software - dst
« on: February 17, 2011, 03:37 AM »
no, the software will be restricted by design to a connection of two people, that is direct connection.
you can say it's for fun, it's a software project assignment I chose to do (college programming course).

8
DC Member Programs and Projects / Re: new software - dst
« on: February 17, 2011, 02:35 AM »
test gui, fake version.
D - no
S - no
T - no.

plans:
next version will have the tcp connector.
next+1 will have a server to connect to. (D yes)
next+2 will have a handshake protocol.

9
DC Member Programs and Projects / new software - dst
« on: February 17, 2011, 02:06 AM »
okay, so this would be my second application listed here. I'm a (relatively) beginner programmer, and will use C# for this work.
I haven't finished the functional parts yet, about 50% there.

the deal is, I reached a barrier of software complexity, leading to slow advancement.
(btw, if you have suggestions how to deal with it, I'm all ears)

I am going to reorganize my code, possibly as dlls,
and post here very small increments of the gui, adding functionality bit by bit, once it's clean enough.
the basic design is pretty good, but the functioning design is lacking.
(anyone has recommendations how to approach a design phase in software? - this, I know almost nothing about)

so the first versions are going to be entirely fake ones. do nothing. (and won't even look like the real one)
the program is called DST, direct secure talk.
it will be a connection between 2 people.
then it will also be secure, communication will be encrypted. (with a feature that the keys change with increased bitsize every x minutes)
then it will add features like chat, and file transfer. (and possibly one more feature)
I see value in this program, for my own and my friends usage. it will be donationware/charity-ware. but I won't publish the source.

the plan is to post here all the versions, even those who'd do nothing, because it may help me with dedication and self discipline.
I also don't work on it full time, so there will be some time before releases.

anyway, hope you'll like this toy, and hoping it becomes mature.
I'm interested in seeing gui mockups too.

(you can use the excellent Caretta gui design studio: http://www.carettaso...dio_R36095_Setup.exe)

and lastly, please visit http://www.faluninfo.net
important information about persecution of innocent people - falun gong practitioners - in communist china.

thanks, Kobi


10
DC Member Programs and Projects / GetSerious 0331 source
« on: February 13, 2011, 02:10 AM »
the source code.

11
Hey all,
I had a memory leak in the program.
It's fixed now.
here's a new version.
the source is included.

This version has stoik tracks, because it looks better and works for all platforms.
if you still want the windows progress bars, you can change a little boolean flag in the source code.
       it's in Program.cs :  public static bool stoik = true;
       change it to false.

See you,
Kobi

12
It is the as designed behavior of repetedly going from zero to X that keeps the UI in a constant state of motion. Which is what tends to draw the eye.

hi Stoik, I did some work.
I think this behaviour is due to a vista theme where the progress bars animate from zero to their current spot.
and since I use xp, I didn't understand at first what you meant.

here's a customized version - see if it solves the problem for you.
and heh, I had to choose a color, green looks classic.

also try clicking the +/- it limits the number of items shown. (left click increments, right click decrements)

I believe that's all for this little program. see ya

13
DC Member Programs and Projects / Re: Live Screensaver
« on: January 31, 2011, 07:52 AM »
hi, here's a possible solution for you.
It would work assuming you mostly watch the screen and rarely interact with it.
what is it?
it's a black box that walks the screen.
the black box is small 2px * 2px, so it doesn't hide too much.
it moves, and waits 10 milliseconds (1/100 second)

I assume it's enough to draw to a portion of the screen for it to be "refreshed".
it may use something like 2% of cpu time on modest computers.

you can still see it running, so an optimization would be to compute all positions in the screen, and randomly take a different one each time.
another optimization would be to make the drawing a bit faster (using windows calls instead of c#'s), or make the timer have a smaller interval.

The time it takes to visit all the locations on the screen depends on the resolution of the screen.
you can try and see if it's ok for you.

to close click the "Form1" in Taskbar, and press alt+f4.
a really quick job, i didn't even make a title. :/

Enjoy, kobi

14
Another version.

you can now increase or decrease the number of items shown, by clicking (left click / right click) the +/- label in the new status bar.
closing a window, now only hides it.
better systray icon. (?)
systray menu done.

sources are included.
Enjoy.

I improved on my winforms knowledge from this tiny application. (understood their concept better)
This is probably the last version (unless you find a bug), as I'm content with the result.

Hope to post here something more meaningful, yet still as simple to use, in the near future.
See you, Kobi

15
A movable window (on a rubber-band) that snaps back into the corner strikes me as a bit counter intuitive.
Fixed. now you can move it. it will jump back to screen when you put it offscreen, and when close by to one of the walls, will jump to it (magnetize).

I still need to disable double clicking the title, and make close X only hide it to systray.
there is visibility in systray now, you can exit, or show/hide it.

I like the progress bars for an at-a-glance overview, but they are a bit too active (draws the eye badly). Perhaps they could update from their current position, instead of zero each time to cut down on the blinking effect.

Does it flicker for you with the latest version?

you may try it.
any other suggestions?
right now it's fixed on showing the top 10 applications, I can have it configurable if you guys want.
see you soon, kobi

16
DC Member Programs and Projects / GetSerious 0.22
« on: January 26, 2011, 08:39 AM »
I don't plan to change much more here.
excuse me, I was tired. any suggestions are welcomed!

here is another minor release.
I think it's pretty good now.

new: magnetized when close, but movable.
new: can hide or show.
new: has a systray icon, albeit not very pretty.
even when hidden, it continues to keep statistics.
hope this is good for your productivity - timing yourself, or staying more focused

Enjoy :-)

Kobi

17
DC Member Programs and Projects / GetSerious0.2
« on: January 25, 2011, 04:51 PM »
Hello friends, updated software.

changes from GetSerious 0.1
===========================
+ changed window to "fixed tool window" mode, and returned control box so you can exit it.
+ added tracks. label and progressbar inside a 2 column table.
+ the ui now uses the tracks. looks better.
+ (changed text to rows.)
+ (changed progress text to progress bar.)
+ the table now has 3 columns.
+ added a little time representation h:m:s -> 2h:18m:3s
+ optimized drawing code a little (adds rows only when needed)

I don't plan to change much more here.
possibly add a systray icon to show/hide the window. (if a next version will happen)

Enjoy!
PS: source is added this time.
(donationcoder is not about open source, this time it's added because it's like a small sample application)

PS2: if you have suggestions for tiny software you need, let me know.
Thanks, Kobi

18
Actually, I could really use that. However, this is the first time you've posted, and I'm simply not that trusting. I would be willing to build from source, but... Sorry. Just skittish about things.

hi Renegade. perfectly understandable.
Actually, it's just a thread that increments a hashtable (dictionary) every second. and some winforms code.
I can send source code if you're interested but it's not much to learn from. basic stuff, and prepared in a day for my own usage.
however I am working on a chat client (student handout work), and wanted to post as a donationware here.
After I get it done, I hope to ask you guys to be an author here. is there a procedure to follow?

Compiled with Visual Studio 2008 by K1, doesn't contain any networking or file system code... *Shrug* ...Looks safe enough.
Hey that's great, I'd be interested to know what tool do you use to know this?

Kinda cute really, but did not stay on top, and needs an off button of some kind.
kinda cute: Thanks! I noticed if I have a stop watch running, I'm more aware of using my time for work.
So this was just a quick idea, to time or check myself.
stay on top bug?: I only tested on windowsXP -- doesn't it stay on top on your machine?
off button: I can of course make it a little prettier and add a context menu with exit - would that be good?
I wanted it to be minimal, so I even removed the titlebar.

suggestions welcome.



But a helluva good way to jump into the spirit of DC  :Thmbsup:

Thanks!


19
DC Member Programs and Projects / GetSerious0.1 - (don't expect much)
« on: January 23, 2011, 12:00 AM »
Hey guys, here's a simple program, couple of hours work, I wrote it in C#.

The purpose of it is to keep you more focused.
It places itself at the bottom right corner, always on top.
It displays a list of window titles, and the percentage of the time you spent on each one. (updates every second)
It is really simplistic.

To close the program, click it and press Alt+F4.

I'll probably post a chat program that I work on, later on.

Pages: [1]