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: Have you tried writing something for iOS? Do you see any interesting possibilities on touch interaction?
Asked by Bharath Kumar (117.213.188.x) on July 19 2012, 9:16am
Reply on July 19 2012, 2:22pm:
    I have done a few small things, but didn't really get into the touch elements of it. The one I actually use is something that lets me send text + scaled/cropped/images to a HTTP post, for updating my blog (with photos) on the run... I should release that one at some point, but it's kinda ugly (and not user friendly much).
Comment...
Question: How programmers ended up being the persons you don't want to invite to a party?
Asked by gio (94.66.61.x) on July 19 2012, 8:11am
Reply on July 19 2012, 2:21pm:
    I get called a "technicalitist" by my loved ones, maybe that's why?
Comment...
Question: How do graphics apps like AVS or games calculate FPS?
Asked by Will (70.173.150.x) on July 19 2012, 6:58am
Reply on July 19 2012, 2:21pm:
    Calculate actual FPS or render such that the output looks right at the eventual actual framerate? For the former, usually you'd keep a rolling window of how long each frame took, and show the average (or better yet average and min/max/etc) for the last second or two or five or whatever.
Comment...
Question: What kind of music are you listening to these days? I need some new ideas.
Asked by Lenh (192.55.55.x) on July 18 2012, 10:59pm
Reply on July 19 2012, 1:23am:
Comment...
Question: Do you lust after a 3d printer?
Asked by PinkAsso (208.64.185.x) on July 18 2012, 3:49pm
Reply on July 19 2012, 1:22am:
    No but I hear that they are now starting to make them which are a LCD projector+stepper motor, mmm.
Comment...
Question: How do you morph a fractal?
Asked by Will (70.173.150.x) on July 18 2012, 10:57am
Reply on July 18 2012, 12:46pm:
    Usually by changing the parameters gradually, I'd guess.
Comment...
Question: Why are you too old for 3 questions down?
Asked by Will (70.173.150.x) on July 18 2012, 8:17am
Reply on July 18 2012, 12:46pm:
    Too old to enjoy it, perhaps.
Comment...
Question: Yes, exactly that question. Could you be more specific on the "without" and "unless" (scary) aspect?
Asked by Hogan (37.157.249.x) on July 18 2012, 5:15am
Reply on July 18 2012, 12:45pm:
    If you have a mostly blank area in the window and you want to move a rectangle or other primitives around, it would likely be simplest to manually track the mouse events (WM_LBUTTONDOWN/WM_MOUSEMOVE/etc) and update internal state and InvalidateRect() the window. If the window has a lot of objects bound by rectangles, and you want to automate the hit testing and drawing of them, then you could use a WDL_VWnd, but it would require setting up a bunch of extra code to pass mouse events from the win32 windows to the vwnds, and paint, etc.
Comment...
Question: So, if I want to drag a LICE line, rect ... WDL_VWnd is a bad idea?
Asked by Hogan (37.157.249.x) on July 17 2012, 4:46pm
Reply on July 17 2012, 6:05pm:
    To allow the user to position some drawing with the mouse? You could do it using that, or without, both would be pretty easy. But it would be simpler without, unless you have a lot of other stuff going on too.
Comment...
Question: Checkout these problems. How well could you do? www.theregister.co.uk/2011/03/12/facebook_hacker_cup_kicks_off/...
Asked by John (24.234.85.x) on July 17 2012, 6:52am
Reply on July 17 2012, 3:35pm:
    I'm too old for that shit.
Comment...
Question: When you watch milkdrop scenes, do you have a rough idea in your head how effects are coded algorithmically?
Asked by Will (70.173.150.x) on July 17 2012, 12:35am
Reply on July 17 2012, 3:35pm:
    Usually yeah.
Comment...
Question: Do you ever run into a difficult coding problem and as a result you procrastinate on your project for months?
Asked by Steve (218.186.12.x) on July 16 2012, 10:18pm
Reply on July 17 2012, 3:36pm:
    Usually it would be a combination of difficult and uninteresting.
Comment...
Question: Re: langpack. v interesting! i hope til i reach that point the bits 2 b part of WDL. u help a lot & it's ve much appreciated. :)
Asked by gio (94.66.85.x) on July 16 2012, 8:19pm
Reply on July 17 2012, 3:36pm:
    fo sho
Comment...
Question: Are you using WDL_VWnd for moving LICE primitives?
Asked by Hogan (37.157.249.x) on July 16 2012, 8:17pm
Reply on July 17 2012, 3:36pm:
    We use WDL_VWnd for user interface elements, but not necessarily for things that are purely for display.
Comment...
Question: In the end of the day what's the best/recommended: FFMPEG or libav? the whole tragedy described here: tinyurl.com/7z4ff4v
Asked by gio (94.66.85.x) on July 16 2012, 3:52pm
Reply on July 16 2012, 7:11pm:
    Either is fine, I think we support both equally well, and they are roughly equivalent (that reddit post is pretty funny to read, heh).
Comment...
Question: What did you do to avoid this fate? www.nytimes.com/2012/07/15/business/goldman-sachs-and-a-sale-gon...
Asked by Will (70.173.150.x) on July 16 2012, 1:17am
Reply on July 16 2012, 7:11pm:
    Ouch... Well, had AOL's stock tanked a month after our acquisition we would have been pretty screwed as well.
Comment...
Question: Are you using UpdateResource/etc for the langpacks or another approach in order to support OS X too?
Asked by gio (94.66.6.x) on July 15 2012, 11:06pm
Reply on July 16 2012, 7:09pm (edited at July 16 2012, 7:10pm):
    We use another approach, which involves the preprocessor with __LOCALIZE() macros on the static-string side (and an app that scans source code looking for __LOCALIZE() to build the default language pack), and using a fast FNV hash of the string to identify it for translation.

    For dialog resources etc, we have a special version of CreateDialog used which does the translation of text items and some layout tweaks before handing the dialog procedure over to the coded version. At some point this will probably end up in WDL, but it hasn't yet.
Comment...
Question: Do you like Marillion (or at least have you ever heard of them?)
Asked by YesIamHuman! (89.180.115.x) on July 13 2012, 2:20pm
Reply on July 16 2012, 7:08pm:
    Haven't heard of them, but I will google.
Comment...
Question: Whats your process when starting a project? Do you plan it all out or just dive into coding? What code aspect do you start with?
Asked by Eagle (64.134.130.x) on July 13 2012, 5:47am
Reply on July 16 2012, 7:07pm:
    I try to at least understand what it is I'm doing before I start coding, but sometimes you have to start before you can fully understand... At any rate, I'm usually prepared to throw a lot away.
Comment...
Question: is there a pinterest account verification bot?
Asked by justin (199.8.28.x) on July 11 2012, 7:27pm
Reply on July 12 2012, 6:51pm:
    I don't know what this means
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS