Comparison of resource providers

It would be great and helpful to provide on this page a comparison between Azure Stack available resour ce providers vs. Azure Resource Providers. For example: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e7365a8d-a66f-b338-117a-abbb49bb4db0
Version Independent ID: 0e32791c-3fee-636f-27f6-37b08dfcd5b4
Content: Azure Stack Hub overview - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-overview.md
Service: azure-stack
GitHub Login: @Justinha
Microsoft Alias: justinha

@ddobric Thanks for the question! We will review and get back to you!

@ddobric Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@sethmanheim

@sethmanheim

Hi @TravisCragg-MSFT, can you please assign this issue to me? Thanks!

Hi @TravisCragg-MSFT, can you please assign this issue to me? Thanks!

@PatAltimore Not sure if you want to add this to your backlog for the article, so assigning to you. #reassign:@pataltimore

#reassign @BryanLa

@ddobric Very sorry for the slow response. As we are moving to a new feedback system, we need to close older issues. If you still need assistance, please open a new feedback request. #please-close


Only way to get REPL to work is by running sudo tidalvim

I had been able to run TidalCycles using SuperCollider on my Mac OS X - Catalina, but have been unable to get the vim-tidal plugin to work.  It seems like my user or user group has some permission issues, but I have looked all over the /usr/local/bin/ghc folder as well as changed the permissions to allow the user and user group to have read, write, and execute access.  I tried chmod, chown, chirp, but still the only way to get the vim-tidal REPL to work is by launching sudo tidalvim, which I’d rather not do.
Here is the what comes up in my console when I run tidalvim:

Here is what comes up when I run sudo tidalvim:

Any idea what I might be doing wrong?

Hi. Are you using Stack? In that case, I think the GHCI should be stack ghci instead of stack tidal. Try running:
$ export GHCI="stack ghci"
$ tidalvim

and see if it loads ghci correctly.


BUG: Datetimes should be converted in utc.

Fixes a bug where dataframes being returned were creating US/Eastern timestamps out of the ints, potentially changing the date returned to be the date before (at 19 hours).
>>> dt = datetime.datetime(2017, 1, 4, 0, 0)
>>> today_date_epoch = int((dt.date() - datetime.date(1970,1,1)).total_seconds())
>>> today_date_epoch
1483488000
>>> datetime.datetime.fromtimestamp(today_date_epoch)
datetime.datetime(2017, 1, 3, 19, 0)

With UTC, the timestamp is now essentially being created like the following:
>>> datetime.datetime.utcfromtimestamp(today_date_epoch)
datetime.datetime(2017, 1, 4, 0, 0)

Coverage decreased (-0.05%) to 87.161% when pulling c34e2e7b1aa7fb61d708005de520cc8b58eb57c2 on testing-utcfromtimestamp into 5121e3f8fd6cc249fb19f7c0a411297a7e4d3876 on master.

Coverage remained the same at 87.216% when pulling ead276105459943ae853ddf13ec3a7302381e497 on testing-utcfromtimestamp into 5121e3f8fd6cc249fb19f7c0a411297a7e4d3876 on master.


Make StartAsyncPollOp accept future.

Per @coryan 's suggestion, StartAsyncPollOp is always used in then, se we
might make it friendlier to use in such a case.
This change allows calling StartAsyncPollOp before the operation is
ready, which allows us to not capture arguments required for its
creating in yet another entity - that was cumbersome.

This change is

This is how it simplifies #2357:
https://github.com/dopiera/google-cloud-cpp/commit/cce4cbe9734e1a49eb2719180980ae0c15e628a5


HTML: support for the :data-uri: attribute

The :data-uri: attribute is currently not supported by AsciidocFX.

http://asciidoctor.org/docs/render-documents/

 My First Experience with the Dangers of Documentation
:imagesdir: myimages
:data-uri:

In my world, we don't have to worry about mutant, script-injecting warlocks.
No.
We have something far worse.
We're plagued by Wolpertingers.

== Origins

[.left.text-center]
image::wolpertinger.jpg[Wolpertinger]

When saving a document as HTML using HTML menu option "Save" or "Save as, images cannot be embedded as Base64 encoded strings inside the HTML document.
Is support for the :data-uri: attribute planned?

+1

Could you please try version 1.4.5 ? https://github.com/asciidocfx/AsciidocFX/releases
@rafik777 @wfouche

@rahmanusta
All i can say is, wow! Thanks for implemeting the data-uri feature.
Other's might find the following useful. This is how the start of all my documents are defined for use with AsciidocFX 1.4.5.  :data-uri: to create a self-contained HTML file and :toc!: to ensure that Table Of Contents information is not displayed in tables in the document (workaround for bug in Asciidoctor 1.5.3-beta?).
= Document Title
:sectnums:
:toc: left
:toclevels: 3
:data-uri:

:toc!:

= Section 1

= Section 2


feat: :sparkles: new design for group by

For future reference it would be lovely to see a screenshot of the implemented design in the comments or pr description


key too large

When  I run hardv fr.fc I get the following error fr.fc, line 3: key too large. My file for learning, fr.fc, is,
%% This is a card set for hardv(1)
%% Created at Feb 1, 1997
Q    I know.
A    Je sais.
%%
Q    I love you.
A    Je't aime
%%

My environment: Ubuntu Desktop 22.04LTS, hardv compiled from source.

The key and value should be separated by a tab character.
I suspect that the tab character is automatically replaced with white spaces by your editor.
Could you check that?

Yes, one of my editors does this. Using nano and tabs solved this issue for me.


How to use a (static) link text when the value is an URL?

Release number or git hash: v4.0.0-beta.1
Web browser version and OS: any

The link column takes a row value and pattern to generate a hyperlink. This could look like in the all_columns_type.html demo:

Data and column desc

Values: Row 0, Row 1, ...
Pattern: https://duckduckgo.com/?q=${escapedValue}

Result

Link href: https://duckduckgo.com/?q=Row 0 , https://duckduckgo.com/?q=Row 1, ...
Link text: Row 0, Row 1, ...

In my use case the value is already a valid URL and I want to use a static link text:
Data and column desc

Values: http://dx.doi.org/10.1109/TVCG.2013.173, http://dx.doi.org/10.1177/1473871619878085, ...
Pattern: <empty>

Result

Link href: http://dx.doi.org/10.1109/TVCG.2013.173 , http://dx.doi.org/10.1177/1473871619878085 , ...
Link text: http://dx.doi.org/10.1109/TVCG.2013.173, http://dx.doi.org/10.1177/1473871619878085, ...

Since the pattern is empty the link href and text are the same. However, what I would like to have is something like this:

Result

Link href: http://dx.doi.org/10.1109/TVCG.2013.173 , http://dx.doi.org/10.1177/1473871619878085 , ...
Link text: Open Full Text, Open Full Text, ...

Is there any pattern or way to set/configure the link text independently of URL pattern?

have you tried passing the data in the ILink format? https://github.com/lineupjs/lineupjs/blob/lineup-v4/src/model/LinkColumn.ts#L22

Thanks for the hint. Transforming each data value beforehand worked for this use case! 👍
rows.map((row) => {
  row['doi_link'] = {
    alt: 'Open Full Text',
    href: row['doi_link']
  };
}


Add DeviceFrames support

Bug/issue #, if applicable: 102182966
Summary
Adds support for DeviceFrames for images and videos. This PR re-adds #515

Dependencies

https://github.com/apple/swift-docc/pull/462

Testing
simpler.json.zip - this file is built with the docc branch above
Steps:

To test this you will need an archive that has @Image or @Video tags with deviceFrames.
You will also need to add deviceFrame definitions to your theme-settings.json file, as by default docc-render does not ship with frames. - see https://forums.swift.org/t/support-for-device-frames/62151 for more info

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran npm test, and it succeeded
[x] Updated documentation if necessary

@swift-ci test


update changelog

Thanks for the suggestion, Fil, but I want to use some different images and make further changes to the wording.


Support Editing Mirrors

Currently, puppet-aptly checks if a mirror by the same name already exists. If it does, no action is taken. This has the side effect of not allowing edits to be made to an already created mirror. Since aptly has an aptly mirror edit feature, puppet-aptly should look into adding support for this.

Hi,
Sorry for the (very) slow reply! I am looking into how we might be able to implement this. The current workaround would be to create mirrors with unique names. I'm assuming you'd like to be able to update the location/architecture/keys etc of a mirror without renaming or removing the mirror?

Hi there, @nhandler. Apologies for the thread necromancy — I'm closing this out so you don't get stuck with an unresolvable issue when this repo is archived.
We don't have anyone maintaining this repo any more as we no longer run Puppet. I'm about to archive this and a bunch of other Puppet-related repos that we haven't touched in a long time.
Thanks for taking the time to report this issue ❤


added my name

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

closing due to inactivity. feel free to reopen


Error creating transactions

Seems that the Wirecard authentication headers are not being saved, and this situation is not treated correctly.
We're getting the following error when trying to create transactions, with exception of store #1011, which have the Wirecard credentials already saved on sqlite:
TypeError: Cannot read property 'w_access_token' of undefined
    at internalApi.then.then.auth (/var/nodejs/wirecard/lib/wirecard-order-request.js:24:49)

Actually, the Oauth process wasn't completed, so it's natural to don't have the credential, but in this case you shouldn't return the payment methods on list payments, at the truth the Wirecard payment methods aren't available before Oauth completed.
Stop showing payments in this case would prevent the customer to try paying with unavailable payment method, the merchant would know that the app is not configured yet, and it would also prevent the error above.

Okay, I'll fix this in the next commit, I'll also prevent the application from returning payment_list if the application is not completely configured.

Thanks! If you've tested it after the referenced commit we can close this issue


downport TYPE cl_abap_elemdescr=>fixvalues unknown

Hello, error occurred when testing service in SICF:

https://github.com/abap2UI5/abap2UI5-downport/blob/main/src/01/01/z2ui5_cl_util_api.clas.abap#L1137
Thanks

Perfect, working, thank you.


Disabling Media Browser Only Partly working

Version of the custom_component
Master
Configuration
mqtt:
  host: <IP_ADDRESS>
  port: 1883
detectors:
  coral:
    type: edgetpu
    device: pci
#  coral2:
#    type: edgetpu
#    device: pci:1
logger:
  default: warning
snapshots:
  retain:
    default: 1
database:
  path: /media/frigate/clips/database/frigate.db
objects:
  track:
    - person
    - cat
    - dog
record:
  enabled: true
  retain_days: 0
  events:
    max_seconds: 300
    pre_capture: 5
    post_capture: 20
    retain:
      default: 1

cameras:
  porch:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASS@<IP_ADDRESS>:554/Streaming/Channels/102
          roles:
            - detect
        - path: rtsp://USER:PASS@<IP_ADDRESS>:554/Streaming/Channels/101
          roles:
            - record
    detect:
      width: 768
      height: 432
      fps: 8
    record:
      enabled: true
      retain_days: 10
      events:
        pre_capture: 15
        post_capture: 45
        retain:
          default: 7
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
    motion:
      mask:
      - 545,480,640,480,640,420,578,448
  diningroom:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live1.264
          roles:
            - detect
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live0.264
          roles:
            - record
    rtmp:
      enabled: False
    detect:
      width: 768
      height: 432
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  bedroom:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live1.264
          roles:
            - detect
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live0.264
          roles:
            - record
    detect:
      width: 768
      height: 432
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  livingroom:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live1.264
          roles:
            - detect
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live0.264
          roles:
            - record
#      output_args:
#          record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
    detect:
      width: 768
      height: 432
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  landing:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live1.264
          roles:
            - detect
        - path: rtsp://USER:PASSant@<IP_ADDRESS>:8554/live0.264
          roles:
            - record
    detect:
      width: 768
      height: 432
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  kitchen:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASS@<IP_ADDRESS>:8554/unicast
          roles:
            - detect
            - record
    detect:
      width: 1280
      height: 720
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  backdoor:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASS@<IP_ADDRESS>:8554/unicast
          roles:
            - detect
            - record
    detect:
      width: 1280
      height: 720
      fps: 8
    record:
      enabled: true
      retain_days: 0
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
  babycam:
    ffmpeg:
      inputs:
        - path: rtsp://USER:PASS@<IP_ADDRESS>:8554/unicast
          roles:
            - detect
            - record
    detect:
      width: 1280
      height: 720
      fps: 8
    zones:
      cot:
        coordinates: 361,669,956,660,949,376,368,382
    objects:
      filters:
        person:
          min_score: 0.4
          threshold: 0.5
    record:
      enabled: true
      retain_days: 1
      events:
        retain:
          default: 1
    rtmp:
      enabled: False
    snapshots:
      enabled: True
    mqtt:
      enabled: True
      timestamp: True
      crop: True
```

## Describe the bug
Trying to disable the Media Browser via the HACS custom component isn’t “Fully” working.
When disabling the Media Browser by unchecking the checkbox, the frigate folder is still visible (however nothing is inside this folder.) but the media browser is still enabled, and all cameras show in the camera folder, along with snapshots. I.e. “Kitchen Dog” etc. which still exposes all cameras and snapshots to all users.

## Pictures showing Media Browser to side when component is enabled
![60125964-E498-4B25-A8CE-0EBC2690B130](https://user-images.githubusercontent.com/25663177/171848424-f3aaeebb-242f-45a1-b624-0d1b3abf2075.jpeg)
![D5849D6D-3B92-4329-A7A4-821CCC78B165](https://user-images.githubusercontent.com/25663177/171848427-7fc82222-03ed-4804-b1a8-256e75b6484c.jpeg)
![8CF1A799-8CC2-45E4-82D1-0DD7FD1E5787](https://user-images.githubusercontent.com/25663177/171848430-c4fec274-9ff2-4250-97af-eeeeb771d26c.jpeg)
![EBA1743C-0087-4596-A1FB-C82F8A93EFA4](https://user-images.githubusercontent.com/25663177/171848433-60390fe8-87f8-4eba-a4d7-40de5f5e58b3.jpeg)

Those items show up in the media browser but that's not something that is actually the media browser. Those are from other entities that HA automatically puts in there, those entities would need to be disabled to not show up in the media browser.

How do I do that?
If the Frigate isn’t enabled, then Media Browser isn’t visible at all.

I’m want to be able to use the cameras in frigate and expose the motion sensors for automations etc as well as playback recordings, clips using the frigate card. but I don’t want all users to be able to access them.
If the frigate integration is disabled then Media Browser doesn’t show up at all, which solves the problem.
As soon as the integration is enabled this exposes all camera’s and snapshots to all users.

I think a change will be needed upstream in HA to accommodate that, the media source here is effectively disabled but HA is accumulating the camera entities, I haven't seen any documented way to stop that behavior.
Same thing as the disable itself. There's no built in mechanism for it which is why frigate still shows up, we just stop it so no media items are returned.

That’s really quite frustrating.
The cameras that are connected directly to HA (same cameras but with different names for clarity) do not show in the Cameras folders, just the integrated ones from Frigate.
Being able to completely disable Media Browser from showing at all would resolve this issue.
I assumed the issue was with Frigate as the Media Browser item only shows when the frigate integration is enabled. - So this still doesn’t get us any closer to stopping all users being able to access some cameras without disabling them completely, which effectively is the same as just not integrating Frigate.

I'll take another look and see but as far as the "media" goes they are all disabled. I have not seen any attributes on the camera entity itself to show up in the media browser or not.

I assumed the issue was with Frigate as the Media Browser item only shows when the frigate integration is enabled.

Yeah I mean it's true that it's coming from the integration but that doesn't mean we have a way to address it. Like I said will take another look though.

Thank you. I’ve disabled all the cameras and snapshots for now.
Thanks Again.

I went back through the media_source and we are not providing cameras anywhere if the media integration is disabled. This is the camera entity https://developers.home-assistant.io/docs/core/entity/camera/ docs which don't provide any info on this behavior.
@dermotduffy am I missing something? Seems to me it isn't currently attainable

I do not believe @NickM-27 is missing anything. The integration exposes "raw material" (e.g. entities, media) to Home Assistant, and HA chooses what do to with it. Nick's recent change has slightly hacked this functionality for clips/snapshots by just not exposing the media to HA in the first place if the user configures the integration like that, but that does not stop Home Assistant displaying the camera entities itself in the media browser (here is the source -- notice how this is not in this integration repo, it's part of HA core).
The real solution here is a HA feature that allows the media browser to be disabled for certain users. Anything else is just a bandaid I fear (e.g. disabling the entities).
@karldonteljames Why not champion this feature upstream on the HA Feature Request forum and see if someone bites?

Feature request has been added if anyone else is interested.

Linked to #251 and #262 if anyone else is interested.

Closing this as, unfortunately, working as best we can make it from this integration.


LoRAs are not loading correctly after unloading with disable_adapter()

I saw that this was worked on recently here: https://github.com/huggingface/peft/issues/367
I was hoping this would resolve the issue, but unfortunately not. Specifically I am using oobabooga/text-generation-webui. I submitted an issue there (https://github.com/oobabooga/text-generation-webui/issues/1820), but I'm not sure that the issue actually is with the webui implementation.
I have been trying to track down the problem, and it seems to be related to peft. What I can say for sure is that if I load a LoRA, unload it, and then load a second LoRA, the second LoRA will not be applied. Here are the test LoRAs that I've been using: https://huggingface.co/clayshoaf/AB-Lora-Test
I've been stepping through the code and the only difference I can see between loading from a fresh run and loading after another LoRA has been loaded/unloaded is that disable_adapter() is used to unload the first LoRA. This means that, somehow, the model is not being returned to it's original state.
Here is the code from LoRA.py which is the module that is called to load/unload LoRAs in the webui:
import logging
from pathlib import Path

import torch
from peft import PeftModel

import modules.shared as shared

def add_lora_to_model(lora_names):
    prior_set = set(shared.lora_names)
    added_set = set(lora_names) - prior_set
    removed_set = prior_set - set(lora_names)
    shared.lora_names = list(lora_names)

    # If no LoRA needs to be added or removed, exit
    if len(added_set) == 0 and len(removed_set) == 0:
        return

    # Add a LoRA when another LoRA is already present
    if len(removed_set) == 0 and len(prior_set) > 0:
        logging.info(f"Adding the LoRA(s) named {added_set} to the model...")
        for lora in added_set:
            shared.model.load_adapter(Path(f"{shared.args.lora_dir}/{lora}"), lora)

        return

    # If any LoRA needs to be removed, start over
    if len(removed_set) > 0:
        shared.model.disable_adapter()

    if len(lora_names) > 0:
        logging.info("Applying the following LoRAs to {}: {}".format(shared.model_name, ', '.join(lora_names)))
        params = {}
        if not shared.args.cpu:
            params['dtype'] = shared.model.dtype
            if hasattr(shared.model, "hf_device_map"):
                params['device_map'] = {"base_model.model." + k: v for k, v in shared.model.hf_device_map.items()}
            elif shared.args.load_in_8bit:
                params['device_map'] = {'': 0}

        shared.model = PeftModel.from_pretrained(shared.model, Path(f"{shared.args.lora_dir}/{lora_names[0]}"), **params)

        for lora in lora_names[1:]:
            shared.model.load_adapter(Path(f"{shared.args.lora_dir}/{lora}"), lora)

        if not shared.args.load_in_8bit and not shared.args.cpu:
            shared.model.half()
            if not hasattr(shared.model, "hf_device_map"):
                if torch.has_mps:
                    device = torch.device('mps')
                    shared.model = shared.model.to(device)
                else:
                    shared.model = shared.model.cuda()

I think I found the issue. shared.model is not originall a peft model (sorry if I'm not using the right phrasing). So when it loads a peft model into shared.model with shared.model = PeftModel.from_pretrained(shared.model, Path(f"{shared.args.lora_dir}/{lora_names[0]}"), **params) it causes the next attempt at loading to be another level deep into the "peftness". I have resolved at least a part of my issue, but I believe the rest of it may be resolvable withing the webui code.


Select allowAdditions not working

I'm to the point now where I think there may be something wrong with the semantic ui package as I've copied the select code directly from the docs and the allowAdditions option is still not working. Here is my code:

    Supported Languages
    <select name="languages" class="ui fluid multiple search selection dropdown" id="languages" multiple="">
          <option value="">Languages</option>
                {{#each langs}}
                       <option value="{{name}}">{{name}}</option>
                {{/each}}
     </select>

I'm instantiating the select with this code:
$('.ui.dropdown').dropdown({
            allowAdditions: true
        });

Is this a known problem/limitation? Or am I doing something wrong?

Your code snippet feels a bit incomplete but I managed to make the following working.
<template name="allowadditions">

      Supported Languages
      <select name="languages" class="ui fluid multiple search selection dropdown" id="languages" multiple="">
            <option value="">Languages</option>
                  {{#each langs}}
                         <option value="{{name}}">{{name}}</option>
                  {{/each}}
       </select>

</template>

Template.allowadditions.helpers({
  langs: [{name: 'English'}, {name: 'French'}, {name: 'Spanish'}]
});

Template.allowadditions.rendered = function() {
  $('.ui.dropdown').dropdown({allowAdditions: true});
}

@flemay The allowAdditions feature is working for you with that code? My code is virtually identical and when I type something in the select field I don't get the "Add ...." message that's supposed to show up. I left out the template js code for brevity.

This is driving me crazy... I've been trying to get it to work for hours and it won't work. It works the first time and then never works again. If I change the code it will work the first time and then never work again. No idea what is going on.

Have you tried it on a very small project? Like having just one template, jquery, semanticui and less-autoprefixer?

Nope. Just trying to get it to work in my production app.

So it is working in development environment then?

No it's not working at all in my app. I actually went a different route and scrapped using the semantic dropdown.


Option to define width in SideNav

I tried to ask on stackoverflow, but there was no response. I wish I can have an answer here.
Worrying if this is against Material Design, but for small screens, I used to set the sidenav width to the full width of the screen during initialization by using menuWidth: $(window).width();
And to allow user to close without selection, I add a close button that call $('.button-collapse').sideNav('hide');
also, in fixed sidenav, I prefer to set width to some percentage of the screen width instead of fixed 300px.
after upgrading to the version 1.0 I could not pass that parameter. So is it still possible to define width in the new version?

Yes, just change the width is css and it will work


Lock icon for latejoin GUI

About the PR
Adds a lock icon to the latejoin GUI, when you don't have enough playtime for the role. This better distinguishes which roles you are not allowed to play, and which roles are full. The icon is borrowed from the action bar.
While I was there I also added a margin between the job icon and the job title, and I cleand up some of the code.
Screenshots

Ready for re-review


Slot indices are 0-based instead of 1-based

Describe
Slot filter arguments start at index 0 instead of 1. Lua indices are 1-based, so it makes it difficult to write code that interoperates with the peripheral API.
Indices should be 1-based to be consistent with Lua and CC:T standards.
Steps to reproduce

Connect an ME Bridge and vanilla chest to a wired network
Create an ME system with item storage and connect it to the ME Bridge
Place items in the first and second slots of the chest
Run the following code;

local chestName = "left"
local chest = peripheral.wrap(chestName)
local bridge = peripheral.wrap("right")
for slot in pairs(chest.list())
  bridge.importItemFromPeripheral({fromSlot=slot},chestName))
end

Expected Results
All items are moved from the chest into the ME system
Actual Results
Slot 0 still contains the original item
Workaround
Reduce the indices sent to the ME Bridge by 1
Multiplayer?
Yes
Version
1.19.2-0.7.34r (Latest 1.19.2)
Minecraft, Forge and maybe other related mods versions
1.19.2 / Skies Expert
Screenshots or Videos
No response
Crashlog/log
No response

This is a breaking change and should fixed in 0.8

Reopen until released


Release 1.0.4

Hi, can you please release 1.0.4? Or when do you plan on doing it?
Thanks a lot!
Cheers,
Fabio

Hi, 1.0.4 should be available in few minutes.


Various fixes for TabContainer. also Fix issue #7752 ... v3

Renamed tab_changed signal to tab_selected. Which still emits a signal by reselecting the active tab.
Added tab_changed signal. Which emits a signal if and only if previous tab does not equal current tab.
Added get_previous_tab(). Which returns the previous shown tab. Note: only tab_changed can modify previous tab index.
Add documentation for the added function and signals. Fix a typo too.

This is a clean PR after I nuked the previous one. Sorry about that.
If anybody is interested to quickly test the changes, here is a tiny project:

Alright, I will make new PR with the changes you suggested :)


Export a SysfsGpioError type

The public API for this crate currently returns Result<_, std::error::Error>. This makes composing errors from this crate into a higher level error type difficult since we can not use the usual std::convert::From and try! idioms.
I propose a SysfsGpioError type is added and returned as the Error type for methods returning a Result. Not having though about it much yet, it might look something like this.
// Assuming these are all wrapping a lower level error of some sort, otherwise they
// could just take a string or nothing (add description in the Error impl).

#[derive(Debug)]
pub enum SysfsGpioError {
    SetDirection(Error),
    SetValue(Error),
    Export(Error),
    Unexport(Error),
    // etc
}

And then consumers can easily impl From<SysfsGpioError> for their error type.
Assuming this is something you're interested in, and that you don't get to it first, I'll put a PR up soon.
Thanks!

Good thinking.  I agree that things can be much better than what is currently present.  I have actually started to figure out if it makes sense to define a generic trait and set of errors for a GPIO abstraction that can be shared across projects (e.g. implemented by this lib for Linux but also usable in something like zinc.rs).  In that case, we would probably be hiding a bit more information (especially on errors) but that is probably worth it for the methods covered by the trait.
Here's what I have so far: https://github.com/posborne/rust-gpio/pull/1.  I would love additional feedback.
With that in mind, I don't want that to hold up any improvements that could be made here.  There is a lot of limitations with no_std, so I think that even if the trait is implemented eventually, we will want to layer that impl on top of a set of methods similar to what exists today.
With the snippet you provided, I'm not 100% convinced the close match to the individual methods makes sense, but I'm not sure of a good alternative right now.

I ended up coming to the same conclusion about error variants. There is a PR (#8) up which contains the changes I proposed. Looking forward to your feedback.
The idea for generic GPIO traits is great, and I would be happy to look at posborne/rust-gpio#1. #[no_std] is something I've thought about a little but not enough to be aware of all the issues.

Yeah, #[no_std] is tricky.  I'm waiting until some of the core stabilization fallout finished up before going after that space too aggressively: https://github.com/rust-lang/rust/issues/27701


findByIds resolver issue with multiple Schemas using useDb()

Previously when there was only one schema this worked, where source.attributes is an array of MongoIDs.
AttributeGroupTC.addRelation(
'attributesData', {
    resolver: () => AttributeTC.get('$findByIds'),
    prepareArgs: {
      _ids: (source) => source.attributes,
    },
    projection: { attributes: true },
  },
);

After multiple schemas, findByIds resolves to null, only findMany works like below:
schema.js
const getSchema = (db: any) => {
  const GQC = new ComposeStorage();

  const ViewerTC = GQC.get('Viewer');
  GQC.rootQuery().addFields({
    viewer: {
      type: ViewerTC.getType(),
      description: 'Data under client context',
      resolve: () => ({}),
    },
  });
  const fields = {
    attributeGroup: AttributeGroup.getTC(db).get('$findOne'),
    attributeGroupList: AttributeGroup.getTC(db).get('$findMany'),

    attribute: Attribute.getTC(db).get('$findOne'),
    attributeList: Attribute.getTC(db).get('$findMany'),
  };

  ViewerTC.addFields(fields);

  return GQC.buildSchema();
};

export default { getSchema };

attribute.js
const AttributeSchema = () => new Schema({
  _id: Schema.Types.ObjectId,
  name: String,
  ...
},
{
  collection: 'attributes',
});
const cache = {};

const getTC = (db: any) => {
  if (cache[db.name] && cache[db.name].TC) {
    return cache[db.name].TC;
  }
  const dbModel = db.model('attribute', AttributeSchema());
  mongooseTypeStorage.clear();
  const AttributeTC = composeWithDataLoader(composeWithMongoose(dbModel), { cacheExpiration: 10000 });
  cache[db.name] = {
    ...cache[db.name],
    TC: AttributeTC,
  };
  return AttributeTC;
};

export default { getTC };

attributeGroup.js
import Attribute from './attribute';

const AttributeGroupSchema = () => new Schema({
  _id: Schema.Types.ObjectId,
  name: String,
  attributes: [Schema.Types.ObjectId],
},
{
  collection: 'attribute_groups',
});
const cache = {};

const getTC = (db: any) => {
  if (cache[db.name] && cache[db.name].TC) {
    return cache[db.name].TC;
  }

  const dbModel = db.model('AttributeGroup', AttributeGroupSchema());
  mongooseTypeStorage.clear();
  const AttributeGroupTC = composeWithDataLoader(composeWithMongoose(dbModel), { cacheExpiration: 10000 });
  AttributeGroupTC.addRelation(
    'attributesData', {
      resolver: () => Attribute.getTC(db).get('$findMany'),
      prepareArgs: {
        filter: source => ({
          _operators: {
            _id: { in: source.attributes },
          },
        }),
      },
      projection: { attributes: true },
    },
  );
  cache[db.name] = {
    ...cache[db.name],
    TC: AttributeGroupTC,
  };
  return AttributeGroupTC;
};

export default { getTC };

Here is my package.json
    "graphql-compose": "^2.2.0",
    "graphql-compose-connection": "^2.2.2",
    "graphql-compose-dataloader": "^1.1.2",
    "graphql-compose-mongoose": "^1.6.0",

How many databases do you have?
Anyway ModelTC generated from some MongooseModel which obtained from MongooseSchema & MongoConnection. So ModelTC resolvers and relations are always binded to one database.
If you want to construct resolve method which loads data from different databases, you need to do it manualy. Something like
import { getProjectionFromAST } from 'graphql-compose';

AttributeGroupTC.addFields({
  attributesData: {
    type: AttributeTC,
    resolve: (source, args, context, info) => {
      if (context.something) {
        return AttributeTC_DB1.getResolver('findMany').resolve({
          source, info, context,
          args: { _ids: source.attributes },
          projection: getProjectionFromAST(info),
        });
      } else {
        return AttributeTC_DB2.getResolver('findMany')...
      }
    },
  },
});

@nodkz ,
Right now I have just two databases, I have updated the code in the issue to clear any confusion about using the same TC while resolving. As you see each TC file maintains its own internal cache and returns only the TC for the ssdb mongoconnection passed as argument. My concern is every other resolver works as intended except findByIds. I had to change all the findByIds to findMany and it works as mentioned in the above code. BTW getProjectionFromAST didn't work when used as below:
AttributeGroupTC.addFields({
  attributesData: {
    type: Attribute.getTC(db),
    resolve: (source, args, context, info) => {
      return Attribute.getTC(db).getResolver('findMany').resolve({
        source,
        info,
        context,
        args: { _ids: source.attributes },
        projection: getProjectionFromAST(info),
      });
    },
  },
});

It's very strange that findMany works, but findByIds does not. They have almost the same code.
Let's keep this issue open. Maybe somebody can help with debugging this issue.
PS. With getProjectionFromAST I could make typo in demo code, cause not tested it. Anyway it works in the same manner when Resolver converting to FieldConfig for GraphQL.


Pass inner decorations to nodeView on init and update

This PR passes the decorations applied to a nodeView's content to its initialiser and update() method.
This enables the use case discussed here – Prosemirror instances nested within nodeViews will be able to make use of their parent's decorations.

Merged, and followed up by https://github.com/ProseMirror/prosemirror-view/commit/25d0c11a49ece78d1288ac5e7d07e1434177bfde


Getting the below error

Description
File Upload not working
Steps to reproduce
Results
jquery.min.js:5 POST http://localhost/jQuery-File-Upload/server/php/ 404 (Not Found)
Expected
Need to upload the recorded file to a path.
Actual
Getting below errors.

jquery.min.js:5 POST http://localhost/jQuery-File-Upload/server/php/ 404 (Not Found)
undefined:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().

Error output

jquery.min.js:5 POST http://localhost/jQuery-File-Upload/server/php/ 404 (Not Found)
undefined:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().

Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
what version of videojs does this occur with?
browsers
I have tried in chrome
OSes
On mac OS

Please help me on how to fix this.

This is a jQuery-File-Upload related issue, please ask for help there. Here's the documentation for the basic PHP setup I used: https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#using-jquery-file-upload-ui-version-on-php-websites


v0.7 document？

Is there a 0.7 version of the document for reference? thanks

You can make locally by make doc in the tvm root directory.
cc @hogepodge @tqchen shall we consider hosting docs of previous versions?

We can start to looking into it for the next release cycle.


trying to convert a project results in an error

Whenever I have tried to convert a scratch project (I have tried it with three different projects from different people, all public), it fails, downloading "codesandbox.json" and having the error "server problem", on at least two different browsers. Any help to get this to work would be greatly appreciated.

Addendum: it seems like every time it tries to load the project, it gets an error 500 in the dev console.

Hopefully this old is now resolved. If not, let me know.


Revert CI config after Epidata v4 migration is complete

https://github.com/cmu-delphi/delphi-epidata/blob/977c8336fdcf4cd070be345d971a5b319836270d/.github/workflows/ci.yaml#L111

We need to temporarily build containers from  v4-schema-revisions-release-prep. This is a reminder to revert that change at some point.

Also, after v3 is no longer running, we can remove the SQLALCHEMY_ENGINE_OPTIONS line from cmu-delphi/delphi-ansible-web:vars.yml, or at least remove the only configuration entry in it.  It has been superceeded by defaults in cmu-delphi/delphi-epidata

you may want also to close https://github.com/cmu-delphi/delphi-epidata/pull/916 whenever youre done with this issue

Fixed in #978


Damage counter effect

Whenever anything takes damage there should be a colored text that spawns showing the amount of damage that was done as a float with a single decimal place. This will aid in helping players understand exactly how much damage they are dealing and receiving.

#82


Incorrect Rotation In Exported Animation

The included example shows a simple animation of a small (pointed) "box" moving up, rotating, then moving down. However when exported as a glTF (.glb) there is visible rotation occurring on the small box as it moves up. This can be viewed in https://gltf-viewer.donmccurdy.com/ and event re-importing the file back into Blender. It's also occurring in my glTF importer.
The problem appears to be caused from setting the interpolation mode to Bezier (default in Blender). The exporter sets the interpolation mode to "CUBICSPLINE" and for some reason on the first few keys (where the rotation value is actually <0,0,0,1>), the in/out tangent values are non-zero.
If I change the keys to be Linear in Blender, this behavior does not occur.
To Reproduce
Steps to reproduce the behavior: TestAnimation.zip
(Using Blender 2.80 release)

Import the included TestAnimation.glb file into https://gltf-viewer.donmccurdy.com or re-export the included TestAnimation.blend file.
Play the SmallCubeAction and note the small cube rocks back as it translates up despite the rotation keys having no rotation in Blender.
Also note there is no weird rotation as the box translates back down.

Expected behavior
The small box should not have rotation as it translates up. It should look the same as it does when the box translates back down to its initial position matching the animation seen in the original Blender file (TestAnimation.blend).

Thanks for reporting, but this bug is already fixed in master.
You can test it downloading a current build on builder.blender.org
Note that "always sample animation" is on by default now. You will have to uncheck it, in "animation" tab of exporter option.

@julienduroure Great thanks! Sorry, I thought I'd searched for a previous bug about it.


Uart - creat GUI to interact with the uart

The GUI should be a simple button that allows to write memory sv files to the FPGA according to specific offset.
There should be buttons for each tile.
Detect which COM port is used
Create the sequence of writing correctly to fabric

I switch that issue from In progress  to Todo. I will come back to that ASAP


Old site is cached very aggressively in the browser

The old Gatsby stack had a feature that caused the page to be cached very aggressively. In detail, it is a (local) service that ensures that the page is available even if it is not accessible.
We are monitoring this for a few days and we may consider forcing this update with the information provided on https://github.com/gatsbyjs/gatsby/issues/15623

Is this issue already fixed?

Technically yes butP people need to visit once the new page that will trigger the script that will delete this old worker, for example by sending them to https://cardano.org/research/

That is not ideal and and a bit noisy.


Migrating from importMap/importMapPath to imports ?

Do you have any examples about migrating from importMap/importMapPath to imports ?
Consider the following
const {files} = await Deno.emit(`data:application/javascript;base64,${encode(typescript)}`, {
  bundle: "classic",
  importMapPath: "imports.json",
  importMap: {imports: {"@project/": "/my/custom/path/"}},
})

Tried the following with x/emit based on typing signature:
const {code} = await bundle(`data:application/javascript;base64,${encode(typescript)}`, {
  type: "classic",
  imports: {"@project/": ["/my/custom/path/"]},
})

But it results in the following:
 Caused by: RuntimeError: memory access out of bounds
          at dlmalloc::dlmalloc::Chunk::size::h21e6256dacef1d17 (https://deno.land/x/emit@0.0.1/lib/deno_emit_bg.wasm:1:3790959)
          at __rdl_realloc (https://deno.land/x/emit@0.0.1/lib/deno_emit_bg.wasm:1:1391601)
          at __rust_realloc (https://deno.land/x/emit@0.0.1/lib/deno_emit_bg.wasm:1:3716800)
          at __wbindgen_realloc (https://deno.land/x/emit@0.0.1/lib/deno_emit_bg.wasm:1:3586796)
          at passStringToWasm0 (https://deno.land/x/emit@0.0.1/lib/deno_emit.generated.js:92:11)
          at bundle (https://deno.land/x/emit@0.0.1/lib/deno_emit.generated.js:175:50)
          at bundle (https://deno.land/x/emit@0.0.1/mod.ts:83:10)
          at async A.#deno (file:///workspaces/itsudeno3/core/components/connection.ts:117:30)
          at async A.deno (file:///workspaces/itsudeno3/core/components/connection.ts:76:28)
          at async Object.<anonymous> (file:///workspaces/itsudeno3/builtin/connection/local/mod_test.ts:23:35)

I think there are issues with this and the implementation wasn't complete.  #15 may have partially fixed it, but it needs tests for it and created as a more complete feature.

The imports do not seem to be handled correctly in the code.  On this line: https://github.com/denoland/deno_emit/blob/c6f061dd8f9bb0c2f2b0709a4e9aaf657f4169b4/mod.ts#L160
...the import map is passed as a JSON string as the third argument to jsBundle/bundle.  But here: https://github.com/denoland/deno_emit/blob/c6f061dd8f9bb0c2f2b0709a4e9aaf657f4169b4/lib/emit.generated.js#L226
...the imports are supposed to be the fourth argument.  I tried fixing this, and I got an error "invalid type: string, expected a map."  So the import map is not supposed to be stringified.  I fixed that.  Now I am getting an error: "Error: relative URL without a base."  All the URLs I am passing into bundle are absolute.  Maybe it is something about relative imports.

I'm seeing the same thing as @dgreensp - it appears that the imports is being passed as bundle_type because imports is being passed in the third argument in mod.ts and shows as the fourth argument in emit.generated.ts:
https://github.com/denoland/deno_emit/blob/c6f061dd8f9bb0c2f2b0709a4e9aaf657f4169b4/mod.ts#L157-L163
https://github.com/denoland/deno_emit/blob/c6f061dd8f9bb0c2f2b0709a4e9aaf657f4169b4/lib/emit.generated.js#L222-L228

Yes indeed you're correct, the order of argument is broken and it isn't expected to be stringified
--- a/mod.ts
+++ b/mod.ts
@@ -157,8 +157,8 @@ export async function bundle(
   return jsBundle(
     root.toString(),
     bundleLoad,
-    JSON.stringify(imports),
-    undefined,
+    options.type,
+    imports,
     undefined,
   );
 }

It seems that some code actually handle the imports record:
https://github.com/denoland/deno_emit/blob/d2b0c0ce8bd46a568278a892e339c902e493789a/wasm/src/lib.rs#L156-L166
And it is indeed passed to the bundler:
https://github.com/denoland/deno_emit/blob/d2b0c0ce8bd46a568278a892e339c902e493789a/wasm/src/lib.rs#L168-L171
Which is forwarded to deno::create_graph:
https://github.com/denoland/deno_emit/blob/d2b0c0ce8bd46a568278a892e339c902e493789a/rs-lib/src/lib.rs#L23-L32
But I'm pretty sure the param name is actually misleading because the following comment is displayed:
  /** An optional record of "injected" dependencies to the module graph. This
   * allows adding things like TypeScript's `"types"` values into the graph or
   * a JSX runtime. The key is the referrer specifier to use as a base when
   * resolving relative specifiers. The value is any module specifiers that are
   * being imported. */
  imports?: Record<string, string[]>;

It seems to be totally be unrelated to import map (despite the variables name being labeled as maybe_import_map in the code)
Slightly above, there's another option for deno::create_graph which is:
  /** An optional callback that allows the default resolution logic of the
   * module graph to be "overridden". This is intended to allow items like an
   * import map to be used with the module graph. The callback takes the string
   * of the module specifier from the referrer and the string URL of the
   * referrer. The callback then returns a fully qualified resolved URL string
   * specifier or an object which contains the URL string and the module kind.
   * If just the string is returned, the module kind is inferred to be ESM. */
  resolve?(specifier: string, referrer: string): string | ResolveResult;

Since it's explicitely stated "import map" in the option, I'm pretty sure it's actually this option that needs to be bound, and the imports param is useless 🤔

@lowlighter

It seems to be totally be unrelated to import map (despite the variables name being labeled as maybe_import_map in the code)

This was my conclusion as well. I found that import map resolution is never done in deno_graph. It is done in the CLI. I have asked whether this logic should be moved from the CLI to deno_graph first, or reimplemented in deno_emit.


how to run grapheditor in angular

how to run the grapheditor example in angular 4?

This is a duplicate of https://github.com/jgraph/mxgraph/issues/88


Incompatible with Terralith/WWOO and probably other biome mods

Tested with
MC: 1.20.1
Fabric:  0.14.22
Terralith: 2.4.5
WWOO: 3.2.1
Profundis: 1.6.0
The game does not crash, no errors in the log, but no structures/biomes from Profundis generate.
I'd love to use this mod for some cave biomes alongside other biome mods, any change we could get a compatibility patch?

Tested a similar load with TerraBlender added to see if that helped- nope, so consider that an issue as well.

Some how I manage to get this working with WWOO + Tectonic + TerraBlender
Just change Expanded Ecosphere config mode to "COMPATIBLE"

happens for me with blooming biosphere as well


Profile - Time Zone is not updated on secondary device after changing on main device

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go https://staging.new.expensify.com/
and login on 2 devices
Change Time Zone in profile on main device
Verify Time Zone on secondary device

Expected Result:
Time Zone should be updated
Actual Result:
Time Zone is not updated
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/234680900-adb1ef08-98ba-4a9b-97b9-6d3c35dd0945.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ad9119a009eaf79a
Upwork Job ID:<PHONE_NUMBER>669793792
Last Price Increase: 2023-04-26

Triggered auto assignment to @conorpendergrast (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I don't know why we are expecting this to work in realtime, but it would require a backend change and therefore is an Internal issue. Gonna take a quick look at this and will put it back where I found it if not immediately clear...

Job added to Upwork: https://www.upwork.com/jobs/~01ad9119a009eaf79a

Triggered auto assignment to Contributor Plus for review of internal employee PR - @0xmiroslav (Internal)

This works fine for me.

@kbecciv did we try testing on some other platform combinations to see if this is unique to Android & Windows?

@marcaaron I can request the QA team to reproduce the issue with different devices. Let me know and I will do that.

Yes please, let's reopen this if we can reproduce it. I am guessing this was some kind of temporary disruption because I can't reliably reproduce.

I could reliably produce this, when changing on my OSX native client (1.3.15-0) and iOS client app (1.3.15-5). To compare, I also changed pronouns between devices (always by changing the OSX app setting first).
Changing pronouns: 20 seconds, precisely, three times
Changing the Automatically determine your location setting: within less than a second
Changing timezone: I gave up after 2 minutes, it just didn't change on the mobile app (even after I exited and re-entered the Profile page)
So, yeah, reproduced!

@marcaaron This is internal, correct?

yeah, I am going to guess that this is related to some of the issues on staging with Pusher and multiple events stuff. I don't really have a great handle on what exactly is happening there and I'm going OOO next week so I'd probably suggest that we re-add the engineering label and get someone else to help if this is urgent.
FWIW I think the 3 week warning about WAQ is a bit unreasonable since it's only been "reopened" for 2 days.

I think it's worth making progress on this, this week, so I re-added the label!

I think we don't need a C+ here either, so unassigned @0xmiroslav

Thanks @conorpendergrast, gonna re-add myself so I can catch up when I get back.

@marcochavezf Have you had any time to take a look at this one?

FYI, this was closed for around 2 weeks, so we probably have a little more leeway but we should still get this moving

Sorry, I've been focused on anonymous accounts that should be live next week.

Waiting on @marcochavezf, who is prioritising anonymous accounts

I'm back from OOO now - but this issue is not a priority for me. Having user settings update in realtime on multiple devices is pretty "edge case". So, I am going to sit on it until I have cycles to investigate. If someone feels this is more urgent then feel free to take over.

Going to drop this to weekly. I have higher priority things to look at.

Not overdue. Still just a lower priority bug and not something that people are going to do frequently or notice is broken IMO.

Hi, I'm Michael (Mykhailo) from Callstack and I would like to work in this issue.

Hey Michael (Mykhailo)! As this is an internal issue we're only able to have internal engineers contribute, I'm sorry to say! The label Internal versus External and Help Wanted are the key signifiers here. Thank you!

I've got a few things to check out in NewDot today so I will try to prioritize this and get it ❌ out or at least put some kind of summary together for why it's happening.

I'm sorry everyone, but again, I can't reproduce this.
https://github.com/Expensify/App/assets/32969087/8748fd14-6562-4851-8ddc-6e16c831ff5f
Without a reproduction there is not much that is actionable for me to do here.
Some possibilities come to mind...

Pusher connection has failed and realtime features no longer work for some reason
API issue caused the update to not happen for some reason
Connectivity issue on the user's end caused an update to be missed for some reason

Without a specific and recent example to investigate logs and look into I don't feel like there is anything meaningful that I can achieve with this assignment.
If there is some issue with Pusher then the changes we are planning to introduce as part of the Reliable Notifications and Improve Pusher project should help to a certain degree.
We may never have a "perfect realtime" app for a variety of reasons. But we are working on making things as stable as we can.
@conorpendergrast how do you want to proceed?

Shoot, sorry, I missed this last week.
That's so weird, when I re-tested today, between my real New Expensify account on iOS and OSX, it doesn't ever seem to update the time zone. That's not realtime or not, I mean that the timezone never appears to update on the second device

eg, this is<EMAIL_ADDRESS>signed in Staging in Chrome and Safari Incognito. In this fascinating 40 second video, you see me changing to manually set timezone in Safari, and then changing the time zone in Safari, and nothing changes in Chrome
https://github.com/Expensify/App/assets/5802477/9d4a15fe-130d-4eeb-a79a-089122c48d9a

Guh ok, there has to be something else going on here. Nothing I do in this account<EMAIL_ADDRESS>in Safari Incognito, is updating in Chrome.
eg 1: pronouns
https://github.com/Expensify/App/assets/5802477/d4d8e0be-363d-4a58-a179-327b0fce58ea
eg 2: Profile name:
https://github.com/Expensify/App/assets/5802477/b48aa33b-95ac-4054-a9fe-d98ca6d9d485

Right, I tried and brand new account<EMAIL_ADDRESS>and that worked like absolute magic across Chrome and Safari Private:
https://github.com/Expensify/App/assets/5802477/3706c1db-53c2-4dca-a94e-bb1a014ec002

yep, works fine for me. A bit slow maybe. But updates fine.
I did check logs though and it looks like you are getting some kind of network error on iOS at least
https://www.expensify.com/_devportal/tools/logSearch/#sort=asc&size=10000&query=blob%3A "UpdateSelectedTimezone" AND email%3A"manager.pendergrast%40expensicorp.com" AND timestamp%3A[2023-07-14T00%3A00 TO 2023-07-15T23%3A59]
Unfortunately, the errors are also really opaque so I can't give you many options for how to resolve that.
Have you tried completely logging out of those devices, clearing all stored data, and logging back in?

This log is also interesting...
https://www.expensify.com/_devportal/tools/logSearch/#query=request_id:("7e6a1cd47cc63622-MAN")+AND+timestamp:[2023-07-14T12:29:06.134Z+TO+2023-07-14T14:29:06.134Z]&index=logs_expensify-023302
It shows that you are updating like one zillions of people when you change your timezone so that is probably why you are experiencing this as "broken". I bet it's just slow.
Curious to get some thoughts from @yuwenmemon on this. I can't really think of how to make this more performant off the top of my head, but we can probably prioritizing updating the requesting account first.

Hmm ok so, that didn't work. I have an account locally with about 4000 personal details and something about it is borking. I got this error locally:
[alrt] Push_API - Failed sending parallel pusher event Pusher\ApiErrorException - 659502eeccc0ff081a5078da3800d059 ~~ exceptionMessage: 'cURL error 6: getaddrinfo() thread failed to start#012 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api-mt1.pusher.com/apps/792137/batch_events?auth_key=ac6d22b891daae55283a&auth_timestamp=1689384679&auth_version=1.0&body_md5=08b76b1e4c8a96a7e8d4041b2b8e1df4&auth_signature=1029dabe8e675dd66d229514d77303c9302ed4f95b020b4ad65ab4aa36fed149' exceptionFile: '/vagrant/Web-Expensify/vendor/pusher/pusher-php-server/src/Pusher.php' exceptionLine: '846' exceptionCode: '0'

Hmm ok so, that didn't work. I have an account locally with about 4000 personal details and something about it is borking. I got this error locally:
[alrt] Push_API - Failed sending parallel pusher event Pusher\ApiErrorException - 659502eeccc0ff081a5078da3800d059 ~~ exceptionMessage: 'cURL error 6: getaddrinfo() thread failed to start#012 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

I am not too familiar with the parallel pusher event stuff. @iwiznia do you have any ideas?

Seems like a network problem since we failed to resolve DNS... I assume that's just one instance though and not reproducible, right?

we can probably prioritizing updating the requesting account first. That way it will at least "look fast" for the person who is taking the action.

That makes sense to me :+1: - updating the timezone for everyone else is not as important for the "immediate" factor.

I assume that's just one instance though and not reproducible, right?

@iwiznia I checked logs and it looked sort of like it has happened but triggered by contributors so I think maybe not widespread at all or only affecting dev (maybe Pusher is rate limiting the dev version of the app).

updating the timezone for everyone else is not as important

@yuwenmemon Yeah, unfortunately - that didn't work (at least not locally) but we can try to test it out on production and see if it helps? I'll send a PR with the small change.

It will happen when it happens.

@isabelastisser I'm on parental leave; re-assigning! @marcaaron is working on the PR to fix this, and I don't think you'll need to do anything at all here as the bug reported was Applaused and it's 100% internal

Did time heal this bug? I think it should be fixed. Unless there is something causing it to time out. Reliable updates should also help with weird edge cases like this.

@marcaaron, does it mean that you will work on this? 😃

It means maybe nobody needs to work on it anymore. Reliable updates should solve mostly everything related to Pusher updates not working. There's not really any leads to investigate further so I can't justify prioritizing it as a Daily.
I am in favor of closing it to avoid further distraction and reopening if we run into it again after Reliable updates is enabled.
Curious to get @danieldoglas' thoughts though. This looks really similar to some other issues related to updating the timezone timing out.

Yeah, this should actually be testable by applause now and work. Even if they don't receive the update at that same moment, once they do a new action, we'll update the state.

Thanks for the context, @marcaaron and @danieldoglas!
@kbecciv, can you please see the comments above and post an update after you test it? Thanks!

Issue is reproduced in latest build <IP_ADDRESS>
https://github.com/Expensify/App/assets/93399543/7c068aa4-18ae-413e-8d99-3bab125dd30d

@marcaaron @danieldoglas, this is still reproducible. Should we start working on this?

I think we can make this external and let people understand what's happening. Reliable updates are up and should work normally for applause. if this still doesn't work, I'm not against investigating it

Great, thanks @0xmiroslav !

Waiting for proposals

@0xmiroslav please leave updates on any daily issues you are assigned to avoid them going overdue

Issue not reproducible during KI retests. (First week)

@marcaaron It looks like the issue can no longer be reproduced, so I will close it now. Please feel free to reopen it if you disagree; thanks!


Allow bar tiles to sort by variable when there is only one place

This PR allows setting sort="ascending" and sort="descending" to sort bars/lollipops by variable when there is only 1 place.
Currently, we only sort by place, so when a single place but multiple variables are passed to the bar tile, no sorting happens even though there are multiple bars. With this change, we'll sort by variable when there is only 1 place available. This allows sort to behave more intuitively for users.
Screenshots:

@pradh FYI, this change should help with queries like "Top jobs in California"


Fix or disable conversion warnings?

By default, Xcode adds warnings for implicit conversions that lose precision like:
Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int')
Noticed when testing the XCode output of #75. There are 10 instances of this and it's pretty annoying in the build logs.
For example:
size_t ComputeCapacity(uint32_t bits, size_t max_elements, uint32_t fpbits) {
    if (bits == 0) return 0;
    uint64_t base_fpbits = BaseFPBits(bits, max_elements);

Is there any interest in cleaning these up? Or would it be preferred to disable them with -Wconversion ?

Quick naive fixes here. Want me to clean them up and PR?


Underline does not work on sound

Basically what the title says. I do not get an underline for the sound. This is the code:
[module/volume]
inherit = module/theme
type = internal/volume

format-volume-background = ${colors.background}
format-volume-foreground = ${colors.foreground}

format-underline = #FFFFFF
; Soundcard to be used
; Usually in the format hw:#
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default

master-mixer = Master
format-volume = <ramp-volume> <label-volume>
format-muted = <ramp-volume> <label-muted>
label-volume = %percentage%
label-muted = muted
label-muted-foreground = #aaa

ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-headphones-0 = 

As with the background and foreground you need to set the underline color for format-volume so set format-volume-underline = #FFFFFF instead of format-underline = #FFFFFF


Errors when parsing two CRS files

Hello team. Thank you for your work in this project. I'm using Caddy and Coraza for the first time to evaluate them to build a WAF-enabled reverse proxy for HTTPS and I found some problems when loading two CRS rules to coraza-caddy. I hope this information to be helpful, if I can help with anything more, please, let me know.
Problem description
Coraza-caddy fails when parsing these CRS files from:

REQUEST-920-PROTOCOL-ENFORCEMENT.conf
REQUEST-922-MULTIPART-ATTACK.conf

Environment details
Operating system:
$ lsb_release -a
LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:        22.0.0
Codename:       Sikaris

Go version:
$ go version
go version go1.18 linux/amd64

How to reproduce the problem
Install coraza-caddy following these steps (Using go 1.18):
$ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
$ xcaddy build --with github.com/corazawaf/coraza-caddy

Download the Coraza configuration file and clone ModSecurity CRS repository:
$ wget https://raw.githubusercontent.com/corazawaf/coraza/v2/master/coraza.conf-recommended
$ git clone https://github.com/coreruleset/coreruleset

Create the Caddyfile. In this Caddyfile I commented include ./coreruleset/rules/*.conf and added an include call for each rule file. This way I identified the two files which are causing problems. These files are commented in the Caddyfile.
{
        order coraza_waf first
}

http://<IP_ADDRESS>:8080 {
        coraza_waf {
                include ./coraza.conf-recommended
                include ./coreruleset/crs-setup.conf.example
                # include ./coreruleset/rules/*.conf
                include coreruleset/rules/REQUEST-901-INITIALIZATION.conf
                include coreruleset/rules/REQUEST-905-COMMON-EXCEPTIONS.conf
                include coreruleset/rules/REQUEST-911-METHOD-ENFORCEMENT.conf
                include coreruleset/rules/REQUEST-913-SCANNER-DETECTION.conf
                # include coreruleset/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf
                include coreruleset/rules/REQUEST-921-PROTOCOL-ATTACK.conf
                # include coreruleset/rules/REQUEST-922-MULTIPART-ATTACK.conf
                include coreruleset/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf
                include coreruleset/rules/REQUEST-931-APPLICATION-ATTACK-RFI.conf
                include coreruleset/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf
                include coreruleset/rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf
                include coreruleset/rules/REQUEST-934-APPLICATION-ATTACK-GENERIC.conf
                include coreruleset/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf
                include coreruleset/rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf
                include coreruleset/rules/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.conf
                include coreruleset/rules/REQUEST-944-APPLICATION-ATTACK-JAVA.conf
                include coreruleset/rules/REQUEST-949-BLOCKING-EVALUATION.conf
                include coreruleset/rules/RESPONSE-950-DATA-LEAKAGES.conf
                include coreruleset/rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf
                include coreruleset/rules/RESPONSE-952-DATA-LEAKAGES-JAVA.conf
                include coreruleset/rules/RESPONSE-953-DATA-LEAKAGES-PHP.conf
                include coreruleset/rules/RESPONSE-954-DATA-LEAKAGES-IIS.conf
                include coreruleset/rules/RESPONSE-955-WEB-SHELLS.conf
                include coreruleset/rules/RESPONSE-959-BLOCKING-EVALUATION.conf
                include coreruleset/rules/RESPONSE-980-CORRELATION.conf
        }
        reverse_proxy http://<IP_ADDRESS>:9090
}

If you run caddy now it will work well.
./caddy run

To reproduce one of the errors, uncomment line include coreruleset/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf and execute ./caddy run.
To reproduce the other error, comment the include coreruleset/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf line again, uncomment the line include coreruleset/rules/REQUEST-922-MULTIPART-ATTACK.conf, and execute  ./caddy run.
Output when parsing REQUEST-920-PROTOCOL-ENFORCEMENT.conf
Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: failed to compile rule (error parsing regexp: invalid nested repetition operator: `*+`): REQUEST_HEADERS:Accept "!@rx ^(?:(?:\*|[^\"(),\/:;<=>?![\x5c\]{}]+)\/(?:\*|[^\"(),\/:;<=>?![\x5c\]{}]+))(?:\s*+;\s*+(?:(?:charset\s*+=\s*+(?:\"?(?:iso-8859-15?|windows-1252|utf-8)\b\"?))|(?:(?:c(?:h(?:a(?:r(?:s(?:e[^t\"(),\/:;<=>?![\x5c\]{}]|[^e\"(),/:;<=>?![\x5c\]{}])|[^s\"(),/:;<=>?![\x5c\]{}])|[^r\"(),/:;<=>?![\x5c\]{}])|[^a\"(),/:;<=>?![\x5c\]{}])|[^h\"(),/:;<=>?![\x5c\]{}])|[^c\"(),/:;<=>?![\x5c\]{}])[^\"(),/:;<=>?![\x5c\]{}]*(?:)\s*+=\s*+[^(),/:;<=>?![\x5c\]{}]+)|;?))*(?:\s*+,\s*+(?:(?:\*|[^\"(),\/:;<=>?![\x5c\]{}]+)\/(?:\*|[^\"(),\/:;<=>?![\x5c\]{}]+))(?:\s*+;\s*+(?:(?:charset\s*+=\s*+(?:\"?(?:iso-8859-15?|windows-1252|utf-8)\b\"?))|(?:(?:c(?:h(?:a(?:r(?:s(?:e[^t\"(),\/:;<=>?![\x5c\]{}]|[^e\"(),/:;<=>?![\x5c\]{}])|[^s\"(),/:;<=>?![\x5c\]{}])|[^r\"(),/:;<=>?![\x5c\]{}])|[^a\"(),/:;<=>?![\x5c\]{}])|[^h\"(),/:;<=>?![\x5c\]{}])|[^c\"(),/:;<=>?![\x5c\]{}])[^\"(),/:;<=>?![\x5c\]{}]*(?:)\s*+=\s*+[^(),/:;<=>?![\x5c\]{}]+)|;?))*)*$" "id:920600,phase:1,block,t:none,t:lowercase,msg:'Illegal Accept header: charset parameter',logdata:'%{MATCHED_VAR}',tag:'application-multi',tag:'language-multi',tag:'platform-multi',tag:'attack-protocol',tag:'paranoia-level/1',tag:'OWASP_CRS',ver:'OWASP_CRS/4.0.0-rc1',severity:'CRITICAL',setvar:'tx.inbound_anomaly_score_pl1=+%{tx.critical_anomaly_score}'"

Output when parsing REQUEST-922-MULTIPART-ATTACK.conf
Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'subroute': provision http.handlers.subroute: setting up subroutes: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: failed to compile rule (unknown variable): &MULTIPART_PART_HEADERS:_charset_ "!@eq 0" "id:922100,phase:2,block,t:none,msg:'Multipart content type global _charset_ definition is not allowed by policy',logdata:'Matched Data: %{ARGS._charset_}',tag:'application-multi',tag:'language-multi',tag:'platform-multi',tag:'attack-multipart-header',tag:'OWASP_CRS',tag:'capec/1000/255/153',tag:'paranoia-level/1',ver:'OWASP_CRS/4.0.0-rc1',severity:'CRITICAL',chain"

Hey @otzarri glad you are enjoying the project. CRS upgrade to v4 has been a bit rough and they are making constant changes and we have to keep up with new modsec features. We are aware of the lack of MULTIPART_PART_HEADERS and we have to implement it ASAP.
I will move this PR to the core coraza repo and link the PR.
Thank you!


Caravan's "Fill Cargo" action fails when partial stacks are present in Caravan inventory.

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?
If a caravan has a partial stack in its inventory when it executes a Fill Cargo operation, the Fill Cargo operation will never complete regardless of how much material is present in the caravan or in the caravan outpost.
Partial stacks can be added to the caravan inventory artificially, but they are occasionally produced by normal caravan operation.
Steps to reproduce
(1) Drop a caravan and feed it.
(2) Open its inventory, toss in a partial stack of anything.
(3) Drop an Outpost, fill it.
(4) Order the caravan to go to the Outpost and Fill Cargo.
(5) Fill Cargo never completes because the partial stack prevents the caravan from knowing its inventory is full.
(6) Caravan stands forever, sad.
Additional context
No response
Log file
No response

Does the partial stack have to be of the same item type as the items in the depot?

Does the partial stack have to be of the same item type as the items in the depot?

If the partial stack is of the same item type as the items in the outpost no problems occur.   The partial stack will be filled up with items from the outpost and the logic executes successfully.
It is only when the partial stack is different from the item type(s) in the outpost that problems occur.

In this case, it appears to be a misunderstanding of functionality. The caravan's "Fill Cargo" parameter operates in the same vein as a train's "Cargo Full" parameter. It will wait if a partial stack is preventing it from fully loading, which is intended.

In this case, it appears to be a misunderstanding of functionality. The caravan's "Fill Cargo" parameter operates in the same vein as a train's "Cargo Full" parameter. It will wait if a partial stack is preventing it from fully loading, which is intended.

This is unfortunate, as it seems to preclude otherwise normal Caravan operation.
I have a caravan that run a route involving ItemA, which stacks to 200, and ItemB, whose stack limit is not important.    However, if partial deliveries are made at OutpostC, it will occasionally split into three or more stacks.  So, for example, I would expect in inventory:
[200 ItemA] [200 ItemA]
but instead it occasionally becomes:
[127 ItemA] [200 ItemA] [73 ItemA]
I have also seen it grow to 4 partial slots.  The existence of even one partial slot makes step (3) above fail, which seems to invalidate an otherwise normal caravan route.


404 Error

Running deepstack on docker ubuntu 16.04.  Here is my docker-compose.yml:
version: "3.9"
services:
deepstack:
image: deepquestai/deepstack:latest
restart: unless-stopped
container_name: deepstack
ports:
- 9001:5000
environment:
VISION-FACE: 'True'
VISION-DETECTION: 'True'
volumes:
- ./deepstack:/datastor
However when I access :9001 I get a 404 error.  Also in the deepstack logs:
deepstack    | [GIN] 2021/08/09 - 20:33:34 | 404 |         926ns |    <IP_ADDRESS> | GET      /
Any ideas what is going wrong?
Thanks

I have spun up the docker instance on both my Ubuntu 16.04 server and my ubuntu 18 laptop.  Ubuntu laptop behaving as expected docker logs:
Attaching to deepstack
deepstack    | DeepStack: Version 2021.06.01
deepstack    | /v1/vision/face
deepstack    | ---------------------------------------
deepstack    | /v1/vision/face/recognize
deepstack    | ---------------------------------------
deepstack    | /v1/vision/face/register
deepstack    | ---------------------------------------
deepstack    | /v1/vision/face/match
deepstack    | ---------------------------------------
deepstack    | /v1/vision/face/list
deepstack    | ---------------------------------------
deepstack    | /v1/vision/face/delete
deepstack    | ---------------------------------------
deepstack    | /v1/vision/detection
deepstack    | ---------------------------------------
deepstack    | ---------------------------------------
deepstack    | v1/backup
d
As opposed to the ubuntu server which gives me the 404 response which shows this when starting up the docker container:
Recreating deepstack ... done
Attaching to deepstack
deepstack    | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
deepstack    | *** Running /etc/my_init.d/10_syslog-ng.init...
deepstack    | Aug  9 21:00:14 813da0f68732 syslog-ng[10]: syslog-ng starting up; version='3.5.6'
deepstack    | Aug  9 21:00:15 813da0f68732 syslog-ng[10]: EOF on control channel, closing connection;
deepstack    | *** Running /etc/rc.local...
deepstack    | *** Booting runit daemon...
deepstack    | *** Runit started as PID 16
deepstack    | Aug  9 21:00:15 813da0f68732 cron[23]: (CRON) INFO (pidfile fd = 3)
deepstack    | Aug  9 21:00:15 813da0f68732 cron[23]: (CRON) INFO (Running @reboot jobs)
The docker compose files are the same on both machines - can't work out why it's not behaving as expected on the ubuntu 16 server?


pip installation failure

Im trying to install optbinning in my M1 Mac book pro, whereas the dependency "cvxpy" is fail to be installed
The reason might be: It required numpy-1.16.6, but I checked numpy-1.16.6 only support python3.7
Related code:https://github.com/cvxpy/cvxpy/blob/0c657756d34592bf5a567d2a545b26e86da99208/pyproject.toml#L18
Python: 3.8.12
OS: macOS Monterey Version 12.3.1
<=====Error Message=====>
MacBook-Pro ~ % pip install cvxpy --no-deps
Collecting cvxpy
Downloading cvxpy-1.2.0.tar.gz (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 4.7 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3057 lines of output]
Ignoring numpy: markers 'python_version == "3.7"' don't match your environment
Ignoring numpy: markers 'python_version == "3.9" and (platform_machine != "arm64" or platform_system != "Darwin")' don't match your environment
Ignoring numpy: markers 'python_version == "3.9" and (platform_machine == "arm64" and platform_system == "Darwin")' don't match your environment
Ignoring numpy: markers 'python_version == "3.10" and (platform_machine != "arm64" or platform_system != "Darwin")' don't match your environment
Ignoring numpy: markers 'python_version == "3.10" and (platform_machine == "arm64" and platform_system == "Darwin")' don't match your environment
Collecting numpy<1.17,>=1.16
Downloading numpy-1.16.6.zip (5.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 9.0 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting scipy>=1.1.0
Downloading scipy-1.8.0-cp38-cp38-macosx_12_0_arm64.whl (28.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.5/28.5 MB 3.3 MB/s eta 0:00:00
.....
.....
.....
.....
.....
.....
/System/Library/Frameworks/vecLib.framework/Headers" failed with exit status 1
[end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure

  × Encountered error while trying to install package.
  ╰─> numpy

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Are you able to pip install 'numpy==1.16' on your machine? I believe the problem is that numpy==1.16 cannot be installed on an M1.

Thanks for the input @matteosantama, that might indeed be a problem here. Looking at the NumPy PyPI page (here https://pypi.org/project/numpy/1.16.6/#files), it's true that there are no wheels for Python 3.8. That means pip will try to build version 1.16 for Python 3.8 from NumPy source code, which leads to an inevitable failure.
We could add another case-check to pyproject.toml so that M1 macs need a higher version of NumPy when installing on Python 3.7 or 3.8.

@azurewtl you might try following the suggestion at https://github.com/cvxpy/cvxpy/issues/1190#issuecomment-990418512 to override cvxpy's pyproject.toml.

Update - I was able to install cvxpy using conda (and Python 3.10.4) instead of pip. I installed cvxopt with conda and then cvxpy.

Resolved via #1799 and #1800.


Use own type for words from the text index

So far, the type VocabIndex was used both for indexes of entities and literals from the RDF input data, as well as for words from the text index. Theses are now two separate types: VocabIndex and TextVocabIndex. On the side, cleaned up the code and removed some unused functions.
TODO: We should eventually rename VocabIndex to RdfVocabIndex, but we leave this to a separate PR because this affects many files and there are currently many PRs open and we don't want to annoy the people working on them.


Source Code is desktop short cut not code

Hi Bruce
I was hoping to access the code examples in your book. In the GoingGas repo I notice links to the code and not the code.
For example
https://github.com/brucemcpherson/GoingGas/blob/master/htmlservice/gas/source/desktop.ini
[.ShellClassInfo]
InfoTip=This folder is shared online.
IconFile=C:\Program Files (x86)\Google\Drive\googledrivesync.exe
IconIndex=16
Is it possible to get the code rather than links?  I don't run googledrivesync.exe.

Hi
The code is also available generally under the source directory of each project..
For example
https://github.com/brucemcpherson/GoingGas/tree/master/addons/gas/source
Holds the all the source code for the links held in
https://github.com/brucemcpherson/GoingGas/tree/master/addons/gas/scripts
You should also be able to see the source in the apps script editor by opening the url link held in the equivalent script file
https://github.com/brucemcpherson/GoingGas/blob/master/addons/gas/scripts/mapsExample.gscript
It's not necessary to run drive sync. You can just pull the whole repo with git, or if you prefer copy the source from git hub as required. Google apps files are not like others .. They simply hold links to cloud based content. That's why I also published a copy of the source code in GitHub.
Not all directories have things in them yet as I plan to add additional examples not in the book over time. All the examples in the book reference which example holds its code.
You'll find details of how the GitHub repo is organized in the book appendix.
If you any further trouble accessing, let me know
Regards
Bruce
Sent from my iPad

On 23 Feb 2016, at 18:00, Rudiger Wolf<EMAIL_ADDRESS>wrote:
Hi Bruce
I was hoping to access the code examples in your book. In the GoingGas repo I notice links to the code and not the code.
For example
https://github.com/brucemcpherson/GoingGas/blob/master/htmlservice/gas/source/desktop.ini
[.ShellClassInfo]
InfoTip=This folder is shared online.
IconFile=C:\Program Files (x86)\Google\Drive\googledrivesync.exe
IconIndex=16
Is it possible to get the code rather than links? I don't run googledrivesync.exe.
—
Reply to this email directly or view it on GitHub.

Thanks I've downloaded master branch. Will start reading you book now.


The given key 'Lucene.Net.Support.WeakDictionary2+WeakKey1[System.Object,System.Collections.Generic.IDictionary`2[Lucene.Net.Search.FieldCacheImpl+CacheKey,System.Object],System.Object]' was not present in the dictionary.

 Sort sort = new Sort(new SortField("Category2", SortFieldType.STRING_VAL));
 TopFieldDocs fields = searcher.Search(query, filter, TOTAL_ITEMS, sort, true, false);

I'm executing the above mentioned code. This is giving me exception stating that
The given key 'Lucene.Net.Support.WeakDictionary2+WeakKey1[System.Object,System.Collections.Generic.IDictionary2[Lucene.Net.Search.FieldCacheImpl+CacheKey,System.Object],System.Object]' was not present in the dictionary.`
I debugged the LuceneNet 4.8 code. And I found the particular faulty code is in WeakDictionary.cs line no 156:165.
  public TValue this[TKey key]
        {
            get => _hm[new WeakKey<TKey>(key)];
            set
            {
                CleanIfNeeded();
                _hm[new WeakKey<TKey>(key)] = value;
            }
        }

Kindly update the issue asap.

Thanks for the report.
Could you please provide a complete example that we can run to reproduce the issue?
WeakDictionary doesn't tell us anything other than that you are using .NET Framework. Unfortunately, Microsoft didn't expose the enumerator of ConditionalWeakTable until .NET Standard 2.1, so we are left without a reasonable alternative. WeakDictionary is just a workaround for .NET Framework.
Do note that it is not supposed to keep references internally for any objects that are put in it. You have to hold onto the references from outside of the application (assuming that you are adding them explicitly), otherwise there is no guarantee that they will be retrievable.

Thanks for the quick response and I'm expecting quick response till further.
Steps to reproduce it:

Initialize Lucene Directory and IndexWriter.
Build Index e.g 1000 Documents.
Run the below mention code.
In result of step 3, you will get the reported issue.

               if (!analyzer.GetType().Equals(new WhitespaceAnalyzer(version).GetType()))
                    filterTerm = filterTerm.ToLower();

                Filter filter = new QueryWrapperFilter(new TermQuery(new Term(fieldName, filterTerm)));

                QueryParser parser = new QueryParser(version, fieldName, analyzer);
                Query query = parser.Parse(searchTerm);

                Sort sort = new Sort(new SortField("Category2", SortFieldType.STRING_VAL));

                TopFieldDocs fields = searcher.Search(query, filter, TOTAL_ITEMS, sort, true, false);

                if (fields.MaxScore > 0)
                    throw new Exception(fields.MaxScore + " is returned as MaxScore however it was marked false.");

                ScoreDoc[] docsFound = fields.ScoreDocs;

I fixed this issue in this PR #605

I have searched the entire codebase and the getter for WeakDictionary<TKey, TValue> isn't called anywhere. So, the only way this can fail is if you are using a copy of WeakDictionary<TKey, TValue> in your own code (since it is marked internal).
If you need a weak dictionary in your own code, please use ConditionalWeakTable<TKey, TValue> instead. The only reason we use WeakDictionary<TKey, TValue> is because the enumerator API wasn't exposed on ConditionalWeakTable<TKey, TValue> in .NET Framework and .NET Standard 2.0. Many use cases don't require enumeration. But if you need enumeration, I would recommend upgrading to .NET Core rather than copying our substandard workaround into your project.
Note there is no this[index] property on ConditionalWeakTable<TKey, TValue>, to get a single value, you must call TryGetValue() instead, which is what we are doing throughout the codebase on WeakDictionary<TKey, TValue>. But WeakDictionary<TKey, TValue> must always be used with locking to make it threadsafe, which is one of many reasons why we haven't exposed it as public.

Issue fixed with the latest commit.


feat: add name to schema defs

See https://github.com/colinhacks/zod/issues/903 for context
I just copied this commit

Bump please


external sorting problem: sortColumns[0].name != gridOptions.columnDefs[0].name

I followed the external sorting guide on the official tutorial: http://ui-grid.info/docs/#/tutorial/307_external_sorting
I have the following data:
var data = [
{"id" : 10, "name" : "Name 1", "city" : "San Francisco"},
{"id" : 12, "name" : "Name 2", "city" : "San Diego"},
{"id" : 20, "name" : "Name 3", "city" : "Santa Barbara"},
];

$scope.gridOptions.columnDefs = [
{name: 'id', displayName: 'ID'},
{name: 'name'},
{field: 'city', enableSorting: true}
];

As used in the tutorial, I used the following if statement:
 if (sortColumns.length == 0 || sortColumns[0].name != $scope.gridOptions.columnDefs[0].name)

However, I found that  the value for sortColumns[0].name  is name when I sort the ID column, and the value for $scope.gridOptions.columnDefs[0].name is "id", which is correct. So I don't understand why these two values are not the same.

sortColumns is that subset of columns that have sorting. So if only one column has sorting, then sortColumns[0] will be that column.  Check sortColumns.length v's columnDefs.length.


will this support ppa package for ubuntu?

hi @tkengo ,now i am using ag,what is the diff between them ,and is there any pissble support ubuntu

Hello, I'm sorry to be late replying.
Before, I described the advantages and disadvantages of highway over ag on Github's issue, so could you refer this issue?
https://github.com/tkengo/highway/issues/18#issuecomment-156109344
And then about Ubuntu support. Actually I am not ubuntu user, so I don't know about the detail of ubuntu packaging system. I'm glad if you can do that.

thanks, i will try to compile it ,and let unite use it as search tools


When I processed the font file with Fontfreeze, the version information was lost

That is somewhat intentional, for, as far as I remember, derived fonts are supposed to reset the version number (and only refer to the original version numbers in their descriptions if necessary). In all cases, it shouldn't cause any problem in using the generated font.


added context mananger methods to mockmongo client

The mockmongo client lacks the enter and exit methods that enables the use of 'with' syntax.
Simple pull request to add those methods.

Perfect, thanks.


In ready_chunks, reserve capacity based on size_hint

Reserving ready_chunks limit every time may be too expensive when the limit is high but only a few number of messages available.
Now rely on Stream::size_hint to reserve the capacity.  If underlying stream implements size_hint, this will work great. Otherwise ready_chunk will be somewhat less efficient.
This is better alternative to https://github.com/rust-lang/futures-rs/pull/2657

Do you have any benchmarks pr use cases that demonstrate an improvement in performance?

Do you have any benchmarks pr use cases that demonstrate an improvement in performance?

I can create a benchmark which demonstrates the behavior:

call ready_chunks with argument 1000000
create a channel which provides one message at a time
observe excessive memory usage: 1000000 * size_of::<T>()

Current behavior of excessive memory allocation prevents using ready_chunks with large capacity.

Thanks for the PR! size_hint means the number of elements remaining in the entire stream, and since the information we really want here is the number of elements until the next Pending, I guess the effect of this is not very large.
That said, this seems to be somewhat more reasonable than #2657 or the current implementation. I tend to merge this once the review is addressed.

Is there a plan to merge this?
Also, on a side note, why is the reallocation of a new buffer required on every entry to poll_next? wouldn't it be more efficient to allocate the buffer on creation, in ReadyChunks::new, and reuse it on every entry to poll_next?

reuse it on every entry to poll_next?

How to reuse it? poll_next returns an owned Vec.

Can't we return a reference to the internal vector?
make Self::Item be a & Vec<St::Item> ?
Or is there a different way of achieving this, where we are not reallocating a new vector on each call to poll_next?

Can't we return a reference to the internal vector?
make Self::Item be a & Vec<St::Item> ?

I don't think it is possible without using GAT in the Future trait.

Its worth trying to support this.
Any idea about how to go about it?


Zoomable Images

Hi there, thank you so much for this package! My team is using the ReactBnbGallery but we have some tall and narrow images with text that need to be zoomed in on to be visible. It would be awesome to be able to pass a zoom option to GalleryPhoto. Alternatively, maybe Gallery could accept children and render a different image component instead of GalleryPhoto so that it could be zoomed?

Hi there, thank you so much for this package! My team is using the ReactBnbGallery

Hi @casto101, thank you and your team for using this component.

but we have some tall and narrow images with text that need to be zoomed in on to be visible.

Could you please give me an example of what is happening to understand better this issue?

It would be awesome to be able to pass a zoom option to GalleryPhoto.

I think that I have an idea of it but it could be very useful if you can provide an image or a demo.

Alternatively, maybe Gallery could accept children and render a different image component instead of GalleryPhoto so that it could be zoomed?

Good idea, sounds like a feature and could be very helpful for other people.

This is an example of our use case. The image in the app is high resolution (1261px x 10861px), but due to its dimensions you really can't see what's in the image without zooming in.

I think an ideal UX would be similar to Google Maps, where there is a zoom in/out button in the controls, and it would be great if we could magnify to close to the image's original size. I've done some research on other libraries, and found that some also use native-like gestures to manage the zoom interaction. React Spring Lightbox is an example that uses the mousewheel and pinch to zoom. I also think it would be possible to use a different image rendering library (one with magnification) alongside React Bnb Gallery if you wanted to modify Gallery or GalleryPhoto to be a wrapper for a passed in image component.

Good, thank you @casto101.
I am going to look into this for new releases.

I'm having the same issue. Some way to zoom into the images would be really cool. Could maybe also be achieved with a loupe!


Looks like Minetest 5.9.0 Released

Hiya again, Looks like Minetest 5.9.0 released, any chance of building the AppImage again, worked great last time on Fedora <3 thanks
https://github.com/minetest/minetest/releases/tag/5.9.0

Thanks for the issue! I was trying to make some changes on how the minetest_game is fetched. Decided to go as the previous appimage and still bundle the game. I'll add a note to the release page informing that it is recommended to update the game from contentdb to use the recent features.

Should be fixed in 6ce32d55a876b2d3622493cd8abd872d24b891a3 - waiting for CI to perform the release!

https://github.com/ronoaldo/minetestclient/releases/tag/5.9.0-1

Thanks :D


nextcloud25: init

Description of changes

As always, I'd file a backport PR with the non-breaking changes.
Also, removed nextcloud23 because it'll reach its end of life within 22.11.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The only relevant change for admins according to https://github.com/nextcloud/server/issues/32117 seems to be https://github.com/nextcloud/server/pull/32210, which we don't use.


examples/xc7/linux_litex_demo serialboot doesn't work with provided Linux images

See comment https://github.com/SymbiFlow/symbiflow-examples/issues/41#issuecomment-672905413.
I have replicated these results.

the images are fine. emulator.bin was loaded @ incorrect address. https://github.com/SymbiFlow/symbiflow-examples/commit/2bc55db818a7ae6b6bb1edaea32c04938c01db0b fixes this

Yep, fixed.  Thanks @kgugala !


Maybe found a bug which ScopeKeeper.capMap maybe wrong

I watched the capMap of ScopeKeeper which is wrote/read by follow code. It is not safe on concurrency.
https://github.com/cosmos/ibc-go/blob/2632ae24926e251fb70efabaa1a8b92755c7bccc/modules/capability/keeper/keeper.go#L268
https://github.com/cosmos/ibc-go/blob/2632ae24926e251fb70efabaa1a8b92755c7bccc/modules/capability/keeper/keeper.go#L390
As far as I know, the simulate tx which is will call 'NewCapability' can update wrong value to capMap at a node . Then, it will call 'GetCapability' to got wrong value when deliver tx . But it will call 'GetCapability' to got wrong value at other node.
So i think ScopeKeeper.capMap will be cause state machine broken ,or fork a chain.
Please help me to solve this problem！

It is not safe on concurrency.

Afaik, concurrency isn't an issue since each message is executed deterministically. Unless I am not seeing something here in which case someone else will chime in!

Afaik, concurrency isn't an issue since each message is executed sequentially in a deterministic order
I thinks each message is executed sequentially within BaseApp.DeliverTx. it's safe concurrency within DeliverTxs.
But some message is executed within BaseApp.Simulate, then 'capMap' is not safe between BaseApp.Simulate with BaseApp.DeliverTx


Make the website performance better

Omit unused code and unnecessary requests. Refactor the code to reduce loading times. Change the picture formats, compress them.

Hi, I would like to work on this issue. Please assign the same.

Sure!! @aanchal-fatwani