Real-world practical examples.

It'd be great if we can add to the docs (README) some real-world practical examples (f.e. like @rauschma's example if .filter() were part of async-csp).
Seeing the API docs may not help to know when/how to apply those APIs. Axel's example shows how to take async-csp and what it could really be good for.
In some cases, I've been trying to use async-csp to solve a problem, but ended up just removing it in favor of a Promise-only solution. I feel like async-csp can help bring clear solutions to async problems, but I'm just not entirely clear when/where yet.
If I come up with any of my own use cases, I'll make PRs with examples.
My use cases, at the moment, are all graphical-programming-related, not really server side filesystem stuff like in Axel's example where it is clear how async-csp is really helpful there when there's obviously file chunks that can be though of as async pieces that can go through a channel.

For example, in my use cases, I might want to watch the size of an object. Here's two ways to do it, with channels, and with events:
        // channels
        async watchSize ( node ) {
            this.watchingSize = true
            while ( this.watchingSize ) {
                const size = await node.actualSize.take()
                // do something with size.
            }
        }
        unwatchSize () {
            this.watchingSize = false
        }

        // events
        watchSize ( node ) {
            this.watchingSize = () => {
                const size = node.actualSize
                // do something with size.
            }
            node.actualSize.on('change', this.watchingSize)
        }
        unwatchSize ( node ) {
            node.actualSize.off(this.watchingSize)
        }

They're both roughly the same complexity, but I've opted to go with event in this case because I can coordinate them in the same tick with less performance overhead of async functions and promises.
I guess this use case isn't a good example of when to use Channel (though I like the concept of how the while loop is written, just that it is higher overhead I think).


I want to show the save button at bottom of the form how can i do this?

I want to show the save button at bottom of the form how can i do this?

change css style I think.. in .less file

change
~\Views\Templates\EntityDialog.Template.html

See here https://github.com/volkanceylan/Serenity/issues/2446


Overloading the comma operator

Why are there no other operators, such as the comma? It cannot be overloaded, but it is not in the list of operators that cannot be overloaded.

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

ID: f91d85ae-8b37-e837-a031-144571362fbb
Version Independent ID: 5ec5c397-c7c6-700c-bc36-a8dfb2396dad
Content: Operator overloading - C# reference
Content Source: docs/csharp/language-reference/operators/operator-overloading.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Good question @NikVladi
In C#, the , isn't defined as an operator. It's a punctuator.  You can see that in the latest standard on Lexical analysis-operators and punctuators.
I'll close this as an answered question.

Thank you!


document how to use argcomplete with zsh

Any objections to merging this? The CI failure is unrelated to the change, and I think it would be useful to have this documented in the README. Every time I troubleshoot zsh problems for somebody I have to dig up old issues where other people have described how they got it working. The only thing I'm not sure about is the -U flag; what does this do?

Thanks!


Property accessors for configurations in dependency blocks

Expected Behavior
dependencies {
    compile.slf4jApi()
    compile.jodd()
    testCompile.junit()
}

It other words, I suggest to generate compile and testCompile as property accessors rather than extension functions.
The old syntax could still work provided Gradle provides ...invoke(...) functions (which do not need to be generated for each project/configuration)
Current Behavior
dependencies {
    compile("slf4j:api")
    compile("jodd:log")
    compile("jodd:lagarto")
    testCompile("junit:junit")
}

Current compile and testCompile are functions, so users can't really factor out logic for cases when multiple dependencies come together.
I have seen https://github.com/gradle/gradle/issues/7649, however it is not clear how that would play in case user wants to use different exclude(...) configurations for different dependencies in a list of dependencies.
In the suggested approach user is fine to write whatever code similar to the following:
function DependencyHandler.jodd() {
  this("jodd:log")
  this("jodd:lagarto") {
    exclude("guava:guava")
  }
}

I'm not sure what should be the receiver type (to accommodate both dependency and dependency constraint). this(...) looks a bit werid as well. However my point is just to show that accessors like the following might improve Gradle API with little to no sacrifices.
val DependencyHandler.`compile`: DependencyAdderCapable get() =
    DependencyAdderCapable(this, "compile")

Context
I'm migrating a couple of projects to Gradle, and it looks like an ability to factor common dependency declarations would help.
Converting compile from extension function to property getter would probably reduce the number of generated accessors a bit since it could generate just a single accessor per configuration, and different variations of dependency notation "overloads" could be provided statically in Gradle distribution via invoke functions.
Gradle 5.4.1 generates 4 accessors for DependencyHandler, 2 for DependencyConstraintHandler, and 2 for ArtifactHandler. It is probably not an issue at all, however moving to 1-1-1 might help a bit.
Any thoughts?

This might be superseded by dependency constraints, however, generating configurations as extensions might be helpful as well.

I would consider this superseded by version catalogs and I am not sure we would want to recommend build author to extend configurations that way.
@vlsi Wdyt?

Exposing configuration accessors as properties would still reduce the number of generated accessors though.
Currently, we have 9 generated functions for every configuration:
fun DependencyHandler.`api`(dependencyNotation: Any):

fun DependencyHandler.`api`(
    dependencyNotation: String,
    dependencyConfiguration: Action<ExternalModuleDependency>
): ExternalModuleDependency

fun DependencyHandler.`api`(
    dependencyNotation: Provider<*>,
    dependencyConfiguration: Action<ExternalModuleDependency>
)

fun DependencyHandler.`api`(
    group: String,
    name: String,
    version: String? = null,
    configuration: String? = null,
    classifier: String? = null,
    ext: String? = null,
    dependencyConfiguration: Action<ExternalModuleDependency>? = null
)

fun <T : ModuleDependency> DependencyHandler.`api`(
    dependency: T,
    dependencyConfiguration: T.() -> Unit
)

fun DependencyConstraintHandler.`api`(constraintNotation: Any)

fun DependencyConstraintHandler.`api`(constraintNotation: Any, block: DependencyConstraint.() -> Unit): DependencyConstraint? =

fun ArtifactHandler.`api`(artifactNotation: Any)

fun ArtifactHandler.`api`(
    artifactNotation: Any,
    configureAction:  ConfigurablePublishArtifact.() -> Unit
)

It seems all of them could be replaced with a single property accessor + a fixed set of 9 non-generated invoke functions.


How to avoid double handling in the inputManager

I am developing a HoloLens project that has the following feature: User can use the voice command to instruct a game Object to do several things. For example, if the user says "Give me a candy", the game object will generate a candy and the total number of candies will increment by one.
I want to set the gameObject to be a global listener in the inputManager so that it can listen to the user's command without requiring user to look at it. But in the real implementation, it comes a problem. When user is indeed looking at it and saying "Give me a candy", the game object will actually generate two candies: one is handled as global listener, one is handled as the focused gameobject.
I want to prevent this scenario happening, which means when game object should be able to filter out either the global listener command or the focused gameobject command. One way I can think of right now is to unregister the game object away from the global listener queue when it becomes the focused game object and register it back when it becomes not focused game object.  But I am suspicious about the performance. Actively register/unregister a gameobject (sounds) a lot of overhead. But I am not familiar with the architecture behind it, so can anyone help me better evaluate this solution?
Or is there any other ways that are more efficient to handle this double handling problem?
Thanks in advance
DK

I just tried to implement the solution I mentioned above: Inherit the IFocusable class, implement
OnFocusEnter(){
  RemoveGlobalListener();
}
OnFocusExit(){
  AddGlobalListener();
}

The result is that, the game object cannot recognize my voice when it is the FocusedObject, but can recognize my voice when it is not the FocusedObject. This result means the ISpeechHandler can only send keyword event to global listeners. If you are not global listener, you cannot receive the event even though you are FocusedObject.
Reverting back to the initial version, (the one without IFocusable), things happen: the double handling issue disappears! But I don't think the problem is solved, let me explain:
Right now, the set up of my project is: it has two game objects, both of them are registered as global listeners. A is the candy generator game object we were talking about. B is another game object which does completely different things than A.
I observe that even though A only catch up the voice command once at a time (which is what we want!), but B will catch up the voice command twice even though I deliberately put my gaze away from B.
This result shows that: I have one global listener handle the keyword only once at a time but another global listener handle the keyword twich at a time. So there is a discrepancy in global listeners.
This makes me start to suspect the implementation inside the InputManager. I am happy that A only handle the event once now, but I just feel like getting lucky.  I wonder if someone can tell me whether my observations from the previous experiments are right or wrong.

@DKandrew do you have an example scene you can share with us?
Just make a fork of this repo and branch it with an added example scene.

Oops. I made a mistake. I set the B object to be OverrideFocusedObject in the InputManager. This can explain my two observations.
1, When A is unregistered from the Global Listener (GL), the FocusedObject will become B (since it is overridden) Therefore, the speech event cannot send to A.
2, Because B is always the FocusedObject, it will handle the input event twice. One as GL, and the other as FocusedObject. Since A is the GL and could never be the FocusedObject, it will receive the event only once.
I run an isolated test that confirms InputManager will send the input event to two objects: GLs and Focused Object. Then I implement my initial idea about avoiding doubling event handling.
OnFocusEnter(){
  RemoveGlobalListener();
}
OnFocusExit(){
  AddGlobalListener();
}

Now it works! The result is very good. I also run a memory test on my entire system and don't see any noticeable overhead which concludes that it could be a practical solution to my original question.
[Leaving this post open for several days before closing it just in case if there are any further issues]

I came across a similar problem but with the tap-gesture instead of a voice command. I used the following mechanic:
void OnInputClicked(InputClickedEventData eventData)
{
  if(eventData.Used) return;
  eventData.Use();

  // do stuff
}

@HoloFan That is also a very interesting solution. Thank you!

This should be fixed now with the latest input updates.


I want to limit number of selected items to be displayed as button label

Now in MyList object i have 50 values and when i am selecting all 50 values then all those selected 50 values are displayed as button label.
Now what i want to do is I want only 5 selected values to be displayed as button label instead of 50.
So far i have manage to do by directly editing this line in isteven-multi-select.js file on this line:
var tempMaxLabels = 5; // after
var tempMaxLabels = $scope.outputModel.length;//this was before
but can you tell me how do i do this without editing multi-select.js file???

Hi @mariapithia ,
If you read the manual properly, there's a way to set the maximum number of items to be displayed on the button.

Hello Sir
Yaa i got this working by setting the max-label property.i havent read the documentation carefully and just went on solving problem by debugging the code and all.anyways thank you so much for replying sir.


Updating link to How to Design Programs to Second Edition version

The Second edition to the book is now free on the web. It was Released on Saturday, January 6th, 2018 10:01:30pm

You should put this link as it's more recent: https://www.htdp.org/2019-02-24/ .

You should put this link as it's more recent: https://www.htdp.org/2019-02-24/ .
Also did you actually find problem sets for the second edition or just added second edition to the title ?

I just added second edition and link to title. I have not found problem sets for the second edition. Maybe it's better to leave the link as it is since it is more complete that way.

closing this pull request as the updated book does not have online problems available.


Fix xmlrpc timeout, #4843

Set timeout after socket open, for subsequent operations.
Eliminated usleep(...) in response handling loop
Updated user guide page for xmlrpc library
Signed-off-by:Master Yoda<EMAIL_ADDRESS>

@infinity0n3 Does this do the trick? There are no unit tests for xmlrpc, so could you test the change with your situation? Thanks

I can confirm that it works. Thanks!

Also, I haven't really looked into it ... is the usleep(), continue removal related to the timeout issue? No other side-effects?

As near as I can tell, the usleep() was there to introduce an artificial delay waiting for the remote I/O to complete. Setting the stream timeout is a replacement for that.

Did that myself with the commit above.
Also, referencing #4843 (apparently it being in the title doesn't work).


Prevent connecting to db when required

Background: using geocoder on Heroku with Rails 3.1. While deploying the assets:precompile rake task gets executed, loading the rails environment. At that point there is no db accessible yet, but the geocoder gem seems to attempt to connect to the db when required. The result is that the asset precompilation fails.
One can easily reproduce this by setting up a Rails 3.1 app with geocoder and configuring a non-existent production database in database.yml, then run rake assets:precompile.
I worked around this by not auto requiring and defering the geocoder railtie initialization in an initializer:
# Gemfile
gem 'geocoder', :require => false

# config/initializers/geocoder.rb
ActiveSupport.on_load :active_record do
    require 'geocoder'
    Geocoder::Configuration.cache = REDIS
end

Seems a bit smelly. Is there a better way to achieve this?
(And actually I only need the request.location part of the gem anyway, can I set that up in a better way?)

Sorry, the fix I used to resolve this issue was not good and was un-done in version 1.0.5. Please see issue 128 for details. I'll try to get everything working right with Heroku for the next major release.

Thanks for the heads-up!


Support specifying VPC ID when creating kubes

When creating a kube through ui/kubes, add an option to specify a VPC ID in which to provision the cluster

We do provide the capability currently with 2 known risks that need to be further flushed out.
https://github.com/supergiant/supergiant/blob/master/pkg/model/kube.go#L80

We have been improving this for a while and a user "carlos" in slack is even deploying to production. But we still feel like deploying into a vpc needs more vetting. We use a flag to tell SG that the VPC does not belong to it..

You must specify as many of the other options as you can when deploying into a vpc. like ip range etc..

Basically, it exists but needs vetting, and could probably use a logic pass....

User should be able to select a VPC from a list in the UI or enter a VPC number in the api.

This feature is active in 2.0


Add typos

https://github.com/crate-ci/typos is installable via binstall via QuickInstall as "typos-cli".
I am not sure what criteria is used for adding binaries directly to install-action .  Justification is this is becoming a very popular tool to use in Rust crates due to very low noise.
Also should this be called "typos", which is the binary name , or stick with the crate name "typos-cli".

Also should this be called "typos", which is the binary name , or stick with the crate name "typos-cli".

I feel calling it "typos" instead of *-cli is consistent with crate, which uses similar patterns like wasmtime and wasm-bindgen

It seems you have opened two PRs on spellchecking tools, do you need both?

We use both. typos is much better for a first pass, as it recommends correct fixes most of thev time, helping get the right spellings quickly. cargo-spellcheck runs after, then typically picks up the rest of the problems, but its recommendations are not as good, its dicts are incomplete, and whitelisting invovles the more complex myspell dic/aff format. We're also going to add cspell-cli, probably after typos but before cargo-spellcheck. And maybe LanguageTool aa a final later.


implement vcat_statesfirst

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

Comparison is base (526f192) 90.65% compared to head (421579c) 88.94%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   90.65%   88.94%   -1.72%
==========================================
  Files          16       16
  Lines         610      615       +5
==========================================
- Hits          553      547       -6
- Misses         57       68      +11

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


cargo update --breaking doesn't work like cargo upgrade -i

Problem
I was led to believe that cargo +nightly -Zunstable-options update --breaking should be a drop-in replacement for cargo upgrade -i. But it isn't. Specifically it doesn't seem to upgrade Cargo.toml unless there is a breaking change.
I use cargo upgrade to upgrade to new minor versions in Cargo.toml too. There are several reasons for this:

As I'm on the latest version when developing, I can't be sure I'm not relying on some new API that didn't exist in the version that is declared in Cargo.toml. While I believe there is some "min-version" flag to test with, I prefer to just force everything the latest. (No I don't care about LTS distros like Debian etc, not one bit, nor about people who are not on the most recent stable Rust. My MSRV is N.)
If there are any security issues in a dependency I'd also prefer to force the latest version there too.

Steps

cargo +nightly -Zunstable-options update --breaking
Notice that nothing is listed as changed
cargo upgrade
Notice how it updates dependencies in Cargo.toml as well.

Possible Solution(s)
Possibly some people want this behaviour? So maybe add yet another flag to toggle that?
Notes
The behaviour described above can be observed on https://github.com/VorpalBlade/paketkoll (revision 0747756e401d304748c7d98c432df35eef44ac97) if you need to test it out.
Version
❯ cargo version --verbose
cargo 1.79.0 (ffa9cf99a 2024-06-03)
release: 1.79.0
commit-hash: ffa9cf99a594e59032757403d4c780b46dc2c43a
commit-date: 2024-06-03
host: x86_64-unknown-linux-gnu
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.6.0-DEV (sys:0.4.72+curl-8.6.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Arch Linux Rolling Release [64-bit]

❯ cargo +nightly version --verbose
cargo 1.81.0-nightly (a515d4634 2024-07-02)
release: 1.81.0-nightly
commit-hash: a515d463427b3912ec0365d106791f88c1c14e1b
commit-date: 2024-07-02
host: x86_64-unknown-linux-gnu
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.8.0-DEV (sys:0.4.73+curl-8.8.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Arch Linux Rolling Release [64-bit]

cargo update --breaking is not a direct replacement for cargo upgrade -i.  When designing how update of breaking changes can be integrated into cargo update, we viewed --breaking as a "force" flag that will cause the requirements to change that are needed to make the update go forward.
The design was specified in https://github.com/rust-lang/cargo/issues/12425#issuecomment-1659453818 and #12425 is in general the issue for this level of design discussion.
Closing in favor of #12425.  If there is a reason for us to keep this open separately, let us know!

So there is no plan to make this a replacement? I believe this is the feedback you wanted in https://github.com/killercup/cargo-edit/issues/869
And in it's current form I see cargo update --breaking as fairly useless.
Do you want me to copy my misgivings about it across to the tracking issue as well?

As i said, the linked issue is responsible for the design and feedback should be given there. We tried to socialize this through the Internals design thread, fcp, etc to ensure timely feedback before implementation. We are close to having a full implementation and planned to do Call for Testing to get more direct feedback.
In commenting on the design, I'd recommend first read the two comments of mine at the top of the issue and tailor your feedback with those comments in mind.


Maintenance: Update main branch

Summary
Update main with latest changes from dev
Why is this needed?
branch hygiene
Solution
No response

Merged


[BUG - Release] Palworld still crashes when loading save..

https://github.com/UE4SS-RE/RE-UE4SS/issues/309#issue-2102095972
Branch or Release
Experemental Branch (xinput)
Game and Engine Version

Palworld <IP_ADDRESS>
Unreal Engine 5

Describe the bug
Game crashes anyways when there no mods installed
In previous crashing - game didn't even initialize mods. Crashing on loading process.
This time, world is kinda loads, you hear location jingle. But game still crashes. And seems like there no clear description what cause this.
 And doesn't let you launch it second time.
To Reproduce
Steps to reproduce the behavior:

Launch game
Load save
Game crash

Expected behavior
Game doesn't crash with UE4SS
Desktop (please complete the following information):

OS: Win10

Can you clarify if this is with all mods disabled ? Is this comment still accurate ?
Also, your link at the top of this issue just goes to here.

you may edit UE4SS's configuration file, set bUObjectCache to false

Sorry for long response, I wasn't in the mood to deal with the game.
I'll write a solution that worked for me
Find UE4SS-settings.ini
Go to string: GuiConsoleEnabled = 1
Change it to "0" (without quotation marks)
Then game will stop crashing with no reason.
Gonna hope i will never encounter this bug where I have to ping a developer for no good reason.

I made a tool for anyone struggling with installing these mods here:
https://github.com/Sylus1000/PalWorldUE4SSModLoader/releases/tag/v1.0


Tab bar config?

Is the tab bar in the screenshots just for showcasing? If not, could they please be shared?

It is not included with this repo as it is beyond the scope of the palette. Feel free to check my personal config for the tab bar settings tho. c:

might I suggest an improvement for the README then? would be cool if the relevant section was present in the FAQ, instead of diving through closed issues/asking again.

@andreasgrafen Thanks a lot for sharing the configs. I agree with @nekowinston that this could be linked in the README or maybe just the is issue for anybody that might be curious.

mmh, yeah. That's actually not to bad of an idea. I just would have assumed that this is self-explainatory until the question came up — my bad!
I'll add it right away. c:


net: Expose return values of default implementations of net.Addr.Network() as constants rather than hardcoded strings

Currently the default implementations of net.Addr.Network() functions in the net package return hard-coded strings representing the network type as below. This means that callers wanting to check the return value of these functions also have to hard-code these in their own code with the possibilities of typos leading to possibility of bugs.

IPAddr.Network()  : "ip"
IPNet.Network() : "ip+net"
TCPAddr.Network() : "tcp"
UDPAddr.Network() : "udp"
UnixAddr.Network() : "unix" or "unixgram" or "unixpacket"

If we expose these default return strings as package constants and have functions use the constants instead of hard-coded strings, callers can compare function return values against constants and be protected against these types of bugs. This would also be fully backwards-compatible.
A block of constants will also serve as a useful single point of reference in the documentation for these functions as currently we need to jump around the documentation to understand what each implementation returns.
Happy to work out a CL for this

CC @mikioh

@mikioh @ianlancetaylor
As i'm going into the net package sources in detail, there's a LOT of usage of hardcoded strings for network address names in the code and implementing a fix for this issue will mean probably 150+ small changes throughout the package sources - essentially replacing many uses of strings like "ip", "ip+net" or "unixgram" with constants like possibly IPAddrName, IPNetAddrName or UnixGramAddrName (perhaps we could come up with better names).
The question i have is might it adversely impact maintainability of the package to make such changes in so many places? The alternative would be to simply define an exported constant block in src/net/net.go for external use but not use the constants internally

@srinathh,
I think the returned values of Addr.Network are just for fault localization, and are not designed for the case such as "callers can compare values against constants." Please remember that we can use type assertions. So I don't see any benefit from exposing such network names as constants. Instead, from fault localization point of view, I'd like to make Addr.Network return more accurate network names like OpError; e.g., "tcp4" or "tcp6" rather than "tcp".

Yup - I understand that we can use type assertions or type switches and for what i was developing, i ended up going that route ultimately. However, I did spend some time trying to figure out how to use Addr.Network() since that seemed easier & possibly faster. If the interface is meant more for internal use/debugging, it might be better to document that explicitly in the Addr interface and ask people to use type assertions instead.
Wouldn't changing what Addr.Network returns break compatibility?


Setup all-contributors bot

@all-contributors please add @gibboj for code & ideas

@all-contributors please add @AntoineMarnat for code & idea

@all-contributors please add @gibboj  for code & idea

It's done.  Thank you for going through our issues. It's helping me to do some much needed house keeping :)

No problem, I hope I'm not getting annoying.  I'm just looking through the project to see the status and if there's anything I can contribute.


verify the date range of TRIM maps

I guessed in the metadata file that these range in dates from 1987 to 2010, but I need to verify that 2010 is correct. If not, then I'll add the correct date. If not, then I'll close this issue

These maps are being taken out


added scripts and programs link for Impurity

I've added the links to the py scripts in the md files, but it seems I can't directly push to this PR. After merging this PR I'll open another PR to add them


Built in PHP Server not respecting XDEBUG_CONFIG environment settings in yml

Hi @RobLoach. It seems the following XDEBUG_CONFIG settings are ignored when running docker-compose
# Environment variables
  environment:
    # Drupal settings
    DRUPAL_PROFILE: standard
    DRUPAL_SITE_NAME: Drupal
    DRUPAL_USER: admin
    DRUPAL_PASS: admin
    DRUPAL_DBURL: mysql://drupal:drupal@mysql:3306/drupal
    XDEBUG_CONFIG: idekey=PHPSTORM
    XDEBUG_CONFIG: remote_enable=true
    XDEBUG_CONFIG: remote_connect_back=true
    XDEBUG_CONFIG: remote_autostart=true

What is the best way to get Xdebug working when using this env? Thanks!
EDIT: I guess if these are custom env vars, there is nothing in the Dockie image to receive these XDebug ones. If so, it'd be great if some xdebug vars like this could be added, or just advice on best practice for setting them in the dockie server/image. Many thanks.

I was able to get XDebug working eventually from host machine with PHPSTORM.
I added the following to the web container ini file /etc/php5/cli/conf.d/dockie-dockie.ini
xdebug.idekey = 'PHPSTORM' xdebug.remote_enable = true xdebug.remote_connect_back = true
It would be great if this were in place either by default and / or configurable via the environment variables. In the meantime, the above may help people getting XDebug working.

These settings were added to Dockie: https://github.com/RobLoach/Dockie/pull/43


Update App Service configure-common.md for AlwaysOn response requirements

Added clarification that AlwaysOn needs to receive a 200 OK response to function fully
From conversations with Azure technical support after problems with apps being restarted prematurely and failing to re-image, we discovered AlwaysOn needs to return a 200 in order for it to be completely effective. In our scenario it was returning a 404 from / while hitting the application code, so it was keeping our apps functional but resulted in maintenance events doing the wrong thing

@cephalin
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@cephalin,
Can you review this old PR and determine whether it needs to be closed or merged?

#sign-off


Add 30 Million Sample Test

Motivation and Context
We want to be able to run an automated sample load/initial contact file test at census-like volume
What has changed

Count print file lines across all files with matching pack codes to deal with split files
Make bucket sample file name configurable in step

How to test
You can test this locally by reducing the print file size limit in print file service until it splits small files, then running the 350000 test. It should still pass but only after all the split file chunks are produced.
Links
https://trello.com/c/U9tox7yV/672-automate-30-million-sample-load-test-8

 Automate 30 million sample load test (8)


allow non-relative LOGO_TARGET_PATH

CATEGORY
Choose one

[ ] Bug Fix
[x] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Allow for non-relative LOGO_TARGET_PATH in case we want the logo path to redirect to another external site
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Codecov Report

Merging #8307 into master will decrease coverage by 5.79%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8307      +/-   ##
==========================================
- Coverage   73.53%   67.74%    -5.8%
==========================================
  Files         115      451     +336
  Lines       12396    22699   +10303
  Branches        0     2370    +2370
==========================================
+ Hits         9116    15378    +6262
- Misses       3280     7184    +3904
- Partials        0      137     +137

Impacted Files
Coverage Δ

...sets/src/explore/components/ExploreChartHeader.jsx
50% <0%> (ø)

superset/assets/src/components/Checkbox.jsx
100% <0%> (ø)

...perset/assets/src/dashboard/util/getEmptyLayout.js
0% <0%> (ø)

...ts/src/dashboard/util/getComponentWidthFromDrop.js
95.23% <0%> (ø)

.../assets/src/dashboard/reducers/dashboardFilters.js
88.23% <0%> (ø)

...rc/explore/components/controls/AnnotationLayer.jsx
2.46% <0%> (ø)

superset/assets/src/welcome/DashboardTable.jsx
87.5% <0%> (ø)

...erset/assets/src/dashboard/util/injectCustomCss.js
91.66% <0%> (ø)

...explore/components/controls/ColorPickerControl.jsx
85% <0%> (ø)

...ets/src/dashboard/components/dnd/DragDroppable.jsx
94.59% <0%> (ø)

... and 326 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 0a8f3eb...7ea2285. Read the comment docs.


improve plotting exercise example

the exercise example in 03_Plotting_distributions.ipynb. does not really make sense. You should not plot area and intensity on the same ecdf plot. Try to find an example that makes more sense (e.g. plotting area of one kind vs are of another kind as ecdf)

Hi Till @thawn ,
Yes, I totally agree! Thanks for reporting this! The description of the exercise is actually wrong. The idea was to plot both files in a same plot, but area and intensities would go separate.
In this example, the intensity ecdfs are very similar, but the area ecdfs are shifted, so it would be an interesting visual hint that areas could be different.
I will update this exercise once the course is finished to avoid Pull conflicts for the students.
Best,
Marcelo

Just fixed the exercise. 72a6aef1aec5a5c43b973708c1b21f3f5017de35


Polka does not seem to use onNoMatch if route parameters not provided

Do you want to request a feature or report a bug?
I believe this is a bug.
What is the current behaviour?
I'm building a simple API where one route retrieves some user data, any other route should direct to a 404/instruction page. Currently my setup looks something like this:
polka({ onNoMatch: sirv('assets') })
    .get('/user/:username', async (req, res) => {
        ...
    })
    .listen(PORT, (err) => {
        if (err) throw err;
        console.log(`> Running on localhost:${PORT}`);
    });

The onNoMatch handler will correctly fire for every route excluding /user and /user/x, with /user never being resolved.
What is the expected behaviour?
What I'd expect to happen is that /user would fallback to onNoMatch. /user does not match /user/:username but for some reason onNoMatch can't pick it up.
There are a few workarounds, namely making the route parameter optional and handling it myself, or adding a "catch-all" route for this situation:
polka({ onNoMatch: sirv('assets') })
    .get('/user/:username', async (req, res) => {
        ...
    })
    .get('*', async (req, res) => {
        ...
    })
    .listen(PORT, (err) => {
        if (err) throw err;
        console.log(`> Running on localhost:${PORT}`);
    });

Please mention other relevant information.
Currently using v0.5.2, but the problem persists in v1.0.0-next.11.
Edit: Though now as I continue to play around I can't get the onNoMatch to fire for anything other than /... Not sure if I broke something or it wasn't correctly working to begin with.

I totally misunderstood what sirv and the like were for. My mistake.

No problem! :D
For the record, here's how you'd do this with both versions:
polka()
  .use( sirv('assets') )
  .get('/user/:username', async (req, res) => {
        ...
    })
  .listen()

If you wanted to optimize it a little bit with polka@next, you could do this too:
polka()
  .get('/user/:username', async (req, res) => {
        ...
    })
  .use( sirv('assets') )
  .listen()

This is an "optimization" only if you have a few API routes and want to check those before searching for an asset to send.
Hope that helps!

Yeah, totally get that now.
I had made the (admittedly rather silly in hindsight) assumption that sirv, as I had it set up, would respond with the index.html file I had sat in /assets/ all of the time. Of course, this isn't the case, but that's why I was trying to use the onNoMatch option. As I had no other static assets I didn't realize the full extent of what sirv was actually doing for me here.
Simple solution was to just add a redirect in the "catch-all" I mentioned to /. Works like a charm.
But thanks for the tip, will probably use it. Cheers!


funnel task commands should have reasonable timeouts

Address by some previous PR. Unit test is here:
https://github.com/ohsu-comp-bio/funnel/blob/master/cmd/client/client_test.go#L85-L106


[Bug]: Run workflow option dialog doesn't look good in dark mode

Apache Hop version?
2.9.0-SNAPSHOT
Java version?
Java 11
Operating system
Windows
What happened?

Issue Priority
Priority: 3
Issue Component
Component: Workflows

I can't reproduce today ???

I also noticed that sometimes the top is selected and I don't know how it happens

I haven't found a way to reproduce the problem, but it happens sometimes.


Re-implement support for HAVING clause

We should also clean up the existing code for having clause as part of this effort.

Yes. That will be part of this exercise. I will work on it once we move to calcite.


Implement restriction to require minimum self-delegation

Summary
Currently there are no restrictions on the self-delegation requirement for creating a validator in the SDK, this update would add a configurable property that requires create validator requests to have a minimum level of self-delegation in place.
Problem Definition
The Cosmos SDK does not set a minimum level of self-delegation for creating validator allowing nodes to be created with zero self stake.  The argument presented was that delegators should review validators and only delegate to those with sufficient self-stake.  This justification is unpersuasive.  This feature would allow a floor to be set requiring all validators to have a minimal amount of self stake in place in order to be created.  This ensures that network penalties apply to validator operators as well as any delegators that stake with the validator.
Proposal
Create a wrapper around the existing staking module to ensure requests to create validator with less than the minimum self-stake level configured in a blockchain configuration item are rejected.
A starting point for wrapping the staking module is below:
package app

import (
	"context"
	"fmt"

	"github.com/cosmos/cosmos-sdk/codec"
	sdk "github.com/cosmos/cosmos-sdk/types"
	"github.com/cosmos/cosmos-sdk/types/module"
	"github.com/cosmos/cosmos-sdk/x/staking"
	stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
	stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
)

type stakingWrapper struct {
	base stakingtypes.MsgServer
}

var _ stakingtypes.MsgServer = stakingWrapper{}

func (w stakingWrapper) CreateValidator(goCtx context.Context, msg *stakingtypes.MsgCreateValidator) (*stakingtypes.MsgCreateValidatorResponse, error) {
	if msg.MinSelfDelegation.LT(sdk.NewInt(10000000000000000)) {
		return nil, fmt.Errorf("min self-delegation below required amount")
	}
	return nil, fmt.Errorf("disabled") // w.base.CreateValidator(goCtx, msg)
}

func (w stakingWrapper) EditValidator(goCtx context.Context, msg *stakingtypes.MsgEditValidator) (*stakingtypes.MsgEditValidatorResponse, error) {
	return w.base.EditValidator(goCtx, msg)
}

func (w stakingWrapper) Delegate(goCtx context.Context, msg *stakingtypes.MsgDelegate) (*stakingtypes.MsgDelegateResponse, error) {
	return w.base.Delegate(goCtx, msg)
}

func (w stakingWrapper) BeginRedelegate(goCtx context.Context, msg *stakingtypes.MsgBeginRedelegate) (*stakingtypes.MsgBeginRedelegateResponse, error) {
	return w.base.BeginRedelegate(goCtx, msg)
}

func (w stakingWrapper) Undelegate(goCtx context.Context, msg *stakingtypes.MsgUndelegate) (*stakingtypes.MsgUndelegateResponse, error) {
	return w.base.Undelegate(goCtx, msg)
}

// ProvenanceStaking is a wrapper over the SDK Staking module used to replace the RegisterServices implementation with our own
// version that enforces minselfdelegation checks on CreateValidator
type ProvenanceStaking struct {
	staking.AppModule
	keeper stakingkeeper.Keeper
}

// NewStakingAppModule creates a new AppModule object
func NewStakingAppModule(cdc codec.Marshaler, keeper stakingkeeper.Keeper, ak stakingtypes.AccountKeeper, bk stakingtypes.BankKeeper) module.AppModule {
	return &ProvenanceStaking{
		staking.NewAppModule(cdc, keeper, ak, bk),
		keeper,
	}
}

// RegisterServices registers module services.
func (p ProvenanceStaking) RegisterServices(cfg module.Configurator) {
	wrapped := &stakingWrapper{stakingkeeper.NewMsgServerImpl(p.keeper)}
	stakingtypes.RegisterMsgServer(cfg.MsgServer(), wrapped)
	querier := stakingkeeper.Querier{Keeper: p.keeper}
	stakingtypes.RegisterQueryServer(cfg.QueryServer(), querier)
}

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

This one is a bit more complex than it first appears and might not be required.

Given the amount of value that will be staked against the validators and a careful chain start up procedure this modification shouldn't be required.  (Based on some discussion with aleksbez from cosmos team)


Object.defineProperty methods cannot be invoked from Objective-C

Brief description
Methods declared inside a JavaScript class which are constructed using the following template:
(where MyClass is some JavaScript class extending some Objective-C class (with __extends))
Object.defineProperty(MyClass, "methodName", {
    get: function () {
        // code ...
    },
    set: function (value) {
           // code ...
    }
});

Are not accessible from Objective-C - when asked respondsToSelector the class answers with NO as if no Objective-C counterpart of said method is present at all.
Repro
I've devised a quick app in the playground to showcase the issue. The actual repro of the issue is located inside home.component.ts
Example
An example can be seen in this PR:
https://github.com/hypery2k/nativescript-urlhandler/pull/81
When inside the running application from within Objective-C native code one tries to swizzle application:openURL:options: of the application delegate and uses the following code:
-(BOOL) swizzled_application:(UIApplication *)application
    openURL:(NSURL *)url
    options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options
{
    if ([self respondsToSelector:@selector(swizzled_application:openURL:options:)])
    {
        NSLog(@"Original method exists!!");
        return [self swizzled_application:application openURL:url options:options];
    }

    NSLog(@"Original method does NOT exist!!");
    return NO;
}

Running the code shows that the delegate does not respond to swizzled_application:openURL:options: when the method applicationOpenURLOptions is defined as Object.defineProperty. This leads to inability to invoke the JavaScript method from native code.
Whereas after the change in the proposed PR the method applicationOpenURLOptions is defined as delegate["applicationOpenURLOptions"] = function () { ... } then the delegate responds correctly to swizzled_application:openURL:options: and the JavaScript method can be invoked.

Yep I believe this is also the case for me. Thanks for the explanation 👍


Broken refactor from UP032

This:
a = {'foo': 'bar'}
print('{[foo]}'.format(a))

gets changed to:
a = {'foo': 'bar'}
print(f'{a[foo]}')

Which obviously is invalid code. Perhaps this type of code should be skipped from UP032?
My ruff settings have target-version = "py37".

I would like to work on it.

I was curious why the difference here. Answer is here: https://peps.python.org/pep-0498/#differences-between-f-string-and-str-format-expressions. Apparently it is the only difference between f-strings and format!

Woah, fascinating! Thanks for sharing that, I was wondering the same thing.


Is alive ?

Hello,
Is this library still maintained ?
last commit Jan 21, 2022
last release published 2 years ago

The most alive project, but quite early, I see for now is this one: https://github.com/samuel-ziegler/vitest-cucumber-plugin
There is also this one but it seems dead also https://github.com/mainfraame/cucumber-jest

@bencomptonExcuse me, is this project still under maintenance?

Announcing the Continuation of jest-cucumber #183

My apologies to the community. This package is getting over 1M downloads per month these days, and I’m honored it has been so useful to that many devs out there. I’ve been a bad maintainer and haven’t kept this package up to date, but I will say that I’m still passionate about the DevEx this package enables and don’t want to abandon it. I’ve been away from the web development world the last couple of years and life has been especially busy, but I’ve really missed being able to use this package when doing Cucumber tests in other languages recently.
I’d really like to keep this package going, so today, I’ve taken some steps to more easily keep things up to date: I’ve enabled Dependabot, updated everything to support Jest 29, added automation for publishing packages, and created reminders for myself look at this repo at least monthly to take care of any necessary updates. I hope to do more in the future, and even expand this DevEx into other programming languages, but for now, I suppose I can at least make sure the latest version of Jest continues to be supported and any vulnerabilities are addressed at the very least.
v4.0.1 is now published to NPM for the community to enjoy.

Dear @bencompton,
I was delighted to read your message and learn of the recent updates and your renewed commitment to the package. It's wonderful to see your passion for improving the developer experience (DevEx) shine through, and I wholeheartedly support your efforts.
Please know that there is no judgment on my part regarding the maintenance hiatus; life is full and we all have our journeys. What matters is the positive impact your work has had on many developers, myself included.
With the return of active development of the package, I'm looking forward to contributing and bringing you the updates I'd envisioned. I look forward to collaborating directly on the repository and being part of its continued success.
Thank you for your dedication and for sharing v4.0.1 with the community. I wish you many more milestones!
Warm regards.

Great to hear that this package is still getting attention. Thank you for your efforts.

You made my day! I was super surprised that version 3.0.2 was appeard when I did yarn upgrade and even more when I noticed that there is 4 released. Finger crossed!


Add newtypes for {Plane,Tile}{Super,}BlockOffset

Helps ensure type safety. Plane offsets are relative to the plane, and Tile offsets are relative to the tile, with methods on TileState providing conversions.
This is an idea I had ever since I bumped into this while implementing mean block importance computation in compute_rd_cost(). While I would like to say that error would've been entirely prevented had this been in-place, it wouldn't, because in that code I extracted raw .x and .y anyway. However, I clearly needed the frame block offset and I could've figured it out by looking at the type names.
AWCY just in case (all zeros)

Coverage decreased (-0.09%) to 81.64% when pulling af8567ebfc4f424ba8343b5432b740ee6ef8bf64 on YaLTeR:block-offset-refactor into 52074d09a3563fe7c2ea0730c13ec919052b847c on xiph:master.

Addressed the comments.

It needs a rebase.

Done.


refactor(tools): Migrate VerifyPackageCurationsTask to a Kotlin script

This is a proof-of-concept migration to show how verification would work with stand-alone Kotlin scripts. Ultimately, the goal is to migrate all tools to stand-alone Kotlin scripts in order to get rid of the Gradle project that just serves as the infrastructure to run tools tasks.

@oss-review-toolkit/kotlin-devs please give this a try, and if we'll all good with this direction, I'll migrate the other tools as well.
For editing the scripts, you should be able to just open the root Gradle project in Fleet / IntelliJ to get syntax-highlighting and auto-completion.

For the record, .main.kts files to support imports (aka "includes"), see e.g. https://github.com/Kotlin/kotlin-script-examples/blob/5036d149f86ce7e485cb1cf61520e01812871595/jvm/jsr223/jsr223-main-kts/testData/import-middle.main.kts#L2.


Add support for clsx-style collection argument types

From discussion:
The more I'm thinking about this, the more I think I should include clsx in tailwind-merge. My reasons:

clsx (or its pendant classnames) is probably already included in most projects using tailwind-merge. I have copied parts of clsx and inlined it in tailwind-merge to join strings, so adding it would have almost no impact on bundle size nor runtime performance.

I find the pattern of nested conditions with arrays in clsx really nice and often miss it in tailwind-merge. Basically this:
clsx('…', someBool && ['…', anotherBool && '…'])

Prepending twMerge with clsx myself is not so nice DX-wise, even when using tailwind-merge with a custom config. It can even lead to anti-patterns.
// This feels a little weird
const twMergeInternal = extendTailwindMerge(…)
export const twMerge = (...args) => twMergeInternal(clsx(args))

// I really hope no one is doing this!
export const twMerge = (...args) => extendTailwindMerge(…)(clsx(dontDoThis!))

I think I'll give it a shot. And if it turns out not to be a good idea, I think tailwind-merge should go into the opposite direction in a v2 update and only accept a single string as argument. This way the user could choose their own string-joining lib and tailwind-merge would leave the weird middle ground it is on right now.
Originally posted by @dcastil in https://github.com/dcastil/tailwind-merge/discussions/121#discussioncomment-3369831

I definitely want to support arrays and nested arrays. I don't like objects but would probably be too opinionated not to support them.

There is additional new context in https://github.com/dcastil/tailwind-merge/issues/124, should check that out before working on this.


signature_invalid

Hey
I'm trying to generate a token, but when the user gives access to the app and returns on the callback and I execute:
$connector = new Connect;
$result = $connector->connect($_GET);

I get:
Fatal error:  Uncaught GuzzleHttp\Exception\ClientException: Client error: `GET https://oauth.intuit.com/oauth/v1/get_access_token?oauth_consumer_key=<removed>&oauth_nonce=94XOiIMxq8&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1477409108&oauth_token=qyprdDloPAuo924wDURniAFMgUFgRGigr8OpnRbJta3qRRgj&oauth_verifier=734z6xe&oauth_version=1.0&oauth_signature=PKBdCWeRGTfPF1G20%2F0unTlIEZg%3D` resulted in a `401 Unauthorized` response:
oauth_problem=signature_invalid
 in /Users/gecko/Web/Code/_work/quickbooks/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /Users/gecko/Web/Code/_work/quickbooks/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /Users/gecko/Web/Code/_work/quickbooks/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /Users/gecko/Web/Code/_work/quickbooks/vendor/guzzl in /Users/gecko/Web/Code/_work/quickbooks/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 111

Can you advice to solve this issue?
Thank you,
Gecko

It's hard to guess without seeing the entire codebase however the most common problem I face during this phase is incorrect configuration.
On Step 2, Redirection page, an oauth_token_secret will be returned by $connector->requestAccess(), you must set this value into the Configuration before running $connector->connect().
Take note, once authorised this value must be removed and replaced with a new value returned by $connector->connect().
If you're still having problem take a look at the playground:
https://github.com/rangka/quickbooks-playground

Thank you so much! That solved it! :)


Getting started shows twice...

Describe the bug
When I click Help =-> Getting Started, it first displays as a dialog, and then as an HTML page in my default browser.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Choose Help => Getting Started.
Notice dialog shows, click OK.
Notice default browser comes up with the exact same information again.

Expected behavior
I prefer the latter, because opening getting started by default for new users is IMHO not needed. Most users know to turn to the help menu for info, or press F1 which now also shows the getting started.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 Pro  20H2
Version: 2021-04-23 master

Add any other context about the problem here.

I’ll fix the bug.
Here’s the trade-off:
If display within the program, I can trap links so that I could make the network names hot and actually load the network if you clicked them. If the display is in the browser, it has a lot more flexibility.
Do you think the first feature is valuable?
From: Andre Slabber @.>
Sent: Friday, April 23, 2021 1:17 AM
To: FutureAIGuru/BrainSimII @.>
Cc: Subscribed @.***>
Subject: [FutureAIGuru/BrainSimII] Getting started shows twice... (#114)
Describe the bug
When I click Help =-> Getting Started, it first displays as a dialog, and then as an HTML page in my default browser.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Choose Help => Getting Started.
Notice dialog shows, click OK.
Notice default browser comes up with the exact same information again.

Expected behavior
I prefer the latter, because opening getting started by default for new users is IMHO not needed. Most users know to turn to the help menu for info, or press F1 which now also shows the getting started.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 Pro 20H2
Version: 2021-04-23 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/114, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7RUPY7NHSO7F5DQH53TKEUJRANCNFSM43OE76XQ.

Hi Charlie,
Hadn't thought of that, but actually, that might be useful.
On the other hand, I think there is this:

We will also have the library menu which will display them in the same order if you fix that one change you already have listed.

Most users will immediately check the box about not showing it and will never use it again.
I can look into adding registry keys in the installer that will add "Open with BrainSimII" to the right-click menu for XML files.
Nothing else comes to mind right now.

Cheers,
André
On 23 April 2021 at 17:28:13 +02:00, Charles Simon @.***> wrote:

I’ll fix the bug.
Here’s the trade-off:
If display within the program, I can trap links so that I could make the network names hot and actually load the network if you clicked them. If the display is in the browser, it has a lot more flexibility.
Do you think the first feature is valuable?
From: Andre Slabber @.>
Sent: Friday, April 23, 2021 1:17 AM
To: FutureAIGuru/BrainSimII @.>
Cc: Subscribed @.***>
Subject: [FutureAIGuru/BrainSimII] Getting started shows twice... (#114)
Describe the bug
When I click Help =-> Getting Started, it first displays as a dialog, and then as an HTML page in my default browser.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Choose Help => Getting Started.
Notice dialog shows, click OK.
Notice default browser comes up with the exact same information again.

Expected behavior
I prefer the latter, because opening getting started by default for new users is IMHO not needed. Most users know to turn to the help menu for info, or press F1 which now also shows the getting started.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 Pro 20H2
Version: 2021-04-23 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/114, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7RUPY7NHSO7F5DQH53TKEUJRANCNFSM43OE76XQ.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/FutureAIGuru/BrainSimII/issues/114#issuecomment-825736450, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6RD67ALWNZYGZDPL64MLTKGGY3ANCNFSM43OE76XQ.

Fixed just now.


Compile for another architecture than the host architecture

We should be able to provide x86_64 and aarch64 at least.

Compiling for another architecture would be great, but I think just upgrading to latest Cosmopolitan would make the binary run on aarch64.
https://github.com/jart/cosmopolitan/commit/cd27a53345205b39ac7a30b4bc1f9bfd4a84840c

Thanks, it seems very interesting indeed. I will wait a new release of cosmopolitan and upgrade esperanto with this version :+1:.

/cc @jart, as far as I understand your goal about Cosmopolitan, you advise to compile to x86_64 and use blink to run the compiled program? I would like to understand how to how to solve the initial issue when some people want to use our toolchain on Mac.

Would it help you if I cut a new release of Cosmopolitan that includes this new improvement?

Would it help you if I cut a new release of Cosmopolitan that includes this new improvement?

As you want :+1: I can just upgrade artifacts on my side. Thanks for the explanation, so Cosmopolitan is really portable now 🎉 . Again, it's an impressive work! I let this issue open as long as I did not upgrade esperanto.

As far as I can say, the last release of Esperanto includes what is required to run an application on a aarch64 CPU. So it's not a cross-compilation mechanism but a JIT transpilation from x86_64 to aarch64. We probably can close this issue when esperanto.0.0.4 has such support now. Thanks @jart for your work again.

It's also worth mentioning that the Cosmopolitan repo has support for building native aarch64 binaries too now. So there's going to be multiple paths to supporting the architecture soon!


Added new prop: keepSelectionOrder

Feature
Proposed Changes

Keep selection order in destination list

Hi @liorheber @yegor-babiy,
What do you think of this one ?

Hi @liorheber @yegor-babiy,
What do you think of this one ?

I am ok, but we need to be sure that we will cover all use cases,
@liorheber @talyak  WDYT?


Disabling core dumps. error: XDG_RUNTIME_DIR not set in the environment.

I packaged a project in ue4-full container, and run the .sh file by command "sh mygame.sh", but it failed showing:"Disabling core dumps. error: XDG_RUNTIME_DIR not set in the environment.", any help?  Thanks!

That message does not indicate a failure, that is the expected output when running a project packaged in the Shipping configuration. If your project is actually failing to start (rather than simply running successfully with no log output) then you will need to re-package it in the Development configuration (e.g. by running ue4 package Development if you're using ue4cli) and then run the shell script for the Development build to inspect its log output, which should include a crash dump.

@CoWillChen
Hello, friend, have you solved your problem? Can you share the solution？Thank you

As stated previously, this is almost certainly a misunderstanding of how the Unreal Engine behaves in a headless environment and not an actual crash. Given the lack of any further details to contradict this, I'm going to close this issue.


Implement fetchIdToken on UserRefreshClient

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
Implement the fetchIdToken method on the user refresh client, currently can not provide the UserRefreshClient as a provider to the IdTokenClient.
Describe the solution you'd like
I believe the solution would be as simple as adding the method to the UserRefreshClient, and then making sure the following payload would be sent to get an identity token.
Example
curl --verbose \
      --data client_id=OTHER_CLIENT_ID \
      --data client_secret=OTHER_CLIENT_SECRET \
      --data refresh_token=REFRESH_TOKEN \
      --data grant_type=refresh_token \
      --data audience=IAP_CLIENT_ID \
      https://oauth2.googleapis.com/token

Describe alternatives you've considered
Currently just am using this library up until i need to exchange my refresh token for an identity token. When i retrieve a valid refresh token, i then call my own method to do the exchange of refresh token -> identity token. With a custom audience set.
Additional context
I was following this guide, https://cloud.google.com/iap/docs/authentication-howto#authenticating_from_a_desktop_app when i came across the short coming.
I am willing to make the pull request in the next couple of days to fix the issue if that works for the maintainers?

Any news on this one? As mentioned in https://github.com/googleapis/google-auth-library-nodejs/issues/1543, when trying to get an OpenID token locally, it's a bit surprising to find that google-auth-library is unable to handle what seems to be a fairly simple use case.
The only workaround I've found is to use the RPC HTTP API to get a token, which in my use case, almost makes google-auth-library useless :(

@WaldoJeffers I'll find some time to work on this feature shortly. I personally want this functionality as well, but haven't had much time in recent months.

I am sorry if these words will be annoying. about 2 years the library team ignoring the issue and say there is no issue and close other opened tickets as duplicates instead of focusing on investigating it and resolving. It's a very simple use case to use my application default credentials as a user to generate an id token, don't know why something like this is not supported, it's already there in the CLI so why it doesn't exist in the SDK? Is it something very challenging to do?

@danielbankhead thank you for putting this on your radar. This would be a big help for us as well.

Thanks for your patience, the following PR will close out this feature request:

https://github.com/googleapis/google-auth-library-nodejs/issues/876


[Feature]: gsheets improve error for empty insert/update

Is there an existing issue for this?

[X] I have searched the existing issues

Summary

create a valid gsheets datasource
select operation as Insert One and entity as Sheet Rows
don't enter anything else, and run the query

Error is shown as: argument "content" is null
This error is not clear, and does not help the user to understand what they need to fix.
A bitter error would be something that points to the fields that are offered by the query form, in this case it is called Row Object: Row Object cannot be empty
Alternatively, there is another error that is shown in case I enter empty brackets {} in the row object: Expected a row object. This error is also an improvement over the current one.
Why should this be worked on?
Google Sheets datasource is frequently the first datasource used by new users because of less friction to set up some backend data. The problem above described above represents initial friction that the user faces when creating their app.

ref check this recording at 08:30

@vaibh1297 please add an estimate

Enhancement : We can use "add" instead of the word "edit" as the row object is empty.


Significant events data

Original issue https://github.com/covidatlas/coronadatascraper/issues/392, transferred here on Thursday Mar 26, 2020 at 17:58 GMT

There's a number of significant events that affect data either directly or in delayed fashion and may impact projections. Things like:

Social distancing imposed
Shelter-in-place imposed
Lockdown imposed
Testing policy change (only performed when result would alter treatment)
Mass masks use recommended/advised/required

(Transferred comment)
Yes! Is there a website that can be scraped for this? This would likely need to be done manually. Most social distancing is not neatly organized in tables like the Covid counts. Instead, news reports about when measures were put in place would need to be manually aggregated.

(Transferred comment)
This is tough information to gather and I think is currently outside of the scope of this project.
HOWEVER, if there is a source we're currently scraping that provides this data, I would accept a PR to add it into the dataset (though I'm not sure what that would look like).
I'll leave this issue open in case someone finds data and needs an issue to associate it with.

(Transferred comment)
School closures:
https://www.edweek.org/ew/section/multimedia/map-coronavirus-and-school-closures.html

(Transferred comment)

This is tough information to gather and I think is currently outside of the scope of this project.

Right, I understand that. It may be a good material for a separate repository to accumulate those events manually. I just think that the same community as this one would be interested in that data :)

(Transferred comment)

closing borders
cancelling mass gatherings above X people
cancelling domestic flights

(Transferred comment)
This spreadsheet has a number of data points for all US states and territories in one document: https://www.nga.org/wp-content/uploads/2020/03/CoronavirusStateActionsChart_26March2020.xlsx
Just to name a few:

Emergency declaration
National Guard activation
Statewide school closures
Stay-at-home orders

They update this spreadsheet daily and change the link/filename to match the current day.
Page source: https://www.nga.org/coronavirus/#federal
(At-a-Glance section directly below JHU Dashboard, link to spreadsheet and PDF)

(Transferred comment)
It's great to see these interventions organized in one document.
Heads up though: currently, it looks like the latest 4 weekdays are available and replacing the date section in the URL with dates before the 25th of March gave no results.

(Transferred comment)
Summary of 50 states:
https://www.usatoday.com/story/news/nation/2020/03/30/coronavirus-stay-home-shelter-in-place-orders-by-state/5092413002/


Add PriorityClass for fluent-bit

How to categorize this PR?

/area logging
/kind enhancement
/priority normal
What this PR does / why we need it:
Add PriorityClass for the fluent-bit
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
@vpnachev
Release note:

None

/ok-to-test


Wrong documentation for WatchIgnorePlugin

WatchIgnorePlugin
WatchIgnorePlugin has wrong documentation:
## Options

- `paths` (`[string, RegExp]`): A list of RegExps or absolute paths to directories or files that should be ignored

But it actually expects an options object with an array property paths in it as stated here:
https://github.com/webpack/webpack/blob/master/lib/WatchIgnorePlugin.js#L97
P.S. type definitions are also incorrect

The type definition doesn't follow the convention of typescript but a homemade one https://webpack.js.org/contribute/writers-guide/#configuration-defaults-and-types, I agree it's confusing.


Task07 Даниил Ушков ITMO

Пока сделал только задание 7.2.
Взял идею реализации из gpugems.
OpenCL devices:
  Device #0: CPU. 12th Gen Intel(R) Core(TM) i7-1260P. Intel(R) Corporation. Total memory: 31716 Mb
Using device #0: CPU. 12th Gen Intel(R) Core(TM) i7-1260P. Intel(R) Corporation. Total memory: 31716 Mb
______________________________________________
n=4096 values in range: [0; 1023]
CPU: 4.86667e-05+-4.71405e-07 s
CPU: 84.1644 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.036607 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.025916 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.000522667+-0.000188215 s
GPU [work-efficient]: 7.83673 millions/s
______________________________________________
n=16384 values in range: [0; 1023]
CPU: 5.13333e-05+-4.38432e-06 s
CPU: 319.169 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.026233 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.026665 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.000619+-9.83124e-05 s
GPU [work-efficient]: 26.4685 millions/s
______________________________________________
n=65536 values in range: [0; 1023]
CPU: 0.000200667+-2.4267e-06 s
CPU: 326.591 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.027872 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.023117 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.00133167+-0.000143274 s
GPU [work-efficient]: 49.2135 millions/s
______________________________________________
n=262144 values in range: [0; 1023]
CPU: 0.000919+-2.08407e-05 s
CPU: 285.249 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.027029 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.024561 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.001559+-0.000156842 s
GPU [work-efficient]: 168.149 millions/s
______________________________________________
n=1048576 values in range: [0; 1023]
CPU: 0.00416617+-0.000336837 s
CPU: 251.688 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.026559 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.02635 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.00208433+-8.20522e-05 s
GPU [work-efficient]: 503.075 millions/s
______________________________________________
n=4194304 values in range: [0; 511]
CPU: 0.0143938+-0.00057617 s
CPU: 291.396 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.029666 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.024934 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.00534583+-0.000164223 s
GPU [work-efficient]: 784.593 millions/s
______________________________________________
n=16777216 values in range: [0; 127]
CPU: 0.060415+-0.000472465 s
CPU: 277.7 millions/s
Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.028296 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

Building kernels for 12th Gen Intel(R) Core(TM) i7-1260P...
Kernels compilation done in 0.023432 seconds
Device 1
	Program build log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel <up_sweep> was successfully vectorized (8)
Kernel <down_sweep> was not vectorized
Done.

GPU [work-efficient]: 0.0374605+-0.000200591 s
GPU [work-efficient]: 447.864 millions/s

Отлично, задача зачтена, 10/10 баллов :+1:


feat: wasm module hot reload

What this PR does:
Let Layotto monitor whether the .wasm file has changed, and reload the .wasm file if there is a change.
Achieve the effect of dynamically replacing .wasm at runtime
Which issue(s) this PR fixes:
Fixes #165
Special notes for your reviewer:
I'm using https://github.com/fsnotify/fsnotify to monitor whether the specified .wasm file has changed. However I found events may be lost in some cases for the principle of fsnotify. The fsnotify is based on the file system and OS features. For example, on GNU/Linux, inotify is taking the info from the inode of the file, and not the file name. If a file is deleted and it is created again, it may have a different inode. I'm trying to watch its parent directory to deal with this case.
When using mv to overwrite the wasm file, it will remove the file first, then rename the origin file. In this case, fsnotify will lost the monitor when got remove event, resulting in subsequent failure to continue hot loading. We won't have this problem with cp.  I'm trying to solve this problem by rewatching the file when the event is remove and file still exists.
What's more, I found that mosn encapsulates wasmer but doesn't provide the ability to reload a wasm module, so currently I reload by uninstalling first and then adding, I don't think this is a good way to do it, if possible I would like someone to  expose the method by create a PR for mosn.
Does this PR introduce a user-facing change?:
NONE

I'm trying to create a PR for mosn to provide the ability to reload a wasm plugin. See https://github.com/mosn/mosn/pull/1741 for more details.
If the PR merged, we can use a more convenient method to achieve wasm reload, see https://github.com/zu1k/layotto/commit/e26d11b2fdd4484c60a4782a8fe54dd57468b8a7 for the latest changes.

Codecov Report

Merging #168 (1dc0804) into main (6ad1b9b) will decrease coverage by 2.10%.
The diff coverage is 4.93%.

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
- Coverage   45.73%   43.63%   -2.11%
==========================================
  Files          46       47       +1
  Lines        1725     1806      +81
==========================================
- Hits          789      788       -1
- Misses        886      966      +80
- Partials       50       52       +2

Impacted Files
Coverage Δ

pkg/wasm/factory.go
2.17% <0.00%> (-0.03%)
:arrow_down:

pkg/wasm/watcher.go
5.00% <5.00%> (ø)

...kg/filter/network/tcpcopy/persistence/work_pool.go
86.27% <0.00%> (-3.93%)
:arrow_down:

.../filter/network/tcpcopy/persistence/persistence.go
66.66% <0.00%> (-3.85%)
: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 6ad1b9b...1dc0804. Read the comment docs.

Cool,thanks for your contribution!
I did not expect the fsnotify library to have such flaws...

@zu1k   thank you for your contribute!


[Apple Reminders] almost a natural language prompts

Extension
http://www.raycast.com/raycast/apple-reminders
Description
Can you add support for "LIKELY" natural language prompts to the Apple Reminders extension on Raycast? For example, I used to use a similar feature in the Alfred Workflow: https://github.com/surrealroad/alfred-reminders. It would be great if I could use something like "r buy apples in three days 3 pm" to create a reminder.
Who will benefit from this feature?
Everyone who uses apple reminders
Anything else?
Yes Alfred had this work flow: https://github.com/surrealroad/alfred-reminders

Hey Raycastbot is broken, it keeps not finding the extensions!!

Checkout this script
https://github.com/raycast/script-commands/tree/master/commands#reminders
Note that it has a dependency
https://www.icloud.com/shortcuts/62a0cedf7bce488eb0bde4b8a3a8b0de

install dependency
add script to raycast
make r as alias for the script... and you get "similar" functionalities to Alfred's extension

It's not as powerful as Alfred's one. It only supports what/when -- no adding to specific lists for example.


Reduce cloning, improve I/O performance

Not extensively tested

No longer relevant, so I am closing the PR without merging


Export Inner modules

https://github.com/cristianoc/genType/issues/253

TODO:

For commonjs, use the different export convention
For Flow, the tendency is towards having all the exports type-annotated.

Both would be handled by generating the type for the exported module and pass it to EmitType.emitExportConst.

Can't merge it until there's a bs 5.2.0 Windows release. Or, merge and update the project later.


Memory

Hi!
Works very good with Japanese language but,
i have a question: every time after the generation of subtitles - there is less and less memory on the C drive. And it takes 1-2-3GB.
I would like to know where these files are located?

I think I found
C:\Users\NameOfUser\AppData\Local\Temp\
17.2 Gb ))))

Hello.
I think this issue is related to how gradio caches files when you upload them using gr.Files().
When you upload something with gr.Files(), gradio automatically stores the file in a temp folder with a hashed file name and processes it accordingly.
Unfortunately, as far as I know, there is currently no way to specify the location of this temp folder.

Related issue :
gradio #3597

I'll keep this issue open until I can specify the temp folder location.

Since this was resolved in #14, I'm closing this now. However, if a related issue arises again, please feel free to reopen it.


Putting the website together

Difficulty: Hardcore. Objectives: Make the résumé page look better, learn some HTML, CSS.
Create and checkout to develop branch — git checkout -b develop.
Create index.html and insert the snippet below in it:
`

Résumé

    ― Hello World! 😉

`
That’s right, 😉 is a Unicode code for an emoji.
Psst, please add this task to Homepage project. Oh, also convert it to an issue while you’re at it
Check git status.
Stage and commit your changes — git add index.html and git commit -m "Added index.html template"
BTW, please give your commits meaningful messages, i.e. 🤗"Updated Résumé Contacts block”.
Push your changes with git push command.
Follow the suggested link and create a pull request into main branch. Set title “First release to production”, set metadata (assignees, labels, projects). Then merge pull request.
This looks like a task too — add it to Homepage project.
Go to repository Settings and set up GitHub Pages (from the main branch), update repository description with the proper website link. Follow the link to check if everything is fine — you should see your index.html content.
Now your repository is set up!


RenderSystem class along with a View class.

I've chosen to add the build directory to .gitignore since binary files are being staged by git and those things are not really necessary, at least, I don't think so. Anyway, this PR includes the RenderSystem, a View class which should act as a 2D camera for the games and a more dynamic and templatized version of Vector and a lot of code improvements for other source files as well.

Nice, thanks a lot. Adding build directory to .gitignore is something I was planning on doing, since basically the only necessary parts of it was the .dlls on windows as well as the ttf. The ttf is no longer necessary since I don't really want to provide a default font, and we can just figure out a way to add the dlls when compiling for windows.


App crashes every time Elasticsearch returns an error

Everytime Elasticsearch returns an error (e.g. there is some non-escaped forward slash in the query which is not accepted in out of the box configuration) the return value is not a JSON but a Java Traceback.
In troubleshooting there is a note for these cases: https://github.com/inveniosoftware/troubleshooting/issues/24
Would it be better to treat non-escaped values in the application before sending to Elasticsearch? Or Capture the ValueError exception and just log it and return error or empty json?
From my point of view the second option is more flexible to allow custom ES configurations.
ES Reserved Characters here
PS: This also applies when searching, therefore I am not sure if it applies more to Invenio-Search or even Invenio-Records-Rest

Definitely, we should have some more useful errors for the user, so something like your second option where we catch the error.


Removed ADAPT

I create this PR to remove ADAPT from the benchmarks folder.

Hello @asalvadorpalau, regarding your comment, yes, I made sure that no modules were imported. Yours in WIT has its own dataset and adapter classes. Sorry for merging before commenting, accidentally clicked merge.


Reset the world - Colin Data

Portion of reset the world (#88) For colin data

This is in PR 2772 for bcgov/lear this is required for the notebook in PR #196


chore(openllm): simplified interface with new API

Depends on https://github.com/bentoml/OpenLLM/pull/518 to be released for 0.3.15
twitter handle: @aarnphm_
cc @baskaryan this is ready from OpenLLM.
Signed-off-by: Aaron<EMAIL_ADDRESS>

cc @baskaryan for a review this is now READY

kindly ask @baskaryan again

@baskaryan I have addressed all linting issues I believe

cc @baskaryan I have updated to the new refactor.

will this branch be merged?

You can install from our fork for now.

sorry for the delay @aarnphm. updated the branch and opened a pr #19894, feel free to merge that into here if it looks good to you or i can just land that pr


error code ELIFECYCLE

I am new and trying to understand why do I get lots of NPM ERR! after the tests have run. Any help would be appreciated.
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "protractor"
npm ERR! node v0.12.1
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>protractor: protractor e2e-tests/protractor.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>protractor script 'protractor e2e-tests/protractor.conf.js'.
npm ERR! This is most likely a problem with the angular-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     protractor e2e-tests/protractor.conf.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-seed
npm ERR! There is likely additional logging output above.
Does anyone know what does ELIFECYCLE mean?

Duplicate of https://github.com/angular/angular-seed/issues/254 - this is an issue with angular-seed.


Convert to  PSR-1  standard

Here is my issue fo this where you can find some my notices
https://github.com/leonn00albert/Artemis/issues/18#issue-1711754769


Is that possible to access CatalogSource with grpc TLS

Feature Request
Default port for catalogsource grpc is 50051 whitch not support TLS, and if we set catalogsource spec with address instead of image, it will use bare grpc to connect. Can we support using gprc with transport credenitals?
Is your feature request related to a problem? Please describe.
If we use ingress to expose catalogsource to other clusters to use, may need to get operator bundles from upstream catalog via tls port(like 443).
Describe the solution you'd like
Is that possible to support both grpc.WithTransportCredentials and grpc.WithInsecure when connecting to catalogsource

I agree internal cluster communication should also be secure. However I am interested in your use case of exposing the catalog grpc endpoint to other clusters via ingress. What about having the other clusters use the same catalog image with their own local CatalogSource reference?

I agree internal cluster communication should also be secure. However I am interested in your use case of exposing the catalog grpc endpoint to other clusters via ingress. What about having the other clusters use the same catalog image with their own local CatalogSource reference?

em...In my case, the outside k8s cluster can not access local harbor(caused by network policy), and if we update catalog image in local harbor, the outside catalog may not be synced.
Besides, CatalogSource offers address field, is there any best practices for it?

@sunbinnnnn yes,address exists and can be used when you don't supply image but run a grpc endpoint. This is from an older implementation when creating these images wasn't something OLM owned.

This issue is stale. Closed. Please feel free to reopen if needed.


12 delete files

solves https://github.com/FrendsPlatform/Frends.AzureDataLake/issues/12

I will add the link myself, do not worry :)


sslstrip v2 ?

Hey ;)
I didn't find in the doc (noexistent) but is the sslstrip shipped supposed to add a 'w' before all subdomains ? Because I don't see this behavior.
Also, when launching wireshark on the AP interface , when browsing https I don't see http connections, but SSL/TLS ones only.
using latest kali and packages are up to date

So SSLStrip is not running for you?

Also if you are going directly to the https site, sslstrip will not work. Try going to the domain name directly / and clearing cache from the browser.

Closing because of no reply from OP.
Please re-open if the issue is still relevant.


fix: updated example with version number

Description

add (required) version number to the example of report-affected-packages
add lint for changeset files

How to test

checkout branch
generate empty changeset, add it to staged area and run lint-staged:
yarn changeset --empty && git add .changeset && yarn lint-staged

Development checks

Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers


Installation Wizard with Serenity

Dear Volkaceylan,
It's Great framework
We have develop some application with Serenity
We would like to host it on Microsoft Web Gallery
We would like to ask user installing application for the first time to create Admin User
How to achieve this?
Many Thanks,
Sameer

I don't know much about web app installers but you can probably find some open source ones. If you are gonna ask user admin username / password, you should remove admin insert statement from initial migration and find a way to get admin username from web.config etc so you can handle permission checks in PermissionService

Thanks


.col-first and .col-last with breakpoints

Hi,
The grid is fantastic and very flexible, we love it! Unfortunately, there are no breakpoints for REVERSE, FIRST or LAST. That means that if, for example, I need columns to go side-by-side on desktop, but one over the other (in REVERSE order) on mobile, I cannot do it :(
Could you please integrate thos enice xs, sm, md breakpoints for these classes as well?
Thanks!

Done in new 2.3.7 release
You can now have <div class="col_xs-last_md-first"> for example
https://github.com/devlint/gridlex/releases/tag/2.3.7


Bloglist empty after Crash of OS

After an OS crash and system restore, my blog list is empty. I do have backup of the "index" folder and have restored that from my online backup from last night. However, the blog list is still empty. Is there a way to restore my bloglist? Which files are needed? (Note, I did not in fact, back up %APPDATA%/local I am afraid.

Your download location actually still points to the right directory? Otherwise there would be error popping up in the GUI if the blog indexes in fact were damaged.

That was it. Thank you kindly.
I am still trying to sort out what happened but it seems that this also wiped the config.
Is there anything else I should include in my backup  from now on?

In %localappdata%\TumblThree are just the settings and the queue list stored. The more important things are indeed the blog indices.
There is nothing in the registry whatsoever.

Perfect. I’m glad it was so easily resolved.


lora

I think you can make you own customer qkvLinear by adding lora weight here:
https://github.com/THUDM/FastLDM/blob/7b5f5ff44551dc44daf938ba007d7827e9ac8c6b/fastldm/modules.py#L25


Fetcher store always returns loading: true when used with svelte

When using with Svelte I noticed that the query gets stuck at loading state even after the promise fulfils.

Reproduction: https://stackblitz.com/edit/svelte-spaceymen-3i3kjn

@moaali Hey!
No bug here: you destructure the values once and instantly unsubscribe. If you want reactivity, you should pick a different syntax. The following will work:
<script>
  import {posts} from './stores/posts'

  $: ({loading, data} = $posts);
</script>

<div>
  {#if loading}
    loading...
  {:else if data}
    {data.title}
  {:else}
    error
  {/if}
</div>

In any case, I recommend getting a fresh look at Svelte's $: statement.


[Create workshop] The alignment of ‘Дні/Години’ buttons is broken on the ‘Про гурток’ section of the ‘Новий гурток’ page

Environment: Win10 v21H2 64-bit, Chrome v 101.0.4951.54
Reproducible: always
Build found: frontend: gcp-0.0.75, backend: gcp-0.0.130
Preconditions

Follow the link https://oos.dmytrominochkin.cloud/#/
Log into OoS website as SP (e.g<EMAIL_ADDRESS>'Password'="Qwerty123!")
Select «Мої гуртки» in the menu bar at the top right corner
At least 1 workshop has already been registered or not
Click on the “Додати гурток” button and fill in all mandatory fields in each section

Steps to reproduce
Check the location of all the UI elements of the "НОВИЙ ГУРТОК" page's 'Про гурток' section
Link on design - The ‘Про гурток’ section
Actual result
The alignment of ‘Дні/Години’ buttons is broken

Expected result
According to design

User story and test case links
User story #55
Test case OS-350
Labels to be added
"Bug", “UI”, "pri: low", "severity: trivial"

Verified and closed


iframes not being rendered properly

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
7.3.5
Describe the bug
iframes are not being rendered properly in Minimal Theme. This occurs in both Live Preview and Reading Mode.

Default Theme

Debug info
SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.16
Operating system: Windows 10 Pro 10.0.22621
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Minimal v7.3.5
Snippets enabled: 9
Restricted mode: off
Plugins installed: 12
Plugins enabled: 12
1: Style Settings v1.0.7
2: Wrap with shortcuts v1.3.0
3: Table Generator v1.4.1
4: File Explorer Note Count v1.2.1
5: Better Word Count v0.10.0
6: Auto Link Title v1.4.1
7: Advanced Tables v0.19.1
8: Image Toolkit v1.4.0
9: Dataview v0.5.64
10: Reading Time v1.1.1
11: Sortable v0.3.1
12: Minimal Theme Settings v7.3.0
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

@kepano is the rendering of iframes something that will be fixed? This problem exists for me in 7.5.2 as well.

Fixed in 7.5.3


Source control release process

Move release job setting and code to git repo
Only upload test results for releases
Fix #111
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Need to double check the correct of way to set password parameter GITHUB_TOKEN

Note, when update the job configuration parameter UPLOAD_TAPS_ONLY need to explicate removed, which is renamed to UPLOAD_TESTRESULTS_ONLY

Note: Path to releaseCheck.sh in here was incorrect, fixed in https://github.com/adoptium/github-release-scripts/pull/122

@sophia-guo did this ever get put into production? Looking at the refactor release job it still seems to be manually defined?

I setup a new job and tested, should be good to go though has not be put into production https://ci.adoptium.net/view/all/job/refactor_openjdk_release_tool_new/.


Add edit message support #18

This my stab at adding edit support for proxied messages for #18.

Thanks for the PR! Just tried it out, and for the most part it seems to work great. One problem I am running into is some serious command spam when editing a proxied message. I imagine this is just due to the patched function being called more than once for whatever reason, and it could probably be fixed by adding a timeout of 1-2 seconds after editing a message.

Okay, I've been able to replicate your issue and it seems that debounce doesn't solve it. (I even tried a couple different implementations). I'll have to look into it more when I find the time.


Add popups before stopping baking/delegation

Changes

Added popups before stopping baking/delegation.
Added a hook for blockchain parameters that only returns the parameters if they are version 1.

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[x] (If necessary) I have updated the CHANGELOG.

LGTM


Editing Households Throws Error

Have been unable to edit Households for the past two or three weeks. No changes to our settings. Page only shows the following error. Can provide more information for debugging on request--I'm not sure what other information would be of use. I don't have a lot to go on.
Unknown property '$ObjectType.Account.fields.npe01__One2OneContact__r'
Error is in expression '{!$ObjectType[sObjType].fields[field].dependentPicklist}' in component <apex:variable> in component npsp:util_formfield
Error evaluating dynamic reference 'npe01__One2OneContact__r.npe01__Secondary_Address_Type__c'

Tom, you have Primary Contact > Secondary Address Type in your Manage Household Custom Field Set. Remove it and the error should resolve. I responded to your Hub post here. In the future, you can just post on the Hub and if it turns out to be a bug or an issue for our developers to make changes, we can post here. Thanks!

Thanks, @judisohn! Sorry about posting here first--I never use the Hub but I'm on GitHub all the time, so it was just my first instinct.


Matlab

Den4200/hello-world#1

Closing since you've already contributed many other implementations. Others should be able to contribute as well.


Add reference to Angular2-Token to README

Add reference Angular2-Token to README for ng2 users as suggested by @booleanbetrayal in #254.

Thanks @neroniaky !

@booleanbetrayal do you think it makes sense to add the same reference to jToker and devise token auth too?


Update svelte.md github links from master to main

Changes
The github links on the svelte tutorial page still point to the outdated master branch. This leads to a confusing popup saying "This branch is 7 commits ahead, 320 commits behind main."
Testing
I clicked all the links to make sure they still work.
Docs
Yes, this updates the public documentation.

Thank you!

Thank you!

Thank you!

Thank you!


Dynamically changing tab bar title

Version

react-native-router-flux v3.37.0
react-native v0.41.2

Problem
When I am changing the language in the app, it updates the state, so the top most app's component (Root) should be updated with the new titles for tab bar. render() method is actually being called with the new titles for the tab bar, but they do not change in the tab bar - old value is being displayed. Why? It seems that there's no way to dynamically change tab bar's title.

I ran into this very issue myself, couldn't find any solution. Would love to know if this a design limitation or of there is an easy solution.
Here is the very hacky solution I came up with:

Once language has been changed I write to AsyncStorage two values: languageChangeRestart: true and language: "language_code".
Reboot/reload the app with Code Push restartApp()
Startup code checks for the existence of language and languageChangeRestart: true in AsyncStorage. If so I redirect back to the Settings screen and remove languageChangeRestart the variable from AsyncStorage.

@jonrh actually, after many hours of thinking and hacking I've found what works and that was really simple. All I needed to do, was implement FOCUS action like shown here: https://github.com/aksonov/react-native-router-flux/blob/master/docs/REDUX_FLUX.md Now everything works perfectly!

@arnsa Interesting, thanks for sharing! I'm not using Redux so this never crossed my mind.