1.
 
1 point by kas 18 hours ago | discuss | parent | on: Ask PN: does pythonic news index url for checking duplicate url
And Chromakey above is one user that has only posted off-topic links.
2.
 
1 point by kas 19 hours ago | 1 comment | on: Ask PN: does pythonic news index url for checking duplicate url
Before we get a dupe-checker I feel it would be nice with a down-voting or flagging button: The number of off-topic posts are on the increase, and when they aren't removed they will encourage more and more off-topic posts.
3.
 
1 point by danchr 1 day, 3 hours ago | discuss | on: Stop Using datetime.now
That's terrible advice. I was expecting it to argue that `datetime.now()` is harmful due to its lack of timezone support, but no‚Ķ Apparently, the author never heard of freezegun, and so wrote an awful lot of code to ‚ÄĒ essentially ‚ÄĒ¬†reimplement it. Yes, use `datetime.now`. Write simple code. When testing, use something like freezegun to adjust the clock.
4.
 
1 point by Chromakey12 1 day, 4 hours ago | discuss | parent | on: Ask PN: does pythonic news index url for checking duplicate url
Does indexing works on long url.
5.
 
1 point by sebst 1 day, 13 hours ago | 1 comment | on: Ask PN: does pythonic news index url for checking duplicate url
The github source of news.python.sc is up2date. I’d suggest to put an index on the url column in your database. That makes lookups pretty fast.
6.
 
1 point by kas 2 days, 16 hours ago | discuss | on: Green
How is this related to Python, pray tell? I don't see python mentioned even once on the frontpage. If the link is unreleated to Python, please delete the submission.
7.
 
1 point by Chromakey 5 days, 12 hours ago | discuss | on: Where Did Software Go Wrong?
https://vsbro.co/andrew
8.
 
1 point by Chromakey 1 week, 1 day ago | discuss | parent | on: 6 Python Libraries for Neural Networks
Hh
9.
 
1 point by Chromakey 1 week, 1 day ago | 1 comment | parent | on: 6 Python Libraries for Neural Networks
Ok
10.
 
2 points by waateur 1 week, 4 days ago | 2 comments | on: 6 Python Libraries for Neural Networks
Beware that 4 5 and 6 are abandoned or deprecated. Presenting chainer, mxnet and cntk would have been more relevant of today ecosystems :)
11.
 
2 points by kas 3 weeks, 1 day ago | discuss | on: Using Rust to Power Python Importing With oxidized_importer
It would be nice if you could just “import oxidized_importer“ at the top of your script and then it would monkey patch the import statement such that all subsequent imports were oxidized, wouldn't it? But that's not quite how it works, is it (yes, I did rtfm, but I'm still not quite sure how it works)?
12.
 
2 points by kas 3 weeks, 2 days ago | discuss | parent | on: Contextualise: Map your knowledge
Thanks!
13.
 
3 points by brettkromkamp 3 weeks, 3 days ago | 1 comment | parent | on: Contextualise: Map your knowledge
Yes, you’re right, it depends on PostgreSQL. It would require quite some work to be able to run with SQLite as I would have to implement it in the actual topic maps engine itself: https://github.com/brettkromkamp/topic-db. Saying that, open an issue for it if you want and I will consider it :)
14.
 
2 points by kas 1 month ago | 2 comments | on: Contextualise: Map your knowledge
This certainly looks interesting. Thanks for sharing. Am I misreading something, or does it require PostgreSQL? It would be sweet if it could use SQLite, methinks (I will be happy to open an enhancement request).
15.
 
2 points by cedric 1 month, 1 week ago | discuss | parent | on: [MOSP] New visualizations
seems like I can't edit anymore.
16.
 
2 points by cedric 1 month, 1 week ago | 1 comment | on: [MOSP] New visualizations
I am really sorry for the layout. I keep updating, it changes nothing.
17.
 
2 points by cedric 1 month, 1 week ago | discuss | on: A platform for creating, editing and sharing JSON objects
Basically MOSP is a platform for creating, editing and sharing JSON objects. It is written in Python (Flask) and very easy to deploy (you can test on Heroku). I have already presented MOSP here. I wanted to make a new presentation since some good progress have been made recently. On the backend side (Python code) a lot of thins have changed. I improved the core architecture and the deployment process with Flask. Which is now super easy. The project is also now using poetry. One of the main cool new feature is the generations of relations graphs thanks to the hosted JSON schemas. Two particularly interesting graphs are available at: - https://objects.monarc.lu/schemas/#references_between_schemas [1] - https://objects.monarc.lu/schema/relations/21 These graphs are generated dynamically, thanks to JSON refs. No need to update some relations in the database. Adding a new JSON schema with some refs will automatically update the schema of relations. The first schema, [1] is generated with Networkx. The display is made with d3 but you can for example use Gephi. Here is the digraph object: https://objects.monarc.lu/stats/schemas/relations.json The next work will be to rewrite the current API with Flask-RESTX. The advantage of MOSP is that you can deploy a dedicated instance for your specific needs. Just by defining a set of JSON schemas. For example this instance is dedicated to information security: https://objects.monarc.lu A Web visual JSON editor is available for authenticated users (based on the JavaScript JSON-editor project) You can use any available JSON schemas in order to create new JSON objects via a web form. This web form is dynamically generated and based on the selected schema (and support self referring objects). It is possible to interact with MOSP programmatically thanks to its API. If you do not want to use the graphical editor.
18.
 
1 point by aggregor 1 month, 1 week ago | discuss | on: Why do we need Flask, Celery, and Redis?
is pythonic news using memcache or redis?
19.
 
1 point by Divya 1 month, 2 weeks ago | discuss | on: Flutter open-source
test
20.
 
1 point by janski 1 month, 2 weeks ago | discuss | on: Rich: A Python library for rich text and beautiful formatting in the terminal
Exactly this is what i was searching for few weeks ago :-) Very cool library!
21.
 
2 points by kas 1 month, 3 weeks ago | discuss | on: Rich: A Python library for rich text and beautiful formatting in the terminal
This thing will prettyprint everything I want to print. Yay!
22.
 
0 points by Divya 1 month, 3 weeks ago | discuss | on: PyOD: Python toolkit for detecting outlying objects in multivariate data
abc
23.
 
0 points by Shazz 1 month, 4 weeks ago | discuss | parent | on: Streamz: Python pipelines to manage continuous streams of data
Good point... I was wondering too. I’ll give it a try.
24.
 
0 points by ranjanprj 2 months ago | discuss | parent | on: Nebulo: Python Library and CLI for Reflecting GraphQL APIs from PostgreSQL
This is exactly what i've been looking for so long in Python community. I want to use Nebulo inside DJango to automatically expose the database schema created by Django ORM or custom views that I might create. Thank you for this library.
25.
 
0 points by oliverrice 2 months ago | 1 comment | on: Nebulo: Python Library and CLI for Reflecting GraphQL APIs from PostgreSQL
Author here! Nebulo is very much a work-in-progress, but its reached proof-of-concept viability so I'd love to hear what the community thinks! At the moment, the motivation for the CLI is mostly to give quick feedback to people who want to try out the project. I'm curious if anyone has a use-case the CLI running a production ready web server? In the short-term I expect to focus query safety and the last remaining elements of the relay connection spec (reverse pagination) that aren't implemented yet. https://relay.dev/graphql/connections.htm Please feel free to raise any killer feature ideas in the comments Contributors wanted! Shutout to a few related projects written in other languages that inspired development of Nebulo (via envy): JS: https://www.graphile.org/ Haskell: https://hasura.io/ Clojure: https://github.com/graphqlize/graphqlize lmk if I missed one
26.
 
0 points by Divya 2 months ago | discuss | parent | on: Flutter open-source
abc
27.
 
1 point by waateur 2 months ago | 1 comment | on: Streamz: Python pipelines to manage continuous streams of data
Anyone used this already ? I'm wondering now reliable this is.
28.
 
2 points by Joey 3 months ago | discuss | parent | on: Flutter open-source
1
29.
 
1 point by Joey 3 months ago | discuss | parent | on: Ask PN: how do this site do nested comment pagination
1
30.
 
1 point by Joey 3 months ago | discuss | on: Ask PN: I want to get to know you
1
More