Frectonz
3.47K subscribers
1.91K photos
83 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
Added support for displaying year progress to Mek’ut’erīya. 🎉
Inspired by https://twitter.com/YearProgressET

Command mekuteriya progress

#projects #rust #terminal
I found one thing i love about go. Go has builtin support for complex numbers 😳. There are two complex types in Go. The complex64 and the complex128.

#GoLang #TIL #ComplexNumbers
Python has complex numbers as a primitive too. 😳

#GoLang #TIL #ComplexNumbers
Taken from https://go.dev/tour/flowcontrol/11

"""
Switch with no condition
Switch without a condition is the same as switch true.
This construct can be a clean way to write long if-then-else chains.
"""

This feature is also very interesting i know i will be using it.

#GoLang #TIL
Things are getting interesting in my Golang journey. Go has this thing called defer. It allows you to schedule a function to be run once the function execution environment it is in exits.

This is going to be useful for handling resources, open files, network connections ...

#GoLang #terminal #TIL
I just completed "Calorie Counting" - Day 1 - Advent of Code 2022 https://adventofcode.com/2022/day/1

The code will be on github after a couple of minutes, Btw i solved it using OCaml 🐫, Let see if i can make to the end 🤞

#AdventOfCode #AoC #ocaml
👍2
Frectonz
https://youtu.be/btWKkjbX-uc #CoolFind #neuralink #elon
This shit looks like the first act in a Black Mirror episode.

"What a time to be alive" - Two minute papers
😁3
Redid Advent Of Code Day 2 in Elm 🌳

Github

#AdventOfCode #AoC #elm
This might be the longest time i have gone without shutting down my PC, i will try to keep it up until it reaches a weak.

I am on Fedora, btw.

#terminal #brag #setup
I've completed "Rucksack Reorganization" - Day 3 - Advent of Code 2022

https://adventofcode.com/2022/day/3

#AdventOfCode #AoC
69 repos nice 😁

#funny #joke #brag
😁5💩1