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: Can you describe your own keys to learning something new? Especially something difficult. How do you "keep on trucking" when you're totally bewildered? Surely something like DSP wasn't second nature as you learned it.
Asked by Will (24.234.85.x) on November 6 2013, 1:01am
Reply on November 8 2013, 7:32pm:
    Solve the problems that you can solve first, then figure out the rest. No harm in replacing difficult bits with braindead implementations, too. When they become a limiting factor, you'll find out.
Comment...
Question: What's the best way to incorporate WDL_FileRead to a C written library, like ogg/vorbis? I have a few thoughts on how to but I like neither and I would like to hear your opinion on the subject. Thanks :)
Asked by gio (94.66.33.x) on November 1 2013, 2:47pm
Reply on November 1 2013, 4:06pm (edited at November 8 2013, 2:44pm):
    This is what we do:
    
    static size_t wdlfileread_read(void *ptr, size_t size, size_t nmemb, void *fr)
    {
      WDL_FileRead *_fr=(WDL_FileRead *)fr;
      if (!size||!_fr) return 0;
      size_t v=(size_t) _fr->Read(ptr,size*nmemb);
      return v/size;
    }
    
    static int wdlfileread_seek(void *fr, ogg_int64_t offset, int whence)
    {
      WDL_FileRead *_fr=(WDL_FileRead *)fr;
      if (whence == SEEK_SET) return _fr->SetPosition(offset)?-1:0;
      if (whence == SEEK_END) return _fr->SetPosition(_fr->GetSize()+offset)?-1:0;
      return _fr->SetPosition(_fr->GetPosition()+offset)?-1:0;
    }
    
    static int wdlfileread_close(void *fr) {   delete (WDL_FileRead *)fr;  return fr?0:EOF; }
    static long wdlfileread_tell(void *fr) { return (long)((WDL_FileRead *)fr)->GetPosition(); }
    
    ov_callbacks cb={wdlfileread_read,wdlfileread_seek,wdlfileread_close,wdlfileread_tell};
    
Comment...
Question: Why did JJ Mckay make this for you: "Can we settle this like civilized adults? or Do I need to whip your ass in ping pong?"
Asked by Will (24.234.85.x) on November 1 2013, 1:30am
Reply on November 1 2013, 2:04pm:
    Haha no idea, probably Tom put him up to it.
Comment...
Question: What is the role of the foreign contractors?
Asked by Uncle (99.173.159.x) on November 1 2013, 12:49am
Reply on November 1 2013, 2:04pm:
    "the foreign contractors" sounds so impersonal. As they are contractors, they do projects (support, documentation, design) without much oversight. and also are just generally fine people!
Comment...
Question: Are there technical reasons you prefer prefixes over namespaces or it's just a aesthetic preference?
Asked by gio (94.66.70.x) on October 29 2013, 8:43pm
Reply on October 30 2013, 9:22pm:
    I don't have a real objection to namespaces, but don't like reading code that uses "using namespace", so not using is good for preventing that.
Comment...
Question: Ever considered digitalocean? (no I don't work there) digitalocean.com/pricing.. seems pretty competitive/compelling
Asked by Will (24.234.85.x) on October 29 2013, 12:27am
Reply on October 29 2013, 6:37pm:
    Looks pretty nice and cheap, but alas when things are working, laziness prevails. Inertia, baby.
Comment...
Question: Do you think it's a good idea for Reaper to enter a feature freeze state and flesh out the UI/UX completely? When?
Asked by EvilDragon (88.207.59.x) on October 27 2013, 6:45pm
Reply on October 27 2013, 8:31pm:
    No. Any UI/UX updates generally should happen gradually, otherwise you would completely disrupt users.
Comment...
Question: Re: Foreign Contractors: Ah, so these guys are individual contractors, not some large IT consultant business arrangement. I hear good stories about IT contractors from Estonia, Ukraine and Czech Republic. Not really a question I guess....
Asked by Mick (101.165.16.x) on October 26 2013, 10:38pm
Reply on October 27 2013, 8:30pm:
    Right.
Comment...
Question: Do you drive much in daily life? Do you prefer AT or MT type of cars?
Asked by dave (1.83.166.x) on October 26 2013, 11:41am
Reply on October 27 2013, 8:31pm:
    Not anymore, but when I do I'd definitely prefer MT.
Comment...
Question: You mentioned you use foreign contractors? Which country? Have you found any issues with IP leaks, or conflicting interest (ie, same company contracts to Cakewalk)?
Asked by Mick (27.127.192.x) on October 25 2013, 12:14am
Reply on October 26 2013, 2:19am:
    UK and Germany and Australia. All extremely trustworthy and awesome people.
Comment...
Question: i want to make a basic daw for my final year project in college.. could you point me in the right direction? i can code in c++ though im more familiar with java..could u send me somwhere where i could get some help or more info?
Asked by alfred (120.60.60.x) on October 24 2013, 8:48am
Reply on October 26 2013, 2:19am:
    Hmm, hard to say. Thinking basic audio mixing, or MIDI? For the former, I'd say write something that plays audio (CoreAudio on mac, or WaveOut or ASIO on Windows), then a .wav file reader. That's where I'd begin.
Comment...
Question: How many hours do you work on programming per day in average?
Asked by dave (123.139.32.x) on October 23 2013, 9:58am
Reply on October 23 2013, 2:23pm:
    Hard to say average, anywhere from 0-8 at this point in my life.
Comment...
Question: What do you think about this: www.dailydot.com/technology/google-uproxy-iran-syria-north-korea...
Asked by @eric_neuman (74.66.80.x) on October 22 2013, 3:41pm
Reply on October 23 2013, 2:23pm:
    Mmmm I like it in theory.
Comment...
Question: Have you ever wanted to spend a month on a motorcycle in Alaska?
Asked by Pinkasso (208.64.185.x) on October 21 2013, 7:58pm
Reply on October 21 2013, 8:44pm:
    Hmm maybe on a bicycle would be more fun?
Comment...
Question: Do you ever go to meetups/hacking events? I think there are some NYC music hackathons where you would be enjoyed
Asked by John (24.103.111.x) on October 17 2013, 9:17pm
Reply on October 18 2013, 7:07pm:
    I don't, but maybe I oughta.
Comment...
Question: Were you ever worried about getting into any legal trouble related to aiding in facilitating piracy?
Asked by Will (24.234.85.x) on October 17 2013, 6:59pm
Reply on October 18 2013, 7:07pm:
    I think the feeling at the time, and what it seems to have turned out to be, was whether there were significant non-infringing uses, and whether you encouraged others to pirate and/or profited from that (vs merely enabling it).
Comment...
Question: Any thoughts on WinMerge? Are command line diff tools as easy as nice GUIs like WinMerge?
Asked by Will (24.234.85.x) on October 8 2013, 5:27pm
Reply on October 9 2013, 9:07pm:
    I don't think I've used WinMerge, I used to use TortoiseSVN's stuff, but at this point I just use git command line for almost everything.
Comment...
Question: Do you invest in any tech start ups? I'm not looking for funding, just interetsed to see that, if so, what you look for in a new technology?
Asked by Mick (27.127.192.x) on October 8 2013, 3:46am
Reply on October 9 2013, 9:08pm:
    I don't really invest, mostly because I'm lazy, but if I were to I'd look for people who were really obsessed with making the best possible product (and that product would need to be something useful, obviously).
Comment...
Question: Q1: Does WDL_FIXALIGN has the same effect as -malign-double? Q2: Will Allison "open source" the recipe for the cake? Thanks
Asked by gio (79.131.32.x) on October 3 2013, 7:38pm
Reply on October 3 2013, 8:41pm:
    A1: it does, but only to the items for which it is applied (and only on GCC). A2: she could probably be persuaded, but I think it was a pretty standard cake recipe. and wheatgrass.
Comment...
Question: Have you seen Alaska yet?
Asked by Pinkasso (208.64.185.x) on September 30 2013, 9:26pm
Reply on September 30 2013, 10:39pm:
    I had a baked alaska, it was pretty good.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS