Skip to content

Instantly share code, notes, and snippets.

View nlacasse's full-sized avatar

Nicolas Lacasse nlacasse

  • Los Angeles, CA
View GitHub Profile
;; Connect retweet
(when-let [retweeted-status (:retweeted_status status)]
(let [retweeted-status-node (upsert-status! retweeted-status)]
(upconnect-entity-nodes! retweeted-status-node status-node "retweet"))
;; Retweeted from user
(if-let [retweeted-user (:user retweeted-status)]
(let [retweeted-user-node (upsert-user! retweeted-user)]
(upconnect-entity-nodes! status-node retweeted-user-node "retweeted-from-user"))))
;; Connect retweet
(when-let [retweeted-status (:retweeted_status status)]
(let [retweeted-status-node (upsert-status! retweeted-status)]
(upconnect-entity-nodes! retweeted-status-node status-node "retweet"))
;; Retweeted from user
(if-let [retweeted-user (:user retweeted-status)]
(let [retweeted-user-node (upsert-user! retweeted-user)]
(upconnect-entity-nodes! status-node retweeted-user-node "retweeted-from-user"))))
Mar 6, 2013 12:45:33 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
org.neo4j.kernel.DeadlockDetectedException: Don't panic.
A deadlock scenario has been detected and avoided. This means that two or more transactions, which were holding locks, were wanting to await locks held by one another, which would have resulted in a deadlock between these transactions. This exception was thrown instead of ending up in that deadlock.
See the deadlock section in the Neo4j manual for how to avoid this: http://docs.neo4j.org/chunked/stable/transactions-deadlocks.html
Details: 'Transaction(1687136, owner:"1519904647@qtp-2139633649-941")[STATUS_ACTIVE,Resources=1] can't wait on resource RWLock[Relationship[85805897]] since => Transaction(1687136, owner:"1519904647@qtp-2139633649-941")[STATUS_ACTIVE,Resources=1] <-[:HELD_BY]- RWLock[Node[35079086]] <-[:WAITING_FOR]- Trans
{
"venue" : {
"node-id" : 22222,
"feedback-support" : 1.5
},
"friends-of-friends" : [
{
"fb-event-coattendance" : 0,
"fb-name" : "Rand",
"fb-mentions-interactions" : 19,
{"name":"opal.io","hostname":"opal.io","pid":1517,"component":"bullhorn","level":30,"response":{"req":{"domain":null,"_events":{},"_maxListeners":10,"output":[],"outputEncodings":[],"writable":true,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":false,"_hasBody":true,"_trailer":"","finished":true,"agent":{"domain":null,"_events":{},"_maxListeners":10,"options":{},"requests":{},"sockets":{},"maxSockets":5},"method":"POST","path":"/1/push","_headers":{"host":"api.parse.com","accept-encoding":"gzip, deflate","cookie":"","x-parse-application-id":"2MjUjBT5YdWcK0R1lbMs46U5tgB9VLeCO59F5sWZ","x-parse-rest-api-key":"xTufL3jqNsx7jd5nvuDzo3yxnnPNpPdjM0WB3HQA","content-type":"application/json","content-length":257},"_headerNames":{"host":"Host","accept-encoding":"Accept-Encoding","cookie":"Cookie","x-parse-application-id":"X-Parse-Application-Id","x-parse-rest-api-key":"X-Parse-REST-API-Key","content-type":"content-type","content-length":"Content-Length"},"_heade
**rand:**
  *issue with too much data in
**chandra:**
  *might ping nick for help with storm staging push
**trent:**
  *space trying pages permissions more node learning context to refactor all the fb entities into
**jason:**
  *sync web plans overview last minute usability
**nick:**
  *implement new event finder staging testing evaluate returned opportunities evaluate timing of new
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T05:17:01.514Z","v":0}
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T05:26:01.586Z","v":0}
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T05:28:01.526Z","v":0}
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T05:29:01.380Z","v":0}
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T05:40:01.731Z","v":0}
{"name":"opal.io","hostname":"opal.io","pid":9644,"component":"new-opportunities-mailer","level":30,"msg":"sent payload to Mandrill","time":"2013-07-11T20
hello Nick----Chase generally caters to larger business clients, and
typically over fees the small business accounts...as a startup you will
have minimal checking activity and should attempt to limit your expenses
whenever possible...I would suggest you trying a federal savings bank in
LA.,generally smaller in asset size, but offering most of the products of
the larger istuitions such as chase, capital one,etc. for example,I got on
the internet and saw that one west in los angeles offers a business account
with an$18 monthly fee..online banking ,250 transactions.,etc.the fee is
waived if you maintain a balance of $15,000... I suggest that you look at 2
or three that are conviently located and pick the account to fit your
[2013-08-14T01:37:45.314Z] INFO: nochamber/9460 on fibonazi: Server is running at: http://fibonazi:8080
[2013-08-14T01:37:47.568Z] INFO: nochamber/9460 on fibonazi: (request-id=aa461fc60b2e, req.remoteAddress=127.0.0.1, req.remotePort=36821)
GET / HTTP/1.1
host: localhost:8080
connection: keep-alive
cache-control: no-cache
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
pragma: no-cache
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
accept-encoding: gzip,deflate,sdch
[2013-08-14T19:44:40.508Z] INFO: nochamber/22183 on fibonazi: Server is running at: http://fibonazi:8080
[2013-08-14T19:44:42.552Z] INFO: nochamber/22183 on fibonazi: (request-id=e24c7a69e908, req.remoteAddress=127.0.0.1, req.remotePort=39835)
GET / HTTP/1.1
host: localhost:8080
connection: keep-alive
cache-control: no-cache
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
pragma: no-cache
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36