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: PlayPreviewEx "family": what do mean the parameters "bufflags" and "msi" ?
Asked by frenchos (188.224.0.x) on December 20 2011, 9:21pm
Reply on December 21 2011, 12:31am:
    If 1 is set in bufflags, it will buffer-ahead (in case your source needs to do some cpu intensive processing, a good idea -- if it needs to be low latency, then don't set the 1 bit).

    MSI is the measure start interval, which if set to n greater than 0, means start synchronized to playback synchronized to a multiple of n measures..
Comment...
Question: Do you have any kind of IRA?
Asked by Will (24.234.206.x) on December 20 2011, 8:55pm
Reply on December 21 2011, 12:29am:
    Yes, which reminds me I need I need another.
Comment...
Question: How you measure cpu & memory consumption in REAPER? asking cause I can't find the regular win32 calls in swell etc.
Asked by gio (62.103.65.x) on December 18 2011, 10:53pm
Reply on December 19 2011, 5:08pm:
    For Win32 it's non-obvious and not a standard API, unfortunately, it involves reading a bunch of undocumented registry keys. For OSX we use malloc_zone_statistics() and getrusage().
Comment...
Question: C has very few fancy language constructs, yet you can do anything with it. Are new language features really worth anything?
Asked by Will (70.173.150.x) on December 18 2011, 7:28pm
Reply on December 18 2011, 9:01pm:
    Sure, for example, having member functions that have an implicit "this" pointer takes a great deal of pain-in-the-ass away (I'll admit this is at the expense of scope clarity -- hence, it makes sense to prefix member variables with m_ or similar so you never have to worry about "is this local or is this a member?" -- but this is not hugely different from local vs global data anyway). Also templates can be very handy, too, otherwise in C you use other kludges like big nasty #define based macros, or #define + #include, etc. Having said that, I do end up doing those as well, at times.
Comment...
Question: Is it safe to leave my girlfriend alone for some quality programming on a Saturday night?
Asked by gio (62.103.65.x) on December 18 2011, 12:54am
Reply on December 18 2011, 1:43am:
    Depends on how good of a programmer she is, I suppose?
Comment...
Question: ...approaching Christmas, have you got a wish list for Santa? :O
Asked by gio (62.103.65.x) on December 17 2011, 10:37pm
Reply on December 18 2011, 1:44am:
    Not really, I'm sure I'm on his naughty list anyway.
Comment...
Question: Have you got any clue why many people avoid GPLv3 like plague?
Asked by gio (62.103.65.x) on December 17 2011, 8:26pm
Reply on December 18 2011, 1:46am:
    I suppose one could say GPL3::GPL2::::GPL2::BSD or something, and GPL2 is nice and in the middle? I end up preferring LGPL or BSD myself.
Comment...
Question: Re:(functional) human error man.. Do you take advantage of intrinsic functions for MMX, SSE etc in REAPER for speed improvement?
Asked by gio (62.103.65.x) on December 17 2011, 7:15pm
Reply on December 18 2011, 1:46am:
    Functional programming being a way around human error? Or human error to repost (if so, no worries). I never bother with intrinsic functions anymore, and even then I'd probably use inline assembly (though we use little of it now).
Comment...
Question: What's your thoughts about functional programming languages?
Asked by gio (62.103.65.x) on December 16 2011, 7:45am
Reply on December 17 2011, 2:54am:
Comment...
Question: Do you feel you owe gratitude for your current position in life to Dieter Seitzer?
Asked by John (24.234.206.x) on December 16 2011, 12:28am
Reply on December 16 2011, 4:45am:
    Hmm not really, but respek.
Comment...
Question: developers.slashdot.org/story/11/12/14/1725205/firefox-too-big-t... Layman translation? :(
Asked by John (24.234.206.x) on December 14 2011, 6:34pm
Reply on December 16 2011, 4:45am:
    In short: it takes a huge amount of memory to do a very specialized sort of optimized compiling of FireFox, a type that many/most people don't bother with anyway.
Comment...
Question: Do you ever check out recent builds of WinAMP to see what they're doing with it, or do you not care?
Asked by Will (70.173.150.x) on December 14 2011, 4:41pm
Reply on December 16 2011, 4:46am:
    Not so much as of late, but perhaps I should.
Comment...
Question: Do you still keep in touch with Dmitry Boldyrev? I google imaged his ass & I couldn't find anything. How is this even possible!?
Asked by SamSweet (206.217.221.x) on December 12 2011, 7:42pm
Reply on December 13 2011, 8:58pm:
    I don't, and haven't for a very long time.
Comment...
Question: whos responsible for introducing you to such great music? For you to listen while looking out your window bit.ly/ca0vPs
Asked by AnalSeducer (206.217.221.x) on December 12 2011, 5:15pm
Reply on December 13 2011, 8:58pm:
    Friends often recommend albums...
Comment...
Question: "Oh my God! Oh my God! My twin brother has been SHOT!" haha what kind of bands do you like from the 60's-70's? Floyd? Beatles?
Asked by AnalSeducer (206.217.221.x) on December 12 2011, 6:36am
Reply on December 12 2011, 2:41pm:
    Yeah, also Television and Can come to mind.
Comment...
Question: Re: watermelon. I simply think it's one of the tastiest fruits on the world. Only rivalled by pineapple and apricot. :P
Asked by EvilDragon (78.3.250.x) on December 11 2011, 7:08pm
Reply on December 12 2011, 2:41pm:
    It's pretty good, I'd agree, but not in my top 5.
Comment...
Question: If you were to design a new p2p file sharing system today, would you use distributed hash tables?
Asked by Mr. Distributed (46.182.201.x) on December 11 2011, 4:05am
Reply on December 11 2011, 3:24pm:
    Probably.
Comment...
Question: Which games did you enjoy the most on the original xbox?
Asked by Will (70.173.150.x) on December 11 2011, 12:29am
Reply on December 11 2011, 3:25pm:
    Hmm MAME I think. :)
Comment...
Question: What is better for programming? Caffeine or Provigil?
Asked by MagnetMan (79.120.86.x) on December 10 2011, 2:53am
Reply on December 11 2011, 3:25pm:
    I only know the first one, and I am having some right now.
Comment...
Question: Watermelon? :)
Asked by EvilDragon (88.207.79.x) on December 8 2011, 1:28pm
Reply on December 11 2011, 3:25pm:
    Yes?
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS