« first day (267 days earlier)      last day (367 days later) » 

00:35
OH MY GOD IT WORKS
the signature signing now works >_<
Anonymous
Do what now?
00:59
@Mego for Push notifications we need to create a 'pushpackage' for every user and that contains things like authorization keys. Then we have to make sha512 hash every file in that package and then sign w/ PKCS#7 and x.509 cert
turns out no python crypto library has native functions for that
for sqlalchemy I need to do a table constraint like __table_args__ = (db.UniqueConstraint('name', 'address'), ) but since table_args is a dictionary because we have extend_existing: true how do can i add the unique contraint to table args
oh wait nvm found on docs
Anonymous
01:23
@Downgoat pycryptodome has sha512 and PKCS#7, but not x.509
Anonymous
cryptography seems to have all 3
Anonymous
@Mego cryptography doesn't seem to be able to decrypt PKCS#12 files. It can sign a CSR but can't use signed CER to sign data
Anonymous
Well there's an OpenSSL binding that can be leveraged for that
02:10
Yeah I just ended up using M2Crypto and pyOpenSSL’s bindings since those things are already being used
 
2 hours later…
04:10
hooray!!!! it works !!! :DDD
surprised at how much of a nuisance that is
Anonymous
I'm not that surprised :P
seems like crypto overkill if you ask me but
@quartata idk how much better service workers are >_<
04:32
FFS ;_; now i have to create JWTs to POST to APNS
05:08
does python not have any way to make HTTP/2 calls? I see an external library Hyper bu that says it is in uber-alpha
05:33
what is recommended way to emulate switch statement in python
 
1 hour later…
06:36
YYyaaaasssssssssssssss
best day of my life
push notifications finally work!!!
06:58
definetly did not just commit private key >_<
07:13
Does SQLAlchemy not support the Set Datatype? I don't see it in the type docs: docs.sqlalchemy.org/en/latest/core/…
it would be useful to represent e.g. notification configuration rather than having like 10 different boolean fields
 
6 hours later…
Anonymous
13:25
@Downgoat Dict lookup
Anonymous
What about push notifications for other browsers? Chrome and Firefox support them
13:47
@Downgoat hyper is ok
Not really anything else
@Downgoat have a separate relation?
 
3 hours later…
16:36
@Mego those use service workers which is a little more complex since we'll need to open up sockets which I don't know how much strain it could put since those will basically need to always be open.
Also: how to run celery task asynchronously rather than waiting for the task to finish?
Rather than having Apple do the heavy lifting in delivering we’ll either need to do it ourselves or find some external solution
16:59
Rip challenges are 500ing
17:16
weird... not sure where all RAM is going on axtell droplet
>_< looks like node has memory leak
uh oh Can't connect to MySQL server on '127.0.0.1:3306 CC @Mego
Anonymous
@Downgoat I'll have to read the docs again
Anonymous
@Downgoat Probably because of said memory leak
I think it's best to restart the server completely to get rid of runaway processes and then I'll see what's going on with node
18:10
@Mego can we add the github.com/JCumin/Brachylog/wiki/Code-page codepage
 
3 hours later…
21:24
does pywsgi replace uwsgi? gevent seems to want us to start the server with gevent.pywsgi so im not sure what that entails
do we have enough RAM to run Solr for search engine >_<
i am thinking we could have a seperate sever for websockets running on like ws.axtell.vihan.org but idk if we have enough ram for that >_<
though I don't think I know enough about python to do websockets >_<
21:48
ok welp now to work on frontend for notifs ..

« first day (267 days earlier)      last day (367 days later) »