Skip to content

Instantly share code, notes, and snippets.

View mbernasocchi's full-sized avatar
🎯
Focusing

Marco Bernasocchi mbernasocchi

🎯
Focusing
View GitHub Profile
Program received signal SIGSEGV, Segmentation fault.
0x0000000000575454 in QList<QString>::operator= (this=0xf900000111,
l=...) at /usr/include/qt4/QtCore/qlist.h:439
439 if (d != l.d) {
(gdb) bt
#0 0x0000000000575454 in QList<QString>::operator= (this=0xf900000111,
l=...) at /usr/include/qt4/QtCore/qlist.h:439
#1 0x00000000005750ef in QStringList::operator= (this=0xf900000111) at
/usr/include/qt4/QtCore/qstringlist.h:66
#2 0x00007ffff3fc6983 in QgsMapRenderer::setLayerSet

Keybase proof

I hereby claim:

  • I am mbernasocchi on github.
  • I am mbernasocchi (https://keybase.io/mbernasocchi) on keybase.
  • I have a public key whose fingerprint is 1B55 E0EF 54A5 2B82 1C86 DBC9 6535 F2D4 39FB 985A

To claim this, I am signing this object:

Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/bin/openambit
-- Up-to-date: /usr/share/applications/openambit.desktop
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/openambit.png
marco@placebo:~/dev/openambit$ openambit
marco@placebo:~/dev/openambit$ Failed to upload log, movescount.com replied with " ""Move already exists (UserDeviceID: 376342, StartTime_LT: 3\/20\/2014 10:09:59 PM, move.Duration.TotalSeconds: 16.9)"" "
Failed to upload log, movescount.com replied with " ""Move already exists (UserDeviceID: 376342, StartTime_LT: 8\/13\/2014 5:11:11 PM, move.Duration.TotalSeconds: 1054)"" "
Failed to upload log, movescount.com replied with " ""Move already exists (UserDeviceID: 376342, StartTime_LT: 8\/16\/2014 4:32:54 PM, move.Duration.TotalSeconds: 2240)"" "
Failed to upload log, movescount.com replied with " ""Invalid CompressedValues: Expecting element 'root' from namespace ''.. Encountered 'None' with name '', namespace ''. "" "
Package: qgis-server
Source: qgis
Version: 2.6.0+wheezy1
Architecture: amd64
Maintainer: QGIS developers <qgis-developer@lists.osgeo.org>
Installed-Size: 2374
Depends: qgis-providers (= 2.6.0+wheezy1), libc6 (>= 2.2.5), libexpat1 (>= 2.0.1), libfcgi0ldbl, libgcc1 (>= 1:4.1.1), libgdal1 (>= 1.8.0), libgeos-c1 (>= 3.3.3), libpq5, libproj0, libqgis-analysis2.6.0, libqgis-core2.6.0, libqscintilla2-8, libqt4-network (>= 4:4.5.3), libqt4-svg (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.5.3), libqtwebkit4 (>= 2.1.0~2011week13), libspatialindex1, libspatialite3 (>= 2.4.0~rc2), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 4.1.1)
Replaces: qgis-mapserver
Provides: qgis-mapserver
Homepage: http://qgis.org/
Well, what to say, was it Ariel hitching all day to get his fingers on a keyboard, or Tim relentlessly talking about qgis in a web app, or Assefa's wll past midnight commit or was it just me... we all were “starving” for hacking. And so when day four's sessions were over, we jumped full on in various ideas we had:
Ariel, Christian, Tim and I started hacking a minimal version of qgis into a python webapp. Aim was a proof of concept that InaSAFE with the QGIS dependencies could run in the web and so to allow using QGIS code also in the SAFE package. We split in pairs and all went full on.
Assefa went on optimising the flood on roads geometry operations. The intention here was to improve
performance of geometry operations between flood polygons and roads.
Akbar and Ismail planed better user feedback to prevent suboptimal usage of QGIS.
Dianne and Manning were busy getting the generic impact function code mergeable from the code repository of the
Philippine participants.
Tree days later we were all super happ
{ "type": "Polygon", "coordinates": [ [ [234530.50238607943174429, 1661058.93862724932841957], [234624.28975954308407381, 1661155.16427967557683587], [234746.22472636352176778, 1661396.73012926243245602], [234748.50576794985681772, 1661400.99002205044962466], [234825.04096794966608286, 1661535.97882204898633063], [234844.47090746165486053, 1661560.38341010664589703], [234870.47523139187251218, 1661577.61366270575672388], [234900.52344215984339826, 1661585.9928928220178932], [234931.69152894144644961, 1661584.70571215357631445], [234960.94650505340541713, 1661573.87737708352506161], [234985.44154984899796546, 1661554.56159990117885172], [234986.49010248231934384, 1661552.99503385322168469], [235041.5403263280459214, 1661519.24031889787875116], [235188.4880744188267272, 1661442.07245774823240936], [235191.98049928672844544, 1661440.14866846241056919], [235224.22716460432275198, 1661421.53829531720839441], [235228.61722152918810025, 1661427.12125314702279866], [235256.8384271819377318, 1661445.13331757369451225]
{ "type": "Polygon", "coordinates": [ [ [234530.50238607943174429, 1661058.93862724932841957], [234624.28975954308407381, 1661155.16427967557683587], [234746.22472636352176778, 1661396.73012926243245602], [234748.50576794985681772, 1661400.99002205044962466], [234825.04096794966608286, 1661535.97882204898633063], [234844.47090746165486053, 1661560.38341010664589703], [234870.47523139187251218, 1661577.61366270575672388], [234900.52344215984339826, 1661585.9928928220178932], [234931.69152894144644961, 1661584.70571215357631445], [234960.94650505340541713, 1661573.87737708352506161], [234985.44154984899796546, 1661554.56159990117885172], [234986.49010248231934384, 1661552.99503385322168469], [235041.5403263280459214, 1661519.24031889787875116], [235188.4880744188267272, 1661442.07245774823240936], [235191.98049928672844544, 1661440.14866846241056919], [235224.22716460432275198, 1661421.53829531720839441], [235228.61722152918810025, 1661427.12125314702279866], [235256.8384271819377318, 1661445.13331757369451225]
Unhandled exception: 0xe0434352 in 32-bit code (0x7b83dba9).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b83dba9 ESP:03b2db34 EBP:03b2dba8 EFLAGS:00000287( - -- I S - -P-C)
EAX:7b8282e9 EBX:7b8a5964 ECX:80131604 EDX:03b2db54
ESI:00000005 EDI:e0434352
Stack dump:
0x03b2db34: 03b2dc0c 00000014 03b2dbb0 e0434352
0x03b2db44: 00000001 00000000 7b83dba9 00000005
0x03b2db54: 80131604 00000000 00000000 00000000
@mbernasocchi
mbernasocchi / gist:9638570
Created March 19, 2014 09:44
ambit2s.log
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE openambitlog>
<openambitlog version="1.0">
<SerialNumber>81A5095106001500</SerialNumber>
<Time>2014-03-01T13:53:55</Time>
<MovescountId></MovescountId>
<DeviceInfo>
<Serial>81A5095106001500</Serial>
<Model>Colibri</Model>
<Name>Suunto Ambit2 S</Name>
Failure
Traceback (most recent call last):
File "/home/marco/dev/GEM/qt-experiments/svir/test_transformations.py", line 163, in test_z_score_direct
0.3244428422615252])
AssertionError: Lists differ: [0.32444284226152514, -1.94665... != [0.3244428422615252, -1.946657...
First differing element 0:
0.324442842262
0.324442842262