Skip to content

Instantly share code, notes, and snippets.

@wheresvic
wheresvic / 18CO-cannot-buy-privates-from-bank.json
Created February 5, 2021 01:02
18CO-cannot-buy-privates-from-bank
{
"status": "active",
"actions": [
{
"type": "bid",
"entity": 2095,
"entity_type": "player",
"id": 1,
"created_at": 1612465644,
"company": "IMC",
@wheresvic
wheresvic / 21298.json
Created January 5, 2021 10:57
21298 - Illegal action Blocking step Buy Shares cannot process action 873
{
"id": 21298,
"description": "Open, Quick, Live",
"user": {
"id": 333,
"name": "vizcacha"
},
"players": [
{
"id": 512,
{
"id": 15714,
"description": "Live fast - half today half tomorrow",
"user": {
"id": 2095,
"name": "Aolivei8"
},
"players": [
{
"id": 1739,
rack_1 | I, [2020-11-18T23:06:21.872769 #15] INFO -- : (0.000278s) SET standard_conforming_strings = ON
rack_1 | I, [2020-11-18T23:06:21.873027 #15] INFO -- : (0.000169s) SET client_min_messages = 'WARNING'
rack_1 | I, [2020-11-18T23:06:21.873252 #15] INFO -- : (0.000163s) SET DateStyle = 'ISO'
rack_1 | I, [2020-11-18T23:06:21.876049 #15] INFO -- : (0.002673s) SELECT new_games.*
rack_1 | FROM (
rack_1 | SELECT *
rack_1 | FROM games
rack_1 | WHERE status = 'new'
rack_1 | ORDER BY created_at DESC
rack_1 | LIMIT 13
{
"id": 15714,
"description": "Live fast - half today half tomorrow",
"user": {
"id": 2095,
"name": "Aolivei8"
},
"players": [
{
"id": 1739,
@wheresvic
wheresvic / nickname.md
Created April 17, 2020 15:04 — forked from brigand/nickname.md
Freenode Setting Up Your Nickname

What is the recommended way to set up my IRC nickname?

Please follow these steps to set up your nick and configure your client. Check off each step to make sure it's been done:

Select a permanent, master nickname. If the nickname you want is registered but has expired, just ask a staffer and in most cases, we will be happy to drop it for you.

Please avoid using the name of a community project or trademarked entity, to avoid conflicts. Write down your password and be sure to keep the sheet of paper in a safe place.

Register your IRC nick:

--- a/nvidia-uvm/uvm8_tools.c
+++ b/nvidia-uvm/uvm8_tools.c
@@ -204,12 +204,14 @@ static bool tracker_is_counter(uvm_tools_event_tracker_t *event_tracker)
return event_tracker != NULL && !event_tracker->is_queue;
}
+/*
static void put_user_pages(struct page **pages, NvU64 page_count)
{
NvU64 i;
--- a/common/inc/nv-linux.h
+++ b/common/inc/nv-linux.h
@@ -730,8 +730,8 @@ static inline void nv_vunmap(NvUPtr vaddr, NvU32 page_count)
#elif (NV_ON_EACH_CPU_ARGUMENT_COUNT == 3)
#define NV_ON_EACH_CPU(func, info) \
({ \
- int __ret = on_each_cpu(func, info, 1); \
- __ret; \
+ on_each_cpu(func, info, 1); \
+ 0; \
diff --git a/common/inc/nv-list-helpers.h b/common/inc/nv-list-helpers.h
index 0aed851..7d62b92 100644
--- a/common/inc/nv-list-helpers.h
+++ b/common/inc/nv-list-helpers.h
@@ -91,8 +91,8 @@
list_entry((pos)->member.next, typeof(*(pos)), member)
#endif
-static inline int list_is_first(const struct list_head *list,
- const struct list_head *head)
diff --git a/common/inc/nv.h b/common/inc/nv.h
index d52c2a1..4acebe4 100644
--- a/common/inc/nv.h
+++ b/common/inc/nv.h
@@ -605,31 +605,31 @@ typedef NV_STATUS (*nvPmaEvictRangeCallback)(void *, NvU64, NvU64);
#define NV_TIMERCMP(a, b, CMP) \
(((a)->tv_sec == (b)->tv_sec) ? \
- ((a)->tv_usec CMP (b)->tv_usec) : ((a)->tv_sec CMP (b)->tv_sec))
+ ((a)->tv_nsec CMP (b)->tv_nsec) : ((a)->tv_sec CMP (b)->tv_sec))