ng-change only fires once

Having an issue where the ng-change on the datetime picker only fires once and then doesnt fire again when the date/time is changed. I am using autosave="true" as the datepicker is part of a larger form
Has anyone got any suggestions as to a fix or an alternative to get this to work?

Managed to fix the issue using a $watch function and passing true as a third parameter
thanks to this post


document cmm

#69

Shall we get the new and upgraded probing functions from PR260 into PR and then get on the documentation with the updated versions?

the z-probing from 260 can be a new section in this notebook. I hope to merge 260 next week now that my robot is free of <>, at which point we could update this notebook. should we block this on that pr, or merge now and update later?

todo reminder: put Camillo's video in the doc

@BioCam i updated with #260 and your video. what do you think?

This looks fantastic!
I think...

the last link to mapping a 3D surface is not working?
we can hyperlink the clld_probing video to the clld_probing section for visualisation purposes. Is it possible to embed the YouTube video directly?
(haven't tried it yet)

the last link to mapping a 3D surface is not working?

That should be fixed when rendered into html. MyST-NB uses a slightly different format than normal/github jupyter notebooks for hyperlinks.

we can hyperlink the clld_probing video to the clld_probing section for visualisation purposes. Is it possible to embed the YouTube video directly?

Yes, already embedded! Just not rendered by GitHub, but will be rendered if you make docs locally :)
https://github.com/PyLabRobot/pylabrobot/pull/290/files#diff-20abf20190ef22190a8bb002eedd1bd832ccc1e71ca05586403c2f39a7932adfR232


ADSRootKey: Fails with 'String was not recognized as a valid DateTime' exception

Problem description
Trying to use KDSRootKey to validate an existing KDSRootKey on a server with the English (United Kingdom) locale set.
Receiving this error:
Verbose logs
VERBOSE: [REDACTED]: LCM:  [ Start  Resource ]  [[ADKDSKey]ADKDSKey::[DomainController]REDACTED]                                                                                VERBOSE: [REDACTED]: LCM:  [ Start  Test     ]  [[ADKDSKey]ADKDSKey::[DomainController]REDACTED]                                                                                VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Retrieving KDS Root Key with effective date of '<redacted>'. (KDSK0001)                        VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className'  = Win32_OperatingSystem'.                                                                                VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Operation 'Enumerate CimInstances' complete.                                                                     VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Checking if the user 'NT AUTHORITY\SYSTEM' has valid Domain Admin permissions. (KDSK0019)                        VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Checking if the node 'REDACTED' is a Domain Controller. The node has a product type of '2'. If the product type   is 2, then it is a domain controller. (KDSK0020)                                                                                VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Found KDS Root Key with the effective date of '<redacted>'. (KDSK0010)                         WARNING: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Found more than one KDS Root Keys. This shouldn't be an issue, but having only one key per domain is             recommended. (KDSK0009)
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
    + CategoryInfo          : NotSpecified: (:) [], CimException
    + FullyQualifiedErrorId : FormatException
    + PSComputerName        : REDACTED

VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] Retrieved the root domain distinguished name of '<redacted>'. (KDSK0021)
VERBOSE: [REDACTED]:                            [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] KDS Root Key with the effective date of '2024-01-25T10:59:31.0141932Z' is in the desired state. (KDSK0015)
VERBOSE: [REDACTED]: LCM:  [ End    Test     ]  [[ADKDSKey]ADKDSKey::[DomainController]REDACTED] False in 0.3600 seconds.
VERBOSE: [REDACTED]: LCM:  [ *FAILED*Compare  ]     Completed processing compare operation. The operation returned False.
The PowerShell DSC resource '[ADKDSKey]ADKDSKey::[DomainController]REDACTED' with SourceInfo '' threw one or more non-terminating errors while running the Test-TargetResource functionality. These errors are
logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : REDACTED

DSC configuration
ADKDSKey "ADKDSKey"
{
     EffectiveTime = "<redacted>"
     AllowUnsafeEffectiveTime = $true
}

Suggested solution
Having stepped through the code in MSFT_ADKDSKey.psm1 it looks like this is failing in Get-TargetResource, line 110. If I run these commands on my system:
$effectiveTimeObject = [DateTime]::Parse("01 February 2024 12:21:51")
$kdsRootKeys = Get-KdsRootKey
    $kdsRootKey = $null
    if ($kdsRootKeys)
    {
        $kdsRootKey = $kdsRootKeys.GetEnumerator() |
            Where-Object -FilterScript {
                $_.EffectiveTime -eq $effectiveTimeObject
            }
    }
$targetResource['EffectiveTime'] = ([DateTime]::Parse($kdsRootKey.EffectiveTime)).ToString()

I get:
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At line:1 char:1
+ $targetResource['EffectiveTime'] = ([DateTime]::Parse($kdsRootKey.Eff ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FormatException

Running '$kdsRootKey.EffectiveTime' returns the value '01 February 2024 12:21:51', but this is not accepted by [DateTime]::Parse() - possibly down to system locale (which is en-GB)? To be honest I'm not sure why we are running [DateTime]::Parse() on $kdsRootKey.EffectiveTime in line 110 or line 423 anyway, as it's already a [DateTime] object, so this could be a fix?
Operating system the target node is running
OsName               : Microsoft Windows Server 2022 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running
Name                           Value
----                           -----
PSVersion                      5.1.20348.2227
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.2227
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

ActiveDirectoryDsc version
Name               Version Path
----               ------- ----
ActiveDirectoryDsc 6.3.0   C:\Program Files\WindowsPowerShell\Modules\ActiveDirectoryDsc\6.3.0\ActiveDirectoryDsc....

This is most likely trying to return the value from DateTime to a string. Since the parameter EffectiveTime is a string.
https://github.com/dsccommunity/ActiveDirectoryDsc/blob/b89e4f0f8277b168171a3fe802f8473a9288f057/source/DSCResources/MSFT_ADKDSKey/MSFT_ADKDSKey.psm1#L110
Because Get-TargetResource returns EffectiveTime as string (need by the schema, and done by line 110 above) the line at 423 seems to try to convert the value back to DateTime. Line 422 and 423 prepares the values as DateTime so the comparison compares two DateTime values (instead of comparing strings).
https://github.com/dsccommunity/ActiveDirectoryDsc/blob/b89e4f0f8277b168171a3fe802f8473a9288f057/source/DSCResources/MSFT_ADKDSKey/MSFT_ADKDSKey.psm1#L422-L423
The problem seems to be that the parsing should always be done through a known format, that works regardless of locale. 🤔

Maybe line 110 should be changed to something like this, assuming the property EffectiveTime is a DateTime in all supported OS:
$kdsRootKey.EffectiveTime.ToString('yyyy-MM-dd HH:mm:ss.fff')

On your last point, the property EffectiveTime appears to be a DateTime on Windows Server 2012 R2 and Windows Server 2022 - doubt it's changed between?
OsName               : Microsoft Windows Server 2012 R2 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 9600.21620.amd64fre.winblue_ltsb_escrow.230929-1158
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PS C:\Windows\system32> (Get-KdsRootKey)[1].EffectiveTime.gettype()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     DateTime                                 System.ValueType

OsName               : Microsoft Windows Server 2022 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PS C:\Windows\system32> (Get-KdsRootKey)[1].EffectiveTime.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     DateTime                                 System.ValueType

OK so there's a load of weirdness going on when DateTime attempts to process dates in non-US cultures, in what I'm pretty sure is buggy behaviour (see my report at https://stackoverflow.com/questions/77968235/how-is-powershell-datetimeparse-processing-broken-in-certain-locales)
But it looks like all that's needed to fix it here is to bypass the unnecessary Parse() call - have tested the attached PR on my system & seems to work perfecly now.

(@johlju I did look into resolving this by using a 'standard' date format as you suggested throughout (I was going to use .ToString('o') to use ISO 8601) but it seems that DateTime::Parse is not always reversible for ISO 8601 at least in the en-GB culture - which kind of defeats the object of the standard, but whatever...
HOWEVER when using the default ToString() output for the culture, DateTime::Parse does appear to be reversible at least in en-GB (which you would expect). So it seems this is the safest bet.


Reduce the boilerplate for setting up duck.InformerFactory's.

This augments the injection codegen with the capability to produce a duck.InformerFactory
attached to context for each type that we process.
Now a duck.InformerFactory for "Addressable" can be produced by "Get"ing it from the context.
This is triggered by placing // +genduck on the type that implements duck.Implementable.
/hold
I am going to stage this into the downstream repos (partially to make sure everything WAI).

This is going to be so awesome. 👏 😎
/lgtm

/hold cancel


Updating iOS native dependencies with pod install - failed!

Hello
Hello everyone,
I try to add the ios platform in my ionic project with capacitor but I have this error:
✔ Copying web assets from www to ios/App/App/public in 1.12s
✔ Creating capacitor.config.json in ios/App/App in 2.02ms
✔ copy ios in 1.14s
✔ Updating iOS plugins in 6.91ms
[info] Found 5 Capacitor plugins for ios:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>✖ Updating iOS native dependencies with pod install - failed!
✖ update ios - failed!
[error] ERR_SUBPROCESS_COMMAND_NOT_FOUND
But for Android it’s work perfectly!
Do you have an idea for why I have this error?
Thanks

Do you have cocoapods installed?
https://capacitorjs.com/docs/getting-started/environment-setup#cocoapods
Does it work in a new Capacitor app without any plugins installed?


[BEAM-6955] Use base version component of Beam Python SDK version when choosing Dataflow container image to use.

When Beam SDK version is modified, for example, when current version of the SDK is a release candidate, Dataflow runner should use the base version component of the SDK, which we can parse via pkg_resources.parse_version(), for example:
>>> pkg_resources.parse_version("2.14.0").base_version
'2.14.0'
>>> pkg_resources.parse_version("2.14.0.rc1").base_version
'2.14.0'

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aaltay

Run Python PreCommit

Run Python PreCommit

Failed unit test is a flake: https://issues.apache.org/jira/browse/BEAM-7594

Run Python PreCommit

Suite failed due to another flake: https://issues.apache.org/jira/browse/BEAM-7548

Run Python PreCommit


Test Tweet Zapier

This is a test issue for use with zapier
If this is still here in 90 days, it's safe to close forever.

After some initial testing with Zapier, I am not confident GitHub > Zapier > Buffer is a thing that's possible. cc @SD-13

Repo is being archived, going to go ahead and close this out. For more info, please see https://github.com/kubernetes/org/issues/4481
/close


Request repaint on stdout/stderr changes

Proof-of-concept fix for #51, using an unsafe static mut CTX to save the egui::Context.
Doing this right could be done by adding a ctx field to the Klask type, however, this may be a big conceptual change? Also, egui::Context does not impl std::fmt::Debug, so it breaks the #[derive(Debug)] on Klask.
Let me know what you think when you have the time :)

Thanks for the PR! :) Could you explain why this is needed and why the issue happens? Why does the GUI not refresh on stdout changes?
Either way I think it would be better to either use once_cell or something similar or put the ctx in Klask instead of using unsafe

Hi Michal,
here's a minimal example showing the issue:
use std::{thread, time::Duration};

use clap::Parser;
use klask::Settings;

#[derive(Debug, Parser)]
struct Args {
    #[clap(short)]
    verbose: bool,
}

fn main() {
    klask::run_derived::<Args, _>(Settings::default(), |_| {
        for _ in 0..5 {
            println!("hello");
            thread::sleep(Duration::from_millis(500));
        }
    });
}

This new fix gets away without unsafe and once_cell. We fixed it collaboratively in the Rust Nuremberg Meetup group :)
This fixes another slight bug, namely that the "Run" and "Kill" buttons did not correctly update when the application exited.
By calling request_repaint one last time when stdout or stderr close, the button reappears even when the mouse is not moved. This of course only happens if the application really closed, not if it is for some reason still running.

This new fix gets away without unsafe and once_cell
That's amazing! Thank you :)


Add accesstoken and ThrottledApplication to admin panel (#3711)

Fixes

Fixes #3711 by @AetherUnbound
Description

This PR adds oauth_provider.models.AccessToken and api.models.oauth.ThrottledApplication tables to the Django Admin UI.
All fields are set as read-only. We are not sure if this is done in the best way. Also, in the issue (#3711), it was said that:

While I initially thought this would be good as read-only, we might even want to enable editing of certain fields so that access can be revoked by maintainers using the Admin UI as well.

We did not know which fields should be set as editable. Hence the draft PR.
Testing Instructions
Test by opening the Django admin panel and looking at the new entries in the sidebar.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Dhruv and I are at WordCamp Asia next week, so pinging @WordPress/openverse-api to reassign reviews on this to folks who are available.
Regarding the editable fields, please make rate_limit_model editable. It's probably also a good one to add to search fields, so we can easily see client IDs in each rate limit model.
I'm not 100% sure how revoking access would work. Deleting the ThrottledApplication instance doesn't seem like the right way to go (just thinking of that being an option), but if we had a new rate limit model called "deny", or something along those lines, that could work. From my perspective this is something for a separate issue, though, as it needs a bit of thought from @WordPress/openverse-maintainers to decide what the technical and decision making process would be.

Hi @bjornthiberg, Openverse maintainers are going to take a look at your PR this week! Thank you for the contribution :tada:
I did want to make sure you saw the notes from @sarayourfriend concerning editable fields. Thank you!


Refactoring command mapping, configuration/flags, and addressing linting warnings

All tests passing, but we only have 47% test coverage. Let's discuss the path that these changes put us on this week @ilikeorangutans, but more so what further cleanup and idioms can be attained going forward.
The biggest changes here are:

Consolidating to a single Args struct (which can be better understood and deconstructed into concrete types, rather than mapping strings to interface{})

This will give us a chance to differentiate arguments to commands from the context and environment around the command(s) being run.
We can also revisit the topic of good defaults, and determine whether any commands need their own, specific defaults, or whether there's a single set of defaults good for all commands.
The args parsing stage should also be where all input validation is done, so we can abort early before any commands attempt to run if anything is amiss.

Removing common.go functions to extract parsed fields from removed maps.

There may be other unused functions in the app that we can remove to reduce clutter.

For the most part, *Command functions no longer take and further verify args params, before doing any real work with them.
Adding comments, adhering to linting warnings (0 warnings now)

@stevebosworth Do you mind building from this branch, and tophatting your workflow with it tomorrow / this week? I mainly just want to see if anything blows up immediately: if it does, feel free to paste any stacktraces etc here. Thanks!

On it!  @Shopify/themes-fed if anyone else can build themekit from source, you should :tophat: as well

@chrisbutcher used for the last few days and everything seems good!  :ship:

@stevebosworth Great, thanks! Will get some additional code review and will ship a release with this and https://github.com/Shopify/themekit/pull/145 soon

Don't have time to do a thorough review right now, but I skimmed it. It looks good, a few minor comments, but otherwise :+1: . Good work!


Add deneb config for Chiado

fixes #7871
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

Theres probably a few things to push up stream so that there's less changes in this between the published and our version...

Ultimately what i want is to be able to have https://github.com/gnosischain/configs/blob/main/chiado/config.yaml in our chiado.yaml, but its very different currently...
(below the chiado.yaml is the one from the gnosis ref above)
diff chiado.yaml ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/chiado.yaml
41a42,51
> # Fork Choice
> # ---------------------------------------------------------------
> # 2**3 (= 8)
> SAFE_SLOTS_TO_UPDATE_JUSTIFIED: 8
> # 20%
> REORG_HEAD_WEIGHT_THRESHOLD: 20
> # 160%
> REORG_PARENT_WEIGHT_THRESHOLD: 160
> # `2` epochs
> REORG_MAX_EPOCHS_SINCE_FINALIZATION: 2
48,49d57
< # 2**0 (= 1)
< RANDOM_SUBNETS_PER_VALIDATOR: 1
157a166,167
> # [New in Deneb:EIP7514] 2**3 (= 8)
> MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8
158a169,197
> # Networking
> # ---------------------------------------------------------------
> # `10 * 2**20` (= 10485760, 10 MiB)
> GOSSIP_MAX_SIZE: 10485760
> # `2**10` (= 1024)
> MAX_REQUEST_BLOCKS: 1024
> # `2**8` (= 256)
> EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
> ## `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2`
> MIN_EPOCHS_FOR_BLOCK_REQUESTS: 2304
> # `10 * 2**20` (=10485760, 10 MiB)
> MAX_CHUNK_SIZE: 10485760
> # 5s
> TTFB_TIMEOUT: 5
> # 10s
> RESP_TIMEOUT: 10
> ATTESTATION_PROPAGATION_SLOT_RANGE: 32
> # 500ms
> MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500
> MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000
> MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000
> # 2 subnets per node
> SUBNETS_PER_NODE: 2
> # 2**8 (= 64)
> ATTESTATION_SUBNET_COUNT: 64
> ATTESTATION_SUBNET_EXTRA_BITS: 0
> # ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
> ATTESTATION_SUBNET_PREFIX_BITS: 6

The fork choice section was in our previous file, so i copied that back in,
MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT copied from mainnet which sounds like it was incorrect
networking section was in our previous implementation, so I copied that.
I'm not sure where these fields come from for everyone else, so it's a bit curious. I wonder if @daplion has any input on these...

It does look like I missed RANDOM_SUBNETS_PER_VALIDATOR from the diff above... I'll double check that...
To me the 2 missing sections, and probably MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT should all be in the config source we copy...

this option was outdated with spec changes see #7341

You probably need to add a line like this too https://github.com/ConsenSys/teku/blob/5ac9458e040f900cf61d164ff8084176239d22db/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java#L653

yes but now we have a test that will break ;)

@rolfyone thanks for noticing, the chiado config was not updated to the latest set of keys. Now fixed with

https://github.com/gnosischain/configs/pull/28

LGTM. Added some minor suggestions according to recent changes in gnosischain/configs#31

oh awesome - that makes sense then... thanks!


Add menu to navigate to fpdcc.com, about page, feedback

[x] About / Contact page
[x] Give feedback page
[x] Functional on mobile

Initial version added with https://github.com/smartchicago/trailsy/commit/2e3e269741f05433fd63fdd01e2339e313e3dd11 .
About & feedback links go nowhere at the moment.

@shua123 The feedback form upload is failing and I'm reluctant to spend time troubleshooting if we can use Wufoo. Can you create something similar to the existing one?
https://script.google.com/macros/s/AKfycby6fEFxi92eh152A7x4iPy6tRjevGbpRgCUTTaKNMBfwqdDHVvZ/exec

@shua123 CSS is update on gh-pages to have the mobile menu work. JS is appending "hide" class on first click though...
Also removed a redundant menu for index.html.

@shua123 Would also be nice to eventually have the menu close when the user clicks or touches off the menu (both desktop and mobile). Have a feeling some users will struggle with closing menu by touching hamburger icon again. And will have trouble getting off the About page because it obscures the X icon:

Close menu when clicking outside of menu list: https://github.com/smartchicago/trailsy/commit/1f8fa80bb830b40e114ccb2cd84c68879e049256

@shua123 feedback from looks good on dev


Neodigm Poptart | Right-Click (context) declarative support

Will prevent default as does click. Update landing page, roller, and wiki.
data-n55-poptart-rightclick = "id"

This task is complete in v3.1.


Has this project stopped or just paused?

I am a programmer who likes learning about different languages and as a part of a challenge, i am looking for potential new languages to code with, nothing really serious, just for fun.
I was just wondering whether this project is going to be resumed in the future.

Oh I ended up changing the name and make it another language .., Now it's
known as Ceylonicus...you can test it on:https://www.ceylonicus.vercel.app
and the repo is https://www.github.com/RezSat/Ceylonicus. It's like the
Ysharp v7 ...so yeah..
By the way..I really need to thank u for Ur interest in my little work.. 😀
On Thu, 4 Aug 2022, 11:53 am AngelNovo, @.***> wrote:

I am a programmer who likes learning about different languages and as a
part of a challenge, i am looking for potential new languages to code with,
nothing really serious, just for fun.
I was just wondering whether this project is going to be resumed in the
future.
—
Reply to this email directly, view it on GitHub
https://github.com/RezSat/Ysharp-v4/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOYPN72QNNBCHGAIKX4IHA3VXNOUTANCNFSM55RJIPJQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Added CircleCI config file for this project

Description
I created and added a CircleCI build configuration for this project. I removed the travis config.  Let me know if you need anymore help with this configuration.
-a

@froi @jpadilla I saw your tweet about this project and noticed that you had travis as your
CI/CD. Travis has been acquired recently and I feel that their days are numbered so I created a CircleCI config for this project for you :-)
Enjoy

Hey @punkdata. Thanks for the PR! We really do appreciate it. I'll be reviewing it shortly.

It's all good. I figured I'd get you started. Let me know if I can help


The value of 'sr' is incorrect in blob's SAS URI which created by selecting access policy

Storage Explorer Version: 1.12.0
Build: 20200313.4
Branch: feature/blob-migrate-v12-sdk
Platform/OS: Windows 10/ Linux Ubuntu 16.04
Architecture: ia32/x64
Regression From: Previous release (1.12.0)
Steps to reproduce:

Expand one normal storage account -> Blob Containers.
Create one blob container then right click it -> Select 'Mange Access policies...' to add one access policy.
Upload one blob to the new created blob container.
Right click the uploaded blob -> Select 'Get Shared Access Signature...'.
Select the access policy to create SAS URI.
Check the value of property 'sr' in the SAS URI.

Expect Experience:
Display 'sr=b' in SAS URI.
Actual Experience:
Display 'sr=c' in SAS URI.
More Info:

Generate container-level shared access signature URI is not selected.

This is caused by the underlying behavior of the SDK. An access policy applies to container level access control so that the SDK decides to set the resource type to "c" for a generated SAS with access policy.

@JasonYeMSFT
If the resource type can be set to 'c' by selecting an access policy.
So if we use an access policy, In my opinion, disable  the option 'Generate container-level shared access signature URI' is better.

After discussion, we decided to remove the Generate as Container SAS option and remove the inapplicable List permission when generating blob level SAS. We can update the info message to inform user about this behavior.

@JasonYeMSFT
Verified this issue on build 20200327.2. Everything is perfect. so we close it.

The option Generate as Container SAS is removed.
The resource type is set to 'c' by selecting an access policy.
The info message is added.

Going from this:

To this:

Feels more like feature regression than a bug fix.  The SAS being generated also aren't valid, now getting "signature did not match" authentication errors when I try to access blobs with the SAS.  I'm now stuck on 1.12 until I can get replacement for the removed functionality.

@Nethemas The removal of the checkbox is by design because we want to make it clear between blob SAS and container SAS. You are not supposed to generate a SAS that can access things that you didn't select. The invalid SAS regression was caused by us setting the incorrect resource type. We are making a patched release 1.13.1 which will contain a fix for the invalid SAS issue but we are not planning to add the checkbox back.


samba-version check

# installed version
smbstatus --version

# latest version
https://github.com/samba-team/samba/releases

Currently not available on https://endoflife.date/


It will be great to combine angular2-google-maps

I will be awesome to combine angular2-google-maps with infoBox or infobubble where we can style the standard infoWindow it is very limited right now.
And maybe think about customise markers too, not only set an Image as icon but make them come alive something similar like leaflet-awesome-markers. Or like Richmarker library where it is possible to create a html marker which you can style all the way you want!

yes, im working infoBubble support. We track this in #287


REST-API interface is very inconsistent

I've been trying to write a client library in rust for the introspector rest-api. While doable, I've found the process a little frustrating. Here are some of the issues I've found with it;

Inconsistent use of underscores/dashes, e.g. function-name and function_filename.
The result field is not consistent between endpoints e.g. 'far-reach-but-low-coverage', returns  "succes" in the result field. Whereas the project summary returns "success" in the result field.

That sounds awesome, I'd love to follow along, is it public?
Naming and conventions should be standardized, I agree.
I think it may make sense to define something more concrete for the API, e.g. a spec of sort that can be utilized, either via protobuf or similar.

So far it's part of a private project. But I'd be happy to spin that component out into an open-source project, if there is interest.

@DavidKorczynski Client lib here, need to add some docs and create a crates.io package but you should be able to get an idea how to use it from the examples directory. It is pretty much feature complete in terms of querying the API.

Crate docs here are here fuzz-introspector-client.

Cool, thanks for the links @silvergasp
I might approach this in a two-step approach: first fix up so naming and conventions are consistent; then come up with some specification which can be used for serialization across languages.

Sounds reasonable to me, protobuf/grpc sounds nice.

I've adjusted things now in the referenced PR.
This should have an effect in around ~18 hours. There'll be a JSON schema for each API and they will be visible on the API page, in summary changed all - to _ and fixed some typos.
https://github.com/silvergasp/fuzz-introspector-client will have to be changed -- I'll ping here when the updated webapp is live.

This should be good now @silvergasp !
I think for now we'll stay with JSON shemas to keep things light.

One more inconsistency. "src_file" vs "source_file". Would it make sense to fix that too?


Prerequisite task failure declared but not observed

Information

Onefuzz version: 6.4.0
OS: Windows

Provide detailed reproduction steps (if any)
This does not something that reproduces 100% of the time but is something we have observed in some of our jobs. We have a job with two tasks, one which is a prereq for the other. From the failure sample:
        "job_id": "67a85fea-802f-41e7-bf5d-21a4244556f3",
        "os": "windows",
        "state": "stopped", (no error)
        "task_id": "73336006-688b-4c46-8f27-67c5aadb4bb0",

       "config": {
            "prereq_tasks": [
                "73336006-688b-4c46-8f27-67c5aadb4bb0"
            ],
        },
        "error": {
            "code": "TASK_FAILED",
            "errors": [
                "prerequisite task failed.  task_id:d7b2555f-91dd-429f-989e-d6ea03bcc70b"
            ]
        },
        "job_id": "67a85fea-802f-41e7-bf5d-21a4244556f3",
        "os": "windows",
        "state": "stopped",
        "task_id": "d7b2555f-91dd-429f-989e-d6ea03bcc70b",

Expected result

The task with the prereq failure error would point to a task in prereq_tasks
Some other task in the job has failed

Actual result

The prereq failure appears to be pointing to itself for the task failure
No other task in the job has failed.

AB#36164

The last log entry for the failed task don't seem to indicate anything is wrong:
[2023-03-03 02:04:26.236115300 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:04:42.250448800 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:04:55.263618200 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:05:12.275660300 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:05:24.280993300 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:05:43.291995400 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:05:54.307858200 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:06:10.323672 UTC] WARN: no new candidate inputs found, sleeping
[2023-03-03 02:06:26.333586300 UTC] WARN: no new candidate inputs found, sleeping

Though it does stop just a little bit before the scheduled end time:
        "end_time": "2023-03-03 02:08:31.961340+00:00",

Comparing to the task without any reported errors, its last log message is timestamped 2023-03-03T02:06:05.64Z.
So as far as I can tell everything appears normal other than the reported failure. Is it possible the scheduled task shutdown is being detected as a failure?

It looks like we shutdown the task at the end of the run time we use this status message and it's not accurate. We think the message is coming from the service, not the task itself.


Feat: using eth, luna prices insteadof oracle prices for col5 liquidation problem

Codecov Report

Merging #170 (d3c1553) into master (68eb47f) will increase coverage by 0.25%.
The diff coverage is 7.12%.

@@            Coverage Diff            @@
##           master    #170      +/-   ##
=========================================
+ Coverage    4.06%   4.31%   +0.25%
=========================================
  Files         534     573      +39
  Lines        9673   10338     +665
  Branches     2772    3023     +251
=========================================
+ Hits          393     446      +53
- Misses       9280    9892     +612

Impacted Files
Coverage Δ

...nchor-protocol/webapp-fns/queries/airdrop/check.ts
0.00% <ø> (ø)

...r-protocol/webapp-fns/queries/airdrop/isClaimed.ts
0.00% <ø> (ø)

<EMAIL_ADDRESS>0.00% <ø> (ø)

...-protocol/webapp-fns/queries/anc/lpStakingState.ts
100.00% <ø> (ø)

<EMAIL_ADDRESS>100.00% <ø> (ø)

...nchor-protocol/webapp-fns/queries/anc/tokenInfo.ts
0.00% <ø> (ø)

...ol/webapp-fns/queries/bond/bEthClaimableRewards.ts
100.00% <ø> (ø)

...tocol/webapp-fns/queries/bond/bLunaExchangeRate.ts
100.00% <ø> (ø)

...hor-protocol/webapp-fns/queries/bond/bLunaPrice.ts
80.00% <ø> (ø)

...otocol/webapp-fns/queries/bond/claimableRewards.ts
100.00% <ø> (ø)

... and 190 more

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 68eb47f...d3c1553. Read the comment docs.


Model not updating until next digest cycle when adding and removing items under 1.2.0-rc.2

It looks like the ngModel is not updating until the next digest cycle when adding and removing items under 1.2.0-rc.2.  Haven't tried until 1.1.5.
Do we need to add calls to scope.$apply on itemAdded and itemRemoved?
    select.on('itemAdded', function(event) {
      if (scope.model.indexOf(event.item) === -1)
        scope.model.push(event.item);
      try {
        scope.$apply();
      } catch (error) {

      }
    });

    select.on('itemRemoved', function(event) {
      var idx = scope.model.indexOf(event.item);
      if (idx !== -1)
        scope.model.splice(idx, 1);
      try {
        scope.$apply();
      } catch (error) {

      }
    });

ok


fix 'fannel' typo.

It seems like a lot of users are getting issues with flannel initially. This will help them get the 'right' error message 👍

Thanks


Remove 'static requirement on Module

Implicitly through AsAnyMut

Can you expand a bit on why this is needed?

It was requested by Namada (see their Context object they want to implement Module for). And I find this to be a good change in general as it gives more flexibility to implementors, without many drawbacks (if any?) for us.


New-AzureDeployment's Configuration parameter should accept URLs to blobs

Current: The New-AzureDeployment cmdlet's -Package parameter allows users to refer to a package (.cspkg) file that's either on the user's machine via a local filepath, or in blob storage via the blob's URL. However, the -Configuration parameter only allows users to refer to a configuration (.cscfg) file via a local filepath.
Desired: The -Configuration parameter should allow for users to refer to a  configuration (.cscfg) file that's in blob storage via the blob's URL, in addition to a local file path.

Oops, wrong repo. Closing this and reposting here: https://github.com/Azure/azure-powershell

Link to the issue: https://github.com/Azure/azure-powershell/issues/7764


Add "Image" to Graphics.Canvas

Guess this belongs to Graphics.Canvas:
foreign import data Image :: *

We have CanvasImageSource and tryLoadImage already, although arguably we should have a cast from HTMLImageElement to CanvasImageSource too; would that cover what you had in mind?
We'd have to add a dependency on purescript-dom to be able to reference HTMLImageElement, though.

Howdy!
Realizing that this is a pretty old issue at this point, but I ran across it due to running into some limitations with the current tryLoadImage API, and thought I'd dump them here in case it's useful for deciding on that purescript-dom dependency in the future.
I've basically run into two main pain points. (1) a lack of control when calling tryLoadResource and (2) the lack of transparency in using the opaque CanvasImageSource data type.
The first is about browser security.  Without any ability to customize the Image that's being created behind the scenes, you'll get hit with a Security Error if you try to load anything from a different origin (for instance, S3). To get around that, you've got to be able to specify the crossOrigin policy on the Image object prior to loading. Currently, that requires punching down into the js to make the modification.
export function tryLoadImageImpl(src) {
  return function(e) {
    return function(f) {
      return function () {
        var img = new Image();
        img.src = src;
        img.crossOrigin = "anonymous"    // <--- This part
        img.addEventListener("load", function() {
          f(img)();
        }, false);
        img.addEventListener("error", function() {
          e();
        }, false);
      };
    };
  };
}

If you want to avoid a full dependency on purescript-dom, what do you think about providing a subset of the Image props as an alternative API? Something like.
type ImageProps = {src :: String, crossOrgin :: Maybe String} -- and so on
tryLoadImageFull :: ImageProps -> (Maybe CanvasImageSource → Effect Unit) → Effect Unit

The second issue I've run into is with CanvasImageSource being a bit too opaque. One thing that's useful, especially when you want to do further image processing, is to get the dimensions of the image. Currently, this requires using things like unsafeCoerce in order to "see" the attributes that actually exist behind the scenes. This is another area where exposing just a bit more might pay back in terms of what you can do with the APIs, but without needing to pick up another dependency.
Anywho, there's my $0.02.


User request: handle the "Unknown player" name shown in studies and imported games if only one player tag is available

Also reported in https://github.com/lichess-org/lila/issues/15185

Fixed by Lichess


Fixed subscribe call in angular sample

Fixed a syntax issue where the previous code tried to pass an observer to the subscribe method but passed an anonymous function instead. This caused the curly braces to become the body of the function and next and error to become labels.

FYI @IEvangelist


Behavior of header matching should treat field names as case-insensitive, but not values

Overview
First, the default behavior of Karate is incorrect in how it handles the matching of header field names. It treats them in a case-sensitive manner, which is incorrect, as will be explained below.
Second, the documentation is (perhaps inadvertently) misleading in that it suggests that both header field names and  header field values are treated case-insensitive according to the HTTP spec.
Problem 1 Detailed
For Karate to correctly follow the HTTP Spec for headers, it should have default behavior as follows:

When using match header <field-name> == // etc.. the field name in question should be found no matter what case it is supplied in.

For example, whether or not the user enters vary or Vary here, and whether or not it is returned in the response as vary or Vary, or even as vArY, it should match.
Problem 1 Explanation
The HTTP spec specifies that:

Field names are case-insensitive.

It explicitly does not specify the same for field values, thus indicating that field values should be treated in a case-sensitive manner.
For further proof of this, consider that the curl command lowercases all header field names by default, but not the field values.
In issue 504, the same issue was raised, but the decision appears to have been to introduce a secondary feature that can be toggled on to configure lower-casing of both header field names and header field values prior to when matching occurs. That is fine as an additional feature since it is documented, but that solution also does not meet the spec because it lowercases both the header field names and header field values.
The bottom line is that Karate does not adhere to the HTTP spec in either the default configuration or when  lowerCaseResponseHeaders has been set to true.
Problem 1 Proposed solution
By default, Karate should match header field names in a case-insensitive way.
Problem 2 Detailed
The README documentation incorrectly states the following:

Since as per the HTTP spec, headers are case-insensitive you may want to switch on this setting: * configure lowerCaseResponseHeaders = true - if you need to perform a lot of assertions on the responseHeaders.

Problem 2 Explanation
The README statement is incorrect. Headers are not case-insenstive according to the spec. Field names are.
Problem 2 Proposed Solution
The README should be reworded to something like the following:

Since as per the HTTP spec, header field names are case-insensitive . . .

Zip repro
The attached zip file contains a minimal, complete, and verifiable example. The scenario therein should succeed if Karate's default behavior correctly reflected the HTTP spec because the value in the response from the fake JSON service (at least at the time of this writing) is as follows:
Vary: Origin, Accept-Encoding

Which means that the And match header vary == 'Origin, Accept-Encoding' assertion should succeed. Currently it fails.

myproject.zip

@scottashipp thanks for the details:

would be much easier if you provide a PR with what exactly the docs should be (docs are hard ;)
initially yes we lowercased the header values as well, but not in the latest version
this test shows how you can switch on the lower-casing of header names and it works as expected
again, would be super convenient if you provide a PR (ideally with a new test in that same folder) to show the issues
maybe it is good to have that the lower-casing is "on by default" not a deal-breaker IMO
I'll keep this ticket open, just that without a PR it may take time to look at

@scottashipp it would be great if you can try the rewrite branch and confirm that this is fixed: https://github.com/intuit/karate/wiki/1.0-upgrade-guide

Great I will verify today!

I have confirmed that the rewrite branch fixes this issue. Thank you @ptrthomas !

@ptrthomas will this fix be part of next release?

@ilamn yes, you can try this now in 0.9.9.RC3 - please read https://github.com/intuit/karate/wiki/1.0-upgrade-guide

Thanks. I tried in 0.9.9.RC3 . still fails for me.
have modified the above test slightly.
myproject-header.zip
And def cookie = responseHeaders['Set-Cookie'][0]
works
And def cookie = responseHeaders['set-cookie'][0]
fails

@ilamn before I look at the zip file may I mention:

headers are case sensitive for the form * match header set-cookie == 'something refer: https://github.com/intuit/karate/tree/develop#match-header
if you want to get a header the way you are doing, please see * configure lowerCaseResponseHeaders = true: https://github.com/intuit/karate/tree/develop#configure
and finally there may be better ways to get cookies: https://github.com/intuit/karate/tree/develop#responsecookies

yes @ptrthomas I confirm

I am not using match
i tried * configure lowerCaseResponseHeaders = true: did not help.
my use case at work is, i need to get a customer header and assign it to a variable. so that i can pass it in request header to next api call. and not cookies. I just used cookie as an header example to demonstrate.

Thanks a lot for your time.

@ilamn awesome, indeed our miss. would be great if you can build from source and confirm: https://github.com/intuit/karate/wiki/Developer-Guide

Thanks a lot for the quick turnaround @ptrthomas . can confirm it works now. is there any further RC planned ? would be nice if there is one, so that I can use the fix at my work.

@ilamn yes I can confirm the last RC4 will go out this week


Kubefedcluster: support ignore tls

Implements an optional field in v1beta1/KubeFedCluster to specify which TLS checks to ignore. Disabling TLS checks is implemented by setting tls.Config.InsecureSkipVerify and providing a function closure implementing tls.Config.VerifyPeerCertificate (to selectively ignore SubjectName or ValidityPeriod).
Modifies kubefedctl join to preserve the kubeconfig cluster setting of InsecureSkipTLSVerify by setting the new field in v1beta1/KubeFedCluster.
Related issue:
https://github.com/kubernetes-sigs/kubefed/issues/1029

/assign @irfanurrehman

@pjferrell What use case(s) do you have that requires disabling tls?  I can imagine test-only deployments that might want to avoid TLS, but the cost to support it is minimal even then.

@font Rebased and test added for validation.  Thanks.


cycles X

hi,
not sure if gaffercycles is still alive, but if it is, Cycles X is quite an improvement
https://code.blender.org/2021/04/cycles-x/
could be amazing to play with in gaffer
bests

Hi @Kaiz3rTool
CyclesX looks to be a promising advancement. Should be an easy enough merge in time, I will wait until it is progressed further as it is missing volumes/hair/etc. right now.
This project is definitely not dead! There will be more progress eventually.


Bloomberg Tame parents

On Oct. 12, the State Council, China’s ultimate govern- ing body, issued a new guideline pushing for something similar. By 2035, the government vowed, the nation will have built a world-class vocational education system to develop highly skilled workers, with at least 10% of the entering class working toward a bachelor’s degree

国务院计划在 2035 年世界一流的职业教育体系, 会影响至少 10% 的可能会上大学的学生

Last year, close to 10 million students enrolled in undergraduate pro-grams, up 46% from a decade earlier. Last June, when the class of 2020 graduated, the unemployment rate for degree holders aged 20 to 24 was 19.3%, vs. the economy’s overall 5%, according to HSBC Holdings Plc.

去年, 有接近一千万的大学生, 比以往 10 年多了 46%. 2020 年, 20-24 大学生的失业率是 19.3% 对比社会总体才 5%, 真的是毕业即失业, 当然这不包括就职造假和考研的同学.

Last year, value added from manufacturing accounted for only 26% of China’s gross domestic product, a 6 percentage point drop from just a decade earlier.

去年, 制造业增加值仅占中国国内生产总值的26%, 比 10 年前降低了 6 个百分点.

Chinese society can be surprisingly rigid. Schools informally classify chil- dren as “golden babies,” “silver babies,” and “copper babies”—usually based on where they’re born and their parents’ wealth. China has enough golden babies, or those who can make it to Tsinghua University and will develop world-class semiconductor chips one day. It has plenty of copper babies, who work in construction and factories making low-end exports such as clothes and toys. But it lacks silver babies, who can manufacture the high-value tech gear that golden babies design.

国内不缺 '金铜' 孩子, 只缺 '银孩', 因为不上不下, 国内职业歧视导致父母都更愿意让孩子去补习班争取上大学, 而不是做高科技的制作业工人.

See in bilibili

Tame Tiger Parents.pdf


Obfuscation, inclue, exlude properties couldn't set from configuration

logbook-spring-boot-starter doesn't work correct due to some properties doesn't set.
Description

Obfuscate, inclue, exlude properties couldn't set from configuration due to LogbookProperties hasn't any setter methods for these properties. So LogbookAutoConfiguration  gets empty configuration from LogbookProperties for obfuscate, include, exclude
Possible Fix
Add setter methods for obfuscate, include, exclude in LogbookProperties .
Context

Couldn't set logbook.obfuscate.headers, logbook.obfuscate.parameters, logbook.include, logbook.exclude from application.properties in Spring Boot project. Manually added logbook bean configured with java api.
Your Environment

Version used: 1.13.0
Spring Boot version: 1.5.2.RELEASE

Can you show your application.properties ?

I'm assuming you're running into the same issue as #282 and #370.

Can you show your application.properties ?

logbook.format.style=http
logbook.write.max-body-size=300
logbook.include=[/demo/**]
logbook.exclude=[/demo/monitor/**,/v2/api-docs,/configuration/ui,/swagger-resources,/configuration/security,/swagger-ui.html,/webjars/**]
logbook.filter.enabled=true
logbook.secure-filter.enabled=true
logbook.obfuscate.headers=[Authorization,x-auth-password,x-auth-token,X-Secret]
logbook.obfuscate.parameters=[access_token,password]

As I assumed, the problem is not with logbook but how spring represents lists in flat properties files. Either you use yaml or follow the suggestion in #282.
https://stackoverflow.com/a/47586180

Can you try with the below format (without brackets)  :
logbook.exclude=/demo/monitor/,/v2/api-docs,/configuration/ui,/swagger-resources,/configuration/security,/swagger-ui.html,/webjars/
It's working for me

I believe that depends on the Spring version.

I had to do add to my application.properties
logbook.exclude[0]=**/v2/api-docs
logbook.exclude[1]=**/swagger-ui.html
logbook.exclude[2]=**/webjars/**
logbook.exclude[3]=**/swagger-resources/**
logbook.exclude[4]=**/csrf
logbook.exclude[5]=**/

I am using
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.1.RELEASE</version>

Tip: Use logbook.write.max-body-size=10 until you are able to exclude needed urls


Store installed theme keys in a different localstorage array than extensions

Do it like how snippets works. It will make the code easier to understand.

Fixed in 11dfc72


Skip fetching from server when deleting a named resource

Added a test to ensure kubectl delete $TYPE $NAME doesn't first GET the resource

Fixes #6859
@smarterclayton PTAL

I have a slight variant I want to discuss tomorrow with you

On Apr 18, 2015, at 10:15 PM, Jordan Liggitt<EMAIL_ADDRESS>wrote:
Fixes #6859
@smarterclayton PTAL
—
Reply to this email directly or view it on GitHub.

Collapsed logic for lazily loading objects into something controlled by the requireObject flag, which default to true. Added a test for deleting by tuple.

LGTM unless derek has other comments.

Shippable flake due to bad code in master, merging


What is sent to the LLM?

When I do a command such as: ":%AI write a letter based on this selection". How is the prompt constructed?
Is it something like:
"context <contents of %>
write a letter based on this selection"
I'm not sure if it is all just concatenated and put into the prompt, or some put in some other context (e.g. system prompt). I'm trying to understand to better construct my prompts. Thanks!

According to
" autoload/vim_ai.vim (line 67)
function! s:MakePrompt(selection, instruction, config)
...
let l:delimiter = l:instruction != "" && a:selection != "" ? ":\n" : ""
return join([l:instruction, l:delimiter, l:selection], "")

first the instruction, then a line break, then the selection is appended.
In
#  py/complete.py (lines 36-39)
def chat_engine(prompt):
    initial_prompt = config_options.get('initial_prompt', [])
    initial_prompt = '\n'.join(initial_prompt)
    chat_content = f"{initial_prompt}\n\n>>> user\n\n{prompt}".strip()

the initial_prompt is prepended to this.
So the selection seems to be sent last.

Prompt that contains selection is constructed in this way: {instruction}:/n{selection}.
So in your case the prompt would be : write a letter based on this selection:/n{selection}
System prompt is possible only in chat endpoints and can be statically configured via vim_ai_chat['options']['initial_prompt']
You can also inspect all requests in the debug mode:
let g:vim_ai_debug = 0
let g:vim_ai_debug_log_file = "/tmp/vim_ai_debug.log"


Associate folders with spotify playlists properly in db

[x] update db schema
[x] update post endpoints
[x] naïvely update get endpoints
[x] change model so that tablinks are pulled folder first
[ ] style folders that have playlists
[ ] allow playlists refreshing
[x] figure out how this will be represented locally
[ ] update get endpoints to handle this
[x] figure out how this will be migrated locally (if at all)

[ ] setup zustand migrations

[ ] figure out how this will be migrated in db

[ ] data
[ ] schema

I think everything is now working, all that is left is migrating the database and migrating the zustand state


InvalidAuthenticationToken

[Enter feedback here]
I got access_token. But when I use the access_token to fetch resource of https://graph.microsoft.com/v1.0/me/ , it bad.
{"error":{"code":"InvalidAuthenticationToken","message":"Access token validation failure. Invalid audience.","innerError":{"date":"2021-08-19T09:56:27","request-id":"2560c37b-8834-4337-b120-0b7a8e8b99ff","client-request-id":"2560c37b-8834-4337-b120-0b7a8e8b99ff"}}}

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

ID: 13b44819-ed7b-84bc-f5d2-2b937029f7df
Version Independent ID: db9f8408-c234-90d0-4817-3516e5fc3ba0
Content: Microsoft identity platform and OAuth 2.0 authorization code flow - Microsoft identity platform
Content Source: articles/active-directory/develop/v2-oauth2-auth-code-flow.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

I use this library: https://github.com/Azure/go-autorest/autorest/adal

Thank you, I will retry again tomorrow.

@orestonce Sure , please let us know if you run into issues with details .

adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_resource","error_description":"AADSTS500011: The resource principal named https://graph.microsoft.com/user.read was not found in the tenant named eaea3ab7-fd6b-4cdc-b6a7-202208769ded. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.\r\nTrace ID: 36b875e7-8898-431c-a7a2-c8dfbf273b00\r\nCorrelation ID: 3bf52492-aa53-431c-b2f6-6d168d397ece\r\nTimestamp: 2021-08-20 01:04:54Z","error_codes":[500011],"timestamp":"2021-08-20 01:04:54Z","trace_id":"36b875e7-8898-431c-a7a2-c8dfbf273b00","correlation_id":"3bf52492-aa53-431c-b2f6-6d168d397ece","error_uri":"https://login.microsoftonline.com/error?code=500011"} Endpoint https://login.microsoftonline.com/eaea3ab7-fd6b-4cdc-b6a7-202208769ded/oauth2/token?api-version=1.0

You're using adal or the v1 endpoint, so you'll need to use just the url, not the /user.read part

From: orestonce @.>
Sent: Thursday, August 19, 2021 6:05:58 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Hirsch Singhal @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] InvalidAuthenticationToken (#79918)
adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_resource","error_description":"AADSTS500011: The resource principal named https://graph.microsoft.com/user.readhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgraph.microsoft.com%2Fuser.read&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641443423|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2B97Lot5YygucSBACyIhlfPDy1zNgWtiCjoQ1qpQMpTE%3D&reserved=0 was not found in the tenant named eaea3ab7-fd6b-4cdc-b6a7-202208769ded. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.\r\nTrace ID: 36b875e7-8898-431c-a7a2-c8dfbf273b00\r\nCorrelation ID: 3bf52492-aa53-431c-b2f6-6d168d397ece\r\nTimestamp: 2021-08-20 01:04:54Z","error_codes":[500011],"timestamp":"2021-08-20 01:04:54Z","trace_id":"36b875e7-8898-431c-a7a2-c8dfbf273b00","correlation_id":"3bf52492-aa53-431c-b2f6-6d168d397ece","error_uri":"https://login.microsoftonline.com/error?code=500011"}https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flogin.microsoftonline.com%2Ferror%3Fcode%3D500011%2522%257D&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641453397|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=T5fTy7knL%2FPhP8qoRP57a18y02TEo%2F6%2BLlyZfG2z4cc%3D&reserved=0 Endpoint https://login.microsoftonline.com/eaea3ab7-fd6b-4cdc-b6a7-202208769ded/oauth2/token?api-version=1.0https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flogin.microsoftonline.com%2Feaea3ab7-fd6b-4cdc-b6a7-202208769ded%2Foauth2%2Ftoken%3Fapi-version%3D1.0&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641453397|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=OG91C2obc45k0L7HrwUpzDWGAWDLzV4v1zztKsNEsk8%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F79918%23issuecomment-902354098&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641453397|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BxSsRTNoFIE2Fb0sMwP%2BEiWi0Lf9tiIbaFEDrq2Of%2FU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAMW2O62A5BOGEMU3MKLL2LT5WS7NANCNFSM5CN3URAQ&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641463348|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=p9curt5ed2OookxSpzlz1WLGy2r9Sd9lrgJKCTcA7WA%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641463348|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=6yGl5mg3yUb6za8ezJGEeqjDwVSLinl%2BdcR%2B%2BMzi3lI%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04|01|hirsin%40microsoft.com|b250a8ab592c4cde090408d96376ac0a|72f988bf86f141af91ab2d7cd011db47|1|0|637650183641473299|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WKHfjGQ%2FCjLc8BgumJwDiljvjyk0FLPeLl%2BmwlM9aZk%3D&reserved=0.

@hpsin I use the resource "https://graph.microsoft.com",  then I can refresh token success, but I use refreshed token to access , my profile it errror:
        err = spt.Refresh()
	if err != nil {
		panic(err)
	}
        accessToken := spt.OAuthToken()
	//req, err := http.NewRequest(http.MethodGet, "https://graph.microsoft.com", nil)
	//req, err := http.NewRequest(http.MethodGet, "https://graph.microsoft.com/v1.0/users", nil)
	req, err := http.NewRequest(http.MethodGet, "https://graph.microsoft.com/v1.0/me/", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("Authorization", "Bearer "  + accessToken)
	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	//fmt.Println(req.Header.Get("Authorization"))
	fmt.Println(string(data))

{"error":{"code":"Authorization_RequestDenied","message":"Insufficient privileges to complete the operation.","innerError":{"date":"2021-08-20T01:23:26","request-id":"2910a13d-3092-4139-bb41-3ebe669cdcf8","client-request-id":"2910a13d-3092-4139-bb41-3ebe669cdcf8"}}}

You can check out the documentation on permissions and consent to learn how to get consent for the APIs you want to call - https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#request-the-permissions-in-the-app-registration-portal

Oh, I success after set the application permission. Thank you very much.   @hpsin @shashishailaj


firmata: update dev->period, pwm_min_period, pwm_max_period, from ns to us

Signed-off-by: Rick Waldron<EMAIL_ADDRESS>

Thanks!


gsconnect module install nautilus-python at the same time and make Firefox ready to work with its gsconnect extension

It would be nice if nautilus-python package was install at the same time than gsconnect to be able to send file directly from Nautilus.

Actually, just installing nautilus-python throw the nixSoftware Center isn't enough...
Maybe it needs to look at this PR : https://github.com/NixOS/nixpkgs/pull/240780

No, it's enough but it should be install system wise and not only as a user.

I'm very new to nixOS world so I don't dare to make a PR to https://github.com/snowfallorg/snowflakeos-modules/blob/main/modules/nixos/gnome/default.nix
Would it be something like adding       environment.systemPackages = with pkgs; [ gnome.nautilus-python ]; ?
like :
    programs.kdeconnect = mkIf cfg.gsconnect.enable {
      package = pkgs.gnomeExtensions.gsconnect;
      enable = true;
      environment.systemPackages = with pkgs; [ gnome.nautilus-python ];
    };

GSconnect firefox extension doesn't work.
I wonder if it's not related to https://github.com/NixOS/nixpkgs/issues/47340

I tried adding nixpkgs.config.firefox.enableBrowserpass = true; to /etc/nixos/systems/x86_64-linux/snowflakes/default.nix but when I rebuild nix, it fails saying :
$ sudo nixos-rebuild switch
building the system configuration...
error:
       … while calling the 'head' builtin

         at /nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/lib/attrsets.nix:960:11:

          959|         || pred here (elemAt values 1) (head values) then
          960|           head values
             |           ^
          961|         else

       … while evaluating the attribute 'value'

         at /nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error:
       Failed assertions:
       - Your system configures nixpkgs with an externally created instance.
       `nixpkgs.config` options should be passed when creating the instance instead.

       Current value:
       {
         __toString = <function>;
         _type = "option";
         declarationPositions = [
           {
             column = 5;
             file = "/nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/nixos/modules/misc/nixpkgs.nix";
             line = 148;
           }
         ];
         declarations = [
           "/nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/nixos/modules/misc/nixpkgs.nix"
         ];
         default = { };
         definitions = [
           {
             firefox = {
               enableGnomeExtensions = true;
             };
           }
         ];
         definitionsWithLocations = [
           {
             file = "/nix/store/kz4lclkfdl06lgmbgv2avc7v7sp3zxba-zpb6ibaa70ymplga842m7pmqipngf0lz-source/systems/x86_64-linux/snowflakeos/default.nix";
             value = {
               firefox = {
                 enableGnomeExtensions = true;
               };
             };
           }
         ];
         description = ''
           The configuration of the Nix Packages collection.  (For
           details, see the Nixpkgs documentation.)  It allows you to set
           package configuration options.

           Ignored when `nixpkgs.pkgs` is set.
         '';
         example = {
           _type = "literalExpression";
           text = ''
             { allowBroken = true; allowUnfree = true; }
           '';
         };
         files = [
           "/nix/store/kz4lclkfdl06lgmbgv2avc7v7sp3zxba-zpb6ibaa70ymplga842m7pmqipngf0lz-source/systems/x86_64-linux/snowflakeos/default.nix"
         ];
         highestPrio = 100;
         isDefined = true;
         loc = [
           "nixpkgs"
           "config"
         ];
         options = [ ];
         type = {
           _type = "option-type";
           check = <function>;
           deprecationMessage = null;
           description = "nixpkgs config";
           descriptionClass = null;
           emptyValue = { };
           functor = {
             binOp = <function>;
             name = "nixpkgs-config";
             payload = null;
             type = null;
             wrapped = null;
           };
           getSubModules = null;
           getSubOptions = <function>;
           merge = <function>;
           name = "nixpkgs-config";
           nestedTypes = { };
           substSubModules = <function>;
           typeMerge = <function>;
         };
         value = {
           firefox = {
             enableGnomeExtensions = true;
           };
         };
       }

So I don't manage to know if it's the solution to make the gsconnect Firefox extension work or not.

And in config editor, setting programs.firefox.nativeMessagingHosts.gsconnect to true doesn't help...

To make that easier, I opened an issue upstream on Gnome ISO : https://github.com/NixOS/nixpkgs/issues/300577

If upstream Gnome ISO decide to install firefox the proper way, I mean like
programs.firefox = {
   enable = true;
   package = pkgs.firefox;
   nativeMessagingHosts.packages = with pkgs; [
     browserpass
   ];
 };

instead of
  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.username = {
    isNormalUser = true;
    description = "Username";
    extraGroups = [ "networkmanager" "wheel" ];
    packages = with pkgs; [
      firefox
    #  thunderbird
    ];
  };

then the gsconnect module would only have to add (on top of what it already does) gnomeExtensions.gsconnect to nativeMessagingHosts.packages like
programs.firefox = {
   enable = true;
   package = pkgs.firefox;
   nativeMessagingHosts.packages = with pkgs; [
     browserpass
     gnomeExtensions.gsconnect
   ];
 };

and gnome.nautilus-python to either environment.systemPackages or to users.users.username.packages.

Actually I might be wrong. The problem might not need to be change upstream but in icicle : https://github.com/snowfallorg/icicle/blob/8e3776886fa391473d9c5421a7334d04638cb75f/src/utils/install.rs#L559


Architecting  Flutter project using BLOC pattern

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Architecting  Flutter project using BLOC pattern
Your title should be descriptive of the article/tutorial. Be Specific. Use keyword research to gain your article higher ranking.
Use the following format as the title of the issue: [Category of Topic] Title for the article.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Introduction paragraph (2-3 paragraphs):
BLoC pattern, it is a design pattern which helps separate the presentation layer from the business logic. You learn more about it here.While using the BLoC pattern can prove to be challenging due to the setup as well as an understanding of Streams and Reactive Programming, at it’s core a BLoC is pretty simple: A BLoC takes a stream of events as input and transforms them into a stream of states as output.
Events are the input to a Bloc. They are commonly UI events such as button presses. Events are dispatched and converted to States.States are the output of a Bloc. Presentation components can listen to the stream of states and redraw portions of themselves based on the given state (see BlocBuilder for more details).Transitions occur when an Event is dispatched after mapEventToState has been called but before the bloc’s state has been updated. A Transition consists of the currentState, the event which was dispatched, and the nextState
Key takeaways:

What is BLOC Pattern?
core thing that manages the state in one place?
building a very simple app
building the app with BLOC pattern

References:

https://medium.com/flutter-community/flutter-bloc-package-295b53e95c5c.
https://medium.com/codechai/architecting-your-flutter-project-bd04e144a8f1

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

Okay sir I will.Thanks so much for the offer looking forward to meet your
expectations and beyond.
On Tue, 28 Sept 2021 at 14:20, Ahmad Mardeni @.***>
wrote:

Sounds like a helpful topic - let's please be sure it adds value beyond
what is in any official docs and/or what is covered in other blog sites.
(the articles should go beyond a basic explanation - and it is always best
to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your
article through a thorough editing review prior to submitting it for final
approval. (There are some great free tools that we reference in EngEd
resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing
EngEd articles, articles on other blog sites, or any incoming EngEd topic
suggestions (if you haven't already) to avoid any potential article
closure, please reference any relevant EngEd articles in yours. - Approved
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/3934#issuecomment-929095648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVWXVTVFGHTJBUVCVYLEWF3UEGQGXANCNFSM5ELV5LFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Reorganization of test suites for code maintainability

I am curious if there is any intention to reorganize the test suites. Right now, this seems a bit superficial, but in the long run this may have an effect on this repo's maintainability. For example, the rv32si and the rv32mi suites both have separate subdirectories called rv64si which appear not to be symlinked. This has so far caused at least one issue (#44). Given this,

why are symlinks not being used?
why do these rv64* subdirectories not exist as their own suites? I.e., why is the rv64si directory inside of rv32si, for example, not its own test suite?
why does this layer of indirection exist in the rv32* directories? Is the intention to eventually pull the rv64* tests out into their own suites?

Note: Beyond this superficial reorganization, some discussion of privileged/unprivileged test organization has occurred in #40.

Today the rv32i, rv32im, rv32imc, rv64i, rv64im are in the right shape
the others were quick ports of the riscv-isa-tests and hence too many
macros, shared use between rv64 and rv32 and many includes - and they dont
use any of the logging and assertion macros and do quite a simple signature
based don pass fail in the test - so they in fact all need restructuring to
adhere to the current as documented - they are all old style and were
included as a simple quick and easy way of seeing who good the old,
to-be-deprecated riscv-isa-tests
I think maybe we could move these badly styled ones into another directory
so they can be used. but so they don't confuse. eg:
riscv/riscv-compliance/riscv-test-suite [rv32i, rv32im, rv32imc, rv64i,
rv64im]
riscv/riscv-compliance/riscv-test-suite-work-in-progress   [rv32mi, rv32si,
rv32ua, rv32uc, rv32ud, rv32uf, rv32ui]
thanks
Simon
On Wed, Feb 13, 2019 at 1:06 AM Deborah Soung<EMAIL_ADDRESS>wrote:

I am curious if there is any intention to reorganize the test suites.
Right now, this seems a bit superficial, but in the long run this may have
an effect on this repo's maintainability. For example, the rv32si
https://github.com/riscv/riscv-compliance/tree/master/riscv-test-suite/rv32si
and the rv32mi
https://github.com/riscv/riscv-compliance/tree/master/riscv-test-suite/rv32mi
suites both have separate subdirectories called rv64si which appear not
to be symlinked. This has so far caused at least one issue (#44
https://github.com/riscv/riscv-compliance/pull/44). Given this,

why are symlinks not being used?
why do these rv64* subdirectories not exist as their own suites?
I.e., why is the rv64si directory inside of rv32si, for example, not
its own test suite?
why does this layer of indirection exist in the rv32* directories?
Is the intention to eventually pull the rv64* tests out into their own
suites?

Note: Beyond this superficial reorganization, some discussion of
privileged/unprivileged test organization has occurred in #40
https://github.com/riscv/riscv-compliance/issues/40.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-compliance/issues/45, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJrER7fXDpGF0Fsq_NV23Ul_4i0XKRTJks5vM2T2gaJpZM4a4YEX
.

--
The information contained in this electronic mail message and any
attachments hereto
is privileged and confidential information intended only for the use of the
individual or
entity named above or their designee.  If the reader of this message is not
the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this
communication is strictly prohibited.  If you have received this
communication in error
please immediately notify us by return  message or by telephone and delete
the
original message from your mail system.  Thank you.

The directory structure is pretty screwed up in my opinion.
The directories mentioned by Simon are mostly OK, though it isn't obvious that rv64i has only the unprivileged ops that exist in RV64i but don't exist in RV32i (i.e. all of the W ops).
On the other hand, all of the other rv32 tests have rv64 subdirectories inside of them, and those subdirectories should exist at the top level, not be a subdirectory. The feramework can make sure both are executed, but it would be a bit more clear if rv64i included rv32i tests (with the appropriate variable set, just as the rv32ux tests include rv64x tests (but at the wrong directory level)

This has been completely revamped under the new testformat spec  and the riscof framework matches the new directory structure (or vice versa).
I'm not sure we want to close this now or when we get to v.2 of the spec

The recent merge of tests have completely revamped the directory structure as described in the test spec, and in riscv-compliance/riscv-test-suite/README.md:

The tests suite directories have been reorganized, so I'm closing this issue. Please reopen if you think this has not been done correctly. The current directory structure should match the test spec format now.


VPL can be precompiled?

Hello, Thanks for your great work! I am trying to precompile the VPL package but got this error.
I checked the folder of "VPL/SS2dp/src/Core", and I realized the "Algorithms.jl" is missed, but it has a file called "algorithms.jl". I am not really sure if it is a bug, and I am not really sure how to fix it, as I am really new to Julia. Can you try to fix it? I will really appreciate it.
===========================================
Precompiling project...
✗ VPL
0 dependencies successfully precompiled in 38 seconds. 267 already precompiled.
The following 1 direct dependency failed to precompile:
VPL [bb250ff9-e5b1-4ad2-87ac-b577c1acaa48]
Failed to precompile VPL [bb250ff9-e5b1-4ad2-87ac-b577c1acaa48] to /home/jianchao/.julia/compiled/v1.8/VPL/jl_EqEJDY.
ERROR: LoadError: SystemError: opening file "/home/jianchao/.julia/packages/VPL/SS2dp/src/Core/Algorithms.jl": No such file or directory

Hello, Thanks for your great work! I am trying to precompile the VPL package but got this error. I checked the folder of "VPL/SS2dp/src/Core", and I realized the "Algorithms.jl" is missed, but it has a file called "algorithms.jl". I am not really sure if it is a bug, and I am not really sure how to fix it, as I am really new to Julia. Can you try to fix it? I will really appreciate it.
=========================================== Precompiling project... ✗ VPL 0 dependencies successfully precompiled in 38 seconds. 267 already precompiled.
The following 1 direct dependency failed to precompile:
VPL [bb250ff9-e5b1-4ad2-87ac-b577c1acaa48]
Failed to precompile VPL [bb250ff9-e5b1-4ad2-87ac-b577c1acaa48] to /home/jianchao/.julia/compiled/v1.8/VPL/jl_EqEJDY.
ERROR: LoadError: SystemError: opening file "/home/jianchao/.julia/packages/VPL/SS2dp/src/Core/Algorithms.jl": No such file or directory

I think I just solved this problem, I am sure it is the problem of defining the folder/file name. some of them are wrong in using the small or capital letter.

So I assume this issue is solved? From your description it looked that something went wrong with the Julia Pkg manager (sometimes it happens). Please confirm so that I can close the issue :)


Sync logouts between tabs

Logging out in one tab will now redirect back to the login page for all other tabs.
Closes #205.

Gonna fix the bug where the user still exists in the redux state, causing the header to render improperly.

@nwalters512 thoughts on just redirecting to the logout route on all other tabs instead of adding an action for clearing the current user?

@james9909 that sounds fine to me!


Format all the JSON the same way

Thanks!
I've added a .editorconfig (in a new PR) which may alleviate these things.


TypeScript error with generic component (regression in v3.2.46)

Vue version
3.2.47
Link to minimal reproduction
https://github.com/andrews05/vue-project
Steps to reproduce

Initialise a new vue project with TypeScript.
Enable experimentalRfc436 in tsconfig.json.
Define a generic type on script setup and use it in a prop.
Try to use that prop.

What is expected?
No errors should be detected
What is actually happening?
TypeScript reports an error when accessing the generic prop
<script setup lang="ts" generic="ModelType">
const props = defineProps<{
  model: ModelType
}>()
const m = props.model // Error here
</script>

Property 'model' does not exist on type 'Readonly<Omit<{ model: ModelType; }, [ModelType] extends [boolean | undefined] ? "model" : never> & { [K in keyof Pick<{ model: ModelType; }, [ModelType] extends [...] ? "model" : never>]-?: NotUndefined<...>; }>'.ts(2339)

System Info
System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 618.25 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.14.0 - ~/.n/bin/node
    Yarn: 1.22.19 - ~/.n/bin/yarn
    npm: 9.3.1 - ~/.n/bin/npm
  Browsers:
    Firefox: 109.0.1
    Safari: 16.3
  npmPackages:
    vue: ^3.2.47 => 3.2.47

Any additional comments?
The issue does not occur on v3.2.45 and earlier - it was introduced in v3.2.46.

Just stumbled upon the generics today (and am kinda excited 😄 )
Having also a trouble with the typing on the props, although they are typed correctly in the SFC template part.
It seems that the type magic in this declaration is causing some problems
(just did a quick check by replacing with export declare function defineProps<TypeProps>(): TypeProps and at least that made the prop types available in the script again 🤷)
runtime-core.d.ts -> i guess from here?
export declare function defineProps<TypeProps>(): Readonly<Omit<TypeProps, BooleanKey<TypeProps>> & {
    [K in keyof Pick<TypeProps, BooleanKey<TypeProps>>]-?: NotUndefined<TypeProps[K]>;
}>;

This should have been resolved in 3.3 beta and latest Volar already.