# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=52

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 53

---

## [React Router URLs (Learning React)](https://forum.kirupa.com/t/react-router-urls-learning-react/639247)

<div class="topic-metadata">

**Author:** [@jamesallan626](https://forum.kirupa.com/u/jamesallan626)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 12:27am UTC](https://forum.kirupa.com/t/react-router-urls-learning-react/639247 "2019-01-09T00:27:30Z")

</div>

Quick question about React Router and urls from the book “Learning React”. When I code the demo, the urls that the router produces are shown below: https://jamesallan626.gitlab.io/reactspa/#/ . (Home ‘page’) https://…

---

## [React app wrapped In a Web Component](https://forum.kirupa.com/t/react-app-wrapped-in-a-web-component/639231)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 0\
**Last updated:** [January 7, 2019, 4:38pm UTC](https://forum.kirupa.com/t/react-app-wrapped-in-a-web-component/639231 "2019-01-07T16:38:45Z")

</div>

I want to bring in a discussion about Web Components and how important they are this year. Will therefor start by asking the following question: I would like to be able to wrap a React App into a web component / Module…

---

## [Pixel image recognition](https://forum.kirupa.com/t/pixel-image-recognition/638834)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 12\
**Last updated:** [January 7, 2019, 4:36pm UTC](https://forum.kirupa.com/t/pixel-image-recognition/638834 "2019-01-07T16:36:11Z")

</div>

Is there a type of A.I api that can be trained against recognizing special pixel images that do not contain regular images or faces or objects but things I train it to recognize? I want to be able to call this new traine…

---

## [How to view ActionScript 1.0 code from a FLA today?](https://forum.kirupa.com/t/how-to-view-actionscript-1-0-code-from-a-fla-today/639195)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [December 30, 2018, 11:10pm UTC](https://forum.kirupa.com/t/how-to-view-actionscript-1-0-code-from-a-fla-today/639195 "2018-12-30T23:10:48Z")

</div>

There are some old examples I’d like to convert to JavaScript, but opening them in the latest version of Animate returns an unsupported error with all of the code removed. I googled around for a few solutions, and I coul…

---

## [All About File Paths](https://forum.kirupa.com/t/all-about-file-paths/352069)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [December 29, 2018, 6:46pm UTC](https://forum.kirupa.com/t/all-about-file-paths/352069 "2018-12-29T18:46:15Z")

</div>

Learn about the various ways you have for creating a file path to reference some resource in your HTML or CSS documents. This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/all\_ab…

---

## [Updating to Newer React Versions](https://forum.kirupa.com/t/updating-to-newer-react-versions/639177)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 29, 2018, 4:15am UTC](https://forum.kirupa.com/t/updating-to-newer-react-versions/639177 "2018-12-29T04:15:45Z")

</div>

Cool new features and under-the-hood improvements get added to to React all the time. If your apps rely on React, you will find yourself at some point needing to update your version of React to something more recent. In …

---

## [Generating Random Colors](https://forum.kirupa.com/t/generating-random-colors/639112)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 9\
**Last updated:** [December 14, 2018, 3:54pm UTC](https://forum.kirupa.com/t/generating-random-colors/639112 "2018-12-14T15:54:32Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/html5/generating\_random\_colors.htm

---

## [Calling png OR PNG file type](https://forum.kirupa.com/t/calling-png-or-png-file-type/639119)

<div class="topic-metadata">

**Author:** [@madamx](https://forum.kirupa.com/u/madamx)\
**Replies:** 1\
**Last updated:** [December 13, 2018, 5:46pm UTC](https://forum.kirupa.com/t/calling-png-or-png-file-type/639119 "2018-12-13T17:46:10Z")

</div>

Hi All My line is: mc.uiloader.load(new URLRequest(“templates/\_images/” + text + “.png”)); I’d like to call also PNG files (suffix with BIG characters). How can i do it ? Thanks

---

## [Sliding Menu from "Learning React"](https://forum.kirupa.com/t/sliding-menu-from-learning-react/639111)

<div class="topic-metadata">

**Author:** [@soloatkirupa](https://forum.kirupa.com/u/soloatkirupa)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 3:11am UTC](https://forum.kirupa.com/t/sliding-menu-from-learning-react/639111 "2018-12-12T03:11:07Z")

</div>

I am getting the following error message when I run npm start to test the slidingmenu. Please advise. Line 16: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href …

---

## [Redux vs RxJS](https://forum.kirupa.com/t/redux-vs-rxjs/639077)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 5\
**Last updated:** [December 11, 2018, 7:14pm UTC](https://forum.kirupa.com/t/redux-vs-rxjs/639077 "2018-12-11T19:14:56Z")

</div>

I have used Redux for some time and have not been that happy with how it is being used with React or other frameworks. I have been looking at RxJS and want to start a discussion around that. Do you have any thoughts on t…

---

## [My First react project after finishing the course](https://forum.kirupa.com/t/my-first-react-project-after-finishing-the-course/639099)

<div class="topic-metadata">

**Author:** [@Douara](https://forum.kirupa.com/u/Douara)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 4:28pm UTC](https://forum.kirupa.com/t/my-first-react-project-after-finishing-the-course/639099 "2018-12-10T16:28:16Z")

</div>

Hi, After I finished the first part of Kirupa React course, I applied what I learned in this simple react project ( Shopping Cart ): I don’t know if I am doing it right and if my code looks clean or not, I hope I ge…

---

## [Breaking into letters with the spread operator!](https://forum.kirupa.com/t/breaking-into-letters-with-the-spread-operator/639100)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 1:39pm UTC](https://forum.kirupa.com/t/breaking-into-letters-with-the-spread-operator/639100 "2018-12-10T13:39:11Z")

</div>

I was messing around with the spread operator, and I wanted to share this little trick: var word = "dinosaurs"; // old-school var letters = word.split(''); console.log(letters); // new-school with the spread operator …

---

## [Help me out with the source code for android classified ads app](https://forum.kirupa.com/t/help-me-out-with-the-source-code-for-android-classified-ads-app/634181)

<div class="topic-metadata">

**Author:** [@Chris\_Andy](https://forum.kirupa.com/u/Chris_Andy)\
**Replies:** 1\
**Last updated:** [January 25, 2016, 6:47am UTC](https://forum.kirupa.com/t/help-me-out-with-the-source-code-for-android-classified-ads-app/634181 "2016-01-25T06:47:36Z")

</div>

Using android studio

---

## [Best practice for implementing preloader for a website](https://forum.kirupa.com/t/best-practice-for-implementing-preloader-for-a-website/639044)

<div class="topic-metadata">

**Author:** [@withoutwax](https://forum.kirupa.com/u/withoutwax)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 5:07pm UTC](https://forum.kirupa.com/t/best-practice-for-implementing-preloader-for-a-website/639044 "2018-12-03T17:07:37Z")

</div>

Hey everyone! I was wondering what is the best practice for implementing preloader when the website freshly loads for the first time! I realized that there are many different types of method in doing this, but I was ju…

---

## [Seeking Tech Advice for Medical Reference Application](https://forum.kirupa.com/t/seeking-tech-advice-for-medical-reference-application/639042)

<div class="topic-metadata">

**Author:** [@PIxelDroid](https://forum.kirupa.com/u/PIxelDroid)\
**Replies:** 3\
**Last updated:** [December 2, 2018, 6:20pm UTC](https://forum.kirupa.com/t/seeking-tech-advice-for-medical-reference-application/639042 "2018-12-02T18:20:26Z")

</div>

Hi all: I appreciate Kirupa’s lengthy answer to my question here … you should build both a PWA and a React Native solution and architect your app in a way to re-use as much logic between the PWA, React Native-Android,…

---

## [Syntax Error in Mailer.php](https://forum.kirupa.com/t/syntax-error-in-mailer-php/639032)

<div class="topic-metadata">

**Author:** [@katsandogz](https://forum.kirupa.com/u/katsandogz)\
**Replies:** 1\
**Last updated:** [December 1, 2018, 11:29pm UTC](https://forum.kirupa.com/t/syntax-error-in-mailer-php/639032 "2018-12-01T23:29:48Z")

</div>

I figured it out my syntax error issue

---

## [Hard to Swallow Pill...](https://forum.kirupa.com/t/hard-to-swallow-pill/638982)

<div class="topic-metadata">

**Author:** [@VaiFanatic](https://forum.kirupa.com/u/VaiFanatic)\
**Replies:** 5\
**Last updated:** [November 28, 2018, 2:02pm UTC](https://forum.kirupa.com/t/hard-to-swallow-pill/638982 "2018-11-28T14:02:42Z")

</div>

So the more I’ve gotten back into the Web Development side of things, the more I’m seeing how CMS services such as WordPress and Wix have outclassed the speed and capabilities of most freelance web developers who are use…

---

## [Building a Simple Todo List App in React | kirupa.com](https://forum.kirupa.com/t/building-a-simple-todo-list-app-in-react-kirupa-com/636228)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 20, 2017, 6:25am UTC](https://forum.kirupa.com/t/building-a-simple-todo-list-app-in-react-kirupa-com/636228 "2017-03-20T06:25:05Z")

</div>

by kirupa | 10 October 2016 If creating the Hello, World! example was a celebration of you getting your feet wet with React, creating the quintessential Todo List app is a celebration of you approaching React mas…

---

## [Testing in Edge/IE while on a Mac!](https://forum.kirupa.com/t/testing-in-edge-ie-while-on-a-mac/638992)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [November 24, 2018, 3:59am UTC](https://forum.kirupa.com/t/testing-in-edge-ie-while-on-a-mac/638992 "2018-11-24T03:59:43Z")

</div>

If you primarily develop on a Mac, testing on Windows-only browsers like IE and Edge can be a hassle. To make this easier, the popular BrowserStack service provides free cloud-based Windows VMs that you can use from insi…

---

## [Can't show and then hide cards in matching game](https://forum.kirupa.com/t/cant-show-and-then-hide-cards-in-matching-game/638972)

<div class="topic-metadata">

**Author:** [@Squinter](https://forum.kirupa.com/u/Squinter)\
**Replies:** 8\
**Last updated:** [November 22, 2018, 3:00am UTC](https://forum.kirupa.com/t/cant-show-and-then-hide-cards-in-matching-game/638972 "2018-11-22T03:00:43Z")

</div>

I’m trying to allow the user to briefly show all the randomized cards for x seconds before the play timer begins. Failing. I’ve had minor success with this (commented out in the Pen): document.querySelector('.showCar…

---

## [How to do video conference?](https://forum.kirupa.com/t/how-to-do-video-conference/638970)

<div class="topic-metadata">

**Author:** [@MrBusty](https://forum.kirupa.com/u/MrBusty)\
**Replies:** 1\
**Last updated:** [November 17, 2018, 7:20pm UTC](https://forum.kirupa.com/t/how-to-do-video-conference/638970 "2018-11-17T19:20:10Z")

</div>

Hi, I did find following tutorial: Creating and showing the stream locally is indeed pretty easy, but how can I exchange the stream between two computers? Is it better to go for a p2p or a server based solution? Can …

---

## [Ultralite CMS?](https://forum.kirupa.com/t/ultralite-cms/638691)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 3\
**Last updated:** [September 13, 2018, 6:00am UTC](https://forum.kirupa.com/t/ultralite-cms/638691 "2018-09-13T06:00:28Z")

</div>

Recently I was doing some work for a client, very simple stuff that essentially equated to a landing page. So using WordPress (what I generally work with) was overkill. Does anyone have recommendations for a lite CMS t…

---

## [Lost in Multiple Event Handling Purgatory](https://forum.kirupa.com/t/lost-in-multiple-event-handling-purgatory/638927)

<div class="topic-metadata">

**Author:** [@Squinter](https://forum.kirupa.com/u/Squinter)\
**Replies:** 10\
**Last updated:** [November 10, 2018, 11:11pm UTC](https://forum.kirupa.com/t/lost-in-multiple-event-handling-purgatory/638927 "2018-11-10T23:11:43Z")

</div>

The prelude is that I’m trying to learn JS on my own (books, YouTube, Udemy, etc.) and have created a test problem for myself that I cannot figure out how to solve. In the project, I’m attempting: Multiple events for …

---

## [Canvas elapsed and Nodes.js a long diary of a noob :-)](https://forum.kirupa.com/t/canvas-elapsed-and-nodes-js-a-long-diary-of-a-noob/638922)

<div class="topic-metadata">

**Author:** [@Dex2k](https://forum.kirupa.com/u/Dex2k)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 7:17pm UTC](https://forum.kirupa.com/t/canvas-elapsed-and-nodes-js-a-long-diary-of-a-noob/638922 "2018-11-08T19:17:11Z")

</div>

Before start reading sorry for the big story but I needed to write like a story to make you understand my issues I have with my created game Hey there I already program my game as a hobby for circa a year . I am usin…

---

## [coding logic - React/Redux - grab inputs from multiple radio button menus using one submit button](https://forum.kirupa.com/t/coding-logic-react-redux-grab-inputs-from-multiple-radio-button-menus-using-one-submit-button/638876)

<div class="topic-metadata">

**Author:** [@glassbeads](https://forum.kirupa.com/u/glassbeads)\
**Replies:** 16\
**Last updated:** [November 5, 2018, 8:28pm UTC](https://forum.kirupa.com/t/coding-logic-react-redux-grab-inputs-from-multiple-radio-button-menus-using-one-submit-button/638876 "2018-11-05T20:28:23Z")

</div>

hello, do you think it’s a useful idea to create a generator to sequentially cycle through the four radio button groups filtering for each dimension (room size, room shape, pet?, kids?) one at a time upon clicking the s…

---

## [When I click on a button, an svg animation needs to start?](https://forum.kirupa.com/t/when-i-click-on-a-button-an-svg-animation-needs-to-start/638902)

<div class="topic-metadata">

**Author:** [@11134](https://forum.kirupa.com/u/11134)\
**Replies:** 1\
**Last updated:** [November 4, 2018, 5:50pm UTC](https://forum.kirupa.com/t/when-i-click-on-a-button-an-svg-animation-needs-to-start/638902 "2018-11-04T17:50:20Z")

</div>

Hello,from Bulgaria,i have a problem which bugs me really hard,i have a img tag with an svg in it and,i tried with a pseudo class active in css, to show that svg animation after i click on a button but it doesnt work,i d…

---

## [getComputedStyle, custom CSS property values, and leading spaces!](https://forum.kirupa.com/t/getcomputedstyle-custom-css-property-values-and-leading-spaces/638899)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [November 3, 2018, 5:32pm UTC](https://forum.kirupa.com/t/getcomputedstyle-custom-css-property-values-and-leading-spaces/638899 "2018-11-03T17:32:11Z")

</div>

One thing I’ve noticed is that the custom CSS variable/property style values you can access using getComputedStyle are very precise in that the space between the property name and the value is annoyingly accounted for. L…

---

## [Best tutorials to learn flutter](https://forum.kirupa.com/t/best-tutorials-to-learn-flutter/638870)

<div class="topic-metadata">

**Author:** [@vijaydeveloper](https://forum.kirupa.com/u/vijaydeveloper)\
**Replies:** 8\
**Last updated:** [November 2, 2018, 8:38am UTC](https://forum.kirupa.com/t/best-tutorials-to-learn-flutter/638870 "2018-11-02T08:38:40Z")

</div>

I wanted to know the best tutorials for learning flutter. Previously lots of people suggested me the flutter, can you please inform why this one is the best or why?

---

## [Hardcore VIM users?](https://forum.kirupa.com/t/hardcore-vim-users/638842)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 3\
**Last updated:** [October 31, 2018, 10:33am UTC](https://forum.kirupa.com/t/hardcore-vim-users/638842 "2018-10-31T10:33:17Z")

</div>

Do we have any hardcore VIM users here that use VIM to code Python or React?

---

## [Architecture: Event Storming Article](https://forum.kirupa.com/t/architecture-event-storming-article/638862)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 0\
**Last updated:** [October 29, 2018, 10:18am UTC](https://forum.kirupa.com/t/architecture-event-storming-article/638862 "2018-10-29T10:18:16Z")

</div>

I have written about Event Storming in Domain Driven Design and would love to have some feedback: https://www.dagdoni.com/blog/2018/10/28/event-storming-in-domain-driven-design

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=51)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=53)
