Clipboard.

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
nice java mate
I sense a sarcasm.

When I use Eclipse, I do have a tendency to copy bits and pieces of code around, because it's faster than typing them out again. And in the project I was working on today, I did indeed intend to use print() rather than println(), as I had a bunch of things to print out all on the same line and it's easier and faster than concatenating them.

As for why I copied half of the print statement specifically... I have no idea. Probably while writing these lines:
Code:
            System.out.print(n.getKey());
            if(!q.isEmpty()) {
                System.out.print(", ");
            } else {
                break;
            }
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,799
248
I apparently somehow managed to clear my clipboard without shutting down my computer.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
163549

One of my classes does this thing during lectures where they post a multiple-choice question on the screen, and then all the students have to use an electronic device of some sort to answer it, mostly to show that they're actually in class that day. The recommended way to do this is with an actual, physical clicker that wirelessly connects with some transceiver located in the lecture hall. However, this year, I'm using my laptop instead and going through a website to click in. In order to ensure that I'm actually, physically in class and not just goofing around somewhere else with my laptop open, the instructor posts a random six-digit number on the board at the start of class, which I have to enter into the website before I can answer questions and be counted as present. However, the website is a bit finicky, and sometimes forgets that I logged in if the instructor doesn't actually post a question until the end of class. So, I copy the number to my clipboard when I enter it so I can log back in.

That's where these random numbers on my clipboard come from.
 
  • Like
Reactions: erindalc

goreae

Ultimate Murderous Fiend
Nov 27, 2012
1,784
2,649
273
Raxacoricofallapatorius
163549

One of my classes does this thing during lectures where they post a multiple-choice question on the screen, and then all the students have to use an electronic device of some sort to answer it, mostly to show that they're actually in class that day. The recommended way to do this is with an actual, physical clicker that wirelessly connects with some transceiver located in the lecture hall. However, this year, I'm using my laptop instead and going through a website to click in. In order to ensure that I'm actually, physically in class and not just goofing around somewhere else with my laptop open, the instructor posts a random six-digit number on the board at the start of class, which I have to enter into the website before I can answer questions and be counted as present. However, the website is a bit finicky, and sometimes forgets that I logged in if the instructor doesn't actually post a question until the end of class. So, I copy the number to my clipboard when I enter it so I can log back in.

That's where these random numbers on my clipboard come from.
My java class used clickers. I still have mine I think.
 

goreae

Ultimate Murderous Fiend
Nov 27, 2012
1,784
2,649
273
Raxacoricofallapatorius
9bfecfa16137e6ff95f782a3bf5ceeb6c4d44c73_hq.gif
 

Strikingwolf

New Member
Jul 29, 2019
3,709
-26
1
Code:
doesNotUnderstand: aMessage
    |args selector|
    args := aMessage arguments.
    selector := aMessage selector.
    (args size >= 1 and: [args first isMyPoint])
        ifTrue: [
            |first butfirst|
            first := args first.
            butfirst := args allButFirst.
            ^ (x perform: selector withArguments: {first x} , butfirst) pair:
             (y perform: selector withArguments: {first y} , butfirst)
        ].
    ^ (x perform: selector withArguments: args) pair: (y perform: selector withArguments: args)
Messing around with smalltalk :)
 

eeffoc

New Member
Jul 29, 2019
3
0
0
There is something there, I can see it by using the arrow keys to move through it, but otherwise it is totally invisible. Any ideas?