page.copy(copy_revisions=False) copies revisions

Using a fresh wagtail checkout I added a test to wagtail.wagtailcore.tests.test_page_model.TestCopyPage, which is failing:
    christmas_event = EventPage.objects.get(url_path='/home/events/christmas/')

    christmas_event.save_revision()

    # Copy it
    new_christmas_event = christmas_event.copy(copy_revisions=False)

    # Check that the revisions were not copied
    self.assertEqual(new_christmas_event.revisions.count(), 0)

Hi @buff3r,
One revision is always created on copy, regardless of the copy_revisions setting - see https://github.com/torchbox/wagtail/blob/5285a9a915be3ad078de9f064ffc14f19f950e72/wagtail/wagtailcore/models.py#L827-L831


Duplicate of #76. (#76 has more information)


windows: initial windows toolchain

Derived a Windows toolchain from Bazel's auto-generated local Windows toolchain.
The default values are derived from my self-hosted Executor right now, which uses a VM image downloaded from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/.

This current setup works with Host, Exec, Target == Windows.
However when I tried Host == MacOS and Exec, Target == Windows, I got this weird command args from Bazel https://app.buildbuddy.io/invocation/4ffc9fcc-3f8c-456b-b998-750e395d8190#execution
Not sure yet how to fix this.

@fmeum filed in https://github.com/bazelbuild/bazel/issues/22169

You could try using the Cygwin /c/foo/bar/whatever notation instead.

We can provide a separate toolchain for Cygwin / Msys2 in a subsequent PR.
Right now this would not work because our Executor will be running in Powershell and use Go os/exec to execute the RE Command. This requires us to use Windows path. I have yet to test our Executor with Cygwin and Msys2 (or using toolchains that come from those shell env). I suspect demands for them would be relatively smaller vs Microsoft Visual Studio toolchain though.

If that doesn't work, we may need wrappers around the compiler tools that translate a relative path into the corresponding absolute path.

This is a neat idea. It would unblock us instead of having to wait for https://github.com/bazelbuild/bazel/issues/19208 to get fixed on the Bazel side 🤔
Let's do this in the next PR.


fix: update only 1st instalment after decision cb

Description :sparkles:
HL-1577
Update only the first instalment as accepted after decision details are received from Ahjo.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr3637.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3637.dev.hel.ninja :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3637.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr3637.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3637.dev.hel.ninja :laughing::tada::tada::tada:


Unable to Alt+Tab to other applications in SuperPutty Full Screen Mode

What steps will reproduce the problem?
1. Open a connection in SP
2.  Try to Alt+Tab to other windows application

What is the expected output? What do you see instead?
Expected: Alt+Tab should take me to the other app
Actual: SuperPutty still remains - behaves as if always on top - Note: Always
on Top is not set when I checked this.

What version of the product are you using? On what operating system?
<IP_ADDRESS>

Please provide any additional information below.
OS: Windows 7  64bit

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 Dec 2014 at 6:53

Regarding the issue(s) mentioned in the 2015-01-15 comment, see tickets #215 and #216 .

Hi, This specific issue has either never been an issue or solved in the current latest version as of October 19, 2022 (SuperPutty v1.4.10).  Please navigate through your menu bar in SuperPutty and click on the view tab to uncheck "Always on Top". This should have solved your inconvenience but if the issue still persists, you could open putty configuration, to your left you can find the tree view controls labeled as Category, go to the window node, expand it if necessary and click on Behaviour and make sure the option "Ensure window is always on top" is unchecked.

I can confirm that this issue still exists in SuperPuTTY 1.5.  "Always on Top" is disabled, and when not in full screen mode, it is not always on top.  But when I enter full screen mode, it remains "Always on Top", even if the option is disabled in the menu.
FWIW, I have a dual monitor setup, with the desktop extending over both screens.


First iteration on downloader refactoring

Codecov Report

Merging #1045 into master will decrease coverage by 0.37%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1045      +/-   ##
=========================================
- Coverage   93.28%   92.9%   -0.38%
=========================================
  Files          39      39
  Lines        4197    4255      +58
  Branches      464     734     +270
=========================================
+ Hits         3915    3953      +38
- Misses        282     285       +3
- Partials        0      17      +17

Impacted Files
Coverage Δ

browser/model/installable-item.js
96.35% <100%> (-2.46%)
:arrow_down:

browser/model/helpers/downloader.js
96.36% <100%> (+0.5%)
:arrow_up:

browser/model/devstudio-autoinstall.js
97.29% <0%> (-2.71%)
:arrow_down:

browser/model/helpers/hash.js
85.29% <0%> (-2.59%)
:arrow_down:

browser/pages/install/controller.js
70.81% <0%> (-2.11%)
:arrow_down:

browser/main.js
95.58% <0%> (-1.39%)
:arrow_down:

browser/pages/account/controller.js
82.11% <0%> (-1.33%)
:arrow_down:

browser/pages/location/controller.js
92.5% <0%> (-1.25%)
:arrow_down:

browser/model/jbossfusekaraf.js
95.09% <0%> (-0.83%)
:arrow_down:

... and 19 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 2d8b8cc...4460144. Read the comment docs.

test this


Use Regex in output templates

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Ytdl gui seems to work with no issue for me now. Wasn't so in earlier builds. 1 question. Is it possible to assign custom file name template to PLAYLISTS downloads? Like adding $num to file names in playlist, so videos start with 01-VideoX; 02-VideoY, etc

Work in Progress.


Proposal: Query API

We're rethinking how to query for MUD data both in the client and from the indexer. It's designed in such a way to support incremental/streaming updates in an efficient way, so that we can offer a global automatic indexer with filtering and streaming.
Goals

expressive queries

filtering of keys/values, using operators like >, >=, in, etc.
joins across tables (relationships)

efficient streaming/incremental updates given above query constraints
can support existing use cases (table+key filters, RECS queries, etc.)

Reference
For all examples, let's assume a MUD config that looks like:
const tables = {
  Position: {
    keySchema: {
      player: "address"
    },
    valueSchema: {
      x: "int32",
      y: "int32"
    }
  },
  Health: {
    keySchema: {
      player: "address"
    },
    valueSchema: {
      health: "uint256"
    }
  },
  Inventory: {
    keySchema: {
      player: "address",
      item: "uint8"
    },
    valueSchema: {
      amount: "uint32"
    }
  },
  Score: {
    keySchema: {
      player: "address",
      match: "uint256"
    },
    valueSchema: {
      score: "uint256"
    }
  },
  Winner: {
    keySchema: {
      match: "uint256"
    },
    valueSchema: {
      player: "address"
    }
  },
  Terrain: {
    keySchema: {
      x: "int32",
      y: "int32"
    },
    valueSchema: {
      type: "uint8"
    }
  }
}

Proposal
I'm assuming the folks reading this understand TypeScript enough to internalize the constraints of the query API. It's designed to be JSON serializable so is a little more verbose than what might be exposed in client libs. It'll be used in a few different contexts with tooling on top: vanilla JS, React hooks, SSE API.
type Query = {
  from: TableSubject[];
  except?: TableSubject[];
  where?: QueryCondition[];
  records?: TableSubject[];
};

type TableSubject = {
  tableId: Hex;
  subject: string[];
};

type QueryCondition = ComparisonCondition | InCondition;

type ComparisonCondition = {
  left: TableField,
  op: '<' | '<=' | '=' | '>' | '>=' | `!=`,
  right: TableField | LiteralValue,
};

type InCondition = {
  left: TableField,
  op: 'in',
  right: LiteralValue[],
}

type TableField = {
  tableId: Hex;
  field: string;
};

type LiteralValue = string | number | boolean;

Subjects
The query API spec above refers to a "subject" in several places. You can think of a subject as a field (or fields) on which a relationship (or relationships) is based. Using SQL to demonstrate:
SELECT Position.player
FROM Position
JOIN Inventory ON Inventory.player = Position.player

The subject in this case is player, or rather the tuple (player), for both Position and Inventory tables. Subjects can span multiple fields and all subjects in a query must share the same underlying tuple of ABI types.
A query returns a list of matching subject tuples for all tables in from and all conditions in where.
Any field of any table in from can be used as a query condition in where, not just subject fields. And you can use except to exclude subjects that exist in a given table (like RECS' Not operator).
Getting records
By default, queries only return the list of matched subject tuples. To return the records for a table(s), you can specify the corresponding table subjects in records. This is a separate field because we intend for loading records to be a separate operation internally. This means you also return records for tables that were not part of the query, as long as there's a suitable subject for each table that matches the query subject(s).
Examples
Please note that the examples below are pseudocode using the query API above. I'm also using table names instead of hex table IDs for readability.
We're planning ship this with a strongly-typed query client for better UX and to simplify writing queries, but want to keep the discussion focused on the unlocks + constraints of the API design itself before we flesh out the query client, async + streaming interfaces, etc.

Give me all players with a position.
// in RECS today
runQuery([Has(Position)]);

// new query API
const query: Query = {
  from: [
    { tableId: 'Position', subject: ['player'] },
  ],
};

Give me all players at position (3, 5).
// in RECS today
runQuery([HasValue(Position, { x: 3, y: 5 })]);

// new query API
const query: Query = {
  from: [
    { tableId: 'Position', subject: ['player'] },
  ],
  where: [
    { left: { tableId: 'Position', field: 'x' }, op: '=', right: 3 },
    { left: { tableId: 'Position', field: 'y' }, op: '=', right: 5 },
  ],
};

Give me all players within the bounds of (-5, -5) and (5, 5).
// not possible in RECS today
// need to fetch a bigger data set and manually filter
const entities = runQuery([Has(Position)]);
entities.filter((entity) => {
  const position = getComponentValue(Position, entity);
  return position.x >= -5 && position.x <= 5 && position.y >= -5 && position.y <= 5;
});

// new query API
const query: Query = {
  from: [
    { tableId: 'Position', subject: ['player'] },
  ],
  where: [
    { left: { tableId: 'Position', field: 'x' }, op: '>=', right: -5 },
    { left: { tableId: 'Position', field: 'x' }, op: '<=', right: 5 },
    { left: { tableId: 'Position', field: 'y' }, op: '>=', right: -5 },
    { left: { tableId: 'Position', field: 'y' }, op: '<=', right: 5 },
  ],
};

Give me the position of all players that are still alive.
// in RECS today with manually mapping to values
const entities = runQuery([Has(Position), Has(Health), NotValue(Health, 0)]);
entities.map((entity) => getComponentValue(Position, entity));

// new query API
const query: Query = {
  from: [
    { tableId: 'Position', subject: ['player'] },
    { tableId: 'Health', subject: ['player'] },
  ],
  where: [
    { left: { tableId: 'Health', field: 'health' }, op: '!=', right: 0 },
  ],
  records: [
    { tableId: 'Position', subject: ['player'] },
  },
};

Give me the inventory of all players with a score above 50.
// not possible in RECS today due to composite keys

// new query API
const query: Query = {
  from: [
    { tableId: 'Inventory', subject: ['player'] },
    { tableId: 'Score', subject: ['player'] },
  ],
  where: [
    { left: { tableId: 'Score', field: 'score' }, op: '>', right: 50 },
  ],
  records: [
    { tableId: 'Inventory', subject: ['player'] },
  },
};

Give me all players standing on a grass tile.
// not possible in RECS today

// new query API
// this is done with two queries, because all subjects in a query must match
// and there's no common subject between the tables we're querying and filtering on
const players = query({
    from: [
      { tableId: 'Position', subject: ['player'] },
    ],
  })
  // queries return subject tuples, so we map it to just the player addresses to use below
  .map(([player]) => player);

const query: Query = {
  from: {
    { tableId: 'Position', subject: ['x', 'y'] },
    { tableId: 'Terrain', subject: ['x', 'y'] },
  },
  where: [
    { left: { tableId: 'Position', field: 'player'}, op: 'in', right: players },
    { left: { tableId: 'Terrain', field: 'type'}, op: '=', right: 'grass' },
  ],
  records: [
    { tableId: 'Position', subject: ['x', 'y'] },
  ],
};

Notes

This is a step towards MUD client apps (or sections of) being able to query just for the data it needs when it needs it, rather than having to keep the entire world's state in memory.
The query API is designed to be easily understood by folks who work in relational databases (and maps well to our table and record abstractions), while still being flexible to support ECS-style queries in an efficient way. We'll build ECS tooling on top to abstract away the relational-centered bits.
Queries are intentionally designed to not "select from" a particular table. Instead, all "joined" tables are defined together. This lets us internally optimize these queries to start from the smallest tables first and filter the result set from there. This is only possible because everything is assumed to be ANDed together.
The query constraints defined by the API are optimized for highly efficient incremental updates. We'll write more about this in the future, but we evaluated many different kinds of queries, their complexity in both initial query and incremental updates, and found this API to be a good balance of expressivity and fast/efficient streaming.
For more complex queries, we expect queries to be composed and piped together (as shown in the last example). In the future, we may provide APIs to define multiple queries that efficiently do this pipelining for you.

Should we constrain subjects to just static/fixed length field types?

The spec in this proposal now lives in https://github.com/latticexyz/mud/blob/main/packages/query/src/api.ts


[OS X] Multiple monitor resolutions

Not sure on non-OSX systems, but on OSX systems if you are running multiple monitors, the function will output the resolutions on to two lines, thus trying to print over a small part of the image display.
Therefore these output lines should probably be printed in to one line by slightly adjusting the following line under the getresolution() function
        "Mac OS X")
            resolution=$(system_profiler SPDisplaysDataType |\
                        awk '/Resolution:/ {printf $2"x"$4" "}')
        ;;

all i did was to change print to printf - this combines the output with a space on to one line only

Thanks for opening the issue!
I've gone and changed all print to printf for consistency.
The issue should be fixed now.


HP labtop

Labtop stopped working again.
[Enter feedback here]

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

ID: 2f747ed8-c379-a8c4-731f-a77ee3e47c89
Version Independent ID: 2e29e92b-89d5-aeae-c447-9cfd79d69fc7
Content: az backup recoverypoint
Content Source: src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/_help.py
Service: backup
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

There is insufficient information for us to do anything with this.


Splitting writable into 2 separate jobs

Q
A

Issue Type
Feature Request

Deployer Version
5.0.1

Local Machine OS
N/A

Remote Machine OS
N/A

Description
Writable settings don't really make much sense for a bit more complex scenario. I believe this needs to be broken down into 2 different jobs.
writable-owner
writable-permissions
and 2 different set of settings for those jobs.
I don't have an easy way now to say:

I want to chgrp on X directories to www-data
I want to chmod 775 on X directories

Because writable job relies on writable_mode and we only can pick 1.
Thoughts?

I agree. Maybe we should implement some think like cap: https://github.com/capistrano/file-permissions


'Clicking' the play button on bandcamp doesn't work

As the title says, f + selecting the play button (it does have a link hint) on e.g. https://whitneychicago.bandcamp.com/album/you-ve-got-a-woman-lion-cover-b-w-gonna-hurry-as-slow-as-i-can-dolly-parton-cover has no effect, i.e. does not play the song.
This applies to both up-to-date Firefox and Chromium with v1.23.1. If I can help debugging this, please tell me how.

Thanks for the report!
This bug exists because the play button is implemented as a div wrapped within an anchor element:

. When Saka Key dispatches the click event, it dispatches the click to the anchor, not the div. Bit the event listener that pauses/plays is attached to the div, not the anchor.
The fix is as follows: If A) a parent element and one of its descendants are both clickable and B) the descendant fills up the parent, then assign the hint only to the descendant.
The current logic assigns the hint to the parent. I'm not going to fix this right away, as I intend to replace the logic for finding hints with VimFx's algorithm.

Alright, thanks for the response and the extension in general. I'm very much looking forward to more of  VimFx' functionality being 'restored' here :)

The reason VimFx is able to click this “button” is because it uses an old Firefox API for checking if elements have click listeners (added using element.addEventListener('click', ...)). One would have to hack .addEventListener of all pages in order to do something similar in a WebExtension. See also https://github.com/akhodakivskiy/VimFx/issues/672 and https://github.com/akhodakivskiy/VimFx/pull/676.

Oh I see now. Thanks for the explanation. Looks like I'll have to investigate either  monkeypatching EventTarget.addEventListener or see how cVim and Vimium do it.

Vimium has an open PR for hacking addEventListener: https://github.com/philc/vimium/pull/1859


06_sntp reset after reboot

Hi,
After the deepsleep mode, I get the following error:
C:/ESP32/esp-idf/components/freertos/heap_regions.c:531 (vPortDefineHeapRegionsTagged)- assert failed!

After the first reset, it can't sync with the servers anymore. The ESP32 doesn't save the time and it print:
I (2213) example: Boot count: 0
Which is 1 after a fresh reset.

With V1.0 it's working fine.

Thanks for reporting this @hdavidka. I'm not able to reproduce this with the current master branch (commit cca883490). Could you please do a clean build with this commit and try again?

Closing for now, but please reopen if the problem is not fixed.


MacOS input event error.

W,A,S,D pressed but the camera status error. It cannot move correctly.

Another bug: Logger shows that the threads destroy failed when application quit.


PDF renderer

It would be cool to have a way to render directly to a PDF, maybe with a limited set of views that match what people expect out of a PDF. This could be super useful for one-off page layouts for invitations and similar!

And it would be useful for apps that dynamically generate PDFs based on user input because they’d be able to render a preview in a fixed size box with SwiftUI or TokamakDOM then pass the same state to TokamakPDF

PDF is a pretty complex format, would rendering to HTML and then converting to PDF from that be a reasonable workaround in the meantime?

On iOS/macOS there's an API that allows rendering arbitrary UIView/NSView to a PDF, either of those could host a SwiftUI view then. On other platforms something like html2pdf.js could work, and then wkhtmltopdf for a purely "headless" browser-less approach.

PDF is a pretty complex format, would rendering to HTML and then converting to PDF from that be a reasonable workaround in the meantime?

From my (limited) experience with making PDFs from HTML, the two formats are different enough that it can be hard to make things look good when converted to PDF. I think it might be worth doing it from scratch (maybe using a Swift library like TPPDF?) but this is definitely a low priority issue that can wait until the DOM tenderer is done.

On iOS/macOS there's an API that allows rendering arbitrary UIView/NSView to a PDF, either of those could host a SwiftUI View then. On other platforms something like html2pdf.js could work, and then wkhtmltopdf for a purely "headless" browser-less approach.

I am listening to Swift Talk by objc.io and they mention that creating PDFs from embedded SwiftUI views just generate embedded bitmaps in the PDF. They are reimplementing SwiftUI using a (vector based) CGContext in order to generate PDFs for this reason.
And they uncover a lot of details about the layout and render processes while doing it.


Septidon integration

Integrate the septuple implementation of the permutation with the sponge/lookup circuit.
The original implementation with double rounds is still supported. The same tests run with both implementations. The implementation of the new shorter permutation is selected by a feature short like so in Cargo.toml:
poseidon-circuit = { git = "https://github.com/scroll-tech/poseidon-circuit.git", features = ["short"] }

This is built on top of https://github.com/scroll-tech/poseidon-circuit/pull/12. It might be easier to review the new chip in #12, then review the integration here (#14).

Again I would merge first so #13 can process. Later we should try to resolve the cmpability.

Thanks for the review! I have applied your suggestions in #15 .


Create contributing.md in Meshery-consul repo

Issue Description
Create contributing.md that points to the central contributing.md in the Meshery repo.
Create a stub CONTRIBUTING.md in each of the repos that essentially say:
“You want to contribute to the project? Yay! We want you to! Visit our centralized instructions for contributing.", where the “contributing” is a hyperlink to the CONTRIBUTING.md in the main meshery repo.
Future Effort
In time, as more contributors join the project, we may need a meshery-community repo that has all this and much more info or to have a community / contributing section in the meshery docs.

@subhamkrai did we miss this one?

Thanks, @subhamkrai


Upgrade node-mocks-http

Due to a vulnerability found in one of its dependencies, we'll have to upgrade node-mocks-http as soon as this PR is merged and a new release (<1.6.5) is available.

Fixed by #240


[SPARK-41736][CONNECT][PYTHON] pyspark_types_to_proto_types should supports ArrayType

What changes were proposed in this pull request?
Currently, pyspark_types_to_proto_types used to transform pyspark datatypes to protobuffer datatypes.
But it not supports the array type yet.
Many connect API need to transform pyspark array type to protobuffer array type. For example, createDataFrame, DataFrame.to and so on.
Why are the changes needed?
This PR let pyspark_types_to_proto_types support ArrayType.
Does this PR introduce any user-facing change?
'No'.
New feature.
How was this patch tested?
New tests.

ping @zhengruifeng @grundprinzip @amaliujia

merged into master, thank you @beliefer !

@HyukjinKwon @zhengruifeng @grundprinzip Thank you!


Search can't find pch.h in project

VSCode Version:  1.28 ~ 1.30.0-insider(Latest)
OS Version: Ubuntu Gnome 16.04.5
Project: C/C++ project

Steps to Reproduce:

Search files using by Ctrl+P
Type pch for keyword
VSCode find files like pch.cpp, pch123.h on top  but not pch.h in the project.
VSCode never find pch.h file.
I don't specify pattern for that in the Exclude filter of the Setting.

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

Please see the wiki page for this issue first: https://github.com/Microsoft/vscode/wiki/Search-Issues#missing-search-results let me know whether anything in there helps

I found the cause.  that is my .gitignore contains the pch.h file name.
Please close this issue.
Thanks.


Broken team view link

The page /calendar/feeds/ contains a broken Team view link (points to teamview instead of calendar/teamview/).

hi @jekuno, thank you for reporting, much appreciated.
Fixed.


Performance issues can occur if the number of rows exceeds a few hundred

Performance issues can occur if the number of rows exceeds a few hundred
，Very sluggish

See https://github.com/flutter/flutter/issues/128575


Read-only file system error

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

I get this error
az extension update --name azure-cli-iot-ext
CLIInternalError: The command failed with an unexpected error. Here is the traceback:
[Errno 30] Read-only file system:
How to resolve this ?

Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@kmohideen - Since we have not heard back from you we will now proceed to close this thread.
However if you can share additional information regarding the documentation you are referring and circle back on this thread , we will gladly reopen the issue and continue the discussion. Thank you.


Feature: Websockets and IPC connection to execution engine

PR Description
Added support of Websockets connection to execution engine. There are several notes regarding this PR:

Files.readString(filePath).strip() in JwtSecretKeyLoader. Similar code appears in several parts of the project, I'd add it to some Utils to be consistent over the codebase, but haven't found any Utils.
Errors are handled too broad both with websockets and http as execution client being offline. Not semantically correct, but user see errors like this not too deep. Pretty sure ConnectException is not the only type for execution client connection issues, so not forcing fix.

13:12:49.893 ERROR - Execution Client is offline java.lang.Error: -32601: the method engine_exchangeTransitionConfigurationV1 does not exist/is not available (See log file for full stack trace)

We may need to support TLS in the future for both type of connections. Besu already supports it. Shouldn't be an epic issue for https, but for wss it could. Check more below regarding implementation limitations.

There are several constraints due to limited support of websockets (comparing to http) by web3j library:

we couldn't have something like log interceptor for http, though in TRACE logging web3j logs incoming and outgoing messages by itself
WebSocketService which we should use with web3j ignores connection exception, so it may be difficult to debug for the user. For example, with wrong JWT tokem on http you see in console "403 wrong token" or something like this, but inside WebSocketService there is dummy thrower

   if (!connected) {
            throw new ConnectException("Failed to connect to WebSocket");
        }

Websockets implementation in web3j doesn't support TLS which could be an issue in future
I don't see simple way to plug something from 3rd party into web3j for Websockets

Fixed Issue(s)

Fixes #5013
Documentation

[x] I thought about documentation and added the documentation label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

Http TRACE logs are currently posted under Web3jClientBuilder, don't like it

btw as a follow up we should probably add support for using ws/wss for the eth1-endpoint as well (unless it adds some extra complications that make it more difficult - it's not a high priority).  And also if it's easy adding support for IPC via IpcService would be useful, but again not a high priority if it turns out to be difficult.

I have a fix, I don't like it, so I submitted https://github.com/web3j/web3j/pull/1645
Hope it will be merged.
For connection exception the fixes should be applied to https://github.com/TooTallNate/Java-WebSocket first as it's not thrown from there. Looks like several places should be fixed.

@ajsutton I see people use web3j  for wss, I added it to supported, though I guess it will work only with not self-signed certificates

Btw found this https://docs.web3j.io/4.8.7/advanced/tls_websockets/
so it could be setup for self-signed certs in future, I guess

@ajsutton I've added IPC support, though I was not able to make it work with unicode filepaths. I put this on hold until web3j PR is processed. Recreate WebSocketService instance for every new connection is definitely a bad way. I'll add everything to eth1-endpoint when we have understanding with WebSockets.

Personally I don't like init scheme in Web3JClient much  but otherwise we are forced to keep all protocol-specific logic in Web3jClientBuilder which I dislike more. Maybe there is another good option I missed?


Issues using VT and a fork of Timberjack

Hi!
I use this fork of Timberjack mod (original by CoverJaguar - Curse) made by @asiekierka , but when i've installed VanillaTweaks the tree felling behaviour stopped working.
Plus i dont get any errors in logs. Can this issue be fixed?

No idea what is wrong .Maybe @asiekierka can help.

Sorry, forgot to say that.
As i said in OP, VanillaTweaks is neutralizing the Timberjack feature - the tree felling physics. Without VT timberjack works fine.

@vpontin can you explain what doesnt. Whether the trees doesnt fall? Or there is no drops?

The trees dont fall


Migrate Aiken UPLC crate into Pallas

Pretty soon it'll be time to start moving over the uplc crate into a crate in this monorepo. Perhaps named pallas-plutus.
This will serve as a parent issue to divisible subtasks so that anyone can help out.
I think most of the things can be copied and pasted over. But this might also be a chance to improve somethings as well.
Once this is complete we can deprecate uplc in favor of pallas-plutus
Items to bring over (non-exhaustive)

[ ] Untyped Plutus Core ast
[ ] probably UPLC parsing

[ ] potentially enhance error messages with miette

[x] UPLC flat encoding and decoding
[ ] UPLC machine
[ ] phase two evaluation stuff

@rvcas should we consider this issue closed?

@scarmuega yea, we'll approach is slightly differently as Amaru moves along


Add an entry for logging in iOS Extensions

Found an issue while debugging a Share Extension, and wanted to share this tip to make logs more useful/reliable there. I don't believe a code change is necessary - this is just a straight doc contribution.

Current coverage is 22.76% (diff: 100%)

Merging #820 into master will not change coverage

@@             master       #820   diff @@
==========================================
  Files            16         16
  Lines          3884       3884
  Methods         436        436
  Messages          0          0
  Branches        279        279
==========================================
  Hits            884        884
  Misses         2998       2998
  Partials          2          2

Powered by Codecov. Last update 1af7563...3c4ec24


vim ctags not found tags in rails project

I have generated tags file on gem's root for my Rails project by running gem ctags, but when I stop the cursor in rails keywords, such as 'before_action', then I type ctrl - ], it tips me "No tags found for: before_action".
By the way, ctags works normally for my project's methods and class tags.
Did I do something wrong? And what should I do?
My native language is not English, please forgive me for any mistakes.

You probably want to install bundler.vim, which will set the 'tags' option to include the tags files from your declared gem dependencies.


Data race fix for context slog.Logger

See https://github.com/tus/tusd/issues/1192
This adds a mock slog Logger to create a data race issue. Run go test -race to trigger.
I am currently thinking about different approaches for a fix. But it's a bit complicated.
The way httpContext is implemented does not allow any mutations. It would need to be cloned, and any requests would need to be copied as well with http.Request.WithContext to contain the httpContext.

Thank you for looking into this! As mentioned in https://github.com/tus/tusd/issues/1192#issuecomment-2393270585, it's probably easier to set the id when creating the context. We might have to move some logic around for this, but that's doable.

@wongak I enabled the race detector for CI in this PR and reverted your fix (for now) in an attempt to reproduce this race warning. However, neither locally nor on CI is the WithSlog test failing. Is it reporting a race warning locally for you?

I can't reproduce it either. Which is a bit confusing. I got the errors before applying your changes. But with your fixes, it seems to be fine.

The data race report from your original comment mentions the use of (*httpContext).Value(), although it doesn't provide a stack trace:
Previous read at 0x00c0006ae3b0 by goroutine 398:
  github.com/tus/tusd/v2/pkg/handler.(*httpContext).Value()
      <autogenerated>:1 +0x44

I wonder if this warning appears when the context is accessed by the data store, for example.
But if you cannot reproduce this anymore, we can also close this issue since the other data races have been addressed.

I am closing this PR since we are not able to reproduce this data race anymore. Feel free to reopen it if the problem appears again!


Add CNPJ support

Do you see any problem to add CNPJ information
I know the calc of verify code is the same.
in the pass, I created the Elixir Brcpfcnpj
But now I try to study Rust

Hey @williamgueiros! There is another repository for the CNPJ validation: https://github.com/reu/cnpj-rs
And the verify code as far as I understood is slightly different


Using org.reflections Bug in 3.1.1

Version 3.1.1 is using org.reflections in Version 0.9.9-RC1
In WeldTestUrlDeployment emerges the following Exeption:
java.lang.NoSuchMethodError: org.reflections.Store.get(Ljava/lang/String;)Lcom/google/common/collect/Multimap;
at org.jglue.cdiunit.internal.WeldTestUrlDeployment.(WeldTestUrlDeployment.java:226)
at org.jglue.cdiunit.internal.Weld11TestUrlDeployment.(Weld11TestUrlDeployment.java:28)
at org.jglue.cdiunit.CdiRunner$1.createDeployment(CdiRunner.java:94)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:127)
at org.jglue.cdiunit.CdiRunner.createTest(CdiRunner.java:114)
at ....
In Version 3.1.2-SNAPSHOT problem is solved because of org.reflections 0.9.9-RC2
Please can you either fix this in 3.1.1 or release 3.1.2
Thank you, Peter

3.1.1 Already uses 0.9.9-RC2
See
https://repo1.maven.org/maven2/org/jglue/cdi-unit/cdi-unit/3.1.1/cdi-unit-3.1.1.pom

Hello Bryn,
sorry for disturbance. I have found a dependency in our maven stack on 0.9.9-RC1. So this is our fault.
So closing the topic.


component is left in broken state after storage addition

/kind bug

What versions of software are you using?
Operating System:
macOS
Output of odo version:
▶ odo version
odo v1.2.5 (552aad7ea)
How did you run odo exactly?
▶ odo create  java-maven
Experimental mode is enabled, use at your own risk

Validation
 ✓  Checking devfile existence [39413ns]
 ✓  Checking devfile compatibility [84734ns]
 ✓  Creating a devfile component from registry: DefaultDevfileRegistry [89449ns]
 ✓  Validating devfile component [247861ns]

Please use `odo push` command to create the component with source deployed

▶ odo push

Validation
 ✓  Validating the devfile [188307ns]

Creating Kubernetes resources for component java-maven
 ✓  Waiting for component to start [2m]

Applying URL changes
 ✓  URL http-8080: http://http-8080-java-maven-tkral-test.apps.testocp4x.psiodo.net/ created

Syncing to component java-maven
 ✓  Checking files for pushing [5ms]
 ✓  Syncing files to the component [25s]

Executing devfile commands for component java-maven
 ✓  Executing mvn-package command "mvn package", if not running [1m]
 ✓  Executing run command "java -jar target/*.jar", if not running [2s]

Pushing devfile component java-maven
 ✓  Changes successfully pushed to component

▶ curl http://http-8080-java-maven-tkral-test.apps.testocp4x.psiodo.net/
Greetings from Spring Boot!%

▶ odo storage create mystorage --path=/data --size=1Gi
 ✓  Added storage mystorage to java-maven

Please use `odo push` command to make the storage accessible to the component

▶ odo push

Validation
 ✓  Validating the devfile [124117ns]

Creating Kubernetes resources for component java-maven
 ✓  Waiting for component to start [4m]

Applying URL changes
 ✓  URLs are synced with the cluster, no changes are required.

Syncing to component java-maven
 ✓  Checking file changes for pushing [3ms]
 ✓  Syncing files to the component [2s]

Executing devfile commands for component java-maven
 ✗  Executing mvn-package command "mvn package", if not running [3s]
 ✗  Failed to start component with name java-maven. Error: Failed to create the component: command execution failed: unable to execute the run command: unable to exec command [/bin/sh -c mvn package]:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.089 s
[INFO] Finished at: 2020-08-26T09:42:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/projects). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
: error while streaming command: command terminated with exit code 1

Expected behavior
source code should be present in container and my application  should be running after odo push
Any logs, error output, etc?
build command while running odo push fails because the directory where the application source is supposed to be is empty.
▶ oc exec java-maven-748556d67-kmk7x  -- ls /projects
?
devfile.yaml

The problem is in the sync code. After the storage is mounted, the pod is restarted and source code files are lost.

is it related with this https://github.com/openshift/odo/pull/3409??

is it related with this #3409??

I don't think so, that bug was causing the redeployment. Here the issue is about the syncing after a redeployment not being handled by the sync adapter.

I'm hitting this issue too, without using odo storage.
It seems syncing is entirely broken whenever a component is restarted on a push (with or without the -f flag). Additionally, if you do odo delete followed by odo push, sync will not sync everything over either.
It seems odo is no longer determining when it needs to bypass the odo-file-index.json file (such as when a component is redeployed or on first odo push). I can also confirm that odo v1.2.5 works fine.
I'm gonna mark this as high priority given how visible it is (and it's a regression from v1.2.5 functionality)
/priority high

Confirmed this is due to https://github.com/openshift/odo/pull/3619 ... removing the index-removal code was intentional, but it looks like it regresses the 'sync after new pod' scenario as seen on this issue.
In light of this issue, the correct behaviour for this logic should be:
If force push is specified, and a new pod depoyed:

Delete the index, so everything is retransferred to the new pod from local

If force push is specified, and existing pod reused:

Don't delete the index, because we need to use the existing index in order to find files that were deleted since the last push
Incorrectly handling this causes the bug originally reported here: https://github.com/openshift/odo/issues/3460

If force push not specified, and new pod deployed:

Delete the index, so everything is retransferred to the new pod from local

If force push is not specified, and existing pod is reused:

Don't delete the index: the existing state in the remote pod should be how we last left it, and the index file should be a reliable representation of that.

New PR to do those things, plus an integration test to verify the behaviour: https://github.com/openshift/odo/pull/3859

Assigning to myself since I introduced the behaviour (FYI @mik-dass , who is the current assignee)
/assign

/unassign @mik-dass


Modularise Microserver

Move all data-access into  (Hibernate, JDBC, Spring Data)
Micro-data
Swagger into
Micro-swagger
Metrics into
Micro-metrics

Completed on Master


Test commit to fix CI failure

This PR fixes a race in the port filter test case where if two containers are started quickly in succession before the first container has been completely cleaned up, the second container may fail to start because we share the host port space and the port might be still in use. Fixed it by introducing a 1 second delay in between container starts.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

@mrjana you won't see any output if the test passed. Try to assert $status with a strange value :)

Jenkins frozen for now :/

Yeah been waiting for this to get scheduled just to get a small data point :-(

@mrjana CI running ;)

ping @vieux

Thanks for investigating @mrjana, although I'm curious to know the real reason on why this was working without the sleep until recently, was there any change on libnetwork's side that might have impacted this? :confused:

@abronan Yes there was networking related change in docker(not libnetwork). We made --userland-proxy to be disabled by default in docker so while earlier the port binding was happening from separate proxy process when --userland-proxy was enabled by default, now this port binding and subsequent cleanup happens in the docker daemon itself. This has resulted in a change in timing when exactly the port gets cleaned up. While I don't know exactly what timing changed in the docker control flow, there is race in the swarm test case which is becoming more prominent with current docker master.

Well I guess we should go forward with this even though I would add a placeholder FIXME just to make sure we keep track of this and also to understand why this happens with --userland-proxy disabled.

@abronan The most deterministic way to fix this would be to check the first containers status through inspect to make sure it's stopped and then start the second container. If the race is not clear, I can explain it to you in person. Trying to track down a timing change because a process is not getting spawned any more can get very hard with the need to reason it out in the context of how kernel schedules the process and how go runtime schedules the go routines.

I mean yes, the port release is delayed by the added overhead involved in disabling --userland-proxy. The FIXME is just to make sure we check this cleanly instead of doing a sleep. Or if we do this now that'd be better I guess.

@abronan fyi for other reasons : https://github.com/docker/docker/pull/16347 temporarily. Shall we check if swarm tests are back to normal ?

Regardless we need to fix the race in the test case. But now that there is no rush to push this fix in let's do the deterministic way. I will update the PR with a better fix.


when i build this project, this error occurs.  My osqp is version 0.4.1.

make
Scanning dependencies of target OsqpEigen
[ 25%] Building CXX object CMakeFiles/OsqpEigen.dir/src/Data.cpp.o
[ 50%] Building CXX object CMakeFiles/OsqpEigen.dir/src/Settings.cpp.o
[ 75%] Building CXX object CMakeFiles/OsqpEigen.dir/src/Solver.cpp.o
/home/ruoyo/Apps/osqp-eigen/src/Solver.cpp: In member function ‘bool OsqpEigen::Solver::initSolver()’:
/home/ruoyo/Apps/osqp-eigen/src/Solver.cpp:83:44: error: cannot convert ‘OSQPWorkspace**’ to ‘const OSQPData*’ for argument ‘1’ to ‘OSQPWorkspace* osqp_setup(const OSQPData*, OSQPSettings*)’
m_settings->getSettings()) != 0 ){
^
CMakeFiles/OsqpEigen.dir/build.make:110: recipe for target 'CMakeFiles/OsqpEigen.dir/src/Solver.cpp.o' failed
make[2]: *** [CMakeFiles/OsqpEigen.dir/src/Solver.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/OsqpEigen.dir/all' failed
make[1]: *** [CMakeFiles/OsqpEigen.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Which version of OSQP are you using? Which version of osqp-eigen?

Sorry, I did not see the title. I guess that the master branch is not compatible with OSQP 0.4.1 , I guess you should try the appropriate version: https://github.com/robotology/osqp-eigen/releases/tag/v0.4.1 .

Which version of OSQP are you using? Which version of osqp-eigen?

i use OSQP version 0.4.1 , because i dont know why i cant use the latest OSQP version.

Sorry, I did not see the title. I guess that the master branch is not compatible with OSQP 0.4.1 , I guess you should try the appropriate version: https://github.com/robotology/osqp-eigen/releases/tag/v0.4.1 .

thx bro , i'll try


Add keras_cv.models.StableDiffusion() guide

This shows how to tune XLA performance, etc.
TODOS:

[x] run performance benchmarks comparing the huggingface diffusers pytorch implementation to KerasCV's (@ianstenbit)
[x] write a prompt engineering section
[x] seek feedback on the prompts

Check out a rendered preview here:
https://nbviewer.org/github/LukeWood/Devoxx/blob/master/Basic Generation.ipynb

I'd also like to add Divam as an author - waiting to see if he'd like to be included!

Ok @fchollet feel free to merge and iterate


Add OreDictionary entries for ore chunks and ore dusts

As the title suggests it would be awesome if you could register the ore dusts and possibly also the ore chunks to the ore dictionary as it gets quite annoying when you cannot put the exnihilo version of a certain dust into the same storage drawer as for example the enderio version of the dust by use of the drawers unification system. I already tried using crafttweaker to add them to the ore dictionary but that seems to have some issues.

Awesome, thank you!


gym.error.NameNotFound: Environment HopperBulletEnv doesn't exist.

Hi, you will have to pip install pybullet to use the pybullet envs.


Add sections for FAQ tabs

What:

Add sections for FAQ tabs
Add API connection with the newsletter form

Why:
Relates to: https://app.asana.com/0/1159164196409129/1191556884196657/f
How:

Create a component for each tab
Add actions for newsletter form

Media
https://www.loom.com/share/57d7b775bafc42eea41e11d4ff287aa2

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


Field handling

I have some doubts about the second commit:

the first one is the modification of an arbitrary decision (not in specs)
the second one is the modification of names in the corresponding specifications

I understand that you try to avoid "/" because it is a separator for MediaTrace tests, but there is a conflict with the 2nd patch between "let's try to avoid slash" and "trying to keep names from specs".
If it is not blocking for the moment for the tests your are doing, I would be motivated for accepting only the 1st patch for the moment.

2nd commit dropped


Support local read-only .nupkg-files

We needed support for read-only unc-directories. Fixed by not opening the nupkg FileStream with write access.

thx


Prevent writing to changelog in dry run

Add support for honoring the --dry-run argument by not writing to the changelog.

Thanks again! Released in v1.0.1


Add package name to .proto files

Many protobuf compilers rely on setting the package name to .proto files to generate useful namespaces. ( See reference )
For example, adding package ecs.components; to all the .proto files in ecs/components will make sure that they all get the same namespace in any protobuf compiler and usually, idiomatic to whatever language you're compiling for. In my case, the Rust compiler I'm using relies on this to group the generated structs in the same output files.
I can send a pull request for this if you want, but wanted to avoid the noise if this is something you don't want to do.

This was finally implemented :)


Plans for To-do

The to-do list on the main page looks very promising! I was wondering what are your plans and timing around it looking like?
Thanks for creating this!

Thank you :) I've been working on it for the past 6 months trying to figure out the best approach. I will update the README once I get everything in a place I like. I'll leave this open until then.

Please refer here now for any requests and status on new features.


Add docs note about remap returning undefined when istart == istop

Closes https://github.com/godotengine/godot-proposals/issues/9680
It does not implement my initial proposal, and instead updates the documentation as suggested in the comments https://github.com/godotengine/godot-proposals/issues/9680#issuecomment-2095229515
~I haven't tested any other cases that could lead to NaN, might be worth just mentioning it can return NaN and to use is_nan, open to feedback here~ It was updated to be a bit more generic based on findings in the comments of this PR

@kleonc thanks for diving in!
I will update this PR to add tests for those cases, as well as update the docs to mention them.
Is [1] an issue the godot codebase has run into before? Or should I just assume yes it will be done correctly and its safe to add tests for?

@kleonc thanks for the suggestion, I've updated the PR to match

Thanks!


Fix : Changed ssh key path - Hypershift

Changed ssh key path - Hypershift

Changed the path for ssh key on local host
Removed space while creating HCP which is causing issue while using different basedomian

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


The product listing page does not show the correct quantity count.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
The product listing page does not show the correct quantity count.
Preconditions

Admin should be logged in.
Admin should have at least one product.

Steps to reproduce

Go to 'Admin panel'
Click on 'Catalog'
See the error

Expected Result
It should be shown the correct quantity in the listing.
Actual Result
Showing quantity with multiply with 2. Here
Screenshots
No response
Additional context
No response

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Weapon Sound Bug when using Levels section

Describe the bug
Using the Levels section for the .ust file causes weapon sounds to seemingly break, using the Global section to replace music instead causes no such issues.
To Reproduce
Steps to reproduce the behavior:

Load up this weapon sound pack
BVSSICsChunkedUpWeaponsReborn.zip
Test it, it should work (Note: Only changes slab revolvers and shotguns atm)
Load up this music pack 7-2 Ultra Combat
(too big for github direct upload so discord link it is)
Test weapon sounds, they should be gone
(sorry for this) change levels to global, clean2 to 7-2 Clean and battle2 to 7-2 in the Ultra Combat .ust file
Load the pack again
Weapon sounds should work
(Note: you dont need to go into 7-2 for this, just load the pack)

Expected behavior
i expected weapon sounds to still work yeah
Desktop (please complete the following information):

OS: Windows 10
Mod version 1.4.2

Additional context
nothing in the logs it seems

Update: it seems to be caused by any loaded pack not having a "global" section still in the .ust file
removing a global section causes weapon sounds (and presumably, anything else in the global section) to break entirely

Update 2: so i was trying out a diff pack, i added a global section to it (from the template) and that pack broke but weapon sounds didnt
i genuinely dont know what to make of this

I'll take a look as soon as i have a bit of free time (either in 3 hours or 6)

Should be fixed by 1.4.3


Median of Two Sorted Arrays

Aim

Find the median of the two sorted arrays.

Details

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.

Programming language will be used - Java.

Example
Input: nums1 = [1,3], nums2 = [2]
Output: 2.00000
Explanation: merged array = [1,2,3] and median is 2.

Programming language
-->
Leave it unchecked Owner will mark it :)
-->

[ ] C
[ ] C++
[ ] Java
[ ] Python

@Amit366 please assign me this issue under LGMSOC21

@Amit366 Can I work on this issue.

Im preparing for my  coding interviews and it would really help me if you assign this question to me
Kindly assign me this issue under LGMSOC

Please assign me this issue under LGMSOC'21


remote: Expose ClientConfig type

The Client type is already exposed, but can't be used without the config for it
also being exposed. Using the remote.Client from other programs is useful to do
full end-to-end tests of Prometheus's remote protocol against adapter
implementations.

Thanks. Rebased due to conflicts.
Nope, a nil config isn't valid, which is pretty standard in Prometheus, so I guess I'll just leave it as is.


Update sbt to 1.4.8

Updates org.scala-sbt:sbt from 1.4.7 to 1.4.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Codecov Report

Merging #102 (1e31324) into master (59dfcaf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #102   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           48        48
=========================================
  Hits            48        48

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 59dfcaf...1e31324. Read the comment docs.


New Create a Campaign Date did not Preserve on New Campaign Screen

Scope
Campaign Creation
To Reproduce
Create a campaign and put any date in the Campaign date field while selecting campaign type, template, and so on. I used the following settings in the screenshot below.
Expected Behavior
I expected The Campaign to generate with the date in the "Current Date Box."
Screenshots

Desktop (please complete the following information)
OSX Monteray
Obsidian 1.0

I have temporarily removed the option.
The system is ready to collect component (element) specific information, but it is a hidden feature which needs some more work.
Removing it will remove some uncertainty for the users and we can put it back when ready!


problem with private[spark] functions?

I'm running into a problem while executing the standard spark/graphX example in ISpark, see this notebook.
Using Spark 1.1.1 with "local[2]" master and IPython Notebook 2.3, I get the following error:
org.apache.spark.SparkException: Job aborted due to stage failure: ClassNotFound with classloader: org.apache.spark.executor.ExecutorURLClassLoader@b6c3ef9
org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1185)
org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1174)
org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1173)
scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1173)
org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:688)
org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:688)
scala.Option.foreach(Option.scala:236)
org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:688)
org.apache.spark.scheduler.DAGSchedulerEventProcessActor$$anonfun$receive$2.applyOrElse(DAGScheduler.scala:1391)
akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)
akka.actor.ActorCell.invoke(ActorCell.scala:456)
akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)
akka.dispatch.Mailbox.run(Mailbox.scala:219)
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

A similar error has already been brought up by @benjaminlaird also using ISpark, see his much simpler code.
I suppose this problem has to do with the ExecutorURLClassLoader class being private[spark] (see ExecutorURLClassLoader.scala)
Of course, all the code runs fine on the standard spark-shell. The same issue happens on the spark backend for IScala from @hvanhovell

Hi @mathieu1 ,
Thanks a lot for your prompt. This is getting more and more interesting. First I would like to confirm you are not running on scala_2.11? Apparently spark-repl setup a ClassLoader server in this case to synch between driver & executor (scala_2.10.4 doesn't have this feature).
The problem only happens when new class is defined in interpreter and its instances being collected from executor. It doesn't matter where the class is instantiated. There is no problem printing it locally.
Further more, its always thrown by ExecutorUrlClassLoader which is only used in SparkSubmit. So maybe there are some secret hacking in spark-shell.sh which I didn't scrutinize.
I'll get back to you once I advance, please keep me informed. Also, have you tried it on NFlab zeppelin & ibm Spark-kernel? Do they work?

Indeed I compiled and ran averything on scala 2.10.4
Regarding your last question : I tried IBM's spark-kernel and it worked :) Their dependency on an old version of zeromq (2) made it nontrivial for me to setup however.
I haven't managed to use NFlab's zeppelin at all so far.

aha, looks like its working on zeppelin as well, I'll likely switch my backend to them in the future.

I still get this error in 1.3.0, looks like there is going be some serious hacking to the class loader.
I'll simply copy @benjaminlaird's test script here, in case it got deleted by original author.
case class Circle(rad:Float)
val rdd = sc.parallelize(1 to 10000).map(i=>Circle(i.toFloat))
rdd.take(10)

ok problem fixed. Turns out to be easier than I think.
This issue will be closed after 3 days without objection


Using data-gs-min-width="0" and resizing from left border causes item to move

If you have an item with data-gs-min-width="0" and you resize it by dragging the left border, after it reaches the minimum width (1 column I believe) it starts to move the item towards the right. With the same setting, if you resize by dragging the right border, it stops when it reaches the minimum width and the item doesn't move. If you completely omit this attribute and drag from the left, it doesn't move after reaching the minimum width.

@tanyona Interesting! While this is sort of a bug, it doesn't happen with data-gs-min-width="1", and a value of 0 isn't actually valid. It's an interesting find, but it's a scenario that shouldn't actually happen in reality.


How am I supposed to extend DjangoJobExecution

When I execute a job, I have some return values  (number of item found, etc) which I like to keep track of when I am listing the history jobs..

How am I supposed to do that?
Is there any way I could extend the object to keep track of the return values as well (or the result of the job)?
Is there any way I could get job_id to map it a one-to-one table to keep track of all I like based on that execution?

This GitHub issue tracking system is for logging demonstrable bugs in django-apscheduler only and I unfortunately do not have the capacity to address general Django / APScheduler support questions here.
You may want to look at writing a custom APScheduler executor as a start but there are probably various other ways in which the same can be achieved.


How to automate?

Are these settings possible to set via az cli or powershell?

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

ID: ca7d5d35-f923-8996-c2f1-ec70946b0e65
Version Independent ID: dbc9be20-e026-4bfc-bcd3-ab6c7dd5029a
Content: Tutorial - Set Azure CDN caching rules
Content Source: articles/cdn/cdn-caching-rules-tutorial.md
Service: cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@abelal83 Thanks for your feedback. We are looking into this issue and will update you as soon as possible.

@mdgattuso @SubhashVasarapu-MSFT, do you have any updates on this by chance? My organization has had to use a mix of ARM and PS to get our Static Websites / CDN setup working, and it's been incomplete since this rolled last summer.

@simonua ,Last I checked, there are no ways of setting caching rules from Powershell or cli.
@mdgattuso Could you please share your insights on this ?

@SubhashVasarapu-MSFT, thanks for confirming. This is a big pain in the rear as it negates a lot of the efficiencies CDNs provide. It's also not possible to circumvent this with a wildcard /* in the custom rules, so we had to resort to explicitly setting all files and folders to the general caching policy in a myriad or rules (and any time something gets added, it will also require a rule update).

Correct it is not available today, we're working on this now though and it will be available later this spring.

@mdgattuso, awesome! Is there anything we could subscribe to or follow to get updates, please?

#reassign: jessie-jyy

Thanks for providing feedback that helps improve our documentation. These settings can be configured by using Azure PowerShell: https://docs.microsoft.com/en-us/powershell/module/az.cdn/new-azcdndeliveryruleaction?view=azps-7.2.0 or Azure CLI: https://docs.microsoft.com/en-us/cli/azure/cdn/endpoint/rule/action?view=azure-cli-latest. This issue has been resolved and we are closing the issue. #please-close


Test against Python 3.10

requires Azure agent to be updated

waiting on Azure to provide the image. Tracking issue: https://github.com/actions/virtual-environments/issues/4226


SAK-30712 More Sites - more flexibility for new site types.

Okay LGTM

I think you don't need 3 properties for this.
If someone define moresites.externalConfig.siteTypes is because he wants to activate this feature, so the moresites.externalConfig=true is redundant.

Good catch. I have removed the redundant property and I have bought "Boole algebra for dummies" book. ;-)

You're going to kill me but I think you could use a predefined way to translate keys, for example using the prefix moresite_ so you don't have to declare nothing but the moresites.externalConfig.SiteTypes, and add the keys with the prefix moresite_xxxxx in the properties file. What do you think?

Hmm, I don't know. We save a property but IMHO we lose in configuration a bit of ease (people must notice that there is a mandatory hardcoded prefix "moresites_") and flexibility (maybe somebody for any reason wants to name these properties differently).
However, fixing this is a simple change. We can talk about it tomorrow in S2U call and if the consensus is saving properties, I'll do ASAP.

Thanks Daniel !!

After a discussion in S2U meeting call, we decided to set two properties: a list of site types and a prefix to add to them to set up the properties names. I have pushed the latest changes, so you can remove the "in progress".


DNN-8358: Improve Journal_Save to support updates

I have to be careful using merge statements in DNN scripts; I got the feedback that they are too complex for the developers.

This will require significant review as it changes a fundamental behavior of the Journal.

there is no significant change, just avoiding the need to delete an journal item and recreate it, once the content gets updated (e.g. like Active Forums does, which doesn't seem to be reliable - there are a number of records deleted and not recreated). Joe, if you prefer, I can rewrite  the procedure just to use a merge instead of delete and create.

We fixed a bug around this some time ago and there is the ability to update a journal item already. I don't think it is necessary to change the Journal API, instead change Active Forums implementation. Please see: https://dnntracker.atlassian.net/browse/DNN-4253


Set EasyMDE heading font-size to the same size as the resulting markdown (#24151)

Backport #24151
Fix #23816
Manually backported and tested with 1.19:

bot wake up so we can merge


/etc/cacerts watcher does not work as it is mounted from k8s secret

File mounted from k8s cm or secret is a sym link fsnotify can not handle this.
https://stackoverflow.com/questions/54220143/how-to-get-notification-inside-an-application-in-kubernetes-when-configmaps-get/55029514#55029514

The root cause it that we check file after a event occur				valid := isValidCACertsFile(event.Name)


[Hub Generated] Publish private branch 'chrissmiller-devcenter-Microsoft.DevCenter-2023-01-01-preview'

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.

Link to engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

Design Document:
Previous Open API Doc:
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

The PR is created based on the updates in the private branch. The updates in the PR has already been reviewed and approved with this PR Azure/azure-rest-api-specs-pr/10832

PR is approved in private repo at https://github.com/Azure/azure-rest-api-specs-pr/pull/10832, and linting violations are justified there (SDK board ask + consistency with existing operationIds). Only diff between that PR and this one is the fix for a linting warning, which is providing "x-ms-long-running-operation-options" for all our POST LROs.

@anuchandy Please let us know if there are any issues we need to resolve. It looks like the breaking change crossversion error is due to an enum mismatch in LRO options (error is that "operation-location" is not a valid enum value). However, "operation-location" is specifically tagged as an option in the LRO option guidelines: https://github.com/Azure/autorest/blob/main/docs/extensions/readme.md#x-ms-long-running-operation-options. Let us know which we should be following here.

Hi @chrissmiller, Given this is approved by the API board members and the only commit after that was to improve the LRO, I'm merging this.


⚠ Bofrost.be has degraded performance

In f32ab28, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 947 ms

Resolved: Bofrost.be performance has improved in 624d5b6 after 20 minutes.


Hopeful

Coverage remained the same at 85.548% when pulling db1278c2992fc6eb87bd8dd614890b51113f2ae2 on wenzongteo:HOPEFUL into cf68ebfa5a8afd086cba2b5b855310f599a2d0c8 on CS2103AUG2017-W14-B2:master.


Where it clones

Hey Michenriksen,
I have read that it clones the repo somewhere for analyzing but I haven't found the path.
Please confirm where it clone the git repo for analyzing

@SaurabhDev it clones them to a dynamic temp directory and then cleans up when it is done. In the case of OSX it goes to /var/...


WIP - feat: Adding units-reading

Description
Fixes #3418.
Adds hooks to HCL functions that read files so that changes relevant to non-Terragrunt configuration files can be used to drive changes to the Terragrunt queue.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)
Added --terragrunt-queue-include-units-reading flag. When set, the flag will add any Unit that reads the file to the Terragrunt queue.

@denis256
This should be working now, but still happy to get input on implementation details, of course.
Still need to document. Will look to get to that soon.


Add metadata to a block

Query/Question
We have a need to store some metadata on the blocks while uploading them. Currently it looks like you can set metadata on the blob level but not at the block level. Is there a way to add metadata to the block while uploading them that you can pull down at a later stage?
Environment:

Name and version of the Library package used: Azure.Storage.Blobs 12.6.0
Hosting platform or OS and .NET runtime version: Windows 10 .NET Core 3.1.8
IDE and version : Visual Studio 16.7.5

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Hi,
This would be a feature request for the backend service.  We will take in under consideration, but it is unlikely this feature will be added in the near future.
-Sean


added detail on vulnerability severity for security scanning

What's changed

added clarification on how vulnerability scores are derived per user feedback

Reviewers
@rcplane @thaJeztah @venalen
Related issues (optional)
Fixes #3122

LGTM


NormalizeActionConfig error

Say, I have below schema
import { schema } from 'normalizr';

export class Foo {
	id: string;
}
// schema
export const fooSchema = new schema.Entity('foo');

And my api call returns a single object.
{
id: '1'
}

when I do a new AddData<Foo>({ data, fooSchema }) in my @Effect, I get below error.
Is this a version problem? I am on @ngrx/store 5.0.0
[ts]
Argument of type '{ data: Foo; fooSchema: Entity; }' is not assignable to parameter of type 'NormalizeActionConfig<Foo>'.
  Object literal may only specify known properties, and 'fooSchema' does not exist in type 'NormalizeActionConfig<Foo>'.

The compile time error if fixed by passing data as an array like below:
new AddData<Foo>({ data: [data], schema: fooSchema })

But AddData still doesn't populate the store. I tried SetData as well, but no luck. I added a success action after AddData as per the documentation and that success action is getting called executed. But in my reducer, state.normalized is still null. Please suggest.

I got it working. thanks.


Check dependencies of jobsub_lite RPM

When I tried to install the jobsub_lite RPM on a fresh node, I found that I had to install a number of other RPMs to make it work.  Add these as dependencies in the spec file.  Partial list includes:
voms-clients, globus-gssapi-gsi, osg-ca-certs, vo-client

Once we add the tracing stuff, the list of dependencies adds:
python3-opentelemetry-exporter-jaeger-thrift
and its 9 dependences...

We've solved this for 1.0, so we should review this in the near future.

I think this is done.  I'll check by installing the RPM on a fresh machine, and if it works (by pulling in all necessary dependencies), we'll call it done.

Confirmed that following the installation instructions here pulls in all the needed dependencies to install jobsub_lite and successfully submit a job.
https://fifewiki.fnal.gov/wiki/Jobsub_lite_Installation_Instructions


DPID imported from config is converted to decimal

The function import_config reads the DPID from the hw_switch_config.yaml and stores it in decimal.
But the function get_config_header attempts to read it as a hex and converts it to decimal again and writes it into the faucet.yaml file.

Fixed in https://github.com/anarkiwi/faucet/commit/4967c007cea17e1460d35e06e447c10067ebd977.


Support NodeJS 0.12

Coverage remained the same at 97.49% when pulling 99126ae913f63ba3b53db093f13105df4dd74bb9 on kuraga:support-nodejs-012-and-iojs into 1186cdcaad65054391c995b40f186eab598eb979 on Matt-Esch:master.

io.js fails: https://travis-ci.org/Matt-Esch/virtual-dom/jobs/57133430
Any ideas about it?

Coverage remained the same at 97.49% when pulling 18c9ddcfb6c25a9da75bfa10d84200336c7b025e on kuraga:support-nodejs-012-and-iojs into 1186cdcaad65054391c995b40f186eab598eb979 on Matt-Esch:master.

Coverage remained the same at 97.49% when pulling 18c9ddcfb6c25a9da75bfa10d84200336c7b025e on kuraga:support-nodejs-012-and-iojs into 1186cdcaad65054391c995b40f186eab598eb979 on Matt-Esch:master.

io.js fails: https://travis-ci.org/Matt-Esch/virtual-dom/jobs/57133430
Any ideas about it?

This is probably a bug in tap-spec (I've seen the same thing on windows and mac, but never linux). It's something to do with (a)sync writes with console.log vs fs.write(Sync).
Would be good to update tap-spec to latest to see if the bug has been fixed, if not I'd prefer a pr on tap-spec over removing it.

Should be solved in #225

merged #225


Source buckets with nested folder directories and large zip files fail  to scan

When testing a deployment of this construct, I tested the source bucket with 3 different configurations. 1 with a relatively large zip file (7.5 GB), 1 with a smaller zip file (1.5 GB), and then a nested structure of images (each image about 17kb).
The smaller (1.5 GB) zip files and individual images, when placed at the root of the bucket,  passed the scan.
The larger zip files and the nested structures returned the following errors respectively.....
[ERROR] FileNotFoundError: [Errno 2] No such file or directory: '7za'
Traceback (most recent call last):
  File "/var/lang/lib/python3.8/site-packages/aws_lambda_powertools/metrics/metrics.py", line 184, in decorate
    response = lambda_handler(event, context)
  File "/var/lang/lib/python3.8/site-packages/aws_lambda_powertools/logging/logger.py", line 347, in decorate
    return lambda_handler(event, context)
  File "/var/task/lambda.py", line 76, in lambda_handler
    expand_if_large_archive(
  File "/var/task/lambda.py", line 142, in expand_if_large_archive
    archive_summary = subprocess.run(
  File "/var/lang/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/var/lang/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/var/lang/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

[ERROR] FileNotFoundError: [Errno 2] No such file or directory: '/mnt/lambda/b0289808-bb0c-4d94-934f-d08e8c27ad2a/nestedfoldercheck/0000001.jpg.262a6F0b'
Traceback (most recent call last):
  File "/var/lang/lib/python3.8/site-packages/aws_lambda_powertools/metrics/metrics.py", line 184, in decorate
    response = lambda_handler(event, context)
  File "/var/lang/lib/python3.8/site-packages/aws_lambda_powertools/logging/logger.py", line 347, in decorate
    return lambda_handler(event, context)
  File "/var/task/lambda.py", line 75, in lambda_handler
    download_object(input_bucket, input_key, payload_path)
  File "/var/task/lambda.py", line 119, in download_object
    s3_resource.Bucket(input_bucket).download_file(
  File "/var/lang/lib/python3.8/site-packages/boto3/s3/inject.py", line 244, in bucket_download_file
    return self.meta.client.download_file(
  File "/var/lang/lib/python3.8/site-packages/boto3/s3/inject.py", line 170, in download_file
    return transfer.download_file(
  File "/var/lang/lib/python3.8/site-packages/boto3/s3/transfer.py", line 307, in download_file
    future.result()
  File "/var/lang/lib/python3.8/site-packages/s3transfer/futures.py", line 106, in result
    return self._coordinator.result()
  File "/var/lang/lib/python3.8/site-packages/s3transfer/futures.py", line 265, in result
    raise self._exception
  File "/var/lang/lib/python3.8/site-packages/s3transfer/tasks.py", line 126, in __call__
    return self._execute_main(kwargs)
  File "/var/lang/lib/python3.8/site-packages/s3transfer/tasks.py", line 150, in _execute_main
    return_value = self._main(**kwargs)
  File "/var/lang/lib/python3.8/site-packages/s3transfer/download.py", line 571, in _main
    fileobj.seek(offset)
  File "/var/lang/lib/python3.8/site-packages/s3transfer/utils.py", line 367, in seek
    self._open_if_needed()
  File "/var/lang/lib/python3.8/site-packages/s3transfer/utils.py", line 350, in _open_if_needed
    self._fileobj = self._open_function(self._filename, self._mode)
  File "/var/lang/lib/python3.8/site-packages/s3transfer/utils.py", line 261, in open
    return open(filename, mode)

It looks like there are 2 separate issues occurring.

Prefixes in S3 are not  properly processed
Large files are not properly processed

I'm going to close this issue in favor of creating 2 separate issues

closing in favor of #55 and #56


Added Filter_Search in Awesome-JavaScript-Projects/public

Related Issue
The project aims that it will have list of items/images and based on user filter it will display the item/image that corresponds
to required filter.
It will be easy for the user to have the content by filtering the items.
I will be displaying group of images and after applying filter, corresponding list of images will be display.
Closes: #[issue number that will be closed through this PR]
Issue Number: 297
Describe the changes you've made
I have added a new file name Filter_Search.html in Awesome-JavaScript-Projects/public.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[ x] My code follows the style guidelines of this project.
[x ] I have performed a self-review of my own code.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] I have made corresponding changes to the documentation.
[x ] New and existing unit tests pass locally with my changes.

Screenshots
The project  looks like:

@Maitryee-Choudhary Please pull the recent changes!

Done. Please have a look.

@Maitryee-Choudhary Please resolve the merge conflicts and tag me when you are done :)

@Maitryee-Choudhary Please resolve the merge conflicts and tag me when you are done :)

Done.Please have a look @urvashi-code1255

@Maitryee-Choudhary

@Maitryee-Choudhary

Done.Now it is correct?

Yes please separate the css/js/html

@Maitryee-Choudhary any updates?

@Maitryee-Choudhary any updates?

Yes done.

@Maitryee-Choudhary Looks like you haven't added the project to script.js. Please add the file to script.js.
Also don't make gif or image of bigger size, compress it please.

Is it correct now? I have added the script.js.

Fix the gif.

Also lot of projects were removed from script.js add them too please.

@Maitryee-Choudhary any updates?

@Maitryee-Choudhary Please Update this PR, as GSSOC is going to end !!


'IBMQBackend' object has no attribute 'transpile'

I tried to use your notebook file "tutorial_aqcel". When I run all cell, the code below
aqcel_results_cc = icepp.pass_manager(test, level=2, backend=backend, backend_tket=dev_b, shots=1024, measure_type='cc').auto_manager()
gives the error mentioned below
-----> 'IBMQBackend' object has no attribute 'transpile'
Seems like there is a problem in the source code
`def transpile(self):
    if self.level != 0:
        qc = transpile(self.qc, basis_gates=['id','x','sx','rz','cx','reset'])
        tket_qc = qiskit_to_tk(qc)
        # self.backend_tket.compile_circuit(tket_qc, optimisation_level=2)
        self.aer_compiler.compile_circuit(tket_qc, optimisation_level=2)

        qc = tk_to_qiskit(tket_qc)
    else:
        qc = self.qc

    transpiled_qc = transpile(circuits=qc, backend=self.backend, basis_gates=None, seed_transpiler=1, optimization_level=self.level)

    return transpiled_qc`

line self.backend_tket.compile_circuit(tket_qc, optimisation_level=2) gives the above mentioned error. Can you help to resolve the issue?
My qiskit version is
{'qiskit-terra': '0.18.3', 'qiskit-aer': '0.9.1', 'qiskit-ignis': '0.6.0', 'qiskit-ibmq-provider': '0.18.1', 'qiskit-aqua': '0.9.5', 'qiskit': '0.32.1', 'qiskit-nature': None, 'qiskit-finance': None, 'qiskit-optimization': None, 'qiskit-machine-learning': None}

Hi, I need more information about that bug. In my side, the same tutorial works.

Did you add 'self.aer_compiler.compile_circuit(tket_qc, optimisation_level=2)' by yourself? I cannot find such a line in an original source code. (Maybe  "self.backend_tket.compile_circuit(tket_qc, optimisation_level=2)" was commented out.
It seems the bugs came from the tket compiler. How about the version of pytket and pytket-qiskit?

In the original code, transpile functions is ↓
def transpile(self):
    if self.level != 0:
        qc = transpile(self.qc, basis_gates=['id','x','sx','rz','cx','reset'])
        tket_qc = qiskit_to_tk(qc)
        self.backend_tket.compile_circuit(tket_qc, optimisation_level=2)
        qc = tk_to_qiskit(tket_qc)
    else:
        qc = self.qc

    transpiled_qc = transpile(circuits=qc, backend=self.backend, basis_gates=None, seed_transpiler=1, optimization_level=self.level)

    return transpiled_qc

I met exactly the same question, and I guess the issue is about the package versions. Could you send yours such that we can install the correct packages?


Blurhash package is missing.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
1 Run npm run start after npm install
Expected behavior
Application should start fine.
Current behavior

Missing package blurhash is missing
Dependency of react-blurhash

Im working on this one @dkhd

Closing this issue


MemGPT code is AAA+ unfortunately I cannot get it to work (no matter which LLM I try I cannot get it to work reliably)

Hi MemGPT Team,
Thank you for such a high quality codebase I'm pretty confident that, as LLMs will improve, MemGPT will become the "standard" between all products of its kind.
I would recommend MemGPT team to put in place a webpage similar with
https://aider.chat/docs/leaderboards/
where people would immediately see (and with high confidence) what kind of quality to expect from any of the available LLMs.
I want to ask the community if you were able to get MemGPT working in a "day to day" kind of way and, if yes, which LLMs are you using with and for which kind of scenario? (how long is your "persona" prompt? do you have instructions for the LLM to follow in your persona? How many? Are you using custom tools, if you are using custom tools how many and how complex?) If you are using "day to day" does MemGPT/LLM flawlesly work or you are used to see "stacktraces" and when you get a stacktrace you just click "run again" and it works next time?
I'm very curious to understand how (and if) people are using MemGPT.
I want to say that, with my own AI projects, I understood (before MemGPT) that it is incredible difficult to make LLMs to follow instructions no matter how well crafted and clear the prompt instructions are and it becomes even more difficult when the number of instructions to follow by the LLM increase and when you combine this situation with "function calling" ability of LLMs (where you can also have LLM to call functions and, similarly with instructions, the more functions you add the more confused the LLM becomes) => it becomes a very difficult problem, with the current ability of LLMs, to get anything more that "hello world" working. Even when the LLMs will follow the instructions the first time for the next two requests will not and will get a stacktrace (for anything more than "hello world").
Because of that I'm pretty sure what I will describe below it is happening because what the LLMs are (not) capable now and not because of MemGPT (which I already said has very well crafted source code).
I tried MemGPT two times the first time 6 months ago and gave up because for 90% of requests I was getting stacktraces and 10% of requests were working.  For the past few days I tried again MemGPT and this time I also got familiar with the codebase. The situation is the same like 6 months ago.
With anthropic claude sonnet I could not get anything working.
With openai's gpt-4-1106-preview (which is advertised as 'featuring improved instruction following, JSON mode, reproducible outputs') I am able (from time to time) to get some requests processed but only when I start with   --first --no-verify - even so subsequent requests starts to fail and cannot recover. I also tried other openai models and I could not get any to work.
Here is how I create my agent.
import os
import sys

# Determine the base directory two levels up from the current script
base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))

# Add the path to the memgpt package
memgpt_path = os.path.join(base_dir, 'bkend-core-python', 'MemGPT')
sys.path.append(memgpt_path)

from memgpt import create_client
from memgpt.memory import ChatMemory
from memgpt.data_types import LLMConfig

from memgpt.functions.function_sets.extras import workspace_list_files, read_file_content, write_file_content, ctrl_c, ctrl_v

def main():
    # Create a `LocalClient`
    client = create_client()

    agent_name = "Ada"

    # Check if the agent already exists
    existing_agents = client.list_agents()
    ada_agent = next((agent for agent in existing_agents if agent.name == agent_name), None)

    if ada_agent is None:
        """Load text content from a file."""
        script_dir = os.path.dirname(os.path.abspath(__file__))
        parent_script_dir = os.path.dirname(script_dir)
        persona_file_path = os.path.join(script_dir, "persona_ada.txt")
        human_file_path = os.path.join(f"{parent_script_dir}/humans", "john.txt")

        with open(persona_file_path, 'r', encoding='utf-8') as file:
            persona_content = file.read().strip()

        with open(human_file_path, 'r', encoding='utf-8') as file:
            human_content = file.read().strip()

        persona_content = persona_content.replace("{workspace_folder_path}", os.path.join(script_dir, "workspace"))
        #print(f"human_content: {human_content}\npersona_content {persona_content}")

        # Create custom memory with the persona and human
        memory_ada = ChatMemory(persona=persona_content, human=human_content)

        # Create custom tools

        # recreate tools from scratch
        client.delete_tool('ada_simple_tool')
        client.delete_tool('ada_workspace_list_files')
        client.delete_tool('workspace_list_files')
        client.delete_tool('read_from_text_file')
        client.delete_tool('read_file_content')
        client.delete_tool('write_file_content')
        client.delete_tool('ctrl_c')
        client.delete_tool('ctrl_v')

        client.create_tool(workspace_list_files, name="workspace_list_files")
        client.create_tool(read_file_content, name="read_file_content")
        client.create_tool(write_file_content, name="write_file_content")
        client.create_tool(ctrl_c, name="ctrl_c")
        client.create_tool(ctrl_v, name="ctrl_v")

        # Define the LLM configuration for the gpt-4o-2024-08-06 model
        llm_config = LLMConfig(
            #o1-preview (rate limited not usable)
            #o1-mini (rate limited not usable)
            #gpt-4o-2024-08-06 (TOP model #2)
            #gpt-4-1106-preview (TOP model #1)
            #claude-3-sonnet-20240229
            model="claude-3-sonnet-20240229",
            #model_endpoint="https://api.openai.com/v1",
            model_endpoint="https://api.anthropic.com/v1",
            #model_endpoint_type="openai",
            model_endpoint_type="anthropic",
            #context_window=16384, #openai
            context_window=200000 #anthropic
        )

        # Create an agent
        ada_agent = client.create_agent(
            llm_config=llm_config,
            name="Ada",
            memory=memory_ada,
            system_prompt="memgpt_chat",
            tools=['workspace_list_files'],
            #include_base_tools=False,
        )

        print(f"Created (agent) {ada_agent.name} with ID {str(ada_agent.id)}")
    else:
        print(f"Nothing to do because (agent) {ada_agent.name} already exists.")

    # Retrieve and print memory information
    memory_info = client.get_agent_memory(agent_id=ada_agent.id)
    print(f"Agent Persona: {memory_info.core_memory.persona}")
    print(f"Agent Human: {memory_info.core_memory.human}")

if __name__ == "__main__":
   main()

There is no point in attaching here long stacktraces. I pretty confident I have the setup/configuration correctly done.

Can you try again with 0.5.0? There should be a lot of bugfixes to the configuration for LLMs and embedding models now. Please re-open if you are still having issues.

I have been facing similar issues with claude sonnet. The "decision making" part of managing memory and tools seem to be quite unusable in the sense it cannot decide when and which functions to call. Once I tell it to update and fetch from core/archive memory it does it but that becomes less practical somehow for most usecases
Would be great if you guys can share some benchmarks and also best practices around making it work
@distributev have you given it a try more recently?

@shivamatfigr From the MemGPT perspective I got pretty good results with gpt4o-mini which has also a very good price. As a basic assistant it works well - it still gives some stacktraces here and there related with memory updating but it is for sure usable (not like the other LLMs which I could not get them to work at all)
gpt4o-mini comes 5th on this leaderboard and notice the pricing also (vs other LLMs in the top - which anyway I could not get
them to work with MemGPT)
https://gorilla.cs.berkeley.edu/leaderboard.html
This leaderboard make sense for MemGPT because it tests the LLMs which are good at "function calling" - what MemGPT needs
the most.
As a basic assistant to keep your TODOs gpt4o-mini would work.
The limitation is that .... it is gpt4o-mini so you cannot do much more than "keeping your TODOs"
I tried to overcome this by giving gpt4o-mini tools to use when its limits are reached. One tool I gave it was "another smarter LLM to call using a command line interface" - interesting to play with but the system becomes too complex, prone to errors and a rabbit hole.
gpt4o-mini does not realize for itself "I'm too stupid for this, let's use the LLM cli tool to ask the other smarter LLM" I need to explicitly tell it "now use your LLM cli tool and ask Claude Sonnet" - which defeats the purpose.

@distributev quick question as we're looking into this - does gpt4o more reliably use the memory tools?

Most of my testing I described above was done before the MemGPT to Letta project name change.
At that time I could get only gpt4o-mini working
gtp4o (directly from openai), claude sonnet (directly from anthropic), llama and few other LLMs from open router were well unusable and failing with the same stacktrace generated by the memory functions tools which MemGPT is usising.
gtp4o-mini was the only model I could get working.
I tried letta once and it is working the same with gtp4o-mini but I did not re-tried letta with all the LLMs which
were failing before the project name change.


map builder prioritization

Changed so that if more than one qualifying map file exists in a the mapspec.source folder, get_road_map() in default_map_builder.py will prefer to return the default files (map.net.xml or map.xodr) if they exist.

I would recommend doing a similar change in cli/studio.py where we build the scenarios.

OK, good call.  Done.  (Cleanup there was urgently needed.)
Although now this PR is considerably bigger!  ;)
(... and I guess I'd better change the name and description too!)


WIP: Add fns to create Endpoints/Clusters CRDs

Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

I think you guys are duplicating work: https://github.com/submariner-io/submariner-operator/pull/14
I like how @skitt builds the structures, although the comments here also apply there.

I think you guys are duplicating work: #14
I like how @skitt builds the structures, although the comments here also apply there.

As we clarified on IRC, @skitt's #14 was supposed to be based on his cherry-pick of my subctl patch (#13), but I kept working on that here and broke the base unknowingly. Now I think it's better to just merge #14 and send smaller PRs for future steps. I'll close this to help clarify.

It bothers me somewhat that your work on this gets left out, @dfarrell07, but I thought that since I had it working in my version, it was simpler to push that rather than review this, applying the things I’d learned in parallel. I’ll add some notes in review here of non-obvious aspects you might find interesting.


enabled capability to interact with rmfakecloud cloud servers

This PR adds the capability to check for other (well-configured) cloud servers.
One the first run the user is prompted for the server URL. Default is the official remarkable cloud.
Once that has been set everything continues as usual, the user must provide a one-time-code, etc.
From a technical perspective a few things have changed: all the constants in const.py like DEVICE_TOKEN_URL were split up into DEFAULT_TOKEN_SERVER_URL and DEVICE_TOKEN_PATH.
The api.py now uses self.config['device_token_url'] instead of DEVICE_TOKEN_URL. The value of these values is calculated after the initial prompt for the server url and saved in the config file (e.g. $HOME/.config/rmcl/config.json).
Analogously USER_TOKEN_URL and SERVICE_MGR_URL where split up, calculated and put into the config dict.
It might not be the most elegant solution, but it works for me (tested with rmfakecloud and the official cloud)

Note that well-configured rmfakecloud server means that it must configure STORAGE_HOST properly to the server host name. See https://github.com/ddvk/rmfakecloud/pr/161 or https://github.com/ddvk/rmfakecloud/issues/162.
Otherwise one must modify the /etc/hosts of the computer running rmcl and place the appropriate ca.crt on there as well.

Ah yes, it fixes https://github.com/rschroll/rmcl/pull/8 as well until reMarkable™ decides to change it yet again.


Fix GDscript

Fixes: #881

It is actually called GDScript

Done ☑

Fixed https://github.com/leachim6/hello-world/commit/508d4f483bf8dd6f4f8807a78afbba26c71e79fd