# programming

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

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

**Page:** 55

---

## [Stateless Functional Components](https://forum.kirupa.com/t/stateless-functional-components/638539)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 27, 2018, 5:03am UTC](https://forum.kirupa.com/t/stateless-functional-components/638539 "2018-07-27T05:03:29Z")

</div>

Let's face it. The components we will be writing aren't going to be changing the world. The bulk of the components we are going to write will do a few simple things, all of which revolve around taking some props and spit…

---

## [Integrating REST APIs into React](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532)

<div class="topic-metadata">

**Author:** [@Joshua\_Fogg](https://forum.kirupa.com/u/Joshua_Fogg)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 6:43pm UTC](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532 "2018-07-24T18:43:29Z")

</div>

I went through the tutorial about creating a SPA in React. The next thing I want to look at is integrating a set of REST APIs into it. Could you point me in the direct of a good tutorial to follow?

---

## [prototype vs \_\_proto\_\_: Which statement is correct?](https://forum.kirupa.com/t/prototype-vs-proto-which-statement-is-correct/638528)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 3\
**Last updated:** [July 23, 2018, 6:41pm UTC](https://forum.kirupa.com/t/prototype-vs-proto-which-statement-is-correct/638528 "2018-07-23T18:41:12Z")

</div>

Hi, I’m trying to understand a couple of different things. I read a lot and googled for hours. Now, I need to connect all those infos and hope that you can help me by answering this question. Looking at this code: …

---

## [Animating Stripes in CSS](https://forum.kirupa.com/t/animating-stripes-in-css/638502)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [July 20, 2018, 8:19pm UTC](https://forum.kirupa.com/t/animating-stripes-in-css/638502 "2018-07-20T20:19:08Z")

</div>

For the past few weeks, I’ve been playing on and off with animating stripes in CSS: They way these stripes are created is by relying on CSS gradients. Animating them is fairly straightforward-ish. The first four rely e…

---

## [video streaming by html](https://forum.kirupa.com/t/video-streaming-by-html/638517)

<div class="topic-metadata">

**Author:** [@farnaz\_jz](https://forum.kirupa.com/u/farnaz_jz)\
**Replies:** 0\
**Last updated:** [July 19, 2018, 4:36pm UTC](https://forum.kirupa.com/t/video-streaming-by-html/638517 "2018-07-19T16:36:10Z")

</div>

Hello everybody, I’m beginner in both html and django, and I want to turn one of my python projects into a web application. I can access my webcam video stream, thanks to such helpful link, https://www.kirupa.com/html5…

---

## [Zooming Concentric (Striped) Circles | KIRUPA](https://forum.kirupa.com/t/zooming-concentric-striped-circles-kirupa/638500)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [July 19, 2018, 6:00am UTC](https://forum.kirupa.com/t/zooming-concentric-striped-circles-kirupa/638500 "2018-07-19T06:00:23Z")

</div>

One of the cool things you can do with radial gradients in CSS is create concentric circles, often referred to as striped circles: This is a companion discussion topic for the original entry at https://www.kirupa.com/…

---

## [Cycle through different sized images on scroll](https://forum.kirupa.com/t/cycle-through-different-sized-images-on-scroll/638461)

<div class="topic-metadata">

**Author:** [@4a0g1kfa54](https://forum.kirupa.com/u/4a0g1kfa54)\
**Replies:** 2\
**Last updated:** [July 6, 2018, 8:59am UTC](https://forum.kirupa.com/t/cycle-through-different-sized-images-on-scroll/638461 "2018-07-06T08:59:11Z")

</div>

Hi all, I am trying to change through images when scrolling, (and I understand that maybe the jquery is a bit messy but it seems to be working) but i would like: to be able to have images of different heights and widt…

---

## [Handlebars.js - Show data only if {{ image\_url }} doesn't contain "questionmark"](https://forum.kirupa.com/t/handlebars-js-show-data-only-if-image-url-doesnt-contain-questionmark/638465)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 6:59pm UTC](https://forum.kirupa.com/t/handlebars-js-show-data-only-if-image-url-doesnt-contain-questionmark/638465 "2018-07-05T18:59:45Z")

</div>

Hi, As you can see in this example, which I created on Codepen, some of the data don’t have an image and whenever there’s no image, a place holder image is shown: Handlebars.js Example Is there any way in Handlebars.j…

---

## [How to manage a remote team?](https://forum.kirupa.com/t/how-to-manage-a-remote-team/638457)

<div class="topic-metadata">

**Author:** [@SacredPlace](https://forum.kirupa.com/u/SacredPlace)\
**Replies:** 1\
**Last updated:** [July 5, 2018, 3:19am UTC](https://forum.kirupa.com/t/how-to-manage-a-remote-team/638457 "2018-07-05T03:19:59Z")

</div>

I am going to start working with a remote software development team. And to tell the truth I am a bit nervous. (about my money, my project, timelines)What are the best practices do you know that can help me manage my rem…

---

## [Creating Circular (Bullseye) Stripes in CSS | KIRUPA](https://forum.kirupa.com/t/creating-circular-bullseye-stripes-in-css-kirupa/638462)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 5, 2018, 1:45am UTC](https://forum.kirupa.com/t/creating-circular-bullseye-stripes-in-css-kirupa/638462 "2018-07-05T01:45:01Z")

</div>

When you think of radial gradients, what pops into your mind? Typically, you probably think of colors that blend from one value to another in some outwardly growing circular form. In other words, something that looks li…

---

## [Linkify (plain url to link) based on windowSize](https://forum.kirupa.com/t/linkify-plain-url-to-link-based-on-windowsize/638435)

<div class="topic-metadata">

**Author:** [@4a0g1kfa54](https://forum.kirupa.com/u/4a0g1kfa54)\
**Replies:** 2\
**Last updated:** [July 3, 2018, 2:37pm UTC](https://forum.kirupa.com/t/linkify-plain-url-to-link-based-on-windowsize/638435 "2018-07-03T14:37:41Z")

</div>

Hi all, this is what i would like to do when window size is \< 1000, change any plain text url to a clickable one when window size is \> 1000, change any plain text url to a clickable one, replaced by the word “Link”. I…

---

## [AS3 Random Movement](https://forum.kirupa.com/t/as3-random-movement/638437)

<div class="topic-metadata">

**Author:** [@sn0wy0wl](https://forum.kirupa.com/u/sn0wy0wl)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 4:57pm UTC](https://forum.kirupa.com/t/as3-random-movement/638437 "2018-07-02T16:57:21Z")

</div>

Hi there! So I have been making use of an AS3 deconstruction for random movement from the old forums (see https://www.kirupa.com/flash/random\_movement\_as3\_pg1.htm for reference) This has been a fantastic help to me. I …

---

## [Parsing JSON table: hiding a row, changing color of word.Parsing JSON table: hiding a row, changing color of word.](https://forum.kirupa.com/t/parsing-json-table-hiding-a-row-changing-color-of-word-parsing-json-table-hiding-a-row-changing-color-of-word/638425)

<div class="topic-metadata">

**Author:** [@4a0g1kfa54](https://forum.kirupa.com/u/4a0g1kfa54)\
**Replies:** 1\
**Last updated:** [July 1, 2018, 2:21pm UTC](https://forum.kirupa.com/t/parsing-json-table-hiding-a-row-changing-color-of-word-parsing-json-table-hiding-a-row-changing-color-of-word/638425 "2018-07-01T14:21:13Z")

</div>

Hi all, I am using jquery to convert a google spreadsheet to JSON that produces a HTML table. I would like to: hide one of the rows that has the phrase “E9” in it. change the color of the phrase “C12” to red. I have…

---

## [Zooming Radial Stripes](https://forum.kirupa.com/t/zooming-radial-stripes/638426)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 1, 2018, 6:04am UTC](https://forum.kirupa.com/t/zooming-radial-stripes/638426 "2018-07-01T06:04:35Z")

</div>

I was kicking the tires with creating one of those effects where radial stripes keep zooming in at you. You can see the video of this working at the following link: https://twitter.com/kirupa/status/1013302895385575426 I…

---

## [say script video](https://forum.kirupa.com/t/say-script-video/638424)

<div class="topic-metadata">

**Author:** [@chrisamanda](https://forum.kirupa.com/u/chrisamanda)\
**Replies:** 0\
**Last updated:** [June 30, 2018, 11:57am UTC](https://forum.kirupa.com/t/say-script-video/638424 "2018-06-30T11:57:15Z")

</div>

how do I get to video script

---

## [React Router: change component based on current page](https://forum.kirupa.com/t/react-router-change-component-based-on-current-page/638394)

<div class="topic-metadata">

**Author:** [@danielcolinjames](https://forum.kirupa.com/u/danielcolinjames)\
**Replies:** 1\
**Last updated:** [June 24, 2018, 8:47pm UTC](https://forum.kirupa.com/t/react-router-change-component-based-on-current-page/638394 "2018-06-24T20:47:56Z")

</div>

I’ve been looking at this tutorial: https://www.kirupa.com/react/creating\_single\_page\_app\_react\_using\_react\_router.htm and my current setup is pretty similar to that example. The structure of my app right now is basica…

---

## [Anyone familiar with Google's Flutter?](https://forum.kirupa.com/t/anyone-familiar-with-googles-flutter/638392)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 2\
**Last updated:** [June 24, 2018, 1:41pm UTC](https://forum.kirupa.com/t/anyone-familiar-with-googles-flutter/638392 "2018-06-24T13:41:10Z")

</div>

Looks nice, and possibly something to help streamline mobile development (though getting into some of the examples it was not as simple as I initially suspected).

---

## [Button counter save](https://forum.kirupa.com/t/button-counter-save/638401)

<div class="topic-metadata">

**Author:** [@cedrusvn](https://forum.kirupa.com/u/cedrusvn)\
**Replies:** 1\
**Last updated:** [June 24, 2018, 5:24am UTC](https://forum.kirupa.com/t/button-counter-save/638401 "2018-06-24T05:24:41Z")

</div>

ello, so i have this button that counts every time you tap it, but whenever you refresh or closes the tab it resests. I’ve been trying for so long to find a way for it to save your progress, but nothing seems to work. C…

---

## [Dealing With State in React | kirupa.com](https://forum.kirupa.com/t/dealing-with-state-in-react-kirupa-com/636207)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 8\
**Last updated:** [June 16, 2018, 3:15pm UTC](https://forum.kirupa.com/t/dealing-with-state-in-react-kirupa-com/636207 "2018-06-16T15:15:40Z")

</div>

Up until this point, the components we've created have been stateless. They have properties (aka props) that are passed in from their parent, but nothing changes about them once the components come alive. Your properties…

---

## [How to Check if Multiple Instances of a Word are in a String in AS3?](https://forum.kirupa.com/t/how-to-check-if-multiple-instances-of-a-word-are-in-a-string-in-as3/638361)

<div class="topic-metadata">

**Author:** [@Twisted4000](https://forum.kirupa.com/u/Twisted4000)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 5:40pm UTC](https://forum.kirupa.com/t/how-to-check-if-multiple-instances-of-a-word-are-in-a-string-in-as3/638361 "2018-06-15T17:40:46Z")

</div>

I know how to check if a specific word exists within a string in AS3 by doing the following: if (inventory.text.indexOf(“item”) \>= 0) { //do something } But what I don’t know how to do i…

---

## [kirupa.com - Reading XML Files Sequentially - Page 3](https://forum.kirupa.com/t/kirupa-com-reading-xml-files-sequentially-page-3/643273)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 15, 2018, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-reading-xml-files-sequentially-page-3/643273 "2018-06-15T07:00:00Z")

</div>

by kirupa | 18 January 2007 In the previous page, I described how to approach reading an XML file, and then provided some code and began explaining what the code does. This page picks up from where we last lef…

---

## [kirupa.com - Silverlight/WPF: Adding Controls Programmatically - Page 1](https://forum.kirupa.com/t/kirupa-com-silverlight-wpf-adding-controls-programmatically-page-1/643278)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 15, 2018, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-wpf-adding-controls-programmatically-page-1/643278 "2018-06-15T07:00:00Z")

</div>

by kirupa | 15 April 2009 For most of the Silverlight and WPF tutorials on this site, I have shown you how you can use Expression Blend to easily create an application. This often involved drawing out a cont…

---

## [How to hide a menu button on the login page](https://forum.kirupa.com/t/how-to-hide-a-menu-button-on-the-login-page/638265)

<div class="topic-metadata">

**Author:** [@123411](https://forum.kirupa.com/u/123411)\
**Replies:** 5\
**Last updated:** [May 24, 2018, 1:34pm UTC](https://forum.kirupa.com/t/how-to-hide-a-menu-button-on-the-login-page/638265 "2018-05-24T13:34:10Z")

</div>

Hello members, I would like to know how i can hide a menu button on the login page using reactjs so that the user can not be able to view and access the menu button until he/she login successfully. your suggestion is we…

---

## [react keys](https://forum.kirupa.com/t/react-keys/638349)

<div class="topic-metadata">

**Author:** [@ollie-w](https://forum.kirupa.com/u/ollie-w)\
**Replies:** 1\
**Last updated:** [June 10, 2018, 6:42pm UTC](https://forum.kirupa.com/t/react-keys/638349 "2018-06-10T18:42:32Z")

</div>

I am getting the error Warning: Todo:keyis not a prop. Trying to access it will result inundefinedbeing returned. If you need to access the same value within the child component, you should pass it as a different prop. F…

---

## [kirupa.com - Create a Motion Tween in Flash MX 2004](https://forum.kirupa.com/t/kirupa-com-create-a-motion-tween-in-flash-mx-2004/643231)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 9, 2018, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-create-a-motion-tween-in-flash-mx-2004/643231 "2018-06-09T07:00:00Z")

</div>

Creating a Motion Tween by kirupa What exactly is a motion tween? First, let's imagine that you place a box on the table. Now, imagine, that after 10 seconds, the box suddenly disappears and magically ap…

---

## [kirupa.com - Launching the Browser](https://forum.kirupa.com/t/kirupa-com-launching-the-browser/643210)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 8, 2018, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-launching-the-browser/643210 "2018-06-08T07:00:00Z")

</div>

by kirupa | 3 August 2010 In Windows Phone 7, you can navigate to web sites using the browser just as easily as you can navigate between pages of your application. Here is a really short video that shows how…

---

## [Closures - Local vs Private ?](https://forum.kirupa.com/t/closures-local-vs-private/638335)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 1\
**Last updated:** [June 6, 2018, 1:52pm UTC](https://forum.kirupa.com/t/closures-local-vs-private/638335 "2018-06-06T13:52:02Z")

</div>

Hey, When I read about Closures, it’s often said that we are using Closures to create private variable, that cannot be accessed outside the function. But isn’t it that this is true for all local variables inside a func…

---

## [kirupa.com - Creating a Text Scroller](https://forum.kirupa.com/t/kirupa-com-creating-a-text-scroller/643188)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-creating-a-text-scroller/643188 "2018-06-05T07:00:00Z")

</div>

Creating a Text Scroller written by kirupa chinnathambi Ever tried creating a text scroller to scroll a few lines of text in Flash 5? If you haven't consider yourself lucky! Creating a text scroller in Fl…

---

## [Comparing a closure with and without IIFE](https://forum.kirupa.com/t/comparing-a-closure-with-and-without-iife/638327)

<div class="topic-metadata">

**Author:** [@kayut](https://forum.kirupa.com/u/kayut)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 9:38pm UTC](https://forum.kirupa.com/t/comparing-a-closure-with-and-without-iife/638327 "2018-06-04T21:38:23Z")

</div>

Hey, If I use a closure inside an IIFE like this: var outerFunction = (function() { // this is an IIFE const outer = \`I'm the outer function!\`; var innerFunction = function() { const inner = \`I'm th…

---

## [TypeError: this.props.actions.createUserSessionAction is not a function](https://forum.kirupa.com/t/typeerror-this-props-actions-createusersessionaction-is-not-a-function/638325)

<div class="topic-metadata">

**Author:** [@123411](https://forum.kirupa.com/u/123411)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 4:14pm UTC](https://forum.kirupa.com/t/typeerror-this-props-actions-createusersessionaction-is-not-a-function/638325 "2018-06-04T16:14:11Z")

</div>

Can someone help me and tell me what this error means and how i can solve this error ?? TypeError: this.props.actions.createUserSessionAction is not a function Login.createSession 46 | this.displayMessage(null); …

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

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