Cache doesn't invalidate when using insert method

Cache  Invalidate Failed
When using insert method for multiple records the cache doesn't invalidate.
The records successfully created, but not the cache.
I'm curious is there a way to clean up the cache from the controller side, not from the command line?
since the cache doesn't invalidate well..
Thanks
Environment
Laravel Version: 5.6.5
Laravel Model Caching Package Version: 0.2.35
PHP Version: 7.2.0-1
Homestead Version: x.y
Operating System & Version: Ubuntu16.04.1
Stack Trace
        $input = [
    [
        "product_id" => 2,
    "user_id" => 51,
    "quantity" => 1,
    "information" => [
        "color" => [
        "id" => 1,
        "name" => "White",
      ],
      "size" => [
        "id" => 1,
        "name" => "S (Small)"
      ],
    ],
    "branch" => "jakarta"
  ],
  [
        "product_id" => 4,
    "user_id" => 51,
    "quantity" => 1,
    "information" => [
        "color" => [
        "id" => 2,
        "name" => "Black",
      ],
      "size" => [
        "id" => 1,
        "name" => "S (Small)",
      ]
    ],
    "branch" => "jakarta"
  ]
];
return $this->cart->insert($input);

@hendra1 thanks for reporting this. Could you test again using the latest version of this package: 0.2.40? Thanks!

Yes I did.. and the result is still same.

Thanks, I will try to replicate it.

Hi @hendra1,
Regarding your question about having a way to invalidate in the controller: that is not planned. The package should invalidate.
I am unable to recreate the problem with the following test:
    public function testModelCacheDoesInvalidateWhenNoCooldownPeriod()
    {
        $authors = (new Author)
            ->get();

        factory(Author::class, 1)->create();
        $authorsAfterCreate = (new Author)
            ->get();
        $uncachedAuthors = (new UncachedAuthor)
            ->get();

        $this->assertCount(10, $authors);
        $this->assertCount(11, $authorsAfterCreate);
        $this->assertCount(11, $uncachedAuthors);
    }

The test passes. Could you provide the queries you are running, specifically the initial query, the insert query, and the third query that is not getting the updated values?
Thanks!

I found an issue, it has to do with insert. This test exposes it:
    public function testInsertInvalidatesCache()
    {
        $authors = (new Author)
            ->get();

        $newAuthor = (new Author)
            ->insert([
                'name' => 'Test Insert',
                'email' =><EMAIL_ADDRESS>            ]);
        $authorsAfterInsert = (new Author)
            ->get();
        $uncachedAuthors = (new UncachedAuthor)
            ->get();

        $this->assertCount(10, $authors);
        $this->assertCount(11, $authorsAfterInsert);
        $this->assertCount(11, $uncachedAuthors);
    }

I will work on fixing this ASAP!

@hendra1 this should now be fixed in 0.2.41. Thank you so much for reporting this! The insert and update methods hadn't been accounted for yet.

Hi Mike
Thanks for the update.. now it's work  :)

Awesome! That's great to hear. :) please let me know if you run into any other issues .

I'm using
    DB::insert();
to insert hundreds of records (this provide faster insert than MODEL::insert, any chance I can invalidate the cache?

Hi @mrahmadt, could you open a new issue for this? Thanks!


[Fix Diagnose] Remove netpath EP config

What does this PR do?
Removes the EP definition for the Network Path track type. While the path is enabled and working in staging, it's not currently set up in production.
While the unit tests are running fine, an e2e test that runs agent diagnose tests the connectivity of the production endpoint and is failing builds.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Describe the MinBZK git policy

How MinBZK uses Git.
What guidelines should MinBZK projects, departments, and employees using Git(Hub) follow to the best of their ability?

And how do these guidelines apply to MinBZK organisations like Logius? What platform is used, github/gitlab/gitsomething? How do we publish documentation (ReSpec?) How do we handle issues/change requests? Should there be a single procedure for issue handling?

Shouldn't the OSPO itself use Free and Open Source Software? The OSPO uses now GitHub. GitHub is closed source proprietary software. GitLab Enterprise Edition is Open Source Software, and the Gitlab Community Edition is Free Software. For more details see: https://gitlab.com/gitlab-org/gitlab#canonical-source.

And how do these guidelines apply to MinBZK organisations like Logius? What platform is used, github/gitlab/gitsomething? How do we publish documentation (ReSpec?) How do we handle issues/change requests? Should there be a single procedure for issue handling?

MinBZK will start an Open Source Program Office in the near future. Part of its task is to identify issues like these and provide answers to them.

Shouldn't the OSPO itself use Free and Open Source Software? The OSPO uses now GitHub. GitHub is closed source proprietary software. GitLab Enterprise Edition is Open Source Software, and the Gitlab Community Edition is Free Software. For more details see: https://gitlab.com/gitlab-org/gitlab#canonical-source.

That's a fair and important question and it is certainly on the to do list for the OSPO. In the meanwhile we will work with this Github presence.


macos(M1X) + yasd + hyperf debug报错

Please answer these questions before submitting your issue.

What did you do? If possible, provide a simple script for reproducing the error.

php -e ./bin/hyperf.php start
phpstorm 开启debug监听
请求任何一个链接就崩溃

What did you expect to see?

期望正常运行

What did you see instead?

[yasd] recv command error, connection closed  #开了监听也是debug不了的
[yasd] recv command error, Connection reset by peer
[2022-05-28 11:31:12 $89777.0]  WARNING Server::check_worker_exit_status(): worker(pid=89778, id=0) abnormal exit, status=0, signal=11
A bug occurred in Swoole-v4.8.1, please report it.
The Swoole developers probably don't know about it,
and unless you report it, chances are it won't be fixed.
You can read How to report a bug doc before submitting any bug reports:
>> https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md
Please do not send bug reports in the mailing list or personal letters.
The issue page is also suitable to submit feature requests.

OS: Darwin 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
GCC_VERSION: Apple LLVM 13.0.0 (clang-13<IP_ADDRESS>)
OPENSSL_VERSION: OpenSSL 3.0.0 7 sep 2021
PHP_VERSION : 7.4.25

What version of Yasd are you using (show your php --ri yasd)?

 php --ri yasd

yasd

Yasd => enabled
Author => codinghuang<EMAIL_ADDRESS>Version => 0.3.9-alpha
Built => Jun 13 2022 16:25:33

Directive => Local Value => Master Value
yasd.breakpoints_file => no value => no value
yasd.debug_mode => remote => remote
yasd.remote_host => <IP_ADDRESS> => <IP_ADDRESS>
yasd.remote_port => 9001 => 9001
yasd.depth => 1 => 1
yasd.log_level => -1 => -1
yasd.max_executed_opline_num => 0 => 0
yasd.init_file => no value => no value
yasd.open_extended_info => 0 => 0
xdebug.coverage_enable => 1 => 1
xdebug.profiler_enable => 1 => 1
xdebug.remote_autostart => 1 => 1
xdebug.remote_connect_back => 0 => 0
xdebug.remote_mode => req => req
xdebug.idekey => hantaohuang => hantaohuang

php --ri swoole

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.8.9
Built => Jun 13 2022 16:21:32
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 3.0.0 7 sep 2021
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

What is your machine environment used (show your uname -a & php -v & gcc -v) ?

❯ uname -a
Darwin MacBook-Pro.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
❯ php -v
PHP 7.4.25 (cli) (built: Nov  5 2021 12:57:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies
    with Yasd v0.3.9-alpha, Our Copyright, by codinghuang
❯ gcc -v

Apple clang version 13.1.6 (clang-13<IP_ADDRESS>.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
❯

会不会是不是m1导致的?

swoole 4.8.9 也不行
yasd  0.3.9 也不行

可以考虑使用 swoole-src的 xdebug分支，https://github.com/swoole/swoole-src/tree/support-xdebug
可以直接使用xdebug进行调试，前提是PHP版本要大于等于8.1

可以考虑使用 swoole-src的 xdebug分支，https://github.com/swoole/swoole-src/tree/support-xdebug 可以直接使用xdebug进行调试，前提是PHP版本要大于等于8.1

没有这个分支......

可以考虑使用 swoole-src的 xdebug分支，https://github.com/swoole/swoole-src/tree/support-xdebug 可以直接使用xdebug进行调试，前提是PHP版本要大于等于8.1

没有这个分支......

已经合并到了master分支


Pass existing security_endpoints when setting endpoint_type

Fix https://github.com/wso2/api-manager/issues/1056
Pass endpoint_security from initial state when updating endpoint_type.

The failed test case (Login to the carbon using incorrect user credentials) is unrelated to this fix. Hence merging the PR.


some question about json file

Hello:
In your test ipynb file [see https://github.com/ma-compbio/Higashi/blob/main/tutorials/4DN_sci-Hi-C_Kim et al.ipynb], i have some question.
1, What is the label_info.pickle. I have data.txt but i don't know how to make the pickle file.
2, In the json,what is the data in the data_dir and temp_dir.
Thank you for your reply.

Hey, thanks for your interest.

For label_info.pickle, see wiki page for more details: https://github.com/ma-compbio/Higashi/wiki/Input-Files
within data_dir, there should be the data.txt and label_info.pickle. For temp_dir, Higashi would automatically creat some files like embeddings, imputations, etc. See more info here: https://github.com/ma-compbio/Higashi/wiki/Configure-the-parameters


Your project does not own Dynamic Links domain

Your project does not own Dynamic Links domain while creating short link, i have posted the issue on stackoverflow link to question but didnt get any thing
How to solve it.
on AppDelegate
let customURLScheme = "https://x1abc.app.goo.gl"
FirebaseOptions.defaultOptions()?.deepLinkURLScheme = self.customURLScheme

config settings:-
`case link = "app_code.app.goo.gl"
case source = "ios"
case medium = "referral"
case campaign = "invite"
case term = "Term"
case content = "Content"
case bundleID = "my bundel id"
case fallbackURL = "fallback URL"
case minimumAppVersion = "2.19"
case customScheme = "dlscheme"
case appStoreID = "1234567"
case affiliateToken = "Affiliate Token"
case campaignToken = "Campaign Token"
case providerToken = "Provider Token"
case packageName = "Package Name"
case androidFallbackURL = "fall back url 2"
case minimumVersion = "49"
case title = "my app name"
case descriptionText = "custom text"
case imageURL = "Image URL"
case otherFallbackURL = "www.demo.com"`

The app id is mismatch thats why i getting the error.

I'm having the same error. The Error itself suggests this link for further information. I'm working to fix it ATM and will post any solution that I may find


Onboard opensearch-system-templates plugin for opensearch build

Description
Onboard opensearch-system-templates plugin for opensearch build
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
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.

Please fix the yaml lint issues. Thanks!


Mask final consensus positions

At the end of the pipeline when mapping to viridian output, need to mask positions where >50% of reads disagree with the consensus sequence (can happen in rare cases when viridian has an error).

I've pushed a hacky pass at this: positions that appear in the first max primer_length bases from the 5' ends of reads don't contribute to the consensus disagreement count


Not populated metrics for indexer service,  version 0.20.4

Some metrics are missing from indexer service (not populated) such as indexer_service_queries_ok  or indexer_service_queries_total
Version:
graphval@node023:~/indexer/packages/indexer-cli/bin$ graph-indexer-service --version
0.20.4
However, I'm not sure if MIP send queries excactly to my indexer.

the issue is solved when queries started to arrive to index-service


Evaluation code refactoring

closes #41
closes #40

Changed evaluation code to /tests/ folder as discussed in #45
Cleaned up useless code as much as possible and extracted evaluation code from source code
Current status of evaluation code:

running tests_selector_eval in target project repo removes n number of lines from a random target project source code file. Then it calculates line-level, file-level test suites and compares pytest exitcodes (saves them to "results.db")
I guess plans on how to use this with testing are more clear in the future

Also just noticed that evaluation code doesn't work with python 3.6.6 and working on fixing this


Add support for DHKEM(secp256k1, HKDF-SHA256) experimentally.

Closes #108

Codecov Report

Merging #120 (c46d812) into main (2086349) will decrease coverage by 1.09%.
The diff coverage is 80.74%.

@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   96.66%   95.56%   -1.10%
==========================================
  Files          19       20       +1
  Lines        2187     2346     +159
  Branches      194      201       +7
==========================================
+ Hits         2114     2242     +128
- Misses         73      104      +31

Flag
Coverage Δ

unittests
95.56% <80.74%> (-1.10%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/kems/dhkemPrimitives/secp256k1.ts
73.04% <73.04%> (ø)

src/cipherSuite.ts
99.51% <100.00%> (+<0.01%)
:arrow_up:

src/identifiers.ts
100.00% <100.00%> (ø)

src/kems/dhkem.ts
100.00% <100.00%> (ø)

src/utils/misc.ts
97.61% <100.00%> (+0.69%)
:arrow_up:

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


twister: Fix error for --device-testing with not runnable integration

An urforseen error was introduce with #62713. When "--device-testing" or "--filter runnable" is used in CLI, twister will skip tests which cannot be executed (not just built) on a given platform. If a given platform is among integration platforms it will cause an error. However, it shouldn't be the case. Such skip is intentional and shouldn't be an error. Fixed by assigning an existing Filter.CMD_LINE, which is exempted from being turned to error.

I added a high priority for this since it can cause multiple false positives for on-target testing
It can be reproduced with (no platform needed)
scripts/twister -T samples/bluetooth/iso_broadcast_benchmark/ -p nrf52840dk_nrf52840 -v --device-testing --device-serial /dev/ttyACM0 The given test has explicit "build_only: true" but it also affects all other not runnable cases, like "harness: bluetooth" etc.


Improved iPhone UI and improved test management and context

Hello, I humbly bring to you a few improvements to the original design of your nice framework. It's a big pull to do, there are a lot of changes, some changes also make the older tests incompatible sadly, especially tests that involve SpecHelper. I also could only test the framework on the iPhone I'm not sure about the result on Mac, the project under Xcode 3.2.5 doesn't like being setup for different SDKs...

State reporting: each groups provide the number of sub tests they have, including the number of tests in their subgroups.

CDRSpec: the currentSpec global is deleted. The functions describe, beforeEach, afterEach, it and itShouldBehaveLike  are replaced with @protected ivar in CDRSpec and CDRSharedExampleGroupPool, these ivars are filled in as needed in the class -init. This allows writing specs ran on multiple threads since they will use their own current example object.

CDRSharedExampleGroupPool: when the application is first ran, pool classes are registered in CDRSharedExampleGroupPool for all the groups they provide in their specifications. When a CDRSpec runs a itShouldBehaveLike test, a new instance of the CDRSharedExampleGroupPool subclass that defines the group is created and the spec running the test is provided to the group. The CDRSpec that runs the test acts like a local variable to the shared pool tests providing the same features as tests inside CDRSpec class. A new instance of a CDRSharedExampleGroupPool subclass is created for every itShouldBehaveLike function calls.

SpecHelper: this is another global I got rid of, instead of writing a global object that is hacked into examples as their parent, the shared example context is provided by the CDRSpec which allocate and delete it before and after each executions, just like what SpecHelper was doing. Also, when a CDRSharedExampleGroupPool, it provides, with the same mechanism as CDRSpec, the executing CDRSpec's context. So now instead of using [[SpecHelper specHelper] sharedExampleContext], you simply use [self sharedExampleContext]. As a result, the NSDictionary parameter of sharedExamplesGroupFor block was removed.

CDRExampleBase: the only parent an example can have now is a CDRExampleGroup, execution works the same way. Reporting at that level is also more precise, properties return the number of tests for each states.

CDRExampleGroup: the isRoot parameter is removed, a group is the root group when its parent is nil.

CDRFunctions: CDRSpec and CDRSharedExampleGroupPool are removed, classes are selected when they are subclasses of CDRSpec and CDRSharedExampleGroupPool, instead of using an empty protocol.

iPhone specific improvements:

CDRExampleReporterViewController: the class is deleted and all its code is now handled in the app delegate instead, it respects MVC.

CDRSpecStatusCell: instances do not observe or own example objects anymore, they are managed by their controller and their state is set by the controller itself. This cell class is only used for cells representing an group example that has children. An indicator bar is added to represent the percentage of subtests for each states. Dark red for errors, red for failures, yellow for pending examples, green for successes, white for incomplete examples. The detail label now indicates the number of tests for each states and the total number of children.

CDRSpecStatusIndicator: class added to draw the state percentage bar of CDRSpecStatusCell.

CDRSpecStatusBubble: class added to represent the state of a CDRExample or a CDRExampleGroup without children. The bullet is added as an accessory view to a subtitle UITableViewCell, this replaces the background color as an indicator of the state.

CDRSpecStatusViewController: instances now observe the state changes of their child examples and update the UI accordingly. When a new instance is pushed on the navigation controller, its title is set to the group's text letting you know exactly where you are coming from.

I've spent time on several occasions trying to pull in elements of these changes.  There are valuable additions here; some of them have made their way into the code in separate commits, others have not.  Replacing C functions with ivars, for instance, definitely seems cleaner, but ends up causing name lookup issues or compiler warnings in some instances.
I'm going to keep this changeset around, and refer back to it as we pull more changes in piecemeal, but the size of the changeset and the extent of the whitespace and style changes make it basically impossible to diff and merge directly.


Multiple markers results in sluggish performance

Hi,
If I had multiple markers (100+) I experience sluggish performance.
Any workaround or fix for this?

I have been developing MarkerCluster to solve this problem, but not finished yet.https://github.com/wf9a5m75/phonegap-googlemaps-plugin#do-you-want-to-use-marker-cluster

Once the markers are drawn the performance seems fine.
Would it be possible to a create a bulk add marker feature might speed up the process rather than loop calls going over the cordova js bridge?

I'd have to disagree with that. Performance is awful with lots of markers
zooming becomes jaggy, panning/tilting about the map is insanely slow.
I believe clustering the markers is the only solution.
On 26 Feb 2015 04:36, "deliriousrhino"<EMAIL_ADDRESS>wrote:

Once the markers are drawn the performance seems fine.
Would it be possible to a create a bulk add marker feature might speed up
the process rather than loop calls going over the cordova js bridge?
—
Reply to this email directly or view it on GitHub
https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/402#issuecomment-76121136
.

Would depend on your device. Clustering would be a valuable feature. I also think bulk add could help in some situations even for smaller numbers it could increase performance

I was testing on a nexus 7 tablet and a Samsung s5.
On 26 Feb 2015 04:55, "deliriousrhino"<EMAIL_ADDRESS>wrote:

Would depend on your device. Clustering would be a valuable feature. I
also think bulk add could help in some situations even for smaller numbers
it could increase performance
—
Reply to this email directly or view it on GitHub
https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/402#issuecomment-76122420
.


Milestone 1 Feedback

Hi Group 26,
This is a very interesting data set choice! I really applaud your aspirations for making a dashboard that would help employers and employees improve working conditions for tech workers.

I am having some trouble aligning your dashboard with your scenario and data. The data set is not very big so I’m wondering if all of your data is from one year. In which case you don’t need the year selection. I do not see where the year selection ties into the plots you have proposed.
I am also not sure you can generalize your data to a proportion of population, and using counts might be a better choice. Also, do you have more data points in different countries than others, certain countries definitely have bigger tech industries than others. So I am not sure if a user could make conclusions on which country has the best working conditions based on this data. The more I think about your data the more I question what can be done with it without knowing more about how the data was collected, by who, and why.
I am not sure you can answer most of your research questions with your data and dashboard. Come talk with me to brainstorm a re-frame of your approach.

Hello Analise, thank you for the feedback! I was wondering are we allowed to rephrase our proposal so that they fit what we want to present in our dashboard? Will this get marked for milestone 2? Or is milestone 2 just based on the interactivity of our App as well as deployment onto heroku.
Thanks
Jason

Hello Analise, thank you for the feedback! I was wondering are we allowed to rephrase our proposal so that they fit what we want to present in our dashboard? Will this get marked for milestone 2? Or is milestone 2 just based on the interactivity of our App as well as deployment onto heroku.
Thanks
Jason

Milestone 2 does not need you to change anything based on my comments as
far as I know. You are correct, focus on deployment and functionality for
this stage. As a dash board, I think your design has the required elements
and complexity. I'm just waiting to get confirmation from Joel on if
marking M2 is heavily weighted on the context in your proposal and what
needs to be done now vs later.
I think the proposal can be updated in the final reflection. I do think it
would be best to discuss your data and use case in person if we can.
Do you think my comments/suggestions/questions are reasonable to you? Do
you need some clarification? Are there some where I am way off, and that
you can clarify and justify your approach based on your understanding of
the data?
On Thu, Jan 21, 2021, 11:29 PM jachang0628<EMAIL_ADDRESS>wrote:

Hello Analise, thank you for the feedback! I was wondering are we allowed
to rephrase our proposal so that they fit what we want to present in our
dashboard? Will this get marked for milestone 2? Or is milestone 2 just
based on the interactivity of our App as well as deployment onto heroku.
Thanks
Jason
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/UBC-MDS/DSCI_532_group26/issues/14#issuecomment-765196877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQYPGENH3MQABYOMEKPKTDS3ESMVANCNFSM4WN4CWTA
.

Milestone 2 does not need you to change anything based on my comments as
far as I know. You are correct, focus on deployment and functionality for
this stage. As a dash board, I think your design has the required elements
and complexity. I'm just waiting to get confirmation from Joel on if
marking M2 is heavily weighted on the context in your proposal and what
needs to be done now vs later.
I think the proposal can be updated in the final reflection. I do think it
would be best to discuss your data and use case in person if we can.
Do you think my comments/suggestions/questions are reasonable to you? Do
you need some clarification? Are there some where I am way off, and that
you can clarify and justify your approach based on your understanding of
the data?
On Thu, Jan 21, 2021, 11:29 PM jachang0628<EMAIL_ADDRESS>wrote:

Hello Analise, thank you for the feedback! I was wondering are we allowed
to rephrase our proposal so that they fit what we want to present in our
dashboard? Will this get marked for milestone 2? Or is milestone 2 just
based on the interactivity of our App as well as deployment onto heroku.
Thanks
Jason
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/UBC-MDS/DSCI_532_group26/issues/14#issuecomment-765196877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQYPGENH3MQABYOMEKPKTDS3ESMVANCNFSM4WN4CWTA
.

Hello Analise @ahofmann4 Thx for your feedback!!!

For the first point, the reason why we add the year filter is to provide users a more friendly interface and even the dataset is not large. With more details, it is not filtered by only YEAR, it provides u a calendar to let users select the date. When u select a certain date range, the 4 bar charts of the dashboard can automatically only show you the corresponding data within that date range u set. U can have a try using https://mental-health-dashboard-ubc.herokuapp.com/.

For the 2nd point, we finally have chosen to use a proportion of the population to represent Y-axis instead of the count, since the proportion is more straightforward for users to have a sense of the distribution. We achieved this by manipulating the pandas dataframe and calculated the proportion before plotting.

For the last point, we might revise the proposal a bit to fit and revise the plotting a bit, as u know, it can't be perfect when making the draft of the proposal and the sketch of the dashboard in the 1st week. Our team has some idea to interpret the relationship between mental health and gender/location. We may put them under "Future improvements and additions for the dashboard" under reflection markdown file. And we will try to revise it later:)

Hello Analise @ahofmann4 Thx for your feedback!!!

For the first point, the reason why we add the year filter is to provide users a more friendly interface and even the dataset is not large. With more details, it is not filtered by only YEAR, it provides u a calendar to let users select the date. When u select a certain date range, the 4 bar charts of the dashboard can automatically only show you the corresponding data within that date range u set. U can have a try using https://mental-health-dashboard-ubc.herokuapp.com/.

For the 2nd point, we finally have chosen to use a proportion of the population to represent Y-axis instead of the count, since the proportion is more straightforward for users to have a sense of the distribution. We achieved this by manipulating the pandas dataframe and calculated the proportion before plotting.

For the last point, we might revise the proposal a bit to fit and revise the plotting a bit, as u know, it can't be perfect when making the draft of the proposal and the sketch of the dashboard in the 1st week. Our team has some idea to interpret the relationship between mental health and gender/location. We may put them under "Future improvements and additions for the dashboard" under reflection markdown file. And we will try to revise it later:)


New version with new compat

Shouldn't we tag the versions first? And we should also not use >= anymore ;)

Good point, I'm just putting this there in advance because I had a couple minutes.  Won't merge it until we tag.


Adding CMAKE api to trigger hipify

@micmelesse,
Please review this PR, especially regarding the CONFIG_FILE parameter to hipify interface.

LGTM. @pruthvistony Has this api been tested or integrated by any of our projects yet.

@micmelesse, except the changes related to CONFIG_FILE parameter it is tested on tensorpipe codebase.


Auto density on mobile?

Hi, I'm not sure where to find the auto  setting for density on mobile introduced in version 1.1.0 as described here https://github.com/VincentGarreau/particles.js/issues/30#issuecomment-74485635
Is it still there?

@andrea-ligios Were you able to be responsive? I can not leave it at full height. =/
stay at the top! =S

Yes, I was.
You need to play with the position attribute (and eventually z-index if needed).
Cheers


Issues with dds format

Hello @h3r2tic and thanks for your great work!
Unfortunately I had issues trying to open the .dds LUT in Unity 2022,  therefore I tried converting it, without luck.

Compressonator crashes when I load the file
Nvidia Texture Tools also fails, but is more verbose about it:

I also tried using the ktx2 file provided in #2, but both software mentioned above had issues opening that file as well.
Even an up-to-date Unity ktx importer failed.
Do the above ring a bell ?
Suggestion: A raw data dump of the LUT's contents would be useful, and trivial to directly load into an HLSL Texture3D object. I assume it's a W x H x D array of 32-bit floats ?
Thanks for your time!

Ouch! That's painful xD
The DDS is rgb9e5, and maybe that's the problem for those loaders... You could try https://github.com/h3r2tic/tony-mc-mapface/blob/main/OCIO/lut-converter/tony_mc_mapface_f32.dds which is f32 :)

I can confirm Godot 4.0.rc3 can't open the DDS provided.
Unrecognized or unsupported color layout in DDS 'res://tony_mc_mapface.dds'.
Failed loading resource: res://tony_mc_mapface.dds. Make sure resources have been imported by opening the project in the editor at least once.
editor/editor_node.cpp:1208 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN

Suggestion: A raw data dump of the LUT's contents would be useful, and trivial to directly load into an HLSL Texture3D object. I assume it's a W x H x D array of 32-bit floats ?

Could an Radiance HDR or OpenEXR image also be created in 2D format (with vertical or horizontal slices)? This would be the easiest to import in Godot as a 3D texture.

Does Godot choke on both the rgb9e5 and the rgba32f DDS files?

Does Godot choke on both the rgb9e5 and the rgba32f DDS files?

Yes, it can't open RGBA32F either. The DDS loader code is here: https://github.com/godotengine/godot/blob/19c9fd6926b958016d562e3b2e93b0e9480300f5/modules/dds/texture_loader_dds.cpp

Thanks for confirming! FWIW I exported the DDS using RenderDoc :) Will check whether it can output an unrolled 2D image instead.

Perhaps this works?
hdr_exr.zip
No guarantees about the precision of those; I used RenderDoc for the conversion. Please check against some of the images in the README for whether there's no banding, and if the black levels look the same

Perhaps this works?

Both import successfully in Godot :slightly_smiling_face:
However, the green channel's direction is flipped compared to what Godot expects for color correction LUT textures (Y+ is downwards, not upwards).
I've flipped the 48 layers individually in GIMP to make the OpenEXR texture work correctly in Godot. The image is included in this Godot project as tony_mc_mapface_unrolled_inverted_y.exr: color_correction.zip

Are you using HDR stimulus to look up into the LUT using the x/(x+1) remap from the provided shader? If you're looking it up using clipped LDR data then the output will not be correct.
It might need to be its own separate tone mapper in Godot -- or, if Godot's Reinhard is exactly x/(x+1) applied separately to each of the R, G, and B channels, then that might match the input remap the LUT expects.
Also note that the range remap for the LUT is important (the * 47.0/48 + 0.5/48 thing). Perhaps Godot does that for its color correction textures, but perhaps not.

Are you using HDR stimulus to look up into the LUT using the x/(x+1) remap from the provided shader?

No, I'm using Godot's built-in color correction functionality, which doesn't provide a way to do this. It's possible to run custom post-processing shaders but they're slower and have various limitations.

If you're looking it up using clipped LDR data then the output will not be correct.

Unfortunately, color correction runs after tonemapping, and the output data from all tonemappers is clamped between 0 and 1: https://github.com/godotengine/godot/blob/19c9fd6926b958016d562e3b2e93b0e9480300f5/servers/rendering/renderer_rd/shaders/effects/tonemap.glsl#L491-L493

or, if Godot's Reinhard is exactly x/(x+1) applied separately to each of the R, G, and B channels, then that might match the input remap the LUT expects.

The Reinhard tonemap formula used is here: https://github.com/godotengine/godot/blob/19c9fd6926b958016d562e3b2e93b0e9480300f5/servers/rendering/renderer_rd/shaders/effects/tonemap.glsl#L243-L245

Yeah let's not hijack this topic more :sweat_smile: With the formulation that Godot uses for its Reinhard and color correction, TonyMcMapface will not work correctly. It's not really intended to be a color correction LUT; there was a chance it would work if all the planets aligned, but it doesn't seem like they are aligning. Please open a separate issue about Godot if you wish to discuss it further :pray:

@h3r2tic Thanks for this!
NVIDIA doesn't complain now, but... Unity of course doesn't open it, but with the knowledge that it's 32bit RGBA I wrote a Unity importer, I will publish today when I clean it up.

I happily confirm that the .hdr and .exr versions work in Unity with the right import settings.

I use this in a Unity shader that blends textures additively over time. Works like a charm!
Before:

After:

Nice, happy to hear you've convinced Unity to load it :)
Looks like someone else managed that too, including the rgb9e5 format: https://github.com/Dan3dd/tony-mc-mapface_unity


PR: Add methods for detecting conda and pyenv environments

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Add two miscellaneous methods that are able to detect conda and pyenv environments. This is the first PR for enhancing Spyder's environment handling.

Issue(s) Resolved

Fixes #12200
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: Steff456

/show binder

As discussed previously, we are going to move the selection of environments in preferences, and the user will be redirected to the preferences if they click on the current environment

Now the combobox in the preferences with other interpreter has all the environments found in the device.

Hello @steff456! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/widgets/tests/test_status.py:

Line 85:37: E127 continuation line over-indented for visual indent


view - last variable from @foreach exists out of the loop

Hi. When i send only 'sections' variable to view and then i used this view:
@foreach ($sections as $section)
		 {{ $section->name }}
@endforeach

//then last section exists out of scope @foreach loop
 {{ $section->name }}

Then new $section variable was created out of loop

What laravel version. Please include the version in full.

Maybe it is related to PHP's foreach:

Warning: Reference of a $value and the last array element remain even after the foreach loop. It is recommended to destroy it by unset().

i use  version: v5.2.31

Yeh, this is is expected. PHP doesn't create "variable namespaces" inside loops, unlike java.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

New PR superseeds


The Bleeding Edge

All of the fancy stuff we've developed, all in one convenient PR

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: Capo01:white_check_mark: Wetmelon:white_check_mark: madcowswe:x: unknownunknown seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Tweaking text box rendering to reduce pixelated text

Changing the image rendering of text to high quality to ensure sharp edges on rendering

@luanpotter thanks for the review! I'm not sure why the Travis build is failing, is that something from this PR?

@kurtome there are files not formatted according to our linter, to fix those problems, just run the following command on the terminal:
flutter format .

@erickzanardo Thanks! I started using AndroidStudio for Flutter code and apparently that doesn't automatically run the formatter like VSCode did :(


Clear up Security :corn:cerns

Lock it down

Did some minor (and one major) updates on the DevDeps to clear up all dat lodash noise.
Got some minor optimizations on some of the build process.

For all the devs out there, remember to update your master and run a npm run setup after this merges.

Coverage remained the same at 100.0% when pulling 7a2c76b1dccb8cc0ed49287f3239d31940632491 on chore/security-updates into d932d7418ea52329a814665ca0cc9a33f1363d56 on master.


Workbook Standalone

Change(s):

Added three Workbook

Reason for Change(s):

New workbook

Version updated:

No

Testing Completed:

Yes

Hi, it's been 7 days I am waiting for the workflow approval

Waiting for the approval

Hello @InspiraEnterprise, Please remove maintemplate of intel471 Solution
Also remove all the files from tools folder

Hello @InspiraEnterprise, Please remove maintemplate of intel471 Solution
Also remove all the files from tools folder

Removed all the mentioned things

Waiting for your approval


Resolve: publishing flattened audio

partly implemented with this PR: https://github.com/pypeclub/OpenPype/pull/1493
what needs to be done in this task:

precollect instances better handling audio and its instance (like in Hiero)
precollect instances add reviewAudio to main instance


July Endgame

July 30th: Code freeze for the endgame
August 3rd: Endgame done

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Note: Wednesday is a holiday for Zurich team and much of Zurich will be OOF throughout endgame.

Monday

[x] Code freeze at 5pm PT
[x] Ensure we have a green build on all platforms at 5pm PT
[x] All test items contain sufficiently comprehensive test descriptions by 6pm PT
Update your availability for testing here - https://vscode-tools.azurewebsites.net/

Tuesday

[x] Test Plan Items Assigned
[x] All closed feature-requests either have a verification-needed or on-testplan tag
[x] Test build starts at 7am CET / 10pm PT on Monday
[x] Test plan ready by 8am CET / 11pm PT on Monday
[x] Testing
[x] Verification needed
[x] Run OSS tool endgame master

The LCA review of the ThirdPartyNotices.txt files is not needed anymore

Wednesday

Note: Holiday for Zurich

[x] Testing
[x] Remind team members to assign issues that they intend to fix to the current milestone
[x] Fixing (self-assigned, milestone assigned)
[x] Verification

Thursday

[x] Fixing (scrutiny sets in - major bugs only - to be discussed in stand-up meeting, labeled as candidate)
[x] Verification
[x] Check new OSS usage is entered into the OSS registry Product: Visual Studio Code  @sbatten @isidorn

Friday

[x] Pause scheduled insider builds endgame master
Satellite modules/npm packages ready, version updated, smoke tested

[ ] vscode @bpasero
[x] yo generator @aeschli
[x] vsce @joaomoreno
[x] node debug @weinand
[x] node debug2 @roblourens
[x] node debugadapter node @weinand

[x] All issues verified
[x] Fixing (only critical bugs - no string changes)
Smoketest

[x] Windows - @ramya-rao-a
[x] macOS - @roblourens
[x] Linux - @RMacfarlane

All release notes updated - release notes are collected in a file named v1_26.md in this repo directory. This includes new features and notable fixes.

[x] @aeschli
[x] @alexandrudima
[x] @bpasero
[x] @chrmarti
[ ] @dbaeumer
[ ] @egamma
[x] @isidorn
[x] @joaomoreno
[x] @jrieken
[x] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @ramya-rao-a
[ ] @rebornix
[x] @rmacfarlane
[x] @roblourens
[ ] @sandy081
[x] @sbatten
[ ] @tyriar
[x] @weinand

[ ] Acknowledge pull requests in release notes. We acknowledge PRs from outside the team. Use the thankyou tool to generate the initial contents of the section. endgame master

[x] vscode endgame master
[x] vscode-node-debug @weinand
[x] vscode-node-debug2 @roblourens
[x] vscode-debugadapter-node @weinand
[x] vscode-languageserver-node @aeschli
[x] language-server-protocol @aeschli
[x] vscode-textmate @alexandrudima
[x] vscode-loader @alexandrudima
[x] vscode-generator-code @aeschli
[x] vscode-vsce @joaomoreno
[ ] vscode-docs @gregvanl
[x] vscode-css-languageservice @aeschli
[x] vscode-json-languageservice @aeschli
[x] vscode-html-languageservice @aeschli
[x] jsonc-parser @aeschli
[x] vscode-jscs @chrisdias
[ ] vscode-tslint @egamma
[x] vscode-eslint @dbaeumer
[x] vscode-jshint @rmacfarlane
[x] vscode-recipes @auchenberg
[x] localization @danyeh
[x] vscode-github-issues-prs @chrmarti

[x] Add notable fixes to the release notes @all
When done fixing/verifying and there are changes since last build at the end of day PT

[x] Trigger new insider build and publish it manually endgame master

Friday/Monday

[x] Branch code to `release/<x.y> endgame master
[x] Bump up the version in package.json - endgame master
[x] Announce master is open for business endgame master
[x] Let Daniel Ye know that the release branch release/<x.y> got created and that translation should be pulled from there and that the pull request has to be created against that branch endgame master
[x] Polish release notes @redmond

Monday - Wednesday

[x] Polish release notes @redmond
[x] Cherry-pick hand-picked and reviewed changes to release/<x.y> @endgame master
[x] Build Insider from release/<x.y> @endgame master
[x] Manually release Insider @endgame master
[ ] Documentation updated

[x] @aeschli
[x] @alexandrudima
[x] @bpasero
[x] @chrmarti
[ ] @dbaeumer
[ ] @egamma
[x] @isidorn
[x] @joaomoreno
[x] @jrieken
[x] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @ramya-rao-a
[ ] @rebornix
[ ] @rmacfarlane
[ ] @roblourens
[ ] @sandy081
[ ] @tyriar
[x] @weinand

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Wednesday/Thursday

[ ] Check translations (check i18n folder git history for latest translations, then build locally and see the amount of untranslated strings) @zurich
[ ] Build stable for all platforms endgame master
[ ] Add a git tag to HEAD of release/<x.y> in format x.y.z (for vscode.d.ts download)  endgame master
[ ] Make sure that the vsda module version in stable is the same as in insiders (which matches the latest electron)
[ ] Make rpm signing request @Tyriar
[ ] Sanity check of installable bits

[ ] Windows

[ ] signed installer 32-bit @owner
[ ] signed installer 64-bit @owner
[ ] zip 32-bit @owner
[ ] zip 64-bit @owner

[ ] OS X - @owner
[ ] Linux

[ ] deb package 32-bit @owner
[ ] deb package 64-bit @owner
[ ] rpm package 64-bit @owner
[ ] rpm package 32-bit @owner
[ ] archives @owner

[ ] Publish website @gregvanl
[ ] Publish to stable endgame master
[ ] Publish deb and rpms to repositories manually @Tyriar
[ ] Add version with symbols to HockeyApp @Tyriar
[ ] Enable scheduled insider builds endgame master
[ ] Twitter announcement @seanmcbreen

Ha, github has subscribed me to your endgame plan. Awkward...

All release notes updated - release notes are collected in a file named v1_26.md

Seems link is wrong.

Any updates here? Excited for 1.26!

@paterasMSFT we're aiming to go out early next week

Why this release is delayed?

@jens1o to allow more time for stabilization.


Expand CMake line a bit in README.txt

Fixes #430
@ricardobusta
Does this clear things up a bit?

Fixes #430
@ricardobusta Does this clear things up a bit?

Yup, thanks for updating it!

Thanks for telling us the readme was outdated :)

Do we need a similar update for SDL_image?

Yes, I just pushed https://github.com/libsdl-org/SDL_image/commit/516cce263d254ed5aee7411e2969f63bb5ff5982


sandbox: make an independent shim plugin

Currently, The Shim and Task plugin is mixed into a core/runtime/v2/manager.go, In this PR, we split the Shim plugin to  make it an independent plugin.
This is the second PR of the sandboxed Task demonstrated in draft https://github.com/containerd/containerd/pull/9574

/ok-to-test

/retest

Could you please take a look, again? @mxpv @fuweid

/cc @cpuguy83 @Iceber

/retest

/retest

Shell we add this in 2.0 milestone list? @mxpv @fuweid

/retest

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e


Additional Parameter

I needed some additional parameter when starting thread.
So I added it in Process class and fork and spawn method in ProcessManager class.
I don' have enough time to PR, now. So I just leave an issue here.
$param = "whatever";

$process = $manager->fork(function(Ko\Process $p, $param) {
    // do something
}, $param);

source.zip

If you need to use other variables in the fork Closure scope use "use()"
$params = ['foo', 'bar'];                           $manager->fork(function (\Ko\Process $jobProcess) use ($params) { .... });

Thank you for your kind reply. Actually there was some legacy issue, so I couldn't use "use()". but now I don't care about PHP 5.3.


Fix Unet implementation

This PR implements modifications suggested in this issue.

Looks good. Thank you!.
Fixes #1 and #21


Google Maps Offline

Good afternoon.
Is there any way to use offline maps, as it does in the application of google maps in my apolicacion developed with Android Studio?

As far as I know if you download an area on Google Maps it will automatically available for any application using google maps api.

Is this still applicable, can someone confirm it, because it will reduce drastically the usage of internet and without the need of update of selected area for (let's say) one week, there will be no need for extra requests which will also result in less power drained from the battery.

how to download an area？

afternoon.
how can i use offline map data using google map api?

Please see this page for support options for Google Maps APIs. Thanks!


[Feature Proposal] client supporting JDK7

Client supporting JDK7
[merlimat]
That would be very tricky. The current Java API itself is built upon JDK8 features like CompletableFuture.
That would mean to do a rewrite of the client library to support JDK 7, but since it was EOLd ~2 years ago, I don't think it would be worth the effort.
As Andrew said above, WebSocket is probably a much easier/quicker way to solve that .
[DongbinNie]
While JDK7 is end of public updates from April 2015, JDK7 is still used widely, 45% in Plumber's report https://plumbr.eu/blog/java/java-version-and-vendor-data-analyzed-2016-edition
It will be helpful for Pulsar's adoption if the client supporting JDK7. Though WebSocket is a solution, but developers always prefer the first-class client.

There's far too much java8 usage to ever go to JDK7, so closing this as a won't fix.


Implement htsget-http-lambda sub-crate

This is required to complete the serverless story after implementing the S3 storage backend. Using the lambda-rust-runtime: https://github.com/awslabs/aws-lambda-rust-runtime/

Brainfart, duplicate of #47, sorry


Amazon Phislet not work on new Version 2.2.0 same error

Amazon Phislet not work on new Version same error (redirect to original site) not intercepted any password or cookies

Phishlets were not addressed in the update, but the framework itself. Phishlets are not maintained and are up to authors to be fixed. You can also try fixing it and contribute.

I am looking at the cookie problem from their website, could evilginx2 pass this by activating inside another browsing agent ?


Segmentation fault

Engine is throwing SIGSEGV in copyUpsample when trying first memset on line 16.

Hi, @vic-ju and thanks for bug-report!
Can you please provide more contextual information, and a stack-trace for this issue?
Unfortunately line is not enough, since usage of  copyUpsample depends on a GPU properties.

I'm using GCC 8.4 on Manjaro Linux and my system is a Dell XPS 9530. The error occurs right on startup. I just searched the web and it seems that there is no viable vulkan implementation for haswell integrated GPU on linux. My bad!
However, my laptop has a discrete GPU (NVIDIA GT750M) but the vulkan api does not recognize
it. Instead it lists my integrated device two times?
Nevertheless here is the GDB backtrace: Backtrace1.txt

fixed in https://github.com/Try/OpenGothic/issues/74


Suggestions for Version Controllability

Similar to how having the md5's in the .import files reduced the ability of godot projects to be version controlled (which is now solved), a few other thing have also been annoying me slightly.

In project.godot, the typed gdscript introduces: _global_script_classes=[]. If you have a project where the levels are in a separate repository, and not always present, then this list changes depending on what levels for the game are present locally.
Proposal: Create an editor_cache.conf file inside the .import folder for information that needs to be cached at project level and isn't associated with an asset.

In the tscn files, there are frequently _sections_unfolded = [ "Margin", "Rect", "Theme" ] lines showing up and changing - because people opened the file to inspect something, and closed it without doing anything.
Proposal: Store this information inside the .import folder. Perhaps the .import/<resource>-<md5>.md5 file can be renamed .import/<resource>-<md5>.conf and contain both the md5's and the _sections_unfolded. This file can contain other information that is useful to cache about a scene/resource, but is either local-only information or autogenerated.

The resourcefile.import file for a .escn file contains:
animation/clip_1/name=""
animation/clip_1/start_frame=0
animation/clip_1/end_frame=0
animation/clip_1/loops=false
animation/clip_2/name=""
animation/clip_2/start_frame=0
animation/clip_2/end_frame=0
animation/clip_2/loops=false
animation/clip_3/name=""
....
snip ~800 lines
...
animation/clip_254/end_frame=0
animation/clip_254/loops=false
animation/clip_255/name=""
animation/clip_255/start_frame=0
animation/clip_255/end_frame=0
animation/clip_255/loops=false
animation/clip_256/name=""
animation/clip_256/start_frame=0
animation/clip_256/end_frame=0
animation/clip_256/loops=false

This information is auto-generated and that is simply cached here (as far as I can tell). It is not an import parameter and thus does not need to be version controlled. It also means all .import files are ~30kb. Fortunately it doesn't change.
Proposal: Put it in the afore proposed <resource>-<md5>.conf file inside the .import directory.

Maybe related to this topic: #6527 and #18283, which are about resource identifiers getting shifted/reordered when adding, removing, or sometimes not even changing a few items in a scene, causing diffs that are way larger than what the change actually was.

How necessary is it, really, to store _sections_unfolded? Personally I would prefer it if all items start collapsed if I close and re-open Godot. I would vote to just store the list of open sections in RAM.

The _global_script_classes is on project.godot because it's needed by the exported game (also, as note, it's not really related to typed GDScript). What could be done if it's worth it, is keeping this cached somewhere else while in editor, and bundle them in project.binary on export.
I don't think those things should use the .import folder though, because they're not really related to importing. It would be better to add a generic .godot folder to hold this kind of information (and maybe move the .import to inside the .godot, to keep it all in one place).

Note that project metadata can already be written to and read from ~/.config/godot/projects/<name>-<hash> (%APPDATA%/Godot/projects/<name>-<hash>), which is where IMO anything project and user specific (like node folding status) should go.

@vnen would that .godot folder have the same "deletable" property as .import? As in, "no need to version it and Godot can regenerate it as needed"?

@Zylann yes, it wouldn't be needed in the version control.
And as such, it would be user and project specific anyway, since each user would have their own folder. My issue with writing these things to %APPDATA% is that is quite easy to clutter it with projects that you don't have anymore (especially if you're used to open sample projects from issues). If it's on the project folder, it all goes away when you delete the project.

It's nice because it would basically makes the project self-contained with no need for the editor to find some sort of identifier to match it in %AppData%, so you can rename the project or move it around and the editor doesn't have to keep that in sync.

How necessary is it, really, to store _sections_unfolded? Personally I would prefer it if all items start collapsed if I close and re-open Godot. I would vote to just store the list of open sections in RAM.

This would work for me, I don't want this to persist across editor sessions or to have editor state saved with the project files.
As things stand I currently have Editor Settings > Interface > Inspector > Disable Folding checked to achieve these goals but I would prefer an option to default to folded on start up.

The point on _sections_unfolded is fixed by e6473421.

In the tscn files, there are frequently _sections_unfolded = [ "Margin", "Rect", "Theme" ] lines showing up and changing - because people opened the file to inspect something, and closed it without doing anything.

This should be fixed as of https://github.com/godotengine/godot/commit/c1dcdf6109dbe29549517d683d85b81c0ade8611 :tada:

For the remaining issues, I really like vnen's suggestion of creating a .godot folder which we can move all gitignore-able stuff into, including .import (#23368).
This should be bumped to the 4.0 milestone, it'll be a big change.

Partially related to https://github.com/godotengine/godot/pull/38607
A lot of the points in the OP have been fixed, so might be worth closing this and opening a proposal for more VCS-friendly enhancements.

Closing per @asheraryam's comment. If you still need a feature mentioned in this issue, please open a proposal on the Godot proposals repository.


Add Maze Game

I want to add an amazing Maze Game project to this repository. Can you please assign this to me under the label of GSSOC'23?

no one assign u this issue why u started working and PR

no one assign u this issue why u started working and PR

I have been assigned this by @cleveranu almost a  month ago


IStatsDPublisherWithTags

Explain please how to use IStatsDPublisherWithTags, there is no registration of this interface. I need to send metrics with tags, but the documentation doesn't explain how to use IStatsDPublisherWithTags

Thanks for reporting this issue - the missing IoC registration is a bug. See #662.

@martincostello thank for the quick response and investigation! 🎉  I'll wait for the fix release

Thanks again - the fix is now available in v5.0.1.


Run flake8 on admin scripts

eg https://github.com/ClusterHQ/flocker/blob/release-process-292/admin/upload-rpms
See https://github.com/ClusterHQ/flocker/pull/293/files#r15531224

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-397. You are welcome to file additional issues in GitHub if that's easier for you.


Scriptify/document project bootstrapping

Not really an issue.  However somewhere I'd like to script the steps I use to start up a project from a seed repo.  This script should also work for the angular one.
Anyhow here's what I've been using:
git clone {seed-repo} --depth=0
rm -rf .git
git init
git remote add upstream {actual-project-repo}
git remote set-url origin {personal-fork-of-actual-project-repo}

I'd also like to see a howto in the dev repo along the lines of: "How to start a new repo"
Angular 1x Transitional:
bootstrap.sh angular-typescript-starter {project-name} {github-user-name}
clusternator init
React:
bootstrap.sh react-redux-seed {project-name} {github-user-name}
clusternator init

:+1: this would be really nice

:+1:  agreed!

See here: https://github.com/rangle/dev/pull/131

Closing as a result https://github.com/rangle/dev/pull/131


[preprocessor/webhook] add browsertrix cloud webhook

Fixes https://github.com/starlinglab/integrity-v2/issues/33
TODO:
docs

It seems browsertrix gives a new cert every time i try, not sure if we should just trust all cert sha for now

It seems browsertrix gives a new cert every time i try, not sure if we should just trust all cert sha for now

Can you expand on this? A new domainCert every time?
Maybe instead of having a manual list of trustedDomainFingerprints, a better way to verify would be to use the OS's CA store (with x509.SystemCertPool), and just check that domainCert is a valid certificate chain for the domain, no matter who the CA is. Because if Browsertrix switches from Let's Encrypt to ZeroSSL one day, that shouldn't necessarily fail in our system. Is that possible? That might fix your problem.
Feel free to respond in Slack if that's better.

Looks good. Happy to merge if this is tested and working on your end. Or we can do docs in this PR too.
One thing I'll add regarding docs is we should have an example curl command that sets up Browsertrix with the webhook URL.

Yes I have tested with actual webhook payload, will make doc in another PR

Will merge once changes mentioned in Slack are integrated.

updated, we still need to have trust list for freetsa though


Singleton store for non-Android

Different ArcHosts on non-Android must share the same Storage layer, so the Stores object must be shared amongst all ArcHosts in a process, otherwise each ArcHost gets its own independent Storage layer.

This seems good to me! I think it might provide some benefit to Android as well, in that there are now potentially fewer ServiceStore objects binding to the storage service.
I wonder if it would provide more flexibility to pass a Stores instance in to the startArc call?

startArc is called by an Intent on Android so it won't work (Allocator invokes ArcHost.startArc(), but this just fires an Intent on Android)


test file added

you normally don't want to user your master branch.  You want to create a topic branch, e.g. pull_request_test.


Confused about how to access the dataset

Hi,
Thank you for your work and data. I cannot find where can I download the data. Do I have to run again the code to reproduce the data by myself? Thank you. :)

You can also contact the authors directly using the email provided in the paper.

Okay, thank you!


fix: Improve MathML for math operators with subscripts

This PR is an accessibility advance and a MathML visual regression. It relates to math operators like \log or \lim that are written with subscripts or limits.  In Issue #2593, @Futyn-Maker reports that that the log is omitted in three different screen readers. This PR will eliminate that problem.
In so doing, this PR will also introduce a spacing regression for visible rendering viewed in a MathML-capable browser like Firefox. This may concern you, so I'll explain why I did it.
Spacing is usually easier in MathML  than in HTML. You just put content into the proper <mi> or <mo> elements and the browser does the spacing for you. The exception is math operators like \log or \lim or anything inside an \operatorname. MathML has no direct analogue to a TeX math operator. MathJax puts them into a <mi> element, but <mi> elements get the  spacing of a variable, not an operator.
To get the correct spacing, I have previously tried wrapping the <mi> inside an <mo>. That is what caused issue #2593. I also tried to skip the <mi> and place the text directly in an <mo>. That caused Firefox to improperly display \lim\limits, i.e. MathML <munder> element, as if it were a subscript, not a limit. So that does not work either.
So I believe the math operator has to be in a <mi> with no <mo>. That's the way to enable screen readers to work properly. That is what this PR does.
There is a way to regain proper visual spacing. On the HTML side, the buildHTML.traverseNonSpaceNodes() function makes a pass through the HTML and inserts hard spacing elements where necessary. Such a thing could also be done on the MathML side. It might be slightly easier in MathML because spacing elements would be necessary only adjacent to math operators. MathML takes care of the other spacing issues.
Easy or not, it's more than I have time to do right now. I think we should get this accessibility fix into the next release and deal with the visible spacing later.

Codecov Report

Merging #2596 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2596      +/-   ##
==========================================
- Coverage   93.83%   93.83%   -0.01%
==========================================
  Files          84       84
  Lines        6148     6144       -4
  Branches     1262     1260       -2
==========================================
- Hits         5769     5765       -4
  Misses        348      348
  Partials       31       31

Impacted Files
Coverage Δ

src/functions/supsub.js
94.35% <100.00%> (-0.18%)
:arrow_down:

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 1bc5520...76da911. Read the comment docs.

We now have confirmation that this PR fixes the accessibility problem.

@ronkok thanks for fixing the accessibility issue.  I'm not to concerned about the visual regression.  I think it might be fixable with some CSS, but I'll have to investigate that and we don't really use much CSS with our MathML.

Since this only makes changes to a mathmlBuilder function I think it's safe to merge even if we don't hear back from the Safari screenshotter.

Many thanks for fixing this problem and sorry for my long silence, I was really busy in last days.
Andrey


Fix light map URI in materials

so we can convert model://<model_name>/<path_to_texture>.png to absolute path on local disk.
related pull request: ignitionrobotics/ign-gazebo#471
Signed-off-by: Ian Chen<EMAIL_ADDRESS>

Windows CI seems to be in a tough place right now. Merging without it.


Parsing Punctuated<Field, Token![,]> from a TokenStream

I am trying to create some AST nodes by creating a TokenStream with the quote macro and then parsing it, but I haven't been able to find the right incantation to get this to work. Ultimately I'm trying to create Vec<syn::Field> and I thought it would be simpler to approach it this way than by building the entire structure by constructing the fields out of all the deeply nested syn AST types.
The input is:
let tokens = quote! {
    /// The event's content.
    pub content: #content_name,
};

(Note that only one field definition is shown here, but this will be done in a few places where there may be multiple fields.)
The documentation for the parse module explains the use of the Parser trait for cases like Punctuated where there isn't a sensible default for parsing. I tried the approach there, but wasn't able to modify the example to fit my case:
let parser = Punctuated::<Field, Token![,]>::parse_terminated;
let more_fields = parser.parse(tokens)
    .unwrap()
    .into_iter()
    .collect();

error[E0277]: the trait bound `syn::data::Field: syn::parse::Parse` is not satisfied
  --> src/gen.rs:85:18
   |
85 |     let parser = Punctuated::<Field, Token![,]>::parse_terminated;
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `syn::data::Field`
   |
   = note: required by `syn::punctuated::Punctuated::<T, P>::parse_terminated`

The above error makes sense to me as Field is also a type with no sensible default. In other cases I've done this:
// body: ParseStream
let fields = body.parse_terminated::<Field, Token![,]>(Field::parse_named)?

but it's unclear to me in this case how to either specify Field::parse_named as the way to parse Field in the first example or how to create a ParseStream for use in the second example.
The documentation for ParseStream (via ParseBuffer) says you can only create a ParseStream via one of the following:

The parse_macro_input! macro if parsing input of a procedural macro;
One of the syn::parse* functions; or
A method of the Parser trait.

The first approach gives me this error:
error[E0308]: mismatched types
  --> src/gen.rs:85:24
   |
85 |     let token_stream = syn::parse_macro_input!(tokens as Vec<Field>);
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `proc_macro::TokenStream`, found struct `proc_macro2::TokenStream`
   |
   = note: expected type `proc_macro::TokenStream`
              found type `proc_macro2::TokenStream`
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

(I'm guessing Vec<Field> isn't the right type to be parsing into, but as you can see I didn't even get that far.)
The second approach isn't applicable because of the "default" issue mentioned before. The third approach is what I was trying to do originally.
How do I achieve what I'm trying to do here? I'm interested in not only how to do it, but also what I'm missing in the documentation that should have led me to the solution. If this is an unusual case that is not currently well explained in the docs, then hopefully learning the answer here will help me put together a documentation PR that will help the next person who runs into this.
Thanks!

Could you explain more about your use case that requires creating these as syn::Field syntax trees? Usually macros would only create syntax trees for the input, and do all output only in terms of TokenStream.
If you need Vec<Field> as a syntax tree, I think you would need to write a Parse impl using input.parse_terminated as you mentioned.

The macro input looks like this (irrelevant details omitted):
ruma_event! {
    /// A redaction of an event.
    RedactionEvent {
        kind: RoomEvent,
        event_type: RoomRedaction,
        fields: {
            /// The ID of the event that was redacted.
            pub redacts: ruma_identifiers::EventId
        },
    }
}

The braced content of fields will populate the definition of a struct called RedactionEvent, with additional fields auto-generated based on the kind. In this case, for a "room event", the final struct output will look like this:
pub struct RedactionEvent {
    /// The event's content.
    pub content: RedactionEventContent,

    /// The unique identifier for the event.
    pub event_id: ruma_identifiers::EventId,

    /// Timestamp (milliseconds since the UNIX epoch) on originating homeserver when this
    /// event was sent.
    pub origin_server_ts: js_int::UInt,

    /// The ID of the event that was redacted.
    pub redacts: ruma_identifiers::EventId

    /// The unique identifier for the room associated with this event.
    pub room_id: Option<ruma_identifiers::RoomId>,

    /// Additional key-value pairs not signed by the homeserver.
    pub unsigned: Option<serde_json::Value>,

    /// The unique identifier for the user who sent this event.
    pub sender: ruma_identifiers::UserId,
}

The fields supplied by the user are parsed into Vec<Field> like this in a Parse impl:
// input: ParseStream
let body;
braced!(body in input);
let fields = body
    .parse_terminated::<Field, Token![,]>(Field::parse_named)?
    .into_iter()
    .collect();

The goal is to get a Vec<Field> of the auto-generated fields and combine them with the user-supplied fields into one vector, and then to sort them alphabetically by field name. At first I was trying to construct these auto-generated fields by importing all the types from syn and doing it manually, but there are so many types nested within a Field that it was pretty unwieldy, and hence I decided to try creating the fields in a more quick and dirty way by parsing them out of a TokenStream created by the quote macro. (This is basically the quote macro's raison d'être, so it doesn't seem that strange a use case.)
You're suggesting that the right approach is to create a newtype around Vec<Field> and then impl Parse for it?

Ah, combining some fields parsed from the input and some fields generated by the macro and sorting the combined set is an interesting case. Yes, you could define Parse for a wrapper around Vec<Field>. Alternatively you could define Parse for a wrapper around just Field, and then use parse_quote which is able to parse Punctuated directly unlike syn::parse2.

That did the trick. Do you see any takeaway from this in terms of documentation, or was this just too unusual a use case?
For anyone else who comes across this issue in the future, here's the code I ended up with:
struct ParsableNamedField {
    pub field: Field,
}

impl Parse for ParsableNamedField {
    fn parse(input: ParseStream<'_>) -> parse::Result<Self> {
        let field = Field::parse_named(input)?;

        Ok(ParsableNamedField {
            field,
        })
    }
}

Which is used like this:
fn populate_event_fields(content_name: Ident, mut fields: Vec<Field>) -> Vec<Field> {
    let punctuated_fields: Punctuated<ParsableNamedField, Token![,]> = parse_quote! {
        /// The event's content.
        pub content: #content_name,
    };

    let mut additional_fields = Vec::with_capacity(punctuated_fields.len());

    for punctuated_field in punctuated_fields {
        additional_fields.push(punctuated_field.field);
    }

    fields.extend(additional_fields);

    fields
}

The for loop was necessary because the syn::Field doesn't implement std::iter::FromIterator<syn::Field> so I couldn't do this:
let additional_fields = punctuated_fields
    .into_iter()
    .map(|p| p.field)
    .collect();

I think I will avoid making a documentation change for now, but I will keep in mind that parsing Field (which does not implement Parse) inside of Punctuated (which does not implement Parse) is complicated. If there is a pattern of related use cases that people get stuck on then we will figure out a way to make this work better or figure out how the documentation can be more helpful.
Regarding the for-loop and extend, the one line version would be:
fields.extend(punctuated_fields.into_iter().map(|p| p.field));

I think this use case can help a lot of people (it helped me). A little doc or a test on how to append a field with an proc_macro_attribute could be great.
What do you think ? @dtolnay

Echoing agreement here. If documentation has been updated somewhere, I didn't see it. Had to do the same approach described here (after finding this issue) instead of just doing something like let field: syn::Field = parse_quote!(my_field: u32); in order to produce an attribute macro that injects a couple of new fields into an existing struct.


rofi-wayland-unwrapped: 1.7.3+wayland1 -> 1.7.5+wayland1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/lbonn/rofi/releases.
meta.description for rofi-wayland-unwrapped is: "Window switcher, run dialog and dmenu replacement for Wayland"
meta.homepage for rofi-wayland-unwrapped is: "https://github.com/lbonn/rofi"
meta.changelog for rofi-wayland-unwrapped is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.5+wayland1 with grep in /nix/store/5jsjszlkyaas0kwsv15pr8zzh33ri5dq-rofi-wayland-unwrapped-1.7.5+wayland1
found 1.7.5+wayland1 in filename of file in /nix/store/5jsjszlkyaas0kwsv15pr8zzh33ri5dq-rofi-wayland-unwrapped-1.7.5+wayland1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
rofi-wayland
rofi-wayland-unwrapped

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5jsjszlkyaas0kwsv15pr8zzh33ri5dq-rofi-wayland-unwrapped-1.7.5+wayland1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rofi-wayland-unwrapped https://github.com/r-ryantm/nixpkgs/archive/6de85da84cb24b46149371d06c05682e7bdfcb51.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5jsjszlkyaas0kwsv15pr8zzh33ri5dq-rofi-wayland-unwrapped-1.7.5+wayland1
ls -la /nix/store/5jsjszlkyaas0kwsv15pr8zzh33ri5dq-rofi-wayland-unwrapped-1.7.5+wayland1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

rofi-wayland
rofi-wayland-unwrapped

Maintainer pings
cc @bew for testing.

Result of nixpkgs-review pr 188723 run on x86_64-linux 1

2 packages built:

rofi-wayland
rofi-wayland-unwrapped


Redis can't set maximum open files to 10032 because of OS error: Operation not permitted.

Debian 8
Redis 2.8.17 (00000000/0) 64 bit
File /var/log/redis/redis-server.log exist line
[3830] 04 Apr 13:49:24.713 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
[3830] 04 Apr 13:49:24.713 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted.
[3830] 04 Apr 13:49:24.713 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
Solution is set LimitNOFILE in section [Service] for /etc/systemd/system/multi-user.target.wants/redis-server.service.

Fixed in 2:3.0.7-3. Thanks!

this value need number value. for example LimitNOFILE=65535

Updated.
Please file bugs against the Debian BTS in future, thanks :)

Thanks!!!

Thank you so much for this fix. I'm running Redis 3.0.6 (most current package in Ubuntu 16.04 repo) and have been trying to figure out why I can't raise my ulimits for days.


Use Label as title for frontend dropdown field

In the frontend dropdown the Label field should be used instead of the Name field.
This is mentioned in the source:
    private static $db = [
        'Name' => 'Varchar', //for back-end use
        'Label' => 'Varchar' //for front-end use
    ];

Thanks!


FP8 not support all tensor shapes

When I use input shape (50, 4096) and Linear shape (4096, 16384), it is asserted by the code. It needs to be divided by 8, how do I solve this problem?

This is a restriction on the dimensions when using FP8 since those are the supported sizes for the GEMM. In your case it looks like the weight dimensions are fine, could you pad the inputs and try? @lx1374327576


Target of URI doesn't exist: 'package:open_file_manager/open_file_manager.dart'.

This is an issue with your system caching. you can call the flutter clean and flutter pub get. still, you are facing the issue then you can delete the folder: <username>/pub.cache/hosted/pub.dev and try flutter pub get


changing the font for entire app?

i did look at the wiki an dint see anything about changing the font for the whole app using custom css

That has nothing to do with this project. Ask in the CSS channel in one of the BD Discord servers.


[LYNA] 📝 Edit Page: Test

Hello and thank you for your contribution!
A moderator will check the links on your page within the next 48 hours.
© Tai Studio 2021/2022

Check your preview: PREVIEW

Check your preview: PREVIEW

Check your preview: PREVIEW


[Quantum] Update version and history info for az quantum extension 0.20.0

Release PR for az quantum extension, version 0.20.0
This checklist is used to make sure that common guidelines for a pull request are followed.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Quantum

@kairu-ms The PR is approved from the Azure Quantum side. Could you please also take a look?


docs: update docs website port in the contributing guidelines

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

The contributing guide says that the docs website is available at localhost:4200.
Issue Number: N/A
What is the new behavior?
The contributing guide now points to the correct port - 8080.
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Thank you for contributing this fix.


Assignment to untyped imports in JS results in error

Since the "JS require is alias" PR went in, in JS:
Prerequisite: install shelljs but NOT @types/shelljs.
const sh = require('shelljs') // no types, so `sh` is implicitly any
sh.config.fatal = true        // assignment is interpreted as assignment declaration
sh.exec('npm pack')           // `sh` is no longer properly `any`, so error that `exec` is not found.

Expected behavior:
No error, like typescript:
import sh = require('shelljs')
sh.config.fatal = true // ok, whatever, it's any
sh.exec('npm pack') // still any!

Actual behavior:
Property exec doesn't exist on type typeof shell.
Workaround:
Install @types/shelljs.
The best probable fix is to disable assignment declarations to JS aliases. It doesn't make sense to me. However, this might not happen enough to be worth fixing.

Accessing arbitrary properties on a class that extends an alias of an untyped module is also now disallowed, although this is the same as TS:
class K extends sh {
    constructor() {
        super()
        this.whatever() // now there's an error here, same as in TS
    }
}


Git / Clean

VSCode Version: 1.5.3
OS Version: Linux/4.8.0-rc7

Steps to Reproduce:

Git / Clean, clean a file changes, then cannot reopen it
... None but reopen vscode

It's hard to understand what you mean.


ODatabaseException OrientDB Record Error

OrientDB Version: v.2.2.32
Java Version:
OS: Linux
Expected behavior
Get an clean error-less run-through when running REPAIR DATABASE --fix-graph -v or CHECK DATABASE
Actual behavior
Getting an exception:
Error: com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #58:65894 (cluster: cluster_name_here)
	DB name="DBNAME"
	DB name="DBNAME"

Error: java.lang.ArrayIndexOutOfBoundsException

Which then limits me as I can't insert new data etc. I've followed these docs: https://orientdb.com/docs/last/Console-Command-Repair-Database.html
Steps to reproduce
Executing  REPAIR DATABASE --fix-graph -v or CHECK DATABASE
Any help or directions will be greatly appreciated.

@phfilly could you send full stack trace?

@laa not 100% sure but is this what you want? :)
Repair of graph 'remote:localhost/DBNAME' is started ...
Scanning 2021110 edges (skipEdges=0)...

Error: com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #58:65894 (cluster: cluster_name_here)
	DB name="DBNAME"

Error: com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #58:65894 (cluster: cluster_name_here)
	DB name="DBNAME"
	DB name="DBNAME"

Error: java.lang.ArrayIndexOutOfBoundsException```

Any recommended steps to try and resolve this?

Hi @phfilly , do you have any errors in the server log file, could you send them as a gist?


Add additional troubleshooting for Github Pages

Properly solves #5038
The gh-pages error message is misleading because my git user.email was already set.
I needed to set my git user.name as well to solve the issue.

Thanks!


Translations update from Hosted Weblate

Translations update from Hosted Weblate for raspiblitz-web/translations.
Current translation status:

Thank you @Louber1 !


⚠ Bofrost.at has degraded performance

In 51917ad, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1644 ms

Resolved: Bofrost.at performance has improved in 3995d31.


Enable limited OpenSSL support

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please elaborate on how you tested these changes.

Tested using OpenSSLTest. Please let me know if this is not sufficient.

Tested using OpenSSLTest. Please let me know if this is not sufficient.

Would be useful to manually test out the changes as well. This can be done by spinning up cluster of nodes with elasticsearch oss (in this case for es 7.6) with the security plugin built with these changes. As far as I remember when we removed support for OpenSSL, the tests were still passing but cross-cluster communication for Java version <12 were failing.

There is a difference in the test environment introduced in #339 that explains why tests were passing while inter-cluster communication was failing for Java 11 or prior versions. In the past, tests were running on the docker image without openssl installed and tests that exercise openssl functionality were disabled on OpenSsl.isAvailable() condition. Those tests are now enabled and they won't pass without changes in this PR.

There is a difference in the test environment introduced in #339 that explains why tests were passing while inter-cluster communication was failing for Java 11 or prior versions. In the past, tests were running on the docker image without openssl installed and tests that exercise openssl functionality were disabled on OpenSsl.isAvailable() condition. Those tests are now enabled and they won't pass without changes in this PR.

Thanks for the explanation.


how i can update the weights inside keras cnn layers i want to update both biases and weight during inference

The keras.applications module has been splitted from the main Keras repository.
Please submit your issue using this link.
Thank you!

@Uspark-dev
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.


Silencer not working

I've added silencer to my rails 4.2 application and it is not working. I'm trying to omit things coming from gems.  I've added this initializer
config/intiailizers/silencer.rb
Rails.application.configure do
  config.middleware.swap(
    Rails::Rack::Logger,
    Silencer::Logger,
    config.log_tags,
    silence: [%r{^/var/lib/gems/}]
  )
end

And I'm still get logs like this
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/rack-cors-1.0.6/lib/rack/cors.rb:98:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/rack-cors-1.0.6/lib/rack/cors.rb:98:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:518:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:165:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/rack-1.6.12/lib/rack/content_length.rb:15:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/puma-4.3.1/lib/puma/configuration.rb:228:in `call'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/puma-4.3.1/lib/puma/server.rb:681:in `handle_request'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/puma-4.3.1/lib/puma/server.rb:472:in `process_client'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/puma-4.3.1/lib/puma/server.rb:328:in `block in run'
17:10:47 web.1         | /var/lib/gems/2.6.0/gems/puma-4.3.1/lib/puma/thread_pool.rb:134:in `block in spawn_thread'

@antarr Sorry that I'm just responding to this and I hope you found a solution to the issue you were having. This gem isn't meant to accept a local filesystem path. Instead, it was intended for specifying URL paths in your application. I hope this helps!


Ukrainian Translation Final Steps!

Congrats on almost finishing the Ukranian docs! There are just a couple more things we need to do before we can mark the core pages as complete!

[x] Change the DocSearch API key  #69 . One of the maintainers needs to sign up for DocSearch
[ ] Go over the pages of the site one last time to check for consistency

@tesseralis sounds good! Thank you, we'll work on it 🙌

@klymenkoo let's finish this one over the weekend.
96% of core translation is completed 🚀

@ApolllonDev waiting for the last document: Forms.

#112

@ApolllonDev waiting for the last document: Forms.


set_precision doesn't remove 0s, so set_from_cents + set_precision(0) does not format correctly

I pass a format function the value in cents, or more accurately, in hundreds since e.g. JPY don't really do subunits.
But I have to deal with multiple currencies, so I do:
let value = 100.0;

let otp = CurrencyOpts::new()
	.set_from_cents(true) // The data I have is in centi units, so, from cents is true
	.set_precision(0) // Japanese yen aren't actually fractional
	.set_symbol("¥");

Currency::new_float(value, Some(otp))

The expected outcome is that because of set_from_cents is true, this will calculate that I have 1 yen, and then because precision is at 0, it will display ¥1 rather than ¥1.00.
Instead, it still displays the latter, but without the dot - e.g. ¥100.
If I set precision to 1, it displays ¥10.0 which is also incorrect, it should be ¥1.0
Either set_from_cents does not calculate the value to correctly be 1.00 or set_precision does not format the currencty correctly, or both.

@Gremious Sorry for the late response.
I am not sure as to what the issue is, it seems to me that this feature works as intended.
That's true, if your input is let value = 1.0; and you have set_from_cents as true and set_precision as 0, so your out put should be ¥1 (one yen), it will not display as ¥1.00 cause set_precision is 0,
Now since your input is let value = 100.0; with the same options set, your out put will be ¥100 (one hundred yen) with 0 precision
Am i missing something here.
Again sorry for the late response, been busy at life 🙇🏾♂.

let value = 1.0; and you have set_from_cents [...] so your out put should be ¥1 (one yen)

If it's from cents, should it not be 0.01?
Same with let value = 100.0; - 100 cents should be 1 dollar/yen/etc.?

I think there is a confusion here.
First of all, since the japanese currency has no fraction, you don't need to use set_from_cents.
Same with let value = 100.0; - 100 cents should be 1 dollar/yen/etc.?

Yes: if its dollar and precision is set to 2 because USD has 2 decimal points.
No: for yen if precision is set to 0.
set_from_cents is intended for countries with fraction currency like USD, which has 2 decimal points.
So if you want to convert cents to dollar you use set_from_cents and set the right precision for the given currency
Examples
The country i am in (KUWAIT) has 3 decimal points, so 1000 fils (<- cents) = 1 dinar (<- dollars).
use currency_rs::{Currency, CurrencyOpts};

fn usd_from_cents(value: f64) -> Currency {
    let otp = CurrencyOpts::new()
        .set_from_cents(true)
        .set_precision(2)
        .set_symbol("$ ");

    Currency::new_float(value, Some(otp))
}

fn usd(value: f64) -> Currency {
    let otp = CurrencyOpts::new().set_precision(2).set_symbol("$ ");

    Currency::new_float(value, Some(otp))
}

fn yen(value: f64) -> Currency {
    let otp = CurrencyOpts::new().set_precision(0).set_symbol("¥ ");

    Currency::new_float(value, Some(otp))
}

fn yen_from_cents(value: f64) -> Currency {
    let otp = CurrencyOpts::new()
        .set_from_cents(true) // <- Not really need cause
        .set_precision(0) // <- cause precision is zero
        .set_symbol("¥ ");

    Currency::new_float(value, Some(otp))
}

fn kwd_from_cents(value: f64) -> Currency {
    let otp = CurrencyOpts::new()
        .set_from_cents(true) // <- Not really need cause
        .set_precision(3) // <- cause precision is zero
        .set_symbol("KWD ");

    Currency::new_float(value, Some(otp))
}

fn kwd(value: f64) -> Currency {
    let otp = CurrencyOpts::new()
        .set_precision(3) // <- cause precision is zero
        .set_symbol("KWD ");

    Currency::new_float(value, Some(otp))
}

fn main() {
    let usd_from_cents1 = usd_from_cents(100.0);
    let usd_from_cents2 = usd_from_cents(99.0);

    println!("\nusd from cents");
    println!("{}", usd_from_cents1.format()); // output -> $ 1.00
    println!("{}", usd_from_cents2.format()); // output -> $ 0.99

    let usd1 = usd(1.0);
    let usd2 = usd(0.99);

    println!("\nusd");
    println!("{}", usd1.format()); // output -> $ 100
    println!("{}", usd2.format()); // output -> $ 99

    let yen1 = yen(100.0);
    let yen2 = yen(99.0);

    println!("\nyen");
    println!("{}", yen1.format()); // output -> ¥ 100
    println!("{}", yen2.format()); // output -> ¥ 99

    let yen_from_cents1 = yen_from_cents(100.0);
    let yen_from_cents2 = yen_from_cents(99.0);

    println!("\nyen from cents");
    println!("{}", yen_from_cents1.format()); // output -> ¥ 100
    println!("{}", yen_from_cents2.format()); // output -> ¥ 99

    let kwd_from_cents1 = kwd_from_cents(1000.0);
    let kwd_from_cents2 = kwd_from_cents(990.0);

    println!("\nkuwait from cents");
    println!("{}", kwd_from_cents1.format()); // output -> KWD 100
    println!("{}", kwd_from_cents2.format()); // output -> KWD 99

    let kwd1 = kwd(1.0);
    let kwd2 = kwd(0.99);

    println!("\nkuwait");
    println!("{}", kwd1.format()); // output -> KWD 100
    println!("{}", kwd2.format()); // output -> KWD 99
}

Ah, I think I understand now, from_cents actually accounts for precision, so that you can do the amount of "cents" the currency expects (e.g. 1000), and it will render it right.
My data happens to be standardized so 100.0 = 1 dollar/yen/kwd/any (It's what YouTube gives you) so I though yen(100.0) would return ¥ 100 while yen_from_cents(100.0) would do ¥ 1
But if it worked like that, you couldn't do kwd_from_cents(1000.0) as one would expect.
For my case then, what I do right now both works and looks like the intended way:
// e.g. 10.00 for ¥10, yen will never be give you 10.25 since yen doesn't really have cents
// dollar might
let value = value as f64 / 100.;

let otp = CurrencyOpts::new()
	.set_from_cents(false)
	// 0 for yen, 2 for dollar, etc.
	.set_precision(...)

Thank you, you can close this issue :)


category widget: show percentage of total each category represnts

Category widgets can aggregate in some fancy ways, but getting a fuller picture like: of the current view, what percentage of the total does this category represent?
In this map: http://www.fastcodesign.com/3061143/infographic-of-the-day/where-san-francisco-residents-are-getting-evicted
I want an easy way to know the percentage of 'high rise dense urbanites' as well as the count. I don't see an easy way to do this with the widget/analysis framework since the view changes the values in the widgets and this calculation is (num of category in current view) / (total num in current view)

Relate to https://github.com/CartoDB/design/issues/52

Moving it to design

Issue moved to CartoDB/design #258 via ZenHub

But wait, design is ready. This ticket should be here since it needs to be implemented.

I'd still reallllllyyyy love for this to be a thing!!


Typo in "Constructors" section.

new Test(); // the returned object ({name:'Charles'}), not including someValue
should be :
new Person(); // the returned object ({name:'Charles'}), not including someValue

Thanks.


Feature/teleport dispenser

model names (instance names) now editable

model names generated for SDF are now only appended with indices only if there are duplicates. Previously,

Table1
Table2
Chair3
Person4
Person5

now,
Table
Table2
Chair
Person
Person2

This allows uniquely named models with functions (eg. dispensers) to set their guid to their model names, so users can design model interactions from the traffic editor.

added TeleportDispenser and TeleportIngestor thumbnails, they are the same as RobotPlaceholder

Let me know if you would prefer for this PR to wait for your merge over the next few days.

I was afraid you made more elaborate changes than that for other purposes, thanks for the quick response!


Allow Installation on External ext4 partition

Is your feature request related to a problem? Please describe.
Default install of WSL2 creates a large ext4.vhdx file on my main Windows partition. I know how to export and import it to an external drive which helps...
https://superuser.com/questions/1550622/move-wsl2-file-system-to-another-drive
But it would be ideal if you could choose the drive and location for ext4.vhdx during installation, And if you allow this, why not allow mounting an actual ext4 partition. It's awkward to have an external NTFS D:\ drive to hold a virtual drive (ext4.vhdx) when I'd rather have that external drive be an ext4 partition.
Describe the solution you'd like
During installation, allow extra target locations. A folder location on an external drive. An actual ext4 partition on an external drive.
Describe alternatives you've considered
What I've done is have my WSL2 system on the ext4.vhdx virtual drive located on an external NTFS drive (D:). But I have the bulk of my Linux data on a 2nd external drive partition that's formatted as ext4. WSL2 has the ability to mount a physical ext4 partition...
https://www.scott-low.com/using-wsl-to-create-an-ext4-partition-for-teslacam/
Additional context
Add any other context or screenshots about the feature request here.

It's a platform issue and would need to be addressed by the team responsible for maintaining the MS Store deployment (we've been waiting years, so expect it will never happen).  There are several work-arounds which all revolve around custom importing.