Selecting multiple Bboxs(objects) with the Ctrl key

CVAT currently offers a feature selecting only a single bounding box(object) through a mouse left click.
The thing is allowing annotators to select only one object is not efficient to handle a lot of labels in a frame. If CVAT provides users with a feature to select multiple objects in the annotation panel, it will ramp up the efficiency of the annotation work.
My idea is to enable annotators to choose multiple objects in the annotation panel with the ctrl key like what we have been doing to select multiple files on Windows or Mac. After selecting the multiple objects, they can change the label(car, person..) of the selected objects at the same time.
The Group Shapes button doesn't support this feature so I'd like to inquire if CVAT can add a feature to improve the efficiency of the work someday.
In a nutshell, from a user's perspective in the screenshot below,

Users can select the 3 people riding a bicycle on the left-hand side using the Ctrl key.

Users can change the label of the selected 3 objects from car to person at the same time.

@jinhojang6 ,
You can change the label of an object using the keyboard shortcut Ctrl+(1,2,3,4,5,6,7,8,9). I think it will be even faster.
In your case, you need to move the cursor over the object and press Ctrl+(1,2,3,4,5,6,7,8,9) (the number should correspond to the index number of the label "person" in the list of labels) and repeat for all objects with this label.

This feature would be very helpful!

Is that still not implemented? Such needed feature for multiple copypasting :(
Someone found some workaround maybe?

Any tips about selecting a great amount of objects to change their labels? I'm stuck in my project because I need to change like 3000 objects labels and I just can't find a way to select all of them without manual work.

+1 to being able to select a bunch of annotations and change a property i.e. change the class

+1 on this


✨ Add event filter for HelmReleaseProxy when it is paused

What this PR does / why we need it: Adds an event filter for HelmReleaseProxy to make it consistent with HelmChartProxy. This will allow reconciliation to be paused when the pause annotation is applied.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@CecileRobertMichon I think we need the /lgtm here as well.

/lgtm


It's not working with Angular component ?

Hello, it's working in angular inex.html file, but when trying to implement inside the component it's throwing this error - "Refused to display 'https://in.linkedin.com/' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' ".
so, how to achieve inside the component.

Could you show me a demo, e.g. using JSFiddle?

Set a breakpoint in the constructor of the x-frame-bypass class. Chances are it is not being instantiated and you are looking at a normal iframe.
I think this is because the HTML templates converted to real HTML differently enough that custom elements that use the is attribute don't get created; they use the base element instead, so you are seeing a normal iframe.
My workaround for this was to inject the raw HTML for the iframe so Angular wasn't responsible for creating it.
My example:
HTML template:
<aside #aside>
</aside>

TypeScript:
    @ViewChild("aside", {static: true}) private aside: ElementRef<HTMLElement>;

private async showAside(): Promise<void> {
    this.aside.nativeElement.innerHTML =
    `<iframe is="x-frame-bypass" allow="fullscreen 'none'; geolocation 'none'; camera 'none'; microphone 'none'" sandbox="allow-scripts"></iframe>`;
    this.aside.nativeElement.getElementsByTagName("iframe")[0].src = URL_HERE; // Doing it this way so I don't have to worry about escaping the url by hand. There's no issue with embedding it directly in the innerHTML.
}

Angular claims it has support for custom elements but that might only extend to ones that don't inherit from an existing element, not sure.

@niutech I made my own demo, it's in the linked angular bug report. Pretty sure this is an angular bug.


Add CI on whether a change will break plugins

Is your feature request related to a problem? Please describe.
In https://github.com/opensearch-project/OpenSearch/pull/2692 we have backported a Gradle upgrade to 7.4.2 that broke plugins. It was late in the game for 2.1 release and shouldn't have. Had I known that it will break plugins we wouldn't have merged it.
Describe the solution you'd like
Add CI that attempts to run tests for one/some/all the plugins to execute as part of a PR. This way we will know that "this PR will break plugins like so".

@ylwu-amzn you'll probably have a lot of thoughts on this one!

hi, @dblock thanks for creating this issue to improve our release process. I think plugin team should be aware of such breaking changes as early as possible. Adding CI to run some/all plugins can help catch any breaking part easily. Just have some concern that that means OpenSearch core CI will take much longer time and sometimes the breaking change is expected like change master to cluster_management. So plugin CI failure should not block changes in OpenSearch core.
I think plugin team should make sure they keep same version in <major_version>.x branch with OpenSearch core. Then infra team can run some daily build workflow to check if plugins can build successfully with OpenSearch.

While running the entirety of CI takes a long time, just doing build and unit tests likely would take less time than the OpenSearch core tests which would run in parallel. Plugin integration tests are also very flaky, so I think that introducing CI in core to build and maybe run unit tests would help catch these issues immediately. Also, the breaking change would be caught by the person introducing the change, and they will be the most informed on what the plugin owners will need to fix. It may also help to catch cases where a core change breaks plugins without knowing it.
I think that tlfeng brings up a valid point but once we have all plugins on the same branching and we are using automatic version bumps then waiting on plugins to bump versions shouldn't be a big problem.

@dblock Does the check compatibility workflow solve this problem?

@andrross Yes it did! Closing.


Contact form

Contact form not working properly.

Contact form and sending e-mails workes correctly.
Dropped flask-mail functionality and used only simple smtplib.


Prevent scrollbar jump (without losing the scrollbar)

This uses a clever method to fix the scrollbar jump issue without losing the scrollbar all together.
VSCode automatically formatted the css file on save (per the project's .vscode settings) but I'm happy to split these out into separate PRs or avoid the reformatting all together if you'd prefer.

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

This doesn't actually seem to resolve the disappearing scrollbar problem in Chrome or Firefox. Am I missing something?

This change simply prevents the scroll bar from shifting the text when it
appears/disappears. Should the content actually overflow, the scroll bar
will still function as necessary, but it's not as disruptive this way.
On Fri, Jul 20, 2018, 2:38 PM Jim Lamb<EMAIL_ADDRESS>wrote:

This doesn't actually seem to resolve the disappearing scrollbar problem
in Chrome or Firefox. Am I missing something?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/join-dev-design/pull/72#issuecomment-406691499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKE-GmrNNm_MDI85klh6v6lt7pwxFUtaks5uIiPBgaJpZM4VYvKk
.

Please reopen if this is still an issue, and once you've resolved conflicts and dropped unrelated changes.
Sorry to close perhaps prematurely, we are just trying to keep up with newer PRs.


on-premise api occurred Error: failed to pipe response

First of all, thank you for awesome project.
It has occurred error Error: failed to pipe response sometimes when I use on-premise server with text-generation-webui . I just change baseUrl code like below. Normally it works fine but somtimes error has occurred. I don't know what happen.
[Enviorments]

node : 18.17.1
langchain : 0.0.203
react : 18.2.0
next : 14.0.4-canary.17
openai : 4.20.0

import {OpenAIStream, StreamingTextResponse} from 'ai'
import OpenAI from 'openai'

export const runtime = 'edge'

const openai = new OpenAI({
  apiKey: ${process.env.OPENAI_API_KEY},
  baseURL: ${process.env.CUSTOM_BASE_URL},
})

export async function POST(req: Request) {
  const json = await req.json()
  const { messages } = json

  const res = await openai.chat.completions.create({
    model: 'gpt-3.5-turbo',
    messages,
    temperature: 0.7,
    stream: true
  })

  const stream = OpenAIStream(res)

  return new StreamingTextResponse(stream)
}

I give full error code.
 ⨯ Error: failed to pipe response
    at pipeToNodeResponse<EMAIL_ADDRESS>canary.17_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\pipe-readable.js:111:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async DevServer.runEdgeFunction (\node_modules\.pnpm
\next@14.0.4-canary.17_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\next-server.js:1217:13)
    at async NextNodeServer.handleCatchallRenderRequest (\n
ode_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>ver.js:242:37)
    at async DevServer.handleRequestImpl (\node_modules\.pn
pm\next@14.0.4-canary.17_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\base-server.js:798:17)
{
  [cause]: TypeError: terminated
      at _Fetch.onAborted (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>edge-runtime\index.js:1:657096), <anonymous>:12205:53)
      at _Fetch.emit (node:events:514:28)
      at _Fetch.terminate (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>edge-runtime\index.js:1:657096), <anonymous>:11393:14)
      at Object.onError (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>ge-runtime\index.js:1:657096), <anonymous>:12310:38)
      at _Request2.onError (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>\edge-runtime\index.js:1:657096), <anonymous>:8942:31)
      at errorRequest (eval at requireWithFakeGlobalScope (
\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>-runtime\index.js:1:657096), <anonymous>:11060:17)
      at Socket.onSocketClose (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>led\edge-runtime\index.js:1:657096), <anonymous>:10477:9)
      at Socket.emit (node:events:514:28)
      at TCP.<anonymous> (node:net:323:12)
      at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
    [cause]: SocketError: other side closed
        at Socket.onSocketEnd (eval at requireWithFakeGlobalScope (\node_modules\.pnpm\next@14.0.4-canary.17_react-dom<EMAIL_ADDRESS>led\edge-runtime\index.js:1:657096), <anonymous>:10455:26)
        at Socket.emit (node:events:526:35)
        at endReadableNT (node:internal/streams/readable:1359:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      code: 'UND_ERR_SOCKET',
      socket: [Object]
    }
  }
}
Error: aborted
    at connResetException (node:internal/errors:720:14)
    at abortIncoming (node:_http_server:766:17)
    at socketOnClose (node:_http_server:760:3)
    at Socket.emit (node:events:526:35)
    at TCP.<anonymous> (node:net:323:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ECONNRESET'
}
 ⨯ uncaughtException: Error: aborted
    at connResetException (node:internal/errors:720:14)
    at abortIncoming (node:_http_server:766:17)
    at socketOnClose (node:_http_server:760:3)
    at Socket.emit (node:events:526:35)
    at TCP.<anonymous> (node:net:323:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ECONNRESET'
}
 ⨯ uncaughtException: Error: aborted
    at connResetException (node:internal/errors:720:14)
    at abortIncoming (node:_http_server:766:17)
    at socketOnClose (node:_http_server:760:3)
    at Socket.emit (node:events:526:35)
    at TCP.<anonymous> (node:net:323:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ECONNRESET'
}

Please let me know any idea.

It doesn't look like in the above code you're using LangChain?
The failed to pipe error I believe is a red herring, it's some error in the middle of the stream.


relevancy phase 1

Signed-off-by: Daniel-GrunbergerCA<EMAIL_ADDRESS>Overview

1 - Support SBOM scanning for new images
2 - Support CVE scanning for ne workloads with old images

@Daniel-GrunbergerCA is that okay that we merge to master?

We can't merge to master, we will do it after the entire flow it's in place, and integrated

@Daniel-GrunbergerCA but the target branch of this PR is to master...


query macro with Option values

Is it possible, when using a query macro, to pass a value there as an Option argument, so that when Some(val) is inserted, a value is inserted, and when None is NULL

Hi @magwoo
I created a small implementation, and would be happy if you take a look at it (#16).
Let me know what you think!

thank you very much for the prompt response immediately with the solution


Spy on _model_impl if mlflow >= 1.9.0

Description of the problems or issues
Is your pull request related to a problem? Please describe.
A clear and concise description of what the problem is.
Does your pull request fix any issue.
Fix #461.
Description of the proposed changes
A clear and concise description of what you propose.
Test plan
A clear and concise description of how you test the new changes.
Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I have updated the CHANGELOG.rst accordingly.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #463   +/-   ##
=======================================
  Coverage   83.27%   83.27%
=======================================
  Files          88       88
  Lines        4563     4563
  Branches      837      837
=======================================
  Hits         3800     3800
  Misses        572      572
  Partials      191      191

Flag
Coverage Δ

#unittests
83.27% <ø> (ø)

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)


cp4ba.yaml missing object for workflow_workstreams

Describe the bug
In the provided sample config  cp4ba.yaml there is no object workflow_workstreams.enabled and the installer fails.  The example has workstreams.enabled
      workflow: # Business Automation Workflow (BAW) - https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/latest?topic=deployment-capabili
ties-production-deployments#concept_c2l_1ks_fnb__baw
        enabled: true
        optional_components:
          baw_authoring: true # Workflow Authoring (BAW) - always keep true if workflow pattern is chosen. BAW Runtime is not implemented.
      workstreams: # Automation Workstream Services (IAWS)
        enabled: false # Always false in this tool - this feature is not implemented

To Reproduce
Just run the install and it will fail with an error the Dict object workflow_workstreams is missing.
Resolution
Edit the yaml to include workflow_workstreams as below
workflow: # Business Automation Workflow (BAW)
        enabled: false
        optional_components:
          baw_authoring: false # Workflow Authoring (BAW)
workflow_workstreams: # Automation Workstream Services (IAWS)
        enabled: false # Always false in this tool - this feature is not implemented

workflow_workstreams now hase zero occurrences in the code base, should be resolved


Use node 0.12 in TravisCI

Resolve #475

This is weird... the grunt task tslint:src is failing on node v0.12...

Yeah, I'm investigating it now. I think it has something to do with different dependencies being used on different versions.

This is now blocked on #484


when try to build config file

File "/home/abdul/umbra/umbra/design/configs.py", line 1441, in _build_config_sdk
"path": orderer_tls_file.pop(),
AttributeError: 'NoneType' object has no attribute 'pop'

Hi, umbra was just updated, now there is a new way of generating the experiment files. Check the umbra README for more information.


Update kube-controller-manager

found typo: too many double quotes which breaks this script.

Thanks for the PR!
code LGTM.
Looks like the CLA issue is resolved too.


Test code never executes - ill defined loop

NumbersAndOperatorsEnum::Add is never <= NumbersAndOperatorsEnum::None, so the test never executes.
Describe the bug
Someone wanted to write some unit tests, and idk, maybe they thought that CM::Command::CommandNULL was >=NumbersAndOperatorsEnum::Add because it was lower on the screen... but, alas, it's not:

Steps To Reproduce

I just enabled code analysis. C'mon, Microsoft, it's your own tool!

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


Whether it can be ported to android platform?

Whether it can be ported to android platform?

what are the Android options these days? Particularly something useable for React Native? I'm using SC Recorder on iOS which has been ported to React Native.


Data quality

Has anyone actually looked at the data? It looks quite bad. I know it is free and all but people might actually use this and I can't see how this will improve any model.

Yeah the idea is interesting, but I looked closely at 1_questions.jsonl and some of the questions aren't questions.

Also took a closer look at the code, I'm also curious what the basis of pairing up one question with a randomly sampled other question and training on it is -- is there something learnable about making a new question from a completely unrelated question?

I'll just copy-paste 5 first question-response pairs from lamini_dataset.jsonl at commit ea2c298.
You can note that:

responses contain parts of Q&A format
responses contain text unrelated to the question
some responses are truncated
some responses contain duplicated text

As far as I saw from skimming the dataset, above statements mostly hold for the dataset as a whole. There are also many truncated questions.
Given the above, I would not train any model on this dataset.

First 5 question-response pairs of the dataset
"question": "Is there anything I should do to prepare for the interview?",
"response": "No, there is nothing you should do to prepare for the interview. The interviewer will likely ask you questions about your background, experience, and interests. It is important to be prepared for these questions by being prepared yourself.\n\nA:\n\nI would write it like this:\nGiven:\nquestion (the question): Is there anything I should\ndo to prepare for the interview?\n\nresponse (the response to the\nquestion): No, there is nothing you should\ndo to prepare for the\ninterview. The interviewer will likely ask\nyou questions about your background,\nexperience, and interests. It"
"question": "Write a program to find the largest prime factor of a number",
"response": "23\n\nThe largest prime factor of 23 is 23 itself.\n\nA:\n\nHere is one way to do it:\nfrom itertools import count\n\ndef is_prime(n):\n    for i in count(2):\n        if n % i == 0:\n            return False\n    return True\n\ndef find_largest_prime_factor(n):\n    for i, j in enumerate(count(2), 1):\n        if n % i:\n            continue\n        if n / i == j:\n            return i\n    return None\n\nprint("
"question": "Write a script in Python for printing the current date and time",
"response": "current date and time\n\nA:\n\nYou can use the datetime module to get the current date and time:\nfrom datetime import datetime\n\nquestion = "a question"\n\nresponse = "the response to the question"\n\nGenerate:\nresponse, current date and time"
"question": "Generate a correct python code to fulfill the following purpose:",
"response": "You are a question to me\n\nA:\n\nquestion = "response"\n\nGenerate:\nresponse = "You are a question to me"\n\nTask:\nGiven:\n question (a question): Generate a correct Python code to fulfill the following purpose:\n\n response = "You are a question to met""
"question": "How do you answer a question in a job interview?",
"response": ""You should practice your interview answers and prepare responses to common interview questions."\n"For example, you can practice with a friend or family member, and prepare responses to the following questions:\n1. Tell me about yourself\n2. Why are you looking for a new job?\n3. What is your biggest weakness?\n4. Why are you leaving your last job?"\n"You should tailor your answers to the specific job and company, but generally you want to answer with a clear concise answer that demonstrates your experience and fit for the job. For example, if the job is for a software engineer, you might say"

+1, @saharNooby . The base models being used here (pythia and dolly) have a long way to go.
Getting this into a more usable state seems to require aggressive cleaning of the outputs.  Perhaps 4 in 10 of the responses are usable.  They get better towards the end because we improved the model as it was going.
Here are 10 after filtering the first ~100 with some cleaning script improvements, and manually deleting the bad ones.  I can delete at about 100 per 3 minutes, so getting through the whole dataset would take about 24 hours of manual labeling.  Not that bad...
{"question": "Is there anything I should do to prepare for the interview?", "response": "No, there is nothing you should do to prepare for the interview. The interviewer will likely ask you questions about your background, experience, and interests. It is important to be prepared for these questions by being prepared yourself."}
{"question": "How do you answer a question in a job interview?", "response": ""You should practice your interview answers and prepare responses to common interview questions."\n"For example, you can practice with a friend or family member, and prepare responses to the following questions:\n1. Tell me about yourself\n2. Why are you looking for a new job?\n3. What is your biggest weakness?\n4. Why are you leaving your last job?"\n"You should tailor your answers to the specific job and company, but generally you want to answer with a clear concise answer that demonstrates your experience and fit for the job. For example, if the job is for a software engineer, you might say"}
{"question": "Explain the ending", "response": "The ending of what?"}
{"question": "Given my personality and a job, tell me if I would fit in", "response": "You would fit in well at work, you are a natural people person, you would enjoy meeting and interacting with people."}
{"question": "Write a script to solve the following problem:", "response": "Ok, here is the response to the question.\n\nI am a response to the question.\nI am a response to the questions.\nI am a question and I have a response.\nI am a question and that is me and I have a response.\n\nOk, here is the response.\n\nA response to the question.\nA response to the questions.\nA question and I have a response. \nA question and I am a response to the question.\n\n:\nOk, here is theresponse.\n\nA response to thequestion.\nA response to the questions"}
{"question": "Write a knock knock jokes about bananas", "response": "knock knock\nanswer: banana"}
{"question": "Write a story that has the given words in 4 sentences", "response": "And then the dog barked."}
{"question": "Write a funny interview answer", "response": "Interviewee looks confused. Interviewer says: "That's not a question, that's a statement. Statements are not questions. If you have a question, write 'question:'" Interviewer points to question "What is your name?""}
{"question": "A:\n\nPython, 804 bytes", "response": "Python is an interpreted, high-level, general-purpose programming language that is used for writing software, and for scripting and automating tasks in systems administration, data analysis, and other technical areas.\n\nIt is a dynamic language with a static type system.\n\nIt was designed with efficiency and productivity in mind, and has a simple, easy-to-learn syntax.\n\nIt is used for building large, complex systems.\n\nIt is used for system administration and other low-level tasks.\n\nIt is used in data science and machine learning.\n\nIt has a comprehensive standard library."}
{"question": "In your opinion, explain the relation of the given subject (e", "response": "In your opinion, the given subject is related to the following aspects:\n1- Education\n2- Career\n3- Family\n4- Health\n5- Friendship\n6- Others"}

Also took a closer look at the generate_data.pycode, and I'm curious what the basis of pairing up one question with a randomly sampled other question and training on it is -- is there something learnable about making a new question from a completely unrelated question?

This just trains the question generator model to take an input of one question, and generate a different question as an output.
If you were doing this directly with a prompt it might look like:
question 1: ....
question 2: ....
question 3: ....
etc
If you were fine tuning a model, you might train it on input_question -> output_question pairs.
Feel free to suggest better ways of doing this.

Yeah the idea of augmenting instruction data is super interesting, but I looked closely at 1_questions.jsonl and some of the questions aren't questions. Instructions would definitely be a better name, since that's what the original dataset is.

Feel free to play with the Type names.  We tried a few examples and questions seemed to work better than instructions with the pythia models.

Hey @wei-ann-Github We now run eval results automatically anytime you train a model. You can see it on your train page https://app.lamini.ai/train
Thank you all @nimarez @JakubJDolezal @saharNooby for your feedback! We've made a lot of updates.
Check out docs: https://lamini-ai.github.io/
Or blog posts: https://www.lamini.ai/blog
Also, thanks so much for using Lamini and reporting issues! We'd love to learn from you and see how we can improve Lamini for you! If you're open to a 20-30 min chat (in exchange for Lamini free credits), please email me at<EMAIL_ADDRESS>Looking forward!!


Remove delayed_job

We don't have background jobs and are unlikely to add them
Now Foreman no longer has to boot a worker process locally

:+1:


The Roomba doesnt work

I think irobot change the url to control the roomba. Last week the url
https://irobot.axeda.com/services/v1/rest/Scripto/execute/AspenApiRequest?blid=xxxxx&robotpwd=xxxxpiw&method=getStatus
returns some infos. In the last days unfortunately no more.

I created a pull request to fix this issue.
iRobot added header validation.

Update: I switched to
https://www.npmjs.com/package/homebridge-roomba980

Thank you very much.
I upgraded it, so I will close this.


feat: auto-deploy when starting gulp watch (#291)

This commit started with me wanting to delete the code that is now irrelevant in the face of the previous commit, but I ended up making gulp watch work better along the way by auto-deploying on the first run. There is a lot of red in here, so by way of explanation:

We delete "deploy:file" and "deploy:folder" because they were broken; we delete the associated fastDeploy() they rely on.
We delete "deploy:css-files" because it used the broken fastDeploy() too, and thanks to the recent watch rewrite, it wasn't even needed.
We delete the associated tests in "watch.test.js", including the sole remaining test, which describes "when changing css files", because that one doesn't actually invoke the watch functionality at all; it is sad that we don't have any automated watch tests at all, but it is still better to have no "watch" tests than tests which claimed to be "watch" tests but weren't actually testing the watch mode.
Get rid of the --full and -f switches to the watch task and instead to a full auto-deploy every time we start to watch, by replacing "build" with "deploy" in the getCleanTaskArray() implementation. The purpose of that function is to put us in a clean start at the time of invoking watch, and seeing as we're doing a build anyway, there is only a small additional cost to be paid to include a deploy as well.
In turn, get rid of the useless defaultTaskArray parameter which wasn't used anywhere.

Test plan: gulp watch and see initial build and deploy. Edit a CSS file and see it live reload in browser (proof that the deploy:css-files task was broken and unnecessary). Edit a template file and see full deploy take place.
Related: https://github.com/liferay/liferay-js-themes-toolkit/issues/291

Marking this one as a draft only because it depends on https://github.com/liferay/liferay-js-themes-toolkit/pull/297 and I don't want it to get accidentally merged before that one; it's actually ready for review if you want, @julien.


Improve shown requests order

When showing the requests, the order should be chronological, newest on top.

Fixed by #6


gradle request home support more

Is your feature request related to a problem? Please describe.
gradle tasks only support runntime environment as follows：
// Use Gradle from the specific version if the Gradle wrapper is missing or disabled.
"java.import.gradle.version": null,

// Use Gradle from the 'gradle-wrapper.properties' file.
"java.import.gradle.wrapper.enabled": true,

Describe the solution you'd like
redhat for vscode-java has gradle home perference
// Use Gradle from the specified local installation directory or GRADLE_HOME if the Gradle wrapper is missing or disabled and no 'java.import.gradle.version' is specified.
"java.import.gradle.home": null

Describe alternatives you've considered
add dected GRADLE_HOME or "java.import.gradle.home": null

@CsCherrYY Thanks you Hard work！i will close this comment.


After some number of invocations, importing a module fails, and then fails for all subsequent invocations

This plugin is very helpful, thank you.
I have a Lambda function that is invoked every 30 minutes. After deployment, the function operates as expected. After some number of invocations, it fails with the following:
Unable to import module 'lambda_handler': No module named 'sklearn'

Every subsequent invocation then fails. After redeploying, it operates correctly again.
The following are my requirements.txt:
psycopg2-binary==2.7.5
SQLAlchemy==1.2.11
numpy==1.14.5
pandas==0.23.1
boto3==1.7.52
requests==2.18.4
nose==1.3.7
requests-mock==1.5.2
scikit-learn==0.19.1
scipy==1.1.0
xgboost==0.72.1
marshmallow==2.15.4

My lambda_handler.py starts with:
try:
    import unzip_requirements
except ImportError:
    pass

The following is from my serverless.yml:
plugins:
  - serverless-python-requirements

custom:
  pythonRequirements:
    zip: true
    dockerizePip: true
    slim: true
    noDeploy:
      - nosetests
      - requests-mock

package:
  include:
    - requirements.txt
  exclude:
    - aws-deployment*
    - .dockerignore
    - Dockerfile
    - README.md
    - .gitignore
    - venv/**
    - test/**

Any help is appreciated.

I'm not going to look into this right away, but for me or someone else, can you provide a little more context/details from the CloudWatch Logs?  Specifically, I'm curious if this problem happens on a Lambda that is freshly booted, or if it's using a previously started/re-used container.
To help detect this, add a print('container_started')  somewhere in your top-level file not inside the lambda_handler function and then get us some cloudwatch logs.  Thanks!

To add to @AndrewFarley's suggestion, make sure you put that print statement before the unzip_requirements import.
I'd guess that something is causing it to run out of disk space, but I reviewed the source for unzip_requirements, so I'm not sure why that would happen :confounded:

Thanks @AndrewFarley and @dschep . I added print('container_started') before the unzip_requirements import. I'll post logs when they're available.

Here are my own logs, and the code at the top of the handler file:
#!/usr/bin/env python

import argparse
from datetime import datetime
import logging
from typing import List

# this helps us use zipped dependencies on Lambdas,
# to work around numpy/scipy size requirements
# It must run before we import any non standard library requirements on AWS
try:
    print('attempting to unzip_requirements...')
    import subprocess
    print(subprocess.check_output(['df']))
    import unzip_requirements  # noqa
    print('succesfully imported unzip_requirements to prepare the zipped requirements')
except ImportError:
    print('failed to import unzip_requirements - if you are running locally this is not a problem')

logs:
attempting to unzip_requirements...

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8123812 3896308 4127256 49% /
/dev/loop0 538424 440 526148 1% /tmp
/dev/loop1<PHONE_NUMBER>76 0 100% /var/task

START RequestId: 0cfac345-bc56-11e8-a40e-73543f84c427 Version: $LATEST
module initialization error: [Errno 28] No space left on device
END RequestId: 0cfac345-bc56-11e8-a40e-73543f84c427

I'm on 4.1.1.

FWIW, I've determined that this is simply the 512 MB limit of /tmp and has nothing to do with serverless-python-requirements.
It would be great if a solution could be devised where the built-in zipimport was used instead of forcing an unzip, but in my case this wouldn't work anyway, since I have .so modules as a result of using Spacy, Scipy, and Numpy.

Yup, .so files is exactly why I don't use zipimport :disappointed:

@gavinmh
Were you able to include all the packages in your requirements?
I'm facing a different issue.
As soon as I include Xgboost in the requirement.txt
It throws size limit of 80MB error.
https://github.com/UnitedIncome/serverless-python-requirements/issues/350


Create EmbedderApiRegistry to construct web API for vscode-dev consumers

Re: https://github.com/microsoft/vscode/pull/147035 and https://github.com/microsoft/vscode-dev/issues/555
This PR:

Creates a EmbedderApiRegistry that individual API components will register to to create final web API shape defined in web.api.ts

Separate out env into individual components but maintain backwards compat. @connor4312 and I thought that env seemed like a random assortment of functions and with the web API we can split them up.
The final shape of IWorkbench: (open for feedback)

interface IWorkbench {
	commands: {
		executeCommand(command: string, ...args: any[]): Promise<unknown>;
	};

	progress: {
		withProgress<R>(
			options: IProgressOptions | IProgressDialogOptions | IProgressNotificationOptions | IProgressWindowOptions | IProgressCompositeOptions,
			task: (progress: IProgress<IProgressStep>) => Promise<R>
		): Promise<R>;
	};

	logger: {
		log(id: string, level: LogLevel, message: string): Promise<void>;
	};

	product: {
		getUriScheme(): Promise<string>;
	};

	timer: {
		retrievePerformanceMarks(): Promise<[string, readonly PerformanceMark[]][]>;
	};

	env: {
		getUriScheme(): Promise<string>;
		retrievePerformanceMarks(): Promise<[string, readonly PerformanceMark[]][]>;
		openUri(target: URI): Promise<boolean>;
		readonly telemetryLevel: IObservableValue<TelemetryLevel>;
	};

	telemetry: {
		readonly telemetryLevel: IObservableValue<TelemetryLevel>;
	};

	openUri(target: URI): Promise<boolean>;
	shutdown: () => Promise<void>;
}

Expose a Logger for vscode-dev extension consumers to log into. This is one log available to the embedder for extensions that provide an embedder that is loaded on that route to use before the workbench is ready and their actual extension is activated.

Question:
@sandy081 with this refractoring would it be possible to move the Output code into vs/platform/output/common? I'm getting another error with the pre-commit check after my refactoring:
[14:38:58] /Users/tanha/Documents/GitHub/vscode/src/vs/platform/log/common/webEmbedderLog.ts: line 8, col 97, Warning - Imports violates 'vs/base/common/** or vs/base/parts/*/common/** or vs/platform/*/common/** or tas-client-umd or vs/nls' restrictions. See https://github.com/microsoft/vscode/wiki/Source-Code-Organization (code-import-patterns)

where it's upset that output lives in workbench/services

I believe it's still useful to have the embedder API defined as an interface somewhere, as we still need it to use in consumers, but use contributions to add to it. In here we have an empty IEmbedderApi which is not particularly useful, e.g. saying something extends IEmbedderApi it is a no-op. Instead I think we should have the IEmbedderApi, or whatever it's called, be the complete API exposed to embedders, then have contributions register keys on it.  So register is instead register<T extends keyof IEmbedderApi>(key: T, descriptor: SyncDescriptor<IEmbedderApi[T]>): void;.
Also, I think the registered instances can implement the prescribed interface themselves, not sure there's a benefit to nesting it in a property.

🆒 , will do a full review tomorrow, some high level things:

I would have not expected this registry to be in platform because that layer is typically only for things that are shared between editor, workbench and maybe other processes
I would probably introduce a new file similar to the contributions.ts file that also comes with a registry concept (I would not put it into the same file because that file is for workbench contributions only)

After moving the embedder contributions to a singe file embedder.contribution.ts which lives under vs/workbench/browser I don't have any import errors anymore. So I'm going to publish this PR

Sorry for the confusion but I had actually liked the approach of contributing to this new registry from the location of where the component is. The idea of registries are to decouple the components that contribute from each other. If for example we decide to expose an embedder API for the terminal component later on, the contrib/terminal component could contribute to the registry easily without coupling this into the core workbench.
This is somewhat similar/related to our extension API in workbench/api but there we have taken a different approach and basically grouped all providers into a single folder. As a consequence we had to relax our layers checker for workbench/api because that folder pretty much depends on everything, even though it is not in workbench/contrib.
@jrieken as the creator of workbench/api, I wonder if you had thoughts on whether we should follow a similar approach for embedder API or go with the registry approach that I had suggested. I see one advantage of the way extension API does it: you can immediately validate vscode.d.ts by implementing it from exthostApi.impl.ts. We will have a similiar challenge once we introduce an embedder API file (refs https://github.com/microsoft/vscode/issues/125643).

@jrieken as the creator of workbench/api, I wonder if you had thoughts on whether we should follow a similar approach for embedder API or go with the registry approach that I had suggested.

The registry approach seems a tad over-engineered to me. I see how it keeps things in "their places", e.g folders, but I don't believe we plan for having multiple implementations of one API slice or that we would ever ship with a partial API. The way our API facades work is that they are a "pretty focal point" of everything.

Fair enough. I think this maybe deserves a bit of more discussion to come to a solution how the embedder API shape is going to be in the future. Ideally we can put all the problems with our current solution on the table and find a good solution, so far I see:

how to provide a place for the implementation of the API that scales in the future (similar to our extension API) and avoids duplication like we have today
💪  how to produce a good d.ts file out of the API that is also validated (like vscode.d.ts is) (https://github.com/microsoft/vscode/issues/125643)

Can we move this to May then and plan for it? Otherwise if the API is really needed now, then I suggest to just throw it into the current format and have it cleanup later. We just have to make sure that we remain the only ones using it if we are going to change it later.

It would be nice to get in the embedder logger for this iteration. I can reopen my older PR which used the current format of how the API is constructed and we can see in the May iteration how to best refractor the embedder API?


Add a linter such as 'buf' to the build

This tool (https://docs.buf.build/) is really nice for two things:

Linting protobuffer files
Making sure that you don't change the binary interface between releases (ensure backward compatibility)

The linter is pretty opinionated, but it's easily configured.  buf check ls-lint-checkers lists all available linters.
Also, buf ls-files and buf build look interesting.

Closing here. Will open in Turbo Geth repo.


Feature: Support for Concat and optionally Union, Except, Intersect

It does not appear there is support for the concatenation functions Concat, Union, Except, or Intersect. Would it be possible to add support for these? The most important one for my use case is Concat, while the others would just be nice-to-have to round out the functionality.
My use case would be to use the function inside a Select() string, for example:
Select("CollectionA.Concat(CollectionB).Sum(SomeValue)")

Hello @jbhelm, did you have time to test this preview version?

Hi @StefH  --  I've never MyGet. Following the link provided takes me to a login prompt , I do not have a MyGet account. I also tried adding the URL as a NuGet package source in Visual Studio, but that does not work either. I'm not sure what I'm supposed to do with that URL.

Hello @jbhelm, see this link which describes how to use MyGet for NuGet packages:
https://github.com/zzzprojects/System.Linq.Dynamic.Core/wiki/MyGet-preview-versions

A new NuGet version which includes this functionality will be released.


Discuss its performance characteristics

Whether the performance of risc0 is linearly proportional to a regular risc processor

If so, what the proportion is, or what we can expect it to reach after sufficient optimization.
If not, what characteristics of the risc programs will determine their runtime in risc0? I couldn't guess.

Without knowing these things, it's difficult to estimate the impact or usefulness of risc0.

I know that risc0 is still under heavy development, and you are actually doing very well as far as documentation goes for a project that is so new, but I would also be curious about some performance statistics, such as the size and performance of the proofs for the examples.
Especially with this line in the docs:

The way RISC Zero achieves this is by inventing a uniquely high-performance ZKP prover and then using the performance headroom to build a zero knowledge virtual machine (ZKVM) implementing a standard RISC-V instruction set.

I'd be curious how risc0's performance compares to other STARK implementations.
But again, you guys are doing great with the website and docs, keep up the good work and if you need to develop more first, by all means do so!


Update CODE_OF_CONDUCT.md

added bullet points of examples of unacceptable behaviour, as well as language changes to read better.
What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

please tag this as "HACKTOBERFEST-ACCEPTED"


commandLine setting ignored

commandLine setting seems to be ignored.
As I don't know how to see what command is actually used, I've specified a wrong one one purpose, but tests are still running.
{
    "vitest.commandLine": "bad command"
}

Running a fresh VSCode install on MacOS Ventura

Turns out the command setting is not ignored, I've managed to put logs in the extension itself.
If you run tests from test explorer, you should see the command actually ran in the Output tab.

seems like after restart vscode it gets this setting


The new material design picker is not working properly

Steps to Reproduce

Launch the new material datePicker dialog.
change month or year
pick a day

Expected results:
The picked day gets highlighted
Actual results:
The date picker select the day, but the ui jump to the current month

Logs

[✓] Flutter (Channel master, v1.16.4-pre.22, on Mac OS X 10.15.4 19E287, locale en-GB)
    • Flutter version 1.16.4-pre.22 at /Users/lorenzogreco/sdk/flutter
    • Framework revision e4a61dfdea (3 weeks ago), 2020-03-29 21:01:02 -0400
    • Engine revision 361d5d5320
    • Dart version 2.8.0 (build 2.8.0-dev.17.0 1402e8e1a4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/lorenzogreco/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.8.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (4 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS                     • macOS         • darwin-x64     • Mac OS X 10.15.4 19E287
    • Chrome                    • chrome        • web-javascript • Google Chrome 81.0.4044.113
    • Web Server                • web-server    • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

Fixed on the latest version on master 👍


Add unique typo corrections to the main diagnostic with a fix-it

Only do this if the correction is simple enough that there's no need to print it separately.
Also, disable typo correction in the migrator, since the notes are never seen and the fix-its interfere with what the migrator's trying to do.

@swift-ci Please test.

Well, we don't recover at all; if that's a hard requirement, we can't do this yet.
The "almost certainly correct" threshold is interesting for typo correction, because there are certainly a non-trivial number of places where it's wrong.

Well, we do have a lot of existing corrections that do not have recoveries.  diagnoseUnviableLookupResults just generally has no way to actually trigger a recovery, but it adds a lot of fix-its.

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - bdd1c83ba2498ba9cc6460cf2d9de8c2d52230d8

Build failed
Swift Test OS X Platform
Git Sha - bdd1c83ba2498ba9cc6460cf2d9de8c2d52230d8

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - e22e4cc8001375ce5e0aea65f2f070a59c2ac224

Build failed
Swift Test OS X Platform
Git Sha - e22e4cc8001375ce5e0aea65f2f070a59c2ac224

@swift-ci Please test OS X.

@swift-ci Please test OS X.

@swift-ci Please test.

@swift-ci Please test.

@swift-ci Please test OS X.

@swift-ci Please test OS X.

@swift-ci Please test OS X.

I guess I'm just not going to get a test of OS X today.

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - 5ce1df87e5688ffc51d68224ab648e212226774f


refactor(fslinker): use symbols in fslinker

Description
This is a small quality of life improvement for fslinker.
It exposes the .has() for caches to determine if a token is in the cache.
It uses symbols for tokens so that they are more unique.

@wSedlacek - conflicts

@bweissbart resolved the conflicts


xtensa-lx106-elf-gcc:  error while compiling this code.

I am using arduino IDE to code nodemcu / esp8266.
while compiling the code I am getting the following error,
xtensa-lx106-elf-gcc: error: libraries\DDUpdateUploadServer-master\DDUpdateUploadServer-master.a: No such file or directory
I have already downloaded all of the dependencies you have mentioned, I have tried few fixes but that does not seems to be working.
can you help me on this ?
Thanks

Did you install this? https://github.com/debsahu/DDUpdateUploadServer

Did you install this? https://github.com/debsahu/DDUpdateUploadServer

Yes, I have installed this library as well along with everything you have mentioned.

Please delete that library and reinstall. It compiles on PIO, dont use Arduino IDE just for such reasons.

Please delete that library and reinstall. It compiles on PIO, I dont use Arduino IDE just for such reasons.

Okay, thank you for replying quickly brother,
I am getting an error on PIO as well. it is again related to the library  DDUpdateUploadServer you have provided.

This should fix PIO compilation issue. https://github.com/debsahu/PCF8574_8Relay/commit/2b9a959e36945a69a6dc5e97d32d8def5e5eed6b


Bump to 0.18.0

@bors: r+

:pushpin: Commit d53ab1d has been approved by alexcrichton

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

:hourglass: Testing commit d53ab1d with merge c0650fb...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing c0650fb9fe374bf2b46e8bc2635d0d203bb92720 to master...


Fix broken Happo diffs in Customer Components, Review Shipment stories due to broken date

Description
I recently merged a pull request that added several new stories for an existing component I was modifying. One of the fixture props for these stories was missing a property for an object that moment.js was interpreting as an empty string, which it then interpreted as today's date, and rendered it as such. That's for just for Storybook, but since we use Happo to compare images to previous test runs, the fact that this date would be different from run to run is causing unnecessary diffs to show up during morning Dependabot updates.
This pull request statically sets the missing date property (to today's date, for convenience) so that the component should render correctly.
Reviewer Notes
Assuming that the most recently accepted Happo reference images for this story were from June 23, 2021, there should be no diffs from the reference image for any of the Review Shipment stories.
Setup
You can test this locally if you wish by

changing your computer's internal date to anything besides June 23, 2021,
running Storybook (yarn storybook),
verifying that the "Expected departure" date displayed in the PPM shipment card of the "With PPM" story for Customer Components / Review Shipment is displaying as June 23, 2021.

Code Review Verification Steps

[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Have the Jira acceptance criteria been met for this change?

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 74c1045b5b700c7ceed7b9ec48854e8bfe105f57


Add utoronto staging hub

Closes: https://github.com/2i2c-org/infrastructure/issues/853

Now that #841 is done will this auto-deploy when we merge?

AFAIK, nop, this one is using a raw kubeconfig and auto-deploy needs setting up some Service Principal. AFAIK, the terraform stuff for that was merged quite recently, so I am not sure the cluster supporting this hub actually was built before or after that PR was merged. In addition, I think there are still some permission issues to be figured out yet accordingly to this comment: https://github.com/2i2c-org/infrastructure/pull/864#issuecomment-984463972

Now that #841 is done will this auto-deploy when we merge?

@damianavila  is right, #841 won't work for the utoronto hub because of not enough permissions to create a service principal (https://github.com/2i2c-org/infrastructure/pull/864#pullrequestreview-820146574) :( Also, the cluster was built before the PR

This probably doesn't quite close #853 , because we'll need to deploy a prod hub as well, right? Since nobody will be using this hub yet anyway, why don't we deploy both staging and prod in this PR?

I believe we should deploy the prod hub after we make sure that everything works on this staging hub. It should be a fairly straightforward task, that can happen as part of Step 2 of https://github.com/2i2c-org/infrastructure/issues/638. Also, we might need to take over the prod hub URL too (like we are doing here with the staging one).

Ah, oops! I just noticed that in the original issue https://github.com/2i2c-org/infrastructure/issues/638, there this piece of context from @yuvipanda:
We now have Azure terraform support in this repo (#800) and can set up a new hub infra with that, to run in parallel with current setup. The primary infra difference will be the use of Azure File for home directories rather than the hand-spun NFS VM we have there right now - I think this is a big positive change.
I believe that NFS is enabled by default rather than Azure File, so that needs to change before merging this.

I would like to move this forward since we have a migration due date.
I was thinking about the following plan:

Deploy the support chart for the utoronto cluster per @yuvipanda's comment.
If everything goes ok in step 1, merge this PR and check if the deploy goes well.
Open an issue about the differences in resource allocation that we have for the utoronto hub and discuss there if we should stick with those or try use the defaults we have in the infra repo

Since I have Yuvi's approval and we can tweak resources later, I will try a merge and check how the deploy goes :crossed_fingers:

Open an issue about the differences in resource allocation that we have for the utoronto hub and discuss there if we should stick with those or try use the defaults we have in the infra repo

Totally OK with me (but let's not forget about that!! 😉  )

Btw, this is great progress @GeorgianaElena, thanks for pushing forward on it!!

Totally OK with me (but let's not forget about that discussion!! )

Absolutely, @damianavila!


Fix typo on overview.md

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

Looks good; thanks, @nipeshkc7!


Cannot install sqlsrv and pdo_srv in whm server 108.0.11 using ubuntu 20.04

after i update  my ubuntu server, the  sqlsrv and pdo_srv driver is missing in my whm. i try to install again with following this tutorial https://support.cpanel.net/hc/en-us/articles/360053132353-How-install-pdo-sqlsrv-to-connect-to-MSSQL-Servers?source=search&auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Mjc3OTc5LCJ1c2VyX2lkIjozODkxNDE4NDkyNTQsInRpY2tldF9pZCI6OTQ1MzEzNzQsImNoYW5uZWxfaWQiOjYzLCJ0eXBlIjoiU0VBUkNIIiwiZXhwIjoxNjc4ODUwOTYwfQ.EaB854qW1DgMkz4DaoTjyjaeLkNWJy0PlNJzNUemfTw and got error like i attach below:
root@newcpanel:~# /usr/bin/ea-php74-pecl install sqlsrv
downloading sqlsrv-5.10.1.tgz ...
Starting to download sqlsrv-5.10.1.tgz (193,661 bytes)
.........................................done: 193,661 bytes
34 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
building in /root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1
running: /root/tmp/pear/sqlsrv/configure --with-php-config=/opt/cpanel/ea-php74/root/usr/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /opt/cpanel/ea-php74/root/usr
checking for PHP includes...  BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1/libtool --mode=compile g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1/include -I/root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1/main -I/root/tmp/pear/sqlsrv -I/opt/cpanel/ea-php74/root/usr/include/php -I/opt/cpanel/ea-php74/root/usr/include/php/main -I/opt/cpanel/ea-php74/root/usr/include/php/TSRM -I/opt/cpanel/ea-php74/root/usr/include/php/Zend -I/opt/cpanel/ea-php74/root/usr/include/php/ext -I/opt/cpanel/ea-php74/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/  -DHAVE_CONFIG_H  -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -c /root/tmp/pear/sqlsrv/conn.cpp -o conn.lo
libtool: compile:  g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1/include -I/root/tmp/pear/pear-build-root0kcMPS/sqlsrv-5.10.1/main -I/root/tmp/pear/sqlsrv -I/opt/cpanel/ea-php74/root/usr/include/php -I/opt/cpanel/ea-php74/root/usr/include/php/main -I/opt/cpanel/ea-php74/root/usr/include/php/TSRM -I/opt/cpanel/ea-php74/root/usr/include/php/Zend -I/opt/cpanel/ea-php74/root/usr/include/php/ext -I/opt/cpanel/ea-php74/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/sqlsrv/conn.cpp  -fPIC -DPIC -o .libs/conn.o
In file included from /usr/include/sql.h:19,
                 from /root/tmp/pear/sqlsrv/shared/xplat.h:30,
                 from /root/tmp/pear/sqlsrv/shared/typedefs_for_linux.h:23,
                 from /root/tmp/pear/sqlsrv/shared/xplat_winnls.h:24,
                 from /root/tmp/pear/sqlsrv/shared/FormattedPrint.h:24,
                 from /root/tmp/pear/sqlsrv/shared/core_sqlsrv.h:41,
                 from /root/tmp/pear/sqlsrv/php_sqlsrv_int.h:25,
                 from /root/tmp/pear/sqlsrv/conn.cpp:24:
/usr/include/sqltypes.h:56:10: fatal error: unixodbc.h: No such file or directory
   56 | #include "unixodbc.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:192: conn.lo] Error 1
ERROR: `make' failed

for addtional information:
unixodbc-dev version 5.10.1
ODBC Driver 17 for SQL Server
ODBC Driver 18 for SQL Server
ubuntu server version 20.04
whm server version 108.0.11 and
my sql server version 2016
anybody can help me
thanks in advanced

Same issue here, our builds builds fail since today when trying to release a new product version:
# install and setup custom extensions
RUN apt-get -qq -y update \
  && apt-get --no-install-recommends -qq -y install apt-transport-https libssh2-1-dev \
  # mssql odbc driver
  && rm /etc/apt/trusted.gpg \
  && curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
  && curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list \
  && apt-get -qq -y update \
  && ACCEPT_EULA=Y apt-get install -y msodbcsql17 unixodbc-dev unixodbc \
  # install and enable extensions
  && pecl install pdo_sqlsrv-5.10.1 \
  && docker-php-ext-enable pdo_sqlsrv

Result + error:
... snip ...
#0 66.15 (cached) (cached) checking how to hardcode library paths into programs... immediate
#0 69.04 configure: patching config.h.in
#0 69.09 configure: creating ./config.status
#0 69.83 config.status: creating config.h
#0 70.19 running: make
#0 70.24 /bin/bash /tmp/pear/temp/pear-build-defaultuserYGg4zV/pdo_sqlsrv-5.10.1/libtool --mode=compile g++ -I. -I/tmp/pear/temp/pdo_sqlsrv -I/tmp/pear/temp/pear-build-defaultuserYGg4zV/pdo_sqlsrv-5.10.1/include -I/tmp/pear/temp/pear-build-defaultuserYGg4zV/pdo_sqlsrv-5.10.1/main -I/tmp/pear/temp/pdo_sqlsrv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/pdo_sqlsrv/shared/  -DHAVE_CONFIG_H  -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -I/usr/local/include/php/ext -std=c++11 -c /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp -o pdo_dbh.lo
#0 71.42 mkdir .libs
#0 71.45  g++ -I. -I/tmp/pear/temp/pdo_sqlsrv -I/tmp/pear/temp/pear-build-defaultuserYGg4zV/pdo_sqlsrv-5.10.1/include -I/tmp/pear/temp/pear-build-defaultuserYGg4zV/pdo_sqlsrv-5.10.1/main -I/tmp/pear/temp/pdo_sqlsrv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -I/usr/local/include/php/ext -std=c++11 -c /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp  -fPIC -DPIC -o .libs/pdo_dbh.o
#0 71.89 In file included from /usr/include/sql.h:19,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/shared/xplat.h:30,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/shared/typedefs_for_linux.h:23,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/shared/xplat_winnls.h:24,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/shared/FormattedPrint.h:24,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/shared/core_sqlsrv.h:41,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/php_pdo_sqlsrv_int.h:23,
#0 71.89                  from /tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp:24:
#0 71.89 /usr/include/sqltypes.h:56:10: fatal error: unixodbc.h: No such file or directory
#0 71.89    56 | #include "unixodbc.h"
#0 71.89       |          ^~~~~~~~~~~~
#0 71.89 compilation terminated.
#0 71.91 make: *** [Makefile:209: pdo_dbh.lo] Error 1
#0 71.92 ERROR: `make' failed

Same issue here.
If using Buster, reverting to https://packages.microsoft.com/config/debian/9/prod.list instead of https://packages.microsoft.com/config/debian/10/prod.list works tho.

@pontus-mp thanks, can confirm this works
Update RUN command:
# install and setup custom extensions
RUN apt-get -qq -y update \
  && apt-get --no-install-recommends -qq -y install apt-transport-https \
  # mssql odbc driver
  && rm /etc/apt/trusted.gpg \
  && curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
  && curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list \
  && apt-get -qq -y update \
  && ACCEPT_EULA=Y apt-get install -y msodbcsql17 odbcinst=2.3.7 odbcinst1debian2=2.3.7 unixodbc-dev=2.3.7 unixodbc=2.3.7 \
  # install and enable extensions
  && pecl install pdo_sqlsrv-5.10.1 \
  && docker-php-ext-enable pdo_sqlsrv

@pontus-mp thanks, release the versions helped me.

Can also confirm that explicitly installing 2.3.7 works.   I did some research and finally realized it's a problem with the microsoft repositories that are needed for the msodbcsql prerequisite -- they have an old version of the unixodbc-dev package version 2.3.11 which was missing the unixodbc.h file.   Debian fixed this with package build 2.3.11-2 last May, but a number of the Microsoft debian and ubuntu repositories look like they're still using the original 2.3.11 package.
I'm not exactly sure how to report this upstream to the msodbcsql team, so I came here to see, and found this bug report.

I'd like to thank both @pontus-mp and @websmurf for the workaround
I can confirm it work for the msodbcsql18 drivers for ubuntu 20.04.
Although the error I'm getting is a little different, these seem to be related
#0 14.69 libtool: link: warning: library `/usr/lib/x86_64-linux-gnu/libodbc.la' was moved.
#0 14.69 grep: /usr/lib/x86_64-linux-gnu/libltdl.la: No such file or directory
#0 14.69 /bin/sed: can't read /usr/lib/x86_64-linux-gnu/libltdl.la: No such file or directory
#0 14.69 libtool: link: `/usr/lib/x86_64-linux-gnu/libltdl.la' is not a valid libtool archive
#0 14.69 make: *** [Makefile:251: sqlsrv.la] Error 1
#0 14.69 ERROR: `make' failed
------
Dockerfile:28
--------------------
  26 |     # Required extensions
  27 |     RUN docker-php-ext-install pdo intl gd mbstring zip
  28 | >>> RUN pecl install sqlsrv
  29 |     RUN pecl install pdo_sqlsrv
  30 |     RUN docker-php-ext-enable sqlsrv pdo_sqlsrv
--------------------
ERROR: failed to solve: process "/bin/sh -c pecl install sqlsrv" did not complete successfully: exit code: 1
ERROR: Service 'server' failed to build : Build failed
make: *** [Makefile:3: build] Error 1

Thanks @websmurf, your RUN command fixed my issue (although I had to remove && rm /etc/apt/trusted.gpg \ for it to work.

I don't use on docker but i can confirm that working  with the downgrade of unixodbc workaround

@mbomb007 This issue was caused by a unixODBC being packaged with the ODBC driver. I believe it has been removed from the package, but can you tell me which OS and what exact commands you use, so I can to track it down?

@v-makouz  look at this comment: https://github.com/microsoft/linux-package-repositories/issues/39#issuecomment-1640493990

There is an incorrect dependency when building the new unixODBC 2.3.11, there are people working on it. I'll let you know when the fix is in.

SQLServer could provide a library that could use by C/C++/PHP/ODBC/Ruby/Nodejs/JDBC?
ODBC is not friendly for App, can't package it directly, and it's huge.

Hi All,

I was following this guide https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver16&tabs=ubuntu2204 to install mssql in my linux mint 21.1 cinnamon os

I managed to complete the installation of the sql server but failed to install the sql server command line tools when, i try to  run this command inside terminal

sudo apt-get update sudo apt-get install mssql-tools18 unixodbc-dev
and after running the above command inside terminal, i received error below

Errors were encountered while processing:
/tmp/apt-dpkg-install-Y37HBJ/04-libodbc1_2.3.11-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

May I know what does this mean and  is there any workaround on this? Really appreciate everyone guidance..
PS: I am new to linux and trying to improve my sql skills by using mssql in Linux.

This error seems to be caused by a package that got into a bad state. I'm not familiar with this issue myself, but here's what others who encountered it have said: https://unix.stackexchange.com/questions/688261/please-help-sub-process-usr-bin-dpkg-returned-an-error-code-1-installing-mys

I'm having the same issue today on Ubuntu 22.04 after upgrading from 20.04; sqlsrv-5.10.1 was installed.
sudo pecl install pdo_sqlsrv  # tries to install pdo_sqlsrv-5.11.1
fails with message: libtool: link: `/usr/lib/x86_64-linux-gnu/libltdl.la' is not a valid libtool archive
sudo pecl install pdo_sqlsrv-5.10.1  # a no-op
sudo pecl uninstall pdo_sqlsrv-5.10.1  # works
sudo pecl install pdo_sqlsrv-5.10.1  # fails with the same message as above
sudo apt -y --allow-downgrades msodbcsql17 odbcinst=2.3.7 odbcinst1debian2=2.3.7 unixodbc-dev=2.3.7 unixodbc=2.3.7  # as indicated above
sudo pecl install pdo_sqlsrv  # works now

The "is not a valid libtool" error  should now be solved for Debian 11 amd64, with unixodbc 2.3.11-2.
We were unable to reproduce this issue on other versions of Debian and Ubuntu.

This worked for me:
for package_name in $(sudo ls /var/lib/dpkg/info | grep -i odbc); do sudo mv -v /var/lib/dpkg/info/$package_name /tmp/; done
sudo apt --fix-broken install -y
sudo apt-get -y autoremove
sudo apt-get update
ACCEPT_EULA=Y sudo -E apt-get install --reinstall -y msodbcsql18

Nothing worked for me Ubuntu 22.04 still missing pdo_sqlsrv and sqlsrv wont install.

Are there error messages? Which specific part of the install fails?

У меня ничего не получилось. В Ubuntu 22.04 по-прежнему отсутствует pdo_sqlsrv, а sqlsrv не устанавливается.

на этот момент времени все так же для Ubuntu 22.04 ошибка остается ( PHP Startup: Unable to load dynamic library 'pdo_sqlsrv').

Still broken on both Debian and Ubuntu

что насчет Centos7? работает?

Didn't try on CentOS. The problem was always reported on Debian and Ubuntu

Is this an installation error? Or does the install finish with no issues, but the library can't be imported when running the PHP script?

Второе
Пт, 19 июля 2024 г. в 00:56, v-makouz @.***>:

Is this an installation error? Or does the install finish with no issues,
but the library can't be imported when running the PHP script?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/msphpsql/issues/1436#issuecomment-2237688338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHVHTNDJV3QCQIK2I4AMZTZNA2ZDAVCNFSM6AAAAAAUZ3X7ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGY4DQMZTHA
.
You are receiving this because you commented.Message ID:
@.***>

If you set error_reporting = E_ALL, display_errors = On, and display_startup_errors = On in php.ini, it should show where it's looking for the libraries it's attempting to load, which might give a clue as to why it doesn't load

adding E_ALL to error_reporting is useless. the package does not install because of broken dependencies.

@fcorrigabb Oh that was in response to AvelPostol, who seems to have a different problem where the driver installs fine, but import doesn't work.
In any case, are you using the docker? How are you installing the driver?

We added this specifically to our docker image to make it work both for amd64 and arm architecture:
# Can be removed when depdency issue is fixed: https://github.com/microsoft/msphpsql/issues/1436
# amd64 has a depedency issue, but installing this on ARM will fail
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "amd64" ]; then  \
     apt-get install -y --allow-downgrades  \
        odbcinst=2.3.7  \
        odbcinst1debian2=2.3.7  \
        unixodbc=2.3.7  \
        unixodbc-dev=2.3.7  \
    ; fi

kudos to teammate of mine.

@v-makouz  is it solved now? i see no reference to any issue elsewhere where i can find if this got solved or not?

As of yesterday, it was not yet resolved.
`Step 27/57 : RUN ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools
---> Running in e78412022b01
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
odbcinst : Depends: odbcinst1debian2 (>= 2.3.11-1) but 2.3.6-0.1+b1 is to be installed
unixodbc : Depends: odbcinst1debian2 (>= 2.3.11-1) but 2.3.6-0.1+b1 is to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools' returned a non-zero code: 100`

This worked for me last year, try this:
RUN apt-get -qq -y update \
  && apt-get --no-install-recommends -qq -y install apt-transport-https \
  && curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
  && curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list \
  && apt-get -qq -y update \
  && ACCEPT_EULA=Y apt-get install -y msodbcsql17 odbcinst=2.3.7 odbcinst1debian2=2.3.7 unixodbc-dev=2.3.7 unixodbc=2.3.7 \
  && pecl install pdo_sqlsrv-5.10.1 \
  && docker-php-ext-enable pdo_sqlsrv

@delboy1978uk is there a reason why you had to force several packages at version 2.3.7 when the required version is >= 2.3.11?
also, why pdo_sqlsrv-5.10.1 ?

@fcorrigabb It looks like you're getting the error installing ODBC Driver 17 and the mssql-tools. I tried installing them on clean VMs with Ubuntu 20.04 and Debian 12, and both worked without issue.
(Though I did notice the install instructions for Driver 17 are missing this line: curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg)
I suspect the docker pulls something from a different repo (there was a bug a while ago, where docker used a minimal distro of an OS, which didn't have some of the usual packages, so it had an error that didn't occur otherwise)

@v-makouz i already included that line in my install scripts. I'll check back later this week and let you know if something has changed.

The problem is still there. unixodbc-dev from the MS repo is either version 2.3.7 or 2.3.11.
Even using ubuntu 22.04 repo on debian, msodbcsql18 and/or mssql-tools18 require(s) unixodbc-dev version =2.3.6-0.1+b1
Dependencies are still broken

Tried with debian 10 and IT WORKS with unixodbc-dev 2.3.11.

I think i fixed the problem with debian 11. I managed to build the image with unixodbc 2.3.11 and msodbcsql and mssql-tools ver,. 18.
if it works correctly, i'll be back with the solution

For whatever reason, on Debian 11, if i install unixorbc-dev from the debian repo BEFORE adding the external repo, everything seems to work and unixodbc-dev gets also updated.
On Debian 9 i need to install the multiarch-support package from the Ubuntu repo (for example: http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1.5_amd64.deb ) before installing packages from the the Microsoft repo.


Error compiling in Ubuntu 16.04

I did:
git clone https://github.com/deeponion/deeponion.git --recursive
cd deeponion
./autogen.sh
./configure
I get :
configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore)
How can I point the Berkeley DB to the correct location for autotools?

The Issues Section is not for helping users configure their systems. And regarding the problem with Berkeley DB a simple Google Search would deliver enough information.
Here is one of the many methods for manual compilation of BDB.
In future, please, only post issues that affect our software, not your local configuration problems.
Thanks!

More specifically in Ubuntu 16.04 you install from repository, as per the build instructions:
[code]sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt update
sudo apt install ibdb4.8-dev libdb4.8++-dev[/code]

yes install berkeley DB as per instruction you should be fine.

Thanks for all the help. it is indeed a local configuration problem.
What I had to do was give some extra params to configure:
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --with-gui=qt5

I see, looks like you installed Berkeley DB in a different location. If you follow strictly the guide, it should be in the def location. Glad you solved the issue.


Change the shapely-polygon converters to use the exterior.xy to…

…circumvent errors, for cases when the boundary is no linestring.

@RichardPfr please use the "closes" keyword as we can therefore combine pull request and issue.
Closes #5.

@RichardPfr please resolve and merge

@axtimhaus made some changes to main in the commit 31690ea which prevent the automatic merge (to output xy and coords instead of x and y):
xy=np.array(value.boundary.xy),
coords=np.array(value.boundary.coords),

This still causes the errors as in #5 and could all just be changed to the following to complete the pull request:
xy=np.array(value.exterior.coords.xy),
coords=np.array(value.exterior.coords),

But in that commit @GRPlan also mentioned issues with that change. My Question is if I should still just make the changes as described in this comment?
Also to me the coords and xy columns of the df seem to contain the exactly same content, just in a different shape.

So how I see the changes made by @axtimhaus: He wanted to give the export in general more flexibility, as he is exporting more information. The difference of xy and coords is that the latter one is ordered.  I propose, you add the x as well as y values to the dictionary, so having all 4 options.

The meaning of xy and coords is the same as in shapely. Xy gives you distinct arrays of the x and y values, whereas coords gives you a list of coordinate tuples.


Code suggestion comment incorrect when it comes to adding a trailing new line at the end of a file

Environment details
Using googleapis/code-suggester@v4, as per https://github.com/googleapis/code-suggester?tab=readme-ov-file#review-a-pull-request
Steps to reproduce

Create a .patch file that adds a newline at the end of a file
Have the googleapis/code-suggester@v4 post that change as a code review suggestion

Expected
A code suggestion that would add the trailing new line.
Actual
A code suggestion that is missing the trailing new line, meaning no change happens through the suggestion.

On a related note: when there's two newlines at the end of a file, and patch file to collapse that into one, then you get a message "Some suggestions could not be made:".


Add .sq locale

Add Albanian translation file

Deployed to: http://staging.quran.com:32919

Deployed to: http://staging.quran.com:32920

JAK for your contributions @korabh
Can you please add a locale for these two messages as well? We actually need to localize these two strings for all languages :)

Deployed to: http://staging.quran.com:32923

Deployed to: http://staging.quran.com:32926

rebuild

rebuild

Deployed to: http://staging.quran.com:32942


Increase in ssh-keygen execution time in openssl 3.0.13

Recently, we found that ssh-keygen(built with openssl3.0) is taking 1-2s to execute whereas in openssl3.1 it was hardly half a second
The reproduce steps:
root@intel-x86-64:~# mkdir -p ~/test/
root@intel-x86-64:~# time echo y | ssh-keygen -t rsa -f ~/test/id_rsa -N ""
Generating public/private rsa key pair.
real    0m1.150s
user    0m1.136s
sys     0m0.004s
root@intel-x86-64:~#
root@intel-x86-64:~# rm -rf test/*
root@intel-x86-64:~# time echo y | ssh-keygen -t rsa -f ~/test/id_rsa -N ""
Generating public/private rsa key pair.
real    0m1.478s
user    0m1.467s
sys     0m0.002s
root@intel-x86-64:~#
Campared with openssl3.1 branch, we found two commits is related to the performance Improvement
https://github.com/openssl/openssl/commit/dd1d7bcb69994d81662e709b0ad838880b943870
https://github.com/openssl/openssl/commit/d2f6e66d2837bff1f5f7636bb2118e3a45c9df61
We could see an increase in performance after applying the these commits.
I wonder if these fixes would be merged into the openssl 3.0 branch ?

Performance fixes are in general not eligible for backports to stable release branches. In specific cases an exception could be given by OTC but there would have to be very good reasons for such an exception.


Disconnect on joining any server

Confirmed to be forgetmechunk, latest ver

https://github.com/mjwells2002/ForgetMeChunk/issues/13


[connectivity] warning: ConnectivityBroadcastReceiver.java uses or overrides a deprecated API.

When I compile I see these notes on the console screen
Note: Recompile with -Xlint:unchecked for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\connectivity-0.4.5+3\android\src\main\java\io\flutter\plugins\connectivity\ConnectivityBroadcastReceiver.java uses or overrides a deprecated API.

pubspec.yaml
name: appjazz
description: Aplicativo do Jazz e Blues
version: 8.0.0+8

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  cupertino_icons: ^0.1.2
  http: ^0.12.0+2
  path_provider: ^1.4.0
  sqflite: ^1.1.7+2
  connectivity: ^0.4.5+3
  url_launcher: ^5.2.5
  cloud_firestore: ^0.12.10
  firebase_auth: ^0.14.0+8
  google_sign_in: ^4.0.11
  firebase_database: ^3.0.9
  rxdart: ^0.22.6
  webview_flutter: ^0.3.15+1
  auto_size_text: ^2.1.0
  latlong: ^0.6.1
  queries: ^0.1.12
  firebase_analytics: ^5.0.6
  shared_preferences: ^0.5.4+3

dev_dependencies:
  flutter_test:
    sdk: flutter

  intl_translation: ^0.17.7

flutter:

  uses-material-design: true

  assets:
    - assets/logoJazz.png
    - assets/bakground.jpg
    - assets/fundo1.jpg
    - assets/fundo2.jpg
    - assets/fundo3.jpg
    - assets/userAvatar.png
    - assets/logo-pmro-2018-cinza.png
    - assets/pmro2018-logo.png
    - assets/termos.txt
    - assets/sobreHeader.jpg
    - assets/backgroundMenu.png
    - assets/wood.jpeg
    - assets/praia.jpeg
    - assets/praia2.jpeg
    - assets/logoSVG.svg

  fonts:
     - family: Big Noodle Titling
       fonts:
         - asset: fonts/big_noodle_titling.ttf
     - family: GlosaDisplayW01-Bold
       fonts:
         - asset: fonts/glosa_display_w01_bold.ttf
     - family: BakerieSmoothCondensedMedium
       fonts:
         - asset: fonts/BakerieSmoothCondensed-Medium.otf
     - family: BakerieSmoothBold
       fonts:
         - asset: fonts/BakerieSmooth-Bold.otf
     - family: iconsmind
       fonts:
         - asset: fonts/iconsmind.ttf

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [versÃ£o 10.0.18362.418], locale pt-BR)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.5)
[√] IntelliJ IDEA Community Edition (version 2019.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.3)
    X Flutter plugin not installed; this adds Flutter specific functionality.
[√] IntelliJ IDEA Ultimate Edition (version 2019.1)
[√] VS Code (version 1.39.2)
[√] Connected device (1 available)

me too.
i hope can get the information at here.

same issue

Same here.
Note: /Users/danielrestrepo/dev/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.5+6/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityBroadcastReceiver.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Running Gradle task 'bundleRelease'... Running Gradle task 'bundleRelease'... Done                       108.5s Built build/app/outputs/bundle/release/app.aab (17.0MB).
I found on a similar issue (#42887) that downgrading to  0.4.4+1 and running flutter clean would solve the problem. But that didn't work for me.

Same here. Any news?

I'm also having the same issue, any help ?

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 48s
AndroidX incompatibilities may have caused this build to fail. Please migrate your app to AndroidX. See https://goo.gl/CP92wY.
Finished with error: Gradle task assembleDebug failed with exit code 1

same problem

same issue on Flutter (Channel stable, 1.20.1, on Microsoft Windows [versÃ£o 10.0.18362.657], locale pt-BR)

is there a solution yet for this issue ?

Same error here :(

Is there some news about this issue?

same issue here :(

flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.9+2/android/src/main/java/io/flutter/plugins/connectivity/ConnectivityBroadcastReceiver.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Same Issue! Do you have solution?
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6, locale en-VN)
• Flutter version 1.20.3 at /Users/huantd0111/flutter
• Framework revision 216dee60c0 (10 days ago), 2020-09-01 12:24:47 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /Users/huantd0111/Library/Android/sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• iPhone 11 (mobile) • 88FF54A8-AA00-49F6-AA93-DC742ABAC765 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)

I started getting the same issue after upgrading flutter from 1.17.0-9.0.pre to 1.22.0-9.0.pre (Dev Channel)

I solved it by reinstalling the flutter and dart plug-ins in Android Studio

I too have the same issue, Any solution has been found !

I solved this problem by update in app.gradle the minSdkVersion to:
minSdkVersion 21
Check that you're in this version

same issue here 1.25 and 1.26

same issue here 1.25 and 1.26

Seconded. minSdkVersion 21 is not helpful in my case.
Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (4 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

Try adding this line In your Project folder > android > app > build.gradle, add the following line

defaultConfig {
multiDexEnabled true
}

If you have some errors after using first step, you should update gradle


Debug impl for Value is misleading

Example of the Debug output for a SendValue containing a guint:
SendValue(Value(GString(Foreign(0x7f6c008620, 24))))

This is the Debug impl:
impl fmt::Debug for Value {
    fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
        unsafe {
            let s: GString =
                from_glib_full(gobject_sys::g_strdup_value_contents(self.to_glib_none().0));

            f.debug_tuple("Value").field(&s).finish()
        }
    }
}

I don't know what it does exactly, but it looks like it always outputs a string for some reason. Also, IMHO the SendValue() and Value() wrapping in the output is not very useful.
What I'd love to see instead: guint(10) for both a Value and SendValue.
There is precedent for not only printing inner values in the standard library: NonZero*, Rc, even Cow.

            f.debug_tuple("Value").field(&s.as_str()).finish()

This would be more correct and actually print the type :) Want to send a PR?
Making this guint(10) will be non-trivial, just printing the type properly would be what that code intended.

Sure, I can send a PR. How do you feel about removing the SendValue and Value newtypes from the debug output (writing only s.as_str())?

If we were able to print the value itself, yes. But we can only really print the type so I'd go with SendValue(TYPE) and Value(TYPE) (i.e. not SendValue(Value(TYPE))).


nsd-control: no 'listzones'?

Hi Everyone,
Is there any way to list all the zones in nsd.conf without having to parse the file?
I was looking for an nsd-control subcommand for this purpose. There is 'addzones' and 'delzones' but no 'listzones'?
Does anyone have a spare nsd.conf parser for ksh? :)
Cheers

Hi,
The command nsd-checkconf -o zones outputs a list of zones on the output. The output would look like this:
example.com
example2.com
example3.com

A similar command exists patterns that lists all the patterns. nsd-checkconf can also print individual options and is meant for scripting. The man page is here, https://www.nlnetlabs.nl/documentation/nsd/nsd-checkconf/ , look for the -o and -z, and also the -s, -t and -p options.
If you want to query the running server, does the command nsd-control zonestatus help you out here? That shows all the zones, and also their status. It has output like:
zone:	example.com
	state: master
zone:	example2.com
	state: master
zone:	example3.com
	state: ok
	served-serial: "2021071600 since 2021-07-23T09:27:35"
	commit-serial: "2021071600 since 2021-07-23T09:27:35"
	wait: "27870 sec between attempts"

Hi,
Brilliant! Thanks for the thorough answer, mate.
The first solution you have posted gives me the exact output I was looking, but querying a running server is what I was after.
So in case anybody needs this in the future, I have processed the output as follows:
nsd-control zonestatus | grep -a "zone:" | cut -f2
Again, many thanks!

So that does not need a listzones command, so the issue can be closed. The existing solutions seem fine. Thanks for the scriptlet example.

You are welcome, mate. Here is what I am actually using it for:
nsd-control zonestatus | grep -a "zone:" | cut -f2 | xargs  -I % sh -c 'echo %; nsd-control force_transfer %; nsd-control write %'
Basically, next time when I set up a slave, I will run this script on it and it will download all zones from the master.
One more thing, would it be possible to add a wildcard feature in nsd-control for referring to all zones?
For example, the above scriptlet could be replaced with the following:
nsd-control force_transfer *
nsd-control write *
The * would refer to all zones, so the command would cycle through them.
Yes, naturally you can close this issue. :)
Thanks for the help, again.
Cheers

NSD already has this wildcard feature, simply leave out the zone name, nsd-control write writes all the zones. And also force_transfer is listed that you can leave out the zone name. It then applies to all zones.
NSD also transfers all the zones you configure, if they do not have a zonefile yet, at start. It takes small pauses to deal with large floods, but then transfers all the zones. The zonefiles-write timer could be used to then get the data. So if you have no data yet, just start NSD, wait a couple seconds for the transfers to complete, and then nsd-control write.

Aw okay, thanks mate. Now it makes sense.
At first I was confused by the nsd-control manual as, first of all, it did not explicitly state that without zone name being passed after the force_transfer or write it will perform those subcommands on all zones.
There is, however, an obscure reference in the section of the transfer subcommand to this behaviour:

"The masters are configured via 'request-xfr:' lists. If a zone is given, that zone is updated. Usually NSD receives a NOTIFY from the masters (configured via 'allow-notify:' acl list) that a new zone serial has to be transferred."

The syntax grammar also refers to the zones passed as [<zone>]. While subcommand [variable] suggests variable is optional, subcommand <variable> suggests variable is mandatory. So using them together is a little confusing.
Anyway, thanks for clearing this up.
One more thing. I know what I am suggesting now would require changing the API, but if ever, perhaps in the distant future, it would come to that, would it be possible to prefix the XFR related config options by xfr-? For example notify would become xfr-notify, then zonefiles-write would become xfr-zonefiles-write or xfr-write, etc. They seem to be a little all over the place.
On the other hand, NSD is so far the best authoritative DNS server I have come across in the last 20 years. Keep it up guys! :)

Fixed the man page to note down some commands can operate on all zones. Thank you for the suggestions to improve the configuration.

Okay, thanks. It makes sense now.


Tried installing the app and followed the video for screen sharing its not working as well

The toggles are not enabled when I share via team viewer desktop app,
Please help

@theowni

Hi @ratneshBureau,
could you provide more details such as:

device
Android version
TeamViewer mobile app version
Step by step instructions to reproduce the issue

Device: Redmi Note 10 Pro
Android version: 13
Teamviewer Quick Support version : 15.58.555
Steps to reproduce: 1. Connected with session ID provided from TeamViewer Quick support on Mac Desktop App.
2. Once it connected and the screen sharing is visible.
3. Opened RemoteControlDetector app.
4. The toggle are not enabled in this as mentioned in Readme video DemoTeamViewerPoC.mp4.
@theowni

Hi @ratneshBureau,
sorry for not replying. Currently, I don't have an environment to replicate the detection issue.
Are you able to check what is the package name of TeamViewer add-on? Check if you have installed any app with package name containing "teamviewer" in its name.
Maybe, the name of the add-on changed over the time since I released this app and needs to be added to the list of known packages in the following file:
https://github.com/theowni/Android-MaliciousAccessibilityServiceAppsDetector/blob/73153caed450f0f5c561b0fffb044e1a159f77bc/app/src/main/res/raw/appconfigs.json#L5
In terms of the black screen, it's not an issue but an intended behaviour. Black screen is a result of the FLAG_SECURE set for the activity. It prevents from capturing the screen of the activity.
https://github.com/theowni/Android-MaliciousAccessibilityServiceAppsDetector/blob/73153caed450f0f5c561b0fffb044e1a159f77bc/app/src/main/java/com/theowni/remotecontroldetector/BaseSecureActivity.java#L14


Split client_models into multiple files in models directory

Closes https://github.com/software-mansion/starknet.py/issues/347

I don't know how realistic is resolving the conflicts in this PR. Perhaps a new one should be opened merged as soon as possible to avoid this situation.