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: What are you hacking onto git? Are you submitting your code upstream?
Asked by Will (24.234.128.x) on October 4 2010, 9:10am
Reply on October 5 2010, 8:54am:
Comment...
Question: regards to LGPL, do you mean provide the source to the LGPL lib and where to get it..i don't have to provide my commerical code?
Asked by poop (67.88.171.x) on October 4 2010, 8:17am
Reply on October 5 2010, 8:55am:
    That's right, as long as your commercial code loads, as a shared library, the LGPL code, the only source you have to provide is that of the shared library. Of course I am not a lawyer, etc, but this is my understanding of it.
Comment...
Question: Where I can learn VSTi programming? Any web sites?
Asked by ruchira (202.129.235.x) on October 4 2010, 8:12am
Reply on October 5 2010, 8:55am (edited at October 5 2010, 8:56am):
    The Cockos WDL forum has a lot of people discussing iPlug, which is a good way to go about that.
Comment...
Question: Still using VC6 or have you upgraded in the mean time?
Asked by SiKo (62.128.45.x) on October 4 2010, 4:04am
Reply on October 5 2010, 8:56am:
    I use VC6 for win32 dev, yeah. (with ICC for distribution builds). VC2005 and Xcode are also in use.
Comment...
Question: any hints for a windows c/c++/java/python developer to get started on objective c/iphone? that syntax hurts my eyes :-(
Asked by daniel (124.169.30.x) on October 3 2010, 8:44pm
Reply on October 5 2010, 8:57am:
    I dunno, you get used to it I guess. If I have to type isKindOf:[whatever class] yet another time I might kill something..

    Apparently you can use the C objC runtime directly and call objective C methods from C/C++ code, but I haven't gone that far.
Comment...
Question: I know you'll roll your eyes. Did you see the social network? If so is it worth going? You will probably delete this question :p
Asked by AnalSeducer (76.220.32.x) on October 2 2010, 2:43pm
Reply on October 3 2010, 5:43pm:
    I haven't. Christophe did, and he said it was alright, but he didn't get why everybody thought it was so great.
Comment...
Question: www.grimes.demon.co.uk/dotnet/man_unman.htm Ever consider switching to managed?
Asked by Jane (68.96.249.x) on October 2 2010, 12:27pm
Reply on October 3 2010, 5:45pm:
    No. That page makes a lot of assumptions that are incorrect as well -- sure, you can benchmark code and get similar results, but that's a very synthetic test, and the real world does not necessarily work that way. Having said that, I'm sure it's possible to write stuff managed that isn't much less efficient, but I have little interest in that.
Comment...
Question: If you didn't do Reaper, what would u b working on?
Asked by manGaga (68.203.3.x) on October 2 2010, 11:20am
Reply on October 3 2010, 5:45pm:
    No idea. Today I've been learning perl and writing some git additions...
Comment...
Question: Why, do you think, no one has touched AVS in terms of visual quality? iTunes vis sucks.
Asked by Will (24.234.128.x) on October 2 2010, 8:56am
Reply on October 3 2010, 5:45pm:
    Maybe no incentive? Most people are happy enough with simple stuff. Milkdrop is pretty rad too, though.
Comment...
Question: Are you interested in AI? Have you done any work in this area?
Asked by _gio (62.103.65.x) on October 1 2010, 11:20pm
Reply on October 1 2010, 11:23pm:
    Not really, and not really. I've done a little bit of neural network stuff, which is very cool (i.e. watching a program randomly build FIR filters to meet criteria), but I haven't seen it be useful for my stuff.
Comment...
Question: I see that you use VC6 for programming reaper. How do you build it for OS X also?
Asked by RicoSuave (97.65.238.x) on October 1 2010, 7:54am
Reply on October 1 2010, 11:25pm:
    Our code compiles in VC6, VC2005, Xcode (all optionally with ICC), and also with normal linux gcc 4.x... I use VC6 most as a code editor, though. Our releases use VC6+ICC for Win32, VC2005+ICC for x64, and Xcode+ICC for OSX/intel, and XCode+gcc for OSX/ppc.
Comment...
Question: Do you recommend using LGPL library in a commerical project?
Asked by poop (75.119.11.x) on September 30 2010, 9:30pm
Reply on October 1 2010, 11:25pm:
    No harm in it as long as you're prepared to provide the source for it and make it clear where to get that, IMO...
Comment...
Question: I find it interesting how you went from winamp to reaper What was ur process before even writing code 4 it? were u intimidated ?
Asked by AnalSecuerRX (76.220.32.x) on September 30 2010, 8:20pm
Reply on October 1 2010, 11:25pm:
    Just random, really...
Comment...
Question: what is 'justins' remedy for when your burnt out from coding and caffeine aint doing the trick no mo :( shit the matrix has me!
Asked by AnalSeduceR&R (76.220.32.x) on September 30 2010, 3:38pm
Reply on September 30 2010, 7:37pm:
    maybe some cocktails and rest?
Comment...
Question: What is your browser of choice these days? Linux distro?
Asked by Will (24.234.128.x) on September 30 2010, 12:00pm
Reply on September 30 2010, 7:38pm:
    Firefox, and Ubuntu.
Comment...
Question: After completing reaper, how long did it take to get people using it? How did they find out about it? Did you advertise?
Asked by AnalSeducer (76.220.32.x) on September 29 2010, 8:58pm
Reply on September 30 2010, 7:38pm:
    Completing isn't really accurate, it's never done. People gradually started playing with it and giving feedback.. it grew organically, people found out about it via their friends, etc, mostly.
Comment...
Question: Could you explain at a high level how C code can call run-time created machine code? How do you set that up programtically?
Asked by Will (24.234.128.x) on September 28 2010, 11:35am
Reply on September 28 2010, 6:29pm:
    You can see how EEL2 does this, but I'll give a basic explanation here:

    First off, this is highly dependent on architecture, compiler, OS, etc. Generally, though, this is the process:
    1. Generate the code you wish to run. This can be done by writing the opcodes to a buffer, or by combining stubs of code (Using nasm can be helpful, otherwise you can use __declspec(naked) on MSVC and use inline assembly, or you can use gcc and inline assembly and strip out the compiler generated code, etc).
    2. Mark the pages of code as executable, using VirtualProtect() on win32 or (from memory, I think it is) mprotect on posix.
    3. Execute the code -- you can do this using inline assembly or an assembly stub function, and it would essentially do: "mov eax, address ; call eax". or similar.
    4. Watch things explode! Your code will likely need to save registers, align the stack, etc. The devil is often in the details.
Comment...
Question: Cockos rocks but that might not be enough; so are there any open source projects that you recommend for source code reading?
Asked by _gio (62.103.65.x) on September 26 2010, 1:19am
Reply on September 27 2010, 12:31pm:
    I've enjoyed doing some git hacking, but generally I'd say look at the source to stuff you like to use.
Comment...
Question: Can you elaborate on your statement: "My Windows programming until maybe 2002 was pretty awful. Now it's just a little awful".
Asked by Chuck (150.101.96.x) on September 25 2010, 4:29pm
Reply on September 27 2010, 12:34pm:
    Yeah, the Windows code I wrote back in the day was ugly and often broken or wrong. Code I write now probably is too, to a lesser extent. Example: recently it came to my attention that DM_GETDEFID was the same as WM_USER; so if you use WM_USER for some purpose on a dialog, you might get surprises).

    Having said that, Win32 is pretty forgiving, too, allowing for broken software to run (mostly) successfully.
Comment...
Question: Does this make you happy? yro.slashdot.org/story/10/09/24/2059221/Most-Software-Patent-Tro...
Asked by roberttheiii (71.234.18.x) on September 24 2010, 3:03pm
Reply on September 25 2010, 3:14pm:
    It could be worse sure, but no, that doesn't make me particularly happy. It still means people often have to put up a ton of cash to defend cases.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS