Multiple Short URLS to same Long URL

Code of Conduct

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

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Summary
I searched for 2-3 terms and could not find any useful answers. I'd like to set multiple short URLS to expand to the same long URL. For example: /news /blog both redirect to the blog.
Motivation
This could help with the rare instance that someone wants to redirect 2-3 short URLs to the same long URL, for whatever reason, like similar spellings.
Describe the solution
The ability to define multiple short urls via comma separation to the same long URL would be an easy way to do it.

This is a core feature. https://yourls.org/docs/guide/essentials/configuration#yourls_unique_urls

See, it wasn't a setting in the app so I wouldn't have known. I get extremely lost in documentation files, most of the time I can't find anything I need.

It would be great if there was a settings page to configure core features.

This is not the place to talk about it. We are in the issue tracker for the Awesome List of plugins and other add-ons. 😅


After plugin upgrade v0.6.9 to v0.8.0 topology view not working

The plugin was updated with pip3 -install netbox-ui-plugin -U
After restarting the services, no map is displayed after pressing the topology button. The buttons of the plugin are there.
When clicking on the site name and opening the new view page, the following message appears:
<class 'psycopg2.errors.InvalidCursorName'>
cursor "_django_curs_140410218845952_sync_2" does not exist
Python version: 3.6.9
NetBox version: 2.10.4
Error details:
[NetBox] ERROR (internal IP): Internal Server Error: /plugins/nextbox-ui/topology/
Internal Server Error: /plugins/nextbox-ui/topology/
InvalidCursorName at /plugins/nextbox-ui/topology/ cursor "_django_curs_140530272945920_sync_2" does not exist
Did I not do an intermediate step or configuration when updating?

Version 0.8.0 introduces a custom database model. Database migrations are distributed with the plugin.
Please try to execute $./manage.py migrate manually.

Thanks for the reply. This command fix the issue in my installation.
Is it normal that the topology is no longer visible in the pop window?

Thanks for the reply. This command fix the issue in my installation.

Great. I updated a project readme accordingly.

Is it normal that the topology is no longer visible in the pop window?

It is not. Please try to execute $./manage.py collectstatic --clear and clear your browser cache.

It works!
Thank you for the quick and excellent support.
Have a nice day.


Upgrade google-api-services-dataflow to v1b3-rev43-1.22.0

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @davorbonaci

LGTM


Handle cross-compilation builds where java -version cannot be run

RISC-V bulids are currently failing because the end of the pipeline tries to pick up a version.txt file which is the output from java -version on the final build. In the cross-compile case, you cannot run java -version on the build machine. As a temporary workaround we have implemented a fake version.txt but this will likely cause complications on the API so we should look to implement something a little less "hacked together" to do something valid in the absence of being able to run the resulting executable.

Is there no chance of getting a riscv machine to run the builds on and print out the java version?

Yes but it would require connecting into a remote machine, copying the build over somewhere, running it and clearing up and the build scripts currently don't do that.

@sxa Do we have a riscv machine we can use to print out the java version? I could create new job that is tied to said machine which takes in a built jdk, prints out the java version to a file and returns it back to the main pipeline?

At the moment we only have one and it tends to be tied up for quite a long time due to the slowness of executing tests etc. so I'd be concerned that it would block the pipelines for long periods of time until a system became available. @Willsparker does stage4 run java -version reliably?

I believe so, yes. Just checked and it seems okay!

@sxa Are there any chances of obtaining more riscv systems? Admittedly, my solution in https://github.com/AdoptOpenJDK/openjdk-build/issues/1773#issuecomment-645395878 is not ideal but would running a java -version on the machine slow down the pipelines a lot? If all the job would do is take in a artifact, run java -version on it, archive to a txt and exit, would it really take a long time?

Happy for you to give it a shot if you think it's easily doable. My only concern would be how much complexity it would add to the pipelines to support that. Otherwise I'm happy with giving it a shot. We're only building one release (JDK11/J9) at the moment so the RISC-V machines will generally be completely free during the builds (i.e. not running any tests)

Another option for this would be to use qemu to run it on the local machine, although building a suitable version for CentOS6 is rather non-trivial

Would it have to be CentOS6 ...?

No but iI mentioned it because that's what we have for the docker builds just now (We may also have C7 but that's likely to be the the same)
We could of course create more images with other OSs but it would be nice to keep them consistent


Type guard not working for checking an optional property whose type should be Function and using typeof with it.

Bug Report
🔎 Search Terms
type guard, type assertions, typeof
🕗 Version & Regression Information
I just tried this on playground with v4.1.3 and the issue still occurs in v4.2.0-dev.20210107
⏯ Playground Link
Playground link with relevant code
💻 Code
interface X {
    value?: ( ...args: [ string, number ] ) => void;
    name?: string;
}

const x: X = {}

const { value } = x;

if( value ) {
    const fn = ( ...args: Parameters<typeof value> ) => {} // ✅
}

if( x.value ) {
    // Type '((args_0: string, args_1: number) => void) | undefined' does not satisfy the constraint '(...args: any) => any'.
    //     Type 'undefined' is not assignable to type '(...args: any) => any'.(2344)
    const fn = ( ...args: Parameters<typeof x.value> ) => {} // ❌
    const f: ( x: string, y: number ) => void = x.value; // ✅
}

if( x.name ) {
    const s: string = x.name; // ✅
}

Duplicate of #9998.

Duplicate of #9998.

Bug Report
🔎 Search Terms
type guard, type assertions, typeof
🕗 Version & Regression Information
I just tried this on playground with v4.1.3 and the issue still occurs in v4.2.0-dev.20210107
⏯ Playground Link
Playground link with relevant code
💻 Code
interface X {
    value?: ( ...args: [ string, number ] ) => void;
    name?: string;
}

const x: X = {}

const { value } = x;

if( value ) {
    const fn = ( ...args: Parameters<typeof value> ) => {} // ✅
}

if( x.value ) {
    // Type '((args_0: string, args_1: number) => void) | undefined' does not satisfy the constraint '(...args: any) => any'.
    //     Type 'undefined' is not assignable to type '(...args: any) => any'.(2344)
    const fn = ( ...args: Parameters<typeof x.value> ) => {} // ❌
    const f: ( x: string, y: number ) => void = x.value; // ✅
}

if( x.name ) {
    const s: string = x.name; // ✅
}

Bug Report
🔎 Search Terms
type guard, type assertions, typeof
🕗 Version & Regression Information
I just tried this on playground with v4.1.3 and the issue still occurs in v4.2.0-dev.20210107
⏯ Playground Link
Playground link with relevant code
💻 Code
interface X {
    value?: ( ...args: [ string, number ] ) => void;
    name?: string;
}

const x: X = {}

const { value } = x;

if( value ) {
    const fn = ( ...args: Parameters<typeof value> ) => {} // ✅
}

if( x.value ) {
    // Type '((args_0: string, args_1: number) => void) | undefined' does not satisfy the constraint '(...args: any) => any'.
    //     Type 'undefined' is not assignable to type '(...args: any) => any'.(2344)
    const fn = ( ...args: Parameters<typeof x.value> ) => {} // ❌
    const f: ( x: string, y: number ) => void = x.value; // ✅
}

if( x.name ) {
    const s: string = x.name; // ✅
}

The expression space of function arguments is evaluated in the control flow context of the function body, not the enclosing scope. So x.value is ... | undefined here the same way it would be in a statement position:
if (x.value) {
    const fn = (...args: Parameters<typeof x.value>) => {
        x.value; // (...) | undefined
    }
}

This is broadly more desirable than the alternative, since otherwise code like
const f = (arg: typeof x = x) => { }

could fail, which would make even less sense.

The expression space of function arguments is evaluated in the control flow context of the function body, not the enclosing scope. So x.value is ... | undefined here the same way it would be in a statement position:
if (x.value) {
    const fn = (...args: Parameters<typeof x.value>) => {
        x.value; // (...) | undefined
    }
}

This is broadly more desirable than the alternative, since otherwise code like
const f = (arg: typeof x = x) => { }

could fail, which would make even less sense.


Fix prepare race condition in workspaces

Description of change
Small PR to change the target directory for offline query caches from target/sqlx to target/sqlx/<CRATE_NAME>, which fixes the behaviour seen in #2049. CC @djc
The problem is essentially a race condition: there is a period between cargo sqlx prepare deleting the target/sqlx directory and reading the queries from it, during which time another process could build/check one of the other crates in the workspace and populate it.
BEFORE, queries for all crates in a workspace would share the target/sqlx directory:
target/sqlx
├── query-2b192bf413d46a28226de2ad754a382043c483cf55c04d19bdfa916dcbf0e7ae.json
├── query-95d796755ea0ade4578c91d102407ae003487e40922284cdd6f5c8cbc8d0b5e2.json
└── query-e46f12d720e0911c9280a1b43d7aab30beef94861713fa686db77cfe30702792.json

AFTER this PR, queries will be placed under their respective crate names:
target/sqlx
├── crate-b
│   └── query-2b192bf413d46a28226de2ad754a382043c483cf55c04d19bdfa916dcbf0e7ae.json
├── crate_ç
│   └── query-4750859a2a2de4ee1e5a5c2cf07ba4ca66a31824e0f4504e21640a42081d95c0.json
└── cratea
    └── query-95d796755ea0ade4578c91d102407ae003487e40922284cdd6f5c8cbc8d0b5e2.json

You can validate the current and corrected behaviour in the following example workspace https://github.com/cycraig/sqlx_prepare_bug , which can (sometimes) reproduce the non-deterministic behaviour of pulling different queries into sqlx-data.json when multiple crates are being compiled during cargo sqlx prepare using sqlx 0.6.1 (it doesn't happen often for me, depends a lot on timing).
Note that crate names should be fine to create directories from, cargo does it all the time in the target directory. I'm not aware of any platforms where this would be an issue.
~I believe resolve.root returned by cargo metadata should always be populated using any recent cargo version; the convenience .root_package() function I used has been around for two years at least but I did have to update the test fixture to include it (was null). Only the prepare command uses Metadata as far as I know, and it requires a non-virtual manifest, so it would error anyway if resolve is missing, e.g. when run in workspace roots.~ Edit: failed to account for cargo sqlx prepare --merged initially, updated PR.
Edit: I kept the behaviour of prepare nuking the entire target/sqlx directory just in case. ~Deleting only the relevant sub-crate directory would only be a minor optimisation and it's unclear to me what else it might affect.~ The entire directory should be deleted for cargo sqlx prepare --merged anyway.
Edit2: one alternative to this approach might be to pass an environment variable to the cargo check invocation in cargo sqlx prepare to use a different sub-directory during query caching, but I don't see any advantage to that.
Related Issue
Resolves #2049.
Type of change
Not sure if this qualifies as a breaking change, does anyone depend on the location of the query caches in target/sqlx? Otherwise it's just a bug fix.
How the change has been tested
cd sqlx-cli && cargo test and manually running the example in https://github.com/cycraig/sqlx_prepare_bug

There is a related problem with a single fixed location of sql-data.json per crate. A crate could have multiple targets.
Let's imagine a use case when the lib target may or may not use offline mode (depends on the preference of particular developer).
But there are also multiple targets that contain integration tests with own test-only sql queries. If a developer prefers offline mode than an IDE with rust-analyzer shows lint warnings for queries in integration test modules because the generated for the lib target sql-data.json file doesn't have test-specific queries.

Is that issue only with integration test queries or are there problems with other cases too? I imagine for bin versus lib one would just prepare for both at once.
We could separate the files for test targets based on cfg(test) in query and prepare (and when loading the prepared queries):
E.g. output either sql-data.json and sql-data-test.json separately, and query caches would be output to target/sqlx/<CRATE_NAME> or target/sqlx/<CRATE_NAME>-test accordingly. The sql-data-test.json and cache directories would contain duplicate query definitions from the regular targets, but I don't think that's a major problem.
Is there a more elegant solution by appending a test section to sql-data.json or maybe per target? That would be more tricky and easy to introduce bugs with stale data or bad overwrites though.
Maybe a simpler solution for that problem would be for prepare always to pass --cfg test to rustc? (Cannot currently be passed via cargo_args). Edit: tried this and it doesn't actually work as easily as that, but might be another direction to explore.
It might be better to have a followup PR either way, since it depends on the approach?

Since prepare is run on a per-target basis, it definitely seems possible to have, say, prepare -- --lib and prepare -- --bin main get into a race condition in the same way as separate crates might have. So I guess the straightforward fix here is to also have a target directory within the crate directory inside target/sqlx?
I've definitely felt the pain of not being able to have multiple targets in sqlx-data.json at the same time (for us, mostly examples and lib), so maybe that's something we can explore after this is merged.

The better approach may be to revive #1770. It's still something we want, it just didn't make it into 0.6.0.

@cycraig , regarding cfg(test) - this only works for unit tests inside a target. Integration tests are different targets and can't use cfg(test) intended for the lib target.

The better approach may be to revive #1770. It's still something we want, it just didn't make it into 0.6.0.

 How much work do you think it will take to finish #1770?

regarding cfg(test) - this only works for unit tests inside a target. Integration tests are different targets and can't use cfg(test) intended for the lib target.

@DXist I think generating sqlx-data.json for multiple targets can currently be achieved by passing them to cargo through sqlx prepare? But only with the --merged flag though (works for just the current crate in a subdirectory just fine). E.g. cargo sqlx prepare --merged -- --tests --examples --lib --bin main --examples etc. Without --merged it calls cargo rustc which cannot handle multiple targets. Both should probably go through cargo check but at least there's a workaround without any changes needed?

@cycraig, indeed. I added --merged and --tests and now the file contains all queries used during the development.
Thank you!

This PR will be obviated by #1770 but I overestimated from the discussions how complex this solution was so I'm happy to accept it for the time being.


Message used for publishing might not be the same one received when subscribing

Even though I discourage to use different messages for the publish operation and the subscribe operation, it's something people are doing so we have to support it. Example:
https://ubidots.com/docs/api/mqtt.html#subscribe-to-a-variable

In this image, we can see how id is part of the message but it's only there when subscribing.

Similar to OpenAPI's readOnly / writeOnly properties?

Yes, that could solve this particular case, but speaking to some IoT providers they told me that when you subscribe to a topic you might receive a totally different message than the one you published in the same topic.
So I would say it should support both, readOnly/writeOnly and a totally different message for each operation.
Thanks Mike!


Cannot publish to Heroku with meteor-scss version 3.8.1

I just tried to push my new app to Heroku, got the following error:
=> Errors while initializing project: While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.
Downgrading to version 3.8.0_1 fixed the problem.

Also can confirm that, got the same error while installing the package.

related to this issue #210

Duplicate of https://github.com/fourseven/meteor-scss/issues/201


Show test output while running

Currently test output it showed after all tests are run. If one have lots of tests, its useful to see what is going on while running tests and possibly interrupt the build early if some test fails. This would save lot of time and on failures and provide the status of build while it running.
Right now, one have always wait until the end of mvnd build to see if some tests failed.

We could have such an option when running in a single threaded build.  In a multithreaded build, the output is mixed between the various modules.  In those cases, we could allow displaying the build log for processed modules.
Another option would be to have a small log window for each module, i.e. display the last 3 lines of the log for each module being processed below the current line for the module.

That would be awesome.

@gnodet Just installed v0.0.8 via sdkman and it still not showing the output while running the tests
Maven Daemon 0.0.8-linux-amd64 (native)
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/sdkman/candidates/mvnd/0.0.8/mvn
Java version: 14.0.1, vendor: AdoptOpenJDK, runtime: /opt/sdkman/candidates/java/14.0.1.hs-adpt
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-1031-azure", arch: "amd64", family: "unix"


Support OCI input/output in track bundle

Adds oci: prefix support to --input and --output parameters, so now in addition to files OCI image registries are supported.
Ref. https://issues.redhat.com/browse/HACBS-1658

I'm going to merge this as it is needed for next steps in HACBS-1658


MSTest.TestAdapter should target newer TargetFrameworks

Description
Today MSTest.TestAdapter targets old and out of support target frameworks, resulting in a lot of unnecessary dependencies being downloaded.
Steps to reproduce
Reference MSTest.TestAdapter in a net6.0 project.
Expected behavior
No additional packages downloaded since all the API needed by MSTest.TestAdapter is present in the framework.
Actual behavior
Many packages downloaded (100s) due to using the older package dependency groups that bring down the old NETStandard.Library package reference.
This can also be observed in the project.assets.json
Environment
Repro project:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="MSTest.TestAdapter" Version="2.2.9" />
  </ItemGroup>

</Project>

Repro steps

dotnet restore
examine project.assets.json

Thank you for reporting this, we are aware of this issue. Unfortunately we cannot break compatibility with older TFMs, so we are adding newer frameworks to our packages slowly. I'll keep this assigned to myself so I can monitor its progress.

Perhaps it is better to solve it with V3 and v2 leave for hotfixes?

Yes, that's the plan.

This will be available in 2.3.0


Update to pgx/v5 and fix LogLevel reference

Hey,
pgx-zerolog currently cannot be used in project with v5 stable release due to refactoring of the LogLevel type.
This bumps the dependency and fixes the problem.
Thanks!

Thanks!


Iteration skips one item

Hello everyone,
I have this method https://gist.github.com/attheodo/2943745229e3e8873bf8
First of all, I want to ask if this is the proper way of making this query. Essentially, PSTChatMsg objects have a many-to-one relationship with a PSTChannelEnvironment that keeps them in a chatMessages: RLMArray. But since the PSTChatMsg also happens to have the channelName property I believe I can leave PSTChannelEnvironment out of the equation. Do you think it'd be faster to query it through PSTChannelEnvironment ?
My main issue however is that the iterator pretty much always skips one item that should be there. I can confirm that my predicate  should also match this item by checking the lastObject of the chatMessages: RLMArray property of the PSTChannelEnvironment that matches the same channel name.
My eye caught a thread somewhere where some mentioned Realm marks some objects "dirty" and that could be the reason they are sometimes skipped from an iteration but he didn't elaborate further.
I was hoping you might be able to point me to the right direction.
Thank you all

I think it will be faster to just use the PSTChannelEnvironment that you know holds your RLMArray of chatMessages. PSTChatMsg will have the most rows so it will ultimately take longer to check your predicate conditions on each. Instead it will be nice to just grab the one specific channel and all of its chatMessages without much overhead with predicates especially if PSTChannelEnvironment is unique or has a primary key. In general this is the power of a graph model since all of the objects you need can be on a specific object.
The iterator skipping 1 object is a bit odd...Do you think you could add some sample data to this code (like a pre-made array) to see if there is any weird behavior anywhere. Also is it a specific object it skips, like always the last object? Anything you can do to narrow this done will help with debugging it.

@yoshyosh thanks for your response. Regarding the iterator, yes it is always the last object being skipped. Shortly before this code executes, a job in realmqueue adds a new PSTChatMsg in Realm. It might be the case that the code executes before this job finishes, but again, the last object wouldn't show up in chatMessages.lastObject() right?

Correct, a quick test could be to put
println(chatMessage.lastObject())

After these lines
var predicate = NSPredicate(format: "(channel = %@) AND (hasBeenRead = %d) AND (uuid = %@)", channel, -1, uuid)
var unreadMessages = PSTChatMsg.objectsInRealm(realmdb, withPredicate: predicate)

@yoshyosh please check this out https://gist.github.com/attheodo/dcb199dc2237f63cc19c

Hi @attheodo, one of my favorite Realm features is that everything is always up to date. But, it can hit you by surprise sometimes if you forget about it.
So what's happening here is you're changing the set of objects in the unreadMessages RLMResults by changing its hasBeenRead property. So as you're iterating over the results, they change and some of them end up being skipped.
So a different way to mark all the objects as read is to use a while loop like this:
while unreadMessages.count > 0 {
  let chatMessage = unreadMessages.first() as! PSTChatMsg
  chatMessage.hasBeenRead = timetokenAtRead
  log.verbose("Marked message \"\(chatMessage)\" as read")
}

Once we have #1536 completed, performing bulk updates will be much easier and faster: unreadMessages.setValue(timetokenAtRead, forKey: "hasBeenRead").
Please don't hesitate to ask us if there's anything else we can help you with.

Oh god! So you're telling me the RLMResults array is being dynamically updated when some of the messages cease to conform to the predicate because I am changing their values in the loop..!?  Thanks man, that solves my problem and restores my sanity levels. Cheers.

You got it! Powerful, but it still bites you when you forget.


Zap Logger Gorm

Talk about a PR title that's totally incomprehensible to a non-programmer! 😅

Talk about a PR title that's totally incomprehensible to a non-programmer! 😅

Haha I was meaning to update the title 🤣 wanted to push and had one foot out the door already


:pencil: Fixed Readme.md typo

🦟 Bug fix
Fixes #619
Summary

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

do you mind to sign the commit ? https://github.com/ignitionrobotics/ign-rendering/pull/620/checks?check_run_id=6312811553

do you mind to sign the commit ? https://github.com/ignitionrobotics/ign-rendering/pull/620/checks?check_run_id=6312811553

Sorry for the delay, I have added the signature. Since I made the commit from the web browser, I thought the GitHub signature was equivalent...


Taking multi-threaded random number generation a bit more seriously

Currently, a thread-local random number generator is used in certain places even when a random number generator is passed by the user to sample. This should be fixed by passing the input rng through to any function that might call rand.

As on Slack, I want to note that this problem is not specific to multithreading but exists for singlethreading as well. The AbstractMCMC interface correctly provides Turing (and any other downstream package) with (deep copies of) reproducible random number generators. However, since not all sampling steps and model evaluations use the provided RNG any sampling with non-standard RNGs in singlethreading and any RNG in multithreading will be non reproducible.

I think this is a problem endemic almost everywhere. I'm guilty of this almost everywhere in AdvancedMH, too.

Not fixed in Turing yet.

The AbstractMCMC interface correctly provides Turing (and any other downstream package) with (deep copies of) reproducible random number generators. However, since not all sampling steps and model evaluations use the provided RNG any sampling with non-standard RNGs in singlethreading and any RNG in multithreading will be non reproducible.

I guess for HMC type alg. the only randomness on Turing side is initialisation. As long as RNGs are passed to AHMC correctly, it should be reproducibile - there are reproducibility test on the AHMC side.
For SMC type alg., we need seperate reproducibility test on model evaluation in DynamicPPL, and reproducibility test for e.g. AdvancedSMC module.
We can then look what's missing if things still can't be reproduced.

The fixes for Turing are in https://github.com/devmotion/Turing.jl/tree/rng (was linked in the DynamicPPL PR), but they require a new DynamicPPL release. I added tests for HMC, MH, IS, PG, and ESS that all pass.


New Crowdin updates

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix(events): remove pointer on event up

PR Checklist
Please review the guidelines for contributing to this repository.

[x] I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not master.
[x] I have run yarn test against my changes and tests pass.
[ ] I have added tests to prove my fix is affective or my feature works. This can be done in the form of unit tests in test/unit/ or a new or altered demo in demo/.
[x] I have added or edited necessary documentation in the README.md, or no docs changes are needed.

Description
Remove pointer on event up so getDistance() will not check on dead pointers.
Fix: https://github.com/timmywil/panzoom/issues/402

:tada: This issue has been resolved in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


)Clear removes AcreTools

from the workspace, obviously. Acre commands should all check if it is there and clone from []SE if necessary.

Only OpenProject needs to make sure this is there.

Fixed


Stuck on Syncing Recipients

Hi,
I'm testing the application in my environment.
When I try to sent a message to the whole users, the status of the message stuck on Syncing Recipients and the message is never delivered.
Regarding the installation of the application, I got some issues to deploy the template with Azure but a redeploy of the app service solve the issue. Permissions on AzureAD seems to be good to retrieve the users :

Is there any logs to understand what's wrong with my environement ?
Thanks,
Loïc.

@Loic-do Do you see any errors in the message status?  You can open message summary by tapping on the message under Sent messages.
It would help if you could share any failures/stack traces from Application Insights.


Floating-point error can be introduced when restoring variable values from suspend data

We had a report of a question where a variable is displayed as an integer when the attempt is first run, but has .000000001 on the end when the attempt is resumed in a new session.
There must be some error in the rendering of the number in the SCORM suspend data.

A minimal example: define a variable a = 0.2 + 10*0.01.
Its value is saved in the suspend data as "0.30000000000000004", but it should be "0.3".

I wondered if this was a regression. It seems not: this happens in commits going back to 2015, and then I stopped checking!

This reminds me of point (2) in https://github.com/numbas/Numbas/issues/774 (but could also be entirely unrelated). (I did not really follow up on that issue at the time since I switched to the Numbas LTI provider.)

This is a regression! I just wasn't testing the right thing.
The problem is that number literals now get precision and precisionType attributes, which the display code uses to decide how many digits to display.
Numbers obtained through calculation, like random(range), don't get these attributes, so the display code just uses its default behaviour, which is to round to 10 decimal places.
Variables are saved to suspend data as JME expressions which should produce exactly the same value. I think that for number values, we need to make sure to store the precision information (or lack of it). Should treeToJME when called with nicenumber: false wrap numbers without precision attributes in a function called something like noprecision(...)?


[IMPROVEMENT] Space between buttons

What improvement are you suggesting?
The three button

option "Support the creator" , "contribute to this project" and "bug report or feature request" look messy when they are hovered upon.
Why should make this improvement?
It will help the website to look more clean .
How can we make these improvements?
I can add spaces or adjust the position of the buttons to make it look better.

Please assign me this issue so that I can work on it and improve the website.

Please assign me this issue, I would love to resolve this issue and make the website better. I will also make some space and less messy between the "Vote on Product Hunt" and the "Share on Twitter" buttons

Please assign me this issue so that I can work on it and improve the website.

Sure please go Ahead

Please assign me this issue, I would love to resolve this issue and make the website better. I will also make some space and less messy between the "Vote on Product Hunt" and the "Share on Twitter" buttons

Please make a new issue for that!

@Aishjahan are you working on this issue?

@Aishjahan are you working on this issue?

yes, will make a PR soon


How to specify which trained model to be used for "eval"

Hi, I trained one model using 1 episode (PPO_0 and 1) and another one with 100 episodes (PPO_2).  However, when I tried to perform the -m eval, i got the same result.  I believe it used the same model even I have a trained model with 100 episodes.  Please advise how i could specify which PPO_# to be used for eval?  Thx.

You just need to set the same settings in TradzQAI/config/ and TradzQAI/save/PPO_#/config/.
Each time you start TradzQAI, it check if the current settings already exists in save/ directory, if not it create a new directory, else it take the first directory with the same settings it encounter.


Update to wagmi 0.12.x

Link to minimal reproducible example
No link
Summary
Hello. I ran into a problem that I can’t connect to Metamask via WalletConnect using the Chrome mobile browser.
If I use version: "1": when clicking the button WalletConnect in the modal window web3modal the following error occurs and nothing happens:
client.ts:45 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'uri')
    at client.ts:45:53
    at b (regeneratorRuntime.js:86:17)
    at Generator._invoke (regeneratorRuntime.js:66:24)
    at Generator.next (regeneratorRuntime.js:117:21)
    at r (asyncToGenerator.js:3:20)
    at c (asyncToGenerator.js:25:9)

Version 1 works in your lab. Can't figure out why it doesn't work for me.
If I use version: "2": when going to metamask nothing happens. The same problem exists in your lab - https://lab.web3modal.com/v2Base
My initial code:
// Wagmi client
const { provider } = configureChains(
  chains,
  [
    walletConnectProvider({ projectId: config.walletConnectId }),
  ]
);
const wagmiClient = createClient({
  autoConnect: true,
  connectors: modalConnectors({
    projectId: config.walletConnectId,
    appName: 'web3Modal',
    chains,
    version: '2',
  }),
  provider,
});
//

// Web3Modal Ethereum Client
const ethereumClient = new EthereumClient(wagmiClient, chains);

root.render(
    <>
      <WagmiConfig client={wagmiClient}>
        <BrowserRouter>
          <ApolloProvider client={defaultClient}>
            <Provider store={store}>
              <App />
            </Provider>
          </ApolloProvider>
        </BrowserRouter>
      </WagmiConfig>

      <Web3Modal
        projectId={config.walletConnectId}
        ethereumClient={ethereumClient}
        themeMode={"light"}
        themeColor={"default"}
      />
    </>
  );

Modal window call function:
const { open } = useWeb3Modal();
const onConnect = async(isButton) => {
try {
await open();
		if (isButton) {
			await changeNetwok(...);
		}
	} catch(e) {
		console.log('Connect error: ', e)
	}
}

List of related npm package versions
"wagmi": "^0.12.0",
"ethers": "^5.7.2",
"@web3modal/ethereum": "^2.1.3",
"@web3modal/react": "^2.1.3",

Phone: POCO M5
Android 12

Google Chrome browser(latest) || Firefox browser(latest)

There are changes in wagmi x.12.x that we still need to implement, I believe if you downgrade back to x.11.x you should be able to use version "1" (metamask doesn't support 2 at the moment).

If I change the wagmi version to x.11.x and the web3modal version to 1, I get the following error:
Uncaught Error: No wagmi client found. Ensure you have set up a client: https://wagmi.sh/react/client
    getClient chunk-55IO54NW.js:709
    getAccount chunk-55IO54NW.js:2868
    getAccount OptionsCtrl.ts:72
    re index.ts:45
    legacyCustomElement custom-element.ts:21
    node_modules vendors-node_modules_motionone_dom_dist_easing_spring_index_es_js-node_modules_dijkstrajs_dij-f8d5bc.chunk.js:2787
    Ae index.ts:13
    node_modules vendors-node_modules_web3modal_react_node_modules_web3modal_ui_dist_index_js.chunk.js:5576
    factory react refresh:6

This usually happens when there is a version conflict in packages, could you try again after deleting node_modules and .lock file and re-installing (downgrading packages can cause issues here)

Having the same issues. What's the latest versions of wagmi and web3modal are compatible? Seems like I can't avoid this issue of "Uncaught Error: No wagmi client found. Ensure you have set up a client". Also getting the following: "NotSupportedError: Failed to execute 'define' on 'CustomElementRegistry': the name "w3m-box-button" has already been used with this registry".

Deleting node_modules and .lock file didn't work for me

Ok sounds good 👍 I ever get paid I'll start working again until then my services to any projects I've wallet access will be under strict standards and rules, regulations or guidance will be cut off my sincerest apologies tours faithfully Shayne Michael Bacik
…
On Tue., Mar. 7, 2023, 1:31 a.m. frontendultron, @.> wrote: Deleting node_modules and .lock file didn't work for me — Reply to this email directly, view it on GitHub <#920 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXLOZ7PW2W6RLRGJEW63F3W23I5LANCNFSM6AAAAAAVQ5D4R4 . You are receiving this because you are subscribed to this thread.Message ID: @.>

@ShayneMichaelBacik1
Is there a working package version set of wagmi and web3modal currently for v2?

I am having this same issue - I am unable to get it to work using any combination of the versions.

I'm getting the same issue for<EMAIL_ADDRESS>and web3modal/ethereum and<EMAIL_ADDRESS>Either its "Wagmi client not found" or "No providers configured for chain 1" which is so strange because I clearly have defined my wagmi client and providers.

I'm having exactly the same issue as @axanthus


Recon using timing offset produce very similar frames for all dynamic study

Hi Pawel-
As discussed on Friday, when I tried to account for delay in injection, I got a funny output in which all of the frames were essentially identical. This does not happen when I just include the data before injection (which produces blank frames=0 until a reliable reconstruction can be generated).
This was when using the following code:
 #obtain histogram dictionary:
    hst = nipet.mmrhist(datain, mMRparams)

    #From histogram, obtain offset in seconds:
    time_offset = nipet.lm.get_time_offset(hst)
    print('Time offset for start is' + str(time_offset))

    #Adjust the frames getting a new frame dictionary:
    fdic = nipet.mmraux.timings_from_list(dframes, offset=time_offset)
    print(fdic)

    #Create customised  frames:
    dframes_c = fdic['timings']

    #not sure its needed, but insert a flag for customised dynamic reconstruction:
    dframes_c[0]='fluid'

where dframes_c was passed into mmrchain instead of dframes, which was originally set to:
dframes = ['def',[4, 15], [8, 30], [9, 60], [2, 180], [8, 300]]

This was my fault. The variable hst that is the output of nipet.mmrhist seems to not be the appropriate input to mmrchain, which is what i was doing. So I have just let mmrchain generate its own histogram.


time: loadZoneFile() doesn't forward error returned while reading zoneinfo file.

Loading ZoneInfo accesses disk which can fail for various reasons. The method time.loadZoneFile() does not expose these errors to time.LoadLocation(). Hence, it reports a generic "unknown time zone" error as an effect to such failures.
https://golang.org/src/time/zoneinfo_unix.go
@dsymonds: who is aware of this problem.

I think this is an issue because loadZoneFile is swallowing error details too much. The most common failure mode for any particular attempt in that function is to get a file not found, which is fine to suppress, but other kinds of errors should be reported back so that callers to time.LoadLocation can discover why it's failing.
Here's my proposal:

if loadZoneFile finds a file it can successfully load, it reports no error (current behaviour)
if no file can be loaded, and there's an error that does not satisfy os.IsNotExist, report that error (new behaviour)
if all the errors satisfy os.IsNotExist, report the generic message (current behaviour)

@rsc, does that sound okay to you?

https://go-review.googlesource.com/3984 out for review.


Should documentation mention that a repository resync is needed?

In the post-commit-hook section of the documentation, it looks like there needs to be an initial sync of the cache:
trac-admin $env repository resync "<project>"

or
trac-admin $env repository resync "(default)"

Does that seem correct?
Also, author names that Trac caches look like Full Name<EMAIL_ADDRESS>In order for the CommitTicketUpdater to function, I suspect that reverse mapping from email address to Trac user id needs to be enabled. It is disabled by default.
[git] trac_user_rlookup = enabled

I will edit the documentation if you agree with the changes.

Sure, go ahead. You seem to know this stuff better than I do ;-) Thanks!

Thanks, I'm actually not 100% sure that I'm correct on those points, but I'll do some additional testing to confirm.

Changes look good. (I don't know enough about Trac to confirm they're correct.) Thanks!


IoT.js support (using transpiler)

Using babel could be a good strategy

Completed. I've pointed the main package file to the new babel version so ES5 engines will be able to load the module without issue.


CVTT: Include float formats for hdr compression

Related to https://github.com/godotengine/godot/issues/80456#issuecomment-1673182690
Enables HDR compression for float formats. This will make it more consistent with betsy once #91535 is merged.

Thanks!


Addtional product codes

some addtional product codes I have from an old fork.
ArcGIS 10.4.1
Esri Business Analyst x64 GP Tools {BD5C6EC2-A13A-421D-852F-7085F459A909}
Esri Business Analyst 10.4.1 {431E0CCA-EA55-4F5B-9193-28CB69E61B6F}
ArcGIS 10.4.1 Data Interoperability for Desktop {A68E2327-A622-42A8-B95A-1BA21CE2751D}
ArcGIS 10.5.1
ArcGIS Data Interoperability 10.5.1 for Desktop {C8731549-61E3-405F-BB82-6BB53DFFA78F}
ArcGIS Business Analyst 10.5.1  {E9042D26-25BF-424D-A6BC-63BFDA8032B1}
ArcGIS Business Analyst 10.5.1 Background Geoprocessing {4DBC6D68-AA92-41AA-B4FA-CCF2B3B5E12C}
ArcGIS Pro 2.0
Data Interoperability for ArcGIS Pro 2.0 {90104667-B575-4F77-AD95-2A8EC7FB2304}

Thanks Matty!


[5.6] SFTP driver

This PR adds SFTP storage driver, it allows to SSH key based authentication. SFTP driver requires league/flysystem-sftp so it should be added to composer file as in case of AWS or Rackspace drivers.
Example config:
'sftp' => [
    'driver' => 'sftp',
    'host' => 'example.com',
    'username' => 'username',
    'password' => 'password',
    'privateKey' => '/path/to/privateKey',
],

@sisve what's your take on composer changes on a point-release? You usually have some good crazy-case insight about bc changes.

I have been summoned! ;)
I see no issues with this. It's only a suggestion, and an opt-in feature. The potential for bc breaking changes is when you force a new dependency upon people, specially when such a dependency may be in conflict with existing code. This is not the case with this PR.
I guess my bitter self see the usual documentation problem in asking people that "yes, some versions of 5.6 supports SFTP, are you sure you are on the right one?". This is mostly a documentation issue where we need to be clear on what release contains this new feature.


ViewData and Node.Fuzzy

Figure out how to handle/avoid the ViewData type being added to Node.fuzzy. @BrettRToomey knows the details.

I don't think there's a whole lot we can do other than document and support alternate versions as fallbacks (like we currently do).

@BrettRToomey Speaking of alternate version, check out: https://github.com/nodes-projects/urbanest-vapor/blob/a6aec7a3f2db3e27d1dc334bbee17a31e89a8c4c/Sources/App/Support/ViewDataKey.swift
It allows you to do stuff like:
ViewData([.request: request, .fieldset: fieldset, "custom key": someNodeRepresentable])

Ye I agree - let's at least mention it in readme then before closing this issue.

Already in there I see. Fixed by https://github.com/nodes-vapor/admin-panel-provider/pull/29/files


[Feature Request]: Padding or remove alert icon for input

Describe the problem or use case
I want remove icon of invalid input or change paddings of input.

Proposed solution
No response
Alternatives considered
No response
Additional technical context
No response

Closing this in favor of #643 and #642.


Add python version compatibility to doc

Description of Problem:

When visiting installation site in the doc, It currently says: Install Python 3 (64-bit version) for Windows. in this section.
Overview of the Solution:

I think it would be nice to add the minimum python version required i.e. python 3.7.

Thanks for submitting this feature request 🚀 @ancalita will get back to you about it soon! ✨

@ankandrew thank you for for the issue!
At the moment, there is a mention of which versions are applicable in the first sentence in the Quick Installation section. But it should be clarified in the section you also mentioned.
I've placed this in my team's queue to be prioritised accordingly.

@ancalita I somehow managed to skip that in Quick Installation! I would only remove the 3.6, it appears it is no longer supported.

It also depends on the 3.6.x version. Things like typing.NoReturn were introduced on a later 3.6 version, and it is used in part of the code, like here. But I guess this doesn't matter as 3.6 is not supported.


Fix format job to fail if formatting is wrong

cargo fmt only changes the files in place, it doesn't generate an error or any text about what formatting issues there were. So it just silently "fixes" the problem and always passes.
Add the --check flag to rustfmt which will fail and display the formatting issues. I confirmed that this change works (by failing a check if formatting is wrong) in my own custom config.

Hi @gmemstr let me know what I can do to get this into preferred shape for merge.
Looks like you might want me to prepend [semver:minor] to the commit message and PR. Anything else?

Excellent catch @carver - going to let the tests run then merge :)


mui working with named imports only in dev and production, otherwise it errors

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
I'm using vite-plugin-ssr, but the error should be the same with different tools. Reproduce error:
yarn create vite-plugin-ssr -> react-ts
cd vite-ssr-project/
yarn add @mui/material @emotion/react @emotion/styled @mui/icons-material
Add mui to pages/index/index.page.tsx (in l. 2 and l.9)
import { Counter } from './Counter'
import MenuIcon from '@mui/icons-material/Menu'; // add this

export { Page }

function Page() {
  return (
    <>
      <MenuIcon /> // and this

Welcome

      This page is:

Rendered to HTML.

          Interactive. <Counter />

    </>
  )
}

Current behavior 😯
yarn dev works, yarn prod will throw runtime error when navigating to localhost:3000:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
This error can be "fixed" by adding
ssr: {noExternal: ["@mui/material", "@mui/utils", "@mui/base", "@mui/icons-material"]},

to vite.config.ts. Unfortunately now yarn dev is broken:
7:13:10 PM [vite] Error when evaluating SSR module<EMAIL_ADDRESS>|- TypeError: require is not a function

What is going on here? It should work in production the same as in dev?
It is possible to do a different "fix" (via named imports):
In pages/index/index.page.tsx change import MenuIcon from '@mui/icons-material/Menu'; to import { Menu as MenuIcon } from '@mui/icons-material'; In this case, even ssr: {noExternal: ["@mui/material", "@mui/utils", "@mui/base", "@mui/icons-material"]}, is not needed. It works in dev and prod. Problem is, my machine is running out of memory then, so this "fix" is not possible. Also this should not be done, see Mui guide.
Expected behavior 🤔
Mui should behave the same in dev and production. I also checked with the vps maintainer on his repo. It might be, that there is a publishing issue with mui.
Context 🔦
How to fix this best?
Your environment 🌎

npx @mui/envinfo
  System:
    OS: Linux 6.3 Arch Linux
  Binaries:
    Node: 18.15.0 - /usr/bin/node
    Yarn: 1.22.19 - ~/.local/bin/yarn
    npm: 9.5.0 - ~/.local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 113.0.1
  npmPackages:
    @emotion/react: ^11.10.6 => 11.11.0
    @emotion/styled: ^11.10.6 => 11.11.0
    @mui/base:  5.0.0-beta.1
    @mui/core-downloads-tracker:  5.13.1
    @mui/icons-material: ^5.11.16 => 5.11.16
    @mui/material: ^5.12.1 => 5.13.1
    @mui/private-theming:  5.13.1
    @mui/styled-engine:  5.12.3
    @mui/system:  5.13.1
    @mui/types:  7.2.4
    @mui/utils:  5.13.1
    @types/react: ^18.0.8 => 18.2.6
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^4.9.4 => 4.9.5

Thanks for reporting this. I responded in the discussion you linked: https://github.com/brillout/vite-plugin-ssr/discussions/901#discussioncomment-6167919


Can I use "timeAgoSinceNow" with appointed language?

I also want this feature.  If timeAgo supported NSDateFormatter, it would become possible.

But you can just modify the localizedStringFor:valueType:value: in NSDate+DateTools.m

Going through issues...
@yaizudamashii can you describe to me what you mean by "supported NSDateFormatter". As we look at the Swift version, we want to try and include use cases that we missed the first time around.

I too would like to have support to specify the language for TimeAgo methods.
There is a components date formatter that should support locale:
https://developer.apple.com/reference/foundation/datecomponentsformatter
Can this functionality be added to the ObjectiveC API?

I would also like a way to specify which locale to use when using the timeAgo methods.
something like
+ (NSString*)TimeAgoSinceNowUsingLocale:(NSLocale*)

maybe?


A flag for ViewfinderView, to hide the red line, and the yellow points

Hi rkistner
Thank you very much for yours "zxing-android-embedded"
When scanning code, there is a red line, and some yellow points, on the screen
If users don't want to see the red line and yellow points
they need to modify the source, and rebuild a jar or aar file
and then, import the jar/aar file into their project
and use it like this:
compile( name: 'zxing-android-embedded-3.4.0', ext: 'aar' )
If add a flag for ViewfinderView.java, and do some change in the "onDraw" method
Users just set the flag, and no need to build jar/aar file
Just use it like this:
compile 'com.journeyapps:zxing-android-embedded:3.4.0'
Just for more simple, is this usefull?
Thank you very much, again!

Yes, that could be a useful shortcut. Pull requests welcome.

Yeah please change it so that it is possible to set it via the Java class.
Great work guys! 😊

Is it implemented?


py-mysqldb missing

Docker returns this error, because py-mysql cant be found. Is there a alternative driver for this?
ERROR: unsatisfiable constraints:
  py-mysqldb (missing):
    required by: world[py-mysqldb]

@Alex-CodeLab This has been fixed


ollama run llama2 on m1 macbook fails after fresh install

Hello! I am getting the following issue after I've downloaded the desktop application and tried to do the following:
╰─➤  ollama run llama2
Error: llama runner process has terminated

It also seemingly borks my computer for a second, and I'm not even able to use my trackpad (probably due to personal memory constraints).
I can upload portions of my server.log upon request. Would love any help / workaround
╰─➤  tail -n 25 ~/.ollama/logs/server.log
ggml_metal_init: loaded kernel_mul_mm_q6_K_f32                0x1206d5bd0 | th_max =  768 | th_width =   32
ggml_metal_init: loaded kernel_rope_f32                       0x1206d6370 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_rope_f16                       0x1206d6b60 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_alibi_f32                      0x1206d73d0 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_cpy_f32_f16                    0x1206d7f50 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_cpy_f32_f32                    0x1206d8ad0 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_cpy_f16_f16                    0x1206d9650 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_concat                         0x1206d9d30 | th_max = 1024 | th_width =   32
ggml_metal_init: loaded kernel_sqr                            0x1206da610 | th_max = 1024 | th_width =   32
ggml_metal_init: GPU name:   Apple M1
ggml_metal_init: GPU family: MTLGPUFamilyApple7 (1007)
ggml_metal_init: hasUnifiedMemory              = true
ggml_metal_init: recommendedMaxWorkingSetSize  =  5461.34 MB
ggml_metal_init: maxTransferRate               = built-in GPU
llama_new_context_with_model: compute buffer total size = 294.13 MB
llama_new_context_with_model: max tensor size =   102.54 MB
ggml_metal_add_buffer: allocated 'data            ' buffer, size =  3648.58 MB, ( 3649.08 /  5461.34)
ggml_metal_add_buffer: allocated 'kv              ' buffer, size =  2048.02 MB, ( 5697.09 /  5461.34), warning: current allocated size is greater than the recommended max working set size
ggml_metal_add_buffer: allocated 'alloc           ' buffer, size =   288.02 MB, ( 5985.11 /  5461.34), warning: current allocated size is greater than the recommended max working set size
ggml_metal_graph_compute: command buffer 0 failed with status 5
GGML_ASSERT: /Users/jmorgan/workspace/ollama/llm/llama.cpp/gguf/ggml-metal.m:1508: false
2023/11/21 18:14:57 llama.go:435: signal: abort trap
2023/11/21 18:14:57 llama.go:443: error starting llama runner: llama runner process has terminated
2023/11/21 18:14:57 llama.go:509: llama runner stopped successfully
[GIN] 2023/11/21 - 18:14:57 | 500 |  6.678189916s |       <IP_ADDRESS> | POST     "/api/generate"

Also other version details:
╰─➤  ollama -v
ollama version 0.1.11

Hi @johnlarkin1, thanks for sharing the logs. You can see the issue here:  5985.11 /  5461.34), warning: current allocated size is greater than the recommended max working set size. The model you are trying to run is too large for the memory currently available on your system.

Totally tracks 😅 thanks so much for the info (sorry I missed that one).

No worries, I'm going to think of a way to communicate these errors better. It's not obvious right now.

I've also encountered similar problem, after last update newly downloaded models failed to launch, while previously downloaded models with same or even bigger size work fine. The problem does not seem to be (at least fully) connected with the warning, since some models run fine while logging this warning, but others do not.

Running into this as well, but logically inconsistent. Able to run Q4 model but not Q2 model of 70B llama.
https://github.com/facebookresearch/llama/issues/964

@johnlarkin1 have you tried this lately? There have been a lot of updates since your original post.

Still not working

This should be fixed as of a release in late December – @austinnguyen89 are you hitting a similar error in the logs? Let me know if so and we can re-open this


Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
winget install --scope machine --exact --id Starship.Starship creates a portable starship installation in
C:\Program Files\WinGet\Packages\starship
Steps to reproduce
winget install --scope machine --exact --id Starship.Starship
Actual behavior
winget install --scope machine --exact --id Starship.Starship downloads
https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.zip and installs starship to
C:\Program Files\WinGet\Packages\starship
Expected behavior
winget install --scope machine --exact --id Starship.Starship should download
https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.msi and install starship to
C:\Program Files\starship
Environment
Windows Package Manager v1.9.25200
Windows: Windows.Desktop v10.0.22631.4460
Package: Starship.Starship v1.21.1

Screenshots and Logs
No response

11:46:46 D:\...\winget-pkgs  [master ≡] 0ms pwsh> gsudo { winget install --exact --id Starship.Starship }
已找到 starship [Starship.Starship] 版本 1.21.1
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责，也不向第三方程序包授予任何许可证。
正在下载 https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.msi

11:47:14 D:\...\winget-pkgs  [master ≡] 11.758s 0x0001 pwsh> gsudo { winget install --scope machine --exact --id Starship.Starship }
执行此命令时发生意外错误：
0x8000ffff : 灾难性故障

11:47:33 D:\...\winget-pkgs  [master ≡] 5.257s pwsh> winget install --scope machine --exact --id Starship.Starship
打开预定义源失败; 请向 winget 维护人员报告。
执行此命令时发生意外错误：
0x80070005 : 拒绝访问。

11:49:25 D:\...\winget-pkgs  [master ≡] 0ms pwsh> winget --info
Windows 程序包管理器 v1.9.25200
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.26100.2454
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.24.25200.0

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已启用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已启用
LocalArchiveMalwareScanOverride           已禁用
ProxyCommandLineOptions                   已禁用
DefaultProxy                              已禁用

I'm not able to run without gsudo elevation or install to machine scope. Unable to reproduce your issue. 😞

PS E:\> winget install --scope machine --exact --id Starship.Starship
Found starship [Starship.Starship] Version 1.21.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.zip
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "starship"
Path environment variable modified; restart your shell to use the new value.
Successfully installed

https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/Starship/Starship/1.21.1/Starship.Starship.installer.yaml
PackageIdentifier: Starship.Starship
PackageVersion: 1.21.1
InstallerLocale: en-US
MinimumOSVersion: <IP_ADDRESS>
Installers:
- Architecture: x64
  InstallerType: wix
  InstallerUrl: https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.msi
  InstallerSha256: 90620DF005C45AC000EF301C980239087E787A74AE92651E7C1B0F2CDC0B5BC6
  ProductCode: '{BBB12985-822B-45F1-9AF3-CF85C368763E}'

PackageIdentifier: Starship.Starship
PackageVersion: 1.21.1
InstallerLocale: en-US
MinimumOSVersion: <IP_ADDRESS>
Installers:
- Architecture: x64
  Scope: machine
  InstallerType: wix
  InstallerUrl: https://github.com/starship/starship/releases/download/v1.21.1/starship-x86_64-pc-windows-msvc.msi
  InstallerSha256: 90620DF005C45AC000EF301C980239087E787A74AE92651E7C1B0F2CDC0B5BC6
  ProductCode: '{BBB12985-822B-45F1-9AF3-CF85C368763E}'

perhaps a scope definition could fix that problem


sslscan: 2.0.13 -> 2.0.14

Description of changes
https://github.com/rbsec/sslscan/releases/tag/2.0.14

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

sslscan


Need help on using mvbot

I’m hoping you can help me out and be advised, I’ve just created my first Discord server. I’m extremely new at all this. I want to be able to move messages between channels and mvbot seems just what I need. I have imported it into my server (it shows up in the right hand pane of Discord). I don’t know how to use it though. Do I type some command in the same channel as the messages I want to move? The README page seems to show the command string !mv[“reason”] . I figured out how to get the message ID for the message I want to move and I know what the target channel is. I e substituted what’s necessary but nothing happens.

You are correct that you need to type the command in the same channel as the message you want to move. An example command might look something like this: ```
!mv your-message-id-here #your-channel-here "your comment here"

Note that the comment is optional, but must be surrounded with quotation marks if included.

I'd you are still having issues, be sure to verify the bot has the necessary permissions, as specified in the readme. For information on how to update user permissions, refer to [this page](https://support.discord.com/hc/en-us/articles/206029707-How-do-I-set-up -Permissions-)


add Rollup instructions

via https://github.com/rollup/rollup/issues/178#issuecomment-150951265
Thanks!

Thanks


Halve catalog-element bundled size

Bundled sizes:
catalog-app 282K -> 261k
catalog-element 191k -> 91k
lazy-resources 237k -> 280k
Reduces unbundled dependencies by 15% (10/69 resources)
iron-doc-viewer currently makes up another 68kb

Todo: rename to progress-bar

ptal @dstockwell


feat: add release notes for v0.7.0

Update release notes for v0.7.0 release.

Looks fantastic. :)


Crash with various oddites

Crash with various oddites
the root problem likely lies in line 149 of BlockTrunkShell.
The mod autor of VO tries to fix it but hes not sure if this could cause anyproblems with other mod in the future.
Crash:
https://paste.dimdev.org/mosupenena.mccrash

<IP_ADDRESS>08 120 mods loaded, 119 mods active
That's a hefty mod list right there :D Anyway, You mention the author of VO tires to fix it, is there a conversation somewhere? Because I don't see anything open on the mod author's issue tracker on Curse, and the repo on Github is empty.
The wiki states "Rats... will gnaw on... any sufficiently-vulnerable wooden blocks", so I think this happens when a rat tries to eat a dynamic tree. Or in this case a giant rat:
varodd:rat_giant (com.lying.variousoddities.entity.hostile.EntityRatGiant)
So I think that the issue is with VO in this instance. Probably something about the way the rat tries to break the block, it's something custom I reckon instead of simulating a player block break.
(not a coder so can't be certain)

Well if you see the "normal" amout of the most modpacks are 150-200 now so i think the mods i have are kinda lite besides them. While 40% of the mod are Quality of life mods (map,jei +addons, controlling , crafttweaker... etc) and libaries. But im not here to justify myself for the modpack.
You can see on the number 40 on his issue tracker there is mine:
https://minecraft.curseforge.com/projects/various-oddities/issues/40


Add @safe and @system to std.string unit tests

All unit tests in std.string are now annotated. I left the @trusted ones alone.

You've missed this one: https://github.com/dlang/phobos/pull/4495 which does the same thing + a bit of work on coverage too.

So I did.


feat(plancard) updated plancard with new design and more flexability

'Updated plancard with new design and more flexability'
New Pull Request
Checklist

[x] I am not disclosing a vulnerability.
[x] My code is conform the code style
[x] I have made corresponding changes to the documentation
[x] I have updated Typescript definitions when needed

Issue Description
Updated the design of the placard component and more controls are now JSX.Elements for more control.

Nice work @HolmJohan 🚀
Noticed 1 small thing
Checkmark color in description can change based on plans


Log warning messages when new types added to server through API

See discussion in #1304
Need to log warning message in Audit Log if types are being added through the API rather than the archive.
Couple this with instructions on how to work with archives.
Then can add a check to query if instances are present and allow deleteTypeDef if there are not instances.
Again add warning message in audit log when update/deleteTypeDef is called.

New message looks like this ...
Tue Nov 19 18:18:02 GMT 2019 cocoMDS2 Action OMRS-AUDIT-0306 A new type called AssetZ (guid 996d14c2-7522-4f6c-8519-757711943fe6) is being maintained through the API of server cocoMDS2.  The method called by user garygeeke was addTypeDef


Initialize project

Added principal components.
Use of Routes and create of Navbar.
Create of a simple form.

Hi @SaveryIV, please add a description to your pull request description 👍🏿


Creating a page alias in another site tree does not modify the siteTreeID

If you have a multilingual website and create an alias of a page to the different language the siteTreeID is not modified. This results In a not showing page if you use a pagelist.
There is a workaround by moving the page to another location and back again the siteTreeID gets modified and the page will be displayed correctly.
How to reproduce

Setup to Languages (at least two)
Create a page list that shows all the pages under that language including aliases.
Create a page under one of the sites
Drag the page to the other site and choose for a alias
Check the page list (the page is not showing)
Move the page to another location in the current site tree and back
Check again.

The siteTreeID can be found in the table Pages.

@rikzuiderlicht Could you check to see if https://github.com/concrete5/concrete5/pull/6393 solves this?

@aembler #6393 solves the problem.

Excellent, good to hear.


Support varying spatial resoln along the spectral axis

Infrastructure for handling varying resolution from new CASA tclean cubes
cc @low-sky, @e-koch, @astrofrog
See related https://github.com/radio-astro-tools/radio_beam/pull/35

:+1: for multi-beam tests

Coverage increased (+0.4%) to 71.92% when pulling 40d1f4023873badb422ccd43b2c411eb4cec1a94 on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

Yay, all passing!  I think this is ready to merge, though since it's big I'd like a review from @astrofrog or @e-koch.  I might wait a few days at least and do some local testing (real use) to see how it fares.

Coverage increased (+0.4%) to 71.968% when pulling 93ed66fc1bf354ad68ea9d94454b1fd6b201339d on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

I think we now have an interdependency issue for the tests between this and radio_beam

Coverage decreased (-3.2%) to 68.323% when pulling 8130e135893386d458c69135d3929eeb68a8a8f8 on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

The latest error has something to do with travis reconfiguration; apparently the wrong numpy version is being run or something like that?

One of the failures was that conda doesn't have bottleneck for python3.5, only python3.4.  I don't know why...

Coverage increased (+1.4%) to 73.0% when pulling dc558bcba71526820731a1cf596a88fdf7532c55 on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

yay, improved coverage!  But, I can't reproduce these numpy 1.9 errors locally.

Coverage increased (+1.5%) to 73.043% when pulling 0b2fcd821f26a415ece53dfd7f520e5e82da3de1 on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

Coverage increased (+1.5%) to 73.043% when pulling 27756e77dd73e42a7005983f8b6899ac048f446c on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.

@keflavich - I've added some minor comments. I haven't had a chance to test locally yet (though I'm working on the PR branch and it hasn't broken my normal workflow).

OK, if this passes I'll merge.  But changelog entry, right...

:+1:

Coverage increased (+1.5%) to 73.043% when pulling 7ab217f368f3a3603f55c13ec3ff7a531cd5632d on keflavich:varying_resolution_Cube into 0719f50f25f7c647ddc41ae9d53d66251dbedffb on radio-astro-tools:master.


Not sure how to try the example

I'm not sure how to test the example from the readme. When I install the package and try to use the example inside a React app I get this error:
export 'browserSandbox' (imported as 'browserSandbox') was not found in '@exact-realty/lot' (possible exports: default)

Do you have any tips on how to get the example running? Maybe an example app somewhere?

Update if I update the example slightly by removing the curly braces around the import something starts working:
// Notice that I removed the curly braces here {}
import browserSandbox from '@exact-realty/lot';

const sandbox = await browserSandbox(`
  /* sandboxed code*/;
  module.exports={hello:(name)=>\`Hello, ${name}!\`};
`);
const result = await sandbox('hello', 'World');
console.log(result); // Output: "Hello, World!"

Thanks @mellson! I agree the example could be made better. Which runtime are you using?
Long story short, there are different exports for different environments. For example, if you run in Node and import the main module, you'll get this:
{
  bareSandbox: [Getter],
  browserSandbox: [Getter],
  freezePrototypes: [Getter],
  hardenGlobals: [Getter],
  nodejsSandbox: [Getter],
  workerSandbox: [Getter]
}

However, there are more specialised exports included for different runtimes, or to use for bundling. If you're running outside of Node.js, the package.json gives you the 'right' export for that environment, which you can override by importing a specialised import (e.g., @exact-realty/lot/browser).
So, back to your question, your change is correct when using it in non-Node runtimes. I'm going to assume Deno here, and what you get is the same as the workerSandbox (or @exact-realty/lot/worker), which is the runtime supported by Deno.
Some variations:

@exact-realty/lot/bare: Experimental export that probably you don't want to use in most cases. It relies solely on JS-level isolation. No iframe, no Worker, no node:vm, etc. Using this requires somewhat securely also requires modifying some of the globals in the host environment (for example, to block Function, eval, etc.). This should work in most/all modern JS environments. This is also the core functionality that powers the rest of the isolation strategies.
@exact-realty/lot/browser: Browser module with sandbox in an iframed Worker, with fallback to just an iframe. This is most compatible but has larger bundle size, and the fallback mechanism makes it less isolated.
@exact-realty/lot/browser-window: Browser module with sandbox in an iframe, without using a Worker at all. This might work in some cases, but is not as isolated as an iframed Worker.
@exact-realty/lot/browser-worker: Browser module with sandbox in an iframed Worker with no fallback.
@exact-realty/lot/nodejs: Export for Node.js-only. It uses worker threads and the vm module for isolation.
@exact-realty/lot/worker: Module with a sandbox in a Worker. This module will also work in a browser, but it doesn't use an iframe at all, so it's less isolated that the other browser-specific modules. This is the default export for Deno, and the only one that Deno supports.

Nice, thank you 👍🏻 That makes sense. I'm testing this for use in the browser, so I will try to import from @exact-realty/lot/browser


[Feature][SDK] Support multi-topic tube fetcher

Description
parent issue #5511
Use case
No response
Are you willing to submit PR?

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

Code of Conduct

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

Tube do not support subscribe multi topic in one consumer， just use single topic fetcher


🐛 switch to serialized file in descriptor pool

Switching to AddSerializedFile instead of the Add for descriptor pools

For context, this is what the protoc-generated _pb2 files do, and it seems to guard against duplicate descriptors


Roll Engine from e0011fa561d6 to e1c2cb294fdb (12 revisions)

https://github.com/flutter/engine/compare/e0011fa561d6...e1c2cb294fdb
2021-06-15<EMAIL_ADDRESS>Roll Dart SDK from 7f1d45fab187 to 83edd189b2a3 (1 revision) (flutter/engine#26771)
2021-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from HLSrWqE34... to 0JD2eM0c_... (flutter/engine#26770)
2021-06-15<EMAIL_ADDRESS>Roll Skia from b5b7c982958d to 237bf5284da1 (24 revisions) (flutter/engine#26768)
2021-06-15<EMAIL_ADDRESS>Migrate spirv to nnbd (flutter/engine#26765)
2021-06-15<EMAIL_ADDRESS>Roll Dart SDK from e0ea160bb165 to 7f1d45fab187 (1 revision) (flutter/engine#26763)
2021-06-15<EMAIL_ADDRESS>Roll Dart SDK from 03d33dd92243 to e0ea160bb165 (1 revision) (flutter/engine#26758)
2021-06-15<EMAIL_ADDRESS>Roll Skia from c238572723b0 to b5b7c982958d (1 revision) (flutter/engine#26754)
2021-06-15<EMAIL_ADDRESS>Update create_sdk_cipd_package.sh (flutter/engine#26755)
2021-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from _VHCabwHc... to HLSrWqE34... (flutter/engine#26753)
2021-06-15<EMAIL_ADDRESS>Roll Dart SDK from 5fdf43fdde62 to 03d33dd92243 (1 revision) (flutter/engine#26751)
2021-06-15<EMAIL_ADDRESS>Roll Skia from 50c3c2475882 to c238572723b0 (1 revision) (flutter/engine#26750)
2021-06-15<EMAIL_ADDRESS>Roll Skia from ef1f4991a688 to 50c3c2475882 (1 revision) (flutter/engine#26749)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from _VHCabwHcp4G to 0JD2eM0c_JF1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Minting 7 NFTs from Rift: stuck on loading

I tried to mint 7 pieces of Rift
teleported assets, checked funds. And got stuck here:

My suggestion - can we put some kind of cap or something? like 5 NFTs max or idk.

15 mins later - still stuck

something on rpc or teleport again?
cc @hassnian @vikiival

Cc @hassnian

tested single  on ahp and multiple on ahk, both worked as expect, they  took some time but worked fine

teleported assets, checked funds. And got stuck here:

@JustLuuuu can you confirm the flow , where did it get stuck.? and can you try again ?
teleported assets -> checked funds -> and confirmed minting -> and the stuck ?
@vikiival  can I get access to the koda testing account, I'm running out of DOT to test.
https://github.com/kodadot/nft-gallery/assets/44554284/e5ed2892-e4ae-4550-bc1c-4779625c359f

@vikiival can I get access to the koda testing account, I'm running out of DOT to test massmint.

🫡


⚠ Bofrost.de has degraded performance

In 01f12f6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1539 ms

Resolved: Bofrost.de performance has improved in 8e21a30 after 41 minutes.


About run time

Hi,
I'm very impressed by your wonderful work.
I wonder your implementation models are as fast as original work.
I can't find the inference time of your implementation models.
Could you let us know the inference time, too?
I have tried to add the biFPN into CenterMask and experienced that biFPN was slower than the original FPN because of its many layers.

I've only posted benchmark numbers for image throughput running validation on mscoco, which includes the data preprocessing time. All in all quite good with AMP enabled and good batch size. Faster than original when I last checked.
I have not run any specific inference benchmarks. You'd likely want to do that yourself on the specific hardwre you're targetting. On a GPU, the default bifpn would be slower than you'd expect for the parameter count, it's using depthwise separable convs which do not make for the most optimal utilization of GPU resources. The swish activations are fairly expensive as well. For a latency sensitive network, you'd likely want to use the ConvBnAct  (set separable_conv=False), set the activation fn to ReLU or ReLU6, increasing the FPN channel count a bit could compensate for some of the accuracy the above changes might add without adding too much latency back.

@rwightman
Thanks for reply :)

@youngwanLEE How's the peformance gain with Bi-FPN in centermask?


Have published zip file preserve the directory structure

Currently we flatten all the files in the zip file. Instead we need to preserve the directory structure.

I fixed this.


Visualize Masks

Is there a way to visualize masks (as seen in the paper?) once the training is done?

You can find our visualisation code in our dataset repo.
See Demo.ipynb


fix(path): correct socialUrl rendering

Currently, socialUrl is incorrectly rendered as https:/baseUrl/path, with a missing slash in ://.
Since socialUrl is only used when cfg.baseUrl is defined, we can simplify by using cfg.baseUrl directly, excluding the scheme portion of the URL.
This fix is much simpler than #1693 , as it avoids modifying a widely used function.

Hmm, it might seems that we probably need to investigate when joinSegments fails, given that at L120 we already constructed the full URL with protocol with baseUrl.
Let me take a look to see if your changes in #1693 affects anything, otherwise I think we should try to merge that one instead.


Bower support

Want to use it, but there's no bower support.

Will add a bower.json and register now!
Bower does allow you to just use the github repo as the dependency and the project versions are tagged with semver so you can target versions appropiately.
Ie. bower install Chrisui/react-hotkeys --save should work fine

v0.3.2 is now available with bower
bower install react-hotkeys
$ bower info react-hotkeys
bower cached        git://github.com/Chrisui/react-hotkeys.git#0.3.2
bower validate      0.3.2 against git://github.com/Chrisui/react-hotkeys.git#*

{
  name: 'react-hotkeys',
  version: '0.3.2',
  homepage: 'https://github.com/Chrisui/react-hotkeys',
  authors: [
    'Chris Pearce<EMAIL_ADDRESS>  ],
  description: 'Declarative hotkey management for React applications',
  main: 'build/global/react-hotkeys.js',
  moduleType: [
    'amd',
    'globals',
    'node'
  ],
  keywords: [
    'react',
    'hotkeys',
    'focus'
  ],
  license: 'MIT',
  ignore: [
    '**/.*',
    'node_modules',
    'bower_components',
    'test',
    'tests'
  ]
}

Available versions:
  - 0.3.2
  - 0.3.1
  - 0.3.0
  - 0.2.0
  - 0.1.1
  - 0.1.0
  - 0.0.1


Why oom within kata-containers

Description of problem
I run a test in kata-container with 512M memory, and the test is killed, this happened in the kata-container, I don't know why the dmesg has the info that Memory cgroup stats for /docker/609e7ec068ac9642229a994438d5a1f68ab5fe9ef81748e367d35b997bd65ae8, who is the kind person and  explain it, thanks very much.
reproduct
/home # exit
[root@centos2 mem]# docker run --privileged --rm -ti -m 512m --cpus 1 --runtime kata-runtime -v `pwd`:/home -w /home --name stress dockerhub.jd.com/jrysk/stress ash
/home # ./mem 520000
block_num = 520000, block_size = 1024
Killed
/home #
/home # ./mem 520000
/home # dmesg
[   13.957383] mem invoked oom-killer: gfp_mask=0x14200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null),  order=0, oom_score_adj=0
[   13.957570] mem cpuset=609e7ec068ac9642229a994438d5a1f68ab5fe9ef81748e367d35b997bd65ae8 mems_allowed=0
[   13.957877] CPU: 0 PID: 93 Comm: mem Not tainted 4.14.67+ #1
[   13.958013] Call Trace:
[   13.958013]  dump_stack+0x5c/0x78
[   13.958013]  dump_header+0x97/0x224
[   13.958013]  ? mem_cgroup_scan_tasks+0x7a/0xc0
[   13.958013]  oom_kill_process+0x21f/0x440
[   13.958013]  out_of_memory+0xf5/0x290
[   13.958013]  mem_cgroup_out_of_memory+0x36/0x50
[   13.958013]  mem_cgroup_oom_synchronize+0x2ae/0x2e0
[   13.958013]  ? __mem_cgroup_insert_exceeded+0x80/0x80
[   13.958013]  pagefault_out_of_memory+0x1c/0x4c
[   13.958013]  __do_page_fault+0x300/0x3f0
[   13.958013]  ? do_syscall_64+0x87/0x317
[   13.958013]  ? async_page_fault+0x2f/0x50
[   13.958013]  do_page_fault+0x2d/0x7e
[   13.958013]  ? async_page_fault+0x2f/0x50
[   13.958013]  async_page_fault+0x45/0x50
[   13.958013] RIP: 401b40:0x401bd0
[   13.958013] RSP: 6bc1a0:0000000000000400 EFLAGS: 00000000
[   13.959746] Task in /docker/609e7ec068ac9642229a994438d5a1f68ab5fe9ef81748e367d35b997bd65ae8 killed as a result of limit of /docker/609e7ec068ac9642229a994438d5a1f68ab5fe9ef81748e367d35b997bd65ae8
[   13.960311] memory: usage 524288kB, limit 524288kB, failcnt 15180
[   13.960458] memory+swap: usage 524288kB, limit 1048576kB, failcnt 0
[   13.960622] kmem: usage 1568kB, limit<PHONE_NUMBER>740988kB, failcnt 0
[   13.960770] Memory cgroup stats for /docker/609e7ec068ac9642229a994438d5a1f68ab5fe9ef81748e367d35b997bd65ae8: cache:68KB rss:522652KB rss_huge:0KB shmem:0KB mapped_file:4KB dirty:0KB writeback:0KB swap:0KB inactive_anon:0KB active_anon:522648KB inactive_file:0KB active_file:0KB unevictable:0KB
[   13.961211] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[   13.961397] [   83]     0    83      384        1       7       3        0             0 ash
[   13.961587] [   93]     0    93   130881   130648     261       3        0             0 mem
[   13.961765] Memory cgroup out of memory: Kill process 93 (mem) score 968 or sacrifice child
[   13.961953] Killed process 93 (mem) total-vm:523524kB, anon-rss:522584kB, file-rss:8kB, shmem-rss:0kB
[   13.973737] oom_reaper: reaped process 93 (mem), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

mem.c
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

int main(int argc, char **argv){
        size_t block_num = 102400;
        size_t block_size = 1024;
        size_t idx;

        if (argc > 1){
                block_num = atoi(argv[1]);
        }

        printf("block_num = %u, block_size = %u\n", block_num, block_size);
        for (idx = 0; idx < block_num; idx++){
                char *a = (char *)malloc(block_size);
                if (a){
                        memset(a, 0, block_size);
                }
        }

        sleep(100000000);
        return 0;
}

Hi @keloyang - I see you closed this - did you figured it out? Maybe adding some details here might record it for others to find in the future?
thx!


nixos/logrotate: switch paths option type from listOf to attrsOf (submodule ...)

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/87702
It was a really bad idea for me to suggest @jslight90 to use a listOf instead of attrsOf for the paths option. I upgraded a server to unstable and tried this out... attrsOf is a much better fit when given a priority option to control sort order.
With this PR NixOS modules can actually start providing log rotation for (the very few) services that actually need it using logrotate. The user remains in full control with the ability to even disable log rotation via the enable option, like so:
services.logrotate.paths.httpd.enable = false;

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)
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@Infinisil we had a small conversation about this module and I always appreciate/enjoy your reviews... would you mind taking a look at this?


Add e2e testing support for Linux in flutter/plugins

In order to start landing Linux plugins in flutter/plugins, we need end-to-end test support for Linux. That means:

[x] plugin_tools support for Linux. This should be very similar to the recent change adding Windows
[ ] Cirrus configuration for running the above. That will need some adjustments to the Docker configuration (or possibly a whole new one, but I'm hoping we can share it).

For the second, we'll want to wait for https://github.com/flutter/flutter/issues/52751 so that we don't break the plugins repo (due to having new dependencies needed in the image) when making that change.

I thought I had this working, but the setup doesn't actually work for our tests. There's no DISPLAY when running in the Docker image; I tried working around that by adding headless support to the Linux embedding, but the tests are using widgets (even for things like path_provider), and those fail assertions when driven headless.
Way may need to set up a dummy X server in the Docker image, but I'm not sure how viable that is.


dynamic island crashes after changing music, volume or brightness

While trying the dynamic island out, I noticed that it keeps crashes after I have switched between different windows, or changed music track. I get a malloc error.
/Users/abdulwahaab710/.config/sketchybar/plugins/Dynamic-Island-Sketchybar/process.sh: line 9: 84812 Terminated: 15          bash "$ISLAND_DIR/music/music_island.sh" "$OVERRIDE"
1
islandhelper(84716,0x10089c580) malloc: Incorrect checksum for freed object 0x122704088: probably modified after being freed.
Corrupt value: 0x0
islandhelper(84716,0x10089c580) malloc: *** set a breakpoint in malloc_error_break to debug

I have also noticed that when I change the volume or brightness process.sh gets terminated.
No matching processes belonging to you were found
0
/Users/abdulwahaab710/.config/sketchybar/plugins/Dynamic-Island-Sketchybar/process.sh: line 9: 84289 Terminated: 15          bash "$ISLAND_DIR/volume/volume_island.sh" "$OVERRIDE|$ARGS"

I am running on the latest available sketchybar, I am using version 2.10.1. I am using an m1 macbook.
BTW this looks amazing, thank you for creating it ❤

It seems like I've made a mistake in helper program to handle the queues (of dynamic islands) in dynamic island. I'll have a look into fixing the problem within next couple days. Until then, the only 'workaround' is to restart the sketchybar program (brew services restart sketchybar) whenever the problem occurs. To me, it seems like the problem only occurs after certain period of time.

I have also noticed that when I change the volume or brightness process.sh gets terminated.

This is actually an expected behavior. Whenever the volume dynamic island changes while it is currently being displayed, it terminates the previously displaying volume dynamic island and draws a new one. It's certainly not the best approach to handle the "overriding islands" (perhaps I should look into a better solution to this problem as well).

I believe the latest commit (8f06821) might possibly fix this issue. I'm not able to reproduce the bug anymore on my end (even though I personally think the bug should still persist). If the bug still happens on your end, could you maybe describe the exact steps to produce the bug?


chore: increase timeout for db migrate test

found bug causing this that will be fixed in another PR


Move compas-open

To be able to use OpenSCD core we need to move out heavily used web-components within CoMPAS. This issue shall describe how to move out compas-open
t.b.d

Acceptance criteria:

Remove all compas-open code from compas-open-scd
Components should be UI based only. So no logic to it
Plugins should contain logic and should use the UI component
Tests need to be rewritten accodingly
Dependencies are imported from their own repositories.
Check to see if helper files are only being used for this particular plugin, if so move to repository. Otherwise, figure where it should be implemented and import dependancy. ( Do not include “compas-core” in the repo)
Include screenshot tests if needed
Document the new API of the plugin
Add TypeDoc for documentation to the repository
Create storybook for the plugin

TBD:

How to handle translations
How to handle logging
Save-as-version now opens the entire document just to be rewritten. This needs to be refactored so it only uses the document ID


Pipeline: Define DAG streaming behavior

Parent task: #400 Kafka -> HBase pipeline

[x] Overall DAG node, edge definition
[x] What each taskactor does to each message
[x] What aggregation or sliding windows are used per taskactor

closed by #400


ui: Disable tip for sampled queries

If query is already sampled, we hide the user tip

hey @jczhong84 and @zhangvi7 do you know why is sampling rate info piped down from composer to the execution? isn't it available via query meta? https://github.com/pinterest/querybook/pull/1465/files

@czgu Its used the determine if the currently written query, before executing, is eligible for sampling based on tables and then decide we to show user tip

Included bug fix for query composer:

Previously if tables in query change, we did not update samplingTables to include updated sampleRate.
And execution metadata was not updated properly if there are no sampling tables

Added getter functions to provide updated values for sampleRate and samplingTables, similar to DataDocQueryCell


[WIP] Improve benchmark

[x] Support for testing using databases
[x] Fix clean up problem
[x] Export redis database test results
[ ] Find problems with performance test results

:white_check_mark: Build AElf <IP_ADDRESS>3 completed (commit https://github.com/AElfProject/AElf/commit/5cdb85fd6c by @zhxymh)

:x: Build AElf <IP_ADDRESS>9 failed (commit https://github.com/AElfProject/AElf/commit/2c00ca6391 by @zhxymh)

The problems with performance test results will be fixed in other pr.


Bump version correctly: 0.0.7 → 0.0.8

 Release new version of back-end SDK

@sahandseifi please check again


Browser Crashes When Switching FancyZones

Microsoft PowerToys version
0.41.4
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
2 monitors, both a 2 column grid layout
attempt to move any browser (texted Firefox and Chrome) to another monitor will instantly crash the browser.
Video:
https://user-images.githubusercontent.com/25023814/125337818-6f8cfe80-e31d-11eb-9c91-a79b5d30e2f3.mp4
✔ Expected Behavior
browser to move to fancyzone tile
❌ Actual Behavior
Browser crashes immediately
Other Software
Firefox v89.0.2
Chrome 91.0.4472.124

Hi @yeezy, can you please attach the logs generated by the bug report tool in your systray?

@seraphimaz should we add this to known compat or worth looking into further?

@SeraphimaZ should we add this to known compat or worth looking into further?

Let's add it to known compat for now.


No rule to make target for the libtensorflow_cc.so

Hello, There are two error of your projects on running at my virtual machine.
Scanning dependencies of target intro-basic-graphdef
[  8%] Building CXX object examples/1_Introduction/CMakeFiles/intro-basic-graphdef.dir/src/basic-graphdef.cc.o
make[2]: *** No rule to make target '../third-party/tensorflow-cc-sdk-generator/example/third-party/tensorflow-sdk/libs/libtensorflow_cc.so', needed by 'bin/intro-basic-graphdef'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:161: examples/1_Introduction/CMakeFiles/intro-basic-graphdef.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
This error is for tensorflow-cc-sdk-generator project with build folder.
Scanning dependencies of target example
[ 50%] Building CXX object app/CMakeFiles/example.dir/src/main.cc.o
make[2]: *** No rule to make target '../third-party/tensorflow-sdk/libs/libtensorflow_cc.so', needed by 'example'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:133: app/CMakeFiles/example.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
This error is for tensorflow-cc-example project with build folder.
My Tensorflow Github project is using branch with r2.3.
My abseil Library is using branch with lts_2018_12_18.
My protobuf Library is using branch with 3.9.x.
My machine is Ubuntu with 20.04 with WSL2, it is set up on window 11.
My configure:
I have installed bazel 3.1.0.
Location for python is /home/ubuntu/miniconda3/bin/python3.
Location for python Library is /home/ubuntu/miniconda3/lib/python3.10/site-packages.
No need to build TensorFlow with OpenCL SYCL support.
No need to build TensorFlow with ROCm support.
No need to build TensorFlow with CUDA support.
No need to download a fresh release of clang.
bazel option is -march=native -Wno-sign-compare.
No need to interactively configure ./WORKSPACE for Android builds.
After my bazel build command is then:
bazel build --config=opt --local_ram_resources==4096 --cpu=4 --jobs=4 --verbose_failures //tensorflow:libtensorflow_cc.so
bazel build is no issues.
I hope that I can use CPU to run the tensorflow project or something of tensorflow. Those two error is bazel build command have problem ? I just miss the last one command issues. The command is cmake --build. Please help me to fix the issues.

If you need some information, I can provide that.


CAD-1877: multi pool functionality integration

Integrate multi-pool functionality into the node:

accept bulk credentials files & pass them to protocol parameters setup
change forging stats to per-thread & compute aggregate missed slots
factor the forging stats handling a little bit
small test fixes
wire credentials metrics through the log router

TODO

[ ] handle labels in the newly pool-labelled traces
[ ] handle multi-epoch labels in the KES evolution traces

Ok, I think I've addressed the comments, but handling of pool-labelled traces remains to be done still.

I am sorry to add this to a PR, and maybe this might be last on any of the IOG repos.
What happened to good-for-decentralisation? Is it no longer the intention?
Essentially you have community being educated on how not to have spam of pools , but IOG just counter stepped back and gave a green thumbs up to this approach? As this will now be a supported setup from the node, we have more incentives for people to slap 100 further pools as we increase k?
CC: @dcoutts

@rdlrt said:

maybe this might be last on any of the IOG repos.

I hope not.

@rdlrt Sorry it was unclear what we're doing here.
This feature is only for our own benchmarking. We need to run benchmarks with 1k, 2k, 5k stake pools so that we can make sure we know the ledger (not network) performance characteristics and make sure we have headroom on the mainnet. But obviously it's very inconvenient to run such a benchmark using 5000 separate nodes!
We are not planning to use this feature in production nor encourage anyone else to do so. Rather the contrary! It would be bad to use in production for all the reasons you allude to and we will make sure this feature can only be used in private testnets (like we use for system benchmarks).
So don't worry, we've not suddenly gone insane :-)

Thanks @dcoutts , while the intention is reassuring, just vary of the eyes foreseeing the activities and can potentially spin off the nodes using codebase / branch :( If the features are all present , it would be easy for creators of automation tools (part of value added advertisements) and ones who are running > 5 pool clusters using 2 relays. But I suppose it's a topic for different place

@rdlrt technically it's of course always been possible to run multiple node processes on a single multi-core machine. For example running 5 on an 8 core machine. That temptation is there now and it's not hard to do of course.

Note that we're going to hold this for the next release and merge it afterwards. The consensus code is being adjusted so that single-era protocols can use multiple keys but the main multi-era Cardano protocol cannot. This is baked into the types.


Text replacer, Text Expander or Text Snippet

Description of the new feature / enhancement
A text snippet management tool for Windows to save time by text we type regularly with writing just a few keystrokes. e.g "www.microsoft.com" with "/msft" or "www.google.com" with "/ggl". In other words, beeftext tool built directly into powertoys.
Scenario when this would be used?
It will be very helpful in writing throughout the day and also enhancing productivity and usability with efficiency.
Supporting information
https://github.com/xmichelo/Beeftext.git

AutoHotkey could do this without breaking a sweat!

/dup https://github.com/microsoft/PowerToys/issues/5074