new testcase is failing after 3f134877 on mec1501modular_assy6885

The issue:
miss macro TIMEOUT after commit-id 3f134877
new testcase(tests/drivers/sensor/generic #30763) is failing after 3f134877 on mec1501modular_assy6885:
tests/drivers/sensor/generic/driver.sensor in mec1501modular_assy6885:tests/drivers/sensor/generic/driver.sensor
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/tests/drivers/sensor/generic
-- Zephyr version: 2.4.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: mec1501modular_assy6885
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.11.4)
-- Found dtc: /opt/sdk/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/mec1501modular_assy6885/mec1501modular_assy6885.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/drivers/sensor/generic/driver.sensor/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/mec1501modular_assy6885/tests/drivers/sensor/generic/driver.sensor/zephyr/include/generated/devicetree_unfixed.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/mec1501modular_assy6885/mec1501modular_assy6885_defconfig'
Merged configuration 'prj.conf'
Configuration saved to '/workdir/zephyr/twister-out/mec1501modular_assy6885/tests/drivers/sensor/generic/driver.sensor/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/mec1501modular_assy6885/tests/drivers/sensor/generic/driver.sensor/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at ../../../../boards/arm/mec1501modular_assy6885/CMakeLists.txt:29 (message):
Microchip SPI Image Generation tool (everglades_spi_gen_lin64) is not
available.  SPI Image will not be generated.


Add CORS support to server

index.js needs to return some extra headers for this to work, here.
Let me know if you're willing to merge a PR for this and I'll write one up.

Thanks, yes I'm sure open for contributions.
I actually had CORS in an earlier version of the built-in http server (see this commit: https://github.com/enmasseio/timesync/commit/fcc1b7f293f2b9b42b12c20806c5ced16533a18a), but I thought it may not be a good idea to set access control to * by default.
In practice you will often already have a server (like express) and extend this with the timesync functionality (see main example). In that case, CORS can be handled by this server externally from the timesync module.
What did you exactly have in mind for CORS support?

I'm using your module to create a simple time source for other apps. The idea is that you load the app and tell it which time source to use, so apps across multiple machines will be using the same machine time. In that case, * is necessary because I don't know ahead of time which time source will be used.
Does that seem reasonable? The access control portion could be overridden by a CLI flag if you dont' want to have * by default.

For your application you indeed need to set CORS to *, but I think it's important not to set this by default!
I think though that there is no reason to intregrate CORS stuff in the timesync library itself, as you can easily route incoming requests first though some CORS handler and then to the timesync library, like:
var express = require('express');
var timesyncServer = require('timesync/server');

// create an express app
var port = 8081;
var app = express();
app.listen(port);
console.log('Server listening at http://localhost:' + port);

// serve static index.html
app.get('/', express.static(__dirname));

// handle CORS for timesync requests
app.use('/timesync', function (req, res, next) {
  res.setHeader('Access-Control-Allow-Origin', req.headers.origin || '*');
  res.setHeader('Access-Control-Allow-Headers', 'Content-Type, X-Requested-With');
  res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');

  if (req.method === 'OPTIONS') {
    res.writeHead(204);
    res.end();
  } else {
    next();
  }
});

// handle timesync requests
app.use('/timesync', timesyncServer.requestHandler);

I agree though that it would be convenient if you could just provide a simple option like
createServer({cors: '*'}) and attachServer(server, {path: ..., cors: ...}) instead of having to add this code yourself. That will be a nice addition, though I think this option cors should be null (disabled) by default.

Unfortunately, Access-Control-Allow-Origin needs to also be returned by the POST handler, so that doesn't quite work.

Sure? I didn't test it but the header is added to any type of request including POST right?

Is this still an issue?

This setup works well in Express.js.
import express from 'express'
import timesyncServer from 'timesync/server';
import cors from 'cors';

const app = express();
app.options('/timesync', cors());
app.post('/timesync', cors(), timesyncServer.requestHandler);

Thanks for sharing Jiri!


Bump Tracy tools (csvexport + capture) to get CMake support

To circumvent this fix: https://github.com/tenstorrent/tt-metal/pull/9425 since we don't want to force two different compilers.
Should give us more control over Tracy tools.

did we already submit this @vtangTT ?

I believe @mo-tenstorrent has the changes on a branch somewhere. I think this one https://github.com/tenstorrent/tt-metal/pull/9940?


Fix example command in README

@homeyer Did you have problems with running yarn rw-shad button? I've been using it like that without any issues


Unable to modify color of ListItemText using MuiListItemText override

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
The ListItemText component should change colour when an override is applied
Current Behavior
Currently in order to override it I have to disable typography; is there any way to apply the color whilst maintaining the typography? I tried adding a Typography component as an element of the ListItemText but this doesn't work.
Steps to Reproduce (for bugs)
See codesandbox here:
https://codesandbox.io/s/2plyrzlvkp
If you navigate to the demo.js you'll see the relevant code.
Context
If you look at the codepen, the third item has the color red applied, but the typography is lost due to typography being disabled. Another option is providing another MuiThemeProvider that is specific to that, but that seems less than ideal; I thought the purpose of overrides was to get around that issue?
The reason this presents itself as an issue is when using the dark theme (set to light at present in the codesandbox), the ListItemText uses white for the font color, but since the background is also white you end up being unable to see the text.
Your Environment
It's all in the sandbox, using material ui next.

The color CSS property doesn't inherit. You need to target the right DOM element:
            <ListItemText
-             classes={{ root: props.classes.selected }}
+             classes={{ primary: props.classes.root }}
              primary="Scheduled Calls"
            />


Incorrect World Map Plugin markers for Agility

I believe I have found a little mistake in the World Map Plugin. The stepping stones agility shortcut just west of the Karamja gnome glider shows up on the world map as requiring level 77 agility when you hover over it. However, at level 71 agility I can cross it. I did a little looking around in the agility skill guide and believe it boils down to a simple mix up between two shortcuts. For more information please refer to the screenshots below. :)

Screenshots
This is the incorrect agility level world map marker (I can cross at level 71 agility)

This is the agility level and obstacle via the skill guide that is currently used

This is the agility level and obstacle from the skill guide that should be used

This is the agility shortcut on the world map that should be marked as level 77 to my knowledge

Let me know if I need to further clarify anything, but I think for the most part, this is pretty self explanatory.

Fixed in PR #3831


[Wallet] Include phone number in DappKit auth

Description
DappKit account auth was returning a Valora user's phone number and address to the requesting Dapp, but only stated that the address would be shared. This adds in phone number so that users are aware that it is shared

Before

Other changes
Reformat address to match address display throughout app
Issues

Fixes https://github.com/celo-org/celo-monorepo/issues/5264

Tested
By looking at the screen on a Pixel 2
Backwards compatibility
Yes

Hey @gnardini  can you please provide build details to verify this task.
Thanks!

Hi @Lss-Ankit to open the screen on the screenshot you need to click on this link on a phone with Valora installed: celo://wallet/dappkit?type=account_address&dappName=toca&callback=toca://route&requestId=hello and the opened screen should have the phone number of the Valora account.

Hi @gnardini  We have opened given link on IOS and Android devices and found the following:
For Android:

User is not redirect to Valora app after pasting given link into chrome browser.
Attachment:

For IOS:

Same link also not worked in IOS chrome browser as well.
Redirected to Valora app and able to see below screen after pasting given link into safari Mweb browser.
Also,  verified that Phone number and Account No. (Address) are shown correct on opened screen.

Attachment:

Hi @Lss-Ankit
It looks like the issue is in chrome's browser which is not redirecting, this is something that is not used directly from the browser, so it's not unexpected.
For context, this is used from other apps that want to integrate with Valora.
Since this is only a UI change and you could verify it for iOS, I think it can be considered approved.

Okay thanks @gnardini for the information.
As issue is in chrome browser, do you want to raise a ticket for the same for other better alternative?


Loki Benchmark

This PR adds configurations mentioned here: https://issues.redhat.com/browse/LOG-1350

@periklis I think this one is finally ready to merge.

@periklis Yeah, test is invoked on:
https://github.com/observatorium/loki-benchmarks/blob/798e25168356d9c8bcd1b9e88b2d8e84aa0b04d5/benchmarks/high_volume_reads_test.go#L133
https://github.com/observatorium/loki-benchmarks/blob/798e25168356d9c8bcd1b9e88b2d8e84aa0b04d5/internal/metrics/client.go#L181


builtin function validation too strict

For example, max(a,b) does not compile, even though I might provide a and b as integers later

Fixed for min and max. Also checked other builtins. Added test for each of the builtin.
See c2c760322514aed85fe1fd3ac2fa7d6aba8e2dbe


Feature Request: Enable/disable fan_hot_tolerance based on outside air temperature

I recently implemented the new "fan" features in v0.9.6 into my config, and they work great! Specifically, I really enjoy the fan_hot_tolerance feature to employ the fan to cool the house before using the air conditioner.
However, in my house the intake for the fan is always outside (fresh) air. This means that if it is hotter outside than the set point, I'm actually warming the house during the fan_hot_tolerance phase before cooling it with the air conditioner. But I also live in a climate where it can be cooler outside than inside even in the middle of summer, where there could be substantial benefit and cost savings by using fan_hot_tolerance to prioritize ouside air with the fan instead of spinning up the air conditioner.
My thought was to add a configuration option for an outside temperature sensor. Then, a logic that would look roughly like this:

Outside Air Temp > High Set Point  = fan_hot_tolerance disabled (A/C runs exclusively)
Outside Air Temp < High Set Point  = fan_hot_tolerance enabled (Fan runs before AC)

This is the simplest way I can think of handling this. Taking it a step further, an additional config option could possibly be implemented to ONLY use the fan for cooling if the outside temperature is below the high set point, eliminating A/C use entirely unless it's hotter outside than the set point.
I'll be looking into implementing this myself outside of the thermoatat integration via automation logic, but it could be a neat way to manage cooling in an energy efficient way. I realize it takes a good deal of time to build and maintain this project, so I appreciate the efforts!

This will require the outside temperature sensor and a flag that enables it, as not all fans use outside air.

Agreed. I was thinking about the flag, perhaps it could be labeled something like:
fresh_air_fan: true
While this label doesn't reference the "auto fan" function explicitly, i figure the combination of this plus the fan_hot_tolerance flag could enable the feature, and leave a nice config flag for other "fresh air" related functions in the future.

Implementation is completed; will include it in the next release/beta.


Improve error reporting for missing hashtag row

It's often possible to detect where a user was trying to add the HXL hashtag row, even when it's not entirely correct. The HXLParser class should remember the last thing that was almost a hashtag row and include it in the error message, instead of simply reporting an error at the very end of the CSV file.

Rejected. The library is already error-tolerant, and adding logging support should allow people to see problems.


mods --list: can't scroll down the list

Describe the bug
The list of saved chats doesn't follow the selector when scrolling down.
Setup

OS: macOS 15.1.1
Shell: zsh
Terminal Emulator: none
Terminal Multiplexer: none

To Reproduce
Steps to reproduce the behavior:

Run:mods --list

Select the last item on the screen

Press Down
The list doesn't scroll down (but the selector does even if it's invisible)

Source Code
N/A
Expected behavior
The list scrolls down and next items appear on the screen.
Additional context
This might be an issue of huh.

This should be fixed by https://github.com/charmbracelet/huh/pull/485

@bashbunni Awesome, thanks! :)


fix the mvn install locally

What is the purpose of the change
fix the mvn install locally
Brief changelog
add the  missing dependency
Verifying this change

git clone
mvn install -Dmaven.test.skip=true

Codecov Report

Merging #4939 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4939      +/-   ##
============================================
- Coverage        64%   63.94%   -0.06%
+ Complexity      452      451       -1
============================================
  Files           769      769
  Lines         33160    33160
  Branches       5230     5230
============================================
- Hits          21224    21205      -19
- Misses         9516     9535      +19
  Partials       2420     2420

Impacted Files
Coverage Δ
Complexity Δ

.../apache/dubbo/qos/protocol/QosProtocolWrapper.java
65.85% <0%> (-17.08%)
0% <0%> (ø)

...ng/exchange/support/header/HeartbeatTimerTask.java
73.68% <0%> (-5.27%)
0% <0%> (ø)

...bbo/registry/support/ProviderConsumerRegTable.java
80.48% <0%> (-4.88%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
78.54% <0%> (-3.07%)
0% <0%> (ø)

.../rpc/protocol/dubbo/LazyConnectExchangeClient.java
56.47% <0%> (-2.36%)
0% <0%> (ø)

...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java
89.71% <0%> (-0.94%)
16% <0%> (-1%)

...org/apache/dubbo/registry/redis/RedisRegistry.java
48.15% <0%> (-0.29%)
31% <0%> (-1%)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
62.5% <0%> (+0.62%)
29% <0%> (ø)
:arrow_down:

...he/dubbo/remoting/transport/netty/NettyServer.java
73.21% <0%> (+3.57%)
9% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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

I use master branch code. ./mvnw install -Dmaven.test.skip=true success in my PC.
Also travis ci works well at this moment.
Could you provide more information why we need add this depenedency?

I just pull the master branch code into a new dir at my mac
but now it's ok, It lets me confused.
it raises my doubts that it causes by the cache.
so I test it at docker

git clone --depth=1  https://github.com/apache/dubbo.git

docker run -it --rm --name mvn-dubbo -v /tmp/dubbo:/data -w /data
maven mvn install -Dmaven.test.skip=true

it builds success.
I think this issue should be closed.
my locally mvn version is :

mvn --version

Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T03:49:05+08:00)
Maven home: /usr/local/Cellar/maven/3.5.3/libexec
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

Ok. thanks for confirm. I'm closing this PR now


When sharing a URL from Safari, the browser stays frozen

Hi @ajith-ab
Thanks for creating this repo!
I tried out the example app from the repo, in the iOS simulator.
When I try to share a URL from Safari, it immediately shares the URL, taking me to the main app, where the URL is shown.
But if I go back to Safari, the browser is "frozen" and the share action sheet is still shown, loaded with the URL.
Clicking on Cancel dismisses the share action, but the browser is still unusable. The only way to get back the browser is to kill it and restart it.
Even if I try to Post from the share action, once I come back to Safari, Safari is still "frozen" and can not be used.
What needs to be done, to not share the data, as in this case a URL straight away, but to let the user to either share or cancel the share action?
Thanks

This "freezing" is actually a left over, dimmed down, but transparent UIViewController.
And if you swipe it down, in Safari, you can get back to the browser.
One way to dismiss the left over UIViewController is to call:
self?.didSelectPost();

right before
this.redirectToHostApp(type: .text)

The same issue is there when selecting images, a UIViewController stays.
This is what happens:

Go to Photos
Tap 'Select'
Select a number of photos
Tap share icon
Share activity pops up, select the share extension, which takes you to the app
Go back to Photos
The view is dimmed because UIViewController is shown
Swipe it down and you can interact with the photos

To resolve it, the same as above:
self?.didSelectPost();


build: create dir config inside build_virtual_env/ve

- What I did
- How I did it
- How to verify it
- Description for the changelog

@srieteja I know this is still draft, but can you please try to explain (in the root comment) what you're trying to accomplish with this?

@cpswan  I have added a new entry into the seconday_server's config.yaml (in https://github.com/atsign-foundation/at_server/pull/1471), which are not being picked up in the functional tests. I'm trying to see if there's a way I can copy the new config.yaml into the build_virtual_environment's secondary.


Menu Administration Missing!!!

HI,
I just created an empty application with <IP_ADDRESS> template, I do not understand why entering as "admin" user does not see the administration menu(see image) !!!
Thanks in advance

Include AdministrationNavigation.cs in project or create a new one using <IP_ADDRESS>

Thanks!!! :-)


examples/svg-export.html broken

out of the box this example doesn't work.  in Safari (Yosemite), clicking the export button produces the error:

[Log] exporting... (svg-export.html, line 138)
[Error] Failed to load resource: Frame load interrupted (blob:http://localhost:8000/8ce297b3-807c-4fce-ac8c-4d8c7f2d597f, line 0)

and pressing the Layout button:

[Error] TypeError: undefined is not an object (evaluating 'sigma.layouts.startForceAtlas2')
onclick (svg-export.html, line 131)

In Chrome, Export seems to work, Layout produces:

Uncaught TypeError: Cannot read property 'startForceAtlas2' of
undefineddocument.getElementById.onclick @ svg-export.html:131

ok.  I spoke too soon.  in Chrome I can export the graph but the SVG contains no labels; not for nodes and not for the edges.  so exports are broken

The labels are not exported by default for file size reasons and because a lot of people don't need them when redesigning a graph in a SVG tool as they will create their own labels. If you want the labels, just pass the labels option to true as explained here.

@Yomguithereal, well that's embarrassing (about the labels) - I should learn to read :)
however there IS a problem with Safari

It seems Safari is a bit retarded compared to Chrome and Firefox and has problems with dataURL downloads. Let us check if we can find a workaround.


Automatically create graph on relevant filetype uploaders

This automatically creates a graph in the csv, d3_json and nested_json uploaders.

It's hard to test the functionality of this without the UI, right? And do only csvs work in this branch until the other graph upload option is available in #298?

Following this and the suggestion in the other PR, that branch has been rebased off of this one, so you should be able to test out this functionality in the UI by checking out that branch.

This should be good to go @waxlamp


Docker & Private/Developer Network Deployments

Please update/fix the docker-compose.yml deployment story for private/developer networks; at present the docker file makes reference images that can't be found
https://www.thethingsnetwork.org/article/deploying-a-private-routing-environment-with-docker-compose

Thanks, I updated the article with the right image to pull and configure in compose.


implement onPageWillTransition

I haven't even tested this. I just wanted to kick this off and hopefully learn a thing or two about this project

Hi @bryan1anderson thanks so much for your PR but I think I was faster, I merged this last week. See #221
This is released now, you should be available to use in version 2.3.0


Docker compose functionality is broken.

Describe the bug
When the docker compose tab is used to spin up multi-container networks/applications, the UI does not accurately portray the currently running containers nor does it enable the user to stop desired containers.
To Reproduce
Steps to reproduce the behavior:

Go to Docker Compose tab.
Specify a .yml file to compose.
Specify another .yml file to compose.
Note that only one container has a compose down button.
Click the compose down button.
Compare the UI to what is returned by docker ps.

Expected behavior
All composed containers should have a compose down button and the UI should list all and only the containers that are actually running (i.e. there should not be discrepancies with what is returned by docker ps.

Docketeer 9.0+ please confirm whether this issue still exists.

With the exception of the file extension, src/redux/reducers/dockerComposeReducer.ts is unchanged since 6.0.0. So it's very unlikely that this bug has been fixed (haven't run the new app so feel free to correct me if I'm wrong).

Hi Austen, the docker compose buttons were rendered obsolete in a previous iteration, most likely due to this error. The src/redux/reducers/dockerComposeReducer.ts file is still there, so we hope a new iteration can bring that functionality back!


Resolve upload deadlock

Description
We get the metadata for a file after opening it, which causes two file descriptors to be used rather than one.  In order to ensure that every future requires exactly one file descriptor at a time and therefore not cause a deadlock in the OPEN FILE Semaphore, we simply get the metadata before we open the file.
Fixes #808
Type of change
Please delete options that aren't relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please also list any relevant details for your test configuration
Checklist

[ ] Updated documentation if needed
[ ] Tests added/amended
[ ] bazel test //...  passes locally
[ ] PR is contained in a single commit, using git amend see some docs

This change is

nativelink-worker/tests/running_actions_manager_test.rs line 2938 at r1 (raw file):
Previously, allada (Nathan (Blaise) Bruer) wrote…
What about something like this?
https://gist.github.com/allada/23f6d9f11854c830d48828a1f00ae8a5

Nope I get:
Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.

nativelink-worker/tests/running_actions_manager_test.rs line 2938 at r1 (raw file):
Previously, chrisstaite (Chris) wrote…
Nope I get:
Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.

Figured it out, can spawn a new thread after forking and then just block before exiting.

nativelink-worker/tests/running_actions_manager_test.rs line 2938 at r1 (raw file):
Previously, chrisstaite (Chris) wrote…
Figured it out, can spawn a new thread after forking and then just block before exiting.

Nope, it's not at all stable... Gets very upset.


Upgrade react peerDependencies to React v17

I'm upgrading to node v16.14.2 / npm v8.50, and I'm getting an error saying:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   packages/admin-app
npm ERR<EMAIL_ADDRESS>npm ERR!     node_modules/@staff/admin-app
npm ERR!       workspace packages\admin-app from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-images-uploading
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   packages/admin-app
npm ERR<EMAIL_ADDRESS>npm ERR!     node_modules/@staff/admin-app
npm ERR!       workspace packages\admin-app from the root project

I know there's a workaround to dismiss this error (not solving it), but this defeats one purpose of upgrading the npm.
The correct fix here would be to upgrade the perrDependencies of this project to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Would you accept a PR for this?

I second this. It seems to work just fine if you '--force' but it causes a lot of warnings which make it harder to tell if my project is ok or not.
WARNING in ./node_modules/react-images-uploading/dist/constants.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/react-images-uploading/src/constants.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/react-images-uploading/src/constants.ts'
 @ ./src/components/Site.js 39:0-51 170:48-57
 @ ./src/index.js 7:0-37 10:33-37

WARNING in ./node_modules/react-images-uploading/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/react-images-uploading/src/index.tsx' file: Error: ENOENT: no such file or directory, open 'node_modules/react-images-uploading/src/index.tsx'
 @ ./src/components/Site.js 39:0-51 170:48-57
 @ ./src/index.js 7:0-37 10:33-37

WARNING in ./node_modules/react-images-uploading/dist/utils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/react-images-uploading/src/utils.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/react-images-uploading/src/utils.ts'
 @ ./src/components/Site.js 39:0-51 170:48-57
 @ ./src/index.js 7:0-37 10:33-37

WARNING in ./node_modules/react-images-uploading/dist/validation.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/react-images-uploading/src/validation.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/react-images-uploading/src/validation.ts'
 @ ./src/components/Site.js 39:0-51 170:48-57
 @ ./src/index.js 7:0-37 10:33-37

Hi @franciscohanna92 , I have just upgraded the peerDepedency of react/react-dom version. Please update to<EMAIL_ADDRESS>Thank you!


fix: Force re-config exporter when upgrade

It's reasonable to me to re-install exporter after upgrade charm. I want to confirm some behavior
1. Will we restart the exporter service? I cannot find related trigger point
   Ray/Ashley also suggested that we can always start the exporter after the installation to reduce the complexity.

2. Will the relation been refresh?  so alert rule will be updated.

3. Attach-resource will trigger the same procedure with upgrade charm. Will it be a problem?

I only know (2): no it will not. This is related to another issue #127

It's reasonable to me to re-install exporter after upgrade charm. I want to confirm some behavior

Will we restart the exporter service? I cannot find related trigger point
Ray/Ashley also suggested that we can always start the exporter after the installation to reduce the complexity.

No, we don't restart exporter. Let me update it.

Will the relation been refresh?  so alert rule will be updated.

No, it's another bug mention by Ray in previous comment.

Attach-resource will trigger the same procedure with upgrade charm. Will it be a problem?

No, just take more time to render config and restart exporter.


Bug: When the user adds SSO for the very first time, the CSS breaks for the User Permission menu item

📜 Description
Css breaks when user adds sso for the first time
👟 Reproduction steps
1.Install Devtron on a Vm
2.Visit User Permission in Global Config
👍 Expected behavior

Css should not break

👎 Actual Behavior

☸ Kubernetes version
AKS
Cloud provider

azure

🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#8518

It is fixed


Consider more efficient implementation of class psi

I found that replacing the original implementation of models.model_utils.psi with the following implementation gave me about an order of magnitude speed-up, both in forward() and inverse(), both on the GPU and CPU:
class psi_suggested(psi):

    def inverse(self, inpt):
        bl, bl_sq = self.block_size, self.block_size_sq
        bs, new_d, h, w = inpt.shape[0], inpt.shape[1] // bl_sq, inpt.shape[2], inpt.shape[3]
        return inpt.view(bs, bl, bl, new_d, h, w).permute(0, 3, 4, 1, 5, 2).reshape(bs, new_d, h * bl, w * bl)

    def forward(self, inpt):
        bl, bl_sq = self.block_size, self.block_size_sq
        bs, d, new_h, new_w = inpt.shape[0], inpt.shape[1], inpt.shape[2] // bl, inpt.shape[3] // bl
        return inpt.view(bs, d, new_h, bl, new_w, bl).permute(0, 3, 5, 1, 2, 4).reshape(bs, d * bl_sq, new_h, new_w)

I timed it as follows:
import timeit
device = torch.device("cpu")

# Forward
block_size=3
t = torch.randn(64, 5, 192, 192, dtype=torch.float32).to(device)
psi_instance = psi(block_size)
psi_callable = lambda: psi_instance.forward(t)
psi_suggested_instance = psi_suggested(block_size)
psi_suggested_callable = lambda: psi_suggested_instance.forward(t)
print("Timing forward, suggested psi:", timeit.Timer(psi_suggested_callable).timeit(100))
print("Timing forward, original psi:", timeit.Timer(psi_callable).timeit(100))
print("Same result in forward?", (psi_callable() == psi_suggested_callable()).all().item())

# Inverse
block_size=3
t = torch.randn(64, 45, 64, 64, dtype=torch.float32).to(device)
psi_instance = psi(block_size)
psi_callable = lambda: psi_instance.inverse(t)
psi_suggested_instance = psi_suggested(block_size)
psi_suggested_callable = lambda: psi_suggested_instance.inverse(t)
print("Timing inverse, suggested psi:", timeit.Timer(psi_suggested_callable).timeit(100))
print("Timing inverse, original psi:", timeit.Timer(psi_callable).timeit(100))
print("Same result in inverse?", (psi_callable() == psi_suggested_callable()).all().item())

Which gave me on the CPU:
Timing forward, suggested psi: 1.7428924000000734
Timing forward, original psi: 11.567388500000106
Same result in forward? True
Timing inverse, suggested psi: 2.7421231000000716
Timing inverse, original psi: 10.155058100000133
Same result in inverse? True

And on the GPU:
Timing forward, suggested psi: 0.010811799999828509
Timing forward, original psi: 0.5521851000000879
Same result in forward? True
Timing inverse, suggested psi: 0.010437099999990096
Timing inverse, original psi: 0.07210720000011861
Same result in inverse? True

If you can reproduce these results, you might consider reimplementing psi.

Thanks, this looks great! Can you open a pull request?

See #22

merged it, thanks a lot, this is great!

 Thank you for the project!


Add auto_reset_time_remaining attribute

As requested by @mindtripper in https://github.com/basnijholt/adaptive-lighting/issues/525.

Should we add light_transition_remaining as well or is that too much?

Why not? There can never be too much data.+ This can be helpful for simple troubleshooting./ChristerOn 8 Apr 2023, at 12:36, Benjamin Auquite @.***> wrote:
Should we add light_transition_remaining as well or is that too much?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


kernel: enable kvm_ptp for arm64

This is a experimental feature for arm64 as linux kernel has
not enable kvm ptp for arm64.
ptp_kvm need co-work from host and guest, so you need add this
patch both to your guest and host. Host kernel version is better
lower than 5.0 and higher than 4.19.
another version of this patch base on kernel v5.3 is under review in kernel upstream, refer to [1]
to see the full info.
[1] https://lkml.org/lkml/2019/8/29/80
Fixes: #692
Signed-off-by: Jianyong Wu<EMAIL_ADDRESS>@jodh-intel  @grahamwhaley  @Pennyzct

LGTM
@jongwu have you considered move this to kernel fragments, I think it would be easier to maintainer, what do you think?

@devimc I am now working on that, but I don't know if or when the patch can be accept by linux kernel side. IMO before kvm ptp supported by kernel, we can using this experimental one for arm64 temporarily. WDYT?

@devimc by the way, even though kvm ptp for arm64 supported by kernel later, it takes long for kata to move kernel to that version.

@jongwu ok, sounds good

/test

snap often unhappy

Restarted snap CI which failed with a network timeout.

Gah - there is no /test-packaging so we'll have to re-run the lot...
/retest

@jcvenegas, @chavafg - how do I start the obs-packaging-ci run?

/AzurePipelines run

maybe we can try obs ci again @devimc  thanks

/AzurePipelines run

/AzurePipelines run

@jongwu  shall we run the CI again?

@jcvenegas yeah, thanks

/AzurePipelines run

Looks like Jenkins is stuck.
/test-ubuntu

/test-snap

/test-ubuntu-snap

@devimc - could you update https://github.com/kata-containers/community/wiki/Controlling-the-CI with the magic to restart the snap job?

@jodh-intel there is no magic to restart the snap CI, I don't know why it's stuck  :worried:
cc @chavafg @GabyCT

/test

hmm, I think packaging jobs were not updated for /test-ubuntu, checking and updating accordingly.
@jongwu can you please update the kernel/kata_config_version again?

/test

/AzurePipelines run


Use regional subnets in quick-create rather than requiring 3 availability domains

User @ryoryotaro recently ran into an issue attempting to create an OKE cluster using the driver in the Tokyo region where only a single availability domain is available leading to this error:
there are less availability domains than required subnets.
The most straightforward fix to this issue is to update the driver to use regional subnets rather than AD specific subnets for both the service and node subnets.
Lastly, using regional subnets by default may pose a challenge for the "Existing VCN" option that has AD specific subnets. Unless we're going to support both regional subnets and AD specific subnets, we may need to temporarily remove support for the "Existing VCN" option.

WIP release: https://github.com/rancher-plugins/kontainer-engine-driver-oke/releases/tag/v1.1.1-wip

Done. Functionality in v1.1.1-v1.4.1+


Routing KML export: add style (Ticket#45104484)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.664%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
12488

Relevant Lines:
12489

💛  - Coveralls


Add support for alternative protobuf content types

Motivation:
Armeria UnframedGrpcService doesn't support alternative protobuf content types
Modifications:

add application/x-protobuf and application/x-google-protobuf to MediaType
add isProtobuf() function
identify Protobuf contentType in UnframedGrpcService using isProtobuf()
respond with request-given protobuf content type for deframed response

Result:

Closes #4355
Armeria UnframedGrpcService now supports application/x-protobuf and application/x-google-protobuf media types.

Some fixes are made based on review & test breaks
I wondered if there should be an accept-header checking logic in httpjsontranscodingservice too but concluded that that sort of validation should be placed where it could be used more generally on all http req/resps if needed.
If the fix looks ok, I'll start on writing tests someday soon.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.8 out of 9 committers have signed the CLA.:white_check_mark: cnabro:white_check_mark: j-min5u:white_check_mark: ngyukman:white_check_mark: jrhee17:white_check_mark: minwoox:white_check_mark: natsumehu:white_check_mark: ta7uw:white_check_mark: ikhoon:x: armerianYou have signed the CLA already but the status is still pending? Let us recheck it.

some fixes were added based on review.
Plus, I missed this

If a suitable accept-header is specified, it makes sense to respect the value over content-type.

should I do it? I'd have to pass the request acceptheaders to deframeAndRespond, then set response contentType to that included in acceptHeader if the request contentType isn't in it. Seems like a pretty extreme case though 🤔

should I do it? I'd have to pass the request acceptheaders to deframeAndRespond, then set response contentType to that included in acceptHeader if the request contentType isn't in it. Seems like a pretty extreme case though 🤔

Here's what I thought:

For HttpJsonTranscodingService, we always set GrpcSerializationFormats.JSON and I think we should do that because we generate the content regardless of the accept header.
For UnframedGrpcService, how about just setting the same content type from the request headers?
This is the link from OTLP and it says that The server MUST use the same “Content-Type” in the response as it received in the request. With the current approach in this PR, if the client forgets to set the accept header, the server violates the rule.

So, we could remove these lines completely and just pass the contentType to the frameAndServe method.

So, we could remove these lines completely and just pass the contentType to the frameAndServe method.

I actually forgot about writing these lines 😅 removed them in commit a498c67

Our new hero, @j-min5u! 😆
What's your next PR? 😆

@minwoox
Ha ha, I'm flattered 😄 But I'm going to military training in about a week, so nothing soon I'm afraid,,

Please, don't worry. 😄 Take care of yourself and see you later. 😄


How can we show time control in 12 hours format in date-time-picker

Please refer to the README.md and the demo page


LT-21911: Fix problem that suppressed homographs

Beth reported that the novel root guesser couldn't handle homographs (e.g. two lexical entries that looked like [Seg]*).  This was because there was code to suppress duplicate paths through a pattern, but the scope was too big.  Narrowing the scope fixed the problem.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.95%. Comparing base (a8a20ba) to head (0e38274).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #259   +/-   ##
=======================================
  Coverage   69.95%   69.95%
=======================================
  Files         379      379
  Lines       31767    31767
  Branches     4454     4454
=======================================
  Hits        22223    22223
  Misses       8510     8510
  Partials     1034     1034

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I don't think that it needs a unit test.  It was just a bug in how I wrote the code, and I don't think that anybody else would make the same mistake.  But I can add a unit test if you want.


I want to add the ability to modify fonts

What feature or improvement do you think would benefit Files?
I failed to modify the Chinese font using the configuration file
Requirements

This proposal will accomplish X
This proposal will accomplish Y
This proposal will accomplish Z

Files Version
<IP_ADDRESS>
Windows Version
10.0.19044.4529
Comments
No response

di
The font and English font in the address bar are not modified successfully

Thanks for the feedback.
We support it our own. For more info, visit our docs. Some parts won't be modified and it's been tracked while it's not priority work.


Debug - fileWatcher process does not start when debugging

Steps to Reproduce:

Clone the microsoft/vscode repository
Run the "Tasks: Run Build Task"
Switch to the "Debug" view, select the "VS Code" launch configuration and press "Start"
After CodeOSS starts open the process explorer

Expected behaviour:
fileWatcher process is running
Actual behaviour:
fileWatcher process is not running
//cc @bpasero, @hediet

I am not able to reproduce, but I think @jrieken sometimes sees it too.

I think this is what I experienced in #149627

If someone can experience this consistently, it'd be useful to stick a trace: true in the "Attach to Shared Process" launch config and share the resulting log file, the location of which is written to the Debug Console (may need to select the specific session in the dropdown)

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

[adding message to avoid auto-clone]

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Is there a way to verify? Seems that the original steps only triggered the issue sometimes.

Open VS Code
Open the process explorer. Note there is a file watcher process
Reload the window, keeping the process explorer open
Verify that you see the new file watcher process appear


【求助】指定的 interface 无效，会自动切换到其他 interface

配置
tun:
  enable: true
  device: Clash-Meta
  # https://github.com/Fndroid/clash_for_windows_pkg/issues/1936
  stack: system # gvisor or system
  # https://github.com/vernesong/OpenClash/issues/521
  dns-hijack:
    - <IP_ADDRESS>:53 # when `fake-ip-range` is <IP_ADDRESS>/16, should hijack <IP_ADDRESS>:53
    # - any:53
    # - tcp://any:53
  auto-route: true # auto set global route for Windows
  interface-name: WLAN
  # auto-detect-interface: false # auto detect interface, conflict with `interface-name`

运行后
如果先运行 clash.meta 创建 tun interface 再运行其他程序创建其他 interface

time="2022-11-23T17:00:07+08:00" level=info msg="Mixed(http+socks) proxy listening at: <IP_ADDRESS>:7890"
time="2022-11-23T17:00:07+08:00" level=warning msg="[TUN] default interface changed by monitor,  => WLAN"

time="2022-11-23T17:02:30+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"
time="2022-11-23T17:02:30+08:00" level=warning msg="[TUN] default interface changed by monitor, OrayBox => WLAN"
time="2022-11-23T17:02:30+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"
time="2022-11-23T17:02:30+08:00" level=warning msg="[TUN] default interface changed by monitor, OrayBox => WLAN"
time="2022-11-23T17:02:31+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"
time="2022-11-23T17:02:31+08:00" level=warning msg="[TUN] default interface changed by monitor, OrayBox => WLAN"
time="2022-11-23T17:02:31+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"
time="2022-11-23T17:02:32+08:00" level=warning msg="[TUN] default interface changed by monitor, OrayBox => WLAN"
time="2022-11-23T17:02:32+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"
time="2022-11-23T17:02:32+08:00" level=warning msg="[TUN] default interface changed by monitor, OrayBox => WLAN"
time="2022-11-23T17:02:32+08:00" level=warning msg="[TUN] default interface changed by monitor, WLAN => OrayBox"

如果先运行其他程序创建其他 interface 再 运行 clash.meta 创建 tun interface

time="2022-11-23T17:05:12+08:00" level=info msg="Mixed(http+socks) proxy listening at: <IP_ADDRESS>:7890"
time="2022-11-23T17:05:12+08:00" level=warning msg="[TUN] default interface changed by monitor,  => OrayBox"

结论
tun 模式总是选择其他 interface 而不是配置文件中指定的 WLAN

非常感谢！解决了


Aligning the menu

Is there any params to align the menu? In previous version it was done by param offset. In current version this param. In my situation, the button is full width, and I want to align the menu to right.

Hi @Gazizbek
A fix to this will be added in a midweek update. In the meantime, if critical, you can use showPullDownMenu with the desired position.

Hi @Gazizbek
Update 0.8.2 is live with PullDownButton.buttonAnchor added.
For your provided example you'll need to do the following update:
PullDownButton(
  onTap: ...,
  buttonAnchor: PullDownMenuAnchor.end,
  buttonBuilder:...,
)

Thanks for the example @notDmDrl. Works great!

Thank you @notDmDrl


Validate prefix/suffix

OCI Secrets don't allow some characters. Validate these options don't violate that.

Name field must contain only alphanumeric characters, underscores or hyphens, and should not exceed 255 characters

https://stackoverflow.com/questions/46586831/how-can-i-use-an-python-click-argument-from-within-a-click-option-check-if-vari


Handling page transitions

Is it possible to fire page transitions without setting the page content? Something like pushing the state.
I'm trying to use react router to handle navigation, but i want to have proper transitions.
Maybe there is a workaround i'm not aware of?

No, transition should be between something. Probably you can do it to empty page and then fill its content with React

Ok, seems that its the best way to handle this. Thank you.


Removed outdated examples of flatpages on Django.

Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/

Also example usage in the "Associating content with multiple sites" seems outdated.

Yep! (@garrypolley Fancy clearing up those too? 🙂)

@carltongibson I may give it a whirl to update that example. I think with some minor changes to content it can be mostly the same message.


Minor issue: daal produces lots of warnings in pedantic modes

Describe the bug
This is not really a bug, rather a suggestion for an improvement. The issue is that when we include DAAL 2019.5 headers, we get a huge number of compiler warnings on all platforms.
This is due to our strict compiler settings, like -Wall -Wextra -pedantic on Linux and /W4 on Windows. It seems DAAL can currently not be used nicely with such strict compiler settings, because we get thousands of lines of warnings. This makes our work a bit more complicated because our internal code review requests warning-free code.
Most warnings seem quite simple to fix. For example there are many cases of extra ; that could be removed.
To Reproduce
Steps to reproduce the behavior:

Set Linux compiler warnings to -pedantic -Wall -Wextra -Werror=return-type -Werror=uninitialized -Werror=unknown-pragmas or Windows compiler warnings to /W4
Include standard daal headers
Build the code
There are typically 100-10000 lines of warnings per source file

Expected behavior
Ideally, DAAL would only show a few or now warnings at all.
Output/Screenshots
Here an example from Ubuntu 18.04 x86_64 with gcc-7.4.0:
 In file included from /data/Tools/include/algorithms/neural_networks/layers/dropout/dropout_layer_backward.h:30:0,
                  from /data/Tools/include/algorithms/neural_networks/layers/dropout/dropout_layer.h:31,
                  from /data/Tools/include/daal.h:256,
                  from /home/builds/include/Regression.hh:23,
                  from /home/builds/src/Regression.cc:20:
/data/Tools/include/algorithms/neural_networks/layers/dropout/dropout_layer_backward_types.h:116:38: warning: extra ';' [-Wpedantic]
      DECLARE_SERIALIZABLE_CAST(Result);

Environment:

OS: Ubuntu 18.04 x86_64, macOS 10.13 XCode 9.4, macOS 10.14 XCode 11.3, MS Visual Studio 2017, MS Visual Studio 2019
Version: 2019 Update 5

@emmenlau, thank you for reporting the issue.
Usually we build our examples without "-Wpedantic" flag and don't observe what you reported. We are looking at the the problem and how it can be resolved.
@dr-pain is assigned for this work.

Thanks a lot @SmirnovEgorRu for the positive feedback! I hope the issue is not causing hazzle, and its not very urgent. But we're looking forward if something can be improved!

@emmenlau
I have fixed all gcc warnings (or most of them). See https://github.com/intel/daal/pull/408.
Check it please.
Andrey

Awesome @dr-pain, thanks! I'm currently using the binaries from official Intel, so I'll have to wait a bit for the 2020 Update 1. But I will happily close the issue as fixed! Thanks!

Hello @emmenlau !
Sorry, but we don`t plan to commit fixes to 2020 product line - use 2021 (master, releases) instead.
Andrey

Ok I'll check them out! Will they be released as binary download for all platforms too (like the current Intel downloads from the official website), or are these source releases?

yes, we have binary releases for 2021.
You may download them from "releases" folder (but for linux and macos only).
2021 oneDAL is also available at official web site in oneAPI KIT package https://software.intel.com/en-us/oneapi .
Andrey

Thanks Andrey! I'm really sorry and I feel very stupid to ask this, but: could you point me to the binary download for 2021? I've considered

The branch "releases" from https://github.com/intel/daal/tree/releases
The "releases" page from https://github.com/intel/daal/releases
The Installation section from https://github.com/intel/daal#installation

But in all cases, I do not see anything to download for 2021, neither classic DAAL nor oneDAL. I did not consider oneAPI KIT package because we're not ready for this yet, but anything else. Am I doing something wrong?

I`m really sorry, but I missed fact that we are not published oneDAL binary releases at github.
The only way to get changes in binaries is - download oneAPI KIT and install oneDAL. It should be possible to install oneDAL only and skip all other tools.
Changes should be available in beta06 release. it is next release after upcoming beta05 release. current available release is beta04.
Andrey


[Flutter/iOS]failed to emit precompiled header '/Users/park/Library/Developer/Xcode/DerivedData/Runner-duwoxyeouxaayagtxwfzzjrkpxib/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_1Q7YC9QHI75Z6-clang_1X0BVSJ6FMH79.pch' for bridging header '/Users/park/StudioProjects/field_assistant/ios/Runner/Runner-Bridging-Header.h'

Steps to reproduce
I am developing an app through flutter, but it does not work with firebase.
I haven't been able to solve this problem for a month. Please tell me how to solve it.
If you need more, please let me know. We will inform you further. please help me
My laptop is version M1, the version of Xcode is 16.0, and the project format is xcode 15.0.
<>
Actual results
Error (Xcode): redefinition of module 'Firebase'
/Users/park/StudioProjects/field_assistant/ios/Pods/Firebase/CoreOnly/Sources/module.modulemap:0:7
Error (Xcode): could not build module 'netinet_in'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/types.h:112:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:17:9
Error (Xcode): could not build module 'runetype'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_ctype.h:70:9
Error (Xcode): could not build module '_limits'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/limits.h:20:14
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/signal.h:147:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_stdio.h:420:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/wait.h:88:9
Error (Xcode): could not build module '_stdint'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/stdint.h:51:15
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/resource.h:71:9
Error (Xcode): could not build module 'sys_wait'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_stdlib.h:65:9
Error (Xcode): could not build module '_errno'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_string.h:141:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_time.h:68:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_inttypes.h:228:9
Error (Xcode): could not build module '_inttypes'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/inttypes.h:30:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/copyfile.h:35:9
Error (Xcode): could not build module '_stdio'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/unistd.h:121:9
Error (Xcode): could not build module '_sys_select'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/sys/select.h:74:9
Error (Xcode): could not build module '_time'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/gethostuuid.h:31:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/stdatomic.h:27:9
Error (Xcode): could not build module '_math'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/tgmath.h:12:9
Error (Xcode): could not build module '_math'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/tgmath.h:26:9
Error (Xcode): could not build module '_ctype'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/ctype.h:65:9
Error (Xcode): could not build module '__wctype'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_wchar.h:75:9
Error (Xcode): could not build module '__wctype'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_wctype.h:35:9
Error (Xcode): could not build module '_locale'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/_xlocale.h:32:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/nl_types.h:44:9
Error (Xcode): could not build module '_time'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/time.h:62:9
Error (Xcode): could not build module 'Darwin'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/dispatch/dispatch.h:27:9
Error (Xcode): could not build module 'Darwin'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/os/object.h:27:9
Error (Xcode): could not build module '_Builtin_limits'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/objc/NSObjCRuntime.h:8:9
Error (Xcode): could not build module 'sys_types'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/os/workgroup_base.h:7:9
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:5:9
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:9
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:17:9
Error (Xcode): could not build module 'os_object'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/usr/include/xpc/xpc.h:5:9
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:7:8
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:11:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:13:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h:21:9
Error (Xcode): could not build module 'Darwin'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:34:9
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:7:9
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:7:8
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:12:9
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:13:9
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:12:9
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/Symbols.framework/Headers/Symbols.h:7:8
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:7:8
Error (Xcode): could not build module 'Foundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h:7:8
Error (Xcode): could not build module 'UIKit'
/Users/park/StudioProjects/field_assistant/build/ios/Debug-iphonesimulator/Flutter.framework/Headers/FlutterAppDelegate.h:7:8
Error (Xcode): could not build module '_Builtin_stdint'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h:164:9
Error (Xcode): could not build module 'CoreFoundation'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h:17:9
Error (Xcode): could not build module 'CoreAudioTypes'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:3:9
Error (Xcode): could not build module 'Flutter'
/Users/park/StudioProjects/field_assistant/ios/Runner/GeneratedPluginRegistrant.h:9:8
Error (Xcode): failed to emit precompiled header '/Users/park/Library/Developer/Xcode/DerivedData/Runner-duwoxyeouxaayagtxwfzzjrkpxib/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_C9M65T87SIDI-clang_3J5J8SYWAGM5E.pch' for bridging header '/Users/park/StudioProjects/field_assistant/ios/Runner/Runner-Bridging-Header.h'
Could not build the application for the simulator.
Error launching application on iPhone 16 Pro.
<>

<<pubspec.yaml>>
name: field_assistant
description: "A new Flutter project."
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.19.6 <4.0.0"
dependencies:
flutter:
sdk: flutter
sqflite: ^2.2.8
mysql_client: ^0.0.27
mysql1: ^0.20.0
path_provider: ^2.0.15
csv: ^6.0.0
video_player: ^2.4.5
intl: ^0.19.0
cupertino_icons: ^1.0.8
firebase_core: ^3.6.0
firebase_messaging: ^15.1.3
firebase_core: ^3.6.0
firebase_auth: ^5.3.1
cloud_firestore: ^5.4.4
firebase_database: ^11.0.8
firebase_storage: ^12.2.0
cloud_functions: ^5.1.1
firebase_analytics: ^11.3.3
mockito: ^5.4.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter:
uses-material-design: true
assets:

assets/csv/location.csv
assets/csv/facility.csv
assets/csv/recoveryProcess.csv
assets/
assets/map/
assets/number/
assets/process/GS4000/BCU/
assets/process/GS4000/
assets/video/

<>
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-arm64, locale
ko-KR)
• Flutter version 3.24.3 on channel stable at /Users/park/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision https://github.com/flutter/flutter/commit/2663184aa79047d0a33a14a3b607954f8fdd8730 (6주 전), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✗] Android toolchain - develop for Android devices
• Android SDK at /Users/park/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16A242d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/macos-android-setup for detailed
instructions).
[✓] VS Code (version 1.63.0)
• VS Code at /Users/park/Downloads/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (5 available)
• park의 iPhone (mobile)
• iOS 18.0
• iPhone 16 Pro (mobile)
• com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin
• macOS 14.6.1 23G93 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 129.0.6668.101
[✓] Network resources
• All expected network resources are available.

It seems your question is best suited in flutterfire repository for better support there. You can check https://github.com/firebase/flutterfire/issues/10874#issuecomment-1582712937 to see if it helps.
You may also get some help if you post it on Stack Overflow and flutterhelp. Closing the issue.


Some mySQL URIs unable to be parsed by url.Parse

The changes introduced by https://github.com/authzed/spicedb/pull/1129 cause mySQL URIs generated with https://pkg.go.dev/github.com/go-sql-driver/mysql#Config.FormatDSN to not work. The DSNs generated by the library are not able to be parsed by url.Parse. Can this be updated to use https://pkg.go.dev/github.com/go-sql-driver/mysql#ParseDSN instead of url.Parse or is the intention that SpiceDB only accepts URI connection strings?

Will change to use the ParseDSN method tomorrow


Segfault if remote WASM load fails

Running with latest release-1.5 proxy sha: ee4327fea8bfbde96f4516fd91da265f2475e91e
[2020-02-26 21:03:52.970][10627079][debug][init] [external/envoy/source/common/init/target_impl.cc:15] init manager Server initializing target RemoteAsyncDataProvider
[2020-02-26 21:03:52.970][10627079][debug][config] [external/envoy/source/common/config/remote_data_fetcher.cc:35] fetch remote data from [uri = https://github.com/istio/proxy/blob/release-1.5/extensions/stats/plugin.wasm?raw=true]: start
[2020-02-26 21:03:52.970][10627079][debug][router] [external/envoy/source/common/router/router.cc:474] [C0][S16998448541629250160] cluster 'com_github' match for URL '/istio/proxy/blob/release-1.5/extensions/stats/plugin.wasm?raw=true'
[2020-02-26 21:03:52.970][10627079][debug][router] [external/envoy/source/common/router/router.cc:614] [C0][S16998448541629250160] router decoding headers:
':path', '/istio/proxy/blob/release-1.5/extensions/stats/plugin.wasm?raw=true'
':authority', 'github.com'
':method', 'GET'
':scheme', 'http'
'x-envoy-internal', 'true'
'x-forwarded-for', '<IP_ADDRESS>'
'x-envoy-expected-rq-timeout-ms', '5000'

[2020-02-26 21:03:52.971][10627079][debug][pool] [external/envoy/source/common/http/http1/conn_pool.cc:95] creating a new connection
[2020-02-26 21:03:52.971][10627079][debug][client] [external/envoy/source/common/http/codec_client.cc:34] [C0] connecting
[2020-02-26 21:03:52.971][10627079][debug][connection] [external/envoy/source/common/network/connection_impl.cc:691] [C0] connecting to <IP_ADDRESS>:443
[2020-02-26 21:03:52.971][10627079][debug][connection] [external/envoy/source/common/network/connection_impl.cc:700] [C0] connection in progress
[2020-02-26 21:03:52.971][10627079][debug][pool] [external/envoy/source/common/http/conn_pool_base.cc:55] queueing request due to no available connections
[2020-02-26 21:03:53.001][10627079][debug][connection] [external/envoy/source/common/network/connection_impl.cc:563] [C0] connected
[2020-02-26 21:03:53.001][10627079][debug][client] [external/envoy/source/common/http/codec_client.cc:72] [C0] connected
[2020-02-26 21:03:53.001][10627079][debug][pool] [external/envoy/source/common/http/http1/conn_pool.cc:244] [C0] attaching to next request
[2020-02-26 21:03:53.001][10627079][debug][router] [external/envoy/source/common/router/router.cc:1711] [C0][S16998448541629250160] pool ready
[2020-02-26 21:03:53.040][10627079][debug][connection] [external/envoy/source/common/network/connection_impl.cc:531] [C0] remote close
[2020-02-26 21:03:53.040][10627079][debug][connection] [external/envoy/source/common/network/connection_impl.cc:192] [C0] closing socket: 0
[2020-02-26 21:03:53.041][10627079][debug][client] [external/envoy/source/common/http/codec_client.cc:91] [C0] disconnect. resetting 1 pending requests
[2020-02-26 21:03:53.041][10627079][debug][client] [external/envoy/source/common/http/codec_client.cc:114] [C0] request reset
[2020-02-26 21:03:53.041][10627079][debug][router] [external/envoy/source/common/router/router.cc:990] [C0][S16998448541629250160] upstream reset: reset reason connection termination
[2020-02-26 21:03:53.047][10627079][debug][http] [external/envoy/source/common/http/async_client_impl.cc:95] async http request response headers (end_stream=false):
':status', '503'
'content-length', '95'
'content-type', 'text/plain'

[2020-02-26 21:03:53.047][10627079][debug][config] [external/envoy/source/common/config/remote_data_fetcher.cc:62] fetch remote data [uri = https://github.com/istio/proxy/blob/release-1.5/extensions/stats/plugin.wasm?raw=true]: response status code 503
[2020-02-26 21:03:53.047][10627079][debug][config] [bazel-out/darwin-dbg/bin/external/envoy/source/common/config/_virtual_includes/datasource_lib/common/config/datasource.h:83] Failed to fetch remote data. Failure reason: 0
[2020-02-26 21:03:53.047][10627079][critical][main] [external/envoy/source/exe/terminate_handler.cc:13] std::terminate called! (possible uncaught exception, see trace)
[2020-02-26 21:03:53.047][10627079][critical][backtrace] [bazel-out/darwin-dbg/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:70] Backtrace (use tools/stack_decode.py to get line numbers):
[2020-02-26 21:03:53.047][10627079][critical][backtrace] [bazel-out/darwin-dbg/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:71] Envoy version: 7e85a2a08d9a872e908ec229e35116931762ee00/1.13.1-dev/Modified/DEBUG/BoringSSL
[2020-02-26 21:03:53.047][10627079][critical][backtrace] [bazel-out/darwin-dbg/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:83] Caught Abort trap: 6, suspect faulting address 0x7fff7a3662c2
[2020-02-26 21:03:53.047][10627079][critical][backtrace] [bazel-out/darwin-dbg/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:70] Backtrace (use tools/stack_decode.py to get line numbers):
[2020-02-26 21:03:53.047][10627079][critical][backtrace] [bazel-out/darwin-dbg/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:71] Envoy version: 7e85a2a08d9a872e908ec229e35116931762ee00/1.13.1-dev/Modified/DEBUG/BoringSSL
AsyncClient 0xa46bb10, stream_id_:<PHONE_NUMBER>1629250160
&stream_info_:
  StreamInfoImpl 0xa46bcb0, protocol_: 1, response_code_: 503, response_code_details_: upstream_reset_before_response_started{connection termination}, health_check_request_: 0, route_name_:
./run_test.sh: line 23: 53512 Abort trap: 6           ${BAZEL_BIN}/src/envoy/envoy -c ${WD}/testdata/server.yaml --concurrency 2 --allow-unknown-fields -l debug

@jplevyak @PiotrSikora

cc @yxue

The root cause is the REST api returns 503 and Envoy crashes. I had a PR to
add the retry policy and it was blocked by another PR.
https://github.com/envoyproxy/envoy/pull/9463
John and me had the discussion before about how to handle the 503 returned
by remote data source. The initial solution is throwing an exception but we
figured out that the exception won’t be caught correctly. The current
solution is just logging the failure and let Envoy crash. Hopefully adding
retry policy will make it more reliable.
On Thu, Feb 27, 2020 at 1:29 PM Piotr Sikora<EMAIL_ADDRESS>wrote:

cc @yxue https://github.com/yxue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy-wasm/issues/436?email_source=notifications&email_token=AA2UNM5TC5QKIT73W63MNDDRE5MV5A5CNFSM4K4TYKCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENDD47Q#issuecomment-591806078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2UNM3JXNYUGPTYEB4REGTRE5MV5ANCNFSM4K4TYKCA
.

Perhaps we should change it to throwing an exception.  At least that indicates that the issue is known.
Looks like https://github.com/envoyproxy/envoy/pull/9346 is closed now.   Perhaps you can merge it into 9463 and try to upstream the combo ?

First I am going to merge the PRs related to data source retry policy.
For throwing exception, since we have already logged the error, do we still
need to throw the exception considering the behavior is unpredictable?
On Thu, Feb 27, 2020 at 9:20 AM John Plevyak<EMAIL_ADDRESS>wrote:

Perhaps we should change it to throwing an exception. At least that
indicates that the issue is known.
Looks like envoyproxy/envoy#9346
https://github.com/envoyproxy/envoy/pull/9346 is closed now. Perhaps
you can merge it into 9463 and try to upstream the combo ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy-wasm/issues/436?email_source=notifications&email_token=AA2UNM5QHFU435PIW7MWXCDRE7Y4XA5CNFSM4K4TYKCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFF7TQ#issuecomment-592076750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2UNM4LRT2XP4JLJVULQYDRE7Y4XANCNFSM4K4TYKCA
.


cURL error 60: SSL certificate problem: unable to get local issuer certificat

[GuzzleHttp\Exception\RequestException]
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://chat.openai.com/api/auth/session

https://blog.csdn.net/qq_37868757/article/details/120839679 设置了证书路径可用了


Made the Segment and Report entites extendable

Hello guys,
I added some comments on the forum and unfortunately I received no response.
I want to add a few more fields to the Segment Entity and the Report Entity. I tried to make this two entities extendable via migrations and add field through data fixtures, but I could not make it work.
I decided to try with a pull request because I saw that in the past you made other entities extendable when a user/client need it.
I am using:
"oro/crm": "1.7",
"oro/platform": "1.7",
"oro/crm-enterprise": "1.9"
Thank you in advance and have a great weekend.
Best Regards,
Nelu Tihon

Thank you for your pull request.
It looks like this may be your first contribution to an Oro, Inc. open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at http://www.orocrm.com/contributor-license-agreement/
If you've already signed the CLA, it's possible we don't have your GitHub username or you're using a different email address. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Please sign the CLA again using the correct GitHub username and email address or see this help article on setting the email on your git commits.
Once you've signed the CLA, please allow for about an hour for the submission to be processed.

Hi @ioantihon ,
Thank you for the contribution.
The pull request was merged and will be available in the next versions of the platform: 1.7.9, 1.8.3, 1.9.4 and master as well.
P.S.: We are very apologize for so long delay.


feat(copilot-chat): remove call to nvim-cmp integration

nvim-cmp integration was removed in favour of custom autocomplete (it was pointless trying to support all the new completion plugins when its 15 lines to implement something plugin specific)

Awesome, thanks!

Hello! With this update, the Intellij-like mapping of the auto complete is broken. I can no longer use tabs to select the autocomplete options, be it on copilot or just from the lsp. How can I restore that?

Hello! With this update, the Intellij-like mapping of the auto complete is broken. I can no longer use tabs to select the autocomplete options, be it on copilot or just from the lsp. How can I restore that?

It do not uses nvim-cmp anymore so nvim-cmp settings no longer affect the chat completion either


Adds Open Access bling to selected publications

Purpose
This PR adds an Open Access logo beside publications that are Open Access. Also allows the author to specify a license if a specific license was used. See it in action: https://conr.ca
Screenshots
Publication List, APA (MLA and simple are similar)

Publication List, detailed

Publication page, specific license

Publication page, no license specified

Documentation
I don't think that any big changes are required. I've documented the example site archetypes and example publications.

Notes:

I'm not entirely convinced by the position of the logo on the detailed publication list. Open to suggestions.
I also wonder whether the license field should be a link such that one could link to the relevant license (I couldn't quite get this to work, but am happy to try again if it is preferred).

I really like this.
Technically Open Access is not a license, so it should not be in the same field.
Best practice is to make the license link-able.

@HughP, thanks for the feedback. Glad you like it. Would you be happy with the license field with a string like "OA compatible" or "OA-type"?
I tried to get the license link working, but I am not very familiar with Go templates. I will take another hack at it when I get a chance.

I think what I am saying about the content in the license field is that license needs to be one field and access type a separate field.
Elsevier publishing house provides several license options for open access content. These can be reviewed on their website here: https://www.elsevier.com/about/policies/open-access-licenses
The point to note is that because access (how one can legally acquire content) is a separate issue from content license (what one can do with content) Elsevier allows authors to choose a license within limits.
Strictly speaking access methods and content licenses are not related. I can license content Creative commons with attribution, or GPL and then still charge you to access the content. Some institutions provide open access (uninhibited even by log-in) to content but then don't explicitly license their content. This means that the content is still copyright the institution and is distributed under an implied license.
More can be read about open access here: https://en.wikipedia.org/wiki/Open_access
Generally open access and liberal use licenses like creative commons licenses work hand in hand to facilitate specific business models, but they are not the same thing. So, in terms of a metadata schema, I would recommend a field for license and a second one for access_type.
One thing which could be done for the Academic theme is that a taxonomy of access types and a taxonomy of licenses could be put in the config.toml file for users to reference. I think the publication types taxonomy (book, book section, article, etc.) demonstrates how this could successfully be done. I don't think it makes sense to duplicate the link and the license type in each entry. The taxonomy might start with the creative commons licenses. and the BSD, MIT, GPL, AGPL, CC0 options. Those seem to be the most common. Over time if there are requests for more then they certainly could be added with a PR.
If we wanted more than an binary value  open_access = true type value we could use something like the following taxonomy. ["closed access", "subscription access", "green open access", "gold open access", "hybrid access", "access by request"] These values are explained further here: https://research.library.gsu.edu/c.php?g=115588&p=754380
I added "closed access" as this might be the case in some instances, whereas "subscription access" is generally considered the "opposite" of open access in academic publishing; "access by request" is certainly how some older materials which are archived are handled, or how some corporations treat technical reports.

I'm against using purely an Open Access logo, partly due to the fact that it would then be ambiguous when there is no Open Access logo. If anything it should be unlocked/locked icon or a text based description as @HughP mentioned, which allows for all possible cases.

@gcushen
FWIW: there is a subscription access icon it is usually a closed lock.
see: https://commons.wikimedia.org/wiki/File:Closed_Access_logo_dark.svg
or https://www.brandeps.com/logo/C/Closed-Access-01
Using either of these with subscription access articles would be a reasonable way to go, for visual aesthetic continuity.
It should be noted that for some academics there is a moral statement behind publishing in open access publication venues. That is, sometimes by choosing these publication venues it speaks to how they spend their grant money, or how they choose to work with other researchers. So I think it is a valuable or viable thing to put on a CV.
I think the more difficult question for aesthetic design is how do we not "shame" academics who have not published in open access venues. So, I would say again the choice to show a subscription access icon should only be invoked if the site admin has also chosen to display an open access icon. Otherwise it is not really that useful of a distinction.
A wholly different aesthetic idea would be to put an open access icon (something like the first icon) in tray of links blow a publication (see the second image below); using SVG for this would allow it to be stylized with the css from the theme just like the already provided links.

Pushed some changes addressing a couple of the criticisms here, while also keeping it simple.

The icon before the article title is now customizable, if an author wants to use the logo for DOI or Springer or biorxiv instead of the Open Access lock icon, they can! (Uses fa or ai, like the social params). I hope that this partially addresses @gcushen's concern about the lock icon. Note that there is a request for a closed access lock icon in the Academic Icons GH.

access_type and license_type are now independent fields and are set to strings. I like the idea of creating a taxonomy and linking the licenses, but I won't have time to learn how to do that in the near future. Anything more than the above is outside of my skill set, I'm afraid.

It just occurred to me that perhaps an even better way to go the above would just be to allow for custom fields in the publication details (i.e. remove access_type and license_type and allow a user (me in this case) to add those custom fields). This keeps things open and modular and doesn't penalize folks who don't publish OA. Would love to hear thoughts from @gcushen and @HughP on this before a push.

This PR has been updated to use the FA5 icons based on the changes to master.
I've also changed the fixed details fields (access and license) to custom entries, as mentioned in my last comment. This moves farther away from the suggestions by @HughP, but I think makes it overall a more flexible and perhaps more universally useful addition.
Those of us who publish OA still have the option to add the unlocked logo and specify the access and license information.
I am using this PR live on my site and the customization came in handy to add an "edit" logo beside a pre-print in my publications list, so that it is visually different from my published articles.
New publications list

New details page


Fix connectionSettingName for create azure function with sql binding

This PR fixes #18930.
This ensures that we prompt the user for the connection string setting name for when the user uses Create Azure Function with SQL Binding.
Flow:

Prompts for the binding type

If the user does not have azure function project in folder (else if the azure function project in the folder then skip to step 4):

User chooses Create Azure Function Project

Prompted for Template (if creating a new azure function project):

able to create a project with any template or skip it for now and then continues flow

Prompt for Azure Function Name

Prompt user to select existing connection string setting or creates new

If user clicks create new setting name:

user asked to include password for connection string

if yes to above - we finish creating project and adding connection string to local.settings.json (got to step 9)
8. if no - user shown to enter password:

if user enters valid password then we add it to the connection string
if escape we show warning:

Prompt for namespace

Finish Creating Azure Function with SQL binding

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

27 of 48 (56.25%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.05%) to 42.377%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-bindings/src/services/azureFunctionsService.ts
0
2
0.0%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
27
46
58.7%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
36.49%

extensions/sql-bindings/src/dialogs/addSqlBindingQuickpick.ts
1
69.66%

extensions/sql-bindings/src/services/azureFunctionsService.ts
1
6.59%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
27628

Relevant Lines:
60945

💛  - Coveralls

Add SQL Binding Flow:

Prompt to select azure function to add SQL Binding to:

Prompt for Binding type:

Prompt for table or view to query

Prompt user to select existing connection string setting or creates new

If user clicks create new setting name:

Prompt user for connection string method

if select a connection profile (then step 7):

if enter connection string (then step 9):

user asked to include password for connection string

if yes to the above (go to step 9)

if no - user is shown to enter a password:

if the user enters a valid password then we add it to the connection string
if escape we show a warning:

Add a connection string to local.settings.json and then finish adding SQL binding to selected azure function.


Component can't connect to magicswitchbot

Hi ec-blaster,
i have a simple configuration yaml, with no password and hci0 running.
BLE as device tracker detect the device:
root@aml:~# hcitool lescan
LE Scan ...
34:14:B5:4A:37:2F (unknown)
34:14:B5:4A:37:2F MagicSwitchBot
Also, I have tracked this device with ble in ha:

But component can't connect. This is the debug logguer:
Logger: custom_components.switch
Source: custom_components/magicswitchbot/switch.py:149
Integration: Interruptor (documentation)
First occurred: 23:24:17 (2 occurrences)
Last logged: 23:24:20
Error adding entities for domain switch with platform magicswitchbot
Error while setting up magicswitchbot platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 317, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 529, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/magicswitchbot/switch.py", line 101, in async_added_to_hass
await self._hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/magicswitchbot/switch.py", line 149, in update
self._battery_level = self._device.get_battery()
File "/usr/local/lib/python3.8/site-packages/magicswitchbot/init.py", line 628, in get_battery
ok = self._sendCommand(self.CMD_GETBAT, "01", self._retry_count)
File "/usr/local/lib/python3.8/site-packages/magicswitchbot/init.py", line 438, in _sendCommand
self._connect()
File "/usr/local/lib/python3.8/site-packages/magicswitchbot/init.py", line 236, in _connect
self._device = PeripheralExt(deviceAddr=self._mac,
File "/usr/local/lib/python3.8/site-packages/magicswitchbot/init.py", line 37, in init
self._connect(deviceAddr, addrType, iface, timeout)
File "/usr/local/lib/python3.8/site-packages/magicswitchbot/init.py", line 56, in _connect
while rsp['state'][0] == 'tryconn':
TypeError: 'NoneType' object is not subscriptable
Also, these generic error witch BLE:
Logger: pygatt.backends.gatttool.gatttool
Source: /usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py:352
First occurred: 23:25:13 (110 occurrences)
Last logged: 23:48:20
Unexpected error when scanning: Set scan parameters failed: I/O error
Logger: custom_components.bluetooth_le_tracker.device_tracker
Source: custom_components/bluetooth_le_tracker/device_tracker.py:114
Integration: bluetooth_le_tracker (documentation)
First occurred: 23:25:13 (110 occurrences)
Last logged: 23:48:20
Error during Bluetooth LE scan: Unexpected error when scanning: Set scan parameters failed: I/O error
any suggest?
Maybe the bluetooth adapter is not working properly.
Thanks in advance!

Hi @chronoszgz .
Several things to consider:

How are you running HA? Is it HASSIO? HA Core? Are you using a Python VirtualEnv?
If you are running HA Core, are you running it with a non-root account?
And if you are running with a non-root account, did you allow it to access the bluetooth hardware?

And then some other things:

It seems to me that you have a conflict with 2 different libraries trying to access the bluetooth hardware.
You have errors relative to pygatt, and the library my component uses is bluepy.

If you are running HA Core, could you please test the library is working using this example
Keep me informed, thanks.

I am running HA with this:
Core
Versión
core-2021.3.4
Supervisor
Versión
supervisor-2021.03.6
Canal stable
Sistema operativo
Debian GNU/Linux 10 (buster)
Versión de Docker
19.03.13
With root account . I can access to the bluetooth hardware with hcitool or bluetoothctl and I can scan and discover BT devices and BTLE devices. MagicSwitchBot one of them.
I don't know how run the test.py in HA Core. Python is installed in host machine not in docker container with HA. If I execute python3 test.py (with the MAC of my magicswitchbot) the result is:
Traceback (most recent call last):
File "test.py", line 12, in
from magicswitchbot import MagicSwitchbot
ModuleNotFoundError: No module named 'magicswitchbot'
Regards!

Ey! Good news, the F*** app did not clear the password... Now the test.py is wprking. Restarting HA

It works!!!! Thanks EC-BLASTER!!
I needed to install:
apt install python3-setuptools  (which it's necessary for the next step)
pip3 install pyMagicSwitchbot instead of "pip install magicswithbot"
and then restart Home Assistant.
Very good job ec-blaster!

Congratulations!


SearchItem implements Parcelable

Pretty straightforward. I used TextUtils to write CharSequence to parcel. I don't think there's another/better alternative.

Thank you. I will check it later.


Rows returned as array of strings

When fetching a row such as row = results.next() it returns an Element, and getting the fields using row[0] etc. This makes ugly code. In other languages I can do something like row["columnName"] to get the data I'm looking for.

#17


Solid Black Background

Thanks for this extension :) I posted a positive review at https://chrome.google.com/webstore/detail/new-new-tab-page/nndegnhfodohkemfnmalamgebofbgjcc/reviews
This is a suggestion. Under "Options" menu > "Background" section > "Preset backgrounds" field. How about adding a "Solid black" option?
On some computers and devices it would be useful to set new tab to a solid black background. So that to extend battery life, and healthier for the eyes in low light environment or night.
I would be happy to contribute testing

@Francewhoa :) Note to myself. This screenshot show the location of the "Preset backgrounds" field

Thanks for your suggestion and kind words. I have added this option in commit 57e2b3ec6d1a6e5589fc33275ffaf026efb0f7fa. Testing probably won't be needed since it's a very trivial change but please feel free to do so :smile:
I will publish the update along with a few other small changes soon on the Web Store.

Thanks Zachary :)


Error on registering component

Hi,
I get an error on registering the component like so:
import ResSplitPane from 'vue-resize-split-pane';
Vue.component(ResSplitPane.name, ResSplitPane);

I also tried the local import that you added to the readme, although the same issue.
Here is the error:
./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./node_modules/vue-resize-split-pane/src/ResizeSplitPane.vue
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified.
"node_modules/vue-resize-split-pane/.babelrc" at 0, attempted to resolve relative to "node_modules/vue-resize-split-pane"

Thanks,
Jamie

Hi Jamie.
I've created a fresh project like so:
vue init webpack vrsp-test

selecting Runtime + Compiler and yarn
In my main.vue i added your code:
import ResSplitPane from 'vue-resize-split-pane';
Vue.component(ResSplitPane.name, ResSplitPane);

And in my App.vue (in this case tag name is pane-rs)

    <pane-rs split-to="columns" :allow-resize="true">

        LEFT

      <pane-rs :allowResize="true" split-to="rows"
        slot="secondPane" primary="second">
        <pane-rs :allowResize="true" split-to="columns"
          slot="firstPane" primary="second">

            CENTER

            RIGHT

        </pane-rs>

          BOTTOM

      </pane-rs>
    </pane-rs>

and it all works fine.
The error points to a file .babelrc that was autogenerated by the vue-cli webpack template.


npm ERR! missing<EMAIL_ADDRESS>

this error shows when trying to install in Angular 7; also Uninstal o corrupt the libraries jspdf and file-saver

I've only tested with Angular 9+, but let me test with Angular 7 tomorrow. Thanks for your report!

I've only tested with Angular 9+, but let me test with Angular 7 tomorrow. Thanks for your report!


python3Packages.nettigo-air-monitor: 1.0.0 -> 1.1.0

Motivation for this change
Update to latest upstream release 1.1.0
Change log: https://github.com/bieniu/nettigo-air-monitor/releases/tag/1.1.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant
python38Packages.nettigo-air-monitor
python39Packages.nettigo-air-monitor


Reduce Route/VirtualHost memory utilization by avoiding RateLimitPolicy instances when not needed

Reduce Route/VirtualHost memory utilization by avoiding RateLimitPolicy instances when not needed.
Currently an instance of RateLimitPolicyImpl is created in each vhost and route, even if no rate limiting is configured. This PR switches instances to unique_ptr and only creates RateLimitPolicyImpl objects when actually configured. Otherwise a singletong default policy is used.
This is a step towards more memory efficient config data structures. Issue #24154.
Similar change to Retry, Hedge and InternalRedirect policies was made in PR #24182.