docker-compose up: PermissionError: [Errno 13] Permission denied: './.env'

Hello,
when I entered the "docker" directory and entered the command 'docker-compose up' I receive following error message:
$ docker-compose up
Traceback (most recent call last):
  File "/snap/docker/1779/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/cli/command.py", line 40, in project_from_options
    environment = Environment.from_env_file(override_dir or project_dir, environment_file)
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/config/environment.py", line 67, in from_env_file
    instance = _initialize()
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/config/environment.py", line 62, in _initialize
    return cls(env_vars_from_file(env_file_path))
  File "/snap/docker/1779/lib/python3.6/site-packages/compose/config/environment.py", line 38, in env_vars_from_file
    env = dotenv.dotenv_values(dotenv_path=filename, encoding='utf-8-sig', interpolate=interpolate)
  File "/snap/docker/1779/lib/python3.6/site-packages/dotenv/main.py", line 363, in dotenv_values
    encoding=encoding,
  File "/snap/docker/1779/lib/python3.6/site-packages/dotenv/main.py", line 74, in dict
    self._dict = OrderedDict(resolve_variables(raw_values, override=self.override))
  File "/snap/docker/1779/lib/python3.6/site-packages/dotenv/main.py", line 222, in resolve_variables
    for (name, value) in values:
  File "/snap/docker/1779/lib/python3.6/site-packages/dotenv/main.py", line 81, in parse
    with self._get_stream() as stream:
  File "/snap/docker/1779/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/snap/docker/1779/lib/python3.6/site-packages/dotenv/main.py", line 54, in _get_stream
    with io.open(self.dotenv_path, encoding=self.encoding) as stream:
PermissionError: [Errno 13] Permission denied: './.env'

System is Kubuntu 20.04
Would you know how to fix it? I tried
$ sudo chmod 777 /var/run/docker.sock
with no avail.
I'm sorry I am new to Docker and the Frameworks etc used by this example which is why I am interested in your probably great example. I would really love to test it and learn from it. So help would be highly appreciated.
Thank you very much!

Hi @Shmorgel ,
It looks like you don't have permission to read the ".env" file inside the "docker" folder. Can you try executing "docker-compose up" with sudo?
If that doesn't help, take a look at this: https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue

Hello hdimitrieski,
I really appreciate your help!
Sweet lord Jebus, why does the devil in the details always seem to prefer me to pick up on.
I followed your advice and neither running docker-compose with sudo nor changing the rights of .env to 777 nor putting myself in the usergroup docker seems to change anything. Still the same error message !

Hi @Shmorgel,
I'm not sure what might be the problem. But one last thing that comes to my mind is reinstalling "docker-compose", and running the docker service with "sudo".
If that doesn't work, just copy everything from the ".env" file in the "docker-compose" configuration, and delete it. Basically, you just have to replace the variables in the docker-compose files with the values in .env. Ex. replace ${MONGO_USER} with user in all docker-compose files. :)

Hey hdimitrieski !
Thank you very much for your friendly and fast support ! Upvote!
I will try this and maybe start a thread on stackoverflow. If that doesn't help I will try your last idea as "matter of last resort"
Best wishes !
Shmorgel

No problem @Shmorgel :)
I think that removing the .env will solve your issue, but it would be better if you manage to fix it without having to remove it.

Dear hdimitrieski,
I have uninstalled docker by this receipt:
https://stackoverflow.com/questions/61876116/how-to-remove-a-snap-application-docker-completely
But obviously there is still another installation as I witnessed following these instructions to install the docker-ce community edition:
https://www.cherryservers.com/blog/how-to-install-and-start-using-docker-on-ubuntu-20-04
I tried sudo systemctl status docker before sudo apt install docker-ce and it showed a running docker daemon.

$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-07-31 19:27:27 CEST; 2 days ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 2746 (dockerd)
Tasks: 14
Memory: 109.9M
CGroup: /system.slice/docker.service
└─2746 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

But this installation seems to be broken because when I run docker run hello-world I get the message

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

So I first ask myself: Which deinstallation strategy to follow?
Second: What is the right way to install Docker if I don't want Docker Desktop ?
I would like to ask you if you would be so friendly to tell me

Should I follow this deinstallation strategy (adding the installed docker-ce to the list to be uninstalled):
https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions
or
rather purge with this one
https://docs.docker.com/engine/install/ubuntu/#uninstall-docker-engine

There seems to be a caveat between the two because the first list of packages to be removed is:
sudo apt-get remove docker docker-engine docker.io containerd runc
whereas the second:
sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin
If following either strategy, should I add those lists together?

Should I follow neither deinstallation strategy but another?

And then if I have uninstalled docker, what are the correct packages to install and how to add docker-compose to the list of binaries? I have read docker-ce, docker.io ? Or first docker-engine ? I can haz halp with all these different packages plox? :)

Hi @Shmorgel,
I use Colima as a container runtime instead of Docker. It's pretty straightforward to set up. You might want to give it a try.
When it comes to the deinstallation, I'd say It depends on what you have installed. As I can see, the first one is for old docker versions, and the second one is for the newer versions. So you can try them both. :)
And for the installation, I use macOS. I haven't used docker on Linux, so I can't help you there... I'd follow this guide: https://docs.docker.com/engine/install/ubuntu/.

Hi @Shmorgel,
Can I close this issue? Did you find a solution to your problem?

Dear Hristijan ,
I finally managed to get $ docker compose up to run after some attempts to purge and install docker packages following the official docs.
So I ran $ docker compose up in $PROJECT_FOLDER/docker and it successfully downloaded images and magical docker stuff I am not yet knowledgeable about. I could just confirm that it worked by witnessing how it put my laptop under heavy load :)
Then I built the services via $ ./gradlew build, following to that I imported it into IntelliJ which liked to build it again obviously. Not sure if that causes any trouble.
However, now I wanted to start the services in docker containers and, following the project instructions here on github issued docker compose -f docker-compose.infra.yml up --build
I didn't want to make another ticket for this. I hope it is ok if I append this to my questions above, since it's essentially not bugs in your code but questions on my behalf and my ineperiencedness which I hope to alleviate by making myself accostumed with that great demo of yours !
Anyway, this is the output:
max@max-Precision-M4800:/media/max/Informatik/codebases/gradle microservice github examples/hdimitrieski/e-shop/docker$ docker compose -f docker-compose.infra.yml up --build
[+] Building 34.3s (17/17) FINISHED
 => [docker_gateway internal] load build definition from Dockerfile                                                                         0.0s
 => => transferring dockerfile: 524B                                                                                0.0s
 => [docker_discovery internal] load build definition from Dockerfile                                                                       0.1s
 => => transferring dockerfile: 656B                                                                                0.0s
 => [docker_config internal] load build definition from Dockerfile                                                                          0.1s
 => => transferring dockerfile: 516B                                                                                0.0s
 => [docker_gateway internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [docker_config internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [docker_discovery internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [docker_discovery internal] load metadata for docker.io/library/openjdk:17.0.2-slim                                                     1.8s
 => [docker_gateway 1/2] FROM docker.io/library/openjdk:17.0.2-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f97  28.2s
 => => resolve docker.io/library/openjdk:17.0.2-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774                0.0s
 => => sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774 547B / 547B                                                  0.0s
 => => sha256:779635c0c3d23cc8dbab2d8c1ee4cf2a9202e198dfc8f4c0b279824d9b8e0f22 953B / 953B                                                  0.0s
 => => sha256:37cb44321d0423bc57266a3bff658daf00478e4cdf2d3b8091f785310534256d 4.80kB / 4.80kB                                              0.0s
 => => sha256:1fe172e4850f03bb45d41a20174112bc119fbfec42a650edbbd8491aee32e3c3 31.38MB / 31.38MB                                           20.0s
 => => sha256:44d3aa8d076675d49d85180b0ced9daef210fe4fdff4bdbb422b9cf384e591d0 1.58MB / 1.58MB                                              1.1s
 => => sha256:6ce99fdf16e86bd02f6ad66a0e1334878528b5a4b5487850a76e0c08a7a27d56 187.90MB / 187.90MB                                         26.1s
 => => extracting sha256:1fe172e4850f03bb45d41a20174112bc119fbfec42a650edbbd8491aee32e3c3                                                   0.7s
 => => extracting sha256:44d3aa8d076675d49d85180b0ced9daef210fe4fdff4bdbb422b9cf384e591d0                                                   0.1s
 => => extracting sha256:6ce99fdf16e86bd02f6ad66a0e1334878528b5a4b5487850a76e0c08a7a27d56                                                   1.7s
 => [docker_config internal] load build context                                                                                1.8s
 => => transferring context: 61.75MB                                                                                1.7s
 => [docker_gateway internal] load build context                                                                                2.1s
 => => transferring context: 76.33MB                                                                                2.0s
 => [docker_discovery internal] load build context                                                                                2.1s
 => => transferring context: 73.79MB                                                                                2.0s
 => [docker_gateway 2/2] ADD ./build/libs/gateway.jar gateway.jar                                                                           1.7s
 => [docker_config 2/2] ADD ./build/libs/config.jar config.jar                                                                              1.8s
 => [docker_discovery 2/4] ADD ./wait-for-it.sh wait-for-it.sh                                                                              1.7s
 => [docker_discovery 3/4] RUN chmod +x wait-for-it.sh                                                                                1.0s
 => [docker_discovery] exporting to image                                                                                1.7s
 => => exporting layers                                                                                0.7s
 => => writing image sha256:09ec1459eb6a76cef74bc39c40c9211db93dcbf59f0ec506bf27d8034cdcafe7                                                0.0s
 => => naming to docker.io/library/docker_config                                                                                0.0s
 => => writing image sha256:73dfcab45e463baedf65709143904c7fdc941e99e3439ae51cb927b1e0ac54d9                                                0.0s
 => => naming to docker.io/library/docker_gateway                                                                                0.0s
 => => writing image sha256:9210d66722fa7c9d3d81d3941a327e86007432ae654a42f71fb5eeb29d799a46                                                0.0s
 => => naming to docker.io/library/docker_discovery                                                                                0.0s
 => [docker_discovery 4/4] ADD ./build/libs/discovery.jar discovery.jar                                                                     0.6s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
WARN[0035] Found orphan containers ([docker-kafka-1 docker-authorization-service-1 docker-zookeeper-1 docker-mongo-1 docker-portainer-1 docker-postgres-1 docker-redis-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 3/3
 ⠿ Container docker-config-1     Created                                                                                0.1s
 ⠿ Container docker-discovery-1  Created                                                                                0.1s
 ⠿ Container docker-gateway-1    Created                                                                                0.1s
Attaching to docker-config-1, docker-discovery-1, docker-gateway-1
Error response from daemon: driver failed programming external connectivity on endpoint docker-config-1 (4aa42dbec782dcb5b03e659835a8dcd1e8951cfa827170aad25b21e758f805da): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:8888: bind: address already in use

I guess I receive the error messages because of the containers already built before by $ docker compose up ?
Can I remove them via $ docker compose down before issuing the above command again? Would this even help? And if so, would this undo everything in .env , like, removing volumes etc. ?
Thank you so much for your help ("big heart for noobs" ^^) !
In my stackoverflow threads I didn't even receive an answer. I'd be lost.
Yours sincerly
Maximilian

Hi @Shmorgel,
The config service container binds to port 8888. You either have some other process that's using port 8888 on your machine (you can check that with ** sudo netstat -pna | grep 8888**. Or, you have the same container running at some other instance (You can use docker ps to check the running and stopped containers.)
In the first case, you can stop the process on your machine, and in the second, you can remove or stop the containers.
I hope this helps, but let me know if you need anything else. :)

Hello,
well, I have stopped and removed the containers but the key point is that always when I run docker compose -f docker-compose.infra.yml up --build I receive the last line as error message for docker-config-1:
Error response from daemon: driver failed programming external connectivity on endpoint docker-config-1 (4aa42dbec782dcb5b03e659835a8dcd1e8951cfa827170aad25b21e758f805da): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:8888: bind: address already in use

Everything else seems to be ok. ! Now the question is, if it speaks of "driver failed programming..." but I don't know enough about networks and endpoints yet. May it be that it is not my installation? Because otherwise it runs flawless.
Best Wishes
Maximilian

Dear Hristian,
I am sorry, I haven't seen that you have already answered! Normally I receive an email notification and then I immediately look and when I updated last time either I haven't seen it (need for new glasses?) or you in fact hadn't answered then.
Well, thanks for your advice with netstat. On Kubuntu/Linux it obviously has some different flags/options.
It only accepts the -N option but not -P nor A or rather A only with some addition -A <af> but I dont' know if you would've meant that.
Alas, the port 8888 is really occupied.
ax@max-Precision-M4800:~$ sudo netstat -N | grep 8888
tcp        0      0 localhost:8888          localhost:59666         VERBUNDEN
tcp        0      0 localhost:8888          localhost:57440         VERBUNDEN
tcp        0      0 localhost:51760         localhost:8888          VERBUNDEN
tcp        0      0 localhost:57440         localhost:8888          VERBUNDEN
tcp        0      0 localhost:59666         localhost:8888          VERBUNDEN
tcp        0      0 localhost:8888          localhost:51760         VERBUNDE

I'm sorry, German keyboard and language settings. I should switch to English because it makes it easier to search for error messages and problems. "VERBUNDEN" = "CONNECTED"
So, while waiting for your answer, I could try to set config to another port, right?
Thank you so much for your patience again.
Best Wishes
Maximilian

Ok, I first changed the port in docker-compose.infra.yml from '8888:8888' to '8761:8761' and then a lot of console output happened. But obviously 'wait-for-it.sh' looked for the config service on '8888'. So do the other two services.
In ../infrastructure/config/Dockerfile I changed EXPOSE from '8888' to '8761'
And in ../infrastructure/gateway I changed it the port as argument for the 'wait-for-it.sh' script.
# Run the application
ENTRYPOINT ["/bin/sh", "-c", "./wait-for-it.sh config:8849/actuator/health -t 5 -- java -jar discovery.jar"]

Now I get the information about Spring being started from the containers, but the script still complains about timeout after 5s and the other services are still looking for config under port '8888'
: (

Stupid me! D'oh!
I don't know why I ask you about the options of netstat. I'm sorry. I haven't slept all night and I'm still having aches. (Not dr*nk! ^^)
I used -pN and now I know the delinquent service. It was Jupyter. Ran through virtualenv which is obviously a Python flavour kind of flexible, 'slash not-a-container'. Will have to look to configure those to run on another port. Now I will try to run docker compose with my changes undone and port 8888 being free.

Hi @Shmorgel,
Yes, just run the config service on port 8888, so you don't need to change anything else.
You don't need Kafka installed on your machine. You can see that in docker/docker-compose.yml a service for Kafka is defined. So first use docker-compose up to start the services for Kafka and all other databases, then docker-compose -f docker-compose.infra.yml up --build for the infrastructure services, and after that run docker-compose -f docker-compose.services.yml up --build to start the domain services.

Dear @hdimitrieski
I don't know what is wrong. Yes I read the documentation wrong. I thought either docker compose up or docker compose -f docker-compose.infra.yml and docker-compose.services.yml up --build
But even if I run docker compose up I get about the same error messages as if I hadn't issued the command ! Although Kafka seems to run and I see output of it about leadership etc. But also the output of these services doesn't seem calm enough. It has warnings here and there.
Foremost, I am still getting the same Kafka errors as before by the second command and by the services config, gateway, discovery...
docker-config-1     | 2022-08-08 14:48:01.736  WARN [,,] 1 --- [| adminclient-3] org.apache.kafka.clients.NetworkClient   : [AdminClient clientId=adminclient-3] Connection to node -1 (localhost/<IP_ADDRESS>:9092) could not be established. Broker may not be available.

Now everything should actually run fine but nah. It's frustrating. Don't know what to do any more.
Best wishes !

Seems like my only option is to make small experiments with a Kafka Dockerfile/Container first and so on, huh? Damn.
May I ask one further thing? Is it possible to iteratively develop the domain services of a microservice and automagically start them in containers? If not, what is the protocol? Run Images of Kafka, of Databases etc. in containers and while developing the Java classes or running them set for instance the database or CQRS server data, probably in .yml files in the directory structure (?) to those containers available as localhost:1234 with credentials "userword" und "passname" ?

@Shmorgel Just ignore the warnings in the config service, you'll still be able to run the services and the clients. I'll check what's going on there later.

@Shmorgel To develop individual domain/infrastructure services you don't need to use docker. You can just start all infrastructure components(Kafka, Postgres, Mongo,...) because the services require those components, and then start the services that you need manually as described in the docs.

@Shmorgel I fixed the Kafka connection warning. After updating the project, remove or stop the running containers on your machine, build the project ./gradlew build, and start the containers again: docker-compose up, docker-compose -f docker-compose.infra.yml up --build, docker-compose -f docker-compose.services.yml up --build.

Hello @hdimitrieski  !!!
Thank you for updating your code. It seems to me that things run better now. But there is, for instance, still the "error" (?)
wait-for-it.sh: timeout occurred after waiting 5 seconds for config:8888/actuator/health

When issuing docker compose -f docker-compose.infra.yml up --build
docker-gateway-1 seems to get a connection to Kafka now but it spawns errors and warnings, errors like
docker-gateway-1    | 2022-08-09 08:49:19.691  WARN [api-gateway,,] 1 --- [nfoReplicator-0] eactorLoadBalancerExchangeFilterFunction : LoadBalancer does not contain an instance for the service catalog-query

Thank you
Looking forward for your answer
Best wishes!
Maximilian/Shmorgel

@Shmorgel Those are not errors actually. Those are only warnings that the gateway service cannot connect to some domain services like catalog-query, order-processing, basket, etc. because they are not available. After running docker-compose -f docker-compose.services.yml up --build those services will become available to the gateway service, so it would be able to establish connections.

@hdimitrieski
I have a problem big time.
When I ran docker-compose -f docker-compose.services.yml up --build my system was totally overburdened.
I had to shut down and boot up again, but when I tried to issue docker compose stop it told me that it wouldn't find a configuration. I have the codebase of e-shop on an USB stick. To this directory it was that I cloned the repository and pulled your fix. And of course it was in this directory on the USB stick, where I ran the docker compose commands to build the projects, and to build and run the docker containers. Shouldn't docker compose, as docker, write those things into my home directory? Not right into place? Could it be that the configuration file was written onto the USB and that it got lost when I had to choke off the computer?
The system was really pretty much frozen and additionally like every two seconds system notifications warned me that the containers didn't respond. I could only end it by sudo systemctl stop docker. Thank God then the CPU load and ram load instantaneously went down.
What do you estimate how much gig RAM all of the packages take?
I have 32 gig ram but I must admit I probably am a case of abuse of session saving. I have many browser tabs and windows with webpages. The reason is that I seek information, for instance compiler writing, microservices, maths, and normally I like to archive the URLs into text files rather than putting them into the bookmarks. When I can really classify and integrate them into a scheme, into the right files. But so it comes that I do not immediately have enough overview over a new field of matter such that it takes some time before I can do so. But then comes a new topic around the corner or develops out of the things opened last such that things become really messy. I have to close many firefox windows that strain the performance of my system before I can carry on now, Ugh! I will write a plugin or addon for firefox to save those URLs for me ! Impossible to do this in feasible time by hand. So first I must look up how to do that.
In the meantime, do you know an answer to my question whether the docker compose would really write important information of the containers created and run right into place on the USB stick and not into my $HOME folder ? When I ran like docker ps docker, not compose, knew about the containers. If theres no way with compose then I will have to shut the containers down through just docker.
Ok, see you asap :)

To stop the running containers, you have to execute docker-compose -f docker-compose.yml -f docker-compose.infra.yml -f docker-compose.services.yml down inside the docker folder. Most likely it can't find the configuration because you are trying to execute the command outside the docker folder.
32GB of RAM is more than enough to run this demo. I have 16 GB, and it works very well on my machine. You just need to allow docker to use around 8GB of RAM. Also, you don't need to use docker to run the services on your local machine because it takes too much memory. Just run docker-compose up inside the docker folder, and then run the services manually.
No, docker won't write anything on the USB stick.

Unter Kubuntu there is a bug with session management and usb devices. My USB stick was mounted with a different label after I re-booted but there is a copy of the e-shop and docker directory still accessible under the old moniker and hence directory name. But this copy is probably erroneous, I don't know how this even happens. But my plan is: 1 write the firefox plugin, 2) reboot, remove usb stick, delete both mount points 3) insert usb stick so it hopefully creates the correct mountpoint with correct label again and then [because of open files in kate i don't want to close in order to unmount the stick. If I remove it when the pc is off I can remove it, turn it on again, then do Nr. 3 on my list and reinsert the stick] 4) If I have closed a significant number of firefox instances retry to close them through docker compose.

@Shmorgel I'm closing this issue. If you have any further questions, please open a discussion. :)


RATIS-1075. Classes that implement AutoCloseable should call "close()" when it should be terminated

What changes were proposed in this pull request?
https://sonarcloud.io/project/issues?id=apache_incubator-ratis&issues=AXJWdiRzwsm5D8rduwS_&open=AXJWdiRzwsm5D8rduwS_
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1075
How was this patch tested?
UT

R: @runzhiwang
I totally fix 5 cases that need be closed finally in this PR.

I will merge it once CI passed

Thanks @runzhiwang . Tests passed.

@amaliujia Thanks the patch,  I have merged it.


(MAINTENANCE) add C2P invites to EBE account

in order to contact potential customers
@az

@KarolinaTEH added 200 ... let me know if it does not work

works, thx


specialize similar

Now similar will be able to return FixedSizeArrays instead of Arrays.
Updates #4

Fixing the conflict in the tests.


Modify build scripts to allow the use of C# 6.0 features

As mentioned in PR #499, the current build scripts do not allow for C# 6.0 features, while VS 2015 and the build server are perfectly happy with them.
This does not happen when building with a more recent version of msbuild (such as the one that ships with VS 2015 in "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe")
Side note: with the new msbuild, 4 warnings are produced
warning MSB3884: Could not find rule set file "AutoFixture.NUnit2.ruleset
warning MSB3884: Could not find rule set file "AutoFixture.NUnit2.ruleset
warning MSB3884: Could not find rule set file "AutoFixture.xUnit.net.ruleset
warning MSB3884: Could not find rule set file "Migrated rules for AutoRhinoMock.ruleset

Thank you for bringing this to our attention.
First of all, just to make sure that I understand the current capabilities correctly, please correct me if the following is incorrect:

AutoFixture 3 targets .NET 4.
It's possible to use C# 6 to compile .NET 4 binaries.
To use C# 6 one must have Visual Studio 2015. Earlier versions of Visual Studio can't compile C# 6 code.

I must admit that I'm not completely sure about all of these statements, which is the reason I'm listing them.

1 and 2 are ok.
For 3 AFAIK only Visual Studio 2015 supports C# 6.0's syntax indeed - including C# 6.0 in the code base would force everyone to move to Visual Studio 2015 (or other C# 6.0 supporting IDEs).
On a side note again, my understanding is that MSBuild can now be retrieved as a package (https://www.nuget.org/packages/MSBuild/), maybe that could be explored.

For my part, I have no problem with a Visual Studio 2015 requirement, but we ought to consider the wider community.
Again, I'd like to solicit comments for or against making Visual Studio 2015 a requirement for working with AutoFixture, particularly, but not exclusively, from @moodmosaic, @ecampidoglio, @adamchester.

:+1: to VS 2015, no reason I can think of to stick with 2013.
Also :+1: to putting those build warnings in a separate issue; I get them too. We might also need to upgrade the sln files to be all 2015 format, for consistency. In the past, appveyor used this to help decide on msbuild version but that may not be necessary now.

I think the syntactic sugar brought by C# 6 is sweet enough to make it worthwhile. So :+1: to that.
Regarding the build on Appveyor, @adamchester is right; we need to update the header in the solution file for Appveyor to pick the right version of MSBuilld. Also, we'll have to switch to the Visual Studio 2015 environment in the build configuration, since that should have MSBuild 14 in the PATH.

:+1: for upgrading to 2015 ;)

Using the C# Essentials extension, there are 324 warnings (all of them are CSE0001	Consider using nameof for the parameter name) and 669 messages (most of them being CSE0003	Consider using an expression-bodied member and CSE0002	Consider using a getter-only auto property).

Another :+1: for upgrading to VS 2015

Another :+1: for upgrading to VS 2015

As long as the *.sln files can be opened in the latest version of Visual Studio and can be compiled in the command-line, I wouldn't bother constraining them.
At the end, the questions comes down to whether we'd care, or not, to use C# 6 features.

At the end, the question comes down to whether we'd care, or not, to use C# 6 features.

Good point.
The nameof operator is nice to have, but hardly a killer feature. Does C# 6 offer anything else that would make development of AutoFixture easier?

C# 6.0 doesn't have any killer feature, only nice to have. But I like the nameof, real immutable types using get only auto- properties and expression-bodied members are very nice nice additions, to point a few.
I think it's also about keeping up with the times as it's always a bit frustrating not to be able to use new language features.

The argument made by @Pvlerick is also how I view it. No, there is nothing "big" in C# 6's new features, but the getter-only properties and expression-bodied members do have the potential to make code more concise and clear.

While C# 6 has no killer features, it seems like it wouldn't hurt upgrading either. With this discussion, I mainly wanted to gauge the impact of making this change. A priori, I didn't know if any of the AutoFixture regulars were, for some reason, prevented from using Visual Studio 2015 - after all, this is software that actually costs money.
As I read this thread, no one has objected, so I consider this suggestion accepted. I'm therefore going to add the jump in tag, so that anyone who thinks it would be an interesting task feels welcome to take it on :smile:

Hopefully, I'll be able to do submit something tomorrow.

I'm not excited by C# 6 – it kind of reminds me the uncanny valley – so I can't really hold an opinion on the upgrade. But, if you decide to do the upgrade, it's find by me as I'm already on Visual Studio 2015 :wink:

it kind of reminds me the uncanny valley

That's intriguing. In which way does it remind you of that, if I may ask?

@ecampidoglio, heres' how:

"As non functional-first languages ape the features of functional-first ones, they're attempting to cross the uncanny valley of programming language design."

That's merely my own paraphrase and combination of this article with this older one.

(To be clear – I do like C#, it's just that I'm not excited by C# 6.)

@moodmosaic Thanks for clarifying. I can see how expression-bodied function members would fit in that description.
A part from that, the theme of C# 6 seems to be more about terseness than adding functional features.

@ecampidoglio That sounds good!

I am working on getting the Build-release scripts compiling the C# 6 code. I tried to use the MSBuild NuGet package, but the MSBuild.exe contained in that package does not support the /ruleset command. So perhaps we can switch over to the MSBuild NuGet package when rulesets are supported.
Furthermore, I had to switch the msbuild path from the "Windows" folder to the "Program files (x86)" version, as the Windows path's version does not support C# 6 (see this SO question).
Having changed that, I then can compile the C# 6 code. One last question: what to do with the build-release.sh file? It refers to $WINDIR/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe, so I suspect that it won't work with C# 6. To what should I change the call?

One last question: what to do with the build-release.sh file?

Unfortunately, that ought not to be the last question, but rather the first question. I exclusively use the shell script for my verification and publication workflows, but I do realise that I hadn't updated the CONTRIBUTING.md file to that effect. Please accept my apologies for that; it's entirely my fault.
The AutoFixture build scripts are getting somewhat long in the tooth, so the question is if we shouldn't consider migrating to something more maintainable.
In several of my other, more modern OSS projects, I use FAKE to manage the build, verification, and publication workflows, and that works well. As an example, here's a build script I published a couple of days ago.
FAKE might be able to address these questions, freeing us to do more interesting things.

Interestingly, FAKE has been on my list of things to check out for a while. This might be a good opportunity to do so. I'll see if I can get things working using FAKE. It might take a while though.

To be clear, I don't think migrating to FAKE is going to be trivial; quite a lot is going on in that build script. It should be doable, though.

@ploeh Should I try to exactly mimic the MSBuild features in the FAKE script? E.g., in your Numsense FAKE build script, you use git to do a clean, but in AutoFixture an MSBuild clean is done. What should I be striving for?

@ErikSchierboom For that particular step, feel free to do whatever suits you best.
The reason I normally use git clean is because I've found that MSBuild's clean often doesn't do a good job of really cleaning up. It may just be an old scar of mine, though...

@ploeh I am happily converting the MSBuild file to FAKE, which is proceeding fairly well. I was wondering if everything in the MSBuild file is really necessary. For example, the build is done through MSBuild by passing it the "rebuild" value. That MSBuild task is dependent on another task that does a "clean" MSBuild. However, this is not necessary according to this SO answer, as a rebuild is in itself also a clean.
Also, there is a command do to a clean of the Debug build, but there is no command to do the Debug build itself. Should the build command be added, or the clean command be removed?
And lastly, I found the combination of the "Build", "Test", "TestOnly" and "BuildAndTestOnly" a bit confusing. Are all used?

@ErikSchierboom the idea with BuildOnly and TesOnly is hopefully explained here. They are in use, but if you can think of a less confusing name for them, that would be good.

@adamchester That clears things up. Thanks.

IIRC, you can reduce most of this to my lack of faith in MSBuild's ability to actually clean out binaries and such. Perhaps it's only scars; perhaps the current versions of MSBuild and Visual Studio actually, you know, remove binaries and other build artefacts under both rebuild and clean... Older versions couldn't be trusted to do this, though, even though the feature was seemingly there.
Perhaps I went a bit overboard with these, trying to ensure that the build process has a clean slate from which it can work.
This also explains why I tend to use git clean these days.

@ploeh Do you want me to keep them? I'm fine with either option.

My only concern here is that when I run build-release.sh I have confidence that all artefacts are created from a clean slate. This is important because it ensures that the build process is repeatable; it wouldn't be repeatable if there's a build step that depends on some residual files that are lying around on my machine, but other people don't have.
I'm sure @adamchester have opinions about the other build options, though :wink:

I got things working on Windows machine! On my Mac, the build fails due to comment references not being found. I'll look into that later, You can see the progress at: https://github.com/ErikSchierboom/AutoFixture/tree/fake-build

I believe now that #523 has been merged, this issue has been fixed. I just verified this by using the nameof operator somewhere and using the FAKE build script the build was successful.

Like @ErikSchierboom, I believe this issue has now been addressed. Can we close the issue?

Closing, due to lack of response.


Use latest respec

Fixes #3845
As discussed in TDC call on 2024-07-04

pinned version of respec as dependency
copy respec-w3c from node_modules to deploy/js
adjust frontmatter

Differences

spacing around <h1> and <h2>
collapsible "More details about this document" was added
"Latest published version:" was added - nice addition!
section marker symbols (§) are now left of heading instead of right - looks better
code in text now has text color instead of red color
code in code blocks has different syntax coloring

Problems

[x] RFC references appear as "informative" - fixed via conformance section
[x] first normative reference is [css] - anchor elements must have text, even if it is only

Please compare

with new respec: https://ralfhandl.github.io/OpenAPI-Specification/oas/latest.html
current state: https://spec.openapis.org/oas/latest.html

code in text now has text color instead of red color

I'm not sure I like this change.  I'm trying to give it a chance, but the red text made it easier to scan for certain things.

code in code blocks has different syntax coloring

What are the differences?  Is it a different package, a different configuration...?

code in text now has text color instead of red color

I'm not sure I like this change. I'm trying to give it a chance, but the red text made it easier to scan for certain things.

If the red is too dramatic for folks, we could choose another color?  Even a gray that is distinctive enough to clearly stand out?  We should run A11Y (accessabilty) metrics on our rendering (no matter what we do with this color).

We should run A11Y (accessabilty) metrics on our rendering (no matter what we do with this color).

Good idea, which tool(s) would you recommend?

What are the differences?

Delimiters are now black instead of red - seems the new code color shines through
Numbers are now bronze instead of turquoise

New: https://ralfhandl.github.io/OpenAPI-Specification/oas/latest.html#format
Old: https://spec.openapis.org/oas/latest.html#format

We should run A11Y (accessabilty) metrics on our rendering (no matter what we do with this color).

Good idea, which tool(s) would you recommend?

Accessibility Human here :) - here is the tldr; on a11y // and an overly informative answer with more tools and info. I also did a bunch of tests for you.
tldr;
If you are just using 1 tool - use Google Lighthouse in the Chrome Developer Tools
Run a Desktop and a Mobile test | Mode: Navigation | Categories: Just check them all
It will give you some great automatic feedback and is good to check before rolling new versions.
Background
Background on Accessibility & Testing:
Regarding accessibility standards, the primary specifications you should focus on are WCAG (Web Content Accessibility Guidelines) and ARIA (Accessible Rich Internet Applications), both maintained by the W3C (World Wide Web Consortium).
It's important to note that there isn't a single, comprehensive automated test that covers the entire spectrum of accessibility compliance. Instead, achieving compliance typically involves a combination of:

Manual testing
Semi-automated browser extensions
Automated tools (not necessary for your current needs)

Your Results

Google Lighthouse

Here are your Desktop Results (mobile were similar)
Issues:

color contrast
Link spacing must allow for 48px x 48px touch target
Links must be distinguishable without relying on color
Links must have discernible text

I did additional testing using the Axe DevTools - which is a browser extension and works in a similar way to Lighthouse but the results can be easier to parse.

Issues (with better stats):

1175 Contrast Issues -
31 - Links must be distinguishable without relying on color
2 - Links must have discernible text
7 - Scrollable region must have keyboard access

Manual Testing - you passed all of my initial checks.

I did the top manual tests for the updated site - it scored really well:
Keyboard - There are several to test here. I just did them & you are in good shape.

[x] Is tab order correct
[x] Are elements focusable when the user tabs through
[x] Do you have a skip to the main content link which is only visible when tabbed through with a keyboard?

ZOOM/Magnification

[x] Verify if the elements are displayed nicely and are still interactable.

Screen Readers

[x] Tested for basic navigation.
This is super advanced and takes practice to learn. If you are on Mac use the built-in VoiceOver, and on a PC use NVDA. I just did a brief test with Voice Over and nothing horrible stood out.

I am glad to dig into the accessibility issues further and propose some recommendations to get you up to WCAG 2.1 AA Compliance (this is the current best-practice target to aim for). That seems far, far outside the scope of this issue - but I can start a thread if someone can recommend the best place for it.

Thank you @stringtheory! We would definitely like to improve our accessibility game, and you have already helped us with these pointers :) Could you create a new issue for anything we are missing (in this same repo), please? Even if we don't get all of it sorted out before this round of patches, we will keep iterating.

Created issue https://github.com/OAI/OpenAPI-Specification/issues/3946 to tackle this.
@stringtheory Please feel free to comment and add more recommendations.

Feedback:

keep new default spacing
keep new frontmatter
use (only) static versions


Could not pass event AsyncPlayerChatEvent to WorldGuardExtraFlags v4.1.4-DEV

Got the following during a /wg reload
https://pastebin.com/raw/yFBU8TUR
WorldGuard: 7.0.3-2030
Paper: 1.15.2-176

WorldGuard seems to remove the world configs for short period of time before applying the new config. Because the chat is async, meaning that it runs on off the game thread there is small window where the plugin is unable to find the world settings.
This is so rare case that I won't even bother to do anything with this


Fractional GPU scheduling design review

Go over Kubernetes scheduling framework basics, Review the plan and plugin changes for scheduling Alnair vGPU.

Figure out the plan, modify device plugin and write assigned GPU ID on the pod annotations, not node. Since we want to used ID disappear when the pod is complete. For scheduler, will scan all the running pods and figure out used ID and available ID.


How to work on local environment?

I wanted to help fix a bug I noticed on mobile for your website and then proceeded to fork the repo.
Sadly I wasn't able to run the project locally and inspecting package.json doesn't seem to include any npm script.
Could you give me some pointers?

Follow the steps in the shadcn documentation to configure your project. Then follow the steps in the date range picker instructions as it follows the same pattern as other shadcn ui components.


In react view, screening status filter option "no status" results in No results found.

Same filter in the non-react view lists submissions correctly.

@danblah, I have fixed this bug on 26th May, 2021. May I know the last deployed date on testing?

@vimal1083 The test environment uses this branch https://github.com/HyphaApp/hypha/tree/test

@danblah Could you share the screenshot of the error?

See screen capture. Still having this issue.
https://user-images.githubusercontent.com/620336/124655407-cc943a80-de6d-11eb-9c87-02705f1a854d.mp4


Docker image improvements

After adding support for arm Docker builds in #406 by @fauust there are a few more things left on the agenda:

[ ] implement tag_semver
[ ] implement tag_snapshot

We should collect ideas for a follow-up PR here.

We can look into https://github.com/marketplace/actions/docker-publish-semver-tags for semver

@mre as requested, here is a snippet for alpine:
FROM alpine:latest as builder
WORKDIR /builder

RUN apk add ca-certificates \
    jq \
    wget \
    && case $(arch) in \
      "x86_64") \
        wget -q -O - "$(wget -q -O- https://api.github.com/repos/lycheeverse/lychee/releases/latest \
        | jq -r '.assets[].browser_download_url' \
        | grep x86_64-unknown-linux-musl)" | tar -xz lychee \
      ;; \
      "aarch64") \
        wget -q -O - "$(wget -q -O- https://api.github.com/repos/lycheeverse/lychee/releases/latest \
        | jq -r '.assets[].browser_download_url' \
        | grep  arm-unknown-linux-musleabihf)" | tar -xz lychee \
      ;; \
    esac \
    && chmod +x lychee

FROM alpine:latest

RUN apk add ca-certificates \
    tzdata

COPY --from=builder /builder/lychee /usr/local/bin/lychee
ENTRYPOINT [ "/usr/local/bin/lychee" ]

The arm version should be tested I am not sure about which binary to fetch (and musl does build for the moment for arm).

@mre what's the goal here? Push new Docker tags when the tool is tagged in GH?

yes

@fauust I tested the new arm64 Docker image (Dockerfile-CI.Dockerfile) locally on my M1 and it works like a charm.
I heard that alpine doesn't play well with tokio, so I'm fine with keeping the Debian/GNU image as the only supported Linux image for the time being.
What's left to be done here is adding the image tagging to the new pipeline which means adding docker-semver-publish to the YAML file and testing it.
If someone wants to create a PR for this, I'd be happy to review and test it.

Hi!
Not sure that I will have time before next week but I'll try to finish this.
In the mean time if someone wants to take this (should not me too difficult to implement), I am very happy to review/explain how the CI works.

This is done. 🥳


Add UI support for security groups

Security groups are not supported in the UI right now. At a minimum, viewing the policies would be ideal. it would be even better to add CRUD support.
The simpler first pass of this would be a simple form with text fields to create/update, and a raw dump of the json rules when viewing the security groups. This isn't very friendly, but a more involved visual UX for security policy is a lot more work, and may not be worth the effort with our current framework. As an example, #884 was exploring rebuilding the UI.

Implemented by #1432


Monolog 3 outputs multiple log records on the same line

Monolog version 3
I recently upgraded to Monolog version 3 (from version 2).
I noticed that, after the upgrade, log messages seems to be outputted all together (on a single line) per request.
I'm gonna try to explain myself better.
Before, I was having a single line per log record:
{"level":"INFO","message":"Request 1 - Log record 1","context":{}}
{"level":"INFO","message":"Request 1 - Log record 2","context":{}}
{"level":"ERROR","message":"Request 1 - Log record 3","context":{}}
{"level":"INFO","message":"Request 2 - Log record 1","context":{}}
{"level":"ERROR","message":"Request 2 - Log record 2","context":{}}

Now I get:
{"level":"INFO","message":"Request 1 - Log record 1","context":{}}{"level":"INFO","message":"Request 1 - Log record 2","context":{}}{"level":"ERROR","message":"Request 1 - Log record 3","context":{}}
{"level":"INFO","message":"Request 2 - Log record 1","context":{}}{"level":"ERROR","message":"Request 2 - Log record 2","context":{}}

My Monolog configuration didn't change and the relevant part resembles to something like:
monolog:
    channels:
        ...
    handlers:
        fingers_crossed_json:
            type: fingers_crossed
            action_level: error
            handler: json
            excluded_http_codes: [...]
        json:
            type: stream
            level: INFO
            path: '%env(LOG_PATH)%'
            channels: [...]

I tried to check on the CHANGELOG if anything could've led to this issue but nothing seemed to match.
The problem, in my case, is that this change messes up with my log data collector.
Is there a way to restore the previous behavior without downgrading?
Thank you!

That can't be the whole configuration tho? How is the formatter configured for the stream handler? By default it uses a line formatter and there you seem to have json.
In theory this should not happen so something else must be wrong..

Indeed the issue was created by a custom formatter that was not properly handling the appendNewLine parameter.


unknown content ArmUpSurvEx

 DEBUG    : unknown content ArmUpSurvEx

 FUNCTION : bool game::load_packs(const string&, const std::vector<string_id<MOD_INFORMATION> >&, loading_ui&)
 FILE     : src/game.cpp
 LINE     : 3079

Probably has something to do with the mod Armor Up! PA Utilities
I got this error when loading the game
Also when generating the game report I got this error:
 DEBUG    : Invalid mod ArmUpSurvEx requested

 FUNCTION : const T& string_id<T>::obj() const [with T = MOD_INFORMATION]
 FILE     : src/mod_manager.cpp
 LINE     : 29

I got this error after updating to the latest version (10952 (13 hours ago)):
- OS: Windows
    - OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
- Game Version: 0.E-5407-g8b385a2 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Magiclysm [magiclysm],
    Blaze Industries [blazeindustries],
    No name () [],
    Whaleys Collectables [collectablemod],
    XEAS [XEAS],
    Advanced Technologies [advtech],
    Broken Admin's Makeshift Items [bsam],
    No name () [],
    ClothRollmat [Cloth Rollmat],
    Crude & Improvised Items [crudeimprovised],
    Dried Fruits [dried_fruits],
    Eir's Roadrage [Eir's Roadrage],
    Expanded Archery [ExArch],
    Makeshift engine hoist [makeshift_engine_hoist_mod],
    Medieval Mod Reborn [Medieval_Mod_Reborn],
    More Vehicles [mo_veh],
    Pixel's Various Fuckery [Pix's Shit],
    No name () [],
    Sewing Machine [SM],
    Survivor's Lost item [Survivors_Lost_item],
    Survivor crowbar [surv_crowbar],
    The Glory Of Cereal! [CerealMod],
    Wild Living [WildLiving],
    Modular Turrets Remake [modular_turrets_remake],
    Civilian Salvaged Robots [civilian_salvaged_robots],
    DinoMod [DinoMod],
    Draco's Dog Mod [DracoDogMod],
    More Insects [mo_insects],
    More Monsters [mo_monsters],
    Cataclysm++ [Cata++],
    Forty's Small Mod [42_small_mod],
    MaddreMod [maddremod],
    Mining Mod [Mining_Mod],
    Mutant NPCs B10492 [mutant_npcs_10492],
    Caches [P_Caches],
    Dorf Life [Dorf_Life],
    More City Locations [cityside],
    Trailer Parks [trailerpark],
    Water Towers [water_towers],
    Whaleys TALL Buildings [whaleys_tallbuild],
    Tankmod: Revived [Tankmod_Revived],
    EXTENDED_BUILDINGS [ext]
]

I used the mod that I pulled from this repository so that is the latest version

"Armor Up! Survivor Expansion", means you need to restart if it's an old world

i think the mod had an ident change might be the issue, change to "id" to "ident" and test see if it fixes it

"ident" has become obsolete or legacy code no longer used

I fixed it. It was caused by removing all my mods from my mods folder and then replacing them with all the mods in the /working_mods folder, which did not include the mod mentioned in this issue. So they were missing and the game was telling me about that.


Renovate/bump version

Codecov Report

Merging #14 (ca4f10b) into main (e9e0ad6) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head ca4f10b differs from pull request most recent head 86687b0. Consider uploading reports for the commit 86687b0 to get more accurate results

@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   94.74%   94.74%
=======================================
  Files          48       48
  Lines        6931     6931
  Branches      450      450
=======================================
  Hits         6567     6567
  Misses        364      364

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


v0.5.0 binary not run on WSL because of libVirt 4.1 requirement

Version Reports:
Distro  version of host:
Ubuntu 18.04.1 LTS (Bionic Beaver)
Terraform Version Report
Terraform v0.11.10
__
Description of Issue/Question
Can't run terraform-provider-libvirt 0.5 binary on Windows WSL:
https://github.com/dmacvicar/terraform-provider-libvirt/releases/download/v0.5.0/terraform-provider-libvirt-0.5.0.Fedora_28.x86_64.tar.gz
It throws:
/usr/lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_4.1.0' not found
It works when i build it from source. But why is this newer version of Libvirt needed? Ubuntu provides libVirt 4.0.

@remoe hi thx for issue.
When you build the pkg from source, it build against the libvirt-devel of the host where you build, so this is why it works when you build from source.
For the 0.5.0 fedora pkg, that pkg was builded against that HEADER of Libvirt-Devel and and fedora 28 provide the 4.1  https://fedora.pkgs.org/28/fedora-x86_64/libvirt-devel-4.1.0-2.fc28.x86_64.rpm.html

thanks for this detailed explanation.


There are no active source control providers.

Issue Type: Bug
Install latest vscode and git, open a git project, Show:
There are no active source control providers.

VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:14:32.385Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

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

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.67GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

EditorConfig
Edi
0.12.4

vscode-language-pack-zh-hans
MS-
1.27.2

Can you reproduce with code --disable-extensions?

It still doesn't work.

What does F1, Git: Show Git Output return?

There is no command about git @joaomoreno

Can you retry with code --disable-extensions, but make sure Code is shutdown before you try?
Do you see any errors in F1, Developer Tools?

No errors @joaomoreno

Does this maybe work if you set --locale=en?

Do not work. @joaomoreno

I'm running out of ideas. @sandy081 @alexandrudima Any ideas on why would the Git extension not be activated?

Yes, if it is disabled.
Extensions > burger menu > Show built-in

Ensure git is enabled

git is enabled,but source control not work. @alexandrudima

@naiveLee Can you please check the extension host logs? (Perhaps there was an error while trying to activate git).
F1 > Developer Show Logs... > Extension Host. Do you see in there a line with ExtensionService#_doActivateExtension vscode.git ?

@naiveLee Great! This shows that we are attempting to activate the git extension. Are there perhaps more errors shown in the developer tools? Help > Toggle Developer Tools ?

There is no errors. @alexandrudima

@joaomoreno Is it possible for the activate call of the git extension to never complete? i.e. not throwing any error, but also not registering a SCM provider?

Not sure... I would say that it would not be possible.
Also note what the users says:

There is no command about git

This is odd since the Git: Show Git Output command should always show up. This is its declaration in package.json:
{
          "command": "git.showOutput",
          "when": "config.git.enabled"
}

@naiveLee Are you sure you did not disable git in the settings?

I ran into a similar issue, where my git plugin was disabled for some reason. @alexandrudima  thanks for the help!


Adjust more unit tests to support dequotable key_id

Adjust more unit test to support dequotable key_id

Fixed in 0.99.2 dd9fe1acdeb74029fa966b15287ba22062de342c


Paginator navigation on UID pages

On pages with configs are loaded with the URL, such as http://localhost:8080/#/en/410b88da-0ed1-4749-903f-5e76c24e2e5f, loading a slide works fine by appending it at the end of the URL (e.g. #oil-sands-deposits) but clicking on the hexagons to navigate through the ToC does not seem to be working.

Repeat of #120, closing


How to find orientation angle of an object using Intel Realsense D435i camera?

Hi,
In my project, i need to find the distance and orientation angle of the object using D435i camera.
I can find the distance using Depth stream with depth_frame.get_distance(x, y) function. But i am not sure how to calculate the angle.
Can someone help me on finding the angle?
Thanks for the help!

Hi @jaiatncson7,
You like to find the attitude angle of target object in front of D435i camera? what type of object? a flat object?

I will close this if no further response.

I am using D435 to detect the object and depth. I would like to find out the angle at which the object is placed.


Connecting to Skydemon

Hello, ;)
Thank you for this app connecting Skydemon to FS2020. This is very helpful.
I run FS2020 (FS) and Skydemon (SD) on my little LAN. Link is established without a problem. BUT:
when I choose to see other traffic, my aircraft is shown as traffic as well. So SD is continously alerting about traffic in 5 'o clock same altitude. Is there any parameter or other chance to avoid seeing my aircraft as traffic?

Huh, I have not seen this. Will investigate, thank you.

Looking forward :) :)

Hello,
are you any near to a solution?
Best regards Roland

Sorry, I haven't had time to look into this yet. Hopefully I'll get to it sometime this week. /A

No problem... Just take your time... Everthing is fine... 👍

Hi @astenlund , I stumbled across the same issue when testing your great tool together with SkyDemon. For whatever reason your own plane is broadcasted as traffic. I "solved" the issue by checking if (DataTrafficEnabled && tfk.TailNumber == "ASXGS") in MainViewModel.cs .
The question is how to go forward from here. So far I can see two options:

Allow the user to enter call signs to ignore for traffic in some textbox
Do some magic by comparing the last position received with the position of the traffic. If the difference of these values is negligible then ignore the traffic.

What's your opinion on this? Which option would you prefer? Do you have more ideas?

Hi @astenlund , I stumbled across the same issue when testing your great tool together with SkyDemon. For whatever reason your own plane is broadcasted as traffic. I "solved" the issue by checking if (DataTrafficEnabled && tfk.TailNumber == "ASXGS") in MainViewModel.cs .
The question is how to go forward from here. So far I can see two options:

Allow the user to enter call signs to ignore for traffic in some textbox
Do some magic by comparing the last position received with the position of the traffic. If the difference of these values is negligible then ignore the traffic.

What's your opinion on this? Which option would you prefer? Do you have more ideas?

@rolakon: sorry for not getting back to you, I realize this is a frustrating bug. I just haven't had much time and energy to spend on this project lately. When I started, I was on an extended furlough, but now I'm back to working full-time again.
Hi @jakobsack. I've been thinking a little about this, and your option 2 is pretty much what I also came up with. Option 1 would be too imprecise.
If you would like to submit a pull-request, I promise to have a look at it! :)
/Andreas

@rolakon: sorry for not getting back to you, I realize this is a frustrating bug. I just haven't had much time and energy to spend on this project lately. When I started, I was on an extended furlough, but now I'm back to working full-time again.
Hi @jakobsack. I've been thinking a little about this, and your option 2 is pretty much what I also came up with. Option 1 would be too imprecise.
If you would like to submit a pull-request, I promise to have a look at it! :)
/Andreas

Thanks, Jakob, for the contribution. Fix is included in the v0.1.13 release, which I just published.

Thanks, Jakob, for the contribution. Fix is included in the v0.1.13 release, which I just published.


js and csd not load

What am I trying to do..
..What's happening
while localhost/shop alter as localhost...paste directly without folder
no change made to .htaccess and base url set as localhost on bnly
help mee

@aswinsasi Do you read explanation after installation steps?

Yes sir...and its run properly on my localserver...i placed all files in
shop/... folder...its run properly in localserver...
But now in hosting i place directly the files in pubic_html without parent
folder shop/.. and change base_url as http://mywebbsitename/.
When website load the css and js is not working ..
how to manage it...
On Sat, Mar 2, 2019, 00:06 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi Do you read explanation after
installation steps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/152#issuecomment-468765677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQS6blkPL812LcsPPTizysl2oF7gwks5vSXMvgaJpZM4bXC5U
.

@aswinsasi return .htaccess file to the initial state

return .htaccess file to the initial state...
Means
On Sat, Mar 2, 2019, 12:38 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi return .htaccess file to the
initial state
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/152#issuecomment-468894265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQYGcqqa01JxcZ5eJrBwPUeGk50Lvks5vSiNqgaJpZM4bXC5U
.

...can u explain how to return .htaccess file...
On Sat, Mar 2, 2019 at 1:43 PM Aswin S<EMAIL_ADDRESS>wrote:

return .htaccess file to the initial state...
Means
On Sat, Mar 2, 2019, 12:38 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi return .htaccess file to the
initial state
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/152#issuecomment-468894265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQYGcqqa01JxcZ5eJrBwPUeGk50Lvks5vSiNqgaJpZM4bXC5U
.

sir
kindly explain  how to return .htaccess file to the initial state.....
On Sat, Mar 2, 2019 at 2:01 PM Aswin S<EMAIL_ADDRESS>wrote:

...can u explain how to return .htaccess file...
On Sat, Mar 2, 2019 at 1:43 PM Aswin S<EMAIL_ADDRESS>wrote:

return .htaccess file to the initial state...
Means
On Sat, Mar 2, 2019, 12:38 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi return .htaccess file to the
initial state
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/152#issuecomment-468894265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQYGcqqa01JxcZ5eJrBwPUeGk50Lvks5vSiNqgaJpZM4bXC5U
.

sir :1st_place_medal:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

:D


2.09 breaks watch connectivity with Legizmo

It appears that the changes in 2.09 blocks the ability for Legizmo to facilitate communication between the watch and phone. The Bluetooth/VPN path is unable to inject properly and it essentially bricks the watch.
This is occurring on iPhone 14 pro on iOS 16.0, paired with an AWU2 on Legizmo 5.1.1.
Now the watch is stuck in set up mode even after restarting it, but it is still showing up on the phone and in iCloud. There is no way to fully remove it because of the communication block, and the watch is still activation locked. It cannot communicate with the services needed to remove that lock.
I understand that users were experiencing issues with VPN profiles, but this is a pretty important thing to have functioning. Can you please look into this?
Thank you in advance for your time.
Edit: spelling

Yes, this is due to blocking injection into terminusd.
Unfortunately arm64 is a mess and I don't know how to properly solve it, blocking injection doesn't even seem to have stopped the crash loops of terminusd so I guess it can just be undone :/.

Yes, this is due to blocking injection into terminusd.
Unfortunately arm64 is a mess and I don't know how to properly solve it, blocking injection doesn't even seem to have stopped the crash loops of terminusd so I guess it can just be undone :/.

(Forgive me for jumping into this issue) AMIG0 is on an iPhone 14 Pro, which is arm64e (not arm64)
Looking at the relevant change for terminusd it seems as though it was only blocked on arm64, so I'm confused how that would affect arm64e.

Yes, this is due to blocking injection into terminusd.
Unfortunately arm64 is a mess and I don't know how to properly solve it, blocking injection doesn't even seem to have stopped the crash loops of terminusd so I guess it can just be undone :/.

Sorry I just saw your reply. I’ve been working with Lunotech on testing a couple fixes, and it appears using the native pairing method does solve this issue.
The tweak method was failing communication paths into like nanoprefsyncdfirst, appconduitd, tccd…etc. I was able to capture a couple of really useful sysdiagnose logs which helped uncover some of this (if not most) and a fix was pushed with update 5.1.2.
It’s still kind of odd though that it affected an arm64e device though.
I’ll close this out for now though as using native method/updated version of Legizmo fixes it. If others are running into issues, we can try to help them out on the Legizmo discord.
Thanks for your time!


Cleanup for Performance Test

Signed-off-by: Owais Kazi<EMAIL_ADDRESS>Description
Addressed comments of https://github.com/opensearch-project/opensearch-build/pull/314
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] 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 #404 (951e02d) into main (b253175) will increase coverage by 1.60%.
The diff coverage is 36.36%.

@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
+ Coverage   57.45%   59.06%   +1.60%
==========================================
  Files          34       38       +4
  Lines         992     1109     +117
==========================================
+ Hits          570      655      +85
- Misses        422      454      +32

Impacted Files
Coverage Δ

bundle-workflow/src/perf_test.py
0.00% <0.00%> (ø)

bundle-workflow/src/test_workflow/test_cluster.py
55.55% <37.50%> (-11.12%)
:arrow_down:

...le-workflow/src/test_workflow/perf_test_cluster.py
100.00% <100.00%> (+10.20%)
:arrow_up:

bundle-workflow/src/ci_workflow/ci_args.py
100.00% <0.00%> (ø)

bundle-workflow/src/ci.py
0.00% <0.00%> (ø)

bundle-workflow/src/aws/s3_bucket.py
96.66% <0.00%> (ø)

bundle-workflow/src/ci_workflow/ci.py
85.71% <0.00%> (ø)

Continue to review full report at Codecov.

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


Automate releases

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry
https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages
https://github.com/softprops/action-gh-release

name: Ruby Gem

on:
  release:
    types: [created]

jobs:
  build:
    name: Build + Publish
    runs-on: macos-latest
    permissions:
      contents: read
      packages: write

    steps:
    - uses: actions/checkout@v3
    - name: Set up Ruby 3.1
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 3.1.x

    - name: Publish to GPR
      run: |
        mkdir -p $HOME/.gem
        touch $HOME/.gem/credentials
        chmod 0600 $HOME/.gem/credentials
        printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
        gem build *.gemspec
        gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
      env:
        GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
        OWNER: ${{ github.repository_owner }}

    - name: Publish to RubyGems
      run: |
        mkdir -p $HOME/.gem
        touch $HOME/.gem/credentials
        chmod 0600 $HOME/.gem/credentials
        printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
        gem build *.gemspec
        gem push *.gem
      env:
        GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"