running LBL on LFC files

I tried running LBL on LFC files, AB and C separately.
The template looks good.
The trumpet plot looks like this: no RV values between 1300nm and 2200nm, where the flux is the best. sdv values exist and are of good quality for this range. What could have gone wrong?

This is an LBL issue so I'll move it to https://github.com/njcuk9999/lbl/issues/36


Include more info on PR in current logs

I'm not sure what information we would like to add to the logs. For now, I added the branch, pull_number, and commit. Let me know if you can think of anything else that might be relevant to add (or remove).

Addresses #78

There's one thing missing: the repo!


fix(versions): update Activiti/activiti-cloud-example-chart versions

UpdateBot pushed helm dependency: activiti-cloud-modeling to: 7.1.62

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-modeling 7.1.62

 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.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


SCRD-3497 Support running non-playbooks with PlaybookProgress

Add support for supplying an arbitrary action instead of only launching
ansible playbooks. The action is a function that returns a promise,
which enables it to be used for making API calls to the back end as well
as any other call.
Replaced logic that used isUpdateMode to indicate that the playbook
array was to contain objects (instead of just names) with logic that
inspected the array and made the decision based on the contents.
Added documentation for the props passed in to PlaybookProcess.
Added an example function in PrepareReplace.

Note that this enhancement is needed for the stories for replacing compute nodes and controller nodes, since some portions of these processes require mixing playbooks and other commands, and it is much easier for the user (and the developer!) to be able to perform all of this within one page, rather than having to introduce extra pages just to handle that case.

@GarySmith  Thanks for the changes!
I tested day0 os installation and deployment and tested day2 add server os installation and deployment with refresh and without refresh in the dev env, they work very well.
I tested day2 replaceserver without refresh it is fine. Tested with refresh, the check version has no status after refresh. Just wondering, if you plan to tackle refresh API process call in this commit, or next commit?

Thanks for catching that. I'll look into it.

It appears that the code for refresh in PlaybookProgress also needs some logic for knowing that these non-playbook actions are completed even when there is no log available for them to replay. I'll address that in this PR.

@GarySmith. Now the action step shows green with checkmark  when refresh.
A couple of issues found:

When the step api call failed, it doesn't  show as the step failed...but show as a whole page banner.  I fixed it in PrepareAddServer when I tested add server, but didn't fix in replace server prepare.  At the PrepreReplace, line 141, remove !cancel condition to show step progress. Once I removed that the progress steps with log box shows up + banner when failed. But no errors show up in the log box for action step failure. Need output errors there.

When it is successful or failed,   refresh ..it shows it is successful/failed step,  but the logs for action call response/errors are gone,  thinking might want record the results/errors in the progress.json as well for action api calls.

Also refer to PrepareAddServer for the condition to commit model code to avoid unnecessary commit calls when refresh. I fixed it in PrepareAddServer,  didn't fix ReplacePrepare.  Sorry about that. You don't need to fix it in this pr, but don't forget.

I'll make that change
The challenge here is that with playbooks, the ardana-service is capturing the log of the command as it runs and forwards it back to the client. In the case of running non-playbooks, there is no such log generated on the back end. One way to make this work would be to add some sort of log service that the UI would write to every time it logs to the screen, and have it replayed in the event of a refresh. But I think that is a lot of overhead and development effort just to re-create the log messages from API commands in the event of a refresh, especially when the steps on the left are correct. I created SCRD-5568 to capture this as a story.
Perhaps you can either make this change or I can do it separately from this PR, since it is not something introduced by this PR.


Auto-forward emails

I'm looking for a replacement for MaskMe since it went downhill that I can run on my own server/domain, and this might be it. One of MaskMe's great features was having it forward you emails automatically and then giving you the option to "block" it and stop forwarding emails to you from that address. Thus, a bad website or spammer could be blocked while still keeping the convenience of using your own inbox.

@DaAwesomeP How is this relevant to mailsac?

This project works much in the same way that MaskMe did, which was to receive emails while disguising your address as something else that can easily be rid of should spam come it's way. MaskMe was different in that it forwarded the emails to the secure address. This is very valuable when using something real and probably trustworthy that you simply don't want to pass your address to, such as a blog, forum, or online survey where you are expecting frequent messages but want a consolidated inbox. I was wondering if mailsac could be configured in the same way, where received emails are forwarded to another address automatically.

@ruffrey I have seen that https://mailsac.com/pricing is doing Private addresses for forwarding, any idea to have this as paid plugin or somewhat OSS?

Hi, I would definitely consider a paid plugin, not sure about open sourcing
it at this time but wouldn't keep it off the table forever.
On Sat, Oct 3, 2015 at 8:03 PM, Ivan Ip<EMAIL_ADDRESS>wrote:

@ruffrey https://github.com/ruffrey I have seen that
https://mailsac.com/pricing is doing Private addresses for forwarding,
any idea to have this as paid plugin or somewhat OSS?
—
Reply to this email directly or view it on GitHub
https://github.com/ruffrey/mailsac/issues/9#issuecomment-145313392.

--
Phone: +1-916-801-6693


CXF-8671: Support Jakarta EE 10

Work in progress on supporting Jakarta EE 10.
I have chosen to use the Jakarta EE BOM to manage the versions of all of the Jakarta EE 10 API dependencies in one fell swoop, and to hopefully ensure that CXF is compatible with the specification.
Remaining

[x] Jakarta RESTful Web Services 3.1 support in RuntimeDelegateImpl and ResponseImplTest requires actually implementing the bootstrap APIs
[x] EntityPartImpl and EntityPartBuilderImpl need proper integration with registered MessageBodyReader and MessageBodyWriter
[X] While a straight mvn package succeeds (with the two above classes with stub implementations) the mvn -Pfastinstall,everything fails with some missing dependencies (WIP).
[X] mvn -Pfastinstall,everything succeeds
[ ] Test failures.

Current test failures:
[INFO] Running org.apache.cxf.jaxrs.utils.ResourceUtilsTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.apache.cxf.jaxrs.utils.ResourceUtilsTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] org.apache.cxf.jaxrs.impl.RetryAfterHeaderProviderTest.test[retry after Sun Nov 03 08:49:37 2002 is duration of PT24884H49M37S from 2000-01-01 00:00:00.000]
[ERROR]   Run 1: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 2: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 3: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 4: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[INFO]
[ERROR] org.apache.cxf.jaxrs.impl.RetryAfterHeaderProviderTest.test[retry after Sun Nov 3 08:49:37 2002 is duration of PT24884H49M37S from 2000-01-01 00:00:00.000]
[ERROR]   Run 1: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 2: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 3: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[ERROR]   Run 4: RetryAfterHeaderProviderTest.test:73
Expected: is <PT24884H49M37S>
     but: was <PT24883H49M37S>
[INFO]
[INFO]
[ERROR] Tests run: 1084, Failures: 2, Errors: 0, Skipped: 1

Apache CXF Code Generation Maven2 Plugins .......... FAILURE
https://github.com/apache/cxf/actions/runs/4485519042

@amarkevich thank you, that particular problem was resolved in dd20aee697eb61541351a9eb70f08a7984103363. This PR still won't compile due to the RuntimeDelegateImpl and ResponseImplTest pieces not being done yet. Locally I've implemented with TODOs :-) WIP.

The org.apache.cxf.jaxrs.impl.RetryAfterHeaderProviderTest test failure I referenced above was because the test did not correctly account for daylight time. I've pushed a fix for that test, which would have broken in the main branch.

Current test failures that I'm struggling with... I believe all of these failures are related to xml schemas with out a target namespace. It seems that we're not finding the complex type when there's no namespace, but we find it fine when there is. Is anyone able to help understand this?
[ERROR] Tests run: 41, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 3.612 s <<< FAILURE! - in org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest
[ERROR] org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testNoTargetNamespace  Time elapsed: 0.283 s  <<< ERROR!
java.lang.RuntimeException: Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
	at org.apache.cxf.tools.wadlto.jaxrs.SourceGenerator$InnerErrorListener.error(SourceGenerator.java:2081)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:88)
	at jdk.proxy2/jdk.proxy2.$Proxy12.error(Unknown Source)
	at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.error(SchemaCompilerImpl.java:303)
	at com.sun.tools.xjc.util.ErrorReceiverFilter.error(ErrorReceiverFilter.java:55)
	at com.sun.xml.xsom.impl.parser.ParserContext$2.error(ParserContext.java:176)
	at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:154)
	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:149)
	at com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:80)
...
[ERROR] Errors:
[ERROR] org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testCodeGenDigit
[ERROR]   Run 1: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 2: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 3: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 4: JAXRSContainerTest.testCodeGenDigit:843 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[INFO]
[ERROR] org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testCodeGenHyphen
[ERROR]   Run 1: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 2: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 3: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 4: JAXRSContainerTest.testCodeGenHyphen:821 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[INFO]
[ERROR] org.apache.cxf.tools.wadlto.jaxrs.JAXRSContainerTest.testNoTargetNamespace
[ERROR]   Run 1: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 2: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 3: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'
[ERROR]   Run 4: JAXRSContainerTest.testNoTargetNamespace:70 » Runtime Error compiling schema from WADL : undefined simple or complex type 'testCompositeObject'

@karlvr apologies I do not have time right now to look at the issue, but I just glance through the changes and the first thing I run into is that dependencies part needs some work, for example saaj-impl needs a bump 3.0.0, probably there are few others too.
[1] https://github.com/apache/cxf/pull/1201/files#diff-b5a06276719e759fe07dfe6f75d781be5f83d2215179d82bdb195ad035348214L179

@reta thank you, I've upgraded a few more dependencies ... I still have the namespace issues, and the implementation for RuntimeDelegateImpl is still required. I don't think I'm able to proceed from this point as the test failures / implementation required is beyond my knowledge of CXF. When you or someone else gets a chance to take a look it will be great to get past this point and I'll help where I can!

Another few wee code contributions... I implemented a basic SeBootstrap.Configuration and builder, and I've added stub implementations for the bootstrap APIs in RuntimeDelegate... maybe CXF doesn't need to support the bootstrapping immediately, or someone else is definitely better positioned to implement that!
I've taken a stab at the EntityPart implementation and builder. The missing piece for me is how to get access to registered MessageBodyReader and Writer implementations in the context of the EntityPart.Builder... I've used ProviderFactory with a null Message for the moment. I am also guessing that somewhere elsewhere in CXF we will need support for EntityPart...

Another few wee code contributions...

Thanks @karlvr , I think it would have unblocked you a bit on the compilation side, but is it now difficult to track what we need to implement, it would be helpful (to be fair) to get rid of the stubs if possible (we would have to implement the spec to be compliant).

@reta yes, I agree. I was holding off on committing them for that reason. It is limited to the RuntimeDelegateImpl class. I have listed this issue in the (newly convert to a) checklist in the PR description. Is that enough to keep track of it at this stage? There's also the case of the EntityPartBuilderImpl where I've implemented something that I'm pretty sure needs improvements that I'm not sure how to proceed on... I could comment that code out. It's only those two bits that are not just changing versions and search-replace things!

@reta yes, I agree. I was holding off on committing them for that reason. It is limited to the RuntimeDelegateImpl class. I have listed this issue in the (newly convert to a) checklist in the PR description. Is that enough to keep track of it at this stage?

I was going through the spec and was sketching some very basic implementation (it is very likely some work is repeated). Let's keep it like that but I would be curious to know if you are planning to implement this part of the specification in full so we won't be duplicating the effort. Thank you.

@reta I've been on a brief holiday! I don't believe I know enough about the ins-and-outs of CXF to contribute to this stage of the PR I think... your implementations look great, and I am really looking forward to seeing it all come together. This is the final piece of my puzzle, or the final so far.

@reta Hi, how are you getting on! Is there anything more I can do to help out?
I received a PR on my original branch; it looks good to me but I think you'd be best to consider it as it's more of a behaviour change than the other EE10 conversions I've looked at.

@reta Hi, how are you getting on! Is there anything more I can do to help out?

Thanks a lot @karlvr , I sadly haven't gotten the support to streamline Jakarta EE 10 development, but it is increasingly difficult to support such a large pull request open for long. I was thinking about creating a separate feature branch so we could work on the migration, merge changes incrementally and have CI running.
[1]<EMAIL_ADDRESS>

@reta I’m totally happy with whatever you need to do to make it easy. I’m happy to rebase on top of HEAD if that’s useful. I fear it’s pretty small. I’m unclear on what is required to continue… I’d be happy to help with a plan and perhaps to execute on it if that seems useful and fun.

@reta I’m totally happy with whatever you need to do to make it easy. I’m happy to rebase on top of HEAD if that’s useful. I fear it’s pretty small. I’m unclear on what is required to continue… I’d be happy to help with a plan and perhaps to execute on it if that seems useful and fun.

Thanks a lot @karlvr ! So what I've done:

created a branch called CXF-8671 where I just bumped the version to 4.1.0-SNAPSHOT (so all unrelated changes are gone from this pull request)
retargeted pull request to CXF-8671 instead of main so we could actually merge it and continue to work iteratively

There are few leftovers on my side (related to JAX-RS) but there is only one thing I wanted to change: the usage of Jakarta EE BOM simplifies a few things but really complicates dependency updates, especially with respect to security fixes. I think we should be better of continuing to manage individual component versions instead (it happens all the time that we need to update components, without need to wait for BOM release which usually takes much longer).

@karlvr I think we are in good shape to merge it into integration branch (and continue work), any objections from your side? thank you!

Hi @karlvr @reta ,
Thanks for what you have done here, very nice!
And for the Servlet API 6.0 support of EE10, we need to upgrade to use Jetty 12 and Undertow 2.3.x, and I've been working on it. The working on Jetty12 upgrade took me a while as the Jetty12 API changed a lot. I think I've got most issues resolved for Servlet API 6.0 upgrade, and I just pushed my working branch here
https://github.com/apache/cxf/tree/servlet-6
I rebased this branch against branch CXF-8671 you guys have worked on, and I am gonna polish servlet-6 branch a little bit and then send a PR against CXF-8671.
Best Regards
Freeman

Thanks for what you have done here, very nice!

Thanks @ffang ! I think we got Undertow 2.3.x working already (but not Jetty 12), waiting for @karlvr to give a green light to merge into integration branch so we could move forward!

@karlvr I think we are in good shape to merge it into integration branch (and continue work), any objections from your side? thank you!

@reta absolutely none, I'm excited :-)

Thank you all ;-) - we are also excited to test with a SNAPSHOT ;-)


[Bug] Website down

Describe the bug
Hello, is the website down? I've been trying to see for months and always it won't open
Codegen logs with RUST_LOG=debug environment variable
*

To Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of clang++
No response
Version of ffigen
No response
Additional context
No response

It won't open on Proton VPN. Is it possibly hosted in China?

http://cjycode.com/flutter_rust_bridge/
https://fzyzcjy.github.io/flutter_rust_bridge/
I can open it, and it is hosted via github pages. Could you please share URL that cannot open? And maybe curl --verbose the_url and provide logs?

Both give Server Not Found on firefox.
curl --verbose http://cjycode.com/flutter_rust_bridge/
* Could not resolve host: cjycode.com
* Closing connection 0
curl: (6) Could not resolve host: cjycode.com

lz@pc:~/$ curl --verbose https://fzyzcjy.github.io/flutter_rust_bridge/
*   Trying <IP_ADDRESS>:443...
* Connected to fzyzcjy.github.io (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
*  start date: Apr  7 00:00:00 2022 GMT
*  expire date: Apr  7 23:59:59 2023 GMT
*  subjectAltName: host "fzyzcjy.github.io" matched cert's "*.github.io"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x55eb1fa5fe80)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /flutter_rust_bridge/ HTTP/2
> Host: fzyzcjy.github.io
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 301
< server: GitHub.com
< content-type: text/html
< permissions-policy: interest-cohort=()
< location: http://cjycode.com/flutter_rust_bridge/
< x-github-request-id: BF96:016A:DE2AA8:15DDCE6:62BA330B
< accept-ranges: bytes
< date: Mon, 27 Jun 2022 22:45:31 GMT
< via: 1.1 varnish
< age: 0
< x-served-by: cache-mia11365-MIA
< x-cache: MISS
< x-cache-hits: 0
< x-timer: S1656369931.203906,VS0,VE26
< vary: Accept-Encoding
< x-fastly-request-id: 27a816a9da49ba60b7c14db131d0d0312c18fa95
< content-length: 162
<

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx

* Connection #0 to host fzyzcjy.github.io left intact

curl: (6) Could not resolve host: cjycode.com

very interesting... what about nslookup cjycode.com

nslookup cjycode.com
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

** server can't find cjycode.com: REFUSED

That's very wierd.
nslookup cjycode.com
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
cjycode.com	canonical name = fzyzcjy.github.io.
Name:	fzyzcjy.github.io
Address: <IP_ADDRESS>
Name:	fzyzcjy.github.io
Address: <IP_ADDRESS>
Name:	fzyzcjy.github.io
Address: <IP_ADDRESS>
Name:	fzyzcjy.github.io
Address: <IP_ADDRESS>

Which region/country are you accessing it?

Any country on my Proton VPN will lead to Server Not Found.

Maybe we should wait for other people to see whether they can visit it... I am not an expert in networking

Btw do you still see it down? I still can visit it and other people can as well, so really not sure what is happening

still down
-------- Mensagem Original --------
Em 4 de ago. de 2022 02:23, fzyzcjy escreveu:

Btw do you still see it down? I still can visit it and other people can as well, so really not sure what is happening
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Very weird... Do your friends also see it down? If so you can check what the network is

https://github.com/fzyzcjy/flutter_rust_bridge/pull/582#issuecomment-1274510738


EXCEPTION_ACCESS_VIOLATION

Hello, when I compile my model I get this error which means that a model is too heavy, however with your compiler I can bypass it but it doesn't work I don't understand.
Vertice: 89.161
Edge : 171,974
Faces : 113,079
Triangles: 113,079
Compiling "male_01.qc" ...
Output from compiler "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\bin\StdInjector.exe":
StudioMdl Patcher 2.3.0 is started.
Code by Alexander B. (2010kohtep) special for RED_EYE.
  qdir:    "c:\users\bkebe\desktop\zékalia as\"
  gamedir: "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\"
  g_path:  "male_01.qc"
  Building binary model files...
  Working on "male_01.qc"
  SMD MODEL male_01_reference.smd
  VTA MODEL male_01_01.vta
  SMD MODEL casque.smd
  SMD MODEL casquette.smd
  SMD MODEL kepi.smd
  SMD MODEL respirateur.smd
  SMD MODEL masque_chirugical.smd
  SMD MODEL visiere_haut.smd
  SMD MODEL visiere_bas.smd
  SMD MODEL nvg_haut.smd
  SMD MODEL nvg_bas.smd
  SMD MODEL oreillette.smd
  SMD MODEL chemise_noir.smd
  SMD MODEL chemise_blanche.smd
  SMD MODEL gilet.smd
  SMD MODEL gilet_2.smd
  SMD MODEL poches_gilet.smd
  SMD MODEL ptt.smd
  SMD MODEL glock.smd
  SMD MODEL holster.smd
  Exception happened and stdpatch catched it.
  		Code: 0xC0000005
  		Module: studiomdl.exe
  		Base: 0x00A00000
  		Address (A) - 0x00A13193
  		Address (R) - 0x00013193
  ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
  ERROR: Aborted Processing on 'lp/zekalia/male_securite_01.mdl'
CROWBAR: Deleted empty temporary compile folder "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\models\lp".

... Compiling "male_01.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.74: "C:\Users\bkebe\Desktop\Zékalia AS\male_01.qc" finished.

Dont use SMD for heavy modes. Compiler was patched to work with heavy DMX models mostly.

I have a new error [ ERROR: Too many bone influences per ver

Adjust the weight link cull to 0.25 in Blender Source Tools panel

How do I do it?

At least where?

Compiling with Crowbar 0.74: "C:\Users\bkebe\Desktop\Zékalia AS\male_01.qc" ...
Compiling "male_01.qc" ...
Output from compiler "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\bin\stdInjector.exe":
StudioMdl Patcher 2.3.0 is started.
Code by Alexander B. (2010kohtep) special for RED_EYE.
  qdir:    "c:\users\bkebe\desktop\zékalia as\"
  gamedir: "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\"
  g_path:  "male_01.qc"
  Building binary model files...

  		Code: 0xC0000005
  		Module: studiomdl.exe
  		Base: 0x00300000
  		Address (A) - 0x00313193
  		Address (R) - 0x00013193
  ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
  ERROR: Aborted Processing on 'lp/zekalia/male_securite_01.mdl'
CROWBAR: Deleted empty temporary compile folder "F:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\models\lp".

... Compiling "male_01.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.74: "C:\Users\bkebe\Desktop\Zékalia AS\male_01.qc" finished.

same error

EXCEPTION_ACCESS_VIOLATION

What till Kohtep review you case. Please upload model files(dmx+qc)

I didn't understand what I had to download [sorry, I don't speak much English].

Would you like me to send you my files?

 Stdpatch can increase limit but it is very unstable as material related stuff crashes studiomdl in a lot of cases

and for the EXCEPTION_ACCESS_VIOLATION error, what does this have to do with?

It is caused by having too many materials. As StdPatch by default tries to increase material limit.

Okay, thank you, so if I reduce the materials, that will solve my problem?

Should solve

No worries, I'll give it a try.

I had a similar error with exception access violation but found the fix.
open the stdpatch.ini file and comment out the buffer increase line, not even sure what that does.
why is the bone / weight cull not fixed? I have seen a hack for it using a hexeditor, why is that not in this patch?

Hello, I still have the error in question, do you know how to fix it ?


Fix an invalid check when aligning buffers

The alignment check in ParseBuffer was invalid and might have led to a premature UnexpectedEof error.

@willglynn friendly ping on this.


chore(docs): dfx deploy must be run in project dir

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

Dear @catmand00,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.
If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.
— The DFINITY Foundation

Hi @catmand00 , thank you for the contribution. Please accept the CLA for us to merge this PR. Thank you!


Outlines rendering behind objects in latest forge 1.16.5 release

I noticed that the outlines and the XYZ position thingy are rendering behind my parts making it difficult to position things.

It's been a while since I made something with the mod so take this with a grain of salt, but if I were you, the first thing I would do is check what the offset is. If I remember correctly, that moves the piece you are working on away from the xyz thing.

That's not the problem, from what I can tell it only happens when you use the solid color setting. (Which is what I was using while prototyping the shape of my model.)


A link in the README.md is invalid.

A relatively minor thing, I'm opening this issue, in order to ask, if this is rather a bug to be fixed in The Rhai Book, or in this README.
The invalid link is https://rhai.rs/book/engine/optimize.html, what I think the link wants to point to is https://rhai.rs/book/engine/optimize/index.html, but then, many of the other links don't need an index.html, such as https://rhai.rs/book/language/numbers.html, so I'd assume this is rather a bug that concerns The Rhai Book?
The quick-fix would of course be just change https://rhai.rs/book/engine/optimize.html to https://rhai.rs/book/engine/optimize/index.html, but fixing that issue in The Rhai Book seems like the more complete solution.

Actually, looking through the README.md a bit more and clicking some links (which dear me should have done before opening the issue), there are a few more that lead to 404-pages, but seem to have obvious targets that exist within the book, just under a different URL. Should they all just be corrected to the new URLs, or is it more clean to take a closer look at The Rhai Book to see if any URLs (such as https://rhai.rs/book/engine/optimize/index.html) are ›incorrect‹?

Yes, I moved stuff from the Book around and probably forgot to update the url links in the README!  Good catch!

PR https://github.com/rhaiscript/rhai/pull/608 fixes the URL's in the README.


Fixing pr cheker!

Fixing pr checker!! #146
Kindly add all the labels added issue to this PR!! @Vimall03

@MastanSayyad there is no 208!!


Add Rush Build Cache

Adds the ability to use Rush build cache across build machines.  This requires a rush-project.json config file in each project.
On each run, Rush will look both locally and in cloud storage and use the cache if hit.
Currently, this is set to run only in CI via the RUSH_BUILD_CACHE_ENABLED env variable. In local development, default incremental build behavior is more performant.
An Azure SAS token is stored under the Rush Build Cache SAS Token variable group for auth.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Ben Polinsky:x: ben-polinskyBen Polinsky seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@aruniverse

Not sure if I got the change workflow correct, but gave it a go. Many changes since rush-project.json had to be added to each project (not the clean first PR I was hoping for :) )
If we move forward with this, I assume we'll want to move the cache storage off my personal work azure account. Rush build-cache is compatible with azure or aws.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.✅ ben-polinsky❌ Ben Polinsky
Ben Polinsky seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ben-polinsky , you can get around this by resetting the git author, and force pushing the changes:
this should work, its been a while since i tried it though
git config user.email<EMAIL_ADDRESS>git commit --amend --reset-author --no-edit

@ben-polinsky , you can get around this by resetting the git author, and force pushing the changes:
this should work, its been a while since i tried it though
git config user.email<EMAIL_ADDRESS>git commit --amend --reset-author --no-edit

FYI, that was only for the previous commit. I decided to rebase interactively.

really excited to test this out!

Granted i don't have any real changes on my end, but this is still amazing. I think there's some extra config we need to do for test-apps which is where most of this time was spent building, ill double check.

I think there's some extra config we need to do for test-apps which is where most of this time was spent building, ill double check.

Check to see if those apps generated warnings (ie. node os/webpack 5 issues) - that seems to prevent writing to the remote cache.

Check to see if those apps generated warnings (ie. node os/webpack 5 issues) - that seems to prevent writing to the remote cache.

yea this is probably it.... youd think setting allowWarningsInSuccessfulBuild would override that. i can live with a sub 2 min build :)

@aruniverse linux tests have been failing, though I think perhaps flakey. Have you seen that elsewhere? Otherwise we might have an issue with x-platform caching...

@calebmshafer, @skirby1996  I think this pr is good to go, could one of you guys take a pass and see if we need to do anything else? Dont think we're going to ask for a review from every reviewer, just get one of your approvals and merge it in

@aruniverse sure, I'll take a pass at this before the end of the day.

LGTM, looking forward to this speeding up our builds! Plus I didn't even think of the fact we're not doing incremental builds for build:ci locally....

Anything left for me to do or just waiting on another reviewer?

Used admin privileges to merge, there were too many reviewers needed to approve.


module 'shapenet_config' has no attribute 'multiscale'

When I run the code train_shapenet.py, I get several errors, like module 'shapenet_config' has no attribute 'multiscale',  build_graph_deconv() got an unexpected keyword argument 'nnsearch'.
It seems that you give the wrong params to the functions s3g_util.build_graph and s3g_util.build_graph_deconv in:
https://github.com/hlei-ziyan/SPH3D-GCN/blob/6ca77b5906a6f3a228cb655156bfa7a58ee86e9c/models/SPH3D_shapenet.py#L51-L54
https://github.com/hlei-ziyan/SPH3D-GCN/blob/6ca77b5906a6f3a228cb655156bfa7a58ee86e9c/models/SPH3D_shapenet.py#L89-L92
How to fix these?

Thanks for the pointing this out. The previous uploaded 'SPH3D_shapenet.py' is an primitive version. I have updated SPH3D_shapenet.py and SPH3D_shapenet_onehot.py.


German localization & two new behavior options

Hey,
if you want you can have German localization for your tool @milgra 😄
Also, I implemented a quick check to forward events to default macOS behavior if no supported player is running.
However, I don’t know if this behavior is desired by you or other users - I missed it as stated here https://github.com/milgra/highsierramediakeyenabler/issues/21

Added check if Spotify or iTunes is running, if not use macOS 10.13 behavior and forward event to current media application
Added german localization
Updated readme accordingly

I personally think that we should keep the behavior of the app (opening iTunes when not running) since it was the original behavior of the play/pause key on sierra and some users like me do use this feature.
Like I mentioned on the issue thread, checking key cominations(ex. option + media key) and bypassing the app accordingly would be a good idea.

One could also think about a more sophisticated approach, by adding a fourth option for people like me ;)
I will do a commit for this...

I added two more options:

one to set the behavior as desired by me: https://github.com/milgra/highsierramediakeyenabler/issues/21
one to pause the tool as desired in https://github.com/milgra/highsierramediakeyenabler/issues/20

@milgra
I will translate new menu items into Korean and make a new PR. Please wait before uploading the compiled version :)

Made some changes to the UX/menu items, can you please re-translate the two new items? Thank you!

Alright give me a moment plz :)

Currently I have no access to my Mac, but to make things faster maybe we can do it this way:
The only new String seems to be:
"Pause if no player is running" = "Pause if no player is running";
I‘d suggest the following german translation:
„Pausieren wenn kein Player geöffnet ist“
Maybe you can change it like that 😄

I really like the simplicity of the pauseState detection you use now!

thanks! :)


Funding Hotel, looking for your feedback

Hi all 👋
I’m currently looking for ways and ideas to help me spend more time on Hotel.
Funding Hotel development would allow:

Improved features and new functionalities
Better support with faster replies and PR reviews on GitHub
More frequent releases

I'd love to have your feedback about what would be the best approach and your usage of Hotel.
If you have some time, I've created a Google form here:
__https://goo.gl/forms/EmgJVn2wzhRHAGYk1__
PS: at the end, you'll find an area for all comments.
Thank you! 🙏

hotel domain  A command configures proxy, and now I have implemented Mac, not compatible with linux and windows.
hotel config Open the conf.json file,  otherwise I need to find this file every time.
launchEditor can do it
Other, watch the config file, If the configuration file changes, restart service and refresh network automatically.

Huge thanks to everyone who has answered, it was super helpful! So I went with a Patreon page and a  Thanks page that my projects README will link to.
Thanks @likun7981 for the ideas 👍


[8.x] Support created_at timestamps on upserts

As a follow-up to https://github.com/laravel/framework/pull/34698, this PR adds support for updating created_at timestamps on upserts.
I've modified the signature of the upsert method to include an optional third argument to be an array of the columns to be updated. If not provided, all columns will be updated.

Should we update DatabaseQueryBuilderTest to check the the raw SQL is correct using the new feature?

@taylorotwell, I've added DatabaseQueryBuilderTest tests for the new feature as well.

I still don't really understand this method. Assume I have a Post database model. The table has slug (unique), title (string), and creation / update timestamps.
I want to bulk edit my post titles and upsert the posts... any new records should be inserted with a created at timestamp. I can't do this:
    $results = Post::upsert([
        ['slug' => 'foo', 'title' => 'foo updated'],
        ['slug' => 'bar', 'title' => 'bar updated'],
    ], 'slug');

What am I supposed to do?

@taylorotwell for that case, you'd have to do this:
$results = Post::upsert([
        ['slug' => 'foo', 'title' => 'foo updated'],
        ['slug' => 'bar', 'title' => 'bar updated'],
], 'slug', ['title']);

Amazing work, I love it!
This PR also adds the possibility to define the value when a row is being updated, and it allows DB expressions. It is awesome, for example, you can add numbers:
Stats::upsert(
    [
        ['id' => 1, 'page_views' => 1],
        ['id' => 2, 'page_views' => 5],
    ],
    'slug',
    [
        'visits' => DB::raw('stats.page_views + excluded.page_views'),
    ]
);


PKCS #11 Refactor

Pkcs11 initialization refactor
Description
Refactored PCKS #11 PAL to remove circular dependency on pkcs11_mbedtls.c implementation.
Removed config for alternate C_Initialize.
Added PKCS11_PAL_Initialize API, to give PAL layer control over it's own initialization.
This resolves the MISRA violation raised by prvMbedTLSInitialize, as it can now be declared to be a static function.
Checklist:

[x ] I have tested my changes. No regression in existing tests.
[x ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

This PR will need a follow up documentation update PR.

/bot run checks

/bot run checks

/bot run checks

/bot run checks


VSCode Neovim causes VSCode to freeze

Type: Bug
Certain operations cause VSCode to freeze. Especially reloading windows or closing the entire application.
Further testing led me to find that this only happens when the vim-plug autoload function runs before a window opens.
Either removing or commenting this out from my nvim config fixes the issue for me.
if empty(glob('~/.vim/autoload/plug.vim'))
  silent !curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs
    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  autocmd VimEnter * PlugInstall
endif

Extension version: 1.18.6
VS Code version: Code 1.91.1 (Universal) (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:07:54.982Z)
OS version: Darwin arm64 23.5.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Max (12 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
12, 9, 7

Memory (System)
32.00GB (1.53GB free)

Process Argv
--crash-reporter-id 2644ea1a-772b-4beb-9af6-08cf46f7de10

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
ccplc:31103425
pythonrstrctxt:31103193
1iic9185:31097392
wkspc-onlycs-t:31106322

It's likely to do with Plug opening a new buffer to display the plugin install process -- and currently, vscode-neovim doesn't support neovim-spawned external buffers. Use lazy.nvim, or don't autoinstall plugins inside vscode.

It's likely to do with Plug opening a new buffer to display the plugin install process -- and currently, vscode-neovim doesn't support neovim-spawned external buffers. Use lazy.nvim, or don't autoinstall plugins inside vscode.

Disabling autoinstall fixed most of the issues. Crashes still happening, but it now happens much less often.
I will give lazy.nvim another try soon!


cmake: use /board/ as APPLICATION_CONFIG_DIR when present

To support the common case of locating configurations on a per board
basis then support for /boards// folder is natively
supported.
This means that if a sample is built for board foo and folder
<app>/boards/foo/ exists, then this folder will be used as the
APPLICATION_CONFIG_DIR, else the APPLICATION_SOURCE_DIR will be used as
the default configuration folder.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>
~Depends on: #38229~
~Only review last commit in this PR~

Closing.
There was initial reluctance to this approach in Zephyr but with #38229 users of Zephyr have the ability to customize their application as they find fit.
Closing for now, can be re-opened if community requests this feature in future.


Insecure argument passed to cURL

Expected Behavior
a secure download of the Miniconda install script
Current Behavior
install script is cURL'd with -k resulting in an insecure transfer and possible arbitrary code execution on my machine.
Steps to Reproduce

run any of these without miniconda installed:

scripts/windows/win_install.bat
scripts/macos/macos_install.sh
scripts/linux/linux_install.sh

pwned

Possible Solution
don't curl executable things insecurely
Context
Below is a copy of the text I had put in a security advisory on both this repository and oobabooga/text-generation-webui as of early December.  The response from the maintainers has been radio silence, so I am publishing the text here so that people can know/protect themselves.
Security Advisory
Summary
An unsafe command line argument being passed to cURL allows the Miniconda installer download to be MITM'd.
This downloaded script is subsequently run, potentially resulting in arbitrary code execution on user machines.
Details
Here's an example from scripts/linux/linux_install.sh
  echo "Downloading Miniconda installer from $MINICONDA_DOWNLOAD_URL"
  curl -LOk "$MINICONDA_DOWNLOAD_URL"

It passes the -k argument to cURL.
cURL man page documentation for -k:
       -k, --insecure
              (TLS SFTP SCP) By default, every secure connection curl makes is
              verified to be secure before the transfer takes place. This
              option makes curl skip the verification step and proceed without
              checking.

              When this option is not used for protocols using TLS, curl
              verifies the server's TLS certificate before it continues: that
              the certificate contains the right name which matches the host
              name used in the URL and that the certificate has been signed by
              a CA certificate present in the cert store.  See this online
              resource for further details:
               https://curl.se/docs/sslcerts.html

              For SFTP and SCP, this option makes curl skip the known_hosts
              verification.  known_hosts is a file normally stored in the
              user's home directory in the ".ssh" subdirectory, which contains
              host names and their public keys.

              WARNING: using this option makes the transfer insecure.

The operative line is at the end:
WARNING: using this option makes the transfer insecure.
Impact
All users of the following installer scripts are affected:

scripts/windows/win_install.bat
scripts/macos/macos_install.sh
scripts/linux/linux_install.sh

Hi. I have removed the k from all the curl calls


Search NEAR_NEARMV mode for drl = 1.

Coverage decreased (-0.01%) to 81.342% when pulling a0ec11f0039daf7705ce8a87ba35f68d1aa3316c on tdaede:near_near into 52c10b6c9e96e37cf125eae9e7a8ca1f6563c297 on xiph:master.


Feature/on boarding

https://github.com/Apple-Developer-Residence-IFCE/LoveMyCalango/assets/78705027/d75595fd-dc50-4fbf-b3eb-a470c8ce38a6

Tem um método obsoleto: .animation(_:)


CI: make sure that auto-generated files are kept in sync

#16 523.1 Fetched 64.9 MB in 7min 7s (152 kB/s)
#16 523.1 E: Failed to fetch http://snapshot.debian.org/archive/debian/20211220T000000Z/pool/main/l/linux/linux-libc-dev_5.10.84-1_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]
#16 523.1 E: Failed to fetch http://snapshot.debian.org/archive/debian/20211220T000000Z/pool/main/g/glibc/libc6-dev_2.31-13%2bdeb11u2_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]
#16 523.1 E: Failed to fetch http://snapshot.debian.org/archive/debian/20211220T000000Z/pool/main/g/gcc-10/libgomp1_10.2.1-6_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]
#16 523.1 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

https://github.com/reproducible-containers/repro-get/actions/runs/3919506629/jobs/6700691131


production deployment details should be source-controlled

We auto deploy the registry-sandbox instance, and everything for that is configured either in k8s.io terraform, or in the make rule backing make deploy / the cloudbuild.yml for this repo.
The production configuration currently seems to only be partially source controlled, the production (registry.k8s.io) cloud run deployment appears to still be manually submitted by @ameukam
Now that kubernetes has migrated, we really ought to fix this https://github.com/kubernetes/kubernetes/pull/109938#event-6713039633

in addition: staging should match production as closely as possible, except for the image revision, and toggling environment variable overrides for gating new functionality
we have a limited / false sense of performance when the regions don't match because then we're talking to much more distant AWS regions https://kubernetes.slack.com/archives/CCK68P2Q2/p1659742065287909

rough outline:

add a service account with permission to deploy this
setup a GCB postsubmit on k8s.io repo to do terraform apply of oci-proxy-prod

/remove-lifecycle rotten
/milestone clear
/lifecycle frozen

we are deploying from terraform in git for production, but manually.
also, we have skew in that the sandbox instance does not use the production config or terraform.
I'd like us to start by getting the sandbox instance to be the production deployment configs w/ some variable overrides passed in, and then look at automating deploying to prod once that's working.

Small change towards this in https://github.com/kubernetes/k8s.io/pull/4922

The prod deployment is totally checked in, however we're still requiring humans to roll it out and be ready to quickly revert.
That's fine, the same people we'd have approve changes have access to rollout.
Importantly: staging is completely automated and leads any production rollouts, which will reflect staging when we're comfortable.
Everything is in git now, other than staging automatically updating to the latest image just pushed when deploying.


Bump react-markdown to 7

Replaces #1229
ReactMarkdown changelog
The bump PR caused namespace detail tests to go red, as ReactMarkdown failed to instantiate because of a bad import.
Fixing by using the default import.
Also source throws a warning, using children instead.

backported to 4.4 via https://github.com/ansible/ansible-hub-ui/pull/1322


make position controller work

They work

Build failed due to merge conflict resolution errors. Please do not quote motto.md

GEORGE!!! FIX!!!


Make Cequel.uuid thread safe and fork safe

Cequel.uuid uses a memoized instance of Cassandra::TimeUuid::Generator which means it will be shared between threads, but Cassandra::TimeUuid::Generator is not thread safe. This could lead to duplicate UUIDs under a race condition. Cassandra's "upsert" behavior would mean duplicates would likely go undetected, and could lead to things like separate users sharing a record in the database. This race condition was difficult to reproduce on MRI, so it may be fairly rare, but is nevertheless possible.
A similar issue exists between a parent process and forked child processes, which would have different generator instances, but sharing the same internal state, so duplicate UUIDs are also possible. These race conditions are easy to reproduce, but would only arise if the parent process called Cequel.uuid before forking.
This PR addresses the thread safety issue by storing thread local instances of Cassandra::TimeUuid::Generator and addresses the fork safety issue by clearing the thread local instance when a PID change is detected. Note that on Linux detecting forking by checking Process.pid carries some overhead, but seems worth it to ensure safety.
Included below are some scripts to demonstrate the issues and benchmark the proposed solution.
threaded_cequel_uuid_tester.rb
require "set"
require "cequel"
require "timecop"

class ThreadedCequelUuidTester
  def self.run(num_threads:, num_uuids:)
    Cequel.uuid # Initialize the memoized Cassandra::TimeUuid::Generator

    # Makes duplicates more likely as it only requires a race condition on incrementing the sequence number,
    # rather than both clock value and sequence number. I found this necessary to observe duplicates when using MRI.
    Timecop.freeze

    threads = num_threads.times.map do
      Thread.new do
        uuids = []
        num_uuids.times do
          uuids << Cequel.uuid
        end
        uuids
      end
    end

    count = 0
    duplicate_count = 0
    threads.map(&:value).flatten.each_with_object(Set.new) do |uuid, set|
      count += 1
      unless set.add?(uuid)
        duplicate_count += 1
      end
    end

    puts "Generated #{count} uuids with #{duplicate_count} duplicates"
  end
end

ThreadedCequelUuidTester.run(num_threads: 8, num_uuids: 1_000_000)

forking_cequel_uuid_tester.rb
require "set"
require "cequel"
require "parallel"

class ForkingCequelUuidTester
  def self.run(num_processes:, num_uuids:)
    Cequel.uuid # Initialize the memoized Cassandra::TimeUuid::Generator

    results = Parallel.map(Array.new(num_processes), in_processes: num_processes) do
      uuids = []
      num_uuids.times do
        uuids << Cequel.uuid
      end
      uuids
    end

    count = 0
    duplicate_count = 0
    results.flatten.each_with_object(Set.new) do |uuid, set|
      count += 1
      unless set.add?(uuid)
        duplicate_count += 1
      end
    end

    puts "Generated #{count} uuids with #{duplicate_count} duplicates"
  end
end

ForkingCequelUuidTester.run(num_processes: 8, num_uuids: 1_000)

benchmark_uuid_generation.rb
require "cassandra"
require "benchmark/ips"

module UUIDTester
  class << self
    def unsafe_uuid
      unsafe_uuid_generator.now
    end

    def threadsafe_uuid
      threadsafe_uuid_generator.now
    end

    def threadsafe_and_forksafe_uuid
      threadsafe_and_forksafe_uuid_generator.now
    end

    def new_every_time_uuid
      Cassandra::TimeUuid::Generator.new.now
    end

    private

    def unsafe_uuid_generator
      @unsafe_uuid_generator ||= Cassandra::TimeUuid::Generator.new
    end

    def threadsafe_uuid_generator
      Thread.current[:threadsafe_uuid_generator] ||= Cassandra::TimeUuid::Generator.new
    end

    def threadsafe_and_forksafe_uuid_generator
      current_pid = Process.pid
      if Thread.current[:threadsafe_and_forksafe_uuid_generator_pid] != current_pid
        Thread.current[:threadsafe_and_forksafe_uuid_generator_pid] = current_pid
        Thread.current[:threadsafe_and_forksafe_uuid_generator] = nil
      end
      Thread.current[:threadsafe_and_forksafe_uuid_generator] ||= Cassandra::TimeUuid::Generator.new
    end
  end
end

puts "#{RUBY_VERSION} #{RUBY_PLATFORM}"

Benchmark.ips do |x|
  x.report("unsafe_uuid") { UUIDTester.unsafe_uuid }
  x.report("threadsafe_uuid") { UUIDTester.threadsafe_uuid }
  x.report("threadsafe_and_forksafe_uuid") { UUIDTester.threadsafe_and_forksafe_uuid }
  x.report("new_every_time_uuid") { UUIDTester.new_every_time_uuid }
  x.compare!
end

Results:
2.7.3 x86_64-linux
Warming up --------------------------------------
         unsafe_uuid    56.290k i/100ms
     threadsafe_uuid    54.898k i/100ms
threadsafe_and_forksafe_uuid
                        37.384k i/100ms
 new_every_time_uuid    18.815k i/100ms
Calculating -------------------------------------
         unsafe_uuid    559.430k (± 4.4%) i/s -      2.814M in   5.042673s
     threadsafe_uuid    541.709k (± 4.9%) i/s -      2.745M in   5.080132s
threadsafe_and_forksafe_uuid
                        366.511k (± 5.0%) i/s -      1.832M in   5.011552s
 new_every_time_uuid    195.445k (± 3.1%) i/s -    978.380k in   5.010802s

Comparison:
         unsafe_uuid:   559430.0 i/s
     threadsafe_uuid:   541708.8 i/s - same-ish: difference falls within error
threadsafe_and_forksafe_uuid:   366511.5 i/s - 1.53x  (± 0.00) slower
 new_every_time_uuid:   195445.4 i/s - 2.86x  (± 0.00) slower

Realized there was still a case that could lead to generator state being shared between processes. Added a commit to address it.


feat: support Expo SDK 51

Summary
https://expo.dev/changelog/2024/05-07-sdk-51
Todo

[x] Bump plugin dependances
[x] Bump examples to Expo 51
[ ] Handle new android build (gradle 9)
[x] Update README.md

Issue
https://github.com/achorein/expo-share-intent/issues/58

Here you have the diff file for the new gradle build: https://gist.github.com/brentvatne/88e27545243b828554bb376a7e6dd08d


redesign, reduce scripts, increase UX

see https://github.com/devonfw/devon-ide/wiki/Redesign

PR #32 has been merged. Hence done. I might do some polishing commits with this issue id but can already close this.

Mhm, scripts in top-level dear are not yet complete and reduced as planned. Hence reopening.

So the only thing left to do woud be:

create a commandlet(s) to open console (cmd, cygwin, git-bash, iTerm2, powershell, etc.)
delete current console scripts (console.bat, console-*.bat)
optionally create OS specific console script on setup
consider about ConEmu / Commander support (IMHO some optional addon to be explained/scripted in system/windows folder).

So the only thing left to do woud be:

create a commandlet(s) to open console (cmd, cygwin, git-bash, iTerm2, powershell, etc.)
Created issue #61
delete current console scripts (console.bat, console-*.bat)
Part of #61
optionally create OS specific console script on setup
Created issue #60
consider about ConEmu / Commander support (IMHO some optional addon to be explained/scripted in system/windows folder).
Created issue #62

Hence I will close this issue that already has a very long history and gets messy.


Disable pointer on disabled buttons

Changed none->default.  Sorry for the confusion.
@derekcecillewis thanks for spotting this.

Agreed it should be default, i guess that is what @derekcecillewis has been trying to say (I was thinking none was the default :))

@sebastianbenz - i think your style should not be on :focus can you re do this?

@camelburrito Why is that? I thought disabled elements can't accept focus.


Something invalidating Enzyme.__init__ causes a heavy package load time penalty

When loading OmniPackage.jl(https://github.com/JuliaComputing/OmniPackage.jl/) a big part of its load time (around 10s) is spent compiling and running the __init__ method in Enzyme, profile available at https://kristofferc.github.io/tracy-traces/omnipackage/.
Ideally, Enzyme would somehow protect itself against this, by either making the code in __init__ less vulnerable to invalidations or some other way (maybe using a frozen world age).
cc @vchuravy

This should now be resolved by https://github.com/EnzymeAD/Enzyme.jl/pull/881

I am not sure that fixed all instances. Need to confirm with an actual profile

I just want to point out that this is still happening and causes ~18s load time increase to any package that recursively ends up getting Enzyme as a dependency.

hm @KristofferC do you have any information regarding what could be causing this?

Someone adds a method that invalidates some function called in Enzyme.__init__.
Enzyme.__init__ in invalidated and has to be recompiled at load time.
Compiling Enzyme.__init__ takes about 18 seconds.

is there a tool or something to profile what methods/invalidations are the source?

One would usually use SnoopCompile. I can try (later) to see if I can find what actually ends up invalidating it.

julia> @time using Tracker
1.450969 seconds (1.83 M allocations: 109.970 MiB, 7.33% gc time, 31.56% compilation time: 26% of which was recompilation)

julia> @time using Enzyme
 21.592203 seconds (43.97 M allocations: 2.517 GiB, 1.84% gc time, 98.84% compilation time: 100% of which was recompilation)

is some sort of MWE. Will narrow it down more.

Okej, Tracker committed the mortal sin of defining show on a Type. With https://github.com/FluxML/Tracker.jl/pull/156 this is improved to
julia> @time using Tracker
  1.463012 seconds (1.90 M allocations: 113.004 MiB, 4.50% gc time, 25.19% compilation time: 16% of which was recompilation)

julia> @time using Enzyme
  0.590007 seconds (589.92 k allocations: 33.254 MiB, 14.00% gc time, 56.16% compilation time: 99% of which was recompilation)

Anyway, as a question, is there anyway this work can be moved from __init__ to until when it is actually needed? So you pay the cost if you use it but otherwise not?

It seems to me that that __init__() is just setting up ptr_map which is only used by restore_lookup, which could just do an initialization check, and if ptr_map is not initialized, it runs that setup code.

From some testing, it seems the __init__ that takes a long time to compile is https://github.com/EnzymeAD/Enzyme.jl/blob/019258a55ce7f9699c91cb87bb584640dd5b33e2/src/compiler.jl#L2425-L2454

Okay if that init takes longer to compile I am a bit more unclear how to resolve it.
So some context, this code interfaces between Enzyme proper (aka Enzyme_jll) and Enzyme.jl to registister all of the julia specific handling. As a result this actually is most of Enzyme.jl's code, so this is highly desirable to be precompiled.
this is done by taking many functions in Julia code, making a cfunction of it, then passing the Julia cfunction runtime pointer into Enzyme_jll. While the actual call to pass the pointer (and the pointer itself) are runtime specific values, the actual compilation of those cfunctions on those specified types is fixed, and should be in theory able to be precompiled (but I presume not in practice here).
Those cfunctions are wrapped in a macro (see here: https://github.com/EnzymeAD/Enzyme.jl/blob/019258a55ce7f9699c91cb87bb584640dd5b33e2/src/rules/llvmrules.jl#L1030 ) which creates an anonymous wrapper function to make it easier, which perhaps makes things more difficult.
Regardless, I'm not sure what the state of julia internals for precompilation are here, but that's what I can see from our end.

Running the register_llvm_rules() in a module where optimizations are turned off more or less fixes the bad behavior:
https://github.com/KristofferC/Enzyme.jl/commit/4246ddb42b18ef43958774b13621f6160f7992a8#diff-21145f7299f4174cfb41f7c0c845a0ee798fc065bae0a352171552dc4b810508R1033
However, I have no idea what impact this has on runtime performance so that would have to be investigated. Might not be a good idea at all.

Yeah disabling optimizations seems like a bad idea.
Is there any other way we can cut down on load time here?
On Mon, Nov 20, 2023 at 3:29 AM Kristoffer Carlsson <
@.***> wrote:

Running the register_llvm_rules() in a module where optimizations are
turned off more or less fixes the bad behavior:
@.***
#diff-21145f7299f4174cfb41f7c0c845a0ee798fc065bae0a352171552dc4b810508R1033
https://github.com/KristofferC/Enzyme.jl/commit/4246ddb42b18ef43958774b13621f6160f7992a8#diff-21145f7299f4174cfb41f7c0c845a0ee798fc065bae0a352171552dc4b810508R1033
However, I have no idea what impact this has on runtime performance so
that would have to be investigated. Might not be a good idea at all.
—
Reply to this email directly, view it on GitHub
https://github.com/EnzymeAD/Enzyme.jl/issues/776#issuecomment-1818776971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJTUXDWSHKOS7FYUK3RHJDYFMWGZAVCNFSM6AAAAAAXJ25G6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYG43TMOJXGE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Is there any other way we can cut down on load time here?

I guess these are the possibilities:

Move things from load time to "on demand time" (compute things when they are actually needed).
Make the code in Enzyme easier to compile / move more of the Enzyme __init__ to precompilation.
Improve the Julia compiler.

Yeah disabling optimizations seems like a bad idea.

I think disabling optimizations for the registration functions should be fine.
But I wonder if it impacts the callbacks, if it is only the trampoline that should be fine.

But I wonder if it impacts the callbacks, if it is only the trampoline that should be fine.

That's what I was worried about as well. I think the compilation time was in fact partly due to inferring the callbacks so my change making things faster probably means the callbacks also stopped getting inferred...

Concretly we are spending ~30s on compiling init


Downloads 3 of each image

I ran the script on my Instagram account and it downloaded 3 copies of each image on my profile

This issue has been fixed -- it was downloading different versions of the same image formatted for different devices.
Thanks for bringing this up!


Test warning

Generate a warning to users if they build the Excimontec and try to run calculations without first running the tests on their computing system.

This is somewhat related because as is the system tests won't run unless sbatch command is found:
https://github.com/MikeHeiber/Excimontec/issues/38


Can't add reference to Google.Cloud.Diagnostics.AspNetCore in VS2017

Create an ASP.NET Core 1.0 application
In "Manage NuGet packages" try to install Google.Cloud.Diagnostics.AspNetCore

Error:
Restoring packages for C:\Users\skeet\Test\Projects\Issues\Issue1448\Issue1448\Issue1448.csproj...
Detected package downgrade: Microsoft.Extensions.Logging.Debug from 1.1.2 to 1.0.2. Reference the package directly from the project to select a different version.
 Issue1448 (>= 1.0.0) -> Google.Cloud.Diagnostics.AspNetCore (>= 1.0.0) -> Microsoft.Extensions.Logging.Debug (>= 1.1.2)
 Issue1448 (>= 1.0.0) -> Microsoft.Extensions.Logging.Debug (>= 1.0.2)
Package restore failed. Rolling back package changes for 'Issue1448'.
Time Elapsed: 00:00:01.9913824

VS2017 version 15.3.4
The problem is that the default csproj file contains:
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.2" />

... whereas we depend on 1.1.2.
Options for user:

Update the dependency to 1.1.2 or higher
Remove the explicit dependency
Use ASP.NET Core 1.1 from the start

Given that ASP.NET Core 2.0 is now the default, maybe this isn't an issue... but I thought it worth recording, as we may want to document it.

@jskeet  Would it be worth downgrading this to 1.0.? We don't need anything in 1.1. that's not in 1.0.*

Not sure which "this" you mean in terms of downgrading. The reference in our library? Not sure.
(Given #1448, we'll be creating a new major release anyway, so I guess it's okay to do that.)

Sorry I should have been more explicit.  Downgrade all of the Microsoft references to point to 1.0

Right. I think that would probably make sense, yes.


P+1:  Create description and diagram of the architecture and purpose of PDM

DoD:
The architecture and purpose of the system are presented in an overview of about 1–1.5 pages including a diagram.

closed by PR #32


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit 5255067:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-20-11-22-20 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-20-11-22-20

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix json deserialization of multi-valued authorization request parameters

I have tested this mixin on a sample spring authorization server app, by registering the mixin on a custom JdbcOAuth2AuthorizationService bean.
Authorization flow now works correctly without throwing on multi valued parameters. String[] is correctly serialized & deserialized.
Closes gh-1666

Thanks for the fix @MrJovanovic13 ! This is now merged.


Fix: dropdown in faq section

Title
Dropdowns in the FAQ section
Related Issue(s)
#24
Additional Info
Added some css to the FAQ text <div>
https://github.com/Arindam200/makaut_buddy/assets/116938919/ee0ad9db-6a91-41c4-82d8-984edb1ec49f

Summary by CodeRabbit
Release Notes

Style: Updated the FAQ component with enhanced positioning and padding for improved user interface.
Chore: Added a new href="#" attribute to the Navbar component's Link, which may cause the page to scroll to the top when clicked. This is a placeholder for future functionality.
Style: Introduced a new height option in the Tailwind CSS configuration, allowing for more precise control over component styling. This change is reflected in the FAQ component where the height of an element has been set to 540 pixels.

i made a new branch this issue and the commit of previous issue i resolved is also reflected in it should i delete the href="#" from this commit

@Arindam200 please review it

Please remove unnecessary padding, it's creating extra blank spaces.

please make it clear which paddings and what changes need to be made

Hey @nikhilgarg26 we wanted Only the right-side questions (drop-downs) section should move and respond to the animation. That means the height of the FAQ section should be constant.

Hey @nikhilgarg26 we wanted Only the right-side questions (drop-downs) section should move and respond to the animation. That means the height of the FAQ section should be constant.

https://github.com/Arindam200/makaut_buddy/assets/116938919/06767a4a-b2d5-4d73-8cbf-a6f0af68b440
is this correct @Arindam200 then i would create a pr

i have made the changes please review it @Arindam200

Kindly check the deployment @Arindam200 and merge the PR 👍

Hey, @nikhilgarg26 ! Great Work!
It's working for Large screens. Can you fix that for the small screens ??

** Swpn0neel ** approved these changes

i guess for that we need to make the footer moving up down with the right side animation and we can fix the position of FAQ left side

Hey, @nikhilgarg26 ! Great Work!
It's working for Large screens. Can you fix that for the small screens ??

i guess for that we need to make the footer moving up down with the right side animation and we can fix the position of FAQ left side

Hey, @nikhilgarg26 ! Great Work!
It's working for Large screens. Can you fix that for the small screens ??

i guess for that we need to make the footer moving up down with the right side animation and we can fix the position of FAQ left side

No, you just have to give the height of that section in 'rem'/ Tailwind CSS's default unit.. not in px.

please check

Resolve @nikhilgarg26


[BUG] camelCase column jsonSet error

https://github.com/bingtsingw/orchid-reproduction

I published a fix


Reinstate proper permission checking

See TODO: here https://github.com/datahq/bitstore/commit/e47a62937b580683baa3f2d383b607066489b6f0?diff=unified#diff-ef6c11d0e1f2862e56b50cae69053172R30
Also need to re-add SERVICE_NAME to allow for multiple deployments of this app as different services (e.g. rawstore and pkgstore).

FIXED/OBSOLETE services are checked here https://github.com/datahq/auth/blob/master/auth/permissions.py#L13 and permissions assigned appropriately


Short solution needed: "Change tab size" (vim)

Please help us write most modern and shortest code solution for this issue:
Change tab size (technology: vim)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Change tab size


Babel Preset Env by default

From http://babeljs.io/env

We’re super 😸 excited that you’re trying to use ES2015 syntax, but instead of continuing yearly presets, the team recommends using babel-preset-env. By default, it has the same behavior as previous presets to compile ES2015+ to ES5.

feel free to submit a pr to react-native to handle this. we just inherit the preset from there. https://github.com/facebook/react-native


Proposal: add public type hints

Hi @aroberge,
since friendly only supports Python 3.6 and onwards, what do you think about (gradually) introducing type hints? We can gladly help, since we already maintain PEP 561 stubs for selected modules.

I currently have no plans to use type hints but I would have no objections in accepting contributions to support them provided they did not create complications dealing with circular imports -- I seem to remember reading that this was a problem in some situations.

You mentioned stub files ...  I have no experience with using type hints but, all things being equal, I would prefer type hints to be included in the .py files themselves rather than in separate files.

@aroberge sure, inline typing is the best option - stubs are only helpful in the case if the library can't/won't accept inline typing for specific reasons.


⚠ Samsung has degraded performance

In 93d3aae, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1963 ms

Resolved: Samsung performance has improved in 827892e.


Use license_files instead of depreceated license_file

I saw this in the setuptools changelog: https://setuptools.readthedocs.io/en/latest/history.html#v56-0-0

there's a duplicate issue, this feature is too new


Directly use MagicBus to manage Kolibri's state

With Kolibri 0.15, KolibriProcessBus provides a state machine to manage
starting and stopping Kolibri. With this new functionality, we can
remove most of the existing code in kolibri-daemon for stopping and
starting Kolibri, and instead populate KolibriServiceContext by using
MagicBus plugins. Instead of using LauncherProcess to communicate with a
a collection of Kolibri-related processes, KolibriServiceManager can use
a similar interface to communicate with a single DjangoProcess.
https://phabricator.endlessm.com/T32972

I think we have images out in the wild which rely on content extensions - https://github.com/endlessm/endless-image-config/search?q=org.learningequality.Kolibri.Content - won't this make a bunch of content disappear when they OTA update the Kolibri app?

@ramcq oh yeah, that wasn't a dream. Okay, I'll need to put it back, but I think it can be a bit less complicated now at least :) I'll make a Phabricator ticket to track deprecating the things.

Thanks for taking a look! I rebased this to organize the various redundant changes into some more organized commits.


⚠ Samsung has degraded performance

In b60df35, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2687 ms

Resolved: Samsung performance has improved in 81cc655.


initial setup for storing secrets

We needed a way to store k8s secret objects, which right now are holding:
---
apiVersion: v1
kind: Secret
metadata:
  name: oauth2-proxy-config
  namespace: infra
type: Opaque
data:
  client_id:
  client_secret:
  cookie_secret:
---
apiVersion: v1
kind: Secret
metadata:
  name: grafana-secrets
  namespace: infra
type: Opaque
data:
  admin_user:
  admin_password:
  secret_key:

Other than that this PR also sets up Terraform "remote storage" via Google Cloud Storage (GCS), which also give us state locking. (We can't get out of sync across machines.)

I pushed those last couple of commits because the remote state change.


Explore - Establish a metric for 'most active' resource

Problem:
During user research users expressed a preference for having a multi-sort with the following options:

Alphabetical (default) ref issue #66
Popularity
Most Active

In order to implement sorting by 'most active', it must first be determined what metrics to use as a measure of 'most active'.
Goal:

The goal of this explore is to establish metrics that quantifies a meaningful measure of 'most active' based on what is possible and what is important to users.

Validation:
Below are some examples of quotes validating the user preference for multi-sort for resources with the options of alphabetical, popularity and most active.
"a good resource is maintained - can tell by number of commits - or just have a label for 'actively maintained'"
"actively supported or not would be even better"
"Something that shows me that it is active and not dead"
"Allows me to see how active it is"
Thoughts and Questions:
This explore could be approached as follows:

Identify what are the most important/meaningful measures of 'most active'
Based on variables identified in step 1 above confirm what can be captured
Assign weights to variables that reflect degree of importance to user


Rarity data: Show percentage of each attribute's occurrence in collection

This pull request adds a rarityData.js file that prints out the percentages of each attribute's occurrence throughout the collection. I added the layer name (calling it trait_type) to the metadata to make things easier. This seems to be typical of candy machines like metaplex anyway.
Example output:
Layer: ball
[
  { value: 'red eye ball super rare', percentage: 0 },
  { value: 'eye ball rare', percentage: 20 },
  { value: 'green eye ball rare', percentage: 20 },
  { value: 'grey eye ball', percentage: 10 },
  { value: 'red eye ball', percentage: 50 },
  { value: 'white eye ball', percentage: 0 }
]
Layer: eye color
[
  { value: 'red big super rare', percentage: 0 },
  { value: 'red small super rare', percentage: 20 },
  { value: 'pink big rare', percentage: 0 },
  { value: 'pink small rare', percentage: 10 },
  { value: 'purple big rare', percentage: 10 },
  { value: 'purple small rare', percentage: 30 },
  { value: 'cyan big', percentage: 10 },
  { value: 'cyan small', percentage: 10 },
  { value: 'green big', percentage: 0 },
  { value: 'green small', percentage: 0 },
  { value: 'yellow big', percentage: 10 },
  { value: 'yellow small', percentage: 0 }
]
Layer: iris
[
  { value: 'small super rare', percentage: 10 },
  { value: 'medium rare', percentage: 40 },
  { value: 'large', percentage: 50 }
]
Layer: shine
[
  { value: 'shapes super rare', percentage: 10 },
  { value: 'shapes rare', percentage: 40 },
  { value: 'shapes', percentage: 50 }
]
Layer: bottom lid
[
  { value: 'low bottom super rare', percentage: 10 },
  { value: 'tilted bottom rare', percentage: 40 },
  { value: 'high bottom', percentage: 50 }
]
Layer: top lid
[
  { value: 'tilted top super rare', percentage: 10 },
  { value: 'low top rare', percentage: 40 },
  { value: 'high top', percentage: 50 }
]

Amazing! Is there a way to impliment this into the Hashlips/Generative-Art-Engine code?

You mean HashLips/hashlips_art_engine? Yea I made a pull request there too and it’s currently merged in with main. See the bottom of the readme on that repo

Exactly what I meant, great work! Thanks!

Thanks mate, such a great feature! If I generate the metadata.json and run the util it works, however if I rerun index.js to rebuild my images and jsons (including metadata.json) it returns the previous data, not the updated data. Have you encountered this?

@DanChapp Hmm, I don't see that problem for me. Do you mean rarityData.js will use metadata from your initial index.js run? If I rerun index.js and then rarityData.js, the rarity data gets updated. rarityData.js reads in from ./output/_metadata.json so make sure that file is getting overwritten each time you run index.js


Out-of-memory problem when reproducing KittiCaltech and Human3.6M dataset

Hi, I've encountered OOM issues when training SimVP-gSTA model for KittiCaltech and Human3.6M dataset.
My GPU device is a single V100. What's the GPU device of official implementation for these two datasets?
Maybe I need a single A100 for SimVP-gSTA to avoid OOM?

have you tried smaller batch size?

have you tried smaller batch size?

Yes. But smaller batch size cannot guarantee SOTA results.

That's the only solution for your out-of-memory issue. You can either choose to train the model in a smaller batch size or FP16 mixed precision. I don't understand why you think a smaller batch size would affect performance. From my experience, the batch size doesn't really affect performance a lot.

Hi, I've encountered OOM issues when training SimVP-gSTA model for KittiCaltech and Human3.6M dataset.
My GPU device is a single V100. What's the GPU device of official implementation for these two datasets?
Maybe I need a single A100 for SimVP-gSTA to avoid OOM?

Hi, @Pachark, thanks for your question. We suggest you use 4xGPUs to reproduce Human3.6M experiments, which require A100-40G or V100-32G. You might need 8xGPUs with small memory.


Create a trimming section

Migrated from rnabio.org proposed improvements page
Create a wiki section and exercise that summarizes read trimming concepts. Start with some raw data, including aligned reads. Align these reads without any trimming and assess alignment statistics using Picard, FastQC, etc. Now take these same reads and perform both adaptor trimming and quality trimming. Re-align the trimmed reads and assess the effect of trimming on alignment metrics.
Note: we do have an okay trimming section now, but it should really be starting with raw reads, rather than those that had already been proven to align to chr 22. This makes it harder to see the value of trimming by comparing alignment pre/post trimming. Instead we should perhaps get chr22 matching reads by k-mer analysis (kallisto), then trim (adapter and/or quality), then align trimmed and untrimmed, and summarize the difference.

We have a pretty decent trimming section now.


How can I mark an entire chat as read

I want to implement a button in my client which mark the chat as read but there are only methods to read all reactions and mentions but not messages.

Chats are read automatically when their messages are viewed using viewMessages method. The method also has force_read parameter, which can be used to implement the button.

But how can I get all unread messages IDs? What IDs I should put as parameter


ansible-operator: pin to ansible-operator-base:c6796de9b29ace4f4c737325c9037f6f715ce6d1

Description of the change:

images/ansible-operator/Dockerfile: pin to ansible-operator-base:c6796de9b29ace4f4c737325c9037f6f715ce6d1

Motivation for the change: https://github.com/operator-framework/operator-sdk/runs/2098944365
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

doesn't seem like it blows anything up
/lgtm

/retest


Node Modules Should Be pub(crate)

While the node project has types it exposes as a library, it has many implementation details that it leaks.
Enforcing that modules be pub(crate) allows the compiler to statically analyze these implementation details, identifying dead code.

Closed with #1843


Escape double quotes in macro

stager/windows/macro doesn't work when Obfucate is set to True. With this PR, it does.
Problem was that the obfuscated launcher command included doublequotes, resulting in a syntax error in the macro.

@magnusstubman I tested your PR with Office 2016. It looks like the stage 0 request does not contain the routing packet.


DHCP: Make pretty on client and server

Nit: I didn't have any tabs in the code on my local machine before.
This PR is the output of make pretty after performing configure with dhcp client and server enabled.

Current coverage is 73.79% (diff: 58.20%)

Merging #955 into master will decrease coverage by 0.12%

@@             master       #955   diff @@
==========================================
  Files           118        117     -1
  Lines         17615      17022   -593
  Methods        2452       2365    -87
  Messages          0          0
  Branches       2127       2058    -69
==========================================
- Hits          13020      12561   -459
+ Misses         3905       3813    -92
+ Partials        690        648    -42

Powered by Codecov. Last update dd44c23...1df9062


Documentation page load speed

🐛 Bug
Documentation loads slowly due to lots of assets. For example, in Firefox, this page https://pytorch-lightning.readthedocs.io/en/stable/trainer.html takes 12 s to load and downloads 18 MiB. In Chrome (vanilla configuration) it takes 34 s and loads 36 MiB.
In Firefox most of the time is spent making request (> 100 requests), and most data comes from large video preview files. In Chrome most time is spent downloading the first few seconds of each of the videos.

Thanks for the issue! If you have any ideas to speed up, would be great :)

Why are you considering this a won’t fix?


⚠ Bofrost.de has degraded performance

In cb48295, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2891 ms

Resolved: Bofrost.de performance has improved in a4f9fd2 after 10 minutes.


TypeError: Image.extend is not a function on NextJS

Package version: 1.0.1
NextJS version: 13.1.1
Tiptap Image extension version: 2.4.0
When running next build to build the website, the command fails with the following error:
TypeError: Image.extend is not a function
    at Object.<anonymous> (/<redacted>/node_modules/tiptap-extension-upload-image/dist/index.cjs.js:43:27)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)

I ran into the same problem using sveltekit. The problem here is that both Sveltekit and NextJS try to run this on the server.
If you make sure the import only happens in the browser, it will work. I think you can use the use client directive in next. For Sveltekit, I made it work by importing the image dynamically in the browser:
import { browser } from '$app/environment';

if (browser) {
  const module = await import('tiptap-extension-upload-image');
  const UploadImage = module.default;
}


Router and titleComponent

Hello @t4t5.
Is there a way how to set "titleComponent" on router?
I need to change title/name ('Home') for search component (SearchBar) without any "click/press" action.
Thank you very much.
//twitter-example/index.js
var firstRoute = {
  name: 'Home',
  component: HomePage,
  leftCorner: AddPeople
};

var TwitterApp = React.createClass({
  render() {
    return (
      <Router
        firstRoute={firstRoute}
        headerStyle={styles.header}
        backButtonComponent={BackButton}
        rightCorner={SearchAndCompose}
      />
    )
  }
});

//twitter-example/components/icons/SearchAndCompose.js
var SearchBar = React.createClass({
  render() {
    return (
      <TextInput style={styles.input} placeholder="Search Twitter" />
    )
  }
});

var SearchAndCompose = React.createClass({

  goToSearch: function() {
    this.props.toRoute({
      name: "Search",
      component: SearchPage,
      rightCorner: ComposeIcon,
      titleComponent: SearchBar
    })
  },

Any idea @t4t5?

Could you pass the initial text down in state then change the variable? It might trickle down but I'm not sure.

Thank you @MossP.
I already moved to https://github.com/Kureev/react-native-navbar a week ago.
Because of lack of support from author.

I had been using that, but got stuck with it. How are you finding it? Do you have a sample app that you could post using it? (I'm new to React).

Hey @JonasJonny. Sorry for the late reply, I have been very busy this last month. :-)
I'm not sure I understand your use case. Maybe the other library solved your problems and in that case you should ofc stick with it, but if not, would you mind clarifying what sort of behaviour you're looking for in your app?
Cheers.

titleComponent should be set as a route property along with name and component


App Engine build times out, cant find cache in build?

Hi, I'm doing a deploy onto app engine, the only code change is the removal of some text in a  tag.
My old deploys look like this

The new build tho, looks like this and then times out: (to trouble shoot I did some updating on the nodejs and yarn version)

I'm not sure what could be causing this since the only change in the new deploy is literally erasing a sentence in a p tag.
Thanks

randomly decided to work one day 🤷


Grading container network access

On SDMM, the grading container is able to connect to the geolocation service at http://sdmm.cs.ubc.ca:11316 (desired) but without needing to be launched with a hosts entry using --add-host sdmm.cs.ubc.ca:IP_ADDR. Need to figure out how it is able to resolve the hostname since DNS should be block (port 53). The Docker daemon might be forwarding the requests bypassing iptables. It also appears that it is possible for containers on the grading_net to connect to other hosts (e.g. google.ca):
$ docker run --rm=true --net grading_net alpine wget http://google.ca --timeout=10
Connecting to google.ca (<IP_ADDRESS>:80)
Connecting to www.google.ca (<IP_ADDRESS>:80)
index.html           100% |*******************************| 11239   0:00:00 ETA

In the FORWARD chain, the rule to drop all traffic from the grader_net came after the default rule to accept all traffic from anywhere. To fix, I inserted the rule before the default accept. I also noted this in the deploy.md doc.


See issue 7393. I have provided more information, but I don't know how to reopen issue 7393.

Describe the bug
[A clear and concise description of the bug]
Steps to Reproduce
1.
2.
3.
Expected behavior
[A clear and concise description of your expectation]
Additional context and screenshots
[Add any other information such as screenshots, error message, or stack trace]
Sample Code
XXX

Configuration information (If you are providing a diagnostics file (see below), skip this section)
VS Version: [Can be found under "Help->About Microsoft Visual Studio"]
PTVS version: [Can be found under "Help->About Microsoft Visual Studio->Installed products->Python with Pylance"]
Python version:
Debugger Type (if applicable): [New debugger or legacy debugger?]
Diagnostics file
The diagnostics file contains information such as the Python version, environments, loaded assemblies, configuration options, etc. This file makes it easier for us to reproduce and fix bugs, so we would really appreciate it if you could provide it to us. This file can be generated by going to Tools->Options->Python->Diagnostics.
You can attach the file to this issue or email it to us at<EMAIL_ADDRESS>If you email it, please add a link to this issue.
XXX

Thanks for providing more info, I just reopened the ticket and will take a closer look. Thanks!


Any news ?

Hi @rfdy,
could you take a look about this: https://www.phpbb.com/community/viewtopic.php?p=14263401#p14263401.

Hi @rfdy,
bump !

Hi @Galixte,
I apologize that we've been unresponsive.  Maintaining our open source extensions hasn't been very high on the priority list recently.
We appreciate the fixes from the community and will restart merging pull requests - beginning with your "All fixes" branch.

Thanks !-)

Any news rfdy?

@Leinad4Mind There is no new news.

Hi @Leinad4Mind do you think you can fix the last opened issues?


Moving statistics to separate Handler

Wouldn't be better and cleaner solution to move statistis to separate Handler? Than it would be more secure to use server without possibility of leaking info out.

Agreed, though please do note that security and information leakage avoidance are not really Seasocks's goals.

Yeah I know, but i wen through few implementations of WebServer with WebSockets and this is the first, that is possible to use.

Thanks! Glad it works for you; we use Seasocks in a semi-secure context but I'd hate to think anyone thought it had been designed for security :)


QoE performance

Dear Hongzi:
I did many experiments based on the pensieve's source code, but I cannot get the equivalent performance as reported in the sigcomm paper (12%-25% outperforms Robust-MPC).
Below is the result:
At first, I used the pre-trained model (i.e. pretrain_linear_reward.ckpt) provided in the source code to do the test with two sets of trace data (i.e. train_sim_traces and test_sim_traces) and the ENTROPY_WEIGHT=0.5:

Fig .1

Fig. 2
We can see that pensieve outperfomed Robust-MPC about 6~7%.
Second. I do the training by myself. I fixed the bug mentioned in #20 and followed the ENTROPY_WEIGHT tuning strategy in #11 . I also selected the model based on a validation set (parts of trace data provided in the source code) to avoid the fluctuation issue in #28 . The QoE function is the linear one:

Fig.3
We can see that the final testing performance is similar with that in #11  , but much worse than the performance in the sigcomm paper.
Did I do something wrong or anything important I didn't do, so that I couldn't get the same result as you described in the paper?
Can you pls give me a hand to solve these questions, any answer is highly appreciated.
Thanks a lot

Thanks for the effort of reproducing the results!
For your first figure, "...and the ENTROPY_WEIGHT=0.5", when you load a model and do testing, there is no need for setting an entropy weight. The entropy affects the exploration during training. Therefore, you want the entropy to be large in the beginning of the training phase and then decay it to a small value.
As for your optimization beyond our pre-trained model, I'm surprised that it doesn't beat the pre-trained model (sim_rl~43 in the figure). The best performance others achieve I heard is around 47 (which outperforms us, I'm trying to reproduce that too) in linear QoE. Can you let me know the exact steps you used to do the training? How many iterations did you do, how did you change the entropy weight, what set of traces did you use for training, etc.?
About the results we report, the largest performance gain we observed is with QoE_hd. A sanity check you can do after you train a model with that QoE is figure 3b. You should see the agent almost always alternative between those bitrate levels but not something in between. If your agent achieves that, you should observe similar performance gain as in the paper.

Dear Hongzi:
Thanks for your reply.
For the first two figure, I didn't do any  optimization beyond the pre-trained model. I just test the performance of the pre-trained model (sim_rl is pre-trained model; sim_bb is buffer based comparison algorithm). The trace data is cooked_test_trace. You mean that I should do the training beyond the pre-trained model with a ENTROPY_WEIGHT tuning strategy (e.g. #11) to get better performance?

These settings look reasonable. How do you pick the "best validation performance" (btw, test set shouldn't be validation set; but it is okay for debugging purpose)?
One other caveat is the data in dropbox link is a subset ("sample" data) of what we used for full training. Giving the agent more diverse data helps it learn better and more robust model. To generate more data, you can use the code in trace/. You might want to do this if your goal is to get the best learning model. We provide a minimum dataset mainly for others to quickly reproduce the first order of the results.
Nonetheless, for better understanding and debugging (I'm not clear if there is anything missed during your training) I would try QoE_hd https://github.com/hongzimao/pensieve/blob/master/sim/multi_agent.py#L260-L263 and do the sanity check in figure 3b (mentioned above).
Hope that helps.

Dear Hongzi:
Thanks for your suggestions, I will try QoE_hd later.
I just fixed a bug for picking the model with the best validation performance.
My current method is:
When the value of ENTROPY_WEIGHT needs to be changed,
I stop the program, load the previous trained model with the highest mean reward (use test_sim_traces for validation ), then .....
The updated performance is:

which is similar with the pre-trained model provided by you.
Does this method make sense?
and same with yours (except the selection of validation set)?
Thanks

This makes sense. Thanks.