Skip to content

Instantly share code, notes, and snippets.

2015/08/07 16:17:02 on connection
2015/08/07 16:17:04 on disconnect
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x3374]
goroutine 13 [running]:
main.(*Connection).userAuthenticate(0xc208035dc0, 0xc2080d0500, 0xb, 0xc2080d0510, 0x9, 0x0, 0x0, 0x0, 0x0)
/Users/AndrewScala/go/src/github.com/gorilla/websocket/conn.go:566 +0x15c
github.com/gorilla/websocket.(*Conn).NextReader(0xc2080ca0f0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/AndrewScala/go/src/github.com/gorilla/websocket/conn.go:706 +0x7e
{
"AuctionStatus": {},
"IsVehiclePlateStolen": false,
"IsIllegalPlate": false,
"IsUnderReview": false,
"InquiryResult": {
"WasSuccessful": true,
"ErrorMessage": ""
},
"CustomerCase": {},
@agscala
agscala / reaction-test.py
Created August 28, 2024 16:02
Reaction Test Game
# HOW TO RUN:
# Save this to reaction-test.py
# Running this: python3 reaction-test.py
import os
import pickle
import platform
import random
import signal
import statistics