[BUG] OTLP traces - 403 Forbidden on HEAD /_alias/otel-v1-apm-span?...

Describe the bug
I have given Data Prepper all possible permissions on AWS Opensearch Service, but I am still getting those errors when starting up otlp tracing pipeline.
OTLP logs built from https://github.com/nazarewk/kmssap-opensearch-data-prepper/tree/284ab4052d51ce1dbcaef3dd1f1dc26d065d2b56 work perfectly fine
To Reproduce
Steps to reproduce the behavior (didn't confirm, but should do it):

Create Opensearch Service cluster

Create IAM Role with statement
      {
        "Sid" : "DataPrepperAll",
        "Effect" : "Allow",
        "Action" : [
          "es:ESHttp*",
        ],
        "Resource" : [
          "${data.aws_opensearch_domain.this.arn}/*",
        ],
      },

Create OpenSearch Role permissions:
{
      cluster_permissions = [
        "cluster_all",
        "indices_all",
      ]
      index_permissions = [
        {
          index_patterns = ["otel-v1*"]
          allowed_actions = [
            "indices_all",
          ]
        }
      ]
    }

Assign OpenSearch role to the IAM Role

Assign IAM Role to Data Prepper instance

Configure Trace pipeline
 note i am replacing host and region during container startup
 ```
 ### START TRACES
 otel-trace-pipeline:
   workers: 2
   delay: "100"
   buffer:
     bounded_blocking:
       buffer_size: 512
       batch_size: 32
   source:
     otel_trace_source:
       # common
       port: 21890
       health_check_service: true
       thread_count: 200
       max_connection_count: 500
       # TODO: ssl
       ssl: false
       authentication:
         unauthenticated:
   sink:
     - pipeline:
         name: otel-trace-raw-pipeline
     - pipeline:
         name: otel-trace-service-map-pipeline
 otel-trace-raw-pipeline:
   workers: 2
   delay: "3000"
   buffer:
     bounded_blocking:
       buffer_size: 512
       batch_size: 64
   source:
     pipeline:
       name: otel-trace-pipeline
   processor:
     - otel_trace_raw:
     - otel_trace_group:
         # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
         hosts:
           - https://OPENSEARCH_HOST
         aws_region: OPENSEARCH_AWS_REGION
         aws_sigv4: true
   sink:
     - opensearch:
         # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
         insecure: false
         hosts:
           - https://OPENSEARCH_HOST
         aws_region: OPENSEARCH_AWS_REGION
         aws_sigv4: true
         index_type: trace-analytics-raw
 otel-trace-service-map-pipeline:
   workers: 2
   delay: "100"
   buffer:
     bounded_blocking:
       buffer_size: 512
       batch_size: 32
   source:
     pipeline:
       name: otel-trace-pipeline
   processor:
     - service_map_stateful:
         # The window duration is the maximum length of time the data prepper stores the most recent trace data to evaluvate service-map relationships.
         # The default is 3 minutes, this means we can detect relationships between services from spans reported in last 3 minutes.
         # Set higher value if your applications have higher latency.
         window_duration: 360
   sink:
     - opensearch:
         # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
         insecure: false
         hosts:
           - https://OPENSEARCH_HOST
         aws_region: OPENSEARCH_AWS_REGION
         aws_sigv4: true
         index_type: trace-analytics-service-map
 ### END TRACES
START LOGS
otel-logs-pipeline:
workers: 2
delay: "100"
buffer:
bounded_blocking:
buffer_size: 512
batch_size: 32
source:
otel_logs_source:
# see https://github.com/opensearch-project/data-prepper/blob/00d7ec690ab8034a013f12b9fc0e78aa75087f82/data-prepper-plugins/otel-logs-source/README.md#L23-L23
# common
port: 21892
health_check_service: true
thread_count: 200
max_connection_count: 500
# TODO: ssl
ssl: false
authentication:
unauthenticated:
processor:
- otel_logs_raw_processor:
sink:
- opensearch:
# see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
insecure: false
hosts:
- https://OPENSEARCH_HOST
aws_region: OPENSEARCH_AWS_REGION
aws_sigv4: true
index: otel-v1-logs-%{YYYY.ww}
- file:
# TODO: rotate this file
path: /var/log/fluent-bit-forwarder/logs.json
END LOGS

</details>

Expected behavior
Data Prepper has a functioning traces pipeline
Screenshots
...
Environment (please complete the following information):

OS: Pod in EKS on Bottlerocket
Version: https://github.com/nazarewk/kmssap-opensearch-data-prepper/tree/284ab4052d51ce1dbcaef3dd1f1dc26d065d2b56

Additional context
everything relevant is available above, mostly in foldable elements

@nazarewk , I'm glad to see you are working on the latest code in your fork!
To clarify, did you try this same configuration using the last released version of Data Prepper - 2.0.1? This could help us narrow down the problem.

I've just tried it again on 2.1.1 and getting the same error even through i've:
{
      cluster_permissions = [
        "unlimited",
      ]
      index_permissions = [
        {
          index_patterns = ["otel-*"]
          allowed_actions = [
            "unlimited",
          ]
        }
      ]
    }

and following IAM permissions:
      {
        "Sid" : "DataPrepperAll",
        "Effect" : "Allow",
        "Action" : [
          "es:ESHttp*",
        ],
        "Resource" : [
          # TODO: https://alfred24.atlassian.net/browse/DS-37 narrow it down
          "${data.aws_opensearch_domain.this.arn}/*",
        ],
      },


They can achieve the desired position of the switching head and leave it in the zero position.

They can achieve the desired position of the switching head and leave it in the zero position.

i know this is maybe offtopic but if the height is more than 480 or 600 they can't zoom out the preview without changing the height because too big
can yo fix that too
Originally posted by @mls2o1 in https://github.com/JargeZ/vhs/issues/6#issuecomment-890687776

in version 1.5.0 the behavior has been  #changed.
Now if the size of the image is smaller, then the preview frame renders 1:1
If the size exceeds the height of the preview frame, then it will be scaled to the height of the preview frame.


Update JSON for Sherlockv1, set JSON structure, and upload a SLURM-to-JSON script

This PR does a number of things:
• Updates machines.json with real information from Sherlock v1.
• Uploads a script to generate "intermediate JSON" from a SLURM cluster, with instructions on how to combine multiple intermediates into a single machines.json file.
Unless my understanding of SLURM bits has changed, I think the basic JSON structure is set.  The only stuff really missing is information on which users can access which partitions.  Right now, only globally-accessible partitions are specified, for the * user.

This is really a great! A few small requests:
Not a dependency

Right now, this is one massive batch script that runs from start to finish, with no modularity. It shouldn't be a requirement for the user to have to use this script to generate data for the web interface - it should be something that is as easy as writing a manual text file, and then the application handles the rest. This is the approach I would take:

have a folder of (some format, yml or json is fine) individual (cluster specific, or even a level deeper to partition) files that the application knows to build when it's pushed to github.

this means that the user can manually generate these files, or (optionally), can use this extra provided perl tool, given access to the correct command line utils and permissions.

We can't make the assumption that the user (an admin of some sort) has access to all these tools, is familiar possibly with perl and modules, and wants to generate one huge file at once.
Modular
So the second request is to make this script more of an optional module. This means a few things:
Organization
I would suggest a folder called modules or helpers with a separate README to use the tool (if they desire) to generate the equivalent data.
Containers
Further, the module should come as a container. Docker and Singularity. The user could install all the stuff manually, but really they probably would find it easier to run a container.
Functions
Right now it's one massive perl dump, and I don't see functions or anything. Could we have functions instead? If you are not averse, I'd also like to have (and/or) python. Perl isn't hugely used in scientific programming.
In a nutshell, I would want to be able to use the tool, OR just edit some files manually, push the pages, and have it work, without needing to install perl modules / dependencies or even use this tool at all.  There are severeal approaches that (from the client / javascript side) compiles individual files from a folder into the machines.json upon build, and that's the direction we want to go to. If you want to start by giving a go at python, or making the perl more modular (and teaching me how to test and run) we can start from there! Thanks for helping with this!

btw @akkornel, the sheer amount of code that you produced for this PR in a short amount of time is nothing short of astounding! I think it could be a really good learning opportunity for me to pick up some perl too, what say you? What is the best environment / interpreter for testing things?
I'm going to start dinner and just stare at it for a while, lol :#)

Woah, lots of text!  Here are my replies to the various sections:
Not a Dependency
To be honest, I don't think a cluster admin (the intended audience for this tool) should need to use this tool to get the webapp up and working in a minimal mode.  It should be enough, I think, for job-maker to provide a basic example JSON file, as well as documentation on the minimum amount of machines.json that the webapp needs in order to work.
For example, I think the minimum would be…

A list of features, if the cluster has any.
A list of partitions (there should be at least one).
A list of QOSes (I think there should be at least one).
An entry for user *, saying that user * (that is, all users) has access to the listed partitions.

With just those options, it should be enough to fill in things like drop-down menus & select/multi-select boxes.  What would be missing is basic validation, to check beforehand if a job can't fit in a given partition/QOS.  But, the minimum listed above should be enough to get the user (that is, the cluster admin) going, which is the most important thing.
So, a separate issue/PR would be good, to have an example minimal JSON file, and documentation on format/fields.
The "folder of stuff"
To be honest, I'd like to keep the number of "source files" at an absolute minimum.
I should define what I mean when I say "source files".
All of the information in the JSON file comes from /etc/slurm/slurm.conf, as well as from SLURM information that exists in a MySQL database.  That information (database + slurm.conf) is the "source".  The cluster admin already had to do the manual work of setting up slurm.conf, as well as running the sacctmgr commands to load the info into the database; and the cluster admin still has to do the additional work of maintaining those things, as people and machines come and go.
I really don't want the cluster admin to have to manually maintain the same information in another set of files, in a different format.  All of the information that job-maker needs should be obtainable from SLURM directly, which is why I think a conversion tool is the best option here.
But, as I said back in the 'Not a Dependency' section, there should be documentation telling the cluster admin that they don't need to provide all the cluster information to get a basically-functioning webapp.  So, if the cluster admin doesn't want to, she should be able to—as a one-time activity—provide the minimal amount of information needed to have a functioning app.
There's an additional benefit: The cluster admin could use the "minimal JSON" to set up the webapp as a proof of concept, and then later (once a decision is made to move forward with the webapp) set up this tool to generate the "complete JSON".
By the way, I understand that it's not possible (or at least not easy) to pull the info directly from SLURM, for a number of reasons:

If this webapp is written in JavaScript, it makes sense to have the app's configuration in JSON, even though this means that conversion work is required.  I expect it's easier to do the conversion work separately, instead of coding the JavaScript necessary to parse slurm.conf`` directly.  Besides, since you need sacctmgr` to get some of the information from the cluster, you'd still need some sort of dynamic, server-side support.  So, much easier to do the JSON creation separately.
Since the webapp can support multiple clusters, it's not really feasible to have the web app reach out to clusters directly for all this info.  Besides, even though the information changes over time, it's not so dynamic as to require querying the cluster on every page load.

Organization
I don't really have a preference regarding organization, except I don't like the word "modules", because this code never gets called by the webapp.  "helper" would be a more appropriate term, in my opinion.
Although, right now job-maker only has one helper, so putting slurm2json into a helpers directory—again, in my opinion—just adds an additional directory layer.  Unless you've got plans for adding other helpers?
Still, I'm not particularly passionate on this topic.
Containers
You're absolutely right: I should have gotten this set up as a Singularity container, to make it easy to deploy onto a cluster.  That'll be the next thing I do here.
BTW, when you said "the module should come as a container", I assume you meant a bootstrap definition file?  I assume you weren't asking me to add a pre-built image to the repo; adding a big binary blob to a Git repo doesn't seem right to me (unless you have Git LFS).
Functions
I kindof expected the "Could you write it in Python?" comment. 8-\  Honestly, both the "Why Perl?" and "Why no functions?" questions have the same answer: For the most part, this program is a simple parser, which Perl does extremely well, and functions would break up the flow.
The vast majority of line of code (~350, out of 461 total) are one big loop, iterating over all the lines of slurm.conf.  There are only two real places inside the loop where I could see refactoring code into functions; those are the code blocks dealing with NodeName (lines 102-139) and PartitionName (lines 141-231).  But, moving those out to functions would mean, when you want to consider the NodeName or PartitionName code; you'd have to mentally context-shift your brain out of the main loop, and in to the function.
It might help if you do what I did while writing the code: In a separate window, log into a Sherlock v1 node, and open /etc/slurm/slurm.conf.
I'm leaning much more towards moving the external command-calling code (lines 293-403) into separate functions, which live in a separate Perl file.  Then, the code could be broken into three files:

The slurm.conf parsing loop.
Code which gets info from sacctmgr.
Main code, which takes the above stuff & builds the JSON.

So, I'll look at breaking up things into the three parts listed above.

If you're interested in picking up some Perl, I can't say that my code is the best thing to look at, but I hope it'll help!
As for a place to run it, Sherlock v1 is probably the best place to do this, for a few reasons:

There is a new-enough Perl available (as a module), which isn't available yet on Sherlock v2.
The Perl module supports local::lib, which is similar to Python's virtualenv.
The tool needs access to a slurm.conf and sacctmgr.

Perl is a compiler-interpreter—it converts Perl code into a bytecode, which is then executed—so Perl doesn't have an interactive interpreter like Python does.  But, startup time is very quick.
On Sherlock v1, something similar to this should get you up and running with the needed Perl modules:
module load perl/5.24
module load (pick some newer GCC version)
eval `perl -Mlocal::lib`
cpan install List::Util
cpan install JSON
cpan install Text::CSV

To see what shell commands are being generated in line 2, just run perl -Mlocal::lib directly.  It's setting environment variables so that Perl looks for modules in your home directory, and so that the module installers know to install modules into your home directory.  Each cpan install command takes care of auto-installing necessary dependencies.
Then, to run the tool, see the README I included.  Note that you'll need to use one of the longer-form commands, because of the taint-mode issue I described.
(BTW, Taint Mode is an optional feature: When taint mode is on, anything coming in from the outside is "tainted".  If you use a tainted variable somewhere, that result is also tainted (so, concatenating a tainted string and an untainted string taints the result).  If you try to use tainted data in a dangerous way (like, to execute an outside program), Perl kills your program.  The way you un-taint a variable is to pass it through a regular expression.  It's an awesome safety feature, unique to Perl.)
If you have questions, feel free to let me know!


Set manual trigger for Chromatic workflow

Towards the goal of testing out Chromatic (free version) on #19, setting trigger for workflow to only occur manually

Let me know when you've got an instance running, I'd love to see how it feels to interact with the Chromatic UI

Ahhh I was going to ask if you could handle trying to get that setup 😆 I don't think I have the time right now, plus would be good experience for you to learn how that GitHub action works

The action will for sure need to set a secret variable or two, so if you aren't able to control that just send the tokens to me over a secure line and I'll add them as soon as I can

Okay yeah, I was gonna do that originally—but I don't have the required permissions in this repo to access the Settings tab.

Just to note, Chromatic cannot test #19 as those elements are not components in Storybook. I've created #26 to install Chromatic and have manually tested this installation with a change to the multi-select form component.


Order book depth chart

Should have a market depth chart [w/ ls-lmsr it'll just be a curve, come limit orders it won't]

Moved to CH


fix: landing page descriptions margin-top adjustments

Overview

Adjust margin-top of descriptions in 2 places within landing page components, per design feedback.

PR Checklist

[x] Related to designs: https://www.figma.com/file/2aBlW1pgFt5PT6soRu1HXy/✏-Landing-Page-Templates---Unification?node-id=244%3A663
[x] Related to JIRA ticket: REACH-520
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60086dc443761845d9c7eed1--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60086dc443761845d9c7eed1--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60088631c5722f00a5f99b76--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60088631c5722f00a5f99b76--gamut-preview.netlify.appDeploy Logs


How to play live stream with RTSP?

@m860 This is built on top of react-native-video and supports rtmp and rtsp https://www.npmjs.com/package/react-native-vlc

hi @sabbyt ,
Do you find any solution to play RTSP on IOS?

+1

+1

+1

I found this, working RTSP on IOS:
react-native-vlc-media-player


Documentation on quantlib

Hi everyone, I would like to try out quantlib on its own for my quantization workflow. Is there a paper/set of slides/documentation I can refer to? I found only the slides on quantlab on the PULP website with no reference to quantlib-only usage. Or is it meant to be used only inside quantlab?

Hi Fabrizio,
Quantlib works as a backend for Quantlab; as such it can be used on its own. I hope you understand that the intended flow is for Quantlib to be used with Quantlab - however, if you would like to "extract your own flow", I'd suggest to start from Quantlab - there are several examples here.


iOS: Handle Binary Files (images and more)

[ ] TODO:elaborate [Andreas,Martin]

A data: URL for images might be nice. So far I’ve only worked on Mac so that hasn’t been needed.

I'm wondering what Markdown would do with binary files.

During writing the how to hide links in Drafts thread is was wondering if it might be a crazy idea to store the filmendem as a title and putter binary data to the content in Drafts. But URLs should be the main choice.

I don't understand your last comment. What I'm thinking of is to allow URLs as image sources, including data: URLs. This has two positive effects:

Allows you to build a presentation from a remote server, including stock images.
Allows you to keep image data: URLs in your eg Drafts draft, perhaps as some kind of transclusion.

I think a combination of StringIO and urllib could get us there.

data: URL added a while back.


Update scope.json

[+] Cloudflare Vulnerability Disclosure program.

Thank you so much for the PR, added now.


Global CSS cannot be imported from within node_modules.bug:

Provide environment information
Describe the bug
/node_modules/react-tweet/dist/twitter-theme/theme.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/react-tweet/dist/twitter-theme/tweet-container.js
After installing the package ...

To reproduce

Additional information
No response

I'm getting too on remix/vite. Right now falling back to 0.4.2 works.

I'll be having a look at this

I'll be having a look at this. Thanks for finding the issue!

Still happening for me.


Folder not expanding in file explorer

VSCode Version: 1.35.1
OS Version: Windows 10

Steps to Reproduce:
I was working with this project: https://github.com/luabud/tweeter3. Then I created a file called 2.1_test.py in the tweeter folder to try to reproduce a bug with the Python extension. Then I renamed it to test_2.py and now I can't expand that folder anymore.

Does this issue occur when all extensions are disabled?: Yes, it does

I can not reproduce.
Can you reproduce with vscode insiders https://code.visualstudio.com/insiders/
If yes, if you F1 > developer tools > debug console do you see some errors?

I haven't seen that in VS Code Insiders. I'll let you know if it happens. Feel free to close this if you want, and I'll reopen if I experience it there. Thanks!

Let's keep it open for now and we can close later. Thank you

Same problem here after update to the latest version.

@luabud can you reproduce with vscode insiders https://code.visualstudio.com/insiders/
If yes. If you f1 > developer tools > debug console do you see some errors
Do you have exact steps to reproduce this?

I am having the same issue after the latest update.  After I refresh as indicated in @RafaelLeonhardt it appears, but only when the folder is expanded with no contents.  I do not see any errors in any of the logs or in the developer console.  It is working correctly in the insiders edition

I have the same issue too after I have upgraded to the latest. Using powershell extension.

Bringing in info from #77821 -
I'm experiencing the same thing with a folder that only has Python modules installed with pip editable mode. I'm using a workspace and can still access the files that don't appear when using the breadcrumbs. Issue occurs without extensions.
Version: 1.37.0-insider (user setup)
Commit: e1d3dd5
Date: 2019-07-23T05:23:48.960Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.15063

Today, the problem didn't occur until I ctrl+clicked on an import statement that was importing one of the four modules in the folder that has the issue. When I did that, the module's file opened as normal, but once I closed the file I was no longer able to see the folder contents and ctrl+clicking on that same import statement does nothing.
Based on that, I'd say the issue was caused by the Python extension. However I reloaded with extensions disabled and the problem persisted. Nothing appears in the console or in any of the Output views.

@iansan5653 interesting, so it seems to be a problem caused when navigating to files. I don't think it's caused only by the Python extension since it seems to have happened with the PowerShell extension as well. But I opened an issue  in the Python extension repo so they can investigate what may be causing this.

I'm getting the same issue, reproducibly with mostly C++ env, no Python or Powershell extensions installed. I'm clicking on build output ( which is produced through $gcc problemMatcher ), random header file, it does open the file but the folder does not expand, and becomes unexpandable, similar to #75340 gif. Clicking "Refresh explorer" does make the tree node expandable again.
What tracing info can i provide ?

@kaidokert can you reproduce with vscode insiders (since we pushed a potential fix for this)
https://code.visualstudio.com/insiders/


Export data as CSV

Would it be possible to add a button on the dashboard to export a website's data as a CSV?

Not sure how valuable it would be since you already have all the data. But if someone wants to explore some options and submit a PR I'll take a look.

Sorry for the late response. I think a export option would be beneficial to

allow for more "manual" analysis of the data.
And to prevent the data being locked into umami, and making it easier to switch to another service if the user wishes, without losing all the data gathered by umami.

I'm not sure how this could be implemented though.

Well the data is not locked because it's your database. You can simply do a mysqldump or pg_dump of your database and import that directly into Excel. Even if we were to add a CSV option, it would have to be aggregate data for performance reasons. You can't simply pull an entire year's worth of data over the web.

@mikecao re https://github.com/mikecao/umami/issues/310#issuecomment-714289694 can you put a note in the docs, about the data dump? That would be very helpful.


Feat/enhance mergeCell functionality to support more detailed conditions

[中文版模板 / Chinese template]
🤔 This is a ...

[x] New feature
[ ] Bug fix
[ ] TypeScript definition update
[ ] Bundle size optimization
[ ] Performance optimization
[ ] Enhancement feature
[ ] Refactoring
[ ] Update dependency
[ ] Code style optimization
[ ] Test Case
[ ] Branch merge
[ ] Site / documentation update
[ ] Demo update
[ ] Workflow
[ ] Chore
[ ] Release
[ ] Other (about what?)

🔗 Related issue link

related #2907
💡 Background and solution

📝 Changelog

Language
Changelog

🇺🇸 English

🇨🇳 Chinese

☑ Self-Check before Merge
⚠ Please check all items below before requesting a reviewing. ⚠

[ ] Doc is updated/provided or not needed
[ ] Demo is updated/provided or not needed
[ ] TypeScript definition is updated/provided or not needed
[ ] Changelog is provided or not needed

🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough

这个问题这周会修复吗？

https://visactor.io/vtable/guide/Contribution_Guide  后续提pr可以按照这个文档中提到的rush change-all  生成变更日志哈 @xielin9527

请加入飞书群 联系我们，领取开源共建的奖品  @xielin9527


docs(ADVANCED.md): replace placeholder with env variable for toggle single key binding

description
Since {fzf:prompt} is being phased out, let's replace the example with $FZF_PROMPT.

Ref #3582

The previous PR was unintentionally closed. This implements the same changes as before.

Thanks!


Default nomad.yaml

In a development setup, you often need to use some special settings in nomad.yaml. For example, it is typical to use a different keycloak realm. Do you think we should include a default nomad.yaml file in git? Mine typically looks like this:
keycloak:
  realm_name: "fairdi_nomad_test"

There is the danger that then people accidentally push changes to this file.

There is the danger that then people accidentally push changes to this file.

Yeah this is the reason this file is in gitignore. We do the same in nomad-FAIR, so I figured it's probably safer to the same here too, wdyt?

Yes, I guess we have to have it like this for now :+1:


Attempting to use module which is not loaded

Some compilation errors result in
Attempting to use module 'main:...' which is not loaded"

being shown in the Playground, instead of the source location that caused the error.
Here is an example that does this in https://prod.playground.plutus.iohkdev.io/: https://gist.github.com/j-mueller/1d625a2fbd84e5f46c221fe49fdc6140
(I'm not sure whether this issue has been fixed in a more recent version of the Playground)

I encountered this, and fixed it, in #1579.


FileNotFoundError when using pandas df.to_excel

Similar to #184
When trying to write an excel file with pandas to a cloud bucket I get these errors:
df.to_excel('gs://bucket_name/path/to/data/test_excel.xlsx')
...
FileNotFoundError: [Errno 2] No such file or directory: 'gs://bucket_name/path/to/data/test_excel.xlsx'
...
FileCreateError: [Errno 2] No such file or directory: 'gs://bucket_name/path/to/data/test_excel.xlsx'

I'm able to get around this right now by writing to a BytesIO first and then uploading
import io
output = io.BytesIO()
df.to_excel(output)
with fs.open('path/to/data/test_excel.xlsx') as f:
   output.seek(0)
   f.write(output.read())

Is pandas integration with respect to writing excel files not implemented yet?
pandas = 0.24.2
gcsfs = 0.3.1

Since the write to the path works, I suspect that there is something amiss in pandas, perhaps trying to query the directory (which doesn't exist, and on GCS is not a prerequisite).

Agreed that this is most likely on the pandas side.
On Wed, Nov 13, 2019 at 8:44 AM Martin Durant<EMAIL_ADDRESS>wrote:

Since the write to the path works, I suspect that there is something amiss
in pandas, perhaps trying to query the directory (which doesn't exist, and
on GCS is not a prerequisite).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/gcsfs/issues/201?email_source=notifications&email_token=AAKAOITENURWKVPF3H5SS3LQTQHFRA5CNFSM4JMMDZZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6LXVY#issuecomment-553434071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOISTBLUZRIIWKX7JKADQTQHFRANCNFSM4JMMDZZA
.

This error happened when I create the gcsfs file system first, and modify/reload/.. files.
After the file was modified, when we use the same gcsfs file system, it will raise the FileNotFoundError.
This error existed in both of Pandas and Dask,
One solution I found out is to set "cache_timeout=0" when creating the gcsfs file system.

That is a reasonable workaround, and again comes back to how persistent we would like the directory listings cache to be...

Personally, I'm continually bitten by the caching behavior and just turn it off completely. In any kind of distributed system there will quite often be updates to GCS that are performed by other processes.

Same here. Was running into this one once again last week - forgot that I solved problems by deactivating the cache some time ago. 😉
I am using gcsfs in a micro-service context. Having a cache of a bucket's state can lead to interesting results.

@crasteham

One solution I found out is to set "cache_timeout=0" when creating the gcsfs file system.

I was looking for this option and could not find it. Where exactly could I set this since it is not an argument for the GCSFS class?

Might not be related to OP's issue of saving to cloud bucket but I encountered
"FileCreateError: [Errno 2] No such file or directory:"
when using df.to_excel to save the file to onedrive locally. My issue was that the path with file name was simply too long. Shortening the file name helped. Otherwise saving to another folder might help too.

@nhakim , I think I am confused - did you mean to say OneDrive? This repo does not concern itself with that, but it would be cool if there was an fsspec implementation somewhere.


创建用户失败，提示超时

In GitLab by @cuiaq123 on Jul 6, 2020, 01:15

In GitLab by @cuiaq123 on Jul 6, 2020, 02:15
gogit配置原因

In GitLab by @cuiaq123 on Jul 6, 2020, 02:15
closed


add wasm support for memops

adds memory load/store ops to the webassembly prototype. Also, removed some constructs that were s-expr specific.

Do you mind if I add these later? It is kind of a pain, and layout of memory ops is in flux in spec, so this code will have to be changed anyway.


raftstore: Suppress EntryCache's growing when a TiKV is down.

Signed-off-by: MyonKeminta<EMAIL_ADDRESS>What have you changed? (mandatory)
When a TiKV is down, other TiKV's EntryCache might not be cleaned up, which is potential to cause OOM.
This PR is trying to quickly fix this issue. A peer will be considered down if it didn't response heartbeat in the past heartbeat_interval + 10 seconds. And while the peer is calculating the range of cache to be dropped, these down peers will be ignored.
What are the type of the changes? (mandatory)

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

How has this PR been tested? (mandatory)
By testing manually. (WIP)
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

Tested on 4 TiKVs, capacity 85 GB each.
split_size = 32MB
Load data by using go-ycsb:
./go-ycsb run tikv \
-p "tikv.pd=$PD_ADDR" -p "tikv.type=raw" \
-p "workload=core" \
-p "fieldcount=10" \
-p "fieldlength=1024" \
-p "readproportion=0" \
-p "scanproportion=0" \
-p "insertproportion=1" \
-p "updateproportion=0" \
-p "recordcount=0" \
-p "operationcount=1000000000"

Kill one TiKV when the store size is about 40~50GB each.
Master: (tikv_5 is killed at about 20:37)

After: (tikv_5 is killed at about 0:37)

@zhangjinpeng1987 PTAL

/run-all-tests

/rebuild

/run-all-tests

/run-all-tests

@zhangjinpeng1987 @BusyJay PTAL

@BusyJay @overvenus PTAL again

/run-unit-test


register-python-argcomplete - exactly registered name

Your documentation says:

Shellcode (only necessary if global completion is not activated - see Global completion below), to be put in e.g. .bashrc:
eval "$(register-python-argcomplete my-awesome-script.py)"
Note that the script name is passed directly to complete, meaning it is only tab completed when invoked exactly as it was registered. The above line will not allow you to complete ./my-awesome-script.py, or /path/to/my-awesome-script.py.

But if I try it sadly is exactly the other way around. Arguments after ./my-awesome-script.py and /path/to/my-awesome-script.py will be completed, after my-awesome-script.py however they won't.

Did you enable global completion? The other two are likely being handled by that and something is going wrong for the one you registered explicitly. Try setting _ARC_DEBUG and see what it says.

I did not enable global completion but used register-python-argcomplete. I now separately tried it with global completion, the result was the same (the line after the shebang is # PYTHON_ARGCOMPLETE_OK).
I included the debug log. The only example that worked was `'./pyplot/pyplot.py configure', the others provided no argument completion.
autocomplete_debug.log.txt
autocomplete_debug_global_completion.log.txt

When you say "./my-awesome-script.py and /path/to/my-awesome-script.py will be completed" do you mean they are completing file names? If so, this is the default behavior of your shell for anything that doesn't have a completer - argcomplete is not doing anything.
Can you please attach a minimal script and some instructions on how to reproduce the failure you're seeing?

Sorry for not getting back to you sooner, I didn't notice you had edited your post.
I think you may have misinterpreted the readme in your initial post - it is saying that line verbatim will not allow you to complete ./my-awesome-script.py or /path/to/my-awesome-script.py. That line will also only allow you to complete it as my-awesome-script.py provided that you can run it as my-awesome-script.py, i.e. if it is on your path.
I believe the intent of register-python-argcomplete is to complete something that has been installed and is likely to only ever be run with one name, like git (although @kislyuk may want to correct me here). If that's the case having a .py extension in the example could be a little misleading. Suggestions are welcome for how to word this section of the readme more clearly to avoid the confusion you encountered.

For my-awesome-script, we currently don't do any work to make this work with aliases. If you need this, I'd suggest opening a new issue to request the feature.
For ~/minimal/my-awesome-script.py, this works in global completion but not with register-python-argcomplete. This could be fixed by copying the __python_argcomplete_expand_tilde_by_ref bit from global completion. The reason it appears not to work in global completion for you is the one you registered gets in first and doesn't work. If you try it from a clean shell it should be fine.

Thanks for the help, I will try it as soon as I can and see if it works.
To the readme:

Note that the script name is passed directly to complete, meaning it is only tab completed when invoked exactly as it was registered. The above line will not allow you to complete ./my-awesome-script.py, or /path/to/my-awesome-script.py.

For me something like:
Note that the script name is passed directly to complete, meaning it is only tab completed when invoked exactly as it was registered. ~The above line will not allow you to~ This method does not allow you to register the script by it's path, hence you cannot complete ./my-awesome-script.py, or /path/to/my-awesome-script.py.
would have been clearer. I am however not very good in English.

It does allow you to register the path of a script if you want to, but then that's the only thing you'll be able to complete. eval "$(register-python-argcomplete /path/to/my-awesome-script.py)" would allow you to complete exactly /path/to/my-awesome-script.py and nothing else.

@DerWeh I've made an attempt at rewording this to reduce confusion. I also removed the .py extensions from the examples to more strongly indicate what I think the intended usage is. Can you take a look at this and see if it makes more sense to you?

@DerWeh, I've merged the PR but please comment so we can continue to improve the docs.

@evanunderscore I think it is rather clear now. Of course I now already know what it is supposed to mean, so it is rather difficult to judge.


Improve unit tests

This PR improves (and simplifies) unit tests.
Fixes https://github.com/erni27/imcache/issues/39.

Codecov Report

Merging #43 (34faf41) into master (5b7d897) will decrease coverage by 0.28%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   95.81%   95.53%   -0.28%
==========================================
  Files           8        8
  Lines         717      717
==========================================
- Hits          687      685       -2
- Misses         26       28       +2
  Partials        4        4

see 1 file with indirect coverage changes


Feature/add module file path finder

Update to find the file path of the schedules.py and mail_merge_scheduler.py modules and prepend it to all files being referenced in the script. This allows more flexibility and prepares the library for packaging as a site-package for pip installation.

Update to find the file path of the schedules.py and mail_merge_scheduler.py modules and prepend it to all files being referenced in the script. This allows more flexibility and prepares the library for packaging as a site-package for pip installation.


Incorrect TS type

npx tsc
node_modules/react-share-social/index.ts:1:15 - error TS2307: Cannot find module './src/components/' or its corresponding type declarations.

1 export * from "./src/components/";
                ~~~~~~~~~~~~~~~~~~~

src/pages/TopUp/index.tsx:2:10 - error TS2305: Module '"react-share-social"' has no exported member 'ShareSocial'.

2 import { ShareSocial } from 'react-share-social'
           ~~~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/react-share-social/index.ts:1
     1  src/pages/TopUp/index.tsx:2
     ```

issue resolved in v0.1.59


No JSX attributes snippets after curly

Bug Report

🔎 Search Terms
React, JSX attributes snippets, VSCode VS Code

🕗 Version & Regression Information
4.9

This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link

provided
💻 Code

npm i @types/react
jsx file: ; | - cursor position

🙁 Actual behavior
Completion without insert snippet.
🙂 Expected behavior
Completion with snippet like in following cases:
; // about completion with snippet
;

I'm not seeing what problem you're describing - everything I try seems to work according to my expectation. At the indicated |, what key are you pressing and what are you expecting to happen?

Thank you so much for looking into that!

I'm not seeing what problem you're describing - everything I try seems to work according to my expectation

@RyanCavanaugh can you please look at linked PR fixing it (#51855), I've added failing tests. For example:
;<Foo something={false} cla/*14*/ foo />

Should be completed with className={$1} and not just className when preferences.jsxAttributeCompletionStyle is "braces" or "auto"

I see; I was missing that you were specifically expecting the braces. Makes sense


chore: address Rust 1.81.0 clippy lints

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring
[x] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

This PR addresses the clippy lints occurring due to new rust version 1.81.0
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

This PR addresses clippy lint due to new rust version. So basic sanity testing should suffice.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible

In the get_webhook_resource_object function for Globalpay, Clippy was throwing a warning, because the deserialisation type wasn’t specified. After checking with the @juspay/hyperswitch-connector team, I resolved this by explicitly defining the deserialisation type as GlobalpayPaymentsResponse.


55 content retrieval bug in the form

I think that since the last updates, the category retrieval was no longer working properly; the problem has been solved by filtering on the available contexts and the respective item IDs

I just found a bug with the references to be modified but I can't decide: I think we should retrieve the content of the references we get from the dashboard, but we could as well retrieve the bare minimum to display only the information to be displayed (title, contributor, modification date, etc.) and request the API to process the reference in the form component.
@Lauraillouz, if you have an opinion on this.

You explained to me the two options, but not the problem :) Can you give me details about it with a screenshot so I can understand the extend of it?

You explained to me the two options, but not the problem :) Can you give me details about it with a screenshot so I can understand the extend of it?

The content of the form, either for creating or modifying a reference, was no longer automatically filled in, which can be problematic for modifying an existing reference when the content does not appear

So I think we need to get the reference's information only when we click on it and not beforehand. Otherwise it makes the loading of the list of references carry more data than needed.


ADD Delivery page

MY previous Project contribution
https://github.com/khushi-joshi-05/Food-ordering-website/assets/75926745/298d1d6b-e40d-4351-8dbf-85009518c718

Hello @khushi-joshi-05 plz look this issue

Hello @sunny0625 & @khushi-joshi-05 PTAL

Level??

Hello @sunny0625 & @khushi-joshi-05 Level??

level will given after PR.


Form element directly located after a modal should have no margins

Hi!
Here's a use case :
http://jsfiddle.net/PmRfU/
If you look in the .modal-footer, you'll see a little white space, caused by the form margin attribute.
Now, I often put the form element directly after the .modal like in the example, to have the input fields in the body, and the submit button in the modal-footer.
A simple
.modal>form {margin:0}

do the trick ;)

I've added an optional class to accomplish this—an open-ended selector like that wouldn't be a good idea. In 2.0.1-wip, I've added .modal-form, so add that to any form within a modal that needs to have it's bottom margin removed.

Great! Thank you.
But I'm wondering why an open-ended selector wouldn't be a good idea, it's specific to form directly descendants to .modal would not affect other layouts that what is expected. And the result is not having a white space in the .modal-footer elements.
But whatever, your alternative is good too :)


[CRIMAPP-801] Remove save and come back later button from property form

Description of change
Removes the save and come back later button from the property form pages (residential, land, commercial) in order to stop users from saving more than one property as the client's home address. This was addressed in a previous pr but during qa, it was discovered that this could still occur via the save and come back later button as the save and come back later functionality currently skips validations so the error is not picked up.
I’ve looked into displaying an error on the assets summary page (using the incomplete tag) and also displaying the error on the review application page (You need to complete all questions before you can submit the application). However, ultimately, this proved difficult as the validations in the property model require global knowledge of all the properties and also leads to duplication of the validation logic
I also discussed the following options:

Potentially introducing a new attribute home_address_id where the id would be replaced when the form is saved so there will only ever be one home address
Hiding the home address question if the home address has been set

But ultimately decided it is better if the home address question is explicitly answered by the user and the user is easily given the option to change their answer if they have previously made an error
So in the end I opted to remove the save and back later button from these forms.
The only potential issue I forsee with this is users thinking this is a bug but happy to discuss if there are concerns
Link to relevant ticket
https://dsdmoj.atlassian.net/browse/CRIMAPP-801
Notes for reviewer
Screenshots of changes (if applicable)
Before changes:

After changes:

How to manually test the feature

Closed as design have opted to hide the question


Clean up file watching mount logic

This is something I ran into while implementing #225
In general, we have a few places that touch "internal" attributes on Objects, which makes it harder to refactor things. Cleaning it up will make it easier to rewrite how functions are created, which will make it possible down the road to merge providers and handles.

Thanks @thundergolfer !


[Deepbook] Manually clean up expired orders.

Description
Extra function for cleaning up expired orders.
The cancellation of expired orders in the current order book primarily relies on the matching process.
Here, we provide a functionality for external manual cleanup of expired orders to optimize deepBook data storage.
Test Plan
Run deepbook unit test.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[✅ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[✅ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Anyone can clean up the order from bob, so
does not matter whether it is the owner or alice or someone else.
发自我的iPhone
在 2023年6月23日，上午9:25，Sam Blackshear @.***> 写道：

@sblackshear commented on this pull request.

In crates/sui-framework/packages/deepbook/sources/clob_v2.movehttps://github.com/MystenLabs/sui/pull/12620#discussion_r1239172297:

@@ -1317,6 +1317,55 @@ module deepbook::clob_v2 {
}
}

/// Clean up expired orders
/// Note that this function can reduce gas cost if  orders
/// with the same price are grouped together in the vector.
/// For example, if we have the following order_id to price mapping, {0: 100., 1: 200., 2: 100., 3: 200.}.
/// Grouping order_ids like [0, 2, 1, 3] would make it the most gas efficient.
/// Order owners should be the owner addresses from the account capacities which placed the orders,
/// and they should correspond to the order IDs one by one.
public fun clean_up_expired_orders<BaseAsset, QuoteAsset>(

   pool: &mut Pool<BaseAsset, QuoteAsset>,

   clock: &Clock,

   order_ids: vector<u64>,

   order_owners: vector<address>

Do we want to allow Alice to clean up an order from Bob?
—
Reply to this email directly, view it on GitHubhttps://github.com/MystenLabs/sui/pull/12620#pullrequestreview-1494198584, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3SZVICQ4LZE47DTIYPH4UDXMTWA3ANCNFSM6AAAAAAZPOFUMQ.
You are receiving this because you were mentioned.Message ID: @.***>


elasticdump using basic auth fails

I am using elasticdump --input=https://user:secret@service/index --output=index.json --type=data to try and export an index protected by Basic Auth living in a two node Elasticsearch 2.2.0 cluster made available via a NGINX frontend.
It fails with a 403 response from NGINX.

I'm not able to reproduce this.  Testing with basic auth works fine...
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:18 -0500] "GET /events_staging__2015_06/_settings HTTP/1.1" 200 196 "-" "-" "-" 0.002
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:18 -0500] "GET /events_staging__2015_06/_search?search_type=scan&scroll=10m&size=100 HTTP/1.1" 200 211 "-" "-" "-" 0.010
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:18 -0500] "GET /_search/scroll?scroll=10m HTTP/1.1" 200 557908 "-" "-" "-" 0.248
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:18 -0500] "GET /_search/scroll?scroll=10m HTTP/1.1" 200 546652 "-" "-" "-" 0.242
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:19 -0500] "GET /_search/scroll?scroll=10m HTTP/1.1" 200 533411 "-" "-" "-" 0.245
111.222.333.444 - taskrabbit [11/Mar/2016:12:45:19 -0500] "GET /_search/scroll?scroll=10m HTTP/1.1" 200 336367 "-" "-" "-" 0.162

If you can provide any more details, let us know

Thanks for responding. Problem was caused by an incorrectly configured nginx frontend.

Hi,
I am trying to run command like below:
elasticdump<EMAIL_ADDRESS>--output= --type=mapping && elasticdump<EMAIL_ADDRESS>--output= --type=data
and getting error user1 is not authorized to GET /_search/scroll
because of  security reasons user1 has access to get scroll or perform different operations with index starting with test* only, how can we fix this issue? as the user cannot be given rights to perform scroll on the whole ES cluster.

How are you controlling the auth rules for your cluster?  Scroll permissions are required.  If you can't grant them on a per-index basis, you will need to grant them on the whole cluster to allow this tool to work

Thanks for your response @evantahler
One question, so if provide scroll permission per index will this work?

no idea... again, how are you managing permissions?  Elasticsearch doesn't offer this kind of access control normally, so it's not something we can test for.   Give it a shot and let us know!

Hi @evantahler this would work but we cannot manage index level permissions. I think it would be good if the module is performing _search/scroll on the index rather than the whole cluster index, though it would be accessing just specific index but that would be a security issue as there can be different applications running on the same cluster.
Let me know if this can be fixed.

That's not something that I'm going to dedicate any time to personally. Again, you haven't answered how you are doing this access control, as access control is not something that is built into Elasticsearch.   As far as I know, access to the scoll API in Elasticsearch is at the cluster level.
That said, if you are willing so submit a pull request, I would be happy to take a look!


Adding support for Anthropic, Palm, AI21, Aleph Alpha, TogetherAI,

Hi @lindiatjuatja,
Saw you support OpenAI, Azure, Cohere and HF.  I'm working on litellm (simple library to standardize LLM API Calls - https://github.com/BerriAI/litellm) and was wondering if we could be helpful.
I added support for the providers listed above by replacing the chatcompletion.acreate with acompletion. The code is pretty similar to the OpenAI class - as litellm follows the same pattern as the openai-python sdk.
Would love to know if this helps.
Happy to add additional tests / update documentation, if the initial PR looks good to you.

Hey @neubig will do.  Thanks for the feedback!

Updated based on change requested by @neubig, let me know if there's any other blockers

This looks awesome thanks so much!!

Thanks for the merge. Here's how to test how the new models are working: https://docs.litellm.ai/docs/proxy_api#step-2-test-a-new-llm


Add dns lookup family to the clusters

required due to https://github.com/envoyproxy/envoy/issues/3306
in v2, the default value of dns_lookup_family changed from v4_only to auto

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vadimeisenbergibm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-bookInfo-envoyv2-v1alpha3

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

prow/istio-unit-tests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-unit-tests

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

What’s the issue ?

@rshriram This was the issue with TLS origination on my cluster, this PR fixed it.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
Assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

prow/e2e-bookInfoTests-v1alpha3.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
1c9d5422177d8f271c230c0fff8b9ab4b2559cb3
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

/test e2e-bookInfo-envoyv2-v1alpha3

/test istio-pilot-e2e-envoyv2-v1alpha3

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vadimeisenbergibm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
181026f8b8336a74f3130f932f39e8e02ac3a090
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


generic.exception: Undefined index:

Laravel Version: 5.5.#
Voyager Version: 1.#.#
PHP Version:7
Database Driver & Version:

Description:
the beard section not work and i have problem,
the form is generate not save all input and i have error from database
generic.exception: Undefined index: relationship_column_belongs_to_product_belongsto_user_relationship_
Steps To Reproduce:

Please provide full version numbers.  There is a wide range of differences between Voyager v1.0.0 and v1.0.15.
I'm assuming "beard" is supposed to be "bread".  You haven't described your problem with enough detail for us to even try to help.  For starters, please provide the full error message AND stacktrace.  Also, please provide step-by-step directions on how to reproduce the issue.  I understand this may be difficult to track down in a simple yet meaningful reproducible way, but please try.  Showing that you've attempted to troubleshoot the issue before asking help will go a long way toward earning respect in the community.

Closing due to inactivity


ABAP Unit for ZCL_ABAPGIT_BRANCH_OVERVIEW #1647

https://github.com/larshp/abapGit/issues/1647
Preparation for ABAP Unit. Next step would be creating an interface for https://github.com/larshp/abapGit/blob/master/src/zcl_abapgit_repo_online.clas.abap to mock a online repo.

Can you check the commits? Seem the same issue as in https://github.com/larshp/abapGit/pull/1655

I've "reorganized" the commits and changed from branch to repo key

one note, the title of this PR is "ABAP Unit for ZCL_ABAPGIT_BRANCH_OVERVIEW" however it does not add any ABAP Unit? Just introduces an interface for the class

You're right it is not consistent. It's the title of the issue but didn't fit to the commits.
I've changed the title of the PR.


My python program can't work with HyperSerialEsp8266

I have written a program in which the packet sent to HyperSerialEsp8266 has the following:
def test_packet(data: np.ndarray, color_order: str):
    pixel_length = len(data)
    packet = bytearray([
        ord('A'), ord('w'), ord('a'),
        (pixel_length >> 8), (pixel_length & 0x00FF)
    ])
    packet.append(packet[3] ^ packet[4] ^ 0x55)  # CRC

    byteData = data.astype(np.dtype('B'))

    # Rearrange colors based on the color_order
    # ... (as before)

    # Add color data to the packet
    for color in byteData:
        packet.append(color[0])  # Red
        packet.append(color[1])  # Green
        packet.append(color[2])  # Blue

    # Fletcher checksum
    fletcher1 = sum(packet[6:]) % 255
    fletcher2 = (sum(packet[6:]) + fletcher1) % 255
    packet.append(fletcher1)
    packet.append(fletcher2)

    return packet

however ws2812b shows nothing after running the . Am I wrong somewhere? can you help me fix it?
Im using python 3.11.4, windows 10, wemos d1 mini pinout D4, Led ws2812b, baud 1000000 and works well with HyperHDR

Probably not a valid Fletcher checksum computed this way.


Storage STG 83 features

Apologies for not having the context for this change. There seem to be a few rounds of changes - some are cleanups or bringing a consistency across versions. I was wondering if we could have a high-level description of the changes and some annotations in the form of comments in the review. The diff I see primarily includes a single addition of the Filter.
There are also a set of linter rules warnings/errors when run spectral locally.

@tg-msft, could you help get traction on this?

@tg-msft, could you help get traction on this?

@seanmcc-msft, is there an issue opened for this PR where we could get more information about the change? I can't seem to find any documentation or any narrative accompanying this PR.

@tg-msft, could you help get traction on this?

@seanmcc-msft, is there an issue opened for this PR where we could get more information about the change? I can't seem to find any documentation or any narrative accompanying this PR.

New blob swagger version #18275 introduced the 2021-08-06 blob swagger version.  It is identical to 2021-04-08, to make the following PRs human-reviewable.
Added missing Premium value to AccessTier #18434 fixes a swagger bug.  Premium has been a valid access tier for a long time.

@tjprescott, can we merge?


Archiving this repository

This repository is part of the repositories listed as inactive during the JupyterLab team call.
This issue is to ping anyone listening for changes in this repository that starting from today if no volunteer propose him/herself to maintain this repository it will be archived in 2 weeks (aka July 27th, 2023).

Sounds good to me!

Good to archive.


Update optum logo

Update optum logo to the new one. Use transparent PNG. Verified that the rendering is good by running the site locally.

Thanks @soundarmoorthy!


chore(main): release 0.1.9

:robot: I have created a release beep boop
0.1.9 (2023-06-15)
Bug Fixes

1 (0376e9d)
1 (6e63494)
1 (4cd74b4)
2 (8139876)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgnf/releases/tag/v0.1.9 :sunflower:


Unable to connect on Raspberry PI 4b

Hi, I'm running the ./radoneye-reader.py script on a Raspberry Pi 4b with Debian GNU/Linux 12 (bookworm), but get the error:
INFO: DEV D8:AB:29:7E:F6:0E: reading device sensor data
ERROR: DEV D8:AB:29:7E:F6:0E: unable to obtain sensor data from 1 attempt due to error: [BleakError]: Characteristic 00002902-0000-1000-8000-00805f9b34fb not found!

With the service-explorer.py I get a list of characteristics like 00001801-0000-1000-8000-00805f9b34fb (Handle: 8): Generic Attribute Profile, but none of them seem to return any data.
On a MacBook it is no issue and I get information immediately without any adjustments.
Any help is very much appreciated.

With the news version it‘s working


Norm adaptive card preview

:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/concepts/messaging-extensions.md
:warning:Warning

Details

msteams-platform/concepts/messaging-extensions.md

Line 27: [Warning] Invalid file link:(~/get-started/code#microsoft-teams-extensions-for-the-bot-builder-sdk).
Line 33: [Warning] Invalid file link:(~/concepts/bots/bots-create).
Line 39: [Warning] Invalid file link:(~/resources/schema/manifest-schema#composeextensions).
Line 135: [Warning] Invalid file link:(~/concepts/apps/apps-upload).
Line 196: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conversations#receiving-messages).
Line 265: [Warning] Invalid file link:(~/concepts/cards/cards-reference#thumbnail-card).
Line 266: [Warning] Invalid file link:(~/concepts/cards/cards-reference#hero-card).
Line 267: [Warning] Invalid file link:(~/concepts/cards/cards-reference#office-365-connector-card).
Line 268: [Warning] Invalid file link:(~/concepts/cards/cards-reference#adaptive-card).
Line 270: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 272: [Warning] Invalid file link:(~/concepts/cards-actions).
Line 274: [Warning] Invalid file link:(~/concepts/connectors/connectors#using-office-365-connector-cards-in-microsoft-teams).
Line 499: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix multipleOf constraint for integers

Proposal to fix the multipleOf constraint for integers. In fact, it wasn't working so far for the type integer. If the value passed was a Swift Int, we got value as? Double being evaluated to nil.
I made some changes, to try to coherce both number and value into an Int to use the standard modulo operator. And fallback on floating point comparison.
Also, I've replaced the previous flooring method by truncatingRemainder(dividingBy:) for floating point division.
Let me know what you think @kylef I'm happy to make any changes if coding style or implementation isn't matching the current project standards. Thanks in advance!

Looks like these changes are breaking one of the tests (https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/8f867168d17497a775141704960906db83634a04/tests/draft4/multipleOf.json#L48-L52)
JSONSchemaTests.JSONSchemaCases
  testEverything, XCTAssertEqual failed: ("false") is not equal to ("true") - Failed validation: ["0.0075 is not a multiple of 0.0001"]
  /Users/travis/build/kylef/JSONSchema.swift/Tests/JSONSchemaCases.swift:113

      case .invalid(let errors):
        XCTAssertEqual(result.valid, test.value, "Failed validation: \(errors)")
      }

Could you take a look into this please?

Absolutely, yes. I'll have a look. Thank you! 😄


Can't upgrade to latest version on Linux Mint 17

Generally youtube-dl works on my system, but after removing the latest Linux Mint 17 repo version and following the installation instructions in the latest version download the following results:
tm@tm-K55A:~$     sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
--2015-09-04 08:59:56--  https://yt-dl.org/downloads/latest/youtube-dl
Resolving yt-dl.org (yt-dl.org)... <IP_ADDRESS>, 2001:1a50:11:0:5f:8f:acaa:177
Connecting to yt-dl.org (yt-dl.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://yt-dl.org/downloads/2015.09.03/youtube-dl [following]
--2015-09-04 09:00:00--  https://yt-dl.org/downloads/2015.09.03/youtube-dl
Connecting to yt-dl.org (yt-dl.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 992433 (969K) [application/octet-stream]
Saving to: ‘/usr/local/bin/youtube-dl’
100%[======================================>] 9,92,433     200KB/s   in 5.7s
2015-09-04 09:00:07 (170 KB/s) - ‘/usr/local/bin/youtube-dl’ saved [992433/992433]
tm@tm-K55A:~$     sudo chmod a+rx /usr/local/bin/youtube-dl
tm@tm-K55A:~$ youtube-dl -f 18 https://www.youtube.com/watch?v=q0xEfdK-D1c --verbose
bash: /usr/bin/youtube-dl: No such file or directory
tm@tm-K55A:~$

Checked the FAQ as suggested and found that a third command, namely:  hash -r   is included in the update process that isn't in the instructions sent out with the latest version.  After executing that command youtube-dl now works fine.  You might want to add the hash -r command to all the instructions.  Thanks.


Add speech asynchronous recognize support.

Add support for Speech API long running operations.

@dhermes was there supposed to be a link in here?

I'm not 100% but I think there is a utility in google.protobuf for parsing a JSON version of a protobuf message type (here it is Operation)

@tseaver I think I got all the things you mentioned. LMKWYT

@daspecster Should be OK to merge if you can tweak the assertions for the operations tests (see above).


airflow-aws-executors version 1.1.2 - could not find this version

Hello,
I noticed this issue when our requirements.txt with docker build. This is the error:
Could not find a version that satisfies the requirement airflow-aws-executors==1.1.2 (from versions: 0.1.13, 0.1.14, 0.12, 1.0.0, 1.1.0, 1.1.2.post1)
but I do se you have 1.1.2 in your setup.py https://github.com/aelzeiny/airflow-aws-executors/blob/1.1.2/setup.py#L15

Let me double check to make sure that I didn’t break anything. Get back to you in a few minutes

Fixing the issue

Thanks! Do you think it will be fixed today, or should I use another version in the meantime?

So I goofed up quite a bit with the 1.1.2 release. Beginning with https://github.com/aelzeiny/airflow-aws-executors/issues/13. I tried to fix it, but PyPi doesn't allow the reuploading of versions (probably for good reason). Due to the confusion, I yanked 1.1.2. Super-sorry, it won't happen again.
I went ahead and made a post-release for 1.1.2 called 1.1.2.post3 and an identical release called 1.1.3. There are no notable changes between 1.1.2 and 1.1.3 that wouldn't be backwards compatible. So if you're reading this, please change your package version to 1.1.3, and I humbly apologize for the inconvenience.
airflow-aws-executors (1.1.3)
Available versions: 1.1.3, 1.1.2.post3, 1.1.0, 1.0.0, 0.1.14, 0.1.13
  INSTALLED: 1.1.3
  LATEST:    1.1.3

Closing the issue for now. Please reopen if you experience something else that's strange. Thank you for reporting this issue, I'll make an active effort to be more diligent with releases from here on out.


failed to create correct junos restconf rpc

the junos restconf rpc it created is not correct, for example, for get interface configration, it created the url:
"url": "/restconf/api/running/configuration/interfaces/interface".
actually, it looks something like this:
curl http://ip:port/rpc/get-interface-information -u "xxx:yyyy" -H "Content-Type: application/xml" -H "Accept: application/xml"
Do you know where to change the code to  create the correct restconf?   is it done on the web browser side?

Please note that restconf support is experimental in yang-explorer, it need to be refactored once restconf draft becomes a RFC.
All RPCs are generated by server code, located in server/explorer/utils/restconf.py
It seems that your RPC in curl command is not based on config model you have loaded hence it can not generate correct path.


Compare ZG(2) to Minka Simulations

fixes https://github.com/microsoft/graspologic/issues/360

replaced by #8 ?


Improve the PDFObjects class

Please refer to the individual commit messages for additional details.

/botio test

/botio-linux test

Nice improvements; thanks!


dockerd -g is ignored

Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:11:10 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:11:10 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-21-generic
Operating System: Ubuntu 16.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56 GiB
Name: lambert
ID: KG53:LZK4:LZFD:G6JG:J2IJ:GTEO:3G33:R5NT:5ST5:FIDP:WK26:UJMP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
physical, running Linux Mint 18 == Ubuntu 16.04 LTS
Steps to reproduce the issue:

Following instructions at https://github.com/docker/docker/issues/3127
Modify /etc/defaults/docker, such that DOCKER_OPTS="-g /home/docker/".
2.1 I also tried all the following: DOCKER_OPTS="-g=/home/docker/", DOCKER_OPTS="--graph /home/docker/", DOCKER_OPTS="--graph=/home/docker/".
Restart docker using sudo service docker restart.
3.1 I also tried first sudo service docker stop, make the change, then sudo service docker start.
See which runtime is Docker using.
I also tried to make the change directly in /etc/init.d/docker (line 31), with the same results.

Describe the results you received:
Docker always uses /var/lib/docker.
Describe the results you expected:
I would like Docker to use whatever I specify in my DOCKER_OPTS.
Additional information you deem important (e.g. issue happens only occasionally):
Using the procedure from https://github.com/docker/docker/issues/3127 to move the location, and then create a soft-link works fine. However, some users reported various issues with this solution - in that same issue description.

Ubuntu 16.04 uses systemd, and the /etc/default/docker file is only used for systems running upstart and sysvinit (see the comment in that file: https://github.com/docker/docker/blob/v1.12.0/contrib/init/sysvinit-debian/docker.default#L3-L8)
You can configure the daemon by using a daemon.json configuration file, which works independent of the process manager in use, and also allows you to live-reload certain settings.
See https://docs.docker.com/engine/reference/commandline/dockerd/#/daemon-configuration-file for details
Alternatively, if you want to configure through systemd, you can create a drop-in (override file), as is explained in https://docs.docker.com/engine/admin/systemd/#/custom-docker-daemon-options
I'll close this issue, because this is not a bug, but hope the information above helps. Feel free to comment after I closed

Proof positive: systemd is a pain in the {end}. :p
The drop-in file seems to work. Thanx!


Thow exception on errors

Wawsdeploy thows a regular output message on deployment errors:
Deployment failed: Из-за ошибки подключения веб-развертывания к серверу подключение было прервано. При повторении ошибки обратитесь к администратору сервера.  Дополнительные сведения: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.
Deployment has been terminated because of a server connection error.
I can't catch this error via try-catch because it is not an exception. Can you fix it?

Does it work if you use msdeploy.exe directly, or publish from VS? If not, then the issue is not directly related to wawsdeploy.

Ok, maybe I misread the issue. You're not complaining that it fails, but that it doesn't throw? Though I'm confused, as wawsdeploy is a command line tool and not a library. Are you referring to the %errorlevel% being wrong?

Yes, it doesn't matter for  me what happened, the only thing I need is to get an exception when it fails. It will allow my Jenkins job to set a proper build status.
try {
    wawsdeploy ...
} catch {
    $lastExitCode = 1
}

This code doesn't work because there are no exceptions.

To be clear, command line tools cannot 'throw'. What they do is return an error code, where 0 means success and non-zero means error. But I checked wawsdeploy already does this correctly, and returns 1 in any error happens. See the code here. I don't think there is anything else it can do than return an error code.

It looks like you should change:
Environment.ExitCode = 1;
to:
Environment.Exit(1);

The current code is correct. Just try running a command that returns an error, and then look at the value of %errorlevel%, which will be 1.

I am using a powershell script for the deployment and there is no %errorlevel%. If I run wawsdeploy with a wrong arguments it returns an exception, but it doesn't react on ERROR_CONNECTION_TERMINATED. It returns a plain text that can't be processed via try-catch

I think you're misunderstanding how Console apps return errors. Try writing a trivial test Console app that returns an error in the way that you think is correct, test it in your scenario, and if it works differently from wawsdeploy, please share code on GitHub.

Note that is PS, errorlevel equivalent is $LASTEXITCODE. You just need to write code that.

last comment helped. In PowerShell I checked that upload was successful like that:
if ($LASTEXITCODE -ne 0) {
    throw "WAWSDeploy failed to upload file"
}


Add preconcurrency flag correctly on Linux

@gwynne

@adam-fowler IIRC, @preconcurrency ended up being broken on Swift 5.6, such that in NIO it's only used when #if swift(>=5.7) (ex.: https://github.com/apple/swift-nio/blob/main/Sources/NIOCore/EventLoopFuture.swift#L541-L601); is it deliberate that you're doing the exact opposite on non-Linux? 😕

@adam-fowler IIRC, @preconcurrency ended up being broken on Swift 5.6, such that in NIO it's only used when #if swift(>=5.7) (ex.: https://github.com/apple/swift-nio/blob/main/Sources/NIOCore/EventLoopFuture.swift#L541-L601); is it deliberate that you're doing the exact opposite on non-Linux? 😕

I thought @preconcurrency was fine for imports on 5.6. Anyway Date and Data were marked Sendable on macOS swift 5.7 and later which is why the check is the opposite way


gerrit support

Hi,
when using with gerrit project
I got

[ERROR] Exception during gitflow-incremental-builder execution occured. Git branch of name 'refs/remotes/origin/develop' not found. -> [Help 1]

Gerrit also runs builds?
Sorry I am not clear on that product. Can you provide more details?


Fix issue 34

I've added fixes for two errors that are experienced by Windows users who do not have a Path environment variable set prior to installing the Elm platform. This issue appears to occur in a wide range of Windows version from Windows 7 to Windows 10 and likely affects users who have recently installed Windows or who haven't installed any applications which have needed to modify the user's path environment variable.

The problem is that they don't have a PATH variable set at all? Is that a true statement?

I'm not super familiar with VB, but it looks like this is relying on WshShell.RegRead(PathRegKey) to throw an error and then recover if it fails. Is there no better way? I would expect a way to ask "does this exist" instead of waiting for a failure. Have you looked into options like that?

Yes @evancz, the issue is that there is no path at all. I looked for an API to check for a value and this was the simplest I could find without using new dependencies such as winmgmts. There is a possibility of using winmgmts and enumkey though, see this SO post for more details.

An alternative might be to do away with the vbscripts for adding and removing the path and use NSIS to do the work.  This seems to indicate that it may be possible http://nsis.sourceforge.net/Path_Manipulation

After looking at it more using NSIS may not be any easier than the vbscript.

Okay, I did the necessary research to learn what the heck on error resume next and on error goto 0 were doing and this seems like how things go in this language :P
So things look good to me, thanks a lot @jpierson!
@mcclellanmj, we used to do that, but there is a hard limit on the PATH length if you use NSIS. If someone has a PATH over that limit, it just deletes the entire thing. So it's an issue that hurts only people who have the most to lose. Using vbscript is the only solution I have ever heard of to get around that issue.


store and serve static front end

as a service provider or enabler of autonomous teams I need s3 compatible storage so that an enduser's initial page load is fast enough to get a good lighthouse score and not turn people away from their web presence

https://github.com/harshavardhana/s3www maybe or


How to plot the figures?

Hi @KaiyangZhou,
Could you please kindly provide the code used for the visualization of the feature learning process?

Did you find a way to plot the figures?

You can use t-sne to plot.


Pack size of GitRepo is much bigger than local clone

We have faced the strange situation that a repository on the server was around 12 GB big, where a local clone was only around 60 MB big (see the question on stackoverflow about it).
We cannot explain why this was the case, but we would like to know if the repository on the server is shrunk on a regular time basis. At least the UI tells us though:

Go to Repository > Edit
There the tab GC
You will read the sentence: "The garbage collector will pack loose objects pushed from clients and will remove unreferenced objects from the repository."
We have not changed the default there (7 days, ...)

However, after our operation team has done a git gc --prune --agressive on the repository, the repository shrunk from 12 GB to ~ 110 MB.
So these are 2 questions:

Is it dangerous to do something by hand like that?
Is that different to doing an automatic GC triggered by GitBlit?

GC is still an experimental feature of Gitblit.  What version of Gitblit are you running?  Did you enable the GC feature?  It's disabled by default.

Thank's for the hint, so I misunderstood the UI. I just had a look, saw the tab "GC" and the default values, but after hoovering over the values, I saw I cannot change them. So I think the feature is disabled at the moment.
I have found the documentation about the settings for garbabe collection. It reads for me that this will lead to the call of git gc --prune without --agressive, is that true?
Btw, you can close the ticket then.

Gitblit, being nearly pure Java, does not use native git.  Instead the JGit garbage collector is used.  While the JGit GC may (now) support prune and/or aggressive these options are not specified since initially JGit didn't support hardly any values here and Gitblit's GC service has not been touched in a while.


improve batch operations experience

For example, we can have:
kctf-chal-ls

that lists all challenges that are deployed, or available, exposed, etc.
And then we can have:
kctf-chal-batch

that executes the same Make command on all provided challenges.
so, for example, you can do:
kctf-chal-ls deployed | xargs kctf-chal-bach stop

I think this is done thanks to the operator


coloring the help

Hi Guys !!
to separate code and data, its awesome to coloring the help in the terminal ( wt, vscode,...etc). with ANSI escape sequences we emphasis the important point and coloring code in the section .EXAMPLE will make rich help.

I like the general idea of this purpose but I think it needs some more background and deeper thoughts. E.g. why ANSI codes? You might also consider to base the help on a (downwards compatible) markdown format (meaning instead of .EXAMPLE use # Example) and color it when it is displayed. The advantage will be that it can be easily put online (e.g. github) without continuously having to maintain or reformat two separate versions.

@p0W3RH311, this is an interesting idea to colorize the help system to provide a better viewing experience. I think a deeper discussion regarding the challenges of this would be helpful to understand the impact of adding colorizations to the help system. How does this impact terminals that can't display the alternative colors? The help information in PowerShell is built using a schematized markdown format using platyPS and would need to consider that as part of the solution.  I recommend opening this as a discussion in this repo to dive deeper into the details and help determine if a feature issue is desired.  Currently, the help is displayed as designed.

As commented earlier, why not (also) colorizing any block comment based on markdown (not removing any of its markdown formatting for editing) in the PowerShell and/or IDEs.
Than instead of using a dot for help headers (like: .SYNOPSIS), also support a/any number of hashes (like: ## SYNOPSIS) for a help header.
Wishful thinking:

This makes the transition to an online help much easier
In case the help is requested by the user, items as SYNTAX are colored by the system but any markdown used by the developer e.g. in the description is colored (and formatting removed)...

I like this idea because right now - trying to distinguish one example from the next kind of bites. In this help output from Get-WinEvent can you tell where one example ends and the other begins?
    -----  ----
        2  Warning
      193  Information

    The `Get-WinEvent` cmdlet uses the LogName parameter to specify the Windows PowerShell event log. The event
    objects are stored in the `$Event` variable. The Count property of `$Event`shows the total number of logged events.

    The `$Event` variable is sent down the pipeline to the `Group-Object` cmdlet. `Group-Object` uses the Property
    parameter to specify the Id property and counts the objects by the event Id value. The NoElement parameter removes
    other properties from the objects output. The grouped objects are sent down the pipeline to the `Sort-Object`
    cmdlet. `Sort-Object` uses the Property parameter to sort the objects by Count . The Descending parameter displays
    the output by count, from highest to lowest. In the output, the Count column contains the total number of each
    event. The Name column contains the grouped event Id numbers.

    The `$Event` variable is sent down the pipeline to the `Group-Object` cmdlet. `Group-Object` uses the Property
    parameter to specify the LevelDisplayName property and counts the objects by LevelDisplayName . The objects are
    grouped by the levels such as Warning and Information . The NoElement parameter removes other properties from the
    output. In the output, the Count column contains the total number of each event. The Name column contains the
    grouped LevelDisplayName .
    Example 10: Get error events that have a specified string in their name

    Get-WinEvent -LogName *PowerShell*, Microsoft-Windows-Kernel-WHEA* |
      Group-Object -Property LevelDisplayName, LogName -NoElement |
        Format-Table -AutoSize

    Count  Name
    -----  ----
        1  Error, PowerShellCore/Operational
       26  Information, Microsoft-Windows-Kernel-WHEA/Operational
      488  Information, Microsoft-Windows-PowerShell/Operational
       77  Information, PowerShellCore/Operational
     9835  Information, Windows PowerShell
       19  Verbose, PowerShellCore/Operational
      444  Warning, Microsoft-Windows-PowerShell/Operational
      512  Warning, PowerShellCore/Operational

    The `Get-WinEvent` cmdlet gets log information from the computer. The LogName parameter uses a comma-separated
    string with the asterisk (`*`) wildcard to specify the log names. The objects are sent down the pipeline to the
    `Group-Object` cmdlet. `Group-Object` uses the Property parameter to group the objects by LevelDisplayName and
    LogName . The NoElement parameter removes other properties from the output. The grouped objects are sent down the
    pipeline to the `Format-Table` cmdlet. `Format-Table` uses the AutoSize parameter to format the columns. The Count
    column contains the total number of each event. The Name column contains the grouped LevelDisplayName and LogName .
    ------ Example 11: Get events from an archived event log ------

    Get-WinEvent -Path 'C:\Test\Windows PowerShell.evtx'

    ProviderName: PowerShell

    TimeCreated              Id LevelDisplayName  Message
    -----------              -- ----------------  -------
    3/15/2019 13:54:13      403 Information       Engine state is changed from Available to Stopped...
    3/15/2019 13:54:13      400 Information       Engine state is changed from None to Available...
    3/15/2019 13:54:13      600 Information       Provider "Variable" is Started...
    3/15/2019 13:54:13      600 Information       Provider "Function" is Started...
    3/15/2019 13:54:13      600 Information       Provider "FileSystem" is Started...

    The `Get-WinEvent` cmdlet gets log information from the computer. The Path parameter specifies the directory and
    file name.
    Example 12: Get a specific number of events from an archived event log

    Get-WinEvent -Path 'C:\Test\PowerShellCore Operational.evtx' -MaxEvents 100

    ProviderName: PowerShellCore

When you're quickly scanning for different examples, it's hard to spot the transition in PS help. The example formatting in PS in general needs some TLC.  Simply making sure there is a blank line above samples would help:
 The `Get-WinEvent` cmdlet gets log information from the computer. The LogName parameter uses a comma-separated
    string with the asterisk (`*`) wildcard to specify the log names. The objects are sent down the pipeline to the
    `Group-Object` cmdlet. `Group-Object` uses the Property parameter to group the objects by LevelDisplayName and
    LogName . The NoElement parameter removes other properties from the output. The grouped objects are sent down the
    pipeline to the `Format-Table` cmdlet. `Format-Table` uses the AutoSize parameter to format the columns. The Count
    column contains the total number of each event. The Name column contains the grouped LevelDisplayName and LogName .

    ------ Example 11: Get events from an archived event log ------

    Get-WinEvent -Path 'C:\Test\Windows PowerShell.evtx'

    ProviderName: PowerShell

    TimeCreated              Id LevelDisplayName  Message
    -----------              -- ----------------  -------

But color would help even more: