RobotFramework portable after version 3.1.2

Version 3.1.2 has possibility to add robotframework/src/bin/ folder to PATH  variable to use RF without installation.
Folder robotframework/src/bin/ was removed in version 3.2. Is there any way to use RF on newer versions without installation? (4.x)

This ought to be covered by the installation instructions. Notice also that this issue tracker is for bug reports and enhancement requests, Slack, email, etc. listed at robotframework.org should be used for questions.

@pekkaklarck it looked for me as lost functionality that may be interpreted as defect. INSTALL.rst has just common information " it is recommended to add the locations where the runner scripts are installed into the PATH" but robot and rebot are not part of repo anymore

Did you see sections "Executing installed robot module" and "Executing installed robot directory"?

Yes, it is another way. In 3.1.2 you can call just "robot" or "rebot" or run ./test.robot. Using the approach described sections "Executing installed robot module" and "Executing installed robot directory" you cannot do this


Spring Boot cannot find the AST transformations via ServiceLoader

I think this is a Spring Boot issue but it's blocking us here, so we can keep this open till it gets fixed. The new layout for the classpath in Spring Boot 1.4 seems to make the ServiceLoader miss the entries for AST transformations (although it found the commands which is odd?). Symptoms are integration tests that work, but when you spring install the Cloud CLI extension you can't use any of the compiler ASTs it provides (like @EnableConfigServer):
$ spring run spring-cloud-cli-integration-tests/samples/configserver.groovy
startup failed:
file:/home/dsyer/dev/cloud/scripts/cli/spring-cloud-cli-integration-tests/samples/configserver.groovy: 3: unable to resolve class EnableConfigServer ,  unable to find class for annotation
 @ line 3, column 1.
   @EnableConfigServer
   ^

1 error

See https://github.com/spring-projects/spring-boot/issues/6829

Fixed now in Spring Boot, but we'll have to wait for 1.4.1 to release Spring Cloud CLI.

Closed as cli now uses boot 1.4.1


Support partitioned attribute to manage the phasing out of third-party cookies

Chrome plans to gradually phase out support for third-party cookies (3PC), starting January 4th, 2024. Initially, this will involve disabling third-party cookies for 1% of users to enable testing.
To address the deprecation of third-party cookies, one approach is using CHIPS (Cookies Having Independent Partitioned State)
CHIPS enhances user privacy and security with a novel approach. It introduces a Partitioned attribute for cookies, enabling developers to opt for partitioned storage. This creates separate cookie jars for each top-level site.

LGTM, thank you for your contribution!

Hi @eXon, thanks. I've signed my commit.

@pjchender Thank you for your contirbution! It's not released with v7.0.2


fix ipv6 support for geoip

Simple fix to support the IPv6 databases in the filter.
Fixes

https://logstash.jira.com/browse/LOGSTASH-1100

and partly

https://logstash.jira.com/browse/LOGSTASH-1124
https://logstash.jira.com/browse/LOGSTASH-2163

reworked from https://github.com/elasticsearch/logstash/pull/1350

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

@42wim sorry for dropping the ball on this. would you be able to rebase to master and rework this PR with latest changes? We should be able to merge this in

Also we need you to sign the CLA for this patch: step 2 of https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md#contribution-steps

Sorry, but at the moment, I don't have any time to spend on this.

Will be fixed via https://github.com/logstash-plugins/logstash-filter-geoip/pull/64


fix: allow gh fetch to fail when running dev server

@TomerFi WDYT of this? --serve is the flag for the dev server

sound good.


LINQ implementation chokes on interface member but not on same member in implementation

Describe the bug
Interface
public interface IDatasyncEntity
{
    string Id { get; set; }
    bool Deleted { get; set; }
    DateTimeOffset UpdatedAt { get; set; }
    string? Version { get; set; }
}

Implementation
public class ReactiveDatasyncEntity : ReactiveObject,
    IDatasyncEntity
{
    [JsonProperty("id")]
    public string Id { get; set; } = null!;

    [JsonProperty("deleted")]
    public bool Deleted { get; set; }

    [JsonProperty("updatedAt")]
    public DateTimeOffset UpdatedAt { get; set; }

    [JsonProperty("version")]
    public string? Version { get; set; }
}

Usage
private async Task SyncTableAsync<T>(IOfflineTable<T> table, CancellationToken ct)
    where T: IDatasyncEntity
{
    var deletedItemsQuery = table.CreateQuery().Where(x => x.Deleted);

    await table.PurgeItemsAsync(deletedItemsQuery, new PurgeOptions
    {
        DiscardPendingOperations = true
    }, ct);
}

This crashes with: The member 'Deleted is not supported in the 'Where' clause

at Microsoft.Datasync.Client.Query.Linq.FilterBuildingExpressionVisitor.VisitMemberExpression(MemberExpression node)
at Microsoft.Datasync.Client.Query.Linq.FilterBuildingExpressionVisitor.Visit(Expression node)
at Microsoft.Datasync.Client.Query.Linq.FilterBuildingExpressionVisitor.Compile(Expression expression, DatasyncContractResolver contractResolver)
at Microsoft.Datasync.Client.Query.Linq.QueryTranslator1.AddFilter(MethodCallExpression expression)    at Microsoft.Datasync.Client.Query.Linq.QueryTranslator1.VisitMethodCall(MethodCallExpression expression)
at Microsoft.Datasync.Client.Query.Linq.QueryTranslator1.Translate()    at Microsoft.Datasync.Client.Query.TableQuery1.ToODataString(Boolean includeParameters)
at Microsoft.Datasync.Client.Table.OfflineTable1.PurgeItemsAsync[U](ITableQuery1 query, PurgeOptions options, CancellationToken cancellationToken)
at Done.Core.Services.DataSyncService.SyncTableAsync[T](IOfflineTable`1 table, CancellationToken ct)
at Done.Core.Services.DataSyncService.SyncTablesAsync(SyncRequest request, CancellationToken ct)

This works (diffent generic constraint).
private async Task SyncTableAsync<T>(IOfflineTable<T> table, CancellationToken ct)
    where T: Model.ReactiveDatasyncEntity
{
    var deletedItemsQuery = table.CreateQuery().Where(x => x.Deleted);

    await table.PurgeItemsAsync(deletedItemsQuery, new PurgeOptions
    {
        DiscardPendingOperations = true
    }, ct);
}

What platforms?

Client (.NET, JavaScript, iOS, Android):

.NET 6
5.1.1
Windows 11

Interesting - will set up a test case for this (as it's non-obvious as to why this is happening.  I take it that the PurgeItemsAsync() is a misnomer - i.e. you can replicate with a CreateQuery.Where(...) where T is an interface, without calling anything?

  private void FooAsync<T>(IOfflineTable<T> table, CancellationToken ct)
      where T : Model.IDatasyncEntity
  {
      var deletedItemsQuery = table.CreateQuery().Where(x => x.Deleted);
  }

FooAsync(Tasks, ct);

Yep, this does not crash.

Yeah - LINQ is lazy evaluated.  When we do a PurgeItemsAsync(), we do a query.ToODataString() and then convert back to the internal representation (highly inefficient for what it does, and something we can fix in 6.0.0).  I suspect the ToODataString() which effects the JIT evaluation is not working properly.  I'll have to write some tests for it first.

The following test fails:
        [Fact]
        public void Linq_DerivedTest()
        {
            var client = GetMockClient();
            var table = client.GetRemoteTable<DerivedTestDatasyncEntity>("derived");
            var queryString = GetDerivedQuery(table);
            Assert.Equal("deleted eq true", queryString);
        }

        public static string GetDerivedQuery<T>(IRemoteTable<T> table) where T : IDatasyncEntity
        {
            return table.Where(x => x.Deleted).ToODataString();
        }

The root cause of this was in the contract resolver - the expression is a MemberExpression, but derived type get called with NodeType == Convert instead of NodeType == Parameter.  As a result, I added a second test for NodeType == Convert && member.MemberType == Property.  This seems to solve the issue.


Default apache installation

Is it not currently possible to have a default httpd instance with this cookbook? Having apache_name set to "httpd-#{instance}" can cause confusion when using the httpd binary for troubleshooting.
E.g., I was looking to verify which modules were loaded with httpd-#{instance} -M and it shows the modules loaded in /etc/httpd/conf/ and not /etc/httpd-#{instance}/conf.

The design of this cookbook is to support instanced installs.  The apache2 cookbook is probably better suited if you're looking for an out of the box single install.


THRIFT-5295 - makeThread and ThreadFactory extensible

Signed-off-by: rglarix<EMAIL_ADDRESS>
THRIFT-5295: This patch for cpp makes Thread and ThreadFactory customizable

[X] Did you create an Apache Jira ticket?  (not required for trivial changes)
[X] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[X] Did you squash your changes to a single commit?  (not required, but preferred)
[X] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Sorry, CI fails but it seems an appveyor problem still in the setup phase:
[00:01:11] downloading mingw-w64-x86_64-libevent-2.1.10-1-any.pkg.tar.xz...
[00:01:11] error: failed to commit transaction (unexpected error)
[00:01:11] Errors occurred, no packages were upgraded.
[00:01:11] Command exited with code 1
Something similar with travis, compilation of cpp was fine, I just cannot understand why it fails.

Could you give this one more try and force push, so a new CI run gets triggered?

done!


replace Dictionary with another data structure

Details in thaliproject/Thali_CordovaPlugin#1286
https://github.com/thaliproject/Thali_CordovaPlugin/pull/1286#issuecomment-253193142

low priority task. Moving to icebox


please don't use dots in your source directory names

it confuses IDEs when attempting to resolve sources to classfiles.
https://github.com/ensime/ensime-server/issues/1088

doh... it's been like this for a long time and I thought I had gotten away with it but you're right, it's bad practice.

@sstone thank you for fixing this!


Change term - dcterms:modified

Change term

Submitter: John Wieczorek
Justification (why is this change necessary?): The recommended specification for dates has been deprecated.
Proponents (who needs this change): Everyone

Proposed new attributes of the term:

Usage comments (recommendations regarding content, etc.):
"Recommended best practice is to use a date that conforms to ISO 8601-1:2019."

This is correct in the Darwin Core term list document (https://dwc.tdwg.org/list/#dcterms_modified), but seems not to have been propagated to the Quick Reference Guide (https://dwc.tdwg.org/terms/#dcterms:modified)

I will take a look at this. It may be that if it is actually in the usage field, the usage field isn't supported in the QRG. But my memory is rusty.

There must be some problem in the script that builds the term_versions.csv file because its wrong there as well. I will track it down.

This is a tricky one. From a conceptual viewpoint, it is not clear how we are handling versioning in borrowed Dublin Core terms. Supposedly, we have updated the metadata for a particular version of a Dublin Core term, but we can't actually do that - we are not DCMI. What we are actually doing is updating the TDWG usage guidelines for Dublin Core terms, but currently DwC does not support the skos:scopeNote property for usage notes as it is used in Audubon Core with borrowed terms.
The whole system for handling versions of borrowed terms is not well thought out and that's why this particular thing got broken. The rs.tdwg.org processing scripts don't really handle versioning for borrowed terms because it is so unclear how it should be done in various circumstances. In the case of borrowed Dublin Core terms, the illegitimate updating of term versions has to be done manually, which is why it got missed in this case.
Anyway, it is fixed for now, but this situation will continue to arise any time we change the metadata for Dublin Core terms. We aren't actually accurately reflecting the DCMI guidelines anyway - compare our guidelines for dc:language with https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/elements/1.1/language . But that is a problem for another day...

Fixed in https://github.com/tdwg/rs.tdwg.org/commit/bf50cfcf0b43638924496ee20e3518e6d41949f7 and https://github.com/tdwg/dwc/commit/74c7a4244120acac455c2fb8020831bb41afeb5c


Aggressive Cows Problem (Binary Search)

Please merge this PR and add the hacktoberfest-accepted label @smartytushar


Report for memory & cpu limit for all projects in openshift

Hi,
We are running openshift 3.6 env with hawkualr metrics and installed manageiq docker container.
We are able to build dashboard for projects by cpu usage, nodes by memory/cpu usage. But we are not able to get the memory usage for each projects, it is showing the memory usage for each project is 0.
Also we would like to build one dashboard for all projects which start with "abc-" where all the projects starts with "abc-" belongs one customer.
We also want to configure dashboard for memory&cpu request and limits for each project.
Appreciate your help

@sshingarapu your question would be better answered here: http://talk.manageiq.org/
Can you close this issue.


Assumes one Uploader per model. Is this correct?

From the Carrierwave::ActiveRecord module in the mount_uploader methods there is:
 self.instance_eval <<-RUBY, __FILE__, __LINE__+1
    attr_accessor   :skip_is_attached_validations
    attr_accessible :key, :remote_#{column}_net_url
  RUBY

If I am correct (I am using mongoid so I have not verified it) the attr_accessible :key would not work for two uploaders in one model?
If so, are there any other areas where this holds true?

Actually I did check - I needed to extend my Mongoid model with extend CarrierWaveDirect::Mount - then I see the key and key= methods being set on the Mongoid model instance.  I have two uploaders in it.  The second uploader redefines key and key=.
I will have to change this in a fork to:
def #{column}_key
send(:#{column}).key
end
Also perhaps putting inserting methods called 'key' into other classes has a risk of nuking or being nuked by other code.

@guyboertje - I'd like to use carrierwave_direct with mongoid as well. I suspect it's more complicated than including CarrierWaveDirect::Mount in the model, but did that work for you? I'm considering trying to add Mongoid support, unless you know of a fork that already does that.

@jaghion - It will work as is, assuming that you have an Image document (in a suitable collection) that has one Mount in it and then have references to the Image document in your other document.  It doesn't if you want to have multiple file type fields in your other document that need a mounted uploader. HTH.
We decided not to use carrierwave (and carrierwave_direct).  Instead we are uploading directly from the browser to S3.


Multiple tree sharing data

Hi,
is it possible to have 2 trees, one being a source (for example 40 non nested "nodes"), and other being destination where source nodes could be dragged into and added (copy) dynamically? Is this something possible by default or needs additional implementation?
Regards

It's not possible by default. I think it could be pulled off with some extra implementation, but I haven't ever looked into it.

Ok, I will try to implement it and I can let you know about it when its done, if you are interested.
Just one more thing, so I don't open a new issue here. Do you happen to have typescript definiton file?
Thank you.

Alright, that would be great!
I don't have a typescript definition file.

@zeljkohuber I'm also looking into this functionality, any luck so far?

@arminconscia Still working on it but doing pretty big refactoring because its pretty hard to use it as separate components so I'm going with Redux implementation.

@zeljkohuber Ahh okay, thanks for the reply, makes sense.

@zeljkohuber I was looking into solving a similar situation but gave up trying to refactor, seemed to be to big of a rewrite. I ended up going for a non drag-and-drop solution.
You say you are going with a Redux implementation, would you mind sharing further details here? :)

@larsts Main reason why I choose Redux is because I would then have separate components (source and destination tree) which would be much easier to integrate and Redux would be used for their communication. First solution I came up is creating container component (no Redux) which encapsulates both source and tree and handles their communication, but that way when you add container component in your project you don't have that much freedom of styling and moving inner components (source/dest), so I chose Redux to make that easier (another reason for Redux is because I'll need to integrate this component in angular2 application so Redux is the only way to communicate with angular2 as far as I know). The react-sortable-tree is so well written and structured that is pretty easy to make basic implementation with Redux, since all actions are already separated from the components so you just move state from component itself to Redux and reuse already implemented actions (from tree-data-utils.js) in reducers.

@zeljkohuber That all sounds very good!
And I'm sure more people than myself would be interested in having a look at the result / code when you have made it work :)

@zeljkohuber I also have a need for this issue. https://github.com/vakata/jstree handles this quite well (esp when it comes to inter-tree communication), it may be worth a look there for inspiration. What parts of your implementation are still needed?

Possible now as of 1.0.0.
https://fritz-c.github.io/react-sortable-tree/storybook/?selectedKind=Advanced&selectedStory=Tree-to-tree dragging&full=0&down=1&left=1&panelRight=0&downPanel=storybook%2Fnotes%2Fpanel


Configurable legacy prefix

The community has raised various complaints over using the term "legacy" to refer to roles. This PR makes that term configurable in the display so that the community can debate amongst themselves and change it to whatever they want when they reach a consensus.
Due to the lack of support for computed values in enums, the configurable term can't influence the paths in paths.tx, at least not until https://github.com/microsoft/TypeScript/pull/50528 is extended for strings.

NOTE: The "standalone" prefix doesn't really make sense in the context of the left nav menu. It would be better if the standalone roles and standalone namespaces fell under the "Collections" NAV and that was renamed.

NOTE: The "standalone" prefix doesn't really make sense in the context of the left nav menu.

How about

Stanadlone Roles

Roles
Namespaces

From the l10n pov, this is not so great (translating {foo} Roles separately from Standalone/Legacy is a problem in any language with a concept of gendered nouns), and we will need stable URLs at some point (note that whichever prefix we end up chosing will become an invalid namespace name for collection namespaces, beacuse of the /:namespace/:collection route).
But if we need to evolve this incrementaly with feedback, LGTM :+1:

Closing, development is moving to https://github.com/ansible/ansible-ui/


Uncaught exception with certain amount of presets

The following error occurs on a certain show file with lots of presets
Uncaught Exception: TypeError: fixtext.match is not a function     at instance.setPresetDefinitions (/Applications/Companion.app/Contents/Resources/app.asar/lib/instance_skel.js:225:16)     at instance.initPresets (/Applications/Companion.app/Contents/Resources/app.asar/lib/module/eventmaster/eventmaster.js:779:7)     at instance.retry (/Applications/Companion.app/Contents/Resources/app.asar/lib/module/eventmaster/eventmaster.js:123:7)     at cb (/Applications/Companion.app/Contents/Resources/app.asar/electron-timer-fix/index.js:129:7)     at ChildProcess.cp.fork.on (/Applications/Companion.app/Contents/Resources/app.asar/electron-timer-fix/index.js:93:5)     at emitTwo (events.js:126:13)     at ChildProcess.emit (events.js:214:7)     at emit (internal/child_process.js:772:12)     at _combinedTickCallback (internal/process/next_tick.js:141:11)     at process._tickDomainCallback (internal/process/next_tick.js:218:9)
The EM has around 100 presets with numbering such as 81.01 etc.

@JeffreyDavidsz one of the CHOICE lists is ending up a with label that is undefined.  I'm guessing CHOICES_CUES.  It's getting hung up in the processing block to pre-parse the dynamic variables.  I'll patch this exception in the core, but it might be good to figure out why a label is coming through undefined and mitigate it.

#25

Duplicate of #25


Modus Table - Make the header row sticky at the page level

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the Modus style guidelines

Proposal
Users can currently enable a vertical scroll on the table by adjusting the maxHeight parameter. When scrolling through the table, the header row remains fixed, as shown in the screenshot (https://modus-web-components.trimble.com/?path=/story/components-table--pagination&args=maxHeight:700px). However, the desired behavior is for the header to remain "sticky" even when scrolling through the entire page, as shown in the example (https://modus-bootstrap.trimble.com/examples/table-with-sticky-header-and-column/).
Current behaviour screenshot:

Expected behaviour:

Motivation and context
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
Priority
Medium
What product/project are you using Modus Components for ?
E-Builder
What is your team/division name ?
E-Builder
Are you willing to contribute ?
Yes
Are you using Modus Web Components in production ?
No response

https://modus-bootstrap.trimble.com/examples/table-with-sticky-header-and-column/ -> This behaviour should be the default.
When sticky-top flag is set, then the table should have the sticky header.

@cjwinsor we're going to begin this story now, is there any feedback on implementation?
If I'm understanding the ask, we want a way to keep headers fixed when scrolling the page regardless of the max-height setting.

@apaddock the position: sticky is the modern approach to this. It will stick to the top of whatever its scroll container is.


add apache license header

The change is already merged into the codebase: https://raw.githubusercontent.com/apache/incubator-eagle/master/README.md, please close the pull request.


i have a problem with this challenge

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor.

Purr ipsum eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

i don't know what the problem is here i have not only done what was asked i also resized my browser as asked and it still wont let me go to the next lesson so what exactly should i do now

Hi @mrctc1982, unfortunately your code is incorrect. Read through the instructions again and if you still need help, visit the forum or the Help chat room.
Remember that issues are for reporting bugs with the challenges and website, so when your code doesn't work you should ask for help in the forum or chat before raising an issue.
Happy coding!

OK thank you I will review my code sorry I inappropriately opened a ticket


Cleaning up our Makefile.

-) Adding question marks to important tools so they can be overriden from environment variables.
-) Removing all traces of -ldl since BoringSSL doesn't implement OpenSSL's DSO and doesn't require it.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This one has been fixed and is ready for review / merge.


Add test support for Arm64

This PR adds ARM64 job to nightly.yaml file.
Modified files .github/workflows/tests-nightly.yaml for running the test for arm64 platform.
Signed-off-by: odidev<EMAIL_ADDRESS>

Hi, the nightly tests have been disabled for a while as they are superseded by our other test workflows, and we are going to remove this file entirely in the near future.
I'm not quite clear on what the need is here, mind to clarify? Depending on the answer I may be able to help redirect to the right place where to add the changes.

As we have added arm64 job in the GHA, we are trying to check if nightly tests are supported on arm64.

I'm still not quite clear on what we're testing here, the code seems to only run helm template. Am I missing something? How is it related to the nightly tests above, which used to run on GKE clusters and run stress/performance tests from the repository?

I tried to add GKE-test-clusters for arm64 in nightly.yml but the image of gke-test-cluster is available for x86 only. While trying to build the image for arm64 I found that it's an archived repo.
Repo link: https://github.com/isovalent/gke-test-cluster-operator
Could you please share your feedback regarding this.

Yes, this is part of a larger operator-based GKE infrastructure that we stopped supporting, hence why the nightly tests are disabled and will be dropped in the future.
If the goal was only to enhance the nightly tests with arm64 support, I think we can close the PR and not worry anymore about this, as we don't plan on adding it back.

@nbusseneau, thank you for the information, it was really helpful.


Added http background traffic

Please review my codes, changes have been marked with !! on the comments

Please update the README documenting the background traffic.  Also, please provide an example in the README.  Finally, please add test cases.  Otherwise, looks much better.


Accept updated fields only in update methods

In sentinel defender-sentinel-client, the update method is currently invoked with the id and a complete CreateSentinelRequest object.
However, the only data it actually requires are the id and the specific fields to be updated. This would be a simpler API for consumers to utilize and it should be straightforward to make backwards compatible (as the full CreateSentinelRequest object is still a valid input).
With this way, a sentinel could be updated with simply:
await client.update('foo', { paused: true })

There may be other packages that have similar APIs and these should probably all be in line with each other.

Fixed by https://github.com/OpenZeppelin/defender-client/pull/84

That's some quick work! Many thanks @shahnami


node: per-commit membench runs in Hydra

We want the membench to run for each node commit.
@cleverca22 is the core implementor for this.

Closing this. If this is still relevant please reopen.


error on start with yarn: -a is required

On macos:
Using the example command from the README:
yarn start -f 4240705 -a  0x2c974b2d0ba1716e644c1fc59982a89ddd2ff724 -n "http://localhost:8545" -l "info"

this error is thrown:
-a or --address is required
Error: -a or --address is required

That is an interesting problem because in my terminal this exact command works,
Can you try
yarn start -f 4240705 -a "0x2c974b2d0ba1716e644c1fc59982a89ddd2ff724" -n "http://localhost:8545" -l "debug"
Just to see what you get.

it's the same then. It works with .watch.yml.

Just for reference, this is the complete stacktrace:
-a or --address is required
Error: -a or --address is required
    at validateParamter (/Users/alex/dev/granache/smart-contract-watch/dist/command.js:72:11)
    at exports.default (/Users/alex/dev/granache/smart-contract-watch/dist/command.js:140:16)
    at /Users/alex/dev/granache/smart-contract-watch/dist/index.js:91:67
    at Generator.next (<anonymous>)
    at step (/Users/alex/dev/granache/smart-contract-watch/dist/index.js:31:191)
    at /Users/alex/dev/granache/smart-contract-watch/dist/index.js:31:437
    at Promise (<anonymous>)
    at /Users/alex/dev/granache/smart-contract-watch/dist/index.js:31:99
    at main (/Users/alex/dev/granache/smart-contract-watch/dist/index.js:118:18)
    at Object.<anonymous> (/Users/alex/dev/granache/smart-contract-watch/dist/index.js:122:1)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3

hey @ice09 I tested it on my mac and its working fine, are you sure that you are using the last version from master?

yes, last version from master. But don't mind, if the error is in my installation, since it works with the config file, I don't mind.


Bump up DJL version to 0.25.0

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Attention: 1376 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (be1469d) 72.05%.
Report is 893 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2809      +/-   ##
============================================
- Coverage     72.08%   72.05%   -0.04%
- Complexity     5126     7100    +1974
============================================
  Files           473      702     +229
  Lines         21970    31683    +9713
  Branches       2351     3284     +933
============================================
+ Hits          15838    22830    +6992
- Misses         4925     7290    +2365
- Partials       1207     1563     +356

Files
Coverage Δ

...ava/ai/djl/inference/streaming/StreamingBlock.java
100.00% <100.00%> (ø)

api/src/main/java/ai/djl/metric/Dimension.java
100.00% <100.00%> (ø)

api/src/main/java/ai/djl/metric/Unit.java
100.00% <100.00%> (ø)

api/src/main/java/ai/djl/modality/audio/Audio.java
100.00% <100.00%> (ø)

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...ava/ai/djl/modality/cv/output/DetectedObjects.java
96.29% <100.00%> (+1.29%)
:arrow_up:

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <100.00%> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...i/djl/modality/cv/transform/RandomResizedCrop.java
94.11% <100.00%> (+5.22%)
:arrow_up:

... and 226 more

... and 372 files with indirect coverage changes

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


fix: remove load more observer on destroy

Closes #128

forced pushed with no changes to re-trigger the build because it was stuck.


You can't select new (same) files to upload second time

I can choose files the upload by clicking the "Select Files" button, even it returns this error in console:
Error: $apply already in progress
    at Error (native)
    at g (http://localhost:61220/umbraco/lib/angular/1.1.5/angular.min.js:87:165)
    at Object.e.$apply (http://localhost:61220/umbraco/lib/angular/1.1.5/angular.min.js:92:362)
    at HTMLDivElement.<anonymous> (http://localhost:61220/umbraco/lib/angular/1.1.5/angular-mobile.js:269:13)
    at HTMLDivElement.x.event.dispatch (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:10:11778)
    at HTMLDivElement.y.handle (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:10:7906)
    at Object.x.event.trigger (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:10:10751)
    at HTMLInputElement.<anonymous> (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:10:17513)
    at Function.x.extend.each (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:4:5466)
    at x.fn.x.each (http://localhost:61220/umbraco/lib/jquery/jquery-2.0.3.min.js:4:1905)

after it has finished the process I can't choose to upload the same files or files - they have to be different or I should refresh the page. However it is possible to choose the same file(s) to upload again via drag & drop. Even you usually don't upload same image mulitple times, it should still be possible and in that case just name the copies like: "My Image" (first upload), "My Image (1)", "My Image (2)", "My Image 3" ... etc, which it also does with drag & drop upload.

Hi, that should be fixed.


Add globalPrefix option to BullBoardModuleOptions

This PR fixes an issue when using app.setGlobalPrefix('/api/v1') in NestJS. When only using the route option, specifying  /queues as the route, the index page would properly load at /api/v1/queues, but all assets would be loading from /queues/... instead of /api/v1/queues/... which would then fail.

Hi, thank you for your contribution.
I'm not sure why do you need this additional parameter, if you concat it? Why not change the route, to contain the entire prefix? (Noob question)

Hi, thank you for your explanation, I'm not sure, can we derive (get) this global value somehow? It doesn't make sense that you as a consumer need to know about the usage of this globalPrefix.

@felixmosh Hmm, putting it as an option feels like a double declaration (since you already declared it in your NestJS app), It would be nicer to have the module to automatically recognise the global prefix.
Let me check if that's actually possible...

@felixmosh @SimonRosenau seems like I can grab the globalPrefix variable in NestJS directly from ApplicationConfig.
I can't edit @SimonRosenau his PR, let me open a new one.
Thank you for addressing this issue! @SimonRosenau !

@DennisSnijder Thanks for taking this over! 🙌


[xr] - Fix headset position when teleporting

This PR fixes a few small issues I noticed with <Headset> and useTeleport, especially when used together:

I previously set <Headset> to sync with the base reference space that the user is when the immersive session starts. The problem with this is that if a user teleports the reference space changes, and the component will be in an accurate space once a teleport occurs. <Headset> now uses the most up-to-date reference space.
There are use cases for syncing <Headset> to the current camera before an immersive session starts, so I added an opt-in <Headset syncCamera> prop. Curious if you would change anything about this!
I changed teleport so that it eagerly gets the original reference space instead of waiting for a store value. This fixed an issue where teleporting wasn't working if done immediately after an immersive session starts.

Thanks @michealparks, I would suggest to make syncCamera just the default behaviour and remove the prop. It seems logical to me. A note in the docs is all it needs 👍
The rest looks good to me 🚀

@grischaerbe That makes sense! I was initially on the fence but I think you're right, will update!

@grischaerbe Updated!


[Bitchute] ERROR: unable to download video data: HTTP Error 401: Unauthorized

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running yt-dlp version 2021.07.07
[x] I've checked that all provided URLs are alive and playable in a browser [ANY]
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE
[debug] Command-line config: ['--verbose', 'https://www.bitchute.com/video/ANY/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.06.23
[debug] Python version 3.9.6 (CPython 64bit) - Linux-5.12.14-arch1-1-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[debug] [BitChute] Extracting URL: https://www.bitchute.com/video/ANY/
[BitChute] ANY: Downloading webpage
[BitChute] ANY: Checking video URL
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] ANY: Downloading 1 format(s): 0
[debug] Invoking downloader on "https://seed305.bitchute.com/ANY/ANY.mp4"
ERROR: unable to download video data: HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File "~/.local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2672, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "~/.local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2335, in dl
    return fd.download(name, new_info, subtitle)
  File "~/.local/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 385, in download
    return self.real_download(filename, info_dict), True
  File "~/.local/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 366, in real_download
    establish_connection()
  File "~/.local/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 118, in establish_connection
    raise err
  File "~/.local/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 112, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "~/.local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3089, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized

Description

WRITE DESCRIPTION HERE
When downloading multiple videos from Bitchute at once, sometimes 401 Unauthorized is result, which triggers errors in yt-dlp. After waiting until previous videos download successfully and trying again, Bitchute no longer shows 401, and the video downloads successfully without errors.

Also see this separate issue: https://github.com/yt-dlp/yt-dlp/issues/376#issuecomment-881267841

When downloading multiple videos from Bitchute at once

yeah don't do that, they might be rate limiting you.

Bitchute doesn't let you play 2 videos at the same time, even in browser


Exposing localPlayer.lua

This file has 140 local variables, and 40 local functions 🐙
These are the fields I would like exposed, at a minimum. All fields actually do something when set directly, so they are good candidates:

maxDistanceFromClosestSapien
maxPlayerHeight
speedIncreaseFactorAtMaxHeight
playerHeightMeters

Thanks for looking into this :)

I've exposed the first 3 in beta7, but playerHeightMeters probably isn't what you're wanting to change here, and could be a bit more tricky, so I'll leave that one for now. I also suspect we would need to expose a whole lot more to really allow good modding of this module. It might be better to shadow all of the main methods, basically copy and paste the whole file and make the changes you need that way.


The application was unable to start correctly (0xc000007b)

I looked up the problem and updated my Microsoft Visual C++ 2015 Redistributable both x64 and x86. It won't open after, telling me the same thing as in the headline.
Assist please.

Some troubleshooting questions:

Does this issue occur with both the installed and portable version of Syncplay 1.6.8? https://syncplay.pl/syncplay-1-6-8/
Does this issue occur with Syncplay 1.6.7? https://syncplay.pl/syncplay-1-6-7/
Does installing the latest version of the .NET Framework 4.8 fix the issue? https://dotnet.microsoft.com/download/dotnet-framework

After updating my Windows I ran Syncplay v.1.6.7 both the installer and
portable version and the error came back of "The application was unable to
start correctly (0xc000007b).
With Syncplay v.1.6.8, a different error occurs for each(installer and
portable version) but both are related to log files as seen in the
attachments below.

Okay, I've created two different builds from my own machine. Please test them and let me know if they work:

https://github.com/Et0h/syncplay/releases/download/168test/Syncplay-168-Test1.zip
https://github.com/Et0h/syncplay/releases/download/168test/Syncplay-168-Test2.zip

Sorry to disappoint but the error is recurring; "The application was unable
to start correctly (0xc000007b)"

For me this happened when I deleted Microsoft Visual C++ 2017 Redistribute

Thanks for letting us know as it can help others debug the issue if they come across it.

@Et0h Actually what fixed for me was was installing Microsoft Visual C++ 2017 Redistribute x86 (not x64) since I guess the Syncplay I have is 32 bit.


Docs: Tips & Tricks on Building Web Components

Jira
TBD
Summary
Document tips and tricks when building Web Components in Bolt.
Details
Breakdown on tips and tricks / gotchas to keep in mind.
Reviewer Questions

Are these helpful? Make sense? Are we missing anything here? Any suggestions on improving these docs?

@danielamorse did you want to take a look at this before we merge this in?

PR was released with v2.8.4-canary.bde01a443.0

PR was released with v2.9.0


Add login flow example reference in the docs

Some people have asked for a login flow example before, and @tinavanschelt has a great example- so I reference that in the docs under Redux.
See #2031
I requested review from a couple of new members, so whomever gets to it first 😄

Coverage remained the same at 100.0% when pulling ae347abd0dc3f66eafcf751a2f8a43308f8e3006 on gretzky:login-flow-example into bc94db35884e90cb0fbe4358c4987a360a2bff4a on react-boilerplate:dev.


PICO-ETM interaction: this feature should also be available when language is set to English

Currently this feature is only available when language is set to Dutch.
I understood from @redekok that this is done intentionally because the language of PICO is Dutch.
However, I reckon some of the Dutch users use ETM with language set to English. It would be a pity if they miss this nice feature!
I therefor propose to enable this feature when language is set to English. We can add a warning that the feature itself is in Dutch. For example like this:

However, I reckon some of the Dutch users use ETM with language set to English. It would be a pity if they miss this nice feature!

I agree, I'm in favour of your suggestion!

Closing this issue.
I implemented the change shown above. Please re-open or open a new issue when you disagree.


Pass default_filter properly to ImGuiTextFilter constructor

This parameter was unused which resulted in a compiler warning:
warning: third-party/cimgui/cimgui/cimgui.cpp: In function ‘ImGuiTextFilter* ImGuiTextFilter_Create(const char*)’:
warning: third-party/cimgui/cimgui/cimgui.cpp:1611:71: warning: unused parameter ‘default_filter’ [-Wunused-parameter]
warning:  CIMGUI_API struct ImGuiTextFilter* ImGuiTextFilter_Create(const char* default_filter)

thank you for your contribution


Makes Java-Application configurable

now you can configure the java-application with a config-file (database + httpserver)

there is the possibility to use the local for develoment purposes config-file

there is also the possibility to use a deployment config-file for CI (file-path must be passed via java-program argument)

there is the possibility to use a own config-file (file-path must be passed via java-program argument)

i created this feature as help for the sprint-item for Benjamin Fischer (sprint ID=8 -> CI/CD Infrastructure)

testmessage (for our slack-bot)

Nice, looks fine to me! Feel free to merge :+1:


VisualizerObjectSource should return a Response for better exception handling

... instead of an arbitrary serialization model.
Currently, if there's an exception on the debuggee side, TransferObject and presumably other methods on VisualizerObjectSource will return null.
The idea is to create a Response class that would have information about exceptions. Since exceptions cannot be assumed to be serializable, we'd need another class ExceptionData to hold information about the exception -- message, type name, stack trace. (Alternatively, for custom exception types, we might want to serialize to JSON or something similar; we'd still have to figure out how deep to serialize.)
Our custom VisualizerObjectSource could return a Response, and if there's an exception, the ExceptionData. The same mechanism could be used for exceptions while loading assemblies.
On the debugger side, we'd need a special window to display information about the exception. Ideally the same window could be used to show details about a debugger-side exception, and allow copying/pasting debug information into a GitHub issue.

For exceptions thrown while building the response to TransferObject, Visual Studio shows the following message:


Which keycloak version is recommended for django-keycloak integration?

It's tested with keycloak 3.4 however that's not the newest version anymore. You can try with newer versions however I understood that there is an API deprecated and there is a change in handling the OpenID AUD.
On Mon, Feb 10, 2020, at 6:44 PM, Erwin Feser wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Peter-Slump/django-keycloak/issues/35?email_source=notifications&email_token=AANVAX3TKTKBRB43KDYX5ZDRCGHBRA5CNFSM4KSSTN22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMKOX4Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANVAXYBFBU3554Y643NAP3RCGHBRANCNFSM4KSSTN2Q.

I am working on using this plugin to integrate Keycloak jboss/keycloak:9.0.0 (Docker) with PIP django-keycloak==0.1.1 . And things seems to be working fine.


Prepare certifed NetBeans Plugin Portal Release

http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/index.html

nbm:nbm

If you need help, how to sign a maven-based nbm, then tell me. I did it several times for my plugins.
I also updated the documentation in the wiki recently http://wiki.netbeans.org/DevFaqSignNbm#Can_I_sign_Maven_based_NBMs_I_create.3F

Hey @markiewb, thanks for offering your help it is definitely needed. We have read that in order to publish to the NetBeans Plugin Portal it is needed that the code runs on Java 8 & Java 7. Is that right? Because at the moment this plugin here only works with Java 8.

it is needed that the code runs on Java 8 & Java 7.

It's correct if we would like to provide the plugin via PP Update Center (need verification). Because Java 7 is required in NetBeans 8.1 yet. If we just publish it there, no problem :)
Perhaps, I think we can provide this plugin on PP after the next NetBeans version(NB8.2) is released.


[question] equivalent of curses chgat

In curses one can change the attributes of a whole line (with num -1) with chgat.
I've a x amount of columns with text / icons in a filemanager like application. I want to highlight/ reverse the whole line of the cursor position. With curses I would use chgat. Is there similar functionality in tcell?
Edit: I'll try to use textbar from views.
https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/attrib.html#CHGAT
Python curses:
window.chgat(y, x, num, attr)
Set the attributes of num characters at the current cursor position, or at position (y, x) if supplied. If num is not given or is -1, the attribute will be set on all the characters to the end of the line. This function moves cursor to position (y, x) if supplied. The changed line will be touched using the touchline method so that the contents will be redisplayed by the next window refresh.

https://docs.python.org/3/library/curses.html#module-curses

I don't think adding this API to tcell (which is mostly focused with individual character cells) is a great idea.
Conversely, there are higher level APIs where this makes excellent sense.  Are you using the views framework?  Maybe that would be a good place to add it.

So I'm going to close this as a duplicate of #107 and good news, I intend to do it in the next release.  It won't be much effort.


⚠ ClamAV has degraded performance

In 6e0a83d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 1883b64.


Get extension working consistently on PubMed

Many alerts are missing on Pubmed searches:
https://www.ncbi.nlm.nih.gov/pubmed?term=sarkar+fh+2014&cmd=DetailsSearch
To fix this we should add something like:
if url is PubMed:
  search for PMIDs (not for DOIs)

This will require exposing PMIDs in the PubPeer API (if that is not already done)

This will require the API to be queried by PMID as well as by DOI.
Something like this for example:
curl -d '{"pmids":["25333034"]}' -H "Content-Type: application/json;charset=UTF-8" -X POST https://pubpeer.com/v3/publications?devkey=Rogier

Sure. But how do you detect pubmed IDs on the client side? Pubmed IDs are
hard to identify...
Le jeu. 3 oct. 2019 à 12:42, Brandon Stell<EMAIL_ADDRESS>a
écrit :

This will require the API to be queried by PMID as well as by DOI.
Something like this for example:
curl -d '{"pmids":["25333034"]}' -H "Content-Type:
application/json;charset=UTF-8" -X POST
https://pubpeer.com/v3/publications?devkey=Rogier
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PubPeerFoundation/PubPeerBrowserExtensions/issues/14?email_source=notifications&email_token=AAJBQMFVFTBPGR6PD46IFKDQMXEC5A5CNFSM4IYUUQ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHZBEQ#issuecomment-537890962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJBQMFJ3ADMVDT6YQWSWPLQMXEC5ANCNFSM4IYUUQ3Q
.

This change would only apply on the pubmed website.  It's possible to identify PMIDs on PubMed because they use the "PMID:" prefix.


Can't compile this due to problem with nuget download

Brock,  the following appears to be unreachable...
https://www.myget.org/F/identity/api/v2/package/IdentityManager/1.0.0-build-10072
I've sent myget.org a support message indicating the problem I'm having but haven't heard back yet... seems that none of your myget repositories are resolving.
Could you put the latest version of IdentityManager's 1.0.0-build-10072.dll up on Nuget.org/api/v2/ or v3?
That would at least allow me to download it and compile.  Only IdentityManager 1.0.0-beta5-5 is on NuGet.org at the moment.
Thanks.
Mark

It's probably that version from myget has been deleted -- they only keep the past 10 builds. Just update to the latest on nuget and see if that fixes it. If so, then feel free to send a PR. Thx.


Modernize circleci implementation

In the process, fix the build.

To fix this, what repo(s) did you use as an example to start from?

I see that the build is running a couple more times now, but I saw the passing build, so I'm going to approve this.

To fix this, what repo(s) did you use as an example to start from?

I used terraform-aws-eks, but then bumped a few versions (e.g., the machine image and python docker image).

Ah the latest build failed due to concurrency issue with request quota increase, but I also see a bug where resource_class: small is not valid for machine executors. I updated this to medium!


This package stopped working :(

its caused by deprecating tls 1.0 support.
https://support.freshdesk.com/support/solutions/articles/221629-testing-for-api-compatibility
this pull request fixes it;
https://github.com/jjb3rd/Freshdesk.Net/pull/11

Thanks!  Sorry for the delay.

Hmm...This fix breaks mono compatibility, but it doesn't look like mono supports TLS 1.1 or 1.2, so I guess mono is SOL.

@jjb3rd any chance you can do a NuGet release with #11 merged?

Yeah.  I'll release it anyway.

It's been released.  Version 0.6


Missing Variable Initialization in JavaScript Course Section (understanding-uninitialized-variables)

Describe the Issue
The instructions ask to initialize the variables a, b, and c with specific values. However, the provided code only declares these variables but does not initialize them with the given values (5, 10, and "I am a"). This could confuse students as the initial values are not set as per the instructions.
Describe the solution you'd like
The provided code initializes variables a, b, and c with the specified values (5, 10, and "I am a" respectively) before performing any operations on them. Initializing variables with specific values directly in the provided code reduces the likelihood of errors and misunderstandings for students.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables
Desktop (please complete the following information):

OS: Windows
Browser: chrome

### Tasks

The campers in this step have to initialize the variables. How would you propose this challenge to be, without having the initial code be already the solution?

To facilitate the learning process while still requiring campers to
initialize the variables themselves, you could structure the instructions
and code as follows:
Instructions:
In this step, you will practice initializing variables in JavaScript.
Follow the steps below to complete the task:

Initialize Variables:

Declare three variables: a, b, and c.
Assign the following values to each variable:

a should be initialized to 5.
b should be initialized to 10.
c should be initialized to "I am a".

Perform Operations:

After initializing the variables, perform the following operations on
them:

Increment the value of a by 1.
Add 5 to the value of b.
Concatenate the string " String!" to the value of c.

Verify Results:

Ensure that each variable has the correct final value as specified in
the tests.

Your Task:

Write JavaScript code to complete the steps outlined above.

Starter Code:
// Declare variables and initialize them below this line
var a;
var b;
var c;

// Only change code above this line

// Perform operations on variables below this line
a = a + 1;
b = b + 5;
c = c + " String!";

With this approach, learners are still required to initialize the variables
themselves, but the instructions provide clear guidance on what values to
assign to each variable. They are then tasked with completing the code to
perform the specified operations. This strikes a balance between providing
guidance and allowing learners to actively engage in the problem-solving
process.
On Mon, Feb 5, 2024 at 4:53 AM Ilenia @.***> wrote:

The campers in this step have to initialize the variables. How would you
propose this challenge to be, without having the initial code be already
the solution?
—
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/53537#issuecomment-1926818498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3TB7RN4O5YAADREU32DPGTYSDB3NAVCNFSM6AAAAABCZ456DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWHAYTQNBZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

That response looks AI generated? I don't think we should be asking ChatGPT about how to restructure legacy lessons.


feat(toolkit): fix buttons animations

https://github.com/user-attachments/assets/e9157ff3-6792-4725-8df0-9ea9a2182750
AI Description

This pull request updates several components by removing the animate prop and adding a new logic for the animate behavior.

The animate prop is removed from the `Props interface in IconButton.tsx, ComposerError.tsx, MessageRow.tsx, ShareModal.tsx, Button.stories.tsx, CodeSnippet.tsx, and CopyToClipboardButton.tsx.
In Button.tsx, the animate prop is replaced with a new logic that sets animate to true only when there is an icon and a label or children.
The animate variable in the cellInner function in Button.tsx is moved from the third to the fifth position in the function parameters.
The animateStyles variable in Button.tsx is removed, and the animate class is now conditionally added to the className prop of the Icon component.
The animate class is now conditionally added to the className prop of the div element wrapping the iconElement and labelElement in Button.tsx.

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

Project coverage is 83.05%. Comparing base (4edacee) to head (a9e1449).
Report is 78 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #582      +/-   ##
==========================================
+ Coverage   81.38%   83.05%   +1.66%
==========================================
  Files         199      235      +36
  Lines        8354    10517    +2163
==========================================
+ Hits         6799     8735    +1936
- Misses       1555     1782     +227

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


Feature Request: Add an optional "link to homepage" quick action icon

It'd be great to add a field in a container's settings, that allows up to paste in the URL of the container's homepage. And The portainer can show that icon in the quick actions if it has a value.
Then we can have a nice, easy way to store the reference page for a container right there, with the ability to qucikly load that page up by clicking it.
i.e. I add the https://hub.docker.com/r/linuxserver/jackett URL to my Jackett container, and then I'd be able to just click that icon to go to that page when needed.

Why not use the published ports functionality? Assuming that the container is serving on port 80, you can just click this published port in the UI to be redirected to the page being served.

@itsconquest I think you might be misunderstanding the request. =)
Clicking published ports links only take you to the service page itself; I was referring to being able to edit in our own custom links to outside pages, like a container's Docker Hub page, or direct link to a reference page for the container, etc.

Ahh I see, this wasn't clear enough in the issue description so I have updated it to make it a little clearer :)


Deprecated TinyMCE Toolbar

Laravel version
9.39.0
PHP version
8.1.7
Voyager version
1.6
Database
MYSQL 8.0
Description
According to https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#things-we-renamed, some toolbar names were renamed. And Voyager still uses one of them which is styleselect.
Steps to reproduce
Just create a Rich Text Box BREAD Field, and you'll see that the expected toolbar does not exist (styleselect).
Expected behavior
Before:

After:

Screenshots
No response
Additional context
No response

Temporary solution while waiting for PR https://github.com/the-control-group/voyager/pull/5712 to be merged
1. Edit the repositories field on your composer.json to:
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/lamualfa/voyager.git"
    }
  ]
}

You can create a new one if the repositories field doesn't exist.
2. Edit the tcg/voyager version on your composer.json to dev-fix-5711:
{
  "require": {
    "tcg/voyager": "dev-fix-5711"
  }
}

The dev-fix-5712 means that you tell the composer to install tcg/voyager from https://github.com/lamualfa/voyager/tree/fix-5711 instead.
3. Run composer update to update the tcg/voyager package.
The final composer.json file will looks like this:
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/lamualfa/voyager.git"
    }
  ],
  "require": {
    "tcg/voyager": "dev-fix-5711"
  }
}

References

https://getcomposer.org/doc/05-repositories.md#vcs

Or for a specific BREAD field:
{     "tinymceOptions": {         "toolbar": "styles bold italic underline | forecolor backcolor | alignleft aligncenter alignright | bullist numlist outdent indent | link image table | code | removeformat"     } }


[dv/tl_errors] Aes_tl_errors fails due to updated_mem_ranges = 0

the Aes_tl_errors fail randomize due to the fact that updated_mem_ranges.siz() = 0 in the cip_base_vseq__tl_erros.sv
to replicate with xcelium
dvsim.py aes_sim_cfg.hjson -i aes_tl_errors -r 1 -t xcelium -s=3398986015
any seed will fail. but that is the one I have been using to debug.

@rasmus-madsen
Thanks for reporting this. It's because there is no unmapped address in AES. The last CSR is at 0x7c and the size of address map is 0x80. I wrongly assume there is some unmapped address in the address map. Will fix it.

@weicaiyang Thank you
it is not urgent, I just wanted to report it so we keep track of it!

@rasmus-madsen I have merged #4343, LMK if we can close this issue

@weicaiyang seems like this patch fixed the issue.
I am ok with closing this :D

@weicaiyang seems like this patch fixed the issue.
I am ok with closing this :D

Thanks @rasmus-madsen.


Export table in full instead of a paginated snapshot

Hello.
Thanks for your great work.
Currently a table is exported as PNG (like any panel else), and if there are many rows, the PNG show only the first page instead of showing all the rows.
Do you know if it is possible to get the data in json so that a full table can be generated from that?

Hi. Thanks!
This is an interesting idea.
Unfortunately I think it would be really difficult. The problem is that Grafana doesn't expose a HTTP API to get the JSON table data.
To do this, the reporter would have to first get the table definition from the dashboard, get the datasource definition from grafana and then do the time series query and parse the results.
This might even require adding support for all the different time series datasources into the reporter. Grafana exposes a proxy API, but I don't think the Grafana back-end translates the different datasource data representations into a uniform result. If this is the case, I would say it is beyond the scope of the reporter.
If you or someone else can conceive of a maintainable way to do this, I'd be open to suggestions.

My 2 cents: Graph and Table panels allow to export the data as json or CSV using the GUI ( Burger menu ).  I suppose they get the data during the rendering and store it in the client.
Maybe PhantomJS can be used to do do the headless rendering and then force the panel to emit the data ?

Worth a try!
Let's see if I can do it in the following week


Infographics – Turbine Sounds

Sharon: Complication is possibly drilling into rock, but going to leave for now


Cannot set property '$SocialSharing' of undefined

I use this package in vue 3 for register globally with const app = createApp(App).use(VueSocialSharing) and import VueSocialSharing from 'vue-social-sharing', how can i fix that? please help me, thanks

solved() : to update package with npm install vue-social-sharing@next

solved() : to update package with npm install vue-social-sharing@next

this will install 4.0.0-alpha4, and everything works well.


Why [DEPRECATED]?

Hello! please say why this library deprecated? What is mean?

Well, maybe it's not the best description - it works how it used to do, just no longer maintained (no time for that from my side). I don't guarantee that it has no outdated dependencies etc. Apart from that everything stays useful. If you are interested, feel free to contribute.

I'll change description to not scare people so much,


Add tooltips to buttons (visitors on event page)

dev
GitHub Project

Main GitHub Project ticket

Code reviewers

[x] @iuriikhrystiuk

Second Level Review

[ ] @sand0

Summary of issue
As an event owner, I want to view the hint on the circle-plus button on the Visitors tab
Summary of change
Added tooltips to those buttons
Testing approach
Now tooltip should  appear under button when hovered
CHECK LIST

[x]  PR is reviewed manually again (to make sure you have 100% ready code)
[x]  I've checked new feature as logged in and logged out user if needed
[x]  PR meets all conventions

/AzurePipelines run eventsexpress


how does it work while use  @ParametersMapped with @DataObject

Questions
while use @ParametersMapperd to generate code, it gives my class requires a JSON constructor. but when use @DataObject it would generate a **Converter.java which contains a static method named fromJson.
so why does not combile them into my source as a JSON constructor?
and can fix the compile bug while use @ParametersMapperd separately.
Version
4.0.0
Context
I encountered an exception which looks suspicious while ...
Do you have a reproducer?
N/A
Steps to reproduce

...
...
...
...

Extra

any idea can enhance my experience to use the codegen in IDE?

Actually you need to use the generated converter in your source code (in the json constructor).
The generator cannot modify your code.
e.g like here https://github.com/eclipse-vertx/vert.x/blob/master/src/main/java/io/vertx/core/VertxOptions.java#L173


[unity][d435] getting left IR image and formatting it to work with shadergraph

Required Info

Camera Model
{ d435 }

Firmware Version
(5.12)

Operating System & Version
{Win 10

Platform
PC

SDK Version
{ 2 }

Language
{C#/unity }

Segment
{Smartphone/VR/AR/}

Issue Description
Im trying to format the left IR camera stream and im having some issues:

Im blitting the texture from outtexture of rsstream texture renderer, and while it works with color stream, the y8 formatted ir stream gives me black texture, what should i do to convert it to rgb8 ?
how to set the ir stream to filter out the  ir dot pattern in unity?

Hi @TheBricktop

The D435 and D435i camera models do not have an RGB8 color stream from the left IR imager, just Y8 and Y16 IR.  This feature is on the D415 and D455 models.

D435

D455

The visibility of the dot pattern can be reduced by reducing the value of the Laser Power setting in the RealSense Unity wrapper's RealSenseDeviceInspector component.  This is because the visibility of the pattern is tied to Laser Power, reducing in visibility as Laser Power is reduced or brightening if Laser Power is increased.  You can also turn off the pattern entirely by setting the EmitterEnabled option to off.

Bear in mind though that unless the camera is being used in a well lit location, reducing laser power or disabling the emitter can darken the infrared image and also reduce depth image quality if you are using the depth stream.

About RGB8 format im just asking how to convert those values so that they are visible in a render texture because all im seeing now is a black square. What format should the render texture be in?

Can you get the desired output if you change the Y8 format's definition in RsStramTextureRenderer.cs  from  TextureFormat.Alpha8; to the RGB8 format's TextureFormat.RGB24;
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RsStreamTextureRenderer.cs#L20

Ive tried the RGB24 format but it was throwing errors about overreading so ive changed to R8 and it seems fine but still I cant get the second IR imager to stream. If I set stream index to anything but 1 on IR source it cant resolve the request.

Is the camera on a USB 3 connection, please?  Infrared 2 (right-side infrared) is not supported a on USB 2 connection.

Yup that was the culprit.
Im curious why the engineers chose the ir imager that is closer to color to be supported on 2.1 and not the one further right.

The center-line of the left IR imager is the 0,0,0 origin of the coordinate system on 400 Series cameras and so it has to always be available no matter what type of USB connection the camera is using.

Hi @TheBricktop  Do you require further assistance with this case, please?  Thanks!

Im good for now.

Thanks very much @TheBricktop for the update.  I will close the issue.  Please feel free to re-open the case or create a new one at a future date if you need to.  Thanks again!


test(wysiwyg): add failing test for inline code links

Fixes #480
Inline code links like this are broken by editor.
This [`link`](https://google.com 'Should Work')

Is currently getting turned into:
This `[link`](https://google.com 'Should Work')`

Theses are the only meaningful production code changes:
https://github.com/tinacms/tinacms/pull/513/files#diff-fd3d86c77bf8875ad1b14290daf314d6R216-R223


Trailing slash breaks binder link

What I mean is:

https://mybinder.org/v2/gh/binder-examples/jupyterlab/master - works
https://mybinder.org/v2/gh/binder-examples/jupyterlab/master/ - fails

Is there a reason for this?

are you deploying your own binderhub server? or is this on mybinder.org?

(reason I ask is that I seem to remember we've fixed this but it may be in a newer version of the helm chart than the one we list in the docs)

Very interesting! Do you know which version.
I'm self-hosting, so I could update it

@choldgraf, what version should I use then?
I realize they're all development versions, but is binderhub-0.1.0-e54c217 (the most recent one) really working?
I don't want to trade the version in the docs (that basically works) for one that obviously doesn't work (i just don't know it yet).
// this kind of requires your in-knowledge of the state of deployment versions

Just tried the most recent version and it still breaks on slashes:

thanks @djsegal for the useful patch - it is much appreciated!


Leverage function.maxReplicas from model

Fixes #14
Requires you to ./build-model upstream riff

LGTM
tested square with:

no maxReplicas provided
maxReplicas: 1
maxReplicas: 2


Will this be ready to launch soon?

I’ve got a project that would really benefit from this library. Been following it for a little while and was hoping you didn’t mind a poke about it. How soon do you think until this is ready?
Looking forward to it!

Hey @alexanderblackh!
It's pretty much ready, but is awaiting a bit of cleanup etc...
But if you are looking to use it already, feel free, glad to help out where needed

Thanks so much @frankpepermans ! Excited!
By chance, can I pass a cloned dom string to it instead of passing a new uri? I wanna create reader mode of content shown in a webview, so I’d like to avoid two web requests for one domain.

Sure, you just need to create an Uri from your html String, using https://api.dartlang.org/stable/dart-core/Uri/Uri.dataFromString.html

Thanks @frankpepermans ! Bit new to Flutter so sorry if that was a noob question.
Btw, are you working on documentation for it atm? If not, I’d be happy to write the readme docs as I’m implementing this and you can use it as a foundation for proper read-me.

Can confirm this is working! Can't seem to figure out how to use this with a Dom string returned by injecting document.body.innerHTML, URI.dataFromString didn't work, it just says invalid character.


LateInitializationError  on Hot-reload

Steps to Reproduce
Hot reload features doesn't works anymore for me since i have upgraded to flutter v2.5. I did had the same error log on previous version but in a different case, I will explain previous and current issue maybe it helps. Previously i was changing screen contents based on an state property. If state is A show WidgetA and if state is B show WidgetB. It was ok until state was changed back from 'B' to 'A' again (A->B->A) on last change it would crash with below log:
LateInitializationError: Field '_state@815051772' has already been initialized.
The relevant error-causing widget was
WidgetA

By then i figured using Visibility widget with maintainState property set to true instead of basic if condition this issue was resolved. But now that i have upgraded to v2.5 every time i make a change and it wants to do the hot reload same error happens:
LateInitializationError: Field '_state@781051772' has already been initialized.
The relevant error-causing widget was
Mutation Mutation or Visibility Visibility

I submitted this maybe an undocumented breaking change caused this. Feel free to close if the issue is from my side.
Not sure why no one else faces this issue and i do on all my apps so many times.
**Expected results: It would hot-reload
**Actual results:It crashes, so i have to rebuild every time.

Logs
LateInitializationError: Field '_state@781051772' has already been initialized.
The relevant error-causing widget was
Mutation Mutation or Visibility Visibility

No issues found!

[✓] Flutter (Channel stable, 2.5.0, on macOS 12.0 21A5304g darwin-x64, locale en-AM)
    • Flutter version 2.5.0 at /Users/user/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (12 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/user/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 54354355-8B8C-4A23-8912-4CA641FA204B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.0 21A5304g darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 89.0.4389.128

• No issues found!

Hi @ridyio, Thanks for filing the issue. is the hot reload failing when building the app on all platforms or a particular platform? could you please try upgrading to the latest stable 2.5.1 and see if that fixes the issue. If the issue persists please share the exact steps to reproduce the issue.
Thanks.

Hello @maheshmnj, Thanks for response. Yes i made the upgrade to v2.5.1 and the issue still persists. Hot-restart doesn't works either. Only rebuild on each change. Will try to reproduce this on a basic project. On all my big projects this issue is there. I will also run a downgrade to confirm if the issue is with the newer versions and update here.

Will try to reproduce this on a basic project. On all my big projects this issue is there. I will also run a downgrade to confirm if the issue is with the newer versions and update here.

Sure, Do also let us know if the issue is when building for the web, android, Desktop, ios or all platforms?

I have tried on macOS and iOS emulator on both this happens. Not easy to test on other platforms right now (small Incompatibility in codes).
I have reversed to flutter v2.2.3 and hot-reload/hot-restart is almost working again. In v2.5.x it was crashing but in older versions it shows error log on the widget issue is coming from instead of crashing, Still better than rebuilding. Like this:

@ridyio  looking at the screenshot it doesn't look like the issue is related to hotreload but something related to variable initialization. Please take a look at this stackoverflow thread and see if this helps. if you still see the error, please share a minimal and complete reproducible code to better address the issue.
Thank you.

@maheshmnj Thanks, i can see that issue comes from initialization but on the thread you mentioned (and i read before submitting the issue) issue was initialization of an object and dev had control over it. Here it refers to a widget's state which i think is to be maintained by flutter framework. I don't see any control we would have over it. still didn't had luck with reproduction project sadly, will dig more.

Please also verify on the latest stable 2.5.1 and see if that helps.

Apparently the issue is from flutter_map's controller and widget getting out of sync. https://github.com/fleaflet/flutter_map/issues/926


Polishing : added key bindings

Added the following key bindings :

CTRL + Q  -> quit
CTRL + H  -> show help pop-up

merged manually


Merge development to master branch to publish next release

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Coverage decreased (-0.9%) to 59.275% when pulling 9e2c4ce18eef28b1e103040ca952953f297d7ad9 on development into 8af3e76be0ca81b3140c2211c61f9e6f5b94d026 on master.

Coverage decreased (-0.9%) to 59.275% when pulling 9e2c4ce18eef28b1e103040ca952953f297d7ad9 on development into 8af3e76be0ca81b3140c2211c61f9e6f5b94d026 on master.

Coverage decreased (-0.9%) to 59.275% when pulling 9e2c4ce18eef28b1e103040ca952953f297d7ad9 on development into 8af3e76be0ca81b3140c2211c61f9e6f5b94d026 on master.

Coverage decreased (-0.9%) to 59.275% when pulling 9e2c4ce18eef28b1e103040ca952953f297d7ad9 on development into 8af3e76be0ca81b3140c2211c61f9e6f5b94d026 on master.

Coverage decreased (-0.9%) to 59.275% when pulling 9e2c4ce18eef28b1e103040ca952953f297d7ad9 on development into 8af3e76be0ca81b3140c2211c61f9e6f5b94d026 on master.


Telethon can't authenticate with Telegram due to Flask interrupts

Hey, I tried this app and it runs fine, but when searching the CLI window will display:
'Please enter your phone (or bot token):'
When I enter it, I expect to have to add a code from Telegram - but one is never sent, and the prompt to enter a token never appears, it just tries to POST a request and ignore it.
How can this be fixed?
Thanks

Thanks For Writing
The easy one enable 2FA (two-factor authentication)
If the issue still persists let me know I will update the code and push the fix as soon as I can


Override canceling matrix job if only one of them fail.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

Feature Request

By default, GitHub actions cancels all in-progress jobs in the matrix if any matrix job fails.

Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast

However, I'm not sure if GitHub actions will continue the next matrix job with versions that did pass in the previous one or the whole job will be canceled anyways.


Box and Rectangle parameters are inconsistent

Box.__init__.width = Rectangle.__init__.height

I think the current issue is that
NodeMixin.height -> Shape -> BasePartObject -> Box
(similar applies to Rectangle too)
https://anytree.readthedocs.io/en/latest/api/anytree.node.html#anytree.node.nodemixin.NodeMixin
I think maybe renaming Shape.height -> Shape.nodemixin_height might be a reasonable compromise.

This is not working, but just putting here in case it is useful later:
class Shape...
...
    @property
    def height(self):
        return self._height

    @height.setter
    def height(self, value):
        self._height = value

    @property
    def nodemixin_height(self):
        return super().height
...

@MatthiasJ1, is your concern illustrated by this example:
b = Box(length=1, width=2, height=3)
r = Rectangle(width=1, height=2)

where to get the same sized object, Box length = Rectangle width and Box width = Rectangle height? (not referencing the object attributes but the input parameters).
Would the parameters Rectangle(length:float, width:float) be better?

@MatthiasJ1 we are waiting for more info on what you are looking for here. Can you please comment on the above?


RE: #240 Exchange online powershell - Unable to get refresh token programatically and via a site

https://github.com/microsoft/Partner-Center-PowerShell/issues/240#event-2911063963
This was closed prematurely
Hey @isaiahwilliams  That is my point,
The problem is generating the initial refresh token without having someone manually go into powershell and create it and then copy and paste it somewhere.
For the other partnercenter methods we can use the URL for our azure application to grant consent. How can we do a similar thing for exchange? I need to be able to programatically grant the consent and get the refresh token.
Please assist.
How can we perform this first part via a website or similar

@Shadoxity with Exchange Online PowerShell you need to use a specific Azure AD application, that has all the correct configurations. Currently the only application with the correct configurations is the one used by the Exchange Online PowerShell module. All of this means partners cannot create an Azure AD application for generating access tokens for use with PowerShell.
The good news here is that when you run New-PartnerAccessToken -Module ExchangeOnlie it is using the same application the Exchange Online PowerShell module. Which means it does not require consent or pre-consent. So, you can generate a single refresh token at the partner level and use it for requesting access tokens for all your customers scoped to Exchange Online.

@isaiahwilliams
Thats exactly my problem though, the only way to get the initial token is via a manual powershell command. We have an integration that is sold to MSP's and need to access this. And we typically collect this info through the web interface, but that seems to be impossible with the exchange module and the new secure application model.
Thats what I am struggling with right now.

@Shadoxity the initial refresh token can be generated through a number of different methods. If you are interested in what the Partner Center PowerShell module is doing, then you can use a tool like Fiddler to see the exact API methods being invoked.
Since you are looking for a way to do this outside of the Partner Center PowerShell module then I would recommend leveraging one of the following

Microsoft partner benefits to get direct help with this development effort
Microsoft support
Partner Center Security Guidance Group

If you have any other issues with the Partner Center PowerShell module please feel free to open a new issue.


Add a test for python2/pyarrow string conversion

Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

@rshkv the reason this test was passing was because arrow was not actually enabled

And this appears to be an issue even with your cherry-picks: https://github.com/palantir/spark/pull/671


ncvis with regional MPAS grids?

Paul - good stuff here (as usual).
Have you tried using this tool on a regional MPAS grid?  We are starting to run MPAS here at NSSL, and working on a regional (CONUS) nightly run.
Tried using it, but the app seemed confused.  BTW, it seems to work fine on an M1 Macbook with homebrew wxWidgets installed.
Lou Wicker (NSSL)

Thanks Lou — could you point me at a small datafile I can use for debugging?
~ Paul

On Oct 7, 2022, at 4:21 PM, louiswicker @.***> wrote:
Paul - good stuff here (as usual).
Have you tried using this tool on a regional MPAS grid? We are starting to run MPAS here at NSSL, and working on a regional (CONUS) nightly run.
Tried using it, but the app seemed confused. BTW, it seems to work fine on an M1 Macbook with homebrew wxWidgets installed.
Lou Wicker (NSSL)
—
Reply to this email directly, view it on GitHub https://github.com/SEATStandards/ncvis/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIVPZHGHOBZQW3TBACTIKLWCCWBJANCNFSM6AAAAAAQ77QXCA.
You are receiving this because you are subscribed to this thread.


Interpretation of edges in causal graph inference

I have some results like edge ('x2', 'x4', {'arrows': ['x2', 'x2', 'x4' ], 'marked': False}) when I test with the causal graph inference. How do I interpret the issue? Does this mean its a undirected edge like ('x2', 'x4', {'arrows': [], 'marked': False}).

This was a bug which I believe has been resolved! Please let me know if you still find otherwise.


test_python_continuation_to_native_58 fails in lib.delayAssert

When running plugin version <IP_ADDRESS> in server built from tip of main, test_python_continuation_to_native_58 fails.
The same failure occurs in my PR #140, so presumably this has not been fixed yet.
The test is running in an Ubuntu 20.04 container, using postgres.
Here's some of the test output. I've put a more complete log here.
 --- IrodsSession: icommand executed by [otherrods#tempZone] [iput /tmp/tmpxlpn2e1n] ---
Assert Command: iput /tmp/tmpxlpn2e1n
Expecting EMPTY: ['']
  stdout:
    |
  stderr:
    |
Output found

======================================================================
FAIL: test_python_continuation_to_native_58 (irods.test.test_python_rule_engine_plugin.Test_Python_Rule_Engine_Plugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/irods/scripts/irods/test/test_python_rule_engine_plugin.py", line 91, in test_python_continuation_to_native_58
    lib.delayAssert(
  File "/var/lib/irods/scripts/irods/lib.py", line 565, in delayAssert
    raise AssertionError
AssertionError

I believe this is fixed by changes made in #171. We observed this test failure in the run up to <IP_ADDRESS> and the tests are now passing.


Configuring HttpClient from HttpClientFactory

I'm looking into moving some of my team's code from framework to core, and one of the things that I'm looking at is the HttpClientFactory. I think I have a handle on how to use it for typed clients, but I had a question about how to properly use it.
In this example:
serviceCollection.AddHttpClient<IClient, Client>((services, client) =>
{
    // do some heavy stuff here
});

I noticed that the "heavy stuff" gets hit every time a client is resolved (so per controller instantiation) for this web api). Is there a way to "re-use" the heavy stuff so I don't hit that every time a client gets injected?

There's a few different patterns for the "heavy stuff" - which one I'd recommend will depend on what you're trying to do. Care to elaborate and I can make some suggestions?

Sure! One example is we make an off-box call to a token server with a certificate and some other collateral to get an encrypted json web token which we then attach as an authorization header. Actually speaking of, I don't even know if the "heavy stuff" can be async at all.

So if you need to make a call to a token server (or do anything else async), I'd recommend writing a DelegatingHandler and wiring that up with AddMessageHandler<>.
That will be cached across the times you resolve an HttpClient instance.
Depending on the specifics of what you're doing there might already be some handler implementations out there that do what you want.

Thanks @rynowak! I'll give that a shot next week. My current solution was to inject a helper class from the DI container which was long-lived and had the token cached, but I think I like this better :)


Preparing metadata (pyproject.toml) error

安装插件时报错了,nb和pip都会报错
小白求解T-T
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
+ meson setup C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c.mesonpy-qum2rjcl -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c.mesonpy-qum2rjcl\meson-python-native-file.ini
The Meson build system
Version: 1.5.1
Source dir: C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c
Build dir: C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c.mesonpy-qum2rjcl
Build type: native build
Program python3 found: YES
Project name: matplotlib
Project version: 3.9.1
WARNING: Failed to activate VS environment: Could not parse vswhere.exe output
  ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
  The following exception(s) were encountered:
  Running `icl ""` gave "[WinError 2] 系统找不到指定的文件。"
  Running `cl /?` gave "[WinError 2] 系统找不到指定的文件。"
  Running `cc --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `gcc --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `clang --version` gave "[WinError 2] 系统找不到指定的文件。"
  Running `clang-cl /?` gave "[WinError 2] 系统找不到指定的文件。"
  Running `pgcc --version` gave "[WinError 2] 系统找不到指定的文件。"

  A full log can be found at C:\Users\Ling\AppData\Local\Temp\pip-install-52g4kbk1\matplotlib_4ba332be34054e078e61351cafe0a57c\.mesonpy-qum2rjcl\meson-logs\meson-log.txt
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

安装c++编译器
https://matplotlib.org/devdocs/install/dependencies.html#compiled-extensions

解决了,感谢


watcher.Watch() should return WatchResponse on context error

Rational
This change allows users of watcher.Watch() to retrieve the context
error if the user passes in a context.WithTimeout(), etc..
Example
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
defer cancel()
ch := c.Watch(clientv3.WithRequireLeader(ctx), key, opts...)
for wr := range ch {
     if wr.Canceled {
         if wr.Err() == context.DeadlineExceeded {
             // Watch failed to start because of a timeout.
             // Preform some mitigation or inform the president.
         }
     }
}

Resolution
$ etcdctl watch foo --prefix
watch was canceled (context deadline exceeded)
Error: watch is canceled by the server

Notes
Not sure about the accuracy of specifying Canceled: true as technically the server didn't cancel the request. However setting Canceled: true is consistent with what users expect to see when a watch has an error. For example, without it etcdctl would not have displayed the error after the timeout.

We once considered this, but this would break previous behaviors, so decided not to.

@gyuho That is a shame as it makes context useless for mitigation of failures.
I imagine the proper way to handle this would be to change the signature of the method to watcher.Watch(...) (chan, error) such that the behavior change is apparent. This would also indicate to users that the Watch() method can fail to start.
The current method signature gives users the false impression that Watch() neither blocks, can spin indefinitely or that it can fail without starting a watch. I was very surprised to find this out when I started to dig into why the method was blocking indefinitely in vulcand.
My current work around for this in vulcand is the following
ready := make(chan struct{})

go func() {
    watchChan = watcher.Watch(etcd.WithRequireLeader(n.context), n.etcdKey,
        etcd.WithRev(int64(afterIdx)), etcd.WithPrefix())
    close(ready)
}()

select {
case <-ready:
    log.Infof("V3 Begin watching: etcd revision %d", afterIdx)
case <-time.After(time.Second * 10):
    log.Error("V3 timed out while waiting for watcher.Watch() to start")
}

It works, but it's not pretty.
I hope you take this feedback as constructive as we are big fans of etcd at mailgun and have been using it for years. Cudos for making a great product!


Pain point improvements

Andras Bacsai on Twitter / X

I would be awesome if you could invite Dan to the stream and do some brainstorming with him!


chore(main): release 1.2.0

:robot: I have created a release beep boop
1.2.0 (2024-01-09)
Features

support TokenBucketRateLimiter (aa7e4b3)

This PR was generated with Release Please. See documentation.

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

Comparison is base (2eae9b9) 100.00% compared to head (3a9154a) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          108       108
  Branches        17        17
=========================================
  Hits           108       108

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

:robot: Release is at https://github.com/xyy94813/RRNL-request-limiter-middleware/releases/tag/v1.2.0 :sunflower:


saving desktop: theme wouldn't switch

I use circadian happily and also desktop-save-mode.
When I shut down emacs  in the evening and open it up in the morning, the dark theme is saved (and vice versa with the light theme). Is there a way to reload the correct theme with desktop-save-mode?
Thanks.
config:
(desktop-save-mode` 1)
(setq desktop-restore-frame nil)

;; ALSO: saving the window configuration; maybe that's the issue here

(defvar pre-ediff-window-configuration nil
  "window configuration to use")
(defvar new-ediff-frame-to-use nil
  "new frame for ediff to use")
(defun save-my-window-configuration ()
  (interactive)
  (setq pre-ediff-window-configuration (current-window-configuration))
  (select-frame-set-input-focus (setq new-ediff-frame-to-use (new-frame))))
(add-hook 'ediff-before-setup-hook 'save-my-window-configuration)
(defun restore-my-window-configuration ()
  (interactive)
  (when (framep new-ediff-frame-to-use)
    (delete-frame new-ediff-frame-to-use)
    (setq new-ediff-frame-to-use nil))
  (when (window-configuration-p pre-ediff-window-configuration)
    (set-window-configuration pre-ediff-window-configuration)))
(add-hook 'ediff-after-quit-hook-internal 'restore-my-window-configuration)

(use-package circadian
  :config
  (setq calendar-latitude 48.2)
  (setq calendar-longitude 16.37)
  (setq circadian-themes '((:sunrise . leuven)
                           (:sunset  . wombat)))
  (circadian-setup))

@Krisselack thanks for the request and sorry for beeing that late, I haven't worked on circadian.el for quite a while. I'm trying to dig in again more often.
Note for myself, check: Emacs Desktop-Save-Mode

@Krisselack thanks for the request and sorry for beeing that late, I haven't worked on circadian.el for quite a while. I'm trying to dig in again more often.
Note for myself, check: Emacs Desktop-Save-Mode

Currently you can work around this by calling the activate function of circadian in your .emacs file.

;; activate my circadian theme, in case desktop-save-mode overwrote it
;; this should come after desktop loading and circadian settings.
(circadian-activate-latest-theme)

This is not circadian's fault. This usually is caused by stale locks (or two emacs open using the same desktop file.) You have two workarounds:

use the :hook keyword of use-package to make sure that circadian setup also runs after desktop-load i.e. here is mine:

(use-package circadian
  :config
  (setq calendar-latitude  YF/latitude)
  (setq calendar-longitude YF/longitude)
  (setq circadian-themes '((:sunrise . hydandata-light)
                           (:sunset . sanityinc-tomorrow-eighties)))
  (circadian-setup)
  :hook (desktop-after-read . circadian-setup )
  )

Make sure your emacs don't use stale desktop locks, or similar as mentioned in https://www.emacswiki.org/emacs/Desktop

thank you, @utoku, I included both your hook and disabled stale lock by including sylvains code snipped from your shared url into my emacs-config. issue seems solved so far :-).


[BUG] Pulsar cursor would not be removed after Kafka consumer disconnected.

As title.

Close it by https://github.com/streamnative/kop/pull/839