« first day (3628 days earlier)      last day (1306 days later) » 

12:36 AM
reads a book
 
 
6 hours later…
6:36 AM
reads a book
 
Zoe
18 hours of book reading - that's dedication right there
 
 
5 hours later…
12:00 PM
The coyote is one of the most adaptable animals in the world. They can change breeding habits, diets, and social dynamics to survive in a wide variety of habitats. (source)
 
12:39 PM
farts
 
/shutdown
 
Shutting down. See you later.
OakBot Online.
 
Ok, Oak is using an updated JDK now, so that should fix the SSL error.
 
Zoe
maybe you should upgrade to C++ >.>
 
Java is love. Java is life.
/cat
 
posted on September 28, 2020

archive - contact - sexy exciting merchandise - search - about ← previousSeptember 28th, 2020nextSeptember 28th, 2020: Out now is the GRAPHIC NOVEL ADAPTATION of Kurt Vonnegut's SLAUGHTERHOUSE-FIVE, which is one of my favourite books and which I am so thrilled I get to share with you. You can find out more at www.qwantz.com/slaughterhouse including a look inside the book - here's a tweet

 
@Michael you are restarting Oak quite often recently
 
@Wietlol QOTD still wasn't working due to SSL handshake error with slashdot.org. I upgraded the JDK to see if that would solve the problem.
I subsequently noticed that the two scripts I use to start the bot, "run.sh" and "run-quiet.sh", were using different JDK installations. That may have had something to do with the problem.
Oak is now using OpenJDK 15.
 
1:24 PM
so I tried some crap coding today and came up with sth. like this:
lst.stream()
.mapToInt(household -> 5)
.max()
.stream()
.forEach(i -> System.out.println("bla"+i));
and the compiler does not complain... though there is no output
the doc says about max(): <p>This is a <a href="package-summary.html#StreamOps">terminal
* operation</a>.
 
I would think that max() returns an Optional? Does the Optional class have a stream() method? o.O
 
oh I see this has been added in java9
@Michael yes...
 
Wat.
xD
 
it streams the value... or an empty stream
 
But it only has a single value. Why would you need to stream that?
 
1:31 PM
@Michael I got totally confused :D
 
@Michael it has a single or no values
 
Again, why would you need to stream that.
 
encapsulating that in a collection or stream would simplify the construct
although... it often makes little sense to do so
 
@Michael java 8 OtionalInt: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html
java9 OptionalInt https://docs.oracle.com/javase/9/docs/api/java/util/OptionalInt.html
 
in this case, an ifPresent(System.out::println) would make more sense
(assuming Optional has an ifPresent method) which it does
 
1:34 PM
@Wietlol ye I was oping for sth. like if it finds a maxvalue then it could stream from 0 to that value. When I saw stream() inside available methods I was playing around and got really confused at first :D
@Wietlol it even has a ifPresentOrElse
 
I should make some extension methods for nullable in kotlin
 
I'm sure there's a good reason, I just don't know what it is. xD
 
 
2 hours later…
Zoe
4:07 PM
@fredoverflow May I recommend gitting a plumber instead? :P
 
If I try to widen a column in an Oracle DB that already has data, does it work?
 
 
1 hour later…
Zoe
5:36 PM
5 messages moved to Trash can
 
 
6 hours later…
11:32 PM
picks nose
 
 

« first day (3628 days earlier)      last day (1306 days later) »