Discuss Scratch

TheHockeyist
Scratcher
1000+ posts

1001 things to make a programmer facepalm

djdolphin wrote:

__init__ wrote:

Fix your keyboard.

djdolphin wrote:

Hit your keyboard with a hammer and hope it stops.
I like my way better.
I would rather throw it out the window. Too bad I couldn't type Russian anymore… or even type.


DCPU-16
Scratcher
100+ posts

1001 things to make a programmer facepalm

Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
TheHockeyist
Scratcher
1000+ posts

1001 things to make a programmer facepalm

DCPU-16 wrote:

Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
See the first post.


MathWizz
Scratcher
100+ posts

1001 things to make a programmer facepalm

Just because the first post says it's not a TBG doesn't mean it isn't a TBG.

running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizzJsScratch && sb.js & Amber (coming soon! maybe)
DCPU-16
Scratcher
100+ posts

1001 things to make a programmer facepalm

TheHockeyist wrote:

DCPU-16 wrote:

Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
See the first post.
The first post doesn't seem to provide any justification…
Blueinkproductions
Scratcher
1000+ posts

1001 things to make a programmer facepalm

djdolphin wrote:

Hit your keyboard with a hammer and hope it stops.
The way all hardware problems are solved!

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
____                  _____  _______              
| \ | | | | | |\ | | /
|___/ | | | |__ | | \ | |/
| \ | | | | | | \ | |\
| | | | | | | | \ | | \
|___/ L____ \___/ |_____ ___|___ | \| | \
PRODUCTIONS





















































Here's a hint: support = support.

<shameless self promotion>follow me! follow me! follow me! love my stuff! love my stuff! love my stuff! follow me! love my stuff! remix my stuff! follow me! follow me! </shameless self promotion>
TheHockeyist
Scratcher
1000+ posts

1001 things to make a programmer facepalm

Blueinkproductions wrote:

djdolphin wrote:

Hit your keyboard with a hammer and hope it stops.
The way all hardware problems are solved!
Hahahaha… *bang* *bang* *ba-*……………. (Help? I lost my keyboard and cannot communicate…) …………
Seriously, though… do not try this at home.

Last edited by TheHockeyist (March 19, 2015 01:22:15)



djdolphin
Scratcher
1000+ posts

1001 things to make a programmer facepalm

DCPU-16 wrote:

TheHockeyist wrote:

DCPU-16 wrote:

Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
See the first post.
The first post doesn't seem to provide any justification…
Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to http://tbgforums.com/?

!
TheHockeyist
Scratcher
1000+ posts

1001 things to make a programmer facepalm

How about let's end this chat and move on to serious talk?


Zro716
Scratcher
1000+ posts

1001 things to make a programmer facepalm

1001wtmapf #420:
documenting like a noob
// ok so this does something
var song_name = "darude sandstorm"; //semicolin

// I think it concatenates the things
twenniwan = 9 + 10; //semicolin

Last edited by Zro716 (March 19, 2015 03:29:33)


As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
nXIII
Scratcher
1000+ posts

1001 things to make a programmer facepalm

MegaApuTurkUltra wrote:

{} + []
JS tries to coerce these, but first it looks at the "+" as a number for some reason
+[] becomes 0, then it attempts to add that, coercing the {} to a number, and you end up with 0
Don't ask me why JS decides suddenly to treat +[] as a number when it didn't before
It's actually because {} + [] parses as an empty block followed by a unary + operator (whose operand is []). If you type ({} + []) you'll get the more reasonable "[object Object]".

nXIII · GitHub
kvackkvack
Scratcher
500+ posts

1001 things to make a programmer facepalm

TheHockeyist wrote:

How about let's end this chat and move on to serious talk?
liam48D
Scratcher
1000+ posts

1001 things to make a programmer facepalm

djdolphin wrote:

Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to http://tbgforums.com/?

I don't have an account there yet. ;-; I'll have to sign up lol.

kvackkvack wrote:

TheHockeyist wrote:

How about let's end this chat and move on to serious talk?

I hate it when my sister is trying to do Processing JS code, or any code with a triangle functions, and she gives it 4 arguments. Like, triangle. Seriously. Perhaps you need to put six arguments, for the three points?

202e-202e-202e-202e-202e UNI-CODE~~~~~
ninjagolloyd
Scratcher
500+ posts

1001 things to make a programmer facepalm

liam48D wrote:

djdolphin wrote:

Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to http://tbgforums.com/?

I don't have an account there yet. ;-; I'll have to sign up lol.

kvackkvack wrote:

TheHockeyist wrote:

How about let's end this chat and move on to serious talk?

I hate it when my sister is trying to do Processing JS code, or any code with a triangle functions, and she gives it 4 arguments. Like, triangle. Seriously. Perhaps you need to put six arguments, for the three points?
This is my sister's JS that “generates unikitties”:
klhskgbvfhkdsfhslsgfkg(5521525,24742,224);
jsvnlmfnehcnhkjfxmfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff(0xhjbhbgghnjjmkfdhgmbxbhvmghdj);
abcdefghijklmnopqrstuvwxyz(zyxwvutsrqponmlkjihgfdecba);

bean
__init__
Scratcher
1000+ posts

1001 things to make a programmer facepalm

“What file is the registry in?”

thisandagain pls explain
OmnipotentPotato
Scratcher
1000+ posts

1001 things to make a programmer facepalm

TheHockeyist
Scratcher
1000+ posts

1001 things to make a programmer facepalm

OmnipotentPotato wrote:

http://prntscr.com/6io72g
AAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”

…(You could put your cell phone on the fax machine and be done with it… but they mean “how do you use your cell phone to fax a picture?”.)

Last edited by TheHockeyist (March 19, 2015 13:24:11)



__init__
Scratcher
1000+ posts

1001 things to make a programmer facepalm

Oh no that's wrong, everything has to be in main().
int main(int argc, const char* argv[]) {
   #include <iostream.h>
   #define thingtoprint "Hi"
   using namespace std;
   cout << thingtoprint;
   return 0;
}

Oh, and if #define macros save memory, then why not use them instead of variables?
if boolean=true {
    #define userinput ""
    cin >> userinput
    if userinput == "yes" {
        #define userSaidYes true
    }
}

thisandagain pls explain
OmnipotentPotato
Scratcher
1000+ posts

1001 things to make a programmer facepalm

TheHockeyist wrote:

OmnipotentPotato wrote:

http://prntscr.com/6io72g
AAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”
Lol. At least they have cell phones though.
__init__
Scratcher
1000+ posts

1001 things to make a programmer facepalm

TheHockeyist wrote:

OmnipotentPotato wrote:

http://prntscr.com/6io72g
AAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”
(removed by moderator - please keep it polite)
Frequently heard from kids these days: “What's a fax?”

Last edited by Paddle2See (March 19, 2015 13:36:10)


thisandagain pls explain

Powered by DjangoBB