feat: add support for dynamic configuration

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #183
What is the new behavior?
YaConfig is an observable and YaApiLoaderService supports dynamic changes of the configuration.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Toggle language - close panorama - toggle language - it breaks
Clusterer doesn't work

A lot of tests were broken due to this significant change
if (window.ymaps) {
  delete (window as any).ymaps;
}

and at the same time since YaApiLoaderService wasn't mocked


Auto-define HUNT_ADDRESSABLES if addressables package is installed in the project

This PR utilizes the version defines feature of assembly definitions to automatically define HUNT_ADDRESSABLES if the addressables package is installed in the project.
See here for details of version defines. Look for the Defining symbols based on Unity and project package versions header.

Closed in favor of #15


segment_volume: fname_roi parameter is obscure

in commit 6bc50021eefe454db0b953fe67cb6f047ebeb2e7, the docstrings says:
"Binary image filename (e.g. .nii.gz) defining a region of interest, e.g. spinal cord centerline, used to crop the image prior to segment it if provided."

Reading this, I assumed that fname_roi is a centerline, around which a 2D square matrix is estimated slice by slice, centered on the center of mass of the provided centerline, and this square matrix is used as input for the segmentation.
Later, this line (https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/utils.py#L714) mentions:
    # If fname_roi provided, then remove slices without ROI

So, I am a bit confused because I originally thought that that fname_roi was used to crop in the axial plane, but now it seems like it is used to crop along the S-I axis (i.e. remove empty slices).
Before that line, the function MRI2DSegmentationDataset does incorporate fname_roi inside the variable filename_pairs, but we then loose track of the specific purpose of fname_roi (MRI2DSegmentationDataset's docstrings talks about ROI but we don't know what it is used for)
I would suggest to either rename and/or clarify the fname_roi variable.

So, I am a bit confused because I originally thought that that fname_roi was used to crop in the axial plane, but now it seems like it is used to crop along the S-I axis (i.e. remove empty slices).

It actually does both: (1) for the slices when centerline is available --> it crop around it (2) otherwise, the slice is not included in the segmentation process (--> output zeros-like slice).
Potential applications:
(i) image containing brain section --> centerline stops at the PMJ
(ii) lesion segmentation only on slices where the SC has been detected
So, this file is essentially used to define a ROI around the cord: in the axial plane for cropping and potentially in the IS axis for slice removal.
We should indeed clarify this in the docstring.

Potential applications:
(i) image containing brain section --> centerline stops at the PMJ
(ii) lesion segmentation only on slices where the SC has been detected

I guess (iii) cropping around the centerline is another one
I would be tempted to suggest renaming the variable fname_centerline, because this file is effectively a centerline, right?  The fact that we ignore slices where the centerline is not defined is a corollary benefit of this file, but its primary purpose is to crop around it, right?

I guess (iii) cropping around the centerline is another one

Oh yes of course, I was not clear: I was referring to the IS slice removal. But yes.

I would be tempted to suggest renaming the variable fname_centerline, because this file is effectively a centerline, right? The fact that we ignore slices where the centerline is not defined is a corollary benefit of this file, but its primary purpose is to crop around it, right?

I would prefer to keep roi over centerline --> centerline mainly relates to the SC, while ivadomed could be used for other organs, for instance:

brain data --> fname_roi=skull_mask.nii.gz --> it will remove the top and bottom slices + crop axial slices of interest with a given size around the skull.
liver data tu segment liver tumour -->  fname_roi=liver_mask.nii.gz --> etc.

alternatively: fname_centreroi

It was decided to keep the variable name as it is but clarify the docstring


Studies are not consistently imported into the curation interface

Example: Kristjansson RP 26838040
There are 6 studies in the template, but when I clicked “Import”, only 2 studies were imported into the curation interface. Also the submission still appeared in the View Submissions list as if it hadn’t been imported yet. I deleted the new study entries and tried again, but this time only 1 new study was created (the first one in the template). Again, the submission still appears as if not imported in the View Submissions list.

Tested in snoopy:9680 - this is now fixed.

This bug seems to be an issue again. This submission contains 9 studies. See submission preview here:
https://www.ebi.ac.uk/gwas/curation/submissions/5ec3fa73ff692c000168ac99?
But only 3 studies were imported into the curation interface after clicking "Import". See publication-centric view here:
https://www.ebi.ac.uk/gwas/curation/publication/32242144
The Import action should create entries in the curation interface/database for all studies entered in the submission form and visible in the submission preview.


Using Gradient on continues rectangle gives an error

Describe the bug
I got an error using gradient when using continuesRectangle()
'Sign In'
.text
.white
.makeCentered()
.continuousRectangle(
  gradient: const LinearGradient(
      colors: [Colors.black, Colors.white]),
  height: 40,
  width: 120,
)
.onTap(controller.signIn)

can u tell what exactly error u have face? use screenshot

@iampawan I want to  work on it.

Fixed with PR #189

PLEASE LABEL THIS ONE AS HACKTOBERFEST IF POSSIBLE. @iampawan


https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.4/ol-debug.js throws error on simple maps

Im trying to debug OpenLayers Version 4.6.4 trying to understand on how clusters are working. so i tried to load the non-minified version using ol-debug.js. now my map is not working anymore as it is missing methods.
something wrong here?

Looks like you were using methods that are not part of the supported API. Please make sure to only use methods that are documented in https://openlayers.org/en/v4.6.4/apidoc/


Add Default elements for missing mime types

tfx-cli throw warning:
TFS Cross Platform Command Line Interface v0.7.9
Copyright Microsoft Corporation
warning: Could not determine content type for extension .woff2. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
warning: Could not determine content type for extension .ttf. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
warning: Could not determine content type for extension .otf. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.

I want the following:

Eliminate the warning.
Add Default elements for missing mime types instead of adding Override elements.

Register the content type/mime type to the windows registry, can help we eliminate the warning.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.otf]
"Content Type"="application/x-font-opentype"
[HKEY_CLASSES_ROOT\.ttf]
"Content Type"="application/x-font-truetype"
[HKEY_CLASSES_ROOT\.woff2]
"Content Type"="application/x-font-woff2"

FYI.

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

ID: d8b703fe-8982-4284-6db0-ef33abac08a4
Version Independent ID: 0fc84d11-1c32-0a49-04ec-641b68f44886
Content: Extension Manifest Reference
Content Source: docs/extend/develop/manifest.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

FYI:
https://github.com/microsoft/vso-extension-tools/blob/master/src/scripts/package.ts
https://www.cnblogs.com/VAllen/p/azure-devops-extensions-content-types-warning-fix.html

@VAllens Thank you for the feedback and for pin-pointing the fix.
Since this issue is outside the scope of documentation, please consider moving this to the vso-extension-tools repo.
@willsmythe @chcomley FYI

@msebolt Thanks. but i think the vsts-docs should guide developers on how to add Default elements and eliminate warnings.

No problem, assigning this to the author for review.

Thanks so much.

Adding @zachariahcox for guidance, thank you!

This issue is stale and will be closed. Please check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is supported. For more extension information, see the Formula Design System, REST API reference, Extension samples, and resources in the Developer Community. If you feel this issue should be reopened or if you have any further feedback or questions, don't hesitate to @mention me. Thank you.


error when install react-native-fbsdk

I user https://github.com/facebook/react-native-fbsdk
but I get errors like photo.
Please help me fix it.
android studio 3.0.1
"react-native": "0.51.0"

thank your reply. I'm sorry because my english 's not good. I try use command line to install in repo:
https://github.com/facebook/react-native-fbsdk
but I get more errors like photo.


(Hagbound Witch) Vile Curse uses Cha instead of Int

Hello, I've filed a bug report to Owlcats, but as you fix 'incorrectly implemented rules', here is another one: Vile Curse uses Cha instead of Int on Hagbound witches, making this feature almost non-functional.
Maybe they will fix this, maybe not.

Given that there is no language specifying it scales with int, this seems technically correct as spell like abilities scale off charisma unless otherwise stated.

Vile Curse is Bestow Curse at will, Bestow Curse is a necromancy spell, receiving bonus from casting attrubute (int for hag witches)

Vile curse is Bestow Curse at will as a spell like ability. Spell like abilities use the following to calculate DC unless otherwise stated: 10 + Spell Level + Charisma Modifier. This is also consistent with Hag's spell like abilities they use. It would be better if it scaled off Int, but as written that is not the case.

Hmm, I didn't think about Vile Curse from this perspective, nor I familiar with PnP to argue.
I'd say this is dooming the entire archetype as Hags already need Int, Str, Dex and Con. There is no room for another attribute :(


PEP517 (pyproject.toml) install now fails due to there not being pip in the build environment

$ pip install -U .
Processing /home/arcivanov/Documents/src/karellen/wheel-axle
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
....
  [DEBUG] Executing command: '/home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2/bin/python3.11' '-m' 'pip.__main__' 'install' '-c' '/home/arcivanov/Documents/src/karellen/wheel-axle/target/install_dependencies_constraints' '--upgrade' '--upgrade-strategy' 'only-if-needed' 'wheel>=0.37.0' 'wheel-axle-runtime<1.0'
  ------------------------------------------------------------
  BUILD FAILED - Unable to install dependency packages into /home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2. Please see '/home/arcivanov/Documents/src/karellen/wheel-axle/target/logs/install_dependencies/install_batch' for full details:
        /home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2/bin/python3.11: Error while finding module specification for 'pip.__main__' (ModuleNotFoundError: No module named 'pip') (pybuilder/install_utils.py:103)
  ------------------------------------------------------------
  Build finished at 2024-09-18 16:02:40
  Build took 9 seconds (9430 ms)
  Traceback (most recent call last):
    File "/home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/arcivanov/.pyenv/versions/3.11.2/envs/wheel-axle-3.11.2/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
      whl_basename = backend.build_wheel(metadata_directory, config_settings)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-4oa57kf8/overlay/lib/python3.11/site-packages/pybuilder/pep517.py", line 29, in build_wheel
      return build_with_pyb(wheel_directory, "Wheel", artifact_filter, config_settings, metadata_directory)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-4oa57kf8/overlay/lib/python3.11/site-packages/pybuilder/pep517.py", line 43, in build_with_pyb
      raise RuntimeError("PyBuilder build failed")
  RuntimeError: PyBuilder build failed

This only happens when running in isolated environment and the build uses "install_dependencies" target.
The easiest way to get around this is make pybuilder depend on pip in those cases.


Warnings around YAML.safe_load

There are unfixed warnings in the ruby 2.6+ builds caused by our use of positional arguments when calling YAML.safe_load.  But we cannot change them to keyword arguments until we drop support for ruby 2.5, because those keyword arguments aren't available until ruby 2.6.
/home/travis/build/civisanalytics/mistral_client/lib/mistral_client/mixins/definable.rb:10: Passing permitted_classes with the 2nd argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, permitted_classes: ...) instead.
/home/travis/build/civisanalytics/mistral_client/lib/mistral_client/mixins/definable.rb:10: Passing permitted_symbols with the 3rd argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, permitted_symbols: ...) instead.
/home/travis/build/civisanalytics/mistral_client/lib/mistral_client/mixins/definable.rb:10: Passing aliases with the 4th argument of Psych.safe_load is deprecated. Use keyword argument like Psych.safe_load(yaml, aliases: ...) instead.

The fix will be to change our calls of YAML.safe_load(definition, [], [], true) to YAML.safe_load(definition, aliases: true).  We should do this once we drop support for ruby 2.5.

Looks like this is addressed in #14!  🎉 🧀 🌮


[BUG] NOT WORKING ANDROID APP

Describe the bug
When i open the app with photo manager in android emulator, doesn't work, said is using a deprecated API.
To Reproduce
Steps to reproduce the behavior:
Install the photo manager and run
Expected behavior
My expected is open the app.
Flutter version
Flutter version 1.7.8+hotfix.4 at
Smartphone (please complete the following information):

Pixel 2
Android 9.0

Log
Note: /Users/lucasbuchallasesti/Desktop/all/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.3.5/android/src/main/kotlin/top/kikt/imagescanner/PermissionsUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

dup of #82.
I am refactoring the code structure of the project in #102 , using a completely lazy loading method, I hope this problem can be solved.

If you can,  try to connect to the latest code using the url method to see if it solves your problem.

Merged, next version will fix it.


Could not read "/app/phpunit.xml".

My phpci.yml in /project:
test:
    php_unit:
        config:
            - "app/phpunit.xml"
        path: "app/"

And my phpunit.xml in /project/app. Why i get this error?
If i run in my console:
$ phpunit -c app/ - all ok

I solved it:
build_settings:
    ignore:
        - "vendor"
        - "tests"

setup:
    composer:
        action: "update"

test:
    php_unit:
        config:
            - "app/phpunit.xml"


Best way to implement / sample code with master-detail for tablets?

The master-detail:
https://francois-jouvelot.medium.com/implementing-a-master-detail-user-interface-using-android-navigation-component-d9bd0aa3fcaf
Any advice/suggestion of best implementation or sample code is welcome!
I think it may contribute to the documentation also.

This is not something this library will particularly help with, so I would say, just follow whatever guidelines are there for official library, making the parallel with how Compose Destinations registers destinations/graphs and navigates. Everything else should be the same.


Downloadrequest finished before Calculate

Currently both requests to the Gleitzeitkonto-API (calculate and download) are sent at the same time. Based on once the promise for the requests resolves the display will be updated.
Since normally the download takes way longer the download will always update the display after the calculate request has updated the display. See these two lines in Gleitzeitkonto-Browser.js
time.updateDisplay(promiseCalcKontoData, true);
time.updateDisplay(promiseDownloadKontoData, false);

The issue occurs when the webserver is not started. Then it's a race to which request finished earlier. If the calculate finishes afterwards then the display will forever show loading and the button to reload will be disabled.

Is actually fixed with 88652d3 since now only the latest data will be shown.

Has been merged to main with a763452


[Question] Is this module abbandoned ?

Nop, I've just been busy lately, and don't really know what to add.


Fix wrong react dependencies

Hi @mu29,
In the package.json, you have react listed in both dependencies and devDendencies.
I've looked into the node_modules and the version you're using is<EMAIL_ADDRESS>So I removed
react from devDendencies and replaced the one in dependencies.
Joshua

Thank you for your contribution 👍


Stop logs from going to console by default

@ostromart: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test_operator
4877916ce103db11ba5fd3e7f112fa333f7f8635
link
/test test_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test_operator
4877916ce103db11ba5fd3e7f112fa333f7f8635
link
/test test_operator

e2e_operator
4877916ce103db11ba5fd3e7f112fa333f7f8635
link
/test e2e_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ostromart: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test_operator
4877916ce103db11ba5fd3e7f112fa333f7f8635
link
/test test_operator

e2e_operator
664726c1edbb38d31d25c152ceaa0efd44608208
link
/test e2e_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Revert "Avoid concurrent connections to database"

This reverts commit 09917c8dc37e6cc9f2e79e0bdedb975ea41052c2.
Limiting connection to 1 rendered the master branch unusable. Reverting until we
find a proper fix.

bors r+


Include the setting of ExecutionPolicy in the README

I found that on my machine I had to go digging and found in the Scoop docs that there is mention of performing the following;
PowerShell must be enabled for your user account e.g. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

This then allowed me to run build.ps1 - prior to that I was getting an error;
...
...
\build.ps1 is not digitally signed. You cannot run this script on the current system.
...
...

When I executed PowerShell as admin, or as follows, I was able to run build.ps1.
powershell.exe -executionpolicy bypass -file .\build.ps1 --target Distribute --configuration Release

I then opened up PowerShell as in non-admin mode and ran the Set-ExecutionPolicy which (I believe) then allowed me to run build.ps1 as mentioned in the docs.
Not sure it's a great idea to include their instructions in the instructions for totalmix-volume-control (ie. what if their instructions change?) but it will likely save someone time.
Another approach would just be to link off to the Scoop requirements.

I appreciate the contribution but I don't think I want to have this instruction in the README.  This is not a requirement when using the modern version of PowerShell and Windows PowerShell users who are working on development should be aware of this already.
I haven't used Windows PowerShell for many years and don't wish to encourage its use as its now legacy and has been suprseeded a long time ago.
The PowerShell script is just a wrapper to run the build project, so the command could also be executed directly.
Cheers
Fotis

Thanks for that insight.
I'm not a Windows dev so given the docs state "Open a PowerShell prompt" can you perhaps point me to the right "PowerShell"? Is there a particular version I should be using? Or should I not be using PowerShell at all?


Error on article editor

When typing any text into an article editor box, I get a red error box at the top that says this (below). The property number seems to vary depending upon the article being edited, but it happens on any article.
Error: Uncaught TypeError: Cannot set
property '10' of null
Check the JS console for more.

js console says:
Uncaught TypeError: Cannot set property '12' of null
    at p.updateFoldWidgets (<anonymous>:1:147533)
    at p.r._signal (<anonymous>:1:50012)
    at p.onChange (<anonymous>:1:153263)
    at a.r._signal (<anonymous>:1:50012)
    at applyDelta (<anonymous>:1:125623)
    at a.insertMergedLines (<anonymous>:1:123935)
    at a.insert (<anonymous>:1:122775)
    at p.insert (<anonymous>:1:161919)
    at b.insert (<anonymous>:1:217074)
    at Object.exec (<anonymous>:1:198351)
    at <anonymous>:1:184347
    at o.r._emit.r._dispatchEvent (<anonymous>:1:49886)
    at o.exec (<anonymous>:1:184691)
    at s.$callKeyboardHandlers (<anonymous>:1:62114)
    at s.onTextInput (<anonymous>:1:62332)
    at b.onTextInput (<anonymous>:1:217534)
    at A (<anonymous>:1:29035)
    at HTMLTextAreaElement.O (<anonymous>:1:29102)

Same as #2872. Should continue discussion there.


Add support for ZDETECTEDFACE.ZQUALITYMEASURE

It would be useful if FaceInfo included ZQUALITYMEASURE.

This is already in the library as FaceInfo.quality


[OPTIMIZER] use can_reorder metadata as a hint for the compiler to determine if re-ordering elements is safe or not

currently it's hardcoded in the IR (i.e., view and cat always re-order). We will want to have a proper reshape and cat function that don't reorder element, but we still want users to be able to specify when the order of elements doesn't matter (this is a niche optimization probably only useful when random numbers are being used)

We are actually seeing a need of unordered cat for random numbers in Pytorch and I'm wondering how we should define the order here. torch.cat has a definition for that, and it also allows concatenating across specific dimensions. Do we want to keep same semantics here?

cc @shunting314

Our specific need is to a more efficient use of randint4x by concatenating all its four outputs for subsequent uses. Therefore we'd like the concatenation in order, and a triton program-level cat is just fine. By program-level concatenation I mean that a given tl.cat(x,y) would generate such output for a BLOCK_SIZE of 32. We do not need a grid-level cat which has the same semantics as torch.cat.
x[0], x[1], … x[31], y[0], y[1], …, y[31], x[32] ….x[63], y[32]…,y[63]
@ptillet do you think this is something we should do? I'm happy to work on this.


No more than 64 zeros please, we use 6 bits to encode run length

JMM

There's still something wrong but it might be on the fontmake-rs side rather than fontations.


Fix bug for UnboundLocalError: local variable 'database' referenced before assignment

@z3z1ma I have fixed a bug for https://github.com/z3z1ma/dbt-osmosis/pull/85.
When I updated dbt-osmosis v0.12.0 I got the following error.
...
  File "/Users/yasuhisa.yoshida/.pyenv/versions/3.10.0/lib/python3.10/site-packages/dbt_osmosis/core/osmosis.py", line 617, in commit_project_restructure_to_disk
    blueprint = self.draft_project_structure_update_plan()
  File "/Users/yasuhisa.yoshida/.pyenv/versions/3.10.0/lib/python3.10/site-packages/dbt_osmosis/core/osmosis.py", line 593, in draft_project_structure_update_plan
    for unique_id, schema_file in self.build_schema_folder_mapping().items():
  File "/Users/yasuhisa.yoshida/.pyenv/versions/3.10.0/lib/python3.10/site-packages/dbt_osmosis/core/osmosis.py", line 471, in build_schema_folder_mapping
    self.bootstrap_sources()
  File "/Users/yasuhisa.yoshida/.pyenv/versions/3.10.0/lib/python3.10/site-packages/dbt_osmosis/core/osmosis.py", line 416, in bootstrap_sources
    database=database,
UnboundLocalError: local variable 'database' referenced before assignment

dbt-osmosis yaml refactor fails the following case.
vars:
  dbt-osmosis:
    <source_name>: <path>

Oy good catch!

@z3z1ma Thank you! We look forward to the release of v0.12.1 with fixed bugs 🎉


REQUEST - support user defined functions

hi,   this library is great.  User defined parameters/variables is very welcome.  Is there any chance you can add user defined functions as well (ideally nested user defined functions).
example:
"(requests_made("5m") * requests_succeeded("5m") / 100) >= 90"

That could be a killer feature, I like that !

Thanks for using the library! I've thought about adding support for this before, but never did it because I generally found that any function I could want to call could just as easily be called before the expression was evaluated, with the result passed as a parameter.
However, I know that may not be feasible for some advanced use cases, and your example of something that aggregates data within the expression was pretty compelling. Also, like three people all voted for this at once (which I think makes this the most popular issue on the project :stuck_out_tongue: ), so I sat down and implemented it as of db7388bbf6d55eff15418bdc90cfacf05c79f7db .

thanks for the quick turnaround, will try out very soon.  Does it support nested user-defined function?

There's some explanation on usage in the readme - but yes, it does. You can give a function any number of arguments, and include any other operations you like. For example; the following expression is perfectly valid and will work like expected (assuming the proper function/parameters are passed in):
    // returns the largest of the three parameters. The middle gets the absolute value of 'anotherValue'
    "max(someValue, abs(anotherValue), 10 * lastValue)"

this is great, many thanks.

Good day ....
Query: Is there a mechanism to nest user-defined functions dynamically? That is, to build compound functions defined by the user, type f (g (h (x + 4)))? with f, g and h user-defined functions dynamically?


Export metrics for finalized and safe block number

Description
Add the metrics for finalized and safe block number, likewise we have the one for the current chain head block number

Hey, I am interested in this issue. Please assign this to me.

Hey, can I have a look at it. I'm interested to help.

Hey @pr9t and @AshuBoi, we (Linea) require this feature. I don't know if you have started working on this, but just FYI, we will probably start working on it from Monday 9th.

Haven't started yet. but will get on it on Saturday 7th.

Hey @AshuBoi, @pr9t, may I take this, if you guys still haven't made any progress on this issue yet? This issue is blocking the Linea team from a mainnet deployment and that's why we want it to be done soon cc @fab-10

Hey @jonesho , the issue is not assigned to me. tried navigating on my own but need more info to contribute.


Cannot scan some TypeScript compiler CJS output

/cc @BPScott
https://unpkg.com/<EMAIL_ADDRESS>'use strict';
Object.defineProperty(exports, '__esModule', {value: true});
exports.colorFactory = void 0;
var color_factory_1 = require('./color-factory');
Object.defineProperty(exports, 'colorFactory', {
  enumerable: true,
  get: function () {
    return color_factory_1.colorFactory;
  },
});

{ exports: [ '__esModule' ], reexports: [] }

cjs-module-lexer properly scans __esModule, but does not scan colorFactory. Is this expected? If so, is the presence of get instead of value also enough to indicate an export?

This code was generated from using the Typescript 4.1 compiler, outputting to cjs
The source code was:
export {colorFactory} from './color-factory';

Here's a TS  playground demonstrating this output

Looks like TS changed its output in TS 3.9.x. Contrast 3.8 output vs 3.9 output

Turns out this is a duplicate of https://github.com/guybedford/cjs-module-lexer/issues/31 and not actually related to the TypeScript output change but the trailing comma added to the property definition.
Will aim to backport the fix on Node.js as far as possible, but bear in mind Node.js 12 support isn't assured at this point.

Great hunting. Thank you @guybedford!


Alppaca dies while fetching credentials with wrong assume_role configuration

Alppaca dies while fetching credentials with wrong assume_role configuration:
Oct 14 14:15:38 <host> Cannot start Alppaca
  #012Traceback (most recent call last):
  #012  File "/usr/lib/python2.6/site-packages/alppaca/main.py", line 43, in run_scheduler_and_webserver
  #012    Scheduler(credentials, credentials_provider).refresh_credentials()
  #012  File "/usr/lib/python2.6/site-packages/alppaca/scheduler.py", line 58, in refresh_credentials
  #012    cached_credentials = self.credentials_provider.get_credentials_for_all_roles()
  #012  File "/usr/lib/python2.6/site-packages/alppaca/assume_role.py", line 28, in get_credentials_for_all_roles
  #012    return self.get_credentials_for_assumed_role(access_key, secret_key, token)
  #012  File "/usr/lib/python2.6/site-packages/alppaca/assume_role.py", line 45, in get_credentials_for_assumed_role
  #012    response = conn.assume_role(role_arn=self.role_to_assume, role_session_name=self.get_session_name())
  #012  File "/usr/lib/python2.6/site-packages/boto/sts/connection.py", line 384, in assume_role
  #012    return self.get_object('AssumeRole', params, AssumedRole, verb='POST')
  #012  File "/usr/lib/python2.6/site-packages/boto/connection.py", line 1208, in get_object
  #012    raise self.ResponseError(response.status, response.reason, body)
  #012BotoServerError: BotoServerError: 403 Forbidden
  #012<ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
  #012  <Error>
  #012    <Type>Sender</Type>
  #012    AccessDenied
  #012    <Message>User arn:aws:sts::123456789:assumed-role/<rolename>/<IP_ADDRESS> is not authorized to perform: sts:AssumeRole on resource: FILL_ME</Message>
  #012  </Error>
  #012  <RequestId>[...]</RequestId>
  #012</ErrorResponse>

Can you please try again with the most recent version of Alppaca? If it still fails, please specify what "wrong configuration" means in your case.

Well, in the stack trace we see an error that Boto threw up. The Message clearly says that there is a permission issue.
I would suggest the following expected behaviour if the assume_role feature fails:

Do not return any credentials at all, same like if AFP does not have a role for this machine
Write the Code and Message to the error log
Alpacca should nevertheless start and run because the error condition might be resolved and then it should start to work without any user intervention (IMHO Alpacca should always start and try to recover functionality by itself)


Optimize 'Resolve'

The current implementation of impl Resolve<Literal> for IriParsed is not optimal as it allocates intermediate string(s).
This implementation uses the standard Resolve<Iri> for the literal's datatype and wraps the text as MownStr::Ref. The key for this implementation is to move it into the literal module where we can access the private fields of Literal.

I am not a big fan of moving this particular implementation of Resolve away from all the others...
Turns out that I managed to solved problem inside the _join module (619fe8e).


Add support for pasting images from clipboard

Title.
Currently on firefox 91.0, pasting images (not urls, but images) into the search-box doesn't work. I think this would be a nice small feature.

It works for me on Firefox 91.0.1 (Windows 10)
When the Image URL input is focused, it would only accept text. You have to past the image outside of the box.

Alright, I've figured out that we can actually allow pasting image or text to the same input box.
Fixed at commit https://github.com/soruly/trace.moe-www/commit/d01aea0d5fe35f3916cced0877ffdcae94723bba


Update vmware-fusion to 8.5.0-4352717

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Thank you for your contribution! However, this was already done in PR https://github.com/caskroom/homebrew-cask/pull/24502.


Grammer mistake in documentation of delfin

Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

done


[Question]: Any requirements.txt for AquilaChat & AquilaCode

Description
from torch._six import inf
ModuleNotFoundError: No module named 'torch._six'
Alternatives
No response

you can update to the latest version of flagai, this problem happens with torch>2.0

the tokenizer is not huggingface tokenizer

先关闭，如有问题重新打开issue。谢谢


Update jline-terminal to 3.26.2

About this PR
📦 Updates org.jline:jline-terminal from 3.25.1 to 3.26.2
📜 Changelog
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.jline", artifactId = "jline-terminal" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #165.


require('steamworks.js').electronEnableSteamOverlay() silently crashes electron client

Hi there, I have run into a huge issue I am not sure how to solve. In general, my electron app works, the steam integration works.
However, I have one client/machine where the following line silently crashes and closes the whole app
require('steamworks.js').electronEnableSteamOverlay()
I have no idea what happens there on that client. there is no kind of log anywhere of what happens and whatever i tried, i have not been successful in getting any info about what happens. If anybody has any insight of what i could try to at least view some kind of error, it would be very much appreciated!
The machine is running Windows 10 and Steam version<PHONE_NUMBER> (should be most recent Steam Version as of 08/01/2023)
That same machine did not have these issues when i used electron 20 instead of electron 25.
versions
  "dependencies": {     "@capacitor-community/electron": "^4.1.2",     "backtrace-node": "^1.2.0",     "chokidar": "~3.5.3",     "electron-is-dev": "~2.0.0",     "electron-log": "^5.0.0-beta.25",     "electron-serve": "~1.1.0",     "electron-store": "^8.1.0",     "electron-unhandled": "~4.0.1",     "steamworks.js": "^0.3.0"   },   "devDependencies": {     "@electron/rebuild": "^3.2.13",     "electron": "^25.2.0",     "electron-builder": "^24.4.0",     "typescript": "~4.8.4"   }
Thanks for your time, i am really out of ideas for this one.
Edit:
Even putting that line into a try/catch block does not change any behaviour. it neither throws anything, nor prevents the crash from happening.
Edit2:
I have tried to narrow down working and non working electron versions.
up to version 21.4.4 is working
starting at version 22.0.0 is crashing silently (which is still present in version 25.2.0)
Crashing silently like that is a very scary issue for me and i think if we cannot get to the bottom of this, using any electron version above 21.4.4 is like a disaster waiting to happen as soon as an app releases like that.

Can you try using the electronEnableSteamOverlay with a true flag as first argument?
require('steamworks.js').electronEnableSteamOverlay(true)

Hey there,
I just tried that, did not make any difference sadly


Build is failing on windows-latest. Current image version: '20240610.1.0'

Description
Build is successful on windows-latest. Current image version: '20240514.3.0'
Below is the error. I'm using Azure artifacts to store VCPKG's and suddenly bootstrapping vcpkg is failing and I see only difference is the current image version: '20240610.1.0'. Please give me suggestions. Thanks!

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Runner Image : windows-latest and version:20240610.1.0'
Is it regression?
windows-latest. Current image version: '20240514.3.0'
Expected behavior
Bootsrtaping VCPKG should be successful

task: CmdLine@2
displayName: 'Bootstrap vcpkg'
inputs:
script: |
vcpkg integrate install
vcpkg install --triplet x86-windows

Actual behavior
Throwing this error

Repro steps
n/a

@parupallihemanth Please provide us with repro steps for further investigation. It would be help us to investigate further.

@parupallihemanth Please provide your repro steps for us further investigation.

Hi @parupallihemanth we are closing this issue as of now due to insufficient of information, Thanks.

Hello @hemanthmanga, thank you. Downgraded the vcpkg version to 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e on the windows-latest image. Solved the issue.


Add github actions for automating releases.

Despite not functional change in the module, I am going to use the release:patch label so that this also tests that a release/tag is created.


command not found: gcc-7

build fails with:
command not found: gcc-7

brew now delivers ggc-8
> $ gcc
gcc           gcc-8

Hey, thanks for the issue. And thanks for using skoot--it's still pretty early on, but hopefully it will be useful to you... as for your GCC issue, there's a bit of info missing here.
Judging from what is here, this seems a little more like a brew issue than a skoot issue. This package doesn't explicitly call GCC at all; it uses Cython to build, which calls GCC under the hood. What sounds like is happening is your GCC has been updated (to GCC 8), but some path somewhere is pointing to GCC-7, so when you try to build it fails out.
This example shows how to link GCC. Maybe that's the issue?

Closing due to inactivity. @geoHeil if you feel this needs to be re-opened (i.e., if it's actually a Skoot issue and not related to my note above), speak up.


chore: adapt ci/cd logic

Update renku requirements only when a new version is released.
Run ci deployements / acceptance tests against the main branch in renku.

closes #534.

oh wow, now you were too quick @rokroskar, sorry. Quickly changed the logic here after realising that the last step didn't build the chart and thus relies on the previous ones.


How to close the datepicker inside the code.

Normally a user can press close and the datepicker will be closed. But how can you close the datepicker inside the code, for example datepicker.close();

I see that this issue is already solved in a pull request.


Migration fails when running label-studio with remote POSTGRE_HOST environment variables

Describe the bug
django.db.migrations.exceptions.NodeNotFoundError: Migration data_manager.0001_squashed_0005_view_user dependencies reference nonexistent parent node ('projects', '0060_merge_20210126_1328')
Hi everyone and congrats for the amazing tool.
I'm trying to start a local docker instance of label-studio with a remote postgresql db.
As you can see from my dockerfile down here, I'm pulling the latest label-studio image and declaring the required env variables.
The docs ( here ) suggests to run label-studio with this command CMD ["label-studio start my_project --init -db postgresql"] but in this way it fails to connect to the db.
Instead, by simply running CMD ["label-studio"] the connection with the remote db goes smoothly, but then Django fails the migration process (is it migrating only system tables? because it's the first time I'm running it so I don't have any data to migrate).
Am I doing something wrong? it looks like Django doesn't find the migration data, but what data is he looking for?
`FROM heartexlabs/label-studio:latest
ENV DJANGO_DB=default
ENV POSTGRE_NAME=xxxdb
ENV POSTGRE_USER=userxx
ENV POSTGRE_PASSWORD=xxxxxxxx
ENV POSTGRE_PORT=5432
ENV POSTGRE_HOST=xx.xx.xxx.xxx
CMD ["label-studio"]`
To Reproduce
Steps to reproduce the behavior:

run docker build -t test-labelstudio .
run docker run -it -p 8080:8080 -v pwd/mydata:/label-studio/data test-labelstudio
Result: ./deploy/docker-entrypoint.sh: Looking for init scripts in /label-studio/deploy/docker-entrypoint.d/
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/10-copy-static-data.sh
=> Skipping copy data.
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/20-wait-for-db.sh
=> Waiting for postgres...
=> Postgres is up.
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/30-run-db-migrations.sh
=> Do database migrations...
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 46133
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/loader.py", line 255, in build_graph
self.graph.validate_consistency()
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 195, in validate_consistency
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 195, in
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 58, in raise_error
raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration data_manager.0001_squashed_0005_view_user dependencies reference nonexistent parent node ('projects', '0060_merge_20210126_1328')

Environment (please complete the following information):

OS: MacOs: 11.1
Label Studio Version: Latest on dockerHub (1.4.1 I suppose)

@GiacomoCherry your settings looks right. Is it a clear database instance? Can you try to drop it and start from empty one?


Add Azure OpenAI Service support

I think it would be beneficial to add Azure OpenAI Service support since it might be possible for some companies to have AI tools usage policies which doesn't include direct OpenAI API usage. I can contribute to have this feature.

Here's my proposal on integrating the new feature of openai-client:1.0.10
This is the very first time I'm implementing any IntelliJ plugin, so any feedback will be appreciated :)


Add Enkrypt wallet README.md

hi! just adding Enkrypt to your wallet section here. how do i go about adding enkrypt to gnosiswallets.com? is there a github for that?

@kealiiokalani Gnosis Builders team will add enkrypt wallet to gnosiswallets.com.

Thanks for contributing the PR :100:
Is it possible to add Gnosis chain to the network option in Enkrypt? That would be great if the user can add Gnosis Chain into their wallet in 1 click.
@kealiiokalani

Closing this PR.


[Orbit UI v0.29.0] New & renamed illustrations

Almost all illustrations were changed (small tweaks with positioning mostly); a few were renamed and few were added. Hopefully, the full list of changes here:
New illustrations

Nomad
Success
Error
BusinessTravel
MobileApp
PlaceholderTours
DesktopSearch

Renaming

no-bookings => NoResults
timeline-transport-taxi => transport-taxi
timeline-boarding => Boarding
timeline-drop-baggage => BaggageDrop
AirportTransport => TransportBus
AirportTransportTaxi => TransportTaxi

illustrations.zip
All illustrations should be already optimized by tinypng.com :)

Also rename AirportTransport => AirportTransportBus

Also rename AirportTransport => AirportTransportBus

Should be only TransportBus right ?


Carousel bootstrap covering remaining containers

Hi,
I am using carousel with slide images on the upper section of the page.  I would like to add another container with form-group  user to provide information right underneath the carousel.  It seems like the carousel is covering some of the form-group data.  I have to add several  after the carousel container to push the form group down.  How can I add padding or make the page more responsive to show remaining information on another container right under the carousel section.

Sorry, but we cannot help with how-to or general troubleshooting issues here; only bug reports and feature requests. You'll want to ask around in the official Slack team or Stack Overflow. See our readme for more details.


Added a Styled navigation bar

I have added a Navigation  bar . If anything needs to be changed kindly tell me else merge it.

I have styled the nav bar and pinned its image. If there is any conflict please tell else merge it.

Will it be merged?

I am working on it. If i will find the fix . I will pull request again else.

@user23ayush sounds good, ensure you check for any merges that need to happen with our main branch before requesting a new review.
I will keep an eye out for your updates.


Network blackhole

The start script uses 'docker kill' - which is quite fast and untidy at the same time.
I was forwarding additional stats to this container via statsd, and it took me a few days to figure out why the clients stop sending data after I restart this container.
'docker kill' will cause the bound ports not to be closed properly, and that might (and have) cause the restart go unnoticed by the clients, which will continue to send data that ends up being discarded.
Switching to 'docker stop' solves the issue.

:+1:

The code now uses docker-compose and there is no docker kill anywhere. Can this be closed?


fix the tenant parent issue

Description
This PR adds a condition in ParentDetection - if the parent request path is the same as the current one, we break the detection by return an empty list.
If the path of a resource's parent is the same as itself, the parent will also be itself. In this case, we will have a method to GetMySelf inside its own class.
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

Just curious, why do we need a GetMySelf?

Just curious, why do we need a GetMySelf?

We do not, and this is why we have this PR, to make sure we do not have that


Add "### Fast Compile >> .....ts" behind verbose flag, or add silent flag?

Hi,
One of the usages of grunt-ts is to compile 'generated' typescript files by a task that rune before this so all code is valid js.
For example:
scaffold:
  - 'scaffold-pages'
  - 'ts'
  - 'sass'
  - 'autoprefixer'

...
### Fast Compile >>deploy/htdocs/inc/script/test/jasmine-matchers.d.ts
### Fast Compile >>deploy/htdocs/inc/script/test/jasmine.d.ts
### Fast Compile >>deploy/htdocs/inc/script/test/testSpec.ts
...

But because the output of grunt-ts is so 'long', as a user you are missing the output of the 'main' task (scaffold-pages).
It would be awesome if we can configure the verbosity of the task, either by putting this output behind the verbose option, or maybe adding a silent option to keep this the default but providing an option to keep it quiet :)
I'm open for providing a PR if desired, but just wanted to know if you're up to this idea and which of the above would be the best approach.

+1 I would also like to have that, however, until end of this year I might be too busy to look into that.

Dear god do want.

I do intend to fix this - in the meantime it should be fairly straight forward to comment out the line that outputs it - it should be around line 39 in compile.js, depending on which version you have.


Make the sub-navigation on TypeScript documentation sticky

Search Terms
documentation sticky nav
Suggestion
Make the sub-navigation on TypeScript docs (https://www.typescriptlang.org/docs/home.html) sticky so that it follows you down the page. Alternatively (or in addition), add navigation links to the bottom of pages to move next.
Use Cases
I'm currently reading through the TypeScript docs and a minor frustration I've noticed is that I need to scroll back to the top when finishing a page so that I can move to the next one.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

I'm open to a PR for this on the current site, it's definitely happening on the new site though 👍


sensor: lis2mdl: Handle return value of i2c_burst_read

i2c_burst_read can fail during read/write procedure. Therefore,
add a sanity check for its return value.
Fixes #11101
Coverity-CID: 189505
Signed-off-by: Himanshu Jha<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #11162   +/-   ##
=======================================
  Coverage   53.11%   53.11%
=======================================
  Files         218      218
  Lines       26868    26868
  Branches     5952     5952
=======================================
  Hits        14271    14271
  Misses      10162    10162
  Partials     2435     2435

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 a82ca0b...4a3cdba. Read the comment docs.


Update tar to 4.4

Checklist

[ x ] npm install && npm test passes
[ ? - link doesn't work ] commit message follows commit guidelines

Description of change
Addresses https://nodesecurity.io/advisories/803

It's been merged here after a rebase: https://github.com/janeasystems/nodejs-mobile-gyp/commit/20fe2e16f5f223bbcb1fe4fdc27d21f54a4191f8


Support for JSX?

JSX support has landed:
https://github.com/Microsoft/TypeScript/pull/3564
Any plans to support that here?
Thanks

@myitcv tsfmt use typescript that are installed at the same time.
please check this sample https://gist.github.com/vvakame/9a6459464258c7de63f9

Thanks, I think I've tracked down the problem. Confirmed that JSX formatting is working, except (for some reason) for the following:
/// <reference path="typings/tsd.d.ts" />

import React = require("react");

function test(): any {
    return This is a test;
}

produces:
/// <reference path="typings/tsd.d.ts" />

import React = require("react");

function test(): any {
    return This is a test;
}

Notice the problematic .
The former compiles, the latter does not:
$ ./node_modules/.bin/tsc --jsx react --module system test.tsx
test.tsx(6,34): error TS1003: Identifier expected.
test.tsx(6,35): error TS1005: '>' expected.
test.tsx(9,1): error TS17002: Expected corresponding JSX closing tag for 'span'.

So this is probably a TypeScript core thing?

yes. typescript-formatter depends to TypeScript core.
typescript-formatter can consume code same as tsc command.
I'm not JSX user. but I think <     /span> is broken syntax.

Thanks. I'll raise this as an issue over there and cc you

Reference https://github.com/Microsoft/TypeScript/issues/4127

@vvakame - please see https://github.com/Microsoft/TypeScript/issues/4127#issuecomment-127329709

I've just raised #19 to flesh out a fix for this

typescript-formatter 1.0.0 support jsx maybe i think so...

It does, thanks


Derivatives of rinv operator

Hi,
I am included in a project where we want to implement Polarizable Embedding in PySCF.
For this we field, field-gradient, .. integrals.
I have tried to  add these integrals through the auto_intor.cl script by adding:
 '("inte1e_d1rinv"              (\| nabla rinv |\))
 '("inte1e_d2rinv"              (\| nabla nabla rinv |\))

To the "grad1.c" section.
The code compiles and gives a result in PySCF, but it differs alot from the result that I get if I do a finite difference with "int1e_rinv".
The finite difference is simply done as:
step = 10**-5
mol.set_rinv_orig((step,0,0))
rinvp = mol.intor("int1e_rinv")
mol.set_rinv_orig((-step,0,0))
rinvm = mol.intor("int1e_rinv")
field_finite = (rinvp - rinvm)/(2*step)

I have also tried to use the "nabla-rinv" operator in auto_intor.cl, by adding:
 '("inte1e_d1rinv2"              (\| nabla-rinv |\))

This yield a compilation error:
/home/kjellgren/libcint/src/autocode/grad1.c: In function ‘CINTgout1e_int1e_d1rinv2’:
/home/kjellgren/libcint/src/autocode/grad1.c:487:9: error: ‘g2’ undeclared (first use in this function);
did you mean ‘g1’?
G1E_D_I(g2, g0, envs->i_l+0, envs->j_l+0, 0);

Also it dosen't quite lead to the field-gradient integrals.
To get the field, field-gradient, ... integrals, what would be the correct operators to use in the auto_intor.cl? Seem like "nabla rinv" gives something else than I expect.

The high order derivatives over operator 1/r were not implemented. The first order derivative can be evaluated with the partial integration
<i | \nabla 1/r | j > = -< \nabla i | 1/r | j > - < i | 1/r | \nabla j >
The relevant code in pyscf is
-mol.intor('int1e_iprinv') - mol.intor('int1e_iprinv').transpose(0,2,1)

Applying the partial integration twice, the second order derivative can be calculated as
https://github.com/sunqm/pyscf/blob/dev/pyscf/prop/efg/rhf.py#L169

Dear libcint developers,
I need some high order derivatives over operator 1/r :

(q_zz is the z derivative of the z component of the electric field)
How can I construct them?
Thanks in advance,
Juan J.


[build] Deployed jreleaser-tool-provider do not have the correct reproducible timestamp

The file jreleaser-tool-provider does not have the matching reproducible timestamp when released.

🎉 This issue has been resolved in v1.12.0 (Release Notes)


Add badge JavaScript plugin

allow badges to be dismissable

@GeoSot @julien-deramond This PR makes me wonder if we should divorce the dismiss functionality from other plugins and have a generic one that could include badges/chips. Just idle thinking for now, but more generic behaviors that can be remixed could be helpful in v6.
In the mean time, I don't think we should ship this as-is, so closing out. Tagging for v6 to reconsider though in the future.

@mdo just check my sandbox 😉  https://github.com/twbs/bootstrap/pull/35853/files#diff-7f03db2c90dbb5f18a3fc58c6a9d9158acbdf44abc598a23257b1b0a11d5d073


Document age usage

Sops recently got age support. Is it possible to use age with sops-nix?

I have not tested it yet. It should be possible by using SOPS_AGE_KEY_FILE as described here https://github.com/mozilla/sops/pull/688/files#diff-7b3ed02bc73dc06b7db906cf97aa91dec2b2eb21f2d92bc5caa761df5bbc168fR181
This would require to also update sops here: https://github.com/Mic92/sops-nix/blob/master/go.sum

Where should I set the SOPS_AGE_KEY_FILE variable? If I just do it in the shell where I run nixos-rebuild, sops won't see it.

I think we need to extend the module and set it here: https://github.com/Mic92/sops-nix/blob/797e7552776441a018e0a7299b5ba647aed40ffe/modules/sops/default.nix#L160

For reference the good rev is this PR https://github.com/mozilla/sops/pull/788 that uses the armor format. The earlier one on sops develop branch doesn't work reliably.

I hope I get to implementing converting ssh ed25519 keys to sops/age keys soon similar how it was done for gpg.

Age natively supports ssh keys, but the Age feature of Sops doesn't include ssh keys.

Age natively supports ssh keys, but the Sops PR that adds Age doesn't include the ssh keys feature.

That's not an issue. In my implementation for sops-install-secrets I already do the ssh rsa to pgp key conversion. For age that could be applied in the same way.

Proper age support comes here: https://github.com/Mic92/sops-nix/pull/95


confused by this line of code

Hi，thanks for  open_sourcing your amazing algorithm.I have test it in my lidar and it works well. But i am confused by this line of code:
https://github.com/url-kaist/patchwork-plusplus/blob/0d430884cbea4c3cfa009cf99a46c4f04ae964e2/patchworkpp/src/patchworkpp.cpp#L58
I have not seen any describes of this code in your paper and when i comment out this code the result seems to be the same.

Hi, thank you for having interest on our work :)
Actually, this is the line for modifying the direction of the eigenvector heading to upward.
In my cases, I saw that few resultant eigenvectors with the smallest eigenvalue, which are regarded as the normal vector of the ground surface, have the downard directions.
As the following codes assume the normal vectors of ground surfaces are upward, it was necessary to make the vectors upward. So, this is the code for that.

I see it,thanks for your reply!


Users public tickets

Add a new setting HELPDESK_USERS_TICKETS_PUBLIC allowing logged in user to view previous tickets.

Thank you for your work on this, although based on #200 I'm trying to reduce the number of settings-controlled functions within django-helpdesk.
Would this be better addressed by working on #239 and getting to a point where a custom staff filter can be configured that allows all users to be seen as staff?

This needs to be accepted, settings aren't a bad thing @rossp and this feature is huge

Per @rossp's comments, #239 was merged for the 0.3 release so it might only take a little more work to develop a filter that treats all users as staff. That may be a better way to implement this than introducing a new setting.

Maybe I'm misinterpreting what this PR does. Like I said, I glimpsed. I'm after an option of a non-staff user to quickly see all tickets they've opened.

The PR allows for registered users to submit a ticket, then be shown only their tickets on the main page. They're able to view the ticket's details and subsequent follow-ups posted by admin/staff users, as well as select a button that approves and closes the ticket once the ticket has been marked as resolved, but...
A handful of gotchas you'll have to work out (helpdesk:public_view and not helpdesk_public_view in the changes to the public_homepage.html template, for example), and there's an infinite loop on 'submit a ticket', but if you know your way around a codebase, you can take this PR and bend the current version of Helpdesk well enough to give your end-users the ability to submit and follow along with a ticket's movement up until it's resolved and they double-verify then close it for you.
This dynamic is non-obvious, so be careful. I'm with the original developers/authors on this one, in that you don't want to just up and make ticketing systems publicly accessible/available without some thought and well understood configuration. It's not so much about the code, it's much more about the business requirements and hazardous use-case scenarios re: management, data security, etc. <-- just my two cents, ignore accordingly if you hate my face, it's cool.

Thanks for the feedback! I agree that the use cases for non-staff users have not been totally thought out yet, as evidenced by our lack of real permissions checks beyond "are you staff?". So to fully merge this PR will take some thought on requirements.

Why isn't this feature been looked up ?

I think that to be moved on requires some updates to the project documentation.

There were some questions about user permissions that were unresolved, but I admit I'd have to dig back into this for details because I don't remember exactly.

Probably is better to close it and moving the discussion on a ticket with all the various feedback and a reference to do a new implementation.
I think that this PR after all those years have a lot of conflicts and maybe doesn't work anymore.

You do make a good point @Mte90 that this PR would probably take significant work to merge into what helpdesk is today, it might be better to start over with a better sense of how to implement. For now I'll keep this ticket open until we figure out what we want to do next though.

This is badly out of date and will be implemented in a new PR. Thank you for your effort.


CI needs a consistent version of osbuild to use

CI currently uses the osbuild submodule in the main osbuild-composer repository to know which osbuild version to build and test. However, this submodule has not been updated for osbuild v18 and that's causing breakage due to missing python in RHEL 8.x.
We need to consistently get a useful version of osbuild in CI. Here are a few options:

Keep using the submodule and bump it forward when osbuild does a release.
Stop using the submodule and get the latest tag from osbuild's repository.
Stop using the submodule and use osbuild's master branch.

I like option 2 the best since it's a lot like 1 but there's no effort needed to update it.

I would like to see two things:

CI always uses the latest released version of osbuild.
Using the master branch should be fine but it doesn't represent how our current downstreams use our projects - they use exclusively the releases. Thus, I would prefer using them.

CI doesn't switch versions without our knowledge.
In a dream world, nothing bad should happen, but in reality, something might break during the upgrade. Therefore, the change should always be tested by CI before it's merged into master.

This is the ideal workflow from my perspective: Once a new version of osbuild is released, bot opens a PR in osbuild-composer which bumps the osbuild version (it can be tracked as a submodule or just a text file with a version in it). Someone from the team must approve the change and merge it into master.
This workflow is basically the same as the cockpit team uses for bumping their dependencies. Also, cyborgs like things like this.

How about something like this:

kill the submodule
don't treat osbuild any different than any other dependency, but test against whatever has landed in our downstreams
in an ideal world we would be able to pin all our dependencies, not only the osbuild one. Ideally by snapshoting the repos we test against, but alternatively by installing the dependencies into a test image and pinning that.

(markdown does not want to let me start the list with 0., very sad)
This would avoid problems where we update the osbuild we test against too soon, and then end up releasing osbuild-composer into a distro where the new osbuild has not landed yet (as happened once).

@teg Ah, so you're suggesting we mock build only osbuild-composer and just take whatever osbuild exists inside the Fedora/RHEL repositories already? If so, I can get behind that.

Exactly :)

@teg Sounds like a decent enough idea for me. Should we do the reverse in osbuild's CI?

Makes sense to me! I guess in fedora we ship the composer test package, so it'll "just work", right?

We don't ship the -tests package, so we will need another option. https://koji.fedoraproject.org/koji/buildinfo?buildID=1538323

Hm, I have no good suggestions off the top of my head. But schutzbot will have built the -tests package for a given release, and it is stuffed in S3, so one option could be to add the right repo for the matching -tests package to whatever osbuild-composer we are installing. Though that does not make me feel warm and fuzzy inside. We'll have the same conundrum in gating, I guess, I have not looked at how it is solved there.

While I like @teg suggestions, I see some issues:

It works with Fedora because we can ship there continuously. However, how would it work with RHEL? We cannot deliver continuously there.
With our current method, we can ship a new feature spanning our whole stack in 3 weeks. (1st week to osbuild, 2nd week to osbuild-composer, 3rd week to cockpit-composer). With your suggestion, we can merge new features in osbuild-composer one week after osbuild release (the default bodhi stable-by-time interval). However, this is usually right before the new osbuild-composer release. So, we would probably need to wait for one more osbuild-composer release to get the new features in. This effectively means that the new feature can be now integrated in 6 weeks. Is that acceptable?

Good points @ondrejbudai

For RHEL I see three scenarios

We are able to push into nightlies or something like it (Cent OS Stream? I believe this is the workflow we can always rely on for RHEL 9): This is straight-forward, treat nightlies as we treat Fedora and do as we did until the beta freeze.
We cannot do this because RHEL is frozen, and we will no longer release feature releases into it: if we won't release, then don't test against it. Do nothing.
We will not release into RHEL, but we will still be running the software on RHEL from a (our) third-party repo. This will be the cause for our services. In this case, release into our own repo and treat this as if it was the regular downstream.

I think with improved CI (compared to a regular Fedora package), and ideally the same tests running in Fedora gating, we can and should (if technically possible) reduce the time spent in testing (I would say to 0).

Solved by https://github.com/osbuild/osbuild-composer/pull/966 ?

Done!


update cli to work with core's tip

At the moment, compiling is broken if we use the tip of flucoma-core but works with the commit pegged in the cmake. I was requested to make an issue with this :)

This may be as simple as updating the CLIBufferAdaptor, I don't know.
We pegged this for a reason, which was to avoid it being any more of a time-sink whilst we sorted out functionality for TB2 stuff on Max and SC, which is still in flux AFAIC.  If there's a clear benefit to putting time into this, I'll prioritise accordingly.

ok I'll manually put core at that commit and check it for you with love

Is this still horrid to fix @weefuzzy ? I'd like to use the CLI again for some personal stuff and could write the small bit of code to deal with fluid.bufstft~ but I can't solve the build problem on my own due to my lack of C++ knowledge.

It's got no less horrid 😆 I've not investigated at all what would be needed, beyond updating the BufferAdaptor. If it's just that, then simples. If it's not just that, then 🤷 (and getting the DataSet objects to work with CLI is a whole other jug of ferrets)

(and getting the DataSet objects to work with CLI is a whole other jug of ferrets)

A jug of ferrets indeed. I can't imagine one working with datasets as a cli interface but I can definitely imagine someone wanting to do JSON > fluid-umap > JSON. In a sense, datasets~ would be invisible beasties under the hood but the processors are exposed as cli things.


Allow overlays of keys in configmaps

k8s considers configmap values to be text, even if those are (typically) YAML. As such, the entire YAML block is considered as one large block of text, which means that individual sub-paths can't be overlaid.
This feature request is to add special handling for configmaps in k8s.overlays so that the yaml is merged rather than replaced. This is especially useful for large configmaps which currently require huge blocks of text to be overlaid.

Is this supported? This will be really useful to customise sidecar injector config etc which lives in configmaps.

@ostromart did you find a way to do this? I see this issue was auto-closed


feat: prepend Amazon to bedrock titan embedding

Closes #372

Thanks for the PR 🙂

Hi @collindutter , @vasinov. just pinging you to get an update if I should update the tokenizer with the Amazon prepend as well

Hi @KaushikIyer16, did you see my comment on https://github.com/griptape-ai/griptape/issues/372? Hopefully that gives some direction of where we'd like to go from here. Let me know if you've got any questions and thank you your help!

Closing as implemented in #499.


Create a new pull request by comparing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 94.775%

Files with Coverage Reduction
New Missed Lines
%

js/src/util/focustrap.js
1
92.06%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1981

Relevant Lines:
2043

💛  - Coveralls


Argon Pro React?

Hi are you making a React version for the Argon Pro?

Hello there @knittycatkitty ,
Thank you for your interest in working with our product.
The development for the PRO version is starting today, and we expect to take us around 3 weeks to release it. We'll do all we can to release it sooner.
Best,
Manu

I hope its soon guys!


Groups, Fence and Multiple Programs in Icon

I have three feature requests for PowerTools.  One is something like Groupy, where one can group multiple programs into tabs.  The second feature is Fences, where one can fence files etc into fences on the desktop.
Finally and what I would like to see is something whereas one can have multiple programs within one icon in the taskbar.

And also Objectdock like feature.

+1

+1

@SheepDomination this is three asks, each needs to be a separate issue. It becomes too hard to track / resolve issues otherwise.
As your first issue is asking for tabs, that is #10.


The pretrained model is not restored properly to continue training (facenet_train.py)

It seems that restoring the pretrained model is not working properly.
Here is how to reproduce the issue.

Use facenet_train.py to train for one epoch.
Use facenet_train.py and add "--pretrained_model" and point to the check point saved from the previous step.

Here are the observations that can support this assessment.

The training won't converge.
The training speed (step time) suddenly gets 3x performance boost.

I will try to compare the graph using tensorboard and update the information here.
Thanks!

I just tried to load a pretrained model, and the arg wasn't accepted. Tried using the directory, as well as each separate file as input, no joy. Maybe it does not work on checkpoints?

@scotthong. How are you able to restore pretrained model? When I try to specify it with --pretrained_model I get
W tensorflow/core/util/tensor_slice_reader.cc:95] Could not open ../models/20170116-225008/model-20170116-225008.ckpt-160000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
W tensorflow/core/framework/op_kernel.cc:993] Data loss: Unable to open table file ../models/20170116-225008/model-20170116-225008.ckpt-160000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
I am using tensorflow0.12. Thanks any help would be appreciated

hi @rajiv235 ,
Did you set the pretrained model path correctly?
In your case, you should set the path as "--pretrained_model ../models/20170116-225008/model-20170116-225008.ckpt-160000"

Closing this due to inactivity. Reopen if needed.


wireguard service does not have an option for a config file

Describe the bug
wireguard supports configuration files but with the wireguard service some config options are missing like DNS in the [Interface] section. This means that with my current setup, the DNS server is running on <IP_ADDRESS> (systemd-resolved) but obviously can't be reached from inside the network namespace i set wireguard up to run in.
Steps To Reproduce
Steps to reproduce the behavior:

sudo ip netns add tun0
run wireguard service with interfaceNamespace = "tun0"; option
sudo ip netns exec tun0 nslookup … -> ;; communications error to <IP_ADDRESS>#53: connection refused

Expected behavior
A configFile option and/or extraConfig option exists for the wireguard service and there should be a dns option for the wireguard service.
Notify maintainers
@stuebinm @jonringer
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.33, NixOS, 24.11 (Vicuna), 24.11.20240620.d603719`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/xfpiyfgf6y30fxk5ngv0cjn474qfr3sj-source`

Add a :+1: reaction to issues you find important.

Hi! unfortunately I can't really help you with this, since I don't actually do anything related to wireguard in nixpkgs, nor have i ever done so. I'm actually somewhat curious how you decided on pinging me & jonringer? (usually when i get pinged like this, it's because one of my treewide-change commits happened to be the last commit that touched a file, but that's not the case for the wireguard module; and I can't find anything by jonringer touching it at all — incidentally, jonringer was recently permanently banned from nixpkgs, so pinging him is also unlikely to get any result)

oopsie… i picked you because you both the last people that touched the wireguard module though.
i just realized though that the DNS config option is specific to wg-quick, aswell as other config options it seems. still, VPN providers say that the config they give you is a wireguard config, not a wg-quick config.
still, the wg command supports config files

the last people that touched the wireguard module though

ah, i think i see the confusion: we are, but only on the release-24.05 branch, while on master there's newer commits.
anyways, if you need wg-quick features: have you looked at the networking.wg-quick options?

i can't use the wg-quick service because it doesn't support network namespacing. writing my own systemd service with the wg-quick command also didn't work because it would configure the wireguard interface (as the default gateway) before i could put it into the namespace.

I ran into the same issue, I was expecting dns = ... to just work


How to change header color

How I can change header color before export with “IExportEngine”

Hi, in this unit test is an example on how change the header color.
As you can see, to change the header color, you need to specify the ExportableExcelHeader attribute. With this attribute, you can set the font size, font family, font color, border color and background color.
Please, let me know if you have more questions.
Best Regards!


Update nf-synchapi-waitonaddress.md

Example corrected. HTML &amp was shown instead of the C++ &-operator when opening the page on docs.microsoft.com.

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


Calling seek within eachMessage does not abort the current batch

In my dead-letter queue plugin, when I fail to send a message to the dead-letter queue, I need to seek back to the failed message in order to re-process it. This works, as on the subsequent fetch, the message will be re-processed. However, the current batch is first completed, which means that any other messages in the batch after the one that fails gets processed twice.
https://github.com/Nevon/kafkajs-dlq/blob/5a6f00c3de75abf71640a88ff564ab5a5691f7a6/src/consumer.integration.spec.js#L149-L163
I would like a way to abort the current batch. Either immediately as an effect of calling seek within eachMessage, or in some other way (perhaps by throwing a specific type of error).

This can be achieved by just throwing any exception, as it will be retried.


Compile error on Windows due to conflicting trait implementations for c_long/c_int and c_ulong/c_uint

the core::ffi::c_* types are defined as type aliases, and on Windows, because of C conventions, c_long and c_ulong are defined as i32 and u32, rather than i64 and u64. This means that the following code in lib.rs fails with "conflicting implementations of trait ReprHs for type {u32, i32}":
https://github.com/yvan-sraka/hs-bindgen-types/blob/6ff380546aab61e8a2b0ec14a9208184e17d32db/src/lib.rs#L190-L202
I don't think  it's possible to just #[cfg(not(windows))] the offending lines either, as that would mean that specifically on windows longs would just become ints, or viceversa, and that doesn't sound great

Thanks for the bug report! I try first to reproduce it by adding windows target to CI here https://github.com/yvan-sraka/hs-bindgen/pull/2


IWebAgent purpose and issue with WebAgent.RootDomain

I have a question, what exactly is the purpose of IWebAgent. The interface doesn't seem to add any benefit, and it's currently complicating my life instead of just passing WebAgent because the RootDomain doesn't exist in the interface.
This leads me to the actual issue I'm working on. Because RootDomain is static, I can't have multiple requests with OAuth and without unless I keep changing the static variable. Basically it shouldn't be static, but changing it to an instance variable makes it harder to access since it's not in the interface.
Does anyone actually make use of the IWebAgent interface?

It's used for things like connecting to Reddit with a proxy.

You can make your own IWebAgent implementation and change what RedditSharp uses to it.

Ahhh that makes sense. So the best way around that sounds like it would be to implement my own version of IWebAgent that doesn't have a static member for the RootDomain.
But that requires re-compiling it with my own implementation baked in to replace WebAgent or am I missing something?

Your software can provide RedditSharp with your implementation of IWebAgent without recompiling RedditSharp.

I see that you can pass it in on some of the things like Wiki, but not on the main "Reddit" class

Apparently you can't. See the bottom of the readme for details on how to fix this.

Haha sounds good. I've also got some stuff mostly ready to go for a feature to read / parse Moderator Toolbox notes that I can include. Do you have any preference if it's in one pull request or 1 for adding the WebAgent stuff to "Reddit" and one pull for the Toolbox notes? It doesn't really matter to me, just don't know if you have a preference.

Separate PRs are usually better.

Sounds good, hopefully I'll have those sent sooner than later, thanks for the help.


Why is this a console game?

This project is a console game simply because my original program itself was a console game. This is meant to be more-or-less a modern reimplementation of the same thing.


Kubernetes Documentation wrongly mentions gp3 support for in-tree provisioner kubernetes.io/aws-ebs

Documentation for AWS EBS StorageClass mentions:
type: io1, gp2, gp3, sc1, st1. See AWS docs for details. Default: gp3.
But this is not supported by in-tree and does not work. Here an EKS v1.21 example:
$ cat aws-ebs-in-tree-gp3-sc.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: gp3-in-tree
parameters:
fsType: ext4
type: gp3
provisioner: kubernetes.io/aws-ebs
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
$ k create -f aws-ebs-in-tree-gp3-sc.yaml
storageclass.storage.k8s.io/gp3-in-tree created
$ k get sc gp3-in-tree
NAME          PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
gp3-in-tree   kubernetes.io/aws-ebs   Delete          WaitForFirstConsumer   false                  7s
$ cat pvc1-gp3.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gp3-pvc1
spec:
storageClassName: gp3-in-tree
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
$ k create -f pvc1-gp3.yaml
persistentvolumeclaim/gp3-pvc1 created
$ k get pvc gp3-pvc1
NAME       STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
gp3-pvc1   Pending                                      gp3-in-tree    13s
$ cat pvc1-gp3-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: pvc1-pod
spec:
volumes:
- name: pvc-storage
persistentVolumeClaim:
claimName: gp3-pvc1
containers:
- name: pvc-container
image: busybox
args: ["sleep","3600"]
volumeMounts:
- mountPath: "/data"
name: pvc-storage
$ k create -f pvc1-gp3-pod.yaml
pod/pvc1-pod created
$ k get pvc gp3-pvc1
NAME       STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
gp3-pvc1   Pending                                      gp3-in-tree    2m40s
$ k describe pvc gp3-pvc1
Name:          gp3-pvc1
Namespace:     default
StorageClass:  gp3-in-tree
Status:        Pending
Volume:
Labels:
Annotations:   volume.beta.kubernetes.io/storage-provisioner: kubernetes.io/aws-ebs
volume.kubernetes.io/selected-node: ip-.eu-west-1.compute.internal
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Used By:       pvc1-pod
Events:
Type     Reason                Age                  From                         Message

Normal   WaitForFirstConsumer  72s (x8 over 2m50s)  persistentvolume-controller  waiting for first consumer to be created before binding
Warning  ProvisioningFailed    12s (x7 over 68s)    persistentvolume-controller  Failed to provision volume with StorageClass "gp3-in-tree": invalid AWS VolumeType "gp3"
Normal   WaitForPodScheduled   12s (x10 over 68s)   persistentvolume-controller  waiting for pod pvc1-pod to be scheduled

Thx for confirming. I am pretty sure it was correct a couple of month ago  (and at that time never mentioned gp3 even if was already available)

/triage accepted

/priority backlog
This is documented for in-tree storage, which is deprecated (but widely used).

Exactly, in-tree provisioner “kubernetes.io/aws-ebs” does not support gp3, see legacy provider code:
https://github.com/kubernetes/legacy-cloud-providers/blob/master/aws/aws.go#L448
// AWS volume types
const (
              // Provisioned IOPS SSD
              VolumeTypeIO1 = "io1"
              // General Purpose SSD
              VolumeTypeGP2 = "gp2"
              // Cold HDD (sc1)
              VolumeTypeSC1 = "sc1"
              // Throughput Optimized HDD
              VolumeTypeST1 = "st1"
)
I guess it would work somehow and I am already aware that some AWS customers modified AWS EBS volume type on AWS side to gp3 but letting K8s think it is still gp2 (according to StorageClass). Not sure if this could case problems.

But even deprecated in-tree doc should be correct. My issue is just another reason to convince customer to move to EBS CSI. Can we please have this corrected ASAP?

Can we please have this corrected ASAP?

@youwalther65 you are very welcome to open a pull request with a fix - see https://kubernetes.io/docs/contribute/ for some advice.
If that's not something you have capacity for, you could ask the relevant vendor (AWS) if they would like to assign some staff time here. Beyond that, you're largely relying on the goodwill of people who volunteer their time.

I just created the PR.


Parse H.264 stream failed

Hi,
I got a problem with wfs.js that it seems works not good when the system of PC is windows 7. Because the stream works very well when the system is windows 10, however, nothing shows with windows 7. And I got a log 'trying to append although a media error occured, flush segment and abort', already test on 2 PC with windows 10 and 3 PC with windows 7, the results were what I said before. Can you tell me what's the problem? Or if I want to solve it, what's the solution, thank you so much!

I just tried on Linux (ubuntu) and Windows 10. I think that would be important running on the same version of browser.

Thanks for your response, the problem is I can't guarantee users use the same version. Btw, I tried to play a mp4 file instead of stream in window 7, it works well. I think this means the part of parse should be ok, so should I need to add some code to deal with stream?

What a pity, thanks for your help.


Cherry-Pick: resolveEntityType error  handling  improvement  inside promises  (#1216)

Description:
Cherry-Pick for PR #1216

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.22 :tada:

Comparison is base (4cb6a1b) 74.36% compared to head (3721d8b) 74.59%.

:exclamation: Current head 3721d8b differs from pull request most recent head 0426e57. Consider uploading reports for the commit 0426e57 to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           release/0.23    #1217      +/-   ##
================================================
+ Coverage         74.36%   74.59%   +0.22%
================================================
  Files                31       31
  Lines              2204     2204
  Branches            436      436
================================================
+ Hits               1639     1644       +5
+ Misses              444      439       -5
  Partials            121      121

Impacted Files
Coverage Δ

packages/relay/src/lib/clients/mirrorNodeClient.ts
89.59% <100.00%> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix the links in DEVELOPMENT.md too

This is the source of many of the other problems I've been patching up elsewhere.

/lgtm

/lgtm


Flutter Android crashes if the splash screen resource ID isn't found

Steps to Reproduce

I'm trying to start a flutter app from a AccountManager service (in a flutter plugin) on android such that the user can login. If I make the activity a subclass of io.flutter.app.FlutterActivity it loads the main app, and with io.flutter.embedding.android.FlutterActivity I get a RuntimeException.

Target Platform: Android
Target OS version/browser: 8.1
Devices: EVA L09
Logs

[+9678 ms] I/FlutterKeycloakService( 8790): Service created
[  +27 ms] I/FlutterKeycloakService( 8790): Service destroyed
[ +115 ms] W/ResourceType( 8790): No package identifier when getting value for resource number 0x00000000
[  +19 ms] E/AndroidRuntime( 8790): FATAL EXCEPTION: main
[        ] E/AndroidRuntime( 8790): Process: uk.cardifftec.flutter_keycloak_example, PID: 8790
[        ] E/AndroidRuntime( 8790): java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.cardifftec.flutter_keycloak_example/uk.cardifftec.flutter_keycloak.LoginActivity}:
android.content.res.Resources$NotFoundException: Resource ID #0x0
[   +1 ms] E/AndroidRuntime( 8790): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2793)
[        ] E/AndroidRuntime( 8790): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)
[        ] E/AndroidRuntime( 8790): 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
[        ] E/AndroidRuntime( 8790): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
[        ] E/AndroidRuntime( 8790): 	at android.os.Handler.dispatchMessage(Handler.java:105)
[        ] E/AndroidRuntime( 8790): 	at android.os.Looper.loop(Looper.java:156)
[        ] E/AndroidRuntime( 8790): 	at android.app.ActivityThread.main(ActivityThread.java:6517)
[        ] E/AndroidRuntime( 8790): 	at java.lang.reflect.Method.invoke(Native Method)
[        ] E/AndroidRuntime( 8790): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
[        ] E/AndroidRuntime( 8790): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
[        ] E/AndroidRuntime( 8790): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
[        ] E/AndroidRuntime( 8790): 	at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:255)
[        ] E/AndroidRuntime( 8790): 	at android.content.res.Resources.getDrawable(Resources.java:833)
[        ] E/AndroidRuntime( 8790): 	at io.flutter.embedding.android.FlutterActivity.getSplashScreenFromManifest(FlutterActivity.java:482)
[        ] E/AndroidRuntime( 8790): 	at io.flutter.embedding.android.FlutterActivity.provideSplashScreen(FlutterActivity.java:455)
[        ] E/AndroidRuntime( 8790): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:255)
[        ] E/AndroidRuntime( 8790): 	at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:511)
[        ] E/AndroidRuntime( 8790): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:404)
[        ] E/AndroidRuntime( 8790): 	at uk.cardifftec.flutter_keycloak.LoginActivity.onCreate(LoginActivity.kt:12)
[        ] E/AndroidRuntime( 8790): 	at android.app.Activity.performCreate(Activity.java:6915)
[        ] E/AndroidRuntime( 8790): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
[        ] E/AndroidRuntime( 8790): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)
[        ] E/AndroidRuntime( 8790): 	... 9 more
[   +3 ms] I/Process ( 8790): Sending signal. PID: 8790 SIG: 9
[ +180 ms] Service protocol connection closed.
[        ] Lost connection to device.

[✓] Flutter (Channel master, v1.10.15-pre.103, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.10.15-pre.103 at /media/data/flutter
    • Framework revision dd43da71fe (22 minutes ago), 2019-10-15 01:00:00 +0800
    • Engine revision eed171ff35
    • Dart version 2.6.0 (build 2.6.0-dev.7.0 965b8cb1d8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/q/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /media/data/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
    • All Android licenses accepted.

[✓] Android Studio (version 3.4)
    • Android Studio at /media/data/android-studio
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)

[!] Android Studio
    • Android Studio at /home/q/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)

[✓] Connected device (1 available)
    • EVA L09 • MWS0217214001912 • android-arm64 • Android 7.0 (API 24)

! Doctor found issues in 1 category.

@xster seems to have a fix pending for this in https://github.com/flutter/engine/pull/17894

Removing label since the PR wasn't merged.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Remove need to specify tracing endpoint in charm code

Enhancement Proposal
Currently, charms using @trace_charm from charm_tracing.py need to specify a method pointing at the ingester URL:
@trace_charm(tracing_endpoint="tempo_otlp_grpc_endpoint", service_name=TRACING_APP_NAME)
class TempoTesterCharm(CharmBase):

(...)

    def tempo_otlp_grpc_endpoint(self) -> Optional[str]:
        """Endpoint at which the charm tracing information will be forwarded."""
        if self.tracing.is_ready():
            return self.tracing.otlp_grpc_endpoint()
        else:
            return None

At the same time, trace_charm is always using OTLP/GRPC (changing for OTLP/HTTP in #53 ) so this method always returns self.tracing.otlp_(...)_endpoint(). We could pass tracing to the annotation instead:
@trace_charm(tracing_relation_wrapper="tracing", protocol="otlp_http", service_name = ...)
class MyCharm:
    def __init__:
        self.tracing = TracingRequirer | TracingProvider(...)

and then use the protocol argument to get what we need out of getattr(charm, tracing_relation_wrapper).
We'll need to consider how to pass SSL enablement to the endpoint. Most likely we could check when the method used to get the cert returns non-null.

I think a better solution, that keeps the decorator agnostic as to what is providing the endpoint, is being proposed already in #136 + #135


[GUI] The template card says that it has 6 properties, but only 1 is shown in the details

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

The problem occurs with firmware update templates.
The template was created via API, according to this model.
In the GUI, you can see that the template card says it has 6 properties, but when accessing the details of the template, you can only see 1 property:

What is the expected behavior?

I hope that the 6 properties are shown in the details or that the card says that there are only 1 property instead of 6.

What is the motivation / use case for changing the behavior?

The data is not consistent across the components of the GUI.

Please tell us about your environment:

Version: 0.5.0-rc1
Environment: docker-compose
Operating system: Ubuntu 18.04

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Perhaps this problem is related to dojot/dojot#1163

This ticket will be closed, as this is not an error, but a poorly designed interface. Although only one property appears on the details screen, the other 5 properties are on the firmware management sub screen.


unsup is a class in 03

A bit strange how the unlabeled data is considered a label for the notebook.
reviews_train = load_files("data/aclImdb/train/", categories=['neg', 'pos'])

categories allows you to drop it? really? maybe I should have read the docs at some point. lol. actually I kind of remember that, but both here and in the book i'm telling people to remove the folder.
Please PR? and raise an issue on the book and/or report on the O'Reilly tracker?


Uncaught Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.anan...

[Enter steps to reproduce:]

...
...

Atom: 1.36.1 x64
Electron: 2.0.18
OS: Mac OS X 10.14.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.anan-nct.ac.jp proxy.anan-nct.ac.jp:8080
At internal/streams/legacy.js:59

Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.anan-nct.ac.jp proxy.anan-nct.ac.jp:8080
    at ClientRequest.onError (/app.asar/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

Non-Core Packages
autocomplete-java 1.2.7
color-picker 2.3.0
file-icons 2.1.32
highlight-line 0.12.0
highlight-selected 0.16.0
html-tab 1.0.2
japanese-menu 1.14.0
language-tex 0.4.0
platformio-ide-terminal 2.9.1
tag 0.5.0

Thanks for the report - the ENOTFOUND error seems like a networking/DNS issue rather than an issue with Atom? We'll go ahead and close but suggest double checking your proxy settings?


For Xcode 14.3, The minimum deployment target is expected to be at least 9.0

Describe the bug
Unable to build MBProgressHUD Framework into Xcode 14.3 as it has iOS deployment target 8.0
For Xcode 14.3, The minimum deployment target is expected to be at least 9.0
To Reproduce

Download the Source code(zip) by manually or via Carthage from (https://github.com/jdg/MBProgressHUD/releases/tag/1.2.0)
Extract it and open MBProgressHUD.xcworkspace
There are 3 targets in this, Few of them have 9.0 and few of them are not (e.g. MBProgressHUD Framework)
If you compile MBProgressHUD Framework in Xcode 14.3, it will fail because it has a minimum deployment target of 8.0.

Expected behavior
iOS Deployment taget value should be minimum 9.0
Environment
Xcode 14.3

I think it's even 11.. I'm getting:

MBProgressHUD/MBProgressHUD.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.4.99.

When using Carthage and version 1.2.0 of MBProgressHUD

I am getting double-quoted include "MBProgressHUD.h" in framework header, expected angle-bracketed instead