Showing results 9241-9250 of >9,330 (page 925)
https://lobste.rs/s/jyhdbx/linewise_translating_unit_tested_python

Login 8 Linewise translating unit-tested Python to Haskell to compare defects caught and expressivity (2012) evanfarrer.blogspot.com via habibalamin 2023-07-21 21:10:59 | caches | 3 comments 1 borntyping 2023-07-22 19:17:39 It'd be interesting to see this looked at again a decade later with the improvements to Python around gradual typing. (I assume Haskell has probably had similar improvements over time, but I'm not very familiar with it.) 1 jmtd 2023-07-22 11:17:40 I found this to be a really robust piece

https://memotut.com/en/fa93d0f1a8799b490e4a/

Python, BigQuery

https://www.commandlinefu.com/commands/view/6755/command-line-calculator

calc() { python -c \"from math import *; print $1\"; } - (Command line calculator This function defines a command line calculator that handles everything pythons math module can handle, e.g. trigonometric functions, sqrt, log, erf, ... (see http://docs.python.org/library/math.html). It even knows about the constants pi and e.). The best command line collection on the internet, submit yours and save your favorites

https://python-future.org/older_interfaces.html

# Older interfaces ¶ In addition to the direct and install_aliases() interfaces (described in Standard library imports ), future supports four other interfaces to the reorganized standard library. This is largely for historical reasons (for versions prior to 0.14). ## future.moves interface ¶ The future.moves interface avoids import hooks. It may therefore be more robust, at the cost of less idiomatic code. Use it as follows: from future.moves import queue from future.moves import socketserver from futu

https://mail.python.org/pipermail/python-dev/2013-October/129902.html

Sun Oct 27 21:59:24 CET 2013 On 28 Oct 2013 02:37, "PJ Eby" < pje at telecommunity.com > wrote: > > On Sun, Oct 27, 2013 at 1:03 AM, Nick Coghlan < ncoghlan at gmail.com > wrote: > > Now, regarding the signature of exec_module(): I'm back to believing > > that loaders should receive a clear indication that a reload is taking > > place. Legacy loaders have to figure that out for themselves (by > > seeing that the module already exists in sys.modules), but we can do > > better for the new API by making the e

https://exchangetuts.com/adding-single-integer-to-numpy-array-faster-if-single-integer-has-python-native-int-type-1769307902869660

Adding single integer to numpy array faster if single integer has python-native int typeI add a single integer to an

https://pretired.dazwilkin.com/posts/200217/

Exploring OriginStamp using the Python and Goland SDKs

https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123

How severe does this issue affect your experience of using Ray? Low: It annoys or frustrates me for a moment. I try to run ray up ray/python/ray/autoscaler/local/example-full.yaml on the head machine. it is woring. b

https://thelinuxcode.com/pass-by-reference-vs-value-in-python-the-real-model-call-by-sharing/

Skip to content TheLinuxCode Software Menu Toggle Distros Menu Toggle SysAdmin Menu Toggle Residential Proxies Residential Proxies TheLinuxCode Main Menu Menu Pass by Reference vs Value in Python: The Real Model (Call by Sharing) Leave a Comment / By Linux Code / January 30, 2026 Last month I reviewed a production incident where a pricing rule quietly changed the caller’s data structure. The bug wasn’t in the math—it was in the assumptions. One engineer thought Python passed arguments by value, so

https://linuxtut.com/en/c1a64cf69bc8c9e07aa2/

Python, numpy, statistics, matplotlib, statistics

‹ Prev Next ›