No map visualization in CarlaViz

I've tried the instructions here and here with docker, but the map doesn't seem to visualize on the front end (see image below). Everything else seems to be working (camera visualization, sensor data, etc.)
Versions
Carla: <IP_ADDRESS>
CarlaViz: 0.9.9

Hi, CarlaViz 0.9.9 only works with Carla <IP_ADDRESS>. You could try other Carla version that CarlaViz supports.

Hi, I've tried with Carla <IP_ADDRESS>, and the same issue still persists.

Hi, I have tried CarlaViz 0.9.9 with Carla <IP_ADDRESS> and did not reproduce this error... Could you try CarlaViz 0.9.10 and Carla 0.9.10 (not <IP_ADDRESS>) and see it that can resolve the problem?

Hi there,
Here's the docker container output
Make sure you have launched the carla server.
Launching backend.
2020-10-08 07:39:58 [INFO]     Connecting to Carla Server on localhost:2000...
2020-10-08 07:39:58 [INFO]     Connected to Carla Server, Server version is: 13fd85b3
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version     = 0.9.9
WARNING: Simulator API version  = 13fd85b3
2020-10-08 07:40:00 [INFO]     Waiting for a drawing client to connect. Listening to port 8089....
2020-10-08 07:40:00 [INFO]     Waiting for a frontend to connect. Listening to port 8081....
Backend launched.
Launching frontend
yarn run v1.22.4
warning package.json: No license field
$ webpack-dev-server --host <IP_ADDRESS> --disable-host-check --env.live --progress --hot --open
10% building 1/1 modules 0 active\u2139 \uff62wds\uff63: Project is running at http://<IP_ADDRESS>:8082/
\u2139 \uff62wds\uff63: webpack output is served from /
\u2139 \uff62wds\uff63: Content not from webpack is served from /home/carla/carlaviz/frontend
10% building 3/4 modules 1 active ...aviz/frontend/node_modules/babel-loader/lib/index.js??ref--4-0!/home/carla/carlaviz/frontend/node_modules/source-map-loader/index.js!/home/carla/carlaviz/frontend/src/app.jsBrowserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
93% after chunk asset optimization SourceMapDevToolPluginFrontend launched.  Create dummy sensor: 91
2020-10-08 07:40:23 [INFO]     Add camera stream 89 - /camera/rgb/89
2020-10-08 07:40:23 [INFO]     Listen sensor: 90, type is: sensor.lidar.ray_cast. Create dummy sensor: 92
2020-10-08 07:40:23 [INFO]     Update metadata
2020-10-08 07:40:29 [INFO]     Frontend connected

And the browser console output
[HMR] Waiting for update signal from WDS... log.js:24
deck: deck.gl 8.0.17 - set deck.log.level=1 (or higher) to trace attribute updates init.js:45:4
get map app.js:100:18
[WDS] Hot Module Replacement enabled. client:48
[WDS] Live Reloading enabled. client:52

Hi, from the output I do not find any errors. Let me try to build CarlaViz with Carla <IP_ADDRESS> and will let you know when it is done. You could try 0.9.10 (not <IP_ADDRESS>) before it is finished. Thanks.

Hi, I've tried with CarlaViz 0.9.10, but it's giving me a different error:
[INFO] [PAINTER] [2020-10-13 09:44:30,439] : Begin to connect to drawing server at localhost:8089
[INFO] [PAINTER] [2020-10-13 09:44:30,440] : Connected to drawing server at localhost:8089
Traceback (most recent call last):
  File "example.py", line 115, in <module>
    main()
  File "example.py", line 101, in main
    if previous_settings is not None:
UnboundLocalError: local variable 'previous_settings' referenced before assignment

Docker output:
Make sure you have launched the carla server.
Launching backend.
2020-10-13 07:44:03 [INFO]     Connecting to Carla Server on localhost:2000...
2020-10-13 07:44:03 [INFO]     Connected to Carla Server, Server version is: c8a0b059
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version     = 0.9.10
WARNING: Simulator API version  = c8a0b059
2020-10-13 07:44:07 [INFO]     Waiting for a drawing client to connect. Listening to port 8089....
2020-10-13 07:44:07 [INFO]     Waiting for a frontend to connect. Listening to port 8081....
2020-10-13 07:44:07 [INFO]     Drawing client 0 connected
2020-10-13 07:44:07 [INFO]     Drawing client 0 connection closed
Backend launched.
Launching frontend
yarn run v1.22.5
warning package.json: No license field
$ webpack-dev-server --host <IP_ADDRESS> --disable-host-check --env.live --progress --hot --open
10% building 1/1 modules 0 active\u2139 \uff62wds\uff63: Project is running at http://<IP_ADDRESS>:8082/
\u2139 \uff62wds\uff63: webpack output is served from /
\u2139 \uff62wds\uff63: Content not from webpack is served from /home/carla/carlaviz/frontend
93% after chunk asset optimization SourceMapDevToolPluginFrontend launched. Please open your browser
\u2139 \uff62wdm\uff63: Hash: 4a617c1fa04fe3dd0eaf
Version: webpack 4.43.0
Time: 10222ms
Built at: 10/13/2020 7:44:22 AM
                               Asset      Size  Chunks                   Chunk Names
573fe91c6c748074195655e1f0159864.png  7.61 KiB          [emitted]
                           bundle.js  9.66 MiB     app  [emitted]        app
                       bundle.js.map  11.8 MiB     app  [emitted] [dev]  app
Entrypoint app = bundle.js bundle.js.map
[0] multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8082 (webpack)/hot/dev-server.js ./src/app.js 52 bytes {app} [built]
<EMAIL_ADDRESS>3.09 KiB {app} [built]
<EMAIL_ADDRESS>1.01 KiB {app} [built]
<EMAIL_ADDRESS>560 bytes {app} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {app} [built]
[./node_modules/react/index.js] 190 bytes {app} [built]
[./node_modules/streetscape.gl/dist/esm/index.js] 78 bytes {app} [built]
[./node_modules/webpack-dev-server/client/index.js?http://<IP_ADDRESS>:8082] (webpack)-dev-server/client?http://<IP_ADDRESS>:8082 4.29 KiB {app} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {app} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {app} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {app} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {app} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {app} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {app} [built]
[./src/app.js] 11.6 KiB {app} [built]
    + 1479 hidden modules
\u2139 \uff62wdm\uff63: Compiled successfully.
2020-10-13 07:44:30 [INFO]     Drawing client 1 connected
2020-10-13 07:44:30 [INFO]     Drawing client 1 connection closed

Nope, it still remains blank, but game time and game frames are being updated.

May I ask that are you using you own map or Carla's pre-built map? And could you use chrome as your browser to have a try?

I'm using Carla's pre-built map. Using Chrome solved the issue for me!
Thanks for your help!


pytest CI fail: 'CallSpec2' object has no attribute 'funcargs'

Describe the bug

Prior passing runs were with pytest-7.4.4. Current failing runs are with pytest 8.0.0. Pin pytest version to avoid this.
pytest-8.0.0 was released 27th Jan.

Same problem in pytest 8.2.0, I fixed by downgrade pytest to 7.4.4


Task terminal truncates long/quick output.

VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:44:52.965Z)
OS version: Linux x64 5.4.25
Steps to Reproduce
Run "test" task using this .vscode/tasks.json:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "test",
            "type": "shell",
            "command": "seq 1000 | sed 's/$/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/'",
        }
    ]
}

Expected behavior
All 1000 lines are printed, the last 3 lines being:
(this is how it works when ran in a regular VSCode Terminal)
998XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
999XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Actual behavior
Task output is truncated randomly, these being two example runs' last 3 lines:
741XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
742XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
743XXXXXXXXXXXXXXXXX

754XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
755XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
756XXXXXXXXXXXXXXX

Additional background
Reading the description of #75139, I'm pretty sure it's the same bug.
It was marked as a duplicate of #38137, but I'm not sure that's correct.
I've only seen this in the last few months, after #38137 was supposedly fixed, and assumed the problem was a change in the process producing the output, or some bug/setting in SSH, which is why I haven't reported it earlier.
However, after coming across #75139, I did some experimentation, and even a task that only does cat build-log results in truncation (build-log is 128kB and has 2665 lines, the current output from a real workload).
And then I simplified that to the command above, which reproduces easily.
Even seq 1000 alone was truncated once, at 841.
And seq 10000 truncates even easier, example last 3 lines from some runs:
9595
9596
959

7437
7438
7439

8143
8144
814

I've double-checked, and the oldest message of mine anywhere that I can find, talking about this issue, was in August 22, 2019 (I have no idea what version of VSCode I was using then, though).
I must've forgotten about it, but I also think it got worse more recently.

This comment appears to be the basis for closing the issue: https://github.com/microsoft/vscode/issues/38137#issuecomment-530439210.
I'm assuming that comment implies the output is correct, but it feels a bit too small (after all, I could only get seq 1000 to truncate once out of a dozen runs).
They should've used a loop to find where it cuts off, IMO.

Unconfirmed.

Asked a colleague to reproduce on Windows and they couldn't (with neither latest regular version nor latest Insiders), although the output looked line-by-line whereas for me entire chunks of output show up at once, so I'm suspecting I might not have a way to cause a repro on Windows at all.
I will now attempt to grab the latest Linux Insiders build and test on that.

Reproduced in latest Insiders (1.45.0-insider (44c5185373d5f209cd6c0b5d29a216fb801da34e, 2020-04-10T18:15:17.029Z)) on Linux, even with just seq 1000 on my first try, output ends in:
839
840
841
Terminal will be reused by tasks, press any key to close it

And there is definitely a difference between Windows and Linux, I saw no output, and the VSCode window kind of froze for a second, before the entire showed up at once (not even scrolling by).

IIUC, #38137 was fixed in version 1.49 but I can still reproduce my testcase above with:
Version: 1.49.1
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-16T23:23:33.049Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.59

So I'm pretty sure this is a different bug than #38137.

I was reading about the new xterm-headless approach and decided to try the test again.
I was excited to see it work correctly (printing all 1000 lines) but just to be sure I ran it again, and it stopped at 921. So this is not yet fixed.
Repro version:
Version: 1.60.1
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:06:57.931Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.7

Reproduced issue, currently in remote mode with a raspberry pi. Having a task starting "dmesg" on the raspberri pi does not show all output. The lines are also not correctly ordered.
Version: 1.62.1
Commit: f4af3cbf5a99787542e2a30fe1fd37cd644cc31f
Date: 2021-11-05T10:56:50.217Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.16-201.fc34.x86_64

Related: https://github.com/microsoft/vscode/issues/92868

Similar issue here. A substantial section amidst lengthy string is replaced by "..." .
Version: 1.78.2 (user setup)
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:39:26.248Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: Yes

As long as the issue persists, it would be better for users to copy the value of a variable from the variable watch panel instead of debug console or terminal.

Similar issue here. A substantial section amidst lengthy string is replaced by "..." .
Version: 1.78.2 (user setup)
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:39:26.248Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: Yes

As long as the issue persists, it would be better for users to copy the value of a variable from the variable watch panel instead of debug console or terminal.


ValueError: Input 0 of layer encoder1_ is incompatible with the layer: expected ndim=3, found ndim=4. Full shape received: (None, 64, 4, 850)

      inputs_p = Input(shape=(5,4,850)) #4 time steps, 5 features , num_sds
      decoder_inputs = Input(shape=(5,4,850)) #1time step, 5 features , num_sds
      neighbhourhood = Input(shape=(4,850,850)) #1time step, 5 features , num_sds

      encoder_inputs = MyModel_conv_accross_time()(inputs_p , neighbhourhood)

      enc = LSTM(cfg['units'],activation='tanh',return_state=True,return_sequences=True,name='encoder1_')
      decoder_outputs, state_h, state_c  = enc(encoder_inputs)

ValueError: Input 0 of layer encoder1_ is incompatible with the layer: expected ndim=3, found ndim=4. Full shape received: (None, 64, 4, 850)
MyModel_conv_accross_time  returns results with shape (batch,64,4,850)

This is very good

This is very good

I believe this is because lstm expects 3d input , not 4d . let me check and get back!

I believe this is because lstm expects 3d input , not 4d . let me check and get back!

reshaping the output from MyModel_conv_accross_time to (batch*850,64,4) solved the issue

reshaping the output from MyModel_conv_accross_time to (batch*850,64,4) solved the issue


Bad Gateway returned when not in debug mode

This is what I did.

I setup a new AKS cluster (RBAC enabled)
I enabled Dev Spaces on it
I created a ASP.Net Core 2.2 Web Project
I started the project with the option to debug it in "Azure Dev Spaces" with "Public" selected
The project started fine and the web page was shown (http://default.webk8.54fqhtlhqv.weu.azds.io/)
I stoped the debugger

Now my web page returns "Bad Gateway" and the "devspaces-proxy" log returns this:
Accepted outer connection from <IP_ADDRESS>:47390
Error opening inner connection for <IP_ADDRESS>:47390 to <IP_ADDRESS>:80: Connection refused <IP_ADDRESS>:80
Reset outer connection from <IP_ADDRESS>:47390
Disposed connections related to <IP_ADDRESS>:47388

Shouldn't I be able to access the page even after I stoped debugging or am I missing something here ?

Dev Spaces is supposed to restart the original process in the container after a debug session ends. Sometimes this can take a little time, but it seems like you are getting the error persistently. Is there anything in the stdout log from the pod that would indicate whether the process got restarted?

I can't find any information about a process getting started.
The only thing I see is:
The inner connection from <IP_ADDRESS>:39241 was closed
Disposed connections related to <IP_ADDRESS>:39241

and that's coming from devspaces-proxy.
(I'm using log viewer from inside Azure for the k8 cluster)

This is driving me nuts...
I removed my intire AKS cluster.
I then recreated a new cluster using the Azure portal (West Europe) with RBAC not enabled.
I then enabled dev spaces using the azure portal.
After that I created a new ASP.Net Core Web Project and selected my AKS Dev Space using the "default" namespace.
Same problem again. I can view the site when debuging.
When I stop debugging, I get a "Bad Gateway" back.
@stepro Can you please try and reproduce this and see if it works on your end?

Eneuman, are you using Visual Studio or VSCode? If you use Visual Studio, can you upgrade to latest extension? We had a bug (fixed around early March) that could cause something like this.
Otherwise, DevSpace tries to restart the process after debugging. If you execute into the container (e.g., using 'kubectl exec' command or via the K8s dashboard), do a 'ps aux' and check whether the desired process is running or not. My guess is, it is not running.
The command we use to restart the process in defined in the 'azds.yaml' file, such as:
command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"]
if this command is incorrect, or it crashes, you will also see a behavior like this. Try run this command in the container and does it work?

Im using VS 2019 with latest version of the DevSpaces extension.
PS Aux shows me this:
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.0   4280   736 ?        Ss   21:09   0:00 sh -c /.azds-agent/azds-agent.sh run > /tmp/devhostagent.log
root         12  0.0  0.0   4280   708 ?        S    21:09   0:00 /bin/sh /.azds-agent/azds-agent.sh run
root         14  0.3  1.1 11785344 92032 ?      Sl   21:09   0:03 /.azds-agent/linux/azds-agent run
root        350  0.0  0.0  36636  2912 ?        Rs   21:26   0:00 ps aux

what's your Dockerfile.develop and azds.yaml looks like?

Vanilla:
FROM mcr.microsoft.com/dotnet/core/sdk:2.2
ARG BUILD_CONFIGURATION=Debug
ENV ASPNETCORE_ENVIRONMENT=Development
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
EXPOSE 80

WORKDIR /src
COPY ["WebK8/WebK8.csproj", "WebK8/"]

RUN dotnet restore "WebK8/WebK8.csproj"
COPY . .
WORKDIR "/src/WebK8"
RUN dotnet build --no-restore "WebK8.csproj" -c $BUILD_CONFIGURATION

RUN echo "exec dotnet run --no-build --no-launch-profile -c $BUILD_CONFIGURATION --" > /entrypoint.sh

ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

kind: helm-release
apiVersion: 1.1
build:
  context: ..
  dockerfile: Dockerfile
install:
  chart: charts/webk8
  values:
  - values.dev.yaml?
  - secrets.dev.yaml?
  set:
    replicaCount: 1
    image:
      repository: webk8
      tag: $(tag)
      pullPolicy: Never
    ingress:
      annotations:
        kubernetes.io/ingress.class: traefik-azds
      hosts:
      # This expands to form the service's public URL: [space.s.][rootSpace.]webk8.<random suffix>.<region>.azds.io
      # Customize the public URL by changing the 'webk8' text between the $(rootSpacePrefix) and $(hostSuffix) tokens
      # For more information see https://aka.ms/devspaces/routing
      - $(spacePrefix)$(rootSpacePrefix)webk8$(hostSuffix)
configurations:
  develop:
    build:
      dockerfile: Dockerfile.develop
      useGitIgnore: true
      args:
        BUILD_CONFIGURATION: ${BUILD_CONFIGURATION:-Debug}
    container:
      sync:
      - "**/Pages/**"
      - "**/Views/**"
      - "**/wwwroot/**"
      - "!**/*.{sln,csproj}"
      command: [dotnet, run, --no-restore, --no-build, --no-launch-profile, -c, "${BUILD_CONFIGURATION:-Debug}"]
      iterate:
        processesToKill: [dotnet, vsdbg]
        buildCommands:
        - [dotnet, build, --no-restore, -c, "${BUILD_CONFIGURATION:-Debug}"]

VS says:
Service 'webk8' port 'http' is available at http://default.webk8.7w66vttsps.weu.azds.io/
Service 'webk8' port 80 (http) is available via port forwarding at http://localhost:51055
Completed warmup for project 'WebK8' in 2 seconds.

Hmm.. Running kubectl describe ingress shows this
Name:             webk8
Namespace:        default
Address:          <IP_ADDRESS>
Default backend:  default-http-backend:80 (<none>)
Rules:
  Host                                  Path  Backends
  ----                                  ----  --------
  default.webk8.7w66vttsps.weu.azds.io
                                        /   webk8:http (<none>)
Annotations:
  kubernetes.io/ingress.class:  traefik-azds
Events:                         <none>

none? Shouldn't there be an internal IP there ?

Eneuman, your azds.yaml and Dockerfile.develop look Okay to me. Can the 'kubectl describ eingress' looks okay as well. A possibility is, the project crashes when starting. Can you exec into the container and try start your code manually by running this:
dotnet run --no-build --no-launch-profile -c Debug
and if there is any problem starting.
I can help you take a look if you send me your proejct<EMAIL_ADDRESS>

kubectl exec webk8-b78884cf6-wjr7g "dotnet run --no-build --no-launch-profile -c Debug"
shows this:
Defaulting container name to webk8.
Use 'kubectl describe pod/webk8-b78884cf6-wjr7g -n default' to see all of the containers in this pod.
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: \"dotnet run --no-build --no-launch-profile -c Debug\": executable file not found in $PATH": unknown
command terminated with exit code 126

and ls reveals this:
Dockerfile.develop
Pages
Program.cs
Properties
Startup.cs
WebK8.csproj
appsettings.Development.json
appsettings.json
bin
obj
wwwroot

remove the "" and add '--'. Also if you launch with Release configuration, replace '-c Debug' with '-c Release'
kubectl exec webk8-b78884cf6-wjr7g -- dotnet run --no-build --no-launch-profile -c Debug

Defaulting container name to webk8.
Use 'kubectl describe pod/webk8-b78884cf6-wjr7g -n default' to see all of the containers in this pod.
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Development
Content root path: /src/WebK8
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.

Now it's answering :)

But after I stop the debugger, it wont start again

the 'azds-agent' process running inside the container should relaunch the process after debugging is done. can you check the logs of the container?
kubectl logs  -c webk8
if you can send me the project, I can help you take a look. I've tried the same scenario with latest VS 2019 and everything seems to work, i.e., after I stop debugging, wait a few seconds (for the process to relaunch) I can still access my web page from browser.

Running kubectl logs -c webk8 -p webk8-785957c9cb-9xmtq
Gives me this error:
Error from server (BadRequest): previous terminated container "webk8" in pod "webk8-785957c9cb-9xmtq" not found

I have the same problem using VS 2019 16.2 Preview 2

There are a few changes to the Dev Spaces extension in VS 2019 16.2 Preview 3 that make project warmup behavior less aggressive; an unnecessary warmup event to refresh the service running in your space could have left the network gateway offline until it was restarted by your debugging session.
If you have the chance, could you try your scenario again with Preview 3?

I just tried the latest Preview 3 but with same result.
As soon as I press the "Stop debugging" button in VS, I get a "Starting warmup for project" in Dev Spaces output window, and the site starts to return "Bad gateway"

As a quick workaround, you can disable the warmup behavior in the VS tooling through the Visual Studio Options menu (Tools/Options). Under the "Azure Dev Spaces Tools" settings entry there's an option "Automatically warm up project with Azure Dev Spaces" that's checked by default. If you uncheck that option, the tooling won't execute any warmup steps. The impact would be a slower initial build when starting a project in a space for the first time, but it should prevent the scenario that seems to be shutting down the gateway in your space after you stop debugging.

You workaround works great! After uncheck the box, the site does not go down.
I do however see a short (10 sec) delay between pushing the stop debugging button and before I can browse the site again. In this time, I still see the "Bad gateway" error. I think this is abit strange. Im accessing my public service (with full dns name) so there must be a problem for the ingress controller to contact my service right after I stop debugging, but it somehow fixes it after a few sec.
Is this by design ?

After pushing the stop debugging button, DevSpaces agent will terminate the previous debugging session (kill processes) and re-launch the process. During this period of time, you will see BadGateway error before the relaunched process binds to the network port and start serving.

So it’s nothing to worry about then :)
Thanks for the explanation!


Filtering on attribute search

Fixes #2

Added new attribute search box.
Allows filtering by searching all attribute values for an exact match or, if input of the form {attribute_name:value} is passed, it will filter on that specific attribute for an exact match of the value.

lgtm


Allow non-standard currencies to be normalized into known ones

The list is lifted from https://github.com/Shopify/active_utils/blob/master/lib/active_utils/currency_code.rb except for PES - according to https://www.currency-iso.org/dam/downloads/lists/list_three.xml it was withdrawn on 1986 so it's unlikely we'll see those in transactions.
We should definitely look into upgrading our currency database because like #85 it turns out to be incomplete.

After dealing with this stuff some more in the mean time, I've come to regard this kind of normalization as a bad thing and should be left up to the application if it's desired.


197 login

Resolves #001
Description

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update
Documentation update

How Has This Been Tested?

Screenshots

Looks like the other PR has all these changes so I'm closing this one. Thanks for the PR!


PartialImport WOH fails if any of the tracks mentioned in the source SMIL are not in the source flavours

The PartialImport WOH processes tracks from its source flavours based on a given source SMIL.
Currently, the whole source SMIL is iterated to find matching source tracks, no matter the specified source-keys. This leads to exceptions being thrown when the corresponding track to a given SMIL-Id can not be found, for example by not including the flavor where the track resides.
No track matching smil Track-id: 610998d9-36fc-43cb-8fdc-a1d8f49be846

To Reproduce
Steps to reproduce the behavior:

Create a workflow containing the PartialImport Operation. It should have presenter/source as one of its souce flavours.
Use the Rest Ingest API to create a mediapackage.
Add at least two tracks to the mediapackage, one with flavor presenter/sourceand one with flavor presenter/usedForSomethingElse
Ingest it and start the workflow you created
See error

Environment Information

Opencast version r/8.x and develop

Since it is basically an internal communication between ingest endpoint and workflow operation, does it really make sense to use SMIL at all? What we really need is just a list of the flavor (or other identifying mark for tracks) and the start position, don't we?

I suppose defining tracks by flavor could work as well, but might be unintuitive, as you would probably have to do something like source/presenter-1, source/presenter-2 and so on when ingesting. Something you have to do nowhere else afaik.
Also getting rid of SMIL is probably a much bigger task than what would be necessary to fix this issue. Might be worth a new issue :D

Solved by #2316, closing


Moving the latest changes from Stash

Moving the latest Transformer Lambda changes to GitHub repo. SAM template modifications.
The deployment was successfully tested end to end.

All comments are fixed.


Multiple streamlisteners possible?

Hello! I was wondering if I could get some clarification on limits on the number of open streams you can have with a single account.
What I've tried:
Made a simple streamlistener based on the tutorial here: http://docs.tweepy.org/en/latest/streaming_how_to.html. I then tried running 2 instances of that script simultaneously. It seems that I can run two scripts with no trouble but starting three or more leads to unpredictable behavior. Sometimes the new script runs, sometimes it shuts down with no exceptions raised.
I've come across posts saying that you are only allowed to have one open stream at a time, and starting a new stream causes the old one to be killed. This is not the behavior I am seeing. Haven't been able to find anything in the official docs regarding this topic, would appreciate some clarification.
Thanks!

Twitter's documentation for statuses/filter says:

One filter rule on one allowed connection, disconnection required to adjust rule

https://developer.twitter.com/en/docs/tweets/filter-realtime/overview
In practice, there might be some leeway for two or three simultaneous streams so that you can have redundancy in case a stream unexpectedly disconnects, but that is the documented limit.


[FEATURE] icons which have meanings

Add notice when using icons which have meanings on top of every page that use them. Like ESDC does on their curriculum page

Links that only work within the Government of Canada firewall are marked with  Icon

Created in #149


Iox #285 improve unit test coverage for sharedchunk-mempool-mepooconfig

Pre-Review Checklist for the PR Author

[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed
[ ] Assign PR to reviewer

Notes for Reviewer
code contributed by @georgemathewjerrin
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

Post-review Checklist for the Eclipse Committer

[ ] All checkboxes in the PR checklist are checked or crossed out
[ ] Merge

References

Partly closes #285

@nihalchari @georgemathewjerrin Hi, i'm very sorry to say it, but this PR links to the wrong issue. #285 is for adding cmake tools and stresstests and not for extending unittests. It is better to not mix up things too much in the issues, because it is later  needed for traceability.
As is see you are adding tests to iceoryx_posh right? It make sense to create a separate issue for that where all test enhancements for posh are collected.

@nihalchari @georgemathewjerrin Hi, i'm very sorry to say it, but this PR links to the wrong issue. #285 is for adding cmake tools and stresstests and not for extending unittests. It is better to not mix up things too much in the issues, because it is later  needed for traceability.
As is see you are adding tests to iceoryx_posh right? It make sense to create a separate issue for that where all test enhancements for posh are collected.

okay @dkroenke , i took this issue as it was mentioned "add more tests and tools"  earlier. Ill create new as suggested.

okay @dkroenke , i took this issue as it was mentioned "add more tests and tools"  earlier. Ill create new as suggested.

i created new issue, #496
@dkroenke  could you please add test label for it?
@georgemathewjerrin please rework the commits so that they link to new issue #496

i created new issue, #496
@dkroenke  could you please add test label for it?
@georgemathewjerrin please rework the commits so that they link to new issue #496

additional point: the branchname and pull-request title is wrong. Please link the PR then also to the issue.

additional point: the branchname and pull-request title is wrong. Please link the PR then also to the issue.

I closing this PR, i will create new one

I closing this PR, i will create new one


[Diagnostics] Fix crash in diagnoseSubscriptErrors

If there is a single candidate with a valid index type, don't assume
that such candidate always has a valid function type. There are
multiple examples of this crash we've seen but there is no reproducer
test-case unfortunately.
Resolves: rdar://problem/37565861

@swift-ci please smoke test


Feature: avoid external lib source-jar downloading based on build environment

We (Wix) want to introduce a feature that allows us to spare source-jars fetching for external libraries (imported using scala_maven_import_external) on specific build environments, regardless of the static value specified with fetch_sources.
I already have a working example of an environment variable based implementation, which seems to be suitable for our requirements. Before I take this forward, I would like to collect feedbacks and see whether this feature interests anyone outside of Wix, and if it does, I would like to discuss details such as where do we implement it and what method do we use and take it from there.
It's worth mentioning here that the scala_maven_import_external implementation is completely detached from jvm_maven_import_external that's built into Bazel.
Any thoughts or suggestions?

I'll just add that the fact that the implementation is detached is my fault
and I will make sure this is aligned in the next few months.
On Wed, Dec 12, 2018 at 9:46 AM Shai Nagar<EMAIL_ADDRESS>wrote:

We (Wix) want to introduce a feature that allows us to spare source-jars
fetching for external libraries (imported using
scala_maven_import_external) on specific build environments, regardless
of the static value specified with fetch_sources.
I already have a working example of an environment variable based
implementation, which seems to be suitable for our requirements. Before I
take this forward, I would like to collect feedbacks and see whether this
feature interests anyone outside of Wix, and if it does, I would like to
discuss details such as where do we implement it and what method do we use
and take it from there.
It's worth mentioning here that the scala_maven_import_external
implementation is completely detached from jvm_maven_import_external
https://github.com/bazelbuild/bazel/blob/49b7d05c9d51371936616548a181f1cf12e95323/tools/build_defs/repo/jvm.bzl#L212
that's built into Bazel.
Any thoughts or suggestions?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/652, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF4_d5VBzCulpogfXtn3nCBUwxVDnks5u4LRagaJpZM4ZO5bA
.


Possible to make the setErr as public in baseCmd?

We are going to implement the Redis read/write splits based on go-redis, and it may want to emit the error before sending the command to the Redis server(like "no slave was alive"). It would be convenient if baseCmd exports the setError.
any advice? thanks :)

If making setErr public is the only requirement - just send a PR. It should be a small change.

@vmihailenco ok, thanks for the reply.


Data links in example Excel template are broken

The url's I tried for Arctos were all broken for the example Excel Template

Thanks Neil.
I've removed the URLs; it is only example data anyway.  (The publisher can fix their real in their own time.)


using Promise.all is slower than using a series of promises for file.get()

Environment details

OS: Pop_OS!
Node.js version: v9.11.2 & v11.2.0
npm version: 5.7.1 & 6.4.1
@google-cloud/storage version: 2.4.2

Steps to reproduce

run the following script

const { Storage } = require("@google-cloud/storage");
const { google } = require("googleapis");
const _ = require("lodash");
const debug = require("debug");

const bucketName = "dl-test-bucket";
const count = 30;
const testText = _.times(100)
  .map(
    n => `This is test text ${n}
`
  )
  .join("");

const resetBucket = async b => {
  const [exists] = await b.exists();
  if (exists) {
    await b.deleteFiles();
    // await b.delete();
    return;
  }

  await b.create();
  return;
};

const series = arr => {
  return arr.reduce((acc, pf) => {
    return acc.then(r => {
      return pf().then(pr => [...r, pr]);
    });
  }, Promise.resolve([]));
};

const run = async () => {
  const s = new Storage({ projectId: process.env.PROJECT_ID });
  console.log("projectId:", await s.authClient.getProjectId());
  const b = s.bucket(bucketName);
  console.log("resetting bucket");
  await resetBucket(b);
  const filenames = _.times(count).map(n => `test-file-${n}.txt`);
  console.log("running...");
  console.time("save");
  // was using parallel but has the same issue as below..
  const saved = await series(
    filenames.map(n => async () => {
      const f = b.file(n);
      await f.save(testText);
      return f;
    })
  );
  console.timeEnd("save");

  console.time("serialGet");

  const serialResult = await series(filenames.map(p => () => b.file(p).get()));
  console.timeEnd("serialGet");

  console.time("parallelGet");

  const parallelResult = await Promise.all(filenames.map(p => b.file(p).get()));
  console.timeEnd("parallelGet");
};

run().catch(e => console.error(e));

Expected: The duration logged waiting for the Promise.all should be be close to the duration logged by the serial download result.
Actual: The duration waiting for the Promise.all is consistently slower than the duration logged for the serial download, typically 8 times slower or thereabouts:
save: 37536.640ms
serialGet: 8356.884ms
parallelGet: 63302.844ms
#...
resetting bucket
running...
save: 35637.116ms
serialGet: 7373.296ms
parallelGet: 63324.513ms

Maybe I'm using the library incorrectly?

After further investigation this appears to be a more general issue - not related to @google-cloud/storage.

@edeustace do you have any recollection of what the issue was? I've noticed something similar, doing five calls to file.download() in parallel results in each call being slower than if I doing them serially:
$ node download-parallel.js
Read 250923 bytes in 424 ms
Read 250923 bytes in 427 ms
Read 250923 bytes in 429 ms
Read 250923 bytes in 432 ms
Read 250923 bytes in 450 ms

$ node download-serial.js
Read 250923 bytes in 281 ms
Read 250923 bytes in 149 ms
Read 250923 bytes in 131 ms
Read 250923 bytes in 126 ms
Read 250923 bytes in 126 ms

My theory is that when you do the calls serially, there's some kind of auth that happens on the first one and is skipped on subsequent calls. But when they're done in parallel, all of them do that auth step.

@danvk - sorry a bit rusty on this one - I think I started testing node network calls in general and saw similar issues, I'll have to see if I can find some samples.


Redis Database

Redis servers usually come with several databases to keep application data separate from each other. I use database 0 for php sessions, 1 for database objects, and 2 for misc data.
Would it be possible to add a configuration option in the nginx conf to select a specific database?

Hi, this feature was requested earlier, it is being tracked at https://github.com/pagespeed/mod_pagespeed/issues/1609
You can subscribe to that issue to get updates.
Closing this one as a duplicate so we can track in one place.


Behavioral inconsistency with BuildProjectReferences=false

Steps to reproduce
Download and unzip the following:
repro.zip
Scenario 1

Navigate to c\
Run msbuild
Notice the contents of c\bin include a.txt, b.txt, c.txt
Delete c\bin
Run msbuild /p:BuildProjectReferences=false
Notice the contents of c\bin include b.txt, c.txt. a.txt is missing!

Scenario 2

Open repro.sln
In VS, build the Solution
Notice the contents of c\bin include a.txt, b.txt, c.txt
Delete c\bin
In VS, build just the C project
Notice the contents of c\bin include b.txt, c.txt. a.txt is missing!

Root Cause
The root cause for this issue is because of the following:

Target GetCopyToOutputDirectoryItems is called on @(_MSBuildProjectReferenceExistent)
@(_MSBuildProjectReferenceExistent) is populated by the _SplitProjectReferencesByFileExistence target, which uses @(ProjectReferenceWithConfiguration)
@(ProjectReferenceWithConfiguration) is populated by the AssignProjectConfiguration target. However, the _SplitProjectReferencesByFileExistence does not declare that it depends on AssignProjectConfiguration!!!
When building a project, AssignProjectConfiguration happens to execute before _SplitProjectReferencesByFileExistence, so all is good.
When BuildProjectReferences=true, project references are recursively built so GetCopyToOutputDirectoryItems will have already been called on the project reference and the results would be cached
When BuildProjectReferences=false, project references are not recursively built so the recursive call to GetCopyToOutputDirectoryItems ends up calling _SplitProjectReferencesByFileExistence, which sees that @(ProjectReferenceWithConfiguration) is empty. Effectively this makes GetCopyToOutputDirectoryItems only go "1 level deep" when BuildProjectReferences=false

Other notes:

VS adds BuildProjectReferences=false, but because it uses the target result cache within the same build session, GetCopyToOutputDirectoryItems is cached from the dependencies and works correctly. However when building a specific project, the dependencies might not be built and thus would not be populated.
A possible fix is just to have _SplitProjectReferencesByFileExistence depend on AssignProjectConfiguration

Environment data
MSBuild version: 16
OS info: Win10

This is related to (possibly the same as?) #1054.
One possible path forward would be to add explicit controls to either:

Be transitive all the time, or
Never be transitive.

Then you could at least opt into a reasonable behavior.
To always be transitive, we think a target like this could work:
<Target Name="EnsureContentIsTransitive"
        DependsOnTargets="AssignProjectConfiguration;_SplitProjectReferencesByFileExistence"
        Condition=" '$(MSBuildCopyContentTransitively)' == 'true' " />

I'm scared of changing the confusing existing/default behavior, even though I agree it's confusing and bad. But I can't concretely point to a scenario that would break (if you can I'd love to hear about it!).


VSCode-LLDB stuck when trying to launch the program.

Which OS: Linux Ubuntu 18.04.1 LTS
Which extension version: 1.0.0
Which LLDB version: 6.0.0
Which VSCode version: 1.27.2
What is the problem and how did you get there:
When launching my project (Unreal Engine 4.20.3), the preLaunchTask runs (build), but then LLDB is stuck on the following steps:
Display settings: variable format=auto, show disassembly=auto, numeric pointer values=off, container summaries=on.
Launching /home/username/Engines/UnrealEngine/Engine/Binaries/Linux/UE4Editor-Linux-Debug /home/username/Programming/ProjectFolder/ProjectName.uproject -debug
Pooling OS allocations (pool size: 8016 MB, maximum allocations: 54195).
Using binned2.
2 locations added to breakpoint 2
2 locations added to breakpoint 2

The Unreal Engine editor will launch only if I kill LLDB with VSCode Stop button (red square).
What did you expect to have happened instead: Unreal Engine Editor (the project to be launched) should launch through LLDB. I tried to do it manually in the Terminal and it works. So it seems to come from either VSCode or VSCode-lldb.
LLDB Output:
Starting new session with:
{ name: 'Launch Configuration',
  request: 'launch',
  preLaunchTask: 'ProjectName Linux Debug Build',
  program: '/home/username/Engines/UnrealEngine/Engine/Binaries/Linux/UE4Editor-Linux-Debug',
  args:
   [ '/home/username/Programming/ProjectFolder/ProjectName.uproject',
     '-debug' ],
  cwd: '/home/username/Engines/UnrealEngine',
  type: 'lldb' }
(lldb) command script import '/home/username/.vscode/extensions/vadimcn.vscode-lldb-1.0.0/adapter'
bind: Invalid command `enable-meta-key'.
(lldb) script adapter.main.run_tcp_session(0, 'e30=')
Listening on port 44991

My launch config:
{
	"name": "ProjectNameEditor (Debug)",
        "request": "launch",
	"preLaunchTask": "ProjectNameEditor Linux Debug Build",
	"program": "/home/username/Engines/UnrealEngine/Engine/Binaries/Linux/UE4Editor-Linux-Debug",
	"args": [
		"/home/username/Programming/ProjectFolder/ProjectName.uproject",
		"-debug"
	],
	"cwd": "/home/username/Engines/UnrealEngine",
	"type": "lldb"
}

I can also confirm that this happens

Sorry, I don't have access to UE to debug this directly.
Would you mind adding "lldb.logLevel": 0 into your workspace configuration and posting LLDB log then?   Maybe I can spot something in the verbose log.

[11:23:23 debugsession] Launching: program='/path/to/UE4Editor',  ...

responds with:

[11:23:23 debugsession] Command result: null
[11:23:23 debugevents] $$$ Debug event: Process::ProcessEventData 0x5583aaa542b0 Event: broadcaster = 0x5583aaf46e38 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x5583aaf46e00 (pid = 20637), state = running}
[11:23:23 wireprotocol] tx: {"request_seq":2,"command":"launch","body":null,"type":"response","success":true}
[11:23:23 debugsession] Command result: null

+1, happened after recent update.

My err msg is:
--- Checking version ---
lldb version 7.0.1
--- Checking Python ---
bind: Invalid command `enable-meta-key'.
*** An exception was raised during self-test ***
{ Error: The debugger did not start within the allotted time.
at Timeout.setTimeout [as _onTimeout] (/home/k/.vscode/extensions/vadimcn.vscode-lldb-1.1.2/out/util.js:190:27)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5) code: 'Timeout', stdout: '' }

Mine LLDB session went ahead, but still seemed to get stuck. The native trick did the thing for me though.

Native adapter is now the default, so closing this.

    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug executable 'compliance'",
            "cargo": {
                "args": [
                    "run",
                    "--bin=compliance",
                    "--package=compliance"
                ],
                "filter": {
                    "name": "compliance",
                    "kind": "bin"
                }
            },
            "args": [],
            "cwd": "${workspaceFolder}"
        },
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug unit tests in executable 'compliance'",
            "cargo": {
                "args": [
                    "test",
                    "--no-run",
                    "--bin=compliance",
                    "--package=compliance"
                ],
                "filter": {
                    "name": "compliance",
                    "kind": "bin"
                }
            },
            "args": [],
            "cwd": "${workspaceFolder}"
        }
    ]
}```

i'm not able to debug via wsl 2.0


Validate and submit petition create form step 1

Validation can probably copy a lot from how signature form does validation. When validation succeeds, the form values should save in redux and then move to step 2, which is covered in #339.

@shakalee14 I have a refactor of the petition create stuff in https://github.com/MoveOnOrg/mop-frontend/pull/279. Sorry that it might conflict with the things you have locally for this. Let me know if you want me to take this over.

Further work depends on https://github.com/MoveOnOrg/mop/issues/284


Coudl you check my installation folder?

https://github.com/tencent-ailab/IP-Adapter#installation
I am following this command
But I don't know which folder in my web-ui it runs from.
D:\01_sd.webUI\stable-diffusion-webui\extensions\sd-webui-controlnet
Is it okay to install it here?
I downloaded a large file automatically, but I'm not sure if IP adpater is working.
Error.msg
PS D:\01_sd.webUI\stable-diffusion-webui\extensions\sd-webui-controlnet> # install ip-adapter

pip install git+https://github.com/tencent-ailab/IP-Adapter.git
download the models
cd IP-Adapter
git lfs install
git clone https://huggingface.co/h94/IP-Adapter
mv IP-Adapter/models models
mv IP-Adapter/sdxl_models sdxl_models

Collecting git+https://github.com/tencent-ailab/IP-Adapter.git
Cloning https://github.com/tencent-ailab/IP-Adapter.git to c:\users\kijae\appdata\local\temp\pip-req-build-dudx7ho7
Running command git clone --filter=blob:none --quiet https://github.com/tencent-ailab/IP-Adapter.git 'C:\Users\kijae\AppData\Local\Temp\pip-req-build-dudx7ho7'
Resolved https://github.com/tencent-ailab/IP-Adapter.git to commit 78de85f9e6457aa070e9b01eaf32286f1dacf36c
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
cd : 'D:\01_sd.webUI\stable-diffusion-webui\extensions\sd-webui-controlnet\IP-Adapter' The path does not exist and cannot be found.

cd IP-Adapter

  + CategoryInfo          : ObjectNotFound: (D:\01_sd.webUI\...lnet\IP-Adapter:String) [Set-Location], ItemNotFoundException
  + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

Updated Git hooks.
Git LFS initialized.
Cloning into 'IP-Adapter'...
remote: Enumerating objects: 92, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 92 (delta 14), reused 0 (delta 0), pack-reused 51
Unpacking objects: 100% (92/92), 396.13 KiB | 101.00 KiB/s, done.
Filtering content: 100% (22/22), 18.33 GiB | 7.56 MiB/s, done.
PS D:\01_sd.webUI\stable-diffusion-webui\extensions\sd-webui-controlnet>

for webui, you should follow this https://github.com/Mikubill/sd-webui-controlnet/discussions/2039


Adding public SSH key while creating a VM using ComputeManagementClient issue

I am working on creating a virtual machine using this logic: http://azure-sdk-for-python.readthedocs.io/en/latest/resourcemanagementcomputenetwork.html#create-virtual-machine. In this I was hard coding the username and password to login until now and it works fine. But now, I want to add my public SSH key while creating a VM to allow login using ssh keys.
All I could find to do that belonged to the legacy code section: https://github.com/Azure/azure-sdk-for-python/blob/master/azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py#L1290 where we can pass a configuration with the ssh key data. Is that recommended now to use or is there a way to do the same using the ComputeManagementClient way of creating a Virtual machine?

Hi @tmarballi
Yes, you can do it. Take a look at the VM sample in Python here:
https://github.com/Azure-Samples/virtual-machines-python-manage/blob/master/example.py#L280
The os_profile node should be like this (taken from here):
'os_profile': {
      'computer_name': VM_NAME,
      'admin_username': USERNAME,
      "linux_configuration": {
         "disable_password_authentication": True,
         "ssh": {
             "public_keys": [{
                  "path": "/home/{}/.ssh/authorized_keys".format(USERNAME),
                  "key_data": "ssh-rsa ABCD....."
             }]
        }
     }
}

If you don't use the dict syntax, you can still use the model instance:
http://azure-sdk-for-python.readthedocs.io/en/latest/ref/azure.mgmt.compute.models.html#azure.mgmt.compute.models.OSProfile

Great @lmazuel I was not able to find it until now! Thanks a ton! I will try using that!

This worked, so closing this issue! Thanks for your help!


docker: all dependencies are reinstalled on each run

current behaviour: all dependencies of teuthology-api (configured in setup.cfg) are reinstalled everytime docker container is started
expected behaviour: install dependencies before copying files (so changes in file won't require re-intalling dependencies) or cache

hey @VallariAg I would like to work on this.

@dikwickley sure, go ahead!

Yes, I am referring to caching them during the build step. Any changes in the root directory of teuthology-api will lead to reinstalling of all dependencies in the next build.
This might be helpful: https://docs.docker.com/build/cache/

Alright got it.

I searched about caching pip dependencies so it only re-installs if there is a change in requirements.txt, this might be useful in our use case - https://stackoverflow.com/a/57282479


refactor: remove redundant error channel on msg sent API

But also:

don't log out stream reset
feat: broadcast to return the peers to whom the msg was sent
chore: update comments and new error type

Closes #15

Codecov Report

Merging #16 (2934a39) into main (0b0d87f) will decrease coverage by 1.47%.
The diff coverage is 62.06%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   74.32%   72.84%   -1.48%
==========================================
  Files           9        9
  Lines         296      302       +6
==========================================
  Hits          220      220
- Misses         56       61       +5
- Partials       20       21       +1

Impacted Files
Coverage Δ

messenger.go
69.56% <52.63%> (-7.71%)
:arrow_down:

messenger_out.go
80.89% <77.77%> (+0.66%)
:arrow_up:

messenger_in.go
81.25% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add keyword 'repeat'

I was able to create and build a code like this
repeat = function(foo)
  print(foo)
end function

Then executing in the game
Compiler Error: unexpected keyword 'repeat' at start of line [line XX]

Thanks for reporting this should be fixed with version 3.3.7. Closing ticket for now.


Add function to set filename of recording on upload

Right now each recording is stored in a channel with filename "screenrec.mp4". As we also use the Files in Channel plugin, things get a bit messy when a couple of recordings are stored in the same channel...
Otherwise a real useful nice addon.

@jprusch
Thanks for your input. Using a hard-coded filename was indeed a simplification.
I'll make sure to address this next time I get a chance to work on this plugin.

@jprusch
I've just published a new release with this feature.

Perfect! Works like a charm! Thx


⚠ Bofrost.lu has degraded performance

In c78a789, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.lu performance has improved in 7d9c068 after 15 minutes.


[My Space] Fact of the day updates on every page reloading

Environment: Windows 10, Chrome 128.0.6613.114, 64-bit.
Reproducible: always
Build found: 14.10.2024
Steps to reproduce:

Login as user
Go to 'My space'
Pay attention to the 'Fact of the day' card
Reload page or change language

Actual result:
Fact of the day has different content
https://github.com/user-attachments/assets/d85028bf-7178-4ee5-9c71-8324a4468f00
Expected result:
Content of 'Fact of the day' changes every day (every 24 hours), not every reload

There is no content now

MS Edge

Google Chrome

Mozilla Firefox

Mozilla Firefox incognito
also here is only green box with fact of the day

Adding 2 languages to the fact of the day was implemented and merged on the backend side, but it is still under review on the front end

Hi,
Ok.
I will check it in the end of the week again.
If you know some news earlier, please share with me.
Have a nice day
Solomija

From: yuliiakaras @.>
Sent: Wednesday, October 23, 2024 2:23 PM
To: ita-social-projects/GreenCity @.>
Cc: Mikusja @.>; Comment @.>
Subject: Re: [ita-social-projects/GreenCity] [My Space] Fact of the day updates on every page reloading (Issue #7616)
Adding 2 languages to the fact of the day was implemented and merged on the backend side, but it is still under review on the front end
—
Reply to this email directly, view it on GitHubhttps://github.com/ita-social-projects/GreenCity/issues/7616#issuecomment-2431791062, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJ4WGYJLEBMDULGPXT7BEKDZ46BLHAVCNFSM6AAAAABP4U4TICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZRG44TCMBWGI.
You are receiving this because you commented.Message ID: @.***>


Unable to exclude directories

I find EasyGrep a little hard to use for a couple of reasons - in most cases because (it seems) I'm unable to exclude directories. I'm a Node developer, so searching for any .js file recursively will immediately drop me into my huge node_modules directory - a great big time sink, and an unnecessary one.
Please add wildcard directory exclusions, or help me understand how to work around this issue.

What is your configuration? Not all programs support exclusions -- in particular vimgrep doesn't.

Ah, that would explain it I guess. Vimgrep was the culprit.

@dkprice can you please advise how to exclude directories like node_modules that @wjagodfrey mentioned? sorry, couldn't figure out from the documentation

The setting is called EasyGrepFilesToExclude. You'd configure this setting like:
e.g. let g:EasyGrepFilesToExclude=".svn,.git,node_modules"


Add Apple Trackpad camera controls

Resolves #3112.
As stated in the issue, we're trying to mimic Apple Maps on macOS. Shift + push away on the trackpad should always zoom in. Unfortunately, only Safari provides the value of the OS setting for natural scroll direction https://github.com/w3c/uievents/issues/57. On desktop, we're able to use a shell command to read it. The downside is that we don't detect if the user changes the setting while the app is open. I also don't know how to read this setting on Windows and Linux.

[ ] When should we load the OS setting?
[ ] Pinch to zoom
[ ] Multi-touch rotate

Omg yes!


update the path of installation document in README.md

Signed-off-by: Ryan<EMAIL_ADDRESS>
What type of PR is this?
/kind documentation

What this PR does / why we need it:
the old path is deprecated
Which issue(s) this PR fixes:

Fixes #

/lgtm

/approve


controller: Change CRUD helper to use httprouter instead of martini

refs #744
Still returns martini handler func for lookup
New helper funcs added for error and json responses

Typo in the commit message s/marini/martini.

fixed typo

@titanous comments addressed*
*httphelper.Error doesn't currently handle ErrNotFound or ct.ValidationError so we'll need to standardize on something for those.

LGTM pending minor comment


measure DC

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
need it since the regular sma plugin does not work with a datamanager
Describe the solution you'd like
like to install your plugin for the sma datamanager and like to measure the dc side of the inverter, such as the Core2 and tripower X
can u please add following:
Measurement.DcMs.Vol[0] ... Measurement.DcMs.Vol[11]
Measurement.DcMs.Amp[0] ... Measurement.DcMs.Amp[11]
Measurement.DcMs.Watt[0] ... Measurement.DcMs.Watt[11]
please, can u have a look and keep me posted.
Describe alternatives you've considered
reading the inverter trough modbus does not work and/or give wrong results
Additional context
i appreciated your work, tanx

hi,
i need some more information to add the channels.
could you provide a screenshot of the instantaneous values page with a filter set for "Measurement.DcMs.Vol" (and the other three)
The Name, Channel and Current Value fields should be visible.
Example (but this should show values for you):

please also include some informaton what kind of device thsi data is from.
Is this a solar inverter?

hi,
this is a screenshot of the SMA  EDMM-10 managing a SMA Tripower Core2 STP 110-60  which has 12 MPPT.
the same is true on the latest SMA Sunny Tripower X.
with your plugin i like to make a homeassistant dashboard where i can meassure/monitor the DC side of the inverter.
i have allready been poking in your code and found a file custom_components/sma_data_manager/sma/known_channels.py where i add the missing channels without result.

file custom_components/sma_data_manager/sma/known_channels.py where i add the missing channels without result.

thats the main thing that has to be done, so if that didn't work there might be something more going on...
Could you share the code you've added to the known_channels.py file so i can take a look?

on another note, are you able to see & enable the channels in the integration options page?

known_channels.zip
i have access to a SMA TripowerX, which has 3 MPPT's
i've modified the mentioned file known_channels.py with 9 new lines.
i restart ha, but i can't see the new enries in the pulldown menu:

can u have a loop please?
PS: if needed/usefull, i can give u access to my remote environment.

i restart ha, but i can't see the new enries in the pulldown menu:

are you able to scroll down in the list?
Are there any values for Measurement.DcMs.Vol[x], Measurement.DcMs.Amp[x] or Measurement.DcMs.Watt[x] in the list?

if not, could you add some print statement (or similar) before this line:
https://github.com/shadow578/homeassistant_sma_data_manager/blob/b8bebefb65c929308e23b39cfba19c6d121cd8b5/custom_components/sma_data_manager/config_flow.py#L322
please add print statements to dump both all_components and all_live_data in a way where the values are visible.
you'll probably have to iterate over the entries with a for loop.

known_channels.zip
this is the modified known_channels.py file
i'm not a python developper so i can't dump in a way where the values are visible.
can u reproduce the testcase in your environment?
many tanx.

chris,
sorry 2 disturb u, but did u had the chance for testing my modifications yet?
keep me informed please.

Hi @d01cid ,
sorry for the slow response on my end.
I've since been able to replicate the issue (turns out my PR inverters also report these kind of values).
i've created a PR that should add support for all the measurements you requested in the original issue, plus a few extra ones.

it would be very great if you could test the changes on your system before i merge them.
to do so, please manually clone the repo into the custom_components folder of your homeassistant, selecting the add/array-channels-support branch.

like 2 help but don't know what u mean.
i cloned the latest stuff from github but can not see the "add/array-channels-support" branch.
please let me know what 2 do


Create a general interface for the time integrator

Currently, the time integrator takes seven arguments as follow
time_integrator%step(u, v, w, du, dv, dw, dt)
We should consider instead to create a general interface taking flist_t as arguments such that the time integrator can be used for an arbitrary number of variables
time_integrator%step(sol, deriv, dt)
This will also simply the addition of unit test for the time integrator

I think it sounds good, we can also do a sanity check to make sure nvars of time_integrator matches with the list sizes.
It would be great if we could do
call time_integrator%step([u, v, w], [du, dv, dw], dt)

But I guess Fortran won't allow this, right? Array of pointer stuff in Fortran is a bit weird.
Then we'll have to dynamically assign them to lists in run and pass the lists, but I think it is okay.


Gitignored files and folders should be disabled from selection

Paths specified in gitignore are not files we work on thus should be ignored doing parent selection.

Hmmmmm, this should be implemented. I wonder if you have some sort of special case I'm not covering. For example, I just tested this out by making a test folder with two subfolders foo and node_modules. Since node_modules is ignored, when I select test, only foo and its contents are selected:

I suppose what you want is the .gitignore inside the folder you are selecting (web-extension) to be used. Is this right? I believe I have the extension implemented to use the .gitignore file in the root of the workspace, but I need to double check.


Show helpful error when node is run on a different network but with same network name

When the same network name (e.g. --ethereum-rpc ganache:...) is used with two different chains (e.g. two separate instances of Ganache; or one Ethereum mainnet and one testnet endpoint), the following warning will be logged:
Sep 17 22:17:18.482 WARN failed to poll for latest block: ErrorMessage {
  msg: "could not get block from Ethereum: RPC error: Error {
    code: ServerError(-32000),
    message: \"Key not found in database\",
    data: Some(Object({\"stack\": String(\"NotFoundError: Key not found in database\\n    at /usr/local/lib/node_modules/ganache-cli/build/cli.node.js:2:773948\\n    at /usr/local/lib/node_modules/ganache-cli/build/cli.node.js:2:776500\\n    at /usr/local/lib/node_modules/ganache-cli/build/cli.node.js:2:748581\\n    at ReadFileContext.callback (/usr/local/lib/node_modules/ganache-cli/build/cli.node.js:2:750214)\\n    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:352:13)\"), \"name\": String(\"NotFoundError\")}))
  }"
}

Doing this results in the Graph Node having an invalid latest block for this network. It will then get an error from Ethereum when calling eth_getBlockByHash with the hash of this block, which belongs to the previous chain but not the one in use at the time of the error.
Discovered in https://github.com/graphprotocol/graph-node/issues/375#issuecomment-422159481
Users shouldn't do this, but we should detect this mistake and show a more helpful error (and panic).

Detecting this isn't straightforward because we want to allow users to switch between Ethereum node addresses without resetting their database.
A few ideas for detecting this on block ingestor start-up:

Check if the net_version has changed but the network name is the same.
Ask the Ethereum node for the hash of the block at a specific (fixed) number (e.g. block 1). If the block is old enough, the hash should never change
Get the head block hash from database, and request that block from the Ethereum node. Detect the "Key not found in database" error. Note: unclear if we can rely on the error code being -32000, might be implementation-specific.

It looks like the "Key not found in database" error is Ganache-specific. The Eth RPC spec says that eth_getBlockByHash should return null if the block is not found.

A combination of the first two checks could do it. Let's use the genesis block. Would we have to store that in the network entry in the database as well for comparison?

Filed issue 906 on https://github.com/trufflesuite/ganache about getting Key not found instead of null

@timmclean Works for me!


Missing template attributes list refresh events

Template attributes list doesn't refresh when editing description and title fields in last graph edition pane.

Fixed in ca95fedf0296b7434692814c215a8270d4d79c56.


[Removal]: Request Removal from Denylist

Hotspot Name
Sparkly Lead Salmon
Hotspot b58 Address
112eWdTGYu85DoBvPDZcusWazRbpCfpJiRQXdFrc7dNtiZ47u9Zp
Discord Handle
No response
Hotspot Manufacturer
Heltec Automation
Removal Reason
My hot spot is on the denylist. Now they have been adjusted, corrected previous mistakes, and redeployed on the spot. Hope to be removed from the denylist. Thank you very much!
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

You should return the HNT you're not deserved by cheating as well.

lol corrected to right in front of a bug screen.  Clearly, you don't have a clue

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


s2i build, regression with 1.3.2

When using 1.3.2 release (latest release), it seems that  "docker.io" is added as prefix of the image.
I have the image wildfly/wildfly-s2i:1.0.1-jdk11-snapshot in the local docker repository, but s2i command line doesn't find it.
This image doesn't exist in docker.io.
It woks just fine with 1.3.1.
Docker version 20.10.21+azure-2, build baeda1f82a10204ec5708d5fbba130ad76cfee49
The logs:
INFO - Executing new S2I build with the command [s2i build --loglevel=5 --pull-policy if-not-present --context-dir=test/test-app-default-config -r=main -E "/tmp/tmpyu2hgquq" http://github.com/wildfly/wildfly-s2i wildfly/wildfly-s2i:1.0.1-jdk11-snapshot integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot --incremental ]...
2022-12-20 09:24:06,681 - root - ERROR - I1220 09:24:06.681036 18000 build.go:52] Running S2I version "v1.3.2"
2022-12-20 09:24:06,681 - root - ERROR - I1220 09:24:06.681158 18000 util.go:58] Getting docker credentials for wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681177 18000 util.go:74] Using credentials for pulling wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681181 18000 util.go:58] Getting docker credentials for integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681192 18000 util.go:74] Using credentials for pulling integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - W1220 09:24:07.854860 18000 build.go:167] could not inspect the builder image for labels: reading manifest 1.0.1-jdk11-snapshot in docker.io/wildfly/wildfly-s2i: errors:
2022-12-20 09:24:07,856 - root - ERROR - denied: requested access to the resource is denied
2022-12-20 09:24:07,856 - root - ERROR - unauthorized: authentication required
2022-12-20 09:24:07,856 - root - ERROR - I1220 09:24:07.856303 18000 docker.go:500] error inspecting image docker.io/wildfly/wildfly-s2i:latest: Error: No such image: docker.io/wildfly/wildfly-s2i:latest

me too.   I have the same problem

I have try v1.1.14 release, it have similar problem
The logs:
/bin/sh: /usr/libexec/s2i/assemble: Permission denied
Build failed
ERROR: An error occurred: non-zero (13) exit code from kubespheredev/nginx-centos7-s2ibuilder-sample:latest

I have almost the same problem starting with 1.3.2. In my case the image exists in docker.io, but s2i inexplicably uses the 'latest' tag rather than the one I specify. The 'latest' tag does not exist, so it fails.
(cekit4.5.0) bhdaniel@Brents-MacBook-Pro s2i1.3.2 % ./s2i --loglevel 5 build ~/repos/WASdev/websphere-liberty-s2i/test/test-app-rest ibmcom/websphere-liberty-s2i:<IP_ADDRESS>-java8 ibmcom/testapp -e DEPLOY_TO_APPS=true
I0104 08:56:16.426030   68942 build.go:52] Running S2I version "v1.3.2"
I0104 08:56:16.430621   68942 util.go:58] Getting docker credentials for ibmcom/websphere-liberty-s2i:<IP_ADDRESS>-java8
I0104 08:56:48.106413   68942 docker.go:500] error inspecting image docker.io/ibmcom/websphere-liberty-s2i:latest: Error: No such image: docker.io/ibmcom/websphere-liberty-s2i:latest
I0104 08:56:48.106606   68942 docker.go:487] Image "docker.io/ibmcom/websphere-liberty-s2i:latest" not available locally, pulling ...
I0104 08:56:49.498188   68942 docker.go:566] pulling image error : Error response from daemon: manifest for ibmcom/websphere-liberty-s2i:latest not found: manifest unknown: manifest unknown
I0104 08:56:49.507080   68942 docker.go:458] error inspecting image docker.io/ibmcom/websphere-liberty-s2i:latest: Error: No such image: docker.io/ibmcom/websphere-liberty-s2i:latest
I0104 08:56:49.509369   68942 build.go:170]
Error describing image:		unable to get docker.io/ibmcom/websphere-liberty-s2i:latest
Source:				/Users/bhdaniel/repos/WASdev/websphere-liberty-s2i/test/test-app-rest
Output Image Tag:		ibmcom/testapp
Environment:			DEPLOY_TO_APPS=true
Labels:
Incremental Build:		disabled
Remove Old Build:		disabled
Builder Pull Policy:		if-not-present
Previous Image Pull Policy:	if-not-present
Quiet:				disabled
Layered Build:			disabled
Docker Endpoint:		unix:///var/run/docker.sock
Docker Pull Config:		/Users/bhdaniel/.docker/config.json
Docker Pull User:

I0104 08:56:49.516142   68942 docker.go:500] error inspecting image docker.io/ibmcom/websphere-liberty-s2i:latest: Error: No such image: docker.io/ibmcom/websphere-liberty-s2i:latest
I0104 08:56:49.516203   68942 docker.go:487] Image "docker.io/ibmcom/websphere-liberty-s2i:latest" not available locally, pulling ...
I0104 08:56:50.806413   68942 docker.go:566] pulling image error : Error response from daemon: manifest for ibmcom/websphere-liberty-s2i:latest not found: manifest unknown: manifest unknown
I0104 08:56:50.810043   68942 docker.go:458] error inspecting image docker.io/ibmcom/websphere-liberty-s2i:latest: Error: No such image: docker.io/ibmcom/websphere-liberty-s2i:latest
E0104 08:56:50.811514   68942 errors.go:286] An error occurred: unable to get docker.io/ibmcom/websphere-liberty-s2i:latest
E0104 08:56:50.811582   68942 errors.go:287] Suggested solution: check image name, or if using a local image set the builder image pull policy to "never"
I0104 08:56:50.811623   68942 errors.go:289] Details: Error response from daemon: manifest for ibmcom/websphere-liberty-s2i:latest not found: manifest unknown: manifest unknown
E0104 08:56:50.811635   68942 errors.go:291] If the problem persists consult the docs at https://github.com/openshift/source-to-image/tree/master/docs. Eventually reach us on freenode #openshift or file an issue at https://github.com/openshift/source-to-image/issues providing us with a log from your build using log output level 3.

This bug was introduced by #1068. In generate.go, manageConfigImageLabelsBuildImageName sets the builder image to the docker reference name which will not have tag information
https://github.com/openshift/source-to-image/blob/78363eee76a5c52f23df3bbffb4e2e8393b4a043/pkg/cmd/cli/cmd/generate.go#L109
Commenting out that line works around the problem. Otherwise, s2i will always try to use the latest tag for the builder image.

/remove-lifecycle stale
This is still a major bug that prevents S2I from being able to use builders that don't publish a latest tag and causes it to silently use the wrong builder version when someone requests a specific tag.

If someone would like to put together a pull request + test for this we would be happy to review it.

@brenthdaniel I moved the issue that you were having to https://github.com/openshift/source-to-image/pull/1123 to be dealt with separately.

I have try v1.1.14 release, it have similar problem The logs: /bin/sh: /usr/libexec/s2i/assemble: Permission denied Build failed ERROR: An error occurred: non-zero (13) exit code from kubespheredev/nginx-centos7-s2ibuilder-sample:latest

That is a different problem, please open a different issue for that.

I can not replicate this issue using the latest docker (24.0.2) and S2I (1.3.7). When I build an image using docker build .... it automatically adds the docker.io as a prefix and then it is able to find it locally.

No updates from OP since June, closing.
/close


fix(typo): remove unnecessary .

It is better with ; or ., not both.
Or you can use . instead of ; ( same the normal sentence)

perfect! thanks


Use new kind= syntax for libs throughout Cargo

This should inadvertently fix #1401

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

:umbrella: The latest upstream changes (presumably #1458) made this pull request unmergeable. Please resolve the merge conflicts.

@bors: r+ 7756fe6

:hourglass: Testing commit 7756fe6 with merge ff62f95...

:broken_heart: Test failed - cargo-win-64

@bors: retry
On Thu, Mar 26, 2015 at 2:53 PM, bors<EMAIL_ADDRESS>wrote:

[image: :broken_heart:] Test failed - cargo-win-64
http://buildbot.rust-lang.org/builders/cargo-win-64/builds/577
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/1405#issuecomment-86731591.

:zap: Previous build results for cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32 are reusable. Rebuilding only cargo-win-64...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64


ZM: Optimized computation of multilinear quotients

The ZeroMorph paper now includes an optimal algorithm for computing the multilinear quotients $q_k$. Implement this in place of the less-than-optimal version. (Tohru has expressed interest in trying to do this).

Closed with 3061


Failed to Initialise

Seems to have stopped working this morning, cloud and app working fine.
The only log error I can see is:
TypeError: unsupported operand type(s) for -: 'str' and 'float'

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 84, in _async_update_data
inverterdata["Solar to Load"] = _pv - _feedin
^~~~~

Same for me

I'll close this issue to prevent duplication.


include archival links in Forest readme

Issue summary

Add the Forest-generated Filecoin archival link to the readme.
Other information and links
https://forest-archive.chainsafe.dev/list/

It's there.


SEP-10 Multisig Support

Largely a translation of the functionality added to the Python SDK
Changes Summary:

Added the Stellar::AccountSigner class
Added the Stellar::SEP10 class, methods:

build_challenge_tx (moved from Stellar::Client)
read_challenge_tx (renamed from Stellar::Client.verify_challenge_tx)
verify_challenge_transaction_signers
verify_challenge_transaction_threshold
verify_challenge_transaction

should I rename this to verify_challenge_signed_by_client?

verify_transaction_signatures
verify_tx_signed_by

Added signers and thresholds attributes to Stellar::Account
Added load_account_signers method to Stellar::Client
added tests for multisig functionality
added a test for load_account_signers but its currently failing so I have it skipped. I was hoping to get some help with this.

@jimdanz I can't add you as a reviewer but you're welcome to take a look

👍

Should be good for another round of review @leighmcculloch 👍


POST http://localhost:3000/ipfs-image-with-thumbnail-upload 404 (Not Found)

Hello.
Trying to play with OpenMinter locally. I signed up for a free Pinata account, and added the API key/secret to the configuration along with my public/private keys. I am successfully able to spin up testnet with yarn start:testnet and then connect with the Temple wallet.
However, when I try to create an asset – Step 3 of 3 – I get Error: IPFS upload failed.
Opening Chrome DevTools, the error traces back to: POST http://localhost:3000/ipfs-image-with-thumbnail-upload 404 (Not Found)
Am I missing anything with the IPFS/Pinata setup?

Never mind. Realised I'm supposed to run this on localhost:9000 not 3000.

Running into this same issue, exploring same fix


Error : qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

pipenv run python3 sumotoolbox.py
[I 220204 10:00:02 sumotoolbox:49] SumoLogicToolBox started. Version 0.11.1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Fatal Python error: Aborted
Current thread 0x00007f0b1304d740 (most recent call first):
File "sumotoolbox.py", line 1288 in main
File "sumotoolbox.py", line 1310 in
[1]    30807 abort      pipenv run python3 sumotoolbox.py
uname -a
Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux
cat /proc/version
Linux version 4.19.0-9-amd64<EMAIL_ADDRESS>(gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
Any thoughts?

Maybe xcb isn't installed?
Try this (if you have access):
sudo apt install libcb-util0

That is already installed -
sudo apt install libxcb-util0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxcb-util0 is already the newest version (0.3.8-3+b2).

Hmm...
All the googling I've done points to some xcb package either being corrupt or missing. This page recommends another variation of an apt install:
https://askubuntu.com/questions/308128/failed-to-load-platform-plugin-xcb-while-launching-qt5-app-on-linux-without/1069502#1069502
sudo apt-get --reinstall install libqt5dbus5 \
libqt5widgets5 libqt5network5 libqt5gui5 libqt5core5a \
libdouble-conversion1 libxcb-xinerama0


Forgetful Selective Categories for Pacing

Hello, thanks a lot for making this - it's awesome. I have problem where I can't get the toolkit to remember which categories I toggle for pacing. Is there any way to achieve this?
Name of Defective Feature

Pacing per category toggle (forgets toggles)

System Settings (Required)

ToolKit Version: 2.10.0
Operating System (Mac/Windows/Etc): windows / mac
Browser (Chrome/Firefox/Safari): firefox / firefox
Browser Version: 66.0.1 / 66.0.1
Other Extensions: ublock origin, cookie autodelete

Export of Toolkit Settings (Bottom Left of Settings Page)

Settings Export
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetCategoryFeatures","value":true},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"ChangeEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":false},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"CreditCardEmoji","value":true},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomFlagNames","value":false},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"DisplayTotalMonthlyGoals","value":false},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HighlightNegatives","value":false},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"Pacing","value":"3"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":false},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResizeInspector","value":false},{"key":"ResizeSidebar","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"0"},{"key":"RowsHeight","value":"0"},{"key":"RunningBalance","value":"0"},{"key":"SeamlessBudgetHeader","value":false},{"key":"SetMultipleFlags","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":true},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":true},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleMasterCategories","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"0"},{"key":"ToolkitReports","value":true},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":false},{"key":"l10n","value":"0"},{"key":"options.dark-mode","value":false}]

Steps to Reproduce the Behavior

enable pacing feature
save
toggle categories i want to ignore for pacing
open toolkit settings again, try to save again
restart browser or computer , especially after not using it for a weekend etc.

Expected Behavior
Is there any way to make the toolkit remember which categories i want to enable / disable pacing for? i find pacing extremely useful for a few categories but extremely "noisy" when enabled for all of them.
Several times a week for me, it just goes back to having pacing enabled for every category.
Actual Behavior
selective pacing per category forgets the categories

@crazycarl008 Thanks for submitting the bug report.
I'm unable to recreate the error. I rarely close YNAB for any length of time or shutdown my computer.  Can you see if shutting down your computer triggers the error. IOW, does it happen if you simply press CTRL+R or PF5 which reloads YNAB without shutting down the browser. There is a setting in the browser that will clear user data when the browser is shutdown. Go to chrome://settings/content/cookies and then look for setting "Keep local data only until you quit your browser". If it's on, turn it off and see if that fixes things.

These options are stored in your "local storage" which means if you ever clear your browser cache or settings, you'll lose these as well. We may in the future persist these in browser "sync" storage but that's probably a long way off from now.


srvc: drop

The upstream is unmaintained, and the build is
currently broken due to Rust 1.80 changes.
See https://github.com/NixOS/nixpkgs/issues/332957
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

The upstream is unmaintained

Wait, aren't you the upstream? Is it no longer useful for some reasons?

Yes, I was. The project has been abandoned by the company and has no outside contributors. I did try to fix the upstream first, but I could not get the darwin build to succeed and I wasn't able to debug it.
It's still usable via nix run github:insilica/rs-srvc, since that uses an older rust version.


local tarball dependency handler

Fixes #7
TODO

[ ] More detailed tests
[ ] Include a refactor to replace extract-shrinkwrap
[ ] Specific tests for extract-stream
[ ] Add support for and test where option (passed to realize-package-specifier)

Coverage decreased (-1.2%) to 86.853% when pulling 1e7d8a80c8dec9adf1eb68fd14568810af1178c3 on zkat/local-pkg into 400a9bf9b09060a0a105e9f4fca6d69679db468f on latest.

This is basically completely wrong and needs to be done over. Not to mention, npm@5 won't support it like this at all.


Upstreaming dependency_support from bazel_rules_hdl

Hi,
Also a Googler. I have a pretty extensive set of dependency support package in bazel_rules_hdl that might be useful to upstream here.
The packages in there are all built hermetically from source, as such, they represent the full DAG of all the packages.
Is there any interest to migrate them here?

These projects would be a great addition to the BCR.
I noticed that some projects are patched to use Bazel runfiles. This will definitely lead to issues before https://github.com/bazelbuild/bazel/issues/16124 has been fixed, but that is actively being worked on.

@QuantamHD Yes, we would love to accept PRs to add those dependencies as Bazel modules.


Refactored alerts table for doc level monitors to display a flyout containing finding information.

Signed-off-by: AWSHurneyt<EMAIL_ADDRESS>Description

Moved getFindings method to a utils file so it's accessible by other classes.
Refactored alerts table for doc level monitors to display a flyout containing finding information.
Adjusted the version of OpenSearch-Dashboards used to run the cypress test workflow.

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #232 (32e389b) into main (a082826) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
- Coverage   52.15%   52.13%   -0.02%
==========================================
  Files         209      209
  Lines        5407     5409       +2
  Branches      741      747       +6
==========================================
  Hits         2820     2820
- Misses       2585     2587       +2
  Partials        2        2

Impacted Files
Coverage Δ

...es/Dashboard/components/FindingsDashboard/utils.js
12.67% <0.00%> (-2.14%)
:arrow_down:

...oard/components/FindingsDashboard/FindingFlyout.js
2.94% <0.00%> (-1.61%)
:arrow_down:

...youts/components/AlertsDashboardFlyoutComponent.js
48.78% <0.00%> (-0.32%)
:arrow_down:

...gin/public/pages/Dashboard/containers/Dashboard.js
56.83% <0.00%> (ø)

...s/AcknowledgeAlertsModal/AcknowledgeAlertsModal.js
1.86% <0.00%> (ø)

...ic/pages/Dashboard/containers/FindingsDashboard.js
6.12% <0.00%> (+2.12%)
: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 a082826...32e389b. Read the comment docs.

Should we add screenshots of the changes made to the frontend code as a part of the PR?

Should we add screenshots of the changes made to the frontend code as a part of the PR?

I could add a screenshot, but there wouldn't be much of a change from what exists already. The only difference would be that the doc ID displayed for each alert is now a hyperlink that opens a flyout. The flyout is exactly the same as the one that opens from the findings table currently.


Update Alternative COmparison Report UI

The user interface should be updated to reflect the image in the design document. Once the alternative objects exist, the alternatives will get loaded into the combo boxes. There should be two columns of combo boxes, and the number of rows equal to the total number of alternatives minus 1. The first column should have a title "Without-project condition" and the other column should have a title "With-project conditions."

This is completed.


Complete Guide about DApps

Complete Guide about DApps
Concept of Blockchain technology and its working style is not new anymore. Blockchain technology is emerging technology which introduces new concepts and application day to day. One of most popular is DApps. It’s a short form of (Decentralized application system).  Every Blockchain based software developer would be familiar with DApps term.Concept of DApps in the field of Blockchain was introduced in second generation Blockchain know as ethereum. Because in ethereum concept of smart contract was introduced.  It’s a feature  that allows developers to create and launch decentralized apps (DApps) because I support application as a back-end code, and the developers have responded by building over 1,500 DApps so far!. DApps development isn’t a simple process it is different from traditional application development methodologies. It requires serious programming. Like solidity, javascript, some protocols like IPFS, Blockchain knowledge, smart contract.. Smart contract is a computer written program which developers writes using any smart contract comfort language like C++, solidity. It basically just like a normal program. which we deployed on Blockchain once in a life time. Smart contract perform some actions like when its function will call it gives out put written inside of it . so we use this storing data feature in DApps development.  What is IPFS ?
IPFS stand for inter planatory file system. Which is a storage system for DApps front end interface and saving any necessary file on local system. IPFS is basically a protocol for getting file from network using CID.
Using CID of any content we are able to track a content and able to access it instead of HTTP protocol in which we get content using its URL from server.
How IPFS works ?
When we upload our file to IPFS it compress our data save to our system in encrypted form. And along with this it generate Hash of that content through which other network member get access to content.
How all these things builds DApps?
In this concept four things involve smart contract, web3 library , front-end.Before binding these concepts together we must need to know about development frame work for which most popular one in truffle frame work. How truffle basically works?
Truffle is basically a framework based on javascript which we use for testing and deploying our contracts to main network. Once we compile our contract it generates a contract binary interface shortly know as ABI. Or artifact in the JSON format.
Now bind all concepts together first of all we will write our smart contract using most used solidity. When our contract will finish then we will compile this and  Truffle will generate ABI file. And next phase we will setup our front-end for communicating with smart contract. Once every thing related to front-end will complete then we will install  web3 library. And  this library will act as a bridge between  front-end and smart contract. It will understand the smart contract while reading smart contract ABI file in JSON format. and will deliver this information to front-end.  That all about Dapps.

Complete Guide about DApps

@hashimkhan17 please follow the format to write the blogs . Please do look at one file present in Blog section .Let me know if u face amy difficulty
Thank u 🙌

Closing in preparation for other Open source Programme .


expose climate current temperature in prometeus metrics

Description:  Exposes current temperature in climate components to Prometheus exporter.
Before it just exposed the desired temperature.
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass

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

[ ] Documentation added/updated in home-assistant.github.io

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

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

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

Hi @stenius,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Thank you!


An error occurred: got an unexpected keyword argument ?

and download two files video and audio independently not in one file?!
sol :❗ An error occurred: got an unexpected keyword argument ?

Please update the following libraries:
pip install --upgrade pytube pytubefix moviepy

After updating, verify that the version of pytube is 1.4.12, and try downloading the video again.
If the error persists, please share with me the YouTube link.

thanks it works well 100%

thanks it works well 100%

Don't mention it 👍


CB-9296 Creating a new edit credential object for put requests becaus…

…e in case of audit credential we are using a uuid and we would like to avoid the unnecessary validation on the name object in case of put
See detailed description in the commit message.

we only use the name of edit request to query the credential

retest this please

retest this please

we only use the name of edit request to query the credential

so the name could not be overridden, right?

we only use the name of edit request to query the credential

so the name could not be overridden, right?

exactly

we only use the name of edit request to query the credential

so the name could not be overridden, right?

exactly

I approved, but it would be more straightforward with validation/limitation on the length of the name in case of edit requests.