Error with spectator ligands

I'm getting the following error with Perses 0.10.2 running a test on a system with a spectator ligand:
AttributeError: 'RelativeFEPSetup' object has no attribute '_spectator_md_topologies'
Traceback (most recent call last):
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/bin/perses-cli", line 10, in <module>
    sys.exit(cli())
             ^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/perses/app/cli.py", line 109, in cli
    run(yaml_filename=yaml, override_string=override)
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/perses/app/setup_relative_calculation.py", line 831, in run
    setup_dict = run_setup(setup_options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/perses/app/setup_relative_calculation.py", line 516, in run_setup
    fe_setup = RelativeFEPSetup(ligand_file, old_ligand_index, new_ligand_index, forcefield_files, phases=phases,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/perses/app/relative_setup.py", line 333, in __init__
    self._setup_complex_phase()
  File "/cluster/home/narayaa2/.conda/envs/perses_0.10.2/lib/python3.11/site-packages/perses/app/relative_setup.py", line 616, in _setup_complex_phase
    for i, spectator_topology in enumerate(self._spectator_md_topologies,1):
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'RelativeFEPSetup' object has no attribute '_spectator_md_topologies'

I should have left more context above.  This is a system i had successfully run with 0.10.1, and i used the same yaml file that worked with that version of Perses, from the same directory with the same input files and such.

it looks like self._spectator_md_topologies is first being defined on line 360 of perses/app/relative_setup.py, but is being used in self._setup_complex_phase which is called on line 333.

In contrast, in 0.10.1, self._spectator_md_topologies is being defined on line 330 and self._setup_complex_phase is called on line 379.  So I think the spectator handling has to be moved before _setup_complex_phase is called ?

thanks @mikemhenry !

With our 0.10.3 release this issue should be fixed, @arjun-nufc Can you confirm things are working with the latest version? Thanks!

This looks fixed @mikemhenry and @ijpulidos , thank you !


[FLINK-24270][checkpoint] Refactor the tests related to the VertexFinishedStateChecker

What is the purpose of the change
This PR refactors the tests related to the checking of restoring states for graph with finished vertices to directly tests the most atomic component, namely VertexFinishedStateChecker.
Brief change log

68d4546ad8600dc12959a90aa338e3f91537db24 moved the related tests to a separate file and refactored the tests.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

Hi @dawidwys @pnowojski could you have a look at this small refactor on test~?

Very thanks @dawidwys for the review! I change the junit usage and added the missed tests~

Very thanks @dawidwys for the review!


⚠ GitHub has degraded performance

In fe9ec6e, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 164 ms

Resolved: GitHub performance has improved in e644479 after 24 minutes.


GRPC server fatal before clean up vm in hyperd

if we enable GRPC server in hyperd and shutdown it with SIGINT or SIGTERM, hyperd will stop server through stopServer(), which will make rpcServer.Serve() report an error and exit before hyperd could finish clean up VM in d.DestroyAllVm().
It's easy to fix this, but I'm not sure what's the best way.

change glog.Fatalf to glog.Errorf?

If rpcServer.Serve() failed at beginning, seems we do need glog.Fatalf...

closed by https://github.com/hyperhq/hyperd/pull/567


chex.dataclass wrapper causes type error: Expected no arguments to dataclass constructor

Applying the chex.dataclass wrapper to a class yields the following error:
import chex

@chex.dataclass(frozen=True)
class Class:
    x: int

Class(4)

$ pyright --version
pyright 1.1.337
$ python3 --version
Python 3.11.6
$ python3 -c "import chex; print(chex.__version__)"
0.1.85
$ pyright test.py
/Users/user/Desktop/test.py
  /Users/user/Desktop/test.py:7:1 - error: Expected no arguments to "Class" constructor (reportGeneralTypeIssues)
1 error, 0 warnings, 0 informations

https://github.com/microsoft/pyright/issues/6536#issuecomment-1826087060

This is a bug in the chex library. The chex.dataclass decorator has no type annotations despite the fact that the package contains a "py.typed" marker file.

https://github.com/microsoft/pyright/issues/6536#issuecomment-1862080880

I recommend looking at the stdlib dataclass class in the typeshed dataclass.pyi stub.

https://github.com/python/typeshed/blob/main/stdlib/dataclasses.pyi

This issue still persists. The only way to handle this is to add a # pyright: ignore and the end of the line, which is obviously not the right solution here.

This issue still persists. The only way to handle this is to add a # pyright: ignore at the end of the line, which is obviously not the right solution here.


[Business Approvals Kit - QUESTION] How to create an Approval body

What is your question?
We are used to adding request details in to the approval body (as MD) in our custom solutions. For instance, as an invoice approver, I need to know - Inv. number, amount, VAT, etc.
In BAK, the fields/variables aren't pasted to the approval that approvers will receive. I could pass it as a part of "Additional Information" but you append/prepend it with your data (OOF, ...).
The questions:

Do you plan to append variables to the body as a table by default? (preferred way as it's low-code solution)
Or could data be split to several rows in the body? Let's say - BAK internal messages as one row and the content of "Additional Information" another one.

Thank you.
What solution version are you using?
No response
What app or flow are you having the issue with?
No response
AB#1835

this is an essential feature, I hope there is an answer!

I strongly agree. This is a "must" feature. It cannot be used without this. The approver needs to know what he is approving.


Remove trailing hyphen in erb files

On PCF 1.8 it fails with the following error message:
Error filling in template '(unknown)' (line (unknown): broker-registrar/run.sh:29: syntax error, unexpected ';'
-; _erbout.concat "\nBROKER_NAME='"
^) (00:00:01)

Thanks.

Cool 👍  , any estimation for a new final release?

v3.2.3 cut; sorry for not getting to that sooner.


ISSUE: Will not connect to the mail server

Describe the bug
A clear and concise description of what the bug is.
Environment (please complete the following information):

OS: [e.g. HassOS/Raspbian/CentOS]
Type of device: [e.g. RPi3/NUC/Synology]
Home Assistant version: [e.g. 0.105.5]
Hassio/Docker/Core?
Component version: [e.g. 0.1.2]

Logs
Paste your error logs here.
This error originated from a custom integration.
Logger: custom_components.mail_and_packages.helpers
Source: custom_components/mail_and_packages/helpers.py:118
Integration: Mail and Packages (documentation, issues)
First occurred: 9:50:45 PM (2 occurrences)
Last logged: 9:50:56 PM
Error connecting into IMAP Server: [Errno -2] Name does not resolve
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Please add emails in plain/text format if possible and applicable.

OS: HASos
Type of device: Odroid N2 HA blue
Home Assistant version: 2023.9.2
Hassio/Docker/Core? Core
Component version: 0.3.18

Error connecting into IMAP Server: [Errno -2] Name does not resolve

This does not seem to indicate a bug. It screams DNS config issue to me. I also cannot replicate this on my end, as my installation resolves host names fine.

Describe the bug
A clear and concise description of what the bug is.

Also, don't forget to fill in this section

Error connecting into IMAP Server: [Errno -2] Name does not resolve
This is a DNS issue, not an issue with the integration as @djripcord stated.

FWIW I'm also having issues and use Google.  Just recently it stopped working and so Ive been trying to troubleshoot. I set up new app password and everything and no success.  Will continue troubleshooting but wanted to comment for others in case I find a solution or if someone else already has one. Thanks.

This integration does not send email.

FWIW I'm also having issues and use Google. Just recently it stopped working and so Ive been trying to troubleshoot. I set up new app password and everything and no success. Will continue troubleshooting but wanted to comment for others in case I find a solution or if someone else already has one. Thanks.

Google (for security) doesn't support app password anymore.  I am actually having the same problem, since this puglin doesn't support authentication using a google account.


miniserve: 0.23.0 -> 0.23.1

Diff: https://github.com/svenstaro/miniserve/compare/v0.23.0...v0.23.1
Changelog: https://github.com/svenstaro/miniserve/blob/v0.23.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 226648 run on x86_64-linux 1

1 package built:

miniserve


Improve build size

Taken from #375.
Improve the build size, consider investigating GCC (Java version) flags to improve performance and bundle.

#407

Closing this as the merge of inferno-dom into core has made a big impact on bundle size.


Add reference documentation for pip settings

Summary
Third part of https://github.com/astral-sh/uv/issues/5093.

I only got part way through here then I think I started reviewing some duplicate content from the stack — I'll look again soon.

Thanks -- rebased and updated to reflect feedback on the previous PRs. Note that this is almost all copied from the CLI with minor modifications.


Should Envoy Gateway Support a Gateway Finalizer?

https://github.com/envoyproxy/gateway/pull/373 adds GatewayClass finalizer support. The Gateway spec does not call for a Gateway finalizer, but I don't understand why Envoy Gateway should allow a Gateway to be deleted if one or more routes are attached. Should EG implement a Gateway Finalizer that is similar in functionality to the GatewayClass finalizer?
cc: @youngnick

I created upstream issue https://github.com/kubernetes-sigs/gateway-api/issues/1386 for guidance.

Moved to backlog since this is not a v0.2.0 blocker.


After Android 4.4 upgrade the codes don't work anymore

I've upgraded to Android 4.4.2 and the codes generated by Google Authenticator don't work anymore.
I've tried with a Github account and other 2 aws accounts without success.

I have same problem with the "Authenticator" on my new device with android 4.4.2. It don't work. "The code is incorrect. Try again. Tip: Codes are time-dependent. Make sure that your phone is set to the correct local time." My local time is correct! When i do "Time correction for codes", i receive an answer "Time already correct".

Try the APK linked here (at your own risk! I take no responsibility for what someone else built) https://github.com/google/google-authenticator-android/issues/3.
Or rebuild from this repo: https://github.com/google/google-authenticator-android/
Also, this seems to be an Android app bug, so refile here: https://github.com/google/google-authenticator-android/ if applicable.


runmodels.R code section fails to capture nonconvergent models

Weibul model is not converging for  standard software reliability model data set like J1. The present code is failing to capture and mask the nonconvergent models sometimes.

Stack trace for this bug.

Stack trace (innermost first):
66: run_models [[utility/RunModels.R#131]]
65: observeEventHandler [/home/arhik/git/SRT/server.R#537]
1: shiny::runApp
buggy code

@vnagaraju14 @vshekar please check if this is fixed and close it.

I pushed it directly accidentally. There is no harm in this accidental commit but recheck.


Telos reth integration test

Once more progress on syncing write tests to compare 1.5 and 2.0

Hijacking this issue to collect things that we should add to the docker container and to the integration tests assertions.


4qyy

9<!--
NOTE:
If you're asking about how to use OpenSSL, this isn't the right
forum.  Please see our User Support resources:
https://github.com/openssl/openssl/blob/master/SUPPORT.md

If relevant, please remember to tell us in what OpenSSL version you
found the issue.
Please remember to put ``` lines before and after any commands plus
output and code, like this:
```
$ echo output output output
output output output
```

```
#include <stdio.h>

int main() {
    int foo = 1;
    printf("%d\n", foo);
}
```

-->

43

n58

org.torproject.android


Implement delete my profile endpoint

Description:
This issue involves implementing an API to update the profile details. The endpoint should allow clients to make a DELETE request to {{baseUrl}}/api/me/profile/{{profileId}}.
Tasks:

Create a controller for the /controllers/profile endpoint in the backend (create the route profile if not created).
Parse and validate the request body to ensure it matches the expected format.
Implement appropriate error handling and response status codes for different scenarios (e.g., validation errors, database errors).
Write unit tests to validate the functionality and correctness of the endpoint.

API documentation: https://documenter.getpostman.com/view/27421496/2s93m1a4ac#8744a3ee-970f-489a-853d-8b23fdee8de3
ER diagram: https://drive.google.com/file/d/11KMgdNu2mSAm0Ner8UsSPQpZJS8QNqYc/view
Acceptance Criteria:

The profile API endpoint /controllers/profile is implemented via a DELETE request.
The request body is properly parsed and validated for the required format.
Appropriate error handling is implemented, providing meaningful error messages and correct response status codes.
Unit tests are written to validate the functionality and correctness of the endpoint.

Additional Information:
No
Related Dependencies or References:
No

can i work on this ?

@Danishkar are you still interested in this?

@anjula-sack yes


identical sequences

Dear developer,
pred_aa_seqs = saprot_if_model.predict(masked_aa_seq, masked_struc_seq, method=method, num_samples=num_samples)
when num_samples was set to 10, it gave 10 identical sequences. Could you please help how to generate diverse sequence? Thanks!

Hi, did you mask the amino acid sequence when you input it to the function? Normally the argument masked_aa_seq should be ##########, meaning the amino acids are masked. This function will only predict all positions that the amino acid are masked. If you input the original amino acid sequence with no mask, the outputs will also be the same as the original sequence.

Great, my mistake, Thanks for pointing out.


vless server giving a strange error, works on v2rayng on android but not in Windows

I get the error (using 4.40.1)
2021/07/06 22:08:43 [Warning] [1128562282] app/proxyman/outbound: failed to proc
ess outbound traffic > proxy/vless/outbound: failed to find an available destina
tion > common/retry: [transport/internet/websocket: failed to dial WebSocket > t
ransport/internet/websocket: failed to dial to (wss://xxx/): 200 OK > web
socket: bad handshake] > common/retry: all retry attempts failed

and it just keeps repeating
The config is
{
  "log": {
    "access": "",
    "error": "",
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "<IP_ADDRESS>",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "auth": "noauth",
        "udp": true,
        "allowTransparent": false
      }
    },
    {
      "tag": "http",
      "port": 10809,
      "listen": "<IP_ADDRESS>",
      "protocol": "http",
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      },
      "settings": {
        "udp": false,
        "allowTransparent": false
      }
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "xxx",
            "port": 443,
            "users": [
              {
                "id": "xxx",
                "alterId": 0,
                "email"<EMAIL_ADDRESS>                "security": "auto",
                "encryption": "none",
                "flow": ""
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "allowInsecure": false,
          "serverName": "xxx"
        },
        "wsSettings": {
          "path": "/"
        }
      },
      "mux": {
        "enabled": false,
        "concurrency": -1
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "http"
        }
      }
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "domainMatcher": "linear",
    "rules": [
      {
        "type": "field",
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api"
      },
      {
        "type": "field",
        "outboundTag": "proxy",
        "domain": [
          "geosite:google"
        ]
      },
      {
        "type": "field",
        "outboundTag": "direct",
        "domain": [
          "domain:example-example.com",
          "domain:example-example2.com"
        ]
      },
      {
        "type": "field",
        "outboundTag": "block",
        "domain": [
          "geosite:category-ads-all"
        ]
      }
    ]
  }
}

When I switch to a TCP vmess server it has no issue, so the problem is using the vless+ws config which works perfectly on v2rayng

try https://github.com/v2fly/v2ray-examples/tree/master/VLESS-TCP-TLS

It's something to do with going through a CDN, it messes up with cloudfront or my domain, but works when I just use the IP address directly (but obviously I get no benefit of a CDN)

Okay, I just nuked the server and started fresh, so far it's working well again


running ./rover_onboard_calibration.sh

running ./rover_onboard_calibration.sh from within the misc sub directory causes errors
this script must be run from the repository root directory to run properly: "/misc/rover_onboard_calibration.sh"

note:
can check other scripts that may have a solution for checking the correct path


[BUGFIX] Disable restart "always", fixes #14

The service MUST NOT always restart.
Without that change the service will be restarted after docker and/or host restart.
Fixes: #14

@dkd-kaehm could you take a look around at other add-ons to see if this snuck into any of them? Especially ddev-redis.

could you take a look around at other add-ons to see if this snuck into any of them

You mean the restart setting?
Also in redis add-on there is nothing:
https://github.com/ddev/ddev-redis/blob/d5b0980871b46d4432e6c560bc6cb9fc7b804361/docker-compose.redis.yaml
In .ddev-docker-compose-full.yaml there is no restart: always setting, the most of them are set to restart: "no"

Thanks.


A different method instead of re-using post-message

Sorry if this was already discussed or if this feels like bikeshedding.
re-using postMessage seems a bit confusing, would it make it a bit more readable if it were
worker.execute(module { export function fn() { return "hello!" } })?
execute/run/etc
Keen to hear your thoughts

That’s a much more invasive change to the HTML spec and needs a lot more thought: How was worker initialized? What does execute actually do? What is the return value of execute()?
If it does what I think you want it to do, it can easily be built on top of the existing postMessage() infrastructure.
That being said, at some point I would like to investigate something like a proper ModuleWorker:
const api = new ModuleWorker(module {
  export function add(a, b) {
    return a + b;
  }
});
console.log(await api.add(40, 2)); // Logs 42

That’s a much more invasive change to the HTML spec and needs a lot more thought: How was worker initialized? What does execute actually do? What is the return value of execute()?
If it does what I think you want it to do, it can easily be built on top of the existing postMessage() infrastructure.
That being said, at some point I would like to investigate something like a proper ModuleWorker:
const api = new ModuleWorker(module {
  export function add(a, b) {
    return a + b;
  }
});
console.log(await api.add(40, 2)); // Logs 42


Migrate to TCA 1.7.0 and implement new Perception observing mechanisms

Migrate the codebase to TCA 1.7.0 and take advantage of the new Perception observing mechanisms. This update includes changes to the SettingsView, SpeakersView, DashboardView, SplashFeature, MeetupItemFeature, ConferenceItemFeature, EventsFeature, SwiftUpApp, AppearanceGroup, TabsFeature, and EventsView files.
Closes #28

I warmly welcome the changes!
Actually can't wait to start working with this great set of features to have it under my belt. 💪🏻
Great job, @MarcelStarczyk! 🎉


do user research

define research questions, e.g. how many languages do already registred speakers speak?
define methods e.g. user survey or qualitative interview, database request, piwik data

Question for organizers concerning search:

Which information about a speaker you want to see at a first glance in the listing of the results?
What are typical research questions?
How do you want to browse speakers?
What do you decide about contacting a speaker?
How much time do you have for your research?

Ame:

As a researcher/organizer you are visiting the site: https://speakerinnen.org/en/categories/10
What kind of profile are you expecting to find?
What do you think of the content of the tag cloud below? Does it meet your expectations?

expect to find topic related profiles (companies/startups)
extremly long list of profiles (should be around 50)
extremly long list of topics inside profiles (can we limit them)?
probably cool to have a breadcrumb to see where we you are
language mixture no problem
probably it would be cool to have an interactive possibility to see other language tags (if we decide to limit the tags to the locale)
show relative size of topics, e.g. through count of usage - social media (22)

As a researcher/organizer you are looking for german or english language speaking people for the topic programmieren / programming.
What kind of autosuggest do you expect?
What kind of search results do you expect?

autosuggest is a little bit slow
if you are on results page: show query somewhere and if possible: show other options you got via autosuggest

As a speaker you are editing your profile. How and where do you expect to add your tags if you have a german and english language account? How do you expect your profile to be displayed in the english locale, how in the german?

it should be possible to use different tags in different languages
if you have already edited profile in one language copy tags to next language (speaker can remove and translate them) --> what does autosuggest suggest then? Only tags with current language?

conference organizer:

As a researcher/organizer you are visiting the site: https://speakerinnen.org/en/categories/10What kind of profile are you expecting to find

I am expecting the name, job description (if relevant), company (if relevant, could help), language/s, topics, level of the talk topics (beginner friendly, intermediate, advanced, keynote), (social) media link (twitter (!!!), github, blog, link to articles)
position in job: senior, junior, trainee, student, researcher, Phd, freelance (if relevant for the topic)
inspirational or technical talks- community "membership"
links to slide(s) / video(s) / stream(s) to the talks (if you click on the profile) What do you think of the content of the tag cloud below? Does it meet your expectations?The tag cloud has still lot's of German tags such as: Achtsamkeit, Frauen in Führungspositionen, Persönlichkeitsentwicklung, etc...
Would be great if German words could be filtered but it doesn't bother- And I didn't really understand why some words are bigger than others: Do you find more talks if the word has bigger letters?
And alphabetical order seems like a good idea

As a organizer you are looking for german or english language speaking people for the topic programmieren / programming.

English / doesn't have to be native
What kind of autosuggest do you expect?
When I am typing Andr...; it's suggested Android and it's exactly what I am expecting. Also when I am typing develop.., it autosuggests software developer. That seems logically to me. What kind of search results do you expect?

When I am clicking enter after typing developer. I would expect more than Countries, Cities, LanguagesI hoped for more tag suggestions such as: Java, frontend, backend, phython, etc...
Or basically I hoped that the systems would have asked me to be more specific

As a speaker you are editing your profile. How and where do you expect to add your tags if you have a german and english language account? How do you expect your profile to be displayed in the english locale, how in the german?  don't have a profile
--


Improve tests performance

Description
There are some tests related to fetch specifications, vocabularies from the internet, taking more time than expected. The performance was improved in one of the commits in this PR. Then the latest commits in it made it come down again.
Notes

Its using VCR cassettes to avoid hitting the internet repeated times.
It's inferring the type of file based on the content of the HTTP response from the provided url. This could be avoided if we add the possibility of specify that. Both from the UI and the backend.
The configuration profile tests takes time because it tests activating it, many time, and this triggers all the creation logic.

@richard0000 and @philbarker, as for bullet #3 (file type), I don't see any need for having to infer the file type.  Since we only process a limited set of schemas--CSV, XML Schema, JSON Schema, RDF Schema (JSON-LD)-- we can provide a dropdown pick list and require a selection on data entry.

@stuartasutton that would be great. Only if that would mean getting rid of type inferring on all places (mapper view - upload, all CP creation/edition views).
This change would mean several changes in the code, but will alleviate the tests and the overall performance of parsing files across the platform.
Please confirm, thanks.

I think we should do it (drop-down menu with the acceptable schema). Weren't there dropdown indicators in the first wireframes I created that launched the configuration profile work? I believe there were.
Phil?

I think inferring is complicated, e.g. a JSON file could be be a JSON Schema or a RDF Schema; and RDF Schema could be in JSON or turtle or even XML (assuming we accept turtle and RDF/XML, maybe we don't).  Not all webservers are properly configured to handle this. So I would go for setting these explicitly.

Already targeted in #172


[Tensor] FloatTensor class for 32-bit floating point

This PR includes creating the FloatTensor class which separates 32-bit floating point calculation from nntrainer::Tensor.
Changes proposed in this PR:

Create a FloatTensor class that only handles 32-bit floating point calculation.
Remove operations for Quantized Tensor.

Note that FloatTensor class is one of the steps in tensor refactoring, and the implementation of internal operation functions can vary depending on the situation. In addition, all operations have been verified with modification of unittest_nntrainer_tensor.

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


Update AspNetCoreRuntime package properties

Use common properties for owner/icon/copyright etc.

@Eilon
Shouldn't he be looking at this?

Many of these are normally set by the build. Is this package too special for that?

Added a reference to internal sdk, extracted common properties.

So this package will now just have the same metadata as everything else? That sounds good, though I wouldn't approve this PR for preview1 if that's all that's here. I assume this PR changes other more important things that we do need for Preview1? If so, approved.

@Eilon No, it's about description and other metadata.

Ok then approved.


Add real FFT

Designing a non-allocation API to handle components at the Nyquist frequency might be challenging. Should I just provide an allocation API for now?


Migrated SABnzbd sensor to asyncio and switched to pypi library

Description:
Created asyncio version of SABnzbd API library and published to PyPI. Migrated sabnzbd sensor to use asyncio and new pypi library.
Checklist:

[x] The code change is tested and works locally.

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Ok to merge when tests pass.

************* Module homeassistant.components.sensor.sabnzbd
E: 58, 4: Unable to import 'pysabnzbd.sabnzbd_api' (import-error)
E:130, 4: Unable to import 'pysabnzbd.sabnzbd_api' (import-error)
E:192, 8: Unable to import 'pysabnzbd.sabnzbd_api' (import-error)

Sorry guys, I'm not sure why I'm getting those errors. The package is on PyPI and everything is working locally. Am I missing something somewhere?

You have _init_.py file. Is it on purpose?

I think _init_.py does nothing. Python works fine without it, but pylint fails to parse the package. You can fix it by renaming the file to __init__.py

@andrey-git thank you for finding this. Man, what a bonehead mistake. I went ahead and just moved the classes into init.py for now to make the imports a little more concise.

Yeah, it's super flaky 😢


Is this still up?

Heya,
Is this still up? A readme.md and other documentation in setting this up would be great. This looks super interesting and it would be really helpful for students like me who use BB.
Thanks a lot! ☺

Hi Ian,
There has been few issues integrating the bot with BlackBoard mostly due to our school using an older BB version from 2017. The case could be different with your school. The bot does work, but needs to be optimized, and in your situation, you may need to change the way messages are extracted from your schools BB.
As of now the project is discontinued. If you want to further develop this project, I can release a README with all info you'd need (hopefully) during next week. Also, I have a friend that can update the bot and make implementation and development easier.
Thanks for showing interest 😎

Hey man,
That would be pretty great! I'm looking forward to the documentation and/or updates to the bot.
Thank you so much in advance! Stay safe and healthy~ 😊

Sorry for the delay, we were in the midst of our bachelor project/thesis. We just picked up the project recently, and hopefully, we can create a version 1.0 before losing our access to Blackboard. You are welcome to join the development of the bot. We have a discord server (see link in README.md) available if you want to chat or have any questions regarding, development, setup, new features etc.


Recommend minimal reproduction projects written in GDScript instead of C#

Many contributors don't have a Mono setup available, especially if compiling from source is required.
Minimal reproduction projects in GDScript are also better at isolating the actual bug, since it automatically rules out any possible C# integration issues.

I think we should also mention VisualScript in here somewhere. If it should be discouraged, we could change the opening part to be "Note for C# or VisualScript users", or otherwise we could change "written in GDScript" to "written in GDScript or VisualScript".

I think we should also mention VisualScript in here somewhere. If it should be discouraged, we could change the opening part to be "Note for C# or VisualScript users", or otherwise we could change "written in GDScript" to "written in GDScript or VisualScript".

It would be helpful to have visual script reproduction projects. @swarnimarun has been working hard on rebasing his prs for the submodules.

It would be helpful to have visual script reproduction projects. @swarnimarun has been working hard on rebasing his prs for the submodules.

@aaronfranke I think using visual scripting is fine as it's available by default, unlike C#.

@aaronfranke I think using visual scripting is fine as it's available by default, unlike C#.

Thanks!

Thanks!


specifiers for IP subjectAltNames are inconsistent

Hi,
When generating certificate signing requests where the subject alt name extension contains IP addresses one has to use the specifier IP but when inspecting the resulting request i.e. using the command line utility the entry is printed with IP Address as specifier.
This makes it unnecessary hard to write openssl.cnf files for requests that should use the same options as an existing request or certificate.
Skimming through https://github.com/openssl/openssl/blob/master/crypto/x509v3/v3_alt.c#L485 and https://github.com/openssl/openssl/blob/master/crypto/x509v3/v3_alt.c#L140 the same is true for dirName (printed as DirName) and RID (printed as Registered ID).
regards
christian

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Use redis as boker_url, can't get the right password

celery (3.1.24)
django-celery (3.1.17)
broker_url = "redis://1234@121@host:port/0"  if I use @ in password, I'll get error.

follow the doc properly and try to utilize latest releases. its not a django celery issue


[FEATURE] Inclusion of mathtools package in template cls file

I use the mathtools package to help identify equations I want to emphasize in my other LaTex files but cannot seem to get it to work with this template. Including the package in the packages.tex file throws a bunch of errors.
Without a bibliography, the error message is:
Undefined control sequence. \@calc@post@scan ...st@scan \else \def \calc@next
With a bibliography and a single citation, the error is:
I found no \citation commands
followed by the previous control sequence error.
I think including this package would require some alterations to the existing CLS file, but have not figured out how to resolve the problems myself, hence the issue submission. If there is a simpler solution, please let me know

Thanks @lizliv, I'll take a look at this soon as I can -- I'm pretty swamped at the moment. I'm not quite sure what it means to identify equations to identify in other latex files, but I'd encourage you to look into alternatives in the meantime!

Sorry for the lack of clarity! I just meant I've used the package before in my own LaTex documents. I like being able to put colorful boxes around the key equations in my derivations, but it certainly is not required and I am happy to use the template as-is to avoid formatting issues with my thesis.
I've tried to produce a minimal working example to recreate the error but haven't found the issue yet. I imagine mathtools has a dependency or loads a command name that conflicts with something in this template.

No worries, that's a cool feature! And you're probably right haha, there are lots of artifacts of previous needs in the template that need cleaning up at some point, but life gets the best of us!


Fix RobertaEmbeddings

First of all, the original implementation can define segment_embeddings depending on num_segments argument. Actually, their model(Roberta) didn't use segment_embeddings because they found the effectiveness of FULL/DOC SENTENCE setting of inputs.
And position_embeddings should use padding_idx to ignore padded inputs. Also the embedding matrix's size should be padding_idx + max_seq_length + 1. (e.g If padding_idx=1 and max_seq_length=512, maxtrix size = (1 + 512 + 1) = 514.
Last, position_ids should be made by considering the previous feature. Below is simple test to make position_ids to reflect padding_idx of input_ids
input_ids = torch.randint(0,1000,(3,10))
padding_idx = 0

### dummy padded input
input_ids[:,-2] = padding_idx
input_ids[:,-1] = padding_idx
input_ids[0][-3] = padding_idx
input_ids[-1][-3] = padding_idx

input_ids
>>> tensor([[946, 783, 399, 951, 496, 400, 350,   0,   0,   0],
            [905, 445, 410, 406, 526,   1, 255, 811,   0,   0],
            [815, 669, 813, 708, 475, 232, 190,   0,   0,   0]])

mask = input_ids.ne(padding_idx).int()
position_ids = (torch.cumsum(mask, dim=1).type_as(mask) * mask).long() + padding_idx

position_ids
>>> tensor([[1, 2, 3, 4, 5, 6, 7, 0, 0, 0],
            [1, 2, 3, 4, 5, 6, 7, 8, 0, 0],
            [1, 2, 3, 4, 5, 6, 7, 0, 0, 0]])

Codecov Report

Merging #1052 into master will increase coverage by 0.11%.
The diff coverage is 92%.

@@            Coverage Diff             @@
##           master    #1052      +/-   ##
==========================================
+ Coverage   79.57%   79.68%   +0.11%
==========================================
  Files          42       42
  Lines        6863     6881      +18
==========================================
+ Hits         5461     5483      +22
+ Misses       1402     1398       -4

Impacted Files
Coverage Δ

pytorch_transformers/modeling_bert.py
88% <100%> (+0.02%)
:arrow_up:

pytorch_transformers/modeling_roberta.py
77.51% <91.66%> (+1.62%)
:arrow_up:

pytorch_transformers/tokenization_bert.py
95.28% <0%> (+0.94%)
:arrow_up:

pytorch_transformers/file_utils.py
74.1% <0%> (+2.87%)
:arrow_up:

Continue to review full report at Codecov.

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

This looks reasonable to me but I'd need to take a better look at it.
Maybe @myleott do you have time to take a quick glance?


Pipeline execution time with 'image-classification' pipeline

Question
While calling the 'image-classification' pipeline we pass the image url. So this does a fetch of the image. So will the time taken to process the image include the download time of the image? So if the network is slow this may impact the pipeline performance. Is there a way  to use an image thats already been downloaded by the webpage for an image element?

To reduce the impact of Internet speed on pipeline performance, you can prefetch the image and provide a blob url to the pipeline:
let blob = await fetch(url).then(x=>x.blob())
let bloburl = URL.createObjectURL(blob)
await pipe(bloburl)


proposal: x/net/websocket: implement support for websockets over HTTP/2

Overview
I propose extending the x/net/websocket package to support connections made over HTTP/2. This will require no external changes for the server, but the client will need to expose a new mechanism for allowing users to request that HTTP/2 is used to make a connection.
Public Interface Changes
websocket.Config will gain a new HTTP2Transport member of type *http2.Transport
x/net/websocket will gain two new public error types: ErrBadpath and ErrBadHandshake
Having http2 in the name/type of a public member feels a little strange, but storing a generic http.RoundTripper makes it impossible to make sure that we use config.TlsConfig if the user provides one but the transport they provide does not have a TLSClientConfig, and additionally opens up the question of what happens if we are passed a http.Transport rather than a http2.Transport. If someone has even modernly strong opinions about a different color to paint this particular shed, I would love to hear them.
Implementation Notes
A strawman implementation based on the changes I'm proposing in https://github.com/golang/go/issues/53208 can be found at https://github.com/ethanpailes/golang-org-x-net/tree/ep/websocket-http2-try3. The main commit is https://github.com/ethanpailes/golang-org-x-net/commit/df38e5d6ac95add5640e29389b50d380277ed1f0, but I may push little tweaks on top of it.
Enough about the handshake has changed from HTTP/1.1 that the implementation I came up rolls entirely new handshake subroutines for the new transport version. Once the handshake is done, the framing mechanisms are all the same so we can just reuse all the existing infrastructure for that by wrapping out HTTP/2 streams in the right interfaces.
Related Issues
https://github.com/golang/go/issues/49918 contains initial discussion about HTTP/2 websocket support
https://github.com/golang/go/issues/53208 contains a proposal for adding SETTINGS_ENABLE_CONNECT_PROTOCOL support to x/net/http2, which is required to implement websocket HTTP/2 support.

CC @neild @bradfitz

one limitation on the websocket connection is going to be that it will not be able to set deadlins
https://github.com/golang/net/blob/0fccb6fa2b5ce302a9da5afc2513d351bd175889/websocket/websocket.go#L268

var errSetDeadline = errors.New("websocket: cannot set deadline: not using a net.Conn")

I don't really know if this can be a problem, just something to take into consideration

Yeah, that's a good point. I think ideally, the websocket APIs would accept a context to allow support for cancellation, but it's a bit tricky to implement given that HTTP/2 requires sharing a single TCP connection between multiple goroutines. The real fix for this likely involves extending x/net/http2 with a mechanism for setting deadlines for individual reads by adding some machinery so that all reads get routed through a central point that knows how to retry the read if it wasn't supposed to time out. Having a heap of wake times seems like it would work for this.
That's also a pretty big change, so it seems like it would make sense to address it in a separate effort.


fix: take the test CI Test (JDK, windows-latest)

I was curious why this was failing, but I was nervous with the failure.
If you make a malicious entry in a zip file of like C:/system/foo.bat - wouldn't this now pass? Maybe the root check I removed indeed has to be there, but I thought the canonical-ization would handle it.

Disabling automatic garbage collection
  "C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
Setting up auth

I see in the GitHub Action it is using C:\ so I wanna try and keep that. Otherwise how can we be sure Windows support is properly handled against zip slip? cc @pashamcr


No-op change to see baseline breakage on source compatibility tests

This is a no-op change to see which source compatibility tests are broken at baseline.
I'm seeing a lot of broken source compatibility tests in https://github.com/apple/swift/pull/32262, and I'd like to make sure none of them are due to my PR.

@swift-ci Please Test Source Compatibility

@swift-ci Please Test Source Compatibility

@swift-ci Please Test Source Compatibility


Capacitor 3 Not Compatible - Solved

Capacitor 3 Not Compatible. Will this support?

Hi, I found a work around to use this in the web, but i am a newbie in git i don't know how to share it with you

Hi<EMAIL_ADDRESS>you can mail.

i am so sorry for late answering, do you still need it ? i can email it now.

i am so sorry for late answering, do you still need it ? i can email it now.

Yup. please send. I am waiting

Solved
I realized there is a simple solution.

package.json > Capacitor 3+
"@capacitor-community/camera-preview": "^1.2.1",
"@capacitor/android": "^3.0.1",
"@capacitor/cli": "^3.0.1",
"@capacitor/core": "^3.0.1",

Use latest version
npm install @capacitor-community/camera-preview@latest
Capacitor Camera Preview Changes in Connections
import { Plugins } from "@capacitor/core"
const { CameraPreview } = Plugins;
import { CameraPreviewOptions, CameraPreviewPictureOptions, CameraPreviewFlashMode } from '@capacitor-community/camera-preview';

Other codes can remain the same.
I added androidmanifest.xml accesses and it works fine.
<!-- Permissions -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

This workaround is unofficial workaround


fix(android): correct padding to not clobber statusbar

Use SafeAreaView from react-native-safe-area-context
everywhere. SafeAreaView from react-native probably only protects
against the iPhone notch.
Closes: #180

react-native-safe-area-context seems to require that you wrap the app in a SafeAreaProvider. Care to take a look at it? 😄
https://github.com/th3rdwave/react-native-safe-area-context

Closing this as I fix everything in this PR, but I almost missed newsItem and auth component if I hadn't looked at this. Thanks!
https://github.com/kolplattformen/skolplattformen/pull/249


Unauthorized exception when trying to download a JSON

We use an s3 bucket with authentication, but when trying to download a JSON file using 'DownloadsManager.DownloadString' I get an (401) Unauthorized exception. In the 'FileDownloader' you have the credentials exposed, but the 'DownloadsManager' does not make use of these credentials.

I exposed the NetworkCredentials for DownloadsManager too. Now you can just inject your credentials in the UpdatingContext object.
It will be pushed together with the next release.


Uses EnableAutoConfiguration not SpringBootApplication to avoid scanning

To reduce problems in layering on this example, we remove the
SpringBootApplication annotation in favor of EnableAutoConfiguration
as SpringBootApplication scans and instantiates beans in the package.
We don't want the frontend to scan and load beans from the backend's
package basically.

thx for the tip @marcingrzejszczak


still have limited access and no PWM

So in the past I found I needed to load the right cape-overlay to get access to proper pins. And just the other day, based off a script I wrote, I had access to 42 pins for input/output. However, I still can't seem to get access to the PWM and now that number of accessible pins has dropped from 42 to 25.
I'm getting a lot of "BeagleBone does not allow ANALOG_OUTPUT for pin: P8_07" and "Error reading directory /sys/devices/platform/ocp/48304000.epwmss/48304200.ehrpwm/pwm".
Here are my slots:
$ cat $SLOTS
 0: PF----  -1
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universaln

Here is the script (test-octalbonescript-pins.js) I wrote to test:
#!/usr/bin/env node

const obs = require('octalbonescript');
const fs = require('fs');
const path = require('path');
const pins = Object.keys(obs.pinmap)
	.filter((x) => /^USR\d$|^P[89]_\d\d$/.test(x));

// console.log(pins);

const results = pins
	.map((pin) =>
	{
		const modes = ['OUTPUT', 'INPUT_PULLUP', 'INTPUT_PULLDOWN', 'ANALOG_OUTPUT', 'INPUT']
			.filter((mode) =>
			{
				let success = true;
				try
				{
					success = obs.pinModeSync(pin, obs[mode]);
					success = !!success;
				}
				catch (e)
				{
					success = false;
				}
				console.log(`   ${pin} as ${mode}? ${success ? 'pass' : 'fail'}`);
				return success;
			});
		return { pin, modes };
	})
	.filter((obj) => obj.modes.length > 0);

fs.writeFileSync(path.join(__dirname, 'results_pinMode.json'), JSON.stringify(results));

With cape-uninversaln loaded, I run node test-octalbonescript-pins.js | grep pass:
$ node test-octalbonescript-pins.js | grep pass
   USR0 as OUTPUT? pass
pinMode only supports GPIO output for LED pin: USR0
BeagleBone does not allow ANALOG_OUTPUT for pin: USR0
pinMode only supports GPIO output for LED pin: USR0
   USR1 as OUTPUT? pass
pinMode only supports GPIO output for LED pin: USR1
BeagleBone does not allow ANALOG_OUTPUT for pin: USR1
pinMode only supports GPIO output for LED pin: USR1
   USR2 as OUTPUT? pass
pinMode only supports GPIO output for LED pin: USR2
BeagleBone does not allow ANALOG_OUTPUT for pin: USR2
pinMode only supports GPIO output for LED pin: USR2
   USR3 as OUTPUT? pass
pinMode only supports GPIO output for LED pin: USR3
BeagleBone does not allow ANALOG_OUTPUT for pin: USR3
pinMode only supports GPIO output for LED pin: USR3
   P8_07 as OUTPUT? pass
   P8_07 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P8_07
   P8_07 as INPUT? pass
   P8_08 as OUTPUT? pass
   P8_08 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P8_08
   P8_08 as INPUT? pass
   P8_09 as OUTPUT? pass
   P8_09 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P8_09
   P8_09 as INPUT? pass
   P8_10 as OUTPUT? pass
   P8_10 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P8_10
   P8_10 as INPUT? pass
   P8_13 as OUTPUT? pass
   P8_13 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48304000.epwmss/48304200.ehrpwm/pwm
   P8_13 as INPUT? pass
   P8_19 as OUTPUT? pass
   P8_19 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48304000.epwmss/48304200.ehrpwm/pwm
   P8_19 as INPUT? pass
   P9_11 as OUTPUT? pass
   P9_11 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_11
   P9_11 as INPUT? pass
   P9_13 as OUTPUT? pass
   P9_13 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_13
   P9_13 as INPUT? pass
   P9_14 as OUTPUT? pass
   P9_14 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48302000.epwmss/48302200.ehrpwm/pwm
   P9_14 as INPUT? pass
   P9_15 as OUTPUT? pass
   P9_15 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_15
   P9_15 as INPUT? pass
   P9_16 as OUTPUT? pass
   P9_16 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48302000.epwmss/48302200.ehrpwm/pwm
   P9_16 as INPUT? pass
   P9_17 as OUTPUT? pass
   P9_17 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_17
   P9_17 as INPUT? pass
   P9_18 as OUTPUT? pass
   P9_18 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_18
   P9_18 as INPUT? pass
   P9_21 as OUTPUT? pass
   P9_21 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48300000.epwmss/48300200.ehrpwm/pwm
   P9_21 as INPUT? pass
   P9_22 as OUTPUT? pass
   P9_22 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48300000.epwmss/48300200.ehrpwm/pwm
   P9_22 as INPUT? pass
   P9_23 as OUTPUT? pass
   P9_23 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_23
   P9_23 as INPUT? pass
   P9_24 as OUTPUT? pass
   P9_24 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_24
   P9_24 as INPUT? pass
   P9_25 as OUTPUT? pass
   P9_25 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_25
   P9_25 as INPUT? pass
   P9_26 as OUTPUT? pass
   P9_26 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_26
   P9_26 as INPUT? pass
   P9_27 as OUTPUT? pass
   P9_27 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_27
   P9_27 as INPUT? pass
   P9_28 as OUTPUT? pass
   P9_28 as INPUT_PULLUP? pass
   P9_28 as INPUT? pass
   P9_29 as OUTPUT? pass
   P9_29 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48300000.epwmss/48300200.ehrpwm/pwm
   P9_29 as INPUT? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_30
   P9_31 as OUTPUT? pass
   P9_31 as INPUT_PULLUP? pass
Error reading directory /sys/devices/platform/ocp/48300000.epwmss/48300200.ehrpwm/pwm
   P9_31 as INPUT? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_33
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_35
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_36
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_37
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_38
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_39
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_40
   P9_41 as OUTPUT? pass
   P9_41 as INPUT_PULLUP? pass
BeagleBone does not allow ANALOG_OUTPUT for pin: P9_41
   P9_41 as INPUT? pass
   P9_42 as OUTPUT? pass
   P9_42 as INPUT_PULLUP? pass
   P9_42 as INPUT? pass

I get the following JSON results:
[{"pin":"USR0","modes":["OUTPUT"]},{"pin":"USR1","modes":["OUTPUT"]},{"pin":"USR2","modes":["OUTPUT"]},{"pin":"USR3","modes":["OUTPUT"]},{"pin":"P8_07","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P8_08","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P8_09","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P8_10","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P8_13","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P8_19","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_11","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_13","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_14","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_15","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_16","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_17","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_18","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_21","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_22","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_23","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_24","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_25","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_26","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_27","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_28","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_29","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_31","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_41","modes":["OUTPUT","INPUT_PULLUP","INPUT"]},{"pin":"P9_42","modes":["OUTPUT","INPUT_PULLUP","INPUT"]}]

Furthermore when I $ ls /sys/devices/platform/ocp/*.epwmss/ I get:
$ ls /sys/devices/platform/ocp/*.epwmss/
/sys/devices/platform/ocp/48300000.epwmss/:
48300100.ecap  48300200.pwm  driver_override  of_node  subsystem
48300180.eqep  driver        modalias         power    uevent

/sys/devices/platform/ocp/48302000.epwmss/:
48302180.eqep  48302200.pwm  driver  driver_override  modalias  of_node  power  subsystem  uevent

/sys/devices/platform/ocp/48304000.epwmss/:
48304100.ecap  48304200.pwm  driver_override  of_node  subsystem
48304180.eqep  driver        modalias         power    uevent

I tried adding more cape overlays to no avail:
$ grep -o 'INPUT_' results_pinMode.json | wc -l
25
$ cat $SLOTS
 0: PF----  -1
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universaln
 6: P-O-L-   1 Override Board Name,00A0,Override Manuf,BB-ADC
 7: P-O-L-   2 Override Board Name,00A0,Override Manuf,BB-PWM0
 8: P-O-L-   3 Override Board Name,00A0,Override Manuf,BB-PWM1
 9: P-O-L-   4 Override Board Name,00A0,Override Manuf,BB-PWM2

I rebooted and tried with univ-bbgw overlay and was able to get back control of my 42 pins back. Although, when removing the cape, the kernel panics and you have to hard reboot. And then its back to 25.

This library is abandoned. Please check notice in README for further information.


[src/core/writer.js] Support null values in the writeValue function

This fixes something that I noticed, having recently looked at both the Lexer.getObj and writeValue code.
Please note that I unfortunately don't have an example of a form where saving fails without this patch. However, given its overall simplicity and that unit-tests are added, it's hopefully deemed useful to fix this potential issue pro-actively rather than waiting for a bug report.
At this point one might, and rightly so, wonder if there's actually any real-world PDF documents where a null value is being used?
Unfortunately the answer is yes, and we have a couple of examples in the test-suite (although none of those are related to forms); please see: issue1015, issue2642, issue10402, issue12823, issue13823, and pr12564.

/botio unittest


Configurable mime-types for upload-batch

Is your feature request related to a problem? Please describe.

When using a storage account as a static file host and uploading a large set of files, it is really annoying when the content type is guessed wrong. Especially since these metadata seems impossible to update via az.
Example: woff2 file should (since 2017) have content type font/woff2, but is uploaded as application/octet-stream when using az storage blob upload-batch.
Describe the solution you'd like

The ability to provide the path to a custom mime-types file (hopefully with the same syntax as other mime.types files) or clear instructions (across OS) on how to configure . Especially how to configure the Docker image mcr.microsoft.com/azure-cli to work with custom mime-types.
Example: az storage blob upload-batch --source ./folder --destination static --connection-string <cstr> --mime-types ./my-mime-types.conf
Describe alternatives you've considered

Beyond programming my own bulk uploader, I don't have any suggestions for workarounds.
Additional context

add to S170

Hi @devbeard ,  you can consider specifying --content-type to configure MIME type when uploading. If there is other requirement, feel free to let me know.

Hi @devbeard ,  you can consider specifying --content-type to configure MIME type when uploading. If there is other requirement, feel free to let me know.

Hoping I didn’t misunderstand this, but this is only true for uploads and batch uploads if you upload a single file type. If you for example need to upload a folder of CDN content (Microsoft’s suggested architecture), you have .js files, images, static yaml files and so on. A single mime type is not going to help this scenario.

@devbeard Thanks for your detailed information! We will consider the feature you proposed and prioritize it after internal discussion.

will consider the implementation when migrating track 2.

If someone else comes across this thread, I managed to sort of get it working, but I don't think it is a perfect workaround, and I hope MSFT continues with a solution on their end as well @Juliehzl .
Workaround: By leveraging that I am root in my container that I deploy to the storage account from (build pipeline), I change the mimetypes in the system on the fly. I have a mimetype file in my CDN repository that I utilize to version control the mapping.
touch /etc/mime.types
cat ./my-mime-types | tee -a /etc/mime.types
az storage blob upload-batch --destination $STR_CONTAINER --source ./cdn --connection-string "$CDN_CSTR"

AzCli (and the mimetype python module, whos defaults are a bit dated) seems to have code for user folder lookup of a mimetype file, but I could only get the system replacement working. See these lines: https://github.com/python/cpython/blob/master/Lib/mimetypes.py#L42-L52
Example contents of my repo mimetype file:
font/ttf                     ttf
font/woff                    woff
font/woff2                   woff2
image/x-icon                 ico
text/javascript              js
application/xml              xml
application/octet-stream     map

I am also interested in this feature. I would love to be able to specify either a key/value pair as a parameter or a file path that contains a key/value pair.

I am using Azure CLI to batch-upload within a Github Workflow.
Turns out you can modify the /etc/mime.types file using a shell script.
Thanks for the idea @devbeard
name: Run Shell Script Manually and Display File

on:
  workflow_dispatch:

jobs:
  run-shell-script:
    runs-on: ubuntu-latest
    steps:
    - name: Prepend to /etc/mime.types and Display Content
      run: |
        sudo bash -c '{
          echo "audio/wav       wav"
          echo "text/plain      map"
          echo "text/xml        xml"
        } > /tmp/prepended_lines
        cat /tmp/prepended_lines /etc/mime.types > /tmp/mime.types
        mv /tmp/mime.types /etc/mime.types'
        cat /etc/mime.types

Any new ideas/workarounds?
I ended up using AzCopy for this as it has MIME type detection done automatically


"TypeError: Not JSON Serializable: Tensor" when save model!

Hi,
I just meet a problem when add a Variable to model as a changable weight for loss. But I have error when I save model. I don't find any way work for this problem.
This is my code. if I don't use changable weights, it works good.
model.alpha = tf.Variable(args.alpha, trainable=False, name='alpha', dtype=tf.float32) model.compile(optimizer=opt, loss=['mae', TVdist], loss_weights=[1.0 / (1 + model.alpha), model.alpha / (1 + model.alpha)])
This is my error info:
Traceback (most recent call last):
File "train_sgdnet_change.py", line 321, in
save_best_only=False), reduce_lr, AlphaChange])
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/training.py", line 1418, in fit_generator
initial_epoch=initial_epoch)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/training_generator.py", line 251, in fit_generator
callbacks.on_epoch_end(epoch, epoch_logs)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/callbacks.py", line 79, in on_epoch_end
callback.on_epoch_end(epoch, logs)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/callbacks.py", line 457, in on_epoch_end
self.model.save(filepath, overwrite=True)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/network.py", line 1090, in save
save_model(self, filepath, overwrite, include_optimizer)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/saving.py", line 382, in save_model
_serialize_model(model, f, include_optimizer)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/saving.py", line 138, in _serialize_model
}, default=get_json_type).encode('utf8')
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/json/init.py", line 251, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
File "/home/bpfsrw1/wangmingkai/python_env/lib/python2.7/site-packages/keras/engine/saving.py", line 74, in get_json_type
raise TypeError('Not JSON Serializable: %s' % (obj,))
TypeError: Not JSON Serializable: Tensor("truediv:0", shape=(), dtype=float32)
This is my environment:
keras 2.2.4
tensorflow 1.10.1
Looking forward for a solution!
Aaron

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Add another region without inbound SMTP

I figured out how to do this. But it doesn't make sense, because CloudFront only supports 2 origins per group.

Did the leg work. But this fails due to cloud front only allowing 2 members in a group.
https://github.com/JayNewstrom/InboundEmail/tree/no-ses-inbound-region


Update the README file

Hey @kmg7, you've created the repo at #1. Now this is the time to update the README


Enable linter tooltips to overflow

Not sure if this is future proof, since it uses the gutter-name="linter-ui-default" attribute selector. Will there be something like linter-ui-custom or so? Then it won't work. Well, I guess the custom UI styles would need to do the same.

Awesome, Thanks :clap:


merge from template-coveralls

package.json

chore(deps): add ^7.22.0 remove ^7.21.3 (devDependencies.npm-pkgbuild)

:tada: This PR is included in version 5.0.38 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v5.0.38

Your semantic-release bot :package::rocket:


Apply service graph template uncertainty.

Good day,
After you have created a service graph template in ACI you have to right click it to and click apply. This apply option does not seem to be available from the module.
Is it anything that I dont know, or is this not implemented per now?
Best regards

The "right-click apply" is essentially a wizard to create a device selection policy. See: https://developer.cisco.com/docs/nexus-as-code/#!device-selection-policy

Perfect! Thank you so much for the prompt response😄


Register PTA agent PowerShell example updated

The most current release of the PTA agent installer does not contain a module named "AppProxyPSModule". The correct module name is "PassthroughAuthPSModule". Updated the referenced module name in code line 146.

@Apoc70 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Feature/3875 import nsps4t summary compliance period 4th quarter data

Feel free to merge after resolving conflicts!a


Compatibility matrix: should we add the maven version ?

In workshops, we always face some people having the wrong maven version for developing. I wonder if it would make sense to include in the compatibility matrix ?

They must have something really old. I wonder how old it must be to cause real problems?


Encountering error in GCP App Engine

This seems the relevant error, full traceroute attached:
AttributeError: 'module' object has no attribute 'DEFAULT_MAX_REDIRECTS'

Front end / app error 500s currently - has not yet successfully run. Perhaps also related to the runtime or other selected/default/native options.

Which version of pip are you using? You might be using pip for Python 3 and hence installing py3 version of dependencies which are incompatible with gae py27 runtime.
Remove the old lib directory, run pip install -t lib -r requirements.txt again (make sure this pip is for python 2.7, you can check with pip -V), and deploy
Let me know if this resolves your problem :-)

I'll close this for now. Let me know if the issue still exists


Local Node Admin Hostname

In order to deconflict the local node management UI from the chain hosted UI on the same http server we must define how things map.
Current mapping:
localhost => local admin panel
hostname => common-sys.hostname  via mirroring the content
common-sys.hostname => clone of hostname (could cause cookie problems, etc)
${account_name}.hostname works for all valid account names

Proposed Mapping:
localhost => local admin panel
-admin.hostname => local admin panel if connecting from localhost, else presents a login prompt asking for node password
${account_name}.hostname works for all valid account names
hostname redirects to common-sys.hostname rather than server a clone of common-sys.hostname

account names cannot start with '-' so any subjective node hostnames can start that way.
Alternative proposal:
admin.-.hostname

This makes all local subdomains a subdomain of '-.hostname' and allows us to add more subjective subdomains in the future.
Alternative proposal 2:
https://hostname => redirect to => https://common-sys.hostname/
https://hostname/admin does not redirect and works like -admin.hostname or admin.-.hostname

The downside to this approach is that there is only one valid subdomain security level for local subjective endpoints.

I don't think that the goal of making the admin API non-conflicting with any possible on-chain service is particularly compelling. There are a few other names that are reserved for specific purposes as well.

The name that we choose is user-visible, so aesthetics matters. Both the proposed mapping and alternative proposal are ugly, and probably harder to remember.
For TLS, adding an additional level of subdomains requires adding it to the certificate subject.
Alternative proposal 2 is definitely a bad idea.  It implies that root domain is served from the admin API and the admin API provides a redirect. This makes managing access control more complex and easier to mess up.

Another reason not to use -admin: -admin.hostname at the beginning of a line in plain text looks like it's intended to be a bullet point


Relational and conditional constraints

I really enjoy using frictionless to validate my data (resource) based on a table schema.
I like the simplicity of describing the fields type and its constraints. However, the constraints I found in the documentation are sometimes not enough.
Is there a way to implement relational and conditional constraints?
Example: you have two columns, startDate and endDate. You want to check your data satisfy a.o. this constraint:
(endDate >= startDate) or (endDate  == startDate == NULL). How to write it in a table.schema?
Thanks in advance!

Hi @damianooldoni,
There is a Row Constraint - https://framework.frictionlessdata.io/docs/checks/row.html#row-constraint (it's not a part of the standards and works only with Frictionless Framework)
You can have a resource looking like this:
path: table.csv
schema: <schema>
checklist:
  checks:
    - type: row-constraint
      formula: field1 > field2


Spelling mistake

There is a typo in the 	"Receives events for a blob named file.txt i any path."

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

ID: b7ee5166-ff40-f4ed-ce07-5312f935e388
Version Independent ID: 68f01b43-e3b2-003b-24cb-446a08aa0c1b
Content: Create event-based triggers in Azure Data Factory
Content Source: articles/data-factory/how-to-create-event-trigger.md
Service: data-factory
GitHub Login: @douglaslMS
Microsoft Alias: douglasl

@fadymach Thanks for pointing out the issue, the issue has been addressed in the below PR: https://github.com/MicrosoftDocs/azure-docs/pull/25287
The changes should be live EOD or tomorrow. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.


Redirection to the log-in page after successful log-in

I am using this sample as is but it fails to redirect to the contact page after authentication.
Downloaded the sample, ran and opened Contact info page.
It directs me to the log-in page and as I enter the credentials and press enter it opens the log-in page again.
I debugged and verified if it logged-in or not. It did, it authenticated user principal with it's claims but is redirected again to the log-in page.
I am using:
VS 2017
Asp.net core 2.1
Razor pages

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

ID: d2229fc6-f8c8-952e-e567-b1d5a463055a
Version Independent ID: b18a015b-914d-f014-f711-120d208904d9
Content: Use cookie authentication without ASP.NET Core Identity
Content Source: aspnetcore/security/authentication/cookie.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @sheikh-nouman ... The last time I worked on this topic, the sample worked. I'll take a look now and get back to you. Sometimes the framework changes and a sample will flake out. Stand-by ... I'll get back to you shortly.

@sheikh-nouman I'm not able to repro that here ... I went to the Contact page, was redirected to the login, logged in, and was redirected to the Contact page. It seems ok here ...

Seems ok. Did you use the login username of<EMAIL_ADDRESS>with any password?

Hello, I am also having the same issue, downloaded the project, run it entered correct email but the page redirects to login back again as if the user. Can this be checked please?

Hello @umair-me ... please open a new issue for this topic using the Content feedback button at the bottom of the topic. You can reference this issue by mentioning #9638 in the opening comment.


Updatetrace fix

Fixes #175

@JackUrb thanks for reviewing. The issues have been addressed.

Thanks for the contribution!


Fix Private DNS Zones Bug (#695)

Overview/Summary
This PR Fixes the  Private DNS Zones Bug #695
Related Issues/Work Items
Fixes #695
This PR fixes/adds/changes/removes

Fixes #695

Breaking Changes
A number of breaking changes

Draft Release Notes
The local private DNS zones modules (privateDnsZones.bicep) has been replaced in the networking related modules in this repo with the AVM Pattern module of avm/ptn/network/private-link-private-dns-zones to resolve bug #695.
This has meant some breaking changes to each of the networking modules that are detailed below.
privateDnsZones.bicep

This module has been removed as of v0.20.0 and replaced with the AVM Pattern Module of avm/ptn/network/private-link-private-dns-zones. Please use this module going forward.

hubNetworking.bicep & hubNetworking-multiRegion.bicep

parPrivateDnsZones default value changed to an empty array ([])

Only enter values in here if you want to override the defaults in the underlying AVM pattern module. See: https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/network/private-link-private-dns-zones#parameter-privatelinkprivatednszones

parPrivateDnsZoneAutoMergeAzureBackupZone removed from module
parVirtualNetworkResourceIdsToLinkTo added to module, you can prefer to use this parameter instead of parVirtualNetworkIdToLink & parVirtualNetworkIdToLinkFailover if you wish (they are automatically all merged together by the module anyway)
The value returned in outPrivateDnsZones has changed

From:
[
  {
    "name": "privatelink.api.azureml.ms",
    "id": "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/privateDnsZones/privatelink.api.azureml.ms"
  },
  {
    "name": "privatelink.notebooks.azure.net",
    "id": "subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/privateDnsZones/privatelink.notebooks.azure.net"
  },
  …
]

To:
[
  {
    "pdnsZoneName": "privatelink.api.azureml.ms",
    "virtualNetworkResourceIdsToLinkTo": [
      "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/virtualNetworks/alz-hub-uksouth"
    ]
  },
  {
    "pdnsZoneName": "privatelink.notebooks.azure.net",
    "virtualNetworkResourceIdsToLinkTo": [
      "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/virtualNetworks/alz-hub-uksouth"
    ]
  },
  …
]

vwanConnectivity.bicep

parPrivateDnsZones default value changed to an empty array ([])

Only enter values in here if you want to override the defaults in the underlying AVM pattern module. See: https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/network/private-link-private-dns-zones#parameter-privatelinkprivatednszones

parVirtualNetworkIdToLink & parVirtualNetworkIdToLinkFailover removed from module and replaced with parVirtualNetworkResourceIdsToLinkTo
The value returned in outPrivateDnsZones has changed

From:
[
  {
    "name": "privatelink.api.azureml.ms",
    "id": "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/privateDnsZones/privatelink.api.azureml.ms"
  },
  {
    "name": "privatelink.notebooks.azure.net",
    "id": "subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/privateDnsZones/privatelink.notebooks.azure.net"
  },
  …
]

To:
[
  {
    "pdnsZoneName": "privatelink.api.azureml.ms",
    "virtualNetworkResourceIdsToLinkTo": [
      "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/virtualNetworks/alz-hub-uksouth"
    ]
  },
  {
    "pdnsZoneName": "privatelink.notebooks.azure.net",
    "virtualNetworkResourceIdsToLinkTo": [
      "/subscriptions/<subID>/resourceGroups/<rgID>/providers/Microsoft.Network/virtualNetworks/alz-hub-uksouth"
    ]
  },
  …
]

Testing Evidence

As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[x] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues
[x] (ALZ Bicep Core Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated one or more of the following tests (if required)

Unit
Linting
E2E (End-To-End)
ValidateAzCloud (Base validation in Azure Cloud)
ValidateMcCloud (Base validation in Azure China Cloud)

[x] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Wiki Docs etc.)
[x] If relevant, created or updated Code Tours here

@oZakari & @sebassem would appreciate a review here. Especially around the accelerator and multi region angle

LGTM , should we add an example specifically for multi-region to make it clear how to add region-aware private dns zones ?

@sebassem is this not already in the hub spoke multi-region, where i call the DNS zones twice with a different location.
I actually plan on adding the feature to my AVM modules to make it a simpler toggle

/azp run validateazcloud


Fix STS Token API Response

Description

Fix STS Token API Response Status 200.
Fix STS Token API Response Body Schema.

Closes #294
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

I'll schedule this fix for merging.

@hemantxpatel hi, please do an interactive rebase and change the names of the commits to comply with our naming convention:
fix: STS token API response
fix: test cases


Can't use an apostrophe in the summary field for an article

When using an apostrophe in the summary field of an article. The page fails to build.
I tried escaping the character, but that doesn't seem to work.
Probably something frontmatter related

Using ’ instead of ' worked as well. Saw that in Frank's article he did that


Need profile for ERC2303-W wifi cct led strip controller

Hi,
Happy New Year.
Attached is the firmware for ERC2303-W wifi cct led strip controller.
https://www.iebelong.com/c2303-smart-dimmer/
Attached is the binary dump.
Tuya mcu version 2.0.2.
ERC2303 CB2S wifi cct led strip controller - 2.0.2.zip

Added as EBELONG ERC2303-W CCT Strip Actuator


Update the function index for the docs

This PR fixes and extends the API function index to reflect recent changes in the codebase.

bors r+


Sounds

It seems that in order to have sounds in ReactJS very easily. We need a library called react-sound.
Just want to hear some interaction sounds. I can add the audio files as needed.

And seeing as it's basically the weekend now, I'm sure we got a bit more time to code.

#63


Outdated information regarding SSO Capability with Power BI Gateway, Snowflake, and Power BI Service

This page need to be updated to cater for the new capabilities of the Power BI On-Premises Gateway.
Specifically, this statement is now incorrect:
Configuring a Dataset with AAD

Because of the way that Power BI works, SSO will only work when no data sources are run through the on-premises data
gateway.

The newest release of the Power BI On-Premises Gateway does support AAD SSO passthrough. There is a new Power BI tenant setting that needs to be configured - "Azure AD Singe Sign-On (SSO) for Gateway.
Announcing data gateway support for Single Sign-On (SSO) with Azure Active Directory

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

ID: 328a161c-b51e-05d1-c185-cb244547c3f3
Version Independent ID: 0bef7bb0-541e-a74b-0f68-359690ae8b8e
Content: Connect to Snowflake with Power BI - Power BI
Content Source: powerbi-docs/connect-data/service-connect-snowflake.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @nzregs-snowflake -- thanks for bringing this to our attention! Assigned to the writer to investigate.

Thanks @maggiesMSFT !

Great - thanks for bringing this to our attention @nzregs-snowflake. The article will be updated with the next Docs build. Thanks!


using search engine

Description of the new feature / enhancement
It will be used some variable like for bing it will be b?.
Thank You
Scenario when this would be used?
It will be used for instant search.
Supporting information
No response

Duplicate of #3245

Thanks for your suggestion! This has been raised in #3245. To centralize the discussion thread, please go to that thread for discussion.


This page seems to be an article for Hybrid MDM.

Since it is unsuitable for Co-Management, please add a notice at the top of the page as soon as possible.

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

ID: 202c6d0a-3d3f-f5dc-b115-4542f167c08a
Version Independent ID: 91a495ab-5f58-bdf9-1147-d1ab98900b28
Content: Enroll devices with device enrollment manager  - Configuration Manager
Content Source: sccm/mdm/deploy-use/enroll-devices-with-device-enrollment-manager.md
Product: configuration-manager
Technology: configmgr-hybrid
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @buhibu9 for the feedback. We added a deprecation notice to the top of articles that had a significant number of page views, but not all hybrid MDM articles. But easy enough to add one here, I'll do that now.

The article will update live tomorrow with a notice at the top.

Hi aczechowski,
Thank you for your quick response!


arch/risc-v: move REGLOAD/REGSTORE macro to riscv_internal.h

Summary
Improve RISC-V common code usage
Impact
Should not be any. Refactoring only
Testing
Pass CI

There is a build failure:
In file included from common/riscv_pmp.c:34:
common/riscv_pmp.c: In function 'pmp_read_region_cfg':
Error: common/riscv_internal.h:155:20: error: declaration of 'tmp' shadows a previous local [-Werror=shadow]
unsigned long tmp;
^~~
common/riscv_pmp.c:74:21: note: in expansion of macro 'READ_CSR'
uintptr_t tmp = READ_CSR(reg);
^~~~~~~~
common/riscv_pmp.c:233:16: note: in expansion of macro 'PMP_READ_REGION_FROM_REG'
return PMP_READ_REGION_FROM_REG(region, pmpcfg0);
^~~~~~~~~~~~~~~~~~~~~~~~
common/riscv_pmp.c:74:15: note: shadowed declaration is here
uintptr_t tmp = READ_CSR(reg);
^~~
common/riscv_pmp.c:233:16: note: in expansion of macro 'PMP_READ_REGION_FROM_REG'
return PMP_READ_REGION_FROM_REG(region, pmpcfg0);
Please, address this failure prior to merge.

I will fix the build in 1h

LGTM, let's wait for CI and then please merge this ASAP so I can resolve the upcoming merge conflicts. Thanks!

Maybe my inexperience with GH review process, but should I mark the files manually as "reviewed" or can that be done "as a bunch", I press the approve button but it does not show in the approval list ?

Maybe my inexperience with GH review process, but should I mark the files manually as "reviewed" or can that be done "as a bunch", I press the approve button but it does not show in the approval list ?

The overall approve is enough and I see your approval in approval list.

@masayuki2009 San, could you please review and merge?


Filenames with forward slash (/) create erroneous directories upon download

Suppose you have a file in Google Drive named:
assets-cdn.github.com/images/modules/logos_page/Octocat.png
$ gdrive download 0BxsqC-<redacted>
Downloading assets-cdn.github.com/images/modules/logos_page/Octocat.png -> assets-cdn.github.com/images/modules/logos_page/Octocat.png
Downloaded 0BxsqC-<redacted> at 35.4 KB/s, total 35.4 KB
$ tree
└── assets-cdn.github.com
└── images
    └── modules
        └── logos_page
            └── Octocat.png

This is behavior is suboptimal. Perhaps replace the forward slashes with underscores or another token to preserve as closely as possible the filename in Google Drive?

n.b. the same problem occurs with gdrive export ....

this is the case with all the windows reserved characters:
< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)


--pr-diff isn't including the changed files

The model doesn't see them:

@granawkins want to take a look at this? I can look at too if you don't get a chance soon


chore(build): stop bundling deps into builds

In the same vein as https://github.com/mostjs/hold/pull/22, this stops bundling deps into each package.  Without this change, for example, we end up with a copy of @most/prelude functions in @most/core, @most/disposable, and @most/scheduler.  An application that uses @most/core would ultimately end up with 3 copies of some @most/prelude functions!  I verified this using the example in #139.  In that tiny example, it reduced the (unminified and non-gzipped) size by 10k.  Perhaps more importantly, it ended up with no duplicate functions.

Excuse my ignorance on the subject, but how does this work? How are the functions used from @most/prelude in, e.g., @most/core if they "aren't available"?

@Frikki They should be added on a page if you use umd. Or they will be bundled as dependencies with rollup/webpack/browserify automatically without duplicating.


create and modify

Hello,
I noticed that :
if I create a new file in the monitored folder the watcher send me two event
create
modify
Why?

I can confirm this. When I exclusivley enable 'write_close' in the config file, I get two events when I copy or create a file: create and write_close. I want to trigger write_close only. I skimmed through the code and either the problem occurs during gathering the events via masks or within pynotify.

I dug into this a little bit deeper and there is something completely wrong. I let watcher output event.maskname for every event it processed. Remember: in my case it processed a CREATE event and a WRITE_CLOSE event even if I required only WRITE_CLOSE. Look at the following:
Jan 12 18:11:43 nsa310 python2[12827]: Filme_create: Creating: /mnt/usbdisk/Filme/mama: IN_CREATE
Jan 12 18:11:43 nsa310 python2[12827]: Filme_close: Creating: /mnt/usbdisk/Filme/mama: IN_CREATE
Jan 12 18:11:43 nsa310 python2[12827]: Filme_close: Close write: /mnt/usbdisk/Filme/mama
Filme_create is a section configured to be triggered at CREATE. Filme_close to be triggered at WRITE_CLOSE. So Filme_create works correctly. It is triggered on a create event and this is shown in the output. However, Filme_close is triggered on a create event when it shouldn't and for the second triger, which should be the WRITE_CLOSE, it does not report any trigger maskname. Smells very fishy to me. Apparently it worked before for most of the people because most of them are interested in CREATE only.


[coc.nvim]: UnhandledRejection: write EPIPE

After installing coc-lua (same issue with coc-sumenko-lua), neovim will show these errors when opening .lua files:
[coc.nvim]: UnhandledRejection: write EPIPE
Error: write EPIPE
    at afterWriteDispatched (internal/stream_base_commons.js:156:25)
    at writeGeneric (internal/stream_base_commons.js:147:3)
    at Socket._writeGeneric (net.js:798:11)
    at Socket._write (net.js:810:8)
    at writeOrBuffer (internal/streams/writable.js:358:12)
    at Socket.Writable.write (internal/streams/writable.js:303:10)
    at /home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:34:3107
    at new Promise (<anonymous>)
    at WF.write (/home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:34:3028)
    at fC.doWrite (/home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:35:1698)

[coc.nvim]: UnhandledRejection: Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at new NodeError (internal/errors.js:322:7)
    at Socket.Writable.write (internal/streams/writable.js:294:11)
    at /home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:34:3107
    at new Promise (<anonymous>)
    at WF.write (/home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:34:3028)
    at fC.doWrite (/home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:35:1698)
    at /home/username/.local/share/nvim/plugged/coc.nvim/build/index.js:35:1597

OS: pop_os 21.10
Neovim: NVIM v0.7.0-dev

Same issue.
Started to happen after updating to coc-lua 1.0.1.
OS: Archlinux
Neovim: NVIM v0.6.1

@josa42 do you have any hints where to look to debug/solve this?


applyPatches without enablePatches?

🙋♂ Question
The only patch functionality required by my application is applyPatches. Patches themselves are generated separately. In my use-case enablePatches incurs a significant performance impact.
Is there a way to get the functionality of applyPatches without having to call enablePatches or a way to somehow disable patches? Not understanding the internals, it seems possible that the performance penalty is generating the patches and not applying them.
Environment
We only accept questions against the latest Immer version.

Immer version: 9.0.1

enablePatches should not impact perf normally (only enableES5 does), could
you create a minimal reproduction demonstrating the problem?
On Sat, 20 Nov 2021, 22:54 Albert Reed, @.***> wrote:

🙋♂ Question
The only patch functionality required by my application is applyPatches.
Patches themselves are generated separately. In my use-case enablePatches
incurs a significant performance impact.
Is there a way to get the functionality of applyPatches without having to
call enablePatches or a way to somehow disable patches? Not understanding
the internals, it seems possible that the performance penalty is generating
the patches and not applying them.
Environment
We only accept questions against the latest Immer version.

Immer version: 9.0.1

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/875, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBCDY5KQVHQNQVCYBP3UNARJFANCNFSM5ION4XVA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sadly, I don't have a great way of isolating the performance issue down to a minimal cause. If you're confident enablePatches isn't causing a performance impact, I'll just assume the hit I was seeing was something else and move on. Thank you so much!


Fix 1533 Avoid throwing exception in TryReadDouble

Commonly, try-do pattern shouldn't throw any exception.
I try to make TryReadDouble dont throw format exception when the inputting is not a floating number.
See #1533

If we would change double reading that way every single read method should adapt these changes.

@grokys  Thx, I was too busy recently.


Crash while updating

What do you need for fix this? Logs, screens etc.

All crashes are stored in "errors" dir, read here in the bottom. Just open this dir and attach last logs.

error-1443745719808.txt
error-1451611672105.txt
error-1451611678348.txt
error-1451611686626.txt
error-1453795787759.txt
error-1453795794659.txt
error-1453795802055.txt
error-1453795818938.txt
error-1455021744233.txt
error-1455021753870.txt
error-1455506375671.txt
error-1455506425921.txt
error-1455506472982.txt
error-1455554560423.txt
error-1456928717918.txt
error-1458671800714.txt
error-1458741429297.txt
error-1459269827337.txt
error-1459306523096.txt
error-1460261071211.txt
error-1460990909949.txt
error-1464459072038.txt
error-1464497974210.txt
error-1464497997170.txt
error-1464498032576.txt
error-1464525556968.txt
error-1465122267515.txt
error-1465315356940.txt

It seems like your download manager is disabled or you even don't have it. Dashchan uses system download manager to download updates.
http://stackoverflow.com/questions/21551538/how-to-enable-android-download-manager

No, it's an UI app. Can you find the Download Manager?

You can try to enter this in terminal emulator:
pm hide com.android.providers.downloads
pm unhide com.android.providers.downloads

At least I was able to reproduce the same problem using the first line.

Try to disable and enable it again, lol.

So, everything's alright. I greenifyed the Download Manager. That's the reason of the "bug". Sorry for my stupidity. Please, close this issue.


DataFrame.groupby by multiple columns

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  macOS Mojave
Modin installed from (source or binary): pip install modin
Modin version: 0.2.2
Python version:3.6.6
Exact command to reproduce: DataFrame.groupby([column1,columns2])

Describe the problem

Hi guys, I've noticed an incompatibility with the regular pandas.DataFrame.groupby()
I've this DataFrame with multiple columns:
import pandas as pd
df = pd.DataFrame(np.concatenate([np.ones([2,3]),2*np.ones([1,3]),3*np.ones([3,3])]),columns['a','b','c'])
for i in df.groupby(['a','b']):
    display(i[0],i[1])

it does the right thing returning 3 GroupBy objects, while when you tr:
import modin.pandas as pd
df = pd.DataFrame(np.concatenate([np.ones([2,3]),2*np.ones([1,3]),3*np.ones([3,3])]),columns['a','b','c'])
for i in df.groupby(['a','b']):
    display(i[0],i[1])

it seems to not grouping in the right way and it returns the name of the column.

Thanks for the report!
It looks like the way we are presenting the groups when iterating over the grouped dataframe is causing this issue. https://github.com/modin-project/modin/blob/master/modin/pandas/groupby.py#L77. We use a different way of grouping for the iterator because it is kind of a special case. I will get this fixed, thanks again for the report!

I am having issues just ding a regular groupby in modin in a for loop.

Thanks for commenting @NaderNazemi, would you be able to post new issue with more details so we can get it resolved?


Delete the Give Feedback banner

With the request of adding an extension banner to the site (PR #168), there was a discussion around the fact that there are too many call to action on the front page. Josh, Georgia and I discussed this and think we should get rid of the Give Feedback banner and update the About with a call to feedback there (for which I made another issue #170.

Not a priority right now.


IDEA

Hello, i got idea for your project can u remove auto clicker from menus and inventory whit visible cursor u can remove it i think. Thank you!

Good idea. I'll work on it.

https://github.com/weynn/Minecraft-Autoclicker
u have here code for that

Alright Thanks. I'll add it tomorrow since its 4am for me right now.


Rearrange "Open a specific page or pages"

Is your feature request related to a problem? Please describe.
After I add pages to the "Open a specific page or pages" option in the "On Startup" tab in Settings there is no way to rearrange those folders.
Describe the solution you'd like
I can think of two options off the top of my head:

Click and drag these pages to create the order desired (my preferred option)
In the three dot menu next to each page add a move up or move down option.

Describe alternatives you've considered
I think the only ways to do this now is to delete each starting page and then recreate them
or
Use the change page location at the top and do that for each page going down
Additional context

Unnecessary context: I'm in grad school and thus my starting folders change every semester. I would like to be able to change the order whenever I need to rather than having to delete all of the pages and then recreate them in the order I want.

@ldsands This feature was implemented in #3744.


Unclear installation instructions and NaN:NaN:NaN displayed

It's unclear from the installation instructions if a field must be created in your model's database, but but I tried creating 'seconds' as a 'integer' field.
The first time you save the model, it works. Then on subsequent Updates it displays:
NaN:NaN:NaN
Please assist.

Hello @eugenevdm  if you use "seconds" its easy, just remove format option 👍
TimeTracker::make('seconds')