bzip3: 1.1.4 -> 1.1.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kspalaiologos/bzip3/releases.
meta.description for bzip3 is: "A better and stronger spiritual successor to BZip2"
meta.homepage for bzip3 is: "https://github.com/kspalaiologos/bzip3"
meta.changelog for bzip3 is: "https://github.com/kspalaiologos/bzip3/blob/1.1.5/NEWS"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.5 with grep in /nix/store/mb1apzmbylkd4rf42ncrf24ws9sp1dp9-bzip3-1.1.5-bin
found 1.1.5 in filename of file in /nix/store/mb1apzmbylkd4rf42ncrf24ws9sp1dp9-bzip3-1.1.5-bin

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
bzip3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mb1apzmbylkd4rf42ncrf24ws9sp1dp9-bzip3-1.1.5-bin \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bzip3 https://github.com/r-ryantm/nixpkgs/archive/2019dffa1a18de93a0eea18cbc33e5572405aa9b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mb1apzmbylkd4rf42ncrf24ws9sp1dp9-bzip3-1.1.5-bin
ls -la /nix/store/mb1apzmbylkd4rf42ncrf24ws9sp1dp9-bzip3-1.1.5-bin/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bzip3

Maintainer pings
cc @dotlambda for testing.

@ofborg eval


i18n(pt-br): update tutorial 1-setup

Description (required)
Update tutorial 1-setup translation to pt-br

Related issues & labels (optional)

Closes #
Suggested label: i18n

This looks good to me, but @Yan-Thomas , I'm wondering why the i18n label wasn't automatically applied. Any ideas?

This looks good to me, but @Yan-Thomas , I'm wondering why the i18n label wasn't automatically applied. Any ideas?

Probably just the action failing, should be all fine.


[Bug Report]: The system cannot find the path specified. (os error 3) when devServer.webSocketServer is defined

System Info
System:
OS: Windows 10 10.0.19044
CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
Memory: 38.27 GB / 63.73 GB
Binaries:
Node: 14.20.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 6.14.17 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 111.0.5563.147
Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.51)
Internet Explorer: 11.0.19041.1566
Details
On a windows machine unless the devServer.webSocketServer option is set to false the following error will be thrown
The system cannot find the path specified. (os error 3)
The issues can be worked around by setting the option to false
Reproduce link
No response
Reproduce Steps
Go into the react example folder and run yarn dev
C:\github\rspack\examples\react>yarn dev
yarn run v1.22.19
$ rspack serve
Rspack ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0%
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:8080/
<i> [webpack-dev-server] On Your Network (IPv4): http://<IP_ADDRESS>:8080/
<i> [webpack-dev-server] Content not from webpack is served from 'C:\github\rspack\examples\react\public' directory
Rspack ████████████████████████████████████████ 100% done
The system cannot find the path specified. (os error 3)

Rspack ████████████████████████████████████████ 100% done
The system cannot find the path specified. (os error 3)

@IWANABETHATGUY  @hyf0  I will close this issue as it is fixed in version 0.1.6


docs(new): invalid email password

initial commit for invalid email password issue
@yuval-hazaz . Please let me know your comments if any.

I think this article requires some more details and background on the issue.
"Invalid email or password" may also happen when the user used invalid credentials.
Also, since this may happen on a local deployment and not only on the sandbox we need to explain about the seed process and how to troubleshoot it...
Also, the document is missing a link from the menu.
for now, I will close this PR and we should invest some more time to create a more detailed document if we will see a need in the fufute

@yuval-hazaz noted


Improve performance when querying tables with many transactions in Azure

Please describe why this is necessary.
Querying tables in Azure Data Lake Storage that have a lot of transactions takes forever.
This happens because the object_store crate is not able to simply list the blobs that were created after the latest checkpoint. This appears to be a limitation in the Azure API.
This does not happen when using Apache Spark (Databricks). In this case the operation finishes almost instantly, but it's not clear what they do differently.
Describe the functionality you are proposing.
There has to be some trick that Apache Spark is using. Perhaps it's possible to use lastModified to do the filter?
Additional context
This will happen whenever the table is a streaming destination, so it's very unfortunate.

Hi @kyrre! Thanks for opening this issue! One thing that could help us move forward on this front is to have a reproducible example (e.g. a table in Azure that we can observe takes 5s to read with delta-spark and 30s to read with kernel). Do you have a chance to look into that?
Also, yea, I recall there being some limitations with ADLS listing would be useful to document them here (and any of the limitations exposed via object_store)

Yes, IIRC ADLS listing API is very limited compared to S3 or GCS. In particular, you can't specify a lower bound on the listing, so it just lists the whole directory every time. Given that this doesn't seem to be a problem in spark, we should check what the ADLS hadoop client is doing. If it has some clever workaround, we should file an issue upstream for object_store to incorporate that same trick.
Unfortunately, I don't know that there's a lot we could do from the kernel side, if object_store doesn't make this efficient -- kernel is not generally in the business of solving cloud store API issues.

https://github.com/delta-io/delta/issues/1568 jvm version of this ticket


React 0.14 support

Updated react-draggable2 to 0.7.0-alpha1 which contains React 0.14 compatibility fixes.
Replaced "rm -rf" with rimraf for cross-platform support.
Updated dependencies to remove warnings in newer versions of Node [callemall/material-ui#1782]

Do we agree on merging this PR? Or is there another approach that we'd rather take? @Cavitt @cgestes @oliviertassinari

I moved the dependencies needed for testing into dev dependencies.
I thought I had tried this setup previously and was receiving warnings, but everything is working fine.
Test dependencies generally go in dev dependencies in my experience, let me know if this doesn't work for you guys and I'll come up with another way.

That's fine for me :+1:

:+1:

Merging this then. Thanks @Cavitt

I just tried pulling this branch, rebasing with master, and resolving conflicts using the code in this branch. I ran npm start but getting a bunch of errors regarding react, babel-runtime, history and react-router.
I'm looking into it but thought I'd let you guys know so we can get this working soon.


Assert if SQL script is badly named

Rationale
A recent SQL script was committed with bad version numbers. LabKey should flag this during development instead of silently ignoring such a script.
Note: Initially, this branch should fail to bootstrap on a full build that includes the immport module. It should then switch to success once 21.11 script changes are merged.

Do we want to assert that the version is > Module.getSchemaVersion()?

I don't think we want to assert in that case. It's not uncommon that someone creates a script and tests it before bumping the module version. Seems reasonable to log a warning, though.


KPs calling KPs?

We have a principle that KPs don't call KPs.  But we're also suggesting that KPs can use the Ontology KP to handle subclass of or other ontology statements.    How do we resolve that?

In the most recent iteration of the Architecture diagram, the Ontology KP is listed under Platform Services suggesting that perhaps we already consider it to be something different than a typical KP. Given that, it seems that an exception could be made to allow other KPs to talk to it.

I wasn't sure how much I heard other KPs thinking they would call it "as a KP" (meaning to me, using the TRAPI interface). Rather they might find it useful to integrate a file dump from Ubergraph in some format.

What we actually don't want is a KP passing through information from another KP. I don't think we intend to prevent KPs from using other KPs to improve quality of data they provide.


Vulnerability CentOS 7 : yum-utils (CESA-2018:2285)(High) was found with NESSUS

A vulnerability: CentOS 7 : yum-utils (CESA-2018:2285)(High) was found.
Scanner: NESSUS
Asset Information:
Asset name: ct1
IP: <IP_ADDRESS>
Scan was run on: 2018-09-05 09:15:06
Notification Rules Triggered: External Assets - New Critical Vulnerabilities to Github
Please see Nucleus for more information on these vulnerabilities

This is a comment detailing exactly what the issues are


Cannot find module 'react-chartjs-2'

Any idea why this might be happening, I really love these charts and would like to use them. Tried deleting node_modules and reinstall them, clearing npm cache and some other things. I see that it is available in node_modules, whole files and folders. A suggestion would be great. Btw im using typescript. I saw the d.ts files but I still get the error. Thnx

This happens when compiling with --module=es2015. Probably an issue with the declaration file.

Setting moduleResolution to 'node' should fix it also. Because when using module es2015 the moduleResolution will default to "Classic", so you need to manually set it to 'node'. From typescript compiler options docs:
moduleResolution = module === "AMD" | "System" | "ES6" ? "Classic" : "Node"
They should just make it always default to node tbh, since classic is just a leftover from old ts and is there just for backward compatibility issues.

Thanks @gentgaashi for answering this. I am closing for now


Spike: Provide POC with KeyCloack

Login/Logout
support for multiple web servers

folder for experiments https://github.com/zorko-io/zorko-platform/tree/master/apps/sso-gateway
start work in sep branch with the name yzhbankov/T-1


Interact with html

Allow the C# code to interact with the page HTML/DOM.
A way to deliver this would be to offer a method that would allow the interaction. For example:
DOM.UpdateElement("#myelement", "el => el.textContent = 'foo'")

Where the first argument is a CSS selector, and the second is a function that takes the found element as an argument. Of course, this is a just an example so that we can get an idea and start a discussion.
With this available we can then make the docs generated with .NET Try even more interesting and interactive.

Yup. This is something I'd like to see as well. I'd love if my code could retrieve values from the dom as arguments.


Ctor service injection

Fixes #31926
Addresses #31909
❓ I'm not quite on the preview bits to test yet ... but I will be soon. Per the primary ctor guidance, primary ctors seem like they'll be OK here. Are they 👍 or 👎 for this?

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/fundamentals/dependency-injection.md
ASP.NET Core Blazor dependency injection

❓ I'm not quite on the preview bits to test yet ... but I will be soon. Per the primary ctor guidance, primary ctors seem like they'll be OK here. Are they 👍 or 👎 for this?

Primary ctors work fine :+1:

@danroth27 ... Your suggestion condensed all of this coverage nicely.


Change in 'copy' behavior breaking v4_cfg_tls_trusted_ca_certs

https://github.com/sassoftware/viya4-deployment/blob/9aa0ac29be23b21ce0384a040453619b48e78559/roles/vdm/tasks/tls.yaml#L159
Prior to commit 8830916a8c9de211233871e220c49a1a4fb02f08, this copy module would look like this (note the "src"):
TASK [vdm : TLS - copy customer provided ca certs] *****************************
task path: /viya4-deployment/roles/vdm/tasks/tls.yaml:158
changed: [localhost] => changed=true
  checksum: d307182290fa7568b2fa34afb53b89328a546811
  dest: /data/client8-rs8f-eks/viya/site-config/vdm/security/cacerts/source
  diff: []
  gid: 100
  group: users
  invocation:
    module_args:
      _original_basename: ''
      attributes: null
      backup: false
      checksum: d307182290fa7568b2fa34afb53b89328a546811
      content: null
      dest: /data/client8-rs8f-eks/viya/site-config/vdm/security/cacerts/
      directory_mode: null
      follow: false
      force: true
      group: null
      local_follow: null
      mode: '0660'
      owner: null
      remote_src: null
      selevel: null
      serole: null
      setype: null
      seuser: null
      src: /viya4-deployment/.ansible/tmp/ansible-tmp-1731612887.6607933-905-140955707363933/source
      unsafe_writes: false
      validate: null

Following ansible update to 10.5, the behavior has changed:
TASK [vdm : TLS - copy customer provided ca certs] *****************************
task path: /viya4-deployment/roles/vdm/tasks/tls.yaml:158
changed: [localhost] => changed=true
  checksum: 92c5a91a95af4a4959e3343087b08b0548c36cab
  dest: /data/jopg-awstest6-eks/viya/site-config/vdm/security/cacerts/.source
  diff: []
  gid: 100
  group: users
  invocation:
    module_args:
      _original_basename: ''
      attributes: null
      backup: false
      checksum: 92c5a91a95af4a4959e3343087b08b0548c36cab
      content: null
      dest: /data/jopg-awstest6-eks/viya/site-config/vdm/security/cacerts/
      directory_mode: null
      follow: false
      force: true
      group: null
      local_follow: null
      mode: '0660'
      owner: null
      remote_src: null
      selevel: null
      serole: null
      setype: null
      seuser: null
      src: /viya4-deployment/.ansible/tmp/ansible-tmp-1731638963.5694757-903-278039363195638/.source
      unsafe_writes: false
      validate: null

And then the file is not found ("matched: 0"):
ok: [localhost] => changed=false
  examined: 1
  files: []
  invocation:
    module_args:
      age: null
      age_stamp: mtime
      contains: null
      depth: 2
      encoding: null
      exact_mode: true
      excludes: null
      file_type: file
      follow: false
      get_checksum: false
      hidden: false
      mode: null
      paths:
      - /data/jopg-awstest6-eks/viya/site-config/vdm/security/cacerts/
      patterns:
      - '*'
      read_whole_file: false
      recurse: false
      size: null
      use_regex: false
  matched: 0
  msg: All paths examined
  skipped_paths: {}

In both cases this is running in a docker container with the following docker parameter:
--volume=/jopg/awstest6/dac/aws-rds-ca.crt:/config/v4_cfg_tls_trusted_ca_certs

This seems related to this note from ansible v10 changelog:

copy action now also generates temprary files as hidden ('.' prefixed) to avoid accidental pickup by running services that glob by extension.

@ajeffowens, thanks for entering this issue along with the PR to address it. I'm expecting that your PR will be included in the upcoming release.

@ajeffowens, thanks for bringing this to our attention. I've opened an internal ticket for investigation.
I'm having trouble replicating the issue. When I run the docker container, it's able to copy and find my certs. I'm assuming it's due to a difference in our configurations, so I'll reach out for some additional info.


Custom profile fields textareas should not rely on cols/rows but use CSS

Digging the issue in #3049 I realized that the rows and cols columns are used to define the size of the input textarea of the custom field.
This is not the best approach, the code should rely on CSS for the width (100% should always be rather good) and, for the height, on a somehow default value with either a grip or an auto-growing textarea.

Unless I misunderstand they already do? The rows & columns is just a kind of fallback (which may or may not be considered obsolete) while the width: 85% comes from CSS.
The height might come from cols but that's hardly crazy. Besides easily enabling sensible defaults it's much more intelligent. It takes into account the font size, the line-height, etc. ;-) Of course with (r)em you can more or less do the same thing but it's not as self-evident. :-P


BUG Use requirements.txt in setup.py

Instead of repeating requirements in the setup.py file, read from requirements.txt. This fixes the error that we were being too restrictive on the cloudpickle version, and makes sure we don't diverge in requirements again.

Re-read https://packaging.python.org/discussions/install-requires-vs-requirements/ ... okay, let's keep the explicit requirements in setup.py.


SvelteKit (Vite) POST request resulting in "Function not found..." response message.

UPDATED: After the original issue disappeared with a netlify update, the issue recently reappeared. See the comments below for details. I have provided a minimal recreation in the comments.
Describe the bug
I am using SvelteKit in my project. My site seems to work well for all GET requests including those that leverage endpoints. However, I have one endpoint that has handlers for both GET and POST requests. The GET request works fine, however when I submit a POST request to that same endpoint, I get the text response message "Function not found...".
This is not a problem I run into when running SvelteKit directly instead of through netlify-cli.
I verified that the corresponding .netlify/server/entries/endpoints file has both GET and POST functions.
Any suggestions for things to try? If this is a head-scratcher, I'll move forward with creating a test project that reproduces the issue.
Steps to reproduce
Submit a POST request to an enpoint that defines both GET and POST handlers.
Configuration
[build]
command = "npm run build"
publish = "dist"

[dev]
  command = "npm run dev -- --host"
  targetPort = 5173
  port = 9090
  autoLaunch = false
  functionsPort = 9091

Environment
  System:
    OS: Linux 5.15 KDE neon 5.25
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    Memory: 9.52 GB / 15.35 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 17.6.0 - ~/apps/nodejs/node-current/bin/node
    Yarn: 1.22.17 - ~/apps/nodejs/node-current/bin/yarn
    npm: 8.5.2 - ~/apps/nodejs/node-current/bin/npm
  npmGlobalPackages:
    netlify-cli: 10.5.1

Would you be able to create a small reproduction example? So we can look at it?

Hmm... I was unable to reproduce the issue with the latest release. All good now!

Sadly the issue seems to have returned. I have more information and a minimal reproduction of the issue. What I am observing is that a post request is being directed to the background job instead of the POST handler to which it was intended.
Here is the minimal reproduction: https://github.com/kyllerss/netlify-issue-4873
The README.md contains the reproduction instructions plus some log samples.
The port I'm using for the app is 4003. The port I am using for the background jobs is 4004. The background job is an empty file, but that doesn't matter (I have content in my original project). The existence of the background job file seems to cause the issue regardless of its contents.
Here is the log for the connection attempt to the background function's port:
...
HTTP 96144: createConnection <IP_ADDRESS>:4004: [Object: null prototype] {
  port: '4004',
  host: '<IP_ADDRESS>',
  hostname: '<IP_ADDRESS>',
  socketPath: undefined,
  pfx: undefined,
  key: undefined,
  passphrase: undefined,
  cert: undefined,
  ca: undefined,
  ciphers: undefined,
  secureProtocol: undefined,
  method: 'POST',
  headers: {
    'x-forwarded-for': '::1',
  ...

@kyllerss Can you rename your function to submission-created.ts & see if it works?

@kyllerss Creating a submission-created.ts or submission-created-background.ts file to handle form submissions should fix your issue.

@danez I couldn't find any documentation or help articles on how to setup form submission handlers in Netlify CLI. If some documentation exists, could you point me to it?

Howdy! Bump on this one! I've made a reproduction repo!!
https://github.com/wlockiv/repro-sveltekit-netlify-dev-fn-not-found
Please please let me know what additional info, if any, I can bring to the table! Thank you very much for what you do for our community!

Bumb, I am having the same issue. Did someone find a solution?


Excessive memory usage

The simple demos consume over 120Mibibytes of usage upon opening, and sometimes balloon to over a Gibibyte.

Hi, @kylerchin . Could you be more specific. Which examples are your trying and if it is native or wasm? Because some of the examples are supposed to consume a lot of memory. And others use caching to reduce CPU workload, so memory usage can grow for some time.

Hi, It was the wasm OSM raster example that got me over 780MB, and it couldn't load anything else after that

Ah, I see. This problem is probably already fixed, but not uploaded to the github.io. The tile cache size was not limited before, so it would grow indefinitely. I will check again before I get around to updating the uploaded web examples.


[analyzer] InconsistentAnalysisException: Requested result might be inconsistent with previously returned results in analyzer 4.1.0

After upgrading analyzer from 3.4.1 to 4.1.0 I started getting InconsistentAnalysisException exceptions on flutter pub run build_runner build such as:
2022/05/25 14:03:05 [SEVERE] freezed:freezed on lib/src/parfs/atrial_fibrillation.dart:
2022/05/25 14:03:05
2022/05/25 14:03:05 InconsistentAnalysisException: Requested result might be inconsistent with previously returned results
2022/05/25 14:03:05
2022/05/25 14:03:05 package:analyzer/src/dart/analysis/session.dart 133:7  AnalysisSessionImpl._checkConsistency
2022/05/25 14:03:05 package:analyzer/src/dart/analysis/session.dart 94:5   AnalysisSessionImpl.getParsedUnit
2022/05/25 14:03:05 package:build_resolvers/src/resolver.dart 204:32       AnalyzerResolver.compilationUnitFor
2022/05/25 14:03:05 package:build_resolvers/src/resolver.dart 111:26       PerActionResolver.compilationUnitFor.<fn>
2022/05/25 14:03:05 package:source_gen/src/builder.dart 373:18             _hasAnyTopLevelAnnotations
2022/05/25 14:03:05 package:source_gen/src/builder.dart 387:9              _hasAnyTopLevelAnnotations
2022/05/25 14:03:05 package:source_gen/src/builder.dart 89:11              _Builder.build

I also opened an issue against freezed first (https://github.com/rrousselGit/freezed/issues/671), but since freezed is not in the stack trace above at all, it might be a problem with the analyzer instead.
It does not happen every time and not always with the same set of files, also tends to differ e.g. between my laptop and my CI/CD env.
I also noticed that it seems related to a change mentioned in analyzer 4.0.0 changelog:
Changed synchronous AnalysisSession.getFile and getParsedUnit to fail if there are pending file changes, instead of reading. As for any other AnalysisSession method, await AnalysisContext.applyPendingFileChanges().

(AnalyzerSession.getParsedUnit is what's throwing the exception here)
I'm using flutter/dart with the following versions:
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (6 days ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2

With this information I can only state, that apparently sometimes AnalysisSession.getParsedUnit() is invoked when there are pending changes (i.e. changeFile() or addFile() invocations to AnalysisDriver), but before AnalysisDriver.applyPendingFileChanges().
I don't have any proofs, but a suspicion that it might be caused by asynchronous nature of builders, so that changeFile() is invoked, and even though it is followed by applyPendingFileChanges(), it is async invocation, so there might be another Future started to execute that in between that calls getParsedUnit(). Some kind of a lock might be useful here. @jakemac53
Or it might be something else, that I cannot imagine yet.

It does look like possibly this could happen, we do use a lock today but we are not protecting our calls to getParsedUnit, getFile, etc with that lock. We are only using it to lock all our calls to changeFile and applyPendingFileChanges.
@scheglov should we be protecting really any usage of the session with this lock?

I'm not sure why we want to prevent multiple builders doing changeFile(), there might be some higher level logic for this.
But in general any changeFile() and applyPendingFileChanges() invocation sequences should be done as a single atomic operation, without any other operations in between. To do this, we need to grab a lock before the first changeFile() and release it after applyPendingFileChanges(), and any other operation that accesses currentSession should also grab this lock.
A slight improvement would be to have an exclusive "write" lock and shared "read" locks.

I'm not sure why we want to prevent multiple builders doing changeFile(), there might be some higher level logic for this.

This is more about handling our own internal state around knowing which files have changed and need to be re-resolved etc.

@jakemac53 sure, I'm happy to help!
I'm running it now, but it's either very slow or deadlocked: previously it took around 26s, and now using your build_resolvers on commit 9ef61fc93a34355843870d0cdde3644481f8fecf it's been over 13 minutes and it's still running.
This is repeating in the log:
2022/05/26 15:44:50 [INFO] 10m 24s elapsed, 26/42 actions completed.
2022/05/26 15:44:50 [WARNING] No actions completed for 15.1s, waiting on:
(...)
2022/05/26 15:44:50   .. and 11 more

"26/42 actions completed" is where it previously tended to print the InconsistentAnalysisException error.

Ok, yeah I was afraid of this. I think we are deadlocking on two build steps that are running on files that import each other, and both have generated part files. That is likely why we only had a per-action lock previously.
Not sure exactly what the best way to resolve that is going to be... will have to think on it a bit.


Pixel based gutters?

Not knowing too much about the inner workings of Jeet I've run into a problem where ideally I should be using pixel-based gutter widths (for consistency).
Was wondering if this is all possible in jeet or do I have to stick with percentages?

Not possible with Jeet as it uses percentages for pretty much everything. For every point in $jeet-gutter it's about 10px (give or take a few pixels). So $jeet-gutter = 3 = aroundish 30px.
Other percentage-based preprocessor grids do generally the same thing. None of them can get fixed units.
The only grid system that can do this is Lost and it will let you pick any unit you'd like (rem, em, %, px, etc.).

Thanks Cory, I'll stick with % for now.
I had no idea about Lost, it looks super impressive and can't wait to try it out!
On Tue, Apr 7, 2015 at 6:37 PM, Cory Simmons<EMAIL_ADDRESS>wrote:

Not possible with Jeet as it uses percentages for pretty much everything. For every point in $jeet-gutter it's about 10px (give or take a few pixels). So $jeet-gutter = 3 = aroundish 30px.
Other percentage-based preprocessor grids do generally the same thing. None of them can get fixed units.
The only grid system that can do this is Lost and it will let you pick any unit you'd like (rem, em, %, px, etc.).
Reply to this email directly or view it on GitHub:
https://github.com/mojotech/jeet/issues/412#issuecomment-90475906

Sorry @jakecleary I deleted it when you said it would be cheeky. Won't happen again. :X

haha @corysimmons I don't care. Lost is sick.


Error structure is not shown in swagger

Request to please add error structure in swagger
Presently it shows only happy path

For Example,
Kindly see image below:
It just shows positive response.
Doesn't show negative response details.
These will be very helpful for Open API.
Request to please help on this..

Also in the case of success response ..
A struct variable having json tag "-" is shown as "-"
Request to please see SS.
Ensured that  User struct implements ToResponse()
The response has success and data.
However, in swagger this is not getting reflected...
The output is as follows, but the same is not getting reflected in swagger.
{
    "success": true,
    "data": {
        "id": 398,
        "name": "testing",
        "email"<EMAIL_ADDRESS>        "password": "sdafafds1",
        "created_at": "",
        "created_time": ""
    }
}

Hi, error cases are not showing on Swagger. This is a feature that we're planning to add. Need to a hotfix for the JSON field ignore case thanks for your feedback.

Hey! I was able to convert to OAS3 using kin-openapi


bug found!!

Challenge Waypoint: Uncomment HTML has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0.
okay,the first three Test description are completed
The last one says "Be sure to delete all trailing comment tags, i.e. -->. "
They cant be completed at a same time.

.

This is not a bug. You should be completely removing all comments from the code. Thanks and happy coding!

This is not a bug. You should be completely removing all comments from the code. Thanks and happy coding!

I did that , but don´t work

didi you ever figure it out? Having same issues deleting the --> portion


Cascading multiselect fields.

Can i make cascading in multiselect fields? For example: If i have Field name as Country which is a multi select field and want related States to be listed in multi select field by filtering the field value. Please provide me any feasible solution to implement this.

I don't think you can do it for the moment, I will check for other options and get back to you.


Initializing: Failed to serialize data

Hi, had to re-add my enyaq today. Before that, everything was working perfectly. Now it’s not. I don’t know which setting „battery_support“ reflects in the car. So I have no option to workaround this issue. Here’s the error:
Failed to deserialize data: {"isVehicleInSavedLocation":false,"status":{"chargingRateInKilometersPerHour":0.0,"chargePowerInKw":0.0,"remainingTimeToFullyChargedInMinutes":0,"state":"CONNECT_CABLE","battery":{"remainingCruisingRangeInMeters":282000,"stateOfChargeInPercent":51}},"settings":{"targetStateOfChargeInPercent":100,"preferredChargeMode":"MANUAL","availableChargeModes":["MANUAL"],"chargingCareMode":"DEACTIVATED","autoUnlockPlugWhenCharged":"OFF","maxChargeCurrentAc":"MAXIMUM","batterySupport":"NOT_ALLOWED"},"carCapturedTimestamp":"2024-10-25T21:28:00Z","errors":[]}
`Traceback (most recent call last):
File "", line 30, in mashumaro_from_dict_json
File "/usr/local/lib/python3.12/enum.py", line 757, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/enum.py", line 1171, in new
raise ve_exc
ValueError: 'NOT_ALLOWED' is not a valid EnabledState
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 17, in mashumaro_from_json
File "", line 32, in mashumaro_from_dict_json
mashumaro.exceptions.InvalidFieldValue: Field "battery_support" of type Optional[EnabledState] in Settings has invalid value 'NOT_ALLOWED'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py", line 374, in _deserialize
data = deserialize(text)
^^^^^^^^^^^^^^^^^
File "", line 19, in mashumaro_from_json
mashumaro.exceptions.InvalidFieldValue: Field "settings" of type Settings in Charging has invalid value {'targetStateOfChargeInPercent': 100, 'preferredChargeMode': 'MANUAL', 'availableChargeModes': ['MANUAL'], 'chargingCareMode': 'DEACTIVATED', 'autoUnlockPlugWhenCharged': 'OFF', 'maxChargeCurrentAc': 'MAXIMUM', 'batterySupport': 'NOT_ALLOWED'} `

Thanks for your report! Your car probably is reporting something we havent seen yet. We'll investigate and update the integration as needed


RFE - Replication FS data

Looking for information exposed via /file-system-replica-links to be included so we may track record of file systems replicated lag time and whether they are "protected" based on SLA.

Replica links metrics are included in the next minor release that is pending for approval. We should bump it out in a couple of days.

@genegr iss this in the current v1.03 pushed out or another release?

@mboeckelmann 1.0.3 is the latest release and should include this data

@sdodsley @genegr  thanks.  I see purefb_array_performance_replication, but this seems to be at array level.  any plan for individual replica links between fs or just at the array-wide level?

@mboeckelmann data from individual filesystems or buckets is not available. We would have to poll every link individually to get that data, and you can imagine that on a very large and heavily utilised FB that could take a considerable amount of time. This would cause the exporter to be very slow responding. This could lead to timeouts in the O11y application and loss of data points.

We are facing the issue that the replication link accumulate a huge amount of backlog, it has grow to more than 1xxTB and become a risk. We can use the following metrics in previous exporter to monitor the lag for each replication link to notice any backlog have accumulate, but we don't find any similar metric in this exporter.
purefb_bucket_replica_links_lag_msec


Add fallback case for articulated hand select on OpenXR

Overview
To fix #10304, we'll likely need a change on the Unity side. To account for this change, we'll need to add a new fallback for the articulated hand on OpenXR. This will allow us to both be compatible with existing versions and future versions (assuming the change is made on the Unity side).
Changes

Part of fixing #10304

/azp run


Update Post “is-the-pest-control-treatment-safe-for-my-family-and-pets”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
f3a350250444c5465281ff139989c0734cdec527

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/65309b0a88fe9d000881e6ec


A couple of bugs

List of bugs found when trying out the game for the first time:

When exiting with settings open, the settings gui will stay open until the tab closes it self
When in mod menu and pressing back, it takes you back to main menu instead of map list, which is kinda frustrating because i play with lazer alot
Cursor doesnt want to move when starting

Thank you for providing a bug report, I will work on these problems

I have resolved 2 out of 3 issues, However I am unaware of any cursor issues, Please open a more formal bug report such as steps to reproduce, system, browser and other info here here


Different behavior according to type: float create circular initialization

While working on #184 I noticed that just adding point (cast to "float") on some constant values break model and create circular initialization.
For instance, in the model test_smooth.mdl try to change 2 to 2.0 or 2.5 (something with one point) on line 3, the translation will work but the run won't. (Vensim is ok with that change)
You can try to change values in python file to notice the bug...

Seems corrected with  #184
Actually Vensim round the non integer values for the order of SMOOTH N function.


Refactor adapters into separate packages

4th & 5th of the 5 changesets proposed in #25 for refactoring channel
module.
Generic adapter and websocket adapter are refactored into separate
packages.

Resolves #25
Note : To be merged to develop, only after #29  is merged.
Signed-off-by: Manoranjith<EMAIL_ADDRESS>

I did a force push, to rebase my branch on the latest version of develop.


save if a error occurs during sending of the request

This saves the error which occurs during sending in the Handler, so we have the ability to react on it (e.g. by disabling the logger if the server is not available).

Instead of returning the exception message in a variable maybe would be better to try to propagate the exception. It can give us the opportunity to customize the exception for this case and act accordingly to the exception.

Yes, and then in _send() method we can handle the exception as we want (e.g. print the exception message, activate an error flag, etc.)


Thoughts on Issue / PR templates

@Moya/contributors was thinking of this. Should we add templates for issues / PRs? For example, I noticed some issues with no / incomplete Podfiles / Carthage files, which makes it harder for us to help the person with the question.
I am not sure what exactly should be in them - but they should be able to both help people with questions, as well as the people helping.
Let me know what you think; feedback is definitely welcome!

I think this is a good idea, what are the most common miscommunications we need to address in issues?

Some examples:

https://github.com/CocoaPods/CocoaPods/blob/master/.github/ISSUE_TEMPLATE.md
https://github.com/danger/danger/tree/master/.github

I find the Realm template really useful.

It would also be useful to make users aware of syntax highlighting for code in these templates.

Totally agreed with @BasThomas. Some users don't know how to use code blocks. We can add some examples in issue/PR templates. For example:

### What you did:

```swift
func example() {
  thisCodeWillBeFormatted(in: .swift)
}
```

### What you expected:

blah blah

I agree with @devxoul, templates are helpful for newcomer contributors.

Closed after #704

A PR template still has to / can be done maybe?

@BasThomas you're right, my bad 😅

I don't see the need to add a PR template right now. If someone does, please reopen or submit a PR :)


'NoneType' object has no attribute 'key'

error while running example

self.UserId return None instead int, i dont know what is it, please suggest me


[release-0.1] :book: Update readme file

This is an automated cherry-pick of #5
/assign furkatgofurov7

/close


model DSM added as output

The DSM model is also a good output for ArchRuby. DSM models can improve the visualization of dependencies.

Hi @Elderjr! Tanks for you DSM implementation on ArchRuby Tool. It is very good to have one more way to visualize the system high level architecture. I made some comments in the code, could you check them please?


Revamp Website: v2.0

I feel bored, let's do a fully revamp this website.
What concerns need to address:

Change CSS to be more clean and professional, Tailwind or BS5 can be an alternative #79
Produce more pages, maybe create a detail page for every session
Easier static generated, currently w Sapper we do a workaround to generate tag pages, if we plan to add detail pages, I just don't think this workaround still applicable. Maybe Next.js can be a candidate for replacement
#76
#78

https://next.docs.astro.build/comparing-astro-vs-other-tools

How about a feature to filter an event by the speaker?
As we know, some speakers always talking about his/her best knowledge. For example, Mr. Nur Hidayat very well talking about databases, so we can easily get all about databases topic from him without extra searching.

Can you help to create new issue and mention here @ngekoding ?

Issue created https://github.com/phpid-jakarta/phpid-learning/issues/90
Thanks


Fake DNS with full V2 intergration

This is a more integrated version of https://github.com/v2fly/v2ray-core/pull/395 by @yuhan6665 .
Fake DNS Pool will be represented as a Instance Service, and the match and replace process will be considered a sniffer.
Following new project interface have been added:
Metadata sniffer, which is used to sniff connection data from metadata, instead of content.
Configure file post processing stage, which is used to add candy or lint to configure file.

@xiaokangwang 👍  I can do some test on Android device, today or tomorrow.
I briefly looked through the commits. I'll need to add "sniffing" : "destOverride": [ "fakedns" ] in the inbound. And you added a config object at the root level? In that case we can remove the "fake" object in "dns" right?

@xiaokangwang +1 I can do some test on Android device, today or tomorrow.
I briefly looked through the commits. I'll need to add "sniffing" : "destOverride": [ "fakedns" ] in the inbound. And you added a config object at the root level? In that case we can remove the "fake" object in "dns" right?
Here is a working configure file
https://gist.github.com/xiaokangwang/17fd100bca6bbb22b9ca110919bfed0d

No, you still need to add a fake boolean value in the DNS, and the FakeDNS top level setting is optional.

There are some report that some Fake DNS IP cannot be picked up by Fake DNS and will be allocated a new IP or unable to rewrite domain. I am still investigating.

Did some test. I found no issue on my side except the "fakeDns" top level setting is not taking effect.

I have fixed a issue prevent UDP socket with fake DNS IP from restored to original domain name.

Did some test. I found no issue on my side except the "fakeDns" top level setting is not taking effect.

I think I have fixed this in the https://github.com/v2fly/v2ray-core/pull/406/commits/0a94cfd81ddb28145f7c52aa9974c87fc272efc5 . Please let me know if it is not fixed for you.

sorry for simple suggestion of final configuration without code review
  // remove
  "dns": {
      "fake": true
  },

  // remove
      {
        "type": "field",
        "ip": [
          "<IP_ADDRESS>/8"
        ],
        "outboundTag": "discard"
      }

  // remove
      {
        "type": "field",
        "port": "53",
        "outboundTag": "fakedns"
      },

  // remove
    {
      "protocol": "dns",
      "settings": {
      },
      "tag": "fakedns"
    },

  // makes the similar experience of v2ray-sniffing
      "sniffing": {
        "enabled": true,
        "destOverride": [
       // "http, tls",
          "fakedns"  // specify fakeDns and routing-dns
        ],
        "range": "<IP_ADDRESS>/8",  // specify fake-range and routing-discard
        "metadataOnly": true
      }

我这边测试没有问题了。
我还是多一嘴无关的话，做开源本来就不容易，翻墙项目更是如此，最紧缺的就是参与者的时间。这半年来 rprx 对 v2 的贡献有目共睹，其对效率的追求，以及带来的新思想都对社区有正面影响。如果 v2 从此分支，也许 v2fly-core 变得比较“纯净”，但对于上下游的整体都会增加很多工作量。我认为 License 应当为开发人员服务，而不是反之。希望考虑双许可方案，不要仅仅因为 MIT vs MPL 而使得项目分支。

我这边测试没有问题了。
我还是多一嘴无关的话，做开源本来就不容易，翻墙项目更是如此，最紧缺的就是参与者的时间。这半年来 rprx 对 v2 的贡献有目共睹，其对效率的追求，以及带来的新思想都对社区有正面影响。如果 v2 从此分支，也许 v2fly-core 变得比较“纯净”，但对于上下游的整体都会增加很多工作量。我认为 License 应当为开发人员服务，而不是反之。希望考虑双许可方案，不要仅仅因为 MIT vs MPL 而使得项目分支。

xtls是私有授权，并不是开源授权。

我这边测试没有问题了。
我还是多一嘴无关的话，做开源本来就不容易，翻墙项目更是如此，最紧缺的就是参与者的时间。这半年来 rprx 对 v2 的贡献有目共睹，其对效率的追求，以及带来的新思想都对社区有正面影响。如果 v2 从此分支，也许 v2fly-core 变得比较“纯净”，但对于上下游的整体都会增加很多工作量。我认为 License 应当为开发人员服务，而不是反之。希望考虑双许可方案，不要仅仅因为 MIT vs MPL 而使得项目分支。

XTLS 是私有授权，并不是开源授权。
他不接受 license 更改，也不接受双许可或者专利授予/转让，而 core 不能因为 xtls 就变成非开源软件。
在投票结束后的十几天内，他都坚持私有许可，因此我们决定移除 XTLS 的部分。
在之后完成这一工作的几个小时，他修改了授权。
在这十几天内反复，我个人已经不再信任其授权的可靠和稳定。
我不想谈什么阴谋论，但我很讨厌把其他人当成傻子玩弄。
RPRP 并不会离开社区，未来的工作虽然会转移，但依旧会和上游同步。
其他的分支的诞生也有助于生态的丰富和增加抗打击。

既然已经MPL了，那何不再来一次投票。就算后面协议改了再移除也来得及吧。急匆匆的删除对用户影响也不小吧。

DNS result IPs with <IP_ADDRESS>/4 prefix are rejected by Windows GetAddrInfoW function with WSANO_DATA error.

any update?

No, I am waiting for merge

Is this pr clear for merge?

Could the fakeDNS configuration be simplified?

Now Don't merge

I have rebased the code so that it do not have any merge conflict with master branch.

I have rebased the code so that it do not have any merge conflict with master branch.

"fakedns": {
    "ipPool": "<IP_ADDRESS>/8",
    "poolSize": 65535
}

...

"sniffing": {
        "enabled": true,
        "destOverride": [
            "http",
            "tls",
            "fakedns"
        ],
        "metadataOnly": true
},

"fakedns": {
    "ipPool": "<IP_ADDRESS>/8",
    "poolSize": 65535
}

...

"sniffing": {
        "enabled": true,
        "destOverride": [
            "http",
            "tls",
            "fakedns"
        ],
        "metadataOnly": true
},

I haven't test the latest version. From look of this commit https://github.com/v2fly/v2ray-core/commit/a1a4ab1ad7157ea6eef52b6ecc0776bc3bbcb4d5
It is also needed to add fakedns in the DNS server list?

"fakedns": {
    "ipPool": "<IP_ADDRESS>/8",
    "poolSize": 65535
}

...

"sniffing": {
        "enabled": true,
        "destOverride": [
            "http",
            "tls",
            "fakedns"
        ],
        "metadataOnly": true
},

I haven't test the latest version. From look of this commit a1a4ab1
It is also needed to add fakedns in the DNS server list?

"dns": {
        "servers": [
            "fakedns"
            "<IP_ADDRESS>",
            "https://<IP_ADDRESS>/dns-query"
        ]
    },

The current config is good in general.
For fake ip -> domain, I'd like to add a small change for sniffer enhancement.
For domain -> fake ip, in the future if we want to add a whitelist or blacklist, I think the best structure is to create a "fakedns outbound". Then user can leverage the existing routing to configure any rule. Something like:
"fakedns": {
    "ipPool": "<IP_ADDRESS>/8",
    "poolSize": 65535
}
"dns": {} //normal dns
"outbounds": [
    {
      "protocol": "dns",
      "tag": "dns"
    },
    {
      "protocol": "fakedns",
      "tag": "fakedns"
    }
]
  "routing": {
    "rules": [
      {
        "outboundTag": "dns" // a black list that don't want to use fake dns
      },
      {
        "outboundTag": "fakedns" // a white list that can use fake dns
      },
      {
        "outboundTag": "dns" // send normal dns request
      }
    ]
  }

@xiaokangwang @kslr sorry for the late reply. I did test on Android and found some issue in the latest version. In https://github.com/v2fly/v2ray-core/pull/406/commits/38e4107ea1b22fb93977bdccd2c3cbce565dd6e1, the interface LookupFakeIP(domain string) is removed and fakedns become a standard client. This might be ok in some cases, but in Android, when a request is sent out from "Freedom", it will get the fake IP and fail. This is because VPN service take over all system DNS traffic and pass it to core.
I'm thinking of two possible fix: one is to add a new interface similar to LookupFakeIP(domain string) which makes the query from freedom outbound and routing ignore "fakedns". The second is add a new "fakedns" outbound. Thoughts?

@xiaokangwang @kslr sorry for the late reply. I did test on Android and found some issue in the latest version. In 38e4107, the interface LookupFakeIP(domain string) is removed and fakedns become a standard client. This might be ok in some cases, but in Android, when a request is sent out from "Freedom", it will get the fake IP and fail. This is because VPN service take over all system DNS traffic and pass it to core.
I'm thinking of two possible fix: one is to add a new interface similar to LookupFakeIP(domain string) which makes the query from freedom outbound and routing ignore "fakedns". The second is add a new "fakedns" outbound. Thoughts?

former agreed.

@xiaokangwang @kslr sorry for the late reply. I did test on Android and found some issue in the latest version. In 38e4107, the interface LookupFakeIP(domain string) is removed and fakedns become a standard client. This might be ok in some cases, but in Android, when a request is sent out from "Freedom", it will get the fake IP and fail. This is because VPN service take over all system DNS traffic and pass it to core.
I'm thinking of two possible fix: one is to add a new interface similar to LookupFakeIP(domain string) which makes the query from freedom outbound and routing ignore "fakedns". The second is add a new "fakedns" outbound. Thoughts?

Is this related to https://github.com/v2fly/v2ray-core/pull/572 and https://github.com/v2fly/v2ray-core/discussions/692 ?

@Loyalsoldier these are different issues. #696 is to fix direct traffic send out from freedom outbound, when fake DNS is enabled.


Breadcrumb Bar Not Detecting Python Functions

The breadcrumb bar works intermittently.  It sometimes does not detect functions in my .py code (complete and valid).  When I click through the code, it doesn't show the function my cursor is currently in.  I haven't detected a pattern when it does or does not work to reproduce the issue.
https://github.com/Microsoft/vscode/issues/57973#issuecomment-419137268
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.49GB (8.81GB free)

Process Argv
C:\Users\browns\AppData\Local\Programs\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

overtype
ada
0.2.0

dealii-prm
dav
0.0.1

pgsql
dou
0.1.3

vs-code-xml-format
fab
0.1.5

hive-sql
jos
0.0.4

mssql
ms-
1.4.0

python
ms-
2018.7.1

PowerShell
ms-
1.8.4

java
red
0.30.0

vscode-sql-beautify
sen
0.0.4

line-endings
ste
1.0.2

Please could you provide the following information:

Steps to reproduce (sample repo)
Python version (& distribution if applicable, e.g. Anaconda)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...)
Are you using the new experimental Language server or still using Jedi
If you don't know, please could you check if the following setting is enabled in your settings.json file (user and workspace settings)

"python.jediEnabled": false

The problem is intermittent, and I have not detected a pattern that allows me to describe steps that will reliably reproduce the issue.
My python version is 3.6.4 Anaconda 64 bit.
I haven't configured any special environments.  I suppose I'm using conda, but I'm not sure.
I have "python.jediEnabled": false, but I don't remember intentionally setting that.  I also have what appears to be an invalid setting "[python]": {}

@kd7vrc if you installed IntelliCode then it would have flipped on the language server.
If you look down in the status bar it will tell you what Python interpreter you are using (and thus if you are using Anaconda).
The [python]: {} is totally valid; that just means you have no settings that are scoped to only when you are editing Python code.

My python interpreter is Anaconda 5.1.0

Can you verify this, @DonJayamanne ?

I may have found a pattern.  I noticed it didn't work when the status bar at the bottom said "Analyzing Workspace...", but when it was finished, it worked fine.  "Analyzing Workspace" can sometimes take a long time to complete.

@kd7vrc thanks for the update. I'm going to close this then as we are tracking the fact analysis seems to hang in Microsoft/python-language-server#69 .


System and Builtin templates must be cross zone

ISSUE TYPE

Bug Report

COMPONENT NAME

UI-System Templates

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

Advanced Networked Zone.
OS / ENVIRONMENT

The management server is running on a separate vm than its mySQL db. both are running Ubuntu 22.04.03 LTS, KVM Hypervisor.
SUMMARY

We can not switch a template to be used as a system template. we get the error "System and Builtin templates must be cross zone". We are unable to find what we need to enable for this to work.
STEPS TO REPRODUCE

Go to Images>Templates. Selected an uploaded template and change the template type to system

EXPECTED RESULTS

I expected the template to be changed to a system template

ACTUAL RESULTS

we get the error System and Builtin templates must be cross zone

You can re-register the template for all zones

how would you do that? this is a template we uploaded from here http://packages.shapeblue.com/systemvmtemplate/4.18/

@Tbaugus44  You need to register the template again using the 'register template from URL'. In the form select all zones, and template type 'SYSTEM'.

@rajujith thank you. i see what you mean. I have only found .bz2 template files from Shapeblue and cloudstack. do you know where i could point to an already unzipped file

@rajujith thank you. i see what you mean. I have only found .bz2 template files from Shapeblue and cloudstack. do you know where i could point to an already unzipped file

@Tbaugus44
you should be able to register the systemvm template file ends with .bz2


Search with InChI and InChI key not working

Search with InChI and InChI key not working with pubchempy.get_compounds() (tried with many different compounds copying the codes from PumChem.
Searching for InChI gives:
'PUGREST.BadRequest: error: '
2022-01-16 21:20:43.003 'PUGREST.NotFound: No CID found that matches the given InChI key'

Searching for InChI key gives:
'PUGREST.NotFound: No CID found that matches the given InChI key'

Sorry, it was just me being dumb (a bug in my code), everything works perfectly guys :sweat_smile:

As a MWE:
import pubchempy as pcp

entry = results.get_compounds("InChI=1S/C6H12O6/c7-1-2-3(8)4(9)5(10)6(11)12-2/h2-11H,1H2/t2-,3-,4+,5-,6?/m1/s1", "inchi")
print(entry)

yields
[Compound(5793)]

But be aware, without fixed H-layer (and non-standard InChI), you might not discern e.g., between 2-hydroxy pyridine and its tautomeric form, the pyridone.


Optimize the direct reporting to Chef Compliance

Description
This PR improves the support for direct reporting to Chef Compliance
Issues Resolved
fixes #45
fixes #52

👍
Awesome improvements @chris-rock! This LGTM.

Many thanks for the fixes and improvements Chris!

@chris-rock Hey, with the new version I have some 404 issues:
➜ cjo@Christians-MBP  ~/Downloads/chef-repo/cookbooks/atom git:(master) ✗ kitchen converge
-----> Starting Kitchen (v1.7.3)
-----> Converging <default-ubuntu-1404>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 4.2.1...
       Removing non-cookbook files before transfer
       Preparing validation.pem
       Preparing client.rb
-----> Chef Omnibus installation detected (install only if missing)
       Transferring files to <default-ubuntu-1404>
       Starting Chef Client, version 12.10.24
       resolving cookbooks for run list: ["atom::default", "audit::default"]
       Synchronizing Cookbooks:
         - atom (0.1.1)
         - audit (0.9.0)
       Installing Cookbook Gems:
       Compiling Cookbooks...
       Converging 2 resources
       Recipe: audit::default
         * compliance_profile[linux] action fetch
           * chef_gem[inspec] action install (up to date)
       [2016-05-26T08:01:53+00:00] WARN: Using inspec version: (0.22.1)
           - install/update inspec
           * directory[/tmp/kitchen/cache/compliance] action create (up to date)
           - create cache directory[2016-05-26T08:01:53+00:00] ERROR: Object does not exist on remote server.
       [2016-05-26T08:01:53+00:00] ERROR: 404 "Not Found"

           - fetch compliance profile
           * chef_gem[inspec] action install (up to date)
           * directory[/tmp/kitchen/cache/compliance] action create (up to date)

         * compliance_profile[linux] action execute
           * chef_gem[inspec] action install (up to date)
       [2016-05-26T08:01:53+00:00] WARN: Using inspec version: (0.22.1)
           - install/update inspec
           * directory[/tmp/kitchen/cache/compliance] action create (up to date)
           - create/verify cache directory
           - execute compliance profile
           * chef_gem[inspec] action install (up to date)
           * directory[/tmp/kitchen/cache/compliance] action create (up to date)
           * file[/tmp/kitchen/cache/compliance/base_linux_report.json] action create
             - update content in file /tmp/kitchen/cache/compliance/base_linux_report.json from f00949 to abcf6a
             - suppressed sensitive resource

         * compliance_report[chef-server] action execute[2016-05-26T08:01:54+00:00] ERROR: Object does not exist on remote server.
       [2016-05-26T08:01:54+00:00] ERROR: 404 "Not Found"

           - report compliance profiles' results

       Running handlers:
       Running handlers complete
       Chef Client finished, 4/12 resources updated in 02 seconds
       Finished converging <default-ubuntu-1404> (0m5.66s).


Add light platform to iaqualink integration

Description:
Add light platform to iaqualink integration. Supports brightness and effects when available.
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10165 (documentation is for complete integration, only climate platform has landed yet).
Example entry for configuration.yaml (if applicable):
iaqualink:
    username: USERNAME
    password: PASSWORD

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io: home-assistant/home-assistant.io#10165 (complete integration documentation)

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

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Can be merged when build passes.

Let's make any further changes, as discussed, in another PR.


DPE-48 Adding basic charm library

This PR creates a charm library that abstracts some common functions across the pgbouncer charms, which will be published to the /edge channel of the pgbouncer-operator charm on charmhub once implemented.
The functions this library abstracts are as follows:

Generating passwords
Generating config files

These will obviously expand over time as the charms become more fully featured.
Jira Ticket

As for the integration test failure, I see the following in the logs:
raise JujuConnectionError('Model not found: {}'.format(model_name))

juju.errors.JujuConnectionError: Model not found: admin/itest
Could it be that it works locally because you created the model by hand but, in the integration tests, it does not exist yet?


Config Presets

Often times, there are several projects which you want to have similar/same dependabot configs. It would be great to be able to define a preset so those configurations can easily be shared across repos. Renovate already offers this feature

Closing as a duplicate of https://github.com/dependabot/dependabot-core/issues/2130.


LatestFilm component

Hey @marcbouchenoire I've notice that the letterboxd api response with a 500 status all the time. I don't really now the reason why. Thanks for sharing. Really cool web.

Hey, thanks for the heads-up!
Looks like Letterboxd URLs might be blocked on Vercel, I'll look more into it soon.

The issue fixed itself, not sure if on Vercel's or Letterboxd's side but it's fixed.


Consider hosting the models and datasets in GitHub directly using XetData add-on

Hey there! I work at XetHub and we built a GitHub app that scales GitHub repos to handle large files (upto 100 TB). No cost for public repos.
Here's an example where we hosted a bunch of .onxx model files in the Git repo: https://github.com/onnx/models/issues/632#issue-2007245752
This way, your local folder doesn't need a .gitignore file and the GitHub state matches your local state since you can just keep your large files in the same folder. I'd be happy to coordinate and make this happen

Thank you for the tips!


[5.0] Foundation: use a lookup for app->getProvider()

This greatly improves the performance of getProvider(), and therefore register().
In one application with only a few more providers than the default (and no messing with providers otherwise), its 163 tests complete about 8% faster with this change applied.  I especially don't like waiting for tests to complete, but surely this improves application speed as well - and this is a pretty cheap change for 8%, imho.
I've tried to keep this as backwards compatible as possible.  A more ideal change, I think, would be to use $loadedProviders for this purpose or else just keep only one of each provider in $serviceProviders (which could then replace both arrays.)  However, both changes could have backwards compatibility impact.
The performance was measured primarily on Windows using PHP 5.6.7 and a series of 5 trials each, eliminating one outlier.  However, based on the profile this change came from and quick checks on a Linux vm, it should apply in any environment.

Broke event:generate command. Must be reverted.

That would be sad. :(

Yeah, agree, but must be reverted for now. They can try and fix the bug and make a new PR.


Portunus 5 0 0 release

The document contains updates for https://mendix.atlassian.net/projects/DES/versions/20790/tab/release-report-all-issues release.
This majorly contains:

New UX/UI for the Cluster Manager pages
2.automatic invitation accept for new cluster and namespace members
Updated layout for Environment pages to full width with sidebar on the left
Bug fixes (mostly deployAPI)

i have responded to your comments

@katarzyna-koltun-mx FYI.


Asterisk on new line

Hey,
I have many comments that need more specific description of functions.
It would be nice, if  a new line inside of the doxygen comment section automatically starts with an asterisk.
Currently, a new line is created like this:
/**
 * @brief
 *
 * Blah Blah, Blubb
 * [New line ceated here]
<-- (Cursor here, no asterisk)
 * @param foo Does bar.
 */

P.S.: Thank you for the fast reactions on my previous issues :) I Appreciate it :)

Hey!
I'm not quite sure what the problem is.
Could you add a bit more detail (maybe even a gif?) when the generated line starts without an asterisk?

Hmm... gif would be tricky for some reasons.... sorry
I try to explain it otherwise:
Some IDEs (like Eclipse afaik) automatically create a new line matching the current comment style when creating a new line in the comment. For example by adding an asterisk at the beginning of a new line when using multi-line comments.
Currently, when I press return in a comment to create a new line, it just creates a new line.
Another example:
This is the original comment:
/**
 * @brief
 *
 * Blah Blah, Blubb
 */

When I just add some new lines after "Blah, Blah, Blubb" to this comment, It looks like this:
/**
 * @brief
 *
 * Blah Blah, Blubb

 */

But it would be nice, if it looks like this:
/**
 * @brief
 *
 * Blah Blah, Blubb
 *
 *
 *
 *
 */

I hope, this makes it more clear

I'm not quite sure that this is a problem with this extension but more with how VS Code deals with comments.
Just to be clear:
/**
 * @brief
 *
 * Blah Blah, Blubb<cursor position>
 */

Case 1: Now you press  enter when the cursor is at the last character of Blubb
This is what happens for me then:
/**
 * @brief
 *
 * Blah Blah, Blubb
 * <cursor position>
 */

Case 2: If I copy a block of newlines and insert it (using crtl-c + ctrl-v) I get this result:
/**
 * @brief
 *
 * Blah Blah, Blubb
 *

<cursor position>
 */

Is case 1 or 2 what you're doing?

Yeah, I was in doubt too, if this is a problem with the editor itself... Not with the extension.
I'm doing case 1 and no asterisk is added to the new line. Do you mean this could be a configuration in the editor?

OK, I just found a workaround for this (sometimes googling helps ;) ).
I installed the Auto Comment Blocks extension and reinstalled your extension, now everything works as expected.
I don't know, if your extension should handle this... It's your decision.
It works for me now though...

Actually there's another way to do this (at least it worked for me on a clean VS Code install):
You need the C/C++ extension from Microsoft ms-vscode.cpptools.
If the extension is installed VS Code will add the asterisk.

Maybe I'll add this to the docs somewhere.


Add fake SSH Executioner for tests

Currently we have to stub out the entire SshExecution class, in order not to
actually try to hit a server.
By adding a FakeSshExecutioner as a stand-in for the actual lib, we can run
tests without hitting an external server, but still determine the result we want
to get back.
We can improve this later on by also recording what commands have been send to
the FakeSshExecutioner.

Nice. lgtm 👍


feat(BILL-CPC-1196): filter all bills by customer id for admin

JIRA: link to jira ticket
https://champlainsaintlambert.atlassian.net/browse/CPC-1196
Context:
Implemented a search bar to filter all the bills by customer ID. Also added customer ID to the table to facilitate searches.
Does this PR change the .vscode folder in petclinic-frontend?:
No it does not.
Reviewers need to check for any changes to the
.vscode folder and add a comment about it to their review comments.
Changes

Implemented a filter in the admin's table of bills.
Installed the fontawesome plugin Adem mentioned.

Before and After UI (Required for UI-impacting PRs)
Before:

After:

Looks good but can be improved. Next sprint we'll incorporate a single search bar. Also, are the new dependencies in package.json used/needed?

Yeah in the next sprint let's focus on making the page cleaner and more uniform. The changes on the packages were undone.

looks good, but I suggest you change "Filter by customerId" to "Search by Customer ID" as it makes more sense from the end users perspective (following User-Centric design)

looks good, but I suggest you change "Filter by customerId" to "Search by Customer ID" as it makes more sense from the end users perspective (following User-Centric design)

Changed it! Thanks for ensuring the frontend is user focused.


Add LICENSE file

Hey there
We currently have the legal requirement of having explicit LICENSE files for this dependency, this only adds that file to the repo. If you could approve and merge this file that would be great!
Let me know if there are any issues about this.

@poberwong Thanks!


Symbol function

A new function which extracts the mysticism symbol of the character and returns a string stating that the character does not possess one if they do not. Worked on the first attempt

There are merge conflicts, will resolve them soon.
Next time, first pull commits from the remote branch and then commit.

Bro, this pr will mess up with the complete code.
Pull the changes from main repo and then add the function.


Does it work with TensorRT?

I got TensorRT working in the container,
but when I tried to have it over kserve, I ran into:  'RecursiveScriptModule' object has no attribute 'device'
[E 221012 00:49:28 web:2271] 500 POST /v1/models/stable-diffusion-hotswap-model:predict (<IP_ADDRESS>) 4370.17ms
File "/opt/conda/lib/python3.8/site-packages/diffusers/pipeline_utils.py", line 192, in device
return module.device
File "/opt/conda/lib/python3.8/site-packages/torch/jit/_script.py", line 785, in getattr
return super(RecursiveScriptModule, self).getattr(attr)
File "/opt/conda/lib/python3.8/site-packages/torch/jit/_script.py", line 502, in getattr
return super(ScriptModule, self).getattr(attr)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1261, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'RecursiveScriptModule' object has no attribute 'device'
Everything is working runnin the same script in the container

related? https://github.com/kserve/kserve/issues/684 https://github.com/kserve/kserve/issues/645

looks like it's not a kserve only problem; sometimes it works & sometimes it doesnt hmm; probably a pointer issue thing


does not seem to work for other subreddit

this i am getting back as console.log(urlMeme); for a different subreddit
2020-07-11T07:17:52.715916+00:00 app[web.1]: options: {
2020-07-11T07:17:52.715917+00:00 app[web.1]: withDomLvl1: true,
2020-07-11T07:17:52.715917+00:00 app[web.1]: normalizeWhitespace: false,
2020-07-11T07:17:52.715918+00:00 app[web.1]: xml: false,
2020-07-11T07:17:52.715918+00:00 app[web.1]: decodeEntities: true
2020-07-11T07:17:52.715918+00:00 app[web.1]: },
2020-07-11T07:17:52.715919+00:00 app[web.1]: _root: initialize {
2020-07-11T07:17:52.715919+00:00 app[web.1]: '0': {
2020-07-11T07:17:52.715919+00:00 app[web.1]: type: 'root',
2020-07-11T07:17:52.715920+00:00 app[web.1]: name: 'root',
2020-07-11T07:17:52.715921+00:00 app[web.1]: namespace: 'http://www.w3.org/1999/xhtml',
2020-07-11T07:17:52.715921+00:00 app[web.1]: attribs: [Object: null prototype] {},
2020-07-11T07:17:52.715922+00:00 app[web.1]: 'x-attribsNamespace': [Object: null prototype] {},
2020-07-11T07:17:52.715923+00:00 app[web.1]: 'x-attribsPrefix': [Object: null prototype] {},
2020-07-11T07:17:52.715923+00:00 app[web.1]: children: [Array],
2020-07-11T07:17:52.715923+00:00 app[web.1]: parent: null,
2020-07-11T07:17:52.715925+00:00 app[web.1]: prev: null,
2020-07-11T07:17:52.715926+00:00 app[web.1]: next: null
2020-07-11T07:17:52.715926+00:00 app[web.1]: },
2020-07-11T07:17:52.715927+00:00 app[web.1]: options: {
2020-07-11T07:17:52.715927+00:00 app[web.1]: withDomLvl1: true,
2020-07-11T07:17:52.715928+00:00 app[web.1]: normalizeWhitespace: false,
2020-07-11T07:17:52.715928+00:00 app[web.1]: xml: false,
2020-07-11T07:17:52.715928+00:00 app[web.1]: decodeEntities: true
2020-07-11T07:17:52.715929+00:00 app[web.1]: },
2020-07-11T07:17:52.715929+00:00 app[web.1]: length: 1,
2020-07-11T07:17:52.715929+00:00 app[web.1]: _root: [Circular]
2020-07-11T07:17:52.715930+00:00 app[web.1]: },
2020-07-11T07:17:52.715930+00:00 app[web.1]: length: 0,
2020-07-11T07:17:52.715930+00:00 app[web.1]: prevObject: initialize {
2020-07-11T07:17:52.715931+00:00 app[web.1]: '0': {
2020-07-11T07:17:52.715931+00:00 app[web.1]: type: 'root',
2020-07-11T07:17:52.715931+00:00 app[web.1]: name: 'root',
2020-07-11T07:17:52.715932+00:00 app[web.1]: namespace: 'http://www.w3.org/1999/xhtml',
2020-07-11T07:17:52.715932+00:00 app[web.1]: attribs: [Object: null prototype] {},
2020-07-11T07:17:52.715933+00:00 app[web.1]: 'x-attribsNamespace': [Object: null prototype] {},
2020-07-11T07:17:52.715933+00:00 app[web.1]: 'x-attribsPrefix': [Object: null prototype] {},
2020-07-11T07:17:52.715933+00:00 app[web.1]: children: [Array],
2020-07-11T07:17:52.715934+00:00 app[web.1]: parent: null,
2020-07-11T07:17:52.715934+00:00 app[web.1]: prev: null,
2020-07-11T07:17:52.715934+00:00 app[web.1]: next: null
2020-07-11T07:17:52.715934+00:00 app[web.1]: },
2020-07-11T07:17:52.715935+00:00 app[web.1]: options: {
2020-07-11T07:17:52.715935+00:00 app[web.1]: withDomLvl1: true,
2020-07-11T07:17:52.715935+00:00 app[web.1]: normalizeWhitespace: false,
2020-07-11T07:17:52.715936+00:00 app[web.1]: xml: false,
2020-07-11T07:17:52.715936+00:00 app[web.1]: decodeEntities: true
2020-07-11T07:17:52.715936+00:00 app[web.1]: },
2020-07-11T07:17:52.715936+00:00 app[web.1]: length: 1,
2020-07-11T07:17:52.715937+00:00 app[web.1]: _root: [Circular]
2020-07-11T07:17:52.715937+00:00 app[web.1]: }
2020-07-11T07:17:52.715938+00:00 app[web.1]: }
2020-07-11T07:17:52.717122+00:00 app[web.1]: TypeError: Cannot read property 'attribs' of undefined)```

If you are scraping images, then the code should work. It does work for r/dankmemes, r/memes and r/me_irl. Try and see if the HTML part of your subreddit is being printed, and then load it onto cheerio and extract the data you need.
If you want to scrap other data such as text, then change the dealWithData() function to meet your needs. Tell me which subreddit is giving you this error too, I can try and help :)

the html is being loaded,there are img tags with same class but after loading in cheerio, the urlMeme is getting wrong result

That's strange. I tried to scrap from r/me_irl, and I am getting this result when I console.log(urlMeme[0]);
{
  type: 'tag',
  name: 'img',
  namespace: 'http://www.w3.org/1999/xhtml',
  attribs: [Object: null prototype] {
    alt: 'Post image',
    class: '_2_tDEnGMLxpM6uOa2kaDB3 ImageBox-image media-element _1XWObl-3b9tPy64oaG6fax',
    src: 'https://preview.redd.it/zqgid017g4a51.jpg?width=640&crop=smart&auto=webp&s=94a990998d4293cedaeecdffa28d39490f52c73a',
    style: 'max-height:512px'
  },
  'x-attribsNamespace': [Object: null prototype] {
    alt: undefined,
    class: undefined,
    src: undefined,
    style: undefined
  },
  'x-attribsPrefix': [Object: null prototype] {
    alt: undefined,
    class: undefined,
    src: undefined,
    style: undefined
  },
  children: [],
  parent: {
    type: 'tag',
    name: 'div',
    namespace: 'http://www.w3.org/1999/xhtml',
    attribs: [Object: null prototype] {},
    'x-attribsNamespace': [Object: null prototype] {},
    'x-attribsPrefix': [Object: null prototype] {},
    children: [ [Circular *1] ],
    parent: {
      type: 'tag',
      name: 'div',
      namespace: 'http://www.w3.org/1999/xhtml',
      attribs: [Object: null prototype],
      'x-attribsNamespace': [Object: null prototype],
      'x-attribsPrefix': [Object: null prototype],
      children: [Array],
      parent: [Object],
      prev: null,
      next: null
    },
    prev: null,
    next: null
  },
  prev: null,
  next: null
}

Observe the name: 'img' part. You may not have specified the class name of that object correctly, hence you're getting it as name: 'root'

see this and tell
const mainUrl = 'https://www.reddit.com/r/wholesomehentai';
        axios
            .get(mainUrl)
            .then((response) => {
                dealWithData(response.data);
            })
            .catch((err) => {
                console.log(err);
            });
        const randNo = (limit) => {
            const thatNo = Math.floor(Math.random() * limit);
            return thatNo;
        };
        const dealWithData = (html) => {
            const $ = cheerio.load(html);
            const urlMeme = $('._2_tDEnGMLxpM6uOa2kaDB3.ImageBox-image.media-element._1XWObl-3b9tPy64oaG6fax');
            console.log(urlMeme);
            const indexValue = randNo(urlMeme.length);
            console.log(`Source is:\n${urlMeme[indexValue].attribs.src}`);

        }```

Lol I think since its an NSFW subreddit, it has to ask if you are above a legal age. So I guess this script won't work in this case.

so if i am able to bypass the age checking page it will work?

You can try...
The thing is that this program is for basic scraping. There is no error handling, or a plan B in case the desired output is not got. But you can try and improve the script yourself. Else, you can use a meme API, and this is by another github user.
https://github.com/R3l3ntl3ss/Meme_Api
The above is pretty fast.


Changes for plotting the graph

Nimish, I think this PR is obsolete now that we use dygraph.  Can I close it?


Clarify difference in virtual vs. physical DBRPs when listing

Virtual DBRPs do not behave like physical DBRPs. Most importantly, they are read-only.
If a user sees the virtual DBRPs in the current list format of influx v1 dbrp list, they might not realize that they are immutable.
Separating the list table into two, physical DBRPs and virtual DBRPs, would make the behavior difference more clear to users.

Add to the influx v1 dbrp list -h output:

Virtual DBRP mappings (InfluxDB OSS only) are created automatically using the bucket name. Virtual mappings are read-only. To modify a virtual DBRP mapping, create a new, explicit DBRP mapping. For more information, see https://docs.influxdata.com/influxdb/latest/query-data/influxql/dbrp/


Improvements with regards to functionality, UX and readme-file

This PR comes with varying improvements to the original example template. The most notable changes are:

Replaces workflow code for installing Poetry with the new Poetry Action from the Marketplace (https://github.com/marketplace/actions/python-poetry-action)
Adds code in workflow for building documentation using MkDocs
Adds styling to custom pages using Bootstrap
Extensive update in the readme-file
includes a markdown add-on for Sphinx called MyST to Poetry env.
Update Equinor/MkDocs example
Update Sphinx example

Will re-open this PR when done testing


no data shown in application insights

I've followed this article as well as this one https://docs.microsoft.com/en-us/azure/azure-monitor/learn/dotnetcore-quick-start
on two different applications, 1 tested in prod and dev (Dotnet framework 4.6), one only in prod(Dotnet core 2.2), no data shown in application insights !!

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

ID: 098ffe3a-2cbd-1038-30f2-dd2f528984a3
Version Independent ID: 65da3e70-2ac2-8f6e-51a5-e759bcc8253f
Content: Monitor Azure app services performance
Content Source: articles/azure-monitor/app/azure-web-apps.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@Houuse Thank you for your feedback . We will investigate and update this thread.

@shashishailaj Thanks,

@Houuse I've been unable to reproduce what you are seeing.  Following the .NET Core application quickstart, I was able to see data after waiting 5 minutes as noted in the steps:
Note: It takes 3-5 minutes before data begins appearing in the portal. If this app is a low-traffic test app, keep in mind that most metrics are only captured when there are active requests or operations.

I also went through the step-by-step guide to create an ASP.NET Core app and add Application Insights, and was able to see data much more quickly:

I would go through the documentation again and make sure you give the portal some time to update (5 minutes) before you see data.  Also, make sure that you are creating traffic to generate data.  The synthetic transactions with PowerShell will get you started if you need a starting point.
If you still run into issues, please let us know!
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


High CPU usage when idle

Describe the bug
When the program is running, but I'm not interacting with it, after some time(5-10-20 minutes), I'm starting to see high CPU usage on one core. If I then interact with the editor window, the CPU usage drops down to normal.
To Reproduce
I cannot reliably reproduce it. The app has to be out of focus, but not minimized. Something is always opened with the assembler or a decompiler. After that, it's just a matter of time until the bug manifests itself.
I'm using Windows 10 1809 and an Azul "Zulu+FX" jdk 11.0.8+10
It affects at least every recaf version between 2.3.6 and 2.7
I attached a short jfr recording
flight_recording_1108Dworkjavatoolsrecafrecaf270J8jarwithdependenciesjar9492.zip

between 2.3.6 and 2.7

So, does 2.3.5 not have this problem?

Anything interesting if you start Recaf with -Dprism.verbose=true flag?

I can't say anything about that.
Before 2.3.6 I only used recaf sparsingly and in short sessions(basically: open program -> edit something -> close program).
I've only started using recaf in multi hour sessions since 2.3.6, and that is when I started noticing this bug. so I guess the change of usage contributed more than a change between versions.

Anything interesting if you start Recaf with -Dprism.verbose=true flag?
Can you also please attach logs?

It may take some time, but I will try it to see what happens

Here are the logs
rclog.txt
1.log
One comment:
After the CPU usage went down to normal, I clicked on the config menu, the application became unresponsive and I had to forcefully kill it. I don't know how that affects the logs.

After the CPU usage went down to normal, I clicked on the config menu, the application became unresponsive and I had to forcefully kill it. I don't know how that affects the logs.

Could you please join Recaf's Discord server for further investigation?
It will speed up communication process a lot.

Closing as 3X idling has been vastly reduced: https://github.com/Col-E/Recaf/issues/541


Error While Translating:  Assigned "--"

Why does this have so many issues on what are seemingly simple words to translate?
I picked English as my source and Spanish/French as my destination languages.
It can't translate things like "Company Name" or even "Notifications", "Run", "Start Date", etc.
These aren't highly technical terms or anything ... is there something I'm missing or is this just a limitation?

I have the same issue.  I thought going back a version or two might fix it as I just updated to 1.6.4 but no such luck as it appears Google has moved their translation requests.  I'll follow this to see if anything happens.  Cheers

same here, not working :(

which translation service are you using?
@JGRP-DEV @TakiGuan @israel-kochava @psarno

@ParvinEyvazov
I tried with Google & Bing.

@ParvinEyvazov
This is what I get now.

It is having an issue while parsing your json file. Can you please paste your entire json to https://jsonformatter.org/ , Click Format / Beautify and see if its in valid form or not.

@JGRP-DEV
It is having an issue while parsing your json file. Can you please paste your entire json to https://jsonformatter.org , Click Format / Beautify and see if its in valid form or not.

It is valid, now getting the same previous error.

@JGRP-DEV can you please try the latest version which is 1.7.0

I am having the same issue. It worked perfectly the first time, but it fails every time after. Anyone get a fix for this?

I was facing same issue, with node version v16.20.0 however i switch to lower version of node and its working fine
Now using node v14.20.0 (npm v6.14.17)

I was facing same issue, with node version v16.20.0 however i switch to lower version of node and its working fine Now using node v14.20.0 (npm v6.14.17)

How would I go about switching to a lower version? Is there a command line I can use to accomplish that?

Same issue here. Switching to node v14.20.0 didn't work either. Had also tried v16.19.0 & lts(v18.16.1). None work.

Most probably it is happening because of the server limitations of Google and Bing. Because of that, it sometimes works, smth not.
For avoiding this, proxy list can be used (only valid for Google API now). I am investigating to solve this.
@davemoz @anjum121 @KobyButler

I'm getting the same error even with Libre or Argos. The first time it works, but then it starts spitting out this error. This happens on v1.7.0. If I try to downgrade, the error remains. On clean install of v1.6.4 everything works as expected.

I'm constantly getting this too

I also have the same issue using version 1.7.0

New version of jsontt is out v1.8.0
There were some issues with the target and sources. All fixed now. Please try to use the other translation services if it is possible.
For Google API, I am trying to find a stable fix for it.

Having the same issue using version 1.8.0

Same here, 1.9.0 using Google (node & cli)
But cli bing is fine,

I wil try to come up with some solutions for this problem soon.

Hello all, now jsontt have a feature that solves this problem.
If you enable fallback logic on CLI (-fb yes), it will try another possible translation service if the one fails.
Also, you can set the max concurrency limit from CLI (-cl 100), default is 3.
Setting a concurrency limit lets you control the number of requests at the same time to prevent getting banned.
More info in Readme

Hello all, now jsontt have a feature that solves this problem.
If you enable fallback logic on CLI (-fb yes), it will try another possible translation service if the one fails.
Also, you can set the max concurrency limit from CLI (-cl 100), default is 3. Setting a concurrency limit lets you control the number of requests at the same time to prevent getting banned.
More info in Readme

Is there a way to change these config when using in a node file and not on the CLI?

Hi @mfalconi-perle, there is no way for now. I am planning to add it. Thank you for suggestion.

Hello I have an issue with translating from OPEN AI.  I added .env file and I updated jsontt file for load .env

Any solution please? I wrote under your video. I tried the set env but didn't help.


Add log milestone emitter

As of now, it's hard to debug failed E2E tests without detailed
logging.
This patch adds a new logEmitter which is composed and used
with the already present NilSafeClient emitter.
The logEmitter logs events using the managed T
instance, if configured.

Changes

Add log milestone emitter

/kind enhancement

Release Note

Add log milestone emitter

Docs

None

/cc @lionelvillard @devguyio

Ping @devguyio @lionelvillard
This is preventing eventing from a proper debug story for rekt tests.
/cc @evankanderson


Video_player plugin Under IOS player setloop = false, value.position < value.duration will stop video playback, for example, 30s video will stop video playback for 29 seconds 7

Steps to Reproduce
Video_player plugin Under IOS player setloop = false, value.position < value.duration will stop video playback, for example, 30s video will stop video playback for 29 seconds 7
Codes
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

void main() {
  runApp(
    ChewieDemo(),
  );
}

class ChewieDemo extends StatefulWidget {
  ChewieDemo({this.title = 'Demo'});

  final String title;

  @override
  State<StatefulWidget> createState() {
    return _ChewieDemoState();
  }
}

class _ChewieDemoState extends State<ChewieDemo> {
  VideoPlayerController _videoPlayerController1;

  @override
  void initState() {
    super.initState();
    _videoPlayerController1 = VideoPlayerController.network(
        'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4');
    _videoPlayerController1.initialize();
  }

  @override
  void dispose() {
    _videoPlayerController1.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: widget.title,
      home: Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: VideoPlayer(_videoPlayerController1),
      ),
    );
  }
}

Logs
bogon:example h3d-nna$ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.2 18C54, locale zh-Hans-CN)
    • Flutter version 1.2.1 at /Users/h3d-nna/Documents/flutter
    • Framework revision 8661d8aecd (2 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/h3d-nna/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.3
    • Dart plugin version 182.5124
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

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

[✓] Connected device (2 available)
    • dongxiaoiPhone • e90da41de945b9d8d5320facfb087b4027d0d7a2 • ios • iOS 10.3.3
    • iPhone 8 Plus  • 7F484401-C0C2-4A08-93D5-0F737E0758F2     • ios • iOS 12.1 (simulator)

• No issues found!

Same here. I've workaround this issue forcing a stop -> play at 94% of the video, using controller addListener.
 if (progress >= 0.95l) {
    controller.stop();
    controller.play();
}

looking foward for a better solution.

Same here. I've workaround this issue forcing a stop -> play at 94% of the video, using controller addListener.
 if (progress >= 0.94) {
    controller.stop();
    controller.play();
}

looking foward for a better solution.

Writing this i just wondered a better solution:
When you need to read the positon use: await _controller.position instead of  _controller.value.position
the right progress will be reported

I solved the problem by replacing the player here.

Hi @LebenNNA,
Thanks for filing the issue I verified with the video_player: ^2.1.6 on the latest stable channel, I am not able to replicate the issue, I could see that video ends at the exact duration. I would  request you to upgrade to latest stable version and verify the issue.

code sample
import 'package:video_player/video_player.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: VideoPlayerDocs(),
    ),
  );
}

class VideoPlayerDocs extends StatefulWidget {
  @override
  _VideoPlayerDocsState createState() => _VideoPlayerDocsState();
}

class _VideoPlayerDocsState extends State<VideoPlayerDocs> {
  late VideoPlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.network(
        'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4')
      ..initialize().then((_) {
        // Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
        setState(() {});
        print('video duration =${_controller.value.duration}');
        _controller.addListener(() {
          final isCompleted =
              _controller.value.position == _controller.value.duration;
          if (isCompleted) {
            print(_controller.value.isPlaying);
            print('video ended at ${_controller.value.position}');
          }
        });
        print('initialized');
      });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        appBar: AppBar(
          automaticallyImplyLeading: true,
        ),
        body: Center(
          child: _controller.value.isInitialized
              ? AspectRatio(
                  aspectRatio: _controller.value.aspectRatio,
                  child: Stack(
                    alignment: Alignment.topCenter,
                    children: <Widget>[
                      VideoPlayer(_controller),
                      VideoProgressIndicator(_controller, allowScrubbing: true),
                    ],
                  ),
                )
              : Container(),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              _controller.value.isPlaying
                  ? _controller.pause()
                  : _controller.play();
            });
          },
          child: Icon(
            _controller.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale en-IN)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (4 days ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • 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)

[✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 6A434744-B348-4FB3-AB10-131292174456 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.4 20F71 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 91.0.4472.114

• No issues found!


"Could not load file or assembly"

Dear,
When running this:
l_udp = new UdpEndpoint(Computer.ThisComputer_IP(), l_DevicePort.IpPort);
where  =<IP_ADDRESS> and the device port is 4446, so pretty straightforward Ip and port
We get the error:
Could not load file or assembly 'Caching, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
However, we can't seem to find where exactly in the code the file error comes from.
Looking forward to your reply!

Hi @Sippelberg sorry, for some reason Github didn't send me a notification on this (or any!) issues in this repo.  Caching.dll is a dependency of the library, did you install it?  If you use NuGet it should automatically.


[GOBBLIN-1338] Log and suppress exceptions in FsDataWriter.getFinalState

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[X] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1338

Description

[X] Here are some details about my PR, including screenshots (if applicable):
FsDataWriter#getFinalState() sometimes encounters an exception when calling recordsWritten(). This can cause other final state values to not be set.

The exception should be suppressed like is already the case for when bytesWritten() is called in this method.
Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3175 (70be13c) into master (c002a1b) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             master   #3175      +/-   ##
===========================================
- Coverage      9.10%   9.10%   -0.01%
  Complexity     1724    1724
===========================================
  Files          2014    2014
  Lines         77095   77099       +4
  Branches       8559    8559
===========================================
  Hits           7021    7021
- Misses        69390   69394       +4
  Partials        684     684

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/apache/gobblin/writer/FsDataWriter.java
60.17% <0.00%> (-2.21%)
10.00 <0.00> (ø)

...g/apache/gobblin/writer/PartitionedDataWriter.java
2.02% <0.00%> (ø)
1.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Issue moving widgets to positions not besides already created widgets

The issue is when I am trying to move a widget to an other row, lets say on row below which contains widget(s) on the left side. The widget can only be placed between or beside widgets on the grid, what it should be is that the widget can be placed on any location on the grid, not depending on other widgets. Hope my explanation is a bit clear, but maybe an image can explain it better:
I have attached a screenshot of the demo page where I am trying to move "widget 4" to right corner of the second row, which is not possible.

If you set the "float" property to true when initializing the grid, you will be able to do what you want to do.

Thanks that did it, now its working how I would like it to be.


Allow local instances of Handlebars

Proposal:
Instead of only allowing use through a singleton, also allow local instances of Handlebars.
The API could look exactly the same.
var handlebars = new HandlebarComplier();

handlebars.RegisterHelper("link_to", (writer, context, parameters) => {
  writer.WriteSafeString("" + context.text + "");
});

string source = @"Click here: {{link_to}}";

var template = handlebars.Compile(source);

var data = new {
    url = "https://github.com/rexm/handlebars.net",
    text = "Handlebars.Net"
};

var result = template(data);

Justification
If I were to create a library that used this project, but because Handlebars is a global instance, I cannot guarantee that Handlebars.RegisterHelper will not overlap with other helpers.

We already do allow creating instances, mirroring the JS library:
var myInstance = Handlebars.Create();

Good to know.