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: It's a fact that computer-related work really hurts eyes. How do you manage this situation?
Asked by asafonov (213.145.2.x) on October 20 2010, 5:28am
Reply on October 20 2010, 7:01pm:
    Lots of breaks, walks outside, etc.
Comment...
Question: layer problem: new code worked! but final layer does not contain shadows. my images have shadows.
Asked by ruchira (202.129.235.x) on October 19 2010, 11:19pm
Reply on October 20 2010, 7:01pm:
    Dunno, if you can identify a specific combination that differs from expected, let me know.
Comment...
Question: layer problem: is it bug of lice? How to overcome it?
Asked by ruchira (202.129.232.x) on October 19 2010, 6:37pm
Reply on October 19 2010, 9:21pm (edited at October 19 2010, 9:28pm):
    I think it is a LICE bug, yeah. Working on a fix now.

    OK, got it. Sorry for the delay. in lice_combine.h, replace the following two classes with these versions:
    
    class _LICE_CombinePixelsCopySourceAlphaIgnoreAlphaParmNoClamp
    {
    public:
      static inline void doPix(LICE_pixel_chan *dest, int r, int g, int b, int a, int alpha)
      {
        if (a)
        {
          if (a==255)
          {
            _LICE_MakePixelNoClamp(dest,r,g,b,a);
          }
          else
          {
            int sc=(255-a);
    
            _LICE_MakePixelNoClamp(dest,
                r + ((dest[LICE_PIXEL_R]-r)*sc)/256,
                g + ((dest[LICE_PIXEL_G]-g)*sc)/256,
                b + ((dest[LICE_PIXEL_B]-b)*sc)/256,
                a + ((dest[LICE_PIXEL_A]-a)*sc)/256);
          }
        }
      }
    };
    class _LICE_CombinePixelsCopySourceAlphaIgnoreAlphaParmClamp
    {
    public:
      static inline void doPix(LICE_pixel_chan *dest, int r, int g, int b, int a, int alpha)
      {
        if (a)
        {
          if (a==255)
          {
            _LICE_MakePixelClamp(dest,r,g,b,a);
          }
          else
          {
            int sc=(255-a);
    
            _LICE_MakePixelClamp(dest,
               r + ((dest[LICE_PIXEL_R]-r)*sc)/256,
               g + ((dest[LICE_PIXEL_G]-g)*sc)/256,
               b + ((dest[LICE_PIXEL_B]-b)*sc)/256,
               a + ((dest[LICE_PIXEL_A]-a)*sc)/256);
          }
        }
      }
    };
    
    
Comment...
Question: Hey! Just out of curiosity, do you remember my page "Blex's Page of Good Mp3" ?? I'm (somewhat) making a comeback www.blex.org !
Asked by Blex (65.27.94.x) on October 19 2010, 6:29pm
Reply on October 21 2010, 4:15pm:
    Sounds slightly familiar but only slightly...
Comment...
Question: your typing doesn't look like QWERTY... are you using Dvorak?
Asked by Poop (67.88.171.x) on October 18 2010, 7:29am
Reply on October 19 2010, 10:55am (edited at October 19 2010, 10:56am):
    It is QWERTY, I only know, and have only known, the big Q.
Comment...
Question: thanks for your kboard videos ! But is this that easy when you're writing code ? (numbers/symbol/text)
Asked by fredv (195.6.68.x) on October 18 2010, 4:52am
Reply on October 19 2010, 10:56am:
    Yeah pretty similar -- I know all of the modifiers (I never have to look to see that & is shift-7 etc).
Comment...
Question: layer problem: all i want is overwrite one layer to another with alpha. Each layer contain images and last layer has all img
Asked by ruchira (202.129.232.x) on October 17 2010, 6:52pm
Reply on October 19 2010, 10:57am:
    Just be careful when blitting using LICE_BLIT_USE_ALPHA to a surface which will be the source of a blit using LICE_BLIT_USE_ALPHA, because often you may end up with alpha values you don't expect? Maybe.
Comment...
Question: How are you going to approach the issue of parallelism when we start getting 100's of cores? OpenMP? Cilk?
Asked by Jordan (70.67.190.x) on October 17 2010, 4:11pm
Reply on October 19 2010, 10:58am:
    Hopefully each core will be reasonably fast, and you will be able to synchronize them quickly enough.. but the key is identifying which tasks are latency sensitive (such as record monitoring), and which are not.
Comment...
Question: Is it possible to use WDL to build app running on linux? If so, where I can to know more about it?
Asked by asafonov (80.239.243.x) on October 17 2010, 12:45pm
Reply on October 17 2010, 3:24pm:
    WDL can certainly be used on Linux, much of it is very portable. As far as for building an app goes, SWELL does have the beginnings of the ability to target Linux, though at this point it is mostly very basic UI and not really usable for GUI'd apps. We will probably improve this more (adding improved drawing support, controls, freetype support, etc), someday.
Comment...
Question: I have 3 LICE_SysBitmap layers. I blitted layer1 to 2nd and 2nd to 3rd with LICE_BLIT_USE_ALPHA flag. result is edges..why?
Asked by ruchira (202.129.235.x) on October 16 2010, 8:50pm
Reply on October 17 2010, 11:30am:
    What is in each image? Are you using LICE_BLIT_USE_ALPHA for the first blit?
Comment...
Question: How ridiculous is this? www.techdirt.com/articles/20100813/12361610620.shtml...
Asked by Will (70.173.150.x) on October 16 2010, 3:49pm
Reply on October 16 2010, 7:26pm:
    Awful.
Comment...
Question: Justin, do you remember you had agreed to make a video of you typing at 90WPM on Natural Keyboard :)
Asked by fredv (78.231.170.x) on October 16 2010, 1:50am
Reply on October 16 2010, 8:45am (edited at October 17 2010, 3:26pm):
Comment...
Question: Did Christophe wrote this -> codingdojo.org/cgi-bin/wiki.pl?KataBankOCR
Asked by Poop (67.88.171.x) on October 15 2010, 9:04am
Reply on October 15 2010, 7:41pm:
    I don't think so, but I'd have to ask him to know for sure.
Comment...
Question: Doh I misspelled forum....oh question, how is 4 coming along
Asked by James (68.225.40.x) on October 14 2010, 3:22pm
Reply on October 15 2010, 7:41pm:
    It's coming along great. We are enjoying using branching in Git -- if we were using SVN now we would be hating life.
Comment...
Question: Which source control software (if any) would you use for a single-developer project?
Asked by Jordan (70.67.190.x) on October 14 2010, 2:56pm
Reply on October 15 2010, 7:42pm:
    Git, without a doubt.
Comment...
Question: How do you find a good balance in the amount of time you spend in the Cockos fourms?
Asked by James (68.225.40.x) on October 14 2010, 1:37pm
Reply on October 15 2010, 7:42pm:
    I dunno.. I've been a bit slacking on forum duties lately, but schwa and ollie do a good job.
Comment...
Question: What do you think of JUCE. Julian is original dev for Tracktion and he even looks like you!
Asked by Poop (67.88.171.x) on October 14 2010, 6:57am
Reply on October 15 2010, 7:44pm:
    I think there were a bunch of things that rubbed me the wrong way... the biggest thing is the license; if I want to use one little part of it, I have to either make the code GPL or buy a license... Which makes sense if you build everything on top of JUCE, but isn't terribly useful if you want to use just some specific feature.
Comment...
Question: Have you ever screamed at you computer?
Asked by schmoe (96.55.149.x) on October 13 2010, 7:29pm
Reply on October 15 2010, 7:44pm:
    not at the computer, no, but in it's general direction, sure.
Comment...
Question: What tool do you use internaly to track development of Reaper ? (bug reports, feature requests to implement, etc)
Asked by fredv (195.6.68.x) on October 13 2010, 1:36am
Reply on October 15 2010, 7:45pm:
    version control, comments, text files, the forum, and the forum "issue tracker" thingy.
Comment...
Question: How do I use WDL_VWnd in my application?
Asked by _gio (62.103.65.x) on October 12 2010, 7:26am
Reply on October 12 2010, 6:55pm:
    It's kinda complicated -- for an example, see SnapEase, maybe...
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS