Remove the etcd discovery mechanism

I have a question regarding the lack of etcd proxies now. Since etcd won't be running on all masters/workers, there are certain places that will try to access etcd:
https://github.com/kubic-project/salt/blob/a206d026b77c36c1e96f299cd0d1b99db7d4eb94/salt/kube-apiserver/apiserver.jinja#L19
What happens if on this master if etcd is not really running on that machine? (e.g. I have a cluster with 4 masters, so we have 3 instances of etcd running, is the apiserver on the 4th master going to work, since there's no etcd instance running on that machine?)

The deployment worked, but the update failed (I am only testing the update logic, not real package updates). So, doing on a bootstrapped cluster:
caasp-admin:~ # docker exec -it $(docker ps | grep salt-master | awk '{print $1}') salt -G 'roles:kube-*' grains.setval tx_update_reboot_needed true

caasp-admin:~ # docker exec -it $(docker ps | grep salt-master | awk '{print $1}') salt-run state.orchestrate orch.update -l debug | tee update-orch.txt

Fails with:
              ID: etcd
        Function: caasp_service.running_stable
          Result: False
         Comment: Service etcd is dead after 300 total retries. Expected 50 success in a row, got 0 as maximum
         Started: 14:45:44.373050
        Duration: 34199.95 ms
         Changes:
    ----------
              ID: etcd
        Function: caasp_cmd.run
            Name: etcdctl --key-file /etc/pki/minion.key \
            --cert-file /etc/pki/minion.crt \
            --ca-file /etc/pki/trust/anchors/SUSE_CaaSP_CA.crt \
            --endpoints https://caasp-master-1:2379 \
            cluster-health | grep "cluster is healthy"

          Result: False
         Comment: One or more requisite failed: etcd.etcd
         Changes:

I'm seeing on that machine this on the etcd logs:
Feb 07 14:45:46 caasp-master-1 systemd[1]: Starting Etcd Server...
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_ADVERTISE_CLIENT_URLS=https://caasp-master-1:2379
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_CA_FILE=/etc/pki/trust/anchors/SUSE_CaaSP_CA.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_CERT_FILE=/etc/pki/minion.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_CLIENT_CERT_AUTH=true
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=https://caasp-master-1:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_INITIAL_CLUSTER=b489aa2307d24b4fbf2964d637481a1c=https://caasp-master-0:2380,39b2d35d00194eecbaa6e00502217266=https://caasp-master-1:2380,16c086b52da64f1db11c6681702bbfe9=https://caasp-master-2:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_INITIAL_CLUSTER_TOKEN=k8s
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_KEY_FILE=/etc/pki/minion.key
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_LISTEN_PEER_URLS=https://<IP_ADDRESS>:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_LOG_PACKAGE_LEVELS=etcdserver=WARNING,etcdmain=WARNING
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_PEER_CA_FILE=/etc/pki/trust/anchors/SUSE_CaaSP_CA.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_PEER_CERT_FILE=/etc/pki/minion.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_PEER_CLIENT_CERT_AUTH=true
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_PEER_KEY_FILE=/etc/pki/minion.key
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_PEER_TRUSTED_CA_FILE=/etc/pki/trust/anchors/SUSE_CaaSP_CA.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized and used environment variable ETCD_TRUSTED_CA_FILE=/etc/pki/trust/anchors/SUSE_CaaSP_CA.crt
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized environment variable ETCD_NAME, but unused: shadowed by corresponding flag
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized environment variable ETCD_DATA_DIR, but unused: shadowed by corresponding flag
Feb 07 14:45:46 caasp-master-1 etcd[2724]: recognized environment variable ETCD_LISTEN_CLIENT_URLS, but unused: shadowed by corresponding flag
Feb 07 14:45:46 caasp-master-1 etcd[2724]: peerTLS: cert = /etc/pki/minion.crt, key = /etc/pki/minion.key, ca = /etc/pki/trust/anchors/SUSE_CaaSP_CA.crt, trusted-ca = /etc/pki/trust/anchors/SUSE_CaaSP_CA.crt, client-cert-auth = true
Feb 07 14:45:46 caasp-master-1 etcd[2724]: listening for peers on https://<IP_ADDRESS>:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: listening for client requests on <IP_ADDRESS>:2379
Feb 07 14:45:46 caasp-master-1 etcd[2724]: resolving caasp-master-1:2380 to <IP_ADDRESS>:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: resolving caasp-master-1:2380 to <IP_ADDRESS>:2380
Feb 07 14:45:46 caasp-master-1 etcd[2724]: member f2e4f90d940a1e00 has already been bootstrapped
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Main process exited, code=exited, status=1/FAILURE
Feb 07 14:45:46 caasp-master-1 systemd[1]: Failed to start Etcd Server.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Unit entered failed state.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Failed with result 'exit-code'.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Service hold-off time over, scheduling restart.
Feb 07 14:45:46 caasp-master-1 systemd[1]: Stopped Etcd Server.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Start request repeated too quickly.
Feb 07 14:45:46 caasp-master-1 systemd[1]: Failed to start Etcd Server.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Unit entered failed state.
Feb 07 14:45:46 caasp-master-1 systemd[1]: etcd.service: Failed with result 'start-limit'.

I have a question regarding the lack of etcd proxies now. Since etcd won't be running on all masters/workers, there are certain places that will try to access etcd:

Good catch, I completely forgot about this. Fixing now...

@inercia please give it a try to the update issues, just to confirm if you can also reproduce, the updates should work fine in order for the patch to get accepted.

Feb 07 14:45:46 caasp-master-1 etcd[2724]: member f2e4f90d940a1e00 has already been bootstrapped

This seems to happen when etcd is restarted and the data-dir was removed. I'm investigating why this could have happened...


Any plans to add relay support?

This project has literally saved us as we push towards 5M metrics per minute. Just curious if you plan to add relay support. We use haproxy today and we can split the data among multiple go-carbon instances but we'd like to send a full copy of the data to another location.
Thanks for releasing this.
Gary

Sorry for intruding but if Author of go-carbon has no plans to implement
such functionality you can use carbon-c-relay or carbon-ng-relay (just
google or search GitHub for links)
Both of them are quite fast and compatible with go-Carbon or normal carbon
daemons.
On Fri 14 Aug 2015 at 00:50 Gary<EMAIL_ADDRESS>wrote:

This project has literally saved us as we push towards 5M metrics per
minute. Just curious if you plan to add relay support. We use haproxy today
and we can split the data among multiple go-carbon instances but we'd like
to send a full copy of the data to another location.
Thanks for releasing this.
Gary
—
Reply to this email directly or view it on GitHub
https://github.com/lomik/go-carbon/issues/13.

I'll probably realize relay. But certainly not in the near future

Sorry, relay not planned in this project. Maybe someday in a separate project


when I breakdown the furnace, it just gives cobbled deepslate and not for cobblestone

Reporter: SapFireLynx (Report)

Furnace can be crafted from any combination of cobblestone and cobbled deepslate. It is impossible to know what was used to craft it. A default must be set and this might be cobblestone instead of cobbled deepslate but it is not atm.

support item tags


CUDA isn't available

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
====================
my machine is NOT a CPU-only machine.
here is terminal output
`>>> import torch

torch.cuda.is_available()
True

`

also, could you give a concrete example for run_infer.py ?

You have to resolved the above error yourselves as it is more related to pytorch. Strictly speaking, [cuda not detected] can happen due to wrong runtime environment, especially when the IDEs (pycharm, visual code, etc.) involve. This can make your terminal using different environment compared to the one used by IDEs.
As for the how to use run_infer.py, we have already provided sample scripts.
https://github.com/vqdang/hover_net/blob/master/run_tile.sh
https://github.com/vqdang/hover_net/blob/master/run_wsi.sh


Explain the available configuration settings in the Readme page

Also comment the configuration classes the the interface methods

Actually the relevant methods and properties have been commented in code


Storybook examples

Added "Catalogue Demo" to each demo with more then one component. This demo includes a sidebar with switches for each single demo within the stories of the respective component.


Modified tangobot to publish laser_scan msg

Enabled tangobot app to publish LaserScan data on laser_scan topic, as requested by @adamantivm. /cc @basicNew to check this pull request.

@FlorGrosso if the behavior is not the expected (i.e. the robot doesn't recognize obstacles properly / sees the floor as an obstacle) try adjusting the parameters for min_obstacle_height and max_obstacle_height -see http://wiki.ros.org/costmap_2d/hydro/obstacles-. And check that the frame translation for the laser link shown in RVIZ and in the real robot match properly (that should be approximately OK).


Improved selection

Use Qt builtin methods for spider selection and movement
Add selection using rectangular drag
Support moving all selected spiders at once

By the way, I think I can just add you to the project @mark-koch, so that you don't have to make PRs all the time, or so that you can at least approve them yourself.

That would be nice, thanks!


Feature - external plugin support (i.e. kubernetes)

Description
Merge Feature - external plugin support (i.e. kubernetes)
Motivation and Context
Allows an external orchestrator or service to respond to Gateway calls.
How Has This Been Tested?
Tested with FaaS-netes and FaaS on Swarm.
https://github.com/alexellis/faas-netes
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[ ] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I ran through another full test this morning including auto-scaling, merging to create 0.6.0 release.


test(pie-docs): added axe tests to pie-docs and axe testing to pie repo

Added

@axe-core/webdriverio & axe-reports packages to root for accessibility testing.
Added test:a11y & test:a11y:ci scripts to root to run accessibility testing locally and on CI.
Added Axe tests to pie-docs.

Excellent work @JoshuaNg2332


cdp_datalake_version is incorrectly scoped to Platform in Runtime

https://github.com/cloudera-labs/cloudera.exe/blob/a0ed003894b30facf502a079968eed56b457cbde/roles/runtime/tasks/initialize_base.yml#L33
Should be run_cdp_datalake_version, and therefore settable by the user to override the default and pin the runtime version

Investigation shows this is deliberate as the version is derived from the deployment check in plat and consumed in run


Audio is not recorded if device is locked on Android 14

How to reproduce

Start recording
Lock screen (in my case Pixel 7 with Android 14)
Unlock screen

After these actions recorded data has empty samples during screen is locked
How to solve
Based on sources which I read
Useful sources

https://gist.github.com/Venryx/e1f772b4c05b2da08e118ccd5cc162ff (I am not sure that this works)
https://developer.android.com/develop/background-work/services/foreground-services
https://github.com/twilio/audioswitch/issues/158
https://stackoverflow.com/questions/74774636/samsung-phone-will-not-allow-audio-recording-at-lock-screen

So as I understand new api requires Foreground Service with persistent notification. It would be nice if this library supports background recording on new android

Met the same problem.
Please, this would be nice to have it supported

@tchvu3 @BjoernRave Please resolve it. Seems like this extension can solve the problem https://gist.github.com/Venryx/e1f772b4c05b2da08e118ccd5cc162ff
I can pay for it

As temporary solution you can try use this one: https://www.npmjs.com/package/capacitor-voice-recorder . I have created fix and published for myself

@xitronix thanks, I've found a good solution, it works perfectly with this plugin https://capawesome.io/plugins/android-foreground-service/ , but there is poor notification design customization API


pod & node affinity, unify configuration options & add samples to documentation

Currently node and pod affinity configuration is way different in style and options available. Also the documentation is lacking samples, so it's quite hard to figure out the syntax needed (especially when using Helm and --set)
The pod affinity settings are way more flexible currently, so it's possible to set the operator as well as defining multiple values (by using comma separation).
So extending the current node affinity configuration options by the ones pod affinity already supports would be a great benefit and a more uniform way of setting these options.
Also extending the documentation would greatly improve the usability.
I can volunteer if it's just unifying the two approaches, but would have to leave it to more capable hands if a more sophisticated approach is preferred .

@peter-fe please elaborate what you are thinking with some examples perhaps?
I agree with making it consistent and easier to configure in general.
cc @morvencao

@linsun sorry for the late reply, was quite busy.
Currently if you compare the nod affinity option you can set via Helm with the option for anti affinity, they are quite different.
{{- define "nodeAffinityRequiredDuringScheduling" }}
      nodeSelectorTerms:
      - matchExpressions:
        - key: beta.kubernetes.io/arch
          operator: In
          values:
        {{- range $key, $val := .Values.global.arch }}
          {{- if gt ($val | int) 0 }}
          - {{ $key }}
          {{- end }}
        {{- end }}
        {{- $nodeSelector := default .Values.global.defaultNodeSelector .Values.nodeSelector -}}
        {{- range $key, $val := $nodeSelector }}
        - key: {{ $key }}
          operator: In
          values:
          - {{ $val }}
        {{- end }}
{{- end }}

As you can see the operator is fixed and it is only possible to set one $val, so in case you like to enable multiple pools where Istio is allowed to spin up that's not possible.
The anti affinity part is more flexible in that regard.
{{- define "podAntiAffinityPreferredDuringScheduling" }}
    {{- range $index, $item := .Values.podAntiAffinityTermLabelSelector }}
    - podAffinityTerm:
        labelSelector:
          matchExpressions:
          - key: {{ $item.key }}
            operator: {{ $item.operator }}
            {{- if $item.values }}
            values:
            {{- $vals := split "," $item.values }}
            {{- range $i, $v := $vals }}
            - {{ $v }}
            {{- end }}
            {{- end }}
        topologyKey: {{ $item.topologyKey }}
    {{- end }}
{{- end }}

Here all options can be set via configuration, though I'm not 100% convinced that delimiter splitting is appropriate for that, maybe going into list would better conform Helm, so providing values as {val1, val2, val3} (at least for Helm --set) would make more sense.
Regarding the documentation, it's quite limited there is only {} as a sample value, here a more explicit sample would make more sense.
When thinking of unifying and making more config options available a more explicit value.yaml config would be possible, maybe with all options set, just without the value, so it is ignored during execution as long as no value property is set.
current values.yaml
# Common settings used among istio subcharts.
global:

  # Default node selector to be applied to all deployments so that all pods can be
  # constrained to run a particular nodes. Each component can overwrite these default
  # values by adding its node selector block in the relevant section below and setting
  # the desired values.
  defaultNodeSelector: {}

could maybe better expressed like this (dummy config)
# Common settings used among istio subcharts.
global:

  # Default node selector to be applied to all deployments so that all pods can be
  # constrained to run a particular nodes. Each component can overwrite these default
  # values by adding its node selector block in the relevant section below and setting
  # the desired values.
  defaultNodeSelector:
  - key: sampleKey
    operator: In
    values:
      node-pool1
      node-pool2

or as sample without value, so it doesn't get processed but can stay as reference in the values
# Common settings used among istio subcharts.
global:

  # Default node selector to be applied to all deployments so that all pods can be
  # constrained to run a particular nodes. Each component can overwrite these default
  # values by adding its node selector block in the relevant section below and setting
  # the desired values.
  defaultNodeSelector:
  - key: sampleKey
    operator: In
    values:

@peter-fe Thanks for the feedback and detailed description.
As you know, the helm templates become less readable and harder to maintain, as the number of helm parameters grows. Besides, helm doesn't support overlays, we're working to introduce the kustomize style overlays plus helm template and operator to address these kinds of issues.

I agree that the current way to configure the pod anti affinity is very confusing. I was expecting to be able to specify anti affinity config exactly as per the Kubernetes API, as is the case in other helm charts.
The example in the values.yaml is a little sparse and confusing; I had to actually look through the helm template files to figure out what I was supposed to pass in. The comma separated list thing in particular is weird when YAML has support for lists.
IMO Istio should either allow the user to specify entire WeighetPodAffinityTerm objects, or be more restrictive and only allow specifying topologyKey for anti affinity rules for example (this would not require the user to set the labels of the Istio pods to match on manually).

@aaron-trout In the following release, we will introduce the kustomize overlay style tool for this low level configuration and it will provide flexibility, also make the current values file make it more readable.


Project should be using Vagrant Ansible Citadel

The provision step should eventually be replaced with an ansible-citadel box. However, since that project doesn’t currently provide trusty64 (ubuntu 14.04) I need to file an issue to come back and update later.

Fixed by PR #7


te.insert

Hi, I'm new to the tool.
im trying to use as per the README.md
I found that te.insert is not working. BMV2 table is not receiving the table entry.
Whereas te.insert() is correctly calling out the function.
Thank you.

If you are using the ipython-based shell, then we set the "autocall" property to ensure that functions can be called without parentheses: https://github.com/p4lang/p4runtime-shell/blob/8869f64f4e9215098919db129127791e249c4d3a/p4runtime_sh/shell.py#L3005
If you are using this project as a library in scripts (https://github.com/p4lang/p4runtime-shell?tab=readme-ov-file#using-p4runtime-shell-in-scripts), then there is no such thing as "autocall" and you need the parentheses.
Assuming you are using the ipython-based shell, then you may want to validate that autocall has been set properly:
c = get_config()
c.InteractiveShell.autocall

If you are interested in examples of using p4runtime-shell from a Python program (not interactively), there are several examples in my p4-guide repository, including these:

https://github.com/jafingerhut/p4-guide/blob/master/demo1/README-ptf.md
This one uses Python interactively with p4runtime-shell, but not ipython, so the syntax is exactly the same as if you wrote a Python program, saved it, and ran it: https://github.com/jafingerhut/p4-guide/blob/master/demo1/README-p4runtime.md
https://github.com/jafingerhut/p4-guide/tree/master/ptf-tests/registeraccess
all of the other subdirectories of ptf-tests, too: https://github.com/jafingerhut/p4-guide/tree/master/ptf-tests


fact(github): validate push events

By making steps conditional to event type, we can now run commit validation
on push and pull_request events.

Indeed not a good idea


jake lint isn't linting everything

jake lint and gulp lint don't seem to be catching all (any?) lint errors.
The following command will work:
node_modules/tslint/bin/tslint 'src/**/*.ts' --exclude 'src/lib/*.generated.d.ts' --exclude 'src/harness/unittests/services/formatting/**/*.ts' --exclude 'src/harness/unittests/services/formatting/*.ts' --format stylish

Why don't we just use that? Tslint is fast enough now that we don't really need a parallelized linter.

works for me.


Responses WithSuccess and WithNotFound

For issue  #1

damnit... seems very strange

@Archieru
These two helper methods are present in https://github.com/WireMock-Net/WireMock.Net


Duplication of required properties in OctopusDeploySettings

Created as a result of changes in #990
Since the OctoPush alias takes the server and apiKey in the parameter, this effectively replaces/duplicates the same properties in the OctopusDeploySettings class.
However, the options in this calls are currently used by the OctoCreateRelease aliases. Therefore, to make required properties clearer to the user, we should deprecate/obsolete the existing alias in favour of a new one that takes required properties directly. Finally, these properties can be removed from the OctopusDeploySettings class.
Happy to take corrections or suggestions on the above approach.

@gep13 this sound about right to you?

@agc93 sorry for late reply, just catching up on emails after being on holiday.
Yes, this sounds perfect, thanks for getting this added!

@agc93 just checking what's the status of this issue?


Posibility to use hdl4fpga on ULX3S board

It would be so great if we could run hdl4fpga on ULX3S board!
https://hackaday.io/project/159108-ulx3s-powerful-ecp5-board-for-open-source-fpga

Working on it. Contact me at https://discord.gg/qMBGW6A on discord

Great!
Thank you!
I am at work will contact you when I get home...


Remove unnecessary loop.

This loop is checking the same file without modifying the file between checks. If it fails the first time, it just delays exiting for an extra 100 or so seconds.

That is a super weird bit of code... (before your change, I mean)
Was the intention that it actually re-get the file before each check? Would that make more sense than this fix?

I ended up writing it this way because the minions file (in general) grows. For a large cluster as the minions come up they get added to this file. The loop does re-check the file with the grep command.

But this check is now done earlier, so this loop is not needed anymore at this point.

Ah, thanks for explanation!


version update and fixes

fix for issue #4

multiple changes:

moved sw version reference in "0-update.sh" to "define_download_version_env"
auto populate "software_filenames.env" using "download_pivotal.sh" and "download_vmware.sh"
fixed typo's in
added .env presence check in
-- 1-upload_ova.sh
-- 2-upload_product.sh
-- nsx-t/1-install_nsx.sh

additions:

added example env for onecloud
added example env for pks-ninja

thks


Required Weekly Test

What is your username and discriminator?
This is a test.
Why did you join Discord Linux?
This is only a test.
Where did you hear about Discord Linux?
For the next 30 seconds, this station will be conducting a test.
What is the passphrase that was assigned to you by the bot?
What is the formula for finding the circumference of a circle?

Test comment o.O

Testing

Things

From simonizor#0420 :
test


Make Aarch64 not a legacy platform

This allows for MKL convolution primitives to always be cached on Aarch64.

@annop-w Could you please help a take a look at the Arm CI failure? Here is the log (or click here for raw log file).

@penpornk Thanks for pointing that out. I'm investigating.

@penpornk I have been trying to reproduce the failure locally, but without success so far. Could we try running the CI pipeline once more ?

@annop-w Sure! I've triggered another run. You can see the job here.

The ARM CI pipeline failed even before running the tests https://github.com/tensorflow/tensorflow/actions/runs/3988056012/jobs/6839402805#step:5:16929

@annop-w That's weird. I just triggered another rerun.

@penpornk Looks like the pipeline is broken. All red for other PRs with the same error.

@annop-w Sorry about that. I'm checking with @elfringham on the pipeline.

Pipeline fix in https://github.com/tensorflow/tensorflow/pull/59430

@annop-w The ARM CI got 23 test failures. The job before it only had 7 tests failed so I think the rest is specific to this PR.

@penpornk Yes, I am able to reproduce the failures now. There is probably a bug on the oneDNN side, which got revealed after the MklConvBwdInputPrimitive is cached. I am still investigating. Thanks for pointing out.


This extension write files.exclusion in User, rather than Workspace setting

This plugin is amazing, this is what I looking for.
I want to give a suggestion to improve this plugin:
because people may have multiple machines, so they want vscode settings to be synchronized by default.
User settings is the base settings for many developers, they may configure different Workspace settings for each project.
So I think this extension 'project scopes' should by default write the Workspace settings rather than User settings.
I have read the README which suggested to ignore the settingsSync for files.exclusion.
But still hope we could improve it.

I can use multiroot workspace to work around, but workspace feature is not the same as project-scopes provides.
I prefer project-scopes to split different view for the same project.


[SPARK-37408][PYTHON] Inline type hints for pyspark.ml.image

What changes were proposed in this pull request?

Migration of pyspark.ml.image annotations from stub files to inline type hints.
Why are the changes needed?

As a part of ongoing migration process.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests.

Merged to master.

Thanks @HyukjinKwon!


Translated push notification tutorial step-4 in Korean

Translated push notification tutorial step-4 in Korean

hey @joshua1988 - would you mind starting to work in the next-version branch instead of master? We're moving to a new infrastructure and would love to have your stuff there. I expect it to launch mid to late September.
Instead of having a huge & painful build process, files are generated at request time, and I expect development will be faster and easier. The readme is up to date, but if you run into problems, let me know!

@petele - Gotcha, I will take a look at the readme file and see how it works. Will also let you know if I encounter any problems! Thanks!
P.S : You are talking about this process right?

Awesome. New process make us concentrating translation instead of pulling update stuffs. :+1:

@joshua1989 now we can attach stagin site url for requesting review to other translators. :)

@cwdoh - sounds good to me! I am having a really hard time to prepare the working set for the next branch that Pete suggested...

If you need any help, just let me know. I'll cross over the road. :)
2016년 8월 30일 (화) 오후 9:05, Josh Jang<EMAIL_ADDRESS>작성:

@cwdoh https://github.com/cwdoh - sounds good to me! I am having a
really hard time to prepare the working set for the next branch that Pete
suggested...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/pull/3280#issuecomment-243417755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBcD2IetWKj51imH82-XfGXRkqAmpC9ks5qlByagaJpZM4JuLXa
.


Suggestion :- If some one has one model with the name country in his app and want to use countries gem .

I I would like to suggest one think which I  face problem on this , If someone has model name country and want to use'countries' gem without changing anything his application.
I think we should also add in document this scenario that in this situation we can access it by writing ISO3166::Country instead of country.

I tend to agree, I think we will start moving the Country, class to be opt-in vs opt-out or simply deprecate it.

@arvindvyas we have change our default behavior to use ISO3166::Country, you now have to opt-in to get the Country class.


Applies to says "Skype for Business Online", but this is Teams meeting policy, hence applies to should say :"Microsoft Teams"

[Enter feedback here]

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

ID: 18b9baa8-da13-a24f-af31-91d63de13f08
Version Independent ID: 6a37be44-d957-2b7a-a563-53332cf59098
Content: Set-CsTeamsMeetingPolicy (skype)
Content Source: skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

Applies to says "Skype for Business Online", but this is Teams meeting policy, hence applies to should say :"Microsoft Teams"

Hello @MSTejas How are you?
Thanks for your feedback, please see here
Thanks

@get-itips  Thank you very much for the contribution and sharing this explanation. @MSTejas Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Chapter cache

Hi @gi0baro, there is an error in the documentation, in the Cache chapter.
from weppy import Cache, RamCache
must be
from weppy.cache import Cache, RamCache
Jose

@josejachuf thank you, will fix this asap


Passing an initialized auth backend?

I'm working on adding in a custom auth backend for me to use with AWS Elastic Container Registry (ECR).
Currently the process for adding a new backend appears to be to create a parameterless descendent of oras.auth.base.AuthBackend and add it the mapping of auth backends.
Seems fine. However ECR credentials are specific to each registry, so ideally we'd prepare the auth client by constructing it with the account already known. However this pattern would require that the registry could be passed an instantiated auth instance. I could also skim the account number out of the request in authenticate_request, but that feels a little backwards.

Can you walk me through the desired interaction you'd like the user to take, and we can think about it?

I'm not sure it matters too much. My current flow is to look at the registry URI and split the desired parts out of the URL and construct the registry client and return it, I cache the resulting registry to avoid requesting new credentials when processing images (I work with a lot of images). In this case, I've implemented the Registry being able to accept a constructed auth_backend instance
class ECRAuth(oras.auth.BasicAuth):
    def __init__(self, account: str):
        self.account = account
        super().__init__()
        self.update_auth()
...

def __init_ecr_registry(registry: str):
    account, _, _, region, *_ = registry.split(".")
    reg = Registry(auth_backend=ECRAuth(account))
    return reg

Writing this out, it would be nearly indifferent between this method, and siphoning the account out of a request requiring auth. The only differences I can think of is that in this flow, I construct the initial auth and designate the account to the instance. This allows for the auth flow with ECR via tha boto3 client to be performed at instantiation which tends to improve understanding what is going on when this leg of the auth fails.
It further locks the instance to the given account and would prevent the instance from accidentally switching between registries for which the auth was currently valid (if locked it would raise an auth failure) If we silently took the account from the request uri, then it would be possible for the client to attempt to switch the auth to another registry (if it was coded to refresh on a 401, which I wanted to support in this client). Such a call to boto3 might be at additional risk of failing if the caller doesn't have access to that registry (I currently control this when I determine which Registry I want to use from my cache of constructed registries)

Could that not be accomplished with a registry init function that allows for kwargs that are passed to the auth backend?

If I'm following, you're proposing something like
class Registry:
    def __init__(self, ..., auth_backend, auth_kwargs):
        ...
        self.auth = oras.auth.get_auth_backend(
            auth_backend, self.session, **auth_kwargs
        )

yes! That would definitely work - that's even better than what I had in mind to have auth_kwargs as separate from others. I would default to None and then do:
class Registry:
    def __init__(self, ..., auth_backend, auth_kwargs=None):
        ...
        auth_kwargs = auth_kwargs or {}
        self.auth = oras.auth.get_auth_backend(
            auth_backend, self.session, **auth_kwargs
        )

Sounds good, this method would still require that the extension adds its self to the oras.auth.auth_backends map. Are you open to allowing auth_backend being passed as a subclass of oras.auth.base.AuthBackend or a str and having oras.auth.get_auth_backend(...) handle the two?

Do you mean passing the auth backend directly instead of calling get_auth_backend? Yes that would be OK - likely we can have:

auth_backend (the instance, defaults to None)
auth_backend_name (the current auth_backend, string name that calls get_auth_backend.
A check that after those two, we have self.auth defined.


vmware: support vsphere 8 specific version

Description
Add support for specific/available version <IP_ADDRESS> (8.0a). Without this, most of the lifecycle works except for vMotion (VM migration) which complains about missing VMware version hypervisor capabilities.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?
Tested with https://github.com/shapeblue/mbx on Ubuntu 22.04 host using vmware <IP_ADDRESS> template.

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5365

@blueorangutan test centos7 vmware-70u3

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + vmware-70u3) has been kicked to run smoke tests

Testing this on a Ubuntu 22.04 laptop/desktop/server is possible via mbx - https://github.com/shapeblue/mbx

Trillian test result (tid-5947)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46581 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7119-t5947-vmware-70u3.zip
Smoke tests completed. 107 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@DaanHoogland - pl review and advise if we need anything more.

@blueorangutan test keepEnv

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-5982)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 49429 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7119-t5982-kvm-centos7.zip
Smoke tests completed. 106 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_upgrade_kubernetes_ha_cluster
Failure
3651.21
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
0.07
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
71.97
test_kubernetes_clusters.py


Mechanism to make sure state of document isn't changed

In GitLab by @nwalczak on May 29, 2019, 11:52
Parsing happens on the server with a version of the document, then the user can navigate through the results.  If the document changes on the client's side then the results could not align properly.  We should ensure that the document state hasn't changed.

In GitLab by @nwalczak on May 29, 2019, 11:53
closed

In GitLab by @nwalczak on May 29, 2019, 11:53
duplicate of #45


Variable maps aren't working

when you create a variable of type 'map', and you try to use it in a query (add v.varname, and then select which key to substitute in the dropdown on the right), it is substituting the key of the map instead of the value

I have used this before and it was working before. Not really sure when it broke down.

Noticed this when preparing automated tests for variables.
Dashboard>Variable>Map test waiting for this to be merged.


PowerToys Run: Opening Steam takes FOREVER to process whereas opening as admin happens instantly

Microsoft PowerToys version
0.70.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
https://www.youtube.com/shorts/tTQvHNNowPk
Write Steam, press enter
Note: It seems to only happen with Steam from my testing
✔ Expected Behavior
It should open immediately
❌ Actual Behavior
It waits 15 seconds before opening
Other Software
Steam
Bug Report Zip
PowerToysReport_2023-06-20-22-32-44.zip

Not able to repro this, going to close. Let us know if you see this again!

This seemed to be a problem with Steam and not powertoys and they fixed the issue with an update since


Terraform dnslink

Modify DNS zone for private endpoints to use private dns zones in the hub
Link private endpoints to DNS and enable

Fix for https://github.com/Azure/avdaccelerator/issues/214

Thanks @jensheerin for your contribution


Create a terraform module for knative-eventing charm

Context
According to the terraform modules organization spec, this is the first step to provide a terraform solution module. We need to create a terraform module for each charm.
What needs to get done
Create a terraform module for this charm that complies with the spec.
Definition of Done
Charm has a terraform module

Closed by #227 and #228


Startup service failed in Windows10 with golang1.15.

When I called function service.Run() that I found that a channel called sigChan in github/kardianos/service/service_windows.go was blocked without os.Signal writing into channel.
It seems like an error in golang's sdk package os/signal/signal.go?

I'm going to guess that your Start method on your program blocks. The Start method may do quick, error-prone startup tasks, but then it should quickly launch a go-routine to do on-going work. Or start a ticker, or do whatever needs to be done.
So, ensure your Start method doesn't block for more then a second or less.

Thx for your answer.
I'm sure that my program doesn't block. I also trys example/simple/main.go's code, It blocks too  when call service.Run method.
I trace the Run method's stack and find that
`
func (ws *windowsService) Run() error {
ws.setError(nil)
if !interactive {
// Return error messages from start and stop routines
// that get executed in the Execute method.
// Guarded with a mutex as it may run a different thread
// (callback from windows).
runErr := svc.Run(ws.Name, ws)
startStopErr := ws.getError()
if startStopErr != nil {
return startStopErr
}
if runErr != nil {
return runErr
}
return nil
}
err := ws.i.Start(ws)
if err != nil {
return err
}
sigChan := make(chan os.Signal)

signal.Notify(sigChan, os.Interrupt)  // Notify method does not write any signal to sigChan.

<-sigChan  // so program blocks here.

return ws.i.Stop(ws)

}
`
It seems to a bug in package signal in golang1.15?

There are some problems with the typesetting of my issue just now. I edit it several times, sorry about it.

There error is not with Go or this package. The sigChan is running in "interactive" mode (not as a service), so I assume you are running directly in a terminal after building. If you want to show your code, I can take a look.

I have solved this problem that registered service has startup successfully!
At first, I register the service sucessfully when I start it, there's a error ocurred 'The service did not respond in a timely fashion'.
So I want to debug it in goland's debug mod, but I debug in interactive mode so causes

Thx for your answer.
I'm sure that my program doesn't block. I also trys example/simple/main.go's code, It blocks too when call service.Run method.
I trace the Run method's stack and find that
func (ws *windowsService) Run() error {
	ws.setError(nil)
	if !interactive {
		// Return error messages from start and stop routines
		// that get executed in the Execute method.
		// Guarded with a mutex as it may run a different thread
		// (callback from windows).
		runErr := svc.Run(ws.Name, ws)
		startStopErr := ws.getError()
		if startStopErr != nil {
			return startStopErr
		}
		if runErr != nil {
			return runErr
		}
		return nil
	}
	err := ws.i.Start(ws)
	if err != nil {
		return err
	}

	sigChan := make(chan os.Signal)

	signal.Notify(sigChan, os.Interrupt) // Notify method doesn't write any signal to sigChan

	<-sigChan // so sigChan blocks program here

	return ws.i.Stop(ws)
}

It seems to a bug in package signal in golang1.15?

It's a big mistake for me.
I try my program with no block in my Start method again today, it works!
I may overlooked some details last week. Whatever thx for your patient answer!

I have solved this problem that registered service has startup successfully!
At first, I register the service sucessfully when I start it, there's a error ocurred 'The service did not respond in a timely fashion'.
So I want to debug it in goland's debug mod, but I debug in interactive mode so causes

Thx for your answer.
I'm sure that my program doesn't block. I also trys example/simple/main.go's code, It blocks too when call service.Run method.
I trace the Run method's stack and find that
func (ws *windowsService) Run() error {
	ws.setError(nil)
	if !interactive {
		// Return error messages from start and stop routines
		// that get executed in the Execute method.
		// Guarded with a mutex as it may run a different thread
		// (callback from windows).
		runErr := svc.Run(ws.Name, ws)
		startStopErr := ws.getError()
		if startStopErr != nil {
			return startStopErr
		}
		if runErr != nil {
			return runErr
		}
		return nil
	}
	err := ws.i.Start(ws)
	if err != nil {
		return err
	}

	sigChan := make(chan os.Signal)

	signal.Notify(sigChan, os.Interrupt) // Notify method doesn't write any signal to sigChan

	<-sigChan // so sigChan blocks program here

	return ws.i.Stop(ws)
}

It seems to a bug in package signal in golang1.15?

It's a big mistake for me.
I try my program with no block in my Start method again today, it works!
I may overlooked some details last week. Whatever thx for your patient answer!


Set up continuous deployment

Currently Vocabulary is being manually pushed to npm. This can be automated with CircleCI so that it can automatically build and publish the package once all tests pass successfully.
Best way to do this is to use some mechanism on Github Actions to detect when a new tag is pushed and trigger the run the deploy script. It can't be the release name. It has to be able to detect a new tag, because the tag name matches the version on package.json.

Add 'Setting up GitHub Actions' to the list of things to do under this issue.

no

Also adding the need to test code style with lint and also test code accessibility with suitable tooling as suggested in #13.

Continuous deployment to Netlify has been achieved with cea80ed.

Closed accidentally. Continuous/automatic deployment to npm and GitHub Pages remains to be achieved.

Hi @dhruvkb, I would like to work on this issue, but to do it I have to wait until issue#4 is complete?

@bax-uva, this is a very long-term issue which we're hoping to tackle under Outreachy itself because the contribution period is insufficient to complete it. You could actually help contribute to #4 instead.

References creativecommons/vocabulary#121.

Waiting for GitHub Actions to replace CircleCI #205 and then we can use GitHub Actions
on: release

to automatically push new versions to npm whenever a new release is tagged on GitHub.

@dhruvkb Can I work on this now?


GoogleDrive - add option to use created date as modified date

Sorry, I forgot to merge this PR and in the mean time we upgraded the drive API from v2 to v3 which it means it doesn't merge any more.
So, since it is my fault, I've rebased and fixed up this PR manually in 9aa88159904706a8477f7a963b87d4b1cbbe4c8e and it is now merged.
Thank you very much :-)


Need some instructions on how to use this library

Hello:
I have a simple HTML file, running from local web server:
http://localhost/index.html
<title>index</title>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function count1() {
  var counter = 1;
  setInterval(function() {
    $(".single").text(counter++);
  }, 1000);
});
</script>
<script type="text/javascript">
$(document).ready(function count2() {
  var counter = 200;
  setInterval(function() {
    $(".double").text((counter += 2));
  }, 2000);
});
</script>

This setups a HTML file with two JavaScript functions. The first one, count1() shows an increasing number from 1 with step of 1, sleeps one second each time.
The second one, count2(), shows an increasing number from 200 with step of 2, and sleeps two seconds each time.
Both functions generate dynamic text inside different elements, but they are both children from their parent node.
Now I can use Chrome DevTools to run some JavaScript.
I think dom-testing-library is a good JavaScript library, so I want to use it to write some JavaScript to get the dynamic text generated by the 2 JavaScript functions in the above simple HTML file.
However, I don't know how I can use Chrome DevTools to use 3rd party JavaScript library, also, no experience on how to use dom-testing-library to listen to MutationObserver events.
Please provide some instructions on how to use 3rd party JavaScript library and some dom-testing library to catch the dynamic text generated by the JavaScripts from this simple HTML.
Thanks,

Hi @zydjohnHotmail,
I'm not totally sure I understand your use case, but you can include dom-testing-library on your page in a similar way that you include jQuery:
<script<EMAIL_ADDRESS>
Then you can use the global variable DomTestingLibrary.
I hope that's helpful.
If you have further questions, please direct them to spectrum.


Is there a plan similar to spring.cloud LCN at the back?

Distributed transaction

Sorry, I'm not sure what you mean - can you provide a link or more information?

@TimHess I think Steeltoe OSS is a very good framework, but I find that it lacks distributed transaction support, such as sagas, tcc. If I do not support distributed transactions, it will be very difficult for me to use SteeltoeOSS in my future projects.

Closing in favor of #110


App crashes when resource page fetch results in  fails

When an unknown user. collection, or card is fetched the failed resource call crashes application.

Logged in trying to access a collection view that does not exist
url: http://localhost:3000/id/murky_muesli/col1

logged out trying to access a user that does not exist
url: http://localhost:3000/id/johndoe


Delay time in alarm module

Add delay time in alarm module for send payload notification. This will help to control various real time actions.
Example: motion sensor detection, send OFF notification to sensor with delay time.
This issue was reported by @TheAbhor

this feature implemented with alarm definition


Add some minor style tweaks in entrypoint

Just a little bit of code deduplication and warning reorganization. :+1:

LGTM


Change PublishToBatch() to use sync repo.

write::VersionedLayerClient::PublishToBatch use async approach. We
need to make it similar to dataservice::read clients. Making it sync
will simplify the code.
Resolves: OLPEDGE-1404
Signed-off-by: Kostiantyn Zvieriev<EMAIL_ADDRESS>

I have unit and integration tests for it too, but PR becomes too big(1200+ lines).
It would be better to push tests first, but old PublishToBatch used shared_from_this() and can't be tested without creating it as shared_ptr.


Fix concurrency bug in Batch Update and Delete

GetDynamicClass method: added the double check for "signature" in "classes" dictionary to avoid concurrency issues.
CreateDynamicClass: removed the upgrade to write lock because managed by the caller "GetDynamicClass" method.
Changes fixes issue #20.
Tested with 1000 concurrent updates/deletes on the same table.

+1

+1

This issue has hit us as well, please merge this (or another fix) when you can.

Thanks!

It should be possible to close issues 149 and 161 based on this fix being merged.

When this fix will be included in your nugget (The last nugget is from january)

It has now been updated

Thanks a lot !


spec: set the default release to 1

The release number in the RPMland canonically starts at 1, not at 0. I think
it technically doesn't cause any harm but let's stick to what all other packages
do.

I actually had to modify one test to get the CI working.


chore: migrate @apify/browser-pool to monorepo

Looking like the recent changes in browser pool are not yet backported.
Namely this one https://github.com/apify/browser-pool/pull/70

Yep, I knew about the changes. All there now. Also the comment from 3 days ago about CI - seems like the workflows are not using the master, but are using the current branch. Repository/version number updated.
There also were 2 missing awaits - not sure if it was done intentionally, added them rather then just adding ts-ignore -> this commit.

@B4nan all green :ok_hand:


Write a PHP program to convert miles to meters

Description
Write a PHP program to convert miles to meters
1 mile = 1609 meters
Input  : 5
Output : 8046.72

How to contribute

Save the solution in program/convert_miles_to_meters.php file
Add convert_miles_to_meters.php file in convert-miles-to-meters folder

!assign


too many arguments - failed to add hook .

i was trying to compile youtube.apk when i got this message :
[*] Adding hook in original smali file..../backdoor-apk.sh: line 96: [: too many arguments
done.
the log says :
http://pastebin.com/8Hqw3rzw
I have created a folder with some random apks i downloaded that backdoor-apk is unable to find hook points to inject the smali file .
if you check this page you will see 2 folders :
https://www.mediafire.com/folder/d64gcc0hqa5l7/notworking
(Issues related to hook points) folder = backdoor-apk was unable to find a hook
(issues related to aapt version) folder = on this folder are the apks where backdoor-apk found a hook point but in the end was unable to compile the apk file .
My guess is that this issue is related to aapt version witch may be to recent or too old to compile the apk . However my version is 23 (i think) , and i will test with other versions of aapt to see if it fixes .
My friend , if you get sometime then look only to those 3 apks where no hook was found , maybe adding some more search strings options to backdoor-apk when it tries to get a point may fix the issue . In mean while i will write here soon with my conclusions on the aapt issues .
Other apks that i tested and were compiled successfully with my aapt version were :
facebooklite
skype
whatsapp

some news :
1st - unsupported minor version error on your proguard is related to user openjdk version .
This means that user must install openjdk 8 and change java alternatives to openjdk8 .
"apt-get install openjdk-8-jre openjdk-8-jdk"
and
update-alternatives --config java
and selecting openjdk 8 will solve proguard issue .
aapt in user system will probably not compatible with the aapt android sdk 25 you have in your third-party package .
Solution i made was removing aapt from system and creating a symlink in /usr/bin directly to your aapt version in third party directory .
Testing twitter.apk witch was giving me compiling issues , it still continues to give issues :
on this next log you can see that the hook point is made , but somehow apktool is unable to compile the package :
http://pastebin.com/7uKJuN8i
but i get an error ahead related to android framework package according to apktool website :
https://ibotpeaches.github.io/Apktool/documentation/
tomorrow i will investigate this issue more further , in mean while it would be interesting if you could test too the twitter.apk to see if you get the same issue , you can find it on the mediafire link i posted previously on my 1st post .

with apktool 2.2.2 in third party tools solve all compilation issues with aapt .
However , those files where the tool can not find an hook point will stay in the same situation .

@peterpt Thanks. I will look into the the specific APK issues. I saw your pull request for Apktool 2.2.2 ... I'll investigate this further to see if it resolves some of the current Apktool issues.

Sir am struck in Unable to find a hook point /tmp/d20180630-2334-ak3cth/original/smali*/ClientApplicationSplittedShell.smali
someone please resolve this

i was trying to compile cclean.apk when i got this message :
[!] Failed to add hook

./backdoor_apk: line 107: [: too many arguments
done.
[!] Failed to add hook


[BUG] Storybook Navbar Component: TypeError: Cannot read properties of undefined (reading 'data')

Description
I'm getting this error - Cannot read properties of undefined (reading 'data')
The error is being thrown at the following link: https://eddiehubcommunity.github.io/LinkFree/?path=/story/components-navbar-navbar--basic
The error occurs in the Storybook Navbar component and is related to reading the property 'data'

Steps to Reproduce -
Access the page at https://eddiehubcommunity.github.io/LinkFree/?path=/story/components-navbar-navbar--basic
Go to components/navbar/Navbar/Basic
Observe the error being thrown in the Navbar component
Expected Behavior -
The 'data' property should be successfully read without errors and it should display the navbar component

Screenshots
No response
Additional information
A full stack trace of the error is provided below:
TypeError: Cannot read properties of undefined (reading 'data')
    at Navbar (https://eddiehubcommunity.github.io/LinkFree/pages-username-stories.317d149d.iframe.bundle.js:1:10794)
    at Xh (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:694469)
    at Wk (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:750962)
    at Vk (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:740158)
    at Uk (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:740089)
    at Jk (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:739958)
    at Ok (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:736814)
    at Hk (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:735369)
    at J (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:789168)
    at MessagePort.R (https://eddiehubcommunity.github.io/LinkFree/475.0ea6cbd8.iframe.bundle.js:517:789718)

I get a different error. Please check you have the latest changes from main and you also have done npm ci.
The error I get is because the component needs to be wrapped in SessionProvider for Storybook

I get a different error. Please check you have the latest changes from main and you also have done npm ci.

The error I get is because the component needs to be wrapped in SessionProvider for Storybook

We might need to use a plugin for Storybook to help mock a logged in user https://storybook.js.org/addons/@tomfreudenberg/next-auth-mock

I followed the above steps and got the same error as you.
So I installed the plugin: next-auth-mock and followed the instructions in the link provided by you
I updated .storybook/main.js and appended the list of addons with @tomfreudenberg/next-auth-mock/storybook -
addons: [
    "@storybook/addon-essentials",
    "@storybook/addon-a11y",
    "@tomfreudenberg/next-auth-mock/storybook",
  ]

After doing the above the error dissappeared without even wrapping the Navbar component in storybook with SessionProvider
So is this okay or should I still wrap the component?

Also the plugin has provided 6 default set of auth states: session unknown, session loading, admin not authenticated, admin authenticated, user not authenticated, user authenticated.

If I select any one of these two states - session unknown session loading. I will see the Navbar component with the Login button.

If I select any one of these four states - admin not authenticated admin authenticated user not authenticated user authenticated I will see the Navbar component with the Logout button.

I tried to customize these auth states but got a webpack error and couldn't debug it so I think we should create a separate issue and PR for customizing these states. What do you think?

@Saadat-B as you raised this Issue and come up with a solution, I have assigned this to you.

Oh great, that sounds good if you don't need to wrap it after using the plugin 👍

Nice then I'll create the PR soon 👍


rawgpsd crash

Describe the bug
Sometimes from time to time rawgpsd crashes out of the blue. I see this stack trace tho:
Traceback (most recent call last):
  File "/data/openpilot/openpilot/selfdrive/manager/process.py", line 40, in launcher
    mod.main()
  File "/data/openpilot/system/sensord/rawgps/rawgpsd.py", line 288, in main
    r = setup_quectel(diag)
        ^^^^^^^^^^^^^^^^^^^
  File "/data/openpilot/system/sensord/rawgps/rawgpsd.py", line 223, in setup_quectel
    send_recv(diag, DIAG_SUBSYS_CMD_F, pack('<BHBBIIII',
  File "/data/openpilot/openpilot/system/sensord/rawgps/modemdiag.py", line 65, in send_recv
    opcode, payload = diag.recv()
                      ^^^^^^^^^^^
  File "/data/openpilot/openpilot/system/sensord/rawgps/modemdiag.py", line 48, in recv
    unframed_message = self.hdlc_decapsulate(raw_payload)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/openpilot/openpilot/system/sensord/rawgps/modemdiag.py", line 35, in hdlc_decapsulate
    assert payload[-2:] == pack('<H', ModemDiag.ccitt_crc16(payload[:-2]))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Provide a route where the issue occurs
e1107f9d04dfb1e2|2023-10-12--16-42-26--0
openpilot version
0.9.5
Additional info
I have observed this on master stock, but this route was captured in sunnypilot tho

Oh, I had reported a similar incident but with stock openpilot too! here's that issue report https://github.com/commaai/openpilot/issues/30226


Minor fixes (proposal)

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Potion HUD shows up empty when breaking a block

Mod Version:
DynamicSurroundings-1.11.2-<IP_ADDRESS>
TConstruct-1.11.2-<IP_ADDRESS>
Forge Version:
<IP_ADDRESS>8
Description:
Breaking a block shows an empty Potion HUD briefly when using a Tinkers Construct tool.
Video: https://phit.link/s/2017-05-23_23-49-02.mp4

Hmm....Tinkers must be putting something strange into the potion effect list.  Any buffs on the tool?

Seems like certain tool parts/traits are necessary, everything else doesn't matter. So for example a full Iron or Cobalt pickaxe works to test this. So that would be the Momentum and Magnetic trait, you can find all of themwhich are indeed implemented as a potion effects here.
Would it be possible to blacklist them from showing in the Potion HUD?

I need to see what is going on.  There is a property on a potion effect that says whether to display or not.  It could be lying to the code.

Looks like they aren't, shouldRenderInvText is set to false.
Note the last false here, which goes here.

That's what the code says.  However, in my debugger it gets down into Potion::shouldRenderHUD(PotionEffect) and returns true. :)  In this case the class is TraitMagnetic$MagneticPotion.

Came up with additional checks that should prevent this from happening.  I am still at a lost as to why it's not being reported up properly.  It's like something decided the method could not be overridden.

Pushed v<IP_ADDRESS> that has the additional potion hud checks.


chore!: update barretenberg dependency

Related issue(s)

Resolves #
Description
A large cosmetic change has been made in barretenberg -- This PR is made to ensure that all of our tests still pass post that change.
Summary of changes

Dependency additions / changes

Test additions / changes

Checklist

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[ ] I have linked this PR to the issue(s) that it resolves.
[ ] I have reviewed the changes on GitHub, line by line.
[ ] I have ensured all changes are covered in the description.

Documentation needs

[ ] This PR requires documentation updates when merged.

Additional context

Tom noted that this PR is failing because the new barretenberg commit is a breaking PR, so we need to update aztec_backend too

Closing as this has been updated in #1249


Update xt.py

Fixed indentation issue that caused an error when trying to run 'python xt.py'

thanks mate


Delegation

This is a sort of half-RFC draft that I may write into a full RFC if it's a good idea.
Many times, it would be useful if we could delegate in rust - the delegation pattern is good and there are many other uses of it (like in the newtype idiom). Currently, all we can do is implement Deref. But this has several disadvantages:

If we wanted to actually implement Deref for what it's designed for, we can't
We have to inherit all of the methods
We can only do it once
This is more like extending another class than delegation. So, here's the proposed syntax.

trait Foo {
	fn bar(&self);
}
struct Delegate;
impl Foo for Delegate {
	fn bar(&self) {
		println!("Hello, world!");
	}
}
struct Derived {
	delegate: Delegate
}
impl Foo by self.delegate for Derived {}

Some notes on this syntax:

by is a weak keyword
As we can see, the delegate is a member of the struct, not another class. This allows things like dynamic delegation and modifying the delegate (imagine a Counter trait and struct, you'd need to update the counter)
Instead of a trait, we can also specify * to copy all methods.
Maybe the for and as should swap?
Note the curly brackets, as we see another use of this syntax with more control:

trait Foo {
	fn bar(&self);
	fn quux(&self);
}
struct Delegate;
impl Foo for Delegate {
	fn bar(&self) {
		println!("Hello, world!");
	}
	fn quux(&self) {
		println!("Hello, quux!");
	}
}
struct Derived {
	delegate: Delegate
}
impl Foo for Derived
where bar by self.delegate {
	fn quux(&self) {
		println!("Not delegated");
	}
}

This where clause is similar to that of a generic parameter list in that it just allows for more control/less ugliness.
Here's the exact syntax (EBNF):
DelegateImpl = "impl", (trait | "*") (as_clause | for_clause, where_clause);
trait = ? ident ?;
as_clause = "by", ? expression ?, for_clause;
where_clause = "where", function_name, "by", expression, ",", [where_clause];
for_clause = "for", struct;
struct = ? ident ?;
function_name = ? ident ?;

Motivations
Composition
Currently, there is no struct inheritance in rust - this is a good thing, as you usually favour composition over inheritance. But you still have to refer to the composed object - the methods don't compose. Now you could do:
struct Base;
impl Base {
	fn foo(&self) {
		println!("Base class");
	}
}
struct Derived {
	base: Base
}
impl * by self.base for Base {}
fn main() {
	let myDerived = Derived {base: Base};
	myDerived.foo();
}

Newtype
The newtype idiom is very common as we can do various things to a type - implementing a trait or just wrapping around to make a new type (Days and Months aren't the same even if they are both i64).

This is the basis of the delegation pattern: using public traits to specify your type, then having a private implementation of it and a public creator function. This way, people can easily modify your type and pass their own version without affecting the rest of the code, which doesn't care. We could do:
pub trait Duck {
	fn quack(&self);
	fn create_duck() -> Duck {
		DuckImpl
	}
}
struct DuckImpl;
impl Duck for DuckImpl {
	fn quack(&self) {
		println!("Quack.");
	}
}
/// `DivingDuck` is a duck and more!
struct DivingDuck;
impl Duck by DuckImpl for DivingDuck {}
impl DivingDuck {
	pub fn swim(&self) {
		println!("Dive!");
	}
}

It would be good if you would cross-reference this with any of the previous work done in this area. For example, this RFC on delegation that was closed two days ago. There's also lots of other related back story.

That's a good idea, will do. That link seems to take me to a search of open PRs though, I can't see the PR. Perhaps you gave the wrong one?

Oops: https://github.com/rust-lang/rfcs/pull/2393

Closing per https://github.com/rust-lang/rfcs/issues/3133#issuecomment-850701806 since https://github.com/rust-lang/rfcs/pull/2393 was postponed.


Automatically create AWX projects and job templates

Currently when a healing rule specifies a job template it has to exist in advance, the administrator of the AWX server needs to create it before creating the healing rule. Instead of that, the auto-heal service could manage its own git repository, and it could automatically create the job template, and playbook when the rule is added. For example, the healing rule could be defined like this:
apiVersion: autoheal.openshift.io/v1alpha2
kind: HealingRule
metadata:
  name: my-rule
labels:
  alertname: "MyAlert"
awxJob:
  template: "My template"
  extraVars:
    instance: {{ $labels.instance }}
  playbook: |+
    The text of the playbook ...

When this rule is added to the configuration the auto-heal service should take the text of the playbook and commit it to its own git repository. Then it could also create the My template job template in the AWX server, if it doesn't exist yet, using the committed playbook.
The location and credentials of the git repository could then be part of the global configuration of the auto-heal service:
git:
  address: git://github.com/myuser/myrepo
  credentials:
    username: ...
    password:

Or we could run a small git repository within the auto-heal service pod.
In order to create the templates (and maybe other objects) in the AWX server the auto-heal service should have the credentials of an AWX user with the required permissions, probably different to the one used to run the jobs. This should also go in the global configuration of the service, for example:
awx:
  adminCredentials:
    username: "admin"
    password: ...

Let me see if I understand @jhernand. We will be creating a new project looking at the SCM defined in the configuration and pushing the contents of our healing rules to that repository?
I think template would need a name - a common use case might be a newly setup AWX server with a repo that already has heals (files) in it. We could also generate the name ourselves but maybe that would be less clear to users.
If we have access to the project SCM and we see an existing playbooks with a different content then the healing rule do we care? What if the template is defined but with a different content?
Do we support external updates of the SCM?
BTW we must also specify an inventory when creating a job template so we might need that in the configuration as well.

Yes, if we see that there isn't a project with the name that we expect, then we create a new one using the SCM configuration that we have in the auto-heal service configuration.
Then, when we are asked to run a job from a job template that doesn't exist in the AWX server, and if we are explicitly given the text of a playbook, we commit that playbook to the git repository (if needed, may already be there) and create the new job template using the name of that playbook.
This idea of committing automatically things to the git repository only makes sense if that repository is something that we consider temporary, and that is managed and owned by the auto-heal service. If it is an existing git repository then we should limit ourselves to check that it contains what we need, or just do nothing, like we do today.

To simplify things we can start without the git commiting part: we create the project and the job templates if they don't exist, with the information taken from the auto-heal configuration, but without including the playbook text in the healing rule.

What if we flip this on its head?  Suppose both AWX and autoheal pulled from same git repo (AWX by builtin ability, autoheal by git-sync sidecar).
Suppose autoheal config & rules go in a different directory (that AWX ignores), and refer to playbooks by name.
What's missing then to ability to create new rule & heal by single git commit?

IIUC, one git repo for all heals means we use one AWX "project".
But there can be many AWX "jobs", one per playbook.
autoheal would reload config when git-sync sidecar updates the local checkout.
I think the missing piece is defining the AWX job.

autoheal could notice a missing job and create it.
in principle, this might belong upstream in AWX itself — ability to have projects where jobs auto-appear, one per playbook file?

To simplify things we can start without the git commiting part: we create the project and the job templates if they don't exist, with the information taken from the auto-heal configuration, but without including the playbook text in the healing rule.

That makes sense. Let's see if I understand, for stage 1, under awxJob we would have template: "X"
and optional name of the playbook(like playbookName). If playbookName var exists and template: "X" does  not exist we create the template "X" running playbook playbookName.
awxJob:
  template: "My template"
  extraVars:
    instance: {{ $labels.instance }}
  playbookName: "some-heal.yml"

Then on stage 2 we can include some combination of playbookName and playbook (for actual content)
@jhernand does that makes sense?

What if we flip this on its head? Suppose both AWX and autoheal pulled from same git repo (AWX by builtin ability, autoheal by git-sync sidecar).
Suppose autoheal config & rules go in a different directory (that AWX ignores), and refer to playbooks by name.

@cben with the idea suggested here we would be able to update only one file for a healing rule. We would also be able to use one repository or two separate ones.


Fixes #1385 - Clarified installation instructions

Fixes #1385
Moved message about not supporting AzureRM and Az at the same time prior to installation.
Added logic to the install commands to prevent the Az module from being installed if AzureRM exists.

Docs Build status updates of commit adaaa04:
:clock10: Full build: the average full build time is 25 min(s) 40 sec(s), this is based on the last 364 build(s) for this repository.

Docs Build status updates of commit adaaa04:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-3.8.0/install-az-ps.md
:white_check_mark:Succeeded
View (azps-3.8.0)

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

Docs Build status updates of commit a06117f:
:clock10: Full build: the average full build time is 25 min(s) 48 sec(s), this is based on the last 365 build(s) for this repository.

Docs Build status updates of commit a06117f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-3.8.0/install-az-ps.md
:white_check_mark:Succeeded
View (azps-3.8.0)

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

Docs Build status updates of commit 3e9991f:
:clock10: Full build: the average full build time is 25 min(s) 48 sec(s), this is based on the last 366 build(s) for this repository.

Docs Build status updates of commit 3e9991f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-3.8.0/install-az-ps.md
:white_check_mark:Succeeded
View (azps-3.8.0)

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


Implement Calc and CS

https://strusoft.fogbugz.com/f/cases/132302
        <combitem
          ImpfRqd = "0"
          StabRqd = "0"

          Calc = "1"
          CS = "0"
          NLE = "0"
          PL = "0"
          NLS = "0"
          Cr = "0"
          f2nd = "0"
          Im = "0"
          Amplitudo = "1.0"
          Waterlevel = "0"
          />

https://femdesign-api.discourse.group/t/calculate-only-some-of-the-load-combinations/139/2

[ ] Update CombItem
[ ] Update GH component
[ ] Check error handling
[ ] Test GH objects


Support for other JavaScript Experiment Types

The modular presentation of experiments will allow for (in the future) easy integration of other Javascript frameworks. I am creating this issue to remind us to implement this as an enhancement in the future.

We have added a "template" variable to the config.json, and are ready to accept other experiment types, given that we find a platform that we like. I'm closing this for now,


[PE-D][Tester D] Add command does not work as per UG

The UG states that the fields [your name] [your phone number] and so on are optional, while only the tags such as n/ and p/ are required. However, when entering the add command, these fields are not optional.

Labels: severity.Low type.FunctionalityBug
original: tyw2811/ped#4

???? misinterprets UG


Wrong behaviour of .include() .exclude()  when including or excluding @rid

OrientDB Version, operating system, or hardware.

v2.2.13

Operating System

[ ] Linux

Expected behavior and actual behavior
select out('fold').include('name') as list from Data where @rid = #38:0
When not including @rid then the name is returned as expected.
select out('fold').include('name','@rid') as list from Data where @rid = #38:0
When adding @rid to the include method then only rids are returned, name is not included. I would expect name to be included as well, anything else is confusing!
Im looking to get a list of names and  @rids returned in one record so no expand(). Is there a workaround?

Hi @temilmg
The problem here is that, when a field is a document with a valid rid  (positive cluster id and position), it is considered as a normal document so only the rid is sent.
Unfortunately in v.2.2 there is no way to distinguish between a "partial" document, generated with an .include() and an actual document, so it's unlikely to be fixed in current release.
In v 3.0 this problem is already addressed: projections will be treated as different types (not ODocument anymore)
As a work-around, you can send to the client the explicit projections with a subquery, eg.
select name, @rid as theRid from (
  select expand(out('fold')) from Data where @rid = #38:0
)

or even better:
select name, @rid as theRid from (
  select expand(out('fold')) from #38:0
)

I hope it helps
Thanks
Luigi

Hi Luigi,
I dont think your workaround is a workaround for my case. Im using nonblocking queries and a remote connection so Im trying to get back a single record from the db server (so its not so chatty). Your workaround gives as many records as there are edges.
The closest I can come to a workaround is to use query below and match the rids with names afterwards.
select out('fold').include("name","otherprop") as props ,out('fold').@rid as rids from #38:0
Im hoping the list order is always the same, otherwise I will end up matching the name with the wrong ids!?
Thank you for the clarification, looking forward to 3.0 :-)

Hi @temilmg
you are not 100% guaranteed to have the same order, especially under heavy concurrency.
What you can do is following (that should also be more efficient)
select out.include("name","otherprop") as props ,out.@rid as rids from (
   select out('fold') as out from #38:0
)

Thanks
Luigi

Ok, thank you very much, I will use that instead!

Can we close this issue?

I think it could be closed if 3.0 already fixes the include/exclude issue.
Thank you


[SourceKit] Don’t provide incorrect semantic highlighting of nil in case statements as enum decl element

If a 'nil' literal occurs in a swift-case statement, it gets replaced by a reference to 'Optional.none' in the AST. We want to continue highlighting 'nil' as a keyword and not as an enum element. Detect this case if 'none' was spelled with 3 characters, which indicates that it was rewritten from 'nil'.
Resolves apple/sourcekit-lsp#599

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Added support for the astgen macOS arm binary

Right. The Scala naming convention suggests to use camel case with capital starting letter.
I took the chance to change that everywhere in jssrc2cpg.

@mpollmeier I removed the caching and it worked.

🎉

that might significantly slow down the PR builds though, because it'll download half of maven central every time...
maybe just exclude the ammonite directory from the cache?

your test probably did exactly that


MKCheckbox on checked. Color spread over the whole view (Android)

@abhinavdabral , you make my day, thanks for a solution


loadable component

Hi Moeen,
I came across to your this project and it really a helpful project in learning react with laravel.
I was wondering that instead of lazy function to load components 'React documentation says' to use this 'https://github.com/gregberge/loadable-components' library to load it from server.
I want to know where I should change to achieve this. As I am really new to react so not able to understand how to do this.
Can you please help me out in this.
Thanks in advance brother.

can you point me to the documentation ?

https://reactjs.org/docs/code-splitting.html#reactlazy

Moeen Farooq Basra,
I have cloned your project and followed all steps of first method. But when i serve the project, I could not get even view of login or register pages. Its just showing blank screen. Reply if you have any solution.

@Waqas-Sharif Is it possible that #60 is causing those blank screens? Can you check DevTools > Console, whether you get the same error as described in that ticket?
cc @moeen-basra

@Waqas-Sharif I just tried cloning a fresh, there was some issue with the validator rest are fine. Let me know if you still face some problems.


HADOOP_CONF_DIR must allow multiple directories

For Tez deployments tez-site.xml is not part of the /etc/hadoop/conf (if running on edge node). Modifying this directory by adding tez-site.xml is not the cleanes approach. Better allowing specify multiple directories.

Actually, after discussing it internally it would be better to have another environment variable (e.g., TEZ_CONF_DIR)

Now user has option to specify TEZ_CONF_DIR in addition to HADOOP_CONF_DIR where tez-site.xml and other related configuration files could be found


The calculator does not allow users to paste negative numbers without digits before the decimal point.

Describe the bug
The Calculator doesn't accept pasted strings like:

-.232
-.1
-.1e12

Steps To Reproduce

Launch the Calculator
Open the Standard mode
Paste -.232

Expected behavior
The Calculator should accept this expression
Device and Application Information

OS Build: 10.0.18363.0
Architecture: X64
Application Version: 10.1908.0.0
Region: en-US
Dev Version Installed: True

Requested Assignment
If possible, I would like to fix this.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Of your examples, I can only reproduce the issue for -.1e12. The others pasted in seem to be accepted.

It's a regression introduced 2 weeks ago, so only happening with the Dev version.


Error Internet Disconnected (Crashes)

When a site connection error occurs, the standard "No Internet" window appears.

If you click on the "Running Windows Network Diagnostics" link, the browser immediately crashes (the window just closes).
Of course, the error is not critical and few people use this feature, but you should take it into account.

Hello, the crashdump (*.dmp) will help to check what's happened in this case.

I am using Supermium 122 r4 x86 since more than a week non-stop on WinXPSP3 x86 with very challenging workloads, and tons of tabs open. I have never run into the described problem even a single time yet. It appears to be surprisingly stable now for me.
Which version of the browser did you use when it happened?

What happens on WinXP when you click on the "Running Windows Network Diagnostics" link?
Sorry, I don't want to sound unfriendly or stubborn, but I learned 23 years ago to never run the "network diagnostic" or "network autofixup" on Windows XPSP3 on my productive systems. I do groom my networks either by DHCP or by hand.


#434 Don't count Orphan in Stats

The orphan checklist should be excluded for all counts on the stats page. The high number of "not reviewed" items throw the % assessed way off.

Should be fixed.

Looks much better. Thanks.


Add client secret encoding for client authentication

With Account Manager deployments on Mon Feb 24th a breaking change has been introduced which may block API clients not being able to authenticate as the client secret may include non URL safe characters.
Proposal is to add a new env var SFCC_AUTH_ENCODE_SECRET. If set to true or 1 the client secret used for authentication will be url encoded before base64 encoding.
We will apply url encoding of the client secret used for authentication before base64 encoding.

Looks like AM reverted their change, at least I can authenticate with my special characters password via curl but not via sfcc-ci.

@wundrian I can still run an auth with API client credentials containing special non-URL safe characters in the secret


Fix/dawgpath 51

Global hover/focus states for course btns

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.481%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
391

Relevant Lines:
547

💛  - Coveralls


GitHub Desktop v3.0 release

Why:
Closes #17302

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Why:
Closes #17302
What's being changed:
Check off the following:

[x]  I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Ya

https://github.com/github/docs/pull/17303#issue-1212735374

This is ready for review!

Thanks again for the great suggestions @saritai! I think this is ready to go.


add figure caption on top

ROR-RGB-C: TGSS(GMRT)-DSS2-NVSS(VLA)-NVSS
ROR-RGB-C: TGSS(GMRT)-DSS2-NVSS(VLA)-TGSS
IOU-RGB-C: WISE(22)-DSS2(red)-GALEX(NUV)-TGSS
Optical-RGB-C: DSS2(IR)-DSS2(Red)-DSS2(blue)-TGSS
please use this as top figure caption

from sir

express GMRT with again like  TGSS (GMRT) for contours

from sir


Add SQL type to Node.js v4 programming model

https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-functions-version-4-of-the-node-js-programming-model-is-in/ba-p/3773541

Issue created in node library repo: https://github.com/Azure/azure-functions-nodejs-library/issues/88


is there any demo video?

from the paper, we can see the great progress of this method on culane. are there any demo videos output by this model trained with culane dataset? what's more, I mean the demo videos are not from culane videos for which we can know the model's generalization. Thanks very much.

Performance on CULane video sequences:
https://drive.google.com/open?id=1EGH1Yhyrh62uW9aEqusdMtxGVv8niu4c
Performance on BDD100K:
https://drive.google.com/open?id=1tcYOtXOGSlpAjwy_rtVUocrFpp9fWmG_

@cardwing CULane 测试原始视频能发一份给我吗？感谢！！


Responses generated by the model seem to have many incomplete sentences and incorrect grammar.

Hello, I find responses generated by the model seem to have many incomplete sentences and incorrect grammar. Is it the reason for non-autoregressive decoding?  Can it be solved by adjusting parameters?

Here are two solutions to improve the generation quality:

You could train insertion-TF with more sampled subsequences. See src/models/model.py line 557-558.
Replace vanilla transformer with BERT. Just add two arguments to the training command: "-encoder BERT -sep_optim"

Thank for your replay! Does it mean I need to add args.bert_dir and download the weight of Bert model. Does more sampled subsequences depond on the graph construction?

args.bert_dir can be the official BERT path in huggingface, namely 'bert-base-uncased'. Or you can download it in the local directory.
We ensure that all concepts are included in the sampled subsequences, plus some randomly selected words in the target response. The subsequence can be regarded as a prompt and the insertion-TF learns to complete the response. Giving more sampled subsequences means insertion-TF can see more states of partial responses in training time. Another solution is to make sure that the subsequence only contains the concepts themselves, so insertion-TF learns to generate responses based on concepts from scratch.

Yes, I did. Thank you for your reply. It's very helpful!


Is there any pre-trained models for Multi-track VAE?

Could anyone please provide pre-trained models for hier-multiperf_vel_1bar_big_chords and hier-multiperf_vel_1bar_mel_chords which we can continue training?

There's no "big" model available at this time, but there is a hier-multiperf_vel_1bar_med_chords model that's used by the Multitrack MusicVAE notebook: https://colab.research.google.com/notebooks/magenta/music_vae/multitrack.ipynb
The checkpoint files are here:
https://storage.cloud.google.com/download.magenta.tensorflow.org/models/music_vae/multitrack/model_chords_fb64.ckpt.data-00000-of-00001
https://storage.cloud.google.com/download.magenta.tensorflow.org/models/music_vae/multitrack/model_chords_fb64.ckpt.index
https://storage.cloud.google.com/download.magenta.tensorflow.org/models/music_vae/multitrack/model_chords_fb64.ckpt.meta


GC: Avoid pushing large array fields when marking arrays

Currently in mark-compact GC (soon again the default collector), when marking an array, we push all elements of the array to the mark stack.
For large arrays this can be problematic as mark stack can grow quite large.
Instead, if we push something like (array offset, array end) to the mark stack, the unmarked range of the array will be represented as one entry in the mark stack.
The main question is how to represent this pair (array offset, array end) without making every other entry in the mark stack one word larger.
Note that when pushing a (array offset, array end) pair for an array for the first time, we should mark every element in the range (similar to how we mark objects when pushing to the mark stack). This is to avoid pushing these objects to the mark stack in the case where every object in the array is also referenced by other objects in the heap. In that case if we push (array offset, array end) without marking the elements in the range, it is possible that we will visit other objects that refer to the objects referenced by the array and end up pushing all of them to the stack, basically ending up with where we started.

The proposal makes sense, even without me fully appreciating the implementation (yet).
I'm curious about what we can say about the best case behavior for this proposal?   Mainly, I want to confirm that I see the benefit clearly.
Suppose that the heap is mostly a huge array-based hash table, and there is no cycle from which we can travel through the array more than once (entering initially from some root pointer, for instance).  Suppose there are N entries in the table.
In that case, for a system with N records, we avoid pushing O(N) on the mark stack, but will "eagerly" visit each of those locations rather than use the mark stack to remember to visit them (the current behavior, IIUC).
So, if the mark stack is supposed to be something like at most O(log N), then this improvement works, by letting us operate within that bound, and avoid growing it, and potentially running out of resources.
But this leads me to wonder what is the most pathological data structure for the new mark stack.  Suppose that I fill memory with a graph of small records, and no arrays?  That's outside of the scope of this issue, but is there another one that tracks it?

In that case, for a system with N records, we avoid pushing O(N) on the mark stack, but will "eagerly" visit each of those locations rather than use the mark stack to remember to visit them (the current behavior, IIUC).

Eagerly visiting all the fields of an array will be worse in some cases. Suppose the array has 10,000 elements. If you push array elements to the mark stack (as we do today) you will push 10,000 objects. If you eagerly visit those objects instead of pushing them to the mark stack, depending on how many fields the elements have, so you will end up pushing more than 10,000, because each of those 10,000 elements will potentially have a few fields.
What I suggest is we push a pair of (array offset, array end) first, then mark some of the elements. Here's an example:
Suppose I have an array at 0x100000 with 100,000 elements. So the end of the array is 0x161a84.
When we pop 0x100000 we check the type and see that it's an array, in this code:
https://github.com/dfinity/motoko/blob/81c016e7c180ec78231d84f1f3fc9d8a66a690f7/rts/motoko-rts/src/visitor.rs#L26
Instead of pushing all of its pointer fields (as we do in the linked code), we push (0x100198, 0x161a84), then push 100 elements (exact number to be decided). 0x161a84 is the end of the array, and 0x100198 is the address of the next element in the array after the first 100 elements.
(We need to push the pair first, and then the elements, otherwise the it will be the same as pushing all of the array elements as we do in master branch today, we just do it more inefficiently)
Then when we pop this pair, we again mark 100 elements starting from the first element of the pair (0x100198), and push (0x100328, 0x161a84) and so on, until we mark the entire array.

So, if the mark stack is supposed to be something like at most O(log N), then this improvement works, by letting us operate within that bound, and avoid growing it, and potentially running out of resources.
But this leads me to wonder what is the most pathological data structure for the new mark stack. Suppose that I fill memory with a cyclic graph of small records, and no arrays? That's outside of the scope of this issue, but is there another one that tracks it?

Currently in master branch, the worst case is you have a huge array that points to 1-word objects. In this case the mark stack size will be half of the heap size.
With the proposed idea in this issue implemented, the worst case will be smaller depending on how many elements we push to the mark stack when we pop an array, in my example above it's 100.
I think the new worst case will be array of array of array of ... arrays, or an object (rather than array) with a lot of fields. If the second case is common, we could apply the same idea to other objects/records/etc. too.
I think cycles are not relevant when discussing the worst case for mark stack size, because we never push an object to the mark stack twice.

I believe we can represent the pairs of values standing for array slices as not pointers, but differently tagged values. Since we only push skewed pointers onto the mark stack, a different tagging should be easily recognisable, at the cost of a runtime test.

Resolved in all our scanning GCs, by slicing arrays during marking and updating


Search from web hoogle

Can it be used to search from web hosted hoogle?

Yes, that's what it does already: https://github.com/luc-tielen/telescope_hoogle/blob/master/lua/telescope/_extensions/hoogle/live_hoogle_search.lua#L20
Take a look at the URL in the browser gif in the README.
It requires you to have hoogle installed, but that searches online, not locally.

Neat. Thank you. Can you set a custom Hoogle source? I have https://hoogle.nix.dance that I want to use.

This is all I could find about the hoogle cli tool: https://wiki.haskell.org/Hoogle#Command_Line_Search_Flags.
I only make use of that, so the capabilities of the plugin depend on what hoogle offers..

hoogle cli tool searches only the local database. How can I switch between web hoogle and local hoogle?

I think it only works locally? https://wiki.haskell.org/Hoogle#Command_Line_Search_Flags doesn't mention anything like that.


Design System > Create common variables for bootstrap utilities

Design System > Create common variables for bootstrap utilities
like headings, border-radius, border, fonts, border-colors which are commonly applicable in all over elements and components

Created common variables for bootstrap utilities like headings, border-radius, border, fonts, border-colors which are commonly applicable in all over elements and components
https://github.com/Wai-Technologies/raaghu-react/pull/824

@trivenikulkarni  @rameshwarkamandar  This bug includes css file changes so can not be tested on dev or stage , so closing this