Toolbar refactoring for Catalog Items

Purpose or Intent
Purpose is to move toolbar buttons from helper to the separate classes.
This PR contains new classes for Catalog Items (under Services/Catalogs/Catalog Items)
Links
GH Issue: https://github.com/ManageIQ/manageiq/issues/6259
PivotalTracker: https://www.pivotaltracker.com/story/show/126786793

@romanblanco please review

@romanblanco , @PanSpagetka : please, take it from here and do a proper review and testing. Thx!

So I was wrong again. I thought that the RBAC checking was already extracted from the individual buttons, but it was not.
So @jzigmund, @romanblanco, @PanSpagetka : you have to do it ;-)
Read check_button_rbac in ApplicationController. It shows how RBAC is handled when a button is pressed. Similarly it should be handled before the button is displayed.
The check should be placed into toolbar_builder.rb in a generic place that handles all the buttons such as  build_button or build_button_save_button or around.
Then all the buttons that only check for RBAC would not need separate classes and would use the generic class and all the other role_allows* calls from ToolbarBuilder will vanish.
If it's not clear, contact me anytime!
Thx!

@martinpovolny removed idmethod from basic class, updated PR, review please

@martinpovolny removed id method from basic class, updated PR, review please

have you?

@martinpovolny now i did

@miq-bot add_label wip

I set WIP as this PR needs merged final version of the https://github.com/ManageIQ/manageiq/pull/10942

@martinpovolny the role_allows_feature? is the check_rbac? in https://github.com/ManageIQ/manageiq/pull/10942 and that's the PR where Robin is solving all the id-sh things .. that PR is blocker for this PR

@miq-bot remove_label wip

The blocker PR has been merged, this PR is rebased and ready to final review -> merging.
Removed WIP - label and from title.
@martinpovolny @romanblanco please review

@martinpovolny used @view_context.current_user instead of delegation, updated PR

@PanSpagetka, @romanblanco : can you, please, test this one? Code looks good.

@martinpovolny Tested in UI, no issues found. :+1:


Pagination is off on search the archive page on mobile

I think we need an ellipses tile? Compare test and zepplin:

checked on this again - I think I removed the ellipse tile on mobile because:

it doesn't do anything
when the page numbers are 3 digits long, there isn't enough space to include an ellipse tile without wrapping everything onto a new line.

are we ok with this?

@thatbudakguy good point. I am. The way it is now it allows users to go to the last page if they want, and the page number tiles adjust as I would expect them to. Also I don't think people would be paging through results on their iPhone...

Tested on safari*
Pagination still off (even with last page is a double digit number) on both mobile and tablet sizes i.e no ellipses tile

@mnaydan how do we feel about this one? worth trying to find some way to show the ellipsis, or alter it on small screens?

@thatbudakguy I don't think it's worth changing. If a user is paginating through results on their iPhone they need to think about their life choices. Close it?


PPV Channels Get Unmapped When Name Changes

Please first read the documentation. Problems affecting the client, e.g. Plex or Emby should be reported there in the forum.
Describe the bug
PPV Channels from my provider include event specific information and therefore the channel names change as the events change. This causes Threadfin to unmap the channels and remove the dummy epg settings for the ones with the name changes.
Server (please complete the following information):

OS: Windows
Arch: Intel 64 bit
Threadfin Version and Build: 1.0 (13)

To Reproduce
Steps to reproduce the behavior:

load an m3u and epg
map channels
rename a channel
channel will now be unmapped

Expected behavior
I would expect the channel to stay mapped. Maybe key on the actual link address, or in Xteve they had a regex setting that handled this situation.
Screenshots
If applicable, add screenshots to help explain your problem.

Edit:
Should mention that this happens regardless if threadfin dummy ppv is sellected or threadfin dummy and any time span is selected as dummy guide data.

Did you check the box for this functionality inside of settings?

yes thats why i mentioned at the bottom it doesn't matter which dummy guide you choose.

This means they are also changing the tvg-id as well. I am not seeing this issue with my provider as they keep the tvg-id the same. Can you confirm if tvg-id or tvg-channel change? Or is it just the name itself?

This means they are also changing the tvg-id as well. I am not seeing this issue with my provider as they keep the tvg-id the same. Can you confirm if tvg-id or tvg-channel change? Or is it just the name itself?

This is a good observation. I will capture the current M3U and wait for it to update again (typically on weekends when a new event pops). So give me some time and I'll get back to you.

That is def the issue haha. Have them set an ID that wont change and you shouldnt have this issue


align transforms v2 signatures with v1

We wanted to enforce that before, but previously the test did not check the order of the signature. This PR makes the test more strict and fixes the broken signatures.
cc @vfdev-5 @bjuncek

Failures are unrelated.
https://github.com/pytorch/vision/actions/runs/4241568469/jobs/7371959012
2023-02-22T10:33:59.4454583Z =========================== short test summary info ============================
2023-02-22T10:33:59.4455193Z FAILED test/test_transforms.py::test_functional_deprecation_warning[True-from torchvision.transforms import functional_pil] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4455726Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4456102Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4456707Z FAILED test/test_transforms.py::test_functional_deprecation_warning[True-from torchvision.transforms import functional_tensor] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4457239Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4457594Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4458219Z FAILED test/test_transforms.py::test_functional_deprecation_warning[True-from torchvision.transforms.functional_tensor import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4458828Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4459196Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4459805Z FAILED test/test_transforms.py::test_functional_deprecation_warning[True-from torchvision.transforms.functional_pil import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4460345Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4460716Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4461319Z FAILED test/test_transforms.py::test_functional_deprecation_warning[False-from torchvision.transforms import functional_pil] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4461831Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4462202Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4462810Z FAILED test/test_transforms.py::test_functional_deprecation_warning[False-from torchvision.transforms import functional_tensor] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4463339Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4463695Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4464321Z FAILED test/test_transforms.py::test_functional_deprecation_warning[False-from torchvision.transforms.functional_tensor import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4464860Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4465224Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4465835Z FAILED test/test_transforms.py::test_functional_deprecation_warning[False-from torchvision.transforms.functional_pil import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4466373Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4466778Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4467346Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision.transforms import v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4467831Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4468194Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4468760Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-import torchvision.transforms.v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4469261Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4469620Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4470205Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision.transforms.v2 import Resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4470717Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4471123Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4471703Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-import torchvision.transforms.v2.functional] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4472224Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4472591Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4473200Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision.transforms.v2.functional import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4473718Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4474090Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4474648Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision import datapoints] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4475138Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4475487Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4476064Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision.datapoints import Image] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4476564Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4476930Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4477523Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[True-from torchvision.datasets import wrap_dataset_for_transforms_v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4478044Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4478410Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4479034Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision.transforms import v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4479516Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4479882Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4480455Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-import torchvision.transforms.v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4480955Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4481308Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4481890Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision.transforms.v2 import Resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4482612Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4482981Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4483565Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-import torchvision.transforms.v2.functional] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4484147Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4484516Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4485130Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision.transforms.v2.functional import resize] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4485645Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4486015Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4486575Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision import datapoints] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4487070Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4487424Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4488000Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision.datapoints import Image] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4488499Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4488854Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4489463Z FAILED test/test_transforms_v2.py::test_warnings_v2_namespaces[False-from torchvision.datasets import wrap_dataset_for_transforms_v2] - RuntimeError: script errored with output:
2023-02-22T10:33:59.4489986Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4490355Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4490835Z FAILED test/test_transforms_v2.py::test_no_warnings_v1_namespace - RuntimeError: script errored with output:
2023-02-22T10:33:59.4491286Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-22T10:33:59.4491720Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
2023-02-22T10:33:59.4723506Z = 25 failed, 74315 passed, 73096 skipped, 1629 xfailed, 4630 warnings in 1512.64s (0:25:12) =


Pins missing in new 2.12 version

Describe the bug
The "pins" section is missing in the new 2.12.1 version.  pins are also not visible.
To Reproduce

You can navigate to /ipns/dev.webui.ipfs.io/#/files
(it's empty even though I have things pinned)
You can change the url to /ipns/dev.webui.ipfs.io/#/pins   it works, but still no local pins show up.

Expected behavior
My local pins should show up.
Screenshots

Desktop:

OS: Linux
Browser: Firefox, Opera

Additional context
Multiple pins should exist.. but the webui is empty

IPFS Server is 0.8.0

Here's ipfs pin ls showing one or more pins...
/ # ipfs pin ls --stream
QmdRetqMCSq2wfmmYVppMTSc754akwbV418CpXcR3y9PDC recursive
.

(originally posted on matrix, reposting here for discoverability)
Files now show pin indicator column on Files screen.
The dedicated screen for listing low level local pins got removed from WebUI to reduce confusion, as low level pins were never designed to be exposed to GUI users, it is something you use on servers with huge datasets.  Everything in MFS (Files) is already protected from local GC and enables you to assign human-readable names to CIDS, which is a better experience for Desktop/GUI users than a wall of nameless CIDs.
I personally have 1k of low level nameless pins, and it is impossible to make any meaningful decision as a desktop user by that point. I won't have time to inspect 1k of my local pins and decide which one I want to keep or not. I just keep them around at this point. But If I used MFS from the beginning, then I would have meaningful dir/filenames that would make cleanup easy.
That is why we v2.12 makes  Files (MFS) the preferred way to keep things around by regular users, and will move more  of our GUIs in that direction.
PS. ipfs pin ls lists all indirectly pinned blocks, that is too much.
What you want is to only list roots of recursive pins: ipfs pin ls --type=recursive
If you have some old local pins around and really want to manage them via Files screen, you can import them to MFS via this one-liner:
ipfs files mkdir /old_local_pins && for cid in $(ipfs pin ls --type=recursive -q); do ipfs files cp /ipfs/$cid /old_local_pins/$cid; done

I personally have 1k of low level nameless pins, and it is impossible to make any meaningful decision as a desktop user by that point. I won't have time to inspect 1k of my local pins and decide which one I want to keep or not. I just keep them around at this point.

Have you considered that some other users might be "not you" and might need this feature so it's easier to sort through their pins and move them to the MFS / remove them?

Have you considered that some other users might be "not you" and might need this feature so it's easier to sort through their 50 pins and move them to the MFS / remove them?

I have this same issue however.  Even as "extremely technical" user the IPFS webui is unclear and complicated.  The pinning concept was easy to understand, but now nothing aligns in the webui. (Space consumed vs MFS)
I really wasn't really able to "figure out" IPFS until I stopped trying to use the webui.  Concepts aren't named inline with official naming... so users won't equate "my files" to MFS.

@NatoBoram yes, that is why you can still open #/pins or (preferably) do one-time import using the script from https://github.com/ipfs/ipfs-webui/issues/1773#issuecomment-828886731 and do sorting manually.
@kallisti5 Indeed. the naming  is confusing even in the CLI ( we have ipfs files and not ipfs mfs, but https://proto.school/course/ipfs covers "Mutable File System" and "Regular Files API").   If you have ideas how we could clarify naming around MFS, please fill a new issue, so it is not lost.

Hello, I just want to share my feedback as well.
I use a distant node to store files programmatically (sent by my computer for exemple).
It is a lot easier for me to check the state of my IPFS node and to manage it through the webui.
This is why I connect to the webui of my distant node and want to be able to remove files and pins from there.
On my local dev tests, I use http://<IP_ADDRESS>:5001/ipfs/bafybeif4zkmu7qdhkpf3pnhwxipylqleof7rl6ojbe7mq3fzogz6m4xk3i/#/files
Where I have all my pins available from a section displayed in the UI.
When using the WebUI of my distant node however, the feature is removed.
My pins are inaccessible from the UI.
This feature is in my opinion very useful to a lot of people and removing it does not make the tool any more accessible, quite the opposite actually.
Without @kallisti5 complaining and @lidel 's answer I would have never known I can still access this page using #/pins.
Having to come up to this place and read every comment to find a way is pretty tricky to say the least.
Can you consider making pins accessible on the UI again please ?


feat: custom web RAG with Firecrawl

Firecrawl is highly suitable for custom web Retrieval-Augmented Generation (RAG) pipelines due to its advanced features and flexibility. Here are the key highlights:

Smart LLM Scraping: Converts websites into clean, LLM-ready markdown, ensuring data is optimized for language models which improves the accuracy and relevance of RAG outputs.

Comprehensive Capabilities: Efficiently handles JavaScript-heavy sites and complex site navigations for thorough data retrieval, critical for feeding accurate information into RAG systems.

Self-Hostable and Scalable: Offers both a hosted version and a self-hostable option, giving you control over deployment and scalability, which is ideal for handling large-scale data needs in RAG pipelines.

Efficient and Cost-Effective: Noted for significant savings in computational costs and time, enhancing operational efficiency in large-scale deployments.

This combination of smart scraping, comprehensive data handling, scalability, and cost-efficiency makes Firecrawl an excellent choice for enhancing custom RAG pipelines
Firecrawl.dev | Introduction | Scrape Docs

I guess the issue here is knowing when to search the web, one solution here is asking the users to prefix their prompt with a designated command (e.g. !search what's open webui?)

Why not as a tool the LLM can call whenever it wants/needs it.

One issue I can think of with it being a tool is that it's going to be really hit or miss. This would be so useful, that while a tool implementation would be cool, smaller models would really struggle, so I think more people would get benefit out of being able to invoke it explicitly.
It can always be implemented both ways, but while the tool would be cooler, it also would be less applicable across the board.


Handle some LRO corner-cases

LROs are treated as single-response type APIs.  In the event of multiple
schema responses, select the applicable one or fail.
Update pinned swagger versions.

Addresses https://github.com/Azure/autorest/issues/3951

Note that none of the codegen was changed with this fix, however we cannot build synapse without it.


Flash space is tight on FMUv2

We are tight on space on FMUv2. We probably should equip the dev team with Pixracers and remove experimental stuff like EKF2 from the FMUv2 image.

Fixed in ba90ba14b0dcbcf4de425db4254662ce93e3e965.


bugfix: make the output of some list operations optional

Signed-off-by: YaoZengzeng<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
1
Kubelet will try to do list (sandbox, container, etc) operations every seconds,
So pouch will output so many logs corresponding to the list operations
which is usually verbose and useless
So this PR make pouch only output the log of list operations when in debug mode.
2
Also change some error log to warning log which make pouch work well in Alibaba
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
No
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2158 into master will decrease coverage by 0.14%.
The diff coverage is 9.09%.

@@            Coverage Diff             @@
##           master    #2158      +/-   ##
==========================================
- Coverage   64.36%   64.21%   -0.15%
==========================================
  Files         209      209
  Lines       16664    16674      +10
==========================================
- Hits        10725    10707      -18
- Misses       4608     4642      +34
+ Partials     1331     1325       -6

Flag
Coverage Δ

#criv1alpha1test
32.65% <4.54%> (-0.25%)
:arrow_down:

#criv1alpha2test
33.47% <4.54%> (+0.12%)
:arrow_up:

#integrationtest
39.23% <0%> (-0.03%)
:arrow_down:

#unittest
23.84% <0%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

cri/v1alpha2/cri.go
63.9% <33.33%> (+0.22%)
:arrow_up:

cri/v1alpha1/cri.go
62.91% <50%> (-0.46%)
:arrow_down:

cri/v1alpha2/cri_wrapper.go
47.54% <6.45%> (-4.55%)
:arrow_down:

cri/v1alpha1/cri_wrapper.go
50.87% <6.66%> (-4.93%)
:arrow_down:


Add Phi-2 model

The Phi-2 model performs well. Should we consider adding it to Ollama?

It appears to use the same model architecture as Phi-1.5. That model architecure is not supported by Llama.cpp.
In addition, the model weights are not licensed for redistribution, at least not currently. You have to log-in to Azure with an account that has a credit card on file.

The model weights can be downloaded by anyone from official https://huggingface.co/microsoft/phi-2/tree/main MSFT page. The license is quite permissive.

They've loosened things up in the last 10hr. The fact remains though that support for the model architecture in Llama.cpp hasn't progressed much (at least not visibly) since September.

Not sure if this can help but there is a model card with GGUF format file and if they can be used. I tried locally creating Modelfile and it had internal error in the server.
https://huggingface.co/radames/phi-2-quantized

Seems like Phi-2 will be supported by llama.cpp in forseeeable future 👀
https://github.com/ggerganov/llama.cpp/pull/4490

it is now. Fingers crossed for Ollama :)

Seems like Phi-2 will be supported by llama.cpp in forseeeable future 👀
https://github.com/ggerganov/llama.cpp/pull/4490

This just merged. llama.cpp now supports phi-2.

Now that this has been merged what is required to get this working in ollama?

I believe Ollama has already added the support and is already available in pre-release 0.0.17
Check this out..
https://ollama.ai/jmorgan/phi/tags

https://ollama.ai/library/phi

Yes, its lightning fast. Its already supported by ollama.

Not working on my machine, :(
(Lenovo Thinkpad P14S, Linux 6.5.7 Arch)
$ ollama run phi
⠙   Error: llama runner: failed to load model '/usr/share/ollama/.ollama/models/blobs/sha256:bd608f9545597ea3278b78038943059d1c29c62f3ca02c86523014f3a8c7a7f1': this model may be incompatible with your version of Ollama. If you previously pulled this model, try updating it by running `ollama pull phi:latest

I tried different tags for the phi model, but none of them works.

Not working on my machine, :( (Lenovo Thinkpad P14S, Linux 6.5.7 Arch)
$ ollama run phi
⠙   Error: llama runner: failed to load model '/usr/share/ollama/.ollama/models/blobs/sha256:bd608f9545597ea3278b78038943059d1c29c62f3ca02c86523014f3a8c7a7f1': this model may be incompatible with your version of Ollama. If you previously pulled this model, try updating it by running `ollama pull phi:latest

I tried different tags for the phi model, but none of them work. Do I need to install ollama from git?

Which version of ollama are you using? It worked for me with v0.1.17.
I have installed ollama from git with cloning this tag.

Indeed. Even though the package version stated 1.0.17, ollama --version gave 1.0.9...
Re-installed from git, it works in 1.0.17

Not working on my machine, :( (Lenovo Thinkpad P14S, Linux 6.5.7 Arch)
$ ollama run phi
⠙   Error: llama runner: failed to load model '/usr/share/ollama/.ollama/models/blobs/sha256:bd608f9545597ea3278b78038943059d1c29c62f3ca02c86523014f3a8c7a7f1': this model may be incompatible with your version of Ollama. If you previously pulled this model, try updating it by running `ollama pull phi:latest

I tried different tags for the phi model, but none of them work. Do I need to install ollama from git?

You clearly need an update if that's the case. Just run the installer via curl https://ollama.ai/install.sh | sh to update it once more.

Indeed. Even though the package version stated 1.0.17, ollama --version gave 1.0.9...
Re-installed from git, it works in 1.0.17

You could be running two versions of Ollama. One via docker and one via the install script.
Run sudo lsof -i :11434 to find out. Or docker ps. If its on docker, you need to rebuild docker, but only when you have don a fresh git pull to update the local repo. Either remove docker ollama or stop it in docker before installing the curl https://ollama.ai/install.sh | sh. Then redownload Phi-2.

Is there any plan to add dolphin phi-2 as well? https://huggingface.co/cognitivecomputations/dolphin-2_6-phi-2/tree/main

@trickster yes! It's here https://ollama.ai/library/dolphin-phi 😊

Closing this as Phi has been added!


Add dtypes args to write_to_source

Addresses #120
When calling write_source user now has two optional arguments: column_dtypes and index_dtypes, which work the same way as described here: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_records.html

And what would be the example usage for the redshift scenario?

And what would be the example usage for the redshift scenario?

from sqlalchemy.types import VARCHAR

write_to_source(df, 'source', 'table', column_dtypes={
  'a_column': 'int32',
  'str_column': VARCHAR(65535)})

How can we do this using the new approach of dbt-py?
The dbt model defaults to varchar(256)


specify script and maybe region in addition to language

this is a follow up to a question asked by dev team but I don't remember where it was asked (can't find corresponding ticket)
I asked catalogers: the Sinopia developers would like to know whether, in addition to specifying a language for a literal when cataloging, you also want to specify script and region? like “zh-Hant-HK” (using https://tools.ietf.org/html/bcp47)
Answers:
scripts for sure.  If region is possible, that would be great

script is covered by #2101; since region is a "maybe", closing this


Can't get a custom SDK working with glib-2.0

I am trying to build a custom SDK that targets ubuntu on x86_64 and contains the package glib-2.0. My host is arm64-apple-macosx14.0, (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
I created a Dockerfile which contains glib-2.0:
FROM swift:5.10-jammy
RUN apt update && apt -y install libglib2.0-dev && apt -y clean

Then build the image using the target platform
docker build -t swift-5.10-glib:amd64 --platform=linux/amd64 -f Dockerfile .

Then build the SDK (using my fix/workaround from #88):
swift run swift-sdk-generator make-linux-sdk --target x86_64-unknown-linux-gnu \
      --swift-version 5.10-RELEASE \
      --with-docker \
      --from-container-image swift-5.10-glib:amd64 \
      --sdk-name 5.10-RELEASE_ubuntu_jammy_x86_64_glib

Then I use swift experimental-sdk install to install the SDK.
Unfortunately, the build fails:
swift build -c release --experimental-swift-sdk 5.10-RELEASE_ubuntu_jammy_x86_64_glib

[...]

ld.lld: error: undefined symbol: g_list_alloc
>>> referenced by swift_glib_test.swift:14 (/Users/tobias/Developing/swift-glib-test/Sources/swift-glib-test/swift_glib_test.swift:14)
>>>               /Users/tobias/Developing/swift-glib-test/.build/x86_64-unknown-linux-gnu/release/swift_glib_test.build/swift_glib_test.swift.o:($s15swift_glib_testAAV14ArgumentParser15ParsableCommandAacDP3runyyKFTW)

The example repo is up here: https://github.com/t089/swift-glib-test
The generated SDK seems to contain the required lib:
$ ls -l /Users/tobias/Library/org.swift.swiftpm/swift-sdks/5.10-RELEASE_ubuntu_jammy_x86_64_glib.artifactbundle/5.10-RELEASE_ubuntu_jammy_x86_64_glib/x86_64-unknown-linux-gnu/ubuntu-jammy.sdk/lib/x86_64-linux-gnu | grep glib
glib-2.0
libglib-2.0.a
libglib-2.0.so -> libglib-2.0.so.0
libglib-2.0.so.0 -> libglib-2.0.so.0.7200.4
libglib-2.0.so.0.7200.4

Am I doing something wrong? What could I try to debug this further?

Interestingly, if I run the build inside Docker using the same image as used for building the SDK from above, the build succeeds:
docker run -it --rm --platform linux/amd64 -v (pwd):/app -w /app swift-5.10-glib:amd64   swift run
Building for debugging...
[57/57] Linking swift-glib-test
Build complete! (38.85s)
Hello, world!

After some investigation and help from @weissi and @MaxDesiatov:
turns out swift was picking up .pc files from the host which of course don't match in arch and os and should also not be used. This can be avoided by providing the --pkg-config-path flag which needs to point to the installed SDK, eg $HOME/Library/org.swift.swiftpm/swift-sdks/5.10-RELEASE_ubuntu_jammy_x86_64_glib.artifactbundle/5.10-RELEASE_ubuntu_jammy_x86_64_glib/x86_64-unknown-linux-gnu/ubuntu-jammy.sdk.
The next problem is that the -I flags generated from the glib-2.0.pc file do not include the SDK root path, but point to, eg /usr/lib/x86_64-linux-gnu/glib-2.0/include.
Setting PKG_CONFIG_SYSROOT_DIR to the SDK path has no effect unfortunately.
Manually patching the glib-2.0.pc to include the SDK path in the prefix variable, makes the build succeed.

After some investigation and help from @weissi and @MaxDesiatov: turns out swift was picking up .pc files from the host which of course don't match in arch and os and should also not be used. This can be avoided by providing the --pkg-config-path flag which needs to point to the installed SDK, eg $HOME/Library/org.swift.swiftpm/swift-sdks/5.10-RELEASE_ubuntu_jammy_x86_64_glib.artifactbundle/5.10-RELEASE_ubuntu_jammy_x86_64_glib/x86_64-unknown-linux-gnu/ubuntu-jammy.sdk.

Yes, I found the same.   The giveaway was that it was picking up files in /opt/brew. 🤦


[CI] remove experimental tutorials; revive docs nightly build

@Jianhui-Li the tutorial on fused attention still used block pointers at the time of writing:
https://github.com/triton-lang/triton/blob/7e99aaa18aaace00335f744bb3248951484ac84b/python/tutorials/06-fused-attention.py#L119


Long email spills out on email change confirmation page

We would ideally break up the email to multiple lines, but abbreviating would also be better than the current situation.

@amanagr FYI, in case this is a quick one for you to fix.

@zulipbot claim

You get the notice after you click on confirm button.

@cloudier1337  please take a look at the Zulip contributor guide, and keep in mind the following guideline:

Before you claim an issue, you should be confident that you will be able to tackle it effectively.

I will go ahead and unassign this issue, and you should feel free to re-claim it once you have figured out how to reproduce (following @amanagr's advice above) and how to approach making a fix.
Thanks!

@zulipbot claim

@zulipbot claim

@cloudier1337 please take a look at the Zulip contributor guide, and keep in mind the following guideline:

Before you claim an issue, you should be confident that you will be able to tackle it effectively.

I will go ahead and unassign this issue, and you should feel free to re-claim it once you have figured out how to reproduce (following @amanagr's advice above) and how to approach making a fix.
Thanks!

Thanks for your answer, I am confident I can solve it (I just did not think I would have trouble reproducing it). My bad. Will find another one, now that this one has been claimed.

@zulipbot claim

@zulipbot abandon


Strange behaviors with float values

Version: 7.8.7959 (pip)
Language: Python
SO: Linux (Ubuntu)
Example: Capacity Constraints
Steps to reproduce the behavior:

Copy the CVRP example (https://developers.google.com/optimization/routing/cvrp)
Replace the integer values with float values:

Original data (https://developers.google.com/optimization/routing/cvrp#model):

data['demands'] = [0, 1, 1, 2, 4, 2, 4, 8, 8, 1, 2, 1, 2, 4, 4, 8, 8]
data['vehicle_capacities'] = [15, 15, 15, 15]

New data:

data['demands'] = [0.0, 0.1, 0.1, 0.2, 0.4, 0.2, 0.4, 0.8, 0.8, 0.1, 0.2, 0.1, 0.2, 0.4, 0.4, 0.8, 0.8]
data['vehicle_capacities'] = [1.5, 1.5, 1.5, 1.5]

See some strange results

Expectations: Each vehicle carrying a demand equal or less to its capacity (https://developers.google.com/optimization/routing/cvrp#solution)

Route for vehicle 0:
0 Load(0) ->  1 Load(1) ->  4 Load(5) ->  3 Load(7) ->  15 Load(15) ->  0 Load(15)
Distance of the route: 2192m
Load of the route: 15
Route for vehicle 1:
0 Load(0) ->  14 Load(4) ->  16 Load(12) ->  10 Load(14) ->  2 Load(15) ->  0 Load(15)
Distance of the route: 2192m
Load of the route: 15
Route for vehicle 2:
0 Load(0) ->  7 Load(8) ->  13 Load(12) ->  12 Load(14) ->  11 Load(15) ->  0 Load(15)
Distance of the route: 1324m
Load of the route: 15
Route for vehicle 3:
0 Load(0) ->  9 Load(1) ->  8 Load(9) ->  6 Load(13) ->  5 Load(15) ->  0 Load(15)
Distance of the route: 1164m
Load of the route: 15
Total distance of all routes: 6872m
Total load of all routes: 60

Results: Empty vehicles

Route for vehicle 0:
0 Load(0.0) ->  0 Load(0.0)
Distance of the route: 0m
Load of the route: 0.0
Route for vehicle 1:
0 Load(0.0) ->  0 Load(0.0)
Distance of the route: 0m
Load of the route: 0.0
Route for vehicle 2:
0 Load(0.0) ->  0 Load(0.0)
Distance of the route: 0m
Load of the route: 0.0
Route for vehicle 3:
0 Load(0.0) ->  9 Load(0.1) ->  5 Load(0.30000000000000004) ->  8 Load(1.1) ->  6 Load(1.5) ->  2 Load(1.6) ->  10 Load(1.8) ->  16 Load(2.6) ->  14 Load(3.0) ->  13 Load(3.4) ->  12 Load(3.6) ->  11 Load(3.7) ->  15 Load(4.5) ->  3 Load(4.7) ->  4 Load(5.1000000000000005) ->  1 Load(5.2) ->  7 Load(6.0) ->  0 Load(6.0)
Distance of the route: 4384m
Load of the route: 6.0
Total distance of all routes: 4384m
Total load of all routes: 6.0

Floats are not supported. They are all implemented sounded to integer.


Could not get it to open

Hoping you can spot the issue. Thanks.

OK appears to have been a faulty Java install. The program opened but not having any success splitting a long MP4 file; no chapters listed.  This could be the way the music release was made, IDK, but seems strange.
Was worth a try.

It's good you managed to solve the first problem. Is there any way you could give me the MP4 file so that I could take a look what is wrong?

Thanks for checking in with me. I just verified that the MP4 is a 2 Hour and 42 minute continuous song as I suspected. It is a commercial release.  I opened the file up in Adobe Audition finally, and verified that there is no clear way to determine where one song ends and the next picks up, unless maybe you are very, very, familiar with the music.
So I can not fault your program, when I myself can not tell where one song stops and the next begins. The only thing I had to go by was the track times listed on Discogs and even then I could not tell.
This is a release by Matt Dary - The Producers DJ Cut / Retrospect & was released in MP4 and I think one or two other downloadable formats.
So considering there's really nothing that can be split (except manually)  I'm going to call it all good.
Thanks!


JavaScript is easy af. I only do MCPE mods in my spare time. I'm usually using languages like PHP, Java, Python and C

It is a bug; it's another case where I thought nobody would ever use that method so didn't bother updating it for 0.13.

Fixed - try the latest beta.

lol i dont see any 1.11.1 in the play store


Incorrect Representation of Free Software Movement

There are significant inaccuracies in the documentation regarding the Free Software Movement led by Richard Stallman. The current description misrepresents the historical context and objectives of the movement. This issue was highlighted by Hiroo Yamagata, the translator of Richard Stallman's trilogy.
Current Text:

Richard Stallman, opposing the closed nature of the Unix OS developed by AT&T, led the “free software movement”, promoting the “GNU General Public License” that allowed users to run, study, share, and modify the source code. This was eventually rebranded as OSS, with a goal to replace Unix with an open-source alternative, Linux, led by Linus Torvalds.

Issues:

The Free Software Movement was not "rebranded" as OSS. The Free Software Movement and Open Source Software (OSS) movement are distinct, though related.
The goal of the Free Software Movement was not to replace Unix with Linux. The Linux kernel developed by Linus Torvalds is just one of the many pieces of software that chose the GPL. While it is one of the notable success stories, there are many other software programs under the GPL that also run on Mac and Windows.
Important contributions of the Free Software Movement, such as internet infrastructure software like BIND and Sendmail, are not mentioned.

Suggested Revision:
It is important to accurately represent the history and objectives of the Free Software Movement. A more accurate description would be:

OSS as a conscious movement emerged in the 1970s, in reaction to the commercial and secretive direction of the software industry. Richard Stallman, in order to counter this trend, set out to develop a completele free (in terms of use, not price) environment, as well as a clever hack on copyright called “GNU General Public License” that ensured continued collaboration. There were other similar efforts, that were later jointly branded as OSS. It's most notable successes include Linux, led by Linus Torvalds, but there are numerous others. OSS is truly a showcase of the power of ⿻ where diverse people can join forces to achieve whatever they can/want, and achieve great success. Much of the Internet's infrastructure continues to rely heavily on various OSS.

 Gov4Git notices
On Sunday, 30-Jun-24 18:32:26 UTC by Gov4Git dev
Notice plstc4
Started managing this issue, using the Plural Management Protocol v1,  as Gov4Git concern 955 with initial priority score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.
Notice y23wzt
This issue's priority score is now 0.000000.
The cost of priority is 0.000000.
The projected bounty is now 0.000000.
Notice v7vfej
The set of eligible proposals claiming this issue is empty.

 Gov4Git notices
On Sunday, 30-Jun-24 22:46:18 UTC by Gov4Git dev
Notice wzt2ge
This issue's priority score is now 1764.000000.
The cost of priority is 1764.000000.
The projected bounty is now 1764.000000.
Notice a666yz
The set of eligible proposals claiming this issue is empty.

I had an email exchange with rms about this; considering OSS wasn't labelled as such in the 70s, perhaps this account is closer to address the first issue?
Richard Stallman, opposing the closed nature of the Unix OS developed by AT&T, led the “free software movement” since the 1980s, promoting the “GNU General Public License” and the moral right of users to run, study, share, and modify the source code. In 1998, the Open Source Initiative labelled practical aspects of this as OSS, with a goal to replace Unix with an open-source alternative, Linux, led by Linus Torvalds.


python: Workaround for template macro

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

pushing this through to fix CI


[wip] Add Custom Resource Definition

feat: add custom resource definition to support dual stack
Reason for Change:

Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

@ecigar13 next time you can leave the PR as a Draft until it's ready to review 🙂


calling toString on random objects can cause errors in IE

Describe the bug 🐛
A clear and concise description of what the bug is.
To Reproduce 🔍
Steps to reproduce the behavior:

Go to IE11
see an error

A live example helps a lot!   We have a simple online template for you to use for your explanations:
for now: https://nopproj.computeruniverse.net/de/search?cid=0&query=
Expected behavior 💭
No errors
Screenshots 🖥

Environment:

OS: Windows
Browser: IE
Version: 11

Additional context
toString.call can not be called on a string in IE, we should check for that first https://github.com/algolia/instantsearch.js/blob/9dca5480d27265a92f9e0f0cc7405b1c33badd0e/src/lib/utils/isPlainObject.ts#L11

update, looks like toString.call({}) also throws, not just strings, we should find another way for doing this


add warning copy to feedback

 [QAE17IMP] As an Applicant I want to see help copy in the feedback section informing me that this is not support, so that I don't request support in the wrong place


[v3] Support for ref.once('child_added')

This has completely broken Android database functionality due to the changes that have been made to the Javascript and the data structure it now expects from the native side.
Any breaking changes to the native interface should really be implemented on both iOS and Android simultaneously.
@auser I'm not sure what the best course of action is here. Whether to revert the changes or wait for somebody to fix Android and properly test that nothing else has broken?  Unfortunately I just can't spare the time at the moment to look myself


[lc_ctrl] assertion error in scrap state

Hi Michael,
I found an assertion failure when we enter lc scrap state. The lc_ctrl escalation_en signal toggle during scrap state. I think it is mainly an assertion error, but just want to let you know this case, and see if there is any potential issue with this behavior.
Failed assertion:
https://github.com/lowRISC/opentitan/blob/master/hw/ip/lc_ctrl/rtl/lc_ctrl_fsm.sv#L564
Sequence:
1). Lc in TestUnlock2 state
2). Lc programmed a request to Scrap state.
3). Dut init and LC in Scrap state, then lc set escalation_en to On.
4). OTP get LC escalation_en signal, and itself went to FsmErrorState.
5). Output of otp_lc_data_i lc_state changed from ScrapSt to default value. -> This cause the lc's escalate_en signal to toggle from On -> Off -> On.   -> This triggered the assertion error.
Do you think there is any potential error here? If not, we can simply just fix the assertion :)
The screenshot is here:

Hey @cindychip, good catch!
I believe this really uncovers two issues:

the first is the ON -> OFF -> ON toggle issue, which appears to be a logic bug in the signal decode process. i.e., deassertion happens for 1 cycle if lc_state_valid_i goes to 0 here: https://github.com/lowRISC/opentitan/blob/02e982f3b357340ab49e2d8c2580c77253480b65/hw/ip/lc_ctrl/rtl/lc_ctrl_signal_decode.sv#L87
then in the cycle after, the signal is asserted again, since the lc controller moves into an invalid state a cycle later.
while 1) can be fixed easily, we still have the problem that the wrong state will be exposed in the life cycle TAP if a device is in SCRAP (i.e., it will read as INVALID instead). while this is not super problematic, it is also unintended, since we want to be able to tell the different error states apart.

#7302 proposes a fix for both issues above.


Style for search list headers

Just noticed that the list headers need some differentiation. Can we change the colour to #E7EDF1

Yep!
--Luke
On Mon, Apr 27, 2015 at 6:20 PM, amyngai<EMAIL_ADDRESS>wrote:

Just noticed that the list headers need some differentiation. Can we
change the colour to #E7EDF1
[image: screen shot 2015-04-27 at 6 17 50 pm]
https://cloud.githubusercontent.com/assets/5739342/7361230/f9c677fe-ed09-11e4-8943-02e228689253.png
—
Reply to this email directly or view it on GitHub
https://github.com/PeaceGeeksSociety/services-advisor/issues/34.

@cynthialee made these dropdowns now so we should close this


Azure PowerShell commands available for Azure Cost Management for partners?

Hello,
Do Azure PowerShell commands (or Azure CLI) exist for dealing with  Azure Cost Management for partners? I would prefer using that instead of Cost Management APIs.
Thank you.
Regards,
Bertrand

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

ID: 302575cd-86c8-5ddb-97c6-b406925cf0f4
Version Independent ID: 84c2ceb5-e2f5-f8f6-e755-4cada678cb1c
Content: Get started with Azure Cost Management for partners
Content Source: articles/cost-management-billing/costs/get-started-partners.md
Service: cost-management-billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@bertrandpons Thank you for the comment. We are looking into this and will get back to you soon.

I don't know the best answer, but I do know that Partner Center has a community maintained PowerShell API that's documented here, though I don't see anything specific to budgets or cost management.
There are Billing APIs in the Partner Center PowerShell:
https://docs.microsoft.com/en-us/powershell/module/partnercenter/get-partnercustomerbillingprofile?view=partnercenterps-3.0
There are C# and REST examples of similar APIs here:
https://docs.microsoft.com/en-us/partner-center/develop/get-a-customer-subscription-usage-summary

@bertrandpons Checking back-in if the Jason's post helped answer your query. Feel free to write back if you need further assistance on this.

@JasonWHowell @SadiqhAhmed-MSFT Hi,
Thank you for your replies. I would like to get monthly cost analysis per service for customers using Azure Plan. And PowerShell would be ideal for me.

#reassign:banders Bill, any other ideas?

banders is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign:bandersmsft Bill, any other ideas?

@bertrandpons Hi there. Currently, our capabilities for partners are in the Cost Management APIs covered in the article. We’re working on updating our PowerShell commands to get up to date with the latest API. We expect more news about the PowerShell update later this year.
#please-close


Fungible token example not compiling

The fungible token simulation test example isn't compiling. https://github.com/near/near-sdk-rs/tree/master/examples/fungible-token
I've documented my attempts at getting it to compile in isolation from the near-sdk-rs repo here: https://github.com/thor314/FungibleToken

There is https://github.com/near-examples/FT which is a current example of how to have this setup at the current version


Awards Section doesn't fully delete

First off, good job on this! It seems the other sections work fine, but deleting the Awards items loads a black screen and you have to reload so see the update. But it never deletes the last 2 items. Tried on latest Chrome and Safari.

This has been fixed with the latest update v2.1.0 :)


Question: How to know which input method was used on drag end?

react-sortable-hoc provides the native event on the onSortEnd callback, that makes it trivial to know which kind of input method was used.
How can we tell from the onDragEnd handler if a drag/sort was performed using the keyboard, mouse, or touch?

+1 -- would like to know as well. Do we have any way of knowing which input fired the DragEvents?

I have a requirement to make drag and drop that can also copy when a modifier key (command/ctrl) is pressed during the drag end, right now I'm using it during the drag start (onActivation or activationEvent) which is not ideal.
Do you mind if I make a PR for it?


Eclipse-Plugin: Icons looks pixelated on HiDPI monitors

TestNG Maven-Plugin Version
<IP_ADDRESS>709050550
Expected behavior
The icons in the TestNG-view look good on HiDPI monitors.
Actual behavior
The icons looks pixelated
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[ ] Ant
[x] Eclipse
[ ] IntelliJ
[ ] NetBeans

(you need to click on the screenshot to see it in full resolution)

@davidbilge - It would be great if you could file this in https://github.com/cbeust/testng-eclipse
ping @missedone

Really sorry, I did not find the separate github project. I created https://github.com/cbeust/testng-eclipse/issues/363 there.

@davidbilge - Thank you.


module does not exist

i got this error when running hugo server with the tailbliss theme:
Error: command error: failed to load modules: module " github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 " not found in "C:\\Users\\jesic\\work\\blog\\themes\\ github.com \\gohugoio\\hugo-mod-jslibs-dist\\alpinejs\\v3"; either add it as a Hugo Module or store it in "C:\\Users\\jesic\\work\\blog\\themes".: module does not exist
Steps to reproduce :
hugo new site blog
cd blog
git init
git submodule add [GitHub - nusserstudios/tailbliss: TailBliss is a Hugo Starter theme built on TailwindCSS 3, and Alpine.JS.](https://github.com/nusserstudios/tailbliss.git) themes/tailbliss
echo “theme = ‘tailbliss’” >> hugo.toml hugo server

I believe this repo is a frontend to Hugo, not just a theme. You don't need to execute hugo new site with this one, instead:

Clone the repo
cd tailbliss
sudo apt install npm
sudo snap install go --classic
sudo npm install
sudo npm run build

To test if it's working (change to your PC IP)
hugo server --bind <IP_ADDRESS> --baseURL http://<IP_ADDRESS>
Make your edits as you wish, and don't forget the config here is hugo.yaml not.toml *format of yaml is way better anyway)
To generate /public to upload to your website
sudo hugo --gc --minify

Thank you for your help @KhalilSecurity . it's working now

Hi, I was trying to deploy the website but i got a failed build error :
3:22:00 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 3:21:59 PM: Netlify Build                                                  3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM: ❯ Version 3:21:59 PM:   @netlify/build 29.17.1 3:21:59 PM:  3:21:59 PM: ❯ Flags 3:21:59 PM:   baseRelDir: true 3:21:59 PM:   buildId: 64c04ad11193bb10981e9731 3:21:59 PM:   deployId: 64c04ad11193bb10981e9733 3:21:59 PM:  3:21:59 PM: ❯ Current directory 3:21:59 PM:   /opt/build/repo 3:21:59 PM:  3:21:59 PM: ❯ Config file 3:21:59 PM:   /opt/build/repo/netlify.toml 3:21:59 PM:  3:21:59 PM: ❯ Context 3:21:59 PM:   production 3:21:59 PM:  3:21:59 PM: build.command from netlify.toml                                3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM: $ hugo --gc --minify 3:21:59 PM: Error: Unable to locate config file or config directory. Perhaps you need to create a new site. 3:21:59 PM:        Runhugo help newfor details. 3:21:59 PM: Total in 0 ms 3:21:59 PM:  3:21:59 PM: build.command failed                                         3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM:   Error message 3:21:59 PM:   Command failed with exit code 255: hugo --gc --minify (https://ntl.fyi/exit-code-255) 3:21:59 PM:  3:21:59 PM:   Error location 3:21:59 PM:   In build.command from netlify.toml: 3:21:59 PM:   hugo --gc --minify 3:21:59 PM:  3:21:59 PM:   Resolved config 3:21:59 PM:   build: 3:21:59 PM:     command: hugo --gc --minify 3:21:59 PM:     commandOrigin: config 3:21:59 PM:     environment: 3:21:59 PM:       - HUGO_VERSION 3:21:59 PM:       - HUGO_ENV 3:21:59 PM:       - HUGO_ENABLEGITINFO 3:21:59 PM:     publish: /opt/build/repo/public 3:21:59 PM:     publishOrigin: config 3:21:59 PM:   redirects: 3:22:00 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 3:22:00 PM: Failing build: Failed to build site 3:22:01 PM: Finished processing build request in 14.718s 3:22:00 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 3:21:59 PM: Netlify Build                                                  3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM: ❯ Version 3:21:59 PM:   @netlify/build 29.17.1 3:21:59 PM:  3:21:59 PM: ❯ Flags 3:21:59 PM:   baseRelDir: true 3:21:59 PM:   buildId: 64c04ad11193bb10981e9731 3:21:59 PM:   deployId: 64c04ad11193bb10981e9733 3:21:59 PM:  3:21:59 PM: ❯ Current directory 3:21:59 PM:   /opt/build/repo 3:21:59 PM:  3:21:59 PM: ❯ Config file 3:21:59 PM:   /opt/build/repo/netlify.toml 3:21:59 PM:  3:21:59 PM: ❯ Context 3:21:59 PM:   production 3:21:59 PM:  3:21:59 PM: build.command from netlify.toml                                3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM: $ hugo --gc --minify 3:21:59 PM: Error: Unable to locate config file or config directory. Perhaps you need to create a new site. 3:21:59 PM:        Runhugo help new for details. 3:21:59 PM: Total in 0 ms 3:21:59 PM:  3:21:59 PM: build.command failed                                         3:21:59 PM: ──────────────────────────────────────────────────────────────── 3:21:59 PM:  3:21:59 PM:   Error message 3:21:59 PM:   Command failed with exit code 255: hugo --gc --minify (https://ntl.fyi/exit-code-255) 3:21:59 PM:  3:21:59 PM:   Error location 3:21:59 PM:   In build.command from netlify.toml: 3:21:59 PM:   hugo --gc --minify 3:21:59 PM:  3:21:59 PM:   Resolved config 3:21:59 PM:   build: 3:21:59 PM:     command: hugo --gc --minify 3:21:59 PM:     commandOrigin: config 3:21:59 PM:     environment: 3:21:59 PM:       - HUGO_VERSION 3:21:59 PM:       - HUGO_ENV 3:21:59 PM:       - HUGO_ENABLEGITINFO 3:21:59 PM:     publish: /opt/build/repo/public 3:21:59 PM:     publishOrigin: config 3:21:59 PM:   redirects: 3:22:00 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 3:22:00 PM: Failing build: Failed to build site 3:22:01 PM: Finished processing build request in 14.718s
This is the link to my repo https://github.com/jesicasusanto/oa.blog

Looks similar to this issue https://github.com/nusserstudios/tailbliss/issues/123
Also mentioned in official netlify docs
https://docs.netlify.com/integrations/frameworks/hugo/
The fix there was to update netlify.toml with the correct version of hugo you run locally. So from you local environment command line execute hugo version. It should tell you the version number
~/tailbliss$ hugo version
hugo v0.115.3-5c2e014a5150553a9fa4f9c1eb7dc4db89c0f1ab+extended linux/amd64 BuildDate=2023-07-13T16:11:34Z VendorInfo=gohugoio

so I would update netlify.toml to reflect
HUGO_VERSION = "0.115.3"


Module @nuxtjs/style-resources not found. How to use devDependencies on production?

Hello,
I try to build my pages using yarn generate on production. I have the NODE_ENV flag set to production to not install all the dev dependencies. This package is required though to generate pages.
I don't want to set NODE_ENV to dev as it will install all the packages in devDependencies – which is a lot.
I don't want to add this package to dependencies as well as it will generate a bundle with a package that is not needed for my users.
What do you do in those scenarios? Do you just always use dev mode even on production? What if you have some blocks of code inside your project that runs only on a prod environment? I think there should be some solution which I don't see.
Console output for future search:

WARN  Module @nuxtjs/style-resources not found. Please ensure @nuxtjs/style-resources is in devDependencies and installed. HINT: During build step, for npm/yarn, NODE_ENV=production or --production should NOT be used.                      14:09:48

 ✖ Nuxt Fatal Error                                                                                │
   │                                                                                │
   │   Error: Cannot find module '@nuxtjs/style-resources'

Your current flow sounds a bit strange.

Alternatively just add this package to production dependencies. It won't affect what ends up in the resulting Nuxt bundle because that's not defined by whether dependency is a production dependency or not.

Thank you @rchl. I assumed that everything that goes into dependencies goes to the bundle.
How Nuxt knows which packages are production dependencies then?

I guess a simplified answer would be: it includes whatever is referenced from nuxt.config.js in one way or another (including through plugins added by modules).


drivers: counter: add support for GD32 timer

Adds support for GD32 timer
Note: It not supporting RISC-V(GD32V) device at this time.
It needs some work on the interrupt controller first.
Signed-off-by: TOKITA Hiroshi<EMAIL_ADDRESS>
The first 3 commits fix clock_control_gd32.
ied with the GD32F407-START board. The other boards checked compilation only.

For the CI failure, below commit should contain a change description block. more in commit-guidelines
commit 7d3fdff322ff4d3cc161ad2a2f498344078f7101
Author: TOKITA Hiroshi<EMAIL_ADDRESS>Date:   Thu Nov 3 23:46:13 2022 +0900

    boards: arm: gd32: Add support for counter device

    Signed-off-by: TOKITA Hiroshi<EMAIL_ADDRESS>

For the CI failure, commit 7d3fdff should contain a change description block. more commit-guidelines

Thank you for notification.
I corrected it.

@nandojve @nordic-krch Please help to review this PR.

Hi @soburi ,
Please, rebase.


Export all images of a job even if no annotation is present

We have images of static scenes taken with different exposure time, lighting conditions, etc. We annotate only one image of a given scene and then duplicate the information using a Python script to the other pictures of the same scene.
The problem is that at the moment CVAT only export in the XML images that have at least one annotation. In order to workaround this, we draw a point in the corner of the first picture and propagate it to the whole set of picture and later filter out the points annotations. It would be nice if CVAT would also export images with empty annotations.
Something like the following:
<image height="2050" id="58" name="001-001.png" width="2448">
  <box label="A" occluded="0" xbr="2063.41" xtl="1832.21" ybr="1577.37" ytl="1269.10" />
  <box label="B" occluded="0" xbr="827.76" xtl="540.04" ybr="1895.92" ytl="1572.24" />
</image>
<image height="2050" id="58" name="001-002.png" width="2448" />
<image height="2050" id="58" name="001-003.png" width="2448" />
<image height="2050" id="58" name="001-004.png" width="2448" />

Will this be implemented soon? Would be really useful for my use-case.

I had the same need, I ended up getting the data from DB.
Example query:
"""select path, frame from cvatv2.public.engine_image where task_id = {task_id};;""".format(task_id=task_id)

@LukeAI & @lostcontrol, which data format are you using? This would need to get implemented at the individual dumper level.

yolo

We are using the CVAT XML format.

@zhiltsov-max , do you think the issue is possible to resolve using datumaro? Could you please post here a solution or advice?

It definitely can be done with Datumaro - just export task as dataset of the desired format.


showCloseButton not work

I can´t see the close button when put  the variable showCloseButton:true.

Hi @davidbet2,
Thank you for pointing it out, fixing it right away.

Fixed now, here is an example from the demo
https://stackblitz.com/edit/jaspero-ng-confirmations


Update cli-client.md with Important note about calls to functions in the debug module being removed

I believe that https://github.com/MystenLabs/sui/pull/4059 covers this change already in the same location after rebasing.

I believe that #4059 covers this change already in the same location after rebasing.

Perfect. Closing.


Fix to Tag.names_for_scope

Handle the case where the scope is empty by returning
an empty array.
Fixes https://github.com/pat/gutentag/issues/72

Thanks Mike :)

Just published this fix in v2.5.3.


✨[Feature] + 🐛 [Bug] Allow ITensor biases in aten.convolution converters

Context
Currently, aten.convolution converters do not support ITensor biases, which can cause test failures in CI (example), as the new Dynamo compile path primarily uses ITensor objects for general tensors throughout computation.
https://github.com/pytorch/TensorRT/blob/d3a47c411ee9f8be9e8344c547b256ad852a407b/py/torch_tensorrt/fx/converters/acc_ops_converters.py#L202-L208
Proposed Solution
Allow ITensor biases for aten.convolution ops in the same way that the kernel weights can be ITensor objects. See IConvolutionLayer for further information on TensorRT convolution layers.

QQ, what is the ITensor here?

The ITensor is a TRTTensor representing the bias term in the convolution. It arises in a few Dynamo export/compile cases where the bias tensor is registered as an input to a subgraph during functionalization.


Node 10 support

Hi! Just checking if it is in the plans to get blendid working for node 10 :)
I'm currently encountering the following issue when trying to yarn install blendid:
../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion args[1]->IsString()' failed.`
Thanks!

when I try to install blend it I got error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=6.11.1 <10". Got "17.3.1"


Non-return (one way / check) valve

Need a design/sourcing for non-return valve

Requirements:

Flow loss in the direction of flow < 5cmH2O @ 60 lpm
Leakage against reverse flow < 0.5 lpm @ 40 cmH2O
Interfacing: 5/8 male pr check with @sosaysthecaptain for female. exterior prefer 5/8 or 1" male.

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.

This ticket was in the "Done" column in Hardware. Moved it to the same column after changing repositories.

This seclection needs to be documented in repo before it may be considered closed.

This seclection needs to be documented in repo before it may be considered closed.


Question about ViewerConfiguration Template

Richard,  this is a great app. I noticed that you have in the templates folder a viewerConfiguration.json.  Can you send me documentation on how to set this up. I don't need the imageQuery portion of this app. I really need to use the query layer and timeslider functionality using my rest endpoints.
Thanks
Michelle

@mmestrov We're working on getting this fully documented.  We should have more info for you shortly.

@mmestrov The template has been fully documented on the ArcGIS Solutions website below.  If you have any more question please let us know.
http://solutions.arcgis.com/intelligence/templates/image-discovery/


RSS link returns HTML instead of RSS

Could be my mistake, but...
The link appears to return HTML instead of RSS:
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="https://brianlovin.com/writing/rss"/>

Link: https://brianlovin.com/writing/rss

Thanks for the heads up. I introduced this regression a while back when removing some SSR bits. Will be broken in the meantime, but hopefully can fix it up later 😊

I was about to open this as well! Went to comment on on the website but it requires Twitter - glad I found this repo.
I'd love to follow your writing, but I'm pretty firm :+1: on RSS/Feeds and :-1: on newsletters.
Good luck!


Support expirable log level configurations

Problem:
With the log configuration task. My typical use case is to temporarily change the log level, get the relevant information, then revert the change. I would like the option to set a duration at which the log change reverts to the previous state. The example below takes in an ISO8601 duration as optional parameter.
https://www.dropwizard.io/1.3.2/docs/manual/core.html#logging-configuration-via-http
https://github.com/dropwizard/dropwizard/blob/v1.3.2/dropwizard-servlets/src/main/java/io/dropwizard/servlets/tasks/LogConfigurationTask.java
Solution:
Support an optional ISO 8601 duration on the log level task.
curl -X POST -d "logger=com.example.helloworld&level=INFO&duration=PT10M" http://localhost:8081/tasks/log-level

Result:
Log level configuration will support automatic reverting to the default level.

Addressed comment on f7d4302. Updated to set log level to null to revert to parent effective level.

Looks like one of the throttling tests from https://github.com/dropwizard/dropwizard/pull/2384 is causing the appveyor builds to fail.

@jplock I had some thoughts on making those tests less flaky. I'll submit a PR

Is there a way to rerun the appveyor tests without committing anything?

@mattnelson after merging in the guava removal PR, we have some conflicts on this PR now.  Would you mind resolving those?  Thanks!

@joschi @nickbabcock any additional feedback?

With the caveat that overwriting the trigger to reset the log level isn't possible.

documented on b67f44d


Added one card for "State"

Just added one more dataset for another card in the app.

🛠 Fixes Issue : "#13"

👨💻 Changes proposed:

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2022.

📄 Note to reviewers

📷 Screenshots

@rezwan2525 added the issue no. here that matches the changes.

@urwah1248 We are not accepting only one flashcard content as PR. Please review the issue.


user docs: Remove admin-only stream management from member docs.

@rishig

Merged, thanks @Lyla-Fischer!


[SP-4445] Backport of PDI-17398 - Scheduling a Job More than Once Cau…

…ses the Logs to Display Incorrectly (8.1 Suite)
Backport of https://github.com/pentaho/pentaho-kettle/pull/5583 to 8.1 branch.
@ricardosilva88 @cravobranco

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/job/Job.java
  engine/src/test/java/org/pentaho/di/job/JobTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/job/Job.java
  engine/src/test/java/org/pentaho/di/job/JobTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.core.injection.bean.BeanInjector

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:

org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.4% :small_red_triangle_down:
Line Change: -3.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change: -8.7% :small_red_triangle_down:
Complexity Change: -3% :small_red_triangle_down:
Instruction Change: -0.7% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


Handle Missing Config

If the bucket, ID, or secret is missing, the app should refuse to start. Otherwise you only find out if you use presigned: true and load that view.

It actually used to be like this, but there are apparently reason one would not want that to be the case. See: https://github.com/refile/refile-s3/pull/2


(WIP) irmin: add Simple_storage module

While working through the tutorial for creating custom storage, I saw an opportunity to provide a more direct way for users to create Irmin stores from a given storage layer. This PR adds a Simple_storage module and an example demonstrating its usage. You still need to have some Irmin logic in your storage, but I think it is minimal and much improved.
Still a WIP (I want to tidy/add comments) but feedback welcome, both on the code but also the idea!

Codecov Report

Merging #2047 (33d070d) into main (953431e) will increase coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head 33d070d differs from pull request most recent head a05dc89. Consider uploading reports for the commit a05dc89 to get more accurate results

@@            Coverage Diff             @@
##             main    #2047      +/-   ##
==========================================
+ Coverage   64.49%   64.50%   +0.01%
==========================================
  Files         130      130
  Lines       15548    15548
==========================================
+ Hits        10027    10029       +2
+ Misses       5521     5519       -2

Impacted Files
Coverage Δ

src/irmin/irmin.ml
95.00% <ø> (ø)

src/irmin-test/store.ml
94.82% <0.00%> (-0.06%)
:arrow_down:

src/irmin-fs/unix/irmin_fs_unix.ml
68.38% <0.00%> (+0.64%)
:arrow_up:

src/irmin-fs/irmin_fs.ml
82.42% <0.00%> (+1.21%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This is awesome - I think it's a great idea! :smile:
One thing to note is that this implementation uses in-memory watches only (which is also what irmin-pack does). This means that if another process modifies the store a watcher on another process won't get an update. This isn't a huge deal, but is something worth thinking about. Maybe you could provide a callback that allows the user to check for changes after Watch.v (I think that's how irmin-git does it)  - if you consider that out of scope then feel free to ignore this!

I'm happy you like the idea! :smile:
That's a really good point. I'll think on it and see if it feels in scope or better left for a follow up. It definitely would be something nice to have.

I don't like the name but I don't have a better idea 🤷 LGTM

I don't like the name either - Maybe just Irmin.Make ? (so that the simple case is the default one?)

I'm not the biggest fan of the name either. What is simple, really? :sweat_smile:
Here are my current thoughts:

Keep Backend for the most advanced/detailed way to specify a store. Keep it as still the ultimate input to Store.Make.
Rename Simple_storage to just Storage. I think this is the core concept I am going for here: letting users create a custom storage module that can be built into Irmin stores (both a "complete" one (ie Store.S / Store.KV) and individual ones like Content_addressable or Atomic_write).
Keep the Storage.Maker (but perhaps rename to Storage.Make since I don't think it is technically a maker in our concepts) signature as the primary one a user needs to implement. Parameterizing on key and value are important for a generic storage implementation that fits into how Irmin currently works (and I think it makes sense apart from Irmin too).
Rename Irmin.Of_simple_storage to Irmin.Of_storage to mirror Of_backend.
Revisit irmin.mli and update documentation in light of these changes.
In the future, add an Irmin.Make (and possibly other refactorings) that chooses Storage as the primary path if we see that this is indeed the best default choice for creating stores with custom storage. I think it is possible but I'm not sure just doing one tutorial example.

Sounds good

I think this is ready for a final review.
I made these changes and updated irmin.mli documentation in cd5a8c3 (#2047).
@zshipko I took a look at watching disk changes and think it is best suited for a follow up PR.


Link a site and a bot

Required Information

PHP Telegram Bot version: Last
Using MySQL database: Yes
Update Method: Webhook
Self-signed certificate: yes

Hi everyone! How can I make sure that on my site, after some action of the user in the admin panel, the bot notifies me that? How correctly connect my site & Telegram API?
Thanks in advance.

In your site's code, you can easily include the PHP Telegram Bot library (if you're already using composer for your site, all the better), then you can add the specific functionality to your code.
e.g. When a user performs an action, inside the code that your site executes, you can do this (assuming your Telegram object is a already initialised during the loading of your request):
Request::sendMessage([
    'chat_id' => 123, // your ID
    'text'    => 'User performed xyz',
]);

It's as easy as that!
Or I misunderstood what you're trying to do :grin:

@MyZik Is this solved for you?


README: pre-commit hook only on manifest change

The pre-commit hook only needs to run when a manifest file is modified.

Thanks but I think that it is not necessary since it is already defined in the .pre-commit-hooks.yaml: https://github.com/acsone/odoo-sort-manifest-depends/blob/master/.pre-commit-hooks.yaml#L6

My bad


Add "comments" relationship to WorkItem API

Links "self" points to the []Comment of related comments
to this WorkItem
"comments" relationship include "meta" "totalCount"
Related to #526

@sanbornsen With this change in the API you should check on the WorkItem if it has a relationship called "comments", if it does you can show the 'comments' section in the UI. The totalCount of comments is included in the comments.meta.totalCount. And to fetch the comments you should do GET comments.links.self
{
	"data": {
		"attributes": {
			"system.created_at": "0001-01-01T00:00:00Z",
			"system.creator": "rhusar",
			"system.description": "Jira\r\nhttps://issues.jboss.org/browse/ARQ-1976\r\n\r\n@aslakknutsen this would really need your eyes, this might be problematic.",
			"system.remote_item_id": "https://api.github.com/repos/arquillian/arquillian-core/issues/93",
			"system.state": "closed",
			"system.title": "ARQ-1976 All ResourceProvider#canProvide implementations could try to inject subtypes",
			"version": 43
		},
		"id": "4826",
		"relationships": {
			"assignee": {},
			"baseType": {
				"data": {
					"id": "system.experience",
					"type": "workitemtypes"
				}
			},
			"comments": {
				"links": {
					"self": "http://localhost:8080/api/workitems/4826/comments"
				},
				"meta": {
					"totalCount": 0
				}
			}
		},
		"type": "workitems"
	},
	"links": {
		"self": "http://localhost:8080/api/workitems/4826"
	}
}

Current coverage is 68.16% (diff: 62.31%)

Merging #567 into master will decrease coverage by 0.54%

@@             master       #567   diff @@
==========================================
  Files            69         70     +1
  Lines          3813       3898    +85
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2620       2657    +37
- Misses          927        971    +44
- Partials        266        270     +4

Powered by Codecov. Last update 8523fce...a3667f5


How to make the error go away>

Hi Pascal!
Let me start by saying I'm a complete newbie, so bear with me... ;)
I was able to make it work for a URL so it shows the error until the URL is valid, now the issue is that if I decide to delete whatever I put there and leave the field empty, the error message doesn't go away.
On my website, having a URL submitted by the user is not required, but if they decide not to include a URL (after they started typing something), they will still see the error message. Hope it makes sense...
Is there a way to fix this?

Thank you!

see #65


Updated Picasso v2.71828, removed NineOldAndroids; Gradle v4.1, sdk26, Travis build working!

Work done by hamsoft-uganda - adding guess at travis config to make it build

Now builds in Travis.
Upgrades Picasso: implementation 'com.squareup.picasso:picasso:2.71828'
Removed nine old androids.
Compile with Sdk 26,
Build Tools 26.0.1
Gradle  4.1
Gradle Plugin 3.0.1

The versions included in this will seem old to developers but are required to have it pass the travis build test configured in this repo. The versions of Android libraries/sdk in travis and the acceptance of the licenses within that environment used when pulling in new ones, are not up to date. This is purely an automated testing concern. I also have a completely current version of this waiting in my develop branch, that will work for folks using a current Android studio.
Working Travis test result can be seen here
https://travis-ci.org/daimajia/AndroidImageSlider/builds/463182710

Is there a way to use this via Gradle dependency? I don't think it will be merged anytime soon.

You can clone the repo (you can clone from mine if you like) and get your own copy working on the master branch. You can then use the gradle snapshot approach to using your own repo straight from github. Replace the original dependancy with this form:
implementation 'com.github.useyourown:AndroidImageSlider:master-SNAPSHOT'
You can also publish your own replacement to Bintray so that it works via JCenter, to share with others. Create an opensource account with bintray. Bintray syncs with JCenter after you have linked the two, and then and been approved. Using the published lib then, is possible by including jcenter() in your top level gradle build.gradle repositories. I might already be setup in your project.
allprojects {     repositories {       jcenter()    } }
Can't say I have done this myself, I use the snapshot. But learning is awesome. Have fun!
https://bintray.com/
https://android.jlelse.eu/publishing-your-android-kotlin-or-java-library-to-jcenter-from-android-studio-1b24977fe450

Thanks for the reply. Do you know if this works on API 28/ Pie?

This was an attempt to 1) fix long-standing issues with dependancies like Picasso and NineOldAndroids, 2) get the system to build within travis for testing [as setup by the original maintainer]. For Travis builds specific versions of dependancies were chosen, as newer ones are not available in that system. Version are documented in the thread above. I have not updated my master branch in relation to this pull request aimed at these goals.
What you are now asking about is to get it up to date as well. My "develop" branch contains further small modifications to use Gradle 4.10, the Gradle plugin 3.3.2, build tools 28.0.3 and does run on Android Pie.
https://github.com/simiansim/AndroidImageSlider/tree/develop

After I typed that I noticed Android Studio 3.4 was released 4 days ago.
The link above (develop branch) is now working with Android Studio 3.4, Gradle/Wrapper 5.1.1, and Gradle plugin 3.4.0 instead. This obviously requires you to update your Android Studio and related downloads. The previous commit could be used if you aren't ready to do that.


Create 'Community' collective

We still need a "Open Collective community" collective that we can use to sustain working groups (including this one) and community contributors.
Unfortunately https://opencollective.com/community is taken (although it doesn't seem like it benefits or is related to Open Collective) so we'll need to determine the next best name (Open Collective Working Groups?) and apply to OSC (OFC is currently not an option).

Just to clarify: this task is to create an actual "collective" at OC, correct?
https://opencollective.com/create
What are the actual questions/answers needed to create a collective, and how would our future community group decide who's on the list, who's in charge, or any other details?  (I haven't had time to create a username at OC yet, sorry)

Yes! I was planning on filling in a bit more detail in the description. But to answer your question - I 'think' this would be a case where (similar to https://github.com/communitycontributorgroup/opencollective/issues/3) someone from Open Collective would create it for us (assuming they were supportive of the idea).
With regards to how we'd manage, that's something we'd detail and document in https://github.com/communitycontributorgroup/opencollective/issues/1

Instead of rambling on about what's been happening in the background since the last update, I'll reference this conversation (one way, so far) I started on the Open Collective community collective.
A quick skim through the conversation and the About should provide background and context.
For those unaware, @xdamman is a Open Collective co-founder and the visionary behind Open Collective cities, the catalyst for what we're going to enable!

I've been corresponding with @xdamman (owner/admin of https://opencollective.com/community) about teaming up to

co-manage/admin the collective
extend by creating projects for community-governed working groups, projects, interest areas, and locations (regions/countries/cities) we're outlining in Open Collective Community google doc
revisit/reimagine the community vision on https://opencollective.com/community#category-ABOUT (see this conversation)

Considering the collective would essentially be representing Open Collective's Community - we'll need Open Collective leadership involved. Especially if we're enabling a community they can Exit to https://opencollective.com/e2c

@gusaus have we yet reached OC leadership to discuss this? Any updates here?

@tekNorah I believe I reached out to @xdamman soonafter the OCF dissolution was announced. Haven't heard anything back since we corresponded last year.
I think the loss of their nonprofit Slack instance (I'm assuming that's directly related to the OCF dissolution) creates an additional need for an engaged (sustainable) community.
Access to https://opencollective.com/community (or similarly named collective should Xavier decide to keep https://opencollective.com/community as is) will provide us with the mechanism to do that.

the current OC Slack instance isn't going away, just the number of members will be limited and a separate OC 'Community' workspace will be created, which I think fills the need well

I was repeating the wordage in the Slack thread. Looks like the OC team is still evaluating options, but the point I was trying to make is that providing input, to helping setup and manage (https://github.com/fosscontributors/opencollective/issues/2 is related) are additional ways members of the Community Working Group can contribute to Open Collective's community (https://github.com/orgs/fosscontributors/projects/2).

How does facilitation of the OC | Community collective help to solve this problem?

It will provide the mechanism to raise funds and pay contributors (https://github.com/fosscontributors/opencollective/issues/4 is related to the latter).


Create Events Page (Tech Team)

Create events page that will list all the upcoming and previous events.

#6 Closed as the pull request for this issue is merged.


Request for function Scope('OnPrem') removal

Describe the request
There are currently a lot of functions in the latest dutch (nl) version of the base application that have a OnPrem scope without any reason. Could you remove these so we can avoid duplicating code and use these functions?
This is a list of functions that we've run into, but there are way more functions in localization objects that are incorrectly flagged as OnPrem.
Table 79 Company Information:

GetVATIdentificationNo()

Table 11409 "Elec. Tax Declaration Header":

InsertLine()
ClearLines()
FormatDateTime()

Table 11411 "Elec. Tax Decl. VAT Category"

GetCategoryCode()

Report 12 "VAT Statement"

SetElectronicVAT()

Codeunit 1220 "SEPA CT-Export File"

Export()

Table 11307 "G/L Entry Application Buffer"

ShowDimensions()
Undo()
RealEntryChanged()
GetAppliedEntries()

Table 11000002 "Payment History Line"

GetUnstrRemitInfo()
WillBeSent()

Codeunit 11000006 "CBG Statement Reconciliation"

ResetNumbers()

Codeunit 11400 "Local Functionality Mgt."

GetPmtHistLineCountAndAmtForSEPAISO20022Pain()
GetPmtHistLineCountAndAmt()

Additional context
We are currently in the proces of changing our app targets to Cloud and are running into some issues calling functionality in de base application (dutch localization objects).
OnPrem.xlsx
Internal work item: AB#542072

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 25286.


Allow for user-defined Thead elements

I apologize for the hackyness in advance.
This allows you to defined a Thead within your tables, as well as having html Th elements within them. All you need to do is add the displayName="thead" on your Thead. It's pretty crazy you cant check the type of ReactElement, so until then, this is the solution I propose.
Something like:

             { unsafe('Header') }

     // Rows...

Things still mess up when inserting your own Tbody so I might add that soon along with tests. Aside from the tests, I think the components should be broken up into multiple files, which should make contributing a bit easier. It's kinda hard to see where things are at the moment.
Anyway, expect more edits in the near future, as I'm using this for a project at Vimeo :smile:

As far as breaking things up into different files goes, that's #80 :smile:

Oh awesome didn't see that! Also how would you like this broken up? You would like each commit broken into a different PR?

Will submit the Readme change in another PR!

:+1: sweet!

This should be good to go, I will make this PR's from different branches from now on but for now, I forced push without the Readme change.

Sorry complete forgot to address the other changes you asked for!

How's that?

This looks good to me. I'm going to need to write test cases to cover it before I merge it - I'm more than happy to do that myself, but I won't have time to do so probably for another couple of days, so that's where the delay on this is coming from.

@okcoker I've just pushed 6ba4826, which contains my initial attempt at writing tests for this - the tests are failing, though. Am I actually missing the point of this PR?

Hmm, no you understand it. I'll check this out in a bit

Cool, thanks :smile:

@okcoker any word on this?

Hey @glittershark sorry, you can safely close this. I ended up going my own route in the project from scratch in order to have better control over everything.


image_rgba example  missing channels argument

I ran the image_rgba demo and saw no transparancy. Added Picture(..., channels=4) as suggested somewhere an it worked as expected.

Fixed in the new release, thanks for reporting!


Exploratory-data-analysis

The dataset was released by Aspiring Minds from the Aspiring Mind Employment Outcome 2015 (AMEO).The dataset contains around 40 independent variables and 4000 data points. The independent variables are both continuous and categorical in nature. The dataset contains a unique identifier for each candidate.
Perform EDA On this Dataset.

Please Assign me as I am Participants of LGMSOC21'
@Niketkumardheeryan @Shivani-Khare


IE / LinkedIn always takes user to LinkedIn Auth page

For LinkedIn accounts, Chrome works fine, but IE always takes the user to LinkedIn's permission/auth page after the user logs out and tries to login.  If they log back in, why are they re-authenticated via LinkedIn?
Also, I noticed that IsPersisted is always set to false when SignIn is called-- just curious why and when would be set it to true? I know this is two questions, but I'm trying to test to see if IsPersisted is related to the IE issue.
Any help is greatly appreciated.

Whether LinkedIn asked the user to give permission again or not is up to LinkedIn. We have no control over that. I think it best to ask them about that.
As for the IsPersisted defaulting to false, I assume your are refering to what happens inside the AccountController? If so, then that is they way MS generates the AccountController by default. If you do not like it like that, then simply try setting it to true.

@jerriep -- thank you for the reply.  AccountController, yes, plus seems like there's no change if IsPersisted is true or false.  As far as "up to LinkedIn", I'm curious as to why it just recently started this behavior and only on IE and Edge and not Chrome.
I went into LinkedIn and removed the application from the list and that seemed to have fixed it for now.  This is very odd behavior.
Thanks for your help.

Yeah, I am not sure why LinkedIn behaves this way. They do some strange things sometimes ;)


Parse the strange field using '%' as no '='

Fixed here: https://github.com/emerald-geomodelling/libsgfdata/commit/b97b27bbb790813a2f62211944ef6bb192989aaf