Frectonz
3.45K subscribers
1.91K photos
82 videos
32 files
1.64K links
A place for me to talk about my projects, stuff i find on the internet and what I am currently thinking about.

By @frectonz
Download Telegram
As he contemplated these possibilities, a cosmic ray released from the very core of the sun was zipping through the vacuum of space on a trajectory straight to charlie's pod. Eventually it entered the pod and stroke a single bit in the pod's computer flipping it from 0 to 1, the part of the memory that was storing the state of whether the current user was an authorized personnel or not. The state was changed to be true. Charlie had now got access to the "Authorized Modifications" through the utter dumb luck of total randomness.

The voice intervened once again, "Authorized personnel status granted. Advanced modifications unlocked." Charlie didn't think much of this, he was too perplexed by the options presented to him.

He started scrolling through the advanced modifications section, he saw "alter IQ", "change skin tone", "change sex" and other wild options to transcend biology. Among these options lay a door to infinite potential: "JavaScript Console Access".

Charlie dared to venture further and chose "JavaScript Console Access". To his astonishment, the interface transformed into a code editor, complete with a holographic keyboard. At the top of the interface lay a small descriptive text that said, "Available objects", the list had only one entry person. Charlie knew what he should do.

Charlie proceeded to type person. . An autocomplete pop up appeared in front of him listing the various properties and methods he had access to. He begun to access the properties

> person.name
"Charlie Solton"
> person.hairColor
"black"
> person.iq
120


Charlie now understood what this machine was capable of. Yet, a question lingered, the most profound question of them all. Could the symphony reveal the finale of his existence? With a sense of dread, Charlie typed: person.deathDate and the machine responded once again.
πŸ”₯4❀3
Esti, people who have read the story, help me come up with its name, what should it be called?
Frectonz
Called it Teleportation, It's on my website now https://frectonz.io/stories/teleportation/
@jossephus asked me to publish the link on Hacker News and i just did, go over there and click the link, to get me points. 😁

https://news.ycombinator.com/item?id=37200899
πŸ‘Œ7πŸ”₯1
Forwarded from αˆŽαŒŽαˆ΅
ena demo guys..let's all give him likes on the article. posts that get around 150 likes within a few hours are automatically forwarded to their telegram channel
πŸ‘3
Frectonz pinned Β«What do you consider yourself to be?Β»
Calvin and Hobbes by Bill Watterson
The Four Deaths of Anthropocentrism

1. The Heliocentric Model βœ…
2. Evolution βœ…
3. Hard Determinism ⚠️
4. Extraterrestrial Life ⚠️

βœ… = proven reality
⚠️ = not sure
Frectonz
The Four Deaths of Anthropocentrism 1. The Heliocentric Model βœ… 2. Evolution βœ… 3. Hard Determinism ⚠️ 4. Extraterrestrial Life ⚠️ βœ… = proven reality ⚠️ = not sure
The point of this post wasn't to argue about the truthfulness of the theories, because I don't feel the need for a debate because both the heliocentric model and evolution are all known and widely understood facts of the universe.

The point of the post was to highlight that the controversial state of these theories steams from our innate human belief of human exceptionalism. Humans throughout our history have created stories to reinforce this idea of our innate exceptionalism. We have also harshly criticized and criminalized ideas that say the opposite.

These four "deaths" were used to show the trend of scientific discovery that is disproving this widely accepted notion of human exceptionalism (anthropocentrism).
I just heard someone say `Theoretical Computer Science` isn't that just `Math` 🀣
😁8
If you want to disable multiple form elements like buttons at once, you can use the <fieldset> element.
πŸ‘6
Frectonz
Tic-Tac-Toe just became cool again https://youtu.be/_Na3a1ZrX7c
Implemented Super Tic Tac Toe in Elm 🌳. It had been a long time since i programmed using it and i had forgotten how wonderful it is.

If you ignore the little bit of HTML/CSS/JS holding the Elm together, this project was completely built using functional languages. I set up my dev environment using Nix and built the thing using Elm. I guess i am embracing my inner functional programming zealot 😁.

You might find some bugs in the implementation, if you do report them to me, and the CSS is not completely responsive.

https://tic-tac-toe.frectonz.io/
https://github.com/frectonz/super-tic-tac-toe
πŸ”₯7πŸ‘4❀1
One of the coolest things about using Elm (or functional languages in general) is how it makes the logic for your app clear.

The enabled function is used to check if a single tic-tac-toe board out of the whole should be disabled. Essentially the rules of the game are those 3 checks.

1. the last cell move corresponds to the current board's position and the game has not ended
2. or the board corresponding to the last cell has ended (in which case all the unfinished boards should be enabled hence the use of or)