The Official Status Thread
-
Status: made my compiler work with valgrind
-------------------------------------------------------------------------------- Profile data file 'callgrind.out.11938' (creator: callgrind-3.10.0.SVN) -------------------------------------------------------------------------------- I1 cache: D1 cache: LL cache: Timerange: Basic block 0 - 609712630 Trigger: Program termination Profiled target: ./symbol2 (PID 11938, part 1) Events recorded: Ir Events shown: Ir Event sort order: Ir Thresholds: 100 Include dirs: User annotated: Auto-annotation: off -------------------------------------------------------------------------------- Ir -------------------------------------------------------------------------------- 1,685,633,625 PROGRAM TOTALS -------------------------------------------------------------------------------- Ir file:function -------------------------------------------------------------------------------- 1,672,077,452 < gc.s:gc_alloc (26364x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,672,077,452 * gc.s:gc_collect [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10,720,004 * gc.s:gc_alloc [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,672,077,452 > gc.s:gc_collect (26364x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28 > gc.s:gc_increase_heap (2x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,685,633,528 < symbol2.s:main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,043,927 * symbol2.s:Main.Main [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 3,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.set (100x) 16,826,167 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.toString (200x) 26 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:IO.out (1x) 11,865,454 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.concat (200x) 47 > symbol2.s:IO.IO (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 667 > symbol2.s:SymbolTable.SymbolTable (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 224,352,102 > symbol2.s:SymbolTable.symbol (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,199 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (1x) 620,000 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.get (20000x) 175,134 > symbol2.s:ArrayAny.length (10302x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 320,200 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.equals (20000x) 1,430,420,205 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (20602x) 4,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.equals (200x) 455,268 * basic.s:ArrayAny.get [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 186,678 > basic.s:ArrayAny._check_bounds (20742x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 118,931,594 < symbol2.s:SymbolTable.symbol (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 336,800 * symbol2.s:SymbolTable.hash [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,240 > symbol2.s:String.length (1180x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 53,842,629 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.charAt (980x) 64,730,925 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1180x) 320,200 * basic.s:Any.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 25,291 < symbol2.s:SymbolTable.symbol (1406x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 175,134 < symbol2.s:Main.Main (10302x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 200,425 * symbol2.s:ArrayAny.length [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 186,678 < basic.s:ArrayAny.get (20742x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 2,934 < basic.s:ArrayAny.set (326x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 189,612 * basic.s:ArrayAny._check_bounds [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 224,352,102 < symbol2.s:Main.Main (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 106,507 * symbol2.s:SymbolTable.symbol [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 25,291 > symbol2.s:ArrayAny.length (1406x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 3,690 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (100x) 76,723,255 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1750x) 6,172 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.equals (264x) 28,385,224 > symbol2.s:SymbolTable.mod (1042x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,946 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.get (742x) 115,841 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (6x) 118,931,594 > symbol2.s:SymbolTable.hash (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8,362 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.set (226x) 15,400 > symbol2.s:Symbol2.Symbol2 (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,800 > symbol2.s:Symbol2.name (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 > symbol2.s:Symbol2.hashCode (390x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28,385,224 < symbol2.s:SymbolTable.symbol (1042x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 59,386 * symbol2.s:SymbolTable.mod [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28,325,838 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1042x) 24,500 * basic.s:String.charAt [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 53,812,249 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (980x) 5,880 > basic.s:String._check_bounds (980x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,240 < symbol2.s:SymbolTable.hash (1180x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,240 * symbol2.s:String.length [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 13,422 * basic.s:Int.toString [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 16,812,745 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (400x) 10,872 * basic.s:Int.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10,580 * basic.s:String.concat [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 11,854,874 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (400x) 9,128 * basic.s:ArrayAny.set [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 2,934 > basic.s:ArrayAny._check_bounds (326x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 15,400 < symbol2.s:SymbolTable.symbol (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8,800 * symbol2.s:Symbol2.Symbol2 [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 3,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (100x) 1,200 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.toString (100x) 1,700 > symbol2.s:Any.Any (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,431 * basic.s:String.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 < symbol2.s:SymbolTable.symbol (390x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 * symbol2.s:Symbol2.hashCode [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 5,880 < basic.s:String.charAt (980x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 5,880 * basic.s:String._check_bounds [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,800 < symbol2.s:SymbolTable.symbol (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,800 * symbol2.s:Symbol2.name [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 < symbol2.s:SymbolTable.SymbolTable (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,700 < symbol2.s:Symbol2.Symbol2 (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 < symbol2.s:IO.IO (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,734 * symbol2.s:Any.Any [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,212 * basic.s:Any.toString [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 228 * basic.s:ArrayAny.ArrayAny [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 117,178 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (8x) 667 < symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 70 * symbol2.s:SymbolTable.SymbolTable [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 41 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (1x) 161 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1x) 12 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.toString (1x) 17 > symbol2.s:Any.Any (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 366 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (1x) 47 < symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 30 * symbol2.s:IO.IO [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 > symbol2.s:Any.Any (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 24 * runtime_linux.s:runtime.heap_set [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 14 < gc.s:gc_init (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28 < gc.s:gc_alloc (2x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 18 * gc.s:gc_increase_heap [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 24 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.heap_set (3x) 14 * basic.s:IO.out [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 12 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.output (1x) 12 * runtime_linux.s:runtime.output [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10 * symbol2.s:main [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 54 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1x) 1,685,633,528 > symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8 * runtime_linux.s:runtime.heap_get [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7 * gc.s:gc_init [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.heap_get (1x) 14 > gc.s:gc_increase_heap (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 4 * basic.s:0x08048074 [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 29 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_init (1x) 1,685,633,592 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2.s:main (1x)
-
ln -s /usr/bin/coolc /bin/cc ?
-
Status EOD: It's been a hard day all thanks to our favorite Korean company. We're porting one working app to Tizen and just had to implement all
<input>
using<div>
because in their all mighty wisdom, decided that you have to use the native keyboard and there's no way of disabling this.I mean, look at this:
This seems to be the reply from some insider:
There are two options.
- Input Elements shall be made readonly, so that native IME won't be invoked.
We shall get inputs from Custom IME through JS listeners. - We shall modify the input elements to div elements with appropriate styles and listeners,
so that we shall get inputs from custom IME through JS listeners.
- Input Elements shall be made readonly, so that native IME won't be invoked.
-
Have you tried cachegrind yet? It's great for doing micro-optimisation work. You might want to find something relatively small to start with though; it imposes a massive speed penalty.
-
I'm rewriting the garbage collector right now. It turns out that an O(n3) algorithm might not be the best thing to use when integer addition calls the garbage collector.
-
I'm talking beyond @benlubar level download speeds here. This morning, I was down basically to dial up levels.
Dial-up levels are an improvement over @ben_lubar levels.
-
STATUS: My first production go program is done.
Size on disk: 3.5 mb
Size in memory: 3 mb (resident, while idle)
LOC: 150I'm OK with this. Less than node, certainly.
-
If you want to artificially reduce the size, try this:
go build --buildmode=shared std go build --linkshared
It'll probably use more memory overall, but if you have a thousand different Go programs running, I guess sharing the standard library might help.
-
Status: That's what, a 25% improvement?
Reading data from 'callgrind.out.17948'... -------------------------------------------------------------------------------- Profile data file 'callgrind.out.17948' (creator: callgrind-3.10.0.SVN) -------------------------------------------------------------------------------- I1 cache: D1 cache: LL cache: Timerange: Basic block 0 - 385968201 Trigger: Program termination Profiled target: ./symbol2 (PID 17948, part 1) Events recorded: Ir Events shown: Ir Event sort order: Ir Thresholds: 100 Include dirs: User annotated: Auto-annotation: off -------------------------------------------------------------------------------- Ir -------------------------------------------------------------------------------- 1,257,231,476 PROGRAM TOTALS -------------------------------------------------------------------------------- Ir file:function -------------------------------------------------------------------------------- 420,512,580 < gc.s:gc_mark'2 (13899690x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 587,582,776 < gc.s:gc_mark (12221110x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 587,582,776 * gc.s:gc_mark'2 [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 420,512,580 > gc.s:gc_mark'2 (13899690x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,243,675,303 < gc.s:gc_alloc (26364x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 461,245,511 * gc.s:gc_collect [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 782,429,792 > gc.s:gc_mark (5861695x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 782,429,792 < gc.s:gc_collect (5861695x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 194,847,016 * gc.s:gc_mark [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 587,582,776 > gc.s:gc_mark'2 (12221110x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10,720,004 * gc.s:gc_alloc [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,243,675,303 > gc.s:gc_collect (26364x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28 > gc.s:gc_increase_heap (2x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,257,231,383 < symbol2.s:main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,043,927 * symbol2.s:Main.Main [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 320,200 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.equals (20000x) 9,192,462 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.concat (200x) 698 > symbol2.s:SymbolTable.SymbolTable (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 620,000 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.get (20000x) 175,134 > symbol2.s:ArrayAny.length (10302x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,043 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (1x) 1,060,381,611 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (20602x) 4,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.equals (200x) 12,825,433 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.toString (200x) 26 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:IO.out (1x) 3,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.set (100x) 172,662,402 > symbol2.s:SymbolTable.symbol (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 47 > symbol2.s:IO.IO (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 455,268 * basic.s:ArrayAny.get [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 186,678 > basic.s:ArrayAny._check_bounds (20742x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 89,889,562 < symbol2.s:SymbolTable.symbol (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 336,800 * symbol2.s:SymbolTable.hash [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 48,873,035 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1180x) 40,658,487 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.charAt (980x) 21,240 > symbol2.s:String.length (1180x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 320,200 * basic.s:Any.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 25,291 < symbol2.s:SymbolTable.symbol (1406x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 175,134 < symbol2.s:Main.Main (10302x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 200,425 * symbol2.s:ArrayAny.length [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 2,934 < basic.s:ArrayAny.set (326x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 186,678 < basic.s:ArrayAny.get (20742x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 189,612 * basic.s:ArrayAny._check_bounds [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 172,662,402 < symbol2.s:Main.Main (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 106,507 * symbol2.s:SymbolTable.symbol [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 6,172 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Int.equals (264x) 59,825,187 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1750x) 8,362 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.set (226x) 3,690 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (100x) 22,657,442 > symbol2.s:SymbolTable.mod (1042x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 15,400 > symbol2.s:Symbol2.Symbol2 (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 89,889,562 > symbol2.s:SymbolTable.hash (200x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 94,023 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (6x) 25,291 > symbol2.s:ArrayAny.length (1406x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,946 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.get (742x) 1,800 > symbol2.s:Symbol2.name (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 > symbol2.s:Symbol2.hashCode (390x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 22,657,442 < symbol2.s:SymbolTable.symbol (1042x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 59,386 * symbol2.s:SymbolTable.mod [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 22,598,056 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1042x) 24,500 * basic.s:String.charAt [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 40,628,107 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (980x) 5,880 > basic.s:String._check_bounds (980x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,240 < symbol2.s:SymbolTable.hash (1180x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 21,240 * symbol2.s:String.length [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 13,422 * basic.s:Int.toString [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 12,812,011 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (400x) 10,872 * basic.s:Int.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10,580 * basic.s:String.concat [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 9,181,882 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (400x) 9,128 * basic.s:ArrayAny.set [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 2,934 > basic.s:ArrayAny._check_bounds (326x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 15,400 < symbol2.s:SymbolTable.symbol (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8,800 * symbol2.s:Symbol2.Symbol2 [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,700 > symbol2.s:Any.Any (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 3,700 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (100x) 1,200 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.toString (100x) 7,431 * basic.s:String.equals [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 < symbol2.s:SymbolTable.symbol (390x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7,020 * symbol2.s:Symbol2.hashCode [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 5,880 < basic.s:String.charAt (980x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 5,880 * basic.s:String._check_bounds [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,800 < symbol2.s:SymbolTable.symbol (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,800 * symbol2.s:Symbol2.name [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,700 < symbol2.s:Symbol2.Symbol2 (100x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 < symbol2.s:IO.IO (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 < symbol2.s:SymbolTable.SymbolTable (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,734 * symbol2.s:Any.Any [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,212 * basic.s:Any.toString [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 228 * basic.s:ArrayAny.ArrayAny [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 95,222 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (8x) 698 < symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 70 * symbol2.s:SymbolTable.SymbolTable [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 384 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:ArrayAny.ArrayAny (1x) 17 > symbol2.s:Any.Any (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 41 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:String.equals (1x) 12 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/basic.s:Any.toString (1x) 174 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1x) 47 < symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 30 * symbol2.s:IO.IO [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 17 > symbol2.s:Any.Any (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 24 * runtime_linux.s:runtime.heap_set [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 28 < gc.s:gc_alloc (2x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 14 < gc.s:gc_init (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 18 * gc.s:gc_increase_heap [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 24 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.heap_set (3x) 14 * basic.s:IO.out [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 12 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.output (1x) 12 * runtime_linux.s:runtime.output [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 10 * symbol2.s:main [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,257,231,383 > symbol2.s:Main.Main (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 50 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_alloc (1x) 8 * runtime_linux.s:runtime.heap_get [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 7 * gc.s:gc_init [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 14 > gc.s:gc_increase_heap (1x) [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 8 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/runtime_linux.s:runtime.heap_get (1x) 4 * basic.s:0x08048074 [/home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2] 1,257,231,443 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/symbol2.s:main (1x) 29 > /home/ben/go/src/github.com/BenLubar/coolc/symbol2/gc.s:gc_init (1x)
-
Fuck 'em--let them put 'em back together.
one-ringy-dingy-two...
"He.."
"HOW THE HELL DO YOU PUT ALL THESE THINGS TOGETHER?!?!?!?!"
"...llo?"
-
“Hello?”“Hi, I'm calling to ask if you've ever thought about…”click
You waited for them to respond? When I hear dead air after "Hello" (because to call is now switching to a live operator - or worse "please hold while we transfer you"), click. Or, I look at caller id, pick up the phone and hang up.
-
-
You waited for them to respond?
Assume it's a first contact, with no dialler switching noticed (and yes, I've actually had a few like that). There won't be a second time though; auto-blocking FTW!
My main objective in almost any phone call is to stop being in that phone call. That even applies to conversations with family. 6 seconds is my usual minimum. ;) A telemarketer needs to talk fast or I'll bail out of sheer hatred for using a telephone.
-
Status: Wondering exactly what SQL Server needs to do in order to "Take database offline"
I've only been waiting since four hours ago, and it's not like it's a big database either ( 4 MB, including log, expanded to 10 Mb because that's the initial size apparently).
Filed under: I wonder if it will complain if I kill the main process?
-
Cancel out of that, do it again but this time check "kick off active users".
Filed under: I wonder if it will complain if I kill the main process?
If you can afford the downtime, sure why not. Bounce the SQL server, then take the DB offline when it comes back up.
-
Can we get this submitted as a TDWTF article? I feel like the spectacular amount of in there is 100% article-worthy.
-
I'm pretty sure I'm , since that's not even an option.
I'm (supposedly) the only user on my own server, so who knows is going on.What's the transact-sql form of offlining? googles for a second Oh, seems easy enough...
Filed under: FML
-
If you want to artificially reduce the size, try this:
What arguments do you use in order to inflate the compiled size to the amount of available disk space?
-
I haven't written a Go-to-BIT compiler yet.
-
-
I'm pretty sure I'm , since that's not even an option.
Huh. It is when detaching, a nearly-identical operation. (Now that I think about it: what even is the point in taking a database offline without also detaching it?)
Sometimes SSMS gets into dumbo-mode and holds a connection open to the database it knows you're trying to detach.
-
Status: Liking on new job. Found a pretty ridiculous WTF in the EHR/CRM the company uses, which seems to suggest they don't test their queries. Fixed that report in about 5 minutes and was a bit of a herofor an hour.
-
Status Tsaukpaetra didn't anonymize his DBname so I will now hack him
-
@Lorne_Kates said:
so I will now hack him
Ooh! This will be good!I kinda wanna see it done actually, InfoSec would be pleased!
Not only that, but it might lay another log on the fire under (some people's) butts to get this thing off my local machine!
Filed under: Sorry @Lorne_Kates, but our Database is on another server.
-
Has the past week or so been big on dumb/boring arguments
Ugh, yeah. Fucking immutable strings.
-
Status: apparently sibling-bot decided I needed a batgirl onesie and some baked goods. The lebkuchen are are good but I miss the curry cookies I got last time (latest shot didn't hold together).
-
Status: "Remember, remember, the 5th of November, the Gunpowder Treason and plot."
-
Status: apparently sibling-bot decided I needed a batgirl onesie and some baked goods. The lebkuchen are are good but I miss the curry cookies I got last time (latest shot didn't hold together).
Those all appear to be words, they appear to be formed in to sentences, but fuck if I know you are talking about. It looks like Mad Libs to me.
-
Sibling sent me a box of muffins and cookies. They used to work as a baker so I generally get things they don't make often or weird experiments. The adult sized onesie *shrug*
-
The adult sized onesie shrug
Yeah, the rest of it made sense if you remove that part...
-
Status: Phew! Made it through the end, and now I currently have no un-read posts for any of the topics I'm following!
Yay for momentary victory!
-
Status: Started the HoT story on my druid. Got to a cutscene where a bunch of characters talk and then they get interrupted by other characters who were not in the cutscene getting attacked by other other characters who were also not in the cutscene. But my pet moa decided to run into the middle of the scene and stand there with its butt to the camera.
-
Still better than Dwarf Fortress.
-
Status: Trying to get to work. Railway system is in complete collapse mode. Again. None of the staff has any information. Again.
I fucking love Croatian railways...
-
Clbuttic.
-
Also, apparently Mordremoth is supposed to be yelling at sylvari from inside their heads all the time, but it only happens during story missions, and only when you do something to intentionally annoy Mordremoth. So I'm not sure how all the "weak-willed" sylvari are falling to Mordremoth, especially when most of them are stronger in battle than either of the sylvari that you talk to during the first mission.
-
The adult sized onesie shrug
My ex bought me a Kigu, there is no-way I'll admit it is actually very comfortable for TV watching...that would be weird ;)
-
-
Right click the server instance and choose Activity Monitor. Expand the Processes section and start killing any process on that database.
You should be able to do similar with SP_WHO if you'd rather do it in T-SQL
-
The adult sized onesie
-
Do they run on Discourse? That could cause it to encounter severe performance degradation under heavy load or while on mobile
-
Do they run on Discourse? That could cause it to encounter severe performance degradation
under heavy load or while on mobile
-
So I'm not sure how all the "weak-willed" sylvari are falling to Mordremoth, especially when most of them are stronger in battle than either of the sylvari that you talk to during the first mission.
Because strong in battle == strong-willed?
Look up Benedict Arnold sometime.
-
Status: "Remember, remember, the 5th of November, the Gunpowder Treason and plot."
[poll]
- I actually know what that means
- Actually, I saw the movie V for Vendetta
- Um, actually, I read the original graphic novel, not that Hollywood tripe
- Diana from V had fucking wicked big hair
[/poll]
-
You mean Guy Fawkes was a real person?!?
-
You mean Guy Fawkes was a real person?!?
I thought Europe was a fairy tale, like Avalon or dinosaurs.
-
My interest in that story pre-dates "V for Vendetta" when I read a book that outlined how Guy Fawkes and his crew may have been framed in order to villify Catholics. So my real answer would be something between "I actually know what that means" and "FILE_NOT_FOUND".
-
frame vin
-
@Lorne_Kates said:
@Polygeekery said:
Wishful thing on your part I'm afraid. A boy can dream though!You mean Guy Fawkes was a real person?!?
I thought Europe was a fairy tale, like Avalon or dinosaurs.
STATUS Happy! I've just ordered two pounds of peanut butter!
-
I think I'm the only one who liked the movie version of V for Vendetta. It seems to have completely disappeared from all public consciousness.