[FEATURE] Correctly typed file upload handlers

I see no way of implementing a file upload handler that passes type checking:
@app.post("/api/uploadone")
async def upload_file(
    file: UploadFile = File(...)  # Incompatible default for argument "file" (default has type "File", argument has type "UploadFile") mypy(error)
) -> Dict[str, str]:
    return {"filename": file.filename}

@app.post("/api/upload")
async def upload_files(
    files: List[UploadFile] = File(...)  # Incompatible default for argument "files" (default has type "File", argument has type "List[UploadFile]") mypy(error)
) -> Dict[str, List[str]]:
    return {"filenames": [file.filename for file in files]}

Describe the solution you'd like
Use the special types UploadFile and List[UploadFile] to be treated specially the same way as any subclass of BaseModel is treated specially to mean "read data from the body" without the need for a default value.
@app.post("/api/uploadone")
async def upload_file(file: UploadFile) -> Dict[str, str]:
    return {"filename": file.filename}

@app.post("/api/upload")
async def upload_files(files: List[UploadFile]) -> Dict[str, List[str]]:
    return {"filenames": [file.filename for file in files]}

Describe alternatives you've considered

Make File(...) compatible with UploadFile and List[UploadFile].
While satisfying the type-level compatibility may not be very difficult with some gratuitous multiple inheritance, File(...) would end up with a pretty much nonsense implementation. That might not be so bad if File(...) were only used as a token.
Use default values of the correct type:file: UploadFile = UploadFile(...)

andfile: List[UploadFile] = [UploadFile(...)]

This may work (with help from the library interpreting these values as mere indicators that the files should be parsed from the body) but I am afraid it is still surprising for a regular python user.

Other clarifications
Not sure if this qualifies as a clarification, but the reason I am asking is mainly because FastAPI is so amazingly awesome! Using the new type annotations in Python to create such an elegant web framework is nothing short of brilliant!
There are frameworks that do something similar in other languages (check out Rocket in Rust), but I was really not expecting such features to land in a Python framework any time soon. Great job, @tiangolo !

And same thing with for example Depends:
 error: Incompatible default for argument "token" (default has type "Depends", argument has type "str")

Thanks for the report!
I tried to "check it quickly" to see if I could solve it with just a bit of mypy-foo... and here I am now, after several hours (:joy: )... But I have a solution in PR #226.
I'll leave it until tomorrow to see if anyone finds any use case that could be affected, and then I'll merge it tomorrow.
It fixes the mypy errors for all these parameter utils, including File, Query, Depends, Security, etc.

FastAPI is so amazingly awesome! Using the new type annotations in Python to create such an elegant web framework is nothing short of brilliant!
There are frameworks that do something similar in other languages (check out Rocket in Rust), but I was really not expecting such features to land in a Python framework any time soon. Great job, @tiangolo !

Thanks a lot! I'm glad to hear you're liking it :smile: :tada: :rocket:

@tiangolo Thank you for looking into this! You found a very elegant solution.

Thanks @Victor-Savu ! :smile:
This is available/fixed now, with FastAPI version 0.22.0. :tada:
@sbv-trueenergy And it's also fixed for Depends, Security, etc.

I'll close this issue now, but feel free to add more comments or create new issues.


feat(#854): Add getServerSession and getToken to the local provider

🔗 Linked issue
Closes #854
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[X] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Adds getServerSession and getToken to the server-side ultis for the local provider.
📝 Checklist

[X] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

Closing. Will revisit when #913 is merged.


Correct module name for DagStateTrigger

DagStateTrigger has wrong module name.
The trigger fails with:
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)

  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import

  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load

  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked

ModuleNotFoundError: No module named 'astronomer.providers.core.triggers.external_dag'

Awesome, thanks @tanelk for creating the PR and fixing this issue. Appreciate it.

Fixed and released in 1.3.1


METRON-1424: Kerberos: Solr

Contributor Comments
This PR adds Kerberos support for Solr in Metron.  This has been verified in full dev using the following steps:

Spin up full dev
Stop and remove Elasticsearch and Kibana
Install HDP Search (https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_solr-search-installation/content/ch_hdp-search-install-ambari.html)
Create collections for bro, snort and error using the $METRON_HOME/bin/create_collection.sh script.
Kerberize full dev using the instructions in https://github.com/apache/metron/blob/master/metron-deployment/Kerberos-manual-setup.md
In Ambari, change the "Solr Zookeeper Urls" setting in the Metron > Index Settings tab to "node1:2181/solr" and the "Random Access Search Engine" setting in the Metron > Indexing tab to "Solr" (it also helps to change "Random Access Indexing Offset" in the Metron > Indexing tab to "LATEST")
Verify data is showing up in Solr
Restart Metron REST and you should be able to query data in Solr without issue

This PR assumes HDP Search is being used.  The benefit of using HDP Search is that Ambari handles Kerberos configuration for Solr.  If using a separate Solr install, Kerberos configuration would need to be done manually there.
Side note:  I had a lot of trouble getting everything to work all at once due to resource constraints in full dev.  I would suggest shutting down as many services as possible, getting data into Solr first, then shutting down topologies, then starting REST and querying data.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[ ] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[ ] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[ ] Have you written or updated unit tests and or integration tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1 by inspection. Nice work @merrimanr

+1


intrinsic gas too high

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (31d6498 2023-06-28T00:10:20.700537031Z)
What command(s) is the bug in?
anvil \ 		$(if $(FORK),--fork-url https://eth-$(FORK).alchemyapi.io/v2/$(ALCHEMY_KEY) --chain-id 522 --no-rate-limit,--chain-id 31337) \ 		$(if $(FORK_BLOCK_NUMBER),--fork-block-number $(FORK_BLOCK_NUMBER),) \ 		$(if $(DEPLOYER_MNEMONIC),--mnemonic "${DEPLOYER_MNEMONIC}",--mnemonic "test test test test test test test test test test test junk") \ 		--host <IP_ADDRESS> \ 		--state-interval 60 \ 		--dump-state state.json \ 		$(if $(wildcard state.json),--load-state state.json,) \ 		--disable-block-gas-limit \ 		--code-size-limit 100000 \ 		--timeout 9000000

Operating System
Linux
Describe the bug
I got this error while sending a giant transaction but it also happens randomly for smaller transactions

x2

Could we get a small repro of this happening?

Just bumped into this error while attempting to deploy this ERC20GodMode contract with Ledger:
forge create src/token/erc20/ERC20GodMode.sol:ERC20GodMode \
--ledger \
--rpc-url "localhost" \
--constructor-args \
"Test token" \
"TKN" \
18

Running the command without the --ledger flag works.
Error:

(code: -32000, message: intrinsic gas too high, data: None)

I also get this error when fetching large amounts of data. For me the steps were:

Deploy a contract that fetches large amounts of data (around 5GB over 7M calls) on an anvil instance that forks from a node in my local network.
When fetching (forking) from the node in the local network with ~1ms latency everything is fine.
When connecting to an RPC provider via internet (or the same node over VPN) with significant latency, I get 'intrinsic gas too high' for every 10th-20th call.
When I rerun the calls, it executes 10-100 times faster as anvil doesn't have to fetch the data again. Nevertheless the data from the anvil instance is broken permanently, meaning I get the same error for the same calls every time.
Creating a fresh instance of anvil and running again on the 1ms latency forked node "fixes" the problem.

Not a huge issue for me but maybe it helps in identifying the problem.

I also got that error message when trying to simulate a transaction a local anvil fork of mainnet

I ran into this issue while using new accounts with low funds, sending more ETH to them seem to have fixed it.

Closing as stale—we've had several fixes related to these, so similar errors now mean different things probably. We'd rather get new issues filed with up-to-date details

ran into this issue and sending a couple txs with metamask fixed it. Maybe forge create is using a nonce that is too high?
Sorry only just started using foundry 😅


Time slot dashes to be every 10 mins stead of 15mins

how can I change the display so the grey dashes are every 10 mins instead of 15 min?

There maybe a more efficient way, but i did this by editing the jquery.skedTape.css file
lines 311, 312, and 314
.sked-tape__grid > li
line 311:   add two extra gradients:   linear-gradient(to right, #E5E5E5 1px, #E5E5E5 1px), linear-gradient(to right, #E5E5E5 1px, #E5E5E5 1px)
line 312:   add two extra line sizes:  1px 100%, 1px 100%
line 314:   change from
background-position: 0 0, 100% 0, 25% 0, 50% 0, 75% 0;
to
background-position: 0 0, 100% 0, 16.6666% 0, 33.332% 0, 49.998% 0, 66.664% 0, 83.333% 0;


Theme Options

The current theme options do not include a "Global Link Color" as shown in the Gentle Green Theme screenshot. We desperately need this option to achieve our branding objective. The system currently forces us to see the light blue link color.
Please advise on the ability to change the global link color or update the screenshot. Thanks.

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

ID: 6bfa2c4e-b1d4-972e-56f7-250bbeeda910
Version Independent ID: f7f5c4fc-a9f7-9917-4e24-7f878655cb13
Content: Change the color scheme or add a logo to match your brand - Power Apps
Content Source: powerapps-docs/maker/model-driven-apps/create-themes-organization-branding.md
Service: powerapps
GitHub Login: @Mattp123
Microsoft Alias: matp

@jpatrickwright - thank you for your feedback. You're correct that the global link color option isn't available with the current themes implementation. The topic has been updated and expanded a bit to provide more detail about how themes work in general (e.g. logo size, use, and that the logo is a web resource). The topic will be published live later today.
Closing issue.

@jpatrickwright - thank you for your feedback. You're correct that the global link color option isn't available with the current themes implementation. The topic has been updated and expanded a bit to provide more detail about how themes work in general (e.g. logo size, use, and that the logo is a web resource). The topic will be published live later today.
Closing issue.


NoSuchMethodError: The getter 'name' was called on null. When using NestedNavigator.

Describe the bug
I have an app with a Bottom navigation bar and an IndexedStack for handling multiple views.
Some of the views have a NestedNavigator, after upgrading to Get v3 I now get
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building Builder(dirty):
The getter 'name' was called on null.
Receiver: null
Tried calling: name

The relevant error-causing widget was:
  Navigator-[LabeledGlobalKey<NavigatorState>#d9055] file:///home/havoc/AndroidStudioProjects/pointograph_app/lib/places/places_main/places_main.dart:36:12
When the exception was thrown, this was the stack:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1      new GetPageRoute.<anonymous closure> (package:get/src/routes/default_route.dart:49:47)
#2      PageRouteBuilder.buildPage (package:flutter/src/widgets/pages.dart:101:23)
#3      _ModalScopeState.build.<anonymous closure> (package:flutter/src/widgets/routes.dart:804:43)
#4      Builder.build (package:flutter/src/widgets/basic.dart:6998:48)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

Flutter Version:
v1.17.3
Get Version:
3.1.2
Minimal reproduce code
Navigator(
    key: Get.nestedKey(1),
    initialRoute: '/profile',
    onGenerateRoute: (routeSettings) {
      print(routeSettings);
      switch (routeSettings.name) {
        case '/profile':
          return GetPageRoute(
            page: () => ProfileHomeView(),
            transition: Transition.noTransition,
          );
        default:
          return GetPageRoute(page: () => ErrorRoute());
      }
    },
  );

In the previous version, this was
Navigator(
    key: Get.nestedKey(1),
    initialRoute: '/profile',
    onGenerateRoute: (routeSettings) {
      print(routeSettings);
      switch (routeSettings.name) {
        case '/profile':
          return GetRouteBase(
            page: ProfileHomeView(),
          );
        default:
          return GetRouteBase(page:ErrorRoute());
      }
    },
  );

Also, note that adding the settings parameter fixes this.
Navigator(
    key: Get.nestedKey(1),
    initialRoute: '/profile',
    onGenerateRoute: (routeSettings) {
      print(routeSettings);
      switch (routeSettings.name) {
        case '/profile':
          return GetPageRoute(
            settings: routeSettings,
            page: () => ProfileHomeView(),
            transition: Transition.noTransition,
          );
        default:
          return GetPageRoute(page: () => ErrorRoute());
      }
    },
  );

settings is mandatory now because of the web urls.
Apparently Flutter needs this to display the name in the url correctly.
I used to send an empty class in case it is empty, but as we changed from PageRoute to PageRouteBuilder to allow customTransitions, this became mandatory.
I think I will insert an assert to give an error so that the user knows that a 'settings: settings' is missing

Thanks, will do, feel free to close.


Should barrier=log be allowed on standalone points?

According to the wiki : https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dlog, this tag can be used on a node (currently 6 730 uses according to taginfo) or a way (2002 uses).
But, on iD editor, when it is used on a node, we have a warning telling us that this tag should be used only on ways.
Could you remove this warning ?

is it possible that it is free-floating node but it should be attached to a path/road?

See https://github.com/openstreetmap/id-tagging-schema/pull/822#issuecomment-1477639549 and the following comment, as well as https://github.com/openstreetmap/id-tagging-schema/pull/506#issuecomment-1276003624. My interpretation of the tag (as documented on the wiki) is that it is only meant for logs which block a path or similar object, thus the use as standalone points is not intended. Maybe I'm overlooking a valid use, though. Do you have any concrete examples of where it should be used?

According to this query : https://overpass-turbo.eu/s/1uWC, there are currently 611 nodes (with this tag) not on a way.
I didn't look at all, some are probably misplaced (see node 422081105) but some other seems ok to me to explain a change in the direction of a way (with the node not on the way itself), see for example nodes<PHONE_NUMBER> or 539312449.

there are currently 611 nodes (with this tag) not on a way

note that most of them are node within a way - so will not raise this warning

explain a change in the direction of a way

This seems to be a good use of the tag, which I had overlooked. While not extremely common, it still makes up a not completely insignificant number of occurrences. I'll change the preset to also allow "standalone" point geometry. :+1:
PS: The wiki also mentions the following use case for the tag:

Logs may also be placed along highways or areas (similar to guard rails and fences).

An example for this would be n4405402004. Unfortunately, the current name of the preset "Fallen Tree Obstruction" does not fit this situation very well, but I that's an issue for another ticket, I guess.

Thanks


Kasthuri Claims v0.15

Due on THURSDAY, 9/24 (when Will's back)

Enumerate larger list of Kasthuri claims, to include counting and data characterization type actions
Characterize each claim as easy, medium, hard, and whether we plan to accomplish via CAJAL or OCPY
To facilitate ndio python notebooks and reproducible kasthuri science, complete baseline of ndio by wrapping all RESTful calls in a ndio.Remote (so, ndio.OCPRemote.get_cutout( . . . ), ndio.OCPRemote.get_all_of_type( . . . ) etc) - this completes core functionality and also identifies any gaps in restful call documentation
Submit a git issue to openconnectome repo with any documentation that is unclear
Run at least 5 new Kasthuri claims

@jovo

@j6k4m8

@j6k4m8 status update on this please?


Take socket filepath instead of socket directory

You must specify the filepath of the socket. Previously the filenames were automatically created. (change requested by @disassembler )

@Jimbo4350, good change, just one comment!

bors r+


training with custom data

Hi!
I would like to train the network with my custom data. Where could I find documentation about how to do that? (data format, configuration etc) ? Or can you directly explain me?
Thank you very much!
Regards,

similar to https://github.com/endernewton/tf-faster-rcnn/issues/17. I do not have a formal document yet.


Load spectrum before loading the process tree

We load the spectrum first, then we load the tree. We don't really speed up loading the tree (it's not clear how or if it can be sped up). In the end what we probably want to do it to only load the tree on demand (and display a loading bar while it happens).
A step towards #46

Hmm, it looks like the approach of this PR (setting the process trait of the SpectrumWidget before the others) does not work as good. The spectrum gets loaded, but it seems that the UI is still blocked by the Tree load so one cannot really interact with the spectrum. I am going to merge anyway, but this needs better solution.


fix : feedback & others for Yaml Plugins

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.502%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7602

Relevant Lines:
9937

💛  - Coveralls


Benchmark Submission: seungjaeryanlee

This pull request represents a submission to the codesearchnet benchmark.
It is the main communication channel for you and the reviewers.
Wandb run results for review

@seungjaeryanlee can you tell us a bit about your submission, how did you produce these results?

Hello @hamelsmu ! This submission is just the baseline submission. It is the neural bag of words model trained through python train.py without any code changes or command line arguments.

Thanks @seungjaeryanlee merging now


MudDataGrid clear filter bug

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudDataGrid
What happened?
Clicking 'clear' on an empty filter causes an 'Index was out of range' exception to be thrown in MudBlazor.MudDataGrid.RemoveFilterAsync() when FilterMode is set to DataGridFilterMode.ColumnFilterMenu.
I don't need to recreate, as this error is present in MudBlazor's own documentation under advanced-filtering
Simply click the clear icon when no filter is set:

Expected behavior
Clicking clear filter for DataGridFilterMode.ColumnFilterMenu should not throw  an unhandled exception when the filter is empty.
Reproduction link
https://mudblazor.com/components/datagrid#advanced-filtering
Reproduction steps

Create datagrid
Set filter mode to DataGridFilterMode.ColumnFilterMenu
Click clear on empty filter

Relevant log output
No response
Version (bug)
7
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[x] I agree to follow this project's Code of Conduct

Yeah, a regression from https://github.com/MudBlazor/MudBlazor/pull/9801#issuecomment-2409970905
Should be easy to fix, a PR is welcome.

https://www.nuget.org/packages/MudBlazor/7.13.0


Fix camera still being used after closing camera preview page

Description

When leaving the camera capture page, the camera now no longer is in use.
Motivation and Context

Closes #1610
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

/azp run

/azp run

Can you try rebasing from main and see if the latest changes help with the test failures?

/azp run

The tests are failing after the Axe scan on the camera preview page. This may be related to your changes :/

/azp run

/azp run

/azp run


get Distance or Power...

Any sugestions on how to get the Power of the BLE signal to determin distance...
I was also thinking about iBEACONS or other beacons.
thanks

Up for this one. although someone already made it using AltBeacon. I still want the updated version of Flutter BLUE.


execute -> transpile;backend.run

Remove Qobj from the user-land. The circuit should be the main element to pass around. execute should break into:
circuit2 = passmanager.run(circuit1) # or circuit2 = transpile(circuit1)
backend.run(circuit2)

execute should be deprecated.

I believe this was completed (other than the deprecation of execute, which I don't think has yet been decided) as part of #5086.  If there's other remaining work here, please re-open.


Storage

What does this change?
Adds the storage lib from frontend.
Why should we share this code?
Many codebases use localStorage to persist data but there are some some potential pitfalls around using it that need to be handled. The existing storage.js lib in frontend does an excellent job of wrapping localStorage (as well as sessionStorage) to guard against these pittfalls and also adds additional features such as expiry.
By moving this code up and into @guardian/libs we offer the same error protections and features to all projects.
Could this code change or will there be new use cases around using it in the future?
This code has reamained unchanged for several years and the same solutions are being repeated in other projects with very little variation (but perhaps not as well as was done in frontend).
Usage
import { storage } from './storage';

const { local, session } = storage;

if (local.isAvailable()) {
  local.set('my-key', {foo: 'my data'});
  local.getRaw('my-key'); // '{"value":{"foo":"my data"}}'
  local.get('my-key'); // {foo: 'my data'}
  local.remove('my-key');

  local.set('expired-key', {foo: 'my data'}, new Date('2001-01-01'));
  local.get('expired-key'); // null
}

Please see tests for all use cases

dont know how i closed this!

oh renamed master to main...


Security Terminal not saving Ownership upon unloading/reloading Dimension Chunks (Interaction with Applied Energistics 2)

This originally was posted in the Applied Energistics 2 Github here: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/1841

I have an issue where I cannot setup a Security Terminal within my Void Dimension using RF Tools as upon leaving the dimension enough for it to unload and then re-entering, complete access to the system is denied and I can only view the items using a terminal. Interfaces/Import Buses cannot also put items into the system as well as they too are locked out. I cannot also access the Security Terminal to change these permissions. The only way to regain access to my system and to restore Interface/Import Bus functionality, I have to remove the Security Terminal from the network entirely.

I believe the issue has to deal with ownership of the Security Terminal/Network being saved the server when the Dimension is unloaded as there are no chunk loaders keeping it loaded. I do not have access to the server logs at all as the server isn't mine so I cannot confirm by looking into these logs.

From some of the feedback I've received, It seems like this is an issue with RFTools and not Applied Energistics. The dimensions might be missing a call to notify Tile Entities about the unloading of chunks within the dimensions themselves. Personally I am not exactly sure which mod is causing the problem but I figure letting authors from both mods know about this issue might help resolve this faster. Hope this is enough information, and the ticket in the Applied Energistics GitHub is linked above.

It is not RFTools that is unloading chunks. That's something that Minecraft itself does. RFTools simply makes a dimension. I will go over the code related to this a bit but I have doubts that this is something that I can do a lot about. Also would be nice to test how this behaves in other dimensions like Mystcraft

I tested a small system in Extra Utilities' Last Millennium dimension and it seems to not have an issue. It looks to be completely isolated to RF Tools Dimensions. Unfortunately the modpack I am currently using no longer uses Mystcraft as it was causing problems with continuously creating dimensions when they weren't being requested, so I can't test it within dimensions created with that particular mod.


Bump sql-cli version to 1.1.0

Signed-off-by: Peng Huo<EMAIL_ADDRESS>Description

Bump the version to 1.1.0.

Enhancement https://github.com/opensearch-project/sql/pull/918

Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1023 (958de00) into 2.x (4282450) will decrease coverage by 35.49%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##                2.x    #1023       +/-   ##
=============================================
- Coverage     98.26%   62.76%   -35.50%
=============================================
  Files           324       10      -314
  Lines          8399      658     -7741
  Branches        553      119      -434
=============================================
- Hits           8253      413     -7840
- Misses          142      192       +50
- Partials          4       53       +49

Flag
Coverage Δ

query-workbench
62.76% <ø> (?)

sql-engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ensearch/sql/exception/SemanticCheckException.java

...cript/filter/lucene/relevance/MultiFieldQuery.java

...rg/opensearch/sql/planner/logical/LogicalPlan.java

.../org/opensearch/sql/planner/logical/LogicalAD.java

...ript/filter/lucene/relevance/MatchPhraseQuery.java

.../opensearch/sql/expression/FunctionExpression.java

...nsearch/sql/planner/physical/RareTopNOperator.java

...org/opensearch/sql/data/model/ExprStringValue.java

...rch/sql/expression/aggregation/TakeAggregator.java

...nsearch/sql/analysis/WindowExpressionAnalyzer.java

... and 324 more

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


Customize Buefy/Bulma in nuxt.js without payload increase

Overview of the problem
Buefy version: 0.5.2
Vuejs version: 2.4.2
OS/Browser: Chrome 60.0.3112.113
Description
I am trying to customize the sass variables in bulma and buefy in my nuxt.js project. I currently got it working following https://buefy.github.io/#/documentation/customization, but with an increase in payload size.
See steps below please.
A side note is that the payload increases by about 50kB for every compoenent I add customization too.
At the moment I only add it to the default layout and accept the 50kB increase, but there must be a way to make customizations without the increase in payload?
Thanks in advance  for the help!
Steps to reproduce

Have a clean nuxt.js project.
Add buefy according to this guide https://buefy.github.io/#/documentation/start and also add buefy to build.vendors in nuxt.config.js
Run generate or build, then start. Open in browser and note the total kB transferred.
Install node-sass and sass-loader and add code to i.e. default.vue layout according to this guide https://buefy.github.io/#/documentation/customization

<style lang="sass">
  @import "~bulma/sass/utilities/_all"

  /* some customization. i.e */
  /*$navbar-height: 5rem*/

  @import "~bulma"
  @import "~buefy/src/scss/buefy"
</style>

Run generate or build, then start.

Expected behavior
Open in browser and note that the total kB transferred has is the same, or on scale with customization made.
Actual behavior
Open in browser and note that the total kB transferred has increased by about 50kB.

@colsen1991 Ok. We'll review your PR as soon as possible.
Thanks a lot!

Hi, I got this warning when use this solution.
 warning  in ./assets/css/buefy-overrides.scss

(Emitted value instead of an instance of Error) postcss-custom-properties: C:\Users\xxxx\Desktop\xxxx\node_modules\bulma
\sass\grid\columns.sass:328:6: Custom property ignored: not scoped to the top-level :root element (.columns.is-variable.is
-8 { ... --columnGap: ... })

 @ ./assets/css/buefy-overrides.scss 4:14-210 13:3-17:5 14:22-218
 @ ./node_modules/babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["C://Users//xxxx//Desktop//xxxx//no
de_modules//babel-preset-vue-app//dist//index.common.js"]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!.
/.nuxt/App.vue
 @ ./.nuxt/App.vue
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi webpack-hot-middleware/client?name=client&reload=true&timeout=3000&path=/__webpack_hmr ./.nuxt/client.js

any idea how to fix it?

Sorry for the late reply. Had a busy weekend :)
Anyways, it seems like your problem has to do with CSS-next and the use of custom vars, not scss vars. I haven't played around with this yet, but i did get plenty of hits on google with parts of your error excerpt. Could you possibly post your buefy-overrides.scss?

@colsen1991 thanks for reply.
// Import Bulma's core
@import "~bulma/sass/utilities/_all";

// Set your colors
$primary: #212121;
$primary-invert: findColorInvert($primary);

// Setup $colors to use as bulma classes (e.g. 'is-twitter')
$colors: (
    "white": ($white, $black),
    "black": ($black, $white),
    "light": ($light, $light-invert),
    "dark": ($dark, $dark-invert),
    "primary": ($primary, $primary-invert),
    "info": ($info, $info-invert),
    "success": ($success, $success-invert),
    "warning": ($warning, $warning-invert),
    "danger": ($danger, $danger-invert)
);

// Links
$link: $primary;
$link-invert: $primary-invert;
$link-focus-border: $primary;

// Import Bulma and Buefy styles
@import "~bulma";
@import "~buefy/src/scss/buefy";

I copied it from buefy document. I did try to remove all line except for the import, but still got the same warning.
// Import Bulma's core
@import "~bulma/sass/utilities/_all";

// Import Bulma and Buefy styles
@import "~bulma";
@import "~buefy/src/scss/buefy";

By the way I using Windows 10.

Hmm, I could you also post your nuxt.config.js and package.json? Sorry for not mentioning the first time.

Here are they nuxt.config.js
module.exports = {
  /*
  ** Headers of the page
  */
  head: {
    title: 'LâmKS',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: 'Nuxt.js project' }
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
      { rel: 'stylesheet', href: '//fonts.googleapis.com/icon?family=Material+Icons' }
    ]
  },
  css: [
    { src<EMAIL_ADDRESS>lang: 'sass' }
  ],
  /*
  ** Customize the progress-bar color
  */
  loading: { color: '#f40' },
  /*
  ** Build configuration
  */
  build: {
    /*
    ** Run ESLINT on save
    */
    extend (config, ctx) {
      if (ctx.dev && ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
  },

  plugins: [
    { src: '~plugins/buefy' },
    { src: '~/plugins/nuxt-client-init.js', ssr: false }
  ],

  router: {
    linkActiveClass: 'is-active'
  }
}

package.json
{
  "name": "lamks",
  "version": "1.0.0",
  "description": "Nuxt.js project",
  "author": "Lâm Kiều<EMAIL_ADDRESS>  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "precommit": "npm run lint"
  },
  "dependencies": {
    "buefy": "^0.5.2",
    "nuxt": "^1.0.0-rc11"
  },
  "devDependencies": {
    "babel-eslint": "^7.2.3",
    "eslint": "^4.3.0",
    "eslint-config-standard": "^10.2.1",
    "eslint-loader": "^1.9.0",
    "eslint-plugin-html": "^3.1.1",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-node": "^5.1.1",
    "eslint-plugin-promise": "^3.5.0",
    "eslint-plugin-standard": "^3.0.1",
    "node-sass": "^4.5.3",
    "sass-loader": "^6.0.6"
  }
}

I'm sorry, but I'm drawing a blank using my own knowledge. It seems to be an error related to custom properties, and the bulma file(s). Found 1 hit on google scoping down https://github.com/nuxt/nuxt.js/issues/1670 which suggests disabling custom properties in postcss. Not an ideal fix, but if you are planning to use sass, it shouldn't be a problem :) Let me know how it goes!

@colsen1991 cool, thanks. The warning is gone 👍

Awesome! Glad I could help :)

if you wanna use postcss-custom-properties without warnings, try this
https://github.com/nuxt/nuxt.js/issues/1670#issuecomment-330899099

Can't get it to work. Followed @colsen1991 guide. Now sass/css files are not loaded twice, but overrides are still not happening.

Tried all of the solutions in this issue, none work, don't know why it's been closed

@acidduck
this solution works too
https://github.com/buefy/buefy/issues/319#issuecomment-427642851


remove fusion csv generation

We do not need to generate this CSV anymore. Removing all related changes.

/hold

/unhold


Updated vmss create --image help text.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@tjprescott do you think you can merge this help change. Sorry its last minute.

it is not a critical thing, we can live with it for a while

Okay thanks. good to know @yugangw-msft.


[BUG] main landing page have some glitch

The main landing page stucks sometimes while scrolling.
Steps to produce:
1) run the app on the given hosted link
2) try to scroll on main landing page

Hello Naresh , I am a GSSOC contributor, could you please assign me this issue.

Sure go fot it @SaurabhBarde-007

Hello Naresh, I am new to open source but have a good knowledge of full-stack dev so, could you please assign me this issue?

@iasadk bro I am already working on it.

ok bro :)

sir i want to work on this issue under gssoc'23

Any progress @SaurabhBarde-007

Any progress @SaurabhBarde-007

sir should I do this as he is not replying

ok got for it @vk20july

@Naresh-chandanbatve sir can you send the video
because from my end scrolling button is working fine

Look at the video it stops at perticular point when scrolled fast
landingGlitch.mp4

ok sir got it

Look at the video it stops at perticular point when scrolled fast
landingGlitch.mp4

sir can you assign this issue to someone
sorry for the inconvenience

It could be related to the hardware problem or the website loading too many resources. For example, the website has a 3D model and perhaps has large images that take time to load.

Please assign this task I can work on this issue
I will try optimizing the images or figure out something else which will fix this issue

Ok go for it
@ManavMalhotra

@Naresh-chandanbatve
I tried recreating the issue and found that the bug occurs on low-end devices or when the phone can’t handle 3D model processing. This results in a blank screen being displayed for milliseconds when scrolling.
One possible fix I came up with is to replace the 3D models with PNG images for mobile devices only.
I am working on trying different approaches. If you have any suggestions, please let me know

3d models are the main factor inour ui so removing it is not a nice option.
look for other aproaches


acortame.xyz

Domain
acortame.xyz
Link
https://acortame.xyz/#aHR0cHM6Ly9mYy1sYy5jb20vT0hwdA==
Version
0.0.0
What browsers are you seeing the problem on?
Firefox
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

domainBypass("acortame.xyz", () => {
    if (window.location.hash) unsafelyNavigate(atob(window.location.hash.substr(1)))
})
``
Add this to your custom bypasses for now. I'll make a PR to add this.


Fix name of Pentecost in Sweden

There was a naming error making Pentecost be called Whit Sunday in Sweden (not that any Swedes would know the English word for it anyway).

Great thanks :+1:

oooops, typo fix. thank you for the contribution.


chore: adaptations for leanprover/lean4#3040 (changes to termination hints)

This is the adaptation PR for leanprover/lean4#3040. Only changes are in the tests.

@nomeata seems straightforward, so I will merge this after CI runs.


MSVCP140D.dll error when trying to open

Every time I try to open the program, I get this error. I have all Visual Basic installed on my computer
Can you tell me what could be going on?

Hello,
You will need the latest x64 visual c++ redistributable for this to work. You can download it here

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
Anyway take care D.dll at the end of the name means that you are compiling it as debug and if you want only test it I recommend you to build as release


Resolved Issue #84

Changed error message when match was not found

I changed the double quotes to single quotes to avoid having backslashes appear in the json.


Update rc.sensors : mRo X2.1 to enable the LIS3MDL

This change allows the LIS3MDL based GPS magnetometers to autostart on the mRo x2.1.

Looks good. I was thinking of pulling all the optional external drivers into a single place so we wouldn't have to do this anymore.
Add the ist8310 as well while you're at it?

If you could add any/all of the other devices that would be awesome. I have not researched all of the commands on the others yet.

Most of the others (lidar, airspeed, etc) already apply to all boards, but we still have the external mags grouped in by board for some reason.
The only thing obviously missing is the ist8310. It's easy to add, but we should check the orientation and if it's correctly detected as external.


Feature/login register mobile styling followup fixes

followup fixes to this story:
https://jira.movember.com/browse/TN-1442
styling fixes via testing on actual mobile device
remove unnecessary strip characters from templates

Going to test this out a bit more, will reopen when done testing


Tonepie cat litter box

Description
The app works ok with my cat litter box, which is a copy of tonepie, but when trying to calibrate the litter surface it always ends up the same independently of setting the value from 0 to 6.
Is it an app or software problem?
Steps to reproduce
After the automatic cleanup, the litter always leans to the left, even if I set the value to 6, to make it lean to the right.
Expected behaviour
The litter should lean to the left if the value is set closer to 0, or to the right if the value is set closer to 6.
Additional context
No response
Confirmation

[X] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

[ ] If this is for a specific device, the device config is mentioned above, or diagnostics are included.

[ ] Log messages or diagnostics relevant to the issue are included.

[X] This is not requesting addition of a new device.

This is not tonepie clone manufacturer support.


Hardware

Hi,
How long can be the estimated training time by an NVIDIA® GeForce® RTX 3060 Ti™ 8 ?
With 1000 images
Thank you

Hi. I don't have rtx3060ti. Sorry.


Fixes to KType nullability

Codecov Report

Merging #11 into master will decrease coverage by 1.7%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##             master      #11      +/-   ##
============================================
- Coverage     85.77%   84.06%   -1.71%
+ Complexity      258      252       -6
============================================
  Files            44       44
  Lines           478      477       -1
  Branches        128      128
============================================
- Hits            410      401       -9
- Misses           46       50       +4
- Partials         22       26       +4

Impacted Files
Coverage Δ
Complexity Δ

...om/appmattus/kotlinfixture/config/Configuration.kt
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...ppmattus/kotlinfixture/resolver/EnumMapResolver.kt
73.07% <0%> (-7.7%)
7 <0> (-2)

...ppmattus/kotlinfixture/resolver/EnumSetResolver.kt
90.47% <100%> (ø)
10 <0> (ø)
:arrow_down:

...us/kotlinfixture/resolver/IterableKTypeResolver.kt
92.3% <33.33%> (-3.92%)
42 <0> (-2)

...s/kotlinfixture/resolver/HashtableKTypeResolver.kt
85% <77.77%> (-10%)
10 <3> (-1)

...pmattus/kotlinfixture/resolver/MapKTypeResolver.kt
90.32% <90%> (-6.46%)
21 <14> (-1)

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 55b92bb...c74ae58. Read the comment docs.


fix(modrinth): cleanup

@uncenter I think this broke #1099 ? I can't verify what happened exactly (I'm on phone rn so no devtools) but the logo that was colored before isn't colored anymore

(Note: this is the logo in the bottom of the page where there's a button for the blog, not the top banner)

Huh weird it was working exactly the same before on my end, and now I'm seeing that as well. I quadruple checked!

The original CSS isn't working either!


⚠ Bofrost.fr has degraded performance

In 06a7bc4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1396 ms

Resolved: Bofrost.fr performance has improved in 44355ac after 6 minutes.


Possibly memory leaks when listening StreamProvider.future inside FutureProvider .

Describe the bug
I confirmed that listening StreamProvider with future property in FutureProvider may causes memory leaks.
To Reproduce
Prepare project with flutter_riverpod ver.2.4.9, then run below gist code.
https://gist.github.com/Kurogoma4D/9e73da0988ab35581723c87a6c2c9cd3
Then see devtool memory page, There you will find a _Listener object that keeps increasing with each button press.
https://github.com/rrousselGit/riverpod/assets/13596653/6682a255-9298-4d0f-9a4f-d55573119087
Instance creation status at that time:

Expected behavior
No memory leaks on that situation.

Workaround: use selectAsync instead.
final countFuture = FutureProvider.autoDispose((ref) {
  return ref.watch(baseStream.selectAsync((data) => data));
  // return ref.watch(baseStream.future);
});

Thanks for the report. I'll admit I'm working on a significant refactoring of Riverpod for the 3.0 and would rather work on that than a fix for something that's going to disappear anyway.
If you want to look into this, I'd love it. Otherwise this may have to wait a bit

Thanks for confirming.
I'd like to take a look at it when I get some time, but it looks like the work-around method is fine for production code, so I'll probably stay with it for a while :)

Thanks again for the detailed reproduction!
This has been fixed by fixing the selectAsync bug. Some ProviderSubscriptions weren't closed, which caused this leak.


Disable autocorrect for search input

Autocorrect will try to correct package names to words on MacOS and mobile devices. This disables that behaviour as we don't want it here.

Video of the issue at hand:
https://user-images.githubusercontent.com/1286001/170168767-9305475c-ecd2-471b-bef1-2747b2cd4fe3.mov

Thanks for the pr


Handle yanked versions

Hey there, I don't actually remember how to handle this :-)
If you explain to me what needs to be handled, I can make this happen!

This actually don't need any change on compact index code! It is implemented on PRs bundler/bundler-api#116 and rubygems/rubygems.org#1067


Change question q_code 120/220 to TextField so respondent can enter number or %

What is the context of this PR?
https://trello.com/c/xFLWeChE/820-production-questionnaire-mwss
MWSS failed PO approval because for question q_codes 120/220x the respondent needs to be able to enter a % sign to indicate if the value is a number or percentage. This PR changes the field to a TextField in the absence of a better field/solution.
How to review

Check MWSS; can you enter "5%" into the question on screen 2.10/3.10/4.10 etc.

@collisdigital q_120 field is now allowing all the spl chars and alphabets and negative values.


Feature request: selectable value format when sending Custom Configuration values

Is your feature request related to a problem? Please describe.
When using the Custom Configuration option in the UI, the value is always assumed to be a signed integer

Describe the solution you'd like
It would be nice to have an option to select the value format (signed int, unsigned int, or hex value).
For example, if I want to set the value to 255, right now I need to enter -1 as the value.
I would like to be able to enter any of the following:

-1 as a signed int
255 as an unsigned int
FF as a hex value

I need to think about this 👍🏼

I like this idea. Since the release of configuration command class v3, it is ok to use unsigned values:

@robertsLando not sure which API you use to set params with this feature. If its this one
https://github.com/zwave-js/node-zwave-js/blob/13c509216bd653abd74d43a6bcd3498367bba20f/packages/cc/src/cc/ConfigurationCC.ts#L611
I guess you could add a toggle to use unsigned instead of signed values (options.valueFormat)

Will do this ASAP so

Fixes by #2837


[Ludown] parse lu sections with antlr

This PR is to refactor ludown lu parser with Antlr tool. The first step is to parse intent sections in .lu file with antlr. We are still actively working on it and will update the prgress in this PR after more features are optimized.

[x] Intent
[x] Entity
[x] Pattern
[x] Reference
[x] Deep Reference
[x] QnA
[x] Error handling
...

One question, does this PR target V.Future branch or 4.future branch?

close this PR due to duplicated with #1223


Ver 2.0.5

@matthiaskoenig the changes to test_omex conflict - caused by 3d6687b5744f0bafea62bd7d1147eaa31fe9144a? Change was assert "experiment/Calzone2007-simulation-figure-1B.xml" in locations. It appears safe to overwrite with develop branch version.

Yes the overwrite is save.
Don't merge this.
My changes are not ready for develop/master. The commits are part of larger functionality which still is missing.


Can I split the train_data in the network？

for example:
data = mx.sym.Variable("data")
data1=data[:,k]
data2=data[k,:]
Or can I define two data iterations ?
maybe I will put the second one into the networks at its hidden layer

I find it


Capitalize the End

It is better to correct many issues all at once 😄

Evidently, that process slows PRs and TTR to TTD artificially down.


🐞[bug]: make navbar position fix

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Navigation bar to be positioned at top. Please assign me this issue under gssoc'24 EXTENDED and hacktoberfest.
Expected behavior
The navigation bar to be settled at the top of the page. but it is moving when scrolled down.
Add ScreenShots

What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

It is already on the way to be fixed please create some other issue.


Update sbt to 1.4.7

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

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

labels: library-update, semver-patch

Codecov Report

Merging #160 (f12947f) into master (430ccdf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #160   +/-   ##
=======================================
  Coverage   41.66%   41.66%
=======================================
  Files           1        1
  Lines          36       36
  Branches        1        1
=======================================
  Hits           15       15
  Misses         21       21

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 430ccdf...f12947f. Read the comment docs.

Codecov Report

Merging #160 (f12947f) into master (430ccdf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #160   +/-   ##
=======================================
  Coverage   41.66%   41.66%
=======================================
  Files           1        1
  Lines          36       36
  Branches        1        1
=======================================
  Hits           15       15
  Misses         21       21

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 430ccdf...f12947f. Read the comment docs.


How to recover file after losing it due to disk full

I faced the same issue reported in https://github.com/microsoft/vscode/issues/34915
and my file is now empty. Is there any way to recover the file? Please help, I've lost days of work. I'm on a Windows OS.

There is no recovery option sorry. The best choice to make sure data is not lost in these cases is imho to use a SCM repository (even locally) and to frequently check in the data.


Request for custome php Check

I tried using the custom domain registrar and search tlds and it kept saying domain not available, I copied this one and it crashed the system.
Is it possible to add .ng whois server as well as you fix this.

Duplicate of #804.


chore: move to npm registry

What is the purpose of this pull request?

What problem is this solving?

Types of changes

[ ] Feat: (new functionality)
[ ] Bug fix: ([#ref number] non-breaking change which fixes an issue)
[ ] Chore: (improvements that will not reflect in production behaviour)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Requires change to documentation, which has been updated accordingly.

#67  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @keeganpotgieter and the rest of your teammates on  Graphite


⚠ Node - ru-5bc1b64c.yalaso.top has degraded performance

In 56e97a5, Node - ru-5bc1b64c.yalaso.top (http://ru-5bc1b64c.yalaso.top/api/v1/ping) experienced degraded performance:

HTTP code: 200
Response time: 2883 ms

Resolved: Node - ru-5bc1b64c.yalaso.top performance has improved in 0c7b661.


Use two rangeslider in one page

Hi,
I want to use three of this library range slider in one page how can I detect them?
Thanks,
Vafa

Sorry delay so long, please upgrade this with
pod 'ZMSwiftRangeSlider', '~> 0.1.3'

and see the Example


User Login Persistence

Overview
We want to save the user's login information locally, so they don't have to log back in everytime.
Also there is currently a bug where if you refresh the page you get redirected to login page -> dashboard but I imagine this will be fixed once we implement some local storage logic.
Task

[x] Implement User Login Persistence
[x] fix bug where refresh redirect you to another page

User Story
As a user, I want to stay logged in, so that I dont have login everytime i visit the site

fixed user login persistence. Firebase automically has login persistence, we were just using it wrong.


Test Flowzone PR 494

Auto-generated by https://github.com/product-os/flowzone/pull/494
Will be closed automatically once the PR is merged.

Auto-closing pull request


Throwing into disposals logic splitting

About the PR
The “insert items in container on throw” behavior should not be tied only to the disposals system
is now a separate component that can easily be assigned to any entity with ContainerContainer
no game changes
no cl

instant aftermerg review

The prob one needs doing the rest idc.


Blazor API Review: Built-in Components

Summary
We want to make sure we're happy with the naming and consistency of all of our built-in components since these names get locked forever. Generally these components have gotten lots of usage so there's not much to say bad about their functionality.
Some of these are covered in their own issues (Auth, Forms, Router).
Cascading Value
namespace Microsoft.AspNetCore.Components
{
    public partial class CascadingValue<T> : Microsoft.AspNetCore.Components.IComponent
    {
        public CascadingValue() { }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public bool IsFixed { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public T Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
        public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
    }
}

Layout
namespace Microsoft.AspNetCore.Components
{
    public abstract partial class LayoutComponentBase : Microsoft.AspNetCore.Components.ComponentBase
    {
        protected LayoutComponentBase() { }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public Microsoft.AspNetCore.Components.RenderFragment Body { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
    }
}

PageDisplay
namespace Microsoft.AspNetCore.Components
{
    public partial class PageDisplay : Microsoft.AspNetCore.Components.IComponent
    {
        public PageDisplay() { }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public Microsoft.AspNetCore.Components.RenderFragment AuthorizingContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public Microsoft.AspNetCore.Components.RenderFragment<Microsoft.AspNetCore.Components.AuthenticationState> NotAuthorizedContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public System.Type Page { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        [Microsoft.AspNetCore.Components.ParameterAttribute]
        public System.Collections.Generic.IDictionary<string, object> PageParameters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
        public void Attach(Microsoft.AspNetCore.Components.RenderHandle renderHandle) { }
        public System.Threading.Tasks.Task SetParametersAsync(Microsoft.AspNetCore.Components.ParameterCollection parameters) { throw null; }
    }
}

I only have a few comments here because I feel like this stuff is in pretty good shape.
For CascadingValue<> should we try to make this consistent with CascadingAuthenticationState? These have different naming, but IIRC CascadingAuthenticationState is just a specialized CascadingValue<>. Should we adopt a pattern? Should this inherit?
For LayoutComponentBase we called the content Body - but we call this ChildContent in lots of place. Should we make this be called ChildContent? I don't feel like changing is super important. Would being consistent with other stuff help us explain these concepts?
I'm a little worried about how coupled PageDisplay appears to be with authorization - but I supposed we can talk about this more during the routing review.

How can I create a Component that inherit from a built-in Component.
MyInput use the Input's parameters and I can define the other parameter I need.

You can inherit from another class in razor using @inherits
@inherits SomeOtherClass

For CascadingValue<> should we try to make this consistent with CascadingAuthenticationState? These have different naming, but IIRC CascadingAuthenticationState is just a specialized CascadingValue<>. Should we adopt a pattern? Should this inherit?

The naming seems reasonable consistent to me already. Maybe I'm too close to it and am missing something. What's inconsistent here?
The original name we wanted was AuthenticationStateProvider, which I still think is a better name, but unfortunately that's also the name for the corresponding DI service.
I'm definitely open to name changes here if there's another proposal.

Should this inherit?

I don't think so. CascadingValue lets users supply their own value, whereas CascadingAuthenticationState doesn't (it controls the value that gets supplied). Is that the inconsistency you're getting at?

For LayoutComponentBase we called the content Body - but we call this ChildContent in lots of place. Should we make this be called ChildContent? I don't feel like changing is super important. Would being consistent with other stuff help us explain these concepts?

ChildContent is a very generic name that doesn't imply anything in particular about how the content will be used, whereas Body is saying specifically what role the content plays.
I'd certainly consider naming this BodyContent, especially if we're making a convention that these things all end with Content (e.g., NotAuthorizedContent, etc.).
We're also inconsistent in Router vs AuthorizeView, where Router has NotAuthorizedContent but AuthorizeView has NotAuthorized.

I'm a little worried about how coupled PageDisplay appears to be with authorization - but I supposed we can talk about this more during the routing review.

Agreed. We did propose a different layering but quickly vetoed it on the grounds that we didn't think it helped end users very much. Happy to reconsider, though time is pretty short for this kind of change.

We want to rename all of the render fragment parameters to drop the Content suffix.


feat: entity passing through api callbacks

:tada: This PR is included in version 0.292.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


I am new in SDN developement. I want to know what extra feature are added in "viptela" create SDN-WAN and Cisco's "iwan" and NSO?

Regards,
Aditya

This seems to have been created by mistake, this repo has nothing to do with any of that.


refer to steps using dict key lookup

We have seen confusion where a step has an id that contains a special character. By documenting this syntax, we hope that users wont have to come across this issue.

@Xantier it is an allowed character for step ids. However nunjucks is using it as a special character. I can see examples all over the place using "-" and I doubt we will be able to stop people doing it.. IMO. (e.g see fetch-base here)
I agree with the premise of you suggestion though. I think maybe backstage scaffolder could be more strict in its validation of templates before loading them and/or starting them up..


Link to your blog post of grey scale usage in README

I think it would be useful :) - although it's only in Korean now, maybe you can add an English version later.

I'm translating that post to English now ;).  You'll be able to see a new "instructions" menu on the website in this week (I hope so).

Finally I uploaded the "instructions" menu 😂. So I'll close this issue.


Build Error with ^1.24.0 (SvelteKit, Lucia-Auth and Cloudflare Pages)

Hi Guys
Just wanted to let you know that there might be a regression bug breaking some builds when trying to use the cloudflare redis client on a sveltekit project. You can reproduce it by checking out this commit: https://github.com/polaroidkidd/cloudkit/tree/28db400e4ce687045d3123c77288d0b2e2745fb6
Update the @upstash/redis verison to 1.24.0 and then try running the pnpm preview:cf It should produce the below error
vite v4.5.0 building SSR bundle for production...
✓ 226 modules transformed.

node:internal/event_target:1083
  process.nextTick(() => { throw err; });
                           ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '[PATH-TO-PROJECT]/cloudkit/node_modules/.pnpm/<EMAIL_ADDRESS>imported from [PATH-TO-PROJECT]/cloudkit/node_modules/.pnpm/@upstash+redis<EMAIL_ADDRESS>Did you mean to import<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:406:5)
    at finalizeResolution (node:internal/modules/esm/resolve:233:11)
    at moduleResolve (node:internal/modules/esm/resolve:845:10)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36)
Emitted 'error' event on Worker instance at:
    at [kOnErrorMessage] (node:internal/worker:326:10)
    at [kOnMessage] (node:internal/worker:337:37)
    at MessagePort.<anonymous> (node:internal/worker:232:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28) {
  url: 'file://[PATH-TO-PROJECT]/cloudkit/node_modules/.pnpm/<EMAIL_ADDRESS>  code: 'ERR_MODULE_NOT_FOUND'
}

Thanks for letting us know. I'll start working on it.

Hey, we are running tests against cloudflare workers in the CI and that works, so I'm a bit confused about it.
Could this be related to using  sveltekit?
Either way, could you try and do what the error suggests and report back if it solves it?
npm i cryptp-js`

Hi,
I'm still getting the error. You can check out this PR to reproduce the error. The build job fails with the same error.
You can reproduce it locally by following these steps

Clone that branch
run pnpm install
copy .env.example to .env.production
run pnpm prisma:gen:prod
run pnpm build:prod

It cloud be due to using SvelteKit. SvelteKit uses vite to run it the build and then the sveltekit cloudflare plugin handles the transformation of the vite build to something wrangler can work with. The error seems to be happening while vite attempts to bundle the app.
I've copy&pasted the build-output below. I'm on a Linux system.
node:internal/event_target:1083
  process.nextTick(() => { throw err; });
                           ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/dle/DevWork/me/cloudkit/node_modules/.pnpm/<EMAIL_ADDRESS>imported from /home/dle/DevWork/me/cloudkit/node_modules/.pnpm/@upstash+redis<EMAIL_ADDRESS>Did you mean to import<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:406:5)
    at finalizeResolution (node:internal/modules/esm/resolve:233:11)
    at moduleResolve (node:internal/modules/esm/resolve:845:10)
    at defaultResolve (node:internal/modules/esm/resolve:1043:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36)
Emitted 'error' event on Worker instance at:
    at [kOnErrorMessage] (node:internal/worker:326:10)
    at [kOnMessage] (node:internal/worker:337:37)
    at MessagePort.<anonymous> (node:internal/worker:232:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28) {
  url: 'file:///home/dle/DevWork/me/cloudkit/node_modules/.pnpm/<EMAIL_ADDRESS>  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v20.9.0
 ELIFECYCLE  Command failed with exit code 1.
}

Node.js v20.9.0
 ELIFECYCLE  Command failed with exit code 1.
 ```

The same error occurred when building with SveltKit using @sveltejs/adapter-cloudflare.
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/study/workspace/cat-faq-bot/node_modules/crypto-js/enc-hex' imported from<EMAIL_ADDRESS>Did you mean to import crypto-js/enc-hex.js?
    at new NodeError (node:internal/errors:405:5)
    at finalizeResolution (node:internal/modules/esm/resolve:324:11)
    at moduleResolve (node:internal/modules/esm/resolve:943:10)
    at defaultResolve (node:internal/modules/esm/resolve:1129:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36)
Emitted 'error' event on Worker instance at:
    at [kOnErrorMessage] (node:internal/worker:300:10)
    at [kOnMessage] (node:internal/worker:311:37)
    at MessagePort.<anonymous> (node:internal/worker:212:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:741:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28) {
  code: 'ERR_MODULE_NOT_FOUND'
}

The "moduleResolution": "bundler", allows the extension to be omitted, but I do not think it is currently possible to omit the extension in all cases. In fact, when building SveltKit @sveltejs/adapter-cloudflare, an error occurred when building it as an ES Module because it did not have a file extension.


Per-file type strategy

Can I set per-file type strategy?
For example strategy=2 for latex files (so the command is inserted), and strategy=0 for text file (so the symbol is inserted).

@raffaem  This should help you out.


does not work, creates mask which is some random shapes with no sense

Has been updated to fix the problem of inaccurate recognition of transparent pixels. In addition, your image must be in png format and contain transparent pixels.


PostgreSQL 12 beta

Beta release is out now: https://www.postgresql.org/about/news/1943/

#586 my Pull requests


skywalking python can not use kafka reporter

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
Python Agent (apache/skywalking-python)
What happened
I do a test by skywalking python kafka 0.8.0,but it can not find the service in skywalking ui and elasticsearch.I use the oap server with version 9.2.0,and many java agent use kafka reporter had already manage trace by it.But the python application can not find, I check the config many times,and I did many test.I had to get help by the officical ,maybe this is a config error by me,but ,I think it is a rarely mistake by me.
What you expected to happen
I want to see the python application in the skywalking ui,
How to reproduce
Dockerfile  is this.
FROM python:3.9
设置下环境变量
ENV SW_AGENT_NAMESPACE v92
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES http://oap-server.address
ENV SW_AGENT_PROTOCOL kafka
ENV SW_KAFKA_REPORTER_BOOTSTRAP_SERVERS "kafka1:port"
ENV SW_AGENT_INSTANCE skywalking-python-test
ENV SW_AGENT_NAME skywalking-python-test
安装下telnet
RUN apt-get update &&
apt-get install -y --no-install-recommends telnet &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*;
安装下依赖
COPY requirements.txt requirements.txt
RUN pip install -r /requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
打印下安装后的包
RUN pip --version
RUN pip list
RUN mkdir /release
COPY / /release/
WORKDIR /release
EXPOSE 8080
CMD ["sw-python","run","python3","app.py"]
app.py
from aiohttp import web
routes = web.RouteTableDef()
@routes.get('/healthCheck')
async def health_check(request):
return web.Response(text="OK")
if name == "main":
app = web.Application()
app.add_routes(routes)
web.run_app(app, host="<IP_ADDRESS>", port=8080)
requirements.txt
apache-skywalking[kafka]
aiohttp==3.7.4
Anything else
the log is as follows
skywalking [MainThread] [WARNING] plugin sw_bottle failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.080541949Z skywalking [MainThread] [WARNING] plugin sw_celery failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.081060151Z skywalking [MainThread] [WARNING] plugin sw_django failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.081177214Z skywalking [MainThread] [WARNING] plugin sw_elasticsearch failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.081522769Z skywalking [MainThread] [WARNING] plugin sw_falcon failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.081794040Z skywalking [MainThread] [WARNING] plugin sw_fastapi failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.081898196Z skywalking [MainThread] [WARNING] plugin sw_flask failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.084788975Z skywalking [MainThread] [WARNING] plugin sw_mysqlclient failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.085171451Z skywalking [MainThread] [WARNING] plugin sw_psycopg failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.085723379Z skywalking [MainThread] [WARNING] plugin sw_psycopg2 failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.085757244Z skywalking [MainThread] [WARNING] plugin sw_pymongo failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.086524734Z skywalking [MainThread] [WARNING] plugin sw_pymysql failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.086535096Z skywalking [MainThread] [WARNING] plugin sw_pyramid failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.086554099Z skywalking [MainThread] [WARNING] plugin sw_rabbitmq failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.086694331Z skywalking [MainThread] [WARNING] plugin sw_redis failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.087051310Z skywalking [MainThread] [WARNING] plugin sw_requests failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.087367258Z skywalking [MainThread] [WARNING] plugin sw_sanic failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.088014390Z skywalking [MainThread] [WARNING] plugin sw_tornado failed to install, please disregard this warning if the corresponding package was not used in your project
2023-01-29T08:57:38.088024525Z skywalking [MainThread] [WARNING] plugin sw_urllib3 failed to install, please disregard this warning if the corresponding package was not used in your project
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Superskyyy Please help me,

English is only accepted on GitHub.
And if you can't find the doc, why do you think it is a feature? Java has many things which other agents don't.

And if you can't find the doc, why do you think it is a feature? Java has many things which other agents don't.
I check the doc and config by the doc.but It can not effect ,so I think I face the bug.I read the doc carefully.https://skywalking.apache.org/docs/skywalking-python/v0.8.0/en/setup/intrusive/


New eloquent model function propose: execute view, stored procedures and functions

For new release of Laravel, is viable to have some Eloquent functions in Model class that facilitates the use of views, stored procedures and functions in database?
For example:

view();
procedure();
function();

please use https://github.com/laravel/internals to discuss new proposals.

@Browner12 thanks, didn't know about that


Change ttypescript to ts-patch

Seems ttypescript is deprecated.

I think this is a great project!  ttypescript doesn't support TS5.
I'm happy to submit a PR to get the project freshened up for the latest toolchains, updated documentation.
Regarding supporting ts-patch, If someone with more familiarity with ts-patch could give me a rough overview of what changes would be needed, that would help me get started.

I think this is a great project! ttypescript doesn't support TS5.
I'm happy to submit a PR to get the project freshened up for the latest toolchains, updated documentation.
Regarding supporting ts-patch, If someone with more familiarity with ts-patch could give me a rough overview of what changes would be needed, that would help me get started.

Would appreciate anything you do on this. :)


Display what command is done

impossible when simply called on the same command line afterwards.
we’d have to change the call to work like watch, xargs or find -exec, i.e. brb needs to actually run it. the way to do it would be

determine currently run shell binary ($SHELL)
launch $SHELL -e 'stuff'
show notification based on exit code and command run

Couldn't you use the history to access the last command?

the history is 1. shell-specific and 2. the same command line as the brb call will contain the last command. depending on the shell this will only end up in the history once brb finished executing

Oh I see, that makes sense!

This is actually not closed by the PR #3


Getting issue in Catkin build

Greetings all,
Me trying out tessarct_docs for using path_planning for robot the tessarct_ws. in ros noetic
I have followed all the steps in the documentation like create a workspace, git clone all the packages, when i run this commmand
rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic
#issue
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]
and after runing this catkin build
#issue
This warning is for project developers.  Use -Wno-dev to suppress it.
Building rendering module
CMake Error at /home/kaayatech/tesseract_ws/src/tesseract_qt/rendering/CMakeLists.txt:10 (find_package):
By not providing "Findgz-rendering7.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"gz-rendering7", but CMake did not find one.
Could not find a package configuration file provided by "gz-rendering7"
with any of the following names:
gz-rendering7Config.cmake
gz-rendering7-config.cmake

Add the installation prefix of "gz-rendering7" to CMAKE_PREFIX_PATH or set
"gz-rendering7_DIR" to a directory containing one of the above files.  If
"gz-rendering7" provides a separate development package or SDK, be sure it
has been installed.
cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si  /usr/bin/cmake /home/kaayatech/tesseract_ws/src/tesseract_qt --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/home/kaayatech/tesseract_ws/devel; cd -
..................................................................................................................................................................................................................
Failed     << tesseract_qt:cmake                              [ Exited with code 1 ]
Please help me out in this to reslove.

sudo apt install libgz-rendering7-dev

sudo apt install libgz-rendering7-dev
#issues
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgz-rendering7-dev
Please help me out in this to reslove.

Need to run this script to add the gazebo PPA.

After running this $ sudo apt install libgz-rendering7-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgz-rendering7-dev is already the newest version (7.4.1-1~focal).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]
Still getting same error so any other apporach to reslove

Already installed this pacakges
Predator:~/tesseract_ws$ sudo apt install libgz-math7-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgz-math7-dev is already the newest version (7.3.0-1~focal).
The following packages were automatically installed and are no longer required:
linux-headers-5.15.0-79-generic linux-hwe-5.15-headers-5.15.0-79 linux-image-5.15.0-79-generic linux-modules-5.15.0-79-generic linux-modules-extra-5.15.0-79-generic linux-modules-nvidia-525-5.15.0-79-generic
linux-objects-nvidia-525-5.15.0-79-generic linux-signatures-nvidia-5.15.0-79-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Predator:~/tesseract_ws$ rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]
Still getting same error, I tried to delete all the package and build it again and stll same issue

rosdep install -y -r --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

Now try building

i ran catkin build
Building rendering module
CMake Error at /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "Findgz-common5-profiler.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"gz-common5-profiler", but CMake did not find one.
Could not find a package configuration file provided by
"gz-common5-profiler" (requested version 5.4.1) with any of the following
names:
gz-common5-profilerConfig.cmake
gz-common5-profiler-config.cmake

Add the installation prefix of "gz-common5-profiler" to CMAKE_PREFIX_PATH
or set "gz-common5-profiler_DIR" to a directory containing one of the above
files.  If "gz-common5-profiler" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/gz-common5/gz-common5-config.cmake:203 (find_dependency)
rendering/CMakeLists.txt:11 (find_package)
cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si  /usr/bin/cmake /home/kaayatech/tesseract_ws/src/tesseract_qt --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/home/kaayatech/tesseract_ws/devel; cd -
..................................................................................................................................................................................................................
Failed     << tesseract_qt:cmake                              [ Exited with code 1 ]
Failed    <<< tesseract_qt
getting issue gz-commmon5-proflerConfig.cmake its not finding that package gz-math

With the examples for gz-rendering7 and gz-math7 above I would expect you to be able to find out by yourself how to install gz-common5-profiler...

Pls can share command for install

A hint: apt search gz-common5-profiler

I got that command, know getting some other issue in tessaract_qt pkg
Errors     << tesseract_qt:install /home/kaayatech/tesseract_ws/logs/tesseract_qt/build.install.001.log
CMake Error at cmake_install.cmake:75 (file):
file INSTALL cannot find
"/home/kaayatech/tesseract_ws/src/tesseract_qt/tesseract_qt-extras.cmake":
No such file or directory.
make: *** [Makefile:86: install] Error 1
cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si  /usr/bin/make install; cd -
..................................................................................................................................................................................................................
Failed     << tesseract_qt:install                            [ Exited with code 2 ]
Failed    <<< tesseract_qt                                    [ 16.5 seconds ]
Abandoned <<< tesseract_qt_ros                                [ Unrelated job failed ]
Abandoned <<< tesseract_ros_examples                          [ Unrelated job failed ]
Abandoned <<< tesseract_rviz                                  [ Unrelated job failed ]

Help me out in this

That is a known issue, for which I submitted a PR: tesseract-robotics/tesseract_qt#71

FYI, you can now build this package without the studio plugin and gazebo rendering capability via the cmake options -DBUILD_RENDERING=OFF -DBUILD_STUDIO=OFF. This way you don't need to install the gz libraries and the Qt ADS repo

thank you..got it


How to build a simple BlendShapes-52 Demo through C++Desktop？

First, I express my gratitude for the dedication and hard work of all developers!
During my self-study time in Mediapipe, I have been familiar with the most of examples from "mediapipe/examples/desktop"
Ex: Object_detection、Face_mesh、Holistic_racking...etc.
I also notice that BlendShapes-52 classification is supported by this new Meidapipe version. May I ask how to build a simple BlendShapes-52 Demo through C++Desktop instead of Python or JavaScript?
Could I adopt Face_mesh example as a base framework, then that add "mediapipe/tasks/cc/vision/face_landmarker" related source graph? If someone could provide an practical step, I would be very grateful.
Thanks to all the enthusiastic project developers!

@john6402,
We are marking this as feature and sharing the issue internally. Based on discussion team will prioritise the work. However, For now, we can not provide any timeline to be available. Thank you!

@kuaashish,
Thank you for your reply! Though my issue isn't fully resolved, your information was valuable. I appreciate your time and support!


Running at a specific time weekly calls job twice.

We ran into a minor bug when scheduling schedule.every().sunday.at("6:00").do(myfunc) -- myfunc is called twice because next run is not updated correctly.
This is clearly difficult to give a test case for unless it happens to be near the time the schedule is set to run for, so we used freezegun to mock datetime.datetime.now to increment time in a meaningful way:
import schedule

from freezegun import freeze_time
from unittest.mock import MagicMock
from datetime import datetime, timedelta

def test_schedule_weekly():
    mockTask = MagicMock()
    m = lambda: mockTask(datetime.now())

    start = datetime(2017, 1, 1, 0, 0)
    until = datetime(2018, 1, 1, 0, 0)
    with freeze_time(start) as fzdt:

        scheduler = schedule.Scheduler()
        scheduler.every().sunday.at("6:00").do(m)

        while datetime.now() < until:
            fzdt.tick(delta=timedelta(minutes=15))
            scheduler.run_pending()
            import pdb; pdb.set_trace()

    assert mockTask.call_count == 52 # assert failure 106 != 52

This issue could, of course, be due to freezegun, but we should say that updating our code to scheduler.every().sunday.do(m) passed the tests.  We think it's something to do with at and _schedule_next_run, which is a bit complicated (RE #116).
We traced out the scheduler.jobs after each call to run_pending and found that next run was not updated correctly when the job was run at its given time, but then was updated when the job ran after its scheduled time, here's the trace:
At Sunday, January 1, 2017, 5:45am:
>>> scheduler.jobs
[Every 1 week at 06:00:00 do <lambda>() (last run: [never], next run: 2017-01-01 06:00:00)]

At Sunday, January 1, 2017, 6:00am:
>>> scheduler.jobs
[Every 1 week at 06:00:00 do <lambda>() (last run: 2017-01-01 06:00:00, next run: 2017-01-01 06:00:00)]

And at Sunday, January 1, 2017, 6:15am:
>>> scheduler.jobs
[Every 1 week at 06:00:00 do <lambda>() (last run: 2017-01-01 06:15:00, next run: 2017-01-08 06:00:00)]

We're happy to submit a PR - but it would be useful if someone could point us in the right direction!

Thanks for the detailed report @bbengfort, really appreciate it. Unfortunately I don't have the bandwidth right now to further investigate, but if you (or anybody else interested) wants to submit a PR with a fix + a test case to prevent regressions I can make time to review it and prepare a new release.

Btw I'm assuming this is on 0.5.0, is that correct?

@dbader I completely understand about bandwidth; we've switched to every().sunday.do which is working for us, but I think we'll need at eventually. It may not be soon with the holiday season and all, but I'll do my best to take a look at the code and submit a PR.
And yes, it happens on 0.5.0; we observed it on both 0.5.0 and 0.4.3.

Sounds good, and again, thanks for the detailed report :-)


Write test suite for frontend

@pierreTklein how extensive do we want this to be?

I would love to have these:

Test suite to verify that everything compiles when rendered
We are able to test redirects / page permissions
Nice to have:
Stub the API endpoints, and test:

failure cases of an API call, we do not crash
Success cases do the right thing as well

After reading more on this... I think we have to refactor our components to simplify them and make them more testable.


Jonathan made a few changes in the RapidWright instructions in the Makefile

With the few lines he changed, BFASST now works for him. Take a look when you have the chance. Thanks!

Fixed by #56 and #59


Can I use Chinese text？

Can I use Chinese text？

@LIMr1209 sure! planning on supporting huggingface tokenizers, which should be able to do Chinese!

@lucidrains Well, thank you

@LIMr1209 do you want to give https://github.com/lucidrains/DALLE-pytorch#custom-tokenizer a try?

The text data I prepared is like this

First vae, then dalle, right?

@LIMr1209 ohh, you need to tokenize your text first (create a chinese vocabulary)

oh, actually, it seems there's already a pretrained one BertTokenizer.from_pretrained('bert-base-chinese') - I'll see what I can do tomorrow

How can I find it bpe.json

@LIMr1209 it's ok, i'll take care of it by wiring up one that is already trained, and you can just pass in a flag like --use-chinese

Okay, thank you. Wait for you tomorrow

@LIMr1209 let me know if this works for you! https://github.com/lucidrains/DALLE-pytorch/tree/0.10.2#chinese

@lucidrains bug

Latest code

@LIMr1209 https://github.com/lucidrains/DALLE-pytorch/commit/c47431c607763812c6b523054454001fdfeaef2c