Your Digital Media Has Never Looked So Good

Search found 106 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
by sjb64
Fri Oct 30, 2015 11:22 am
Forum: Roku Developer Program
Topic: Will print statements to console cause performance issues
Replies: 6
Views: 1099

Re: Will print statements to console cause performance issue

As TheEndless said, No ... but, if you put a print statement in a large loop (record deserialization in my case) it can have a tremendous affect, as your Telnet (I use windows) tries to scroll the results up the screen. So, as he said, putting it a dev check, from 'RoApp' directly or stored on init ...
by sjb64
Thu Oct 29, 2015 11:51 am
Forum: Roku Developer Program
Topic: Brightscript requests
Replies: 8
Views: 1912

Re: Brightscript requests

But now is too late because of the existing B/S codebase that uses it every which way). Every channel, other than sideloaded, is packaged on the Roku servers. If they ever did want to create a potentially breaking change, they could literally syntax check the change against every known public and p...
by sjb64
Fri Oct 23, 2015 6:07 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

Continuation of the last post, found the issue, don't know if something I'm missing or a legit bug... Modified the VideoBanner project again, putting these lines between SetVideo() and end sub: m.top.findNode("bannerGroup").createChild("Rectangle").id = "bottomRectangle2&quo...
by sjb64
Thu Oct 22, 2015 1:10 pm
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

Followup of animations... I took the VideoBanner sample and added the following code lines to the scripts init sub (between SetVideo() and end sub) bR2nd = m.top.findNode("bannerGroup").createChild("Rectangle"): bR2nd.id = "bR2" ccA2nd = bR2nd.createChild("Animatio...
by sjb64
Thu Oct 22, 2015 12:18 pm
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

There's no reason you couldn't dynamically create all of the components for the scene via code, though. Tried that, none of the animations would run for me yet when created in code. The objects themseves did appear, and videos and timers run fine. Still messing with it tho to get the animations goi...
by sjb64
Thu Oct 22, 2015 11:45 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

If you go to http://www.blackcountrycaravans.co.uk/advanced-stocklist.aspx#key=cac44eb1-5494-4529-bc00-3723245c14db you'd see an example of the concept I was trying to play with, and why the data would be very dynamic, and therefore generated at runtime. If adding nodes at runtime (via BRS) to a gra...
by sjb64
Thu Oct 22, 2015 11:21 am
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

That qualifies as a dead end, so I'll use the XML way, but what I am trying to do involves moving tiles around that I wont know the number needed, or where they start or move to, until runtime, so I can't really have an XML file waiting with everything filled out. I assume dynamically adding posters...
by sjb64
Wed Oct 21, 2015 1:27 pm
Forum: Roku Developer Program
Topic: Beta Scene Graph Components
Replies: 225
Views: 55574

Re: Beta Scene Graph Components

Beginner SceneGraph question... A message I posted yesterday was answered by TheEndless (regarding threading) and he pointed me to look at the SceneGraph system, which I had only glimpsed at till now. It reminds me of the WPF and old Silverlight methods of XML (XAML in these systems) to define your ...
by sjb64
Wed Oct 21, 2015 10:30 am
Forum: Roku Developer Program
Topic: SDK documentation: links to fix, missing/broken/etc
Replies: 116
Views: 64169

Re: SDK Docs: links to fix, missing/broken/etc

Fixed The Language Reference, section 5.11: IF expression THEN statements [ELSE statements] "If caveman = "fred" then print "flintsone" else print "rubble"" Flintstone is misspelled! While we're worrying about details like billing and function description ...
by sjb64
Wed Oct 21, 2015 6:05 am
Forum: Roku Developer Program
Topic: Brightscript requests
Replies: 8
Views: 1912

Re: Brightscript requests

I'm just not convinced there's any legitimate scenario where you could have an uninitialized variable in your code and not want to know about it. The way you worded that I had no valid argument in my defense. That routine is now no longer in my code, although invalid checks in appropriate places st...
by sjb64
Tue Oct 20, 2015 1:21 pm
Forum: Roku Developer Program
Topic: Brightscript requests
Replies: 8
Views: 1912

Re: Brightscript requests

This is technically possible using colons... While True : some simple code : End While Yeah, I use that often, just find it a bit hacky, esp. if there is even the smallest of if statements in the loop, really trips it up One could argue that you should never have uninitialized variables in your cod...
by sjb64
Tue Oct 20, 2015 12:53 pm
Forum: Roku Developer Program
Topic: Brightscript requests
Replies: 8
Views: 1912

Re: Brightscript requests

Forgot one... A values function on associative arrays, like the new keys function. I have a function that does this as I assume many others do too, but this could be done better in an internal function than us scanning the keys and looking up the associated values. Id say array sorting too but I kno...
by sjb64
Tue Oct 20, 2015 12:34 pm
Forum: Roku Developer Program
Topic: Brightscript requests
Replies: 8
Views: 1912

Brightscript requests

A few items I'd like to see added to BRS. Figured maybe if I list them here, others will join in with ideas, and maybe some will make sense to Roku and be possible to implement without breaking existing code. Some of these have easy work arounds of course, but could be done better in the compiler I ...
by sjb64
Mon Oct 19, 2015 11:23 am
Forum: Roku Developer Program
Topic: Accessing Roku Device from Web Application
Replies: 5
Views: 1135

Re: Accessing Roku Device from Web Application

Your Roku device is very probably running on a NAT'ed IP (192...) that isn't visible outside your router, and therefore not visible to your "external" web app. You'd have to put your Roku on a static IP visible to the outside world, with all the associated security implications.
by sjb64
Mon Oct 19, 2015 10:41 am
Forum: Roku Developer Program
Topic: Utility - Change Variables In Active Channel
Replies: 5
Views: 704

Re: Utility - Change Variables In Active Channel

That's really cool and would have never thought of it, putting it in my background threading handler.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8