This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Tjakka5's profile picture

Todo list.

Started by Tjakka5, 15 June 2013 - 06:16 AM
Tjakka5 #1
Posted 15 June 2013 - 08:16 AM
Hey guys,


Someone requested a To-Do list, and I deciced to make one, and here it is.


Features:
SpoilerNifty design with multiple lines to put tasks.



Multiple pages.




Simple way to add and remove tasks.




Instant update.




Different size compatibility.




Virtually unlimited pages.



Get it now with this installer:
vFaHf7pK
or
http://pastebin.com/vFaHf7pK

Older versions:
SpoilerV 1.1.1
SpoilerwmbhNMR0
or
http://pastebin.com/wmbhNMR0

V 1.1
SpoilerxMcjpVFrs
or
http://pastebin.com/xMcjpVFs

V 1.0
SpoilervugHExbj
Or
http://pastebin.com/vugHExbj

Current bugs:
SpoilerNone :D/>
111poiss111 #2
Posted 15 June 2013 - 11:32 AM
I was looking this exact same forum yesterday for Todo list program and couldn't find one. So I made my own Todo list program. You were one day late :D/>
Tjakka5 #3
Posted 15 June 2013 - 11:36 AM
I was looking this exact same forum yesterday for Todo list program and couldn't find one. So I made my own Todo list program. You were one day late :D/>

Oooh, can you share the code? I would love to have a look at it.
ArchAngel075 #4
Posted 15 June 2013 - 01:02 PM
pretty neat, here is some suggestions if your up for it :

Jump to #/task
-input a number or task and it jumps to its page.

Filter
-filter out/in words to display certain tasks.

Hooks
-Allow a external program to edit the list, so that automated CC programs can update the list!
Tjakka5 #5
Posted 15 June 2013 - 01:23 PM
pretty neat, here is some suggestions if your up for it :

Jump to #/task
-input a number or task and it jumps to its page.

Filter
-filter out/in words to display certain tasks.

Hooks
-Allow a external program to edit the list, so that automated CC programs can update the list!

Ooh, I didnt think of any of that, will definatly create that after I get this massive bug fixed…
anthonysteck #6
Posted 15 June 2013 - 01:33 PM
Thxs man :)/>
anthonysteck #7
Posted 15 June 2013 - 01:41 PM
I get this bug : \/\/\/\/
ArchAngel075 #8
Posted 15 June 2013 - 01:45 PM
I get this bug : \/\/\/\/


Are you using a monitor on the right?

edit:
DERP
in image there is a monitor on right…

in todo you wrap the monitor to m AFTER you try to get peripheral m's size with m.getSize()
Move the wrap above the m.getSize() and it should work.



at program author :
Looked at Todo file,
I think you should have it request what side the monitor is on on first startup, then edit a config file to save it?
anthonysteck #9
Posted 15 June 2013 - 01:59 PM
I get this bug : \/\/\/\/


Are you using a monitor on the right?

edit:
DERP
in image there is a monitor on right…

in todo you wrap the monitor to m AFTER you try to get peripheral m's size with m.getSize()
Move the wrap above the m.getSize() and it should work.



at program author :
Looked at Todo file,
I think you should have it request what side the monitor is on on first startup, then edit a config file to save it?
Got it thanks!


Just a question is one of the bugs where you cant delete a task?
svdragster #10
Posted 15 June 2013 - 02:06 PM
Wow actually something useful!
jesusthekiller #11
Posted 15 June 2013 - 02:28 PM
Pretty nice :)/>
ArchAngel075 #12
Posted 15 June 2013 - 02:42 PM
so this popped in my head :

"Oh a request for a Todo program?! sure!"
"Now i need to plan how its ginna work.. damn wish i had a Todo program to help me!"
*writes a todo program*
"Now to list what i need for a Todo program*

:D/>

anyways :
It is a great program, and useful. I can almost suggest database feature (multiple clients hook into a single database to share lists)
Tjakka5 #13
Posted 15 June 2013 - 03:18 PM
Thanks for the great feedback everyone :D/>

I had that bug reported above also, and I tought I fixed it…
Maybe I accidentaly didnt save it.


And all the things that were suggested will be implemented some time in the near future.

Just a question is one of the bugs where you cant delete a task?

Ehm… no?
I'll have a look at that too…



I would also like some feedback about the installer, was it decent for a first installer ever?
anthonysteck #14
Posted 15 June 2013 - 03:37 PM
I would also like some feedback about the installer, was it decent for a first installer ever?
yea AWESOME it was easy and hasle free :)/>
Tjakka5 #15
Posted 15 June 2013 - 03:47 PM
Great :)/>
ArchAngel075 #16
Posted 15 June 2013 - 04:11 PM
I would also like some feedback about the installer, was it decent for a first installer ever?

May i suggest using http://www.computercraft.info/forums2/index.php?/topic/11226-fixed-package-maker-easy-program-distribution/ for non pastebin installer?, simply packege the two programs you pastebin DL instead, though this requires upload…

But otherwise its simple and good :)/>
111poiss111 #17
Posted 15 June 2013 - 04:23 PM
I was looking this exact same forum yesterday for Todo list program and couldn't find one. So I made my own Todo list program. You were one day late :D/>

Oooh, can you share the code? I would love to have a look at it.

Mine works totally different from yours and is not ment for monitors.But if you want, here is my code: http://pastebin.com/Nmu6dCzy
Tjakka5 #18
Posted 15 June 2013 - 05:16 PM
Well, im going to bed, hopefully I'll be able to fix the dang bug tomorrow.
GravityScore #19
Posted 15 June 2013 - 09:31 PM
Looks good! Few friendly suggestions:

- Dynamically determine the monitor side, and alert the user if there is no monitor attached. Eg:

local side = nil
for _, s in pairs(rs.getSides()) do
  if peripheral.getType(s) == "monitor" then
    side = s
  end
end

if not side then
  print("D::::::: YUNOHAVE MONITOR ATTACHED!")
  error()
end

local mon = peripheral.wrap(side)
local w, h = mon.getSize()

- Instead of
(c == 12) or (b == 13) or (b == 14) or (b == 15) or (b == 16) or (b == 17) or (b == 18)
try
(c == 12) or (b >= 13 and b <= 18)

- Please don't make us wait 5 seconds before shutting down the computer if there's a problem during install.
Tjakka5 #20
Posted 16 June 2013 - 01:43 AM
Looks good! Few friendly suggestions:

- Dynamically determine the monitor side, and alert the user if there is no monitor attached. Eg:

local side = nil
for _, s in pairs(rs.getSides()) do
  if peripheral.getType(s) == "monitor" then
	side = s
  end
end

if not side then
  print("D::::::: YUNOHAVE MONITOR ATTACHED!")
  error()
end

local mon = peripheral.wrap(side)
local w, h = mon.getSize()

- Instead of
(c == 12) or (b == 13) or (b == 14) or (b == 15) or (b == 16) or (b == 17) or (b == 18)
try
(c == 12) or (b >= 13 and b <= 18)

- Please don't make us wait 5 seconds before shutting down the computer if there's a problem during install.

Okay, thanks for the code.
And I will definatly change the code to press a key, instead of 5 seconds, just for you ;)/>
Tjakka5 #21
Posted 16 June 2013 - 02:08 AM
Woohoo, I finally fixed the bug, and here is the new installer:

xMcjpVFrs
or
http://pastebin.com/xMcjpVFs
Tjakka5 #22
Posted 16 June 2013 - 02:19 AM
Little update:

wmbhNMR0
or
http://pastebin.com/wmbhNMR0

EDIT:
Another update, fixed that you can't delete tasks.

vFaHf7pK
or
http://pastebin.com/vFaHf7pK
Tjakka5 #23
Posted 16 June 2013 - 09:03 AM
Any more feedback?
diegodan1893 #24
Posted 16 June 2013 - 12:29 PM
Maybe you should make it check for updates if http api is enabled.
Tjakka5 #25
Posted 16 June 2013 - 01:36 PM
Maybe you should make it check for updates if http api is enabled.

I could, but if it's not enabled, it's automatically trowhing a error, so I dont see the point…
diegodan1893 #26
Posted 16 June 2013 - 03:32 PM
I meant autoupdates
Tjakka5 #27
Posted 17 June 2013 - 05:24 AM
I wouldnt see the point in that.


Anyhow, Im currently working on the first suggestion; being able to search tasks by inputting words.
jesusthekiller #28
Posted 17 June 2013 - 05:39 AM
It's good idea actually…
Tjakka5 #29
Posted 17 June 2013 - 10:46 AM
Still working on the search function, it's quite hard for a not-so-good programmer, but my dad helped me out, and I hope to release a new version in under 2 days.
jesusthekiller #30
Posted 17 June 2013 - 10:53 AM
string.find() ?

http://lua-users.org/wiki/StringLibraryTutorial
diegodan1893 #31
Posted 17 June 2013 - 11:05 AM
Yes, a search function is a good idea. I suggested autoupdates because you released 3 updates in 2 posts.
jesusthekiller #32
Posted 17 June 2013 - 11:53 AM
Yup
Tjakka5 #33
Posted 17 June 2013 - 12:18 PM
jesusthekiller #34
Posted 17 June 2013 - 03:57 PM
Uncle Google helps sometimes ;-)
Tjakka5 #35
Posted 18 June 2013 - 02:27 AM
Uncle Google helps sometimes ;-)

I asked my dad how to do it, he told me to do it like this:


len1 = Define length of words to look trough.
len2 = Define length of key word to search for.
for i = 1, len1-len2 do
  look if string match, otherwise, do the keyword + a space and try
  again
end

Something like that.
Beaus1966 #36
Posted 29 June 2013 - 12:14 PM
could you possibly add an edit function???
Tjakka5 #37
Posted 29 June 2013 - 12:21 PM
There is a edit function…
Beaus1966 #38
Posted 30 June 2013 - 07:02 PM
There is an delete and an add but not an edit
masterdisasterHD #39
Posted 23 July 2013 - 03:21 PM
do i have permission to change some of the code?
And you should make multiple monitor support
KuroiMitsukai #40
Posted 02 September 2013 - 02:41 PM
Thanks for this!
Symmetryc #41
Posted 02 September 2013 - 08:05 PM
Nice fake loading screen and fake percentages…
Tjakka5 #42
Posted 04 September 2013 - 10:49 AM
Nice fake loading screen and fake percentages…

There isn't a loading screen, it is downloading the files.
And as far as the percentages go, I thought about adding them just for fun, and tried to keep them somewhat close to how far done it was with downloading.


Also, as this topic is kind of death now, I might as well announce this:
I am thinking about making a newer and better version of this, however, I want it to have a clean and good UI, and have as less bugs as possible, so it will take some time.
If you have any suggestions for it, feel free to post it here.
Symmetryc #43
Posted 04 September 2013 - 02:45 PM
Nice fake loading screen and fake percentages…

There isn't a loading screen, it is downloading the files.
And as far as the percentages go, I thought about adding them just for fun, and tried to keep them somewhat close to how far done it was with downloading.


Also, as this topic is kind of death now, I might as well announce this:
I am thinking about making a newer and better version of this, however, I want it to have a clean and good UI, and have as less bugs as possible, so it will take some time.
If you have any suggestions for it, feel free to post it here.
You've just put unneeded sleeps in between each progress statement or loading screen or whatever you want to call it though…
Tjakka5 #44
Posted 05 September 2013 - 01:32 PM
Nice fake loading screen and fake percentages…

There isn't a loading screen, it is downloading the files.
And as far as the percentages go, I thought about adding them just for fun, and tried to keep them somewhat close to how far done it was with downloading.


Also, as this topic is kind of death now, I might as well announce this:
I am thinking about making a newer and better version of this, however, I want it to have a clean and good UI, and have as less bugs as possible, so it will take some time.
If you have any suggestions for it, feel free to post it here.
You've just put unneeded sleeps in between each progress statement or loading screen or whatever you want to call it though…

Yes, in total it was 0.7 seconds, just to make it look a little tiny bit nicer.
Symmetryc #45
Posted 08 September 2013 - 08:49 PM
Nice fake loading screen and fake percentages…

There isn't a loading screen, it is downloading the files.
And as far as the percentages go, I thought about adding them just for fun, and tried to keep them somewhat close to how far done it was with downloading.


Also, as this topic is kind of death now, I might as well announce this:
I am thinking about making a newer and better version of this, however, I want it to have a clean and good UI, and have as less bugs as possible, so it will take some time.
If you have any suggestions for it, feel free to post it here.
You've just put unneeded sleeps in between each progress statement or loading screen or whatever you want to call it though…

Yes, in total it was 0.7 seconds, just to make it look a little tiny bit nicer.
Just because you think it makes it look nicer doesn't mean it's not fake…
BigTwisty #46
Posted 08 September 2013 - 10:43 PM
Suggestions:
  • Multi-user support. Each task could be assigned to a user, and if that user clicked a Player Detecter their specific tasks could show up. The admin would have access to all tasks
  • Multi-monitor support (This has already been suggested)
  • Pastebin sync for tasks so you can't accidentally lose them
  • Spruce up the interface with some color
  • Support selectable color schemes
  • Fully implement Microsoft Project type project planning… lol yeah right!
Looks good so far, though!
Arah #47
Posted 22 September 2013 - 02:48 PM
I have a problem with the multiple pages. My page 1 is 1-17 while page 2 is 51-67. My monitor is 5 across and 3 high. Can I get some help?
Tjakka5 #48
Posted 25 September 2013 - 01:36 PM
I have a problem with the multiple pages. My page 1 is 1-17 while page 2 is 51-67. My monitor is 5 across and 3 high. Can I get some help?

Could very be a bug in my logic, don't worry though, I'm working on a new version as we speak. ;)/>
masterdisasterHD #49
Posted 29 September 2013 - 05:09 PM
I have a problem with the multiple pages. My page 1 is 1-17 while page 2 is 51-67. My monitor is 5 across and 3 high. Can I get some help?

Could very be a bug in my logic, don't worry though, I'm working on a new version as we speak. ;)/>

Its easy to fix, you made the number multiply the x but it had to be the y
Tjakka5 #50
Posted 30 September 2013 - 08:30 AM
I have a problem with the multiple pages. My page 1 is 1-17 while page 2 is 51-67. My monitor is 5 across and 3 high. Can I get some help?

Could very be a bug in my logic, don't worry though, I'm working on a new version as we speak. ;)/>

Its easy to fix, you made the number multiply the x but it had to be the y

Yeah, that's probably it, however, I won't fix it, as I'm still (slowly) working on that new revamp thingy from scratch.
masterdisasterHD #51
Posted 30 September 2013 - 03:32 PM
Hey, i improved the program (the code is huge now), it has multiscreen support, remote control and it looks cool!

Here
Expenox #52
Posted 20 October 2013 - 12:43 AM
This is pretty neat, never would of thought up this idea! :D/> Keep up the great work!
willwac #53
Posted 18 December 2013 - 07:26 PM
Hey, will you make support for 2+ monitors?
Alice #54
Posted 18 December 2013 - 08:30 PM
I could easily do it.
Give me less than an hour and I'll add in support for two, along with a few minor bug fixes.

EDIT: Yeah, I'm not even going to begin on how bad looking at that code hurt my eyes.
It's the kind of code you accept works, but it doesn't need to be clean.
I'm not editing that.
I'll make a new one.
Edited on 18 December 2013 - 07:47 PM
Tjakka5 #55
Posted 20 December 2013 - 10:12 AM
I could easily do it.
Give me less than an hour and I'll add in support for two, along with a few minor bug fixes.

EDIT: Yeah, I'm not even going to begin on how bad looking at that code hurt my eyes.
It's the kind of code you accept works, but it doesn't need to be clean.
I'm not editing that.
I'll make a new one.

Goodluck, logic's a dick.
pmckeen #56
Posted 13 January 2016 - 10:12 PM
@Tjakka5 I've done some revisions on a very early version of your program. I didn't realize the original post didn't have an updated installer link. I'll be toying with the latest version I can find to see if the bugs I fixed / features I added are still valuable. gBvtYihF has the changes, if you want to review them and see if they're helpful to apply.

Fixed: Pagination with multiple displays @Arah needed it.
Added: Numeric input validation (a couple different ways, just playing with the concept).
Added: Bump command to push a given task to the top of the list.

Potential future feature on my side of things, depending on what you have going for your latest version (for what might be abandoned back in 2014?) is a list of completed tasks.
HPWebcamAble #57
Posted 14 January 2016 - 03:25 AM
snip

Unfortunately, the previous post on this topic was in 2013, and Tjakka5 hasn't been online since June 2014 (based on his profile)

You might be better off just making your own version of this program, and posting it in the programs section
rexthecapt #58
Posted 25 June 2016 - 09:27 PM
Is it possible to get this program syncable with a pocket computer? I am playing on a server that we have a todo list computer and i wondered if it was possible to make it so we could add/remove todo tasks straight from a pocket computer wirelessly and that get synced to the maincomputer and back out to the other computers
HydroNitrogen #59
Posted 26 June 2016 - 03:00 PM
Is it possible to get this program syncable with a pocket computer? I am playing on a server that we have a todo list computer and i wondered if it was possible to make it so we could add/remove todo tasks straight from a pocket computer wirelessly and that get synced to the maincomputer and back out to the other computers

Definetely possible! You would use a server for the easiest implementation. That server stores the data of the list, and can receive commands via RedNet API for example.
commands would be like "add item" "delete item" "mark item as done" "read all data"…