Fetch forecast data for dev & QA only

This ensures forecast APIs are called only for the cost-demo and insights-qa users. That is, until the forecast feature is fully tested and ready for production.
https://issues.redhat.com/browse/COST-806

Codecov Report

Merging #1777 (6fc6352) into master (723ad25) will increase coverage by 1.20%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1777      +/-   ##
==========================================
+ Coverage   77.00%   78.20%   +1.20%
==========================================
  Files         295      295
  Lines        4761     5204     +443
  Branches      906     1187     +281
==========================================
+ Hits         3666     4070     +404
- Misses        993     1115     +122
+ Partials      102       19      -83

Impacted Files
Coverage Δ

...pages/dashboard/components/dashboardWidgetBase.tsx
43.45% <50.00%> (+1.01%)
:arrow_up:

src/components/i18n/i18nProvider.tsx
57.14% <0.00%> (-9.53%)
:arrow_down:

src/pages/state/maintenance/maintenanceState.tsx
66.66% <0.00%> (-8.34%)
:arrow_down:

src/store/common.ts
81.81% <0.00%> (-7.08%)
:arrow_down:

...ponents/reports/reportSummary/reportSummaryAlt.tsx
52.94% <0.00%> (-7.06%)
:arrow_down:

src/api/reports/reportUtils.ts
27.77% <0.00%> (-6.71%)
:arrow_down:

src/api/exports/exportUtils.ts
29.16% <0.00%> (-5.84%)
:arrow_down:

src/api/tags/tagUtils.ts
30.00% <0.00%> (-5.30%)
:arrow_down:

src/api/forecasts/forecastUtils.ts
31.25% <0.00%> (-4.47%)
:arrow_down:

src/utils/permissionsComponent.tsx
30.76% <0.00%> (-4.02%)
:arrow_down:

... and 95 more

Continue to review full report at Codecov.

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


Project stopped having its builds run on Git push without warning

Details

Read the Docs project URL: https://readthedocs.org/projects/zulip/builds/
Build URL (if applicable):
Read the Docs username (if applicable): zulip

Expected Result
When we push new changes to our Git master branch, a ReadTheDocs build is triggered.
Actual Result
Builds seem to now only run manually (I just triggered a manual build to fix our docs right now), starting apparently 6 weeks ago:

I administer our GitHub

I think this is because the deprecated github services. You might have received an email #4898.
Docs: https://docs.readthedocs.io/en/latest/webhooks.html#i-was-warned-i-shouldn-t-use-github-services

Ahh, that would do it.  I searched my email, and didn't get that email from GitHub; weird.
Anyway, thanks for the fast support!

That's great. :+1:
Feel free to open another issue if the problem still persists.


WIP Overfitting chapter refactoring

I splitted the slides and updated the jupyter book structure with an intro and take away.
I still need to add the quizzes.
I also want to improve the diagrams of the bias vs variance slides to progressively add arrows to the target before recording the voice-over.

I notice that there are .ipynb files modified in this PR. Do we still need to commit these files? I thought that with the current build infrastructure they were no needed.
If they are needed, I am doing things wrong, as I am not updating them.

I'm in favor of merging this PR and iterating on top of this. Merging will make collaborative thinking on the MOOC easier.

I did not mean to commit those changes. I probably messed up something local git clone with another WIP branch when we changed the way to handle the notebooks. Let me clean this up.

I'm in favor of merging this PR and iterating on top of this. Merging will make collaborative thinking on the MOOC easier.

Let's merge. Feel free to edit directly and push to master. I opened the PR just to check that I did not break the jupyterbook rendering and it was worth it because I had not noticed that I had spurious changes in the notebooks in my branch.

Next: I will add quiz questions and then the progressive arrow throwing slides for the bias variance deck.


Hub is not loading one of my charts

I have my charts in https://gkarthiks.github.io/helm-charts/ and four of them are listed in the hub without issue here https://hub.helm.sh/charts/gkarthiks.
But the kafka exporter chart is not listed in the hub.

This is a duplicate of #287. If you scroll down you'll see the chart. We have a bug.

right @mattfarina I see it in the middle of the page. Thanks!


Add Jira Integration for Backstage Community Plugin

Hey, I just made a Pull Request!
Description:
This pull request introduces a new integration for Jira within the Backstage community plugins. The changes include:
- Implementation of the Jira API to fetch and display project and issue data within Backstage.
- Added components for seamless interaction with Jira, including views for issues and project details.
- Enhanced user experience with updated UI elements tailored for Jira integration.
- Screenshot for UI is attached in README.md file of jira-plugin.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi @KalyaniNakatNineleaps, would it be possible to share the differences between this plugin and the two existing Jira plugins?

Jira: https://roadie.io/backstage/plugins/jira/
Jira Dashboard: https://github.com/AxisCommunications/backstage-plugins/blob/main/plugins/jira-dashboard/README.md

Hi @awanlin,
Here's a detailed breakdown of how the Nineleaps Jira plugin stands out compared to the existing ones:
1. User-Specific Data: Our plugin personalizes the experience by displaying only the assigned tasks for the logged-in user. For example, when a developer logs in, they see a list of issues assigned to them—like bug fixes or feature requests—rather than a cluttered view of all tasks in a project. This targeted approach helps them focus on what’s most relevant and avoids the distraction of irrelevant tasks.
2. Flexible Usage on Homepage: Unlike Roadie and Axis Communications' plugins, which work on a single project key and bring only Jira project data tied to a specific service into the Catalog, our plugin allows users to access their Jira tasks directly from the homepage without needing to input specific project keys.For instance, a project manager can quickly view their tasks across multiple projects without navigating through different menus or configurations. This flexibility makes task management more efficient and convenient, helping users stay updated with minimal effort.
3. Database Support with Knex.js: Our plugin utilizes Knex.js for efficient data storage and retrieval. For example, when a developer updates the status of their tasks—like marking a bug as resolved—Knex.js facilitates storing that updated status in the database quickly and reliably. This capability ensures that users have immediate access to the most current information without delays, enhancing their productivity.
4. Automated Data Refresh: We’ve incorporated a cron job that automatically refreshes Jira data every hour. For example, if a team member resolves an issue, they won’t have to wait for manual updates; the changes will appear on their dashboard after the next automatic refresh. This feature keeps everyone in sync with the latest updates, improving collaboration and workflow efficiency.
Let me know if you'd like more details!

Thanks for the follow up @KalyaniNakatNineleaps, that helps, I might include that in your README as well as images of this where applicable as it wasn't clear to me after reading that over.
I do have a few more questions out of curiosity: Is there a reason you did not contribute these features to either of the existing plugins? For points 3 and 4, why would you just not call the Jira API to get the latest data?

Hi @awanlin,
Glad the explanation helped!
As for your questions:
1. We created a new Jira plugin instead of integrating it into existing ones to keep the functionality focused and modular. Jira has unique features that require a dedicated approach. This way, we ensure better maintainability and avoid overcomplicating the existing plugins.
2. As a user, imagine you're trying to view the latest Jira issues on Backstage homepage. If the system were to call the Jira API every time, you might have to wait for the data to load, which can be slow due to network delays or API rate limits. But with a cron job syncing Jira data into a local database, you can instantly see the most up-to-date information without any delays, providing a much faster and smoother experience while browsing Jira issues without hitting API limit.Additionally, if you want to access Jira data in other components of Backstage, you can simply pull the data from the database without needing to call the Jira API separately.
Let me know if you need more details!

Hi @awanlin, Glad the explanation helped!
As for your questions: 1. We created a new Jira plugin instead of integrating it into existing ones to keep the functionality focused and modular. Jira has unique features that require a dedicated approach. This way, we ensure better maintainability and avoid overcomplicating the existing plugins. 2. As a user, imagine you're trying to view the latest Jira issues on Backstage homepage. If the system were to call the Jira API every time, you might have to wait for the data to load, which can be slow due to network delays or API rate limits. But with a cron job syncing Jira data into a local database, you can instantly see the most up-to-date information without any delays, providing a much faster and smoother experience while browsing Jira issues without hitting API limit.Additionally, if you want to access Jira data in other components of Backstage, you can simply pull the data from the database without needing to call the Jira API separately.
Let me know if you need more details!

Hi @KalyaniNakatNineleaps! Thank you for opening a PR! I have a few comments.

I understand the desire for focused and modular functionality, but I'm curious about the specific features in this new Jira plugin that couldn't be integrated into the existing ones. Could you elaborate on what makes this plugin's approach so unique that it necessitates a separate implementation?
Regarding your point about caching Jira data, while I appreciate the concern about potential delays with real-time API calls, I'm not sure I follow the preference for a cached version.  Wouldn't most users rather have the most up-to-date information, even if it means a slightly longer initial load time? It seems like relying on a cron job for updates could lead to discrepancies between the displayed data and the actual Jira issues. Can you explain the benefits of this caching strategy in more detail, especially in situations where data accuracy is crucial?

Again, thank you for opening a PR and trying to contribute to Backstage!


@scalar/fastify-api-reference cannot handle IPv6 address (splits url wrongly)

What happens?
The @scalar/fastify-api-reference plugin does not seem to parse a IPv6 correctly.
I get the error:
TypeError: Invalid URL\n    at new URL (node:internal/url:806:29)\n    at Object.handler (node_modules/@scalar/fastify-api-reference/dist/index.js:14486:28)\n    at preHandlerCallbackInner (node_modules/fastify/lib/handleRequest.js:161:24)\n    at preHandlerCallback (node_modules/fastify/lib/handleRequest.js:129:5)\n    at validationCompleted (node_modules/fastify/lib/handleRequest.js:119:5)\n    at preValidationCallback (node_modules/fastify/lib/handleRequest.js:96:5)\n    at handler (node_modules/fastify/lib/handleRequest.js:73:7)\n    at Object.handleRequest (node_modules/fastify/lib/handleRequest.js:29:5)\n    at runPreParsing (node_modules/fastify/lib/route.js:570:19)\n    at Object.routeHandler [as handler] (node_modules/fastify/lib/route.js:490:7) {\n  code: 'ERR_INVALID_URL',\n  input: '/documentation/',\n  base: 'http://[fd00'\n}

Notice the last bit:
code: 'ERR_INVALID_URL',\n  input: '/documentation/',\n  base: 'http://[fd00'\n

I registered the plugin with:
routePrefix  : '/documentation',

And I reached the server via a private IPv6 address http://[fd00:99::1:1]:8080.
It seems like it cut the IPv6 address at the first : (probably to parse the port)
If I reach the server with a IPv4 address it works fine.
What did you expect to happen?
To not error out.
OpenAPI Document
No response

I’m don’t remember doing anything with the host at all 🤔 Anyway, thanks for the report. We’ll investigate.

I located it must be somewhere around here.

I found that this is actually a problem with Fastify itself.
This simple server:
import {fastify} from 'fastify';

const server = fastify({
    logger: true
});

server.get('/', (request, reply) => {
    console.log('Hostname: "' + request.hostname + '"');
    reply.send('Hello World!');
});

server.listen({port: 3040}, (err, address) => {
    console.log(`Server listening at ${address}`);
});

Prints:
Server listening at http://[::1]:3040
{"level":30,"time":1730060215348,"pid":34830,"hostname":"<redacted>","reqId":"req-1","req":{"method":"GET","url":"/","host":"[::1]:3040","remoteAddress":"::1","remotePort":63860},"msg":"incoming request"}
Hostname: "["

We can see that the hostname resolved to [ which is wrong. It should be [::1].

I will report it to Fastify itself.


[Suggestion] Parameter for the duration of the animation

Congratulations on the package!
I wanted to suggest to create an optional parameter of the widget, to set the duration of the animation of opening and closing the card.
Thank you ;)

thanks brother and sorry for late reply i am busy in my first flutter job and missed your request just saw your message and quickly added duration parameter.


Window for "Select Data Source" disappears seconds after switching tabs, right as you're selecting a data source

Description
As the title says, the window for "Select Data Source" disappears seconds after switching tabs, right as you're selecting a data source. So you switch tabs, go to use a different data source for the query, and begin typing the name of the data source to select it (which is a brilliant feature), but then some refresh occurs in the background and the "Select Data Source" window disappears, and suddenly you're typing in the main query window. Only costs seconds, but seems to happen very often and is somewhat maddening.
DBeaver Version
Community Edition 24.0.4
Operating System
Windows 10 22H2
Database and driver
MS SQL 2016; Microsoft JDBC Driver for SQL Server 12.4
Steps to reproduce
Switch to any other open tab
Hit CTRL-9 to open the "Select Data Source" window
begin typing to filter the existing saved data sources
as you type, the window will disappear, and you'll be typing in the main query window, accidentally.
You now have to hit CTRL-9 again to restart the Data Source selection process
Additional context
No response

Unfortunately, I can't reproduce the issue. Could you turn these settings on and record a small video showing the issue? All keys pressed and mouse clicks will be shown on the screen and we could see the issue roots

I think it's because when you switch to an existing tab (which you hadn't yet connected that server / tab yet this session) then it does a background connect, but allows you to open the data source switcher before the connection completes, yet kills the data source switcher at the point that the connection does complete. You can see in the bottom right of the screen the new connection being connected when you switch tabs.
I'll admit I had to go a bit quicker than normal in this demo, but in a normal day I find this happens quite a lot, without trying to go any faster than normal. When you're in the zone, you go quite quick, right?

Thank you


Nuxt.js & Now 2.0

Hi, sorry if this is the wrong channel but is there any documentation that shows how to host nuxt.js on now 2.0?

Hello @lanbau !
Not at the moment, but indeed Nuxt has been requested frequently.
Stay tuned on https://github.com/zeit/now-examples
Best regards.


CSV to XLSX?

Any chance to convert a valid CSV with ';' to XLSX?

If you are asking about ; as a delimiter, it is automatically detected: https://github.com/SheetJS/sheetjs/blob/master/bits/40_harb.js#L846-L884
For known CSV files that happen to have semicolons, either wrap them in quotes or pass FS: "," to read.  The sep="," pragma also works

No it was rather a general question, haven't found documentation nor a method matching to the enquiry in the interface on how to convert a csv-string to a Excel spreadsheet.

ezpz:
var wb = XLSX.read(csv_string, { type: "string" });
XLSX.writeFile(wb, "csv.xlsx");

Great thank you! But we want to return the Spreadsheet from an API, but I think I saw a type property somewhere with Binary etc.

var bstr = XLSX.write(wb, { bookType: "xlsx", type: "binary" }); // binary string

https://github.com/SheetJS/sheetjs#output-type it can also make Buffer in NodeJS or Uint8Array

thx!


Link not found

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

ID: 9a8c568e-c769-7534-f56c-98a1e8d77a2f
Version Independent ID: 95937601-fdb4-ea5f-a50f-9decc46a68cb
Content: Microsoft Desktop Optimization Pack Automation with Windows PowerShell
Content Source: docset/docs-conceptual/mdop/get-started.md
Product: w10
Technology: powershell-mdop
GitHub Login: @AndreaBarr
Microsoft Alias: v-anbarr

@AndreaBarr . i have received error message  Some checks haven’t completed yet, so please look into this PR #2023

@RAJU2529 Please don't tag staff members as issues are being handled within a queue. It has been over a year since Andrea has retired from the project.

Closing via #2023


Update README.md

Fix link to sample project from README

This was fixed by another PR that got merged.

Fixed with an earlier PR. We've got some growing pains when we moved our main docs over to here, and we still don't have an ideal solution for mirroring this README.


Add team stats per season as API endpoint

I'd be open to picking up this issue. Would you want these to be similar to the current routes we have for sloths?
Current routes for sloths
    sloths/{sloth}/herostatistics
    sloths/{sloth}/season/{season}/herostatistics

New routes
    teams/{team}/herostatistics
    teams/{team}/season/{season}/herostatistics

Optionally these additional routes:
    sloths/{sloth}/mapstatistics
    sloths/{sloth}/season/{season}/mapstatistics
    teams/{team}/mapstatistics
    teams/{team}/season/{season}/mapstatistics

I can also see to refactoring our http code and routes.php to all live in the Heroeslounge plugin, instead of spread out over the three plugins as they are now.


Unstable operation with a new library

Hi.
I repeated device Arduino nano and Mega.

everything worked.
But after upgrading the library, devices stopped working.
Even a basic test  reads unstable data
Device ID: DECA - model: 255, version: 15, revision: 15
Unique ID: FF:FF:FF:FF:00:00:00:00
Network ID & Device Address: PAN: FFFF, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Device ID: DECA - model: 255, version: 15, revision: 15
Unique ID: FF:FF:FF:FF:FF:FF:FF:FF
Network ID & Device Address: PAN: 00, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Device ID: DECA - model: 1, version: 3, revision: 0
Unique ID: FF:FF:FF:FF:00:00:00:00
Network ID & Device Address: PAN: E0FF, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
What can be ???

Device ID: DECA - model: 255, version: 15, revision: 15
Unique ID: FF:FF:FF:FF:00:00:00:00
Network ID & Device Address: PAN: FFFF, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Device ID: DECA - model: 255, version: 15, revision: 15
Unique ID: FF:FF:FF:FF:FF:FF:FF:FF
Network ID & Device Address: PAN: 00, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Device ID: DECA - model: 1, version: 3, revision: 0
Unique ID: FF:FF:FF:FF:00:00:00:00
Network ID & Device Address: PAN: E0FF, Short Address: FFFF
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Device ID: DECA - model: 1, version: 3, revision: 0

in the old library did change:
void DW1000RangingClass::initCommunication(unsigned int myRST, unsigned int mySS) {
// reset line to the chip
_RST              = myRST;
_SS               = mySS;
_resetPeriod      = DEFAULT_RESET_PERIOD;
// reply times (same on both sides for symm. ranging)
_replyDelayTimeUS = DEFAULT_REPLY_DELAY_TIME;
//we set our timer delay
_timerDelay       = DEFAULT_TIMER_DELAY;
//	DW1000.begin(1, myRST);
DW1000.begin(0, myRST);
DW1000.select(mySS);
}

But after upgrading the library,
Version from to?

05.05.2016  11:42             5 916 digitalWriteFast.h
05.05.2016  11:42            52 724 DW1000.cpp
05.05.2016  11:42            25 061 DW1000.h
05.05.2016  11:42             3 919 DW1000Device.cpp
05.05.2016  11:42             2 663 DW1000Device.h
05.05.2016  11:42             4 641 DW1000Mac.cpp
05.05.2016  11:42             2 565 DW1000Mac.h
05.05.2016  11:42            29 739 DW1000Ranging.cpp
05.05.2016  11:42             5 597 DW1000Ranging.h
05.05.2016  11:42             4 367 DW1000Time.cpp
05.05.2016  11:42             2 974 DW1000Time.h

This is not really useful information. I suggested more a last commit hash.
My suggest is, that the irq pin is not right. There was a bug, that instead of the real pin the irq register was set. May look at your config.

IRQ PIN is connected to D2
Old library:
DW1000randing.cpp:
void DW1000RangingClass::initCommunication(unsigned int myRST, unsigned int mySS) {
// reset line to the chip
_RST              = myRST;
_SS               = mySS;
_resetPeriod      = DEFAULT_RESET_PERIOD;
// reply times (same on both sides for symm. ranging)
_replyDelayTimeUS = DEFAULT_REPLY_DELAY_TIME;
//we set our timer delay
_timerDelay       = DEFAULT_TIMER_DELAY;
DW1000.begin(0, myRST);
DW1000.select(mySS);

}
DW1000.cpp:
void DW1000Class::begin(int irq, int rst) {
// generous initial init/wake-up-idle delay
delay(5);
// start SPI
SPI.begin();
SPI.usingInterrupt(irq);
// pin and basic member setup
_rst        = rst;
_irq        = irq;
_deviceMode = IDLE_MODE;
// attach interrupt
attachInterrupt(_irq, DW1000Class::handleInterrupt, RISING);
}
Interrupt handler is not beautiful, but it is correct.....
I think that the problem in the SPI speed.....

DW1000.begin(0, myRST);
0!=D2
=>DW1000.begin(D2, myRST);

No! This version of the library works!

oid DW1000Class::begin(int irq, int rst) {
// generous initial init/wake-up-idle delay
delay(5);
// start SPI
SPI.begin();
SPI.usingInterrupt(irq);
// pin and basic member setup
_rst        = rst;
_irq        = irq;
_deviceMode = IDLE_MODE;
// attach interrupt
attachInterrupt(_irq, DW1000Class::handleInterrupt, RISING);
}
pin D2 - interrupt 0

....
told you:

My suggest is, that the irq pin is not right. There was a bug, that instead of the real pin the irq register was set. May look at your config.

So change from old => new version.

DW1000.begin(0, myRST);
0!=D2
=>DW1000.begin(D2, myRST);

What you write is true for the new library

In the old version  need to specify the interrupt number.

Has reduced the speed of SPI. Began working  the basic test. Randing not work.

@R2D2RU Is this still an issue?


use prebuilt cargo-make for travis build

Fixes #191 until juniper drops support for rust 1.21.0

Codecov Report

Merging #193 into master will decrease coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
- Coverage   90.15%   89.78%   -0.38%
==========================================
  Files          96       96
  Lines       18758    17324    -1434
==========================================
- Hits        16912    15554    -1358
+ Misses       1846     1770      -76

Impacted Files
Coverage Δ

juniper/src/executor/mod.rs
88.84% <0%> (-5.7%)
:arrow_down:

juniper/src/tests/query_tests.rs
92.04% <0%> (-4.74%)
:arrow_down:

juniper/src/schema/model.rs
84.4% <0%> (-4.11%)
:arrow_down:

juniper/src/tests/model.rs
91.94% <0%> (-3.44%)
:arrow_down:

juniper/src/parser/tests/document.rs
90.99% <0%> (-2.71%)
:arrow_down:

juniper/src/parser/tests/lexer.rs
89.65% <0%> (-2.69%)
:arrow_down:

juniper/src/lib.rs
84.61% <0%> (-2.23%)
:arrow_down:

juniper/src/tests/introspection_tests.rs
95.07% <0%> (-2.12%)
:arrow_down:

juniper/src/macros/tests/object.rs
84.07% <0%> (-1.83%)
:arrow_down:

juniper/src/schema/meta.rs
79.9% <0%> (-1.56%)
:arrow_down:

... and 33 more

Continue to review full report at Codecov.

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


Add explicit permissions to all tx

Scatter seems to default to active permission even if owner is selected. If the owner/active keys aren't the same this fails. Added explicit permission setting for all txs

We definitely have a pattern here:
  const eosClient = yield select(EosClient());
  const form = yield select(Form());
  const eosAccount = yield select(EosAccount());
  yield put(loadingNotification());
   try {
       {ACTION_BODY_HERE}
       yield put(successNotification(res.transaction_id));
  } catch (err) {
       yield put(failureNotification(err));
  }

I'll have a think about how to best encapsulate it. Pretty sure this is a good use case of currying for most of it

@QuentinDejean 👍 for reducing the repeatable patterns, the less code we need to maintain the better it is.


test: add tests for tsx #9

This PR contains following changes:

Added tests to support TSX parser.
For TSX and TypeScript files, type declaration are counted for classes-metric if they have an implementation. Type alias will not be counted.
E.g: Expressions like type name = any are not counted, but type name = {firstname: string, lastname: string} will be counted.
Closes #9

Would you please add a short description what this PR is changing? I think multiple things are done here, not only adding tests if I am not mistaken, right?

@ce-bo yes, you are right. I have added the description.


Community: Azure CosmosDB No Sql Vector Store: Full Text and Hybrid Search Support

Thank you for contributing to LangChain!

Added full text and hybrid search support for Azure CosmosDB NoSql Vector Store

Added a new enum called CosmosDBQueryType which supports the following values:

VECTOR = "vector"
FULL_TEXT_SEARCH = "full_text_search"
FULL_TEXT_RANK = "full_text_rank"
HYBRID = "hybrid"

User now needs to provide this query_type to the similarity_search method for the vectorStore to make the correct query api call.

Added a couple of work arounds as for the FULL_TEXT_RANK and HYBRID query functions we don't support parameterized queries right now. I have added TODO's in place, and will remove these work arounds by end of January.

Added necessary test cases and updated the

[x] Add tests and docs: If you're adding a new integration, please include

a test for the integration, preferably unit tests that do not rely on network access,
an example notebook showing its use. It lives in docs/docs/integrations directory.

[x] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

could you check the ci failures?
Also, if you're interested in maintaining this integration without us in the loop, we'd love to get an integration package out! Future PRs against langchain would just be {docs updates, as well as registering your package in libs/packages.yml, deprecating this community integration in favor of your integration package}
Here's the guide, and if you have questions, feel free to leave them in the comments on those pages so others can see them! https://python.langchain.com/docs/contributing/how_to/integrations/
would probably live out of https://github.com/langchain-ai/langchain-azure repo

@efriis, we are already working with you guys on porting all the azure integrations to the above repo you mentioned. Once everything is ported we would maintain the langchain-azure repo.


Compile failure at Centos 7.3

There are compilation failures at Centos 7 environment gcc gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36).

fixed by #705


Using nuxt-ui in non-nuxt Vue projects

Hello,
Thanks for this amazing one. Im curious to know if it's possible to use nuxt-ui in non-Nuxt Vue projects? Is there any hard dependency that makes this library work only in Nuxt projects? Any hacks to use it in my iles project? Thanks again!

It takes a lot of time and energy to make it compatible with Vue project since the library heavily depends on Nuxt modules and internal to auto-import components and composables so we limit the scope to Nuxt only.

It’s completely understandable.
But Having a Vue version would be great.
Personally, that’s why I don’t use Nuxt UI
Most of my projects are on Nuxt, but I also develop Vue apps without Nuxt to integrate them into existing websites.

With the coming v3 #1289, we're gonna try to make it compatible with Vue.

Closing in favor of #2129.


Split flask-restful: flask-reqparse, flask-marshal

What do you think about to split Flask-RESTful in more 2 pypi packages (flask-reqparse, flask-marshal). This way, other non-rest projects can use those tools?

I think it's a good idea, I have already used the reqparse and marshal in non-rest projects  for some days

"request parsing" is deprecated, as seem here http://flask-restful.readthedocs.org/en/0.3.5/reqparse.html There are other libraries for the job.

Hum, OK.
I did not notice it.
Ty.


[timeseries] update timeseries macos platform test libomp dependency

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/platform_tests ref=ts-mac-platform-fix

/platform_tests ref=ts-mac-platform-fix

Previous CI Run
Current CI Run

/platform_tests ref=ts-mac-platform-fix

Previous CI Run
Current CI Run

/platform_tests ref=ts-mac-platform-fix

/platform_tests ref=ts-mac-platform-fix


parse_view takes a camera

Why is that? The view is already assigned a camera, why not use and return this?
# Before
parse_view("modelPanel1", "persp")
# {"display_options": {}}

# After
parse_view("modelPanel1")
# {"camera": "persp", "display_options": {}}

Otherwise if you want to parse a specific camera and a specific modelPanel you'll need to ensure that camera is in that particular modelPanel1. This way it just makes much less assumptions and I don't have a feeling it's more complex for the artist.

To me, the camera is a property of the panel.
I think the apply_view should also only take a panel and some options.


Refactor: TypeScript-ize resources/resourcesbar

Done.
And I didn't found there is code using resources-bar's style property?
Maybe this can be merge now.

And I didn't found there is code using resources-bar's style property?
Maybe this can be merge now.

Yes, it looks like this is only used by the rdm resouce bars.


fix: MD038/no-space-in-code

Spaces inside code span elements

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

Verified the update.


fix(useKeyboardJs): fix argument type error

close #498

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[SPARK-33193][SQL][TEST] Hive ThriftServer JDBC Database MetaData API Behavior Auditing

What changes were proposed in this pull request?

Add a test case to audit all JDBC metadata behaviors to check and prevent potential APIs silent changing from both the upstream hive-jdbc module or the Spark thrift server side.
Forked from my kyuubi project here https://github.com/yaooqinn/kyuubi/blob/master/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/operation/SparkOperationSuite.scala#L887
Why are the changes needed?

Make the SparkThriftServer safer to evolve.
Does this PR introduce any user-facing change?

dev only
How was this patch tested?

new tests

cc @cloud-fan @wangyum @juliuszsompolski @maropu @dongjoon-hyun @HyukjinKwon thanks ~

Test build #130044 has started for PR 30101 at commit 93ca3b1.

Test build #130044 has finished for PR 30101 at commit 93ca3b1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130044/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34651/

cc @bogdanghit

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34651/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34651/
Test PASSed.

Test build #130064 has started for PR 30101 at commit f74f40e.

Test build #130064 has finished for PR 30101 at commit f74f40e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130064/
Test PASSed.

Merged build finished. Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34673/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34673/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34673/
Test PASSed.

Looks okay otherwise.

Test build #130080 has started for PR 30101 at commit fe2f3c5.

Test build #130080 has finished for PR 30101 at commit fe2f3c5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130080/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34689/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34689/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34689/
Test FAILed.

retest this please

Test build #130085 has started for PR 30101 at commit fe2f3c5.

Test build #130085 has finished for PR 30101 at commit fe2f3c5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130085/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34694/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34694/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34694/
Test FAILed.

retest this please

Thank you, @yaooqinn . This is very useful. I left a few minor comments.

Test build #130143 has started for PR 30101 at commit 7b1fa50.

Test build #130143 has finished for PR 30101 at commit 7b1fa50.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130143/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34750/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34750/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34750/
Test FAILed.

Thank you, @yaooqinn and all.
Merged to master for Apache Spark 3.1+ test coverage.

+1, nice.


Package consistency between precise and trusty whitelist

Hi,
To help a quick and easy migration of tests between Ubuntu precise and trusty, it would be great to see a better consistency between the respective whitelists -- after all, if packages were allowed on precise and also exist with the same name on trusty, why not importing them directly ?

Creeping featuritis.
Long version...
Many packages suffer from requests for "this would be a neat feature, shirley it would be easy to add".
Often they do look easy to add ... at first ... so they get added, brokenly (at first). New features require new code, new code will probably use more of the system and eventually will run into a security barrier. You do NOT want new, broken code mediating your security and nor do Travis.
Oh, and don't call me "Shirley".  :wink:

It would be great if all Precise packages were able to be installed on Trusty without a problem and that the packages are created consistently across all package repositories.
Alas, we are not living in that utopia.
As it stands, we would like to run test on each package. I know this is tedious, but under the circumstances it is for the best. I am hopeful that, one day, we would not need these lists to use the apt addon.
I'm closing this.


class base on rem not work

mr uses rem, which will be overwritten by PX of other frameworks.
How to solve this problem？

I use the  important version. But .p0 is not work.
basscss version is 8.0.2

The rem unit won't be overridden by px unit, but you might have a source order issue. Whatever CSS you want to take priority depends on source order so you might have to add Basscss after whatever else you're using in source order


[BUG] Callout icons missing

I'm back, making sure there is an issue open...
On a serious note, it seems like some callout icons are not being display as expected, that is, they are not displayed at all.
The tip callout type is working:
Obsidian:

Online:

But info and question are not:
Obsidian:

Online:

I am pretty sure that this was working previously, so I'm not sure what happened.

Perhaps create a note which has all the features you need and force re-upload that one, to ensure all the features you need are compiled into your CSS.

Perhaps create a note which has all the features you need and force re-upload that one, to ensure all the features you need are compiled into your CSS.

I tried force re-uploading, but the callout icons are still missing?

Works fine for me in your demo vault 🤷♀
https://file.obsidianshare.com/a5/f6e445f44aa510b4eeb6a57874eb47f6.html

Works fine for me in your demo vault 🤷♀
https://file.obsidianshare.com/a5/f6e445f44aa510b4eeb6a57874eb47f6.html

I was adding + making the callouts collapsible. Those are not in the test vault (at least not to the same extent). I think it has something to do with that. I got them to upload now after a few tries with force re-uploading. One callout was fixed by adding a title so it went from:
> [!info]+ to > [!info]+ Info
and another, which already had a title, was fixed by removing the +.

Ok, I can't reproduce it here, so I'll close this as can't repro. If you can find a way to make it happen, please upload a demo vault with the affected file.
Working fine with all + / - options:
https://file.obsidianshare.com/a5/f6e445f44aa510b4eeb6a57874eb47f6.html#uFxW2VfPfqc239CpMAMGocULtMzAWcfKUvljNAU/CUw


Documentation / Preview

Hello,
I was wondering if this is normal and this is as expected, or if I miss-configured this plugin.
I mostly write C/C++ and when for example I write std::vec in order to have std::vector as a match, when hovering over it, the only documentation I get is 12 overloads.
So is it normal, or did I miss something ?
I am using the latest neovim with clangd 11 and my setup for clangd is managed by nvim-lspconfig.
Thank you very much in advance for any help hoping I was clear enough.

I have this too. I get documentation for some functions, so I think this is just what clangd reports in this particular case.

Yes. I think it should be fixed by clangd.

Thank you for your quick response.


Python Settings

Hello to the group!
I am Theodoros Papanikolaou, from APC Paris.
I had already installed Python 2.7 on my Mac but now I downloaded and installed also Python 3.7 as recommended in the instructions.
When I go to the directory in which I have installed anaconda3 and write in the terminal
bash Anaconda3-2018.12-MacOSX-x86_64.sh -b -p $HOME/.local/anaconda3
I take the following error message:
bash: Anaconda3-2018.12-MacOSX-x86_64.sh: No such file or directory.
Should have I written this command in another directory or should I find somewhere else this file?
Theodoros

See point 2. of instructions:
Download the Linux Anaconda installer for Python 3.7.

Should have I written this command in another directory or should I find somewhere else this file?

The file is the one you download from anaconda, so you need to runs this in your Downloads folder or whereever you saved the downloaded file.
I will clarify this part.

Nice! Thanks for the clarification!
Theodoros
From: "Maximilian Nöthe"<EMAIL_ADDRESS>To: "Asterics2020-Obelics/School2019"<EMAIL_ADDRESS>Cc: "TheodorosPapanikolaou"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Monday, April 1, 2019 3:35:26 PM
Subject: Re: [Asterics2020-Obelics/School2019] Python Settings (#5)
Should have I written this command in another directory or should I find somewhere else this file?
The file is the one you download from anaconda, so you need to runs this in your Downloads folder or whereever you saved the downloaded file.
I will clarify this part.
—
You are receiving this because you authored the thread.
Reply to this email directly, [ https://github.com/Asterics2020-Obelics/School2019/issues/5#issuecomment-478581533 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/Au4FAEEbhtecOxgA9oGvaDMZNGUpv5CCks5vcgsegaJpZM4cVreG | mute the thread ] .


storyboardIdentifier is now a class var and it gets viewcontroller's "st...

...oryboardIdentifier", not "id"

this spaces... can you get rid of it? It's hard to extract actual diff ;-)

agree :-)
didn't notice

thanks


nixos/tests/libreswan: fix test

Description of changes
Fix libreswan tests. It was broken by the introduction of automatic IPv6 addressing in the test infrastructure.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested with nixosTests.libreswan
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test libreswan


unclear how to run a new sub-shell commands

I hope I named it clear. I need to run a command having this form:
sudo unshare -u -- sh -c "sysctl kernel.hostname=test123; hostname"
with sh 1.11 I run it like:
from sh import sudo
sudo.unshare('-u', '--', 'sh', '-c', '"sysctl kernel.hostname=test123; hostname"')

but I receive an error stating:
sudo: unable to resolve host test_container4
sh: 1: sysctl kernel.hostname=test123; hostname: not found

These commands are run in a ubuntu docker container in privileged mode. I just wonder if that syntax is right...

i don't think you need to extra quote '"sysctl kernel.hostname=test123; hostname"'.  each argument to sudo.unshare should be a single argument, so the extra quotes shouldn't be necessary.  does that get you further?

Yes! Thanks that work :)


Mention help task from help option

Fixes #19296
Context
Users using the --help option don't understand that plug-in contributed options are not included in the description produced by --help. The help task should be used for that. This PR adds a highly evident blurb to the output produced by the --help option to direct the user to the help task. It also makes some clarification on the documentation for the -help option.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge this

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge this


Add config parameter to disable collapsible cursors (#37967)

Fix to issue: https://github.com/Microsoft/vscode/issues/37967
Initial Behaviour:

Disable collapsible cursors in user settings:
{
    "editor.multiCursorCollapsible": false
}

New Behaviour:

 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: KarelCasier sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for your contribution!

Hey @alexandrudima ,
I'm happy to see this is moving, anyway I seem not to be able to set "editor.multiCursorCollapsible": false. When I try, I get the Unknown configuration settings warning.
Also when I search between the available settings, I get no results for multiCursorCollapsible.
I've just updated vscode to version 1.22.1.
Any thoughts?

I get the Unknown configuration settings warning also for editor.multiCursorMergeOverlapping.

@brunoscopelliti You need an insiders build which contains the change. Changes pushed on Friday make their way only to the Monday insiders build (i.e. we don't publish insiders builds on the weekend). There is a build from 4 hrs ago (4971d889244a2e569ff03b7211c50e2a159e6e71) which should contain this change.

@alexandrudima Thanks for the clarification.


Added ability to set empty test for WARIA purposes and changed defaults, added isString function to utils

After this PR any button may be without title, for example if create media element player like this:
$('audio').mediaelementplayer({playText: ''});

Coverage decreased (-0.06%) to 62.5% when pulling 15ba505334e5235dadaaa21e588b97cfe39e9f57 on DmitryKrekota:master into 73c0ab2559ea3e5ad526dd448fa81c78ef263b5f on johndyer:master.

PR merged. Thanks


xScheduledTask: Enable/Disable Tasks

It would be nice to be able to enable or disable an exiting scheduled task. Currently the schema does not expose an 'Enabled' property.

Closed in https://github.com/PowerShell/xComputerManagement/pull/35


Fix launching Netflix from suspended state

Hello,
Currently it's not possible to resume (launch) any app from suspended (BACKGROUND) state. Any attempt produces an error:
Internal error

{
"status": 500,
"error": "Require App specific deeplinking implementation."
}

which comes from lines 161-166:
        } else {
            // Other App specific deeplinking.
            return Err(DabError::Err500(
                "Require App specific deeplinking implementation.".to_string(),
            ));
        }

Thanks!

Hi @denisyuji, Can you please review that change? It's additional fix for last change from @arun-madhavan-013: #53
Thanks!


CupertinoIcons shows wrong icon with the cupertino_icons map.png

I want to show the stopwatch icon, in the map.png, the codePoint was '0xF37E', But when I use '0xF37E' it shows the icon which is '0xF3A0', and the correct iconPoint of '0xF37E' was '0xF2FD'
https://raw.githubusercontent.com/flutter/cupertino_icons/master/map.png
const IconData(0xf2FD, fontFamily: CupertinoIcons.iconFont, fontPackage: CupertinoIcons.iconFontPackage)

[✓] Flutter (Channel dev, v0.5.7, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 0.5.7 at /Users/jianggc/Documents/sdk/flutter
    • Framework revision 66091f9696 (3 weeks ago), 2018-07-09 12:52:41 -0700
    • Engine revision 6fe748490d
    • Dart version 2.0.0-dev.63.0.flutter-4c9689c1d2

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /Users/jianggc/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • ANDROID_HOME = /Users/jianggc/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

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

[✓] Connected devices (1 available)
    • iPhone • 54eb76a41226524497e5c3f223a1c883d3a0c460 • ios • iOS 11.4.1

• No issues found!

@xster Oh.....Yeah, it's my careless to get the wrong point.
And I have another question, can I use the IconData easily such as just using Icons.xxxx like material icon?
In CupertinoIcons, there are few icons I can use

Sorry, I'm not sure I understood the question.

This is simply because the Cupertino Icon list is very confusing. The code to use is above the icon, not below the icon. I've just wasted 40mins trying to understand why the code didn't work!
https://raw.githubusercontent.com/flutter/cupertino_icons/master/map.png


How to output chunks & m3u8 playlist to host?

Hello,
I try to encode video from any format to hls streaming, how can I get the chunks and m3u8 playlist back to the host? I'm running the following command (simplyfied):
docker run jrottenberg/ffmpeg:latest \     -stats -hide_banner -y \     -i http://www.jell.yfish.us/media/jellyfish-20-mbps-hd-hevc-10bit.mkv \     -hls_time 4 \     -hls_playlist_type vod \     -hls_segment_filename encoding_%03d.ts encoding.m3u8
ffmpeg is working an creating the files, but they are only in the container, how can I get them onto the host system?

Hi,
you can mount directory from host to container, use option -v
https://docs.docker.com/storage/bind-mounts/
mkdir ~/tmp
cd ~/tmp
docker run --rm -it \
-v $PWD:/tmp/workdir \
jrottenberg/ffmpeg:latest \
-hide_banner -y \
-i http://www.jell.yfish.us/media/jellyfish-20-mbps-hd-hevc-10bit.mkv \
-hls_time 4 \
-hls_playlist_type vod \
-hls_segment_filename "encoding_%03d.ts" \
encoding.m3u8

if you need use -hls_playlist_type live i recommend use mount into tmpfs, for save disk

Thanks @jidckii totally right.
Just for reference if somebody is working on windows like me, for the mount you've to use
-v "/$(pwd -W):/tmp/workdir"


Differentiate TransportChannelProvider beans for different GCP services

We create a TransportChannelProvider bean in Pub/Sub, but it's such a generic gRPC bean that if any other configuration defines it, the outcome could be unintuitive.
(I thought Firestore also used it, which would result in Firestore using the Pub/Sub TransportChannelProvider bean, but it looks like the bean is injected optionally and never used.
I'd still future-proof and name the bean in Pub/Sub.

@elefeint Can you please check if this is still relevant and assign a priority? Thanks!

Yes, and in fact, @saturnism just noticed it, too, in #2367.
https://github.com/spring-cloud/spring-cloud-gcp/blob/2adf4328c819a634a3ad7a1627426badf198c4fb/spring-cloud-gcp-autoconfigure/src/main/java/org/springframework/cloud/gcp/autoconfigure/pubsub/GcpPubSubAutoConfiguration.java#L387


Add getters for content scale and monitor work area.

Added GLFW 3.3 bindings for:
glfwGetWindowContentScale
glfwGetMonitorContentScale
glfwGetMonitorWorkarea
Also added get-monitor-position to the import-export list.

Thanks, @noelbenz!


added in CMakeList.txt to check if yosys binary already exist to avoi…

…d the re-compilation of yosys

Motivate of the pull request

[ x] To address an existing issue. If so, please provide a link to the issue: #389 #411
[ ] Breaking new feature. If so, please describe details in the description part.

Describe the technical details

Yosys is recompiled every time when cmake command is run

As currently yosys does not have CMake build process so its compilation can't be cached. To avoid the recompilation of yosys, a simple solution as now OpenFPGA support make install will be to check the presence of yosys binary, if it exist then do not compile the yosys.

What does this pull request change?

In CMakeList.txt, as yosys Makefile is called directly so a condition is added that check if there is a yosys binary in bin directory then skip the calling of the yosys Makefile

Which part of the code base require a change

[ ] VPR
[ ] Tileable routing architecture generator
[ ] OpenFPGA libraries
[ ] FPGA-Verilog
[ ] FPGA-Bitstream
[ ] FPGA-SDC
[ ] FPGA-SPICE
[ ] Flow scripts
[ ] Architecture library
[ ] Cell library
[ ] Documentation
[ ] Regression tests
[ ] Continous Integration (CI) scripts
[ x] Build process

@ganeshgore Since you are the author of the CI workflows, feel free to comment and advise.

@nadeemyaseen-rs @tangxifan These changes look good to me.
Let's start a separate issue with how to maintain pre-built yosys on CI


Replace setAttribute()

Using setAttribute() to modify certain attributes, most notably value in XUL, works inconsistently, as the attribute specifies the default value. https://developer.mozilla.org/en/docs/Web/API/Element/setAttribute

Simpler to set node.attribute = 'value';, way less boilerplate overhead...

Might need to review this. http://stackoverflow.com/a/36581696/3442928

This seems unnecessary, closing for now.


Make :avataritem be accessible without Donor

Before the commit https://github.com/Epix-Incorporated/Adonis/commit/6f052c4860cb41d0b6d284983f34d98af9cf3206 was made you could use :avataritem without having donor.
This reverts the commits behavior to achieve the same effect.

:(

This isn't the :avataritem command, this is the !avataritem command, which is intended for donors.

I was talking about the donor command

This isn't the :avataritem command, this is the !avataritem command, which is intended for donors.

I was talking about the donor command

Which is, obviously intended for donors, per the reason it's in Donors.lua, the only reason this existed is because of a oversight when I converted the avatar item commands to use humanoid descriptors in #681, I must've not set the permission level to Donors, but had the donors Boolean to true. I guess no maintainer or me never noticed such until a few days ago, since none of us likely  see them in the commands list (they still get disabled if you disabled donor commands, it was just the permission) unless we're on a alt


Where are credentials stored after using configure?

Where are the credentials stored after configure? ( macOS )

ok found that in the code, its ~/.credentials.yml - plain text, which makes the library pretty risky all together. Any plans on using a rather token based approach?


Added SQL and NoSQL database and removed table

IMPORTANT: When creating your Pull Request, please use the following format for the title: Category - Resource Name & Section
PR Title samples:

DBMS (Database) - SQL and NoSQL database
DBMS (Database) - Removed difference between SQL and NoSQL

Fixes Issue
Closes #226
Description:
Added Redis, Oracle and Neo4j databases along with a brief description about each of them. Removed the difference table between SQL and NoSQL database as suggested by the Project Admin/Mentor.
I have also modified the Table of Contents by removing the tag that led to the difference.
Resource URL:
Redis : https://redis.io/
Oracle : https://www.oracle.com/in/database/
Neo4j : https://neo4j.com/product/neo4j-graph-database/
Checklist:
Before submitting your pull request, ensure that you have completed the following tasks:

[x] I have carefully reviewed and adhered to the contributing guidelines before creating this pull request.
[x] I followed the prescribed PR title template. (Check this if you're adding a resource)

Sir I guess there has been a small mistake from your side . Sir, I have completed this task and the PR has been successfully merged
and I feel this should be closed whereas you have assigned this to me again .
Also sir not only this put other PR's also have been assigned to me where I have already completed the task and PR has been merges successfully .These are a list of them :

https://github.com/jfmartinz/ResourceHub/pull/236#event-12986153016
2    https://github.com/jfmartinz/ResourceHub/pull/254#event-12986243233
3    https://github.com/jfmartinz/ResourceHub/pull/251#event-12986244947
4    https://github.com/jfmartinz/ResourceHub/pull/329#event-12986292461
5    https://github.com/jfmartinz/ResourceHub/pull/326#event-12986305690
6    https://github.com/jfmartinz/ResourceHub/pull/325#event-12986309822
7    https://github.com/jfmartinz/ResourceHub/pull/315#event-12986316568
8    https://github.com/jfmartinz/ResourceHub/pull/406#event-12986356756
9    https://github.com/jfmartinz/ResourceHub/pull/244       (including this one)

Sir is there any changes you wanted me to do?

Gssoc requires it. You can check your email for the announcement, I hate to do it but i dont have choice, for your points to be counted in the leaderboard. I hope this clarifies your question

Ohh okk sir my bad, sorry was not aware of this at all since this is my first time .
Thank you so much sir


doesent work

Describe the bug
A clear and concise description of what the bug is.
VOD / Channel link
The url where you encountered the error
Browser
Chrome, Edge, Firefox, Brave, ...
Additional context
Add any other context about the problem here.

If you clear the cookies it should work again, for now

Please update to https://github.com/besuper/TwitchNoSub/releases/tag/0.7.1


Add support for Xbox

Describe the bug
After installing this app to an Xbox in dev mode with all the required dependencies, the app crashes immediately when launched.
To Reproduce
Steps to reproduce the behavior:

Start the Xbox in dev mode.
Install Files to the Xbox through the Xbox Device Portal with all dependencies.
Attempt to launch the app on Xbox.
See the error: "That didn't work for some reason.  (0x80070057)

Expected behavior
The app should launch without crashing.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Xbox Series X
App version: [v1.2]

Additional context
The problem persists after restarting the Xbox.

@Nun-z Files doesn't support Xbox, but we can keep this issue open to investigate adding support.

Is Files a UWP app?

@DeveloperWOW64 Yes, see here: https://www.windowscentral.com/files-uwp-preview-stunning-start-uwp-file-explorer

If it is UWP, why doesn't it have support for Xbox? Is it because the files app can't read Xbox file system?

@DeveloperWOW64 Files is a UWP application but we rely on shell integratiosn to support many of the app's features.

ahh ok. PowerShell or just normal cmd?

Closing as Xbox doesn't have support for applications like Files.

@yaichenbaum What do you mean by Xbox not having support for applications like Files?  There are a few file managers on the Microsoft store that work on Xbox.  For example, see My Files Explorer here: https://www.microsoft.com/en-us/p/my-files-explorer/9msrp54s8d43?activetab=pivot:overviewtab


This library cause of disorder Ui thread

after using this library on my layout, it cause of disorder ui thread, my ui thread is slow

@tux-world Hey) Please can you describe problem more clearly. Maybe add some screenshots. And also please test on device.


Add global Timecop.return hook

Context
Specs which used the Timecop gem had there own after hooks to make sure Timecop.return was used so system time changes didn't bleed into other specs.
This PR adds a global before hook so Timecop.return is always called so nobody has to remember to do it themselves anymore.
This commit has been manually verified to work with RSpec features as well as unit specs.
Changes proposed in this pull request
Adds global before hook. Having this in a before hook is safer than having it in an after hook because an after hook isn't guaranteed to be run (when a spec errors).
There are some calls to Timecop.return which are kept in because they're called multiple times in the middle of a spec to set and reset specific behaviour.
Guidance to review

 Timecop global reset hook


Extra models and parts need including

I think I need to put these into a library along with the other project files. Not sure about my custom 3D objects. Will have to look into that. I have a custom global library for them.

This seems to be complete now!


[SPARK-6304][Streaming] Fix checkpointing doesn't retain driver port issue.

Test build #28698 has started for   PR 5060 at commit 2398ae1.

This patch merges cleanly.

Test build #28698 has finished for   PR 5060 at commit 2398ae1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28698/
Test PASSed.

Hi @tdas , I think this is actually a bug, would you please help to review this one?

Since it is pending for a long time.

Test build #30926 has started for   PR 5060 at commit 5713c20.

Test build #30926 has finished for   PR 5060 at commit 5713c20.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30926/
Test PASSed.

I thought more about this particular issue. These two lines in the SparkContext actually sets the two parameters explicitly with host = local hostname and port = 0, ONLY IF they are not set from the user-provided conf. For each of them here is my observation.

spark.driver.host = This should never be recovered through checkpoints. Because if the driver is restarted on a different machine, and the old value of spark.driver.host (that is, the old hostname) is recovered from checkpoint , then it will be set incorrectly as the recreated SparkContext will not set spark.driver.host to the new hostname. So we should never recover the host name, and always let the new SparkContext set a new hostname.

spark.driver.port = The sparkcontext sets the value to 0 if not specified (see). So if we always save the value of sparkContext.conf (that is, after 0 is set in SparkContext initialization) in checkpoint, then it suffices the purpose - if set explicitly by user, then that port is used. If not set explicitly by user, then 0 stays, in which case it will be random even after restart.

I think this simplifies the whole idea - never save host, always save port. Isnt it?

Hi @tdas , I agree with you that only port in enough, no need to track the host. But we could only save the port when user explicitly set it. Port number 0 will not be stayed after SparkEnv is initialized, as you see here, so we shouldn't save this port number (which is set by SparkEnv).

Test build #31052 has started for   PR 5060 at commit 5713c20.

I see, that's the problem. Its not clear from the streaming code what the value that the user had set before the SparkEnv set the port value. Without that this problem cannot be solved.

bump. What is the status on this PR @jerryshao @tdas?

retest this please

Merged build triggered.

Merged build started.

Test build #35191 has started for   PR 5060 at commit 5713c20.

Hi @andrewor14 , I think this is indeed a bug for checkpointing in Spark Streaming, my implementation just add two fields in SparkContext to save the snapshot of this two configurations, but this is no so elegant as TD suggested, Currently I cannot figure out any other better place to hold this port number. So any suggestion is greatly appreciated.

Test build #35191 has finished for   PR 5060 at commit 5713c20.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

The tricky part for this PR is to figure out when the port was specified by
the user (recover that conf from checkpoint it in that case), and when it
was NOT specified (dont recover that conf)
On Thu, Jun 18, 2015 at 6:39 PM, UCB AMPLab<EMAIL_ADDRESS>wrote:

Merged build finished. Test PASSed.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/5060#issuecomment-113336812.

@jerryshao let finalize this PR. I think what we should do is.
Currently, we remove spark.driver.* from conf used to create the recovered streaming context, ignoring the fact that the user may be explicitly setting those conf in spark-defaults.conf. That is wrong, the general policy should be never recover from spark.driver.* from checkpointed conf. Then if the those properties are set in the defaults, they would be present in the final conf for restarting context, other they wont be.
This solves the original problem in the JIRA. If someone wants to set the port explicitly, then they can set if in the spark-defaults.conf. With the above change, it will not be explicitly deleted when recovering and will be automatically used in the recovered context.
Sounds good? If so, please update the PR.

Yeah, that sounds good :), let me update the code.

Merged build triggered.

Merged build started.

Test build #37341 has started for   PR 5060 at commit 7cc146d.

Test build #37341 has finished for   PR 5060 at commit 7cc146d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37352 has started for   PR 5060 at commit 275d252.

Test build #37352 has finished for   PR 5060 at commit 275d252.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class LDAModel(JavaModelWrapper):
class LDA(object):
case class Round(child: Expression, scale: Expression)

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37446 has started for   PR 5060 at commit 89b01f5.

Test build #37446 has finished for   PR 5060 at commit 89b01f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class LDAModel(JavaModelWrapper):
class LDA(object):
trait ImplicitCastInputTypes extends ExpectsInputTypes
abstract class BinaryOperator extends BinaryExpression with ExpectsInputTypes
case class UnaryMinus(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnaryPositive(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Abs(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class BitwiseNot(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Factorial(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Hex(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Unhex(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Round(child: Expression, scale: Expression)
case class Md5(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Sha1(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Crc32(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Not(child: Expression)
case class And(left: Expression, right: Expression) extends BinaryOperator with Predicate
case class Or(left: Expression, right: Expression) extends BinaryOperator with Predicate
trait StringRegexExpression extends ImplicitCastInputTypes
trait String2StringExpression extends ImplicitCastInputTypes
trait StringComparison extends ImplicitCastInputTypes
case class StringSpace(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class StringLength(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Ascii(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class Base64(child: Expression) extends UnaryExpression with ImplicitCastInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ImplicitCastInputTypes

Merged build finished. Test PASSed.

All right merging this.

:+1: Thanks guys!


Error on load extension

The error:
Error detected while processing :source (no file):
E5108: Error executing lua ...im/site/pack/packer/start/sqlite.lua/lua/sqlite/defs.lua:55: libsqlite3.so: cannot open shared object file: No such file
or directory
stack traceback:
        [builtin#203]: at 0x55f830986100
        ...im/site/pack/packer/start/sqlite.lua/lua/sqlite/defs.lua:55: in main chunk
        [C]: in function 'require'
        ...m/site/pack/packer/start/sqlite.lua/lua/sqlite/utils.lua:252: in function '__index'
        ...nvim/site/pack/packer/start/sqlite.lua/lua/sqlite/db.lua:662: in main chunk
        [C]: in function 'require'
        ...im/site/pack/packer/start/sqlite.lua/lua/sqlite/init.lua:66: in function '__index'
        ...n.nvim/lua/telescope/_extensions/smart_open/dbclient.lua:27: in function 'new'
        ...smart-open.nvim/lua/telescope/_extensions/smart_open.lua:52: in function 'setup'
        .../start/telescope.nvim/lua/telescope/_extensions/init.lua:64: in function 'load_extension'
        [string ":source (no file)"]:11: in main chunk

How the plugin is installed:
    use {
        "danielfalk/smart-open.nvim",
        requires = {
            { "tami5/sqlite.lua" },
            { 'kyazdani42/nvim-web-devicons', opt = true },
        }
    }

relevant part of my after/plugin/telescope.lua
telescope.load_extension("smart_open")
vim.keymap.set("n", "<Leader><Leader>", telescope.extensions.smart_open.smart_open)

Hmm.  I have no idea, but I think this is a sqlite.lua issue, and possibly related to your platform.  What system are you running?

Also, do you have sqlite3 installed locally? There are instructions on it here: https://github.com/kkharji/sqlite.lua#readme (The repository seems to have been renamed recently)
It looks like I should add a note to the installation docs to ensure that people have sqlite3 installed, but please let me know if the above was your problem!

I take it you figured this out, since I saw a different report from you that you would have had to get this working to have made.  Feel free to reopen if you are still experiencing.

@danielfalk  sorry I didn't see your comments, it works on one machine but doesn't in the other! they are both ubuntu 20.04
But yeah it is an issue on my end.

yes it worked after I installed sqlite3
thanks
@danielfalk

I am getting this error too.
I am on windows, I am not that deep into the echosystem (yet) so the instructions.

Windows
Download precompiled and set let g:sqlite_clib_path = path/to/sqlite3.dll (note: /)

Is not enough for me here. I have downloaded the precompiled files, but I still get the error defs.lua:57: cannot load module 'libsqlite3': The specified module could not be found.. I tried to add the folder both to PATH and to a env-var called sqlite_clib_path but neither worked (tried to change the pathsep too).
Is there something I am missing? What does the last part mean let g:...?
Specs:
Windows 10
NVIM v0.9.5 (Used kickstart to get up and running.


New readme gif

Make new gif from sacred geometry drawings without transparent bg that looks weird.

Boom 💥


Extra '/' when posting a document

While testing a function that posts a document to a database called 'v2', I found that cradle was posting to the url 'v2//'. I looked at the code (see below) and the issue is setting path to '/' in Database.post and then using join in Database.query:
/**
 * lib/cradle/database/document.js
 */

//
// POST a document, and write through cache
//
Database.prototype.post = function (doc, callback) {
    var cache = this.cache;
    this.query({
        method: 'POST',
        path: '/',
        body: doc
    }, function (e, res) {
        if (! e) { cache.save(res.id, cradle.merge({}, doc, { _id: res.id, _rev: res.rev })) }
        callback && callback(e, res);
    });
};

/**
 * lib/cradle/database/index.js
 */

// A wrapper around `Connection.request`,
// which prepends the database name.
Database.prototype.query = function (options, callback) {
    options.path = [this.name, options.path].filter(Boolean).join('/');
    this.connection.request(options, callback);
};

The expression:
options.path = [this.name, options.path].filter(Boolean).join('/');

adds an extra '/' to the path.
Setting path to '' in Database.post seems to fix things, but I'm not sure if that will work in all scenarios.

Any progress on this?

Also happens when database.all() is used, url is database//all_docs

Any progress on this? am experiencing the same issue


[GOBBLIN-905] Fixes issue where newly added jobs would crash in gobbl…

…in standalone's job conf folder
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-905

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Currently Gobblin Standalone crashes when adding a new .job file to GOBBLIN_JOB_CONF_DIR. Bug reproduction steps and output is outlined in the Jira ticket.
Bug was caused by JobSpecResolver being null when PathAlterationListenerAdaptorForMonitor is instantiated. Fix moved the assignment of JobSpecResolver to be before the instantiation.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2759 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #2759      +/-   ##
============================================
+ Coverage     45.26%   45.27%   +<.01%
  Complexity     8828     8828
============================================
  Files          1889     1889
  Lines         70636    70636
  Branches       7757     7757
============================================
+ Hits          31975    31978       +3
+ Misses        35709    35705       -4
- Partials       2952     2953       +1

Impacted Files
Coverage Δ
Complexity Δ

...ava/org/apache/gobblin/scheduler/JobScheduler.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../apache/gobblin/runtime/api/JobExecutionState.java
79.43% <0%> (-0.94%)
24% <0%> (ø)

.../org/apache/gobblin/cluster/GobblinTaskRunner.java
64.81% <0%> (+0.92%)
28% <0%> (ø)
:arrow_down:

...lin/restli/throttling/ZookeeperLeaderElection.java
72.22% <0%> (+2.22%)
13% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks William for fixing this, I just encountered this yesterday (GOBBLIN-935) and fixed it but after rebasing it I realize you have beat me to get to this bug first just couple weeks ago.... 👍


Implement fine grained access control on DynamoDB

As part of the Registry State Machine we need to invoke rules to apply policy rules on DynamoDB. An Adapter/Port specific to this will be needed so if we need to swap out to another store we can build interfaces for it.
Reference article:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/specifying-conditions.html#FGAC_DDB.ConditionKeys

Here is a sample policy we can set for a user. It provides access to GetItem on table: akello to the specific resources based on its partition key.
{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "Statement1",
			"Effect": "Allow",
			"Principal": {
				"AWS": "arn:aws:iam::**account**:user/**username**"
			},
			"Action": [
				"dynamodb:GetItem"
			],
			"Resource": [
				"arn:aws:dynamodb:us-east-1:****:table/akello"
			],
			"Condition": {
				"ForAnyValue:StringEquals": {
					"dynamodb:LeadingKeys": [
						"organization-id:<org-id>",
						"user-id:<user-id>",
                                                  "measurement-id:<measurement-id>",
                                                  "registry-id:<registry_id>"
					]
				}
			}
		}
	]
}

Need to keep this on top priority and have reviewed with the architecture committee

I am not 100% if we want to manage this ourselves or leverage SMART on FHIR to handle this for us


Added scanning for CSS injection and iframe injection to XSS scanner

As @EdOverflow suggested, added scanning for CSS injection and iframe injection via unclaimed URLs.

Thanks, @ddworken! 😃


User Defined Metadata Struct

This would apply to all CNB entities that have a [metadata] TOML entry. It would be nice to support parsing the metadata as multiple types instead of forcing the metadata type as CNB entity construction. Basically:
context.buildpack_descriptor.get_metadata::<TypeA>();
context.buildpack_descriptor.get_metadata::<TypeB>();

instead of typing it once as part of, for example, BuildContext:
BuildContext<GenericPlatform, MetadataTypeA>

This allows buildpack authors to support multiple versions of metadata which can easily happen with older cached layers.

I also think I want this for 0.2.0, @hone thoughts?

That sounds good to me. :) I'd like to play with something like this.

This has been implemented.


add usePopup and use Vue3 for dialog

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

修复相关问题

修复弹窗阴影问题


Problem with command argument handling --cout

-i ...\Input.xml   --cout
Fails because of NPE.

Still fails when using PxtlCa.XmlCommentMarkDownGenerator.exe -i $XML --cout

Which version are you running?

I use PxtlCa 0.3.7135.25434 cloned from this repo two weeks ago.


mongodb association tables lack a unique index on the _id key

Waterline version:0.10.31
Node version:4.2.2
NPM version:2.14.12
Operating system:OSX

Hi! I was experiencing with mongodb replication and I got this warning :
WARNING: the collection 'sails.xxx' lacks a unique index on _id. This index is needed for replication to function properly

So I checked with db.xxx.getIndexes()
Here is the output :
[
	{
		"v" : 1,
		"key" : {
			"_id" : 1
		},
		"name" : "_id_",
		"ns" : "sails.xxx"
	}
]

Is this something expected? Is there a fix? Has anyone run into this problem?
Thanks in advance!

Mongo version is 2.8...


this code implement

@cbojar  @allanjude  I am seeking some kind of work to create a platform

I'm not sure what you ae asking. Could you please elaborate?

forgive is that used a google translator is that I aver if you can change and some things implementarle my application that I have check

I'm sorry, but I still don't understand what you are asking.

@cbojar Any email to communicate with you


STIG policies with KubeArmor

Security Technical Implementation Guides (STIGs) provides a document library that details the possible system policy specification for most of the popular applications/containers out there. KubeArmor could:

[ ] Provide a mapping of KubeArmor policies to STIG policies.
[ ] extend the policy specification to handle those policies.

For e.g, STIG specs for PostgreSQL details that accesses to pgsql environment needs to be protected.

This is been handled as part of kubearmor/policy-templates repo.


cargo add refuses to add new non-vendored packages due to source replacement

Problem
When a vendored directory is established, cargo add no longer adds new packages. Instead, it tries to translate a package name into a package that already exists in the vendored directory.
In this case, I've added xml-rs, then proceeded to vendor my dependencies. Now, no matter what I try to cargo add, it always tries to add xml-rs.
I've even tried to run cargo +beta add cbindgen --registry crates-io, and it still gives me the same behaviour. The only way I can get cargo add to work is to remove .cargo/config.toml file and place it back afterwards.

Steps
Commands to run:
cargo new example
cd example
cargo +beta add xml-rs  # The same behaviour is exhibited in +nightly as well
cargo vendor ./vendor

# (add the output to .cargo/config.toml)

cargo +beta add --build cbindgen  # Doesn't need to be a build dependency, and "cbindgen" can be anything, even crates that don't exist
cargo +beta add cbindgen --registry crates-io  # This also does not work

Contents of .cargo/config.toml:
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "./vendor"

Possible Solution(s)
I assume the reason for this is because what's added in .cargo/config.toml is source replacement, meaning any dependencies that try to access crates-io will access the vendored directory instead. I think I understand why cargo add does what it does here, however I feel it's fairly unintuitive combined with vendoring.
I haven't figured out any way to work around this (at least, in a way that I can continue to use cargo add). I've tried to add to config.toml:
[source.actual-crates]
registry = "https://github.com/rust-lang/crates.io-index"

(I've also tried git in place of https, and adding .git to the end of the URL)
and if I try to use cargo add cbindgen --registry actual-crates, I get:
error: source `actual-crates` defines source registry `crates-io`, but that source is already defined by `crates-io`
note: Sources are not allowed to be defined multiple times.

If I put the following into cargo.toml:
[registries]
actual-crates = { index = "https://github.com/rust-lang/crates.io-index" }

and run the same cargo add command, I get the same behaviour:
warning: translating `cbindgen` to `xml-rs`
      Adding xml-rs v0.8.4 to dependencies.

For now, I can easily add my dependencies by modifying Cargo.toml myself, however the cargo add command is very convenient, especially when introducing Rust to a team that's new to the language.
Notes
While I am identifying this as a bug (or at least, a problem), I'm not sure what the best way is to fix it.
Making cargo add always grab from crates.io, despite a configured source replacement, feels like the wrong way to go about it because it has the potential to break other setups, especially ones that use mirrored (or alternative) registries.
Perhaps a flag could be given to cargo add? Maybe cargo add --no-source-replacement or something less wordy?
Alternatively, maybe there should be a new command cargo vendor-add that calls cargo-add code, but without the source replacement? Though that would likely have to be special-cased only to "directory" source-replacement, or you'd need to pass the vendor path as well, like you do with cargo vendor.
Version
I've tested this on both beta and nightly cargo.

Beta's output:
cargo 1.62.0-beta.3 (4751950cc 2022-05-27)
release: 1.62.0-beta.3
commit-hash: 4751950ccc948c07047e62c20adf423d7e5f668c
commit-date: 2022-05-27
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:Schannel)
os: Windows 10.0.19044 (Windows 10 Pro) [64-bit]

Nightly's output:
cargo 1.63.0-nightly (38472bc19 2022-05-31)
release: 1.63.0-nightly
commit-hash: 38472bc19f2f76e245eba54a6e97ee6821b3c1db
commit-date: 2022-05-31
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:Schannel)
os: Windows 10.0.19044 (Windows 10 Pro) [64-bit]

It looks like this happens because a fuzzy search for a PathSoruce returns all packages and cargo_add enables fuzzy searching in get_latest_dependency.
The simple solution would be to turn off fuzzy searching but I don't know if that is the correct course of action as it would stop linked_hash_map from being turned into linked-hash-map.

Hmm, yeah that would at least get rid of the warning message, though you're right, that would cause other issues.
Though even if that were changed, wouldn't that cause cargo add to outright fail, rather than adding the crate dependency to Cargo.toml?

Yeah it would cause it to outright fail. I think throwing an error here is the best course of action as bypassing a source replace feels wrong as it wouldn't be vendored then. You would have to run cargo add then cargo vendor ./vendor.
I personally think throwing an error if their is a source replace may be the best course of action and then have a community subcommand to deal with vendor. This is just my opinion and one of the maintainers will probably have a better idea for the path forward.

I'm a bit annoyed with the disparate implementations of fuzzy searching.  Its difficult to provide a consistent user experience and is easy to make mistakes like this where you assume "its a registry, of course fuzzy searching is safe" when its easy to overlook the interaction with other features like source replacements.
Fundamentally, I think that is what needs to be fixed though to fix that would probably require a major refactoring to keep the current, expected behavior working.  This would also make solving #10680 less ambiguous
As for vendoring in general, we had not yet fleshed out that use case (see #10472).  Mind creating a separate issue for this?  I had missed that when creating the initial batch of cargo-add issues.

Sure! So just to make sure I'm on the same page, this issue should be related to the fuzzy searching, and a new issue should be made for the cargo-add-with-vendoring use case?

So just to make sure I'm on the same page, this issue should be related to the fuzzy searching, and a new issue should be made for the cargo-add-with-vendoring use case?

Yes, let's keep this issue about the fuzzy searching

I'd propose we do the following

Combine the query with fuzzy query methods, where separate
Switch from a bool to an enum (Strict, Fuzzy)
Add the following cases to the enum: Normalize and Suggestions
Explore replacing Fuzzy with a mixture of other enum cases

I am presently running into this issue and I have no idea how to find my way out.

claim first, question it later~ @rustbot claim

I didn't quite follow. Does #13281 resolve this?

Yes, it’s solved. You can visually check the changes from the tests：https://github.com/LuuuXXX/cargo/tree/640c0774dae2548cf9e8c5f4fc38790d421d5783/tests/testsuite/cargo_add/add_no_vendored_package_with_vendor
https://github.com/LuuuXXX/cargo/tree/640c0774dae2548cf9e8c5f4fc38790d421d5783/tests/testsuite/cargo_add/add_no_vendored_package_with_alter_registry

Thanks for the reply. https://github.com/rust-lang/cargo/issues/10729#issuecomment-1147444800 seems to scope this issue within fuzzy search. Close as resolved via #13281.


Do you have any plans to release the pretrained model on ICDAR2019 ReCTS (task1)?

Hello,
We didn't have the plan to release that model.
Thus, we are going to discuss whether or not to release it.
Probably we will notify about it during next week.
Best,
Baek.

@bityigoss
This repository shares the traditional modules that are widely used in STR tasks and provide an STR model in the paper.
So, I’m afraid that we let you know the pre-trained model for Chinese is not be provided because the model has some additional features for Chinese which are not in our paper.
Best

@ku21fan Thanks for your replay and sharing your awesome works
I'm  trying to use this framework to train Chinese-models, can you give me some advice or tricks ? Did you also use synthetic data for training/validating the model for Chinese ?
Thank you very much.
best

@bityigoss
Yes, we used public real dataset and synthetic dataset for training/validating the model for Chinese.
Chinese dataset usually has some vertical dataset, thus generating vertical text data would be helpful :)

@bityigoss
Yes, we used public real dataset and synthetic dataset for training/validating the model for Chinese.
Chinese dataset usually has some vertical dataset, thus generating vertical text data would be helpful :)

Hi, thanks for your sharing code. I want to train Chinese model, could you tell me which good synthetic Chinese data sets or methods for generating synthetic Chinese data sets?
Thanks a lot.


fix: network status in ForeignCluster resource

Description
This patch fixes the network status in the ForeignCluster resource. Previously, when the connection or the configuration were missing no conditions were shown, so who looked at the ForeignCluster status could thing that everything is correctly configured.
Moreover, this patch makes the status check more robust, collecting all the errors first and only once we are sure that the module is enabled (there is at least a network resource present), it writes the errors in the status.

/build

/build

/build

/build

/merge


[copypp] update to 0.3.0

If this PR updates an existing port, please uncomment and fill out this checklist:

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

END OF PORT UPDATE CHECKLIST (delete this line)

Thanks for the update!


NG: deprecation path and client messaging

We might want in the future to "blacklist" some specific docker versions, or more simply to refuse push from too-old / unsupported anymore clients.
See #570 for why I want a provision for these cases beforehand.
That means we have a documented way on the registry that clients can honor to back-of.
Although UA sniffing is considered bad practice in the wider-web, it may be the simplest path - but maybe there are other ways to "identify" a problematic client.
As for the response, 412 + informative message?

There are a number of approaches we are taking with the new registry that will make this easier:

All docker clients do have a user agent with docker version. This won't change.
Future api implementations will require strict media type declarations in Accept headers for requests, making "turning off" old clients much easier.

Please open a specific issue in docker/distribution if the intent of this ticket isn't covered.


Translate a Pinterest Ad Analytics UI Query into an API Query?

I have a user who is showing me in the Pinterest Ads Analytics Web UI a query. Now I need to extract that same data using the API.
For some data this has been very easy, but I can't come up with a consistent way to translate what I'm seeing on screen to an API call.
I started by using Chrome developer tools to view the request, and trying to extract the column names to then use in the API. But the column names don't match up.
For example, I'm querying "Total view-through conversions (Lead)" in the Web UI, which translates to "TOTAL_VIEW_LEAD" in the ... v4? API call. But this column does not exist in the v5 API, and I get an error if I pass it in.
Here are four specific columns that I can query in the Web UI, that it's not quite clear to me how to query through the v5 API.
    "TOTAL_OUTBOUND_CLICK",
    "TOTAL_CLICK_LEAD",
    "TOTAL_ENGAGEMENT_LEAD",
    "TOTAL_VIEW_LEAD",

Hello @patricker thank you for bringing this issue up! Although I do not know the answer right now, I will investigate this further and follow-up with possible solutions or updates!

@patricker Of course! I will get back to you when the new features are available!

@umar6542003 Hello Umar, our team is still working on making our metrics consistent with what is provided in the docs. Timeline wise, we will have an update within the next couple of weeks.
Thanks again for your patience and feedback.

Hello @patricker @umar6542003 ,
I am pleased to inform you that we have just released our new v5 API today and have updated our async ads_reporting endpoint which now includes the TOTAL_CLICK_LEAD, TOTAL_ENGAGEMENT_LEAD, and TOTAL_VIEW_LEAD metrics. Please let me know if you have anymore questions or updates.
Thanks again!


[Home Page] Announcements Issues

[x] Reconcile Teaser/Content editing and rendering
[x] Verify that (un)publish flag works as intended
[x] Ensure blog post date is rendering correct information (publish date, most likely)

I note that “Reconcile Teaser/Content editing and rendering” is still something of an issue, even for the 2016 site, so I am going to label this issue to bring it more attention.

I have finally checked off the first item here thanks to fixing #580, so after two and a half years this issue can be closed!