Update to new plugin format

Do not commit directly to this branch. Instead, develop parts of the list in a separate branch and PR onto here.

[x] rename package to brainscore_vision
[x] use pyproject.toml instead of setup.py (https://github.com/brain-score/brain-score/pull/383)
[x] refactor data packaging and benchmarks to plugin format (https://github.com/brain-score/brain-score/pull/353)
[x] refactor metrics to plugin format (https://github.com/brain-score/brain-score/pull/391)
[x] split test_setup.sh script into test.py files (https://github.com/brain-score/brain-score/pull/393)
[x] validate tests (https://github.com/brain-score/brain-score/pull/403)
[ ] unify submissions package (https://github.com/brain-score/brain-score/pull/394)
[ ] delete lookup.csv (https://github.com/brain-score/brain-score/pull/397)
[ ] rename data and benchmark identifiers <lab>.<firstauthor><year> to <firstauthor><year> (https://github.com/brain-score/brain-score/pull/402)
[x] integrate model_tools (https://github.com/brain-score/brain-score/pull/381)
[ ] provide tools for model conversion: s3, scripts, tests (https://github.com/brain-score/brain-score/pull/395)
[ ] refactor at least one model to plugin format (https://github.com/brain-score/brain-score/pull/398)
[ ] duplicate protection for identifiers / submissions (@mike-ferguson)
[ ] plugin versioning (@shehadak)
[ ] setup github actions for automated submissions (@kvfairchild)
[ ] set environment variables in Travis and GitHub Actions (@kvfairchild)
[ ] update documentation (@mike-ferguson)
[ ] update examples (@kvfairchild @mschrimpf)
[ ] incorporate Terms and Conditions (waiting for Erik / legal counsel)
[ ] merge latest changes from main (https://github.com/brain-score/brain-score/pull/392)
[ ] update repo name (@mschrimpf)

We will not integrate all models immediately, but will instead continually add them (see https://github.com/brain-score/brain-score/pull/357).
(The almost 300k deletions are primarily from notebooks.)

re-open to hopefully trigger travis PR build

Since Travis Pull Request is stuck, I am closing this PR and will instead open a new one.


Incorrect alert in Layout/IndentationConsistency

Expected behavior
Layout/IndentationConsistency should ensure that all values with the body of a case statement are aligned with each other.
Actual behavior
Layout/IndentationConsistency incorrectly autocorrect one of the when bodies to have an addition 2 spaces of indentation.
Steps to reproduce the problem
Run rubocop against this code:
opts[:ssl_verify_mode] = case new_resource.ssl_verify_mode
                         when :verify_none
                           Chef::HTTP::VerifyNoneSSLPolicy
                         else :verify_peer
                           Chef::HTTP::VerifyPeerSSLPolicy
                         end

This will produce this warning
test.rb:7:28: C: Layout/IndentationConsistency: Inconsistent indentation detected.
                           Chef::HTTP::VerifyPeerSSLPolicy
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This will autocorrect to:
# frozen_string_literal: true

opts[:ssl_verify_mode] = case new_resource.ssl_verify_mode
                         when :verify_none
                           Chef::HTTP::VerifyNoneSSLPolicy
                         else :verify_peer
                              Chef::HTTP::VerifyPeerSSLPolicy
                         end

RuboCop version
master (0.84)

🤦 Ignore me entirely today


How do i get bitrate and filesize?

Hello, how do i get the bitrate and filesize of the audio using wavesurfer. I know this must be pretty basic but i can't seem to get a hang of it just yet. Thanks

Please don't spam, otherwise I'll have to block you.

i'll be glad if i get an answer to my question. Thanks

Seems like something we could expose in wavesurfer?

hows that done?

@interwap wavesurfer.backend.buffer.length wavesurfer.backend.buffer.sampleRate

@interwap wavesurfer.backend.buffer.length wavesurfer.backend.buffer.sampleRate


Development v1.1.3

Creating pull request to test deployment of v1.1.3.

Ready to test next deployment.


Error during cleanup with docker version 1.6.2

I see this error with docker version 1.6.2(actually it is coreos 723.3.0)
2015/09/04 01:23:00 Vol Cleanup: open /var/lib/docker/vfs/dir: no such file or directory
Any views on this please?

I tried it on ubuntu:trusty, it works as expected.
 /var/lib/docker/vfs/dir is the folder to store volume data, and it won't be created unless you have some containers running with volumes. Thus, the error message should disappear after you use containers with volume, or you can manually create the folder  before running this image.


Jupyter - Customize output fonts & style

It would be pretty helpful if we could customize the font & style of cell output.
Especially in Chinese system - it's using SimSun which doesn't look good enough.

Duplicate of https://github.com/microsoft/vscode/issues/123149


[FEATURE] Change category names

Is your feature request related to a problem? Please describe.
Ampersand in the category names creates backward compatibility issues with Illinois app 4.3. We need to replace that with the word "and".
Describe the solution you'd like
Change the category names with & as below:

Ceremonies & Services -> Ceremonies and Services
Conferences & Workshops -> Conferences and Workshops
Festivals & Celebrations -> Festivals and Celebrations
Receptions & Open House Events -> Receptions and Open House Events
Recreation, Health & Fitness -> Recreation, Health and Fitness
Social & Informal Events -> Social and Informal Events
Speakers & Seminars -> Speakers and Seminars

IMPORTANT: In all other places within Events Manager, wherever & in category names are being used, 'and' should be used to replace them. This includes creating and editing events.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Completed.


Add timeline disclaimer to nonprofit application portal

Add a disclaimer underneath "As a partner, Bits of Good will help you build software that turns your need into real product. Please fill out the following form so that we can best understand your mission and need!" on the Nonprofit Application Portal (found at [https://apply.bitsofgood.org/]) stating:
"If you apply on or after September 7, 2021, you can expect to hear back from us within a week to set up a follow-up meeting and you will be considered for the Spring 2022 project cycle.
If you apply between November 17, 2021, and January 24, 2022, you can expect to hear back from us by January 25, 2022, to set up a follow-up meeting and you will be considered for the Fall 2022 project cycle.
If you apply on or after January 25, 2022, you can expect to hear back from us within a week to set up a follow-up meeting and you will be considered for the Fall 2022 project cycle"
Acceptance Criteria: This change will be considered done once the disclaimer is visible to nonprofits applying on the nonprofit portal.

@marissagardner

this is the result if we explicitly list all of the content below
Here is the change that's currently on my branch, let me know if there is something that is more desirable or if we should find a designer to proof any of this:

Take a look over the content as well, I may have missed things while copying everything. If I could get a deadline for the last time range as well that would make everything symmetrical.

probably can extend the width of the dates column

@stephanie-he @lilliniunni idk if you have any qualms or preferences or suggestions with these designs


docs(README): add downloads badge - I77

Issue accordproject/techdocs#77

Changes

add downloads badge

Changes

-

Flags

Related Issues

Issue #
Pull Request #

Coverage remained the same at 95.235% when pulling 9d162c7c49e745b8815f29b964adfe07f0b3a5e4 on RanadeepPolavarapu:fix/77 into 01974890adb702b19dad9499be4223ec7149ea45 on accordproject:master.

Thanks for the PR! You'll want to make sure to add a DCO (Developers Certificate of Originality) per the instructions:

Ensure you provide a DCO sign-off for your commits using the -s option of git commit. For more information see how this works.

@RanadeepPolavarapu I think you'll need to resolve conflicts on this PR's branch.


[azidentity] DefaultAzureCredential: add exclude_managed_identity_credential, etc.

Feature Request
There should be feature parity with the Python SDK.
Specifically I would like to use exclude_managed_identity_credential, exclude_workload_identity_credential, and exclude_interactive_browser_credential with NewDefaultAzureCredential().

Thanks for opening this issue. There are a couple big reasons we don't plan to add options like these. First, they would encourage people to try to make DefaultAzureCredential work in scenarios where it would be better to use a more specific credential type instead. Using a more specific type is generally the best approach in production because it makes authentication more predictable and robust, and easier to debug when something goes wrong. Second, they would needlessly complicate the API. There's no need to selectively disable parts of DefaultAzureCredential because all the credential types it uses are available separately and ChainedTokenCredential enables building a similar chain of them.

@chlowell That sounds reasonable. I think though those design principles should be established across the different languages, otherwise it becomes confusing why the Python SDK has the options and others don't.


WIP: [build-script] Add preset to set up CI testing for the stress tester

This configures a preset buildbot_skstresstester_macos that can be used for CI testing of the stress tester.
This does not yet set up testing the stress tester as a downstream dependency of the Swift and SwiftSyntax project.

preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

There have been a couple changes to the SwiftSyntax and stress tester repositories. Let’s just verify again.
preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

And get this PR green.
@swift-ci Please smoke test

Is there a reason for deleting buildbot_swiftevolve_macos preset?

I only added it a couple days ago and now realized that there is never a situation where we only want to test one of the two since they both live in the same repository.

Building the stress tester failed because the sources in SwiftSyntax master-gen were not up-to-date. Let’s try again.
preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform


Prevent Disguised Links

Description
Fixes #1397
If the text part contains the string "stacker.news" then this is stripped out and only the href part is rendered.
This prevents someone making a link look like it's a genuine Stacker News link.

I think the goal here is to prevent impersonation of any link - not just SN links. It's pretty non-trivial though because we'd need a list tlds. Or maybe simply checking for \[a-zA-Z0-9]\\.[a-zA-Z0-9]\ and seeing that it doesn't match the url would be enough.
@ekzyis made the issue maybe he has a better idea for what this should do.

No probs. I'll wait for refinement on the requirements and then make the change.

Yes, I intended to solve generally misleading links. I think we can use the regexp @huumn mentioned and URL parsing to check if it looks misleading like this:
diff --git a/components/media-or-link.js b/components/media-or-link.js
index 76ac52d7..5639d3f6 100644
--- a/components/media-or-link.js
+++ b/components/media-or-link.js
@@ -11,6 +11,7 @@ import YouTube from 'react-youtube'
 import useDarkMode from './dark-mode'

 function LinkRaw ({ href, children, src, rel }) {
+  // prevent misleading users via URLs from origin X disguised as from origin Y
   const isRawURL = /^https?:\/\//.test(children?.[0])
   return (
     // eslint-disable-next-line
diff --git a/components/text.js b/components/text.js
index ac5c2851..8c5c7758 100644
--- a/components/text.js
+++ b/components/text.js
@@ -176,9 +176,21 @@ export default memo(function Text ({ rel, imgproxyUrls, children, tab, itemId, o
         return href
       }

-      // If [text](url) was parsed as <a> and text is not empty and not a link itself,
-      // we don't render it as an image since it was probably a conscious choice to include text.
-      const text = children[0]
+      let text = children[0]
+      // we use the actual URL as the text if text in [text](url) is a misleading
+      if (/^\s*(\w+\.)+\w+/.test(text)) {
+        let misleading = false
+        try {
+          if (new URL(text).origin !== new URL(href).origin) misleading = true
+        } catch {}
+
+        try {
+          if (new URL('https://' + text).origin !== new URL(href).origin) misleading = true
+        } catch {}
+
+        if (misleading) text = href
+      }
+
       let url
       try {
         url = !href.startsWith('/') && new URL(href)
@@ -254,7 +266,7 @@ export default memo(function Text ({ rel, imgproxyUrls, children, tab, itemId, o
       }

       // assume the link is an image which will fallback to link if it's not
-      return <TextMediaOrLink src={href} rel={rel ?? UNKNOWN_LINK_REL} {...props}>{children}</TextMediaOrLink>
+      return <TextMediaOrLink src={href} rel={rel ?? UNKNOWN_LINK_REL} {...props}>{text}</TextMediaOrLink>
     },
     img: TextMediaOrLink
   }), [outlawed, rel, itemId, Code, P, Heading, Table, TextMediaOrLink])

This seemed to work during my shallow testing.

Hey @ekzyis
Thanks for the suggestion. However, I don't think it works correctly as it always seems to return true for misleading whether the text part is the same as the href part. For example:

stacker.news -> misleading (this shouldn't be considered misleading!)
stacker.com -> misleading

Therefore, I've modified the logic slightly and I've also moved it into it's own function called isMisleadingLink (feel free to suggest a new name).
My only concern it when using the example from the issue description (with the npub link) it renders an embed. This might be due to you chaning the children to text but I don't know SN well enough to know if this is a recession or desired behaviour so if you could check this that would be cool.

I ended up fixing this in #1430 as I was refactoring the nasty Text component. I used your disguised link logic so I'll award you the sats you would've earned if this were merged.

Cheers @huumn appreciate that 👍

Did your refactor get merged?

Yep, it's merged. I haven't the last few days of awards though. I'll try to do it by end of day.


Specific development only for electron platform like web/android/ios

Is there a way to do a specific development only for electron device ? Use file.electron.js and the object Platform.select({electron: .... }), same to .ios / .android / .web
Thansk in advance !

Electron platform is just web platform displayed inside Electron, so the platform is web. Why do you want to have a specific electron platform? Can't you be able to detect it as if it were another web browser? Maybe with presence of some Electron-only APIs?

Thank for your answer, just to know if it was possible to do that (with same logical that .web, .android, .ios => .electron)
Specifically I had a problem with the navigation because I use "react-navigation" to mobile case and "react-router-dom" to web and electron cases. Except that web need BrowserRouter and electron need HashRouter, but I solve my problem with a conditional test with the help of "is-electron" lib.

Thank for your answer, just to know if it was possible to do that (with same logical that .web, .android, .ios => .electron)

Technically it's possible, but I don't know how to register the .electron prefix to use it when generating for Electron platform, and more specially if it's just web platform packaged inside Electron.

Specifically I had a problem with the navigation because I use "react-navigation" to mobile case and "react-router-dom" to web and electron cases.

Why don't you use react-router-native for mobile? The re-start_router template has already an example how to unify both APIs...

Except that web need BrowserRouter and electron need HashRouter, but I solve my problem with a conditional test with the help of "is-electron" lib.

Is that true? I didn't have any problem with default BrowserRouter in Electron...

Why don't you use react-router-native for mobile? The re-start_router template has already an example how to unify both APIs...

Because I think that "react-navigation" have a better approach to mobile UI (Native design according to platform, respect of safe area, ...)

Is that true? I didn't have any problem with default BrowserRouter in Electron...

If I use BrowserRouter only, in the Electron view I see the navbar but there is no action when I click on link. And with BrowserRouter in web and HashRouter in Electron, it works..

If I use BrowserRouter only, in the Electron view I see the navbar but there is no action when I click on link (Router content doesn't change).

Does it shows the navbar? It shouldn't... anyway, you should not touch the navbar at all...

Yes there is the navbar but whatever the url (ex /first-page, /second-page, /third-page ,...), it's always the first screen define wich is display in the router content.
Here there is the same problem with the solution that I used : how-to-use-react-router-with-electron


Why does IHW depend on a nominal alpha value to compute adjusted p-value?

library(IHW)

# Code from example in help file of IHW
save.seed <- .Random.seed; set.seed(1)
X   <- runif(20000, min=0, max=2.5)   # covariate
H   <- rbinom(20000,1,0.1)            # hypothesis true or false
Z   <- rnorm(20000, H*X)              # Z-score
pvalue <- 1-pnorm(Z)                  # pvalue

ihw_fdr <- ihw(pvalue, X, .1)

# try a different alpha value
ihw_fdr2 <- ihw(pvalue, X, .9)

all.equal(adj_pvalues(ihw_fdr), adj_pvalues(ihw_fdr2))

This produces adjusted p-values with "Mean relative difference: 0.144893".

Could it be because it calculates the weights to optimize the number of rejections for that specific alpha value? For your example:
> sum( adj_pvalues(ihw_fdr) < 0.1 )
[1] 238
> sum( adj_pvalues(ihw_fdr2) < 0.1 )
[1] 109
> sum( adj_pvalues(ihw_fdr) < 0.9 )
[1] 4663
> sum( adj_pvalues(ihw_fdr2) < 0.9 )
[1] 7928

So it seems that we will need to re-run IHW for each alpha value we compare. This seems like a complication for SummarizedBenchmark. Would it be best to include a separate 'method' for each alpha value? Or create a wrapper that applies IHW separately for each alpha?

@kdkorthauer I think the easiest way to deal with this would be to add a separate 'method' for each alpha value and do some munging of the results before plotting.
A wrapper might be possible, but I'm not immediately sure how we could take the results from e.g. 10 alphas w/ ihw and merge it into a single column in the SummarizedBenchmark.

Here's a snippet showing how we could handle multiple alpha values for IHW. Note the use of UQ(ia) to unquote the iavariable so it gets passed to the function as the value (similar to Claire's question about passing variables to dplyr as values).
## construct design
bd <- BenchDesign()

## add unadjusted p-values as dummy method
bd %<>% addBMethod("unadjusted", function(x) { x }, x = pval)

## add IHW with different alpha
for (ia in seq(0.01, 0.10, by=0.01)) {
    bd %<>% addBMethod(paste0("ihw_", sprintf("%02g", ia*100)),
                       IHW::ihw,
                       IHW::adj_pvalues,
                       pvalues = pval, covariates = ind_covariate,
                       alpha =  UQ(ia))
}

## simulate toy data (need to source simulation-helpers.R)
sim_df <- du_ttest_sim(m = 20000, pi0 = 0.8, effect_size = 1.5)
names(sim_df)[which(names(sim_df) == "H")] <- "qvalue"

## create SummarizedBenchmark
sb <- buildBench(bd, sim_df, truthCol = "qvalue", ptabular = TRUE)

## calculate eval metrics
sb <- addDefaultMetrics(sb)
tsb <- estimatePerformanceMetrics(sb, alpha=seq(0.01, 0.10, by=0.01), tidy = TRUE)

## plot number of rejections
tsb %>%
    filter(is.na(param.alpha) | (param.alpha == alpha),
           performanceMetric == "rejections") %>%
    ggplot(aes(x = alpha, y = value, color = blabel)) +
    geom_line(alpha=1/3) + geom_point(alpha=1) +
    theme_bw() +
    expand_limits(x=0, y=0) +
    viridis::scale_color_viridis(discrete = TRUE) +
    scale_x_continuous("alpha cutoff", breaks=seq(0, 1, by=0.01)) +
    ylab("Number of Rejections")

Here's what it looks like if we don't subset on param.alpha == alpha.
tsb %>%
    filter(performanceMetric == "rejections",
           grepl("ihw", blabel)) %>%
    ggplot(aes(x = alpha, y = value, color = blabel)) +
    geom_line(alpha=1/3) + geom_point(alpha=1/2) +
    theme_bw() +
    expand_limits(x=0) +
    viridis::scale_color_viridis(discrete = TRUE) +
    scale_x_continuous("alpha cutoff", breaks=seq(0, 1, by=0.01)) +
    ylab("Number of Rejections")

Closing this for now - feel free to re-open.
I'm using the same approach as in the previous response for the simulations.
See here:
https://github.com/pkimes/benchmark-fdr/blob/4f03bb/simulation_studies/sim-core.R#L110-L117


Import and update issues templates from build repo

Fixes: #20
Signed-off-by: Morgan Davies<EMAIL_ADDRESS>

run tests (to examine checking out behaviour, not to do with this PR)


scala-native Scala 3 support

🙏

https://twitter.com/scala_native/status/1484889552833687552
https://scala-native.readthedocs.io/en/v0.4.3/changelog/0.4.3.html

@xuwei-k  Fyi we are unable to release Scala 3 build for scala-native yet, but I have bumped up scala-native used to build artifacts for 3.2.11 and staged them.  We'll work on add on build for Scala 3 scala-native for 3.2.11.

@xuwei-k Unfortunately this is now blocked by scala-xml 2.0.1 not being published for Scala 3 native:
https://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml
@SethTisue Any chance the scala-xml build for Scala 3 native can be published?
Thanks.

@xuwei-k @SethTisue Seems like this needs to be completed first:
https://github.com/scala/scala-xml/pull/584

I can't really afford to learn about Scala Native details myself, but I can certainly roll a scala-xml release once Yoshida-san and/or other volunteers finish that PR.

There's a PR now for scala-xml, just waiting to be merged https://github.com/scala/scala-xml/pull/592

@cheeseng scala-xml-2.1.0 was released with support of scala3 at scala-native.
May I ask you to move forward here? Thanks!

Here it is: https://github.com/scalatest/scalatest/pull/2114

@catap Sure, I'll work on it, thanks for informing!

@cheeseng may I ask you which commit / branch have you used to test it?

@catap Sure, I am staging 3.2.12 from this branch of my fork, in this PR:
https://github.com/scalatest/scalatest/pull/2121
and the exact branch URL is:
https://github.com/cheeseng/scalatest/tree/feature-3.2.12-rel
It is late here so I'll have to call it a day, hopefully we can continue to publish 3.2.12 that includes a working scala-native build for scala 3 tomorrow!
Thanks!  :)

@cheeseng the first idea is https://github.com/cheeseng/scalatest/pull/4 can I ask you to try it?

@catap Sure I'll try it a try today, thanks for the PR!

@catap Hmm, unfortunately it still failed with the same error:
[error] Found 8 missing definitions while linking
[error] Not found Top(org.scalatest.SuitesL20org.scalatest.SuitesL30scala.collection.immutable.Seq$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.SuitesL20org.scalatest.SuitesL30scala.collection.immutable.Seq$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/core.native/target/scala-3/src_managed/main/org/scalatest/Suites.scala:57
[error] Not found Top(org.scalatest.funspec.AnyFunSpecL32org.scalatest.funspec.AnyFunSpec$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.funspec.AnyFunSpecL32org.scalatest.funspec.AnyFunSpec$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/funspec.native/target/scala-3/src_managed/main/org/scalatest/funspec/AnyFunSpec.scala:1631
[error] Not found Top(org.scalatest.funsuite.AnyFunSuiteL34org.scalatest.funsuite.AnyFunSuite$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.funsuite.AnyFunSuiteL34org.scalatest.funsuite.AnyFunSuite$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/funsuite.native/target/scala-3/src_managed/main/org/scalatest/funsuite/AnyFunSuite.scala:1563
[error] Not found Top(org.scalatest.tools.FrameworkL29org.scalatest.tools.Framework$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.tools.FrameworkL29org.scalatest.tools.Framework$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/core.native/target/scala-3/src_managed/main/org/scalatest/tools/Framework.scala:24
[error] Undefined definitions found in reachability phase
[error] (Test / nativeLink) Undefined definitions found in reachability phase

Build for Scala 2.13 and 2.12 still works though.

@cheeseng can you share exactly command which have you used to have this error? sbt scalatestTestDottyNative/test works fine on my side, but I may have some caching / etc somewhere, and if it the command I'll clone the fresh repo to try it one more time.

@catap Yes sbt scalatestTestDottyNative/test should work fine, I hit the error only when I tried to use the artifacts I staged in Sonatype from scalatestplus-scalacheck in this branch:
https://github.com/scalatest/scalatestplus-scalacheck/tree/feature-<IP_ADDRESS>-rel
to get the error you can run:
sbt ++3.1.2 scalatestPlusScalaCheckNative/test

To test that you'll need to add the staged repo in your ~/.sbt/ , can I email the repo urls to<EMAIL_ADDRESS>?

Yep, this is my email, feel free to use it

@catap I just sent you the repo url, can you check your inbox?

@cheeseng an attempt to cal sbt ++3.1.2 scalatestPlusScalaCheckNative/test  fails with error:
java.lang.RuntimeException: Switch failed: no subprojects list "3.1.2" (or compatible version) in crossScalaVersions setting.
If you want to force it regardless, call ++ 3.1.2!
	at scala.sys.package$.error(package.scala:30)
	at sbt.Cross$.switchScalaVersion(Cross.scala:334)
	at sbt.Cross$.switchCommandImpl(Cross.scala:244)
	at sbt.Cross$.$anonfun$switchVersion$2(Cross.scala:241)
	at sbt.Command$.$anonfun$applyEffect$4(Command.scala:150)
	at sbt.Command$.$anonfun$applyEffect$2(Command.scala:145)
	at sbt.Command$.process(Command.scala:189)
	at sbt.MainLoop$.$anonfun$processCommand$5(MainLoop.scala:243)
	at scala.Option.getOrElse(Option.scala:189)
	at sbt.MainLoop$.process$1(MainLoop.scala:243)
	at sbt.MainLoop$.processCommand(MainLoop.scala:274)
	at sbt.MainLoop$.$anonfun$next$5(MainLoop.scala:163)
	at sbt.State$StateOpsImpl$.runCmd$1(State.scala:289)
	at sbt.State$StateOpsImpl$.process$extension(State.scala:325)
	at sbt.MainLoop$.$anonfun$next$4(MainLoop.scala:163)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
	at sbt.MainLoop$.next(MainLoop.scala:163)
	at sbt.MainLoop$.run(MainLoop.scala:144)
	at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:119)
	at sbt.io.Using.apply(Using.scala:27)
	at sbt.MainLoop$.runWithNewLog(MainLoop.scala:112)
	at sbt.MainLoop$.runAndClearLast(MainLoop.scala:66)
	at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:51)
	at sbt.MainLoop$.runLogged(MainLoop.scala:42)
	at sbt.StandardMain$.runManaged(Main.scala:193)
	at sbt.xMain$.$anonfun$run$8(Main.scala:102)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withIn(Console.scala:230)
	at sbt.internal.util.Terminal$.withIn(Terminal.scala:560)
	at sbt.internal.util.Terminal$.$anonfun$withStreams$1(Terminal.scala:350)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withOut(Console.scala:167)
	at sbt.internal.util.Terminal$.$anonfun$withOut$2(Terminal.scala:550)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at scala.Console$.withErr(Console.scala:196)
	at sbt.internal.util.Terminal$.withOut(Terminal.scala:550)
	at sbt.internal.util.Terminal$.withStreams(Terminal.scala:350)
	at sbt.xMain$.run(Main.scala:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sbt.internal.XMainConfiguration.run(XMainConfiguration.scala:83)
	at sbt.xMain.run(Main.scala:46)
	at xsbt.boot.Launch$.$anonfun$run$1(Launch.scala:149)
	at xsbt.boot.Launch$.withContextLoader(Launch.scala:176)
	at xsbt.boot.Launch$.run(Launch.scala:149)
	at xsbt.boot.Launch$.$anonfun$apply$1(Launch.scala:44)
	at xsbt.boot.Launch$.launch(Launch.scala:159)
	at xsbt.boot.Launch$.apply(Launch.scala:44)
	at xsbt.boot.Launch$.apply(Launch.scala:21)
	at xsbt.boot.Boot$.runImpl(Boot.scala:78)
	at xsbt.boot.Boot$.run(Boot.scala:73)
	at xsbt.boot.Boot$.main(Boot.scala:21)
	at xsbt.boot.Boot.main(Boot.scala)
[error] Switch failed: no subprojects list "3.1.2" (or compatible version) in crossScalaVersions setting.
[error] If you want to force it regardless, call ++ 3.1.2!
[error] Use 'last' for the full log.

something very wrong:
sbt:root> crossScalaVersions
[info] scalatestDiagrams / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestWordSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFreeSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFunSuite / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFunSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFeatureSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestMatchersCore / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestPropSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestRefSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestShouldMatchers / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestMustMatchers / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFlatSpec / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestCore / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalactic-test / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalacticMacro / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalactic / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] common-test / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFlatSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestWordSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFunSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestDiagramsTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestPropSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFunSuiteTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFeatureSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatestFreeSpecTest / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] scalatest-test / crossScalaVersions
[info] 	List(2.13.6, 2.12.15, 2.11.12, 2.10.7)
[info] crossScalaVersions
[info] 	List(2.12.12)
sbt:root>

I'm using 06c1d67a1582c4f9d19bb9fdd899a1d765ceccb1 as local root and run it under clean git repository.

@cheeseng on my machine I have:
[error] Found 8 missing definitions while linking
[error] Not found Top(org.scalatest.SuitesL20org.scalatest.SuitesL30scala.collection.immutable.Seq$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.SuitesL20org.scalatest.SuitesL30scala.collection.immutable.Seq$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/core.native/target/scala-3/src_managed/main/org/scalatest/Suites.scala:57
[error] Not found Top(org.scalatest.funspec.AnyFunSpecL32org.scalatest.funspec.AnyFunSpec$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.funspec.AnyFunSpecL32org.scalatest.funspec.AnyFunSpec$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/funspec.native/target/scala-3/src_managed/main/org/scalatest/funspec/AnyFunSpec.scala:1631
[error] Not found Top(org.scalatest.funsuite.AnyFunSuiteL34org.scalatest.funsuite.AnyFunSuite$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.funsuite.AnyFunSuiteL34org.scalatest.funsuite.AnyFunSuite$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/funsuite.native/target/scala-3/src_managed/main/org/scalatest/funsuite/AnyFunSuite.scala:1563
[error] Not found Top(org.scalatest.tools.FrameworkL29org.scalatest.tools.Framework$scalanative$ReflectivelyInstantiate$)
[error] Not found Member(Top(org.scalatest.tools.FrameworkL29org.scalatest.tools.Framework$scalanative$ReflectivelyInstantiate$),RE)
[error] 	at /home/cheeseng/git/scalatest/dotty/core.native/target/scala-3/src_managed/main/org/scalatest/tools/Framework.scala:24
[error] Undefined definitions found in reachability phase
[error] (scalatestPlusScalaCheckNative / Test / nativeLink) Undefined definitions found in reachability phase

=> seems you have published wrong paths. Try to understand why.

@catap I think I found the cause, for Scala 3 it seems to have this extra package in the compiled classes:

I'll include it in the osgi export package list and try again, I'll drop the staged repo I sent you earlier.

@catap Fyi seems to fix with the following commit:
https://github.com/scalatest/scalatest/pull/2121/commits/f4e133c4661bc2b79df3e0d563b4e04b3dafe5da
Had to use wildcard for the osgi export package settings to include the generated package mentioned above, a bit weird that it is not needed for scala 2 build though.
Anyway I'll re-stage 3.2.12 release today, as I think scala-js needs this release also.
Thanks for your help!

@cheeseng I glade that you figured it out. I just re-published it from scratch on my machine to start digging :)

@cheeseng Can this issue be closed now? It seems to be solved by scalatest 3.2.12

Build included in 3.2.12.  Thanks.


Beckn-ONIX specification: version v0.2

Adding KDF, Cross-Cutting-Requirements, Data structure, Internal workflow etc sections in the doc.
Remove the classification based on the "modes"(BAP, BPP, BG, BR)
Restructure the requirements.

The version 0.2 document: https://docs.google.com/document/d/1NdacgWzpvWphtr1h_JPyMYIKzCOzIe8pYoIACEItLlo/edit?tab=t.0#heading=h.m1mzlygez2v3
its still a draft version, review pending.

Review will be tracked as part of a new ticket.


Add image frame to gif

var file = require('fs').createWriteStream('img.gif');
gif.pipe(file);
gif.writeHeader();

fs.createReadStream('mygif.gif')
.pipe(new GIFDecoder)
.pipe(concat(function(frames) {
    console.log(frames)
    for (var i=0; i<frames.length; i++) {
        gif.addFrame(frames[i]);
    }
    gif.finish();
}));

so I am trying to add a single frame to the gif, that is my image/other gif/whatever but I cant at best I get a black gif, any ideas? I have been trying to do so for the past 2-3 days with this and other modules but with no success, any help will be really appreciated, thanks.
ps: I also tried converting a png to base64 but as I came to understand it doesnt accept base 64.

I'm going to guess you're using gif-stream for GIFDecoder:
https://www.npmjs.com/package/gif-stream
This package returns an array of RGB pixels whereas we expect RGBA. As a result, we are likely reading the second frame's red channel as our alpha channel.
I suggest attacking this in 2 parts:

Get a script running locally with known RGBA data

Copy our checkerboard-pixels.json and verify it looks good

https://github.com/twolfson/gif-encoder/blob/0.6.0/test/test-files/checkerboard-pixels.json

Example usage: https://github.com/twolfson/gif-encoder/blob/0.6.0/test/gif-encoder_test.js#L9-L26

Adjust gif-stream data to include alpha channel or move to a library that loads GIF frames with an alpha channel (e.g. get-pixels)

https://github.com/scijs/get-pixels

Thanks for the guidance!
Adding the RGBA from your json by simply doing gif.addFrame(json_array); worked fine, as well as doing the same for other 10x10 images, by unfortunately it didn't for bigger images like 200x200 or bigger. It does display the data in the gif, but its messed up its not the image, (yep I passed RGBA not RGB)


HashCode improvements

The default value for valueClassHashCodeBase should probably be a prime number (currently 27).
(I suggest using 1000005, since autovalue (from google) use 1000003 and adt4j is strictly superior ;)
Also maybe ^ should be used instead of + for a more uniform distribution of hashcodes.

27 is unfortunate. I has somehow thought that it was prime... Maybe it was planned to be 37, but a typo slipped in.
Nevertheless, I've always thought that + is much better for hash distribution than ^. Xor is used for performance reasons only.
Is there some source explaining origins of 1000003 value if google-auto?

Yes are right, + is better than Xor. Did not have time yet to check out last version of adt4j yet. Does it cache hashcode? (that would be great).
I found no explanation of the use of 1000003 as base by google-auto. Probably linked to their use of xor instead of +.

Optional hashCode caching should be great. It's not implemented, yet.

I think I suggested awhile ago maybe generating/calculating the hashcode on creation, since everything is immutable that should be fine?

But computing the hashcode may be expensive and it may not be used at all for many use cased.

But caching requires additional field(s), and thread synchronization, is there some established best practice? How immutables.org does it?

I like the way it is done in https://github.com/google/guava/blob/master/guava/src/com/google/common/collect/SingletonImmutableSet.java
Simple, no sync, support serialization out.of-the-box .

By the way I would also prefer if the equality acceptor would be cached in the same manner (transient, initialized on first use).

I've released 1.3-beta1 version. I've added some hash code optimizations. hashCodeEvaluation parameter has been added to @GenerateValueClassForVisitor annotation, see RecordVisitor and UserKeyVisitor examples.
I'd like to get some feedback on API and generated code.

Looks nice, I see you also added comparable and serializable ( unless they were already there and I didn't spot them before ).
Generated code looks good here.

Just tried the CACHED mode. The generated code is:
        if (this.hashCodeCachedValue == 0) {
            this.hashCodeCachedValue = this.acceptor.myValueClassHashCode();
            this.hashCodeCachedValue = ((this.hashCodeCachedValue!= 0)?this.hashCodeCachedValue:-2147483648);
        }
        return this.hashCodeCachedValue;

This could lead to a concurrency issue: 0 could been seen as the hascode by a concurrent thread. A version that does not have this problem would be:
        int h = this.hashCodeCachedValue;
        if (h == 0) {
            h = this.acceptor.myValueClassHashCode();
            h =  ((h!= 0)?h:-2147483648);
            this.hashCodeCachedValue = h;
        }
        return h;

@jbgi good spotting, would making hashCodeCachedValue a transient be of use - similar to the SingletonImmutableSet mentioned above?

In the SYNCRONIZED_CACHED mode cache, maybe synchronize on acceptor instead of dedicated lock, to save one object?
But more importantly, maybe it should use double check locking to avoid synchronization on the happy path, ie like:
    private volatile int hashCodeCachedValue = 0;
    public final int hashCode() {
        int h = this.hashCodeCachedValue;
        if (h == 0) {
            synchronized (acceptor) {  // or hashCodeCachedValueLock
              h =  this.hashCodeCachedValue;
              if (h==0) {
                h = this.acceptor.myValueClassHashCode();
                h =  ((h!= 0)?h:-2147483648);
                this.hashCodeCachedValue = h;
             }
           }
        }
        return h;
    }

Also, there is a small concern with ON_CONSTRUCTION + isSerializable=true. A change in the hashcode function might break code in a subtitle way, as an deserialized instance constructed with an older version of adt4j and might be have a different hashcode than an equal instance constructed with a newer version of adt4j.

@jbgi Thanks a lot for valuable suggestions. I'll try to incorporate everything into next beta/release.
But I'm still not sure about API: Are these 4 enumeration constants are enough? Are names are good and clear: MethodEvaluation, ORDINARY, ON_CONSTRUCTION, CACHED, SYNCHRONIZED_CACHED?

@talios Comparables and Serializable were there since long ago :)

I'm still not sure about API: Are these 4 enumeration constants are enough? Are names are good and clear: MethodEvaluation, ORDINARY, ON_CONSTRUCTION, CACHED, SYNCHRONIZED_CACHED?

I could suggest the following change that appears clearer to me:
hashCodeEvaluation -> hashCodeCaching
ORDINARY -> NOT_CACHED or NONE (default)
CACHED -> LAZY
SYNCHRONIZED_CACHED -> SYNCHRONIZED_LASY

I still think that "evaluation" is better: what is "lazy caching"? "Cached" seems better to me than "lazy" since only "synchronized lazy" is truely lazy :) "Cached" is more neutral term.
I can suggest:
hashCodeEvaluation -> hashCodeCaching
ORDINARY -> NONE
ON_CONSTRUCTION -> PRECOMPUTE
CACHED -> SIMPLE
SYNCHRONIZED_CACHED -> SYNCHRONIZED

Reflecting on the terms and meaning, you're right, evaluation is good.
Maybe the only change would be for ORDINARY, to something more explicit, like ALWAYS.

closing as 1.3 has all features one could ever need regarding hashcode implementation strategy!
Impressive work, once again!

Thank you!

Another fine release! Kudos.


Update 0.9.3

Updating manually until we have GoReleaser working.

You now are @jpadams & @kpenfound! Same as all other @dagger/maintainers 💪


add heatmap example

Hey, I have just shown an example of the implementation of the heatmap functionality for the plot module. Do you kindly review it? And if it needs any changes, you may ask me. In future, I will try to draw the spiral over the heatmap as shown in the original plotly example.
<!--

Please title your PR as follows: `time: fix foo bar`.
Always start with the thing you are fixing, then describe the fix.
Don't use past tense (e.g. "fixed foo bar").

Explain what your PR does and why.

If you are adding a new function, please document it and add tests:

```
// foo does foo and bar
fn foo() {

// file_test.v
fn test_foo() {
    assert foo() == ...
    ...
}
```

If you are fixing a bug, please add a test that covers it.

Before submitting a PR, please:
  - run the tests with `./bin/test`

I try to process PRs as soon as possible. They should be handled within 24 hours.

Applying labels to PRs is not needed.

Thanks a lot for your contribution!

->

Great contribution!! Thank you!!


SW-6740 Error handling for both types of status errors (Sirius and Server)

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.03% :tada:

Comparison is base (586c211) 73.95% compared to head (171b566) 73.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
+ Coverage   73.95%   73.98%   +0.03%
==========================================
  Files          28       28
  Lines        1405     1407       +2
==========================================
+ Hits         1039     1041       +2
  Misses        310      310
  Partials       56       56

Files Changed
Coverage Δ

internal/server/wrap_handler.go
100.00% <100.00%> (ø)

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


Added support for signer

I like this! I added a couple of nitpicky comments.

I like this! I added a couple of nitpicky comments.

Fixed it!

Ok there are a couple of linting issues. My advice is to run tox -e format to automatically format everything, then tox -e lint to double check everything is formatted correctly.

This looks very nice! Do you think proxy could be merged into send? Or maybe I'm not understanding the different use case. In any case, I don't think that's the right name for it since it refers to a different kind of contracts which delegate execution to other contracts. Maybe raw_execute?
Future work could be:

auto generating a few accounts on nile node, have a default one and --account to select by index or alias
generating a private key, needed for 1 and pretty useful

This looks very nice! A few comments:
* Do you think `proxy` could be merged into `send`? Or maybe I'm not understanding the different use case. In any case, I don't think that's the right name for it since it refers to a different kind of contracts which delegate execution to other contracts. Maybe `raw_execute`?

* Could you expand the documentation to include an example env file and commands snippets with actual parameters? That help users a lot.

I renamed them to send and raw-execute. As you said, proxy isn't the right label for what it does.
I also added an example example.env file as well as enhanced documentations for send and raw-execute.

One last thing before I'm ready to merge. Sorry for letting you wait so long to review this PR!

Thanks all 🎉


noob here

I want to use this addon inside godot 4.2.1. and so long it works alright. the problem is that I only got to the "installation" part from the readme here as I am too noob to understand anything past that.
I just want to know how - when I press "enter" on the keyboard the node to be able to emit a signal or a way to know that enter was pressed and the text inside the lineEdit to be transmitted and manipulated.
Could someone please explain how to do this?

You can use the regular signal from godot LineEdit or TextEdit Node:
https://docs.godotengine.org/en/stable/classes/class_lineedit.html
text_submitted ( String new_text )
Emitted when the user presses @GlobalScope.KEY_ENTER on the LineEdit.

see above


Trailing newline is stripped from template when rendering.

Expected Behavior
When rendering a file that ends in a newline (\n) character, I would expect that the rendered output would also end in a newline character. It is a standard convention on UNIX-like systems to end text files with a trailing newline.
Actual Behavior
The final newline is stripped from the rendered output.
Example
>>> c
u'foo is {{ foo }}\nquux is {{ quux }}\nasdf\n'
>>> t = jinja2.Template(c)
>>> t.render(foo="bar", quux="baz")
u'foo is bar\nquux is baz\nasdf'
>>> s = t.stream()
>>> s.next()
u'foo is \nquux is \nasdf'
>>> s.next()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ifreeman/.local/lib/python2.7/site-packages/jinja2/environment.py", line 1271, in __next__
    return self._next()
StopIteration
>>>

Your Environment

Python version: 2.7.14+ (Debian buster/testing)
Jinja version: 2.10 (via pip)

Pass keep_trailing_newline=True to the Environment: http://jinja.pocoo.org/docs/api/#jinja2.Environment

Ok, thanks for the response, I wasn't aware that was an option, but it seems like this should be the default. It seems odd to assume the user wants to modify the input in unexpected ways that have nothing to do with the template language. In fact, the reason I'm even opening this issue is because I'm using shinto-cli (https://github.com/istrategylabs/shinto-cli) to parameterize some files in a build job, and I noticed that it was outputting files without newlines, so when I append to them I have lines swished together on one line. At first I was going to open an issue with shinto-cli until I glanced through the source, and then tried a basic jinja2 template from the python REPL myself and realized this is just default jinja2 behavior.
But, if the jinja2 devs prefer to surprise their users by modifying the input in unexpected, unintuitive and non-standard ways, I can open an issue with shinto-cli to ask that they add the keep_trailing_newline=True option to all of their Environment calls...


Mechanical Engineering is the only Engineering.

This post is in response to the pathetic & disrespectful lies which use  falsely use the word "Engineering", which makes absolutely no sense (and is disrespectful to real Engineering).
Engineering has nothing to do with sitting behind a keyboard and writing code.
@mattearly  There is no such thing as "software" "engineering". Engineering is a real subject. Engineering means designing and building real mechanical systems, like vehicular engines and turbojets.
Software devs are claiming the most ridiculous of false claims these days. Software & game dev is easy and for kids, and has absolutely nothing to do with a real and serious complex subject like engineering. Stop being disrespectful to Engineering.
Mechanical Engineering is the only Engineering.

nobody will agree with your claim because obviously it makes no sense.
Sincerely,
The God of Words


Multi Axis example doesnt work with latest highcharts and highcharts-ng

http://jsfiddle.net/gh/get/jquery/3.1.1/pablojim/highcharts-ng/tree/master/jsfiddles/multi_axis/
This example used to work with older versions.

+1

Happens for me as well... is there a fix planned?


driver.php suggestions

clang -v -lm -std=c89 hello.c

Consider the more conventional order: clang -v -std=c89 hello.c -lm
(For libm.so, it's fine to keep -lm anywhere, but for static linking, libm.a needs to be placed the last to appease GNU ld, gold, and ld.lld --warn-backrefs)

$ clang -v -Wl,foo,bar hello.c
clang -cc1 -o hello.o hello.c
ld -o a.out hello.o foo bar

ld will receive foo bar hello.o since the positions of linker options and input files matter.

Driving a multi-file project
$ clang -v hello.c foo.c bar.c
clang -cc1 hello.c -o hello.o     // Compile

Make the cc1 action -emit-obj explicit here and throughout (including other articles like cc.php)?
clang -cc1 -emit-obj hello.c -o hello.o
The default action is -fsyntax-only and -emit-obj is an important detail to keep.

$ clang foo.h -o foo.gch
$ file foo.gch
GCC precompiled header (version 013) for C

Use gcc -c foo.h -o foo.gch?

Issue1: Ok, feel free to send a PR.
Issue2: (-emit-obj) I find it confusing. We already have -cc1 and -o to output an object. I don't think we need to make it more explicit.
Issue3: Not sure what you are referring to. Please specify the .php location/


extra /bin in path

Hi,
In Compiling.md the path is listed as: build-x86_64-linux-gnu/bin/bin/mii_emu
On my system, the actual path is: build-x86_64-linux-gnu/bin/mii_emu
There's one extra /bin/ in Compiling.md

WIll be fixed with my next push, if not already in when next you look thanks for the report!


[subset] delete empty SubrsIndex after subsetting CFF

Fixes #994
According to @benkiel, when a CFF PrivateDict contains an empty SubrsIndex (one with no local subroutines), Windows rejects the font.
If the SubrsIndex is left empty by the subsetting operation, we delete it from the PrivateDict.

thanks @justvanrossum and @behdad for the feedback. I applied the requested changes


github: contribution: tips and tricks, daily snapshot

Motivation: there is no possibility to summarise your daily contribution impact.
Interface
$ cron 0 0 0 maintainer github contribution snapshot $(year - 1) $(year) > /tmp/daily.snapshot.json

$ maintainer github contribution diff progress
# maintainer github contribution diff --base=/tmp/daily.snapshot.json $(year - 1) $(year)

do it by GitHub Actions


[SPARK-35490][BUILD] Update json4s to 3.7.0-M16

What changes were proposed in this pull request?
This PR aims to upgrade json4s from   3.7.0-M5  to 3.7.0-M16
Why are the changes needed?
Multiple defect fixes and improvements added in the latest version f  json4s (3.7.0-M16)
Does this PR introduce any user-facing change?
No
How was this patch tested?
Ran with the existing UTs

Test build #138834 has started for PR 32636 at commit 105ccae.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43356/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43356/

Test build #138834 has finished for PR 32636 at commit 105ccae.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138834/

Test build #138838 has started for PR 32636 at commit ef6430b.

Test build #138838 has finished for PR 32636 at commit ef6430b.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138838/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43360/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43360/

Hi, @vinodkc . Jenkins also failed with import error.
[error] /home/jenkins/workspace/SparkPullRequestBuilder/sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQueryStatusAndProgressSuite.scala:24:19: Unused import
[error] import org.json4s._
[error]                   ^
[error] one error found
[error] (sql / Test / compileIncremental) Compilation failed
[error] Total time: 429 s (07:09), completed May 22, 2021 7:28:24 PM

Test build #138841 has started for PR 32636 at commit d38571f.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43363/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43363/

Test build #138841 has finished for PR 32636 at commit d38571f.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138841/

Test build #138844 has started for PR 32636 at commit bbb2e0b.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43366/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43366/

Test build #138844 has finished for PR 32636 at commit bbb2e0b.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138844/

Test build #138846 has started for PR 32636 at commit 20f4477.

Test build #138846 has finished for PR 32636 at commit 20f4477.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138846/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43368/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43368/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43368/

Test build #138875 has started for PR 32636 at commit 3026d9e.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43397/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43397/

Test build #138875 has finished for PR 32636 at commit 3026d9e.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138875/

Test build #138876 has started for PR 32636 at commit 7a8e65e.

Test build #138876 has finished for PR 32636 at commit 7a8e65e.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138876/

I think it's OK to ignore the MiMa warnings, as all affected methods are private.
The only slightly worrisome one is Row.jsonValue - it's private[sql] for sure but it's possible some third party libs try to extend Row or something. But hey, those are the risks if so.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43398/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43398/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43398/

Test build #138908 has started for PR 32636 at commit 8cdbbb7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43430/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43430/

Test build #138920 has started for PR 32636 at commit 8eeb868.

Test build #138908 has finished for PR 32636 at commit 8cdbbb7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138908/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43441/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43441/

Test build #138920 has finished for PR 32636 at commit 8eeb868.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43441/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138920/

cc @MaxGekk , too.

Multiple defect fixes and improvements

It would be nice to see some summary of the fixes/improvements. Maybe they are not relevant to Spark.

I've updated the summary of the fixes/improvements, thanks for the review comment


issue 363: sort/indent JSON output for dpm-export

There were the following issues with your Pull Request

Commit: a71969b6f723fa2317477bc7c838f0b8319f2395
Invalid signoff. Commit message must end with
Signed-off-by: . <.*>*

Guidelines are available at https://github.com/zhmcclient/zhmccli/blob/master/CONTRIBUTING.rst

This message was auto-generated by https://gitcop.com

Coverage: 31.475%. Remained the same when pulling 3bfbe864fb5862e129aa0318a14c0f7e045bcc00 on edwin/dpm-export-dump-enhancements into afec774f9f1477bcae0c9f16783783665a5de06a on master.


Type tests

Add tsd for type tests.
 The rest are commits from PR #14
I guess, in case of acceptance this branch should be rebased to master.
depends on #14
fixes #15

Hello @pabra . Awesome job! Could you please rebase this to master and we are ready to go.

Hi @denistakeda, I rebased this branch ontop of master.


Null check operator used on a null value

I can't understand where this error and how slove it.
════════ Exception caught by scheduler library ═════════════════════════════════
The following _CastError was thrown during a scheduler callback:
Null check operator used on a null value

When the exception was thrown, this was the stack
#0      FixedScrollMetrics.maxScrollExtent
package:flutter/…/widgets/scroll_metrics.dart:150
#1      RawScrollbarState._handleScrollNotification
package:flutter/…/widgets/scrollbar.dart:1053
#2      NotificationListener._dispatch
package:flutter/…/widgets/notification_listener.dart:206
#3      Notification.visitAncestor
package:flutter/…/widgets/notification_listener.dart:122
#4      ViewportNotificationMixin.visitAncestor
package:flutter/…/widgets/scroll_notification.dart:31
...
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by scheduler library ═════════════════════════════════
Null check operator used on a null value
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by scheduler library ═════════════════════════════════
Null check operator used on a null value
════════════════════════════════════════════════════════════════════════════════

Logs

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\work\pos> flutter run --verbose
[  +90 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +70 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +1 ms] executing: [C:\flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[  +89 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] 2.0.1
[  +55 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +35 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +80 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +33 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +68 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping
update.
[  +86 ms] executing: C:\android\sdk\platform-tools\adb.exe devices -l
[  +43 ms] List of devices attached
[   +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping
update.
[ +128 ms] Multiple devices found:
[   +9 ms] Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version
10.0.19042.804]
[   +5 ms] Edge (web)        • edge    • web-javascript • Microsoft Edge 89.0.774.48
[   +2 ms] [1]: Windows (windows)
[        ] [2]: Edge (edge)
[   +2 ms] Please choose one (To quit, press "q/Q")
[        ] :
[+10158 ms] 1
[  +39 ms] Skipping pub get: version match.
[ +161 ms] Generating
C:\work\pos\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +166 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[  +13 ms] complete
[   +6 ms] Launching lib\main.dart on Windows in debug mode...
[   +7 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental
--target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
C:\Users\Foxico\AppData\Local\Temp\flutter_tools.4d4577ac\flutter_tool.d8b26193\app.dill
--packages C:\work\pos\.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[  +38 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
-format json -products * -utf8 -latest -version 16 -requires
Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[  +38 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual
Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires
Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[   +1 ms] [
             {
               "instanceId": "2b85e9d1",
               "installDate": "2021-02-28T06:03:41Z",
               "installationName": "VisualStudio/16.8.6+31019.35",
               "installationPath": "C:\\Program Files (x86)\\Microsoft Visual
               Studio\\2019\\Community",
               "installationVersion": "16.8.31019.35",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "C:\\Program Files (x86)\\Microsoft Visual
               Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
               "state":<PHONE_NUMBER>,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Community 2019",
               "description": "Powerful IDE, free for students, open-source contributors,
               and individuals",
               "channelId": "VisualStudio.16.Release",
               "channelUri": "https://aka.ms/vs/16/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual
               Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStud               io.Setup.Service",
               "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660893#16.8.6",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
               "updateDate": "2021-02-28T06:03:41.6504885Z",
               "catalog": {
                 "buildBranch": "d16.8",
                 "buildVersion": "16.8.31019.35",
                 "id": "VisualStudio/16.8.6+31019.35",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "16.8.6",
                 "productLine": "Dev16",
                 "productLineVersion": "2019",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "6",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "16.8.6+31019.35",
                 "requiredEngineVersion": "2.8.3267.30329"
               },
               "properties": {
                 "campaignId": "",
                 "channelManifestId": "VisualStudio.16.Release/16.8.6+31019.35",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual
                 Studio\\Installer\\vs_installershell.exe"
               }
             }
           ]
[  +12 ms] Building Windows application...
[  +23 ms] <- compile package:pos/main.dart
[   +3 ms] executing: C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S
C:\work\pos\windows -B build\windows -G Visual Studio 16 2019
[  +85 ms] -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
[  +25 ms] -- Configuring done
[ +367 ms] -- Generating done
[  +25 ms] -- Build files have been written to: C:/work/pos/build/windows
[  +12 ms] executing: C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe
--build build\windows --config Debug --target INSTALL --verbose
[ +170 ms] Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework
[   +1 ms] Copyright (C) Microsoft Corporation. All rights reserved.
[  +80 ms] Build started 3/10/2021 2:11:32 PM.
[ +297 ms] Project "C:\work\pos\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[   +1 ms] Project "C:\work\pos\build\windows\INSTALL.vcxproj" (1) is building
"C:\work\pos\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[  +40 ms] CustomBuild:
[   +1 ms]   All outputs are up-to-date.
[  +58 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[   +1 ms] Done Building Project "C:\work\pos\build\windows\ZERO_CHECK.vcxproj" (default
targets).
[ +137 ms] Project "C:\work\pos\build\windows\INSTALL.vcxproj" (1) is building
"C:\work\pos\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[   +1 ms] Project "C:\work\pos\build\windows\ALL_BUILD.vcxproj" (3) is building
"C:\work\pos\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default
targets).
[   +1 ms] Project "C:\work\pos\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) is
building "C:\work\pos\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (defaulttargets).
[   +4 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild"
because "AlwaysCreate" was specified.
[   +2 ms] CustomBuild:
[   +1 ms]   "The build of
'C:\work\pos\build\windows\CMakeFiles\07f8fb2c32cb28639cac1b6d8d1a0a1f\flutter_assemble.rule' depends on 'C:\WORK\POS\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced
by the build of
'C:\work\pos\build\windows\CMakeFiles\9f9b375fcf801ec79a6f9535f67559b9\flutter_windows.dll.rule'. The items cannot be built in parallel."
[ +119 ms]   Generating C:/work/pos/windows/flutter/ephemeral/flutter_windows.dll,
C:/work/pos/windows/flutter/ephemeral/flutter_export.h,
C:/work/pos/windows/flutter/ephemeral/flutter_windows.h,
C:/work/pos/windows/flutter/ephemeral/flutter_messenger.h,
C:/work/pos/windows/flutter/ephemeral/flutter_plugin_registrar.h,
C:/work/pos/windows/flutter/ephemeral/flutter_texture_registrar.h,
C:/work/pos/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
C:/work/pos/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc,
C:/work/pos/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
C:/work/pos/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc,
C:/work/pos/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_[+1275 ms]   [ +116 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +72 ms]   [ +108 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms]   [        ] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ]   [        ] executing: [C:\flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[  +86 ms]   [  +86 ms] Exit code 0 from: git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +3 ms]   [        ] 2.0.1
[  +60 ms]   [  +63 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +57 ms]   [  +57 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms]   [        ] origin/stable
[        ]   [        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +49 ms]   [  +51 ms] Exit code 0 from: git ls-remote --get-url origin
[        ]   [        ] https://github.com/flutter/flutter.git
[ +112 ms]   [ +112 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +42 ms]   [  +42 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms]   [        ] stable
[  +90 ms]   [  +91 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +2 ms]   [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +103 ms]   [ +106 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[   +1 ms]   [        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[   +2 ms]   [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[        ]   [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[   +1 ms]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[   +1 ms]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ]   [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skippingupdate.
[        ]   [        ] Artifact Instance of 'PubDependencies' is not required, skipping
update.
[  +82 ms]   [  +98 ms] Initializing file store
[  +28 ms]   [  +27 ms] Skipping target: gen_localizations
[  +11 ms]   [  +12 ms] unpack_windows: Starting due to {}
[ +341 ms]   [ +341 ms] kernel_snapshot: Starting due to {}
[   +5 ms]   [   +5 ms] unpack_windows: Complete
[+3668 ms]   [+3668 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --packages
C:\work\pos\.dart_tool\package_config.json --output-dill
C:\work\pos\.dart_tool\flutter_build\d00aecd02c622c71d4f542b5b544010e\app.dill --depfile
C:\work\pos\.dart_tool\flutter_build\d00aecd02c622c71d4f542b5b544010e\kernel_snapshot.d
package:pos/main.dart
[+11431 ms]   [+11430 ms] kernel_snapshot: Complete
[ +806 ms]   [ +806 ms] debug_bundle_windows_assets: Starting due to {}
[ +237 ms]   [ +237 ms] debug_bundle_windows_assets: Complete
[ +757 ms]   [ +757 ms] Persisting file store
[  +29 ms]   [  +29 ms] Done persisting file store
[  +30 ms]   [  +30 ms] build succeeded.
[  +44 ms]   [  +17 ms] "flutter assemble" took 17,606ms.
[ +242 ms]   [ +268 ms] ensureAnalyticsSent: 261ms
[   +6 ms]   [   +7 ms] Running shutdown hooks
[   +1 ms]   [        ] Shutdown hooks complete
[   +2 ms]   [   +2 ms] exiting with code 0
[ +120 ms] FinalizeBuildStatus:
[        ]   Deleting file
"x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[   +1 ms]   Touching
"x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[        ] Done Building Project
"C:\work\pos\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[  +18 ms] InitializeBuildStatus:
[        ]   Creating
"flutter_wrapper_app.dir\Debug\flutter_.5B78DF44.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +50 ms] ClCompile:
[   +1 ms]   All outputs are up-to-date.
[  +22 ms] Lib:
[        ]   All outputs are up-to-date.
[   +1 ms]   flutter_wrapper_app.vcxproj ->
C:\work\pos\build\windows\flutter\Debug\flutter_wrapper_app.lib
[  +32 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file
"flutter_wrapper_app.dir\Debug\flutter_.5B78DF44.tlog\unsuccessfulbuild".
[   +1 ms]   Touching
"flutter_wrapper_app.dir\Debug\flutter_.5B78DF44.tlog\flutter_wrapper_app.lastbuildstate".
[        ] Done Building Project
"C:\work\pos\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[  +43 ms] Project "C:\work\pos\build\windows\ALL_BUILD.vcxproj" (3) is building
"C:\work\pos\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default
targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating
"flutter_wrapper_plugin.dir\Debug\flutter_.414C16A1.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[   +9 ms] ClCompile:
[        ]   All outputs are up-to-date.
[   +5 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_plugin.vcxproj ->
C:\work\pos\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[   +8 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file
"flutter_wrapper_plugin.dir\Debug\flutter_.414C16A1.tlog\unsuccessfulbuild".
[   +2 ms]   Touching
"flutter_wrapper_plugin.dir\Debug\flutter_.414C16A1.tlog\flutter_wrapper_plugin.lastbuildstate".
[   +1 ms] Done Building Project
"C:\work\pos\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).
[  +38 ms] Project "C:\work\pos\build\windows\ALL_BUILD.vcxproj" (3) is building
"C:\work\pos\build\windows\runner\pos.vcxproj" (7) on node 1 (default targets).
[   +2 ms] InitializeBuildStatus:
[        ]   Creating "pos.dir\Debug\pos.tlog\unsuccessfulbuild" because "AlwaysCreate" was
specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[  +34 ms] ClCompile:
[   +1 ms]   C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c
/IC:\work\pos\windows /IC:\work\pos\windows\flutter\ephemeral
/IC:\work\pos\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX
/diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D NOMINMAX/D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1
/MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"pos.dir\Debug\\"/Fd"pos.dir\Debug\vc142.pdb" /Gd /TP /wd4100 /errorReport:queue
C:\work\pos\windows\flutter\generated_plugin_registrant.cc
C:\work\pos\windows\runner\flutter_window.cpp
[  +93 ms]   generated_plugin_registrant.cc
[ +448 ms]   flutter_window.cpp
[ +985 ms]   Generating Code...
[ +124 ms] ResourceCompile:
[        ]   All outputs are up-to-date.
[  +36 ms] Link:
[   +1 ms]   C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE
/OUT:"C:\work\pos\build\windows\runner\Debug\pos.exe" /INCREMENTAL /NOLOGO
..\flutter\Debug\flutter_wrapper_app.lib
C:\work\pos\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib user32.lib
gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib/MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed
/manifestinput:C:\work\pos\windows\runner\runner.exe.manifest /DEBUG
/PDB:"C:/work/pos/build/windows/runner/Debug/pos.pdb" /SUBSYSTEM:WINDOWS /TLBID:1
/DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/work/pos/build/windows/runner/Debug/pos.lib" /MACHINE:X64/machine:x64 pos.dir\Debug\Runner.res
[   +3 ms]   pos.dir\Debug\flutter_window.obj
[        ]   pos.dir\Debug\main.obj
[   +3 ms]   pos.dir\Debug\run_loop.obj
[        ]   pos.dir\Debug\utils.obj
[        ]   pos.dir\Debug\win32_window.obj
[        ]   pos.dir\Debug\generated_plugin_registrant.obj
[ +349 ms]   pos.vcxproj -> C:\work\pos\build\windows\runner\Debug\pos.exe
[   +9 ms] FinalizeBuildStatus:
[  +55 ms]   Deleting file "pos.dir\Debug\pos.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "pos.dir\Debug\pos.tlog\pos.lastbuildstate".
[        ] Done Building Project "C:\work\pos\build\windows\runner\pos.vcxproj" (default
targets).
[   +8 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[   +4 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +17 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[   +1 ms] Done Building Project "C:\work\pos\build\windows\ALL_BUILD.vcxproj" (default
targets).
[  +13 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because
"AlwaysCreate" was specified.
[  +87 ms] PostBuildEvent:
[        ]   setlocal
[        ]   "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-DBUILD_TYPE=Debug -P cmake_install.cmake
[        ]   if %errorlevel% neq 0 goto :cmEnd
[        ]   :cmEnd
[        ]   endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[        ]   :cmErrorLevel
[        ]   exit /b %1
[        ]   :cmDone
[        ]   if %errorlevel% neq 0 goto :VCEnd
[        ]   :VCEnd
[  +72 ms]   -- Install configuration: "Debug"
[  +36 ms]   -- Up-to-date: C:/work/pos/build/windows/runner/Debug/data/icudtl.dat
[   +1 ms]   -- Up-to-date: C:/work/pos/build/windows/runner/Debug/flutter_windows.dll
[  +12 ms]   -- Installing: C:/work/pos/build/windows/runner/Debug/data/flutter_assets
[   +1 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[   +2 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[   +2 ms]   -- Installing: C:/work/pos/build/windows/runner/Debug/data/flutter_assets/fonts[   +1 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +5 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[ +110 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/NOTICES
[   +5 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/packages
[   +1 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[   +1 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[   +1 ms]   -- Installing:
C:/work/pos/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[  +25 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[        ] Done Building Project "C:\work\pos\build\windows\INSTALL.vcxproj" (default
targets).
[   +1 ms] Build succeeded.
[   +1 ms]     0 Warning(s)
[        ]     0 Error(s)
[   +1 ms] Time Elapsed 00:00:23.36
[  +38 ms] Building Windows application... (completed in 24.2s)
[ +231 ms] Observatory URL on device: http://<IP_ADDRESS>:49284/pCUDIM_XFzU=/
[   +3 ms] Caching compiled dill
[  +71 ms] Connecting to service protocol: http://<IP_ADDRESS>:49284/pCUDIM_XFzU=/
[ +113 ms] Unable to parse JSON message:
[   +1 ms] The document is empty.
[  +63 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0,
connecting to VM service at http://<IP_ADDRESS>:49284/pCUDIM_XFzU=/.
[ +128 ms] DDS is listening at http://<IP_ADDRESS>:49291/HmeXbBvgDu0=/.
[ +363 ms] Activating Dart DevTools...
[+2475 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:49284/pCUDIM_XFzU=/
[  +91 ms] Service protocol connection closed.
[   +1 ms] Lost connection to device.
[+9664 ms] Activating Dart DevTools... (completed in 12.2s)

flutter analyze
Analyzing pos...

warning - The parameter 'route' is required - lib\widgets\all\drawer_widget.dart:18:11 -
       missing_required_param
warning - The parameter 'route' is required - lib\widgets\all\drawer_widget.dart:22:11 -
       missing_required_param
warning - The parameter 'route' is required - lib\widgets\all\drawer_widget.dart:26:11 -
       missing_required_param
warning - The parameter 'route' is required - lib\widgets\all\drawer_widget.dart:35:11 -
       missing_required_param
warning - The parameter 'route' is required - lib\widgets\all\drawer_widget.dart:39:11 -
       missing_required_param

5 issues found. (ran in 14.4s)

[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19042.804], locale
    en-US)
    • Flutter version 2.0.1 at C:\flutter
    • Framework revision c5a4b4029c (6 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\android\sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\android\sdk
    • Java binary at: C:\android studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at
    .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.6)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.31019.35
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\android studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.54.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version
      10.0.19042.804]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 89.0.774.48

! Doctor found issues in 1 category.

Hi @mahmoudsalah37
To better address the issue, please provide a minimal complete reproducible code sample, similar to the one I provided earlier
Thank you


Ruby 2.4 or Ruby 2.3?

It lists Ruby 2.4 as a Prerequisite, but the az webapp list-runtimes --linux. command only lists Ruby 2.3 as an option... which one is it?

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

ID: 872e5aa0-cda4-295d-08f8-4db6e488e32f
Version Independent ID: 2b6b32d6-e501-6cb4-bb3b-c3c46851d24e
Content: Create a Ruby App and deploy to App Service on Linux
Content Source: articles/app-service/containers/quickstart-ruby.md
Service: app-service
GitHub Login: @SyntaxC4
Microsoft Alias: cfowler

@avik-so Thanks for the feedback! We are currently investigating and will update you shortly.

Hey @avik-so - Thanks for pointing this out! Please choose the 2.3 version of Ruby listed as available by the CLI command. We have updated the doc to reflect the same information in the Prerequisite section.


Improving maintainability

Understanding, maintaining and editing this source code is quite difficult due to strings which are quite "anonymous", given that they refer to indexes of arrays for $session  and $lng , so I wrote this converter which automatically replaces things like $lng[0] by $lng['this is a text'] ; you have just to provide the original source, the variables array and the name of the variable, et voila :-)
I attach updated EN.php, together with italian translation IT.php,  and also session-definition.php , although I decided not to use session saving in my source as I am making my page public, so I don't know if it works.
Example input:
Source:
  if ($session[11] == 0){
     echo $lng[9];
   } else {
     echo $lng[10];
   }

Variables:
<?php
$weather_api_lng = 'en';
$lng['Update']											= 'Update';
$lng['Preconditioning requested.']						= 'Preconditioning requested.';
$lng['Instant charging requested.']						= 'Instant charging requested.';
$lng['Activation of the charging schedule requested.']	= 'Activation of the charging schedule requested.';
$lng['Deactivation of the charging schedule requested.']= 'Deactivation of the charging schedule requested.';
$lng['No new data']										= 'No new data couldn\'t be received.';
$lng['Mileage']											= 'Mileage';
$lng['Connected']										= 'Connected';
$lng['No']												= 'No';
$lng['Yes']												= 'Yes';
$lng['Charging']										= 'Charging';
?>

Resulting output (after processing for $session and $lng):
    if ($session['Cable status'] == 0){
      echo $lng['No'];
    } else {
      echo $lng['Yes'];
    }

Source code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title></title>

  Paste here your code:

<textarea id="phpSource" name="phpSource" cols="120" rows="10">
echo "This is a " . $session[0] . " line for . $session[1] . "testing.
";</textarea>

Paste here your variables, starting from "<?php " down to "?>":

<textarea id="variables" name="variables" cols="120" rows="10"><?php
$session["dummy 0"] = "dummy 0";
$session["dummy 1"] = "dummy 1";
$session["dummy 2"] = "dummy 2";
?>
</textarea>

Variable name: <input type=text id="variableName" name="variableName" size=20 value="$session">

<button onclick="convert()">Convert</button>

<textarea id="output" name="output" cols="120" rows="10">Output</textarea>

EN.zip

Note: IT.php is not yet complete, I just started it. Attachment is just for testing.


InputType = 'base64' is failed

Current behavior
example:
const imageStr = data:image/png;base64,iVBORw0KGgoAAAANS== or  'iVBORw0KGgoAAAANS==';
const result = await Image.compress(imageStr, {
input:'base64',
maxWidth: 1500,
maxHeight: 1500,
quality: 0.8
});
console.log('result:', result);
problem: I found that the result returned was empty.
Expected behavior
I hope to accept pictures with base64 characters and compress them
Platform

[✅] Android
[✅] iOS

React Native Version
"react-native": "0.74.1",
"react": "18.2.0",
React Native Compressor Version
"react-native-compressor": "1.8.25",
Reproducible Steps And Demo

Same issue. Couldn't make it work.


[SPARK-39228][PYTHON][PS] Implement skipna of Series.argmax

What changes were proposed in this pull request?
Implement skipna of Series.argmax
Why are the changes needed?
Increase pandas API coverage.
Does this PR introduce any user-facing change?
Yes. skipna of Series.argmax is supported as below.
        >>> s = ps.Series({'Corn Flakes': 100.0, 'Almond Delight': 110.0, 'Unknown': np.nan,
        ...                'Cinnamon Toast Crunch': 120.0, 'Cocoa Puff': 110.0})
        >>> s
        Corn Flakes              100.0
        Almond Delight           110.0
        Unknown                    NaN
        Cinnamon Toast Crunch    120.0
        Cocoa Puff               110.0
        dtype: float64

        >>> s.argmax(skipna=True)
        3
        >>> s.argmax(skipna=False)
        -1

How was this patch tested?
Unit tests.

CC @ueshin @HyukjinKwon @itholic @Yikun

@Yikun May I ask for a final review?


Update observability prometheus content documentation

What does this PR do?
Updating Observability/Prometheus documentation with a new feature: Prometheus volume resizing
Any background context you can provide?
towards ticket

Mostly some nitty gritty details but this looks good

@marieroque can you ensure @giantswarm/sig-docs reviews it?


leaves attribute should be none if there is no leaf

The leaves attribute should probably be just return iter(self._children). This way if you have code that iterates over the leaves you will not have to check first if it's not None. You just iterate over the leaves and if there are no children/leaves nothing happens.


Group for removed labels

When label is removed, annotated data still have that label. we can only see them if we switch off the annotation one by one or by group. if we witch off all the labels we can't see them.
It would be easier if you can add a group for removed label so we can switch off the rests and keep those on. This is very helpful for us to re-label them or maybe delete them.
right now, I download the annotations and then run a script to see where those labels exist in which image.
Also it could be easier if we can just flag file with removed labels or have a page to see those files.

/jira create

Hi @fsalmasri, thanks for the FR! I'll send it to the team for triage.


New formula: kati

kati is an experimental GNU make clone.

It's failing to build on Mountain Lion: http://bot.brew.sh/job/Homebrew Head-Only Pull Requests/233/version=mountain_lion/testReport/junit/brew-test-bot/mountain_lion/install___HEAD_Homebrew_head_only_kati/

Looking like a C++11 issue? Does it need a C++11 compiler?

Try adding needs :cxx11 below the deps and ENV.cxx11 at the top of the install method.

Thanks @dunn and @mistydemeo. I just pushed another commit.

Looks like it builds! Thanks!
The test fails because ninja is not installed:
ninja.sh and build.ninja were generated, please run ./ninja.sh
==> ./ninja.sh
./ninja.sh: line 5: exec: ninja: not found

Oh I see. Because I had built Chromium on my laptop, ninja had been installed. I just pushed another commit.

* GitHub repository too new (<30 days old)

What can I do to pass these tests?

Don't worry about that one. Given this is a Google project, I will make an exception.

:+1: Thanks so much. :)


why use user_prompt + data_point["output"] as input_ids?

Hi! I am very confused about  using user_prompt + data_point["output"]  as input_ids. Can someone tell me why? Thank you very much!

I think this is being fixed in https://github.com/tloen/alpaca-lora/pull/146


Add No-JS scss to filtering example

pull in @ktp242's No-JS scss works

pull in @ktp242's No-JS scss works

@EdwinGuzman if you have time could you take a look at this branch, and help expand the functionality to cover no-js  here is the branch: https://github.com/NYPL/design-toolkit/tree/231-no-js

merged and bumping version.


export then import doesn't work

Changing size then clicking export > html then iumporting that HTML will lose sizes.
This behaviour is contrary to ep_font_color which practically does the same job as this plugin...  It is tempting to just copy/paste ep_color and abstract the "style" from color to font size which would mean we can support other css attributes in other plugins much easier...