fisheye – How would one use filters with the “bulb”-like shape front element lenses?

fisheye – How would one use filters with the “bulb”-like shape front element lenses? – Photography Stack Exchange

photography basics – What’s the actual physics of diffusion filters?

Recently, I purchased a Tiffen Black Pro Mist which adds halation to highlights via diffusion. I read online that diffusion filters do not add data as the entirety of the effect can be recreated in post with more flexibility. It appears that the size of the halation is proportional to the intensity of the light source. What’s the actual physics of diffusion filters? Thanks in advance.

diffusion 1

enter image description here

enter image description here

8 – How to get a view result programmatically without exposed filters respected

I have some views of display page which I do not want to show to public if there would not be any result when accessed without any exposed filters set. I have a custom views access plugin and a custom access checking class which can handle the access granting.

My idea so far is that I would like to run the view a first time during access checking without exposed filters. In this way I could find out if the view would ever deliver any results. I tried it in the following way:

  $view = Views::getView($view_id);
  $result = $view->total_rows;

The problem is: as soon as an user comes to this page with query parameters in the url set by exposed filters these exposed filters are used for this view query as well. I did not find any way to tell the class in $view to execute without exposed filters. I even tried to set these exposed filters data in the following ways but even then the filter data in the query parameters is still used to filter the result set:

  $view = Views::getView($view_id);
  $view->exposed_data = ();
  $view->exposed_raw_input = ();
  $result = $view->total_rows;

I want to achieve that in this way because I want to use this logic for several views. It would be so smart to simply re-use the arguments and filters set in the views instead of hardcoding a new custom database query as the settings in the views might change. I hope someone can help me.

np complete – Are joins/pullbacks of bloom filters possible?

An interesting advantage of bloom filters over hash tables, that they share with bitarrays, is that they support taking unions & intersections of sets by simply doing bitwise or & bitwise and respectively. The union of two bloom filters is the same as the bloom filter generated by the union of the sets, while the intersection will at least always be greater than or equal to the bloom filter generated by the intersection of the sets.

This got me thinking, if I use bloom filters to represent tuples, is there a way to do it that allows for efficient projections, cartesian products, and joins, so that it could be used as a heuristic for constraint propagation?

filters – add onchange in select field form

I have the next case I need to add onchange to select
i am using resume job manager plugin,
in the main function I create the field

'sino' => array(
                'label'       => __( '', 'wp-job-manager-resumes' ),
                'type'        => 'select',
                    'options' => array(
                        'option-1' => 'SI',
                        'option-2' => 'NO'
                //'default'    => 'Discapacidad 1',
                'required'    => false,
                'placeholder' => '',
                'priority'    => 16

this is the generated html

<select name="sino" id="sino">
        <option value="option-1">SI</option>
        <option value="option-2">NO</option>

I need to add onchange=”choice1(this)

I don’t know what is the best way to add onchange = “choice1(this)”, my final html should look like this:

<select name="sino" id="sino" onchange = "choice1(this)">
    <option value="option-1">SI</option>
    <option value="option-2">NO</option>

the goal is to add the function name automatically

data tables – Filters applied overview – how to distinguish filters with the same name

I’m trying to find the best way, how to display filters applied overview.
The problem is, that some filtering options, may have the same name across different filter categories (also because they are created by the user).
We went through the most obvious solutions (different colors for different filter categories / different icons / adding filter categories to the overview) but neither work for us. There is just one solution that partially solves problem – adding category information on hover.
solution A rejected
solution B rejected
solution C rejected
solution D accepted but doesnt solve problem

Do you have any ideas on how to solve it, also for mobile devices without a mouse pointer?
Maybe do you know examples of filters overview, which work similar way?

8 – How can I use “OR” in the context filters of the view?

I have a site built with Drupal 8. I created a view with 2 relationships for 2 different entities. I added to this view 2 context filter (store ID) for the 2 relations.

My problem is that View doesn’t offer “OR” for context filters. I tested the following module but it does not work :

How can I use “OR” in the context filters of the view?

Can we rewrite the contextual filters or there are other solutions.

8 – How to use one of the 2 context filters in a view (with an OR)?

I have a view with 2 relations with the store for 2 different entities.

I want to filter the view with the store id for the 2 relationships.

I created 2 context filters in the views. You must use the first context filter OR the second.

How to do this ? If 2 filters are added, there are no results

enter image description here

Bypass Local File Inclusion(LFI) prevention filters

I have these two LFI filters and i want to bypass them

        $bad = str_replace('../','',$_GET('bad'));
        while( substr_count($bad, '../', 0)) {
            $bad = str_replace('../', '', $bad);

I tried various ways and i was not able to bypass them, also the php wrappers are mostly used in php 5.* versions and before and i have php 7.6 version.

filters – Adding arbitrary data via wp_style_add_data?

I stumbled across wp_style_add_data while reading though someone else’s code. I can see a list of keys that the function accepts and trying to add my own data-foo for example didn’t product any output however title did

Is there a filter to add any arbitrary key into this function? I tried following the source down but didn’t find anything

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123