tinydb failure

Specs

Leon version: * Master 360d102
OS (or browser) version: Linux 4.4.0-140-generic
Node.js version: node --version -> v11.1.0
Complete "npm run check" output:

╰─➤  npm run check

><EMAIL_ADDRESS>check /mnt/storage0/overminddl1/leon/leon
> babel-node scripts/run-check.js

⠋
---

.: CHECKING :.

➡ /bin/sh -c node --version
✔ v11.1.0

➡ /bin/sh -c npm --version
✔ 6.4.1

➡ /bin/sh -c pipenv --version
✔ pipenv, version 2018.11.26

➡ /bin/sh -c pipenv --where
✔ /mnt/storage0/overminddl1/leon/leon/bridges/python

➡ /bin/sh -c pipenv run python --version
✔ Python 3.6.8

➡ /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number"
✖ Error: Command failed: /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number"
Traceback (most recent call last):
  File "bridges/python/main.py", line 4, in <module>
    import utils
  File "/mnt/storage0/overminddl1/leon/leon/bridges/python/utils.py", line 11, in <module>
    from tinydb import TinyDB, Query, operations
ModuleNotFoundError: No module named 'tinydb'

Expected Behavior
Should not crash.
Actual Behavior
See above in the check.  Relevant section:
➡ /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number"
✖ Error: Command failed: /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number"
Traceback (most recent call last):
  File "bridges/python/main.py", line 4, in <module>
    import utils
  File "/mnt/storage0/overminddl1/leon/leon/bridges/python/utils.py", line 11, in <module>
    from tinydb import TinyDB, Query, operations
ModuleNotFoundError: No module named 'tinydb'

Running the listed command manually has the same result
How Do We Reproduce?
All I did was spool up a default python 3.6 + npm 11 docker image with a data directory of the git clone, ran pip install pipenv, ran npm install, ran npm run check and the above appeared.

Apparently the project doesn't like being first ran with python 3.7 then downgraded to 3.6, can't replicate it from a pure 3.6 setup.

Hello @OvermindDL1,
Got it, thanks for your explanations BTW.

same problem,
the original python3 on my os was 3.5.
I upgraded to 3.6 and then install leon,
when I run check, throws the same error.

I am experiencing the same error, but the fix is not working. I have tried every method of installing tinydb, and my pipenv is at 3.6 before I even run npm install

Hello @goodwinfame @Shrubhog,
Please paste the output of your npm run check.

https://pastebin.com/QSQNJPF6
I have since switched to @Antoinebr's Docker image, and the problem did not occur. It was either a system problem or a PEBCAK.

I guess this is because the Python modules were installed under another env. Once you have the correct prerequisites, maybe a npm run postinstall could help as it will install the Python modules.

@louistiti thanks very much, npm run postinstall did work.

As a reference I had exactly the same issue - and I think it was triggered by dropping back to python3.6 from python3.7.
My solution was to clean out the the python venv and reinstall the python3-distutils
rm -rf bridges/python/.env
sudo apt-get install python3-distutils


Navigation arrow not visible in ubuntu 14.04

I am using Ubuntu 14.04 and recently I install zsh.
Also I add bullet-train-oh-my-zsh-theme and follow this step.

Download the theme
Put the file bullet-train.zsh-theme in $ZSH_CUSTOM/themes/
Configure the theme in your ~/.zshrc file:
ZSH_THEME="bullet-train"

Current user logout and again login, my terminal look like this,

As I notice arrow not visible properly in my terminal. I need to the same look like: https://goo.gl/o2RnFB
How to loading navigation arrow image in my terminal?

Do you have the power line compatible fonts like [Powerline patched fonts] (https://github.com/Lokaltog/powerline-fonts) ?

Yes, I have. I downloaded and Run ./install.sh to install fonts.
Is there and other configuration required to use this Poweline patched fonts?

On your terminal change font to any of the newly installed powerline font

thank you so much its worked. thanks a lot @sfarzy :) :+1:

Thank you @sfarzy
Closing the issue already helped you out @imjaypatel


SlimLoadingBarModule incorrectly exports SlimLoadingBarService

The service export present in the NgModule breaks Angular's module imports:
exports: [SlimLoadingBarComponent, >> SlimLoadingBarService <<]

Services should only be provided, not exported. For reference see the Angular 2 Modules FAQ.
This leads to the following error:
Unexpected value 'SlimLoadingBarService' exported by the module 'SlimLoadingBarModule'

As a temporary workaround, we can use declarations and providers instead of the module import.
EDIT: added description after GitHub mistakenly sent the issue when I only wanted to start a new line

Fixed in 2.0.1


Support auto manipulators running only when idle

This would be needed to support:

AutoHandleIdleJobs: runs auto expedition, or auto forming repair fleet
AutoUnmarkReservedForUse: removes reserved_for_use from ships kept unexpectedly due to exception or manipulator abort.

2c762df280fa61b870fb7c745ca29d76ff8b599b


[SPARK-47774][INFRA] Remove redundant rules from MimaExcludes

What changes were proposed in this pull request?
This PR aims to remove redundant rules from MimaExcludes for Apache Spark 4.0.0.
Previously, these rules were required due to the dev/mima limitation which is fixed at

https://github.com/apache/spark/pull/45938

Why are the changes needed?
To minimize the exclusion rules for Apache Spark 4.0.0 by removing the following private class rules.

BasePythonRunner
https://github.com/apache/spark/blob/319edfdc5cd6731d1d630a8beeea5b23a2326f07/core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala#L102

CoarseGrainedClusterMessage
https://github.com/apache/spark/blob/319edfdc5cd6731d1d630a8beeea5b23a2326f07/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedClusterMessage.scala#L30

MethodIdentifier
https://github.com/apache/spark/blob/319edfdc5cd6731d1d630a8beeea5b23a2326f07/common/utils/src/main/scala/org/apache/spark/util/ClosureCleaner.scala#L1002

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No

MiMi Test passed on this PR.

Thank you, @pan3793 .

Could you review this, @yaooqinn ?

Thank you, @zhengruifeng ! Merged to master.


relay not readable

I have two nostr relay, one that i build and the other using docker image, when i check for relay information on https://nostr.watch i got "not redeable" for the one running on docker they both have the same config file

I'm using this Docker Image as well (in a Kubernetes Cluster) and it works fine for me.
https://nostr.watch/relay/nostr.0x50.tech

Hi @itasli, I have the same issue, did you find where the issue comes from ? Thanks

Are you able to access the relay locally?  Are you using a reverse proxy?

Yes and yes.
Reverse proxy through an Nginx container to the nostr-rs-relay container listening on 8080 (a little bit exotic).
The websocket is connected on websocketking. Currently node is online on nostr.watch but not readable/writable.
Here is the Nginx template config file :
server {
    listen       80;
    listen  [::]:80;
    server_name  $LINK_DOMAIN_DEFAULT;

    #access_log  /var/log/nginx/host.access.log  main;

        location / {

                proxy_http_version 1.1;
                proxy_pass http://nostr-relay-fractal:8080;
                proxy_set_header Connection $http_connection;
                proxy_set_header Upgrade $http_upgrade;
        }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}

Currently testing with https://github.com/0xtrr/nostr-tool

Its not readable on nostr.watch but are you able to read and write to it with nostr tool?

It seems to be working fine finally :
nostr-tool -r wss://coeditor-congested.fractalnetworks.co/ text-note -c "Hello World"
No private key provided, creating new identity
Private key: nsec1qqxqjmhdz84ydts98wt7md03s5suzd2jxgvamhs6te5xt8nf8frq2r53d9
Public key: npub1ywk6re02k3fma6rf7metxtmsfh0fq0vkruuwd0fvp0vhgfhg7jeqsr4txp
Published text note with id: note1xshlx30qa5gy8dly78xzz333wc3td8rmy5q0l42xfd5z3cldws5qxkz964
nostr-tool -r wss://coeditor-congested.fractalnetworks.co/ list-events
0: {
  "id": "342ff345e0ed1043b7e4f1cc2146317622b69c7b2500ffd5464b6828e3ed7428",
  "pubkey": "23ada1e5eab453bee869f6f2b32f704dde903d961f38e6bd2c0bd97426e8f4b2",
  "created_at":<PHONE_NUMBER>,
  "kind": 1,
  "tags": [],
  "content": "Hello World",
  "sig": "228c7ce99e0b45a939684a3c7f917569fdb68b4fdc33304a011517eb2c243fe2e33320a632f31b52e2682b5739a629968e229c11854f2392f625e2d09c96ccd1"
}

Nostr.watch is maybe checking things in a different way. I didn't find yet the code that tests the read/write services from a relay in the nostr.watch source

And btw I found the note ID on relays by going checking here: https://nrcheck.tigerville.no/

I did some test, and it looks like cloning and building the image myself using the included Dockerfile and running it solves my issue, but if I use the image provided on dockerhub the issue persists. @PastaGringo you had a similare issue would you be able to test what i described ?

Nostr.watch is maybe checking things in a different way.
It's subscribing and waiting for events, it does have a timeout, otherwise the site would be easily broken and would take a few hours to load.

I didn't find yet the code that tests the read/write services from a relay in the nostr.watch source****

Should have read the README.md, it links to nostrwatch-js


Combining results for equivalent matches

For any search it is likely that equivalent hits will be returned. By equivalence I mean that the IMS says that one particular URI is for the same thing represented by other URIs. We probably don't want the search to return a hit for each equivalent thing but instead want an amalgamated response which collects the labels and URIs together. So we now have the problem of which URI to return as being the primary one for a search result. The results are ranked according to elastic search and the IRS will just go through them one by one. Therefore the first one it hits will be taken as the primary URI and any other URIs it finds as equivalent to this one as it goes through the search will be added as secondary URIs. The labels for any secondary URIs would also not be used as the overall label for the item. This would mean that the label for this primary URI would be used in the explorer unless we have some rules about what label to use. It will likely mean that items may not be labelled as people expect.

Perhaps the IMS needs a new API call which can take a list of URIs and returns a list with matching URIs removed.  Let's say there are 2 URIs X and Y. If the IMS map call for X contains Y and the map call for Y contains X then the returning list would only have to contain X. However, if X maps to Y but Y doesn't map to X then the list needs to contain X and Y. Obviously the logic gets a bit more complex with more than 2 URIs. Reluctant to add functionality to the IRS which sits more happily in the Identity side of things.

Agree with the above descriptions. For our core concepts, we can perhaps define the primary URI source?
For Genes, we could use HGNC (Hugo descriptions) as the primary
For substance, we can use the OCRS?
Should we ask others to fill in our definitive list if we agree this is a good approach?

so let me see if I understand this correctly - you want an API call to filter a list of URIs to remove duplicates - but a URI X is only a duplicate of Y if X==Y both ways - in which case the first one in the list wins?

That's pretty much it. I can't think of any other way to do it - this seemed to be the consensus from talking to users at the Lilly meeting last week.


Want to add 5 ArrayList Questions

I will be adding 5 array list questions using Java.

@aritra-tech please assign me these

Send me the question links?

https://www.geeksforgeeks.org/tag/java-arraylist/ @aritra-tech

How mane questions you will do?

5 questions which are most specific

@aritra-tech Do I need to give all of the questions in a single file.

@aritra-tech ??

Under the ArrayList, package make a package name "Problems" and there make a separate package for each of the problems.

ArrayList Shuffle, Java Program to Perform Binary Search on ArrayList, How to Prevent the Addition of Duplicate Elements to the Java ArrayList?,Join two ArrayLists in Java,Convert ArrayList to LinkedHashMap in Java. @aritra-tech Are these good enough?

ArrayList Shuffle, Java Program to Perform Binary Search on ArrayList, How to Prevent the Addition of Duplicate Elements to the Java ArrayList?,Join two ArrayLists in Java,Convert ArrayList to LinkedHashMap in Java. @aritra-tech Are these good enough?

Yeah yeah, great


Lack of spatial coherence

Does FRInGE generate spatial coherence files since I noticed that it only generates one temporal coherence file?

No it does not generate traditional spatial coherence.

Thank you @hfattahi for answering my question. I don't know if this is a naive question, why FRInGE does not generate it? Is the temporal coherence enough to determine the quality of outputs from FRInGE?

despeck has an option to generate coherence with local neighborhood, but yes this is not your traditional box car /  fixed kernel based spatial coherence

The traditional spatial coherence is generated on the fly for all possible pairs, and they may be used during the phase series estimation (depending on the estimation method) but they are not written to disk. The temporal coherence is a good measure of the quality of the inversion and yes it can be used as a metric for the quality of the estimated wrapped interferograms. wherever the temporal coherence is low, you would see noisier phase.
As Piyush pointed out, If you are looking for traditional coherence metric for some reason, you can form individual interferograms with despeck module. The only difference with the traditional coherence is that an adoptive window is used for multi-looking and coherence estimation. But that module won't give you a time-series. Only one single interferogram and its coherence.

Thank you @hfattahi for the in-depth explanation. Yeah, will try the suggested despeck option by @piyushrpt.


Include Mastodon in social accounts list in footer (& suppor other federated networks)

Hello!
I'm just getting started with Jekyll and am building my first site using this theme. It looks neat and clean :)
I wanted to add  a link to my mastodon profile in the footer. I have added the following to _config.yml:
  mastodon          : keunes
  mastodon_server   : mastodon.social # instance domain without protocol (e.g. mastodon.social)

I am recording the username and server separately, because the profile url is https://mastodon_server/@mastodon, while the user handle (which I might like to display somewhere, later on) is like @mastodon@mastodon_server
In _data/social-media.yml I've added mastodon, but I don't know how to reference a variable (?) from another yml file within it. I've tried the following and some other variations, but can't get it to work :)
mastodon:
  url   : https://{{site.author.mastodon_server}}/@
  icon  : fab fa-mastodon
  color : 3088d4

On StackOverflow I see that it might not at all be (easily) possible. Maybe if including a variable to form a new variable isn't possible, maybe support for federated media (actually also GitLab, which could be self-hosted) could be implemented by adjusting _includes/social.html?
If I had known how to make this work I would've sent a PR. But so this is more like a feature request to include support for Mastodon with deep support for the federated nature (splitting domain and username).
Thanks either way for providing this theme!

Hello @keunes!
As far as I know, you can't use jekyll variables in YAML files.
But why you don't want to use the URL of the sever as is? You can still keep them in _config.yml for usage other than the social links. Here's what I mean:
mastodon:
  url   : https://mastodon.social/@
  icon  : fab fa-mastodon
  color : 3088d4

Thanks for the quick reply! :)

why you don't want to use the URL of the sever as is?

Sure that'd work for me, but it wouldn't be a federation-worthy implementation of social support for Mastodon. So I wouldn't send a PR with that approach :)
There's really a lot of servers (the 'main' one even closed nee registrations), and asking theme users to adjust something in the theme files that they have already provided in _config.yml

I understand now your point of view. But as I mentioned before, that wouldn't be possible in jekyll. So the only approach now is to add it to the social links manually and not through _config.yaml. We can add this later whenever it become supported by jekyll.


Support for GUI overriding contents of "of" block property menu

Resolves
Towards LLK/scratch-vm#1425. Should be merged before LLK/scratch-gui#3102.
Proposed Changes
Changes the PROPERTY menu so that it functions in the same way as the OBJECT menu.
Reason for Changes
So that the GUI PR can add custom behavior to the dropdowns.
Test Coverage
Tested manually (see GUI PR).

I left a review for this work on the related GUI PR.

Closing pull request based on comments in LLK/scratch-gui#3102.


autounmask and knockout binding

I have a view that has text input binded to a viewmodel with knockout. I noticed that when the viewmodel is updated by the knockout binding, the "autounmask" option is ignored. The value in the viewmodel will always contain the masked value.
Is this an issue and/or is there a workaround?
I made a jsfiddle that reproduce my issue. : http://jsfiddle.net/ak1r1bp1/1/
Thank you!

The jsfiddle shows the unmaskedvalue?  On which browser(s) are you testing?

Sorry I forgot to add some instruction for the fiddle. When the page load the value is fine, it's unmasked. But when you go in the input and type a value (and the binding is updated) the new value in the viewmodel is masked.

Trying to workaround the issue I realized that the autounmask wasn't working.
I made a simple fiddle that shows my problem. Is there something I didn't do correctly or didn't understand?
http://jsfiddle.net/maubin/p2q2ryxy/
In the fiddle type some numbers in the input and click outside it to trigger the changed event and it will alert the value of the control. It will print with the mask which is wrong to my understanding.

I realize I also made the same typo in my first fiddle. autounmask was missing a capital letter. I still have the issue in my project but cannot reproduce it in a jsfiddle yet. I'll try and make some more tests.


Create a login endpoint returning a JWT

Create a login endpoint, it should accept some credentials (look at Google OpenID Connect eventually) and return a signed JWT

furry muff


MM-3762 Focus textbox immediately when opening edit modal

Summary
Focus the textbox as soon as the ref is set so that typing is picked up faster.
QA if you want to give it a quick test that'd be great.
Ticket Link
https://mattermost.atlassian.net/browse/MM-3762
Fixes https://github.com/mattermost/platform/issues/4593
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Has UI changes

Thanks @jwilander - please set up a spinmint so I can test?

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0cc4c1e886497dbdc.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0cc4c1e886497dbdc

@lindy65 test server up and running

Thanks @cpanato @jwilander
This looks good to me.  I see no typing occurring in the center panel and typing begins immediately in the edit post modal. 👍

Spinmint test server destroyed


Make use of the new Android N lambdas for the example?

With the new Android N release, they offer the possibility to use lambdas back to gingerbread. Maybe implement that instead of gradle-retrolambda?

Hi Syrou.
Yeh, it is a good idea. Probably one day, when they will finally release the update and it will recommend itself as a workable and reliable solution that fits nicely into workflow, I will switch to it from retrolambda.

Here is the discussion, if you're interested: https://www.reddit.com/r/androiddev/comments/4bcyqs/the_dark_side_of_jackjill/


Update windows_cmd with all the parameters it consumes

Duplicate pull request (received timeout on previous one, so thought it never came through)


Refurbish BroadcastDistributionRuleSerdeTest

Description
We only need to test serialization of a rule object itself instead of a
list with that object.
Since JUnit 4.12 it is possible to return a list of Objects if there is
only one parameter per test.
Parameters can be injected easily by annotating a field with
@Parameter.

This PR has:

[x] been self-reviewed.

Key changed/added classes in this PR

BroadcastDistributionRuleSerdeTest

@jihoonson Sorry for not checking Travis. I fixed the two issues. Now Travis fails with a license problem but I don't understand why. It fails for each extension with an error similar to
Encountered error [Command 'mvn -Ddependency.locations.enabled=false -Ddependency.details.enabled=false
project-info-reports:dependencies' returned non-zero exit status 1]
when generating report for /home/travis/build/apache/druid/extensions-core/s3-extensions


add DNS names used by DTR

Proposed changes
added list of DNS names that DTR calls to page ee/dtr/admin/configure/use-a-web-proxy. These DNS names should be whitelisted if proxy only works with whitelisted domains.

This PR is replacement for closed one #9045

Deploy preview for docsdocker ready!
Built with commit 67b1241398c9a5278bf77b43b2ab510dc91b42ad
https://deploy-preview-9050--docsdocker.netlify.com


Node graph dashboard doesn't work out of the box

Caveat: I am not sure if this is k8spacket or a Grafana issue

I tried installing k8spacket to test it out. I currently have a cluster running the kube-prometheus-stack, which works fine and runs on the latest Helm chart version (58.0.0).  I installed the Helm chart for the K8spacket, which also works fine. Modified my values.yaml of the kube-prometheus-stack as follows:
grafana:
  env:
    GF_INSTALL_PLUGINS: hamedkarbasi93-nodegraphapi-datasource,marcusolsson-json-datasource,marcusolsson-dynamictext-panel
  deploymentStrategy:
    type: Recreate
  additionalDataSources:
  - name: "Node Graph API"
    jsonData:
      url: "http://k8spacket.k8spacket.svc.cluster.local:8080/nodegraph"
    access: "proxy"
    basicAuth: false
    isDefault: false
    readOnly: false
    type: "hamedkarbasi93-nodegraphapi-datasource"
    typeLogoUrl: "public/plugins/hamedkarbasi93-nodegraphapi-datasource/img/logo.svg"
    typeName: "node-graph-plugin"
    orgId: 1
    version: 1
  - name: "JSON API"
    url: "http://k8spacket.k8spacket.svc.cluster.local:8080/tlsparser/api/data"
    access: "proxy"
    basicAuth: false
    isDefault: false
    readOnly: false
    type: "marcusolsson-json-datasource"
    typeLogoUrl: "public/plugins/marcusolsson-json-datasource/img/logo.svg"
    typeName: "json-api-plugin"
    orgId: 1
    version: 1
  sidecar:
    dashboards:
      searchNamespace: ALL
      provider:
        foldersFromFilesStructure: true

prometheus:
  prometheusSpec:
    retention: 14d
    logLevel: warn
    serviceMonitorSelectorNilUsesHelmValues: false
    ruleSelectorNilUsesHelmValues: false
    podMonitorSelectorNilUsesHelmValues: false
    additionalScrapeConfigs:
    - job_name: "k8spacket-metrics"
      metrics_path: /metrics
      scrape_interval: 25s
      static_configs:
      - targets: [k8spacket.k8spacket.svc.cluster.local:8080]

So far, so good; I can see the data sources in Grafana and the test clear in the UI. I deployed my Grafana dashboards (  kubectl -n $GRAFANA_NS apply --recursive -f ./dashboards and I can see those also appear in Grafana. When I go to the node graph dashboard, I get the following

When I edit the dashboard, select the datasource and add the query again, it starts to work.

I exported that working dashboard and couldn't really see a difference between the export and the original. The exported yaml is:
{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": 2529,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "hamedkarbasi93-nodegraphapi-datasource",
        "uid": "PC93AC6A0E760905D"
      },
      "gridPos": {
        "h": 31,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "edges": {},
        "nodes": {}
      },
      "targets": [
        {
          "datasource": {
            "type": "hamedkarbasi93-nodegraphapi-datasource",
            "uid": "PC93AC6A0E760905D"
          },
          "queryText": "namespace=$namespace&include=$include&exclude=$exclude&stats-type=$statstype&from=${__from}&to=${__to}",
          "refId": "A"
        }
      ],
      "title": "Node graph",
      "type": "nodeGraph"
    }
  ],
  "refresh": "",
  "schemaVersion": 39,
  "tags": [
    "k8spacket"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "connection",
          "value": "connection"
        },
        "hide": 0,
        "includeAll": false,
        "label": "graph mode",
        "multi": false,
        "name": "statstype",
        "options": [
          {
            "selected": true,
            "text": "connection",
            "value": "connection"
          },
          {
            "selected": false,
            "text": "bytes",
            "value": "bytes"
          },
          {
            "selected": false,
            "text": "duration",
            "value": "duration"
          }
        ],
        "query": "connection,bytes,duration",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "description": "",
        "hide": 0,
        "label": "namespace (regexp)",
        "name": "namespace",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "include name (regexp)",
        "name": "include",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "hide": 0,
        "label": "exclude name (regexp)",
        "name": "exclude",
        "options": [
          {
            "selected": true,
            "text": "",
            "value": ""
          }
        ],
        "query": "",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "current": {
          "selected": false,
          "text": "Node Graph API",
          "value": "PC93AC6A0E760905D"
        },
        "hide": 2,
        "includeAll": false,
        "multi": false,
        "name": "datasource",
        "options": [],
        "query": "hamedkarbasi93-nodegraphapi-datasource",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "k8spacket - node graph",
  "uid": "fdad1ee1-a619-493d-b0ff-2ca2682fdc57",
  "version": 1,
  "weekStart": ""
}

My hunch is that it automatically falls back to the default data source, which, in my case, is the Prometheus one. I am not 100% sure how to set the correct one.

When going to https://$GRAFANA_URL/d/fdad1ee1-a619-493d-b0ff-2ca2682fdc57/k8spacket-node-graph?orgId=1&editview=templating&editIndex=4 I get the following, it seems to match with yours:

And now, when going to the dashboard again it started working without making any (manual) changes :)
I'm not sure what happened, but it seems it was something on my side. I'm closing this for the time being as it seems to be solved. If it comes back, I will reopen.


Sealed Traits Fail to Serialize in Scala 2.11.8

I have the following code
build.sbt
name := "CirceEncoderTest"
version := "0.1"
scalaVersion := "2.12.4"
libraryDependencies ++= Seq(
   "io.circe" %% "circe-core" % "0.9.1",
   "io.circe" %% "circe-generic" % "0.9.1",
   "io.circe" %% "circe-parser" % "0.9.1"
)

MyModels.scala
sealed trait Foo
final case class Bar(name: String) extends Foo

MyApplication.scala
import io.circe.syntax._, io.circe._, io.circe.generic.auto._
object MyApplication extends App {
   val x : Foo = Bar("Foo")
   println(x.asJson.toString)
}

If I run this code. it works perfectly and produces the output
{
  "Bar" : {
    "name" : "Foo"
  }
}

But now if I change the scala version in build.sbt
name := "CirceEncoderTest"
version := "0.1"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
   "io.circe" %% "circe-core" % "0.9.1",
   "io.circe" %% "circe-generic" % "0.9.1",
   "io.circe" %% "circe-parser" % "0.9.1"
)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

Then the same code fails to run with error
[error] MyApplication.scala:5:14: could not find implicit value for parameter encoder: io.circe.Encoder[Foo]
I tried the standard workarounds of using @JsonCodec before the sealed trait and adding an empty Object Foo after the case class. both didn't solve the problem.
Talked to @liff at gitter channel and he asked me to remove the io.circe.generic.auto._ from the MyApplication as it may be conflicting with @JsonCodec but that also did not solve the issue.
I have checked in my sample code here
https://github.com/abhsrivastava/CirceEncoderTest
The branch "works" contains the working code
https://github.com/abhsrivastava/CirceEncoderTest/tree/works

I could make it work by moving your models definitions to MyApplication (outside MyApplication object):
import io.circe.generic.auto._, io.circe.syntax._

sealed trait Foo
final case class Bar(name: String) extends Foo

object MyApplication extends App {
   val x : Foo = Bar("Foo")
   println(x.asJson.toString)
}

Could it be related to the nested class problems https://github.com/circe/circe/issues/69 ? Maybe some corner case in Scala 2.11?

This is almost certainly a case of SI-7046, which is (partially) fixed by 2.11.12 (I can't remember exactly which 2.11 version the fix showed up in, but it was after 2.11.8).
I confirmed on my laptop that your code fails to compile on 2.11.8 and succeeds on 2.11.12. Unfortunately we can't support old patch Scala versions, so I'm going to close this issue—please reopen if you can reproduce the issue on 2.11.12.


Feature Request - Precipitation Type

This package has been amazing to work with! I'm wondering about the possibility of adding precipitation data to model data. Models have reflectivity, and they also have information about precip type. I'm wondering about the possibility of supporting precip type down the road. I know this is a rather complex task, but would we be able to achieve this using a "filter" in WebGL to apply a separate color palette based on the precipitation type? Finally, for the required data, in terms of the current project, this would require three or four items in addition to reflectivity - CSNOW, CICEP, CFRZR, and possibly CRAIN. Perhaps CRAIN may not be needed as if your precip type is not snow, mix, or freezing rain, it's going to be rain?
Thoughts on this? In terms of structure - perhaps this should be an additional layer type such as a "Shaded Layer" and perhaps the inputs could be data, and then the layer types. I think that this should also be applicable to both ContourFilled and Raster.
I'm willing to help out any way possible, but my knowledge of WebGL is lacking.

Yeah, I think this could be an interesting addition. I'm trying to mull over in my head exactly how I would want it to look and how I would want the code to be structured. But it's doable, and making it part of the library would be more efficient than just having the user add four layers if they wanted a ptype display.

I was curious if you've given this any more thought on a "best approach."

The short answer is "yes, but ..."
Basically, my plan was to allow the user to pass a mask to the ContourFill and Raster classes that would select from a bunch of different colormaps that the user could pass in as well. The problem with that is, due to the way I'm implementing colormaps right now, each colormap takes two textures.
The maximum number of textures (per draw call) that's guaranteed to be supported on all hardware is 8, so a colormap taking two textures is a bit wasteful in that context. If a user wanted to do something like PivotalWeather's precip type/precip rate plot (attached), they'd need one texture for the precip rate, one for the precip type mask, and eight for the colormaps. That's 10 textures, so above that limit.

So I went down a rabbit hole of trying to get each colormap down to one texture, which for WebGL reasons is gonna be trickier than I thought it was gonna be when I started. (Plus, I realized I might have a fencepost bug in colormaps for Raster plots, which I'll need to fix somehow.) I haven't worked on this in a bit, so I might pick it up again soon.
gets up, walks around, makes lunch
Though now that I think on it for a few minutes ...
I could still have that API and basically draw each color separately. So in the precip type/precip rate example, you'd have one draw call for the rain ptype, one for the snow ptype, etc., and it would be transparent to the user. That would get around that WebGL limitation, and I wouldn't be stuck on the colormap optimization.
Well, thanks for the unintentional rubber-ducking!


support stable Rust toolchains

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
add support for stable rust toolchains
Describe the solution you'd like
don't use unstable or anything that is related to nightly Rust
Describe alternatives you've considered
if one wants to build turbo with stable Rust there is no alternatives

Hi @ognevny, could you provide a reason for why you'd like to build turbo on stable? To be frank, both turborepo and turbopack make heavy use of nightly features, so this is likely not feasible in the near future.

Hi @ognevny, could you provide a reason for why you'd like to build turbo on stable? To be frank, both turborepo and turbopack make heavy use of nightly features, so this is likely not feasible in the near future.

I want to provide it in msys2 distribution. we don't provide nightly Rust toolchain

We appreciate the interest of packaging turbo for msys2 distribution, but removing our usage of nightly would be a large undertaking that we won't be prioritizing.

ok, I fully understand your opinion. hoping the things will get stable soon

I’d like to ask the same, for the Alpine Linux package.


Fix a issue of rubocop

WHAT
Fixed a issue of Rubocop.
BEFORE
.....C..

Offenses:

lib/simplecov-html.rb:8:22: C: Unnecessary spacing detected.
major, minor, patch =  SimpleCov::VERSION.scan(/\d+/).first(3).map(&:to_i)
                     ^

8 files inspected, 1 offense detected

AFTER
Inspecting 8 files
........

8 files inspected, no offenses detected

@colszowka How about this change?

:+1:

@sachin21 ありがとう

@sferik Thank you su much for quickly merging and My country's thank :D
どういたしてまして！


Navigation to a existing page in initial state

Discussed in https://github.com/jonataslaw/getx/discussions/2842

Originally posted by fdemiguel July  7, 2023
Hi everybody!
I am implementing a web application where through a Drawer, the user has access to the different functionalities.
Being in /home, what I want to do is:

The user clicks on the item X of the Drawer.
The user navigates to page A with offAndToNamed.
User does something and navigates from A to B with toNamed.
The user does something and navigates from B to C with toNamed.
The user clicks on item X in the Drawer again. What I want the application to do is to remove C, B and A by destroying their respective controllers; and to rebuild A from scratch, i.e. rebuild its controller.

I create all the controllers using GetBuilder. I don't explicitly use Get.Put.
I have tried:

Get.offAllNamed(A): removes pages C, B, A with their respective controllers and navigates to A, but does not recreate the controller for A. This is obviously a problem.

Get.offNamedUntil(A, (route) => route.settings.name == /home): Exactly the same as offAllNamed.

Get.offAllNamed(/home); Get.offAndToNamed(A); : Exactly the same as in the two previous cases.

Get.offAllNamed('/home'); await Future.delayed(const Duration(milliseconds: 500)); Get.offAndToNamed(A) :After destroying the three controllers, it builds the controller of A again. If instead of 500 milliseconds, I set 250 for example, it does not build the controller of A. What is the point of this behaviour? It's as if it hasn't completely destroyed the controller of A and you have to give it some time to do so. If I put an await on the offAllNamed, the following lines of code are never executed.

Any ideas for possible strategies?
I've attached an example to show the problem.
Thank you very much
navigation_getx.zip

Hello @fdemiguel
Can you try this navigation:  Get.offNamedUntil( '/home', (route) => route.isFirst);

Hello @waleajepe
I have tried Get.offNamedUntil(A, (route) => route.isFirst); but it doesn't work because after destroying the controllers of C, B and A, it doesn't rebuild the one of A.

Any help please? @jonataslaw


Bad interaction between SE-0269 and SE-0345

Description
SE-0269 included a check to make sure that the implicit self behavior was only permitted if you had indeed captured the self param (or another capture thereof) and not some other rebound self. SE-0345 allowed implicit self for rebound weak self which results in a bogus (or at least confusing) diagnostic. See reproduction below.
Reproduction
class C {
    var x: Int = 0

    func f() {
        g { [weak self] in
            guard let self else { return }
            h { [self] in
                x += 1
            }
        }
    }
}

func g(_: @escaping () -> Void) {}
func h(_: @escaping () -> Void) {}

error: MyPlayground.playground:8:17: error: reference to property 'x' in closure requires explicit use of 'self' to make capture semantics explicit
                x += 1
                ^

MyPlayground.playground:7:18: note: variable other than 'self' captured here under the name 'self' does not enable implicit 'self'
            h { [self] in
                 ^

Expected behavior
Compiles
Environment
Fails on nightly
Additional information
No response

cc @calda I know you flagged some odd interactions between these proposals already, not sure if this is already filed somewhere. I probably won't have a chance to look at this right away so if you're interested/available feel free to tackle.

Here's a fix: https://github.com/apple/swift/pull/70575

@calda major props landing this fix!! Didn't realize what a slog it would turn into when I tagged you 😭


Only decrypt files if not PR

Coverage remained the same at 86.957% when pulling 5d9774a6c2093af82e380bf8b76286229cdb1123 on testing/travis into 7de9f81fa0254c5a26473d94271a4da645dcf69f on master.


Question about VCS and UVM

Hi @Kuree, I have been trying to run hgdb with VCS and having some troubles. I want to make sure I'm using it right.
For one, the docs mention to invoke the vcs command with -debug_acc+all -load libhgdb.so. I'm not sure if that works as expected. I got the following error:
Warning-[RT_UO] Unsupported option
  Unsupported option '-debug_acc+all' is ignored

I also got an error related to -load libhgdb.so:
/usr/bin/ld: cannot find -load
collect2: error: ld returned 1 exit status

I tested this with version Q-2020.03-SP2-4. So, I removed that -debug_acc+all as well as -load, but at runtime, the debugger never seems to start and block the simulator. I'm running with +DEBUG_LOG, but nothing prints out. The simulation just runs to completion. I may be able to test with other simulators, but I was hoping to get VCS working.
I should note that I also tried a more recent version of VCS, but I picked that specific version because of this comment: https://github.com/Kuree/hgdb/blob/8a028b9ee8751a2cc77cd1c889e96059747b2f18/src/sim.cc#L55-L68
In both versions, the debugger never starts.
This may be because this internal test uses UVM and some other DPI features. I'm wondering if maybe that is conflicting with HGDB. I'm not an expert about DPI or VPI, but I can try to provide more information about the setup if it is relevant (or find an open source reproducer).
In the end, I am basically trying to get a demo working like the Rocket-Chip example you showed here: https://github.com/Kuree/hgdb-debugger. Do you have any docs or steps online to get the debugger running on a Rocket-Chip? If you can point me to which test you used, I will try debugging that myself.

Here is the changes I made to the rocketchip make file. You should replace the shared library path with your local one.
diff --git a/vsim/Makefrag b/vsim/Makefrag
index 278384769..f5ba823db 100644
--- a/vsim/Makefrag
+++ b/vsim/Makefrag
@@ -48,6 +48,8 @@ VCS_OPTS = -notice -line +lint=all,noVCDE,noONGS,noUI -error=PCWM-L -timescale=1
        -CC "-Wl,-rpath,$(RISCV)/lib" \
        $(RISCV)/lib/libfesvr.a \
        -sverilog \
+    -debug_access+class \
+    -load /home/keyi/workspace/hgdb/cmake-build-release/src/libhgdb.so \
        +incdir+$(generated_dir) \
        +define+CLOCK_PERIOD=1.0 $(sim_vsrcs) $(sim_csrcs) \
        +define+PRINTF_COND=$(TB).printf_cond \

I used class instead of all since that's enough debug access for hgdb.
I'm using Q-2020.03-SP2_Full64, but I doubt that would make a difference.
-debug_acc or -debug_access are known switch to VCS. -load should be standard switch as well. You can do vcs -h | less to search -load and debug_acc. My guess is that VCS is not invoked properly given the error message you have.

I should note that I also tried a more recent version of VCS, but I picked that specific version because of this comment:
I found out that VCS will run VPI initialization routine during the compilation. My guess is to detect which VPI hooks to compile into simv file. This however will trigger hgdb's built-in pause-on-startup behavior. So this detection is to bypass that. Once you run the simv file, it should just work properly.

Hi @Kuree I was able to try this again, and it seems to be working well (note that I am not using remote debugging)! I must have screwed something up with how my build tool invoked vcs before. Thanks!


wait until container unpause completes in containerd

#1102
This is still a WIP.

It was decided to leave this for now.


mpv: add test "mpv-scripts-should-not-collide"

Description of changes
This test ensures that a FHS environment with all mpvScripts does not feature any collision.
I use buildEnv instead of buildFHSEnv since the latter uses ignoreCollisions = true in $out/share.
Tested by introducing a collision, with and without NIXPKGS_ALLOW_UNFREE=1, and with and without all scripts being replaced with placeholders.

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

mpv maintainers: @AndersonTorres @fpletz @globin @ma27 @tadeokondrak

@ ofborg build mpv.tests.mpv-scripts-should-not-collide


Sizing Stuff

Some fun things to think about. I dunno if this is the right API but I think it's worth starting a discussion!

One problem with having everything as simple statics on CGSize is that this API wouldn't be so reusable for UIViewController where UITraitCollection comes into play. Dunno if you have ideas on how UITraitCollection may be used in the future and how it may affect this design.

(This fixes #70 and #83.)


Add changes needed for iGibson integration in robosuite.

The changes in load_object seem extremely error-prone. We should clean up that function at some point.

@ChengshuLi indeed.

it is better to be concrete on the error-prone changes so that we know what that is about later

Specifically, all the indexing with num_added_materials and num_existing_mats. It's very difficult to tell if the current code is buggy or bug-free.

@roberto-martinmartin @ChengshuLi we will take the discussion to https://github.com/fxia22/iGibson/pull/436


cannot create regular file '/etc/suricata/classification.config': Permission denied

Operating System
CentOS 7
Ansible
I am creating the container using the Ansible docker_container module.
Ansible Options
pyx_docker_container:
  name: rick-poc-suricata-image
  image: jasonish/suricata:latest
  interactive: true
  tty: true
  auto_remove: false
  recreate: true
  capabilities:
    - net_admin
    - sys_nice
  cap_drop:
    - all
  command: ["echo", "hello suricata"]
  entrypoint: ["/bin/sh", "/docker-entrypoint.sh"]
  network_mode: host
  user: suricata:suricata
  volumes:
    - /vagrant/playbooks/log:/var/log/suricata:rw
    - /vagrant/playbooks/lib:/var/lib/suricata:rw
    - /vagrant/playbooks/etc:/etc/suricata:rw

Ansible Command
$ ansible-playbook -vvv -i hosts install_security_tool.yml

Expected Outcome
container successfully created and running
Actual Output
fatal: [<IP_ADDRESS>]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "api_version": "auto",
            "auto_remove": false,
            "blkio_weight": null,
            "ca_cert": null,
            "cap_drop": [
                "all"
            ],
            "capabilities": [
                "net_admin",
                "sys_nice"
            ],
            "cleanup": false,
            "client_cert": null,
            "client_key": null,
            "command": [
                "echo",
                "hello suricata"
            ],
            "comparisons": null,
            "cpu_period": null,
            "cpu_quota": null,
            "cpu_shares": null,
            "cpuset_cpus": null,
            "cpuset_mems": null,
            "debug": false,
            "detach": false,
            "device_read_bps": null,
            "device_read_iops": null,
            "device_write_bps": null,
            "device_write_iops": null,
            "devices": [],
            "dns_opts": null,
            "dns_search_domains": null,
            "dns_servers": null,
            "docker_host": "unix://var/run/docker.sock",
            "domainname": null,
            "entrypoint": [
                "/bin/sh",
                "/docker-entrypoint.sh"
            ],
            "env": null,
            "env_file": null,
            "etc_hosts": null,
            "exposed_ports": [],
            "force_kill": false,
            "groups": [
                "users"
            ],
            "healthcheck": null,
            "hostname": "",
            "ignore_image": false,
            "image": "jasonish/suricata:latest",
            "init": false,
            "interactive": true,
            "ipc_mode": null,
            "keep_volumes": true,
            "kernel_memory": null,
            "kill_signal": null,
            "labels": {},
            "links": null,
            "log_driver": null,
            "log_options": null,
            "mac_address": null,
            "memory": "0",
            "memory_reservation": null,
            "memory_swap": null,
            "memory_swappiness": null,
            "mounts": null,
            "name": "rick-poc-suricata-image",
            "network_mode": "host",
            "networks": [],
            "networks_cli_compatible": true,
            "oom_killer": null,
            "oom_score_adj": null,
            "output_logs": false,
            "paused": false,
            "pid_mode": null,
            "pids_limit": null,
            "privileged": false,
            "published_ports": null,
            "pull": false,
            "purge_networks": false,
            "read_only": false,
            "recreate": true,
            "restart": false,
            "restart_policy": null,
            "restart_retries": null,
            "runtime": null,
            "security_opts": null,
            "shm_size": null,
            "ssl_version": null,
            "state": "started",
            "stop_signal": null,
            "stop_timeout": null,
            "sysctls": null,
            "timeout": 60,
            "tls": false,
            "tls_hostname": "localhost",
            "tmpfs": null,
            "trust_image_content": false,
            "tty": true,
            "ulimits": null,
            "user": "suricata:suricata",
            "userns_mode": null,
            "uts": null,
            "validate_certs": false,
            "volume_driver": "",
            "volumes": [
                "/vagrant/playbooks/log:/var/log/suricata:rw",
                "/vagrant/playbooks/lib:/var/lib/suricata:rw",
                "/vagrant/playbooks/etc:/etc/suricata:rw"
            ],
            "volumes_from": [],
            "working_dir": ""
        }
    },
    "msg": "Creating /etc/suricata/classification.config.\r\ncp: cannot create regular file '/etc/suricata/classification.config': Permission denied\r\n",
    "status": 1
}

## Inspecting the Container

$ sudo docker run --rm -it jasonish/suricata:latest /bin/bash
ls -l /etc/suricata
total 92
-rw-------. 1 suricata suricata  4258 Sep 15 05:55 classification.config
-rw-------. 1 suricata suricata  1375 Sep 15 05:55 reference.config
-rw-------. 1 suricata suricata 70491 Sep 15 05:55 suricata.yaml
-rw-------. 1 suricata suricata  1644 Sep 15 05:55 threshold.config
-rw-rw-r--. 1 suricata suricata    43 Sep 15 05:49 update.yaml

## Thoughts?

In your Ansible config you'll have to remove the cap-drop and user settings. The user setting will start the container as the the Suricata user. For Suricata to run properly it needs to be root. If it has the capabilities sys_nice and net_admin, it will change its uid to the suricata user after its done what it needs to do as root.
And the cap-drop option appears to remove capabilities that are previously added. So unless you need to drop specific capabilities, I'd leave this option out. Suricata needs the sys_nice and net_admin capabilities so it can stop running as root, yet operate normally.

Try a command of "-i "..
I'm not really sure how Ansible is doing this.. Maybe its rebuilding the image? But you want to replicate this:
docker run --rm -it --net=host \
    --cap-add=net_admin --cap-add=sys_nice \
    jasonish/suricata:latest -i <interface>

with your own mounts of course.  Your volume mounts do look OK.
I still need to streamline (or simply document) the process of rule updates and log rotation with Suricata in Docker though.

I think that is the problem. The Ansible module doesn't have an obvious way to specify the interface for the host network. I need to work with them to see if it can or can't be done now. Feel free to close this issue. Your code is working fine. Thanks for your help.

That shouldn't be needed.. Host network in Docker just exposes all the interfaces on the host inside the container, almost as if the app wasn't running in the container.. So eno1 on the host is eno1 inside the container and so on.

That makes sense. I just wish Ansible had a way to specify the one I want to use then it would support the -i option.

I figured out I can specify the -i option through CMD. Now the container runs fine. I will close this as everything is now working perfectly.


🍒 Cherry pick PR #7665 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/7665 to staging 🍒

🚀 Deployed to production by @Julesssss in version: 1.1.38-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Support the automation API for the functionality "Use any Terraform provider with pulumi"

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
I was trying to use the feature described in this blog post and I realized that it was not compatible with the automation API as I was going through it.
Ref: https://www.pulumi.com/blog/any-terraform-provider/
Affected area/feature
Not sure about that

This was opened after a chat on slack:
https://pulumi-community.slack.com/archives/C84L4E3N1/p1725479569274409

Hi @callicles. Thanks for opening an issue. I'll leave this issue open to track, but the actual fix needs to be in the automation API itself, along with documentation on how to generate and consume SDKs. I opened https://github.com/pulumi/pulumi/issues/17220 to track the work in pulumi/pulumi.


SwiftLint integration and code style improvements

Integrated SwiftLint tool to enforce Swift style and conventions.
Fixed over 300 warnings.
https://github.com/realm/SwiftLint

This is awesome! Thanks for doing this. Made the code so much better.


Links in dropdown options

Is it possible to make the dropdown options into links that open up when clicked? Thanks!

Yup. Given this HTML:
<select class="my-select">
    <option value="">Pick a Site…</option>
    <option value="http://google.com">Google</option>
    <option value="http://yahoo.com">Yahoo</option
    <option value="http://bing.com">Bing</option
</select>

You'd want to do something like this in your JS:
var mySelect = $('.my-select');
mySelect.fancySelect().on('change.fs', function() {
    window.location = mySelect.val();
});


Azure Front Door autogen content is missing information on classic vs premium

We have two Azure Front Door modules in our autogenerated reference content:
az network front-door
az afd
It is not clear which commands are for classic (az network front-door) and which module is for premium (az afd).
Can any of the reference commands be used in both classic and premium?  When is it best to use one or the other?  What is the current status of both command groups?  Is one intended to replace the other?
CCing @KatGreenSmith and @jdmartinez36.

route to service team

@yonzhan , @chasewilson , does route to service team mean this has been moved to another repo?  Do we have a MSFT or Git ID for the owner of this Issue?

It means this CLI module is owned by service team. cc @cdnfdsuppgithub

Service team ACK, we are working on that.

@yonzhan  and @t-bzhan , I see new information in the az afd page, so I think this issue can be closed.


Mesh + Texture

I've been able to extract mesh using gs-mesh tsdf (commit 811f5cdf342d92d12a9d9a4be185d374c430c184) i was wondering if there is a way to extract texture as well.
Thanks.
d.

Hi,
You can use the gs-mesh o3dtsdf --load-config ... --output-dir ...  to get a textured mesh. I recommend this for your case. But the texturing is not optimized, so it is not as good as per say SuGaR texture, but it should be pretty okay (based on traditional mesh texturing). The gs-mesh dn method also outputs a texture for the mesh.

Here is a quick example training on a replica scene for only 1000 iterations and the output mesh from dn and o3dtsdf:
gs-mesh dn:

gs-mesh o3dtsdf:


event type decisioning.propositionFetch is missing in Accepted values for eventType

Issue in ./help/xdm/classes/experienceevent.md
decisioning.propositionFetch is missing in Accepted values for eventType
More details for decisioning.propositionFetch is given at below link
https://experienceleague.adobe.com/en/docs/experience-platform/web-sdk/use-cases/top-bottom-page-events

Thank you for submitting this issue. We will review the documentation and make the necessary updates as quickly as possible. Tracking internally in PLAT-197238.

We've reviewed and updated the documentation. Closing this issue.


Some voices not working...

Some voices such as Jennifer don't work at all right now.
I have tested this in 3 different versions of W:O, v1.2.1, v1.2.3, and v1.3.1b10.
They return a error message saying "Unable to retrieve MP3 stream." or "Something broke and got grounded.".

u r using 1.2.2 version. update to 1.3.1

I've already tried that version, still getting the same errors :/

ivonia voices arent working atm due to a change with their website


ImportError: cannot import name 'url_quote' from 'werkzeug.urls'

Problem Description
I'm hoping I'm reporting this in the correct place. Please forgive me if I got it wrong (I'm not a Python dev) 🙏🏻
A GitHub actions workflow for one of the projects I'm involved in broke recently and this looks to be related to the werkzeug.urls package having released a 3.0.0 version and being a sub-dependency of mitmproxy via the Flask package.
The Flask package has released a new major (3.0.0) as well, which fixes this issue and (merged) PR #6390 updates Flask for mitmproxy, but that PR is not yet included in a tagged release.
In the mean time, I'm not sure how I can get the builds for the project using mitmproxy working again. Any help would be appreciated!
Steps to reproduce the behavior:
name: Test

on:
  push:

jobs:
  reproduce:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: '3.8'

      - name: Setup proxy server
        run: pip3 install mitmproxy

      - name: Check mitmproxy version
        run: mitmdump --version

System Information
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/bin/mitmdump", line 8, in <module>
    sys.exit(mitmdump())
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mitmproxy/tools/main.py", line 137, in mitmdump
    from mitmproxy.tools import dump
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mitmproxy/tools/dump.py", line 1, in <module>
    from mitmproxy import addons
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mitmproxy/addons/__init__.py", line 14, in <module>
    from mitmproxy.addons import onboarding
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mitmproxy/addons/onboarding.py", line 2, in <module>
    from mitmproxy.addons.onboardingapp import app
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/mitmproxy/addons/onboardingapp/__init__.py", line 3, in <module>
    from flask import Flask, render_template
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/flask/__init__.py", line 7, in <module>
    from .app import Flask as Flask
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/flask/app.py", line 28, in <module>
    from . import cli
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/flask/cli.py", line 18, in <module>
    from .helpers import get_debug_flag
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/flask/helpers.py", line 16, in <module>
    from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/werkzeug/urls.py)
Error: Process completed with exit code 1.

Hi there! The first problem I see here is python-version: '3.8', which means you won't pick up the latest mitmproxy release. mitmproxy 10 requires Python 3.10 or above. :)

@mhils Thank you for your quick response! Running tests with an updated Python version now to see if that resolves the build failures. Will get back to you once the build finishes. 🤞🏻

Test build has finished running and is working again.
Thank you so much @mhils for the seemingly simple solution, but one which can be darn hard to figure out if one is not very familiar with the Python ecosystem (like me). 💞


bump codecov action version

Seems the GHA codecov v3 was busted, we should swap to v4.

@alisiafadini seems we have (at least) one more step to do to get codecov working: we need to authenticate it to push back to github.
That means we need to add the "codecov token" to our github actions secrets. Instructions/details:
https://docs.codecov.com/docs/adding-the-codecov-token

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (master@1b77c00). Learn more about missing BASE report.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##             master     #11   +/-   ##
========================================
  Coverage          ?   0.00%
========================================
  Files             ?       5
  Lines             ?     128
  Branches          ?       0
========================================
  Hits              ?       0
  Misses            ?     128
  Partials          ?       0

Flag
Coverage Δ

unittests
0.00% <ø> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Printing help throws an exception

Describe the bug
If you hit F1 to open the help and try to print, it throws the following exception:
This function should be called while holding treeLock
java.lang.IllegalStateException: This function should be called while holding treeLock
	at java.desktop/java.awt.Component.checkTreeLock(Component.java:1235)
	at java.desktop/java.awt.Container.validateTree(Container.java:1719)
	at com.sun.java.help.impl.JHelpPrintHandler$JHFrame.validate(JHelpPrintHandler.java:975)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2778)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:191)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

---------------------------------------------------
Build Date: 2024-Sep-26 1444 EDT
Ghidra Version: 11.2
Java Home: C:\Program Files\Amazon Corretto\jdk21.0.3_9
JVM Version: Amazon.com Inc. 21.0.3
OS: Windows 11 10.0 amd64

To Reproduce
Steps to reproduce the behavior:

Open Ghidra
Hit F1 to open the help
Click the print button
An exception will then occur

Expected behavior
Print dialog box appears without an exception ocurring.
Screenshots

Attachments
N/A
Environment (please complete the following information):

OS: Windows 11
Java Version: Amazon 21.0.3
Ghidra Version: 11.2
Ghidra Origin: Github

Additional context
As an aside, I went to print the docs because, as I've been learning Ghidra, I've found them more useful than many online resources. Regrettably, I've yet to see them actually hosted anywhere online (please correct me if I'm wrong here!) so I've been resorting to printing them as PDFs so I can read them from when Ghidra is not available (e.g., on my mobile device).

Unfortunately, this exception is coming from inside of Java's APIs.  I'm guessing that the print operation still works, despite the exception.  There may be nothing the Ghidra team can do to prevent this exception from happening.

Can confirm printing still works.


feat(test) - add status page test for 942500

This PR adds test for status page 942500-2 and also fixes 942500-1 so that this only triggers one rule.
It was accidentally POST request without request body.

Tested: works for me, too.
Merging.


Export Version priority parser with Ord impls in kube_core

needed for https://github.com/kube-rs/kopium/issues/23
This does the self-comment cleanup steps described to make this worthy of exporting:

reverse Ord impl so we have semantic coherence (stable 2 > stable 1)
reverse sort usage internally to compensate (ascending version order default, matches rust conventions)

Also adds a small doctest for the thing, and an infallible FromStr impl (which may end up being useful to someone - maybe).

Codecov Report

Merging #764 (1e9553b) into master (155859b) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #764      +/-   ##
==========================================
+ Coverage   70.83%   70.87%   +0.04%
==========================================
  Files          52       52
  Lines        3405     3410       +5
==========================================
+ Hits         2412     2417       +5
  Misses        993      993

Impacted Files
Coverage Δ

kube-client/src/discovery/mod.rs
89.18% <ø> (ø)

kube-client/src/discovery/apigroup.rs
80.55% <100.00%> (ø)

kube-core/src/version.rs
98.73% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks for all the diligent review here :+1:
Happy to merge at this point.
As a funny side-note about this naming: Nonconformant("Z").generation() is now a thing we can ask for.

CI instability from github's side this morning. Either it's the cargo deny locking up in a docker run, or k3d failing to start the cluster, so guessing there are some temporary docker issues on some actions runners. In either case everything here has passed checks. Merging.


Refresh toggle button

This should close #47
I also change a state change in ProjectDetails.js to use the previous state. (Row 59-63).
I also ran the linter before writing my code.
Expected behaviour
When turning off:

Pressing the switch will disable auto refresh for all projects.
Individual Auto Refresh Settings for each project will be turned off.

When turning on:

Pressing the switch will enable possibility for auto refresh for all projects.
Individual Auto Refresh Settings will be set to ON/OFF depending on if they where ON/OFF before global auto refresh was turned off.

@johachi it looks like when entering value, unless you press enter the changes dont take affect. - should set the value once set
also pressing enter when no value, it continuously fetches the APIs - should just set to default timeout. i.e. 30 secs

@johachi The auto refresh is broken, its not fetching when setting to enabled.

Checking now!

Fixed! Everything should now work as expected.

Thanks @johachi.


[Bug]: No longer works in macOs 13.1

Is there an existing issue for this?

[x] I have searched the existing issues

Current Behavior
It doesn't work even after enabling, reloading the theme.
Expected Behavior
No response
Steps To Reproduce

Enable extension
Reload
Nothing happens

Environment
- OS: macOs 13.1
- VSCode: 1.74.1
- Extension: 1.1.12

Anything else?
No response

Somehow the update has messed up my viscose installation. I reinstalled everything and now it works properly. Thanks!!

No problem, glad to hear!


Speedify UI not working - Speedify not running

Discussed in https://github.com/TalalMash/SmoothWAN/discussions/25

Originally posted by evanrodgers April 16, 2022
Hello there,
I have the latest release of SmoothWAN running on an RPI 4 2GB and it's been working great for the last week or so. Curiously, today the Speedify UI stopped working. The internet does still work, but the UI does not respond. I've rebooted the RPI 4 and tested the web interface in Edge and Chrome. Any thoughts on what might be going on?

Rsync (openwrt's build) sometimes crashes during writing a file in use, reverted to storage.


add caching mechanism + add new tests (wip)

:tada: This PR is included in version 1.16.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fixes #650: Feature request: Support RegexMatch

Hi guys,
I implemented this feature request.
In CAPSRecordsAcceptanceTest you'll find two test:
  it("filter rels on property regular expression") {
    // Given
    val query = """MATCH (a:Actor)-[r:ACTED_IN]->() WHERE r.charactername =~ '(\\w+\\s*)*Du\\w+' RETURN r.charactername"""

    // When
    val result = graph.cypher(query)

    // Then
    val records = result.records.collect
    records.toBag should equal(Bag(CypherMap("r.charactername" -> "Henri Ducard"),
      CypherMap("r.charactername" -> "Albus Dumbledore")))
  }

  it("filter nodes on property regular expression") {
    // Given
    val query = """MATCH (p:Person) WHERE p.name =~ '\\w+ Redgrave' RETURN p.name"""

    // When
    val result = graph.cypher(query)

    // Then
    val records = result.records.collect
    records.toBag should equal(Bag(CypherMap("p.name" -> "Michael Redgrave"),
      CypherMap("p.name" -> "Vanessa Redgrave"),
      CypherMap("p.name" -> "Corin Redgrave"),
      CypherMap("p.name" -> "Jemma Redgrave"),
      CypherMap("p.name" -> "Roy Redgrave")))

  }

Under the hood it uses the Spark's rlike function:
      def rlike(lhs: Expr, name: String): Column = {
        val regex: String = parameters(name).unwrap.toString
        lhs.asSparkSQLExpr.rlike(regex)
      }

Let me know what do you think about it.
Thanks
Signed-off-by: Andrea Santurbano<EMAIL_ADDRESS>

Hi @DarthMax, thanks for the review I implemented your suggestions.

@DarthMax ping


chore: send segment anonymous id

Add segment's anonymousId as a header in all API calls.
cached id -> details
On Page load actions:

If segment is enabled:

and cached id exists -> trigger with cached id
if cached id doesn’t exist, we wait for max 2 seconds.

if segment init is success -> trigger with anonymous id
if failed/delayed -> trigger without anonymous id

If segment is disabled we don’t wait at all and anonymous id is not sent.

/perf-test
Just testing perf infra

/ok-to-test sha=657cdb8

/ok-to-test sha=2f98936

/ok-to-test sha=42d5fa8

Thanks @hetunandu.!
Will keep the logs for now, to test this.
Will remove once done.

/ok-to-test sha=9a6ec56

/ok-to-test sha=865d371

/ok-to-test sha=ac22c86

/ok-to-test sha=96925cd


🐛 [cloud_firestore] No implementation found for method Query#get on channel plugins.flutter.io/firebase_firestore

I am getting this error only when running the web app from its release build; it works fine in the simulator though. Here is the call that triggers that:
FirebaseFirestore db = FirebaseFirestore.instance;
await db.collection('orders').where('publicOrderId', isEqualTo: orderNumber).get().then((querySnapshot) async {
  if(querySnapshot.docs != null){
    // Logic
    }
});

@abeticlairon
In order to properly address the issue, please provide complete minimal reproducible code sample that we can copy paste and run.
Also I suggest you to check plugin example and see if using it you get same error or not.

Hello @darshankawar, thank you for your response. The code that I pasted is the minimal reproducible code sample that you can copy paste and run, the error is happening at the .get() part of the asynchronous function. I didn't post the logic that follows because running this code doesn't even reach that part.

@abeticlairon In order to properly address the issue, please provide complete minimal reproducible code sample that we can copy paste and run. Also I suggest you to check plugin example and see if using it you get same error or not.

I closed this issue by accident

@abeticlairon In order to properly address the issue, please provide complete minimal reproducible code sample that we can copy paste and run. Also I suggest you to check plugin example and see if using it you get same error or not.

Hello @darshankawar, thank you for your response. The code that I pasted is the minimal reproducible code sample that you can copy paste and run, the error is happening at the .get() part of the asynchronous function. I didn't post the logic that follows because running this code doesn't even reach that part.

Thanks for the update @abeticlairon
I tried the code snippet in plugin example wherein I get an analyzer error in the null check condition:

Do you get the same because the null check will return true as suggested.

Thanks for the update @abeticlairon I tried the code snippet in plugin example wherein I get an analyzer error in the null check condition:

Do you get the same because the null check will return true as suggested.

The code doesn't even run up to the null check; but I've changed the null check to if (querySnapshot.docs.isNotEmpty). The exact error I'm getting is:
Uncaught MissingPluginException(No implementation found for method Query#get on channel plugins.flutter.io/firebase_firestore) which is referring to the .get() part  of the function

Thanks for the feedback @abeticlairon
I tried below code sample using the plugin example which printed the text I passed, but not the error you reported.
return Padding(
      padding: const EdgeInsets.only(bottom: 4, top: 4),
      child: Center(
        child: ElevatedButton(
          onPressed: () {
            FirebaseFirestore.instance.collection('firestore-example-app').get().then((querySnapshot) {
              if (querySnapshot.docs.isNotEmpty) {
                print('error');
              }
            });
          },
          child: Text('Test')
        )
      )
    );

I/flutter (26074): error
Can you try the same as I mentioned the plugin example link here and with above snippet to see if you still get the reported error or not ? Or is there any missing step from my end to properly replicate the error.

Thanks for the feedback @abeticlairon I tried below code sample using the plugin example which printed the text I passed, but not the error you reported.
return Padding(
      padding: const EdgeInsets.only(bottom: 4, top: 4),
      child: Center(
        child: ElevatedButton(
          onPressed: () {
            FirebaseFirestore.instance.collection('firestore-example-app').get().then((querySnapshot) {
              if (querySnapshot.docs.isNotEmpty) {
                print('error');
              }
            });
          },
          child: Text('Test')
        )
      )
    );

I/flutter (26074): error
Can you try the same as I mentioned the plugin example link here and with above snippet to see if you still get the reported error or not ? Or is there any missing step from my end to properly replicate the error.

This works in the Chrome emulator when running in debug mode, but it doesn't work when I actually deploy the web app online. I still get the following error:

Hi @abeticlairon, what version of cloud_firestore & firebase_core as well as flutter are you using?
Where is your app deployed?

Hi @danagbemava-nc I'm using the latest versions of both cloud_firestore and firebase_core (4.8.4 and 2.15.0 respectively). The app is deployed to shared hosting via cPanel

@abeticlairon
Can you provide index.html ?
I tried again using the code snippet and deployed on web in release mode, but don't see the reported error.  Maybe there's a cache issue.
Is your firebase project integrated using flutterfire configure CLi tool or manually ? If through tool, can you update your flutterfire configure and run to see if you still get same error or not ?

Greetings.  I have a minimal Flutter project and I'm seeing the same issue.  I can query my firestore collection when debugging, but after deploying to firebase hosting I'm seeing
"Uncaught MissingPluginException(No implementation found for method Query#get on channel plugins.flutter.io/firebase_firestore)"
I'd like to help debug this.  What steps should I follow?

When I re-checked this morning, the problem seems to have gone away.  I re-deployed and now there is no error as there was before.  If I run into it again I will post.


Is this contradictory advice?

The example for Node.js/npm cache uses npm ci, then a tip underneath says "Because npm ci deletes the node_modules folder to ensure that a consistent, repeatable set of modules is used, you should avoid caching node_modules when calling npm ci." I may be misunderstanding, but if this is a contradiction, perhaps the code should reflect the best practice.

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

ID: 77c20289-dab2-7a6e-4f63-4b30eaff2c71
Version Independent ID: d75cc196-90c1-8291-9907-ff405bde4edf
Content: Pipeline caching - Azure Pipelines
Content Source: docs/pipelines/release/caching.md
Product: devops
Technology: devops-cicd-release
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

Hi Jeremy, this has been answered already:
https://github.com/MicrosoftDocs/vsts-docs/issues/5572
but I have to say I was lost there also :)

@EvtK Thank you for your answer
@jeremydeal Thank you for your feedback. Here is a very good explanation from one of our program managers:

The example shows best practice: cache the global NPM cache folder -- $(npm_config_cache) -- and use npm ci to install packages. npm ci will create and populate node_modules based on packages found in the global cache (i.e. the folder possibly restored from the cache) and/or packages downloaded from npmjs.
The "tip" points out that because npm ci deletes node_modules, it wouldn't make sense to cache node_modules and also use npm ci since any cache restored into node_modules will be immediately deleted when npm ci runs.


Sandbox data can be stolen by third-party frames

The sandbox iframe can be navigated to an attacker-controlled URL by another, malicious frame. If the sandbox is sent any user data, it can be captured this way.
PoC: https://jsfiddle.net/urv6tx44/2/

Thanks for the point!
The sandbox itself seems to remain secure, i.e. the "untrusted code" (in this case, entered by a user into the console) still cannot affect the main application and reach its data. Right?
Securing the messaging between application and plugin has never been the point of Jailed, though you are right that this concern is a good thing to improve.

From the developer's perspective, the issue is that it is not safe to pass
user data to the sandbox because it may be intercepted by a third party.
Suppose the application evaluates some JS and that data contains
information about the currently logged in user. This vulnerability would
allow an attacker to capture that information, hence creating a info leak
vulnerability in that application.
It's not as serious as full sandbox bypass, but still serious.
On Jun 26, 2017 5:04 PM, "asvd"<EMAIL_ADDRESS>wrote:

Thanks for the point!
The sandbox itself seems to remain secure, i.e. the "untrusted code" (in
this case, entered by a user into the console) still cannot affect the main
application and reach its data. Right?
Securing the messaging between application and plugin has never been the
point of Jailed, though you are right that this concern is a good thing to
improve.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/asvd/jailed/issues/43#issuecomment-311215168, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlEfn22FgDI1UowImZcKqnoJ4ILoib1ks5sIEcmgaJpZM4OF9y1
.

Sure, you are right. Therefore the issue remains open until fixed.

@adob @asvd Can you elaborate on the exact vulnerability here?
Is this attack only possible if the jailed page is run from within another malicious iframe?  Would a X-Frame-Options: SAMEORIGIN header prevent this?

The vulnerability would be information disclosure. If you use this sandbox
on your site and send non-public data to it, you would have a information
disclosure vulnerability on your site because the data could be captured by
a third party.
The X-Frame-Options setting is not sufficient. The attacker can use
window.open() to open the page in new window, thereby bypassing the framing
restriction. The attacker might need the user to click something on their
page to bypass the pop-up blocker, so that is an added roadblock but not a
big one.
On Aug 10, 2017 8:34 AM, "Justin Tyler Wiley"<EMAIL_ADDRESS>wrote:

@adob https://github.com/adob @asvd https://github.com/asvd Can you
elaborate on the exact vulnerability here?
Is this attack only possible if the jailed page is run from within another
malicious iframe? Would a X-Frame-Options: SAMEORIGIN header prevent this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/asvd/jailed/issues/43#issuecomment-321587888, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlEftGf7uKEW_HAK-OqeWvzgI0T7Gsvks5sWyLtgaJpZM4OF9y1
.

Would not the correct use of CSP solve the presented problem?

@adob I tried your sample and it works. Can you explain why it is working? I am wondering why it is possible at all that a "bad" parent frame can manipulate the content of child frame coming from a different origin. Is that because of the Access-Control-Allow-Origin: * header on the iFrame's content?

I'm not sure, but I think @spielzeugland's guess above is correct, that the only reason this exploit works is that the access-control-allow-origin header is set to * on both the jailed demo page main html document, as well as the frame within that demo page.
Screenshot of the header for demo page itself:

Screenshot of the header for the frame within that demo page:

Thus, I believe this exploit is not usable in the wild, since normal websites do not have the  access-control-allow-origin header set to *.
(Though correct me if I'm wrong, of course.)


TOML configuration file

add env variable to control tradeplan/minder configuration file location

to be released in 0.0.55

released


CI Infra Docs

PR adds Infrastructure documentation including info on gpuCI .
This PR may be reformatted as there is an ongoing effort to reorganize the Docs in https://github.com/dask/dask/pull/7984
cc @jrbourbeau

Thanks for the feedback @jrbourbeau -- I'll update with another commit shortly addressing the rest of your thoughts

@jrbourbeau do you have preferences in showing the gputester message ?

Said this here, but it might be nice to have a condensed version of this (particularly the comment system) in a PR template on both repos; okay with handling that in follow up PRs depending on what direction we go with gpuCI

If you don't mind, I'd prefer to hold off on merging this until https://github.com/dask/distributed/issues/5154 is resolved

@jrbourbeau do you have preferences in showing the gputester message ?

Neat, I personally like the image version. Do you have a preference?

Said this here, but it might be nice to have a condensed version of this info (particularly how the comments work) in a PR template on both repos;

I'd prefer to point to our developer guide instead. That will minimize the number of places we need to update when something related to our development process changes.

If you don't mind, I'd prefer to hold off on merging this until dask/distributed#5154 is resolved

Yup, no rush.   I think I like the image better

I have a preference, can the bot message be: "Can one of the admins verify this patch for GPU testing?"
If we don't include "for GPU testing" then new contributors are likely to still get confused. I don't think it's enough to expect people to look at the bot name and put two and two together, that's too subtle.
Thanks for doing all of this @quasiben

I have a preference, can the bot message be: "Can one of the admins verify this patch for GPU testing?"

I'm +1 on this change as well and I'll ask OPs about our options

Thanks for doing all of this @quasiben

Thanks should go to @charlesbluca and @raydouglass for connecting all of this up

Was there anything else needed here?

Was there anything else needed here?

@jrbourbeau suggested we wait for a resolution on dask/distributed#5154 before merging this; that being said, I'm not sure how long the current solution (ops changing the bot message) will take, so I'm in favor of merging this now and then updating the docs later on as gpuCI changes.

Thanks all! 😄


Always on top border trailing(lagging) behind window

Microsoft PowerToys version
v0.60.0
Running as admin

[X] Yes

Area(s) with issue?
Always on Top
Steps to reproduce
Activate always on top on a window.
This problem didn't occur on older versions of powertoys.
✔ Expected Behavior
The border should move with the window.
❌ Actual Behavior
The border trails(lags) behind the window.
Other Software
No response

Issue solved after reinstalling.


Patch out include files for external libraries

Description
This is an alternative approach to #3341 or https://github.com/SFML/SFML/compare/master...exclude_from_all
Disabled header installing for freetype and patched it our for FLAC, Vorbis and Ogg.
This still install pkgconfig files, should we remove those as well?
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
Build the install target and check that no unwanted third-party files is being installs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 57.03%

Totals

Change from base Build<PHONE_NUMBER>2:
0.01%

Covered Lines:
12059

Relevant Lines:
19988

💛  - Coveralls


Update adopter registration

This PR adds the missing fields which we capture in the database, but do not publish to the server.
This requires iterating over all defined orgs, which isn't actually implemented yet so instead we populate the fields with garbage.  Hopefully I get this done prior to 9.7/10.0, but if not I want this filed and ready to merge in at the last second :)
Your pull request should…

[x] have a concise title
[ ] ~close an accompanying issue if one exists~
[x] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

So, this now works and does all the things, but may require a new ToU agreement.  I'll mark this as on-hold pending new ToU copy.


Stack Creation Errors

Hello Again,
Getting some additional stack creation errors, any thoughts? Not sure if related to security group again or not, do you have any general guidance on the minimal entries needed within the security group?

CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [dc9341b8-fcd6-4bda-808c-78c1e243c51e]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version.

-The following resource(s) failed to create: [GetAWSServiceRoleForEC2Spot, Container, GetAWSServiceRoleForEC2SpotFleet]. Rollback requested by user.
Thank You

FYI: I've seen this issue too when specifying existing security group, VPC and subnet.  Today I ran the cloudformation stack (link in readme) without specifying security group, VPC and subnet, (and setting multiple-AZ to N) and did NOT get that error.

Thanks for the confirmation. I don't want to have a whole new VPC setup. Just curious if your willing would you be able to provide me the security rules it generated?

Thanks Brian!

Hi @scorpiontx-awhelan the security group that was created is the default SG for the also created VPC.  The inbound rules for the SG reference itself. So if the security group id is sg-123456 the one in-bound rule is Security Group Rule ID=sgr-xxxxxx, Type=All traffic, Protocol=All, Port Range=All, Source=sg-123456.  Note that the source references itself.   The outbound rule is wide open as shown below:

Wondering if anyone has found a solution to this issue? I am unable in my account to create a new VPC, but am getting the error at the top, which I am not sure how to troubleshoot.

My bring-your-own VPC error has been resolved in the latest version.

great news!

Only issue is that I don't have a launch template created. Is there recommended launch template or AMI for these compute environments?


persist data to async local storage

*: upgrde to newest react-query
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
App.tsx: use an asyc storage persister for queries
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
network: prefetch problem icons
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
network: dedupe center icon fetches
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
network: prefetch thumbnails and originals for images
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
weather: render the loading and error states within the tab
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
Fixes #1
/assign @floatplane

Two remaining issues:

for whatever reason our images served from local storage don't load when in airplane mode / offline
even if you wait for all the image prefetching to finish, it's not 100% that the media carousels work ... why?

OK! This is ready :)


hide lsp processing massage

iam using this config and working great. but unfortunately when using in termux (Android) Lsp processing massage (bottom right corner) quite annoying and covers the code.
I wish there was a way or option to hide the message.

I know this is more of a question than a feature request. but I think it's quite important. because I code more often on a smartphone than on a PC

The progress hint is from fidget.nvim, you can remove it to disable the feature: https://github.com/jdhao/nvim-config/blob/master/lua/plugins.lua#L485


[Bug]: The key value is already in use. Please enter a different one.

OData Version
OData V2
Draft
Yes
Scenario
Fiori Elements
Environment
BAS
UI5 Spreadsheet Component
cc.spreadsheetimporter.v0_32_0
What happened?
I am using this component to upload my data which is in a spreadsheet from my presentation server. According to the logic required, when I upload the data, I validate it in the backend RAP Application. On receiving error in the backend for the first time, the spreadsheet component is giving the correct error. When I correct the data in the spreadsheet and try to re-upload the excel spreadsheet through the component, it throws the error: "The key value is already in use. Please enter a different one."
Request your urgent help on this issue.
     Regarding Request your urgent help on this issue., as this is an open-source project, immediate support can be challenging to provide. However, I do offer paid consulting services for urgent assistance. If interested, please contact me directly to discuss rates and details.
Meanwhile, please ensure your issue report includes all necessary information to facilitate quicker community support.
Are you using a on-premise system and with which version?

@marianfoo I also wanted to create an issue concerning this topic. When an OData request fails because of an exception in the backend (RAP validation, BUSI_EXCEPTION etc) the changes are still pending in the model. Maybe you could add something like this somewhere (should work for both v2 and v4)?
if (oModel.hasPendingChanges()) {
    oModel.resetChanges();
}

I guess in this case it leads to all the entities being uploaded twice (the old pending changes and the re-up) thus generating the non unique key error.

I guess in this case it leads to all the entities being uploaded twice (the old pending changes and the re-up) thus generating the non unique key error.

I also suspect that it has something to do with that.
I have a lot to do at the moment so I don't know when I'll get around to it.

@sindhumogare @marianfoo quick workaround cold be adding a handler for requestCompleted (see https://docs.spreadsheet-importer.com/pages/Events/#event-when-the-request-is-completed) where one could do
const oModel = this.getView().getModel();
if (oModel.hasPendingChanges()) {
    oModel.resetChanges();
}

Hi @sindhumogare and @MARCxGAMBIT
sorry for the long wait.
Can you please check if this would fix it in #525 :
https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/blob/764dcced0e16503331eb60c9bd523d6bf0876291/packages/ui5-cc-spreadsheetimporter/src/controller/odata/OData.ts#L77-L88

fix was release with version 0.33.3, please check if that helped


Migration migrate, rollback and create problems

Nowadays trying Migration after @lonnieezell major refactor (08-11-2019, 10:22 PM).
Find out these problems: FYI @MGatner

If will be error (such as Duplicate column name 'id') after call php spark migrate will be created tables and migration table stays empty.
Because of the bug above when want to rollback there'll be no changes.
Refresh command also not working in this situation. Should drop tables manually and then run migrate again

The old migrations table isn’t compatible and will definitely need to be dropped. The current revision has some implementation issues with the batches so there’s another version coming soon - I don’t recommend dedicating any efforts to the current state. If you need to use migrations in the meantime revert to beta.4.

New migration logic is in place. Please update to the latest develop branch and try it again!

https://github.com/codeigniter4/CodeIgniter4/pull/2137

This weekend i will give it a shot, thanks

You are so right. Fix incoming.


[FLINK-22168][table] Fix several shortcomings that prevent schema expressions

What is the purpose of the change
This fixes a couple of critical bugs in the stack that prevented Table API expressions to be used for schema declaration. Due to time constraints, this PR could not make it into the 1.13 release but should be added to the next bugfix release for a smoother user experience. For testing and consistency, it exposes the Table API expression sourceWatermark() in Java, Scala, and Python API.
Brief change log
Updates at various locations that used TableSchema before.
Verifying this change
This change added tests and can be verified as follows: DataStreamJavaITCase.testFromAndToChangelogStreamEventTime
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@Airblader thanks for the review, unfortunately I found another bug that I fixed. Could you take another look? The PR should be in a good shape now. I also cleaned up some of the tests on the way.


Transactions Revert

I am simulating transaction that always rever on my revm code.
I am using the same code that is in the example of "uniswap_v2_usdc_swap.rs"
I am chaging the calle, to, data, value.
The transaction always revert. But If i execute the same with froundry the transaction execute succefully.
And of course the transaction is in the blockchain
Tx_hash : 0x8dbbd44fe68eaa387425a402b0f91f0fa93e752f240eb71d883e97db08b340b5

Chatted in tg group, this is not related to Revm.
Would assume previous tx are not executed as it works with cast