Any problem with downloading and caching CPM.cmake in CMake?

Hi, thanks for developing the very nice tool. I like the snippet in the Wiki page, Downloading CPM.cmake in CMake, which makes it easy to set up CPM in my project just by adding a few lines.
But I was wondering that the downloaded CPM could be also stored in the cache specified by CPM_SOURCE_CACHE. Indeed, the following seems to work:
set(CPM_DOWNLOAD_VERSION 0.27.2)
if(DEFINED ENV{CPM_SOURCE_CACHE})
  # If CPM_SOURCE_CACHE is given, then use the cache directory also for CPM.
  set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
else()
  set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
endif()

if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION}))
  message(STATUS "Downloading CPM.cmake")
  file(DOWNLOAD https://github.com/TheLartians/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake ${CPM_DOWNLOAD_LOCATION})
endif()

This gives a benefit that repeating downloads of CPM.cmake can be also avoided, and one can create new builds offline if CPM and all dependencies are cached. The disadvantage I can see is only that one needs the 4 additional lines in CMakeLists.txt.
Do you see any problem with using a cached CPM.cmake in the above way? I just checked with a small test, so maybe I missed something.
If the above has no problem, then perhaps putting it in the Wiki page would be a good idea, maybe in addition to the original simpler one, if you like.

Hey, thanks for the suggestion, that's a great idea to solve the issue with downloading the CPM.cmake script on-demand!
One thing to consider is that CPM.cmake also allows setting a cache dir per build directory, e.g. through calling cmake build -DCPM_SOURCE_CACHE=/path/to/cache. So in order to get completely consistent behaviour we would need to consider the case if (CPM_SOURCE_CACHE) ... before checking the environment.
Another thing might be changing the path to be more consistent with other packages, so something like $ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake could work.
Besides that I see no issue in adding that to the wiki, I think we could even replace the original version as this extension removes the trade-off of loosing offline configuration.

Thanks for your reply and explanation. So, the check would be:
if(CPM_SOURCE_CACHE)
  set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
elseif(DEFINED ENV{CPM_SOURCE_CACHE})
  set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
else()
  set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
endif()

or if you like the "Don't repeat yourself" principle, maybe:
if(CPM_SOURCE_CACHE)
  set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm")
elseif(DEFINED ENV{CPM_SOURCE_CACHE})
  set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm")
else()
  set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake")
endif()
set(CPM_DOWNLOAD_LOCATION "${CPM_DOWNLOAD_LOCATION}/CPM_${CPM_DOWNLOAD_VERSION}.cmake")

Looks good to me! Personally I prefer the first version as the repetition isn't too bad and we save a line of code.

I've gone ahead and added your suggestion to the wiki.
Actually it even makes sense to always download CPM.cmake on-demand as this avoids code bloat in user's projects. Therefore, the releases now include a add_cpm.cmake script that contains code to download the specific release. Downloading this script instead of the full source is now the recommended way to use CPM.cmake.
Thanks a lot for the suggestion!


Detach monitor functionality to other container with separate supervisor

Is your feature request related to a problem? Please describe.
The taps on the backend compete for resources with the detection and database. We need to check if we can separate them in a different container for scalability reasons.
Describe the solution you'd like
Without changing anything in the configuration logic and control mechanisms (e.g., UI monitor on/off), need to check if we can detach and monitor.py taps from backend
and clone listener.py and supervisor in a new "taps" container
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://www.consul.io/discovery.html

And the Github repo: https://github.com/hashicorp/consul

Sample mermaid diagram for system arch (https://mermaidjs.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbkFbQmFja2VuZCBTZXJ2aWNlIE1hbmFnZXJdLS0-QltYTUxSUEMgU3VwZXJWaXNvciBFbmRwb2ludCAjMV1cbkEtLT5DWy4uLl0gXG5BLS0-RFtYTUxSUEMgU3VwZXJWaXNvciBFbmRwb2ludCAjTl1cbkItLT5FW0NvbnRhaW5lciBNaWNybyBTZXJ2aWNlcyAjMV1cbkMtLT5GWy4uLl1cbkQtLT5HW0NvbnRhaW5lciBNaWNybyBTZXJ2aWNlcyAjTl1cbkUtLT5IW0JhY2tlbmQgU2VydmljZSBEaXNjb3ZlcnldXG5GLS0-SFxuRy0tPkhcbkgtLT5BXG5cbiIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19):
graph TD
A[Backend Service Manager]-->B[XMLRPC SuperVisor Endpoint #1]
A-->C[...]
A-->D[XMLRPC SuperVisor Endpoint #N]
B-->E[Container Micro Services #1]
C-->F[...]
D-->G[Container Micro Services #N]
E-->H[Backend Service Discovery]
F-->H
G-->H
H-->A

Note that since with this arch we will have a supervisor running per container, we need to break down the initial sup conf into several files and map them to the different containers. So we will need a parser and conf generator for sup confs.

After discussion with @slowr @pgigis , the following steps need to be made:

Create dedicated supervisor files per microservice (e.g., monitor, detection). The user will no longer edit the services.d/supervisor.conf file, but will simply set scaling numbers in docker-compose.
Pass the basic name of the microservice in the respective container as a variable in the docker-compose.yaml
When a container gets up, it sends the following string to redis:

<container_name>_<hash_from_/etc/hostname>

Note that the hash from /etc/hostname is pingable by other containers.
4) The redis registers the new service (e.g., in a set indexed by the basic name of the service)
5) When the user needs to control services using the UI, redis is consulted and the corresponding services are controlled via the supervisor endpoint (answering in the respective hash names). Note that if a certain service does not respond it can be considered as "down" and be removed from redis.
@slowr if possible check if you can create a prototype of this discussed workflow for a single container (e.g., by isolating/detaching detection or monitor; you can start with monitor).

@slowr Since the first part is done, but the redis queries are pending, I am moving this to 1.4.0 for completion.

I am going to close this ticket as the first iteration already happened. The split of the services to a separate container needs a bigger core change.


Add Contributors Pannel.

As this project is getting contributions,

I need a section at the bottom to show contributors icons
Also add the contributors section reference in Table of Contents
You might take reference from my UEMCRP project.

in which file you want to add contributors section in CONTRIBUTING.md  or README.md or in both

Only Below Readme.md

ok
is heading name "Best Contributors" is ok or if not suggest one
as heading name in  readme.md file in UEMCRP project is same

Yes! It would be fine

ok I will do it

done bro

Best Contributors 🎭
[![Best Contributors](https://contrib.rocks/image?repo=warmachine028/memories)](https://github.com/warmachine028/uemcrp/graphs/contributors)

bro  I registered for hacktoberfest 2022.
Can you tell me what type of prs they will accept.
Will documentation and small small changes in the code be accepted?
On Sat, 22 Oct 2022 at 20:44, Kryptonite @.***> wrote:

Reopened #22 https://github.com/warmachine028/memories/issues/22.
—
Reply to this email directly, view it on GitHub
https://github.com/warmachine028/memories/issues/22#event-7646328005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2HK27AU6DMUYOG66PYP2RLWEQAD3ANCNFSM6AAAAAARL3XWUU
.
You are receiving this because you were assigned.Message ID:
@.***>

I am new to the git and github can i know
is it ok if i raise pr for this issue as this is small ?
will this pr get accepted in hacktoberfest ?

It will get accepted. Just make a PR.

Please make sure to 🌟 this repo


Add new validators: after_including, before_including

For dates, not always do they are required to be strictly after or before some particular date. There are many cases when the boundary date is allowed as well:

DOB of an animal in a farm must be before_including:today
Arrival date of a good to stock must be before_including:today
... and its shipping date must be after_including:arrival_date

and so on.

Thank you, but as per our contribution guidelines, we do not process proposals on github.

So, I made a mistake by posting here. Will you just ignore the proposal because of a mistake?


minor fix to environment variable DOCKER_CONTENT_TRUST_SERVER

Coverage remained the same at 54.551% when pulling 610a9aae85287423c5f4a23e930070267ba01116 on reasonerjt:dev into f62b890f0d864a8ea75a4d30f1b4c54b6ec1c438 on vmware:dev.

Coverage increased (+0.05%) to 54.591% when pulling 6e671e5cc27d4420d42629853eac0b2b35d6007f on reasonerjt:dev into 79263a8ba76b8de4ebc42e5a5f1ce55e960f7668 on vmware:dev.

Coverage increased (+0.05%) to 54.591% when pulling 6e671e5cc27d4420d42629853eac0b2b35d6007f on reasonerjt:dev into 79263a8ba76b8de4ebc42e5a5f1ce55e960f7668 on vmware:dev.


[AutoRelease] t2-azurestackhci-2024-08-26-84558(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5372
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1851

issue link:https://github.com/Azure/sdk-release-request/issues/5372

/check-enforcer override


SPI with Adafruit ItsyBitsy RP2040?

Hello,
Since the “Adafruit ItsyBitsy RP2040” is mentioned as a one lane output, would “HyperSerialPico_Spi.uf2” work on “Adafruit ItsyBitsy RP2040”, with the DATA on GPIO 3 and CLOCK on GPIO 2 with the SPI WS2801 LEDs? Or should I compile differently?
Adafruit ItsyBitsy RP2040 pinout.pdf

Hi
Not sure, the sk9822/apa102 protocol is not quite the same as ws2801. But they are very similar and there are using similar speed. But GPIO2/3 does not have level shifter support on this board. HyperSerialPico doesnt depend on any external library to render LEDs and currently there is no option to compile it strictly for ws2801: this protocol is not implemented yet.

Thank you for the prompt reply. Okay, I was afraid that the LEDs would not use the same protocol. I know that GPIO 2 and 3 do not have level converters.
I will test when I get a chance and see what comes up. Furthermore, I can quickly solder a level shifter in between and will report back if the WS2801 behave like the APA 102. It's worth a try.


CRC calculation differences

Hello,
Thank you for this amazing project. It really helped me integrate my solar inverter to my home automation system.
While trying some custom commands (Mainly QEDYYYYMMDD to get the PV production), I noticed that they were failing on some days while working on others, although they worked using another project by @jblance.
Digging deeper, I found that he was using a different CRC function (written in python). So I translated his function to javascript and replaced it in your CRC.js file. It seems the CRC calculations are now more stable and there's no need for the POP02 exception.
I created a pull request #7 for you to consider.
Thanks again for your work.

Fixed in version 1.0.1, merged in PR: #9
Thanks!


Update owners file.

Removed Katherine Lin
Added Alex Vulaj
Added Florian Bergmann

/lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@a2a4a5d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage        ?   44.89%
=======================================
  Files           ?        4
  Lines           ?      196
  Branches        ?        0
=======================================
  Hits            ?       88
  Misses          ?       88
  Partials        ?       20

/lgtm


committee membership with start/end

is the membership time period available anywhere?

I am wondering why there is no index to tie committee members to committee names?


UI for indicating a big, sharded directories

Describe the bug
I am trying to upload 6666 files. There should be a link for every file once the upload has completed but only 256 are appearing every time. When I open the folder itself all 6666 png files are there.
I have tried gradually uploading the files into the folder as well as uploading the folder all at once.
To Reproduce
Steps to reproduce the behavior:

Go to Files

Click on Import > New Folder. Gradually drag png files into the folder.

Once finished, click on the three dots next to the folder and "Inspect"

See only 256 links instead of the thousands that should have generated.

Go to Files

Click on Import > Folder. Add chosen folder

Once finished, click on three dots next to the folder and "Inspect"

See only 256 links instead of the thousands that should have generated.

Expected behavior
What I expect to happen is that when I import 6666 files (or however many thousand) that I see 6666 links in the Inspect screen
Desktop (please complete the following information):

OS: Mac OS Big Sur 11.6.1
Browser n/a
Version IPFS Desktop 0.20.3

My guess is that the manifest of the directory you create gets bigger than the maximum block limit in IPFS, and that forces it to be automatically sharded.
The 256 children you see is only the first level of HAMT shard.
Can you confirm the directory you open in IPLD Explorer has hamt-sharded type as seen below?

normal dir
sharded dir

If so, this works as expected – Inspect view gives you an insight into real, low-level  representation of a big directory. To see the actual files, you need to go two or more levels deep.

@Helletons we'll leave this issue open just in case the community wants to add this support. If you're still blocked please reach out.

Hi
Sorry for the slow response. Yes you were correct. It was sharded and actually all fine.
The tutorial I had watched suggested it would show a long list of every file immediately
instead of this sharded version. All fine
Thanks for getting back to me :)
April 11, 2022 8:59:09 PM CEST Marcin Rataj @.***> wrote:
My guess is that the manifest of the directory you create gets bigger than the maximum block limit in IPFS, and that forces it to be automatically sharded.
The 256 children you see is only the first level of HAMT shard.
Can you confirm the directory you open in IPLD Explorer has hamt-sharded type as seen below?normal dirsharded dir
If so, this works as expected – Inspect view gives you an insight into real, low-level  representation of a big directory. To see the actual files, you need to go two or more levels deep.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
-- Sent with https://mailfence.com  Secure and private email

Last message from reporter indicates it's actually all fine. Closing.


kubearmor: Not working when installed using the combined helm chart

intents involving the kubearmor are not working when kubearmor is installed using the combined helm chart. These intents work when the nimbus-kubearmor adapter and kubearmor are installed separately.
The combined helm chart creates all the operators/adapters, and kubearmor in the nimbus ns.

When the adapter and kubearmor are installed separately..
$ kg -n kubearmor pods
NAME                                    READY   STATUS      RESTARTS   AGE
kubearmor-bpf-containerd-98c2c-7v2gt    1/1     Running     0          18s
kubearmor-bpf-containerd-98c2c-mtrbv    1/1     Running     0          17s
kubearmor-controller-6569f787d5-lcxqj   2/2     Running     0          18s
kubearmor-operator-55db48ffcb-whfbm     1/1     Running     0          34s
kubearmor-relay-67fb6dd7bb-bp7mm        1/1     Running     0          18s
kubearmor-snitch-2kq27-dvrll            0/1     Completed   0          23s
kubearmor-snitch-sm8sv-c4g7m            0/1     Completed   0          23s

With the combined helm chart, kubearmor is installed in the nimbus namespace. Also, snitch pods are crashing..
$ kg -n nimbus pods
NAME                                             READY   STATUS             RESTARTS      AGE
kubearmor-controller-699bbcd48d-sdg85            2/2     Running            0             70s
kubearmor-operator-55db48ffcb-gpfj8              1/1     Running            0             77s
kubearmor-relay-5749b9c86c-l7ng4                 1/1     Running            0             59s
kubearmor-snitch-bqpvm-5x84q                     0/1     CrashLoopBackOff   3 (21s ago)   65s
kubearmor-snitch-vkz8v-g5szh                     0/1     CrashLoopBackOff   3 (24s ago)   65s
kyverno-admission-controller-895c9dc9b-zmmhn     1/1     Running            0             77s
kyverno-background-controller-7bd77f8957-pmsdk   1/1     Running            0             77s
kyverno-cleanup-controller-84cb4cbc8d-dsrww      1/1     Running            0             77s
kyverno-reports-controller-7579899b66-kjzhf      1/1     Running            0             77s
nimbus-kubearmor-zwk6l                           1/1     Running            0             77s
nimbus-kyverno-4g2pn                             1/1     Running            0             77s
nimbus-netpol-zj69f                              1/1     Running            0             77s
nimbus-operator-58d454b94b-tdtb5                 1/1     Running            0             77s

Installation is working as expected for me on my k0s cluster.
❯ helm upgrade --dependency-update --install nimbus-operator 5gsec/nimbus -n nimbus --create-namespace
Release "nimbus-operator" does not exist. Installing it now.
coalesce.go:237: warning: skipped value for nimbus-kubearmor.autoDeploy: Not a table.
coalesce.go:237: warning: skipped value for nimbus-kyverno.autoDeploy: Not a table.
NAME: nimbus-operator
LAST DEPLOYED: Wed Jul  3 13:45:47 2024
NAMESPACE: nimbus
STATUS: deployed
REVISION: 1

❯ kg -n nimbus po
NAME                                                       READY   STATUS      RESTARTS   AGE
kubearmor-bpf-containerd-e6e27-x82wx                       1/1     Running     0          80s
kubearmor-controller-6b77bc6479-dbvp7                      2/2     Running     0          5m23s
kubearmor-operator-5cdbc5f9-5hpmp                          1/1     Running     0          8m48s
kubearmor-relay-f4f9b5cfd-7w9qr                            1/1     Running     0          6m15s
kyverno-admission-controller-7875989d78-j6xmf              1/1     Running     0          8m48s
kyverno-background-controller-6c7776f6f8-rmmxc             1/1     Running     0          8m48s
kyverno-cleanup-admission-reports-28666580-s88hk           0/1     Completed   0          4m38s
kyverno-cleanup-cluster-admission-reports-28666580-jllts   0/1     Completed   0          4m38s
kyverno-cleanup-cluster-ephemeral-reports-28666580-qlcs9   0/1     Completed   0          4m38s
kyverno-cleanup-controller-6cc568f64f-xr4rb                1/1     Running     0          8m48s
kyverno-cleanup-ephemeral-reports-28666580-64rwt           0/1     Completed   0          4m38s
kyverno-cleanup-update-requests-28666580-zwzsg             0/1     Completed   0          4m38s
kyverno-reports-controller-7f5bd6b7bf-5jxtx                1/1     Running     0          8m48s
nimbus-kubearmor-xwktr                                     1/1     Running     0          8m48s
nimbus-kyverno-zgwht                                       1/1     Running     0          8m48s
nimbus-netpol-m2j5r                                        1/1     Running     0          8m48s
nimbus-operator-6c799ddf6-nvwrj                            1/1     Running     0          8m48s

There were some stale clusterroles, clusterrolebindings present in the kubearmor ns. Once these were deleted, the install went through, and the intents - prevent execution from temp folder, dm are working fine.
$ k exec -it -n free5gc-cp busybox -- sh
/ # cp /bin/wget /tmp/
/ # /tmp/wget
sh: /tmp/wget: Permission denied
/ # echo "hello world" >> /etc/resolv.conf
sh: write error: Permission denied

Even now, if the nimbus operator is uninstalled, there are resources which are not yet deleted.
$ helm uninstall -n nimbus nimbus-operator
release "nimbus-operator" uninstalled
$ kg clusterrolebinding | grep kubearmor
kubearmor-clusterrolebinding                           ClusterRole/kubearmor-clusterrole                                                  6m25s
kubearmor-controller-clusterrolebinding                ClusterRole/kubearmor-controller-clusterrole                                       6m24s
kubearmor-controller-proxy-rolebinding                 ClusterRole/kubearmor-controller-proxy-role                                        6m23s
kubearmor-relay-clusterrolebinding                     ClusterRole/kubearmor-relay-clusterrole                                            6m24s
kubearmor-snitch-binding                               ClusterRole/kubearmor-snitch                                                       6m23s

$ kg role,rolebinding -n nimbus | grep kubearmor
role.rbac.authorization.k8s.io/kubearmor-controller-leader-election-role   2024-07-03T15:05:26Z
rolebinding.rbac.authorization.k8s.io/kubearmor-controller-leader-election-rolebinding   Role/kubearmor-controller-leader-election-role   8m16s
shiv@nephio-demo-5:~$ kg role,rolebinding -n nimbus | grep kubearmor
role.rbac.authorization.k8s.io/kubearmor-controller-leader-election-role   2024-07-03T15:05:26Z
rolebinding.rbac.authorization.k8s.io/kubearmor-controller-leader-election-rolebinding   Role/kubearmor-controller-leader-election-role   13m


[Clojure] Clojure BERT QA example

Description
Thanks to @lanking520 and the JVM team - we were able to convert the Java BERT QA example to the Clojure package 💯
This makes a slight change to it by having an external edn file to store the sample question and answers along with the ground truths to be able to process multiple examples and make it easier to edit and add more.
Example output:
===============================
      Question Answer Data
{:input-answer
 "Computational complexity theory is a branch of the theory of computation in theoretical computer science that focuses on classifying computational problems according to their inherent difficulty, and relating those classes to each other. A computational problem is understood to be a task that is in principle amenable to being solved by a computer, which is equivalent to stating that the problem may be solved by mechanical application of mathematical steps, such as an algorithm.",
 :input-question
 "By what main attribute are computational problems classified utilizing computational complexity theory?",
 :ground-truth-answers
 ["Computational complexity theory"
  "Computational  complexity theory"
  "complexity theory"]}

  Predicted Answer:  [inherent difficulty]
===============================
===============================
      Question Answer Data
{:input-answer
 "Steam engines are external combustion engines, where the working fluid is separate from the combustion products. Non-combustion heat sources such as solar power, nuclear power or geothermal energy may be used. The ideal thermodynamic cycle used to analyze this process is called the Rankine cycle. In the cycle, water is heated and transforms into steam within a boiler operating at a high pressure. When expanded through pistons or turbines, mechanical work is done. The reduced-pressure steam is then condensed and pumped back into the boiler.",
 :input-question
 "Along with geothermal and nuclear, what is a notable non-combustion heat source?",
 :ground-truth-answers
 ["solar"
  "solar power"
  "solar power, nuclear power or geothermal energysolar"]}

  Predicted Answer:  [solar power]
===============================
===============================
      Question Answer Data
{:input-answer
 "In the 1960s, a series of discoveries, the most important of which was seafloor spreading, showed that the Earth's lithosphere, which includes the crust and rigid uppermost portion of the upper mantle, is separated into a number of tectonic plates that move across the plastically deforming, solid, upper mantle, which is called the asthenosphere. There is an intimate coupling between the movement of the plates on the surface and the convection of the mantle: oceanic plate motions and mantle convection currents always move in the same direction, because the oceanic lithosphere is the rigid upper thermal boundary layer of the convecting mantle. This coupling between rigid plates moving on the surface of the Earth and the convecting mantle is called plate tectonics.",
 :input-question
 "What was the most important discovery that led to the understanding that Earth's lithosphere is separated into tectonic plates?",
 :ground-truth-answers ["seafloor spreading"]}

  Predicted Answer:  [seafloor spreading]
===============================
===============================
      Question Answer Data
{:input-answer
 "Susan had a cat named Sammy when she lived in the green house.",
 :input-question "What was Susan's cat named?",
 :ground-truth-answers ["Sammy" "sammy"]}

  Predicted Answer:  [sammy]
===============================
===============================
      Question Answer Data
{:input-answer
 "Rich Hickey is the creator of the Clojure language. Before Clojure, he developed dotLisp, a similar project based on the .NET platform, and three earlier attempts to provide interoperability between Lisp and Java: a Java foreign language interface for Common Lisp, A Foreign Object Interface for Lisp, and a Lisp-friendly interface to Java Servlets.",
 :input-question "Who created Clojure?",
 :ground-truth-answers ["rich" "hickey"]}

  Predicted Answer:  [rich hickey]
===============================

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[X] Changes are complete (i.e. I finished coding on this PR)
[X] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[X] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[X] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
New example code for BERT QA based off the Java example along with a new integration test
Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Thanks so much for the feedback @kedarbellare - I'll work on implementing it 😸


salt ore drops salt ore, not salt dust

need to change salt ore drop to salt dust and program fortune

the real issue here is that BAWLS had no access to salt. Added recipe for tinkers hammer to make salt.


Debugging hangs when polling for Amazon SWF activities

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?   Version: 1.0.0-rc.1

What version of Go are you using? (go version)?  go version go1.8 darwin/amd64

What operating system and processor architecture are you using?  OSX Sierra

What did you do?
I used to use godebug, but moving to delve, but having an issue working with Amazon's simple workflow engine.
I have a go program which poles for an Amazon SWF workflow activity. See below on line 94.
The polling works by either waiting for a minute, or when an activity is received, we should move onto line 95.

What did you expect to see?
In GODEBUG, it will wait on line 94 until an SWF activity is started and then continue debugging on line 95.
ps. Just for info the code does work and if I run without delve, then the GO code does work as expected.

What did you see instead?
As below, debugging seems to hang and even after starting the workflow, dlv doesnt seem to pick it up and continue onto line 95. However, you will see at the bottom we just seem to sit in a waiting s

Is this an issue

kill -QUIT <pid of dlv process> when it gets stuck

Could do, but the problem here is that it always gets stuck on any sort of poling of amazon swf activities.
https://docs.aws.amazon.com/sdk-for-go/api/service/swf/#SWF.PollForDecisionTask
Any idea why it would always get stuck at that point?
Is there anything I can run to outside of the debug environment to see why it may be stuck?

There is a known cause for delve getting stuck on macOS: https://github.com/derekparker/delve/issues/902. However this looks too deterministic to be that, is it possible that by using the debugger you slowed down your process too much, and amazon just decided to hang up on you?

ok, could be a mac issue as it is working ubuntu with go 1.6
I will try the aarzilli:manualstopcond branch on my mac and let you know.
thanks a mill for all your efforts.


class not found

Hi,
When running php artisan migrate I get the error off class not found,
{"error":"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class '' not found","file":"C:\\wamp\\www\\Project\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Migrations\\Migrator.php","line":297}}
I've run composer dump-autoload didn't help
this started happening, when I deleted everything in my database, and deleted an migration, and added an foreign key in a file, which then I had to rename in order to get it  running in a good order. (forgot to run php artisan migrate:reset)
all my migrations are getting loaded (placed // classname in each file, and they are outputted in the console before the error is thrown)

Composer dump-autoload did the trick for me. Thanks foxted


CSS issues after upgrading to Django 3.2

it seems that there are some CSS issues after upgrading, text is not visible anymore, here is an example before and after the upgrade :
Before:

After:

Before:

After:

Before:

After:

I think it's related to django 3.2, since disabling some properties in base.css seemed to fix the issue

Any updates on the issue ? I tried to override django's new css but it doesn't seem to be working with this plugin. if you have any hints I can try to fix

Any updates on this?

I had the same issue. Any update on it?


init unhelpfully fails when run in an existing project directory

To reproduce:
From a directory that is set up as a React-Native project, or simply has content in /node_modeuls/react-native, run react-native init NewProject
Expected behavior:
Either

create a new nested project in the present directory, or
inform the user that a new project cannot be created in the current directory

Observed Behavior:
$ react-native init AwesomeNewThing
Command `init` unrecognized
Usage: react-native <command>

Commands:
  start: starts the webserver
  install: installs npm react components
  bundle: builds the javascript bundle for offline use
$

I found this behavior particularly frustrating because the current directory didn't contain a functional React Native project, but rather a half-way created one that failed because I didn't have the correct versions of node. It appeared to me that I had yet another incorrectly configured environment for React Native development.

Thanks for reporting!


Reserving low memory by a TPA program

Hi,
I have been working on the Atari XL port, and it's working now. BIOS, BDOS and CCP are "under" the ROM so to speak, and there's over 49kB of TPA RAM for user programs now.

But there's a problem with loading fonts. I used to load them at the end of the TPA, lower the upper limit and be done with it. That won't work if that part of RAM is under the ROM. Used to be $bc00, now it'll be $cc00. But everytime the ROM is switched on for CIO or SIO calls the font will disappear and garbage is displayed.
I have already moved the screen memory to low RAM, but that's setup before the rest is run. Now if I want SETFNT.COM to load a font, 1 kilobyte aligned (requirement of the hardware), in low memory, it will overwrite itself while it's running. Is there a way to avoid that? I could reload myself (i.e. setfnt.com loads setfnt.com somewhere higher, relocate it and run again), but I was hoping for something more elegant :)
Regards,
Ivo

It is doable without relocation, but it's ugly. The bottom of your binary contains the font, plus 1kB of padding. The actual code starts above this. On startup, you move the font data so it's aligned; the padding allows this without interfering with the code. Before exiting you adjust the TPA to discard the code.
The downside is that you're wasting up to a kilobyte of memory for the padding.

I see. As in my case the font is to be loaded from disk and not part of the COM file, it means I have to pad with 7 pages to be prepared for the worst case of non-alignment with 1kB boundaries. That's 14 sectors on disk, which is quite substantial as setfnt.com now is only 4 sectors. Reloading itself and relocating and copying over the fcb might be an option. The second copy needs to check TPA lowmem with its own lowmem to know it has been called before.
I was also thinking of creating a small wrapper that has setfnt.com included as an array or block of bytes. The wrapper copies that array to the top of the memory (perhaps minus one extra page in case the fcb would spillover), calls relocate, copies over the fcb to its pblock (offset is in the header) and then jumps to it. That might need less sectors read from disk and could be reused for other programs that need to allocate memory at the bottom of the TPA. Would that be acceptable?

Anything's acceptable!
How big is the ROM? Could you split the memory map into MAIN and EXTRA, with the boundary at the bottom of the ROM, with the BIOS loading right at the top of memory and the CCP and BDOS under the ROM? That way setfnt could claim an aligned block from the top of TPA, and (assuming I've understood the Atari memory map) because the BIOS isn't in low memory any more you should even get some TPA back?

I choose to implement no hack. On a <= 48kB machine, it loads the font at the top of the TPA. On a 64+kB machine, the first run reserves memory, and after that you can change fonts at will.
The ROM is 16kB (c000-ffff). I have split the memory into MAIN and EXTRA already. MAIN is from 0500-cfff (where c000-cffff is under the ROM). d000-d7ff are the hardware registers, d800-dfff is the BIOS, e000-e3ff is a copy of the ROM font for when the ROM is disabled, e400-ffff is the EXTRA bank that contains BDOS, CCP and some free memory. BIOS is basically not in any bank :) And MAIN only contains two small interrupt routines for when the ROM is disabled and two wrappers to call CIO (keyboard) and SIO (serial or PBI disk access). By using SIO you get PBI devices like flashcarts, IDE interfaces, etc., for free.

Closing for cleanup.


chore(github-actions): bump up github action workflow step dependencies

Bump up github action workflow step dependencies

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

Comparison is base (5f0b16d) 50.17% compared to head (7042f72) 50.17%.
Report is 8 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #173   +/-   ##
========================================
  Coverage    50.17%   50.17%
========================================
  Files           38       38
  Lines         2792     2792
========================================
  Hits          1401     1401
  Misses        1285     1285
  Partials       106      106

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


Feature/33/support url input

close #33
Types of changes

Bugfix
New feature

new option from-url for CLI entrypoint vhcalc imghash

Refactoring
Breaking change (any change that would cause existing functionality to not work as expected)
Documentation Update
Other (please describe)

Description

$ vhcalc imghash --help
Usage: vhcalc imghash [OPTIONS] [INPUT_STREAM] [OUTPUT_STREAM]

  Simple form of the application: Input filepath > image hashes (to stdout by
  default)

Options:
  --image-hashing-method [AverageHashing|PerceptualHashing|PerceptualHashing_Simple|DifferenceHashing|WaveletHashing]
                                  [default: PerceptualHashing]
  --decompress
  --from-url URL
  --help                          Show this message and exit.

  # launching (in background) a webserver deserving `tests/data` files
$ python3 -m http.server -d tests/data & \
  # input: url to tests/data video serving by http server
  vhcalc --from-url http://<IP_ADDRESS>:8000/big_buck_bunny_trailer_480p.mkv | \
  # output/input: binary images hashes (through pipe stream)
  vhcalc --decompress | \
  # output: string hexadecimal representation of images hashes (to stdout)
  fold -w 16 | tail -n 8; \
  # killing the http server launch at the beginning
  ps -ef | grep http.server | grep tests/data | grep -v grep | awk '{print $2}' | xargs kill
[1] 2217597
Serving HTTP on <IP_ADDRESS> port 8000 (http://<IP_ADDRESS>:8000/) ...
<IP_ADDRESS> - - [12/Sep/2024 16:36:44] "GET /big_buck_bunny_trailer_480p.mkv HTTP/1.1" 200 -
The frame size for reading (32, 32) is different from the source frame size (854, 480).
d592916d7a9a8565
d59291656e9a85e5
d5d291656a9a85e5
d5d2912c6e9b85e4
d5d2916d6e9281e5
d5d2916d6ed281e1
d5d681b56ec281f1
d5d52ad528d528d5%
[1]  + 2217597 terminated  python3 -m http.server -d tests/data

Checklist:

[ ] Add test cases to all the changes you introduce
[x] Run inv style locally to ensure all linter checks pass
[x] Run inv test locally to ensure all test cases pass
[x] Run inv secure locally to ensure no major vulnerability is introduced
[x] Update the documentation if necessary

Steps to Test This Pull Request

Expected behavior

Related Issue

Additional context

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

20 of 21 (95.24%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 99.048%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

vhcalc/app.py
6
7
85.71%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.4%

Covered Lines:
208

Relevant Lines:
210

💛  - Coveralls


Add Folder for Kotlin

Includes two programs written in Kotlin

Character to ASCII
Factorial of a Number

@Shubhamrawat5 please recommend changes if any.


arangoimport cannot find a file in the same directory

Windows 10, 64-bit.
Here's a command prompt session.
C:\Users\FruitfulApproach\Desktop\Quiver\quiver>arangoimport --file C:/Users/FruitfulApproach/Desktop/Quiver/quiver/DemoData/airports.csv --collection airports --create-collection true --type csv
Please specify a password:
Connected to ArangoDB 'http+tcp://<IP_ADDRESS>:8529, version: 3.7.5, database: '_system', username: 'root'
----------------------------------------
database:               _system
collection:             airports
create:                 yes
create database:        no
source filename:        C:/Users/FruitfulApproach/Desktop/Quiver/quiver/DemoData/airports.csv
file type:              csv
quote:                  "
separator:
threads:                2
connect timeout:        5
request timeout:        1200
----------------------------------------
Starting CSV import...

created:          0
warnings/errors:  0
updated/replaced: 0
ignored:          0
lines read:       0
2021-01-04T16:31:26Z [11628] ERROR [46995] error message(s):
2021-01-04T16:31:26Z [11628] ERROR [25049] No such file or directory

C:\Users\FruitfulApproach\Desktop\Quiver\quiver>dir
 Volume in drive C is Windows
 Volume Serial Number is E48C-105C

 Directory of C:\Users\FruitfulApproach\Desktop\Quiver\quiver

01/04/2021  08:24 AM    <DIR>          .
01/04/2021  08:24 AM    <DIR>          ..
01/03/2021  04:19 PM                12 .gitignore
01/03/2021  04:21 PM    <DIR>          .vscode
01/04/2021  08:24 AM    <DIR>          DemoData
01/04/2021  08:23 AM         5,972,303 GraphCourse_DemoData_ArangoDB-2.zip
01/03/2021  04:19 PM             1,063 LICENSE
01/03/2021  04:19 PM             4,018 Makefile
01/03/2021  06:32 PM    <DIR>          nodeArangoWebApp
01/04/2021  07:42 AM    <DIR>          node_modules
01/04/2021  07:42 AM            40,971 package-lock.json
01/04/2021  07:42 AM                79 package.json
01/03/2021  04:19 PM             7,847 README.md
01/03/2021  04:19 PM    <DIR>          screenshots
01/04/2021  08:00 AM    <DIR>          src
               7 File(s)      6,026,293 bytes
               8 Dir(s)  94,399,741,952 bytes free

C:\Users\FruitfulApproach\Desktop\Quiver\quiver>

This is from the very first graph db course listed here:
https://www.arangodb.com/learn/graphs/

hm, I think that arangoimport doesn't handle using / as path separator the right way. If you use \ in the pathname, that should work.

hm, I think that arangoimport doesn't handle using / as path separator the right way. If you use \ in the pathname, that should work.

Currently you can't use forward slashes / in the Windows command prompt (cmd), but this will be supported in 3.8.

Currently you can't use forward slashes / in the Windows command prompt (cmd), but this will be supported in 3.8.

A backport of this fix will already be available in v3.7.7.
Changelog:

Normalize user-provided input/output directory names in arangoimport,
arangoexport, arangodump and arangorestore before splitting them into path
components, in the sense that now both forward and backward slashes can be
used on Windows, even interchangingly.

Hi @enjoysmath,
v3.7.7 with above quality-of-life improvement is now available and I successfully tested that forward and backward slashes work in cmd.exe.


Update service-connect-power-bi-datasets-excel.md

@ikechukwuedeagu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

closing, recreating in private repo

Hey, @ikechukwuedeagu -- somehow you ended up editing in the public repo! 🤔
I recreated in the private repo. It's merged now.


TLS mutual authentication

Hi
Is TLS mutual authentication possible with current tower-grpc?
Do you think you could add a minimal example?
Thanks.

Hi @andrenith, you might want to refer to issue https://github.com/tower-rs/tower-grpc/issues/59#issuecomment-383389360 --- tower-grpc is connection-agnostic, so you should be able to use it with any TLS implementation.

See #59. Working example there.


AUDIT: Failure to send IBC packets may lead to user funds freeze

Surfaced from @informalsystems audit of Stride at commit f9736fe0

finding:
id: IF-STRIDE-STAKEIBC-UNBONDINGRECORDS
title: Failure to send IBC packets may lead to user funds freeze
severity: Medium
impact: High
exploitability: Low
type: Implementation
issue:
status: Unresolved
Involved artifacts

stakeibc/keeper/unbonding_records.go

Description
In the function SweepAllUnbondedTokensForHostZone(), which is called at the beginning of every Stride "day" epoch from BeforeEpochStart() and SweepAllUnbondedTokens(); we find the following code fragment:
// Send the transaction through SubmitTx
_, err = k.SubmitTxsDayEpoch(ctx, hostZone.ConnectionId, msgs, *delegationAccount, REDEMPTION, marshalledCallbackArgs)
if err != nil {
    k.Logger(ctx).Info(fmt.Sprintf("Failed to SubmitTxs, transfer to redemption account on %s", hostZone.ChainId))
}
err = k.RecordsKeeper.SetHostZoneUnbondings(ctx, hostZone, epochUnbondingRecordIds, recordstypes.HostZoneUnbonding_EXIT_TRANSFER_IN_PROGRESS)
if err != nil {
    k.Logger(ctx).Error(err.Error())
    return false, 0
}
k.Logger(ctx).Info(fmt.Sprintf("Successfully completed unbonded token sweep ICA call for %s, %s, %v", hostZone.ConnectionId, hostZone.ChainId, msgs))

As can be seen, if an error is received from SubmitTxsDayEpoch(), the error is logged, but the execution continues; in particular, it updates the state of the relevant epoch unbonding records to HostZoneUnbonding_EXIT_TRANSFER_IN_PROGRESS. SubmitTxsDayEpoch() goes via ICAControllerKeeper.SendTx(), and eventually calls IBC send. There are many places in the long chain of calls that may fails due to variant reasons, and thus SubmitTxsDayEpoch() will fail as well.
Problem Scenarios
The above error will result in the following consequences:

Interchain Accounts IBC transaction won't be sent;
The unbonded funds won't be transferred to the Redemption ICA account;
RedemptionCallback() won't be called; and thus the status of unbonding records won't be set to HostZoneUnbonding_CLAIMABLE;
The funds that should have been transferred from Delegation ICA account to Redemption ICA account will be stuck at Delegation ICA account, and users won't be able to claim them.

We rate the impact of this finding as High, because it may lead to funds of many users locked, and users won't be able to claim them. We rate the exploitability of this finding as Low, as the possibility of ICA/IBC transfer failing is relatively low. Due to the combination of the above two scores, vulnerability receives the overall severity score of Medium.
Recommendation
In the above code fragment, interrupt execution upon receiving an error from the SubmitTxsDayEpoch() function.

This is addressed in main.
https://github.com/Stride-Labs/stride/blob/29e70d6e559a6f27d5681ef03071dedf204f1e7d/x/stakeibc/keeper/unbonding_records.go#L362-L368

Please confirm, then close.

i agreed, this is handle in main now


[flake] flutter doctor timed out after three hours

Mac tool_integration_tests_4_4 and Mac tool_tests_general  timed out at the step device doctor. The problem is observed in recent stable release, at https://ci.chromium.org/ui/p/flutter/builders/try/Mac build_tests_4_4/17946/overview, And during presubmit checks at https://github.com/flutter/flutter/pull/100716. Not sure if it is a release related problem, would be great if @christopherfujino could take a look. cc @godofredoc

Chris did something change recently on how flutter doctor is running? we have had a few timeouts.

I think it's either the androidValidator or androidLicenseValidator, continuing to investigate

I believe the open question is if flutter doctor never completed until it was killed or if flutter doctor finished with an error and luci step hung of the leaked processes to complete.

I'm pretty sure that it never completed. I would expect some kind of log output if it failed.

I've been running in this problem as well, both Mac tool_tests_commands and Mac tool_tests_general are getting stuck on my PRs. Examples: https://ci.chromium.org/ui/p/flutter/builders/try/Mac tool_tests_general/10474/overview, https://ci.chromium.org/ui/p/flutter/builders/try/Mac tool_tests_general/10478/overview

This is now also the root cause for the tree redness.

it doesn't look like my PR to add debug worked: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac build_tests_2_4/3993/overview

Haven't seen this since landing https://github.com/flutter/flutter/pull/100936, optimistically closing


Speed up CI preparations with Carthage binary

Instead of installing Carthage with brew, we can install Carthage binary now that
Swift’s ABI is stable.
Installing Carthage now takes 10 seconds compared to 10 minutes.
I also converted the step-library to commands. IIRC, commands are just a newer version of the step library with support for parameters.
Carthage finds the cache for Mapbox SDK but not the dependencies that are built from source. I think it's just a mismatch that will be fixed by bumping the cache key.
cc @1ec5 @JThramer

Installing Carthage now takes 10 seconds compared to 10 minutes.
Carthage finds the cache for Mapbox SDK but not the dependencies that are built from source. I think it's just a mismatch that will be fixed by bumping the cache key.

I’ve tried rerunning the builds but the “Dependencies” step continues to take at least 8 minutes each time. Still, it’s a lot better than the 15 minutes or more I had been seeing on recent PRs.


[GH-4108] Extracted repo and added external reference.

Description
Extracting x509 tools into separate repository
Linked issue
https://github.com/input-output-hk/cardano-sl/issues/4108
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 change)
[X] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

QA Steps

Screenshots (if available)

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

bors r+

You suck, bors!

i expect this PR to break https://github.com/input-output-hk/daedalus/blob/develop/ConfigMutator.hs since the x509 tool will no longer be in the cardano-sl repo

Marking as closed. Feel free to split this out and move x509, but lets not touch this in cardano-sl.


Merge react-gears-tree to react-gears

Merge the Tree component from react-gears-tree to react-gears.

 Bump the @appfolio react packages in partner portal

Could we rename Options.ts to Tree.types.ts? This is a pattern one or two other places in this library.
Would it be possible for any unit testing?

@aaronmars what about adding the type to Tree.tsx. It's only being used by that file.

what about adding the type to Tree.tsx. It's only being used by that file.

For sure! Keeping it local is fine too. That seems like the logical thing to do in this case.
The separate types file is fine where it is necessary or cleaner.

Actually, the Options.ts has been used in Tree.tsx and TreeItem.tsx. I have changed the file name to Tree.types.ts

@limbov8: Regarding the types file, that sounds great. Sorry I missed that extra usage earlier.
I noticed that the old, standalone repo had nothing in the way of tests, but do you think it would be possible to add a .spec.tsx file or 2 so something can be done?
Just a basic render() test using @testing-library/react would be great for starters.


Add support for schema v1.6

Is your feature request related to a problem? Please describe.
I want to use the loadingIndicator and applicationPermissions available in schema v1.6
Describe the solution you'd like
Add 1.6 as an option in the generator

Added support for this in 2.14.0-preview

Complete in Release 2.14.0 https://github.com/pnp/generator-teams/tree/2.14.0


[Issue #259] Add processOneInputTuple to AbstractSingleSourceOperator

Current coverage is 64.34% (diff: 74.41%)

Merging #260 into master will increase coverage by <.01%

@@             master       #260   diff @@
==========================================
  Files           132        132
  Lines          3561       3573    +12
  Methods           0          0
  Messages          0          0
  Branches        578        578
==========================================
+ Hits           2291       2299     +8
- Misses         1124       1128     +4
  Partials        146        146

Powered by Codecov. Last update 3db43a9...a78395b

@sweetest Add a high-level description about the purpose of this PR.  Also can we reduce the # of changed files?

Per our discussion, split this PR into two, one just for exceptions, and one for the logical change.

I will reopen this PR after one about TextDBException is merged, it will look much simpler then.


CachedOperators should inherit raggedness/etc

I think this should be the case? I assume it happens naturally with isbandedbelow/above as that's done through bandinds, but doesn't happen for israggedbelow, and maybe not for the others.

Fixed!  I added a macro @wrapperstructure for operators that have the same structure of another operator (e.g., c*op, real(op) and cache(op)) so the overrides should be consistent in all cases now.


[Help needed] Can I change the format of date?

Hi, i'm trying to change the format of the date, but i failed.
Change lang won't change the format of date. Then i tried to modify the template, and it still shows the date in format like Monday, 13, Janurary. Maybe the line of <property name="label"> just do nothing?

You can't, it's fixed:
    def update_time(self, now):
        self.lbl_clock.set_text(f'{now.strftime("%H:%M:%S")}')
        self.lbl_date.set_text(f'{now.strftime("%A, %d. %B")}')

We would need some way (a flag?) to pass other formats.

Sorry, this was a mistake. It should be configured in the nwg-hello.json config file. I'll get back to it tomorrow.


Runtime: Add optional name field for dashboard YAML measures and dimensions

We need some kind of stable key for measures and dimensions as we begin to add new features such as showing / hiding these in the dashboard.
@begelundmuller and I discussed a pretty easy solution: add name, which we can auto-generate for the user when they bootstrap from an existing model.
We'll incorporate this into the application once it lands.
Existing defs don't strictly need it; but we'll probably suggest to users down the line that it's strongly recommended for application stability. Or, we'll require it and manually update our codev partner dashboards.

I don't think this issue is closed by pr #2120 -- we definitely still need a key for dimensions, measures is not enough.
Also, for the use case that drove this requirement -- ability to toggle visibility of measures and dimensions and serialize the keys of the visible measures and dims into the state url -- will #2120 be sufficient? Do we need client side integration as well, perhaps in dashboard-stores.ts or somewhere?

@bcolloran correct, the linked PR is not (as far as I understand) complete. @AdityaHegde can you provide more information here? I see property but not name for the dimension. We will need to add this as well since it's very possible that a user will want to name a dimension but switch columns for that given dimension.
This is a requirement to finish the show / hide measures & dims functionality.

I think we also need these "name" items (which are really needed for internal use as ids/keys) to
a) be unique (and for the runtime throw an error if they are not)
b) be required for every measure and dimension (and for the runtime to autogenerate them if they are not present)
I could be wrong, but I think that without those properties the "name" key will not be adequate for the intended purpose, which is to robustly save visibility state in URLs

And just a flag that this is considered a pretty high priority item by the commercial team. Would be great to get the needed changes in this next week once the dust has settled on the cloud code freeze.

The changes were released in 0.28


Thumbstick emulating mouse in FPS games is not as accurate as ideal for shooting

Can take trial and error to lock onto target in thumbstick emulate mouse mode when shooting
Consider if a mesh could display where the present target is (raycast from active camera?) in VR as user option to help with this as there is no VR cursor

Still not great but until GUI is up and maybe allows reparenting of gun to controller the closest I can get to this is https://github.com/teddybear082/UGVR/commit/3e020dc108d5fa2612a73a03c0ef150b78188e1e so closing issue for now.


Request: Add documentation on how to load data files

I'm coming from both Jekyll and Eleventy, both of which have fairly straightforward ways to load data files (JSON or YAML).
Working with Astro, I can't figure out how this should be done. The questions I've encountered are:

Should I be using fetch() for this? This page seems to indicate that fetch() is the preferred way to do this, but there isn't an example reading from a local file.
Should I be using fs for this? In other words, should I just use regular-old Node.js functionality when I want to read a data file?

It would be great to add some documentation explaining "the Astro way" of dealing with data files. It would really help for folks like me who are trying to convert an existing Jekyll or Eleventy site to Astro.

Thanks for this, @nzakas! I agree, this would be a helpful addition. In fact, you've already made some of us start to think of things to add ... 😄
Can I ask as a data point, where in our existing documentation would you think to look for this? It would be helpful to know where you might naturally look, or which keywords you might search in order to find this. We have some initial thoughts, but hearing from those coming from other frameworks will also help us as we try to get new content in the easiest-to-find place.

@sarah11918 the very first thing I did was search for "data files", and that brought me to the page about fetch() that I mentioned above.
An idea: If you renamed "Data Fetching" to "Data Loading", you could cover loading local data files in addition to loading data from external sources like APIs. In my mind, these are just two flavors of the same thing so I would expect info on both to be co-located.
More specifically, if you were to talk about loading both JSON and YAML files, I think that would be a soft landing place for folks coming from Jekyll and Eleventy to get started (assuming I could search for "JSON data files" or "YAML data files" and be brought to the documentation related to local data files).

As a quick answer, Astro has out-of-the-box support for importing .json, so you can generally do:
---
// src/pages/index.astro

import stats from '../stats.json';
---

{stats.map(stat =>
The stat is {stat}
)}

I believe import support for YAML files is also possible but requires a plug-in. Would be great to have a guide showing how to do that as it’s a fairly common request.

Oh nice! Didn’t realize that was possible. That’s certainly a lot easier than the other options.

Update here: we’ve recently updated our imports page to hopefully make this use case easier and are also hoping to add a YAML example there soon as part of https://github.com/withastro/docs/issues/1274. Going to close this as hopefully resolved for now!


Draft: dotnet core backend api

Security model of an API in dotnet

Does it work on your machine?
Following: https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/intro and using the dotnet webapi template. Awesome having .dotnet based on linux...


1.16.5 downloading

after your upgrade to 1.17 I cant seem to get the 1.16.5 jar and I do not want to download java 16 because that disables me from createing other version servers.
I tried covert but taht worked onece than stopped.
Can reupload 1.16.5 version

go to build history #2 to #6
https://ci.opencollab.dev/job/GeyserMC/job/Floodgate-Fabric/job/master/2/


Postgresql Configuration

I'd like to set log_min_duration_statement in postgresql.conf in order to log long running queries. Where would I set that for the flynn postgres app so it logs statements somewhere I can access them?

We're in the process of adding support for tunable configuration, watch #3425 to find out when it lands.


Installation issue

When I install ionic2-autocomplete with npm, and do the ionic serve, getting following issue. Any suggestion please?? I am relatively new to ionic2.
[01:58:08]  typescript: ...omplete/node_modules/ionic-angular/components/virtual-scroll/virtual-scroll.d.ts, line: 220
Type 'IterableDiffer' is not generic.
 L219:  private _dom;
 L220:  _differ: IterableDiffer<any>;
 L221:  _scrollSub: any;

[01:58:08]  transpile failed

Below is ionic info
Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.2
Xcode version: Not installed

What version of TypeScript do you have installed on your system?
Please also share your ionic info output.

Below is the ionic info

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.2
Xcode version: Not installed
package.json is as below
{
"name": "Test",
"author": "Test",
"homepage": "http://www.myserver.com",
"private": true,
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic/storage": "2.0.0",
"@types/googlemaps": "^3.25.38",
"bourbon": "^4.2.7",
"ionic-angular": "2.2.0",
"ionic-native": "2.4.1",
"ionic2-auto-complete": "^1.4.2-rc0",
"ionicons": "3.0.0",
"rxjs": "5.0.1",
"sw-toolbox": "3.4.0",
"typescript": "^2.3.2",
"zone.js": "0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"angular-ide": "^0.9.19",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-nativestorage",
"cordova-plugin-inappbrowser",
"cordova-plugin-x-socialsharing",
{
"locator": "https://github.com/Rohfosho/CordovaCallNumberPlugin.git",
"id": "call-number"
},
"cordova-plugin-geolocation",
{
"id": "cordova-plugin-facebook4",
"locator": "cordova-plugin-facebook4",
"variables": {
"APP_ID": "826720427470540",
"APP_NAME": "Ion2FullApp"
}
},
{
"id": "cordova-plugin-googleplus",
"locator": "cordova-plugin-googleplus",
"variables": {
"REVERSED_CLIENT_ID": "com.googleusercontent.apps.1001905109734-c6ime9d783l15kjmi2pqsplku4vua2e5"
}
}
],
"cordovaPlatforms": [
{
"platform": "ios",
"version": "~4.1.1",
"locator": "ios"
},
{
"platform": "android",
"version": "~5.1.1",
"locator": "android"
}
],
"description": "Test",
"config": {
"ionic_sass": "./config/sass.config.js"
}
}

Below is the ionic info
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.2
Xcode version: Not installed
package.json is as below{
"name": "Test",
"author": "Test",
"homepage": "http://www.myserver.com",
"private": true,
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic/storage": "2.0.0",
"@types/googlemaps": "^3.25.38",
"bourbon": "^4.2.7",
"ionic-angular": "2.2.0",
"ionic-native": "2.4.1",
"ionic2-auto-complete": "^1.4.2-rc0",
"ionicons": "3.0.0",
"rxjs": "5.0.1",
"sw-toolbox": "3.4.0",
"typescript": "^2.3.2",
"zone.js": "0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"angular-ide": "^0.9.19",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-nativestorage",
"cordova-plugin-inappbrowser",
"cordova-plugin-x-socialsharing",
{
"locator": "https://github.com/Rohfosho/CordovaCallNumberPlugin.git",
"id": "call-number"
},
"cordova-plugin-geolocation",
{
"id": "cordova-plugin-facebook4",
"locator": "cordova-plugin-facebook4",
"variables": {
"APP_ID": "826720427470540",
"APP_NAME": "Ion2FullApp"
}
},
{
"id": "cordova-plugin-googleplus",
"locator": "cordova-plugin-googleplus",
"variables": {
"REVERSED_CLIENT_ID": "com.googleusercontent.apps.1001905109734-c6ime9d783l15kjmi2pqsplku4vua2e5"
}
}
],
"cordovaPlatforms": [
{
"platform": "ios",
"version": "~4.1.1",
"locator": "ios"
},
{
"platform": "android",
"version": "~5.1.1",
"locator": "android"
}
],
"description": "Test",
"config": {
"ionic_sass": "./config/sass.config.js"
}
}
From: Mor Kadosh<EMAIL_ADDRESS>To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: sguddati<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Monday, May 1, 2017 2:03 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
What version of TypeScript do you have installed on your system?
Please also share your ionic info output.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, it seems like your Ionic version is far behind, but let's see if my latest commit helps.
commit 33b2f3ab8b951675f9d0d11f1dd631531091c3e8
Please uninstall and install rc1 instead:
npm uninstall --save ionic2-auto-complete
And then:
npm install --save<EMAIL_ADDRESS>

it worked .. thank you ..
Srinivas.
  From: Mor Kadosh<EMAIL_ADDRESS>
To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: sguddati<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Monday, May 1, 2017 2:32 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
Ok, it seems like your Ionic version is far behind, but let's see if my latest commit helps.
commit 33b2f3aPlease uninstall and install rc1 instead:
npm uninstall --save ionic2-auto-completeAnd then:
npm install --save<EMAIL_ADDRESS>You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Any way to associate this auto complete to a input/select field instead of searchbar?
Srinivas.
  From: sguddati<EMAIL_ADDRESS>
To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Sent: Monday, May 1, 2017 2:53 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
it worked .. thank you ..
Srinivas.
  From: Mor Kadosh<EMAIL_ADDRESS>
To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: sguddati<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Monday, May 1, 2017 2:32 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
Ok, it seems like your Ionic version is far behind, but let's see if my latest commit helps.
commit 33b2f3aPlease uninstall and install rc1 instead:
npm uninstall --save ionic2-auto-completeAnd then:
npm install --save<EMAIL_ADDRESS>You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@sguddati no, the all point of this plugin is that it based on this component :)
I believe that there are other similar plugins, that are not neccessarly based on ionic.

Any suggestions on a good plugin for this purpose? I am trying to make ion-input field to be having the auto complete
Srinivas
  From: Mor Kadosh<EMAIL_ADDRESS>
To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: sguddati<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Monday, May 1, 2017 3:27 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
@sguddati no, the all point of this plugin is that it based on this component :)
I believe that there are other similar plugins, that are not neccessarly based on ionic.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I'd suggest you to fork this repository and simply change the component. should be easy. your'e welcome to ask me questions

Tried doing it and not able to get it working. Ending up with lot of issues in controlling the layout.
Can I request you to create a version of this that has support for ?
Rest of my form is having fields like below with floating labels.
                    {{options.placeholder}}
Srinivas      From: Mor Kadosh<EMAIL_ADDRESS>To: kadoshms/ionic2-autocomplete<EMAIL_ADDRESS>Cc: sguddati<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Sent: Tuesday, May 2, 2017 6:45 AM
Subject: Re: [kadoshms/ionic2-autocomplete] Installation issue (#29)
I'd suggest you to fork this repository and simply change the component. should be easy. your'e welcome to ask me questions—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

After some struggle got it working.  But the styles are not working in safari or ios smartphone. Same code is working on chrome. It is happening with searchbar component that you provided with no changes. I will open another issue to avoid any confusion


img {height:auto} is overriding height attribute in

Prologue
A well-known trick for quicker page rendering and better user experience is to explicitly set the height attribute of an img (i.e. <img height="30" src="..." />). This will avoid nasty "jumps" while the page is rendering if the height of an image (being downloaded) is known.
Problem is: afaik, the following rule makes it impossible to take advantage of that technique.
img {
  max-width: 100%;
  height: auto;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

Weird as it sounds, It will override the inline attribute value.
I couldn't find any value for height (the CSS property, not the img property) to "undo" this.
I'm not sure the rationale for this particular property in the above rule, so I wonder if someone could shed some light, and a workaround/fix for this issue.

You can use the same trick with inline styles as the inline height attribute: style="height: 100px;".

I'm curious about the rationale for this declaration as well. Why use a style declaration for every image rather than setting height and width attributes in the markup where appropriate.

+1
Is there a reason for having img {height:auto} ?

Is there a reason for having img {height:auto} ?

When combined with max-width:100% it's needed to override any height attributes. Otherwise the height of the image won't scale down in proportion to the width.

this is true in some browsers. yes you need it.


Avoid to set the trajectory length in MANN

@paolo-viceconte simplified the model to removing one of the input of the network: the trajectory length. This PR allow the user to call the latest version of the network.
Moreover the tests uses the latest model stored in 🤗 https://huggingface.co/ami-iit/mann/blob/3a6fa8fe38d39deae540e4aca06063e9f2b53380/ergocubSN000_26j_49e.onnx

brew is failing with a new nice error: https://github.com/ami-iit/bipedal-locomotion-framework/actions/runs/5044497275/jobs/9047622440?pr=678#step:23:327
Let me merge this, I will handle it later


update codecov bot name

[Current coverage][cc-pull] is 75.00%

Merging [#9][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #9   diff @@
==========================================
  Files             1          1
  Lines             8          8
  Methods           1          1
  Messages          0          0
  Branches          1          1
==========================================
  Hits              6          6
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last updated by [777e1a5...e4999e2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/aem/docs-soap/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/aem/docs-soap/compare/777e1a5eed4e9f3e036aa980bbf8827efaac74c3...e4999e24a7f31ca27a2c1bc2de8b47d999c075d9
[cc-pull]: https://codecov.io/gh/aem/docs-soap/pull/9?src=pr


Download in sequential order

Add "Download in sequential order"  for qB 3.2.x

Added in pro version

Done!


Fix UKIS navigation

What is the context of this PR?
Fixes #1079 by making introduction into its own group
How to review
rest #1079

Please verify that someone on the previous schema who has partially completed won't be directed back to the Introduction when attempting to submit

Yep, that is an issue @collisdigital ,however there is no way around it. Marking it as in-progress until we decide what we want to do

@ajmaddaford turns out the completed blocks also contains the group-id and instance-id to deal with repeating; so moving the intro into it's own group means it isn't in the completed blocks for in-progress users. If they sign back in after this change they will be taken to the intro; anyone already signed-in will get taken back when attempting to submit.

Won't fix due to the issues it will introduce.


Respect JVM-wide proxy settings in the launcher

Otherwise okhttp requests don't get proxied, so the ping loop and subsequent post of config/files/jars from submitter to driver pod's rest service don't make it out the proxy.  Apparently okhttp doesn't respect these by default.
See https://github.com/palantir/spark/compare/master...respect-http-proxy-palantir12 which we had to do to get an internal application working.
cc @mccheah

I wonder if we should have a spark-specific setting for this or if we should just work off of the default system properties. My guess would be the latter to make our application consistent with the existing JVM-HTTP standards.

If a JVM has the proxy system properties set, the expectation I have at least is that all the http libraries in that JVM use those proxy settings.  An advanced case is to more specifically set proxy settings on a per-client basis, without modifying the entire JVM's proxy settings.  That's important for large JVMs with lots of various libraries running together, but for this proxy the submission is always in its own JVM and not running with others.  So I'm less concerned about the blunt instrument of setting the proxy on the entire JVM


How to generate dist files

Currently contributing is a bit hard because the build setup for this plugin isn't stored in the repo.
Would someone mind creating a grunt or gulp file and adding it to the repo so contributors can regenerate the dist directory upon submitting a PR.

Here's my pull request: https://github.com/troolee/gridstack.js/pull/283

Thanks @jlowcs.


Use main field in package.json as default entry

This looks good to me, I'm not sure if it would bring any inconvenice. let's just open this and if no complaint  I will add it later

Landed in v6.19.0


Question - Why are the subscription and rg IDs required for the scripts?

Hello, apologies for creating an issue. This is not an issue, but a question. However, the setting for discussions is not set for this repo.
As the title says, I would like to know whether you need the subscription details upfront, of if it is possible to create plain images and store them where other code can use them (terraform or other deployment script?). For my use case, I would like to create and maintain current images that can be deployed to VMSS in several different environments. Post deployment scripts would make sure the VMSS have the proper permissions to do their job in each environment.
Thanks for your project, and your time!

Quick follow-up. I found your blog post https://www.graef.io/create-your-own-official-azure-pipeline-agents-images-and-github-actions-runner-images/. Thanks! That explains a lot.
You do mention golden images there. Can you provide a hint on how to create them? Is it simply running the MSFT scripts locally?


fix url to doc on README

Current url leads to https://github.com/edgurgel/tentacat/blob/master/hexdocs.pm/tentacat

Thanks! Damn how did I miss that :(

:cool:


Timeout on blocking read for 500000000 NANOSECONDS

I would really like to know why this happens because we have seen this error in production against real Azure Storage as well as our tests against Azurite.
Which service(blob, file, queue, table) does this issue concern?
Blob
Which version of the Azurite was used?
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
What problem was encountered?
Our tests are crashing, they were perfectly fine until last night.
com.github.ambry.cloud.RecoveryNetworkClientTest > testMetadataRecoveryClientFailure FAILED
    com.github.ambry.cloud.CloudStorageException: Failed to upload blob (localhost-0/AAYQQgQACAAAAQAAAAAAAAAAQuodutHmRcCvZfo0Js8h9A) to Azure blob storage because Timeout on blocking read for 500000000 NANOSECONDS
        at com.github.ambry.cloud.azure.AzureCloudDestination.toCloudStorageException(AzureCloudDestination.java:191)
        at com.github.ambry.cloud.azure.AzureCloudDestinationSync.uploadBlob(AzureCloudDestinationSync.java:433)
        at com.github.ambry.cloud.azure.AzureCloudDestinationSync.uploadBlobs(AzureCloudDestinationSync.java:352)
        at com.github.ambry.cloud.RecoveryNetworkClientTest.before(RecoveryNetworkClientTest.java:196)

        Caused by:
        java.lang.IllegalStateException: Timeout on blocking read for 500000000 NANOSECONDS
            at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:124)
            at reactor.core.publisher.Mono.block(Mono.java:1766)
            at com.azure.storage.common.implementation.StorageImplUtils.blockWithOptionalTimeout(StorageImplUtils.java:149)
            at com.azure.storage.blob.BlobClient.uploadWithResponse(BlobClient.java:337)
            at com.github.ambry.cloud.azure.AzureCloudDestinationSync.uploadBlob(AzureCloudDestinationSync.java:407)
            ... 2 more

Steps to reproduce the issue?
IDK, happened without any changes on our side
If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
-d "<pathtodebuglog>"

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
No

Hi @snalli ,
Seems you are using Java SDK to try to upload a blob to Azure Storage/Azurite? The timeout exception itself seems thrown out by the Java SDK instead of from Azure Storage/Azurite. Maybe you can ask Java SDK first to see in what condition it would throw out this kind of exception?
It'd be helpful if you can share:

Java SDK version
Azurite
Code you use

Thanks
Emma

Will talk to the azure sdk team, thanks


Add Go as a new language supported by Hound.

This adds basic support to Hound for Go,
by integrating against hound-go
via Hound's external review Resque API.
This should be considered an early release feature.
As the review service matures
and the feature-set stabilizes,
we can define supported configuration options
and the necessary documentation
to promote this to an officially supported language.

I copied what existed for SCSS support. Can you think of any reason this might not "just work"?

This looks good.

Love seeing the new workers moving forward, fix the violations and :ship:it

As for a release-plan, maybe we should de-activate it per default so we can battle-test it. Thoughts?

Need to update the StyleChecker so it knows about .go files.

@teoljungberg Agreed on deactivated by default -- where should I look to do that?

I think historically we've disabled new linters at the linter config level. Since there's no config for golint (I think?) and the default with no config is to enable the linter, it seems like we'd have to make some tweaks to allow for an opt-in approach.

@bernerdschaefer since there's no config I think what @thorncp suggested is what we should do; take a look at app/models/style_checker.rb since that's where we check if a language is enabled.
Having a mechanism to turn languages off by default for early release is something we will continue to do, so I think we should solve that now.

@bernerdschaefer What do you think about updating the docs and security page?

I've updated based on some of the feedback:

df1f18d94e97cdcba952ecfda0b39b32b939678d adds a BETA_LANGUAGES, whose purpose is currently to disable linting by default.

862aafb1a4b86021b262b78d81ef058cb2034269 ignores vendored Go files

457bf2e adds some basic information to the configuration and security docs for Go.

@bernerdschaefer one question about excluding files, but looks good to me. :+1:
Thanks for adding support for beta languages!

Excited to see this go in. Seems like today's the rollout day?


falied to collect events occur by wrong height intermittently

Summary of Bug
I have no idea why this error occur and how can I resolve this?
2024-03-04T03:53:57.659132Z ERROR ThreadId(45) event_source.rpc{chain.id=osmo-test-5}: failed to collect events: RPC error: response error: Internal error: height 5783501 must be less than or equal to the current blockchain height 5783500 (code: -32603) height=5783501

Version
1.8.0

Steps to Reproduce
Occurred intermittently during operating IBC relayer.
Acceptance Criteria

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Might be related to https://github.com/informalsystems/hermes/issues/3871, we will investigate.

How often do you see this? Could you run hermes start with --debug=rpc for while and see if you run into this again?
$ hermes --debug=rpc start


Update application files without stopping IIS

From @mojtabakaviani on July 14, 2016 10:32
Now, when I want update application file on IIS server. show error that the action can't be completed because the folder or a file in it is open in another program. and must stop IIS and copy/paste file and then start IIS.
Copied from original issue: aspnet/KestrelHttpServer#970

From @moozzyk on July 14, 2016 17:31
AspNetCoreModule supports app offline feature. You drop the app_offline.htm file which will make IIS stop your application (and serve the contents of the app_offline.htm file) then you can update your app. Once you are done you remove the app_offline.htm file. WebDeploy does this for you when you publish to Azure. I think it does not do this when publishing to file system but @vijayrkn knows how to configure this.

From @GuardRex on July 14, 2016 17:51
Cross ref issues ...
https://github.com/aspnet/IISIntegration/issues/226
https://github.com/aspnet/Home/issues/694

From @vijayrkn on July 14, 2016 17:43
If you are using a "filesystem" profile to publish (which has <WebPublishMethod>FileSystem</WebPublishMethod>), then you need to add
<EnableMSDeployAppOffline>True</EnableMSDeployAppOffline> to support app_offline. While publishing to Azure, this property is automatically added to your pubxml.

Another cross ref issue (see comments regarding on-premises products being similarly affected):
https://github.com/Microsoft/vsts-tasks/issues/1607

@vijayrkn any ideas on the above?

Could be related to this bug - https://github.com/aspnet/Home/issues/694#issuecomment-270175753.
A recent change in ANCM made app_offline case sensitive.

@vijayrkn I was hoping that setting EnableMSDeployAppOffline as True in my .pubxml should take care of that. Can you point me to specific instructions on how to achieve this using app_offline.htm?

When this property is set EnableMSDeployAppOffline' msdeploy drops App_Offline.htm during publish time and removes it after publish. Ideally ASP.NET Core module should take care of bringing the site down when this file is dropped.
In the latest release of ANCM(ASP.NET core module), it looks for a case-sensitive app_offline.htm. Because of this, setting EnableMSDeployAppOffline wont bring down the site (because msdeply drops App_Offline.htm).

When my .net core web application is running and I am trying to publish a new build, it gives me error that DLLs are in use. So I have to Stop the app pool, then update the DLLs and start the App Pool.
Is there any workaround in .Net Core by which I can publish the new Build/DLLs without stopping the App Pool ?
This is by default supported in .Net framework using shadow copy mechanism. Unfortunately, It's been 2 years since the launch of .Net core and seems like there's still no support for such very basic and required functionality. Is there even any plans to fix this in future ?
Thanks in advance for any help.

This issue has been closed and there seems to be no solution. 😭

Hi Vijay,
I am getting the following error:
Error MSB3061: Unable to delete file
It appears the dotnet.exe has a handle to it as other’s have stated. However, when I end the process I can delete the files. But as soon as I publish from VS2017 it is bringing my server down. This is new. I don’t know if this is a coincidence with something else happening on the network but this has been reproducible.
I used to deploy by stopping the application on the server, which allowed did the job but not consistently. In some cases I would have to click on the publish button about 20 times consecutively.
I will work with my network folks to see if they can monitor what’s going on, but this was never a problem with non-.netcore apps.
Rolando
From: Vijay Ramakrishnan<EMAIL_ADDRESS>Sent: Wednesday, July 18, 2018 11:29 AM
To: aspnet/IISIntegration
Cc: Rolando Avila; Mention
Subject: Re: [aspnet/IISIntegration] Update application files without stopping IIS (#238)
@RolandoAvilahttps://github.com/RolandoAvila - What is the error you are getting while trying to publish to a folder? This is a feature that is supported and should work. I would be happy to take a look if you can provide more info about the error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/238#issuecomment-405993159, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AikODzLLrOhP1_1d_YvI_bgYGO-n4vKcks5uH2JLgaJpZM4JUc3m.

If you are publishing to an IIS server, have you tried using the MSDeploy profile instead of FileSystem? If it is an MSDeploy profile, you can set the following property in the pubxml (under Properties\Publish Profiles)
<EnableAppOffline>true</EnableAppOffline>
This will take care of bringing the site down before publishing. You should not run into issues with deleting files with this profile.
Publishing to a folder does not know if it is getting published to a live site or just a folder on the machine. Hence, it does not handle stopping the site before publishing. MSDeploy profiles are specifically meant to handle these scenarios (publishing to IIS etc).
I dont quite understand what you mean by this.

But as soon as I publish from VS2017 it is bringing my server down.

If you are using folder publish and your application is down, then publishing should succeed. Would it be possible to share the logs (with the error) after removing sensitive content (if any) ? This will help us trouble shoot this issue faster.

I have not tried an MSDeploy yet. I have just spoken with my network folks here and we are going to set up some logs to see what is going on. They suspect it might be due to some recent changes to our firewall that could be contributing to this.
I found that the server is not going down, but I am losing connection to it, which is why we think it might be a firewall issue. I will let you know more once I find out.
I apologize for the inconvenience but appreciate your quick response. If I do find out what the root cause is I will update my comments accordingly.
From: Vijay Ramakrishnan<EMAIL_ADDRESS>Sent: Wednesday, July 18, 2018 11:51 AM
To: aspnet/IISIntegration
Cc: Rolando Avila; Mention
Subject: Re: [aspnet/IISIntegration] Update application files without stopping IIS (#238)
If you are publishing to an IIS server, have you tried using the MSDeploy profile instead of FileSystem? If it is an MSDeploy profile, you can set the following property in the pubxml (under Properties\Publish Profiles)
true
This will take care of bringing the site down before publishing. You should not run into issues with deleting files with this profile.
Publishing to a folder does not know if it is getting published to a live site or just a folder on the machine. Hence, it does not handle stopping the site before publishing. MSDeploy profiles are specifically meant to handle these scenarios (publishing to IIS etc).
I dont quite understand what you mean by this.
But as soon as I publish from VS2017 it is bringing my server down.
If you are using folder publish and your application is down, then publishing should succeed. Would it be possible to share the logs (with the error) after removing sensitive content (if any) ? This will help us trouble shoot this issue faster.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/238#issuecomment-406000212, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AikOD1SuSyYtO6onkiu2VQIoTLOFgRR6ks5uH2d9gaJpZM4JUc3m.


Few fixes after trying to use 'release' with 'pkg'

I splitted singular changes to commits for your convenience

Closing this now, since it's pretty old. Thanks for the effort though! But let's talk about it when changing stuff (in issues e.g.) before creating a PR. 😊

Well, as i see in release.js you still mix yield and callback style, that will cause ugly crashes on getReleases failure. Hence this PR is still relevant imo.

Oh, there will be no ugly crash, you check error in callback. Then let's keep yield and callback intact.

Just FYI, I kinda struggled with this, I thought that only one tag was needed initially due to the error message, maybe make it more explicit like the first release and first two tags should be created manually.?


add support for plugin name via package.json

custom integrations has nice looking names in the store, based on manifest.json where plugins simple has there repo name. It normal practice to have a package.json file in a js project so the same logic should be possible for plugins based on that file:
/*package.json*/
{
  "name": "Plugin Name",
  "author": "Plugin Creator Name"
}

I actually see that im making a mistake.. they changed it since version 3
"New packages must not have uppercase letters in the name."


make sure address list resets between 12-word passphrase change

some users are reporting that when changing 12-word passphrases the address list from the old passphrase persists.. need to make sure that address list is entirely blown away/removed when user resets wallet and enters new 12-word passphrase.

Fixed with commit ef7b08b


rocAL - cascaded augmentation error

@swetha097 Issue while running PYTHON_UNIT_TEST.sh. The last few cascaded augmentations fail on GPU with this error.
:0:rocdevice.cpp            :2603:<PHONE_NUMBER>5389 us: 153922: [tid:0x7f722a9c3700] Device::callbackQueue aborting with error : HSA_STATUS_ERROR_MEMORY_FAULT: Agent attempted to access an inaccessible address. code: 0x2b
OK: OpenVX using GPU device#0  (gfx908:sramecc+:xnack-) (with 120 CUs) on PCI bus 63:00.0

To be fixed in a separate PR apart from #724


Fix duplicate tags bug and update fileAddress error message

Codecov Report

Merging #92 into master will decrease coverage by 0.11%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #92      +/-   ##
============================================
- Coverage     58.21%   58.10%   -0.12%
+ Complexity      361      358       -3
============================================
  Files            75       75
  Lines          1266     1265       -1
  Branches        101      100       -1
============================================
- Hits            737      735       -2
  Misses          500      500
- Partials         29       30       +1

Impacted Files
Coverage Δ
Complexity Δ

...java/seedu/address/logic/commands/ListCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...java/seedu/address/logic/commands/ShowCommand.java
100.00% <ø> (ø)
8.00 <0.00> (ø)

.../java/seedu/address/logic/commands/TagCommand.java
100.00% <ø> (ø)
9.00 <0.00> (ø)

...main/java/seedu/address/model/tag/FileAddress.java
70.00% <ø> (-10.00%)
4.00 <0.00> (-2.00)

src/main/java/seedu/address/model/tag/Tag.java
79.16% <100.00%> (-0.84%)
10.00 <0.00> (-1.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 1eeba2f...9c8fb6f. Read the comment docs.


This method has been updated for SharePoint Server 2016-2019

[Enter feedback here]
Based on the source code the method forcedeletesite() can take in SPS 2016-2019 5 parameters. The 2 additional parameters are updateSiteMap and deleteIsForMigration.

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

ID: d46d7feb-0734-97e4-bb0f-cea450f8f260
Version Independent ID: 7c712dff-e1cd-5fee-f384-df6fee7bf342
Content: SPContentDatabase.ForceDeleteSite(Guid, Boolean, Boolean) Method (Microsoft.SharePoint.Administration)
Content Source: sharepoint-server/xml/Microsoft.SharePoint.Administration/SPContentDatabase.xml
Product: sharepoint
Technology: sdk
GitHub Login: @dotnet-bot
Microsoft Alias: o365devx

Sorry... I'm not clear on what you are saying in your post... can you elaborate?


Remove rho from the structs KPS3 and KPS4

It should not be required.

It helps to improve the speed.


MAINT: Added LICENSE and updated README

As suggested by @rossbar in the last nx-community meeting I've added the installation instructions in the readme. I updated the readme with a few other changes as well. I also added the CC0 1.0 Universal license. LMK know what you think of that. Also, I tried following through the instructions in RELEASE.md but I couldn’t bcoz I don’t have the GH_TOKEN
RuntimeError: You need to set the environment variable `GH_TOKEN`. The token is used to avoid rate limiting, and can be created at https://github.com/settings/tokens.

And I decided to remove the link to the _dispatchable decorator's docs because it will probably be moved around in the future and instead put the backend doc's page's link.
Thank you :)

Why not use a BSD-3 license?

Why not use a BSD-3 license?

I'm not an expert in this but I choose to go with CC0 1.0 Universal license because I know that it has the least restrictions, also nx-guides use it so I thought maybe projects other than the main networkx project(in networkx org) use this license. Let me know if the BSD-3 or BSD-3-Clause or any other license would be more appropriate for this project and I'll change it. thanks!

FWIW the reason nx-guides uses a CC license instead because the majority of the content is narrative text instead of code. I think BSD-3 is more appropriate here - just my 2 cents!

That is my understanding as well -- that CC is better for prose/text while BSD is better for code.
So, let's match the NetworkX license rather than the nx-guides license. :)


Change the error response for the duplicate data feed.

Describe the bug
I have  noticed if we trying to create the duplicate feed object then we are getting error response like
{
  "error":"pq: duplicate key value violates unique constraint \"destinations_name_key\"",
  "code":2,
  "message":"pq: duplicate key value violates unique constraint \"destinations_name_key\"",
  "details":[]
}

but in case of other places, we are getting more human-readable error responses, for example in case of server we are getting the error response like
{
   "error":"server with that name \"chef server test\" already exists",
   "code":6,
   "message":"server with that name \"chef server test\" already exists",
   "details":[]
}

To Reproduce
Steps to reproduce the behavior:

create data feed with any name and try to create one another data feed with the same name.

Expected behavior
we need error response like
{
   "error":"Data feed with that name \"test\" already exists",
   "code":6,
   "message":"Data feed with that name \"test\" already exists",
   "details":[]
}

What do you want the error messages to be?
Using "My DataFeed" as the example name, for create I have
"A data feed destination already exists with name "My DataFeed""
and for update
"Cannot update name, a data feed destination already exists with name "My DataFeed""
{"error":"Cannot update name, a data feed destination already exists with name \"My DataFeed\"","code":3,"message":"Cannot update name, a data feed destination already exists with name \"My DataFeed\"","details":[]}

@vinay033 can we close this?

@vinay033 can we close this?

yes


Updated deps

Also changed TestUtils imports.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #129   +/-   ##
=======================================
  Coverage   83.78%   83.78%
=======================================
  Files          11       11
  Lines          37       37
=======================================
  Hits           31       31
  Misses          6        6

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 dfe82f8...f2216a7. Read the comment docs.


Can I use my own database?

Can I use my own database, that is, replace the postgres database with the mysql database. Besides changing the ip, port and
initialization code, do I need to change anything? Is there any official document about this part? I feel that enterprises need this function
very much! Thanks!

@zzhuncle , you can. CVAT uses Django and it supports MySQL natively: https://docs.djangoproject.com/en/4.0/ref/databases/#mysql-notes
You need to change corresponding settings: https://github.com/openvinotoolkit/cvat/blob/b0e6074ca39c3c25b2c0065a2293dc1fc081ddcd/cvat/settings/production.py#L25
Information from stackoverflow: https://stackoverflow.com/questions/19189813/setting-django-up-to-use-mysql