Skip to content

Instantly share code, notes, and snippets.

View edgarcosta's full-sized avatar

Edgar Costa edgarcosta

View GitHub Profile
2019-04-07 10:21:58.383 EDT [26826] webserver@lmfdb ERROR: permission denied for relation kwl_locks
2019-04-07 10:21:58.383 EDT [26826] webserver@lmfdb STATEMENT: SELECT username, timestamp FROM kwl_locks WHERE id = 'ec.q.58.a1.top' AND timestamp >= '2019-04-07T14:11:58.382947'::timestamp LIMIT 1
2019-04-07 10:21:58.384 EDT [26826] webserver@lmfdb ERROR: permission denied for relation kwl_locks
2019-04-07 10:21:58.384 EDT [26826] webserver@lmfdb STATEMENT: INSERT INTO kwl_locks (id, timestamp, username) VALUES ('ec.q.58.a1.top', '2019-04-07T14:21:58.384336'::timestamp, 'Elkies')
2019-04-07 13:25:31.766 EDT [24575] editor@lmfdb LOG: duration: 161528.878 ms statement: COPY nf_fields("id","label","coeffs","degree","r2","cm","iso_number","disc_abs","disc_sign","disc_rad","ramps","galt","class_number","class_group","used_grh","rd") TO stdout WITH DELIMITER AS ' ' NULL AS '\N'
2019-04-07 13:56:20.015 EDT [24575] editor@lmfdb LOG: duration: 1848246.680 ms statement: COPY nf_fields_extras("id","zk","units","r
************* Module lmfdb
E: 7, 0: No name 'database' in module 'lmfdb.backend' (no-name-in-module)
E: 7, 0: Unable to import 'lmfdb.backend.database' (import-error)
************* Module lmfdb.website
E:108, 0: Missing parentheses in call to 'print'. Did you mean print("Profiling!")? (<string>, line 108) (syntax-error)
************* Module lmfdb.app
E: 4, 0: Unable to import 'flask' (import-error)
E: 5, 0: Unable to import 'sage.env' (import-error)
E: 24, 4: Unable to import 'flask' (import-error)
E: 33, 4: Unable to import 'flask' (import-error)
************* Module lmfdb.website
E:109, 8: Unable to import 'werkzeug.contrib.profiler' (import-error)
************* Module lmfdb.app
E: 4, 0: Unable to import 'flask' (import-error)
E: 5, 0: Unable to import 'sage.env' (import-error)
E: 24, 4: Unable to import 'flask' (import-error)
E: 33, 4: Unable to import 'flask' (import-error)
E:511, 8: Unable to import 'flask_login' (import-error)
************* Module lmfdb.tests.test_spelling
E: 5, 0: Unable to import 'unittest2' (import-error)
************* Module lmfdb
lmfdb/__init__.py:7:0: E0611: No name 'database' in module 'lmfdb.backend' (no-name-in-module)
lmfdb/__init__.py:7:0: E0001: Cannot import 'backend.database' due to syntax error 'Missing parentheses in call to \'print\'. Did you mean print("Created file %s" % filename)? (<unknown>, line 642)' (syntax-error)
************* Module lmfdb.website
lmfdb/website.py:108:26: E0001: Missing parentheses in call to 'print'. Did you mean print("Profiling!")? (<unknown>, line 108) (syntax-error)
************* Module lmfdb.app
lmfdb/app.py:4:0: E0401: Unable to import 'flask' (import-error)
lmfdb/app.py:5:0: E0401: Unable to import 'sage.env' (import-error)
lmfdb/app.py:24:4: E0401: Unable to import 'flask' (import-error)
lmfdb/app.py:33:4: E0401: Unable to import 'flask' (import-error)
************* Module lmfdb.app
E: 5, 0: No name 'SAGE_VERSION' in module 'sage.env' (no-name-in-module)
E: 61, 0: Method 'jinja_env' has no 'add_extension' member (no-member)
E: 62, 0: Method 'jinja_env' has no 'add_extension' member (no-member)
************* Module lmfdb.symL.sympowlmfdb
E: 52, 0: No name 'SageObject' in module 'sage.structure.sage_object' (no-name-in-module)
************* Module lmfdb.symL.symL
E: 18, 0: No name 'SageObject' in module 'sage.structure.sage_object' (no-name-in-module)
E: 86,19: Access to member '_L' before its definition line 134 (access-member-before-definition)
************* Module lmfdb.abvar.fq.main
/*
Copyright (C) 2019
Andrew V. Sutherland <drew@math.mit.edu>
Implements the following intrinsics relevant to genus 3 curves
SPQIsIsomorphic
SPQDiscriminant
SPQInvariants
/*
Copyright (C) 2019
Andrew V. Sutherland <drew@math.mit.edu>
Implements TraceHash as defined in Sec 4.3 of https://doi.org/10.1112/S146115701600019X
*/
intrinsic TraceHash(ap::UserProgram) -> RngIntElt
{ Given a function ap mapping primes to integers,
computes the hash sum_(2^12<p<2^13) ap(p)*c_p mod 2^61-1
@edgarcosta
edgarcosta / genus3.m
Created November 19, 2019 00:08
Sutherland
/*
Copyright (C) 2019
Andrew V. Sutherland <drew@math.mit.edu>
Implements the following intrinsics relevant to genus 3 curves
SPQIsIsomorphic
SPQDiscriminant
SPQInvariants
@edgarcosta
edgarcosta / .gitignore
Last active March 10, 2023 21:56
Andrew Sutherland's contributed scripts
*.sig
diff --git a/src/Isogenies.m b/src/Isogenies.m
index 915ac06..2b55c2a 100644
--- a/src/Isogenies.m
+++ b/src/Isogenies.m
@@ -698,7 +698,7 @@ Given a hyperelliptic curve H and a prime l, returns the l-isogenous curves
We can give this functions some precomputations in precomp.
*/
-intrinsic RationallyIsogenousJacobiansG2(J::JacHyp,l::RngIntElt :
+intrinsic RationallyIsogenousJacobiansG2(J::JacHyp[FldFin], l::RngIntElt :