sorawee
2022-2-13 08:56:55

Wordle 239 2/6*

:large_green_square::black_large_square::large_yellow_square::black_large_square::black_large_square: :large_green_square::large_green_square::large_green_square::large_green_square::large_green_square:


sorawee
2022-2-13 08:57:57

Spoiler alert:

I don’t think this one is really a meaningful word.


soegaard2
2022-2-13 09:24:00

Wordle 239 4/6

:large_yellow_square::black_large_square::black_large_square::large_green_square::black_large_square: :black_large_square::black_large_square::large_yellow_square::black_large_square::black_large_square: :black_large_square::large_yellow_square::black_large_square::black_large_square::black_large_square: :large_green_square::large_green_square::large_green_square::large_green_square::large_green_square:


laurent.orseau
2022-2-13 09:45:26

Wordle 239 4/6

:large_green_square::black_large_square::large_yellow_square::black_large_square::black_large_square: :black_large_square::black_large_square::large_yellow_square::black_large_square::black_large_square: :large_green_square::large_yellow_square::black_large_square::large_yellow_square::black_large_square: :large_green_square::large_green_square::large_green_square::large_green_square::large_green_square:


laurent.orseau
2022-2-13 09:46:25

It’s a small bird. But you didn’t play Rackedle words!



soegaard2
2022-2-13 10:34:05

wanpeebaw
2022-2-13 10:35:08

Oh, sorry for the duplication…


soegaard2
2022-2-13 10:35:31

Hmm… Robin from Batman and Robin also has a red chest.


laurent.orseau
2022-2-13 10:46:18

So the question is: why did you play this as second guess if you didn’t know it was even a word? :slightly_smiling_face:


laurent.orseau
2022-2-13 10:58:00

Yeah it’s a gamble for sure. Looking forward to observing how it plays out


sorawee
2022-2-13 12:09:44

after RAISE, I want to try a word with O and N, with R as the first character. Robin is the first word that comes to my mind, so I tried it, expecting that it will get rejected for not being in the dictionary. But it’s green….


laurent.orseau
2022-2-13 12:32:25

ROUND might have been better?


laurent.orseau
2022-2-13 12:32:43

Plus it’s a Rackedle word!


sorawee
2022-2-13 12:33:29

it needs an I. I’m playing the hard mode


laurent.orseau
2022-2-13 12:35:07

Aha, right


laurent.orseau
2022-2-13 12:35:14

ROIND?:yum:


capfredf
2022-2-13 12:58:46

Wordle 239 5/6

:white_large_square::large_yellow_square::white_large_square::white_large_square::white_large_square: :white_large_square::white_large_square::white_large_square::white_large_square::large_yellow_square: :large_green_square::large_yellow_square::white_large_square::large_yellow_square::white_large_square: :large_green_square::large_green_square::large_yellow_square::white_large_square::white_large_square: :large_green_square::large_green_square::large_green_square::large_green_square::large_green_square:


capfredf
2022-2-13 13:01:05

Thanks to wordle, now I have learned robin is a bird.


mflatt
2022-2-13 13:04:28

Wordle 239 4/6*

:white_large_square::white_large_square::white_large_square::large_yellow_square::white_large_square: :white_large_square::white_large_square::large_yellow_square::white_large_square::large_yellow_square: :white_large_square::large_yellow_square::large_yellow_square::large_yellow_square::large_green_square: :large_green_square::large_green_square::large_green_square::large_green_square::large_green_square:


laurent.orseau
2022-2-13 13:16:57

A wordle a day keeps the dictionary away


sorawee
2022-2-13 13:17:52

List suffices anyway. Who needs dictionary.


soegaard2
2022-2-13 13:30:24

I have a puzzle - well a bug somewhere.

In Sketching all drawing operations draws to the current drawing context, which is stored in a parameter current-dc.

So (stroke "yellow") (line 0 0 100 100) draws a yellow line to the current drawing context.

In order to draw somewhere else, one can use parameterize . But I seem to have broken parameterize somehow?!

Currently this test: (define old-dc (current-dc)) (parameterize ([current-dc screen-dc]) 1) (stroke "yellow") (line 0 0 100 100) draws the yellow line to screen-dc rather than to “old-dc”.

This test: (define old-dc (current-dc)) (parameterize ([current-dc screen-dc]) 1) (current-dc old-dc) (stroke "yellow") (line 0 0 100 100) works as expected.

Any ideas wrt what I have to look for?


soegaard2
2022-2-13 13:37:20

Complete example: #lang sketching (require racket/set racket/list (only-in racket/gui bitmap% bitmap-dc%) (only-in sketching/parameters current-dc)) (define screen-bm (make-object bitmap% 200 200)) (define screen-dc (new bitmap-dc% [bitmap screen-bm])) (define (setup) (background 0)) (define (draw) (define old-dc (current-dc)) (parameterize ([current-dc screen-dc]) 1) ; (current-dc old-dc) ; works as expected if this is uncommented (stroke "red") (line 0 0 100 100)) ; evaluate screen-bm in the repl to see the bitmap


soegaard2
2022-2-13 13:44:42

I found the problem.

Since current-dc is accessed frequently, I did the following:

(define dc #f) (define current-dc (make-parameter #f (λ (x) (set! dc x) x))) But parameterize doesn’t call the guard when it reinstates the previous value. So I just need to set dc to fix my problem. (And hide it in a with-dc ).


laurent.orseau
2022-2-13 14:24:43

that’s one way to break parameters indeed :slightly_smiling_face:


soegaard2
2022-2-13 15:06:26

I simply forgot I had made that optimization. I knew at the time there were a potential problem and even made a comment :slightly_smiling_face: Ah well, the next time I do something similar, I’ll make a with-dc at once.


soegaard2
2022-2-13 16:54:20

Here is a challenge for the Wordle fans:

https://qntm.org/files/absurdle/absurdle.html




soegaard2
2022-2-13 20:23:47

:joy:


badkins
2022-2-13 20:24:53

Oh wow, I did not know that’s how Wordle handled multiple letters !! I had a “todo” item to make use of info relating to multiple letters, but then I deleted it because I didn’t think Wordle gave away that info.


samdphillips
2022-2-13 20:42:44

It’s my son’s name and I didn’t get it until the 4th answer :disappointed: