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 Cockos have an office or does everyone work from home?
Asked by John (69.15.110.x) on August 19 2011, 9:48am
Reply on August 21 2011, 2:36pm:
    We have offices and we work from home.
Comment...
Question: Hi Justin. Lots of professional/amatuer composers on the Reaper forums. Any chance of getting a composition subforum?
Asked by Eyes (114.73.39.x) on August 19 2011, 8:53am
Reply on August 21 2011, 2:36pm:
    Interesting.
Comment...
Question: Does over-engineered OOP solutions piss you off?
Asked by Will (24.234.128.x) on August 17 2011, 6:04pm
Reply on August 18 2011, 7:49pm:
    Piss me off? No. Annoy me into avoiding that code? Yes.
Comment...
Question: You should tell this Martin guy that REAPER has a forum, where he can post such things.
Asked by Charlie (161.148.171.x) on August 17 2011, 4:31pm
Reply on August 18 2011, 7:49pm:
    True indeed.
Comment...
Question: Any new plugins planned for R4? The selection of plugins is seriously limited to mixing/mastering. Nothing fun for musicians
Asked by Bharath (59.92.128.x) on August 16 2011, 10:45pm
Reply on August 18 2011, 7:49pm:
    This belongs on the forums, but nothing specific planned at the moment.
Comment...
Question: Do you plan to implement a "search" option for askjf.com? It would be useful.
Asked by Stench (67.88.171.x) on August 16 2011, 8:30pm
Reply on August 18 2011, 7:49pm:
    Will do soon.
Comment...
Question: What do you use generate the 2048 bits for your asymmetrical encryption (rsa)? How do you generate large prime numbers?
Asked by Stench (67.88.171.x) on August 16 2011, 2:01pm
Reply on August 16 2011, 4:57pm:
    libtomcrypt has some good examples.
Comment...
Question: i'm still stuck with swell's interface to NSMenus. How can i disable an item in the 1st menu? E.g. About MyApp? thx
Asked by olilarkin (80.2.114.x) on August 16 2011, 7:33am
Reply on August 18 2011, 7:50pm:
    Might be easiest to have some objective C code that casts HMENU to NSMenu and operates on them directly..
Comment...
Question: The C++ exception handling is known for adding a lot of overhead to the generated code. Do you use C++ exception handling?
Asked by Rodrigo (200.146.126.x) on August 16 2011, 12:16am
Reply on August 16 2011, 2:45am:
    I'm not totally sure what the real overhead to generated code is.. I know it does add some size to most functions. I don't much like the exception model, honestly, it raises too many questions about what happens in various cases. I like to keep it lower level.
Comment...
Question: Will we finally see freeze in reaper 4.x? :)
Asked by Martin (93.136.238.x) on August 15 2011, 8:02pm
Reply on August 16 2011, 2:45am:
    Render stems is getting a lot faster in 4.02.
Comment...
Question: Would it be possible to create a burn dialog for DDP in Reaper?
Asked by Wyatt (76.3.251.x) on August 15 2011, 2:37pm
Reply on August 16 2011, 2:45am:
    Possibly, Sergej, the guy who has done the DDP work, has a lot of stuff we need to integrate.
Comment...
Question: How did you learn certain ways of writing code are faster than others (code gen question below)
Asked by John (70.173.150.x) on August 14 2011, 7:58pm
Reply on August 14 2011, 8:22pm:
    You can theorize about what a compiler will do, but nothing quite beats using g++ -O -S (or cl.exe /Fafile.asm) and looking at the generated assembler output, which shows you the exact code being generated.
Comment...
Question: Probably a WT question: What's the font for "Digital Audio Workstation" @ reaper.fm/siteimages/logo4.jpg
Asked by gio (62.103.65.x) on August 14 2011, 11:33am
Reply on August 21 2011, 2:58pm:
    I should ask him.
Comment...
Question: What helps you most when you're stuck on a coding problem and getting nowhere?
Asked by schmoe (96.55.149.x) on August 14 2011, 1:28am
Reply on August 14 2011, 8:22pm:
    Doing other things and coming back to it. 'git stash' is hugely awesome for this.
Comment...
Question: Do you use to return objects from functions? Is there anything wrong with this practice? Example: pastebin.com/x1SB2bZ6
Asked by Rodrigo (189.26.130.x) on August 13 2011, 12:33pm
Reply on August 13 2011, 5:22pm (edited at August 13 2011, 7:51pm):
    I don't usually return structs, just out of habit, since at one point in my life it wasn't always possible.

    As far as performance/code generation go goes, assuming the structure type is simple (and doesn't have copy constructors, destructors, etc), it appears that they should compile to very close to the same code. Note that the form of:
      RECT r = someFunc(); // or: RECT r; someFunc2(&r);
      printf("%d %d",r.left,r.top);
    
    is often faster / smaller than:
      printf("%d %d",someFunc().left,someFunc().top);
    
    ...due to the fact that the compiler might call the code in someFunc twice, unless it is a trivially inlineable function that does change any state... that style is relying more on the compiler.
Comment...
Question: What video games are you playing your free time?
Asked by gio (62.103.65.x) on August 13 2011, 10:52am
Reply on August 13 2011, 5:23pm:
    Mostly RE5 mercenaries mode, at this point. PS3, split screen.
Comment...
Question: isn't glovepie cool? bit.ly/oX1GZu - input/output emulator...
Asked by Lefty (67.188.40.x) on August 13 2011, 5:11am
Reply on August 13 2011, 7:52pm:
    Ah neat, though it took me a while to figure out what it did.
Comment...
Question: what is "the mines" you posted on your blog??
Asked by andrew (173.165.1.x) on August 12 2011, 7:40pm
Reply on August 13 2011, 2:11am:
    Resident Evil 5, Mercenaries mode. Actually Mercenaries "Reunion" mode.
Comment...
Question: Why did you choose Ubuntu for a production server over Debian? Any particular reason?
Asked by Will (24.234.128.x) on August 12 2011, 5:37pm
Reply on August 13 2011, 2:10am:
    No real reason over Debian, other than just being used to using it.
Comment...
Question: Do you agree with evolvingtrends.wordpress.com/2011/08/11/open-letter-to-anonymous...
Asked by automenta.com (24.131.65.x) on August 11 2011, 7:11pm
Reply on August 12 2011, 2:09am:
    You lost me at Gnutella, but I think there could be something very cool with Javascript encrypted content being transmitted across the web. Long live client side end to end encryption!
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS