« first day (755 days earlier)      last day (2648 days later) » 

12:15 AM
@Sam I'm well, how are you? (Sorry, was afk for a bit.)
 
Sam
12:29 AM
@NobodyNada Np. Glad to hear. I'm good, thanks. Just getting up to speed on my old projects.
 
@Sam That's nice. It's always great to get some free time after not having any for a long time.
I think FireAlarm's crashes happen when it tries to do multiple HTTP requests at once.
It shouldn't crash, but Foundation is buggy on Linux.
 
Sam
@NobodyNada ikr :D
How's the accuracy so far?
 
@Sam With the default threshold, 68%
 
Sam
Nice, that's not bad.
 
only like 1% received upvotes
Definitely less than 10%, I think it was about 1%
Maybe it was more like 8%; I'm getting lots of numbers mixed up
 
Sam
12:35 AM
xD
 
To add confusion, I used to have incorrect stats
 
@Fire alive
sigh...
 
12:57 AM
I've been trying to fix a bug for 30 minutes, only to find out that I never actually changed the code
I modified the file on my Mac, but I copied it to the wrong location on the Pi
:/
 
Sam
xD
 
Anyway, it seems like my suspicion was correct: Foundation crashes when I try to perform multiple requests at the same time.
It says fatal error: transfer completed, but there's no currect [sic] request, so I'm guessing it has some sort of a "current request" variable it sets when a request starts and clears when it finishes
But when I run multiple requests at the same time, it chokes because the two requests overwrite each other.
 
Sam
Eww
Can't you use a different library?
 
Not really -- I mean I guess I could, but it would be kind of a pain -- Foundation was originally Apple's library for Objective-C, which contained basically all of the language
But then Swift came out, which had it's own standard library, but Foundation is still useful for doing OS-related things
Then they ported it to Linux, so they had to rewrite Foundation in Swift
But the new implementation is buggy and incomplete.
 
Sam
Wait, this is a standard library? D:
Oh, ok. That explains things.
 
1:07 AM
And since macOS's version of Foundation works, it's really hard to debug since it takes several minutes to compile stuff on the Pi
 
Sam
:/
Why not use a VM for debugging?
 
I used to use a pc running Ubuntu
I have to compile Swift myself though to fix some bugs, and that's just such a pain
Although I guess it's only difficult on Raspberry Pi; it's not that hard on Ubuntu
 
Sam
Oh
 
One of the worst bugs I ran into is the type metadata for Error being corrupt. So guess what happens whenever I have to do any polymorphism with Errors...
 
1:15 AM
\o/
@Fire alive
 
@NobodyNada FireAlarm-Swift version daddc70, running for 13 seconds on Linux 4.4.26-v7+ armv7l
 
yay!
 
Sam
\o/
 
@Fire stop
 
@NobodyNada Shutting down...
 
1:20 AM
FireAlarm will reboot, then I need it to update, which will take about 5 minutes
 
Then it will be working
@FIre update force
 
Installing update...
 
@FireAlarm you sure? you don't seem to be doing anything
@Fire alive
I'll reboot and try again
 
1:23 AM
@Fire update force
 
Installing update...
 
There you go
 
Sam
You can remotely update the bot? :D
 
yep, it can download and compile itself from GitHub
 
Sam
Nice!
 
1:27 AM
It doesn't automatically detect changes to SwiftChatSE and SwiftStack though, so if I make a change to one of those I either have to update force or wait until I update FireAlarm itself
 
Updated from daddc70 to daddc70 (run in SOCVR Testing Facility).
 
I probably have to go about now; see you later!
I'm glad you're back!
@Fire update force
 
Installing update...
Updated from daddc70 to daddc70 (run in SOCVR Testing Facility).
 
 
1 hour later…
 
1 hour later…
5:49 AM
 
 
1 hour later…
10:09 AM
[ FireAlarm-Swift ] Potentially bad question: R: - RAM OUTPUT
 
11:52 AM
[ FireAlarm-Swift ] Potentially bad question: How to split to string Java
 
 
5 hours later…
5:29 PM
@FireAlarm alive
...weird, I even have a script to reboot it if it dies
My computer's doing software updates; once that's done I'll figure out what's going on
 
6:04 PM
huh...it thinks it's alive, but all of its websocket connections are dead
I'll reboot it
 
6:43 PM
 
 
1 hour later…
11:50 PM
Installing update...
 

« first day (755 days earlier)      last day (2648 days later) »