Skip to content

Instantly share code, notes, and snippets.

"Reference Handler" #2 daemon prio=10 os_prio=0 cpu=21.61ms elapsed=47.86s tid=0x00007fe2c8201000 nid=0x392bd5 waiting on condition [0x00007fe294c5d000]
java.lang.Thread.State: RUNNABLE
at java.lang.ref.Reference.waitForReferencePendingList(java.base@11.0.14.1/Native Method)
at java.lang.ref.Reference.processPendingReferences(java.base@11.0.14.1/Reference.java:241)
at java.lang.ref.Reference$ReferenceHandler.run(java.base@11.0.14.1/Reference.java:213)
Locked ownable synchronizers:
- None
@pirocks
pirocks / gist:6d0232a180501f99db0c4161ff118be0
Created February 13, 2020 18:16
Prolog trace of verifying the Object class
This file has been truncated, but you can view the full file.
[trace] ?- classIsTypeSafe(class('java/lang/Object',bl)).
Call: (8) classIsTypeSafe(class('java/lang/Object', bl)) ? creep
Call: (9) classClassName(class('java/lang/Object', bl), _868) ? creep
Exit: (9) classClassName(class('java/lang/Object', bl), 'java/lang/Object') ? creep
Call: (9) classDefiningLoader(class('java/lang/Object', bl), _868) ? creep
Exit: (9) classDefiningLoader(class('java/lang/Object', bl), bl) ? creep
Call: (9) superclassChain('java/lang/Object', bl, _870) ? creep
Call: (10) loadedClass('java/lang/Object', bl, _882) ? creep
Exit: (10) loadedClass('java/lang/Object', bl, class('java/lang/Object', bl)) ? creep
resonse: <-- 400 https://api.labs.cognitive.microsoft.com/academic/v1.0/evaluate?expr=Or()&attributes=Id,Ti,AA.AuN,E&count=60&offset=0
Response : Bad Request
Length : 100
Body : {"Error":{"Code":"Bad Argument","Message":"Invalid query expression\r\nParameter name: expression"}}
Headers : (6)
Date : Fri, 14 Jun 2019 10:27:20 GMT
Request-Context : appId=cid-v1:28444e4d-8a8f-4c7b-bf57-6787ff3eff75
Access-Control-Allow-Origin : *
X-Powered-By : ASP.NET
struct CPSR_Struct {
enum OperatingMode M : 5;
bool T:1;
bool F:1;
bool I:1;
uint32_t reserved: 20;
bool V:1;
bool C:1;
bool Z:1;
bool N:1;
void main(string[] args){}
@pirocks
pirocks / new.d
Created February 11, 2017 19:34
bj
import derelict.sdl2.sdl;
import derelict.opengl3.gl3;
import derelict.opengl3.deprecatedFunctions;
import derelict.opengl3.deprecatedConstants;
import std.stdio;
void Display_InitGL()
{
/* Enable smooth shading */
glShadeModel( GL_SMOOTH );
<!DOCTYPE html>
<html>
<head>
<!-- Code based on code found at: http://threejs.org/docs/#Manual/Introduction/Creating_a_scene -->
<style>
body {
margin: 0;
}
canvas {
width: 100%;
product order book:{"sequence":947810,"asks":[["793.88","0.42982","426ebbc9-f31b-4019-a037-3cc17db2db35"],["793.89","0.0615","1fdf36bf-e2f5-4da2-964e-97d6c4a678b7"],["793.95","2.5","a51bda58-eef7-4bef-941b-97bb7a2c204f"],["793.95","0.25","2808a66f-2d07-4ab3-aed6-313cc6675851"],["793.95","0.25","602483cf-dd49-4122-b5cb-ff3de5a8efac"],["794","10","5ecea9ec-9c26-4cfb-8118-e09f642165c9"],["794","20","03ea6ed9-f1c2-4f35-9cc7-a0f32b374829"],["794","10","b4202762-d103-441c-8940-891ffbb71263"],["794","1","934b2e6f-d230-4af7-be56-0abdf6ef2545"],["794.01","0.95","a5e7d66e-dbb7-4b7c-987d-62a54f493eb3"],["794.09","0.025","68d040d8-f433-43bb-9473-962379788c0e"],["794.1","9","4f2afdee-b4cb-4519-be31-d66ce2218f5e"],["794.11","0.1","02aefbf1-8442-4861-9d50-75cc63e1edc0"],["794.2","0.015","2941cb42-8d08-4cba-a400-c9bb14586c0b"],["794.25","0.03","dd8e5cf0-acc5-4046-a82e-8f84f1d4d30d"],["794.29","1.10655","f098abda-7d35-461b-80d1-8fc3a3483b23"],["794.48","0.025","35dc94ff-be4c-4c04-833a-9816d669c89d"],["794.5","10","c0fbb400-3d
/*
* This is a sample file.
*/
public class ThisIsASampleClass extends C1 implements I1, I2, I3, I4, I5
{
private int f1 = 1;
private String field2 = "";
public void foo1(int i1, int i2, int i3, int i4, int i5, int i6, int i7)
import curses
import copy
import os
import sys
import time
main_board = None
window = None
selected_square_x = 0