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: 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...
Question: Hello Justin, loving the 4 :) ....Have you ever heard of or even used PureBasic? I've always dreamed of using PB in Jesusonic..
Asked by Vocalid (77.239.61.x) on August 11 2011, 5:36am
Reply on August 12 2011, 2:09am:
    I haven't used it, no..
Comment...
Question: In your opinion, which is the most complex part of Reaper, code-wise? Do you have any funny comments in your code? :)
Asked by EvilDragon (78.3.242.x) on August 10 2011, 8:48pm
Reply on August 12 2011, 2:10am:
    It's probably something stupid, like handling of vertical zooming. The stuff that you would think is more complex has actually gotten quite elegant, whereas the really trivial things that should be easy are old nasty code that needs to be replaced.
Comment...
Question: In response to billybob: no way! Chrome menu bar overriding is a complete aberration!
Asked by sillyposter (161.148.171.x) on August 10 2011, 3:20pm
Reply on August 12 2011, 2:10am (edited at August 12 2011, 2:11am):
    I agree, I like the standard Windows menu.
Comment...
Question: Yes. Give it Reaper colors and what not. Looks like the Chrome browser overrides it for example.
Asked by billybob (69.15.110.x) on August 10 2011, 11:31am
Reply on August 12 2011, 2:11am:
    Answered above.
Comment...
Question: for aws, do you use ec2? if so, what instance do you run? ubuntu, redhat?
Asked by Justin (173.55.193.x) on August 9 2011, 9:38pm
Reply on August 10 2011, 1:42am:
    Yes, and our instances are mostly ubuntu.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS