justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]

Question: Does differing i/o latencies negatively affect timing or anything in Reaper?
Asked by Wino (101.119.25.x) on February 13 2013, 3:26am
Reply on February 13 2013, 4:13am:
    Howso?
Comment...
Question: Don't get left behind on Win32 Justin :) youtube.com/watch?v=Rj49rmc01Hs 17m32s in
Asked by Will (24.234.85.x) on February 13 2013, 1:11am
Reply on February 13 2013, 4:13am (edited at February 13 2013, 4:14am):
    Mmm good stuff. I do like javascript, it's really the DOM and CSS that make me sad. Watching that, however, I find myself wanting to add an 'int' hint for EEL2 variables so you can have it optimize integer operations...
Comment...
Question: North Korea's nuclear test is successful, how do you see?
Asked by noeth (85.49.232.x) on February 12 2013, 2:36pm
Reply on February 13 2013, 4:14am:
    It's crazy to think about how even if the leader of North Korea wanted to end the isolation, he probably couldn't, since others in the military would prevent it... :/
Comment...
Question: Wow, thanks for mentioning Steven Wittens. Loving his blog!
Asked by ees. (69.15.110.x) on February 12 2013, 11:58am
Reply on February 12 2013, 1:34pm:
    <3 Unconed.
Comment...
Question: How can Midi controllers be used to control other software?
Asked by Scott (99.58.136.x) on February 12 2013, 1:53am
Reply on February 12 2013, 1:34pm:
    You'd need a software layer to handle that.
Comment...
Question: What do you use to abstract ASCII/UTF-8/UTF-16 stuff?
Asked by Rodrigo (177.96.55.x) on February 11 2013, 11:41am
Reply on February 12 2013, 1:34pm:
    I just try to use ASCII/UTF-8, and we have some wrappers to make a lot of win32 single-byte character APIs take UTF-8 (something which I still don't get why MS never added support for).
Comment...
Question: Can you relate to this? xkcd.com/1172/
Asked by Mick (203.149.85.x) on February 11 2013, 5:19am
Reply on February 12 2013, 1:33pm:
    Totally.
Comment...
Question: tinyurl.com/a8fwgtd -> does Reaper show up/support all 64 chars that getParameterProperties() provides? If not, please?
Asked by EvilDragon (88.207.58.x) on February 10 2013, 9:24pm
Reply on February 10 2013, 11:07pm:
    pretty much betrays the note above.
Comment...
Question: Naming the baby. ReaRubber? ReaGumby?
Asked by Elmer Fudd (76.226.161.x) on February 10 2013, 12:30am
Reply on February 10 2013, 11:07pm:
    Stretchies!
Comment...
Question: what do you think of the new itunes UI?
Asked by Will (70.173.150.x) on February 9 2013, 6:22pm
Reply on February 10 2013, 11:07pm:
    I'm indifferent -- it's hard to care about things like that.
Comment...
Question: One example in STL that you really, really don't like?
Asked by Martin (93.136.22.x) on February 9 2013, 5:43pm
Reply on February 10 2013, 11:06pm:
    I'd have to go make one up, as it's been so long since I've done any STL stuff... OK here's one: I think exceptions are a really awful construct and should pretty much never be used.
Comment...
Question: Do you follow xkcd.com?
Asked by Tinny (88.207.127.x) on February 8 2013, 2:28pm
Reply on February 8 2013, 9:00pm:
    Not really, but I confess I'm not really in to comics.
Comment...
Question: Thanks for dropping the stalking charges haha. Have you seen "Searching For Sugar Man" also check this out bit.ly/TG0ypp
Asked by AnalSeducer (67.215.231.x) on February 8 2013, 5:14am
Reply on February 8 2013, 9:00pm:
    Haven't seen it.
Comment...
Question: Maybe this guy could be added to your list of respected programmers? bellard.org/
Asked by Will (24.234.85.x) on February 8 2013, 12:57am
Reply on February 8 2013, 9:00pm (edited at February 8 2013, 9:01pm):
    I don't really keep a list, but I saw that javascript PC emulator and thought it was completely awesome.
Comment...
Question: Still use winamp?Or use other players?
Asked by gepao (84.79.188.x) on February 8 2013, 12:11am
Reply on February 8 2013, 9:01pm:
    Yep, mostly. Or my iphone.
Comment...
Question: Will you let us style askjf to look better? :P
Asked by Will (24.234.85.x) on February 7 2013, 11:25pm
Reply on February 8 2013, 9:01pm:
    Is it really worth bothering? give me yur css.
Comment...
Question: What blogs do you read?
Asked by ees. (69.15.110.x) on February 7 2013, 7:36pm
Reply on February 7 2013, 7:54pm:
    Off the top of my head, The Old New Thing, Coding Horror, virtualdub.org (rarely, it isn't often updated). I also end up reading blogs via twitter (Paul Krugman, Steven Wittens, others too).
Comment...
Question: What language would you imagine that aliens code in?
Asked by NuttyProfessor (76.226.116.x) on February 7 2013, 2:21am
Reply on February 7 2013, 2:50am:
    assembly, no doubt, but I can't imagine the instruction set.
Comment...
Question: On your b-tree code, wouldn't the lh operand in the return recursively execute before the rh, throwing off the original reqs?
Asked by Will (24.234.85.x) on February 6 2013, 10:44pm
Reply on February 7 2013, 2:49am (edited at February 7 2013, 3:42am):
    Yes (it processes left before right), but no, it does what (as I understood, anyway) the requirements specified, since each top level call to the recursive function only prints a single level of the tree, so the left-to-rightness is what you want. Edit: here, this might be easier to understand (exact same function, just more clear code):
    f(h, levelToPrint, currentLevel) {
        if (currentLevel > levelToPrint) return 0;
        if (!h) {
            if (currentLevel == levelToPrint) print("(null)");
            return 0;
        }
        if (currentLevel == levelToPrint) {
            print(h);
            return 1;
        }
        return f(h.left,levelToPrint, currentLevel+1) + f(h.right,levelToPrint, currentLevel+1);
    }
    
    levelToPrint=0;
    while (f(tree,levelToPrint++,0)) print("\n");
    
Comment...
Question: I was so blind aghhhhh - Justin, thank you so much for opening my eyes with the delay class - you are genius :)
Asked by Franci (89.142.37.x) on February 6 2013, 8:30pm
Reply on February 7 2013, 2:49am:
    Glad I could help!
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS