[ / / / / / / / / / / / / / ] [ dir / animu / arepa / asmr / ausneets / pawsru / sonyeon / vg / wx ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 3211e6a1f2d0c46⋯.mp4 (7.09 MB, 1280x720, 16:9, 3211e6a1f2d0c46bc384c28614….mp4) (h) (u) [play once] [loop]

File (hide): bc6161f710adf59⋯.mp4 (3.68 MB, 960x960, 1:1, bc6161f710adf599f41f1edcd9….mp4) (h) (u) [play once] [loop]

File (hide): 393266dbe0c7b4b⋯.webm (988.84 KB, 640x640, 1:1, 393266dbe0c7b4b7def7f6994….webm) (h) (u) [play once] [loop]

[–]

 No.967425>>967439 [Watch Thread][Show All Posts]

You ever have a Pajeet moment? I just did. I decided to write a little script in python. I haven't used python since college, but it's a simple language and I didn't think I would have any trouble. I started writing, and could not get my code to run. I kept getting this error, "unexpected symbol near whatever." I went online and found a little python cheatsheet. I thought I was doing function declarations wrong. I wasn't. I spent an hour and a half trying to figure out what i was doing wrong.

I forgot the exclamation point in the shebang

If I had remembered what python errors even looked like, I would have known right away they weren't even python errors.

 No.967426>>967878

File (hide): c25d6e43b7b4436⋯.mp4 (5.35 MB, 640x480, 4:3, c25d6e43b7b4436d000505567a….mp4) (h) (u) [play once] [loop]

well shit. As soon as I posted I found the vid I was actually looking for.


 No.967435

That's a pretty typical brain fart. I've done it before a few times. I don't think that counts as a pajeet moment, as a pajeet moment would be shitty code caused by not understanding your language or programming in general.


 No.967439

>>967425 (OP)

I poo in the back yard once


 No.967442

File (hide): 474959a5d432b24⋯.jpg (66.71 KB, 866x487, 866:487, indian male.jpg) (h) (u)

I copy and pasted code from stackoverflow once.


 No.967456>>967656

If you forget the bang it won't error as it will just be a comment


 No.967479

I was writing React and just stopped maintaining my tests because Javascript is a bag of shit.


 No.967521

up until about 6 months ago i would often just copy and paste snippits into my dot files without comments or or even checking for duplication. I have also been guilty of making configuration changes in persuit of a goal, then when those configurations are no longer needed or prooved to be inefective i just left them there undocumented and forgoten so they could come back and haunt me at a later date. I don't think i've ever had to reinstall for any reason that wasn't strictly my lazy ass leaving garbage laying around my system that breaks shit a few months later and i can't remember what i changed so i just start over.


 No.967656>>967963

>>967456

It errored. I assume it was trying to run it as a shell script instead of python3.


 No.967878

>>967426

"Milk truck just arrived" was unironically funny and even a bit witty. Other pajeets should learn from him.


 No.967963

>>967656

Your shell must suck if it treats any executable file as a shell script.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
10 replies | 2 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / arepa / asmr / ausneets / pawsru / sonyeon / vg / wx ][ watchlist ]