-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDL Advent calendar 2024 tracker #68
Comments
Link in to a collab/takeover of PWC, see manwar/perlweeklychallenge-club#11123 |
Current order and statuses:
Specific ideas:
|
@duffee @mohawk2 if you are falling short of posts, I can write another post that shows how to plot PDL data using Javascript in the browser, Template Toolkit and the Highcharts library. Probably can be used as a second post for using PDL with financial data on a backend webserver like Mojolicious or Dancer or something else. |
I created a second post for you guys and opened a new issue in the pdl.github.io repo. thanks for the encouragement. |
@mohawk2 No real preference which demos, other than please include the plotting demos for the visual appeal. I've already written my own take on Bad Values, but if you feel the need to include the Bad Values demo, put it after mine because the demo looks more complete/longer. I'm not even precious about the order they go in, but I think an Introduction should be Dec 1 and that the Finance::TA posts should be closer together and on weekdays for the exposure. There are at least one pair which is order-dependant. I was using the Test::PDL to lead into the Vector Transformations with Matrices. Looking at my old post, we should also be looking at including an Advent Window image for each post and a short blurb on the author. I'll throw up a PR for my first post today to get the ball rolling (if you haven't already). |
@mohawk2 OK , I did the PR. |
There's now a post on PerlMonks mentioning the calendar: https://www.perlmonks.org/?node_id=11162961 |
This was due to the Styleshout CSS not having room for a "tags" line, and has been fixed.
The feeds were in fact being generated - thanks @vikasnkumar for adding links to the RSS one with #38! |
The 5th is up for review and I've put Shugo's post up for comments. @mohawk2 if you think it flows better to have vik's second post on the following day,then let's do that. Before we were catering to the "binge" crowd, I'd thought that Monday the 9th would be better exposure. String processing was a suggestion by you on Perlmonks: simple string comparison for efficiency using bytes and badvalues to compare DNA strands. I've emailed Len at Advent Planet. Will be added tonight. |
Tips on how to get a local version of the Statocles site running so you can iterate are on #38 - please do this so you can see what works (verbatim needs 4-space indent instead of ```, for instance) There are now various Advent PRs to copy for style; the |
Did you want vik's PDL with JavaScript for the 7th (your suggestion from 2 days ago) or my D3.js and Mojolicious (the preliminary post)? |
@duffee I'm writing an article on signal processing / speech analysis. Not too in-depth, I'm aiming for a bit of an introductory tone, but largely a PDL-translation of https://pinguinorodriguez.cl/blog/pitch-in-praat |
From PDLPorters/pdl#34, better to have separately:
@duffee writes: I'm starting to think that a blog post using Test::PDL to test whether I truely understand how a $matrix * $vector operation works. (Advent calendar warning)
As a starter for an Advent posting, the newly-incorporated Test::PDL, which I'm using to replace all
tapprox
and nearly all instances of these constructs in the codebase:approx
ok all($x == $y)
is_deeply [$p->unpdl], [...]
ok sum(abs($out-$in)) < 1e-4
is $out == $in, 1
ok tapprox(...)
ok all approx(...)
ok all($x == $y)
is( int(at(sum($c-$ans))), 0, "conv2d()" )
ok +($ans[0] == 50) && ($ans[1] == 1) && ($ans[2] == 2)
... is really good. It checks all types (unless you say not to) and dims are identical, whether
NaN
s/badvalues/infinities are all the same, and when something fails, you get a message like:That one was from finding a bug in
qsort
that had lain hidden, becauseall(pdl('5 3 BAD') == pdl('5 BAD 2'))
returns 1; theBAD
does not makeall
return false because there are any true values.The text was updated successfully, but these errors were encountered: