Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: December 14, 2024, 9:41 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saturated Fat Controversy
RE: Saturated Fat Controversy
Abaddon_ire Wrote:The same religion as Nina.
I don't think that's a fair description. To argue for veganism, you don't need to deny science. Slaughterhouse footage isn't science denial. Neither is saying that animal-derived food, on average, contains more carcinogens and more saturated fat and trans-fat than plant-derived foods. Saying that rise in diabetes was caused by us supposedly eating less and less meat, what Nina claims, well, that's denying science and common sense.
Abaddon_ire Wrote:That is not a compiler in any way shape or form.
Why wouldn't it be? It can compile some programs written in my own programming language (called AEC), like, for example, this one. In that case it produces Assembly that's a few times slower than what GCC produces for the equivalent C code, but it translates from my own programming language into Assembly, so it is, indeed, a compiler.
Abaddon_ire Wrote:At best, FA has used some development tools that give results on an abstraction layer that is so far removed so as to be useless
Well, yes, most of my compiler is written is JavaScript. But why would choosing to work in that language (which I happen to know the best) make that not real programming?
The compiling code is written by myself, here is a snippet of it:
Code:
function fasinp() //-||- arkus sinus (po formuli arctan(sin(x)/sqrt(1-sin(x)*sin(x))))
{
   asm("fstp dword [result]");
   asm("fld dword [result]");
   asm("fld1");
   asm("fld dword [result]")
   asm("fld dword [result]");
   fmulp();
   fsubp();
   fsqrt();
   fdivp();
   fatanp();
}
function facosp() // -||- arkus kosinus (po formuli pi/2-arcsin(x))
{
   asm("fstp dword [result]");
   asm("fldpi");
   asm("fld1");
   asm("fld1");
   faddp();
   fdivp();
   asm("fld dword [result]");
   fasinp();
   fsubp();
}
So is the parsing code, here is how I solved parsing the binary functions (inefficient, but the difference between Shunting-Yard and this is in the vast majority of the cases imperceptible):
Code:
for (var i = 0; i < arth.length; i++)
   if ((arth[i].text == "pow(" || arth[i].text == "atan2(" || arth[i].text=="mod(") && !arth[i].operands.length)
   {
       var c = 1;
       var j = 0;
       while (c)
       {
           j++;
           if (i + j >= arth.length)
           {
               alerted = 1;
               alert("Parser error: Expected a ',' to divide the arguments of a binary function.");
               return arth[0];
           }
           if (arth[i + j].text == ',')
               c--;
           else if (arth[i + j].text == "pow(" || arth[i + j].text == "atan2(" || arth[i + j].text == "mod(")
               c++;
       }
       var tmp = [];
       for (var k = 1; k < j; k++)
           tmp.push(arth[i + k].text);
       arth[i].operands.push(parseArth(tmp));
       var k = 0;
       c = 1;
       while (c)
       {
           k++;
           if (i + j + k >= arth.length)
           {
               alerted = 1;
               alert("Parser error: Expected a ')' to mark the end of the second argument of a binary function.");
               return arth[0];
           }
           if (arth[i + j + k].text == ')')
               c--;
           else if (arth[i + j + k].text.charAt(arth[i + j + k].text.length - 1) == '(')
               c++;
       }
       tmp = [];
       for (var l = 1; l < k; l++)
           tmp.push(arth[i + j + l].text);
       arth[i].operands.push(parseArth(tmp));
       arth.splice(i + 1, j + k);
       if (arth[i].text == "atan2(")
       {
           var tmp = Token("*");
           tmp.operands.push(Token(180 / Math.PI + ""));
           tmp.operands.push(arth[i]);
           arth[i] = tmp;
       }
   }
And so is the tokenizing code, here is the code I am using to detect if a number contains a character that doesn't belong to a number or has more than one decimal point:
Code:
if (ret[i].charAt(0) >= '0' && ret[i].charAt(0) <= '9')
{
   var decimal = 0;
   for (var j = 0; j < ret[i].length; j++)
   {
       if (decimal && ret[i].charAt(j) == '.' || (ret[i].charAt(j) < '0' || ret[i].charAt(j) > '9') && ret[i].charAt(j) != '.')
       {
           alert("Tokenizer error: Can't assign the type to the token \'" + ret[i] + "\'.");
           alerted = 1;
           return ret;
       } else if (!decimal && ret[i].charAt(j) == '.')
           decimal = 1;
}
In fact, this is entirely written by me.
And so is the code used for translating the while-loops, arrays and if-branches to assembly. Here is how "while" is translated to Assembly:
Code:
if (/^While/.test(str))
{
   var arth=str.substr("While ".length);
   var label1="l"+(Math.floor(Math.random()*1000000));
   stack.push(label1);
   asm(label1+":");
   parseArth(tokenizeArth(arth)).compile();
   var label2="l"+(Math.floor(Math.random()*1000000));
   asm("fistp dword [result]");
   asm("mov eax,[result]");
   asm("test eax,eax");
   asm("je "+label2);
   stack.push(label2);
}
else if (/^EndWhile/.test(str))
{
   var endWhileLabel=stack.pop();
   var whileLabel=stack.pop();
   asm("jmp "+whileLabel);
   asm(endWhileLabel+':');
}
That is also available on GitHub, it's the file "control.js" file in this ZIP-archive.
Abaddon_ire Wrote:To this day, I continue to write encryption routines in assembler and in machine code.
Well, isn't that very unwise? It's important that the encryption software doesn't have many bugs, and programs written in Assembly and machine code (if there are such programs today) tend to be very buggy.
Reply



Messages In This Thread
Saturated Fat Controversy - by FlatAssembler - October 23, 2019 at 11:29 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 23, 2019 at 4:45 pm
RE: Saturated Fat Controversy - by Fake Messiah - October 26, 2019 at 2:15 am
RE: Saturated Fat Controversy - by BrianSoddingBoru4 - October 26, 2019 at 7:41 am
RE: Saturated Fat Controversy - by BrianSoddingBoru4 - October 23, 2019 at 7:02 pm
RE: Saturated Fat Controversy - by EgoDeath - October 24, 2019 at 1:22 am
RE: Saturated Fat Controversy - by FlatAssembler - October 24, 2019 at 2:54 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 27, 2019 at 3:09 am
RE: Saturated Fat Controversy - by FlatAssembler - October 27, 2019 at 7:59 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 27, 2019 at 4:52 pm
RE: Saturated Fat Controversy - by Succubus - October 27, 2019 at 5:36 pm
RE: Saturated Fat Controversy - by FlatAssembler - October 28, 2019 at 3:59 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 28, 2019 at 9:11 am
RE: Saturated Fat Controversy - by FlatAssembler - October 29, 2019 at 1:35 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 29, 2019 at 3:37 am
RE: Saturated Fat Controversy - by Grandizer - October 29, 2019 at 8:31 am
RE: Saturated Fat Controversy - by FlatAssembler - October 29, 2019 at 10:21 am
RE: Saturated Fat Controversy - by FlatAssembler - October 29, 2019 at 7:50 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 29, 2019 at 7:32 pm
RE: Saturated Fat Controversy - by LastPoet - October 29, 2019 at 2:21 pm
RE: Saturated Fat Controversy - by FlatAssembler - October 30, 2019 at 10:30 am
RE: Saturated Fat Controversy - by Abaddon_ire - October 31, 2019 at 4:54 pm
RE: Saturated Fat Controversy - by LastPoet - November 1, 2019 at 12:35 pm
RE: Saturated Fat Controversy - by FlatAssembler - October 31, 2019 at 7:36 am
RE: Saturated Fat Controversy - by The Grand Nudger - October 31, 2019 at 7:56 am
RE: Saturated Fat Controversy - by FlatAssembler - November 1, 2019 at 9:55 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 1, 2019 at 10:54 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 1, 2019 at 12:40 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 2, 2019 at 3:45 pm
RE: Saturated Fat Controversy - by LastPoet - November 3, 2019 at 5:41 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 2, 2019 at 4:12 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 3, 2019 at 3:19 am
RE: Saturated Fat Controversy - by FlatAssembler - November 3, 2019 at 6:18 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 3, 2019 at 9:37 am
RE: Saturated Fat Controversy - by FlatAssembler - November 3, 2019 at 10:39 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 3, 2019 at 12:19 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 4, 2019 at 12:15 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 4, 2019 at 1:01 am
RE: Saturated Fat Controversy - by FlatAssembler - November 4, 2019 at 5:41 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 4, 2019 at 7:51 am
RE: Saturated Fat Controversy - by FlatAssembler - November 5, 2019 at 12:59 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 5, 2019 at 8:33 am
RE: Saturated Fat Controversy - by FlatAssembler - November 6, 2019 at 9:31 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 6, 2019 at 6:22 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 6, 2019 at 9:46 am
RE: Saturated Fat Controversy - by FlatAssembler - November 7, 2019 at 4:07 am
RE: Saturated Fat Controversy - by LastPoet - November 6, 2019 at 1:34 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 6, 2019 at 1:37 pm
RE: Saturated Fat Controversy - by LastPoet - November 6, 2019 at 1:41 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 6, 2019 at 1:50 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 7, 2019 at 9:55 am
RE: Saturated Fat Controversy - by FlatAssembler - November 7, 2019 at 12:09 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 7, 2019 at 12:32 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 7, 2019 at 4:07 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 7, 2019 at 4:35 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 8, 2019 at 3:30 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 8, 2019 at 8:36 am
RE: Saturated Fat Controversy - by FlatAssembler - November 9, 2019 at 6:24 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 9, 2019 at 10:21 am
RE: Saturated Fat Controversy - by FlatAssembler - November 9, 2019 at 2:39 pm
RE: Saturated Fat Controversy - by I_am_not_mafia - November 10, 2019 at 7:18 am
RE: Saturated Fat Controversy - by FlatAssembler - November 12, 2019 at 5:45 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 12, 2019 at 10:22 am
RE: Saturated Fat Controversy - by FlatAssembler - November 12, 2019 at 12:50 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 13, 2019 at 4:52 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 13, 2019 at 9:12 am
RE: Saturated Fat Controversy - by FlatAssembler - November 13, 2019 at 10:19 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 13, 2019 at 12:54 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 1:08 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 1:11 am
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 1:45 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 2:09 am
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 3:04 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 9:10 am
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 11:52 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 12:12 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 12:58 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 1:11 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 14, 2019 at 1:45 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 14, 2019 at 2:11 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 15, 2019 at 2:59 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 15, 2019 at 6:36 am
RE: Saturated Fat Controversy - by FlatAssembler - November 15, 2019 at 1:18 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 15, 2019 at 1:29 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 16, 2019 at 3:49 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 16, 2019 at 3:53 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 19, 2019 at 1:00 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 19, 2019 at 1:02 am
RE: Saturated Fat Controversy - by FlatAssembler - November 19, 2019 at 1:39 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 19, 2019 at 7:49 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 19, 2019 at 9:23 am
RE: Saturated Fat Controversy - by FlatAssembler - November 19, 2019 at 12:10 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 19, 2019 at 12:45 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 19, 2019 at 1:16 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 19, 2019 at 1:34 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 20, 2019 at 4:44 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 20, 2019 at 8:47 am
RE: Saturated Fat Controversy - by FlatAssembler - November 20, 2019 at 10:36 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 20, 2019 at 5:32 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 20, 2019 at 10:52 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 20, 2019 at 6:43 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 21, 2019 at 1:05 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 21, 2019 at 9:17 am
RE: Saturated Fat Controversy - by FlatAssembler - November 21, 2019 at 10:01 am
RE: Saturated Fat Controversy - by LastPoet - November 21, 2019 at 10:36 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 21, 2019 at 12:30 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 21, 2019 at 2:37 pm
RE: Saturated Fat Controversy - by Abaddon_ire - November 23, 2019 at 3:57 pm
RE: Saturated Fat Controversy - by The Grand Nudger - November 21, 2019 at 2:38 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 22, 2019 at 3:14 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 22, 2019 at 9:32 am
RE: Saturated Fat Controversy - by FlatAssembler - November 22, 2019 at 11:46 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 22, 2019 at 11:55 am
RE: Saturated Fat Controversy - by FlatAssembler - November 23, 2019 at 7:23 am
RE: Saturated Fat Controversy - by FlatAssembler - November 24, 2019 at 1:48 pm
RE: Saturated Fat Controversy - by LastPoet - November 24, 2019 at 3:39 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 25, 2019 at 1:49 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 25, 2019 at 6:32 am
RE: Saturated Fat Controversy - by FlatAssembler - November 25, 2019 at 8:19 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 25, 2019 at 10:27 am
RE: Saturated Fat Controversy - by Mermaid - November 25, 2019 at 10:51 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 25, 2019 at 12:12 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 25, 2019 at 12:28 pm
RE: Saturated Fat Controversy - by Abaddon_ire - November 25, 2019 at 5:34 pm
RE: Saturated Fat Controversy - by Grandizer - November 25, 2019 at 6:37 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 26, 2019 at 12:47 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 26, 2019 at 2:42 am
RE: Saturated Fat Controversy - by The Grand Nudger - November 25, 2019 at 12:37 pm
RE: Saturated Fat Controversy - by LastPoet - November 25, 2019 at 1:12 pm
RE: Saturated Fat Controversy - by FlatAssembler - November 26, 2019 at 4:32 am
RE: Saturated Fat Controversy - by Abaddon_ire - November 26, 2019 at 6:50 am
RE: Saturated Fat Controversy - by FlatAssembler - November 26, 2019 at 7:25 am
RE: Saturated Fat Controversy - by FlatAssembler - November 28, 2019 at 12:32 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Can't crack a fat anymore? A New Hope! brewer 3 740 April 5, 2017 at 1:16 pm
Last Post: RoadRunner79
  Body shaming, and "My Big Fat Fabulous Life" Aroura 100 25971 August 5, 2016 at 2:29 pm
Last Post: thesummerqueen
  Scared I have the "fat virus" Razzle 6 2053 July 19, 2015 at 11:55 am
Last Post: Razzle
  Nipple Distance Controversy Rocks Chinese Beauty Pageant Tino 22 7446 November 7, 2012 at 7:37 am
Last Post: Creed of Heresy



Users browsing this thread: 28 Guest(s)