Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# randomness-in-programming-languages
An example of random number generation in different programming [languages](/sources#completed-languages)
An example of random number generation in different programming [languages](/sources#completed-languages).

# hacktoberfest
A hactoberfest-friendly project
Currently hosted at https://prng.akrasia.dev/

# file structure
Overview of folder layout
```
.
|-- analysis
|-- outputs
|-- sources
`-- website
```
### [analysis](https://github.com/SpencerWoo/randomness-in-languages/tree/master/analysis)
Scripts that read `ouputs` to perform analysis and generate graphs

### [outputs](https://github.com/SpencerWoo/randomness-in-languages/tree/master/outputs)
This folder holds the data output of `sources` and is used by `outputs`

### [sources](https://github.com/SpencerWoo/randomness-in-languages/tree/master/sources)
Simple programs in various languages to generate random numbers to populate `outputs`

### [website](https://github.com/SpencerWoo/randomness-in-languages/tree/master/website)
Source files for generating website to organize and display the data

## Contribute
Create an example of generating a million random numbers and calculating the percentage for each bucket.
Expand Down
6 changes: 5 additions & 1 deletion website/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Tutorial Example
# website

https://prng.akrasia.dev/

# gatsby

The example project built by following the [Gatsby Tutorial](https://gatsbyjs.com/docs/tutorial/).

Expand Down
Binary file removed website/src/images/clifford.jpg
Binary file not shown.
Binary file added website/src/images/hs1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/src/images/hs2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 10 additions & 22 deletions website/src/pages/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,39 @@ const HistoryPage = () => {
<Layout pageTitle="History">
<small>April 30, 2011</small>
<p>
In the beginning was my High School project fair.
In the beginning was a High School project fair.

<br></br><br></br>

<StaticImage alt="Clifford, a reddish-brown pitbull, dozing in a bean bag chair" src="../images/clifford.jpg"/>
<StaticImage alt="high school project" src="../images/hs1.png"/>

<br></br><br></br>
The original project was with Javascript, Java, AS3, Visual Basic, and Python.

<br></br><br></br>

The original project used ActionScript 3 (AS3), Java, JavaScript.
</p>

<br></br>
<hr></hr>
<br></br>

<small>February 19, 2015</small>

<p>
After some time, I had college hosting and put up a poor-man's version of this project.
After many years, this project was revisited and expanded with additional languages: Swift, Python, and Visual Basic.

<br></br><br></br>

The project expanded with a few additional languages. The website was coded in vanilla javascript using templates from programming classes -- it was functional and will remain archived.

A simple vanilla javascript website with handlebars.js templating was hosted via college hosting.
</p>

<p>When I put a version of that project online via my college website hosting.</p>


<br></br>
<hr></hr>
<br></br>

<small>February 19, 2021</small>

<p>
I revisit this project on its tenth anniversary.
After some time, the project was revisited on its tenth anniversary.

<br></br><br></br>

For DigitalOcean's <a href="https://hacktoberfest.com/">hacktoberfest</a> I thought to expand, have a proper website, and make it a communtiy project where other's can submit a simple program in their language of choice.

The project is reopened for DigitalOcean's <a href="https://hacktoberfest.com/">hacktoberfest</a> with the goal of expansion, a proper website, and open contribution.
<br></br><br></br>

Unfortunately it did not progress significantly during this time.
Expand All @@ -61,17 +50,16 @@ const HistoryPage = () => {
<hr></hr>
<br></br>

<small>December 29, 2023</small>
<small>February 21, 2023</small>

<p>
With the release of <a href="https://chat.openai.com/">ChatGPT</a>, it became the perfect opportunity to generate tedious, low-IQ, grunt-work in an array of programming languages.
With the release of <a href="https://chat.openai.com/">ChatGPT</a>, the generation of tedious, low-IQ, grunt-work in an array of programming languages became straightforward.

<br></br><br></br>
This project is considered completed and satisfactory. That said, any <a href="https://github.com/spencermwoo/randomness-in-programming-languages">PRs</a> are welcome to improve the statistics, website design, or programming langauges.
This project is considered completed and satisfactorily concluded. That said, any <a href="https://github.com/spencermwoo/randomness-in-programming-languages">PRs</a> are welcome as there is plenty to improve (statistics, website, programming languages, etc).
<br></br><br></br>

Thanks for your attention.

</p>

<br></br>
Expand Down