1.
 
1 point by 123456789 22 hours ago | discuss | parent | on: djwc: Django on WebComponents without NodeJS
yes
2.
 
1 point by micah.strube 1 week, 1 day ago | discuss | on: Python 4 New Features Planned
Title should be SPECULATION about python 4 features (which may not even be python 4).
3.
 
1 point by kas 2 weeks, 5 days ago | discuss | on: Solving Tribonacci Sequence with Python
The funny thing about these *bonacci sequences is that as we reach infinity in these sequences, the ratio between two consecutive numbers approach a certain value that is characteristical for the sequence. For the Fibonacci sequence the ratio is the golden ratio, which is a root of the polynomial x¬≤‚ąíx‚ąí1. For the Tribonacci sequence, the ratio in a root in the polynomial x¬≥‚ąíx¬≤‚ąíx‚ąí1. And for a Nbonacci, the ratio is a solution to x‚ĀŅ‚ąíx‚ĀŅ‚ĀĽ¬Ļ‚ąí‚Ķx¬≤‚ąíx‚ąí1. This is easy to prove. And as N approaches infinity, the ratio will approach 2.
4.
 
1 point by aogl 2 weeks, 6 days ago | discuss | parent | on: Check if Isogram using Python
Thanks for pointing this out! Comments feature has been fixed
5.
 
0 points by Evg 2 weeks, 6 days ago | discuss | parent | on: Just Title
–Ę–Ķ—Ā—ā
6.
 
1 point by kas 3 weeks, 1 day ago | discuss | on: Check if Isogram using Python
See e.g. https://gist.github.com/kseistrup/367298c2d4319aa01e9efc13230357a0
7.
 
1 point by kas 3 weeks, 1 day ago | 1 comment | on: Check if Isogram using Python
For some reason I cannot post a comment on the website, so: Another way is to compare len(set(text.casefold())) with len(text).
8.
 
1 point by kas 3 weeks, 2 days ago | discuss | on: Just Title
Please delete. Link has nothing to do with Python.
9.
 
0 points by test123 3 weeks, 2 days ago | 1 comment | on: Just Title
Nice Test
10.
 
1 point by test123 3 weeks, 2 days ago | discuss | on: Ask PN: does pythonic news index url for checking duplicate url
just test :D
11.
 
1 point by 1337shadow 3 weeks, 6 days ago | 1 comment | on: djwc: Django on WebComponents without NodeJS
Story continues here: https://github.com/yourlabs/django-autocomplete-light/issues/1168
12.
 
1 point by kas 1 month, 2 weeks ago | discuss | on: Understand Lucene To Understand ElasticSearch
Please delete. The article contains NO references to python.
13.
 
1 point by jfcorbett 1 month, 3 weeks ago | discuss | on: Understanding Data Structures in Python
Nice intro. Couple of notes on things that might mislead the intended beginner-level audience here: * Should be purged of ‚Äė‚Äôsmartquotes‚Äú‚ÄĚ * "Dictionary, Main Characteristics: Unordered" should perhaps be qualified a little bit, given that since 3.7, dictionaries are guaranteed to preserve insert order
14.
 
1 point by aogl 2 months ago | discuss | on: pure python compiler infrastructure
Interesting project, how does it compare to Nuitka?
15.
 
1 point by Shazz 2 months ago | discuss | parent | on: 6 Python Libraries for Neural Networks
Yes....pretty outdated! And Keras is now part of TF.
16.
 
1 point by Shazz 2 months ago | discuss | on: Pycopy: a minimalist and memory-efficient Python implementation
Between micropython, circuitpython now pycopy.... too many forks, no unity... a pity...
17.
 
1 point by temperisland 2 months, 1 week ago | discuss | on: Stop Using datetime.now
Why
18.
 
1 point by kas 2 months, 1 week 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.
19.
 
1 point by kas 2 months, 1 week 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.
20.
 
1 point by danchr 2 months, 1 week 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.
21.
 
2 points by Chromakey12 2 months, 1 week ago | discuss | parent | on: Ask PN: does pythonic news index url for checking duplicate url
Does indexing works on long url.
22.
 
2 points by sebst 2 months, 1 week 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.
23.
 
1 point by Chromakey 2 months, 2 weeks ago | discuss | on: Where Did Software Go Wrong?
https://vsbro.co/andrew
24.
 
1 point by Chromakey 2 months, 2 weeks ago | discuss | parent | on: 6 Python Libraries for Neural Networks
Hh
25.
 
1 point by Chromakey 2 months, 2 weeks ago | 1 comment | parent | on: 6 Python Libraries for Neural Networks
Ok
26.
 
2 points by waateur 2 months, 2 weeks ago | 3 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 :)
27.
 
2 points by kas 3 months 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)?
28.
 
2 points by kas 3 months ago | discuss | parent | on: Contextualise: Map your knowledge
Thanks!
29.
 
3 points by brettkromkamp 3 months 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 :)
30.
 
2 points by kas 3 months, 1 week 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).
More