Paddy3118
Paddy3118 on Hacker News
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...
Posted by
Paddy3118 on Friday April 05, 2024 @05:06AM
from the self-post dept.
It seems that if you have a table of valuesthat is acceptedby OEIS by submitting the anti-diagonalised form of your original table, THEN, you can only search for sequences within successive terms of the anti-diagonalisation. You cannot search for, for example, a sequence of values from one row of the original table.
Is it as it seems to me?Thanks.
Yep. Fun, weather protection, and small - just too pricey at the moment.
I don't want an electric Suv - I need an electric Carver for £5,000 and a car share of something larger and more luxurious for less frequent long trips.
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.
"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.
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.
Stick to a detailed comparison with... Shell !?
So that's the context for universality he's touting.
The articles structure makes it difficult to comprehend.
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.
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).
The solution of "working out loud" needs to be expounded.
Posted by
Paddy3118 on Friday May 01, 2015 @06:35PM
from the paddy3118.blogspot.com dept.
Even so, Go seems less succinct in comparison on several tasks. Such differences will most likely be magnified in larger programs.
Not a recipe for learning to write idiomatic code in any new language. (I mostly hear of C++ programmers that really only write C).
I've asked for more info on that so I can see what needs fixing and if these non-zero-exit values appear for me.
My apologies. I didn't know it was a technical term.
Ouch. Onboarding? You can't communicate if you make up words as you go along.
Posted by
Paddy3118 on Sunday July 07, 2013 @05:27PM
from the paddy3118.blogspot.co.uk dept.
The "One True Language Paradigm"....
... Is functional programming!
(while it lasts that is).
Keeps the money circulating.
By abstraction, the author mentions interfaces earlier on.
I take the point of the other commenter who states that Java practitioners use too much abstraction, and would also point out that the later versions of Python add abstract base classes:
http://docs.python.org/library/abc.htmlAfter comparing Java and Python solutions on Rosetta Code: http://rosettacode.org/ I think new programmers would find it easier to learn when using Python.
- Paddy.
Um, not really. Dynamic languages have duck typing (look it up on wikipedia); they get used to writing for the now and letting the what-ifs wait, as in some cases, changes can be accomodated with little tear-down of existing code.
Integrity in conducting scientific experiments? Now there's an idea!
Posted by
Paddy3118 on Sunday April 11, 2010 @03:22AM
from the self-post dept.
It would be interesting to know how many programmers in languages and tools barred by Apple might have otherwise considered creating an Ipad/pod application?
Just a reminder after some of the comments directly after the Beijing Olympics: Bolt is tested to death and is clean. As where those 100m female runners who swept away
all the medals: Shelly-Ann Fraser, Sherone Simpson, and Kerron Stewart.
There is one thing that was shoddy though, with a bit more effort the ladies could have got equal times and picked up three golds in the race instead of one gold and two silvers :-)
- Paddy.