Cannot read property aspect of undefined.

I'm getting a the following error when trying to add this Camera example to my react app.  When I open up the app I get the error, even if I don't actually use the component, simply by adding it with
var Camera = require('react-native-camera'); I get the error.
react-native-cli: 0.1.9
react-native: 0.18.0-rc
npm -v react-native-camera
3.5.3
However if I open up the node_modules and find the react-native-camera and open up the package.json I have this as the version "version": "0.3.8"

Created a new project, followed steps again and it worked this time.  Safe to close this issue.

After installing and linking package, important to rebuild native part of app.

If you do the "Mostly automatic install with RNPM" for Android, you still have to do steps 2 and 4 of the manual install:
Open up `android/app/src/main/java/[...]/MainApplication.java (the Readme says MainActivity.java, but that's incorrect):
Add import com.lwansbrough.RCTCamera.*; to the imports at the top of the file
Add new RCTCameraPackage() to the list returned by the getPackages() method

Insert the following line inside the dependencies block in android/app/build.gradle:
compile project(':react-native-camera')


Tools is being overridden.

Description
@C451 Found one more issue, Looks like the tools section is being overridden. Even when I explicitly specify 2 tools and load data synchronously I get 4 Tools
"tools": [
        {
            "type": "LineTool",
            "settings": {
                "color": "#35c460"
            }
        },
        {
            "type": "LineTool:Extended",
            "settings": {
                "color": "#3186c4"
            }
        }
    ]

 data() {
        return {
            chart: new DataCube(Data) ,
            overlays: []
        }
    },

That is actually is expected , coz this setting is presets. But it remembered me about the toolList feature.

@oneart-dev can't remember now it was 2 years ago.

For this Tools, Can we add customEvent?
I’m trying to use touchstart, touchmove and touchend! It return Id not function or undefined


test(stock-market): add stock market effects spec, closes #267

I wrote the tests without the TestBed as advised by Viktor Savkin in this example repo. If you feel that the tests should use TestBed I can refactor it without a problem.
I refactored the retrieveStock effect into a function, which allows for easier overrides of the debounceTime value and scheduler during testing. It follows the official effects testing guide.
Finally, I fixed a bug with distinctUntilChanged() operator. Let me demonstrate it with the example:
Assuming we dispatch the following actions:
{ type: 'RETRIEVE', payload: { symbol: 'TSLA' } }
{ type: 'RETRIEVE', payload: { symbol: 'TSLA' } }
{ type: 'RETRIEVE', payload: { symbol: 'TSLA' } }

By default distinctUntilChanged() uses === operator for equality check. Because every action is a new object, the operator will not filter anything, even though the actions have the exact same payload structure.
Luckily, distinctUntilChanged() accepts a compare function as an argument and we can just compare the symbol to get the desired behavior.
distinctUntilChanged((x, y) => x.payload.symbol === y.payload.symbol)

So, to summarize, this will be merged as soon as it is refactored to use beforeEach.

Fixed everything as requested :)


Docs add blockchain architecture modular monolithic

🛠 Fixes Issue #143
👨💻 Changes proposed

Adds a markdown file on Blockchain Architecture
Markdown contains link to an external detailed publication on Monolithic and Modular Blockchains

📄 Note to reviewers
Modular blockchain approach aids further understanding from the blockchain trilemma standpoint.
I saw a detailed review on blockchain trilemma right here on the repository, it spurred me into sharing my publication on modular blockchains.
This will indeed be a great material for anyone seeking to start out learning about blockchains and web3.0

how will this file be visualized?

On how it will be visualised, I believe best results will be gotten from adding the .md doc to the main repo

@codewithuddy do you still want to work on this?


Fix liveshare guest hang issue

For #7638

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

My internet works again :P

Codecov Report

Merging #7764 into master will decrease coverage by 0.41%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #7764      +/-   ##
==========================================
- Coverage   58.78%   58.36%   -0.42%
==========================================
  Files         496      496
  Lines       22146    22157      +11
  Branches     3568     3565       -3
==========================================
- Hits        13018    12933      -85
- Misses       8310     8398      +88
- Partials      818      826       +8

Impacted Files
Coverage Δ

src/client/datascience/jupyter/jupyterServer.ts
9.45% <0%> (-0.13%)
:arrow_down:

...datascience/jupyter/liveshare/hostJupyterServer.ts
16.04% <0%> (-1.06%)
:arrow_down:

...atascience/jupyter/liveshare/guestJupyterServer.ts
14.54% <0%> (-1.46%)
:arrow_down:

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

... and 11 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 ab59f3c...3e29d0f. Read the comment docs.


Possible to use with Confluence cloud?

My team and I are using Confluence cloud with two-factor authentication, and would like to push some Sphinx docs. Has this use case ever been tested?

@petebachant, it's not supported at this time. Atlassian's documentation indicates:

API access tokens with two-step verification
If you enable two-step verification on an account that is used by scripts or services to access Atlassian Cloud REST APIs, then that account won't be able to use a password for basic authentication against a REST API. We recommend that you use an API token instead, although an organization admin could exclude the relevant account from two-step verification. Read more about API tokens.

To use the REST API (as stated above), an API token will need to be used instead. Unfortunately, when I go to my Confluence Cloud instance, it states that "[API tokens are] not available just yet. We're working on it, so please try again in the future". When API tokens into either a more working beta state or completely supported, we'll make sure this capability is added.

@petebachant, got some good news. The Atlassian cloud instance I have access now has the ability to create API tokens. After creating a token and testing with the most recent release of this extension, I'm happy to say that API tokens already work. By using your account's Email as the username (confluence_server_user) and API token value as the password (confluence_server_pass), you should be able to authenticate when using the REST API (note: API token support is not available over XML-RPC).
That all being said, I'll try to update our documentation to explicitly indicate this (and probably even promote to use API tokens over using an account's password).
Closing this issue (and thanks for bringing this up).

Just getting back to this now. Thanks a lot for your help!


fix running locally via Docker Compose

The nginx config is templated for Terraform, which won't be filled in when running via Docker Compose.

No longer relevant.


Use custom host and port

In order to test on other devices on my LAN I needed to be able to set the host to my ip. eg if my ip was <IP_ADDRESS>, then run:
NODE_HOST=<IP_ADDRESS> npm start
Then navigate to http://<IP_ADDRESS>:3000/demo/dist on another device (eg ipad or smart phone) on your LAN
npm start continues to work on http://localhost:3000

Thanks @andysprout!


Use with service like ngrok for remote access from off LAN.

Is your feature request related to a problem? Please describe.
Yes, I followed the instructions for lan access and that worked fine for accessing via lan. But when I use ngrok when I access the page the page loads but hangs on the spinning circle in the middle.
Describe the solution you'd like
Instruction on how to get this awesome project accessible from off the lan. I would like to be at work and still access this from my server that I have running it.
Describe alternatives you've considered
I tried ngrok and loclx. I only get the spinning circle.
Additional context
None.

You just need to replace <IP_ADDRESS> in the docker compose file with the actual domain assigned to your backend and rebuild the images (making sure the previous ones are deleted).

If anyone get this working should share

You can elaborate? Where you put this file in the compose tree under /Perplexica/ ? Or Nginx should be installed separated?

nginx is a reverse proxy like Caddy, Haproxy. Nginx just happens to be what I used. It is something extra you need to have, but If you have another reverse proxy already installed you can use that.

I'll try to install Nginx and go this route, perhaps this time I'm lucky. we tried Cloudflare tunnels with not luck. It would be easier if Perplexica was designed to run remote.

I'll try to use Caddy as I'm using zrok for the other projects. I'll try to translate to their syntax
one question:   is the public name on Nginx? So I'll need to put this public name on the Perplexica compose file
Great to know

fyi for anyone looking how to get caddy reverse proxy working. caddy seems to handle websockets automagically:
In the docker env for the frontend:
  perplexica-frontend:
    image: xwukong/perplexica-frontend:latest ## I used this image because latest official main (as of today Oct 3, 2024) seemed to have a bug https://github.com/ItzCrazyKns/Perplexica/issues/385 and I was lazy
    environment:
        - NEXT_PUBLIC_API_URL=https://perplexicabackend.yourdomain.com/api
        - NEXT_PUBLIC_WS_URL=https://perplexicabackend.yourdomain.com #note that I use https:// instead of ws://
    ......

And for the Caddyfile I used two different subdomains:
perplexicafrontend.yourdomain.com {
	reverse_proxy <IP_ADDRESS>:3000 #(the local ip of my server (my caddy runs on another device) plus the stardard port for the frontend)
}

perplexicabackend.yourdomain.com {
	reverse_proxy <IP_ADDRESS>:3001 #(the local ip of my server (my caddy runs on another device) plus the stardard port for the backend)
}

And via perplexicafrontend.yourdomain.com it's available.
btw: of course I secured it. for example via:
perplexicafrontend.yourdomain.com {
	@denied not remote_ip <IP_ADDRESS>/16 <IP_ADDRESS>/12 <IP_ADDRESS>/24 <IP_ADDRESS>/8 <IP_ADDRESS>/8
	respond @denied "Nope" 403
	reverse_proxy <IP_ADDRESS>:3000
}

perplexicabackend.yourdomain.com {
	@denied not remote_ip <IP_ADDRESS>/16 <IP_ADDRESS>/12 <IP_ADDRESS>/24 <IP_ADDRESS>/8 <IP_ADDRESS>/8
	respond @denied "Nope" 403
	reverse_proxy <IP_ADDRESS>:3001
}

so it can only be reached via a machine in your lan or for example if you use wireguard to connect to your home network


bug: breaking change between 1.0.3 and 1.0.4

I suppose there is a a breaking bug between 1.0.3 and 1.0.4, since my echarts components won't be displayed anymore. Reverting to 1.0.3 resolve the problem.

There are something different between 1.0.3 and 1.0.4 :

Yeah, I realized those changes. I think it might have something todo with how the full.js export is altered, but I am no expert on Webpack.
Here is my component:
import IEcharts from 'vue-echarts-v3'

export default {
  data () {
    const colors = ['#5793f3', '#d14a61', '#675bba']
    return {
      loading: false,
      bar: {
        title: {
          text: 'Tiny IoT Cloud'
        },
        color: colors,
        tooltip: {
          trigger: 'none',
          axisPointer: {
            type: 'cross'
          }
        },
        legend: {
          data: ['Temperature over time, realtime']
        },
        grid: {
          top: 70,
          bottom: 50
        },
        xAxis: [
          {
            type: 'category',
            axisTick: {
              alignWithLabel: true
            },
            axisLine: {
              onZero: false,
              lineStyle: {
                color: colors[1]
              }
            },
            axisPointer: {
              label: {
                formatter: function (params) {
                  return 'Point ' + params.value + '：' + params.seriesData[0].data
                }
              }
            },
            data: [1490537651675]
          }
        ],
        yAxis: [
          {
            type: 'value'
          }
        ],
        series: [
          {
            name: 'Temperature Realtime',
            type: 'line',
            smooth: true,
            data: [10]
          }
        ]
      },
      ws: null,
      mockInterval: null
    }
  },
  mounted () {},
  methods: {},
  components: {
    IEcharts
  }
}

Can you give me the contents of package.json?


version: change version to 1.3.0-SNAPSHOT

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
version: change version to 1.3.0-SNAPSHOT
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2585 into develop will decrease coverage by 0.15%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #2585      +/-   ##
=============================================
- Coverage      51.19%   51.04%   -0.16%
+ Complexity      2806     2804       -2
=============================================
  Files            554      554
  Lines          17774    17754      -20
  Branches        2101     2062      -39
=============================================
- Hits            9099     9062      -37
+ Misses          7817     7810       -7
- Partials         858      882      +24

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/io/seata/core/protocol/Version.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterRMRequestConvertor.java
90.47% <0.00%> (-4.77%)
3.00% <0.00%> (ø%)

... and 22 more


document that stellar network needs to be set

Stellar::Client.default.create_account signs things with testnet

duplicate of #22
I'm closing this issue since the other has been edited to reflect my planned changes to solve this issue.


Report: TO BE REMOVED report is showing

Report 2018-0747 has In Control set to "TO BE REMOVED", but it's still showing on the website: https://boardagendas.metro.net/board-report/2018-0747/
Can you make sure it's removed as soon as possible? I thought we were using "TO BE REMOVED" as a filter to hide reports, is this not the case?

@reginafcompton yes, please filter reports where "In Control Body" = "TO BE REMOVED" so they are not displayed on the site.

Closing via scraper changes in https://github.com/opencivicdata/scrapers-us-municipal/pull/269/files!


Samsung Galaxy Tab A Bluetooth

Hey! Fantastic app! I found this because I'm trying to connect my two weapons to two separate Samsung Galaxy Tab A's. The official app just stays on, "Searching" while trying to connect. I tried SimpleCoil but the connection fails right away. Is it just the device that doesn't work? Isn't bluetooth protocol standard?
Thank so much for making this!

There are a handful of devices that just don't seem to implement Bluetooth Low Energy protocol correctly. Unfortunately there's not much I can do inside the app to fix it. The fix would almost certainly have to come from Samsung.


AsyncSceneCollider sometimes generates colliders for a different scene spawned in the same system

So I'm spawning two scenes from gltf files in a single system (see below). On scene A I want to have colliders for every mesh, and scene B is only for decorations etc. However it seems that on a majority of runs the colliders are actually generated for scene B instead of A.
    commands.spawn((
        Name::from("A"),
        SceneBundle {
            scene: scene_assets.a.clone(),
            ..default()
        },
        AsyncSceneCollider::new(Some(ComputedCollider::ConvexHull)),
        RigidBody::Static,
    ));

    commands.spawn((
        Name::from("B"),
        SceneBundle {
            scene: scene_assets.b.clone(),
            ..default()
        },
    ));

Tested on 0.3.2 and main.
Let me know if a minimal reproducer would help!

Upon closer examination it actually looks like the asset loader I'm using is swapping things around. Still trying to figure out if it's a usage error but at least this can be closed.


Workflow retry counter not cleared in autorun mode

When a workflow moves from one paused state to another using autorun the retry counter from the first pause loop is used as initial value in the second pause. The reason is the recursive implementation of execute_action in the upstream workflow class.
This usually unintended behaviour is used in some custom implementations to create a loop so we need to make sure to not break existing intended functionality when fixing this.
Likely best solution is replacing the recursive calls with an iterative loop.

Workaround in place, final fix with #748


KOGITO-7694 Fixed kn commands in create-your-first-workflow-service.adoc

JIRA: https://issues.redhat.com/browse/KOGITO-7694

Fixed kn commands in the Getting Started guide
Added dev.local as repository to kn-plugin-workflow-overview.adoc - @ljmotta can you review please?
Fixed broken link in deploying-on-minikube.adoc

Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] The nav.adoc file has a link to this guide in the proper category
[x] The index.adoc file has a card to this guide in the proper category, with a meaningful description

@hbelmiro @ljmotta is this change will impact the kn cli for DP1? If so, we need to cherry pick to 1.24, 25, 26.

@hbelmiro @ljmotta is this change will impact the kn cli for DP1? If so, we need to cherry pick to 1.24, 25, 26.

Yes, we need to cherry-pick at least the changes in getting-started/create-your-first-workflow-service.adoc, since the kn instructions are not correct.
Also, we need to cherry-pick https://github.com/kiegroup/kie-tools/pull/1144 so the new instructions can work properly.

The procedure listed in this PR must be backported to 1.24.x branch. It's slightly different since we have the bug on Quarkus 2.10.
We should keep what is described here for 1.25, 1.26, and main.
@hbelmiro ^
@hmanwani-rh @akumar074 we've found this bug now, but we can patch the openshift-knative later this week, after we push the first update.

Thanks for the review @ljmotta.

I know it's out of the scope of this PR. But could you please fix the repository in the kn-plugin-workflow-overview?
https://github.com/kiegroup/kogito-docs/pull/135/files#diff-b606b383b3cb6e568f94ebe9b978e01954fd7ec67aef12644ade31f1907d4c7dR311
It should be git clone git@github.com:kiegroup/kie-tools.git (without "-")

Done.

@hbelmiro Some things will need to be updated in this PR with the https://issues.redhat.com/browse/KOGITO-7740 . I've alredy started to work on it on https://github.com/kiegroup/kie-tools/pull/1175
Summarizing the changes:

A new flag will be add called [--quarkus-platform-group-id|-G] as required in https://issues.redhat.com/browse/KOGITO-7740 . This flag will set the quarkus-maven-plugin groupId.
The --kogito-version will be removed as the Kogito version will be determined by the kogito-bom or by the quarkus-kogito-bom, and those are going to be set manually.

The --kogito-version will be removed as the Kogito version will be determined by the kogito-bom or by the quarkus-kogito-bom, and those are going to be set manually.

@ljmotta Are they going to be set manually by the reader of the guide? Do I need to include this in the guide or just remove --kogito-version?

@ljmotta and @ricardozanini
Can you please take a look at this commit?
https://github.com/kiegroup/kogito-docs/pull/135/commits/330b2c6dc2b5e89a7763cf8f9507b48c9140e97c
The commit reflects the latest changes that @ljmotta is doing in the kn workflow plugin. (this comment)

@hbelmiro The Kogito version used by the project will come from the quarkus-kogito-bom. Sorry about the confusion regarding changing it manually. :sweat_smile:

@hbelmiro I would use {quarkus_platform_group_id} instead of {quakus_platform}, as this flag sets the platform groupId.


The indent left and indent right shortcut labels are inverted

Godot version:
3.2 dev
OS/device including version:
Windows 10 x64 / NVIDIA GeForce GTX 1060 6GB / Intel Core i7 4790K
Issue description:
The Indent Left and Indent Right shortcut labels are inverted, ie, they are doing the opposite.

Note: this is not the indent shortcut labels but rather the key labels. This happens when you use [ and ] in InputMap as well.

Updated.


Please check this Inscription

Inscription #49508478
Inscription #49505492
Inscription #49510708
Inscription #49510302
Inscription #49511532
Inscription #50044011
Inscription #49505491
Inscription #49516799
Please check this Inscription

find the double check your inscription number double check results here -> https://github.com/orc721/monkes21/blob/master/DBLCHECK.md


Ticket has illegible file attachements from email

regarding #466

TODO: fix python2.7 coding issue (probably add unicode mark)

Pawel, did you reference the branch on my fork that addressed this issue? Here we seem to be revertinf to an approach we've tried in the past but shich can't work for both py3 and py2. By using dfferent methods of the multi-part message class we can selectively attach as content (good for py2 where there's no penty for treating bytes as strings if the encodings work out) or we can attach as just pathon-dsk which is good for py3 since te std lib will handle the codec operations itself when it needs to). Sorry for typos on my phone... :wink:

I've run into this problem before and thought it was fixed previously :-) it's definitely an encoding issue, and needs to be written so that it works on py2 and py3 (likely needs to use six support?) as encoding handling is vastly different between python 2 & 3. Thanks for starting the work @pawelmarkowski !

@reduxionist Regarding your firt question - yes, I did.  I fetched your branch and after couple changes and  few tests I merged it and deleted. I think there is a chance to add for example:
@python_2_unicode_compatible
and add: part_attachment.add_header('Content-Disposition', u'attachment; filename="{}"'.format(file_name)) symbol. Unfortunately I do not have a possibility to make a tests in py 2.7
I have seen six.PY3 condition in your code. I thought that the message was not attached due a mimetype and headers that were missing so I changed this part of code too.

I have tested this on Python 3.4.2 w/ Django version 1.9.1 and it solves the issue for me.   Thanks.

Thanks for the review @tshabs! 😄
Although @pawelmarkowski's  excellent combined-and-refined patch also LGTM as the solution to this issue, unfortunately it fails to build for Django 1.8 under Py3. The issue is that Django's re-implementation of the standard library's email module complicates Py2/3 compatibility, but they didn't revert back to the standard lib's version until Django 1.9. 💢
Since there's still another three months before Django's next LTS release, I don't feel we can make our support for 1.8 a Py2-only option just yet... Having taken a few swings at this already myself, the simplest solution I can come up with for now is to split out our 1.8/Py3 support into a separate branch until they release 1.11 this spring.  It's just the templated outbound-mail that needs this special handling, so I'm fine volunteering to handle any dual-patching maintenance-overhead that this might incur. Any thoughts from the maintainer's gallery @flinz, @gwasser et al.?

Hmm, complex situation. I guess my concern is how users will know to use a special branch until then? I appreciate you volunteering to upkeep the separate branch! I'm fine with that as long as we have a bug report or wiki saying to use that branch until 1.11 is out.
I think when 1.11 is out, it would be fair to branch off the 0.2.0 release separately, and have master target 1.11+ (as a 0.3.0 I guess?). So that's longer term solution.

are you sure is it a problem with lib not with the tests? Can anybody check it under django 1.8? Unfortunately I do not have enough time in next 2-3 weeks.

I merged in the patch now that Django 1.11 is out. We'll switch to 1.11 as the minimum required version, since 1.11 will not remove any features of 1.8-1.10 but fixed the mail handling issues in 1.8 that caused trouble here.


Roadmap: Configmap Support

ETA: End of June 2023

I have a Use Case : Spring Boot App deployed using a ConfigMap instead of the Spring-Config-Server
https://github.com/ezYakaEagle442/aks-spring-with-config-map we need ACA to support ConfigMap to ensure a seamless portability between ACA & AKS.

I also have a use case for configMaps for a Drupal implementation that my organization is trying to deliver.

Hi @SophCarp,
I just wanted to know if a public/private preview is available to try this before the actual release?
We have a service that could be deployed with ACA instead of AKS, but we would like to have configmap support for easier migration.

Hi @torosent, @SophCarp -
Hope you're well. One of the major blockers we have is our existing Source Code depends heavily on config files being available in privileged directory. In Kubernetes, this was fine, because Kubelet auto-mounts files before Pods start.
Couple questions:

Will the configMap support work similar to Kubernetes;

e.g.:
    spec:
      containers:
       ....
          volumeMounts:
            - name: kafka-properties-vol
              mountPath: /kafka.properties
              subPath: kafka.properties # <---- Can we mount a specific file to subPath?
      volumes:
        - configMap:
            name: otel-agent-conf
          name: kafka-properties-vol

Is this still on track for End-of-June?

I'm a bit late to the party here, but just wondering what this is going to look like.
One of the things that I'm looking forward to about container apps is the abstraction from Kubernetes.  That is, I'm hoping it will be way simpler to configure but retain the functionality and scalability.  However it looks like it's mapping a lot of the features like-for-like, right down to the implementation.
With ConfigMaps, most of the use cases I imagine will be to just stick a file into the container filesystem.  The use case will be something like "I want to place a file in this directory'.  Thus the configuration for this feature could simply be something like:
file:
path in container:
I don't want to mess around with volumes, volume mounts, keys, values, etc.  Also, unless you have prior k8s experience, you won't even know what a 'ConfigMap' is, nor should you care.
The ingress implementation kind of followed this approach I think, where 'ingress' is really 'k8s services'.  Anyways, it would be cool if this followed a similar approach.

Hi @SophCarp ,
Is there any progress on that?

Any updates?

Hi @SophCarp, any news of this feature?

What with Q4 drawing to a close soon, is the ETA for preview still Q4?

Hi @torosent, any update on this issue?

anything? it's now 8 months post Q4 2023!

Is there any new ETA? Not having configMaps overcomplicates some stuff that was easily done in Kubernetes

@simonjj That's a shockingly bad decision (IMO) in the face of how bad the blob support is. Azure Files force all sorts of dependencies or security compromises. How hard can it be to fetch directly from blob using an identity? Why do I need to script that out as part of the init command?
Or is Microsoft's idea here that I'm supposed to build a new container version every time I want to change config? Madness.

In some cases, you can use multi-line secrets to get the functionality you need:

Create a secret and set its value to the config file content
In a revision, create a volume for the secret and a volume mount in your container

When you update the secret's value, the file content is updated automatically.

@fardarter I think just use k8s and be done with it.

In some cases, you can use multi-line secrets to get the functionality you need:

Create a secret and set its value to the config file content
In a revision, create a volume for the secret and a volume mount in your container

When you update the secret's value, the file content is updated automatically.

@anthonychu, I appreciate there are workarounds, but I don't understand how one of the most basic building blocks of k8s somehow wasn't a showstopper for release.
I don't want to have to manage interactions with now a third resource type to configure a container, especially one that now requires different treatment (in terms of permissions/expectations) from every other one of those types I have.


Improves formatting of deprecated items, see ApiGen/ApiGen#540

Hi @TomasVotruba,
finally got around to sorting this out, and it's only a couple of lines!

Hi, I'm no longer maintainer of this project.
See https://github.com/ApiGen/ApiGen/issues/613

Thanks @gregrobson!


Bump parquet and arrow deps to version 20

Awaiting workflow approval :)

Sorry, I missed this from my notifications. @baby-bell I don't see a workflow approval button anymore (not sure if it's because the PR has been open for some time). Any idea how to revive it? Apologies!

No worries. I don't see an approval button either, so maybe the issue resolved itself?

This PR was superseded by the change from #41


[Info request] Integrating Hummingbot with Telegram on Docker in AWS

Hi,
I'm trying to integrate a hummingbot instance that is located in AWS (and installed as a docker container) with Telegram.
What I've tried so far:

I've followed the steps from here: "https://docs.hummingbot.io/features/telegram/" . I've modiefied telegram_enabled, telegram_token and telegram_chatID and verified them multiple times to make sure they are correct. I`ve also started the hummingbot with a pmm config, but the commands I execute from the telegram bot have no effect (config, balance, etc) .
I've modified the Security Group of the AWS VM to allow all traffic inboud  and outboud
I've tried modifying the create.sh script and adding "-P --expose 80 --expose 443" to the "docker run" command to try to forward the HTTP API request from the container to the external networks

Do you have any guidance on how to achieve this?
Thank you!

@florinteodorescu, It works fine on my end using AWS cloud. Have you tested your telegram token and chatID if it is working using a local installation? We have 24/7 online support at discord, feel free to join and chat with one of our support to help you with your issue.
Here is our discord invitation link. https://discord.com/invite/2MN3UWg

@florinteodorescu how are you configuring the telegram token? you need to copy it into the global config by hand, because of this bug #2391

Thank you for your answers!
Indeed, after copying it by hand in the global config it worked :)
The strange thing is that I've tried the same steps on a local setup (docker) and it worked with copy paste in the terminal window (without manually configuring the global config file), this left me thinking that the issue was related to the AWS cloud. Sure enough, manually changing the global config worked. Still not sure why it works locally but not in AWS.

@florinteodorescu, It works fine on my end using AWS cloud. Have you tested your telegram token and chatID if it is working using a local installation? We have 24/7 online support at discord, feel free to join and chat with one of our support to help you with your issue. Here is our discord invitation link. https://discord.com/invite/2MN3UWg

SCAM!!!
this LINK is a SCAM, dont click or follow, its a false invite link to a false hummingbot discord.


Non-announcing the GOST algorithms for TLS 1.3

The GOST sigalgs currently supported should be explicitly disabled in TLS 1.3, where they have not been previously deployed or specified.

As I said in #6168, at the point of announcing in the ClientHello you don't know what version of TLS will eventually be negotiated. Therefore if the lowest supported protocol version is TLSv1.2 or below then we will still need to announce these sig algs, even if the highest supported version is TLSv1.3. We can get the server to refuse to negotiate them if TLSv1.3 has been selected.


Req.Steps.auth/2 does not support updating authorization header

Problem
I am writing a reauthenticate step for Req that will refresh credentials on 401.
This was not working however, and I realized that the Req.Steps.auth/2 function uses Req.Request.put_new_header/3 and thus cannot be used for updating the authentication on a request. Looks like this needs to be done manually. It would be nice if this was supported by the auth/2 function out of the box. The only workaround is to just copy-paste the code from the Req library.
Proposed Solution
Have Req.Steps.auth/2  support updating the authorization header.
Versions
:req 0.4.8

Yeah actually, I don't quite understand why auth/2 uses put_new_header and not just put_header since put_header has overwrite behaviour. @wojtekmach would you be okay with making this change? I could throw together a quick PR.

Yeah I can't think of a reason. A PR would be appreciated.

@wojtekmach I put up a PR with this change.


Calendar control localization format

The interface displays the English format, I want to let the Chinese format be displayed.

Solved on the forum https://www.ultimatepp.org/forums/index.php?t=msg&goto=60556&#msg_60556.


Add methods to StringAttributeArray and StringAttributeWriteHandle

Added missing array() method for StringAttributeHandle and StringAttributeWriteHandle. Also added convenience hasIndex() method to StringAttributeWriteHandle for checking if a string exists in the metadata cache already.
Updated StringAttributeWriteHandle unit tests to use hasIndex to verify it is working as intended.

Hi @dnegmw - "This branch is out-of-date with the base branch".
If you can update this branch to master, it will also trigger a build that should mean all 3/3 checks will go through successfully so this can be considered for merging. As the author, only you are able to do that unfortunately.


Parse XML with namespace

feat: add xml-ns xpath compatiblity
closes #132
- chore: set-up the basic test and changes

fix: test case
fix: xpath for namespaced strings
update buildnumber

Your code is now merged into v4.13.0!
I will close the PR here.


Weird issue with /usr/bin/env on symbiflow-examples runners

There was a weird failure @ https://github.com/SymbiFlow/symbiflow-examples/runs/4083446723?check_suite_focus=true
Run actions/upload-artifact@v2
19:37:55 | bash: line 1: /usr/bin/env: No such file or directory
Error: Process completed with exit code 127.
0s
19:37:55 | Post job cleanup.
19:37:55 | bash: line 1: /usr/bin/env: No such file or directory
Error: Process completed with exit code 127.

FYI -- @kgugala / @tmichalak

Do you think this is the pre-emption issue?

No, this is just some kind of a bug. Happens always on this particular job (centos7 xc7 counter)

Seems weird.

I agree, it is super weird. But its on the node "javacript" actions that we've support for recently... so there must be some kind of an edge case where it does not work. Same runners work fine in multiple projects in CHIPS Alliance org.

We seem to have fixed the issue. It was most likely related to an erroneous container invocation in the runner code - see https://github.com/antmicro/runner/commit/838478f10244bfd05576c28d38464ac8731e8cc6

This issue doesn't seem to be hitting us anymore. I'm closing the issue, will reopen if it happens again.


Add unit test coverage for blocks.py

What is the change?
While working on PR #1425, I found this little section of blocks.py that had no test coverage. This PR adds test coverage.
https://github.com/terrapower/armi/blob/d341941e570dc731a4b0ab9017acc65c35d43098/armi/reactor/blocks.py#L762-L767

Why is the change being made?
Unit test coverage good.

Checklist

[x] This PR has only one purpose or idea.
[x] Tests have been added/updated to verify that the new/changed code works.

[x] The code style follows good practices.
[x] The commit message(s) follow good practices.

~The release notes (location doc/release/0.X.rst) are up-to-date with any important changes.~ Not needed.
[x] The documentation is still up-to-date in the doc folder.
[x] The dependencies are still up-to-date in pyproject.toml.

The coverage dropped quite a bit with this PR. That's... odd, right?

Uhh yeah, that's really odd. Especially since the coverage report is showing a big 'ol drop for totally unrelated files....? Any idea what's going on here?

And to make it more odd, the one little section of code I added a test for had coverage go up.
Maybe there was a glitch of some sort? Unplug it and plug it back in?

The issue is that there was a coverage update released four days ago that has fixed a bug with some of the excluded_lines (found in .coveragerc) not being honored. So now the "relevant lines" has gone down but so have some of the "covered lines"
Changelog for coverage 7.3.2: https://coverage.readthedocs.io/en/7.3.2/changes.html#version-7-3-2-2023-10-02
The first bullet looked like the only one that would impact cov calcs. Here's the github issue: https://github.com/nedbat/coveragepy/issues/1684
Without even looking at the fix to the issue, I see this:

Left is main (coverage v7.3.1) and right is this PR (coverage v7.3.2). This is just a random file with a cov drop among many.
In the relevant lines, there's 202 fewer being counted. In the covered lines, 199 fewer. I couldn't find the 3 "newly uncovered" lines in the file, but this little shake-up is certainly the cause of the coverage drop we are seeing among all the newer PRs.

Well, that's a great find, Arrielle.
So, we have options:

We can ignore the coverage report for just this PR.
We can pin the coverage version in ARMI CI.
We can merge some simple docstring PR into main, and then merge main into this PR.

My vote is either 1 or 3. Up to you two though!

I also vote 1 or 3!

I think #1430 could be our PR to reset the coverage reporting.

@albeanth If you merge main into your branch, the build will pass again.


BPDM KIT Adjustments 2408

Description

Impact

Additional information

[ ] I'm willing to contribute to this feature

Done


High latency of hipLaunchKernelGGL

Why has the call of hipLaunchKernelGGL so much overhead?
struct timeval tp1;
  gettimeofday(&tp1, NULL);
  long int ms1 = tp1.tv_sec * 1000 + tp1.tv_usec / 1000;

  hipLaunchKernelGGL(saxpy,1,1, 0, 0);

  struct timeval tp2;
  gettimeofday(&tp2, NULL);
  long int ms2 = tp2.tv_sec * 1000 + tp2.tv_usec / 1000;

  long int diff = ms2 - ms1;

  std::cout << "Diff: " << diff << std::endl;

diff is no matter what I give the kernel, at least 600 ms. Why does the hipLaunchKernelGGL have so much latency? In CUDA the kernel call takes 2ms.

@TheP4Thetic ,
Very first call of hipLaunchKernelGGL takes longer time but subsequent calls of hipLaunchKernelGGL will be significantly low. Can you please confirm if you see other wise?
If data shared here is for first call then I would say it is know behavior hence it is suggested to do a warmup call before any performance measurement.

@SarbojitAMD thanks for the quick reply.
I actually benchmark the call with a warmup. The code looks something like this (the code above was just a small example):
Coordinate latt_size  ({lat*mpi_layout[0],lat*mpi_layout[1],lat*mpi_layout[2],lat*mpi_layout[3]});
      int64_t vol = latt_size[0]*latt_size[1]*latt_size[2]*latt_size[3];
      GridCartesian     Grid(latt_size,simd_layout,mpi_layout);
      GridParallelRNG          pRNG(&Grid);      pRNG.SeedFixedIntegers(std::vector<int>({45,12,81,9}));

      LatticeColourMatrix z(&Grid);// random(pRNG,z);
      LatticeColourMatrix x(&Grid);// random(pRNG,x);
      LatticeColourMatrix y(&Grid);// random(pRNG,y);

      auto x_v = x.View();
      auto y_v = y.View();
      auto z_v = z.View();
      const uint64_t Nsite = x_v.size();
      const uint64_t nsimd = vComplex::Nsimd();
      for(int64_t i=0;i<Nwarm;i++){
        accelerator_for(Nwarm, ss, Nsite, nsimd ,{
          auto xx = coalescedRead(x_v[ss]);
          auto yy = coalescedRead(y_v[ss]);
          auto zz = xx*yy;
          coalescedWrite(z_v[ss],zz);
        });
      }
      double start=usecond();
      for(int64_t i=0;i<Nloop;i++){
        accelerator_for(Nloop, ss, Nsite, nsimd ,{
          auto xx = coalescedRead(x_v[ss]);
          auto yy = coalescedRead(y_v[ss]);
          auto zz = xx*yy;
          coalescedWrite(z_v[ss],zz);
        });
      }
      double stop=usecond();
      double time = (stop-start)/Nloop*1000.0;

      double bytes=3.0*vol*Nc*Nc*sizeof(Complex);
      double footprint=3.0*vol*Nc*Nc*sizeof(Complex);
      double flops=Nc*Nc*(6.0+8.0+8.0)*vol;
      std::cout<<GridLogMessage<<std::setprecision(3) << lat<<"\t\t"<<footprint<<"    \t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;

and have a define with hipLaunchKernel:
uint32_t gpu_threads = 64;

#define accelerator1        __host__ __device__
#define accelerator_inline1 __host__ __device__ inline

template<typename lambda>  __global__
void LambdaApplySIMT1(int loop, uint64_t Isites, uint64_t Osites, lambda Lambda)
{

  uint64_t isite = threadIdx.y;
  uint64_t osite = threadIdx.x+blockDim.x*blockIdx.x;
  if ( (osite <Osites) && (isite<Isites) ) {
    Lambda(isite,osite);
  }
}

#define accelerator_barrier1(dummy)                              \
{                                                             \
    hipDeviceSynchronize();                                     \
    hipError_t err = hipGetLastError();                         \
    if ( hipSuccess != err ) {                                  \
      printf("Cuda error %s \n", hipGetErrorString( err )); \
      puts(__FILE__); \
      printf("Line %d\n",__LINE__);                                     \
      exit(0);                                                  \
   }                                                           \
}

// Copy the for_each_n style ; Non-blocking variant
 #define accelerator_forNB1(loop, iterator, num, nsimd, ... )                  \
   {                                                                     \
     typedef uint64_t Iterator;                                          \
     auto lambda = [=] accelerator1 (Iterator lane,Iterator iterator) mutable { \
       __VA_ARGS__;                                                      \
     };                                                                  \
     dim3 cu_threads(gpu_threads,nsimd);                                 \
     dim3 cu_blocks ((num+gpu_threads-1)/gpu_threads, loop);                   \
     hipLaunchKernelGGL(LambdaApplySIMT1, dim3(cu_blocks), dim3(cu_threads), 0, 0, nsimd,num, lambda);     \
   }

#define accelerator_for(loop, iterator, num, nsimd, ... )            \
  accelerator_forNB1(loop, iterator, num, nsimd, { __VA_ARGS__ } );    \
  accelerator_barrier1(dummy);

@TheP4Thetic, I am closing the ticket as there is no activity. Feel free to reopen if you still see the issue.


Symbol size scaling for points by value > size

The default value of 2.xxxxx is too small of a symbol size for a map on the web. We should bring the minimum symbol size up to 5 and then have the maximum symbol size pre-calculated based off of that minimum.
Also, I was wondering what the thoughts were on regenerating min/max symbol sizes if a user adjusts them in the form. For example, if they choose a minimum symbol size of 7, should we use our calculation behind the scenes to calculate an appropriate maximum? Or, if the user changes the default, do we leave the decision with them?
Related discussion here:
https://github.com/CartoDB/turbo-carto/issues/18

https://github.com/CartoDB/cartodb/pull/10597


Initial text upload version

This adds an option to let users encrypt text from a plaintext file. It uses an event handler that writes the data to a temporary file. I also prevented users from
uploading more than 1 file.

Create pull request to merge into dev


Integration test with Liberty goal

Currently if I want to run my integration tests against a running server I have to start the server in pre-integration and stop it in post-integration. This code all has to go into a profile that will be disabled if the user specifies -DskipTests.
It would be useful to have a goal called something like integration-test that did the following:

ran start-server in the pre-integration lifecycle stage
ran stop-server in the post-integration lifecycle stage
stopped both of the above from happening if the user runs -DskipTests

@jgawor What were your thoughts on this? We could instead have a start-test-server and stop-test-server goal that recognised the skipTests property and didn't run if it was set? The reason I think we need this is to allow people to keep server specific code out of the war file.

@katheris  Have you consider to add the skip configuration to start-server and stop-server goal when you bind them to the lifecycle?  This way you don't need to have an extra profile defined.
        <executions>
            ...
            <execution>
                <id>start-test-server</id>
                <phase>pre-integration-test</phase>
                <goals>
                    <goal>start-server</goal>
                </goals>
                <configuration>
                    <skip>${skipTests}</skip>
                </configuration>
            </execution>
            <execution>
                <id>stop-test-server</id>
                <phase>post-integration-test</phase>
                <goals>
                    <goal>stop-server</goal>
                </goals>
                <configuration>
                    <skip>${skipTests}</skip>
                </configuration>
            </execution>
             ...
        </executions>

What if the liberty-maven-plugin honored the -DskipTests or -Dmaven.test.skip flags?  http://maven.apache.org/plugins-archives/maven-surefire-plugin-2.12.4/examples/skipping-test.html says that maven.test.skip is honored by Surefire, Failsafe and the Compiler Plugin.  Should our plugin honor it as well during pre-/post-integration-test?

After doing a bit more research, I see that there is no way to get the phase in which a Mojo is currently running.  We can get the execution id but not the phase.  It sounds like this is why plug-ins do things like the Maven Compiler Plugin and have two Mojos that share code but are bound to different phases like  compiler:compile and compiler:testCompile.  We could have liberty:start-server and liberty:test-start-server for example where only the test-start-server looks to skip.  Something like this might be better for liberty-assembly where these phases are automatically bound.  @patricktiu, @katheris Thoughts?

To save the extra configuration for liberty-assembly project, it make sense to update the StartServerMojo and StopServerMojo to recognize -DskipTest.  But I don't think we should create new start-test-server and stop-test-server goal.
<configuration>
       <skip>${skipTests}</skip>
</configuration>

After discussion, we decide that we would create new test-start-server and test-stop-server goals so that any use of -DskipTests does not also affect other intentional calls to start-server and stop-server.
The new TestStartServerMojo and Test StopServerMojo will test for the following system properties to avoid starting the server: skipTests=true, skipITs=true, and maven.test.skip which is honored by Surefire, Failsafe, and the Compiler plugins.
Since test-start-server and test-stop-server are automatically bound by the liberty-assembly, we also want a way to control not starting the server when skipTests=false for tests that control server start/stop. We need more input on whether this should be opt-in or opt-out by default, but a configuration parameter such as testLibertyServerStartStop (need a better name) could be used to override our default on automatically starting and stopping the Liberty server for the case where the tests want to control the running server.
After the new goals are added, we need to make updates to the liberty-assembly bindings (components.xml) and the new app parent pom to bind to the new test- goals during the pre and post integration phases.

This issue has been delivered to the 2.0-SNAPSHOT.


RE: Waypoint: Learn how Script Tags and Document Ready Work

Challenge http://www.freecodecamp.com/challenges/waypoint-learn-how-script-tags-and-document-ready-work has an issue.
The way the last two directions are written is very confusing:
Add $(document.ready(function() { to the beginning of your script element.)
Close your $(document.ready(function() { function with });.)
It took me awhile (maybe I was just being slow today) to realize that you don't need to repeat the script element: $(document.ready(function() { }

This has been fixed but it may be cached in your browser. Try opening up the same tab in incognito mode  or in different browser and let me know if you are still seeing the incorrect version.

I think he is referring to the wording of the test cases, not the missing parenthesis

Yes, sorry.  The wording is what caused confusion. The last two directions taken together make it sound like you need to write the script element twice.

Dear camper, your issue is a duplicate:
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2428
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2425
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2394
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2229
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2081
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1953
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1858
Please see Help I've Found a Bug.


Robustifying multi-import loads

there is always a non-zero probability that an ontology IRI will not resolve. The loader may want to have strategies for retrying, cacheing etc - but it should always fail fast.
Can you assign to @hdietze to do a code review to verify existing loader?
cc @nlwashington

Still not quit working. See latest build:
https://bamboo.crbs.ucsd.edu/download/MON-SAGL2-JOB1/build_logs/MON-SAGL2-JOB1-71.log

At the moment we use the ExecutorService#shutdownNow() which works on best effort and doesn't guarantee an immediate interruption of the Threads. But the load will eventually fail on an error.
For an immediate failure we'll need to come up with our own solution, for example polling from each Thread to check if an interrupt has been thrown. For now I'd like to avoid this boilerplate code and close this issue. Feel free to reopen it if the need of haven't an immediate failure for a load is present.


Add docs and tests for Field Arrays

Right now, we do support Field Arrays, but their usage is not clear and I have low confidence as a maintainer that we won't break them in the future. Let's update docs and tests for field arrays so that we're able to ship this more confidently.

I just tested this in my prototype. How is the API meant to work? I just iterated over the array and built the field name with the index aka
{ name: `employees[${index}].color` }

This seems to work fine, but DeepKeys does not support it. Is this how you envision the API for FieldArrays though, @crutchcorn?

Upon further investigation it seems correct names look as follows:
{ name: `employees.${index}.color` }

This works and types also work for this.

Interestingly, there seems to be some documentation on the website already: https://tanstack.com/form/latest/docs/guides/basic-concepts#array-fields
I did do a quick find usages on index though and Webstorm said it was used nowhere. So, I have no idea if these examples are correct.

There are also already tests present, so maybe this can be closed @crutchcorn

Yea this deffo can be closed, my bad


cm jobs cleanversions and cleanrecyclebin - deployment and configuration

We want to deploy and configure the coremedia jobs cleanversions and cleanrecyclebin by cmcc-operator
plattform: aks/k8s
job: cron

Implemented in #132


Add style un-setting to paste handler

Test cases pretty much explain what's going on. This will handle inline styles being unset further down in the dom tree.
This fixes #481

Seems reasonable to me. Thanks!

Can we get this out in a patch release on NPM? thanks!

Is this on NPM?


Wrong deprecation error for 'snowflake_grant_privileges_to_role' when dealing with grant USAGE to shares

Provider Version
0.69.0
Terraform Version
1.5.5
Describe the bug
While using  'snowflake_database_grant' and 'snowflake_schema_grant' resources to grant USAGE on a databases and schemas to a share, the following deprecation error is returned:
Γöé Warning: Deprecated Resource
Γöé   with snowflake_schema_grant.,
Γöé   on main.tf line , in resource "snowflake_schema_grant" "":
Γöé : resource "snowflake_schema_grant" "" {
Γöé This resource is deprecated and will be removed in a future major version
Γöé release. Please use snowflake_grant_privileges_to_role instead.
Expected behavior
A new resource should be created allowing granting USAGE on database and schemas to a share, something like:
snowflake_grant_privileges_to_share
Code samples and commands
N/A
Additional context
snowflake_grant_privileges_to_role is not the right resource to be used to replace snowflake_schema_grant to a share.
We need snowflake_grant_privileges_to_share resource to be created before deprecating existing snowflake_database_grant and snowflake_schema_grant resources.

Hey @simonepm
Previous grant resources cannot be mapped 1 to 1 to the new grant resources. That's why sometimes the proposed resource unfortunately may not be the correct one. The only thing we can do about it is to provide a list of new grant resources you may look into instead of one. Unfortunately, there's also no "smart" way of producing deprecated messages based on configuration (e.g. when x field is set => produce x message, and when y field is set => produce y message).

No problem @sfc-gh-jcieslak , thanks, in the end with the latest versions of the provider we have 'snowflake_grant_privileges_to_share' now, I think this can be closed indeed!

snowflake_grant_privileges_to_share available from version 0.85.0


bug: always return DeviceArray from lax.integer_pow

A cleaner fix may be to remove the conditions and just pass all values to the primitive. Would there be any downside to that?

Seems worth a try just to always bind the primitive. I bet XLA can simplify this away for us.
Either way, LGTM!

Seems worth a try just to always bind the primitive. I bet XLA can simplify this away for us.
Either way, LGTM!


NPE in internal.idn.IdnaMappingTable.findRangesOffset

       Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'char java.lang.String.charAt(int)' on a null object reference
       at okhttp3.internal.idn.IdnaMappingTable.findRangesOffset(IdnaMappingTable.java:242)
       at okhttp3.internal.idn.IdnaMappingTable.map(IdnaMappingTable.java:130)
       at okhttp3.internal._HostnamesCommonKt.idnToAscii(-HostnamesCommon.kt:322)
       at okhttp3.internal._HostnamesCommonKt.toCanonicalHost(-HostnamesCommon.kt:307)
       at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.java:1448)
       at okhttp3.HttpUrl$Companion.get(HttpUrl.java:1744)
       at okhttp3.HttpUrl$Companion.parse(HttpUrl.java:1754)
       at okhttp3.HttpUrl.parse(HttpUrl.java:34)
       at zipkin2.reporter.okhttp3.InternalOkHttpSender.newEndpoint(InternalOkHttpSender.java:61)
       at zipkin2.reporter.okhttp3.InternalOkHttpSender.newEndpoint(InternalOkHttpSender.java:36)

seeing the above in some Samsung devices in Crashlytics
we are using '5.0.0-alpha.14'... by the way, would love to see a new alpha, it's been 7 months already

https://github.com/square/okhttp/blob/02d69bf883c47905d0ad3fd9d2ad75b8ede75bb9/okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt#L242
tries to read an index from a String that obviously doesn't exist, easy fix would be to add a sanity test before getting the index
getting a NPE instead of an IndexOutOfBoundsException might be an OEM issue

I don't think that's the right fix. It's hiding a bug in the logic, the VM/compiler, or the build corrupting the file. We can make this code tolerant of corruption, but it's hiding the root problem.
    val rangesPosition = sections.read14BitInt(sectionsIndex + 2)

    val rangesLimit =
      when {
        sectionsIndex + 4 < sections.length -> sections.read14BitInt(sectionsIndex + 6)
        else -> ranges.length / 4
      }

For that to be out of range, it must be one of

Getting a bad position or limit from sections
Some corruption of the data, either on disk or afterwards
a logic (okhttp), compilation (agp) or runtime (oem) bug

Regarding why it's reading a char instead of a codepoint, the encoding is explained at the top of the file. But by this point we are really only looking the compare the last 7 bits of the target.

I misread the error. It's even stranger than this.
ranges is created here
internal val IDNA_MAPPING_TABLE: IdnaMappingTable = IdnaMappingTable(
      sections =
          "\u0000\u0000
      ranges =
          "\u0000x--AP
      mappings =
          "\u0020̈\u0020
    )

So there isn't something we can fix. This is set and immutable from creation, before any methods are called.

Can you provide more details about the Samsung devices seeing this error? Are they a particular version? A lot of distinct users? Are they jailbroken?

I wonder if packing data into a string is upsetting the runtime somehow.


Xamarin Android build failing because of Linking=Sdk Assemblies Only

I get the an "MSB4018: The "LinkAssemblies" task failed unexpectedly" error when building my Xamarin Android app. I am compiling using the Latest Platform Android 7.0, and Target Android version is the same. I cannot replicate on my local machine.
Full error from build script:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets (1616, 5)
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1616,5): Error MSB4018: The "LinkAssemblies" task failed unexpectedly.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'Mono.Security.Cryptography.SymmetricTransform' (defined in 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e') from 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve Mono.Security.Cryptography.SymmetricTransform
at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
at MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
at MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
at Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type)
at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
at Mono.Linker.Steps.MarkStep.Initialize()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
--- End of inner exception stack trace ---
at Xamarin.Android.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
Process 'msbuild.exe' exited with code '1'.

Thank you for reporting this issue.  We are working on updating the hosted build VM to work with latest Xamarin Android.
Duplicate of #3191.

The Linker error you are seeing is due the hosted build VMs not having Xamarin.Android 7.0 support though the Android SDK 24 is installed. We will be updating them early next year after the holidays.
I see this other issue https://github.com/xamarin/app-crm/issues/110 which was resolved by targeting 6.0 as well.
Thanks,
Madhuri

@madhurig could you please add a comment noting why you close issues in the future? By digging through linked issues, I saw that it was fixed, but it's not clear in this issue.

@madhurig in this instance, I already saw it. I mean to say, in the future, please provide context when closing an issue for those of us watching.

@madhurig I am getting this error now. Does this one came back? I am using 7.1...

@danieljaguiar: We were tracking this issue for Android 7. If you are seeing an issue with 7.1, please open a new issue with the build logs.

Now I am facing this issue
Severity	Code	Description	Project	File	Line	Suppression State
Error		The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Linq.ParallelQuery`1 System.Linq.ParallelQuery::Cast()' in assembly: 'System.Core.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute::.ctor()
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkCustomAttribute(CustomAttribute ca)
at Mono.Linker.Steps.MarkStep.MarkCustomAttributes(ICustomAttributeProvider provider)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessEntireQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
VS 2017Enterprise
Android 7.1
Dot Net Framework 4.6.2
Please suggest a way out.

@anobik: This issue is a year old. Please open a new issue.

@madhurig already raised one
https://github.com/Microsoft/vsts-tasks/issues/6834
Please let me know if any more details required.
Thanks,
Anobik


Remove ipywidgets pin

Checklist

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

nglview >=3.0.4 supports latest ipyqidgets in both notebook and jlab: https://github.com/nglviewer/nglview/releases

@conda-forge-admin, please rerender

@conda-forge/openff-toolkit ready for review!

@Yoshanuikabundi found an issue with some combination of NGLview, JupyterLab, and Colab, but I think that's a compatibility issue with the latter two that we're not dealing with here, so this change should be fine, right Josh?

I thought NGLView didn't work with JupyterLab 4.x, but it looks like it does work with lab 4 locally if I specify IPyWidgets 8.x. I thought I had tested it with an environment that was just Lab and NGLview but I guess I didn't. Colab doesn't seem to work in either case but now that I know this I'm making progress on that.
In other words this change may actually fix that issue!

Let's roll with this for now, then. While we're unsure of limitations we should be permissive

Perfect - Thanks everyone!


fix(#3741): add yarn binary to repo

can close if you prefer user use corepack (maybe just update contributing docs with expected toolset)

The contributing guide it not updated, that's a problem for sure.
Are you using this approach yourself, on some long-lived repository? What I am afraid of is that if I update yarn 10 times, I will end up with 10 MBs of additional yarn binaries in the .git folder. Had the exact same issue with growing footprint of the docs, which is now resolved by auto-squashing the gh-pages branch.

i don't have a strong feeling on this because i've never used corepack day-to-day. i use nvm and thus keep a .nvmrc in all my projects but a lot of developers still use global installs for node/yarn, so I may just similarly be out the loop. with regards to yarn, outside of major version updates (eg: 3 <> 4), i don't see a reason to keep upgrading yarn unless there is a build related issue forcing you to do so.

Codecov Report
Base: 99.95% // Head: 99.94% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (ceb0607) compared to base (d3d50ba).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3742      +/-   ##
==========================================
- Coverage   99.95%   99.94%   -0.02%
==========================================
  Files         214      214
  Lines       13413    13413
  Branches     3118     3118
==========================================
- Hits        13407    13405       -2
- Misses          6        8       +2

Impacted Files
Coverage Δ

packages/mongodb/src/MongoSchemaGenerator.ts
97.14% <0.00%> (-1.91%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Take a look at fnm if you care about performance. nvm was unusable for me :]
True about the upgrading only major versions, maybe I was thinking about this the wrong way. But I guess I will wait for yarn 4 before adding it to the repo, should be behind the corner afaik.

@B4nan i didn't dig further, but an issue i just ran into was with the commit hooks. I can't prefix git commit with corepack and since my global yarn isn't on 3, i can't get around it. given that most projects aren't running yarn 3, i'm hesitant to make that change. unless you know a better way?
 git commit -a -m "feat(#3743): replace direct require calls with util to help with inlining"
yarn run v1.22.19
error<EMAIL_ADDRESS>The engine "yarn" is incompatible with this module. Expected version ">=3.2.0". Got "1.22.19"

opening terminal lags

nice, i'll take a look at fnm


[Fixes]: Testimony Card Swiper not working correctly #915

Related Issue
Fixes #915 #987
Description
Solved the issue of glitching cards and resolved the conflicts
Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[ ] I have made this change from my own.
[ ] I have taken help from some online resources.
[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

@anuragverma108 I have completed the task. Please merge the pr if you like the work.


while (currentPolygon.First.Value != currentPolygon.Last.Value) loops forever on the same values

while (currentPolygon.First.Value != currentPolygon.Last.Value) in TraceTextureInternal loops forever. I added some debugging stuff to try and figure it out but not sure what to do from here.... it just prints currentPolygon.First.Value and currentPolygon.Last.Value and after a few normal prints turns into this
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
Here13(105, 25) (9, 335)
I attached png, the only edit i made to the meta file was making it readable/writable.
Then I put in into the scene and pressed regenerate

Thanks for letting me know. I was able to recreate the issue on my machine and am currently working on a fix. I'll let you know once the issue is resolved.

Fix for this issue is live! I will be working on fixing a few smaller glitches over the next few days but the main functionality of the script is working. Tested with the mushroom and it generated the collider without issues. Yippie

thanks so much!


fix: handle new provider name when deploying

Cannot redeployed a staticSite when initially created using SwaCli.

@sulabh-msft @sgollapudi77 the change introduced in https://github.com/Azure/static-web-apps-cli/commit/1b7fabdb67ea953e5d08b0e1d4790d5e34f3f892 was a breaking change! Could schedule this PR for the next release asap, please?

@all-contributors add @BeardInASuit code


Cannot read properties of undefined (reading 'filename')

Hi,
I'm getting the following error:
NodeApiError: Cannot read properties of undefined (reading 'filename')
    at Object.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-imap/nodes/Imap/Imap.node.ts:74:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:696:19)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:656:53

When trying to retrieved attached file from gmail. Heres the json input :
[
    {
        "seq": 545,
        "emailId": "1787316242905259322",
        "uid": 50766,
        "modseq": "7824950",
        "envelope": {
            "date": "2024-01-06T05:06:24.000Z",
            "subject": "test attachment",
            "from": [
                {
                    "name": "xxxxxx",
                    "address": "xxxxx"
                }
            ],
            "sender": [
                {
                    "name": "xxxxx",
                    "address": "xxxxxx"
                }
            ],
            "replyTo": [
                {
                    "name": "xxxxx",
                    "address": "xxxxx"
                }
            ],
            "to": [
                {
                    "name": "xxxx",
                    "address": "xxxx"
                }
            ],
            "messageId": ""
        },
        "bodyStructure": {
            "childNodes": [
                {
                    "part": "1",
                    "childNodes": [
                        {
                            "part": "1.1",
                            "type": "text/plain",
                            "parameters": {
                                "charset": "utf-8"
                            },
                            "encoding": "base64",
                            "size": 22,
                            "lineCount": 1
                        },
                        {
                            "part": "1.2",
                            "type": "text/html",
                            "parameters": {
                                "charset": "utf-8"
                            },
                            "encoding": "base64",
                            "size": 36,
                            "lineCount": 1
                        }
                    ],
                    "type": "multipart/alternative",
                    "parameters": {
                        "boundary": "b2_gBUGeS4c5Ygk7HcLjeocfuB7HRnVs3Qx3ag1WJGA"
                    }
                },
                {
                    "part": "2",
                    "type": "image/jpeg",
                    "parameters": {
                        "name": "Fan_4-Pin_PWM_Connector_Male_to_2-Pin_CB-32D_Connector_Female_(5cm)_(2)__07913_zoom.jpg"
                    },
                    "encoding": "base64",
                    "size": 53538,
                    "disposition": "attachment",
                    "dispositionParameters": {
                        "filename": "Fan_4-Pin_PWM_Connector_Male_to_2-Pin_CB-32D_Connector_Female_(5cm)_(2)__07913_zoom.jpg"
                    }
                }
            ],
            "type": "multipart/mixed",
            "parameters": {
                "boundary": "b1_gBUGeS4c5Ygk7HcLjeocfuB7HRnVs3Qx3ag1WJGA"
            }
        },
        "id": "1787316242905259322",
        "attachmentsInfo": [
            {
                "partId": "2",
                "filename": "Fan_4-Pin_PWM_Connector_Male_to_2-Pin_CB-32D_Connector_Female_(5cm)_(2)__07913_zoom.jpg",
                "type": "image/jpeg",
                "encoding": "base64",
                "size": 53538
            }
        ],
        "path": "/tmp/test/2024-01"
    }
]

I was able to reproduce this problem, but unfortunately this is a Gmail specific issue, when Gmail IMAP server responds with "Some messages could not be FETCHed (Failure)" when it couldn't provide the specific email part (attachment).
I only got this error when specified "1.1" or "1.2" as "Attachment Part ID" instead of "2". Please check if you specify correct attachment part number (usually starts from 2).
I also updated the node, so it will display IMAP server errors in the error description.

yeah I specified the part id properly, from the attachmentInfo data:

Edit: I updated the node, but the error is the same. Do i need to restart or something ? I'm fairly new to n8n

Yes, you need to restart n8n after updating community nodes

i'm getting this:
NodeApiError: IMAP server has not returned attachment info
    at Object.executeImapAction (/home/node/.n8n/nodes/node_modules/n8n-nodes-imap/nodes/Imap/operations/email/functions/EmailDownloadAttachment.ts:63:10)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-imap/nodes/Imap/Imap.node.ts:75:24)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:696:19)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:656:53

same email as above.

Does it show the IMAP server response? It should be in the error description.

owh i think i know why. I was using the wrong credentials, I didn't realize that downloading attachments required credentials. i thought it would know where to get from based on the inputs. Meanwhile i switched to use the gmail nodes directly, I'll try again with your node and see.

Yeah all working, sorry for the trouble, it was my issue from the beginning.  Great project though, thanks :)

Yeah all working, sorry for the trouble, it was my issue from the beginning. Great project though, thanks :)

Glad to hear! Also your input helped identify a minor bug, which is now fixed (correctly handling empty/bad response from server).


overriding scss files

Hi,
First off, thanks for a great project. Octopress really simplify deploying my Jekyll blogs.
I have a question on overriding/adding custom stylesheets to the genesis-theme. In the README you mention that this is possible:

You can also easily overwrite stylesheets, layouts, partials and basically everything about this plugin by adding a copy of that file in the _plugins/theme directory. More on that later.

How does this work exactly?
I want to override index.scss, and I tried to place my new file at _plugins/theme/index.scss  and _plugins/theme/assets/stylesheets/index.scss but it does not seem to have any effect.

_plugins/theme/stylesheets works, although I've had issues with overrides breaking the theme, so if anyone has info on that I'd be interested. I was trying to add image left/center/right styling and the theme just completely broke when I added the image formatting from the old octopress image tag.

Is it possible that overwriting settings from "_config.yml" with "_plugins/theme/config.yml" is also broken?

@fraank: I found that my changes to _plugins/theme/config.yml does not take effect if I simply have jekyll serve running. I can force it by either killing and restarting jekyll serve, or by running jekyll build.
Mabye that the same for you?

@iratebeagle: Thanks for answering my question.
It seems the correct place to override scss files is
_plugins/theme/stylesheets

No, that doesn't solve my problem. See this issue: https://github.com/octopress/genesis-theme/issues/44

@fraank: Oh I misunderstood exactly what you meant. Unfortunately my site is only in English, so I cannot be of help.


Missing dependencies

Hi Mike,
the current master is missing 2 dependencies (for updatefx: 1.4-SNAPSHOT is deployed instead of 1.4).
Not sure which bouncycastle version you use, but I added 1.52 which I use and all compiled with it.
<dependency>
            <groupId>com.vinumeris</groupId>
            <artifactId>updatefx</artifactId>
            <version>1.4-SNAPSHOT</version>
        </dependency>

<dependency>
            <groupId>org.bouncycastle</groupId>
            <artifactId>bcprov-jdk15on</artifactId>
            <version>1.52</version>
        </dependency>

Both UpdateFX and bitcoinj are on Bouncy Castle/Spongy Castle 1.51.
I've bumped the UpdateFX dependency to 1.5 .... for some reason I only did this on the lighthouse branch before. It's done on master now.


Kuberpult bug on v0.4.42

when upgrading to v0.4.42 there seems to be a bug with both front and back-end services.
Error (frontend):
{"code":2,"metadata":{"headersMap":{"access-control-allow-credentials":["true"],"access-control-allow-origin":["*"],"access-control-expose-headers":["Access-Control-Allow-Origin, Access-Control-Allow-Credentials, Vary, Date, Content-Type, grpc-status, grpc-message"],"alt-svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"content-type":["application/grpc-web+proto"],"date":["Tue, 04 Oct 2022 11:53:24 GMT"],"vary":["Origin"],"via":["1.1 google"]}}}

Error (curl requests):
[2022-10-04T10:08:52.633Z] curl: (7) Failed to connect to kuberpult-cd-service.tools port 80 after 1047 ms: Connection refused

Error log in pod: Nothing was logged.
Note: this happened on gcp.
Azure KP seems to run fine...

Cannot reproduce -> closed


Issue with k8s.io/docs/concepts/overview/working-with-objects/namespaces/

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
There is no indication how to recognize easily which objects are namespaced and which are not.
Proposed Solution:
Add information about easily identifying which object kind is namespaced and which one is not.
Page to Update:
k8s.io/docs/concepts/overview/working-with-objects/namespaces/

/assign

@akostadinov It turns out that this is super easy to do. Check PR #9436 for a sneak preview 👍

Looks real nice, thank you for digging that out!

/remove-lifecycle stale

Isn't this fixed by https://github.com/kubernetes/website/pull/9436?


UPnP-IGD using the miniupnpc python package doesn't work.

15063 - Creator's Update
I'm trying to use the python version of miniupnp for IGD (port forwarding), and it seems as though it isn't working when hosted in WSL.
They have a test script here: link
Installation of the test script:
sudo pip install minipnpc
curl https://raw.githubusercontent.com/miniupnp/miniupnp/master/miniupnpc/testupnpigd.py > main.py
python main.py

This should print an address, eg http://<IP_ADDRESS>6:12345
In another terminal, run curl http://<IP_ADDRESS>6:12345 with the address from before. Or you can open it up in your browser. Or whatever you want - though my Android phone doesn't seem to be able to get the page.
Expected output:

(with your IP though)
What actually happens:
The curl just hangs.
I can see that the port is forwarded in the router's UPnP settings just the same as it is from the working version on my linux box on my desk, so I figure there's a chance there's some WSL has a part to play.

@zadjii - Does your port, i.e., 12345, listen? I think you could check it by "netstat -aq" command. Open bash console and cmd console. Command "python main.py" in bash console and "netstat -aq | 12345" in cmd console. In my case, https://github.com/Microsoft/BashOnWindows/issues/1498#issuecomment-300194700 , "It looks like your Anti-Virus was blocking the program from listening." You might not be in a similar case but... it could be better to check tcp port listen or not.

Curiously enough, netstat didn't show anything, though I was able to curl the tester using the internal port.

@zadjii - I said command netstat in cmd.exe console. There is an another issue of netstat, #1488, that I cannot be sure whether it be fixed. There seems many network related issues like #1554, #1498, #1385 and more. It could be helpful to collect log following https://github.com/Microsoft/BashOnWindows/issues/1853#issuecomment-301176037 for clarifying issue; In that comment, @sunilmut said the command "nc -4 -l <IP_ADDRESS> 8000" but your tcp port is not 8000, so command like this - "netstat -qp tcp | findstr 12345" in cmd.exe console if your port be 123435.

Closing out old issues, if you're still having issues on newer versions of Windows please open a new issue.


Measure the number of times each dataset is uniquely downloaded

For Scientists can download datasets in AnnData, Loom, or Seurat v3 RDS formats. Computational Biologists want to be able to download datasets from the dataset-view so they can apply analyses that are unavailable in Explore Data.
Measure the number of times each dataset is uniquely downloaded.
Business justification:

We can provide this information to publishers to help them measure their paper's impact and their data's reuse, improving the value of our system.
This will help us form hypotheses about which data is valuable and focus our community data manager on sourcing additional datasets with similar characteristics.

Issue moved to chanzuckerberg/single-cell #7 via ZenHub

@mckinsel Hmm sounds like before we have browser resumable download, we need to track this metric outside of the FE. So we'd need to do some research on how to track CLI resumable download usage?

Could we just store the count in the database and increment everytime there's an API request to download that particular dataset? Another option could be to write a script to query API Gateway logs to figure out the number of times the dataset was requested via the API.

Do we want any checks to prevent counting downloads related to testing?

What's "uniquely" mean here exactly?

Matt: UCSC has a script for tracking download -- if useful for us to repurpose

Ideally unique by IP, but please check with trust!

Here is UCSC's exporter https://github.com/HumanCellAtlas/google-analytics-exporter

Workshop needed!

I've verified with Ambrose that this can be addressed later (and not immediately with the download feature). Self-publishing is a higher priority right now. In addition, this should be triggered by a larger number of datasets.


WV scraper broken

Location, date, and short issue description

iso2:US-WV, iso1:US
Source

https://wabi-us-gov-virginia-api.analysis.usgovcloudapi.net/public/reports/187b4de8-78ef-40be-9510-7fa9a1ef89f2/modelsAndExploration
File

coronadatascraper-cache/2020-4-19/b549098f7618dd395c3326938172408e.json
Issue details

❌ Got error 401 trying to fetch https://wabi-us-gov-virginia-api.analysis.usgovcloudapi.net/public/reports/187b4de8-78ef-40be-9510-7fa9a1ef89f2/modelsAndExploration

They're using PowerBI at https://dhhr.wv.gov/COVID-19/Pages/default.aspx.

I left a request (haha) at their "contact us" form for raw data ... https://appengine.egov.com/apps/wv/wvgov/contactus  :-)

Fixed in https://github.com/covidatlas/coronadatascraper/pull/961.


Add support for CGContextSetTextDrawingMode

This change is

:pushpin: Commit f9a86ff has been approved by emilio

@bors-servo: r+

:zap: Test exempted - status


seems to hang on "Convert Resources 'preloader' - 90%" when given a .swf game

No errors.
Here is the log output:

Compile Java Script
Not found the source code
Convert Resources 'preloader'
Init Converter
Read SWFData
Read SWFData Complete
Init Directories
Init Directories Complete
Read Corrections
Init Export Shapes
Start Export Shapes
Export Shape: 1
Analyze Shape: 1
Load Shape Complete: 1
Analyze Shape Complete: 1
Export Shape: 4
Analyze Shape: 4
Load Shape Complete: 4
Analyze Shape Complete: 4
Export Shapes Complete
Start Generate Atlases
Generate Atlases Complete

Hey! If you want to convert as3 code too you need to select src directory(as3). So swf will be converted to xml + images, and as3 will be converted to js.


Is there a way to make cutscenes in the source instead using videos?

What is your question?
Is there a way to make cutscenes in the source instead using videos.
I want to use FlxTween to fade in the UI and the countdown plays when the cutscenes ends. Instead using videos.
Thanks for reading!
@ShadowMario

Yeah its possible, just replace the video function with your cutscene code.


chore: release master

:robot: I have created a release beep boop
ton-grpc: 0.1.2
0.1.2 (2023-10-04)
Bug Fixes

drop current opentelemetry implementation (#470) (8e30721)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/getgems-io/tonlibjson/releases/tag/ton-grpc-v0.1.2 :sunflower:


crypto: support ECDHE when ec_point_formats is missing in ClientHello

As describe in rfc8422 5.1.2, we will support ECDHE in the case client does not
include ec_point_formats extension in ClientHello extension. This make sure ECDHE
will work with (uncompressed point format is listed explicitly) or without extension.
rfc8422 5.1.2: https://datatracker.ietf.org/doc/html/rfc8422#section-5.1.2.
Fixes #49126

We've hit this in https://github.com/golang/go/issues/53750, any idea when the fix might make it out in a release?


Test class vcl::graphitems::RectT

Once implemented, let's test class RectT ans all of its inheriting sub-classes.

Test completed but for drawings - a few other classes must be implemented before these tests can take place (e.g. module vcl::utils::colors.ixx).


Check for existing files in cache dir before instantiating a model

This is directly related to issue #127
macOS seems to flag temp files as up for deletion after about 3 days. This was causing issues with the model cache dir existing, but the model files themselves not.
Let me know if you guys have a better idea for this, or an entirely different approach!

@Anush008 please merge once you've reviewed


Are we showing the right information?

I think we need to 100% confirm what we want to show when the program is running in terms of colours and shapes and I've been playing around with nMars and seeing slightly different output from ours. Namely it leaves the red trail behind it which I thought we wanted to remove?

This is going to be important for combining the r/w and the tasks which are running

Discussed and closed via new event only mechanism


Can't get the variable from the url, and only routes if the .php file is in the root directory

I have the same folder structure as this guy in this video: (https://www.youtube.com/watch?v=T9To0blu9qs), but it's not working me like in the video. If I write localhost/test/items in the url it won't work. But if I change the get('/items', 'views/items.php') to get('/items', 'items.php') it will work.
My other problem is, when I have the get('/product/$type/', 'product.php'), in the product.php I cannot get the $type variable, because it does not exist. Any idea why this is happening?

Variables from the URL/Query String should be retrieved by using the super global $_GET


Issue with val Epoch and self.base_result

Hi,
Thanks for open sourcing this wonderful repo. I have a question regarding the following line https://github.com/median-research-group/LibMTL/blob/d05c80c487bfc0036ed62f6dcd14730d1e46caa9/LibMTL/_record.py#L96, Shouldn't base result be updated here i.e. self.base_result = new_result else the improvement will always be compared over base_result, and we would not get the best checkpoint. I may be missing something, but the results on my experiments doesn't look correct to me.
thanks

You can update the base result here but not necessary. Note that we compute the overall improvement between the candidate result and the base result, then choose the best result/model/checkpoint with the highest improvement.
https://github.com/median-research-group/LibMTL/blob/d05c80c487bfc0036ed62f6dcd14730d1e46caa9/LibMTL/_record.py#L94-L95
Thus if you update the base result, this line should be modified as if improvement > 0. But these two types of implementations are the same.
Whether you define the task_dict in the correct way, especially the weight item.
https://github.com/median-research-group/LibMTL/blob/d05c80c487bfc0036ed62f6dcd14730d1e46caa9/LibMTL/trainer.py#L51-L54

Closed as no further updates.


Timer API

What is missing in this API?
Can this API be implemented for different devices?

I've recently released register mappings for LPC82x and have now begun writing a HAL on top of that. I've started with implementing Timer for the LPC82x's WKT (Self-wake-up timer; chapter 18 in the user manual, if you're interested). I've had some problems/questions/ideas along the way.
Modeling hardware capabilities
The WKT's purpose is to wake the chip up from the various sleep modes. It is very simple: You set a value, it counts down, it triggers an interrupt and/or sets a flag once finished.
Due to its simplicity, the hardware can't support the following methods:

get_timeout: It doesn't remember the original value.
restart: Since it doesn't remember the original value, I can't restart from it. I can only set a new one.
pause/resume: If it's counting, it's counting. I can stop, but not resume from the same place.

It should be straight-forward enough to emulate these capabilities in software, and in my case I can't really see a reason why not to. But would this be the right thing to do in general, or should a HAL implementation represent the capabilities of the underlying hardware?
Software emulation should be fine, if the Timer implementation is expected to be the sole owner of its peripheral. But there might be use cases where it isn't, and then keeping state in software might cause trouble.
An alternative would be to split Timer into finer-grained traits. For this specific case this might not be worth the trouble, but there are other problems that could benefit from more focussed traits.
Repeating timers
It seems to me that a lot of timer hardware can or should be used as a repeating timer. You set the value, it counts down. Once it has finished, the countdown starts again. For these cases, it would be useful to have a method that tells me whether the counter has reset since I last called that method.
I don't know if all repeating timer can support such a method. If not, it may need to be added to a separate trait.
Stopping the timer
There isn't a method to stop the timer. There's pause, but that doesn't seem applicable. As mentioned above, pause needs software emulation on LPC82x's WKT, but stop (or reset) could be natively supported there.
Starting the timer
Should set_timeout start the timer immediately? The lack of a start method seems to imply so, or is restart meant for that? This is especially relevant  for me, since the LPC82x's WKT automatically starts the timer after I write the timer value.
Again, the question is, should I emulate the separate steps for set_timeout and start in software, or is adding additional traits a better solution? A third solution would be to explicitely not specify this and leave it to the implementation, but that seems highly undesirable.
Knowing whether the countdown is running
Do we need a method that tells us whether the timer is currently running? How would such a method relate to wait? Maybe wait could be extended to return the precise state (not started, running, finished), but I don't know how that would interact with nb::Result. I also don't know if timer peripherals can generally be expected to provide that information, so maybe is_running needs a separate trait.
Interrupts
I have a sleep function built on top of my WKT-based Timer implementation. The only thing it needs to do that isn't already covered by Timer is enabling the WKT interrupt. I'm aware that configuration is considered to be out of scope for this crate, but I don't know if this case should be covered by that.
I might be sleeping in different ways for different reasons throughout my program, so enabling/disabling the interrupt could be considered part of the normal operation, not strictly initialization. Or I might want to write a library that provides a sleep function. It would be a shame if such a library had to depend on platform-specific crates.
Something like this could work:
// in module `timer`

pub trait Interrupt {
    fn enable_interrupt(&mut self);
    fn disable_interrupt(&mut self);
}

Measuring time
Timer seems specifically geared towards waiting for a specific amount of time to pass, but what about measuring time? Not all timers are suited for that (the LPC82x's WKT isn't), but some (many, most?) are. A get_value method would be required to do that.
If we're providing that functionality, it would make sense to also provide an additional convenience method that returns the passed time since the start of the timer.
Conlusion
Most of the issues I mentioned could be solved in two ways:

Fine grained traits that represent specific hardware capabilities.
One trait, with software emulation for anything that hardware can't support.

I'm leaning towards fine-grained traits as a solution, but I'd like to hear other's opinions.
I'm willing to work on solving all issues I mentioned. Before I cook up a pull request, I'd like to come to an agreement over the general approach here.