|
The old freeware Hyperoids changed your ship color each level.
If you made it to level 16, your ship would match the background! Maybe the bullets as well.
A lot harder situation with Tetris!
|
|
|
|
|
Wordle 990 X/6*
β¬β¬β¬π¨β¬
β¬β¬π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
Another one of those!
|
|
|
|
|
Wordle 990 X/6
β¬β¬β¬β¬π¨
β¬π©β¬β¬β¬
β¬π©β¬β¬β¬
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
Same here.
|
|
|
|
|
Wordle 990 6/6
β¬β¬β¬β¬β¬
π¨β¬β¬β¬π¨
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 990 6/6
β¬β¬β¬β¬β¬
π¨β¬β¬π¨β¬
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
Yep one of those.
|
|
|
|
|
Wordle 990 6/6*
β¬β¬β¬β¬β¬
β¬π©π©β¬π¨
β¬π©π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
I was just slightly luckier ... hate it when that happens!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Same here.
And that terminated my streak, I was fortunate to reach 100 yesterday.
Luc Pattyn [My Articles]
The Windows 11 taskbar is a disgrace; a third-party add-on is needed to reverse the deterioration. I decline such a downgrade.
|
|
|
|
|
Wordle 990 5/6
π¨β¬π¨β¬β¬
π©π¨β¬π©β¬
π©β¬π©π©β¬
π©β¬π©π©β¬
π©π©π©π©π©
wordle.at
Rules for the FOSW ![ ^]
MessageBox.Show(!string.IsNullOrWhiteSpace(_signature)
? $"This is my signature:{Environment.NewLine}{_signature}": "404-Signature not found");
|
|
|
|
|
Wordle 990 6/6*
β¬β¬β¬β¬β¬
β¬β¬β¬π¨β¬
β¬β¬π©π©π©
β¬π©π©π©π©
β¬π©π©π©π©
π©π©π©π©π©
Yeah, me too almost lost that one there...
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 990 3/6
β¬π©β¬π¨β¬
π¨π¨β¬β¬β¬
π©π©π©π©π©
|
|
|
|
|
π¨β¬β¬π¨β¬
β¬π©π©β¬π¨
β¬π©π©π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 990 6/6
β¬β¬β¬π¨β¬
π¨β¬β¬β¬β¬
β¬π¨β¬β¬β¬
β¬π©β¬β¬β¬
β¬π©π©π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Whether by bag, or backpack, or shoulder or car
In any weather, and wherever you are
This little orange kitten loves to travel with you
To adventure and play, and her name is Minou
Orange shoulder kitten![^]
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I was expecting a cat βtamagotchiβ based on earlier posts.
|
|
|
|
|
|
your cat? I have a dream of one day picking out my own pet. All I get are hand me downs from the children - who have been told it will never happen again.
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
I love closures and lambdas, but I was quite amused when I wrote the following buggy code:
for (int i=0; i <= 10; i++)
{
var task = Task.Run(async () =>
{
var convertResp = await StartTestConvert(i);
... other stuff
});
} And was wondering, how in the world does i get equal to 11!!!
Answer: bad closure. Fix:
for (int i=0; i <= 10; i++)
{
int n = i;
var task = Task.Run(async () =>
{
var convertResp = await StartTestConvert(n);
... other stuff
});
}
I think this would make a good interview question!
modified 4-Mar-24 10:13am.
|
|
|
|
|
Marc Clifton wrote: I think this would make a good interview question!
And I thought this was fairly common knowledge!
(Not that that would preclude it from being an interview question, of course.)
They "fixed" the behaviour for the foreach loop back in C# 5, but deliberately chose not to change the for loop:
UPDATE: We are taking the breaking change. In C# 5, the loop variable of a foreach will be logically inside the loop, and therefore closures will close over a fresh copy of the variable each time. The for loop will not be changed.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That's the follow-up interview question. "On what for loops does closure work?"
|
|
|
|
|
From my experience there are most probably programmers who would fix it like this
for (int i = 0; i <= 10; System.Threading.Thread.Sleep(10), i++)
{
....
}
|
|
|
|
|
Reminded me of The Deadlock Empire[^].
A game where you're a scheduler and have to break code by switching contexts
You can play it for free in your browser, no registration or anything.
|
|
|
|
|
I do not see the difference whether using i or n.
Is async call creating a thread?
Is this a C# thing?
lambda?
Closure? seems like a definition of global and local variable spaces.
Confused
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
It has to do with capture, where we grab the value of i by the use of assignment into n before launching another task.
There is nothing magical about using a variable named n ... we could have called it george . What's important is that the current value of i in the for loop is captured before launching the task.
If we had not done that, the for loop would complete execution, setting i to 11 before the first task was launched. That is what is meant by closure.
|
|
|
|
|
Marc Clifton wrote: I think this would make a good interview question! To mention the language that shall not be named (it rhymes with GuavaScript), closures was one of the ways to fake OOP before es6 came along with classes.
function FakeClass() {
const protectMe = 'When I grow up, I wanna be a class!';
this.doSomething = function() {
console.log(protectMe);
}
}
const sup = new FakeClass();
console.log(sup.protectMe);
sup.doSomething();
These days I tend to use closures less and less with generators, promises, async/await, etc. There are just new ways to do the same thing in the language that shall not name be named. But, if you ever find yourself needing to access that lexical context after the parent function go bye bye (a static variable wouldn't quite cut it for that) and you don't want to clutter up your code with global/module crap... closures are a life saver.
All-in-all, cool stuff.
Jeremy Falcon
|
|
|
|
|
lambdas/closures are used in "Lisp, C#, C++, Lua, Python, Ruby, JavaScript, Java, Excel or Google sheets" according to stack overflow, hence my unfamiliarity, being a lowly C guy. Thanx to CP, I have a new appreciation.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|