Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am danielcollins on github.
* I am pyropanda (https://keybase.io/pyropanda) on keybase.
* I have a public key ASCZhyudIgC9MCleOApc7X9qQrdIIpRPYwdwZ1tK7RBkSQo
To claim this, I am signing this object:
[ 7 of 10] Compiling Text.Digestive.Form.Encoding ( src/Text/Digestive/Form/Encoding.hs, dist/build/Text/Digestive/Form/Encoding.o )
src/Text/Digestive/Form/Encoding.hs:42:10: error:
• No instance for (Semigroup FormEncType)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid FormEncType’
|
42 | instance Monoid FormEncType where
| ^^^^^^^^^^^^^^^^^^
cabal: Failed to build digestive-functors-0.8.3.0 (which is required by
[ 7 of 10] Compiling Text.Digestive.Form.Encoding ( src/Text/Digestive/Form/Encoding.hs, dist/build/Text/Digestive/Form/Encoding.o )
src/Text/Digestive/Form/Encoding.hs:42:10: error:
• No instance for (Semigroup FormEncType)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid FormEncType’
|
42 | instance Monoid FormEncType where
| ^^^^^^^^^^^^^^^^^^
pip3.6 install pyre-check --verbose
Created temporary directory: /private/var/folders/n_/rv211j296knf0tbt5823l6lc0000gn/T/pip-ephem-wheel-cache-snmxgr8u
Created temporary directory: /private/var/folders/n_/rv211j296knf0tbt5823l6lc0000gn/T/pip-install-nbe2zzdb
Collecting pyre-check
1 location(s) to search for versions of pyre-check:
* https://pypi.org/simple/pyre-check/
Getting page https://pypi.org/simple/pyre-check/
Looking up "https://pypi.org/simple/pyre-check/" in the cache
Current age based on date: 34322
Freshness lifetime from max-age: 600
$ pip3.6 install pyre-check
Collecting pyre-check
Could not find a version that satisfies the requirement pyre-check (from versions: )
No matching distribution found for pyre-check
No config file found, using default configuration
Traceback (most recent call last):
File "venv/bin/pylint", line 11, in <module>
sys.exit(run_pylint())
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/__init__.py", line 13, in run_pylint
Run(sys.argv[1:])
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/lint.py", line 1300, in __init__
linter.check(args)
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/lint.py", line 726, in check
self._do_check(files_or_modules)
$ fc-list
/usr/share/fonts/TTF/Inika-Regular.ttf: Inika:style=Regular
/usr/share/fonts/misc/ter-122n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/TTF/Martel-DemiBold.ttf: Martel,Martel DemiBold:style=DemiBold,Regular
/usr/share/fonts/adobe-source-han-sans/SourceHanSans-Bold.ttc: Source Han Sans HW TC,思源黑體 HW,思源黑體 HW Bold,Source Han Sans HW TC Bold:style=Bold,Regular
/usr/share/fonts/TTF/Merriweather-Black.ttf: Merriweather,Merriweather Black:style=Black,Regular
/usr/share/fonts/TTF/AnonymousPro-Italic.ttf: Anonymous Pro:style=Italic
/usr/share/fonts/TTF/TenorSans-Regular.ttf: Tenor Sans:style=Regular
/usr/share/fonts/TTF/AksaraBaliGalang-Regular.ttf: Aksara Bali Galang:style=Regular
saved_println = println;
class WeirdClass {
class func println(string:String) {
saved_println("---\(string)---")
// The above line will call itself i.e.
// `WeirdClass.println(string:String)`
// instead of system's println
>>> import backend.views
>>> from backend.models.db import db
>>> import backend.models.all
>>> from backend.models.users import Users
>>> Users() in Users.query
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: argument of type 'BaseQuery' is not iterable
Traceback (most recent call last):
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/werkzeug/contrib/fixers.py", line 148, in __call__
return self.app(environ, start_response)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app