Code Monkey home page Code Monkey logo

benricheson101 / aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Goto Github PK

View Code? Open in Web Editor NEW
142.0 3.0 48.0 3.03 MB

Contributor note: code must spam "a" all on one line, there must not be any duplicate languages

License: MIT License

JavaScript 8.33% Python 0.74% Rust 1.05% Shell 0.72% C# 0.91% HTML 4.00% CoffeeScript 0.76% TypeScript 9.03% Zig 1.97% Go 1.51% Batchfile 1.63% Java 2.55% LOLCODE 1.61% C++ 16.21% PHP 0.80% Ruby 0.48% Dart 1.55% Brainfuck 0.66% C 44.10% Kotlin 1.41%
hacktoberfest

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa's Issues

JS and TS files are duplicates

I know Typescript is a superset of Javascript, but we can add subtle differences that are typical of both langs. The JS file could use while (1) or while (Infinity) loops. The Typescript file could use a statically-typed bool variable set to true, and a string var with the value 'a'. This would add "personality" and uniqueness to both files

aaa.html is not really html. It includes JavaScript

This is quite a pedantic issue, but I believe it's important for the sake of maintaining the integrity of the repository.

aaa.html includes

<script>
      setInterval(() => document.getElementById("aaaaaaaaaa").innerHTML += "a", 1)
</script>

which is JavaScript code. If we're to abide the repository's description, which at the time of writing is Contributor note: code must spam "a" all on one line, there must not be any duplicate languages, then there is a duplicate language in aaa.html, in some sense.

I have 2 proposals:

  1. If aaa.xml can have 1800000 a's printed, then why can't aaa.html? It seems like a simple enough fix.
  2. This is slightly more complex. If CSS were to be included, one possibility is to use keyframes and the content modifier to add an a to the content with every %.
@keyframes changeLetter {
  0% {
    content: "A";
  }
  1% {
    content: "AA";
  }
  2% {
    content: "AAA";
  }
  ....
}

Although not an elegant solution, it does manage to remove the JavaScript tag that the current file has.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.