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: Do you get contacted to write music for other people? Are you that good :P
Asked by Bharath Kumar (117.202.31.x) on July 9 2012, 7:23pm
Reply on July 10 2012, 12:28am:
    No, I'm terrible at writing music. Completely horrible.
Comment...
Question: How do geniuses design something so complex (mp3) but then leave the last step (front end) wide open for someone to get rich?
Asked by Will (70.173.150.x) on July 8 2012, 6:40pm
Reply on July 9 2012, 2:25am:
    ...and then let Apple dominate it, too? I guess when you set out to build something, you don't always see the big picture.
Comment...
Question: Any thoughts on Bitwig? Specifically the vertical non-linear stuff that can be docked with the linear arrange view...
Asked by Ryan (24.83.164.x) on July 6 2012, 9:44pm
Reply on July 9 2012, 2:25am:
    Haven't used it.
Comment...
Question: Would you ever consider kick starter funded contractors to implement FRs into your software?
Asked by Joseph (42.241.23.x) on July 6 2012, 10:15am
Reply on July 9 2012, 2:26am:
    If they can do it via our plug-in API, sure.
Comment...
Question: Now you've had time to think, favourite album-of-all-time?
Asked by Joseph (42.241.23.x) on July 6 2012, 8:15am
Reply on July 9 2012, 2:31am:
    I'd say some of my favorite albums would include (in no particular order): Pink Floyd - Dark Side of the Moon, Red Hot Chili Peppers - Blood Sugar Sex Magik, Grandaddy - The Sophtware Slump, Radiohead - Kid A + Amnesiac, Mogwai - Government Commissions, Pearl Jam - Ten, Portishead - Dummy, and maybe Sgt. Pepper's... but I'm missing some.
Comment...
Question: Working for a very big company, and working for a not-so-big company, whick do you think is better?
Asked by bboy (210.21.230.x) on July 6 2012, 12:52am
Reply on July 9 2012, 2:32am:
    Each has their own benefits and drawbacks, but I'd take not-so-big any day if I could make it work.
Comment...
Question: Have you used the history.js library?
Asked by Steve (218.186.12.x) on July 4 2012, 9:03pm
Reply on July 9 2012, 2:32am:
    Nope. I haven't done a lot of javascript, really.
Comment...
Question: If you shoutcast from PHP successfully, what does the C implementation offer that makes it superior?
Asked by Will (70.173.150.x) on July 4 2012, 4:03pm
Reply on July 4 2012, 4:19pm:
    Performance and the ability to scale way, way higher. Fortunately when I stream these days only at most a few people listen at any given time.
Comment...
Question: whats ur favorite song?
Asked by kalie (50.131.144.x) on July 4 2012, 12:46am
Reply on July 4 2012, 3:50am:
    Gah, hard to pick. Favorite album-of-all-time? Also hard, hmm..
Comment...
Question: What features of the IDE make you more productive than a text editor? I recall you said "I don't use that class browser shit".
Asked by Will (70.173.150.x) on July 3 2012, 4:00pm
Reply on July 4 2012, 3:51am:
    The biggest benefit is really just build integration and jumping to errors, probably. I do often use vim, but without any of that fancy integration (even though it probably does support it). In xcode I often use modifier+doubleclick to go to definition etc, but it often doesn't work right anyway.
Comment...
Question: me again. How do you increase line thickness in Lice? i.e. highlighted envelope in reaper
Asked by olilarkin (144.32.204.x) on July 3 2012, 2:39pm
Reply on July 3 2012, 3:13pm:
    Heh, doesn't really support that -- what the highlighted envelope drawing does is:
      LICE_Line(licebm, xstart, ystart, xend, yend, color, alpha, LICE_BLIT_MODE_COPY, aa);
      if (envselected)
      {
        if (abs(xend-xstart) > abs(yend-ystart))
        {
          ++ystart;
          ++yend;
        }
        else
        {
          ++xstart;
          ++xend;
        }
        LICE_Line(licebm, xstart, ystart, xend, yend, color, alpha, LICE_BLIT_MODE_COPY, aa);
      }
    
    
Comment...
Question: thanks. worked a treat. Sorry if it's a basic Q, but could you explain the Lice blit modes or point to a site that does?
Asked by olilarkin (144.32.156.x) on July 2 2012, 10:25am
Reply on July 2 2012, 2:25pm:
    Sure, I guess this should be in lice.h but isn't (note if alpha is non-1.0, it changes things too). The actual logic for these is in lice_combine.h.
    • LICE_BLIT_MODE_COPY: copies input to output -- if alpha is not 1.0, mixes accordingly
    • LICE_BLIT_MODE_ADD: sums input and output -- if alpha is not 1.0, output + alpha*input is used, so for subtraction you can use ADD with alpha of -1.0.
    • LICE_BLIT_MODE_DODGE: output = output/(1.0-input), more or less
    • LICE_BLIT_MODE_MUL: output = output*input
    • LICE_BLIT_MODE_OVERLAY and LICE_BLIT_MODE_HSVADJ: ok I need to go get coffee now. fail.
Comment...
Question: Have you used a Lumia 900, what doya think?
Asked by BobJones (196.210.237.x) on July 1 2012, 12:26pm
Reply on July 2 2012, 2:58am:
    I haven't, I'd like to though, I hear the hardware is quite nice.
Comment...
Question: Is there anyway to draw a filled round rect in LICE?
Asked by olilarkin (86.13.97.x) on July 1 2012, 10:14am
Reply on July 2 2012, 3:05am:
    Assuming that you are OK with mode==LICE_BLIT_MODE_COPY and alpha==1.0, x1,y1,w,h,r and color passed to:
            LICE_FillRect(framebuffer,x1+r,y1,w-2*r,h,color,alpha,mode);
            LICE_FillRect(framebuffer,x1,y1+r,r,h-2*r,color,alpha,mode);
            LICE_FillRect(framebuffer,x1+w-r,y1+r,r,h-2*r,color,alpha,mode);
            LICE_FillCircle(framebuffer,x1+r,y1+r,r,color,alpha,mode,aa);
            LICE_FillCircle(framebuffer,x1+w-r-1,y1+h-r-1,r,color,alpha,mode,aa);
            LICE_FillCircle(framebuffer,x1+w-r-1,y1+r,r,color,alpha,mode,aa);
            LICE_FillCircle(framebuffer,x1+r,y1+h-r-1,r,color,alpha,mode,aa);
    
    ...would do the trick.
Comment...
Question: Did the leap second crash your Linux servers? Greetings
Asked by gio (94.66.70.x) on July 1 2012, 7:41am
Reply on July 2 2012, 3:05am:
    It (or at least AWS) spared us, afaict.
Comment...
Question: do youhave to code seperately for OSX and Windows or do they cross over, I'm obviously not to up on programming
Asked by stumpy1 (63.192.169.x) on July 1 2012, 6:52am
Reply on July 2 2012, 3:06am:
    We target a subset of Win32, which using our SWELL code, lets most things apply to both.
Comment...
Question: u still have iphone 4s? not changing?
Asked by Desert Rain (122.176.159.x) on June 30 2012, 3:27pm
Reply on July 2 2012, 3:06am:
    Yep, and yep, despite not being happy with the battery life.
Comment...
Question: Do you feel like a dinosaur programmer? If you started today, would you really do win32/C programming??
Asked by Will (70.173.150.x) on June 30 2012, 3:20am
Reply on July 2 2012, 3:06am:
    It would be tough to start with win32 today, I'd probably just do ajax stuff. Did you see my blog page is now (almost) never ending?
Comment...
Question: Do you refactor/rewrite/review your own code often?
Asked by Rodrigo (200.146.127.x) on June 29 2012, 11:06pm
Reply on July 2 2012, 3:07am:
    Some code does get a lot of attention, other gets left alone for years.
Comment...
Question: If you had to pit the current version of Shoutcast against Icecast... which would you say is better.
Asked by DocNasty (38.114.206.x) on June 28 2012, 9:18pm
Reply on June 29 2012, 10:26pm:
    I have no data for this. I now serve my streams via some crappy PHP I wrote. :)
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS