Huffman encoding with several codes already assigned

The classic Huffman algorithm, as Wikipedia states, finds an optimal prefix-free binary code with minimum expected codewords length, given a set of symbols and their weights. Now, suppose codewords for some (but not all) symbols are already assigned (maybe in a suboptimal way). How should we assign remaining codewords to the remaining symbols so as to minimize the minimum expected codewords length, assuming that there exists at least one binary sequence such that none existing codewords have it as their prefix, and neither of the existing codewords is its prefix?

I wonder if there’s a known solution to this problem. Yet I have been trying to develop an own one borrowing ideas from this proof.

M2 Catalog Search: Getting ERR_TOO_MANY_REDIRECTS when trying to access a ‘search term’ assigned to an URL

I am trying to fine tune my catalog search. From the backend I’ve assigned, for example, to the following search term ‘iphone camera’ the following URL:

Now when I am entering the search term in the frontend, I am unable to access the aforementioned assigned page, adn instead have been getting ‘ERR_TOO_MANY_REDIRECTS’ error.

enter image description here

enter image description here

how are modules assigned? and how would you troubleshoot modules?

recently, I had a problem with my wifi addapter, where the solution was to blacklist ideapad_laptop in the file /etc/modprobe.d/blacklist.conf.

That got me wondering how the modules are assinged. My laptop is not an ideapad, and the wifi adapter is a Realtek Semiconductor Co., Ltd. RTL8111/8168/8411. How would I ever have guessed that? Beyond that, lets say i do lsmod

and get my list of drivers (modules).

... coretemp               16384  0 joydev                 24576  0 kvm_intel             204800  0 snd_seq_midi           16384  0 snd_seq_midi_event     16384  1 snd_seq_midi snd_rawmidi            32768  1 snd_seq_midi kvm                   593920  1 kvm_intel bnep                   20480  2 hid_multitouch         20480  0 8250_dw                16384  0 irqbypass              16384  1 kvm snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi crct10dif_pclmul       16384  0 crc32_pclmul           16384  0 snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi ghash_clmulni_intel    16384  0 intel_wmi_thunderbolt    16384  0 wmi_bmof               16384  0 arc4                   16384  2 snd_timer              32768  2 snd_seq,snd_pcm pcbc                   16384  0 uvcvideo               86016  0 ... 

A friend of mine has an HP laptop, with the same Realtek wireless adapter as I have, and his wifi is also not working. could he blacklist ideapad_lenovo and get the same result? I would guess not. how would someone find a kernel-module that is causing problems?

Best UI for items with assigned percentage

I want to get my user to create a list of items. Then each item in that list needs to have a percentage assigned to it. The tricky part is that the percentages need to add up to 100%. So let’s say the app is about customising a pizza top. The user will add items like so: onion 5%, cheese 45%, tomato 10% & mushroom 40%.

At the beginning the list is empty. So the first item will be 100% of the mix. I can deduct whatever percentage the user chooses for the second item from 100. But for the third and fourth items it gets difficult as I’m not sure which item I should deduct the item percentage from. Also there’s a chance that the user wants to edit the percentages after assigning.

What’s the best approach to this?

Online SharePoint List Sending Email to Assigned To

Hi we are trying to trigger an email to each user who is “Assigned To” in one of our SharePoint Online lists. We are not seeking approved from “Assigned To” user; we want the “Assigned To” user to be notified of the assignment with an email and link to the record. I looked through many templates but did not find anything that met our requirement for SharePoint Online. Can you tell me is this possible?

How to leverage Assigned to equals to [Me] for a SP or O365 group

I have a task list (SPonline OOTB) setup and in the AssignedTO people picker column i want to assign tasks to O365/SP Groups and not to a single user as that’s the requirement.

The MY TASks view uses ‘ASsignedTO’ equal to [Me] to show tasks only to current logged in user but noticed if I use a people picker column that has Group names tagged then equal to [Me] does not work.

For example, I added a SP group called TestSP with members: Test A and Test B. In task list then I added a people picker column called ‘GroupAssignedTo’ that allow people and groups. Then I added a task with title ‘TASK TEST’ and set GroupAssignedTO as TestSP. When I log in either as user Test A and Test B , my tasks view does not show TASK TEST.

Can this be made to work somehow, thoughts?

flow unable to send digest email to more than one assigned to user for a task assigned

I have a flow setup on a SharePoint OOTB Task list (not a custom list) which lists tasks assigned to different users. The flow runs every monday and sends one email/consolidated email out to Assigned to user listing all tasks (not separate email for each task). Below is the list screenshot.

enter image description here

The flow screenshots are below with formulas n all, I have added them in the order.

enter image description here enter image description here

enter image description here enter image description here

For some reason, let’s say for a task Assigned TO (people picker) column has two users listed for example, User A; UserB then the email only goes out to USER A but not User B so basically second user in assigned to column gets ignored for sending email out, I believe it has to do something in my flow variable formulas, can someone please review my flow and help with a solution. I just want to make sure that all users listed in AssignedTo column get one email listing all tasks they are responsible of.

case is not assigned in round robin fashion to queue members

I have used Round Robin algo for cases generated mentioned on site(, but there is something going wrong in my trigger.

I have checked my debug logs. record is not entering into if condition i have checked many times but still same issue.

case is assigned to queue and all it’s members getting notification where i need it to assign queue members in round robin fashion.

Thanks in advance!!