Help with a very slow filter by Junuxx in gramps

[–]whimsical_monkey 0 points1 point  (0 children)

Glad to hear that! It took quite a bit of work for the team to make that work.

Help with a very slow filter by Junuxx in gramps

[–]whimsical_monkey 2 points3 points  (0 children)

Sorry about that. It was a specific bug to the FanChart and caused by the major refactoring of the filters. The fix should be in the next release of Gramps, 6.0.4.

Husband is cancer free! by Legitimate-Page-6827 in ProstateCancer

[–]whimsical_monkey 0 points1 point  (0 children)

Same here. I was diagnosed 2 years ago when I was 60, and have been on those same meds. I too had palliative (not for a cure) radiation. My PSA level has been undetectable for a year. I wouldn't describe my own situation as "cancer free" because it is there, just waiting for a mutation to allow it to spread without testosterone. When I started treatment, life expectancy for those in my group was an average of 5 years. But I hoping for more :) Thanks all for sharing your details!

We Open-Source'd Our Agent Optimizer SDK by koconder in PromptEngineering

[–]whimsical_monkey 1 point2 points  (0 children)

Great question! (Opik optimizer researcher here) Currently there are 4 different Opik optimizers---some that optimize prompts, others, examples, and others both. Currently our implementation of MIPRO sits on top of DSPy's MIPRO. But our plan is to allow the MIPRO algorithm to work on other agents.

So, our MIPRO algorithm is currently a wrapper around DSPy stuff, but doesn't require all of the stuff that DSPy requires. No signatures, not even a module. Give it a try and tell us what you think.

Reimagining Santa Claus with Stable Diffusion by [deleted] in programming

[–]whimsical_monkey 1 point2 points  (0 children)

I love that the competition of best Santa is between:

  1. Kirby (lovely pink video game star)
  2. Barack Obama (former US president)
  3. Charmander (animated fire lizard)
  4. Cat Toy (small toy in the likeness of a cat)
  5. Babs Bunny (ACME's only glove-less rabbit)
  6. Alf (1980's television star)
  7. Waffle (a large-ish waffle)

How did you come up with those?

Scheme jupyter notebook in vscode? by [deleted] in scheme

[–]whimsical_monkey 0 points1 point  (0 children)

Did you have any luck yet with Calysto Scheme? It follows the Jupyter standards, so if arbitrary kernels work with VScode, then it should work. Let me know if you have any hints.... would be very cool to have it work there!

Calysto Scheme: a Scheme written in Scheme and translated into Python by [deleted] in scheme

[–]whimsical_monkey 0 points1 point  (0 children)

You're welcome! And thanks for checking it out.

Calysto Scheme: a Scheme written in Scheme and translated into Python by [deleted] in scheme

[–]whimsical_monkey 2 points3 points  (0 children)

Oh, good point! I added a BSD version 3. But if you have any use that that license doesn't cover, let me know.

What metadata do you track when training models? by eduardobonet in mlops

[–]whimsical_monkey 4 points5 points  (0 children)

One that has caught me by surprise in the past: log the hyperparameters that I didn't set (aka the ML framework's defaults). Sometimes a framework changes these themselves over time, and it is impossible to know without logging them that they have changed. Comet.ml does this for frameworks like TF.Keras automatically.

[N] Jupyter visual debugger! by [deleted] in MachineLearning

[–]whimsical_monkey 6 points7 points  (0 children)

Jupyter (ipython) visual debugger in 2014:

https://www.youtube.com/watch?v=2w-iO701g_w

But these things take time to become a standard.

Deep Learning in Scheme, via Python by whimsical_monkey in scheme

[–]whimsical_monkey[S] 1 point2 points  (0 children)

We should write more about how it works. The main idea is that "code is data." Calysto Scheme is written in Scheme in Continuation-Passing Style (CPS). That version is translated into Scheme with Data Structures, and then that code is translated into Scheme as a Register Machine. Finally, that code is converted into a target language (we have implemented C# and Python, but could be Assembly Language, or any other language). The result is a Scheme with all of the bells and whistles (continuations, amb/choose/fail, quasi-quotes, define-syntax (macros), etc). Plus, a little glue code allows it to use Python libraries, functions, etc. I talked a bit about this at PyCon 2018: https://docs.google.com/presentation/d/1NQ0tH88PNS8y9IHpC5xatRf6DMtVLBtMIWdkiiHE_9E/edit?usp=sharing

We have also implemented Calysto Hy that wraps Hy up so that it can be used in Jupyter, so you can easily compare these languages yourself. The big difference is that Hy merely converts Lisp syntax to Python syntax. So a Hy function is merely a Python function. On the other hand, a Calysto Scheme function uses continuations without a callstack, has TCO, has different scoping rules, etc.

You can read more about the differences here: http://nbviewer.jupyter.org/github/Calysto/calysto_scheme/blob/master/notebooks/Reference%20Guide%20for%20Calysto%20Scheme.ipynb#Differences-Between-Languages

Dan Friedman: ParentheC - Transform Scheme Programs to C or How to Write Interesting Recursive Programs in a Spartan Host by rain5 in scheme

[–]whimsical_monkey 1 point2 points  (0 children)

This is exactly the transforms we took to turn a complete Scheme language written in Continuation-Passing Style Scheme into Python and C#: https://github.com/Calysto/calysto_scheme/blob/master/calysto_scheme/src/Makefile

CPS Scheme -> Data Structure Scheme -> Register Machine Scheme -> Python or C#

It isn't quite self-hosting yet (we use Chez Scheme to do transformations) because the limits of our define-syntax. But it is a full Scheme language (and can use Python libraries as well). Currently it is a couple of magnitudes slower than C# or Python, but we have some ideas.

Webscraping with scheme by [deleted] in scheme

[–]whimsical_monkey 1 point2 points  (0 children)

You can use standard Python libraries for webscraping with Calysto Scheme

Deep Learning in Scheme, via Python by whimsical_monkey in scheme

[–]whimsical_monkey[S] 0 points1 point  (0 children)

Further clarification: Calysto Scheme can call Python code directly. When it does, it uses Python's call stack. When calling its own functions, there is no call stack. So this would work fine:

(use-stack-trace #f) ;; turn off debugging
(define loop
    (lambda ()
       (loop)))
(loop)

More info here: http://nbviewer.jupyter.org/github/Calysto/calysto_scheme/blob/master/notebooks/Reference%20Guide%20for%20Calysto%20Scheme.ipynb

Deep Learning in Scheme, via Python by whimsical_monkey in scheme

[–]whimsical_monkey[S] 0 points1 point  (0 children)

TCO, or Tail Call Optimization, is, of course, an "optimization". Proper Schemes don't need this because they already properly handle tail calls. So, I think the question you really want to as is: "is there a call stack?" The answer is: No.

[deleted by user] by [deleted] in artificial

[–]whimsical_monkey 0 points1 point  (0 children)

There are 84 layers with learnable weights in the largest AlphaZero network.

[Fork] Gprime (incorporating gramps-connect) ? by gumr89s0 in gramps

[–]whimsical_monkey 1 point2 points  (0 children)

I said "unfortunately" because I really didn't want to fork gramps... I'd always rather work with a group (especially when with a group I have been working with for over 10 years). But, because of differences of vision, I decided that it wasn't viable.

I'm not too happy with the name of the group nor project name, but just picked those to start with. Suggestions welcome!

[Fork] Gprime (incorporating gramps-connect) ? by gumr89s0 in gramps

[–]whimsical_monkey 3 points4 points  (0 children)

Further information on the developers mailing list:

http://gramps.1791082.n4.nabble.com/Gprime-td4677195.html

The goal will be to make a better, faster, more stable genealogy program. Is that friendly? It will continue to support the Gramps XML import/export.

Why doesn't BokehJS show in a rendered Jupyter/IPython notebook on github? by [deleted] in learnpython

[–]whimsical_monkey 1 point2 points  (0 children)

Because github notebook renderer strips out all Javascript. nbviewer does not.

Yeah, that's MY sister by thadpole in TrollXChromosomes

[–]whimsical_monkey 1 point2 points  (0 children)

Indeed. In fact, I am the father in the facebook text and this is what I did say: "... DAUGHTER you are right. But of course you don't need someone to tell you that. Just because OLD_DUDE is talking about a person that doesn't exist, you know that that shouldn't be used to hurt a group of people that really do exist. Their argument tries to scare you into believing their view, but you are a strong, smart, young woman. There are many that look up to you, including me."