text:
Manual path entry to Unity Editor

I managed to break my automatic detection of the unity editor entirely by moving the installation directory of Unity Hub installed things (I can not afford to waste the C: space).
As a result RW4D does not pick up the installed unity editor at all, having a manual selection here would make it possible for me to continue. Going back / forward in the steps does not solve this issue either.

Yeah, it's kind of tricky to "find an application in Windows". I might have to provide a fix by letting you start Unity Hub and so I can go though all running processes and find its root directory (just like I did with RimWorld)

Yeah, it's kind of tricky to "find an application in Windows". I might have to provide a fix by letting you start Unity Hub and so I can go though all running processes and find its root directory (just like I did with RimWorld)

This approach may cause issues for users that install the hub on one drive and editors on another, unless you can manage to read out the configuration data of the Hub to detect the editor installation destination. A solid fallback for this kind of stuff would be to provide an input-field to manually enter the path

I think default is "" which means its relative to the hub itself, otherwise is your custom location as path

Looks like you're right with that!

authors: NightmareCorporation pardeike


text:
encoding many arguments runs out of memory!

export V=[{"constant":false,"gas":null,"inputs":[{"type":"address","name":""},{"type":"address","name":""},{"type":"uint256","name":""},{"type":"uint256","name":""},{"type":"uint256","name":""},{"type":"uint256","name":""},{"type":"address","name":""},{"type":"uint8","name":""},{"type":"bytes32","name":""},{"type":"bytes32","name":""},{"type":"address","name":""},{"type":"address","name":""},{"type":"uint256","name":""},{"type":"uint256","name":""},{"type":"bool","name":""},{"type":"uint8","name":""},{"type":"bytes32","name":""},{"type":"bytes32","name":""}],"name":"lotsofstuff","outputs":[],"payable":false,"stateMutability":null,"type":"function"}]
ethabi encode function <(echo $V) lotsofstuff -p 2C33B04ae6B405dEE94a6503dbe6a7CaD3f082Ca -p 2C33B04ae6B405dEE94a6503dbe6a7CaD3f082Ca -p 0000000000000000000000000000000000000000000000001bc16d674ec80000 -p 00000000000000000000000000000000000000000000000001671455cef6f770 -p 0000000000000000000000000000000000000000000000000000000000000000 -p 0000000000000000000000000000000000000000000000000000000000000000 -p c3455912Cf4bF115835A655c70bCeFC9cF4568eB -p 28 -p 7b93f2490c1833e65f9bfa58cd50e9f097edc408e65ebe88a5551dfb53ec3755 -p 4ab85d434db4881066e773411c6cf6b86966f4b5860f475b4dba2fa5608302ce -p 2C33B04ae6B405dEE94a6503dbe6a7CaD3f082Ca -p 2ef865ca017912c872826e25736a7a11f94235af -p 0000000000000000000000000000000000000000000000000000000000000000 -p 0000000000000000000000000000000000000000000000000000000000000000 -p 1 -p 28 -p 020303e12cbea2da5ab221a728bac53b8618cf8d9f3f4968cd24a7d9d1cf6abe -p 1e5a551d56422020a5b8f9b70d19b3771b0fc4c79334e353cef42a8eeeecc879 -l

For me running such a process on mac it is forcibly killed after ~2 minutes after eating up too much memory. (I thought rust was supposed to not do this :( ) what's going on here?

Can confirm that this nukes my nix machine as well

@cecton one for you perhaps?

I thought rust was supposed to not do this :(

In the end Rust compiles exactly what you asked. If the sole purpose of a program would be to fill the memory, Rust will not prevent it. But I will investigate to see what's going on.

It's probably a bug in docopt. It tries to deserialize the command line arguments but somehow it never gets back to the CLI. Will do more investigation.

I managed to reproduce it: https://github.com/cecton/docopt.rs/tree/infinite-loop-filling-memory
Now to fix it...... that's a different story

Do we have an issue open with docopt?

@dvdplm I have not created one yet. I was hoping to fix the problem easily but it doesn't go well so I give up for today.
All I can say is:

I made a test case on this fork: https://github.com/cecton/docopt.rs/tree/infinite-loop-filling-memory that reproduce the issue
If I delete enough arguments (5x or 6x -p ...), the parser actually work! But it takes >2.6GB of memory and a huge amount of time but it works.

As plan of action I see only 2 way to solve this:

We do fix the issue in docopt
We refactor the code and switch to structopt at the same time

I'm not a big fan of giving up on this but the author said in the readme:

This crate is unlikely to see significant future evolution. The primary reason to choose this crate for a new project is if you're specifically interested in using docopt syntax for your project. However, the wider docopt project is mostly unmaintained at this point.
Consider using clap or possibly structopt instead.

I don't mind debugging it but I have the feeling we just won't have that issue with structopt.

@dvdplm well at least that solves the question of keeping docopt or not.

source: gharchive/issue

authors: MrChico cecton dvdplm

repo: paritytech/ethabi

license_type: permissive

license_source: github-api


text:
fixed a comment in the system pallet

Fixed a weirdly phrased comment present in the deposit_event_indexed fn of system pallet.
(this is totally not a PR for testing CI)

bot rebase

source: gharchive/pull-request

authors: PatricioNapoli ggwpez

repo: paritytech/substrate


text:
Cleanup CLI and introduce execution-all

--execution-all sets the execution strategies for all available
execution contexts.
Fixes: https://github.com/paritytech/substrate/issues/2636

cc @mattrutherford you probbaly can use this.

authors: Kianenigma bkchr


text:
historical slashing w ocw w adhoc tree creation

Plumbing to allow simplified slashing utilizing data stored by the offchain_index::set API.
This is an alternative impl to #5773 .
Besides the required changes to #3722  it also contains:

converts the key used in OffchainStorageChanges from a Vec<u8> concatenation of prefix and key to (Vec<u8>, Vec<u8>) which allows easy key and prefix extraction.

impl of TestPersistentOffchainDB to share state between TestExternalities and TestOffchainExt - the sync is done explicitly fn sync_offchain_index_changes() - implicit would have required significantly more changes for a mere 2 test cases.

Related #3722

Given the responses from matrix, this needs restructuring into preferably two modules, one offchain and one on chain using the OffchainIndexing API, and not mix it in one struct

CI is failing but seems unrelated. Maybe needs a merge with Master?

@rphmeier looks good now :)

Remaining topics tracked in #6359 and #6358

authors: drahnr rphmeier


text:
fix js dependancy alert, bumping bl version

Bumping bl version from 4.0.2 to 4.0.3 based on npm audit report  1 High severity
Bumping lodash version from 4.17.15 to 4.17.0 based on npm audit report 23 Low severity
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Remote Memory Exposure                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bl                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @oclif/dev-cli [dev]                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ @oclif/dev-cli > qqjs > tar-fs > tar-stream > bl             │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1555                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

bot merge

authors: HarryHong bkchr


text:
Balance to Asset Balance Conversion

This PR adds the BalanceConversion trait and BalanceToAssetBalance type to pallet_assets to allow converting native balances to asset specific ones.
This is a "low resolution" conversion based on the existential deposit (of the native currency) and the min_balance (of the asset).
Note: The implementation actually expects a generic fungible, so the incoming balance could theoretically be an asset as well. (So the same implementation could work for chains that only have the assets pallet.)
PR also adds some derives for Imbalance that seemed useful but are unconnected to the conversion.
needed for: https://github.com/paritytech/cumulus/pull/488
supersedes #8776

I guess this needs an audit?
The particular changes are pretty innocuous, but will be relevant for transaction payments?

Should the trait live in frame_support?

Probably yes, somewhere in here: https://github.com/paritytech/substrate/tree/master/frame/support/src/traits/tokens

Code itself lgtm. But what is the use case and the justification for using min_balance of assets to establish a conversion rate? From what I understand, in order to faithfully use this conversion one must assume the min_balance between two assets is equivalent in relative "value" - is this the correct way to think about it?

But what is the use case and the justification for using min_balance of assets to establish a conversion rate? From what I understand, in order to faithfully use this conversion one must assume the min_balance between two assets is equivalent in relative "value" - is this the correct way to think about it?

Yes I think this is the correct usecase, when min_balance hold a relatively same value.
Usually the minimum balance cover the cost to have the balance and other account information on chain.

bot merge

authors: apopiak emostov shawntabrizi thiolliere


text:
Update multiple dependencies

This updates a few of the easy-to-update deps mentioned in https://github.com/paritytech/ci_cd/issues/219, plus a few collateral ones

The Cargo.lock in Substrate is not used for anything meaningful. So, there is really no reason to just update these deps without bumping them in Cargo.toml files.

Yeah, that's a good point; I'll also update all of the relevant deps in our Cargo.tomls! Nevertheress the transitive deps which are only in Cargo.lock will still have to be updated due to https://github.com/paritytech/substrate/pull/9885

bot merge

authors: bkchr koute


text:
Implement UntypedValue in wasmi_core

Closes https://github.com/paritytech/wasmi/issues/368.
Maybe we also want to support Wasm load and store operations but I have not yet come up with a decent API for those.
Also for completeness we could support const operations such as i32.const:
/// Executes `i32.const` Wasm operation.
pub fn i32_const(value: i32) -> Self {
    Self::from(value)
}

Does not do a lot though.

Codecov Report

Merging #369 (141574f) into master (29110ed) will decrease coverage by 2.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #369      +/-   ##
==========================================
- Coverage   79.17%   77.09%   -2.08%
==========================================
  Files          96       97       +1
  Lines       10985    11277     +292
==========================================
- Hits         8697     8694       -3
- Misses       2288     2583     +295

Impacted Files
Coverage Δ

core/src/untyped.rs
0.00% <0.00%> (ø)

validation/src/func.rs
94.09% <0.00%> (-0.32%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29110ed...141574f. Read the comment docs.

authors: Robbepop codecov-commenter

repo: paritytech/wasmi


text:
Issue 191 Ability to edit IT System Fields

This change is

Don't forget about the f6 templates (that are the new defaults)

Can you please also add the CSS/JS to the f6 template?

Review status: 0 of 12 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 11 of 12 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

authors: adonm ropable xzzy

repo: parksandwildlife/oim-cms

license_source: bigquery


text:
Possible cdn install ?

Hello, I tried to do inline install , is that possible ?
I tried it like this:

<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/npm/vue-client-recaptcha@1.0.1/dist/style.css">

                                        <input type="text" v-model="inputValue" />
                                        <supercapch
                                        :value="inputValue"
                                        @getCode="getCaptchaCode"
                                        @isValid="checkValidCaptcha"
                                        />

Which sadly ends up with ": e.useSlots is not a function" error, couldnt find any example on how to get it working in this way, using vue3

Hello, I tried to do inline install , is that possible ?
I tried it like this:

<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/npm/vue-client-recaptcha@1.0.1/dist/style.css">

                                        <input type="text" v-model="inputValue" />
                                        <supercapch
                                        :value="inputValue"
                                        @getCode="getCaptchaCode"
                                        @isValid="checkValidCaptcha"
                                        />

Which sadly ends up with ": e.useSlots is not a function" error, couldnt find any example on how to get it working in this way, using vue3

Hello, I tried to do inline install , is that possible ?
I tried it like this:

<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/npm/vue-client-recaptcha@1.0.1/dist/style.css">

                                        <input type="text" v-model="inputValue" />
                                        <supercapch
                                        :value="inputValue"
                                        @getCode="getCaptchaCode"
                                        @isValid="checkValidCaptcha"
                                        />

Which sadly ends up with ": e.useSlots is not a function" error, couldnt find any example on how to get it working in this way, using vue3

Thank you very much for the report you gave. Today I am working on a new version to which a cdn will be added with a new rollup configuration.

@Songoo7
You can import recaptcha as module
`

`

Hello, ty for answer, will try to think it out some way, importmap is not well supported in browsers, but may be workaround with using https://github.com/guybedford/es-module-shims , although not sure what would happen to rest of my app which is done in classic cdn way, so guess will have to somehow rework it all or dunno :--)

Hello, ty for answer, will try to think it out some way, importmap is not well supported in browsers, but may be workaround with using https://github.com/guybedford/es-module-shims , although not sure what would happen to rest of my app which is done in classic cdn way, so guess will have to somehow rework it all or dunno :--)

**Hi Songoo **
If you one use with classic cdn easyli copy this code then remove vue and add your functions (I removed store you can add it again)
@Songoo7

<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/npm/vue-client-recaptcha@1.0.3/dist/style.css">

    <input type="text" v-model="inputValue" />
    <supercapch :value="inputValue" @get-code="getCaptchaCode" @is-valid="checkValidCaptcha" />

Tnx very much, worked :P - https://i.imgur.com/SwttgEb.png
Had to change from @getCode to @get-code for some reason.
Was a bit confused from "setup" method so changed it to oldchool, I just love simple things :)
Again tnx much for help!!

<link rel="stylesheet" media="screen" href="https://cdn.jsdelivr.net/npm/vue-client-recaptcha@1.0.3/dist/style.css">

<supercapch
:value="inputValue"
@get-code="getCaptchaCode"
@is-valid="checkValidCaptcha"
></supercapch>

<button v-if="showSubmit" type="button">
	Code OK, submit form.
</button>

repo: parsajiravand/vue-client-recaptcha

license: MIT


text:
Introduce OneToManyValueExpression and OneToOneValueExpression

This removes duplicated code in these ValueExpressions: Last, First, Count and FoldCat. This is achieved by introducing a new abstract base class OneToOneValueExpression. The four classes look pretty clean now!
The old UnaryValueExpression has been renamed to OneToManyValueExpression.
The names of these classes are still open to debate, not too sure if these are the best names.

one-to-one meaning: one operand leads to a one (optional) value
one-to-many meaning: one operand leads to many (optional) values

I found that the Bytes class still contains this exact code, but is not a match for either base class, since we "expand" each result of the operand into multiple values.

The cleanup bit is nice I think!

Closing this PR for now, we'll keep it as reference for issue #246 and others.

authors: ccreeten jvdb rdvdijk

repo: parsingdata/metal


text:
"Bad file descriptor" error on windows 10 bash subsystem

Running cargo watch on the ubuntu bash subsystem of windows 10 results in the following error:
> cargo watch
ERROR:cargo_watch: Failed to init notify (Io(Error { repr: Os { code: 9, message: "Bad file descriptor" } }))

Does this mean anything to you?

Cargo Watch should now fallback to polling if it can't use the native version. I'm thinking this is an issue of Windows Bash reporting as Linux for the rust build system, and Notify assuming that inotify is available. If it doesn't fallback, try to force it with --poll.

Closing. Reopen if it still occurs.

I believe inotify supported landed in the latest release of the Linux subsystem, so this should be properly fixed now.

authors: Tzrlk passcod

repo: passcod/cargo-watch


text:
Release 3.0

We want to release 3.0 which is packed with changes.
Is there any more additions we want to make before releasing?
The drafted releasenotes are as follow:
💥 Breaking change

Require .NET 5. part of Improve code quality 4 @iamcarbon (#254)

🚀 Features and enhancements

Fix attestation certificate validation @adricasti (#261)
Improve Code Quality 5 @iamcarbon (#259)
Use System.Formats.Cbor @iamcarbon (#257)
Move AndroidKey tests to System.Formats.Asn1, remove AsnElt @aseigler (#258)
Improve code quality 4 @iamcarbon (#254)
Improve code quality 3 @iamcarbon (#251)
Migrate from Newtonsoft to System.Text.Json @iamcarbon (#249)
Improve Code Quality 2 @iamcarbon (#244)
Cleanup tests @iamcarbon (#247)
Use .NET 5.0 SDK @iamcarbon (#245)
Improve Code Quality @iamcarbon (#239)
Support MDS3 @aseigler (#238)

🐛 Bug Fixes

Fix attestation certificate validation @adricasti (#261)
Fix for ECC Curve secP256k1 @rodheath (#234)
Intercede bug fixes @rodheath (#229)

🧰 Maintenance & documentation

Fix attestation certificate validation @adricasti (#261)
Fix old links in readme @abergs (#262)
Improve Code Quality 5 @iamcarbon (#259)
Fix codecov badge in readme @abergs (#260)
Move AndroidKey tests to System.Formats.Asn1, remove AsnElt @aseigler (#258)
Remove left over remnants of MDS2 @aseigler (#253)
Migrate from Newtonsoft to System.Text.Json @iamcarbon (#249)
Remove require labels workflow @iamcarbon (#248)
Use .NET 5.0 SDK @iamcarbon (#245)
Improve Code Quality @iamcarbon (#239)
Drop .NETStandard2.0 support on AspNet project @iamcarbon (#241)
Adjust for .net foundation @abergs (#232)

Thanks for his release, would it be possible to push it to the NuGet repository that still contains the previous 2.0.2 release?

@adricasti I'm not sure what you mean? We will push it to nuget, but all the previous versions are still available on nuget:
https://www.nuget.org/packages/Fido2/

Fido2 3.0.0-bet1 is available on nuget: https://www.nuget.org/packages/Fido2/3.0.0-beta1

Is there any more additions we want to make before releasing?

Hoping we can get #266 in and I am going to work on #237 as well and get that one in as well.

I've published #266 now, interested in your thoughts @aseigler as I went a bit further than originally discussed.

FIdo2 3.0.0-beta 2 is pushed to nuget: https://www.nuget.org/packages/Fido2/3.0.0-beta2

Any chance that 3.0 could still support netcoreapp 3.1 for a little further?
I am working on integrating that into a larger code base that currently still needs to support 3.1 for a bit further while its currently in the process to being updated to .NET 6, but that will take some time (at least end of year) and we would need MDS3 support as deployment will be in environments that have no external network access.
Or would it be possible to backport MDS3 support into 2.x so that we can use that until 3.1 support can be dropped here?

3.1 -> 6.0 is actually pretty simple compared to previous upgrades we've been through but that doesn't account for organisational intertia of course.
My suggestion would be to do a PR to backport MDS3 or create your own fork and handle it that way.

@mackie1001 I'll make it happen. I've been reviewing and it looks good so far.

@mackie1001 Tried updating and failed, got stuck at the DB bits as well. I will invest more time and see if I can figure this out.
Greetings Damien

@mackie1001 Tried updating and failed, got stuck at the DB bits as well. I will invest more time and see if I can figure this out.
All FIDO2 bits are inside the FIDO2 folder
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/tree/main/AspNetCoreIdentityFido2Mfa/Fido2
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/tree/main/AspNetCoreIdentityFido2Passwordless/Fido2
And the store.
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/blob/main/AspNetCoreIdentityFido2Passwordless/Data/ApplicationDbContext.cs#L14
Greetings Damien

Migrate to v3

Update nuget to v3.0.0-beta6
Update lib init Origins = new HashSet<string> { "http://example.com" }
Change JSON serialization / deserialization to JsonSerializer.Serialize / JsonSerializer.Deserialize in your controllers
In credential methods change model

var exts = new AuthenticationExtensionsClientInputs
{
     Extensions = true,
     UserVerificationMethod = true
};

In credential methods add cancelation token in params IsCredentialIdUniqueToUserAsyncDelegate callback = async (args, cancellationToken) => { ... }

In assertion methods change model

{
   UserVerificationMethod = true
};```

@mackie1001 Tried updating and failed, got stuck at the DB bits as well. I will invest more time and see if I can figure this out.
All FIDO2 bits are inside the FIDO2 folder
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/tree/main/AspNetCoreIdentityFido2Mfa/Fido2
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/tree/main/AspNetCoreIdentityFido2Passwordless/Fido2
And the store.
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/blob/main/AspNetCoreIdentityFido2Passwordless/Data/ApplicationDbContext.cs#L14
Greetings Damien

Migrate to v3

Update nuget to v3.0.0-beta6
Update lib init Origins = new HashSet<string> { "http://example.com" }
Remove .AddNewtonsoftJson(); in builder.Services.AddControllers().AddNewtonsoftJson();
Change JSON serialization / deserialization to JsonSerializer.Serialize / JsonSerializer.Deserialize in your controllers
In credential methods change model

var exts = new AuthenticationExtensionsClientInputs
{
     Extensions = true,
     UserVerificationMethod = true
};

In credential methods add cancelation token in params
IsCredentialIdUniqueToUserAsyncDelegate callback = async (args, cancellationToken) => { ... }
In assertion methods change model

var exts = new AuthenticationExtensionsClientInputs()
{
   UserVerificationMethod = true
};

In assertion methods add cancelation token in params
IsUserHandleOwnerOfCredentialIdAsync callback = async (args, cancellationToken) => { ... }
In JS function getCredentials add to response userHandle

 let authData = new Uint8Array(credential.response.authenticatorData);
    let clientDataJSON = new Uint8Array(credential.response.clientDataJSON);
    let rawId = new Uint8Array(credential.rawId);
    let sig = new Uint8Array(credential.response.signature);
    let userHandle = new Uint8Array(credential.response.userHandle);
    const data = {
        id: credential.id,
        rawId: coerceToBase64Url(rawId),
        type: credential.type,
        extensions: credential.getClientExtensionResults(),
        response: {
            authenticatorData: coerceToBase64Url(authData),
            clientDataJson: coerceToBase64Url(clientDataJSON),
            userHandle: userHandle !== null ? coerceToBase64Url(userHandle) : null,
            signature: coerceToBase64Url(sig)
        }
    };

Thanks @namespacedevbox I give this a try

@namespacedevbox Updated now, thanks a million. Most of the migration worked. I was not able to update the js login scripts to use the userHandle, this causes errors if I add this. Is this a bug maybe?
https://github.com/damienbod/AspNetCoreIdentityFido2Mfa/blob/main/AspNetCoreIdentityFido2Passwordless/wwwroot/js/passwordless.login.js#L96
Everything else seems to work.
The migration was great. This was missing, maybe you could add it, if this is for the docs =>
new CredentialMakeResult( instead of new CredentialMakeResult {}

Also I use this at the moment:
Origins = new HashSet<string> { _optionsFido2Configuration.Value.Origin },

HashSet Origins is not really a good type to serialize, deserialize to/from a configuration, maybe use a different type?

@damienbod What is the message of the error?
my function that receives options and returns data back
async function createCredentials(credentialOptionsJson) {
    let credentialOptions = JSON.parse(credentialOptionsJson);
    credentialOptions.challenge = coerceToArrayBuffer(credentialOptions.challenge);
    credentialOptions.user.id = coerceToArrayBuffer(credentialOptions.user.id);
    credentialOptions.excludeCredentials = credentialOptions.excludeCredentials.map((c) => {
        c.id = coerceToArrayBuffer(c.id);
        return c;
    });

    let credential = await navigator.credentials.create({
        publicKey: credentialOptions
    });

    let attestationObject = new Uint8Array(credential.response.attestationObject);
    let clientDataJSON = new Uint8Array(credential.response.clientDataJSON);
    let rawId = new Uint8Array(credential.rawId);

    const data = {
        id: credential.id,
        rawId: coerceToBase64Url(rawId),
        type: credential.type,
        extensions: credential.getClientExtensionResults(),
        response: {
            attestationObject: coerceToBase64Url(attestationObject),
            clientDataJSON: coerceToBase64Url(clientDataJSON)
        }
    };

    return JSON.stringify(data);
}

I get the following warning:
credentialId: null, counter: 0, status: 'error', errorMessage: 'Userhandle was empty DOMString. It should either be null or have a value.'}

Added a PR to improve the Fido2 configuration
https://github.com/passwordless-lib/fido2-net-lib/pull/306

I have an error only on android:
Userhandle was empty DOMString. It should either be null or have a value.

Version 3.0.0 is now released.

Nuget: https://www.nuget.org/packages/Fido2/3.0.0
Github release: https://github.com/passwordless-lib/fido2-net-lib/releases/tag/v3.0.0

Please open new issues for bug reports!

authors: abergs adricasti aseigler damienbod gingters mackie1001 namespacedevbox


text:
How do i get rid of the extraneous rows of dates, In Vertical Scroll mode?

First of all, this is the best Calendar library ever! Here's a demo screenshot of what I have so far.

Question 1:
My issue, as you can see, is that the calendar displays an extra row of grayed out dates representing dates from the next month. How do I not display this row? I tried limiting numberOfRows to 5 but it still displays this row.
Question 2 (related): How do I remove any dates that don't belong to the current month entirely? What I've tried so far without success:

In the isAboutToDisplayCell delegate, toggling cell.hidden = true based on whether the date falls into the range of the calendarView.currentCalendarDateSegment() date range.

Thanks your help is much appreciated! Let me know if I can provide any additional info

Have you checked the wiki? --> https://github.com/patchthecode/JTAppleCalendar/wiki/Common-Questions.  I think question1 should have what you're looking for.

That was right in front of my eyes but I didn't see it. Thank you! Latest screenshot
It's shaping up real nice. You'll notice that where the gray dates used to be there is a lot of white space. Is there a row spacing attribute? Otherwise I'm basically done and problem solved.

Here are your options of what can be done about the space. They are listed in order of difficulty/time constraints. Pick one 😈

Implement headers as shown in the sample app here on git hub. Headers will take away from the "empty look"

Wait for the update over the weekend (HOPEFULLY if I  don't get tied up with my work.. and i do get tied up quite often, so keep both your fingers and toes crossed). The update will allow you to have a smaller height thereby making the space look less noticeable.

Wait for my later later upgrade. This will have the ability to not generate outdates. Therefore there wont be a space to worry about.

Help me by taking a pull request and doing the code for me while I work on other features.

Hi @patchthecode, I'm also trying to change the number of rows to 5 and it's always displaying 6 rows. It's weird because if I try to change the number of rows to anything below 3 its works fine.

@victtavares check out the Wiki question 2. I just updated it.

I'm also looking forward to this feature.
Just one more thing to consider: I think in horizontal scroll mode the height of the calendar view should be adjusted, instead of just redistributing the visible rows in the available space (which I assume will be done for vertical scroll mode).
So we could do something like this out of the box:

To accomplish this now I'm resizing the bottom constraint, which works, but it's not the most elegant solution.

@dbmrq
I am currently working on this code. It is the final massive upgrade to this calendar. Then this library will be complete. I cannot foresee any other major updates that this library will need after it is complete.
Concerning how it will look, I will not let it auto adjust like the other calendar frameworks. I think this is bad design. By making it autoadjust, the library is assuming that the developer wants to do this. This is not how a control should be.
What I will do is add a parameter to the the following function. Currently this function informs the developer when a screen is scrolled.
func calendar(calendar: JTAppleCalendarView, didScrollToDateSegmentStartingWithdate startDate: NSDate, endingWithDate endDate: NSDate)

I will add a parameter which describes, the number of rows in the visible section, and the size of the frame. Now if the developer wants to resize the calendar, then he can do so if he chooses using what ever animation code he wants.
The upgrade I am working on is a huge change. Currently this calendar operates on the basis that the calendar is a 7 x 6 grid. i.e 42 items on screen. I have realized that this is not always the case in months that have 5 rows instead of 6 rows.
So the upgrade will also allow a dev to choose how he wants to generate the date cells. He can choose:

To turn pre-Dates on or off
To turn end-Dates either off, tillEndOfRow (which is what you currently want) or tillEndOfGrid (which is how it currently is right now)

I am not sure if I explained it clearly, but this will be a good idea right?

Sounds awesome. :)
You're right, I meant the resizing as an option, not something that should be imposed. The changes you mentioned would already be a huge help, and it fits with the library's philosophy of letting the user set things up himself.
That being said, I see you're trying to make JTAppleCalendar more popular, and I think it definitely deserves to be, so here are my two cents. A while ago I was looking for a calendar library to use in my app and I came by yours and also a few others. I ended up going with CVCalendar just because it seemed easier to set up. But boy, I was wrong. I ended up having to pretty much rewrite the whole library from scratch to make it work for me, and the code is really confusing. Now with swift 3 coming up I'd have to update all that awful code again and I decided to give JTAppleCalendar a try instead. I'm really glad I did, it was a lot easier to set things up and I got it exactly how I wanted in no time. It doesn't look that way, though. I think it would be a good idea to come up with a sort of a default implementation, something the user could drag and drop and start using while changing as little as possible. I don't think that would be very hard at all. The calendar could return a standard dayView and if users wanted to customize it they could just override it. And the same goes for animations and the resizing I mentioned and stuff like that. All that should definitely be customizable and up to the user, but I think the library would attract a lot more users if it came with that stuff already set up and if a user wanted to change it he'd just override a couple of methods and that's that.
Anyway, it won't make much of a difference to me, since I already set up the calendar the way I want, it's just a suggestion that I think would make your library more popular. "More popular" isn't necessarily best, though, so I totally get it if you prefer to stick with the current DIY philosophy.
Congratulations on your great work. It really is the best swift calendar on GitHub. 😉

@dbmrq wow. Thanks for your kind words! And your advice makes a lot of sense. I really like the DIY approach, but it seems programmers are lazy :/
So I will follow your advice.
I will still have it DIY, but I will have initial setup code in such a simple manner, that all the developer has to do is copy and paste it. From there, they can customize the library as they please.
Also, This library already has a swift 3 branch in case you were wondering. I will try to finish this massive update within the next 1.5 weeks.
Again thanks. Btw, If you have any ideas that I have missed, do let me know. I want this library to be # 1. Cheers.

@dbmrq one last question though, was the screenshots of what users have created with calendar helpful in choosing this one? --> https://github.com/patchthecode/JTAppleCalendar/issues/2
I thought this page would encourage devs to use it, but it seemed you still passed it by.

@patchthecode
Well, the first time I looked here the screenshots weren't there yet I think. They do help with an idea of what you can do with the library, but at the same time they can make the users even less sure of what they will do, so I'm not sure it's the best headline. I think it would be better marketing to have a minimal readme with a couple of very simple screenshots and some text that says "do this, this and this and you'll get a calendar like that one in the screenshots". Then if a user comes here and he has a certain idea of what he wants he'll think "ok, I can use this and just change a couple of things and I'll get what I want". If there are 20 completely different screenshots, on the other hand, he'll think "well, I can do something great with this library, but I can also do something awful and it looks like it'll take a lot of work". I think the customization possibilities are really important, but only only at a second stage when the user is already sold on the library. After the initial setup there could be a couple of links… "Ok, you got your calendar running, now look at all you can do with it. Cool, right? Here's a tutorial."
With CVCalendar, for instance, I saw a screenshot of what it looks like straight away and I thought "ok, this is pretty close to what I need, I'll just change the font, the color and remove that ugly line". But then when I tried to actually do all that it was really hard to do it and I had to change the whole library to suit my needs. JTAppleCalendar is the opposite, I came here and I thought "ok, I'll have to do the whole thing from scratch", but then I realized how easy it was and got it running in no time. That's a lot better, of course, but I think it would be even better to join the best of both worlds. The user would see a simple calendar he can just drag and drop and think "ok, this is almost ready, I'll just change a couple of things"… and then when he tried to change them it would be really easy, like it already is. That's pretty much the whole Apple approach I guess, give users a single option and make it a very good option, instead of, say, the Arch Linux approach, which gives users every possible option and then they have no idea what to do unless it's their third attempt already.
This is just my opinion, of course, and I'm sure a lot of people think the exact opposite.

@dbmrq see why I wished you were giving advice when I started this? Haha, you make a lot of sense man. I will update the readme and the code etc as soon as I finish this final code update.

@dbmrq How to resize the bottom constraint of the calendar view? I mean how do I know it the month will have 6 rows? I am facing the same issue.

@patchthecode The screenshots of what users have created with this calendar vary helpful in choosing this one over other calendars. Keep up the good work!

@Ashu

    func numberOfRows(forDate date: NSDate) -> Int {
        let weekday = date.startOfMonth().weekday
        let monthDays = date.startOfNextMonth().addDays(-1).day
        // These methods are declared in an NSDate extension,
        // it shouldn't be too hard to come up with your own

        if weekday == 1 && monthDays == 28 {
            return 4
        } else if weekday < 6 || (weekday == 6 && monthDays < 31) || (weekday == 7 && monthDays < 30) {
            return 5
        } else {
            return 6
        }
    }

@Ashu thanks.

@patchthecode
Hi I have an issue with calendar, if I change the Height of the calendar view dynamically. and try to scroll to previous or next month, It jumps to first month, which is set during configuring. How can we restrict this issue?

@vasant-indpro can you open a new issue for this?
and in the new issue, let me know how you are changing the height.
Because this is expected. The second you change anything which will cause the cell's height to change, the layout of the calendar needs to be reset. Let me know in the new issue, and we'll find a solution.

@patchthecode This issue is there in your demo project as well.
Steps as Below

When I open calendar lands on current month(Ex: 21-Nov-2017)
I scroll to next month(Any upcoming month) (Ex: Feb-2018)
I tried to change Resize the calendar, I could resize
Now if I try to scroll calendar, It lands on first month instead of staying there itself.

Can you get this fixed Please?

@vasant-indpro this is not an issue to be fixed.
This is what happens if you change the height of a UIcollectionView with cells that adjust height.
There are two ways to work with it:

You can reload with an anchor date so that it wont reset. I wont explain this one because i believe that number (2) below will work for you.
you can do what this guy did with JTApplecalendar to adjust height -> https://github.com/patchthecode/WLAppleCalendar

@patchthecode This works fine for me. I appreciate your help. Thanks.

Somehow @dbmrq was able to completely eliminate the cells representing dates in the previous and next months, as he asked in Question 2 here.
You mention that the solution is in the wiki, but I don't see any questions relating to this behavior.
You mention here that you were adding a feature to disable pre-dates and end-dates. Was this ever implemented? How did @dbmrq disable those dates?
Thanks for the library!

@mymikemiller
Yes, this was implemented long time ago.
What do you want to do with those cells?
Disable them? (make them unclickable)
Or make them invisible?
Best thing to do is, Show me a screenshot of the calendar you want, and i wil ltell you the configuration.

I'm looking to get a calendar essentially exactly like the picture @kristophM posted here, where the dates from the previous and next month don't show up (and aren't clickable). If I turn generateInDates off, the first of the month appears as the first cell instead of under the proper day header, and if I set it to forFirstMonthOnly (as the video recommends, the cells are pushed to their correct location, but the in-dates then show up which is no good.
I want these cells to appear as blank, white unclickable cells, like here
I don't care if there is sometimes an extra blank row at the bottom like some comments in this thread are concerned with, though ideally that row would disappear like in @dbmrq's post:

Thanks for your help!

I don't care if there is sometimes an extra blank row at the bottom like some comments in this thread are concerned with, though ideally that row would disappear

I think youre finding older comments. The blank space can be there if you want. Or they can totally dissappear if you want. 😁
in regards to the dates, hiding them is easy.
just set their isHidden = true.
so in your cellForItemAtIndexPath function, you will do something like:
if cellState.dateBelongsTo == .thisMonth {
   cell.isHidden = false
} else {
   cell.isHidden = true
}

That works perfectly. Thanks!
I was expecting to be able to toggle the display of those cells by changing generateInDates and generateOutDates.
Thanks for the help!

@mymikemiller nah.
You WANT the cells to be generated, but you just want them hidden.
cheers man 🍻

authors: Ashu dbmrq kristophM mymikemiller patchthecode vasant-indpro victtavares

repo: patchthecode/JTAppleCalendar


text:
Could not load file or assembly Microsoft.Management.Infrastructure

Using the example to create a MVP i get
Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Cupboard.Internal.WmiFacts.GetFacts(IRemainingArguments args)+MoveNext()
   at Cupboard.Internal.FactBuilder.Build(IRemainingArguments args) in /_/src/Cupboard/Internal/FactBuilder.cs:line 20
   at Cupboard.Internal.ExecutionEngine.Run(IRemainingArguments args, IStatusUpdater status, Boolean dryRun) in /_/src/Cupboard/Internal/ExecutionEngine.cs:line 33
   at Cupboard.Internal.RunCommand.Run(CommandContext context, Settings settings) in /_/src/Cupboard/Internal/Cli/RunCommand.cs:line 135
   at Cupboard.Internal.RunCommand.Execute(CommandContext context, Settings settings) in /_/src/Cupboard/Internal/Cli/RunCommand.cs:line 105
   at Spectre.Console.Cli.Command`1.Spectre.Console.Cli.ICommand.Execute(CommandContext context, CommandSettings settings) in /_/src/Spectre.Console/Cli/CommandOfT.cs:line 44
   at Spectre.Console.Cli.CommandExecutor.Execute(CommandTree leaf, CommandTree tree, CommandContext context, ITypeResolver resolver, IConfiguration configuration) in /_/src/Spectre.Console/Cli/Internal/CommandExecutor.cs:line 115
   at Spectre.Console.Cli.CommandExecutor.Execute(IConfiguration configuration, IEnumerable`1 args) in /_/src/Spectre.Console/Cli/Internal/CommandExecutor.cs:line 84
   at Spectre.Console.Cli.CommandApp.RunAsync(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 87
   at Spectre.Console.Cli.CommandApp.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandApp.cs:line 61
   at Spectre.Console.Cli.CommandApp`1.Run(IEnumerable`1 args) in /_/src/Spectre.Console/Cli/CommandAppOfT.cs:line 42
   at Cupboard.CupboardHost.Run(String[] args) in /_/src/Cupboard/CupboardHost.cs:line 30

I am running this on Windows.  I've attached my csproj & 3 classes as they are tiny.
MachineSetup.zip

@BlythMeister Since you're building the project with <SelfContained>true</SelfContained>, you will need to set the <RuntimeIdentifier> as well.
You've done this, but instead of win-x64, you will need to set it to win7-x64, since Microsoft.Management.Infrastructure doesn't have portable RIDs.
The following works fine for me:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
    <SelfContained>true</SelfContained>
    <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
    <PublishReadyToRun>true</PublishReadyToRun>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Cupboard" Version="0.1.1-preview.0.5" />
  </ItemGroup>
</Project>

Ahhhhh I was pretty sure it was me!
Thanks @patriksvensson !

authors: BlythMeister patriksvensson

repo: patriksvensson/cupboard


text:
Fix to allow setting of sparkline chart height in config.

The config value was getting over-written by ‘undefined’ when the
chart-height value is not set.

LGTM

repo: patternfly/angular-patternfly

license: mit


text:
pfe-modal needs open/close animation

The modal needs the option to open with an animation rather than just appearing to reduce the jarring effect it has now. Would be super nice to be able to set the animation speed, but just having one in place is an improvement.

@coreyvickery I am actually no longer working with pfelements or Red Hat, however at the time this was a modal prototype within the connect.redhat.com project as part of the subscription setup. The immediacy of the opening and closing of the modal was jarring without any animation speed set. Even if it were 0.4s that would smooth it out enough to not be as jarring to the eye to the average person. I don't remember if I discussed this with Michael Clayton or with Kyle Buchanan before I submitted the ticket, but at this point I doubt either one would remember the conversation.

repo: patternfly/patternfly-elements


text:
Upgrade Selectable example

Removes references to deprecated v4 table.
Converted Selectable example to TSX/function components and refactored to use new PF5 Table
Towards https://github.com/patternfly/react-virtualized-extension/issues/14 and https://github.com/patternfly/react-virtualized-extension/issues/17

@jenny-s51 Looks like your test is failing.

@dlabaj thank you for taking a look - the fix for this is in this commit in the Filterable PR - if merge https://github.com/patternfly/react-virtualized-extension/pull/25 in first, the build should pass when we merge this one in

repo: patternfly/react-virtualized-extension


text:
Image broken

It's beyond my control :)
AlamoFire also have this problem.

authors: pattomotto umitems

repo: pattomotto/EZKeychain


text:
Laravel Updater

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v7.10.3 branch.
Before merging, you need to:

Checkout the shift-ci-v7.10.3 branch
Review all pull request comments for additional changes
Run composer update
Test your application (no tests?)

:warning: You are running version 5.3.4 of guzzlehttp/guzzle. The latest version is 6.5.3. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 1.0.10 of laravel/tinker. The latest version is 2.4.0. You should review this dependency to see if you can upgrade to the latest version.

:information_source: You are running an older version of Laravel. The latest version is 7.10.3. Run the Laravel 7.x Shift to upgrade to the latest version of Laravel.

:warning: You are running version 3.9.3 of ramsey/uuid. The latest version is 4.0.1. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 0.14.0 of league/fractal. The latest version is 0.19.2. You should review this dependency to see if you can upgrade to the latest version.

repo: patwebrussell/airflix


text:
Uncaught AttributeError in sendchat.py line 30

Aider version: 0.56.1.dev111+ge6037140
Python version: 3.11.3
Platform: macOS-15.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 24.1.0 (64bit)
Git version: git version 2.45.1
An uncaught exception occurred:
Traceback (most recent call last):
  File "openai.py", line 907, in completion
    raise e
  File "openai.py", line 784, in completion
    return self.streaming(
           ^^^^^^^^^^^^^^^
  File "openai.py", line 1025, in streaming
    openai_client: OpenAI = self._get_openai_client(  # type: ignore
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "openai.py", line 617, in _get_openai_client
    _new_client = OpenAI(
                  ^^^^^^^
  File "_client.py", line 105, in __init__
    raise OpenAIError(
openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 1419, in completion
    raise e
  File "main.py", line 1392, in completion
    response = openai_chat_completions.completion(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "openai.py", line 914, in completion
    raise OpenAIError(
litellm.llms.OpenAI.openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base_coder.py", line 1114, in send_message
    try:
        ^
  File "base_coder.py", line 1391, in send
    try:

  File "sendchat.py", line 87, in send_completion
    res = litellm.completion(**kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "utils.py", line 1086, in wrapper
    raise e
  File "utils.py", line 974, in wrapper
    result = original_function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "main.py", line 2847, in completion
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "utils.py", line 8194, in exception_type
    raise e
  File "utils.py", line 6492, in exception_type
    raise AuthenticationError(
litellm.exceptions.AuthenticationError: litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 709, in main
    coder.run()
  File "base_coder.py", line 722, in run
    user_message = self.get_input()
  File "base_coder.py", line 765, in run_one
    self.reflected_message = None
  File "base_coder.py", line 1116, in send_message
    break
       ^^^
  File "sendchat.py", line 30, in retry_exceptions
    litellm.llms.anthropic.chat.AnthropicError,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'litellm.llms.anthropic' has no attribute 'AnthropicError'

Thank you for filing this issue.
The fix is in the latest version (0.57.1), please update aider with
aider --upgrade

Please do not forget to exit and restart aider after it updated itself.
Duplicate #1278

repo: paul-gauthier/aider


text:
reference to opendevin codeact v1.3 for comparison in the new draft blog post

hey @paul-gauthier
first off: huge congrats! https://github.com/swe-bench/experiments/pull/7
re: https://github.com/paul-gauthier/aider/blob/6382153597af092bfdac4ea30104d3243720502e/_posts/2024-05-22-swe-bench-lite.md, i think it's worth mentioning the latest "codeact v1.3" results from the https://github.com/OpenDevin/OpenDevin team:
https://huggingface.co/spaces/OpenDevin/evaluation
I still think aider is the winner, I just wanted to share that this team has beat their prior best, and I would recommend updating your table and the first 2 sentences.
One potential ambiguity is that I don't see their swe-bench-lite scores, only the full swe-bench. But since lite is a subset of the full one, I don't think it should be too hard to get their official lite score.
keep up the amazing work!

Thanks for the pointer. Those results look to me like they are for SWE Bench Lite, because each one is listing 300 total items. I am also unclear what maxiter means. If these are pass@50 results, they are not comparable to aider's pass@1 results.
Has Open Devin published anything about these results?

Has Open Devin published anything about these results?

I haven't looked outside of their slack/discord/twitter https://discord.gg/ESHStjSjD4, https://join.slack.com/t/opendevin/shared_invite/zt-2i1iqdag6-bVmvamiPA9EZUu7oCO6KhA,
...but i'll post a link to this issue in their slack to encourage them to share their details directly right now.

Looks like it is Lite and they posted on X. I will update.
https://x.com/gneubig/status/1791498953709752405

i suggested they clarify the leaderboard: https://huggingface.co/spaces/OpenDevin/evaluation/discussions/1

@rawwerks Thanks for pointing out the confusion! Yes, those scores are for SWE-Bench lite and we've updated the leaderboard for clarity.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

authors: paul-gauthier rawwerks xingyaoww


text:
Update flyway-core to 10.0.1

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

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

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

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

Superseded by #740.

repo: pauljamescleary/scala-pet-store


text:
feat: add groestl hash functions with unit tests

The Groestl hash function is used by some crypto-curriencies as part of their proof of work algorithm.  Examples include Groestlcoin.  Others use Groestl along with about 10 or more others that are chained together.
Groestl was one of the SHA-3 candidates.  While the Groestl hash function can support many output widths, this PR proposed the addition of two variants of the Groestl that returns 512 bits.

groestl512 - returns the full 512 bit (64 byte) hash value generated by Groestl512 hash function.
groestl256 - returns the first 256 bits (32 bytes) of the Groestl512 hash function

This PR was inspired primarily by https://github.com/Groestlcoin/groestl-hash-js, the code of which was heavily refactored to follow the scheme of noble-hashes.

Thanks. Why don’t you publish this as a separate package depending on noble-hashes?

We didn't consider the option of a separate package.  Our thinking was centered around these ideas:

More cryptocurrency projects can switch to using noble-hash that use groestl (like dash, dgb etc)
We are beginning to use noble-hash for its current list algorithms and it would be easier if all algorithms were under a single repo.
We are planning to move more projects in using noble-hash if groestl gets added.
It would be easier for us to contribute (as in opening issues and pr’s), since it would be all in one place.

Some of these ideas would have been satisfied by a separate package, except for having a single package that contains everything.
You have done great work on this project and we appreciate your time in considering this addition.

Unfortunately we can’t add all existing hashes, there must be some criterias filtering out remaining ones. Even if it will be included, it would need to get audited, to be considered secure. Groestl is cool, however, not very popular.
If you publish the groestl package, and if it would depend on noble-hashes for some primitives, which means, whoever uses groestl AND noble, will get deduplicated code for free.
Everyone who is building on top of noble is welcome and I will specifically mention your published package on noble website / docs.

Thank you for your time and we understand your point of view.  We will consider the path of a separate package that depends on noble-hashes or forking noble-hashes depending on our requirements.

If there are any vars or classes that are not exported externally, which prevents you from using noble as dependency, let me know. It’s better for discoverability and community building to have dependents rather than 10 forks.

authors: HashEngineering paulmillr

repo: paulmillr/noble-hashes


text:
Faster Background Plots - part 1

Updated bkg_plots to get Over/Under/Double from the mktable instead of from the event files.
See #34
Note 1: As it stands, running psrpipe will not be faster since the Over/Under shoots are still obtained from the event table. Some clean up is required.
Note 2: I am multiplying the FPM_XXX_COUNT (Per-FPM XXX reset count from events) obtained from the .mkf file by 52 FPM in order to get the total.

I committed a fix a bug when psrpipe is used with the --maxovershoot option.
The rest of the new lines of code in psrpipe are commented because they are not fully implemented yet.

Sorry for the multiple updates of the pull request.  I just committed the change to cartographer, to make use of the .mkf, instead of the calculated overshootrate and undershootrate.
For this, the map is using the mktable['TIME'] instead of hkmet.  There are small differences at the edges of the orbits (see attached images, it's visible when you blink between them).

repo: paulray/NICERsoft


text:
🛑 FIT-nl is down

In f47cfd5, FIT-nl (https://www.fit.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FIT-nl is back up in b2a43fb.

repo: paulwolters/up


text:
wip - trying to get telemetry to make dashboards

Added spanmetrics connector
Added Instrumentation CRD

nice!

authors: kristinapathak svrnm


text:
Cannot create first user because of form validation

Link to reproduction
No response
Describe the Bug
This is my first time trying out Payload, I'm really excited to try it out (specifically v3).
I'm having trouble creating my first user. I've tried with the blank-3.0 template across every release of the beta. I've tried with a fresh install of Chrome with no extensions. The form always complains about the password field or the confirm-password field:

I tried with the blank template (i.e. v2) and it works as expected.
Using mongo (but also tried Postgres). On an M1 MacBook Pro. I am definitely typing the same password in to both fields.
This is the error in the console:
ERROR: ValidationError: The following field is invalid: password
    at generatePasswordSaltHash (webpack-internal:///(rsc)/./node_modules/payload/dist/auth/strategies/local/generatePasswordSaltHash.js:23:15)
    at registerLocalStrategy (webpack-internal:///(rsc)/./node_modules/payload/dist/auth/strategies/local/register.js:30:120)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async createOperation (webpack-internal:///(rsc)/./node_modules/payload/dist/collections/operations/create.js:166:19)
    at async registerFirstUserOperation (webpack-internal:///(rsc)/./node_modules/payload/dist/auth/operations/registerFirstUser.js:25:24)
    at async Object.registerFirstUser [as first-register] (webpack-internal:///(rsc)/./node_modules/@payloadcms/next/dist/routes/rest/auth/registerFirstUser.js:25:20)
    at async eval (webpack-internal:///(rsc)/./node_modules/@payloadcms/next/dist/routes/rest/index.js:412:35)
    at async /path/to/payload/templates/blank-3.0/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:53466
    at async e_.execute (/path/to/payload/templates/blank-3.0/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:44747)
    at async e_.handle (/path/to/payload/templates/blank-3.0/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:54720)
    at async doRender (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:1364:42)
    at async cacheEntry.responseCache.get.routeKind (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:1578:40)
    at async DevServer.renderToResponseWithComponentsImpl (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:1498:28)
    at async DevServer.renderPageComponent (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:1915:24)
    at async DevServer.renderToResponseImpl (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:1953:32)
    at async DevServer.pipeImpl (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:900:25)
    at async NextNodeServer.handleCatchallRenderRequest (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/next-server.js:272:17)
    at async DevServer.handleRequestImpl (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/base-server.js:796:17)
    at async /path/to/payload/templates/blank-3.0/node_modules/next/dist/server/dev/next-dev-server.js:339:20
    at async Span.traceAsyncFn (/path/to/payload/templates/blank-3.0/node_modules/next/dist/trace/trace.js:154:20)
    at async DevServer.handleRequest (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/dev/next-dev-server.js:336:24)
    at async invokeRender (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/lib/router-server.js:174:21)
    at async handleRequest (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/lib/router-server.js:353:24)
    at async requestHandlerImpl (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/lib/router-server.js:377:13)
    at async Server.requestListener (/path/to/payload/templates/blank-3.0/node_modules/next/dist/server/lib/start-server.js:142:13)

To Reproduce
git checkout v3.0.0-beta12
cd templates/beta-3.0
cp .env.example .env
yarn && yarn dev

Payload Version
3.0.0-beta.12
Adapters and Plugins
No response

We're investigating right now and adding an e2e test to catch this in the future

Hey ya'll 👋🏼
I had the same issue as @TSFoster. Bu, after updating to beta-15 I'm having a different experience. Now it tells me that I've not entered a valid email.

Hey ya'll 👋🏼
I had the same issue as @TSFoster. Bu, after updating to beta-15 I'm having a different experience. Now it tells me that I've not entered a valid email.

Well, it was kina a false alarm. I've been having this issue whole day, but after I posted above comment I tried the email "admin@me.com" and it worked 🤔 Previous emails I tested ended with .se or .email. Do not know if this matters though...

Well, it was kina a false alarm. I've been having this issue whole day, but after I posted above comment I tried the email "admin@me.com" and it worked 🤔 Previous emails I tested ended with .se or .email. Do not know if this matters though...

I experienced similar issues, with a .me TLD. However it was intermittent too with a .com also.
I raised this in Discord and was advised to use beta.11 for the time being which seemed to work locally. However when I deployed it to Vercel for testing, I still had the issue I had on 15 so I'm bit unsure if the issues exists further back than 14/15.
But as I mentioned it was intermittent for me so it's been hard to replicate.

Just confirming I am able to create a first user (including a .me TLD, if this at all relevant) with beta.18 in a fresh Next app.

authors: TSFoster ThnxFredrik joedawson paulpopus

repo: payloadcms/payload


text:
saving collection makes all collapsed array-fields to 'show'

Saving a collection makes all collapsed array-fields to unfold/show.
before save:

after save:

Got it - this is reproduced and we'll have a fix. I noticed #813 but that is actually not the way to fix this, because that useEffect hook needs to be run when formContext changes due to the need to recalculate array lengths if hooks change the returned data from the server.
But the Payload team will take a crack into this!

Fixed and will be released in the next patch version. 👍

authors: jmikrut vincentvandijck


text:
fix(next): forgot-password unserializable translation

Replaces Translation component with non-serializable t function causing RSC error with client component
Closes #8349

Thanks for your PR but the actual fix is to change the import of the Translation component to /ui/shared instead since the component is inherently a server component. When importing from /ui it comes with 'use client' at the top

authors: akhrarovsaid paulpopus


text:
chore(docs) Update preact module location

What:
Point to new location for Preact modules.

Why:
Outdated documentation, should point to new preact folder.
https://unpkg.com/downshift@1.16.1/preact/

Checklist:

[x] Documentation
[x] Ready to be merged
[x] Added myself to contributors table

Closes #218 (again)
re: https://twitter.com/kentcdodds/status/924032277662851072

Codecov Report

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

@@          Coverage Diff          @@
##           master   #244   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         285    285
  Branches       67     67
=====================================
  Hits          285    285

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38fc09c...3501238. Read the comment docs.

No problem! Loving all of your nice scripts that make contributing a joy. Thank you for all your great work!

authors: codecov-io ifyoumakeit

repo: paypal/downshift


text:
Crashes in google chrome since 67 version

Description
Reproduce only in Google Chrome desktop since 67 (linux, windows) version (66 version on desktop and all mobile Chrome and other browsers is ok)
After click on Paypal button I see modal window, but after 1-3 second it closed automatcly with error in console:
ppxo_unhandled_error {stack: "Error: No ack for postMessage postrobot_method in …ww.paypalobjects.com/api/checkout.min.js:1:62437)", errtype: "[object Error]", timestamp: 1530717411553, windowID: "371d57ac7f", pageID: "a556aa95c8", …}
"Error: An error was encountered while handling error:
Error: No ack for postMessage postrobot_method in https://www.paypal.com in 2000ms
at cycle (https://www.paypalobjects.com/api/checkout.js:2859:73)
Error: No ack for postMessage postrobot_method in https://www.paypal.com in 2000ms
at cycle (https://www.paypalobjects.com/api/checkout.js:2859:73)
at https://www.paypalobjects.com/api/checkout.js:6174:27
at _loop (https://www.paypalobjects.com/api/checkout.js:8323:42)
at ZalgoPromise.dispatch (https://www.paypalobjects.com/api/checkout.js:8337:57)
at ZalgoPromise.reject (https://www.paypalobjects.com/api/checkout.js:8298:22)
at https://www.paypalobjects.com/api/checkout.js:8335:37
at _loop (https://www.paypalobjects.com/api/checkout.js:8323:42)
at ZalgoPromise.dispatch (https://www.paypalobjects.com/api/checkout.js:8337:57)
at ZalgoPromise.reject (https://www.paypalobjects.com/api/checkout.js:8298:22)
at _loop (https://www.paypalobjects.com/api/checkout.js:8325:41)
at ZalgoPromise.dispatch (https://www.paypalobjects.com/api/checkout.js:8337:57)"
Affected browsers

[x] Chrome since 67 version
[ ] Safari
[ ] Firefox
[ ] Edge
[ ] IE
[ ] Chrome Mobile/Tablet
[ ] Safari Mobile/Tablet
[ ] Web View / Safari ViewController
[ ] Other

Can you please answer the other questions to help us debug?

Your code
The exact browser version
A link to your page with the issue, if possible
Does the issue also occur at developer.paypal.com/demo/checkout?
Does the issue occur consistently, or intermittently?

I found the problem:
My code looks like this:
                    paypal.Button.render({                         env: 'production', // Or 'sandbox' or 'production',                         commit: true, // Show a 'Pay Now' button                         style: {                             color: 'gold',                             size: 'small'                         },                         payment: function (data, actions) {                             let params = {'action': 'create'};                             let payment = MarketAPI.executeOrder(that.order.id, that.constants.PAYMENT_SYSTEMS.PAYPAL, params, false);                             if (payment.processed) {                                 that.successfullyBuy();                             }                             that.paymentId = payment.params.paymentId;                             return that.paymentId;                         },                         onAuthorize: function (data, actions) {                             let params = {                                 'action': 'execute',                                 'paymentId': data.paymentID != null ? data.paymentID : that.paymentId,                                 'payerId': data.payerID                             };                             let payment = MarketAPI.executeOrder(that.order.id, that.constants.PAYMENT_SYSTEMS.PAYPAL, params, false);                             if (payment.processed) {                                 that.successfullyBuy();                             }                         },                         onCancel: function (data, actions) {                             Common.reloadPage();                         },                         onError: function (err) {                             /*                              * An error occurred during the transaction                              */ //                    Common.reloadPage();                         }                     }, '#paypal-button');
And if I change payment callback on code:
return 'EC-6DJ64914TA163730D';
its works fine. Function Market.executeOrder execute in 3-4 seconds and this is to much for PayPal component in Chrome 67. Can I increase aprove timeout for this callback?

I change payment method with promise:
payment: function () {
                    return new paypal.Promise(function(resolve, reject) {
                        let params = {
                            'action': 'create',
                            'use_billing_agreement': that.recurring
                        };
                        MarketAPI.executeOrder(that.order.id, that.constants.PAYMENT_SYSTEMS.PAYPAL, params, true,
                        function(data) {
                            if (data.processed) {
                                that.successfullyBuy();
                                return;
                            }
                            that.paymentId = data.params.paymentId;
                            resolve(that.paymentId);

                        });
                    });
                }

and it works fine now in chrome 67 too.

authors: bluepnume parko

repo: paypal/paypal-checkout


text:
Checksum error

checksum of downloaded artifact of binary target 'PaymentSDK' (ef7db5957857b1994a510b59ef7255f6fd7785feb844d63f06b99d98487229c6) does not match checksum specified by the manifest (d806c13944dade2d465aa2232679083efaa2d90e50a1581b4cb0bc0f5ef91e8c)

Getting the same error.

checksum of downloaded artifact of binary target 'PaymentSDK' (da660bc2913d03012ec88eaf3d19980883f1c2562975bc3d5f8582a31036bf35) does not match checksum specified by the manifest (d806c13944dade2d465aa2232679083efaa2d90e50a1581b4cb0bc0f5ef91e8c)
@humayun-paytabs @paytabscom @AdlyPayTabs

@abdalazemSaleh @burhanuddin353 did you guys find any solution?

dependencies: [
    .package(url: "https://github.com/paytabscom/paytabs-ios-library-sample.git", .upToNextMajor(from: "6.6.21"))
]

checksum of downloaded artifact of binary target 'PaymentSDK' (da660bc2913d03012ec88eaf3d19980883f1c2562975bc3d5f8582a31036bf35) does not match checksum specified by the manifest (d806c13944dade2d465aa2232679083efaa2d90e50a1581b4cb0bc0f5ef91e8c) @humayun-paytabs @paytabscom @AdlyPayTabs

Even if I try to simply use it as a package inside my xcode project using SPM, I am facing warnings

please check the latest version 6.6.2

please check the latest version 6.6.2, the checksum updated.

I'll look into it. Could you please update the README.md accordingly? Thanks!
@MuhamedAdly

please check the latest version 6.6.2, the checksum updated.

I'll look into it. Could you please update the README.md accordingly? Thanks! @MuhamedAdly

@MuhamedAdly I am still facing the issue.

@MuhamedAdly @paytabscom @humayun-paytabs

Remove the old SPM, add it again using the GitHub link, and set the exact version 6.6.22.

repo: paytabscom/paytabs-ios-library-sample


text:
🛑 Departamento is down

In 839a70a, Departamento (http://cca.unb.br/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Departamento is back up in 0d5d792 after 11 minutes.


text:
🛑 Departamento is down

In a0fd794, Departamento (http://cca.unb.br/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Departamento is back up in f4e5a42 after 18 minutes.


text:
Can't add plugin through Cordova CLI: Filename too long

I encountered this error when I tried to add it into a new Cordova project.
C:\testp>cordova plugin add https://github.com/pbernasconi/cordova-progressIndic
ator.git
Fetching plugin "https://github.com/pbernasconi/cordova-progressIndicator.git" v
ia git clone
Error: Command failed: Cloning into 'C:\Users\User\AppData\Local\Temp\git\143502
3689671'...
Checking out files:  23% (407/1729)
Checking out files:  24% (415/1729)
Checking out files:  24% (420/1729)
Checking out files:  25% (433/1729)
Checking out files:  26% (450/1729)
error: unable to create file demo/plugins/org.pbernasconi.progressIndicator/demo
/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/Cordova
Lib.xcodeproj/xcuserdata/paolob.xcuserdatad/xcschemes/xcschememanagement.plist (
Filename too long)
error: unable to create file demo/plugins/org.pbernasconi.progressIndicator/demo
/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/build/C
ordovaLib.build/Debug-iphonesimulator/CordovaLib.build/Cordova-all-target-header
s.hmap (Filename too long)
error: unable to create file demo/plugins/org.pbernasconi.progressIndicator/demo
/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/build/C
ordovaLib.build/Debug-iphonesimulator/CordovaLib.build/Cordova-generated-files.h
map (Filename too long)
error: unable to create file demo/plugins/org.pbernasconi.progressIndicator/demo
/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/build/C
ordovaLib.build/Debug-iphonesimulator/CordovaLib.build/Cordova-own-target-header
s.hmap (Filename too long)
error: unable to create file demo/plugins/org.pbernasconi.progressIndicator/demo
/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/build/C
ordovaLib.build/Debug-iphonesimulator/CordovaLib.build/Cordova-project-headers.h
map (Filename too long)
fatal: cannot create directory at 'demo/plugins/org.pbernasconi.progressIndicato
r/demo/plugins/org.pbernasconi.progressIndicator/demo/platforms/ios/CordovaLib/b
uild/CordovaLib.build/Debug-iphonesimulator/CordovaLib.build/Objects-normal': Fi
lename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
at ChildProcess.exithandler (child_process.js:658:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5)

I had tried to use this plugin in Supersonic Appgyver app along with ngCordova, but it does not display any dialog, I'd then tried to use it on pure Cordova project, and I get the error above. Is there any way to fix it?

met the same issue . even "git clone https://github.com/pbernasconi/cordova-progressIndicator.git" does not work.

On Windows Git gets compiled with msys (old Windows API) which has a limit of 260 characters for a filename. You can change your GIT configuration to use longer filenames:
git config --system core.longpaths true

HI @basdecort ,
Thank you, its working .

authors: basdecort blanedaze githubramakrishnan yiqinglan

repo: pbernasconi/cordova-progressIndicator


text:
Playground

Thanks so much - this library is awesome!
The very handy playground includes iris, but it's not clear how to use it.  The input table is visible but output says Error: ReferenceError: iris is not defined.
Wonder if worth preserving state in e.g. URL hash string so examples could be shared this way?

Ah, you just have to click the input box to select iris:

Then input is equal to iris. perhaps confusing and we can switch to just calling them cars and iris in the playground itself.
Would love it if the playground was fancy enough to store and restore the state, PRs welcome on both fronts

authors: geotheory pbeshai

repo: pbeshai/tidy


text:
Unable to create the instance of custom node right loaded from a file

Open a .dyf file, select this node in the search list - an instance is added to Flood workspace, but it's absent in Dynamo.
It occurs because a corresponding search element has wrong data for creating the node and therefore Flood sends wrong data to Dynamo

Thanks @marimano!  In Dynamo, custom nodes are lazily loaded.  Initially you just get basic information.  They aren't fully loaded/compiled until they're used.

ping @marimano!

Hi @pboyer, I've resolved conflicts and made the small changes you asked

Thanks @marimano!  Works perfectly!

authors: marimano pboyer

repo: pboyer/flood


text:
Problem with header for verb for JavaScript

I think this check in the verb.js header, is not correct
// node.js context, but not WebWorker
if ( typeof window !== 'object' && typeof require === "function"){
    Worker = require('webworker-threads').Worker;
}

Try opening one of your examples, like http://verbnurbs.com/examples/curveClosestPoint.html
and set a breakpoint there. You can see that window is not defined, even though we are in the browser. Furthermore, it is defined one step above in the call stack.
This makes it think that it's in a node context. In this case nothing happens, because require is not defined. But if you use verb inside a library that it's browserified, require will be defined, and it will require webworker-threads, which creates further problems (browserify won't work if it's not installed, and if you do install it, it will fail at runtime since it's not meant to run in the browser)
In conclusion, either the check is not correct, or window should somehow be defined there when running from a browser.

@elifer5000 Thanks a lot for letting me know. This should be fixed in 2.0.2 - out now. Just give it a npm install.

repo: pboyer/verb


text:
fix wrong import in upgrade to v6 docs

Just fixed import of ActionTypes in documentation. (use ActionTypes instead of ActionType)

Just saw that the typescript file uses ActionTypes, but the js version uses ActionType

You're right, the TS definitions should export ActionType, not ActionTypes. Opened issue #241.

Ah ok thanks for your comment, pretty new to typescript and it was late so I thought I misunderstood something.

authors: pburtchaell silenzium

repo: pburtchaell/redux-promise-middleware


text:
Create Cat__c object and related classes

Create the object and classes to read from/store to.

All done!!! 😸

authors: apelegrina pcuevasffdc

repo: pcuevasffdc/lwcMeetsRedux


text:
yarn global add does not respect the version

I'm honestly not sure if this is a yarn or nn bug. Hoever it seems to be fixed for yarn and nvm on MacOS.

@luxferresum I guess maybe another yarn previously installed (not the one installed to ~/.nn) has higher priority in PATH. Not sure, could you give the output of which yarn?

yes, yarn is globally installed (as it should be AFAIK).
Hoever I think it should the right node version and so global bin.

@luxferresum Normally, if you are using Linux or macOS, npm i -g yarn should install yarn and add a link to ls ~/.nn/current/bin. You could check the output of
ls -al ~/.nn/current/bin

to see if yarn is installed and linked.

yarn recommends against npm i -g yarn. yarn should be installed with the setup or the system package manager!
Still it should use the current node (by the PATH AFAIK) and install packages in the right folder.
However I'm not sure about the details.


text:
Public release of Mars 2020 LDD

Public release of Mars 2020 LDD

@sslavney as an FYI, when we need to "re-release" LDDs, the previous releases in Github have to be deleted first. I went ahead and deleted those and re-ran the actions.
@c-suh FYI above. this is bound to happen again

authors: jordanpadams sslavney


text:
[#130567935] Pass through aws_region and key/secret to local env

@tony-pear or anyone, please review

@jasonfma thanks! it says I don't have write access to master and can't merge the PR though. this isn't blocking atm but if anyone does merge this PR please do NOT delete the branch yet as CI is currently pointing to the branch and will need to be switched over.

Weird. I'll look into the permissions later.
Merged!

Permissions should be fixed now.

authors: fadookie jasonfma


text:
Pebble Time pairing icon is off-center

This is because there is no size specified for https://github.com/pebble-dev/mobile-app/blob/master/lib/ui/setup/pair_page.dart#L124-L126, while it's constrained by the external container. The container on the outside is probably not needed, so the best solution would be to remove the container and set the size of the icon to 56.

authors: hellcp matejdro

repo: pebble-dev/mobile-app


text:
[Camera1Base, Camera2Base] stopRecord() freezes

Running this code causes the camera to freeze after stopRecord()
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/812078d899d7d7491c81451164bf48d907dd6344/rtplibrary/src/main/java/com/pedro/rtplibrary/base/Camera2Base.java#L449
Update the code to below seems to fix the issue.
if (streaming) stopStream();

Hello,
What do you means with freeze?
Which view or example activity are you using?
Your suggestion produce a bug because you need stop encoders

Hi @pedroSG94 , freeze as in the camera preview stops moving, it freezes on the last frame when performing stopRecord() function.
Yes, we want to stop the encoders, but if I'm not mistaken the current code reads:
"If NOT streaming, stop the stream".
I think it should read:
"If IS streaming, stop the stream".
I believe you suggested a similar solution here:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/468#issuecomment-568454771

Yes, we want to stop the encoders, but if I'm not mistaken the current code reads:
"If NOT streaming, stop the stream".

Yes, but if you read stopStream method this means stop encoders because stopStreamRtp line is not executed:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/916d3a7f1bb9bd6e8868cbcdb0ebf611e3d5d7ae/rtplibrary/src/main/java/com/pedro/rtplibrary/base/Camera2Base.java#L672
I used stopStream method to avoid duplicated code but basically I'm doing this:
    if (!recordController.isRecording()) {
      onPreview = !isBackground;
      if (audioInitialized) microphoneManager.stop();
      if (glInterface != null) {
        glInterface.removeMediaCodecSurface();
        if (glInterface instanceof OffScreenGlThread) {
          glInterface.stop();
          cameraManager.closeCamera();
        }
      } else {
        if (isBackground) {
          cameraManager.closeCamera();
          onPreview = false;
        } else {
          cameraManager.stopRepeatingEncoder();
        }
      }
      videoEncoder.stop();
      if (audioInitialized) audioEncoder.stop();
      recordController.resetFormats();
    }

For this reason your solution is not valid and I need know view used in constructor (SurfaceView, OpenGlView, TextureView or  Context).
If you are using SurfaceView or TextureView, please try to use OpenGlView.
Also, test it using my app example (to discard code errors and make easy to reproduce for me), let me know device used and try reproduce the problem with other device

Thanks for the above reference, I should have dug deeper.  I believe I might understand why now.
I'm integrating your library into a custom Flutter plugin, so I extended some of your classes to render the preview onto a Flutter surface texture.  I used the RTMPCamera2 constructor that instantiates an OffScreenGlThread (referenced below) with some minor edits to get the Flutter surface to be added to the surfaceList for camera preview.
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/916d3a7f1bb9bd6e8868cbcdb0ebf611e3d5d7ae/rtplibrary/src/main/java/com/pedro/rtplibrary/rtmp/RtmpCamera2.java#L81
For the case of OffScreenGlThread and my situation, perhaps these lines are causing my camera preview to freeze:
        if (glInterface instanceof OffScreenGlThread) {
          glInterface.stop();
          cameraManager.closeCamera();
        }

@pedroSG94 this issue has been resolved.  For my use-case I do not wish to stop the glInterface and close the camera on stop record.  I've extended the class for my purpose.  Thanks again for your help.

That is good to know. Closing issue since it is solved.
You can reopen it or open other issue if you have any problems


text:
The issue with example

I have try implement retry feature, I look at your example but look like it not run propertly
https://drive.google.com/file/d/1UqzZKj2LuTTHK1SIDcnEBwXn51ZWLUcV/view?usp=sharing

Can I assume that you tested all in an emulator (previous post included)?
Can you share me emulator specifications?

Also, please compile last commit because I can see that you are working with 2.0.5 and that method (disconnect) was changed recently.

Ah, I see, I clone your repository on June, now I update the latest and the issue is disappear, thanks a lot

Ah, I see, I clone your repository on June, now I update the latest and the issue is disappear, thanks a lot

Both issues?

Yes, the latest commit fix both issue 👍

Nice, closing both issues


text:
Update to Zig v0.10

updated code to v0.10. (build works)

https://github.com/ziglang/zig/pull/10753

cc: @pedromsilvapt @suirad

I'd approve this merged on my repo. Changes look good, I was waiting until package manager to update my repos

I'd approve this merged on my repo. Changes look good, I was waiting until package manager to update my repos

moved to original repo

https://github.com/suirad/zig-header-gen/pull/5

authors: kassane suirad

repo: pedromsilvapt/zig-header-gen


text:
How does onServerListening in a plugin work?

How am I supposed to use onServerListening in a plugin? I seem to get a reference to the server object created by Webpack, but the only method that seems to be available is the start method, but the dev server is already started. Am I missing something here? It would be more useful to be able to use the object returned by the startmethod instead.
I did some digging and found that onServerListening is invoked in packages/docz-core/src/commands/dev.ts
It would be more useful to pass the reference to app there, or maybe dataServer?
What I am trying to do is to get the dev server to serve static files from my project root. I am having another build running in parallel with Docz and I want to be able to serve the files generated by that build. Is there a better way to do this than with a plugin? I did not find anything in the documentation about serving static files from the filesystem.

Hey @jgroth I just release v0.6.0 with this new hook called onCreateApp, now you can use it to do what you wanted.
So, if you just want to serve static files for docz, you can put these files on .docz/public folder and reference in a new index.html file, like that:

Add your static files on .docz/public
Add a new index.html everywhere on your project and reference it on your doczrc.js

export default {
  indexHtml: './index.html'
}

Use {{ publicUrl }} on your index.html to serve files:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="description" content="{{ description }}">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <!-- THIS IS YOUR STATIC FILE -->
    <link rel="stylesheet" href="{{ publicUrl }}/your-static-file.css">

    <title>{{ title }}</title>
  </head>
  <body>
    <div id="root" />
  </body>
</html>

Nice! Thanks, I will try it out :)

authors: jgroth pedronauck

repo: pedronauck/docz


text:
Support for Custom Attributes within Source Code

Hi peeweek,
for my use case I needed to be able to access custom attributes within the custom source code and I didn't see the option in the attribute selection, so I implemented it.
I've only tested it with write access to a custom float attribute - it works.
The user can specify his custom attribute with a string - similar to the Get/Set Custom Attribute Operators. Additionally the type of the custom attribute has to be specified, the options for that are directly pulled from the CustomAttributeUtility.
If there's anything off let me know.
New UI:

I did some additional testing:
4 custom attributes (uint, float, float, vector3) -  works as expected

Hey, sorry I totally missed your PR, this is pretty neat! :) Thanks

authors: gislerro peeweek


text:
Add eslint dev dependency and add lint step to the CI

While @StoneCypher is working on upgrading build infrastructure this stop-gap solution should catch silly mistakes

Running this on every version in the matrix seems like a waste, but it probably doesn't add as much time to the CI run as any of the ways to fix it that spring to mind.

I have selective builds on in jssm. I can commute them in if you want.

authors: Mingun StoneCypher hildjj

repo: peggyjs/peggy


text:
🛑 API MERCADO PUBLICO is down

In 44aaabc, API MERCADO PUBLICO (https://api.mercadopublico.cl/servicios/v1/publico/ordenesdecompra.json?fecha=30122022&CodigoOrganismo=7312&ticket=E1951384-BF88-4EE5-8C33-934680281626) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API MERCADO PUBLICO is back up in 7fc89f4.


text:
🛑 Beyond.pl is down

In 30df1fb, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beyond.pl is back up in 9911a17.

repo: pejotes/upptime


text:
🛑 Beyond.pl is down

In e7f2198, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beyond.pl is back up in f615b7f.


text:
🛑 Beyond.pl is down

In d30be45, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beyond.pl is back up in 85d1b0c after 10 minutes.


text:
🛑 Beyond.pl is down

In 99b66d5, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 403
Response time: 1875 ms

Resolved: Beyond.pl is back up in 338c102 after 10 minutes.


text:
Include dotnet_8 image for egg-t-modloader

This will fix the "You must install or upgrade .NET to run this application" issue with newer tModLoader.
I discovered that someone had already reported it (https://github.com/pelican-eggs/eggs/issues/2910), but decided to leave the rest in the dark, but with his "update the yolk" clue, I was able to figure it out myself.
Description
Checklist for all submissions

[x] Have you followed the guidelines in our Contributing document?

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

[x] Have you tested and reviewed your changes with confidence that everything works?

[x] The egg was edited here in GitHub

Please move your PR to the right repo, this one is not used anymore, look here to find the right one for you:
https://github.com/orgs/pelican-eggs/repositories and you can not change the json manual, make the changes in a panel and then export them and fully replace the file here

Please move your PR to the right repo, this one is not used anymore, look here to find the right one for you: https://github.com/orgs/pelican-eggs/repositories and you can not change the json manual, make the changes in a panel and then export them and fully replace the file here

Ok alright!

repo: pelican-eggs/eggs


text:
🛑 Autogestion is down

In 818504c, Autogestion ($API_AM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Autogestion is back up in d1d9a98 after 4 minutes.


text:
🛑 Web Bekasikota is down

In 1bb2298, Web Bekasikota (https://www.bekasikota.go.id/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web Bekasikota is back up in f02a96a.

repo: pemkotbekasi/website-status


text:
🛑 Kecamatan Bantar Gebang is down

In 46a6817, Kecamatan Bantar Gebang (https://kec-bantargebang.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kecamatan Bantar Gebang is back up in ed11514.


text:
🛑 Kecamatan Pondok Melati is down

In 2f90ed1, Kecamatan Pondok Melati (https://kec-pondokmelati.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kecamatan Pondok Melati is back up in f3adb5f.


text:
logseq窗口宽度小于50%时，线偏离预期位置。

macOS 12.1
Logseq 0.5.8
Logseq隐藏侧边栏，窗口宽度小于等于50%时，线断了一截。
主题：Bonofix, default, Dev 都能复现
线位移见下图

分别尝试了您发在discord的两个css 修改1. 修改2，都无法修复。

fixed in https://github.com/pengx17/logseq-dev-theme/commit/6c2f83c112b324748ab7626cf488955ffe3cae7b


text:
[PDI-14253] Text file input: adding 'Minimal width' button to Fields tab

Implements a Minimal width button on the Fields tab of Text file input. This improvement is meant to save the user time from setting each fields Trim type to "both" when attempting to eliminate padded data.
JIRA Issue: http://jira.pentaho.com/browse/PDI-14253

Thanks so much for the contribution, for working through the checkstyle issues, and the dialog test!

Thanks @mbatchelor! Happy to see this get accepted into the project :)

authors: jadametz mbatchelor

repo: pentaho/pentaho-kettle


text:
[BACKLOG-7972] - Hadoop File Output: Hadoop Clusters dropdown doesn't…

… preserve selected cluster after reopen a transformation
return api in TextFileInputMeta to have metastore for loadSource method, needed for HadoopFileInputMeta, adaptate interface to use StringBuilder instead of StringBuffer as in engine, write tests to fail on api changed in engine again
update version for jersey to 1.19.1 due to incompatibility jersey before 1.19 with java 1.8(was reproduced with fail )

Base build failed with return code 1

@dkincade @hudak could you take a view?
could you please send logs with reasons of build failure

Base build failed with return code 1

This is failing because it can not find the source folder in the assembly module. This is a known issue with wingman. I am going to include the pull request.


text:
[SP-6112] Backport of PDI-19445 - Json Parser syntax not working (9.2…

… Suite)
Original PR: pentaho-kettle#8246
@bcostahitachivantara @renato-s @andreramos89

:warning: Build finished in 39m 13s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,plugins/json/core

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 4 test(s) failed:
org.pentaho.di.job.entries.ftpsget.FTPSConnectionTest.testEnforceProtPOnPut (click to expand)
org/apache/log4j/Logger

org.pentaho.di.job.entries.ftpsget.FTPSConnectionTest.testEnforceProtP (click to expand)
org/apache/log4j/Logger

org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputTest.testProcessRowWithoutUsingValuesFromFields (click to expand)
loader constraint violation in interface itable initialization: when resolving method "javax.swing.RepaintManager$1.addRepaintListener(Ljavax/swing/RepaintManager;Lsun/swing/SwingUtilities2$RepaintListener;)V" the class loader (instance of org/powermock/core/classloader/MockClassLoader) of the current class, javax/swing/RepaintManager$1, and the class loader (instance of <bootloader>) for interface sun/swing/SwingAccessor$RepaintManagerAccessor have different Class objects for the type javax/swing/RepaintManager used in the signature

com.pentaho.di.purge.PurgeUtilityLoggerTest.htmlLoggerTest (click to expand)
${result.errorDetails}

Tests run: 5108, Failures: 4, Skipped: 7    Test Results

:information_source:  This is an automatic message

authors: buildguy smmribeiro