Search found 1459 matches

by Wheelerof4te
2020-01-13 16:55
Forum: General Questions
Topic: Error while opening PDF files
Replies: 8
Views: 2354

Re: Error while opening PDF files

Head_on_a_Stick wrote:this will replace every instance of "masterpdfeditor4-2" with "mupdf"
Missed chance for "marpfei".
by Wheelerof4te
2020-01-13 11:05
Forum: Desktop & Multimedia
Topic: Constantly crashing Chromium cured?
Replies: 4
Views: 2603

Re: Constantly crashing Chromium cured?

Hopefully, those fixes land in the standard build for Buster. The only gripe I have with Stable and indeed Debian in general is Chromium. But I heard the Chromium team is understaffed, to say the least.
by Wheelerof4te
2020-01-06 15:10
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

^ Thank you for taking the time to read the code. Yes, all those AI classes have only one method, and that's to take their turn. The game is mostly complete for now, and it works. I will try to change it when I have the time. Now, onto the challenge. I would make the savings account the base class s...
by Wheelerof4te
2020-01-05 19:58
Forum: Installation
Topic: Recent install of Debian 7 graphical issue
Replies: 6
Views: 3430

Re: Recent install of Debian 7 graphical issue

Debian 7 is EOL. Install either 9 or the current 10.
by Wheelerof4te
2020-01-05 17:53
Forum: Programming
Topic: Printing hello world - bloatless edition
Replies: 1
Views: 3780

Printing hello world - bloatless edition

Drew Devault recently wrote this funny little blog post: https://drewdevault.com/2020/01/04/Slow.html I found it interesting how, in his intent to prove how higher-level languages introduce bloat, he forgot how many man-hours writting programs in those languages save. This one is golden: "These...
by Wheelerof4te
2020-01-05 11:51
Forum: General Questions
Topic: Experiences with f.lux/Redshift in Debian 10 GNOME
Replies: 7
Views: 2059

Re: Experiences with f.lux/Redshift in Debian 10 GNOME

^ Just at night. I keep the brightness down during the day. It is enough.
by Wheelerof4te
2020-01-05 11:50
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

For example, in pure python, without importing external libraries you can use dictionaries to store data when it suites that format. Yes, it is much more efficient to use dictionaries. Using classes for storing data, however, is more flexible. Even more so with the recently added "data classes...
by Wheelerof4te
2020-01-04 20:57
Forum: General Questions
Topic: Experiences with f.lux/Redshift in Debian 10 GNOME
Replies: 7
Views: 2059

Re: Experiences with f.lux/Redshift in Debian 10 GNOME

GNOME's Night Light in Buster works as intended on both Wayland and Xorg (I'm using Wayland).
by Wheelerof4te
2020-01-04 16:05
Forum: General Debian
Topic: Which interactive shell you using?
Replies: 8
Views: 6097

Re: Which interactive shell you using?

Bash is good enough and fast enough. I never got the need to use some special shell, but then again, I don't write shell scripts.
by Wheelerof4te
2020-01-04 15:30
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

^To be honest, no, I'm not so interested in game development. At least not with Python. I have written this game ever since I started learning Python and it's very dear project to me. It shows all my rookie mistakes (only one file, heavy usage of globals, etc.). Ever since, I have grown out of my ga...
by Wheelerof4te
2020-01-04 15:01
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

Again, use what you need, there is no single solution that works everywhere, and often there are more ways to achieve same result. I fuly agree! Ok, it's time to share my completed game with you all. Some of you remember how I started a thread about it a few months back. Well, now it is complete, b...
by Wheelerof4te
2020-01-04 13:39
Forum: General Debian
Topic: rolling distros becoming more popular
Replies: 27
Views: 17676

Re: rolling distros becoming more popular

There is a reason why Arch is so "hard" to install. Hard for Linux newbies, at least. Having it installed for you by someone else because it is "cool" is a huge disservice to both you and the Arch Linux community.
by Wheelerof4te
2020-01-03 21:26
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

I don't really know how to use it and how to write (better said access) it. I know that I can define a base class and use it to create other sub-classed classes (urgh..). Then, the new class shares the attributes and methods of a base class. And that is all I know. Honestly, it is very messy for me....
by Wheelerof4te
2020-01-03 20:50
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

^ Sometimes, IDE's and editors such as VS Code can be limiting. For example, in the script above, VS Code would complain that my variables r1, r2, r3, etc. are unused, which is not true. They are instanced and added to the class entry list, as they should be. I had it complain before because of some...
by Wheelerof4te
2020-01-03 17:53
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

^Those are really good tips, I never bothered with arguments as I found the explanations bad. I might implement the way to choose a file name in the library instead. Since that class is part of a specific library, once you set the file name it should not change at least for a year. For example "...
by Wheelerof4te
2020-01-03 10:44
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

If you like terminal-based editors, check out Micro:
https://github.com/zyedidia/micro

It's like a much improved nano.
by Wheelerof4te
2020-01-02 17:12
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

^ Thanks for the tips. I am struggling with inheritance, but luckily see no need for it right now in my programs. Currently, I'm creating a library for finance-related problems. Here's a simple class for instancing Book of Incoming Invoices entries: import csv class BookInc: pattern = "kuf: 02-...
by Wheelerof4te
2020-01-02 14:55
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

So, I have to write Perl to be considered an experienced Python programmer?!
Yeah, no.

@HoaS:
How did you install Go? Using apt, or by downloading it from golang.org? Will Go 1.11 be enough for a beginner? I don't want to bother with modules right now.
by Wheelerof4te
2020-01-02 13:53
Forum: Programming
Topic: Code editors and style for Python 3
Replies: 39
Views: 25388

Re: Code editors and style for Python 3

. Python has its strengths. A lot of them. The war occurs because inexperienced Python users ignore its weaknesses I didn't write about any of the Perl's weaknesess, and I'm sure it has plenty. As I said in one of my previous posts, Perl is not my forte, nor did I write a single line of Perl in my ...