1w6 uRPG 1w6 uRPG
  • Anmelden
  • Öffentlich

    • Öffentlich
    • Gruppen
    • Beliebt
    • Verzeichnis

Unterhaltung

Nachrichten

  1. drak drak Python

    To marshal a numpy array with ints as tuple, use tuple(int(i) for i in arr), otherwise the tuple will contain numpy ints! !python

    Tuesday, 18-Feb-14 12:20:40 UTC von web
    • drak drak Python

      If you want to use that tuple in a call to exec(), you need tuple([int(i) for i in arr]) to escape delayed evaluation !python

      Tuesday, 18-Feb-14 12:25:35 UTC
    • drak drak Python

      Fixed the last errors in my caching layer: Performance increased by factor 5, memory consumption down from 2GiB to 400MiB !python

      Tuesday, 18-Feb-14 13:10:00 UTC
    • drak drak Python

      And only cache what I actually use, not what I retrieve. Another 5x performance improvement. I’m back at 10s per plot! !python

      Tuesday, 18-Feb-14 16:52:49 UTC
    • drak drak Python

      Hint: don’t use exec() except in cases where it is really, *really*, REALLY useful. See http://sn.1w6.org/notice/47001 !python

      Tuesday, 18-Feb-14 17:15:09 UTC

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Hilfe
  • Über
  • FAQ
  • AGB
  • Privatsphäre
  • Quellcode
  • Version
  • Kontakt

1w6 uRPG ist ein Mikrobloggingdienst von Arne (Drak) Babenhauserheide. Es wird mit der Mikrobloggingsoftware StatusNet (Version 1.1.1-release) betrieben, die unter der GNU Affero General Public License erhältlich ist. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 Alle Inhalte und Daten von 1w6 uRPG sind unter der Creative Commons Attribution 3.0 Lizenz verfügbar.