Show newer

Creating a app with was incredibly pleasant! ... Here's how I used WisBlock to test a LoRa Sensor based on @PINE64

lupyuen.github.io/articles/wis

## 100 Pots Puzzle

About a year and a half ago I presented the 100-pots puzzle, which is by far my favorite programming/logic/math problem I have ever come across. It took me a while to solve it the first time I heard it (most of the work day which is where I heard it). I also was at an advantage because the solution comes from a field of math I have particular expertise in, so most people will probably have a harder time solving it.

I don't think anyone was able to solve it last time I presented it, and had to give the official answer, I could be wrong, I need to dig up the thread. @Absinthe however did write a simulation for it in python after I had posted the answer.

Anyway here is the problem for anyone who wants to take a stab.

**All answers or hints must be CW'ed**

### No tricks

First off some background. The problem is not a trick question, as much as it may seem like one. There is no play on words, no hidden exception. Everything in this problem is exactly how it is presented and the answer doesn’t rely on any slight of hand. Take this puzzle at face value.

### The Puzzle

There is a room with 100 jars with lids on them all in a row. There is also a stack of papers, 100 papers each labeled 1 to 100. The papers are shuffled and one paper placed into each pot randomly.

You and your assistant are in an a joining room. Your assistant is allowed to enter the room, look in all 100 pots, and if they wish they can pick any 2 pots and switch the paper in them. They can only do this one time, they do not have to do this they can choose to also do nothing. At this point they leave the room, without talking to you.

Next, someone tells you a random number from 1 to 100. Your goal is to enter the room and open a pot that has that number in it. You are allowed to open, at most, 50 of the pots.

Whatever process you use to open those pots must guarantee that by the time you open the 50th pot that the number you were given will be found. Obviously your assistant didn’t know what the number is at any point.

What rules do you give your assistant, and what rules do you follow, to ensure you are successful?

@math

OK I see where this is heading 😉 ... How shall I get more folks in Singapore to install base stations for ? 🤔

Show thread
I doubt that many of you will be interested in building your own customized #pinephone #kernel, specifically, for #mobian but I suspect that some of you might be. Judging from all the people who could point me in the right direction, on how to properly configure and deploy this device, one, I think that it's probably three out of a thousand. Anyway, I wrote about how I went about it, failed many times and finally, thanks to one person, Mobian @mobian, who led me to the promised land, I have succeeded. Now the article gives all the tools to get the job done, however, my next article will be more in depth. In the meantime, for those interested, you may read my musings at https://mstdn.design/pine-phone-kernel-build-and-customization and at my #Gemini capsule too, gemini://mstdn.design/logs/2021-03-07-pinephone-custom.gmi. Check it out.

The Fediverse has a lot of blind or partially sighted members who use screen readers to listen to posts. Large groups of emoji make life difficult because the reader reads aloud each emoji's text description back to back.

✅ You can make your posts more accessible to blind users' screen readers by only using individual emoji, and avoiding large groups of emoji.

For example 😃 is fine but 😀 😆 :bloblaugh: 😁 👍 😃 😜 🤗 :blobcatcoffee: causes problems.

#FediTip #MastoTip #Accessibility #A11y #Emoji

2019-2020 was years of multiplication of #RISCV based microcontrollers boards, and the multiplication of RISC-V microprocessors makers.

2021 is the year of multiplication of affordable #RISCV 64bit based microprocessor class SoC, and usage servers like large scale web companies (Alibaba webservers) and supercomputer (European supercomputer, only used as computation accelerator, main processor will be ARM based, the project started several years ago when RISC-V OS ecosystem was not so complete).

Sipeed announce, the multiplication of their affordable #RISCV 64 SoC based boards this year:

https://nitter.fdn.fr/SipeedIO/status/1369909103020019715?s=19

Today I realized that its just about writing. sometimes it will be good others will be bad. Just deal with it

write.as/cameojiraffe/entry-7

Two tasks on my mind 🤔 ... Which shall I do:

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.