Inventory postings setup

Where can I find information about the "Inventory management > Setut > Posting > Posting" page?

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

ID: c85626b5-b808-da48-143b-f2b3a38b151c
Version Independent ID: a8a383ba-90af-d2d3-21dd-fabb8ef09ace
Content: Inventory management home page - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/supply-chain/inventory/inventory-home-page.md
Service: dynamics-ax-applications
GitHub Login: @YuyuScheller
Microsoft Alias: perlynne

Bug logged: 217493

@vavd, thanks for identifying this gap in documentation. We have a work item planned for the future on this.


Set Default Layout

What's the Problem?
I want to set default layout.
Solution/Idea

Alternatives
I can't find an option to set the default layout.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
v<IP_ADDRESS>
Windows Version
Windows 11 21H2 22000.132
Additional comment
No response

Thanks for this suggestion. You should already be able to set a default layout by:

turning off "enable individual preferences for folders" option in Files settings
setting your desired layout mode for any directory
Optional: turning back on "enable individual preferences for folders"

Merging with #4155


As a Project Coordinator, I want to add the sector to projects so that I can organize projects by sector.

Description:
Tech team wants to know the sector the projects are in. They like to filter projects by sector for when they receive requests for information by sector. Currently the sector is an open field in the spreadsheet, the sectors are not official sectors such as NAICS--just a list of sectors the team uses.
Acceptance Criteria:
Given that a project coordinator is logged in and creating or editing a project
when they navigate to the project overview page
then they will see a dropdown field for sector
Given that a project coordinator is logged in and creating or editing a project overview
when they click on the dropdown list
then they will be able to choose from the following options:

Agriculture
Cement
Lime
Refining Oil & Gas
Midstream Oil & Gas
Upstream Oil & Gas
Mining
Pulp & Paper
Utility
Other, please specify:

Given that a project coordinator is on the project overview page and selecting a sector
when they select "Other"
then a required text input will be available for them to specify the sector
then their entry will become a part of the list of sectors.
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Copied feedback into ticket #645


docs(ui/steps): use the setup script for exmple and docs

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

script 和 template顺序有问题，一个案例只允许一个代码块，保证每个组件的playground能正常运行，可以参考一下前面的pr

Codecov Report

Merging #423 (57d5347) into docs/script-setup (99b088a) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           docs/script-setup     #423   +/-   ##
==================================================
  Coverage              96.38%   96.38%
==================================================
  Files                    217      217
  Lines                   5148     5148
  Branches                 944      944
==================================================
  Hits                    4962     4962
  Misses                   186      186

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99b088a...57d5347. Read the comment docs.


casbin example prompts an error

casbin plugin version: 0.1.3
jcasbin version: 1.7.1-SNAPSHOT
https://github.com/casbin/jcasbin/blob/master/examples/abac_model.conf
The following content indicates an error

obj.:  '&&' or '||' expected, got '.'
owner: '=' expected

[matchers]
m = r.sub == r.obj.owner

@will7200

The current parser doesn't account for attributes that are objects currently. I will update to allow sub models.

submitted to Jetbrains for approval


Misplaced cursor in Python UDF editor

Sometimes the cursor on the Python UDF editor would show in one place but be effective elsewhere. It seems like the cursor is rendered at the wrong location. In addition, using arrow keys (up/down/left/right keys) would have strange effects.
The issue can be resolved by refreshing the page but it is very annoying.
Here is a demo, of a local deployment without the shared editing server, through safari (I believe the issue also exist on chrome, though):

I have not seen this issue recently. it might have been fixed by a CSS change or library update. Close this for now.


End Stone Smelter Displays Smelting Texture and Particles even when empty.

If you place a new End Stone smelter it does not display the smelting texture and particles, however if you smelt something and it finishes smelting whatever is inside it continues to show the smelting texture and particles.
As far as I can tell this is unaffected by if there is any fuel left inside the furnace when it finishes.
Emptying the furnace does not fix this, destroying it and placing it back down does.
Version: <IP_ADDRESS>-pre

Smelter (like Furnaces) shows the smelting texture and particles while it has fuel time. As soon as you start smelting something, the Smelter consumes 1 unit of fuel. Fuel has a specific burning time. And until this time expires, the Smelter displays the combustion process, i.e. fire texture and particles.


Transparent background?

Anyway to do it? Cool fork btw!

Just implement it following https://github.com/be5invis/vscode-custom-css/issues/236, and I havent tried it yet, cause I have no need for it.
You can setup custom-ui-style.electron just like apc to have a try

Thanks for the reply! Yeah I have tried:
"custom-ui-style.electron": {
   "transparent": true,
   "frame": false
}

No luck unfortunately.

Try to fix it using vscode-vibrancy-continued's logic
Released in v0.2.1

Try to fix it using vscode-vibrancy-continued's logic
Released in v0.2.1

I tested this version in VSCode insiders, but not work.

Well, I have no bandwidth and I'm not really feeling up to fixing this issue lately.
So, PR welcome 👋

Okay wait lol guys. It does actually work. Actually... I'm not sure which worked:

This extension.
Or this monkey-patching solution. (this is basically what the extension does automatically) - I noticed that after I added my configs with @subframe7536 's extension, and open code /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js, I do see the changes though so the Monkey patch might not be needed, just change it in the config.

HERE'S THE KICKER, I found that, it does reflect the change after I restart the whole computer! Not "restarting" or "reloading" VSCode (I just slept and woke up again lol). Not sure how to simulate a whole restart without actually restarting.
Also for the vibrancy (blurriness of the window, it differs per OS, I'm on a Mac), can refer to this: https://www.electronjs.org/docs/latest/api/browser-window#winsetvibrancytype-macos. Or just refer to that page for all the other settings on electron.
SEE:

HERE'S THE KICKER, I found that, it does reflect the change after I restart the whole computer! Not "restarting" or "reloading" VSCode (I just slept and woke up again lol). Not sure how to simulate a whole restart without actually restarting. frame: false does not seem to work though.

So, all the need to make it effect is just press CMD + Q ? I will add some tips in the Restart notification

CMD + Q doesn't work unfortunately. A whole restart seems to be needed to see the changes.

Anyway closing this since transparency is achieved. Vibrancy not yet though.

@Blankeos hello, Can you share your theme and icon theme?


Recovery when stream unexpectedly shuts down?

I currently record youtube livestreams with:
livestreamer https://youtube.com..... best -o output.mp4 --hds-segment-threads 10 --hds-timeout 100

However, I have had a problem where after roughly a few hours of recording, the stream will suddenly cut off or lose connection completely. This causes livestreamer to exit. At this point, I have to manually reinitiate the stream using the same command but change the output location to -o output2.mp4 to avoid overwriting the previous file. I do not think this is livestreamer's fault; rather I think perhaps google is cutting the feed after a certain number of hours?
Is there a way I can automatically:

re-run livestreamer command to continue to download the stream once it's exited
either append the new stream to the same file output.mp4, or save it to a new file called outputX.mp4 where X is an increasing integer (to avoid overwriting the old files).
should allow CTRL-C to permanently stop the command from re-running (ie, I'll manually stop livestreamer myself, otherwise keep recording).

I'm on Ubuntu.

You can use a script like this one https://gist.github.com/chrippa/6151877

With that script, is it better to decrease --hds-timeout 100 to say 10?
That way I wouldn't miss more than a few seconds of video if it's truly timing out?
I'm not exactly sure what --hds-timeout 100 does. Does this flag cause livestreamer to retry the connection until 100 secs has passed?

It's not really retrying. It's more like it will wait for 100 seconds for an answer from the server.


Resized the banner to 768px width (1.2MB -> 70KB)

That's the maximum width we display it with in the header.
It also makes the app a bit lighter - I'm currently on 3G so I care :)
Processed using Gimp on macOS with 90% of the original quality.

Hi @tomazy Please follow the guidelines listed under contributing.md. Create an issue for this PR, have a go from one of the members of RBP and then you can send a PR. This helps us streamline everything.
Thanks for contributing! :sparkles:

@tomazy @KarandikarMihir If I'm mistaken please forgive the implication, but I think @tomazy may have been offended, or put off by @KarandikarMihir's response.
@tomazy, should actually be added as a member of the organization, see #1236 Server Side Rendering. This is a huge contribution, and one significant reason (IMO) for RBP being in the #three position (rather than #two) in terms of GH stars.
GH stars are important in achieving the project's goal of providing the "best developer experience and a focus on performance and best practices" to as many as possible. See Andrew Farmer's React Project Starter List.
Oh, and about that image, it's part of a "throw away project" true, but also one that is looked upon as providing a best practice example. Serving a 1.2 Meg image is not a best practice!
So if there's a misunderstanding and upset here, let's patch that up, please and add @tomazy to the Member's list. The project will need him around if it is to support SSR!

@gihrig  I'm not offended at all.  @KarandikarMihir comment actually made to go and look for a similar issue and I've found #907 It didn't know that you guys have a separate repo for the brand stuff and this image should probably be taken from there. I'll open a separate issue for it.

@tomazy @gihrig I'm sorry, I had no intention of being rude or hurting anybody. We get many uninvited PRs (which is actually an indicator of how people love RBP and want to be a part of it), most of them are from newcomers. My reading is that CONTRIBUTING.md being not very visible to everybody (because it's hidden away in .github folder) is one of the reasons why people don't follow the guidelines. So as a maintainer, I let people know that certain rules exist and following them will make it easier to maintain order.. My comment may have been blunt because I'm not a native English speaker and sometimes I lack the charm. I'm still learning that part. I apologize!
I admire and appreciate @tomazy's work on #1236 because I've been watching his work. Had I remembered that it's the same person, I'd not have written the comment because I know that he's definitely not a newcomer. Furthermore, I realize that @tomazy deserves to be a member of RBP more than I do. Welcome onboard! :smiley:  I'm always excited to work with people of such a great caliber and experience!
About the image- I totally agree with @gihrig. The larger image needs to be replaced by a smaller one.

It didn't know that you guys have a separate repo for the brand stuff and this image should probably be taken from there.

I think only README.md has some assets that are being borrowed from brand repo. All of the other assets are locally hosted. See Header component. So we'll just have to place the smaller image there.

@tomazy @KarandikarMihir Thank you both for openly addressing my concerns - I really wanted to be sure!
Glad to hear there's no rift brewing between two of this awesome community's equally awesome members!!! 💖


Custom keybinding to apply Completion Snippets

Hi all,
In Completion provider example if I type my-third-party-library and resolve suggestion for it, the monaco editor inserts snippets.

I can navigate between them using Tab / Shift+Tab, and to close this mode I need to go through all of them (using Tab) or press CtrlCmd+Enter
The question is, is it possible to close this mode by using some custom keybinding?
For example, I want to use the Enter for this purpose, but at the moment a new line is inserted instead (I want to prevent such behavior).

I think this is possible, most contributions just register a keybinding for esc with some when clauses.


More NaNs

Bug description
Thank you for fixing the previous NaN bug. This solves most issues. However, sometimes these NaNs still occur. With the newest commit, the tensors are zero.
I would suggest adding to torch.nansum a warning message that informs the user that NaN was found. Otherwise, the activation map is just zero and the user is not aware that a problem occurred. I am referring to line https://github.com/frgfm/torch-cam/blob/0a5e06051440e27de6027ec382517a2c71686298/torchcam/methods/core.py#L190
Here an example from ImageNet that produces NaN: ILSVRC2012_val_00033712.JPEG

Code snippet to reproduce the bug
from torchvision.io.image import read_image
from torchvision.transforms.functional import normalize, resize, to_pil_image
import torch
import timm
from torchvision.models import resnet50
from torchcam.methods import *

model = timm.create_model("efficientnet_b0", pretrained=True).eval()
cam_extractor = ScoreCAM(model, target_layer="blocks.6")
# Get your input
img = read_image("ILSVRC2012_val_00033712.JPEG")
# Preprocess it for your chosen model
input_tensor = normalize(resize(img, (224, 224)) / 255., [0.485, 0.456, 0.406], [0.229, 0.224, 0.225])

# Preprocess your data and feed it to the model
out = model(input_tensor.unsqueeze(0))
# Retrieve the CAM by passing the class index and the model output
activation_map = cam_extractor(out.squeeze(0).argmax().item(), out)

print(activation_map)

Error traceback
[tensor([[[0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.],
         [0., 0., 0., 0., 0., 0., 0.]]])]

Environment
not relevant

Hey again @lars-nieradzik :wave:
Thanks for the issue, I appreciate how specific you are, it's much easier to debug than most requests I get :pray:
On that part, I have doubts that might be the best solution. If NaNs/zero arise because of numerization / float precision, they need to be handled by TorchCAM. However, if for some reasons, the produced feature map is uniform spatially the CAM is basically zero: there is no special spatial region that influenced the model output. And in that case, I'd argue it's quite normal that the output CAM is only zeros.
About the torch.nansum, there are only two cases:

NaNs come from TorchCAM processing errors (mistake in implementations, division by zeros, etc.): those need to be handled
NaNs come from the model / input: if that's the case, perhaps yes we could throw a warning, but this is extending the "responsibility scope" of TorchCAM beyond its primary use

I'll run some tests on the image you sent, but feel free to open a PR if you have a specific idea in mind :)

Investigating a bit more, on the image you sent, I located the source of zeros:

the cam is passed through a ReLU before being normalized
however, in this example the raw cam is negative

So for this example, I'd argue that there is no error: there is no positive correlation of spatial features on that feature map with the output score (because all values are negative). What do you think?

Thank you for your quick answers. Regarding the image, you are right. I just assumed that the zero activation map happened due to torch.nansum(). If all the NaN errors all occur naturally (input has NaN etc.), then I guess a debug msg would not be necessary.
However, I am still seeing NaN in other images. I added if torch.isnan(weight).any(): print("ERROR")  to core.py (compute_cams) and ran the library again on a few hundred images.

from torchvision.io.image import read_image
from torchvision.transforms.functional import normalize, resize, to_pil_image
import torch
import timm
from torchvision.models import resnet50
from torchcam.methods import *

model = timm.create_model("densenet121", pretrained=True).eval()
cam_extractor = SmoothGradCAMpp(model, target_layer="features.denseblock4.denselayer16.conv2")
# Get your input
img = read_image("ILSVRC2012_val_00029594.JPEG")
# Preprocess it for your chosen model
input_tensor = normalize(resize(img, (224, 224)) / 255., [0.485, 0.456, 0.406], [0.229, 0.224, 0.225])

# Preprocess your data and feed it to the model
out = model(input_tensor.unsqueeze(0))
# Retrieve the CAM by passing the class index and the model output
activation_map = cam_extractor(out.squeeze(0).argmax().item(), out)

print(activation_map)

With the script you just shared and the image, I'm getting a decent activation map:
[tensor([[[1.8036e-02, 0.0000e+00, 3.9917e-04, 0.0000e+00, 0.0000e+00,
          0.0000e+00, 0.0000e+00],
         [2.6609e-02, 4.7441e-02, 8.1286e-02, 6.2826e-02, 6.9473e-02,
          2.0333e-02, 1.4543e-02],
         [3.5339e-02, 1.3377e-01, 5.7993e-01, 6.9856e-01, 5.0984e-01,
          2.2307e-01, 8.1495e-02],
         [3.8667e-02, 3.7683e-01, 8.3038e-01, 1.0000e+00, 7.8089e-01,
          3.1000e-01, 1.0363e-01],
         [8.2719e-02, 2.2919e-01, 6.9044e-01, 8.6880e-01, 6.2525e-01,
          4.4371e-01, 2.1152e-01],
         [3.7904e-02, 1.0292e-01, 2.5570e-01, 3.0357e-01, 6.2674e-01,
          6.0119e-01, 4.8994e-01],
         [0.0000e+00, 3.9352e-02, 1.9601e-01, 3.2979e-01, 5.8944e-01,
          5.9874e-01, 4.2369e-01]]])]

Regarding the NaNs for gradient methods, this is the same problem as normalization for ScoreCAMs previously (division by zero), that's for spotting this. I just opened a PR #187 to add an eps to the denominator, that should do it :)

@lars-nieradzik feel free to reopen if you encounter any more problems :+1:

Hello, guys! I'm having the same problem here. I'm going to share my code. I'm using a model I trained.
`from torchcam.methods import SmoothGradCAMpp, LayerCAM
from torchcam.utils import overlay_mask

idx = random.randint(0, dataset_sizes['train'])
img = train_set[idx][0]
label = train_set[idx][1]

# data visualization
fig, axs = plt.subplots(3, 1, figsize=(5, 10), tight_layout=True)
axs[0].set_title(f"{'X ray with pneumonia' if label == 1 else 'X ray without pneumonia'}")
axs[0].axis('off')
axs[0].imshow(np.transpose(vutils.make_grid(img, padding=2, normalize=True).cpu(),(1,2,0)))

cam_extractor = SmoothGradCAMpp(model, input_shape=(3, 256, 256))

# Preprocess your data and feed it to the model
out = model(img.unsqueeze(0)) # unsqueeze is because the model expects 4d tensor

# Retrieve the CAM by passing the class index and the model output
cams = cam_extractor(out.squeeze(0).argmax().item(), out)

# The raw CAM
for name, cam in zip(cam_extractor.target_names, cams):
  axs[1].set_title("heatmap")
  axs[1].axis('off')
  axs[1].imshow(cam.squeeze(0).cpu().numpy())

# Overlayed on the image
for name, cam in zip(cam_extractor.target_names, cams):
  result = overlay_mask(to_pil_image(img, mode='RGB'), to_pil_image(cam.squeeze(0), mode='F'), alpha=0.5)
  axs[2].set_title("Grad-CAM overlayed heatmap")
  axs[2].axis('off')
  axs[2].imshow(result)
  break

plt.show()

# Once you're finished, clear the hooks on your model
cam_extractor.remove_hooks()

When I inspect values of cam I get:
tensor([[[nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan],
         [nan, nan, nan, nan, nan, nan, nan, nan]]], device='cuda:0')

Hi @almeidava93,
I suggest opening another issue or discussion as this is most likely not related to the reason in this topic. Only one check to do before: are you using the dev updated version? Or the last stable version?
And for me to help, I'd need to be able to reproduce but I cannot run your snippet (missing some object definitions and the input data I imagine). Could you try to come up with a minimal reproducable snippet? (if the only information we have is that it only happens for some images in your dataset and we don't have them or the models weights, I can only assume/guess but this is far less efficient than if I had them :sweat_smile: )
Best


Request for minor release

It would be very useful to update d3 dependency for tag v1.5.1 to<EMAIL_ADDRESS>and release updated npm package.
Latest version<EMAIL_ADDRESS>uses d3 that depends on outdated jsdom that depends on contextify which has following problems:

it requires Python 2 to be installed
it requires unkown version of Visual Studio to be installed as well (with VS2012 installation fails)

This almost prevents to use<EMAIL_ADDRESS>from npm (

1.6.0-rc.0  is out! https://www.npmjs.com/package/rickshaw

@andriy-kudrya v1.6.0 is out!


"select" styles not working for line graphs

Version
5.3.0
Link to Minimal Reproduction
https://codesandbox.io/s/priceless-resonance-hedki5?file=/src/index.js
Steps to Reproduce

Create a simple line chart with >1 line.
Make sure every line-series in the data has the following options(these are prepared in the Link to Minimal Reproduction):

selectedMode: true,
      select: {
        disabled: false,
        lineStyle: {
          color: "rgba(255, 0, 0, 1)"
        }
      }

Click on any line

Current Behavior
Nothing happens. No change of lineStyle.color is observed on any line.
Expected Behavior
Expect the selected graph to turn red as specified in the options.
Environment
- OS: Windows
- Browser: Google chrome
- Framework: Vue 3 (Typescript)
- echarts(Not Vue-echarts)

Any additional comments?
I need to create a graph (possibly 40k data points) and I need to be able to select a few(>1 graphs) out of dozens of graphs. I want the unselected graphs to blur but I don't want to use emphasis/blur options because I don't need it to keep rendering emphasised/blurred graphs upon mouseover.
I'd appreciate your advice.

I have checked this code, polyline  doesn't have select state, so I don't think select style should include lineStyle, Also selectedMode was design to use on data item, which are emptyCircle in your case. Maybe we should remove lineStyle from doc

I have checked the source code, polyline doesn't have select state, so I don't think select style should include lineStyle, Also selectedMode was designed to use on data item, which are emptyCircle in your case. Maybe we should remove lineStyle from doc

Thank you for your clarification. May I know if you are planning to implement this feature?

Casue select is for item, so this feature would not be considered. If your want to change lineStyle when click on line, I suggest to use triggerLineEvent along with click event


Add model for interaction between Lucene & Version Map on replicas

This adds a model for how we should track sequence numbers for indexing and deletions in the replica, using the Version Map and Lucene. It includes an optimisation that can avoid the need to perform these (relatively expensive) checks for append-only operations when it is safe to do so.

Summary of verbal review with @bleskes:
The document versions are not relevant for the replica - they are a relic of older models that modelled more of the primary too. Removed in 0165d83.
However, the model of Lucene needs refinement: we model replacement of a document as if calling the update API, but there is also an add API which doesn't delete any previous versions first. The add API can only be used if we're sure there is nothing that needs removing, but is more efficient so should be used where possible. The add API can be modelled as having the same effect as the update API but with an additional assertion that there is no document to overwrite.

@dnhatn it's likely you will be involved in the implementation of this so it might be useful for you to contemplate this PR too. Not sure what level you're at with this kind of modelling but I have time to walk you through it if needed.

@DaveCTurner Thanks for pinging me. I think I will focus on the implementation. I will surely have a look on this but mainly for learning purpose.

Closing this in favour of #29.


[l10n] Add Italian translation

[x] I have followed (at least) the PR section of the contributing guide.

@Angelk90 It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


Error when running client in docker

I got the following error when I run the client inside a docker:
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm ERR! Linux 3.16.0-76-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/hera/client/npm-debug.log

I used ubuntu 16.04 and installed the required packages via:
apt install python-pip git nodejs npm

Will try to reproduce this myself. In the meantime if you figure this out feel free to send a PR!


BreezeWiki?

BreezeWiki has quickly grown to be one of my favorite private frontends, and imo one of the most fully realized frontends.
I'm surprised Farside doesn't offer BreezeWiki redirects.

Neat! Just added support for it.


Removed duplicated key in report partial

Removed duplicated key in report partial

Yay,  Ruby 2.2 😁

Should the code have the keys in alphabetical order to avoid issues like this in the future?

@chessbyte yes, that would help.  FYI, though, ruby 2.2 complains if you try to assign more than one value to the same key:
irb(main):001:0> {:a => 1, :a => 2}
(irb):1: warning: duplicated key at line 1 ignored: :a
=> {:a=>2}


Is this available on Divio?

I searched the addons on Divio to add it to my project but I couldn't find it.

You can add this app to your requirements.in and it will install on the next deployment of your project.


Make the design of the live showcase site more closer to eventyay

Make the display of the live showcase site https://sched.eventyay.com more closer to the front page of the httpa://open-event-frontend.herokuapp.com/
Screenshots:-

Eventyay

Sched

I would like to work on this.

@dhruv-dj Please go ahead!

Just a confirmation, eventyay should look more like open even home screen right? Not the other way round?
@geekyd

@dhruv-dj It is the other way, the Open event web app should look more like the open event frontend.

Claiming this issue as no update was made for a month.


Column not updating correctly - it seems? Is this a bug or a user error on my end?

https://youtu.be/1xjFxcytYx0
When calling update, it looks like my "Neighbour" control gets added to the "Parent" control, however it gets no spacing from previosly existing controls.
import flet as ft

class InnerControl(ft.UserControl):
    def __init__(self, parent):
        self.parent = parent
        super().__init__()
    def build(self):
        return ft.TextButton("Add neigbour!", on_click=self.addNeighbour)

    def addNeighbour(self, e):
        outerCtrl = self.parent
        outerCtrl.controls.append(InnerControl(self.parent))
        self.parent.update()

class OuterControl(ft.UserControl):
    def build(self):
        return ft.Column([InnerControl(self)])
def main(page):
    page.add(ft.Column([OuterControl(),OuterControl()]))
ft.app(target=main)

Would suggest moving the adding logic to the parent, which a) works and b) is better division of responsibilities between the controls.
Also suggest considering whether you need these to be hard-to-update UserControls in the first place.
import flet as ft

class InnerControl(ft.UserControl):
    def __init__(self, parent):
        self.parent = parent
        super().__init__()

    def build(self):
        return ft.TextButton(f"Add neigbour #{len(self.parent.content.controls)}", on_click=self.add_neighbour)

    def add_neighbour(self, e):
        self.parent.add_child(InnerControl(self.parent))

class OuterControl(ft.UserControl):
    def build(self):
        self.content = ft.Column([InnerControl(self)])
        return self.content

    def add_child(self, control):
        self.content.controls.append(control)
        self.update()

def main(page):
    page.add(ft.Column([OuterControl(), OuterControl()]))

ft.app(target=main)


Fix 'wtih' typo

Deploy preview for calico ready!
Built with commit 64f6e40604687698e870cbaee1b9b9e09fd6bed8
https://deploy-preview-2913--calico.netlify.com

Thanks @caseydavenport .  This typo was only in v3.9.


[v3.2.0] Adding a conversion code, to switch things between database engines

Just some simple code is needed, to be able to switch from MySQL, SQLite3 or PostgreSQL to any of the other engines, while keeping the data preserved.

Conversion code is added.
Also the database structure has been tuned to easier handling, making it easier to make queries simpler in a later issue I will be adding.


Broken sourcegraph link

I was using cargo-vet to bump the version of some crates in Firefox and ran into a broken sourcegraph link.
rhunt@Ryans-MacBook-Pro-2 gk % ./mach cargo vet
Vetting Failed!

1 unvetted dependencies:
  wasm-encoder:0.14.0 missing ["safe-to-deploy"]

recommended audits for safe-to-deploy:
    cargo vet inspect wasm-encoder 0.14.0  (used by wast)  (6628 lines)

estimated audit backlog: 6628 lines

Use |cargo vet certify| to record the audits.
rhunt@Ryans-MacBook-Pro-2 gk % ./mach cargo vet inspect wasm-encoder 0.14.0
You are about to inspect version 0.14.0 of 'wasm-encoder', likely to certify it for "safe-to-deploy", which means:

  This crate will not introduce a serious security vulnerability to production
  software exposed to untrusted input.

  Auditors are not required to perform a full logic review of the entire crate.
  Rather, they must review enough to fully reason about the behavior of all unsafe
  blocks and usage of powerful imports. For any reasonable usage of the crate in
  real-world software, an attacker must not be able to manipulate the runtime
  behavior of these sections in an exploitable or surprising way.

  Ideally, all unsafe code is fully sound, and ambient capabilities (e.g.
  filesystem access) are hardened against manipulation and consistent with the
  advertised behavior of the crate. However, some discretion is permitted. In such
  cases, the nature of the discretion should be recorded in the `notes` field of
  the audit record.

  For crates which generate deployed code (e.g. build dependencies or procedural
  macros), reasonable usage of the crate should output code which meets the above
  criteria.

Please read the above criteria and consider them when performing the audit.
Other software projects may rely on this audit. Ask for help if you're not sure.

You can inspect the crate here<EMAIL_ADDRESS>
(press ENTER to open in your browser, or re-run with --mode=local)

Note, the url leads to a 404. wasm-encoder is a valid crate with that version.

<EMAIL_ADDRESS>(the previous version) resolves, and 0.14.0 is only a week old. I have a feeling sourcegraph slurped crates.io in one shot and aren't continuously updating it :(

I'll raise this with them. They just reenabled continuous syncing 7 hours ago, so this might be a transient issue as they catch up.

We are digging in, thanks for your patience everyone. =)

And just so it's clear: the workaround for now is to pass --local to cargo vet inspect/cargo vet diff.

This should now be working :-)


Add missing auto-escaped function

New(ish) privacy features added new auto-escaped function the_privacy_policy_link - docs.

Yes, I was playing with get_the_privacy_policy_link() in my local and it is potential hole. I'd escape it with wp_kses_post. At least to avoid Javascript injection.
Thank you for the welcome :)

So there's a way for unsafe content to be output, but we want to make it as auto-escaped and therefore not flag it? What am I missing here?

@GaryJones Yes, there is a way, but that's no different with nearly every other function in the list. So either we should accept this PR or we should remove all the other functions with similar weaknesses from the list.

By itself, I'd say No for this change, but, I also don't like inconsistencies. I'd reluctantly approve this, if needed.
Perhaps as a separate task we could look at what functions really do provide solid escaping at the last moment, and which make an effort before allowing a filter at the last moment instead.

Based on the above discussion, I'm closing this PR. I've opened a separate issue to review the existing list of "safe functions". See #2119.


Error getting subprocess error with non-blocking mode

Accessing command.err a second time causes an exception
In [1]: import delegator

In [2]: command = delegator.run('echo a', block=False)

In [3]: command.err
Out[3]: 'a\n'

In [4]: command.err
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-5e568e65e1e2> in <module>()
----> 1 command.err

~/.virtualenvs/service-mailer/lib/python3.6/site-packages/delegator.py in err(self)
    114             return self.__err
    115         else:
--> 116             return self._pexpect_out
    117
    118     @property

~/.virtualenvs/service-mailer/lib/python3.6/site-packages/delegator.py in _pexpect_out(self)
     82             result += self.subprocess.before
     83         if self.subprocess.after:
---> 84             result += self.subprocess.after
     85
     86         result += self.subprocess.read()

TypeError: must be str, not type

The cause is that self.subprocess.after becomes <class 'pexpect.exceptions.EOF'> after the first command.err

I've just checked the docs and found out that I shouldn't use command.err with non-blocking mode. Maybe the correct fix for this bug it so update the err function to not even try to read the error streams in non-blocking mode?

Closing due to inactivity :+1:

I'm re-opening this because there is actually a PR for it.
@jakul you've had some doubts after submitting the PR. Is the PR still legit though?

@timofurrer The behaviour is better, but still not correct.
In [1]: import delegator

In [2]: command = delegator.run('echo a', block=False)

In [3]: command.err
Out[3]: 'a\n'

In [4]: command.err
Out[4]: 'a\n'

In [5]: command.err
Out[5]: ''

In [6]: command.err
Out[6]: ''

Now command.err has a different the first and second times I call it, compared to the 3rd, 4th etc.

It's any ways strange that you get an output at all for command.err.
It seems to work fine when you try to get the stdout from command.out.

I've just commited https://github.com/kennethreitz/delegator.py/commit/ad67b14232cd54a36b60afc6b02a3e8a1e75cca2 with which command.err is cached properly, but doesn't actually return stderr but stdout (which was already the case before this change. I'll have a look at how to change that behavior, too)


Zfin import models

round 2 attempt for a clean PR into master of all ZFIN models, without spurious deletes that we saw in: https://github.com/geneontology/noctua-models/pull/182
The large number of commits is just a result of the number of files being too long to add in a single commit.
Travis is failing because the logging output is too long - should we just move to github actions?

@sierra-moxon The models I spot-checked look good! Unfortunately there's a bug we discovered in the ART workshop today that affects Noctua Form and ShEx. I'm testing a fix for this right now. Once it's merged into ontobio the models would need to be regenerated. Sorry!

@sierra-moxon OK, that bug's been fixed in ontobio so, if you git pull from master and regen, you should be good. Unfortunately, you'd also have to reset the modelstate to "production" again. Grr, need to add that option to the gocamgen code.

@dustine32 - ok, another attempt - these should have 'production' status, and providedBy tag.  (see accompanying dev PR: https://github.com/geneontology/noctua-models/pull/187) :) Would you mind taking a quick look? (not ready to merge until rest of testing has been done).

Here we go!


Mosaic Dataset CA_CC_Lidar.gdb\s_CA_CC_2010_DSM references incorrect paths

Mosaic Dataset data\FoundationOverlays\Elevation\MosaicDatasets\CA_CC_Lidar.gdb\s_CA_CC_2010_DSM contains paths with local C:\OpsServer\Data instead of UNC path to \FILESERVER\Data

@elinz I have fixed the mosaic dataset paths. to nsecdata. I am concerned however,  as I have fixed the paths to this mosaic an other mosaics repeatedly.  I am confused about how the paths keep reverting to some other location.  Could the build or extract process be overwriting paths?

@NatalieCampos Please do not include server names or domain account names in GitHub issues.

The build process does not alter the paths in mosaic datasets located in the "data" folder. We only modify mosaic datasets copied to the build folder. @ACueva Please confirm.

I think this should be assigned to @elinz to verify that this issue has been resolved.

@NatalieCampos I've deleted the screen shot from previous comment as it contained server names and domain account names.

Verified fixed. Closing issue.


Crashing with large MP4 files

Hi Joseph, congrats for your great work! I've been developing a project where the user selects a GoPro video (source) and then some gauges are animated over the video on a canvas, firstly to display for the user, but later I would also like to render a new mp4 file for the user to download. In order to have proper control over the frame rate of the resulting video and precisely animate the gauges, my plan is to get the source video frames individually, draw the gauges over each frame and then generate a new video with the set of frames. For that, your libraries are very handy, however, I can't load big files, because it causes chrome and edge to crash. Any idea of a workaround for that so I can load big files?

Hmm, I think your first step is to work out where the source of the crash is specifically coming from. Try loading your file with the mp4box.js demos to see if that crashes: https://gpac.github.io/mp4box.js/test/filereader.html
If that works, then copy mod.js locally and add some console.log to see how far it gets, and where it gets to before crashing.
If it crashes the mp4box.js demos, then it might be worth posting an issue on the mp4box.js repo: https://github.com/gpac/mp4box.js/ Make sure to try in a couple of different browsers.

OK Joseph, thanks for the feedback. I acctually found the limit and it is really mp4 box related. Whenever the box file that mp4 creates reaches 4GB it crashes. What I ended up doing is using a different approach to reach the file frames by using the video.requestVideoFrameCallback() method, which suited my application very well:
https://web.dev/requestvideoframecallback-rvfc/


"Folding" single line comments

I know these can't be natively folded, but I'd like them to disappear on toggle nonetheless, for better code readability. We'd need to check for class comment, and add a visibility:none or similar to it on toggle?

I'm not sure, I haven't worked on this plugin in ages and don't really have a continued interest in working on it to be honest. I am more than happy to accept contributions though!


Session touched on every request

I noticed in 1.2.0 a new touch Session instance method was added. However, I noticed that, on every request, the expires property gets touched anyway.
Is this by design? Or should the session expiry remain unchanged until session.touch() or sessionStore.set() is called?

Actually there is no particular reason.
If needed the expires property may remain unchanged until sessionStore.set() is called.
Please feel free to open a PR.

I am closing this issue.
If needed please reopen it or open a new one.


Remove version from DNS name

Having the version in the dns pod name makes it more complicated to upgrade.

LGTM


Strip Quotes from path variable to avoid creating broken path's

Update inst.py
Strip Quotes from path variable to avoid creating broken path's when calling .parent
Fixes this issue: https://github.com/onyx-and-iris/voicemeeter-api-python/issues/12

I will merge this if it solves a problem for you, I can't think of any negative side effects since its just removing start/end quotations if they exist.
Just one point to note, although this does allow the package to load the remote api dll, in my testing VBVMR_RunVoicemeeter still does not work (I imagine for the same reason, the api call doesn't remove the quotation marks). I've raised this with the developer but I don't know if it will get fixed or not.


Update Docker migration script to match install improvements

https://discourse.firez.one/t/caddy-hasnt-made-a-valid-ssl-certificate-after-migration/311/3

Pull Request Test Coverage Report for Build 1fcec8f1c76345ffebe0589702212a31415f7c88-PR-1166

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.501%

Totals

Change from base Build 47dd620d55fb60761e8e8a18de0b7db6a5409d9a:
0.0%

Covered Lines:
1205

Relevant Lines:
1812

💛  - Coveralls


[draft] Decide on strategy for external libraries

[ ] template project for bridging external libraries into TFE

Depends on #567

We could move this https://github.com/tf-encrypted/tf-encrypted/pull/560 to a different repo to build a first project for bridging external libs.

Based on findings in #567 it seems that we should only dynamically link against eg GMP and NTL, ie the installation process would have to make sure that these are installed on the user's system.
While this is doable, I also like the idea of not having these as hard dependencies of TFE, since they may not be easily available on all devices that we want to play around with (although they are not main target for TFE, I've previously had issues with GMP on RPis and phones).
To me this suggests a structure where code that has a hard dependency on dynamically linked libraries should live in subpackages and not in the main TFE package.

I think I like the idea of having bridges in separate repos and PyPI packages, say github.com/tf-encrypted/bridge-scale-mamba and tf-encrypted-scalemamba. Benefits:

keeps the core clean and easy to get started on with few dependencies (roughly only TF)
avoids licensing issues by only linking dynamically
keeps frameworks optional in an obvious manner
allows non-core members to keep the bridge close to the framework if they desire (say on their GitHub account)

To close this one up, from #567 it seems that we either have to:

be okay with dynamically linking libraries (especially GMP/NTL)
move to sub-packages (which are dynamically linked with TFE but can themselves be statically linked to GMP/NTL as long as they are under LGPL).

For 1. to be a real options we have to ensure at least three things:

that pip allows us to easily ensure that they are installed
that they are readily available on all target platforms in binary form (homebrew has them for macOS, APT has them for Debian/Ubuntu, less clear on Windows)
that the above doesn't make any real assumptions about the user's environment ("install GMP through homebrew...") or require additional installations ("download xcode, setup development environment, ...")

I haven't found a solution that satisfies all three points, not least since packages such as gmpy and gmpy2 only seem to provide wrappers. For this reason I think moving to dynamically linked sub-packages seems like the right move forward.
Closing the issue; happy to reopen if there is more to be said.


feat: add getDataFromStore to abstractions/Arbitrable

Pull Request Test Coverage Report for Build 624

0 of 3 (0.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 44.283%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/contracts/abstractions/Arbitrable.js
0
3
0.0%

Totals

Change from base Build 621:
-0.1%

Covered Lines:
423

Relevant Lines:
833

💛  - Coveralls


Support for EPSG7128 projection and WMS layer

Hi, first of all, thankyou for this. It's a mayor lifesaver for me if I can make this work.
I'm trying to fit my map into the example I downloaded from you guys and I can't seem to make it work, below you'll find the script.js file with my data.
Also I have to examples of my map working in openlayers in case you want to take a peek:
http://mapa.buenosaires.gov.ar/
http://usig.buenosaires.gov.ar/m/ (mobile version, still under development, but a much simpler code)
I just want to know if there's something I might me doing wrong, but I can't seem to find anything
var res = [90, 50, 30, 15, 7.5, 4, 2, 1, 0.5, 0.2]
,start = new L.LatLng(-34.629243, -58.463196)
,map = new L.Map('map', {
crs: L.CRS.proj4js('EPSG:7128'
,'+lon_0=-58.463196 +lat_0=-34.629243 +k=0.999998 +x_0=100000.0 +y_0=100000.0 +proj=tmerc +ellps=intl +units=m +no_defs'
,new L.Transformation(1, 0, -1, 0))
,scale: function(zoom) {
return 1 / res[zoom];
}
,continuousWorld: false
})
,mapUrl = 'http://tiles1.mapa.buenosaires.gob.ar/tilecache/'
,attrib = 'Map data © 2011 USIG, Imagery © 2011 USIG'
,tilelayer = new L.TileLayer.WMS(mapUrl, {
scheme: 'tms'
,maxZoom: 18
,minZoom: 1
,continuousWorld: false
,format: 'image/png'
,transparent: true
,attribution: attrib
,layers: 'mapabsas_default'
});
map.addLayer(tilelayer);
map.setView(start, 5);

Hi,
You are addressing your WMS with a TMS scheme option, you shouldn't set this.
 This needs to be turned on for Proj4Leaflet to work.
Also, the Transformation needs to be set with the layer's BoundingBox origin, where minx is negated.
I updated your code accordingly:
var res = [90, 50, 30, 15, 7.5, 4, 2, 1, 0.5, 0.2]
,start = new L.LatLng(-34.629243, -58.463196)
,map = new L.Map('map', {
crs: L.CRS.proj4js('EPSG:7128'
,'+lon_0=-58.463196 +lat_0=-34.629243 +k=0.999998 +x_0=100000.0 +y_0=100000.0 +proj=tmerc +ellps=intl +units=m +no_defs'
,new L.Transformation(1, -54340, -1, 54090.000000))
,scale: function(zoom) {
return 1 / res[zoom];
}
,continuousWorld: true
})
,mapUrl = 'http://tiles1.mapa.buenosaires.gob.ar/tilecache/mapabsas_default'
,attrib = 'Map data © 2011 USIG, Imagery © 2011 USIG'
,tilelayer = new L.TileLayer.WMS(mapUrl, {
scheme: 'wms'
,maxZoom: 18
,minZoom: 1
,continuousWorld: true
,format: 'image/png'
,transparent: true
,attribution: attrib
,layers: 'mapabsas_default'
});
map.addLayer(tilelayer);
map.setView(start, 5);

I found that inside leaflet.js theres a _update() function that starts with:
var a=this._map.getPixelBounds(),
this returns a pair of points min(x,y) and max(x,y)
when the page loads the values are (229025, -228959), (227576,-229287)
but if I drag a little, the x values go crazy: (39953495,-228960),(39952046,-229288)
I still haven't been able to replace the minified versions of leaflet and proj4js for the last versions of readable code I found on there websites

Hi
On the download page, DL the stable version :
http://leaflet.cloudmade.com/download.html
In the dist subfolder, you can find leaflet-src.js that is a readable version of the code (only concat, not minified)
Fabien

I found the error, it's a problem with leaflet's continuous map feature, my projection is for small areas such as cities, and therefore can not be made continuous.
passing "worldCopyJump:false" as a parameter when calling the map solves this issue.

@dicoy I can see that you have passed the parameter "continuousWorld: false" to the L.Map constructor but "continuousWorld: true" to the L.TileLayer.WMS constructor. As @pthorin explains and as his code example shows you must set "continuousWorld" to true on both the map and layer instance.


[8.x] Throw an exception when trying to add a foreign key to an existing SQLite database

I just spent an hour trying to figure out why a foreign key constraint wasn't working in one of my tests. As it turns out, SQLite doesn't support adding foreign keys to existing databases. Doing this in a migration doesn't throw an exception, you'll only notice your foreign key constraints aren't working when you start seeing weird behavior in your code (such as ON DELETE CASCADE not working).
What makes this issue even harder to debug, is that when you look up "SQLite foreign key constraints not working", all the answers you find will say "foreign keys are disabled by default, you should enable them manually". Laravel has been enabling foreign keys for SQLite since https://github.com/laravel/framework/pull/26298, so all these answers aren't useful. You have to specifically look up "add foreign key to SQLite table" to figure out why it isn't working.
This PR makes it so that an exception is thrown if you try to add a foreign key to an existing SQLite database. It also adds tests for the exceptions that are thrown when you try to run commands that aren't available for SQLite.
I'm targeting 8.x because this change will likely break some users their migrations.

I think this is maybe better left as documentation. This will prevent people from running some basic tests on SQLite when their application uses foreign keys.

@taylorotwell What do you think about a prevent_using_unsupported_commands config option for SQLite connections? If it defaults to false, it won't bother people doing basic tests, people who want to make sure they don't get bit by weird problems like this can put it on true. A config option like that would also nudge people to read the documentation.


Loss of window events when FIFO presentation mode is used

I0m not sure if this is an issue of ash or a wininit one. When switching the presentation mode of the examples, for example the trinmagle one, from MAILBOX to FIFO, the window seems not to be responding to the events (youc annot drag it or even close it properly). I'm performing the tests with Windows 11.

ash is not involved in delivery or handling of Windows events; I recommend opening an issue on winit.

The thing is why this happens when siwtcihng form MAILBOX to FIFO. Testing with pure winit code code does not show this behaviour. Any ideas?

Probably something to do with the DXGI's internals. It's winit's responsibility to deal with in any case.

Thanks for the response, I will open an issue in winiti's repo.


i18n(zh-cn): Update integrations-reference.mdx

Description (required)
Update integrations-reference.mdx
Related issues & labels (optional)

#9224
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
reference/integrations-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Installing<EMAIL_ADDRESS>failed

Installing<EMAIL_ADDRESS>failed.Hide output…
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file
npm ERR!      C:\Users\DEll.atom.apm_logs\2020-02-19T08_31_46_480Z-debug.log
it has failed and not working


a bug fix for sagemakerendpoint streaming

@3coins Hi Piyush
I modified the code and also added _acall function too.
I opened up a new pull request here and closed the previous PR #11999

@3coins
Hi Piyush,
I hope you are well.
I am just following up on this pull request #12122 that fixes the Sagemaker endpoint streaming feature for TGI container synchronously as well as asynchronously.
I have made all the changes that we discussed and passed all the checks.
I would appreciate it if you could review it.
Thank you for your time and attention.
Please let me know if you have any questions or concerns.

@lyoh001
I had been occupied this week, so couldn't review your PR earlier.


Could backbone provide Backbone.Class ?

Sometimes, the Model  can not satisfy the case.  Could backbone provide Backbone.Class, like the following ?
    function Class(options) {
        var that = this;
        that.options = _.extend({}, options);
        that.initialize.apply(that, arguments);
    }

    Class.prototype.initialize = function () {};

    Class.extend = Backbone.extend;

So, the subclass will be
var Sub = Class.extend({
// instance methods or properties
}, {
// class methods or properties
});

I think sometimes the Backbone.Class will be helpful.

I see.  #2537


How to import the MediaPipeUnityPlugin to another Unity project.

Hello All,
I've been trying to use the Facemesh 3D part of MediaPipeUnityPlugin inside another Unity project , however even though I managed to find and insert the libmediapipe_c.dll into the Assets folder,  I still can't find the name of the namespace required to utilise its methods. Could you please tell me how you managed to use the methods?
Thank you!

Copy the Packages > com.homuler... folder too

Any idea where I can access the output the mediapipe models, e.g. the detected keypoint / landmark locations  for further usage in Unity?

Hi, @ROBYER1 and everyone, could you please elaborate on that? Should I copy the json files also included in the Plugin > Packages folder? I know that there is data on the plugin on the packages-lock, at the very least, however, there are other dependencies for my project which means that copying that file wouldn't solve my problems (or at least I think so).  There were also some compiler issue when I copied only the com.homuler folder, is this common, was it supposed to work from the get go?

You need to read the readme here and build Mediapipe for your target platform https://github.com/homuler/MediaPipeUnityPlugin

I think that Homuler is rewriting the plugin to make it easier to copy.. if you copy the com.homuler folder at least and also the Mediapipe folder in Assets that should work?

I think that Homuler is rewriting the plugin to make it easier to copy.. if you copy the com.homuler folder at least and also the Mediapipe folder in Assets that should work?

That works for me @ROBYER1,
I'd also like to mention that and my manifest.json in Packages Folder of the "parent project" has the line:
"com.github.homuler.mediapipe": "file:com.github.homuler.mediapipe",
and packages-lock.json:
    "com.github.homuler.mediapipe": {
      "version": "file:com.github.homuler.mediapipe",
      "depth": 0,
      "source": "embedded",
      "dependencies": {}
    },
I don't remember if that files are automatically generated or I've added by hand, but maybe it can help @Luis-Alves2

You can import it as a local package after building native libraries, not if you need to add the whole source code to your repository.
I'm wondering if it would be better to prepare a script to creating unitypackage file, but I'm not sure what would be best, so if you have an opinion, please let me know.

I could import the DesktopDemo project into my project. I had to:

export the destop demo scene as a package
copy the com.homuler.... folder inside the package folder of my project
adapt the json file in my project (via file comparison program

Thanks everyone, I followed what Robyer and LGuilhermeRodrigues said and it seems to work just fine.

@Luis-Alves2 nice I haven’t tried it yet can you please outline all the steps you took to make it work.
One question did it decrease the app bundle size on mobile without you stripping or optimizing the app size?


[New Feature] support ip/user detect & limit

how should i do if i want limit the same ip or user(might be identify by custom alogrithm) at a period of 1m/h/d etc.

https://devblogs.microsoft.com/dotnet/announcing-rate-limiting-for-dotnet/

thanks!


feat: #66 ignore page not found

Codecov Report

Merging #67 (da7bb25) into php (bbfb879) will increase coverage by 0.18%.
The diff coverage is 80.95%.

@@             Coverage Diff              @@
##                php      #67      +/-   ##
============================================
+ Coverage     85.83%   86.02%   +0.18%
- Complexity      102      104       +2
============================================
  Files             9        9
  Lines           459      465       +6
============================================
+ Hits            394      400       +6
  Misses           65       65

Impacted Files
Coverage Δ

app/Commands/WikiImportCommand.php
87.03% <80.00%> (+0.49%)
:arrow_up:

app/Confluence.php
97.56% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbfb879...da7bb25. Read the comment docs.


Standard configuration error

Running ./init.sh yields:
...
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.347 s
[INFO] Finished at: 2021-05-31T15:42:34+02:00
[INFO] ------------------------------------------------------------------------
sed: 1: "config/benchmark.proper ...": command c expects \ followed by text

Hi @marcelned, make sure you pass the arguments as required:
./init.sh MY_GRAPH_DIR NEO4J_DIR IMPLEMENTATION

The default values of these arguments point to the home directory (~/graphs and ~/neo4j, respectively).
Also, what system are you on? The repository is tested on Linux - as it is, it will not work on Mac OS. I can bump the Graphalytics core dependency and perform some fixes to make it work.
PS: It's been a while since I've touched this repository. It would be worth upgrading to Neo4j 4.x but I don't have the time to perform this now.


Add simpleabm

Implements a SimpleABM module, which is an as-simple-as-reasonable SIR (for now) ABM, including a spatial network.
Definitely not the PR I thought I'd be making now, but I ended up doing this for debugging Starsim's SIR model, and I feel like it might be useful for (a) debugging to know what the "simple" answer should be (eg do my SIR parameters make sense?), (b) rapid prototyping (eg a new network structure), (c) teaching (eg a rough approximation of what Starsim itself is doing).
Closes https://github.com/amath-idm/starsim/issues/124

If it was in this repo, then putting it somewhere like the tests folder would make more sense, it is quite confusing for it to sit at the top alongside starsim. But I think a separate repo under starsimhub would be my preference too

Maybe having a starsim-sandbox or starsim-samples will be a good place to share implementations like this.  I see a lot of value on keeping them around in a visible spot.


Caminite Ring incomplete craft

Like the title said the Caminite ring crafting recipe is imcomplete. It's missing the caminite blocks on top and bottom. I don't know if it's the modpack problem of the mod itself. here is what it shows when i look at the craft ( https://gyazo.com/87c44a58bf2018f70188a65702d06462 ). I tried putting the caminite block and the craft don't show up. Vanilla and modded crafting doesn't work.

fixed in dev. the actual recipe is 3 caminite bricks (items) on the top and bottom (so 6 total) and the two wall blocks as they are in the recipe.


Did you guys share the pretraining code

I'm reading the paper. And for our project, the pretraining part is more helpful so I wonder if you guys also shared these code somewhere?
Also I have a question for the Detection of Direction Exceptions task. Why did you guys chose to use the majority direction in the positive set? Is it related to the way you guys sample the directions? If it's possible can I get more details?

Which paper are you reading?

[CVPR 2023] GeoLayoutLM: Geometric Pre-training for Visual Information Extraction

Why did you guys chose to use the majority direction in the positive set?

We assume that most relation predictions are right by a simple/coarse relation head in a real downstream task, which is reflected in DDE where the majority direction is regarded as positive.


Reporters: add timestamp to log in describe() func

When debugging tests case, having a timestamp on console outputs is
useful and would help developers to isolate timing issues.
This change was intended in MR318 but it was changing reporter.describe
and not reporter.write (which is called by canopy.describe).

In github world, MRs are called PRs :P :)


Jigsaw in MaterialTag.direction + Scaffolding in MaterialTag.type

This pull request adds:

Support for Jigsaw's "orientation" property in MaterialTag.direction
Support for scaffolding's "bottom" property in MaterialTag.type

Both fixed.


code --uninstall-extension is not the inverse of --install-extension

It was surprising to find out that after a:
code --install-extension ~/Desktop/test.vsix

and a restart, executing this:
code --uninstall-extension ~/Desktop/test.vsix

doesn't remove the extension, instead it throws an error:
Error: Extension '/Users/fabio/Desktop/test.vsix' is not installed.

--install-extension needs source from where the vsix can be accessed and be installed. Give an extension name or path, it will find the vsix in the marketplace, download and install.
Give path to vsix file, it will install the extension using the vsix file
--uninstall-extension has nothing to do with location of the vsix. It takes extension name and uninstalls it.
This is by design.
cc @joaomoreno for more info if I missed anything

Is there a reason why provided the path of the .vsix file it doesn't get the name of the extension from it?
Running code --help displays the following, which seems to imply that both accept the same kind of argument:
  --install-extension <ext>   Installs an extension.
  --uninstall-extension <ext> Uninstalls an extension.

I believe the code --help needs an update :)

That's good, but why not making code --uninstall-extension fetch the extension id from the vsix file?

@fabiospampinato Sure, it would also not hurt... want to submit a PR for that?

Alright, I'll work on it.


Forked the latest anime dl and added selescrape to it.

I just took all the changes you did for the past days

i have to use the latest code from anime dl, so plz dont review this yet

Press ready for review when you are completed with the code

i think it should have been a draft from the start. Dumb me for not thinking about it.

finally ready for review

i think it is once again ready for a review.


Allow to pass multiple requests in from_source

Is your feature request related to a problem? Please describe.
Being able to pass multiple requests is useful for various reasons. For example, to exclude missing data, use monthly chunks for daily data (because months have different number of days), ...
Describe the solution you'd like
I'd like to be able to do this:
from_source("cds", collection_in, *[request0, request1, ...])
Describe alternatives you've considered
No response
Additional context
No response
Organisation
B-Open / CADS-EQC

#227 addressed this


Add ability to toggle some data series on/off

It would be a welcome addition the ability to provide a way for the user to toggle the visibility of the series in a graph (I'm thinking lineChart with multiple series, but it can apply to several other ones as well)
Expected Behavior
When a graph has several series, it can be nice for the user the ability to hide some of them (in Chart.js that's done clicking on the legend) and remove that way the visual clutter and focus on other data.
Current Behavior
All the series are always visible
Possible Solution
For example an optional button with an eye, when clicked it shows a pane with the series and allows toggling them on/off
Steps to Reproduce (for bugs)
Load https://eventbrite.github.io/britecharts/tutorial-line.html and try to remove the Oakland data from the chart

Thanks for the proposal @AlfonsoML !!
It makes a lot of sense. I like the idea of using the legend as the control panel for this feature. It could also be hooked to more generic events so that it could be triggered programatically with any other logic.

A basic implementation of this feature would need:

[ ] Adding click events on the legend items to toggle/untoggle
[ ] Adding a 'disable' or 'dim' command to the legend (right now it only allows to highlight one, this would be the opposite use case)
[ ] Create an example where this works by filtering the data to the chart

While trying to implement this, encountered a color inconsistency issue, created an issue for that:
https://github.com/eventbrite/britecharts/issues/431

We could say this is possible now, we will need to fix the color inconsistencies, and that's reflected in #431. Also a tutorial or how to guide would be great.
Closing for now.


etcd3

Just quick question(s)

Why do we standardize on etcd2 not etcd3?
is etcd version parameterized?
do we have plans to move to etcd3?

@lachie83 @seanknox

We plan to move to etcd3 by default after the v0.11.0 release

etcd3 is not the default


Improve json data updating

[x] Fix potential race condition where a client fetches issues from /issues at the same time the file is being written
[x] Keep data in memory ?

Implemented flexible backstore (memory/redis)


feat: Varlet-Cli Support for internationalization and non-document router

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

close #590

Codecov Report

Merging #591 (bc281a8) into dev (89b0841) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #591   +/-   ##
=======================================
  Coverage   95.82%   95.82%
=======================================
  Files         217      217
  Lines        5267     5267
  Branches      990      990
=======================================
  Hits         5047     5047
  Misses        213      213
  Partials        7        7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89b0841...bc281a8. Read the comment docs.


Nlp based project structure [folder-layout]

hi , i am new in cookiecutter ....
I want to use this template as base template for text classification project. I have preprocessing module. where should i put this module,in make_dataset, there is no need to download any data , i have my dataset.should DATABASE_URL variable in .env point to /data/raw folder?? in the other hand, i create featuress in preprocessing module and extract LDA based and tf-idf based feature from raw data  ,so should this be in feature folder ? i am confusing is this structure good for my project or not?

Hi @masepehr, I'm closing this issue since it is a support request, not an issue with the software.
That said, here's what I'd recommend:

Feel free to remove make_dataset.py if you don't need an automated way to acquire the data.
I'd put the preprocessing code in src/features/preprocess.py
Sounds like you're using flat files, not a database for this project so you can ignore DATABASE_URL
I'd put the raw data in data/raw
I'd use the preprocess.py script to take the raw data from data/raw as input and output the tf-idf matrix to a file that lives in data/processed

Hope that helps!


performance

@muaz-khan
i have some question to make my app performing better

can we raise keepalive and timeout connection to avoid disconnection from video when internet speed is slow

@muaz-khan
2. can we detect the device monitor for each device and give the right bitrate in order to save internet bandwidth and keep good quality

@muaz-khan
3. can we raise buffer and allocate at ram in order to have faster performance and avoid disconnection and slow video call ?


Paging for List operations

Motivation
Paging of all list call responses should be implemented. This is a topic branch for all the related tasks.
Approach
Implementation of this part of the specification: https://github.com/Peripli/specification/blob/sm-ops/api.md#paging-parameters

Coverage increased (+0.05%) to 89.634% when pulling 44dfd6d606ac2a42e0ca15fcb79338e0a3bd98ab on paging-topic into f479b10d3d8570afeef586a0aaab276de5084e43 on master.


Resources page creation

Adds the markdown file for the Resources page incorporating team contributed resources.

This PR uses the "AsideWithMainContent" component which was before we implemented the modular app w/ reusable layouts pattern.
We need to migrate this to use the current pattern (looping in @itexpert120 to help):
Resources should use the "every app" pattern w/ Sidebar Layout. The associated config should replace https://github.com/NEARBuilders/docs/blob/main/index.json. The documents can remain in github -- this just means that the app's "route content" should be a Widget that takes the url as prop, fetches from github, and displays.


Invoice Document: Logo and Country is Null

Logo: Even though I added a logo in the document configuration, config.logo remains null, no matter what I do. I would expect the logo to be set when it has been set in the config. In the document_base_config table the corresponding logo_id field is set properly.
country: In the "document_recipient" Block a variable "billingAddress.country.name" is beeing accessed. billingAddress.country seems is null, even though a country for the billingAddress has been set.
Just create an invoice wihthin the admin for an order to reproduce the issue
EA2 and current Master

We found the problem with the Logo and fixed it.
The billingAddress can be found in order.addresses: this is an array of addresses and you have to match the id against the billingAddressId. Also we fixed a case, that the country was not fully loaded.

Hey @ssltg
Thanks for the reply.

The billingAddress can be found in order.addresses:

Well, the "document_recipient" Block uses the "billingAddress.country.name"-variable.
This is the default-block provided by shopware.
When the billingAddress can be found in order.addresses, as you mentioned, then this seems to be a bug. Because  "billingAddress.country.name" is always empty


Nullable enum type can't use on workload.

I use nullable enum type.
public enum WorkerType
{
    A,
    B,
}

public class NullableWorkload : Workload
{
    public NullableWorkload(WorkerType? t) { }
    public override Task ExecuteAsync(WorkloadContext context) => Task.CompletedTask;
}

public class NotNullableWorkload : Workload
{
    public NotNullableWorkload(WorkerType t) { }
    public override Task ExecuteAsync(WorkloadContext context) => Task.CompletedTask;
}

But, Only null in dropdown list.

I hope null , A , B in dropdown list.

thanks, I've released 1.0.6, it includes this fix.


major css site refactor

This is not a small PR - please please please test this 12-13 times over.
Attached is a complete refactor of the CSS on defund12 which componentizes and compartmentalizes the site layout from the ground up.
Attached is a new version of the sass file, which imports from partials and compiles out a full css file. Right now, I care that I am not overlooking any additional styles (namely padding), device testing, etc.
I will add more comments to the files within this branch.

leaving a reminder comment as well about ignoring scss cache!


Frontend: Create JSX/HTML for Authentication Pages

Code sampled from Module 21 Challenge; main login page with form containing input fields for username, email, and password

PR: https://github.com/HashemE1999/locus/pull/47


dashboard for issues and PRs

This PR contains:

Workflow file for detailed view of issues action-wise for health dashboard .

Workflow file for detailed view of pull requests action-wise for health dashboard .

5000 calls per hour  or ~80 calls per minute is the rate limit for API calls made through github for a user. We don't get that error in summary page as we are not executing individual action queries for every label.  cc: @kanika1894


"json.loads" need to support Control characters(ex. \n, \r, \t) insid…

When json.loads, it fails because of control characters(ex.\n, \r, \t)
Official json string support control characters. (http://json.org/)

Maybe I'm reading the code wrongly, but it seems like with load_kwargs, you could just do this where you are defining the field which seems like a better option to me.  Example, JSONField(strict=False).

@kimdwkimdw @paltman I read the code the same way -- you can set strict=False when defining the field. I don't think it's a good idea to turn off strict by default.


Cannot create an enum flag instance from value 0

@[Flags]
enum A
  A
  B
  C
end

pp A::None.value

puts A.from_value 0 # => Unknown enum A value: 0 (Exception)

https://carc.in/#/r/3o46
I think this should give A::None, not an exception.

It's even spec'd this way:
https://github.com/crystal-lang/crystal/blob/3f99c77cb07435db87b02c3e59f3448c7f4a2c07/spec/std/enum_spec.cr#L119-L120
What is the reasoning behind this behavior?
To me an Enum flag with value 0 is a valid enum flag (None).

Yeah I'd expect that to work.


Using https://github.com/briansmith/ring instead of OpenSSL

That's a version porting to pure rust.

I don't believe ring implements TLS.

How about rusttls?

https://github.com/ctz/rustls,
it's using ring

The https://crates.io/crates/hyper-rustls crate provides RusTLS support for Hyper. I don't think it makes sense to default to RusTLS at the current time, though, since its supported feature set is pretty small. It doesn't support DHE key exchange, AES modes other than GCM, and protocols other than TLSv1.2. This means, for example, that it can't talk to Java 1.7 or lower.

The tokio branch is now using native_tls.

As explained in #985, hyper no longer picks a default TLS implementation, and any crate can provide one.


I get this error when using python3 TVB.py lejobuildlive: An error has occurred while trying to use livestreamer package. Is it installed? Do you have Python in your PATH variable?

@Lejobuild try running the following:
pip install livestreamer
then try again

An error has occurred while trying to use livestreamer package. Is it installed? Do you have Python in your PATH variable?
Traceback (most recent call last):
File "/Users/petrostsimvrs/Desktop/Development/twitch-viewer/twitch-viewer.py", line 48, in get_url
url = json.loads(response)['streams']['audio_only']['url']
^^^^^^^^
UnboundLocalError: cannot access local variable 'response' where it is not associated with a value

I have the same issue too @JJoshyyy , pip is already installed. Requirement already satisfied: livestreamer in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (1.12.2) Requirement already satisfied: requests<3.0,>=1.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from livestreamer) (2.28.1) Requirement already satisfied: charset-normalizer<3,>=2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests<3.0,>=1.0->livestreamer) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests<3.0,>=1.0->livestreamer) (2.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests<3.0,>=1.0->livestreamer) (1.26.5) Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests<3.0,>=1.0->livestreamer) (2022.12.7)

That means nothing, its just saying that the apps are already installed

An error has occurred while trying to use livestreamer package. Is it installed? Do you have Python in your PATH variable? Traceback (most recent call last): File "/Users/user/Desktop/Development/twitch-viewer/twitch-viewer.py", line 48, in get_url url = json.loads(response)['streams']['audio_only']['url'] ^^^^^^^^ UnboundLocalError: cannot access local variable 'response' where it is not associated with a value

No clue, try lookuing elsewhere

Do the exact thing as i said above bro. pip install livestreamer

i install livestreamer again, the problem remains the same

maybe its a problem caused because im running it from a Mac?

maybe its a problem caused because im running it from a Mac?

Most likely in that case. Try setting up a vm running windows


Automatic detection of GBT server name

Previously, I put a hard-coded localhost in the server name. Now our updated MiniDAQ is called UMDlab (I think this is due to the /etc/host setting).
We should figure out a way to detect GBT server name automatically.

Won't do this.

Actually, the name of the GBT server is the same as the hostname of the machine. This has been implemented.


feat: documentation website

The site can be reached at: https://unistyles-docs.vercel.app/
This PR includes a new docs/ folder where all pages for the documentation website live. I have also removed some part which was duplicated from README.md and left only things I thought are most important. Looking for feedback 🙏

Thanks @schriker 🔥 , I will adjust it a little bit 🙏


bug(Material forms): mat-option elements are outside any containers they should be in

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
These elements are outside of the div, form and mat-form-field

And it does not make sense to me why
Reproduction
I have no idea how to use stackblitz.
HTML:

Forge your Sword!

    <form [formGroup]="swordForm" (ngSubmit)="submitSword()">
      <mat-form-field>

        <mat-label>Sword's name:</mat-label>
        <input matInput type="text" placeholder="Doran's Blade" formControlName="swordName" maxlength="128">

      </mat-form-field>

      <mat-form-field>

        <mat-label>Creator's name:</mat-label>
        <input matInput type="text" placeholder="Doran" formControlName="creatorName" maxlength="64">

      </mat-form-field>

      <mat-form-field>
        <mat-label>Select your parts:</mat-label>
        <mat-select multiple formControlName="parts">
          <mat-option *ngFor="let part of parts" [value]="part">

            <app-part [part]="part"></app-part>

          </mat-option>
        </mat-select>
      </mat-form-field>
    </form>

    <form [formGroup]="partForm"  (ngSubmit)="submitPart()" id="partform">

Create a Part

      <mat-form-field>
        <mat-label>Select part-type:</mat-label>

        <mat-select formControlName="PartType">

          <mat-option *ngFor="let partType of forgingService.availablePartTypes" [value]="partType">

{{partType.type}}

          </mat-option>
        </mat-select>
      </mat-form-field>

      <mat-form-field>
        <mat-label>Select material:</mat-label>
        <mat-select formControlName="Material">
          <mat-option *ngFor="let material of forgingService.availableMaterials" [value]="material">

            <app-material [Mat]="material"></app-material>

          </mat-option>
        </mat-select>
      </mat-form-field>
    </form>

    <app-sword *ngFor="let sword of swordService.swords" [sword]="sword"></app-sword>

Expected Behavior
I expect the mat-options to be added into the same container as the mat-select
Actual Behavior
The mat-options were appended in a div at the end of the HTML
Environment

Angular: 15.2.8
CDK/Material: latest
Browser(s): chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

I tried to reproduce the issue in StackBlitz however in my multiple tries it either did not work at all or displayed it normal

https://github.com/angular/components/issues/15764
This issue is similar to mine

I as well am experiencing this issue. Here is a stackblitz which reproduces it. @amysorto  @LordM4x

It seems that the overlay is incorrectly placed outside the app-root.

Thank you for the reminder. I should have updated this post. Yes, I did figure that out as well. Seems like if the library is going to experience such issues when missing a default theme, the compiler should at least thrown a warning.


[Bug?] Arrows stuck in blocks still have velocity with Pace Purification

This is probably just the data that Minecraft gives, thanks Mojank. But it would be helpful and more intuitive if there were a special case for Pace Purification for arrows stuck in blocks to have zero velocity.

Note: this apparently can be worked around (by raycasting from the arrow's position using its velocity and seeing if the resulting position is within a block) so it may or may not be necessary to patch this.


"flutter: waitFor" command is not getting time out after waiting enough time to FlutterElement visible on screen.

@truongsinh
Can we add any default time out for this command or there is any way to define explicit wait time for this command. Same for WaitForAbsent command.

Hi @ahashmi24 good catch.
@truongsinh I think timeoutDuration parameter is missed in driver. We need to add.

@truongsinh
Any update on it?

@other: sorry for such a lateeeeee reply.
@shibupanda are you working on this one? If you are then I can focus on others.

@truongsinh am working on it soon I will send you my first pull request

@shibupanda Thank-You for the fixes.
should I need to re-install appium to utilize these fixes?
Currently, I am using v1.16.0

@ahashmi24 Please use latest version of driver in appium 1.16.0
https://www.npmjs.com/package/appium-flutter-driver

@shibupanda
is this a correct version?
<EMAIL_ADDRESS>

@ahashmi24
<EMAIL_ADDRESS>is the latest versions publish few hours ago.


Constexpr geometric primitives and algorithms

Looks good. The error is unrelated to the PR

Unfortunately it is :)
note: cannot call non-constexpr function "sqrt(double)"

That's a shame it was totally working with gcc 7.4.0

note: cannot call non-constexpr function "sqrt(double)"

Oh I restarted the tester. It was failing with a missing gpg key.

Since @masterleinad is our constexpr expert, I will give him a chance to review this PR and I'll merge tomorrow.

Since we require C++14 we don't need to be that careful anyway.

What do you mean?

What do you mean?

constexpr functions are extremely limited in C++11.

Looking at https://cloud.cees.ornl.gov/jenkins-ci/blue/organizations/jenkins/ArborX/detail/PR-93/7/pipeline, clang has problems with std::isfinite. In fact, the standard doesn't require it to be constexpr.


Additional disclaimer language

Make the following additional changes to the disclaimers sections:
Add a section header for Cautions
Add a section for cautions on the MMECalculator page and the Conversion Factors page
Link to cautions from Home Page
Change the MME Calculation Caution in the Home Page Disclaimers Section to remove the NOTE and replace that paragraph with:
Consult the caution sections of the [MMECalculator](link to cautions section) and [ConversionFactors(link to cautions section) pages for important cautions regarding the use of the MME calculator and conversion factors included in this implementation guide.
Update language in the Caution: on the MMECalculator page to:
“Caution: Do not use the calculated dose in MMEs to determine dosage for converting one opioid to another—the new opioid should be dosed lower to avoid unintentional overdose caused by incomplete cross-tolerance and individual differences in opioid pharmacokinetics. Consult the medication label.”
Add the following additional cautions to the MMECalculator page:

Caution: Dosage thresholds in the 2016 CDC Guideline are based on overdose risk when opioids are prescribed for pain and should not guide dosing of medication treatment for opioid use disorder (MOUD).
Caution: Tapentadol is a mu receptor agonist and norepinephrine reuptake inhibitor. MMEs are based on degree of mu-receptor agonist activity, but it is unknown if this drug is associated with overdose in the same dose-dependent manner as observed with medications that are solely mu receptor agonists.

Add the following additional cautions to the Conversion Factors page:

Caution: Buprenorphine, as a partial opioid agonist, is not associated with overdose in the same dose-dependent manner as observed with medications that are full opioid agonists, and is not/should not be included in the calculator
Caution: Equianalgesic dose conversions are only estimates and cannot account for individual variability in genetics and pharmacokinetics.

CDC has updated the language of one of cautions above as of Dec 18, 2020. The original caution read "Dosage thresholds in the 2016 CDC Guideline are based on overdose risk when opioids are prescribed for pain and should not guide dosing of medication treatment for opioid use disorder (MOUD)."
The updated language reads "Dosage thresholds in the 2016 CDC Guideline are based on overdose risk when opioids are prescribed for pain and should not guide dosing of medication treatment for opioid use disorder (i.e., medication-assisted treatment [MAT])." The updated version should be used.


Fix docs grammar

Description & motivation

To-do before merge

Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[x] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

Checklist
If you added new pages (delete if not applicable):

[ ] The page has been added to website/sidebars.js
[ ] The new page has a unique filename

If you removed existing pages (delete if not applicable):

[ ] The page has been removed from website/sidebars.js
[ ] An entry has been added to _redirects

Sorry! I didn't mean to mark it for review if you weren't ready. :facepalm: Thank you for catching this!

😅  merged in on autopilot! @samkessaram feel free to start a new PR if you have more you'd like to add


fix comments in if…else

Codecov Report

Merging #60 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   65.65%   65.68%   +0.02%
==========================================
  Files          39       39
  Lines        2609     2611       +2
  Branches       46       46
==========================================
+ Hits         1713     1715       +2
  Misses        873      873
  Partials       23       23

Impacted Files
Coverage Δ

src/tokentree/walk/WalkIf.hx
97.22% <100%> (+0.16%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc7ae71...45e5e93. Read the comment docs.


[BUG] why contextpath "/springcloud" != "springcloud" ?

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Expected Behavior
can be proxied through the gateway
Steps To Reproduce

I use springcloud + shenyu, the registry uses consul.
This is the configuration of my microservice

shenyu:
  register:
    registerType: http
    serverLists: http://localhost:9095
    props:
      username: admin
      password: 123456
  client:
    springCloud:
      props:
        contextPath: ${spring.application.name}

no "/"

no match

not the expected result

Environment
ShenYu version(s): master

Debug logs
No response
Anything else?
I think "/" should be automatically filled when registering the api

Did you enable the springCloud plugin on the admin ?

see https://shenyu.apache.org/docs/next/quick-start/quick-start-springcloud/

and try with contextPath: /${spring.application.name}

I think "/" should be automatically filled when registering the api

shenyu had done so, see org.apache.shenyu.client.springcloud.init.SpringCloudClientBeanPostProcessor#pathJoin.
This happens because you have not enabled the springCloud plugin in admin.
You can try configuring only ${spring.application.name} and if you have no other questions, please close this issue.
------------------ 原始邮件 ------------------
发件人:                                                                                "apache/incubator-shenyu"                                                                                @.>;
发送时间: 2022年4月27日(星期三) 晚上8:24
@.>;
<EMAIL_ADDRESS>主题: Re: [apache/incubator-shenyu] [BUG] why contextpath "/springcloud" != "springcloud" ? (Issue #3350)
I think "/" should be automatically filled when registering the api
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

@zzq1314zll can you provide this new feature? Maybe other plugin also needs this, it's recommend to change it in client.

see https://github.com/apache/incubator-shenyu/pull/3430 , please close this issue if you are sure.


add options to use the system wide wlroots library

Describe your PR, what does it fix/add?
a similar option is used in wayfire
this reduces the burden on recompilation of the whole
subproject when recompiling hyprland, and multiple
wayland compositors are installed
Signed-off-by: Aisha Tammy<EMAIL_ADDRESS>Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
The default values for the new options makes it behave identical to how it is right now.
Is it ready for merging, or does it need work?
Should be ready to merge.

There is a reason #302 got closed as not planned.
This is a terrible idea. Why?

this reduces the burden on recompilation of the whole

wlroots takes like 10% of the compile time.

multiple wayland compositors are installed

Hyprland does not require, overwrite or conflict with any other wlroots installation.

It conflicts on Gentoo (which I am trying to add hyprland into) and also on Arch. This is evidenced by the last comment on the issue linked.
Also, I made the PR while keeping the original behaviour as the default one. I'm hoping that this just gives an option to others to make it easily packagable for other operating systems, while still trying to make it in line with your vision.

You can just patch the sources if you need to
https://github.com/hyprwm/Hyprland/blob/main/nix/meson-build.patch
https://github.com/hyprwm/Hyprland/blob/9513031da30861b6ab593625aebe88b811758427/nix/default.nix#L74-L77

It conflicts on Gentoo (which I am trying to add hyprland into) and also on Arch. This is evidenced by the last comment on the issue linked.

The comment referenced a bug that was fixed months ago, it no longer does that.
Hyprland will build wlroots from the subproject and NOT install it. The only file it will install is libwlroots.so.11032 which will not conflict with any wlroots installation, and if built with meson, it's statically linked, so no .so is ever installed.

Also, I made the PR while keeping the original behaviour as the default one. I'm hoping that this just gives an option to others to make it easily packagable for other operating systems, while still trying to make it in line with your vision.

The solution you're proposing is inane though - Hyprland will NOT build with any wlroots older than ~ 10-20 commits (aka. any tagged release). By keeping it a subproject, we eliminate conflicts. To build Hyprland with the system wlroots, they'd have to match the locked commit - which would INTRODUCE and not eliminate conflicts.
The only thing your option would introduce is a wave of people coming to the issues saying "oMg I have wlroots 0.15.1 and no buildy why :( :( :("

You can just patch the sources if you need to
https://github.com/hyprwm/Hyprland/blob/main/nix/meson-build.patch
https://github.com/hyprwm/Hyprland/blob/9513031da30861b6ab593625aebe88b811758427/nix/default.nix#L74-L77

Yes, this is what I am doing currently for the gentoo package :smile_cat:

The only thing your option would introduce is a wave of people coming to the issues saying "oMg I have wlroots 0.15.1 and no buildy why :( :( :("
If you are thinking I am a dickhead and lying, see the wlroots 0.16.0 meta and divide the amount of bullet points by the amount of days since the last tag, about 210, and you get a breaking change every other week.

Got it. I'll just keep the patch locally for gentoo for now. Maybe when wlroots is stabler with its API this can be done :)

If it works for gentoo, feel free. I will not keep it in the repo here.
Every distro is free to patch the meson / cmake / whatever to their needs. With the parent repo, however, I try to keep things as versatile and safe as possible.
Furthermore, tagged hyprland releases exist, so I mean you can always use those.


Update KubeException to inherit StandardError

Currently, KubeException inherits from Exception, which is bad because
the default "rescue" behaviour is to catch only exception which are
StandardException.

cc @abonas @simon3z


More nuanced type spec generation for object type

Currently any type where the discovery doc labels the nested type in a list as object we emit an object type in schema which results in map[string]string or similar generated code. However, it seems fairly common for discovery docs to include inline types which easily break the string->string requirement. This change attempts to detect this and replace such types with any type instead.
I also included an example which demonstrates the problem. Without the change, the allowed block in the firewall would not compile – since the properties IPProtocols and ports expect different types.
Fixes: https://github.com/pulumi/pulumi-gcp-native/issues/18

Thank you for finding this! Our codegen is definitely wrong here.
However, I don't think we should generate any in this case. Instead, we should define a type like FirewallAllowed for your example which would contain two properties: IPProtocol and ports. That's what we do in Azure-Native here.

Thank you for finding this! Our codegen is definitely wrong here.
However, I don't think we should generate any in this case. Instead, we should define a type like FirewallAllowed for your example which would contain two properties: IPProtocol and ports. That's what we do in Azure-Native here.

Cool - I was wondering if we should do a type generation instead but I was wondering if there is a concern around running into possible collisions with schema types? Do we want to detect possible collisions?

Do we want to detect possible collisions?

Yes, likely we do. Collisions are often tricky to debug so it's better to add a check and panic if we find them.

Superseded by #53


[3.x] Fix the issue causing the screen to be black after resuming when in low processor mode

This is done by forcing a redraw and buffers swap when resuming the app.
Fix #60465

Thanks!


Fix Typo in Documentation

Thanks! Don't mind the failing build. There is a dependency issue with a tool that is fetched and is causing the build to fail.