archive stats should include index information

Follow on from https://github.com/brimsec/zq/issues/989 : The archive stats information should include information about the non-custom indexes (type or field indexes). There should be a record for each index file, and it should include a field that has the log id the index covers.

Verified in zq commit cdb8ca6.
After creating the type, field, and custom indexes following the steps in the zar README, now a zar stat includes the additional "index" lines.
$ zar stat
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521912990.158766.zng<PHONE_NUMBER>.331503<PHONE_NUMBER>01 25483642
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521912990.158766.zng custom   zql        4731 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE  KEYS.KEY
index 20180324/1521912990.158766.zng zdx-field-uri field      29842 bstring
index 20180324/1521912990.158766.zng zdx-type-ip   type       22936 ip
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521912792.328806.zng<PHONE_NUMBER>.366782<PHONE_NUMBER>01 25478311
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521912792.328806.zng custom   zql        5947 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE  KEYS.KEY
index 20180324/1521912792.328806.zng zdx-field-uri field      52462 bstring
index 20180324/1521912792.328806.zng zdx-type-ip   type       10827 ip
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521912549.366398.zng<PHONE_NUMBER>.728195<PHONE_NUMBER>01 25499352
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE  KEYS.ID
index 20180324/1521912549.366398.zng custom   zql        10319 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE  KEYS.KEY
index 20180324/1521912549.366398.zng zdx-field-uri field      41855 bstring
index 20180324/1521912549.366398.zng zdx-type-ip   type       79054 ip
TYPE  LOG_ID                        START             DURATION      SIZE
chunk 20180324/1521912335.72784.zng<PHONE_NUMBER>.519494<PHONE_NUMBER>01 25453122
TYPE  LOG_ID                        INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521912335.72784.zng custom   zql        6499 record[orig_h:ip]
TYPE  LOG_ID                        INDEX_ID      INDEX_TYPE SIZE   KEYS.KEY
index 20180324/1521912335.72784.zng zdx-field-uri field      118613 bstring
index 20180324/1521912335.72784.zng zdx-type-ip   type       16843  ip
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521912152.518493.zng<PHONE_NUMBER>.778000<PHONE_NUMBER>01 25483926
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521912152.518493.zng custom   zql        6178 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE  KEYS.KEY
index 20180324/1521912152.518493.zng zdx-field-uri field      56967 bstring
index 20180324/1521912152.518493.zng zdx-type-ip   type       6458  ip
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521911975.777469.zng<PHONE_NUMBER>.543641<PHONE_NUMBER>01 25476221
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521911975.777469.zng custom   zql        6211 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE  KEYS.KEY
index 20180324/1521911975.777469.zng zdx-field-uri field      70613 bstring
index 20180324/1521911975.777469.zng zdx-type-ip   type       10926 ip
TYPE  LOG_ID                         START             DURATION      SIZE
chunk 20180324/1521911841.543641.zng<PHONE_NUMBER>.600725<PHONE_NUMBER>01 23094074
TYPE  LOG_ID                         INDEX_ID INDEX_TYPE SIZE KEYS.ID
index 20180324/1521911841.543641.zng custom   zql        7598 record[orig_h:ip]
TYPE  LOG_ID                         INDEX_ID      INDEX_TYPE SIZE   KEYS.KEY
index 20180324/1521911841.543641.zng zdx-field-uri field      135230 bstring
index 20180324/1521911841.543641.zng zdx-type-ip   type       32417  ip

The same data is available in the /space/{spaceid}/archivestat endpoint. After creating the archive just shown, I started up Brim commit b246e7f, which starts a zqd at commit cdb8ca6. I created an archive Space pointing at my $ZAR_ROOT, grabbed the Space id, and put that into a curl command to hit the endpoint and could see the index values there.
$ zapi new -k archivestore -d $ZAR_ROOT statsdemo
statsdemo: space created

$ zapi ls -l
statsdemo
  id:           sp_1f46y87nfn73vluQ50WCioKKUPJ
  name:         statsdemo
  data_path:    /Users/phil/logs
  storage_kind: archivestore
  span:         2018-03-24T17:15:20Z+21m9.558041001s
  size:         176.0MB
  pcap_support: false
  pcap_size:    0B
  pcap_path:
  parent_id:

$ curl "http://localhost:9867/space/sp_1f46y87nfn73vluQ50WCioKKUPJ/archivestat?format=ndjson"
{"type":"TaskStart","task_id":0}

{"type":"SearchRecords","channel_id":0,"records":[{"id":23,"type":[{"name":"type","type":"string"},{"name":"log_id","type":"string"},{"name":"start","type":"time"},{"name":"duration","type":"duration"},{"name":"size","type":"uint64"}],"values":["chunk","20180324/1521912990.158766.zng","1521912792.331503","197.827263001","25483642"]},{"id":25,"type":[{"name":"type","type":"string"},{"name":"log_id","type":"string"},{"name":"index_id","type":"string"},{"name":"index_type","type":"string"},{"name":"size","type":"uint64"},{"name":"keys","type":[{"name":"id","type":"string"}]}],"values":["index","20180324/1521912990.158766.zng","custom","zql","4731",["record[orig_h:ip]"]]},{"id":27,"type":[{"name":"type","type":"string"},{"name":"log_id","type":"string"},{"name":"index_id","type":"string"},{"name":"index_type","type":"string"},{"name":"size","type":"uint64"},{"name":"keys","type":[{"name":"key","type":"string"}]}],"values":["index","20180324/1521912990.158766.zng","zdx-field-uri","field","29842",["bstring"]]},{"id":27,"values":["index","20180324/1521912990.158766.zng","zdx-type-ip","type","22936",["ip"]]},{"id":23,"values":["chunk","20180324/1521912792.328806.zng","1521912549.366782","242.962024001","25478311"]},{"id":25,"values":["index","20180324/1521912792.328806.zng","custom","zql","5947",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521912792.328806.zng","zdx-field-uri","field","52462",["bstring"]]},{"id":27,"values":["index","20180324/1521912792.328806.zng","zdx-type-ip","type","10827",["ip"]]},{"id":23,"values":["chunk","20180324/1521912549.366398.zng","1521912335.728195","213.638203001","25499352"]},{"id":25,"values":["index","20180324/1521912549.366398.zng","custom","zql","10319",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521912549.366398.zng","zdx-field-uri","field","41855",["bstring"]]},{"id":27,"values":["index","20180324/1521912549.366398.zng","zdx-type-ip","type","79054",["ip"]]},{"id":23,"values":["chunk","20180324/1521912335.72784.zng","1521912152.519494","183.208346001","25453122"]},{"id":25,"values":["index","20180324/1521912335.72784.zng","custom","zql","6499",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521912335.72784.zng","zdx-field-uri","field","118613",["bstring"]]},{"id":27,"values":["index","20180324/1521912335.72784.zng","zdx-type-ip","type","16843",["ip"]]},{"id":23,"values":["chunk","20180324/1521912152.518493.zng","1521911975.778","176.740493001","25483926"]},{"id":25,"values":["index","20180324/1521912152.518493.zng","custom","zql","6178",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521912152.518493.zng","zdx-field-uri","field","56967",["bstring"]]},{"id":27,"values":["index","20180324/1521912152.518493.zng","zdx-type-ip","type","6458",["ip"]]},{"id":23,"values":["chunk","20180324/1521911975.777469.zng","1521911841.543641","134.233828001","25476221"]},{"id":25,"values":["index","20180324/1521911975.777469.zng","custom","zql","6211",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521911975.777469.zng","zdx-field-uri","field","70613",["bstring"]]},{"id":27,"values":["index","20180324/1521911975.777469.zng","zdx-type-ip","type","10926",["ip"]]},{"id":23,"values":["chunk","20180324/1521911841.543641.zng","1521911720.600725","120.942916001","23094074"]},{"id":25,"values":["index","20180324/1521911841.543641.zng","custom","zql","7598",["record[orig_h:ip]"]]},{"id":27,"values":["index","20180324/1521911841.543641.zng","zdx-field-uri","field","135230",["bstring"]]},{"id":27,"values":["index","20180324/1521911841.543641.zng","zdx-type-ip","type","32417",["ip"]]}]}

{"type":"TaskEnd","task_id":0}

Thanks @alfred-landrum!


imu/bmi088: accel limit temperature updates

Driver rewritten in https://github.com/PX4/Firmware/pull/14999.


Log: the second page does not open

An error occurs when trying to open the second page of the log:

Should be fixed


There is a small detail, if you could add to it that would be great.

Hello again Julianty 💙, I wanted to ask you one last thing, I hope it's not too much trouble haha (if you won't make any more updates, no problem 🙁). You could also add an option in the equals coords mode so that the avatar follows the furni, the same as before (so we could select if we want it to move to a specific point or if we want it to move directly to the furni), with that it would be complete and I won't ask you for anything else, please 🙏🏻.

https://github.com/Julianty123/GFallingFurni/assets/22751572/1f9d8e77-23d0-4955-8e2a-4502060e8865
Sure but wait, it would be like this? it would only apply one coordinate for a single furni,

Exact! like this 🤩 but when putting a furni in any of the selected coordinates, the avatar follows the furni. You could do that? The point is that I plan to use it when I have to do a painting with another person, so I would select all the coordinates in the middle 🤣😂. So if they try to troll me and put banzais or furnis elsewhere, my avatar wouldn't move hehe, and when they put the furni alone in any of those coordinates, the avatar will follow the furni ;)

Ummm I don't know brother, I think that would solve with the new idea I have (create a table to organize the information) 🤔 I'll see what I can do :)

OMG😲, thank you so much brother🙏🏻, if you could solve that, that would be great😱💙


Remove paragraph about WebSecurityConfigurerAdapter

We no longer use WebSecurityConfigurerAdapter, so the paragraph about it can be removed.
This is a good one for someone who wants to get started contributing to Spring.

Hi @Buzzardo I have submitted the modification, please feel free to correct me if there are any questions. #49


Custom Docker Root dir

https://github.com/fentas/docker-volume-davfs/blob/f927bf30c25505a9ca5996ce1029468d76a58c1e/config.json#L39 assumes that the Docker Root directory is kept default. Mine is moved to an external disk for space reasons, so the volume does not work.
Can this be solved?

Heho, hm not sure.
Maybe a merge of upstream will resolve it (also overdue).
Besides of this PR is welcome : )


Add spclient.wg.spotify.com

Add spclient.wg.spotify.com to Windows Family and Home

#sign-off

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


refactor(behavior_path_planner): unify rtc_interface instance

Description

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I recreated the PR.
https://github.com/autowarefoundation/autoware.universe/pull/3242


Build a script that automates sending emails with custom content

Hey! i would like to work on this. Can this be assigned to me?

Hey! I have made the changes and raised PR for the same.
AutomaticEmail #134 - https://github.com/Swapnil-Singh-99/PythonScriptsHub/pull/134


AVIF image support

Is your proposal related to a problem?

AVIF has landed, create-react-app currently cannot load it.
Here is a good article about AVIF format image: https://jakearchibald.com/2020/avif-has-landed/
UPDATE: It does support AVIF, only AVIF typing is missing.
Describe the solution you'd like

It would be great to support AVIF format image.
Describe alternatives you've considered

N/A
Additional context

I found these two pull requests to add WebP support in history to see if I can help:

https://github.com/facebook/create-react-app/pull/458
https://github.com/facebook/create-react-app/pull/5978

But seems the structure of the create-react-app has huge changes during last a few years. When I search webp, I only found the type related file, and created the pull request for AVIF at https://github.com/facebook/create-react-app/pull/9611.
So still need actual AVIF support.

Hmm, further check, it does support AVIF, only AVIF typing is missing. The pull request is at https://github.com/facebook/create-react-app/pull/9611

Ouch... I've upgraded to react-scripts@4 and my inline (small, base64'd) images became avif's 😱
(most likely it's because I have a messy unmaintainable config, and it's my fault, just shouting out in case someone else is surprised)


Linux support?!?

Is there a way to compile this to run natively on linux, running on wine crashes and using a virtual machine is too inconvenient and slow.

I published a linux port at https://github.com/nagadomi/waifu2x-caffe-ubuntu
but it does not support GUI.

Ive been trying to compile on arch for a while now, Its a hard task but im going to keep at it. Ill close this and ask for help if needed over on your fork. Thanks for the port! @nagadomi

google "install caffe" might help.
Note that waifu2x-caffe requires the modified version of caffe by lltcggie (https://github.com/lltcggie/caffe). I also provide ubuntu port of that (https://github.com/nagadomi/caffe).

Ive been trying to compile on arch for a while now, Its a hard task but im going to keep at it. Ill close this and ask for help if needed over on your fork.

If you managed to do this, I will be grateful if you make an instruction or a package in aur


ServiceLB does not get traffic to pod on external ip node

Environmental Info:
K3s Version:
k3s version v1.25.7+k3s1 (f7c20e23)
go version go1.19.6
Node(s) CPU architecture, OS, and Version:
Linux k3s-master 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Cluster Configuration:
Proxmox Hosts
1 server, 2 agents (one of those agents is at a remote location, external-ip set up)
Describe the bug:
I have a timeout when I have a service of type LoadBalancer that exposes a hello world pod, deploys it on a remote node (not same local network, but external ip declared).
Steps To Reproduce:

Installed K3s server with external-ip declared
Installed K3s agent on node1
Installed K3s agent on remote-node1 with external-ip declared (and external ip of server)

Expected and actual behavior:
When declaring external ip on a node, it seemed to me that ServiceLB would use external-ip for getting traffic to the desired pod. I have the pod running on the node on the remote location, but get a timeout when ping the NodePort on master ip.
If the pod is running on one of the two other nodes (same local network) it works, but not on the remote one.
Additional context / logs:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello-k8s-app-001
  namespace: hello-kubernetes
  labels:
    app.kubernetes.io/instance: hello-k8s-app-001
    app.kubernetes.io/name: hello-k8s-app-001
spec:
  selector:
    matchLabels:
      app: hello-k8s-app-001
  replicas: 3
  template:
    metadata:
      labels:
        app: hello-k8s-app-001
    spec:
      containers:
      - name: hello-kubernetes
        image: paulbouwer/hello-kubernetes:1.10
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        env:
        - name: KUBERNETES_NODE_NAME
          valueFrom:
            fieldRef:
              fieldPath: spec.nodeName
        - name: KUBERNETES_POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: KUBERNETES_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace

---

apiVersion: v1
kind: Service
metadata:
  name: hello-k8s-app-001-svc
  namespace: hello-kubernetes
spec:
  selector:
    app: hello-k8s-app-001
  type: LoadBalancer
  ports:
  - name: http
    #nodePort: 32710
    port: 8080
    protocol: TCP
    targetPort: http

Thanks a lot for any help.
I think I am misunderstanding something network related.
Could not find any logs or information in journal of agent or server. Or traefik / coredns pods.

I have the pod running on the node on the remote location, but get a timeout when ping the NodePort on master ip. If the pod is running on one of the two other nodes (same local network) it works

It sounds like pod to pod or service to pod traffic is not working for the remote node. What flannel backend are you using? Note the default vxlan is only meant for use across secure local networks; it is unencrypted and unauthenticated and will probably not work across the internet.

Thanks for your reply, the sentence I was missing and did not get from documentation was : Note the default vxlan is only meant for use across secure local networks; it is unencrypted, unauthenticated, and will probably not work across the internet.
What would you suggest if I wanted to join to the cluster a node that is only accessible by its external_ip ? What I mean is that I have no network (VPN) setup making this remote node available on local network.
Is there any option that does not include creating a VPN network in which all my nodes can talk to each other ?
Should I use the WireGuard Flannel backend () or does this only take care about encryption of communication between nodes and does not allow a remote node to join a local network ?
Thanks again (a lot) for your reply and for any input, kinda lost.

Please feel free to continue this as a discussion :) At this time there's not a clear bug.


Range Selection do not show day on 2 dates selected

In the demo when you select 1 date it displays the default locale 'ddd, MMM Do' and when selecting a second date it shows 'MMM Do' for the two.
It doesn't seem to be the case for me though.
If I don't set the locale prop it displays the default 'ddd, MMM Do' regardless of whether 1 or 2 dates are selected and causes it to overlap.
How would I customize that display?
I know I can adjust the width to be longer but, I want to stick with the default 400px and have it change accordingly.

Unless you explicitly set the locale.headerFormat value, it will default to  'MMM Do'
See https://github.com/clauderic/react-infinite-calendar/blob/master/src/Header/withRange.js#L15
This is a design constraint, there's really no way around this unless you reduce the font size.


[Windows] Fix signature for AzureCosmosDbEmulator

Description
The cosmosb-emulator is using the new Microsoft signature, this PR is updating it.
Related issue:
#9134
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

It was pulled in as a part of pwsh version change here but thanks for the submission in anyway, always nice to see others following changes as well as we do :)


(Android) Error showing native stack trace instead of Flutter stack trace

AppCenter in Diagnostics > Issues is showing native stack trace for errors instead of Flutter stack trace.
This issue makes the stack trace irrelevant, because it always will show the plugin's method as the origin of the exception.
Expected:
_MyHomePageState._trackError main.dart:117
_InkResponseState.handleTap ink_well.dart:1072
GestureRecognizer.invokeCallback recognizer.dart:253
TapGestureRecognizer.handleTapUp tap.dart:627
BaseTapGestureRecognizer._checkUp tap.dart:306
BaseTapGestureRecognizer.acceptGesture tap.dart:276
...

Result:
dev.eronildo.app_center.AppCenterPlugin.onMethodCall AppCenterPlugin.kt:45
io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage MethodChannel.java:262
io.flutter.embedding.engine.dart.DartMessenger.invokeHandler DartMessenger.java:178
io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger DartMessenger.java:206
io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run
...

(This issue will also affect stack trace exhibition for iOS, but to separate things I created this issue just for Android)

Fixed in #2.


Data Privacy

Does Tabula have a data privacy policy or an NDA regarding use of data uploaded to be extracted? Looking for further detail and clarity on the treatment of data, particularly in the event of uploading PDFs that contain confidential or sensitive data (i.e. business terms). Please advise. Thank you!

The README.md includes a section about security concerns. Data is never leaving your network, its only "uploading" to the localhost.


feat: ui theme rework

Description

removed TailwindCSS dependency
updated design to align with the provided reference design
added new scripts for running customer and supplier frontends

resolves #701
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files
[ ] If helm chart has been changed, the chart version has been bumped to either next major, minor or patch level (compared to released chart).

@ReneSchroederLJ I've used the dashtool version 1.1.0 now and was finally able to query clearlydefined.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO
[main] INFO npm/npmjs/-/i18next/24.0.5
[main] INFO
[main] INFO This content is either not correctly mapped by the system, or requires review.
[main] INFO A review is required for npm/npmjs/-/i18next/24.0.5.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/18015 .


Make CEFParser available as a pipeline function

It would be cool to also have the CEFParser available as a parseCEF() kinda function for our processing pipelines.

Supported since v1.2.0


Review if it's possible to use Docker for script execution

Overview
Can be used as a secure (but slower) mode

Hi @roll!
I think having the ability to run Livemark in Docker would be a good thing, so that you don't have to worry about conflicting Python versions or potential dependency conflicts with other Python packages. It is also easier to deploy into a Kubernetes infrastructure, where you end up having to build a Docker image anyway.
Having it in Docker also makes it easier for other people who are not used handling pip and the Python ecosystem.
In order for Livemark to be considered as an alternative to other site and documentation tools like Jekyll, Docusaurus and many others, having an official image in Docker Hub would also allow people to run Livemark with a single docker command, which would pull and then run Livemark. Something like
docker run --rm --volume="$PWD:/usr/livemark" -it frictionless/livemark livemark --version

So I think it would be quite useful. Maybe consider reopening #43 ?


[3.1.2] Understanding Software Quality Requirements

Issue Details
Description
This tasks is to understand Software Quality Requirements in general.
Goals
Understand Software Quality Requirements.
Success or Completion Criteria
Some helpful links or comments that would help the team to understand more on Software Quality Requirements
Allocated Time
4 Days
Start Date: 30/10/2023, 0900
End Date: 2/11/2023, 2359

Issue Comments
Description
Researched about the ISO/IEC 25010:2011 Software Quality Model for the Software Quality Requirement.
Software Quality Requirement
Changes to success or completion criteria? y/n (if y, describe)
No changes, Task completed successfully.
Start Date: 30/10/23, 0900
End Date: 02/11/23, 2359


The location of emptyOptionLabel is optional

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Currently, the value of this option is first, but sometimes users want it to be last
Examples 🌈
No response

any PR is welcome

You can make a workaround using native MUI API. Just include option { id: '', label: 'yourEmptyLabel' } in options prop and you can have it at any location (see sandbox). Which makes me wonder if the emptyOptionLabel prop is really needed if you can make the same thing with native MUI API that is more flexible. What do you think @dohomi?


value and defaultValue props

No value and defaultValue props in component, how can i use with northstar textArea component

The issue is so vague that I don't understand the question

There is typescript error in the module and and creates this "default text area props cannot be given" problem
this code not run bec TS error for value props
<TextareaAutosize   value={this.state.sharedNoteText}   className='text-area-auto-size'   cacheMeasurements   onHeightChange={(sharedNoteHeight) => this.setState({sharedNoteHeight})}  />
I used to have compulsory @ts-ignore
<TextareaAutosize   //@ts-ignore   value={this.state.sharedNoteText}   className='text-area-auto-size'   cacheMeasurements   onHeightChange={(sharedNoteHeight) => this.setState({sharedNoteHeight})}  />

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.

I apologize for my inexperience, i am fixed and here is example for react-textarea-autosize with fluentui/northstar
https://codesandbox.io/s/sleepy-easley-mt0ef?file=/src/App.js

I still don't know what the issue is/was. This codesandbox doesn't use TS at all - and from what I got your issue was about TS.

i am sorry there is no issue ts implementation btw;
https://codesandbox.io/s/recursing-hermann-17jf4?file=/src/App.tsx


Replace Travis CI with GitHub Actions

Closes #3.

If you push ci.yml to master I can rebase and we can see the tests unfold before the merge. It might be safer.

If you push ci.yml to master I can rebase and we can see the tests unfold before the merge. It might be safer.

620d21d + c1edae8

620d21d + c1edae8

Thanks a lot :+1:

Thanks a lot :+1:


add Camera settings

inspired from this awesome library https://github.com/free5lot/Camera_Net

@ldlac Thanks for the PR! 😄
I haven't checked the commits yet, but is this implemented to display the DS properties page?
For example, can you have it enumerate a group of DS properties programatically and have it set?
When I looked into this before, I had delved into the possibility of doing something like that. For example:.

Information like public IReadOnlyDictionary<string, Type> device.Properties {get;} could be exposed to FlashCap users.
The user can look at the above dictionary and set the value of the property with device.SetPropertyValue(string name, object? value).

(Whether Type is appropriate or not may require a little more thought.)
If this can be done, not only can the user define their own configuration dialog, but also multi-platform support is possible (e.g., the V4L2 API may also provide the ability to expose and set property values).
Of course, there can and should also be a method to display native property pages (in a platform-specific manner), as in this case. Because there are some poorly implemented DS capture device drivers that do not provide a dictionary of property values and only expose their own property pages.

Thanks for your feedback @kekyo !
My current implementation is surely not ready for FlashCap, I've only implemented it for DS.
I needed to change the Video Standard of a Video Capture USB
I love the idea to expose the properties and be able to display/set them in the proprietary app instead of showing the basic native window.
I'm not sure I'll be able to code this solution thought.

I've also implemented the support of crossbar filter, is this something you want to add to FlashCap?
With the possibility of showing up the property page (ugly native)

とりあえずその実装を追加してみて下さい（できれば、今の実装を一旦問題ない状態に仕上げて、コミットを分けてもらえるとレビューしやすいのでお願いします）。
恐らくは、FlashCapのAPIにフィットするように、追加の作業が必要だと思いますが、それはこちらでやります（一旦マージしてから手を加えるか、そのままこのブランチで手を加えるかは考えます）。
PRのブランチ元をdevelopに変更してもらえると助かります！

@ldlac Request when available for review (no rush, go at your own pace)


Could Openpai use nvidia driver higher than 410?

In the current version, openpai only provide driver 410 version, how can i use driver version higher than that? thanks.

We haven't tested many driver versions but it may work likely.
You can modify the driver version in service configuration, then rebuild images by your own.


AttributeError: module 'asyncio' has no attribute 'get_running_loop'

When attempting to run I got the following error
$ python3 NeewerLite-Python.py
---------------------------------------------------------
             NeewerLite-Python ver. 0.13
                 by Zach Glenwright
  > https://github.com/taburineagle/NeewerLite-Python <
---------------------------------------------------------
Traceback (most recent call last):
  File "NeewerLite-Python.py", line 3338, in <module>
    setUpAsyncio() # set up the asyncio loop
  File "NeewerLite-Python.py", line 1582, in setUpAsyncio
    asyncioEventLoop = asyncio.get_running_loop()
AttributeError: module 'asyncio' has no attribute 'get_running_loop'

It seams from another project/bug, that Syncio had a change:
https://github.com/dask/distributed/issues/3381
Seems that get_running_loop was added in 3.7: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_running_loop
And I am running (xubuntu) with:
$ python3
Python 3.6.9 (default, Mar 10 2023, 16:46:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()

Following the bug I was able to (hackily) patch Neewer to work with:
$ git diff
diff --git a/NeewerLite-Python.py b/NeewerLite-Python.py
index 22a29ea..339ebcd 100644
--- a/NeewerLite-Python.py
+++ b/NeewerLite-Python.py
@@ -28,6 +28,11 @@ import time

 from datetime import datetime

+if sys.version_info[:2] >= (3, 7):
+    from asyncio import get_running_loop
+else:
+    from asyncio import _get_running_loop as get_running_loop
+
 # IMPORT BLEAK (this is the library that allows the program to communicate with the lights) - THIS IS NECESSARY!
 try:
     from bleak import BleakScanner, BleakClient
@@ -1579,7 +1584,7 @@ def setUpAsyncio():
     global asyncioEventLoop

     try:
-        asyncioEventLoop = asyncio.get_running_loop()
+        asyncioEventLoop = get_running_loop()
     except RuntimeError:
         asyncioEventLoop = asyncio.new_event_loop()

Maybe this could for the basis of a proper/clean fix. Thanks.

Thanks for writing @mungewell - ahh, I thought I had fixed that problem a few versions back, but I use a different version of Python/asyncio, so it's good to know about that.  I'll check into that!

Maybe I was a bit premature in saying that it's working, it gets further but it complains that a process is already running.
If I force "new_event_loop()" instead, it scans for Lights (on CLI - I don't particularly want to install QT). I'm still waiting for lights to ship to me, so will report again when they arrive.

Hmm, when you say another process, do you mean the "Another instance of NeewerLite-Python is running" message shows, or asyncio complains about another event process running?

Yes, it was reporting that another process is already running.... however I changed my patch to
diff --git a/NeewerLite-Python.py b/NeewerLite-Python.py
index 22a29ea..0bc5eaf 100644
--- a/NeewerLite-Python.py
+++ b/NeewerLite-Python.py
@@ -1582,6 +1582,8 @@ def setUpAsyncio():
         asyncioEventLoop = asyncio.get_running_loop()
     except RuntimeError:
         asyncioEventLoop = asyncio.new_event_loop()
+    except AttributeError:
+        asyncioEventLoop = asyncio.new_event_loop()

     asyncio.set_event_loop(asyncioEventLoop)

and it seems to be working OK. I can --list and control my light(s).
$ python3 NeewerLite-Python.py --cli --light='F2:F6:67:12:35:1B' --off
---------------------------------------------------------
             NeewerLite-Python ver. 0.13
                 by Zach Glenwright
  > https://github.com/taburineagle/NeewerLite-Python <
---------------------------------------------------------
[19:44:00] - Starting program with command-line arguments
[19:44:00] -  > Launch GUI: False
[19:44:00] -  > Show Debug Strings on Console: True
[19:44:00] -  > Mode: OFF
[19:44:00] - -------------------------------------------------------------------------------------
[19:44:00] -  > CLI >> MAC Address of light to send command to: F2:F6:67:12:35:1B
[19:44:00] -  > CLI >> Bytestring to send to light: 0x78 0x81 0x1 0x2 0xfc
[19:44:00] - -------------------------------------------------------------------------------------
[19:44:00] -  > CLI >> Attempting to connect to light (attempt 1 of 6)
[19:44:00] - -------------------------------------------------------------------------------------
[19:44:00] - Attempting to link to light [NEEWER-RGB176] MAC Address: F2:F6:67:12:35:1B (Attempt 1 of 6)
[19:44:02] - Successful link on light [NEEWER-RGB176] MAC Address: F2:F6:67:12:35:1B
[19:44:02] - -------------------------------------------------------------------------------------
[19:44:02] -  > CLI >> Attempting to write to light (attempt 1 of 6)
[19:44:02] - -------------------------------------------------------------------------------------
[19:44:02] - Going into send mode
[19:44:02] - -------------------------------------------------------------------------------------
[19:44:02] -  > CLI >> Attempting to disconnect from light (attempt 1 of 6)
[19:44:02] - -------------------------------------------------------------------------------------
[19:44:04] - Successfully unlinked from light 1 [NEEWER-RGB176] MAC Address: F2:F6:67:12:35:1B


Avoid inter-component blocking if ingestion/scraping blocks

Appending to the storage can block for a long time. Timing out
scrapes can also cause longer blocks.
Also the Target interface was removed. Methods created specifically to modify
output for the templates were moved to the templates.

:+1: otherwise... I think.

Done. Running an over-night test with it first, though.

Nothing unexpected happened. Merging.


New version: vim.vim.nightly version 9.1.0905

Pull request has been created with WinGet Releaser :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


Horn don't work on non-emergency vehicles

Allow to use horn on civilian vehicles

yes, same thing for me!

Fixed in https://github.com/BerkieBb/pma-sirensync/commit/8fb929af0479b24d79b837ba7b3bd9f64075d4fd


[BUG] Plugin Configurator button missing in the settings panel

Description
Can't find PluginConfigurator on the menu.
Reproduction
How to reproduce the bug (if the steps are known, else give as many information as possible which could help)

Step 1: really, I don't know. Probably related to one of the mods I have.

Installed plugins

Plugin Configurator
FasterPunch
Jaket
Masquerade Divinity
Anywheres Whippable
Angry Level Loader

Extra
N/A

hell i forgot to add the bug in the title

Please provide information about the version of the plugins, as well as the console log (any red lines, expanded) from F8

Plugin Configurator - 1.8.4
FasterPunch - 1.0.2
Jaket 1.0.1
Masquerade Divinity - 0.0.3
Anywheres Whippable - 1.0.0
Angry Level Loader - 2.7.3
Couldn't find anything in the console log, but..

It definitely is an older version, as the error message can only occur on very old versions of the configurator

I can confirm this happens on the newest version too.

Current plugins for reference:

This was happening before i installed any mod below CrashLibs

Attempted with no other plugins, and it seems to work, may be related to a mod

got same issue , tried previous versions , 1.8.4 works for me

got same issue , tried previous versions , 1.8.4 works for me

You are probably on an older version of ultrakill, very likely the CG update version as plugin configurator version 1.8.4 is the last update before the fixes related to the violence update.


Button 'Sync your GitHub projects' seems to have no effect

Hi,
I am trying to add a newly created github repo via https://readthedocs.org/dashboard/import/github. The new repo did not (yet) appear in the list, so I clicked the 'Sync your GitHub projects' button, but nothing seems to happen. Mac OX 10.10.5 Chrome, Firefox and Safari all have this problem.

This is a duplicate of #1670


Evaluate functionalities of TinyMCE's paste plugin for better user experience

Motivation

Right now we are using the paste plugin for our TinyMCE to remove all formatting to get rid of all weird styling and force the user to consider the styling within our content management system. However, we seem to be a little bit to strict in my opinion and make use of the configuration options that the plugin provide.
Proposed Solution

[ ] Investigate the options of the plugin
[ ] Have a meeting with the municipalities team and decide about the

Alternatives

Keep it as it is.
Additional Context

https://www.tiny.cloud/docs/plugins/opensource/paste/

We agreed to test the premium version of TinyMCE and check the PowerPaste plugin for word content.

@ulliholtgrave Do you know what there is to do in this issue or can we remove the question label? Secondly, what kind of assistance do you need? :)


More specific classification

As suggested by /u/thang1thang2, it'd be better to classify posts with more detailed groups, e.g. faq_language, faq_get_started, etc.

[ ] Retrain classifier with more specific labels
[ ] Add responses for the more specific labels in the responses dict.
[ ] Update gitbook

Linked to #8.


Concourse: video=true causes test to take forever to finish

I use cypress/included:9.2.0 in a concourse build.
If I run with video=true, the build quickly shows the passed tests, but not the summary report, and it does not start writing the video. The concourse job mostly never finishes (I had only one or two successes after concourse waited an hour or so).
After I disabled video, the summary report gets written immediately after the tests have finished and the concourse build concludes quickly.
I should mention that I am behind an enterprise proxy and have configured HTTP_PROXY and HTTPS_PROXY accordingly, so that cypress can visit my application which is deployed on the internet.
The expectation would be that writing the video works normally, as in a local execution.

@dschulten
You didn't receive any response to this issue which by now is quite old.
Due to issues with video generation, Cypress has moved away from this and now defaults to no video generation. See Migrating to Cypress 13.0.


[Languages]Getting started with Knapsack Problem Python

Topic Suggestion
Getting started with Knapsack Problem Python
Proposal Submission
Proposed article introduction
The Knapsack Problem Python is outlined in the following article. Both the problem and the solution are examined using the knapsack problem. We will be provided n items along with their weights and values in this problem. The goal is to select a set of weights that will fill the bag to its maximum capacity. The criteria is that the set we choose must have the most components compared to the other sets, and the overall weight must be less than or equal to the supplied weight. That means the weight must be as light as feasible yet the value must be as high as possible. When programmers must choose from non-divisible items, the Knapsack comes into play.The output will be an integer with the number of items we have chosen in the bag.
Key takeaways

Problem Approach
Constraints for Knapsack Problem
Solving the Knapsack Problem
Dynamic Programming
Brute Force
Greedy Method

Article quality
The article is intended to be precise and clear to the point, illustrated by codes making it more practical and interesting, to increase time spent on the page.
References
Please list links to any published content/research that you intend to use to support/guide this article
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for submitting your topic.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀 @EssyH


NR-37990 Dojo integration

Ticket URL: https://issues.newrelic.com/browse/NR-37990
Description: This PR has the new quickstart integration named "Dojo"
Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Are all documentation links publically accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

Screenshots
Attach images of any visual changes, such as a dashboard here.

Waiting for the docs URL.


Normalize behaviour between ShallowWrapper and ReactWrapper

Currently the behaviour between the function matchesElement differs when using shallow vs mount. The ReactWrapper returned by the mount function, requires you to call children before using the matchesElement:
const Test = () =>
test
;
const target =
test
;
const wrapper1 = shallow(<Test/>);
const wrapper2 = mount(<Test/>);

// Ok.
expect(wrapper1.matchesElement(target)).toBe(true);

// Fails.
expect(wrapper2.matchesElement(target)).toBe(true);

// Works but I am not sure it should work, I would expect it to return the h1's children "test".
expect(wrapper2.children().matchesElement(target)).toBe(true);

This is an intended difference for the time being. Currently, a shallow wrapper is the thing being rendered, whereas a mount wrapper is the component being wrapped itself.


Tooltip location issue when page size isn't full width

It seems like the tooltip location is determined by the distance from the right side of the window. It works great when the window is full width, however when you change the window size, the following bug occurs:

Also getting this issue

facing same issue, any news?


Button Colors

.btn {
		background-color: $jdrf-white;
		color: $jdrf-green;
		border-color: $jdrf-green;

Depending on the site's color theme, buttons could be blue, green, purple, orange, magenta.
Does it make sense to set the button colors in variables rather than declaring a specific color?

@pmmck @fuhton To clarify, are you asking if we can create different classes that can be applied aside from the standard .btn so the colors can be changed?

@RachelRVasquez different JDRF sites use different button colors.   For example, the JDRF One Walk website uses orange buttons.  The Ride website uses green buttons.
How can we setup our css so that a developer can easily set the:

Button color
Outline and Link button color

cc @fuhton

Let's update the documentation to include that 3-6 lines of CSS are required to modify interactive colors.
Let's provide a clear example of this in use and suggest that the user add the CSS block immediately after the DS inclusion in the head. It needs to be included in the following pages and directly spell out how to use it.

Downloads
Buttons
Colors

@fuhton PRs:
https://github.com/JDRF/design-system/pull/217
https://github.com/JDRF/design-system/pull/218

Merged. @pmmck Please review.

@fuhton this works.  I have some tweaks to the copy which I will do via a Pull Request.


⚠ Minecraft has degraded performance

In 6a5e59c, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1010 ms

Resolved: Minecraft performance has improved in 600efc9.


Develop

Pushing from develop to master. Updates Services Australia logo on design system homepage.

Deployment to staging is failing, however the build has succeeded. As an interim I will merge this change to master, bypassing the usual checks of success.


feat: Implement a bar chart to match latest design

Fixes #1102
Checklist

[x] Documented
[x] Component tested

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA


font fix

:white_check_mark: Build TimeHACK AppVeyor-225 completed (commit https://github.com/TimeHACKDevs/TimeHACK/commit/98afccbf63 by @lempamo)


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95797

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95957


Remove Distributions dep

Codecov Report

Merging #70 (8383596) into master (ab27a07) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   89.96%   89.96%
=======================================
  Files          20       20
  Lines        1286     1286
=======================================
  Hits         1157     1157
  Misses        129      129

Impacted Files
Coverage Δ

src/models/gauss_markov_model.jl
96.29% <ø> (ø)

src/util/gaussian.jl
74.28% <100.00%> (ø)

Continue to review full report at Codecov.

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


plumb name_transform internally in _convert module

Codecov Report
Attention: Patch coverage is 92.30769% with 2 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (name-transform@5ca93fb). Click here to learn what that means.

Files
Patch %
Lines

cyclopts/_convert.py
92.30%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                Coverage Diff                @@
##             name-transform     #148   +/-   ##
=================================================
  Coverage                  ?   96.05%
=================================================
  Files                     ?       16
  Lines                     ?     1798
  Branches                  ?      454
=================================================
  Hits                      ?     1727
  Misses                    ?       32
  Partials                  ?       39

Flag
Coverage Δ

unittests
95.88% <92.30%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


There is no documentation on what "executing a recipe as a script" means

In Writing Recipes in Other Languages, the documentation says

Recipes that start with a #! are executed as scripts, so you can write recipes in other languages

But it's not explained what "executing a recipe as a script" actually means. On Windows, if I have
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]

I'm not at all clear what I should expect would happen with a recipe starting with #!. It would be great if this could be documented.

Having just looked a bit further, I found Shebang Recipe Execution on Windows.
I'm not clear precisely what this is saying, but I think that it implies that the process is something like the following:

The recipe is saved to a temporary file.
The contents of the shebang line is inspected. If it contains a slash it's processed by cygpath (giving an error if cygpath isn't available), otherwise it's left unchanged.

The command is run.

This appears to explain most of the weird behaviour I've been seeing. The one case I'm not able to explain is if I have a shebang of #!py. With a recipe:
test_py:
    #!py
    print(12)

I get the error:
Unable to create process using 'C:\Users\Gustav\AppData\Local\Programs\Python\Python311\py" C:\Users\Gustav\AppData\Local\Temp\justZ2tJ9P\test_py': The system cannot find the file specified.

error: Recipe `test_py` failed with exit code 101

I can't tell if that error is coming from just or from the executed py command (py.exe interprets an initial shebang line in a file). But I do know that if I save the script as a file, and run it using py, that works perfectly - so I suspect there's something that just is doing which is causing the problem. But I can't tell what. Adding -v doesn't help, and I can't see a way of getting debug output from just.
I'm particularly confused about what is constructing the path C:\Users\Gustav\AppData\Local\Programs\Python\Python311\py. That directory is where my Python installation is located, but there's no py executable in there.
Interestingly, I get the same error if I try to run just -c py. Which suggests that just is somehow special-casing the command py?
I have a recollection of having had a similar discussion preiously, but I can't find any record of it on the tracker 🙁

Ah, I found the old discussion, it's #650. But while that discussion is about py, it suggests that using a #!py will cause an infinite recursion[^1]. While the error is better than that, would it not be even better to just omit the shebang line from the temporary file so the problem couldn't arise? And even if we ignore that, I still don't see any reason why just test_py should work differently from py <a file containing the recipe>...
By the way, I apologise for the way I keep finding more information after posting my questions. I genuinely did try to research before posting - just not hard enough, it seems 🙁
[^1]: Although the fact that #!py doesn't trigger the recursion in a standalone file suggests that since then, they have fixed that issue in the launcher.

Actually, it looks like the issue might be std::process::Command. The following test program gives the same error:
use std::process::Command;

fn main() {
    let mut c = Command::new("py");
    c.arg("-V");
    println!("Command: {:#?}", c);
    let s = c.status();
    println!("Status: {:#?}", s);
}

It looks like there are various issues around this - https://github.com/rust-lang/rust/issues/37519 is the first one I found, but that links to https://github.com/rust-lang/rust/pull/87704 with a note that the original code was "replaced as a side effect" of that issue.
I've submitted https://github.com/rust-lang/rust/issues/104358 with the problem, but I think (assuming it doesn't get fixed relatively quickly) the just documentation should include some advice about the issue - whether this is "always include the .exe extension in the program name in the shebang" or something else, I don't honestly know. But I wasted quite a lot of time digging into this, and I think there should be something documented[^1] to save other people (or me again, 12 months from now!) having to repeat the process.
[^1]: Even if it's only to note that shebangs don't always work on Windows, and you aren't able to fix that...

Thanks for digging into this! Executing shebang recipes is inconsistent between OSes, because Unix-like OSes parse shebang lines differently, and Windows doesn't support them at all, so just parses shebang lines on windows. I opened #1412 to document this.


missing term: 'leaf emission rate'

I found no equivalent for CO_325:0000021 'leaf emission rate'. It is defined as 'number of new leaves emitted over a period of time'.
Is it ok to say CO_325:0000021 is a subclass of TO:0000241 'leaf number'?

As a comment: this is typically a breeder's trait that is not recorded in the morpho-taxonomic descriptors used by genebanks.

No: this is not a child of leaf number, since it is a ratio (it is, in
effect, leaf number divided by time). We do not really have a mature
approach to such terms; does it make sense to introduce a higher level term
'growth rate'?
BS
On Thu, Nov 12, 2015 at 7:11 PM, Léo V<EMAIL_ADDRESS>wrote:

I found no equivalent for CO_325:0000021 'leaf emission rate'. It is
defined as 'number of new leaves emitted over a period of time'.
Is it ok to say CO_325:0000021 is a subclass of TO:0000241 'leaf number'?
—
Reply to this email directly or view it on GitHub
https://github.com/Planteome/plant-trait-ontology/issues/331.


Admin orders

Assignee Tasks

[ ] added unit tests (or none needed)
[ ] written relevant docs (or none needed)
[ ] referenced any relevant issues (or none exist)

Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.

Your PR Notes Here

check the travis build fails and see if they need to be fixed. run the tests locally as you try to fix them to see if they fail/fix rather than uploading and waiting for travis to test them, since it takes a lot longer.

admin orders 2 implemented the changes here and fixed the bugs in this as well.


[BUG] Navbar remains open after clicking links on mobile

I'm in GSSoC'23
Description

On mobile screens, when the user clicks on any link, navbar remains open.
User has to manually close it.

Expected Behavious
On mobile screens, when the user clicks any link, the navbar should close and the required page should be visible.
Screenshots
https://github.com/tamalCodes/Milan/assets/66116440/07b43055-43e4-4da9-9b56-b1504bb4ed40
Browser 🥦
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

This is a bad UX to start with, do start working on it. Assigning it to you.
Remember, Good PR makes a Good Developer !
We at Milan work hard to maintain the structure, and use conventional Pull request titles and commits.
Please make sure that you have read our documentation on Commiting guidelines and Pull request guidelines.
Without a proper template for the PR, not following the guidelines and spam might get the pull request closed, or banned.


Cloudformation output produced for AWS::Glue::Connection is incorrect

Describe the bug
When recording a Glue Connection, the resulting Cloudformation text is malformed.
Related Mapping
glue.createConnection
Related Language
Cloudformation
To Reproduce

Create a Glue Connection from

Expected behavior
This is what I get currently:
AWSTemplateFormatVersion: "2010-09-09"
Metadata:
    Generator: "console-recorder"
Description: ""
Resources:
    glue2a9e07f:
        Type: "AWS::Glue::Connection"
        Properties:
            ConnectionInput:
              -
                action: "com.amazonaws.console.glue.awssdk.shared.context.AWSGlueContext.createConnection"
                parameters:
                  -
                    connectionInput:
                        physicalConnectionRequirements:
                            availabilityZone: "us-east-1d"
                            subnetId: "<redacted>"
                            securityGroupIdList:
                              - "<redacted>"
                        connectionType: "JDBC"
                        description: ""
                        name: "my-connection-name"
                        connectionProperties:
                            USERNAME: "<redacted>"
                            PASSWORD: "<redacted>"
                            JDBC_CONNECTION_URL: "jdbc:<redacted>"
                            JDBC_ENFORCE_SSL: "true"

It should be something like:
AWSTemplateFormatVersion: "2010-09-09"
Description: ""

Resources:
  GlueAuroraCrawler:
    Type: "AWS::Glue::Connection"
    Properties:
      ConnectionInput:
        PhysicalConnectionRequirements:
          AvailabilityZone: "us-east-1d"
          SubnetId: "<redacted>"
          SecurityGroupIdList:
            - "<redacted>"
        ConnectionType: "JDBC"
        Description: ""
        Name: "my-connection-name"
        ConnectionProperties:
          USERNAME: "<redacted>"
          PASSWORD: "<redacted>"
          JDBC_CONNECTION_URL: "jdbc:<redacted>"
          JDBC_ENFORCE_SSL: "true"
      CatalogId: !Ref AWS::AccountId

Screenshots
n/a
Additional context
Having a look at the Boto3 code, it looks like this might not be a Cloudformation output problem, but rather how you're parsing the Glue API call results.
If you're accepting PRs, I can take a stab at fixing this one.

PRs happily accepted if you have the time, otherwise I'll fix this up in a few days.
Thanks for reporting!


[V2] Incorrect keys to place orders

Placing orders does not work for me.
There appear to be some inconsistencies between the code and the API docs (https://docs.kucoin.com/#place-a-new-order)

The endpoint should be '/api/v1/orders' but in the code it is currently '/api/v1/order'
The body should contain "clientOid" and "size" instead of "orderOid" and "amount", respectively

However, even when doing these changes locally, I get a 401 error with b'{"code":"400005","msg":"Invalid KC-API-SIGN"}'. There appears to be some other problem elsewhere, but I couldn't find what.

Are you sure you used the right keys and passphrase? You didnt swap your sandbox and and normal keys?

I probably chose a bad issue title: "keys" refers to the Python dict keys for the request body, not for the API key.
A strange thing is that other authenticated endpoints worked fine, f.i. /api/v1/accounts.

Hmm this breaks other stuff for me. I'll be back

I see. I updated it, this error should not happen again.

Hmm the one or two before your last fix did work for my cancel orders but get accounts didn't. Now get accounts works but cancel orders not anymore.

Are you sure? Both work for me now.

Anyway... Tried another fix, maybe this will do it. Otherwise I'll give up :sweat_smile:

The last fix now works yea! i changed the cancel all so it accepts the optional symbol

Thanks @nielskool and @avaucher v2.1.0 should fix this now.

Works for me, thanks!

Hello, I updated to the latest version but I still can't get create_limit_order() to work.
i copied it 100% from the docs and used to get Errorcode:
404000 Url Not Found -- The request resource could not be found
now I keep getting Errorcode:
KucoinAPIException 400004: Invalid KC-API-PASSPHRASE
this is my code:
from kucoin.client import Client
api_key = ""
api_secret = ""
api_passphrase = ""
client = Client(api_key, api_secret, api_passphrase)
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
full error log:
C:\Users\Megaport\Desktop\kucoin>python testkucoin.py
Traceback (most recent call last):
File "testkucoin.py", line 19, in
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 1047, in create_limit_order
return self._post('orders', True, data=data)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 190, in _post
return self._request('post', path, signed, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 158, in _request
return self._handle_response(response)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 168, in _handle_response
raise KucoinAPIException(response)
kucoin.exceptions.KucoinAPIException: KucoinAPIException 400004: Invalid KC-API-PASSPHRASE
help would be much appreciated, I really need to get this running!
other calls to orderbook and currencies etc work just fine

@Fluuuk this function is a private function so you need to be authenticated. You will need to create an api_key, secret and passphrase to initialise the Client before calling create_limit_order

@Fluuuk this function is a private function so you need to be authenticated. You will need to create an api_key, secret and passphrase to initialise the Client before calling create_limit_order

Thx for the quick reply.
Isn't this the part where I initialize my Client and feed it the api_data?
**api_key = ""
api_secret = ""
api_passphrase = ""
client = Client(api_key, api_secret, api_passphrase)**
sorry I don't know how to proceed

I added .init to my code, am I doing this right? getting a whole bunch of new errors now
code:
api_key = ""
api_secret = ""
api_passphrase = ""
client = Client(api_key, api_secret, api_passphrase)
client.init(client, api_key, api_secret, api_passphrase)
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
error:
File "testkucoin.py", line 20, in
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 1047, in create_limit_order
return self._post('orders', True, data=data)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 190, in _post
return self._request('post', path, signed, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 157, in _request
response = getattr(self.session, method)(uri, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 500, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\adapters.py", line 362, in send
timeout=timeout
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 516, in urlopen
body=body, headers=headers)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 308, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1270, in _send_request
self.putheader(hdr, value)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1206, in putheader
if _is_illegal_header_value(values[i]):
TypeError: expected string or bytes-like object

I added .init to my code, am I doing this right? getting a whole bunch of new errors now
code:
api_key = ""
api_secret = ""
api_passphrase = ""
client = Client(api_key, api_secret, api_passphrase)
client.init(client, api_key, api_secret, api_passphrase)
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
error:
File "testkucoin.py", line 20, in
order = client.create_limit_order('KCS-BTC', Client.SIDE_BUY, '0.000001', '1')
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 1047, in create_limit_order
return self._post('orders', True, data=data)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 190, in _post
return self._request('post', path, signed, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kucoin\client.py", line 157, in _request
response = getattr(self.session, method)(uri, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 500, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\adapters.py", line 362, in send
timeout=timeout
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 516, in urlopen
body=body, headers=headers)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 308, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1270, in _send_request
self.putheader(hdr, value)
File "C:\Users\Megaport\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 1206, in putheader
if _is_illegal_header_value(values[i]):
TypeError: expected string or bytes-like object


Dependency to Homebrew on macOS

Is the dependency of ghcup to the external utility xz intended? xz is not installed by default on macOS. Installing Haskell Platform therefore requires the installation of things like Homebrew etc just to get a compression utility:
To install and run GHC you need the following dependencies:
Following commands are required, but missing, please install:  xz

Wouldn't it be better to use gzip?

How would you unpack official ghc bindists with gzip?
https://downloads.haskell.org/~ghc/8.6.5/
https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-apple-darwin.tar.xz

Bummer. We can close this here.

How would you unpack official ghc bindists with gzip?

By doing gunzip.
Also macOS’ tar is bsdtar and unpacks xz fine too.

@llelf If you want to implement that, check https://github.com/haskell/ghcup/blob/master/ghcup#L1015-L1046
Since I don't run macOS and try to keep close to POSIX, I didn't do any platform specific logic.


Documentation: Update coding style rules about comments

The requirement to use // for comments wasn't described anywhere, so now it is! Also updated the rule about TODO comments because we've allowed those for a while now.

Changes: Added note about spec comments (including mentioning the sneaky need to add ^ when the spec raises a number to a power, which caught me out recently!)

the sneaky need to add ^ when the spec raises a number to a power

Just something to consider - the JS specs automatically convert powers to the form x**y when copied, so maybe we want to standardize on that? For example, see https://tc39.es/proposal-temporal/#sec-temporal-isvalidduration - copying step 3 becomes 3. If abs(years) ≥ 2**32, return false.

Changed the mention of ^ to **, and added 120 as a comment line-length suggestion.


save selections for analyses & workflows

Don't clear selections the user has made until they change which analysis or workflow they'd like to execute.

LGTM


Dependency upgrades for hyper and http 1.0

All the dependabot PRs for this failed so need to move with the ecosystem on this one.
WIP pr at #1352
At the very least we probably have to upgrade http, http-body, and hyper together, but we probably also have to wait for all the other stuff like hyper-openssl,  hyper-rustls, tower-http, hyper-socks2, hyper-timeout as well because it doesn't seem to build with just the first ones which have bumped:

[ ] http - failed run at https://github.com/kube-rs/kube/pull/1348
[ ] http-body - failed run at https://github.com/kube-rs/kube/pull/1349
[ ] hyper - failed run at https://github.com/kube-rs/kube/pull/1347
[ ] hyper-openssl - failed run at https://github.com/kube-rs/kube/pull/1350
[ ] tower-http - failed run at https://github.com/kube-rs/kube/pull/1358
[ ] hyper-timeout - failed run at https://github.com/kube-rs/kube/pull/1365

the following probably needs a version bump first also?:

[ ] hyper-rustls - bump pr: https://github.com/rustls/hyper-rustls/pull/232
[ ] hyper-socks2 - no release bumping hyper yet at https://crates.io/crates/hyper-socks2 (last release 7mo ago)

stuff we should do after:

[ ] rustls-pemfile - failed run at https://github.com/kube-rs/kube/pull/1364

Actually kind of large number of breaking changes from the hyper side here actually. Trying to play around with them in #1352 to see how far we can get it towards building, but it seems to just get back normal behaviour we need to grab two new crates at the very least because:

HttpConnector is gone, and now found in a new hyper-util crate under ::client::legacy::connect
HttpsConnector was moved to a new hyper-tls crate

on top of that, hyper::Client is gone!? and instead you only got the Builder with its chain-ender; Builder::handshake instead, and there's also a bunch of changes to Body which now appears to be more generic, but the http_body crate has no changelog.

so hyper::Body as we knew it is gone, and with it; body::to_bytes.
in its place is a generic http_body::Body (what is re-exported from hyper::body::Body) which is now a trait and takes two parameters; the Data type and the Error type.
i guess we try to leverage the foreign impls;

impl<B: Body> Body for Request<B>
impl<B: Body> Body for Response<B>
but there doesn't seem to be a thing for Bytes?

we also cannot just put the Body<D, E> in place of where we had it because it forces dyn keywords everywhere, which means we don't have Sized, so we have to use a boxed body, which seems to pull in http_body_util - a yet another fresh crate..
this gives us:

http_body_util::combinators::BoxBody
http_body_util::Collected::to_bytes (i guess we have to use a new extension trait to convert to bytes now)

..not liking this 1.0 release so far.

ok, this is kind of hairy. the stuff i am stuck at atm is that our interfaces takes Request<Vec<u8>> but we need to use Request<Incoming> now, but Incoming is not something you are meant to construct yourself.
The changelog does have pointers, but you kind of have to dig into commits here and there to see, and it's such a long run-up to the release so you're never sure what's relevant and what's later been renamed on top of a removed type (e.g. hyper::Body)
The starting PR that tries to make this build is at https://github.com/kube-rs/kube/pull/1352/files and i'm going to leave it like this for at least out this month (holiday). If anyone wants to try to get this closer to building please give it a go.

hyper-rustls has one here - https://github.com/rustls/hyper-rustls/pull/232

hyper-timeout 0.5 has been released.

There's also a small upgrading guide now.

Yeah I went through it. Still figuring out which body to use for which type. I'll probably have to bring in hyper-util as well. Is that alright?

have given up on my current branch for reasons. going to need someone else to helm this because it's above my pain threshold to be useful :(

In all honesty, it's not the end of the world, so shouldn't be the biggest issue. I'll help you out as soon as I get time, don't worry

Have updated the root body with more up-to-date information, feel free to post any updates that could help.

There's a working PR up for this at #1438, so this is likely to get closed soon.


Nifi 4908 rebase

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

You should strongly consider setting up some integration tests that can be run against a simple Docker image. All you have to do with NiFi to get that done is add a few classes with "IT" at the end of their name and you can run them with mvn integration-test -Pintegration-tests.

@MikeThomsen   Is there another car bundle that uses a Docker image for integration testing that I can use as an example?
I will clean up the formatting / style errors.

@MikeThomsen   We have a pre-configured Docker image that has Pulsar if you want to use that for testing.  See https://streaml.io/docs/getting-started. for detailed instructions.

@david-streamlio thanks for the link.

Is there another car bundle that uses a Docker image for integration testing that I can use as an example?

The Mongo package, sorta. We wrote all of the tests to assume Mongo defaults, so if you set up a simple Docker install of Mongo, all of the defaults will just click between the image and the int tests.

@david-streamlio I'm going to try to get back to this very soon.

Thanks for the update.....I have merged my changes that came from your code review into the NIFI-4914-rebase PR as well.  That PR has extends the base Pulsar processor capabilities to include RecordBased processing as well

Ok. If you merged 4908 into 4914, go ahead and close out this out. Also, it would be a good idea to rebase 4914 and squash it into one commit starting out for a code review.

Read this blog post. It goes into good detail about squashing commits during a rebase, along with the caveats in doing so. Basically what you do is follow those directions (pretty simple, but worth it for the background) and then do git push origin BRANCH_HOME --force to override the existing remote version of 4914 once you have rebased and squashed.

The rule of thumb there is to be patient and do it multiple steps with as many commits as you have in these two branches. I'd recommend only squashing a few commits together a time until 4914 is one pristine commit ready for review.

So the goal is to get my 23 commits squashed down into a single commit?

Yeah. Since this is your first time, I'd recommend backing up the repo before trying it. Once you've gotten them down to one commit, it won't need to be done again until the review process is done.

Alright, sounds good.


Telemetry from AutoMLService fails

Failures from AutoMlService.cs from Engine_AutoMLTelemetryReceived and AutoMLTelemetry_AutoMLTelemetryEventHandler. Not sure why. See TODO: 1187 in code.

This issue should no longer exist after this PR merged in


Invalid prop center

Trying to get this to work but when calling <GoogleMapReact center={mapCenter} defaultZoom={11} />, I'm getting the error message as follows:
Warning: Failed prop type: Invalid prop ``center`` supplied to ``GoogleMap``.
Any ideas?
I've also tried replacing center with defaultCenter as per the docs.

Check type of mapCenter should be https://github.com/istarkov/google-map-react/blob/master/src/google_map.js#L62-L68

Still having issues with this. Converted the type of mapCenter to an array rather than an object and that works, however nothing at all is being rendered. No error messages now though.
var mapCenter = [
    lat => "51.4999809",
    lng => "-0.1334745000000339"
];

    <GoogleMapReact center={mapCenter} defaultZoom={11} />

I just get a 400px high empty box with the following markup

Any thoughts?

Please learn js :-) in your case lat lng is a lambdas not an object

Well, I have also tried the following:
var mapCenter = [
    {lat: "51.4999809"},
    {lng: "-0.1334745000000339"}
]

and
var mapCenter = {
    lat: "51.4999809",
    lng: "-0.1334745000000339"
}

with no luck. Its unclear from the documentation exactly how it should be laid out, since when I try to set defaultProps in the way that you have done, the JSX does not compile, so I've decided to set it as a variable instead.
I'm new to React and JSX, spent most of my time on jQuery.

Please open examples, trace, learn, this is not the place where I teach people to code. Just library issues.

https://developers.google.com/maps/documentation/javascript/reference/3/coordinates#LatLng


fix(helpers): Fix modularScale computation, allow steps to be zero

Fix issue #147 and also allow steps to be set to zero

Everything is green, ready for review

@bhough using Math.pow is not possible as it raise an eslint error.

@brikou ok, why that shouldn't be a blocker to using Math.pow, looking over it this weekend, I don't think we will get numbers big enough to trigger the Chrome bug. Will keep an eye on it in case it gets used in a way I'm not anticipating that raises the issue.


make tries to read non-existant .glide.lock.hash on fresh checkout

I just cloned a fresh checkout of kubevirt and ran 'make manifests docker'. I noticed that make tried to read a file which did not exist:
$ make manifests docker
./hack/build-manifests.sh
test -f .glide.yaml.hash || md5sum glide.yaml > .glide.yaml.hash
if [ "md5sum glide.yaml" != "cat .glide.yaml.hash" ]; then
glide cc;
glide update --strip-vendor;
md5sum glide.yaml > .glide.yaml.hash;
md5sum glide.lock > .glide.lock.hash;
elif [ "md5sum glide.lock" != "cat .glide.lock.hash" ]; then
make sync;
fi
cat: .glide.lock.hash: No such file or directory
....
everything seems to carry on ok after this, so harmless, but might be nice to avoid triggering the error message

#511 Will fix this one.

We're not using glide anymore.


please implement https for 1.1 at least

@ihciah can you pls help implement a tls for http1.1 or http2?
i cant seem to find anything about this for monoio. really looking forward to this implementation.

@ouvaa - TLS is now supported for http1.1 and http2. Please see this example for more details


update data structure to prepare for MalfeasanceProof generation

Motivation

Closes #3918

Changes

update ActivationTx, Ballot, hare.Message to sign a metadata that can later be used in MalfeasanceProof
add eligibility type to beacon/voting/hare vrf message to differentiate different types of eligibility

bors try

bors merge

bors merge


Themes: shellcheck (SC2154); Part B

Please review commit notes as appropriate.
Description
This is a chunk of my SC2154 branch (#1954), hopefully small enough to merge quickly, but slightly more changes than #1977.
Motivation and Context
I think the changes here should be without behavior changes. There's some very slight refactoring with subshells, but really this is intended to be simple and similar changes across all these files.
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

This PR is ready for review and merge.

This PR is ready for review and merge.


Added Particle.function cloudMode

Cloud functions are fairly core to the Particle system so I added a Particle Console function to change modes.  I haven't tested this code and I'm sure it could be cleaned up quite a bit since it duplicates the button function but I just wanted to get this in before Christmas!

Needs some work...


Fixed some bugs in map zoom and move

fixed #20
fixed #17
Encapsulate viewportRoot element into the parent element responsible for moving, avoiding direct affecting related attributes on viewportRoot elements such as offset.

Thanks so much @KuTuGu !

@gnijuohz  Are there plans when this fix will be released? thanks!

I’ll take a look this week!
On Tue, Sep 3, 2019 at 2:08 PM Fabian Loris<EMAIL_ADDRESS>wrote:

@gnijuohz https://github.com/gnijuohz Are there plans when this fix
will be released? thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gnijuohz/echarts-leaflet/pull/21?email_source=notifications&email_token=AAKYRBG2SGEKEL6PCZP6BXLQH2RYJA5CNFSM4H6W6RXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZCE3Q#issuecomment-527573614,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKYRBGJHN5JTFKSVAY2O4DQH2RYJANCNFSM4H6W6RXA
.


testing: use secret manager

We also moved to python-ubuntu pool so that we don't need the legacy
service account any more.

Oops, the docker image doesn't have secret manager gcloud component.


Move to latest App Services MSI API version

Move Azure.Identity to the latest App Services MSI API version.
Update /sdk/e2e Azure Functions date parsing tests

Added in #12539.


fix: hide filter if no callback is provided

Closes #114
Developer Checklist (Definition of Done)
Issue

[x] All acceptance criteria from the issue are met
[x] Tested in latest Chrome/Firefox

UI/UX/Vis

[x] Requires UI/UX/Vis review

[x] Reviewer(s) are notified @dvdanielamoitzi
[ ] Review has occurred (link to notes)
[ ] Feedback is included in this PR
[ ] Reviewer(s) approve of concept and design

Code

[x] Branch is up-to-date with the branch to be merged with, i.e., develop
[x] Code is cleaned up and formatted
[ ] Unit tests are written (frontend/backend if applicable)
[ ] Integration tests are written (if applicable)

PR

[x] Descriptive title for this pull request is provided (will be used for release notes later)
[x] Reviewer and assignees are defined
[x] Add type label (e.g., bug, feature) to this pull request
[x] Add release label (e.g., release: minor) to this PR following semver
[x] The PR is connected to the corresponding issue (via Closes #...)
[x] Summary of changes is written

Summary of changes

The filter buttons are not visible anymore for the components which do not have a filter callback

Screenshots

Additional notes for the reviewer(s)

N/A
Thanks for creating this pull request 🤗

Thx for your changes @dv-usama-ansari
I tested your branch in Bioinsight and it seems like you currently only hide the filter buttons for the Barchart.
Please also hide the filter for all  other Vis components as well. Maybe there is a generic way to do so.


Added app commands

As mentioned in #2, #3, #4, #5, #6, #7, #8 and #9

Coverage decreased (-5.6%) to 88.441% when pulling 874eecb3bfb8dfb58063877936cd583745c3e79f on erwinvanhunen:dev into 5a054953ca6b6ff457c027fdd83bb6d8282edaad on SharePoint:dev.

Thanks for the PR @erwinvanhunen! Unfortunately the code coverage is too low to accept the PR as-is. Could you please add more tests to increase it? Each command should have 100% coverage. You can see which paths are missing in the coverage report at https://83-106723305-gh.circle-artifacts.com/0/home/circleci/office365-cli/coverage/lcov-report/index.html. *.spec.ts files can have coverage below 100 but commands should be 100.


Schema editor files improvements

Description
Thumbnail preview in Dropzone
With this code the thumbnail preview in the schema-editor dropzones for existing items with images gets loaded via fileRequestBaseUrl configured in schemaEditor.files.fileRequestBaseUrl.host and schemaEditor.files.fileRequestBaseUrl.path within the editor config.
It follows the same config schema as the Q-server file plugin.
The files are requested through aurelia-fetch-client (that is configured to do authenticated requests) to send credentials to the endpoint configured in fileRequestBaseUrl.
Label
The schema objects title gets displayed on top of the dropzone element as a label now.

:tada: This PR is included in version 4.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add ability to stream source and not requre the entire source in memory

Original issue 17 created by lordjebus on 2008-10-21T22:48:44.000Z:
Currently the entire source is required to be in memory meaning it can not
handle large files or stream from a network.

The old issue had comments requesting this feature be worked on.
The maintainer mentioned issue #12 and the workaround from issue #9 and issue #19. This is sort of related to issue #45. I'm closing this as we the original reporter was happy with the workaround and there are better ways to handle that, like a FIFO from issue #45.


Move project YAML key from gcloud to flank

ERROR: (gcloud.firebase.test.android.run) [project] is not a valid argument name for: gcloud test run.

gcloud CLI doesn't support project via YAML because it's a global flag.

done on master


KVM host can not migrate on CentOS 7.2

Since RedHat commit fix libvirt should forbid doing tunnelled migration with migrateuri using migrateToURI2 api,  it makes that migrating vm on CentOS 7.2 will fail. The error log as bellow:
2016-02-25 14:43:28,203 TRACE [CloudBusImpl2] (pool-3-thread-1) [event received]: {"org.zstack.header.vm.APIMigrateVmEvenpe":{"_name":"key.event.API.API_EVENT"},"apiId":"c018728bec49484fac1639576b331fad","success":false,"error":{"code":"HOST.description":"Failed to migrate vm on hypervisor","details":"failed to migrate vm[uuid:cb8b1db66c3c48cbb83bcb2281a35262] m host[uuid:f1182b8f053d4b92913b65053b0022ec, ip:<IP_ADDRESS>] to dest host[ip:<IP_ADDRESS>], unable to migrate vm[uuid:cb8b148cbb83bcb2281a35262] to qemu+tcp://<IP_ADDRESS>/system, argument unsupported: migration URI is not supported by tunnelled on"},"headers":{"schema":{}},"id":"32cc587334664aeea3dffee464112c03","creatingTime":1456382608197}}

Fixed in 1.1


[Feature]: Enhance Readme.md

Describe the feature
I would like to link LISENCE file to main readme file. moreover i am aiming to enhance readme.md under gssoc by adding a feature in section, table of content, adding animation etc.
Why feature in section? - Feature in section will highlight that the project was part of gssoc in more clean, neat and representable form. I have added ss for the same, will try to create similar.
Table of content so that user have a easy navigation throughout the file
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I'm a VSOC'24(Vinayasa Summer of Code) contributor
[X] I want to work on this issue

/assign-me

@ananyag309 assigned


Error in Load model weights

When I started ClipCap on google colab (Open in Colab), I got the following error at the Load model weights. How can I solve this problem?

I did some digging and found this to be a version issue with the transformers module.
TLDR: Simply deleting the bias and masked_bias keys from the state dictionary seems to work. Something like:
altered_state_dict = torch.load(model_path, map_location=CPU)
for i in range(12):
    del altered_state_dict['gpt.transformer.h.' + str(i) + '.attn.bias']
    del altered_state_dict['gpt.transformer.h.' + str(i) + '.attn.masked_bias']

And then loading the altered state dictionary into the model by:
model.load_state_dict(altered_state_dict)

Most likely explanation
More specifically, in transformers: version 4.11.3 used in the original notebook, in the source code for GPT2Attention, "bias" and "masked_bias" are persistent buffers, and therefore saved to the state_dictionary:

In the latest transformers version (version 4.33.1),  in GPT2Attention, "bias" and "masked_bias" buffers are defined to have persistent=False, meaning that they are no longer a part of the model's state dictionary:

Thank you for your careful explanation. I did it!

An easier workaround for this is to set strict=False in the load_state_dict function.
model.load_state_dict(model_weights, strict=False)

I did some digging and found this to be a version issue with the transformers module.
TLDR: Simply deleting the bias and masked_bias keys from the state dictionary seems to work. Something like:
altered_state_dict = torch.load(model_path, map_location=CPU)
for i in range(12):
    del altered_state_dict['gpt.transformer.h.' + str(i) + '.attn.bias']
    del altered_state_dict['gpt.transformer.h.' + str(i) + '.attn.masked_bias']

And then loading the altered state dictionary into the model by:
model.load_state_dict(altered_state_dict)

Most likely explanation
More specifically, in transformers: version 4.11.3 used in the original notebook, in the source code for GPT2Attention, "bias" and "masked_bias" are persistent buffers, and therefore saved to the state_dictionary:
In the latest transformers version (version 4.33.1), in GPT2Attention, "bias" and "masked_bias" buffers are defined to have persistent=False, meaning that they are no longer a part of the model's state dictionary:

thank you bro!!!!


Helm charts deployment should merge a new release into an existing index.yaml

TL;DR
Expected behaviour:

New versions of charts must be added to index.yaml file. The index.yaml file should contain metadata to all versions of the charts.

Actual behaviour:

Only 1 version of each chart exist in the index.yaml file. The old archives are still there, but not reachable by helm as the metadata is missing from index.yaml.

Description
Yesterday, I tried deploying the central-logging chart on our k8s cluster, but if failed. The published central-logging chart archive does not contain the archives of it's dependencies.
I suspect the release process does not contain a helm dependency update command when the chart version is packaged.
To circumvent that, I cloned this Git repo and ran helm dependency update myself. If failed because the metadata for daemon-fluentd 0.2.0 is missing from the index.yaml file.
I had to bump the version in the requirements.yaml for the dependency update to succeed.

Here is how I merge a new release of a chart into an existing yaml:
$ helm dependency update
$ helm package . -d ./charts --save=false
$ wget http://<repo url here>/index.yaml -O old-index.yaml
$ helm repo index ./charts --url http://<repo url here> --merge old-index.yaml
$ <publish command here>

@ringods thanks for the issue and for the fix.  we are in the process of overhauling our charts CI pipeline but if this is as easy at looks we may backport this one.  if not, it'll definitely go into our future state.
either way, its on the list for us now.  thanks!

we're deprecating all of k2-charts and using a completely different style of chart releases.  we will be using app registry and publishing all versions of a chart of quay.io.
thanks for the issue and if there are any charts in this repo you use let us know!  we will be migrating a bunch to new repos but we don't support all of these so we won't be porting them to a new framework.

@coffeepac this app registry?
https://github.com/app-registry/appr-helm-plugin


docs update variables section

Proposed changes:

Consistency between one example and another.

Status (please check what you already did):

[ ] added some tests for the functionality
[x] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Nevermind, utter_default was meant to be utter_default :D


Add project portfolio page for Nicholas

Close #157

Pull Request Test Coverage Report for Build 709

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.46%

Totals

Change from base Build 702:
0.0%

Covered Lines:
1973

Relevant Lines:
2483

💛  - Coveralls


encounters to be updated to #98

pull request #98 fails on test/codes_tests/test_multiples.py - its probable encounters.py that needs to be updated to the new changes.
just to make clear: the issue is blocking #98, and the changes in encounters.py are to be included in the pull

tests fixed, smalln has an updated multiples detection and the tests failed on this


WKHTMLTOPDF_PATH path env

Hello
I tried "In case wkhtmltopdf is not located in /usr/local/bin/wkhtmltopdf modify the WKHTMLTOPDF_PATH environment variable in the .env file:"
In the .env.local file, i tried : WKHTMLTOPDF_PATH=""C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe""
I tried "C:\Program Files\wkhtmltopdf\bin" and more
But when i run "php bin/console sylius-invoicing:generate-invoices"
the result :
` The exit status code '1' says something went wrong:
stderr: "Loading pages (1/6)
[======>                                                       ] 0%
Warning: Blocked access to file
Error: Failed to load about:blank, with network                ] 23%
status code 301 and http status code 0 - Protocol "about" is unknown
Counting pages (2/6)                              =============] 100%
Resolving links (4/6)                    ======================] Object 1 of 1
Loading headers and footers (5/6)        ======================] Object 1 of 1
Printing pages (6/6)
[=========================================                     ] Preparing
Done
Exit with code 1 due to network error: ProtocolUnknownError
"
stdout: ""
command: "C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe"`
Thank you

Hello @web4Sylius, at first glance, it looks that you have a problem with your binary of wkhtmltopdf or some permissions 🤔 However, Sylius issues should be used to report bugs, propose new features, discuss new functionalities. For everything else, please, use our Slack or stackoverflow 😃


Extract reporters as separate artifacts

This is a rather big PR - but mostly just moving files around.
Restructuring the project - creating 3 artifacts

riemann-java-client
metrics2-riemann-reporter
metrics3-riemann-reporter

Reporter modules are dependant on the java client module
This should allow to pick the right artifact for the need, not forcing metrics dependencies as part of the Java client, or mixing metric versions.
Thanks @tarlog for the maven help

@aphyr Can you revisit this ? thanks!

lets give this another shot... @aphyr  ?

Sorry bout the delay, @shlomisut, been backlogged cuz of conference season. Thanks so much for doing this! :)

[WARNING] Some problems were encountered while building the effective model for com.aphyr:riemann-java-client:jar:0.4.0
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ com.aphyr:riemann-java-client-parent:0.4.0, /home/aphyr/riemann-java-client/pom.xml, line 100, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

I'm a maven newbie--any idea what to do about this?

Also looks like metrics3-riemann-reporter doesn't actually build:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project metrics3-riemann-reporter: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /home/aphyr/riemann-java-client/metrics3-riemann-reporter/src/main/java/com/codahale/metrics/riemann/RiemannReporter.java:177: error: type arguments not allowed here
[ERROR] * @param tags a {@link Collection<String>}
[ERROR] ^
[ERROR] /home/aphyr/riemann-java-client/metrics3-riemann-reporter/src/main/java/com/codahale/metrics/riemann/RiemannReporter.java:180: warning - Tag @link:illegal character: "60" in "Collection<String>"
[ERROR] /home/aphyr/riemann-java-client/metrics3-riemann-reporter/src/main/java/com/codahale/metrics/riemann/RiemannReporter.java:180: warning - Tag @link:illegal character: "62" in "Collection<String>"

I moved the version back to 0.3.2-SNAPSHOT (I prefer to keep stuff on snapshot until we're ready for a release), and pushed versions of the client and metrics2-reporter to clojars. Want to give these a shot? Once all the artifacts build I'll cut a proper release and we'll be good to go. :)

thanks for looking into this!
About the Maven warning - I have no idea either... never did much in Maven myself (gradle mostly for me) but my sentiment is "If it builds it's OK"
Which brings me to the second issue - it's doesn't build. :(  From the message you shared it seems to be an issue with the JavaDoc, which I did not validate. I executed maven package and it built OK "On my machine".
In short - I'll have a look on both Issues in the next few days & push another PR
Thanks again