Skip to content

Instantly share code, notes, and snippets.

View buryat's full-sized avatar
👉
w̦̬ͦ̄̉̂ͮ͜͟ȍ̵͓͚̗́ͪ̚̚͞ŗ͇ͭ̊̆ķ͊ͫͬ̋̐̔̀҉̙͍̦i͕͓̳̞ͭͫ̂ņ̷͚̪̮̤̹͖̃̀̓͆ͥ͑͑̚g̭̺̲͕̺̦̥̫̒̚͢͢

Vadim S buryat

👉
w̦̬ͦ̄̉̂ͮ͜͟ȍ̵͓͚̗́ͪ̚̚͞ŗ͇ͭ̊̆ķ͊ͫͬ̋̐̔̀҉̙͍̦i͕͓̳̞ͭͫ̂ņ̷͚̪̮̤̹͖̃̀̓͆ͥ͑͑̚g̭̺̲͕̺̦̥̫̒̚͢͢
View GitHub Profile
@buryat
buryat / gist:251f5e4d431d5398aa0e9ad2560b92f9
Last active January 10, 2024 21:32
Caps lock remapping to `
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000035}]}'
@buryat
buryat / meme.mp4
Last active December 2, 2019 22:51
This file has been truncated, but you can view the full file.
2019-11-27 18:46:14
Full thread dump OpenJDK 64-Bit Server VM (25.232-b09 mixed mode):
"Attach Listener" #26664 daemon prio=9 os_prio=0 tid=0x00007f2addb24000 nid=0x3c46 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Keep-Alive-SocketCleaner" #22032 daemon prio=8 os_prio=0 tid=0x000056204b51d000 nid=0x4d2 in Object.wait() [0x00007f2afd764000]
@buryat
buryat / gist:0f286fed73acda016762b1ff28b93f4e
Created November 27, 2019 18:49
7238.native.thread.dump
Attaching to process ID 7238, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.232-b09
Deadlock Detection:
No deadlocks found.
----------------- 7239 -----------------
0x00007f480f8cc528 __pthread_cond_timedwait + 0x128
object TestReturn {
def t(n: Int): Boolean = {
(1 to n).map(x => {
if (x > 5) return true
false
}).exists(_ == true)
}
}
object TestReturn2 {
def t(n: Int): Boolean = {
Index: app/org/apache/spark/deploy/history/SparkFSFetcher.scala
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/org/apache/spark/deploy/history/SparkFSFetcher.scala (revision c3cb9efddc15cb9b9af3b510d6dad3e65652ce38)
+++ app/org/apache/spark/deploy/history/SparkFSFetcher.scala (revision )
@@ -138,7 +138,7 @@
null
}
16/05/27 16:38:51 INFO GenerateOrdering: Code generated in 67.482205 ms
16/05/27 16:38:51 INFO GenerateUnsafeProjection: Code generated in 13.754114 ms
16/05/27 16:39:05 INFO UnsafeExternalSorter: Thread 96 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:05 INFO UnsafeExternalSorter: Thread 110 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:05 INFO UnsafeExternalSorter: Thread 95 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:05 INFO UnsafeExternalSorter: Thread 93 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:05 INFO UnsafeExternalSorter: Thread 92 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:06 INFO UnsafeExternalSorter: Thread 90 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:06 INFO UnsafeExternalSorter: Thread 94 spilling sort data of 2.1 GB to disk (0 time so far)
16/05/27 16:39:06 INFO UnsafeExternalSorter: Thread 91 spilling sort data of 2.1 GB to disk (0 time so far)
10x m1.large Amazon EC2 instances
4 buckets, ~80M items.
service couchbase-server stop/start on a node and rebalancing cluster then.
valgrind --leak-check=full --tool=memcheck moxi …
==16448==
==16448== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 1)
==16448== malloc/free: in use at exit: 176,736,618 bytes in 11,245 blocks.