Avatar
brwsk
cd00eaece6ae6d4a47d57fdc95f8b1c401758344748467c3321d7de8d33645fb
Curious about things, likes to learn, likes problem-solving. Diving into complex things.

mutant, disposition

Like it or not, there's a lottery at birth for intelligence

I refuse to use the Xfce terminal because there's no copy&paste keyboard shortcuts

I just played a sicilian with 97% accuracy and won in positional style.

Lattice-based cryptography and learning with errors. Fascinating stuff!!

package main

import (

"fmt"

)

func printPrimesBaby(max int) {

// start checking from 2, up to the max

for i := 2; i <= max; i++ {

// if it is 2, then it's a prime, print out and continue.

if i == 2 {

fmt.Println(i)

continue

}

// if divides into 2, not a prime. Continue

if i%2 == 0 {

continue

}

// max is bigger than 2? starting from 3 up to the max, seeing if anything divides into it

isItPrime := true

for j := 3; i >= j*j; j++ {

if i%j == 0 {

isItPrime = false

break

}

continue

}

if isItPrime {

fmt.Println(i)

}

}

}

func test(max int) {

fmt.Printf("Primes up to %v:\n", max)

printPrimesBaby(max)

fmt.Println("===============================================================")

}

func main() {

test(10)

test(20)

test(30)

}

functional programming ✅

Augenblicke der Serenade

nos2x-fox is nice 🤷‍♂️

Imagine you didn't have to "trust" anyone or anything in the next 10 years and everything was just "signed" with your key, and that's how you proved identity or claimed ownership. And you lost your key? Or your key stolen from you?

BBI. Brain to brain interface

I send darn nice bug reports!

The bitter lesson by Rich Sutton

Noobs use successive assertions, Gs use type switch.

#Go

#Golang

Golang is growing on me, excited about its encryption usages and CLI apps...

struct methods in go, if you're not object-oriented, why you gotta do that bro?

Why does not Signal Messenger have a passcode lock for its linux app?

Winter is nice