[QUOTE=Ott;47519103][t]http://i61.tinypic.com/33z7l2f.jpg[/t]
Does anybody know what the syntax for if statements are?[/QUOTE]
Holy crap I learned to program on a TI-83! Check out my old game: [url]http://www.ticalc.org/archives/files/fileinfo/378/37829.html[/url]
Also I believe its If X Then Y Else Z End.
[QUOTE=geel9;47520349]amc you're obviously a very talented programmer and people here respect the work you've done. i don't get why you feel the need to post about how much money you make -- nobody here cares about that and to be quite frank it gives off a terrible impression.[/QUOTE]
mac user
[QUOTE=Rocket;47520773]today on waywo we find out that people use different things depending on what they prefer[/QUOTE]
absolutely unacceptable
[QUOTE=Ott;47519103][t]http://i61.tinypic.com/33z7l2f.jpg[/t]
Does anybody know what the syntax for if statements are?[/QUOTE]
[url]http://en.wikibooks.org/wiki/TI-Basic_84_Programming/Conditional_Functions[/url]
Slowly getting the 'little features' worked into [URL="https://github.com/Sidneys1/BatchImageProcessor"]Batch Image Processor[/URL]. Where previously you could only disable entire categories of processing per image, you can specify the exact options you want to use. You can also now rename files (whoooo =P ) as well as drag files and folders onto the *.exe and have it import them (similar to the CLI).
GUI/CLI/Model are now all split into separate projects to prevent accidental cross-referencing (downside: cli is now a separate EXE, though now I can properly use the Console), and I streamlined the processing engine's various processing categories into static methods that take in a Option class as a parameter (making it easy have option overrides per-file). Last thing I want to implement before calling it 'done' is drag-drop files/folders onto the window, which should (in theory) be pretty straightforward.
RAW file importing is now significantly more powerful (using dcraw) and allows you to choose any of the dcraw arguments with a pretty GUI when you import them or at any time by right-clicking and selecting "Edit Raw File Settings..."
Also added an 'Edit with paint.net' menuitem on each image (only visible if paint.net is installed) that uses the registry to find pdn's install directory. This is a little bit of a throwback to BIP v1 (what I'm working on here is technically v2) which was a WinForms program I wrote long for a Paint.NET user forum. Also, you can access the explorer shell context menu for any file by shift-right-clicking on it.
If there are any feature suggestions, I'd love to hear them! For now, test [URL="https://github.com/Sidneys1/BatchImageProcessor/releases/tag/v0.2-beta"]Beta 2[/URL] and submit any bug reports :)
[editline]xx[/editline]
Oh! I also plan to add savable presets for when you find just the right gamma balance for your HDR.
Rocket got subroutines working again, and they can now be confined to a scope.
[IMG]http://i.imgur.com/LPGV45J.png[/IMG]
This will be extremely useful for when I don't want to publicly expose a subroutine I only need for a small part of a pattern.
(Note: The crappy run time is due to static initializers being run on the first pattern execution. The actual pattern itself takes a fraction of the time shown.)
[QUOTE=JohanGS;47520383]i like hearing about money
interesting to know about and jealousy has no place in here[/QUOTE]
I was literally washing dishes three years ago for a living. Now I work for a game studio, writing AI scripts, designing raiding areas, getting paid salary. (If I could post pictures of what I'm doing I would, but I'm under an NDA)
Remember that RTS I've been making?
That's what got me the job, not a 4 year degree. I'm still going to school for the massive resume' booster but if you have the talent it shows.
Speaking of that RTS by the way:
[IMG]http://s12.postimg.org/jb4sxo34t/notshit.png[/IMG]
Most of the time working on it has been spent trying to make it not look and run like shit.
If I could draw trees for the life of me then this would be easier, but god dammit trees are easy to have look like shit for some reason.
[QUOTE=Xystus234;47523829]I was literally washing dishes three years ago for a living. Now I work for a game studio, writing AI scripts, designing raiding areas, getting paid salary. (If I could post pictures of what I'm doing I would, but I'm under an NDA)
Remember that RTS I've been making? That's what got me the job, not a 4 year degree. I'm still going to school for the massive resume' booster but if you have the talent it shows.
Speaking of that RTS by the way:
[IMG]http://s12.postimg.org/jb4sxo34t/notshit.png[/IMG]
Most of the time working on it has been spent trying to make it not look and run like shit.
If I could draw trees for the life of me then this would be easier, but god dammit trees are easy to have look like shit for some reason.[/QUOTE]
You give me hope, also I've loved watching your game evolve over time. I remember when it was in its early stages and even then I was impressed.
I was playing OpenTTD yesterday and figured it would be a fun project to try and add a "Load/Unload percentage" option to the trains. It's not going well:
[img]http://i.imgur.com/qmudmbA.png[/img]
[url]http://textcraft.netau.net/[/url]
so i just got an email warning me that this domain was about to be cancelled
I made this shit in 2010 with Skippy (DJ-J3 I think here)
it's bad.
[QUOTE=polkm;47523857]You give me hope, also I've loved watching your game evolve over time. I remember when it was in its early stages and even then I was impressed.[/QUOTE]
It's good to know I'm inspiring someone. Thank you. Hard work pays off, remember that.
...And if you tear your hair out at 3 AM because your monster trig function isn't working you can thank me later, cause that's also where I've ended up.
A little while ago we were driving a RC car around someone's room. That project used some kind of streamable PNG IIRC. Can someone link me to what that's about?
[QUOTE=Xystus234;47523829]I was literally washing dishes three years ago for a living. Now I work for a game studio, writing AI scripts, designing raiding areas, getting paid salary. (If I could post pictures of what I'm doing I would, but I'm under an NDA)
Remember that RTS I've been making?
That's what got me the job, not a 4 year degree. I'm still going to school for the massive resume' booster but if you have the talent it shows.
Speaking of that RTS by the way:
[IMG]http://s12.postimg.org/jb4sxo34t/notshit.png[/IMG]
Most of the time working on it has been spent trying to make it not look and run like shit.
If I could draw trees for the life of me then this would be easier, but god dammit trees are easy to have look like shit for some reason.[/QUOTE]
Do I detect a hint of Total Annihilation in your RTS?
[QUOTE=Darwin226;47524392]A little while ago we were driving a RC car around someone's room. That project used some kind of streamable PNG IIRC. Can someone link me to what that's about?[/QUOTE]
i'm pretty sure it used this
[url]https://github.com/jacksonliam/mjpg-streamer[/url]
[editline]14th April 2015[/editline]
[url]http://projects.bitnode.co.uk/ICC/[/url]
[QUOTE=DarKSunrise;47524436]i'm pretty sure it used this
[url]https://github.com/jacksonliam/mjpg-streamer[/url]
[editline]14th April 2015[/editline]
[url]http://projects.bitnode.co.uk/ICC/[/url][/QUOTE]
Apparently Chrome doesn't support MJPEG, but as I remember this did work in Chrome. Any ideas?
[QUOTE=geel9;47523992][url]http://textcraft.netau.net/[/url]
so i just got an email warning me that this domain was about to be cancelled
I made this shit in 2010 with Skippy (DJ-J3 I think here)
it's bad.[/QUOTE]
oh god, i remember this. :suicide:
i changed name btw.
[editline]14th April 2015[/editline]
shit it's obfuscated :(
[QUOTE=geel9;47520259]
I understand the temptation to brag about money but it just pisses [b]everyone[/b] off.[/QUOTE]
That is the point :v:
FINALLY finished my implementation of [URL="https://en.wikipedia.org/wiki/Breadth-first_search"]BFS[/URL]/[URL="https://en.wikipedia.org/wiki/Depth-first_search"]DFS[/URL] and [URL="https://en.wikipedia.org/wiki/A*_search_algorithm"]A*[/URL] state space search algorithms for an assignment. The visualizing tool and the map are not part of my work and has been supplied to us as part of the assignment. I just implemented the algorithms to find the paths.
[URL="http://a.pomf.se/czifis.mp4"]BFS/DFS (they only differ in use of FILO/FIFO stack)[/URL]
[media]http://www.youtube.com/watch?v=sQJqm2KHEqg[/media]
[URL="http://a.pomf.se/osweux.mp4"]A*[/URL]
[media]http://www.youtube.com/watch?v=DvWcvTfp2Hc[/media]
(if your browser refuses to play these, download them and use normal media player, it's H.264 MP4s but for some reason some browsers, even tho up to date, don't like these).
I know the code is horrible, but frankly, I haven't done practically any other coding except for a few tribvial scripts in Matlab for almost a year. Also, struggling with A* did remind me quite well of how trying to cut corners with your code and coding quickly and easily usually leads to spending many tormenting hours trying to find the bugs you caused by that approach, much more than coding correctly from the start would take. :v:
It's beautiful :).
[QUOTE=Darwin226;47524392]A little while ago we were driving a RC car around someone's room. That project used some kind of streamable PNG IIRC. Can someone link me to what that's about?[/QUOTE]
Hey that was my project
I embedded the MJPEG stream in the page, which should be supported by most browsers.
Here's what I made to relay the MJPEG stream to many clients:
[url]https://github.com/OliverF/mjpeg-relay[/url]
Here's what I used to stream from my Pi to the relay:
[url]https://github.com/jacksonliam/mjpg-streamer[/url]
However, I found that MJPEG streaming became unreliable pretty quickly, as clients would occasionally disconnect. It seemed to be browser-related. So I wrote some JavaScript that would pull snapshots of the stream using a simple GET and update an image in the browser with them. That's very hacky and very low FPS, so I started working on a WebSockets alternative. It's in the works, and I'll be pushing it to here:
[url]https://github.com/OliverF/mjpeg-relay[/url]
With the WebSockets approach, I'm seeing 30-60FPS, whereas before with the old JavaScript polling method it was ~13FPS. If you're actually interested, then I'll put some time in this week to get that WebSockets version out. It's done, I just need to write some JavaScript for the client
[editline]14th April 2015[/editline]
[QUOTE=Darwin226;47524584]Apparently Chrome doesn't support MJPEG, but as I remember this did work in Chrome. Any ideas?[/QUOTE]
I found Chrome's MJPEG support was always a bit iffy. Some days it'd work fine, then an update would break it. It's not exactly high-priority for Google I guess, it's a very old technology. But, it works great for fast moving things because it's not inter-frame compressed.
[QUOTE=Trumple;47525380]...which should be supported by most browsers...[/QUOTE]
It's even [URL="https://status.modern.ie/motionjpegmjpg"]in development[/URL] for IE/Spartan. Should be universally standard after that.
[QUOTE=smidge146;47524424]Do I detect a hint of Total Annihilation in your RTS?[/QUOTE]
Yeah its basically that but modern warfare with a bit of CnC instead of robots.
[QUOTE=Sidneys1;47525427]It's even [URL="https://status.modern.ie/motionjpegmjpg"]in development[/URL] for IE/Spartan. Should be universally standard after that.[/QUOTE]
That's weird. I thought it was getting phased out. I suppose IP cameras use it still so I guess there's a demand
[QUOTE=Trumple;47525380]Hey that was my project
I embedded the MJPEG stream in the page, which should be supported by most browsers.
Here's what I made to relay the MJPEG stream to many clients:
[url]https://github.com/OliverF/mjpeg-relay[/url]
Here's what I used to stream from my Pi to the relay:
[url]https://github.com/jacksonliam/mjpg-streamer[/url]
However, I found that MJPEG streaming became unreliable pretty quickly, as clients would occasionally disconnect. It seemed to be browser-related. So I wrote some JavaScript that would pull snapshots of the stream using a simple GET and update an image in the browser with them. That's very hacky and very low FPS, so I started working on a WebSockets alternative. It's in the works, and I'll be pushing it to here:
[url]https://github.com/OliverF/mjpeg-relay[/url]
With the WebSockets approach, I'm seeing 30-60FPS, whereas before with the old JavaScript polling method it was ~13FPS. If you're actually interested, then I'll put some time in this week to get that WebSockets version out. It's done, I just need to write some JavaScript for the client
[editline]14th April 2015[/editline]
I found Chrome's MJPEG support was always a bit iffy. Some days it'd work fine, then an update would break it. It's not exactly high-priority for Google I guess, it's a very old technology. But, it works great for fast moving things because it's not inter-frame compressed.[/QUOTE]
I'm actually interested in MJPEG because a program I'm trying to extend basically only allows embedding images. It uses Chrome's renderer for UI so it's viable that this could work.
Haven't managed to do it yet, though.
[QUOTE=Xystus234;47523829]I was literally washing dishes three years ago for a living. Now I work for a game studio, writing AI scripts, designing raiding areas, getting paid salary. (If I could post pictures of what I'm doing I would, but I'm under an NDA)
Remember that RTS I've been making?
That's what got me the job, not a 4 year degree. I'm still going to school for the massive resume' booster but if you have the talent it shows.
[/QUOTE]
I second this. A degree isn't needed as long as you can prove your talent and passion some other way. I didn't complete college because I was so tired of school I got depressed.
It took a little while to find a job, I admit that, but once I got the chance to prove what I could do I climbed quickly. I now work as a consultant for IKEA IT setting up monitoring for their services.
[QUOTE=Darwin226;47525820]I'm actually interested in MJPEG because a program I'm trying to extend basically only allows embedding images. It uses Chrome's renderer for UI so it's viable that this could work.
Haven't managed to do it yet, though.[/QUOTE]
What are you having trouble with? Maybe I can help
Also if you need a test MJPEG stream, there's one here:
[url]http://mjpeg.sanford.io/[/url]
[QUOTE=Dr Magnusson;47523931]I was playing OpenTTD yesterday and figured it would be a fun project to try and add a "Load/Unload percentage" option to the trains. It's not going well:
[img]http://i.imgur.com/qmudmbA.png[/img][/QUOTE]
As an avid OpenTTD player, this is actually much needed. Conditional orders are absolute garbage.
[QUOTE=Trumple;47525944]What are you having trouble with? Maybe I can help
Also if you need a test MJPEG stream, there's one here:
[url]http://mjpeg.sanford.io/[/url][/QUOTE]
Yeah, when I open that image by itself it doesn't work in Chrome.
[QUOTE=Darwin226;47526165]Yeah, when I open that image by itself it doesn't work in Chrome.[/QUOTE]
Can you embed JavaScript in this program you're trying to extend?
Sorry, you need to Log In to post a reply to this thread.