Visualization of output prediction not working

Was able to successfully train ape dataset and test them. While testing i see the output logs but there is no visual output predicted image. I tried enabling "--vis", "--vis_video" & "--vis_video_zoom" while testing but i still don't see the images window. here is the output log on command prompt
python3 experiments/deepim/deepim_test.py --cfg experiments/deepim/cfgs/deepim_flownet_LM_SIXD_v1_ape_RFMx4_8epoch.yaml --gpus 0 --vis_video
parital log :
0907_222006@LM6D_REFINE.py:512] ==============================
[0907_222006@LM6D_REFINE.py:524] evaluating pose average re-projection 2d error
[0907_222046@LM6D_REFINE.py:602] ** ape, iter 1 **
[0907_222046@LM6D_REFINE.py:629] threshold=[0, 50], area: 96.40
[0907_222046@LM6D_REFINE.py:632] threshold=2, correct poses: 802.0, all poses: 1050.0, accuracy: 76.38
[0907_222046@LM6D_REFINE.py:637] threshold=5, correct poses: 1023.0, all poses: 1050.0, accuracy: 97.43
[0907_222046@LM6D_REFINE.py:642] threshold=10, correct poses: 1048.0, all poses: 1050.0, accuracy: 99.81
[0907_222046@LM6D_REFINE.py:647] threshold=20, correct poses: 1049.0, all poses: 1050.0, accuracy: 99.90
[0907_222046@LM6D_REFINE.py:650]
[0907_222046@LM6D_REFINE.py:602] ** ape, iter 2 **
[0907_222046@LM6D_REFINE.py:629] threshold=[0, 50], area: 97.40
[0907_222046@LM6D_REFINE.py:632] threshold=2, correct poses: 961.0, all poses: 1050.0, accuracy: 91.52
[0907_222046@LM6D_REFINE.py:637] threshold=5, correct poses: 1029.0, all poses: 1050.0, accuracy: 98.00
[0907_222046@LM6D_REFINE.py:642] threshold=10, correct poses: 1047.0, all poses: 1050.0, accuracy: 99.71
[0907_222046@LM6D_REFINE.py:647] threshold=20, correct poses: 1049.0, all poses: 1050.0, accuracy: 99.90
[0907_222046@LM6D_REFINE.py:650]
[0907_222046@LM6D_REFINE.py:602] ** ape, iter 3 **
[0907_222046@LM6D_REFINE.py:629] threshold=[0, 50], area: 97.56
[0907_222046@LM6D_REFINE.py:632] threshold=2, correct poses: 969.0, all poses: 1050.0, accuracy: 92.29
[0907_222046@LM6D_REFINE.py:637] threshold=5, correct poses: 1029.0, all poses: 1050.0, accuracy: 98.00
[0907_222046@LM6D_REFINE.py:642] threshold=10, correct poses: 1046.0, all poses: 1050.0, accuracy: 99.62
[0907_222046@LM6D_REFINE.py:647] threshold=20, correct poses: 1049.0, all poses: 1050.0, accuracy: 99.90
[0907_222046@LM6D_REFINE.py:650]
[0907_222046@LM6D_REFINE.py:602] ** ape, iter 4 **
[0907_222046@LM6D_REFINE.py:629] threshold=[0, 50], area: 97.61
[0907_222046@LM6D_REFINE.py:632] threshold=2, correct poses: 978.0, all poses: 1050.0, accuracy: 93.14
[0907_222046@LM6D_REFINE.py:637] threshold=5, correct poses: 1028.0, all poses: 1050.0, accuracy: 97.90
[0907_222046@LM6D_REFINE.py:642] threshold=10, correct poses: 1047.0, all poses: 1050.0, accuracy: 99.71
[0907_222046@LM6D_REFINE.py:647] threshold=20, correct poses: 1049.0, all poses: 1050.0, accuracy: 99.90
[0907_222046@LM6D_REFINE.py:650]
[0907_222046@LM6D_REFINE.py:654] ==============================
[0907_222046@LM6D_REFINE.py:659] ---------- arp 2d performance over 1 classes -----------
[0907_222046@LM6D_REFINE.py:660] ** iter 1 **
[0907_222046@LM6D_REFINE.py:662] threshold=[0, 50], area: 96.40
[0907_222046@LM6D_REFINE.py:663] threshold=2, mean accuracy: 76.38
[0907_222046@LM6D_REFINE.py:664] threshold=5, mean accuracy: 97.43
[0907_222046@LM6D_REFINE.py:665] threshold=10, mean accuracy: 99.81
[0907_222046@LM6D_REFINE.py:666] threshold=20, mean accuracy: 99.90
[0907_222046@LM6D_REFINE.py:667]
[0907_222046@LM6D_REFINE.py:659] ---------- arp 2d performance over 1 classes -----------
[0907_222046@LM6D_REFINE.py:660] ** iter 2 **
[0907_222046@LM6D_REFINE.py:662] threshold=[0, 50], area: 97.40
[0907_222046@LM6D_REFINE.py:663] threshold=2, mean accuracy: 91.52
[0907_222046@LM6D_REFINE.py:664] threshold=5, mean accuracy: 98.00
[0907_222046@LM6D_REFINE.py:665] threshold=10, mean accuracy: 99.71
[0907_222046@LM6D_REFINE.py:666] threshold=20, mean accuracy: 99.90
[0907_222046@LM6D_REFINE.py:667]
[0907_222046@LM6D_REFINE.py:659] ---------- arp 2d performance over 1 classes -----------
[0907_222046@LM6D_REFINE.py:660] ** iter 3 **
[0907_222046@LM6D_REFINE.py:662] threshold=[0, 50], area: 97.56
[0907_222046@LM6D_REFINE.py:663] threshold=2, mean accuracy: 92.29
[0907_222046@LM6D_REFINE.py:664] threshold=5, mean accuracy: 98.00
[0907_222046@LM6D_REFINE.py:665] threshold=10, mean accuracy: 99.62
[0907_222046@LM6D_REFINE.py:666] threshold=20, mean accuracy: 99.90
[0907_222046@LM6D_REFINE.py:667]
[0907_222046@LM6D_REFINE.py:659] ---------- arp 2d performance over 1 classes -----------
[0907_222046@LM6D_REFINE.py:660] ** iter 4 **
[0907_222046@LM6D_REFINE.py:662] threshold=[0, 50], area: 97.61
[0907_222046@LM6D_REFINE.py:663] threshold=2, mean accuracy: 93.14
[0907_222046@LM6D_REFINE.py:664] threshold=5, mean accuracy: 97.90
[0907_222046@LM6D_REFINE.py:665] threshold=10, mean accuracy: 99.71
[0907_222046@LM6D_REFINE.py:666] threshold=20, mean accuracy: 99.90
[0907_222046@LM6D_REFINE.py:667]
[0907_222046@LM6D_REFINE.py:669] ==============================
experiments/deepim/cfgs/deepim_flownet_LM_SIXD_v1_ape_RFMx4_8epoch.yaml 8

We removed the visualization code to keep the tester clean. It should be easy to implment your own visualization code.

Thanks for your prompt response. Does it mean you had it in previous commit?

Maybe some in the previous commit, but it might be incomplete. Basically you just need to fetch the output pose and visualize whatever you want (projected masks, corners, rendered object, bounding boxes, etc.)

@shivSD  Did you have accomplished the visualization of the result?


Breaks class properties of XmlHTTPRequest

When this library extends XMLHttpRequest here:
https://github.com/HubSpot/pace/blob/b202561ac0d5721a5df8d48dbf94f237c3d44405/pace.coffee#L343-L348
It doesn't bring along the properties of the XMLHttpRequest object itself. For example, XMLHttpRequest.DONE is supposed to be a constant, but after extension it's not.

Would that be the cause of
new XMLHttpRequest() instanceof XMLHttpRequest;   //false
?
I had some problems with it...

Yes, the extension strategy breaks that too.

I'm not sure this is the same issue, but I was working on a XMLHttpRequest methods reload and found that prototype is broken
console.log(XMLHttpRequest.prototype.send); // undefined
This may lead to incompatibility with custom code or other plugins, which rewrites the XMLHttpRequest  prototype. This can be fixed by adding:
XMLHttpRequest.prototype = Object.getPrototypeOf(new XMLHttpRequest);
after pace.js was initialized:
console.log(XMLHttpRequest.prototype.send); // function send() { [native code] }
On the OpenToke custom service mentioned that this issue can be fixed by adding
to.prototype = Object.getPrototypeOf(new from); before 375 line in the pace.js file.
See more: https://forums.tokbox.com/bugs/opentok-conflicts-with-pace-js-t46935

Is this fixed yet ?
Same as @jesjobom new instances returns false.

bump

Really bad issue, this breaks all sorts of scripts in subtle and frustrating ways.

why this issue was closed? the use of this library hangs implementation based on XMLHttpRequests . When it will be fixed?

Bump. It really conflicts with Symfony toolbar. No AJAX calls in the web profiler.

Thanks @ecolotko
Effectively! That instruction before line 375, has worked for me.
In case of using the version: pace.min.js, you only have to search for the statement:
:a[d]=b.prototype[d]:void 0)}catch(f){c=f}

Replace by:
:a[d]=b.prototype[d]:void 0)}catch(f){c=f}a.prototype = Object.getPrototypeOf(new b);

For those still working with bower, I suggest copying: pace.min.js (modified) and copying to an external route, and use: override.
Example:
     Pace
       "Main": [
         "/.client/content/scripts/custom/pace-custom.min.js",
       ]
     }

Best regards.

Thanks @1antares1
Update for version 1.0.2, search for:
a[d]=b.prototype[d]):e.push(void 0)}catch(f){c=f}
Fixed the conflict with Symfony Profiler.

Any reason why this wasn't fixed so far? Do you need a pull request?

What I've done is just declare const key instead of key only in this line 354
FIXED my issue with zone.js

I think I tracked this down to the key not being loop-localized in extendNative here: https://github.com/HubSpot/pace/blob/master/pace.coffee#L296 , so all the XMLHttpRequests property values end up as the value of the last-property-enumerated. I'll submit a PR, but it doesn't seem like there's anyone merging them for the last couple years.

CookiePro was also affected by this, which https://github.com/CodeByZach/pace/pull/504 successfully fixed. Good job!


Add some library to autocomplete demo.

Hello @ariya. How can I add some autocomplete for lodash in your example autocomplete?

Do you mean for http://esprima.org/demo/autocomplete.html? It may not easily work, because that autocompletion is done using Orion.

After taking another look, now I can fully confirm that you need to extend Orion to do that. Please consult the Orion development team for further details. Thanks!


[SPARK-34970][SQL][SERCURITY] Redact map-type options in the output of explain()

What changes were proposed in this pull request?

The explain() method prints the arguments of tree nodes in logical/physical plans. The arguments could contain a map-type option that contains sensitive data.
We should map-type options in the output of explain(). Otherwise, we will see sensitive data in explain output or Spark UI.

Why are the changes needed?

Data security.
Does this PR introduce any user-facing change?

Yes, redact the map-type options in the output of explain()
How was this patch tested?

Unit tests

Test build #136948 has started for PR 32066 at commit 7f8d34f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41524/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41524/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41524/

Test build #136948 has finished for PR 32066 at commit 7f8d34f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136948/

Test build #136986 has started for PR 32066 at commit b76f664.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41563/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41563/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41563/

+CC @xkrogen

Test build #136986 has finished for PR 32066 at commit b76f664.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136986/

GA passes. Merging to master and branch-3.1.


Header and Footer not rendering

Great library! The demo shots in README show a header and footer for one, which I'm interested in. I started playing with it and realized the header and footer are not being rendered. I ran it locally as well as tried the Expo demo. I am a RN n00b but will see if I can't figure it out. The only warning I saw so far was:

Any ideas?

Hey @kmcgill88, do you have a code sample of the data being passed to the component?

Its the same as your demo, I just cloned. I just confirmed this isn't rendering on the Android emulator either.
// list of images
const data = [
  {
    data: {
      caption: 'Summer Recipies',
      user: {
        name: 'Henry'
      },
    },
    uri: 'https://s-media-cache-ak0.pinimg.com/736x/32/7f/d9/327fd98ae0146623ca8954884029297b.jpg',
    renderFooter: (data) => {
      return (
        <View key='brick-header' style={{backgroundColor: 'white', padding: 5, paddingRight: 9, paddingLeft: 9}}>
          <Text style={{lineHeight: 20, fontSize: 14}}>{data.caption}</Text>
        </View>
      )
    },
    renderHeader: (data) => {
      return (
        <View key='brick-footer' style={styles.headerTop}>
          <Image
            source={{ uri: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTsO3JMW5pmK-pq9g3T-1znMMK8IEELKnasQ6agJANePV7Z0nwp9w' }}
            style={styles.userPic}/>
          <Text style={styles.userName}>{data.user.name}</Text>
        </View>
      )
    }
  },
  {
    uri: 'https://s-media-cache-ak0.pinimg.com/736x/b1/21/df/b121df29b41b771d6610dba71834e512.jpg'
  },
  {
    uri: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTQpD8mz-2Wwix8hHbGgR-mCFQVFTF7TF7hU05BxwLVO1PS5j-rZA'
  },
....

I'm using:
NPM: 5.3.0
with same dependencies you have in your package.json
"dependencies": {
    "react": "16.0.0-alpha.6",
    "react-native": "0.43.0",
    "react-native-masonry": "^0.1.0"
  },

All I did is clone, cd to example folder and read npm install then react-native run-ios

Use react-native-masonary ^v0.2.0, the render header and footer was implemented v0.2.0+. Also could use a PR to fix the packagr.json file 🙂

@brh55 PR #37 should do the trick. Thanks!

@kmcgill88 Thanks!


Multiple JWT Secrets Causing "Invalid Signature" Due to Incorrect Validation Order in KongConsumer

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I’ve encountered an issue with the JWT plugin when using multiple secrets under a KongConsumer during the JWT signing key rotation. Kong appears to process the secrets in reverse order (from bottom to top in the credentials list). If the first (bottom) secret is close to expiration but still technically valid, Kong will validate it first and ignore newer secrets, leading to an "Invalid signature" error once that secret expires. All these K8s secrets have the same issuer(.data.key).
Expected Behavior
Kong should search for a valid secret for JWT token validation, rather than use the fixed order.
Steps To Reproduce

Configure a KongConsumer with multiple JWT secrets:

apiVersion: configuration.konghq.com/v1
credentials:
 - new-jwt-secret
 - old-jwt-secret
kind: KongConsumer
metadata:
  name: kc
username: username

Add a JWT plugin to validate requests against the consumer.

apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: default-jwt
plugin: jwt

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    konghq.com/plugins: default-jwt
    konghq.com/preserve-host: "false"
    kubernetes.io/ingress.class: kong

Once the old-jwt-secret has expired, Kong still attempts to validate it first.

Requests return "Invalid signature" errors despite credentials contain new-jwt-secret.

Kong Ingress Controller version
2.9.3

Kubernetes version
Client Version: v1.31.0
Server Version: v1.29.3

Anything else?
No response

@yang-wang11 KIC's webhook will validate ALL credentials configured in KongConsumer. If any of the credentials is invalid, KIC will reject this KongConsumer.
If you want to rotate JWT key in KongConsumer, please remove the old-jwt-secret when you enable new JWT key in the new secret.

Closed as won't fix because:

KIC 2.9.3 has been end of support since March 2024.
The behavior is expected where the old secret attached to KongConsumer is also validated.


Problem with Gradle 4.9

Hi, after upgrade to Gradle 4.9 this library does not work again...

"does not work" is not a correct description of a problem. Any errors?
I will update the lib for as3.2 and gradle 4.9, but better to know what`s wrong.

The problem isn't with Gradle 4.9, but it's with com.android.tools.build:gradle:3.3.0-alpha06

With alpha04 no problem...with alpha05 I got an hint...with 06 I got an error:
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch


Add custom external logger

Many production systems will either omit console logs or emit them on a different platform (e.g. datadog). With the current system, there is no easy way to do this.
This PR introduces an optional setCustomLogger export to set the package wide logger. It takes in an object with 3 properties

type - "info" | "warn"
verbosity - 0 | 1 | 5 (info, warning, error)
message - string

Sorry, but I don't believe that this is something that we want to support since it'll add additional code/complexity for a feature that's completely unused in the PDF.js library itself.
Furthermore:

This won't actually work for any code running in the worker-thread, which is where most logging will occur.
It looks the patch will fail linting and testing.
Finally, given how this is implemented the new method isn't even accessible in the official API.


release: 1.2.0

[v1.2.0] (Feb 26 2024)
Feat:

Introduced mobile view support: Users can now enable mobile view compatibility using the enableMobileView prop. To enable, simply set enableMobileView={true}. Default value is true.

  <ChatAiWidget
    {...other props}
    enableMobileView={true / false}
  />

Implemented Sendbird ChatAiWidget self-service integration: Detailed instructions for self-service integration can be found at here.
Removed startingPage related logic and props:

These options, present since the early versions of the widget, have been deprecated due to extensive error pruning and lack of utilization in core functionalities. Related PR Link

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1141


Map field name for Netflow 9?

I have read example of decoded netflow 9 data. Why not map field name with value?
eg.
{"IPv4": "<IP_ADDRESS>"}
instead
{"I": "8", V:"<IP_ADDRESS>", }
It have another way to map value? Please advice me.

Same as above.


Header hover effect margins and paddings Fixed alongwith new icons

old:

new:

please review @Its-Aman-Yadav  this and merge this under GSSOC 24 and assign me, for any changes feel free to reach out

@Its-Aman-Yadav  Kindly Update me if u want me to make any other changes with it or please u may assign and merge it.


config: add responder and require LGTM prefix to pd

Codecov Report

Merging #119 (a9aeb7f) into master (8299a29) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   85.75%   85.75%
=======================================
  Files           9        9
  Lines         695      695
=======================================
  Hits          596      596
  Misses         56       56
  Partials       43       43

Flag
Coverage Δ

unittests
85.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

/status can-merge


PlugInstall outside of Vim?

Explain the problem here ...
Is it possible to run ":PlugInstall" and other commands from outside of Vim? Basically I am using ansible / jenkins in order to deploy my Vimrc which uses Vim-plug on all the servers. So PlugInstall would actually have to be executed as a bash command and not a Vim command.
Is it possible?

Type:

[ ] Question

OS:
Ubuntu 16.04
Vim:

[ ] Terminal Vim

@npsoni88: Have you tried vim +PlugInstall +qall?
Also note that this rather a general vim question and not a vim-plug issue.


Mi Air Purifier 3H issue

With your plug-in, my Mi Air Purifier 3H becomes unresponsive and can’t be controlled through both HomeKit and Mi Home app.

Well with the little information which you provided i suspect that it might be due to network issues on your side. It might also be that you are sending to many requests to the device in that case you would need to reduce the polling interval.

Well with the little information which you provided i suspect that it might be due to network issues on your side. It might also be that you are sending to many requests to the device in that case you would need to reduce the polling interval.

This is what I see in the log:
[1/19/2022, 3:56:31 PM] [miot] [Purificatore] Connected to device: zhimi.airpurifier.mb3
[1/19/2022, 3:56:31 PM] [miot] [Purificatore] Setting up device!
[1/19/2022, 3:56:31 PM] [miot] [Purificatore] Doing device specific setup
[1/19/2022, 3:56:31 PM] [miot] [Purificatore] Doing initial property fetch
[1/19/2022, 3:56:31 PM] [miot] [Purificatore] Device setup finished!  Stopping polling and trying to reconnect! Reason: Error: busy.
I already changed polling interval from 7 (your default value) to 10 seconds but I still got this error.

"Error: busy" means that the device is getting to many commands. Maybe you have different software accessing the same device, other plugins maybe? You need to even further reduce the polling interval then. You can also try to reset your device which might also help here.

"Error: busy" means that the device is getting to many commands. Maybe you have different software accessing the same device, other plugins maybe? You need to even further reduce the polling interval then. You can also try to reset your device which might also help here.

I already did a hard reset and I have no other plugins related to Mi Air Purifier. I reduced polling interval to 5 seconds, let’s see how it will work.

There is nothing i can do about the Error: busy message, this basically means that the device takes a lot of time processing commands, maybe you have other devices pinging or sending messages constantly to that device? You should set the polling interval to maybe 20 or 30 seconds to be sure.

There is nothing i can do about the Error: busy message, this basically means that the device takes a lot of time processing commands, maybe you have other devices pinging or sending messages constantly to that device? You should set the polling interval to maybe 20 or 30 seconds to be sure.

No, as I already said I have no other devices pinging to Mi Air Purifier. I had no issue using other (old) homebridge plugins for Mi Air Purifier 3H, it just happens with yours.

If that is indeed the case then the only thing which i can recommended you is to set your polling interval to 20-30 seconds. I guess your device does not like to get contacted often...

I have a new issue since you updated your plugin to v1.0

For user ack timeout you should try to reset your device.

For user ack timeout you should try to reset your device.

I already did it yesterday and then I re-added to your plug-in with the new token. So this is NOT the solution.

 No idea from where they come. This is not an issue with the plugin but with your device which is just getting too many requests. You have to investigate your network and find the fix. There is unfortunately nothing i can do about it.


How to trash environment

Description
I tried updating from Ubuntu 16.04 to 18.04 and it did not work as expected, which then caused a number of additional issues.
Is there a way to simply trash this environment and start over?

If this is ide.coder.com, then sadly you tried to run a distro upgrade in a Docker container, which does NOT work.

Yeah, I figured that out. Now I just want to essentially do a hard-reset. I hadn't even started coding, so I'm not worried about losing anything.

@wbvtler Help -> Restart Container

If that doesn't work, contact Support.

@sr229 I want to fully trash all of my changes to the container and start over from the original image, doing a restart from within the IDE only turns it off and on again.

You'll have to contact support because we removed the reset container button as the behavior of it changed when we released code-server.
Gonna close this issue since it's for our website and not the open source part. We have https://github.com/codercom/bugs/issues and https://github.com/codercom/features/issues as issue trackers for the coder website.


J2OBJC_HOME system environment variable not found

In my ~/.bash_profile I have:
export J2OBJC_HOME=/Applications/J2Objc/j2objc-0.9.7b
export PATH=$PATH:$J2OBJC_HOME

I checked from the command line I check if the env variable is set correctly: echo $J2OBJC_HOME:
/Applications/J2Objc/j2objc-0.9.7b
```:
I can also call ``j2objc`` from anywhere so it is set correctly. Using the latest plugin from 2015-06-11 I get the errorr:

Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
org.gradle.api.InvalidUserDataException: j2objc home not set, this should be configured either:

in a 'local.properties' file in the project root directory as:
j2objc.home=/PATH/TO/J2OBJC/DISTRIBUTION
as the J2OBJC_HOME system environment variable

This is strange since J2OBJC_HOME is available as I proved from the command line.

It seems to work with the first option the local.properties file but the system env option is buggy.

I am not sure if this line must be:
result = System.getenv('$J2OBJC_HOME')

Please test this @Confile and send a PR if it works. Thanks for catching
that one.
On Thu, Jun 11, 2015 at 4:53 AM Michael Gorski<EMAIL_ADDRESS>wrote:

I am not sure if this line
https://github.com/j2objc-contrib/j2objc-gradle/blob/56393a3b7c5c37fd2b8355cdba0804ad048efdde/src/main/groovy/com/github/j2objccontrib/j2objcgradle/tasks/J2objcUtils.groovy#L69
must be:
result = System.getenv('$J2OBJC_HOME')
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/133#issuecomment-111103619
.

I have tested it with the $ sign this was not the problem. The problem is that System.getenv does not look into variables defined in bash_profile, i.e., from the PATH variable.

btw, this System.getenv is how Android SDK does it:
https://android.googlesource.com/platform/tools/base/+/c8b776289ace4189406b59a9a9c8c9de63271cb0/build-system/gradle/src/main/groovy/com/android/build/gradle/internal/SdkHandler.java
So can you see if the Android gradle plugin works for you if you put the sdk location ONLY in your .bash_profile and not in local.properties.

@advayDev1 I checked it out SDK location is only in .bash_profile and not in local.properties. Does not find the variable.
Does it work for you?

I'll try this as well...
On Wed, Jun 17, 2015 at 9:03 AM Michael Gorski<EMAIL_ADDRESS>wrote:

@advayDev1 https://github.com/advayDev1 I checked it out SDK location
is only in .bash_profile and not in local.properties. Does not find the
variable.
Does it work for you?
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/133#issuecomment-112791949
.

@confile - this makes sense.  I don't think OS X runs your .bash_profile when starting apps from the desktop.  If you started your IDE from a bash shell it should be fine.

@advayDev1 Where should I put my system variables when I start an app from IDE?

a quick search gives this:
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
but it applies to all users not just user user.  not sure if that matters to you.

Also if you use eclipse, this may be useful to you:
http://stackoverflow.com/questions/7501678/set-environment-variables-on-mac-os-x-lion/23481458#23481458

@confile - were you able to get this working by setting the OS X environment variables? If so, then please send a PR for the FAQ on how to do this.

@advayDev1 @brunobowden No it does not solve the problem.

Can you try configuring the local.properties file instead. Here's my line
from the file:
j2objc.home=/Users/brunobowden/dev/j2objc-versions/j2objc-<IP_ADDRESS>
On Thu, Jul 2, 2015 at 5:17 PM Michael Gorski<EMAIL_ADDRESS>wrote:

@advayDev1 https://github.com/advayDev1 @brunobowden
https://github.com/brunobowden No it does not solve the problem.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/133#issuecomment-118200429
.

@brunobowden I still have it running for a long time with local.properties and j2objc.home. The goal here war to get the other version running as well.

So this works for running Geadle on the command line?
But there's an issue with running Gradle from Eclipse? If so, then this
means that the plugin is fine but you need a better way of documenting this
for Eclipse. If that's the case, then change the issue title "J2OBJC_HOME
environment setup for Eclipse documentation".
Given that Android has moved all the development to Android Studio, either
that or IntelliJ is the preferred way to do development.
There's another issue I created
On Fri, Jul 3, 2015 at 2:35 AM Michael Gorski<EMAIL_ADDRESS>wrote:

@brunobowden https://github.com/brunobowden I still have it running for
a long time with local.properties and j2objc.home. The goal here war to
get the other version running as well.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/133#issuecomment-118295941
.

Yes it runs perfect from command line. But from eclipse it does not find the correct path. I am moving to Android Studio!

Closing as this isn't a plugin issue


Recover from lonely def keyword

Motivation

Fixes #5443
This situation becomes more prominent after the changes in #5808 landed,
which allow us to take the fast path when adding a new method.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_M5zdOwnLqiZZxh
→ https://go/builds/bui_M5zdlSO3sEp3xF


Fix rounding error of sunrise sunset time by changing the tan(x) calc…

…ulations of the SolarEventCalculator
Example for a wrong sunset time with an offset of two hours would be:
Location erdingGermany = new Location(48.3107657, 11.8759098);
TimeZone timeZone = TimeZone.getTimeZone("Europe/Berlin");
SunriseSunsetCalculator calculator = new SunriseSunsetCalculator(erdingGermany, timeZone);
           Calendar calendar = Calendar.getInstance();
           calendar.set(2022, Calendar.JUNE, 21);

           String resultAsString = calculator.getOfficialSunsetForDate(calendar);

           assertEquals("21:17", resultAsString); // But was 15:17

PR for this issue #14


[question] How can I add todo for a group

You could look into https://habitica.com/apidoc/#api-Task-CreateGroupTasks and use hopla request -XPOST --body-param {something} {something} method/api/v3/tasks/group/:groupId
However, I don't know what values of {something} should contain.
The developers of Habitica might be able to help you out with that.


[BUG] Request Timeout Accessing Azure API in private network

Describe the bug
Flowise hosted in an AWS EC2 running Docker is unable to invoke an LLM REST API located in AzureAI. Despite whitelisting required domains, there are still issues that lead to timeouts.
The LLM REST API is deployed by our company in a private network, hence it's using a specific base URL ending with *.azure-api.net.
The domain name has been added to the firewall whitelist, and I can invoke successfully the LLM via a CURL command, both inside and outside the flowise container.
Beside, I have no issue when I run a docker flowise instance from a PC in my home. I can access this LLM in that situation.
I don't understand why a CURL command is successful, but Flowise gets a timeout. I ran out of idea :(
To Reproduce
Steps to reproduce the behavior:

Deploy the Flowise AI application on an AWS EC2 instance with docker.
Configure the application to send a request to the AzureAI REST API in a private network.
Observe the application logs.
See timeout error.

Expected behavior
The application should successfully send a request to the AzureAI REST API and receive a timely response, as confirmed with direct CURL requests.
Screenshots

Flow
N/A
Setup

Installation: docker 25.0.3
Flowise Version: 1.8.3
OS: Amazon Linux 2023
Browser: Edge

Additional context

Whitelisted Domains: .azure.com and .azure-api.net
The telemetry feature in vector database (chromaDB) was disabled.
CURL requests to AzureAI REST API succeed both inside and outside Docker container.
Error log shows timeout during application request, but successful responses with CURL.
Verified that no proxy settings are causing the issue.
Instances in the same subnet can reach the LLM API without issues.
Specific error timestamps provided for log analysis indicate timeout errors.

Environment Variables:

AZURE_OPENAI_BASE_PATH
OPENAI_API_KEY

Additional context
Error message:
2024-07-12 12:36:06 [VERBOSE]: [llm/error] [1:chain:RunnableSequence > 13:chain:RunnableSequence > 15:llm:ChatOpenAI] [86.35s] LLM run errored with error: "Request timed out.\n\nTimeoutError: Request timed out.\n    at wrapOpenAIClientError (/usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/utils/openai.cjs:13:17)\n    at /usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/chat_models.cjs:764:69\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RetryOperation._fn (/usr/local/lib/node_modules/flowise/node_modules/p-retry/index.js:50:12)"
2024-07-12 12:36:06 [VERBOSE]: [chain/error] [1:chain:RunnableSequence > 13:chain:RunnableSequence] [86.35s] Chain run errored with error: "Request timed out.\n\nTimeoutError: Request timed out.\n    at wrapOpenAIClientError (/usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/utils/openai.cjs:13:17)\n    at /usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/chat_models.cjs:764:69\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RetryOperation._fn (/usr/local/lib/node_modules/flowise/node_modules/p-retry/index.js:50:12)"
2024-07-12 12:36:06 [VERBOSE]: [chain/error] [1:chain:RunnableSequence] [87.97s] Chain run errored with error: "Request timed out.\n\nTimeoutError: Request timed out.\n    at wrapOpenAIClientError (/usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/utils/openai.cjs:13:17)\n    at /usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/chat_models.cjs:764:69\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RetryOperation._fn (/usr/local/lib/node_modules/flowise/node_modules/p-retry/index.js:50:12)"
2024-07-12 12:36:06 [ERROR]: [server]: Error: Request timed out.
TimeoutError: Request timed out.
at wrapOpenAIClientError (/usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/utils/openai.cjs:13:17)
at /usr/local/lib/node_modules/flowise/node_modules/@langchain/openai/dist/chat_models.cjs:764:69
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RetryOperation._fn (/usr/local/lib/node_modules/flowise/node_modules/p-retry/index.js:50:12)

I am guessing this is some proxy issue, causing it unable to reach the URL

The symptoms are similar, but there's no proxy set at the os level. Do you know how flowise would handle proxy settings? Based on https_proxy env variable? If so, it is not set.

Finally, I had to set the following environment variables in docker-compose file to make it work on Flowise 2.0.2:
AZURE_OPENAI_BASE_PATH
AZURE_OPENAI_API_DEPLOYMENT_NAME
OPENAI_API_KEY
AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME
AZURE_OPENAI_API_INSTANCE_NAME
AZURE_OPENAI_API_VERSION
Then the AzureAI chat node worked.
I saw that release 2.0.5 added the possibility to set the AzureAI API base path in the AzureAI chat model node. However, this doesn't exist for AzureAI embeddings node.
I happen to have to use a chat model and an embedding model that are not deployed in the same subnet, and I need to define a different base path for both.
At the moment, I have set the base path for the chat model in "base path" in flowise 2.0.5. I tried to set the one for the embedding model via the environment variable, but it doesn't work.
Could you add also this "base path" feature to the AzureAI embedding node?

Base path added to AzureAI embedding node in 2.0.6


Added VAGRANT_DISABLE_RESOLV_REPLACE=1 to allow building on macOS

When building on macOS you can't use the normal libc DNS resolver, and this means that building this container on macOS fails at the point where gems need to be installed.
I therefore added the VAGRANT_DISABLE_RESOLV_REPLACE=1 flag so that Ruby Resolv is used during build instead.

That's probably a good option, but I'm afraid I don't know how to build such a file. Another option could be I just add the Dockerfile as Dockerfile.macos or put something in the README.md.
Because it was an issue for me, and I solved it, I'd like somehow to make the information available in the project for the next person who runs into it but I'm not picky about how it's included.

I think adding a Dockerfile.vagrant.macos file sounds like a good solution until someone is able to provide a proper Vagrantfile. If you could adjust your PR accordingly I am going to merge it.


Work out what's going wrong with codecov uploads

Finally! looks like codecov was looking in the wrong place for the file? Not quite sure what went wrong there.


Update VP9 Reader to handle missing frames/fragments.

Change-Id: I3cdc738b25fda1292ae07769656a3b18721b2402

I noticed the handling of fragmentedSampleSizeBytes is a bit different from #110, where fragmentedSampleSizeBytes is initialized to LENGTH_UNSET. Can you do the similar here?

No need to change - merged already


Non-automated change log

The book currently mentions clog. As a manual alternative, I like using http://keepachangelog.com. A nice side-effect is that it adds a user-focused description of what's changed to every PR.

I think this is reasonable.  I know @CAD97 is also in favor of this.
Kind of fun that the reason I got started with clog is your blog post.  How come you have switched away from it?
Also, my hope was to have discussions like this on meta.    I tried to call this out on the front page of the site

Contributing

Find a mistake or out of date examples? Feel free to file an issue or create a PR.
Have a way to improve the CI for crates? Feel free to join the discussion

Any suggestions on how I could improve this?

Also, my hope was to have discussions like this on meta.

Oh, sorry! I'll open a new issue there and answer your (non-meta, lol) remarks there as well.

Any suggestions on how I could improve this?

Haha, you got me, I didn't bother reading the text on the front page… (because in 99% of the cases it's just the usual blub about what this book is about)
If there are more people who are as bad at this as I am, you might want to (a) make "Contributing" a headline, but more importantly, (b) add an issue template so I see it again when opening an issue.

Thanks! Fixed the headline and created #6 and #7


rancher istio 1.4.2 UI changes

To make istio 1.4.2 work in rancher, we need the follwing UI changes:

Change kiali link to be not hard-coded. This is due to the change that in istio 1.4.2 they changed kiali service name and port.
Change default answer pair to disable PodDisruptionBudget. This is to work around node draining issue for istio control plane. https://github.com/istio/istio/issues/12602. We should also add documentation so that if user is going to enable PodDisruptionBudget then they have to increase replicas numbers of istio control plane.

Noticed a kiali issue in UI:
We are trying to move nginx sidecar deployment for kiali, which causes some issue in UI.

Go to Project -> Istio -> Traffic Gragh, The graph takes forever to load and under network tab it is giving 404.

I think accessing any subpath in kiali needs extra care as it tries to access subpath in kiali to get js files in order to serve those under rancher UI.  @westlywright

Looks good pending #24831

Working in 2.3-head and master-head commit ID: 3ae5ad9bd652. Changes here were available in latest-2.3 and latest2 ui-index.
Verified both previous istio versions and upgrade to new istio, as well as a fresh install using the new version on kubernetes v1.17


How can we to implement the MonoBehaviour methods

How can we to implement MonoBehaviour methods
https://docs.unity3d.com/ScriptReference/MonoBehaviour.html

Hello, I'm not sure to understand the question, are you talking about the GraphBehavior  class? or something else?
Otherwise, the graph has its own lifecycle so it's not possible to have all the message functions of MonoBehavior.

Hello, I'm not sure to understand the question, are you talking about the GraphBehavior  class? or something else?
Otherwise, the graph has its own lifecycle so it's not possible to have all the message functions of MonoBehavior.

Thank you for your reply.
I wanna implement   Flow Graphs (Start Update FixUpdate and so on Unity Event Function in the graph)
Like Bolt

Hum, I see. So I think the best way to do this would be to code a custom processor for the graph like this one: https://github.com/alelievr/NodeGraphProcessor/blob/master/Assets/Examples/ConditionalGraph/ConditionalProcessor.cs
That way, you can add an Update or FixedUpdate node that will trigger the execution of all connected nodes.
I guess since you want to use Start / Update functions you want your graph to be inside the scene? If that's the case, you can take this file as an example to implement a graph inside a component: https://github.com/alelievr/NodeGraphProcessor/blob/master/Assets/Examples/GraphBehaviour.cs
Then you can forward the Start / Update method of the Monobehaviour to your conditional graph processor like this:
var processor = new ConditionalProcessor(graph);

void Update()
{
    processor .Update()
}
...


New version: Kopia.KopiaUI version 0.16.0

Pull request has been created with komac v2.1.1 :rocket:

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Close with reason: Duplicate of #146256;

Closing as duplicate because the other PR has the updated DisplayName. But this manifest has much more ReleaseNotes data, which should probably still be added into the repo.


purple-plugin-pack: 2.7.0 -> 2.8.0

Motivated by https://github.com/NixOS/nixpkgs/pull/201859.
Does someone know a way to install the plugins under $out?
PermissionError: [Errno 13] Permission denied: '/nix/store/5sym1v97c53vvncj2ps68ycjdjfqaqy4-pidgin-2.14.10/lib/pidgin/album.so'

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.


Feature: get a client

integrates with kiota web to generate clients from the resource explorer

The long URL is expected. And yes the generation time as well for the time being. It succeeds in about 2 minutes on my machine but that'll depend on:

the machine
the browser in use
how busy is the machine (teams, clipchamp, npm start, vs code running at the same time, so quite busy in my case)
how many paths you select
the target language (refiners take more time in some languages)

We have ways to work this around in the future:

backend processing just for Graph descriptions with beefy machines
a tooltip to suggest you use the CLI instead if the generation takes too long with the exact command
dotnet team working on enabling multi-threading for blazor wasm with dotnet 7 (in a couple of weeks)
additional optimizations in kiota itself

@Onokaev & @thewahome FYI I also added a cart experience to help with the discovery of this new feature.

(see the video I'm posting on the teams channels for more details)
One aspect that surfaced is that graph explorer is mixed between state/props and redux which sometimes makes inter-components communication cumbersome or leads to race conditions. I had to work my way around to get the panel to open from the header bar. (in case you're considering refactoring things in the future).
Lastly, those new buttons are hidden in mobile mode to free up some real-estate for the core features.

@baywet we will be getting to this soon.
What do you think about us investing time in this? https://github.com/microsoft/kiota/pull/2377
It's my intention to use Kiota as a Component inside Graph Explorer.
The other alternative would be to use Kiota inside an iFrame

@thewahome I think it's an approach that requires further investigation, and thank you for starting it.
I believe that one of the challenges with GE integration is the size of Graph OpenAPI descriptions and the fact that blazor-wasm is only single threaded, making the generation slow even if you select only a few endpoints.
Another one is that embedding the blazor runtime in GE might increase GE's weight significantly.
The alternative we considered when chatting with @ddyett was to build an async API on devx API that would:

Take the generation request.
Defer it to a queue (storage, service bus...)
Offer a polling endpoint to track progress and results.
Generate the client on the backend (functions, webjobs, etc...)
Store it in blob storage.
Offer a download URL via the status/polling endpoint.
This alternative would solve for both those issue at a tradeoff cost for our team. And I think it's worth exploring solutions at this point.

After I packaged the component it ended up making a pretty huge folder. 121Mbs in debug mode.
So it made sense to think of alternatives like azure functions so that we can defer the processes to outside of the client.
We can investigate this devx api path as it fits the logical conclusion to take the generation away from the browser

closing since we sunset kiota web


Can not import component which using 3rd library

I'm using Ant-Design-Vue in my project, I want to do some test about it , but can't even run it .
here is the repo：  https://github.com/HomyeeKing/learn-test
steps to reproduction:

clone the repo
yarn && yarn test:unit ant

you will see an error about can't  import component's css file
SyntaxError: Cannot use import statement outside a module

The problem is related to ant-design and how it is set up. Jest does not know about es modules (eg, import and export by default - only commonjs, which is the require syntax. Ideally ant-design should be building a commonjs module.
Anyway, this can be worked around, let me try and configure it for you.

Ok, here you go: https://github.com/HomyeeKing/learn-test/pull/1
This should work.
Problem is config, not test utils. ANT team should provide a cjs build for node.js.

@lmiller1990  thanks for your time

@lmiller1990  there's a problem, I have two files with same name , one is Button.vue ,another isButton.tsx
I import it to Button.spec.ts as import Button from 'xx/Button'
when click the file path, it jump to the tsx one , but the tested one is Button.vue

I am not sure but I don't have time to fix your configuration right now, sorry. You could just type the full path, such as xx/Button.tsx.


Build.fix

@owainlewis
Hello! Here is some fixes for stack build:

.gitignore entry for stack stuff
fixed  executable  slack-generic-client section of stack-hs
and also there is an error that optparse-applicative missing while building a library ...

P.S.: may be increment package version?

Thanks. Yeah needs a version bump and release.


Documentation feedback on /docs/getting-started.rst

Documentation feedback

Page title: Getting started
Page URL: https://cratedb.com/docs/crate/crash/en/latest/getting-started.html
Source: https://github.com/crate/crash/blob/master/docs/getting-started.rst

I suggest to add a note that you must end the statement with ";" before the command is executed with .

Hi Brian. GH-452 includes a corresponding improvement, thanks. Feel free to submit any kinds of fixes yourself, we appreciate improvements of any size and matter.


form.form-horizontal doesn't work in div.span4 or lower

Reproduce:

Goto http://twitter.github.com/bootstrap/base-css.html#forms
Change .span8 to .span4 in section starting with "Extending form controls"

Horizontal forms must be used in wider layouts as that's their intended setup. Use vertical forms instead.


Still can't pipe console output (#1065 not fixed)

This is basically re-opening #1065; the patch in  28a9895 did not fix the problem.
Prerequisites

[x] Did you read FAQ section in readme.md?
[x] Did you test with the latest releases or commit ? (Yes, git master)
[x] Did you search for existing issues in Issues?

Description
AttributeError: 'NoneType' object has no attribute 'set_title'.
The patch that closed #1065 did not actually fix the issue.
Steps to Reproduce

$ PixivUtil2 --help |cat (on Unix)

Expected behavior: help text should print to standard output.
Actual behavior:
Traceback (most recent call last):
  File "/home/fake-user-name/bin/PixivUtil2", line 1566, in <module>
    main()
  File "/home/fake-user-name/bin/PixivUtil2", line 1359, in main
    set_console_title()
  File "/home/fake-user-name/bin/PixivUtil2", line 1044, in set_console_title
    PixivHelper.set_console_title(set_title)
  File "/home/fake-user-name/development/PixivUtil2/PixivHelper.py", line 389, in set_console_title
    sys.stdout.write(f'\33]0;{title}\a')
  File "/usr/lib/python3/dist-packages/colorama/ansitowin32.py", line 41, in write
    self.__convertor.write(text)
  File "/usr/lib/python3/dist-packages/colorama/ansitowin32.py", line 162, in write
    self.write_and_convert(text)
  File "/usr/lib/python3/dist-packages/colorama/ansitowin32.py", line 184, in write_and_convert
    text = self.convert_osc(text)
  File "/usr/lib/python3/dist-packages/colorama/ansitowin32.py", line 256, in convert_osc
    winterm.set_title(params[1])
AttributeError: 'NoneType' object has no attribute 'set_title'

Also, you have embedded xterm-specific escape sequences into the program. These sequences do not render correctly on anything but xterm. A real VT100 or VT220, or any number of other terminals, would exhibit undefined behavior.
Log file: [Attach the pixivutil.log file in the application folder, recommended to delete the old file, reproduce the issue, and upload the newly generated file here]
Log file is blank.
Versions
Git master. Commit 3495f52.
PixivDownloader2 version 20211104

Changing the function to:
def set_console_title(title):
    if platform.system() == "Windows":
        try:
            subprocess.call('title' + ' ' + title, shell=True)
        except FileNotFoundError:
            print_and_log("error", f"Cannot set console title to {title}")
        except AttributeError:
            # Issue #1065
            pass
    else:
        if "xterm" in os.getenv("TERM"):
            try:
                sys.stdout.write(f'\33]0;{title}\a')
                sys.stdout.flush()
            except AttributeError:
                pass

Fixes the issue, and also makes it only attempt to set the title string with xterm escape codes on xterm and similar terminals.

Better fix:
def set_console_title(title):
    try:
        if platform.system() == "Windows":
            subprocess.call('title' + ' ' + title, shell=True)
        else:
            sys.stdout.write(f'\33]0;{title}\a')
            sys.stdout.flush()
    except FileNotFoundError:
        print_and_log("error", f"Cannot set console title to {title}")
    except AttributeError:
        # Issue #1065
        pass

can you raise a pull request?

https://github.com/Nandaka/PixivUtil2/pull/1082

merged :D


passphrase: ahead of time capitalization

coverage: 76.46% (-0.2%) from 76.705%
when pulling db41472efc3fd1d053c4a58606017e17a520aea8 on optimization
into c0235a2a356c00ed6e9b561ffa099987d72f5215 on main.


shiftRight documentation

Is shiftRight logical or arithmetical?

Arithmetical

Thanks! would be awesome to add it to readme!


MS2 spectrum is not matching the chromatogram

Basic information

My operating system and version: window
My mzmine version: mzine4.1.0

What happened
Hello, I want to export the mzmine processing data, but some problems arose.
https://ccms-ucsd.github.io/GNPSDocumentation/featurebasedmolecularnetworking-with-mzmine2/
I followed the method above, but I can't find some option (ex: chromatogram deconvolution)
For FBMN, ms2 data must be connected to the chromatogram created with chromatogram builder.
However, this cannot be resolved.
The ms2 spectrum for m/z 388 exists as follows:

However, when I create a chromatogram feature, ms/ms data does not connect. How do I connect(accept) ms2 data to the chromatogram feature?
plz help me

Please describe what happened and how it differs from what you expected to happen.
Please include all parameter values for the mzmine modules you used.
Please upload screenshots of any errors and your log/mzmine.log file.
Please upload a standalone mzmine project file (or a batch + raw files) that demonstrates the problem you are reporting. You can use Google Drive, Dropbox, or a similar repository to upload the project.
Issues opened without an example project are unlikely to be processed

Hi,
you are a following a protocol for MZmine 2.53 which is not designed for mzmine 4.1.
For FBMN in mzmine 4.1, just use the LC-MS workflow of the mzwizard:
https://mzmine.github.io/mzmine_documentation/workflows/lcmsworkflow/lcms-workflow.html

yes, I know, but the same issue is occured. Anyway, the problem can solved by assigning ms2 to the chromatogram. :(

Hi,
i think the issue is that the precursor mass in the MS2 is 388.0533 and the chromatogram/feature has an m/z of 388.0373, which is a massive difference. I think the scan m/zs may be recalibrated, but the set precursor mz is not.
I can see that "masslynx" is in the filename, so i guess the data comes from a waters instrument. How did you convert the data? Please check if you followed this guide: https://mzmine.github.io/mzmine_documentation/data_conversion.html#waters

yess, My data comes from a waters xevo-qtof and post process using followed guide (waters data connect).
I will try again with a wider ppm range!!

thanks for kind apply @SteffenHeu @ansgarkorf :)

you can set the tolerance in the resolving step at ms/ms scan pairing step
https://mzmine.github.io/mzmine_documentation/module_docs/featdet_resolver_local_minimum/local-minimum-resolver.html#msms-scan-pairing
https://mzmine.github.io/mzmine_documentation/module_docs/featdet_ms2_scan_pairing/ms2_scan_pairing.html#ms1-to-ms2-precursor-tolerance-mz

As you said, I set it to 0.05m/z or 20 ppm and it was resolved! thank you! @SteffenHeu


Cannot connect to database on non standard port

The database port from the configuration is ignored when creating the postgres connect string. This defaults to the standard port 5432 which in my case is not where the postgres server is.
I updated in container.go to the following to be able to spin this up.
	getAddr := func(dbName string) string {
		return fmt.Sprintf("postgresql://%s:%s@%s:%s/%s",
			c.Config.Database.User,
			c.Config.Database.Password,
			c.Config.Database.Hostname,
			strconv.Itoa(int(c.Config.Database.Port)),
			dbName,
		)
	}

Thanks for reporting that. I pushed a fix: https://github.com/mikestefanello/pagoda/commit/c6a50b3bbf9ec6a5d05fd6d429b0f24118d2680b


New version: Mozilla.Firefox version 121.0

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

Hmmm. It seem like the pull request does not assign ICM User during https://github.com/microsoft/winget-pkgs/labels/Needs-Attention labels

@wingetbot run

@wingetbot run

Close with reason: Package got merged in #131395;


Support value class type for @PrimaryKey field

I am trying realm for a new project. I've encountered a problem. When I set primary key field type having compile time error
[Realm Compiler Plugin] ... Primary key _id is of type ObjectId but must be of type [Byte, Char, Short, Int, Long, String]

Hi @rustamsmax. Could you specify how your data model looks like? Moreover, are you using an ObjectId field as the primary key?

Yes I'm using it as a primary key

It isn't possible to define custom classes to be primary keys. Only Byte, Char, Short, Int, Long, String fields can be primary keys for now. Do you have a compelling use case you could share with us as to why do you need this feature? If so, we could discuss it with our Core team to add support for it if there is enough traction from the community.
On the other hand, if you would like to use BSON's actual ObjectId implementation you must wait until we add support for it as the BSON library hasn't been ported to Kotlin Multiplatform yet - see https://bsonspec.org/implementations.html. If you are working on a pure Android project you can still use the Java SDK which has full-fledged support for BSON's ObjectId. However, you cannot have user-defined classes to be primary keys either.


add cancellation tokens

ok i need help with this one. not sure when we should do "throwifcancelrequested"

What's the goal here? We don't expect most of these APIs to be consumed outside of what they're used for today. Are there specific things that have bad cancellation behavior today?

it was initially in response to this https://github.com/dotnet/tye/pull/227#discussion_r399037857
but i think this would be better done by peeps who better understand the codebase. so will close for now


[TensorV2] Multiply strided inputs and output

Commits to be reviewed in this PR
  [TensorV2] Multiply strided inputs and output
This patch adds the implementation of multiplication operation that supports different strided inputs and output.
Self-evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test:   [X]Passed [ ]Failed [ ]Skipped

Signed-off-by:Donghyeon Jeong<EMAIL_ADDRESS>
  [TensorV2] Additional functionality to access tensor elements
This commit adds functionality to retrieving and modifying tensor elements in specific locations.
This will provide convenience in implementing the math operation of tensor.
Self-evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test:   [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Donghyeon Jeong<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2434. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


[AutoPR Azure.Analytics.Synapse.Artifacts] [Synapse] enable auto code gen

Create to sync https://github.com/Azure/azure-rest-api-specs/pull/26715

/azp run


Please bring back URL shortening

I'd prefer not to store transient code snippets permanently on GitHub, subject to GitHub's T&C, etc. is.gd was a very good choice, but I think a service that retires shortlinks after some time would be even better.

I'd prefer not to store transient code snippets permanently on GitHub, subject to GitHub's T&C, etc.

Instead, you'd be storing transient code on whichever link shortener's site, subject to whatever their terms and conditions are, correct?

Please don't use a service that retires shortlinks. However, I did very much like the self-contained nature of the link shortener solution, and I'd like to see this as well.

the self-contained nature of the link shortener solution

Could you expand on the benefit compared to the Gists? What does "self-containment" mean in this case?

@shepmaster I like the ability to link to the playground with code in the URL (and AFAICT the new playground still supports that). URL shorteners just redirect to that exact same URL. By doing so, they make it obvious that they're not doing anything "special": anything that preserves the URL works. (So, for instance, you can also paste the full URL with code onto Twitter or similar, and use its URL shortener instead.)
So, it's not that there's anything special about is.gd or bit.ly or j.mp or any other specific shortener. It's that using a shortener that redirects to the code URL provides transparency about the mechanism, and makes it obvious what a user can do themselves.

It seems that an alternate solution would be a method that places the code in the text field into a URL using the code parameter and then let you copy that. You can then choose your favorite link shortener as you please.
Thoughts?

@shepmaster That'd be an improvement, yes. Having a "shorten" button would be nice to go with that, but not as critical.

Alternatively if there is an open source shortener service that you could run in a docker container and lock the urls to the playground(so that it's not used for shortening urls elsewhere), that'd work too? I was confused that the url/link button for code was missing.
Could a copy button or something also appear with the two gist links to get the playground url(avoids auto replacing whatever user has copied presently and doesn't require right-click, navigate to copy, left-click to get link).


Also test on JRuby 9000

Because JRuby is compatible with Ruby 2.2.x and Sass will be dropping ruby 1.9.3 support

seems to be failing on this method, not sure what that means, it might be an encoding issue

Hey @mprins, thanks for the pull request.
I'm not a JRuby user, so I'll need your help diagnosing this issue. Is this something that can be reported upstream?

I want to look into this, but short on time; also JRuby is working hard to release <IP_ADDRESS> which has many improvements over 9.0.x.x.
FWIW i've been using 9.0.x.x with scss-lint for some time without issues, but please hold off merging this for now.

Closing due to lack of activity, but would love to merge support. Feel free to reopen once the upstream issue is fixed. Thanks!


Theme standards and general user experience

Hello,
@bep spoke of standardizing themes. I think this is a great idea and a must-have, but I have not seen a general discussion over that.
So what is to do?

Build a hugo get command to get a theme?
Wouldn't it be nice to have a general hugo get command with the following sub-commands:

hugo get theme github.com/the-theme-url
hugo get widget github.com/the-widget-url
hugo get what else?

or even better:
hugo get theme the-theme's-unique-identifyier # (e.g. material-docs)
hugo get widget the-widget's-unique-identifyier
hugo get what else?

which would be so nice. We also would need hugo update to update themes and widgets in this case.

Would we need to centralize themes and widgets? How to do it? Looking at the hugoThemes repository, I think themes are already centralized and that it is ready to use with a hugo get theme command, which needs to be written.
Now, what would be the standards for a theme? I assume we don't need more than the following files:

themes/
└── mytheme
    ├── config.toml
    └── index.html

And inside the config.toml (or config.yaml), the assertion to extend a theme would be:
extends: someother-theme

I often saw that I could not switch a theme without heavily modifying the main site's config file. So, should we specify and recommend standard config vars (especially, params) to ensure that a same site would work with all themes that follow those guidelines (to draw the parallel, I would like to recommend some specific widget area names for the same reasons)?

Sum up
In my opinion, the general goal we have to aim is to enable non-developers (or not-so power users) to use Hugo and get personnalized, pretty websites. This goes by:

Switching themes should not be painful (user has to experiment several themes if he/she cannot develop his/her own). This would be enabled by standard config recommendations for theme developers.
Modifying a theme should be easy. One modification, in the case of theme inheritance, would need only to create one directory, one config file with one line (extends: …), and one file that replaces that of the parent theme (He/she copies the original file in the child theme and modifies it). This is easy enough for not-so power users (but not true beginners, but diving into themes cannot be that accessible in my opinion).
Adding information aside of the main content should be easy. This is where widgets come into play. Widget area names should be normalized, such as that another theme would probably use that same name for the same position (e.g. sidebars, headers, footers).

And you? What do you think we need to help make the Hugo experience even happier?

Although this is a good idea and something we will do eventually, your proposal is filled with questions (this issue tracker is (mostly) for actionable/concrete issues) better suited on a discussion forum, so I suggest you copy and paste this into a thread there.

OK, no problem.


Training details

Hi, great work the results look really good. I had few questions regarding training

How long did you train the BSRNet?
Did you apply the proposed data degradation pipeline on the fly as a data-augmentation technique or you applied it on images beforehand and stored them?

do you refer the real_sr to train your model @vidit98  , I use the real_sr model to train,but cant get a good result,  (crying)

I also want to know.
On the fly is 10 time slow at least when I try the code.

I also want to know. On the fly is 10 time slow at least when I try the code.

@iamadai Did you train BSRGAN with your own data?


Use templates for issues

Description
Use templates for issues.

Will wait for @evan-forbes to take a look.


LIR cleanups

fgRemoveJTrue() and fgRemoveDeadStore() don't handle LIR form. Assert that, and
remove dead code related to embedded statements.
@pgavlin PTAL

LGTM aside from one comment.

@pgavlin -- I updated this PR by addressing your comment. There's something weird here, though, as it looks like it is considering all of your intermediate changes part of this PR. Maybe you need to give me some advanced git magic to fix this.

LGTM


Fix GDScript load with relative path

Supersedes #37324
Fixes #35832
First time touching GDScript internals, hope I didn't mess anything up!
As suggested in a comment in the previous PR, all utility function calls now pass the script reference, which is used for figuring out the absolute path.
Also by using get_path() instead of path, this PR supports built-in scripts as well.
Open Question:
I'm currently passing the analyzer a nullptr script reference. While ResourceLoader::load(parser->script_path, "Script") is possible, I don't understand yet what the "benefits" are, since I don't understand the analyzer's purpose beyond type checking.

Could you add a unit test to the PR? I would hope to merge this PR for the 4.1 release, but time is running out.
If you need more info, don't hesitate to chat us in #gdscript.

@adamscott Added some tests. It seems like type inference does not work, since it's emitting warnings. Probably due to me leaving out the analyzer.
I don't really have time to figure this stuff out, so if you or another GDScript dev knows more about this, please fix up my commit or attach a diff that fixes this part, if it's urgent to land it.

Might it be better to resolve this in the compiler and VM (with a separate opcode to convert relative paths, if the argument is unknown at compile time) than to construct a Ref<GDScript> on each utility function call? I do not think that your option is significantly more expensive, just mention an alternative solution.

I do think this is overkill to solve this particular issue. Adding an argument to every function just because one needs it looks like too much.
We can discuss other solutions to this.
For instance, we could have a second, optional argument to load that works as the base for relative paths and at compile time we can insert this (if not explicitly set). So relative paths would work even if generated dynamically in the user script.
If dynamic is not a necessity, we could detect relative paths at runtime and prepend the script's base directory to it so it becomes an absolute path.
I think an opcode as @dalexeev suggested is also too much, but we could generate the logic with a combination of opcodes (it does increase the overhead of calling load though).
In any case, I do believe we can find a more localized solution rather than changing all utility functions.

I think an opcode as @dalexeev suggested is also too much, but we could generate the logic with a combination of opcodes (it does increase the overhead of calling load though).

Note that if the load() argument is a constant expression, then the path is resolved in the compiler and the opcode is not generated. (Which is quite common in my opinion, users may still use load() instead of preload(), even for constant expressions.)
This only affects variable expressions such as load("path/" + file) or load("path/%s" % file). In theory, we could optimize some of these cases too, as long as the prefix is known at compile time.

I'll leave a more optimized implementation to someone who has more experience with GDScript internals. Thanks for the feedback!

@RedMser Thanks for your contribution nonetheless!


Organize imports

Maybe sorting and separating the imports like the style guide suggests would freshen up the code :) I'm making a PR with the style seen in Angular's location service: standard imports, newline, third party imports, newline, and then app imports all alphabetized. Just close this issue if you think it's silly!

I don't think it's silly, but fixing this everywhere, without an automatic way to enforce these rules afterwards seems like a waste.
So I'd like to know how you did it (hopefully in an automatic way), that way we can add it to our recommended IDE settings, or create lint rules to check for it, to ensure all following PRs will follow these rules.
With the preview release coming up early next year, we have a few big PRs coming up, and merging #337 now would cause a huge number of merge conflicts in those PRs, for comparatively little gain.
So I'd put #337 on hold until right after the preview version has been released, fix all the merge conflicts then, and from then on make it a requirement that new PRs follow these rules (if we can automate it)

I'm glad you're open to this change! I just used a Visual Studio Code extension TypeScript Import Sorter with a few adjustments to the rules:
"importSorter.sortConfiguration.customOrderingRules.rules": [
        {
            "type": "importMember",
            "regex": "^$",
            "orderLevel": 5
        },
        {
            "regex": "^@angular/",
            "orderLevel": 10
        },
        {
            "regex": "^[^.]",
            "orderLevel": 15
        },
        {
            "regex": "^[.]",
            "orderLevel": 30
        }
    ]

It allows you to do directory deep or on save sort. The sorting is easy to enforce with the TSLint ordered imports rule. I'd be happy to update the PR with whatever ordering rules you'd like at a time when there would be fewer merge conflicts.

I'd like to see some ordering enforced too. I would favor rules that would at the very least let us set ordered-imports to true in tslint config, but I'd want to make sure that whatever rules are adopted, they are easy to adhere to for developers using various IDEs.
Fwiw, IntelliJ/WebStorm can automatically highlight and fix imports that are mis-ordered according to tslint config by suggesting changes in the editor. It also has "Organize Imports" that can alpha-order modules and the import list from each.


Package on packagist.org outdated

Hi
https://packagist.org/packages/concisecss/concise.css shows v2.1.0 as the latest release whereas Github shows 3.x as the latest release.
Could you maybe check this so that packagist can update the package? This in turn would make it easier to include your CSS package in a new application which consists of some packagist packages.
Cheers,
Mario

Thanks for reporting this! we will check this out.

I've added a composer.json file so Packagist should update soon with the latest version of the framework.

So far it didn't show up on packagist.org and I'm puzzled about the last entry in the composer.json file (replaces, see https://getcomposer.org/doc/04-schema.md#replace) which I think shouldn't be in the composer.json file.

I'm not sure why Packagist hasn't updated yet. I have sent them an email to see if they could help resolve the issue.

Okay, we released a new version of the framework and Packagist has been updated! https://packagist.org/packages/concisecss/concise.css


New TeamCard 4

Design a new TeamCard for Executives.
This card won't have any picture.
The card should have social media icons in SVG format.
Map the card component to appropriate data set.
Use this card component only for Year 2023 Team. Name the component accordingly.
Submit SS/Video of the component in working condition.
Use good naming convention for CSS classes.
Avoid usage of any external library.
The card should symbolise our theme of Halloween. Idea - Stick spiderwebs in top corners of a pumpkin near the bottom , maybe a picture of a small graveyard tablet. Use the smallest size assets available for this, preferred SVG.

I'd like to work on it

Only work on making the card as of now with some dummy data. Use hardcoded values, don't connect it with any API.
Import that card as a separate component with the name TeamCard4_2023.
I will let you know when you use the api for data.

Updates @harshpastor

Updates @harshpastor
still learning react,
will start working on it tonight.

PR #54


SPIKE: how FAM works when a bceid or idir username changes

Problem statement:
If we just store username in our database, when the idir or bceid user changed their username, we could end up in a situation that:
usernameA with guidA changes to usernameB with guidA......................usernameC with guidC comes along and changes to usernameA with guidC. If everything is based off username, usernameC just got access to whatever usernameA had access to
Proposed solution:
I saw in our fam_user table we have a column "user_guid", if we can integrate with the IDIR/BCeId API, and store the user_guid, then use the guid to identify the user. The guid for the user will not change and will always be the same.
So in the case when the username changes, the application admin can try to add that new username in FAM. And on our side, when they click the "grant access" button, we check if we can found that guid instead of the username, and if found, then we do an update for the username. And in the normal case, we still do an insert for the real new user.

Currently, user guids are stored on the database once a user logs in. Once FAM integrates with IDIM web service, the user Guid will be stored with in the FAM database upon creating a role assignment on the grant access screen.


wip: chore: fix npm command calls from maven

Type of modification

[ ] Breaking change
[ ] New Feature
[ ] Bug Fix
[X] Chore (refactor, documentation, tests... all the changes with no impact on ARA functionalities.)

Changes description
Add some quick description about what your PullRequest change in
ARA's feature/behavior
Technical description
Add a quick description about what your PullRequest change in
ARA's code. (example: add a processor check in...)
PR CheckList
Please make sure your PullRequest respect all those items :

[ ] Your PR's title has the prefix : feat:, fix: or chore:
[ ] Unless your PR is related to a Hotfix (and approved by a ARA maintener), the targeted branch for it is the branch version/X.Y.Z and not master
[ ] You have asked a review from one of the ARA maintainer in your PR.
[ ] If your PR is related to an issue, add the issue's number in it.
[ ] All the code you added is documented.
[ ] All the code you added is tested and the  tests are in success.
[ ] You already signed the Contributor License Agreement and give us the document

[ ] Check what is currently generated and where it is sent ( when launching mvn clean install)
[ ] Write a JS script that does the same thing
[ ] Add the command to the package.json, in order to later be able to run it (via npm run)
[ ] You should now be able to build the project: delete the generated files (targets, node_modules, etc.) and run mvn clean install then check that everything is built correctly
[ ] Update the CircleCI configuration file to build the client (replacing what maven is currently doing)
[ ] Getting rid of the pom.xml (client)


Added minimal support for FTP with TLS/SSL

A further simplified version of previous PR with minimal changes to the latest version of the jsftp.js file.
@sergi, once again I wasn't able to add tests with the PR mainly because I couldn't get them to run on my machine and didn't have time to try to debug it. Sorry. I've added some changes to Readme.md though. Let me know if there is anything you would like me to do to make it easier to accept this request.

Any change of seeing this in master @sergi ?

I wonder what happened with the TLS/SSL support @sergi ?


EGAD00001007959 - A blood atlas of COVID-19 defines hallmarks of disease severity and specificity

Project short name:
Undefined-Human-10ximmuneprofiling (Is someone working on it? Cause it has the name changed from tbc)
Primary Wrangler:
Secondary Wrangler:

Link to Ingest

https://contribute.data.humancellatlas.org/projects/detail?uuid=cdabcf0b-7602-4abf-9afb-3b410e545703

Associated files

Google Drive:

Published study links

Paper: https://doi.org/10.1016/j.cell.2022.01.012

Accessioned data: EGAD00001007959

Key Events

[ ] Convert published metadata to HCA spreadsheet
[ ] Manually curate dataset to meet HCA metadata standard
[ ] Collect any matrix and cell-type annotation files
[ ] Upload sheet to validate metadata
[ ] Check linking using ingest graph validator
[ ] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

Agreed with wranglers on Friday that if we are focusing on something else, immune atlas datasets should drop from the Queue. Therefore closing the ticket as nothing was done


Task Grid error

Good morning, We are trying to use the task grid in project accelerator, however getting the following error:
To use this view, you must have browser popups enabled. More information
I enabled popups but am continuing to get this error. Is there are way to prevent this so all our users don't come across it?
Please let me know! Thanks in advance.

Hi @leozak06 , are you still running into this issue?


Does CUDArt support cuda 8.0?

I have upgraded my server from ubuntu14.04 to 16.04, therefore cuda7.5 is not compatible with my system.

This should not be an issue.


Question: Removing unused lookup entries during compilation

Is it possible to remove unused lookup tables if the lookups are known at compile time? For example, if I have a map full of values but a user of a library only needs one or two values out of it.
I am not sure if Rust is capable of doing this. I think storing the return type inside a const variable would do the trick, as it would move the data into the user's application, but that would mean that get had to be const as well.

While this is certainly conceivable within the context of const fn, it would require impl const Trait: https://github.com/rust-lang/rfcs/pull/2632


Version required

Tensorflow version does not match with the libraries.
1.tensorflow
2.opencv-python
3.protobuf
above mentioned files version required. The provided versions are not working.

Those are already provided.


Exclude js files

Not able to exclude js files by using regex

@vivekdaryani what regex are you using and fileanme should be ignored?

const MergeIntoSingleFilePlugin = require('webpack-merge-and-include-globally'); new MergeIntoSingleFilePlugin({ 				files: { 					'responsive/3.0.11/js/aggregate.js':  [path.resolve(src, 'responsive/3.0.11/js/backbone*.js'), 			'!'+path.resolve(src, 'responsive/3.0.11/js/backbone-alert*.js'), 		]} 			})

@vivekdaryani
I believe a single entry responsive/3.0.11/js/backbone!(-alert)*.js' will solve this, just tested it, (according to rules at https://www.npmjs.com/package/glob)
but I should definitely add parameter of files to ignore

Same to me. I'm not able to exclude files. I have the following array:
const allLegacyJSFiles = [
    path.resolve(__dirname, 'src/js/**/*.module.js'),
    path.resolve(__dirname, 'src/js/**/*!(.module)*.js'),
    '!'+path.resolve(__dirname, 'src/js/**/*.es6.js'),
];

and I see in the concatenation result all the .es6.js files that contain imports and export defaults keywords...

And even with
const allLegacyJSFiles = [
    path.resolve(__dirname, 'src/js/**/*.module.js'),
    path.resolve(__dirname, 'src/js/**/*!(.module|.es6)*.js'),
];

seems that .es6.js files are included 😕

@alessandro308 if you want to include all files except .es6.js you can do src/**/!(*.es6).js
what were you trying to do with .module files? exclude them if something stands after the .module?


Hyperparameters should be fully documented

It seems that they are already included in the documentation, but in a rather dry form: https://lab-cosmo.github.io/metatensor-models/latest/architectures/soap-bpnn.html.
It would be nice to have more documentation (potentially pointing to rascaline's documentation for the SOAP hypers in the example above). The minimal way to achieve this would be to add comments to the file, which we could also try to render in a nicer way in the online docs later.
The overall architecture should also have some documentation, either as a link to a paper or a small figure showing the architecture.

I see it in a different way: for the type of user we want, I think we just need a very minimal explanation of every hyper (as a comment of few words).
Then, we want to provide a small hypers guide in the documentation: for this architecture, what are the best hyperparameters to change in most use-cases?

I see it in a different way: for the type of user we want, I think we just need a very minimal explanation of every hyper (as a comment of few words).

I partially disagree: we want both a full reference of hypers (potentially linking to e.g. rascaline hypers documentation); and a user guide about "these are the hypers you want to play with first"


update Python supported versions

Description
Retire 2.6 support and ensure 3.5 support on PyPI.
Environment

operating system: all
Python version: 2.x/3.x
pycsw version: master
source/distribution

[x] git clone
[ ] DebianGIS/UbuntuGIS
[ ] PyPI
[ ] zip/tar.gz
[ ] other (please specify):

web server

[x] Apache/mod_wsgi
[ ] CGI
[ ] other (please specify):

Steps to Reproduce
Additional Information
discussion: https://gitter.im/geopython/pycsw?at=58bd73dd1465c46a56f2bd1c
https://pythonclock.org/

@tomkralidis I'll go ahead and also remove python2.6 from the tox.ini file. It is not related directly with packaging (more with testing) but I guess it is no longer needed. I've opened #513 to track this.

+1 thanks @ricardogsilva


Error when running the example cnn_mnist.py and mlp_mnist.py

Thanks for your great work
I found some problem when running the example, I can't find the reason
when running the above two example, the following error pop up:

Traceback (most recent call last):
File "cnn_mnist.py", line 72, in
run()
File "cnn_mnist.py", line 62, in run
nn.fit(X_train, y_train, learning_rate=0.05, max_iter=3, batch_size=32)
File "F:\summerVacation\lib\site-packages\nnet\neuralnetwork.py", line 29, in fit
Y_one_hot = one_hot(Y)
File "F:\summerVacation\lib\site-packages\nnet\helpers.py", line 9, in one_hot
one_hot_labels[labels == c, c] = 1
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices

I'm not sure why this happen.

Hi,
I also have same problem. no one find the solution ?

@Zehui127 @iamyup In cnn_mnist.py and mlp_mnist.py, The type of y_train and y_test need to be converted to int, since the index of array cannot be float. i.e., modify the code
y_train = mnist.target[:split]
y_test = mnist.target[split:]
to
y_train = mnist.target[:split].astype("int")
y_test = mnist.target[split:].astype("int")

@snowkylin  I tried the solution you provided, but Im still getting the same error.
Traceback (most recent call last):
File "cnn_mnist.py", line 72, in
run()
File "cnn_mnist.py", line 62, in run
nn.fit(X_train, y_train, learning_rate=0.05, max_iter=3, batch_size=32)
File "/home/abhinav/Testing/nnet-master/nnet/neuralnetwork.py", line 29, in fit
Y_one_hot = one_hot(Y)
File "/home/abhinav/Testing/nnet-master/nnet/helpers.py", line 9, in one_hot
one_hot_labels[labels == c, c] = 1
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices


findLastIndex error when loading hello in Firefox

findLastIndex is not a standard JS function, so Firefox can not load a Chainlit app.
Attached is a screenshot, just run
chainlit hello
And open localhost:8000 in Firefox.

Hi, it has been fixed recently and will be on the next release.


[Android]IVideoListener not working as intended

🐛 Bug Report
The implementation of VideoListeners doesn't work in the current version.
By doing player.AddVideoListener(this); It will make the app crash on runtime.
Strange thing is there's nothing to implement from IVideoListener despite it being an interface.
Expected behavior
No crash and interface methods called.
Reproduction steps
Setup a player , source etc..
Add a video Listener (player.AddVideoListener()) and test.

Please try again in 2.11.7


[Bug][POST] "/api/demo/blueskyProfiles/check-ownership": 401

Bug details

On link after I fill out the form I get a 401:

I tried that, still got a 401 :|

It all looks good. Can you retry with a new app password?

Yup, tried with a new app password and it worked! Thanks!


How to just select year or month?

I have read the docs of bootstrap-datepicker and found that I can just select year or month by setting the Start view, Min view mode and Max view mode. So how could I do the same thing by using react-bootstrap-date-picker? Your timely reply would be much appreciated.

I don't believe year selection is yet supported.


Everyday Heroes release

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: Everyday Heroes

The publisher of this game is: Evil Genius Games

The name of this game system/family is: Everyday Heroes

[X] I have followed the Character Sheets Standards when building this sheet.

[X] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Initial sheet release. Includes support for manual entry of all character features. Compendium integration in progress.

Character Sheet Info Roll20 Internal Use only.


Add ECMAScript Date Time format description

When working with a web frontend you may need to parse a date, they are usually formatted by the toISOString() function.

[This function return a string] which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively).

ECMAScript Date Time String Format

I don't know if you noticed this, but the text on MDN doesn't match the text of the specification. MDN says it has to be 24 or 27 characters (implicitly always using Z), but the spec says ±HH:MM is also valid. This format can definitely be added, but this uncertainty needs to be resolved in my opinion.

It is not an error, the format support timezones but this particular function returns only UTC,  from MDN:

The timezone is always zero UTC offset, as denoted by the suffix "Z".

Yes, but per the specification:

Z is the UTC offset representation specified as "Z" (for UTC with no offset) or an offset of either "+" or "-" followed by a time expression HH:mm (indicating local time ahead of or behind UTC, respectively)

MDN is also injecting its own viewpoint that it has to be a fixed number of characters, which cannot be reconciled with the spec.

Marking this as blocked pending a resolution of the previous concern.

In my case I ended up using the RFC3339 format description.
I did some research and there seem to be only one case where a ECMAScript Date Time string will not be RFC3339 compliant: expanded years with 6 digits.
An ISO8601 format description would handle ECMAScript Date Time and be useful to more people.


Add TravisCI code folding and timing

This is a test PR to see if exported travis commands work.

The timing observations from this PR don't really provide any new insight compared with what @Drulex had already found here: https://github.com/neuropoly/spinalcordtoolbox/issues/2923#issuecomment-718708497


Text to Sql

Can you describe the content in more detail? @GAN-007

Automation of prompting to sql


feat/OTA-3155/Dont-patch-credentials

Draft code.

Oh! As to the whys:

autoprov_credentials.p12 contains the shared provisioning credentials.
autoprov.url has the URL to the device gateway on the server, which is where we send most of our requests.
root.json contains the root metadata for bootstrapping the Uptane metadata verification process.

Also note that the code mentions a "server_ca.pem". That is only used in device credential provisioning for the OTA Community Edition and this recipe is only for shared credential provisioning, so you can ignore that file here.

@patrickvacek Thank you!


undefined symbol: sqlite3_column_table_name

Installed fiona, but get this error, trying to import it

Traceback (most recent call last):
File "", line 1, in
File "/home/vladimir/anaconda/lib/python2.7/site-packages/fiona/init.py", line 72, in
from fiona.collection import Collection, BytesCollection, vsi_path
File "/home/vladimir/anaconda/lib/python2.7/site-packages/fiona/collection.py", line 7, in
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
ImportError: /usr/lib/libgdal.so.1: undefined symbol: sqlite3_column_table_name

Installed it through pip

Duplicate of #294 and not a valid Fiona issue.


Add verbose logging option

Display address and port when router/client try to connect or bind.

Closing issue due to inactivity


Verification failure

App integration is done successfully,
Receiving token, but when trying to verify getting 215 bad authentication data. Compared the generated oauth Echo with that of digits web example cannonball, had observed for oauth signature character encoding is missing,
Any suggestions please

Hmm not sure how I can help you without seeing what you've done

Hi I got it
The problem is with oauth_signature it is having special characters like + and =, and when i am passing them as Headers it is breaking, once i applied the uriencoding it was good.
In order to do this i have applied some crude code, can we improve the plugin to send us back the login response in proper json format so that it will be easy, right now  'X-Verify-Credentials-Authorization' is a long string to extact oauth and apply encoding requires string split etc, if you have any better way of handling please let me know.

I am facing the same issue. Can you please share code sample to demonstrate, how you fixed it.

@Alphatiger , @nibhatish facing same issue,

@nitin7dc  Following worked for me.  Called digitLoginSuccess function with loginResponse from Digit.
function digitLoginSuccess(loginResponse){
// alert(JSON.stringify(loginResponse));
var oAuthHeaders = loginResponse.oauth_echo_headers;
var verifyData = {
authHeader: oAuthHeaders['X-Verify-Credentials-Authorization'],
apiUrl: oAuthHeaders['X-Auth-Service-Provider']
};
console.log(verifyData.apiUrl);
console.log(verifyData.authHeader);
// all the following code is required to encodeURI signature part of Authorization. We first, have to split , then encode and
// then again join the string to make it original
var strinput = verifyData.authHeader;
var tempStringSignature = 'oauth_signature="';
var tempStringSignatureMethod = '", oauth_signature_method=';
var encodedCredentials="";
var tempSplit1 = strinput.split(tempStringSignature);
var tempSplit2 = tempSplit1[1].split(tempStringSignatureMethod);
var strSignature = encodeURIComponent(tempSplit2[0]);
encodedCredentials = tempSplit1[0] + tempStringSignature + strSignature + tempStringSignatureMethod + tempSplit2[1];
      }

@nibhatish this solves the issue, thanks for such an early response!

Hello @nibhatish, You have no idea how badly I was looking for a solution to this error Bad Authentication Data. I was integrating digits for web with backend in PHP. I haven't found information about this encoding anywhere, not even in twitter documents.
BTW how did you find out about it? That we need to encode oauth_signature before sending request to digits server.
Many Thanks,
Waqas

@djvickx just a random question, is this digits-cordova package still working for you? It's been a while since I've used this, not sure if twitter has changed how it works.

@djvickx I also lost some hairs while finding the solution :-). I followed the comment of @Alphatiger about how to fix it and just translated his suggestions in javascript.


Deploy on Raspberry Pi

Heroku is no longer free, so we self-host now.

Get the current version of the app to run
Expose port 3141 for connecting to the app: https://pi.joeyshi.com:3141

https://gist.github.com/rain-1/2d6033ee2b63c0a3ab802b5572df3ba9

docker rootless: https://raspberrytips.com/docker-on-raspberry-pi/


Hydrogen-ui storefront API schema and types

Closes #1025 (and checks off an item on my list) and adds very basic intro docs on how to implement these features.
Relies on #1115 to be merged first, since it builds on that PR. (Opened this PR against that PR so that this one doesn't look as big, I'll change the target after 1115 is merged)
One thing I'm still thinking about is the best way to make the storefront TS types accessible to hydrogen; currently, I think our choices are

Duplicate the TS types and graphql generation code (not a fan)
Force hydrogen to depend on hydrogen-ui and use the types just like any other library/store

Other ideas?

LGTM, I'd like to ship an unstable version of this after merge and test it out.

Hydrogen-ui isn't publishing yet, but that's on my todo list this week.


Support core-str key invalidation

What's the status of this PR?

We will re-design this proposal.


added preview mode

added preview and draft docs to blog posts.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.