lathomas64

United States

clichegames.com

Age: 29

Software engineer struggling to try to build worlds and games in the free time.

http://sscce.org/

May
14
comment Try/Except in Python: How do you properly ignore Exceptions?
PLEASE Don't do this! please at least log that the exception happened.
May
8
asked Mercurial hg recover ValueError: need more than 1 value to unpack
May
8
answered Mercurial hg recover ValueError: need more than 1 value to unpack
May
1
comment Primary Key Resetting Issue with foreign keys and delete
I tried doing a delete and insert on the same connection and it worked, then I went back to the reseed and insert on separate connections and that worked too and I couldn't get it back to the broken state to verify what actually fixed it. I suppose there was some strange internal state the server got in because exactly what I was trying before that did not work is working fine now.
May
1
comment Primary Key Resetting Issue with foreign keys and delete
Do you mean in the same connection? because I have inserted records after this by running the code I'm testing and got results starting off where the PersonId was originally. If it only has effect in the same connection that would explain the trouble I've had.
May
1
asked Primary Key Resetting Issue with foreign keys and delete
May
1
comment Reseed identity column to 0 fails - current identity value is NULL
Is there a way to reset this without truncating though. I have the same issue and cannot truncate because of foreign keys Even though I will be replacing all of the tables and the foreign keys pointing to my table don't exist yet.
May
1
accepted Pandas MemoryError on server with more Memory
May
1
comment Pandas MemoryError on server with more Memory
@EdChum The 32 bit python was the issue, if you post that as an answer I'll accept it.
May
1
comment Pandas MemoryError on server with more Memory
Let us continue this discussion in chat.
May
1
comment Pandas MemoryError on server with more Memory
will try and get 64 bit python on there, is there a simple way to do that with pip and hte like? can't do direct downloads from a website on this box.
May
1
comment Pandas MemoryError on server with more Memory
64bit locally, 32bit on the server.
May
1
revised Pandas MemoryError on server with more Memory
additional information
May
1
comment Pandas MemoryError on server with more Memory
0.16.0 pandas on both machines, have to check on the rest
May
1
asked Pandas MemoryError on server with more Memory
Apr
30
comment How can foreign key constraints be temporarily disabled using T-SQL?
Thank you james for the note about this not working with TRUNCATE TABLE it was buried under the more comments and I was frustrated about this until I saw I could just DELETE FROM the table instead.
Apr
29
awarded Informed
Apr
29
accepted Pandas DataFrame merge between two values instead of matching one
Apr
29
answered Django: Error when calling the metaclass bases in Models File
Apr
28
comment Mercurial stuck "waiting for lock"
As a note I needed to use hg recover on the repository itself not from my local machine. Not necessarily obvious from the comments above.
1 2 3 4 5