I'm trying to program something really easy, but I suck at programming, so it'll feel really hard.

Please be ready for much whining, ranting, and gratuitous outbursts of tear emojis.

Let me do some pre-complaining, to warm up.

WHY DOES MY COMPUTER HATE ME? 😭

#devs

Reply to this note

Please Login to reply.

Discussion

The worst thing is that I'm so bad that it's embarrassing to ask for help.

Can you help me make a while statement?

Yeah, sure, where is it? I can help you fix it.

I meant... like... how do I make a while statement? 🙈

haha, that's why in Go there is only one loop construct, with multiple, intuitive forms, the C, the iterator, the while version and the until version (variants of the C form)

Just ask chat gtp.

Asking my IDE. It seems to know some stuff.

my ide is Goland and i am glad to be back using it because its ML suggestions are actually useful almost 50% of the time

the LLM based AI Assistant is wrong about 75% or maybe i am being kind

Use vim.

IDEs are for stupid n00bs.

Are you a trollbot?

Only troll, only this morning.

Well, then GM, Mr. Troll.

not on my relays, what a breath of fresh air

Not on theforest, anymore, either.

Feliz navidas

while(dont_know_how_to_make_while_statement){

search(); learn(); ask_on_nostr();

}

Wtf? Are you a stupid socialist?

Stop crying and learn how computers works.

Computers just do what their told. Once you accept that, everything is easier.

Computers should understand what I *actually* meant by that. They take everything so literally.

If I mean it literally, then I will preface with the codeword "literally". Like duh.

literally print. No cap.

It's like, you know I meant from 2 to 8 and not 1 to 7. Like, computer bro, I am not feeling seen, felt and heard.

yes, i know you been in this game a while but maybe this is your first experience fighting with the actual low level parts of it

literal is always implied, always

that's why abstractions are evil, because they confuse what is literally meant

😂 I'm just joking around.

i'm laughing

it's a beautiful thing to watch these things unfold in real time that we all went through at some point, usually over and over and over again

Haven't even used PHP on this computer before, so it's like 😜

Took me like an hour, just to configure everything, so that I could try out Hello World. 😂

i think you read (some of) my kitchensink guide, how long until you could do a #golang hello world?

tbh i forget if you run linux...

Yeah, Linux.

I already have golang setup, so five minutes.

package main

func main(){

fmt.Println("hello world")

}

The End

I just sat there, all frustrated,

Why doesn't it run?

Why doesn't it run?

OMG I hate computers and it's mutual! 😭

OMG I hate my life! 😭

Oh, forgot the

haha

yeah, php is a derivative of XML

It's like, the file extension is .php

It shoulda known. Just sayin.

yeah, but php be how it do

It do be tru, tho.

i first learned it back in 2003 and i loved the dynamic arrays

💯💯💯💯💯💯

it's all so ancient history for me that i'm just now a #golang maxi

it has all the things that were important along the road and everyone else is lost in the past

I still love PHP, ngl. Only thing I can really read.

see, i know what i'm talking about, it was nice like that

it was intended to be literally the proper language to construct web 2.0 things, with some database access library imported, that's why it's called php: hypertext preprocessor

it's inventors envisioned it as a simple language to enable dynamic HTML

And it was beautiful. We had MySQL behind it, and eventually Angular in front of it.

Just worked.

*clicks his fingers to wake her out of her trance*

those days are over, milady

now you are in a war with all the retards who love abstractions and "expressivity" and object models and need to fight for actually how to process shit

Nope. We're bringing PHP back, baby!

We're gonna code like it's 2021.

#golangonly

that's the new #bitcoinonly

it was no coincidence that the two things appeared at the same time

they both solve for the same issue in different fields - eliminating abstraction and complexity

I’ve been playing with Laravel for a few weeks. 🤣 I still like Blazor better, but Laravel is pretty dang cool.

I installed Herd for trying stuff out. It reminds me a bit of XAMPP. Did you use something like that, or did you just manually set php up using the package manager?

Apt

I haven't used Laravel much, before. Just some Symfony classes and Doctrine.

also, you will learn to read Go

my path was this:

BASIC -> Assembler -> PHP -> Python -> Vala -> Go

my god i barely even finished pressing ctrl-enter and i get an ack "reading emoji" from you

you are fast

😁

Not sure what the big deal is or why go is so verbose. In Libre office Writer I just type

Hello World

And there it is.

Superior IDE, that LibreOffice.

lol

markup is not programming

we already had this discussion about how computers take everything literally, and all abstractions are still literal even if obfuscated

If computers didn't take orders literally, they wouldn't be computers, they would be humans.

What you want is human slaves.

Or, as I like to call them "male developers on the same team".

yes, boys and computers share this feature of literal interpretation of the salient words

oh yeah, ironically, one of the best computers ever made, literally got the brand "girlfriend" - amiga

and it was a beautiful lady, she always knew what you meant, unlike these toxic corporate intel things

Fr. They're like halfway there, already. I have to think further.

yes, probably the difference is the boys have one level of abstraction called "vocabulary" and "grammar" that is a little opaque

Do you realize how insane that statement is? You just suggested you believe nobody has ever told a computer not to do what it's told.

😂

I recommend reading the Robots series from Isaac Asimov. It deals with this very questions and paradoxes and it's a scifi classic.

I'm hinting at how every computer these days is told at the factory to not do what it's told. It's been a long long time since computers with a tendency to do what they're told were common.

I didn't say the user was to one telling the computer what to do. It's not...

Based 👽

hey bro what you tryin to program

Uploader for a new event type, using a different NDK than we originally planned.

It works! 😂

Hey, it's actually working. 😂

I'm in shock. Code is still a mess, but it does a thing.

nostr:npub1m3xdppkd0njmrqe2ma8a6ys39zvgp5k8u22mev8xsnqp4nh80srqhqa5sf I decided to skip the wiki step and go straight from a markdown file to the modular events.

Told my hubby I was doing this with PHP because I love the arrays and the string manipulation and he was like, Too lazy to try writing it in Python, amiright?

Noooooo. Hello. Python has no semicolon at the end of each statement. That is just WRONG!

omg

yeah this is one of the features that Go adopts

implicitly all \n is in fact ;\n

except after comma

comma lets you break the line without breaking the statement

so, go is line structured like python but the actual whitespacing is not enforced, and under several conditions you can break lines... another one is operators, + - * | & || && / these can have a \n after them without breaking the statement