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: Thanks for the code ExecProcess. Is there a way that I could get the output of a cmd line app like cdrecord, and recieve the output progress in realtime to an Edit control without adding an additional function to the code? It works, but not in realtime.
Asked by Wyatt (76.77.160.x) on September 15 2019, 10:33pm
Reply on September 16 2019, 12:44am:
    Simplest method: in that code, every time it calls ret.Append(), you could add SetDlgItemText(hwnd,idx, ret.Get())... or something along those lines.

    You'd also need to run the message loop, though, (via PeekMessage()/DispatchMessage() on Windows and a SWELL_ function on non-windows), which is ugly. Ideally you should restructure the code to initialize once, then run it periodically from a timer to check for output. That will be left as an exercise for the reader.
Comment...
Question: what do you think of spraycan art? graffiti? wall murals..ever done a piece like that?
Asked by bkind (2.26.240.x) on September 15 2019, 12:35pm
Reply on September 15 2019, 1:09pm:
    I haven't done any but I like them!
1 Comment...
Question: What's the best coffee you've had lately? (Preferably - that I could order for myself)
Asked by Andre (108.75.134.x) on September 15 2019, 7:54am
Reply on September 15 2019, 1:09pm:
    Where do you live?
4 Comments...
Question: Will trum win the next election?
Asked by Fred (188.96.118.x) on September 14 2019, 2:28pm
Reply on September 15 2019, 1:21am:
    Dear God I hope not!
1 Comment...
Question: Sorry but rss feed seem's to doesn't work anymore. On 1014.org/rss.phpthere is this message (with chrome) : "This page contains the following errors: error on line 6705 at column 84: EntityRef: expecting ';'". BTW Thanks for everything Justin!
Asked by boby_dick (90.89.165.x) on September 14 2019, 2:21pm
Reply on September 15 2019, 1:21am (edited at September 15 2019, 1:22am):
    Thanks for bringing this to my attention, fixed!
Comment...
Question: would you rather be a dolphin or a dog?
Asked by robin (85.76.137.x) on September 13 2019, 12:57am
Reply on September 14 2019, 1:42pm:
    Probably depends on where and with whom the dog lived... I've seen some very, very happy dogs. Though being a dolphin in the wild would probably be pretty awesome too.
Comment...
Question: Could you make LICECap have a higher z-index than the taskbar in Win10? it would be incredibly useful.
Asked by Will (23.125.224.x) on September 12 2019, 2:20pm
Reply on September 12 2019, 8:26pm:
    Not that I know of but maybe it would be possible
Comment...
Question: I'm super inspired by your ethos, by your quality software, business model, and apparent dedication to Jesus. Thank you. Have you ever tried kirtan or bhakti-yoga?
Asked by haribol aaron (174.28.166.x) on September 10 2019, 10:12pm
Reply on September 11 2019, 3:21pm:
    I'll take 75%. I've done only very basic yoga, but running is more of my thing
1 Comment...
Question: how do you feel about orphaned or abandonwares? would there be any old code or particular old softwares you would love to reavive or continue if having any chance to? +what is the actual laws on that? ty.
Asked by imetayeti (2.26.240.x) on September 8 2019, 9:04am
Reply on September 8 2019, 10:45pm (edited at September 9 2019, 1:22pm):
    Re: actual laws, I am not a lawyer.

    The US constitution has a relevant clause (quoted from
    wikipedia):
    
    [the United States Congress shall have power] To promote the Progress of
    Science and useful Arts, by securing for limited Times to Authors and
    Inventors the exclusive Right to their respective Writings and Discoveries.
    
    
    This is interesting because it establishes that the purpose of copyright is to "promote the progress of science and useful arts." Having said that, in my opinion, with respect to the spirit of the law, abandonware, ophaned software, and very obsolete software, where the exercise of the copyright is not providing any benefit to anybody, should be completely allowed, as it maximizes the benefit to society... Which seems to be the case in practice, normally (look at archive.org and their emulated software libraries, which are fantastic).
3 Comments...
Question: I just finished the introductory book for the Rust language and it seems really nice. Any familiarity with it? Thoughts? Opinions?
Asked by Lokasenna (70.73.126.x) on September 4 2019, 3:53pm
Reply on September 4 2019, 9:59pm:
    I haven't looked at it much... Misc other languages is not where I spend my time, usually.
Comment...
Question: "if you could have the powers of any supervillain or superhero for a week,who would you be and what would you do with any powers?"
Asked by bnice (31.124.45.x) on September 4 2019, 11:22am
Reply on September 4 2019, 3:03pm:
    The bad dude from the first season of Jessica Jones, if I had that power I could go have some words with some people and maybe get them to be nicer? Or maybe it wouldn’t last long enough?
2 Comments...
Question: This is the Winamp player if Justin Frankel would have lived in a steampunk world: i.redd.it/ko3omnwufyj31.jpg
Asked by MS from Sweden (77.218.245.x) on September 1 2019, 12:58pm
Reply on September 2 2019, 6:02pm:
    I wish I had a picture of my parallel port DAC + radio shack amplifier I used back in the day for DACe...
Comment...
Question: hey- "did you realize edison was not the 1st recording engineer?" + "do you patent anything at all?" please observe> (youtube.com/watch?v=75UrxueiP-4
Asked by oddsod (31.124.45.x) on August 31 2019, 9:31am
Reply on September 2 2019, 6:04pm:
    interesting. I don't like software patents, so I would never consider getting one.
Comment...
Question: do your eyes still bright when achieving some programming thing? : ) i wonder this because mine don't shine so much with it as they used. I feel it's just one more :) I wonder how about you.
Asked by deee (79.168.140.x) on August 29 2019, 5:04pm
Reply on August 29 2019, 8:55pm:
    Depends but yeah
Comment...
Question: How do you attempt syntaxhighlighting in the IDEs? For Eel, you could create it your own, but how did you do that with Python and Lua, who you didn't write? Is there a system for parsing and coloring they provide?
Asked by Mespotine (109.104.36.x) on August 29 2019, 4:09pm
Reply on August 29 2019, 8:55pm:
    We did it for all of them, it's mostly shared code but some different logic for each...
Comment...
Question: hey-"have you experienced london's nottinghill carnival?" it's 1 to check if not!
Asked by bododd (31.124.45.x) on August 29 2019, 11:25am
Reply on August 29 2019, 8:55pm:
    I haven't!
Comment...
Question: Do you prefer nested ternary expressions over if/elseif/else? Just learned them yesterday, they are so cool, much less lyrics in a code :)
Asked by Pony (78.152.169.x) on August 28 2019, 8:28am
Reply on August 28 2019, 1:08pm:
    Depends on the code/function IMO
Comment...
Question: Would you do Joe Rogan's podcast? John Carmack is gonna be on tomorrow.
Asked by Will (50.84.190.x) on August 27 2019, 8:23pm
Reply on August 27 2019, 11:08pm:
    Depends on how it would be done I guess? And the subject matter too, probably.
Comment...
Question: Is the answer still 42? Just checking, I hate worrying.
Asked by Not_Here (66.133.74.x) on August 26 2019, 8:56am
Reply on August 26 2019, 11:22pm:
    Last I checked.
Comment...
Question: hey- ok for the sanity of humanity: the reaper credits- "just what IS the hidden part?" please+ty!
Asked by oddbod (31.124.45.x) on August 25 2019, 10:18pm
Reply on August 26 2019, 11:22pm (edited at August 27 2019, 12:17pm):
    Not to ruin it for everybody, but ***************.
1 Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS