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: Since the source code of Winamp was posted to GitHub, I took a cursory dive into the part I've always been curious about (how the main vis is drawn) and was surprised to find a variable that holds the image data generated, and I wonder, was this easier to do than using what GDI provided? Optimization? For shits'n'giggles? If you remember, I would love to know what the intent was
Asked by Eris Lund (93.215.146.x) on September 28 2024, 9:08am
Reply on September 28 2024, 6:18pm:
    Give me a link to the code you're talking about (in the comment here) and I'll take a look heh
6 Comments...
Question: What would be cost to make this page vs the forum in the reaper website? or timwise how much time did it take to make this page vs the reaper forum? are there free templates to do these things? or is it from scratch, thanks!
Asked by Orieo (128.199.51.x) on September 27 2024, 4:34pm
Reply on September 27 2024, 7:03pm:
    this page is a small php script I made, not sure how you'd quantify the cost but it's a few programmer hours of work, maybe a dozen or so? and the forum is a big off the shelf thing called vbulletin, which you can buy.
Comment...
Question: dumbest platform-specific hack/workaround?
Asked by silent (199.188.121.x) on September 27 2024, 12:27pm
Reply on September 27 2024, 7:04pm:
    heck if I know
Comment...
Question: Now that somebody accidentally put Winamp's github page to public, your old code is now available for us all to gaze upon. What percentage of that code is actually written by you? And is the code style similar to how REAPER is written?
Asked by Florian (94.105.110.x) on September 26 2024, 7:50pm
Reply on September 26 2024, 8:48pm:
    umm I don’t think it was accidental? anyway, most of that code is not mine, and REAPER and Winamp have little in common. WDL has more of my modern style though even a lot of it is 20ish years old at this point heh
Comment...
Question: Aren't you glad you turned down all those invitations to the Diddy parties?
Asked by Mommy (146.70.45.x) on September 26 2024, 12:42am
Reply on September 26 2024, 1:25pm:
    oof :(
Comment...
Question: I've kept hearing that you apparently open sourced/some parts of Winamp 3, but I can't find it anywhere, would you know where to look? Thanks a lot!
Asked by James (62.167.72.x) on September 25 2024, 7:40pm
Reply on September 25 2024, 11:20pm:
Comment...
Question: hey jf- some people over here have a term "on your toes" (or,leg it) for when 1 is running....or, running away from something..... > do you find when running you are using more with a flat foot,or literally more "on your toes" ? (like for speed sprinting)
Asked by 2024 (31.126.233.x) on September 25 2024, 3:03pm
Reply on September 25 2024, 11:21pm (edited at September 25 2024, 11:22pm):
    "on your toes" to me means "ready for the unexpected" or whatnot. but in general I mostly run on my forefoot (landing on the ball of the foot, then heel coming down), except when I get tired then I tend to heel-strike. Not much of a sprinter, though, if I do 200m intervals I'm looking at about 37s a pop (if I treated it as a one-off could probably do 32s, guessing?), ran a mile in 5:22 recently...
Comment...
Question: Hey Justin, I’m a developer who lives in SF (mostly in the video space). I’m working on some project in my spare time and was wondering about what your like “best practices” are for audio playback these days in terms of buffering, audio subsystems, thread scheduling etc. if you’re open to meeting for coffee or a drink I would love to buy one for you. I promise this is not me trying to pitch you anything LOL
Asked by Jonas (146.75.154.x) on September 25 2024, 12:22am
Reply on September 25 2024, 11:49am:
    Nah, I'm in NY anyway these days
Comment...
Question: Now that WinAMP's source has been officially released, do you have any desire to hack new badass features in? github.com/WinampDesktop/winamp
Asked by Will (23.125.224.x) on September 24 2024, 2:39pm
Reply on September 24 2024, 5:53pm (edited at September 24 2024, 5:55pm):
    If I did have any desire, it would be extinguished by the license terms, lol. The terms are completely absurd in the way they are written, e.g. "You may not create, maintain, or distribute a forked version of the software." So arguably making any changes would be considered "creating a forked version." But even taking these terms as they are likely intended (which is slightly more permissive than how they are written), they are terrible. No thank you.
5 Comments...
Question: Are you aware of any projects outside of Cockos that use WDL?
Asked by weinzierl (185.40.248.x) on September 19 2024, 12:20pm
Reply on September 19 2024, 1:24pm:
    There are other users who I periodically hear from when I break their code/build system/etc, but I don't really keep track of what they make.
1 Comment...
Question: hey jf- how often do you apply occam's razor? (never,not very often,,,very regular)
Asked by 2024 (31.126.233.x) on September 14 2024, 9:03am
Reply on September 14 2024, 9:16pm:
    Probably more often than I realize, but consciously not very often.
Comment...
Question: Hello, is it possible to receive pre-release news by e-mail for each pre-release? If it's not possible, couldn't you set it up please :)? Thank you
Asked by Jason18 (91.165.163.x) on September 13 2024, 9:14pm
Reply on September 13 2024, 11:19pm:
    Sending a lot of email is a pain, nah...
4 Comments...
Question: I’ve encountered an issue with how REAPER handles the `description` field in iXML metadata, specifically that it stores it in multiple formats. This has been causing errors when I try to use atldotnet with REAPER-generated files. After discussing this with others, it seems that this approach doesn’t fully conform to the iXML spec. Here's a link to the related issue on GitHub: [GitHub Issue - atldotnet](github.com/Zeugma440/atldotnet/iss.... Could you share some insight on why this is done?
Asked by Jinghua Song (172.104.174.x) on September 12 2024, 2:03am
Reply on September 12 2024, 11:25am:
    Got your email about this too, we'll look into it.
Comment...
Question: What do you think which is harder, a solo indie software developer or a solo indie game developer?
Asked by Indieeeeee again! (223.190.213.x) on September 11 2024, 5:28pm
Reply on September 11 2024, 7:13pm:
    I've only really done one of them (though for a small fraction of my career, at this point I've been working with others for so soo long yay), so I have no idea.
Comment...
Question: hey jf- when you are pushing close to your maximum physical efforts..pure exhaustion..& are on the verge of giving up...do you have any type of mantra,or super positive affirmations/ ideas/ beliefs that gets you to a goal?
Asked by 2024 (81.159.206.x) on September 8 2024, 6:38pm
Reply on September 8 2024, 10:04pm:
    Lucky for me these are always things I've chosen to do, so I'll just remind myself of that. And because of that I'm as happy as I can be, despite the discomfort.
1 Comment...
Question: There is while loop like this while (a<b); { //statements }. There is semicolon in while loop, terminating that loop, and the compiler completely ignores that loop. What is the usage of this? Can you give any example where this terminated loop is used?
Asked by Abhi (182.69.60.x) on September 6 2024, 8:16am
Reply on September 7 2024, 1:41am (edited at September 7 2024, 1:45am):
    so that semicolon terminates the while, so what you have is essentially this:
    while (a < b) { }
    { /* statements */ }
    
    which is probably not what you intended!

    But I see that you're saying the compiler ignores the loop. Well, if you have a loop that the compiler determines never exits, it is considered undefined behavior (UB) and for optimization purposes, since the loop has no side effects, the compiler is allowed to completely remove the loop.
4 Comments...
Question: So basically, if you have to introduce yourself to someone, you will say your occupation as Indie Software Developer?
Asked by Indieeeeee (122.177.210.x) on September 4 2024, 4:21pm
Reply on September 4 2024, 6:29pm (edited at September 4 2024, 9:26pm):
    usually just go with programmer (but ISD seems like a more pretentious way to present it if I feel so inclined lol)
Comment...
Question: hey jf- after seeing the billionth shootout video for xyz versus zyx daw "sound engines" (LOL) is there really a conclusive way,without any doubts finally (lol) to put this topic to sleep?
Asked by 2024 (86.128.120.x) on September 4 2024, 3:59pm
Reply on September 4 2024, 6:30pm:
    This is the internet we're talking about, of course not
1 Comment...
Question: The current implementation of safe variants for tolower/toupper/etc in wdltypes.h causes collisions with xlocale header of STL similarly with what happened with min/max years ago, maybe a similar approach to wdl_min/wdl_max should be followed with a wdl_ prefix or an option to disable those? If there is a possibility to do something about it :)
Asked by Gio (79.130.177.x) on September 4 2024, 5:54am
Reply on September 4 2024, 1:52pm:
    Ah doh, yeah. tweaking that
1 Comment...
Question: Hmm, i32_to_double() produces a downcast warning when the type is float. I think a cast of type T is required there, yes?
Asked by Gio (79.130.191.x) on September 1 2024, 7:08am
Reply on September 1 2024, 11:32am:
    Yeah I suppose, we don't use it for float, done.
1 Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS