## Problem of making entities agree on some wavelength

I remember seeing this problem somewhere before, but don’t remember what it’s called and can’t find it again.

It was presented as two guys having $$n$$ phones each that don’t ring when called. Each phone from one person is connected to one phone of the other person, in some random permutation. They can each test one phone every “round”, to check if they are using a connected pair of phones and thus able to communicate (this is in some way a consensus problem). They had to devise some strategy beforehand to be able to communicate (and minimize the amount of rounds necessary). Of course, the application behind this would be to make two entities connect on some same wavelength at the same time.

What is this problem called, also what are the best strategies?

## What’s the best way to do some Web Scraping in Flutter? [on hold]

I would like to automatize some tasks on a web site using a Flutter app. Basically, I have to login navigate to a specific page to fill a form and submit it. I’m trying to achieve that using a WebView in flutter, and doing the navigation using Javascript. So I go to a page, execute some javascript (like fill login/pass form and submit), go to the next page, etc. But in this way, it is very difficult to synchronize the execution JS execution in the correct page.

I wonder if there’is a better approach to do that. Before that, I tried something using an Http client and executing some Http post commands, but I abandoned it because I thought using WebView it could be easier. But it was not easier at all.

Is there any other alternative to doing what I want?

## How to represent a numeric input that is limited to increments of some number

I have a requirement for a form that restricts a field value to fixed increments of 50 and I’m not sure what would be the most elegant way to represent that constraint in a meaningful fashion.

The simplest solution that comes to mind is a jQuery validate method combined with some server-side logic that is tied to a normal text field input. Other alternatives that come to mind is a number picker of some sort (I don’t know of one currently) that advances in set increments or a drop-down list with a fixed number of values.

Any other ideas? What would feel most intuitive to you?

## Some item options or their combination are not currently available in Magento 2.3

In a store the products are importing via a connector with clients ERP.
Variations (size attribte only) and products that are out of stock are not visible in the store.
When we try to add a product in the cart Magento randomly gives error “Some item options or their combination are not currently available.” to some variations even they are in stock and with available quantity.

For example we have a jacket with sizes 48, 50, 52, 54, 56
We can buy only two of them (48, 50 for example) and all the other are showing the error.
The website is https://onnetgr.com

Thanks in advance for any help

## What are some efficient and easy-to-remember schemes for randomly-generated sequential ID numbers?

I am considering a new scheme for order numbers for our ERP system. For reasons I’d like not to get into, the number must be fairly easy to remember and must say something about the time (or at least sequential order) the order was placed. This eliminates things like UUIDs as an option, since those are both very hard to remember and lack any time information.

Another constraint is that I’d like the scheme to be able to handle multiple users generating numbers without any collisions. This can be done with something like a ticket server (which is plan B if this fails). This is where UUIDs would be perfect, if they met the other criteria.

I’m looking for a balance between minimizing the likelihood of collisions and the ease of remembering the number. This sounds impossible, but our business is small and these collisions would be very unlikely to happen even if the ID were a simple timestamp.

One idea was to essentially generate a number that represented a timestamp down to the current second, and append another few random digits to significantly decrease the chances of a collision. The more digits I add, the lower the probability of a collision, but the angrier my coworkers would be at me.

Is this even in the ballpark of sane? This seems like a problem others have run into and I’m curious to know how they solved it.

## I have a large text files containing some strings, and I was trying to see if there is way to convert those strings into binary

Example: 0 0 0 0 0 0 0 0 0 Tokyo Kanto Japan

I want the words Tokyo, Kanto, and Japan to be converted

## Why are some mice incompatible with Ubuntu/Linux?

I’m trying to buy a new mouse for my office PC, but most of the more advanced mice (and gaming ones) say they’re only compatible with windows. Why is that?

If I were to not need any of the advanced features of a mouse (RGB, key remapping etc), would any mouse work? Basically what I want to work is just pointing and clicking. More specifically, I’m interested in this mouse.

## JSLink for same list view webpart in a page hide some fields

we need to create single jslink file for 2 same list view webparts configured on the same page

here are the rendering rules that is defined

1. First Webpart should have some columns to be shown/some columns should be hidden
2. Second Webpart should have some columns to be shown/some columns should be hidden.

we found out something like this for conditional rendering ctx.wpq== “WPQ3”

how can we render the view with such condition any help would be appreciated?

## Custom keyboard shortcut does not work for launching some packages in Ubuntu 18.04 LTS

In Ubuntu 18.04 LTS, I cannot get the custom keyboard shortcuts to work for certain commands (mostly for launching Python IDEs). Specifically, custom keyboard shortcuts for neither `jupyter notebook` nor `spyder` work.

For example, I want to set “Ctrl + J” as the custom keyboard shortcut to launch jupyter notebook (instead of having to open a terminal and type `jupyter notebook` in the terminal).

When I go to Settings -> Devices -> Keyboard, and create a custom shortcut where “Ctrl + J” is the shortcut for the command `jupyter notebook`, it does not work. However, if I set the same shortcut (Ctrl+J) for other commands (like `firefox`, for example), then it works. This is also the case for when I try to set a shortcut for launching `spyder`.

tl;dr – I am able to set custom keyboard shortcuts for any command, but not for launching `jupyter notebook` or `spyder`.

I tried to replace the custom keyboard shortcut command with the `bash -c "command name"` option as suggested in this post, but that also does not work: see screenshot here.

Also – I do not have this problem on my laptop with the identical operating system, but this is an issue on my desktop for some reason.

Any help would be appreciated, Thank you!

## Hreflang tags working for some pages but not other

Hi

We have our site set up with multiple country subdirectories. We have hreflang tags on all of the sites. It is mostly working OK but in some regions, the UK or .com pages are displaying instead of the local Canada/Ireland versions. We know it is all set up correctly as it's working for 80% of the pages. Our website agency has also confirmed it is all correctly set up.

Does anyone know why the wrong pages might be displaying for some of our keywords? It is only happening for a few…

Hreflang tags working for some pages but not other