# programming

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

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

**Page:** 25

---

## [Blurry elements in HTML5](https://forum.kirupa.com/t/blurry-elements-in-html5/667997)

<div class="topic-metadata">

**Author:** [@AleCGames](https://forum.kirupa.com/u/AleCGames)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 2:41am UTC](https://forum.kirupa.com/t/blurry-elements-in-html5/667997 "2024-07-05T02:41:00Z")

</div>

Hi there, I’m new to this forum. I create my games using Solar2D, but a disadvantage in HTML5 is that the images and text appear blurry. I’ve found some solutions online, but the main issue is that they all use a ‘2d’ c…

---

## [FizzBuzz : Frontend Coding Exercise](https://forum.kirupa.com/t/fizzbuzz-frontend-coding-exercise/653699)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 19\
**Last updated:** [July 1, 2024, 5:46pm UTC](https://forum.kirupa.com/t/fizzbuzz-frontend-coding-exercise/653699 "2024-07-01T17:46:15Z")

</div>

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

---

## [Infix to Postfix conversion using stack in Python?](https://forum.kirupa.com/t/infix-to-postfix-conversion-using-stack-in-python/667361)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 3\
**Last updated:** [June 6, 2024, 3:21am UTC](https://forum.kirupa.com/t/infix-to-postfix-conversion-using-stack-in-python/667361 "2024-06-06T03:21:18Z")

</div>

I’ve learnt the concept of infix to postfix and now I can do by hand infix to postfix conversion. Now, I want to write code in Python for it. First I need to know, how do I read values from left to right in Python? The…

---

## [Project IDX in Virtual Reality](https://forum.kirupa.com/t/project-idx-in-virtual-reality/667790)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 9\
**Last updated:** [June 30, 2024, 8:06am UTC](https://forum.kirupa.com/t/project-idx-in-virtual-reality/667790 "2024-06-30T08:06:38Z")

</div>

Check out my dev environment in virtual reality while testing project IDX! I’m using a Bluetooth keyboard which is not visible here but it’s extremely satisfying! I always wanted to code in Vr!

---

## [A Cross-site scripting issue on PHP-based website](https://forum.kirupa.com/t/a-cross-site-scripting-issue-on-php-based-website/667680)

<div class="topic-metadata">

**Author:** [@Eulalia](https://forum.kirupa.com/u/Eulalia)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 5:28pm UTC](https://forum.kirupa.com/t/a-cross-site-scripting-issue-on-php-based-website/667680 "2024-06-20T17:28:23Z")

</div>

Hello, I have a tech blog site and it is a PHP-based website. But recently there is a problem on my site. A cross-site scripting issue on my tech website. I dont know why this happens. This is my website. Can experts ple…

---

## [Bogosort - Sorting in the Slow Lane!](https://forum.kirupa.com/t/bogosort-sorting-in-the-slow-lane/667672)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 12:23am UTC](https://forum.kirupa.com/t/bogosort-sorting-in-the-slow-lane/667672 "2024-06-20T00:23:49Z")

</div>

Hi everybody - this post will link to the two resources around Bogosort. The article was written earlier, but the video was created today - I figured this would be a good place as any to make a mention of them both …

---

## [Kirupa, can you print a south asian version of your book?](https://forum.kirupa.com/t/kirupa-can-you-print-a-south-asian-version-of-your-book/667585)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 1\
**Last updated:** [June 14, 2024, 9:25pm UTC](https://forum.kirupa.com/t/kirupa-can-you-print-a-south-asian-version-of-your-book/667585 "2024-06-14T21:25:19Z")

</div>

The DSA book is likely the very good book as it’s written by Kirupa. But being from South Asia(Nepal), it’s too costly https://www.amazon.in/Absolute-Beginners-Algorithms-Kirupa-Chinnathambi/dp/0138222290/ref=sr\_1\_2?cri…

---

## [Guess the Number Game](https://forum.kirupa.com/t/guess-the-number-game/653698)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 11\
**Last updated:** [June 10, 2024, 5:54pm UTC](https://forum.kirupa.com/t/guess-the-number-game/653698 "2024-06-10T17:54:56Z")

</div>

This is a companion discussion topic for the original entry at https://www.kirupa.com/codingexercises/guess\_the\_number.htm

---

## [Absorbing Particles Animation](https://forum.kirupa.com/t/absorbing-particles-animation/661403)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 4, 2023, 2:42am UTC](https://forum.kirupa.com/t/absorbing-particles-animation/661403 "2023-09-04T02:42:10Z")

</div>

Hi everyone! Here is another fun animation I created to try out some things: The full code looks as follows: \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="UTF-8"\> \<meta name="viewport" content="wid…

---

## [Adobe Flash like games for web](https://forum.kirupa.com/t/adobe-flash-like-games-for-web/666708)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 6\
**Last updated:** [May 7, 2024, 4:07pm UTC](https://forum.kirupa.com/t/adobe-flash-like-games-for-web/666708 "2024-05-07T16:07:57Z")

</div>

Is there the best js game engine to creat highly interactive games in the browser? I only found pixijs but I am in sure if it’s good.

---

## [Making Sense of the Tech Stack Debates](https://forum.kirupa.com/t/making-sense-of-the-tech-stack-debates/659967)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 12, 2023, 5:31am UTC](https://forum.kirupa.com/t/making-sense-of-the-tech-stack-debates/659967 "2023-07-12T05:31:03Z")

</div>

Hi everybody - I wanted to share my latest newsletter, which covers the fun debate of what tech stack you should use! :stuck\_out\_tongue:

---

## [Want to learn about data structures(3d array location retrieval formula)](https://forum.kirupa.com/t/want-to-learn-about-data-structures-3d-array-location-retrieval-formula/667295)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 1\
**Last updated:** [June 6, 2024, 2:39am UTC](https://forum.kirupa.com/t/want-to-learn-about-data-structures-3d-array-location-retrieval-formula/667295 "2024-06-06T02:39:17Z")

</div>

I’ve watched couple of videos here and there and I feel I have partly understood the concepts. But I am not sure if I’ve really understood it. How can I verify if I’ve learnt it?

---

## [convert Base64 to PDF file in Javascript](https://forum.kirupa.com/t/convert-base64-to-pdf-file-in-javascript/643722)

<div class="topic-metadata">

**Author:** [@Umair\_Ashraf](https://forum.kirupa.com/u/Umair_Ashraf)\
**Replies:** 5\
**Last updated:** [August 4, 2020, 2:28am UTC](https://forum.kirupa.com/t/convert-base64-to-pdf-file-in-javascript/643722 "2020-08-04T02:28:26Z")

</div>

i am struggling to display the PDF as attachment in ReactJS. i have managed to bring the base64 to the fornt end but after i try to create the blob object it doesnt work and although it goes to the Acrobate reader but sh…

---

## [JavaScript For Loop with Math.random Beginners](https://forum.kirupa.com/t/javascript-for-loop-with-math-random-beginners/646943)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 11:52pm UTC](https://forum.kirupa.com/t/javascript-for-loop-with-math-random-beginners/646943 "2021-03-30T23:52:50Z")

</div>

Hi everyone, This is the script created by me for learning purposes. I’ve succeed in displaying each cat from the table with the “for loop” and I decided to create something more advanced :slight\_smile: So, I’ve added …

---

## [Making Counting Sort work with Negative Values](https://forum.kirupa.com/t/making-counting-sort-work-with-negative-values/667168)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 28, 2024, 11:15pm UTC](https://forum.kirupa.com/t/making-counting-sort-work-with-negative-values/667168 "2024-05-28T23:15:32Z")

</div>

Hot off my mistake in the earlier thread, I figured I’ll go ahead and propose a solution to modify counting sort to work with negative values as well! :slight\_smile: Hopefully this helps those of you who stumble onto …

---

## [Why Counting Sort (and Radix Sort) don't work with Negative Numbers!](https://forum.kirupa.com/t/why-counting-sort-and-radix-sort-dont-work-with-negative-numbers/667105)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [May 26, 2024, 1:05am UTC](https://forum.kirupa.com/t/why-counting-sort-and-radix-sort-dont-work-with-negative-numbers/667105 "2024-05-26T01:05:42Z")

</div>

In my Counting Sort tutorial, I mentioned that for counting sort to work, the numbers should be: Made up of positive numbers (0 and greater) The range between the smallest and the largest number needs to be fairly …

---

## [Caesar's Cipher in Basic Python](https://forum.kirupa.com/t/caesars-cipher-in-basic-python/316724)

<div class="topic-metadata">

**Author:** [@boebarl1](https://forum.kirupa.com/u/boebarl1)\
**Replies:** 2\
**Last updated:** [May 25, 2024, 10:16pm UTC](https://forum.kirupa.com/t/caesars-cipher-in-basic-python/316724 "2024-05-25T22:16:18Z")

</div>

Hi, I wrote this program to use the Caeser Cypher method to encode input from the user. I have figured out how to encode each Character, but I cant seem to concatenate the encoded Characters back together and return an …

---

## [Diving Deep into Index Positions](https://forum.kirupa.com/t/diving-deep-into-index-positions/667075)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 24, 2024, 4:43am UTC](https://forum.kirupa.com/t/diving-deep-into-index-positions/667075 "2024-05-24T04:43:08Z")

</div>

My latest article that goes deeper into array index positions: Not quite sure what possessed me to write this, but I hope it helps someone out there learn something new :slight\_smile: Cheers, Kirupa

---

## [Help with my PHP website](https://forum.kirupa.com/t/help-with-my-php-website/641013)

<div class="topic-metadata">

**Author:** [@RhiannonNadeau](https://forum.kirupa.com/u/RhiannonNadeau)\
**Replies:** 8\
**Last updated:** [November 22, 2019, 6:41pm UTC](https://forum.kirupa.com/t/help-with-my-php-website/641013 "2019-11-22T18:41:25Z")

</div>

Hello everyone! I came across this forum and seems like you can help me here… Well, I’m not a developer myself… I have a store and now I think we came to a stage when we should have a website. They say that PHP is a go…

---

## [Webcam doesn’t display](https://forum.kirupa.com/t/webcam-doesn-t-display/666694)

<div class="topic-metadata">

**Author:** [@ronieeeeee](https://forum.kirupa.com/u/ronieeeeee)\
**Replies:** 4\
**Last updated:** [May 6, 2024, 2:09am UTC](https://forum.kirupa.com/t/webcam-doesn-t-display/666694 "2024-05-06T02:09:01Z")

</div>

I did this on my computer but it doesn’t work, I don’t see anything happening. \<!DOCTYPE html\> \<html\> \<head\> \<title\>cam\</title\> \<meta charset="utf-8"\> \<meta http-equiv="x-UA-Compatible" content="IE=edge"\> \<meta name…

---

## [Functions with javascript](https://forum.kirupa.com/t/functions-with-javascript/666250)

<div class="topic-metadata">

**Author:** [@edhunt198](https://forum.kirupa.com/u/edhunt198)\
**Replies:** 5\
**Last updated:** [April 16, 2024, 4:34pm UTC](https://forum.kirupa.com/t/functions-with-javascript/666250 "2024-04-16T16:34:21Z")

</div>

i just bought the javascript absolute begginers guide and whenever i put in alert(“hello!”) it turns pink and just ends up with a blank screen and no popup thanks for helping

---

## [No code platform](https://forum.kirupa.com/t/no-code-platform/665267)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 9\
**Last updated:** [March 14, 2024, 11:05am UTC](https://forum.kirupa.com/t/no-code-platform/665267 "2024-03-14T11:05:55Z")

</div>

I’m a professional react/full stack developer for over ten years. I feel guilty for jumping on to no code platform to avoid creating web applications from scratch. Is this bad ? I feel guilty about it. I don’t like boi…

---

## [Can a Flash HTML-enabled textField w/ HTML link inside communicate with Flash Stage?](https://forum.kirupa.com/t/can-a-flash-html-enabled-textfield-w-html-link-inside-communicate-with-flash-stage/231376)

<div class="topic-metadata">

**Author:** [@HD600](https://forum.kirupa.com/u/HD600)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 11:12am UTC](https://forum.kirupa.com/t/can-a-flash-html-enabled-textfield-w-html-link-inside-communicate-with-flash-stage/231376 "2024-03-14T11:12:12Z")

</div>

Can an Flash HTML-enabled textField with HTML link inside the textField communicate with the Flash Stage? (inherit onRollOver,..etc.) If so, how done? For instance: textField.html=true; textField.htmlText='can clicki…

---

## [Animated 3D Starfield Effect!](https://forum.kirupa.com/t/animated-3d-starfield-effect/664844)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 5:15am UTC](https://forum.kirupa.com/t/animated-3d-starfield-effect/664844 "2024-02-08T05:15:34Z")

</div>

My latest tutorial on how to create the animated 3D starfield effect is now up! Enjoy :slight\_smile:

---

## [YouTube and Viemo embeds](https://forum.kirupa.com/t/youtube-and-viemo-embeds/653288)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 12:14pm UTC](https://forum.kirupa.com/t/youtube-and-viemo-embeds/653288 "2022-09-08T12:14:20Z")

</div>

In my project if I embed a video it shows up locally. However, it won’t appear if I switch to a new browser or an incognito window. This behaviour continues in production when I deploy the app to Vercel: nothing appears…

---

## [I need help with this tutorial](https://forum.kirupa.com/t/i-need-help-with-this-tutorial/664720)

<div class="topic-metadata">

**Author:** [@AstralisLLC](https://forum.kirupa.com/u/AstralisLLC)\
**Replies:** 1\
**Last updated:** [February 5, 2024, 7:01pm UTC](https://forum.kirupa.com/t/i-need-help-with-this-tutorial/664720 "2024-02-05T19:01:28Z")

</div>

let video = document.querySelector("videoElement") if(navigator.mediaDevices.getUserMedia) { navigator.mediaDevices.getUserMedia({ video: true }) .then(function (stream) { video.srcObject = strea…

---

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

<div class="topic-metadata">

**Author:** [@AmiiboAmigos](https://forum.kirupa.com/u/AmiiboAmigos)\
**Replies:** 12\
**Last updated:** [May 10, 2023, 8:31pm UTC](https://forum.kirupa.com/t/help-with-custom-mouse-cursor-with-tracking/658582 "2023-05-10T20:31:57Z")

</div>

I seem to be having issues in Dreamweaver. Is it me, or is this code not compatible somehow in Dreamweaver? :thinking: probably me most likely. \<!doctype html\> \<html\> \<head\> \<meta charset="utf-8"\> \<meta http-equiv="X…

---

## [print dynamic coordinates from draggable image](https://forum.kirupa.com/t/print-dynamic-coordinates-from-draggable-image/663575)

<div class="topic-metadata">

**Author:** [@chrsyl](https://forum.kirupa.com/u/chrsyl)\
**Replies:** 15\
**Last updated:** [January 26, 2024, 8:05am UTC](https://forum.kirupa.com/t/print-dynamic-coordinates-from-draggable-image/663575 "2024-01-26T08:05:49Z")

</div>

Using kirupas follow\_mouse\_cursor.htm, how to print mouse coordinates dynamically on the screen below the dynamic image?

---

## [Next book (and tutorial topic): Data Structures and Algorithms](https://forum.kirupa.com/t/next-book-and-tutorial-topic-data-structures-and-algorithms/656029)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 18\
**Last updated:** [January 24, 2024, 10:26am UTC](https://forum.kirupa.com/t/next-book-and-tutorial-topic-data-structures-and-algorithms/656029 "2024-01-24T10:26:52Z")

</div>

Ok - I think I am 99% close to pulling the trigger on my next collection of tutorials and book: My plan is to target both people who want to learn more deeply about solving various computer problems using fundamental C…

---

## [Which of the following is TRUE?(Multiple answers) (Design Patterns)](https://forum.kirupa.com/t/which-of-the-following-is-true-multiple-answers-design-patterns/664454)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 1\
**Last updated:** [January 19, 2024, 3:09pm UTC](https://forum.kirupa.com/t/which-of-the-following-is-true-multiple-answers-design-patterns/664454 "2024-01-19T15:09:03Z")

</div>

A) If A uses B closely, then A is a creator of B… B) Levels of coupling could be considered in isolation from expert. C) A facade could be any concept which the designer chooses to represent the whole system or a subsy…

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

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