Behavior When Visiting a Nonexistent Room

As of right now, if I try to visit a room that doesn't exist, e.g. , I see a blank page and lots of errors in the dev console whenever I, for example, move the cursor, try to draw, etc.
I'm not familiar enough with Meteor/cocreate yet to attempt a change myself, but it feels like one of two things should happen in this case:

a new room could be created with the given id, or
an error page could be shown, maybe with a link to / so that making a new room is easy

I might lean toward showing an error page, since this likely comes about as a result of missing a character when copy/pasting a link or something.  But maybe the behavior could also be toggled via settings.json?

Agreed. I am worried about Behavior 1 because it would allow people to make insecure room names that are easy to guess, and especially without user authentication, this is risky (the equivalent of Zoom bombing).  But Behavior 2 is a good idea and shouldn't be hard to implement.  I'll work on it.


Updated tutorial structure

Updated tutorial structure and fixes for issues found after testing round.

 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.Samuel Mervyn Gnaniah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


ALT + ArrowUp & ALT + ArrowDown not working on Chrome OS

Expected:
Press ALT + ArrowUp and move the active line one line up
What happens:
Cursor goes to the top of the document (And down to the bottom with ALT + ArrowDown).
This is a Chrome OS keybinding and i'm not sure if it's over writable but it would be nice this shortcut would just work

Web Browser: Chrome (85.0.4183.133) (installed as PWA)
Local OS: Chrome OS (85.0.4183.133)
Remote OS: Debian 10
Remote Architecture: x86_64
code-server --version: "3.6.1 62735da69466a444561ab9b1115dc7c4d496d455"

I don't have a Chromebook to test but I think you're probably right that
they can't be overridden. Still, if someone can confirm that'd be
helpful.

I neither have a Chromebook though i'm still running Chrome OS using brunch
It's possible to run brunch from an USB stick.
There is also CloudReady that is based on the Chromeium OS but i don't know if that has all the features of Chrome OS

Oh awesome! Thanks for those links; will definitely help us test.

Yea unfortunately if it's a systemd level keybind it will take precedence. There's nothing we can do here. I'd recommend googling to see if you can disable the keybind at the system level so that code-server can catch it.


Exam mode: Allow changing (or disabling) hard-coded welcome page texts

Is your feature request related to a problem?
When conducting an exam using Artemis, the students are greeted with a welcome page.
This page contains some texts that are hard-coded in the respective component:
https://github.com/ls1intum/Artemis/blob/a6eade2a875cae1080a86344b5c294af894a4b7b/src/main/webapp/i18n/en/exam.json#L152-L164
While some (parts) of these texts (e.g., readCarefully, submissionPeriod, workingInstruction) may be general enough, having all of these texts hard-coded seems tailored to a specific exam mode, making it impossible to use Artemis for exams with different modalities.
In particular, we plan to conduct an exam in August which will not be open-book, therefore the hard-coded texts are not fitting.
Some examples include:

workOnYourOwn: This is an open book exam (including using the Internet)
This will not be the case for our exam
checkForPlagiarism: If you happen to copy code, for example, from a book or a website
This will not be allowed in our exam
programmingSubmission: No actual tests will be run against your submission.
This will also not be the case for us as we plan to provide some small sanity-check tests

Describe the solution you'd like
Some possibilities I could think of are:

Allow showing/hiding these texts in the exam settings
Make these texts editable in the Exam texts section on the exam edit page
Use these texts as a default-value for the Exam start text-field on the exam edit page

Describe alternatives you've considered
The only alternative I could think of would be to tell students to ignore this part of the start page, though apart from being hard to understand (i.e., which parts are to be ignored and which contain the correct information) this may also lead to legal consequences due to contradictory statements.
Additional context
The hard-coded texts at the exam start page:

It's not intended that those values are hard-coded. This was an implementation mistake that slipped through. The whole page should be customizable by the instructor with those values when creating / editing an exam in the course management area:

Exam start text
Exam start confirmation text

Also the end page should be fully configured by the instructor using:

Exam end text
Exam end confirmation text


OpLog search Functionality

Service changes for oplog searching
@DanielJMaher Please have tested to make sure I didn't miss/break something
Thanks

@c0mster Oh No!  Test Failed!

@DanielJMaher
Can you run this through a test again please.

@DanielJMaher could you review this one

@c0mster hey cam, I'll pull this down and review now

:+1: nice Cam!

this looks to work, tested it out


fix typo from ture to true

fix typo from ture to true

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


composer refuses installation

Updating stage1/docker-php (dev-master 1553a73 => v0.4.0)
Checking out cba2d26bf95f14947555a07e65d6fc13f5a09ae8

[RuntimeException]
Failed to clone git@github.com:stage1/docker-php.git via git, https, ssh protocols, aborting.

git://github.com/stage1/docker-php.git
error: unable to resolve reference refs/remotes/composer/fix/travis: Not
a directory
From git://github.com/stage1/docker-php
! [new branch]      fix/travis -> composer/fix/travis  (unable to update
local ref)
error: some local refs could not be updated; try running
'git remote prune composer' to remove any old, conflicting branches

https://github.com/stage1/docker-php.git
error: unable to resolve reference refs/remotes/composer/fix/travis: Not
a directory
From https://github.com/stage1/docker-php
! [new branch]      fix/travis -> composer/fix/travis  (unable to update
local ref)
error: some local refs could not be updated; try running
'git remote prune composer' to remove any old, conflicting branches

git@github.com:stage1/docker-php.git
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Can you post your composer.json please?

{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The "Symfony Standard Edition" distribution",
"autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.5.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~3.0",
"sensio/framework-extra-bundle": "~3.0",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-menu-bundle":"@stable",
"doctrine/migrations": "dev-master",
"doctrine/doctrine-migrations-bundle": "dev-master",
"friendsofsymfony/user-bundle": "~2.0@dev",
"jms/security-extra-bundle": "dev-master",
"sonata-project/intl-bundle": "dev-master",
"oyejorge/less.php": "~1.5",
"twitter/bootstrap": "dev-master",
"friendsofsymfony/jsrouting-bundle": "@stable",
"willdurand/js-translation-bundle": "@stable",
"pinano/select2-bundle": "dev-master",
"liip/imagine-bundle": "@stable",
"stage1/docker-php": "@dev",
"hpatoio/deploy-bundle": "dev-master",
"egeloen/ckeditor-bundle": "~2.0"
},
"require-dev": {
"sensio/generator-bundle": "~2.3"
},
"scripts": {
"post-root-package-install": [
"SymfonyStandard\Composer::hookRootPackageInstall"
],
"post-install-cmd": [
"Incenteev\ParameterHandler\ScriptHandler::buildParameters",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::removeSymfonyStandardFiles"
],
"post-update-cmd": [
"Incenteev\ParameterHandler\ScriptHandler::buildParameters",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::removeSymfonyStandardFiles"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.5-dev"
}
}
}

Go to vendor/stage1/docker-php and run git remote prune composer then rerun composer update / install, sometimes composer mess up with remote branch being deleted

Already tried that, but:
olaf@beta:/srv/userdir/olaf/WebHero/vendor/stage1/docker-php$ git remote prune composer
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Works for me now, deleting vendor/stage1 and runnning composer again fixed it.


Fix disappearing outputs from long running tasks

with external storage enabled
In case of a:

Long running task
With big output (externalized)
With output growing over time
Causing multiple externalize / internalize executions
... such as a join task collecting outputs of all forked tasks
Lost some of its outputs when finally completed

This issue was caused by / because:

On an Nth execution of a task (such as described above)
The task internalized its intermediate output from external storage
The task was executed and it updated its output to current value in memory
The task tried to externalize the new version of its output
... but while doing so, the outputPayload (last externalized value) was combined with outputData (current, in-memory value) in a way where output payload over-wrote the latest values
Thus, newly calculated outputs have been lost

Pull Request type

[x] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
[ ] WHOSUSING.md
[ ] Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.
Changes in this PR
Describe the new behavior from this PR, and why it's needed
Issue #
Alternatives considered
Describe alternative implementation you have considered

@v1r3n hey, we found this issue when running with external storage. Please take a look, it's just a 1 liner


Temperature read and voltage read should return float instead of change referenced value

Closed with Pull Request #126


⚠ Bofrost.at has degraded performance

In 7222afd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1348 ms

Resolved: Bofrost.at performance has improved in 74f6734.


Error in latest release

I get the following error when compiling my project in the latest version.
Module not found: Error: Can't resolve 'tsafe/typeGuard' in '/node_modules/tss-react'

Sorry about that 😬😬😬

Fixed

I've removed the dependency to tsafe in 3.0.2


feat: Added a quickstart for ReleaseIQ

Summary
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[ ] Did you include an InstallPlan and Documentation reference?
[x] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[ ] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

This PR is approach our 7 day PR merge limit, I'll be closing this out and if you'd like to work on it again @HemalaDev57 we can re-open this PR. Thank you.


Fasta does not report line-column number for compile time errors involving implicit call method tear-off

class A {
  dynamic call(dynamic a, dynamic b) { return a; }
}

typedef S Reducer<S>(S a, dynamic b);

void foo<S>(Reducer<S> v) {

}

void main() {
  foo<String>(new A());
}

reports:
$ pkg/vm/tool/dart2 /tmp/a.dart
file:///tmp/a.dart: Error: A value of type '(dynamic, dynamic) → dynamic' can't be assigned to a variable of type '(dart.core::String, dynamic) → dart.core::String'.
Try changing the type of the left hand side, or casting the right hand side to '(dart.core::String, dynamic) → dart.core::String'.
file:///tmp/a.dart: Error: A value of type '(dynamic, dynamic) → dynamic' can't be assigned to a variable of type '(dart.core::String, dynamic) → dart.core::String'.
Try changing the type of the left hand side, or casting the right hand side to '(dart.core::String, dynamic) → dart.core::String'.

Discovered by @jmesserly

Tentatively assigning to @stereotype441 who was involved in the implementation of the original feature.

I'm happy to take a look if time allows, but most of my time is now committed to analyzer work (and I'm going on vacation Apr 2-20), so someone on the FE team (@stefantsov perhaps) will probably have time to look at this before I can.

I can take a look.  What's the priority?

I had some extra time this morning, and I found the problem.  Fix out for review: https://dart-review.googlesource.com/c/sdk/+/48080


Version 0.2.2 Not Published

I just tried to install this package with ember install ember-cli-mirage and noticed NPM only has version 0.1.14
Can the 0.2.2 version be published to NPM?
Thanks!

Looking into it

It is published, you can ember install<EMAIL_ADDRESS>but I don't know why 0.14 clobbered it as the default

Should be all set.
Future reference: publishing an older version rewrote latest. To fix I did
npm tag<EMAIL_ADDRESS>latest

I think there's a way to just publish in the future without overriding latest but I'm not sure how, something with --tags.


generator raised StopIteration

Hello
I'm trying to get this great addon to work but it's throwing errors which I don't understand.
So when trying to trigger from IFTTT I get these errors in de logs:
https://pastebin.com/f2USVQZF and https://pastebin.com/UTQg9tLW
And when trying to trigger from the services menu in Developer Options, I get this one:
https://pastebin.com/Cb8ybAed
Home Assistant 0.111.4 running in Docker on unRAID

Please try the latest release (0.2.1) and let me know if it solves it for you.

Hi, when I call the service in HA my Chromecast starts loading the episode and it looks like it starts to play, but the screen just goes to that 'Plex' grey after it shows the progress bar for a second.
Calling from IFTTT still gives the same error.
I've also decided I won't be using the plugin anymore, I managed to fix the media player I normally use so it's not necessary for me anymore.

Sounds like this one is fixed. If anyone else comes across this and has the grey screen issue, this is what the cast delay option is for.


Added more node stats to elastic and then agent CPU usage hits 100%

i added these lines https://github.com/onurdialpad/integrations-core/commit/bc7ee462b1169b7fa5444b76c7566d7786943282 to gather some additional node stats for monitoring then generated a wheel and installed it. After running agent couple of hours, CPU usage hits 100% always. When i check status with datadog-agent status i see my elastic plugin's average execution time is around 1.5 - 2 seconds. I wonder what i am doing wrong ?
Additional environment details (Operating System, Cloud provider, etc):
Agent (v7.24.1)
Debian 10.4
elastic (1.22.2)
----------------
Instance ID: elastic:422f56e781aa750b [OK]
Configuration Source: file:/etc/datadog-agent/conf.d/elastic.d/conf.yaml
Total Runs: 3,320
Metric Samples: Last Run: 883, Total: 2,931,560
Events: Last Run: 0, Total: 0
Service Checks: Last Run: 2, Total: 6,640
Average Execution Time : 9.564s
Last Execution Date : 2020-12-20 21:13:30.000000 UTC
Last Successful Execution Date : 2020-12-20 21:13:30.000000 UTC
metadata:
version.major: 7
version.minor: 10
version.patch: 1
version.raw: 7.10.1
version.scheme: semver

Hallo @onurdialpad can you please contact support about this https://docs.datadoghq.com/help/?

Hallo @onurdialpad can you please contact support about this https://docs.datadoghq.com/help/?


SW-2889 Add endpoint to submit reports

POST /api/v1/reports/{id}/submit will submit an in-progress report. The report
must be locked by the current user.  Submitting a report releases the lock and
prevents the report from being locked or updated in the future.
Submitted reports must include all required fields. If there are missing values,
the API request fails.
In this initial implementation, submitting a report doesn't trigger any actions
other than marking it as submitted. Subsequent changes will introduce more
behavior when a report is submitted.

Current dependencies on/for this PR:

main

PR #966

PR #978   👈

This comment was auto-generated by Graphite.


Could not properly import a project in Intellij Idea

I can import the project (for instance https://github.com/emstlk/android-scala-example) but without dependencies like a scala. I use Intellij Idea 14.1
It's produced on last version plugin, however 1.3.19 has not that problem
You can see differences between 1.3.20 screenshot and 1.3.19 screenshot

1.3.20 made no changes that would affect intellij import; I've noticed that intellij has had a pretty bad time with importing project libraries lately. for now, the workaround is to (re)add the missing libraries manually in intellij
$ git diff 1.3.19 1.3.20
diff --git a/build.sbt b/build.sbt
index 3dc9833..a419bfd 100644
--- a/build.sbt
+++ b/build.sbt
@@ -4,7 +4,7 @@ import bintray.Keys._

 name := "android-sdk-plugin"

-version := "1.3.19"
+version := "1.3.20"

 organization := "com.hanhuy.sbt"

diff --git a/src/tasks.scala b/src/tasks.scala
index d2e066f..dcddc97 100644
--- a/src/tasks.scala
+++ b/src/tasks.scala
@@ -1120,12 +1120,7 @@ object Tasks {

       val incrementalDex = debug() && (progCache.isEmpty || !proguardedDexMarker.exists)

-      val dexIn = jarsToDex.groupBy (_.getName).collect {
-          case ("classes.jar", aarClassJar) => aarClassJar.distinct // guess aars by jar name?
-          case (_, otherJars) => otherJars.head :: Nil // distinct jars by name?
-        }.flatten.toSeq
-
-      incrementalDex -> dexIn
+      incrementalDex -> jarsToDex
   }

   val dexTaskDef = ( builder
@@ -1279,7 +1274,8 @@ object Tasks {
         IO.delete(cd)
         s.log.info("Creating proguard cache: " + f.getName)
         IO.unzip(t, cd, { n: String => pc.exists (_ matches n) })
-        IO.jar((PathFinder(cd) ***) pair rebase(cd, ""),
+        IO.jar((PathFinder(cd) ***) pair rebase(cd, "") filterNot (
+          _._1.getName.matches("R\\W+.*class")),
           f, new java.util.jar.Manifest)
         IO.delete(cd)
       }
@@ -1689,18 +1685,34 @@ object Tasks {
 //        case _: AarLibrary         => true
         case _: AutoLibraryProject => true
         case _ => false
-      } map { p => Attributed.blank(p.getJarFile.getCanonicalFile)
+      } collect {
+      case a: AarLibrary =>
+        val f = a.getJarFile.getCanonicalFile
+        Attributed(f)(
+          a.moduleID.foldLeft(AttributeMap.empty
+            .put(artifact.key, Artifact(f.getName, "jar", "jar"))
+            .put(configuration.key, Compile)) (_.put(moduleID.key, _)))
+      case p => Attributed.blank(p.getJarFile.getCanonicalFile)
     }) ++ (for {
         d <- l/* filterNot { // currently unworking
           case _: AarLibrary => true
           case _ => false
         }*/
         j <- d.getLocalJars
-      } yield Attributed.blank(j.getCanonicalFile)) ++ (for {
+      } yield d match {
+        case a: AarLibrary =>
+          Attributed(j.getCanonicalFile)(
+            a.moduleID.foldLeft(AttributeMap.empty
+              .put(artifact.key, Artifact(j.getName, "jar", "jar"))
+              .put(configuration.key, Compile)) (_.put(moduleID.key, _)))
+        case p => Attributed.blank(j.getCanonicalFile)
+      }) ++ (for {
         d <- Seq(b / "libs", b / "lib")
         j <- d * "*.jar" get
       } yield Attributed.blank(j.getCanonicalFile))
-    ) filter { !_.data.getName.startsWith("scala-library") }
+    ) filter { c =>
+      !c.data.getName.startsWith("scala-library") && c.data.isFile
+    }
   }

   val managedClasspathTaskDef = ( managedClasspath in Compile

Unfortunately last version of idea broke import at all.
What IDE do you use to? Could you explain how import our project keepshare for instance?

See https://youtrack.jetbrains.com/issue/SCL-8690. The current fix is to downgrade to the 1.3.19 version of this plugin.

I know about that issue, but I am interesting how to use the 1.3.22 version :)

Import with 1.3.19 then change to 22 after importing. Thereafter do the
switch again when refreshing, or manage project updates manually.
--
Sent from my phone
On May 21, 2015 2:28 AM, "eMASTER"<EMAIL_ADDRESS>wrote:

I know about that issue, but I am interesting how to use the 1.3.22
version :)
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/163#issuecomment-104195211
.

I do this already, but every time think about better way :)
@pfn thanks

The better way would be to submit a fix to the intellij scala plugin, as it
is open source.
--
Sent from my phone
On May 21, 2015 7:40 AM, "eMASTER"<EMAIL_ADDRESS>wrote:

I do this already, but every time think about better way :)
@pfn https://github.com/pfn thanks
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/163#issuecomment-104301895
.

Good offer, but not sure that I can help may be anyone else

android-sdk-plugin 1.4.x will fix this issue.


Add API for inserting autosuggestion

This would look like the autosuggestion in fish. It would print some text after the current buffer of readline with diminished colouring, and readline wouldn't return this text.
For example:
~/code > nvim /a/long/pa|th/to/a/file.txt
The cursor is at the | sign. The  text after the cursor would be printed to the line with decreased intensity, but if the user hits return, only the following text would be returned: nvim a/long/pa.
This would make possible implementing Elvishscript programmable autosuggestion in multiple ways: history only, or completion, or most often used command lines or files/directories, etc.
Also, it would make easy to implement completion help:
~/code > ffmpeg| (global_opts) (input_file_opts) (-i input_file) (output_file_opts) (output_file)
and thousands of other things.
This would make possible to solve #395, #396, #322 in Elvishscript.

I changed the title. This sounds like a good way to implement autosuggestion.

@xiaq, is there any progress on this?

only able if elvish expose render cmd function, i.e: cmd_render(substring slice, last_similar_cmd_in_history_string)
so a normal user can use his own history and manually render like this: cmd_render('this is', 'this is a test')
this is is currently text user types in command line, this is a test is where the last similar command start with this is from command history.
instead of bring out complex design and stuffs, focus on autosuggest command from command history to cover 99% of the user is good engouh.

a uesr can always get current text on command by edit:current-command, and then check for last similar command and then redner with cmd_render(edit:current-command, last_cmd)

cmd_render effectively bright in colors text, the last part will be gray color (same as display with zsh's autosuggestion)


Features with "Open issue/notification" buttons broken on iOS

Description
It visually works but no tabs are open and no notifications are actually marked as unread on the server
How to replicate the issue + URL

https://github.com/notifications
Click "open all unread"

Extension version
24.7.10
Browser(s) used
Safari

I don't know what's up with Safari, but there are two possible easy fixes:

Ship MV2
Ship MV3 but with a background script instead of the worker

There's background issue in Safari but that shouldn't be the cause. It seems that the worker isn't starting or is unable to stay awake

https://github.com/fregante/webext-tools/issues/10

I'll have to use the simulator maybe

Reported:

https://bugs.webkit.org/show_bug.cgi?id=277588

I'll fix this by using background.scripts instead.

I'm just going to say, your passive aggressive response and title change at #7659 is frankly insulting and degrading. At least give me the opportunity to readd the token and try again to see if the issue still occurs. Your attitude is incredibly offputting for your users and has turned me off wanting to use this extension altogether.

You insulted me by not reading the instructions that appear when you install the page, but ignoring the big red banner that appears on top of the "New bug report" template, and all the instructions on that page. You do not care about my words, why are you asking for more?


Add Algebra Tactics to the platform

I'd like to request adding coq-mathcomp-algebra-tactics (opam file) to (either the extended or full level of) the Coq Platform. Since I'm the author, this comment also provides the agreement.

@pi8027 : thanks, I will have a look!
Regarding the full / extended question: typically packages with 0.X version numbers go into the extended pick. The only exception is coq-mathcomp-analysis, where the authors said that the interfaces it provides are fairly stable and will in the future be mostly extended, but not redesigned.
I am open to add this package also under "full" if you state that the interface is mature and stable and the main reason why it is still 0.X is that you still plan additional features, but that these additions won't (substantially) break existing features.

I think the package is quite stable. But, I also hope to release 1.0.0 by the end of April (even if it is the same as 0.3.0, just to indicate it is stable). So, I prefer to put it into the extended level for now.

I added coq-mathcomp-algebra-tactics in the extended section (currently in the preparation branch - will push today) and chose
examples/field_examples.v examples/ring_examples.v as smoke test files. It looks all good, so I will close this.

Reference: https://github.com/coq/platform/issues/193

@pi8027 : I have issues with the Coq Platform "smoke test kit" for algebra-tactics for 8.16+rc1:
====================== Running test file coq-mathcomp-algebra-tactics/field_examples.v ======================
coqc  field_examples.v
File "./field_examples.v", line 11, characters 7-19:
Error: Cannot find module GRing.Theory.

Can you please check and either fix it or recommend a different smoke test file?

@MSoegtropIMC Please use field_examples_check.v instead. For some reason, this file Loads field_examples.v. If you have a problem with Load here, I would suggest copying field_examples.v to the Coq Platform repo and uncommenting Require Imports.

from_sander.v may also work.

I decided to patch away the comments around the require statements in field_example.v and ring_example.v. I would need some changes to support extracting files for smoke testing but not running them through coqc, but I can easily add awk commands to patch files.


Secure API for access_tokens & refresh_tokens

This issue is imported from pivotal - Originaly created at Jun 18, 2020 by Okke Harsta
A new API secured by basic authentication (multiple users) and behind a feature toggle to retrieve the following information from access_tokens and refresh_tokens:

id = Internal GUID identifier of the token
clientName = Human readable name of the RP the access_token was issued for
expiresIn = Expiry Date
createdAt = Creation Date (=consent date)
scopes = The scopes including human readable descriptions in EN / NL
audiences = Human readable names of the RS allowed for the. RP
type = ACCESS or REFRESH

The endpoint will fetch all the tokens based on the unspecified URN of the user. The API will also allow for deletion of the token(s). The unspecified URN will be stored with a SHA-512 hash with salt in the tokens.
The input parameters for the GET fetchTokens is the URL encoded unspecifiedID and the parameters for the deleteTokens are in the PUT request body containing the identifiers of the tokens to delete and the type of tokenL [{"id":"1212", "type":"ACCESS"},{"id":"9999", "type":"REFRESH"}].
See for examples: https://github.com/OpenConext/OpenConext-oidcng#topenapi

This seems like a good first implementation to validate that this is what we seek. It seems that not too much information has to be stored in the database, but yet maximum transparency for the enduser. In the longer term, and when we are going to use this in production, I'd like to be able to use OAuth2 to secure the API in stead of HTTP basic auth, since the API is connected to the public internet. But for now, this is fine.
One thing is not yet working as expected. I'm unable to delete multiple tokens at once: I get this error:
http 204
Warning: You can only select one HTTP request!
request:
url -u eduid:secret -H "Content-type: application/json" -X PUT -d '[{"id":"5f758410171a69543a5a4bfe","tokenType":"REFRESH"},{"id":"5f758410171a69543a5a4bfd","tokenType":"ACCESS"}]' https://connect.test2.surfconext.nl/tokens -I
(Bart Geesink - Oct 1, 2020)

@bartgeesink The deletion of multiple tokens works - eduID uses it. You might want to put quotes around the URL in your cURL command. The error you are getting is from cURL and not from the actual endpoint. (Okke Harsta - Oct 1, 2020)

HTTP 204 is "No content"
It seems to generate that status code every time you delete tokens. I was mistaken that that constitutes an error, a 204 is fine (Bart Geesink - Oct 5, 2020)


[WIP] Test CI

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[CARBONDATA-<Jira issue #>] Description of pull request

[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).

[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.

[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

[ ] Testing done
 Please provide details on
 - Whether new unit test cases have been added or why no new tests are required?
 - What manual testing you have done?
 - Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2511/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/393/Failed Tests: 4carbondata-pr-spark-1.6/org.apache.carbondata:carbondata-spark-common-test: 4org.apache.carbondata.spark.testsuite.allqueries.InsertIntoCarbonTableTestCase.insert into carbon table from carbon table union queryorg.apache.carbondata.spark.testsuite.partition.TestDataLoadingForPartitionTable.data loading for partition table: range partitionorg.apache.carbondata.spark.testsuite.partition.TestDataLoadingForPartitionTable.Insert into for partition table: range partitionorg.apache.carbondata.spark.testsuite.partition.TestQueryForPartitionTable.detail query on partition table: range partition


Uploading files do not work

I can't upload files to folders using Codiad's upload interface. File uploads (progressbar moves to 100%), and it looks like file is uploaded completely, but there's no this file in folder.
I'm using Apache.
What kind of information do I need to provide to help to solve this issue?

Hi, I produced such error.  Complete! is shown, but file is not uploaded.
In my case,
upload_max_filesize = 2M (php.ini)
File size I tried to upload > 2M
Of cause, small (up to 2M) files can be uploaded.
Thanks.


[External Request] page 344 Navigate

Hello, can you please the procedure MakeExtFilter from local to global?
local procedure MakeExtFilter(var DateFilter: Text; AddDate: Date; var DocNoFilter: Text; AddDocNo: Code[20])
    begin
        if DateFilter = '' then
            DateFilter := Format(AddDate)
        else
            if StrPos(DateFilter, Format(AddDate)) = 0 then
                if MaxStrLen(DateFilter) >= StrLen(DateFilter + '|' + Format(AddDate)) then
                    DateFilter := DateFilter + '|' + Format(AddDate)
                else
                    TooLongFilter();

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52559.


python-packages: falcon 0.2.0 -> 0.3.0

Tested with Python 2.7, 3.2, 3.3, 3.4 (+cython) & PyPy.

Please rename commit's name following our guide from CONTRIBUTING.md

I renamed the commit. Thank for your comment. I missed the update about the guidelines.

Better name it as falcon: 0.2.0 -> 0.3.0.

I used the prefix python-packages because that is what was commonly used until now. By the way, there is already a package named falcon.  Is that alright to use an ambiguous name in the commit message ?

You have a good point for a name.


Double bug: return of instagram normal controls + button detection zone too small

Hi, first: thanks for the amazing extension, I literally cannot go without anymore.
But I came across two bugs those days (might be that instagram changed a few things on their side?)
First the instagram default controls (which before were hidden by your extension) are now visible again:

You can see the double mute button on the bottom right.
Second bug: the detection zone for the button is either slightly out of alignement, or too small. For exemple when I try to use the bar for the sound, I have to click below the bar, because if I try to move to hover on it, the controls disappear:

This specific bug started about 4-5 days ago (or at least I noticed it at that time). Before that I could click the buttons right on top of them and it would work.
Thanks again for the app in any cases (because even with those bugs, I can't even think of not using it XD)

Hi,
I tired to re-add the default Instagram controls in the last update. There were complains about the missing share/like buttons, hashtags, playing song, etc. in Stories and Reels. I just moved the controls up a bit, but apparently not far enough for Chrome users. This causing the issues with the clickable area in the volume controls.
I'm working on a custom, slim player-bar that will look identical in Firefox and Chrome and fixes some issues with the browsers default behavior. But it will take a few more days.

Hi @Felina-Lain,
The v1.0.1 update is finally available in the Chrome Web Store and you should have received the new player bar.
Please let me know if everything is working for you.

Hi @Felina-Lain, The v1.0.1 update is finally available in the Chrome Web Store and you should have received the new player bar. Please let me know if everything is working for you.

Heya!
Yeah I saw it today, it's working super well!


Deploy ASP.NET RP app with DB to Azure, dev on Mac & Windows VS

•	Create an ASP.NET Core Razor Pages app + DB
•	Use GitHub with VS
•	Develop with VS Windows and VS Mac
•	Deploy to Azure using VS
•       appSettings.json to set local DB
•        Demo config settings

@Rick-Anderson Are these multiple docs?  Or a single scenario?

@Rick-Anderson Are these multiple docs? Or a single scenario?

Craig Dunn &  Gordon Hogenson are driving this. The topic(s) may go in the Azure repo.

@ghogen do you have an issue tracking this? Can I close this issue?


Killing all trajectories after the initial population

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
This PR closes #1445
What are the significant changes in functionality due to this change request?
This will make GA stop once the AHDp criterion is met

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[x] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

PR looks good to me. Merging.


[PR] ADD image load options

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature
💥 Does this PR introduce a breaking change?
No i don't think, i just converted current image load parameters into option
📝 Links to relevant issues/docs
#315
🆕 What is the new behavior (if this is a feature change)?
I created load option for make specific parameters in iOS, by default for all case we will use  DefaultLoadOption

Thank you for your work.
My understanding is different from yours. Any API incompatibility for users can be understood as breaking change.
So, when I merge this PR into master, it means that it will be part of version 0.6.

I create new branch 0.6.x, I will develop the next version in this branch.
Can you open Pull Request for the branch 0.6.x?

Yes sure. This is pull request
322


Move seed from utils to training

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[ ] fix a bug
[ ] update tests and/or documentation
[ ] other (please add here)

Addresses #1441.
Changelog
What are the changes made in this PR?
Test plan
Please make sure to do each of the following if applicable to your PR. (If you're not sure about any one of these just ask and we will happily help. We also have a contributing page for some guidance on contributing.)

[ ] run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
[ ] add unit tests for any new functionality
[ ] update docstrings for any new or updated methods or classes
[ ] run unit tests via pytest tests
[ ] run recipe tests via pytest tests -m integration_test
[ ] manually run any new or modified recipes with sufficient proof of correctness
[ ] include relevant commands and any other artifacts in this summary (pastes of loss curves, eval results, etc.)

UX
If your function changed a public API, please add a dummy example of what the user experience will look like when calling it.
Example of docstring: https://github.com/pytorch/torchtune/blob/6a7951f1cdd0b56a9746ef5935106989415f50e3/torchtune/modules/vision_transformer.py#L285
Example in our docs: https://pytorch.org/torchtune/main/tutorials/qat_finetune.html#applying-qat-to-llama3-models

[ ] I did not change any public API;
[ ] I have added an example to docs or docstrings;

Codecov Report
Attention: Patch coverage is 67.56757% with 12 lines in your changes missing coverage. Please review.

Project coverage is 71.98%. Comparing base (0bdd308) to head (1254514).

Files with missing lines
Patch %
Lines

recipes/ppo_full_finetune_single_device.py
0.00%
2 Missing :warning:

recipes/eleuther_eval.py
0.00%
1 Missing :warning:

recipes/full_finetune_distributed.py
0.00%
1 Missing :warning:

recipes/full_finetune_single_device.py
0.00%
1 Missing :warning:

recipes/generate.py
0.00%
1 Missing :warning:

recipes/lora_dpo_distributed.py
0.00%
1 Missing :warning:

recipes/lora_dpo_single_device.py
0.00%
1 Missing :warning:

recipes/lora_finetune_distributed.py
0.00%
1 Missing :warning:

recipes/lora_finetune_single_device.py
0.00%
1 Missing :warning:

recipes/qat_distributed.py
0.00%
1 Missing :warning:

... and 1 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1460      +/-   ##
==========================================
+ Coverage   69.80%   71.98%   +2.18%
==========================================
  Files         272      272
  Lines       13053    13036      -17
==========================================
+ Hits         9111     9384     +273
+ Misses       3942     3652     -290

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

My reasoning here is that we need this set_seed for generation and eval, as well, which are not training. Therefore, it would be confusing to import from trainiing.

A few of the utils APIs fall under this category, like set_device, set_dtype, etc. But I don't have strong opinions either way, if we leave set_seed in utils then I can close this PR.

My reasoning here is that we need this set_seed for generation and eval, as well, which are not training. Therefore, it would be confusing to import from trainiing.

A few of the utils APIs fall under this category, like set_device, set_dtype, etc. But I don't have strong opinions either way, if we leave set_seed in utils then I can close this PR.

Yeah I'd prefer to leave those in utils or rename to common or something. not sure.

There's torchune.modules.common_utils.py

There's torchune.modules.common_utils.py

Nah, I don't think these should live nested in modules/. Let's keep it where it is for now and we can discuss if we need a more descriptive name than utils.


Unable to import certificate in Chrome on Ubuntu 16.04

Trying to set up certificates, according to this post I should be able to go into the settings in chrome and import a certificate. I am trying to import the certificates that I generated by running mitmproxy for the first time. I converted the 1.pemfiles to.crt` format using the method recommended in the stackoverflow post here, which is referenced from the certificate manual installation guide here.
I cannot import the private keys into chrome due to an error message that pops up when I try to import that says "Incorrect private key":
Screenshot trying to import mitmproxy-ca-cert.crt
Screenshot trying to import mitmproxy.ca.crt
Screenshot trying to import mitmproxy-ca-cert.p12 (What is the correct password?)
Steps to reproduce the problem:

Start mitmproxy after installing on Ubuntu 16.04
Try to import certificates manually into google chrome using the method recommended here
Still get " If you can see this, traffic is not passing through mitmproxy." on mitm.it

Any other comments? What have you tried so far?
Also tried installing using certutil -d sql:$HOME/.pki/nssdb -A -t C -n mitmproxy -i ~/.mitmproxy/mitmproxy-ca-cert.pem, hasn't worked for me but maybe I need to restart?
System information

Mitmproxy version: 2.0.2 (release version)
Python version: 3.5.2
Platform: Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
SSL version: OpenSSL 1.0.2g  1 Mar 2016
Linux distro: Ubuntu 16.04 xenial

Hi,

" If you can see this, traffic is not passing through mitmproxy."

This indicates that your traffic is not going through mitmproxy, i.e. it never reaches mitmproxy (and we thus cannot intercept it). This issue sounds unrelated to certificate import.

I cannot import the private keys into chrome due to an error message that pops up when I try to import that says "Incorrect private key":

It looks like you are importing in the wrong category. It probably needs to be added under "authorities". 😃

Thanks @mhils. It looks like traffic is not going through mitmproxy.
I have tried with the docker container and I am still having the same issue:
$ docker container ls
CONTAINER ID        IMAGE                 COMMAND                  CREATED              STATUS              PORTS                              NAMES
70d1c49426d9        mitmproxy/mitmproxy   "docker-entrypoint.s…"   About a minute ago   Up About a minute   <IP_ADDRESS>:8080->8080/tcp, 8081/tcp   happy_yonath
$ http_proxy=http://localhost:8080/ curl http://example.com/
curl: (7) Failed to connect to localhost port 8080: Connection refused

Any way to debug this? mitmproxy runs, I get the blue ncurses screen, and it looks like it should. However, I cannot reach localhost:8080.
Thanks in advance,
Eric


[Feature] The link to pod details in KubeVela System dashboard should inherit the time range

Is your feature request related to a problem? Please describe.

This is the dashboard of the KubeVela system, user may focus on some time range and try to click the link button to see details for the controller.

The destination by far will always use "Last 30 Minutes" and does not inherit the time range from the source dashboard.
Although user can manually align the time range, it would be more convenient if the time range can be automatically carried.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

@Somefive hi  I want to work on this issue can you tell me the location of the file

Let me work on this if the issue still persists @Somefive

Great! It still persists.

@Somefive @ashutosh887 May I take this up ?


Destructuring the arguments variable

Doesn't work because the IArguments interface isn't defined as an Array type. Is there a reason behind this?
Example:
function test () {
  var [a] = arguments; // Error: Type 'IArguments' is not an array type.
}

One solution is doing this:
function (...args) {
  var [ one, two, three ] = args;
}

Because arguments is not an array.  It is "Array-like" but it isn't a true array.

var [a] = Array.from(arguments) should work here.

As a side question, why don't you use parameters instead of destructuring the arguments object? Is there a specific use-case you're trying to accomplish?

var [a] = Array.from(arguments) should work here.

Array.from is only ES6 and only implemented in Firefox actually.  var [a] = Array.prototype.slice.call(arguments) is better for now.

@kitsonk I understand that the arguments variable is an array-like. But aren't array-destructuring assignments of array-like objects valid javascript?
ES6 will only allow array-destructuring of an array-like if the object has an iterator.  Here's an example of what I mean:
var obj = {
  0: 'foo',
  1: 'bar',
  2: 'baz',
  length: 3,

  // required
  * [Symbol.iterator]() {
    for (var i = 0, len = this.length; i < len; i++) {
      yield this[i];
    }
  }
};

var [a, b, c] = obj;
console.log(a, b, c); // 'foo bar baz'

Because arguments is supposed to be iterable in ES6, this should work too:
function fun () {
  var [a, b, c] = arguments;
  console.log(a, b, c); // 'foo bar baz'
}

fun('foo', 'bar', 'baz');

I don't think anyone has this implemented arguments being iterable yet though as far as I know.

In Typescript, destructuring assignments made while in ES6 mode compile directly to ES6 destructuring assignments
// this javascript and typescript are equivalent
var arr = ['foo', 'bar', 'baz'];
var [a, b, c] = arr;

And in ES3/5 mode the assignment is converted into a series of assignments
var arr = ['foo', 'bar', 'baz'];
var a = arr[0], b = arr[1], c = arr[2];

In both modes, the resulting javascript works (or will work (right?)). Is there a reason that array-destructuring of arguments and other array-like objects isn't allowed? Is it just something that hasn't been fully looked at yet?

I understand that the arguments variable is an array-like. But aren't array-destructuring assignments of array-like objects valid javascript?

But you are using TypeScript and using an implicit cast which doesn't work, ergo the Error: Type 'IArguments' is not an array type.

In Typescript, destructuring assignments made while in ES6 mode compile directly to ES6 destructuring assignments

This is assigning an Array to an Array.  Not an array-like to an Array.  Destructing assignments !== breaking typing rules in TypeScript.

@kitsonk

But you are using TypeScript and using an implicit cast which doesn't work, ergo the  Error: Type 'IArguments' is not an array type.

I haven't checked the ES2015 spec, but if it says that the destructuring syntax can be applied to an array-like object with an iterator, then I think it should be valid TS. No implicit cast to array should be required here and that's the bug in the first place.
It is my understanding that TS is designed to be a superset of JS and it fails here. Not that I think this feature is mega-useful but just sayin'.

Chrome supports arguments[Symbol.iterator] but Firefox does not, so the code will cause an error on Firefox. Is this in the ES6 spec?

Is this in the ES6 spec?

From my understanding, yes. See the CreateUnmappedArgumentsObject and * CreateMappedArgumentsObject* abstract operations.
Given the direction that we've been taking with arguments recently, I'm inclined to liken this to "doctor it hurts when I use the arguments object". There's already a fairly sufficient way of destructuring arguments: formal parameters.
Still, as a matter of consistency, I'm going to ping @JsonFreeman because of he's done some recent work on destructuring that might need to be informed regarding this.

@DanielRosenwasser I agree 100% that arguments have no good use in ES6. But note that the real issue here is more general. It's not just arguments that doesn't work but any array-like, iterable object.
I have no good use-case and don't really care (right now), but this is a deviation from ES6 spec and it could be that some people find clever use for iterable objects. After all, this is still new and mostly unused stuff.
So the question is really: how compatible with ES2015 does TS want to be?

NodeList can be another example, while I don't know this is in spec or not. NodeList objects have iterator in Firefox but not in Chrome.

Does arguments have slice? In order to destructure with a rest element, you need slice.

@JsonFreeman in my mind, we'd permit destructuring arguments when targeting ES6 (because IArguments should have an iterator). Otherwise, don't bother.

Or use Array.prototype.slice.call(arguments).

I guess we could support it in ES6 if there is enough demand.

Funny coincidence. Yesterday Mozilla has published the new part in their ES6 In Depth series, this time about destructuring:
https://hacks.mozilla.org/2015/05/es6-in-depth-destructuring/
This has quite some visibility and it talks about destructuring iterables. There is one chapter called Destructuring arrays and iterables and it ends with an explicit mention of array assignment pattern working for any iterable plus a code example (your classical fibonacci sequence).

Note that destructuring assignment with an array assignment pattern also works for any iterable:

function* fibs() {
  var a = 0;
  var b = 1;
  while (true) {
    yield a;
    [a, b] = [b, a + b];
  }
}
var [first, second, third, fourth, fifth, sixth] = fibs();
console.log(sixth);
// 5

This already works in typescript. The type system allows you to destructure an iterable into an array. The problem is that IArguments is not iterable in lib.d.ts. The fix is to make it iterable.

I have a PR (#3306) so that you'll be able to do this when using ES6 as a target.

The change is now in master.

Thanks for the fix @DanielRosenwasser .  Concerning ES5-targeted code, is there any chance that array-destructuring of array-like objects will be implemented in the future?  TS would have to detect that it's an object and call the .slice() function on the prototype instead of calling it directly on the variable, I guess.  Something like this.
// typescript
var arrayLike = {
	'0': 'foo',
	'1': 'bar',
	'2': 'baz'
};
var [foo, ...bar] = arrayLike;
console.log(foo, bar); // 'foo', ['bar', 'baz']

// output
var arrayLike = {
    '0': 'foo',
    '1': 'bar',
    '2': 'baz'
};
var foo = arrayLike[0], bar = arrayLike.slice(1); // error

// desired output
var arrayLike = {
	'0': 'foo',
	'1': 'bar',
	'2': 'baz'
};
var foo = arrayLike[0], bar = Array.prototype.slice.call(arrayLike, 1);
console.log(foo, bar); // 'foo', ['bar', 'baz']

@tylergoodman no problem - if you'd be willing to open up a separate issue as a suggestion, we could discuss the possibility among the team.

@tylergoodman If you open an issue for this, please mention the issue number here.

#3389


[Bug] Fonts are different in the Home Page in both languages

Describe the bug
Fonts of Headers and Paragraphs are different.
Headers are Montserat
Paragraphs are Roboto
To Reproduce
Steps to reproduce the behavior:

Go to 'https://dev1.podkrepi.bg/en' and 'https://dev1.podkrepi.bg/'
Click on 'Inspect Element' first on the header and then on the paragraph
See error

Expected behavior
Same font
Screenshots
Header:

Paragraph:

Duplicate of https://github.com/daritelska-platforma/frontend/issues/165


[SmplTmr] Add smpltmr.clkinfo.js

The Simple Timer now adds clock info -- so a timer can be used directly on the watch face :)
I also changed the clock info slightly: If run() returns true, the caller can feedback the user (e.g. with buzz). If its false then no feedback is necessary. I e.g. use a feedback for home-assistant when a trigger was send, but for the timer buzz feels a bit annoying IMO if you push the button a few times, so run returns false :)
And here a screenshot of the BWClock which now shows the timer:

Great - thanks!


[proposal] support fastfail for gang and multiple types of permit policies, correct scheduled semantics in coscheduling

FastFail
In strict mode, we mark the gang failed when any pod of the gang can''t be scheduled. Pod in this gang can''t be scheduled until all pods in this gang has come.
The process of marking failure can be optimized as follows:

When the total num of the pods in a pod group is larger than min-available, the number of scheduled pod can still meet the min-available requirement even if some pods fail to schedule. We can count the number of remaining pods that have not been scheduled and the number of pods that have failed to be scheduled to determine whether the podgroup can meet the min available requirements. If not, we mark the pod group failed.
When any pod group in a gang group is in the status of schedule cycle invalid, any successful schedule in this gang group is useless. Only the pods in the gang group where all gangs are available should pass the prefilter.

Matching Policy
Koordinator support only OnceResourceSatisfied mode. Sometimes some pods in the pod group failed for some reasons, and we hope that the subsequently reconstructed Pod will still be constrained by the gang semantics. So we think that the logic to determine whether gang is satisfied can be expanded to allow users to freely choose which logic to use.

For GPU topology, all my tasks need to be scheduled at the same time to ensure the best performance, so I hope that gang can only be satisfied when the number of pods waiting on permit is larger than the min-available.
For task of elastic training, the new workers'' arrival is random. So I hope the gang can be satisfied when the total number of the running pods and waiting pods is large than the min-available.
Sometimes in elastic training, some workers complete earlier than the others, and the new workers should start to training at its arrival. So I hope the gang can be satisfied when the total number of the running pods, the succeed pods and waiting pods is large than the min-available.
In some specific scenarios, the completed task Pod may not exist due to node recycling. At this time, it is impossible to count the number of completed tasks. In this case, OnceResourceSatisfied can be used.

Scheduled Semantics in Status
I think the Scheduled attribute in the status means how many pods have been scheduled, not how many existing pods have been scheduled. And the implementation in koordinator can make patch the wrong status on the pod groups because the patch are requests from multiple goroutines. I think the status of pod groups should be updated in stead of patched.

“We can count the number of remaining pods that have not been scheduled and the number of pods that have failed to be scheduled to determine whether the podgroup can meet the min available requirements”
generally，all pods in a gang are Isomorphic, so one pod schedule's fail event can lead the infer that other pods may fail to schedule too.

Now that we have recorded the number of Pods in the pod group through the children map at runtime, we can achieve a better performance. Especially when the total number of pods in a pod group is much larger than the min available.

/area koord-scheduler

/remove-lifecycle stale


Unknown function job_start in neovim

I tried running CodeQueryMakeDB and got:

Making DB ...
Error detected while processing function codequery#make_codequery_db:
line   45:
E117: Unknown function: job_start
E15: Invalid expression: job_start(['/bin/sh', '-c', shell_cmd], options)
Press ENTER or type command to continue

I'm using neovim on OSX.  It seems like it could be a similary issue to what I see here

Related: https://github.com/devjoe/vim-codequery/issues/16

Solved in #16
Thanks for your report. I miss too many messages.

I still have this issue with the newest stable NeoVim.

@xarthurx can you do me a favor?
please run :echo has('nvim') in your nvim to see whether the returned value is 1 or not

Yes, it has.
It seems to be my problem after some digging.
I'll keep finding the issue. Meanwhile, sorry for bothering you.
On Mon, 25 Mar 2019 at 16:41, excusemejoe<EMAIL_ADDRESS>wrote:

@xarthurx https://github.com/xarthurx can you do me a favor?
please run :echo has('nvim') in your nvim to see whether the returned
value is 1 or not
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/devjoe/vim-codequery/issues/24#issuecomment-476254043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB1TVie1P9-GWvfFlqOE7IOZej6N6g_bks5vaO44gaJpZM4T24vb
.

--
MA Zhao
"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"


ValueError: could not convert string to float: 'Faridabad' appears even though X variable has NO string/object columns

Hello,
I am facing what looks like a weird issue. I get this "ValueError: could not convert string to float: 'Faridabad' " for a X variable that contains only float and int columns.
Here's a code snippet:
X_train,X_test,Y_train,Y_test = train_test_split(X,Y,random_state=101,test_size=0.1)

print("Xtrain shape",X_train.shape)
print("Ytrain shape",Y_train.shape)

print(X_train.info())

for col in X_train.columns:
    data = X_train[col]
    data = data.values.astype('float')
print("Done")

xgbr = XGBRegressor(learning_rate=0.01,n_estimators=500,max_depth=10,n_jobs=3)

xgbr.fit(X_train,Y_train)

So the output here is:

Xtrain shape (26505, 269)
Ytrain shape (26505,)
<class 'pandas.core.frame.DataFrame'>
Int64Index: 26505 entries, 27112 to 13151
Columns: 269 entries, POSTED_BY_Builder to READY_TO_MOVE
dtypes: float64(8), uint8(261)
memory usage: 8.4 MB
Done

ValueError                                Traceback (most recent call last)
 in
30 xgbr = XGBRegressor(learning_rate=0.01,n_estimators=500,max_depth=10,n_jobs=3) #
31
---> 32 xgbr.fit(X_train,Y_train)
33 #lr = LinearRegression()
34 #lr.fit(X_train,Y_train)
c:\users\rahul\anaconda3\envs\tfcontests\lib\site-packages\xgboost\sklearn.py in fit(self, X, y, sample_weight, base_margin, eval_set, eval_metric, early_stopping_rounds, verbose, xgb_model, sample_weight_eval_set, callbacks)
505                                 base_margin=base_margin,
506                                 missing=self.missing,
--> 507                                 nthread=self.n_jobs)
508
509         evals_result = {}
c:\users\rahul\anaconda3\envs\tfcontests\lib\site-packages\xgboost\core.py in init(self, data, label, weight, base_margin, missing, silent, feature_names, feature_types, nthread)
440         self.handle = handle
441
--> 442         self.set_info(label=label, weight=weight, base_margin=base_margin)
443
444         self.feature_names = feature_names
c:\users\rahul\anaconda3\envs\tfcontests\lib\site-packages\xgboost\core.py in set_info(self, label, weight, base_margin, group, label_lower_bound, label_upper_bound, feature_names, feature_types)
459         '''Set meta info for DMatrix.'''
460         if label is not None:
--> 461             self.set_label(label)
462         if weight is not None:
463             self.set_weight(weight)
c:\users\rahul\anaconda3\envs\tfcontests\lib\site-packages\xgboost\core.py in set_label(self, label)
584         """
585         from .data import dispatch_meta_backend
--> 586         dispatch_meta_backend(self, label, 'label', 'float')
587
588     def set_weight(self, weight):
c:\users\rahul\anaconda3\envs\tfcontests\lib\site-packages\xgboost\data.py in dispatch_meta_backend(matrix, data, name, dtype)
612         return
613     if _is_pandas_series(data):
--> 614         data = data.values.astype('float')
615         assert len(data.shape) == 1 or data.shape[1] == 0 or data.shape[1] == 1
616         _meta_from_numpy(data, name, dtype, handle)
ValueError: could not convert string to float: 'Faridabad'
<
Note:

'Faridabad' is the name of a city and there is a CITY column in the original dataset. However, the data has been transformed to one-hot-encoded along with some other numerical columns, so that there are NO more any string/object columns.

Note the error is in a particular line 614 in the above output. I have executed that particular line for EVERY column in the transformed dataset in my code (see the for loop in the code snippet) and there's NO error. Weirdly the same line executed as part of the xgboost library results in an error about a string, which isn't even in the data fed to the XGBRegressor object!

I have restarted the Kernel and even restarted the Jupyter notebook, but the error remains.

Environment Specs:

Windows 10.
4 core CPU. No GPU. 8 GB RAM
Conda v4.4.7
xgboost v1.2.0
pandas v1.1.2
numpy v1.19.1
Hope I'm not missing something obvious, apologies if that's the case, and thanks in advance for pointing it out!

One of the columns in your dataframe might be of string type.  Could you please check that?

Could you please check the Y_train?

Yes, that was the issue thank you!
Apparently I had changed the order of columns in the dataset during my tinkering and the Y was getting a different column than intended!
Guess i get the prize for most obvious mistake in the world :/
Thanks again for pointing it out!


Crash during a scrape of a SegaCD Directory

I have a rather large directory of games.
When I run the scraper it crashes.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x24 pc=0x4a454e]
goroutine 1 [running]:
panic(0x845ea0, 0x10f6a030)
C:/Go/src/runtime/panic.go:481 +0x326
github.com/sselph/scraper/rom.exists(0x122acba0, 0x5e, 0x2)
C:/Go/projects/src/github.com/sselph/scraper/rom/rom.go:352 +0x6e
github.com/sselph/scraper/rom.(*ROM).populateBins(0x122d0e80, 0x0, 0x0)
C:/Go/projects/src/github.com/sselph/scraper/rom/rom.go:194 +0xa8b
github.com/sselph/scraper/rom.NewROM(0x11a16440, 0x34, 0x89e71c, 0x0, 0x0)
C:/Go/projects/src/github.com/sselph/scraper/rom/rom.go:262 +0x130
main.crawlROMs(0x11ba1e80, 0x11ba1d40, 0x4, 0x4, 0x10f58320, 0x10fd9e50, 0x0, 0x0)
C:/Go/projects/src/github.com/sselph/scraper/scraper.go:333 +0x197a
main.scrape(0x11ba1d40, 0x4, 0x4, 0x10f58320, 0x10fd9e50, 0x0, 0x0)
C:/Go/projects/src/github.com/sselph/scraper/scraper.go:433 +0x196
main.main()
C:/Go/projects/src/github.com/sselph/scraper/scraper.go:613 +0xec6
At first I thought it was a bad file, but it seems to end randomly.
I'm running on Windows 7 32bit, with go 1.6.3 32bit.
Let me know if you need any more information

Seems to be an issue with it reading a cue file and trying to determine if a bin file exists or not. I'm not handling all the errors possible. I'll fix that.


Use flycheck-define-command-checker to handle vale process

As per the discussion in #6.
I also took the liberty of cleaning up the code a little bit more in flycheck-vale--output-to-errors.
I also made the :id of the flycheck errors be the Check key of the vale errors. This way you would be able to decide which specific checkers should be disabled.

FWIW, I personally use almost the same patch but with standard input and flycheck-parse-json.
(defun flycheck-vale-parse-errors (output checker buffer)
  (mapcar (lambda (err)
            (let-alist err
              (flycheck-error-new-at
               .Line
               (elt .Span 0)
               (pcase .Severity
                 (`"error"    'error)
                 (`"warning"  'warning)
                 ;; Default to error
                 (_           'error))
               .Message
               :id .Check
               :buffer buffer
               :checker checker)))
          ;; by default Vale return the errors in a object with "stdin.txt" key
          (cdr (assq 'stdin.txt (car (flycheck-parse-json output))))))

(flycheck-define-command-checker 'vale
  :command ("vale" "--output" "JSON")
  :standard-input t
  :error-parser #'flycheck-vale-parse-errors
  :predicate (lambda () flycheck-vale-enabled)
  :modes flycheck-vale-modes)


Subtitles

Some questions:

For --subtitles, will ytcog error if it does not find a corresponding subtitle or will it just ignore the option?
Does ytcog differentiate between automatically generated subtitle, community-created subtitle, and content-creator-uploaded subtitle?
What default subtitle will ytcog set if there are multiple subtitle languages present?

For --subtitles, will ytcog error if it does not find a corresponding subtitle or will it just ignore the option?
If it finds no captions listed in video information it will ignore your subtitle request.

Does ytcog differentiate between automatically generated subtitle, community-created subtitle, and content-creator-uploaded subtitle?

No, it just looks at the captions section in the video info file and extracts links for the given subtitle languages.  If you are able to find sample videos where  those different varieties of subtitles are present, please advise, and I can look into differentiating is possible/necessary.

What default subtitle will ytcog set if there are multiple subtitle languages present?

If your language is not present in the available subtitles, it will use the default subtitle language and (Google) translate those subtitles into the language(s) you require.


Add achievement notifications

Players should see new achievements in their notification page.

Achievements already contain date so this can be handled by frontend.


Fix Super Linter Check from Fork

This PR fixes

Fix Super Linter Check from Fork

Still doesn't work for me; the pull_request trigger on public forks doesn't seem to be able to obtain a statuses:write permission.


Error: Timeout of Xms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

Hi guys, I need help please. I am trying to do a simple test with timeout of 30000ms, but I don't know why throw this error: Error: Timeout of 30000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
describe('describe 1', function () {
    it('test 1', function (done) {
        expect(200).to.be.equal(200);
        done;
    }).timeout(30000);
});

Thanks!

Make sure you have v1.10.0 minimum.
Then you can use the --timeout option. E.g. sls invoke test --timeout 10000 for 10000ms.

describe('describe 1', function () {
    it('test 1', function (done) {
        expect(200).to.be.equal(200);
        done;
    }).timeout(30000);
});

Replace done; with done();. You need to call the function.


Fixing test failure due to angular2 dom location change

Fix for issue #78

Are you using alpha37? I can't reproduce it.

Yes, as you can see in the screenshot, browser_adapter.js and dom_adapter.js are in src/core/dom

yes, in alpha37 it moved as depicted above.

I also have the same issue.


[service-bus] Small robustness fixes when intermixing close() and init()

PR#8746 is getting a bit complicated. Splitting out these simple fixes that we discovered along the way that were easier to validate to hopefully make the other PR a bit more manageable.

/azp run js - servicebus - tests


IntendedBoxContentsSource missing from InboundShipmentHeader

IntendedBoxContentsSource is missing from InboundShipmentHeader for AmazonShipment.php
There should be a setIntendedBoxContentsSource method for AmazonShipment
Documentation:
https://docs.developer.amazonservices.com/en_US/fba_inbound/FBAInbound_Datatypes.html#IntendedBoxContentsSource

It seems Amazon has added a new feature that needs support. Thank you for bringing this to my attention.

I do need to implement this feature soon.  Can you make me a contributor so that I can build this in rather than branch off?

Sorry, I can't do that.


[CARBONDATA-2460] [CARBONDATA-2461] [CARBONDATA-2462] Fixed bug in AvroCarbonWriter

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?

[x] Any backward compatibility impacted?

[x] Document update required?

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4618/

@kunal642 Please update PR description.

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4829/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5790/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4635/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4843/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4847/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4848/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5827/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4671/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4875/

retest this please

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4673/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5829/

LGTM


Issue with running docker locally on mac m2

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
docker container fails when starting
How to reproduce the bug
I have followed the steps 1-6 in the install.md, and then went to the Local setup using Docker section, where I have run $ docker compose pull succesfully. When I run
$ docker compose up, I get the attached error message.
Error messages and logs
% docker compose up
[+] Running 1/0
 ✔ Container simoneirikssongithubio-jekyll-1  Created                                                                                0.0s
Attaching to jekyll-1
jekyll-1  | Entry point script running
jekyll-1  | Gemfile.lock is tracked by git, keeping it intact
jekyll-1  | bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
jekyll-1  | /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/definition.rb:596:in 'Bundler::Definition#materialize': Could not find nokogiri-1.17.2-aarch64-linux, google-protobuf-4.29.1-aarch64-linux, ffi-1.17.0-aarch64-linux-gnu in locally installed gems (Bundler::GemNotFound)
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/definition.rb:203:in 'Bundler::Definition#specs'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/definition.rb:270:in 'Bundler::Definition#specs_for'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler.rb:162:in 'Bundler.setup'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/setup.rb:26:in 'block in <top (required)>'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/ui/shell.rb:159:in 'Bundler::UI::Shell#with_level'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/ui/shell.rb:111:in 'Bundler::UI::Shell#silence'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/setup.rb:26:in '<top (required)>'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:56:in 'Kernel#require_relative'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:56:in 'Bundler::CLI::Exec#kernel_load'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli.rb:451:in 'Bundler::CLI#exec'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor.rb:527:in 'Bundler::Thor.dispatch'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli.rb:34:in 'Bundler::CLI.dispatch'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/cli.rb:28:in 'Bundler::CLI.start'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/exe/bundle:28:in 'block in <top (required)>'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
jekyll-1  |     from /usr/local/bundle/gems/bundler-2.5.7/exe/bundle:20:in '<top (required)>'
jekyll-1  |     from /usr/local/bundle/bin/bundle:25:in 'Kernel#load'
jekyll-1  |     from /usr/local/bundle/bin/bundle:25:in '<main>'

What operating system are you using?
macOS Sequoia 15.2 (24C101) on Apple M2 chip
Where are you seeing the problem on?
Running locally with Docker (docker compose)
More info
There is a suimilar issue here: https://github.com/alshedivat/al-folio/issues/1540, but I could not use any of the comments to resolve my issue.
I am no docker shark, so I have not tried to fiddle with the Dockerfile, but it seems to me that bundler is looking for some gems that are not installed in the image (?).
Please don't be too harsh on me if I missed something truly basic, it my first ever issue :).

I can now see that this has just been mentioned in issue 2911 also: https://github.com/alshedivat/al-folio/issues/2911.

I am closing this one now then.


[FEATURE]: [PowerTranz] Use connector_response_reference_id as reference to merchant

:memo: Feature Description

Reference id are used to map transactions in the connector’s dashboard.
Hyperswitch manages several reference ids, such as payment_id, attempt_id, and connector_transaction_id for a single transaction.
However, merchants may encounter uncertainty when determining which ID to utilize in the connector dashboard to identify the payment.

:hammer: Possible Implementation

When we receive a response from the connector for the payment, we deserialize it and populate the response field in RouterData.
For the TransactionResponse type, we must fill the connector_response_reference_id with a corresponding reference id for the merchant to identify the transaction.
One might need to have exposure to api docs of the connector for which it is being implemented to decide what to fill in connector_response_reference_id.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/1735

🔖 Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

@AkshayaFoiger
I would be delighted to work on this issue
so kindly assign me this
Thank You : )

Hey @Kota-Karthik, I see that you're already assigned to https://github.com/juspay/hyperswitch/issues/2351. For now, we'll leave this issue open to any other interested contributors. You may pick this up once your work on https://github.com/juspay/hyperswitch/issues/2351 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you

@AkshayaFoiger
I'm interested in doing this issue so kindly assign me this
Thank You : )

Hey @manirht, I see that you're already assigned to https://github.com/juspay/hyperswitch/issues/2248. For now, we'll leave this issue open to any other interested contributors. You may pick this up once your work on https://github.com/juspay/hyperswitch/issues/2248 is completed, and if no other contributors have expressed interest on this. I hope that's fine by you

Hi @AkshayaFoiger I would like to work on this issue if its still available

Hey @kritikash18, sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Hi @AkshayaFoiger, I'm a little confused w.r.t the API contract.
I checked the API contract for PowerTranz to find an appropriate reference number and found that we are using the fields in a different format.
Example:
the field "TransactionIdentifier" in PowerTranz contract is being passed as "transaction_identifier" in our request.
Am I missing something? Is there any contract I should be referring to?
the contract I looked up: https://staging.ptranz.com/api/swagger/index.html

Yes, @kritikash18 , you are indeed referring to the correct documentation.
The difference in field names is due to our practice of renaming all fields of struct PowertranzPaymentsRequest into PascalCase form.
Using #[serde(rename_all = "PascalCase")]
Consequently, when a request is sent, transaction_identifier is automatically converted into TransactionIdentifier.
I trust this answers your query.
Please feel free to reach out, if you have any further queries.


Benefit of your approach?

I don't understand the benefit if your solution, since Django already has a sitemap framework
Maybe explain the benefit in the README?

Django's sitemaps framework didn't support alternates at the time of writing. Here's an example: https://biotta.ch/sitemap.xml
Alternates allow communicating which pages contain the same content in different languages.


Collections with 2 tags or more {{#is tag "Test"}}

Hi,
I’m looking for a way to use « collections » to display content with 2 tags or more (TAG1 or TAG2 - TAG1 and TAG2). In the documentation (http://assemble.io/docs/Collections.html) it’s explain how it’s working only with 1 tag. May be I don’t need to use  #is but something else ? I have tried for exemple to combine TAG + Category, but that’s not working at all :(
Collection documentation for 1 tag :
{{#each tags}}
  {{#is tag "Test"}}

{{tag}}

    {{#each pages}}

{{data.title}}

    {{/each}}

  {{/is}}
{{/each}}

closing since this can be accomplished with subexpressions now.


Patched Dialog_ChooseGraphic in Vanilla Expanded Framework

This didn't desync, right?

I believe it was safe (not 100% sure), just the change wasn't synced for all players. I've decided to patch it anyway, because why not.

As we happened to notice a couple of days ago that it was not synced, I can confirm this didn't desync.


ForeFlight v10.6 + Stratux v1.5b2 Not showing AHRS data "No attitude information"

Stratux version: 1.5b2

Stratux config:
SDR

[ ] single
[X ] dual

GPS

[ ] yes
[ X] no
type:

AHRS

[X ] yes
[ ] no

power source:
usb cable:  X

EFB app and version: (e.g., WingX Pro7 8.6.2)

ForeFlight V10.6
EFB platform: (e.g., iOS 9.2)

iOS 10.3.3
EFB hardware: (e.g., iPad Mini 2)

iPad 4th Generation

Description of your issue:

Added AHRS. When I hit <IP_ADDRESS> Attitude indicator works but it does not see GPS solution. "GPS Solution: No Fix" which I think I read was to be expected when using internal GPS. When I open ForeFlight: "No Attitude Information" Though I am getting GPS derived ground speed and altitude and it shows the GPS source as IOS.
If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.
A snippet of the logs. I see this "attempting" over and over again...
MemStats.Sys=8.8 MB, totalNetworkMessagesSent=1,096
2016/02/26 01:34:37  - UAT/min 0/0 [maxSS=0.00%], ES/min 73/189, Total traffic targets tracked=4
2016/02/26 01:34:37  - Network data messages sent: 899 total, 899 nonqueueable.   Attempting GLONASS and Galelio configuration.
2016/02/26 01:34:43 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:34:47 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:34:51 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:34:55 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:34:59 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:35:03 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:35:07 UBX8 device detected on USB, or GPS serial connection in use. Attempting GLONASS and Galelio configuration.
2016/02/26 01:35:07 stats [started: 16 minutes ago]
2016/02/26 01:35:07  - Disk bytes used = 1.5 GB (80.1 %), Disk bytes free = 371 MB (19.9 %)
2016/02/26 01:35:07  - CPUTemp=55.84 [49.39 - 56.38] deg C, MemStats.Alloc=3.1 MB, MemStats.Sys=8.8 MB, totalNetworkMessagesSent=1,120
2016/02/26 01:35:07  - UAT/min 0/0 [maxSS=0.00%], ES/min 220/220, Total traffic targets tracked=4
2016/02/26 01:35:07  - Network data messages sent: 911 total, 911 nonqueueable.  Network data bytes sent: 23027 total, 23027 nonqueueable.

You need to install a GPS that connects to your Stratux. See http://stratux.me.

Clearly I was under a false impression. Thanks!


[Bug]: Sync stuck or coming down after update

Everything worked fine until the last firmware update. Now the hotspot doesnt sync beyond 998229.  Apparently this was solved for another colleague with a factory reset. Everything else in diagnostics seems fine. Its connected to Ethernet, ECC detected etc. all ok.
My ticket no is 273763.

Hi, you may have filed this bug against the wrong team. This is 1) for explorer.helium.com and 2) looks like a maker problem. I'd recommend you reach out to them directly.
Neither the app nor explorer can help you with a hotspot sync issue.


Topics: topic updates for June

Just links to topic mentions made in May, not any new topics.

Post merge tACK


Draw aminoacids 5 angstrom away from hetatoms as ball&stick

To make interactions between ligand and protein more visible.
The number of angstroms should be configurible either in the KNIME node dialog or in the Web UI.

Added the slider to modulate the pocket radius


[ARM] Fix #20842: az bicep: Fix to use requests environment variables for CA bundle

Description

Azure CLI relies on the requests python package, which allows users to set custom CA bundle paths through two environment variables: CURL_CA_BUNDLE and REQUESTS_CA_BUNDLE. https://2.python-requests.org/en/master/user/advanced/#ssl-cert-verification
This is useful for cases where the host is behind a MITM proxy that re-signs all SSL traffic for DPI, or due to a corporate policy that defines which CA roots are to be trusted.
Enforcing a hard-coded bundle, like the one provided by the certifi package, only leads users under similar use cases to modify the Python site packages files, which is meant to be controlled only by the package manager and thus it is not a good practice to configure any Python solution.
The proposed change here leverages Python setdefault mechanism available on dictionaries, which allows to set a default value for a key that is not set. This makes any lookups return the default value instead of their usual result (KeyError exception on an index lookup for a missing key, or None on a get method call).
Setting the CURL_CA_BUNDLE environment variable default value to the certifi bundle path results in the following resolution order:

REQUESTS_CA_BUNDLE environment variable is used if set
CURL_CA_BUNDLE environment variable is used if set
certifi.where() path is used otherwise

fixes #20842.
Testing Guide

A clean environment should use the certifi CA bundle path:
env -i az bicep install

If either REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE is set, then it should be picked up:
env -i REQUESTS_CA_BUNDLE=/path/to/cacert1.pem az bicep install
env -i CURL_CA_BUNDLE=/path/to/cacert1.pem az bicep install

If both REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE are set, then it should use REQUESTS_CA_BUNDLE (this is by definition of the requests package).
History Notes

[ARM] Fix #20842: az bicep: Fix to use requests environment variables for CA bundle

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Bicep

Could someone check this, please?

@Shenglol Could you please help to review this PR?

Please include PR ID in the commit message of https://github.com/Azure/azure-cli/commit/e0bb745bdc15b4c958baaddc1357aa78e7a3d94e.

Has this fix been released? If so, it does not work, still seeing the same error.

@inaun This PR has been released in version 2.35.0. if you still have the same issue after using 2.35.0+ version, please submit a new issue to describe your issue


Refactor client-side file path management

Some of the path code has gotten redundant. Figure out a more elegant way to handle it instead of using a bunch of split, slice, join calls.  The maturity of path handling should be considered a pre-req for adding another file system provider like Globus.

It's better.


Filter X_df based on valid y_ids

can probably do this right before train test split

this is done via the stard_preprocesser_manager which was first created by jj et al


Fix for #7 improper handling of 'OK' content in an SMS

This probably fixes the issue, as confirmed by a unit test, but I'm unable to functionally test it since I don't have an enabled modem anymore.
@fmalina I'd appreciate if you could review this change.
Running unit tests is a little awkward since I was too lazy to do the whole distutils/setuptools compatibility thing between py3 and py2, so here is how we do it for now:
This will use the version currently installed (the "before"):
~/pyhumod$ python tests/test_humodem.py

This will use the version from the branch (the "after"):
~/pyhumod$ PYTHONPATH="." python tests/test_humodem.py

Email mi adresu, poslu ti E220. Mam 3 navic.
Kind regards,
F. Malina
Founder Flatmate Rooms™ https://www.flatmaterooms.co.uk, etc.
http://schooletc.co.uk
+44 (0) 7715 342 265
3 School Drive, Billinge, WN57LR
On 15 April 2015 at 08:07, Slawek Ligus<EMAIL_ADDRESS>wrote:

This probably fixes the issue, as confirmed by a unit test, but I'm unable
to functionally test it since I don't have an enabled modem anymore.
@fmalina https://github.com/fmalina I'd appreciate if you could review
this change.
Running unit tests is a little awkward since I was too lazy to do the
whole distutils/setuptools compatibility thing between py3 and py2, so here
is how we do it for now:
This will use the version currently installed (the "before"):
~/pyhumod$ python tests/test_humodem.py
This will use the version from the branch (the "after"):
~/pyhumod$ PYTHONPATH="." python tests/test_humodem.py

You can view, comment on, or merge this pull request online at:
https://github.com/oozie/pyhumod/pull/9
Commit Summary

Fix for #7 impropor handling of 'OK' content in an SMS

File Changes

M humod/humodem.py
https://github.com/oozie/pyhumod/pull/9/files#diff-0 (2)
D tests/test.py
https://github.com/oozie/pyhumod/pull/9/files#diff-1 (1)
A tests/test_humodem.py
https://github.com/oozie/pyhumod/pull/9/files#diff-2 (49)

Patch Links:

https://github.com/oozie/pyhumod/pull/9.patch
https://github.com/oozie/pyhumod/pull/9.diff

—
Reply to this email directly or view it on GitHub
https://github.com/oozie/pyhumod/pull/9.

Testy su fajne. Mock je dobry napad.
Kind regards,
F. Malina
Founder Flatmate Rooms™ https://www.flatmaterooms.co.uk, etc.
http://schooletc.co.uk
+44 (0) 7715 342 265
3 School Drive, Billinge, WN57LR
On 21 April 2015 at 17:10, F Malina<EMAIL_ADDRESS>wrote:

Email mi adresu, poslu ti E220. Mam 3 navic.
Kind regards,
F. Malina
Founder Flatmate Rooms™ https://www.flatmaterooms.co.uk, etc.
http://schooletc.co.uk
+44 (0) 7715 342 265
3 School Drive, Billinge, WN57LR
On 15 April 2015 at 08:07, Slawek Ligus<EMAIL_ADDRESS>wrote:

This probably fixes the issue, as confirmed by a unit test, but I'm
unable to functionally test it since I don't have an enabled modem anymore.
@fmalina https://github.com/fmalina I'd appreciate if you could review
this change.
Running unit tests is a little awkward since I was too lazy to do the
whole distutils/setuptools compatibility thing between py3 and py2, so here
is how we do it for now:
This will use the version currently installed (the "before"):
~/pyhumod$ python tests/test_humodem.py
This will use the version from the branch (the "after"):
~/pyhumod$ PYTHONPATH="." python tests/test_humodem.py

You can view, comment on, or merge this pull request online at:
https://github.com/oozie/pyhumod/pull/9
Commit Summary

Fix for #7 impropor handling of 'OK' content in an SMS

File Changes

M humod/humodem.py
https://github.com/oozie/pyhumod/pull/9/files#diff-0 (2)
D tests/test.py
https://github.com/oozie/pyhumod/pull/9/files#diff-1 (1)
A tests/test_humodem.py
https://github.com/oozie/pyhumod/pull/9/files#diff-2 (49)

Patch Links:

https://github.com/oozie/pyhumod/pull/9.patch
https://github.com/oozie/pyhumod/pull/9.diff

—
Reply to this email directly or view it on GitHub
https://github.com/oozie/pyhumod/pull/9.


SNS: missing field `SigningCertUrl

Take this simple Lambda:
https://serverlessland.com/patterns/sns-sqs-lambda-sam-rust (the code is not up to date but 8 months ago it was working)
If you update the  code and the libs
use aws_lambda_events::event::{sns::SnsMessage, sqs::SqsEvent};
use futures::future::join_all;
use lambda_runtime::{service_fn, Error, LambdaEvent};
use serde::Deserialize;

#[tokio::main]
async fn main() -> Result<(), Error> {
    tracing_subscriber::fmt()
        .with_ansi(false)
        .without_time()
        .init();

    lambda_runtime::run(service_fn(|event: LambdaEvent<SqsEvent>| execute(event))).await?;

    Ok(())
}

pub async fn execute(event: LambdaEvent<SqsEvent>) -> Result<(), Error> {
    println!("Input {:?}", event);

    let mut tasks = Vec::with_capacity(event.payload.records.len());
    for record in event.payload.records.into_iter() {
        tasks.push(tokio::spawn(async move {
            if let Some(body) = &record.body {
                let sns_message = serde_json::from_str::<SnsMessage>(&body).unwrap();
                let sns_message = sns_message.message;
                let request = serde_json::from_str::<MyStruct>(&sns_message);
                if let Ok(request) = request {
                    // Do something
                    println!("Request {:?}", request);
                }
            }
        }));
    }

    join_all(tasks).await;

    Ok(())
}

#[derive(Deserialize, Debug, Clone, PartialEq, Eq)]
pub struct MyStruct {
    pub name: String,
    pub surname: String,
}

cargo.toml
[package]
name = "sns-sqs-lambda-rust"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "handler"
path = "src/bin/handler.rs"

[dependencies]
aws_lambda_events = { version = "0.7.2", default-features = false, features = ["sqs", "sns"] }
futures = "0.3.17"
lambda_runtime = "0.7.2"
serde = {version = "1.0", features = ["derive"] }
serde_json = "1.0.68"
simple-error = "0.2"
tokio = { version = "1", features = ["full"] }
tracing-subscriber = "0.3"

You get an exception:
`Input LambdaEvent { payload: SqsEvent { records: [SqsMessage { message_id: Some("44dec5ec-0128-4661-9c54-a06485ead572"), receipt_handle: Some(".....="), body: Some("{\n  "Type" : "Notification",\n  "MessageId" : "5a1c0085-ee71-5e38-9d84-5c9bdcb02ad5",\n  "TopicArn" : "arn:aws:sns:eu-central-1:xxxxx:sam-app-MySnsTopic-BWiabVkXTYg2",\n  "Message" : "{\n  \"name\": \"Daniele\",\n  \"surname\": \"Frasca\"\n}",\n  "Timestamp" : "2022-12-22T10:25:05.377Z",\n  "SignatureVersion" : "1",\n  "Signature" : ".....==",\n  "SigningCertURL" : "https://sns.eu-central-1.amazonaws.com/SimpleNotificationService-56e67fcb41f6fec09b0196692625d385.pem\",\n  "UnsubscribeURL" : "https://sns.eu-central-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-central-1:xxxxx:sam-app-MySnsTopic-BWiabVkXTYg2:44fb3b0d-6b6a-48cc-9183-f52a3d238175\"\n}"), md5_of_body: Some("ab0cac5be52987991d1d1b2b57a08480"), md5_of_message_attributes: None, attributes: {"SentTimestamp": "1671704705405", "SenderId": "AIDAISDDSWNBEXIA6J64K", "ApproximateFirstReceiveTimestamp": "1671704705410", "ApproximateReceiveCount": "1"}, message_attributes: {}, event_source_arn: Some("arn:aws:sqs:eu-central-1:xxxxx:sam-app-MySqsQueue-nDLzmzS8vEaH"), event_source: Some("aws:sqs"), aws_region: Some("eu-central-1") }] }, context: Context { request_id: "d187ab64-f92b-52a2-a81b-f77acb9cde03", deadline:<PHONE_NUMBER>726, invoked_function_arn: "arn:aws:lambda:eu-central-1:xxxxxx:function:sam-app-MyFunction-QqyqP0mMMxOS", xray_trace_id: Some("Root=1-63a43081-22df4f205924b3de2b0c3b46;Parent=54651cb434f944d8;Sampled=0"), client_context: None, identity: None, env_config: Config { function_name: "sam-app-MyFunction-QqyqP0mMMxOS", memory: 128, version: "$LATEST", log_stream: "2022/12/22/[$LATEST]7da35658a61a4b0cb323242f7f20526a", log_group: "/aws/lambda/sam-app-MyFunction-QqyqP0mMMxOS" } } }
thread 'tokio-runtime-worker' panicked at 'called Result::unwrap() on an Err value: Error("missing field SigningCertUrl", line: 11, column: 1)', src/bin/handler.rs:29:77
`
Please let me know if it is not clear.

It happens.
SigningCertUrl
SigningCertURL
I did not see it as well at first look.

On the readme:
We have no desire to manually write event definitions and contributions to that effect will not be accepted. If the [official Go SDK](https://github.com/aws/aws-lambda-go/tree/master/events) is missing an event definition, please file a bug on that project rather than submitting a fix here. Once the official Go SDK has included your changes this project will pick up the new event definitions.
In GO I can see it is correct:
https://github.com/aws/aws-lambda-go/blob/99a9a4bd72b603da8d75d74d77937c146fed0b7c/events/sns.go#L28
I also see that what they call SNSEntity here is called SnsMessage. If it is all generated automatically, I need to find out where the name change is.
Another thing that I see is:
#[serde(rename_all = "PascalCase")]
So, in theory, this SigningCertURL should be SigningCertUrl.
Can you explain to me how to fix it? I think I cannot directly change the aws-lambda-events/aws_lambda_events/src/sns/mod.rs