Create a Simple IDoc Interface

Tutorials: https://developers.sap.com/tutorials/aif-idoc-monitoring-interface-create.html
Write here how you think we can improve the tutorial ...
Hi,
After finishing configuration I'm not able to see errors in monitoring.
I'm working in a trial environment. Is that sufficient?

Hi,
a trial environment should be enough. Nevertheless a missing license can be the issue if messages are not displayed in the monitoring tools. In this case you should see a message informing you about the issue.
To really determine whats going wrong I need some more details.
After creating the configuration did you send in new IDocs? Existing IDocs will not show up in the AIF monitor. If you did not create new IDocs try to send a new IDoc. It should show up in the monitor.

Hi
I use the solution “SAP S/4HANA 2021, Fully-Activated Appliance” available on http:cal.sap.com.
Because I got a message that there might be a licence I activated the business function /AIF/TRIAL_PERIOD
I took some existing IDOCs and created new ones with transaction WE19 (ending up in status 53 and 51).
I executed the tutorial steps twice and created namespace DEMO_1 and DEMO_2. Both situations do not work.
Met vriendelijke groet,
Ron van der Sterren
m   +31(0)6 11 43 17 20
e<EMAIL_ADDRESS>Van: Britta Mangei @.>
Verzonden: dinsdag 1 februari 2022 11:46
Aan: sap-tutorials/Tutorials @.>
CC: Ron van der Sterren @.>; Author @.>
Onderwerp: Re: [sap-tutorials/Tutorials] Create a Simple IDoc Interface (Issue #18075)
Hi,
a trial environment should be enough. Nevertheless a missing license can be the issue if messages are not displayed in the monitoring tools. In this case you should see a message informing you about the issue.
To really determine whats going wrong I need some more details.
After creating the configuration did you send in new IDocs? Existing IDocs will not show up in the AIF monitor. If you did not create new IDocs try to send a new IDoc. It should show up in the monitor.
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/18075#issuecomment-1026707027, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANOBXNGM2QAHZQKUHF5W7E3UY62X3ANCNFSM5NHNPUGA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hi,
my guess is you created the same AIF interface twice. I assume that you currently have two AIF Interfaces defined using the same IDoc basic type and message type. If this is the case AIF does not know which AIF interface should be used to process the message. In such a case an entry in the AIF Interface Determination is required. The interface determination allows AIF to find the correct AIF interface for the currently processed message.
In case AIF is not able to determine the correct AIF interface, an application log is written. Go to transaction SLG1 and have a look at object /AIF/LOG. There should be a log telling that it was not possible to determine the correct AIF interface.
To solve this issue delete one of the AIF interfaces. Go to AIF customizing /AIF/CUST -> SAP Application Interface Framework -> Interface Development -> Define Interfaces. Select your duplicate namespace and delete the AIF interface.
Afterwards send in some new test messages and check if the messages shows up in the monitoring.

Hi
Thanks. This was the trick.
However I had to delete both AIF interfaces that I created. Because there is already an AIF interface present in the system in /DEMO.
So that’s a bit strange…
Met vriendelijke groet,
Ron van der Sterren
m   +31(0)6 11 43 17 20
e<EMAIL_ADDRESS>Van: Britta Mangei @.>
Verzonden: woensdag 2 februari 2022 13:47
Aan: sap-tutorials/Tutorials @.>
CC: Ron van der Sterren @.>; Author @.>
Onderwerp: Re: [sap-tutorials/Tutorials] Create a Simple IDoc Interface (Issue #18075)
Hi,
my guess is you created the same AIF interface twice. I assume that you currently have two AIF Interfaces defined using the same IDoc basic type and message type. If this is the case AIF does not know which AIF interface should be used to process the message. In such a case an entry in the AIF Interface Determination is required. The interface determination allows AIF to find the correct AIF interface for the currently processed message.
In case AIF is not able to determine the correct AIF interface, an application log is written. Go to transaction SLG1 and have a look at object /AIF/LOG. There should be a log telling that it was not possible to determine the correct AIF interface.
To solve this issue delete one of the AIF interfaces. Go to AIF customizing /AIF/CUST -> SAP Application Interface Framework -> Interface Development -> Define Interfaces. Select your duplicate namespace and delete the AIF interface.
Afterwards send in some new test messages and check if the messages shows up in the monitoring.
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/18075#issuecomment-1027907094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANOBXNCTSVMW2V5FAAVC4Q3UZERU3ANCNFSM5NHNPUGA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hi,
thanks for the update. I will have a look into and see how we can improve the handling in case one of the demo instances is used. I was not aware that the demo is using the same IDoc basic type and of course the tutorial should work there as well.

Hi,
Just a quick note.
Scenario works when I add a MessageCode in /AIF/IDOC_GEN  (then you have to create also a new entry in WE20 and adjust test idoc). Maybe that’s a quick fix in the scenario
Met vriendelijke groet,
Ron van der Sterren
m   +31(0)6 11 43 17 20
e<EMAIL_ADDRESS>Van: Britta Mangei @.>
Verzonden: woensdag 2 februari 2022 16:08
Aan: sap-tutorials/Tutorials @.>
CC: Ron van der Sterren @.>; Author @.>
Onderwerp: Re: [sap-tutorials/Tutorials] Create a Simple IDoc Interface (Issue #18075)
Hi,
thanks for the update. I will have a look into and see how we can improve the handling in case one of the demo instances is used. I was not aware that the demo is using the same IDoc basic type and of course the tutorial should work there as well.
—
Reply to this email directly, view it on GitHubhttps://github.com/sap-tutorials/Tutorials/issues/18075#issuecomment-1028034967, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANOBXNGI3VVLSD7LSGSVF7LUZFCD5ANCNFSM5NHNPUGA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hi,
thanks for the suggestion for a quick fix. We'll look into adjusting the tutorial so that this issue doesn't come up again.
I'm closing this issue. Have a great weekend!


On android when you click on an event it crashes : Error while updating property 'accessibilityRole' of a view managed by:RCTView

Build with expo sdk47
"react-native": "0.70.5",
"react-native-big-calendar": "^3.3.1",

It's working fine on ios.

Please show your code. Thanks

          <Calendar
            eventCellStyle={(eventCalandar) => {
              return {
                backgroundColor: eventCalandar.color
              };
            }}
            swipeEnabled={true}
            onChangeDate={(startAndEndDate) => swipeCalandar(startAndEndDate)}
            date={dateSelected}
            hideNowIndicator={true}
            defaultView="week"
            views={['week', 'month']}
            locale="fr"
            showAdjacentMonths={false}
            weekStartsOn={1}
            height={Dimensions.get('window').height - 920}
            events={data}
            //  onPressCell={(d) => console.log('FFF', moment(d).format('DD-MM-YYYY'))}
            onPressEvent={(event) => {
              setEventSelected(event);
              openModalAddOrEdit(true);
            }}
            sortedMonthView={false}
            mode={mode}
          />

It seems it does not crash with sdk46, "react-native": "0.69.6", "react-native-big-calendar": "^3.3.1" (to be conformed).
Could it be related to "accessibilityRole" : https://reactnative.dev/docs/accessibility#accessibilityrole


Add function to insert pandas dataframe to redshift

Several changes in this commit

added boolean type to find_column_type() in utility.py
used pd.to_datetime and pd.to_numeric to stop doing row wise calculation. see details in issue #67
added insert_dataframe_to_table to redshift class.
added all relevant testing.

I've run through this and did some integration tests on redshift and snowflake. LGTM. Thanks for pushing this through and sorry for the delay in reviewing.


import cycle not allowed

import cycle not allowed
package main
imports k8s.io/client-go/kubernetes
imports k8s.io/client-go/discovery
imports k8s.io/client-go/rest
imports k8s.io/client-go/plugin/pkg/client/auth/exec
imports k8s.io/client-go/transport
imports golang.org/x/oauth2
imports golang.org/x/oauth2
When I was debugging my project, there were some errors like the one above.

The cycle is in oauth2, not here, isn't it?

The problem has been solved. I got the wrong version. Thank you

yes,it is.thank you. Client-go version problem,  I have solved this problem.
At 2020-05-20 19:31:20, "Dr. Stefan Schimanski"<EMAIL_ADDRESS>wrote:
The cycle is in oauth2, not here, isn't it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


MT940: Storno Credit and Storno Debit

Hi,
thanks for this awesome FinTS wrapper! I have found one issue regarding the amount of statements. This wrapper differentiates between "credit" (C) and "debit" (D). But there are two more options, precisely: "Storno Credit" (RC) and "Storno Debit" (RD).
So if this tool catches some "storno" transactions, the getCreditDebit function returns not the correct sign/type.
May you please fix this issue and support these types too?
More information can be found here:
e.g: https://www.kontopruef.de/mt940s.shtml
Thanks and kind regards
Daniel

Looks like it's already implemented: https://github.com/nemiah/phpFinTS/blob/c0c14085b441f3b70016fb3f186fef1bc503ef9c/lib/Fhp/MT940/MT940.php#L76-L79

Yes, but I think it is missing here (a few lines above):
MT940.php:

$cdMark = substr($day[$i], 0, 1);                    if ($cdMark == 'C') {                        $result[$soaDate]['start_balance']['credit_debit'] = static::CD_CREDIT;                    } elseif ($cdMark == 'D') {                        $result[$soaDate]['start_balance']['credit_debit'] = static::CD_DEBIT;                    }

https://github.com/nemiah/phpFinTS/blob/c0c14085b441f3b70016fb3f186fef1bc503ef9c/lib/Fhp/MT940/MT940.php#L49-L54

This MT940 parser code is really hard to read. My guess is that that upper code parses the overall balance of the account (which can be positive or negative, but not cancelled).

the getCreditDebit function returns not the correct sign/type.

Can you reproduce this? Could you provide an input string for MT940::parse() that returns a wrong result?

The library should expose bool Transaction::isStorno() or bool Transaction::isCancellation(), and it should be filled by the MT940 parser based on an expression like .. =='RC' || .. == 'RD'. Then your application can flip the sign on the amount when displaying it or using it to calculate balances.
Other applications may choose to find the matching original transaction and just delete both, or mark the original as cancelled in some database. So I think the library shouldn't just internally/magically flip the sign, but rather just hand out the information as a boolean.

Exposing the library with the function bool Transaction::isStorno() is a great idea if RC or RD is set. Do I have to create a pull request for that or how should I proceed now?
Thanks Philipp for your help!

I have created a pull request for this:
https://github.com/nemiah/phpFinTS/pull/342
So I will close this issue.

So I will close this issue.

Btw GitHub has a feature where you can write "Fixes #nnn" in the pull request's description, and it will automatically close the issue once the pull request is merged.


CNV-36780: Validate SSH secret name in Instancetypes SSH modal

📝 Description
This PR fixes a bug wherein no validation error is displayed in the Instancetypes SSH modal when the Use existing option is selected and the name is edited to match an existing secret name in the targeted namespace.
It also:

Changes the styling of the "New secret name" field to match the one on the "Add new" screen
Disables the save button when modal is loading
Corrects the capitalization of 'SSH' in a user-facing message

Jira: https://issues.redhat.com/browse/CNV-36780
🎥 Screenshots
Before

After

/retest

@hstastna

The code looks good to me. Also tested, works good, just I am not sure what the expected behavior is when being in "All Projects". We should make sure about this.

If "All projects" is selected the VM will be created in the default namespace.

Another thing: when choosing some from the Public SSH key drop down, it may happen that the final New secret name becomes too long (sometimes, depending on what is generated), especially if the original name was kinda long. I think that is kinda annoying. From the UX point of view, I think that if we generate a new secret name, we should automatically take care of this. We should not generate anything which is not valid, so the user would not have to edit the name unnecessary. I'd suggest to check automatically if the generated name is not too long. And if it is, then to try to generate another name or to cut what is extra.

I addressed this. Take a look and tell me what you think.

Also when it happens, the input becomes a bit shorter on the right side, which could be nicer. But that is a minor issue. The more important is how the name becomes so long as already mentioned.

Strangely, PF created it like that. You're right that it doesn't look nice. I overrode it to make it stay flush with the right side.

/retest

/retest

@pcbailey please be aware this modal isnt only for instance type.
it used everywhere, wizards, VM details, cluster setting. please check all angels, for new and editing in the all appearance across our app, we don't want 1 bug fix will cause others.

/retest

@hstastna That's the behavior we have currently. I agree it seems weird.
@metalice Do you want me to change this behavior in this PR?

@metalice I checked the behavior everywhere it's used and found no issues.

@hstastna That's the behavior we have currently. I agree it seems weird. @metalice Do you want me to change this behavior in this PR?

better in a new pr thanks

@hstastna @metalice PTAL

/lgtm

/cherry-pick release-4.15


Return login user data in login call

Hay Guys,
Currently login function returns toke on successful authentication which is very nice.
From the practical prospective, wouldn't it be nice to return user data? For example in a real app there's many API calls which uses user Id. But to get user user Id, another get request to /me has to be made. If login function returns user data + tokens , one request can be avoided.
Thanks

Sure, good idea. We will think about that.

Will it be available in the next version?

Hi @s2krish thank you for your feedback and sorry that you have to wait so long.
We decided that each endpoint should be independent and should have only single responsibility. I understand that from the client point of view, it will be easier to receive user data after login in 99% cases, but for a purity reasons we are not doing it. This is why we also removed LOGIN_AFTER_REGISTRATION and LOGIN_AFTER_ACTIVATION flags (#57). Please check also #56.
As always, this is a trade off, but I hope our thinking is ok in this matter.

This is such a common case. Is there any documentation how to be able to implement these easily? I also want to have login after registration functionality. This is probably what most people want to do, there should be documentation how to easily add such functionality.

Purity < User Experience.


cmd/compile: internal error: type recorded as live on entry

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

Go tip.

What operating system and processor architecture are you using (go env)?

OS X and Linux on Travis

What did you do?

Build Hugo (https://github.com/spf13/hugo).
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
See https://travis-ci.org/spf13/hugo/builds/121437210

What did you expect to see?

All green.

What did you see instead?

Build fails on Go tip, both OS X and Linux.
I tried to see if this is a duplicate of an already reported issue, but it's hard to tell.
There is a test failure that I haven't looked into, but then there are these build failures:
19.35s$ go build -race

# github.com/pkg/sftp

../../pkg/sftp/client.go:829: internal error: (*File).WriteTo autotmp_781 (type *[]byte) recorded as live on entry, p.Pc=10248

# github.com/russross/blackfriday

../../russross/blackfriday/html.go:932: internal error: (*Html).ensureUniqueHeaderID autotmp_747 (type *int) recorded as live on entry, p.Pc=15486

Not sure when these failures started to happen ...

Reproduces for me:
go get -u -v github.com/spf13/hugo
cd $GOPATH/src/github.com/spf13/hugo
go build -race -o hugo main.go

Closer to root cause, in ssa.go I added this test and it fired:
func (s *state) resolveFwdRef(v *ssa.Value) {
	b := v.Block
	name := v.Aux.(*Node)
	v.Aux = nil
	if b == s.f.Entry {
		// Live variable at start of function.
		if s.canSSA(name) {
			if strings.HasPrefix(name.Sym.Name, "autotmp_") {
				s.Fatalf("Treating auto as if it were arg, func %s, node %v, value %v", b.Func.Name, name, v)
			}
			v.Op = ssa.OpArg
			v.Aux = name
			return
		}

Bad code inserted by racewalk, not sure of the details, but the error (access to uninitialized autotmp) appears after racewalk.

Possible duplicate of #15091.

Is duplicate, and #15091 has a nice test case.

FYI, 15091 is fixed now, so this one should also be fixed. Not sure I did this the proper github way, but figured you'd like to know.

Thanks, I guess I would have known either way  -- as I just watched the red tests go green on all Go versions. Thanks!


Media query and spy

I am using media query to decide if a menu bar or a hamburger menu should be displayed but I noticed that spy will only set the first component that it encounters as active and thus, it only works for the menu that is placed first in the template.
I wonder what is a good way to deal with this? Should I use JavaScript to determine screen size to decide when I should have spy on?
Thanks!
export default class NavHeader extends Component {
  render() {
    const scrollConfig = {
      activeClass: 'active',
      spy: true,
      offset: this.props.shrink ? -60 : -84,
      smooth: 'easeInOutQuad',
      duration: 700
    };

    return (
      <NavContainer>
        <NavigationBar shrink={this.props.shrink} scrollConfig={scrollConfig}/>
        <Burger shrink={this.props.shrink} scrollConfig={scrollConfig}/>
      </NavContainer>
    );
  }
}

I'm not sure if this is solveable, but one possible solution could be to listen to the "onSetActive" event on Link, and then update the Link in the burger.

@fisshy Hi Joachim, I think onSetActive is only triggered when activeClass is assigned to an element / component.
I think it works by using JavaScript to debounce and determine screen size and window resize event; then, assign toggle spy on the right component and update the component's state.

@Jun711 Hi, yes that one possible solution to solve it as well.


Authentication Manager not initializing when you application properties

When I use just application properties with my spring-boot service provider, the application refuses to start and throws this error:
Caused by: org.springframework.beans.FatalBeanException: A dependency cycle was detected when trying to resolve the AuthenticationManager. Please ensure you have configured authentication. 	at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator.validateBeanCycle(WebSecurityConfigurerAdapter.java:475) ~[spring-security-config-4.0.4.RELEASE.jar:4.0.4.RELEASE] 	at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator.<init>(WebSecurityConfigurerAdapter.java:437) ~[spring-security-config-4.0.4.RELEASE.jar:4.0.4.RELEASE] 	at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.authenticationManagerBean(WebSecurityConfigurerAdapter.java:220) ~[spring-security-config-4.0.4.RELEASE.jar:4.0.4.RELEASE] 	at com.github.ulisesbocchio.spring.boot.security.saml.configuration.SAMLServiceProviderSecurityConfiguration$SAMLWebSecurityConfigurer.authenticationManagerBean(SAMLServiceProviderSecurityConfiguration.java:174) ~[spring-boot-security-saml-1.10.jar:na] 	at com.github.ulisesbocchio.spring.boot.security.saml.configuration.SAMLServiceProviderSecurityConfiguration$SAMLWebSecurityConfigurer$$EnhancerBySpringCGLIB$$932095ec.CGLIB$authenticationManagerBean$1(<generated>) ~[spring-boot-security-saml-1.10
if I try to create as bean instance of AuthenticationManager via  extending WebSecurityConfigurerAdapter, I get a
aused by: org.springframework.security.config.annotation.AlreadyBuiltException: This object has already been built error.
Caveat: I am using gradle instead of maven. I am not entirely sure whats going on here.

Can you share your app code and configuration?

@picaso @ulisesbocchio it seems the issue is related to the Spring Boot version. The make it work, you'll need to migrate your Spring Boot to version 1.4.0.RELEASE or +.

thanks @jzimermann, what version of Spring Boot are you using @picaso ?

Did you check out this sample @picaso ? It works with only properties. Can you share which properties are you trying to configure your SP with?

Thanks. We were using spring 1.3.5. Upgrading to 1.4 solves the problem. Thanks.

On Feb 19, 2017, at 10:01 PM, Ulises Bocchio<EMAIL_ADDRESS>wrote:
Did you check out this sample @picaso ? It works with only properties. Can you share which properties are you trying to configure your SP with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Cannot download other people's mapping

Logged in to my schema.org alias mapping account I can only download my own mapping, not other people's mappings, even though they are completed I see the download icon by them, clicking that icon does nothing.

Only users from the same organization were able to download mappings. I enabled mapping export within the given configuration profile.

@excelsior @jbaird123 once mapping are completed anyone should be able to access and download them.  The tool is meant to provide the UI and the downloads to people who do not have to authenticate to see or download completed mappings.

@jeannekitchens - This would actually be a design change as the page we're working on is visible only to authenticated users.  In order to accommodate your request, we will need to find a way to add a download feature to one of the other pages that does not require authentication.  Since that was never included in any mockups, I don't know of any straightforward way to add it.  We can certainly do this, but I think it should be done as a separate enhancement issue.


evalv3: OOM and signal killed (64GB)

What version of CUE are you using (cue version)?

$ go run<EMAIL_ADDRESS>version
cue version v0.10.0-alpha.2.0.20240726151100-e68bd632c29e

go version go1.22.5
      -buildmode exe
       -compiler gc
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
cue.lang.version v0.10.0

Does this issue reproduce with the latest stable release?
Yes.
What did you do?
After following this to fix another issue, I thought it would be interesting to try the new evaluator again.
https://github.com/cue-lang/cue/issues/3330#issuecomment-2252789316
❯ CUE_EXPERIMENT=evalv3 go run<EMAIL_ADDRESS>export ./k8s/amour/list.cue
signal: killed

https://github.com/uhthomas/automata/commit/5a1a4fef98e2bf47227079f362e30404eed20674
What did you expect to see?
Successful build.
What did you see instead?
OOM, signal killed.

I wrote this quick script to see if I could find anything obvious, but it doesn't appear that any individual directory causes this. It seems maybe to be a culmination of all of them? There are some pretty large spikes in memory usage.
❯ for file in */; echo "$file:" && go run cuelang.org/go/cmd/cue@master export "./$file"

Some of those spikes are like 10 gigabytes....

If it helps - the latest stable release without using evalv3 takes at most 2GB for everything all at once (cue export ./k8s/amour/list.cue). Pretty major regression here.
❯ cue version
cue version 0.9.2

go version go1.22.5
      -buildmode pie
       -compiler gc
       -trimpath true
  DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
cue.lang.version v0.9.2

I don't know if this pprof info is helpful.
❯ go tool pprof -alloc_space http://localhost:8080/debug/pprof/heap
Fetching profile over HTTP from http://localhost:8080/debug/pprof/heap
Saved profile in /home/thomas/pprof/pprof.cuebin.alloc_objects.alloc_space.inuse_objects.inuse_space.007.pb.gz
File: cuebin
Type: alloc_space
Time: Jul 28, 2024 at 10:13pm (BST)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) top
Showing nodes accounting for 23.03GB, 96.87% of 23.78GB total
Dropped 389 nodes (cum <= 0.12GB)
Showing top 10 nodes out of 52
      flat  flat%   sum%        cum   cum%
   10.50GB 44.15% 44.15%    10.50GB 44.15%  cuelang.org/go/internal/core/adt.(*overlayContext).allocCC
    4.22GB 17.76% 61.92%     7.84GB 32.95%  cuelang.org/go/internal/core/adt.(*closeContext).getKeyedCC
    2.43GB 10.21% 72.13%     2.43GB 10.21%  cuelang.org/go/internal/core/adt.(*OpContext).newNodeContext
    2.19GB  9.22% 81.35%     2.19GB  9.22%  cuelang.org/go/internal/core/adt.(*closeContext).addDependency
    1.44GB  6.05% 87.40%     7.89GB 33.20%  cuelang.org/go/internal/core/adt.(*closeContext).assignConjunct
    1.28GB  5.38% 92.78%     1.28GB  5.38%  cuelang.org/go/internal/core/adt.(*overlayContext).initCloneCC
    0.51GB  2.13% 94.91%     6.01GB 25.26%  cuelang.org/go/internal/core/adt.(*nodeContext).scheduleConjunct
    0.18GB  0.75% 95.66%     0.18GB  0.75%  cuelang.org/go/internal/core/adt.(*Vertex).rootCloseContext
    0.16GB  0.67% 96.32%     1.40GB  5.88%  cuelang.org/go/internal/core/adt.(*overlayContext).cloneVertex
    0.13GB  0.55% 96.87%     0.13GB  0.55%  cuelang.org/go/internal/core/adt.(*nodeContext).getArc

Some updated numbers, as of CUE 655236e96e9f447948b8669263da98c5700c147d:
$ time CUE_EXPERIMENT=evalv3=0 cue export ./k8s/amour/list.cue >/dev/null

real	0m10.683s
user	0m18.254s
sys	0m0.456s
$ time CUE_EXPERIMENT=evalv3=1 cue export ./k8s/amour/list.cue
^C (stopped before it eats all my RAM)

real	0m26.453s
user	1m13.289s
sys	0m14.437s

We see a similar issue with a few other medium to large projects when using the new evaluator. The current work in https://github.com/cue-lang/cue/issues/2854 and particularly https://github.com/cue-lang/cue/issues/2853 should help significantly here. I will update this thread once more progress has been made, as we are actively merging improvements into master.

I have finally been able to reduce a bit of CUE which seems to OOM my machine where evalv2 definitely did not: https://github.com/cue-lang/cue/issues/3509

#3509 is fixed but that doesn't fix your issue. Quickly trying to narrow down its cause, I ran into a related regression, https://github.com/cue-lang/cue/issues/3511.

I again reduced part of this project into another performance issue to be fixed: https://github.com/cue-lang/cue/issues/3633


Order market buy and sell not shown on binance transaction history.

Hello Everyone
I m trying to use you this python binance to buy and sell crypto currency.
Currently i have more than enough balance to place BTCUSDT trade of buy or sell in my account. I have written a simple script to buy crypto first and then after some delay time sell them using your following code :
Place a market order
Use the helper functions to easily place a market buy or sell order
order = client.order_market_buy(
symbol='BNBBTC',
quantity=100)
order = client.order_market_sell(
symbol='BNBBTC',
quantity=100)
In the terminal i see no errors, buy and sell are successful i even get order id, trade id etc but when i check the history in SPOT order of trade history it doesn't appear in there.
Terminal Window screenshot attached. But in the SPOT wallet order history or trade history it doesn't shows up. Only those trades are shown that I did manually.

Please help
Regards,
Kumar Saurav

Hello Kumar,
It is just impossible to help you without any data about the actual code implementation of order creation.

Hello Kumar,
It is just impossible to help you without any data about the actual code implementation of order creation.

Hello @markeyev , I actually solved the issue.

Hello @markeyev , I actually solved the issue.


runAsynBackground to run all the tasks concurrently(#15720)

As for v5.1, when I need some callbacks, I must use runCommandInForeground which runs all my commands serially. If one command need too much time, in that way, all my command will has no chances to run. So I must use runCommandInBackground. However, no callbacks, I can't get any feedback.
On the other hand, if some command run too more time than expected, I want to be alerted by eamils.
In my project, I don't need runCommandInForeground. But the runAsyncBackground is necessary.
Maybe, I didn't get the correct methods.

more info

@uppinggoer This is a breaking change in my opinion. I doubt that it will be included in 5.3. Also you haven't written any tests for this.

This would make the after callbacks run before the command is even finished?

    public function tryCleanUp(Container $container)
    {
        if (! $this->runAsynBackground) {
            return true;
        }

        // timeout alarm
        if (0 < $this->expiredTime && time() >= $this->expiredTime) {
            // alert
            $this->alarmTimeout($container);

            return true;
        }

        // is running
        if (file_exists($this->mutexPath())) {
            return false;
        }

        $this->callAfterCallbacks($container);

        return true;
    }

As I said in #15829, tryCleanUp just try to clean up. The following code will return false if then event hasn't finished
        if (file_exists($this->mutexPath())) {
            return false;
        }

more info  you can get the examples


Allow proxies to to bypass pedantic index signatures

Suggestion

🔍 Search Terms

typescript proxy pedantic index signatures
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

add a utility type that bypasses pedantic index signatures (#39560) by hinting to the compiler that all keys are guaranteed to be accessible.
or, add better support for proxies so the compiler can infer that all values should be the return type of the proxy's get function.
📃 Motivating Example

trivial example:
const p = new Proxy({}, { get: () => Math.random() }) as Record<string, number>;

const { foo } = p;

foo.toString(); // Object is possibly 'undefined'.

in this example p is (or is intended to be used as) an object where any and all keys are accessible and are never undefined. with noUncheckedIndexedAccess enabled, all entries are typed as number | undefined which is incorrect, and requires the user to perform unnecessary null checks before using the value.
💻 Use Cases

for a real-world example: my library https://github.com/rettgerst/env-proxy uses proxies to simplify reading environment variables. it can be used like:
import env from '@rettgerst/env-proxy';

const { DB_PORT } = env.required.int;

env.required.int is a proxy which reads and parses process.env[key] and will either return a number or throw.
under typescript defaults, DB_PORT is correctly typed as number. with noUncheckedIndexedAccess enabled, DB_PORT is incorrectly typed as number | undefined, defeating one of the main goals of my library.
I also use this proxy approach in several places in private code. a similar approach could be achieved using a function, but I like using proxies because the code is shorter and aesthetically cleaner. there's value in using proxies to abstract away tedious parsing and null checks of objects.
if this feature were to be implemented, then I could update my library and private code with correct typings, so that consumers could use them as intended while also enjoying the enhanced type checking of the noUncheckedIndexedAccess feature.

Duplicate of https://github.com/microsoft/TypeScript/issues/47594

yep, other issue describes the same request as mine. sorry I didn't see it before, closing this one now.


system.etc.overlay doesn't create /etc/NIXOS file

Describe the bug
Today I was curious to test the `system.etc.overlay.enable option. After enabling it and rebooting, I could not find the /etc/NIXOS file, which to my knowledge is used to verify that the operating system is NIXOS.
Steps To Reproduce
Steps to reproduce the behavior:

...
...
...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@nikstur @Mic92 @roberth
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
fish > nix-shell -p nix-info --run "nix-info -m"
fetching path input 'path:/nix/store/5w3dp0m37794iffsbm9vd9f1xmmhda6i-source'
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.7-zen1, NixOS, 24.11 (Vicuna), 24.11.20240906.574d1ea`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/name_snrl/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/name_snrl/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/name_snrl/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/name_snrl/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/dzs6wmlzg8hdh9mjailpghvxrzs43jdn-lix-2.91.0/share`
 - nixpkgs: `/nix/store/5w3dp0m37794iffsbm9vd9f1xmmhda6i-source`

Add a :+1: reaction to issues you find important.

I found 22 references to /etc/NIXOS in nixpkgs which can be filtered down to steam, zsh, switch-to-configuration and various places that create it, not sure if any out of tree uses exit.

22 References of `/etc/NIXOS`

pkgs/shells/zsh/default.nix:if test -e /etc/NIXOS; then
pkgs/games/steam/fhsenv.nix:    if [ -f /etc/NIXOS ]; then   # Check only useful on NixOS
pkgs/games/steam/fhsenv.nix:    "--bind /etc/NIXOS /etc/NIXOS" # required 32bit driver check in runScript
configuration-ng/src/src/main.rs:    // This is a NixOS installation if it has /etc/NIXOS or a proper /etc/os-release.
pkgs/by-name/sw/switch-to-configuration-ng/src/src/main.rs:    if !Path::new("/etc/NIXOS").is_file()
nixos/tests/switch-test.nix:    # when /etc/NIXOS is missing. If the parser does not work, switch-to-configuration
nixos/tests/switch-test.nix:    machine.succeed("rm /etc/NIXOS")
nixos/modules/system/boot/stage-1-init.sh:    touch "$root/etc/NIXOS"
nixos/modules/system/etc/setup-etc.pl:# Create /etc/NIXOS tag if not exists.
nixos/modules/system/etc/setup-etc.pl:open TAG, ">>/etc/NIXOS";
nixos/modules/system/activation/switch-to-configuration.pl:# This is a NixOS installation if it has /etc/NIXOS or a proper
nixos/modules/system/activation/switch-to-configuration.pl:if (!-f "/etc/NIXOS" && (read_file("/etc/os-release", err_mode => "quiet") // "") !~ /^ID="?@distroId@"?/msx) {
nixos/modules/installer/cd-dvd/iso-image.nix:        # /etc/NIXOS tag.
nixos/modules/installer/cd-dvd/iso-image.nix:        touch /etc/NIXOS
nixos/modules/installer/netboot/netboot.nix:        # /etc/NIXOS tag.
nixos/modules/installer/netboot/netboot.nix:        touch /etc/NIXOS
nixos/modules/installer/sd-card/sd-image.nix:        # nixos-rebuild also requires a "system" profile and an /etc/NIXOS tag.
nixos/modules/installer/sd-card/sd-image.nix:        touch /etc/NIXOS
nixos/doc/manual/installation/installing-from-other-distro.section.md:1.  Set up the `/etc/NIXOS` and `/etc/NIXOS_LUSTRATE` files:
nixos/doc/manual/installation/installing-from-other-distro.section.md:    `/etc/NIXOS` officializes that this is now a NixOS partition (the
nixos/doc/manual/installation/installing-from-other-distro.section.md:    $ sudo touch /etc/NIXOS
nixos/doc/manual/installation/installing-from-other-distro.section.md:    $ echo etc/nixos | sudo tee -a /etc/NIXOS_LUSTRATE

not sure if any out of tree uses exit

yes, and usually if /etc/NIXOS doesn't exist, it fallbacks to /etc/os-release, as shown in this test case:
https://github.com/NixOS/nixpkgs/blob/e1b4ce3b8166285fb1f982886e48ca0c74d4bd8f/nixos/tests/switch-test.nix#L658-L660
anyway, it's probably used outside of nixpkgs, in some custom scripts. shouldn't we keep compatibility?

Could we not create /etc/NIXOS in a declarative way instead of setup-etc.pl?

But it also seems we are not actually relying anymore on /etc/NIXOS in-tree.

steam-run still needs it. And nixos-install creates only /etc/NIXOS but not /etc/os-release.

We could probably just set it via environment.etc, right? I don't see a reason why we couldn't.

nixos-enter still relies on /etc/NIXOS (But could be fixed).


[Bug] koffi.types lack of type declaration

It seems that koffi.d.ts doesn't type the koffi.types

I've found that IKoffiLib.unload is missing too. This should be simple, so I just comment here.


fix: corrected paths to config files

corrected path to config files for package to source correctly

bugs fix by Bashir to make it as install able package


can not clearInterval in onKeyReleased method after initiate an interval in onKeyPress method.

I want to press the shift on virtual keyboard and perform an action but on release the shift key it should clear the interval . but it did not clear it . here is the sample of my code please take a look.
var virtualInterval;
  function hell() {
    console.log("Button keyboard pressed");
  }
  const onKeyPress = (button) => {
    if (button === "{shift}") {
      if (virtualInterval) {
        clearInterval(virtualInterval);
      }
      virtualInterval = setInterval(hell, 1000);
    }
  };

  const onKeyReleased = (key) => {
    if (key === "{shift}") {
      console.log("Button keyboard Release");
      clearInterval(virtualInterval);
    }
  };

   <div className={`${showKeyboard ? "keyboard-show" : "keyboard-hidden"}`}>
        <Keyboard
          keyboardRef={(r) => (keyboard.current = r)}
          layoutName={layout}
          // onChange={onChange}
          onKeyPress={onKeyPress}
          onKeyReleased={onKeyReleased}
        />
      </div>

Hello @darda-ergo,
I am not able to reproduce the issue in the following demo: https://codesandbox.io/s/wonderful-mendel-r35od?file=/src/index.js
Are you able to repro in there, or can you provide a reproducible (runnable) example such as a git repo or sandbox demo?
Thanks,
Francisco Hodge


Include automatic testing configuration

[ ] RSpec
[ ] FactoryGirl
[ ] Faker
[ ] Database Cleaner
[ ] Capybara & Poltergeist

What test suite will be use RSpec or Minitest?

This is a discussion that we need to open. For now we can ask the user if he wants to use Rspec or Minitest, but in the future we will want to support only one system.
The problem is that we have not worked with MiniTest enough to have an answer.

We will use RSpec as the standard one.

We can update to use selenium (the default in rails 5.1.4) and use system tests, take in account possible issues with CI config #68  (https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6)

There's only still left the CircleCI + System tests integration. The rest is done in the branch enhancement/testing

We are dropping CircleCI support and system tests in this issue. These features now have its own issues at:

https://github.com/MarsBased/pathfinder-rails/issues/83
https://github.com/MarsBased/pathfinder-rails/issues/84


xIisModule fixes/Adding unit tests (fixes #182, #215)

This is still in progress. As I started creating unit tests for xIisModule, I found a lot of issues with the module itself, so working on updating that as I write the unit tests.

This change is

@kwirkykat @TravisEz13 @tysonjhayes  - I made quite a few changes here because there were a lot of problems with this module (I'm sure there's still more issues too). Would you mind reviewing this?

:-1:

Closing this for now, since I'm working on PSDesiredStateConfiguration resources.

Reopening this and label it as abandoned since this contains integration tests. It can be continued by anyone in the community.

I looked into the code and attempted a rebase, but it's been there for a while (2016) so it's quite a bit of work, and without much knowledge of that module I'd probably waste too much time.
I'll close this one off, but it might be worth just taking 'Tests/Unit/MSFT_xIisModule.tests.ps1' from this PR and submit a new one with just that. Will comment the issue accordingly.


Add dir check on the bazel_to_go script when symlinking template spec…

…ific go files.
Release note:

This change is

@guptasu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/mixer-presubmit.sh
d266be0cd4f577f7fa400c94e6a7592bda8540e9
link
/test mixer-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

/lgtm

/approve


@terminal fails if defined with a regex

This generates disaster code which doesn't compile:
@terminal control_guts /(?:[^-{@]|-[^@])*\{/
But this works:
@scanner control_guts /(?:[^-{@]|-[^@])*\{/
They should both work;  @terminal should be the preferred one.

0169af5f9a8ad fixed


[build] LSP is no longer installed

I upgraded to yarn 1.0.2, and now the LSP is no longer copied. It's a preinstall task of theia-yang-extension.

Works again. It is now downloaded from the build server.


btrfs resize of partition in disk image fails inconsistently

possible fix at #7 will keep it closed until it re-appears


Support for Smart Sconces

{"device":"26:2F:D4:38:32:34:21:3A","deviceName":"Sconces","model":"H6088","httpInfo":{"groupId":0,"device":"26:2F:D4:38:32:34:21:3A","sku":"H6088","spec":"","versionHard":"3.05.01","versionSoft":"3.00.10","deviceName":"Sconces","deviceExt":{"deviceSettings":"{"wifiName":"XXXX","address":"XXXX","bleName":"Govee_H6088_213A","topic":"GD/4b8c4683c158db9062c64481dfda4365","wifiMac":"60:74:F4:57:33:F0","pactType":1,"pactCode":1,"wifiSoftVersion":"","wifiHardVersion":"","ic":6,"secretCode":"ZE7UODI0ITo=","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":1,"sku":"H6088","device":"26:2F:D4:38:32:34:21:3A","deviceName":"Sconces","versionHard":"3.05.01","versionSoft":"3.00.10","playState":false}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/516e83c0a68eee2cee7e95757659b359-add_list_type_device_6088.png\",\"headOnImg\":\"https://d1f2504ijhdyjw.cloudfront.net/sku-img/e2225b1d7579ecb3828bb5ce29ada86e-new_light_title_6088_on.png\",\"headOffImg\":\"https://d1f2504ijhdyjw.cloudfront.net/sku-img/784f767e0550df843a1d189b39b5d284-new_light_title_6088_off.png\",\"ext\":\"\",\"ic\":6}"},"pactType":1,"pactCode":1,"share":0,"goodsType":157,"attributesId":54,"supportScene":0}}

Which model is this? Need the Hxxxx number.
H6088

Which type of device is this? Light, heater, leak sensor, etc.
Light

Which connection methods does this device have? Wifi? Bluetooth? LAN mode? All?
All

Anything else?

Just needed to update the plugin :)


Main screen stuck on loading 2.0.0

I've updated to the latest version, and the main screen just says loading.
I'm using Android tv 9.
Tried using version 1.8.2 - everything works

source 2 down, you can switch to source 1 for now

no follow up


Expiring auth token.

Using devise-token_authenticatable with devise 3.2.4. I want to expire auth token on timeout.
Gemfile.
gem 'devise', '3.2.4' gem 'devise-token_authenticatable', '~> 0.1'
User.rb
  devise :database_authenticatable, :async , :registerable, :confirmable,          :recoverable, :rememberable, :trackable, :validatable, :omniauthable, :timeoutable, :token_authenticatable
devise.rb
 config.timeout_in = 1.minutes    config.expire_auth_token_on_timeout = true
But after timeout , the auth token does not expire.
Any idea what I am missing here ?

For ref here is my devise.rb file -
Devise.setup do |config|   config.timeout_in = 45.days   config.expire_auth_token_on_timeout = true
Also according to the wiki provided, on changing my devise as mentioned [here](https://github.com/baschtl/devise-token_authenticatable/#configuration
I am getting error :- undefined method secret_key=' for Devise::TokenAuthenticatable:Module`

Hi @23ranjan,
if you use version 0.1 of this gem (cf. https://github.com/baschtl/devise-token_authenticatable/tree/v0.1.0) you will not get the functionality that you are looking for. Expiry of a token has been added much later. Read through the release page to find out about the changes for each version: https://github.com/baschtl/devise-token_authenticatable/releases.


⚠ Secret Website 4 has degraded performance

In 7b1d537, Secret Website 4 ($SECRET_WEBSITE_4) experienced degraded performance:

HTTP code: 503
Response time: 1791 ms

Resolved: Secret Website 4 performance has improved in 26a5199.


how to pass args like Messages , ID in .exec  node

Anyone can  show me a complete example? Thanks!
I want to exec a script to send alert massage to dingtalk robot, but don't know to pass the alert massage, the official documentation does not have a relevant complete application case

That information is passed over STDIN to the process in a JSON format.

@nathanielc Thank you for answering in time! I know what you mean but don't know how to implement in TICKscript.  Can you show  a complete example in official documentation or here, Thanks first!

@qi-zhou  below is a sample python script to read ".message field"
alert_stdin = sys.stdin.readline()
alert_json = json.loads(alert_stdin)
service_name_str = alert_json.get("message")

@adityacs Thank you very much!  Follow your example
It has been successful!

@nathanielc You can close this issue.

@adityacs Thank you very much! Follow your example
It has been successful!

Could you help share your full script , we also want to send the alert to Dingtalk, but it is not work use post method. thanks !

@AndyFan2017 Let know what you are trying to achieve. We can assist based on your usecase


Sockeye 2.1.16 translation -- apparent memory leak

I built a sockeye 2.1.16 model, and then started using it to translate some 20M lines. After several days, it became apparent that sockeye-translate was grabbing more and more of the system memory. It now holds some 265g virtual and 228g resident memory.
My invocation looks like this:
sockeye-translate --device-ids ${myDevice} --input ${input} --output ${output} --models ${model} --omp-num-threads 8 --beam-size 12 --batch-size 20
I haven't tried to track down the source of the problem as yet.

As a temporary workaround, perhaps this is useful for you:
https://gist.github.com/bricksdont/2f5b0b0ba54997c7d622d8f8f8538dbe
It translates chunks of inputs, which means Sockeye processes will run for a shorter time and cannot accumulate that much memory.

Thanks for reporting. Unfortunately, it seems that MXNet has had issues with memory leaks recently, so this could be related: https://github.com/apache/incubator-mxnet/issues?q=memory+leak


Game crashes on/after launching screen with recommended settings

Title, pretty much. I'm using game version 1.0.0, yuzu version 1520. Below are my settings for the game properties. Not sure how to fix this :/

edit: im on windows 10 btw

It seems to crash even when I disable the mods now :(

I just found the problem, to anyone else with this issue, just close RTSS (or I also heard that updating it works too, but I have not tried that.)


[csharp] [discussion] Buffer allocation considerations - Marshaller-T

I'm looking at the gRPC implementation with a view to .NET performance, and it is of keen note that the Marshaller<T> API is very much focused around "allocate a buffer per job". It looks like there was some interest in ReadOnlySequence<byte>, but that this has now petered out (as far as I can see it is neither implemented nor consumed).
Would there be any interest in trying to resurrect this topic? I'm happy to offer some input here, but I don't want to bore people with that if this is a "done and done" dead topic. For context, I have lots of experience with all of the current memory APIs and how to use them to optimize memory throughput in high volume systems, including extensive knowledge of pipelines (ROS-T), buffers (Memory-T, Span-T), the array pool, etc. I'm also intimately familiar with protobuf and the impact on serializers.
Reading between the lines, I'm guessing (on a hunch) that the ROS-T work was deemed not worth the trouble for the serializer, but if that's the case there may still be scope for large gains by using the array-pool or buffer-pool, with minimal API changes or serializer changes.
So: let me know if my input would be useful here. Also let me know if it wouldn't! Thanks.

Hey Marc,
summary of what has been done recently:
We've added a new "contextual" serialization/deserialization API, where
SerializationContext and DeserializationContext is passed to the function
and allows adding more interesting interactions than just reading from a
newly allocated array etc.
https://github.com/grpc/grpc/blob/3891e03ece195810a521ec379a512bdc2e4262cd/src/csharp/Grpc.Core.Api/Marshaller.cs#L58
The idea is that we can over time add more methods to
(De)SerializationContext. Some of it has been already done for
DeserializationContext, which allows reading the entire payload as
ReadOnlySequence and it does that without doing any copying (the segments
in the sequence are native grpc_slice items as received by C-core).
https://github.com/grpc/grpc/blob/3891e03ece195810a521ec379a512bdc2e4262cd/src/csharp/Grpc.Core.Api/DeserializationContext.cs#L62
We still want to implement writing payload to IBufferWriter by adding a new
method to SerializationContext (to avoid copying and array allocations) -
this still needs to be done.
Your input is definitely welcome (as well as pull requests :-) ).
On Sun, Jun 23, 2019 at 4:20 PM Marc Gravell<EMAIL_ADDRESS>wrote:

I'm looking at the gRPC implementation with a view to .NET performance,
and it is of keep note that the Marshaller API is very much focused
around "allocate a buffer per job". It looks like there was some interest
in ReadOnlySequence, but that this has now petered out (as far as I
can see it is neither implemented nor consumed).
Would there be any interest in trying to resurrect this topic? I'm happy
to offer some input here, but I don't want to bore people with that if this
is a "done and done" dead topic. For context, I have lots of experience
with all of the current memory APIs and how to use them to optimize memory
throughput in high volume systems, including extensive knowledge of
pipelines (ROS-T), buffers (Memory-T, Span-T), the array pool, etc. I'm
also intimately familiar with protobuf and the impact on serializers.
Reading between the lines, I'm guessing (on a hunch) that the ROS-T work
was deemed not worth the trouble for the serializer, but if that's the case
there may still be scope for large gains by using the array-pool or
buffer-pool, with minimal API changes or serializer changes.
So: let me know if my input would be useful here. Also let me know if it
wouldn't! Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/19447?email_source=notifications&email_token=ACL2VZDVTQYXAD5BI24BZDLP36BBTA5CNFSM4H2ZAOO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3EU4OA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACL2VZA7JGM2P75WOHBUL2LP36BBTANCNFSM4H2ZAOOQ
.

--
Jan

https://github.com/protocolbuffers/protobuf/pull/5888 is currently deprioritized because of feature work on grpc-dotnet, but we do plan to get back to it. If you wanted to take a look at it in the meantime, you're welcome to do so.

That's encouraging - I couldn't see what is implementing the zero-copy non-contiguous variant (ROS-byte) but I'll take a deeper look, especially since it sounds like you're open to input. I didn't want to dive in too deep without checking the water, so to speak!

@mgravell  see this PR https://github.com/grpc/grpc/pull/18865 for details.
Just to set the expectations - performance work is not the priority right now, but that said, we're happy to have conversations about future designs and accept contributions with perf improvements.

Just to set the expectations

That's fine - it means I can do some thinking and make some suggestions (I like to talk before coding) without trampling on any else's toes or risking a merge conflict, and the project might get some free perf gains without distracting the core team from their current priorities.

@jtattermusch I've started my initial dabblings here; marked "draft" at the moment as I'm still having difficulty with the Windows build, so it isn't fully tested yet etc; just wanted to highlight the ideas I had in mind

(closing; moving to discreet issues)


No connection could be made because the target machine actively refused it.

total noob here but im testing this out on 2 machines both on my local network and when running the invoke-remotedesktopviewer command the said error comes up. not sure where to go from here. fyi the machine with the server is port forewarded with the same port im trying to use
heres the output of the veiwer
Power Remote Desktop - Version 4.0.0
Jean-Pierre LESUEUR (@DarkCoderSc) ###
https://www.github.com/darkcodersc
https://www.phrozen.io

License: Apache License (Version 2.0, January 2004)
https://www.apache.org/licenses/

VERBOSE: Server address: "<IP_ADDRESS>:2801"
Start new remote desktop session...
VERBOSE: Request new session with remote server: "<IP_ADDRESS>:2801"...
VERBOSE: Establish first contact with remote server...
VERBOSE: Connect: "<IP_ADDRESS>:2801..."
VERBOSE: Close existing session...
VERBOSE: Session closed.
VERBOSE: Free environement.
VERBOSE: Close existing session...
VERBOSE: Session closed.
VERBOSE: Free runspaces...
Remote desktop session has ended.
Exception:
Line |
1004 |              throw "Could not open a new session with error: ""$($_)"" …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not open a new session with error: "Exception calling ".ctor" with "2" argument(s): "No connection could be made because the target machine actively refused it. [::ffff:<IP_ADDRESS>]:2801""

never mind i just spelled address wrong

Alright, issue closed ;)


$unset resetPassword field with 'undefined' produces 500 error

hey jedireza,
i think there is a small bug with resetting the password in server/api/login.js.
$unset: {
    resetPassword: undefined
}

this will give you:
MongoError: exception: '$unset' is empty. You must specify a field like so: {$mod: {<field>: ...}}

maybe since mongodb 2.6 you can't use undefined here. but  null, '', and {} will successfully remove the the resetPassword field after the password has been changed. if that was the intended behavior.

i use mongodb 2.6.5

Thanks for opening an issue. I haven't had a lot of time to check this out yet. Would you be willing to create a PR to fix these cases?

I just tested this with mongodb 3.0.4 and I don't have this problem.
The Mongo docs say:

The specified value in the $unset expression (i.e. "") does not impact the operation.

I just tested this and didn't get an error.


ocaml 4.14.0, refresh patches, add maintainer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Notes:

includes #33
adds self as maintainer :scream_cat:
really just hoping to get to semgrep someday  :crying_cat_face:

https://github.com/conda-forge/staged-recipes/issues/12965

https://github.com/conda-forge/staged-recipes/pull/14494

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

2022-11-21T14:50:05.8299449Z Running tests from 'tests/instrumented-runtime' ...
2022-11-21T14:50:05.8539379Z  ... testing 'main.ml' with 1 (instrumented-runtime) => passed
2022-11-21T14:50:06.1084840Z  ... testing 'main.ml' with 1.1 (native) => failed (Compiling program $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt from modules  main.ml: command
2022-11-21T14:50:06.1087971Z $SRC_DIR/runtime/ocamlrun $SRC_DIR/ocamlopt  -I $SRC_DIR/runtime  -nostdlib -I $SRC_DIR/stdlib  -runtime-variant=i     -o $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt   main.ml
2022-11-21T14:50:06.1089925Z failed with exit code 2)
2022-11-21T14:50:06.1097081Z > Specified modules: main.ml
2022-11-21T14:50:06.1097757Z > Source modules: main.ml
2022-11-21T14:50:06.1098605Z > Running test instrumented-runtime with 1 actions
2022-11-21T14:50:06.1099016Z >
2022-11-21T14:50:06.1099550Z > Running action 1/1 (instrumented-runtime)
2022-11-21T14:50:06.1100262Z > Action 1/1 (instrumented-runtime) passed (instrumented runtime available)
2022-11-21T14:50:06.1100748Z > Running test native with 8 actions
2022-11-21T14:50:06.1101104Z >
2022-11-21T14:50:06.1101637Z > Running action 1/8 (setup-ocamlopt.byte-build-env)
2022-11-21T14:50:06.1102283Z > Action 1/8 (setup-ocamlopt.byte-build-env) passed
2022-11-21T14:50:06.1102673Z >
2022-11-21T14:50:06.1103077Z > Running action 2/8 (ocamlopt.byte)
2022-11-21T14:50:06.1104002Z > Compiling program $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt from modules  main.ml
2022-11-21T14:50:06.1105484Z > Commandline: $SRC_DIR/runtime/ocamlrun $SRC_DIR/ocamlopt -I $SRC_DIR/runtime -nostdlib -I $SRC_DIR/stdlib -runtime-variant=i -o $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt main.ml
2022-11-21T14:50:06.1106597Z >   Redirecting stdout to $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/ocamlopt.byte.output
2022-11-21T14:50:06.1107537Z >   Redirecting stderr to $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/ocamlopt.byte.output
2022-11-21T14:50:06.1108082Z > ### begin stdout ###
2022-11-21T14:50:06.1108967Z > $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: $SRC_DIR/runtime/libasmruni.a(eventlog.ni.o): in function `time_counter':
2022-11-21T14:50:06.1109942Z > /usr/local/src/conda/ocaml-4.14.0/runtime/eventlog.c:114: undefined reference to `clock_gettime'
2022-11-21T14:50:06.1111066Z > $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/local/src/conda/ocaml-4.14.0/runtime/eventlog.c:114: undefined reference to `clock_gettime'
2022-11-21T14:50:06.1112338Z > $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/local/src/conda/ocaml-4.14.0/runtime/eventlog.c:114: undefined reference to `clock_gettime'
2022-11-21T14:50:06.1113729Z > $BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/10.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/local/src/conda/ocaml-4.14.0/runtime/eventlog.c:114: undefined reference to `clock_gettime'
2022-11-21T14:50:06.1114443Z > collect2: error: ld returned 1 exit status
2022-11-21T14:50:06.1114858Z > File "caml_startup", line 1:
2022-11-21T14:50:06.1115251Z > Error: Error during linking (exit code 1)
2022-11-21T14:50:06.1115641Z > ### end stdout ###
2022-11-21T14:50:06.1116483Z > Action 2/8 (ocamlopt.byte) failed (Compiling program $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt from modules  main.ml: command
2022-11-21T14:50:06.1117721Z > $SRC_DIR/runtime/ocamlrun $SRC_DIR/ocamlopt  -I $SRC_DIR/runtime  -nostdlib -I $SRC_DIR/stdlib  -runtime-variant=i     -o $SRC_DIR/testsuite/_ocamltest/tests/instrumented-runtime/main/ocamlopt.byte/main.opt   main.ml
2022-11-21T14:50:06.1118467Z > failed with exit code 2)

Searching using undefined reference to `clock_gettime' makes me wonder if this is related to https://github.com/ocaml/ocaml/issues/10329 perhaps. Which glib are we using?

It looks like we're pulling 2.17:
2022-11-21T14:43:33.2864543Z                           __glibc=2.17=0

We could try extra-extra forcing the rt flag...

Ick:
+ ocaml -version
/home/conda/feedstock_root/build_artifacts/ocaml_1669051681913/test_tmp/run_test.sh: line 7: 25862 Segmentation fault      (core dumped) ocaml -version

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender


blog post on using pyo3 effectively

https://github.com/kylebarron/kylebarron.github.io/issues/22

I'm looking forward to this. Reading the repository's code has been very good learning resource for me so far. 😊
I'm mostly a Python developer with fairly basic knowledge in Rust, so when working with pyo3, I find it a bit hard to organize my structs, enums, traits, etc. in a way that makes it easy to build pythonic packages.
The other aspect of it is the efficiency, it's been pretty interesting to see how to implement certain aspects of arro3 efficiently, such as the use of the PyCapsule interface, or the zero-copy integration with Numpy.

I don't have a great track record of actually finishing blog posts I want to write, but I'll try!


RFC:Include repository name in -v and -v=2 output for backup command

Output of restic version
restic 0.12.0 compiled with go1.15.8 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
Include the repository name in -v and -v=2 output when running the backup command
What are you trying to do? What problem would this solve?
I am planning on having multiple repositories for my backups with different suppliers as well as locally.  Currently there is a TON of information provided by the -v & -v=2 flags which I re-direct to a file to act as a log of my backup.
It would useful when reviewing this 'log' to know which repository the backup related to.  Without this information I would have to search through my different repositories to find out where the particular snapshot was.
I'm hoping this is not a big change and given the other information already being provided, this key bit of information would be very useful when looking at an old log.
Did restic help you today? Did it make you happy in any way?
I started using restic less than a week ago.  The documentation is VERY CLEAR and the regulars on the forum are super helpful.  My learning curve for getting up and going was significantly shortened because of these 2 things.  I am looking forward to using restic for a very long time.  Thanks a TON for this great software.

This is what I get when running restic as usual, without any -v flags at all:
$ ./backup3.sh
enter password for repository:
repository fc232af8 opened successfully, password is correct
using parent snapshot ac1d15c3

So it already contains the identifier for the repository. Are you not seeing this in your output?

@rawtaz unfortunately the -v=2 command shows the following first 4 lines:
open repository
lock repository
load index files
using parent snapshot c5fcfd9c
So I guess the backup command without -v has the information we need.
Although even in your output I would have preferred the actual location whether it was a path or a service provider end point etc which would mean one doesn't need to keep a table of actual repositories with restic repo names.

Interesting. I tried reproducing not seeing the repository ID by using -v and -v=2 as well as RESTIC_PASSWORD=... but all of them still gives me output that includes the repository ID.
Looking into the related code it looks like this:
	if stdoutIsTerminal() && !opts.JSON {
		id := s.Config().ID
		if len(id) > 8 {
			id = id[:8]
		}
		if !opts.JSON {
			Verbosef("repository %v opened successfully, password is correct\n", id)
		}
	}

I presume that you don't run your restic instance in an interactive terminal, and this is the reason you're not seeing this text.
Meanwhile the code that outputs the first message for you doesn't care about there being an interactive terminal or not, it just outputs the text:
	if gopts.verbosity >= 2 && !gopts.JSON {
		Verbosef("open repository\n")
	}

I would suggest that we change it so that the repository ID is output regardless of the terminal, just like the other text. I'm not sold on outputting the entire repository URL though.

@rawtaz I'm piping my output from a cron job.  The repository ID is meaningful to restic but a URL is more meaningful to the user.

The repository ID is meaningful to restic but a URL is more meaningful to the user.

Yes, understood. But given that it would be one line of code for your backup script, to append or prepend the repository URL to the log file, and a lot more code (more or less complicated) to do it in restic, my opinion is that it's not worth that additional code and maintenance for a use case that hardly ever comes up for discussion. It's simply not worth the added complexity, even if it's such a simple feature.
It would be one thing if it was some type of information you don't already have and can easily put in your log file, but that's not the case here.

@rawtaz Yes fully agree.  I should have thought about including the info in the output at the beginning.  Since this is a more elegant solution anyway I am going to close this request.


Add Rana Swami to Contributors list

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Hi, you closed the PR before I can merge it, if you want to contribute then
you can create a another PR and wait for the merge.
-Rahul
https://github.com/rahulkarda
On Sat, Jul 9, 2022 at 7:55 PM Rana Swami @.***> wrote:

Closed #4 https://github.com/rahulkarda/100Devs-Members/pull/4.
—
Reply to this email directly, view it on GitHub
https://github.com/rahulkarda/100Devs-Members/pull/4#event-6964012466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFMWPZTTNM2ADZNXBI662DVTGDWRANCNFSM53DOP36A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Updated Docker Tag Logic

Resolves latest to the actual version tag by matching SHA values using Docker Hub's API

This is needed because there is no latest tag in CVMFS's images
Doing this logic at the top of the pipeline guarantees all containers in a scanner instance are using the same version (the same latest) by removing race conditions

Checks if the requestor-provided docker tag is in CVMFS before launching the scanner

Another alternative: leverage the ArgoCD image detection to bump the latest scanner image for you. I believe you can set that as an env variable, and it can restart the skydriver rest api anytime that updates.

I think this method is lighter weight. I'm not sure how the turnaround speed compares between the two. If I can't get this method to work, that's a good option.


Inconsistent rules for application names

On the dashboard we can use upper case letters in application names, but not in resin-cli:
? Select a name for the application SenseSnake
Application name may only contain lowercase characters, digits and one or more dashes. It may not start or end with a dash.

@CameronDiver what particular cli command is this message from?
I guess it's from resin local push, in in the previous rdt context the 'application' referred to a standalone container running on an unmanaged resinOS device. So I guess we can change these messages to refer to application container to make it more clear, because these limitations apply to container names in the docker API (can't find the actual docs now)

Ah ok that makes more sense (it was resin local push), I had figured it was supposed to have parity with the dashboard but it makes sense that it would be docker rules.

As far as we know there's actually no need for a container name on local push at all (#682), so let's close this in favour of removing the name entirely.


Why not AngularUI not support the angular.js-1.3.x?

Because I found angular.js-1.3.x's performance better than angular.js-1.2.x, so I hope as soon as possible to update the current project, but AngularUI not perfect  support 1.3.x.....so I am very sad..

Numerous issues are being worked on.

okay,thanks


Contents on a single page

Maybe there should be an option to left contents on a single page.
I mentioned this in #3, but you didn't reply me for this point. Now I submit another issue report, since these are separate and independent issues.

Does this commit fix your problem with the different margins on the page?


FLEX prematurely purges older items from network debugging cache

FLEX purges older items from the network debugging cache even when the cache is nowhere near full. I would assign this to myself if I could. I would like it to cache them to a temporary file or something, it's super annoying when recent requests are purged for seemingly no reason...

I would assign this to myself if I could

I propose we give this a try as a replacement: https://github.com/nicklockwood/OSCache
Thoughts?

This is not connected to https://github.com/Flipboard/FLEX/issues/91?

After reviewing the comments it seems to be related, yeah. What happened there? It's 2 years old

Yeah, I know. 😞 I made a fork and implemented it privately using PINCache for my company internal purposes. The difference is that you cannot opt-out from persistence and PINCache dependency. Unfortunately I didn't have time to implement this and create a PR. I don't think I will have time anywhere soon. 😞

I can take care of it. What would it entail?

@NSExceptional I've been annoyed by this as well (particularly when backgrounding an app). I'm ok pulling in OSCache if you want to give that a shot.

Awesome. I'll send a PR when I have time to do it.

This should be marked as an issue rather than enhancement. Since the user can control the amount of cache space they want to use with a slider (although this is fairly limited given some iOS devices have 4GB of RAM), and they can manually purge the cache, there really is no reason to use NSCache here. And it introduces a behaviour that the user doesn't expect.
I would argue we can just use a NSMutableDictionary here and purge it under the behaviour that the user expects.


refactor(debounceTime-spec): update debounceTime operator tests to use pipeable operators

update debounceTime spec to use updated import sites and pipeable operators

Coverage remained the same at 96.503% when pulling 809e2064cd433f437a4b2a01e8c6406e013fc285 on natmegs:debouncetime-spec-pipeable into 7e4cef4087f1f75dc5476199d80accc335bb48a0 on ReactiveX:master.


Fix incorrect hydration when pooling is disabled

Fixes issue #980

could you also add a unit test supporting your change?

I wanted to already see what the tests gave on travisci, before setting everything up on my side. If it's green I can add a test.

@staabm I got some issues to be able to run the tests locally. If you really need tests I can play with it, but will use this PR to always run the tests.
In the future having a vagrant box, or docker config for local testing would speed this up.

@staabm on second thought, debugging through travis is far from ideal. However I can't seem to make the test work locally.
Are tests in this case really necessary. It doesn't brake current tests?

having it covered by unit test would help so we won't regress here in the future.
I dont know this area of propel that good, so I am actually no willing to get my +1 on this.
@marcj what do you think about the PR?

Well, this issue is already fixed in v2. The whole v1 development is currently frozen, due to the focus in v2, so I don't it makes much sense to fix old bugs in legacy code.

@marcj But on the official web page, you still point to this 'stable' version, right?

And some people (like me) are still heavily using this version, and would be happy to have it even more stable ;)
Btw, there's a lot of pending patches that could be merged in 'v1' until 'v2' is officially released. So, in all cases, thank you @tonivdv  :)

@staabm I tried yesterday to have test working correctly with phpstorm etc, but always have issues. Unfortunately I can't spend much more time trying to add tests. You think it's really necessary?
Currently I'm using my fork for the project in order to be able to continue.

@staabm @marcj I guess we can ignore & close this PR. I'm not using this version anymore either. Plus from old comment this was fixed?!


error: error parsing wordpress-deployment.yaml: error converting YAML to JSON: yaml: line 33: could not find expected ':'

trying to follow kubernetes tutorial[1]Example: Deploying WordPress and MySQL with Persistent Volumes;
run command 'kubectl apply -f wordpress-deployment.yaml' on google kubernetes using cloudshell;
got this error:**error: error parsing wordpress-deployment.yaml: error converting YAML to JSON: yaml: line 33: could not find expected ':'
[1]https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/
wordpress-deployment.yaml
apiVersion: v1
kind: Service
metadata:
  name: wordpress
  labels:
    app: wordpress
spec:
  ports:
    - port: 80
  selector:
    app: wordpress
    tier: frontend
  type: LoadBalancer
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: wp-pv-claim
  labels:
    app: wordpress
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 20Gi
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: wordpress
  labels:
    app: wordpress
spec:
  selector:
    matchLabels:
      app: wordpress
      tier: frontend
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: wordpress
        tier: frontend
    spec:
      containers:
      - image: wordpress:4.8-apache
        name: wordpress
        env:
        - name: WORDPRESS_DB_HOST
          value: <IP_ADDRESS>
        - name: WORDPRESS_DB_PASSWORD
          valueFrom:
            secretKeyRef:
              name: mysql-pass
              key: password
        - name: WORDPRESS_DB_USER
          valueFrom：
           secretkeyRef:
            name: mysql-pass
        ports:
        - containerPort: 80
          name: wordpress
        volumeMounts:
        - name: wordpress-persistent-storage
          mountPath: /var/www/html
      volumes:
      - name: wordpress-persistent-storage
        persistentVolumeClaim:
          claimName: wp-pv-claim````

/kind support
This issue is being addressed in this issue https://github.com/kubernetes/kubernetes/issues/95754

/close


Code cleanup; FilePath separator normalization

Splitting off some of the work being done in https://github.com/apple/swift-system/pull/14. This brings in the separator normalizing behavior as well as re-arranging some of the source code.

Closing this, FIlePath syntactic operations has diverged significantly. I could consider doing some of the refactoring in a separate PR, though it might make more sense to just do it as a rebasing on that PR.


Include QIR Runtime binaries and headers in drops

This updates the build script to copy the QIR Runtime binaries and headers into the drops folder. This will ensure that during PR builds (non-e2e) the corresponding cross-platform binaries are still produced as build artifacts.

The artifacts are showing up as expected, as you can see from this build: https://dev.azure.com/ms-quantum-public/Microsoft Quantum (public)/_build/results?buildId=25419&view=artifacts&pathAsName=false&type=publishedArtifacts

Good question. In this case, the only binaries that we want to copy out are the runtime, so it really is specific to that folder. When/if we have other folders whose binaries we want to produce as artifacts, it will probably make sense to refactor and pull this logic into the utils.


(ಠTrending‿Nowʘ) Sophie Rain Spiderman Viral Leaked Video 2024 ZXVIDEOs MMS On Social Media X Twitter [NOWS45HD]

45 sec ago Sophie Rain Spiderman Leaked Video Viral On Social Media. (ಠTrending‿Nowʘ) Sophie Rain Spiderman Viral Leaked Video 2024 ZXVIDEOs MMS On Social Media X Twitter [NOWS45HD]

Sophie Rain Spiderman’s latest video has taken the internet by storm, sparking a wave of conversations across various social media channels. The emerging digital star, celebrated for her engaging content—particularly her recent Spiderman-themed clip—has seen a remarkable surge in her popularity, with fans eagerly searching for the full version. Viewers are flocking to platforms like Instagram, X (formerly Twitter), and Discord to interact with her latest creation.
As excitement continues to build, fans are enthusiastically sharing their reactions online, emphasizing the crucial role social media plays in elevating creators like Sophie Rain Spiderman. With her distinctive style and fresh approach, she has quickly made a significant impact in the digital world, leaving many eager to see what’s next for her.


feat(NODE-4970): deprecate collStats collection helper

Description
What is changing?
POC for drivers-2232.

The unified test runner has been updated to support the createOptions option for initialData
Syncs spec tests that use collStats (from corresponding specs PR)
Any driver code related to the collStats command is deprecated for removal

Is there new documentation needed for these changes?
No.
Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[x] Changes are covered by tests
[x] New TODOs have a related JIRA ticket

evergreen help

Available Evergreen Comment Commands

evergreen retry    - attempts to create a new PR patch; this is useful when something went wrong with automatically creating PR patches
evergreen refresh    - resyncs PR GitHub checks


Fixed pattern upload hide feature

Signed-off-by: Vedant Kakde<EMAIL_ADDRESS>Description
Fix The dialog doesn't close even after inserting the pattern successfully
This PR fixes #4376
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Thank you, @vedant-kakde and @Abhishek-kumar09


Sync eng/common directory with azure-sdk-tools for PR 1032

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1032 See eng/common workflow

Merge conflict around eng/common/scripts/New-ReleaseAsset.ps1 need to ensure its undeleted.

Coming from https://github.com/Azure/azure-sdk-tools/pull/1031, which is ok for now.


install react-modal

It's an easy lib for making all the modals that appear in our designs.

done


error in mnist_tutorial_jsma.py

There is the following error when one defines a different number of classes as and argument.
Attacking input 1/10
Traceback (most recent call last):
  File "mnist_tutorial_jsma.py", line 226, in <module>
    app.run()
  File "/miniconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "mnist_tutorial_jsma.py", line 215, in main
    learning_rate=FLAGS.learning_rate)
  File "mnist_tutorial_jsma.py", line 141, in mnist_tutorial_jsma
    target_classes = other_classes(nb_classes, current_class)
    other_classes_list.remove(class_ind)
ValueError: list.remove(x): x not in list

It looks from the error that you are trying to use a class index class_ind that is too large (i.e., larger than nb_classes). Otherwise, could you give us a bit more context so we can understand what went wrong?

@npapernot yeah sure, apologies, my bad. So what I did is I just run the tutorial example without changing anything. The only thing that I changed is the user defined argument nb_classes. The default value is set to 10 I just used 5 in this case.

If you only changed the nb_classes to 5, it is normal to get this error because some of the inputs have labels between 5 and 9 (in Y_test).
If you want to reduce nb_classes to 5, you should also filter the data so it only includes examples from classes 0 to 4 included.


migrating a bridged mastodon account?

I'm probably searching wrong but I'm having difficulty finding and answer:
what happens when a bridged mastodon account migrates to a new instance?
I have a bot account on botsin.space that will need to be migrated soon, and it's currently being bridged to bluesky, and I would like to not break that account if possible, especially if it does break there's no way for me to manually go in and post to it to let people know that the account has moved to a new address (and i won't be able to post from masto, because botsin.space will be going read only).
I also don't want to have to create a new actual bluesky account for the bot, because once again, I won't be able to post to the existing bluesky account to let people know or make pinned posts to keep any announcement to the top while the bot is still functioning. and since i haven't received an answer to a previous question about what happens to bridged account when the bridge breaks, I'm going to assume that the zombie bridge will just sit there, taking up space and accumulating followers that will inevitably be disappointed becasu they won't know that the bot now lives elsewhere or how to find it.

Hi! Sadly Bridgy Fed doesn't yet support fediverse account migration like this. Details in #330, feel free to follow there for updates. Sorry for the bad news.
Fortunately, https://muffinlabs.com/posts/2024/10/29/10-29-rip-botsin-space/ says botsin.space won't go read only until 12/15 or later, so you hopefully have plenty of time to choose where you plan to migrate and post that so that your account's followers in Bluesky see it.
Another thing you might consider is setting a custom domain handle for your bridged Bluesky account, and then when you migrate and bridge your new fediverse account, set that same domain handle on the new account. That will hopefully help your Bluesky followers know that the new account is still you.

Ah, but to set a custom domain, I suppose I would need to OWN a custom domain, and I have not the money for such things

Also I noticed still no comment on what happens to disconnected bridges, sitting there all zombie like with an account’s face and info

Right. Sorry! As I mentioned, fediverse account migration isn't supported right now. You can always bridge your new account though, and if you have access to the old account before its instances goes down, you can block<EMAIL_ADDRESS>to disable the bridged account. Otherwise, I'm happy to do it manually.
Also, there are lots of free subdomain handle providers for Bluesky! https://www.skyname.io/ , https://handles.domi.zip/ , https://swifties.social/ , etc. And also lots of cheap TLDs that you can get domains for $1 or less per year, https://www.ionos.com/domains/cheap-domain-names , https://www.namecheap.com/domains/#pricing , etc.

What does blocking the brid.gy account DO though?  What happens to that bridge account on bluesky?

It deactivates the bridged Bluesky account. You can reactivate it later if you want by unblocking and re-following<EMAIL_ADDRESS>

and if I don't want to reactivate it?
if I want it deleted?

also, I can't actually make any posts to Bsky that aren't automated posts, becasu botsin.space marks all posts for the next 6 hours after the first as private, and my bot auto posts every six hours, so any non automatic posts will not show up on bluesky unless I stop auto posting, which defeats the purpose of the bot, JUST to make a post specifically to bluesky, which I will only be able to do once per six hours, and won't be able to pin to the bluesky account, so in effect I have to take my bot offline, then hope that everybody following teh bot on bluesy actually sees that post becasu i won't be able to pin it.   all because ??? you want to be able to hold sole control over bridged accounts? gods forbid people actually be able to control their own content, this service is starting to sound suuuuper sus right about now.

More precisely this is #1442 for tracking fediverse migrations. Pinning posts is #1374. Like on/off migrations of bridge accounts, the features are on our radar, but simply need more time due to limited resources for this project.
(We should definitely mark the bridge account as deleted on Bluesky and disassociate the DID and handle when we receive a Delete for a (currently or formerly) bridged account on the fediverse though. I'll file an issue for that in a moment, as this is effectively a regression due to the fix for #1130 if I'm not mistaken.)
Giving people direct control of their bridge accounts would come with a range of organisational, safety and legal concerns that likely aren't feasible for this project as-is. (Bridgy Fed would have to act as a content host rather than as proxy.)
You can read more about the nature of the project here: Possible futures for Bridgy Fed

Thank you @Tamschi! @alien-sunset, I definitely get how your bot account's setup, plus botsin.space shutting down, plus Bridgy Fed's design all combine together to make this migration difficult and not what you want. I'm sorry, I wish I had a better answer for you.
As @Tamschi mentioned, some of what you want here - pinned posts, more support for fediverse account migration, more control over data deletion - are on our roadmap. I don't have an ETA, but we're not against them, we're very open to adding them eventually.
Others, notably manual control over bridged accounts, are unlikely due to the project's design and goals. All I can give you is my word, but trust me, I have no interest in controlling other people's accounts or data. I never expect to make any money from Bridgy Fed; any "control" I might seem to have is only downside and liability for me. I'm just trying to keep the scope here manageable, and avoid overburdening the project (and me) so that it doesn't collapse under its own weight.

thanks, this def wasn't what i was hoping, but Tamschi's response does help me understand better.
i guess I should look at is as a good challenge to learn how to post to both Bluseky and Masto directly from my bot. 💜

Since alien-sunset created a new Bluesky account for the bot (https://github.com/snarfed/bridgy-fed/issues/1137#issuecomment-2471433188) and all issues that came up are tracked elsewhere, I'll go ahead and close this one as duplicate.


Running AppAgent on Instagram Using Galaxy Tablet

is there a problem running AppAgent on a tablet? It won't work on my rooted / de-googled pixel 6 as noted in the paper, so I tried my galaxy tablet and still cannot quite get it to navigate Instagram.
I've tried using both the self learning option and the manual / human directed version.
Appreciate the great work by all of you!

hi, can it work on other apps ?

Seems very similar on other apps - manages to open them and navigate to 1 or 2 icons then crashes. Might be a device thing...

Has anyone checked this issue out?


Additional comments without code blocks

Would it be possible to submit the contents of .phabricator-comment to Phabricator without the surrounding code block?
We use a lot of custom styling in our messages, that we are currently sending with a Groovy Postbuild script. Because of the code block, we lose all of our styling. We would like to use the phabricator comment file, because currently we need to set up the entire communication with Phabricator ourselves, which is unnecessary when this plugins provides that exact functionality.
I'll be able to submit a pull request, but wanted to check if this fix is something you're willing to accept.

That seems very reasonable. Let's just make it configurable via the
descriptor.
On Mon, Aug 17, 2015 at 7:54 AM Dennis Claassen<EMAIL_ADDRESS>wrote:

Would it be possible to submit the contents of .phabricator-comment to
Phabricator without the surrounding code block?
We use a lot of custom styling in our messages, that we are currently
sending with a Groovy Postbuild script. Because of the code block, we lose
all of our styling. We would like to use the phabricator comment file,
because currently we need to set up the entire communication with
Phabricator ourselves, which is unnecessary when this plugins provides that
exact functionality.
I'll be able to submit a pull request, but wanted to check if this fix is
something you're willing to accept.
—
Reply to this email directly or view it on GitHub
https://github.com/uber/phabricator-jenkins-plugin/issues/75.

@d-claassen were you going to submit a PR or would you like me to implement?

I would have no idea how to make it configurable. I think it'll be done a lot better when you would implement it ;-)

Sounds good. I will add a checkbox to "preserve formatting" that you can enable.

This is in master, will be released in 1.8.0 (hopefully this week)

Nice! Already using it. Thanks for the quick implementation


apk!libflutter.so crash

Version
3.3.0
Steps to Reproduce
After adding PostHog, the crash count in Firebase Crashlytics has increased, showing the error split_config.arm64_v8a.apk!libflutter.so
Expected Result
.
Actual Result
.

@jatin09univest The PH Flutter SDK does not bundle native libraries (besides the Dart compiled code of course which is a native library), the linked library is Flutter itself.
It's probably a coincidence that you're getting these errors after adding PostHog.
For example https://stackoverflow.com/questions/73862881/libflutter-so-and-split-config-arm64-v8a-apklibflutter-so
Most likely this issue is automatically solved when adding abiFilters (just a hunch).
Happy to reopen this issue if you have more context or ideas on how the PH SDK could be causing this.


Add MediaQueryList to global

In a real environment MediaQueryList is available. Also, I would like to have the opportunity to:
myVar instanceof MediaQueryList

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@bigslycat Thanks for the PR, would you be able to add a test which checks that MediaQueryList exists in the global scope, that way we can ensure the polyfill is working correctly and help avoid any future regressions.

@JakeChampion Tests fails.
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/cat/dev/polyfill-service/tasks/node/updatesources.js:6:24)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

I ran the tests on CI and can see this is failing in some browsers:
Failures:
 - ie/9:
    -> matchMedia
       http://<IP_ADDRESS>:3000/test/tests?mode=targeted&feature=matchMedia
 - ie/8:
    -> matchMedia
       http://<IP_ADDRESS>:3000/test/tests?mode=targeted&feature=matchMedia
 - ie/7:
    -> matchMedia
       http://<IP_ADDRESS>:3000/test/tests?mode=targeted&feature=matchMedia

@bigslycat would you be able to fix the failing tests at all?


Highlight event

Currently it's not possible to get "pre-selected" option (event). I would like to send title of the current item when keyboard is used (Up/Down for example) to select option. I have a blind colleague who says it's really difficult to use tree-select without possibility to hear what is currently "selected" (without using Enter).

Please check PR:
https://github.com/riophae/vue-treeselect/pull/349


Wrong product title is fetched.

Currently category title is loaded for product title.

Problem seems to be elsewhere: if wrong shop id is configured all products are fetched but without attributes.

Related to: https://github.com/ongr-io/ConnectionsBundle/issues/88

Resolved with https://github.com/ongr-io/MagentoConnectorBundle/pull/31


Safe Links policy updates

Turn on/off protection for Office apps moved from Global settings to within the policy

Docs Build status updates of commit 05b9090:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-SafeLinksPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-SafeLinksPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel