Skip to content

Instantly share code, notes, and snippets.

2014-10-23 18:41:15.818 Sample[60629:21498332] *** Assertion failure in -[ASRangeController appendNodesWithIndexPaths:], /Users/leo/Projects/AsyncDisplayKit_ASTableView_bug_with_UIPageViewController/Pods/AsyncDisplayKit/AsyncDisplayKit/Details/ASRangeController.mm:598
2014-10-23 18:41:15.857 Sample[60629:21498332] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'invalid argument'
*** First throw call stack:
(
0 CoreFoundation 0x000000010de61f35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010dafabb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010de61d9a +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010d7175df -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 Sample 0x000000010d47429c -[ASRangeController appendNodesWithIndexPaths:] + 1020
5 Sample
2014-10-23 18:39:07.746 Sample[60139:21489599] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: <NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0})'
*** First throw call stack:
(
0 CoreFoundation 0x000000010f08af35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010ed23bb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010ef91998 -[__NSDictionaryM setObject:forKey:] + 968
3 Sample 0x000000010e69bc75 __34-[ASRangeController sizeNextBlock]_block_invoke + 725
4 libdispatch.dylib 0x0000000110f16ba6 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x0000000110f347f4 _dispatch_client_callout + 8
6 libdispatch.dylib 0x0000000110f1a2f4 _dispatch_async_redirect_invoke + 991
lcs acc (x:xs) (y:ys)
| x == y = lcs (x:acc) xs ys
| otherwise = (reverse acc, x:xs, y:ys)
lcs acc "" y = (reverse acc, "", y)
lcs acc x "" = (reverse acc, x, "")
s l
| length l == 0 = (show 0)
| otherwise = (show $ length l) ++ " " ++ l
main :: IO ()
2014-10-17 13:23:54.694 Sample[97901:8248661] *** Assertion failure in -[ASImageNode setImage:], /Users/leo/Projects/AsyncDisplayKit_ASTableView_bug_with_UIPageViewController/Pods/AsyncDisplayKit/AsyncDisplayKit/ASImageNode.mm:108
2014-10-17 13:23:54.708 Sample[97901:8248661] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Incorrect display node thread affinity'
*** First throw call stack:
(
0 CoreFoundation 0x00a27df6 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x006b1a97 objc_exception_throw + 44
2 CoreFoundation 0x00a27c8a +[NSException raise:format:arguments:] + 138
3 Foundation 0x00326460 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
4 Sample 0x000884f9 -[ASImageNode setImage:] + 313
5 Sample 0x00053dc1 __25-[KittenNode fetchKitten]_block_invoke + 545
yesod devel
Yesod devel server. Press ENTER to quit
/var/folders/5q/p1ks4l_j6qjf38jbh9ljbdv00000gn/T/96341.c:1:12:
warning: control reaches end of non-void function [-Wreturn-type]
int foo() {}
^
1 warning generated.
Resolving dependencies...
Configuring y-0.0.0...
import Debug.Trace
import Control.Monad
import Data.List
getInt::IO Integer
getInt = do
s <- getLine
return (read s)
pro :: [Integer] -> Integer -> Integer -> Integer
import Debug.Trace
import Control.Monad
import Data.List
getInt::IO Integer
getInt = do
s <- getLine
return (read s)
pro :: [Integer] -> Integer -> Integer -> Integer -> Integer
import Debug.Trace
import Control.Monad
import Data.List
getInt::IO Integer
getInt = do
s <- getLine
return (read s)
pro :: [Integer] -> Integer -> Integer -> Integer -> Integer
@l4u
l4u / gist:10943483
Created April 16, 2014 23:59
haskell js
http://elm-lang.org
http://haste-lang.org
https://github.com/faylang/fay
https://uu-computerscience.github.io/uhc-js/
https://github.com/ghcjs/ghcjs