Monkey 2 » All Posts http://monkeycoder.co.nz/forums/forum/general-programming-discussion/feed/ Fri, 19 Apr 2019 09:49:38 +0000 http://bbpress.org/?v=2.5.14-6684 en-US http://monkeycoder.co.nz/forums/topic/monkey-as-your-website/#post-16166 <![CDATA[Reply To: Monkey as your website.]]> http://monkeycoder.co.nz/forums/topic/monkey-as-your-website/#post-16166 Sun, 07 Apr 2019 03:40:13 +0000 jondecker76 Everything ran beautifully on my Galaxy Note 9 in Dex mode

]]>
http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15867 <![CDATA[Reply To: Loading Bar]]> http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15867 Tue, 08 Jan 2019 21:47:57 +0000 jihem Reading the title reminds me of the Dalston loading games bar (London). And I thought it was a good idea to meet and share some beers …
But just after clicking, I realized it was not the subject. Now I’m disappointed 🙁 and thirsty… lol

]]>
http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15863 <![CDATA[Reply To: Loading Bar]]> http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15863 Tue, 08 Jan 2019 18:04:10 +0000 papgar If I’m reading it right, I think you want something like this ?

max_pixels * number_loaded / number_total

That will give you the pixel width of the bar rectangle to draw

200 * 1 / 46 = 4 (rounded down) pixels width of bar when you load one thing

halfway done with 23 things loaded ?

200 * 23 / 46 = 100 pixels

]]>
http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15860 <![CDATA[Loading Bar]]> http://monkeycoder.co.nz/forums/topic/loading-bar/#post-15860 Mon, 07 Jan 2019 01:48:53 +0000 Yue I’m not an expert in programming. My concern is as follows. I want to create a load bar that shows how resources are loaded in the background in a parallel thread. But the big drawback I have is that I don’t know how to evaluate the total percentage of the load with the total of the resources that are loaded.

What I have written is that I have an algorithm that every time I load a resource an id increases its value, 1,2,3 etc, in addition they are added to a list where you can recover its value at any time. But the problem is that my load progress bar measures 200 units, and for example currently do not load 200 resources, rather an average of 46. The fact is that if I put those data in the progress bar, would reach 46 and load the level, but I would occupy 100% of the bar that are 200 units, regardless of the amount of resources that are loaded. Any suggestions?

Translated with http://www.DeepL.com/Translator

]]>
http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15708 <![CDATA[Reply To: possible virus]]> http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15708 Tue, 18 Dec 2018 08:19:49 +0000 abakobo There has been some AV in past that had white listed monkey2. (I thought BitDefender did it)
It’s most probably a false positive, and the message you get is probably because of a whitelist+heuristic strategy. The “.Heur” is an heuristic detection, so it has not formaly found a virus but think it is probably one. https://www.toptenreviews.com/software/articles/what-is-heuristic-antivirus-detection/
But as Danilo said, if your devtools are infected, your compiled execs can be infected too..
I abandoned super-AV’s and use now windows defender, mainly because those heuristic detections are a real PITA when combined with various programming languages.

]]>
http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15707 <![CDATA[Reply To: possible virus]]> http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15707 Tue, 18 Dec 2018 05:55:40 +0000 BlueSteelAU so I take it that it is a false positive ?

]]>
http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15706 <![CDATA[Reply To: possible virus]]> http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15706 Tue, 18 Dec 2018 05:42:25 +0000 Danilo In many virus scanners you can add a folder (“C:\Monkey2-v2018.09\”) for exclusion from scanning.

Exlude folder in BitDefender

If your development tools (C++ compiler, linker, libs) or system could be infected, this could infect your compiled programs as well. If that’s not the case, you can exclude your source folders.

]]>
http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15705 <![CDATA[possible virus]]> http://monkeycoder.co.nz/forums/topic/possible-virus/#post-15705 Tue, 18 Dec 2018 04:43:40 +0000 BlueSteelAU I just tried d/loading monkey2 and running one of its program samples I chose linetest

I loaded it to and told it to run..

 

then my virus checker BitDefender (with everything up to date)

cam up and told me

The file C:\Monkey2-v2018.09\bananas\linetest\linetest.products\Windows\Linetest.exe is infected with Gen:Trojan.Heur.Hype.hwW@am15Kpd and was moved to quarantine. It is recommended that you run a System Scan to make sure your system is clean.

if it’s a false positive how do I get around having to recover them from quarantine every time I try to run something in monkey2

]]>
http://monkeycoder.co.nz/forums/topic/monkey2-and-touchpads/#post-15486 <![CDATA[Reply To: Monkey2 and touchpads]]> http://monkeycoder.co.nz/forums/topic/monkey2-and-touchpads/#post-15486 Sat, 29 Sep 2018 15:04:20 +0000 nerobot I’m using windows 10 on macbook via virtualbox.

And touchpad gestures work bad here, in ted2go too.

]]>
http://monkeycoder.co.nz/forums/topic/diddy2-needs-an-object-pooler/#post-15416 <![CDATA[DIDDY2 – Needs an object pooler.]]> http://monkeycoder.co.nz/forums/topic/diddy2-needs-an-object-pooler/#post-15416 Tue, 11 Sep 2018 22:41:26 +0000 Amon Mr. Revills,

Diddy2 needs an object pooler. 🙂

]]>