loading...
Paddy3118 profile picture

Paddy3118

404 bio not found

Joined Joined on  GitHub logo

All 92 Comments

re: Beyond CSV files: using Apache Parquet columnar files with Dask to reduce storage and increase performance. Try it now!
Sadly I don't use Dask, but in the past I have used zcat on a...
re: Implement a Queue using a Linked List
Remember that it's CS. Understanding over use. If given a res...
re: Beyond CSV files: using Apache Parquet columnar files with Dask to reduce storage and increase performance. Try it now!
If you are worried about space wouldn't you work from a gzipp...
re: Solving Perl Weekly Challenge 083 with Raku and Python
len("".join(s.strip().split()[1:-1])) Untested but that woul...
re: How-to Avoid Rounding "Errors" in Excel
Then archive their concept and deliver a solution in a less e...
re: How-to Avoid Rounding "Errors" in Excel
DON'T USE A SPREADSHEET. If you used Python, for example, you...
re: What are your favorite less-common programming languages?
Awk. Learnt decades ago, I still have need to program in that...
re: What are you looking forward to when the pandemic is over?
Less cars in Englands city centers.
re: The Never Ending battle between C and C++
C++ has tried to be a superset of C, where there are a large ...
re: Learn the Top Data Structures And Algorithms every Computer Science student should know
Rational? Decimals? Complex numbers? Files? ... You gave exam...
re: Intro to Python Pt. #2 (The 4 Pillars of OOP)
Remember though, that OO is only one of the programming style...
re: 10 Awesome Pythonic One-Liners Explained
That's a big if. rstrip('\n') or simple rstrip() i find easi...
re: 10001st prime - Project Euler Soution
Modified to test less primes: from itertools import count, i...
re: 10001st prime - Project Euler Soution
Using the Python extensible prime generator: "Iterative sieve...
re: 10 Awesome Pythonic One-Liners Explained
map returns a map object that you then turn into a list. Read...
re: 10 Awesome Pythonic One-Liners Explained
List mapping Best to use list comprehensions instead of ...
re: 10 Awesome Pythonic One-Liners Explained
Read file into array of lines Needs to use rstrip rather...
re: Python pro tips
You state "Write Object Oriented code". You should learn it, ...
re: Python pro tips
You mention "Use shorter if statements". I get the sentiment ...
re: Is programming art?
There can be artistry in testing too, but unit testing does s...
re: Is programming art?
I go by: Not every graphical representation is seen as "art";...
re: A Pythonic Guide to SOLID Design Principles
Ay, someone else may have thought through wider implications,...
re: A Pythonic Guide to SOLID Design Principles
On the open closed principle It seems useful on an establishe...
re: A Pythonic Guide to SOLID Design Principles
On single responsibility: If one class/function/method does X...
re: Are you using WiFi or Ethernet right now?
I have cable broadband and their wireless and wired router on...
re: "Hello, World!" but in 30 different languages!!!
In 458 languages here: rosettacode.org/wiki/Hello_world/Text ...
re: Day-4 Maximum Consecutive Ones
Ah, then you just need to remember that it is a code smell,...
re: Day-4 Maximum Consecutive Ones
"find the length of the maximum runs/groups of ones in a li...
re: Day-4 Maximum Consecutive Ones
Python is a multi paradigm language. A class with only one ...
re: One pointless optimization
The planet of pointless micro optimization. :-)
re: Python programming and scripting
Or not! Scripts should be orgnised, structured, tested and ...
re: How to copy a list in Python
list objects have a .copy method.
re: How to copy a list in Python
Please don't use list unpacking for the sole purpose of cre...
re: Work Culture Toxicity in Tech
Some people value how fast you mop-up over fixing the leak....
re: Calculating mean iteratively
The normal way is to keep a count of, and the sum of, the n...
re: Understanding map, filter, and zip in Python
But remember, in Python comprehensions should be the first ...
re: Creating Dashboard to Visualise Data In Python
This could be useful to me in a future project, thanks for ...
re: Imperative vs Declarative programming. Your enemy is not object-oriented programming.
You swap from using the word declarative to the word functi...
re: Programming without a programming language
Nicely put😊
re: Programming without a programming language
It's not a matter of what you can do; it's what most people...
re: Programming without a programming language
Hi,JavaScript and PHP are limited to the web domain of prog...
re: Less basic compression: Huffman Coding
Different Python code, but has a tutor mode: paddy3118.blog...
re: What Alternative Text Editors Does DEV Use? (Not VS Code 🐱‍👓)
Vim and Spyder. I don't heavily customize those environment...
re: Good and Bad Practices of Coding in Python
The Pythonic way is to exploit the fact that zero is inter...
re: Issues with VSCODE License — You should worry
A lot of governments will be looking again at open-source t...
re: Issues with VSCODE License — You should worry
Closed source projects die too. G+ anyone? Internet explore...
re: Tips on naming boolean variables - Cleaner Code
You can also use gt, ge, lt, le, eq then a number as prefix...
re: Tips on naming boolean variables - Cleaner Code
Since it is a group of things that may be active, I'd use a...
re: A Love Letter to Excel: 34 Years of Magic ✨
I note that you link for support from someone who worked at...
re: Python comparison tips
It's good to give reasons which is missing from your first ...
re: Iterators, Generators and Iteration Protocol in Javascript
That title could have been about Python a decade or two ago...
re: A Love Letter to Excel: 34 Years of Magic ✨
It reads like a love letter to a dictator who favours you. ...
re: The five stages to unit-testing enlightenment
You missed "Equating testing, with unit testing".
re: Top 5 Programming Languages Every Software Developer Should Learn
You also need to try some projects in languages that are no...
re: Top 5 Programming Languages Every Software Developer Should Learn
Try not to conflate C and C++. While you can just about wri...
re: 10 rules to code like NASA (applied to interpreted languages)
Use the preprocessor sparingly. This kinda maps to the P...
re: 10 rules to code like NASA (applied to interpreted languages)
Use a minimum of two runtime assertions per function. Do...
re: 10 rules to code like NASA (applied to interpreted languages)
Restrict functions to a single printed page Update that ...
re: 10 rules to code like NASA (applied to interpreted languages)
All loops must have fixed bounds ... But don't introduce...
re: 10 rules to code like NASA (applied to interpreted languages)
Avoid complex flow constructs, Always good to avoid unne...
re: From monoliths to the modern web - The great unbundling
Thanks. I guess the other thing to worry about is replicati...
re: Welcome Thread - v33
Hi, I like the sites aims, but was wondering what licence i...
re: Project Benatar: Fending Off Data Black Holes
Are you served out of just one country? Will content have h...
re: What are you "old enough to remember" in software development?
Basic, teletype, paper tape. Core memory on an early HP ma...
re: From monoliths to the modern web - The great unbundling
But home Internet is asymmetrical. Getting in the way of me...
re: 10 Things Every Software Developer Should Know
... you better know how to dissect the mess you are about ...
re: 10 Things Every Software Developer Should Know
Try and keep Excel on the output periphery. You give someon...
re: 10 Things Every Software Developer Should Know
OK, I'll bite: You mention Excel and why people might objec...
re: Stop trying to be so DRY, instead Write Everything Twice (WET)
Be moist. Exactly.
re: Stop being a toxic person, start to have empathy.
I like your reply. I would only add that some have not lear...
re: Dead Simple Python: Classes
instance variables shadow (hide) the class variables, N...
re: Stop trying to be so DRY, instead Write Everything Twice (WET)
Not even close.
re: Linked lists in the wild: React Hooks
What language is that? Doesn't it have a list type with app...
re: Stop trying to be so DRY, instead Write Everything Twice (WET)
I'm for M.O.I.S.T myself.
re: Got Any Advice for Early-Career Programmers?
Code stuff. Be curious and get your code out there and crit...
re: Things to consider before creating a new programming language
Don't expect others to use it by choice.
re: How do you deal with One-upmanship ?
Get back to those comments after a year and you are less in...
re: Coding Against Data or Data Structures
Transferred data should confirm to an agreed, published, sc...
re: Using Python's Type Annotations
It is just that there is a preponderance of articles out th...
re: Using Python's Type Annotations
" Python is known for being a Wild West language where anyt...
re: Data Structures in Python: Dictionaries
Del is a python statement not a function. :-)
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes.
Ah, as I thought; tries in Python are not as fast, (or as s...
re: JavaScript is almost pythonic
Just waiting for ES202? == Python, you might as well...
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes.
but you assuming that everyone who clapped are not smart e...
re: Regex was taking 5 days to run. So I built a tool that did it in 15 minutes.
Hmm. I applaud you for creating a library that is useful, b...
loading...