Bean has no getName() method

Hi, as of now (*) I could not find the getName() method, that is mentioned in the §"List nearby Bean(s)" of README.md. Did I miss anything?
Thanks for any help.
(*) commit ebff765d9c45a3fbd4fb20d404c0d4b18a718d8e

Hi @pbauermeister , thanks for reporting this issue!  You are absolutely correct about the getName() method being missing on the Bean ... I will have it fixed today.

This PR updates README, will get merged soon, https://github.com/PunchThrough/Bean-Android-SDK/pull/4

@pbauermeister the README has been updated, please let us know if you have any other issues!

With the fixed README, now I get my app to build and work as expected. Thanks for your prompt support!


[supply] force a track promotion

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[ ] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.
[ ] I've added or updated relevant unit tests.

Motivation and Context

Resolves #18497
The AndroidPublisherV3 API now returns only the latest version of each track instead of multiple versions as before. This created a difficulty when trying to promote older versions, as they were not being returned by the API. See fastlane/fastlane#18497 for more info.
To work around this issue, a solution was implemented to force the submission of the version with version_code = 1, requiring the inclusion of the --version_name parameter and also the --track_promote_force parameter. This ensures that the older version is submitted correctly, even after the change in the API.
Description

In supply/lib/supply/uploader.rb, a new condition has been introduced to validate whether the user wants to force the promotion of a track (--track_promote_force). If this option is triggered, the use of the --version_name parameter becomes mandatory. Consequently, the values of name and version_codes are overridden by the information provided through the parameters. This ensures that the older version is correctly sent, even in the face of changes to the API.
Testing Steps

To diagnose the issue, simply attempt to promote an older version.
In my case, 870871 is an older version, with newer ones ahead, such as 870872, 870873...
When attempting to promote this version using Fastlane version 2.220.0, I receive the following error:
[!] Track 'internal' doesn't have any releases
After making the changes locally and rerunning the script to promote the version, it worked correctly.
❌ Error Case:
+----------------------------------------------------------------------------------------------------+
|                                     Summary for supply 2.220.0                                     |
+------------------------------------+---------------------------------------------------------------+
| version_name                       | 870871 (11.36.3)                                              |
| version_code                       | 870871                                                        |
| track                              | internal                                                      |
| track_promote_to                   | production                                                    |
| track_promote_release_status       | completed                                                     |
| json_key                           | service_account.json                                          |
| package_name                       | com.kobe.dengo                                                |
| skip_upload_apk                    | true                                                          |
| skip_upload_aab                    | true                                                          |
| skip_upload_metadata               | true                                                          |
| skip_upload_changelogs             | true                                                          |
| skip_upload_images                 | true                                                          |
| skip_upload_screenshots            | true                                                          |
| release_status                     | completed                                                     |
| sync_image_upload                  | false                                                         |
| validate_only                      | false                                                         |
| check_superseded_tracks            | false                                                         |
| timeout                            | 300                                                           |
| deactivate_on_promote              | true                                                          |
| changes_not_sent_for_review        | false                                                         |
| rescue_changes_not_sent_for_review | true                                                          |
| ack_bundle_installation_warning    | false                                                         |
+------------------------------------+---------------------------------------------------------------+

✅ Success Case:
+----------------------------------------------------------------------------------------------------+
|                                     Summary for supply 2.220.0                                     |
+------------------------------------+---------------------------------------------------------------+
| version_name                       | 870871 (11.36.3)                                              |
| version_code                       | 870871                                                        |
| track                              | internal                                                      |
| track_promote_to                   | production                                                    |
| track_promote_release_status       | completed                                                     |
| track_promote_force                | true                                                          |
| json_key                           | service_account.json                                          |
| package_name                       | com.kobe.dengo                                                |
| skip_upload_apk                    | true                                                          |
| skip_upload_aab                    | true                                                          |
| skip_upload_metadata               | true                                                          |
| skip_upload_changelogs             | true                                                          |
| skip_upload_images                 | true                                                          |
| skip_upload_screenshots            | true                                                          |
| release_status                     | completed                                                     |
| sync_image_upload                  | false                                                         |
| validate_only                      | false                                                         |
| check_superseded_tracks            | false                                                         |
| timeout                            | 300                                                           |
| deactivate_on_promote              | true                                                          |
| changes_not_sent_for_review        | false                                                         |
| rescue_changes_not_sent_for_review | true                                                          |
| ack_bundle_installation_warning    | false                                                         |
+------------------------------------+---------------------------------------------------------------+

bumping this one, I actually started working on similar, without this we can't promote older builds on Android which is tough if you are shipping betas often.

@rogerluan, could you take a look here?


Added test case for the parse() function

Added new test file as well as a definition in the test suite.

Remove this PR now. You want to merge into master !!!!

Codecov Report

Merging #135 into lab3 will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             lab3     #135      +/-   ##
==========================================
+ Coverage   69.74%   69.75%   +0.01%
==========================================
  Files         107      107
  Lines        7334     7334
  Branches     1388     1388
==========================================
+ Hits         5115     5116       +1
+ Misses       1793     1792       -1
  Partials      426      426

Impacted Files
Coverage Δ

src/main/java/com/jsoniter/spi/OmitValue.java
88.37% <0%> (+1.16%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #135 into lab3 will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             lab3     #135      +/-   ##
==========================================
+ Coverage   69.74%   69.75%   +0.01%
==========================================
  Files         107      107
  Lines        7334     7334
  Branches     1388     1388
==========================================
+ Hits         5115     5116       +1
+ Misses       1793     1792       -1
  Partials      426      426

Impacted Files
Coverage Δ

src/main/java/com/jsoniter/spi/OmitValue.java
88.37% <0%> (+1.16%)
:arrow_up:

Continue to review full report at Codecov.

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

You want to merge into master !!!! I change it to lab
Straight to master, only way I do it.


Automated cherry pick of #2477: fix: use policy match weight to override less specific policy

Cherry pick of #2477 on release/2.12.
#2477: fix: use policy match weight to override less specific policy

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@f632cae). Click here to learn what that means.
The diff coverage is 70.87%.

@@              Coverage Diff               @@
##             release/2.12   #2534   +/-   ##
==============================================
  Coverage                ?   7.18%
==============================================
  Files                   ?     458
  Lines                   ?   72251
  Branches                ?       0
==============================================
  Hits                    ?    5194
  Misses                  ?   66627
  Partials                ?     430

Flag
Coverage Δ

#aFlag
7.18% <70.87%> (?)

Impacted Files
Coverage Δ

pkg/util/stringutils2/sortedstrings.go
52.52% <0%> (ø)

pkg/cloudcommon/policy/policy.go
1.54% <0%> (ø)

pkg/util/rbacutils/rbac.go
53.15% <81.57%> (ø)

pkg/util/rbacutils/reduce.go
86.36% <86.36%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


[BUG] Malformed Packet

I can't send a packet that weighs about more than 1600 bytes.
C→S: [Resource Pack Client Response] (I receive confirmation that it is possible to send a "Start Game" packet)
S→C: [Start Game] (I am sending a packet that is about more than 1600 bytes and nothing happens, but in the wireshark program it shows a "malformed packet");
I guarantee that the interaction with the client was correct before, which means that the problem is in the library.
It seems that the library cannot split the packet into raknet fragments in order to send it to the client in parts.

1 screen (
1 packet is | C→S: The client's response to the resource package,
2 packet is | S→C: Start game
Which is about more than 1600 bytes
)
screen 2, the same data, but I have reduced the "Start Game" packet.
Moreover, I receive a large "Login" package from the client without any problems. (screen 3)

I used a translator, so the message may be incorrect.

Have you tried using #38?

nevermind, can you provide your code sample for me please, so i have a better understanding of this issue?

I wrote to you in the discord

I wonder how this was never spotted in the raknet impl while developing Netrex

I have had the same issue for months, tho my StartGamePacket is only 254 bytes

definitely an oversight from lack of tests. I will work on this soon:tm:


clean tool -h option requires loading of build.ninja

The clean tool requires to load the manifest, even with only the -h option passed. I think it should not need to load the manifest, but just show the help and exit.

I was testing with Ninja 1.6.0, not the current HEAD revision of this repository. This issue has been fixed somewhere since 1.6.0. :)


MRG: Use info to get NIRS metadata, not raw

Reference issue
Addresses https://github.com/mne-tools/mne-python/pull/9141#discussion_r610730226.
What does this implement/fix?
Use the info field to get NIRS frequencies and chromophores, not the raw structure.
Additional information
Extension of @rob-luke's work with #9280.
This should enable usage in functions that only have access to info, like set_montage.

Fantastic, thanks @HanBnrd

Not sure if I am allowed to merge PR?, so I just hit approve. So I will leave to @larsoner or @drammock.

Thanks @larsoner, I will hit the button from now on if there is already another approval and its fnirs related


Unexpected failure

Cool project idea. 😄
I tried plugging it into one of my React libs this morning and noticed a failure that I didn't expect. I reduced to the following case in case you're interested:
✓ This passes:
var Foo;
Foo = function (props) {
};
export { Foo };

✓ This passes:
var Foo = function (props) {
};
Foo.defaultProps = {
};
export { Foo };

✘ This fails:
var Foo;
Foo = function (props) {
};
Foo.defaultProps = {
};
export { Foo };

@bvaughn This is a rollup issue, I've just reported it over there - https://github.com/rollup/rollup/issues/2562
Just a note - webpack & uglifyJS would be able to remove only the first one.

Failed to tree-shake build/three.module.js.
Agadoo is working with Three.js?

same here with other (private) libraries...


Select Option Click - Model getting closed automatically

Hi Team,
I get to these logs in my browser console, after I pulled my latest code changes.
_in for {$editables: Array(1), $visible: true, $waiting: false, $data: {…}, clicked: false, …}  xeditable.js:1505
https://github.com/vitalets/angular-xeditable/blob/master/dist/js/xeditable.js#L1505
Code, which worked till last evening is not working today. Weird behavior, every time I click on the select option value/text the model closes.
Package.json - xediatble version => vitalets/angular-xeditable#~0.10.0
"@bower_components/angular-xeditable": "vitalets/angular-xeditable#~0.10.0",
I updated ther version and I still get this error for "^0.10.2"
Regards,
Santosh

What error are you getting?
Do you have  plunker/jsfiddle showing your error (or does the demo site exhibit the same issue)?


Fix #1760: Add IRVersionNotSupportedIOException on IR deserialization.

In this case I explicitly removed the compatibility for 0.6.4 and this is how the new message would look like:
[error] (comp/test:scalaJSLinkingUnitClasspath) java.io.IOException: Requires Scala.js 0.6.4 (or compatible version).
[error] Caused by: Failed to deserialize info of /Users/nastucki/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.4.jar#scala/math/Ordering$Byte$.sjsir
[error] Total time: 3 s, completed Jul 30, 2015 4:15:08 PM

In debug mode or with last:
[debug]
java.io.IOException: Requires Scala.js 0.6.4 (or compatible version).
Failed to deserialize info of /Users/nastucki/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.4.jar#scala/math/Ordering$Byte$.sjsir
	at org.scalajs.core.tools.io.VirtualSerializedScalaJSIRFile$class.info(VirtualFiles.scala:143)
	at org.scalajs.core.tools.io.MemVirtualSerializedScalaJSIRFile.info(MemFiles.scala:104)
	at org.scalajs.core.tools.optimizer.Linker$PersistentIRFile.updateFile(Linker.scala:339)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$17.apply(Linker.scala:301)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$17.apply(Linker.scala:298)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
	at org.scalajs.core.tools.optimizer.Linker.org$scalajs$core$tools$optimizer$Linker$$updateFiles(Linker.scala:298)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$1.apply(Linker.scala:64)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$1.apply(Linker.scala:64)
	at org.scalajs.core.tools.optimizer.package$.logTime(package.scala:19)
	at org.scalajs.core.tools.optimizer.Linker.link(Linker.scala:64)
	at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:243)
	at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:234)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.scalajs.core.ir.InfoSerializers$IRVersionNotSupportedIOException: This version (0.6.4) of Scala.js IR is not supported. Supported versions are: 0.6.0, 0.6.3
	at org.scalajs.core.ir.InfoSerializers$Deserializer.readHeader(InfoSerializers.scala:149)
	at org.scalajs.core.ir.InfoSerializers$Deserializer.deserialize(InfoSerializers.scala:100)
	at org.scalajs.core.ir.InfoSerializers$.deserializeWithVersion(InfoSerializers.scala:35)
	at org.scalajs.core.ir.InfoSerializers$.deserialize(InfoSerializers.scala:31)
	at org.scalajs.core.tools.io.VirtualSerializedScalaJSIRFile$class.info(VirtualFiles.scala:133)
	at org.scalajs.core.tools.io.MemVirtualSerializedScalaJSIRFile.info(MemFiles.scala:104)
	at org.scalajs.core.tools.optimizer.Linker$PersistentIRFile.updateFile(Linker.scala:339)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$17.apply(Linker.scala:301)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$17.apply(Linker.scala:298)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
	at org.scalajs.core.tools.optimizer.Linker.org$scalajs$core$tools$optimizer$Linker$$updateFiles(Linker.scala:298)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$1.apply(Linker.scala:64)
	at org.scalajs.core.tools.optimizer.Linker$$anonfun$1.apply(Linker.scala:64)
	at org.scalajs.core.tools.optimizer.package$.logTime(package.scala:19)
	at org.scalajs.core.tools.optimizer.Linker.link(Linker.scala:64)
	at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:243)
	at org.scalajs.sbtplugin.ScalaJSPluginInternal$$anonfun$18.apply(ScalaJSPluginInternal.scala:234)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (comp/test:scalaJSLinkingUnitClasspath) java.io.IOException: Requires Scala.js 0.6.4 (or compatible version).
[error] Failed to deserialize info of /Users/nastucki/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.4.jar#scala/math/Ordering$Byte$.sjsir
[error] Total time: 3 s, completed Jul 30, 2015 4:15:08 PM

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2027/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2620/
Test PASSed.

The message will look like this with this new version:
[error] (comp/compile:scalaJSLinkingUnitClasspath) org.scalajs.core.ir.InfoSerializers$IRVersionNotSupportedException: Failed to deserialize info of /Users/nastucki/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.4.jar#scala/math/Ordering$Byte$.sjsir
[error] Caused by: This version (0.6.4) of Scala.js IR is not supported. Supported versions are: 0.6.0, 0.6.3

Also the exception will be the IRVersionNotSupportedException.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2030/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2624/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2031/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2625/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2032/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2626/
Test PASSed.

The commit message is outdated.

I think we should not rely on exception messages for display to the user. The exception messages are purely for debugging and should not be shown to a user if the program is bug free.
I believe the right approach to this is to catch the exception in the sbt plugin and log an error message. @sjrd what is your take on this?

I'd propose the following:
case class IRVersionNotSupportedException(version: String, supported: Set[String]) extends IOException(IRVersionNotSupportedException.mkMessage(version, supported))

And throw it in InfoSerializers.
Leave VirtualFiles unchanged.
In the linker, catch IOExceptions and log to the logger whenever it fails (and then rethrow).
Catch block could look something like this:
} catch {
  case ex: IOException =>
    val causes = Stream.iterate(ex)(_.getCause).takeWhile(_ != null).reverse
    val msg = causes.collectFirst {
      case IRVersionNotSupportedException(version, supported) =>
        s"This version ... "
    } getOrElse {
      s"Unknown exception: ${ex.getMessage}"
    }
    throw ex
}

I think a question we have to answer is: Is it an implementation detail, that VirtualSerializedScalaJSIRFile uses InfoSerializers under the hood? If yes, we cannot propagate its exceptions. If no, it is ok to do so, but it's unclear to me how we properly chain them. Looking through the cause chain also seems like a hack...

This guy thinks that in error handling we should ignore the decoupling of the architecture. That is probably reasonable, but in this case we do exception handling: I.e. if it occurs, it doesn't mean the program has a bug, just that an exceptional condition occurred (Scala.js doesn't have a bug if a user wants us to load bad files).
Therefore, I think the abstraction should probably be preserved (meaning my proposal is bad). But that means we need an additional exception... :S

Note that, at the end of the day, the only way you can fail an sbt task (and hence prevent dependent tasks to execute) is to let an exception bubble up.

Yes. But we shouldn't tailor the exceptions in the tools library so that they work well with sbt but don't make sense otherwise.

I decoupled a bit the dependencies on the exception, now tools knows about the IRVersionNotSupportedException and then the tools just throw an IOException with a new message which would look like:
[error] (comp/compile:scalaJSLinkingUnitClasspath) IOException: Failed to deserialize info of file compiled with Scala.js 0.6.4 (supported: 0.6.0, 0.6.3): /Users/nastucki/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.4.jar#scala/math/Ordering$Byte$.sjsir

This seams to decouple the exception dependencies while also giving the user a meaningful message.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2048/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2653/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2049/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2655/
Test FAILed.

updated

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2053/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2660/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2052/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2659/
Test PASSed.

LGTM


Support webpack:// relative URLs

webpack and many webpack loaders generate source map paths with a webpack:// relative URL. This supports passing them through the path resolver just like https? URLs.

Sorry, I forgot to open a PR for this! I've been using it in development and production for 2 months now.


vscode.env.openExternal returns false when Copy button is clicked from the modal

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.87.2
OS Version: 14.3.1 (23D60)

Steps to Reproduce:

Execute vscode.env.openExternal
The modal window opens up (Screenshot attached)
Click on Copy button
The promises resolves with falsy value

The function should not resolve if the copy button is clicked.

The function should not resolve if the copy button is clicked.

The link wasn't opened so returning false seems correct

@mjbvz That is correct, but clicking on Copy shouldn't resolve it. Instead, it should keep the dialog intact and copy the link to the clipboard only. This function should resolve only when we either Click Open or Cancel.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


docs: adding content about adding operations

Fix: https://github.com/asyncapi/website/issues/1512
Content:
Meaning of operations
Steps for adding operations
Types of operations
Work: GSoD 2023 Issue
Continuation: https://github.com/asyncapi/website/pull/2171
The previous pull request was closed due to release of spec v3

I am reviewing all titles and order in this same PR, I  def am not waiting around for future PRs to do that 😂😄✌🏽
That said, I DO plan to open a future PR to add cross linking just as you mentioned; it's just easier to merge all the new pages and then do a single cross linking PR when all the pages get merged first.

/rtm


Update filter lists to 9.49.1 with EasyList Version:<PHONE_NUMBER>30.

EasyList Version:<PHONE_NUMBER>30

@jkarlin 9.49.1 PTAL, thanks.

Please add the version of easylist in the title of this PR

Please add the version of easylist in the title of this PR

Done.


Add example of readPreference in connection string

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: js-kyle sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@js-kyle : Thanks for your contribution! The author, @vidhoonv, has been notified to review your proposed change.

@vidhoonv @slyons - Would you review the proposed changes? Thanks

@sivethe can you please review the proposed code changes?

@js-kyle just confirming, did you execute this code block? do you have the full sample hosted somewhere?

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @vidhoonv, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@v-shils can you please merge.


[py2py3] Python3 list sort built-in takes no positional arguments

Impact of the bug
WMCore in general
Describe the bug
Another popular issue while integrating python3 unit tests in our jenkins CI.
Python3 list sort built-in does not take any positional arguments, where many of our MySQL bind handling fails, see [1]
How to reproduce it
Run the DBSBufferFile unit test provided in the details
Expected behavior
List sorting functionality should remain intact and work in both python2 and python3 :-D
Additional context and error message
Documentation: https://docs.python.org/3.8/library/stdtypes.html#list.sort
[1]
======================================================================
ERROR: _testProperties_
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmwm/wmcore_unittest/WMCore/test/python/WMComponent_t/DBS3Buffer_t/DBSBufferFile_t.py", line 41, in setUp
    locationAction.execute(siteName="se1.cern.ch")
  File "/home/dmwm/wmcore_unittest/WMCore/src/python/WMComponent/DBS3Buffer/MySQL/DBSBufferFiles/AddLocation.py", line 23, in execute
    self.dbi.processData(self.sql, binds, conn = conn,
  File "/home/dmwm/wmcore_unittest/WMCore/src/python/WMCore/Database/DBCore.py", line 172, in processData
    r = self.executebinds(s, b, connection=connection,
  File "/home/dmwm/wmcore_unittest/WMCore/src/python/WMCore/Database/MySQLCore.py", line 126, in executebinds
    s, b = self.substitute(s, b)
  File "/home/dmwm/wmcore_unittest/WMCore/src/python/WMCore/Database/MySQLCore.py", line 77, in substitute
    bindVarNames.sort(stringLengthCompare)
TypeError: sort() takes no positional arguments
-------------------- >> begin captured logging << --------------------
root: DEBUG: Tables for WMComponent.DBS3Buffer created
--------------------- >> end captured logging << ---------------------

Instead of creating a new issue, let me reopen this one.
JobCreatorPoller ParentlessMergeBySize algorithm crashes when sorting its input files (dict objects). Traceback from Py3 WMAgent 1.5.2.pre1 is:
2021-08-08 23:38:42,204:140056173451008:INFO:JobCreatorPoller:Found end in iteration over subscription 296
2021-08-08 23:38:42,276:140056173451008:ERROR:JobCreatorPoller:Failed to execute JobCreator. Error: sort() takes no positional arguments
Traceback (most recent call last):
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMComponent/JobCreator/JobCreatorPoller.py", line 420, in algorithm
    self.pollSubscriptions()
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMComponent/JobCreator/JobCreatorPoller.py", line 555, in pollSubscriptions
    wmbsJobGroups = next(jobSplittingFunction)
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMComponent/JobCreator/JobCreatorPoller.py", line 93, in runSplitter
    groups = jobFactory(**splitParams)
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMCore/JobSplitting/JobFactory.py", line 96, in __call__
    self.algorithm(*args, **kwargs)
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMCore/JobSplitting/ParentlessMergeBySize.py", line 210, in algorithm
    self.defineMergeJobs(groupedFiles[pnn])
  File "/data/srv/wmagent/v1.5.2.pre1/sw/slc7_amd64_gcc630/cms/wmagentpy3/1.5.2.pre1/lib/python3.8/site-packages/WMCore/JobSplitting/ParentlessMergeBySize.py", line 126, in defineMergeJobs
    mergeableFiles.sort(fileCompare)
TypeError: sort() takes no positional arguments

I will try getting a quick fix in for this one, just so I can resume testing the agent. However, we should scan WMCore code for other places where we can have the same exception and get those fixed as well.

(changing the assignees to better reflect who is working on this topic today)

Hello @amaltaro!

However, we should scan WMCore code for other places where we can have the same exception and get those fixed as well.

I had a quick search with this regex [.]sort[(].*[)] (trying to use a simple and as generic as possible one) and there is only one instance in which we do not use the keyword arguments (that is not already covered by Eric in #10720 ):
https://github.com/dmwm/WMCore/blob/74bd93ca5ebd50c7b84e72223074ef7945dfce21/src/python/WMCore/REST/Server.py#L188-L191
Should I create a new issue or should we ask Eric's (our current sorting ninja) if he wants to have a look and add it to his PR?
FYI: @goughes

@mapellidario Dario, thanks for checking this. I guess I can create a PR request fixing it (this issue).

As discussed over slack, I hand this one back to you Dario @mapellidario ;)


Documentation for ol.View.fitGeometry

I am attempting to do something similar to this example of yours... http://openlayers.org/en/v3.3.0/examples/center.html?q=advanced+view
but I cannot for the life of me find any documentation on ol.View.fitGeometry. Is this in the pipeline?

http://openlayers.org/en/v3.4.0/apidoc/ol.View.html?unstable=true#fitGeometry
Make sure to uncheck the stable only checkbox in the top right. Next release will have this unchecked by default.

That was what it was. Thanks for the suggestion. Sorry for the delay in getting this response back to you.


Update APT welcome page

TODO:

[x] Update link URLs
[x] Add appropriate icons
[ ] Update video URL
[ ] Update template links

Addresses

https://github.com/NASA-IMPACT/nasa-apt/issues/690
https://github.com/NASA-IMPACT/nasa-apt/issues/675

Sign up link below header

Sign up link at the bottom of the page

FYI @frozenhelium I removed the video component because the video won't be ready in time for our production deployment. I will merge this to staging once the tests are finished


Add custom widget cog menu items

We want to support Apps being able to define cog menu items for custom widgets.
Docs PR: https://github.com/DataDog/apps/pull/20.

Thanks for the review!


Fix typo: The Readme is greener

Thanks for the PR! It has been accepted into our internal repository. Once it's approved there it will reappear in this repo soon in a weekly sync. When that happens, this pr will be closed, and the commits associated with it will appear (squashed) in the main branch credited to the original author(s).

This has been synced. Thanks!


since Vite 3.0.0-alpha.5 with 2.0.0 -alpha.1 legacy plugin is producing code incompatible with ie 11

Describe the bug
In polyfills-legacy arrow functions are being used which are not valid syntax for IE 11.
Reproduction
https://github.com/RtVision/vite-alpha-legacy-repro
System Info
System:
    OS: Linux 5.15 Gentoo/Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    Memory: 19.03 GB / 26.78 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.13.1 - /usr/bin/node
    Yarn: 1.22.18 - ~/.local/share/pnpm/yarn
    npm: 8.6.0 - /usr/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/bin/watchman
  Browsers:
    Firefox: 91.7.0esr
  npmPackages:
    @vitejs/plugin-legacy: ^2.0.0-alpha.1 => 2.0.0-alpha.1
    vite: ^3.0.0-alpha.12 => 3.0.0-alpha.12

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

It happens with plugin-legacy 1.8.2 and vite 3.0.0-alpha.5.
But it does not happen with plugin-legacy 1.8.2 and vite 3.0.0-alpha.4.


Library: Add table block variants

This ticket has a dependency of #86 to be completed first.
Table block w/ variants need to be added to the library.
So far the 2 places we have tables are

https://main--888de--aemsites.hlx.page/888club/level-struktur
https://main--888de--aemsites.hlx.page/sicherheit-datenschutz/cookie-unternehmenspolitik

Use the Accordion example for having multiple variants on the same Word doc:
https://main--888de--aemsites.hlx.page/tools/sidekick/library/blocks/accordion

library is updated with table block.


Question: what does this error mean?

While trying to georeference a dataset by lat&long, I got this error:
Analysis A1 failed: function st_makepoint(text, text) does not exist

I'm not too sure of who to ask (so let me know if I need to ask somewhere else), but, in case it is here... what does that error mean?

PostGIS ST_MakePoint (which runs behind the scenes when applying Georeference analysis with Lat/Long option)  need numeric fields as arguments. You need to convert both columns using the UI or SQL (SELECT *, latitude::numeric, longitude::numeric from populated_places_usa).

Great, thanks @ramiroaznar! I will create a new ticket in our design repo to come up with a more user-friendly message for that error notification :)


improve command line arg handling

Use urfave/cli lib for cmd line handling, rather than plain flags or os

lib: https://github.com/urfave/cli

I would also consider cobra library - https://github.com/spf13/cobra that is used by Docker, OpenShift, Kubernets

I agree with @kadel although urfave/cli has more stars, cobra is a lot more robust :100:

Let's go for robust. Btw, how many active contributors should be something we should consider.

this is also related to #4

okay then lets go with cobra!

Also now that we have interactive mode, also we need to put those things in command line args like --image or --ports something of that sort.

@kadel one query, we are also planning to add flags to apply info that user can give from interactive mode like port number and image name, so what will be the flags named and how will we know what service to assign things to?

@surajssd that is a good question. I don't have answer right now :confused:
It would be nice to have this, but I'm not sure if we can even do that
I think that as a first step we should at least warn user that something might be missing (see  #27). This could be enough for now.

@kadel right now we can go with the improvement in cmdline and we will add those things once we get to a consensus!

cmdline handling with cobra has been added https://github.com/redhat-developer/henge/pull/32

#32 is merged, I think we can close this now.


[Forwardport] git-remote-http defunct processes from cluster-register_cattle-cluster-agent

Forwardport of https://github.com/rancher/rancher/issues/30172

Master: PR https://github.com/rancher/rancher/pull/31847

Blocked on rancher/rancher#31964


Stop release builds from including xtask

Currently our release builds include the xtask crate, which is only for internal automation and doesn't need to be included.

See: https://github.com/mitre/hipcheck/actions/runs/10782669325/job/29903109620#step:7:662

@alilleybrinker Am I correct in seeing that the issue is that the xtask binary is not being built, but the xtask package is still compiled during the build stage for hc? We have a flag to tell cargo-dist to ignore xtask as a package (publish = false  is supposed to take care of that, and adding dist = false  gives us the same behavior), but obviously it is still being compiled (I tested locally to check). I suppose cargo-dist  is still compiling all of the packages in Cargo.lock , which includes xtask , even if they are not dependencies of the package we do want to publish.


Feature: Tweaked tag design

Validation
How did you test these changes?

[x] Built and ran the app
[x] Tested the changes for accessibility

Notes
This doesn't work well with some contrasts but it can be improved by adding adiitional logic to the converter that returns the color.

Might just be me, but it looks like something's strange with their corner radii? Seems as though they're rounding is more sharp/oval shaped than circular.

I'll change it to 8


Fix stalls in audio playback after silence

Closes https://github.com/ppy/osu/issues/7344

The addition of UpdatePeriod is not required but I feel better having it there for now.

I'll test this on Android within the next day or two. Nice work :+1:

As a heads up I forgot to update the framework in the latest release. Will do another deploy on friday.

I can confirm (using my repro case and some of the ones supplied in the original report) that this also seems to resolve total gameplay stalls on beatmap start on Android! 🎉


ci: update build-and-test and -differential jobs

Description
Part of:

https://github.com/autowarefoundation/autoware/issues/3999

Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Here the build-and-test jobs will run on the ubuntu-latest public runners.
If these tests pass, we can merge it.

https://github.com/autowarefoundation/autoware.universe/actions/runs/8048644919/job/21980429818

https://github.com/autowarefoundation/autoware/pull/4072
is merged, now it's time to merge this!


Add build and push action into Quay.io

Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>

[test]

Tests are GREEN. Just waiting for couple of reviews and /or suggestions.


Where I can get the code of e-deepBGC?

Hi, I have seen that the paper of e-deepBGC, but from where can I get the source code?

Hi @liangyong1991. I wasn't aware of the paper, it was developed by different authors. I guess you will need to contact the corresponding author.


Hi! is there a pretrained model?

Hi! is there a pretrained model?
Thanks!

This pretrain model is on my excompany, sorry I can't get, Thanks


add_dependency doesn't work

rake aborted!
undefined local variable or method `root' for #<MRuby::Gem::List:0x002b4f6123c3b0>

I ran into this. I had to do spec.add_dependency 'foo', :core => 'foo', basically pass in the 2nd param.


Save/Load, again

We still have the Save/Load issue.
Because of its persistence, I will promote it to the nastiest bug ever, and the one with the highest priority.
What doest it happen
At a certain point, the values stored in *.ows file are defaulted.
How do I see it?
I have created a test workspace long time ago (Margot_3), which I marked as READONLY, (an which is read only on my laptop). This ensure that I have never overwritten the values since the file creation. The "right" values are written in ows file as comment.
What shall we do?

In principle, if we reverted to a older version, we should be able to read this ows file in the right way (or no?)
It would really be interesting to understand when values are defaulted (that's hard. Mail to Luca? Mail to Orange authors?)
Find a way to reproduce the bug...
Discuss... .what do you think?

I suggest a mail to Luca. He probably knows ...

Ok. Before doing that, I would try as follows:

you check that you also experience the same problem with the attached ows
can you try to see if with a different OASYS/LibWiser installation you can fix the problem? That would be of real help. (I guess the problem is in OASYSWISER).

I'll post an old answer of Luca here.

-------- Messaggio Inoltrato --------

Oggetto:
Re: OASYS/ORANGE load/save

Wed, 17 Mar 2021 15:52:12 +0000

Rebuffi, Luca<EMAIL_ADDRESS>

Michele Manfredda<EMAIL_ADDRESS>

Aljosa Hafner<EMAIL_ADDRESS>

Dear All,The load/save is based on the "pickle" package,
that belongs to the kernel of python. We have experienced issues in the
past, especially with some releases of Anaconda.Sometimes, the
pickle load failed when the file was saved in miniconda and opened in
standard python or with a different version on miniconda. The result is
the appearance of all default values in the input fields of the widgets.This
is the main reason why we froze the miniconda version in the
installation script. When a problem like this happens, you should not
save the ows again, in order to not loose the original content, and try
to open it with a different installation of OASYS. Anyway, this is the website of Orange: https://orangedatamining.comBe
aware that OASYS is relying on a special release of Orange, dated 2013.
I did several modifications and upgrades, but it is no more aligned to
the "original" one.The manpower needed to realign to the "original"
version (several weeks...) is not justified, especially considering the
risks related to rewriting the kernel of a software.In case you
need my help, I need far more detailed information. I hope you can
identify the cause soon or find a reproducible pattern that shows the
error.Best,Luca Rebuffi, Ph.D.

Note:
on MM laptopt, the recent update of OASYS was not installed (and the problem still persisted)

MARGOT TEST OWS attached here
Rename from .MOV to .OWS to make it work :-)
https://user-images.githubusercontent.com/13431660/132824013-03b6fe65-e767-4c9f-93d1-0406059c89c3.MOV

It works in my installation, file: test_wiser_margot_correct2_READONLY.ows

TEST BY MARCO ZANGRANDO
File:

It works in my installation, file: test_wiser_margot_correct2_READONLY.ows

please be sure that we all use the same file.
The correct one is  test_margot_03_READONLY.ows

You're right, that one gets reset. Maybe there is some problem with Positioning directives, saving with a different one to the default?

TEST BY MARCO ZANGRANDO
file: test_margot_03_READONLY.ows
OS: (macOS) Catalina
RESULT: BAD :-(, values are defaulted (e.g. elliptical mirror F1=98)

You're right, that one gets reset. Maybe there is some problem with Positioning directives, saving with a different one to the default?

I do not understand exactly what you mean:-)
WISER has no default values, but oasys widget have.  In addition, this is not a matter of PositioningDirectives only, but of all the attributes (F1 and F2 are sent to init, not to PositionindDirectives). So the problem is somewhere in OASYS, I would say.
If you have a test for this involving LibWiser, I can do a counterproof.
In the meanwhile, since we have the issue an all the platforms, we need to roll back OASYS-Wiser (of 1,2,3 versions?) and see whether we can get the right values back.
Can you possibly handle this?

There is a problem with the pickle module for this specific file, that's why it happens. It's not a problem of LibWiser, but ows files of course. You can always revert the version by doing:
pip install oasys1-oasyswiser==version_no

So, I have tried LOTS of combination and couldn't manage to run the file: OASYS Tests/Test Margot/test_margot_03_READONLY.ows
The following combinations don't work (don't open the file with correct numbers)

Maybe we need to try some other strategy...

My OS File browser says the file test_margot_03_READONLY.ows was last modified on 26. 8. 2021, there haven't been that many versions of OASYS1-oasyswiser and LibWiser since then, so at least the last one should be able to open it.

That's VERY interesting.
Premise:
I clearly made some mistake in the process.
test_margot_03_READONLY.ows is not really "read only" on my laptopt (wtf?). I sweared it was, but it is not.
This means that there might have been a wrong saving operation on 26.8.2021, of which we still do not understand the causes (for sure I have never put the default values, for all the widgets, manually).
But there is some partially good news:
I have a backup file in my "\old" folder
test_margot_correct3_READONLY.ows => is still readonly, and it was last modified on 18.03.2021.
test_margot_03_READONLY.ows  => wrong numbers
Itest_margot_correct3_READONLY.ows => right numbers
Conclusion:
Reading "seems" to work.
Still do not know why in "margot_03" values are defaulted.
What to do now?
All this is quite frustrating,
We could: change the default values of the elliptical mirror focals F1, F2 to 0.
Then cast an error message
If F1==0 or F2==0 then
   errorMessage("Focal lengths of the elliptical mirror can not be 0. Please check them"

This is just a different strategy to monitor the behavior of this thing: if it occurs, you will realize it as easily as me (4 eyes are better than 2).
The other thing we can do is write an email to Janes&co and say: "Hey, sometimes our values are defaulted, but we do not know when and why. There is something we can do, like adding a warning somewhere in OASys"?
What you think of all this?

Ok, I can read the one in old fine with the latest versions, values are not defaulted.

Ok, good. This is what I see in my \old\ folder

What do you think about setting F2 of the elliptic mirror to 0 and then cast the error message?

That means that always when you add an optical element you get this error?

Sorry, I was unclear.
The idea is: " if a certain value is 0 when you launch the computation, then cast the error message", not "when you drop an optical element" :-)

This is new...
-I create a new file ("untitled.ows"), i use gaussian source + elliptical mirror + detector.
-I change "Displacement" in the source (and see nothing, which is another issue). "Longitudinal" is set to -15
-I close the ows, without saving.
-I open another workspace (Wiser Snippets.ows)
-I open the source and the "Longitudinal" displacement is still at -15...Also the values of the mirror are the same of the "untitled.ows"
This stuff is quite unpredictable

Note: I DID NOT close oasys, I just opened "wiser Snippets.ows" in the same session

TO DO

I have changed LibWiser in this way

You should change the default values of the elliptical mirror, say: F1 = 91, F2 = 0

Then everything should gear up automatically.

Did new test: on new default falues F1 and F2 of elliptical mirror:
case 1
-open oasys
-deploy an elliptical mirror widget
-double click
-F1 = 0, F2 = 0
=> As (I) expected
case 1b)
-the same as 1)

change values of F1 and F2
create a second elliptical mirror (em2)
F1 and F2 of "em2" are equal to the last inserted ones, that is F1 and F2 of "em1)
=> As I did not expect, but It is an Oasys Feature, not a Bug (the same happens with any of SRW widget)

we still have to check what is gonna happen when defaulting occurs because "load ows" fails


Update references for IETF drafts in README

Thanks Charles :)

You are welcome Alex. Thank you for considering and accepting the change.


[Release-1.27] - Error log when trying to find the interface comes without the interface

Backport fix for Error log when trying to find the interface comes without the interface

#8345

Validated on Version:
-$  k3s version v1.27.6+k3s-c94e8824 (c94e8824)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
Ubuntu 22.04
Windows 2019
Cluster Configuration:
1 node servers
Steps to validate the fix

Install k3s passing the flag for flannel interface with a mock one and another with a non-existing one
Check logs of failure
Need to find the interface name in the logs

Validation Results:

There is no interface named test on the node.

-$ curl https://get.k3s.io | INSTALL_K3S_COMMIT=xxxxxxxx  sh -s - server --cluster-init --flannel-iface=test

 27  k3s[19891]: time="2023-09-27T15:44:22Z" level=fatal msg="interface test does not have a correct global unicast ip: route ip+net: no such network interface"

-$ create test interface mock
sudo ip link add name dummy0 type dummy
sudo ip link set dev dummy0 up

-$ curl https://get.k3s.io | INSTALL_K3S_COMMIT=xxxxxxxxxx  sh -s - server --cluster-init --flannel-iface=dummy0

Sep 27 level=fatal msg="interface dummy0 does not have a correct global unicast ip: can't find ip for interface dummy0"


Update tip195.md

Updated to highlight the availability of SDK for Node.js and Java to reduce the risk of it being viewed as a ".NET Thing"

Thanks @kyleburnsdev !


Use compression none for clickhouse_driver

Mac M1Max
Rows: 500000000, elspsed: 727 ms

AMD Ryzen 9 5950X 16-Core Processor
❯ ./target/release/ch-bench-rust-driver
Rows: 500000000, elspsed: 1353 ms

Seems the bottleneck is IO based.

hyperfine -w 10 -r 100 ./bin/ch-bench-faster -n go-faster ./bin/ch-bench-rust-driver -n clickhouse_driver_rust
Benchmark 1: go-faster
  Time (mean ± σ):     597.8 ms ±  98.8 ms    [User: 97.4 ms, System: 330.6 ms]
  Range (min … max):   374.2 ms … 811.0 ms    100 runs

Benchmark 2: clickhouse_driver_rust
  Time (mean ± σ):     783.7 ms ±  94.2 ms    [User: 228.5 ms, System: 571.2 ms]
  Range (min … max):   585.8 ms … 923.3 ms    100 runs


ByteArrayValueHandler should accept primitive byte array

For optimization it would be good to add/refactor ByteArrayValueHandler for primitive byte arrays

Thanks! Do you think existing code will continue to work... I mean, will Java Auto Box these values? I wonder if it is a breaking change to the handler and may affect people using it.

Hi,
Yes, it breaks contract but it is hard to imagine that some 'low level' development is relying on Byte objects instead of byte arrays. We could add this change as a new class but it would be good to register it in provider as a replacement of existing? In our case we had to 'wrap' all byte[] to Byte[]

I have added additional changes to use standard java interfaces

Ok, looking forward release :)

Yes. Your second commit changed a lot.  I would rather make such changes with a new major revision to indicate breaking changes in the API, like adding generics to the mapping. I will think about what's best, but it can take until the weekend.

@bytefish, no problem. It's up to you

I am not fixing the Unit Tests, Increase to Version 3.0 and then Release it to Maven! 👍

All Tests passed, Releasing it to Maven! 👍

Thank you for merge and release


Markdown editor toolbar

We need to implement a toolbar for editing markdown.
See this example:
http://madebymany.github.io/sir-trevor-js/example.html
Some googling might help
git repo:
https://github.com/praekelt/molo

@miltontony : Trying to nail down exactly what functionality you want. Sir Trevor looks like a bit of an overkill if you just want to edit text, but is it the WYSIWYG style that you want?


Unsafe Assembly Error SSIS

Hello,
Please mention that this impacts integration services and provide an example of the error message. Having this error message will enable users to perform a web search and understand why this error occurs.
Example
"Unsafe assembly 'microsoft.sqlserver.integrationservices.server, version=<IP_ADDRESS>, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil' loaded into appdomain 2 (SSISDB.dbo[runtime].1)"

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

ID: 96693d4a-9460-9e08-8f14-836b6257e449
Version Independent ID: 47f19aec-1f62-97c4-fca4-609496fc2139
Content: CLR strict security - SQL Server
Content Source: docs/database-engine/configure-windows/clr-strict-security.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@bernaljo -- thank you for your feedback.
@markingmyname -- please look into this issue.

Thank you, @bernaljo, for bringing this to our attention.
I reached out to the parties involved to get a more in-depth idea of this information.

#assign @chugugrace

@rwestMSFT -- Randolph, please look into this issue.

Thank you for your contribution, @bernaljo. We already note that UNSAFE is required on this page: https://docs.microsoft.com/sql/integration-services/catalog/ssis-catalog#to-restore-the-ssis-database
I will add a reference to this page in an upcoming refresh.


Can't clone your repository

git clone --recursive git@github.com:playerkk/face-py-faster-rcnn.git
Cloning into 'face-py-faster-rcnn'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

use https://github.com/playerkk/face-py-faster-rcnn.git


Produce Call Graphs in Fasten Version 2 Format

Description
This Pull Request aims to update the Version of the Call Graphs produced by PyCG on Fasten Format from Version 1 to Version 2, as described on the Fasten Wiki.
The methodology used to make the convertion stems from the Fasten Call Graph Producer, which was previously used to make the convertion between the different formats, but we tried to develop the most optimal implementation.
Motivation
Since the whole Python Pipeline on Fasten Project depends on Call Graphs following the Version 2 format, it makes sense that PyCG directly produces them without having one extra tool as a mediator to make the convertion. Also, with this change the Call Graphs produced by PyCG can be directly stitched  through PyCG Stitcher, since the Stitcher only supports Version 2 Call Graphs
Testing
Adapted the Fasten format unit tests to support the new format.

Thanks for the PR @gdrosos! Can you also add unit tests for the get_external_modules method?

Thanks for the PR @gdrosos! Can you also add unit tests for the get_external_modules method?

Thanks for the PR @gdrosos! Can you also add unit tests for the get_external_modules method?

Thanks!  Probably tomorrow I will add unit tests for the external modules, similar to the internal modules tests.


map_coordinates does not seem to work with order unspecified

I'm trying to use cupyx.scipy.ndimage.map_coordinates to convert images to polar coordinates. In the documentation it says the default order is 1 when left unspecified. I was trying to use this function for polar transforming images but kept getting 0 arrays returned. Only when I explicitly set order=1 did it work:
Minimal example:
import cupy as cp
import matplotlib.pyplot as plt
import numpy as np

image = np.arange(100).reshape((10,10))
im_gpu = cp.asarray(image)
plt.imshow(image)

from cupyx.scipy.ndimage import map_coordinates

cor = cp.array([[0, 5, 9],[0, 5, 9]], dtype=cp.float32)
map_coordinates(im_gpu, cor) # returns [0 0 0]
map_coordinates(im_gpu, cor, order=1) # returns [0 55 99]

I tried this with various dtypes of both the image and coordinate arrays with the same behavior.

Conditions

OS                           : Linux-4.12.14-197.56-default-x86_64-with-glibc2.10
CuPy Version                 : 8.5.0
NumPy Version                : 1.20.1
SciPy Version                : 1.6.0
Cython Build Version         : 0.29.22
CUDA Root                    : /u/ncautaerts/conda-envs/nielsenv
CUDA Build Version           : 11000
CUDA Driver Version          : 11000
CUDA Runtime Version         : 11000
cuBLAS Version               : 11200
cuFFT Version                : 10201
cuRAND Version               : 10201
cuSOLVER Version             : (10, 6, 0)
cuSPARSE Version             : 11101
NVRTC Version                : (11, 0)
Thrust Version               : 100909
CUB Build Version            : 100909
cuDNN Build Version          : 8100
cuDNN Version                : 8100
NCCL Build Version           : 2804
NCCL Runtime Version         : 2804
cuTENSOR Version             : 10202
Device 0 Name                : Tesla V100-PCIE-32GB
Device 0 Compute Capability  : 70
Device 1 Name                : Tesla V100-PCIE-32GB
Device 1 Compute Capability  : 70

Error messages, stack traces, or logs

Sorry for the very late response. Would you try the latest CuPy v9.0.0 that was released last week? Where the higher value for order is supported, and its default value is now 3 to align that of SciPy.

Glad to hear it!


An abstract factory could not create an instance

So I tried this tutorial to get a simple project running to see if I can use Apigility. So far no good.
Is it too old?
I get the error on GET /providers:
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
  "title": "Internal Server Error",
  "status": 500,
  "detail": "An abstract factory could not create an instance of economycomparev1restproviderscontroller(alias: EconomyCompare\V1\Rest\Providers\Controller)."

I just want a simple CRUD example or I guess I will go back to Slim PHP and build my own stuff that I can get running...

With this information it will be hard to help you. Did you define a controller config for a controller named
EconomyCompare\V1\Rest\Providers\Controller? Seems to me your controller config is simply missing.
I would suggest posting a question here or better on StackOverflow with more details and then I can maybe help you.

Verify if you wrote the correct path at ProvidersResourceFactory Class.
$mapper = $services->get('EconomyCompare\V1\Rest\MyModule\ProvidersMapper');

This repository has been closed and moved to laminas-api-tools/api-tools; a new issue has been opened at https://github.com/laminas-api-tools/api-tools/issues/46.


Error difference: can't handle (nil-0.0)

Hello, I have the following problem with the software version 17.4, how should I solve it? Error difference: can't handle (nil-0.0)

Hi,
have updated your git-repo to the latest version? Do you have a pcb outline on the "BOARD GEOMETRY/DESIGN_OUTLINE" layer?

你好 是否已将您的 git 存储库更新到最新版本？您在“电路板几何形状/DESIGN_OUTLINE”层上有PCB轮廓吗？
Yes, I drew a rectangle in the OUTLINE layer to test and found that it still didn't work

我单独创建了一个PCB文件，仅仅放置了一个元器件，也不行，好难！快哭了

The pcb outline must be drawn on the Board Geometry/Design_Outline layer, not on any other ...

PCB 轮廓必须绘制在 Board Geometry/Design_Outline 层上，而不是任何其他...

Got it! Thank you very much!!!


Spine Time as a core library

Create a separate module for values and operations on time - spine-time:

[ ] Create GitHub repo
[ ] Extract all the time-related classes there
[ ] Leave time-related Stringifiers in spine-client code
[ ] Cover the time-related operations with tests
[ ] Write the documentation on the library

No longer relevant. Date/time types moved into the base project.


separate entry point for each user interface

root main.go and associated InterfaceMode config option (--mode) are removed
new ./cmd package to hold separate entry points for each interface
readme updated accordingly

Using go run
go run ./cmd/godcr-cli
go run ./cmd/godcr-fyne
go run ./cmd/godcr-nuklear
go run ./cmd/godcr-terminal
go run ./cmd/godcr-web

Using go install
go install ./cmd/...

or any of the following to install specific interface binaries
go install ./cmd/godcr-cli
go install ./cmd/godcr-fyne
go install ./cmd/godcr-nuklear
go install ./cmd/godcr-terminal
go install ./cmd/godcr-web

Using go build
go build ./cmd/godcr-cli
go build ./cmd/godcr-fyne
go build ./cmd/godcr-nuklear
go build ./cmd/godcr-terminal
go build ./cmd/godcr-web

NB: Using go build ./cmd/... does not store but discards the built binaries.

@barisere the 3 issues you identified above are all related to the interfaces not being able to find the required assets. Related issue https://github.com/raedahgroup/godcr/issues/239.

unused import error on cli.

PR looks good for fyne interface.


Expose user roles to automate engine

This PR allows user roles to be accessed from Automate methods. This allows groups to be created from an Automate method using a REST call, which is a common use case for multi-tenant workflows, and dynamically creating tenants.
Steps for Testing/QA
Attempt to find a user role from Automate:
role = $evm.vmdb(:miq_user_role).find_by_name("<user-role>")
$evm.log(:info, "Inspecting the user role: #{role.inspect}")

@abellotti @gtanzillo Is the MiqUserRole exposed through the API?  Since the use case was for using the API to create groups I would recommend exposing the data there and skip the automate service model.

Yes, we have full CRUD on users, groups and roles.
/api/roles (MiqUserRole model) CRUD as per http://manageiq.org/docs/reference/latest/api/reference/roles

@mkanoor, thanks for reviewing this, I'll fix up the spec.
@gmcculloug, @abellotti and @gtanzillo, apologies, I don't think I explained the workflow clearly. Using a ManageIQ state machine, this allows a tenant to be created in a provider (say OpenStack), and then allow members of that tenant to see their own resources in ManageIQ. This assumes users have access to both OpenStack and ManageIQ, and a 1:1 mapping of MIQ groups to provider tenants.
This means the Automate state machine looks something:

create an OpenStack project;
assign project members/ quota, create networks, etc
create an LDAP group, and add the members
create a ManageIQ group (both a MIQ group and LDAP group are required for successful login)

Presently, the only way to create a MIQ group is using the REST API. This requires a role, the name of which could be stored in a MIQ Automate class variable, and looked up using the find_by_name method. I'm not aware that the REST API allows for searching role resources by name, which would probably be required in this use case.

I'm not aware that the REST API allows for searching role resources by name

I would think that you can, but @abellotti would know best.

If this is searching MiqUserRole by name then yes, this is doable via the API filter[].
i.e. looking for a role named "EvmRole-user"
GET /api/roles?filter[]=name='EvmRole-user'

and expanding the returned role via expand=resources
GET /api/roles?filter[]=name='EvmRole-user'&expand=resources

Thanks @abellotti and @gmcculloug for the feedback, it sounds like this PR can be closed.


Allow users to add course choices to an application

Context
This PR implements the starting point for choosing a course. It's not finished, but is functional.
Bits that will be implemented in future PRs:

Redirect to Find
Limit the number of courses you can choose
Make sure you can only choose a course once
Implement deleting a choice
Add adresses to location picker

This is all documented on the Trello ticket.
Changes proposed in this pull request
The bare minimum to create a course choice.
Guidance to review
See if it makes sense.
Screenshots

Link to Trello card
196 - Selecting a course

I've updated the PR and PR description, I think it's good to be merged.


DialogBox fix

Fixes showing the messagebox and sending it to the front as the active window

Sorry just to clarify, it doesn't set it as the active window, but it brings it to the front of all windows


Sort names alphabetically

Isn't it already sorted like that?

Just check from down, you will get to know.
I started with things sorted but later people submitted PRs, which were not. I have not mentioned that in the Readme as well.

Ah, you are right. I just glanced from the top. Let me see what I can do about it.

We can probably have this linked with a CI and fail the PR if the list is not sorted. What do you think?

This will be great. After fixing the current list, that can be done.
But does CI can check things on the ReadMe as well? I never tried this.

@tapasweni-pathak We can configure this project as a Node.js or Python project and we can execute a script which can validate that.

@tapasweni-pathak Initial sorting is done and included a note as well. #26

We can configure this project as a Node.js or Python project in CI and we can execute a script which can validate that.

@thefourtheye :+1:

@tapasweni-pathak I created a basic script and Travis-CI integration file. PTAL at #27

Hey @tapasweni-pathak I have sorted the list and updated it. https://github.com/tapasweni-pathak/Women-GitHubers/pull/54
I have created a script also with it to generate the list automatically. https://women-on-github.herokuapp.com/sorted.php


(child.type === MyComponent) returning false

Question
I have a component that takes a child and does some logic if the child if of a certain type. This is working fine in my non-docz environment. However, when I run docz DEV my child component never renders.
Description
{React.Children.map(children, (child) => {
  if (React.isValidElement(child)) {
    if (child.type === MyComponent) {
      return React.cloneElement(child, {
        someProp,
      })
    }
  }
})}

From looking at console dev tools the line Child.type === MyComponent is returning false.

What does child.type return? If you log it or set a breakpoiint what is the property type in a _docz_environment?


[M000689] Rep. John Mica

Rep. John Mica:
http://mica.house.gov
Likely contact form URL to start with:
http://mica.house.gov/contact-me/

YMAL file not found. I am working on it.


fix: delete trigger broken in ProjectTree

Description
When delete trigger from ProjectTree, update dialog should take projectId passed from projectTree, instead of current page skillId.

Task Item
Fixes #minor

Screenshots

Coverage increased (+0.02%) to 55.081% when pulling 8872dbfd9b8aa5cbec965ffa0223af0e791b8325 on zhixzhan/trigger-delete-fix into 2d28769fb2e59b13368858c762812d0a5e06fd14 on main.

Coverage increased (+0.02%) to 55.081% when pulling 8872dbfd9b8aa5cbec965ffa0223af0e791b8325 on zhixzhan/trigger-delete-fix into 2d28769fb2e59b13368858c762812d0a5e06fd14 on main.


Enabling KoamTacScanner on Android 6.0.1 will freeze app

It looks like creating the KDCReader object is hanging.
The solution seems to be upgrading the KoamTac SDK.    Reaching out to them for the latest library, then I think we'll be good to go.

This doesn't appear to be fixed for Android devices on Marshmallow (6.0.1).

Connect KoamTac scanner to the device through SPP pairing.
In DataSplice, Settings > Hardware > select KoamTac
Client freezes and eventually crashes.

Using the forms client at least presents an error,

Probably the same non-sense as last time, where it works fine in debug builds but not in release :P

Somehow I was able to past the hang. I think it has to do with wether or not the koamtac is paired correctly.

worked for me an android 6.0 device and an android 6.0.1 device

On current app store version?

Chris' comment above was because the app-store version of datasplice didn't have the fix in it, not that it wasn't fixed in the master build of the plugin.


Docs: fix spelling error on configurations page

Fixed spelling error located in step 2 of https://sonarwhal.com/docs/user-guide/concepts/configurations/

Pull request checklist
Make sure you:

[x ] Signed the Contributor License Agreement
[x ] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[ ] Added/Updated related tests.

Short description of the change(s)

Thanks, @awentzel!


CPE matching to CVEs ignores CPE rules

When NVD published CPEs linked to a given CPE they sometimes do so in the form of a tree, with AND and OR expressions between sets of CPEs. For example see https://nvd.nist.gov/vuln/detail/CVE-2015-3055.
However, during processing we lose this expression information and just have a set of CPEs: https://seccerts.org/vuln/cve/CVE-2015-3055.
Thus, we have false positives where we match a CVE to a certificate even though it doesn't fit into the expression: https://seccerts.org/fips/a81824dad073f33c/#cves
We should store this tree expression in the CVE and mark a certificate as vulnerable to it only if the tree expression is satisfied (e.g. we have matched all the CPEs in the AND to the certificate).

As a hotfix, we started ignoring the ANDed vulnerable configurations, getting rid of false positives but missing some matches as a trade off. Long term solution is left as a future work here #252


Setting api endpoint to https://api.<IP_ADDRESS>.xip.io fails.

I am very new to CloudFoundry and I am having the following problem with cf-release 219.
After successfully following all steps in README, I am able to deploy CloudFoundry using VirtualBox on my MacBook. The "provision_cf" command passes without any problem and cloudcheck does not show any errors. Then I issue the "add-route" command to add a route.
However, after adding the route, when I try to set the API end point as followed, I see the following error:
bnanda-mac:bosh-lite bnanda$ cf api --skip-ssl-validation https://api.<IP_ADDRESS>.xip.io
Setting api endpoint to https://api.<IP_ADDRESS>.xip.io...
FAILED
Server error, status code: 404, error code: 0, message:
I have tried everything, i.e. removing the bosh-lite virtual machine, re-provisioning the CF, however every time, I am stuck at this step.
Earlier, I could do this with cf-release 218. The problem started happening after upgrading to cf-release 219. I am running out of ideas now. Please help.

Environment Details:
bnanda-mac:bosh-lite bnanda$ uname -a
Darwin bnanda-mac.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
bnanda-mac:bosh-lite bnanda$ vagrant -v
Vagrant 1.7.4
bnanda-mac:bosh-lite bnanda$ bosh version
BOSH 1.3093.0
bnanda-mac:bosh-lite bnanda$ cf -v
cf version 6.12.4-b4b6af1-2015-09-18T17:54:54+00:00
bnanda-mac:bosh-lite bnanda$ bosh releases
Acting as user 'admin' on 'Bosh Lite Director'
+------+----------+-------------+
| Name | Versions | Commit Hash |
+------+----------+-------------+
| cf   | 219*     | 0e63f392+   |
+------+----------+-------------+
(*) Currently deployed
(+) Uncommitted changes
Releases total: 1
bnanda-mac:bosh-lite bnanda$ bosh deployments
Acting as user 'admin' on 'Bosh Lite Director'
+-----------+------------+-------------------------------------------------+--------------+
| Name      | Release(s) | Stemcell(s)                                     | Cloud Config |
+-----------+------------+-------------------------------------------------+--------------+
| cf-warden | cf/219     | bosh-warden-boshlite-ubuntu-trusty-go_agent/389 | none         |
+-----------+------------+-------------------------------------------------+--------------+
Deployments total: 1
bnanda-mac:bosh-lite bnanda$ bosh status
Config
/Users/bnanda/.bosh_config
Director
Name       Bosh Lite Director
URL        https://<IP_ADDRESS>:25555
Version    1.3074.0 (00000000)
User       admin
UUID       9bca5701-66c0-43ee-a4d0-64813b4b5ece
CPI        cpi
dns        disabled
compiled_package_cache enabled (provider: local)
snapshots  disabled
Deployment
Manifest   /Users/bnanda/CFWorkspace/cf-release/bosh-lite/deployments/cf.yml
bnanda-mac:bosh-lite bnanda$ bosh cck
Acting as user 'admin' on deployment 'cf-warden' on 'Bosh Lite Director'
Performing cloud check...
Director task 5
Started scanning 12 vms
Started scanning 12 vms > Checking VM states. Done (00:00:00)
Started scanning 12 vms > 12 OK, 0 unresponsive, 0 missing, 0 unbound, 0 out of sync. Done (00:00:00)
Done scanning 12 vms (00:00:00)
Started scanning 4 persistent disks
Started scanning 4 persistent disks > Looking for inactive disks. Done (00:00:01)
Started scanning 4 persistent disks > 4 OK, 0 missing, 0 inactive, 0 mount-info mismatch. Done (00:00:00)
Done scanning 4 persistent disks (00:00:01)
Task 5 done
Started		2015-10-03 00:46:29 UTC
Finished	2015-10-03 00:46:30 UTC
Duration	00:00:01
Scan is complete, checking if any problems found...
No problems found
bnanda-mac:bosh-lite bnanda$ bosh ssh

consul_z1/0
ha_proxy_z1/0
nats_z1/0
etcd_z1/0
postgres_z1/0
uaa_z1/0
api_z1/0
hm9000_z1/0
runner_z1/0
doppler_z1/0
loggregator_trafficcontroller_z1/0
router_z1/0
acceptance_tests/0
smoke_tests/0

Hi, @bnanda,
Version 219 of cf-release is the first final release of CF to include commit https://github.com/cloudfoundry/cf-release/commit/1c9f091b1407b63f337fe1f7b3b438dfcaf6c7ac, which changes the default domain for BOSH-lite deployments from <IP_ADDRESS>.xip.io to bosh-lite.com (which, like <IP_ADDRESS>.xip.io, resolves itself and its subdomains to the IP address <IP_ADDRESS>). Can you try those instructions with cf api --skip-ssl-validation api.bosh-lite.com instead?
Thanks,
Eric

Hi Eric,
Thanks for your help. I followed your suggestions and resolved my problem.
Thanks,
Biswajit


Reorganise

[ ] Read the contribution guidelines
[ ] Added unit tests (or unit tests have already been added)
[ ] Updated the Contents

Hi @subhani92. Thanks for digging into the reorganise project. We need all the help we can get!
Here are a few suggestions that'll help us integrate your work:

Make sure you're working off the latest version of the reorganise branch. There's more on this under our contribution guidelines. Ideally, you should only be submitting a PR with one commit. Making sure you have the latest work from that branch will help with this.
Limit each pull request to one algorithm. That'll make it easier for you to complete and easier for us to review.
Open your pull requests against the reorganise branch instead of against master.
Make sure to add unit tests and to update the contents for each migrated algorithm.
If you need a clue of what all this looks like in an actual pull request, check out #202.

I'm going to close this for now, but please let me know if you have any questions!


Autopilot drives 10 km/h below speed limit

Is this issue still open?

@germanros1987 it is

Why exactly is this done? I see in the code that the speed is hard coded to be 10 km/h lower than the limit.

@wlemkens yes, you have a point. The autopilot is some legacy code we have full of magic numbers, and in my experience every time I have changed something there, the vehicles start having accidents all the time. Since so far hasn't been much of a priority and for now just works we haven't fixed it. But soon, with the addition with better support for more complex maps that we plan to add (multiple lanes, complex intersections, etc), this autopilot is going obsolete and we'll need to add a better one that understands the new map definitions. @marcgpuig and @germanros1987 are working on that, keep tuned ;)

The issue should be solved with the new Traffic Manager


Update README.md with release instructions

Issue link

N/A
What changes have been made

Updated release instructions to reflect additional work to be done.
Verification steps

N/A
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/lgtm

/approve


fix compilation with gcc/tcc on windows for both the main example, and the x/ submodule example

Brilliant! Thanks!


Lyrics absent in the Premium Install

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
United States
What is your Spotify Plan?
Premium
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: <IP_ADDRESS>5.gd61a8f5c
- Windows: Windows 11 22H2 22621.1192
- PowerShell: 7.2.8

📝 Description

Just open Spotify, search for a song with lyrics (example: Flowers by Miley Cyrus)
Neither lyrics nor the button show up. Lyrics song indication is also absent below song name in album/playlist.
...

📸 Screenshots

Just open Spotify, search for a song with lyrics (example: Flowers by Miley Cyrus)
Neither lyrics nor the button shows up. Lyrics song indication is also absent below song name in album/playlist.
...

lyrics moved to right sidebar in new theme
also texts are now available in full screen mode


Missing '%' in iterm2_prompt_end

Description
Missed adding % in the prompt addition for iterm2 resulting in a } showing in transient prompt.

@archite , we both had the same idea 👍 #1349

@kolchurinvv You can make the maintainers life easier by closing your duplicate PR, then it's clearer that this PR here should be merged :)

Closed in favour of #1349


bot.save_user_stats() does not save updated stats

Before submitting an issue, make sure you have:

[ x] Updated to the latest version
[x ] Read the README and docs
[x ] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

[ x] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Code:
in 'ultimate.py'
def stats():
    bot.save_user_stats(bot.username)

schedule.every(1).hours.do(run_threaded, stats)

but this saves the first value over and over. Probably because in get_user_info() there is a check to see if user stats were already asked for.

def get_user_info(self, user_id):
    user_id = self.convert_to_user_id(user_id)
    if user_id not in self._user_infos:
        self.api.get_username_info(user_id)
        if 'user' not in self.api.last_json:
            return False
        user_info = self.api.last_json['user']
        self._user_infos[user_id] = user_info
    return self._user_infos[user_id]

Error/Debug Log:

Describe your issue
In the ultimate file we save the usere stats every hour, however bot.save_user_stats() does not save updated stats, but the ones when the function was first run.
This saves the same value over and over. Probably because in get_user_info() there is a check to see if user stats were already asked for.
--> add check to see if user stats are requested from own user ID, or remove check altogether and always overwrite when function is called.

Same issue here

same issue too...

https://github.com/instagrambot/instabot/pull/556 should fix it ;)

Bas, this did not fix it for me, still not updating correct.
Also I needed to add the use_cache part to the bot.py file as well.

Thanks for using it. I've reopened the issue. Could you be a bit more specific about where you added the use_cache?

In bot/bot.py
Change:
def get_user_info(self, user_id):  return get_user_info(self, user_id)
To:
def get_user_info(self, user_id, use_cache):  return get_user_info(self, user_id, use_cache)

Good point! I've just changed ithttps://github.com/instagrambot/instabot/commit/b7404c645b31c4424dbdf8beb4035d25307a484a


Allow the node to auto-forward its listnening port using UPnP

The testnet2 equivalent of https://github.com/AleoHQ/snarkOS/pull/1218; the only difference is that the external address is not registered, but it can be extended with that functionality if need be.
Supersedes https://github.com/AleoHQ/snarkOS/pull/1218.
Closes https://github.com/AleoHQ/snarkOS/issues/423.

The CI error is unrelated:
running 1 test
test helpers::block_requests::tests::test_block_requests_case_2cbb ... FAILED

failures:

---- helpers::block_requests::tests::test_block_requests_case_2cbb stdout ----
thread 'helpers::block_requests::tests::test_block_requests_case_2cbb' panicked at 'assertion failed: `(left == right)`
  left: `AbortAndDisconnect(TwoCBA, "exceeded fork range")`,
 right: `Proceed(TwoCBB, BlockRequestHandlerProceed { start_block_height: 904, end_block_height: 1153, ledger_is_on_fork: true })`', src/helpers/block_requests.rs:572:13

Rebased.

I think this is worth including. Question: is there a way to harmonize this feature with the design, so that we adhere to an implicit design for using upnp (as opposed to having the user explicitly set a upnp flag)?
For example, is there a concept of using this first, then defaulting to basic tcp/ip if it does not hold?

There's a reason why I proposed this functionality to be opt-in rather than being automatic; if for whatever reason someone is changing their listening port on a regular basic, or if they are using internal nodes that are communicating with the network only via a single proxy exposed to it, or if there are any other reasons why someone wouldn't want their port to be opened automatically (e.g. a complex network configuration), it would potentially break their setups and/or eventually leave them with many open ports that they might not be aware about.
That being said, this functionality only requires the user to run with the --upnp flag once, after which they can forget about it even being there.

Rebased against testnet3.

Admin: Please respond with "build this" in order to build this PR.


(No. 17 A) More fields on CSV Export and on report page [ Medium ]

From Feedback:

[ ] The results and exports (csv’s) should also include the fields listed below (in this order and using these field names with the exception of the red text). However, the coordinates should be included in the exports (csv). If it is easier to include them in both the results page and csv export then please include them in both.

PAD ID
Action
Site Name
Site Type
Barrier Status
Stream Name
Tributary To
Watershed Name (just requires renaming Watershed to Watershed Name)
Watershed Level (i.e.,  HUC 8/Subbasin)
County
ESUs
Estimated Upstream Habitat
# of Downstream Barriers
Downstream Barrier ID (corresponds to the PAD ID of the barrier downstream)
Average Upstream Reach Slope (as a %)
Average Upstream August Streamflow
Average Upstream Annual Streamflow
Upstream Mean Aug. Stream Temp. (aka NorWeST_Mean_S1_93_11)
Upstream Mean Weekly Max Aug. Stream Temp. (aka NorWeST_...M)
Estimated Cost
Road
Post Mile
Owner (name of the actual owner instead of ownership type).
Photo Hyperlink
BIOS Link

I like the changes to the results page.

[ ] I suggest “Treated” to “To Treat” or make it clear that this is suggested treatment in page content here and this is just an imaginary run.

I don’t want people to be confused that these sites have already been treated especially if they are used to working with the PAD which includes both barriers and those that have been treated.

[x] Include the “Description” in the results page below the title/header.
(... section moved into separate ticket #98 ...)
[ ] Also include the # of barrier treated, total barriers, header/title of the run that was generated by the tool/user in the csv exports.

The header/title will help users when they want to compare the exports saved on their computers with runs saved in the FishPASS tool.
(... section moved to separate ticket #99 ...)
If “Individual Barriers” were listed in the bottom more like a spreadsheet (reading right to left instead of up-down, it might look better.

NOTES & QUESTIONS:

PAD ID
Action

This will contain multiple columns for ranged runs.

Site Name
Site Type
Barrier Status
Stream Name
Tributary To
Watershed Name (just requires renaming Watershed to Watershed Name)
Watershed Level (i.e.,  HUC 8/Subbasin)

This is recorded for the project. Do we want this for individual barriers as well?

County
ESUs
Estimated Upstream Habitat
# of Downstream Barriers
Downstream Barrier ID (corresponds to the PAD ID of the barrier downstream)
Average Upstream Reach Slope (as a %)
Average Upstream August Streamflow
Average Upstream Annual Streamflow
Upstream Mean Aug. Stream Temp. (aka NorWeST_Mean_S1_93_11)
Upstream Mean Weekly Max Aug. Stream Temp. (aka NorWeST_...M)
Estimated Cost
Road
Post Mile
Owner (name of the actual owner instead of ownership type).
Photo Hyperlink
BIOS Link

Okay, ticket is mostly complete with the following caveats:
1 - I need to know which value we want for "Estimated Upstream Habitat":

Potential Habitat?
Upstream Miles?
2 - I CAN convert raw values for the avg upstream reach. However that requires consistency in the PAD values (they will always be a number between 0 and 1). Can I count on that, or should we just leave the raw value in for people to deduce for themselves?
3 - I am reporting Basin IDs in the "parameters" area. I am reporting Basin Names in the table. Do we only want IDs?

[ ] Jocelyn will email the client for answers.

Questions:
If I pose question 2 verbatim to Brett and Anne, will they understand, or do I need to give them more context (admission: I do not know exactly to what you're referring)
On question 3, before I ask the client: where is the watershed level field coming from? Is that from the PAD, or from the user selection? (I get HUC08 when selecting by HUC08 and HUC12, and "Unknown" when selecting by ESU.) I have a feeling that the basin ID will be more useful, but I will ask the client since I'm sending other questions their way.

Question 1 - add third option: "Both"
Question 2 - ( skip it - details below)

There is a field about upstream reach slope (I forgot to include that important word above).
Slope is represented as a %
Current values are often around 0.05 (which I'm assuming to be a 5% slope)
I can convert these, but if anyone uploads a "5" for 5% then everything goes real bad
SKIP QUESTION 2 - I can just test if the value is greater than 1 and deal with it.

I'll even move the "%" into the column header so that the values will be numeric and can be sorted.

Question 3 - That error a new one on me. I have replicated the issue and am looking into it.

Still would be good to know if they want a readable watershed name anywhere or just ID fields.

Thanks -- I'll add the "both" option and ask about watershed names/ID fields.

Slope fix is in place for both staging and production.

Brett says use HUC codes over names.

Response from Brett:
"Please use the “Miles Upstream” field... I’m not sure where the other field “Potential Habitat” originates from."

We will not get to adding # of barriers treated or considered to the CSV header. This is due partially to running out of time, partially to complexity of reporting these numbers for batch runs, and partially because CSVs now include Titles and optional descriptions for users to use to quickly identify what they are looking at.