NotSupportedException at Bandcamp URL resources

Hello,
I tried the Mp3StreamingDemo with Bandcamp tracks, e.g.
https://waldtraene.bandcamp.com/track/ich-wei-von-dem-rad-ii
In Mp3StreamingPanel.StreamMp3(...)
the line => frame = Mp3Frame.LoadFromStream(readFullyStream);
raises a NotSupportedException (stream does not support I/O processes at the same time).
Could you please have a look at this?
Thanks!
T.

It is not the right URL, please delete issue.

It is not the right URL, please delete issue.


chore(main): release 1.11.3

:robot: I have created a release beep boop
1.11.3 (2023-10-31)
Bug Fixes

🐛 Unix permission issues (dc9a3c4)
🐛 x64ArchFiles Error (82a99d9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.11.3 :sunflower:


DS-2784 jersey2

https://jira.duraspace.org/browse/DS-2784

This looks good to me. Please resolve the missing license header issue. Are you aware of any changes in jersey 1x to 2x that are worth noting? While developing DSpace's REST API, jersey 2 hadn't yet been released.

#1100 is for 5x, small jersey bump 1.17.1 to 1.19, and #1102 is bigger jersey bump 1.7 to 2.22.1

jersey 2.22.1 comes with jackson 2.5.4 (1.x with 1.9.2), new DI freamwork (hk2) - jersey 1.x use own legacy freamwork and big performance improvements

+1 I've run and tested this code, and it everything appears to be working normally. I didn't notice any issues from the Jersey upgrade.

how about null ID in generated link?

Sorry for the delay. You can change the link to have the UUID then. The client will already have to parse that field as a string, and it is the best url to access the object.

Ok, I removed legacy ID

@peterdietz is it good to merge yet? I'd like to close some tickets that depend on this.

I have merged this PR. REST API is now Jersey 2. Master + REST is now working. There was a momentary issue with PubMed (dspace-api, bringing jersey2), and REST using jersey1. This is all working now


OAuth2 client_id vs clientId

The recent refactor for tests resulted in the expected Client ID config param changing from client_id to clientId. Not a big deal once found, however it was undocumented so took a bit to track down. I'm not sure if we want it to be clientId or to restore it to client_id, as all other config params are underscore-based (redirect_uri, etc).
Thoughts?

Hi, this PR fix this issue : https://github.com/anvilresearch/connect/pull/374


Add PHP CS fixer for this application

Resolve #395.

@bocharsky-bw thanks for working on this!
I have two questions:

Is it recommended to add PHP-CS-Fixer as a project dependency or is it better to install it as a global tool in your computer?

Which is the default list of fixers applied when you don't select any config? I've seen some fixers in the official docs that are interesting but I don't know if they are enabled. For example: phpdoc_order, short_array_syntax, ordered_use, etc.

Hey @javiereguiluz

Actually, I don't know, but I did the same way as we had done with PhpUnit. I wonder others opinion about it.

As I see in docs:

By default, all PSR-2 fixers and some additional ones are run.

So I specified Symfony level explicitly and added a few fixers that you had suggested.

@bocharsky-bw very nice! Thanks. Let's wait for others opinion about adding PHP-CS-Fixer as a dependency or not.

@bocharsky-bw you did a great work here. Thank you! I'm merging it because we can always tweak this config later to add/remove more fixers if needed.


Rename eds-server to eds

Rename eds-server repo and code to just be eds.
Prevent stuttering with eds-server server and instead its eds server
@potofpie need to change app to use eds

Okay I will add this to my next PR.


[Improvement] Fix ESLint warnings & Errors

Currently there are a lot of Issues pointed out by eslint.
yarn eslint
We need to fix them, provide typesafety & Improve the Ruleset of ESlint

Fixed some, still some there


Adds command pp website weblink list

Closes #6269
Added new command pp website weblink list

@ktskumar  I added the hacktoberfest-accepted label to this PR which means that this PR will count as done for the Hacktoberfest event. So if you participate in this event it will get you unblocked and it allows us to merge this PR later when we catch up 👍
Thanks for your support and awesome contribution 👏 You Rock 🤩


initial framework

this should be enough to work with for now, it's missing lots of testing and really it's just the shell (though i did a bunch of stuff already)
of note is the stdpipes stuff, basically I was going to have integrations be able to just grab a channel which would basically be a spout for stdout/err, but channels are really awkward to manage for this kind of thing, if an integration didn't want to listen to a channel anymore you don't have any good way to allow that to happen. aside from adding awkward api where you get a channel and a token that you can cancel or something
so instead i changed it to be you get an io.Reader, which is basically all a stdout/err is going to be anyway so the symmetry there is nice. the tricky part was multiplexing the stdout io.Reader over many io.Readers, using an intermediate cache so that late arrivers still get the entire stdout/err
it seems to be stable and have no races at this point but I'm sure there is one hiding in there somewhere, tests are concurrent and don't show any races or stalls after lots of runs at any rate

hum, i think the cmd stuff should be in the root directory so that go get -u github.com/watchly/ngbuild would build and install the binary, can do that later

cmd moved, go get should work as expected


fixed

Describe the bug
After a few issues trying to jailbreak the ipad mini 4 I had to enable airplane mode on my ipad to be able to start the jailbreak without the kernel exploit error, after rebooting to continue jailbreak I get a new error; "Unable to install manually extracted debs"

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

iOS Version: 12.1.4
iOS Device: ipad mini 4
unc0ver Version: 3.3.4

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
Unable to install manually extracted debs.

its fixed

How was it fixed?


Custom schema implementations don't work with the supabase ssr package

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I tried creating a client with my custom schema named tasks. But it throws errors and doesn't work.
Errors in the editor

Code for the request:
import { createClient } from "@/utils/supabase/client"; // this is the client with ssr as mentioned above

const supabase = createClient();
const { data, error } = await supabase.from("tb_worker").select();
console.log("🚀 ~ getData ~ error:\n", error);

Errors in the console when I try to request for the data
{
    "code": "42P01",
    "details": null,
    "hint": null,
    "message": "relation \"public.tb_worker\" does not exist"
}

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create a sample nextjs project with supabase from the docs
Download sample database types for any project with custom schema.
Update either the browser client or the server client with the custom schema like this

import { createBrowserClient } from "@supabase/ssr";
import { Database } from "../types/database";

export const createClient = () =>
  createBrowserClient<Database>(
    process.env.NEXT_PUBLIC_SUPABASE_URL!,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
    {
      db: {
        schema: "tasks", // I'm using custom schema named tasks. You can change it to your schema name
      },
    }
  );

At this stage, you'll get typescript errors.
You can still try to query for the data from the custom schema and will get the same errors.

import { createClient } from "@/utils/supabase/client"; // this is the client with ssr as mentioned above

const supabase = createClient();
const { data, error } = await supabase.from("tb_worker").select();
console.log("🚀 ~ getData ~ error:\n", error);

Expected behavior
Should get the data. It works perfectly with the supabase js library. Example:
page.tsx
"use client";

import { createSupbaseClent } from "@/utils/supabase/supabaseClient";
import { useEffect, useState } from "react";

export default function Page() {
  const [notes, setNotes] = useState<any[] | null>(null);
  const supabase = createSupbaseClent();

  useEffect(() => {
    const getData = async () => {
      const { data, error } = await supabase.from("tb_worker").select();
      console.log("🚀 ~ getData ~ error:\n", error);
      setNotes(data);
    };
    getData();
  }, []);

  if (!notes) return
Loading ...
;

  return (
    <>

{JSON.stringify(notes, null, 2)}

    </>
  );
}

System information

OS: [linux: Manjaro]
Version of supabase-js: [2.39.7]
Version of Node.js: [20]

Additional context
I've checked wherther it's an issue of Typescript types generated by the database type generation in the supabase dashboard. Maybe this bug is also related to that as well.

This seems to still be an issue

I have the same problem, somebody knows the solution?

I have the same problem, somebody knows the solution?

@somesebastian
I have a solution. I created separate clients for each schema. Used any as the type to stop typescript errors. You can modify the database.ts file that you can generate from the supabase dashboard. But it is tedious so I skipped it.
This doesn't seem the best solution but it works for now.

I have the same problem, somebody knows the solution?

@somesebastian I have a solution. I created separate clients for each schema. Used any as the type to stop typescript errors. You can modify the database.ts file that you can generate from the supabase dashboard. But it is tedious so I skipped it.
This doesn't seem the best solution but it works for now.

@anindosarker I'll test it, thank you for the solution!

Is it fixed alread ? i still cant implement custom schema. 3 months ago i could. did something changed ?


Doc team

If you think this package needs more documentation:
Documentation is currently maintained in the docs folder and the main README.md - I take pull requests here.
If you think the wiki is a better place then join the team and help maintain this package :)
If you think theres an area that needs better docs, then add a comment here,
Todo:

[ ] Add documentation for: The "Push.appCollection" is empty #24
[ ] Document how to solve "unable to get local issuer certificate" #41
[ ] Better documentation for how to play a sound #36
[ ] Where should the files be stored #34
[ ] No tokens in Push.appCollection, sample app for iOS #33 (+ #26)
[ ] basic example question #28 (much like #33 but with metadata explained)

Kind regards Morten

I'm not ignoring this issue :)  Need the time to do it properly is all.

I just learned a LOT about APN certs and provisioning profiles.  Will update the wiki first and then just put a link to that in the README.md
I also haven't seen anyone run into #41 when following the walkthrough.
For #36 I'm trying to work out sounds for Android and then can write something up for it.
For #28 Can you write up a quick with metadata example and I'll try to document based on that?

sounds cool @dennisharrison :+1:
Theres a Push.setMetadata(data) method that stores data on the metadata field in the appCollection - it's still a bit in flux - and input / ideas is welcome. The point about metadata was to allow the developer to add data to the appCollection and being able to push messages to users based on custom data.
There are some security concerns, one is limiting the amount of data allowed in metadata - we could limit nr. of fields and depth level / have the metadata object flattened.
For now theres not much security on updating metadata - we might want to add some allow/deny rules.
We should also investigate if we somehow can do semi token auth on the ddp line - again for validation in allow/deny rules.

@raix Can you give me an example of what the dictionary sent to setMetadata would look like and what the use would be for a search using it?
I've been keeping track of that in payload metadata and doing the search using a per app customized findUser method - usually based on information kept in user.profile.  Metadata is to help with this?

It could be user want to subscribe to some news, so adding channels to the metadata allows the server to send out news targeted the user. Eg.
Push.setMetadata({
  // Only subscribe to foo and bar
  subscriptions: [ 'foo', 'bar']
})

Then have:
  Push.send(
    // ...
    query: {
      metadata: {
        subscriptions: 'foo'
      }
    }
  );

100% untested...

Oh!, on the client.  I don't know what I was thinking :)  I'll try it now.

Ah, well I think you catch things I take for granted - Important stuff for documentation :)


Specify content type of multipart/form-data

Suppose I have an endpoint that responds to the following curl
curl -F "filedata=[{\"fileName\":\"hi.jpg\",\"contentType\":\"jpg\"}];type=application/json" \
-F "file=@/test_data/hi.jpg;filename=NewNameForFile.jpg;type=image/png" -k \
https://localhost:8443/ExternalAPI/upload -v

Is there a way in typhoeus to specify the content-type when doing multipart form posts? I saw this https://github.com/typhoeus/typhoeus/issues/487 but was unable to find anything about specifying the content-type.

if you have mime-types installed gem 'mime-types', Typhoeus will use it to set the content-type. Otherwise you can do it manually: Typhoeus.get("www.example.com", headers: {'Content-Type'=> "image/png"})

here is the request.raw_post that I receive from my curl. Notice the application/json for the first part of the multipart/form-data.
"--------------------------4a2c969419e41119\r\nContent-Disposition: form-data;
name=\"filedata\"\r\nContent-Type: application/json\r\n\r\n
[{\"fileName\":\"hi.jpg\",\"contentCategoryCode\":13,\"contentType\":\"jpg\",\"fileSize\":81380}]\r\n
--------------------------4a2c969419e41119\r\n
Content-Disposition: form-data; name=\"file\"\r\nContent-Type:
image/png\r\n\r\n/vagrant_data/test/hi.jpg;filename=newName.jpg\r\n--------------------------4a2c969419e41119--\r\n"```

when I send the following request using typhoeus
Typhoeus.post('http://<IP_ADDRESS>:3000/test', verbose: true,
              body: {
                filedata: JSON.generate([{
                  'fileName' => file.original_filename,
                  'contentCategoryCode' => 13,
                  'contentType' => file.content_type.to_s,
                  'fileSize' => file.size
                }]),
                file: File.open(file.tempfile, 'r')
              }
            )

this gives the following request.raw_post (Content-Type: application/json is misssing)
"--------------------------bab9ba10625e328c\r\nContent-Disposition: form-data;
name=\"filedata\"\r\n\r\n
[{\"fileName\":\"pug-puppies13.jpg\",\"contentCategoryCode\":13,
\"contentType\":\"image/jpeg\",\"fileSize\":64624}]\r\n
--------------------------bab9ba10625e328c\r\nContent-Disposition: form-data; name=\"file\";
filename=\"RackMultipart20151216-23616-11asy40.jpg\"\r\n
Content-Type: image/jpeg\r\n\r\n\xF ... image binary

Is there anyway to include Content-Type for a multipart-formdata request that isn't a file?

@drewbailey were you able to solve this?

Any update on this? I've run into a similar problem with this.
I'm sending a csv or excel file and in both cases MIME::Types.type_for(filename) returns an array where the last item would be the preferred choice but the first one is chosen (https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L89)
Here is the example for an excel file:
MIME::Types.type_for(file.original_filename)
=> [#<MIME::Type:0x007fa495444238
  @content_type="application/excel",
  @docs=[],
  @encoding="base64",
  @extensions=["xls", "xlt"],
  @friendly={},
  @i18n_key="application.excel",
  @media_type="application",
  @obsolete=true,
  @raw_media_type="application",
  @raw_sub_type="excel",
  @registered=false,
  @signature=false,
  @simplified="application/excel",
  @sub_type="excel",
  @use_instead="application/vnd.ms-excel",
  @xrefs={}>,
 #<MIME::Type:0x007fa49584aaa8
  @content_type="application/vnd.ms-excel",
  @docs=[],
  @encoding="base64",
  @extensions=["xls", "xlt", "xla", "xlc", "xlm", "xlw"],
  @friendly={"en"=>"Microsoft Excel"},
  @i18n_key="application.vnd-ms-excel",
  @media_type="application",
  @obsolete=false,
  @raw_media_type="application",
  @raw_sub_type="vnd.ms-excel",
  @registered=true,
  @signature=false,
  @simplified="application/vnd.ms-excel",
  @sub_type="vnd.ms-excel",
  @use_instead=nil,
  @xrefs={"person"=>["Sukvinder_S._Gill"], "template"=>["application/vnd.ms-excel"]}>]

For the first one content type is "application/excel", and I could guess that the use_instead attribute(here "application/vnd.ms-excel") is what should be used?
Would the the content type and content disposition of the multi-parts be configurable then one could solve it when using Typhoeus, by sending the correct ones in.
Else maybe adding a check for use_instead and use that instead if it exists?
(type.use_instead || type).to_s

I'd love to see a response as I too would like to use Typhoeus to make multipart/form-data requests with differing content-types for each part.  In my case I need to make a request of this form:
curl --trace-ascii - \
-XPOST \
-F "request={\"some\":\"json\"};type=application/json" \
-F "content=Some text;type=text/plain" \
www.example.com

which shows the following for the form data submitted:
=> Send data, 320 bytes (0x140)
0000: --------------------------354d1f71549c7e1e
002c: Content-Disposition: form-data; name="request"
005c: Content-Type: application/json
007c:
007e: {"some":"json"}
008f: --------------------------354d1f71549c7e1e
00bb: Content-Disposition: form-data; name="content"
00eb: Content-Type: text/plain
0105:
0107: Some text
0112: --------------------------354d1f71549c7e1e--

My endpoint also requires that the name of the JSON field be defined as request in the Content-Disposition header for that form componenet (as shown above).  I don't see in any of the documentation (or anywhere else on the web) how to make this request successful.
@i0rek if you have a moment to help I'm sure lots of folks could benefit.  Thank you!

@janneh

an array where the last item would be the preferred choice but the first one is chosen

If I misunderstood their API, I would be more than happy to fix that. I will merge a PR with evidence that I got it wrong.
@drewbailey @acrogenesis @mikegrissom
If I understand correctly, you want to specify the content-type of each part of the multipart (and not rely on mime-types). We can certainly add that. I am wondering what an API could look like without breaking the existing things?
This is my idea:
Typhoeus.post(
  'http://www.example.com',
  verbose: true,
  body: {
    file: Typhoeus::FileWithData.new(File.open('test.rb', 'r'), filename: "other.rb", contenttype: "application/json"}
  }
)

Thank you everybody for putting so much thought into this. ❤

Don't take my word for that you've gotten it wrong :)
I just found that for my use cases the last one returned by MIME::Types.type_for would have been the one expected and accounted for that. Btw I also noticed that in those cases the currently used one pointed to the (for me)expected one via @use_instead="application/vnd.ms-excel" (in the excel case)
Thanks for an excellent job with this lib! 💯


Confusion?

We do we have the Teams logo in Microsoft Copilot?
Microsoft Copilot is basically bing chat enterprise but it looks like the refernce in this article is for Microsoft Copilot for Microsoft 365.
Also in the diagram at the end of the page, there's a Teams logo in "Copilot Studio" and "Copilot on MCS". What's the reason of Teams logo.
I this this article, and this series of article in general, is very confusing and might not report the correct name of our MS products.

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

ID: e8a4fb61-ef06-b4fe-4d4b-6951ce98d8f4
Version Independent ID: e8a4fb61-ef06-b4fe-4d4b-6951ce98d8f4
Content: Microsoft Copilot Studio plugin architecture - Microsoft Copilot Studio
Content Source: power-virtual-agents/copilot-plugins-architecture.md
Service: copilot-studio
GitHub Login: @iaanw
Microsoft Alias: iawilt

Thanks for your comment, @stefanoceruti. This issue has been assigned to the doc author for review.


Interop API Map Submission Verification

Hello,
Is there currently any way to view and verify team map submissions through the Interop Admin Dashboard, similar to viewing ODLC Images? I would like to check whether some code for uploading our map image works, and I was hoping there would be some way to view the submitted map image through the Admin Dashboard on the Interop Server. However, I can't find any page that even confirms the fact that a map has been submitted to the Interop server. Is this still to be implemented, or is there some way to verify our submission for now?
Thanks for your help!

Please see this point in the guide:
https://github.com/auvsi-suas/interop#review-map-imagery
You can track development of the feature at #496.


Define default parameter types for a different platform

The @cucumber/language-service module is able to extract Cucumber Expressions from source code (currently Java and TypeScript, but other languages can be added with relatively little effort).
However, if a user is using @cucumber/language-service (which is written in TypeScript) with Java, they may have Cucumber Expressions that uses parameter types that are only defined for Cucumber-JVM (such as {double} or {bigdecimal}).
These expressions will cause a parse error unless the registry is instantiated with those parameter types.
One way to support this is to add a defineDefaultParameterTypes(registry, platform) function where the value of platform would be used to decide what parameter types to define.
In order to implement this consistently on all platforms, we could add new acceptance tests in testdata/cucumber-expression/matching/*.yml with an additional platform property to indicate what platform to use.
Also see #42

Obsolete. Fixed differently in #42


Infrastructure to extend volumes.

Implements EBS volume resizing #35.
In order to support volumes different from EBS and filesystems other than EXT2/3/4 the respective code parts were implemented as interfaces. Adding the new resize for the volume or the filesystem will require implementing the interface, but no other changes in the cluster code itself.
Volume resizing first changes the EBS and the filesystem, and only afterwards is reflected in the Kubernetes "PersistentVolume" object. This is done deliberately to be able to check if the volume needs resizing by peeking at the Size of the PersistentVolume structure.  We recheck, nevertheless, in the EBSVolumeResizer, whether the actual EBS volume size doesn't match the spec, since call to the AWS ModifyVolume is counted against the resize limit of once every 6 hours, even for those calls that shouldn't result in an actual resize (i.e. when the size matches the one for the running volume).
As a collateral, split the constants into multiple files, move the volume code into a separate file and fix minor issues related to the error reporting.

👍

👍

:+1:

I think you need to run go fmt for all the modified files

👍

👍


Missing dependency LcDialog / LcTemplates

I opened the State 1 pattern with LV2023. I have missing dependencies for LcDialog and LcTemplates.

Oops that is not good, let me fix that

I've pushed some cleanup

Try now

Awesome project and issue is fixed


CRJAZ1319E when exporting items to CSV

Hi @rsjazz ,
I am observing this error reported by WCL when using -exportworkitems option:
TeamRepositoryException: Unable to process!
This is often due to a link creation making the target work item invalid.
For example creating a parent chld relationship to a work item that already has a parent.
CRJAZ1319E Read access is not permitted. The user, GAlmeida, tried to read one or more items that have the following type: WorkItem

I found a thread on https://jazz.net/forum/questions/220635/crjaz1319e-read-access-is-not-permitted,  which suggests that my user does not have permission to read the working item. However, I am able to read it over web interface as well as using the RTC Eclipse Client.
I am using the following options when executing the command:
CALL wcl.bat %command% repository=%repository% user="%HA_USER%" password="%HA_PASS%" projectArea=%projectArea% query=%query% [querysource=%querysource%] exportFile=%file% /disableAttachmentExport  [encoding="UTF_16LE"] [delimiter=","] /allColumns /ignoreErrors

The syntax is all wrong here:
CALL wcl.bat %command% repository=%repository% user="%HA_USER%" password="%HA_PASS%" projectArea=%projectArea% query=%query% **
[querysource=%querysource%]
[encoding="UTF_16LE"]
[delimiter=","]
In the documentation [] only means that this is an optional parameter. If you want to pass the parameter, pass it like any other parameters e.g.
querysource=%querysource%
encoding="UTF_16LE"
delimiter=","

Thanks for the clarification @rsjazz !

Please check the syntax. the brackets [] need to be removed. They are only used to show a parameter is optional.

I have removed the brackets:
CALL wcl.bat %command% repository=%repository% user="%HA_USER%" password="%HA_PASS%" projectArea=%projectArea% query="%query%" querysource="%querysource%" exportFile="%file%" /disableAttachmentExport encoding="UTF_16LE" delimiter="," /allColumns /ignoreErrors

Now I am getting a different error:
=================================================SOLUTIONS=====================================================
StartTime: May 11, 2020 10:22:48 AM
WorkItemCommandLine Version 5.0

Exception in thread "main" com.ibm.js.team.workitem.commandline.framework.WorkItemCommandLineException: Ambiguous command parameter: -
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.addCommand(ParameterParser.java:154)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parseParameter(ParameterParser.java:86)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parse(ParameterParser.java:46)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parseParameters(ParameterParser.java:59)
        at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.run(WorkitemCommandLine.java:218)
        at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.main(WorkitemCommandLine.java:183)

The error indicates that you pass two commands. The command is the one parameter with a leading -.
If you pass more than one, you get this error. I would need to look at the expanded call that actually runs WCL.

Here it is:
C:\Program Files\Java\jdk1.8.0_211\bin\java" -Djava.security.policy=rmi_no.policy -Djava.ext.dirs="./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6;C:\Program Files\Java\jdk1.8.0_211/jre/lib/ext" -cp "./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6" -jar wcl.jar "-exportworkitems" repository="https://alm.harman.com/ccm" user="user" password="pass" projectArea="GTC Base Software (CCM)" query=""[PQ] Solution Epics - All"" querysource=""GTC Base Software (CCM)"" exportFile=""export_solutions.csv"" /disableAttachmentExport encoding="UTF_16LE" delimiter="," /allColumns /ignoreErrors
StartTime: May 11, 2020 10:40:05 AM
WorkItemCommandLine Version 5.0

Exception in thread "main" com.ibm.js.team.workitem.commandline.framework.WorkItemCommandLineException: Ambiguous command parameter: -
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.addCommand(ParameterParser.java:154)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parseParameter(ParameterParser.java:86)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parse(ParameterParser.java:46)
        at com.ibm.js.team.workitem.commandline.parameter.ParameterParser.parseParameters(ParameterParser.java:59)
        at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.run(WorkitemCommandLine.java:218)
        at com.ibm.js.team.workitem.commandline.WorkitemCommandLine.main(WorkitemCommandLine.java:183)

Check all the unnecessary quotation marks, the duplicate quotation marks etc. the quotation mark is usually only needed when there is a space in the parameter value behind the =.
This likely causes the problem (note the dash before All):
""[PQ] Solution Epics - All""

This should look like
query="[PQ] Solution Epics - All"

Thanks!
Now I get a query not found. In the past, this was due to an extra empty space. But I checked in RTC client and query string seems to be matching the one provided in the argument.

"C:\Program Files\Java\jdk1.8.0_211\bin\java" -Djava.security.policy=rmi_no.policy -Djava.ext.dirs="./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6;C:\Program Files\Java\jdk1.8.0_211/jre/lib/ext" -cp "./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6" -jar wcl.jar "-exportworkitems" repository="https://alm.harman.com/ccm" user=user" password=pass projectArea="GTC Base Software (CCM)" query="[PQ] Solution Epics - All" querysource="GTC Base Software (CCM)" exportFile="export_solutions.csv" /disableAttachmentExport encoding=UTF_16LE delimiter=, /allColumns /ignoreErrors

Starting Team Platform ...
Executing command: exportworkitems

Query not found [PQ] Solution Epics - All
Failed!

The query needs to be owned by the user you use to call the command. Otherwise you would have to specify a query source for the shared query.
querysource="JKE Banking(Change Management),JKE Banking(Change Management)/Business Recovery Matters"
The first parameter is the project area, the second is an example for a team area in the project area.

The Query is owned by me: [PQ] stands for Private Query! This query was working with my previous wrong command with [] "" etc.

I found the error.
For private queries, there is no need to provide querysource (as you explained before). If I provide the querysource along with query, I get the error.
Removing querysource from the command works as expected.
Thanks Ralph!

That is correct, by default I use a personal query.
Good luck.

Hi Ralph,
I am able to reach the original error of this thread now:
"C:\Program Files\Java\jdk1.8.0_211\bin\java" -Djava.security.policy=rmi_no.policy -Djava.ext.dirs="./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6;C:\Program Files\Java\jdk1.8.0_211/jre/lib/ext" -cp "./lib;D:\RTC-Client-Win64-6.0.6\RTC-Client-plainJavaLib-6.0.6" -jar wcl.jar "-exportworkitems" repository="https://alm.harman.com/ccm" user=user password=pass @ projectArea="GTC Base Software (CCM)" query="[PQ] Capabilities All" exportFile="export_capabilities.csv" /disableAttachmentExport encoding=UTF_16LE delimiter=, /allColumns /ignoreErrors
StartTime: May 11, 2020 11:15:06 AM
WorkItemCommandLine Version 5.0

Starting Team Platform ...
Executing command: exportworkitems

Exporting work item 906487
Exception exporting work item 906487 column 7 attribute internalApprovalDescriptors : AttributeType not yet supported: approvalDescriptors ID internalApprovalDescriptors Ignored!
Exception exporting work item 906487 column 25 attribute customAttributes : AttributeType not yet supported: customAttribute ID customAttributes Ignored!
Exception exporting work item 906487 column 30 attribute eSignatureRecords : AttributeType not yet supported: eSignatureRecords ID eSignatureRecords Ignored!
Exception exporting work item 906487 column 76 attribute internalStateTransitions : AttributeType not yet supported: stateTransitions ID internalStateTransitions Ignored!
Exporting work item 566791
Exception exporting work item 566791 column 7 attribute internalApprovalDescriptors : AttributeType not yet supported: approvalDescriptors ID internalApprovalDescriptors Ignored!
Exception exporting work item 566791 column 25 attribute customAttributes : AttributeType not yet supported: customAttribute ID customAttributes Ignored!
Exception exporting work item 566791 column 30 attribute eSignatureRecords : AttributeType not yet supported: eSignatureRecords ID eSignatureRecords Ignored!
Exception exporting work item 566791 column 76 attribute internalStateTransitions : AttributeType not yet supported: stateTransitions ID internalStateTransitions Ignored!
TeamRepositoryException: Unable to process!
This is often due to a link creation making the target work item invalid.
For example creating a parent chld relationship to a work item that already has a parent.
CRJAZ1319E Read access is not permitted. The user, GAlmeida, tried to read one or more items that have the following type: WorkItem

I don't have an idea, the next work item might have a property that prevents from reading it or there is some other issue that cases the error. The Error message CRJAZ1319E  is passed by the API.
Run the query in the UI and try to find out the next work item number. You can use print work item etc. to see if the user has access.
The only other chance to find that would be by debugging.

Another thought would be if there is another attribute after internalstate that causes this error.
You can send me an e-mail to<EMAIL_ADDRESS>and I can setup a call to talk about your options.

@rsjazz , I have dropped you an email, thanks for your support.
As a heads-up, I have observed that error is occurring sporadically. I have run the same command and I did not get the error now.

I am available in my webex for the next 20  minutes. I sent you the webex link.
Otherwise, please suggest when you are available today.

Thanks Ralph for your support in helping me out to sort the problem.
Here my findings:

Firstly, I run the following command to get all attributes of the workitem for which the exception is happening: 668373.

 wcl.bat %command% repository=%repository% user="%HA_USER%" password="%HA_PASS%" projectArea=%projectArea% id="668373" /attributeNamesAsIDs /allColumns

Then I copy the outputs to a text file and grab the attributes which I am interested in:
columns="id, workItemType,creator,summary,internalState,parent,child"

then I run the -exportworkitems and provide this information in the argument:

CALL wcl.bat %command% repository=%repository% user=%HA_USER% password=%HA_PASS% projectArea=%projectArea% query=%query% exportFile=%file% /disableAttachmentExport encoding=UTF_16LE delimiter=, columns="id, workItemType,creator,summary,internalState,parent,child" /ignoreErrors

Then I get the same error. This gave me a hint that the problem was coming from one of the selected attributes. Then I removed the child attribute from the list, and I was able to get rid of the problem.
Now, it will be good to know why the child attribute is causing this problem. The parent attributes seem to be working nicely.

The child attribute should work like the parent attribute. It is basically a link type. So I don't know why it would not work. Does it cause the issue if there is a child work item? Is there something specific about the child? The printWorkitem works with the child? Does it always fail if there is a value? I can check in the source, but I am not sure I can debug this easily.

I just ran a test (with the latest baseline 5.1 in GIT - not the latest release) using this command:
-exportworkitems /ignoreErrors repository="https://clm.example.com:9443/ccm" user=myadmin password=myadmin projectArea="JKE Banking (Change Management)" exportFile="C:\Temp\RTCExport\Test.csv" query="All" columns="category,workItemType,internalState,internalPriority,internalSeverity,summary,owner,creator,description,dueDate,duration,foundIn,parent,child"
parents and children export fine. Note that all parents and children are in the same project area.

The child attribute should work like the parent attribute. It is basically a link type. So I don't know why it would not work. Does it cause the issue if there is a child work item? Is there something specific about the child? The printWorkitem works with the child? Does it always fail if there is a value? I can check in the source, but I am not sure I can debug this easily.

The ticket causing the problem has one child / I just figured-out this is in another project area which I do not have access to!
Thanks Ralph!

I added some code to better spot the problem attribute in the export. In general I have to resolve the work item id. I try to take a different profile in the hope that getting the ID only is OK. It would be possible to do more, given some time.

Thanks a lot Ralph!


Upgrade to latest sloc

Also upgrade devDependecies to current versions
Keep gulp on 3.x for now
Also upgrade dependencies to latest gulp-util, lodash, mkdirp
Also add jshint to devDependencies, for compatibility with modern npm
Also add package-lock.json from npm 6.4.1 to prevent accidental transitive dependency changes

@rjatkins is this still needed? Would you want to be a collaborator on this repo?


Home Assistant example

I have an usb dsmr meter in my rpi with  Home Assistant. Could you give me an example how to mqtt the value's to Venusos?

Unfortunately I‘m not using Home Assistant. Maybe someone other can help you with that.

I'm using a vue2 energy meter flashed to esphome as a energymeter, I use the following automation in HA to push the values to mqtt:
`alias: mqtt publish sensor value grid power
description: ""
trigger:

platform: state
entity_id: sensor.vue2_total_overall_power
condition: []
action:
service: mqtt.publish
data_template:
payload: |
{
"grid": {
"power": {{ (states('sensor.vue2_total_overall_power') | float(0)) - (states('sensor.vue2_total_overall_power_return') | float(0)) }},
"L1": {
"power": {{ (states('sensor.vue2_phase_a_power') | float(0)) - (states('sensor.vue2_phase_a_power_return') | float(0)) }},
"voltage": {{ states('sensor.vue2_phase_a_voltage') }}
},
"L2": {
"power": {{ (states('sensor.vue2_phase_b_power') | float(0)) - (states('sensor.vue2_phase_b_power_return') | float(0)) }},
"voltage": {{ states('sensor.vue2_phase_b_voltage') }}
},
"L3": {
"power": {{ (states('sensor.vue2_phase_c_power') | float(0)) - (states('sensor.vue2_phase_c_power_return') | float(0)) }},
"voltage": {{ states('sensor.vue2_phase_c_voltage') }}
}
}
}
topic: homeassistant/energy/grid`

@Steamerzone thanks for helping with this issue :-)

Hi, I'm hoping someone can give me some help with this.
I have data going into Venus but i get an Error. Exception occurred: float division by zero
I'm wondering if i can get an example of the config for just having 1 single meter on mains (single phase) with voltage.
I can then look at adding the circuits i have later.
thanks

Please open a new issue and share the whole error log


sd_isRembg error

When I enabled the sd_isRembg, I got this error
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
raise err
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
sock.connect(sa)
PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connection.py", line 358, in connect
conn = self._new_conn()
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000202A738B3D0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\adapters.py", line 440, in send
resp = conn.urlopen(
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /danielgatis/rembg/releases/download/v0.0.0/u2net.onnx (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000202A738B3D0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\b2sd.py", line 121, in execute
butils.doit(isanim              = b2sd.isRenAnim,
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\b2sd.py", line 384, in doit
run_sd([currentImgPath],
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\b2sd.py", line 322, in run_sd
rmbg(sd_out_img)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\b2sd.py", line 215, in rmbg
output = remove(_input)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\rembg\bg.py", line 133, in remove
session = new_session("u2net")
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\rembg\session_factory.py", line 51, in new_session
pooch.retrieve(
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\pooch\core.py", line 240, in retrieve
stream_download(url, full_path, known_hash, downloader, pooch=None)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\pooch\core.py", line 772, in stream_download
downloader(url, tmp, pooch)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\pooch\downloaders.py", line 189, in call
response = requests.get(url, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages\requests\adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /danielgatis/rembg/releases/download/v0.0.0/u2net.onnx (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000202A738B3D0>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions'))

look like that is a problem with rembg module, not sure why ...

Got it working after uninstalling and reinstalling pillow and rembg


chore(release): v0.1.0

Version bump in package.json for release v0.1.0

:tada: This PR is included in version 0.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: added nx runner for tsx compiler + property onUpdated fixed

Status:
Closes: https://github.com/movesthatmatter/movex/issues/99, https://github.com/movesthatmatter/movex/issues/103
Both issues being co-related

[x] Added nx runner for tsx compiler
[x] Fixed onUpdated bug -> onUpdate
[x] movex-react compiles npx tsc -b libs/movex-react
[x] all regression tests are passing yarn test
[x] can run npx nx tsc movex-react --watch

Love it! Thank you @Abhishek-Mallick


Revert "Provide an ability to disable the array length field"

Reverts cloudant/mango#45

Had to revert the pull request as I delivered a file with type while fixing the coding style and format.


Aqara Relay Battery Status

Issue
Aqara Relay show Battery Status (0% battery) in Homekit

That’s probably because deCONZ reports config.battery with a value 0.  Please attach the debug dump file, so I can confirm.

That’s probably because deCONZ reports config.battery with a value 0. Please attach the debug dump file, so I can confirm.
homebridge-hue.json.gz

Hm. there seem to be several things wrong with how these devices are exposed:

The manufacturername is null on the /lights resource for endpoint 02;
Both /lights resources use type "Dimmable light", but don't expose state.bri.  I don't think the relays support dimming (Level Control cluster), so the type should be corrected (assuming the device wrongly advertises this type on both endpoints).
The ZHAConsumption and ZHAPower /sensors resources contain config.battery - I don't think these relays have a battery, do they?  The values, unsurprisingly, are null.

I assume the device does have two relays?  Otherwise, only one /lights resource should have been created.
These need to be fixed in deCONZ, I've re-opened https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2909.

Hm. there seem to be several things wrong with how these devices are exposed:
* The `manufacturername` is `null` on the `/lights` resource for endpoint 02;

* Both `/lights` resources use `type` `"Dimmable light"`, but don't expose `state.bri`.  I don't think the relays support dimming (_Level Control_ cluster), so the `type` should be corrected (assuming the device wrongly advertises this type on both endpoints).

* The `ZHAConsumption` and `ZHAPower` `/sensors` resources contain `config.battery` - I don't think these relays have a battery, do they?  The values, unsurprisingly, are `null`.

I assume the device does have two relays? Otherwise, only one /lights resource should have been created.
These need to be fixed in deCONZ, I've re-opened dresden-elektronik/deconz-rest-plugin#2909.

Yes aqara relay have two relay .


Wrong text color at first, but correct text color on window refresh/focus/unfocus

After running a query I try to read the number of rows fetched but the text foreground and background is almost the same:

However if I switch to other application and switch back it shows light foreground over dark background, which is probably the configured colors. Even without switching applications, just clicking away from the DBeaver windows does the same.

Is it the planned behavior or a bug?
Tried with 4.0.7 and 4.0.8 on Windows 7

It is a bug in status label rendering, thanks for report.

Could this be the same problem? However it doesn't change when switching applications or clicking away:

Nope. It was a bad icon. Fixed

Oh, I meant the black text on grey background.
It's probably one of the settings in Colors and Fonts but I can't find which one is it

Looks like it is not possible to customize tool item foreground color in SWT: https://bugs.eclipse.org/bugs/show_bug.cgi?id=401227


Add search like recylerview in toolbar

I just add fitur search functionality in this listview like recylcerview

Can you just add any screenshot/recording  so I can review easily

🎉  merging it


[Feature-#3805][server-master] Task parameter transfer

[Feature-#3805][server-master] global params for task of sub_process
The function of global params has three parts,This part is the last one for task of sub_process.
The subprocess node passes in variables, and the subprocess can receive params values
About subprocess node: judge whether there is parameter passing when generating subprocess command. If there is parameter passing, the parameter will be written into the command table.When master read one command ,master will check command params .If there are params of fatherParams ,master will set the params to processInstance globalParams.
[bug-#5085][server-master] if global Param of out is a number, throw format exception
make the of all out param to String
this closes #3805 , #5085

Codecov Report

Merging #5077 (a207793) into dev (5856a12) will decrease coverage by 0.06%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##                dev    #5077      +/-   ##
============================================
- Coverage     47.25%   47.19%   -0.07%
+ Complexity     3685     3681       -4
============================================
  Files           569      569
  Lines         23879    23895      +16
  Branches       2745     2749       +4
============================================
- Hits          11285    11277       -8
- Misses        11565    11586      +21
- Partials       1029     1032       +3

Impacted Files
Coverage Δ
Complexity Δ

.../org/apache/dolphinscheduler/common/Constants.java
81.81% <ø> (ø)
1.00 <0.00> (ø)

...heduler/server/master/runner/MasterExecThread.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...lphinscheduler/service/process/ProcessService.java
37.81% <51.85%> (+0.13%)
69.00 <5.00> (+1.00)

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
70.73% <0.00%> (-4.88%)
9.00% <0.00%> (-1.00%)

...er/master/processor/queue/TaskResponseService.java
67.12% <0.00%> (-4.11%)
8.00% <0.00%> (ø%)

...r/server/worker/processor/TaskCallbackService.java
38.09% <0.00%> (-3.18%)
8.00% <0.00%> (ø%)

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
25.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

为什么我用最新的1.3.8的发行版本也没有这个功能？请问题如何使用这个功能，万分感谢？实在找不到相关文档了。急
我是使用K8s的方式部署的

Why is this feature not available when I use the latest 1.3.8 release version?  how to use this function, thanks a lot? I can't find the relevant documents. urgent，
my deployment is base k8s

为什么我用最新的1.3.8的发行版本也没有这个功能？请问题如何使用这个功能，万分感谢？实在找不到相关文档了。急
我是使用K8s的方式部署的
Why is this feature not available when I use the latest 1.3.8 release version? how to use this function, thanks a lot? I can't find the relevant documents. urgent，
my deployment is base k8s

This function execit in dev ,and the doc link is this one.
https://dolphinscheduler.apache.org/zh-cn/docs/dev/user_doc/globalParams.html


Issue with request of embed objects, where object cache entry is missing

During implementation of https://github.com/DSpace/dspace-angular/issues/601 I encountered several issues with request of embed objects. In many case when the request is already fetched by rest, the payload returned is undefined due to a missing object cache entry in the cache. Objects cache should exist for this requests because are not expired, as a result the request is not dispatched again.
Probably this issue is related to https://github.com/DSpace/dspace-angular/issues/626

Encountered again in testing of #1641.  Here's how to reproduce problem easily:

Login as an Admin
Edit an Item
Edit Item Policies
Change default "Anonymous" READ policy to be "Administrator" READ (i.e. change the group assigned to the policy)
Change will be successful, but on the Policies page the group with disappear. See screenshot at https://github.com/DSpace/dspace-angular/pull/1641#pullrequestreview-977195916)
If you reload the page in the browser, you'll see the group is now "Administrator".

This results in a usability issue. The current code in this scenario works, but this bug makes it appear to have failed.
Flagging this as high priority and pulling over to the 7.4 board.

Adding a zero hour estimate to this ticket as this will be completed alongside #1753 (and the estimate in that ticket includes this one)


Cannot access user token

What version of Music Assistant has the issue?
2.0.0b100
What version of the Home Assistant Integration have you got installed?
2024.5.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
The path View > Developer > Developer Tools doesn´t exist on neither my laptop (Windows with Chrome) or on my Iphone so I cannot retrieve any user token
How to reproduce
I can´t reproduce something I cannot reach due to lack of meny?
Music Providers
Apple
Player Providers
Apple
Full log output
No log
Additional information
No additional info
What version of Home Assistant Core are your running
2024.2.0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

This is not a MA problem. You need to a Google how to find the browser developer tools such as https://balsamiq.com/support/faqs/browserconsole/#:~:text=To open the developer console,(on Windows%2FLinux).
P.S. You are running a very old version of MA


[WIP] Support CUB prod

Both full and segmented reductions are supported.
TODO:

[ ] Add tests?
[ ] Post timing?

@emcastillo: Your comments https://github.com/cupy/cupy/pull/2919#discussion_r375113326 and https://github.com/cupy/cupy/pull/2919#discussion_r375604770 are addressed here.

Do you know how much does build time increase before-after this PR?.

Interesting question. Let me test it.
Regardless of how much longer it becomes after merging this PR, I think this build-time issue (see my https://github.com/cupy/cupy/issues/1961#issuecomment-552718175) will be important to investigate for utilizing CIs efficiently.

Seems acceptable?
time pip install -v -e .  # only the two touched modules get rebuilt

Result:
Before: 5m34.901s
After: 6m10.939s
Note that I didn't limit --generate-code for nvcc so I compiled for all archs.

How long does a non-cub build takes in your system?

You meant building the entire project, not just the touched modules?

ah! sorry i thought it was a complete build.
Then, it is fine.

Jenkins, test this please

Jenkins CI test (for commit 8b6f6d4bfad2ccc2cd7b18e16e861f68cab92b89, target branch master) succeeded!


HyperV role is not default installed

Not even on Dv3 instances are the HyperV role installed

@Lybecker : Thanks for your contribution to the Azure documentation! The author, @rwike77, has been notified to review your proposed change.

@Lybecker  Your update looks fine, thanks.  #sign-off


add support for riscv64

Add support for riscv64 as host architecture.

Thanks @futurejones -- we are working on a brand new set of CMake configs in the package branch over here -- we should rebase this on top of that once it lands.

I believe @iCharlesHu's changes to the cmake for the package branch will actually remove this manual list of architectures and instead ask the compiler for the architecture (which should eliminate the need for this change and others like it in the future). We should double check to confirm, but hopefully this should "Just Work" with the new cmake setup

Ditto to what @jmschonfeld said. We are removing this list with https://github.com/apple/swift-corelibs-foundation/pull/4959 and just ask the compiler at runtime.

@parkera @jmschonfeld @iCharlesHu
https://github.com/apple/swift-corelibs-foundation/pull/4959 has now been merged but it appears no changes were made the use of the SwiftSupport.cmake file.
The file still exists and is is still referenced in the CMakeLists.txt file.
https://github.com/apple/swift-corelibs-foundation/blob/ca3669eb9ac282c649e71824d9357dbe140c8251/CMakeLists.txt#L67
https://github.com/apple/swift-corelibs-foundation/blob/main/cmake/modules/SwiftSupport.cmake
Am I missing something?
Thanks.

@futurejones that PR was merged into the package branch, which is where ongoing work is taking place to re-core this repo on the new swift-foundation repo. That branch is expected to be merged into main imminently as soon as we resolve the final blockers. You can view the new contents of that file on the package branch at https://github.com/apple/swift-corelibs-foundation/blob/package/cmake/modules/FoundationSwiftSupport.cmake and this is the file that will be merged to main shortly (and you can see in that file that the list of architectures is removed)

The package branch has now been merged to main so I believe this support should now be available for you on main

@jmschonfeld Thank you,
Closing this PR as issue has been solved with PR #4959


Submit an expense.
Go to transaction thread.
Click Description.
Enter description and save it.
The saved description will appear on Description row in transaction thread.

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/7941df28-1b66-4b89-9399-6dfbab3fd762

Android: mWeb Chrome

https://github.com/user-attachments/assets/09393e60-3642-4ea3-bab5-27ac9fe49627

iOS: Native

https://github.com/user-attachments/assets/2afe54ca-ab7f-43bd-b171-3cb7809d3551

iOS: mWeb Safari

https://github.com/user-attachments/assets/b985ffc0-3864-444c-bc7d-3adeb9821406

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/c87ae237-2e15-4bd8-9905-030d2aa25377

MacOS: Desktop

https://github.com/user-attachments/assets/c25427df-ab28-4e53-9cc0-c345b18f3843

Lets proceed with this PR if it fixes the blocker of not being able to set the expense description. If there is some bug in the dupe detection flow, we can address that later

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.0.10-7 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.0.10-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.11-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


added backend-springboot

@bhavnapandit can you make a separate folder inside backend using the naming convention mentioned in contributing file?

okk


Material Selects - Error: No valid view adapter!

Hello again,
in fact, I've yet another question:
My inputs and my checkboxes work perfectly fine with Angular Material, but unfortunately, there is a problem with my selects.
When I try to display a selct exactly the way you did it in the example app:

    <mat-form-field>
      <mat-select placeholder="Favorite Color"
                  [ngrxFormControlState]="question">
        <mat-option value=""></mat-option>
        <mat-option value="ff0000">Red</mat-option>
        <mat-option value="00ff00">Green</mat-option>
        <mat-option value="0000ff">Blue</mat-option>
      </mat-select>
    </mat-form-field>

I get the follwoing error in the console:
QuestionDropdownComponent.html:27 ERROR Error: No valid view adapter!
    at selectViewAdapter (forms.es5.js:3404)
    at new NgrxFormControlDirective (forms.es5.js:3451)
    at createClass (core.js:12432)
    at createDirectiveInstance (core.js:12267)
    at createViewNodes (core.js:13725)
    at callViewAction (core.js:14159)
    at execComponentViewsAction (core.js:14068)
    at createViewNodes (core.js:13753)
    at createRootView (core.js:13614)
    at callWithDebugContext (core.js:15039)

The issue is definitely related to Angular Material since everything works just fine with the "native" select.
Do you have any ideas why I'm facing this problem?
I'm using Angular Material 5.2.5, but even with older versions the error doesn't disappear.
Thanks in advance!

Works perfectly - thanks a lot!

@MrWolfZ can you link me to the issue they refused to do the change?

I'm trying to use mat-select-trigger but for whatever reason it doesn't register the initial value and shows up only after I select different value. I wonder if it has anything to do with those adapter fixes..

Hm nope, it has nothing to do with mat-select-trigger, it doesn't show the initial value at all.

@fxck this is the issue.

One easy solution is to use the native select

Basic native select

<mat-form-field appearance="fill">
  <mat-label>Cars</mat-label>
  <select matNativeControl required>
    <option value="volvo">Volvo</option>
    <option value="saab">Saab</option>
    <option value="mercedes">Mercedes</option>
    <option value="audi">Audi</option>
  </select>
</mat-form-field>


TN-1252 followup fixes - css fix and event binding fix

followup fixes to story, TN-1252:

noting that event is bound to the popover element multiple times - added fix to prevent that
add css styling to popover in eproms, only did it for truenth USA before

closing this, need to make one more fix


Default values for LockTable parameters

What's the defaults for the parameters in Record.LockTable(Wait, VersionCheck)?
Also consider to sync the corresponding docs for RecordRef (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/recordref/recordref-locktable-method).
Thanks
Johannes

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

ID: f60835db-7fec-a288-a764-b84e604f3b64
Version Independent ID: 6c3794bf-27b0-643c-b370-9ba9036da260
Content: Record.LockTable([Boolean] [, Boolean]) Method - Business Central
Content Source: dev-itpro/developer/methods-auto/record/record-locktable-method.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

VersionCheck is documented, although not too clearly:

If this parameter is false, blank, or not used, the version will not be checked.

"not used" I presume means not passed, hence applying the default, which it states is false.
I agree that it can/should be clearer.
There are a lot of these issues and it makes me think MS need a way to document - and enforce documentation of - default parameter values.

There are a lot of these issues and it makes me think MS need a way to document - and enforce documentation of - default parameter values.

Agreed. I've created a few issues for default values when I see them are missing. But it seems to be a general issue, that I hope that they will have a more automated solution to. :-)


fix(lockfile): ensure newline at EOF for lockfile

Description
The lockfile currently does not end with a newline at EOF. Text files should end with a newline. This also lets you manually edit the lockfile in vim without 'fixeol' creating a spurious change for the added newline.
This change however will create a change in users' lockfiles adding a newline upon updating, but since the lockfile would be changing anyways to update lazy.nvim itself, this is likely acceptable.
Related Issue(s)
none
Screenshots
N/A

ty


Pomodoro notifications popup not appearing if you have sound notifications switched off.

OS version:
Browser version:
Extension version:

Relevant integration (if any):
N/A
🐛 Describe the bug
This user is not getting any notification from the browser extension 1.70.7 when pomodoro ends and I can reproduce. My question is more about this section and whether I am understanding functionality right. See screenshot.

I understand this msg to mean that when the pomodoro period ends, I will get a notification. I do not assume that I need to enable sounds below this for this to happen.
Expected behaviour
I would assume a popup notification would show telling me period has ended.
Steps to reproduce
Enable pomodoro, but do not enable Sound notifications.
Other details or context
Slack
Case

@nidarasheed Do we know which OS and browser the user is using?
I tested it on Mac in Chrome Canary and initially it didn't show the notification, because I didn't allow notifications in Chrome on Mac OS system settings.
When I enabled them, the notification showed up.

User is on OS X 10.15.7, Chrome 95.0.4638.54
I can reproduce it on macOS 11.6, 95.0.4638.69
Adding video of screen recording showing my settings and no notification in the Slack thread:


Does this project mean we don't need node_modules?

I raised a question in stackoverflow about how to deploy the smallest package to AWS Lambda (https://stackoverflow.com/questions/51460962/bundling-and-tree-shaking-node-modules-into-a-single-file)
Does this project mean that you only need to upload the produced main.js file? Or do you still need to npm install on the production server (or equivalent)? If you still need node_modules, when would you use this project vs a babel build step?
I notice that when I run backpack, it creates a file much larger than my source code which seemingly contains my node_modules folder, which led me to believe that node_modules isn't necessary. However when I run it, it says 'cannot find module "fs-extra"'. It runs fine when run from a folder with node_modules though.
Thanks!

Hey,
I just did a very naive test for the exact same reason. But note that I have not yet tried to deploy anything to Lambda.
But I had some luck using backpack.config.js with this setup for webpack:
module.exports = {
  webpack(config, _, webpack) {
    return Object.assign({}, config, {
      externals: undefined,
      plugins: config.plugins.filter(
        plugin => plugin.constructor !== webpack.BannerPlugin,
      ),
    });
  },
};

It resulted in a main.js file with everything bundled. Except node standard library (fs, path, etc.).
The externals-prop is by default used to skip bundling of dependencies, here I just reset it and let Webpack bundle everything.
The only issue I encountered with this setup was that Backpack injects a banner containing a require to source-map-support – which is required to, not so surprising, support source maps. By filtering out every instance of the BannerPlugin the banner will not be injected. Note that this also results in disabling source-map support. So one might want to also do something to work around this (maybe check for options.env === 'production' or something similar).
Hopefully this will lead you somewhere.


Test Issue created at Sun, 05 Dec 2021 02:23:56 GMT

Test issue body  Sun, 05 Dec 2021 02:23:56 GMT

Comment on issue at Sun, 05 Dec 2021 02:23:57 GMT


Very very poor perf using faraday and amd gpu ?

Hello, tiny lama takes all my ram and has very very poor perfs' like lower than 7b models, it takes a very long time to load and is worse than most model, I don't unstand what I'm doing wrong, usually I use ggml gguf ? version but you have bin that is 4GB for 1B .... I guess that's the issue, maybe you have somewhere the ggml or gguf model ?
I'm pretty sure something is wrong ... Maybe I can convert it ? (the real issue is that I have an AMD high end gpu, it useless .............)
I used the base model Last version and not the chat model, since it's a 1b params maybe I can convert it to gguf ?

Hi, thank you for trying our model. As for gguf format, perhaps you can find the convert.py file in https://github.com/ggerganov/llama.cpp and run python3 convert.py path/to/TinyLlama to convert our model into gguf format. Besides, you can also run ./quantize path/to/TinyLlama/ggml-model-f32.gguf path/to/TinyLlama/ggml-model-q4_0.gguf q4_0 to convert it into 4-bit. You can do all the stuff without a GPU.


Cumulative layer norm with Triton

I'm trying to implement a cumulative layer norm using triton. I'm manipulating 3d tensors of shape (batch_size, channels, seq_length) and to begin with I just want to implement the "identity" and store an intermediate variable in the share memory (see the comments inside the code) :
@triton.jit
def cln_kernel(
    input_ptr,
    output_ptr,
    input_stride,
    output_stride,
    num_channels: tl.constexpr,
    seq_length: tl.constexpr,
    BLOCK_SIZE: tl.constexpr,
):
    pid = tl.program_id(axis=0) # 1 pid par élément du batch
    line_offset = pid * input_stride
    batch_element = tl.zeros((num_channels, BLOCK_SIZE), dtype=tl.float32)
    for channel_idx in range(num_channels):
        channel_offset = channel_idx * seq_length
        offsets = tl.arange(0, BLOCK_SIZE)
        mask = offsets < seq_length
        channel_row = tl.load(input_ptr + line_offset + channel_offset + offsets, mask=mask)
        # The following line generates a compilation error
        # How am I supposed to write the channel_row line into the batch_element array ?
        batch_element[channel_idx] = channel_row
        tl.store(output_ptr + line_offset + channel_offset + offsets, channel_row, mask=mask)

def triton_cln(x: torch.Tensor):
    # We need to preallocate the output.
    batch_size = x.size(0)
    num_channels = x.size(1)
    seq_length = x.size(2)
    BLOCK_SIZE = triton.next_power_of_2(seq_length)
    output = torch.empty_like(x)
    assert x.is_cuda and output.is_cuda
    cln_kernel[(batch_size,)](x, output, x.stride(0), output.stride(0), num_channels, seq_length, BLOCK_SIZE=BLOCK_SIZE)
    return output

Hello @Rodolphe2005, could you please include a copy of the full error log?

One piece of advice I can give: you should not think of the Triton tensor types as being indexable.
Further, can you write out the full copy of your algorithm in pseudocode? Currently, batch_element serves no purpose in the code snippet.

Traceback (most recent call last):
  File "<string>", line 21, in cln_kernel
KeyError: ('2-.-0-.-0--d6252949da17ceb5f3a278a70250af13-3b85c7bef5f0a641282f3b73af50f599-3d2aedeb40d6d81c66a42791e268f98b-3498c340fd4b6ee7805fd54b882a04f5-e1f133f98d04093da2078dfc51c36b72-b26258bf01f839199e39d64851821f26-d7c06e3b46e708006c15224aac7a1378-f585402118c8a136948ce0a49cfe122c', (torch.float32, torch.float32, 'i32', 'i32'), (64, 301, 512), (True, True, (True, False), (True, False)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 937, in build_triton_ir
    generator.visit(fn.parse())
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 855, in visit
    return super().visit(node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 418, in visit
    return visitor(node)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 183, in visit_Module
    ast.NodeVisitor.generic_visit(self, node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 426, in generic_visit
    self.visit(item)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 855, in visit
    return super().visit(node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 418, in visit
    return visitor(node)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 252, in visit_FunctionDef
    has_ret = self.visit_compound_statement(node.body)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 177, in visit_compound_statement
    self.last_ret_type = self.visit(stmt)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 855, in visit
    return super().visit(node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 418, in visit
    return visitor(node)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 678, in visit_For
    self.visit_compound_statement(node.body)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 177, in visit_compound_statement
    self.last_ret_type = self.visit(stmt)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 855, in visit
    return super().visit(node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 418, in visit
    return visitor(node)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 298, in visit_Assign
    _names += [self.visit(target)]
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 855, in visit
    return super().visit(node)
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/ast.py", line 418, in visit
    return visitor(node)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 617, in visit_Subscript
    assert node.ctx.__class__.__name__ == "Load"
AssertionError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/rodolphe/.pyenv/versions/3.10.11/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
    cli.main()
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
    run()
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/home/rodolphe/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "/home/rodolphe/disen/disen/triton_temp.py", line 60, in <module>
    output_triton = triton_cln(x)
  File "/home/rodolphe/disen/disen/triton_temp.py", line 51, in triton_cln
    cln_kernel[(batch_size,)](x, output, x.stride(0), output.stride(0), num_channels, seq_length, BLOCK_SIZE=BLOCK_SIZE)
  File "<string>", line 41, in cln_kernel
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 1621, in compile
    next_module = compile(module)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 1550, in <lambda>
    lambda src: ast_to_ttir(src, signature, configs[0], constants)),
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 962, in ast_to_ttir
    mod, _ = build_triton_ir(fn, signature, specialization, constants)
  File "/home/rodolphe/.cache/pypoetry/virtualenvs/disen-XvWdDkUP-py3.10/lib/python3.10/site-packages/triton/compiler.py", line 942, in build_triton_ir
    raise CompilationError(fn.src, node) from e
triton.compiler.CompilationError: at 18:8:
def cln_kernel(
    input_ptr,
    output_ptr,
    input_stride,
    output_stride,
    num_channels: tl.constexpr,
    seq_length: tl.constexpr,
    BLOCK_SIZE: tl.constexpr,
):
    pid = tl.program_id(axis=0) # 1 pid par élément du batch
    line_offset = pid * input_stride
    batch_element = tl.zeros((num_channels, seq_length), dtype=tl.float32)
    for channel_idx in range(0, num_channels):
        channel_offset = channel_idx * seq_length
        offsets = tl.arange(0, BLOCK_SIZE)
        mask = offsets < seq_length
        channel_row = tl.load(input_ptr + line_offset + channel_offset + offsets, mask=mask)
        batch_element[channel_idx] = channel_row
        ^

Thank you for your interest.
Here is what I want to do :
def fast_cln(input, lengths):
    b, c, t = input.shape
    z = temporal_cumulative_mean(input, lengths).view(b, 1, t)
    gamma = temporal_cumulative_mean(input.pow(2), lengths).view(b, 1, t)
    std = (gamma - z.pow(2) + 1e-8).sqrt()
    x = (input - z) / std
    return x

def temporal_cumulative_mean(x: torch.Tensor, lengths: torch.Tensor):
    return torch.cumsum(torch.mean(x, dim=1), dim=1) / lengths

B, C, T = (80, 64, 301)
lengths = torch.arange(1, T+1, device="cuda")
input = torch.randn((B, C, T), device="cuda")
fast_cln(input, lengths)

In this case, T is static. So you should just be able to run layer norm on the entire range of T? Or is the cumulative mean exponential averaging, and T is in fact dynamic?

This normalisation comes from this article https://arxiv.org/pdf/1809.07454.pdf p12 equation (12)
This normalization is causal so at any point in time, I can't use values from the future. That's why a standard layer norm on the channel and time dimensions won't make it.

Right. Might I suggest to simply store the statistics (mean, var) per channel instead of entire row, and furthermore, store only the latest accumulated (not historical)? This can then be applied to channel at time T, and reused in computation of T+1.
You would then run a loop over the range of T inside each kernel.
Further, may I suggest trying to parallelize the kernel across channels via the use of the program_id?

I have an easy way to compute the running mean and variance as follows :
I denote $(f_{i,t}){i, t}$ the input with $i$ being the channel index ($1\leq i\leq N$) and $t$ the time index. I denote $(z_t)t$ the temporal cumulative mean defined by : $$z_T = \frac{1}{NT}\sum{i, t\leq T} f{i, t}$$
I also define $\gamma_T$ : $$\gamma_T = \frac{1}{NT}\sum_{i, t\leq T} f_{i, t}^2$$
I want to compute the cumulative mean variance defined by :
$$V_T = \frac{1}{NT} \sum_{i, t\leq T} (f_{i, t} - z_T)^2$$
Through some computations, one can derive that $$V_T = \gamma_T - z_T^2$$
And, using the formulas of $z_T$ and $\gamma_T$, one can compute $\gamma_T$ and $z_T$ by recurence :
$$z_{T+1} = \frac{T}{T+1}\times z_T + \frac{1}{N(T+1)}\sum_i f_{i, T+1}$$
$$\gamma_{T+1} = \frac{T}{T+1}\times \gamma_T + \frac{1}{N(T+1)}\sum_i f_{i, T+1}^2$$
So, I agree with you that we could loop over time and compute only the current mean and variance.
What I don't know is how to do it in triton.
If I understand well, I first create a grid of B blocks (B being the batch_size) because the computations are made for each batch element, it's totally parallelizable through the batch dimension.
And then, inside the kernel, I'm manipulating a (C, T) tensor. That's where I'm a bit lost, how do I create and manipulate the $z_T$ and $\gamma_T$ ?! In this kernel, there will be double loops (one over the channel index and one over the time index) ?


cmd,sink(ticdc): validate changefeed params and revise error message

What problem does this PR solve?
Issue Number: close #1716 close #1718 close #1719 close #4472
What is changed and how it works?
Check List
Tests

Unit test

Release note
Validate changefeed parameters on creation and revise error message

/merge

/merge

/run-leak-test

/run-kafka-integration-test

/run-verify
/run-kafka-integration-test
/run-integration-tests


Enhancement: [DEV-7807] standalone table additional enhancements

Testing Scenario setup:

User is in COVE Editor
Select Dashboard Visualization
Select any data source
drag and drop a standalone data table to the visualization panel and configure the data source
click to tool icon to bring up the table editor panel.

** these controls were added to Chart as well so additional regression testing may be required there
testing instructions:

Set Column order:

open the column accordion on the left and select "add configuration"
select a column to configure and select the order you'd like to see that column

Expected: you should see the column shift position to the expected order (example 3 means that the column should be the 3rd column in the data table)

Hide Columns

open the column accordion on the left and select "add configuration"
select a column to configure and toggle the "show in data table" check box off

Expected: you should see the column removed from the data table.

open the data table accordion.

Expected: under "exclude column" you should see the column name you selected above.

Data filters added to standalone table

Expected:  open filter accordion and configure a filter as you would on any other visualization

Remove unused Data Table controls from Data Table editor
** this test does not apply to Charts
Expected: you should see the following controls:

Data Table Title
Screen Reader Description
Limit Table Height
Exclude Columns
Collapsible
Expanded By Default
Table Cell Min Width

Make Data Tables non Collapsible

Open Data Table accordion
uncheck the collapsible checkbox.

expected: you should see the accordion bar at the top of the table removed and you should see the option to check "expanded by default" to be removed from the Data Table configuration panel.

Group Rows

Open Data Table Accordion.
Select a Row to group by.

Expected: you should see rows grouped by the selected columns

Everything looked good in testing except for the filter. I tried using the default config file referenced in index.html (/examples/full-dashboard.json) and added a standalone table, added filter, selected year for the column. The dropdown does show, but it doesn't filter the table to rows where the year is the one selected. This is the case for all columns, and for apply/change behavior.

thanks for catching this @mpallansch I believe I've resolved the issue in a commit I just pushed up.


Parse Order and Position entities

More progress on Issue #9 and a continuation of PR #10.

Parsing numbers and some strings in Order and Position
Improved error handling so user code gets a better message if something bad happens in the parse step
Improving types in a few params interfaces as well

Looks like the prettier build step is still failing after updating the<EMAIL_ADDRESS>version. I'm gonna go ahead and just remove it for now. Can be added later a different way.

I'm going to be a bit hands off with reviewing the merges into dev and will put a warning on the README.md that it is not recommended for use in a live environment.

@117 That reminds me... I wanted to add something to the README explaining what we're doing here.

@117 That reminds me... I wanted to add something to the README explaining what we're doing here.

Like an About section?


Restore-UevBackup Parameter Incorrect

The following command under the https://docs.microsoft.com/en-us/windows/configuration/ue-v/uev-manage-administrative-backup-and-restore#restore-settings-in-ue-v-when-a-user-adopts-a-new-device heading is incorrect:
Restore-UevBackup -Machine
The correct parameter is:
Restore-UevBackup -ComputerName

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

ID: 57fa9175-8f08-bbc1-552e-11b89b5765c1
Version Independent ID: 83d0855c-96ff-c5f4-75b1-80a64c0a60cb
Content: Manage Administrative Backup and Restore in UE-V
Content Source: windows/configuration/ue-v/uev-manage-administrative-backup-and-restore.md
Product: w10
GitHub Login: @MaggiePucciEvans
Microsoft Alias: jdecker

@joshwright10 Thanks, we'll get that fixed. Btw, when you find things like that in the documentation, you're welcome to make the change yourself -- just click Edit in the upper right corner of the page, then the pencil (edit) icon.


Is there a way in Angular to drag a node from another component and drop to canvas in another component?

For example, I have a mat-dialog as a different component and the drawflow canvas is in another component. So I want to drag a node from the mat-dialog component to drawflow canvas component. So is it possible in drawflow?

There is currently no wrapper for Angular components.
view:

https://github.com/jerosoler/Drawflow/issues/547

But you would only have to detect the drop events and load the component.


sort/imports side-effect group internal ordering

As far as I understand the documentation for the sort/imports rule, each group's "order" property is for ordering the groups between each other, but it has nothing to do with how each group is internally ordered.
Right now I have side effect files (CSS files) that I need to be ordered in a specific way (changing the order in which the CSS files are imported changes how the CSS cascades/overrides each other). How can I disable the internal ordering of lines within a side-effects group, while still allowing for the top-level sorting of the side-effect group as a whole?
Right now I just disable the rule for the file which obviously works, but curious if this is configurable through the rule's options.

Yeah, the ordering of imports within each group is alphabetical a-z which is not configurable.  In my projects I've found it's very rare where side effect import order must be maintained (CSS is the exception which I tend not to use CSS files as I use CSS-in-JS or Tailwind).
I'd recommend continuing to ignore the rule for those imports that are problematic.


setup-exercism no longer exists

It has been renamed to stub-exercism

Good point!

Fixed by #120


feat: static cloud provider services route

This PR adds SDK methods to access /static/cloud-provider-services/{service_code}  and /static/cloud-provider-services/{service_code}/regions/{region_code} routes using devopness api.

No longer needed after #557


Error while summoning

When typing !summon, the .bat file is stuck in an endless loop with this error: https://i.gyazo.com/38d82f1fd705a9b33e405d9ab565b657.png
The bot should be up to date. Not sure what is causing this.

https://github.com/SexualRhinoceros/MusicBot/archive/1.9.5_2.zip