Published on: 2025-07-26 22:08:29
What's a song or album that you enjoy that you wish had more recognition? How often do you discover music? And how do you discover music? Do you listen to the radio? If so, how often? Closures in Tcl While closely following the discussions spawned from the recent Tcl/Tk 9.0 release, I've noticed a point that keeps coming up: the absence of closures. Usually the cue for every Tcl hacker in the world (a very large mob, let me tell you) to start showcasing various contraptions to emulate them.
Keywords: args closure counter lexenv ns
Find related items on AmazonPublished on: 2025-08-17 19:55:36
Has your taste in music evolved over the years? What's a song or album that you enjoy that you wish had more recognition? How often do you discover music? And how do you discover music? How often do you listen to music? Do you listen to the radio? If so, how often? What song or album are you currently listening to? What are five of your favorite songs? What are five of your favorite albums? Adding keyword parameters to Tcl procs Two things that really annoy me with some programming lang
Keywords: arg args set string tmp
Find related items on AmazonPublished on: 2025-08-26 20:15:26
terser (shorter) lambda == SHORTY This library is intended to give terser syntax than C++'s lambdas, not replace C++ with lazy DSL. import shorty; using namespace shorty ::literals ; // you no longer need to remember if it's `std::less` or `std::greater` std::ranges::sort (subject, $lhs > $rhs); // filter only even subject | std::views::filter(($i % 2 ) == 0 ); // zip together and transform std::views::zip (A,B,C,D) | std::views::transform($a * $b + $c * $d); // call external function auto pyt
Keywords: args arguments auto const std
Find related items on AmazonPublished on: 2025-09-29 15:56:29
Matt Keeter put up The Prospero Challenge, which is like catnip for me. It’s a well-scoped project: we have a slow program. Make it faster within these constraints. In this post, I will describe two very small changes that can speed up his sample program with minimal effort. His sample tiny implementation, which I will reproduce here, uses Python and NumPy to compute pixels in parallel while parsing the input: import numpy as np with open ( 'prospero.vm' ) as f : text = f . read (). strip () i
Keywords: args cuda cupy line memory
Find related items on AmazonPublished on: 2025-10-01 05:04:43
The Prospero Challenge prospero.vm is a plain-text file containing 7866 math expressions. It begins as follows: # Text of a monologue from The Tempest _0 const 2.95 _1 var-x _2 const 8.13008 _3 mul _1 _2 _4 add _0 _3 If you evaluate the expression with (x,y) values in the ±1 square, then color pixels black or white based on their sign, you get the following image: The "challenge" is simple: render the image as quickly as possible. A basic renderer is 28 lines of Python, using Numpy for pix
Keywords: 1024 args case expression image
Find related items on AmazonGo K’awiil is a project by nerdhub.co that curates technology news from a variety of trusted sources. We built this site because, although news aggregation is incredibly useful, many platforms are cluttered with intrusive ads and heavy JavaScript that can make mobile browsing a hassle. By hand-selecting our favorite tech news outlets, we’ve created a cleaner, more mobile-friendly experience.
Your privacy is important to us. Go K’awiil does not use analytics tools such as Facebook Pixel or Google Analytics. The only tracking occurs through affiliate links to amazon.com, which are tagged with our Amazon affiliate code, helping us earn a small commission.
We are not currently offering ad space. However, if you’re interested in advertising with us, please get in touch at [email protected] and we’ll be happy to review your submission.