Mistakenly reports "C++11 alignas unsupported" with g++ 6.3

It seems that __alignof_is_defined isn't defined despite alignof being supported. This causes a truckload of warnings.
Since the ALIGNOF macro is never used, is there any reason not to remove it?
I'm using g++ 6.3 on Debian unstable, if that's helpful. No messages are emitted when using clang++ 4.0.

Just go the issue to reproduce on the unstable branch. built g++ 6.3 from scratch couldn't get the same message. Will check tonight to see if I can find the disconnect. Just to confirm, can you give me the compile flags? Were there any additional ones passed to cmake or just the default?
Thanks!,
J

Sorry, didn't see the dev branch. However I can't currently compile RaftLib (master or dev) because a recent gcc update seems to have broken it (compiler segfaults)... It fails before I get the warning on dev but I still get the warning on master:
/usr/bin/c++   -DL1D_CACHE_LINE_SIZE=64 -DLIBCOMPILE=1 -DRDTSCP=1 -Isrc -I../src -I../raftinc -I../ -I../git-dep/cmdargs/include -I../git-dep/shm/include -W -Wall -Wextra -Wpedantic -std=gnu++14 -MD -MT src/CMakeFiles/raft.dir/mapbase.cpp.o -MF src/CMakeFiles/raft.dir/mapbase.cpp.o.d -o src/CMakeFiles/raft.dir/mapbase.cpp.o -c /ssd_home/3rdpartycode/RaftLib/src/mapbase.cpp
In file included from ../raftinc/fifo.hpp:35:0,
                 from ../raftinc/port_info.hpp:34,
                 from ../raftinc/portmap_t.hpp:26,
                 from ../raftinc/portiterator.hpp:28,
                 from ../raftinc/portbase.hpp:26,
                 from ../raftinc/port.hpp:32,
                 from ../raftinc/kernel.hpp:29,
                 from ../raftinc/mapbase.hpp:42,
                 from /ssd_home/3rdpartycode/RaftLib/src/mapbase.cpp:32:
../raftinc/blocked.hpp:40:87: note: #pragma message: C++11 alignas unsupported :( Falling back to compiler attributes
 #    pragma message("C++11 alignas unsupported :( Falling back to compiler attributes")
                                                                                ^
../raftinc/blocked.hpp:53:87: note: #pragma message: C++11 alignof unsupported :( Falling back to compiler attributes
 #    pragma message("C++11 alignof unsupported :( Falling back to compiler attributes")
                                                                                ^
In file included from ../raftinc/ringbufferheap.tcc:25:0,
                 from ../raftinc/ringbufferbase.tcc:66,
                 from ../raftinc/ringbuffer.tcc:34,
                 from ../raftinc/port.hpp:37,
                 from ../raftinc/kernel.hpp:29,
                 from ../raftinc/mapbase.hpp:42,
                 from /ssd_home/3rdpartycode/RaftLib/src/mapbase.cpp:32:
../raftinc/ringbufferheap_abstract.tcc: In lambda function:
../raftinc/ringbufferheap_abstract.tcc:371:64: internal compiler error: Segmentation fault
                         local_insert_helper( *begin, *end, sig );
                                                                ^

Had to dig through the C++ header files a bit. Looks like the C++ header files from cstdalign all include stdalign.h. This is all well and good, however that's where the goodness stops. GNU C++ stdalign.h looks like this:
 26 #ifndef _STDALIGN_H
 27 #define _STDALIGN_H
 28
 29 #ifndef __cplusplus /** problem starts here **/
 30
 31 #define alignas _Alignas
 32 #define alignof _Alignof
 33
 34 #define __alignas_is_defined 1
 35 #define __alignof_is_defined 1
 36
 37 #endif
 38
 39 #endif  /* stdalign.h */

looks like the macro is only expanded to 1 on no c++ for the GNU C++. The Clang stdalign.h file in contrast looks like:
#ifndef __STDALIGN_H
   25 #define __STDALIGN_H
   26
   27 #ifndef __cplusplus
   28 #define alignas _Alignas
   29 #define alignof _Alignof
   30 #endif /** end no c++ **/
   31
   32 #define __alignas_is_defined 1
   33 #define __alignof_is_defined 1
   34
   35 #endif /* __STDALIGN_H */

This appears to be a bug in the GNU implementation, or feature (not quite sure). The cppreference shows that the macro should be defined, not sure this is actually the case or not. One of them is either wrong, or this is a gray area in the definition. I think the best thing to do in this case is add an or for the C++ standard (C++1x should have the alignof/alignas defined as keywords). I'll make the update tonight.
Thanks for the catch! I'll close the issue when fixed.
-J

Well according to cppref, alignof and alignas are required for a C++11 compiler so you could just test the __cplusplus variable: http://stackoverflow.com/a/7132549

Closing...will reopen if autobuild on Travis-CI fails. Compiled on Linux w/GCC 6.3 fresh build. Clang of course works as above. Need to check in future if these headers differ on other platforms. Likely.


Do not require repository data

Do not require repository field to be defined in package.json in a few of the transforms. Currently throws errors are thrown.

sorry for the late reply, trying to ship a refactor of verb (again!) marking as a bug


Uncaught Error: ENOENT: no such file or directory, lstat '~/AppData\Local\atom\app-1.35.1\ sun ri...

[Enter steps to reproduce:]

...
...

Atom: 1.35.1 x64
Electron: 2.0.18
OS: Microsoft Windows 10 Home
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat 'C:\Users\Hayden\AppData\Local\atom\app-1.35.1\ sun rising.jpg'
At fs.js:1661

Error: ENOENT: no such file or directory, lstat 'C:\Users\Hayden\AppData\Local\atom\app-1.35.1\ sun rising.jpg'
    at Proxy.realpathSync (fs.js:1661:15)
    at Proxy.fs.realpathSync (ELECTRON_ASAR.js:336:29)
    at TreeView.t.exports.TreeView.moveEntry (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:14:912504)
    at TreeView.t.exports.TreeView.onDrop (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:14:918258)
    at HTMLDivElement.<anonymous> (~/AppData/Local/atom/app-1.35.1/resources/app/static/<embedded>:14:893098)

Commands
     -1:56.2.0 core:paste (input.hidden-input)
  2x -1:42.7.0 tree-view:remove (span.name.icon.icon-file-directory)
     -1:18.8.0 core:save (div.tool-panel.tree-view)
     -0:41.4.0 tree-view:cut (span.name.icon.icon-file-text)
     -0:37.2.0 tree-view:paste (span.name.icon.icon-file-directory)

Non-Core Packages
atom-python-run 0.9.7
platformio-ide-terminal 2.9.1
script 3.18.1

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/tree-view/issues/1282 so you can subscribe there for updates if you'd like.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Transaction now showing up in hosted wallet (at https://clor.io) after 24 hours

I bought a certain amount on MINA tokens. I transferred them to a Clorio wallet (hosted at https://clor.io). It's been more than 24 hours since that happened. The exchange marked the transaction as done/successful, but I can't see anything in the wallet's log — the balance is (about) accurate though.
Another problem is that I'm staking the full balance in Carbonara - WeStake.club since October 11th 2022...but I don't see any "income" whatsoever, so I'm not sure if the amount matches because of the staking, or because the transaction from the exchange.

Transaction just came in — looks like it went on vacation :rofl:
I'm not sure how the staking generates anything, if it's displayed as individual transactions throughout time. Would be great to explain the times and to draft some examples in https://mina.westake.club/


libffm import error

I got an error when try to import libffm within python:
ImportError: ./libffm.so: undefined symbol: _ZTIN8graphlab18toolkit_class_baseE
Mention that i have git clone and make the GraphLab-Create-SDK, python-libffm(added to pythonpath), also register and install the graphlab via pip.
does anyone meet the same error?

I got the same error and I still don't know how to solve this problem.

Same error here: ImportError: ./libffm.so: undefined symbol: _ZTIN8graphlab18toolkit_class_baseE
any ideas?

same error

same error，someone has good ideas？


Track users in channel to avoid calling WHO frequently

[x] Call WHO when joining a channel
[x] Update the internal list of users on PART, KICK, QUIT, JOIN, NICK
[ ] Destroy the list of users upon leaving the channel
[ ] Hook up who() to internal list of users

This actually doesn't provide a lot of benefit. The idea was to not need to pass a callback to the who command. There's no guarantee you've gotten a WHO response after joining a channel by the time a who command is issued at Cardinal though.
Instead, we'll repurpose this to implement this as a Twisted Deferred.


Travis: rvm nowadays self-updates "gem"

This tiny PR removes a step which rvm now performs on its on.

Thank you!


Update training infrastructure

What?
Updated the training infrastructure to:

Cache models and optimizers at every epoch.
Highlight training statistics at every epoch end.
Move global variables to a configuration file.
Cached statistics to allow for viewing full training curves at the end of continuation training.
Added trained models and optimizers to the repo.

Why?

Without higher amounts of RAM, the OS will kill the process running the training program after training for sufficiently long. This is problematic for training until validation decreases (or in our case, plateaus).
Caching models and optimizers at every epoch end allow us to choose the model before overfitting occurs, even if we trained for many epochs after the overfitting occurred.
Having global variables in their own isolated configuration file allows for an easier to understand way of setting hyperparameters, filepaths, etc.
Adding trained models and optimizers to the repo allows for future authors to analyze the trained networks and potentially continue to train from a certain model, as well as choose a different model for use.

Extra Comments
I'm not actually sure if adding the trained models and optimizers is a best practice because they may take up unnecessary space in the repo. However, I do think it's important to at least have the model and optimizer in use stored, and if this is the case, I feel like having the other models and optimizers stored is important to prevent someone else from having to retrain the CNN for 70 epochs before they can recover the models and optimizers (all results are, in fact, reproducible due to random seed being set and PyTorch randomness being disabled in config_settings(), but it will take a long time to retrain).

@anissingh everything looks good, but I am thinking about tradeoffs with what to store in the repository. I think it's reasonable to store the model that we've chosen as the one to actually use, but storing all 70 seems like overkill. I could see updating the documentation (e.g. either README or the module docstring) to describe the methodology explicitly (ran for 70 epochs, looked at the validation curve, etc.). I could even see storing a CSV file with some of the quantitative metrics of the model evaluation. But in terms of supporting reproducibility, given the main script itself can be used to generate all of the models, I think storing all 70 models doesn't provide enough marginal benefit to outweight the repo size costs. What do you think?

I agree, I'll create a verbose README explaining the process and remove the rest of the files from the repo.


Clean up workflows

At the end of https://github.com/paketo-buildpacks/rfcs/issues/236, we should go through the dep-server workflows and disable/remove anything we no longer need. For each dependency listed in the original issue, this will likely include:

Workflows to getting new versions, building, and testing dependencies
Removing the dependency from the dependencies.yml file

Dependency List:

[x] bundler
[x] composer
[x] curl
[x] dotnet-aspnetcore
[x] dotnet-runtime
[x] dotnet-sdk
[x] go
[x] httpd
[x] icu
[x] nginx
[x] node
[x] php
[x] pip
[x] pipenv
[x] python
[x] poetry
[x] ruby
[x] rust
[x] tini
[x] yarn

This should result in dependency-specific workflows being removed from the dep-server. The workflow to deploy and run the dep-server should remain in-tact, as well as the legacy dependencies that are hosted in the dep-server in order to support old buildpack versions that reference those dependencies. We should also leave the dependency-specific code inside of pkg/dependency as-is, for future reference.

All of the .NET dependencies must remain until dotnet-core-runtime and dotnet-core-aspnet are retired.

Take a look at https://github.com/paketo-buildpacks/dotnet-core-aspnet-runtime/issues/47 for a proposal on how to deprecate the dotnet-core-runtime and dotnet-core-aspnet buildpacks.

🥳 @ForestEckhardt


Bump Ruby from 3.3.4 to 3.3.5

There are warnings about ostruct and fiddle being loaded from the standard library:
/opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/bundled_gems.rb:75: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
/opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/reline.rb:9: warning: fiddle was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add fiddle to your Gemfile or gemspec to silence this warning.

I think that these issues are being addressed in the relevant gems and/or in Ruby?
https://github.com/pry/pry/pull/ 2318
https://bugs.ruby-lang.org/issues/20714
I think that I will merge this for now and hope that these warnings are fixed by gem updates.


Update kubernetes term

Describe your changes
This change synchronizes the changes made on the kubernetes term to the Spanish version.
Related issue number or link (ex: resolves #issue-number)
NA
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Depende de #1484


lambda?

please add the lambda character

Hi @exoess!
I don't think this repo is actively maintained. If you like, my fork has a lambda char, but has a more limited charset in general than the current Comic Shanns.
I also have a PR open that adds a lambda to  this fork, which is more actively maintained and has the extended charset.
Cheers!


ttributeError: 'module' object has no attribute 'SimpleAuth'

ttributeError: 'module' object has no attribute 'SimpleAuth'
how can i do?
thanks.

I am getting the same error. Did you get any solution ?


Settings UI display order

When building VS Code extensions, developers would benefit from being able to set a display order of settings within a section and/or sub items.
The current (apparent) order of alphabetical is generally OK but once you begin adding a larger number of settings they may be more coheriant and logical to be displayed in another order.
Suggestions

Display in order of entry in package.json;
or provide an index, priority (or similar);
or provide a setting within the configuration to choose: ie Alphabetic, Entry order, other?

I think this is covered by https://github.com/microsoft/vscode/issues/51778


Dikshit/chimera load bank power supply upgrade

Changelist
Updated Chimera, Added Python Class for RIGOL DC Load Bank and Power Supply.
Also added some examples.
Testing Done
Simple testing with both Load Bank and Power Supply has been done and no issues so far.
Resolved Tickets
Not assigned a ticket, kind of a subtask before BMS/Cell Characerization

Also in the future I think this task was large enough to warrant a ticket in Jira.


[C++][Parquet] Rename parquet Endianess -> Endianness

Describe the enhancement requested
Typo in column_writer.cc, Endianess -> Endianness
Component(s)
C++, Parquet

Issue resolved by pull request 40856
https://github.com/apache/arrow/pull/40856

@RoboSchmied Can you comment here so that we assign this issue to you?

@RoboSchmied Can you comment here so that we assign this issue to you?

sure.


fix yarn package

This PR ensures that the package is properly packaged so that other applications can use it properly. It fixes the GitHub actions to do this. cc: @costrouc

LGTM, need to cut a release so merging.


When to trigger partition explode?

Just as the title says.

Perhaps when the last compaction from level n-1 to level n finishes. However, this still requires lots of analyzes.

Or perhaps before the DB tries to write into a Partition.


RTD is down

Here's an update for anyone who experienced problems with Read the Docs:
Early this morning, at 3:07am PT, I was alerted that RTD went down.  Our load balancers were completely offline, and our DNS couldn't be updated as it was hosted with Rackspace as well. Fortunately, I eventually found that the API was still up -- it was just the dashboard that was inoperable. I repointed DNS from the load balancers to single web servers and attempted to try to increase throughput of the web services to handle the load. At this point, Read the Docs was up, but started flapping and buckling under the load.
Shortly after this, Rackspace load balancers seem to return to normal operations. I have since reverted the changes I made and we are pushing traffic through the load balancers once again.
I'm still working to resolve some issues, it doesn't appear that we're back to 100% yet. I'll continue updating here. Thanks for the patience!

Things have now quieted down. I've squashed the remaining issues I was being alerted on. I've noticed residual problems from browsers still pointing to the cached DNS entries. I expect traffic will level off to this box shortly. If you are noticing a slow connection, you might still have this dns query cached.

Sorry that happened.  I just wanted to suggest something -- which you might be doing already...
If RTD is registered via namecheap (which it might be, since eNom is on your whois...) you can create a secondary namecheap account that only has API access to update DNS hosts on a given domain(s), then run a simple python script to swap DNS.  I use that setup a lot to deal with outages, load balancing issues, and DNS challenges for letsencrypt certificates.  It's much faster than logging in through 2-Factor-Auth and using their web interface.

@agjohnson Update: Seems back to normal for me. Thanks for the heads up re: sluggish connection.

@agjohnson Thanks for the update. Ours is one of those resources 'not back 100% yet', but I'll be patiently waiting until all things go back to normal. Sincere thanks for keeping us in the loop. RTD rocks! :bowtie:

@jvanasco DNS propagation time is still an issue there, but yes, having a secondary place for DNS, or at least decoupling from Rackspace makes sense. Where we stop with this process is another question though.
@monicacecilia This downtime would not have affected build processes, your issue is unrelated.
I'm closing this as there wasn't any fallout from the downtime. Thanks for the reports everyone!


Client Allocation Request for: Test

Client Allocation Questions
Core Information

Name: Test
Website / Social Media: test.com, (@foo, Twitter)
Region: Africa
DataCap Requested: 32 GiB
Addresses to be Notarized: f2398047293487
Notary Requested: Irene Young

Application created via filplus.storage

This user’s identity has been verified through filplus.storage


DOES ISTIO SSL TERMINATION REQUIRE ADDITIONAL CONFIGURATION TO SUPPORT CONNECTIONS TO LDAP PORTS THROUGH GATEWAY

Hi, I work with a LDAP application that uses 2636/2389 as LDAPS/LDAP ports, I was setting up SSL termination for the same application to reach to the main UI and other parts.

Created Certificate (letsencrypt) put that in secret
Created Gateway and VIrtual Service with Desination rules to access the application

I am able to reach the application with https://:7171/main/login
And  I am also able to reach to other pages as mentioned in the Gateway and Virtual Service files
But when I try to reach the ldaps part of the application either though " curl -v ldaps://:636" or using "ldapsearch "
It does not connect and my intuition is that the handshake is failing.
The idea is to terminate the SSL (ldaps) connection at the gateway and then route the query to the backend (application)
Gateway and Virtual Service Configuration
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: fid-gateway
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 636
      name: tls
      protocol: TLS
    tls:
      mode: SIMPLE
      credentialName: tr-istio-ltbdx
      maxProtocolVersion: TLSV1_3
      minProtocolVersion: TLSV1_2
    hosts:
    - host
  - port:
      number: 443
      name: https
      protocol: HTTPS
    tls:
      mode: SIMPLE
      credentialName: tr-istio-ltbdx
    hosts:
    - host
  - port:
      number: 8090
      name: https-api
      protocol: HTTPS
      # maxProtocolVersion: TLSV1_3
      # minProtocolVersion: TLSV1_2
    tls:
      mode: SIMPLE
      credentialName: tr-istio-ltbdx
    hosts:
    - host
  - port:
      number: 7171
      name: https-cp
      protocol: HTTPS
      # maxProtocolVersion: TLSV1_3
      # minProtocolVersion: TLSV1_2
    tls:
      mode: SIMPLE
      credentialName: tr-istio-ltbdx
    hosts:
    - host
  - port:
      number: 9101
      name: https-admin
      protocol: HTTPS
    tls:
      mode: SIMPLE
      credentialName: tr-istio-ltbdx
      # maxProtocolVersion: TLSV1_3
      # minProtocolVersion: TLSV1_2
    hosts:
    - host
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: fid
spec:
  hosts:
    - host
  gateways:
  - fid-gateway
  tcp:
  - match:
    - port: 636
    route:
    - destination:
        host: fid
        port:
          number: 2389
  http:
  - match:
    - port: 443
    route:
    - destination:
        host: fid
        port:
          number: 8089

---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: fid-cp
spec:
  hosts:
    - host
  gateways:
  - fid-gateway
  http:
  - match:
    - port: 7171
    route:
    - destination:
        host: fid-cp
        port:
          number: 7171
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: fid-api
spec:
  hosts:
    - fid.opcl.net
  gateways:
  - fid-gateway
  http:
  - match:
    - port: 8090
    route:
    - destination:
        host: fid-cp
        port:
          number: 8090

---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: fid-admin
spec:
  hosts:
    - fid.opcl.net
  gateways:
  - fid-gateway
  http:
  - match:
    - port: 9101
    route:
    - destination:
        host: fid
        port:
          number: 9100
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: fid-dest-rule
spec:
  host: fid-cp
  trafficPolicy:
    loadBalancer:
      simple: ROUND_ROBIN
    portLevelSettings:
    - port:
        number: 7171
      tls:
        mode: SIMPLE
    - port:
        number: 8090
      tls:
        mode: SIMPLE
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: fid-dest-rule-2
spec:
  host: fid-cp
  trafficPolicy:
    loadBalancer:
      simple: ROUND_ROBIN
    portLevelSettings:
    - port:
        number: 2636
      tls:
        mode: SIMPLE
    tls:
      mode: SIMPLE

---
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
  name: fid
  namespace: istio-ssl-termination
spec:
  selector:
    matchLabels:
      app.kubernetes.io/core-name: fid
  mtls:
    mode: PERMISSIVE
  portLevelMtls:
    2636:
      mode: PERMISSIVE

I have also opened ports on the ingress loadbalancer
The below is the application yaml
apiVersion: v1
kind: Secret
metadata:
  name: fidrootcreds
type: Opaque
data:
  username: Y249RGlyZWN0b3J5IE1hbmFnZXI=
  password: c2VjcmV0MTIzNA==
---
apiVersion: v1
data:
  ZK: "external"
  ZK_CONN_STR: "zookeeper.istio-ssl-termination.svc.cluster.local:2181" # this should match the service name from zk deployment
  ZK_CLUSTER: "fid"
  LICENSE: ""
kind: ConfigMap
metadata:
  labels:
    role: fid
  name: fid-environment-variables
---
apiVersion: v1
kind: Service
metadata:
  name: fid
  labels:
    app: fid
spec:
  ports:
    - port: 9100
      name: admin-http
    - port: 2389
      name: ldap
    - port: 2636
      name: ldaps
  selector:
    app: fid
  type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
  name: fid-cp
  labels:
    app: fid-cp
spec:
  ports:
    - port: 7070
      name: cp-http
    - port: 7171
      name: cp-https
    - port: 8089
      name: http
    - port: 8090
      name: https
  selector:
    statefulset.kubernetes.io/pod-name: fid-0
  type: ClusterIP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: fid
  labels:
    kubernetes.io/os: linux
spec:
  selector:
    matchLabels:
      app: fid # has to match .spec.template.metadata.labels
  serviceName: "fid"
  replicas: 1
  updateStrategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: fid # has to match .spec.selector.matchLabels
      annotations:
        traffic.sidecar.istio.io/excludeOutboundPorts: 443,8090,7171
        traffic.sidecar.istio.io/excludeInboundPorts: 7171,8090,2636
    spec:
      terminationGracePeriodSeconds: 120
      securityContext:
        fsGroup: 1000
      initContainers:
        - name: sysctl
          image: busybox
          imagePullPolicy: IfNotPresent
          command:
            [
              "/bin/sh",
              "-c",
              "sysctl -w vm.max_map_count=262144 && set -e && ulimit -n 65536",
            ]
          securityContext:
            privileged: true
      containers:
        - name: fid
          image: image
          imagePullPolicy: Always
          lifecycle:
            postStart:
              exec:
                command:
                  [
                    "/bin/sh",
                    "-c",
                    "echo Hello from the fid postStart handler > /opt/radiantone/vds/lifecycle.txt",
                  ]
            preStop:
              exec:
                #              command: ["/opt/radiantone/vds/bin/advanced/cluster.sh","detach"]
                command: ["/opt/radiantone/vds/bin/stopVDSServer.sh"]
          ports:
            - containerPort: 2181
              name: zk-client
            - containerPort: 7070
              name: cp-http
            - containerPort: 7171
              name: cp-https
            - containerPort: 9100
              name: admin-http
            - containerPort: 9101
              name: admin-https
            - containerPort: 2389
              name: ldap
            - containerPort: 2636
              name: ldaps
            - containerPort: 8089
              name: http
            - containerPort: 8090
              name: https
          readinessProbe:
            tcpSocket:
              port: 2389
            initialDelaySeconds: 120
            periodSeconds: 30
            failureThreshold: 5
            successThreshold: 1
          livenessProbe:
            tcpSocket:
              port: 9100
            initialDelaySeconds: 120
            periodSeconds: 30
            failureThreshold: 5
            successThreshold: 1
          envFrom:
            - configMapRef:
                name: fid-environment-variables
          env:
            - name: ZK_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: fidrootcreds
                  key: password
          volumeMounts:
            - name: r1-pvc
              mountPath: /opt/radiantone/vds
          resources:
            limits:
              cpu: "4"
              memory: 8Gi
            requests:
              cpu: "2"
              memory: 4Gi
          command: ["/bin/sh", "-c"]
          args:
            [
              "if [ $HOSTNAME != fid-0 ]; then export CLUSTER=join; fi;./run.sh fg",
            ]
      nodeSelector:
        kubernetes.io/os: linux
      volumes:
      - name: r1-pvc
        emptyDir: {}

The curl returns the following
curl -v -k ldaps://<host>:636
*   Trying <IP_ADDRESS>:636...
* Connected to fid.opcl.net (<IP_ADDRESS>) port 636 (#0)
* LDAP local: LDAP Vendor = Microsoft Corporation. ; LDAP Version = 510
* LDAP local: ldaps://fid.opcl.net:636/
* LDAP local: trying to establish encrypted connection
* LDAP local: bind via ldap_win_bind Server Down
* Closing connection 0
curl: (38) LDAP local: bind via ldap_win_bind Server Down

Am I missing anything? Any help is appreciated

I recommend taking a look at https://github.com/istio/istio/wiki/Troubleshooting-Istio. Currently, this is just a dump of a ton of info... github issues are more for bugs and feature requests, not consulting. If you can get a minimal reproducer that shows a possible bug we can take a look, but as-is there is not much progress we can make on this.


Calculator / Sage Cell Modal

Moved from https://github.com/StevenClontz/checkit/issues/21

Add a handy button when viewing exercises that reveals a convenient calculator or Sage cell on the screen for calculations.

Closed in 709d5d46b02cfdc9ca2b094af7af619e6913cc4d

We should probably persist the code cell's contents/output...

Closed in 512bce260438863e3075baa0a91f181e5cfa14ae


Home Tab Improvement

The top vega plot in the home tab breaks when entering the home tab from another page. The plot recovers on refresh.

The problem stems from needing to find the mouse position within the vega plot. Given the density of points and that hovering over the plot selects multiple lineages at once we may want to limit the lineage highlighting to when a user hovers over a lineage in the table to the left

Make six separate vega plots which have all continent data. Get relevant continent's data from title

workflow_main/analyses/scripts/surveillance:

Output JSONs instead of CSVs
i.e., group_regression2.csv --> group_regression2.json
and group_counts2.csv --> group_counts2.json
For JSON output, use df.to_json(orient='records')

Modify DB seeding to insert surveillance JSONs into the jsons table

services/server/cg_server/db_seed/seed.py
cur.execute(
"""
INSERT INTO "jsons" (key, value) VALUES (%s, %s);
""",
["surveillance_group_counts", Json(...)],
)
... same for surveillance_group_regression
Drop and re-seed development database

Access JSONs via. asyncDataStore (just verify that the data made it)

see: src/stores/mutationData.js for an example of accessing data from
the asyncDataStore.js
Within mutationStore: console.log(asyncDataStore.data.surveillance_group_counts)...

Make a new store for surveillance data (src/stores/surveillanceDataStore.js)

Make the store file. Follow src/stores/globalSequencingData.js as a template, except
you don't even need the fetch function.
In the stores init() function, load the data from asyncDataStore
and store it as a variable inside the surveillance store
(this.surveillance_group_counts = ...)
Connecting the store:

Add it to src/stores/connect.js
Add to src/stores/rootStore.js

Implement in Surveillance Plot wrapper (src/components/Vega/SurveillancePlot.js)

useStores() hook to load the new surveillanceDataStore
Create a data field in the state with a useState hook
Pass data to VegaEmbed (see other plots for reference)
Modify Vega spec to accept data
(I tried up to this point before, and it didn't work. But when we
simplify the plots (one per continent), it should work...)


libvpl: 2.10.1 -> 2023.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/libvpl/versions.
meta.description for libvpl is: Intel Video Processing Library
meta.homepage for libvpl is: https://intel.github.io/libvpl/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023.4.0 in filename of file in /nix/store/aj43rr6f741lr07860wjs4vvhgvqipvl-libvpl-2023.4.0

Rebuild report (if merged into master) (click to expand)

37 total rebuild path(s)

37 package rebuild(s)

First fifty rebuilds by attrpath
libvpl
obs-studio
obs-studio-plugins.advanced-scene-switcher
obs-studio-plugins.droidcam-obs
obs-studio-plugins.input-overlay
obs-studio-plugins.looking-glass-obs
obs-studio-plugins.obs-3d-effect
obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-command-source
obs-studio-plugins.obs-freeze-filter
obs-studio-plugins.obs-gradient-source
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-hyperion
obs-studio-plugins.obs-livesplit-one
obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-multi-rtmp
obs-studio-plugins.obs-mute-filter
obs-studio-plugins.obs-nvfbc
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.obs-replay-source
obs-studio-plugins.obs-rgb-levels-filter
obs-studio-plugins.obs-scale-to-sound
obs-studio-plugins.obs-shaderfilter
obs-studio-plugins.obs-source-clone
obs-studio-plugins.obs-source-record
obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-teleport
obs-studio-plugins.obs-text-pthread
obs-studio-plugins.obs-transition-table
obs-studio-plugins.obs-tuna
obs-studio-plugins.obs-vaapi
obs-studio-plugins.obs-vertical-canvas
obs-studio-plugins.obs-vintage-filter
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.obs-websocket
obs-studio-plugins.waveform
obs-studio-plugins.wlrobs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/aj43rr6f741lr07860wjs4vvhgvqipvl-libvpl-2023.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libvpl https://github.com/r-ryantm/nixpkgs/archive/0bc50dbc475bcc102cbcd29f2faa673597077c1f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0bc50dbc475bcc102cbcd29f2faa673597077c1f#libvpl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/aj43rr6f741lr07860wjs4vvhgvqipvl-libvpl-2023.4.0
ls -la /nix/store/aj43rr6f741lr07860wjs4vvhgvqipvl-libvpl-2023.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-ndi

36 packages built:

libvpl
obs-studio
obs-studio-plugins.advanced-scene-switcher
obs-studio-plugins.droidcam-obs
obs-studio-plugins.input-overlay
obs-studio-plugins.looking-glass-obs
obs-studio-plugins.obs-3d-effect
obs-studio-plugins.obs-command-source
obs-studio-plugins.obs-freeze-filter
obs-studio-plugins.obs-gradient-source
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-hyperion
obs-studio-plugins.obs-livesplit-one
obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-multi-rtmp
obs-studio-plugins.obs-mute-filter
obs-studio-plugins.obs-nvfbc
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.obs-replay-source
obs-studio-plugins.obs-rgb-levels-filter
obs-studio-plugins.obs-scale-to-sound
obs-studio-plugins.obs-shaderfilter
obs-studio-plugins.obs-source-clone
obs-studio-plugins.obs-source-record
obs-studio-plugins.obs-source-switcher
obs-studio-plugins.obs-teleport
obs-studio-plugins.obs-text-pthread
obs-studio-plugins.obs-transition-table
obs-studio-plugins.obs-tuna
obs-studio-plugins.obs-vaapi
obs-studio-plugins.obs-vertical-canvas
obs-studio-plugins.obs-vintage-filter
obs-studio-plugins.obs-vkcapture
obs-studio-plugins.obs-websocket
obs-studio-plugins.waveform
obs-studio-plugins.wlrobs

Maintainer pings

Is this a downgrade?


Cabal 2.2 compat

cc @peti

Released as http://hackage.haskell.org/package/jailbreak-cabal-1.3.3.


Purpose of build/pack.sh

Can anyone enlighten me on what the build/pack.sh script does? I'm including it below:
#!/bin/bash

set -e

time docker run \
    -v "$PWD/../":/go/src/github.com/bnhf/openvpn-tap-external-web-ui \
    --rm \
    -w /usr/src/myapp \
    tyzbit/beego:1.9.4 \
    sh -c "cd /go/src/github.com/bnhf/openvpn-tap-external-web-ui/ && bee version && bee pack -exr='^vendor|^data.db|^build|^README.md|^docs'"
cd github.com

Thanks!

Can anyone enlighten me on what the build/pack.sh script does? I'm including it below:
#!/bin/bash

set -e

time docker run \
    -v "$PWD/../":/go/src/github.com/bnhf/openvpn-tap-external-web-ui \
    --rm \
    -w /usr/src/myapp \
    tyzbit/beego:1.9.4 \
    sh -c "cd /go/src/github.com/bnhf/openvpn-tap-external-web-ui/ && bee version && bee pack -exr='^vendor|^data.db|^build|^README.md|^docs'"
cd github.com

Thanks!

Answering my own question here, as I corresponded with @tyzbit who's version of this repository I forked. The pack.sh script is intended to create the tar.gz archive used in the Docker build. It makes sense that this is the purpose, as I had to figure out what was needed, in addition to the executable created by "bee run", by looking in @tyzbit's container.
The script is doing this using a Beego Docker container with the 1.9.4 version of Beego.  This may not be necessary however, as the web-ui appears to be working fine with my manual build of the archive, and it appears to also work to run just this portion of the script:
bee pack -exr='^vendor|^data.db|^build|^README.md|^docs'

from the parent directory of the repository as it exists on your local machine, e.g. openvpn-web-ui.  If you want to create the archive manually, I listed the files I believe are necessary in the README.md of my fork of this project.


[BUG] grpc-transport does not pass along provided deadline option

Considering this callOpts part is commented out in each of the call types I assume this was thought about at one point. It is clear from trying to debug this by passing along the full input options parameter that that solution won't work. It seems like picking individual keys out of the passed options is the only way this will work.
https://github.com/timostamm/protobuf-ts/blob/bb4a4fc4f5085e722d090ef07b55669f3029084f/packages/grpc-transport/src/grpc-transport.ts#L52-L59
https://github.com/timostamm/protobuf-ts/blob/bb4a4fc4f5085e722d090ef07b55669f3029084f/packages/grpc-transport/src/grpc-transport.ts#L120-L127
https://github.com/timostamm/protobuf-ts/blob/bb4a4fc4f5085e722d090ef07b55669f3029084f/packages/grpc-transport/src/grpc-transport.ts#L184-L190

Thanks for the report, @jcready.
The deadline property of GrpcOptions is now picked up, see commit.
Not tested yet. Will have a closer look as soon as i find a longer piece of free time.

Thanks for the report, @jcready.
The deadline property of GrpcOptions is now picked up, see commit.
Not tested yet. Will have a closer look as soon as i find a longer piece of free time.

Released in v2.0.0-alpha.12
Yet to be tested.

Released in v2.0.0-alpha.12
Yet to be tested.

Just tested this. Setting the deadline option in the transport CTOR or a method call arg works.
The following error is raised if the deadline is too short:
RpcError: 4 DEADLINE_EXCEEDED: Deadline exceeded
    at ClientDuplexStreamImpl.<anonymous> (/Users/ts/PhpstormProjects/protobuf-ts/packages/grpc-transport/build/commonjs/grpc-transport.js:152:52)

Just tested this. Setting the deadline option in the transport CTOR or a method call arg works.
The following error is raised if the deadline is too short:
RpcError: 4 DEADLINE_EXCEEDED: Deadline exceeded
    at ClientDuplexStreamImpl.<anonymous> (/Users/ts/PhpstormProjects/protobuf-ts/packages/grpc-transport/build/commonjs/grpc-transport.js:152:52)


graalvm11-ce: add support for aarch64-linux

Motivation for this change
This should add support for some GraalVM packages like babashka to things like Raspberry Pi 4.
Only adding support for graalvm11-ce. While there is a graalvm8 release for aarch64-linux, it is missing some support (like wasm). Java 8 is ancient by this point anyway.
Also, it is not used anywhere on the nixpkgs, while graalvm11 is used by multiple other packages (babashka, clj-kondo, clojure-lsp, etc.).
Things done

Built on platform(s)

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

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

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

[x] Fits CONTRIBUTING.md.

I tested this through emulation via QEMU: https://nixos.wiki/wiki/NixOS_on_ARM#Compiling_through_QEMU
TruffleRuby seems broken at the moment, but I will leave it to someone in the future if they want to fix it.


automate ec2 setup

Issue #, if available:
Description of changes:

Automate the setup for ec2 demo
Added instrumentation for sample app
Fixed some bugs

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM


dev-cmd/tap-new: Use actions/cache@v3 as v1 is very deprecated

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Fixes #15126.
We forgot about this workflow when we bumped the versions of our actual workflows in #14692.

Thanks again @issyl0!


consumer segfaulting when connecting to test.gcn.nasa.gov

Hi
Was trying to listen in on some testing messages I'm trying to generate and send from icecube.* but am having trouble with simply listening to the test instance.
This code
consumer = Consumer(client_id='XXX',
client_secret='XXX',
domain='test.gcn.nasa.gov')
Subscribe to topics and receive alerts
consumer.subscribe(['gcn.classic.text.ICECUBE_ASTROTRACK_BRONZE',
'gcn.classic.text.ICECUBE_ASTROTRACK_GOLD',
'gcn.classic.text.ICECUBE_CASCADE'])
while True:
for message in consumer.consume(timeout=1):
value = message.value()
print(value)
(when using credentials from test.gcn.nasa.gov)
segfaults (backtrace attached)
Similar code, without the "domain" setting and client_* from gcn.nasa.gov has worked fine
This is gcn-kafka  0.3.0, using Homebrew python (Mac OS 13.3.1,Python 3.11.3)
Anything I'm doing wrong?
gcn_kafka_crash.txt

tried on a linux box as well, same result, with gdb output;
Starting program: /home/blaufuss/env3/bin/python test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 185623]
[New Thread 0x7ffff529b700 (LWP 185624)]
[New Thread 0x7fffeffff700 (LWP 185625)]
[New Thread 0x7ffff4a9a700 (LWP 185626)]
[New Thread 0x7fffef7fe700 (LWP 185627)]
[New Thread 0x7fffeeffd700 (LWP 185628)]
[New Thread 0x7fffee7fc700 (LWP 185629)]
[New Thread 0x7fffedffb700 (LWP 185630)]
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007ffff6a72034 in rd_kafka_q_serve_rkmessages ()
from /home/blaufuss/env3/lib/python3.8/site-packages/confluent_kafka/../confluent_kafka.libs/librdkafka-e24e6ccd.so.1
HTH

@blaufuss, as an alternative workaround, you can just update to the latest version of gcn-kafka-python:
pip install --upgrade gcn-kafka

Thanks fixed the seg faults.


Improve Endpoint class to include ECIES encryption settings

This will improve ECIES encryption usage

Also, we should improve post api in this enhancement

remove listener, replace with Result
reduce parameter count in post call


Any chance to see this on Obsidian Excalidraw?

This and the claymore / layers scripts are very useful.
Any chance to see them on the Excalidraw that works inside Obsidian.md ?

rsd

This is provided as a reusable package. https://www.npmjs.com/package/excalidraw-animate
So, someone might be able to integrate it.
excalidraw-claymate does that too.
excalidraw-layers is very experimental and not maintained.


[CWS] trim useless chars in path

What does this PR do?
Convert
\??\C:\Windows\system32\schtasks.exe

into
C:\Windows\system32\schtasks.exe

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Fixes speed bug in StatisticsBuilder.CreateBenchmarkDifferences

Merged in https://github.com/QuantConnect/Lean/commit/96930a1c264df1adf7e6c8c1462fd61b1d170048


Creditcard is grouped config not working correctly

https://github.com/buckaroo-it/Magento2/blob/6a84ec89db1842c894cb1251888d42cafaa13eee/view/frontend/web/js/view/payment/method-renderer/creditcard.js#L172
The script currently checks for strict equality but since the config returns string '1' the result is always false. As a work around we changed comparison to non strict but you may want to change value return from the config.
Magento 2.4.6-p4. Module Version 1.47.0

I can confirm that this option is not working correctly.
@bke1999 can you explain me more how i can use your workarround?

Thanks both @bke1999 and @jemico for notifying us. We will look into this a.s.a.p.

Thank you @bke1999 and @jemico. This is a known issue and the fix will be added to our next release. We have created a Pull Request for this issue: BP-3465 creditcards are not displayed in grouped.

@SandervdHulst added the fix and it is working! Thanks

@jemico ,
Good to hear and thank you for confirming this so quickly.

Issue closed because this has been released in:
v1.48.0


Update top nominators getting rewards

Polkadot now allows all nominators of validator to receive rewards, not jsut the top 512 nominators

https://github.com/paritytech/polkadot-sdk/issues/422

Version test: http://<IP_ADDRESS>:8900/s/FP8NBmkJyMN9Kbz

Re-test staking feature is normal


The homepage cards are not responsive.

What bug you encountered?
I think there is the issue in the height and width of the card in the mobile device.
Show us the trouble with screenshots

Which browsers are affected?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

I would like to solve this issue .Please assign me this
Thank you!


Feature/node schemas

What type of PR is this?
/kind feature
What this PR does / why we need it:
Add 2 new routes to cockpit

list all nodes (types and categories) available on such engine
fetch node schema from a specific node.

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Adds
1. GET /cockpit/nodes
2. POST /cockpit/nodes

Additional documentation e.g., usage docs, etc.:

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Changing Virtual Machines custom role action to read

Changing Virtual Machines custom role action to read  while allowing fast switch to write action if needed.

[like]  Eli Sagie reacted to your message:

From: Tom Janetscheck @.>
Sent: Tuesday, December 12, 2023 12:59:20 PM
To: Azure/Microsoft-Defender-for-Cloud @.>
Cc: Eli Sagie @.>; Author @.>
Subject: Re: [Azure/Microsoft-Defender-for-Cloud] Changing Virtual Machines custom role action to read (PR #828)
Merged #828https://github.com/Azure/Microsoft-Defender-for-Cloud/pull/828 into main.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Microsoft-Defender-for-Cloud/pull/828#event-11223222826, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMT4CCUXDFAGZQQXCFPY73DYJBIKRAVCNFSM6AAAAABARHVS4WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGIZDGMRSGI4DENQ.
You are receiving this because you authored the thread.Message ID: @.***>


Classes Document

A description of all the classes in Gary's matlab codes and theire representations in aurora,
A description of all the classes in Aurora and their representation in the Matlab codes.

This is being addressed in the Phase 1 Final Technical Report
https://docs.google.com/document/d/1UDwJdoLzbTHQVkPPHExg-EvIIIekIAoFOZU8y4EsTPs/edit?usp=sharing

I tried to list the core classes for each of
Input
Time Series to Fourier Coefficient
Fourier Coefficient  to Transfer Function
Output
in the doc.
This list references several classes which do not exist yet (merging acquistion runs and Fourier coefficient data for example) so this task is better addressed once these have stabilised


Access denied for

Access denied for distro.eks.amazonaws.com
This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> AccessDenied <Message>Access Denied</Message> <RequestId>8C83AFB3556CA41A</RequestId> <HostId>FmQKJB6vhsCm10o40VolmtGPVJAqJBoRReJGHfXM5iKzuxgsEWg97Pe7HzxjrnDoYreJroxQesg=</HostId> </Error>
Hyperlink can be found on Readme

We are working on this, thanks

Duplicate of #41, closing it.

https://distro.eks.amazonaws.com/ working now

I'm going to close this as it's working now.

Thanks again for reporting it!


Initial tracing framework

Issue #
Initial part of #677
Description of changes
This change adds support for a tracing framework including:

Adding the runtime/tracing/* projects classes (🌟 start reviewing here)
Enabling context receivers in our build configurations
Adding new client config for trace probe and client name (I expect 👈 to be controversial)
Adding a required TraceSpan context to SdkHttpOperation.roundTrip. There are still a lot more places to thread context through.

This requires updates to a lot of tests. I wanted to create a new runTestWithTraceSpan test method (basically runTest with an automatic no-op trace span) but KT-53551 stymied me on that front. For now, every test has been modified to explicit set a no-op trace span.

Codegenning the creation of a root trace span and request-based child span creation

Companion PR: aws-sdk-kotlin#680
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing in favor of #707.


Design Primary Beam for SKA-Low

Design Primary Beam for SKA-Low

Source code for the SKA-low station behaviour simulation
https://gitlab.com/ska-telescope/sim/ska-low-station-behavior

A quick way to implement PB for MWA: https://github.com/johnsmorgan/mwa_pb_lookup/tree/master


Create GR-Country_fiche-2024

Dear @grigoriouelena,
thank you for adding the country fiche.
I made some minor edits and I will merge the pull request.


New hCNV galaxy tutorial

The tutorial is available in topics/variant analysis/tutorials/somatic-variants-discovery/tutorial.md
I added the workflow and images for the tutorial
I also updated the counterparts yml file

Hi Helena,
Thank you for your comments, kindly find the changes on the contributors, workflow and the tutorial as proposed

Thank you for all of the fixes @khaled196 ! Great to have this in here :) I think we could possibly improve the circos plot a bit more, but maybe that's something for another time.


redesign-issue#108

Issue
(#108  )
Description
To redesign the contact-us page. Added a new GIF of the Day section to increase user interaction and visual appeal of the overall page.
Related Issues
None
Type of PR

[feature-enhancement] ()

New Design for Contact Us Page

Checklist

[x] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

@Anjaliavv51 merge it

@Anjaliavv51 ??

@amankumarcu update the navbar to latest navbar

@Anjaliavv51 ok

@Anjaliavv51 check now

@amankumarcu also add Google map

@amankumarcu also add Google map

@amankumarcu

I will  @Anjaliavv51

I will @Anjaliavv51

any update and also resolve the conflicts.


Include windows.h on  win32 environment

On cmetrics itself, lack of windows.h does not cause undeclared identifier problems.
But, bundled cmetrics on fluent-bit causes these issues.
I confirmed that chunkio bundled mk_list.h's functions are always used after <chunkio_compat.h> whcih includes #include <windows.h>.

Closing this. This strategy is not effective for downstream fluent-bit.

I found that the root cause of building failure on fluent-bit when bundled this library.
This is because bundled lib/monkey/include/monkey/mk_core/mk_list.h includes windows.h but fluent-bit's CMakeLists.txt overwrites include path for: #include <monkey/mk_core/mk_list.h>.
Instead, we should use same mk_list.h definition from fluent-bit and include cmt_compat.h which includes windows.h inside.
This include header glitch causes building failure on fluent-bit when bundled this library.


Font icons View

Can You Generate Icons View for reference in sample app like
https://github.com/mikepenz/Android-Iconics

The icons used in Android-Bootstrap are from "/assets/typicons-v207.ttf" and "/assets/MaterialIcons-Regular.ttf".And all typicons are available for reference in http://www.typicons.com/ @khalid-mahmood

You can also create use other fonts by following these instructions:
https://github.com/Bearded-Hen/Android-Bootstrap/blob/master/ADD_FONT.md


PowerShell Runbook information out of date?

In the section "PowerShell runbooks", some of that information appears to be wrong; perhaps it's out of date?

Runbooks can't use parallel processing to execute multiple actions in parallel.

I'm doing this; a parent runbook triggers multiple jobs of child runbooks.  Perhaps this was intended to apply to runbooks you want to get information back from?  Mine are just handing off work to the child runbooks, without getting any information back.

You can include only PowerShell Workflow runbooks and graphical runbooks as child runbooks by using the Start-AzAutomationRunbook cmdlet, which creates a new job.

I've done this both inline (calling the runbook using "& .\Runbook-Name.ps1") and via the Start-AutomationRunbook internal cmdlet.

Runbooks can't use the PowerShell #Requires statement, it is not supported in Azure sandbox or on Hybrid Runbook Workers and will cause the job to fail.

I tried to use this and had logged a support ticket with Microsoft; they told me it's not supported as stated, but it didn't cause my jobs to fail, it just ignored them.

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

ID: 8081200f-2bf4-db58-c957-c8ab7af5f90b
Version Independent ID: b135cf1a-c391-03e5-41e7-e13571351e91
Content: Azure Automation runbook types
Content Source: articles/automation/automation-runbook-types.md
Service: automation
Sub-service: process-automation
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@JakeMoe Thanks for the feedback.
Assigning @MGoedtel for visibility, review and document enhancement consideration if appropriate.

@jaspkaur28 - can you please review and provide your insights.

@JakeMoe - Per validation with engineering:

Runbooks can't use parallel processing to execute multiple actions in parallel - This is still a valid statement.
You can include only PowerShell Workflow runbooks and graphical runbooks as child runbooks by using the Start-AzAutomationRunbook cmdlet, which creates a new job - This statement is valid and this is also applicable to PowerShell runbooks . I'll update that statement accordingly.
Runbooks can't use the PowerShell #Requires statement, it is not supported in Azure sandbox or on Hybrid Runbook Workers and will cause the job to fail - This depends on the runbook and it is related to runbooks with or without the parameters, and so the job really may fail and not definitely fail. I'll also update this statement accordingly.

I've created a work item to address this and will update the article sometime this week.
I'm going to proceed with closing this GitHub issue and if you aren't satisfied with our response, feel free to respond.
#please-close


Do not show hit-enter prompt as much as possible

https://github.com/haya14busa/vim-asterisk/commit/569896fb690391648b839e0c45a7f514bb731bf6


Refactor generator generator cookiecutter template to copier

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

Feature Request

Refactor current generator cookiecutter template to copier.

New template location: https://github.com/fastapi-mvc/copier-generator

Released: https://github.com/fastapi-mvc/copier-generator/releases/tag/0.1.0


Unable to start the app from home screen

I opened the app in the Samsung browser (I do not have Chrome on my S5) and did the 'Add the home screen'. It created the icon.
When I now click on the icon, it opens a white screen with the WCEU logo and in full below 'WordCamp Europe 2018', but then nothing else happens.

Could you please visit http://www.whatsmyua.info/ and paste your User Agent here?

Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G901F Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.4 Chrome/56.0.2924.87 Mobile Safari/537.36

Thanks @ePascalC. We'll take a look with the Android emulator.

I can't reproduce the problem with an Android 6.0 and Chrome 56.0.2924.87.
Could you please connect your phone via USB, visit chrome://inspect and open the inspector to look for JS error? If you don't know how to do that let me know and I'll guide you through.

Please focus on other issues, because this will probably only be an edge case.

Closing this now. Please feel free to reopening it when you can debug it using the inspector.

@luisherranz I'm ok for the closure now, but 'Inspector' is a Chrome thing. I cannot simulate/inspect anything from the built in browser (that is not Chrome).

According to your UserAgent it is a Chrome 56. Not sure if Samsung allows to connect it via chrome://inspect tho.


Microsoft.Kepler is not available on nuget.org

Unable to find Microsoft.Kepler package in nuget.org . But at the same time, I'm able to download this package from Visual Studio and other problem that I have noticed is KeplerClient.dll is coming as unsigned dll.

Hello, there is no record of this package existing on NuGet.org. This is why you are seeing a 404 Not Found at the web page in your screenshot.
My guess here is that your NuGet package source configuration (via NuGet.Config) includes an additional feed which has this package. Could you look at the configuration on your local environment to verify this?
You can also restore your project from the command line at nornmal verbosity or higher (default is minimal) and see which package returned an HTTP 200 for a URL containing this package ID.


Fixing cennznet.io keyring loading

Tried several ways to solve this issue.. This seem to be working..
The difference between the way keyring was stored in local storage is
OLD
KEY
account:0xdcffd5cb838e225a1c00780700a253bd05ca464643d0fa3a0b0ea25c1b088a1b

VALUE
{"address":"5H4UPcayhPuih5yA1mUyzo6C5s6yPSSnrfrnzifngXeLaMAL","encoded":"0x1d0978379e161727e93caeacaf11f335f3d17e1cf03073db49fa2940b28deb99853c048e3fe29ab8dc4439e4efe845bfed68fd4a48bb726dc8f89aa9e5f9edf5b4c8aa14050337ee624189de9066f926d6e73af39a3810581dbd6ca7b6d56096f37a617f7afc21860daa292fb540b62740500eba1dca16bf0c2c6351e23dd872e29a22ecc8f7c5006445338ff1f4cb6576b949443818dd4ec5ae6259b5","encoding":{"content":["pkcs8",{"type":"sr25519"}],"type":"xsalsa20-poly1305","version":"2"},"meta":{"genesisHash":"0x0d0971c150a9741b8719b3c6c9c2e96ec5b2e3fb83641af868e6650f3e263ef0","name":"yolo","tags":[],"whenCreated":1602026199558}}

New format
KEY
account:0xb6b7eea72d0d834e8b64c7db8b5df4f757e34511fc4b989e4e04add212fc9433

VALUE
{"address":"5GCHDDcta2HJx1vM71MKRpPG5qD3nuMWrqXPDVww5X28gT2T","encoded":"5Khq0GD8Bkj0urLZqwABco1Pg6C3Qjpm5e9MELxZrTwAgAAAAQAAAAgAAADUS7Aoq7PnxZZCSXpKSe3YVqRdR079EEgwsueoS2HcHAXZuP8Afpu2J3IYUb9/qQQuIfzidpl2I3/NUhyw4Dq6s5zRTrQOertoDgNBNXxLysnDXQbnPJX/mFCn1bWarM7dzwBlkRsbtsprlB6DNUzj8E1zy7tcu2AgcnXI6X5tZYiwVY21wtDY/YqTPgVBA4lyxzL8qrhwiMaNPc1v","encoding":{"content":["pkcs8","sr25519"],"type":["scrypt","xsalsa20-poly1305"],"version":"3"},"meta":{"genesisHash":"0x0d0971c150a9741b8719b3c6c9c2e96ec5b2e3fb83641af868e6650f3e263ef0","name":"test_keyring4.0","tags":[],"whenCreated":1607896965331,"whenEdited":1607896972628}}

The only difference is
encoding":{"content":["pkcs8","sr25519"], // NEW
encoding":{"content":["pkcs8",{"type":"sr25519"}], //OLD
Tested extrinsic

New test are not being triggered with the ci.. investigating to make it him


fetch_open_auto_dock: 0.1.3-2 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository fetch_open_auto_dock to 0.1.3-2:

upstream repository: https://github.com/fetchrobotics/fetch_open_auto_dock.git
release repository: https://github.com/fetchrobotics-gbp/fetch_open_auto_dock-gbp.git
distro file: noetic/distribution.yaml
bloom version: 0.10.1
previous version for package: 0.1.3-1

fetch_open_auto_dock
* First Noetic release of auto dock
* Minor python3 updates to scripts (#5 <https://github.com/fetchrobotics/fetch_open_auto_dock/issues/5>)
* Contributors: Eric Relson

Learned a thing about what to do when blooming before deps are available.  This generated the missing release repo branches for several distros, which will fix the build failures I believe.


Content flickering on page load

There seems to be some content flickering on page load. I haven't looked into whether the correct content is actually pre-rendered (which it should as it otherwise affects SEO negatively).
https://www.loom.com/share/c1dc2711c00642caa971976381d8bf63

The quick start today does not have a language switcher any more.
Other pages having the language switcher do not show this behavior afaik.


Implement MRIQC on individual functional runs

Should we implement MRIQC on individual functional runs to make the fd_num and fd_perc fields more useful?

Yes, I mean running it on each task (and each run) for different FD thresholds.

There's significant overlap between this issue and #3, so I'll close this for now.


Implicit conversion of types with mat with = operator

I would like to be able to implicitly convert matrix types with the = operator. The following is currelt invalid:
basic_mat<float, 4, 4> m = basic_mat<double, 4, 4>{};

However the following is valid (desired behaviour):
basic_vec<float, 4> v = basic_vec<double, 4>{};
basic_quat<float> q = basic_quat<double>{};

This is an easier fix than I thought. The basic_mat 1-arg magic ctor is currently declared explicit; it shouldn't be (see basic_vec). @JJscott, feel free to fix instead of me.


Cilium wrong Node Pod CIDR assignment when there are no more available IPs

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hello everyone, I am writing to report a bug that impacted our production environment a while ago, that we were able to replicate under test conditions in a new cluster. This is how we reproduced it (and what we think of the problem).
Starting conditions:

A cluster with a very small pod CIDR: <IP_ADDRESS>/23, meaning that each node will get a /24 CIDR for pod IPs. With such a small CIDR, we can only have two nodes, one will be the control plane (<IP_ADDRESS>/24) and one will be a worker (<IP_ADDRESS>/24).
Cilium installed with ipam.mode=kubernetes, annotateK8sNode=true and k8s.requireIPv4PodCIDR=true, with no kube-proxy replacement.

Everything works fine as stated above. The problem begins when we add a third node to the cluster (we are using Cluster API via vSphere provider, but I thinks it's probably irrelevant how you add a node to the cluster, for this bug). There are no more available CIDRs for this node, and one would think that it should be in a somewhat state of error; instead, this is what happens:

The node gets created and joins the cluster. It has normal internal/external IP (from the standard Node resource), and its status reports it as Ready.
Pods actually get scheduled on this node: the cilium pod is in CrashLoopBackoff, while the kube-proxy pod is running normally. Other pods, such as the vpshere-csi-node are not scheduled because of the taint {node.cilium.io/agent-not-ready: } and due to not connecting to cilium:2m41s       Warning   FailedCreatePodSandBox   pod/vsphere-csi-node-6n59r                        (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "4ae3eae56bb79315e94f4b7b6f61f1d5841544957ed234625f1e483631c9d893": plugin type="cilium-cni" failed (add): unable to connect to Cilium daemon: failed to create cilium agent client after 30.000000 seconds timeout: Get "http://localhost/v1/config": dial unix /var/run/cilium/cilium.sock: connect: no such file or directory...

There are many events in the default namespace that signals that the node status is CIDRNotAvailable:default       71s         Normal    CIDRNotAvailable         node/test-5r582-4ljmz               Node test-5r582-4ljmz status is now: CIDRNotAvailable

The CiliumNode resources are very interesting: the controlplane and the first worker node have bot InternalIP and CiliumInternalIP correctly set; the newly added third node has an InternalIP and no CiliumInternalIP. Furthermore, if we check the resource status, we see what follows:spec:
  addresses:
  - ip: <IP_ADDRESS>
    type: InternalIP
  - ip: <IP_ADDRESS>
    type: ExternalIP
  alibaba-cloud: {}
  azure: {}
  encryption: {}
  eni: {}
  health: {}
  ingress: {}
  ipam:
    podCIDRs:
    - <IP_ADDRESS>/16
    pools: {}

and this is very wrong. We noted by adding even more nodes that the PodCIDRs are always assigned by taking the last octet of the InternalIP (in the case above, .33), and by putting it as a 10.x.0.0/16 (again, in the case above, <IP_ADDRESS>./16). This happens for any "extra" node outside the cluster pod CIDR.
Cilium (I think it is Cilium that does that, correct me if I'm wrong), pushes the 10.x.0.0/16 route to every node in the cluster. For example, if I run netstat -rn:Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
...
<IP_ADDRESS>       <IP_ADDRESS> <IP_ADDRESS>     UG        0 0          0 cilium_host
...

The cilium pod on the faulty node logs a few interesting things:...
level=info msg="Using autogenerated IPv4 allocation range" subsys=node v4Prefix=<IP_ADDRESS>/16
...
level=info msg="Retrieved node information from kubernetes node" nodeName=k8s-mi-cilium-prod-5r582-4ljmz subsys=k8s
level=warning msg="Waiting for k8s node information" error="required IPv4 PodCIDR not available" subsys=k8s
[ the two logs above are repeated until the pod is restarted by kubernetes)

This is where the autogeneration of the IP CIDR is done:
https://github.com/cilium/cilium/blob/a0449889789216c84a8e24ec623b6c52c1bbd914/pkg/node/address.go#L116-L124

This is obviously a big problem because those routes makes no sense at all, and in our case (I could say luckily, since we caught the bug very early) they were completely breaking: we had some other services internal to our private network (on 10.x.x.x/16) that were completely unreachable from the pods and we had a massive outage (which was solved by removing the extra node).
As a side (unrelated) note, this cluster was connected to another via Cilium cluster mesh so the faulty routes were also propagated to the other cluster, breaking both of them.
Now, I don't know if this could be due to a misconfiguration from our side (if you need, I can also share the cilium helm values that we used to install cilium on the cluster), and it definitely still much depends on the size of the CIDR (we maxed it out and we are looking on how to expand it/change it without breaking everything), but I still thinks this behavior should be avoided at all costs so that cilium can catch it (and error/log it) instead of breaking network connectivity by placing random routes.
Hope this is enough information, please ask if you need anything else; the test cluster(s) is still available and I can do stuff on it :)
cc. @ettoreciarcia
Cilium Version
1.14.2
Kernel Version
Linux test-controlplane-qhdr2 5.15.92-flatcar #1 SMP Mon Mar 6 22:46:16 -00 2023 x86_64 Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz GenuineIntel GNU/Linux
Kubernetes Version
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.11", GitCommit:"0f75679e3346160939924550fd3591462a4afec6", GitTreeState:"clean", BuildDate:"2023-02-22T13:32:00Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @lmb,
I just tried upgrading to Cilium 1.15 and this bug is not reproducible anymore.
The node reports as ready, but it correctly keeps the taints:
spec:
  taints:
  - effect: NoSchedule
    key: node.cluster.x-k8s.io/uninitialized
  - effect: NoSchedule
    key: node.cloudprovider.kubernetes.io/uninitialized
    value: "true"
  - effect: NoSchedule
    key: node.cilium.io/agent-not-ready

Cilium does not create a CiliumNode anymore, so there is no faulty pod CIDR /routes on the node anymore.
The cilium pod logs this (just once):
level=info msg="Retrieved node information from kubernetes node" nodeName=test-5r582-2nz54 subsys=daemon
level=warning msg="Waiting for k8s node information" error="required IPv4 PodCIDR not available" subsys=daemon

Thank you so much!


GradingPrimaryTransform shader fails Windows / macOS

GradingPrimaryTransform appears to fail in the shader on macOS (Intel). v 2.0.0 and 2.1.1.
ERROR (gpu.shader): OCIOShader FragShader:
      |
    1 | #version 330
      |                                                                                ^
      | Error: Use of undeclared identifier 'inf'
      |
      | #version 330
      |                                                                                ^
      | Error: Use of undeclared identifier 'inf'
      |
      | #version 330
      |                                                                                ^
      | Error: Use of undeclared identifier 'clampBlack'
      | Error: Use of undeclared identifier 'clampWhite'

In OCIOw e always have many unit tests around GradingPrimaryTransform, could you provide us some code snippet or a simplified config file to reproduce the problem?

@hodoulp
I'm attempting to triage this issue from the originating software so here's some additional information:

Library version: 2.0.0
OCIO config: config.ocio.txt
Shader dump

vec4 OCIO_to_display(in vec4 inPixel)
{
  vec4 outColor = inPixel;

  // Add GradingPrimary 'log' forward processing

  {
    vec3 brightness = vec3(0., 0., 0.);
    vec3 contrast = vec3(1.29999995, 1.29999995, 1.29999995);
    vec3 gamma = vec3(1., 1., 1.);
    float pivot = 0.400000006;
    float pivotBlack = 0.;
    float pivotWhite = 1.;
    float clampBlack = -inf;
    float clampWhite = inf;
    float saturation = 3.29999995;
    outColor.rgb += brightness;
    outColor.rgb = ( outColor.rgb - pivot ) * contrast + pivot;
    if ( gamma != vec3(1., 1., 1.) )
    {
      vec3 normalizedOut = abs(outColor.rgb - pivotBlack) / (pivotWhite - pivotBlack);
      vec3 scale = sign(outColor.rgb - pivotBlack) * (pivotWhite - pivotBlack);
      outColor.rgb = pow( normalizedOut, gamma ) * scale + pivotBlack;
    }
    vec3 lumaWgts = vec3(0.212599993, 0.715200007, 0.0722000003);
    float luma = dot( outColor.rgb, lumaWgts );
    outColor.rgb = luma + saturation * (outColor.rgb - luma);
    outColor.rgb = clamp( outColor.rgb, clampBlack, clampWhite );
  }

  return outColor;
}

It appears as though the 'clampWhite' and 'clampBlack' defaults of +,- max double is being written out to glsl as 'inf'

BTW, forgot to add that my repro was done on Windows+nVidia so it's not specific to Mac.  The only workaround is to specify your own values for clamp inside the config. For example: clamp: {black: -100000, white: 100000}

Hi @sobotka & @jessey-git
The problem is fixed by PR #1462 (I'm able to reproduce the problem by removing a change from this PR) which is merged in main and RB-2.1. So, I suggest an update to OpenColorIO 2.1.

Despite what is written in the issue description above, based on Patrick's investigation, it should not be possible for the stated problem to occur in the 2.1 release, or later.  Therefore, I am closing this issue as Fixed.


feat: update profile api with entitlements and user details endpoints

Ticket:

15378

Description

Add /user and /entitlements endpoints
Update profile app to use such api endpoints via the building blocks sdk

Type

[ ] Dependency upgrade
[ ] Bug fix
[x] New feature
[ ] Dev change

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works

Screenshots:
N/A

LGTM

Quick question.
The rest api doesn't have the data:T  response does it? If I curl the endpoints here, I'd get the the T straight up?
Correct me if I'm wrong.

Yes, the data prop is added by the sdk right now

Quick question.
The rest api doesn't have the data:T  response does it? If I curl the endpoints here, I'd get the the T straight up?
Correct me if I'm wrong.

Yes exactly, I followed the pattern I found on payments, but happy to change this if that's what we all agree to do?


QC Rules for Home Collection (Mouthwash)

The home collection QC rules have been drafted and are ready to be coded: https://nih.app.box.com/file/1343071051190
Requestor(s): Domonique
Table or Figure title: N/A
Metrics to be updated or created: N/A
Variables needed (include variable name and Concept ID): N/A
Specify numerator and denominator by variable name where applicable: N/A
Mock-up table if applicable: N/A
Notes: N/A
Approved by:

@HopkinsDC  Should these be added into the current biospecimen QC reports or do you want these separated?

@KELSEYDOWLING7 We can just add them to the current QC report to keep it simple.
Your interpretation is correct for rule 3; however, it's better to apply the rules one way since it's possible that BioKit_ReturnKitTrack_v1r0, BioKit_SupplyKitID_v1r0, BioKit_ReturnKitID_v1r0 may be used for different kit types when/if added down the road, so we don't need the second set of rules.

@KELSEYDOWLING7 Yes, that's correct, no inverse rules for rule type 3. Thanks!

@HopkinsDC Thanks for clarifying! Sorry for all the questions, I just want to make sure this is coded correctly. Can you confirm that these would be the rules needed for Rule Type 8 and Rule Type 11 to account for both the inverse rule type and duplicate table check?
Rule 8:
(One way)

IF BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4, THEN BioKit_SupplyKitTrack_v1r0 (531858099)= populate. This checks the kit status of the participants table
IF BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4, THEN BioKit_KitShipTm_v1r0 (661940160) = populate. This checks the kit status of the participants table
IF BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4, THEN BioKit_KitRecdTm_v1r0 (826941471), = populate. This checks the kit status of the participants table
IF BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4, THEN  BioKit_CollCardRet_v1r0 (137401245) = populate. This checks the kit status of the participants table
IF BioKit_KitStatus_v1r0 (d_221592017) = 4, THEN BioKit_SupplyKitTrack_v1r0 (531858099)= populate. This checks the kit status of the kit assembly table
IF BioKit_KitStatus_v1r0 (d_221592017) = 4, THEN BioKit_KitShipTm_v1r0 (661940160) = populate. This checks the kit status of the kit assembly table
IF BioKit_KitStatus_v1r0 (d_221592017) = 4, THEN BioKit_KitRecdTm_v1r0 (826941471), = populate. . This checks the kit status of the kit assembly table
IF BioKit_KitStatus_v1r0 (d_221592017) = 4, THEN  BioKit_CollCardRet_v1r0 (137401245) = populate. This checks the kit status of the kit assembly table

(Inverse)

IF THEN BioKit_SupplyKitTrack_v1r0 (531858099)= populate THEN BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4. This checks the kit status of the participants table
IF BioKit_KitShipTm_v1r0 (661940160) = populate THEN BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4 This checks the kit status of the participants table
IF BioKit_KitRecdTm_v1r0 (826941471), = populate THEN BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4. This checks the kit status of the participants table
IF BioKit_CollCardRet_v1r0 (137401245) = populate THEN BioKit_KitStatus_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) = 4. This checks the kit status of the participants table
IF THEN BioKit_SupplyKitTrack_v1r0 (531858099)= populate THEN BioKit_KitStatus_v1r0 (d_221592017) = 4. This checks the kit status of the kit assembly table
IF BioKit_KitShipTm_v1r0 (661940160) = populate THEN BioKit_KitStatus_v1r0 (d_221592017) = 4. This checks the kit status of the kit assembly table
IF BioKit_KitRecdTm_v1r0 (826941471),= populate THEN BioKit_KitStatus_v1r0 (d_221592017) = 4. This checks the kit status of the kit assembly table
IF  BioKit_CollCardRet_v1r0 (137401245) = populate THEN BioKit_KitStatus_v1r0 (d_221592017) = 4. This checks the kit status of the kit assembly table

Rule 11:
(one Way)
-IF BioKit_KitStatus_v1r0 (221592017) = 4 AND BioKit_KitType_v1r0 (379252329) = 0THEN MWTube1_BioCol_TubeID_v1r0 (d_143615646_d_825582494) = BioKit_MWCupID_v1r0 (d_173836415_d_266600170_d_8583443674_d_221592017) This checks the kit status of the  participants table
-IF BioKit_KitStatus_v1r0 (221592017) = 4 AND BioKit_KitType_v1r0 (379252329) = 0THEN MWTube1_BioCol_TubeID_v1r0 (d_143615646_d_825582494) = BioKit_MWCupID_v1r0 (d_259846815) This checks the kit status of the kit assembly table
(Inverse)
-If the populated mouthwash sample tube ID (full specimen ID) should equal the populated collection cup ID, then kit status (from the kit assembly table) is Received
-If the populated mouthwash sample tube ID (full specimen ID) should equal the populated collection cup ID, then kit status (from the particiapnts table) is Received
-If the populated mouthwash sample tube ID (full specimen ID) should equal the populated collection cup ID, then kit type is Mouthwash.

@KELSEYDOWLING7 The one-way rules for rules 8 and 11 in both tables look good.
You can delete the inverse rules for both rules 8 and 11; seeing them written out like this helps clarify that they may throw errors that aren't true errors. The one-way rules should cover the receipt checks.

@HopkinsDC  Ok thanks for confirming! I'll delete the inverse and me and Jake will start testing these in stage shortly. I'm assuming we won't see any errors based on the purposes of stage testing but at least we'll know if doesn't break our existing code

@HopkinsDC  Sorry! I was confusing these with the Death Data QC testing we were doing yesterday. But Jake is going to try to test these today/this week once the three-way table merge is figured out

@erincschwartz Just noticed this open issue, the rules I showed you last week were a part of this list but the rest must have somehow been forgotten or pending data in the last few months.
These are the additional rules that I'd be adding based on this original request. Please let me know if these no longer apply or need to be tweaked:

If kit status (BioKit_KitStatus_v1r0) is Pending, then date/time kit pending (BioKit_KitDatePend_v1r0) should populate
If kit type is Mouthwash , then return kit tracking number, supply kit ID, return kit ID, collection cup ID, and collection card ID should populate.
If kit status is Assigned, then supply kit tracking number should populate
If kit status is Shipped, then supply kit tracking number and date/time kit shipped should populate
If kit status is Received, then supply kit tracking number, date/time kit shipped, date/time kit received should populate
If kit status is Received, then the mouthwash sample is collected.
If kit status is Received, then the mouthwash sample tube ID should populate.
If kit status is Received, and the kit type is Mouthwash, then the mouthwash collection setting is Home.
If the mouthwash collection setting is Home, and the mouthwash sample is collected, then baseline mouthwash is collected.
If the mouthwash collection setting is Home, and the mouthwash sample is collected, then the mouthwash date/time collected should populate.

These two have many errors, I'm thinking some additional conditionality is needed:
a. If kit type is Mouthwash , then return kit tracking number, supply kit ID, return kit ID, collection cup ID, and collection card ID should populate.
b. If kit status is Shipped, then supply kit tracking number and date/time kit shipped should populate

@erincschwartz  It looks like all of the QC issues I was finding is just an issue of delayed flattening of the kit_assembly table in BQ. Jake quickly resolved that for me so these are all done! Please let me know if any of the rules mentioned above are no longer valid. If not, I'll update these all to the Biospecimen QC check

@KELSEYDOWLING7 I will review these with Bio team on Tuesday---I am hung up on numbers 6 and 9, wondering if additional conditionality needs to be added to handle those cases where cup is returned empty, kit received with unexpected contents, etc.

@erincschwartz  Is there any updates to this issue as far as updating those two rules mentioned above or not?

@KELSEYDOWLING7 The two rules mentioned above are good as-is. No changes needed. Please update these all to the Biospecimen QC check.

@erincschwartz  Great! These will be on the Custom QC rules report (Biospe_Custom_QC_Accession_Duplicates) for now and when Jake returns from PTO we'll be adding them to the automated QC rules report (qc_report_biospecimen_prod_export2box). These will be reflected in Box as of today


8817 search responses by shortcode

I attempted to remove the and_allowed? method and the ANDABLE_TYPES constant
I had a bunch of search failing specs
rspec ./spec/features/search/sms_search_spec.rb:14 # sms search search
rspec ./spec/features/search/question_search_spec.rb:13 # question search search
rspec ./spec/features/option_set_flow_spec.rb:101 # option set with standard set importing, editing, and showing
rspec ./spec/models/search/search_spec.rb:234 # Search::Search indexed qualifiers should work with multiple terms
rspec ./spec/models/search/search_spec.rb:213 # Search::Search translated qualifier with and should work
rspec ./spec/models/search/search_spec.rb:249 # Search::Search indexed qualifiers should work with minus operator
rspec ./spec/models/search/search_spec.rb:101 # Search::Search AND should not be allowed for regular default qualifiers
rspec ./spec/models/search/search_spec.rb:170 # Search::Search text qualifier with quoted string should work
rspec ./spec/models/search/search_spec.rb:179 # Search::Search text qualifier with AND and OR should work
rspec ./spec/models/search/search_spec.rb:158 # Search::Search AND should not be allowed for scale qualifiers
rspec ./spec/models/search/search_spec.rb:105 # Search::Search AND should not be allowed for regular qualifiers
rspec ./spec/models/search/search_spec.rb:166 # Search::Search text qualifier should work
rspec ./spec/features/search/user_search_spec.rb:22 # user search search in mission context

All good, just waiting for CI now


Only down if ALL monitors are down

📑 I have found these related issues/pull requests
None found
🏷 Feature Request Type
Change to existing monitor
🔖 Feature description
There is currently a way to group multiple monitors and consider the group to be down, if any of the monitors in the group go down. It would be nice if there was an option to change this between ANY and ALL. That way only if all of the monitors in the group go down a notification is sent that the group is down.
✔ Solution
Lets take a docker container in my homelab for example. I currently run Uptime Kuma on a remote server. The two servers communicate through tailscale mostly. There have been some instances where tailscale goes down and notifications are sent that all my docker containers are down. If I was able to add the tailscale address, a remote push, an external IP address, and the DNS address of the monitored container, I would no longer have to chose which connection is the most reliable. If tailscale goes down, but the DNS still works, Uptime Kuma knows that the monitor is depreciated but still online.
❓ Alternatives
I have not found any alternate route of doing this.
📝 Additional Context
No response

Duplicate of #3387


🐞 [Bug]: Deleting a VM with IPv4 interface linked to a domain will not remove the associated name and gateway contracts

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard, grid_client
What happened?
When I click the actions button next to a VM and link a domain with an IP reserved by the VM, then proceed to delete the VM, the client leaves the name contract and gateway workload that were supposedly routing traffic to the now-removed VM.
Steps To Reproduce

go to https://staging.dashboard.dev.grid.tf/#/deploy/virtual-machines/full-virtual-machine/
Deploy a VM with IPv4 address
Add a new domain. Make sure to pick the IPv4 interface
Verify that the name contract and the gateway contract were successfully created.
Select the VM, from the full-virtual-machine page, and delete it.
revisit the contracts page and verify that the name contract and gateway's node contract are left behind.

which network/s did you face the problem on?
Dev
version
NA
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

I tried that twice, and here is the result

Relevant log output
NA

This might happen because we check if the backends in  the gateway is wiregaurd ip connected to the vm. In this case the solution need to check on all network interfaces https://github.com/threefoldtech/tfgrid-sdk-ts/blob/205fd89574b83e7651aeac91d69592a130c5cf8a/packages/playground/src/utils/delete_deployment.ts#L122

work completed :
add a function that pass all ips to the delete function and edit the filtration prop
WIP: some gws on interfaces like ipv4 didn't got listed checking..

Verified, Devnet ffbb750.
I deployed a VM and add a domain to it and made sure everything is correct.
then deleted it as mention and verified that all the contracts are deleted from contracts page, including vm, name and gateway.

Newly created test case: TC2903 - Deleting VM with domain


Upload trimmed-down shaded JARs per each release

Build a shaded JAR without Spark and its dependencies, and upload for each tagged release to the releases part of the repository.
We can skip doing this retrospectively for betas 1 and 2 and start with doing it for beta3 onwards.

We prepared this with https://github.com/opencypher/cypher-for-apache-spark/pull/365, need to upload the artefacts with the next beta release.


Find by _id

I am fairly new to mongodb and just started using mongojs in my nodejs app.
I wish to find items using their _id.
I tried
db.abc.find({_id: req.params.id}, function(...) {  ...  })
&
db.abc.find({_id: "ObjectId("+req.params.id+")"}, function(...) {  ...  })
Either of them did not work. Can this be achieved?

Thanks! It really helps!


Tab key does not focus controls in date picker

Environment

Tech
Version

@material-ui/pickers
3.0.0

material-ui
4.0.0

React
16.8.6

Browser
Chrome 74

Peer library
date-fns 2.0.0-alpha.27

Steps to reproduce

Open a datepicker on the demo page (https://material-ui-pickers.dev/demo/datetime-picker)
Press the tab key

Expected behavior
The tab key should move between the toolbar controls and days of the month, like in version 2 of material-ui-pickers.
Actual behavior
The tab key does not seem to focus anything.
Live example
https://material-ui-pickers.dev/demo/datetime-picker

Another keyboard issue- pressing Enter on the input does not open the picker (does not open the modal or inline picker on the demo page). This is seemingly also a regression since version 2.
Optimally the picker should be able to open, select a date, select a time, and close using only the keyboard so that it is accessible to keyboard-only and screenreader users.

Ideally for accessibility is to use only keyboard mode. And even make aria-hidden on open picker button.
We will fix not focusing, but also I suppose I will make a guide of accessibility’s

Thanks, I'll try using the keyboard picker and set aria-hidden on the input adornment.
It'd be great if tab could focus the hour & minute options for the time picker as well- is there anything against that or it is just low priority?

Will be fixed in nearest release

Hi @dmtrKovalenko, we have a use-case where it's not feasible to display a text input. Our application allows for user-specified formatted dates (e.g. YYYY-mm-DD, MMM dd, YYYY, etc.) to be used on every page, and currently this library does not support arbitrary masks for inputs. Additionally, we have controls where from a UX perspective it only makes sense to open a date picker instead of a text input.
Keyboard accessibility for the picker is a must-have, and text inputs don't fill every scenario.

In the latest release, tabbing now moves between controls, though the Enter key is not captured in the datepicker, only pressing Space. Is that expected?

I would expect both Enter and Space, when focused in the input, to open the dialog.


Add linux doctor implementation

Reland https://github.com/flutter/flutter/pull/31873

We'd need to check for them on the path and then execute with --version to check that. This combines that into a single call, which nicely simplifies the code


MockClassLoader.getResources loads twice same file

From ande.brb on January 29, 2013 12:52:26
What steps will reproduce the problem? 1. Execute attached file. What is the expected output? What do you see instead? 1. Only one resource found. What version of the product are you using? On what operating system? powermock-mockito-1.5-full, Win7 x64. Please provide any additional information below. The method getResources, inherited from ClassLoader, delegates the search of resources to parent ClassLoader and then try to find it in his own ClassLoader. This way, the resource is found in the parent ClassLoader when the behaviour of MockClassLoader should delegate this function to the wrapped ClassLoader, which could be the same parent, causing to load the file twice.
Attachment: ClassLoaderBug.java
Original issue: http://code.google.com/p/powermock/issues/detail?id=426

From<EMAIL_ADDRESS>on February 02, 2013 03:06:36
Thanks for reporting. Could you please help out and provide a patch for this?

From<EMAIL_ADDRESS>on February 20, 2014 05:00:13
I found this after posting on StackOverflow: http://stackoverflow.com/questions/21885178/mixing-powermock-with-weld/21902645#21902645 Attached is a patch that fixes it.
Attachment: issue426.patch

From<EMAIL_ADDRESS>on February 20, 2014 22:32:48
Thanks, I've committed it to trunk now.
Status: Fixed


[bazel,otbn] Add otbn_test rule for OTBN simulator tests.

Resolves #11606
Related to discussion here: https://github.com/lowRISC/opentitan/pull/11597#discussion_r832398664
While OTBN code can be embedded into Ibex code and run as an opentitan_functest, it's often faster and more convenient to run quick sanity-checks on the OTBN simulator, directly on the host machine. This creates a Bazel test rule to run the simulator tests.
Now, instead of finding the generated .elf file for an OTBN test, manually invoking the simulator locally, and checking the register dump with my eyes, I can just run bazel test and get the result.
The rule has not been applied to any existing simulator tests because it expects the convention that w0 = 0 if the test passed. I followed that convention in https://github.com/lowRISC/opentitan/pull/11778 and tested out the rule on the test from that PR.

Can you run:
./bazelisk.sh run buildifier_fix
to clean up the linting error?

Can you run: $REPO_TOP/bazelisk.sh run //:buildifier_fix to clean up the linting error?

Done! There's no baselisk.sh that I could find, but bazel run //:buildifier fix seemed to work.


A lot of ".tmp" folders appear in Prometheus storage

Bug Report
What did you do?
Ran Prometheus and keep it running for several days
What did you expect to see?
In storage folder, all chunks are well-compacted, disk usage increasing steadily
What did you see instead? Under which circumstances?
A lot of ".tmp" folders appear in storage folder, which means compaction failure
# ls -ltr | tail -15
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:25 01D8JY9NTMZHWVS7JY391T8Y86.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:26 01D8JYBGGDNBY5B3RWY8KWS7K0.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:27 01D8JYDB3GP8RM74Q3GGKHYJAK.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:28 01D8JYF5PMJS0N8VX5ZDF2SAMX.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:29 01D8JYH09R4PMN2DGA5W2V083X.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:30 01D8JYJTWWJZJ1K37J3QHP2GTA.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:31 01D8JYMNHB7EZ187RWWTCMW6CX.tmp
drwxr-xr-x. 3 ddeadmin dde 4096 Apr 16 12:32 01D8JYPG4KZ8DW1QA83X1ZF4T3.tmp
Environment
Non-container environment

System information:
Linux 3.10.0-862.14.4.el7.x86_64 x86_64
Prometheus version:
v2.3.1
Alertmanager version:
N/A
Prometheus configuration file:
N/A
Alertmanager configuration file:
N/A
Logs:
N/A

I've noticed similar issues has been reported like

https://github.com/prometheus/prometheus/issues/5683
https://github.com/prometheus/prometheus/issues/4108
https://github.com/prometheus/prometheus/issues/3190

Those .tmp folders will soon eat up disk space. I checked some web pages and know these folders are there because of Prometheus compaction failure.
Could you please let me know,

Is this a known issue of Prometheus? If so, is there already a fix in latest Prometheus versions, or is there a plan to fix this?
If there is no fix currently, how can we avoid such case?

I've searched some ways, but don't know what the silver bullet is.

Avoid Prometheus from being killed during a compaction
Increase memory / storage disk space
Give short compaction intervals like "storage.tsdb.min-block-duration=30m" and "storage.tsdb.max-block-duration=1d"

Thanks in advance for your kindly suggestions.

@zhanglijingisme I would suggest having at least 2x the disk space of what Prometheus is using while compaction is not happening. Also, the .tmp directories should have been removed if the Prometheus was still running after the compaction failure, was it killed instead?
I am closing this as this is a dupe of #5683, can you post your logs in #5683 when the compaction faliure happened?

@zhanglijingisme I would suggest having at least 2x the disk space of what Prometheus is using while compaction is not happening. Also, the .tmp directories should have been removed if the Prometheus was still running after the compaction failure, was it killed instead?
I am closing this as this is a dupe of #5683, can you post your logs in #5683 when the compaction faliure happened?

Unfortunately .tmp is not removed and it's filling whole storage folder. There are hundreds of ".tmp" folders in storage folder and keep generating per minute. Prometheus is not killed - though I think it's not working well.
So can I get this conclusion - that currently no code fix has been done to avoid such case?

I am not sure what is causing it, because on compaction error we delete the .tmp directories. Can you share the logs?

@codesome Unfortunately I cannot provide log at this time. It used to happen on our labs for several times, but not now. We are searching a way to solve (at least, avoid) this annoying issue.

Will compaction failure in v2.3.1 delete ".tmp" folders?
Do you have any suggestion about how to avoid this? Following is my conclusion,

Avoid Prometheus from being killed during a compaction
Increase memory / storage disk space
Give short compaction intervals like "storage.tsdb.min-block-duration=30m" and "storage.tsdb.max-block-duration=1d"

2.3.1 is very old, I would suggest you to upgrade to the latest version as there have been changes/improvements in compactions. And without the logs, I can only suggest having more disk space and avoid getting Prometheus killed during compaction (if it does get killed, it is safe to delete the .tmp directories and restart Prometheus).