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 ever label your resource IDs?
Asked by PipSqueak (67.88.171.x) on August 19 2009, 12:20pm
Reply on August 19 2009, 8:30pm:
    Yeah, though not always. Sometimes it's just easier to have IDC_CHECK1 than IDC_ENABLETURDS.. Definitely easier to type.
Comment...
Question: in your own opinion, based on your own experiences, what do you think is the meaning of life?
Asked by Andrew (24.56.197.x) on August 19 2009, 12:00pm
Reply on August 19 2009, 8:29pm:
    I don't think it can really be reduced to it, but I tend to just think it's about enjoying it and doing your best to help others do the same... maybe.
Comment...
Question: Justin, I think we'd all appreciate even the rough state form of your win32 api programming tips. Will you post it somewhere?
Asked by Will (24.234.128.x) on August 19 2009, 11:38am
Reply on August 19 2009, 8:26pm:
    I'd like to, but it's really in outline form, so not terribly useful... But I'll list a few high level tips here:
    • It's often the easiest to build your application out of plain dialog (DialogBoxParam() or CreateDialogParam())
    • Use Get/SetWindowLong(hwnd,GWL_USERDATA) (or GWLP_USERDATA for x64) for "this" pointers, if an object owns the dialog. Set it in WM_INITDIALOG, and get it for other messages.
    • On the same token, when the owner object has a dialog, it's good to do the following:
      • The object's constructor sets m_hwnd to 0.
      • The object's destructor does if (m_hwnd) DestroyWindow(m_hwnd);
      • WM_INITDIALOG sets this->m_hwnd to hwndDlg
      • WM_DESTROY clears this->m_hwnd to 0
Comment...
Question: How has fame affect your life?
Asked by Pipsqueak (67.88.171.x) on August 19 2009, 11:12am
Reply on August 19 2009, 8:21pm:
    I'm not really famous, so not very much. ;)

    There have been a few times of random people recognizing me, but it's quite rare.
Comment...
Question: As a independent software developer (for the most part), how do you stay motivated with your projects? How is your work ethic?
Asked by nunzio (68.196.39.x) on August 19 2009, 10:00am
Reply on August 19 2009, 8:21pm:
    I guess it's mostly driven by genuinely caring about the projects... I work too much, overall, I think.. though I do find myself able to take a few days off at times.
Comment...
Question: Now that you're working on Reaper I guess you don't have to work as a fluffer anymore? hehe
Asked by Pipsqueak (67.88.171.x) on August 19 2009, 9:58am
Reply on August 19 2009, 8:20pm:
    It's nice when you can do a job that you enjoy...
Comment...
Question: plz show us some whatever piece of code you wrote just before now, ok?(to make this a question;-)
Asked by SayHi (59.151.106.x) on August 19 2009, 7:25am
Reply on August 19 2009, 8:20pm:
    The last thing I committed to SVN wasn't terribly interesting -- it was the start of some code that didnt even do anything, and barely compiled on technicalities (I doubt it would compile in VC2005). That's what you got to do sometimes, though -- flush out the design before it works, just to see if it might work in the end.
Comment...
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...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS