Future-proof yourself with Linux, Python, vim and git @ mikelev.in/ux I'm Mike Levin SEO in NYC. I’m in my 50s, have been on YT since 2006 with 1,300 videos and am growing.
Yes, JavaScript does have an equivalent to Python's yield for streaming purposes. JavaScript introduced generator functions that use the `yield` keyword, which behave similarly to Python generators[1][2]. Here are the key points: 1. Generator functions in JavaScript are defined using the `function*` syntax[2]. 2. The `yield` keyword is used inside generator functions to pause execution and return a value[2]. 3. Generator functions return a Generator object that can be iterated over[1]. 4. Like Python generators, JavaScript generators are memory efficient for iterating through large datasets[1]. Here's a simple example of a JavaScript generator function: ```javascript function* countAppleSales() { const saleList = [3, 7, 5]; for (let i = 0; i < saleList.length; i++) { yield saleList[i]; } } const appleStore = countAppleSales(); console.log(appleStore.next().value); // 3 console.log(appleStore.next().value); // 7 console.log(appleStore.next().value); // 5 ``` This JavaScript generator behaves similarly to its Python counterpart, allowing for efficient iteration and streaming of data[2]. Sources [1] JavaScript: Is there any "python's Generator" equivalent in JavaScript? stackoverflow.com/questions/11166483/javascript-is-there-any-pythons-generator-equivalent-in-javascript [2] yield - JavaScript - MDN Web Docs - Mozilla developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield [3] Comparing Python and JavaScript: A Guide for Developers objectcomputing.com/resources/publications/sett/december-2020-comparing-python-and-javascript [4] Python generators equivalent? - Questions / Help - Elixir Forum elixirforum.com/t/python-generators-equivalent/2806 [5] Python generators vs javascript generators : r/Python - Reddit www.reddit.com/r/Python/comments/4msgjd/python_generators_vs_javascript_generators/
Hi Mike, I've run across mykoz and it peaked my curiosity. I've tried installing it and get the following: cp: cannot stat '/mnt/c/Users/bob johnson/repos/transfer/wsl.conf': No such file or directory. I've tried to manually create the folders but still get the error. Any thoughts? Thank you!
The guy that was doing the illusion magic tricks for you hes been on TV before with other illusionist magicians when talking about Herbert Lawrence Becker All the secrets of magic revealed ps watch videos on Facebook Google RU-vid video search engines on All on Herbert Lawrence Becker All the secrets of magic revealed and Val Valentino leanered Montana the masked Magician
Lewis Tannens magic shop and MAGIC camp then there's Abbott magic company and vanishing Inc and penguin magic Murphy's magic Chuck Windlely magic &more in genie magazines and was in Norfolk Virginia but he moved in ocean view Ware house and there's magic magazines the linking Ring catalog Lewis Tannens magic catalog and Abbotts magic catalog ps church member friend Sense 1980s on up Bob Scofield at Good News Baptist church in Chesapeake Virginia and hes a ILLUSIONIST MAGICIAN KTM Moto cross biker sponsered by Honda and Born again Christian brother in Christ he and church member Fred Stoll and my mom and dad and nieces and nephews and two sisters and family tree and friends around My neighborhood and public schools teachers and public school Liberian mrs gueemen and mr and Mrs Lowery church members and missionaries and retired youth workers Mark Taylor joker clown in fun and his wife Patty Taylor all helping me becoming a good ILLUSIONIST MAGICIAN in fun and sharing knowledge freely back and Jesus Christ Lord Savoir God answered my prayers For fold too learn Doug Henning and David Copperfield stage illusions ps also church member friend Wayne Berry coined me a walking magic book
I just started learning python and when I try to delete the kernel like in this video. I get [Errno 13] Permission denied: ‘/user/local/share/jupyter/kernels/techfundamentals ?
Why don't you then write it in a way pleasant to you? Write a DSL which you like, and write a macro layer to translate that to lisp. Generally, beauty lies in the eyes of the beholder, but lisp is always beautiful because if you don't like the syntax, you simply change it to what you like.
@@ssg6499 Yes, beauty is in the healthy eyes of the beholder. Typing and matching braces is no fun. I want to write programs, not new programming languages. Lisp belongs in hell!
hey man, awesome video but im still stuck. whenever im downloading the installer or whatever, i cant seem to get past 6:00 . for some reason, instead of opening the installer like yours did, it just closes completely and doesn't continue on with the installation. any way u can help with that?
It could be some safety thing from Microsoft. Try right-clicking on the download to see what options there are. I forget the latest Run as Admin choice Microsoft uses, but that could do it. Also there's as chance the admin prompt is hidden when you double click the download. That happens when screen capture software is running. Maybe make sure OBS is fully quit out. And finally make sure the download is good. Try deleting and re-downloading.
@@MikeLevin I have two display adapters, it's a tower PC, I was hoping to avoid using GeForce series and use the Intel card instead to see if it would work. Thanks for your help
Your description of lisp is beautiful, and my claim to fame is I was one of Stallman's translators in 2008. I don't use VI or Emacs but lisp is mind bending, true enough.. 🙂
The manual says the Pet Powermate can only be used on the HOSE handle (where all the controls are)bNOT at the end of the long wand!!! This is definitely safer and more versatile on stairs. It's easy to vacuum the vertical stair rises as well.
The cannister should always be BELOW the stair you're vacuuming!!! Read the vacuum manual & look at the diagram explaining the bumps on the cannister underside that are designed to rest the cannister against stair lips. They work great if you keep the cannister BELOW your work!!
i lost my hand some time ago which was sad but it's also really funny because i can perform this trick and it's actually just me pulling off my finger (under the assumption that my audience doesn't know i lost my hand)
Everytime someone makes a zero energy device they go missing. I'm gonna make one and share it very quickly. If you already have made one share it with the world I promise you'll get money the world comes first.
I talked with an AI about the validity of the U of Colorado research ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-T7A-Bzbz8xE.htmlsi=5eCjdUqoVv5w-mMk
It's amazing how much coverage this video gets. It comes in waves as OBS upgrades. I've heard some people have luck going back to the software driver. Not ideal, but in a pinch, you know.
I was able to create a container but not VM, Creating the instance Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: vhost_vsock kernel module not loaded, any idea how to fix this?
Your video was absolutely fantastic! It solved my problem effortlessly and I thoroughly enjoyed your personal touch, especially your singing. It was both relaxing and informative. Thank you!