topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday April 19, 2025, 11:19 pm
  • 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 - Edvard [ switch to compact view ]

Pages: prev1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 121next
301
Living Room / Re: Animal Friends thread
« on: April 19, 2015, 01:50 AM »
^ any info about that animal?
I thought it was an owl first - I can see it's a cat but wondering how real it is (it *looks* real)

It's a Pallas' Cat.
I think they look very intriguing also.  Then again, I'm a cat person, so... yeah.

Lots of pictures here: http://www.arkinspac...hat-time-forgot.html
One cool thing is their eyes; the pupils are round instead of typical cat slits.  Beautiful creatures.

302
Feeling a *little* better, so working on this is my "down" activity.  :P

OK, so it looks like this project is shaping up to be the most ambitious one I have done to date, and is really stretching my "how do I do that?" muscles.  I'm not going to give up, but before I go any further, I feel a need to ask for opinions on implementation and direction.  Tomos, since I intended this as an answer to your appeal, I'll take your suggestions first, and implement them as I am able, but I'm open to advice from anyone.

Regarding the clock, and time-keeping in general:
Right now, the clock is started and stopped via clicking on the clock text itself; the background changes between light green and pink to indicate the status. Should it instead:
  -Use a separate start/stop button?
  -Click on the clock allows manually editing the time?
  -Clicking on the "Reset" button sets the clock to 0.  How about a Right-click sets it to the current time, or vise-versa?

The buttons on either side of the clock allow incrementing the seconds/minutes and I planned to add a third for changing the hours, but then I thought about leaving off the buttons, and just set the time manually, or would the buttons still be convenient?

Regarding the "New Task" button:
  -Is that an appropriate name for the function it does?  Or is there a more universal word for "something I'm doing that I want to measure the time I've spent doing it"?
  -As it is now, when the "New Task" button is clicked, it stops the clock, enters the Task and Begin time in the next available row.  I had planned to make it add the End time and Total time when another Task is entered, but that got me thinking... is that really the best way?  What would your opinion be on how to coordinate setting a new task, begin and ending time, and coordinating with the clock?

Regarding editing:
The grid component is where the Task, Begin, End, and Total are displayed. It's actually a complex beast for a single component, and is the source of much of my research on this project.  
As it is now, once an entry is listed in the grid, it is not editable, because I assume that the time spent on any task is an important metric, and adjusting for breaks and whatnot should be restricted to within the time spent, not fudging the numbers after the fact; BUT:
  - Should I allow direct editing of the contents after the fact?  Of course, one could simply edit the exported text file if the desire arose, I just think it's too much opportunity for 'cheating' to allow in-grid editing, and besides, at that point why have a timer at all? Why not just fill in arbitrary numbers in an Excel spreadsheet?
  - How about deleting rows? (I'm actually OK with that idea).

Regarding the menus: Any ideas for the menu items?
As I have it now, the menu items are -
File
  -Load (to continue a previously-exported time sheet from where you left off)
  -Save (or Export)
Edit
  (nothing in here yet, maybe not needed, unless some preferences be thought up)
Help
  -Manual
  -About

Anything else?

--EDIT--
Regarding exporting:
What file format should be used for the export file?
  -Plain text CSV?
  -Good ol' XML?
  -The new kid in town JSON?
  -Something entirely different (YAML, SDL)?

303
Sorry I haven't checked in with more progress, I've been a little under the weather lately and can't think as straight as I normally do (which isn't saying much...).  On the other hand, I did figure out how to make the grid thingy resize with the GUI, which was driving me batcakes.  I got it so the time columns stay the same size and the Task one resizes.  It's the weekend now, so I can get back into the 'real' coding part.

304
Living Room / Re: 5 Insane Devices for Monitoring Your Kids
« on: April 16, 2015, 10:57 PM »
When my son was very young, I used a baby monitor; one of those old-school radio types.  I worked night shift, so I would rush home, snatch a kiss from my wife as she headed off to work, slam some breakfast, vitamins, and a full cup of coffee before my son woke up.  Having the receiver next to my bed was VITAL to being able to wake and get involved in his day.

The above-mentioned gadgets?  Disgusting.  If one could be proven to prevent SIDS, then I could get onboard with that, but otherwise, no.  We are slowly turning our world into a prison; one we purchase for ourselves, brick by shiny techno brick, and insist the surveillance cameras catch our 'good side'.  The powers that be couldn't ask for better surveillance tools than the ones we insist we can't live without.

*sigh*

Pardon me, I'm going to make myself feel better by unplugging something.

305
I'm fascinated with what could cause that big of a time gap! I thought computers were pretty good at keeping time! I could see off by a few seconds, but then maybe do "leap adjustments".
Exactly.  There's quite a span of difference between lower-level tracking along with system time, and throwing a sleep(1000) and calling it more or less one second.  If the system is reliable, that's good enough.  But if any significant load occurs in the larger time period, the discrepancies can add up.  I planned to do some testing to indeed see if real-time tracking is needed, or if 1000-millisecond timers can do "good enough".

It's starting to seem a bit more like a PIM/IM - I wonder are we trying to reinvent the wheel  :-\
Well, I don't know of any PIMs that track time spent on multiple tasks down to the second, so there is a wheel to be invented yet!  :P

Like I said, this would be a programming exercise for me, and hopefully something you can make use of.  For now, here's a teaser screenshot until I can get back at it tomorrow.  Sleep time now.  I still haven't implemented a few things (obviously), and the spacing of the UI elements need work, but I'm getting there...

tomostimer.png

306
Tomos, have you found what you need yet?  If not, I'm working on a few ideas in Pascal/Lazarus.
Questions:
1- Would you want to always track time from 0? or should the beginning time be settable, maybe even from actual time?
2- Would you want to have the tasks/notes be running timestamped? or starting a new task starts from 0?
3- Should a list of tasks/notes be hidden until exported, or should there be a running list showing?

I'm having trouble getting everything to sync up close-to-perfect with real time, so:
4- What kind of time tolerance would be acceptable? Say, +/- 1 or 2 minutes per hour?

5- Hotkeys?

If you could, sketch out how you'd like the UI to look.  The Trout example is good, but a slider would only be possible if there were a definite 'quitting time', like say you only want to spend 5 hours doing what you're needing done.  A slider would be rather inaccurate as well.  In the code I'm playing with, I have buttons for forward/reversing seconds, minutes and hours.  No direct text entry yet.

Let me know, I'd love to stretch my coding muscles even further...

307
DC Gamer Club / Loved
« on: April 11, 2015, 03:17 PM »
Take a fairly generic low-res platformer, couple it with some downright uncomfortable in-game dialog, and what do you get?

Can games carry the auteurist intent and interconnection of traditional cinema and writing? Can we tell stories through games that aren't disposable? That live on after you've stopped playing? This is a short story in the form of a platformer that answers these questions.
...
Loved contains content that some players may find disturbing.

Loved.  A short story by Alexander Ocias
http://ocias.com/loved.php

loved.png


RockPaperShotgun.com's Kieron Gillen says:
It’s got the sort of meaningful choices interlaced through it which Fallout fans are always crying out for, has a genuinely oppressive atmosphere and at least a couple of killer endings depending on which way you choose to go.

PopMatters.com's Kris Ligman says:
The catharsis that comes at the end doesn’t arrive within the game, but after you’ve completed it, which seems exactly like the designer’s intention. It might take you only five minutes to complete, but it will take hours to fully unpack.

JayIsGames' review Dora says:
I've seen people "explaining" the game to other players, and I'm not sure I think that's the right thing to do; after all, if I feel one way about something designed to provoke a personal reaction and you feel another, does that mean one of us really needs to be right in our interpretations? Which in turn raises another interesting question. Is art only successful if it explains itself to everyone?

NPR's Mindless Arcade Friday says:
Recommended, for people who like:
playing cerebral games, being verbally abused.

and here's an interview with the game's creator, Alexander Ocias:
http://www.gamasutra...er_Confrontation.php

Whatever the end purpose of the game, every once in a while I really like a game/book/movie that messes with your head, even negatively so.
Try it out, but don't blame me for any consequences...

308
Do you mean like a countdown timer for set time tasks, or a set-it-and-let-it-run timer to evaluate time spent on tasks?

309
You remember "How to shoot yourself in the foot with programming languages"?  That was awesome.  
THIS, however, is flipping EPIC.

What if programming languages were methods to eat an orange?
http://4archive.org/g/res/43324376

Some of my favorites:
PHP
You take off your pants, smash the orange against the wall, and fall down the stairs.

Clojure
You peel an orange only to find that inside it has coffee instead of juice.

XML
You found and want to eat an orange orange orange that you want to eat because you found it

Python
You find an older boy to help you peel the orange. When you are away to eat the orange, Guido tells you that oranges are unpythonic and you should have a zucchini instead.


310
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 07, 2015, 01:37 AM »
It will be.  I've worked too hard on this already to not do it.  I'll let you know when that happens.  I've already started the coding...

312
Living Room / Re: Why are car stereos so flimsy?
« on: April 05, 2015, 10:23 PM »
LOL, this is me.  ;D  :(

NGcUN.jpg

313
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 03, 2015, 10:17 PM »
Good idea.  Coding now...

314
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 03, 2015, 09:20 PM »
OK, I can make it an option, or I can hard-code it in.  PM me with your dev key if you'd rather have it hard-coded.
Also, I'm often on the IRC channel; pop in if you'd like to discuss in real-time.  :Thmbsup:

315
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 03, 2015, 09:11 PM »
Looking at the pastebin Api it says that the dev key is required to make the posts.

Yes, that is true; what I'm saying is it's nothing more than a Developer tracking thing.  I can hard-code my dev key in there and it won't have any effect on you or other users, and somebody knowing my dev key won't compromise my account; the only reason it is required is to notify Pastebin that something I wrote is hitting their API.  If you prefer to use your own, I can put that in there, just saying it's not something you have to provide.

For User keys, it might make things simpler to continue with Curl for now.  I do have Userkey generation code in the engine, so it wouldn't be much trouble (I think) to put that in later; for now it would be a distraction from the main goal.

Heck while you are at it, maybe add the ability to list the pasts also and return the output xml? Not needed for the initial release and you don't really need to add it as I do this with curl also but I thought I would throw it in also. smiley

Yes, I'd rather save that one for later also, as I don't have code for it at the moment, but it can be done.  I'm thinking eventually having the utility do "modes", like Pasting mode, Userkey generation mode, Paste fetch mode, etc. with each 'mode' having it's own options, and each mode triggered by a 'super-option' passed as the first argument.

316
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 02, 2015, 09:39 PM »
Something like -paste:"text to paste"
Yep, no problem.  
One question: according to an email conversation I had with a Pastebin dev, the Dev Key is really only needed so they can track the popularity of an app, it's not really for identification.  That's what the User Key is for.  The User Key is easily generated via a Curl POST request, or I could have that as an option of the utility.  Would you like everything specified via command line, or should there be a configuration file for some default values (like User Key)?  Actually, let's save that for later, I just want to get something working out the door...

317
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 02, 2015, 06:50 PM »
Glad to hear PasteQuick works for you.  I am furiously coding on the command-line tool today, and once that gets your stamp of approval, I'll feel confident integrating that functionality into PasteQuick.  Thanks for the inspiration!
* Edvard returns to coding furiously...


318
Post New Requests Here / Re: Pastebin command-line app for windows
« on: April 01, 2015, 08:12 PM »
I am planning on adding command-line options to my app Pastequick, but that won't be overnight.  You could try it as-is, I've gotten good feedback about it.

*mumbles to self* Perhaps I could just take the engine out and make a command-line tool with it...  
When do you need this?  I might need a few nights...

319
General Software Discussion / Re: better than textmechanic
« on: March 30, 2015, 10:07 PM »
For the first request, not a website, but a command-line tool.

Sedw:
sed (stream editor) is a Unix utility that parses and transforms text, using a simple, compact programming language.


You want a comma-separated list transformed into a vertical list?
sed 's/, /\n/g' comma_list.txt > vert_list.txt

Sed for windows can be found here: http://gnuwin32.sour...net/packages/sed.htm

The combinations of strings will have to be done as a programming exercise.  Eric Lippert, a C# compiler dev for Microsoft, has an interesting, though kinda technical, series on just such a thing which is known as Context-Free Grammar which is important in the design of programming languages.  Don't know if it'll help at all, but I couldn't do any better.
http://blogs.msdn.co...ere-is-part-one.aspx

321
General Software Discussion / Re: Opera now supports DuckDuckGo
« on: March 29, 2015, 03:55 PM »
Opera is the fastest browser I've tried on Linux without sacrificing usability or features.  Though I never used a whole lot of extensions on other browsers besides ABP and Ghostery, at least those are both available for Opera.  Not having a choice of default search engines was rather disconcerting, so this is good news.

322
Living Room / Re: Programming/Coder humor
« on: March 28, 2015, 03:27 AM »
Another from Commitstrip.com (some real gems in there):
How many times...

http://www.commitstr...-of-scumbag-windows/

323
!! Mac OSX version !!

Lazarus Forum member Zittergie has contributed a Mac version, and has graciously allowed me to host it on my Sourceforge site.  Grab your copy here:
https://sourceforge....uick%20MacOSX/0.4.1/
Test it, and report any bugs.
 :Thmbsup:

324
Living Room / Re: The Dreams thread...
« on: March 24, 2015, 07:24 PM »
I had a dream the other night, that I and the regular #donationcoder IRC denizens were trying to survive in a time that was right on the edge of falling into a 'Post-Apocalyptic' scenario ('Mid-Apocalyptic?').  All we had was a raft of canned goods and some rag-tag assemblies of various floating devices (pool toys, rubber rafts, a half-sunk plastic kayak, etc.) in which we tried to escape the chaos by floating down a river with our stuff.  I remember us yelling at each other a lot, usually to call attention to some floating thing that had a leak.   
:huh:

325
!! New Version - 0.4.1 !!

Lots of new codes and slightly different look.  I abandoned the custom title bar and hide button in favor of native window decorations and hijacking the Close button for hiding the window.

Changelog:
2015 Mar 21: Ver. 0.4.1
-Added '-h' or '-hide' command-line switch to make the window hide on startup, like the old PasteQuick.
-Added a space at the top showing which login you are under. **NOTE: if you have logged in under a previous version of PasteQuick, please do the login process again to show your login name.
-Streamlined a few bits of code.
-Removed panel and hide button; now PasteQuick uses native window decorations.  The Close (X) button will simply hide the window. This also fixed a bug:
-Bugfix: In 32-bit GTK2, moving the window would make it jump all over the place.
-Bugfix: when starting up with login saved, a second "Private" entry would show up in the privacy drop-down menu.

As always: http://pastequick.sourceforge.net

Pages: prev1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 121next