1.
 
0 points by kas 2 weeks, 2 days ago | 1 comment | parent | on: Could Nim Replace Python?
Interesting, thanks for your thoughts.
2.
 
2 points by kas 2 weeks, 2 days ago | discuss | parent | on: Could Nim Replace Python?
No sweat, take your time.
3.
 
1 point by kas 2 weeks, 4 days ago | 1 comment | parent | on: Could Nim Replace Python?
Ok, so there's now way to make paragraphs here on PN?
4.
 
1 point by kas 2 weeks, 4 days ago | 3 comments | on: Could Nim Replace Python?
Betteridge's law of headlines is an adage that states: ‚ÄúAny headline that ends in a question mark can be answered by the word no.‚ÄĚ Speed or not, I believe that Python's interactive prompt + being able to run without compilation gives Python a head start. Nim looks interesting, though.
5.
 
1 point by kas 1 month, 3 weeks ago | discuss | parent | on: How to Read a File in Python, Write to, plus Append, to a File
(It didn't, damn!)
6.
 
1 point by kas 1 month, 3 weeks ago | 1 comment | on: How to Read a File in Python, Write to, plus Append, to a File
In an article that talks about handling files, I feel that `pathlib` should have been mentioned: import pathlib path = pathlib.Path('/path/to/file') with path.open('w') as fptr: print('oh, hai!', file=fptr) (I wonder if identing the block above renders the block as a code block…)
7.
 
2 points by kas 2 months, 3 weeks ago | discuss | parent | on: A powerful modal editor written in python.
Thanks! I didn't look in the source code, but I _did_ look in the documentation and I didn't find anything (I can't be absolutely sure I didn't overlook it, though). (Shift|Ctrl)-Esc is not exactly intuitive. Neither is my current editor's (jed) exit combo, ^X^C, but at least it's documented.
8.
 
1 point by kas 2 months, 3 weeks ago | 2 comments | on: A powerful modal editor written in python.
So, how do you exit this thing? Asking for a friend.
9.
 
1 point by kas 2 months, 4 weeks ago | discuss | on: Thermal testing Raspberry Pi 4
Excuse me, but how is this relevant for Pythonic News? The word ‚Äėpython‚Äô does not appear even once in the entire article and the package `stress-ng` does not list python as a dependency. If you want positive karma, please post at Lobsters or HN instead.
10.
 
2 points by kas 3 months, 1 week ago | 3 comments | parent | on: Flutter open-source
ūüĎć
11.
 
-1 points by kas 3 months, 1 week ago | 6 comments | parent | on: Flutter open-source
Fair enough, but how do we flag stories that are off-topic or spam (like the Flutter thing that started this thread), then?
12.
 
4 points by kas 3 months, 1 week ago | 8 comments | parent | on: Flutter open-source
And just as important: How can we report spammy or off-topic links here? Does it take a certain amount of karma before a down-voting arrow appears?
13.
 
4 points by kas 3 months, 1 week ago | 9 comments | on: Flutter open-source
As one who doesn't know what Flutter is, I have to ask: How is this relevant to the Python community? When I visit the MS Github repo, upwards of 99% of the codebase is Dart. How does Python get into it, if at all?
14.
 
1 point by kas 3 months, 1 week ago | discuss | on: Kore4 and Python
I can't wait to try this out. I tried building Kore3 from AUR, but didn't succeed ‚Äď perhaps because of ArchLinux' recent transition from Python v3.7 to 3.8? Has anyone else tried building it on Arch?
15.
 
2 points by kas 4 months, 2 weeks ago | 1 comment | parent | on: Ask PN:how does pythonic News generate unique slug for Url
UUID4 is all fine and good. The downside of using them for unique URLs is that they're completely human unfriendly: Not only are they a PITA to remember or manually type, they are also not offering any clue whatsoever as to what the link is about. We know this site is about Python, but that is all you can deduct from seeing a URL.
16.
 
3 points by kas 4 months, 2 weeks ago | discuss | on: Python 3.8 - there's a lot more new than most people are talking about (podcast)
/me wishes there were a transcript available of the podcast…
More