justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
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:
On Thursday i have a technical job interview for the position of embedded C/C++ programmer; Any tips or advise?
Asked by _gio (62.103.65.x) on October 26 2009, 12:24pm
Reply on October 26 2009, 1:44pm (edited at October 26 2009, 1:46pm):
Hmm, I dunno.
The biggest thing, is be personable and reasonable. Most issues I've had with other programmers are either that they aren't good at communicating, or they are stubborn in their own ways, or aren't willing to work in the style of existing code. Little things, like where to put the {, can make a big difference -- let alone using different design styles.
If
I
was looking to hire someone, I'd look for some of the following:
Love and passion of pointers
Love of OOP design in C++, but disdain for over engineering. Distrust operator overloading, avoid if humanly possible multiple inheritance, etc.
Desire for simple elegant and reusable code when it makes sense, but willingness to copy/paste and get things done.
General loyalty to a primary development language, but ability to appreciate and use other languages when appropriate (i.e. scripting languages have their places and are hugely useful).
Willingness to iteratively design -- i.e. revise design until it meets goals, maintaining existing function during the transition.
Wisdom not to throw away existing code and "rewrite". I will concede that starting over can be useful, but it needs to be very carefully done, and if all possible iteratively and done by sections (i.e. starting from scratch when duplicating existing behavior = BAD). Rewriting a module, getting it to function within a complete system, and being able to test it within that functioning system = WIN.
These attributes reflect my philosophy, obviously, but to the extent you find that you agree with them, it might be worth embracing them.
Comment...
Question:
Yeah I agree with Will... When are we gonna get some more Frankel goodness for those us who don't use DAW?
Asked by Pipsqueak (67.88.171.x) on October 26 2009, 11:39am
Reply on October 26 2009, 1:35pm:
You can use REAPER to listen to MP3s, if you really want...
On my blog I gave everybody a jetpack game, doesn't that count for anything?
Comment...
Question:
Are you going to add http link support in the questions on here?
Asked by Pipsqueak (67.88.171.x) on October 26 2009, 8:38am
Reply on October 26 2009, 1:35pm:
Well, don't want people putting tags in their question, spammers/DoS/etc...
Comment...
Question:
what is the best way to do client area drag? ( WM_NCHITTEST or SetCapture() ) why?
Asked by ruchira (202.129.234.x) on October 26 2009, 6:15am
Reply on October 26 2009, 1:34pm:
I hesitate to call one way "better" than another... I'd do the SetCapture()/SetWindowPos() on WM_MOUSEMOVE, because then you can handle normal clicks, right clicks, etc etc as normal, and switch to moving-window depending on your logic..
Comment...
Question:
For those of us that don't use DAW, it's been sad to not get other Frankel goodness :-( When???
Asked by Will (68.96.206.x) on October 26 2009, 12:28am
Reply on October 26 2009, 1:33pm:
Aww... there's some other stuff on cockos.com that is useful..
Comment...
Question:
Why did you started RPR? Which DAW you've used before it?
Asked by Fergonez (189.32.44.x) on October 25 2009, 9:28pm
Reply on October 25 2009, 9:33pm (edited at October 25 2009, 9:34pm):
I used Logic and then Vegas before starting REAPER...
Really I just wanted something that was like REAPER is... able to do everything on the fly, support for compressed formats, etc etc...
Comment...
Question:
I think you may have a case! www.ochocinco.com/home/
Asked by Bubba-kazoo (24.218.215.x) on October 25 2009, 9:20pm
Reply on October 25 2009, 9:32pm:
Haha.. I think it's different enough.. if he developed software then it could be confusing...
Comment...
Question:
How to enable client area drag for window?
Asked by ruchira (202.129.234.x) on October 25 2009, 8:03pm
Reply on October 25 2009, 8:28pm:
Usually you just SetCapture(), then on WM_MOUSEMOVE reposition the window (if it moved) using SetWindowPos().
Comment...
Question:
How do I tell you about an idea privately (Reaper)
Asked by unfrankly (24.43.17.x) on October 25 2009, 5:10pm
Reply on October 25 2009, 8:28pm:
You can email me, via justin .. at.... cockos... com... but probably better to just post it to the REAPER forums..
Comment...
Question:
Is Cockos getting royalties from Chad Johnson ("ochocinco") for using half of your logo?
Asked by Chris (173.50.136.x) on October 25 2009, 4:02pm
Reply on October 25 2009, 8:27pm:
Hmm not sure what this is, can you give me a hint? I've tried googling him..
Comment...
Question:
Regarding Petzold's style, how is yours different?
Asked by Will (68.96.206.x) on October 24 2009, 12:24am
Reply on October 24 2009, 12:19pm:
It's been a while.. but off the top of my head, generally a lot of it comes down to choice of white space, use of hungarian notation, declaring variables higher in the scope of functions (particularly, declaring variables outside of switch() statements to be used in SOME cases, I don't like much).
Also I think it's kind of a waste of time to show people the code for dialog resources, when we all use the resource editor for most stuff...
Comment...
Question:
How to get HRGN object using lice? ( I want to change shape of W32 window)
Asked by ruchira (202.129.233.x) on October 23 2009, 5:58am
Reply on October 23 2009, 2:33pm:
There's no really easy way (I suppose we could add this). What is usually done is similar to this:
code
. For LICE, you would need to modify it to just pass the bitmap pointer/info directly.
Comment...
Question:
what is your favorite bit of tech kit?
Asked by fuckingbrit (208.87.217.x) on October 22 2009, 5:39pm
Reply on October 23 2009, 2:31pm:
i didnt understand a single word you just said... talons?
Comment...
Question:
How to use lice with visual studio new project? I always get "unresolved external symbol" error! why?
Asked by ruchira (202.129.234.x) on October 22 2009, 12:47am
Reply on October 22 2009, 11:49am:
Well, personally I just include the relevant source files in my project directly.. but that gets painful when you want to add png or jpeg support...
I guess you'd want to add the lice project, and make it a dependency of your main project. That should work, I'd hope...
Comment...
Question:
Release notes of Winamp stated "Justin can't code". What was wrong? stopped shoutcast from working.
Asked by Afzal (115.167.36.x) on October 20 2009, 9:02am
Reply on October 20 2009, 3:03pm:
That probably meant that I screwed something up. i.e. forgot to do an if (someptr) before { y=someptr->blah; }...
Comment...
Question:
Can a Behringer BCF2000 control plug-in parameters in REAPER, especially ReaEq??
Asked by Clinton (92.251.119.x) on October 20 2009, 6:59am
Reply on October 20 2009, 3:02pm:
I think you can probably learn its controls to reaeq parameters, yeah.
Comment...
Question:
What the fuck is this shit why are you doing it? ps I miss you love furan.
Asked by furan (98.117.124.x) on October 20 2009, 1:40am
Reply on October 20 2009, 3:02pm:
because sometimes people need answers. do you know what I am saying?
Comment...
Question:
Do you have brothers, sister, wife, kids?
Asked by Afzal (115.167.36.x) on October 19 2009, 9:15pm
Reply on October 19 2009, 10:48pm (edited at October 19 2009, 10:49pm):
yes for all except the last one. ;) (disclaimer: ok I edited the question slightly to make it easier to answer)
Comment...
Question:
somthing to get her music off her iphone into my Sony digital book reader, even though her phone is not synced on this machine..
Asked by obin (174.106.32.x) on October 17 2009, 8:07am
Reply on October 17 2009, 4:47pm:
no idea... re-rip that cd? what's that, no CD? hmm, mistake...
Comment...
Question:
Favorite soap to shower with? Zest? Irish Spring? WHAT IS IT?!
Asked by Peter Rabbit (74.64.7.x) on October 15 2009, 5:02pm
Reply on October 15 2009, 6:07pm:
Not sure, the woman buys the soap.. I think it's some "south of france" thing or something.. greenish.
Comment...
[
newer questions
]
[
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
[
older questions
]
Copyright 2025 Justin Frankel
.
|
RSS