treewide: convert all sha256 to hash in pypi fetchers

Description of changes
Same as https://github.com/NixOS/nixpkgs/pull/326858, part of https://github.com/NixOS/nixpkgs/issues/325892.
Changed packages are 0 rebuilds, but unsure if all are

treewide script
#!/usr/bin/env bash

EDITED_LOG=./edited-log
PROBLEM_LOG=./problem-log
SEARCH_CACHE=./search-cache

mkfifo nix_repl_in
mkfifo nix_repl_out

trap "rm -f nix_repl_in nix_repl_out" EXIT

# if replacing more files we can remove 2>/dev/null
nix repl < nix_repl_in > nix_repl_out 2>/dev/null &
NIX_REPL_PID=$!

sleep 2

exec 13>nix_repl_in
exec 14< nix_repl_out

extract_output() {
  output=$(echo $1 | ansi2txt)
  if [[ $output == "\"\"" ]]; then
    return 1
  elif [[ $output =~ ^\"([^\"]+)\"$ ]]; then
    echo "${BASH_REMATCH[1]}"
  elif [[ $output == "null" ]]; then
    echo "null"
  else
    return 1
  fi
}

send_repl() {
  local cmd=$1
  echo "$cmd" >&13
  # echo "$cmd" > ./repl_in
  while IFS= read -r -d $'\n' line <&14; do
    if [[ -z "$line" ]]; then
      return 1
    else
      echo "$(extract_output $line)"
      # echo "$line" > ./repl_out
    fi
  done
}

replace_hash() {
  local attr_name=$1

  local hashAlgo=$(send_repl "${attr_name}.src.outputHashAlgo") || return 1
  # Only to limit scope here, can be adjusted
  local hashUrl=$(send_repl "${attr_name}.src.url") || return 1

  if [[ "$hashAlgo" == "sha256" ]] && [[ "$hashUrl" == "mirror://pypi/"* ]]; then
    local hash=$(send_repl "${attr_name}.src.outputHash") || return 1
    # echo "$attr_name hash"
    local sri_hash=$(nix hash convert --to sri --hash-algo sha256 $hash)
    if [ $? -eq 0 ]; then
      local position=$(send_repl "${attr_name}.meta.position") || return 1

      [[ $position == "null" ]] && return 1

      local position_file=${position%%:*}

      grep -q "sha256 = \"$hash\"" $position_file
      if [ $? -eq 0 ]; then
        local outPath=$(send_repl "${attr_name}.outPath") || return 1
        echo "editing: ${attr_name}:${position_file}"
        sed -i "s|sha256 = \"$hash\"|hash = \"$sri_hash\"|" $position_file
        echo "${attr_name}:${position_file}:${outPath}" >> $EDITED_LOG
      fi
    fi
  fi
}

verify_hash() {
  local attr_name=$1
  local position_file=$2
  local outPath=$3

  local new_outPath=$(send_repl "${attr_name}.outPath")
  if [ $? -ne 0 ] || [[ "$outPath" != "$new_outPath" ]]; then
    echo "problem: ${attr_name}:${position_file}"
    # echo "'$outPath' != '$new_outPath'"
    echo "${attr_name}:${position_file}:${outPath}" >> $PROBLEM_LOG
  fi
}

[[ -f "$SEARCH_CACHE" ]] || nix search . ^ --json > $SEARCH_CACHE

pkg_list=($(cat $SEARCH_CACHE | jq --raw-output 'keys_unsorted | @sh'))

send_repl ":l ./."

sleep 1

echo "starting to replace"

for pkg_raw in ${pkg_list[@]}; do
  pkg=${pkg_raw#*.*.}
  pkg=${pkg%\'}
  replace_hash $pkg
done

send_repl ":r"

sleep 1

echo "starting to examine"

while IFS= read -r line; do
  IFS=':' read -r -a parts <<< "$line"
  verify_hash ${parts[@]}
done < "$EDITED_LOG"

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/327055

2 packages built:
tests.haskell.cabalSdist.assumptionLocalHasDirectReference tests.haskell.cabalSdist.localHasNoDirectReference

Dropped sphinx, now should be 0 rebuilds


Extend json-script-value.sh functionality

Renamed the script to json-key.sh and added --filter and --set functionalities.
Some examples with cut output:
❯ ./common/scripts/json-key.sh --file package.json --key dependencies.react
common/temp/package.json                                               null
common/autoinstallers/rush-fix-versions/package.json                   null
common/autoinstallers/rush-command-packages/package.json               null
packages/tools/kda-cli/package.json                                    "^18.2.0"
packages/tools/rush-fix-versions/package.json                          null
packages/tools/integration-tests/package.json                          null
packages/tools/create-kadena-app/lib/templates/angular/package.json    null
packages/tools/create-kadena-app/lib/templates/nextjs/package.json     "18.2.0"
...

❯ ./common/scripts/json-key.sh --file tsconfig.json --key extends
<EMAIL_ADDRESS><EMAIL_ADDRESS>packages/tools/kda-cli/tsconfig.json<EMAIL_ADDRESS>packages/tools/rush-fix-versions/tsconfig.json<EMAIL_ADDRESS>...

❯ ./common/scripts/json-key.sh --key scripts.build --filter tools
packages/tools/kda-cli/package.json                                    "heft build"
packages/tools/rush-fix-versions/package.json                          "heft build"
packages/tools/integration-tests/package.json                          "heft build --clean"
packages/tools/cookbook/package.json                                   ""
packages/tools/eslint-config/package.json                              ""
packages/tools/create-kadena-app/package.json                          "heft build --clean"
packages/tools/create-kadena-app/lib/templates/vuejs/package.json      "heft build --clean"
...

❯ ./common/scripts/json-key.sh --key version --set '"3.2.1"'
common/temp/package.json                                               "3.2.1"
common/autoinstallers/rush-fix-versions/package.json                   "3.2.1"
common/autoinstallers/rush-command-packages/package.json               "3.2.1"
packages/tools/kda-cli/package.json                                    "3.2.1"
packages/tools/rush-fix-versions/package.json                          "3.2.1"
packages/tools/integration-tests/package.json                          "3.2.1"
packages/tools/cookbook/package.json                                   "3.2.1"
...

😱😱😱

@webpro this is still relevant, right?

This has been superseded by #566, but I think this is still useful (otherwise easy to remove).


New methods for dislocation creep laws and fix test_DislocationCreep.jl

Currently computeCreepLaw_EpsII() and computeCreepLaw_TauII() take the argument p::CreepLawVariables. To use these routines with ParallelStencil.jl it's better to have a bit less abstraction. This PR adds a couple of methods computeCreepLaw_EpsII() and computeCreepLaw_TauII() where the arguments P,T,f are Real numbers instead of being inside CreepLawVariables. The corresponding test file is also fixed.

yes, I fully agree. This has been on my to-do list for some time.
Thanks a lot!


Exclude files from opening in editor

I have a workspace to build docker images, and I have a few binaries in the workspace. I would like a feature to exclude these binaries (by extension or file pattern) from opening in the editor even when I accidentally click on them.

Currently we only support that you exclude the by files.exclude.
However we do not support that we exclude them from not opening. I guess that is a fair feature request and we can leave it open and assign to the backlog.


Cranelift: AND/OR expressions for ISA predicates

Feature
Add the ability to link SettingPredicateNumbers with AND and OR.

Benefit
When passing around SettingPredicateNumbers (i.e. the identifiers for CPU features), I do not see a way to create an OR expression for various CPU features. This functionality is available for InstructionPredicationNodes (which are used in, e.g., EncodingBuilder::inst_predicate), but not for SettingPredicateNumbers (which are used in, e.g., EncodingBuilder::isa_predicate). Since some encodings are present under more than one CPU feature, it would be good to be able to express this.

Implementation
Unsure, but:

perhaps there is a way to unify the inst_ and isa_ predicates?

Alternatives
I don't yet see any.

cc: @bnjbvr, @iximeow, @sunfishcode

Needed in order to add correct predicates for VPMULLQ eventually VCVTTUDQ2PS

It's a bit hidden, but I think you can already do this: does something like this work for your use case? https://github.com/bytecodealliance/wasmtime/blob/master/cranelift/codegen/meta/src/isa/x86/settings.rs#L54

I don't think this is necessary anymore for the new backend framework.


doc site: -next requires too many page views to see the same information

On 0.20, the demo and api information was on the same page.  For -next, they are split.  This requires more clicking, and more use of the back button, to get to the same information.

This is on purpose. We hope it's going to make things simpler to undertand. One page per component.

Then the page per component needs demos.  If the api page for each file is the primary source, then it still requires more clicks to understand things.

Closed already?  I just provided feedback that your desired goal of making it easier actually doesn't.  The demos are not component based, they are 'combination' based.  Each component needs to have it's own isolated demo.
Ie, the Tabs component has an undocumented need to be placed inside AppBar; otherwise, there is no background, and you can't read the text of the tabs.  If Tabs had it's own demo, it would be more apparent(0.20 didn't have such a requirement).


Create CloudFormation template for Fleet Provisioning demo setup

CloudFormation allows multiple AWS resources to be created and grouped together. This PR adds a CloudFormation template which sets up all the various AWS resources required for the Fleet Provisioning demo. Using the template requires the AWS CLI to be installed and configured.
To use the template, first create the keys in the same directory as the Fleet Provisioning demo:
aws iot create-keys-and-certificate \
 --certificate-pem-outfile "ClaimCertificate.pem" \
 --public-key-outfile "ClaimPubKey.pem" \
 --private-key-outfile "ClaimPrivateKey.pem" \
 --set-as-active

Then, run the following command after replacing <certificateId> with the certificateId listed in the previous command's output:
aws cloudformation create-stack \
  --stack-name FPDemoStack \
  --template-body file://demo_cloudformation_template.json \
  --capabilities CAPABILITY_NAMED_IAM \
  --parameters ParameterKey=CertificateId,ParameterValue=<certificateId>

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/run bot check


What are the values for MobileOperatorId?

I assume that one value of MobileOperatorId will correspond to a single cell provider.  But what are those values?

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

ID: 07704e18-d2c8-d709-7394-6103107a7794
Version Independent ID: 1b36d735-ad6a-015c-5be9-c50737d2d90f
Content: Set-TextMessagingAccount (exchange)
Content Source: exchange/exchange-ps/exchange/client-access/Set-TextMessagingAccount.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@jordanmills, I updated the topic with the values that are currently available in OWA (although the parameter takes any random number that you throw at it.
United States:

AT&T: 15001

Sprint PCS: 15004

T-Mobile: 15005

Verizon Wireless: 15006

Canada:

Bell: 17001

Telus Mobility: 17002

Romania:

Orange Romania: 18001

I couldn't find a list like that anywhere.  That's exactly what I need for now.  Thanks!


Background too wide

Hi!
First of all, I tried three different libraries similar to this on Github. This library is the best!
I'm not sure whether I'm missing something or if it is something that can/should be fixed in this library. When I use a SwiftUI HStack the background color is only as wide as its contents. With WrappedHStack the background color fills the whole parent view width.
With HStack:

With WrappedHStack:

Any tips on what I can do to get the HStack background color behavior with WrappedHStack?
The code with HStack can be found here: https://github.com/eerimoq/mobs/blob/71b0e1efda05967004aaf0ad1cdd616bc45c37ed/Mobs/View/Stream/Overlay/StreamOverlayChatView.swift#L42

@eerimoq, thanks for your positive feedback! I've prepared a PR incorporating the feature you mentioned. Would you mind giving it a try? To test it, reference commit 4396e80f8ddc8d597806c48737b4927b334b58fa instead of a version number and include fitContentWidth: true in the WrappingHStack initializer. If everything checks out, I plan to release it as version 0.2.0.

It works. Thank you very much for the new feature!
I tested without the new parameter as well, and it worked like before, just as expected.

Thank you for the confirmation. I‘ve released 0.2.0.


Add wasm-bindgen-cli dependency to tutorial

Description
In the tutorial I've added a description on how to install wasm-bindgen-cli when setting up the initial environment for yew.
Checklist

[x] I have reviewed my own code
[ ] I have added tests

You shouldn't need that installed as trunk downloads it. Did you run into some issue where it's needed?

I checked it again and now it works without the explicit installation of the wasm-bindgen-cli. I suppose I did something differently the last time preventing the installation of that dependency. However, I can't recall what might have been the problem.
Anyhow, thanks for your feedback. I'll close this pull request.


 They all seem to use collect.
Here are tests for them.
https://github.com/hacspec/hax/pull/new/franziskus/select_trait_candidate

Looks like the fix in #478 has been incomplete.
hax crashes with
thread 'rustc' panicked at '`ProjectionPredicate(AliasTy { substs: [P, (&<I as std::iter::Iterator>::Item,)], def_id: DefId(2:2931 ~ core[02ea]::ops::function::FnOnce::Output) }, Term::Ty(bool))` has escaping bound vars, so it cannot be wrapped in a dummy binder.', /rustc/d59363ad0b6391b7fc5bbb02c9ccf9300eef3753/compiler/rustc_middle/src/ty/mod.rs:1195:26

on the following code
fn iterating(list: Vec<u8>) {
    let _indices: Vec<_> = (0..5).filter(|i| list.iter().any(|n| n == i)).collect();
}

Closing this in favor of #495, the issues in https://github.com/hacspec/hax/pull/new/franziskus/select_trait_candidate are gone


Dealing with sparsity

Hi, question about how you dealt with sparsity.
In input_pipe.py, there are parameters like "train_completeness_threshold" which determines how many 0's are allowed. It looks like the default is 1 for this value. Further down in the code, there is:
self.max_train_empty = int(round(train_window * (1 - train_completeness_threshold)))
So with the default value of 1, this makes max_train_empty default to 0, i.e. the randomly cropped time series must be completely filled [no missing values] in order to be used in training.
So is this what you did to get your best results, you discarded any time series crop which had holes in it?
Of the ~145 thousand time series in train_1.csv, it looks like about 2/3 of them are dense [no missing values], and any random crop of a dense series will remain dense, and a random crop of a series with holes may get a portion that is dense, so I guess even with the max_train_empty = 0 you still get to use most of the data, right?

Final version has train_completeness_threshold=0.01, it filters out only almost empty series. I found that spareness has regularizing effect for training, so there is no reason to filter out sparse series.


Cannot modify the orientation angle of the target point？

When I use this program, I can follow the route point I determined to run, but the flaw is that there are the following problems:

How to modify the direction angle of the last target point?
How to save the marked points so that they can be used directly next time instead of re-calibration every time.
For example, if I control the robot to a certain point, how do I record the point and publish it to the global planner?

@trickarcher

Hi,
Sorry for the late reply.

I mention in the instructions that the final orientation equals the angle between the two last waypoints.
You can record the published global plan in a rosbag and then use the rosbag as input to the planner via the external_path topic. Otherwise you can extend the planner to save a path in a yaml file and then load it in next launches.
I don't understand this question. Can you elaborate?


Warn that this is a paid only integration for Crowdin

No where on the readme, Pricing page, Marketplace is it stated that this is for paying customers

UploadTranslations
Url: https://api.crowdin.com/api/v2/projects/12345/translations/nl
Method: POST
Status: Error
Message: Payment Required
Authorization Type: Personal Access Token
{
    "error": {
        "message": "Organization is currently suspended",
        "code": 402
    }
}

It shouldn't be paid, all paid apps have corresponding labels (there are just a few):
https://crowdin.com/resources/marketplace/marketo-app
https://crowdin.com/resources/marketplace/salesforce-experience-builder
https://crowdin.com/resources/marketplace/salesforce-knowledge
Any chance that you've reached your organization's limits in GitHub? GitHub Action itself is a paid feature:
https://github.com/pricing
A free version allows 2000 minutes/month. Anyway, it seems to be a message from Crowdin, so we're checking it furthermore. Thanks for the report!

Apologies for the confusion!

To remove confusion please remove the free badge on the marketplace

My apologies for not being clear in my previous reply, it really depends on the plan status as @andrii-bodnar has mentioned. GitHub Action is available for any plan (including the Free plan) but not for an expired free trial.
When your free trial expires (it's not the same as the Free plan), API is not available therefore you cannot submit API requests via CLI/API/GHA.

That sounds pretty convenient to call something free which is actually (only during trail)
A consistent method for trail naming is that the trail is a way to explore paid exclusives for a limited time for free. Not that free stuff is actually not free.

The "Free" label means that the connector/tool is not paid extra. Crowdin has a Free plan, it has some limitations described here (like 1 private project / unlimited translators in the public projects only):
https://crowdin.com/pricing
A free 15 days trial allows you to evaluate all features that are available, then you can decide what plan works the best for you and use additional extensions (like GitHub Action) without extra fees.
When the free trial expires, we add limitations (e.g. it's not possible to push new content). It is fair, since it won't be possible to view the uploaded content in the translations editor due to it's not available when the trial is over. Mainly all connectors synchronize the content via API, this is why they become unavailable when the subscription is not active / free plan is not activated.
In any case, we have 24/7 support, your account can be re-activated per request if you need more time to evaluate the platform
Hope it makes some sense 🤲


0.12.2 broke readonly network contract calls

I just upgraded to 0.12.2 and it seems that simple useCall/useContractCalls that query from the network are failing.
At first look it seems that the readOnlyChainId configuration is not being respected, because stepping through the useContractCall, I see that useNetwork returns some kind of blank network provider (and remains in that state, so it never initializes).

I'm facing the same issue. I wanted to add a new network as per documentation, therefore I decided to migrate from 0.6.3 to 0.12.2, but I'm facing issues in reading from the chain using useContractCalls as well as useCalls. Does anyone have a fix regarding it?

Same with 0.12.3

Seems like this was fixed in 0.12.4

Working now with 0.12.4 :)


openrestry-luajit android

Is your feature request related to a problem? Please describe.
openrestry-luajit doesn't build on android because it requires running a lua program, the build script uses the target toolchain but the lua program needs to run on the host machine.
https://github.com/openresty/luajit2/issues/156#issuecomment-1090730196
Describe the solution you'd like
Don't build minilua and run a local lua install.
Describe alternatives you've considered
No response
Additional context
No response

you can refer the luajit script in xmake-repo. https://github.com/xmake-io/xmake-repo/blob/20363ebe0a2f9cef8da1a311928dffd36b84f3b6/packages/l/luajit/port/xmake.lua#L123-L127
it will build and run lua program on host machine, and it works for android.

I saw your ci job, it works for android.
luajit only support android/arm64-v8a, does not support armv7 on ci, because it need build buildvm/minilua for 32bits host platform (-m32).
But ubuntu does not provide i386 devel libs and headers on ci. If you want to build luajit for android armv7, you need install i386 libs on ubuntu x84_64.
So you can open android platform, and I will ignore armv7 errors and merge it.


gridded_data_subset notebook is failing due to salem

@huard @Zeitsperre Salem seems to be causing problems in the gridded_data_subset notebook. Could we replace it with a more modern package to do the same type of analysis?
If we can make it work before may 5th I can demo it.

No promises, but I'll look into this tomorrow or Monday!


Lernen Ohne Limit

Lernen  ohne  Limit
[Enter feedback here]

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

ID: f75240ad-db64-8d89-4d61-f789fd632e04
Version Independent ID: f76f946c-7e33-5041-f442-92bd38886d85
Content: Assign Security Group Filters to the GPO (Windows 10) - Windows security
Content Source: windows/security/threat-protection/windows-firewall/assign-security-group-filters-to-the-gpo.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Closing as missing feedback.

Closing as missing feedback.

Yes, this looks like just a misplaced test sample. Good call to close it.

Yes, this looks like just a misplaced test sample. Good call to close it.


fix pipeline miss config

Changes
Please provide a brief description of the changes here.
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[ ] CHANGELOG.md updated to document new feature additions
[ ] Appropriate documentation updates in the docs

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

fix https://github.com/openinsight-proj/openinsight-helm-charts/issues/83


(offline) Debian12 /etc/apt/source.list not exists

In the playbook 00_offline_prepare.yml the task name: Copy apt config  cannot be applied.
TASK [Copy apt config] ************************************************************************************************************************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option fatal: [home-mono]: FAILED! => {"changed": false, "msg": "Could not find or access '/etc/apt/sources.list' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
After investigation the file /etc/apt/sources.list doesnt exist in Debian12 container
docker run --rm -it debian:12  ls -l /etc/apt
total 24
drwxr-xr-x 2 root root 4096 Nov 20 00:00 apt.conf.d
drwxr-xr-x 2 root root 4096 May 25  2023 auth.conf.d
drwxr-xr-x 2 root root 4096 May 25  2023 keyrings
drwxr-xr-x 2 root root 4096 May 25  2023 preferences.d
drwxr-xr-x 2 root root 4096 Nov 20 00:00 sources.list.d
drwxr-xr-x 2 root root 4096 Nov 20 00:00 trusted.gpg.d

The equivalent of the source.list in debian12 is managed here /etc/apt/sources.list.d/debian.sources
while it exists on Debian11 the file source.list exists

docker run --rm -it debian:11  ls -l /etc/apt
total 24
drwxr-xr-x 2 root root 4096 Nov 20 00:00 apt.conf.d
drwxr-xr-x 2 root root 4096 Jun 10  2021 auth.conf.d
drwxr-xr-x 2 root root 4096 Jun 10  2021 preferences.d
-rw-r--r-- 1 root root  430 Nov 20 00:00 sources.list
drwxr-xr-x 2 root root 4096 Jun 10  2021 sources.list.d
drwxr-xr-x 2 root root 4096 Nov 20 00:00 trusted.gpg.d

My question is "what is the interest of this task" which copy the source.list on the target ?

This issue can be closed.
In the release 0.9.33, the copy was removed.
See copy removed


ZITI-EDGE-TUNNEL: Identities Dir Functionality Broken

The ZET functionality to ascribe identities for running against is either direct to one with (--identity [path/to/json]) or multiples with (--identity-dir [path/].  When the --identity-dir syntax is used, the ZET binary seems to not read anything in the directory.  Further, it seems like it launches multiple instances of ZET causing errors to return stating certain things that it performs at startup are already done.  Single/direct --identity still works however.
ZET versio 0.19.6

This happens because special logic that initializes the dns IP range from a config file is invoked when run with -I, and the logic is faulty. Specifically, get_ip_range_from_config() assumes the DNS range starts with the IP address that is assigned to the tun interface.
To be clear, "config file" in this case refers not to an identity json file, but config.json as consumed by Ziti Desktop Edge for Windows. As of now this notion of a "config file" should not be processed by ziti-edge-tunnel on Linux.
To fix this, I think we either need to avoid the config file logic entirely on Linux (e.g. differentiate between --identity-dir and --config) or/and specifically add the DNS IP to the tunnel status model (and also to config.json)


NavMeshSurface should have an option to bake only static objects

At the moment this would have to be editor time because GameObject.isStatic is an editor only check (if possible it would be cool to have this exposed at runtime but I imagine there are other ramifications there). This is ideal because now we have to rely on layers or some custom markup to tell objects whether or not to bake.

So it bakes nonstatic objects? I'm starting to use this.

As of my comment it bakes around both static and non static GameObjects with MeshRenderers


still not fixed/not working

i cant delete notes and i cant be on old input

As mentioned by Kade @ #67, "Old input is probably going to be removed, the support for it has went down a hell of a lot." so, I'm sorry but I think you're better off getting used to the new one.

I can delete notes just fine I have no idea man.


Small secret controller fixes and updates

What this PR does:
Add tests for requiresUpdate (also modify, remove generational check and always calculate the hash of dest), syncSecrets, surround map changes with mutex. Also add GO_FLAGS to Makefile parameters
Which issue(s) this PR fixes:
Fixes #103
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[x] CLA Signed:  DataStax CLA

The other controller tests were accidentally commented out:
https://github.com/k8ssandra/k8ssandra-operator/blob/main/controllers/controllers_test.go#L51-L56
Maybe you could re-enable them in this PR.


bannerView late loading

Loading the bannerView in one scene and changing the scene quickly before the bannerView can be loaded results in loading of the bannerView in another scene and the bannerView becomes unreferenced so cant be destroyed(Unless through a previously assigned global reference)!

This issue has been fixed in the latest release of the Google Mobile Ads Unity Plugin. If you are running Unity 5.0 you will have to delete the top-level Android manifest from the Assets/Plugins/Android folder. If you are running on older versions of Unity, replace the top-level manifest file with the one linked below.
https://drive.google.com/a/google.com/file/d/0B3mVbrRS6xpKWDQ5SGVlVUx3clU/view?usp=sharing
Ram


dat not sharing files other than dat.json

hello ,
I am using linux and node version 12,
I installed dat cli globally , with npm i -g dat , on my linux
Then i went to my Desktop and made a folder share_it with one text file in it,
as given in the documentation, i did
"dat share share_it"
it showed me sharing dat: (empty archive),
No files are being shared, as i did a dat clone onto my other computer with other network connection, but no luck,
Can some please help me

I have the same problem with dat@latest on macOS.

Did you try the executable, available in the Releases section? I think the npm install -g dat is broken last I heard

Yes, I noticed the other issues (e.g. #1186) and indeed the executable works, but I did want to try the new version...

sorry dat is currently unmaintained by a particular person but we're trying to fix that actively by spending some open collective money on a person
opencollective.com/dat

i just posted the same issue in another dat repo.

https://github.com/datproject/docs/issues/183

I'm facing the same issue on both of my machines after installing dat using npm i -g dat
Specs:
++++++++++++++++++

Ubuntu 20.04
Node version: 14.1.0

++++++++++++++++++

Ubuntu 19.04
Node version: 12.16.1

@okdistribute I'm willing to help in anything you guys need. I just really like dat and I'll be glad to help

@iankressin If you're interested in contributing time to get the Dat CLI working again, I'd be down to help coordinate that effort by giving pointers as to what needs to be done and reviewing PRs. It's a non-trivial amount of effort, however. 😅

@iankressin thanks ian! that would be super helpful. I think @RangerMauve is right, there is a non-trivial amount of 'potential' work, but I think getting it working with the latest Node is not that difficult, mostly updating dependencies and testing that it works.

@RangerMauve @okdistribute I'll definitely start taking a look at it in the next couple of days. @RangerMauve probably, I'll need a little bit of guidance at the beginning, so thanks for offering it.

@RangerMauve I'm starting to take a look at the code and as the first action to try to solve this problem I upgraded the hypercore dependency from "hypercore": "^6.25" to "^9.5.7"  (I know, it's a long way). The "empty folder" problem seems to be solved, but it won't pass 5 tests when running npm run test. All the errors have a identical message which is:
stderr was not empty ("(node:x) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) ")
The only difference between then being the node:x, where x varies in each error. The error message is not that helpful for debugging. I tried to search for padLevels in hypercore, tape, tape-spawn and in this project but found nothing.
Below, are all the 5 errors with a little bit of prior context:
# create - default opts no import
ok 76 creates dat directory
ok 77 matched pattern function
not ok 78 stderr was not empty ("(node:65189) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) ")
  ---
    operator: ok
    expected: true
    actual:   false
    at: Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
    stack: |-
      Error: stderr was not empty ("(node:65189) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      ")
          at Test.assert [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Test.assert (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:379:10)
          at Test.bound [as ok] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
          at Socket.emit (events.js:327:22)
          at endReadableNT (_stream_readable.js:1223:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)

# create - init alias
ok 86 creates dat directory
ok 87 matched pattern function
not ok 88 stderr was not empty ("(node:65223) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) ")
  ---
    operator: ok
    expected: true
    actual:   false
    at: Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
    stack: |-
      Error: stderr was not empty ("(node:65223) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      ")
          at Test.assert [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Test.assert (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:379:10)
          at Test.bound [as ok] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
          at Socket.emit (events.js:327:22)
          at endReadableNT (_stream_readable.js:1223:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)

# create - with path
ok 90 creates dat directory
ok 91 matched pattern function
not ok 92 stderr was not empty ("(node:65234) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) ")
  ---
    operator: ok
    expected: true
    actual:   false
    at: Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
    stack: |-
      Error: stderr was not empty ("(node:65234) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      ")
          at Test.assert [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Test.assert (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:379:10)
          at Test.bound [as ok] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
          at Socket.emit (events.js:327:22)
          at endReadableNT (_stream_readable.js:1223:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)

# keys - export & import secret key
ok 120 matched pattern function
ok 121 stderr was empty
ok 122 matched pattern function
not ok 123 stderr was not empty ("(node:65309) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) ")
  ---
    operator: ok
    expected: true
    actual:   false
    at: Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
    stack: |-
      Error: stderr was not empty ("(node:65309) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      ")
          at Test.assert [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Test.assert (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:379:10)
          at Test.bound [as ok] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
          at Socket.emit (events.js:327:22)
          at endReadableNT (_stream_readable.js:1223:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)
  ...
ok 124 original dat file exists
ok 125 matched pattern function
not ok 126 stderr was not empty ("(node:65320) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) ")
  ---
    operator: ok
    expected: true
    actual:   false
    at: Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
    stack: |-
      Error: stderr was not empty ("(node:65320) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      ")
          at Test.assert [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:260:54)
          at Test.bound [as _assert] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Test.assert (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:379:10)
          at Test.bound [as ok] (/home/kig/Documents/projects/dat/node_modules/tape/lib/test.js:84:32)
          at Socket.onEnd (/home/kig/Documents/projects/dat/node_modules/tape-spawn/index.js:106:14)
          at Socket.emit (events.js:327:22)
          at endReadableNT (_stream_readable.js:1223:12)
          at processTicksAndRejections (internal/process/task_queues.js:84:21)
  ...

@iankressin sorry I wasn't clear, some dependencies can't be updated without significant work, but others can -- hypercore & hyperdrive can't be updated without updating dat-storage which would require some deep understanding of hypercore 9

@okdistribute  No problem!!  I'll get into hyperdrive as soon as possible.
Is there a specific part of the code where you suggest to begin with the refactor?

@RangerMauve Got a better understanding on hyperdrive now. Are you still available to give some guidance on the refactoring?

@iankressin Yeah sure, would you be down for a 1 hour call some time this week?
Tuesday is good for me between 11:00 ET and 22:00 ET, but I can do another day if you prefer. 😁

@RangerMauve yepp, I'm down.
Tuesday is good for me. Sent you a friend request in discord (found you at the hypercore channel)

20:00 ET works for me. I'll follow up via DMs. 😁

We had a call today to talk about what would need to be done to get the CLI working again, specifically around dat-store.
The notes from the call can be found here: https://hackmd.io/XDxGGosQTvuCpeQwl5vahg?view

Thank you guys, this is wonderful news.


Add helm chart proto

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Closes #1087

Coverage increased (+0.02%) to 74.071% when pulling 9d3c95a4bb1c9dcf3e130494e4dcd7fd6359f6d8 on Keramblock:add-helm-chart into d2e4ee4d023eb43ffad5d65bc3a8ab07340153e1 on openvinotoolkit:develop.

Found some issues with ingress, will fix tomorrow

@eremeevfd thanks a lot! =)

@Keramblock Thanks for the contribution!
@ActiveChooN Could you please take a look?

@ActiveChooN @azhavoro could please take a look one more time?


Test Issue created at Thu, 03 Jun 2021 13:30:44 GMT

Test issue body  Thu, 03 Jun 2021 13:30:44 GMT

Comment on issue at Thu, 03 Jun 2021 13:30:46 GMT


Added ability to set the log level in a backwards compatible way

in Tracker

The issue is that otherwise the huggingface stack logs a bunch of nonsense

I updated the version number as requested


Zoom doesn't work correctly

I tried Cmd -, but it only makes the whole website rectangle smaller (inside the app window). Would be really useful to zoom out a website.

Thanks for your feedback.


Add CATEGORY_UNDEFINED option in Android export

The app category is optional in Android, but currently, there is no option in the Godot editor to leave it undefined. In this PR, I have introduced a new category, UNDEFINED. When this category is selected, the appCategory will not be defined in the Android manifest file.
I have implemented logic to remove this attribute completely during the Gradle build export. However, in the normal export, I am setting its value to -1 instead.

Thanks!


Hi Nick,
I'm getting the following error firing for every page loaded regarding the

Hey there @3200pro! The theme.liquid file is exclusively used for your Shopify native theme (it's meant to be copy/pasted there).
Did you happen to move that file from the repo root? By default, that file shouldn't be affecting anything to do with the Next.js build as it's not referenced or used in the Next.js application structure.

Thanks Nick!
I didn't realize it should be deleted from the root folder after it's copied/pasted to Shopify.


migrate HTML API documentation from readme to docs/API.md

content from https://github.com/theodi/bothan#html on how to manipulate HTML endpoints with query parameters merits inclusion in the API
NOTE - AFAIK this is not something that Grape API and Swagger can handle immediately, happy to be corrected on this

Also worth moving the metrics metadata api docs here too


Loss not coming down from 0.8 even after training for 5k steps using ssdlite_mobilenet_v2

I am using my custom dataset for the training with 900 images(700 in train and 200 in test). After training  the ssdlite_mobilenet_v2_coco model for 3k steps the loss came down to the range of 1 to 2. Since then the model is not converging and the loss seems to vary between 0.8 and 1.5. Now the model got trained over 5k steps still the loss shows the same behavior. Can anybody help me out to figure out the reason.

I am using my custom dataset for the training with 900 images(700 in train and 200 in test). After training the ssdlite_mobilenet_v2_coco model for 3k steps the loss came down to the range of 1 to 2. Since then the model is not converging and the loss seems to vary between 0.8 and 1.5. Now the model got trained over 5k steps still the loss shows the same behavior. Can anybody help me out to figure out the reason.

A loss under 2 is recommended from EdjeElctronics so I think it's fine


Build for CentOS

@julesjacobsen requests a CentOS build of rustsim.
May be addressed by #28

The changes in #28 don't appear to produce any different wheels - i.e. the wheels built for x86_64 and for x86_64-unknown-linux-gnu are both rustsim-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

The maturin README notes:

For full manylinux compliance you need to compile in a CentOS docker container.

So maybe try it with the musl target just to be explicit about what we are trying to support?


Feature request: cron-job-like server-side query exection

Use case:
For maintenance tasks I want to run certain queries in fixed intervals. This should be possible server/cluster-side to avoid saving credentials on a remote server.
e.g.

insert from select with aggregations
move partitions to repositories
backup tasks
delete old data

Feature description:
have a system reserved table like
CREATE TABLE sys.scheduled_jobs (
    name as TEXT PRIMARY KEY;
    stmt as TEXT; --single or multiple statements
    cron as TEXT; -- e.g. */30 * * * *
    user as TEXT; --user to run queries as
    last_execute as TIMESTAMP; -- last time executed
    last_execution_successful as BOOLEAN;
)

and a scheduler that runs the queries with the cron-pattern.

To understand this right, the advantage this would have over an external cron system is that you don't have to put the credentials somewhere?
This could potentially also be a cloud feature - given that kubernetes already has cron jobs and there we have credential stores.
cc @RomanMeingassner

To understand this right, the advantage this would have over an external cron system is that you don't have to put the credentials somewhere?

to have an integrated solution on par with other solutions
to not store credentials on an outside place
to not reinvent the wheel over and over again
...

e.g.
https://docs.timescale.com/latest/api#automation-policies
https://docs.influxdata.com/influxdb/v2.0/process-data/manage-tasks/create-task/

to have an integrated solution on par with other solutions
to not store credentials on an outside place

Both of these would could covered if it were a feature of the cloud stack.
Downside is people who self-host wouldn't have the functionality, but there are already lots of cron job solutions.

to not reinvent the wheel over and over again

Adding it into CrateDB would be us re-inventing the wheel :)
But more seriously, I think features on a high level fall into two categories: Those who can't be solved meaningful outside of CrateDB and those who can.
This to me look like it is the latter, and therefore (to me) has less priority than a feature that can only be solved within CrateDB, or a feature where there are significant advantages if it is solved within CrateDB. This to me sounds like it's mostly a "complete package experience" plus maybe a bit of convenience.
I'm also a bit worried of the implications - if we add periodic jobs, the next requirements are probably monitoring or notifications. We for sure don't want to end up having built-in slack notification support in CrateDB.
(Although having a system table with logs, and triggers + notify/subscriptions would be a neat solution)
If we want to add some other functionality where a coordinated job system would be useful to have, that would change the equation. For example materialized views which can automatically be refreshed would be one use-case.


Adding Multi-Platform Docker Images and Build Pipelines

Resolves #290
there is now 2 Docker files

Dockerfile - main file to build SGDK build image
deps/gcc.Dockerfile - m68k-gcc dependency - that is build only once, and then is just reused in Dockerfile (takes REALLY long time to build it 3h 49m 35s)

After deps/gcc.Dockerfile  is build it will be reused, SGDK image will build each time when there is commit that changes or updates code in repo, and pushed to  ghcr.io docker registry as docker pull ghcr.io/Stephane-D/sgdk

EXTRA while was waiting for build to finish added Doxygen doc generation and publishing to gh-pages (need to add permissions to allow GitHub Actions publish Pages  it in settings, set Source to GitHub Actions)

looks like need to cleanup some css to make linter happy..

BTW, can some one tell me what command to use to build jar tools, really would like automate (as soon  code changes, new jar is created in CI) also those tools building.
(i have JavaFobia, in my 20+ years i somehow avoided to write in Java)

looks like i will splitting all that stuff in two different PR (question about java is still open)


Colemak-DH Layout

It seems V and D keys were switched in the layout.
This might cause misconfiguration for the users relying on the layout provided in the app.

I've just pushed the change, thanks!


in_app_purchase: type 'PurchaseDetails' is not a subtype of type 'GooglePlayPurchaseDetails' in type cast

Steps to Reproduce
Unknown, bug in production
Expected results: inapp purchases should complete without exception
Actual results: a typecast error
type 'PurchaseDetails' is not a subtype of type 'GooglePlayPurchaseDetails' in type cast
_CastError
#0      InAppPurchaseAndroidPlatform.completePurchase (package:in_app_purchase_android/src/in_app_purchase_android_platform.dart:162)
#1      InAppPurchase.completePurchase (package:in_app_purchase/in_app_purchase.dart:187)
#2      AppStoreInitializer._completePurchase (package:app/appstore/appstore_initializer.dart:79)
#3      AppStoreInitializer._purchasesUpdated.<anonymous closure> (package:app/appstore/appstore_initializer.dart:65)
#4      _GrowableList.forEach (dart:core-patch/growable_array.dart:403)
#5      AppStoreInitializer._purchasesUpdated (package:app/appstore/appstore_initializer.dart:63)
#6      _rootRunUnary (dart:async/zone.dart:1436)
#7      _CustomZone.runUnary (dart:async/zone.dart:1335)
#8      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244)
#9      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#10     _DelayedData.perform (dart:async/stream_impl.dart:591)
#11     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706)
#12     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:663)
#13     _rootRun (dart:async/zone.dart:1420)
#14     _CustomZone.run (dart:async/zone.dart:1328)
#15     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#16     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276)
#17     _rootRun (dart:async/zone.dart:1428)
#18     _CustomZone.run (dart:async/zone.dart:1328)
#19     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#20     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276)
#21     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#22     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

% flutter doctor -v

[✓] Flutter (Channel stable, 2.5.1, on macOS 11.3.1 20E241 darwin-x64, locale en-CA)
    • Flutter version 2.5.1 at /Users/dgreen/development/flutter_stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (2 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dgreen/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Users/dgreen/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.60.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • iPhone 12 (mobile) • 73C2DF31-CA40-4FF0-9532-389A33FFE62E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 94.0.4606.61

Duplicate of #91164


UNABLE TO SAVE POST ON SQLITE DATABASE FOR ISSO

Hello,
Need guidance am at the edge of my wits;
spawned uWSGI master process (pid: 4369)
spawned the uWSGI spooler on dir /opt/django/vbaraza/data/spool with pid 4373
spawned uWSGI worker 1 (pid: 4374, cores: 2)
cache sweeper thread enabled
[pid: 4374|app: 0|req: 1/1] <IP_ADDRESS> () {48 vars in 768 bytes} [Thu Jul 25 16:57:44 2019] OPTIONS /preview => generated 0 bytes in 1 msecs (HTTP/2.0 200) 6 headers in 323 bytes (0 switches on core 0)
[pid: 4374|app: 0|req: 2/2] <IP_ADDRESS> () {50 vars in 1226 bytes} [Thu Jul 25 16:57:44 2019] POST /preview => generated 45 bytes in 29 msecs (HTTP/2.0 200) 7 headers in 349 bytes (1 switches on core 0)
[pid: 4374|app: 0|req: 3/3] <IP_ADDRESS> () {48 vars in 789 bytes} [Thu Jul 25 16:57:47 2019] OPTIONS /new?uri=%2Fblog%2F => generated 0 bytes in 0 msecs (HTTP/2.0 200) 6 headers in 323 bytes (0 switches on core 1)
2019-07-25 16:57:47,750 ERROR: POST /new
Traceback (most recent call last):
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/init.py", line 141, in dispatch
response = handler(request.environ, request, **values)
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/views/comments.py", line 92, in dec
return func(self, env, req, *args, **kwargs)
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/views/init.py", line 46, in dec
return func(cls, env, req, *args, **kwargs)
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/views/comments.py", line 282, in new
thread = self.threads.new(uri, title)
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/db/threads.py", line 33, in new
"INSERT INTO threads (uri, title) VALUES (?, ?)", (uri, title))
File "/opt/django/vbaraza/vbaraza/lib/python3.6/site-packages/isso/db/init.py", line 62, in execute
return con.execute(sql, args)
sqlite3.OperationalError: unable to open database file
[pid: 4374|app: 0|req: 4/4] <IP_ADDRESS> () {50 vars in 1249 bytes} [Thu Jul 25 16:57:47 2019] POST /new?uri=%2Fblog%2F => generated 290 bytes in 4 msecs (HTTP/2.0 500) 7 headers in 362 bytes (1 switches on core 1)

you posted this to wrong project


README issues

There are a couple of things im not sure I understand from the readme.
Firstly, the example reads:
  request('GET', 'http://example.com').done(...)

Shoud that done(...) be then(...)? I see that the promise output from the call supports both, but the A+ spec doesn't even mention done() - so I would assume the most idiomatic use would be with then.
It is also a little unclear ( to people like me still feeling out the idiosyncrasies of promises ) that the getBody(encoding?) function also returns a promise.
Lastly somewhere you have affect when I think you mean effect, not that this last makes things any less clear.
I would be glad to fix those up if my assumptions are correct.

Promise#done is specifically something we implement — an "end cap" to prevent uncaught exceptions from disappearing.
Promise.prototype.done = function (onResolve, onReject) {
  this.then(onResolve, onReject).then(null, function (err) {
    setImmediate(function () { throw err })
  })
}

I'm very happy to accept a pull request fixing effect vs. affect.
Regarding the getBody function.  It's just a helper that we tack on to the promise that gets returned.  it looks like:
responsePromise.getBody = function (encoding) {
  return this.then(function (response) {
    return response.getBody(encoding);
  });
};

It exists purely because it would otherwise be the most common thing for people to type out and it's a bit needlessly verbose.
As @nathan7 says, .done is an extension to promises provided by the promise npm module (and most other implementations except native browsers) that ensures errors are not swallowed.

@ForbesLindesay would you mind if I tried my hand at clarifying the other two issues in that PR too, for those of us who may be approaching this library with still-nebulous ideas of the de facto best practices?

Sure, clarifications are always welcome :)


crash with maui net7 ?

Hi @softlion !
Thanks for the report, can you provide a sample that reproduces this error?


Problem to load list

@angular @IgorMinar @petebacondarwin @jeffbcross:
Hi guys, :smile:
I tired to use your angular-phonecat code :pencil2: to list some wikis on the iSC Pedia website: https://iscpedia.github.io/de/ but it didn't load the IDs.
Where is the mistake and what should I do :question:
Repo: https://github.com/iSCPedia/iscpedia.github.io/tree/master/de
Yours,
Suriyaa Kudo :octocat:

And?

@SuriyaaKudoIsc you should learn how to debug your code :-) This is a place to submit bugs in the phonecat project not for developer support. You should use the mailing list or StackOverflow instead for this.
But since I was looking anyway, the problem seems straightforward:
If you open up a console on that site, you will see that the server request for the wiki data failed with a 404 error.
This is because you put the wrong id in at https://github.com/iSCPedia/iscpedia.github.io/blob/master/de/js/services.js#L10
It should be wiki not wikis

@petebacondarwin: Thanks for your help! :+1:


[DOC] Add document about how to deal with filesystem corruption

Sometimes the filesystem inside a Longhorn volume is corrupted because of an external reason. In this case, Longhorn cannot remount the volume and the workload that uses the volume cannot restart. Longhorn cannot solve this problem automatically. We require user to manually fix the filesystem.
We should provide the users a document about how to manually fix the filesystem corruption: instructions on how to attach the volume to a node and how to identify the device and mount it, and that they then need to a filesystem check against the device.

Documents validated: LGTM


swift build --build-tests doesn't allow disabling tests with --skip or --filter

Description
This is particularly useful when cross-compiling the test runner for a package, as I do for Android:
swift build --build-tests --enable-test-discovery --destination ~/swift-android-sdk/android-aarch64.json

The idea here is to be able to cross-compile the test runner and skip some tests: ~an alternative would be to add a --skip-run flag to swift test, so it builds but won't run the tests.~ (that alternative won't work, see next comment). @grynspan informs me that the new swift-testing tests can be filtered/skipped easily by passing these flags to the test runner, so this issue only deals with XCTest tests.
Expected behavior
Be able to skip or filter certain tests when cross-compiling the tests
Actual behavior
> ~/swift-DEVELOPMENT-SNAPSHOT-2022-09-24-a-ubuntu20.04/usr/bin/swift build --build-tests --enable-test-discovery --filter Contended
error: Unknown option '--filter'

Steps to reproduce

~/swift-DEVELOPMENT-SNAPSHOT-2022-09-24-a-ubuntu20.04/usr/bin/swift build --build-tests --enable-test-discovery --filter Contended

Swift Package Manager version/commit hash
5.7 and 5.8
Swift & OS version (output of swift --version && uname -a)
Never worked in Swift on Ubuntu 20.04 x86_64

So you're aware, the implementation of XCTest on Darwin (where it's an Apple-proprietary framework that ships inside Xcode) is very different from the implementation used on Linux/Windows/Android/etc. where it's an open-source partial reimplementation of the aforementioned Xcode framework.
Test discovery is also very different between platforms: on Darwin, it's done by querying the Objective-C runtime. When using the open-source repository, it's done at compile-time using the mechanism you've identified.
Swift Package Manager has no ability to affect the code generated on Darwin, which means a solution implemented in Swift Package Manager is incomplete. Although you've indicated you are primarily concerned with Android, the Swift project as a whole does consider Darwin an important platform family. Please do keep that in mind as you work on your PR. :)

Test discovery is also very different between platforms: on Darwin, it's done by querying the Objective-C runtime. When using the open-source repository, it's done at compile-time using the mechanism you've identified. Swift Package Manager has no ability to affect the code generated discovery codepath on Darwin, which means a solution implemented in Swift Package Manager is incomplete.

Understood, but maybe this can be a feature only made available when cross-compiling to non-Darwin platforms with an SDK that contains the OSS swift-corelibs-xctest? I don't use Darwin platforms or Windows, so I can't be expected to develop these features for those different platforms, particularly since you say each uses different platform-specific mechanisms to discover tests.
Perhaps this can be made available as a cross-compilation feature to Unix platforms only initially, then expanded later to other platforms by those who use and want this feature there too.

I don't use Darwin platforms or Windows, so I can't be expected to develop these features for those different platforms, particularly since you say each uses different platform-specific mechanisms to discover tests.

That's why I had asked you to file feedback with Apple: so we can get the request into Apple's systems and perhaps start working on a solution there as well. 🙂 I could write a feedback report myself, but from this thread I get the sense I wouldn't capture the problem as well as you would.
(Windows uses the same test discovery mechanism as Linux.)

@grynspan, alright, let me see if I can get this working when cross-compiling tests for non-Darwin platforms at some point, then we can see what you all want to do about Darwin.


Customization when Generating AWS Services Configure CamelCase for Json Keys and Content Type

Hello,
When generating rusoto code for new AWS Services, how do I customize the casing for the JSON Keys?
I run
cargo +stable run -- generate -c ./services.json -o ../rusoto/services -s SERVICE_NAME_HERE
The serde Json key names are all capital. The service backend accepts only camelcase
 #[serde(rename = "Key")]
should be
 #[serde(rename = "key")]
and
 #[serde(rename = "KeyType")]
should
 #[serde(rename = "keyType")]
Also
request.set_content_type("application/x-amz-json-1.1".to_owned());
should be
request.set_content_type("application/json".to_owned());

related: #1688


Fix for lack of visualizations on Windows

On Windows only UI is visible. This small change makes the visualization visible (probably fixes also the same problem on macOS M1).

Ok. Thanks for the PR! I only have macOS Intel so let me know if you run into any other bugs.

Great news! I can confirm that visualizations finally work on an M1 Mac, too.


[CS2103-W14-3] EdRecord

EdRecord allows student instructors to easily monitor their classes, having an overview of their grades and deadlines. It is optimized for CLI users so that frequent tasks can be done faster by typing in commands.

Codecov Report

Merging #11 (5fe4cd6) into master (ba53b8c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 ba53b8c...5fe4cd6. Read the comment docs.


chore(extension): fix url to download zip

Before
After

Unsure if it's a false positive, but I'm getting "Virus detected" on the new zip file URL.

closing this in favor of #91


CeleryIntegration does not work with tasks with an after_return handler

I'm using celery-once to make sure some tasks are only run one at a time. The lock is acquired in apply_async and released in after_return.
When I use the CeleryIntegration I'm not seeing any of the locks being released after the task has finished running. I'm not very familiar with the inner workings of celery, but any ideas what's going on?

Do you see this bug in Raven-Python? Raven uses official Celery hooks while this SDK aggressively (for lack of a better word) monkeypatches Celery to capture exceptions happening in hooks, and to work around some bugs in Celery 3.

I think I've narrowed it down to an issue with celery-once. The library uses the task name and call arguments from the run method (using `inspect.getcallargs) to generate the lock key. It generates the key both when acquiring and releasing the lock. It seems the arguments before and after the task gets patched are slightly different (the wrapper takes in optional args).
I don't think this is strictly an issue with the SDK, so I'll close this for now, thanks for looking at it though.

@mumumumu if it's a missing functools.wraps somewhere we can fix it in the SDK as well, no big deal

Thanks @untitaker, that'd be much appreciated. Adding a @wraps(f) to the _wrap_task_call _inner function does fix the issue for me.

We should do this everywhere then. Monkeypatches are quite inconsistent across the codebase.

Since this is blocking you I'll just get a minimal fix out of the door.
Proper wrapping will likely take more effort (possibly using wrapt instead of functools).


Inconsistent errors for unsupported argument type

with BuildSketch() as s: Circle(10)
with BuildSketch(XY.offset(10)) as s2: add(s) # Ok
with BuildLine() as l: Line((0,0,0), (0,0,1))

offset(s, 1): unsupported (TypeError)
mirror(s): unsupported (TypeError)
split(s): unsupported (AttributeError)
scale(s): unsupported (AttributeError)
s+s: unsupported (RuntimeError)
trace(l): unsupported (TypeError)
bounding_box(s): unsupported (AttributeError)
loft([s, s2]): unsupported (Standard_Failure)
loft([s.sketch, s2]): unsupported (Standard_Failure)
loft([s.sketch, s2]): unsupported (Standard_Failure)
Compound([s]): unsupported (AttributeError)

All of these errors are caused by passing a Builder where a Shape is expected.
As mentioned in issue https://github.com/gumyr/build123d/issues/538, it's up to the user to pass the correct type arguments. It isn't worth the effort to attempt to fix the user's mistakes throughout the whole API.

In this issue I am not saying anything about whether these functions should accept Builders, just that they should return a consistent error when an unsupported argument is passed in. Some of them have no indication that the error is caused by the input being a builder which is confusing.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

comment


androidx support

Androidx support added to this awesome Native Templates. Tested and working fine with androidx project. :)

@googlebot I signed it!

@rana01645 If you resolve the conflicts we can merge your PR.

Closing as we submitted AndroidX support.


Command Line_

Hi. Thank you for this great plugin.. Is there a way to run this from command line? (thru command line pdn for instance)
Riot, I love it, I wish there was a command line option for it..
Thats why I came here.. Just hoping..
Thank you.

Paint.NET does not support command line automation or batch processing,
The main download on the RIOT website does have a batch processing option in the UI, but I do not know if it can be fully automated from the command line.

prompt reply; prompt(er) "closing" to allow a "thank you" though..
regardless.. thanks.


Fix matching on complex @if directives

Fix matching on @if statement containing more than one closing paren ), where syntax highlight would only show through that first closing paren.
This changes the syntax highlighting from this

to this

Closing because it looks like I PR'd this on the wrong fork :-|


Workspace filename extension suffix not set automatically

Currently, the workspace file extension suffix is not set automatically when creating a vscode workspace.

System information

VSCode Version: 1.40.0-1571220350
OS Version: ubuntu 18.04

Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:

Open vscode-insiders using `code-insiders --disable-extensions.
Create a workspace not manually setting the suffix.
Try to open the workspace.

I cannot reproduce on Ubuntu 18:

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to the code. As such, I will go ahead and close it. If you can identify the component that is causing the issue, please report it upstream:

for UI, OS integration: https://github.com/electron/electron
for Rendering: https://bugs.chromium.org/p/chromium/issues/list
for file IO: https://github.com/nodejs/node

Thanks for understanding.

@bpasero Thanks for investigating.


Add support for bad phrases, remove redundant entries

Add support for bad phrases (entries consisting of more than one word), and remove redundant entries in badwords.txt.
This pull request obsоletes #1392 (i. e. there's no need to merge it as this one covers all of its changes)

Pull request closed due to inactivity.

Re-opening so that the GameServer.js changes can be merged. Changes to badwords.txt rolled back.

That's more like it.


Awesome Cerebro

I'm currently in love with this app and I can't stop thinking in how to improve it with plugins.
I just made an awesome list for Cerebro. It'd be a good way to build a community-driven list of useful resources to Cerebro developers/users.
It also decouples the plugin list from your README so no need to commit here just to update the list.
I hope you like the idea.

Many plus ones for this one. Since plugins can be freely generated by Cerebro's users, managing a plugin list at the main README will be unbearable. Having an awesome list for this is a 💯!

This is awesome.
Have you PR to sindresorhus/awesome?

@lubien can you do a PR to change current Readme? So you can just remove all plugins from the main readme and replace it with link to awesome-cerebro

@gluons I will!
@KELiON sure ASAP

@gluons
As of Pull Request Template of sindresorhus/awesome:

The list I added

has been around for at least 30 days,
...others

So I'm gonna delay this PR :)


Add "error" method to the Result interface in Pigeon

Use case
I'm using Pigeon to generate type-safe interop with native platforms.
In the case of @async functions, it generates the following interface in Java
public interface Result<T> {
    void success(T var1);
}

It has no way to report an error.
My use case is to call some method on the Host, and in case of any error, I need to show an error popup on the Flutter side.
Proposal
I suggest adding error method to the interface
    public interface Result<T> {
        void success(T var1);
        void error();
    }

/cc @gaaclarke

Yea, here is the caller of the callback:
      {
        BasicMessageChannel<Object> channel =
            new BasicMessageChannel<>(binaryMessenger, "dev.flutter.pigeon.Api2Host.calculate", new StandardMessageCodec());
        if (api != null) {
          channel.setMessageHandler((message, reply) -> {
            Map<String, Object> wrapped = new HashMap<>();
            try {
              @SuppressWarnings("ConstantConditions")
              Value input = Value.fromMap((Map<String, Object>)message);
              api.calculate(input, result -> { wrapped.put("result", result.toMap()); reply.reply(wrapped); });
            }
            catch (Error | RuntimeException exception) {
              wrapped.put("error", wrapError(exception));
              reply.reply(wrapped);
            }
          });
        } else {
          channel.setMessageHandler(null);
        }
      }

We should have a way to fill in wrapped.put("error", wrapError(exception)) in response to the callback.
As a workaround for now you can include an error in your pigeon class:
@HostApi()
abstract class QueryResult {
  String? error;
  String? result;
}

+1.
We just ran into needing this as well. Would be nice to have.

+1
yes, I think this is needed.
Trying to have an object that represents an error doesn't work for me:
class ErrorClass {
     final int code;
     final String message;

     ErrorClass({required this.code, required this.message});
}

class ResultType {
    final string someValue;

    ResultType({required this.someValue});
}

class Reply {
       final ErrorClass? error;
       final ResultType? result;

       Reply({this.error, this.result});
}

and returning something like error = null and result != null or vice versa from Java / Kotlin, throws a null pointer exception stating that error is null but it should not be null when calling error.toMap() for example.

any news?

Fixed in https://github.com/flutter/packages/pull/460, It took a while because I didn't want to implement it until the testing framework for the java generator was improved.


New Api Versions for Microsoft.Billing to support EA to CSP transfer.

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python
Nothing to generate for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

Not sure if the folders usually have the "V" in-front of the version number

Merged the changes to the review in progress. Closing this pull request.


Your platform is not compatible yet: linux_x64

[!] Your platform is not compatible yet: linux_x64
[!] Please open an issue: https://github.com/nectarjs/nectarjs

@hotmaycold Linux x64 and arm64 has been added, could you test ?

I just did ./nectar-linux-x64-0_2_4 on my Ubuntu 19.10 and got segmentation fault.
kernel: 5.3.0-10-generic #11-Ubuntu SMP

@glococo what is your processor brand / type ?

Corrected v0.2.7


Enabling Snapshot Debugger  for Azure Functions sets the default Environment to Development

Enabling snapshot debugger changes the default behaviour of the Environment setting for AzureFunctions when hosted in Azure AppService.
If unspecified, the context.EnvironmentName (FunctionHostBuilderContext) is supposed to default to be Production in Azure and Development on a 'local environment' as documented for AZURE_FUNCTIONS_ENVIRONMENT:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azure_functions_environment
e.g. Used as follows
    public class Startup : FunctionsStartup
    {
        public override void Configure(IFunctionsHostBuilder builder)
        {
            ConfigureServices(builder.Services);
        }

        public override void ConfigureAppConfiguration(IFunctionsConfigurationBuilder builder)
        {
            var context = builder.GetContext();
            var environmentName = context.EnvironmentName;

            builder.ConfigurationBuilder
                        .SetBasePath(context.ApplicationRootPath)
                        .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
                        .AddJsonFile($"appsettings.{environmentName}.json", optional: true, reloadOnChange: true)
                        .AddEnvironmentVariables();
        }

However, it seems the check for 'local environment' which is presumably this one on line 140 :
            var debugStateProvider = rootServiceProvider.GetService<IDebugStateProvider>();
            if (debugStateProvider.InDebugMode)
            {
                builder.UseEnvironment(EnvironmentName.Development);
            }

            return builder;
        }

.. means that the default Environment reverts to Development rather than Production, presumably because the Snapshot debugger appears as if it's in a Visual Studio debug session (IsDebugMode).
It's really not obvious and I lost over a day tracking this down, so maybe to help others falling into this trap, it should be documented that enabling this setting drastically changes the behaviour in this way.

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

ID: 8a8cc6fc-8765-4f03-2354-accc8444a8a2
Version Independent ID: f7461521-21f2-c266-070a-e10ed59f595e
Content: Enable Snapshot Debugger for .NET and .NET Core apps in Azure Functions - Azure Monitor
Content Source: articles/azure-monitor/app/snapshot-debugger-function-app.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @cweining
Microsoft Alias: cweining

As an additional observation, it seems that the snapshot debugger also causes the function to ignore any Environment AppSettings entirely:
Using DI to get IHostingEnvironment and adding the below lines into a Trigger function it produced the following output:
            logger.LogInformation($"Executing Function in Environment {_hostingEnvironment.EnvironmentName}");
            logger.LogInformation($"AZURE_FUNCTIONS_ENVIRONMENT: {Environment.GetEnvironmentVariable("AZURE_FUNCTIONS_ENVIRONMENT")}");
            logger.LogInformation($"ASPNETCORE_ENVIRONMENT: {Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}");

This seems very broken!

Correction, it may well be not specifically be related to the Snapshot Debugger but is actually this issue:
https://github.com/Azure/azure-functions-host/issues/6085
With the suspected underlying cause of this:
https://github.com/Azure/azure-functions-host/issues/6239
It seems that as this was intermittent changing the snapshot debugger setting and pushing could have triggered a state change that temporarily fixed it.

I does seem that the code using InDebugMode to set the environment as 'Development' is a bad assumption - what if a person attaches a VS remote debugger to a Function app running in Azure in order to do debugging - that shouldn't change the Environment variable, we'd expect it to remain Production (or a custom value that we set).

Thanks for bringing this to our attention. We are actively investigating and will get back to you soon.

adding @cweining for input since the above comments touches on both product feedback and doc-enhancement requests.

adding @cweining for input since the above comments touches on both product feedback and doc-enhancement requests.

Related to #6239
Adding @fabiocav, @ankitkumarr and @pragnagopa as this appears to be related to the bug discussed here.
Will now close this issue. Please continue to use the abovementioned link to track progress on this.
thanks.

Related to #6239
Adding @fabiocav, @ankitkumarr and @pragnagopa as this appears to be related to the bug discussed here.
Will now close this issue. Please continue to use the abovementioned link to track progress on this.
thanks.


New navigation

@amegahed @amkitt I think I understand now that both PR #31 and this PR were made with an intent to target https://github.com/UW-Madison-DSI/ospo.wisc.edu but as https://github.com/UW-Madison-DSI/ospo.wisc.edu is a fork of https://github.com/UW-Madison-DSI/uw-jekyll-theme/ the default target is the upstream (https://github.com/UW-Madison-DSI/ospo.wisc.edu) and this got missed by you during PR creation.
I think you then both abandoned these PRs and then just directly merged to https://github.com/UW-Madison-DSI/ospo.wisc.edu's master branch resulting in https://github.com/UW-Madison-DSI/ospo.wisc.edu/commit/402f36c9f09046f65923a19c11345d164d9dd570. Do I have all of this correct?
Regardless, I don't think that in general it does much good to have https://github.com/UW-Madison-DSI/ospo.wisc.edu still linked to https://github.com/UW-Madison-DSI/uw-jekyll-theme/ as things have diverged enough that no PR is going to come directly from the fork. As I have direct access to both repos I'll file an issue to remove the fork relationship. I'll let @amegahed close out this PR though.

The fork relationship has been removed. I'm going to close this PR now as no one else has interacted on it.


Text overlap with other widgets when local font asset is added.

Steps to Reproduce

Add a font file(.ttf) to the pubspec.yaml file
Use with any Text widget within a Column. The widget overlaps the other widgets in the Column. As, a temporary solution, I have used a Container with MediaQuery to separate the widgets.

Logs

Logs

[✓] Flutter (Channel stable, 2.0.6, on macOS 11.3.1 20E241 darwin-arm, locale en-IN)
    • Flutter version 2.0.6 at /Users/amey/Development/flutter
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/amey/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions).

[✓] Connected device (2 available)
    • iPhone 12 Pro (mobile) • A078F6C3-6036-4065-93D4-01495735E0FA • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome
      90.0.4430.93

! Doctor found issues in 1 category.

Screenshots
Without using fontFamily in Text field:

After using fontFamily in Text field:

@ameysunu
Tried your steps to replicate and used a custom font and verified using latest stable, on which the text rendered properly, without any issues:

flutter doctor -v

[✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.6 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.

pubspec.yaml:
  fonts:
    - family: Schyler
      fonts:
        - asset: fonts/Raleway-Italic.ttf

home: Scaffold(
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Text('In this example, apply the RobotoMono font to a single Text widget. Once again, the fontFamily must match the family name declared in the pubspec.yaml.', style: TextStyle(
                    fontFamily: 'Schyler', color: Colors.black
                ),)
              ],
            ),
          )
      ),

@darshankawar
Here's my pubspec.yaml and my code for the above error faced.
  fonts:
    - family: Gotham
      fonts:
        - asset: fonts/GothamMedium.ttf

Text(
               "All our dreams can come true, if we have the courage to pursue them. – Walt Disney.",
                style: TextStyle(fontFamily: 'Gotham', fontSize: 17),
              ),

However after removing the fontFamily from TextStyle, the issue is resolved. But I need the font. Also, I'm running this on an Apple Silicon device, which runs Flutter on Rosetta, do you think that could be a problem?

@ameysunu
I doubt if that would be the case.
If you need the font, instead of manually downloading the font, add it as dependency, can you try the google_fonts plugin which gives you a variety of custom fonts, and see if it helps ?

@darshankawar
I have been using the google_fonts plugin as of now, and that helps with the issue. But I'd be really glad to know the reason why fontFamily within the Text widget fails.


More state and event checking in connection object.

The socks connection object should add more checking.

Closed via https://github.com/mike820324/socks5/commit/1278896649082c7c63e7e99f7dc92c345118ae8f


kienzler attributes

the attribute realtime_opening_status shall be removed for kienzler, because the overall bike parking systems have not opening status.
the attribute opening_hours shall be set to "24/7"
the attribute has_fee shall be set to true

Resolved at https://github.com/ParkenDD/parkapi-sources-v3/pull/147


Fix syntax-highlighting of plain-text on GitHub

This fixes the example commit message from being highlighted as a shell-script (see attached image) to being highlighted as plain-text (thus, no highlighting).
In the below image, note the for, in, and if, which are each highlighted in red:

Thanks!


Optional switch

Is it possible to make a switch to trigger the doorbell? It would be easier to make automations. Kinda like in this plugin but without device - i mean the digital gong part https://gitlab.com/ca-iot/homebridge-shelly-doorbell#readme

My use case is exactly that. However, the homebridge instance is running on an external machine and thus triggered via http. You write some other script to read the switch state and do en internal request to localhost if homebridge is running on the same machine.

I'm using homebridge-http-switch to display a switch that triggers the doorbell. Switch returns to false after a second, so you can ring the bell again :-)
Config used with that plug-in:
        {
            "accessory": "HTTP-SWITCH",
            "name": "Deurbel",
            "switchType": "stateless",
            "timeout": 1000,
            "onUrl": "{URL_OF_YOUR_DOORBELL}"
        }

https://www.npmjs.com/package/homebridge-fake-doorbell I was thinking about such a solution.

Oh cool. That's a nice one too. Especially because apparently, the Accessory Not Supported-tile for the doorbell itself isn't visible when the same plug-in provides the "doorbell ringer"-switch.


How do I setup a cross-compile environment.

Hi,
I'm trying to setup a cross-compile environment to build macosx and windows apps/libraries on an Ubuntu CI/CD docker image.
I'm using clang-cl as a cross compiler for windows and osxcross for macosx.
I'd like to be able to use vcpkg's ports with my CMake projects.
I've created a custom triplet to do that:
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_BUILD_TYPE release)

# For clang_windows toolchain
set(ENV{HOST_ARCH} ${VCPKG_TARGET_ARCHITECTURE})

set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE /clang_windows_sdk/clang-cl-msvc.cmake)

But now that I've set the VCPKG_CHAINLOAD_TOOLCHAIN_FILE , the VCPKG_CRT_LINKAGE doesn't seem to be applied to ports.
I think that might be because of
scripts/cmake/vcpkg_configure_cmake.cmake:
    if(NOT VCPKG_CHAINLOAD_TOOLCHAIN_FILE)
        if(NOT DEFINED VCPKG_CMAKE_SYSTEM_NAME OR _TARGETTING_UWP)
            set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${SCRIPTS}/toolchains/windows.cmake")

We can see in that windows.cmake file that it sets the C runtime link type:
    set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG ${VCPKG_CRT_LINK_FLAG_PREFIX}d /Z7 /Ob0 /Od /RTC1 ${VCPKG_CXX_FLAGS_DEBUG}" CACHE STRING "")
    set(CMAKE_C_FLAGS_DEBUG "/D_DEBUG ${VCPKG_CRT_LINK_FLAG_PREFIX}d /Z7 /Ob0 /Od /RTC1 ${VCPKG_C_FLAGS_DEBUG}" CACHE STRING "")
    set(CMAKE_CXX_FLAGS_RELEASE "${VCPKG_CRT_LINK_FLAG_PREFIX} /O2 /Oi /Gy /DNDEBUG /Z7 ${VCPKG_CXX_FLAGS_RELEASE}" CACHE STRING "")
    set(CMAKE_C_FLAGS_RELEASE "${VCPKG_CRT_LINK_FLAG_PREFIX} /O2 /Oi /Gy /DNDEBUG /Z7 ${VCPKG_C_FLAGS_RELEASE}" CACHE STRING "")

My cmake toolchain works and can build cmake projects for windows, macos and linux, I could use it without vcpkg but then I always have to setup and debug any library I want to add. And its even more complex when cross-compiling for example openssl that is already integrated in vcpkg. Thats why I'd like to make it work.
I've included windows.cmake in my toolchain and now it seems to work fine, I'm still testing things:
include(/vcpkg/scripts/toolchains/windows.cmake)
Is this the right way to use vcpkg to cross-compile ?

Made my own documentation: https://github.com/Nemirtingas/windowscross_vcpkg/blob/msvc2019_win10.0.18362.0/README.md

@Nemirtingas, sorry for no being able to help, and thanks for sharing the docs here!

@Nemirtingas, sorry for no being able to help, and thanks for sharing the docs here!

Np, I understand this isn't the priority of this project. I also prefer native builds but sometimes, you just can't. Thats why I put my HowTo here. Maybe someone will find it usefull.


add commit url

Closes: #648

What changed?
Added commit url to commit info.  go-git-providers updated github.com/go-logr/logr with a breaking change but sigs.k8s.io/controller-runtime has not updated to the same version. This is why I have replaced the versions for go-logr.

Why?

How did you test it?
manually

Release notes

Documentation Changes

I do have one product question. go-git-providers generates the url using the big commit hash. This makes the output a little larger on the cli. I could change it to the short hash if thats desired. It doesnt really effect the frontend though.

It doesnt really effect the frontend though.

It does, pretty majorly:

Short hash is the way to go, especially if we have a link.


migrate to react-testing-library

What: Moving from enzyme to react-testing-library

Why: Enzyme is over-complicating things in our tests and I wanted to take react-testing-library out for a spin :)

How:

Remove enzyme related packages.
Remove jest config for enzyme stuff
Update tests to use the new lib

Checklist:

[ ] Documentation N/A
[x] Tests
[x] Ready to be merged

[ ] Added myself to contributors table N/A

Codecov Report

Merging #381 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #381   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         335    335
  Branches       87     87
=====================================
  Hits          335    335

Impacted Files
Coverage Δ

src/downshift.js
100% <ø> (ø)
: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 6e11ef3...9e6aa2d. Read the comment docs.

I'm working on downshift right now and I want to avoid merge conflicts. So I'm going to go ahead and merge this now :)


Handle multiple loops per function

Hi, I just stumbled upon your package and find it very useful. I often compile multiple loops in a single function so I wondered if there was a way to handle different loops with one progressbar argument (I imagine it would be possible to pass multiple progressbar proxies and update them individually). Maybe a reset function or something like that.
Thanks in advance.

Hey, i've just added a new set(n) method to the ProgressBar class. This allows to (re)set the progress bar to a specific value in both python and numba compiled functions. The change should be available in new newest version (1.1.0).
Nesting multiple ProgressBar instances is supported by tqdm out of the box.
See the new example examples/example_nested_loops.py for both functionalities.


Updated MAINTAINERS.md format.

Coming from https://github.com/opensearch-project/.github/issues/121, updated MAINTAINERS.md to match opensearch-project recommended format.

We need skip-changelog support here ;) Let's skip that for this PR?

@dblock This PR will solve the changelog for ya.

This needs a rebase to solve the changelog verifier problem

This needs a rebase to solve the changelog verifier problem

Done

@harshavamsi care to +1?