But how can you change the to recipient like if I want to send multiple recipent
@greenguydubstep25 күн бұрын
the voice WHAT
@zakspeed63Ай бұрын
too fast ... slow down
@SolomonTetteh-ot7ww3 ай бұрын
thanks. This video was really helpful. You have amazing voice
@yshlr3 ай бұрын
name "lines" is not defined
@AndreasCorelli-dw3mx4 ай бұрын
This is so helpful! I always wondered how lexers were implemented and even if this isn't something very advanced, it makes understanding so much easier! Thank you!
@heckerhecker82465 ай бұрын
the voice change made me look back at what video I was on lol
@quantaviousdinglenut6 ай бұрын
i know this might sound stupid, but what theme do you use, its easier for me to match colors than match words/symbols. thanks!
@eastriver98366 ай бұрын
hi thanks but can you make a video how to set various duration for images into a video using ffmpeg. I looked everywhere and nothing work
@ArtikLamartik6 ай бұрын
very good vid!
@ArtikLamartik6 ай бұрын
I am a python programmer, and this is very good!
@myartsandcrafts10756 ай бұрын
Can we test this in any other way
@coulterminer6 ай бұрын
Good tutorial, but I would recommend actually making your lexer a class and parsing by line for scalibility and adaptability
@LightslicerGP6 ай бұрын
Im going through the playlist and uh..... you sound different 💀
@Tugrab6 ай бұрын
growing up lol
@tomasvanercreates89977 ай бұрын
I think there might be a slight problem with quotes. If you try to parse "Hh'd'Gg", it will break it into three tokens, not 1, won't it?
@firenova68427 ай бұрын
love it <3
@suatogme87067 ай бұрын
It's still unsecure. I can expose the secret keys by adding breakpoint before running "sendForm()" and read from debug.
@SakuraHougetsu287 ай бұрын
What's -f image2
@ОПГКобаны8 ай бұрын
thank you 😭🙏 i thought that '%' symbol meant any symbol, so i was inputing something like "%%%%%%%.png", and your video has explained very nicely what it actually means 😭😭 thank you, it was very helpful
@BeastGamesRW8 ай бұрын
I really appreciate how you explained that. It helped me understand the concept much better.🤝
@theivorycoder8 ай бұрын
That’s great to hear!
@gustavo_brigante8 ай бұрын
After going through 5 different methods that didn't work, this one worked right away! Thank you!
@theivorycoder8 ай бұрын
Great! glad to help
@Wallee5809 ай бұрын
I watched the first five minutes, understood the concept, and made my own. Thank you for the great explanation!
@theivorycoder9 ай бұрын
Glad it helped!
@a.frogHat10 ай бұрын
Maybe its not the best solution but for strings this is what i did: elif token[0] == 'string': inst_line += "'"+"str("+token[1]+")"+"'"
@JhonataRios-d2l10 ай бұрын
Moreeeeee videooooooooo
@mikiex10 ай бұрын
Every time you mention Lexer it sets off my Alexa :)
@theivorycoder10 ай бұрын
😂😂
@mikiex10 ай бұрын
@@theivorycoderYou need to Ko-fi or Buy me a Coffee!
@ManojKumar-yb1dv10 ай бұрын
Hlo guys you can use this---------->When you encounter a string token, you should append it to the items list with the correct token type ('string'), but your code appends it as ('symbol', token). In the parse function, you are using exec(inst_line) to execute the dynamically generated code. Make sure to handle string values correctly during execution. import regex as re from func import * def lexer(contents): lines = contents.split(' ') nLines = [] for line in lines: chars = list(line) temp_str = "" tokens = [] quote_count = 0 for char in chars: if char == '"' or char == "'": quote_count += 1 if quote_count % 2 == 0: in_quotes = False else: in_quotes = True if char == " " and in_quotes == False: tokens.append(temp_str) temp_str = "" else: temp_str += char tokens.append(temp_str) items = [] for token in tokens: if token[0] == "'" or token[0] == '"': if token[-1] == '"' or token[-1] == "'": items.append(("string", token)) else: # Throw Error break elif re.match(r"[.a-zA-Z]+", token): items.append(("symbol", token)) elif token in "+-*/=%": items.append(("expression", token)) elif re.match(r"[.0-9]+", token): items.append(("number", token)) nLines.append(items) return nLines Symbols = [ "var", "function", "print" ] Vars = { } def parse(file): contents = open(file, 'r').read() lines = lexer(contents) for i in range(len(lines)): line = lines[i] inst_line = "" for y in range(len(line)): token = line[y] if token[0] == 'symbol': if token[1] in Symbols: if token[1] == 'var': inst_line += 'Vars["$v"]' elif token[1] == 'print': inst_line += 'print($v)' else: # assuming a variable if arrVal(line, y + 1)[1] == '=': if line[y - 1][1] == 'var': if token[1] in Vars: # throw error break else: if re.match(r'[.a-zA-Z0-9_]+', token[1]): inst_line = inst_line.replace('$v', token[1]) else: # throw error break else: if token[1] in Vars: inst_line = 'Vars["' + token[1] + '"]' else: # throw error break else: if token[1] in Vars: inst_line = inst_line.replace('$v', str(Vars[token[1]])) elif token[0] == 'expression': inst_line += token[1] elif token[0] == 'number': inst_line += token[1] elif token[0] == 'string': inst_line += 'print(' + token[1] + ')' exec(inst_line) return lines /////////////////////////////////////////////////////////////////////////////////////////////////
@c00lcheeky-OFC11 ай бұрын
[image2 @ 000001677b78efc0] Could find no file with path './percent/%4d.jpg' and index in the range 0-4 [in#0 @ 000001677b74b3c0] Error opening input: No such file or directory Error opening input file ./percent/%4d.jpg. Error opening input files: No such file or directory
@c00lcheeky-OFC11 ай бұрын
[libx264 @ 0000015a52619780] height not divisible by 2 (1440x837) [vost#0:0/libx264 @ 0000015a52619280] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. [vf#0:0 @ 0000015a52bbaac0] Error sending frames to consumers: Generic error in an external library [vf#0:0 @ 0000015a52bbaac0] Task finished with error code: -542398533 (Generic error in an external library) [vf#0:0 @ 0000015a52bbaac0] Terminating thread with return code -542398533 (Generic error in an external library) [vost#0:0/libx264 @ 0000015a52619280] Could not open encoder before EOF [vost#0:0/libx264 @ 0000015a52619280] Task finished with error code: -22 (Invalid argument) [vost#0:0/libx264 @ 0000015a52619280] Terminating thread with return code -22 (Invalid argument) [out#0/mp4 @ 0000015a525f1140] Nothing was written into output file, because at least one of its streams received no packets.
@ZBLdrawings11 ай бұрын
When will be the next episode?
@TouchcreatorYT11 ай бұрын
came back from the dead
@xheptc961211 ай бұрын
fr bro went from 10 to 17
@ManojKumar-yb1dv11 ай бұрын
please upload next videos?
@FilianAfterHours11 ай бұрын
BRUH I did all of this but my jpeg frames has like 6 zeroes in it
@SuperHutomo Жыл бұрын
Thanks very helpful
@ardillatexana1844 Жыл бұрын
thx
@jhonataplaygamer2084 Жыл бұрын
Make a New print with string and number tokens in print function
@JhonataRios-d2l Жыл бұрын
Create a input read plzzzzz
@JhonataRios-d2l Жыл бұрын
Create the input read
@theivorycoder Жыл бұрын
Hi, what’s the Input Read?
@gememmi Жыл бұрын
Thank you for the video!! I encountered one challenge, I wanted to ask about: After using the the variables of the keys, I then receive a quick error message on my screen that says a public key is needed. The message only lasts for a split second and no email is sent to my account when I try to send one. Any idea what I could be doing wrong? Thank you :)
@theivorycoder Жыл бұрын
hmm, I’m not quite sure what could be causing that. sorry! Have you tried following the video more carefully and finding any type-os? If everything is exactly the same then it may just be that emailJS has changed their software. In which case you’ll have to go through the documentation by yourself. Good luck 👍
@TeaTeaKay Жыл бұрын
Keep up the good work with the videos. Just as a quick tip, the . character inside the square brackets in your regex will match an actual . character as well as the a-zA-Z0-9_ that you intended. You probably want that in your regex for number tokens, but it didn't sound like you intended that for variable names.
@phillipPbor Жыл бұрын
i get error from import regex as re how?
@phillipPbor Жыл бұрын
i have a question: import regex as re an error accord regex could not be resolved from source is there a reason?
@theivorycoder Жыл бұрын
try typing into the command prompt: pip install regex. If that doesn’t work, try installing the latest version of python
@qasimsayah Жыл бұрын
ffmpeg -f image2 -i ./capture/%04d.png output.mp4 [out#0/image2 @ 000001bd8b61a8c0] Output file does not contain any stream Error opening output file -i. Error opening output files: Invalid argument
@theivorycoder Жыл бұрын
Sorry, I don’t know what caused that error. Hope you find a way to fix it!
@SuggonM Жыл бұрын
The parameter immediately following "-i" (short for -input) is the path for your input file. You need to have a single space between them.
@usedcars9521 Жыл бұрын
What if your frames don't start with a 0? I have a folder with a bunch of frames but they begin with frame64 and I just get a "no such file or directory" error if I try to use filename%nd.jpg
@theivorycoder Жыл бұрын
One possibility is to change the %4d.jpg to *.jpg to compress all files in the folder.
@aliyousef9214 Жыл бұрын
i have a project about create a programming language from Python, so I need to add more options and more things in my language how i can do that. there is a book, course or resource?
@theivorycoder Жыл бұрын
I would recommend reading the book Crafting Interpreters by Robert Nystrom. You can find the free E-Book at: craftinginterpreters.com
@theivorycoder Жыл бұрын
Sorry for such a long wait! I’ going to start uploading a lot more frequently from now on!
@mikiex10 ай бұрын
Got a Ko-fi or Buy me a Coffee link?
@heckerhecker82465 ай бұрын
Hey, random question, what theme do you use for vscode?
@tacoman113 Жыл бұрын
Hope you plan to come back to this series. It was so helpful and I would love it it continues!
@theivorycoder Жыл бұрын
don’t worry I’m chipping away at the next video whenever I have some time to spare 👍
@theivorycoder Жыл бұрын
new videos up 👍👍
@JhonataCarneiro-z6s Жыл бұрын
Make moreeeeeeeee
@радфем Жыл бұрын
good
@GnuChanOS Жыл бұрын
nice work this is cool keep making this
@Путьпрограммиста-ц1ь Жыл бұрын
When is the next part? I haven't seen such guides of such quality for a long time