Paddy3118's comments

Paddy3118 | 1 year ago | on: Computer scientists invent an efficient new way to count

I originally used Guttenburgh to get Hamlet and coded the Quanta method in Python and it did not work. I then moved to Algorithm 1 in the paper and got Copilot to (mis) convert it to Python and then spent time getting Copilot to admit its mistakes. The resultant code seemed to work but I found the Quanta suggested data of the words of hamlet to be uninspiring as for the calculated theta (max set size before halving), was often from ~50% of the total number of words in hamlet to often more than the words in hamlet. I've yet to investigate theta in more depth...

Paddy3118 | 3 years ago | on: Python-based compiler achieves orders-of-magnitude speedups

Python is a scripting language. It allows me to develop a right answer in record devopment time and with a high degree of confidence that the result does what it needs to do. If, then, there are speed problems then I can optimise my existing code or rewrite sections in other languages, but crucially use my initial code to aid in testing the more obscure rewrites. Most of the time, some thought upfront will tell you if you will need a compiled solution early on, but even then - getting it correct in Python before getting it fast in something like C++ can be faster - the spec is often revised as implementation can change specsand Python is more agile.

Execution speed is more than execution speed - you need to be correct, and being fast enough is quality; faster may be wasteful.

Paddy3118 | 3 years ago | on: JavaScript Containers

"People don't use...". They did and they will and you will have to read and understand and maintain that cruft for years to come.

Paddy3118 | 3 years ago | on: JavaScript Containers

Lingua franca "language used as a means of communication between populations speaking vernaculars that are not mutually intelligible." Javascript is too Web focused. Python and C are better candidates as they are more than Web.

Paddy3118 | 3 years ago | on: JavaScript Containers

Stick to a detailed comparison with... Shell !? So that's the context for universality he's touting.

Paddy3118 | 6 years ago | on: The Value in Go’s Simplicity

Code is helped by being readable.

Saying your code is going to "look like sh£t anyway" seems rather defeatist, and an _excuse_ to write unreadable code.

Paddy3118 | 11 years ago | on: Solving the Monkey and coconuts problem

Oh my blog isn't giving an analytical solution, if that is what you want to do, it is simulating the problem to find a solution.

(The video does do an analytical solution though).

Paddy3118 | 11 years ago | on: “Go’s design is a disservice to intelligent programmers”

Go does seem more verbose than Python. Rosetta code tries for idiomatic solutions to common tasks, here's one such completed in both Python and Go: http://rosettacode.org/wiki/Bitcoin/address_validation

You would need to know the nature of the tasks to pick out those that need longer answers but all the Go tasks are here: http://rosettacode.org/wiki/Category:Go - most of which should have Python solutions.

page 1