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's the longest vacay you took away from coding?
Asked by John (70.173.150.x) on July 3 2011, 9:02am
Reply on July 6 2011, 4:58pm:
    Hmm maybe a week or two? Hard to remember going more than a few days without programming any time recently...
Comment...
Question: Do you salt your sha1/md5 messages?
Asked by John (70.173.150.x) on July 1 2011, 5:26am
Reply on July 1 2011, 10:27pm:
    Generally, yes, I would.
Comment...
Question: have you downloaded my swell test app yet...would like to take down the zip file (shouldn't be distributing some of those files)
Asked by olilarkin (86.31.114.x) on June 30 2011, 7:11pm
Reply on July 1 2011, 4:26am (edited at July 2 2011, 4:00am):
    Edit: yes, grabbed it (the updated version I guess)
Comment...
Question: how old is me?
Asked by natalie (173.33.149.x) on June 30 2011, 4:33pm
Reply on July 1 2011, 4:27am:
    I feel pretty old some days.
Comment...
Question: to get iplug on IOS, i need to modify some SWELL/LICE stuff... do you think i can use swell-gdi-lice.cpp?
Asked by olilarkin (144.32.156.x) on June 30 2011, 11:37am
Reply on June 30 2011, 1:46pm:
    With a little modification, I think you'd want to use swell-gdi.mm ... swell-gdi-lice is more for the linux/generic ports.
Comment...
Question: What's is red?
Asked by Me and myself (217.124.181.x) on June 30 2011, 7:16am
Reply on June 30 2011, 1:46pm:
    a color?
Comment...
Question: What is meant by "cloud computing"?
Asked by Laura@VVS (174.254.227.x) on June 30 2011, 12:36am
Reply on June 30 2011, 2:31am:
    At the most basic level, it means we don't run our own servers anymore, instead we run them on virtualized servers inside a big datacenter or group of datacenters. You can also take more advantage of this setup by dynamically increasing or decreasing the amount of resources you are using on the fly, according to demand...
Comment...
Question: What font do your use to write code on your editor?
Asked by Hugo (200.175.60.x) on June 29 2011, 11:43pm
Reply on June 30 2011, 2:29am:
    Courier 10, I think, which is VC6's default, mostly.
Comment...
Question: Is your belly button an innie or an outie?
Asked by Brad Neuberg (69.170.160.x) on June 29 2011, 1:25am
Reply on June 30 2011, 2:29am:
    innie.
Comment...
Question: Do you ever checkup on winamp.com to see the state of your old products, or do you just not care now?
Asked by Will (24.234.128.x) on June 28 2011, 5:53pm
Reply on June 30 2011, 2:29am:
    From time to time, yes, but not religiously. You definitely have to let go...
Comment...
Question: On Win32, what do you use to load images like jpg and gif into the program window? GDI+? Any good examples to refer?
Asked by Xumbrego (161.148.171.x) on June 27 2011, 7:21pm
Reply on June 27 2011, 7:51pm (edited at June 27 2011, 8:46pm):
    LICE has functions for these, using jpeglib, giflib, libpng, etc.. check out the test app or SnapEase, here is what you'd typically do:
    
    case WM_PAINT:
      {
        PAINTSTRUCT ps;
        if (BeginPaint(hwnd,&ps))
        {
          LICE_IBitmap *f = LICE_LoadImage("whatever.jpg");
          if (f)
          {
            LICE_SysBitmap bm;
            bm.resize(f->getWidth(),f->getHeight());
            LICE_Blit(&bm,f,0,0,0,0,f->getWidth(),f->getHeight(),1.0f,LICE_BLIT_MODE_COPY);
            BitBlt(ps.hdc,0,0,f->getWidth(),f->getHeight(),bm.getDC(),0,0,SRCCOPY);
            delete f;
          }
          EndPaint(hwnd,&ps);
        }
      }
    break;
    
    You could also remove the LICE_Blit and pass a sysbitmap into LICE_LoadImage() directly, but I did it the above way since often you'll want to composite things in lice before drawing them anyway...
Comment...
Question: Any warm fuzzies for these guys: whispersys.com? Or don't much care for that stuff [encryption ie:waste] anymore?
Asked by roberttheiii (155.201.35.x) on June 27 2011, 1:22pm
Reply on June 27 2011, 1:50pm:
    I haven't looked at that. I do love TrueCrypt, and appreciate HTTPS too, though...
Comment...
Question: I'm 18, and I know Java. Should I learn Perl or Python, next?
Asked by ChrisF (76.99.141.x) on June 25 2011, 6:12am
Reply on June 25 2011, 7:22pm (edited at June 25 2011, 7:23pm):
    I guess that would depend on what you'd like to do with your programming language... I should qualify that by saying that I haven't programmed much Python, but I do hear a lot of people who like it. Seemed odd to me to have meaningful whitespace, though I guess I tolerate that when writing makefiles... anyway.
Comment...
Question: have you considered licensing zplane's key detection [tONaRT] and tempo/beat tracking [aufTAKT]?
Asked by Ryan (96.49.141.x) on June 21 2011, 11:05pm
Reply on June 25 2011, 7:22pm:
    Not really...
Comment...
Question: Is ogg vorbis superior to mp3? Why?
Asked by John (70.173.150.x) on June 17 2011, 9:15pm
Reply on June 21 2011, 8:28pm:
    I'd say as far as audio quality to bits ratio, at any bitrate Vorbis does sound better. There are other ways to say that MP3 is better, though.. for one you can sync to a mp3 bitstream wherever...
Comment...
Question: Why do REAPER still use Win98 standard dialog font (MS Sans Serif), instead of Tahoma (WinXP and above)?
Asked by Pitito (161.148.171.x) on June 17 2011, 5:11pm
Reply on June 21 2011, 8:28pm:
    I think it just uses MS Shell Dlg, which is a font that maps to whatever font the system likes.
Comment...
Question: Are you moving out of SF And moving to NYC?
Asked by stench (68.28.155.x) on June 15 2011, 1:34pm
Reply on June 21 2011, 8:28pm:
    Mostly.
Comment...
Question: Would you ever consider hiring a guy like me with a can do attitude? bit.ly/Po920 Does that attitude count for anything?
Asked by AnalSeducer (76.103.105.x) on June 15 2011, 6:56am
Reply on June 21 2011, 8:28pm:
    Hmm probably not =)
Comment...
Question: What keeps you from upgrading from Visual Studio 6 to something newer?
Asked by Guero Sin Fe (161.148.171.x) on June 13 2011, 11:51am
Reply on June 15 2011, 2:46am:
    We do use 2005 for our x64 builds.. but for 32 bit there's not really a compelling enough reason to (partly due to ICC), but ultimately it comes down to the UI, and inability to link DLLs with msvcrt.dll (the latter of which is getting less relevant, I admit).
Comment...
Question: Can we do a reaper meet b4 you move out of sf office space?
Asked by PinkAsso (208.64.185.x) on June 12 2011, 2:35pm
Reply on June 15 2011, 2:47am:
    Mebbe.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS