Purpose of unks in skipgram function

Hi,
Can you please explain, what is the purpose of including the <UNK> tokens in the owords vector produced by skipgram function? What should model learn by using these as training examples?
Also, what is the purpose of variable ws in train function, if it's not used anywhere after its definition?

<UNK> means unknown token. This should be defined in the preprocessing step. ws means word score, and it is calculated heuristically, so you can use it if you want, or not.

Hi, yes, I understand what  means, what I don't understand is why they are included in the output of skipgram function. What information should model learn from them being included as training examples?


Remove copy-pasta error

This line was a copy paste error: the rgb_3D sample is already cropped, with shape (2, 75, 75, 75), so this line does nothing.

Codecov Report

Merging #39 (3bc4640) into main (9d5af47) will decrease coverage by 5.44%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   59.38%   53.94%   -5.45%
==========================================
  Files           3        3
  Lines         229      228       -1
==========================================
- Hits          136      123      -13
- Misses         93      105      +12

Impacted Files
Coverage Δ

cellpose_napari/_sample_data.py
90.90% <0.00%> (-6.07%)
:arrow_down:

cellpose_napari/_dock_widget.py
47.08% <0.00%> (-5.55%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

3D test took 96 seconds, with a 90 s timeout.

I guess that needs to be bumped up a bit more.


Deep clean heron-admin - probably better to remove entirely

I started cleaning up heron-admin's code to make it a bit clearer, but along the way found that it was broken (at least because it tried to find nomad in the wrong place.
Given all it does is try to manage one of many schedulers, when you can already use the local "cluster" or deploy your own cluster (including minikube or kind which seem to have support within the community), I'm thinking it would be better to strip out the heron-admin binary all together to simplify the ecosystem and reduce debt/maintenance cost as well.
That said, the changes here are:

use click instead of argparse to make things more readable

parameters are explicitly passed instead of aways passing a mysterious cl_args dict everywhere
the interface is still the same as before, although docstrings may be different but also easier to change. I would be tempted to suggest reworking the interface to something more succinct if I didn't think it would be better to drop the whole thing

use $VISUAL, $EDITOR, or vi when editing the inventory.yaml in heron-admin standalone set
the code now at least passes a manual smoke test

Closing as heron-admin removed in https://github.com/apache/incubator-heron/pull/3585


Xmlsec 4.0.0 (Draft)

Based on https://github.com/apache/santuario-xml-security-java/pull/192
GF with these dependencies passed the TCK: https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck/job/10.0.x/29/testReport/
Note: When reviewing, disable whitespaces, I had to fix formatting in several files which weren't readable for humans.

Important Changes

Killed dependency on SLF4J1

Now is possible to use System.Logger of SLF4J2

Killed webservices-extra-xmlsec - no need to repackage xmlsec dependencies any more
XmlSec4 split XmlSignatureInput to several classes based on the input type.
Xmlsec4 now depends on JDK11+ (instead of 8) and supports Java Module System.

@lukasj what do you think?

Based on Small boost forward - aggregated changes from one stable stage to another apache/santuario-xml-security-java#101

last time I submitted PR to Santuario, it took years to be merged (was actually redone similar way in a different PR)

Note: When reviewing, disable whitespaces, I had to fix formatting in several files which weren't readable for humans.

consider fixing all at once with adding a commit ID to .git-blame-ignore-revs

Killed webservices-extra-xmlsec - no need to repackage xmlsec dependencies any more

remove them also from boms

@lukasj can you take a look again? Much has happened since last January.

Ok, here we go, tests passed!
@lukasj What next? GlassFish passed all available tests with XmlSec 4.0.0-M1 and Metro WSIT 4.0.3.-SNAPSHOT including TCK. One option is to release 4.0.3-M1, another 4.1.0-M1, another is that I would ask XmlSec team to release the XmlSec 4.0.0 first. What do you think? Are you ready to release Metro WSIT 4.0.3 then soon?

let me finalize 4.0.3 (early next week, I hope, as most work in other projects has already been done) and then merge this one

let me finalize 4.0.3 (early next week, I hope, as most work in other projects has already been done) and then merge this one

And how long can take it to 4.0.4 or 4.1.0 or at least 4.1.0-M1?

Can I proceed with XML Security 4.0.0 or is there any potential issues left?

Can I proceed with XML Security 4.0.0 or is there any potential issues left?

I don't know about any issues at this moment, I am looking forward for the release! :-)

Can we try to align our work here somehow and remove some unnecessary(?) steps & releases?
What I'm thinking about - my first step is to release jaxb-ri 4.0.4 (changelog) to fix regressions in 4.0.3 once I get verification of one more PR from the user; at the same time I need to release APIs to fix dependency trees of metro components.
If there is a chance to have final santuario 4.0.0 with dependencies on xml bind api 4.0.1 and impl 4.0.4, then I'd seriously consider including this in metro 4.0.3. @dmatej this would require you to test snapshots (which are all available in the snapshots repo, ie through -Psnapshots), me to run jaxb TCKs on current snapshot and @coheigea to consider updating jaxb dep in santuario..., WDYT?

I am temporarily using OmniFish's snapshot repository, because I don't have access to Jakarta snapshots. I can deploy at any time, GlassFish PR has access for downloads too.
GlassFish is then built by Jenkins and the zip can be used by TCK tests. The GlassFish PR passed all tests two or three times since it's creation, now I am building GF again using metro-wsit from this PR deployed to OmniFish's snapshot repo one hour ago. Then I will rerun the TCK which will take around 8 hours.

So finally I have some issue. In previous webservices-osgi 4.0.2 used in GF 7.0.9 I see this in manifest:
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"

But in 4.0.3-SNAPSHOT I see this and I need some help how I can fulfill the requirement:
Require-Capability: osgi.contract;osgi.contract=JakartaServlet;filter:="
 (&(osgi.contract=JakartaServlet)(version=6.0.0))",[osgi.ee](http://osgi.ee/);filter:="(&(o
 [sgi.ee](http://sgi.ee/)=JavaSE)(version=11))"

this line needs an update

XML Security has since been updated to 4.0.1 of the bind API, so I'll proceed with a vote on the official release.

I have rebased this PR and cherrypicked the #442 fix; git will merge it without issues after #442 merges to master.

so I'm ready... what I wanted to do is already done and master now has jaxws-ri 4.0.2 (with all deps up-to-date, all in staging). @dmatej I can see that santuario already has 4.0.0 tag as well, can you try to give it one more test run before I merge this, please?

XML Security 4.0.0 is now in maven central FYI

The TCK is still running, but webservices12 and webservices13 already passed, so I think it is alright to do the merge and release.

4.0.3 (and all updated dependencies) should be on the way to central; give it some time... (...and let me know, if something is missing)


TypeError during Push and Pull causes sync to fail (TypeError: '<' not supported between instances of 'dict' and 'float')

$ drive push
checking for changes in 'myFolderName' ....
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/bin/drive", line 10, in
sys.exit(cli())
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/actions.py", line 311, in push
utils.push_content(cwd, fid)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/utils.py", line 487, in push_content
push_content(child_cwd, child_id)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/utils.py", line 494, in push_content
if(push_needed(drive_lis[item], item_path)):
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/utils.py", line 173, in push_needed
if sync_time < local_time:
TypeError: '<' not supported between instances of 'dict' and 'float'
$ drive pull
checking for changes in 'myFolderName' ....
Preparing: myFilename.ext for download
downloading file  [####################################]  100%
completed download of myFilename.ext
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/bin/drive", line 10, in
sys.exit(cli())
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/actions.py", line 290, in pull
utils.pull_content(cwd, fid)
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/utils.py", line 422, in pull_content
if((not os.path.exists(dir_name)) or write_needed(dir_name, item)):
File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/drive_cli/utils.py", line 154, in write_needed
if(sync_time < drive_time):
TypeError: '<' not supported between instances of 'dict' and 'float'

Can you please be more specific on how to recreate this error??

To be honest, it works sometimes, and sometimes it doesn't. When doing a simple drive push or drive pull, it works till some files, and then crashed giving the above error


Java/jOOQ: Add code generation add-on for Gradle, with reflection from SQL DDL files

About
As a followup to GH-9, this patch adds the Gradle-based jOOQ code generation add-on. It can be invoked like:
./gradlew generateJooq

The style of code generation exercised here works by reflecting the database schema from existing SQL DDL files.
✅ Contrary to GH-10, this works well. ✅
Details
This time, the code within the src/generated folder has truly been generated using jOOQ 3.17.7.

The code generator class used for this procedure was org.jooq.meta.extensions.ddl.DDLDatabase.
The relevant upstream documentation DDLDatabase: Code generation from SQL files has more details.

This looks promising. I guess this only works without having any CrateDB-specific schema definitions since it has to pass thee jOQL parser and will then created in a H2 memory database.

Can we then create the domain model based on the code generation from the SQL files ?


Renamed Meta search to additional sources

Fixes
Fixes #1197 by @zackkrida
Description
This PR will replace all the instances of the meta-search with additional sources available in the GitHub files.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow [best practices][best_practices].
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Hi @dhruvkb, Thank you for the info. I will wait till the PRs will merge

@HILAYTRIVEDI please note that we use pnpm, not npm to install dependencies. While things may work with npm install you won't be running with the exact versions of packages that we've locked to and tested with. Please do follow the instructions in the README's "Local Development" section to correctly set up your local environment (and avoid introducing things like package-lock.json for example).
Thanks for the contribution!

Hi @HILAYTRIVEDI we have the final language this PR needs. You can see it here: https://github.com/WordPress/openverse-frontend/issues/1197#issuecomment-1195901505
Would you like to continue working on this or have someone else take over?


RFC: UI improvements

I did a slight rework, which includes:

Use all the horizontal space.
User/bit icon on the side of the message - saves valuable vertical space.
Move the side panel collapse button out of the way.
Honor multi-line user input.

@mckaywrigley How do you feel about it? I think the width could be made an option, and the other 2 changes applied as is.

https://github.com/mckaywrigley/chatbot-ui/compare/main...xl0:chatbot-ui:compact-layout

Yes def need this


Issue with Resizing 16K Resolution Images using Sharp Library in AWS Lambda

Hello Team,
I'm raising this issue as a question since I'm not entirely sure if it's a bug or a limitation with our current setup. We are using the Sharp library in an AWS Lambda environment (Node 16) to resize images. However, we are encountering errors when attempting to resize a 16K resolution photo (PNG format, image width 16000 pixels).
Here's the code snippet for our resizeImage function:
function resizeImage(inputBuffer, width, suffix) {
  console.log('Resizing image.');

  return new Promise((resolve, reject) => {
    sharp(inputBuffer)
      .resize(width, width, {
        fit: sharp.fit.inside,
        withoutEnlargement: true,
      })
      .rotate()
      .toBuffer()
      .then(outputBuffer => resolve({
        body: outputBuffer,
        suffix,
      }))
      .catch(err => {
        console.error('Resize image failed');
        reject(err);
      });
  });
}

The error logs from Lambda indicate an issue with storage.

However, we've determined that this is not the case as Sharp does not use Lambda's /tmp storage. Additionally, we are dealing with images of approximately 20MB in size, and the /tmp storage has a capacity of 2GB. The /tmp storage is also consistently cleared as the Lambda function terminates.
So, my question is: Does the Sharp library support resizing of 16K resolution photos? If it does, what could be the potential issues we're facing? Could it be related to the AWS Lambda serverless environment?
Any insights or suggestions would be greatly appreciated.
Thank you.

Did you see https://github.com/lovell/sharp/issues/1661 ?
If you weren't already aware, Node.js 16 is EOL and is no longer supported.


Storing a commonly used server

Sometimes a user may want to connect to a server that is not in the list of servers. Therefore, they will have to select "other" in the drop down list of the login page and then enter their custom server's address.
However, this can be tedious, especially if the user commonly uses multiple servers that are not on the list. As a fix for this, I think it would be nice to add a feature for saving "other servers" so they can be easily selected from the drop down list (perhaps under a label "Other servers")

We may be able to do this without too much trouble in Vue.js client by using localStorage or some other form of "remember me" type of mechanism.


texinfo: ensure @@ macro treated correctly

Maybe it is, ensure it has a test too.

Should be considered as part of #102

Solved by #107


Tab Order for "Replace" doesn't work

VSCode Version: 0.10.6
OS Version: Windows 10 10.0.10240.0

Steps to Reproduce:

Have a text file open
Press Ctrl+H
The "Replace" text box is in focus
Press "Tab" at least 3 times.

Observed behavior: There is no way to get to the "Find" box from just tab order.  It occurred to me that Ctrl+F will get there, but that's definitely not obvious and not in keeping with usual mechanisms.

@robpaveza It is an accessibility requirement that Tab is not "trapped" in widgets.
The only widget we have that traps "Tab" is the editor itself and that can be toggled via Ctrl+M.
To get from the Replace text box to the Find text box, I use Shift-Tab or Ctrl+F.


Adding support for comet.ml

Hi @Ahmkel, this repo is really great! thanks for putting the time to implement this.
I added (optional) support for comet.ml. This way you can track the visualizations, metrics and hyperparams. This is how it looks running your simple_mnist_trainer:
https://www.comet.ml/gidim/simple-mnist/6c794376f1a34523aa2f8964060a6a10
Let me know if you want me to change something! I can add some stuff to the README if you want me to.

Thanks for contributing.
This is actually a nice addition. Would it be possible to update the readme file with a screenshot and stating that the example shows Comet.ml usage?
I also have another question: As far as I can see, the code section in comet.ml shows the trainer code only, is it possible to show other code snippets/files such as the model file? (It contains the model itself so it might be useful to see it in the comet.ml dashboard.)

I added a screenshot/gif of comet and some more information about it.
Regarding the trainer code, If you link your Github repo with your comet project you'll be able to see all your files.

Thanks for contributing! :+1:


pipelines: fix Windows command syntax

Thanks for this! I sent a sneaky commit before I saw this which set the shell to bash for all platforms though, so it should be fixed now.
Sorry about that, didn't see this ahead of time!


[Nametag] UI improvement for self disclosure

It is currently unclearly what the "Self Disclosure" box is meant to used for, consider adding some example or default text or tooltip to explain what "self disclosure" is used for, e.g. "something you want to share with other participants about yourself".

Here are a few things we should do to improve current UI:

Use Switch component instead of checkbox for display/hide nametag
Change the text "Self disclosure" to "Something about me"
Add default text or tooltip for the self disclosure field to explain what this is, e.g. "I am a person who stutter, or I have a sore throat".
Change the css to add some padding between fields.

Also, make sure the self disclosure text doesn't go over the nametag image.
We can either limit the # of characters for the self disclosure or wrap the text when generating nametag image.

Related to issue #76

I pulled off the 49-nametag-ui-improvement-for-self-disclosure branch, which already included an updated default text. I added the padding between nametag fields, changed self-disclosure to something about me, and changed the checkbox system to a toggle switch. I also merged main into this branch, and it had no conflicts.

I added a save button that saves the nametag without displaying it. I then tested different values for the max length of the About Me section and settled on 30 because larger values would shrink the other text in the nametag too much. Here are the screen shot for a max length of 30 and then the screen shot for a max length of 40.


Push route to history stack, when using parameters #1124

Bugfix for issue #1124
The condition has been changed, which is deciding to push the a route to history stack.
I think, it is necessary to compare the old route with the current route, instead of old route with root (without parameters).

Could you add tests to this?


[Fix] Consistency check to avoid deleting certain recent changes

Fixes #100, thanks for reporting and catching this @italovalcy

Replaced get_flows_lte_inserted_at with get_flows_lte_updated_at
Fixed missing flows to consider updated_at instead of inserted_at
Fixed alien flows to skip if it's comparing with a recent updated flow

I didn't update the changelog since this bug has been introduced in this unreleased/development version.
Example
Using a similar case that Italo has provided:

If you install an overlapping flow at the right time when the consistency check is checking for alien flows it'll skip it (I added also a temporary log to facilitate understanding skipping alien):

2022-08-05 14:50:21,947 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_2) check_consistency on switch 00:00:00:00:00:00:00:01 has started
kytos $> 2022-08-05 14:50:25,537 - INFO [kytos.napps.kytos/flow_manager] (Thread-92) Send FlowMod from request dpid: 00:00:00:00:00:00:00:01, command: add, force: False, flows_dict: {'force': False, 'flows': [{'priority': 101, 'match': {'in_port': 1, 'dl_vlan': 104}, 'actions': [{'action_type': 'output', 'port': 3}]}]}
2022-08-05 14:50:31,961 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_2) skipping alien {'switch': '00:00:00:00:00:00:00:01', 'table_id': 0, 'match': {'in_port': 1, 'dl_vlan': 104}, 'priority': 101, 'idle_timeout': 0, 'hard_timeout': 0, 'cookie': 0, 'id': 'c5b08549dc26944cdd71dcb6b1c5b6a9', 'stats':{'byte_count': 0, 'duration_sec': 89, 'duration_nsec': 64
5000000, 'packet_count': 0}, 'cookie_mask': 0, 'instructions': [{'instruction_type': 'apply_actions', 'actions': [{'port': 5,'action_type': 'output'}]}]}
2022-08-05 14:50:31,967 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_2) check_consistency on switch 00:00:00:00:00:00:00:01 is done
2022-08-05 14:50:36,478 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_0) check_consistency on switch 00:00:00:00:00:00:00:01 has started

In the next iteration of consistency check if doesn't do anything since the flow stats is updated:

kytos $> 2022-08-05 14:50:46,492 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_0) check_consistency on switch 00:00:00:00:00:00:00:01 is done
2022-08-05 14:50:56,507 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_2) check_consistency on switch 00:00:00:00:00:00:00:01 has started

After that, I simulated a legitimate alien flow and it deleted as expected:

kytos $> 2022-08-05 14:51:16,512 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_1) check_consistency on switch 00:00:00:00:00:00:00:01 has started
2022-08-05 14:51:26,528 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_1) Consistency check: alien flow on switch 00:00:00:00:00:00:00:01
2022-08-05 14:51:26,531 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_1) Flow forwarded to switch 00:00:00:00:00:00:00:01 to be deleted. Flow: {'flows': [{'switch': '00:00:00:00:00:00:00:01', 'table_id': 0, 'match': {'in_port': 1}, 'priority': 1000, 'idle_timeout': 0, 'hard_timeout': 0, 'cookie': 4097, 'id': '13bc34e4a7a3d61cd0d0ebb7c49991ff', 'stats': {'byte_count': 0, 'duration_sec': 1, 'duration_nsec': 890000000, 'packet_count': 0}, 'cookie_mask': 0, 'instructions': [{'instruction_type': 'apply_actions', 'actions': [{'port': 2, 'action_type': 'output'}]}]}]}
2022-08-05 14:51:26,541 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_1) check_consistency on switch 00:00:00:00:00:00:00:01 is done

After that, I also simulated positive missing flows:

kytos $> 2022-08-05 14:51:36,505 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) check_consistency on switch 00:00:00:00:00:00:00:01 has started
2022-08-05 14:51:46,519 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) Consistency check: missing flow on switch 00:00:00:00:00:00:00:01.
2022-08-05 14:51:46,521 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) Flow forwarded to switch 00:00:00:00:00:00:00:01 to be installed. Flow: {'flows': [{'cookie': 1232184
8580485677057, 'match': {'dl_type': 35020, 'dl_vlan': 3799}, 'actions': [{'action_type': 'output', 'port':<PHONE_NUMBER>}], 'table_id': 0, 'priority': 1000, 'idle_timeout': 0, 'hard_timeout': 0}]}
2022-08-05 14:51:46,521 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) Consistency check: missing flow on switch 00:00:00:00:00:00:00:01.
2022-08-05 14:51:46,522 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) Flow forwarded to switch 00:00:00:00:00:00:00:01 to be installed. Flow: {'flows': [{'cookie': 0, 'match': {'in_port': 1, 'dl_vlan': 104}, 'actions': [{'action_type': 'output', 'port': 3}], 'table_id': 0, 'priority': 101, 'idle_timeout': 0, 'hard_timeout': 0}]}
2022-08-05 14:51:46,522 - INFO [kytos.napps.kytos/flow_manager] (thread_pool_sb_3) check_consistency on switch 00:00:00:00:00:00:00:01 is done
kytos $>

@italovalcy could you try out this branch with the original problem to also have a double confirmation, thanks?

e2e tests have passed with his branch --build-arg branch_flow_manager=fix/consistency_check:
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /builds/amlight/kytos-end-to-end-tester/kytos-end-to-end-tests
plugins: timeout-2.0.2
collected 196 items
tests/test_e2e_01_kytos_startup.py ..                                    [  1%]
tests/test_e2e_05_topology.py ..................                         [ 10%]
tests/test_e2e_10_mef_eline.py .........X.......x....x.....              [ 24%]
tests/test_e2e_11_mef_eline.py .....                                     [ 27%]
tests/test_e2e_12_mef_eline.py .....xx.                                  [ 31%]
tests/test_e2e_13_mef_eline.py .....xxXx......xxXx.XXxX.xxxx..x......... [ 52%]
...                                                                      [ 53%]
tests/test_e2e_14_mef_eline.py x                                         [ 54%]
tests/test_e2e_15_maintenance.py ........................                [ 66%]
tests/test_e2e_20_flow_manager.py ................                       [ 74%]
tests/test_e2e_21_flow_manager.py ..                                     [ 75%]
tests/test_e2e_22_flow_manager.py ...............                        [ 83%]
tests/test_e2e_23_flow_manager.py X......................                [ 94%]
tests/test_e2e_30_of_lldp.py ....                                        [ 96%]
tests/test_e2e_31_of_lldp.py ...                                         [ 98%]
tests/test_e2e_32_of_lldp.py ...                                         [100%]
==== 172 passed, 17 xfailed, 7 xpassed, 626 warnings in 10444.84s (2:54:04) ====

LGTM

Appreciated your review


feat: add short table output

Overview
As mentioned in the issue, the extremely wide tabular output doesn't fit in smaller terminals in a representable manner, hence a smaller more compact tabular format has been added which automatically infers based on the given terminal if the wider output needs to be rendered or the smaller.
Additional Information
In order to detect the terminal size a new dependency has been used, and automatically displays the smaller output tables if the terminal width is not able to support the original table output.
It does so by pivoting the table hence decreasing the width but instead increasing the height. A tradeoff made depending on the available width.
How to Test
On a smaller terminal screen with width less than 120, run any of:

kubescape list controls
kubescape scan resource.yaml
kubescape scan resource.yaml -v

Examples/Screenshots
Before:

After:

Related issues/PRs:
Resolved #933
Checklist before requesting a review

[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have performed a self-review of my code
[x] If it is a core feature, I have added thorough tests.
[x] New and existing unit tests pass locally with my changes

@craigbox I've added the ability to automatically detect the terminal width, and formatted the table as discussed.
Do let me know if there are any further changes needed!
Thanks!

@craigbox I've made the required changes and now the table format is decided based on whether the large output tables are able to be displayed on the current terminal or not, if not then the smaller table is displayed ;)

wonderful. to @dwertent & @matthyx for review please!

Can you please fix the conflicts, and we can get this merged soon I hope.

@XDRAGON2002  I see there are still conflicts.
Probably because we merged #1320 .

@XDRAGON2002  Here is the issue.
I recommend you run before you push the following commands:
go test "-tags=static,gitenabled" -v ./...

and
make build

It works as expected, I will merge it as soon as the tests pass :)

@dwertent this one is good to go now.


Migrate integration testing postgres Dockefile from TestUtils to github services

you need to remove the container created inline at tests/receivers/postgresql/postgresql_test.go or it will clash on the port.


Move Figures from _type to _images

This is perhaps open to discussion but if I want typography, I don't want to be forced to include the images component.
While it is hard to argue that Caption is not typography; but it is easy to see how a caption specifically for images wouldn't be used without images.

@omeid Your branch has merge conflicts

@cvrebert Fixed.

Perhaps it should be it's own file entirely?

Makes sense to have figure as it's own componenet.
But then should the part for img should be moved to images?

Pulled in via cherry-pick in 677b7bd1c0e4792ca9f278320070d50111bf2137.


Can't access update/win32/:version/RELEASES

Updating on MacOS works fine, but on Windows I get the error "Remote release File is empty or corrupted." I'm pretty sure that the error is because of not being able to access /update/win32/:version/RELEASES. When I do this the page just doesn't load and redirect to the previous url I was at.

We're having the same issue.
Windows app won't update because of this.

I fixed this issue myself by updating the cacheReleaseList function in the cache.js file as follows:
  async cacheReleaseList(url) {
    const { token } = this.config;
    const headers = { Accept: "application/vnd.github.preview" };

    if (token && typeof token === "string" && token.length > 0) {
      headers.Authorization = `token ${token}`;
    }

    const res = await retry(
      async () => {
        const response = await fetch(url, { headers });
        let buffer = await response.buffer();

        if (response.status !== 200) {
          throw new Error(
            `Tried to cache RELEASES, but failed fetching ${url}, status ${status}`
          );
        }

        return await buffer.toString("utf-8");
      },
      { retries: 3 }
    );

    const content = res;
    const matches = content.match(/[^ ]*\.nupkg/gim);

    if (matches.length === 0) {
      throw new Error(
        `Tried to cache RELEASES, but failed. RELEASES content doesn't contain nupkg`
      );
    }

    const nuPKG = url.replace("RELEASES", matches[0]);
    return content.replace(matches[0], nuPKG);
  }

The response from Github API is an octet stream and needs to be buffered and then needs to be decoded using utf-8.
I hope this helps and the dev team adds it to the next update.

Hello,
Was this ever fixed?
It seems like I have the same issue and I don't know what to do.
Thanks in advance!

Sharing what worked for me:
https://github.com/vercel/hazel/issues/79#issuecomment-1010293920


Looking into Text-Files

I wondering about integrating the function to look into textfiles to filter like
if 'blabla' in open('example.txt').read():
    print("true")

This could be very useful for i.e. letters like machine-readable pdfs or so.

Yes, this is useful for sure and something I'm working on. Duplicate of #10


[Request] BPM Sync

Feature: BPM Sync
Description: Sync gameplay speed to beatmap BPM (like osu!mania BPM sync)
Would love to have something that you can adjust too like in osu!mania when pressing F3/F4, since for some reason the current gameplay speed is faster than my screens refresh rate and because of that when I play it gives me some headache.

Very similar to #4 as they both refer to the scroll speed.  Leaving both open and I'll look into it tomorrow.


https://scratch.mit.edu/projects/355644616/

https://scratch.mit.edu/projects/355644616/
https://phosphorus.github.io/#355644616
Mozilla/5.0 (Linux; Android 9; Redmi Note 7 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36

Phosphorus can't read projects made in 3.0.

How can i work in scratch 3.0 or if there is other option
On Sat, 21 Dec 2019 14:52 Locness<EMAIL_ADDRESS>wrote:

Phosphorus can't read projects made in 3.0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nathan/phosphorus/issues/1993?email_source=notifications&email_token=AOC6LZJXHLQX2YA5P3OR5K3QZXN4DA5CNFSM4J6FLEMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHOYP3I#issuecomment-568166381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOC6LZJWUA3X7STHXEW3IT3QZXN4DANCNFSM4J6FLEMA
.

https://forkphorus.github.io/ may be helpful.


Build refactoring

Synopsis 📃
This change will modernize pixi-tilemap's codebase to be up-to-date with the latest PixiJS standards 😃! I've done the following changes:

types.d.ts: This declares @pixi/<packages> modules and whatever classes pixi-tilemaps takes from those packages. This is necessary b/c only pixi.js has typings, but we import classes from @pixi/* packages.

import/export: The ES6 import/export syntax makes things modular & allows us to build to UMD & ESM bundles.

api-extractor: Automated declaration file generation!

rollup: This allows us to generate the proper CJS, ESM, UMD, UMD minified bundles.

namespace pixi_tilemap: Removed that namespace from each file. index.ts wraps all the exported classes at one place instead.

@ivanpopelyshev You should consider removing one of the package-lock.json or yarn.lock shrink-wrap files (or migrate to pnpm - I'll help you there).

the umd build doesnt seem to work and looking at the code I am not sure if its wrapped at all.
You can test it at this branch with gdevelop if you like. Just swap mine out for yours.
https://github.com/4ian/GDevelop/pull/1901
it comes up as undefined when gdevelop loads it. Mine gets a bit further - its not undefined, but fails further down.
A successfully loading example of a umd pixi library in gdevelop is pixi-multistyle-text, which is used by the bbcode extension

@blurymind The UMD build is wrapped:
https://github.com/SukantPal/pixi-tilemap/blob/74e19e538982ec0a549242d9e22629ea24e2456e/dist/pixi-tilemap.umd.js#L12
I think I know what the problem is. The UMD build of @pixi/display, for example, is wrapped in _pixi_display. But the UMD build of pixi.js is wrapped in PIXI & doesn't expose _pixi_display.

@blurymind Can you try again?

yes sure, thanks for helping me :)

It gets a bit further now. The library is imported by gdevelop, but the moment I try to use it I get
PIXI.tilemap.CompositeRectTileLayer

@blurymind I forgot to assign PIXI.tilemap to _pixi_tilemap. One sec.

Okay, try again :)

This change seems to have regressed it. I get this now when trying to load the module
ReferenceError: _pixi_tilemap is not defined

Ugh. I thought the name was _pixi_tilemap, but it should've been pixi_tilemap. I pushed a fix for this. Sorry for these silly mistakes.

will this address the previous issue which is
PIXI.tilemap.CompositeRectTileLayer is not a constructor
I need  to debug this a bit more

https://github.com/SukantPal/pixi-tilemap/blob/695b63aab09152017d39df508f96438bb6e20327/dist/pixi-tilemap.umd.js#L953
It should be there. Can you console.log(PIXI.tilemap)?

Ah interesting, now its loading fine, but I am getting a different error when trying to use it
Container.ts:428 Uncaught TypeError: Cannot read property 'transform' of null
    at t.Container.updateTransform (Container.ts:428)
    at t.Container.getLocalBounds (Container.ts:506)
    at t.get (Container.ts:669)
    at RenderedTileMapInstance.getDefaultWidth (D:\DEV\GD\GDevelop\newIDE\app\resources\GDJS\Runtime\Extensions\TileMap\JsExtension.js:494)
    at LayerRenderer.getInstanceWidth (LayerRenderer.js:92)
    at LayerRenderer._isInstanceVisible (LayerRenderer.js:178)
    at InitialInstanceJSFunctor.LayerRenderer.instancesRenderer.invoke (LayerRenderer.js:59)
    at 8152 (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:51)
    at _emscripten_asm_const_iii (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:51)
    at Array._B (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:25)
    at Array.ib (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:25)
    at hF (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:25)
    at As (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:25)
    at InitialInstancesContainer.IterateOverInstancesWithZOrdering.InitialInstancesContainer.IterateOverInstancesWithZOrdering [as iterateOverInstancesWithZOrdering] (libGD.js?cache-buster=5.0.0-beta98-e240a7c80d1abab373f93f826c8ca5fa39b63774:51)
    at LayerRenderer.render (LayerRenderer.js:204)
    at InstancesRenderer.render (index.js:117)
    at InstancesEditor._renderScene (index.js:728)

I confirm i can log PIXI.tilemap, but some of the items in it come up with type errors

is this perhaps due to strict mode?

That's function-related stuff, its supposed to be like that

@blurymind Can you give me a test script using pixi-tilemap so I can debug this today evening?

@blurymind Can you give me a test script using pixi-tilemap so I can debug this today evening?

All I have at the moment is the PR branch getting it to work in gdevelop with an example json fileto use
https://github.com/4ian/GDevelop/pull/1901
This used to work with a normal module, but after gdevelop was ported to pixi5 we are now required to use umd modules.
My pr adds a new tilemap game object which should work in the IDE, but doesnt yet work when you playtest the game.
It is also possible there is an error somewhere in my extension, so I am looking into that as a potential issue too

I believe the problem is still in pixi-tilemap because the error I get is
Container.ts:428 Uncaught TypeError: Cannot read property 'transform' of null
    at RectTileLayer.Container.updateTransform

@blurymind I would open a separate issue for that - with a minimal reproduction. @ivanpopelyshev would be the guy looking at that 😅

Do we have any proof that pixi-tilemap works as a umd module in anything? :)

Since the codebase is cleaner now, I might be able to help you too there.

Up until now, there was no UMD module - so no. The error your talking about is a runtime error - not something related to the UMD build (as far as I can see).

I have a feeling that this is something that comes from its umd nature or pixi5, but its hard to tell.
Btw you might be able to get a better testing ground by using it in this example project
https://github.com/Alan01252/pixi-tilemap-tutorial

I made this as a testing ground
https://github.com/blurymind/pixi-tilemap-tutorial/tree/pixi-umd
feel free to fork and play. The module loads, but fails to work
It is also possible that some of the code still needs changing to work with pixi5

I updated my demo project now to better test against pixi-tilemap as it is in dist on master for pixi 5.
The compiled version of the umd module does not work, the vanila version works fine.
You can comment one out and try with the other in the index.html to see.
To test on localhost you can use
npx http-server .

 Is there anything else I can do to help this PR? It's something we need to get pixi-tilemap working again in gdevelop and blocks my PR there atm

I have not yet, sorry. I’ve been working 8-9 hrs/day, 7 days/week for some time. Things to finish before closing a contract.
I might get time this weekend. Maybe @ivan can give a better guarantee.
 Is there anything else I can do to help this PR? It's something we need to get pixi-tilemap working again in gdevelop and blocks my PR there atm
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-676145758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFLJDB77V64X6JAUO4FL7OTSBOV5PANCNFSM4P7BLDPQ.

I can accept other PR for now, if you are not sure about this one.

@ivan Both PRs give the same result. Mine just has more things than the UMD build.
Sent from my iPhone
On Aug 19, 2020, at 8:43 AM, Ivan Popelyshev<EMAIL_ADDRESS>wrote:

I can accept other PR for now, if you are not sure about this one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-676291062, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFLJDB4QWEWFQVBBSDNJJADSBPCHXANCNFSM4P7BLDPQ.

I think you could merge it, but don’t publish the package. We can fix the UMD.build stuff this weekend.
Sent from my iPhone
On Aug 19, 2020, at 8:43 AM, Ivan Popelyshev<EMAIL_ADDRESS>wrote:

I can accept other PR for now, if you are not sure about this one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-676291062, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFLJDB4QWEWFQVBBSDNJJADSBPCHXANCNFSM4P7BLDPQ.

@blurymind I made a fix, can you recheck?

Thank you, I will give this a try after work :)

@SukantPal that fixes it! The UMD build works in the example minimal project now!

ok, gonna re-publish it soon

ah wait, there is something wrong with this

sorry this might be a gdevelop related issue. It still fails in gdevelop unfortunately. I am trying to find out if its due to the module or gdevelop itself

Hell, whats wrong?

😆

seems not like a real UMD module, it will work without issue in the
browser, but I see no "require" at all that would make it compatible with
"CommonJS" and so it's possibly not loaded properly in Electron.
On Thu, 20 Aug 2020, 18:49 Sukant Pal<EMAIL_ADDRESS>wrote:

😆
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-677808419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRRWVI3GWEY64PFOGKWGNDSBVO2NANCNFSM4P7BLDPQ
.

Ah, I’ll see what’s going. You can file an issue so we can continue this thread there.
Sent from my iPhone
On Aug 20, 2020, at 7:39 PM, Todor Imreorov<EMAIL_ADDRESS>wrote:

seems not like a real UMD module, it will work without issue in the
browser, but I see no "require" at all that would make it compatible with
"CommonJS" and so it's possibly not loaded properly in Electron.
On Thu, 20 Aug 2020, 18:49 Sukant Pal<EMAIL_ADDRESS>wrote:

😆
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-677808419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRRWVI3GWEY64PFOGKWGNDSBVO2NANCNFSM4P7BLDPQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-677958619, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFLJDBYLVC2T7IZCUP2MAQTSBWX45ANCNFSM4P7BLDPQ.

Ah, I’ll see what’s going on. You can file an issue so we can continue this thread there.
Sent from my iPhone
On Aug 20, 2020, at 7:39 PM, Todor Imreorov<EMAIL_ADDRESS>wrote:

seems not like a real UMD module, it will work without issue in the
browser, but I see no "require" at all that would make it compatible with
"CommonJS" and so it's possibly not loaded properly in Electron.
On Thu, 20 Aug 2020, 18:49 Sukant Pal<EMAIL_ADDRESS>wrote:

😆
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-677808419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRRWVI3GWEY64PFOGKWGNDSBVO2NANCNFSM4P7BLDPQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pixijs/pixi-tilemap/pull/95#issuecomment-677958619, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFLJDBYLVC2T7IZCUP2MAQTSBWX45ANCNFSM4P7BLDPQ.

@SukantPal opened a new ticket here
https://github.com/pixijs/pixi-tilemap/issues/97


Unable to click notifications in rare cases

I think this problem is a rare case and I could not able to click the notification. Its color sets to the background's when hovering with the mouse. But clicking on this does not work at all. And no idea why.
Version: 4.3.1

Restarting the computer & Gitify does not solve the issue. I am still not able to click that specific notification.

Just noticed the unclickable ones is the discussion neither issues nor pr.

Duplicate of https://github.com/manosim/gitify/issues/521 ?

Seems duplicate, thanks.


fprintf and exit unsupported under wasm

When trying to use this grammar with wasm, I stumbled into the two following problems:

Failed to instantiate wasm module: invalid import 'fwrite'
Failed to instantiate wasm module: invalid import 'exit'

This can be solved by commenting all fprintf-s and exit-s or hiding them behind a guard:
#if defined(__EMSCRIPTEN__) || defined(__wasm__) || defined(__wasm32__) || defined(__wasm64__)
// use wasm stuff
#else
fprintf(stderr, "vec_u32_deserialize: malloc failed\n");
exit(EXIT_FAILURE);
#endif

I would really appreciate you fixing this, as I use zed editor which, in term, uses grammars compiled to wasm

It's done. Could you tell me if it works now?
I did not check for particular targets, but directly used a macro definition which is commented when not in debug mode.

It works, cool, thanks!


[Bug] Improve error logging and catch more exceptions

Community Note

Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug
The Docker container logs regularly seem to contain entries of the form shown below. This often happens when the Explorer is idle. These errors should be caught and handled appropriately, and if necessary something more meaningful logged. It's unclear if these exceptions represent a bug, or an expected exception. In either case the root cause should be handled better and the logs should be cleaner. Logging exceptions implies a bug (whether true or not).
TypeError [ERR_INVALID_URL]: Invalid URL
    at new NodeError (node:internal/errors:387:5)
    at URL.onParseError (node:internal/url:565:9)
    at new URL (node:internal/url:641:5)
    at getRequestObjects (/graph-explorer/packages/graph-explorer-proxy-server/node-server.js:118:13)
    at retryFetch (/graph-explorer/packages/graph-explorer-proxy-server/node-server.js:63:24)
    at /graph-explorer/packages/graph-explorer-proxy-server/node-server.js:165:24
    at Layer.handle [as handle_request] (/graph-explorer/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/layer.js:95:5)
    at next (/graph-explorer/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/graph-explorer/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/graph-explorer/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/layer.js:95:5)
No endpoint passed

From time to time the logs also contain a lot of entries as shown below. This is not useful. The message should either be something meaningful/actionable, or not logged at all.
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok
Response ok

The notes above cover "server side" logging done by the Docker container. The logging done in the browser could, and should, also be expanded. Trouble shooting issues will be much easier with more extensive logging.

@krlawrence Logging has been added to repo.


ppl: ensure pin shape width/height is an even multiple of the dbu's since they are divided by 2 causing off grid violations

Fixes:

off grid violations in pins since skywater has a mfg grid of 5nm and a DBU of 1000, this leads to rounding errors when computing the pin shape by /2

I've never seen a PDK like this where a valid point on the manufacturing grid can't be represented in dbu. It seems like a PDK bug...

I'm not sure (the skywatre130 PDK has lots of specialness), but the issue is the / 2 (since the minimum resolution is 5 DBUs), this causes a height of 485 DBUs be become 484 after the / 2 and * 2


Delay watcher setup until a target actually gets executed

At the moment, Žinoma initializes file watchers as it initializes target actors.
The creation of watchers could be delayed until a target is executed for the first time. This would improve the startup time (and the resource usage) of the watch mode.

This would also fix a bug that occurs when watching directly after a clean: cleaned file are not present from the start, and the watcher currently skips them.


make ScottyT a real monad transformer

addresses #225 and #272.
This can be resolved with a surprisingly small amount of change, so I went ahead with submitting a PR.

Hmm, some code relies on IO being the base monad of ScottyT. I wonder what the right direction is

Hmm, some code relies on IO being the base monad of ScottyT. I wonder what the right direction is

Probably deprecate ScottyT.


added flat_map as alias for and_then

I wouldn't do this. Better to just add a method called flatten that does what you want. I'll do that now.

and_then is a fine name. We want to keep the standard library as orthogonal as possible which means not having multiple functions to achieve the same goal. flat_map would be a mere alias. We can't please everyone with names, which is okay.


rehash.mo;  missing   nat32ToNat64;   nat64ToNat32;

these seem to be missing in motoko 0.10.0

Hi. These methods were included in 0.9.8
Release notes https://github.com/dfinity/motoko/releases/tag/0.9.8
Pull request https://github.com/dfinity/motoko/pull/4139
Code https://github.com/dfinity/motoko/blob/master/src/prelude/prim.mo#L144
What were your steps to ensure you are building with Motoko compiler 0.10.0? Please look through this issue https://github.com/ZhenyaUsenko/motoko-hash-map/issues/9

updated dfx works now. nice


starship: use unstable to fix darwin

Description of changes
This switches to unstable for a quick fix for darwin.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I'm going to merge this since ci is passing.
Happy to take care of feedback if there is anything.

Result of nixpkgs-review pr 168558 run on aarch64-darwin 1

1 package built:

starship


StrEnum class not available in python 3.10

Describe the bug
Trying to run (a fork of) version 1.16.1 on python 3.10.12 and got ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py).
I am running Ubuntu 22.04.5 LTS, and python 3.10 was just the default python version installed.
Specifically this is only an error with the new HeatSourceTypes Enum defined in const.py. If there is a reason to keep it as a StrEnum and not just an default Enum, StrEnum was added in python3.11 and support for python3.10 could be dropped.

v1.16.2 switches enum for the strenum because it was a simple change, but I generally only support the official HA container which is used by home assistant's OS.  I highly recommend using a container or ha os for improved stability and longevity.
HA's latest python package requires 3.11 [https://github.com/home-assistant/core/blob/af715a4b9a21a7c855afc67bec005d0e977c8987/pyproject.toml#L24]
and HA expects python 3.13 https://www.home-assistant.io/installation/linux#install-home-assistant-core


Modal title accessibility announcement example rn-tester implementation

Summary
Adds an example implementation.  fixes https://github.com/facebook/react-native/issues/30860
Changelog

[General] [Changed] - Modal title announcements example rn-tester implementation
Test Plan
https://www.icloud.com/iclouddrive/0fdBl7MCKgQ3d0vMeRR-DDVuA#modal_title_android

TODOs

[ ] Change accessibilityTitle to aria-title

I'm curious what impact (if any) this property should have on iOS. As far as I know, iOS doesn't have the concept of accessibility-specific titles in UIAlertController. They only have the option for a visible text title (which is announced on display). We could attempt to polyfill this behavior into iOS by making an announcement upon display of the modal, but this will be tricky as the modal will likely already be announcing something else (whatever gets focused), and I'm not sure it's worth the complexity.
Maybe we should simply have this prop be named "title" and set a visible title for both iOS and Android, rather than making this title for accessibility only to simplify things here.
As long as there is some way to give these dialogs a title for both platforms that is announced on display, I don't think it matters much if that title is only for accessibility services. It likely should be visible for all users anyways.

[ ] add documentation to rn-tester
[ ] fix issue #30097 with sendAccessibilityEvent in SurfaceMountingManager (commit)

Android - Modal On Presentation with Accessibility Title

https://www.icloud.com/iclouddrive/019O2PciZhBLPJrxwZ9zwoXjA#modal_on_presentation_accessibility_title

remove sendAccessibilityEvent setTimeout as not required on iOS (video of the test)

iOS does not have issues with sendAccessibilityEvent (https://github.com/facebook/react-native/issues/30097#issuecomment-1285927266), for this reason setTimeout is not required
https://www.icloud.com/iclouddrive/00cgfwQLkaoFQHvxh-Dj89zUA#ios_modal_title

I moved all the changes to the rn-tester example ModalPresentation.
As explained in the comment https://github.com/facebook/react-native/pull/34969#issuecomment-1290660843, changes to the below react-native APIs could be added in my upcoming PRs:
TalkBack changes the focus previously set with sendAccessibilityEvent (Issue #30097). The possible solutions are:

adding a method sendAccessibilityEventWithDelay
A queue mechanism could be built in the future to fix this issue (example included here). The queue mechanism would repeat the announcement if interrupted (original comment).
adding lifecycle callbacks similar to componentDidMount for modal, for example componentDidShow compatible with TalkBack/VoiceOver lifecycle (similar issue with onMomentumScrollEnd)

I remain available to make changes or improvements required. Thanks

Android - Video Test

https://user-images.githubusercontent.com/24992535/204383749-0363f73a-52a1-458b-ba8e-9c80d390d72b.mp4

iOS - View Test

https://user-images.githubusercontent.com/24992535/204383935-c20f5db3-27fc-49ec-b638-e2a681afa269.mp4


Cannot render an MP4 through aerender commandline

Cannot render an MP4 through aerender commandline, AfterEffects 2017 version
Nexrender says as output MP4, but aerender does not support it by default, I tried work arounds but they dont work. Can any one help?

have you tried this?
https://helpx.adobe.com/after-effects/using/basics-rendering-exporting.html
OutputExt field describes which file extension will be used to save render file. Make sure this file ext. corresponds to the right output module template that will be used to render current project.

Note: default value is: "mp4". It's perfectly pairs with "h264" output module template, see above.

Hi,
Thanks for the quick reply.
Q: Do we need to use "output module template" for AE to get it to work?
groet
Mark
2017-01-11 9:24 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>
have you tried this?
https://helpx.adobe.com/after-effects/using/basics-
rendering-exporting.html
OutputExt field describes which file extension will be used to save render file. Make sure this file ext. corresponds to the right output module template that will be used to render current project.
Note: default value is: "mp4". It's perfectly pairs with "h264" output module template, see above.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271806927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX5DajMewHu1jFXpoe1sO0xHY2-je8_rks5rRJHDgaJpZM4LgTh2
.

Q: Do we need to use "output module template" for AE to get it to work?
If you want to render mp4 - then yes. aerender binary works on settings, which you set up in your After Effects application.

By default AE don't have mp4 output rendering via h264. And maybe, latest versions don't event support it. Adobe forces users to use Media Encoder tool for some reason.
In any case, you always can change rendering output any other format.

There are 2 problems

nexrender cannot use command line for Media Encoder
only MP4 can we used to stream to html5 tag

2017-01-11 9:37 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>
Q: Do we need to use "output module template" for AE to get it to work?
If you want to render mp4 - then yes. aerender binary works on settings,
which you set up in your After Effects application.
By default AE don't have mp4 output rendering via h264. And maybe, latest
versions don't event support it. Adobe forces users to use Media Encoder
tool for some reason.
In any case, you always can change rendering output any other format.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271809354,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX5DajSmI3bOzRLNIBxm0Qn8nIq2krLWks5rRJTDgaJpZM4LgTh2
.

In that case, if there are no options of creating "h264" output template in the 2017 version of After Effects, i can only suggest you to downgrade version to the one, which supports adding custom output rendering templates.

only MP4 can we used to stream to html5 tag

also you can render in avi or mov for example, and then convert it to mp4 using any available convertor. For example ffmpeg (console) or Format Factory (win gui), etc

So nexrender then is not compatible with Aftereffects 2017?
We need realtime streaming, while rendering, Therefor we need mp4

2017-01-11 9:45 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>
In that case, if there are no options of creating "h264" output template
in the 2017 version of After Effects, i can only suggest you to downgrade
version to the one, which supports adding custom output rendering templates.

only MP4 can we used to stream to html5 tag

also you can render in avi or mov for example, and then convert it to mp4
using any available convertor. For example ffmpeg (console) or Format
Factory (win gui), etc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271810894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX5DasZ52U0rDa9xksJIJm18mpSbGpIJks5rRJaQgaJpZM4LgTh2
.

So nexrender then is not compatible with Aftereffects 2017?
For mp4 output format - maybe. I did not test After Effects 2017 yet.

We need realtime streaming, while rendering, Therefor we need mp4
Hm, not sure that realtime streaming even achievable with After Effects. As
far as i know, AE renders mp4 video and audio in separate streams, m4v and
m4a respectively.
And mp4 container gets populated only when AE finishes rendering.

For dynamic streaming mp4 video with custom data i'd suggest you looking on
ffmpeg, or some libraries/tools built on top of it. Im pretty sure thats
what might help you.
On Wed, Jan 11, 2017 at 10:48 AM, markymark1234<EMAIL_ADDRESS>wrote:

So nexrender then is not compatible with Aftereffects 2017?
We need realtime streaming, while rendering, Therefor we need mp4

2017-01-11 9:45 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>
In that case, if there are no options of creating "h264" output template
in the 2017 version of After Effects, i can only suggest you to downgrade
version to the one, which supports adding custom output rendering
templates.

only MP4 can we used to stream to html5 tag

also you can render in avi or mov for example, and then convert it to mp4
using any available convertor. For example ffmpeg (console) or Format
Factory (win gui), etc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271810894,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AX5DasZ52U0rDa9xksJIJm18mpSbGpIJks5rRJaQgaJpZM4LgTh2>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271811490,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACFL3DzVAuwnhQAu8QLYuOwE-EUxb4Aeks5rRJdGgaJpZM4LgTh2
.

--
Vladislav Gritsenko
Software Developer
https://inlife.github.io/
https://inlife.github.io/?utm_campaign=email&utm_medium=referral&utm_source=signature

So whats the difference then between nexrender and ffmpeg?
2017-01-11 9:56 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>

So nexrender then is not compatible with Aftereffects 2017?
For mp4 output format - maybe. I did not test After Effects 2017 yet.

We need realtime streaming, while rendering, Therefor we need mp4
Hm, not sure that realtime streaming even achievable with After Effects. As
far as i know, AE renders mp4 video and audio in separate streams, m4v and
m4a respectively.
And mp4 container gets populated only when AE finishes rendering.

For dynamic streaming mp4 video with custom data i'd suggest you looking on
ffmpeg, or some libraries/tools built on top of it. Im pretty sure thats
what might help you.
On Wed, Jan 11, 2017 at 10:48 AM, markymark1234<EMAIL_ADDRESS>wrote:

So nexrender then is not compatible with Aftereffects 2017?
We need realtime streaming, while rendering, Therefor we need mp4

2017-01-11 9:45 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>:

In that case, if there are no options of creating "h264" output
template
in the 2017 version of After Effects, i can only suggest you to
downgrade
version to the one, which supports adding custom output rendering
templates.

only MP4 can we used to stream to html5 tag

also you can render in avi or mov for example, and then convert it to
mp4
using any available convertor. For example ffmpeg (console) or Format
Factory (win gui), etc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/Inlife/nexrender/issues/25#issuecomment-271810894
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AX5DasZ52U0rDa9xksJIJm18mpSbGpIJks5rRJaQgaJpZM4LgTh2>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271811490,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/ACFL3DzVAuwnhQAu8QLYuOwE-EUxb4Aeks5rRJdGgaJpZM4LgTh2>
.

--
Vladislav Gritsenko
Software Developer
https://inlife.github.io/
<https://inlife.github.io/?utm_campaign=email&utm_medium=
referral&utm_source=signature>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271813231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX5DagtDHopj4r0tTVavsFUeZLxK2M15ks5rRJk2gaJpZM4LgTh2
.

nexrender works with project templates made in gui environment inside After
Effects, and helps you to automate process of creation similar or dynamic
videos.
ffmpeg is a console application that is considered as a multitool for all
sorts of media encoding/decoding/manipulation etc.
On Wed, Jan 11, 2017 at 10:59 AM, markymark1234<EMAIL_ADDRESS>wrote:

So whats the difference then between nexrender and ffmpeg?
2017-01-11 9:56 GMT+01:00 Vladislav Gritsenko<EMAIL_ADDRESS>

So nexrender then is not compatible with Aftereffects 2017?
For mp4 output format - maybe. I did not test After Effects 2017 yet.

We need realtime streaming, while rendering, Therefor we need mp4
Hm, not sure that realtime streaming even achievable with After Effects.
As
far as i know, AE renders mp4 video and audio in separate streams, m4v
and
m4a respectively.
And mp4 container gets populated only when AE finishes rendering.

For dynamic streaming mp4 video with custom data i'd suggest you looking
on
ffmpeg, or some libraries/tools built on top of it. Im pretty sure thats
what might help you.
On Wed, Jan 11, 2017 at 10:48 AM, markymark1234 <
<EMAIL_ADDRESS>wrote:

So nexrender then is not compatible with Aftereffects 2017?
We need realtime streaming, while rendering, Therefor we need mp4

2017-01-11 9:45 GMT+01:00 Vladislav Gritsenko <
<EMAIL_ADDRESS>:

In that case, if there are no options of creating "h264" output
template
in the 2017 version of After Effects, i can only suggest you to
downgrade
version to the one, which supports adding custom output rendering
templates.

only MP4 can we used to stream to html5 tag

also you can render in avi or mov for example, and then convert it to
mp4
using any available convertor. For example ffmpeg (console) or Format
Factory (win gui), etc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/Inlife/nexrender/issues/25#
issuecomment-271810894
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AX5DasZ52U0rDa9xksJIJm18mpSbGpIJks5rRJaQgaJpZM4LgTh2>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Inlife/nexrender/issues/25#issuecomment-271811490
,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/ACFL3DzVAuwnhQAu8QLYuOwE-EUxb4Aeks5rRJdGgaJpZM4LgTh2>
.

--
Vladislav Gritsenko
Software Developer
https://inlife.github.io/
<https://inlife.github.io/?utm_campaign=email&utm_medium=
referral&utm_source=signature>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271813231,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AX5DagtDHopj4r0tTVavsFUeZLxK2M15ks5rRJk2gaJpZM4LgTh2>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Inlife/nexrender/issues/25#issuecomment-271813926,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACFL3La8A-JujWOoYeCiLxj6Zp-WwZLrks5rRJoBgaJpZM4LgTh2
.

--
Vladislav Gritsenko
Software Developer
https://inlife.github.io/
https://inlife.github.io/?utm_campaign=email&utm_medium=referral&utm_source=signature

I don't know much about aeRender  I'm still reading but I do know that h264 is supported on ae 2017 only with QuickTime.  You have to download QuickTime to output h264. The file format is .mov but most platforms support it anyhow like YouTube and such. Could I use .mov with this program?

Look, you can render whatever format your version of aerender (After Effects) support. You need just say nexrender to use this particular format, and magic will happen by itself. :)

@pharrowboy @Inlife  I know this thread is closed but I still want to ask for some help from you guys. I am using ae2017 and also can't generate MP4 as h264 module missing.  Do you know how to use h264 from QuickTime in AeRender command line? I've installed QuickTime and run the below command
let params = [     '-project', 'E:\\Git\\demos\\aerender\\projects\\FlatLogo.aep',     '-comp', 'LOGO_MAIN_COMP_EDIT/RENDER',     '-continueOnMissingFootage',     '-output', 'c:\\output\\test1.avi',     '-OMtemplate', 'h264' ] process.env.AE_BINARY = 'C:\\Program Files\\Adobe\\Adobe After Effects CC 2017\\Support Files\\aerender.exe'; const { execFile } = require('child_process');
Still showing module not found issue.
Also, do you know which AE version include h264 by default? AE CC 2015?
Thanks,

Hello,
You've tried setting up custom h264 output module in AE settings right ?
https://helpx.adobe.com/after-effects/using/basics-rendering-exporting.html#output_modules_and_output_module_settings
Im gonna try to download newest version of AE and try
Its not first time someone asked about CC 2017
Gonna check myself :)

Other than rendering with QuickTime output. 2017 edition requires adobe media encoder that you get by subscription to output mp4 h264

Seems like Adobe doesnt like the ability to render and compress stuff directly from AE :/

Hey guys,
I was so happy that I may figured out a new way to solve H264 not support issue in CC2015 or maybe same as CC2017 (not test):
First of all, install QuickTime, then Simply creating a custom Output Module Templete in Edit=>Perferences item, then named it as "H264" or what ever, then choose QuickTime format and select H.264 encoding, then save it.
After that, then run your command line and set "-OMtemplate" as "H264" which is the custom module name you just created, then the Output module error never happens and I can generate a small .mov video (still not sure why not mp4)!!! But it is a victory for me as it will help me to avoid generating a huge avi file and then encoding it with ffmpeg.

yeah, if its small - means that its encoded via h264
however mov container is created cuz of quicktime
in any case changing container (mov -> mp4) via ffmpeg or something similar
should take less then 1 second (its not converting video just changing container)

Wow, thanks Inlife for the explanation. That makes sense! I am an newbie on video process and format. Anyway, for now, I am not afraid to use CC2015 and CC2017.

in any case changing container (mov -> mp4) via ffmpeg or something similar
should take less then 1 second (its not converting video just changing container)

How can we do this with ffmpeg? Thanks

depends on your preferences
can someway like this:
$ ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4

Is it possible to render template aerender to codec. For reason we need to reduce the render time. MOV to MP4.
Is it any possible to directly render in codec.

Hi all,
Convert directly MP4 help of aescript and aeplugin.
Steps 1: I was installed aescript  & aeplugin  and after codec.
Steps 2: set OMtemplate Aftercodec
Steps 3: run output, it's directly convert MP4.
It's helped me. Is it correct way?.

Another method is to convert After Effect exported files to mp4, avi, mpg, prores, wmv, mov etc with the help of iDealshare VideoGo.


Menu will show above the titlebar

I through maybe, the window will doesn't exist in the window...

.......

It will not happened...

Maybe...

It really happened.
.


Bug: No notification email sent for new customer added in v2.11

What are you trying to achieve?
I'm running Saleor v2.11, and as recently as last year, when I added a new Customer into Saleor and confirmed it was accepted in the dashboard view, an email would be sent to the customer asking to complete registration / set a password then they could log in. I've just tried adding 2 new Customers (with my own 'dummy' GMail accounts), and neither received any notification. Also, if I simply tried going to the login prompts on the site's home page after logging out of the admin dashboard, then using 'Forgot Password', nothing happens.
What might be the root cause for this issue?
Steps to reproduce the problem

Log into the admin dashboard
Go to 'Customers' screen & select the 'Create Customer' button
fill out all required fields for new Customer
Save
Go back to Customers screen & verify the new customer is listed
Check email inbox for new customer to see if any notification from my website or Saleor appears for completing registration

What did you expect to happen?
See above - no notice/access to the new customer
Logs
No response
Environment
Saleor version: 2.11
OS and version: Windows 8

Hi @CopperMS, Saleor 2.11 and also 3.0 are no longer supported. I encourage you to update Saleor to the latest version, 3.7+. If you have any questions or issues with the latest versions, feel free to open an issue or discussion.


Getting "Can't instantiate abstract class Snooker with abstract method copy" when game_type=SNOOKER

version: <IP_ADDRESS>
gist with stacktrace

Can you git pull? I think I fixed this the other day.

Got you!


Weather Data Image Classification notebook shows "IndexError: Target 4 is out of bounds"

Link to the notebook
Weather Data Image Classification notebook
What aspects of the notebook do not work?
For the following code cell in section "5. Fine-tune the pre-trained model on the labelled weather data"
print('Training of Model:') model_ft = train_model(model_ft, criterion, optimizer_ft,model_checkpoint=0,num_epochs=epochs)
I get the following error:
`---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
Cell In[26], line 2
1 print('Training of Model:')
----> 2 model_ft = train_model(model_ft, criterion, optimizer_ft,model_checkpoint=0,num_epochs=epochs)
Cell In[12], line 35, in train_model(model, criterion, optimizer, model_checkpoint, early_stop, num_epochs)
33 _, preds = torch.max(output, 1)
34 # calculate the batch loss
---> 35 loss = criterion(output, target)
36 # backward pass: compute gradient of the loss with respect to model parameters
37 loss.backward()
File ~/.conda/envs/cv/lib/python3.9/site-packages/torch/nn/modules/module.py:1194, in Module._call_impl(self, *input, **kwargs)
1190 # If we don't have any hooks, we want to skip the rest of the logic in
1191 # this function, and just call forward.
1192 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1193 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1194 return forward_call(*input, **kwargs)
1195 # Do not call functions when jit is used
1196 full_backward_hooks, non_full_backward_hooks = [], []
File ~/.conda/envs/cv/lib/python3.9/site-packages/torch/nn/modules/loss.py:1174, in CrossEntropyLoss.forward(self, input, target)
1173 def forward(self, input: Tensor, target: Tensor) -> Tensor:
-> 1174 return F.cross_entropy(input, target, weight=self.weight,
1175 ignore_index=self.ignore_index, reduction=self.reduction,
1176 label_smoothing=self.label_smoothing)
File ~/.conda/envs/cv/lib/python3.9/site-packages/torch/nn/functional.py:3026, in cross_entropy(input, target, weight, size_average, ignore_index, reduce, reduction, label_smoothing)
3024 if size_average is not None or reduce is not None:
3025 reduction = _Reduction.legacy_get_string(size_average, reduce)
-> 3026 return torch._C._nn.cross_entropy_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index, label_smoothing)
IndexError: Target 4 is out of bounds.`

This looks like a Pytorch issue that may be in the code.
did you see this: https://discuss.pytorch.org/t/indexerror-target-4-is-out-of-bounds/99172


Update global footer to use IO logo, and match main content width

Summary

added in placeholder logo which is selected when the page url contains
'instant-observability'. once we have the real logo, we only need to
swap it with the placeholder.
added in css styling to have the footer match the main content width

Screenshots

Resolves: https://github.com/newrelic/gatsby-theme-newrelic/issues/444

couple comments:

sorry if i missed it discussed elsewhere 😭 but why aren't we making the footer full width on the main page?
in the details page the footer is almost full width except a little left margin which feels off to me, especially with the bread crumbs bar being full width
clicking the logo takes me back to the developer homepage but should probably link back to the IO page

1, 2. made changes for the footer length / placement. now it matches the length of the main content container on both the IO page and quickstart details page.
3. i removed that AC and kind of explained on the ticket. the footer doesn't have a way to change what it links to currently, so we would have to add an additional prop to the component in the theme for this. but zack and clinton had questioned if that was worth it since this is not really functionality we have and exists only because we have the two sites combined into one for the moment.


Error: Could not load the "sharp" module

Ubuntu 22.04.3
$ ./Nora-Setup-2.5.0-stable-linux-x86_64.AppImage
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Could not load the "sharp" module using the linux-x64 runtime
ERR_DLOPEN_FAILED: libvips-cpp.so.42: cannot open shared object file: No such file or directory
Possible solutions:
- Add platform-specific dependencies:
    npm install --os=linux --cpu=x64 sharp
  or
    npm install --force @img/sharp-linux-x64
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/tmp/.mount_Nora-SyTq9JM/resources/app.asar/node_modules/sharp/lib/sharp.js:85:9)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Object..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at node:internal/modules/cjs/loader:967:12
    at Function._load (node:electron/js2c/asar_bundle:2:13327)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/tmp/.mount_Nora-SyTq9JM/resources/app.asar/node_modules/sharp/lib/constructor.js:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)

can you try this solution from a previous issue #207.

sudo apt install libvips (or to be specific libvips42).
And after that, both .deb installed pkg as well as the AppImage worked fine!

Thanks, now it works


comparison method

Is the result of the comparison method in the article obtained by training yourself in the same environment, or directly using their own training weight parameters? if trained by yourself，what batchsize  of the comparison methods is set to

We used pre-trained weights if they are available. For those methods that do not provide pre-trained weights, we trained them by ourselves. For training, the batch size was set to 4, except for the Zhang dataset where the batch size was set to 2.


[Codabox Connect] Invalid payload when searching documents

We're currently trying to integrate with Codabox Connect but when doing a document search we get the following response:
   at Ibanity.Apis.Client.Http.HttpResponseMessageExtensions.ThrowOnFailure(HttpResponseMessage this, ISerializer`1 serializer, ILogger logger)
   at Ibanity.Apis.Client.Http.ApiClient.SendWithPayload[TRequest,TResponse](HttpMethod method, String path, String bearerToken, TRequest payload, Nullable`1 idempotencyKey, CancellationToken cancellationToken)
   at Ibanity.Apis.Client.Products.BaseResourceClient`6.InternalCreate[TRequestAttributes,TRequestMeta,TRequestRelationships,TRequestLinks](TToken token, String path, Data`4 payload, Nullable`1 idempotencyKey, Nullable`1 cancellationToken)
   at Program.<Main>$(String[] args) in /Users/thomasvdb/Research/IbanityClientResearch/IbanityClientResearch/Program.cs:line 29
   at Program.<Main>(String[] args)

This is the code of a Console program I tried setting up:
using Ibanity.Apis.Client;
using Ibanity.Apis.Client.Products.CodaboxConnect.Models;

var certificatePath = "";
var certificatePassword = "";
var codaboxConnectClientId = "";
var codaboxConnectClientSecret = "";
var consentId = Guid.Parse("");
var customerCompanyNumber = "";

var ibanityService = new IbanityServiceBuilder().
    SetEndpoint("https://api.ibanity.com").
    AddClientCertificate(
        certificatePath,
        certificatePassword).
    AddCodaboxConnectOAuth2Authentication(codaboxConnectClientId, codaboxConnectClientSecret).
    Build();

var token = await ibanityService.CodaboxConnect.ClientTokenService.GetToken();
var consent = await ibanityService.CodaboxConnect.AccountingOfficeConsents.Get(token, consentId);

Console.WriteLine($"Consent found. Accounting office ID: {consent.AccountingOfficeId}");

var documentSearchRequest = new DocumentSearch
{
    DocumentType = "creditCardStatement",
    From = new DateTimeOffset(2022, 1, 1, 0, 0, 0, TimeSpan.Zero),
    To = new DateTimeOffset(2023, 1, 1, 0, 0, 0, TimeSpan.Zero),
};

var documentSearchResponse = await ibanityService.CodaboxConnect.DocumentSearches.Create(
    token,
    consent.AccountingOfficeId,
    documentSearchRequest,
    new [] { customerCompanyNumber }
);

foreach (var document in documentSearchResponse.Documents)
{
    Console.WriteLine($"Document ID: {document.Id}");
}

Fetching the consent works but the document search fails with the exception mentioned in the beginning.
Is there something incorrectly configured in the request?
Tested this with .NET 6 on macOS Ventura 13.2

Hello @thomasvdb
Could you share with us the message of the exception you received? It should contain a request ID which will help us diagnosing the issue.
Thanks!

Hello @thomasvdb
It was caused by an issue in the library. We released a 0.5.3 version fixing this.
Your issue should be fixed after upgrading to the new NuGet package version.
Feel free to reopen this issue if you still encounter the problem.


Use IUIAutomationPropertyCondition filters for children/descendants search in UIA backend

Turn ElementInfo.children and ElementInfo.descendants into methods to allow passing the optional filtering arguments down to the backend specific search function.

Current coverage is 96.52%

Merging #157 into UIA will increase coverage by +0.02% as of fa98948

@@              UIA    #157   diff @@
=====================================
  Files          31      31
  Stmts       17372   17384    +12
  Branches        0       0
  Methods         0       0
=====================================
+ Hit         16765   16780    +15
  Partial         0       0
+ Missed        607     604     -3

Review entire Coverage Diff as of fa98948

Powered by Codecov. Updated on successful CI builds.


[Availability] Diagnose unavailable conformances in UnderlyingToOpaqueExpr.

Change the availability checker to check substitution maps of underlying values for opaque result types to diagnose unavailable conformances. This change also makes sure Sendable availability diagnostics are errors in Swift 6 mode.
Resolves: rdar://125421098

@swift-ci please smoke test

@swift-ci please smoke test


EXIT/SCRIPT kills Ferret

Reported by steven c hankin on 22 Oct 2008 17:49 UTC
        NOAA/PMEL TMAP
        FERRET v6.11 (beta)
        Linux(g77) 2.4.21-32 - 08/06/08
        22-Oct-08 10:43

These lines in a script
IF ($1%TRUE|*>FALSE%) THEN
  SAY "*******************************"
  EXIT/SCRIPT
ENDIF

lead to this output
yes? go HF_open.jnl
*******************************
STOP csp_undflw statement executed

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1604

Comment by ansley.b.manke on 6 Feb 2009 22:34 UTC
This is now fixed. I believe it's the same as bug 1588: crash on EXIT/SCRIPT inside an IF block


OpenCV viz crashes once execution starts in VS2015

Hello Tsukasa,
I'm encountering an issue with the "Viewer" example when compiling it with Visual Studio 2015 (x64), the executable crashes with this message:

After some code tracing, the issue appears to be in these two lines of code:
cv::Mat cloudMat = cv::Mat(static_cast<int>(buffer.size()), 1, CV_32FC3, &buffer[0]); cv::viz::WCloud cloud(cloudMat, viz::Color::white());
But haven't had any luck resolving the issue, have you faced this issue before?.
Thanks,
Karim

It is different from the original code.
The original code is following.
cv::Mat cloudMat = cv::Mat( static_cast<int>( buffer.size() ), 1, CV_32FC3, &buffer[0] );
cv::viz::WCloud cloud( cloudMat );

Also, You specify white (viz::Color::white())) but display of attached image is green. Why?
At the least, You need to tell the OpenCV version.

Any luck with this issue?, I had very little progress trying to solve it, so, now it doesn't crash when I replaced viewer.spinOnce(); with viewer.spin();, However the application doesn't loop and stuck at the first frame constructed, this is a screenshot:

I tried to print out the values of x, y and z, it stops after 31935 readings (the pcap file has 8305 data points.


NOISSUE - Fix default db name for storage databases

Signed-off-by: Ivan Milošević<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1194   +/-   ##
=======================================
  Coverage   77.24%   77.24%
=======================================
  Files         102      102
  Lines        6817     6817
=======================================
  Hits         5266     5266
  Misses       1181     1181
  Partials      370      370

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 ea3a891...0099079. Read the comment docs.


[Feature Request] Custom Path Sonarr/Radarr for Collections

Add the option to modify the root folder path in Sonarr or Radarr.
Because for example I don't use the same library on Plex and the same path on Sonarr/Radarr for Series and Anime

ok arr_folder collection detail has been added to develop


soc: nordic: configure run once for nrf54h20

Erase and reset must run only once during flashing. This prevents a situation, where the next flashed image erases the previous one.

@nordic-piks Is similar change needed for nrf54h20dk/nrf54h20/cpuppr?

@nordic-piks Is similar change needed for nrf54h20dk/nrf54h20/cpuppr?

yes, I would be continent for future to have it also for ppr. @e-rk can you extend your PR?


quite minor changes inside weighted_rigid_align

quite minor changes plus some comments, i believe this now matches the typo corrections which we implicitly had in mind for Algorithm 28 but do check...
one change that's worth making sure i haven't messed up is the change in Einstein notation in defining
aligned_coords = torch.einsum('bnj,bij->bni', true_coords_centered, rot_matrix) + pred_centroid.unsqueeze(1)
instead of
aligned_coords = torch.einsum('bni,bij->bnj', true_coords_centered, rot_matrix) + pred_centroid.unsqueeze(1),
i.e. i think one should be multiplying by the rotation matrix on the left --- specifically, since it is obtained from the singular value decompositon of
torch.einsum('bni,bnj->bij', pred_coords_centered * weights.unsqueeze(-1), true_coords_centered)
and in the extreme (unlikely) case where the vectors in pred_coords_centered and true_coords_centered are orthonormal (and all weights = 1) that matrix should, through left multiplication, take true_coords_centered to pred_coords_centered.
but considering all the minus signs implicit in this statement i absolutely could be mistaken :))!!

ok fair enough! i suppose i'd have expected a reader to be more confused by the naming (since the function of pred_coords gets detached before being returned and fed into the loss) but anyway thanks for the checks and your pr! closing now


Reduce other streams if system is disarmed and log download is active

This should help allowing a bit more bandwidth through USB.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


Fix returning blocks with shadow rows to the AqlItemBlockManager

If we don't reset shadow row indices, this set might contain shadow rows from
previous uses and lead to havoc.
This will need to be backported to 3.6, and a new test should be be added too before merging.
This should solve (at least) #10804

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/7919/

Test added.

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/7922/

I'll do it in this PR (and the associated 3.6 PR) if just to make sure we don't forget.

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7934/

Jenkins is blue.


Create Pages “research-1”

Automatically generated by Netlify CMS

👷 Deploy Preview for koytak processing.

Name
Link

🔨 Latest commit
8311269be2635fe7aed5622689f46e7bebfce75b

🔍 Latest deploy log
https://app.netlify.com/sites/koytak/deploys/66a1141e12e8fc0008e98fda


[camerax] ResolutionPreset.high has camera preview size set to 720x540 instead of 1280x720, unlike the camera_android plugin

What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
camera: 0.10.5+9
camera_android_camerax: 0.5.0+36
Steps to reproduce
Create a CameraController with ResolutionPreset.high
Expected results
The camera preview size should be 1280 x 720.
Actual results
The camera preview size becomes 720 x 540. The camera_android plugin has the proper preview size of 1280 x 720 so it is possible to have this preview size on the device. For some reason, the cameraX plugin does not resolve to this resolution and aspect ratio. I know the resolution presets are targets and are not guaranteed. But if the camera_android plugin resolves to the correct resolution, cameraX should also be able to do this.
Code sample
Code sample
 _controller = CameraController(cameras[0], ResolutionPreset.high);

Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.2.1 23C71 darwin-arm64, locale en-RO)
    • Flutter version 3.19.3 on channel stable at /Users/ka/dev/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (11 days ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/ka/Library/Android/sdk
    • Platform android-34, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Connected device (4 available)
    • BE2029 (mobile)                   • d49fd97d                                 • android-arm64  • Android 11 (API 30)
    • Catalin Morosan’s iPhone (mobile) • b4edf88c07bc09f8c4aa16ca492b0ddbbc369aa1 • ios            • iOS 15.8 19H370
    • macOS (desktop)                   • macos                                    • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                      • chrome                                   • web-javascript • Google Chrome 122.0.6261.129

[✓] Network resources
    • All expected network resources are available.

• No issues found!

After looking more into this, the reason the preview size isn't the correct one is because the camerax plugin does not set an explicit aspect ratio and thus it uses the default one from native side of 4:3.
I've modified the source code to explicitly set a 16:9 aspect ratio which seems to solve this. In order to have the exact behavior as the camera_android plugin, I think 16:9 should be set as the default aspect ratio.
static ResolutionSelector _createAttachedResolutionSelector(
      ResolutionStrategy resolutionStrategy) {
    return ResolutionSelector(
      resolutionStrategy: resolutionStrategy,
      aspectRatioStrategy: AspectRatioStrategy(
        preferredAspectRatio: AspectRatio.ratio16To9,
        fallbackRule: AspectRatioStrategy.fallbackRuleAuto,
      ),
    );
  }

Hi @kaciula, this is a known issue which is being tracked in https://github.com/flutter/flutter/issues/144363.
Kindly share your findings in the issue linked above.
Closing from here as duplicate.
Thank you


fix/convolution: workaround for 0 memory allocation

@homu r+

:pushpin: Commit e30b59d has been approved by hobofan

:zap: Test exempted - status


fix: couldn't take input for floating point number using FluentNumberField.

<FluentNumberField Name="Latitude" @bind-Value="@Latitude" Step="0.000001" />

[Required]
[Display(Name = "Latitude")]
[Range(-90.0, 90.0, ErrorMessage = "Latitude must be between {1} and {2}")]
public float? Latitude { get; set; }

You will find more details here: #1127


go语言驱动问题

参见，http://www.cnblogs.com/ziyouchutuwenwu/p/3854336.html
这个问题是不是真的存在？然后如果这样加锁，是不是会影响性能（如果是多个协程共用同一个client）。

I don't know what this says.  Maybe I can fix it.

I think my pull request from yesterday addresses these problems.

@mcqueenorama , There may be a problem for gossdb in the blog.
There is one client for ssdb using gossdb lib, it will have a problem when using client read or write at many times for a little time interval. So the blog tell us, it should use a mutex to block the send and recv.


More scripts: convfinqa, flan, lyrics, multi_news, ni, nq, openai_summarize_tldr, p3, scitldr, squad_v2

Some data need to manually download the data. @ontocord

looks great. thank you!


select existing instruction when "e" is hit

Making the existing instruction selected when the 'e' key is hit will allow people to not have to delete the existing instruction before typing the new one.

Fixed in dev.


trace rtabmap

When I cleaned up rtabmap some days ago (and enabled linux + osx), I decided to not add a feature to control  tools because these executables might be a good indicator of broken passing of usage requirements in the dependencies network... I didn't expect it to become relevant in such a short time.


Update fr.json

no capitals for days and months names in French
use the OQLF recommendations for abbreviations:

https://vitrinelinguistique.oqlf.gouv.qc.ca/23619/les-abreviations-et-les-symboles/les-abreviations/listes-dabreviations/abreviation-des-noms-de-mois
https://vitrinelinguistique.oqlf.gouv.qc.ca/23617/les-abreviations-et-les-symboles/les-abreviations/listes-dabreviations/abreviation-du-nom-des-jours-de-la-semaine

remove initial capitals from a few words

I'm also wondering about the possibility of managing the spelling of the 1990 spelling corrections (https://fr.wiktionary.org/wiki/Annexe:Rectifications_orthographiques_du_français_en_1990), especially the spelling aout instead of the traditional août.
Could there be alternatives spellings for a language?

So typically there is a core language like "fr". If there is a custom dialect such as Canadian French a separate "fr-CA" file can be created. You can see we have 3 different German translations. But as for two that are both French no...we should just use the most popular or common French translations.