How to utilise multiple values from a single shortcode attribute?

i.e [test somevalues=1,2,3,4,5]

First time poster and alsoa php newb, I’m trying to add a feature to a plugin but I seem to keep triggering a debug notice from wordpress.

$  somearray = shortcode_atts([                'somevalues' => null,     ], $  atts); $  somearray['somevalues'] = array_map( 'trim', str_getcsv( $  somearray['somevalues'], ',' ) );  

The above does work, but it results in a debug Notice: wpdb::prepare was called incorrectly.

Is there a way to achieve the same without triggering the notice? It doesn’t have to be csv, I just need it to return a string of somevalues, rather than returning an int. I guess what I want it to act like is as if it was written like [test somevalues=one,two,three,four,five]

Any suggestions on how to get around this? Many thanks

How to utilise empty space in card list design?

My website’s main page displays summaries of users’ profiles. Each profile summary is encapsulated in a “card”.

Take a look at an example here (using dummy data).

enter image description here

For reference, the card width is about the width of the main content <div> on StackExchange websites.

As you can see, there is a lot of empty space between the main information area on the left and the contact button on the right.

I wish to avoid multiple cards per “row” as I think that is confusing; the benefits of the current design are that they are easy for our brain to follow and read information.

How to utilise when one able reduce 10000 bits input by 1 less 3/4 of times

How to utilise when one able reduce 10000 bits input by 1 less 3/4 of timesHow to utilise when one able reduce 10000 bits input by 1 less 3/4 of times

If one is consistent able reduces input bitstring of eg 10000 bits into 1 bit less 3/4 of times consistent

How would you go about implementing an algorithm to practical useful reduce eg a large input file by few bits?

For certain this is definite not simple straight forward You needs log(base2)[ C(400,300,100) ] bits to distinguish 300 ‘reduced by 1’ from 100 ‘not reduced’, ie more than the 300 bits total reduced

Perhaps some other method by grouping few of these together and manipulate??

Any general good idea worth to try , anyone?