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: PCRE or POSIX regexps?
Asked by Will (24.234.85.x) on July 23 2013, 9:26pm
Reply on July 24 2013, 8:54pm:
    Usually just mess around until I get something to work on either side.. I think I'd lean towards PCRE, but not strongly.
Comment...
Question: On your two javascript canvas demos, how do you pick those colors that blend so well together? The two look like different palettes.
Asked by John (70.173.150.x) on July 21 2013, 3:37am
Reply on July 21 2013, 7:23pm:
    It's just combining R/G/B based on position...
Comment...
Question: What are your thoughts on supporting XP? PHP 5.5 scraps support for XP, while many people still use it in production!
Asked by Will (24.234.85.x) on July 20 2013, 1:06am
Reply on July 20 2013, 3:59pm:
    Hah, well I wouldn't really care about PHP on XP (I don't host webshit on Windows), but my main recording laptop runs XP (quite well at that!).
Comment...
Question: Do you ever get recognized by fan boys?
Asked by Will (24.234.85.x) on July 19 2013, 8:54pm
Reply on July 20 2013, 4:00pm:
    Nope. Sometimes when introduced, but that's rare too.
Comment...
Question: what's the idea behind "m_empties" in various places? it looks like that instead of releasing memory you keep track of it and once done then to release everything (!?)
Asked by gio (94.66.64.x) on July 17 2013, 5:16pm
Reply on July 17 2013, 9:02pm:
    Well, when you have items that you would otherwise call free() and malloc() (or delete and new) on a lot, such as buffers, it's sometimes preferable to keep them around for reuse rather than having to modify the heap.
Comment...
Question: Is there some kind of TODO list for the SWELL linux port, i.e. things that have to be done for a working native linux version of REAPER?
Asked by John (188.101.193.x) on July 16 2013, 9:59am
Reply on July 17 2013, 9:01pm:
    It's a bit too big for a todo list...
Comment...
Question: Do you like the new blink engine in Chrome 28? Seeing that ugly pattern when scrolling fast rubs me the wrong way.
Asked by Will (24.234.85.x) on July 12 2013, 7:20pm
Reply on July 13 2013, 3:21am:
    still running 27 here.
Comment...
Question: Edward Snowden: Hero or Villain? Discuss.
Asked by Mick (101.165.16.x) on July 12 2013, 10:12am
Reply on July 12 2013, 1:59pm:
Comment...
Question: VST/Win (googled but not convinced by results..) : Is there any good reason for hosts not to "forward" WM_SIZE? And, if not, is there any REAPER VST extension or trick to "enable" them?
Asked by frenchos (66.45.252.x) on July 12 2013, 7:46am
Reply on July 12 2013, 1:58pm:
    Well, ideally you wouldn't send WM_SIZE directly, but you'd just resize the child window to fit, but this would break tons of plugins. What some of our plugins (i.e. ReaTune) do is poll the size of the parent on a timer...
Comment...
Question: register("file_in_project_ex", &struct) : is there a way to 1) register a callback (or something) so that so I can update paths when the user save as/convert to a new place? -2) specify a sub-directory?
Asked by frenchos (46.218.205.x) on July 12 2013, 7:35am
Reply on July 12 2013, 1:57pm:
    1) No, but I've been meaning to add that, and 2) a sub-directory for save-as? Could be useful I suppose...
Comment...
Question: whats your favourite euro techno song or band?
Asked by ladida (24.138.41.x) on July 12 2013, 7:18am
Reply on July 12 2013, 1:57pm:
    hmm not sure what qualifies as techno....
Comment...
Question: How often do you record music?
Asked by ees. (69.15.110.x) on July 9 2013, 12:16pm
Reply on July 9 2013, 10:03pm:
    You can see more than half of my recordings on my music/Alone page, though a lot of stuff doesn't get finished the majority does get to the point of ending up there...

    Or:
    deadbeef@nas:/c/data/recordings$ for a in 12?? 13??; do echo -n $a; echo -n : ;ls $a | wc -l ; done
    1201:14
    1202:11
    1203:13
    1204:5
    1205:6
    1206:5
    1207:13
    1208:11
    1209:3
    1210:6
    1211:4
    1212:11
    1301:9
    1302:8
    1303:6
    1304:9
    1305:4
    1306:3
    1307:2
    
Comment...
Question: Do you use Email encryption like PGP or SMIME? If yes: only private or also for your company? If no: why?
Asked by John (93.193.68.x) on July 8 2013, 11:29am
Reply on July 9 2013, 10:03pm (edited at July 9 2013, 10:04pm):
    I don't -- I'd like to at least for certain communications, but nobody else seems to bother so it's a tough challenge (maybe I should try though...)
Comment...
Question: Do you have a preference for either 16:9 or 16:10?
Asked by travis (70.178.147.x) on July 8 2013, 3:51am
Reply on July 9 2013, 10:05pm:
    For working desktops, 16:10, I guess.. for movies, 16:9 or wider...
Comment...
Question: Neat canvas code. Could you do all of AVS in JS/canvas or is it too limited? Think V8 would beat EEL?
Asked by Jason (77.109.138.x) on July 7 2013, 12:46am
Reply on July 9 2013, 10:06pm:
    Probably could do a lot of AVS in JS/canvas, though there were so many AVS modules it would be a crazy amount of work to duplicate them all.

    I often wonder on V8 vs EEL as well, the main thing preventing me from adding V8 support to JSFX would be that V8 doesn't really support threading in the same way (so it would require some rethinking, or fx to do some IPC-type signalling between threads), but it would be interesting at any rate! Someone should make a V8-VST :)
Comment...
Question: So if you could sit down and pick Abrash's brain, what's something you'd want him to explain to you that you never figured out on your own?
Asked by Will (70.173.150.x) on July 6 2013, 6:23pm
Reply on July 9 2013, 10:07pm:
    Probably would just want to shoot the shit, really. Talking about programming is like talking about masturbation, for the most part.
Comment...
Question: Can you explain the algorithm to HTML5 canvas/javascript fun #1?
Asked by Will (24.234.85.x) on July 5 2013, 7:35pm
Reply on July 5 2013, 10:42pm:
    It has two things:

    The first is what it draws in the center, which is a classic super-basic effect which is to draw each pixel as a bitwise combination of their coordinates, i.e. xor/or/and. In that case, it does something a little different for each color plane (back in the day we'd have a palette so we'd just typically make the palette index bitwise x/y).

    The second effect is blitter feedback; this is implemented by creating a second canvas, blitting a copy of the main canvas to it, and then blitting a portion of that copied canvas to the main canvas, with scaling. The scale applied is usually slightly different (i.e. zooming 1.05x or so), which wouldn't mean much, except the zooming accumulates each frame. It's a very common technique for visualizers (going back to Geiss, AVS, G-Force, etc).
Comment...
Question: You once posted a video of your rather large AZ home. In retrospect, is more space worth it, or have you come to appreciate smaller / more minimal spaces to live/work?
Asked by Will (24.234.85.x) on July 3 2013, 6:03pm
Reply on July 3 2013, 7:12pm:
    Hmm I don't think I did, maybe it was something else; at any rate I think for a couple of people anything more than 1500-1800 square feet is pretty much wasted... of course when you have hobbies/activities/jobs that require more space that goes out the window...
Comment...
Question: I know REAPER does most work in the FPU space and I was curious in the case of mixing with integers. Is that done in the FPU as well? or you have a build a total different execution path based on integers. I have a feeling that it's the first one but some clarification will solve the mystery. By the way thanks for update, it was sweet.
Asked by gio (94.66.27.x) on July 3 2013, 12:42am
Reply on July 3 2013, 1:57pm:
    The integer mixing mode that REAPER uses actually still uses the FPU for computation, it just models the computation on integer summing (meaning the results are the same as if it was done as integers.
Comment...
Question: Do you use Android? If not what OS does your phone run? And why not Android?
Asked by Bob (93.193.64.x) on July 2 2013, 4:49pm
Reply on July 3 2013, 1:58pm:
    iOS here, since the first iPhone. At the time the iPhone came out, I got one of those Nokia flip smart phone things that was technically superior in many ways, although not as nice to use.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS