metadata.tools not merged correctly when one SBOM uses legacy format and the other uses the newer format

I have 2 SBOM files. One created with cyclonedx-maven-plugin
{
  "bomFormat" : "CycloneDX",
  "specVersion" : "1.6",
  "metadata" : {
    "tools" : {
      "components" : [
        {
          "type" : "library",
          "author" : "OWASP Foundation",
          "group" : "org.cyclonedx",
          "name" : "cyclonedx-maven-plugin",
          "version" : "2.9.0",
          "description" : "CycloneDX Maven plugin",
          "hashes" : [
            {
              "alg" : "MD5",
              "content" : "dfaeab7ec837ce07874e2ee66fdc57d3"
            },
            {
              "alg" : "SHA-1",
              "content" : "8bab47bafc8183d0a5f37790ff55ed05ead1ae2d"
            },
            {
              "alg" : "SHA-256",
              "content" : "67117e03eae4a03ca8bab3add044995f4899aa21798a2510b8265ef8101e90ac"
            },
            {
              "alg" : "SHA-512",
              "content" : "ae6b706516bb76da806b7854aef9e348fa593f5159ae9d693ad38942165c0ebc0846d977a477f6029612d43468fd2cd73a5aa253c228a94fb8d184e0acefc3d2"
            },
            {
              "alg" : "SHA-384",
              "content" : "ee872354d8b0dcd6f9835a913b3aaba70d9365a46043be78020183282a1e9fca812e969246cbe31d642541591b46648b"
            },
            {
              "alg" : "SHA3-384",
              "content" : "e5167f9e7ceba3b7b4d1900c404543907868745334bedc69cdf79c271727148413033a3b1426b733b7549e612e44adee"
            },
            {
              "alg" : "SHA3-256",
              "content" : "41fc0bc2275f354e2c7da01041ce73ce677364799cba53920a180aa5d4571c63"
            },
            {
              "alg" : "SHA3-512",
              "content" : "ed7f97900b09b818dbc0b8a23c00a2843e1bc34e2e8eb5b6df52533af0a15b721de6f7d5c2fd9352b8d4fde768e080053b40a16f0f9f04c336fe9b44abe83fc0"
            }
          ]
        }
      ]
    }
  }
}

and one created with @cyclonedx/cyclonedx-npm
{
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "metadata": {
    "tools": [
      {
        "name": "npm",
        "version": "10.8.2"
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-npm",
        "version": "1.19.3",
        "externalReferences": [
          {
            "url": "git+https://github.com/CycloneDX/cyclonedx-node-npm.git",
            "type": "vcs",
            "comment": "as detected from PackageJson property \"repository.url\""
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-node-npm#readme",
            "type": "website",
            "comment": "as detected from PackageJson property \"homepage\""
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues",
            "type": "issue-tracker",
            "comment": "as detected from PackageJson property \"bugs.url\""
          }
        ]
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-library",
        "version": "6.11.0",
        "externalReferences": [
          {
            "url": "git+https://github.com/CycloneDX/cyclonedx-javascript-library.git",
            "type": "vcs",
            "comment": "as detected from PackageJson property \"repository.url\""
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-javascript-library#readme",
            "type": "website",
            "comment": "as detected from PackageJson property \"homepage\""
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-javascript-library/issues",
            "type": "issue-tracker",
            "comment": "as detected from PackageJson property \"bugs.url\""
          }
        ]
      }
    ]
  }
}

(I removed irrelevant parts for readability).
cyclonedx-maven-plugin creates an SBOM that uses the newer format for the metadata.tools field, @cyclonedx/cyclonedx-npm creates one that uses the legacy format.
If I try to merge these two SBOMs, only the tools in the legacy format are included in the result:
cyclonedx-cli merge --input-files maven-sbom.json npm-sbom.json --output-format json > merged-sbom.json

{
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "metadata": {
    "tools": [
      {
        "name": "npm",
        "version": "10.8.2"
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-npm",
        "version": "1.19.3",
        "externalReferences": [
          {
            "url": "git\u002Bhttps://github.com/CycloneDX/cyclonedx-node-npm.git",
            "type": "vcs",
            "comment": "as detected from PackageJson property \u0022repository.url\u0022"
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-node-npm#readme",
            "type": "website",
            "comment": "as detected from PackageJson property \u0022homepage\u0022"
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues",
            "type": "issue-tracker",
            "comment": "as detected from PackageJson property \u0022bugs.url\u0022"
          }
        ]
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-library",
        "version": "6.11.0",
        "externalReferences": [
          {
            "url": "git\u002Bhttps://github.com/CycloneDX/cyclonedx-javascript-library.git",
            "type": "vcs",
            "comment": "as detected from PackageJson property \u0022repository.url\u0022"
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-javascript-library#readme",
            "type": "website",
            "comment": "as detected from PackageJson property \u0022homepage\u0022"
          },
          {
            "url": "https://github.com/CycloneDX/cyclonedx-javascript-library/issues",
            "type": "issue-tracker",
            "comment": "as detected from PackageJson property \u0022bugs.url\u0022"
          }
        ]
      }
    ]
  }
}

The order of the input files did not matter

@WIStudent I can see why this is happening, but I'm not sure what is the best way is to resolve it.
Here is the rough summary:

The data-model (ToolChoices) is capable of holding both legacy tools as well as tool components/services. https://github.com/CycloneDX/cyclonedx-dotnet-library/blob/main/src/CycloneDX.Core/Models/ToolChoices.cs
When writing out the data, we can't write out both of them in order to not violate the specification. https://github.com/CycloneDX/cyclonedx-dotnet-library/blob/main/src/CycloneDX.Core/Json/Converters/ToolChoicesConverter.cs
There is no explicit migration logic (on deserialization). Instead the library always works with the latest specification, and only before writing out in a particular format, it performs some adjustments (like dropping some unsupported members). https://github.com/CycloneDX/cyclonedx-dotnet-library/blob/main/src/CycloneDX.Core/BomUtils.cs#L49

As a side-note, I think the xml serialization will write out both variants (and thus violate the specs).

It is a tricky problem because an automatic conversion between the legacy format and the new format would require making some assumptions. One solution could be to let the user choose a tools-merging-strategy:

error: This throws an error when the input SBOMs contain different tool formats. It is up to the user to ensure that the input SBOMs all use the same tool format. This should be the default in my opinion.
drop-new-format: If multiple formats are present, only export the legacy format tools and print a warning that some tools were dropped. This is the behavior we currently see in the JSON export.
drop-legacy-format: If multiple formats are present, only export the tools using the new format and print a warning that some legacy tools were dropped
automatic-conversion: Use some assumptions to convert all tools to the new or legacy format (depending on the output spec version).

Another solution would be to only implement the error strategy without giving the user a choise. This would at least ensure that the merged SBOM is not incomplete or invalid.
In my case I have a Java Spring application that uses npm dependencies for parts of its frontend. I am using cyclonedx-maven-plugin and @cyclonedx/cyclonedx-npm to collect the maven and npm dependencies. @cyclonedx/cyclonedx-npm can handle v1.6 but currently only produces SBOMs using the legacy tool format. cyclonedx-maven-plugin on the other hand uses the new format if the output spec version supports it. Instead of using cyclonedx-cli merge I ended up writing my own custom maven plugin for my specific merging needs using cyclonedx-core-java. For now It merges the tools by requiring that all input SBOMs use the legacy tool format.


chore: bump react-colyseus deps

@JustinBeckwith even though CI is working it looks like things in this PR are borked until we update vite as well. There's a weird dep issue with httpie which is resolved with the latest vite version

this is why I don't merge other folks PRs 😆  I'm curious why CI didn't capture the problem?

Just an FYI for this, updating colyseus has multiple breaking changes. I encountered this in my own project based on Discord's example. It may require a bit of a refactor on the example for it to work properly.
The changelogs from Colyseus are basically non-existent about it and very frustrating to figure out what changed and why it broke.

Just an FYI for this, updating colyseus has multiple breaking changes. I encountered this in my own project based on Discord's example. It may require a bit of a refactor on the example for it to work properly. The changelogs from Colyseus are basically non-existent about it and very frustrating to figure out what changed and why it broke.

Thanks for the heads up. @MatthewSH do you have a working example we could reference?

Just an FYI for this, updating colyseus has multiple breaking changes. I encountered this in my own project based on Discord's example. It may require a bit of a refactor on the example for it to work properly. The changelogs from Colyseus are basically non-existent about it and very frustrating to figure out what changed and why it broke.

Thanks for the heads up. @MatthewSH do you have a working example we could reference?

I do not have a public one at the moment @matthova. I also rewrote the example using Colyseus's example of using like the app.config.ts and letting them handle setting up express so a bit more "hands-off" then the example provided here.
To be honest, I've been itchin' to rewrite the example anyway using fully upgraded deps and some deployment examples.


Mini map doesn't work probally

Hi, if you use client with mini map its doesn't show your real place
try using :
http://ogar.mivabe.nl?ip=<IP_ADDRESS>:50000
Or your own client with minimap script
for your multiogar demo servers :
http://ogar.mivabe.nl/?ip=<IP_ADDRESS>:600
http://ogar.mivabe.nl/?ip=vps.simonorj.com:24270
Thank you !

Set serverScrambleCoords to 0 in the config.

@Influxx i tried both 0 and 2, same problem

The border structure changed with commit https://github.com/Barbosik/MultiOgar/commit/80be17e5f7fe0e97ba42bab287c750ae2a9f08f7
You will need to update the client to account for it.

ogar.mivabe.nl has some mistakes in border bound calculations for minimap. So it needs to be fixed.
ogar.mivabel.nl calculates border size incorrectly for minimap, so it cannot show minimap properly even with serverScrambleCoords = 0.

It was working with me fine with ogar, and ogarserv.
and i tried about 5 minimaps, all of them have same problems

it was worked because ogar and ogarserv using shifted border. It's incorrect.

i have this minimap, could you change it for me becouse i got confused what to changed
		var pointSize = 5;
		var mapx = 10 + (nodeX/rightPos)*100 - pointSize*0.5;
		var mapy = 80 + (nodeY/bottomPos)*100 - pointSize*0.5;

		ctx.globalAlpha = .4;
		if ( showDarkTheme==true ){
			ctx.fillStyle = "#DDDDDD";
		}else{
			ctx.fillStyle = "#000000";
		}
		ctx.fillRect(10, 80, 100, 100);

		ctx.globalAlpha = 1;
		if ( showDarkTheme==true ){
			ctx.fillStyle = '#FFFFFF';
		}else{
			ctx.fillStyle = '#112233';
		}
		ctx.fillRect(mapx,mapy,pointSize,pointSize);
		ctx.globalAlpha = 1;
		ctx.font = "16px Ubuntu";
		ctx.fillText(Math.round(nodeX/1000)+' , '+Math.round(nodeY/1000), 10, 200);

this code is incomplete. You can use code from this script: https://greasyfork.org/en/scripts/13140-secret-agario-script/code
window.mini_map - canvas to render minimap
window.mini_map_tokens - it's cells info, each token consists of x, y and size for cell
function miniMapRender() {
        var canvas = window.mini_map;
        var ctx = canvas.getContext('2d');
        ctx.clearRect(0, 0, canvas.width, canvas.height);
        for (var id in window.mini_map_tokens) {
            var token = window.mini_map_tokens[id];
            var x = token.x * canvas.width;
            var y = token.y * canvas.height;
            var size = token.size * canvas.width;

            ctx.beginPath();
            ctx.arc(
                x,
                y,
                size,
                0,
                2 * Math.PI,
                false
            );
            ctx.closePath();
            ctx.fillStyle = token.color;
            ctx.fill();

            if (options.enableCross && -1 != current_cell_ids.indexOf(token.id))
                miniMapDrawCross(token.x, token.y, token.color);

            if (options.enableAxes && -1 != current_cell_ids.indexOf(token.id))
                miniMapDrawMiddleCross()

            if (id_players[id] !== undefined) {
                // Draw you party member's crosshair
                if (options.enableCross) {
                    miniMapDrawCross(token.x, token.y, token.color);
                }

                ctx.font = size * 2 + 'px Arial';
                ctx.textAlign = 'center';
                ctx.textBaseline = 'middle';
                ctx.fillStyle = 'black';
                ctx.fillText(id_players[id] + 1, x, y);
            }
        };
    }

Hmm, i still have the problem
could you see the full code here : http://3rb.io/gr.js
and the problem here http://3rb.io server name TEST SERVER
sorry about that, i really need your help :(

Yes thats solved it, Thank you <3


error doing npm install

Hi @Gozala, how are you?
I try to install this module through npm but I'm getting an error because the babel module is missing.
I understand that you are building the project using the npm script install but could be possible to publish the build in npm?
This is the error with npm v6.4.1
><EMAIL_ADDRESS>build:node /home/tincho/Downloads/test-idb/node_modules/random-access-idb-mutable-file
> babel --out-dir lib src

sh: babel: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>build:node: `babel --out-dir lib src`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:node script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

@tinchoz49 It's strange that it's failing given that it's seems to do fine on CI https://travis-ci.org/Gozala/random-access-idb-mutable-file I wonder if that somehow due to differences between yarn and npm.

could be possible to publish the build in npm?

In fact build is published in NPM: https://unpkg.com/random-access-idb-mutable-file

Also consider using https://github.com/random-access-storage/random-access-idb-mutable-file instead as that's canonical version

Also looking at the devDependencies I see that babel-cli is there (which is what adds babel command):
https://github.com/Gozala/random-access-idb-mutable-file/blob/f0072cd27e2184b7f21b35661d2b9fcec7924c68/package.json#L16-L18
Which leads me to believe some issue might be on your end

Hi @Gozala thanks for the quick response.
Yes, I had to use the unpkg and take the build from there.
He CI is working because is testing the source project and when it runs the build already did a npm ci with all the dev dependencies.
Can you check if this case works for you?

start a new project
npm install random-access-idb-mutable-file

btw This is really great, the performance of this random-access using IDBMutableFile is really good I can believe that this is IndexedDB behind.


PB-870 document mask module

References

PB-870

Summary

add module level documentation
update struct and method documentation

note that this requires cargo +nightly doc to generate proper internal links, which is not an issue since this is supported by the hosted rust docs as well.

The one thing I noticed is that everything is using the third person. I have been using the imperative form in my own documentation effort so we should agree on something with @Robert-Steiner and @finiteprods on that matter.

i added a ticket for this to the backlog.


Make INTO- and FROM- functions sync and async depends on callback parameter at alasql() call

Now in browser calls to FROM- and INTO-functions are async only, but XMLHttpRequest supports can be sync as well. In the other hand Node.js calls all are sync (readFileSync), but can be async:
     var resSync = alasql('SELECT * FROM CSV("mydata.csv")')',[],function(resAsync){
          console.log(resAsync);
     });
     console.log(resSync);

Fixed in version 0.0.36


load en-us generate cache for India

Quick fix for India web vitals, but we need to go over this table to make sure our locales match what's in generate-cache

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4bbd159) 99.03% compared to head (79d1ede) 99.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage     #515   +/-   ##
=======================================
  Coverage   99.03%   99.03%
=======================================
  Files          26       26
  Lines        2907     2907
=======================================
  Hits         2879     2879
  Misses         28       28

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


Debugger stops correctly then hangs the service tier

When using the Daily Build and attempting to use the debugger, the breakpoint is hit correctly, however when attempting to F11, step into the code, the debugger might proceed between 1 to 5 steps and then never stop again. The service tier stops responding and requires a restart to allow any client to connect again. I tried to isolate this to an issue with my machine, however a colleague managed to achieve the same issue using the repro steps outlined below.
To reproduce this issue, download the daily build (AU Version), open a new Hello World project and put a loop from 1 to 50 in the OnOpenPage trigger. Apply a breakpoint to the start of the loop and deploy the extension and debug. The breakpoint will be hit, pressing F11 will continue between 1 to 5 times and then the debugger stops responding and no client can connect until the service tier is restarted.
The expected behaviour is as per the Current Build which does not have this issue. The debugger halts in the breakpoint, and pressing F11 steps through the code, pressing F5 continues processing and completes correctly and the client displays the page.
By analysing the difference between the event logs of the working Current Build and the broken Daily Build the only difference seen is the signalr attempts to negotiate where the Current Build seems to skip this step and just goes straight to the start request. This issue has been present about 3 weeks. Prior to that the Daily Build debugger worked as expected.
One further thing observed trying to isolate this issue. If you start the Windows Client and leave it open, then start debugging the Web client, the issue behaves differently. The debugger will step through the code a few times, and then appear to hang. It generally will come back after a few seconds, up to 10 or 15 seconds at worst. If however when it has appeared to hang, you click on a list (any list) in the Windows Client to force the Windows client to query the database, the debugger returns control immediately to VS code, ready for the next F11. I have no explanation for why it does this, just an observation. If you then close the Windows client and attempt to start a new debug session, the system hangs completely requiring a service restart. This is a reproducible observation.
Any assistance would be appreciated, this is very frustrating.
AL Language Version: 2.1.100277
BC Version: 14.0.28773.0-AU

Thanks for the detailed analysis.

Sorry I am not a SQL guy, so have no idea how to run SQL analytics, but if you guide me through it I can probably turn it on for you and send you what you need. Yes my build does support Ctrl+Shift+F5 and I tried that and got the exact same issue as a normal Debug.
I have managed to try this on a later version. AL: 3.1.102444, BC: 14.0.28831 but it exhibits the same issue. Of note is that a different colleague does not seem to have this issue with the same build, so there is clearly something triggering this that is on some machines but not others. The current test case, has a clean Server 2019, with SQL 2017, VS Code and a NAV install and it is showing the problem, as is the Daily Build docker download. The Install version is using Windows Authentication whilst Docker is using UserPassword, so even the authentication method is different.
I have attached the event log from the time I started debugging to when I had to shutdown the service because it had stopped responding, but there is not a lot in there. I have also included a video showing the issue so you can see it in action, there is clearly a link between the Windows client and the debugger. But returning control to the debugger, only works if you do something in the Windows client that causes it to query the database.
Files.zip

Thanks for the input. I think what you see is by design. You were trying to access records on the Windows client, while  a debugging session was going on. It is true that the session debugged belongs to the webclient, but you have probably locked a record used by both. While you are debugging a session, and others are using the same server these kind of things can happen. The probability is higher if using the RTC client in correlation with the VsCode debugger, where response time is much faster.
But I will investigate further what can be done. Even if the Windows client is now reaching the retirement age.

I only mentioned the Windows client out of curiosity, it does not change the initial problem. Developing and using only the Web Client, and not having the Windows client open at all causes the debugger to hang. So the fundamental problem is developing for BC on the latest builds seems to be hanging. I would be very happy to drop the Windows client altogether but at the moment it is the only way I can continue developing for the Web client and maintain the debugger responsiveness.

How many cores where you are running the service? Initially i was runing with 2 after i upgrade the VM to 4 stop having that issue.

The CPU Core issue is a known issue that will be fixed in the next update.
Details/workaround here:
https://freddysblog.com/2019/06/03/debugging-hangs-in-business-central-spring-2019-rtm-and-cu1/

Yes I can confirm that upping my cores to 4 fixed the problem immediately, thanks for the tip it lets me use the workaround until a permanent fix is released.


Ensure python version is 3.11 when installing aiida

Need to ensure that python version is not greater than v3.11 for aiida installation, replace
mamba create --name aiida-2.4.0 -c conda-forge aiida-core=2.4.0 aiida-core.services=2.4.0
with
mamba create --name aiida-2.4.0 -c conda-forge aiida-core=2.4.0 aiida-core.services=2.4.0 python=3.11
in https://aiida-gromacs.readthedocs.io/en/latest/user_guide/installation.html#options-for-aiida-installation

Should be 3.11.0 not 3.11


[Docs] Updated emojis

There are a couple of issues here.

The img tag is being wrapped in an a tag. One way is to set href to # (which I've done).

When using the actual emoji, it is being replaced by an g-emoji element, which has its own styles plus it sets the height and width to '1rem'.

TLDR: The position and size is not absolutely same as the emoji.
Resolves #321

Hey @mfaheemakhtar - no worries, this isn't about being pixel-perfect!
This looks pretty good to me - thank you very much for your contribution and the work you put into this 👍
Cheers 🍻


Out of memory when launching liquibase command “dropAllForeignKey”

Description
I'm running the liquibase command "dropAllForeignKey" on Sybase database with more than 12000 tables and more than 380000 columns. I'm getting an out of memory exception since liquibase code is trying to query all the columns in the data base.
The JVM is launched with : -Xms64M -Xmx512M (if I increase it to 5GO it'll work but I don't see why we have to query all the columns in the data base)
The script I'm using :

When I checked liquibase code I found that:
In DropAllForeignKeyConstraintsChange: we create a snapshot for the table mentioned in the xml
Table target = SnapshotGeneratorFactory.getInstance().createSnapshot( new Table(catalogAndSchema.getCatalogName(), catalogAndSchema.getSchemaName(), database.correctObjectName(getBaseTableName(), Table.class)) , database);
In JdbcDatabaseSnapshot: when we call getColumns, we call the bulkFetchQuery() instead of fastFetchQuery() because the table is neither "DatabaseChangeLogTableName" nor "DatabaseChangeLogLockTableName". In this case, the bulkFetchQuery does not filter on the table given in the dropAllForeignKey xml. Instead, it uses SQL_FILTER_MATCH_ALL, so it'll retrieve all the columns in the database. (It already takes time to query all the columns)
In ColumnMapRowMapper: for each table, we create a LinkedHashMap with size aqual to the number of columns. And here, I'm getting the out of memory
Is it normal that we query all the column when dropping all the foreign keys for a given table? If it's the case, why we need to do it and is there a solution for my problem without increasing the size of the JVM?
PS: There is another command called dropForeignKey to drop the forign key but it needs the name of the foreign key as an input and I don't have it. In fact, I can find the name of the foreign key for a given data base, but I'm running this command on different data bases and the name of the foreign key changes from one to another and I need to have a generic liquibase change. So, I can't use dropForeignKey and I need to use dropAllForeignKey.
Here the stack:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.LinkedHashMap.newNode(LinkedHashMap.java:256)
at java.base/java.util.HashMap.putVal(HashMap.java:637)
at java.base/java.util.HashMap.put(HashMap.java:607)
at liquibase.executor.jvm.ColumnMapRowMapper.mapRow(ColumnMapRowMapper.java:35)
at liquibase.executor.jvm.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:72)
at liquibase.snapshot.ResultSetCache$ResultSetExtractor.extract(ResultSetCache.java:297)
at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$3.extract(JdbcDatabaseSnapshot.java:774)
at liquibase.snapshot.ResultSetCache$ResultSetExtractor.extract(ResultSetCache.java:288)
at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$3.bulkFetchQuery(JdbcDatabaseSnapshot.java:606)
at liquibase.snapshot.ResultSetCache$SingleResultSetExtractor.bulkFetch(ResultSetCache.java:353)
at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:59)
at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getColumns(JdbcDatabaseSnapshot.java:539)
at liquibase.snapshot.jvm.ColumnSnapshotGenerator.addTo(ColumnSnapshotGenerator.java:106)
at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:79)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:286)
at liquibase.snapshot.DatabaseSnapshot.init(DatabaseSnapshot.java:102)
at liquibase.snapshot.DatabaseSnapshot.(DatabaseSnapshot.java:59)
at liquibase.snapshot.JdbcDatabaseSnapshot.(JdbcDatabaseSnapshot.java:38)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:217)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:246)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:230)
at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateChildren(DropAllForeignKeyConstraintsChange.java:90)
at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateStatements(DropAllForeignKeyConstraintsChange.java:59)
To Reproduce
To reproduce you need a huge database. Then uses dropAllForeignKey command on a given table
Expected behavior
DropAllForeignKey should be executed quickly and without any need to too much memory on the JVM
┆Issue is synchronized with this Jira Bug by Unito

@waelmnif Thanks for taking the time to write this issue.  We are going to look at dropAllForeignKeys to see if there is a more efficient way to run this code. In the meantime, continue to use the workaround of using more memory when running this command in your environment.


foungdryup bug

macOS Big Sur 11.2.3

curl https://raw.githubusercontent.com/gakonst/foundry/master/foundryup/install | bash
foundryup

... /.foundry/bin/foundryup: line 83: unexpected EOF while looking for matching `"'

Closed in #504


rewite fuzzy factories

Fuzzy Factories are really inefficient, and could be a cause of issues in solids.
The current versions of the fuzzy factories:

converts numbers to strings for hash values '99999/99999/9999'
creates two (2) hash values to 'correct' rounding issues
uses object attributes for storing points by hash values
looks up stored points by hash, which is basically just full traversals
uses EPS as a numeric tolerence, does really compare distances between points
uses the same logic for looking up planes, which is just WRONG due to the precision required for normals
mixes planes (normals) and points from unrelated polygons, which could lead to all kinds of issues

REWORK Option 1 : Reuse Points within EPS distance

rework the logic to use a simple map of points
compare the distance between points
reuse points from the map if distance < EPS
if a point is reused then always calculate a new plane

REWORK Option 2 : Round All Points

define a tolerence for all points
round all points to the tolerence
always calcuate a new plane

Notes from reviews:

geom3/cannonalize will also need changes, possibly elimination if possible

Definitely option 2, else you'll end up with accumulated error.
I was just thinking of doing that to make geom2 tests reasonable.

Cannonalize is a typo. The real word is canonicalize.

V2 eliminates fuzzy factories.
Closing this issue.


VS 2K15 instead of VSC

Hi, is it possible to use VS 2K15 instead of VSC? as this tutorial is not going through on windows containers, I decided to run it with my  Kitematic setup on a win10 physical desktop.
Docker-compse worked fine and I was able to access the website at http://<IP_ADDRESS>:8000/ .
What is needed for VS to make it possible following this tutorial?
Thanks

We should have a separate VS 2K15 tutorial not a replacement for VSC.

The VS2015 debugger does not associate node.js code running in Docker with the code in the shared directory, preventing debugging. This was registered as an issue with and earlier version of nodejstools without a resolution (https://github.com/Microsoft/nodejstools/issues/224)
Have filed issue on nodejstools: Debugger: No code has been loaded for this code location #1421


Resolv.conf is incorrect

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Environment:

Cloud provider or hardware configuration:

OVH. OpenStack

OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):

Linux 4.9.0-4-amd64 x86_64
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Version of Ansible (ansible --version):

ansible <IP_ADDRESS>
  config file = /Users/Downloads/kubespray-master 3/ansible.cfg
  configured module search path = [u'./library']
  python version = 2.7.11 (default, Mar 26 2016, 16:50:11) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]

Kubespray version (commit) (git rev-parse --short HEAD):
when kubernetes version was v.1.7.6
Network plugin used:
Flannel
Copy of your inventory file:
Command used to invoke ansible:
Output of ansible run:
Anything else do we need to know:
Resolv.conf always resets to default.
domain openstacklocal
search openstacklocal
nameserver <IP_ADDRESS>

But it should be like that one.
domain cluster.local
search default.svc.cluster.local svc.cluster.local
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

That's why DNS resolving sometimes doesn't work until i change config to normal by hand

Also has errors when recreateing pods
Found and omitted duplicated dns domain in host search line: 'default.svc.cluster.local' during merging with cluster dns domains

Same issue for me:
and here https://github.com/kubernetes/kubernetes/issues/52655

I found a fix (at least for our situation), described in comment on https://github.com/kubernetes/kubernetes/issues/52655


Avoiding CORS preflight request for Functions when using with Firebase Hosting

Using Callable functions currently involves a CORS preflight request for any function call. According to Firebase hosting docs, it is possible to configure the functions to be served from the same domain as the app, thus avoiding the extra round-trip for the preflight request:
https://firebase.google.com/docs/hosting/functions#direct_requests_to_function
I'd love to see this functionality integrated into Angular Fire and officially supported.

There's now the FUNCTIONS_ORIGIN token which you can use to point at your hosting domain or the local emulator. See the DI section of the hosting getting started.

Thanks for the fast response @jamesdaniels. Is there any tutorial that shows how to set this up?
From what I'm seeing, when setting FUNCTIONS_ORIGIN, the library automatically appends the project name and region (e.g. us-central1) to the URL, while the examples in the firebase hosting docs (I linked above) don't have these elements in the URL.

No tutorial. Just add the region, etc. to the hosting configuration's source attribute. Make it look like the URL that callable functions are trying to hit.

If you wanted to contribute that to the docs once you get it working that would be a welcome PR.


Gardena - Needs attention

Hello,
I had to reinstall the Gardena integration after a Gardena hub reset. While it was working in the past,  now I have no components detected and a message stating «  needs attention - failed to setup ». I tried several times with the same result. I’m a newbie in HA and don’t know if it’s a bug caused by a previous install or something else, I don’t know how to investigate the problem. Would anyone be kind enough to suggest a path to resolution? Thanks in advance.

I have the same problem. Integration recognizes everything. After restarting HA, the error message appears.
Version 1.1.0
Core 2024.3.0
Supervisor 2024.02.1
Operating System 12.0
Frontend 20240306.0
Log:
Logger: homeassistant.config_entries
Quelle: config_entries.py:504
Erstmals aufgetreten: 14:25:07 (1 Vorkommnisse)
Zuletzt protokolliert: 14:25:07
Error setting up entry for gardena_smart_system
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
yield
File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 373, in handle_async_request
resp = await self._pool.handle_async_request(req)

For me it's every time HA starts but I found workaround. Disable integration and right after enable it again and it works.

For me it's every time HA starts but I found workaround. Disable integration and right after enable it again and it works.

I have the same problem and use the same work around.
Using Home Assistant Yellow
Core 2024.3.1
Supervisor 2024.03.0
Operating System 12.1
Frontend 20240307.0

Same to me. I also have to disable/enable after every restart of HA.

there is a new release 1.1.1-rc2 in beta.
Can you give it a try ?
Thanks,
grm

Now it works
Thanks
release 1.1.1-rc3

It works for me also. Also, I am ashamed of myself, I understand why it was not working when reinstalling the integration: in the password field I used my gardena password, not the second key the Husqvarna provides… I’ll know for next time.

It also works for me, now. Thanks for the fast support!

Hey Guys,
and it also worked for you After HA Restart?
I still have the same problem after a restart. Even a new installation did not help :/

The patch seems not to be released yet.
When re-installing, I still get 1.1.0 - and in there the problem is not fixed
When will the new version 1.1.1 be released?

On my system RC3 seams to be working. After update and system restart integration was loaded correctly.

After all not really fixed. Today restart of HA (2x) proven integration still not starting correctly though disabling and enabling integration still fix problem till next restart of HA


[NEW ALGORITHM] : Scheduling Algorithm - FCFS

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
First-Come, First-Served (FCFS) Scheduling

Labels:
new algorithms, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

@pankaj-bind Please check who has made the PR and then merge it. Before even assigning the person to solve the issue, someone has made the PR which is unethical.


fix: fixed misspellings and typos in docstrings

Fixed misspellings, typos, and duplicated words in docstrings
Added articles and commas to docstrings.

Many thanks!

People working on the docs is always of particular value in OSS projects. I appreciate that a lot!

I want to thank you for your amazing tool.
I just want to better understand different workflow tools.
Now I'm contributing to Airflow and looking at dbt


Use a BRK-based AVL tree structure for vecs instead.

I have changed it to use a sorted continuous vector. Due to merging of blocks, insertions can be done in average case O(log n).


Implement attachments.create

Closes #39

@rsjethani please have a look 😇

I asked already here: https://github.com/ioki-mobility/go-outline/issues/39 but maybe it makes sense to discuss it here?
If we "create" an attachment to a document, it will only create something in the database, but not actually upload the file to the storage backend. The user will get a response that can be used to upload to the backend. Do we want to keep it like that or also do the upload as well?

Thanks for raising this up!
Our API should only reflect the real api from outline that's not. It
shouldn't be the responsibility of this project to directly upload the file.
However, we could implement this in the cli. So that the cli not only
creates the entry, but upload it afterwards as well...
On Thu, Sep 7, 2023, 10:47 AM Zadjad Rezai @.***> wrote:

I asked already here: #39
https://github.com/ioki-mobility/go-outline/issues/39 but maybe it
makes sense to discuss it here?
If we "create" an attachment to a document, it will only create something
in the database, but not actually upload the file to the storage backend.
The user will get a response that can be used to upload to the backend. Do
we want to keep it like that or also do the upload as well?
—
Reply to this email directly, view it on GitHub
https://github.com/ioki-mobility/go-outline/pull/41#issuecomment-1709735119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ62WKS34M7IYE4T62ILXZGCZHANCNFSM6AAAAAA3GU45LI
.
You are receiving this because you commented.Message ID:
@.***>

yes agreed with @StefMa actual file upload should be a separate functionality


Revise layout for dashboard pages, add "days ago" for notes

Who is this PR for?
K12 admin, counselors, housemasters
What problem does this PR fix?
https://github.com/studentinsights/studentinsights/issues/1676, to change from showing the dates of notes to showing how many days ago they occurred, to norm this for users so they don't have to do the date math.  When this feature first launched, this didn't matter since folks could easily see which students had notes and which didn't, but as this list fills up (good!) it becomes hard to see what's old and what's recent at a glance.
In making this change, I wanted to make the table ~50px wider to accommodate this, but found that changes to the layout sizing didn't work as expected.  In looking to change this, I found that some of the CSS was shared across other pages, so changes here impacted other pages, which could be good.  But the use of those styles was different on different pages, so sharing these styles made making changes to fix layout on one page regress it on another page.
What does this PR do?
Adds in the column.  Also, revises the layout for the absences, discipline and tardies pages.  These now use less shared styles, and these are only for the structure of the layout.  This is that the table on the left takes the full height of the page and a fixed width, the charts take the rest of the width, and then size their height to divide the screen in half.  This means these pages take the full screen and do not scroll.
Relatedly, this removes a wrapper element from HighChartsWrapper and revises it to allow styling the container.
Separately, it revises the controller response to pass down the school, so that we can add a title to the page that says what the data is and what school it's for.
Screenshot (if adding a client-side feature)

Checklists

[x] Author checked latest in IE - Absences
[x] Author checked latest in IE - Discipline
[x] Author checked latest in IE - Tardies

The dates in the screenshots are unrealistic; I looked at updating the demo data to address this but cut that from this work.

selfie


web: activity tab using activity agent

Fixes TLON-2189 by changing notifications to now use the same source and (mostly the same) rendering as the mobile.
PR Checklist

[ ] Includes changes to desk files
[ ] Describes how you tested the PR locally (test ship vs livenet)
[ ] If a new feature, includes automated tests
[ ] Comments added anywhere logic may be confusing without context

Overall looks good and matches the content on mobile.
Clicking "Mark everything as read" unfortunately results in a spinner that hangs out forever with no meaningful dojo or js-console output. Is there something else I should be inspecting to see progress there?


Add close button for External Receive Address

Currently user has to refresh page to make a tx if they accidentally open the External Receive Address input field - we should add a close/hide button for this input

Closing as functionality included in #99


Table overflow on module listing

When a module has lots of fields, the table overflows out of the box.

@rxstriker
It is not a problem. We made it like that. We shouldnt have too many columns in table.
You can customise columns from your Controller:
public $listing_cols = ['id', 'name'];

If you want you are free to change css working as well.
Regards,


Microsoft 365 F1 and Microsoft 365 F3 report same GUID

These two different products have the same GUID (66b55226-6b4f-492c-910c-a3b7a3c9d993) as shown on this page:

Microsoft 365 F1	M365_F1
Microsoft 365 F3	SPE_F1

When will these different products have separate GUIDs? This might be related to #51545
Thank you.

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Azure AD
Content Source: articles/active-directory/users-groups-roles/licensing-service-plan-reference.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @kkern
Microsoft Alias: kakern

@adrianwells Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

I have updated the documentation with the correct GUID. Changes should be viewable soon.


Some updates needed

This should checkout master of phpbb, since the default branch is still 3.1.x, which does not support the CLI installer.
Also the CLI installer is now in /install/ and not /install_new/

This is basically a project I never properly finished. If you want to do it, feel free to start it under the phpbb namespace?

Most of this is too greek for me


Pivoting link in documentation returns 404

In performance tuning page for example: http://www.orientechnologies.com/docs/last/orientdb.wiki/Performance-Tuning.html
Your "pivoting" link returns 404 under the "Right use of Graph" section:
http://www.orientechnologies.com/docs/last/orientdb.wiki/Pivoting-With-Query.html

That doc is old. Removed. Thanks.


[QST]Does zstd compression support adjusting the buffer upper limit?

Hello, I'm trying to the zstd compression interface of the GPU to compress my buffer, but the interface has an upper limit of 16m. After adjusting the upper limit, I found that it did not take effect. Is this parameter unable to be modified? The nvcomp-2.6.1 version is used here.

the compress api is nvcompBatchedZstdCompressAsync and the limit parameter is nvcompZstdCompressionMaxAllowedChunkSize


Is there a way to set how the drawer looks and animates (slide or come over the screen)?

Version
I'm using
react-native-router-flux 4.0.6
react-native 0.60
Is there a way to set how the drawer looks and animates?
For example:

front: Traditional drawer which covers the screen with an overlay behind it.
back: The drawer is revealed behind the screen on swipe.
slide: Both the screen and the drawer slide on swipe to reveal the drawer.

I need the slide mode

Any help regarding this?

@skdhayal Do you know any solution for this feature?
This is exactly what I need


Enable leader election in csi components

Settings are adapted from kubernetes-sigs/azuredisk-csi-driver#224
Refactored chart image references

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:

@bcho e2e CI test is ready, could you rebase? Thanks.

@bcho e2e CI test is ready, could you rebase? Thanks.

Sure, I will have a look later today

/ok-to-test

/ok-to-test


Pass input value to onContentClick handler

I think it would be really convenient to pass the current value of an input field to the onContentClick handler for the use case that the content is a button that should submit the input value. I know there are other ways to solve this but directly passing the value in the handler seems by far the most simple version to me.

What do you think about it?

Hey @peteole I really appreciate your contribution, however, the input value is already being sent through the onChange function, on the other hand, the content element render will probably change once we migrate the input to react-aria, stay tuned 🙌🏼

Ok, I get it. The idea was that the content would be used as a submit-button and then it would be useful to pass the content to be submitted to the callback. Maybe you can consider this in the migration.


astro-purgecss bug - Incorrect CSS file names (old hashes) left in HTML files

Upgrading astro-purgecss to v4.6.0 results in broken builds, where some of the CSS file names referenced in the HTML files are incorrect, resulting in pages loaded without style.
This appears to be caused by a race condition in the way how replaceValueInFile is called: two calls to replace can run in parallel, where the second one overwrites the updated file written by the first one.
This problem seems to be specific to astro-purgecss v4.6.0..
To Reproduce
Steps to reproduce the behavior:

Create an astro project where one HTML file imports two CSS files, and activateastro-purgecss.
Run npm run build
Run npm run preview

Remark: it might be necessary to have files consequent in size for the race condition to be observed.
Expected behavior
Web pages are loaded and rendered with all specified style rules
Observed behavior

Only one of the two CSS files is loaded in the page.
The page source shows that old hash is present for one of the css files, instead of the renamed one.

Possible solution
A quick fix is to replace Promise.all() (here) by a for loop:
    for (const [oldFile, newFile] of processed) {
      // Replace only if name of the old file
      // is different from name of the new file (hash changes)
      if (oldFile !== newFile) {
        await replaceValueInFile(
          page,
          oldFile.replace(outDir, ''),
          newFile.replace(outDir, '')
        );
      }
    }

More robust solution
A review of the approach would be beneficial for performance, as the current process has some serious overhead:.
Currently, each time once renamed CSS file name needs to be replaced in an HTML file, the HTML file is written to disk.
Instead, the updated HTML files only need to be saved to disk after all the renaming tasks have been done.
Additional context
Might be related to #654.

Edit - P.S.
Another issue I am facing is that<EMAIL_ADDRESS>only works for static pages, but SSR pages (node adapter) have no CSS at all. This problem did not exist in previous versions.
I still have to investigate what is going on, and possibly open a separate issue. Is this problem happening to anyone else? Maybe some configuration I am missing?

Hey @mef, thanks for bringing this up! I'd appreciate it if you could publish the fix you mentioned.
Regarding the performance points, they are valid, but since this is happening at build time, I decided to avoid complexity and kept things simple, I might revisit those in the future.

Thanks @the-dijkstra , I just created a pull request with fix proposal.
SSR pages are still rendered with no CSS at all on my side, v4.5 handles this well.
Would you have a pointer on where I should look to find the cause of the problem?

Hey @mef, thanks a lot! I just reviewed your PR, and it looks like it will resolve the race condition issue.
Regarding SSR before v4.5, we weren't renaming the CSS file with a new hash, which caused issues since browsers cache CSS files. This could lead to problems with cache busting. The correct approach is to always have the hash reflect the content of the CSS file. However, I'm not sure how we should handle this with SSR, since we're scanning the output directory.
One possible workaround could be to disable this renaming strategy when dealing with SSR.


BOSC oscillation detector method

issue #47
add the better oscillation detection method (Whitten et al., 2011, NeuroImage) to list of burst detection options, for Andrew’s and Sunny’s project.

Hello @srcole, Thank you for submitting the Pull Request !

In the file neurodsp/burst.py, following are the PEP8 issues :

Line 11:1: E302 expected 2 blank lines, found 1
Line 177:92: E225 missing whitespace around operator
Line 188:48: E251 unexpected spaces around keyword / parameter equals
Line 188:50: E251 unexpected spaces around keyword / parameter equals
Line 192:84: E226 missing whitespace around arithmetic operator
Line 195:29: E225 missing whitespace around operator

In the file neurodsp/spectral.py, following are the PEP8 issues :

Line 502:25: E226 missing whitespace around arithmetic operator

Do see the Hitchhiker's guide to code style


Header image

This will be the header image

No wait it needs to be higher res

hmm needs a bit of top padding


access not granted for langSmith

Issue you'd like to raise.
filled the form but credentials not yet received.
Suggestion:
No response

Thank you for your patience! We are adding groups weekly while trying to balance quality of service as we scale. I'll close this ticket for now to focus on bugfixes.


Bad checksum for nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb

Hi,
I am trying to upgrade JP-5.1.3 with branch kirkstone now. by the way, there are bad checksum for nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb.
My repo commit ids are
meta                 = "HEAD:1e0d58c53b7d9c3feb631e46666ae7a3e3614253"
meta-oe
meta-python
meta-filesystems
meta-networking
meta-multimedia      = "HEAD:8bb16533532b6abc2eded7d9961ab2a108fd7a5b"
meta-clang           = "HEAD:312ff1c39b1bf5d35c0321e873417eb013cea477"
meta-tegra           = "HEAD:010ab4309cabc7072667fdffab6a9e640acd3963"
meta-qt5             = "HEAD:f5dfcd1417fa01dc59b3fc1f28bbe7c986de0e9d"
meta-chromium        = "HEAD:b279a4dc078ba6957815e2496820f1eadbafd58a"
meta-virtualization  = "HEAD:cb2bc17e96552cdfc141d27bd9f4dbd95a872846"
meta-tegra-support   = "HEAD:08c443dd9133e1dbd9aaf8f1e4c5c5f688117300"
meta-tegra-community = "HEAD:190add0d9106e98e33fcc24160a65b7a650124eb"

error log :
NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.4/x86_64-nativesdk-libc-4.4.tar.xz;sha256sum=d81c54284be2bb886931fc87281d58177a2cd381cf99d1981f8923039a72a302 (will check PREMIRRORS first)
Initialising tasks: 100% |####################################################################################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 625 Local 0 Mirrors 0 Missed 625 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: python3-jepture-gitAUTOINC+be40d9219e-r0 do_fetch: Checksum mismatch for local file /home/bchoi/nvidia-yocto-bsp/bchoi-build/downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb
Cleaning and trying again.
WARNING: python3-jepture-gitAUTOINC+be40d9219e-r0 do_fetch: Renaming /home/bchoi/nvidia-yocto-bsp/bchoi-build/downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb to /home/bchoi/nvidia-yocto-bsp/bchoi-build/downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb_bad-checksum_9250d511d1c1cfda1a7b02512fb64bbe7e79ad34987d2ae452204cde181a775f
WARNING: python3-jepture-gitAUTOINC+be40d9219e-r0 do_fetch: Checksum failure encountered with download of https://repo.download.nvidia.com/jetson/common/pool/main/n/nvidia-l4t-jetson-multimedia-api/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb;subdir=git/jetson_multimedia_api - will attempt other sources if available
ERROR: python3-jepture-gitAUTOINC+be40d9219e-r0 do_fetch: Fetcher failure for URL: 'https://repo.download.nvidia.com/jetson/common/pool/main/n/nvidia-l4t-jetson-multimedia-api/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb;subdir=git/jetson_multimedia_api'. Checksum mismatch!
File: '/home/bchoi/nvidia-yocto-bsp/bchoi-build/downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb' has sha256 checksum '9250d511d1c1cfda1a7b02512fb64bbe7e79ad34987d2ae452204cde181a775f' when 'a436cbfdbbef87b9be8e0defb4c6af5ffa4c4ba8bd957446577a9fb30334595f' was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[sha256sum] = "9250d511d1c1cfda1a7b02512fb64bbe7e79ad34987d2ae452204cde181a775f"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: python3-jepture-gitAUTOINC+be40d9219e-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://repo.download.nvidia.com/jetson/common/pool/main/n/nvidia-l4t-jetson-multimedia-api/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64.deb;subdir=git/jetson_multimedia_api')
ERROR: Logfile of failure stored in: /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/python3-jepture/gitAUTOINC+be40d9219e-r0/temp/log.do_fetch.107681
ERROR: Task (/home/bchoi/nvidia-yocto-bsp/sources/meta-tegra-community/recipes-devtools/python/python3-jepture_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1331 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/bchoi/nvidia-yocto-bsp/sources/meta-tegra-community/recipes-devtools/python/python3-jepture_git.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

Can you please check this error?
BR,
Mark

I changed sha256sum value as bitbake said and went ahead compile but, there is a missing header file, nvbuf_utils.h, which is included by jetpture.hpp.
bchoi@ubuntu-20:~/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/python3-jepture/gitAUTOINC+be40d9219e-r0/git/src$ grep -n nvbuf_utils.h jepture.hpp
8:#include <nvbuf_utils.h>
bchoi@ubuntu-20:~/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/python3-jepture/gitAUTOINC+be40d9219e-r0/git/src$

I downloaded deb file and extracted it manually and could not found nvbuf_utils.h also.
bchoi@bchoi-MINIPC-PN53:~/Downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64/usr/src/jetson_multimedia_api/include$ ls
Argus  EGLStream  GLES2  gstnvdsseimeta.h  libjpeg-8b  NvApplicationProfiler.h  nvbufsurface.h  nvbufsurftransform.h  NvEglRenderer.h  NvElementProfiler.h  NvJpegEncoder.h  nvosd.h    NvV4l2Element.h       NvVideoDecoder.h  NvVulkanRenderer.h  v4l2_nv_extensions.h
EGL    GL         GLES3  KHR               libv4l2.h   NvBuffer.h               NvBufSurface.h  NvDrmRenderer.h       NvElement.h      NvJpegDecoder.h      NvLogging.h      NvUtils.h  NvV4l2ElementPlane.h  NvVideoEncoder.h  tegra_drm_nvdc.h
bchoi@bchoi-MINIPC-PN53:~/Downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64/usr/src/jetson_multimedia_api/include$ ls nvbuf_utils.h
ls: cannot access 'nvbuf_utils.h': No such file or directory
bchoi@bchoi-MINIPC-PN53:~/Downloads/nvidia-l4t-jetson-multimedia-api_35.5.0-20240219203809_arm64/usr/src/jetson_multimedia_api/include$

The nvbuf_utils api was removed in jetpack 5 and replaced with the nvbufsurface api, so you would either need to patch the project to change the api, or move back to an older jetpack release. The two apis are fairly similar, see for example https://github.com/jocover/jetson-ffmpeg/pull/125/files

The nvbuf_utils api was removed in jetpack 5 and replaced with the nvbufsurface api, so you would either need to patch the project to change the api, or move back to an older jetpack release. The two apis are fairly similar, see for example https://github.com/jocover/jetson-ffmpeg/pull/125/files

Thanks for reply.
By the way, I think python3-jepture still use it and python3-jepture is not maintained anymore.
So, I think we need to remove it from meta-tegra-community for jp 5.1 over.

Thanks for pointing out the problem with that package.  I've removed the recipe for it.


Need a way to programmatically select tabs

With the following declaration, the ability to programmatically select a tab is hidden.
private let tabViewController = PreferencesTabViewController()
I suggest we make the following changes/additions in PreferencesWindowController ...
public func showWindow(tabIndex: Int = 0) {
	if !window!.isVisible {
		window?.center()
	}

    if tabIndex >= 0 && tabIndex < tabViewController.tabView.numberOfTabViewItems {
        tabViewController.tabView.selectTabViewItem(at: tabIndex)
    }

	showWindow(self)
	NSApp.activate(ignoringOtherApps: true)
}

public func selectTab(tabIndex: Int) {
    if tabIndex >= 0 && tabIndex < tabViewController.tabView.numberOfTabViewItems {
        tabViewController.tabView.selectTabViewItem(at: tabIndex)
    }
}

Yeah, this is solved in https://github.com/sindresorhus/Preferences/pull/6, but the author seems busy at the moment. For now, I think it would be easiest to just make the tabViewController variable public, so you can control it yourself.

Thanks.  I already updated the class as I described above.  I'll wait for #6 to be released to the pod.

A new release is out: https://github.com/sindresorhus/Preferences/releases/tag/v0.3.0
Let us know if you have any feedback about the improved API or anything else ;)


Added description text.

FYI we're currently having an issue with accepting public contributions to the ConfigMgr PowerShell content. So this will be on hold for a while...

Awww man.  Bummer.  I understand.

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

Thanks @Skatterbrainz for adding this example!
Same story as before, due to the fixed issue, I can't accept this PR as-is. But I was able to bring our changes over to our private repository (from where we publish). So I'm going to close this PR, but your changes should go live with daily publishing later this afternoon (8/25 4pm)


transport-agnostic interface for database file access

The is a 'request for enhancement'.

Your uCDB.cpp has currently hard-coded  an SD card access interface:
https://github.com/JulStrat/uCDB/blob/master/src/uCDB.cpp#L35
https://github.com/JulStrat/uCDB/blob/master/src/uCDB.cpp#L38

There are also some other methods of storage access available. One of them is SPI flash memory interface.
For my use case I had to 'tweak' your code a little bit to make it running with nRF52 Arduino Core:
https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/libraries/uCDB/src/uCDB.h#L15
My suggestion is:
Could you make the uCDB.cpp and uCDB.h to be 'transport-agnostic' ? (*say, by employment of "File " access only) and transfer the 'transport layer' (SD - in your case) on the Arduino  sketch level ?

And there is one more minor notice:
I can see that you don't test cdb value before executing the cdb.close()
here: https://github.com/JulStrat/uCDB/blob/master/src/uCDB.cpp#L33
and there: https://github.com/JulStrat/uCDB/blob/master/src/uCDB.cpp#L238

Should we add some 'safety guards' like these ones ?
https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/libraries/uCDB/src/uCDB.cpp#L30
https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/libraries/uCDB/src/uCDB.cpp#L228

make the uCDB.cpp and uCDB.h to be 'transport-agnostic'

Good enhancement :+1: Agree

test cdb value before executing the cdb.close()

Makes sense. I will add check.
Thank you, Linar.

Hi, Linar.
Here is my template based solution - https://github.com/JulStrat/uCDB/blob/template/src/uCDB.hpp
airports example uses standard SD library and benchmark - SdFat library.
Usage (for SdFat) -
...
#include "SdFat.h"
#include "uCDB.hpp"
...
SdFat fat;
uCDB<SdFat, File> ucdb(fat);
...

And for Adafruit_SPIFlash it would be something like this
...
#include <Adafruit_SPIFlash.h>
#include "uCDB.hpp"
...
FatFileSystem fatfs;
uCDB<FatFileSystem, File> ucdb(fatfs);
...

Is it good, acceptable approach?
Please, advice.
Regards,
Julian.

Is it good, acceptable approach?

Yes. It works pretty much good for me.
Thank you so much, Julian!


I only see the border of the view..

Hi.
I'm triying to implement your Menu in my project. I'm following the example that do you have in the specifications, all works fine, but when I swipe the Main view, I only see a minimal border of the left view. I don't know if I put some extra to see the entire view.
See the atached image:

Can you help me?
Regards,

Could you post a code snippet of how you are setting up the view hierarchy?

Yes sure. This is my AppDelegate content. Of course, the left View exists ("leftMenuViewController")
`import UIKit
import DualSlideMenu
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var storyBoard: UIStoryboard?

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    // Override point for customization after application launch.

    window = UIWindow(frame: UIScreen.mainScreen().bounds)
    storyBoard = UIStoryboard(name: "Main", bundle: nil)

    let lLeft = storyBoard?.instantiateViewControllerWithIdentifier("appMenuLeftCtrl") as! MenuLeftController
    let lMain = storyBoard?.instantiateViewControllerWithIdentifier("MainCtrl")

    let controller = DualSlideMenuViewController(mainViewController: lMain!, leftMenuViewController: lLeft)

    controller.leftSideOffset = 100
    window!.rootViewController = controller
    window!.makeKeyAndVisible()

    return true
}

}`

That looks good. The only thing I can think of that may be the storyboard. Did you add any views or constraints in the MenuLeftController?

No, nothing. The scene contains a View without controls or constraints, only a grey background.

Use this tool and see what is happening to the left view

Well, in the debug view I see the content...maybe it's emulator problem?? I'm running it on iPhone 6 simulator with 9.1 ios

hmm, that's weird. I guess it must be an emulator problem, but I'm not sure how it could...

Solved..this my fault. I had using a background that cover the view

Awesome, hope I was some help to you and thanks for using my library :)


Koa support

The express support is really nice; being able to run against an app without fixing up a webserver. Could we get this functionality for koa?

TypeError: app.address is not a function
      at Test.serverAddress (E:\dev\gtfo\node_modules\supertest\lib\test.js:55:1
8)
      at new Test (E:\dev\gtfo\node_modules\supertest\lib\test.js:36:12)

Using<EMAIL_ADDRESS>with<EMAIL_ADDRESS>Do I have to pass in app.listen()?

@fritx  can you give that a try, that worked in the example above for the other user.

@mikelax yeah it works, but I'm wondering if supertest could improve in this case.


No Ammy option in New Items

In a fresh Xamarin.Forms blank app in VS17 there is no option for Ammy Page.

Are you sure you have installed the extension? https://marketplace.visualstudio.com/items?itemName=ionoy.Ammy

This is what is see. I've uninstalled the extension and installed it again to be sure. Are you using VS2015 or VS2017 by the way?

Anyway, at the moment you can also just create a new text file with extension Ammy and content type set to None.

Yes I am  sure. I tried both by "Package Manager Console" and by "Manage Nuget Packages" UI. I am on the latest Visual Studio 2017. In fact I updated today.
By the way you have a typo here: http://www.ammyui.com/documentation/xamarin-forms-quickstart/. Run install Ammy.XamarinForms should be install-package Ammy.XamarinForms

I mean, did you install Visual Studio extension, not Ammy Nuget package?
I've tested it in VS2017 and it still works for me.
Thanks for the type btw, fixed it!

No, I haven't installed it. In fact, I haven't even read about it. Just
tried it and turned out this was the problem. Since it's needed you should
add it to the Xamarin.Forms guide. Also consider updating the video.
On Thu, Apr 6, 2017 at 9:28 AM Mihhail Maslakov<EMAIL_ADDRESS>wrote:

I mean, did you install Visual Studio extension, not Ammy Nuget package?
I've tested it in VS2017 and it still works for me.
Thanks for the type btw, fixed it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AmmyUI/AmmyUI/issues/65#issuecomment-292091893, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACN_j_kx4QoHFOA7p7mcdJ998ml_FWpRks5rtJQKgaJpZM4M1JX4
.

Sorry for the confusion. I've updated Xamarin Forms quickstart page, it should be more visible now.
Thanks for feedback!

@ionoy another thing which is not clear in documentation is how to get hot reloading. I am running on the Android emulator now but when saving changes UI does not update. I see in the video that you set binding context to a viewModel file but a default project doesn't have something like this. Am I missing something?

Hot reloading should work right away, regardless of your binding. I haven't tested Xamarin Forms support on VS2017 yet, so there might be some issues.
What emulator are you using?
Is active configuration set to "Debug"?
Can you try disabling firewall temporarily?
Is there Ammy.Register="..." attribute in generated XAML?
Unfortunately I'm not near my working PC right now, so tomorrow is the earliest time I will be able to actually test it.

Thank you for the quick response. Those are my settings. Disabling firewall didn't help. Ammy.Register="..." is there.

Please try Android emulator that comes with Xamarin SDK.

I am using the default VS emulator. How can I use the one from Xamarin SDK? These is what I have.

At the same time UWP crashes on boot. Should I open another issue for that?

Do you have the same emulators installed?

Also Xamarin-UWP is not supported at the moment. I'm working on it.

I am missing Visual Studio emulator for Android. However as I see on your video you don't use it so guess this is not the problem.
I followed this guide: https://developer.xamarin.com/guides/android/getting_started/installation/accelerating_android_emulators/ to configure an emulator from scratch. HAXM is running successfully but still no luck. I can offer Team Viewer access is you want to debug.

Please try installing "Google Android Emulator" if it's not installed yet. The problem is, I have completely different list of emulators in my VS2017. It's probably due to first installing Xamarin on VS2015.

Google Android emulator is there. In fact I even tried to reinstall it but
it didn't help. Can you share your emulator settings? Have you installed
HAXM?
On Sun, Apr 9, 2017, 18:41 Mihhail Maslakov<EMAIL_ADDRESS>wrote:
Please try installing "Google Android Emulator" if it's not installed yet.
The problem is, I have completely different list of emulators in my VS2017.
It's probably due to first installing Xamarin on VS2015.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AmmyUI/AmmyUI/issues/65#issuecomment-292796765, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACN_j_lK1FAMIhIZcCqxGQsoJBufRlSvks5ruQmRgaJpZM4M1JX4
.

By google Android emulator I mean exactly the one that was used in Xamarin demo video. Are you able to use it for debugging?
I'm working from my home laptop, there is no VS2017 installed, so it will have to wait until tomorrow, unfortunately...

Also, I don't understand how to install those emulators that you have on your screenshot.

These are the default emulators coming with a clean VS17 installation. I even tried reinstalling VS and I got the same emulators.
I have a mac with Xamarin Studio that features an emulator named as yours. I tried replicating these settings on my PC but again no luck.

I don't get why a specific emulator is required. Is there a specific reason for that?
Did any other VS17 user report that it is working?
I would suggest a clean install on your side, perhaps on a VM.

Yep, will do a clean install in a VM today. Sorry that it takes so long.


[clangimporter] Fix a StringRef to std::string conversion.

Explicitly call StringRef::str, the implicit conversion operator was
removed in an earlier commit:
(See https://github.com/llvm/llvm-project/commit/adcd02683856c)

@swift-ci please test

CC: @Catfish-Man


C++ module example using VS 2022/CMake

Here is an example on how to provide a C++ module alongside the header file.
Only tested with Visual Studio 2020 alongside CMake. Currently don't have access to clang 17.
I also had to explicitly add the required standard library includes to the test files.

If nothing else, it is way to learn about how to do this, when modules are more mature.

I see.
I'd rather not have CMake though for this very little library. I'll lookup what the CMake directives are actually doing and check if I can do this with gcc/mingw64.

Thanks, I'll keep it open for reference, and probably add a milestone in the future. I consider closed PRs as either rejected (aka: wontfix) or merged 🙂


fix(engine image) Fix the missing upgrade engine image rules in the d…

https://github.com/longhorn/longhorn/issues/3063

@mergify backport v1.5.x v1.4.x v1.3.x


Add RFC for changing the smithy-rs changelog process

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Rendered

It might also be worth mentioning (either under a separate subsection under Implementation or directly under Safety requirements) how back-porting from the release branch to main should work with the proposal in the RFC. That naturally brings up the next question, which is when this RFC is implemented, should the implementation be merged to main or to the release branch?

I think the first paragraph under the Implementation section covers this, although it doesn't specifically call out the merge from release to main.


feat(integration-guide): make some changes to the guides/integration-guide/index.mdx

Description (required)
When I translated the guides/integration-guide/index.mdx page I noticed some "inconsistencies" (mostly missing dots and Steps) but maybe it's intended not to use Steps in some scenarios. Please let me know if you would like to have such changes, I can delete some changes if only the missing dots are what you wish for!

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

en/guides/integrations-guide/index.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


fix filtering with operator not like issue

when filtering data with not like operator like the following example
User::where('name', 'not like', 'ahmed')
the following exception has been thrown
unknown operator: $not like
this PR fixes this issue and treated it as regex same as the like operator.

Any chance you could add a test as well?

@Smolevich I think the issue is clear enough here to keep the discussion on github. I rather have discussions on Slack regarding difficult topics and see how others can help to collaborate.
Moving the discussions away from github will only make it harder for people to know what's going on.

Good stuff!


Lack support of STT

Depending on the PR #838 , Node-RED is supposed to handle the structured text expression (FilePath, email, URL).  So far, there is no effect of such handling. Here is an attachment illustrating the defects found while testing the bidi branch.
STT issues.docx
Thanks.

The code has not been merged to master... this is still in progress.

@wajnberg please have a look at this and advise

Hello @samarsultan ,
For now only the watch node has been STT enabled.
I will certainly enabled the remaining contexts you mentioned once Bidi branch would be merged.
Thank you

@samarsultan thanks a lot for reporting on the issues. The work on STT is in progress. Please drop me a note if you wish to have more details on the progress and future plans.


mortar gives random excon error when kubectl does not work

$ kubectl get pod
Unable to connect to the server: x509: certificate signed by unknown authority

$ mortar deploy asdf asdf
...
..gems/excon-0.62.0/lib/excon/ssl_socket.rb:118:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate) (OpenSSL::SSL::SSLError) Unable to verify certificate. This may be an issue with the remote host or with Excon. Excon has certificates bundled, but these can be customized: (Excon::Error::Certificate)

            `Excon.defaults[:ssl_ca_path] = path_to_certs`
            `ENV['SSL_CERT_DIR'] = path_to_certs`
            `Excon.defaults[:ssl_ca_file] = path_to_file`
            `ENV['SSL_CERT_FILE'] = path_to_file`
            `Excon.defaults[:ssl_verify_callback] = callback`
                (see OpenSSL::SSL::SSLContext#verify_callback)
or:
            `Excon.defaults[:ssl_verify_peer] = false` (less secure).

Both errors tell the same thing, SSL verification failed. Mortar doesn't use kubectl.

naturally the "error message must be more descriptive" was my point here


Updates to min versions

Updating to reflect results of testing with composer update --prefer-lowest

@grahamcampbell, could you please review. I haven't used "conflict" before.

This looks incorrect to me.

This just causes composer to resolve the version just before the conflict stuff was added.

+1 conflict is not needed here, versions constraints are already doing the job.

+1 conflict is not needed here, versions constraints are already doing the job.

ie :-1:
It's a :-1: from me too. ;)

Updating to reflect results of testing with composer update --prefer-lowest

If you need to do that, then the version constraints are wrong, and need increasing.

@GrahamCampbell completely with you on the need to increase the version constraints, as the PR does.  I see your point as well about the fact version 1.0 can still be installed, even if subsequent versions contain a conflict clause.
@mnapoli I'm not sure the version constraints are doing the job, to be honest.  With the version constraints appearing in the require-dev section of the composer.json file, they don't achieve anything for a user including this library as a dependency.  The real issue is whether it's best to express incompatibility between this library and, for example, Symfony 2.0, through the conflict clause.
With version 1.0.0 of Acclimate in the wild already, that ship may have sailed.  However, by adding a conflict section, we can at least offer users relying on Acclimate ^1.1, ^2.0 or whatever explicit conflict with Symfony 2.0.  The question I was asking myself when writing this PR is whether it's right to prevent a user from installing a future version of Acclimate, and a version of Symfony Service Container it can't wrap, at the same time.  We must be mindful of the fact that a user might conceivably be using the two libraries for two different things.
In some ways, it seems that some of the complexity would go away if the containers were in the require section of the composer.json file, but that seems a little out of scope for what we're trying to do here.
On balance, I think @GrahamCampbell has talked me out of this PR, and I will close it in favour of https://github.com/jeremeamia/acclimate-container/pull/36 .


Best way to synchronize forgejo runner code

What is the best way to synchronize the code between code.forgejo.org and github? So far I simply do it through my local repo where I have both as a remote. Would it make sense to treat the code at code.forgejo.org as a submodule?

I think the ideal situation would be if the codebase were the same. I don't think there would be any objection to have windows specific code/documentation in the runner repository at Forgejo, as long as it is clearly stated that it is not supported by Forgejo itself but by this project.
You could make a fork of https://code.forgejo.org/forgejo/runner to https://code.forgejo.org/windows/runner for the sake of proposing pull requests. And mirror this repository here for the sake of tracking issues and support.
Does that sound sensible?

Thanks @earl-warren. I set everything up the way you suggested.


Edit Transaction on Right Click fails.

Edit Transaction on Right Click does not open the Edit Transaction menu. And selecting a row in YNAB and using the Edit button at the top causes the error: "An error occurred in Toolkit for YNAB (a browser extension you installed to enhance YNAB)."

Same here, only having issues in Chrome.  Safari and Edge are fine

Disabling Edit Transaction on Right Click in Toolkit for YNAB, but otherwise leaving the extension enabled results in the same error.

I should note since @ghcotti mentioned, I am using the latest version of Edge and have not tested other browsers.

Thanks for the report. Closing since this is the same issue as #2848. Please see this comment for a workaround.


RangeError: offset is out of bounds

When fixing the issue commented in https://github.com/medooze/sframe/issues/13, I see another error:
RangeError: offset is out of bounds
at Uint8Array.set (<anonymous>)
at Sender.encrypt (Sender.js:94)
at async TaskQueue.run (Worker.js:34)

This points to https://github.com/medooze/sframe/blob/master/lib/Sender.js#L94
Seems that the error is in the calculation of ini. Do you have any suggestion, @murillo128? thanks!!!!

@murillo128 FYI this issue plus the issue #13 is breaking the example :(

can you check what are the values of each of this variables?
let ini = skip + encryptedFrame.byteLength - extraBytes;
``
also, one thing to note is that signing has been removed from the sframe spec, so I will remove this code anyway when I implement the latest draft

ohh that is interesting. If the latest spec removes authentication, then we can just ignore all of these issues :)


fix: Binding after duplicating is now applied for both the old and duplicate shapes

Using ALT/OPT + drag to clone does not transfer the bindings (or leaves the duplicates in place of the old one , which are also not bound).
Before

After

regression: Duplicate bound arrow with only one end bound throws error originating from Throttle Fractional indices #8315


fix narrowing compile warnings; mutex lock

Partially fixes https://github.com/luxonis/depthai-core/issues/71
The PR does not include the unsafe function usage (e.g. strncpy) that @themarpe wrote they want to resolve. I see opportunities to move away from unsafe c-strings. Alternatives are string spans, zstring, std::string, std::array, etc. I highly recommend moving away from c-strings; buffer/string handling is one of the most common security vulnerabilities and I believe the current thinking is any performance gain from raw c-strings are no longer relevant. http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slstr-string
The changes in this PR are usually the smallest changes needed to compile without warnings using this project's cmake. There is unsafe code and I do not address that in this PR. For example, in bspatch.c lines 129,134 -or- DeviceBootloader.cpp lines 101,102,107,... are warnings of narrowing integers (int64_t->unsigned int, size_t->uint32_t, etc.) This are all possible loss/corrupt of data, loss of precision, etc. The changes I made remove the compile warnings. However, the problems causing the warning still exist. It is still possible to overflow, wraparound, loose precision, etc. To fix the underlying problem requires work that cascades wider. I'm confident these underlying issues are fixable, but outside the scope of this PR without further discussion. This means that the code is often just as "unsafe" as it was before. If you want to fix all these, we should discuss enough examples so that I understand your project's philosophy and can apply wider fixes.
I did not add/use GSL. I think it might be useful in your project, but I chose to use other methods to fix for now.
I did not fix warnings in the hunter managed FP16 project.,
I have a question. I have not fixed the cmake warning in CMakeLists.txt line 30 set(DEPTHAI_VERSION ${PROJECT_VERSION} PARENT_SCOPE). The warning is CMake Warning (dev) at CMakeLists.txt:30 (set):Cannot set "DEPTHAI_VERSION": current scope has no parent. My question is...what is the goal with that set(DEPTHAI_VERSION)? If it is for this project to declare its version, then this is not the cmake way to do it. Instead, creating a version config file is relatively easing using the helper functions https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html and that version config file will set variables that can be read in a consistent way, uses in package version checks, etc. What is your project's intention here?
Device.cpp line 401. I added a variable name for the lock. This means...the previous code did not lock the mutex. Technically it locked it for only line 401 as the lock was created and destroyed on that one line. 🎯This looks like important critical path code so locking the mutex where it was never locked before is exposing bugs elsewhere as I document in issue #79.
I see a lot of int<->float conversions for framerate in VideoEncoder.cpp. Seems like something could be unified. For example: VideoEncoder::setDefaultProfilePreset(float fps), calls setFrameRate(int fps), which sets float dai::VideoEncoderProperties::frameRate. float->int->float has multiple layers of precision loss and unneeded cpu cycles.

Thanks for the PR.
The C-style strings are used only for compatibility with third party XLink library - which we decided not to modify too much for now.
Most conversions from 64bit to 32bit arise from the fact that the target is a 32bit processor, so we settled with those datasizes.
set(DEPTHAI_VERSION ${PROJECT_VERSION} PARENT_SCOPE)

Intention of the above is to present the version to the parent project (in our case, depthai-python), which adds it as a subdirectoy without the need to either parse the CMakeLists.txt or to install.
Thanks for catching that unique_lock issue. Lets hold off until further, to see the implications of it and to fix any subsequent issues that it triggers.
Can you modify the setFrameRate to take an float instead in the same PR? Just a mistake there.
Seems like style is failing. Did you run cmake --build [dir] --target clangformat to apply style?

I'll try and reconcile the framerates together.
Having difficulty with style. The logs in the CI don't tell me what failed. Just...bad. It would be great if the CI presented the output of the check so that I an told the specific problem, can learn from it, and can make specific changes. I'm on Windows and vscode, the setup of clangformat and such is foreign to that. So I'm trying to get something to tell me anything. So far, no luck.
Ehh, the add_subdirectory rather than the full config and version loading is a bit hacky but if it work for you...I'll leave it alone. It's your team's choice and I will generally stay far away from python. So the error in cmakefile.tx due to python I will not fix.

clangeformat updated...seems the tool, by default, doesn't tell of problems/errors...it just blindly makes changes. 🤷♀
I made framerate round-trip a float.

squashed

@themarpe, can we merge in this PR? Its becoming out of sync due to delayed merge.

@diablodale thanks, merged.
Only exception was the mutex part - I've commented that out for now and marked it TODO until we figure out the Windows issue.


Urgent Query: Usage of volumes and volume_mounts inputs not clear

https://github.com/GoogleCloudPlatform/terraform-google-cloud-run/blob/959159583d9f7c940e07fca9109f4242897b17c6/main.tf#L87-L102
I am using this cloud-run module to create my service. In my use case, I have to mount a secret as a volume.
Following is my code snippet
  env_vars = [
    {
      name  = "CONFIG_FILE"
      value = "/opt/config/service-conf.yaml"
    },
  ]
  volumes =[{
    name = "service-volume"
     secret = [{
      secret_name = google_secret_manager_secret_version.service-conf.id
      items       = {path: "/opt/config/service-conf.yaml", key: "latest"}
    }]
  }]

  volume_mounts = [{
    mount_path = "/opt/config/service-conf.yaml"
    name = "service-volume"
  }]

I didn't find any references to the usage of the above inputs, this is what I derived from the source code.
I would appreciate it if a good usage example is given. Also what values am I putting wrong in the above terraform code?
Awaiting quick response
FYI @proppy @olegshaldybin @dazuma @nikhilk @jskeet

@cw-osama-nasir
Below is the sample env_secret_vars. voiumes and volume_mounts variables. Hope this helps.
volumes = [
  {
    name = "secret-vol-1"
    secret = [{
      secret_name = "cloud-run-env-var-1"
      items = {
        path = "secret-1.txt"
        key  = "1"
      }
    }]
  },
  {
    name = "secret-vol-2"
    secret = [{
      secret_name = "cloud-run-env-var-2"
      items = {
        path = "secret-2.txt"
        key  = "1"
      }
    }]
  }
]

volume_mounts = [
  {
    mount_path = "/app/secret1"
    name       = "secret-vol-1"
  },
  {
    mount_path = "/app/secret2"
    name       = "secret-vol-2"
  }
]

env_secret_vars = [
  {
    name = "SECRET_MESSAGE_TFVARS_1"
    value_from = [{
      secret_key_ref = {
        name = "cloud-run-env-var-1"
        key  = "1"
      }
    }]
  },
  {
    name = "SECRET_MESSAGE_TFVARS_2"
    value_from = [{
      secret_key_ref = {
        name = "cloud-run-env-var-2"
        key  = "1"
      }
    }]
  }
]

Thanks, @prabhu34


Add authentication via user & password

See https://github.com/arangodb/arangojs#authentication

Implemented via 8a1460f574


[BUG] - Custom layer is not showing in custom map

Hi,
I can't manage to get a custom layer to be displayed when accessed via PowerBI. The data is displayed properly on the map and the map is displayed properly (except the custom layer). The custom layer is visible in the MapBox creation maps tools.
There is one error I can see in the dev console which may be the cause of my problem ?

The plugin currently using mapbox-gl 2.10 and the pitch expression you are trying to use is available from version 2.16.
So, we currently not support this feature.

Thanks for your reply. Is there any workaround to get the mapbox layer to work in PowerBI ? I used it few years ago without any issue. Not sure what to change to get it to work again.

You are right, it should be working with this version, I misread the documentation.
Can you share your custom map style to help us resolve this issue?

Thanks for your help.
You can access the custom map in Mapbox here:
mapbox://styles/apanizza/clny208fq003k01rfa1px92if
The tileset ID:
apanizza.awyzwjef
I use a shapefile (Maritime Boundaries) from Marine Regions (https://www.marineregions.org/downloads.php)
Thanks again


grunt-sass version changed to ^1.0.0.

It fix "npm install" fails on node ^0.12 (#1322).

Cool! LGTM, :+1:.

So... how about a little merge?
And why there is such a lot of ignored PR? Is the project is abandoned?

Lgtm. Merge this please.

This needs a ton more love now that people are migrating to node 4.0

Thank you!!

Woo! :+1: :shipit: :confetti_ball: :tada:


BytesMut::reserve not working for most values.

It's possible I'm missunderstanding something, but this seems to be a bug: most calls to bytes.reserve(a) on a buffer with capacity b result in the buffer having a capacity smaller than a + b.
extern crate bytes;
use bytes::*;

#[test]
fn bytes_reserve() {
   let mut bytes = BytesMut::with_capacity(20);
   bytes.reserve(12);
   bytes.put(vec![0; 32]);

   let mut bytes = BytesMut::with_capacity(20);
   bytes.reserve(44);
   bytes.put(vec![0; 64]);
}

Both calls to bytes.put panic:
thread 'bytes_reserve' panicked at 'assertion failed: self.remaining_mut() >= src.remaining()', /home/xal/.cargo/git/checkouts/bytes-72cf269819849e12/37f6cab/src/buf/buf_mut.rs:229```

Thanks for the issue report. BytesMut::reserve doesn't add n more bytes of capacity. It guarantees that a write of n bytes will succeed. In the example, you reserve less than the next write, in which case the write is not guaranteed to succeed.
If you think the docs are unclear, could you clarify what in the docs makes you think that your code snippet should work?

Ah, I see now ^^

Reserves capacity for at least additional more bytes to be inserted into the given BytesMut.

Yeah, I can't think of how the docs could be changed such that I wouldn't have mis-understood -- it's clear in hindsight.
Thanks for the quick response :)