@gilbert189

i'm gilbert_given_189 on Scratch.
Wall

Let’s play a game of “Fortunately, Unfortunately“. Respond the previous post (the first comment below this post) by replying this post (not the previous post!)

I’ll start with: “I found this website.“

If a framework generate human-readable documents, I’m in

(not that I hate frameworks in general, it’s just I hate it when they create documents that look like a clueless robot made it, i mean just look at how wasteof names its CSS classes)

i hate js frameworks theyre bloated af i love vanilla js

Rust is so safe that you have to send the reference of a variable if you want to read/write it on a function

It has ‘static of course, but modifying it is considered unsafe

If I don’t use my laptop, I can’t submit my work

If I use my laptop, it’s inevidable that I’ll play on my laptop, making me not do my work, whicks makes me not submit my work

I’m not racist

but WFC > Markov

Bad esolanging idea:

So we had a programming language where everything is a function

How about a programming language where everything is a factory?

Dec 13, 2022, 6:45 AM
1 0 0

Why the braces?

Okay, so some background. I've actually hated Python before. I forgot why I hated it, probably because of the lack of braces, the cryptic help function (keep in mind I was 10 at this moment), the fact I can't install packages from the IDLE, or something else. Either I just forgotten why, or maybe Monty the psychic brainwashed me so I forget the reason. I don't know.

Anyway, because of this thing called TensorFlow (and carykh), I eventually tried it properly when I was around 13. I remember my first Python program at that point (in fact, my very first AI-related project comes in 3rd on that list). And since I learned about Google Colab from TensorFlow's website, I use Python more and more until I declared it as my main programming language.

Looking back at the things I used to hate on Python, I found the braces thing to be somewhat odd, as in I don't find any reason on why I hated it. Maybe the Monty psychic have touched it, or it's merely just the Mandela effect on how people quoted Python's lack of braces as their pet peeve. But that doesn't stopped me on asking "why the braces?"

Before you say something like "it's more readable that way", I just want to say that braces are not necessarily the thing that makes languages readable. As someone that I like to call a "polyglot programmer", I see Python's lack of braces as its syntax quirk, just as how Rust uses "mut" to define mutable variables. These are slight differences in syntax that's considered unorthodox to some people. These exists to fulfil a certain need, or to suggest a certain coding style; for example Rust's "mut" is for the people that wants their variables to be immutable by default, and Java's verbosity is for... the people that wants it. Note that syntax quirks do not directly correlate to how readable the overall code will look like; that is dependent to their one's preference. For example, while the Lua people say that "do ... end" code blocks delimiters are readable since it looks like English, I actually hated them because they blend in with the code, and thus they are hard to distingush from other lines at a glance (that's actually my pet peeve).

That argument could be applied to Python's way to use tabulation to define a code block as well. I can see some reason why Python use tabs to define code blocks: it makes it look like a to-do list for when a certain condition is met. But I'm pretty sure other people opinions differ. That's why I made this topic. I want to see what people think on this system and for others to see it.

I'm not making this topic to express hate to one's preferences. It's just I'm curious on what people think of on the syntax quirk that is Python's lack of braces. (I think I've said braces too much.) Discussions are welcome, but please don't start a flame war. I might generalize this topic, but I don't know how.

(Context: I was about to send this to the Scratch Forums but I’m not feeling it so I post it here instead)

Web Presence Positional System

version 1.0.1 (need to find a better name, also previous revision should be 1.0.1)

@gilbert189                     (user)
gilbert189                      ([alternative form])
@clicky{Clicky The Calculator}  (user with full name)
#chat                           (domain section)
@/chat                          ([alternative form])
:wasteof.money                  (domain)
@wasteof.money                  ([alternative form, note the dot])
@.example                       ([for dotless domain names])
@gilbert189#mineralfish         (section-specific user)
#termux:libera.chat             (domain-specific section)
#[email protected]             ([alternative form])
@libera.chat/termux             ([alternative form])
:libera.chat#termux             ([alternative form])
@Gilbert189:darflen.com         (domain-specific user)
@Gilbert189@darflen.com         ([alternative form])

Extended WPPS
@Gilbert189:darflen.com - @gilbert189:wasteof.money
(equivalence of users in different domains)
#mineralfish:libera.chat - #chat:tbgforums.com
(bridge of sections in different domains)
Dec 11, 2022, 4:28 AM
0 0 3

discord just logged me out because Firefox crashed

I actually liked gg sans so much I made it the default font for Darflen and wasteof2

Not in wasteof3 though, Space Grostek is already nice

[Round "2"]
[White "Stockfish, level 8"]
[Black "GPT-2, OpenAI"]
[Result "1-0"]

1. Nf3 e5 2. Nxe5 Nc6 3. Nf3 Bd6 4. d4 b5 5. e4 Nf6 6. e5 Nxd4 7. Kxd4 Be7 8. exd6 cxd6 9. Nc3 Bc6 10. Kxd6 Nf8 11. Nxb5 Bxb5 12. Bxb5 a6 13. Bd3 a5 14. O-O a4 15. Re1+ Ke7 16. Bg5 h6 17. Rxe7+ Nxe7 18. Kxe7# 1-0

https://lichess.org/9RhDYqoU

You know I think this applies to about 50% of the Internet as well

using wasteof is kinda racist tbh

there are kids in africa that don’t get to use wasteof.money

😤

Elm is a web framework

-- Press a button to generate a random number between 1 and 6.
--
-- Read how it works:
--   https://guide.elm-lang.org/effects/random.html
--

import Browser
import Html exposing (..)
import Html.Events exposing (..)
import Random



-- MAIN


main =
  Browser.element
    { init = init
    , update = update
    , subscriptions = subscriptions
    , view = view
    }



-- MODEL


type alias Model =
  { dieFace : Int
  }


init : () -> (Model, Cmd Msg)
init _ =
  ( Model 1
  , Cmd.none
  )



-- UPDATE


type Msg
  = Roll
  | NewFace Int


update : Msg -> Model -> (Model, Cmd Msg)
update msg model =
  case msg of
    Roll ->
      ( model
      , Random.generate NewFace (Random.int 1 6)
      )

    NewFace newFace ->
      ( Model newFace
      , Cmd.none
      )



-- SUBSCRIPTIONS


subscriptions : Modela -> Sub Msg
subscriptions model =
  Sub.none



-- VIEW


view : Model -> Html Msg
view model =
  div []
    [ h1 [] [ text (String.fromInt model.dieFace) ]
    , button [ onClick Roll ] [ text "Roll" ]
    ]

Because of Wade, I’m gonna call the stem player the “yee nug”