Unable to use via Cocoapods with use_frameworks!

Cocoapods is now able to build pods as dynamic frameworks, which is necessary for compiling Swift dependencies. I just tried updating GBDeviceInfo, but get this error:
[!] The 'Pods-Foo' target has transitive dependencies that include static binaries: (/[PATH_TO_FOO]/Pods/GBJailbreakDetection/GBJailbreakDetection.framework)

I'm seeing this too

+1

@stepanhruda I've downgraded to 3.0.0 in the meantime

Will look into this. You should be able to use 3.1.0 as well in the meantime, as jailbreak detection was only added in 3.2.0.

@lmirosevic thanks :)

I'll test this out today with 0.39.1.beta.

Any solution to this coming up?

+1, just need to the 6s support dont care about jailbreaks.

3.5.1 now supports use_frameworks!
Jailbreak detection has been made optional and moved into a subspec


Typescript autolaunch unittest

Description
auto launch unit test
QA Checklist

[x] Unit-Tests
[ ] Automation-Tests

@vrbsm Please resolve the merge conflicts.


Display a clearer error message when deploying to a static website for Azure China & Azure Germany accounts

OS: All
Build Version: 20191013.1
Regression: Not a Regression
Repro Steps:

Sign in with Azure China or Azure Germany accounts.
Create a new storage account  --> Right click it and select "Deploy Static Website..." --> Enable the website hosting according to the prompting --> Select one project to deploy.

Expect:
Succeed to deploy without any error.
Actual:
Pop up an error.

More Info:

There is no "Static website" item in Portal. And the answer for above question -- no endpoints are shown in the Properties item. Please get the details from below:

2. There is another one closed known bug 439.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!


Panning the map with the dragging starting on cluster marker provoke a zoom

Hi,
I've noticed that when panning the map, if the initial click of the dragging happens on a cluster marker, it provoke a zoom when the draggins ends.
So, the dragging event is handled as a click for the cluster marker.
I don't know if that's intended, but other google maps controlers don't work the same way.  Maybe a propagation issue somewhere ?
Thanks for the great job done btw !

@chifret
I think this repo is not maintained anymore. The most active repo which I found is:Gmap Marker Clusterer Plus
Anyway I was havin some problem this stackoverflow answer helped me, basically you need to add this code
google.maps.event.addListener(map,'dragstart',function(){       mc.zoomOnClick_=false;}); google.maps.event.addListener(map,'mouseup',function(){setTimeout(function(){       mc.zoomOnClick_=true;},50);});
Also see this: https://code.google.com/archive/p/google-maps-utility-library-v3/issues/157

You're right, it's even marked so on the GitHub description...
Thanks for the mention, and for the code.  The lil' hack will serve :)


Week of the year miscalculation?

Hello,
I'm using D3 version 3.5.16 and noticed that this:
d3.time.format("%W/%Y")(new Date(d3.time.format("%W/%Y").parse("53/2015")))
which should yield 53/2015 actually returns 01/2016. I don't think it is intended and even if it was it should be 00/2016 (since 00 is equivalent to the last week number of the previous year if I'm correct).

%W defines 01/2016 as the first Monday in 2016. Per the documentation:

For %W, all days in a new year preceding the first Monday are considered to be in week 0.

Thus, the date 00/2016 is defined as the Monday before the first Monday in 2016 (January 4, 2016), which is by definition the last Monday of 2015 (December 28, 2015).
d3.timeParse("%W/%Y")("00/2016"); // Mon Dec 28 2015 00:00:00 GMT-0800 (PST)

(I’m using the new d3-time-format API from 4.0, but it’s equivalent to d3.time.format in 3.x.) Note that it’s still possible to format the %W as 00/2016 given a date in 2016, provided that date is after or equal to January 1 but before January 4:
d3.timeFormat("%W/%Y")(new Date(2016, 0, 1)); // 00/2016

Similarly, 53/2015 is defined as the 53rd Monday in 2015, which by definition is the first Monday in 2016, and thus equivalent to 01/2016.
d3.timeParse("%W/%Y")("52/2015"); // Mon Dec 28 2015 00:00:00 GMT-0800 (PST)
d3.timeParse("%W/%Y")("53/2015"); // Mon Jan 04 2016 00:00:00 GMT-0800 (PST)

So, to take apart your example:
var parseDate = d3.timeParse("%W/%Y"),
    formatDate = d3.timeFormat("%W/%Y");

var date = parseDate("53/2015"); // Mon Jan 04 2016 00:00:00 GMT-0800 (PST)
format(date); // 01/2016

You were also passing the parsed date to the Date constructor, like this:
format(new Date(date)); // 01/2016

That’s redundant, but it shouldn’t have any effect.


Fix intel64 support of F.batch_normalization

There are two kinds of intel64 support:

to use intel64 routine; and
not to be broken with other intel64 enhancements.

https://github.com/chainer/chainer/pull/8175/files#r329861075 missed the latter point.  For example, backward of h = bn(x); y = F.relu(h) may give isinstance(h.grad, intel64.mdarray) even if x.array is not.
Nonetheless astype can be avoided.
By the way,

_BNMode.can_use_ideep has been too strict from #6456.  intel64.inputs_all_ready checks x.dtype but it seems intended to use intel64 if (x.dtype, gamma.dtype) == (float16, float32).  https://github.com/chainer/chainer/blob/4f4dda143fafccd914345ac28d750f5be1a99ef8/chainer/functions/normalization/batch_normalization.py#L634

I don't fix this issue in this PR.

#8175 correctly fixed the condition for (x.dtype, gamma.dtype) == (float32, float64), where intel64 should not be used.

#8175 also allowed gamma.dtype to be less precise than x.dtype, which does not seem to be often used to me.

For example, backward of h = bn(x); y = F.relu(h) may give isinstance(h.grad, intel64.mdarray) even if x.array is not.

I first implemented #8216 in a way that this case is correctly handled, but I figured out that was not needed in refatoring the fix in #8175, so I simplied the code as in #8216.
The idea was to make it possible to use different BatchNormalizationImpls between forward and backward, by checking gy (just as done by impl_selector for forward).
I don't think simply reverting #8216 is not a good idea.
Can I re-implement that?

Let's revert #8216 first and rebase this PR on it.
Refactoring can be considered separately.

Bugfix is done by #8272.

Jenkins, test this please.

Jenkins CI test (for commit 05856f00901023892aa87fb6917ca2f04a0f080a, target branch master) succeeded!

Jenkins, test this please.

Jenkins CI test (for commit 05856f00901023892aa87fb6917ca2f04a0f080a, target branch master) failed with status FAILURE.

Jenkins failure seems unrelated to this PR. LGTM.


Remove unnecessary uninstall script

Also some jshint cleanup

@csantanapr - I added the jshint validation to travis and had to fix up a lot more existing jshint issues.


[fix] [docs] Fixed Use examples in sequence-column-manual.md file.

Proposed changes
Issue Number: close #xxx
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Please check if the English version of the markdown file located in docs/en/docs/data-operate/update-delete/sequence-column-manual.md also has this problem.

Please check if the English version of the markdown file located in docs/en/docs/data-operate/update-delete/sequence-column-manual.md also has this problem.

ok, the en doc also has this problem. nedd i create a new pr?

Please check if the English version of the markdown file located in docs/en/docs/data-operate/update-delete/sequence-column-manual.md also has this problem.

ok, the en doc also has this problem. nedd i create a new pr?

No need, you can just append a new commit to fix the English version md  in the same branch of this pr.

Please check if the English version of the markdown file located in docs/en/docs/data-operate/update-delete/sequence-column-manual.md also has this problem.

ok, the en doc also has this problem. nedd i create a new pr?

No need, you can just append a new commit to fix the English version md in the same branch of this pr.

get！the  doc-fix of english version has been commited.


Lag time on Now Playing

It seems to take at least 1 minute for the Now Playing track to update.  Any way to reduce the latency?
BTW This works absolutely great otherwise... fabulous.
Thanks,
Nick

Not at the moment, this is a rekordbox limitation. I'm looking for ways around this, but I'm not sure if I'll be able to find a way.
Good to hear!

Not at the moment, this is a rekordbox limitation. I'm looking for ways around this, but I'm not sure if I'll be able to find a way.
Good to hear!

Thanks for the quick reply.  Rekordbox does seem to get it over to KUVO Live Playlist quicker if that helps... but I'm having issues with the way they sort the playlist.  Thanks much again. -Nick

Thanks for the quick reply.  Rekordbox does seem to get it over to KUVO Live Playlist quicker if that helps... but I'm having issues with the way they sort the playlist.  Thanks much again. -Nick

Ohh good to know. I was actually just looking at the KUVO live playlists tonight, and I think I'm going to create a "Rekordbox KUVO" mode that will parse the web page that the live playlist is rendered on. This would give rekordbox 5 users access, and it sounds like it could solve the lag here. I'll post what I can find here, you can probably expect to see this feature in the next release this week or next.

Ohh good to know. I was actually just looking at the KUVO live playlists tonight, and I think I'm going to create a "Rekordbox KUVO" mode that will parse the web page that the live playlist is rendered on. This would give rekordbox 5 users access, and it sounds like it could solve the lag here. I'll post what I can find here, you can probably expect to see this feature in the next release this week or next.

Here's the issue I'm having with KUVO Live playlist.  It starts out sorted with the most recent track on top which is cool because when I use a cropped browser source in OBS, the current track is in the same position on the webpage.  However, for no reason ant any point during the session, the order reverses which now shows the first track I played in my source.  I sent an e-mail to KUVO Pioneer support which they responded with "We are afraid that the order can not be customized.
We've forwarded your feedback to our product development team".  Then I was digging into https://kuvo.com/support/ and if you scroll down to March 20. 2019 you'll see they addressed it .... but didn't.
We’ve updated KUVO website and KUVO app (iOS, Android).
KUVO Website
KUVO app (iOS) Ver 3.1.4
KUVO app (Android) Ver 3.1.8
– Viewing archive event information becomes available in the club’s and user’s profile page.
– Listing the most recent tracks at the top of the live playlist sent from KUVO clubs and rekordbox.
I hope this helps somewhat and it's as far as I've gotten. Once again thanks MUCH.
-Nick

Here's the issue I'm having with KUVO Live playlist.  It starts out sorted with the most recent track on top which is cool because when I use a cropped browser source in OBS, the current track is in the same position on the webpage.  However, for no reason ant any point during the session, the order reverses which now shows the first track I played in my source.  I sent an e-mail to KUVO Pioneer support which they responded with "We are afraid that the order can not be customized.
We've forwarded your feedback to our product development team".  Then I was digging into https://kuvo.com/support/ and if you scroll down to March 20. 2019 you'll see they addressed it .... but didn't.
We’ve updated KUVO website and KUVO app (iOS, Android).
KUVO Website
KUVO app (iOS) Ver 3.1.4
KUVO app (Android) Ver 3.1.8
– Viewing archive event information becomes available in the club’s and user’s profile page.
– Listing the most recent tracks at the top of the live playlist sent from KUVO clubs and rekordbox.
I hope this helps somewhat and it's as far as I've gotten. Once again thanks MUCH.
-Nick

Oh weird, I'll handle any odd sorting issues when I parse the page. I just tested out KUVO, and it definitely logs in real-time, expect more real-time logging this week with the next release. Thanks for sending over this info!

Oh weird, I'll handle any odd sorting issues when I parse the page. I just tested out KUVO, and it definitely logs in real-time, expect more real-time logging this week with the next release. Thanks for sending over this info!

I second the lag issue. Kuvo does show the tracks a bit quicker but relies on an internet connection at all times.
Just testing unbox today... what's the trigger to refresh the browser window? Does unbox force the refresh?  Does webpage caching effect what's in the local webpage too?

I second the lag issue. Kuvo does show the tracks a bit quicker but relies on an internet connection at all times.
Just testing unbox today... what's the trigger to refresh the browser window? Does unbox force the refresh?  Does webpage caching effect what's in the local webpage too?

@erikrichardlarson I was wondering if you could also pull the Record Label and Year fields as well.  Not essential but a 'nice to have'
Thanks again

@erikrichardlarson I was wondering if you could also pull the Record Label and Year fields as well.  Not essential but a 'nice to have'
Thanks again

@DJNixInTheMix Just released the update that allows you to use KUVO live playlists. I'll be sure to add in a year / label overlay on the next release. The "ASOT" release has label and you can use that now.

@DJNixInTheMix Just released the update that allows you to use KUVO live playlists. I'll be sure to add in a year / label overlay on the next release. The "ASOT" release has label and you can use that now.

@fivefortyfour The window doesn't refresh actually, there is some JS that runs on an interval grabbing new data as it is stored locally. This gets around any caching issues that you might run into with a page that doesn't make ajax calls.

@fivefortyfour The window doesn't refresh actually, there is some JS that runs on an interval grabbing new data as it is stored locally. This gets around any caching issues that you might run into with a page that doesn't make ajax calls.


Strange behaviour for multiple strategies (sequel + activerecord)

I'm getting an error on Jenkins environment:
Failure/Error: network_group = create(:network_group)
     ActiveRecord::StatementInvalid:
       Mysql2::Error: MySQL server has gone away: ROLLBACK TO SAVEPOINT active_record_1
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `query'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/savepoints.rb:13:in `exec_rollback_to_savepoint'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:272:in `rollback_to_savepoint'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `rollback_to_savepoint'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:118:in `rollback'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:179:in `rollback_transaction'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:186:in `rescue in within_new_transaction'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:201:in `within_new_transaction'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:220:in `transaction'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:291:in `save!'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/configuration.rb:14:in `block in initialize'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `[]'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `create'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:12:in `block in result'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `tap'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `result'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/factory.rb:42:in `run'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:166:in `instrument'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:22:in `run'
     # /usr/local/rvm/gems/ruby-2.1.5@interface/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'

It seems to be happen after incorrect transaction rollback performed by database_cleaner. (Maybe, it works incorrect if sequel transaction is included in ActiveRecord transaction?).
Here is my database_cleaner configuration:
RSpec.configure do |config|
    config.use_transactional_fixtures = false

    config.before(:suite) do
      DatabaseCleaner[:active_record].strategy = :transaction
      DatabaseCleaner[:sequel].strategy = :transaction
      DatabaseCleaner.clean_with :truncation
    end

    config.before(:each) do |example|
      DatabaseCleaner[:active_record].strategy = example.metadata[:js] ? :deletion : :transaction
      DatabaseCleaner.start unless example.metadata[:skip_cleaner]
    end

    config.after(:each) do |example|
      DatabaseCleaner.clean unless example.metadata[:skip_cleaner]
    end

    config.before(:all, truncate_before_all: true) do
      DatabaseCleaner.clean_with :truncation
    end
  end

Sequel and AR use the same database:
test:
 adapter: mysql2
 encoding: utf8
 reconnect: true
 database: test_database
 pool: 50
 username: my_user
 password: my_password
 host: localhost

(mysql 5.6, database_cleaner 1.5.3, mysql2 0.3.14 and activerecord <IP_ADDRESS>
Any thoughts what is might be caused by?

@vbyno Could you add more information about the scenario?
Could you try setting up two connections to the database? One for Sequel and another for ActiveRecord? You can see how to configure database_cleaner over here: https://github.com/DatabaseCleaner/database_cleaner#how-to-use-with-multiple-orms

@etagwerker , I've tried configuration like this, but had no luck.:
  RSpec.configure do |config|
    config.use_transactional_fixtures = false

    sequel_cleaner = DatabaseCleaner[:sequel, connection: *sequel_connection*]

    config.before(:each) do |example|
      sequel_cleaner.strategy = example.metadata[:js] ? :deletion : :transaction
      sequel_cleaner.start unless example.metadata[:skip_cleaner]
    end

    config.after(:each) { |example| sequel_cleaner.clean unless example.metadata[:skip_cleaner] }
    config.before(:suite) { sequel_cleaner.clean_with :truncation }

    active_record_cleaner = DatabaseCleaner[:active_record, connection: :default]

    config.before(:each) do |example|
      active_record_cleaner.strategy = example.metadata[:js] ? :truncation : :transaction
      active_record_cleaner.start unless example.metadata[:skip_cleaner]
    end

    config.after(:each) { |example| active_record_cleaner.clean unless example.metadata[:skip_cleaner] }
    config.before(:suite) { active_record_cleaner.clean_with :truncation }
  end```

There are a few tests that fail with such an exception. But if I comment out the current test, the next one fails.
Also, there are some test failures that are fallen because of uncleaned DB data.
This happens on Jenkins. Tests are running for ~1 hour as usual.

It looks like the issue is not reproducible within new DatabaseCleaner versions. I'll close it.


Is there a way to remove/insert elements in a config file?

In rime_api.h, I can set elements of the switcher/hotkeys list using RimeConfigSetString.
However, is it possible to remove or insert new list elements using rime api?

The key can be a node path consisting of map keys and list indices.
For example, to add an employee to the following config:
company:
  employees:
    - name: Bob
      age: 30
    - name: Alice
      age: 20

you can modify Alice's age by RimeSetInt(config, "company/employees/@1/age", 21)
To append an element, do
RimeConfigSetString(config, "company/employees/@next/name", "Fred");
RimeConfigSetInt(config, "company/employees/@next/age", 25);

However there is no API to remove an arbitrary element from the list.
You can work around that by first calling RimeConfigClear() on the list node, then recreate the list.

Thanks, that solves my problem.

FYI
In configuration files there is extended syntax to YAML which help users to modify existing configuration.
https://github.com/rime/home/wiki/Configuration

@xuzhao9 Do you mean a settings GUI for fcitx-rime?

Yes? Then you probably know sometimes it's better to patch installed YAML files instead of modifying them in place (otherwise modifications can be lost after an upgrade).
Rime API doesn't allow you to create *.custom.yaml files like:
patch:
  menu/page_size: 9

because when you specify the key patch/menu/page_size in the API function, it actually creates a different YAML:
patch:
  menu:
    page_size: 9

This will overwrite the whole menu node, other sub-nodes it previously had will be lost. (Sometime s this behavior is wanted, that's why patch is followed by node paths.)


panda-client 1.4.99 github action

automatic pull request

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Is the developent of this site/game still active?

I mean, the servers are still running, and the game's as popular as it ever was, but are there any updates and/or bug fixes planned?
It's been 3 years, so I'm asking more out of curiosity. Even the GUI could use a redesign/overhaul in my opinion.

Not really, no. I keep the lights on but I don't really have the motivation to even go through pull requests anymore. I'm pretty much over Java, and certainly over JavaScript and CSS, at this point.


Update dev and user guides to use kubebuilder and CRDs

Resolves #155.
Resolves bullet items 1 and 2 for #104.

@font needs rebase

@font, Great work. User guide worked like a charm. Although in developer guide for running integration and e2e tests in my environment, i faced below issue, and you can note that etcd is already in the path.
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2/test/e2e# which etcd
/root/gopath/src/github.com/kubernetes-sigs/federation-v2/bin/etcd
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2# cd test/integration && go test -v
=== RUN   TestIntegration
--- FAIL: TestIntegration (0.00s)
	logger.go:52: Starting a federation of 2 clusters...
	logger.go:44: Error starting etcd: fork/exec /root/gopath/src/github.com/kubernetes-sigs/federation-v2/vendor/sigs.k8s.io/testing_frameworks/integration/assets/bin/etcd: no such file or directory
FAIL
exit status 1
FAIL	github.com/kubernetes-sigs/federation-v2/test/integration	0.011s
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2/test/integration# cd ../../
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2/bin# which etcd
/root/gopath/src/github.com/kubernetes-sigs/federation-v2/bin/etcd
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2# cd test/e2e
root@shashi-laptop:~/gopath/src/github.com/kubernetes-sigs/federation-v2/test/e2e# go test -v
=== RUN   TestE2E
Running Suite: Federation e2e suite
===================================
Random Seed:<PHONE_NUMBER>
Will run 10 of 10 specs

Jul 10 20:23:42.957: INFO: Starting a federation of 2 clusters...
Jul 10 20:23:42.957: INFO: Error starting etcd: fork/exec /root/gopath/src/github.com/kubernetes-sigs/federation-v2/vendor/sigs.k8s.io/testing_frameworks/integration/assets/bin/etcd: no such file or directory
Failure [0.002 seconds]
[BeforeSuite] BeforeSuite
/root/gopath/src/github.com/kubernetes-sigs/federation-v2/test/e2e/e2e.go:48

  Jul 10 20:23:42.957: Error starting etcd: fork/exec /root/gopath/src/github.com/kubernetes-sigs/federation-v2/vendor/sigs.k8s.io/testing_frameworks/integration/assets/bin/etcd: no such file or directory

  /root/gopath/src/github.com/kubernetes-sigs/federation-v2/test/e2e/framework/logger.go:39
------------------------------
Ran 10 of 0 Specs in 0.002 seconds
FAIL! -- 0 Passed | 10 Failed | 0 Pending | 0 Skipped
--- FAIL: TestE2E (0.00s)
FAIL
exit status 1
FAIL	github.com/kubernetes-sigs/federation-v2/test/e2e	0.020s

Except the above issue this lgtm to merge.
Agree with @marun about the comment on release artifacts. It is some work for the release process. @pmorie, what is your opinion on this? Definitely it should not be a blocker for alpha release.
Thanks @font for this great work.

@shashidharatd That error appears to be because the necessary environment variables have not been set as described in the section https://github.com/font/federation-v2/blob/078550ee1d866f6d6641b3703ba4c6b1f972531f/docs/development.md#environment-setup. Try it again after you've set those variables and let me know how it goes.

oops, sorry i missed that part. it works great. lgtm from me. Thanks @font


Page not found after following link to React-Bootstrap site documentation

Paragon site documentation contains links to components from React-Bootstrap site documentation. After clicking on these links, pages are displayed as "Page not found".
For example Badge component:

### Tasks
- [ ] Ensure that all links on the Paragon documentation site lead to the correct React-Bootstrap URL.
- [ ] Check out the other links on the paragon documentation site.

Let's consider expanding the scope of this issue to ensure any link to have to react-bootstrap's website points to the correct version of react-bootstrap that @edx/paragon relies on. I believe most (if not all) our links to react-bootstrap's website are to the latest version (Bootstrap 5, when we're on Bootstrap 4).

PR: https://github.com/openedx/paragon/pull/2394


Poll: Allow changes to any objects/arrays without requiring a model action? (would require proxy)

Right now, after this PR is merged (https://github.com/xaviergonz/mobx-keystone/pull/129) it will be possible to create automatic setters, but it won't work for sub-object / sub-array changes, e.g.:
@model(...)
class M extends Model({
  x: prop(0, {setterAction: true}),
  arr: prop<number[]>(() => [], {setterAction: true})
}) {}

const m = new M({})

m.x = 10 // works
m.$.x = 10 // will throw, not using modelAction
m.arr = [10] // works
m.$.arr = [10] // will throw, not using modelAction
m.arr.push(10)  // will throw, not using modelAction

Would you want it so simple changes to model props / objects / arrays don't require changes to be wrapped in modelAction at all?
e.g.
@model(...)
class M extends Model({
  x: prop(0),
  arr: prop<number[]>(() => [])
}) {}

const m = new M({})

m.x = 10 // works
m.$.x = 10 // works
m.arr = [10] // works
m.$.arr = [10] // works
m.arr.push(10) // works

It would require Proxy to work though, but  since Hermes 0.4.0 will include support for Proxy (https://github.com/facebook/hermes/releases/tag/v0.4.0) I think it wouldn't be too bad
What do you think? Worth it?

@terrysahaidak @sisp

I'm not sure about this. Yes, this might be pretty handy in some cases, but still requiring an action forces you to "document" your intent by at least giving a name to the action instead of just changing some random nested props.
I would at least leave the default – requiring an action, but you may turn in off somehow.
The only case where I use – to run it from the thunk/flow (async action, and you need to update something after the an await thing). I used to have mobx based class with some internal states such as inProgress, isError, etc, to reduce some boilerplate.
@model('GroupList')
export class GroupList extends Model({
  list: prop<Ref<GroupModel>[]>(() => []),
}) {
  @thunk() fetch = createThunk(
    (id: number) =>
      // it binds the context under the hood
      async function(this: GroupList, flow) {
        const groups = await Api.Groups.getAll();
        // uses runUnprotected under the hood
        flow.update(() => {
          this.list = groups.map((item) => GroupModel.ref(item.id));
        });
      },
  );

  @modelAction
  remove(group: GroupModel) {
    const index = this.list.findIndex((ref) => ref.current === group);

    if (index > -1) {
      this.list.splice(index);
    }
  }
}

But still, I just think freedom isn't always what the user needs.

I'm not sure about this. Yes, this might be pretty handy in some cases, but still requiring an action forces you to "document" your intent by at least giving a name to the action instead of just changing some random nested props.

I agree. The "documentation" aspect of actions is a good way in my opinion to improve code structure. I currently don't need this feature, but it doesn't mean nobody else has good use cases for it.

It would require Proxy to work though, but since Hermes 0.4.0 will include support for Proxy (https://github.com/facebook/hermes/releases/tag/v0.4.0) I think it wouldn't be too bad

Personally, I'm not too concerned about Proxy support as common (modern) browsers support it. But it depends on the target group, some still rely on ancient browsers and if you're developing for those that's a problem. I think it would be more consistent if changes to arrays and objects were covered by the implicit setter action, too. Would this polyfill work, so also older browsers are supported?

I think it would be more consistent if changes to arrays and objects were covered by the implicit setter action, too.

That's what I was thinking.
Maybe another option would be to mark those objects/arrays as "unprotected" so they are differentiated from setting the actual property itself. e.g.
class M extends Model({
  arr: prop<number[]>(() => [], {unprotected: true})
}) {}

m.arr.push(5) // would work since the array is unprotected
m.arr = [5] // would not work, since there's no setterAction: true

However, it poses the problem: how deep should this unprotection go? What if it is an array of arrays? Or an object where one property is an array? Should the unprotection just go deep until/if a model is hit?
All these questions were what made me think that maybe make it all unprotected globally would make it an easier concept to grasp, but it is true that there's a merit to just have all mutations go through specific model actions.
Either way, I think the biggest boilerplate source are the setters for individual properties, which should be addressed by the setterAction PR without any Proxy requirements / API changes, so probably that's good enough for now :)
Thanks for the input!

Would this polyfill work, so also older browsers are supported?

The polyfill wouldn't work to set/delete unknown object props/array indexes, so it would need to be a real Proxy implementation to support all cases :(

Dropping the idea since in the end the new automatic setters generate a named setX function (plus no-proxy compat is staying for now)


Many notifications when deploying a web app

I get a lot of prompts when deploying an app to App Service.  Do we need all of these?
Here' what I get on first deployment:

Then I get the next 3 prompts:

Then when done i get one more prompt:

So that's at least 7 notifications when deploying an app.
Why not 1 while creating as an info, 1 when it is done, and then a final one that asks if you want to "Always deploy the website..."

Closed via: https://github.com/Microsoft/vscode-azuretools/pull/301


add stop command to jaeger-agent

jaeger-agent support these command
Available Commands:
docs        Generates documentation
help        Help about any command
status      Print the status.
version     Print the version.
is there a STOP command to let the jaeger-agent quit other than kill it
thanks

There isn't, and sending SIGINT (ctrl+c) should cause the process to cleanly exit.


Update the Envoy Mobile docs publishing to the envoymobile.io site

The https://envoymobile.io/ is still reading docs from the old  the https://github.com/envoyproxy/envoy-mobile. This needs to be fixed.

thanks for the reminder
i have the dns setup so that we switch over to mobile.envoyproxy.io just havent got round to updating it


[Infoblox] Add support for WAPI host change due to new GM promotion

In Infoblox grid with multiple management nodes, grid master candidate (GMC) can be promoted to grid master (GM) by admin.
As result, WAPI is no longer served on old GM host, and all http requests to that old GM host (web ui and WAPI) are responded with redirection HTML page, containing the url of new GM:

    <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=https://new.gm.example.com" />

Click here if page does not refresh in 10 seconds.

This leads to errors on Infoblox go client side, since it's expects REST response and can't parse HTML page
2021/02/15 15:25:03 Cannot unmarshall to check empty value '<META HTTP-EQUIV="REFRESH" CONTENT = "0; URL=https://new.gm.example.com"/>Click here if page does not refresh in 10 seconds.
', err: 'invalid character '<' looking for beginning of value'
2021/02/15 15:25:03 GetObject request error: 'invalid character '<' looking for beginning of value'
2021/02/15 15:25:03 Cannot unmarshall '<META HTTP-EQUIV="REFRESH" CONTENT = "0; URL=https://new.gm.example.com"/>Click here if page does not refresh in 10 seconds.
', err: 'invalid character '<' looking for beginning of value'
2021/02/15 15:25:03 Failed to connect to the Grid, err: invalid character '<' looking for beginning of value

It would be good if k8gb is made resilient for such changes and is able to use new GM host without reconfiguration.
This can be done by parsing the HTML in error and scraping new GM url out of it.
Or, In simple case, k8gb can be configured with set of Infoblox WAPI addresses, which can be looked over in case of issues.

Closing this issue, as in general these situations should be handled by https://github.com/infobloxopen/infoblox-go-client


i'm having some trouble working out some swift issues

For starters, thank you for the guide. I'm developing an app in Swift using Braintree. I've found many examples on how to get the framework set up within a project, but haven't found any examples actually using Braintree calls within a Swift app. If anyone has an example using the Drop In UI with Swift, I would be forever grateful. Thanks in advance.

Hi, here is a demo Swift app that shows how to use Braintree drop-in UI. The code in view controller presents the Braintree UI.
https://github.com/exchangegroup/UsingBraintreeDropInUIInSwiftDemo


Fastcgi cache cookie issue?

Hi,
Getting a lot of errors on a recent site. Please find log below:

Server: nginx
Date: Mon, 16 Mar 2015 06:55:48 GMT
Content-Type: application/json; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Access-Control-Allow-Origin: http://www.blackjacknights.com.au
Access-Control-Allow-Credentials: true
X-Robots-Tag: noindex
X-Content-Type-Options: nosniff
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
X-Frame-Options: SAMEORIGIN
X-Powered-By: EasyEngine 2.2.1
Vary: Accept-Encoding
Content-Encoding: gzip
2015/03/16 17:55:48 [debug] 29260#0: *744737 write new buf t:1 f:0<PHONE_NUMBER>015F20, pos<PHONE_NUMBER>015F20, size: 572 file: 0, size: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 http write filter: l:0 f:0 s:572
2015/03/16 17:55:48 [debug] 29260#0: *744737 http script var: "1"
2015/03/16 17:55:48 [debug] 29260#0: *744737 http cacheable: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream process upstream
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe read upstream: 1
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe preread: 67
2015/03/16 17:55:48 [debug] 29260#0: *744737 readv: 1:32344
2015/03/16 17:55:48 [debug] 29260#0: *744737 readv() not ready (11: Resource temporarily unavailable)
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe recv chain: -2
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe buf free s:0 t:1 f:0<PHONE_NUMBER>F84660, pos<PHONE_NUMBER>F847C5, size: 67 file: 0, size: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe length: -1
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write downstream: 1
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write busy: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write: out:0000000000000000, f:0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe read upstream: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe buf free s:0 t:1 f:0<PHONE_NUMBER>F84660, pos<PHONE_NUMBER>F847C5, size: 67 file: 0, size: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe length: -1
2015/03/16 17:55:48 [debug] 29260#0: *744737 event timer del: 202:<PHONE_NUMBER>464
2015/03/16 17:55:48 [debug] 29260#0: *744737 event timer add: 202: 300000:1426489248135
2015/03/16 17:55:48 [debug] 29260#0: *744737 post event<PHONE_NUMBER>9BA7F8
2015/03/16 17:55:48 [debug] 29260#0: *744737 post event<PHONE_NUMBER>70DD88
2015/03/16 17:55:48 [debug] 29260#0: *744737 delete posted event<PHONE_NUMBER>70DD88
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream request: "/wp-admin/admin-ajax.php?"
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream dummy handler
2015/03/16 17:55:48 [debug] 29260#0: *744737 delete posted event<PHONE_NUMBER>9BA7F8
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream request: "/wp-admin/admin-ajax.php?"
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream process upstream
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe read upstream: 1
2015/03/16 17:55:48 [debug] 29260#0: *744737 readv: 1:32344
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe recv chain: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe buf free s:0 t:1 f:0<PHONE_NUMBER>F84660, pos<PHONE_NUMBER>F847C5, size: 67 file: 0, size: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe length: -1
2015/03/16 17:55:48 [debug] 29260#0: *744737 input buf #0<PHONE_NUMBER>F847C5
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 01
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 03
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 00
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 01
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 00
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 08
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 00
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record byte: 00
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi record length: 8
2015/03/16 17:55:48 [debug] 29260#0: *744737 http fastcgi sent end request
2015/03/16 17:55:48 [debug] 29260#0: *744737 input buf<PHONE_NUMBER>F847C5 47
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write downstream: 1
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write downstream flush in
2015/03/16 17:55:48 [debug] 29260#0: *744737 http output filter "/wp-admin/admin-ajax.php?"
2015/03/16 17:55:48 [debug] 29260#0: *744737 http copy filter: "/wp-admin/admin-ajax.php?"
<PHONE_NUMBER>042B00
2015/03/16 17:55:48 [debug] 29260#0: *744737 http gzip filter
2015/03/16 17:55:48 [debug] 29260#0: *744737 malloc:<PHONE_NUMBER>FB9C00:270336
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip alloc: n:1 s:5936 a:8192 p:0000000003FB9C00
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip alloc: n:32768 s:2 a:65536 p:0000000003FBBC00
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip alloc: n:32768 s:2 a:65536 p:0000000003FCBC00
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip alloc: n:32768 s:2 a:65536 p:0000000003FDBC00
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip alloc: n:16384 s:4 a:65536 p:0000000003FEBC00
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip in:<PHONE_NUMBER>E727A8
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip in_buf:0000000003E726E0 ni:0000000003F847C5 ai:47
2015/03/16 17:55:48 [debug] 29260#0: *744737 malloc:<PHONE_NUMBER>FFBC10:8192
2015/03/16 17:55:48 [debug] 29260#0: *744737 deflate in: ni:0000000003F847C5 no:0000000003FFBC10 ai:47 ao:8192 fl:0 redo:0
2015/03/16 17:55:48 [debug] 29260#0: *744737 deflate out: ni:0000000003F847F4 no:0000000003FFBC10 ai:0 ao:8192 rc:0
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip in_buf:0000000003E726E0 pos:0000000003F847C5
2015/03/16 17:55:48 [debug] 29260#0: *744737 gzip in:<PHONE_NUMBER>000000
2015/03/16 17:55:48 [debug] 29260#0: *744737 http copy filter: 0 "/wp-admin/admin-ajax.php?"
2015/03/16 17:55:48 [debug] 29260#0: *744737 pipe write downstream done
2015/03/16 17:55:48 [debug] 29260#0: *744737 event timer: 202, old:<PHONE_NUMBER>135, new:<PHONE_NUMBER>135
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream exit:<PHONE_NUMBER>000000
2015/03/16 17:55:48 [debug] 29260#0: *744737 finalize http upstream request: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 finalize http fastcgi request
2015/03/16 17:55:48 [debug] 29260#0: *744737 free rr peer 1 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 close http upstream connection: 202
2015/03/16 17:55:48 [debug] 29260#0: *744737 free:<PHONE_NUMBER>CF5850, unused: 48
2015/03/16 17:55:48 [debug] 29260#0: *744737 event timer del: 202:<PHONE_NUMBER>135
2015/03/16 17:55:48 [debug] 29260#0: *744737 reusable connection: 0
2015/03/16 17:55:48 [debug] 29260#0: *744737 http upstream temp fd: -1
2015/03/16 17:55:48 [debug] 29260#0: *744737 http output filter "/wp-admin/admin-ajax.php?"
2015/03/16 17:55:48 [debug] 29260#0: *744737 http copy filter: "/wp-admin/admin-ajax.php?"

2015/03/16 17:55:48 [debug] 29260#0: *744737 http finalize request: 0, "/wp-admin/admin-ajax.php?"  I mean REALLY fast!

@matthewkeath
It seems that you have started nginx debug mode.
To stop it you can use ee debug --nginx --stop

The problem is that then I have not solved the problem? This and another site are getting heaps of these errors and it's crashing the backend of WordPress.

@matthewkeath it could be theme/plugin issue.
Try debugging PHP/WordPress ee debug example.com --php --wp
Please use http://community.rtcamp.com/c/easyengine for support requests.


After updating, ModuleNotFoundError: No module named 'gradio'

Which OS are you using?

OS: Windows 10

Hello, I haven't used WebUI in a while and today after updating it and running start-webui.bat I received this message in the log
Traceback (most recent call last):
  File "C:\Whisper-WebUI-Portable-Windows\Whisper-WebUI\app.py", line 3, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'
"launching the app"
Press any key to continue . . .

Hi.
This means that something is wrong with your Whisper-WebUI\venv.
Every package is installed in the venv directory and somehow it doesn't recognise the installed packages properly.
I'd recommend to delete the Whisper-WebUI\venv directory and run install.bat again.
It will reinstall every package in Whisper-WebUI\venv from the beginning.

Thanks


How to create 100 apps with the same ShellBar

I'd like all pages to have the same header with a user button, basic navigation etc. So 100s of applications must contain a Page with the same ShellBar in the XMLView.
What would be the best option to implement that? I am using Shell -> ComponentContainer -> Component.js -> manifest.json -> XMLView with sap.m.App.
The ultimate goal would be to not specifying the ShellBar in the view in fear of forgetting it. Plan B would be to wrap the ShellBar into an XMLFragment so that at least the layout is central.
Any clever ideas?

Please try asking support questions on one of the community platforms instead with more information and context. GitHub Issues is for reporting bugs and occasionally enhancement requests only.


witth findAsCursor projection is not used ?

Hi there,
seems there is an issue when using findAsCursor, at least for me I can do what I want, I always get the _id field, same with all other fields I try to exclude.
example :
    try {         results = await db.issues.findAsCursor(             {             },             {                 _id : false,                 owner : false,             }).sort({                 reliability : -1,                 percent : -1,             }).toArray();     } catch (error) {         throw (error);     }
When trying this, and outputting with
    if (issues = await getIssues()) {         for (let issue of issues) {             log (issue);
I get the _id and also owner displayed.
AM I doing something wrong or is there an issue.
best regards

We fixed a bug in version 1.7 related to projections and shipped version 1.7.1 to fix the projections bug. Could you checkout if this bug still exists in version 1.7.1 ?

Hi there,
thanks for your reply ! Yes, it seems in 1.7.1 the problem does NOT exist anymore.
I was not aware of that npm fixed my version to 1.5.x, very embarrassing ;)
Thanks and best regards


Notify the User if a new version of the product or new image is available

Why do we need this ?

There will be a number of changes made to the product, this may leave the user with an older docker image that they might be running, we need a message inside the product or in logs that can request the user to get the pull for the latest docker image and update their running version.

Acceptance Criteria

[ ] Message requesting user to take the pull of latest docker image when its available.

Further Comments / References

This was resolved.


Remove version: LutzRoeder.Netron version 7.2.6

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Response status code does not indicate success: 404 (Not Found).
(Automated message - build 552)


Add pull requests as trigger for workflow

Relates to: https://github.com/webbertakken/unity-actions/issues/20


[Feature Request]: Showcase custom made CSS buttons

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to add my custom made buttons from raw CSS in the showcase page
There are 6 buttons with cool animations and a toggle button also
Use Case
They can be used by fellow programmers in their projects
Benefits
They are easy to use and they enhance the UI
Add ScreenShots
https://github.com/user-attachments/assets/0a0755de-ec4c-4522-a188-ad4a1095a370
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ridhima10, try button number 2.


Have to run add-license-headers twice for empty file

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
Empty init.py file is only adding the copyright line on the first run, and the license is added on the second run of the hook
📝 Steps to reproduce
in pydynamicreporting, do pre-commit run --all-files and look at  tests/init.py's behavior. It must be something with how I'm gathering the data (lint_json) for all of the files where it's not registering it as a file missing a header
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.10
📦 Installed packages
N/A

Closed by #116


Fix typo in example

The example is valid code but I suppose it wouldn't hurt to add the brackets.

Oh, I'm sorry! I didn't know it was possible to do that


[Blazor] Data binding - @bind-Value:set - EventCallback support

Using an event callback parameter with @bind:set ([Parameter] public EventCallback<string> ValueChanged { get; set; }) isn't supported. Instead, pass a method that returns an Action or Task to @bind:set.

I think the @bind-Value:set actually supports the EventCallback<T>.
The paragraph probably clones the similar statement which is correct:

Using an event callback parameter (EventCallback/EventCallback<T>) with @bind:after isn't supported. Instead, pass a method that returns an Action or Task to @bind:after.

cc @guardrex

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/components/data-binding.md
ASP.NET Core Blazor data binding

See NestedChild.razor where the bind-GrandchildMessage:set="ChildMessageChanged" is used.

Thanks @hakenr ... IIRC, it was a point-in-time statement that wasn't updated when it became supported 😈. I'll fix it in the morning.


Unable to update to v0.22.2

I currently have a (transitive) dependency for nix v0.22.0 that I am unable to update to v0.22.2.
I am unable to update, because I also have a (transitive) dependency for bitflags v1.3.0, and cargo chooses to unify those dependencies by picking nix v0.22.0.
This is a problem for me, because I would like add a cargo audit check to my CI, and nix v0.22.0 is affected by RUSTSEC-2021-0119.
Would it be possible for your to backport #1607 to the v0.22 branch, and do a new release?

iced is also affected by this issue.
cargo will pick the versions with the vulnerability in order to use the most recent bitflags version. Users have to manually upgrade:
cargo update --package nix:0.20.0 --precise 0.20.0
cargo update --package nix:0.22.0 --precise 0.22.2

This forces cargo to downgrade bitflags to 1.2.1.
It'd be great to have new 0.20.3 and 0.22.3 releases without the bitflags restriction.

@asomers is this something you're able to do? AFAIK I don't yet have permission to publish to crates.io.

Firstly, is Nix 0.23.0 not an option for you?  Secondly, is it not an option to ignore that cargo-audit warning?  The vulnerability is really not very serious.  Except in a few exotic configurations only root can exploit it, and it only affects one rarely-used function.

I am already using 0.23 as well, but multiple places deep in my dependency chains are depending on 0.22.
Yes, I can ignore the cargo audit warning, but it doesn't really solve the underlying issue: I need to choose between using an old version of nix or an old version of bitflags.
Suppose you have (transitive) depencies for nix 0.22 and bitflags 1.0. The best resolutions cargo can pick for this situation is either (nix=0.22.0, bitflags=1.3.0) or (nix=0.22.2, bitflags=1.2.0).
Now suppose that you (like me) have a transitive dependency for bitflags 1.3.0 as well. In this case one of those option goes away and I'm left with only the option (nix=0.22.0, bitflags=1.3.0).
This means that if any of my (transitive) dependencies were to introduce a requirement for nix 0.22.2, then cargo would be unable to resolve those requirements at all, and I would be unable to compile my project.

Here you go: https://crates.io/crates/nix/0.22.3

Thanks! 👍

Could we get a 0.20.3 release? Exact same situation applies.


[BUG] Bloxstrap not working at all

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Bloxstrap won't work at all. I even launch games through it but it ends up not working. I have the appearance icon set to the bloxstrap logo and the graphics slider to the 20 option and they don't work, that's how I found out.
Bloxstrap Log
N/A

The 21 graphic slider no longer works, due to Roblox removing the FFlag making it work.

https://github.com/bloxstraplabs/bloxstrap/wiki/Bloxstrap-doesn't-run-when-opening-it
https://github.com/bloxstraplabs/bloxstrap/wiki/Bloxstrap-doesn't-launch-with-Roblox
Could you take a look at these and see if it is related to your issue

Have the same issue, no settings are being applied from framerates to texture disabling

I have the appearance icon set to the bloxstrap logo and the graphics slider

It only takes effect in the bootstrapper.

and the graphics slider to the 20 option and they don't work

https://github.com/bloxstraplabs/bloxstrap/wiki/'Use-advanced-graphics-quality-selector'-option-not-working


Mismatch between processor architectures "mscorlib.dll", "AMD64" (Code=MSB3270)

I followed "Quick Install Guide - Windows" on http://ionide.io , without using  chocolatey, downloaded from Microsoft and installed F# 4.0 for Windows adn Microsoft Build Tools 2015.
Any valid F# code gets underlined with a green squiggle. When I pass with the mouse cursor over it I get the following message:
"There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "mscorlib.dll", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. (Code=MSB3270)."

Updated Visual Studio Code to version 1.7.2 and the problem disappeared.

CC: @dsyme
Don, any idea why FCS would return something like that?

@Krzysztof-Cieslak It's an MSBuild message - either from project cracker of from the FCS use of MSBuild.  Strange. Really need someone to debug into it or we need reliable repro steps that can be used on any machine?

I experienced the same thing today on my Windows 10 machine.
Only happens on .fs files and not .fsi or .fsx
Steps to reproduce:

install mono (This step might not be necesarry, but I had it installed before anything else, so I can't say if it has any influence or not to the error)
Install VS code
Install extension "ionide-fsharp"
Follow the "Quick Install Guide - Windows" on http://ionide.io

install Visual F# Tools 4.0 RTM
install Microsoft Build Tools 2015

create .fs file with any code or comment on the very first line and the error will appear.

If it's any use, we've had this bug appear on multiple students' machines. I think they were all Windows machines but I can't recall for sure.

Can anyone check if it's still problem on the latest?

I just experienced this on Windows 7, all patches up to date. Simple "Hello World" program in Atom using Ionide, which I just installed. (printfn "Hello World" is the only line.) Tried leaving the first line blank, no dice. I had already coincidentally installed Visual Studio Community 2015.
PS C:\Users\Ramon> fsc
Microsoft (R) F# Compiler version 14.0.23020.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

Still happening:

As a plus, you can see what appears to be another bug--the blue blob in the upper left corner.

Atom bugs should be reported in Atom's Ionide-fsharp repository
Atom version has really old version of FSAC and latest fixes are not included there.


Feature/own http server

This implements an own http server from ground up and abstracts the http server logic from the framework logic so http server implementations are interchangeable. By default the new SimpleHTTPSocketServer will be used but currently there is also a JettyHTTPSocketServer that can be used optionally if something doesn't yet work with the simple implementation. This should removed or moved to a seperate repository so jetty can be removed from the dependencies. The websocket logic is also reimplemented with our own websocket handling instead of the hacky jetty implementation that was previously used. Unfortunately jetty doesn't fully conform to the Java EE standard so it doesn't allow upgrading the connection by yourself and therefore websockets are only working with the simple implementation. I tried several things to hijack the jetty connection but wasn't successful.

Is multipart form data already implemented?

Is multipart form data already implemented?

No, it's not yet implemented for the new server. Jetty is still usable in case you are worried about breaking changes.

I've changed it back to using jetty as the default until the own implementation is stable enough to be used for any production case.  I've also upgraded to the current jetty version. The upgrade was blocked by the hacky websocket implementation before that has now been removed.

this also closes #11


A few components seem to always stream to stderr instead of stdout?

I was playing around with Kibana and I noticed a few components (e.g. deis-router) seem to always have their stream field set to stderr. I was wondering if this is intentional or if there might be some problem with my setup.

Are there components other than router where this is true? We need to verify that this is happening and see if it's correct behavior.

@olalonde this is intentional for deis/router at least, although logs should be visible at both stdout and stderr at the compoent level. See deis/router#5.
If this is still a problem in current Workflow (v2.6.0), could you help us reproduce what you're seeing?

@mboersma I think I was seeing this in my k8s Kibana logs and papertrail logs IIRC (they're off right now). I was thinking I could use stderr to detect errors but it seems pretty useless for that :)  I guess it's not really an issue anyway.


Use AddressResolve in CASE

Problem
CASE address resolution relies on raw DNSSD which has some drawbacks:

cannot do a 'pick best address' logic reliably when considering multiple DNSSD responsess
reply handling does not filter by peerid (minmdns has a global callback for all dnssd advertisements)

Change overview
Use AddressResolve in CASE session establishment:

Resolution is kept on a per-operational-device-proxy basis (instead of CASESessionManager and Commissioner/controller)
Changed commissioner and controllers to not try to be global handlers for all DNSSD operational results

Bug fixes:

Cirque tests were racy: relied that 'DNSSD' lookup was fast enough/instant during resolve tests, relied that closesession would not establish a new session and finish fast
GetPeerAddress was exclusively using the dns cache, made it use the dns cache optionally and do the session lookup if cache is not available.

Things that I learned and may need followups

Timeouts were generally not used/set. AddressResolve is enforcing a timeout and during commissioning of a devkitc, 3 seconds was not enough to get a valid IPv6 address. Changed it to 10s, however it would be better to have granular timeouts (e.g. one for after-commission, another for runtime). Code is too coupled to add this in the same PR
Non-happy path was not handled well - DeviceController was not handling error resolving, but commissioner was (tries to release the commissioning proxy). I kept the cleanup at a proxy level to apply everywhere, so had to remove some "FreeCommissioneeCode" from the commissioner. The code is still unclear and may need more iterations of non-happy paths and timeouts
Even with ipv6 disabled, IP addresses like ::ffff:<IP_ADDRESS> were comming through. I added extra filtering in address resolver
Code was freeing memory during callbacks (release operationaldeviceproxy into poools) so I had to ensure address resolver will only call callbacks after removing 'pending queries' from its internal lists

Testing
Flashed a devkit-C all clusters app and commissioned it (using ble-wifi) using ipv6only chip-tool. Also ran toggle and saw it go through CASE and execute.
Expect CI to cover a lot of other tests as well.

/rebase

@Andrei Litvin  it seems your change on mdns((https://github.com/project-chip/connectedhomeip/pull/15934)) is failing in this line https://github.com/project-chip/connectedhomeip/blob/master/src/app/OperationalDeviceProxy.cpp#L117,  it seems resolve is success here in https://github.com/project-chip/connectedhomeip/blob/2750259fa4ffda7888849918d019ebfe8356dfb9/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp#L172, then it goes to https://github.com/project-chip/connectedhomeip/blob/2750259fa4ffda7888849918d019ebfe8356dfb9/src/lib/address_resolve/AddressResolve_DefaultImpl.cpp#L260, and try to updateDeviceData（https://github.com/project-chip/connectedhomeip/blob/2750259fa4ffda7888849918d019ebfe8356dfb9/src/app/OperationalDeviceProxy.cpp#L109, but the state is not State::NeedsAddress, in current test, run commission, then close, resolve/create case session, during  this commission procedure, OperationalDeviceProxy becomes State::Initialized, then it fails

The main issues:

Contract violation for Init.
Removal of some caches; effective removal (without freeing up the memory) of others.
Possible changes to the way controller/commissioner handle UpdateDevice bits and exactly what happens on first MRP packet loss.  Would like to understand whether that codepath was tested/exercised after these changes.
Re-introducing recently-fixed leaks.
Significant (and unexpected, given all the cache removals) increases in .bss.
Somewhat noticeable increase in .text.

In general, doing something along these lines makes a lot of sense. But I'd really like to understand what's going on with the issues above.

1 - Init contract. Will have to update the contract. Our init paths did not seem organized enough to properly follow a single initialization. Existing code already had "last write wins" on setting resolve delegates, which is likely worse than the current code

Cache removal was intentional. Commented on it. Did not get to remove the CASESessionManager cache since the PR started to baloon in size

UpdateDevice on MRP packet loss - I was not sure how to test that, will have to do it separately if CI does not do it. I relied that the 'Update' code was effectively equivalent in other places

Fixed leaks: could you point them out? I did remove a Commissioner free because it was causing double-free, but it would have been a leak before not after the new code. I am not aware of other changes

BSS increases are expected: we have a pool of operationaldeviceproxy (sessions) which now contain the structure for 'context' of DNSSD lookups. So every operationaldeviceproxy pays a cost of an active lookup running. We could decouple and have separate context pools (which track 'best address, timeouts, mrp params') however that should probably be in a followup

This links address resolve which is some chunk of .text.

created #16029 to serve as a marker for disabling dnssd caches in general and get feedback from CI and smoke tests on how this behaves.

Debugging leak check now. If I commented out sigma2 in the server, chip tool takes a long time but eventually gets:
==3486114==    at 0x526734C: __pthread_kill_implementation (in /usr/lib/libc.so.6)
==3486114==    by 0x521A4B7: raise (in /usr/lib/libc.so.6)
==3486114==    by 0x5204533: abort (in /usr/lib/libc.so.6)
==3486114==    by 0x1C7995: chipAbort (CodeUtils.h:489)
==3486114==    by 0x9B6987: chip::HeapObjectPool<chip::CommissioneeDeviceProxy>::~HeapObjectPool() (Pool.h:311)
==3486114==    by 0x9AAE9F: chip::ObjectPool<chip::CommissioneeDeviceProxy, 64ul, (chip::ObjectPoolMem)1>::~ObjectPool() (Pool.h:425)
==3486114==    by 0x9AB005: chip::Controller::DeviceCommissioner::~DeviceCommissioner() (CHIPDeviceController.h:441)
==3486114==    by 0x9AB0A3: chip::Controller::DeviceCommissioner::~DeviceCommissioner() (CHIPDeviceController.h:441)
==3486114==    by 0x7526A1: std::default_delete<chip::Controller::DeviceCommissioner>::operator()(chip::Controller::DeviceCommissioner*) const (unique_ptr.h:81)
==3486114==    by 0x743CB1: std::unique_ptr<chip::Controller::DeviceCommissioner, std::default_delete<chip::Controller::DeviceCommissioner> >::~unique_ptr() (uniq
ue_ptr.h:292)
==3486114==    by 0x722E01: std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<chip::Controller::Dev
iceCommissioner, std::default_delete<chip::Controller::DeviceCommissioner> > >::~pair() (stl_pair.h:208)
==3486114==    by 0x722E31: void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<cha
r> > const, std::unique_ptr<chip::Controller::DeviceCommissioner, std::default_delete<chip::Controller::DeviceCommissioner> > > > >::destroy<std::pair<std::__cxx1
1::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<chip::Controller::DeviceCommissioner, std::default_delete<chip::Contro
ller::DeviceCommissioner> > > >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::unique_ptr<chip::Controller:
:DeviceCommissioner, std::default_delete<chip::Controller::DeviceCommissioner> > >*) (new_allocator.h:153)

This seems different than a discovery failure - It seems I fixed a "use after free" when discovery was failing, but in turn this leaks when discovery is ok but sigma2 (or other communciation) issues exist. We should generally fix both, looking to understand the codepath now. It is quite unfortunate that object pool ownership is so unclear.

Ran the same thing (no sigma2) after ASAN and it looks worse - we have use after free:
[1646926660.320838][3546247:3546252] CHIP:TOO: Device commissioning Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:283: CHIP Error 0x00000032: Timeout
=================================================================
==3546247==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000458b0 at pc 0x556862d2ed4b bp 0x7fc260dda750 sp 0x7fc260dda740
READ of size 8 at 0x6140000458b0 thread T5
    #0 0x556862d2ed4a in chip::OperationalDeviceProxy::CloseCASESession() ../../examples/chip-tool/third_party/connectedhomeip/src/app/OperationalDeviceProxy.cpp:287

0x6140000458b0 is located 112 bytes inside of 424-byte region [0x614000045840,0x6140000459e8)
freed by thread T5 here:
    #0 0x7fc267d0ca79 in __interceptor_free /usr/src/debug/gcc/libsanitizer/asan/asan_malloc_linux.cpp:127
    #1 0x556862dca795 in chip::Platform::MemoryFree(void*) ../../examples/chip-tool/third_party/connectedhomeip/src/lib/support/CHIPMem-Malloc.cpp:111
    #2 0x5568630fae74 in void chip::Platform::Delete<chip::OperationalDeviceProxy>(chip::OperationalDeviceProxy*) ../../examples/chip-tool/third_party/connectedhomeip/src/lib/support/CHIPMem.h:164
    #3 0x5568630f1c9c in chip::HeapObjectPool<chip::OperationalDeviceProxy>::ReleaseObject(chip::OperationalDeviceProxy*) ../../examples/chip-tool/third_party/connectedhomeip/src/lib/support/Pool.h:349
    #4 0x55686311a002 in chip::OperationalDeviceProxyPool<64ul>::Release(chip::OperationalDeviceProxy*) ../../examples/chip-tool/third_party/connectedhomeip/src/app/OperationalDeviceProxyPool.h:64
    #5 0x556862cdf237 in chip::CASESessionManager::ReleaseSession(chip::OperationalDeviceProxy*) ../../examples/chip-tool/third_party/connectedhomeip/src/app/CASESessionManager.cpp:126
    #6 0x556862cdeef3 in chip::CASESessionManager::ReleaseSession(chip::PeerId) (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x27e4ef3)
    #7 0x5568630d25db in chip::Controller::DeviceCommissioner::OnDeviceConnectionFailureFn(void*, chip::PeerId, chip::ChipError) ../../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1510
    #8 0x556862d2e0da in chip::OperationalDeviceProxy::DequeueConnectionFailureCallbacks(chip::ChipError, bool) (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x28340da)
    #9 0x556862d2e3d8 in chip::OperationalDeviceProxy::HandleCASEConnectionFailure(void*, chip::CASEClient*, chip::ChipError) (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x28343d8)
    #10 0x556862d75276 in chip::CASEClient::OnSessionEstablishmentError(chip::ChipError) ../../examples/chip-tool/third_party/connectedhomeip/src/app/CASEClient.cpp:67
    #11 0x55686309429d in chip::CASESession::OnResponseTimeout(chip::Messaging::ExchangeContext*) (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x2b9a29d)
    #12 0x55686303a2d4 in chip::Messaging::ExchangeContext::NotifyResponseTimeout() (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x2b402d4)
    #13 0x55686303a23c in chip::Messaging::ExchangeContext::HandleResponseTimeout(chip::System::Layer*, void*) (/home/andrei/devel/connectedhomeip/out/linux-x64-chip-tool-asan/chip-tool+0x2b4023c)
...

Stack trace from ASAN:
(gdb) bt 14
#0  0x00007ffff6a1734c in __pthread_kill_implementation () from /usr/lib/libc.so.6
#1  0x00007ffff69ca4b8 in raise () from /usr/lib/libc.so.6
#2  0x00007ffff69b4534 in abort () from /usr/lib/libc.so.6
#3  0x00007ffff768a904 in __sanitizer::Abort () at /usr/src/debug/gcc/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:151
#4  0x00007ffff769663d in __sanitizer::Die () at /usr/src/debug/gcc/libsanitizer/sanitizer_common/sanitizer_termination.cpp:58
#5  0x00007ffff767517e in __asan::ScopedInErrorReport::~ScopedInErrorReport (this=0x7ffff0739ad6, __in_chrg=<optimized out>)
    at /usr/src/debug/gcc/libsanitizer/asan/asan_report.cpp:190
#6  0x00007ffff76749dc in __asan::ReportGenericError (pc=93825034390859, bp=bp@entry=140737227499344, sp=sp@entry=140737227499328, addr=106927506127024,
    is_write=is_write@entry=false, access_size=access_size@entry=8, exp=0, fatal=true) at /usr/src/debug/gcc/libsanitizer/asan/asan_report.cpp:478
#7  0x00007ffff767587c in __asan::__asan_report_load8 (addr=<optimized out>) at /usr/src/debug/gcc/libsanitizer/asan/asan_rtl.cpp:121
#8  0x0000555557d88d4b in chip::OperationalDeviceProxy::CloseCASESession (this=0x61400004f840)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/app/OperationalDeviceProxy.cpp:287
#9  0x0000555557d883ec in chip::OperationalDeviceProxy::HandleCASEConnectionFailure (context=0x61400004f840, client=0x61a000012680, error=...)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/app/OperationalDeviceProxy.cpp:226
#10 0x0000555557dcf277 in chip::CASEClient::OnSessionEstablishmentError (this=0x61a000012680, error=...)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/app/CASEClient.cpp:67
#11 0x00005555580ee29e in chip::CASESession::OnResponseTimeout (this=0x61a0000126b8, ec=0x61b000001020)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:283
#12 0x00005555580942d5 in chip::Messaging::ExchangeContext::NotifyResponseTimeout (this=0x61b000001020)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/messaging/ExchangeContext.cpp:403
#13 0x000055555809423d in chip::Messaging::ExchangeContext::HandleResponseTimeout (
    aSystemLayer=0x55555a079cc0 <chip::DeviceLayer::SystemLayerImpl()::gSystemLayerImpl>, aAppState=0x61b000001020)
    at ../../examples/chip-tool/third_party/connectedhomeip/src/messaging/ExchangeContext.cpp:391
    ```

Leak not fixed, only use after free. Have to trace the leak too (even if ASAN did not complain strangely enough).

@bzbarsky-apple @mrjerryjohns this is ready for review. I fixed the use after free and ran through both positive and negative tests on a m5stack under valgrind:

commented out sigma2 on the device, chip-tool fails after 1m with timeout, no memory errors
set mdns timeouts to 10 and 11 ms, chip-tool fails reasonably fast (19s, right after PASE as expected) with no memory errors
used the happy path a few times, chip-tool succeeded.

Also tested a EFR32 commission and it passed.


supply username after retrieving auth info

Problem
not sure if this is a correct fix, waiting for CI
Summary of changes
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

Ah, I think only PR in the main will go through e2e tests. Better to open a similar PR to main just run full set of tests


My solution for #1  enhancement

Upon application startup, it crawls all directories specified in the input and generates a hash sum for each file. If the file fake.lock.json exists in the specified directory, the hash sum is retrieved from there and compared with the current one: if the hash sum has changed, a mock is generated for it.
I would appreciate any feedback.

Thank you for your response.
"It should be nice to test if go.sum is changing for the dependencies of each file as well." Could you please provide more details? I don't understand.
"We also need to be careful in case the user is running fake many times for different packages, so the checksum would need to include which mocks are linked to which packages." When running fake at the root of the project, it already creates a mocks folder with a structure similar to the project. For example:
.
├── cmd
│   └── temp
│       ├── fake.lock.json
│       └── main.go
├── go.mod
├── go.sum
├── mocks
│   ├── cmd
│   │   └── temp
│   │       └── main.gen.go
│   ├── repository
│   │   └── repository.gen.go
│   └── service
│       └── service.gen.go
├── repository
│   ├── fake.lock.json
│   └── repository.go
└── service
    ├── fake.lock.json
    └── service.go

This is an example content of fake.lock.json. Did I understand your idea correctly?
{
    "service/service.go": {
        "hash": "79da0e3fbc505f757cd4f3a9f2841dfea5e7f15523d355e646b214a0a409d650",
        "dir": "../mocks/repository/service.gen.go "
    }
}

Thank you for your response.
"It should be nice to test if go.sum is changing for the dependencies of each file as well." Could you please provide more details? I don't understand.

Hey, thank you for your time.
I mean that an interface can have dependencies in external modules, for example,
import (
     "sql" // just a if-scenario
)

type Stub interface {
    sql.Queryer
}

It must implement sql.Queryer in this scenario, so the checksum present inside go.sum for "sql" should also be considered for invalidating it.
I also have a personal opinion that the lock file should be inside the generated mock folder. What do you think?
I added a test case for mock validity on my new commit. Feel free to base your tests out of it if necessary, as well as add any flags for checking if the cache was hit or not.

Please review

So, sorry for the delay, but I noticed a few issues here.
I noticed that you implemented the hash comparison logic inside the entrypoint/fake/main.go file. But this is just one possible execution point for the library. It can be imported externally and run as part of another Go repository. You should check hash files inside generator.go in the function Run
Another issue is that the .lock.json files are not respecting the given output folder, it's always saving to a mocks folder, but it should use the configured output folder instead.
To avoid circular dependency, we can move the walk.go file into a separate package internal/filewalk. So you can use the hashCheck package without circular dependency.
Also, please add tests. Those scenarios should be covered to avoid any issues.
If you want me to help you fix these issues, please let me know.

In this commit, I:

moved hash comparison from main.go to generator.go. Maybe I didn't get what you meant, but this created another circular dependency (hashCheck.go uses a function from generator.go). Should we move the Run function into another package to separate it from other functions in generator.go?
now it saves to a directory specified by the user
you mean add more tests?

In this commit, I:
* moved hash comparison from main.go to generator.go. Maybe I didn't get what you meant, but this created another circular dependency (hashCheck.go uses a function from generator.go). Should we move the Run function into another package to separate it from other functions in generator.go?

* now it saves to a directory specified by the user

* you mean add more tests?

I can merge this PR on a branch and fix these issues if you want, I already troubled you a lot.
I meant that the walk.go could be moved into a separate package to avoid dependencies with your package.
Yes, it would be nice to test these things I mentioned, like:

Ensure the mock was created on the given folder
Ensure that the .lock file was created on the correct folder
Ensure that caching is indeed working for a given file ( run once, create .lock, run again and check cache hit )

Also, please note that when using t.TempFolder(), we can avoid storing the files you added on your commit.
These .lock files shouldn't be commited in my opinion, nor any generated code from tests.

I can merge this PR on a branch and fix these issues if you want, I already troubled you a lot.

i think it would be good. Sorry for my awful code :)

So I will close this PR and open a new one with the fixes I did, so maybe you can give me some feedback.
Thank you!


Try to find a way to send arbitrary text to the device

Most of utterances are number or fixed-values (aka, enumerate) based.
It is necessary to find an interface to send arbitrary text to the devices.

It would be possible to use the Mode Controller interface: it allows a set of fixed values, but they are defined at discovery step.
There are some drawbacks though:

In order to add new accepted values, it is necessary to have a new discovery
By definition, it does not accept completely free text

It seems that this feature is not supported yet.
I have opened a feaqture request.


fix #546, should keep error prototype chain correctly

Fix #546, should keep error prototype chain correctly, in the original code, the ZoneAwareError will return a nativeError and lost the prototype chain

This change was reverted.


How to remove all particles manually?

Hi,
I want to manually destroy particles instead of by lifetime, how can I do?

Hi @lewiszlw,
You can't. 🎆 Hanabi is GPU driven, and having to upload a kill switch for every single particle each frame would defeat this and destroy performance. What are you trying to achieve?

Now I try to despawn ParticleEffect to achieve this, but there are some issue thrown by hanabi.

The right way to do this is either to deactivate the spawner (if you plan to reuse it later) or despawn the effect completely.
What errors do you see? Which version are you on?

I tried to deactivate the spawner, but the particles will still exists until lifetime ends.
bevy_hanabi version is 0.5.2. The error message below(despawn the effect)
thread 'Compute Task Pool (0)' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`: Broken table invariant: buffer=0 row=1', /Users/lewis/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_hanabi-0.5.2/src/render/mod.rs:1375:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/lewis/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_tasks-0.9.1/src/task_pool.rs:273:45

Yes sorry you're hitting #123 which is fixed on main but I need to release a new version on crates.io with that fix. I'll see if I can do that this week.

@lewiszlw I've released v0.5.3 with the fix for #123 can  you please try again that should fix that panic on despawning.

Verified and no panic any more! Thanks!


pic32mz support

Hi, I have noticed that there is no support for any pic32mz devices. what does it take to add support for them?
I can help with pic32mz efh devices.

There is indeed no support for pic32mz - except in pic32-config-sector for pic32mzef.
To add support, I think the following topics need to be considered:

PAC for easy register access
interrupt support (the pic32mz devices have a slightly different interrupt controller)
adaptation/extension of the HAL modules (simple things like timers, UARTs should work)
FPU support for faster floating point

Probably it makes sense to start with the PAC.


mbuffer: 20240107 -> 20240707

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/mbuffer/versions.
meta.description for mbuffer is: Tool for buffering data streams with a large set of unique features
meta.homepage for mbuffer is: https://www.maier-komor.de/mbuffer.html
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 20240707 with grep in /nix/store/rg703zx27dhmwb9dgk7kxk82zgxn1qmw-mbuffer-20240707
found 20240707 in filename of file in /nix/store/rg703zx27dhmwb9dgk7kxk82zgxn1qmw-mbuffer-20240707

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

btrbk
mbuffer
sanoid

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rg703zx27dhmwb9dgk7kxk82zgxn1qmw-mbuffer-20240707 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mbuffer https://github.com/r-ryantm/nixpkgs/archive/3aaf535569297cfde6cd70328285592cbf8e4f4e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3aaf535569297cfde6cd70328285592cbf8e4f4e#mbuffer

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rg703zx27dhmwb9dgk7kxk82zgxn1qmw-mbuffer-20240707
ls -la /nix/store/rg703zx27dhmwb9dgk7kxk82zgxn1qmw-mbuffer-20240707/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

btrbk
mbuffer
sanoid

Maintainer pings

Result of nixpkgs-review pr 325692 run on aarch64-linux 1

3 packages built:

btrbk
mbuffer
sanoid


Fixed french translation

Fixed from #37

Added a way to log, better than #33 i think

Please, don't do many changes in one PR. I'm currently not willing to merge the logger.

kay i'll open new pr later


Unsound type inference with arithmetic operators

Consider the following function:
let f = (a, b) => a + b

The inferred type is
<T: bigint | number | string>(T, T) => T

This might seem correct, but actually is unsound:
let f = (a, b) => a + b

const a: number | bigint = 1;
const b: number | bigint = 1n;

const x = f(a, b); // TypeError thrown

This applies to all arithmetic operators.

it's not inference problem inference is 100% legit
let f = <T: string | number>(a: T, b: T) => a + b

const a: string | number = 1
const b: string | number = 'cotne'

void f(a, b) // should error and does not

try
but generics should not allow usage of unions
because while function accepts both string and number it does not accepts both of them at same time if it did then generics are not needed

but generics should not allow usage of unions

They should allow it, but that's not what should be inferred in this case.


FindElement

Searches for a specific key within an array and returns its index, asserting the validity of the index and size constraints.
Reference : https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/find_element.cairo#L29
Depends on #245 for accessing global variables.

Hello @rodrigo-pino , @cicr99  can I please get this assigned to me if it's still available. Thanks

Sure @Accelerate-XLR8 , it's yours! Please check also #164  description which has some resources that might be useful for this task. And let us know if you have any questions

Hi @Accelerate-XLR8
Are you still working on this issue? If you are not, please let us know so someone else can work on it


Add to pipy

Add the project to pipy as your readme guides how to install through that.

Done in f0c29efd027640f00ab41e7ca0f6bec0d107dd76


April 29, 2020 Release

Codecov Report

Merging #649 (663bd10) into master (c2f3f0f) will decrease coverage by 0.35%.
The diff coverage is 9.10%.

@@            Coverage Diff             @@
##           master     #649      +/-   ##
==========================================
- Coverage   50.94%   50.59%   -0.34%
==========================================
  Files          30       30
  Lines        1180     1188       +8
  Branches      154      161       +7
==========================================
  Hits          601      601
- Misses        575      581       +6
- Partials        4        6       +2

Impacted Files
Coverage Δ

...bigquery-export/scripts/gen-schema-view/src/udf.ts
44.45% <ø> (ø)

firestore-send-email/functions/src/config.ts
100.00% <ø> (ø)

firestore-send-email/functions/src/index.ts
5.77% <0.00%> (-0.31%)
:arrow_down:

storage-resize-images/functions/src/util.ts
100.00% <100.00%> (ø)

...tore-translate-text/functions/src/logs/messages.ts
81.82% <0.00%> (ø)


SP5: Implement Population Plot from SP4

I found population plots to be a very a useful data validation visual to convince stubborn users of models bucketed/histogram-driven data characterization models. Specifically, I used 'uniform population series' overlaid on top of the model which was displayed as bar graph. It was very effective!
https://scottplot.net/cookbook/4.0/#plottypes-populations---uniform-population-series

This would be a great addition to the Scott-plot 5.


Deploy to prod 01/16/23 - revert to recipes 0.9.2

Reverts changes which broke production deployment

TODO: before merging, pin requirements to recipes 0.9.2. Runner does not do this for us.


Display LSP initialization errors

I was confused why a LSP wasn't loading when I opened a project in lapce, and  trying a variety of things to reinitialize lapce, including moving config folders, using the "Reload window" command, when the actual problem was that rust analyzer had problems with my cargo.toml file and wasn't starting up correctly.
[2022-07-19][11:55:54][lapce_proxy::lsp][ERROR] [LSP::rust] [ERROR rust_analyzer::lsp_utils] rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file <project  dir>/Cargo.toml, cargo 1.62.0 (a748cf5a3 2022-06-08): Failed to run `"cargo" "metadata" "--format-version" "1" "--manifest-path" "<project  dir>/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu"`: `cargo metadata` exited with an error: error: failed to select a version for `tokio`.
[2022-07-19][11:55:54][lapce_proxy::lsp][ERROR] [LSP::rust] ... required by package `<project> v0.1.0 (<project  dir>)`
[2022-07-19][11:55:54][lapce_proxy::lsp][ERROR] [LSP::rust] versions that meet the requirements `^1.19` (locked to 1.19.2) are: 1.19.2
[2022-07-19][11:55:54][lapce_proxy::lsp][ERROR] [LSP::rust] the package `<project>` depends on `tokio`, with features: `tokio_unstable` but `tokio` does not have these features.
[2022-07-19][11:55:54][lapce_proxy::lsp][ERROR] [LSP::rust] failed to select a version for `tokio` which could resolve this conflict

These kinds of errors should be displayed somewhere, not just in the command line output of a debug build so that users know why the LSP isn't active.  Myabe some kind of bright red error symbol where the LSP initialization text usually is?

We have notifications since some time now that inform user when something is wrong about plugin/LSP


Adds p.MidpointTo(p2)

Following http://www.movable-type.co.uk/scripts/latlong.html

:shipit: :+1:


Mail sending seems broken on iOS

Filed https://github.com/expo/expo/issues/24613 to dig into this further

This looks like an issue with phone setups and apple mail composer, not sure we have something we can do here?


Modify labelImg.py to solve an error when naming the .xml file

A line was commented out because there was an error. When a box was drawn around an object and then saved, the file had a termination ".xml.xml" instead of just ".xml". The modified version was tested on Ubuntu 16.04 using Python 3 + Qt5.

I noticed that error, that will improve things quite a bit!

Awesome, thanks! Hopefully @tzutalin can merge soon.

I was testing this code out some more today, and I noticed that it introduces another bug. If you specify a default save directory, the program saves the label files w/o an extension, and you experience issue #293 all over again. As such, I'll reopen #299 and wait for tzutalin's feedback.


core dump for certain data input

pkls.zip
import lightgbm as lgb
import pickle

def load_obj(name):
    with open(name, 'rb') as f:
        return pickle.load(f)

obj_data = load_obj("dtrain_test_0_316_39_0.4_1_10.pkl")
(X_train, y_train, X_test, y_test) = obj_data

args = load_obj("lgb_args_0_316_39_0.4_1_10.pkl")
(lgbm_params, dtrain, iterations, dtest) = args
lgb.train(lgbm_params, dtrain, num_boost_round=iterations, valid_sets=dtest, verbose_eval=0)

This seems to be caused by all 0's in y, but not sure.  But in any case, this shouldn't case a core dump:
LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
[LightGBM] [Warning] boost::filesystem::create_directory: No such file or directory
terminate called without an active exception
Aborted (core dumped)

This is using boost=1.58 on standard install of Ubuntu 16.04 with cuda 9.0 and 3 NVIDIA Titan-X Maxwell boards.

Actually, fixing all 0's in y doesn't help.  Another case that fails with normal looking y's is:
pkls2.zip
import lightgbm as lgb
import pickle

def load_obj(name):
    with open(name, 'rb') as f:
        return pickle.load(f)

obj_data = load_obj("dtrain_test_0_100_15_0.6_1_10.pkl")
(X_train, y_train, X_test, y_test) = obj_data

args = load_obj("lgb_args_0_100_15_0.6_1_10.pkl")
(lgbm_params, dtrain, iterations, dtest) = args
lgb.train(lgbm_params, dtrain, num_boost_round=iterations, valid_sets=dtest, verbose_eval=0)

But this works:
import lightgbm as lgb
import pickle

def load_obj(name):
    with open(name, 'rb') as f:
        return pickle.load(f)

obj_data = load_obj("dtrain_test_0_100_15_0.6_1_10.pkl") #dtrain_test_0_316_39_0.4_1_10.pkl")
(X_train, y_train, X_test, y_test) = obj_data

args = load_obj("lgb_args_0_100_15_0.6_1_10.pkl") #lgb_args_0_316_39_0.4_1_10.pkl")
(lgbm_params, dtrain, iterations, dtest) = args
lgbm_params['device_type'] = 'cpu'
lgbm_params.pop('gpu_device_id', None)
lgb.train(lgbm_params, dtrain, num_boost_round=iterations, valid_sets=dtest, verbose_eval=0)

@pseudotensor can this be run by cpu ?

Yes, that's what I'm saying by the above code.  It works when forcing cpu.

ping @huanzhang12

It looks like a boost version incompatibility problem. What is the  current boost version installed in your system? Can you recompile LightGBM from scratch once again with the boost in system?

As mentioned above, it's boost=1.58 as default on Ubuntu 16.04.  These were installed the standard way:
sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev cmake

Note that I can run lightgbm on gpu for many other cases and there is no problems.  It's not happening every time.
I already always compile lightgbm from scratch via:
rm -rf LightGBM ; result=`git clone --recursive https://github.com/Microsoft/LightGBM`
cd LightGBM
mkdir build
cd build
cmake .. -DUSE_GPU=1 -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DOpenCL_LIBRARY=$(CUDA_HOME)/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=$(CUDA_HOME)/include/
make OPENCL_HEADERS=$CUDA_HOME/targets/x86_64-linux/include LIBOPENCL=$CUDA_HOME/targets/x86_64-linux/lib -j
cd ../python-package
python setup.py install --precompile --gpu
cd ../
python -m pip install arff tqdm keras runipy h5py

This is likely caused by the ABI changed in GCC 5.1: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
Probably the Boost library installed in the system and LightGBM was compiled by different GCC versions (for example, gcc 4.8.4 and gcc 5.4.0)

Sounds plausible.  Let's close.


🐛 Bug: README.md badges don't have sufficient white-on-green color contrast

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
https://webaim.org/articles/contrast: all text in the README.md should have >= 3.5:1 color contrast between foreground and background text.
Actual
The badges I've been using -which, I should add, use pretty a common default green 😬- only have 2.68:1: https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=21BB42.
Additional Info
The images do apply a shadow of #218334:

...but that's only underneath the text. So my hunch is it really only "counts" halfway.

I like #289835:

...but the codecov badge will need to updated with a custom range of colors, I think. Blocked on https://github.com/badges/shields/issues/994 -> https://github.com/badges/shields/issues/9890.


The log isn't created upon launch

The enabler is not working and I'm unable to provide a log because there isn't one

I have the launch option pasted in and my factorio version is latest stable

@oorzkws

I also don't see an output.log

In my testing, it worked in cmd but not in powershell. These are the steps I followed, let me know if it works.

cd /d X:\Path\To\Factorio\bin\x64
echo 427520 > steam_appid.txt
factorio.exe > out.txt

Same, it only works through cmd, not powershell

@oorzkws My log is attached - is this still functional in the latest version of Factorio?
output.log

@ER-95 It's still working for me, though it's been some time since I've actually hit any new achievements. Are you seeing any issues on your end? The log shows one more match than I expect, I'll have to go through the latest factorio version and see if they changed some internals.

is there a way to get the log to produce when running from steam? I have everything set properly.

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.