perf: correctly split timestamp by file/dependency and only call getTimeInfoEntries once

contextTimestamps and fileTimestamps are nearly identical in their entries. They start as exact copied maps of each other, and only then are modified when FileSystemInfo crawls for more information. The data present in these maps (path => timestamp data) is valid for both context and file scenarios. These changes ensure that both contextTimestamps and fileTimestamps are backed by the same data map so they can take advantage of timestamps found for the other.
The changeset intentionally does not change the usage of file vs context timestamps, it simply causes both cases to use shared data, saving memory of a very large map (large at least in large mono-repo type projects)
What kind of change does this PR introduce?
perf
Did you add tests for your changes?
no, ensure current tests pass, there is no expected change in functionality
Does this PR introduce a breaking change?
no, but to limit future confusion, I suggest deprecating addContextTimestamps and getContextTimeInfoEntries
What needs to be documented once your changes are merged?
nothing

I see the benchmark repository has a build to compare 2 branches - I wonder if it is possible to queue with this branch or how to acquire queue permissions to do so.

contextTimestamps and fileTimestamps are nearly identical in their entries.

Better improve the watcher implementation so that they are not identical. Actually the watcher should provide different maps for files and directories, but that was never implemented.

It seems that would also be a valid solution, but I wonder what ways that would be better than the proposed solution here. This approach seems less error-prone (not possible to add an entry to the wrong set, though I guess could be confusing that two variables must share their reference), and perhaps more importantly, is entirely backwards compatible.
Am I missing some reason (perhaps performance of large sets?) why actually splitting these sets would be preferable?

is entirely backwards compatible.

It's not, since you are ignoring all context timestamps from the watcher. If a (e. g. custom) watcher provides different values here, they would be ignored now. compiler.contextTimestamps can also be accessed by plugins, and now it's always empty...

is entirely backwards compatible.

It's not, since you are ignoring all context timestamps from the watcher. If a (e. g. custom) watcher provides different values here, they would be ignored now. compiler.contextTimestamps can also be accessed by plugins, and now it's always empty...

compiler.contextTimestamps is never empty, it is set as a reference to the merged map (see L128 of Watching.js).
I did not consider the custom watcher case. I do think there is a strategy to make that backward compatible (by still accepting comtextTimestamp param in _go, but not passing it in built in watchers).
Let me spend some time tomorrow to see if I can grasp the required watchpack changes you suggested as well.

See the splitting approach implemented in https://github.com/webpack/watchpack/pull/205

Marked as draft, as new changes are dependent on review, merge, and release of webpack/watchpack#205
cc @sokra

@sokra PR updated with<EMAIL_ADDRESS>

Thanks


🐞[bug]: The dark mode

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The dark mode is just visible on the navi bar, and not the rest of the website. Also, on switching to the dark mode, the navi bar text is not visible.
Expected behavior
When the dark mode is switched to, the whole website should switch its colour pallete,
Add ScreenShots

What browsers are you seeing the problem on?
Chrome
Record

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

Hii @Anjaliavv51 !!
please assign me the issue.


Fix notes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

MPI/mpi-alltoallw-function.md
:white_check_mark:Succeeded
View

MPI/mpi-group-range-incl-function.md
:white_check_mark:Succeeded
View

MPI/mpi-recv-function.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Failed module error

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
At each failed module an error is raised and the stack of the old one is included as a message. Sometimes, the final error is too long.  #14744 ,#16283 .
What is the new behavior (if this is a feature change)?
The developer has the option to disable either the stack or the whole error from being generated.
angular.errorHandlingConfig({isModuleError:/*Boolean*/,isModuleStack:/*Boolean*/})
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

Like I said in https://github.com/angular/angular.js/pull/16283#issuecomment-338988304, I don't think that adding more config options is very developer friendly. We should have a sane default that automatically restricts the length of the error message. Not many developers will dig into the config to find some config option that might affect the length of the error messages they are seeing.
I also don't understand why you are not responding to the feedback I gave in the previous PR, and instead simply open a new PR.


yotta clean fails on windows 7

Hi
environment: windows 7, cygwin
problem: yotta script faults when tries to do clean
here is the traceback:
simhug01@E103032 /cygdrive/c/develop/public/jobs/yr2015/2209/work/20150304/proj/mbed-example-asynch-spi
$ yotta clean
Traceback (most recent call last):
File "C:\mbed_tools\Python27\Scripts\yotta-script.py", line 9, in
load_entry_point('yotta==0.0.43', 'console_scripts', 'yotta')()
File "C:\mbed_tools\Python27\lib\site-packages\yotta\main.py", line 135, in main
status = args.command(args, following_args)
File "C:\mbed_tools\Python27\lib\site-packages\yotta\clean.py", line 23, in execCommand
fsutils.rmRf(os.path.join(c.path, 'build'))
File "C:\mbed_tools\Python27\lib\site-packages\yotta\lib\fsutils.py", line 28, in rmRf
shutil.rmtree(path)
File "C:\mbed_tools\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\mbed_tools\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\mbed_tools\Python27\lib\shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "C:\mbed_tools\Python27\lib\shutil.py", line 254, in rmtree
os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: 'C:\develop\public\jobs\yr2015\2209\work\20150304\proj\mbed-example-asynch-spi\build\frdm-k64f-gcc\CMakeFiles'
simhug01@E103032 /cygdrive/c/develop/public/jobs/yr2015/2209/work/20150304/proj/mbed-example-asynch-spi
Simon

Is it possible that you had a file in the build directory open/locked by an editor?

(closing because I can't reproduce, I suspect a file in the build directory was locked due to an open explorer window, or editor)


Instagram Rip no longer works

So Iconosquare has updated their site and somehow ripping through the site has stopped. Trying to rip instagram profiles leads to "Unable to fine User ID at "
Example using a public page: http://iconosquare.com/marvel

I secondthis
Loaded /home/ohhdemgirls/ripme/rip.properties
Loaded log4j.properties
Initialized ripme v1.1.8
Retrieving http://iconosquare.com/missphitran
[!] Error while ripping URL https://instagram.com/missphitran/
java.io.IOException: Unable to find userID at http://iconosquare.com/missphitran
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getUserID(InstagramRipper.java:103)
	at com.rarchives.ripme.ripper.rippers.InstagramRipper.getFirstPage(InstagramRipper.java:108)
	at com.rarchives.ripme.ripper.AbstractJSONRipper.rip(AbstractJSONRipper.java:54)
	at com.rarchives.ripme.App.rip(App.java:47)
	at com.rarchives.ripme.App.handleArguments(App.java:101)
	at com.rarchives.ripme.App.main(App.java:37)

I fixed this issue in my fork.
Iconosquare changed the url from iconosquare.com/user/xyz to iconosquare.com/xyz. You simple need to fix the url in InstagramRipper.java

Good job DJ


Netty BOM inherit from parent and its own dependency management

A BOM was recently added in #5994 but is not valid.
A BOM should only expose dependency management for the artifacts that the project produces (so in this case, netty artifacts). It should not have an opinion about third party dependencies (otherwise including that BOM in a project potentially overrides decisions that were made about them).
One way to fix that would be to stop inheriting from netty-parent. Also, I'd set the version of each dependency in the bom rather than using ${project.version}. If you're including the bom for netty X.Y.Z, it should be X.Y.Z. and nothing else (Maven does not allow to override that property, which is good so it's not strictly necessary but the intent is more clear if you hardcode the current version).
Here is an example of BOM for reference: http://repo.spring.io/release/org/springframework/spring-framework-bom/4.3.8.RELEASE/spring-framework-bom-4.3.8.RELEASE.pom
We'd like to use this bom in Spring Boot but we can't for that reason.

I'll fix this as it was my doing.

@snicoll by removing the reference to the parent the version of the bom artifact is no longer updated when the version is bumped via Maven plugins, I will check into this soon.

@johnou you can use the oss-parent (you'll have to add a few more details to the pom so that you can publish it to Maven central anyway).

@jasontedor I see that the recent artifact you contributed (netty-dev-tools) uses oss-parent instead of netty-parent, do you know if the artifact version for netty-dev-tools will be incremented as part of the release / deploy cycle? At least with my local tests using versions:set -DnewVersion=.. it is not updated.

to answer myself I believe the answer is yes, just tested with the following.. mvn --batch-mode release:update-versions -DdevelopmentVersion=4.1.11.Final-SNAPSHOT

Yes, you got it.

Fixed by https://github.com/netty/netty/pull/6676


MNT: Add boltons

Thanks for all the fixes. This was basically copy/paste code from other conda recipes. I'll fix this tomorrow morning

@tacaswell should be good to go


Mismatch @arcgis/core version

Hi there,
To be sure that the imports work from my intellisense (with VSC), I've added a few devDependencies to the package.json of the project that was generated using npx @vertigis/web-sdk create <library-name>:
{
    "devDependencies": {
        "@arcgis/core":"4.21.2",
        "@types/react":"17.0.24",
        "@types/react-dom":"17.0.9",
        "@types/react-window":"1.8.5",
        "@vertigis/arcgis-extensions":"33.5.5",
        "@vertigis/react-ui":"8.12.0",
        "@vertigis/viewer-spec":"43.0.0",
        "@vertigis/web": "5.15.0",
        "@vertigis/web-sdk": "1.4.0",
        "typescript": "^4.3.2"
    }
}

These versions should match those needed for web 5.15. However, the @arcgis/core dependendency gives an error with npm install:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
It seems that the peerDependency in the @vertigis/arcgis-extension library causes this:
  "peerDependencies": {
    "@arcgis/core": "~4.19.0",
    "tslib": "^2.3.1"
  },

Regards,
Guus

Hi Guus,
Thanks for bringing this to our attention. I'm not sure how this peer dependency version got out of sync. I have a fix coming which will be released in 5.16.1 of VertiGIS Studio Web, which will likely be out in the next week or two at most. Thanks for your patience.
Eric

@sweco-nlgucu , VertiGIS Studio Web 5.16.1 is now live and an updated package was published to npm. Please let me know if this resolves the errors you were experiencing and I'll close this issue.

@eric-parsons this seems to be fixed now, thanks 👍

Great, glad it's fixed now. We'll try to keep an eye on this for future releases.


Added example with Linkurious Ogma

Here's a code sample of using Ogma graph visualisation library with Amazon Neptune. It follows the Vis.js example but adds somewhat clearer code and uses rollup to bundle the application.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kevinphillips81 Thank you for the review, I have addressed your comments in my latest commit.

@kevinphillips81, thanks a lot! I am not sure what to do with your second comment, should I replace these paragraphs with the link?

For the second comment on IAM, you can just add a link after the reference:

Access to AWS IAM Permissions for


Error on startup when creating React Excel Addinwith Yeoman

I'm trying to run the office setup for Excel using yo.  When I try to run the app, I get the following error:
$ npm start

><EMAIL_ADDRESS>start C:\Users\ecloward.ODA\source\repos\sift.addin
> webpack-dev-server --inline --config config/webpack.dev.js --progress

C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\bin\webpack-dev-server.js:363
    throw err;
    ^

TypeError: Cannot destructure property `compile` of 'undefined' or 'null'.
    at addHooks (C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\lib\Server.js:114:49)
    at new Server (C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\lib\Server.js:127:5)
    at startDevServer (C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\bin\webpack-dev-server.js:355:14)
    at processOptions (C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\bin\webpack-dev-server.js:309:5)
    at Object.<anonymous> (C:\Users\ecloward.ODA\source\repos\sift.addin\node_modules\webpack-dev-server\bin\webpack-dev-server.js:424:1)
    at Module._compile (internal/modules/cjs/loader.js:688:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
    at startup (internal/bootstrap/node.js:285:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `webpack-dev-server --inline --config config/webpack.dev.js --progress`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\ecloward.ODA\AppData\Roaming\npm-cache\_logs\2018-11-27T00_32_57_505Z-debug.log

Please let me know how to resolve this or if there is a better way to get running.

@ericklind sorry to hear that you're having trouble using the Yeoman Generator for Office Add-ins (aka "Yo Office") to create an Excel add-in with React. Issues in this GitHub repo are intended to report problems with the Office Add-ins documentation, but this seems like a problem with Yeoman Generator for Office Add-ins itself. Therefore, I'm going to transfer this issue to the OfficeDev/generator-office repo instead.


Any way to restore "instances"  ?

We were using the instances variable to provide users an easy way to enable/disable debug.
Is there a way you could provide us a way to get that list while still fixing the memory leak?
thanks!

Unfortunately no, there is no way to do that as we do not track them centrally. That was the whole cause of the memory leak to begin with, and it was undocumented.
Best to make a wrapper.

Got it. Thanks!


Update Gradle to 5.6.3

Fixes #16

Codecov Report

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

@@          Coverage Diff          @@
##           master    #17   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          18     18
=====================================
  Hits           18     18

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 c00da82...871171b. Read the comment docs.

@mattyway thanks for the contribution :+1:


DCOS-11789: Renaming repositories tab

This PR renames the the Repositories page to "Package Repositories".
Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future? Not applicable

Retest this please

Run integration tests

Run unit tests

Run integration tests


fix: set test state failed if error is thrown in before hook

Fix for issue #159

@muhammadyusuf-kurbonov Thanks for looking into this. Can you please add some tests to this project for your expected behaviors?

Note: The exact states of tests in some hook scenarios is still a bit wierd but OK for now. Better than before.


Robust error handling

As discussed here, the error handling for this module is perhaps non-optimal.

+1 I also came along with the invalid-token-issue.
Don't know if https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/21 is obsolete then.

@lance fyi moved to https://issues.jboss.org/browse/KEYCLOAK-3112


feat: benchmarks

Ugh. I sank a number of fruitless hours into trying to understand how the benchmark environment, which is seemingly identical to all the others, actually differs and doesn't have numpy longdoubles.


Modal/TOC error

Here, ignore the “scene” field, it is inaccurate/wrong (populated from “get_modal_array” function from functions.php). Looping through the keys (“biogenic-inverts” or ca-sheephead”) and accessing modal_id, title is enough from child_Ids

When modal data is fetched from API, this data is displayed:

Which are 10 modals and their corresponding ID’s; these are modals from every instance, etc., which is why we want to use the modal_id from the previous image. However, those modal IDs do not show up here for some reason, which is what I want to figure out. As a result certain modals do not render anything (undefined) when they are repeats/or when on different scenes. Is this a problem with the API call or some client side error -- figure this out
Also, question:
If two of icons occur in 2 different scenes, they should be completely different/should not display the same info?
As a result of this:
Icons that occur in multiple scenes (ie CA Sheephead) will be present in TOC of all of those scenes, even if they have only been explicitly created for one of those scenes.

update: I think what needs to be addressed is when there's icons w/ the same name in multiple scene

potential issue within functions.php, get_modal_array function?
https://github.com/ioos/sanctuarywatch/blob/e9cdaafc841d90bb1b67dc95de7a5bcb496b7c13/themes/Sanctuary_Watch/functions.php#L415
need to look at that line -- in particular, which icon is being pulled in. My theory is that since I'm just generally pulling icons by ID from database, the latest icon with that name -- and not the icon that pertains to this page -- is the one that is accessed when the same icon occurs across multiple files.

fixed: checked for duplicates/multiple occurrences of an icon within get_modal_array (created new helper function as well) in functions.php, then filtered out duplicates in script.js (process_child_obj function)


Add ironic_client container to deploy the masters

To automate the steps required to deploy the masters
we can run the same steps described in the README via
a container.
In future we might drive this sequence directly via some
code shared with the worker deployment, but for now
this helps us bootstrap a test environment.

Closing for now, will follow up with a version that runs on the host instead


Blank values in cumulative counts csv

Please can you fix the blank values in the cumulative counts csv. If there are no new cases the number should be the same as the previous day. The blank values have to be corrected before we can analyse the data

Related to the pipeline ETL. Under review.

 Areas with 0 reported cases sometimes not included in dataset


feat: convert to esm

What I did:

npm 7 updated lock to v2
update mocha to support esm
rename index and test to .mjs files (temporarily)
made TreeModel & Node a class and "moved" its prototype function into it

I was hoping github would show it "better" but I basically the only thing I did to the functions is move it into the class and adjust it like that
- Node.prototype.addChildAtIndex = function (child, index) {
+ addChildAtIndex(child, index) {

suggested nest steps:
see #84

changed the target to next - ready to be merged 🤗


RFP - Google Chrome Beta #494

New package based on the existing GoogleChrome package that will install the Google Chrome Beta version side-by-side with the standard Google Chrome package.
Description
Add new googlechromebeta package.
Motivation and Context
The beta version is useful for tests UIs to ensure they are compatible with the next release of Chrome.
How Has this Been Tested?
Package has been built and tested locally, both installing and uninstalling.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[x] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] All files are up to date with the latest Contributing Guidelines
[x] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

We prefer to add streams if possible instead of multiple packages.  This can probably be done even without streams by changing current package to take care of this and adding -betaxyz to version to mark it as prerelease.

:white_check_mark: Package verification completed without issues. PR is now pending human review

:white_check_mark: Package verification completed without issues. PR is now pending human review

@AdmiringWorm / @majkinetor / @FranklinYu - what is the process for getting this code re-reviewed no I have made the changes requested?

@nsleigh I'm not part of Chocolatey; I assume that we have to wait for them. I guess there was an internal discussion about this.

@majkinetor It looks like there is an issue with this package https://chocolatey.org/packages/GoogleChromeBeta
The comment says "The package id includes a prerelease version name which should be included only in the version of the package." but "More" link points to an incomplete page,
Is there something I need to do?

Never seen it, but looks like it complains you named a package with beta. It asks you to either release under existing name or choose another one without beta.
You could use the existing page TBH and add -beta always at the end. That way you will be able to install googlechrome the same way by adding --pre flag to cinst.

Looking at the firefox package that uses firebox-beta, may be I should follow that model.

@nsleigh wouldn't work, the firefox-beta package is also hitting the same requirement, however since I't s released as a pre-release it doesn't get stopped because of it.

@AdmiringWorm how would I go about marking this one as pre-release, if I did would it work?
@majkinetor do you have an example of a package that supports the "-pre" (apologies for the questions but I am struggling to find the documentation on this).

@nsleigh just add -beta at the end of your version number.

@majkinetor I have added the "-beta" to the version, can this be reviewed and merge to trunk?

@AdmiringWorm / @majkinetor - can you help get this change released?

Sorry, forgot about thsi, Youu need new pool request

Thanks, I'll work on that over the weekend.

Hello, it is almost 2 years and the beta version for google chrome is not going live yet on Chocolatey. Is there a problem?

Hello, it is almost 2 years and the beta version for google chrome is not going live yet on Chocolatey. Is there a problem?

@dtantono
I don't know what you are referring to according to the update history.
2021-01-29 (6) Vscode-insiders – Vscode-insiders.install – Dropbox – Googlechromebeta – Minikube – Vim
The latest update for googlechromebeta was today.
Since it is a --pre package it is not going to be in the normal stable list of packages on the chocolatey website for the community feed.
Thanks for following up on this issue.

@dtantono
I don't know what you are referring to according to the update history.
2021-01-29 (6) Vscode-insiders – Vscode-insiders.install – Dropbox – Googlechromebeta – Minikube – Vim
The latest update for googlechromebeta was today.
Since it is a --pre package it is not going to be in the normal stable list of packages on the chocolatey website for the community feed.
Thanks for following up on this issue.


WIP: Make the container After Validation (Non Authed).

Ability for user to manage (CRUD) Docker registries via Rancher.
Ability for users to select which Docker registry when launching containers.
Ability to authenticate against Docker registries.
Validate image if it is from index.docker.io. Don't validate otherwise in cattle
Validate images and send up proper error from python agent to cattle when using nondocker repos.
Auth comes from reg cred which has registry.
Be able to get all images that an account has used.


Missing Documentation for Visualization Permissions

Is your feature request related to a problem? Please describe
We are running the current v2.13 Opensearch Dashboards.
Currently facing the issue that only Admins with the all_access role can see the option to select the default or custom vector maps when creating a Region Map visualization.
There is no documentation on which cluster or index permission is needed to allow this possibility. See the different views in the attached screenshots

Describe the solution you'd like
The exact permission that can be added to a role to grant the permissions to be able to select the preferred vector maps
Related component
Other
Describe alternatives you've considered
We do not want all users to have the all_access role on our cluster.
We would like to refine the permissions needed and restrict access via a custom role.
We have already tried granting full observability access permission but this did not change anything.
Additional context
No response

@scrawfor99 - Do you know if this is something missing from our docs, or is it not possible at this time?

Hi @boxinegmbh , since this is a specific configuration, the recommendation is to ask for input from the community on the forum, https://forum.opensearch.org/, or ask in one of the Slack channels, like https://opensearch.slack.com/archives/C01QHR7481Y. If you'd like to document the solution, we always accept contributions!


Back to top component needs work.

Changing the data-hide-after attribute doesn't do anything on the back-top-top component. I verified this with manual testing and by debugging the source code (timer is always null)
@aaronhans Assigning to you for two reasons:

A demo of this component will be tricky because it's designed to work in interaction with the entire page. In my local testing I fill the page with lorem ipsum.
We should remove the data-hide-after attribute from the Sample markup.

cc @chachasikes

I am doing some testing with this component in the design system now.

I added the component code to the main bundle so it appears everywhere on the site now since the custom element was already in the footer
The data-hide-after attribute is working as expected for me, I am able to provide larger and smaller value and see the component leaving view faster and slower

One point that was confusing to me was that the behavior is designed so that it only initially appears when the user begins to scroll back up.
I think we should explain that in the readme.
What if we changed the end of the top section from:
The button disappears after 7 seconds. If someone scrolls again, it will reappear.
to:
The button appears when the user has scrolled past the first screen and begins to scroll back up. It disappears after 7 seconds. If someone scrolls again, it will reappear.
What do you think @zakiya and @m-sullivan7?

I support that language if @zakiya is good with it. 🙂

@aaronhans can you record screen or maybe we can pair? I'm still not seeing it disappear after 7 seconds.

Local video:
https://user-images.githubusercontent.com/915352/150197406-0cf6d110-5994-4cee-85cb-aca6a51d201c.mp4
and the code that I'm testing : https://github.com/zakiya/odi-ds-content-tests/tree/main/ds-back-to-top

I opened a PR to your personal repo with changes that make the demo work as expected https://github.com/zakiya/odi-ds-content-tests/pull/1

@aaronhans Thanks for those changes! It makes sense that the doctype is needed. I was still a bit confused about the behavior.  In addition to your suggestion I would add:
"The button appears when the user has scrolled past the first screen and begins to scroll back up. It disappears after 7 seconds by default. If someone scrolls again, it will reappear. If the user reaches the top of the page at any point, the button will disappear right away."
Do you want to work on the demo in the design system website or should I?

I like the description updates you have there @zakiya
The back to top is in the main bundle so shows up on all pages on the design system site now.
What if we changed the sample markup/demo setup in this page to be just plain HTML with no preview but added language saying the component can be seen at the bottom right on this page if you scroll down then back up?

I like that idea @aaronhans !

Cool PR here https://github.com/cagov/design-system/pull/399
@m-sullivan7 you are tagged on it, let us know if you approve of the latest content changes

PR approved. Thanks!


Urgent! Get Gold Issue

It does nothing...
By the way, what does the CHESTESP do?
GETGOLD file does nothing

chestesp lets u see whats inside the chest before u open it

What do you mean?


versions: update kbs image tag

Update kbs image tag to make it compatible with current guest component and caa.
Fixes: #1785

@kartikjoshi21 - is this required for the 0.8.1 release? or something for after that?

@kartikjoshi21 - is this required for the 0.8.1 release? or something for after that?

I wouldn't say it's required. this is part of the kbs remote-attestation tests that are still WIP

Can you quickly explain why exactly this hash?

I think it is one of those images that gets built on each merge to main. And this is the one compatible with the current guest-components version.

I'm not sure whether this is right PR to discuss but we know KBS consists of the resource-service, attestation-service and the RVPS-service. Is the new tag (I guess it'll be deployed when do e2e test) includes all these services?

I'm not sure whether this is right PR to discuss but we know KBS consists of the resource-service, attestation-service and the RVPS-service. Is the new tag (I guess it'll be deployed when do e2e test) includes all these services?

This is trustee repository commit tag which is compatible with current guest component version. It is used to clone trustee repo to working directory of test and to fetch kbs image.

I'm not sure whether this is right PR to discuss but we know KBS consists of the resource-service, attestation-service and the RVPS-service. Is the new tag (I guess it'll be deployed when do e2e test) includes all these services?

yes it should


TF version, circular import dependencies, AttributeError: 'module' object has no attribute 'ops

Hi,
I have a problem with executing the Karpathy game notebook. Cell 9 gives rise to the following error:
---------------------------------------------------------------------------AttributeError                            Traceback (most recent call last)<ipython-input-6-16dd03e0e8b6> in <module>()
      6 else:
      7     # Tensorflow business - it is always good to reset a graph before creating a new controller.
----> 8     tf.ops.reset_default_graph()
      9     session = tf.InteractiveSession()
     10
AttributeError: 'module' object has no attribute 'ops

This usually happens when there are circular import dependencies, however, I could not find any. I am using Tensorflow 0.71 and Python 2.7.6 The error also occurs with Python 3.4. Which Python and tensorflow version are you using?
Thanks a lot for the nice code!

I am using tensorflow 0.6 and python 3.4.
But if just this one line changed, maybe it's worth looking up what the equivalent in tf 0.7

I did look it up,
tf.ops.reset_default_graph()
is the same in tf 0.71, so that should not be the problem.

yeah, apparently it changed. It lost an ops.
tf.reset_default_graph()

Great, that fixed it! Thanks a lot! It runs fine with PyCharm now. I have another issue when I run this  with Jupyter in a browser, but that''s a different story.


i can't create virtual machine

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
``
Errors:

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
``

Expected Behavior
Environment Summary
Linux-5.4.0-1051-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.25.0

Extensions:
ai-examples 0.2.5
ssh 0.1.5

Additional Context

Please provide more detailed info related to which command in Azure CLI, your environment and log info.

This is an auto generated Issue with not enough information to debug. Closing.


[ttauri] Update ttauri to version 0.4.0

Update ttauri to version 0.4.0.

What does your PR fix?

No associated issue.

Which triplets are supported/not supported? Have you updated the [CI baseline]

no change, support only: x64-windows-static

Does your PR follow the maintainer guide?
Yes.

Yes.

LGTM, @takev


C3: Relax empty directory check

Fixes #4212.
What this PR solves / how to test:
This relaxes the existing directory check to allow files such as .git, .hg, and .DS_Store that are created by IDEs, the OS, or are benign config files. These don't conflict with c3 and the existing check impedes the workflow of users who create folders via their IDE.
Associated docs issue(s)/PR(s):

[insert associated docs issue(s)/PR(s)]

Author has included the following, where applicable:

[ ] Tests
[ x ] Changeset (Changeset guidelines)

Reviewer is to perform the following, as applicable:

Checked for inclusion of relevant tests
Checked for inclusion of a relevant changeset
Checked for creation of associated docs updates
Manually pulled down the changes and spot-tested

Note for PR author:
We want to celebrate and highlight awesome PR review! If you think this PR received a particularly high-caliber review, please assign it the label highlight pr review so future reviewers can take inspiration and learn from it.

I'm really not sure about this approach, it seems rather brittle and requiring lots of maintenance tweaking in the long run 😕
for example, I can see LICENSE, what about LICENSE.md, licence.md? README? README.md? readme.md? .gitkeep? .vscode?
I think the list can go on and on and be rather long etc...

You're not wrong 😄 . The list does seem hit or miss, and does seem like the type of thing that will need to be tweaked to no end. FWIW astro and next use the same technique in their scaffolding tools, as do others. I don't think we should maintain the list ourselves, but rather use the union of all files allowed by framework creators.

Maybe instead of listing what we allow, we could list all the files that we have in our templates and just error on conflicts for those? and let the process continue otherwise (meaning that the framework clis would do whatever checks they do for webFrameworks hopefully covering that for us?)

I think the block list turns out to be a hard problem. If we wanted to do this, we'd have to generate permutations of every possible c3 run with each option, and then collect a set of all the possible files to check against. This too will change over time, so we'd have to automate the process to happen on PRs (possibly just of new templates).
Then, if we let framework clis just do whatever checks just handle the validation, it means that instead of failing during the first step like this PR would do, they will fail during the scaffolding step as we call the framework cli.

Could we instead do something like showing a warning telling the user this directory is not empty, the process might fail, do you want to proceed? Y/n? or something along those lines?

This sounds like a better option, but I think we want to strongly avoid destructive operations. If we confirm and let them despite the file being non-empty this is possible in a way that it's not today. I think we should still crash in scenarios where we think this could happen, but just exempt a few simple corner cases where this commonly pops up for users -- like when they create a directory via an IDE or some OS utility that creates a couple hidden files.

@jculvey I see, well thanks for the reply, I'm still not convinced about this but:

it's better then the current situation
it doesn't seem like we have clearly better alternatives

So I am fine to proceed with this if you feel strongly about it 🙂
One minor thing (kinda alluded in my previous comment) I would suggest adding logic for having the checks case insensitive and potentially ignoring file extensions (so that you can match match LICENCE if the user has a LICENCE.md) or something similar to increase the range we can cover 🙂

Hi 👋
I've been following this PR, thanks for the quick turnaround @jculvey. Am I right saying that the newest implementation fails if the directory is non-empty, but allows the user to overwrite, which deletes everything from the target directory?
If so, I'd be cautious about proceeding - this approach doesn't actually solve my main issue, rather it sets everything on fire and hides in the smoke. For the most part, there shouldn't be anything wrong deleting everything when I'm setting up a project, but what if I created a repo on GitHub that included a
LICENSEfile? Now if that's deleted, do I have to recreate? With.git` gone, do I have to clone again? What about other template files..
For the most part, I'd say there's actually nothing c3 should validate here; create-{framework} (this is for pages/website templates only) already validates for files it considers safe, and as far as my understanding goes c3 doesn't usually create new files for the Pages deployment configuration. For workers, I'd keep the whitelist like other projects do, maybe expanding by the case insensitivity or some other files, but judging by the number of issues they've had I'd say their approach is just fine.

Am I right saying that the newest implementation fails if the directory is non-empty, but allows the user to overwrite, which deletes everything from the target directory?
If so, I'd be cautious about proceeding - this approach doesn't actually solve my main issue, rather it sets everything on fire and hides in the smoke. For the most part, there shouldn't be anything wrong deleting everything when I'm setting up a project, but what if I created a repo on GitHub that included a LICENSEfile? Now if that's deleted, do I have to recreate? With.git` gone, do I have to clone again?

That's fair. I'm going to change it back to the previous implementation of failing on non-empty directories but exempting files in an allow-list.

What about other template files..

What are other template files?

For the most part, I'd say there's actually nothing c3 should validate here; create-{framework} (this is for pages/website templates only) already validates for files it considers safe, and as far as my understanding goes c3 doesn't usually create new files for the Pages deployment configuration. For workers, I'd keep the whitelist like other projects do, maybe expanding by the case insensitivity or some other files, but judging by the number of issues they've had I'd say their approach is just fine.

I don't think we want to drop validation entirely. create-cloudflare isn't designed to be run in existing projects, and we can't provide guarantees around that experience. Each framework creator will validate what files it considers safe, but it won't check for files that could potentially conflict with pages or workers itself. Additionally, we want to protect against scenarios where the user accidentally runs c3 in an existing directory where they didn't intend to.


Relation Extraction

Try out Hearst patterns from: https://github.com/allenai/scispacy first since it’s the lowest resource technique to get a rough prototype working

Scispacy's hearts patterns capture nothing sadly
Textacy does a good job of extracting SVO triples, combine it with Coreferee and it might extract some useful relations. It does sadly miss some crucial multi-token spans, but does well on single token spans!


Uninstalling FritzBox_Tools #2

Mammunt forgive me, related request issue #134, but I've been making several attempts for at least 3 days now, the notification and the error is still there.
I can't figure out which way is it possible to delete the component completely?
here is the log extract:
Logger: homeassistant.setup
Source: setup.py:138
First occurred: 22 dicembre 2020, 23:03:35 (1 occurrences)
Last logged: 22 dicembre 2020, 23:03:35
Setup failed for fritzbox_tools: Integration not found.

No need to keep opening more issues for the same topic


Some Functions are missing

Good Day
in your project
some functions are missing could you please provide me the last version
Milan.get_default_split_date
this function is missing
With Respect
Hani

Thank you for reaching out.
I’m sorry to inform you that this repository has been archived and is no longer maintained. It is currently in a read-only state. However, you may consider referring to other repositories related to this dataset for further assistance.


institution_id vs institute_id

According to the CMIP6_CV.json file the attribute for the institute id is called <institution_id>. However, when I process my model output I get a wrong directory structure, e.g.
$outpath/CMIP6/institute_idEC-Earth-3-HR/CMIP/historical/
where <institution_id> has not been used and instead the term "institute_id" appears. Not sure if this is a specific problem of CMIP6 or a more general problem of the CMOR3 library.

I asked the same question in the CMOR library forum and got help there, see https://github.com/PCMDI/cmor/issues/175
Closing the issue.


ob deploy init error: 'Can't find an unpacked thunk in "."'

Doing 'ob deploy init' inside a 'git worktree' gives a rather unhelpful error, and leaves the user puzzled as to what went wrong. This is a minor usability issue, but opening an issue in case someone else hits this.
Can't find an unpacked thunk in "."

This error still occurs on develop
git worktree list
/tmp/tmp.sOmE9XvmTz/obapp  384c4d0 [master]
/tmp/tmp.sOmE9XvmTz/wdir   384c4d0 [wdir]

 (wdir)> ob deploy init /tmp/tmp.sOmE9XvmTz/somedir --ssh-key /tmp/tmp.sOmE9XvmTz/keyfile --hostname hostname --route someroute --admin-email<EMAIL_ADDRESS>./.obelisk/impl: command not cached, building ...
✔ Built on ./.obelisk/impl [command]
Can't find an unpacked thunk in "."

 cat .obelisk/impl/github.json
{
  "owner": "obsidiansystems",
  "repo": "obelisk",
  "branch": "develop",
  "private": false,
  "rev": "f72edf1f3139981aaa1aa7a62a85efac9731d00c",
  "sha256": "0ajamza7frzjvybddzi7ll7bckszv3ki9yx7wa6b30vjyn785l5c"
}

 pwd
/tmp/tmp.sOmE9XvmTz/wdir


INTEXT-217: Cleanup KafkaProducerContext.beanName

JIRA: https://jira.spring.io/browse/INTEXT-217
The KafkaProducerMessageHandlerSpec provides an internal KafkaProducerContext for the bean registration.
The KafkaProducerContext is NamedComponent and we don't generate beanName for it because its value is not_specified by default.
That causes the duplicate bean issue in case of several  Kafka.outboundChannelAdapter()

Clean the KafkaProducerContext.beanName in the KafkaProducerMessageHandlerSpec to allow IntegrationFlowBeanPostProcessor to generate
an unique beanName for each KafkaProducerContext bean definition.

Merged as a317e688de96479e69eb0e3227a048ea0d19234c


Add two courses at ENS-Lyon in 2024/25

We add the description of two courses (hosted on the same webpage) about Lean that took place at ENS-Lyon in 2024/25.

Please merge master


CodeIgniter\Database\Exceptions\DatabaseException #8  Unable to connect to the database.

CI_ENVIRONMENT = development
app.baseURL = 'http://localhost:8080/'
database.default.hostname = localhost
database.default.database = ci4
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
Controller Komik.php
 'Daftar Komik'
		];

		// cara konek db tanpa model
		$db = \Config\Database::connect();
		$komik = $db->query("SELECT * FROM komik");
		dd($komik);

		return view('komik/index', $data);
	}

}

My Model
<?php
namespace App\Models;

use CodeIgniter\Model;

class KomikModel extends Model {
	protected $table = 'komik';
	protected $useTimestamps = true;
}

i user xampp

You do not appear to have added your database settings, therefor CodeIgniter can not connect.

You do not appear to have added your database settings, therefor CodeIgniter can not connect.

I am facing the same issue, can you please elaborate. Thanks in advance.

CodeIgniter tried to connect to the database you have configured in .env (or app/Config/Database.php, but I highly recommend using .env). The error posted here is when it cannot connect, often because the configuration has not been sent.
See

CodeIgniter tried to connect to the database you have configured in .env (or app/Config/Database.php, but I highly recommend using .env). The error posted here is when it cannot connect, often because the configuration has not been sent.
See https://codeigniter4.github.io/userguide/database/configuration.html

I have all my database info in .env file instead of Database.php, i am using Linux(Kali) and xampp server

CodeIgniter tried to connect to the database you have configured in .env (or app/Config/Database.php, but I highly recommend using .env). The error posted here is when it cannot connect, often because the configuration has not been sent.
See https://codeigniter4.github.io/userguide/database/configuration.html

I have the same issue. All database credentials set in .env, but no connection (even not working if I set up in Database.php instad of .env).
What do you mean with "...often because the configuration has not been sent."? Could you make this a little bit clearer, please?

Many times replacing localhost with <IP_ADDRESS> will get your database working.

Many times replacing localhost with <IP_ADDRESS> will get your database working.

My database is remote. With CI3 it works without problems. I've setup a new CI4 installation today, but DB-connection fails.

Try setting your error logging threshold to 4 instead of the default 3. Then retry. In your logs you will now see the specific error message thrown by the database connection.

error logging threshold

Okay, done. These are the error messages:
ERROR - 2020-09-15 09:04:13 --> Error connecting to the database: Call to undefined function CodeIgniter\Database\MySQLi\mysqli_init()
and
CRITICAL - 2020-09-15 09:04:13 --> Unable to connect to the database.
with this file relations:
#0 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/Database/BaseConnection.php(646): CodeIgniter\Database\BaseConnection->initialize()
#1 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1860): CodeIgniter\Database\BaseConnection->query()
#2 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/Model.php(398): CodeIgniter\Database\BaseBuilder->get()
#3 /.../Codeigniter4/crm/app/Controllers/Auth.php(23): CodeIgniter\Model->find()
#4 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/CodeIgniter.php(918): App\Controllers\Auth->sign_in()
#5 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/CodeIgniter.php(404): CodeIgniter\CodeIgniter->runController()
#6 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/CodeIgniter.php(312): CodeIgniter\CodeIgniter->handleRequest()
#7 /.../Codeigniter4/crm/public/index.php(45): CodeIgniter\CodeIgniter->run()
#8 /.../Codeigniter4/crm/vendor/codeigniter4/framework/system/Commands/Server/rewrite.php(34): require_once('/...')
#9 {main}

ERROR - 2020-09-15 09:04:13 --> Error connecting to the database: Call to undefined function CodeIgniter\Database\MySQLi\mysqli_init()

Here's your error message. It seems you are using the MySQLi driver but your PHP installation has mysqli extension not installed or activated. In your php.ini, you can remove the semicolon in ; extension = mysqli

ERROR - 2020-09-15 09:04:13 --> Error connecting to the database: Call to undefined function CodeIgniter\Database\MySQLi\mysqli_init()

Here's your error message. It seems you are using the MySQLi driver but your PHP installation has mysqli extension not installed or activated. In your php.ini, you can remove the semicolon in ; extension = mysqli

Oh man, now everything is clear to me! Yes, you are right, the mysqli extension was not installed.
Let me say it like Homer Simpson: "Doh!".  😄
I hadn't noticed that, because I always started Codeigniter 3 with MAMP before,, but with Codeigniter 4 I'm now starting with php spark.
Thanks a lot man! 👍

you can change the password and the username based on your phpmyadmin

CI_ENVIRONMENT = development
app.baseURL = 'http://localhost:8080/'
database.default.hostname = localhost
database.default.database = ci4
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
Controller Komik.php
'Daftar Komik' ]; // cara konek db tanpa model $db = \Config\Database::connect(); $komik = $db->query("SELECT * FROM komik"); dd($komik); return view('komik/index', $data); } } My Model

Check ur port.
if u do change that. Please change on app\Config\Database.php
default port => 3306 //change this for ur setting on database
and if u do change hostname, example
localhost:8088
change to :
<IP_ADDRESS>:8088

Thanks All.. it work in my linux
sudo apt-get install php-mysql

Hello ,
I am working on an application already developed with codeignter for the first time, I had imported the application from git on my computer but I cannot connect to the database, I still have this error message , I need help getting started adding new features to this app.

@InesAyari Please take support questions to the forums or Slack.

Many times replacing localhost with <IP_ADDRESS> will get your database working.

thanks man this work for me

Enable php mysqli Extension from php.ini file in php folder

[ ] ;extension=mysqli just remove ; like this extension=mysqli

it's work for me. Thank You.

Many times replacing localhost with <IP_ADDRESS> will get your database working.

It works man, thanks buddy.

mysqli.default_port

Main connection [MySQLi]: Access denied for user ''@'localhost' (using password: NO)
SYSTEMPATH\Database\BaseConnection.php at line 400
393                         break;
394                     }
395                 }
396             }
397
398             // We still don't have a connection?
399             if (! $this->connID) {
400                 throw new DatabaseException(sprintf(
401                     'Unable to connect to the database.%s%s',
402                     PHP_EOL,
403                     implode(PHP_EOL, $connectionErrors)
404                 ));
405             }
406         }
407
Backtrace Server Request Response Files Memory
SYSTEMPATH\Database\BaseConnection.php : 570   —  CodeIgniter\Database\BaseConnection->initialize ()
563      * @todo BC set $queryClass default as null in 4.1
564      /
565     public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '')
566     {
567         $queryClass = $queryClass ?: $this->queryClass;
568
569         if (empty($this->connID)) {
570             $this->initialize();
571         }
572
573         /*
574          * @var Query $query
575          */
576         $query = new $queryClass($this);
577
SYSTEMPATH\Database\BaseBuilder.php : 1512   —  CodeIgniter\Database\BaseConnection->query ( arguments )
1505             $sql = $this->compileSelect($this->countString . $this->db->protectIdentifiers('numrows'));
1506         }
1507
1508         if ($this->testMode) {
1509             return $sql;
1510         }
1511
1512         $result = $this->db->query($sql, $this->binds, false);
1513
1514         if ($reset === true) {
1515             $this->resetSelect();
1516         } elseif (! isset($this->QBOrderBy)) {
1517             $this->QBOrderBy = $orderBy;
1518         }
1519
SYSTEMPATH\Model.php : 509   —  CodeIgniter\Database\BaseBuilder->countAllResults ( arguments )
502         // When $reset === false, the $tempUseSoftDeletes will be
503         // dependant on $useSoftDeletes value because we don't
504         // want to add the same "where" condition for the second time
505         $this->tempUseSoftDeletes = $reset
506             ? $this->useSoftDeletes
507             : ($this->useSoftDeletes ? false : $this->useSoftDeletes);
508
509         return $this->builder()->testMode($test)->countAllResults($reset);
510     }
511
512     /**
513      * Provides a shared instance of the Query Builder.
514      *
515      * @throws ModelException
516      *
SYSTEMPATH\Model.php : 592   —  CodeIgniter\Model->countAllResults ()
585     protected function shouldUpdate($data): bool
586     {
587         // When useAutoIncrement feature is disabled check
588         // in the database if given record already exists
589         return parent::shouldUpdate($data)
590             && $this->useAutoIncrement
591                 ? true
592                 : $this->where($this->primaryKey, $this->getIdValue($data))->countAllResults() === 1;
593     }
594
595     /**
596      * Inserts data into the database. If an object is provided,
597      * it will attempt to convert it to an array.
598      *
599      * @param array|object|null $data
SYSTEMPATH\BaseModel.php : 655   —  CodeIgniter\Model->shouldUpdate ( arguments )
648      */
649     public function save($data): bool
650     {
651         if (empty($data)) {
652             return true;
653         }
654
655         if ($this->shouldUpdate($data)) {
656             $response = $this->update($this->getIdValue($data), $data);
657         } else {
658             $response = $this->insert($data, false);
659
660             if ($response !== false) {
661                 $response = true;
662             }
APPPATH\Controllers\Blog.php : 50   —  CodeIgniter\BaseModel->save ( arguments )
43             'meta_title' => 'New Post ',
44             'title' => 'Create new post',
45         ];
46
47         if($this->request->getMethod() == 'post')
48         {
49             $model = new BlogModel();
50             $model->save($_POST);
51             // print_r($_POST);
52             // exit;
53         }
54         return  view('new_post',$data);
55
56     }
57
SYSTEMPATH\CodeIgniter.php : 802   —  App\Controllers\Blog->new ()
795     {
796         // If this is a console request then use the input segments as parameters
797         $params = defined('SPARKED') ? $this->request->getSegments() : $this->router->params(); // @phpstan-ignore-line
798
799         if (method_exists($class, '_remap')) {
800             $output = $class->_remap($this->method, ...$params);
801         } else {
802             $output = $class->{$this->method}(...$params);
803         }
804
805         $this->benchmark->stop('controller');
806
807         return $output;
808     }
809
SYSTEMPATH\CodeIgniter.php : 399   —  CodeIgniter\CodeIgniter->runController ( arguments )
392             if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) {
393                 throw PageNotFoundException::forMethodNotFound($this->method);
394             }
395
396             // Is there a "post_controller_constructor" event?
397             Events::trigger('post_controller_constructor');
398
399             $returned = $this->runController($controller);
400         } else {
401             $this->benchmark->stop('controller_constructor');
402             $this->benchmark->stop('controller');
403         }
404
405         // If $returned is a string, then the controller output something,
406         // probably a view, instead of echoing it directly. Send it along
SYSTEMPATH\CodeIgniter.php : 317   —  CodeIgniter\CodeIgniter->handleRequest ( arguments )
310             $this->response->pretend($this->useSafeOutput)->send();
311             $this->callExit(EXIT_SUCCESS);
312
313             return;
314         }
315
316         try {
317             return $this->handleRequest($routes, $cacheConfig, $returnResponse);
318         } catch (RedirectException $e) {
319             $logger = Services::logger();
320             $logger->info('REDIRECTED ROUTE at ' . $e->getMessage());
321
322             // If the route is a 'redirect' route, it throws
323             // the exception with the $to as the message
324             $this->response->redirect(base_url($e->getMessage()), 'auto', $e->getCode());
FCPATH\index.php : 37   —  CodeIgniter\CodeIgniter->run ()
30 /*
31  *---------------------------------------------------------------
32  * LAUNCH THE APPLICATION
33  *---------------------------------------------------------------
34  * Now that everything is setup, it's time to actually fire
35  * up the engines and make this app do its thang.
36  */
37 $app->run();
38

I experienced this while I uploaded the project on a live server. Having confirmed that all requirements are meant. I just had to change my user access to another one, viola it works.

Many times replacing localhost with <IP_ADDRESS> will get your database working.

It Solve my problem... I just comment .env configuration database.. and fix it in database.php ..

Many times replacing localhost with <IP_ADDRESS> will get your database working.

worked thanks you

just wanna say thank you to everyone who gives their answer here


Resolve build errors flagged by GCC 6.2

With GCC 6.2 compiler, more C undefined behaviour is being flagged as
warnings, which result in build errors in ARM TF build.
The specific issue that this patch resolves is the use of (1 << 31),
which is predominantly used in case statements, where 1 is represented
as a signed int. When shifted to msb the behaviour is undefined.
The resolution is to specify 1 as an unsigned int using a convenience
macro ULL(). A duplicate macro MAKE_ULL() is replaced.
Fixes ARM-software/tf-issues#438
Change-Id: I08e3053bbcf4c022ee2be33a75bd0056da4073e1
Signed-off-by: David Cunado<EMAIL_ADDRESS>(cherry picked from commit 9edac0479d562a5cb62b57961ad6288d0537e9f1)

Same problem with round_up() here as in https://github.com/linaro-swg/arm-trusted-firmware/pull/2, but I suppose we can ignore it.
Reviewed-by: Jens Wiklander<EMAIL_ADDRESS>

@jbech-linaro can you please add Jens' R-b below the "(cherry-picked ...)" line? Same for the two other related PRs.

@jforissier . yes, as I'm writing this, I'm testing on the devices here at the office. If no surprises, I think I'm done with that within an hour. I'll add R-b and my own tested by then.

That's fine, thanks.

Squashed, rebased and tag(s) applied (should be) ready for merge! Thanks!


Status bar touched, scroll to top not work

For scrollview: ScrollToTop not work when tapping on status bar.

It is really working ScrollToTop. It is my fault that i have two views of kind UIScrollView in controller.


carp: 0.3.0 -> 0.5.0

Motivation for this change
the existing package was out of date
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 113376 run on x86_64-linux 1

1 package built:

carp

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

carp:

makeWrapper is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/development/haskell-modules/generic-builder.nix:308:3:
    |
308 |   buildInputs = otherBuildInputs ++ optionals (!isLibrary) propagatedBuildInputs;
    |   ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/build-tools-in-build-inputs.md

these two commits should have fixed any remaining issues there were with this pull request


Crash in integration.shard Package of Flutter Framework-packages

Steps to reproduce
Testing Android Studio JellyFish RC1

Clone the Flutter repository from:  https://github.com/flutter/flutter

Navigate to the cloned repository in the terminal: cd flutter

Run the following command to execute the tests for the integration.shard package and save the output to a log file:
cd packages/flutter_tools && flutter test test/integration.shard >> flutter-integration.shardS-logs.txt

Review the log file generated to observe errors in the tests.

Expected results
The integration.shard package should execute without errors in both Channel stable (version 3.19.5) and Channel master (version 3.22.0-5.0.pre.65).
Actual results
The following error log is encountered:
Expected: a process with exit code 1 and stderr: "A value of type 'String' can't be assigned to a variable of type 'int'."
    Actual: <Instance of 'ProcessResult'>
     Which: Actual stdout:

            This crash may already be reported. Check GitHub for similar crashes.
            https://github.com/flutter/flutter/issues?q=is%3Aissue+ProcessException%3A+Process+exited+abnormally+with+exit+code+72%3A%0Axcrun%3A+error%3A+unable+to+find+utility+%22xcodebuild%22%2C+not+a+developer+tool+or+in+PATH%0A++Command%3A+%2Fusr%2Fbin%2Farch+-arm64e+xcrun+xcodebuild+-list+-project+Runner.xcodeproj

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
flutter-integration.shardStable-logs.txt
flutter-integration.shardMaster-logs.txt

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.22.0-5.0.pre.65, on macOS 14.3.1 23D60 darwin-arm64, locale en-US)
    • Flutter version 3.22.0-5.0.pre.65 on channel master at /Users/josefinadiz/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5b5dff05b7 (2 hours ago), 2024-04-08 10:48:08 -0700
    • Engine revision 7d9435236f
    • Dart version 3.5.0 (build 3.5.0-18.0.dev)
    • DevTools version 2.34.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/josefinadiz/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • Build 15E204a
  • CocoaPods version 1.15.2
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 123.0.6312.107

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

Note: we retested this with Android Studio JellyFish RC2 and it can still be reproduced there.

This error continues to occur when running the activity with Xcode 15.4 (RC1).


[Bug]: Gloo 库无法在两台计算机之间进行通信

Your current environment
Collecting environment information...
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.3 LTS (x86_64)
GCC version: (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
Clang version: Could not collect
CMake version: version 3.29.5
Libc version: glibc-2.35
Python version: 3.10.14 (main, May  6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4050 Laptop GPU
Nvidia driver version: 537.70
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      39 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             24
On-line CPU(s) list:                0-23
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Core(TM) i7-14650HX
CPU family:                         6
Model:                              183
Thread(s) per core:                 2
Core(s) per socket:                 12
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4838.39
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves avx_vnni umip waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize flush_l1d arch_capabilities
Virtualization:                     VT-x
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          576 KiB (12 instances)
L1i cache:                          384 KiB (12 instances)
L2 cache:                           24 MiB (12 instances)
L3 cache:                           30 MiB (1 instance)
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.0
[pip3] torchvision==0.18.0
[pip3] transformers==4.42.3
[pip3] triton==2.3.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] torch                     2.3.0                    pypi_0    pypi
[conda] torchvision               0.18.0                   pypi_0    pypi
[conda] transformers              4.42.3                   pypi_0    pypi
[conda] triton                    2.3.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X                              N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
🐛 Describe the bug
当我在两台笔记本使用vllm+ray进行分布式推理时： RuntimeError: Gloo connectFullMesh failed with [../third_party/gloo/gloo/transport/tcp/pair.cc:144] no error
脚本如下：
from vllm import LLM
import ray
import os
import time
os.environ['GLOO_SOCKET_IFNAME'] = 'eth0'
os.environ['TP_SOCKET_IFNAME'] = 'eth0'
os.environ['NCLL_SOCKET_IFNAME'] = 'eth0'

start_time = time.time()
prompts = [
        "Hello, my name is",
        "The president of the United States is",
        "The capital of France is",
        "The future of AI is",
    ]

llm = LLM(model="/mnt/d/llm/qwen/qwen1.5_0.5b", trust_remote_code=True, gpu_memory_utilization=0.4,enforce_eager=True,tensor_parallel_size=2,swap_space=1,max_model_len=256)

outputs = llm.generate(prompts)
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")

报错如下：
[rank0]: Traceback (most recent call last):
[rank0]:   File "/data/vllm_test.py", line 22, in <module>
[rank0]:     llm = LLM(model="/mnt/d/llm/qwen/qwen1.5_0.5b", trust_remote_code=True, gpu_memory_utilization=0.4,enforce_eager=True,tensor_parallel_size=2,swap_space=1,max_model_len=256)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 149, in __init__
[rank0]:     self.llm_engine = LLMEngine.from_engine_args(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 414, in from_engine_args
[rank0]:     engine = cls(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 243, in __init__
[rank0]:     self.model_executor = executor_class(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/executor/distributed_gpu_executor.py", line 25, in __init__
[rank0]:     super().__init__(*args, **kwargs)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/executor/executor_base.py", line 42, in __init__
[rank0]:     self._init_executor()
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 41, in _init_executor
[rank0]:     self._init_workers_ray(placement_group)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 191, in _init_workers_ray
[rank0]:     self._run_workers("init_device")
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 291, in _run_workers
[rank0]:     driver_worker_output = self.driver_worker.execute_method(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/worker/worker_base.py", line 349, in execute_method
[rank0]:     raise e
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/worker/worker_base.py", line 340, in execute_method
[rank0]:     return executor(*args, **kwargs)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/worker/worker.py", line 126, in init_device
[rank0]:     init_worker_distributed_environment(self.parallel_config, self.rank,
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/worker/worker.py", line 324, in init_worker_distributed_environment
[rank0]:     init_distributed_environment(parallel_config.world_size, rank,
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/distributed/parallel_state.py", line 826, in init_distributed_environment
[rank0]:     _WORLD = init_world_group(ranks, local_rank, backend)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/distributed/parallel_state.py", line 713, in init_world_group
[rank0]:     return GroupCoordinator(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/vllm/distributed/parallel_state.py", line 148, in __init__
[rank0]:     cpu_group = torch.distributed.new_group(ranks, backend="gloo")
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/torch/distributed/c10d_logger.py", line 89, in wrapper
[rank0]:     func_return = func(*args, **kwargs)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/torch/distributed/distributed_c10d.py", line 3868, in new_group
[rank0]:     return _new_group_with_tag(ranks, timeout, backend, pg_options, None, use_local_synchronization=use_local_synchronization)
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/torch/distributed/distributed_c10d.py", line 3939, in _new_group_with_tag
[rank0]:     pg, pg_store = _new_process_group_helper(
[rank0]:   File "/home/jky/miniconda3/envs/ray/lib/python3.10/site-packages/torch/distributed/distributed_c10d.py", line 1509, in _new_process_group_helper
[rank0]:     backend_class = ProcessGroupGloo(backend_prefix_store, group_rank, group_size, timeout=timeout)
[rank0]: RuntimeError: Gloo connectFullMesh failed with [../third_party/gloo/gloo/transport/tcp/pair.cc:144] no error

@JKYtydt As I ran into this as well: I might be wrong, but I think you need to set the variable GLOO_SOCKET_IFNAME before you setup the ray cluster and not in your python script. At the time you run the python script the ray cluster is already created, and I think that setting the variable in this same script has no effect.

@thies1006 是的，我在设置射线簇之前也设置了环境变量，但是仍然没有解决这个问题，但是我用两台服务器去进行推理时设置环境变量解决了这个问题，所以我在想是因为无法用两台笔记本去推理么

The correct variable for NCCL is "NCCL_SOCKET_IFNAME", you have a typo there.

@thies1006 您好，可能是打错了，脚本运行的时候是正确的，我依旧没有找到相关的解决办法，不知道是不是因为两台电脑无法通信


Add dependencies for pacman

This will not be needed until the pacman step is merged into the toolchain.

I've added another commit which brings the dependencies in line with https://github.com/pspdev/psptoolchain/pull/114.

Okay, I've added python3 and python3-venv now. It should be able to build pacman now. This also fixes some other pkg-config related issues.


Update calist extension

Description
Fix the day of the week is displayed incorrectly for issue #13968.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for the fix, @astrit can you check this?

@ridemountainpig
Much appreciated for the fix!
Unfortunately there is conflict and the extension has been renamed.
I ditched entirely the title method since spacing is not even and many factors in play so added new row with custom SVG to show the day names.
If is fine  I have accredited you in the package json for this change and did them manually
Reach me out on Slack if you want to talk about these changes ✌

I have done the fixes locally

@astrit Thanks for your reply, and the changes look good to me. I appreciate the accreditation in the package.json. 👍

@astrit Thanks for your reply, and the changes look good to me. I appreciate the accreditation in the package.json. 👍
The PR is opened now and if you are OK we can close this one!
https://github.com/raycast/extensions/pull/14086/

@astrit Thanks for your reply, and the changes look good to me. I appreciate the accreditation in the package.json. 👍
The PR is opened now and if you are OK we can close this one!
https://github.com/raycast/extensions/pull/14086

LGTM 👍


Fixed multi-targeting for net45

Turns out no need to have to separate csproj file. A single csproj with multi-targeting works really well.
This is not an invasive PR, very few changes but the build completely works now targeting both .NET 4.5 and newer stuff.

The reason build has failed is that the Travis host does not have .NET Framework 4.5.
If you want I can fix that as well but frankly has got no communication back.

I'd guess build green is a prerequisite. I did a little digging, but am unfamiliar with the platform. Hope the below help anyway:
This question about travis includes "matrix build" instructions (this allows you to run the same tests against different versions and get a different report) https://stackoverflow.com/questions/16751772/how-do-i-use-travis-ci-with-c-sharp-or-f
If for some reason travis can't work, one approach we take in other zipkin projects is to use another build monitor for the other platform (ex we have some projects that use circleci by default and then travis for docker). Appveyor may be helpful, and here's a link on it http://help.appveyor.com/discussions/questions/3404-appveyor-not-detecting-netstandard-core-project-in-multi-project-solution
I understand this research may not be helpful, but since I'm awake a lot earlier than others due to timezone, hope it can at least prep.

Hi @aliostad,
I'm sorry, I was out for the weekend for a wedding and I didn't know that was so urgent to you.
Anyway, I really think that no one should introduce a broken build to master. Hence, it's kind of a precondition to get the build green to be able to be merged.
As a first look on google, I did find https://stackoverflow.com/questions/44770702/build-nuget-package-on-linux-that-targets-net-framework/44773795#44773795 which seems to solve the issue

really think that no one should introduce a broken build to master

Fair enough, hope you had a good time.


feat(#71): prohibited-package allowed in tests

In this pull I've updated prohibited-package lint in order to not issue defect when preserved packages are used in tests.
closes #71

@yegor256 take a look, please

@h1alexbel cool, thanks!


Multiple table model in MVTView

Is it possible to have multiple table in MVTView model , i'm able to do with a single table but my requirement is to have more than one table in one MVTView model

Please share some more information. It is difficult to imagine what you are trying to accomplish.

Are you trying to combine multiple querysets?
How do your models look like?
How does your current implementation look like?
What does not work with your current implementation?

Yes ,i'm trying to combine multiple querysets
Below this how my view class look like,hear i trying to add multiple models(tables)
class RunwayMVT(MVTView, APIView):
vector_tile_queryset = Runway.objects.all()
vector_tile_layer_name = "runway"
vector_tile_fields = ('runway_id',)
vector_tile_geom_name = "geometry"
renderer_classes = (MVTRenderer,)
vector_tile_content_type = "application/x-protobuf"
I have more than 200  different table for different layers , so now i need to create a single View where all data from all table should be fetched and serve as vectortiles.

Union should work to combine querysets: https://docs.djangoproject.com/en/4.2/ref/models/querysets/#union
vector_tile_queryset = Layer1.objects.all().union(Layer2.objects.all(), Layer3.objects.all())

For the fields, you must be attentive to the documentation of Queryset.union: The first queryset defines the available field names.

Hi @jeyasurya520
Take a look to v1 branch and v1 beta pypi release
Multiple layers (and models) per tile is now possible
I am working on test to release 1.0 next

Hi @submarcos  In  MVTView   api call ,why the coordinates values are changing in feature .

https://epsg.io/3857
Your point is out of EPSG 3857 bounds

Indeed, Web Mercator is not defined in the pole regions. In theory, it should be possible to transform geometry and envelope to a polar CRS like WGS 84 / Antarctic Polar Stereographic - EPSG:3031. Currently, we hardcode 3857:
https://github.com/submarcos/django-vectortiles/blob/a21e571d0165e46a4cea1a81d7dec1ae08c7ce7b/vectortiles/postgis/mixins.py#L23-L31
PS.: I think this should be a new issue.

@submarcos Is Multiple layers (and models) per tile functionality available in master?

Can you suggest me with the solution for run  it as asyncronous call

@submarcos Is Multiple layers (and models) per tile functionality available in master?

For now, yes it is.
I'm going to fix CI, tests and release in next days

From v1, it's now possible to handle multiple tables in a signle MVTView


Filter out uncertified versions in v3 collection versions endpoint

Looks okay at first glance, but haven't tested yet.

Seeing something odd if I views /api/automation-hub/v3/collections/{ns}/{name}/versions/ on a collection that doesn't have any certified versions.
I'd expect to get paginated list response with 0 entries in it. Instead, I am getting a 404.
But getting ready to test with ansible-galaxy to see what it expects

Also, as mentioned in chat, may be useful to expose 'certifcation' as query param to /v3/collections/{ns}/{name}/versions/.  Especially if there is a mechanism for 'I don't care about the certification status, just show everything'.


APEXMALHAR-2434 Use fixed/settable metaQueueName in JMSTransactionableStore. This closes #612.

@PramodSSImmaneni pls review and merge.

@sanjaypujare since the majority of the contribution was done by @oliverwnk, would you be ok with changing commit author to him with your name as a contributing author within the commit message. Also, looks like there are checkstyle errors failing the build.

@PramodSSImmaneni sure I am okay with the commit author suggestion. Will fix the checkstyle issues

Minor suggestion, for your name in commit message use git style syntax name  instead of github style.
Thanks


Solved formatting problems

I opened this PR to solve some critical formatting problems, that were incompatible with AAA-py rendering.
Rendering with AAA-py is blocked until this PR is merged, although Honkit works correctly with it (at least failure is not fatal).
However, the Java Stack and Queues chapter code inclusion is broken in all cases, and this fixes that problem.

Right, don't merge it yet Nick, I want to give Leios some easy thing to do on stream tomorrow. :sweat_smile:


Consider upgrading LibGit2Sharp.NativeBinaries as they are over 3 years old

Recently we've seen a number of crashes in Windows OS developer telemetry originating from GVFS related to the native binaries packaged with GVFS from the LibGit2Sharp.NativeBinaries nuget package.
Specifically, we are seeing these two issues:
https://github.com/libgit2/libgit2/issues/5207
https://github.com/libgit2/libgit2/issues/5154
After cloning VFSForGit repository, I discovered the package being used for LibGit2 was over three years old.
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="2.0.278" />

https://www.nuget.org/packages/LibGit2Sharp.NativeBinaries/2.0.278
Which was released on 4/20/2019.
The fix for the above issues addressed:
https://github.com/libgit2/libgit2/pull/5314
On 10/30/2019.
The Nuget feed for VitForGVFS

Doesn't show the package available for upgrade (I guess the feed may be locked?) so that would need to be addressed as well.
Can we get some assistance on this?
Thanks!

Implicitly addressed via https://github.com/microsoft/VFSForGit/pull/1815.


Unable to build website

Do you want to request a feature or report a bug?
:bug: Bug :bug:
What is the current behavior?
Steps to reproduce (following instructions from the Contribution Guidelines:
$ git clone git@github.com:facebook/jest.git
$ cd jest
$ git reset --hard 3d84d75374d23b035cc87cba14afaa7b761273b7
$ yarn
$ cd website
$ yarn
$ yarn run build
yarn run v1.3.2
warning package.json: No license field
$ docusaurus-build
Extracting translateable strings from files...
Loading translation files...
Generating Metadata for Docs....
Generating Metadata for Docs....
Generating Metadata for Docs....
generate.js triggered...
Generating Metadata for Docs....
feed.js triggered...
feed.js triggered...
sitemap.js triggered...
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Checkthe render method of `Index`.
    in Index
    in div (created by Site)
    in body (created by Site)
    in html (created by Site)
    in Site
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Checkthe render method of `Index`.
    in Index
    in div (created by Site)
    in body (created by Site)
    in html (created by Site)
    in Site
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Checkthe render method of `Index`.
    in Index
    in div (created by Site)
    in body (created by Site)
    in html (created by Site)
    in Site
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Checkthe render method of `Index`.
    in Index
    in div (created by Site)
    in body (created by Site)
    in html (created by Site)
    in Site
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `Index`. See https://fb.me/react-warning-keys for more information.
    in a (created by Index)
    in Index
    in div (created by Site)
    in body (created by Site)
    in html (created by Site)
    in Site
/home/dli/playground/jest/website/node_modules/fbjs/lib/invariant.js:49
    throw error;
    ^

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of `Index`.
    at invariant (/home/dli/playground/jest/website/node_modules/fbjs/lib/invariant.js:42:15)
    at instantiateReactComponent (/home/dli/playground/jest/website/node_modules/react-dom/lib/instantiateReactComponent.js:72:56)
    at instantiateChild (/home/dli/playground/jest/website/node_modules/react-dom/lib/ReactChildReconciler.js:42:28)
    at /home/dli/playground/jest/website/node_modules/react-dom/lib/ReactChildReconciler.js:69:16
    at traverseAllChildrenImpl (/home/dli/playground/jest/website/node_modules/react-dom/lib/traverseAllChildren.js:75:5)
    at traverseAllChildrenImpl (/home/dli/playground/jest/website/node_modules/react-dom/lib/traverseAllChildren.js:91:23)
    at traverseAllChildren (/home/dli/playground/jest/website/node_modules/react-dom/lib/traverseAllChildren.js:170:10)
    at Object.instantiateChildren (/home/dli/playground/jest/website/node_modules/react-dom/lib/ReactChildReconciler.js:68:7)
    at ReactDOMComponent._reconcilerInstantiateChildren (/home/dli/playground/jest/website/node_modules/react-dom/lib/ReactMultiChild.js:183:41)
    at ReactDOMComponent.mountChildren (/home/dli/playground/jest/website/node_modules/react-dom/lib/ReactMultiChild.js:222:27)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What is the expected behavior?
The build should succeed and when I run yarn run start I should see the website.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
$ uname -a
Linux [omitted] 4.13.0-16-lowlatency #19-Ubuntu SMP PREEMPT [date] x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful
$ node -v
v8.9.0
$ yarn -v
1.3.2

It probably can be closed now because of #4924


Configuration entry stardate doesn't work

Configuration entry stardate doesn't work.

Has been fixed with b958cb1.


Add shrinkwrap and version methods.

TODO:

[x] Unit test shrinkwrap, sync from shrinkwrap, and version.

A major change to the deptrace changes the order of the top level then clauses in resolve to run deps.state then retrieve the config file from github. This way the version for the dependency being resolved will influence the config file retrieved instead of always retrieve the one currently under the master head.
Welder#shrinkwrap
Graphs the target directory, flattens the graph, runs and stores the info from npm shrinkwrap, and then writes a welder-shrinkwrap.json file to the target directory.
Welder#sync
Now syncs a target directory with a shrinkwrap file.
Welder#version
Bumps the version in config file (and shrinkwrap file if it exists), commits them, and tags the change.

 Yay!!

I think this will bump welder to 0.2.0.

Pretty flipping sweet @mzgoddard!  Could use some docs, but far be it for me to hold this up on that account given that the core functionality isn't fully documented yet either.

@tkellen Thanks for reviewing this. I think I'll finally have a chance to fix your points when I wake up.


TvSettings: Add L1 and L2 for new API getLdimZoneShortCircuitStatus

New API to detect Local dimming short circuit is added as part of specification update https://github.com/rdkcentral/rdkv-halif-tvsettings/issues/21
Check and update L1 and L2 tests wherever necessary

merged to develop


Sema: Only add implicit imports to module interface during resilience typechecking

Previously, implicit imports were also being added to the module interface during override checking (without any diagnostic).
Additionally, correct the structure of the import which contained an extra, duplicated path component. It would be diagnosed as a scoped import and written into the interface like this:
import UIKit/*.UIKit*/

Resolves rdar://104935794

@swift-ci please smoke test


Add support for the non-browser based OAuth 2 workflows

At the moment, this library supports three-legged authentication. However, there are also OAuth 2 servers that support two-legged authentication. It would be great if these could also be included in your library.
The three workflows are:

Resource owner credentials grant (http://tools.ietf.org/html/rfc6749#section-4.3)
Client credentials grant (http://tools.ietf.org/html/rfc6749#section-4.4)
Refreshing access tokens (http://tools.ietf.org/html/rfc6749#section-6)

Thanks for the suggestion, not currently on our roadmap.


better introspection faciliites

We need some standardized, robust, reliable, well-tested, complete introspection facilities, including pprinting of introspection results, that don't require googling the vagaries of System.Reflection.PropertyInfo and System.Reflection.BindingFlags all the time. Arcadia is very heavy on interop and live coding, and we should streamline the process of inspecting types as much as possible. clojure.reflection is incomplete at the moment and difficult to navigate, overly conservative in the conveniences it exposes. Existing arcadia.reflection namespace needs a lot of work and enhancement, quite possibly should just be arcadia.introspection. I'm inclined to err on the side of lots of convenient functions rather than API minimalism for this particular area of functionality, we need support for strong live coding.

Agreed on all points. Is there an existing Clojure library that could serve as a model?

arcadia.introspection is part of the public API and addresses this


Documentation lacks topics on escaping and option/value assignment operators

 Issue by xyzzer
Tuesday Jan 19, 2016 at 07:10 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/280

Hi,
Thanks for the library, it seems quite well thought out!
I've stumbled on two problems though:

I first tried passing option values like this:
myApp.exe -o:123
This yielded option "o" value of ":123".
I then found some text in the wiki that suggests you can just do -o123 or -o=123 or -o 123 which I'll have to play with. Are these the only options supported? Is there a way to configure a colon as an assignment operator?

Then I stumbled on passing in paths that might have spaces in them. I'm still working on figuring it out, but I had some problem when first trying it with this syntax:
myApp-exe -f"C:\My Folder\My File.txt"

It would help to explain these topics a bit better.

 Comment by nemec
Tuesday Jan 19, 2016 at 21:34 GMT

Hi Filip,

Nope, as the wiki says it accepts the getopt style of assignment, which is either no space, an equals, or a space. It isn't configurable but you're right, it should be spelled out in the wiki.
You will need to put a space between -f and the string -- .Net does the quote parsing for the app but won't parse the quote unless it's the first character.


Fix chromadb get_collection ignores custom embedding_function

Why are these changes needed?
ChromaDB get_collection always returns the collection with a default embedding function, thus when it's called when a custom embedding function is used, the returned collection will use the wrong embedding function. This PR fixes it by passing in the correct embedding function explicitly.
Related issue number
Closes #2540
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.88%. Comparing base (f9d3fda) to head (61963fe).
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2854       +/-   ##
===========================================
- Coverage   33.88%   15.88%   -18.01%
===========================================
  Files          87       88        +1
  Lines        9422     9470       +48
  Branches     2011     2019        +8
===========================================
- Hits         3193     1504     -1689
- Misses       5961     7912     +1951
+ Partials      268       54      -214

Flag
Coverage Δ

unittests
15.88% <100.00%> (-18.01%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Too Many Requests (Service: AWSBatch; Status Code: 429; Error Code: TooManyRequestsException..)

Hi,
I've deployed metaflow using cloudformation template on AWS (with step functions & aws batch support).
When we're running multiple flows at the same time we get -
Too Many Requests (Service: AWSBatch; Status Code: 429; Error Code: TooManyRequestsException; Request ID: xxxxx; Proxy: null)
Can we add support for adding something like :
          "Retry":[
             {
                "ErrorEquals":[
                   "States.ALL"
                ],
                "IntervalSeconds": 3,
                "MaxAttempts": 2,
                "BackoffRate": 1.5
             }

to all states in a step function ?

related conversation here - https://outerbounds-community.slack.com/archives/C02116BBNTU/p1667825375695889 accessible via chat.metaflow.org.
Closing this issue since Step Functions has no easy way to add jitter without losing the information trail from the parent step down to the child step.


Make length_adjustment work for encoding

Fixes #47, breaks things for people relying on  "This configuration option only applies to decoding"

Thanks for the PR, looks good at a glance, would you mind adding some tests for the new functionality?

Test added

Thanks!