Fix of stream saving

Using rewind for correct stream reading - you can get empty body in stream_get_contents

The problem is in the case of multuple requests. For example, if you need use OAuth you need do several requests.
And if you're using php://temp stream you need rewind for every request because second call of stream_get_contents will return empty body.

I am not sure what behaviour this is fixing. PSR-7 defines two ways to read from a Stream instance: cast to string, or call the getContents-method. I believe both are correctly implemented in this lib. Could you add a unit test showing what it is that is fixed by this PR?
If you have code using PSR-7 Streams for some form of output, is there some reason you cannot cast to string to always get the full contents? Wondering if it is a behavioural error on the part of this implementation, or if it is just the fact that it is not super clear that PSR-7 has two ways to get Stream contents.
Note that this PR breaks backwards compatibility and will neccessitate a major version bump for semver. As Stream instances will have the output of a number of methods changed (e.g. tell() and getContents()).

We have encountered an issue after upgrading a project. The body we send to an API is suddenly empty. Debugging it lead to this class (Stream) and stumbled upon this issue. I don't have extra context, but just wanted to say that we encountered it too :)
Also I tried the code in this PR and that indeed fixed it; the request has a body again.

I discovered the possible ways of getting response body.
First way:
...
$result = (string)$response->getBody()->getContents(); // resut string will NOT be empty

Second way:
...
$body = $response->getBody();
$body->rewind();
$result = $body->getContents(); // resut string will NOT be empty

The problem is that if you try to read the stream data without rewind but just with getContents() - at the start reading process current cursor's position is just after the last byte of the data just written. And stream_get_contents starts reading from the end of data to the end of the stream.
That's why result is empty.
This PR should fix this problem.
Also I think that php://temp stream should be closed just after receiving of the response - I can not imagine any correct cases to use it again without reopen. Thats why I hope that this PR will not break the logic in projects it will be used in.

Also this change is not really connected to psr-7 it tries to fix a problem with the psr-17 factory

Very true. But what I am questioning is it being a problem 😉 PSR-7 does not give any guarantees that getContents() reads from the start of the stream content. For interoperability, if someone is consuming a PSR-7 object, they should never assume that is does. You either rewind(), check tell(), or cast to string if you do want to get the full stream contents. Those are the only things where PSR-7 guarantees interoperability for.

I did a bit of research and the other popular psr-7/psr-17 library

I could have saved you some time, I already did this research, with 13 different PSR implementations, back in 2018. It was almost a 50/50 split in results. There is a full discussion on the PHP-FIG mailing list started by me, a PR under discussion to ammend PSR-17 by another contributor, and a PR to the interoperability unit tests to check for cursor positions also by me.
Back in late 2018 / start 2019 we decided not to update the Nyholm/psr7 library because there was no consensus and we were hoping to get the PSR ammended instead. We would then follow wherever the PSR goes. Which would introduce a breaking change and would mean a version 2.0.0 release on our end.
Maybe I need to repeat the research and see if libraries are more in favour of one solution over the other.
Wondering if we should document this somewhere…

But to reitterate: if you need to know the full contents of a Stream instance, you should never assume getContents() gives it to you. That is not what PSR-7 says. Any middleware could have changed the cursor position, no matter which implementation you are using. So for correct interop work, please always rewind it yourself 😊

I would be fine with the idea of just updating the documentation.
I remember being bitten by this when change implementation a couple of years ago.
After that I use __toString() when I need the entire content because the documentation around what it does is clear.


doc(state): explain how Zebra stays below Windows open file limits

Motivation
This PR contains revisions after the review on PR #3539, because that code has been moved by other PRs.
Solution

explain how Zebra stays below Windows open file limits

Review
@jvff reviewed PR #3539.
This PR is based on PR #3579, it can be moved out of draft once that PR merges.
Reviewer Checklist

[ ] Documentation makes sense

I rebased the PR series on main.

@jvff mergify dismissed your review, would you mind re-reviewing?

@mergifyio refresh


Radar chart (new chart type)

Related issue
#2
Example screenshot

IssueHunt Summary

Referenced issues
This pull request has been submitted to:

#2: [new chart type]: radar chart

IssueHunt has been backed by the following sponsors. Become a sponsor

Thanks, @denisinvader , I will review this PR ASAP
It will be great if you can add some screenshots of the new chart; run npm run lint and fix the linting issues
This is the first chart type of PR, I have not set up PR requirements, sorry about that

I have already run npm run lint and fixed all errors in src/Radar.js, but there are still some errors in other files.

I can provide more explanation about component options and more screenshots later. There are still some issues with labels positioning (on big-sized charts).
Does semi-opacity fit the style of the library?

@denisinvader Thanks! The semi-opacity style looks great, is the PR ready for review?

@timqian yes, everything is ready

LGTM


feat: introduce children function to shorthands

This PR adds support for children callback usage in any existing shorthands. This change was originally made for Stardust UI / Fluent UI Northstar (https://github.com/microsoft/fluent-ui-react/pull/1951) which had the more complicated API.
In case of Semantic UI React this will a soft migration to avoid any breaking changes: new API is added and the previous API becomes deprecated. It's expected to remove the old one with functions in V3.
💡 Motivation for changes
#1724 is discussing to add more types for options in Dropdown, the same issue can be met in Menu. In Fluent UI Northstar these issues were solved with kind prop:
<Menu items={[{ kind: 'divider', key: 'divider' }]} />

However, the current implantation with having shorthand as a function blocks it as there is no way to combine { kind: 'smth' } and () => {} 🤔
🔧 Actual changes
The API was introduced and docs were added, now if you would like to customize rendered elements please use children function on any shorthand:
<Button
  content='Like'
  icon={{
    children: (Component, componentProps) => <Component {...componentProps} color='red' />,
    name: 'question',
  }}
/>

To avoid breaking changes in future releases please modify your existing usages:
<Button
  content='Like'
-  icon={(Component, componentProps) => <Component {...componentProps} />}
+  icon={{ children: (Component, componentProps) => <Component {...componentProps} /> }}
/>

The warning was added to inform users about them.

Please share feedback and concerns 👍

Codecov Report

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

@@           Coverage Diff           @@
##           master    #4029   +/-   ##
=======================================
  Coverage   99.84%   99.84%
=======================================
  Files         186      186
  Lines        3255     3255
=======================================
  Hits         3250     3250
  Misses          5        5

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 6768a7d...e38b06f. Read the comment docs.

Released in<EMAIL_ADDRESS>🚢


[WIP] Embedding API

Summary
WIP
Checklist

[ ] Documentation update

Reviewers
@hzding621

@hzding621 I am close this for now. If you find it helpful, please put up a new PR.


Cannot find module @babel/preset-env

Running this plugin locally with netlify-build run, I get this error:

┌───────────────────────────────────────────────────────┐
│ Plugin "@netlify/plugin-edge-handlers" internal error │
└───────────────────────────────────────────────────────┘

  Error message
  Error: Cannot find module '@babel/preset-env' from '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site'

  Plugin details
  Package:        @netlify/plugin-edge-handlers
  Version:        1.0.0
  npm link:       https://www.npmjs.com/package/@netlify/plugin-edge-handlers

  Error location
  In "onPostBuild" event in "@netlify/plugin-edge-handlers" from netlify.toml and package.json
      at Function.resolveSync [as sync] (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/resolve/lib/sync.js:89:15)
      at resolveStandardizedName (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
      at resolvePreset (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/files/plugins.js:58:10)
      at loadPreset (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/files/plugins.js:77:20)
      at createDescriptor (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
      at /home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
      at Array.map (<anonymous>)
      at createDescriptors (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
      at createPresetDescriptors (/home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
      at /home/david/src/github.com/netlify/netlify-plugin-handler/node_modules/@babel/core/lib/config/config-descriptors.js:58:104

  Error properties
  {
    code: 'PLUGIN_ERROR',
    pluginCode: 'MODULE_NOT_FOUND',
    plugin: 'babel',
    hook: 'transform',
    id: '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/create-dependency.js',
    watchFiles: [
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/handlers-xwEPUC/__netlifyMain.ts',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/create-dependency.js',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/cache-app.js',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/get-cache.js',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/push-image.js',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/set-cache.js',
      '/home/david/src/github.com/netlify/traffic-mesh/integration-test/site/edge-handlers/smoke-response.js'
    ]
  }

  Resolved config
  build:
    base: /home/david/src/github.com/netlify/traffic-mesh/integration-test/site
    functions: /home/david/src/github.com/netlify/traffic-mesh/integration-test/site/functions
    publish: /home/david/src/github.com/netlify/traffic-mesh/integration-test/site
  plugins:
    - inputs: {}
      origin: config
      package: '@netlify/plugin-edge-handlers'
  redirects:
    - force: true
      from: /sub/*
      status: 200
      to: index.html
    - force: true
      from: /redirect/relative
      status: 301
      to: some/other/page
    - force: true
      from: /rewrite-with-headers
      headers:
        X-From: Netlify
      status: 200
      to: /page2.html
    - force: true
      from: /api/hello
      headers:
        X-NF-Function-ID: test-function
      status: 200
      to: /.netlify/functions/hello
    - edge_handler: push-image
      from: /
      status: 200
      to: /
    - edge_handler: set-cache
      force: true
      from: /set-cache
      status: 200
      to: index.html
    - edge_handler: get-cache
      force: true
      from: /get-cache
      status: 200
      to: index.html
    - edge_handler: cache-app
      force: true
      from: /cache-app
      status: 200
      to: index.html

It looks like @babel/preset-env and @babel/core need to be installed by anyone that wants to use this plugin on their project, which is very weird to me.

those are specified as dependencies in the package.json so I'd expect them to be installed along with rollup etc?

how did you install the plugin?

Yeah that's odd, it's listed as a dependency ^

how did you install the plugin?

I linked my local repo into my testing site.

+1 on what @mraerino is suggesting.
Did this solve your problem @calavera?


Remove vulkan-specific CTS lifetime hack

https://github.com/google/iree/blob/c2947ad2389050fa926e6ae1fd8a55c72a700083/iree/hal/cts/cts_test_base.h#L44-L53
That this exists is a pretty good indicator that we are just passing the a ticking timebomb to users; every user of IREE will also have to deal with this because we don't. We must track and remove these lest we end up with stackoverflow answer cargoculting "just never release your driver and you'll be fine" and other insane hacks. It's possible for drivers to come and go within a process in ways that are hard for users to hack around too, such as how Android is allowed to load/initialize native modules several times within a single process lifetime.
This doesn't mean the CTS has to recreate the driver each test - instead, we should be caching all of them in the suite like this without special-casing Vulkan. But we also then should have a test that explicitly tries to create a driver twice and make sure that works. This is a solvable problem without just kicking the ball (that's really a timebomb) over to users.

https://github.com/google/iree/pull/3561#discussion_r510996535 might be fixed on newer versions of SwiftShader (I haven't verified that though)

Awesome! I still think it's worth caching the drivers per suite (so we aren't dlopen/dlclosing around every single test), and worth having a test that tries to create a driver twice (as otherwise it's possible for us to introduce issues that prevent ourselves from being created multiple times with no way to know), but if we could have Vulkan just work that's gravy :)

+1. Will clean this up after Hanhan lands the SwiftShader bump. :)

This was fixed in several ways:

our Vulkan API usage was fixed (IIRC it had to do with which structs we populated based on requested extensions)
SwiftShader fixed some issues
our new CTS tests do not have this specific hack


Delete SecretKey in Android KeyStore

Add delete SecretKey in Android KeyStore when call "delete" plugin method.

Init chiper with new iv and old key in keystore throw an exception and plugin crash.

The plugin crash if you try:

Open your app with fingerprint plugin
Register the fingerprint
Close app
Go to security settings on your device
Register new finger on your device
Open your app and call the plugin
The plugin is in a inconsistent status and throw exception

Please merge this pull request


[Bug] float point number data chart animation

Version
5.5.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-gradient&version=5.5.0&code=PTAEAcCcFMBdYJbUgWgQcwHYHsYCgA3AQ0lABMjYiBGUAXlAG09RWmW3OAiAJgAYeAFhR9hfAJwAVatQBcAVgAcsnjwB0fTQC0uAGg6dWfDZvEA2aosHUAzPLM2-1eT3HyDoALr7OzQ214BMTEpGQVlG3VNPh0ff1BjTWpBUQseAHYlHnlBdLSPbw8_eMChERDpOSVZQSjtPQ9ORKdbM0VqcR5FeXTknjN3TkLfRoD-MtERUKrlFxMYhviEk2SbdOseZ0ibM0ErHgK41mL_UuCpyoVxWQF52NGjFcE1ja2eHb3aw6KH0DPyi5heTXah1BZHQzNah8KzidI2SJdNZrQZsYZsE6Gf6TCSXYEqMH3JZQzQOBHUBz2bp8NbfEZLbEVIHXSJ3RbxEl8Mk2Cl2NryGnpOkY36MwFVa61NkQporaHAxy9PjyHbrd7C46i8bnXHMhSE9n-KGKcyZdK9eQCjqWg5DCGY7jagG6ng3Pg3A0ytjG009C1WtwuDXsBlOnGhV2aWSg6W_Zp8eFmTo9AXvfgCxTBh1jILOiNugmx4krbrvdJdLlJzSqcRZrW58PSSPu1nRIkcksuNYVsxVgSuOuhhtM5s1T1x-biQTiNyddLiGE2cyRQclMMjgtzNuGyGT6ezjILxRLhy2tH2-sTDdOD1FjvRKcz4GHxfLs-sdGaodXwGRuQx7cvUeJJLD2GlHzcJwBTMVdTnXX8bjkVQ7yNOUrEUcD9ytaDYKxeCXUQ2RW3qIDliSE9j15Z5QTcZJcMdYcEJvKVAIncjzEohxqNceQ6LtH5vx1fMby3Ei2KcTYdneGFknnRRFE2eicx_AiBFvVjiySAQTynWEVXeXIlNYMVVNdACxM0pxtPMXTp30mxDP4-k10Y0zCw0-8rPeGzPjcbZHPPASXJU4TXWI8FxNBRNXAXZ4lxSTMnJFQS8ybD0xxQ3ckgyKSZ1EBEpxhIy_nw0L9Uy2VsuivK4sKxLAucuDXOEmx1IszzQRpd4zGVNpnA6cRqGKkyWujcdLM67YeqpfqZyGpKv2CoS0ppdz2tQ7Kup2Xr2l4uaCjwTw8DwAAbOByEoIgeHoC6qGoNQAFsiHAAAKF7GEQB7oF0UBiBOgBXaBPAASnoAA-JhPu-0AAFlKAACzUABjaAEBOl6_sB0AACpQGhaJgZBgBuY6AGc4EkBAvuwf7YDe0G6AhgBvDgHoATwAYXhkhYDUcnYAAeXARBsEwF6Wc4cnICQUnZCYJnbqIOWKDu0AAF8foVlWlcV661aO1g1eBkmNbxgmSbwbBhYQUWbol0BEFgM65cxe3ODOgAzWA5YAchRzBYGQH2vUDgAPb3QB9j2TuwShQFJp6TpO36iAB6BSZ9jwNY8N22FgK3fctABSYPRk9iO_egAOg5D6Bw99hBq_QZAU7TjOs44dF8-wE7EHAOWFdgaX0GbyBfaIUOEAz9W4lDgBBSfZflh22fAaBfahn2Z9AQfV_XyPN5-9BpbIABJTAyDruXaH1uI2YXqeXaZ02FePhAz4vq-8fV9E37IJ_QAACNsDwGwA9X2PUS7b0HgXSOkCt63w4FLGWLsc6jFgHvX2J1G7QFLv4bWqCliMB9qVPEyhkJtmDpHFAPtPyGGIaQ0ENxWoUO0FQn2NCDaGC4YbCEudWAYLXlgnBeDDAEJDPEBhzUyFrRiOwzhpEpEhRWiwwk8jaGjDoaweei9z6X1DtfL099dGfwMXjDuH48BqyJkAA
Steps to Reproduce

Click on the Link to Minimal Reproduction link.
After 1 second, you can observe that the animation is only applied to the first chart.

Current Behavior
Only the first chart displays animation. Notably, the first and second data points in the chart are not animated.
Expected Behavior
Animation should play smoothly on all charts. The animation should be applied to all data points within each chart.
Environment
- OS: macOS Monterey
- Browser: 123.0.6312.107
- Framework: vanilla echarts

Any additional comments?
No response

you may be need to use chart.clear() before setOption such as
setTimeout(() => {
myChart.clear()
option.series[0].data=data1
option.series[1].data=data2
myChart.setOption(option);
}, 1000);

you may be need to use chart.clear() before setOption such as setTimeout(() => { myChart.clear() option.series[0].data=data1 option.series[1].data=data2 myChart.setOption(option); }, 1000);

While this method seems to work fine in the provided demo, I've observed an unusual behavior in my testing. The animation initially functions correctly upon the first update. However, upon performing a second update, the data points disappear temporarily and then reappear.

you may be need to use chart.clear() before setOption such as setTimeout(() => { myChart.clear() option.series[0].data=data1 option.series[1].data=data2 myChart.setOption(option); }, 1000);

While this method seems to work fine in the provided demo, I've observed an unusual behavior in my testing. The animation initially functions correctly upon the first update. However, upon performing a second update, the data points disappear temporarily and then reappear.
If polling is being performed, it seems like it will continue to flicker. Implementing a flag to restrict execution to the first instance is feasible, but I view it as a short-term fix.

i seem you are right,my method  suit to refresh chart.  I find the second chart in your demo play animation normally now ,how did you do it


ref #1241 -- allow for open_basedir restrictions

Ticket: #1241

Coverage decreased (-0.5%) to 95.603% when pulling fbc6d29faf6b005991c2f5e8541713a53649ab6a on 1241_root_path into ef1a9bd0ccf5794d931199c43ef0ac057361c91b on master.

Coverage decreased (-0.03%) to 96.107% when pulling f2ecbede1c0578c8ef8e769bbeb16574c6e4bc85 on 1241_root_path into c93ba4ad92e0041093073405df8a816ad2ae2665 on master.

Coverage decreased (-0.03%) to 96.107% when pulling f2ecbede1c0578c8ef8e769bbeb16574c6e4bc85 on 1241_root_path into c93ba4ad92e0041093073405df8a816ad2ae2665 on master.


Version '2.4.9' for 'mongodb-org' was not found

I am getting this error on my ubuntu nodes which were deployed using this cookbook:
[2014-09-25T15:36:38+02:00] ERROR: package[mongodb-org] (mongodb::install line 65) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y -o Dpkg::Options::="--force-confold" install mongodb-org=2.4.9 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
STDERR: E: Version '2.4.9' for 'mongodb-org' was not found
---- End output of apt-get -q -y -o Dpkg::Options::="--force-confold" install mongodb-org=2.4.9 ----

Please, help me to fix it. I have tried to change package version to 2.4.11, but it doesn't help.

seeing a similar issue
ubuntu 12.04
==> single: Mixlib::ShellOut::ShellCommandFailed
==> single: ------------------------------------
==> single: Expected process to exit with [0], but received '100'
==> single: ---- Begin output of apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb-org=2.4.6 ----
==> single: STDOUT: Reading package lists...
==> single: Building dependency tree...
==> single: Reading state information...
==> single: STDERR: E: Version '2.4.6' for 'mongodb-org' was not found
==> single: ---- End output of apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb-org=2.4.6 ----
==> single: Ran apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb-org=2.4.6 returned 100

Looks like the mongodb-org package just isn't there at that version.
Seems to be >=2.6.0 only
http://downloads-distro.mongodb.org/repo/debian-sysvinit/dists/dist/10gen/binary-amd64/

Including this recipe
include_recipe 'mongodb::10gen_repo'

results in the following log output from 10gen_repo.rb
WARN: 10gen_repo is deprecated, use mongodb_org_repo

This in turn sets the package name to mongodb-org in mongodb_org_repo.rb
node.override['mongodb']['package_name'] = 'mongodb-org'

Then when running recipes/install.rb, the mongodb-org package is the one that (attempts to) get installed
Solution may be to override the package_name with mongodb-10gen after running mongodb::10gen_repo, then run mongodb::install


Added support for GZIP compressed pages

If Content-Encoding is gzip, bytes[] data should not be directly used.
Added a new method called decompressGZIP and used it in asBytes if response contained gzip Content-Encoding.

Thanks!


device path: implement PartialEq+Eq for DevicePath

This is implemented as a byte-by-byte comparison of the device path
nodes covering the entire payload of the device path (using the
length field in the header), so it's not the same as just comparing
the fields of the DevicePath struct.

LGTM.


Parsing a stingified lowercase MiniGuid value results in a different MiniGuid than the original used to generate the string

I hope I can make this issue clear. I was testing MiniGuid in an ASP.NET MVC environment, I wanted to use it in URLs. The ActionLink helper outputs MiniGuid values in lowercase and that is how I found this issue. Of course I can output proper case manually but after seeing this I do not trust this library to provide consistent values. I expected it to fail with an exception if I provide it an all lowercase string but instead it resulted in a different MiniGuid. I wrote a very simple and dirty unit test to show it.
[Fact]
public void LowercaseStringDoesNotResultInDifferentMiniGuid()
{
    var originalMiniGuid = "boevpmEyuyAexKbDnZlLIpEcsL";
    var lowercaseMiniGuid = originalMiniGuid.ToLowerInvariant();
    var wrongMiniGuid = "HUKvVSKyuyGKxkHdTzRliVKIYl";

    Assert.Equal(originalMiniGuid, MiniGuid.Parse(originalMiniGuid));
    Assert.NotEqual<string>(wrongMiniGuid, MiniGuid.Parse(lowercaseMiniGuid));
    //Assert.Throws<InvalidOperationException>(() => MiniGuid.Parse(lowercaseMiniGuid));
}

Maybe some sort of a sanity test should be performed after converting a string to MiniGuid? Currently if we take a valid MiniGuid value and convert it to a lowercase string and then convert it back to MiniGuid it does not fail but returns a totally different MiniGuid value.

Hi Pawel, thanks for raising this, and taking the time to explain it well.
The answer is though that this is by design - MiniGuid is case-sensitive (think about how this almost doubles the amount of information in a string) so lower-cased characters are just as acceptable as - and differently-valued than - capitalised ones.
While this is a practical weakness in the design, the path portions of URLs are supposed to be case-sensitive too, so http middleware of various kinds can be trusted to respect the casing (otherwise it wouldn't be complying to the W3C specs). Given this, and the size saving this allows in the rendered strings, it's a purposeful trade-off. Base64 is the same.
I was a bit surprised at first that the ActionLink helper would alter the case, but I reckon you must have this setting turned on to make the paths look nicer (which is entirely reasonable of course).
If you'll allow me to deflect away from MiniGuid slightly... I'd say that the ActionLink helper is being a bit too enthusiastic in its case mangling.

Case-sensitivity's cropped up before though (#4) and it'd be pretty easy to alter the library to just use the lower-case alphabet and numbers instead upper case characters, but that would need to be opted into somehow...

I was a bit surprised at first that the ActionLink helper would alter the case, but I reckon you must have this setting turned on to make the paths look nicer (which is entirely reasonable of course).

That's exactly it! In fact we have had this in our project for years and I completely forgot about it. It has worked great until yesterday when I tried using MiniGuid.
My route template was /foo/{id} where {id} is a MiniGuid. However, in .NET documentation it says

If a query string is included in the URL, that part of the URL is not converted to lower case.

So in my case if I just use foo as the route template I get /foo?id=<MiniGuid> and it retains the proper mixed case. Doesn't look as clean, though.
Thank you for taking the time to write that meaningful comment, you rise good points there and I accept that explanation, it all makes sense. I actually like the mixed case of MiniGuids but I don't know yet if I'm going to use it for my purposes.
While looking at this I found a solution to that exact problem at StackOverflow. Leaving it here in case somebody finds it useful.


Only set service startup type if not the default to avoid Access Denied errors

In my testing (at least on Windows 10 RS3), setting the startup type on some services (like bfe and dhcp) gives an Access Denied error. However, these services are managed by Windows and also should already be in the correct state in these cases.
Update prepare-for-upload-vhd-image.md so that it only tries to change the service startup type if it isn't already the correct default.

I like it. Thanks for the contribution @MattKotsenas #Sign-off


goog.json improvement

goog.json improvement
(https://developer.chrome.com/extensions/contentSecurityPolicy#relaxing-eval)

I signed it!

Can you please be more explicit about what exactly this change intends to accomplish? A unit test would help as well.

My improvement mean that developer should select by his own how should work goog.json (same as goog.array). Because some environments didn't allow eval by security reasons.

There are number of problems with this patch (it is a breaking change, it introduces a define in the wrong namespace, etc).  Can you be specific as to the problem you were facing and what you motivation was for this change.


Error while configuring agent - Access to agent.credentials' is denied

Agent version and platform
Version of your agent?
2.103.1...
OS of the machine running the agent?
Windows...
VSTS type and version
On-Prem TFS
What's not working?

If the Server URL is specified as "http://accountName/tfs/DefaultCollection", then after configuration "TF14045: The identity could not be found." error is shown in the log.
After that, as a next configuration attempt, even when server URL is correctly mentioned, following error is shown - Access to the path 'F:\devel\agents\on-prem_agent\agent.credentials' is denied."
Once that happens, unless .credentials file is deleted, agent remains in not configurable state

Agent and Worker's diag log
Logs are located at the _diag under agent root folder, agent log prefix with Agent_, worker log prefix with Worker_. all sensitive information should already be masked out, please double check before paste here.
agent_logs.zip

Obviously they need to specify the server url for on-prem per docs ...  Correct?

Yes but the problem is once the user puts a wrong URL the first time, even if he corrects it the next time, he will keep getting the error. Also, if user tries to access(read/write) the credentials file, he can do it which further adds to the confusion that if he can access it, why the error message says otherwise.
That is why I raised the issue, but I think the way you have rephrased it sounds better.

Not sure if there's anything we can do up front (test connection?) to give heads up and fail config with better message.

This is caused by those files are hidden, you can't overwrite hidden file in .net. I will make a fix.

#473


What macros/fns belong in what namespaces

Have been deferring this while developing. This all depends on the names we settle on. Using the current names and suggesting the following.
tuplerules

Rename to rules
def-tuple-rule
def-tuple-query
def-tuple-session

core

schema-insert
insert
retract
start!
then
subscribe
entity
facts-where
entities-where

query

Doesn't currently exist
All query helpers currently in util that are mainly for internal use and injected intodef-tuple-session (qa-,qav- etc.). Would require changing def-tuple-session to require libx.query instead of libx.util

Suggest removing:

insert-fire, retract-fire - As of 0.1.0 there's not much to justify their existence

Suggest adding:

fire-rules - Lame but suggest referencing Clara here. It's one of two macros/functions that we would probably want when developing an app.
query - Again we'd need to reference Clara. Suggest putting in core as q. Would conform to Datomic and datascript API:
(libx/q my-session some-query-defined-with-defquery)

Suggest making private:

This is hard for me because I don't like when libraries do this but with everything public as it is now, it's not clear what our API actually is. core seems the main ns where we should consider making functions private. If we really want something there to remain public suggest moving to util.

This is still an issue for me. After some research I think aliasing is the best way to go. Otherwise we face circular dependencies. Need to play around with it but we should be able to define insert! in rules.cljc as util/insert! and avoid any breaking changes and surface insert! for the public API, allowing us to continue to use util/insert! for implementation rules.

This issue has languished. In practice have received no complaints about insert! and friends being in the util namespace. Still a bit of a personal pet peeve for me. If anyone raises the issue separately we should be able to allow those functions to be called from the rules namespace by aliasing them. Barring the creation of a circular dependency, this would be an easy fix and not introduce any breaking changes.


Odd issues with Preview8

I updated a project from netcoreapp2.2 to netcoreapp3.0 and use Preview8 SDK as well as Microsoft.EntityFrameworkCore.SqlServer, tools and design.
I can build and run my projects locally just find. But when I try to deploy with Azure Devops, the Nuget restore says:
NU1202: Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview8.19405.11 is not compatible with netcoreapp3.0 (.NETCoreApp,Version=v3.0). Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview8.19405.11 supports: netstandard2.1 (.NETStandard,Version=v2.1)
Which makes no sense to me.
I know this may not be EF Core's bug (because I can build it find in VS 2019), but maybe someone has seen them happen before?
I'm setting the .Net Core SDK in the pipeline to Preview8 via a global.json.

@foconnor-DS Is the preview 8 SDK installed on the DevOps agents?

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


add file name to db_perror

-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2486
Status: New
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: add file name to db_perror
Assigned to: -
Category: -
Target version: -
Author: Mark Miller
Start: 12/18/2015
Due date:
% Done: 0%
Estimated time:
Created: 12/18/2015 01:20 am
Updated:
Likelihood:
Severity:
Found in version:
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
Comments:

I believe this is a silo ticket @markcmiller86 .


[5.7][ConstraintSystem] Fail ~= synthesis if constraint generation fails

If constraint generation for application of ~= failed, that should
result in an immediate synthesis failure.
Also add LLVM_NODISCARD to generate* methods
to make it harder to make such a mistake in the future.
Resolves: rdar://92366212

@swift-ci please test


Question 7.4 is missing in the quiz form

The folowing question is present in the lab:

But not present in the quiz form:

I would expect all questions to be in the quiz form. This is quite confusing.

@Lah123, Good catch, it must of been missed due to required ones vs not required ones. We will fix the quiz. Pls consider 7.4 as not required till then.

fixed readme, thx


Possible mistake in access modifiers description

private protected: The type or member can be accessed only within its declaring assembly, by code in the same class or in a type that is derived from that class.

Looks like it should be private internal.

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

ID: 8121f526-cfe4-091d-d031-2cdc274cd8ee
Version Independent ID: 76a389f6-b568-3568-6483-6df440f96f0c
Content: Access Modifiers - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/access-modifiers.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Definitely I could be wrong, because this strange private protected mentioned several types.
But it's really confusing, because the internal was intended to assembly visibility.
If private protected is correct, could it be stated in docs that it's not an error and intended?

@Maximus5 The articles are correct. After considerable debate, private protected was chosen for this type of access. I'm not sure how to make it more clear, as all the articles that mention this access do use the correct access modifer.
I'll close this as an answered question.


Allow local actions to download directories post build

Changes
Now both files and directories can be downloaded as part of a local build.
Checklist

[x] have tested my change
[ ] updated relevant documentation
[ ] Remove any/all console.logs I added
[ ] eslint is not complaining
[ ] have added myself to the contributors' list in CONTRIBUTING.md
[ ] for feature PRs: PR only includes one feature enhancement.

@sebjulliand thanks! I'm gonna merge now.


ci: add GitHub dependabot

It will be incharge of opening PR if a Go dependency or a GHA should be updated

Great, thanks for adding it!

Great, thanks for adding it!

My pleasure.
I saw it opened #8 #9 #10


docs - deploy with mike is failing

Describe the bug
Example this action run.

Aborted with 1 warnings in strict mode!
error: Command '['mkdocs', 'build', '--clean', '--config-file', 'mkdocs.yml']' returned non-zero exit status 1.
Error: Process completed with exit code 1.

Additional context

fix the github action

We need to cherry-pick this mkdocs.yml patch. Thanks!

And requirements.txt.


SFML on WSL creates window but doesn't draw anything in it

Subject of the issue
I've been trying to create an app for Linux with a graphical interface based on SFML. I'm currently working through WSL2 (please don't give up yet) and I'm having some issues with it. I can use many graphical interface apps on WSL2 since it is currently supported, however, I can't seem to make my SFML-based app work.
Your environment

Your Ubuntu 22.04 (WSL2)
SFML version 2.6.x
GCC 11.4.0

Steps to reproduce
I've been using the following code as a starting point just to see if I can get anything to compile and show up on the window. This is my current main.cpp file:
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode({640, 480}), "ImGui + SFML = <3");

    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);
    shape.setPosition(100.f, 100.f);

    sf::Clock deltaClock;
    while (window.isOpen()) {
        sf::Event event;
        while (window.pollEvent(event)) {

            if (event.type == sf::Event::Closed) {
                window.close();
            }
        }

        window.clear();
        window.draw(shape);
        window.display();
    }
}

To compile this project, I've been using CMake with the following CMakeLists.txt:
# ------------------------------------ Project definitions ------------------------------------ #
cmake_minimum_required(VERSION 3.24)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_C_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED ON)

set(COMPILER_WARNINGS -Wall -Wextra -pedantic -MD -fno-exceptions)

include(FetchContent)
# --------------------------------------------------------------------------------------------- #

# ----------------------------------- Dependencies section ------------------------------------ #
set(BUILD_SHARED_LIBS OFF)

message(STATUS " --------------------------------------------------------------- ")
message(STATUS "|         Fetching sfml and adding it to the project.           |")
message(STATUS " --------------------------------------------------------------- ")
FetchContent_Declare(
    sfml
    GIT_REPOSITORY https://github.com/SFML/SFML
    GIT_TAG 2.6.x
    SYSTEM
)
set(SFML_STATIC ON)
set(SFML_BUILD_EXAMPLES OFF)
set(SFML_BUILD_DOC OFF)
set(SFML_BUILD_NETWORK OFF)
set(SFML_BUILD_AUDIO OFF)
set(SFML_BUILD_GRAPHICS ON)
set(SFML_BUILD_WINDOW ON)
FetchContent_MakeAvailable(sfml)
list(APPEND REMOTE_LIBS
    sfml-system
    sfml-window
    sfml-graphics
)
# --------------------------------------------------------------------------------------------- #

# --------------------------------------- Build section --------------------------------------- #
project(
  tinker-iase
  VERSION 0.1
  DESCRIPTION "Programa de Emulação do Hardware IASE"
)

# I have the SOURCES and HEADERS variables set, but I've omitted it since for this first attempt I'm only using the main.cpp file (which is included in the SOURCES variable)
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})

target_compile_options(${PROJECT_NAME} PRIVATE ${COMPILER_WARNINGS})
target_link_libraries(${PROJECT_NAME} ${REMOTE_LIBS})
# --------------------------------------------------------------------------------------------- #

Expected behavior
This was supposed to show a standing green circle, which happens when I compile this same code on Windows and run it there.
Actual behavior
When compiling this code on WSL2, the window is created but the circle is not rendered at all, the window just stays blank.

What do you get when you enter wsl --version?

Versão do WSL: <IP_ADDRESS>
Versão do kernel: <IP_ADDRESS>
Versão do WSLg: 1.0.51
Versão do MSRDC: 1.2.3770
Versão do Direct3D: 1.608.2-61064218
Versão do DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Versão do Windows: 10.0.22621.2428

I've had SFML rendering in WSL2 for a long while, I believe the guide for setting it up differs between Win 10 & Win 11. Have you ensured you have the steps done for Win10?

Are you talking about setting up SFML or WSL?
I'm currently using Win 11, but I do not recall seeing any configuration specific to each version when I was setting up my WSL.
As for SFML I haven't found anything recent on how to set it up for WSL, but I assumed it would work just like in regular Linux.

I followed the steps on: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps then setup SFML using the template project. I have been able to reliably build & run my own projects on WSL2 since the setup. Just wondering if you followed this guide?

Sorry it took me so long to get back to this, I intend to use SFML for a side project and my current work has been occupying all of my time these past weeks.
I followed those steps as well, I regularly use other GUI applications through WSL and I've even managed to create a GUI application of my own with the wxWidgets library that renders just fine.

Update: It seems like the issue is related to SFML dependencies like X11. I had already previously installed all SFML dependencies I could find in the documentation and my code compiled just fine, apparently not lacking any libraries. However I stumbled upon a script someone wrote that installed all SFML dependencies and I decided to try it. For some reason it worked, I couldn't find which libraries were not installed yet but it worked. My example application rendered fine and ran perfectly.
However afterwards it stopped working again out of the blue and I still couldn't find why. I uninstalled all SFML dependencies, those in the documentation and those that the script installed and installed them again, but I can't get it to render again.
Still no idea what happened, why it worked in the first place and why it suddenly stopped.

What's your output on wsl -l -v? It's totally possible you've got WSL2 installed, but your distribution still runs WSL1.

Was just curious, because I've never tried X11 inside WSL so far, and in my case it works just fine with latest master:

And something I forgot earlier, could you try to install mesa-utils and run glxgears? Does it render?

What's your output on wsl -l -v? It's totally possible you've got WSL2 installed, but your distribution still runs WSL1.

  NAME            STATE           VERSION
* Ubuntu-22.04    Running         2

And something I forgot earlier, could you try to install mesa-utils and run glxgears? Does it render?

I've installed it and it runs just fine, I think my issue is related to my CMake script, probably linking something wrong I guess. I haven't had much time to work on this but I'll give it another try and see if I can make it work

Version looks good. Maybe everything is actually right, but you're unintentionally linking older builds of sorts (e.g. building static, but linking older dynamic or vice-versa)?

As so far nobody has been able to reproduce this, I'll close the issue for now. If we do find out it's a general issue, I'll be happy to re-open it again.

Well, I've given up on WSL and Windows in general. Currently using regular Linux (arch btw) so this is a non-issue now.
Just for the sake of closure, it really was only a linking issue.
I had installed SFML via a package manager and used a FetchContent in my CMake script to get it, which apparently made it try to dynamically link to the wrong version (even though I was trying to link statically 🤷♂).
It worked eventually, so if anyone encounters this, I recommend completely removing all instances of SFML, via package manager, FetchContent, etc, and then pick one and try again.
Thanks to everyone who took the time to help. I hope this helps someone else eventually


How to set value to formcontrol using ReactiveFormsModule if clean data in datebox

I have control fromDate using ReactiveFormsModule
From Date *
                <input class="form-control" formControlName="fromDate" type="text" daterangepicker
                       (selected)="fromDateChange($event)" [options]="dateOptions" name="fromDate">

                         From Date required

Option control
public dateOptions: any = {
    locale: {format: "DD/MM/YYYY"},
    alwaysShowCalendars: false,
    singleDatePicker: true
  };

Component
public addEditForm: FormGroup = new FormGroup({
    fromDate: new FormControl(null, Validators.required)
});

Event change
fromDateChange(event) {
    if (event.start) {
      this.addEditForm.controls["fromDate"].setValue(
        event.start
      );
}

But I clean data  and out focus value set is today  but Event change fromDateChange not run and set data to form. Result value not set form not save. I try event cancelDaterangepicker or hide hideDaterangepicker

patchValue and setValue should work
See this example: https://embed.plnkr.co/Ynz0TEoqEydFZ4zVcZdw/
import { FormControl } from '@angular/forms';

declare var moment:any;

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class App {
    public travelDate = new FormControl();

    private updateDate(value: any) {
        this.travelDate.patchValue(moment(value.start).format('LL') + ' - ' + moment(value.end).format('LL'));
    }
}

    <input placeholder="Choose Travel Dates" class="form-control" [formControl]="travelDate">

Sorry I try with patchValue and setValue should but not work. Data set value is default  today. If i clean by backspace not run function set (selected) set data

It works in the example i shared. Maybe if you can share your code I can assist you.
Also the event will only be fired after clicking on the picker and not when the input is edited.

My code
I have from group
`<form novalidate [formGroup]="addEditForm" (ngSubmit)="onSave($event)">

   From Date *
            <input class="form-control" formControlName="fromDate" type="text" daterangepicker
                   (selected)="fromDateChange($event)" [options]="dateOptions" name="fromDate">

                     From Date required

 Lưu

`
Component
`public addEditForm: FormGroup = new FormGroup({
    fromDate: new FormControl(null, Validators.required)
`});`
Event selected
fromDateChange(event) {     if (event.start) {       this.addEditForm.controls["fromDate"].setValue(         event.start       ); }
Option
public dateOptions: any = {     locale: {format: "DD/MM/YYYY"},     alwaysShowCalendars: false,     singleDatePicker: true   };
Default value set model set from date = toDay();
If i clean by backspace not run function set (selected) set data Form Group control valid button save is disabled. Button control show date set default  but  this.addEditForm.controls["fromDate"] value is null

@evansmwendwa
Issue fix with config html

    <input placeholder="Choose Travel Dates" class="form-control" [formControl]="travelDate">

But not work config
<input class="form-control" formControlName="fromDate" type="text" daterangepicker
                       (selected)="fromDateChange($event)" [options]="dateOptions" name="fromDate">

Thank for example shared

Can you share your code in plunker or github I try and help you with the debugging

You see my example
https://plnkr.co/edit/p7lw7khPGOa3dJmezGNN?p=preview
Input controlDate2 init is null but show to day value. I selected date and clearn data. Input controlDate2 not clean. But controlDate1 work

In your first example the picker is attached to the containing div while in the second one the picker is attached to the input itself.
When the picker is attached to an html input element it will auto update the input automatically. Considering there's always a selected range in the picker then the attached element will always have a value.
You can disable that by setting autoUpdateInput to false in your picker options
 autoUpdateInput: false

public singlePicker: any = {
      "autoUpdateInput": false,
      locale: { format: "DD/MM/YYYY" },
      alwaysShowCalendars: false,
      singleDatePicker: true
    };


Package path ./importer is not exported from package

Describe the bug
Hi,
The package path ./importer is not exported from package.
Thanks
Reproduction
I tried the example of imports with NextJs.
Logs
error - ./src/i18n/importer.ts:2:0
Module not found: Package path ./importer is not exported from package C:\PATH\node_modules\typesafe-i18n\package.json)
  1 | import ky from 'ky'
> 2 | import { storeTranslationToDisk } from 'typesafe-i18n/importer'
  3 |
  4 | const getDataFromAPI = async (locale: string) => {
  5 |   // this is just an example that returns static content

Import trace for requested module:
./pages\_app.tsx

https://nextjs.org/docs/messages/module-not-found

Config
{
  "$schema"<EMAIL_ADDRESS>
  "baseLocale": "en",
  "adapter": "react",
  "loadLocalesAsync": false
}

Additional information
No response

Yes there is

How do you run the file that includes the importer?
You should run this as a node script e.g. ts-node ./src/import-translations.ts
See the docs: https://github.com/ivanhofer/typesafe-i18n#importer


chore: Switch to using jsonrpsee for foreign calls

Description
Problem*
Resolves https://github.com/noir-lang/noir/issues/6742
Summary*
Instead of jsonrpc we use jsonrpsee to make calls to the Oracle function resolver.
Additional Context
Our codebase is mostly synchronous, but jsonrpsee is async. I created a tokio::runtime::Runtime in the executor where I can block on the calls, however this doesn't work well with the #[tokio::test], runtimes don't nest. Because of this the tests require a bit more supporting machinery than before.
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench it looks like it doesn't compile to Wasm because the http-client feature brings in tokio:net which brings mio as a dependency. It doesn't look like noir_wasm uses the foreign_calls module, so I guess I can try putting that behind a feature flag, so we don't have these network related dependencies when we're compiling to Wasm.

Yeah we don't need an RPC server in wasm as we expect that to use callbacks directly. We can put it behind a feature flag then.

@TomAFrench the problem is that I not with the RPC server, which was only used as a dev-dependency, it's the RPC client itself. I wanted to it behind a feature flag for foreign calls, but then realised that ops::test directly depends on being able to make HTTP calls: TestForeignCallExecutor uses RPCForeignCallExecutor. By contrast, ProgramExecutor in ops::execute only uses the ForeignCallExecutor trait, which would be easier to isolate from the network related stuff in  foreign_calls module.
I created a test and execute feature flag, so that noir_wasm can depend only on compilation machinery, which is the only one it has #[wasm_bindgen] for right now, but by disabling test in Wasm, https://github.com/noir-lang/noir/pull/6835 is moot at the moment.
We can refactor the whole module so that a ForeignCallExecutor is passed to the ops::test::run_test as a dependency, similar to how it's done in ProgramExecutor::new, rather than as a URL, which I think is useless within Wasm, at least I don't see any injected methods that would handle network calls. It would be a breaking change in the test API, though.

in wasm as we expect that to use callbacks directly

Perhaps this is related, can you elaborate on what you wanted to do?


Configuration Problem Dyson Cloud / Dyson Local

Hey,
I am fairly new to Home Assistant. I tried configure the Dyson integrations but I cannot login with my Dyson account. When I enter my mail address I cannot go further because I get an error "Unknown error occurred". When I try to enter via the Dyson local integration, I put in all the required information but then I get an error "Failed to connect". I have not yet tried the "Wifi Setup" as I am not quite sure where to find the wifi information for my device.
Is there any help you can offer concerning these specific problems?
Greetings,
Peter

I was able to get this to work by using Cloud Local. Grab the Wifi SSID and password from the device. If you removed the sticker, it is behind the filter. Put the Dyson into wifi pairing mode. Start by adding the device in HA using Dycon local and select Wifi, enter you Wifi SSID and password but dont hit confirm. Then switch over to the Dyson app on your phone and start to add fan to the Dyson app. After you have connected the phone to the Wifi of the Dyson and the app is transferring the Wifi settings, you can click confirm within HA for the last step. It make take one to two clicks on Confirm but it has worked for two  Dyson fans for me.

I was able to get this to work by using Cloud Local. Grab the Wifi SSID and password from the device. If you removed the sticker, it is behind the filter. Put the Dyson into wifi pairing mode. Start by adding the device in HA using Dycon local and select Wifi, enter you Wifi SSID and password but dont hit confirm. Then switch over to the Dyson app on your phone and start to add fan to the Dyson app. After you have connected the phone to the Wifi of the Dyson and the app is transferring the Wifi settings, you can click confirm within HA for the last step. It make take one to two clicks on Confirm but it has worked for two Dyson fans for me.

Yeah it seems that my Dyson does not support this. There is no SSID an PW anywhere. It connects to the phone via bluetooth as far as I know and then sets it up, so this was not an option for me unfortunately.


New music

Description

Change the music (OG music file is still there)
Add music when you die
To play boss music:

from MainGameArea, go to MainGameArea.MusicType, change the filename of the BOSS music, then add a call to MainGameArea.playMusic(MusicType)
from any class, use ResourceService.playMusic(String)

Closes #436
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?

Unit test for music playing
Start the game. Music will play on loop.
Exit the game. Music will stop
Die. Normal music will stop, death music will play.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@IanP96 can I get you to move music stuff into the GameArea, not the MainGameArea?


Upgrade compile, target and AGP versions

Jira issue:
https://glia.atlassian.net/browse/MOB-3551
What was solved?

Upgrade Widgets SDK Compile SDK version to 34
Upgrade Testing app Compile and target SDK versions to 35
Upgrade the AGP version to the latest version(8.6)
Upgrade third-party dependencies
Upgrade the Core SDK dependency version to 1.8.0

Release notes:

Android 15(Target SDK 35) support.

Upgrade the minimum supported compileSDK to 34

[ ] Feature

[ ] Ignore

[x] Release notes (Is it clear from the description here?)

[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Is the feature sufficiently tested? All tests fixed? Necessary unit, acceptance, snapshots added? Check that at least new public classes & methods are covered with unit tests
[ ] Did you add logging beneficial for troubleshooting of customer issues?
[ ] Did you add new logging? We would like the logging between platforms to be similar. Refer to Logging from Android SDKs → Things to consider for newly added logs in Confluence for more information.

Screenshots:

Are these changes backward compatible? Can you publish to locale maven and use this Widget version with CortexFinacial without incrementing the gradle version or changing the target SDK to API 35?

these changes should be backwards compatible, but I will check before merging them.

there are mostly no differences between the old and new snapshots, except the Operator attachment-related cases where the Paparazzi is having some problems with the Formatter so the KB somehow gets replaced with the kilobyteShort but in runtime, there is no such problem. Also, upgrading Paparazzi to the latest version fixes this, but since it is bumping the Kotlin version to 1.9 for an entire project, we can’t do it now.

It seems all the failing snapshots are related to the paparazzi-related changes, so we will probably face the same problems when upgrading the Paparazzi version with Kotlin being 1.9


Helmet overlay should be disabled or toggleable

The helmet that is visible around the border of the screen is kind of redundant in VR. Our FOV is already limited by the headset itself, so adding another layer beyond that is distracting, at least in my opinion.

I'm a bit reluctant to add configurable stuff because that increases the chance of me introducing bugs that I don't notice (because I don't test all possible configurable options).
I'd prefer to somehow change the size of the helmet depending on the VR headset being used. For instance, with my Oculus, I only really see the helmet when I'm moving my head around. I assume for you it is visible at all times?

@Raicuparta The helmet is always visible for me at the very bottom, as well as parts in the upper left and upper right (using a Vive Pro). Being able to see it clearly when I'm moving my head is also pretty distracting for me, though. Maybe it would be better if you were to reduce the lag time on its movement? I dunno. I'm not a dev. :P

Closed by #239
(will be available on release 0.38)


Fix /pex reload

At the moment, it only clears cache and reloads the file backend's permissions file.
It needs to reload the global PEX configuration file and update plugin state to match what is set by the configuration.

In Sponge, we reload everything for a reload. Just gotta make sure caching works out properly for these reloads.


Add Code School's Angular 2 course links

This adds links to Code School's Accelerating Through Angular 2 course in the README.md and index.html files.
Let us know if any changes are needed! 😄

Hi,
Is there some assets with the course?


Bump package versions [March]

eslint-plugin-react from 7.17.0 to 7.18.3
babel-eslint from 10.0.3 to 10.1.0
stylelint-prettier from 1.1.1 to 1.1.2
lint-staged from 10.0.7 to 10.0.8
@sentry/node from 5.11.2 to 5.13.1
husky from 4.2.1 to 4.2.3
eslint-plugin-prettier from 3.1.1 to 3.1.2
dayjs from 1.8.19 to 1.8.21
@babel/plugin-proposal-class-properties from 7.8.0 to 7.8.3
react from 16.12.0 to 16.13.0
eslint-plugin-import from 2.19.1 to 2.20.1
mobx-react from 6.1.4 to 6.1.8
@babel/plugin-proposal-decorators from 7.8.0 to 7.8.3
@sentry/browser from 5.11.2 to 5.13.0
eslint-plugin-react-hooks from 2.3.0 to 2.5.0

@Joozty here is as many as dependabot managed to merge today. I squashed all of them and waiting for Next 🙂

Wouldn't be better to review every package separately next time? This pull request should be just merged without any review. Every breaking change should be handled on it's own.
I mean if you did it then merge it and don't wait for my review. :)

Never mind. Sorry I didn't notice your comment.

I want to automate as much as possible. Probably, I will enable minor updates to be merged automatically but major updates only manually.
These all are minot but I have not checked it at all.


Feature - Error 404

When there is a 404 error the website just returns 000webhost's default webpage that just redirects users to their site and makes it confusing for normal users. Therefore I want to create our own 404 page instead.

This has been successfully resolved - https://github.com/Aahan-in-Space/aahaninspace-website/commit/eb2d7fc8b9a5d3a83df5a5fa7f4f12134916dbe7 .


Can not see service in UI, but trace exist

Please answer these questions before submitting your issue.

Why do you submit this issue?
[-] Question or discussion

Question

What do you want to know?

After the agent is started, the information about the service is not visible on the UI, and there is no related call information on the topology map. However, the trace of this service can be queried through TraceId.
In agent log, I can see some logs same as belows:
DataCarrier.DEFAULT.Consumser.0.Thread TraceSegmentServiceClient :  74 trace segments have been sent to collector.

ElasticSearch Table network_address_inventory has no information about my service.
And the service server could telnet success to collecotr server with 11800 and 12800 ports.

I have found the cause of the problem，that is because the time of the agent server is inconsistent with the OAP server.


Add robin-map-dev

Please add the following dependency to the rosdep database.
Package name:
robin-map-dev
Package Upstream Source:

https://github.com/Tessil/robin-map

Purpose of using this:
A C++ implementation of a fast hash map and hash set using robin hood hashing
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

https://packages.debian.org/search?keywords=robin-map-dev&searchon=names&suite=stable&section=all

Ubuntu: https://packages.ubuntu.com/

https://packages.ubuntu.com/search?keywords=robin-map-dev&searchon=names&suite=all&section=all

Fedora: https://packages.fedoraproject.org/

https://packages.fedoraproject.org/pkgs/robin-map/robin-map-devel/

Arch: https://www.archlinux.org/packages/

https://archlinux.org/packages/extra/x86_64/robin-map/

Gentoo: https://packages.gentoo.org/

https://packages.gentoo.org/packages/dev-cpp/robin-map

macOS: https://formulae.brew.sh/

https://formulae.brew.sh/formula/robin-map#default

Alpine: https://pkgs.alpinelinux.org/packages

https://pkgs.alpinelinux.org/package/edge/community/s390x/robin-map

NixOS/nixpkgs: https://search.nixos.org/packages

https://search.nixos.org/packages?channel=23.11&show=robin-map&from=0&size=50&sort=relevance&type=packages&query=robin-map

openSUSE: https://software.opensuse.org/package/

https://software.opensuse.org/package/robin-map?search_term=robin-map-devel

rhel: https://rhel.pkgs.org/

No idea?
https://unix.stackexchange.com/questions/6864/how-to-search-for-official-rhel-packages

Search Results

https://pkgs.org/search/?q=robin-map

@nachovizzo , does this look alright to you?

@nachovizzo , does this look alright to you?

Yes, though is a duplicate of https://github.com/ros/rosdistro/pull/40464 :angel:

Closing as a duplicate of #40464


Mysql.php not processing correctly/completely

Hi!
Downloaded and installed version 1.0.18 and configured it to use MySQL.  All required configurations stated at http://kanboard.net/documentation/mysql-configuration were completed.
At initial connection to Kanboard through the browser it added on 31 tables to the kanboard database before the webpage went idle and was blank (no errors, nothing).  Upon refresh of webpage errors were received similar to those provided by user c99ipnerd in issue #845.
I followed the instructions provided by fguillot to modify the schema_version to skip the erroring functions in Mysql.php, but I had to manually do this for nearly all functions version_1 through version_73 before Kanboard would finish the remaining steps before showing the login page.
Why so many duplicate failures within the code and partial completion of the Mysql build?  Is this a problem with Kanboard build logic or a problem with PHP/MySQL?
There were a small handful of functions in between 1 and 73 which still had to execute so that by the time it was done creating all tables (final count: 38) and updates had been made.  Very time consuming.

My guess is the first time the process probably timed out and left the schema creation procedure in inconsistent state. It can happen on low cost and overloaded web hosting providers. Usually that take less than one second to create all tables.
Can you give more details about your environment? os/php/webhosting provider?

Sure!  The installation is on a virtual server created with VMWare with the following specifications:

Intel Xeon E5-2670 @ 2.60 GHz
12.0 GB of RAM
64-bit OS, Windows Server 2008 R2 Standard
100 GB hard drive (pool size)
IIS 7
--
PHP Version 5.6.10 w/ required extensions per instructions.
MySQL 5.6.26

The same server is also server a few other hosted applications.
System is internally-hosted, in our rack, on the same LAN.  It is not on the Internet or served by a third-party provider.
Let me know if there's any other details I can provide you may be interested in!

There is now an alternative method to initialize the database the first time for Mysql and Postgres.
Instead of running all schema migrations one by one which can slow down the process, it's possible to import directly the final SQL schema.
The procedure is documented here: http://kanboard.net/documentation/mysql-configuration (Section importing SQL dump)
I think that will solve your issue.


.Net: Sample showing how to collect additional function calling telemetry

Motivation and Context
Adds a new Concept sample which shows how to collect telemetry when using function calling.
Description

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Why do we need another sample on telemetry? We already have one and that also shows how function calling shows up in our telemtry.


Migrate to CircleCI 2.0

Do you want to request a feature or report a bug?
bug
What is the current behavior?
The version of CircleCI used in this project is 1.0, so the build is not working properly already.

The CircleCI 1.0 cloud infrastructure is no longer available as of March 15, 2019. To build your projects on CircleCI, upgrade your configuration to build on CircleCI 2.0.

https://circleci.com/
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
CircleCI works fine.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information.

node version
npm version
Operating system
bundlesize version
CI you are using

I've followed the instructions to add the package to my project, and added the key to my circleCI configuration, but I'm not seeing anything.  We are using CircleCI 2.1.  Is my problem what you would expect based on this issue?


Not a valid identifier

Hi Jim:
After install ROS and when I open a new terminal, it always complained
bash: export: <IP_ADDRESS>': not a valid identifier bash: export: xxx': not a valid identifier
bash: export: `': not a valid identifier
Why?
Thank you.

You will need to edit the ~/.bashrc file to set your network configuration.
Set the ROS_MASTER and ROS_IP appropriately.

Thanks. How can I find the ROS_MASTER and ROS_IP?

These are the standard ROS definitions. ROS works as a distributed network system. You will need to familiarize yourself with the nomenclature and networking setup for your particular robot/application. There are many articles on the web, it's beyond the scope of what will be discussed here.
During installation, the installer assumes that you are running ROS_MASTER on the Jetson (localhost) and that the ROS_IP is the current IP of the Jetson. There appears to be an issue in your case, perhaps a dynamic address assignment, or a malformed export statement.

It should only be one of the IP addresses, e.g.
export ROS_IP=<IP_ADDRESS>


Adding TRV _TZE200_ywdxldoj

Adding TRV _TZE200_ywdxldoj by user request in https://github.com/zigpy/zha-device-handlers/pull/726#issuecomment-780081118.

Codecov Report

Merging #797 (3612253) into dev (8077017) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #797   +/-   ##
=======================================
  Coverage   83.80%   83.80%
=======================================
  Files         181      181
  Lines        4359     4359
=======================================
  Hits         3653     3653
  Misses        706      706

Impacted Files
Coverage Δ

zhaquirks/tuya/valve.py
95.52% <ø> (ø)

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 8077017...3612253. Read the comment docs.

Pull Request Test Coverage Report for Build 607431975

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

Totals

Change from base Build 606334046:
0.0%

Covered Lines:
3653

Relevant Lines:
4359

💛  - Coveralls

And one more thanks !!


Add preupdate hook

This is a continuation of the previous PR by @MidasLamb (thank you!)
Per feedback on the original proposal, this adds a new feature flag (preupdate_hook) which will enable the preupdate API. I moved the hooks implementation into its own folder so the preupdate hook can be easily feature-flagged separately. Let me know if you'd like this to be structured differently and I'd be happy to make any adjustments.

I am afraid that I should reject this PR because you haven't fork the previous PR #897.
We should see @MidasLamb contributions in git commits.

I am afraid that I should reject this PR because you haven't fork the previous PR #897. We should see @MidasLamb contributions in git commits.

Apologies, thanks for pointing this out. I had merged in the original PR, but I think I accidentally lost the original commit history during a rebase. I wasn't paying attention and missed that. I reapplied the changes on top of the original PR now.

Must read / check: https://github.com/rusqlite/rusqlite/issues/1048
Nice to have a compilation failure test like:  https://github.com/rusqlite/rusqlite/pull/1052 (without UnwindSafe / RefUnwindSafe)

Must read / check: #1048 Nice to have a compilation failure test like: #1052 (without UnwindSafe / RefUnwindSafe)

Got it, thanks. It needs an explicit 'static lifetime on the callback. Fixed that and added a complication failure test as mentioned.

@gwenn I just realized that the preupdate_hook features would never get tested in CI since it's not automatically enabled by bundled-full. I updated the github actions config to also enable it wherever it currently enables bundled-full, session, and buildtime_bindgen. Let me know if you'd like to handle this differently.

Thanks


Question about chat format

How to create chat format for each group (Luckperms) 'English'

Yours is very simple, just create a new content below-requirement: null,-requirement: null is at the same level as the first one, and then just change the configuration normally, write null as a comparison format, check papi *%luckperms_in_group_vip% == *yes is Kether grammar writing; js: "%luckperms_in_group_vip%" == "yes" is js writing, and if you have any questions, you can ask questions here instead of GitHub: https://discord.com/channels/760802420552105995 /884258283664310273

https://discord.com/channels/760802420552105995
I can not come in (Dean Le#2431)

You are chinese?

You are chinese?

No

Try to use VPN to enter the link

Try to use VPN to enter the link

hm i can't access channels it says me you don't have permission
Can you send me an example chat format for each rank?  default->vip->mvp

The different chat formats of different groups are very simple. Look carefully at the format I wrote to you. https://paste.helpch.at/nebexuqusi.pl
Discord does not need any permissions to enter, unless you don't have a registered account, etc.

The different chat formats of different groups are very simple. Look carefully at the format I wrote to you. https://paste.helpch.at/nebexuqusi.pl
Discord does not need any permissions to enter, unless you don't have a registered account, etc.

Thanks

https://sourceb.in/uKO5mofuZM
Can you update the color hex? I can't use color hex here

I just talked to the maintainer about the RGB format and waited for him to push the new version.


Vendor dirs and package duplication

Hello, dear opam-monorepo maintainers,
I'm currently working on creating a lock file with opam-monorepo for irmin to be able to reproduce the build.
The past version of irmin has a vendors directory which contains tezos-context-hash. Moreover, as irmin relies on index, which also vendors tezos-context-hash, two different versions of tezos-context-hash are available for dune at build time. It creates the following error;
Error: Too many opam files for package "tezos-context-hash-irmin":
- vendors/tezos-context-hash/tezos-context-hash-irmin.opam
- duniverse/index/vendors/tezos-context-hash/tezos-context-hash-irmin.opam

Is there a way to specify in the locked file to not install one of the vendor dir?

Hi,
Nested vendoring is difficult to fix at the level of opam-monorepo because it can not know which copy of the library to use.
The most expressive way to solve this would be to extend dune so that several copies of a library can be present in the same workspace, with rules about which parts use which one (the "scoping" proposal).
Otherwise: assuming that a single version of the nested library can be used by both parts of the codebase, we could solve that by removing the unwanted bits of the dependency. That could be either done by opam-monorepo itself (by allowing to pull only a subset of a tarball using a wildcard, what I'd call the "post-checkout filter") or with the help of dune (it knows which files belong to which package - that would be "dune stripping").
But opam-monorepo is not in a position to determine what to do in an automatic way.
I can suggest some workarounds. They assume that you don't need two different versions of tezos-context-hash.

you can use a version of index that does not vendor tezos-context-hash. Either strip the tarball to remove the offending components (they might not even be used by irmin) or change it so that it exposes its tezos-context-hash dependency to opam.
as a alternative to this solution, you can modify the vendoring so that the tezos-context-hash library is made private.
you can manually tweak the output of opam monorepo pull. This requires checking out the contents of duniverse/ in your git repo, but you can do anything you want between opam monorepo pull and dune build - including removing directories that prevent the workspace from building. You can package that cleanup phase as a Makefile target for example.

Thanks for your answer and your suggestions :smile:
I'll go for the first one you suggested!


Starlette

Hi,
First thanks for developing this middleware, that looks like exactly what's missing in the ecosystem.
I am not able to make it work though. I keep getting the TypeError at the initialization:
TypeError: One of the targeted functions for key "1main" is not a function
I'm using functions similar to:
"1deps": (fastapi.routing.solve_dependencies,),
or
"1deps": (fastapi.routing.solve_dependencies.qualname,),
What am I missing?
Thank you

As I recall, the type check for what is and isn't a function is too strict and doesn't let you use compiled Cython or native functions.
https://github.com/sm-Fifteen/asgi-server-timing-middleware/blob/639ac464973649249eecf90e8779aade0cf60ee3/asgi_server_timing/middleware.py#L45-L47
See #3. It's a fairly simple fix, I just haven't gotten around to this.


update timescale to use official ICS release

Replace the previous test SKOS version of the Geologicla Timescale with the Chronostrat Chart official release from the ICS. Time periods use the same IRIs

@nicholascar @GSQ-AI @robchatterjee-resources @Steven-Bowden
Happy New Year everyone!!
I saw this PR when I was on leave and thought that it would not be dealt with until after I returned (today).
This ontology needs a little reworking as it seriously mixes chronostratigraphic and geochronologic units. This is easy to do, given the way the International Chronostratigraphic Chart (Geological Time Scale/GTS) is presented by the ICS/IUGS. It is a universal problem and one that the ICS needs to address ... and it can be done with only slight modification to the GTS chart.
Both types of units are shown in the chart's column headings, but the principal problem is for the 'Series/Epoch' column where both types of units are not shown in the column itself, only the chronostratigraphic unit, not also the geochronologic one.  By this I mean that 'Upper' should be 'Upper/Late' and 'Lower' should be 'Lower/Early' (to conform with the heading 'Series/Epoch'). By these omissions, the chart implies that the terms 'Upper' and 'Lower' apply to both Series and their Equivalent Epochs, this being the source of ongoing international confusion (and one of the problems in our vocab).
Also, the ICS should call the chart the 'International Chronostratigraphic and Geochronologic Chart', as both sets of units are encompassed by the chart, although the geochronologic units are based on the chronostratigraphic units (e.g., for the Phanerozoic, Ages are based on Stages, the base of each of the latter being ultimately defined (where possible) by their Global Boundary Stratotype Section and Point/GSSP).
These suggestions would then cause users to stop and think about what the terms mean. Better still, rather than this mouthful for the chart's name, the ICS should refer to the online chart as the 'Geologic Time Scale' or the 'International Geologic Time Scale', the former being what the ICS called the chart in the major printed version, which was published every eight years, and in the intervening minor update/version, which was printed every other four years. To my knowledge, the last major printed version was:  ‘A Geologic Time Scale 2012’ by Gradstein et al. (2012). This, by the way, is in the caption to the present online version of the chart: https://stratigraphy.org/ICSchart/ChronostratChart2023-09.pdf
Nick, you are in a position with the ICS to convince them to do something about all of this.
Before I attempt any edits to the file to correct the cited and other problems, please let me know what you think ... and I will then proceed.
Cheers


Skill fails to load

I get the following after installing the skill:
2022-03-17 02:20:33.679 | ERROR    |   586 | mycroft.skills.skill_loader:_create_skill_instance:295 | Skill __init__ failed with AttributeError("'dict' object has no attribute 'set_changed_callback'")
Traceback (most recent call last):
  File "/home/odroid/mycroft-core/mycroft/skills/skill_loader.py", line 292, in _create_skill_instance
    self.instance = skill_module.create_skill()
  File "/opt/mycroft/skills/todoist-skill.moritzgloeckl/__init__.py", line 121, in create_skill
    return TodoistSkill()
  File "/opt/mycroft/skills/todoist-skill.moritzgloeckl/__init__.py", line 51, in __init__
    self.settings.set_changed_callback(self._setup_api)
AttributeError: 'dict' object has no attribute 'set_changed_callback'
: 'dict' object has no attribute 'set_changed_callback'
2022-03-17 02:20:33.681 | ERROR    |   586 | mycroft.skills.skill_loader:_communicate_load_status:351 | Skill todoist-skill.moritzgloeckl failed to load

Unfortunately I haven't updated this in a while and I'm not actively using Todoist anymore :/ If you like you can submit a PR to get this running again!


https://cors-anywhere.herokuapp.com/ 503

Hi Rob,
I'm getting a 503 on the https://cors-anywhere.herokuapp.com/ link.

Not anymore, thank you :-)