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 this look like you? gizmodo.com/5342207/tasers-include-hidden-feature-set-suspects-o...
Asked by PipSqueak (67.88.171.x) on August 21 2009, 7:17am
Reply on August 21 2009, 9:02pm:
    Haha maybe a tiny bit.. scary!
Comment...
Question: Would a skull and cross bones be a better label for decaf coffee?
Asked by roberttheiii (192.249.47.x) on August 21 2009, 5:15am
Reply on August 21 2009, 9:02pm:
    Better than what?
Comment...
Question: Will you buy me lunch?
Asked by briman9999 (68.231.90.x) on August 20 2009, 3:54pm
Reply on August 21 2009, 9:02pm:
    Umm... well, I can't say no, not knowing who this is.. but maybe not?
Comment...
Question: Can you make a win32 api programming tutorial? Your little programming outline is very helpful!
Asked by PipSqueak (67.88.171.x) on August 20 2009, 8:48am
Reply on August 20 2009, 12:51pm:
    OK OK quit harassing I'll see what I can do!
Comment...
Question: Does reaper has a professional art designer?
Asked by Dave (222.90.231.x) on August 19 2009, 10:15pm
Reply on August 20 2009, 10:19am:
Comment...
Question: What's your opinion on the ,Net platform? How about Qt?
Asked by Jordan (70.67.169.x) on August 19 2009, 3:59pm
Reply on August 19 2009, 8:30pm:
    Haven't done any of either, but both require runtimes and are quite encumbered (Qt for non-GPL things is commercial, and Mono is still MS-tainted).
Comment...
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...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS