use -useregex and -filterregex to take a .txt file

Feature request:

I use a set of scripts in an automated way for now to archive an Unique file that can be use in combination with telly

It will be more handy in some cases if is possible to use the power of use:
-useregex & -filteregex from a "newfileName.txt"
as an alternative for large selection of channels, groups, country's, etc...
this came up as the result of using other scripts in combination with telly
for an easy and clear example this can be archive in the following way.
C:\Python27\python.exe C:\m3u-epg-editor.py -m="http://iptv...=ts" --epgurl="http://epg.xml.gz" -g="'sports','spain'" -d="C:\telly" -f="C:\telly\mix"
With this script you can filter the original files m3u & xml and will give you also two (2) files.txt

no_epg_channles.txt
mix.txt

So here it comes the action
I take Powershell  and gc $mix| sort | get-unique > $newfileName
Now
telly -useregex  "C:\telly\newfileName.txt" -filteregex "C:\telly\no_epg_channles.txt"  instead of the current way oftelly -filteregex "'a'|'b'|...|'z'"`
This is all accomplished in an automated way (not all the scripts are full disclosure)

Unrelated in the new versions.


stack trace line numbers incorrect with es6 modules

Here's a script which throws an exception on line 3; node-tap reports the error on line 2, column 284. I'm using istanbul's esm-loader-hook and --enable-source-maps in the tap config with Node 16.16.0, which all I think should be enough to get correct stack traces out of istanbul's inline source maps but evidently isn't. Is there something else I'm missing?
dian@medusa ~/work/node-tap-esm -cmd- npm test

><EMAIL_ADDRESS>test
> tap

test/index.js 1> line 3 of index.js will throw an exception
 FAIL  test/index.js
 ✖ notdefined is not defined

  test: adds 1 and 1
  stack: |
    add (file://index.js:2:284)
    Test.<anonymous> (file://test/index.js:5:11)
    file://test/index.js:4:5
    async Promise.all (index 0)
  at:
    line: 2
    column: 284
    file: file:///home/dian/work/node-tap-esm/index.js
    function: add
  type: ReferenceError
  tapCaught: testFunctionThrow

index.js
export default function add(first, second) {
  console.log('line 3 of index.js will throw an exception');
  return first + second + notdefined;
}

test/index.js
import tap from 'tap';
import add from '../index.js';

tap.test('adds 1 and 1', t => {
  t.equal(add(1, 1), 2);
});

package.json
{
  "name": "node-tap-esm",
  "type": "module",
  "scripts": {
    "test": "tap"
  },
  "tap": {
    "node-arg": [
      "--no-warnings",
      "--enable-source-maps",
      "--experimental-loader",
      "@istanbuljs/esm-loader-hook"
    ]
  },
  "devDependencies": {
    "@istanbuljs/esm-loader-hook": "^0.2.0",
    "tap": "^16.3.0"
  }
}

It gets the line numbers correct without --experimental-loader @istanbuljs/esm-loader-hook; however, this prevents coverage analysis over the source files.
The suggestion in https://github.com/tapjs/node-tap/issues/616 of using c8 and disabling tap's internal coverage runner with c8 tap --no-cov fixes coverage. Working package.json (no other changes):
{
  "name": "node-tap-esm",
  "type": "module",
  "scripts": {
    "test": "c8 tap --no-cov"
  },
  "tap": {
    "node-arg": [
      "--no-warnings",
      "--enable-source-maps"
    ]
  },
  "devDependencies": {
    "@istanbuljs/esm-loader-hook": "^0.2.0",
    "c8": "^7.12.0",
    "tap": "^16.3.0"
  }
}


Update to 59.0.3071.86

Notable changes in contrast to the previous version:

patches for GCC7
GTK3 support
build option to enable VA-API, disabled by default

Issues I noticed and fixed so far:

former "send-settings" checkbox was active, reset_profile_settings_overlay.html not used anymore due to the new UI
patch to disable third party cookies was missing

Thanks for the PR, I'm looking at it the coming weekend.

thanks for the effort! :) LGTM


SAK-29368 - New icons for sakai tools

I've also created a little repo with all sources (SVG) of the icons I've drawn with Inkscape and a PHP script to export in all colors.
Icons for Morpheus
If you think this source should stay inside sakai repo (at least, the SVG) I can add it to repo and refresh the PR.

Hi all,
There is one major problem here: the icons are licensed as GPL v2 and that license is incompatible with Sakai's more liberal license: ECL 2.0.

Well, I'm not quite good on licenses so I've add GPL thinking it should be enough. I'm going to update to same license Sakai has.
There's no problem on change it, actually, I've made icons for Sakai :)

Okay, thanks. Here is the preferred Sakai license:
http://opensource.org/licenses/ECL-2.0

I have updated it :)
As I said, I'm not well versed in licenses


XML Lexer?

I've used the previous version of ScintillaNET that was on CodePlex for displaying XML in C# WinForms. I downloaded this new version today and am having issues with setting up an XML lexer. Is there a new way to accomplish this?
Thank you

I've been implementing lexers on an "as needed basis" and haven't had any
requests yet for XML. I'll put in the code and drop you a line when it's
done.
Jacob
On Monday, April 27, 2015, twfurst<EMAIL_ADDRESS>wrote:

I've used the previous version of ScintillaNET that was on CodePlex for
displaying XML in C# WinForms. I downloaded this new version today and am
having issues with setting up an XML lexer. Is there a new way to
accomplish this?
Thank you
—
Reply to this email directly or view it on GitHub
https://github.com/jacobslusser/ScintillaNET/issues/2.

I've checked-in the XML lexer enum value and style constants. You can find
direction on how to configure a lexer in the project README.md.
Please get latest and let me know if you have any other questions.
Jacob
On Mon, Apr 27, 2015 at 10:59 AM, Jacob Slusser<EMAIL_ADDRESS>wrote:

I've been implementing lexers on an "as needed basis" and haven't had any
requests yet for XML. I'll put in the code and drop you a line when it's
done.
Jacob
On Monday, April 27, 2015, twfurst<EMAIL_ADDRESS>wrote:

I've used the previous version of ScintillaNET that was on CodePlex for
displaying XML in C# WinForms. I downloaded this new version today and am
having issues with setting up an XML lexer. Is there a new way to
accomplish this?
Thank you
—
Reply to this email directly or view it on GitHub
https://github.com/jacobslusser/ScintillaNET/issues/2.

Thank you for making this available, the only question I have is about folding. Is it functional for the XML lexer? I used the example in the README.md file but it is not showing up in my form.

Screenshot of code:

Thanks

Looking at the native Scintilla code I think you also need to have the "fold.html" property set to "1" (in addition to the "fold" and "fold.compact" properties you already have).
If that doesn't work, let me know.

That did it. Thank you

I'm sorry that I hadn't seen this before. I have tried the solution and it works well. Thanks a lot!

Is it possible to get current lexeme/token of XML code and get the info about is it a XML tag/attribute?


"Unable to query DNS" error

Hi, I'm testing my open attestation code that goes through the whole signing and verification process. And I'm running into problems verifying docs. Here is what I did,

I created a wallet on etherium ropten, and registered document store using open-attestation CLI
I used "https://sandbox.openattestation.com" to get a DNS TXT record
I signed a document using the document store and the DNS TXT record, checked that the merkle root is issued to the document store
I then tried to verify the document using the verify() function in @govtechsg/oa-verify. And I got a couple of errors. One of them is,

IDNS_QUERY_ERROR_GENERAL, Unable to query DNS

I noticed the same error from the open attestation CLI,

Use open-attestation dns txt-record create --address 0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5 --network-id 3
to get a DNS TXT record
Use open-attestation dns txt-record get --location to verify the DNS record
And I got the same "Unable to query DNS" error

I'm on the latest of everything,
@govtechsg/document-store 2.2.3
@govtechsg/oa-verify 7.9.0
@govtechsg/open-attestation 6.5.0
@govtechsg/open-attestation-cli 1.49.0
Please help me to solve this problem. Thanks in advance!

could you please provide the temporary domain address generated by the open-attestation sandbox?

@cavacado Just registered one:
potential-olive-cow.sandbox.openattestation.com
It will expire by Sat Mar 19 2022 07:44:17 GMT-0400 (Eastern Daylight Time)
Thanks

i think he meant the particular address that responded with dns error, not a newly created one
a quick check on the newly created one with npx @govtechsg/open-attestation-cli dns txt-record get --location potential-olive-cow.sandbox.openattestation.com looks ok, shows:

note that it will expire after 24 hours

Hi @simboonlong I used the open-attestation command, and this is what I got,
$ open-attestation dns txt-record get --location potential-olive-cow.sandbox.openattestation.com
You are falling back to oa-verify default configuration, which is not suitable for production environment. It is highly recommended that you configure and provide your own API key. Refer to https://github.com/Open-Attestation/oa-verify#provider
✖  error     Unable to query DNS
And I got the same error using your command,
$ npx @govtechsg/open-attestation-cli dns txt-record get --location potential-olive-cow.sandbox.openattestation.com
You are falling back to oa-verify default configuration, which is not suitable for production environment. It is highly recommended that you configure and provide your own API key. Refer to https://github.com/Open-Attestation/oa-verify#provider
✖  error     Unable to query DNS
I do realize that the domain expires in 20 hours, and I test before it does.

im guessing it choked at here, might be somehow your end/location can't access dns.google 🤔
are you able to access this url https://dns.google/query?name=potential-olive-cow.sandbox.openattestation.com&rr_type=TXT? it should return your txt record:

Hmm you are right @simboonlong
It looks like it might be a security setting. I'll see if I can do some adjustment there. But do you have any suggestions?
I had been using this to check on google dns and it works fine,
https://dns.google.com/resolve?name=potential-olive-cow.sandbox.openattestation.com&type=TXT
It returns this,
{"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"potential-olive-cow.sandbox.openattestation.com.","type":16}],"Answer":[{"name":"potential-olive-cow.sandbox.openattestation.com.","type":16,"TTL":60,"data":"openatts net=ethereum netId=3 addr=0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5"}],"Comment":"Response from <IP_ADDRESS>."}

Hi @simboonlong, I got over the previous problem. It seems that my company might be blocking dns.google from my machine. So I deployed my code to AWS and was able to get a step further. But DNS is still failing, with a different error,
{
name: 'OpenAttestationDnsTxtIdentityProof',
type: 'ISSUER_IDENTITY',
data: [ [Object] ],
reason: {
message: 'Matching DNS record not found for 0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5',
code: 4,
codeString: 'MATCHING_RECORD_NOT_FOUND'
},
status: 'INVALID'
}
The DNS that's generated is horrible-aquamarine-goldfish.sandbox.openattestation.com.
From AWS terminal I can curl https://dns.google/query?name=horrible-aquamarine-goldfish.sandbox.openattestation.com&rr_type=TXT
And when I used https://dns.google.com/resolve?name=horrible-aquamarine-goldfish.sandbox.openattestation.com&type=TXT, I got a result that looks correct,
{
"Status": 0,
"TC": false,
"RD": true,
"RA": true,
"AD": false,
"CD": false,
"Question": [
{
"name": "horrible-aquamarine-goldfish.sandbox.openattestation.com.",
"type": 16
}
],
"Answer": [
{
"name": "horrible-aquamarine-goldfish.sandbox.openattestation.com.",
"type": 16,
"TTL": 60,
"data": "openatts net=ethereum netId=3 addr=0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5"
}
],
"Comment": "Response from <IP_ADDRESS>."
}

BTW if I run open-attestation dns txt-record get --location horrible-aquamarine-goldfish.sandbox.openattestation.com on the AWS terminal, I got a correct result,

can we see the document you are trying to issue?
make sure:

export OA_PRIVATE_KEY=<your wallet private key> <- this wallet MUST be the same one that you used to deploy your document store (0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5).
your document issuers[0].documentStore is 0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5
your document issuers[0].identityProof.location is the generated temporary dns.
wrap your document to get merkle root hash.
open-attestation document-store issue --address 0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5 --hash <your document hash> --network ropsten

@simboonlong I'm trying to do everything programmatically, instead of using the CLI. From what you described, it seems that the only thing I'm missing is that I didn't set the OA_PRIVATE_KEY. Is that for the CLI, or do I need to set it for my code to run?
Here is the wrapped document:
{
"version": "https://schema.openattestation.com/2.0/schema.json",
"data": {
"firstName": "02dde111-918d-47df-bd50-9e5d55e9bc57:string:Alice",
"lastName": "5e5b3d74-4198-4f56-a0e2-5531baa1af0a:string:Smith",
"$template": {
"name": "53710230-040a-40a9-b3e9-50f578618ebc:string:main",
"type": "6f0c09f1-abb8-48c2-99ca-6eeecb5ef3dd:string:EMBEDDED_RENDERER",
"url": "c3092241-145a-4f32-8dba-0f93fcb2ac83:string:https://tutorial-renderer.openattestation.com"
},
"issuers": [
{
"name": "6a1da6c5-2781-4d72-bd56-2ebed8e54a4b:string:Demo Issuer",
"documentStore": "37833ed7-c2ef-4300-a82d-7b376334612c:string:0xFdda6f76735BE5860d1d9Bd8C0F79a09826558C5",
"identityProof": {
"type": "fec7edf6-2170-4a71-be90-e20a62887e0f:string:DNS-TXT",
"location": "ea9a0f62-e770-4d8b-a90b-41645abd3984:string:horrible-aquamarine-goldfish.sandbox.openattestation.com"
}
}
],
"recipient": {
"name": "961ddc8d-2b46-4b6a-9c36-7b7d54f73088:string:Demo Recipient"
}
},
"signature": {
"type": "SHA3MerkleProof",
"targetHash": "143aab0572bee621cc2457f7249a1d574f26bb31ac6e7989f1035403d444de6f",
"proof": [],
"merkleRoot": "143aab0572bee621cc2457f7249a1d574f26bb31ac6e7989f1035403d444de6f"
}
}

if you're trying to verify programmatically, is it possible for us to take a look at your repository?
You might have configured certain things wrongly

@cavacado @simboonlong Here is my repository,
https://github.com/johnwen84/small-oa
Thanks

https://github.com/johnwen84/small-oa/blob/49a1da43ce957768ca2843150c7816d03b352e9d/src/oa.js#L174
the verify function that you are using is using the default verification builder options, (ie, its using the homestead (main) network instead of ropsten network)
in order to configure it properly, please read up on how to construct the verifiers.
https://github.com/Open-Attestation/oa-verify#switching-network

@cavacado Ah that makes a lot of sense. Thanks you for catching that. I'll look into it over the weekend and report back to you.

@cavacado @simboonlong it all works now. Thanks for all your help!
I hope there can be more error messages, though. For instance

if I change an issued document and try to verify, I don't get any specific error message
if I issue a document with a wrong DNS, I don't get any specific error message when I try to verify.
if I wrap a doc with a wrong document store address, I don't get and specific error message when I try to verify
The verification fails properly in all cases, but no specific error message to report to the user. All fragments returned from the verify() call are in status SKIPPED or VALID.

if I change an issued document and try to verify, I don't get any specific error message

Could I clarify this statement abit more? Are you trying to say that if I modify the issued document (ie changing a field in the wrapped document, like name from John to Joe, effectively tampering it?), then you dont get any specific error message when you verify?

if I issue a document with a wrong DNS, I don't get any specific error message when I try to verify.
if I wrap a doc with a wrong document store address, I don't get and specific error message when I try to verify

For these cases, how would the independent modules know about whether the information supplied is wrong? In the first place what is a wrong DNS or wrong document store address? To me, this seems like a integrator's specific problem as an integrator would have the sufficient knowledge to understand what is "right" or "wrong" and thereby handle the exceptions accordingly, at this level (library level) we try not to concern ourselves with these issues.
I hope this helps.

@cavacado

yes if I change say the last name of the recipient, and try to verify, it fails but I don't get any specific message.
I used a DNS like aaa. It wraps and issues the doc ok. When I try to verify, It fails but no message. I'd expect a "Unable to query DNS" message like I had when dns.google was blocked on my machine
If I use a wrong doc store address, I can't issue it, but I can wrap. And if I try to verify the wrapped doc it fails, but no message. I'd expect a message like "Invalid document store".

did you inspect the fragments object returned by the verifier manager? That should give the desired "error" (more like status) messages you need.
The point to note is that the verifier manager is a run-to-completion construct, it doesnt fail immediately once it encounters an error.
on point 3 about allowing wrapping invalid doc store addresses, we have a schema check, but its a loose schema check, whereby as long as the doc-store address is a string we accept it.
Feel free to open any improvement PRs if you feel that what we have currently is not good enough.

@cavacado yes I loop through the fragments, check the status and if it's ERROR I return the message of it to the user. But in those cases I listed, status of all fragments are VALID or SKIPPED.

okay, could you provide

the log of the fragments object that has all VALID or SKIPPED
the tampered document and untampered document.

we will take a look at it if time permits.

@cavacado @simboonlong I'm closing this issue. OA is giving correct error message. I just needed to check both status "ERROR" and "INVALID'.
Thanks for all your help. I'm all good now.


What are normalized coordinates?

In the "Upload and tag images" section there is this description:

The regions specify the bounding box in normalized coordinates

What "normalized coordinates" means, and where can we find a tool that generates such format (aside from Custom Vision Portal)?

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

ID: 0b47b105-296c-139f-7e2c-d4d143aa1ccd
Version Independent ID: 7c55bf3c-739f-8e7d-6dee-40409ffbe548
Content: Quickstart: Create object detection with Custom Vision SDK - Azure Cognitive Services
Content Source: articles/cognitive-services/Custom-Vision-Service/quickstarts/object-detection.md
Service: cognitive-services
Sub-service: custom-vision
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@epomatti Thank you for your feedback! We will review and update as appropriate.

@epomatti Thank you for your feedback! We will review and update as appropriate.

@epomatti Normalized co-ordinates are calculated using the below methods for an area and the bounding boxes:
Normalized Left = Left / Width (in Pixels)
Normalized Top = Top / Height (in Pixels)
Normalized Bounding Box Width = (Right - Left) / Width (in Pixels)
Normalized Bounding Box Height = (Bottom - Top) / Height (in Pixels)
This SO thread also explains the same in more detail. The CV portal can be readily used but a standard tool is not readily available to get these values though outside the portal.

@RohitMungi-MSFT thanks. It troubles me that there are many formats for coordinates out there but no standard. If someone has lots of images and labels and wish to switch platforms they will have to deal with conversions or relabeling everything.
Anyways, it is possible to extract CV portal coordinates using the SDK, so that's good.


3406 remove create res irods userzone

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Clean up dead code including tests as a result of create resource page removal.
Add files from irods to resources now works as AJAX calls so there is no page refresh.

@sblack-usu I wrote a migration command that can migrate all existing resources in user zone to data zone, however, I cannot think of an easy way to test it out until the code is deployed to beta since there is no way to create resource in user zone with the current code and I will have to test using existing resources in user zone with associated Django DB. Rather than spending extra time to set a test environment up for testing this migration command, I am leaning toward waiting until the branch is merged into develop and get deployed to beta for release testing. The migration command is simple and I can easily do a hotfix patch if issues came up during testing on beta. I did run the command step by step especially with iRODS related operations like file copy and AVU setup, so I am confident that the migration command will just work or only need minor patch up if issues did come up during testing. Let me know if you have other suggestions.

@hyi - go ahead and deploy it and test it out on beta.  We're not using it at the moment, and we're likely a couple weeks out from cutting another release branch.

@sblack-usu Sounds good. Will do then.

@sblack-usu I have fixed all issues with migration command script while testing the migration on beta. Here are the list of resources that got migrated from user zone to data zone successfully:
Resource cce67352545d4336a30c2ef1010d9f8e has been moved from user zone to data zone successfully
Resource 6e9285751aeb496a8678ed07d9a3b53d has been moved from user zone to data zone successfully
Resource cbc741446b5b4971a4ea154957d8f836 has been moved from user zone to data zone successfully
Resource eb90289696844b39a79f035a17951e90 has been moved from user zone to data zone successfully
Resource 7f0392828f01467386102ae4b52c3b5a has been moved from user zone to data zone successfully
Resource fef58369046c4a64a2d7564c4e7e1fd0 has been moved from user zone to data zone successfully
Resource fc00c8eaa0944a4a98ea2ddbfe54320e has been moved from user zone to data zone successfully
Resource ba64d962eb6c460abc9a8628946df116 has been moved from user zone to data zone successfully
Resource 3f354dd111f24998b37099ebdf478441 has been moved from user zone to data zone successfully
Resource c9fb977bae21432b8b202f13b62285b1 has been moved from user zone to data zone successfully
Resource ff2a6f87817544a08c82ebcf119bae80 has been moved from user zone to data zone successfully
Resource f42f1387d7d54d7a9228888381d7c30e has been moved from user zone to data zone successfully
Resource ff2e648104254ee4bcf8db925170ea91 has been moved from user zone to data zone successfully
Resource fbc7af608a324a7a9cbbdd415d0a9499 has been moved from user zone to data zone successfully
Resource 9d0376b353cc46ab9de0418b44cc136d has been moved from user zone to data zone successfully
Resource 9e1b23607ac240588ba50d6b5b9a49b5 has been moved from user zone to data zone successfully
Resource 84d1b8b60f274ba4be155881129561a9 has been moved from user zone to data zone successfully
Resource 99c30520f63e47a981b83114918dc9fd has been moved from user zone to data zone successfully
Resource 1f4c09bb397b43dda0e60ba81f305dcc has been moved from user zone to data zone successfully
Resource fdfd9bbc46bb4ea79c312d56d6345a60 has been moved from user zone to data zone successfully
Resource ec518c49772b420b97047f7482ae92aa has been moved from user zone to data zone successfully
Resource 14f281989f8945149c7eaef2d54db174 has been moved from user zone to data zone successfully
Resource 595d6e05178747049060f549ab4412be has been moved from user zone to data zone successfully
Resource 2398125bdda646989a087df5dac5b440 has been moved from user zone to data zone successfully
Resource a892638904f549989c54eea38a46a1d4 has been moved from user zone to data zone successfully
Resource f1d8538fbac14129bc066ce636ab27b0 has been moved from user zone to data zone successfully
Resource 32944c954731485586d46135a2298fed has been moved from user zone to data zone successfully
Resource 564e5afa8e0c4a2585c17098f05eb524 has been moved from user zone to data zone successfully
Resource f399b429ce8a47f2946a97e1f0b83028 has been moved from user zone to data zone successfully
Resource ef452556cb734b4bb44928b503ca42fe has been moved from user zone to data zone successfully
Resource 123a2576a61c4262809d6212a1356736 has been moved from user zone to data zone successfully
Resource 49e9597217604d8c8845140ec409bf47 has been moved from user zone to data zone successfully
Resource f466cfab3eca4728a7c15adbd6816a12 has been moved from user zone to data zone successfully
Resource 46db000c13724ac789e1fc92c8609b6c has been moved from user zone to data zone successfully
Resource 95095638ee004c44bae54e671cd0cde9 has been moved from user zone to data zone successfully
Resource bbe8a777df8a4792b2856253b542ce50 has been moved from user zone to data zone successfully
Resource b145f9a9452e436693904bad2b22e859 has been moved from user zone to data zone successfully
Resource 2653f09ba16d401a9ee9bb7fe77f584f has been moved from user zone to data zone successfully
Resource 24792a48a6394dcba52da62fa324ae40 has been moved from user zone to data zone successfully
Resource abba182072cc48b691ca61509019e9f8 has been moved from user zone to data zone successfully
Resource 2af8df74fc6344f4a13ed9c56c09fa40 has been moved from user zone to data zone successfully
41 resources have been moved from user zone to data zone successfully

I have cherry picked several resources to test including downloading individual files and zipped bag and they all look correct. An example of migrated public resource can be found here: https://beta.hydroshare.org/resource/7f0392828f01467386102ae4b52c3b5a/.
So this PR is ready for review - although I will watch the Jenkins check to make sure all tests will pass.

@Maurier Thanks. @sblack-usu All tests have passed and @Maurier has approved the frontend of this PR. Please review the backend when you have a chance. Thanks.


Fix oe-selftest log message case

Was changed recently

ah nevermind, it would need to be on top of #699. I'll just push it there.


to add open source flutter app "Fwitter"

Fwitter is a Twitter(now X) clone built using the Flutter framework. Fwitter aims to replicate the look, functionality, and features of Twitter while leveraging Flutter’s capability for cross-platform application development. Fwitter provides users similar User interface to Twitter, allowing them to post tweets, follow users, explore trends and hashtags, and stay connected to other users by liking and commenting on the posts.
repo link :https://github.com/TheAlphamerc/flutter_twitter_clone?tab=readme-ov-file

@ashitaprasad  please assign me this issue


Separate zooming from zooming and panning

when zooming, we want to see the zooming in on the center of the visualization, just like when your click + from google map.

When you use chart.zoom() to get the current transform, it will give you the current offset and scale
With knowledge of the chart size, you can then create a new scale and offset to zoom around the center of the chart.
The logic roughly goes like this:

First translate the center of the current chart to 0,0
Change scale
translate back to 0,0

It's a common geometric problem, you should be able to find an online algorithm that allows you to do so

Hi Graham,
For some reason, the offsets returned from chart.zoom() are always zero
but I did see the center of the chart moved in both x and y direction.
Here is the piece of codes I'm using:
var chart = brunelJS.charts[0];
var origZoom = chart.zoom();
//check current scale value.
origZoom .toString(); ====> translate(0,0) scale(1)
//apply scale value 1.2:
origZoom.zoom( origZoom.scale(1.2) );
origZoom .toString(); ====> translate(0,0) scale(1.2)
What is the right function to get the offset values?
Thanks
Jane
From:   Graham Wills<EMAIL_ADDRESS>To:     Brunel-Visualization/Brunel<EMAIL_ADDRESS>Cc:     Jane Jiang/Chicago/IBM@IBMUS, Author<EMAIL_ADDRESS>Date:   09/07/2016 01:33 PM
Subject:        Re: [Brunel-Visualization/Brunel] Separate zooming from
zooming and panning (#142)
When you use chart.zoom() to get the current transform, it will give you
the current offset and scale
With knowledge of the chart size, you can then create a new scale and
offset to zoom around the center of the chart.
The logic roughly goes like this:
First translate the center of the current chart to 0,0
Change scale
translate back to 0,0
It's a common geometric problem, you should be able to find an online
algorithm that allows you to do so
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You will need to add translation values to ensure you zoom around the
center of the chart. Otherwise you will zoom around the origin
Graham Wills
STSM, Analytics and Data Science
IBM Watson Analytics
work:
<EMAIL_ADDRESS>personal:
<EMAIL_ADDRESS>blog:
workingvis.com
From:   cjiang-ibm<EMAIL_ADDRESS>To:     Brunel-Visualization/Brunel<EMAIL_ADDRESS>Cc:     Graham Wills/Chicago/IBM@IBMUS, State change
<EMAIL_ADDRESS>Date:   09/08/2016 10:09
Subject:        Re: [Brunel-Visualization/Brunel] Separate zooming from
zooming and panning (#142)
Hi Graham,
For some reason, the offsets returned from chart.zoom() are always zero
but I did see the center of the chart moved in both x and y direction.
Here is the piece of codes I'm using:
var chart = brunelJS.charts[0];
var origZoom = chart.zoom();
//check current scale value.
origZoom .toString(); ====> translate(0,0) scale(1)
//apply scale value 1.2:
origZoom.zoom( origZoom.scale(1.2) );
origZoom .toString(); ====> translate(0,0) scale(1.2)
What is the right function to get the offset values?
Thanks
Jane
From: Graham Wills<EMAIL_ADDRESS>To: Brunel-Visualization/Brunel<EMAIL_ADDRESS>Cc: Jane Jiang/Chicago/IBM@IBMUS, Author<EMAIL_ADDRESS>Date: 09/07/2016 01:33 PM
Subject: Re: [Brunel-Visualization/Brunel] Separate zooming from
zooming and panning (#142)
When you use chart.zoom() to get the current transform, it will give you
the current offset and scale
With knowledge of the chart size, you can then create a new scale and
offset to zoom around the center of the chart.
The logic roughly goes like this:
First translate the center of the current chart to 0,0
Change scale
translate back to 0,0
It's a common geometric problem, you should be able to find an online
algorithm that allows you to do so
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Unchanged URL if you visit authenticated route directly

If I visit authenticated route directly (type it in the browser address bar), after login and transition (to that route), URL is unchanged and it is still /login.
This is probably because of attemptedTransition.urlMethod (https://github.com/simplabs/ember-simple-auth/blob/66758be/addon/mixins/application-route-mixin.js#L110) in such situation is undefined. If I set it to "update" it is working.
My question is is it an issue? Or it should work like that because of Ember.js
I'm using 2.13.1 and latest ESA

I cannot reproduce that behavior in the dummy app. Can you add some steps for reproducing this in the dummy app?

closing due to inactivity


API Token instead of CA key

Hi there.
As I understand the API Token isn't supported at the mom and the recommended usage is origin ca keys. However, I'd like to know if there's any workaround in case I cannot use the ca key due to the company's policy?
Many thanks,
T.

Nope, at this time only the Origin CA API Key is supported by the API endpoints.

Thanks @terinjokes! Any ideas when this feature would be available or planned for the roadmap?

There's been no change in the API support here, nor has Cloudflare stated anything about when or if this will be supported. Since there's nothing I can do here, closing out this ticket. Fill free to reopen when and if this support is added to the Cloudflare API.
X-Ref: ACCT-1871


Add rate limit per user to Channel struct

https://discordapp.com/developers/docs/resources/channel

Thanks @Seklfreak!


Adding memory/history to ChatGPT

Hey guys,
Thanks for building this awesome workflow out. Would it be possible to add memory/history so that the API remembers what you previously asked it?
Thanks again! :)

I apologize for the delay in responding. Currently, this workflow does not keep past messages and responses. It is possible to add memory/history, but I need a good idea about how to handle it within the limitations of what an Alfred Workflow can or should do. Thank you for your question. I'll keep thinking about it!


Add formatting for patents on the publications page

An example patent entry is "Multimodal beacon based precision landing system for autonomous aircraft"

@jfkeller would this one be easy for you, as you are the most familiar with the references formatting?

This should be fixed by commit dc90fec.


Fix "beach down" when not using devkit

This changes filters no longer by the presence of the devkit container
but uses the "local_beach" network to identify Local Beach projects.
Fixes #48

Gnah, one new issue now, when the database is running:
INFO Stopping instance in /Users/karsten/Sites/foo...
INFO Stopping instance in /Users/karsten/.LocalBeach...
FATAL stat /Users/karsten/.LocalBeach/.localbeach.docker-compose.yaml: no such file or directory

Now it works as expected (by me)… 😎


[Feature]: Please make us able to change the message the bot sends on restart.

Scope
Web
Feature Description
Please make us able to change the message the discord bot sends on restart and on server start.
Use Case
I wanted to ping @everyone when the server started up but couldn't
Proposed Solution
Make us able to edit the message
Additional Info
No response

Hey there.

you can totally change the bot message, just use a custom locale (it's in the docs);
the bot code explicitly blocks mention of @everyone and @here;
this is a real real bad idea to use your @everyone like that. People don't like getting pinged for superfluous things.


after slidingMenu open, can't scroll on listview

Hi, and tnx a lot for your library.
i have problem really strange, that , when i open sliding menu , its look good, then when i close that, i can't scroll on list view, and it kind of stuck there, note that , if you act fast, while sliding menu closing, you can scoll it a bit , then it stock again.
any idea?
tnx

Hi
I have same problem but i cannot solve it.
Do you can solve it?

Hello everyone,
The same problem continues. Is there anyone who can solve it?


Use backend_compat module's convert to target

Summary
This commit fixes an issue with the fake backend classes built on the BackendV2 that used ECR or CZ (or any 2q gate besides CX) as gates. The fundamental issue was the fake backend class had a hardcoded dict mapping gate names to classes to use for generating a target. This prevents the correct gate class from being reported when a backend uses gates outside of that dict. To fix this issue this commit switches the fake backends to use the convert_to_target function which is part of the BackendConverterV2 class. That function provides the same functionality as the one used internally by the fake provider except it is more general as its designed to work with any backend. At the time of its introduction this unification wasn't done because the fake backend's version would be more efficient because it doesn't generate unused intermediate object forms. But, a small loading time performance regression against correct operation and de-duplicating code paths using the more general function is a better choice. In a future commit we can deprecate and remove the fake backend version of convert_to_target.
Details and comments
Fixes #10004
Fixes #9983

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

15 of 17 (88.24%)  changed or added relevant lines in 2 files are covered.
102 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.04%) to 85.821%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/providers/backend_compat.py
6
8
75.0%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/vf2_layout.rs
1
86.44%

crates/qasm2/src/expr.rs
1
93.76%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
1
95.37%

crates/accelerate/src/sabre_swap/mod.rs
2
99.53%

crates/qasm2/src/lex.rs
4
91.14%

qiskit/providers/fake_provider/utils/backend_converter.py
93
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
71066

Relevant Lines:
82807

💛  - Coveralls


Sprint 2: 3.1 and 3.4 lesson Review

Assignment
Points
Grade
Evidence

Baseline Grade
55%
55%
Lowest possible grade. Blank submission.

Max Grade
90%
0.88%
I  gave myself an 88% for the maximum grade, I completed my homework hacks and popcorn hacks. I have also demonstrated a good understanding of the topics.  Something that I could improve was making the homework hack more challenging and creative and explaining examples better.

Pull Request (Integration)
1
1
Our group completed the pull requests diligently. We did not run into major issues, because we were careful to change our own lesson and refrained from interfering with our teammates.

Relevancy Checklist (Peer)
2
1.8
Our code was relevant to our topic and what the college board deemed noteworthy as well as avoiding unnecessary topics.  I feel like I could explained the topic better and overall presented better.

Lesson Style (Period)
1
0.85
We changed the theme and added more appealing fonts, but could have gone above and beyond by adding more interactive lessons and examples.

Homework, Popcorn Hacks
1 x 5
4
I gave myself a 4, because I completed all the homework and popcorn hacks however I submitted two of them late and the links I submitted weren't clear.

Individual Contribution
1
0.9
I believe that I deserve a 0.9 because I completed the lessons efficiently. I also structured and wrote them in a way that is user-friendly very concise and to the point, so the reader can grasp the information quickly. However, I could use some improvement in my speaking skills. However, I did help other students with code issues.

Personal Notebooks / Blogs
1
1
My personal notebook and blog contained all the lessons popcorn hacks and homework hacks, which made it simple and efficient to submit.

Total
11
9.55

Skill
Points
Grade
Evidence

Work Habits (Analytics)
1
0.8
I submitted one of the homework hacks late and could have utilized my class time better.

Team Planning (Issue)
1
0.9
We used a group chat to communicate, and we believe that our pull requests were on time, all of our lessons were fully completed and easy to read, but we should have rehearsed our presentation a bit more.

Presentation Memories
1
0.85
We split the lessons equally so that we each had a say in what we taught. However, we could have rehearsed a bit more and improved the overall presentation of our lesson.

Grading and Feedback
1
0.85
My grading for homework were all around 0.83, because I submitted one assignment late and the actual blog was hard to read.

Beyond Perfunctory
1
0.8
I believe I had to put in work to understand the python aspect of the lessons and code, because that is something that I did not really go into when crafting my lesson.

https://githubneos.github.io/Keerthan_2025/

Used table with drop down.   Discussed number guessing game that implements fundamentals.   Reflection on JavaScripts using Python fundamentals.

Used a drop down menu and when you hover it gives a summary same as mihir. Made a guessing game using booleans and more. used javascript specifically.

Hi Keerthan,
I liked that you also had a drop-down menu that had summaries for each unit. You random number game that connected to each concept was also clever and I can see how it would be an effective study tool. I also liked how you discussed how your lesson was mainly in javascript.

Keerthan made a number guessing game that was based on booleans, iterations, and variables. I like how simple the game was, but at the same time, also used many of the concepts we learned. One thing I would recommend is maybe showcasing more of your accomplishments and hacks.

Used a similar table style for organization which is nice!
Created a number guessing game that uses a few aspects of our sprint 2 lesson using javascript!

He had a drop down menu, which was pretty unique and not seen before.
He made a guessing game using many things we learned throughout Sprint 2

I like your cumulative project about the random number generator, showcasing all that you learned. Plus, the drop down menu is a smart idea.

Glows:

I liked your number guessing game, I thought it was a good application.
I like your sub menu and drop down
Grows:
You could improve the style of the number game to make it more user interactive

Hi Keerthan, I like your summaries and drop down menus. I also like your added game. I think that you could've projected your voice a little better.

I like your drop down menus and summaries a lot, it was similar to mihirs I would assume you shared the code with him, it looks like it was a time taking task! Good job Keerthan!

I like the buttons you used to link the lessons to, and the drop-down menus incorporated into it, The hack with the number-guessing game was good.

yuor button and dropdown menu was really good and I liked it

I liked your style of organization and drop down menus.


Escaped path crashes decode_param

A request with escaped characters e.g. /p%E4%E4si%E4inen, i.e. /pääsiäinen (Finnish for easter), causes decode_param in lib/layer.js to choke. Or rather decodeURIComponent throws a URIError,  but the effect is the same.
This is a seemingly simple issue to fix (normalise, i.e. unescape path), but I'm unsure whether the obvious solution is indeed the right one, and also I'm at a loss about at which stage the patch should be applied. Quite sure it should not be in layer.js, though.
Steps to reproduce:

Create a server having a route with a capture group

var app = require("express")();

app.get(/^\/(.*)/, function (req, res, next) {
    res.
        header("Content-Type: text/html;charset=utf-8").
        status(200).
        send("Your path is:" + req.path)
    ;
});

app.listen(8080);

Request http://localhost:8080/p%E4%E4si%E4inen

Expected result:
The request path echoed back to the browser
Actual result:
TypeError: Failed to decode param 'p%E4%E4si%E4nen'
   at decode_param ([...]/node_modules/express/lib/router/layer.js:147:15)
   at Layer.match ([...]/node_modules/express/lib/router/layer.js:119:11)
   at Function.match_layer ([...]/node_modules/express/lib/router/index.js:288:16)
   at next ([...]/node_modules/express/lib/router/index.js:189:10)
   at expressInit ([...]/node_modules/express/lib/middleware/init.js:23:5)
   at Layer.handle [as handle_request] ([...]/node_modules/express/lib/router/layer.js:76:5)
   at trim_prefix ([...]/node_modules/express/lib/router/index.js:270:13)
   at [...]/node_modules/express/lib/router/index.js:237:9
   at Function.proto.process_params ([...]/node_modules/express/lib/router/index.js:312:12)
   at [...]/node_modules/express/lib/router/index.js:228:12

Affected versions: discovered on 3.0.4, still present in 4.9.5

@nikcorg @dougwilson  Late to reply. Another major problem still exists with this in that a user coming to your website on this malformed path can see the error log and can see your project directories paths on the server. This http://stackoverflow.com/a/36147121/1768337 could prevent that from happening. (info for people coming here looking into this issue)

@deathg0d , the stack trace is from any error. Your Express has not been configured properly if you are seeing a stack trace. Please see the documentation http://expressjs.com/en/guide/error-handling.html and especially the last section.

And for those coming by later, the TL;DR is add app.set('env', 'production') to your app or set the environment variable NODE_ENV to production when running in production. If you are using npm start to run your application in production, you can just npm config set production true and then npm start will automatically set your NODE_ENV.

@deathg0d , the stack trace is from any error. Your Express has not been configured properly if you are seeing a stack trace. Please see the documentation http://expressjs.com/en/guide/error-handling.html and especially the last section.

The document doesn't say anything about this

app.set('env', 'production')

This works!

The document doesn't say anything about this

Hi @cutie6 , sorry you are having problems. Even thought that post was from 5 years ago, I checked the linked documentation and it does indeed still state this:

[...] the error will be written to the client with the stack trace.


"could not resolve the kernel binary" on Windows and Linux

After upgrading flutter (flutter upgrade) today, I've tried running an application which was previously working just fine, when I run flutter run I get some errors.
Here the output from flutter run -v
[  +13 ms] executing: [/home/devlwkyan/opt/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +23 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 17e4ae135dfbf76984e1d8ee2fba5f9c55790a72
[        ] executing: [/home/devlwkyan/opt/flutter/] git describe --match v*.*.* --first-parent
--long --tags
[  +17 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.10.6-22-g17e4ae135
[   +4 ms] executing: [/home/devlwkyan/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/devlwkyan/opt/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +31 ms] executing: [/home/devlwkyan/opt/flutter/] git rev-parse --abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +52 ms] executing: /home/devlwkyan/customisations/Android/Sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /home/devlwkyan/customisations/Android/Sdk/platform-tools/adb
devices -l
[        ] List of devices attached
[  +13 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +110 ms] Launching lib/main.dart on Linux in debug mode...
[  +19 ms] Building Linux application...
[   +6 ms] make: Entering directory
'/home/devlwkyan/Documents/Programming/Flutter/linux_config/flutter-desktop-embedding/example/lin
ux'
[        ] /home/devlwkyan/opt/flutter/packages/flutter_tools/bin/tool_backend.sh linux-x64 debug
[+1152 ms] mkdir -p
/home/devlwkyan/Documents/Programming/Flutter/linux_config/flutter-desktop-embedding/example/linu
x/../build/linux/debug/data
[        ] rsync -rpu --delete
/home/devlwkyan/Documents/Programming/Flutter/linux_config/flutter-desktop-embedding/example/linu
x/../build/flutter_assets
/home/devlwkyan/Documents/Programming/Flutter/linux_config/flutter-desktop-embedding/example/linu
x/../build/linux/debug/data
[   +3 ms] make: Leaving directory
'/home/devlwkyan/Documents/Programming/Flutter/linux_config/flutter-desktop-embedding/example/lin
ux'
[   +7 ms] Building Linux application... (completed in 1.2s)
[  +94 ms] [ERROR:flutter/shell/platform/embedder/embedder.cc(629)] Not running in AOT mode but
could not resolve the kernel binary.
[   +1 ms] [ERROR:flutter/shell/platform/embedder/embedder.cc(53)] Returning error
'kInvalidArguments' (2) from Flutter Embedder API call to 'FlutterEngineRun'. Origin:
../../flutter/shell/platform/embedder/embedder.cc:631
[        ] Failed to start Flutter engine: error 2
[  +14 ms] Failed to create window.

I've cloned flutter-desktop-embedding/example, so I could test whether it's a problem with my program, but I get the same output.  flutter doctor presents no issue. I'm using arch linux.

Hello @cabutoaerodesign !
Thank you for posting an issue.
Can you please also provide an output of the flutter doctor -v command?
Thank you.

Looks like this is affecting Windows and Linux, but I'm not able to reproduce on macOS. Could be a bug specific to the tool_backend codepath given that, but needs investigation.
I'll take a look when I'm in the office later today, but if someone wants to investigate before then the next step is to figure out what the last hash that worked/first hash that broke was.

@janmoppel here the output:
[✓] Flutter (Channel master, v1.10.7-pre.23, on Linux, locale en_GB.utf8)
    • Flutter version 1.10.7-pre.23 at /home/devlwkyan/opt/flutter
    • Framework revision e0247442d0 (8 hours ago), 2019-09-26 02:49:41 -0400
    • Engine revision 3713ecf107
    • Dart version 2.6.0 (build 2.6.0-dev.2.0 c6a14f4459)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/devlwkyan/customisations/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /home/devlwkyan/customisations/Android/Sdk
    • Java binary at: /home/devlwkyan/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5871855/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Linux toolchain - develop for Linux desktop
    • clang++ 8.0.1
    • GNU Make 4.2.1

[✓] Android Studio (version 3.6)
    • Android Studio at /home/devlwkyan/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5871855
    • Flutter plugin version 39.0.5
    • Dart plugin version 192.6527
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Linux • Linux • linux-x64 • Linux

• No issues found!

Regressed in https://github.com/flutter/flutter/pull/41302. Incremental builds are inconsistent about whether they work, but clean builds reliably fail starting there.
@jonahwilliams ^^^

Got that same error now.
@jonahwilliams There was a commit you reverted some days ago and the it worked again. I can't remember which one or when it was.

We know the commit that caused it (see above), we're just figuring out how to fix this in the way that will minimally disrupt existing users of build bundle

@jonahwilliams
I make heavy uses of build bundle and have found out an issue that appears on Flutter 1.10.7-pre.123  and leads to the same "could not resolve the kernel binary" error.
This issue appears when using the --asset-dir flag.
flutter version:
Flutter 1.10.7-pre.123 • channel master • http://github.com/flutter/flutter
Framework • revision bedf46d06e (6 minutes ago) • 2019-10-02 15:21:45 -0700
Engine • revision aa8fcbb652
Tools • Dart 2.6.0 (build 2.6.0-dev.4.0 98b286de21)

Steps to reproduce:
$ flutter build bundle --asset-dir /tmp/test
$ tree /tmp/test # looks good
/tmp/test
├── AssetManifest.json
├── FontManifest.json
├── isolate_snapshot_data
├── kernel_blob.bin
├── LICENSE
├── packages
│   └── cupertino_icons
│       └── assets
│           └── CupertinoIcons.ttf
└── vm_snapshot_data
$ flutter build bundle --asset-dir /tmp/test2
$ tree /tmp/test2 # also looks good
/tmp/test2
├── AssetManifest.json
├── FontManifest.json
├── isolate_snapshot_data
├── kernel_blob.bin
├── LICENSE
├── packages
│   └── cupertino_icons
│       └── assets
│           └── CupertinoIcons.ttf
└── vm_snapshot_data
# BUT
$ tree /tmp/test # gets deleted
/tmp/test
└── packages
    └── cupertino_icons
        └── assets

@Drakirus Please file a new bug; that's not the same case as this bug (which would have resulted in your very first /tmp/test missing files). It may also be a result of switching to assemble, but the fix would be different.


Create Github release and .jar file

https://github.com/CS2103JAN2018-W10-B1/main/releases/tag/v1.3


Cleanup cluster-config-status entities and deleted clusters

Description
We are facing massive growth of cluster-config-status entities which lead on stage to a massive DB performance degradation.
https://console.cloud.google.com/sql/instances/kyma-mps-stage-730c/insights;duration=PT1H;sort_by=TOTAL_EXEC_TIME?project=sap-ti-dx-kyma-mps-stage&ref=https:%2F%2Faccounts.google.com%2F&pli=1&rapt=AEjHL4N58UTZ3Un3dmW8HByPqOU9hEDUf8jnnYAtYKPUK3VnHEO1r-cxLnhkTtkUBkYvAodNlGYkzDwIGmBynov20_bVA17WwA
This requires a fast enhancement of the existing housekeeping logic to ensure, that the amount of cluster-config-status entities isn't growing endless. Additionally, also deleted cluster entries should be dropped after a particular time.
AC:

A cluster-config-status entity in the DB should be dropped when it is no longer referenced by a reconciliation entity

Deleted cluster entries (=cluster-entity + its cluster-config-entities + their cluster-config-status entities) should be deleted  after Y days.

This logic should become another cleanup-strategy of our cleaner-module in the mothership reconciler.
Side note: If possible, a first short-term solution in form of a SQL-script should be implemented to avoid outage-risks on our STAGE landscape
Reasons
Address identified scaling problems of STAGE database caused by huge amount of cluster-config-status entities.
Attachments

Initial cleanup with following scripts is done:
1_create_to_delete_views.sql.txt
2_delete_obsolete_config_statuses.sql.txt

(* no longer referenced by a cluster configuration entity - check foreign key constraint)

Here a visualized view of the data - all orange entries can be dropped:

Initial findings:
As a preliminary solution it is decided to implement through views, since the complexity is tedious to be implemented with the existing SQL framework. The views' performance was already tested on DEV db and it gave acceptable figures. To support the view implementation, new model entities would be required.
Due to inter relational foreign key dependencies; amongst clusters, configs, status, reconciliations and operations, it was decided remove to be deleted cluster status corresponding reconciliations first, to avoid foreign key constraint issues.
For deleted cluster entities, by default 20 days is taken as a static value, which can be adjusted using the reconciliations-max-age-days flag

Configuration of new feature flags: https://github.com/kyma-project/control-plane/pull/1488


[BEAM-491]-Reuse context and disable UI in the Spark runner tests

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Rename dataflow to beam.

R: @kennknowles
Generally LGTM but Kenn has opinions here :)

Wow... I was waiting for Jenkins/Travis before Ring you guys 😄
This should solve the Jenkins issues since all spark.* System properties propagate into the SparkConf

LGTM once tests pass. The conservative software engineer in me says that we should stick to public documented properties and use spark.ui.port=0 but I can suppress that feeling since this property should be public.

Thanks, merged!


Fix js and Utf8 deprecation warnings

Since recent Haxe 4.1.0 nightlies, there are deprecation warnings for untyped __js__ usage:
Warning : __js__ is deprecated, use js.Syntax.code instead

js.Syntax is already available since Haxe 4.0 though.

@mikestead Would you have any time to merge and release this fix sometime soon?

I am also interested in this PR being merged if possible. New to the Haxe community, but would appreciate this nonetheless


nuxt types not working

My project using

@nuxt/types: ^2.13.3
@nuxt/typescript-build: ^2.0.0

seems vue and vue-property-decorator packages are missing

my webstorm not detecting type definitions

i need install packages manually and it works

@hanh-dev What version of Webstorm are you using? See this announcement.
You can also get type hinting like this:
import Vue from 'vue'

export default Vue.extend({
  ...
})

version of webstorm i using is

that is same with Vue.extend

it only works again when i install missing packages for my project

many other packages not installed in @nuxt/types

This is not an issue with Nuxt. But the good news is that it appears that the next version of Webstorm will have full support for Nuxt. 👍

/cc @kevin

Installing vue-property-decorator to fix it doesn't make sense, it has nothing to do with it.
I don't have Webstorm experience but it seems it's Webstorm issue that can't find vue when it's not in dependencies/peerDependencies of a package present in root package.json.
Also, I don't know how Webstorm handles tsconfig.json but please check your file is correctly set (See https://typescript.nuxtjs.org/guide/setup.html#configuration)
In any case you need to use Vue.extend to properly have type inference.

Yes, it seems webstorm can't find vue on dependencies/peerDependencies of @nuxt/types.

Also, that problem not appears on @nuxt/typescript-build <= 1.0.3

this is my tsconfig

@hanh-dev Maybe it's Webstorm not compatible with TypeScript 3.9 installed by<EMAIL_ADDRESS>

it problem not appears on@nuxt/typescript-build <= 1.0.3, because webstorm find vue dependencies in package.json of fork-ts-checker-webpack-plugin
it problem will be simpler by add missing dependencies to package.json present of @nuxt/types


the same meow variation can repeat

idk i just don't like that I'll fix it i guess. a

fixed in 0.2 :+1:


Added support for setting ModuleSplitStyleJS

Waiting for: https://github.com/scala-cli/bloop-core/pull/167 + release
Creating this PR before the change in bloop-core is merged to get some feedback on the way I have handled this for the bleep.yaml schema. This was the best I could come up with. Feedback appreciated.
A possible alternative is to define two objects, one for the split stlyle and one for packages and then just join those two internally, allowing a flatter structure in the bleep.yaml. The default option used by esmodules will probably be SmallestModules anyway.

Tested the schema using a scalajs bleep project and Intellij was autocompleting and linting like a champ. choosing esmodules now gives linter warning about missing required field.
  template-js:
    platform:
      jsEmitSourceMaps: false
      jsJsdom: false
      jsKind: esmodule
      jsMode: debug
      jsNodeVersion: 18.4.0
      jsVersion: 1.16.0
      jsSplitStyle:
        splitStyle: FewestModules
      name: js

if splitStyle: SmallModulesFor is set it gives a warning about missing required property packages

I also think it's possible to set regex rules for the packages property in the schema. There is probably many such things that could be added here and there to the schema to provide better linting. There is obviously the trade-off that it makes the schema a lot more complex. It might be one of those places where the complexity is worth it though.

The required change is merged into scalacenter/bloop. So we can hold off on this until bleep uses that instead of the fork


Error missing openvpn in PATH

ERRO error while creating cluster: error while executing infrastructure phase: can't get tool version: error getting openvpn version: openvpn openvpn --version: command failed - exec: "openvpn": executable file not found in $PATH

Should add some process to fetch the binary as already done with other dependencies.

The binary for openvpn won't be managed by furyctl, but we should document the requirement.

Solution: since openvpn is optional, the only thing we can do is checking if the vpn section is present in the furyctl.yaml and if so, require the binary to be there. in all the other cases, furyctl should ignore its presence during the validation.

It seems that if openvpn is not present, and vpn is used (on EKS) it will not trigger an error during validation step

Closing as stale


In Template : Change innerHTML to innerText ?

As mentioned in  https://github.com/Rickaym/plywood-gallery-for-vscode/issues/6?notification_referrer_id=NT_kwDOAqaLy7M0ODY4MDg0ODY5OjQ0NDY5MTk1
it would be good to change innerHTML to .innerText .
But this has to be tested:
What happens if the python code contains strings that contain html tags?

What happens if the python code contains strings that contain html tags?

These will be inserted as text and not as HTML. If that's not what you want you should probably stick to insertHTML.

As tested via the firefox console this would look like following with innerText:

=>

And with innerHTML:

=>

That is just a matter of styling. Which highlighter are you using?

I am using https://highlightjs.org/
Do you want to have a look at this issue and maybe submit a PR on that? :)

https://github.com/kolibril13/plywood-gallery/pull/14

This should be fixed now. Can you close this issue?


Fabrikate generates a monolithic yaml file rather than one per template

As a:
Consumer
I want:
Helm charts templated out per object rather than one large manifest.
So that:
It’s easier to interrogate the resulting manifest files based on object type.
Describe the solution you'd like:
Upon generating the templates, the output should look something like,
generated/<env>/<subcomponent>/<objecttype>.yaml
Describe alternatives you've considered:
Additional context:

Woops, this looks to be a duplicate of #256


Fix authorization

With commit c1004bb6d4c7 request/response header values are lists now.
As requests are reused the header value lists have to be cleared.
Otherwise headers like Cseq will have duplicated entries, resulting in
sending e.g. Cseq=2 and Cseq=3 might in one request.

@portizb: do you have a solution to fix the problem?
At least for me it is not possible anymore to stream any video because RTP messages with two Cseq entries (e.g. Cseq=2 and Cseq=3) are not valid and rejected by the camera.
At least the Cseq header has to be deleted before another (different) Cseq header is added.

@portizb: do you have a solution to fix the problem?
At least for me it is not possible anymore to stream any video because RTP messages with two Cseq entries (e.g. Cseq=2 and Cseq=3) are not valid and rejected by the camera.
At least the Cseq header has to be deleted before another (different) Cseq header is added.

@tobigun It's true ... I didn't remember that multiple headers are now allowed. Let me think about it and now I tell you.
Thank you and I'm sorry!

@tobigun This library should not allow duplicate headers except for the Authorization header
Modify the Headers class as follows and tell me when you try it.
public synchronized void add(String name, String value) {
    headersSnapshot = null;
    if (headers.containsKey(name)) {
        List<String> values = headers.get(name);
        if (Header.Authorization.equals(name)) {
            values.add(value);
        } else {
            values.set(0, value);
        }
    } else {
        headers.put(name, new ArrayList<>(Arrays.asList(value)));
    }
}

@portizb: thanks, your fix works. I can see the video stream again.
Before I applied your fix I always had Cseq=2 and Cseq=3 in the header and then the streaming did not start but that is fixed now.
By the way: the problem I faced before was not, that the message was sent with two Cseq headers (as I initially thought). The problem was that the message was not sent at all as Dispatcher.java:178
Integer cSeq = Integer.parseInt(message.getHeaders().value(Header.CSeq));
always returned the first Cseq in the list which was 2. So the issue was not camera related.

@portizb: thanks, your fix works. I can see the video stream again.
Before I applied your fix I always had Cseq=2 and Cseq=3 in the header and then the streaming did not start but that is fixed now.
By the way: the problem I faced before was not, that the message was sent with two Cseq headers (as I initially thought). The problem was that the message was not sent at all as Dispatcher.java:178
Integer cSeq = Integer.parseInt(message.getHeaders().value(Header.CSeq));
always returned the first Cseq in the list which was 2. So the issue was not camera related.

@tobigun Thank you for detecting this issue.

I just checked if authorization also works as before but it does not anymore. If "basic" and "digest" are allowed the lib now chooses basic instead of the more secure digest.
The reason is:

If a 401 is returned in the response, the possible auth-methods are in the header "WWW-Authenticate". The Authorization header is only used in the login request that follows the 401 (see dump below).
Header.Authorization is an object of the enum type Header and cannot be compared with a String via equals(). This is very tricky and I also made this mistake when I wanted to debug the CSeq header.

So the check must be as follows:
            if (Header.W3Authenticate.toString().equals(name)) {
                values.add(value);
            } else {
                values.set(0, value);
            }

I am not sure if there are cases in which multiple Authorization headers are used but I am not aware of any.
Here a dump of the messages after my fix:
    CSeq: 2
    WWW-Authenticate: Digest realm="IP Camera(P1144)", nonce="xyz", stale="FALSE"
    WWW-Authenticate: Basic realm="IP Camera(P1144)"
    Date: Thu, Feb 06 2020 19:46:12 GMT

V/Sender: DESCRIBE rtsp://video:falken4547@<IP_ADDRESS>:554/mpeg4/ch01/main/av_stream RTSP/1.0
    CSeq: 3
    User-Agent: ExoPlayerLib/2.10.4 (Media Player for Android)
    Accept: application/sdp
    Authorization: Digest username="video", realm="IP Camera(P1144)", nonce="xyz", uri="rtsp://<IP_ADDRESS>:554/mpeg4/ch01/main/av_stream", stale="FALSE", response="123"

If you want to you can cherry-pick the fix from my repo:
https://github.com/tobigun/ExoPlayer/commit/c9637b7577d3e55515cc7084fb45f0e85a580612

@tobigun Solved. Thxs!


NEW INDEX: sNIRv (SWIR-enhanced Near-InfraRed reflectance of Vegetation)

sNIRv=SpectralIndex(
    short_name='sNIRv',
    long_name='SWIR-enhanced Near-InfraRed reflectance of Vegetation',
    formula='((N - R - S^2)/(N + R + S^2)) * N',
    reference='https://doi.org/10.22541/essoar.171561872.22414664/v1,
    application_domain='vegetation',
    date_of_addition='2024-05-14',
    contributor="https://github.com/MartinuzziFrancesco"
)

Thanks man!
I added that one and all other new indices in that paper! ;)
Cheers!


[BUG] Can't save _seg.npy file after frech install on Windows 10

I just installed cellpose for the first time on a windows 10 machine.  The installation went fine, and I can run the GUI and run models on my image.  However, when I try to save my image+masks as a _seg.npy file, nothing happens and I see this error in the console:
Traceback (most recent call last):
File "C:\Users\Staff\anaconda3\envs\cellpose\lib\site-packages\cellpose\gui\menus.py", line 33, in
parent.saveSet.triggered.connect(lambda: io._save_sets(parent))
File "C:\Users\Staff\anaconda3\envs\cellpose\lib\site-packages\cellpose\gui\io.py", line 498, in _save_sets
np.save(base + '_seg.npy',
File "<array_function internals>", line 200, in save
File "C:\Users\Staff\anaconda3\envs\cellpose\lib\site-packages\numpy\lib\npyio.py", line 518, in save
file_ctx = open(file, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Staff/Desktop/axon_dim_2023/B-m-60x_seg.npy'
If it helps, here is the preceding set of messages in the console:
(cellpose) C:\Users\Staff>python -m cellpose
2023-07-10 16:02:29,037 [INFO] WRITING LOG OUTPUT TO C:\Users\Staff.cellpose\run.log
2023-07-10 16:02:29,037 [INFO]
cellpose version:       2.2.2
platform:               win32
python version:         3.8.17
torch version:          2.0.1+cpu
2023-07-10 16:02:29,422 [INFO] TORCH CUDA version not installed/working.
GUI_INFO: loading image: C:/Users/Staff/Desktop/axon_dim_2023/B-m-60x.tif
(1920, 2560, 4)
GUI_INFO: auto-adjust enabled, computing saturation levels
2023-07-10 16:03:10,706 [INFO] >> cyto2 << model set to be used
2023-07-10 16:03:10,706 [INFO] >>>> using CPU
2023-07-10 16:03:10,877 [INFO] >>>> model diam_mean =  30.000 (ROIs rescaled to this size during training)
2023-07-10 16:04:11,311 [INFO] 257 cells found with model in 60.636 sec
GUI_INFO: 257 masks found
GUI_INFO: creating cellcolors and drawing masks

Do you get the same result if you edit the segmentation at all before saving? I think there is a test for this case which is currently passing

I get the same result when I edit, or do not edit, when I open the file by drag and drop, or via the menu, and also for both .jpg and .tif files.

I just installed on another windows 10 machine and it works, so this is probably my issue, not yours, and prob not worth chasing down.  If you do, the windows version that works is 10.0.17763.4377 and the one that does not is 10.0.17763.4499.  I'll let you guys close.


Fix wrong dot color in XY chart

we had new option dataColors for override chart color since 4c16ed0.
but old code has only overrided to line colors. dot color still used
default colors

Thanks! @d3m3vilurr
You fixed is deployed in v1.0.1

Found two other place with simlar issues fixed in v1.1.2
https://github.com/timqian/chart.xkcd/commit/69650e9b2948f1aaadfe4809d1db54d9d2693e98


FP-1127 fix GTM GA4 identify to not clobber userid

GTM GA4 (both native and Freshpaint versions) supports optional user props
When these are specified, this call is currently being used:
identify("", props, options);

This causes a previously set $user_id to get clobbered with the new value "".

The corrected syntax is below, which preserves any previously-set identity:
identify(props);;

The options arg is removed, since it seems to have no effect when used with identify and the single props arg.

I think the options not having an effect when not passing the identity is a long standing bug.
IIRC you can get around it by doing freshpaint.identify(null, props, options). Can you double check if that works?
If we don't do that, the identify call will be applied to all destinations which we don't want.

it turned out identify(undefined, ...) is what works, with the options arg getting passed thru as desired.
Thx for the tip!


Relevance values are extremely large for some residues

Some residues can show very high relevance that make the receptor relevance very high .
Example to reproduce:
184l.zip
b_factor.zip
It is clear that some amino acids which are near the ligand have very high relevance values

I've looked into this and, for better or worse, I don't think there is a bug.  If you generate the grid files with --outputdx, you'll see that the sum of the relevance values adds up to the expected amount even though there are very large individual grid values.
There was a bug with --gpu caused when we added CUDNN acceleration since the CUDNN layers don't do relevance propagation.  I fixed that 70e3f80ca27d193d6998947ce7a862bcdba330a0


[KOGITO-3908] Don't commit go.mod&go.sum in release pipeline when changing version

https://issues.redhat.com/browse/KOGITO-3908
Small fix to avoid committing go.mod && go.sum which could be modified (somehow) by the bump-version.sh script
Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

tested ok
+ git status
On branch 800.0.0-18f4djm8t0
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   .osdk-scorecard.yaml
	modified:   README.md
	modified:   cmd/kogito/version/version.go
	modified:   deploy/olm-catalog/kogito-operator/custom-subscription-example.yaml
	modified:   deploy/olm-catalog/kogito-operator/kogito-operator.package.yaml
	modified:   deploy/olm-catalog/kogito-operator/manifests/kogito-operator.clusterserviceversion.yaml
	modified:   deploy/operator.yaml
	modified:   go.sum
	modified:   kogito-operator.yaml
	modified:   test/.default_config
	modified:   version/version.go

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	deploy/olm-catalog/kogito-operator/800.0.0/

no changes added to commit (use "git add" and/or "git commit -a")
[Pipeline] sh
+ git add .
+ git reset -- go.mod
+ git reset -- go.sum
Unstaged changes after reset:
M	go.sum
[Pipeline] sh
+ git commit -m 'Update project version to 800.0.0'
[800.0.0-18f4djm8t0 9779c6c2] Update project version to 800.0.0
 15 files changed, 2713 insertions(+), 20 deletions(-)
 create mode 100644 deploy/olm-catalog/kogito-operator/800.0.0/app.kiegroup.org_kogitobuilds_crd.yaml
 create mode 100644 deploy/olm-catalog/kogito-operator/800.0.0/app.kiegroup.org_kogitoinfras_crd.yaml
 create mode 100644 deploy/olm-catalog/kogito-operator/800.0.0/app.kiegroup.org_kogitoruntimes_crd.yaml
 create mode 100644 deploy/olm-catalog/kogito-operator/800.0.0/app.kiegroup.org_kogitosupportingservices_crd.yaml
 create mode 100644 deploy/olm-catalog/kogito-operator/800.0.0/kogito-operator.v800.0.0.clusterserviceversion.yaml

and created PR: https://github.com/radtriste/kogito-cloud-operator/pull/40


Insufficient VRAM

While trying to finetune the openai/whisper-medium model with the google/fleurs dataset, even only using one language (greek) I very soon run out of VRAM, on a 20GB VRAM GPU.
Is there some way to reduce the VRAM consumption?

@J-Korn Please use a lower batch size


Broader vendor support for hardware acceleration

I understand the aim of the llm.c project is to be minimal and educational, yet it's minimal approach makes it an interesting portable and performant target for a variety of platforms. In order to leverage GPGPU hardware acceleration llm.c is supporting the proprietary CUDA C API that is limited to Nvidia hardware only. Adding generic hardware acceleration for more operating systems and GPU vendors like Apple Silicon (think M4), and AMD would be desirable.
Targeting each of these independently using their native APIs would be tedious, so one could consider the abstract wgpu GPGPU C API that translates to native DirectX 12, Metal, and Vulkan APIs calls and runs natively on common operating systems and GPUs. In addition it can also run in browsers that support WebGPU, WebGL or WebAssembly. In fact wgpu's modern API inspired by WebGPU, which is already supported in Chrome and soon in Safari and Firefox, but wgpu extends this to native.
I am also interested in alternatives if this turns out to be out of scope given it's limited resources, but maybe others are also interested in contributing to broader hardware support if it is welcome by the maintainers. Is there interest to provide support for hardware acceleration on a broader hardware base in this or a later phase of this project? I would also be interested in feedback by others if the wgpu abstraction would be a suitable abstraction and how this option contrasts with SYCL https://github.com/karpathy/llm.c/issues/31 that others have pointed out in terms of maturity, performance, and support.

Playing devils advocate, I don't think we need an abstraction layer to target AMD devices, as I was able to build llm.c for 7900 XTX and Radeon VII with minimal changes [1], and it is >30% faster than PyTorch nightly out of the box with no AMD specific optimization. That is what is so great about this repo! :)
Regarding going further with AMD specific optimizations, an extra abstraction layer absolutely will not help with that, and I had some fun down the rabbit hole writing some large chunks of RDNA3 assembly (unfortunately couldn't get the compiler to do what was needed from C, or even inline assembly). It enabled capturing the perf still left on the table, but at that point it goes against many of the goals of this repo and might be better referred to as rdna3-llm.s haha.
In terms of Metal, I think there is a Metal fork, and I vaguely recall hearing that Metal has something similar to hipify, so is it really that tedious to target without a new abstraction layer?
[1] https://github.com/anthonix/llm.c (fp32 at least, will get the mixed precision working now and update shortly)

Playing devils advocate, I don't think we need an abstraction layer to target AMD devices, as I was able to build llm.c for 7900 XTX and Radeon VII with minimal changes [1], and it is >30% faster than PyTorch nightly out of the box with no AMD specific optimization. That is what is so great about this repo! :)

Congrats! IMHO, it would be great to have an AMD port merged into this repo at some point or linked from the readme.

In terms of Metal, I think there is a Metal fork, and I vaguely recall hearing that Metal has something similar to hipify, so is it really that tedious to target without a new abstraction layer?

Same here would be great to have this merged or linked. Do you remember the URL of the Metal fork?
Obviously a well optimized implementation in a vendor specific API should be faster, though WebGPU would cover be a much faster fallback than the CPU for those not supported directly.

[...] Congrats! IMHO, it would be great to have an AMD port merged into this repo at some point or linked from the readme.

Yeah definitely congrats to the authors of this repo! (as I say, I didn't have to do much to make it work on AMD devices!)
As for merging AMD support, perhaps eventually but things are moving really fast here so might be worth holding off a bit until things stabilize? Like there is something to be said for keeping things simple and only having to deal with Nvidia while blazing a path, and I wouldn't want maintaining AMD support to get in the way of or slow down that great trail blazing progress that is happening right now.

I think there is a Metal fork [...]
[...] would be great to have this merged or linked. Do you remember the URL of the Metal fork?

It's at the bottom of the README. I just took a look, unfortunately it hasn't been touched in ages (relative to how fast this repo moves -- two weeks, haha).

I just want to join in that I would prefer a bit more complexity over only support a single GPU manufacturer. I think that singular dependence is risky and makes this project less accessible.

@EwoutH any particular GPU you are interested in using? The AMD fork already works on RDNA3 (7900XTX) & CDNA2 (MI250X), about to test on CDNA3 and RDNA2


Large number of tags?

Is there any technical hard limit on the number of tags? We have a build system that builds an image on every push to github, and tags it with the git commit sha and branch. We've started to notice a significant slowdown when trying to pull an image if the tag doesn't exist; it waits a couple minutes and then eventually fails with:
FATA[0070] Get https://registry-1.docker.io/v1/repositories/remind101/r101-api/tags: read tcp <IP_ADDRESS>:443: i/o timeout.
Maybe this is actually a docker/docker issue? Odd that it would list all of the tags.

@ejholmes you apparently are using the python registry:1 (available here: https://github.com/docker/docker-registry).
This here is the golang registry:2 (supporting protocol v2).
Inability to scale on the number of tags is a know defect of registry:1 - it should not be a problem with registry:2.
In summary, I would suggest you give registry:2 a try.

I should have been more clear. This is against docker hub. I was under the impression that docker hub would use the new docker registry for docker clients >= 1.6. We're seeing this behavior with docker 1.6.2, docker 1.7.0 and the images are been created and pushed with docker 1.6. It is strange that the error message above shows registry-1.docker.io.

Now that I'm looking into it this, does docker hub not actually support registry v2 yet? The docs for this are all over the place:

https://docs.docker.com/reference/api/docker-io_api/#repository-authorization suggests that X-Docker-Endpoints could contain registry-2.docker.io. https://registry-2.docker.io doesn't seem to have anything running.
https://docs.docker.com/reference/api/hub_registry_spec/ suggests that X-Docker-Endpoints might include registry2.docker.io, but again https://registry2.docker.io has nothing running on it.

A few quick tests of curl -sI -X GET https://registry.hub.docker.com/v1/repositories/library/registry/images -H 'X-Docker-Token: true' and I never saw registry-2 or registry2 in X-Docker-Endpoints for any repositories I tested, including private.

Ok, so I think I tracked down why this happens. Docker hub does indeed support v2 at /v2. The problem is that the docker client seems to fallback to v1 if the tag isn't found in the v2 registry:
time="2015-07-31T05:45:44Z" level=debug msg="image does not exist on v2 registry, falling back to v1"

I don't suppose there's a way to disable this behavior? It's not really desirable in instances like this.

Correct:
Hub does definitely support both v2 and v1.
The engine will first try v2, then fallback to v1 if there is any error with v2 (including 404).
The urls are:

https://registry-1.docker.io/v1
https://registry-1.docker.io/v2

The solution to avoid v1 should be to push your images using docker>=1.6.0.
Would that work in your case?

We're actually already building these images with docker 1.6 but I think there was a period of time where they were being built with docker 1.4. Maybe the tags in the v1 registry for this repository are old tags during that time?
Either way, thanks for the help!

@ejholmes we can discuss this further over irc (#docker-distribution) - github is not really convenient for fast chit chat - you will find the usual suspects over there (rscothern, aaronl, stevvooe).
Bottom-line: yeah, moving to v2 in your case likely means migrating older tags to avoid this problem. That should be as simple as docker pull foo:tag && docker push foo:tag. You could also look a bit into https://github.com/docker/migrator .
And/or manually delete old tags.


facetracking - faceMask vs transformmatrix

Hi,
in you're example i'm trying to match the white faceMask to the canonical_face_model connected to the transformmatrix you put on your example.
rotation, ... seems to be ok. But the Z (zoom in / out with head distance from camera. When i'm closed to the camera the canonical_face_model is smaller and bigger when i'm far for the camera.
Any idea ?

My idea is to make a "kind of snapchat filter" with a 3D head oculter that follow the head size.
Thanks

I'm playing with mediapipe, amazing work !! Thanks to share !
In the face_tracking_examples we can clearly see that the torus is not following the Z- axis / distance/size of the head.
How could i do that ?
Thanks a lot.

Hey @yrostudio thanks for the kind words and glad you're having fun with the plugin!
I found the same issues you did when I was playing with the plugin and the short answer is I don't know why it happens. It feels like it's something to do with the dimensions being different. The canonical face mask is supposedly roughly real-world-size, so has a height of 20 units ~ 20 cm. The face mask that we're animating/generating in the MediaPipe tox is based on screen normalised coordinates (0-1), so has a height of something like 0.8 units.
The transformation matrix we receive from MediaPipe is supposed to map from the canonical face model to screen coordinates, but I get the feeling there's a wrong scale being used somewhere (or I've applied it incorrectly in the face_mapping tox). I'm not quite sure what it is, but if you figure it out I'd love to know and we can roll it into the next release!

Hi @domisjustanumber,
i found this discussion : https://github.com/google/mediapipe/issues/1895
don't know if it helps.
Tracking eye size / iris ? to get a Z scale ?
I have no clue how to help :)


Make time parsing more lenient

I was trying to parse some values for time that I had previously been using chrono for, and found that the human readable parsing for time values required the subsecond field to be present.
I've added tests for this in the serde section, and then fixed them. All the tests still pass, but I guess this is probably a slightly controversial change as previously denied values are now accepted.
Please note that this change affects the Time, PrimitiveDateTime and OffsetDateTime parsing and deserialising, but it is not intended to affect the serialising/formatting.
The alternative is to require people to write their custom format_description, but this results in slightly annoying code to handle internal values when it's a pretty simple addition.
time::serde::format_description!(user_times, Time, "[hour]:[minute]:[second][optional [. [subsecond]]");

struct MyTime(time::Time);

impl<'de> serde_with::DeserializeAs<'de,time::Time> for MyTime {
    fn deserialize_as<D>(deserializer: D) -> std::result::Result<time::Time, D::Error>
    where
        D: serde::Deserializer<'de> {
        user_times::deserialize(deserializer)
    }
}

#[serde_as]
#[derive(Debug, Clone, serde::Deserialize)]
pub struct Config {
    #[serde_as(as = "Vec<MyTime>")]
    pub transmit_times_of_day: Vec<time::Time>,
}

Can you add tests for the compact representation as well? Other than that, this PR looks good.

It's probably worth a second review at this point. I've also added skipping formatting of optional values for some types of components under certain conditions.
The skippable components are seconds (when seconds past minute is 0), subseconds (when subseconds is 0), offset_hour (when the offset is UTC), offset_minute (when offset minutes past hour is 0), and offset_second (when offset seconds past minute is 0), and literals are always skippable. All other components are never skippable, as there isn't really a conceptual idea of when an hour item should be skipped, but it's pretty clear that when seconds or subseconds is 0, they can probably be skipped during formatting.
The logic is as follows:

Always format items unless they are wrapped in an Optional component.
Once wrapped in an Optional component, check if all sub-components are skippable (e.g. compound components require all internal components to be skippable to skip the whole component).
If all sub-components are skippable, skip the formatting and emit 0 bytes written.
Otherwise, format as usual.

This means that literals that are wrapped in Optional are always skipped in formatting, so maybe we should include a modifier that makes it always formatted, but skippable in parsing? This use case is probably rare, as optional literals are usually paired with an actual parsing item that should control whether it is skipped or not.

I've also added skipping formatting of optional values for some types of components under certain conditions.

That's a significant change in behavior that is contrary to what documentation states. Optional items are always present when formatting; they are only optional when parsing. I'd like to keep this PR to what was originally included, as making parsing more lenient and changing formatting behavior are two very different things.

That's a fair assessment. I don't think that the work is inherently incorrect, but if the docs explicitly say the opposite then I guess that there's no real way to change that until 0.4 rolls around. I mostly did it because some tests assumed a round-trip conversion should be possible.
I'll split the formatting work off into a separate PR and let that hang around until such a time that it might be usable. Until then I'll convert the tests I wrote to explicitly fail if the formatting changes, and get this one in a state to be merged.

Closing as inactive.


User privileges

The possibility to set up user privileges or at least prevent some users from deleting datasets

Hi @issam9
Thanks for reaching out. For now, we do not support user roles but we have already defined in our roadmap.

Closing this. Moving to rubrix roadmap


pixel depth is lost while/after importing 16-bit PNGs to HIB

I am troubleshooting a variant of OpenCV pipeline I have set up with HIPI. It does all the same things, but results do not match. I haven't figured out an easy way to examine pixel data in a bundle (just eyeballing the codec, it appears the bytes should be stored intact), but on the user end, the FloatImage my mapper receives as input has only 256 levels between 0 and 1. The LSB fell through the cracks somewhere.
Attached is one of the images I import into the bundle. It specifies an sRGB colorspace, but I don't care and hope it does not matter. I just want linear 16-bit values out of it.

Making progress. I tried to work around this issue by replacing the mapper input value by a locally sourced image and got the same result with default arguments to imread. What finally worked was this combination of options:
 value = makeFloatImage3(Highgui.imread(
    fname,
    Highgui.CV_LOAD_IMAGE_COLOR | Highgui.CV_LOAD_IMAGE_ANYDEPTH
 ));

Contrary to popular advice, CV_LOAD_IMAGE_COLOR is required to read color images and it does not limit their depth to 8 bits.
Now the problem is to track down the equivalent spot in the HIB import chain.
It goes like this (in ImageCodec.java):
 BufferedImage javaImage = ImageIO.read(dis);
 pixel = javaImage.getRGB(i,j);
 int red = (pixel >> 16) & 0xff;
 int grn = (pixel >>  8) & 0xff;
 int blu = (pixel      ) & 0xff;

Since pixel comes out 8-bit-encoded, and the input stream appears to be an intact copy of the source image, the trouble is either in ImageIO.read() or in getRGB(). I also see a couple places where BufferedImage is created with the hard-coded depth of 8 (BufferedImage.TYPE_INT_RGB), but I don't know if I hit those cases or not.


Update deploy-confidential-containers-default-policy.md

Updated the Confidential Containers on AKS article.  Fixed typos in commands.

@MGoedtel

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


It should not be possible to return back after transaction is submitted

Bug Description
After removing delegation, user can select back. This is inconsistent with all other transaction pages.
Steps to Reproduce
Remove/stop  delegation.
Expected Result
Once transaction is submitted, user can only select finish.
Actual Result

Versions

Software Version: 3.0.11 (95)
OS: Android

Fixed in version 3.0.0 (97)
(notice the version-number, it has been decided that only build-number will be increased for the release, not the 3.0.0)

Will be fixed with pass phrase release. Jira CBW-200


Create index.html file

Generate the main HTML file for the project.

Starting the HTML file creation process.


Re-enable output of PF Inversion iteration convergence progress

SaveOutputEveryIteration output directive was commented out of PF inversion code, likely to avoid a bug in the output formatting. This fixes the bug and enables the directive again.

Good on your side @nwilliams-kobold


[Bug] Restart button moves to top right when having level edit on

Whenever you have level edit on the restart button moves to the top right for some reason (I'm also using geode)

That's an issue with another mod. OpenHack doesn't move the buttons, it only enables the hidden one.


Some small fixes/ improvements

For details look at commit description.

@TheAssassin says No :DD

I raised concerns about commit 46ce0d2 because the template is correct in its current state, and about commit 7b63f60 because the trailing comma was intentionally left there to make future edits easier (see e.g. https://stackoverflow.com/questions/11597901/why-does-python-allow-a-trailing-comma-in-list).
Remove these two commits from your PR and we can merge it.


Chapter 3 part 1 minor ommission

In chapter 03 part 1 section 3.5.3 it would be helpful to have a notation in the code indicating the filename where the code is to be added:
//! src/configuration.rs <-- add this
...
impl DatabaseSettings {
...

PS. I'm really getting a lot out of Zero2Prod. This configuration feature has been on my list of things to put into my projects for some time, and here you just hand it to me complete. Lovin' it! 💯

Good catch, fixed :grin:


Rename geom_properties column

The column name geom_properties of the table geometry_data uses the abbreviation "geom" for "geometry". It's not quite clear why "geom" is used here wheras all other column names related to geometry use "geometry".
Either rename the column to "geometry_properties" or simply to "properties". It should be clear that it stores geometry properties because it is part of the geometry_data table.

We had the discussion during our offline-meeting at TUM and the decision was here #141, because the "properties" sounds too generic. Maybe "geometry_properties" could be a good alternative.

Good point, thanks. Then I prefer geometry_properties just to be consistent with other column names.

done with 8c0111d


add description, attachments, and profile picture to student

with the addition of those fields we can enhance the student profile.
description and attachments may have school and student/family variations (one field for information restricted to the school staff, and another one that the student and family can visualize).

I'll create a StudentCycleInfo schema (in a new StudentsCycleInfo) to hold this information, so we can organize the information by cycle


Automated cherry pick of #5353: feature(notify): Add query and return value for contact UPDATE interface

Cherry pick of #5353 on release/3.0.
#5353: feature(notify): Add query and return value for contact UPDATE interface

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.0@f8358cd). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             release/3.0   #5356   +/-   ##
=============================================
  Coverage               ?   6.87%
=============================================
  Files                  ?     535
  Lines                  ?   91071
  Branches               ?       0
=============================================
  Hits                   ?    6260
  Misses                 ?   84289
  Partials               ?     522

Flag
Coverage Δ

#aFlag
6.87% <0%> (?)

Impacted Files
Coverage Δ

pkg/cloudcommon/db/usercache.go
4.39% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


Update Read me for cloud-full-example for Ingress install on AWS

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


feat(helm): Support resources/nodeSelector/affinity/tolerations prope…

…rties for lake/ui/grafana in helm chart
There are resources/nodeSelector/affinity/tolerations config in values.yaml but no used in related yamls
⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[-] I have read through the Contributing Documentation.
[-] I have added relevant tests.
[-] I have added relevant documentation.
[-] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

Does this close any open issues?
Closes xx
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

thanks for your contribution.
@warren830 can you help for reivew it?

@lshmouse Hi Shaohui, can you create this pr in https://github.com/apache/incubator-devlake-helm-chart, we are planning to move all helm stuff to new repo

Close this PR and submit a new one at https://github.com/apache/incubator-devlake-helm-chart/pull/52/files


Wheel assembly picture update required

See also #356
Figure 4 needs its own picture
Figure 5b shows the wrong screws (it uses the S48 srews). Instead B1 should be used which aren't visible.

You're most welcome to create pull requests to make edits!
We are however in the process of getting everything ready for V2 of the OSR which would supersede these issues. A lot of help is needed to complete documentation there. If you're interested, I recommend joining the slack group (link on main readme page) and posting in the #osr-upgrade channel

@Achllle Ah perfect! thank you! 🐈⬛

closing since no longer relevant with latest update


Localization Layout

What is the issue?

These elements are not translated by design. They need to support translation in the Element definition. Maybe this is already the case.

First of all! Thank you for your enthusiastic reply and hope to be able to add to localization