# programming

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

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

**Page:** 28

---

## [Appian platform Tomcat error: Missing authentication token](https://forum.kirupa.com/t/appian-platform-tomcat-error-missing-authentication-token/657687)

<div class="topic-metadata">

**Author:** [@pushpa1997](https://forum.kirupa.com/u/pushpa1997)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 4:12pm UTC](https://forum.kirupa.com/t/appian-platform-tomcat-error-missing-authentication-token/657687 "2023-03-21T16:12:30Z")

</div>

In the Tomcat-log of my on-prem Appian platform I see the following error approximately once a day and not on all machines of my Appian cluster: 00:20:00,050 \[com.appiancorp.quartz.BackgroundJobScheduler\_Worker-1\] ERRO…

---

## [Binary search article and interactive - looking for feedback](https://forum.kirupa.com/t/binary-search-article-and-interactive-looking-for-feedback/646244)

<div class="topic-metadata">

**Author:** [@Matthew\_Lovelady](https://forum.kirupa.com/u/Matthew_Lovelady)\
**Replies:** 1\
**Last updated:** [March 9, 2023, 6:56pm UTC](https://forum.kirupa.com/t/binary-search-article-and-interactive-looking-for-feedback/646244 "2023-03-09T18:56:46Z")

</div>

Hey all, I want to know if this article/interactive makes sense to others, please take a look and tell me how it can be improved. Thanks

---

## [error message](https://forum.kirupa.com/t/error-message/657141)

<div class="topic-metadata">

**Author:** [@asparker](https://forum.kirupa.com/u/asparker)\
**Replies:** 5\
**Last updated:** [February 27, 2023, 5:47pm UTC](https://forum.kirupa.com/t/error-message/657141 "2023-02-27T17:47:53Z")

</div>

alert(“3 times 4” + equals + v1 \* v2); I received an error message so I fixed it to this alert(“3 times 4 equals” + v1 \* v2); and it now works but my question is why does it now work when I moved the “” and removed the…

---

## [Swap Array of words (Music Chords)](https://forum.kirupa.com/t/swap-array-of-words-music-chords/656915)

<div class="topic-metadata">

**Author:** [@Cafony](https://forum.kirupa.com/u/Cafony)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 5:19pm UTC](https://forum.kirupa.com/t/swap-array-of-words-music-chords/656915 "2023-02-13T17:19:43Z")

</div>

Im trying to make a music program to transpose chords. string\[\] cifra = { “C”, “D”, “E”, “F”, “G”, “A”, “B” }; I think the funtion to swap one time is: for(int i=0;i\<cifra.Lenght-1;i++) { temp = cifra\[i\]; cifra\[i\] …

---

## [Major Project](https://forum.kirupa.com/t/major-project/656759)

<div class="topic-metadata">

**Author:** [@Praneeth\_Kumar](https://forum.kirupa.com/u/Praneeth_Kumar)\
**Replies:** 7\
**Last updated:** [February 7, 2023, 2:05am UTC](https://forum.kirupa.com/t/major-project/656759 "2023-02-07T02:05:00Z")

</div>

i want my output screen to be like half of the page to be of my webcam and the half should be able to display the output of the gesture which is displayed in the webcam in the form of text

---

## [? para.setAttribute(onclick, "myFunction1(para.id)")](https://forum.kirupa.com/t/para-setattribute-onclick-myfunction1-para-id/656704)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 4\
**Last updated:** [February 4, 2023, 10:42pm UTC](https://forum.kirupa.com/t/para-setattribute-onclick-myfunction1-para-id/656704 "2023-02-04T22:42:12Z")

</div>

Thanks for your Help… Is an element onclick an attribute or a property ? Anyways what am I doing wrong ? \<!DOCTYPE html\> \<html\> \<body\> \<h1\>The Document Object\</h1\> \<h2\>The createElement() Method\</h2\> \<p\>Create a p e…

---

## [What technologies do you use?](https://forum.kirupa.com/t/what-technologies-do-you-use/656648)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 4\
**Last updated:** [February 2, 2023, 5:31pm UTC](https://forum.kirupa.com/t/what-technologies-do-you-use/656648 "2023-02-02T17:31:03Z")

</div>

I think most Kirupians work with front end technologies but I’m curious about the makeup of languages used. I’ve created a poll of languages below but I’d love to hear more about your specific stack, frameworks, languag…

---

## [Search Algorithms and Linear Search](https://forum.kirupa.com/t/search-algorithms-and-linear-search/656672)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 1, 2023, 10:38pm UTC](https://forum.kirupa.com/t/search-algorithms-and-linear-search/656672 "2023-02-01T22:38:14Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/data\_structures\_algorithms/linear\_search.htm

---

## [Still need Help with Drop: SOLVED by PAEz !](https://forum.kirupa.com/t/still-need-help-with-drop-solved-by-paez/656591)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 4:43pm UTC](https://forum.kirupa.com/t/still-need-help-with-drop-solved-by-paez/656591 "2023-01-30T16:43:58Z")

</div>

I still need Help… Still cant Drop on image , here is my Code: https://vmars.us/Guitar/2-CIRCLES-1-IMAGE-CREATE-ELEMENTS-ondragover-Prob.html \<!DOCTYPE html\> \<!-- saved from url=(0100)file:///C:/2023-Drag-Drop-AnyWher…

---

## [Closure javascript](https://forum.kirupa.com/t/closure-javascript/656593)

<div class="topic-metadata">

**Author:** [@Kenny\_Fourfox](https://forum.kirupa.com/u/Kenny_Fourfox)\
**Replies:** 8\
**Last updated:** [January 30, 2023, 5:30am UTC](https://forum.kirupa.com/t/closure-javascript/656593 "2023-01-30T05:30:01Z")

</div>

//Why is this code not working? function stopWatch() { let startTime = Date.now(); function getDelay() { let elapsedTime = Date.now() — startTime; alert(elapsedTime); } return getDelay; …

---

## [The Devowelizer Coding Exercise](https://forum.kirupa.com/t/the-devowelizer-coding-exercise/360797)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 15\
**Last updated:** [January 26, 2023, 5:32pm UTC](https://forum.kirupa.com/t/the-devowelizer-coding-exercise/360797 "2023-01-26T17:32:36Z")

</div>

This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/the\_devowelizer.htm

---

## [Animating Items Around a Point](https://forum.kirupa.com/t/animating-items-around-a-point/645469)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 3\
**Last updated:** [January 25, 2023, 6:57am UTC](https://forum.kirupa.com/t/animating-items-around-a-point/645469 "2023-01-25T06:57:46Z")

</div>

A fun animation with a good dose of technical quirkiness is one where we have items rotate around a particular point. Take a look at the following: This is a companion discussion topic for the original entry at https:/…

---

## [Ensuring Consistent Animation Speeds](https://forum.kirupa.com/t/ensuring-consistent-animation-speeds/655831)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 2:55am UTC](https://forum.kirupa.com/t/ensuring-consistent-animation-speeds/655831 "2023-01-25T02:55:28Z")

</div>

The animations we create using requestAnimationFrame won't always run at the same This is a companion discussion topic for the original entry at https://www.kirupa.com/animations/ensuring\_consistent\_animation\_speeds.htm

---

## [Custom Mouse Cursor with Tracking](https://forum.kirupa.com/t/custom-mouse-cursor-with-tracking/656451)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [January 24, 2023, 3:57am UTC](https://forum.kirupa.com/t/custom-mouse-cursor-with-tracking/656451 "2023-01-24T03:57:11Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/custom\_mouse\_cursor.htm

---

## [Understanding Dev Tools limitations](https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445)

<div class="topic-metadata">

**Author:** [@david78737](https://forum.kirupa.com/u/david78737)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 5:22pm UTC](https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445 "2023-01-23T17:22:02Z")

</div>

This is a noobie question. It’s been a mystery for some time now to discover which CSS class is setting the height of a div in in a page. When I explore the classes in the Classes pane in Dev Tools I am not able to zer…

---

## [What should I do Before I give up programming?](https://forum.kirupa.com/t/what-should-i-do-before-i-give-up-programming/656322)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 10\
**Last updated:** [January 22, 2023, 5:49am UTC](https://forum.kirupa.com/t/what-should-i-do-before-i-give-up-programming/656322 "2023-01-22T05:49:38Z")

</div>

I’m in the verge of giving up programming and wondering what could I do before I give up to make sure I did what everyone did. I’ve a bachelors degree in computer science. I didn’t do it as well as I’d have liked to do,…

---

## [Why is this .js SO-SLOW and Finicky ?](https://forum.kirupa.com/t/why-is-this-js-so-slow-and-finicky/656390)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 5\
**Last updated:** [January 20, 2023, 8:36pm UTC](https://forum.kirupa.com/t/why-is-this-js-so-slow-and-finicky/656390 "2023-01-20T20:36:00Z")

</div>

Hello Why is this .js SO-SLOW and Finicky (keeps loosing connection to cursor) : https://vmars.us/Guitar/Drag-Drop-Clone-Working-Multiple-Elements-SO-SLOW.html and this SO FAST : https://www.kirupa.com/html5/exampl…

---

## [calculate line and column of a text with JavaScript](https://forum.kirupa.com/t/calculate-line-and-column-of-a-text-with-javascript/656250)

<div class="topic-metadata">

**Author:** [@payback](https://forum.kirupa.com/u/payback)\
**Replies:** 2\
**Last updated:** [January 20, 2023, 4:10pm UTC](https://forum.kirupa.com/t/calculate-line-and-column-of-a-text-with-javascript/656250 "2023-01-20T16:10:44Z")

</div>

Hello Gentlemen, I have several programs written in cobol and I have developed a web application called “Program Editor” to manipulate them. This application , among several functions , calculates the row and column w…

---

## [multiple cameras being displayed on a single browser window with the help of html](https://forum.kirupa.com/t/multiple-cameras-being-displayed-on-a-single-browser-window-with-the-help-of-html/656387)

<div class="topic-metadata">

**Author:** [@HARITH\_FIRDAUS](https://forum.kirupa.com/u/HARITH_FIRDAUS)\
**Replies:** 5\
**Last updated:** [January 20, 2023, 9:45am UTC](https://forum.kirupa.com/t/multiple-cameras-being-displayed-on-a-single-browser-window-with-the-help-of-html/656387 "2023-01-20T09:45:19Z")

</div>

hi. i’m an engineering student and currently doing my final year project. my project is the development of vehicle simulator for the training of drivers. among one of the element of my project is to display 3 camera’s ou…

---

## [What does the x and y value mean here? Can you show in a figure?](https://forum.kirupa.com/t/what-does-the-x-and-y-value-mean-here-can-you-show-in-a-figure/656395)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 4\
**Last updated:** [January 20, 2023, 9:05am UTC](https://forum.kirupa.com/t/what-does-the-x-and-y-value-mean-here-can-you-show-in-a-figure/656395 "2023-01-20T09:05:57Z")

</div>

function checkBoundaryCollision() { if (x - ballRadius \<= 0 || x + ballRadius \>= canvasWidth) { dx = -dx; } if (y - ballRadius \<= 0 || y + ballRadius \>= canvasHeight) { dy = -dy; } } Full code here: https://co…

---

## [diagram with div](https://forum.kirupa.com/t/diagram-with-div/656090)

<div class="topic-metadata">

**Author:** [@ivchenko505](https://forum.kirupa.com/u/ivchenko505)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 11:04am UTC](https://forum.kirupa.com/t/diagram-with-div/656090 "2023-01-19T11:04:53Z")

</div>

Continuing the discussion from How to update the lines so that they do not break away from the rectangles after dragging?: \<!DOCTYPE html\> \<html\> \<head\> \<meta charset="UTF-8"\> \<meta http-equiv="X-UA-Compatible"…

---

## [Making Sense of Timing Function Curves](https://forum.kirupa.com/t/making-sense-of-timing-function-curves/656374)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 5:04am UTC](https://forum.kirupa.com/t/making-sense-of-timing-function-curves/656374 "2023-01-18T05:04:36Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/html5/making\_sense\_timing\_functions.htm

---

## [When draggable=“false” & draggable=“true” don’t work?](https://forum.kirupa.com/t/when-draggable-false-draggable-true-don-t-work/656324)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 1\
**Last updated:** [January 17, 2023, 11:29pm UTC](https://forum.kirupa.com/t/when-draggable-false-draggable-true-don-t-work/656324 "2023-01-17T23:29:30Z")

</div>

Hello When draggable=“false” & draggable=“true” don’t work ? But no ERRORS: On line #98 (in code below) I specify this "\<img draggable=“false” . But it is still ‘draggable’ On line #148 I specify "clone.draggable =…

---

## [Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener')](https://forum.kirupa.com/t/uncaught-typeerror-cannot-read-properties-of-undefined-reading-addeventlistener/656356)

<div class="topic-metadata">

**Author:** [@vmars316](https://forum.kirupa.com/u/vmars316)\
**Replies:** 3\
**Last updated:** [January 16, 2023, 10:37pm UTC](https://forum.kirupa.com/t/uncaught-typeerror-cannot-read-properties-of-undefined-reading-addeventlistener/656356 "2023-01-16T22:37:30Z")

</div>

TIA , I am getting this Error Create-DIV-Drag-Drop-ANYWHERE-jsfiddle.html:61 Uncaught TypeError: Cannot read properties of undefined (reading 'addEventListener') at Create-DIV-Drag-Drop-ANYWHERE-jsfiddle.html:61:6\[…

---

## [How do I move the ball upwards in my breakout game.](https://forum.kirupa.com/t/how-do-i-move-the-ball-upwards-in-my-breakout-game/656252)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 3\
**Last updated:** [January 13, 2023, 2:15am UTC](https://forum.kirupa.com/t/how-do-i-move-the-ball-upwards-in-my-breakout-game/656252 "2023-01-13T02:15:35Z")

</div>

This is the function for it. which isn’t working. let ballDirection = { x: 0, y: -1 } function moveBall() { const ball = document.getElementById("ball"); const ballRect = ball.getBoundingClientRect(); ballRect.x = b…

---

## [How to reflect the ball at an angle?](https://forum.kirupa.com/t/how-to-reflect-the-ball-at-an-angle/656254)

<div class="topic-metadata">

**Author:** [@polaryeti](https://forum.kirupa.com/u/polaryeti)\
**Replies:** 1\
**Last updated:** [January 12, 2023, 11:24pm UTC](https://forum.kirupa.com/t/how-to-reflect-the-ball-at-an-angle/656254 "2023-01-12T23:24:57Z")

</div>

Here’s the full code: When a ball collides with bat or walls, I want the ball to be reflected with an angle, how do I do it? I suspect there’s lots of physics to it. So, should I stop this project here? I’d have to p…

---

## [React: No Elements Displayed (Вопрос по Реакт)](https://forum.kirupa.com/t/react-no-elements-displayed/654387)

<div class="topic-metadata">

**Author:** [@forumf](https://forum.kirupa.com/u/forumf)\
**Replies:** 11\
**Last updated:** [January 10, 2023, 4:49am UTC](https://forum.kirupa.com/t/react-no-elements-displayed/654387 "2023-01-10T04:49:11Z")

</div>

Why does not display styles in the browser, also does not display elements.

---

## [Fibonacci and Going Beyond Recursion](https://forum.kirupa.com/t/fibonacci-and-going-beyond-recursion/656117)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 9, 2023, 6:41am UTC](https://forum.kirupa.com/t/fibonacci-and-going-beyond-recursion/656117 "2023-01-09T06:41:14Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/data\_structures\_algorithms/fibonacci\_going\_beyond\_recursion.htm

---

## [Array and Object Destructuring in JavaScript](https://forum.kirupa.com/t/array-and-object-destructuring-in-javascript/656060)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 7, 2023, 8:34am UTC](https://forum.kirupa.com/t/array-and-object-destructuring-in-javascript/656060 "2023-01-07T08:34:30Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/javascript/destructuring\_arrays\_objects.htm

---

## [Introduction to Recursion](https://forum.kirupa.com/t/introduction-to-recursion/656048)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [January 6, 2023, 10:14pm UTC](https://forum.kirupa.com/t/introduction-to-recursion/656048 "2023-01-06T22:14:39Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/data\_structures\_algorithms/introduction\_recursion.htm

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

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