Skip to main content

Jeremy Gollehon

Jeremy Gollehon's Public Library

  • thanks all. I KDZ'd 12b stock rom, rooted, then flashed TWRP through flashify. I then went into recovery and installed the 23c rom. I used skydragon 4.0.0 because I tried to flash Jasmine 7.0 like 8 times. I did not have any of the bottom keys and I could not access my pulldown menu. I could not figure out why this was happening. Skydragon worked for me perfectly. Thanks All.

    • found a workaround that works great, so I thought I'd pass it along in case others find it helpful. I've tested this on Win 7 x64, Python 3.3.2, and PTVS 2.0 for VS 2010.
       
       Short version:
       
         
      1. Download  win_unicode_console.zip
      2. Unzip and place contents in the site-packages directory
      3. Set PYTHONSTARTUP environment variable to "C:\Python33\Lib\site-packages\run.py" (or the equivalent python install location on your machine)
         
       Long version:
       The win_unicode_console contains python code that replaces sys.stdin/out/err with new classes that use WriteConsoleW and ReadConsoleW along with UTF-16-LE encoding. This approach bypasses the current code page so there's no need for calls to 'chcp'. The critical  part (for PTVS debugging) is that the code also contains a modified REPL so that interactive debugging also uses the new classes. The 3-step process listed above is the most global approach, which will affect not only PTVS debug sessions, but also any python  script run from a command window (so you don't need to do "chcp 65001" before running python). You could also do this with virtual environments; just put the files in your env site-packages directory and set the PYTHONSTARTUP variable accordingly.  Alternatively, you could take a more localized approach by adding the win_unicode_console package to your local project and doing: import stream; stream.enable(), which fixes text in the PTVS debug output window (i.e. the command window that pops up) but doesn't  give you full interactive debugging in the "Python Debug Interactive" window. None of these approaches make any system changes; deleting the win_unicode_console files and removing the PYTHONSTARTUP variable sets everything back to the default setup.
       
       All credit goes to the python gurus at bugs.python.org who tackled these gnarly Windows/Unicode issues (see here and  here for details).

  • Then on commit/flush these 2 clash causing the integrity error.
  • if the primary key is known in merge/ORM get - if the matching primary key is found already loaded in the session, SQLAlchemy realizes that these 2 must be the same object.

  • Your job is not to sell. It's to be a matchmaker
  • This is the next step I want to take. Do you want to take that step?
  • “Your goal during a screen should be to understand their motives. Why are they taking time out to talk to you?” Ciancutti says. “Remember they're evaluating everything you do, so be prompt in your communication and willing to let them go if it's not a good fit.”

4 more annotations...

  • Provided you call init_engine first you can then use db_session thereafter, as the scoped_session will bind the session to the current value of engine.

  • Product  ManyDesigns Portofino   Description 

    Create a webapp from an existing database in 30 seconds!

     

    Portofino is a free and open source web framework that helps developers create outstanding enterprise applications by addressing three specific needs: productivity, features and architecture.

     

    Among its features: content management, CRUD, database connectivity, calendars, charts, security and easy customization using Groovy.

     

    A wizard allows the developer to create a web application by connecting to an existing.database quickly and easily

       Licence  Open source   Pricing info  Free   Publisher  ManyDesigns S.r.l.
  • Product  Vertabelo   Description 

    Vertabelo is a visual database design tool available through a web browser. It supports the physical data modeling. Vertabelo offers SQL generation, team work support, public link to model, model versioning, and import/export in XML format.

       Licence  Multiple   Pricing info  Free for small projects, academics, students, open-source projects and non-profit organizations. Paid plans start from $9/month   Publisher  e-point

  • So how does PostgreSQL handle updates? It simply inserts a new row for each row to be updated and marks the old row as out-of-date. The transactions that started before this updating transaction finishes will still see the old values. The same applies to a delete statement – the row being deleted is just marked as out-of-date. Actually, an update operation is a combination of delete and insert operations.

       

    This approach, however, also has a negative consequence. The space occupied by the old rows is not reused even after all reading and modifying transactions finish. Why? Because every insert operation would need to scan the whole table in order to find this kind of free space in the middle of the table. This would be highly ineffective.

       

    So, in short, that's why the PostgreSQL database uses much more space than it really needs.

1 - 20 of 4402 Next › Last »
20 items/page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo