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

00:15
@Sam I'm well, how are you? (Sorry, was afk for a bit.)
Sam
Sam
00:29
@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
Sam
@NobodyNada ikr :D
How's the accuracy so far?
@Sam With the default threshold, 68%
Sam
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
Sam
00:35
xD
To add confusion, I used to have incorrect stats
@Fire alive
sigh...
00:57
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
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
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
Sam
Wait, this is a standard library? D:
Oh, ok. That explains things.
01:07
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
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
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...
01:15
\o/
@Fire alive
@NobodyNada FireAlarm-Swift version daddc70, running for 13 seconds on Linux 4.4.26-v7+ armv7l
Sam
Sam
\o/
@Fire stop
@NobodyNada Shutting down...
01:20
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
01:23
@Fire update force
Installing update...
There you go
Sam
Sam
You can remotely update the bot? :D
yep, it can download and compile itself from GitHub
Sam
Sam
Nice!
01:27
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…
05:49
 
1 hour later…
11:52
[ FireAlarm-Swift ] Potentially bad question: How to split to string Java
 
5 hours later…
17:29
@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
18:04
huh...it thinks it's alive, but all of its websocket connections are dead
I'll reboot it
 
1 hour later…
23:50
Installing update...

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