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: (Carmack question)... Well, it's over 2 hours long. He does give some insights on current state of game programming.
Asked by dimovich (92.115.204.x) on August 19 2009, 3:07am
Reply on August 19 2009, 6:55am:
    I'll check it out at some point.. Haven't done much game programming as of late tho...
Comment...
Question: Do you use VAX(from WholeTamato)? Do you use any other plugins for VS IDE?
Asked by Dave (222.90.231.x) on August 18 2009, 8:14pm
Reply on August 19 2009, 6:54am:
    Nope. At this point the only other thing I use is the Cockos Compiler Selector, which allows mixing ICC within a project in VC (so you can say, have some files compiled with ICC, others with VC, so you can optimize for size and speed).
Comment...
Question: How was(were) the dungen show(s)?
Asked by Tim (71.90.23.x) on August 18 2009, 6:11pm
Reply on August 19 2009, 6:53am (edited at August 19 2009, 6:55am):
    Went to one Dungen show so far, it was great! Mmmm, they're good.
Comment...
Question: How do you learn to use win32 api so effectively? How long did you take to master it? 5 years? MSDN is way too much information.
Asked by learner (209.116.42.x) on August 18 2009, 5:35pm
Reply on August 19 2009, 6:53am:
    I guess it just takes practice and experience and stuff.. There's a pretty small subset which is what you use 95% of the time. You do write a lot of dialog and window procedures, I suppose. I've started working on a guide to lightweight win32 app programming, but will likely never finish it.
Comment...
Question: Would you work on another app if a new idea arises?
Asked by Pipsqueak (67.88.171.x) on August 18 2009, 9:26am
Reply on August 18 2009, 6:57pm:
    Sure...
Comment...
Question: Whatever happen to your 911 Turbo?
Asked by Pipsqueak (67.88.171.x) on August 18 2009, 7:01am
Reply on August 18 2009, 8:37am:
    Sold it. Having a car that doesn't get driven much feels like a huge waste, considering all that's involved in upkeep, and it depreciating constantly. I'd much rather have a few extra musical instruments...
Comment...
Question: What would convert you to the newest Visual Studio? (is it just speed?)
Asked by TimbowRoo (98.203.232.x) on August 17 2009, 8:59pm
Reply on August 18 2009, 8:18am:
    The primary reason is that you can't dynamically link against a libc that is installed by default on any/most Windows installs.. For example vc6 can link against msvcrt.dll, the newer ones only msvcr60.dll etc. This makes it tough to make small packages, especially whb you have a lot of DLL files internally (which apps like reaper do).
Comment...
Question: Do you use MFC or only SDK when developing under windows?
Asked by Dave (222.90.231.x) on August 17 2009, 7:19pm
Reply on August 18 2009, 8:15am:
    Just win32, no mfc. We also dynamically load newer APIs when they aren't available on all supported OSes... I don't like MFC. At all.
Comment...
Question: Do you personally still use winamp? ... and if so, do you ever hack on extra modifications just for you? :-)
Asked by Will (68.96.206.x) on August 16 2009, 5:22pm
Reply on August 17 2009, 2:07pm:
    Yeah I still use 5.0x, but I don't do any dev for it... The closest thing I've done to that is winamp vis plugin support for reaper.
Comment...
Question: Got any good links on learning pointers and references in C++ quickly and efficiently?
Asked by John (12.157.99.x) on August 16 2009, 4:37pm
Reply on August 17 2009, 2:09pm:
    Can't think of anything off the top of my head. The biggest help for me was getting intimately familiar with assembly language and building things at that level. Once you get how it's being implemented at the instruction level, then it all should make perfect sense.
Comment...
Question: Do you get distracted while making music in REAPER by possible feature ideas that would help you at that precise moment?
Asked by drew (81.59.16.x) on August 16 2009, 3:33am
Reply on August 17 2009, 2:11pm:
    Totally -- what's great for REAPER is terrible for my music making career. It ends up that most music I end up making is live and improvised as a result.
Comment...
Question: Have you seen Carmack's keynote?
Asked by dimovich (92.115.204.x) on August 16 2009, 2:41am
Reply on August 17 2009, 2:10pm:
    No, should I?
Comment...
Question: So what happened to all your money? Any left from selling Nullsoft?
Asked by gangsta (67.88.171.x) on August 14 2009, 9:42am
Reply on August 14 2009, 3:50pm:
    Have it all sitting safely in shares of GM!
Comment...
Question: Do you see code in your head? Like Hugh Jackman's character in Swordfish?
Asked by Gangsta (67.88.171.x) on August 14 2009, 7:56am
Reply on August 14 2009, 9:27am:
    Just x86 opcodes in hex...
Comment...
Question: What is the best time to start drinking booze on a Saturday?
Asked by roberttheiii (192.249.47.x) on August 14 2009, 6:09am
Reply on August 14 2009, 9:27am:
    I'd say 11am is good for mimosas. Noon for beer, unless it's over 90F.
Comment...
Question: Sorry, this's not a question, just saying thanks to u! ^^
Asked by Dave (222.90.231.x) on August 14 2009, 3:12am
Reply on August 14 2009, 9:28am:
    Sure np!
Comment...
Question: How to make child controls transparent on a tabctrl(on a dialog), with XP themes activated? Like Preference dlg of winamp...
Asked by Dave (222.90.231.x) on August 13 2009, 5:59pm
Reply on August 13 2009, 8:33pm (edited at August 13 2009, 8:34pm):
    Hmm, you mean using a child dialog on the tab control? We use something like this (sorry it is so long and verbose, it's just crap that we include and never look at again):
      
      typedef HRESULT (WINAPI * ENABLETHEMEDIALOGTEXTURE)(HWND, DWORD);
      typedef HRESULT (WINAPI * SETWINDOWTHEME)(HWND, LPCWSTR, LPCWSTR);
      
      int IsWinXPTheme(void)
      {
        static int previousRet = -1;
        if(previousRet == -1)
        {
          HINSTANCE dll = LoadLibrary(TEXT("uxtheme.dll"));
          int is = 0;
          if(dll)
          {
            FreeLibrary(dll);
            is = 1;
          }
          previousRet = is;
          return is;
        }
        return previousRet;
      }
      
      void DoWinXPStyle(int on, HWND tab)
      {
      #define ETDT_DISABLE 0x01
      #define ETDT_ENABLE 0x02
      #define ETDT_ENABLETAB 0x06
      #define ETDT_USETABTEXTURE 0x04.
      
        ENABLETHEMEDIALOGTEXTURE pfnETDT;
        static HINSTANCE hDll = NULL;
        static int trypos=0;
        if(!hDll)
        {
          if (!trypos)
            hDll = LoadLibrary(TEXT("uxtheme.dll"));
          trypos=1;
        }
        if(hDll != NULL)
        {
          if(NULL != (pfnETDT = (ENABLETHEMEDIALOGTEXTURE)GetProcAddress(hDll,
            "EnableThemeDialogTexture"))){
            pfnETDT(tab,(on?ETDT_ENABLETAB:ETDT_DISABLE));
          }
        }
      }
      
      ...
      
      if (IsWinXPTheme()) DoWinXPStyle(1,somechildwindow);
      
      
Comment...
Question: You let me down-thought you were a baseball geek. So..how about that ZuneHD? I wish Winamp went the mobile device route.
Asked by Peter (96.246.50.x) on August 12 2009, 9:22pm
Reply on August 13 2009, 5:19pm:
    Haven't seen the ZuneHD..

    Ever since I got my original iPhone I've cared less about all the media players. Don't get me wrong, Apple pisses me off to no end, and I despise iTunes (sorry Steve). I dropped my iPhone one too many times, though, so last week I got a new iPhone 3GS. Then yesterday the screen died. Bleh. But I took it back and they gave me a new one. Win.
Comment...
Question: You don't have copy protection on Reaper. Do you think this has had a major impact on sales?
Asked by Alex (203.217.36.x) on August 12 2009, 7:33pm
Reply on August 13 2009, 1:18pm (edited at August 13 2009, 1:23pm):
    That's a hard question to answer.

    I think that the conversion ratio of user/evaluator to paid customer is lower without copy protection than with.

    I think that many more users (paying or otherwise) would use REAPER without copy protection than with.
      Moneywithcopy = TotalUserswithcopy * ratioofpayingtototalwithcopy * moneyperpayinguser
      vs
      Moneynocopy = TotalUsersnocopy * ratioofpayingtototalnocopy * moneyperpayinguser
    Those probably don't differ that much, but even if they did, I feel a lot better about the latter, and the development/administrative overhead is certainly lower.
Comment...
Question: I think its fascinating that so many people ask you to answer random questions. Do you?
Asked by Bubba-kazoo (24.218.215.x) on August 12 2009, 5:58pm
Reply on August 13 2009, 7:27am:
    I guess, yeah...
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS