Suggestions

@WTFKr0 help me a lot today and it bring me to think of a few things on the dashboard in templates tab,here a few things I d like to add to the templates.json and how it behave in front :

Show as placeholder the set value in env variables
Add the host port like 2222:22/tcp
Add the host volume like /data:/data
Add a label/description/comment to the volumes
Add the three links : stats, logs, console directly in the containers list ?
Add a clone option ?

Let me know what you think of it ?!

What about adding the three links : stats, logs, console directly in the containers list ?

Could you give me more details on the following points?

Add the host port like 2222:22/tcp: what do you mean by that?
Add the host volume like /data:/data: what do you mean by that?
Add the three links : stats, logs, console directly in the containers list, this is available in the container-details view, are you still talking about the app templates view?
Ad a clone option: same here, are we still talking about the templates?

here an example for port and volume:

  {
    "ports": [
      {
        "host": "2222",
        "container": "22/tcp"
      }
    ],
    "volumes": [
      {
        "host": "/path/to/user",
        "container": "/home/username"
      }
    ]
  }

for stats, logs, console, clone, I m not talking about the template anymore - my bad - but to duplicate the links stats, logs, console in the list of container for quick access from the list as well as a clone button
as we talk about all of that, how hard is it to keep the session when We click a link in the laft column to open it in a new tab without to login again ?
What do you think of all of that ?
let me know

Could you open a separate issue for each of your requests (templates ports, templates volumes)  please? Add some details for each one. I'll close this issue as being too generic.
For the quick access in the containers view, follow the evolution on this issue: https://github.com/portainer/portainer/issues/230
About that new tab without login, follow the evolution on this issue: https://github.com/portainer/portainer/issues/613
And lastly, for the clone ability: https://github.com/portainer/portainer/issues/41


Remove getCurrentPrice from transactionNotification

Reviewing https://github.com/GaloyMoney/galoy/pull/662 and pairing with Arvin, we decided to split it in different PRs

The main purpose of this PR is remove getCurrentPrice from transactionNotification
Remove direct calls to transactionNotification
Although we have some tests for notifications, we need to do final tests in staging

Is there tracing we can add to make the testing on staging better?

the request is done through firebase-admin package so not sure if we can intercept that requests like with grpc to price server.
this is the code https://github.com/GaloyMoney/galoy/blob/main/src/services/notifications/notification.ts#L60

Here we can identify calls to firebase https://ui.honeycomb.io/galoy/datasets/galoy-bbw?query={"time_range"%3A86400%2C"granularity"%3A0%2C"breakdowns"%3A["name"]%2C"calculations"%3A[{"op"%3A"COUNT"}]%2C"filters"%3A[{"column"%3A"http.host"%2C"op"%3A"contains"%2C"value"%3A"googleapis"}]%2C"filter_combination"%3A"AND"%2C"orders"%3A[{"op"%3A"COUNT"%2C"order"%3A"descending"}]%2C"havings"%3A[]%2C"limit"%3A1000}


Solo not working

Using the current build - 2.1.1 (75d6797-2537) Solo is not working. Tried on multiple channels and it does not seem to be triggering.

This was fixed, should be in the next build.

Fantastic! Thank you so much.


[test-operator] Fix handling of failed job

[test-operator] Fix handling of failed job
There are two issues in the way of how the role does handle failed job

Currently, the role waits for the Job that starts the execution of
the test pod to reach Completed state but this state is only reached
when the execution of the tests was successful. If there is an error
the job finishes with Failed state.

Logs are not collected when the the test pod times out

This patch updates the role so that it correctly waits for the job
completion (either with success or failure) and ensures that we collect
the logs (output of oc logs) even when the test pod times out.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

i used depend on to include it in https://github.com/openstack-k8s-operators/nova-operator/pull/665
and it seamed to function fine. that last run did not time out but the logs are present
https://logserver.rdoproject.org/65/665/8a814593c6acbbf86b6ad3022bb565bb23d73247/github-check/nova-operator-tempest-multinode/ac65ef4/controller/ci-framework-data/tests/test_operator/stestr_results.html
so this is at least not breaking that existing behaivor


Remove IncrementalTaskInputs

Summary
Follow up after https://github.com/gradle/gradle/issues/9048
Checklist

[x] Validate whether we should remove the API in the 8.0 release
[x] Update the upgrade guide (https://github.com/gradle/gradle/pull/21472)
[x] Check User Manual for dangling references and outdated documentation (https://github.com/gradle/gradle/pull/21472)
[x] Remove IncrementalTaskInputs from the code (https://github.com/gradle/gradle/pull/21481)

/cc @gradle/execution

Removed for Gradle 8.


Broken downstream builds

Just an FYI, this commit https://github.com/Unknwon/com/commit/0db4a625e949e956314d7d1adea9bf82384cc10c changed the AESDecrypt function interface, which broke your routing package macaron, which in turn broke the entire build of the http routing bechmark project that you submitted that router to.
Go relies on having a stable HEAD for all github sources. If you're going to commit your projects as modules to other projects, be a good member of the community and commit to stable interfaces. Especially since you declared a v1.0 release on this project which should indicate your interfaces are now stable.

Hi,

It is using https://github.com/Unknwon/macaron and it has been deprecated for over a year.
Version 1 is ONLY ever tagged for https://github.com/go-macaron/macaron.
I'll submit a PR but no guarantee they'll accept.

I think I'll just update github.com/Unknwon/macaron, that seems easier.

Should be good now https://github.com/Unknwon/macaron/commit/46ba71862573a72fa72a5544753a2dce252eb08d.


TTYSTDError message is incomplete

In some cases the TTYSTDError message, seems to only contains the first few bytes.
In my scenario I am trying to send an Apple Script command via SSH like this:
osascript -e 'tell application "Finder" to XYZ'
In the Terminal I get the expected execution error:
29:32: execution error: The variable "XYZ" is not defined. (-2753)
However using Citadel, I only get the first 6 bytes:
29:32:
Code to read the error message:
if let error = error as? TTYSTDError {

    let errorMessage = String(buffer: error.message)
          for byte in error.message.readableBytesView {
               print(byte) // Only 6 bytes...
    }
    print("errorMessage: \(errorMessage)") // 29:32:
}

Both client and server run macOS Sequoia 15.1 (24B83)

Hey @Iomegan can you try the other execute-style methods? For example, the overload with mergeStreams: true? I'm considering deprecating the specific method you're using, since it's proven unwieldy.

withTTY is the most correct variant of this API, but requires a bit more setup for handling streaming messages.

If I use execute with mergeStreams: true or mergeStreams: false, I only get a CommandFailed error with exit code 1 as it goes into the other execute  function. Only if I do not use execute with the mergeStreams at all, I get the TTYSTDError error.
What kind of setup do you mean?


undefined method `load_file' for Psych:Module (NoMethodError)

Hello!  First off, thanks for making t!  It's awesome.
Recently, though, something's been up and I haven't been able to get it to work. I tried installing/uninstalling.
Here's the code that I'm getting:
~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/t-2.9.0/lib/t/rcfile.rb:80:in load_file': undefined method load_file' for Psych:Module (NoMethodError) 	from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/t-2.9.0/lib/t/rcfile.rb:11:in initialize'
from ~/.rbenv/versions/2.1.3/lib/ruby/2.1.0/singleton.rb:141:in new' 	from ~/.rbenv/versions/2.1.3/lib/ruby/2.1.0/singleton.rb:141:in block in instance'
from ~/.rbenv/versions/2.1.3/lib/ruby/2.1.0/singleton.rb:139:in synchronize' 	from ~/.rbenv/versions/2.1.3/lib/ruby/2.1.0/singleton.rb:139:in instance'
from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/t-2.9.0/lib/t/cli.rb:37:in initialize' 	from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:355:in new'
from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:355:in dispatch' 	from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
from ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/t-2.9.0/bin/t:20:in <top (required)>' 	from ~/.rbenv/versions/2.1.3/bin/t:23:in load'
from ~/.rbenv/versions/2.1.3/bin/t:23:in <main>'
Now, I switched my global rbenv to 1.9.3p547, and then it seemed to work.  Is it simply not working for 2.1.3?
Thanks so much!

Hello, I had the same issue earlier today.
My ruby version is ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]
On the otehr hand, I had psych (2.0.13, 2.0.5) installed.
I removed 2.0.13 and everything went back to normal.

I had to remove psych at all(2.0.8,2.0.12,2.0.13). To make it work.

I get this error often as well. It goes away when I remove psych, but sooner or later psych gets reinstalled (like when I want to work on rubygems.org).
I know @sferik contributes to rubygems.org as well, wondering if you have any workarounds? :grimacing:

yes I have hit this as well. Has anyone found a fix?

gem uninstall psych
and it worked for me.


Starter Characters Reset

I do not close out of the tab for the Genshin pulling website, but occasionally if I close my laptop and come back, I all of a sudden do not have Kaeya, Lisa, or Amber anymore. I find this strange since it is just the beginner characters. It really isn't that big of a deal, just thought I'd bring light to it.

Did you really make sure that you got the starter character?
Beginner characters can only be obtained in Standard Banner, so you won't have them if you haven't pulled the standard banner

I'm sure. I got c6 Kaeya using standard banner and next thing I know it's
gone.
On Mon, Apr 11, 2022, 10:26 AM Agustinus Yohannes @.***>
wrote:

Did you really make sure that you got the starter character?
Beginner characters can only be obtained in Standard Banner, so you won't
have them if you haven't pulled the standard banner
—
Reply to this email directly, view it on GitHub
https://github.com/AguzzTN54/Genshin-Impact-Wish-Simulator/issues/11#issuecomment-1095120278,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYVDN65VXN6WSB5JJAVD2XDVEQY73ANCNFSM5TDCHHQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

when did you get them? I've updated the site several times, if you pulled it a month ago, maybe some history has been deleted by the system.
or are you sure you didn't pull them at a different site, I have deployed this simulator on wishsimulator.vercel.app and wishsimulator-genshin.vercel.app you can check both to make sure again.
As you know, the site use LocalStorage to save pull history, if you clear your browser data, this site data will be deleted too.
I can't reproduce the problem that happen to you right now, most likely this happens because of clients/users or browser actions.
I will fix it once I find out the details of the problem and the cause. Btw Thanks for your feedback, please enjoy the Simulator.


webpack/webpack_cli taking too long to download.

I was trying to npm install webpack and webpack-cli but took more than 10 minutes and resulted in an error below.
npm ERR! code E429
npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/unset-value

Can someone tell me how to resolve this problem? Thanks

I think it was a server problem. The downloading speed has been solved.


What does --properties do?

And how do we use it?
I'm trying to get az bot update to work, but even following the example az bot update -n botName -g MyResourceGroup --set properties.description="some description" (with my own bot name and resource group) I can't get the command to work. It returns the bot's info so I know I'm logged in and it's finding the bot resource. It's just that the bot resource never changes. I can't even update its description.
Whenever I try --properties it throws an error and tells me to file a bug report.

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

ID: 55111b1f-ca0d-0eb9-7457-3cdee47a6804
Version Independent ID: 9442f477-20be-a67b-a38a-1846dc3cfbc4
Content: az bot
Content Source: src/command_modules/azure-cli-botservice/azure/cli/command_modules/botservice/_help.py
Service: bot-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@stevengum for comment

This is no longer relevant as in the May 6, 2019 (version 2.0.64) release of Azure CLI we updated the command to specifically target properties instead of giving the ability to seemingly modify/add any property (which is not actually possible, some properties are readonly).
Now to update the description of a bot, you would use az bot update -n botName -g MyResourceGroup --description "some description"
The available properties of the bot that you can configure can be seen through the link provided or through typing az bot update -h


proc/variables: Split address calculations from value extraction

Refactored variables.go to separate calculation of a variable's address from
reading its value. This change is useful to implement the 'set' command
as well as the evaluation of more complex expressions (in the future).
Introduces the types VarAddr (a typed address in the target program) and
ArrayAddr (a typed sequence of addresses in the target program).

Took a glance through and it looked good, will do a full review this evening.

Can you update this with what was mentioned in the mailing list? It'd be great to see how this would look if everything was on Variable instead of the new types.

And actually, if we go the route of merging these types, do we even need this patch to implement the set command? The way I see it, maybe this patch could include a boolean to say whether or not to actually evaluate the variable vs. just gather information about it, but other than that all of the heavy lifting should be implemented by methods on the Variable type (i.e. variable.SetValue or something).

Removed VarAddr and ArrayAddr.

Mostly naming cleanup. Rename variables named addr and change the function names.

done

Thanks!

I'm going to do the change to Variable I proposed in ml, if you don't have objections.

@aarzilli I'm all for it.


ListSelect::on_select provides previous selection to callback

When running the select example the application is supposed to print the selected city to the console, but it's printing the previously selected city instead.  For example, after initially launching, if the user mouse clicks the "to Sydney" list item ("to Tokyo" is selected initially) the application prints "Selected Destination: Tokyo".
This appears to be because the selected state is set true on MouseDown, but the ListItem isn't updated until MouseUp.
It seems like the list's on_select shouldn't fire until MouseUp has been received, but it also needs to propagate events through the list items first.  The list may also need to make sure it received both the MouseDown and MouseUp events because you wouldn't want the selection to fire if the mouse was dragged over the list then released.

Random comment: if you put Closes #<issue number> in a PR it will automatically close an issue when merged. Sorry if you already know this.


feat(curriculum): CSS Box Model Quiz

Checklist:

[x ] I have read and followed the contribution guidelines.
[x ] I have read and followed the how to open a pull request guide.
[x ] My pull request targets the main branch of freeCodeCamp.
[x ] I have tested these changes either locally on my machine, or GitPod.

Closes #56186

Hey @shivam-bhushan did you have a chance to see this last feedback you received?

Hey @shivam-bhushan did you have a chance to see this last feedback you received?

Hi, I am sorry for the delay, I will push the PR with the asked for changes in the next 24 hours.

@shivam-bhushan Will you continue working on this PR?

@shivam-bhushan Will you continue working on this PR?

yes, I am working on it right now. Should be done in 3 hours. Again sorry for the delay, I have been shifting to a new city, therefore the delay. Will be done in 3 hours for sure

@ilenia-magoni I have updated the PR with the changes. Sorry for the delay. Let me know if the PR needs anything else

Hi @shivam-bhushan . Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


[HELP] Issue while Using it as a submodule.

Earlier I copy pasted , dependencies.gradle , mosaic/mosaic folder and substituted modules with projects , and all worked fine
now, I wanted to escape from this manual work , So tried to add it as a
git add submodule  https://github.com/JakeWharton/mosaic
and It worked and added mosaic project as a submodule , so I did the following in my project's settings.gradle.kts
includeBuild("mosaic/mosaic") {
    dependencySubstitution {
        substitute(module("com.jakewharton.mosaic:mosaic-gradle-plugin")).with(project(":mosaic-gradle-plugin"))
        substitute(module("com.jakewharton.mosaic:mosaic-runtime")).with(project(":mosaic-runtime"))
        substitute(module("com.jakewharton.mosaic:compose-compiler")).with(project(":compose:compiler"))
    }
}

and added the plugin as following:
plugins {
    // other plugins
    id("com.jakewharton.mosaic")
}

then did a gradle sync successfully and app run (used your sample counter app's code) also successfully :smile:
BUT IDE doesnt recognise code reference , however builds successfully, any help would be appreciated , If I can provide more info , I would be happy to do that...

IDE is only recognising following :


Make parentheses mandatory for def and macro arguments

As the title says, this makes parentheses mandatory for def and macro arguments. That means that this:
def foo x, y
end

will give a parse error.
There are many reasons for this breaking change, but this one is the main one:
def foo arg : String
end

Is the above a def with one argument restricted to a String, or a def with one argument without restrictions that returns a String?
This ambiguity is solved by using parentheses:
def foo(arg : String)
end

def foo(arg) : String
end

Other reasons:

There's always an ongoing discussion between liking/disliking parentheses in method arguments.  For example in the standard library and compiler we always use parentheses, but sometimes we have to accept pull requests without parens and it's annoying to just ask to change that.
Parentheses aren't annoying and don't hinder readability in defs. In calls it's more understandable because it reads like an action or sentence, "do this", "write that", but for a method definition it doesn't make much sense.
Me, @waj, and many at Manas generally dislike methods written that way :-P

The plan is to merge this starting from the next release. The current release will introduce the formatter, which, in addition to reformat code, will also add parentheses to defs and macros. This will allow you to run crystal tool format on your project to update it to the latest version of the language. Then we'll merge this.
This PR is mainly to let you know about this breaking change (and, of course, hacktober ;-))

I don't mind this at all. As long as I can still call them without parens, +1!

I'm also a really against function defs without parentheses.  So +1 from me as well
Also it's pretty awesome that the formatter will do most of the work in that part!

:+1:  for parans in defs

Another reason is that this is the recommended way according to the Ruby style guide :-)

:+1: as long as I still can def foo; end of course!

I see I'm on a sinking ship here :( I like omitting them, it's easier to type for me. I never had the ambiguity issue, : simply has a high precedence and binds to the parameter if present. If you want to specify the return type add parens to disambiguate, just like everywhere else where precedence is involved. All my Crystal projects omit them (and sorry, I won't just run the formatter over it, my style is too opinionated for such a tool to work at all). In the Ruby world the reasoning always is something about hard to tell apart the method name from the arguments, which to me was never a problem since my editor uses different colors there. I have no problem with following the styleguides in other codebases, but would've been nice to keep the freedom (and consistency with calls) for my own projects.

Strong +1.

@jhass The main issue is that if somebody writes:
def foo arg : String
end

and we allow omitting the parentheses, the above is still valid code but it's confusing (to see the return type you usually see past the last : in the line, after any parens, if any, but now that rule doesn't apply anymore). Forcing a parentheses there is just one step away from forcing it in any case.
Another reason is that coloring might not always be available in an editor (for example a raw vi).
And another reason is that there always seems to be a discussion over this, but not over calls. In calls you are usually free to do whatever you feel like, and everyone think it's OK. So this change will make those discussions vanish, in the same way that the formatter will almost impose a style on your code. You loose a bit of freedom, but everyone benefits from consistency.
And I do hope you run the formatter on your code! Otherwise it will stop compiling.

Well, not that it matters anything, but I've had the same discussion over calls too.

And what's your opinion on calls? Always without parens? Always with parens?

I usually leave them off for the outermost call, except when there's a modifier-if following, though even there not strictly so.

Calls can be nested, so in foo 1, bar 2, 3 you need parentheses to disambiguate between foo 1, bar(2), 3 and foo 1, bar(2, 3) , but def arguments can't be nested so there's no need to disambiguate anything.
But note that the formatter will preserve parentheses or spaces in calls, it won't add parentheses in that case.

This is just one example though, I expect there to be other instances where it will apply a dogma. And where possible exactly means where there's not semantic ambiguity.

So there won't be any configurations of the formatter?

Found the branch before the issue. I'm in strongly favor of enforcing parens on method declarations, but only due to aesthetic feelings.

+1 for consistency.  Either make them mandatory when defining and calling or change the style on both to drop them except when required.  I'm for moving back to :: for return types.  I realize the : change was for consistency but now we have an even bigger inconsistency with parenthesis.  Why is defining different than calling?  (I'm not asking a parser question but a language design question)  Why the difference?  Just cuz?
Look at the parenthesis issue as an outsider or as a teacher trying to explain why this is pretty much the same thing but with a different syntax.  Which of the following is easier for new comers to comprehend?
With mandatory parenthesis:

Parenthesis are mandatory in declaration.
Parenthesis are optional when calling.
Parenthesis are mandatory when disambiguating method parameters.

Without parenthesis:

Parenthesis aren't used except when disambiguating method parameters.

Personally I like consistency for declaration - it's more formal. So parentheses for formal parameters, but voluntary at call arguments, since expression code is good to be able to write.. eh, more expressive.
I always avoid parens in code except when needed for disabiguation, and then sometimes I use "lisp style" grouping parens instead of "arg-parens".
When declaring, I always use parens - even for empty parameter list.
Just my view of what looks clear.


Player gets disconnectet when putting item in offhand (gm 0 only)

What version of ViaVersion are you using? Type /ver viaversion
ViaVersion version 0.5.3
What version of Spigot are you using? Type /ver
git-Spigot-db6de12-3f3c65f (MC: 1.8.8)
What plugins are you using? Type /plugins
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord, our custom version build reimplementing 1.7 support
How does this error happen? login? Using an item?
Put an item in the offhand slot (client gets disconnected)
Is there an error in the console? Use pastebin.com. Is there a kick message?
http://pastebin.com/pK7zUAqV

This issue isn't present when not using bungeecord. Isn't there any error message in the server console?

I would assume your custom bungeecord does not properly implement this. We don't support custom software unfortunately.

Yep, we realized that. Sry for bothering you^^


OCPBUGS-3864: ssb: Error if attempting to use a non-default pool but the pool variables are not set

Since we switched to the new way of remediating kubeletConfigs, setups
that use a non-default pool name require that the pool is set in
variables in a tailored profile. Otherwise, some remediations might be
set cluster-wide which can cause issues, e.g. if the platform-level remediation that
sets protectKernelDefaults is set cluster-wide, but the node level
remediation that sets the required sysctls is only set pool-wide.
Protect the user againts shooting themselves in the foot by refusing to
process this kind of SSB CRs.
Resolves: OCPBUGS-3864

self-nack this is missing a changelog entry

Thanks for adding this change! Looks like we might need to adjust the TestAutoRemediate, and TestKubeletConfigRemediation e2e test tailored profiles, otherwise, the PR looks good!

Thanks for adding this change! Looks like we might need to adjust the TestAutoRemediate, and TestKubeletConfigRemediation e2e test tailored profiles since e2e-default-auto-apply uses a custom pool, otherwise, the PR looks good!

Thanks nice catch. I edited the e2e tests, but did not run them locally. We'll see soon if they pass or not, I guess.

self-nack this is missing a changelog entry

Changelog added.

@Vincent056 this is still going to fail because the kubelet test uses an old content that doesn't know about the role variables. How do I update the content image?

@Vincent056 this is still going to fail because the kubelet test uses an old content that doesn't know about the role variables. How do I update the content image?

https://github.com/ComplianceAsCode/compliance-operator/pull/193, I opened this PR for testing, I merged tests from TestKubeletConfigRemediation into TestCheckDefaultKubeletConfig so that only one scan needed to be run.
It will cover the test case for both in TestCheckDefaultKubeletConfig. If it passes the test, we should also remove the kubelet_default from images/testcontent

@Vincent056 this is still going to fail because the kubelet test uses an old content that doesn't know about the role variables. How do I update the content image?

#193, I opened this PR for testing, Let's reuse the datastream from TestCheckDefaultKubeletConfig in TestKubeletConfigRemediation.

Thank you! I used your patch with your attribution in this PR. Let's see if we have a clear CI run.


Disabling suggestion on folders

Is it possible somehow, to disable folder suggestions altogether? The reason for this are duplicate folders are being shown. The other proposed solution I found in the closed issues, won't do for me, as I need to have the native suggestions enabled also.

Leaving some notes here for the near future when I will find some time to work on this.
My current idea is to extend the capabilities of the excludeItems options with something like follows:
"path-autocomplete.excludedItems": {
         "**": { "when": "**", "isDir": true }, // always ignore `folder` suggestions
         "**/*.js": { "when": "**", "context": "import.*" }, // ignore .js file suggestions in all files when the current line matches the regex from the `context`
}

This additional logic will need to be added in the filter method from the completion provider:
https://github.com/ionutvmi/path-autocomplete/blob/master/src/features/PathAutocompleteProvider.ts#L458

This is now included in 1.15.0
Please try it out and let me know if worked for you.

Works as a charm, nice, Thanks!:)
I would have an additional suggestion also. It would be nice, if it would be possible to provide custom mappings that resolve to certain file types only.
My problem is the following: at the moment, when working with SCSS you are not able to define custom folder aliases on import, thus neither VS code, nor the SCSS Intellisense that I found for VS Code supports this feature. However, when bundling my project using either webpack or browserify, both provide a way to define custom folder aliases in scss also. Thus, it would be nice, if I would be able to provide a custom mapping and use path-autocomplete for import suggestions.
Why I would need this functionality is that, right now, I am aliasing my folders in typescript with core for the in-house made framework we are using, and project, for the current project that extends this framework. I would like to do the same with scss also, as our in-house made framework has scss files also, but they are stored in a completely different directory, thus I can not alias two separate core directories.
If I could specify that when I am in an .scss file, core referes to A, and when I am in a .ts file, core refers to B would be really helpful. In the meanwhile, I know that I could just rename those aliases to coreSCSS and coreTS, but if this feature wouldn't be too hard to implement, I think others would benefit from it also!

Another question. Is it possible somehow, to also map file openings with this extension? For example, could it be made, that when I click on the link part of the import statement, VS code should use the mappings of path-autocomplete to open the file?


Add light/dark mode configuration hint

Love the theme, thank you.
I had trouble figuring out how to toggle light/dark variants, made a change to the README to give others a hint.

Thank you for the kind words, glad you like it.
And thank you for your contribution!


pip install error on mac

I would like to check if this Is from my fault.
Thanks :)
 Collecting gcloud
  Using cached gcloud-0.16.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.9.1 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from gcloud)
Collecting google-gax>=0.12.0 (from gcloud)
Requirement already satisfied (use --upgrade to upgrade): six in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from gcloud)
Requirement already satisfied (use --upgrade to upgrade): protobuf!=3.0.0.b2.post1,>=3.0.0b2 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from gcloud)
Collecting gax-google-pubsub-v1 (from gcloud)
Collecting grpcio>=0.14.0 (from gcloud)
  Using cached grpcio-0.15.0.tar.gz
Collecting oauth2client>=2.0.1 (from gcloud)
Collecting googleapis-common-protos (from gcloud)
Requirement already satisfied (use --upgrade to upgrade): ply==3.8 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from google-gax>=0.12.0->gcloud)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from protobuf!=3.0.0.b2.post1,>=3.0.0b2->gcloud)
Collecting grpc-google-pubsub-v1>=0.7.10 (from gax-google-pubsub-v1->gcloud)
Collecting enum34>=1.0.4 (from grpcio>=0.14.0->gcloud)
  Using cached enum34-1.1.6-py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): futures>=2.2.0 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from grpcio>=0.14.0->gcloud)
Requirement already satisfied (use --upgrade to upgrade): pyasn1-modules>=0.0.5 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from oauth2client>=2.0.1->gcloud)
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages (from oauth2client>=2.0.1->gcloud)
Collecting rsa>=3.1.4 (from oauth2client>=2.0.1->gcloud)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Building wheels for collected packages: grpcio
  Running setup.py bdist_wheel for grpcio ... error
  Complete output from command /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/tmpaoy2j79vpip-wheel- --python-tag cp35:
  /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages/setuptools/dist.py:316: UserWarning: Module enum was already imported from /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/enum.py, but /private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/.eggs/enum34-1.1.6-py3.5.egg is being added to sys.path
    pkg_resources.working_set.add(dist, replace=True)
  running bdist_wheel
  running build
  running build_py
  running build_proto_modules
  Traceback (most recent call last):
    File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 229, in run
      self.run_command('build_proto_modules')
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 159, in run
      raise CommandError('could not find protoc')
  commands.CommandError: could not find protoc

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/setup.py", line 258, in <module>
      test_runner=TEST_RUNNER,
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 179, in run
      self.run_command('build')
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 231, in run
      sys.stderr.write('warning: %s\n' % error.message)
  AttributeError: 'CommandError' object has no attribute 'message'

  ----------------------------------------
  Failed building wheel for grpcio
  Running setup.py clean for grpcio
Failed to build grpcio
Installing collected packages: enum34, grpcio, rsa, oauth2client, google-gax, googleapis-common-protos, grpc-google-pubsub-v1, gax-google-pubsub-v1, gcloud
  Running setup.py install for grpcio ... error
    Complete output from command /Users/jihobak/.pyenv/versions/anaconda3-2.4.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-acbpix4d-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    running build_proto_modules
    Traceback (most recent call last):
      File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 229, in run
        self.run_command('build_proto_modules')
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 159, in run
        raise CommandError('could not find protoc')
    commands.CommandError: could not find protoc

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/setup.py", line 258, in <module>
        test_runner=TEST_RUNNER,
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/command/install.py", line 539, in run
        self.run_command('build')
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/src/python/grpcio/commands.py", line 231, in run
        sys.stderr.write('warning: %s\n' % error.message)
    AttributeError: 'CommandError' object has no attribute 'message'

    ----------------------------------------
Command "/Users/jihobak/.pyenv/versions/anaconda3-2.4.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-acbpix4d-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/jm/bkqzc2ts4bs13wflp1dw158m0000gn/T/pip-build-sa02dhx6/grpcio/

Hello @jihobak, this appears to be an issue directly with grpcio and somewhat related to #1928, #1858.
https://github.com/grpc/grpc/issues/7134 may also be related.

@jihobak please give https://pypi.python.org/pypi/gcloud/0.16.1 a spin, and let us know if it resolves the issue for you.

@jihobak, also this might be good to know/follow. https://github.com/grpc/grpc/issues/7135#issuecomment-229453868

@daspecster @tseaver
Thanks for you guys help 👍
It's simple, The problem is six,
pip install --upgrade six

After upgrading six, I install gcloud successfully

@jihobak Glad you found a fix!


Disputing quick guide learn more button needs to link to the correct page in the help centre

Currently doesn't go anywhere

Still going to the wrong doc

whats the link for the right doc @Chwy5 ?

https://augur.gitbook.io/help-center/disputing-explained
To the disputing pg in this doc...this is what we will be  using for the help center


KNOX-22670 - Deleting unnecessary removeToken override from AliasBasedTokenStateService

What changes were proposed in this pull request?
See the root cause analysis in https://issues.apache.org/jira/browse/KNOX-2670.
Additional note: the newly implemented triesToRevokeOwnToken(String, String) method solves the original issue 1 layer above, but the problem with the AliasBasedTokenStateService would still exist w/o removing the removeToken(String) method.
How was this patch tested?
I ran Junit tests and I executed the steps I used for reproducing the original issue (I temporary removed the triesToRevokeOwnToken(String, String) call to make sure my change actually solves the issue).

Cc. @zeroflag

LGTM. The patch looks good to me, but the inheritance hierarchy is a bit difficult to follow.

LGTM. The patch looks good to me, but the inheritance hierarchy is a bit difficult to follow.

It's not that complicated IMO.


[BEAM-605] Create Bigquery Verifier

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

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Create BigqueryMatcher that is used to verify Bigquery data in integration test.
Add BigqueryMatcher to BigQueryTornadoesIT for output verification.

Example command is used to running BigQueryTornadoesIT:
mvn clean verify -pl examples/java -am -DskipITs=false -Dit.test=BigQueryTornadoesIT -DintegrationTestPipelineOptions='[ "--tempRoot=gs://clouddfe-testing-temp-storage", "--runner=org.apache.beam.runners.dataflow.testing.TestDataflowRunner" ]'

+R: @jasonkuster, @lukecwik

PTAL: @jasonkuster

PTAL @jasonkuster

Back to you, @markflyhigh

LGTM.
R: @lukecwik for merge


Update JavaScript Jarvis March to use points from Graham Scan

This uses the points from https://github.com/algorithm-archivists/algorithm-archive/blob/4313e7eb3d2faa152590c631d180d06a5c85f46d/contents/graham_scan/code/julia/graham.jl#L50

I think @jiegillet did something with the Haskell code such that these numbers were not "magic," but instead pulled from some distribution, but I don't remember the trick. I think he just randomly picked a distribution from within a circle, but I don't remember how he knew which points should be excluded.
I can look into this in a bit.
Thanks a bunch for all the PR work recently!

I see. If we can find out, then that information should be at the end of the chapter. Of course, hold off on all the related PRs until we get that information.

I made the points this way:
let pts = [(x,y) | x<-[-5..5], y<-[-5..5], x^2+y^2<=5^2]

which means, take all points on a square grid from (-5,-5) to (5,5) and keep the ones inside or on a circle of radius 5.

[lang: javascript]


Session variable not pulling correctly and download all goes into Windows folder

This is a fix to the issue I created, #7
I added a gitignore to make working with VS and Git cleaner.
I fixed the extra space causing the session variable to not be found.
I consolidated the download code into its own function which fixed the issue where when download all was selected all items were downloading into the same folder instead of one folder for each OS.

Oh snap, I totally forgot to mention I added code to see if the file already exists before downloading. My thinking here was that in the future as the games change you can re-download only those you don't already have and save a little time/bandwidth.

neat! sorry for the delay, I've been driving all day
Do you think you can implement the ability to check the file size also, so that if a download is interrupted we don't skip the file, rather we redownload it?
Here's a list of what I want to get done in addition:

[ ] pausing/resuming downloads
[ ] saving state on exit so that when we re-launch we can resume from where we left off (if downloads weren't completed)


View transmission as grouped tech outside map views

Instead of X1_to_X2 etc. in timeseries / capacity plots, there are times when it is nicer to see it grouped (e.g. all AC power lines together). This could use the same grouping as in the filtering.
Grouping of this kind could extend to other techs (e.g. all solar PV sub-types could be grouped together).

This is actually implemented now via network_grouping_param which defaults to tech_inheritance. This needs to be updated for pending naming changes in Calliope 0.7.


Issues with Transcribing Chinese Audio Using openai_whisper-large-v3-v20240930_turbo_632MB Model

I am using the openai_whisper-large-v3-v20240930_turbo_632MB model to transcribe Chinese audio, but I encountered an issue. When I set enablePromptPrefill=true and configure streamOptions.promptTokens as whisperKit.tokenizer?.encode(text: "这是一段中文文本。"), the model fails to transcribe any text. However, using the same settings with the openai_whisper-small model works fine, producing Chinese text with punctuation.
With the openai_whisper-large-v3-v20240930_turbo_632MB model, if I set enablePromptPrefill=false, the transcription works but lacks punctuation. I also tried using streamOptions.prefixTokens = whisperKit.tokenizer?.encode(text: "。这是一个句子。"), but punctuation still did not appear.
Is there any hope of resolving this issue? How can I prompt the model to include punctuation in Chinese transcriptions?
Thanks for any help!

Related to #167. Especially if the error is model version dependent, then it is highly likely to be related to the fact that prompt adherence is not robust in any Whisper model version, and it may or may not work. Furthermore, the prompting feature in WhisperKit should not behave differently given that it is using the same code path across different model versions. This also points to the lack of robustness of this native model feature.


[GLUTEN-7220][CH]Fix expand bug in grouping sets query

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #7220)
How was this patch tested?
UT
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

let's rename the header file in this PR

let's rename the header file in this PR

@KevinyhZou

let's rename the header file in this PR

@KevinyhZou The header file name is typo

done @lgbo-ustc

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_09_18_2024_time.csv
log/native_master_08_31_2024_d785693e59_time.csv
difference
percentage

q1
52.75
40.75
-12.006
77.24%

q2
30.31
29.76
-0.541
98.21%

q3
53.78
52.30
-1.481
97.25%

q4
40.22
42.11
1.893
104.71%

q5
102.29
106.05
3.761
103.68%

q6
11.95
13.14
1.185
109.92%

q7
110.25
116.65
6.402
105.81%

q8
116.17
114.94
-1.228
98.94%

q9
170.77
168.86
-1.906
98.88%

q10
67.45
64.24
-3.211
95.24%

q11
26.25
27.16
0.911
103.47%

q12
32.37
29.49
-2.882
91.10%

q13
53.15
52.56
-0.592
98.89%

q14
24.62
25.03
0.401
101.63%

q15
50.22
54.85
4.628
109.22%

q16
18.16
18.66
0.500
102.75%

q17
125.88
131.53
5.653
104.49%

q18
201.62
198.34
-3.276
98.38%

q19
27.32
26.26
-1.058
96.13%

q20
43.83
42.72
-1.112
97.46%

q21
343.13
385.36
42.228
112.31%

q22
15.72
15.21
-0.510
96.75%

total
1718.22
1755.98
37.760
102.20%


[lint] Resolve vairous Verilator lint issues

I went through the errors raised by Verilator lint raised here: https://reports.opentitan.org/hw/top_earlgrey/lint/verilator/summary/latest/report.html
And tried to resolve as many as I could. At the moment I have not fixed any lint errors in auto-generated code nor in vendored code.

Converting to draft until I fix CI issues.

Thanks for the PR @marnovandermaas . To be honest, I think this is just too much for a single PR. It's 10 IP blocks including the top-level which are affected by this PR. Some of the fixes aren't straight forward and some are quite controversial. Also, CI is failing. I strongly suggest to split this PR into a couple of smaller ones each touching one or two IP blocks at most.

I've split this PR into separate PRs to make reviewing easier:

https://github.com/lowRISC/opentitan/pull/16847
https://github.com/lowRISC/opentitan/pull/16848
https://github.com/lowRISC/opentitan/pull/16849
https://github.com/lowRISC/opentitan/pull/16850
https://github.com/lowRISC/opentitan/pull/16851
https://github.com/lowRISC/opentitan/pull/16852

I also created an issue: https://github.com/lowRISC/opentitan/issues/16846
Closing this PR because it should now be tracked in the new PRs and issue.

@marnovandermaas
Can you check the VRRILATOR simulation setup wich definrs are set and make sure the LINT is usin the same defines...


Adds flatbuffers to libraries and frameworks

https://github.com/google/flatbuffers/pull/7328
We are adding WASM support to flatbuffers-swift

We've merged the flatbuffers code, it will be included in the next release however people can start using it by taking it from the swift branch


[WIP] core/cli: fix empty .buildinfo files

@dfreeman encountered a scenario where the .buildinfo file was generated but empty. The first commit here is a first pass to verify that it does get generated at least sometimes. Unfortunately, it does not reproduce the bug; but it does tell us that this at least generally works.

Closing the loop on our conversation: the file wasn't literally empty, but it only contained a version marker without any actual build info:
{"version":"4.8.2"}

I'll poke at it some next week if I get the opportunity

Ah, yes. We need a slightly more robust test than this; I originally used a snapshot and that had the full contents, so there is something else different between the scenario our tests hit and the real-world failure!

Update here: I identified that the problem is we were testing --build but what was broken was a normal 'check' pass. The new tests exercise it correctly. Unfortunately, I haven't been able to figure out yet what we do need to do to actually make it work. I’m pushing a WIP commit that shows one path which doesn’t work, and because it doesn’t I am mildly stumped.

My notes from the commit message in the latest:

I would expect this to work: it simply wires up the compiler the exact same way we do for --build, but with --incremental, but... no. It's possible (perhaps even likely) that we need to do some extra wiring; knowing for sure will likely require reading the TS source code. As it does for these things.


Broken link in README

The readme at https://github.com/OpenPrinting/cups has the following section:

[...] we provide a mailing list for CUPS users and developers to ask questions and discuss issues at https://linuxfoundation.groups.io/g/printing.

That link is broken and redirects to https://linuxfoundation.groups.io/static/groupnotfound

NB: I discovered this while I was trying to find an appropriate location to ask a question about the future of legacy corporate network printers that do not support IPP, since apparently lpd:// + PPDs will be phased out in the future, I'm wondering how I will be able to print at my university in the future, since Linux is not officially supported there (only the comp-sci deparement use it), and all we got (after much complaining) was an lpd URI and a PPD. Getting IPP Everywhere set up there seems like an ordeal and likely unsuccessful or at least time consuming.

@tillkamppeter Can we get this printing group created? I requested it over a year ago but haven't heard back from the LinuxFoundation folks...

I can try to contact the guys at the Linux Foundation, but could we perhaps create something in the OpenPrinting GitHub, as there we could do the admin by ourselves?

@tillkamppeter Github doesn't offer mailing lists, just "discussions" which require a Github account. Similarly, Google Groups (something I also looked into) requires a Google account (doesn't have to be a gmail.com account but you do need to have a Google login associated with your email).
Most users don't have Github accounts. Some have Google accounts. But with a mailing list they just need to sign up for the mailing list to go to their email, and OpenPrinting is part of the Linux Foundation which already has infrastructure for this stuff...

@michaelrsweet who was your contact at the LF to ask for the list(s) getting created? Can you forward to me the e-mail(s) you sent?

@tillkamppeter Hopefully you got my email - tried once and it bounced. Jeff Licquia and Eric Searcy were on the message thread.

@tillkamppeter Any updates on this?

Sorry, I was very busy with the Linux App Summit 2022 and came back today.
I have sent a mail to Jeff and Eric now, you CCed.

We generally do not get any IT resource support from the LF as long as we are not a full-fledged workgroup with budget, governance, ... We could use the GitHub "Discussions" platforms of OP projects. Perhaps we could also ask osuosl.org for whether they could put a mailing list server onto our lookup serer ...


It won't connect

Vector won't connect to https://vector.techshop82.com/html/main.html
What are you running wire-pod on?
[OS]: Windows
[Hardware]: Intel(R) Core(TM) i7-3770 CPU GTX 1650 GPU Windows 10 Home 22H2
It's a Prod bot
I have tried by following this https://github.com/kercre123/wire-pod/wiki/Installation
I can't access escapepod.local

I was able to access https://vector.techshop82.com/html/main.html but wasn't able to pair Vector to it, when I press the "PAIR WITH VECTOR" button it shows my Vector but when I press it, it just takes me back to the "PAIR WITH VECTOR" screen. My vector's OS is 0.9.0 (V4).
Video of what is happening👇
https://github.com/kercre123/wire-pod/assets/79020314/7c72057d-afc1-4d50-9be9-32a3df06aa87
Picture of Vector's information👇

Follow this link: https://www.youtube.com/watch?v=8Hun_F3WGF8 this is how I setup my wirepod for free

Thanks


Change the header back to normal

Removes the dark theme from the top banner

I don't mind the black banner. I'm sure we all feel weird when things suddenly look different, but we'll likely get used to it.

Let's give it some weeks and we can reevaluate.

I find bugs with the banner, not the black banner, but some misalignments in certain cases and some pages. I guess I should report to GitHub, but if I could revert without those bugs for now would be great for me!

This PR won't work anymore, Github changed their code.


Add stub conversion pass ConvertTritonToTritonAcc

It allows to check pass infrastructure with LLVM  build

@aobolensk plz review this demo pass, also I don't have sufficient permissions to add reviewers and assignees


Feature: Have an option to convert bytes to floats and doubles

It is awesome that I can convert to Integers!
Another awesome addition would be converting Bytes to Floats or Doubles.

like here https://www.scadacore.com/tools/programming-calculators/online-hex-converter/

This won't make it into the cryptii project, as of now. However, over at ciphereditor, we already added IEEE 754 Single-precision and Double-precision floating-point formats to the Number encoder operation with an option to choose between big-endian and little-endian. See https://github.com/cryptii/cryptii/issues/129 for more.


FIX: Check that class is not shadowing 'name'

Closes #197
How's this?

Are there any other reserved attribute names?  Probably 'parent'

Anything that would get overriden in the init should fail loudly.
name
parent
signal_names
_signals
read_attrs
configuration_attrs
monitor_attrs

@danielballan yes, there should be more checks to be safe. Also, there should be tests for these cases if it ever gets broken somehow.


Support for netstandard

Do you have any plans to support net standard?

The 3.2 beta NuGet package currently support net standard 1.5.

I was looking at AWSSDK.S3 which doesn't look like it's been updated. Can you please confirm

https://www.nuget.org/packages/AWSSDK.S3/<IP_ADDRESS>-beta

@normj what about s3?

What trouble are you having using S3 with netstandard? The package targets netstandard 1.5 and as 3.2.5-beta the package was moved to the 1.0 release of .NET Core.

@normj this is not true..
https://www.nuget.org/packages/AWSSDK.S3/3.2.5-beta
Dependencies
All Frameworks
AWSSDK.Core (>= 3.2.5-beta && < 3.3.0-beta)
Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)
AWSSDK.Core (>= 3.2.5-beta && < 3.3.0-beta)

Says all and pcl and I'm not sure what all means in this context.

The all includes .NET Core and if you follow the link to AWSSDK.Core you will see that supports netstandard 1.5. What is the error you are getting? I have verified pulling in the S3 package from nuget for .NET Core works.


Add a hint on how to insert type references

While the documentation on JavaTemplate is already quite good, I think it could be helpful to have a note regarding type references in templates. The user may be inclined to use a typed substitution indicator rather than an untyped substitution indicator, since a Java type reference could be thought of as a typed construct. So the user may for instance want to declare a variable using a type cast in the initializer using a template like #{any()} s = (#{any()}) #{any()}; and then provide a TypedTree or similar as the parameter for the first indicator. While in fact the type should either appear as a literal in the template (e.g. String s = (String) #{any()};) or alternatively use an untyped indicator (as in #{} s = (#{}) #{any()};) and then substitute these indicators for Strings representing the qualified (or unqualified) type name.
See also https://github.com/openrewrite/rewrite/issues/2817

@knutwannheden Do you know if this still applies with the latest JavaTemplate / OpenRewrite updates? I know a lot has changed on that front.

@mike-solomon Thanks for checking. Yes, this is still the case now.

The typed indicators are those which look like #{any()} and the untyped ones are the #{} ones. And when inserting a type reference like String or int one may think that the typed ones are the correct ones, whereas this requires the untyped ones, because String is a syntactic construct and not a valid Java expression.

For now I think we can maybe just close this issue. I read through the documentation we have and I am afraid that adding another hint / warning to the section on typed substitution indicators would just confuse the reader.
However, since we in the current documentation don't mention the difference between context-free and -sensitive (only in the 8.1.2 release notes), I feel like an overhaul is required.
@mike-solomon Feel free to close this for now and I will be happy to review the overhaul of the documentation at some point in the future.

Sure that would be appreciated @knutwannheden


added command line usage output when no options are specified

Fixes #1414

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/500/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/455/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/501/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/502/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/456/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/457/


gpio: stm32: support disabling and reenabling interrupts on gpio pin

Up to now interrupts could be only configured once, with no way to disable them in runtime.
Allow interrupts to be disabled in runtime and then properly reenabled on user request. This allows to ignore interrupts when software is not expecting them.
The improvement over previously reverted patch [1] is that we disable interrupts only when we configure port for which interrupt line was previously selected. This for example prevents to disable interrupts line 2 in case PA2 was previously configured as interrupt source, but we are currently configuring PB2 as output.
Besides we make a small improvement by declaring gpio_stm32_enable_int as static and splitting into smaller functions in order to achieve better readability.
Those patches are a result of previously noticed bug #19177.
[1] 0951ce2 ("gpio: stm32: support disabling and reenabling interrupts on pin")

@mniestroj, btw I didn't mentioned it previously but since this change is going to have much more impact than initially, you should be aware of imminent driver rework due to new GPIO API introduction, merged yesterday actually (https://github.com/zephyrproject-rtos/zephyr/pull/16648).
So please have a look and check if it fits your need.

So please have a look and check if it fits your need.

@erwango I don't see any problems, as those changes look unrelated. But thanks for pointing that, I'll try to follow it.

@erwango I've changed code according to review comments and rebased on top of topic-gpio branch.

@mniestroj, thanks!
I'm a little bit confused though, since I've finally done the changes myself directly in https://github.com/zephyrproject-rtos/zephyr/pull/19579 last week since we wanted to make it move fastly. I should have informed you to spare you the effort, sorry for this.
Anyway, your commits are present in #19579 and will be merged form this branch.
Thanks for this contribution that has been useful to initiate the driver re-spawn.

@erwango Ahh, I see that you fixed those issues in separate commit :) Thanks for reviewing and pulling those changes!

I think the reviewers list need to be cleaned up. Looks like many has been added by accident.

Main changes from this PR has been merged part of #20443 PR.


How can i fixed the bug?

NOTE: Executing Tasks
ERROR: catkin-0.8.10-1-r0 do_package: QA Issue: catkin: Files/directories were installed but not shipped in any package:
/opt/ros/noetic/lib
/opt/ros/noetic/lib/python3.7
/opt/ros/noetic/lib/pkgconfig
/opt/ros/noetic/lib/python3.7/site-packages
/opt/ros/noetic/lib/python3.7/site-packages/catkin
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info
/opt/ros/noetic/lib/python3.7/site-packages/catkin/builder.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/find_in_workspaces.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/workspace_vcs.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/cmake.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/workspace.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/package_version.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/test_results.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/environment_cache.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/tidy_xml.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/terminal_color.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/init.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/init_workspace.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/test_results.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/builder.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/workspace_vcs.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/workspace.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/terminal_color.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/init_workspace.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/find_in_workspaces.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/init.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/cmake.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/tidy_xml.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/environment_cache.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/package_version.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/dependency_links.txt
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/top_level.txt
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/PKG-INFO
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/SOURCES.txt
/opt/ros/noetic/lib/pkgconfig/catkin.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
catkin: 36 installed and not shipped files. [installed-vs-shipped]
ERROR: catkin-0.8.10-1-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/fjyx/loongson/2k1000la-yocto/yocto/build/tmp/work/loongarch64-Loongson-linux/catkin/0.8.10-1-r0/temp/log.do_package.343732
ERROR: Task (/home/fjyx/loongson/2k1000la-yocto/yocto/meta-ros/meta-ros1-noetic/generated-recipes/catkin/catkin_0.8.10-1.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2183 tasks of which 2182 didn't need to be rerun and 1 failed.

Hi,
The ROS releases should already automatically be adding the files and directories in /opt/ros prefix to the packages.   Which Yocto/OpenEmbedded release are you using and what version of Python 3 does it include?
I assume that it is something other than python3.7 and that our recipes may be incorrectly hardcoded to a particular version.
Regards,
Rob

3.7.8

This seems to be related to the other issue: https://github.com/ros/meta-ros/issues/1218
I have seen a similar issue on the Raspberry Pi 4 (64-bit) when someone sets MULTILIBS="".    This can prevent bitbake from including the /opt/ros/noetic/lib directory because ROS doesn't differentiate between lib and lib64 but OpenEmbedded does.  So OpenEmbedded ignores what it thinks is the 32-bit library directory.


Update BingMapsStyle to match imagery provided by Bing Maps

From https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata:

AerialWithLabels (Deprecated): Aerial imagery with a road overlay, using the legacy static tile service. This service is deprecated and current data will not be refreshed. New applications should instead use AerialWithLabelsOnDemand.

Road (Deprecated): Roads without additional imagery, using the legacy static tile service. This service is deprecated and current data will not be refreshed. New applications should instead use RoadOnDemand.

Related: https://github.com/AnalyticalGraphicsInc/cesium/issues/7128
Not sure if there's anything else that needs to be updated, but I did a quick test and it seems to work with the new values.

Thank you so much for the pull request @tangtony! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Superseded by #7808 which also included fixes for the discard tile policy with the new imagery types.

Thanks for the awesome work @tangtony! Your contribution is about to launch to millions of users with the next release. :rocket:
Do you mind if we tweet about it? CC @OmarShehata @Slchow.


Kubernetes Cost Optimization Using Autoscaling Methods

Proposed title of article
Kubernetes Cost Optimization Using Autoscaling Methods
Introduction paragraph (2-3 paragraphs):
Running more workloads on the same server instance might seem more cost-effective. But tracking which projects or teams generate Kubernetes costs is hard. Knowing whether you’re getting any savings from your cluster is also a challenge.  But there’s one tactic that helps: rightsizing. The tighter your Kubernetes scaling mechanisms are configured, the lower the waste and costs of running your application.
One of the strengths of Kubernetes as a container orchestrator lies in its ability to manage and respond to dynamic environments. One example is Kubernetes’ native capability to perform effective autoscaling of resources. However, Kubernetes does not support just a single autoscaler or autoscaling approach.
In this post, we discuss how to use Kubernetes autoscaling mechanisms and drive cloud costs down.
Key takeaways:

Horizontal vs. Vertical autoscaling in Kubernetes.
Kubernetes autoscaling methods
How each method works

References:
Please list links to any published content/research that you intend to use to support/guide this article.
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@mumbi00
Seems like a helpful topic - lets please be sure it add value beyond what can be found in the official docs and other blog sites. Lets also make sure that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure. - approved
One important note: Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval for a quicker publishing process. (There are some great free tools that we reference in EngEd resources.)


Cancel ci sub

Completed with https://github.com/ryanAllMad/js-job-helper/commit/5992fde8342fe729178010824bda64589d712693


gls doesn't parse ls_colors + no shell name

Though this project is in early development stages, I've found that it doesn't seem to yet support parsing a manually set (in ~/.bash_profile or ~/.bashrc) LS_COLORS. Use of ls as an alias to gls returns the correct output of ls, along with the error "gls: unparsable value for LS_COLORS environment variable". To fix this, normally I would have LS_COLORS only set manually if the shell ID/name (from ps -p $$ in bash) was not "black-screen", except that, where bash returns "CMD -bash" from ps -p $$, black-screen only returns the PID number. Any fixes for this?

Let's better fix those colors. What's the value of your LS_COLORS?

I have some really long value for the LS_COLORS env var (not sure where I originally got it, and might be unnecessary at this point...), but here are the relevant lines from my ~/.bash_profile:
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:';

export LS_COLORS
alias ls="gls --color=auto"

gls hasn't thrown an error from this before (tried with Bash and Xonsh), so I'm not sure what might be giving black-screen trouble.

Just messed around with black-screen a bit more, and wanted to note that the error-producing functionality of gls doesn't occur when the Bash or Xonsh shells are invoked from within black-screen. My understanding is that black-screen is a terminal emulator and not a shell in and of itself, so it seems that whatever shell its running under the hood is having trouble with the LS_COLORS variable.

@nhejazi, Black Screen is both, as stated in README: https://github.com/shockone/black-screen#what-is-it
This is happening because shell implementation is still pretty primitive. Here's the command in question: https://github.com/shockone/black-screen/blob/master/src/Command.ts#L41-L50
It has two issues that prevent LS_COLORS from being parsed correctly:

It splits argument by = and there are many = signs in this variable.
It doesn't remove string literal quotes and doesn't strip the semicolon.

Rewriting it properly depends on the undergoing work of implementing a shell parser, so I'll block this issue for now.


Bug: iOSExample App Uses WalletConnect V1

Describe the bug
Our iOS example app is built on top of WalletConnect V1, which has been completely shut down. This makes the example app unusable with wallet apps.
Expected behavior
Wallet connection is handled through V2 instead of V1
Steps to reproduce the bug
No response

I bet this is also an issue on several other of our examples like android. I'll take a task from this to do an audit on walletconnectV1 usage.

Any update on this? V2 has been out for months!

Fixed by https://github.com/xmtp/xmtp-ios/pull/166.


Mrc 4396 - display metadata

This PR displays sample metadata. I had like to understand what needs to be displayed here. Dependencies have not been looked into so I have no idea what is expected.
Please pre-review for pointers.
Don't look at the code as I based off another PR.

something's gone wrong with the start date I assume (1970!)

Looks good overall, the time that comes back from outpack_server is seconds since epoch.

Coverage issue seems to be fixed now, thanks, but still not seeing any elapsed times in display (see initial comment of last review).


fixes to Environment in Workers Docs

closes https://github.com/cloudflare/cloudflare-docs/issues/18

sorry, caught a few things after initial review, couple fixes needed before merge

Kate and I resolved/fixed up git state together


Added PausableCrowdsale contract

🚀 Description
Introduces a new contract, the PausableCrowdsale.
PausableCrowdsale extends the standard Crowdsale contract, making it pausable. This is a useful failsafe mechanism used by many crowdsales, but isn't yet offered by zeppelin-solidity.

While paused, attempts to buy tokens using either buyTokens() or simple transactions will revert.
The crowdsale can only be paused and unpaused by owner.

🦆🦆🦆🦆🦆🦆

[x] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[x] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

Thank you @elopio
By the way, this code is currently used in an active Crowdsale that has already raised tens of thousands of Ethers. Plus the contract was audited by Matthew Di Ferrante. So that could count as a 3rd and 4th indicator once we have a second 😉

Small update: our crowdsale which used this contract successfully closed last week raising over 40,000 Ether. No issues were found in this trial by fire.

Nice catch @amateescu
Updated the code. Thank you 👍

@elopio could you re-approve this after the change done in 35e799cb3bfed32ff10f6fb9ea24a6d173cddfb4
Thank you.

@TalAter looking at the Travis CI failures, I think the test coverage from this PR needs to be updated.

Great work @TalAter! We're wrapping up the 2.0 release candidate this week so I'll get back to this in a few days.

Since we want to merge this for v2.1, I implemented the changes myself. (Sorry @TalAter!)
@nventuro can you review this now?


Anax clitroubleshootupdate cli

Signed-off-by: anaxceron<EMAIL_ADDRESS>
Documented new and existing commands that can be used in troubleshooting/info gathering for Zowe CLI
Created new page "Using individual commands for Zowe CLI troubleshooting" for existing doc
Updated Troubleshooting Zowe CLI to include separate mentions of new doc and existing-but-restructured doc

Once approved, will be merged w/ Docs Staging so content is published w/ 2.5 release

@gejohnston -- can you take a quick look at the "v2 team config" content just to make sure it's 100 percent correct?


Address gogo/protobuf CVE-2021-3121

This is a partial fix. We need the updated velero 1.6.2 release in our fork when it's available.
https://github.com/openshift/openshift-velero-plugin/blob/master/go.mod#L17


update dev dependencies

This is mostly to see if I can force a coveralls build with the new
library name.  But these did need to be updated anyway.

Hope you guys don't mind, this is just a dependency update, so I'm merging it through.


Allow to use NEEO_SERVER_IP or NEEO_SERVER_BASEURL as Environment Variable

as mentioned in https://github.com/NEEOInc/neeo-sdk/pull/171
also change it in the neeo-sdk-toolkit

btw, this requires https://github.com/NEEOInc/neeo-sdk/pull/171 in order to work (for the adapterIpAddress Variable)


Problem with Dependencies

I'm using spark-notebook with scala 2.10.4, hadoop 2.7.1 and spark 1.4.1 run on yarn-client
When I use spark-csv dependency, I add
"customDeps": [
"com.databricks:spark-csv_2.10:1.0.3"
],
However, I have an error
java.io.InvalidClassException: com.databricks.spark.csv.CsvRelation; local class incompatible: stream classdesc serialVersionUID = -8000178435135078983, local class serialVersionUID =<PHONE_NUMBER>101693206
I found that spark-notebook uses libraries stored in the SPARK_NOTEBOOK_HOME/lib to compile the code, it means that it uses com.databricks.spark-csv_2.10-1.3.0.jar (serialVersionUID = -8000178435135078983) but in every node, spark will use version 1.0.3 (serialVersionUID =<PHONE_NUMBER>101693206)
So I tried to fix this problem, there are two ways
#1: Go to this lib folder and remove the .jar file with different version
#2: Use the same version with the one in the lib folder, it means I changed
"customDeps": [
"com.databricks:spark-csv_2.10:1.3.0"
]
Any idea?
Cheers,

for now, try to use the same version as in spark-notebook.
we'll check if that could be compiled as a provided dependency (but means customDeps would need to have this set explicitly, or we'd need to append defaults).

btw, @lenguyenhaohiep spark 1.4.1 is damp old! go ahead and use spark 1.6.0 or spark 1.6.0 - it's much faster/have new features. compiling it is easy, and works like charm.

Hi,
I am getting the following error:
"
Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3, hadoop-slave1): java.io.InvalidClassException: com.databricks.spark.csv.CsvRelation; local class incompatible: stream classdesc serialVersionUID =<PHONE_NUMBER>657595167, local class serialVersionUID = -8000178435135078983"
I am trying to run with spark 1.5.2 and I am having the following dependency:

com.databricks
spark-csv_2.10
1.4.0

@sam75 Can you check the spark-csv version in the folder lib of spark-notebook whether it is the version 1.4.0
If not, can you try one of followings:
1/ Remove the spark-csv file in the lib folder
2/ Use the same version as in the lib folder.

@lenguyenhaohiep @vidma I'm wondering if we shouldn't remove it, since I've heard many times that it was causing problems...
Also in spark 2.0.0 there will be a native csv support

agree, once spark 2.0 becomes stable (it's a mess still), we should remove the dependencies.


Add command to provide starter project information

What type of PR is this?
/kind feature
What does does this PR do / why we need it:
This PR allows user to get information about the starter projects that are available in each component using the odo catalog list components [component] command. This is useful as it allows users to get some information about the starter project they are downloading, this way they can make an informed decision if there are multiple starter projects.
By default, we show the project's name, type and location. If the user provides a component name and uses the -p flag, they can see all project information in yaml format.
Which issue(s) this PR fixes:
Fixes #3005
How to test changes / Special notes to the reviewer:

Set odo to experimental mode
Run odo catalog list components [component] [-p] to see the changes

/ok-to-test

IMO, we should have a more clear feature design regarding "displaying pre-defined devfile project information to user" to address the following comments:

We should implement the feature under odo catalog describe component <component name> instead of odo catalog list components because odo catalog list components is only to show the generic component information and let users know which component is supported by odo so that they can run subsequent command (eg. odo create, odo push) to continue build/deploy component. It's same design with services management such as odo catalog list services and odo catalog describe service <service name>.
Need to implement usage and example for help page to add corresponding new command/argument/flag.
Need to handle component naming conflict for multiple registries support, for example below we have two nodejs components with the same component name but they belong to different registry, odo only displays one nodejs project information to user and user doesn't know that belongs to which registry. We can use flag --registry to handle the command run and add registry information to the result table.

odo catalog list components nodejs -p                                                                                 ✔  13:17:57 
Odo OpenShift Components:
NAME       PROJECT       TAGS                    SUPPORTED
nodejs     openshift     10,8,8-RHOAR,latest     YES
nodejs     openshift     6                       NO

Odo Devfile Components:
NAME       DESCRIPTION              SUPPORTED
nodejs     Stack with NodeJS 10     YES
nodejs     Stack with NodeJS 10     NO

Devfile Starter Project(s):
---
name: nodejs-web-app
source:
  type: git
  location: https://github.com/che-samples/web-nodejs-sample.git

/area devfile

I do think a bit strange when reading the command of list components to list the templates and describe follows closely on the pattern of the service catalog. On the other hand, I am not sure if the user will know they can do describe to find the list of templates.  At least for the -p parameter, that function fits better to the describe command and I suggest to move to the describe command.  For the template list, I don't have a strong opinion on it.
@kadel What do you think? Do you think the listing of templates should be part of the list or describe in the catalog command?

What about adding a get command? So odo catalog get component ...

/hold
Let's have a discussion in: https://github.com/openshift/odo/issues/3005

odo catalog get component doesn't sound right to me (what I mean is by reading that command, it isn't clear to me what it is trying to do at all on a catalog).  I don't think we should introduce a new get command for which the existing describe can cover it.  I'd vote for using describe since it basically just provide more details on a given component.

I think we can take this off hold now. I've made the changes according to what was agreed here. We now pretty print the entire devfile.yaml rather than showing just the project information

Closing this PR as there were some problems that appeared when rebasing that I couldn't resolve. Will open a new PR with these changes


Does not work on  iPhone  both Safari and Chrome

if I try login via Google on a mobile browser, it just reverts back to the login page after the popup is shown for login via Google.

@aptest3, where do u store the token? Localstorage? If so it might be that it fails storing the token into localstorage on mobile phones sometimes...

I'm having the same issue aswell. After multiple attempts it works.

I'm having the same issue with LinkedIn on iPhone with both Safari and Chrome. Anyone found some magic sauce for the problem?

there seem to be several threads related to this issue.
I think the root cause is #829


Updated pull request (1207) platform.h

on behalf of @wallarug. Part 3 of 3.
changes for the platform.h in common packages
See: https://github.com/microsoft/pxt-common-packages/pull/1207
For rest of files: https://github.com/microsoft/pxt-maker/pull/329

Thank you!

Thank you!

you're welcome! I was wondering, does dal.d.ts need to be updated with PC and PD ports too?

you're welcome! I was wondering, does dal.d.ts need to be updated with PC and PD ports too?

well, yes, but that happens in particular editors (pxt-maker, pxt-arcade etc)

well, yes, but that happens in particular editors (pxt-maker, pxt-arcade etc)

okay got it. Whenever you have time please check this with @pelikhan
https://github.com/microsoft/pxt-maker/pull/329  which is the follow up to this issue
https://github.com/microsoft/pxt-maker/issues/328
Thanks!

okay got it. Whenever you have time please check this with @pelikhan
https://github.com/microsoft/pxt-maker/pull/329  which is the follow up to this issue
https://github.com/microsoft/pxt-maker/issues/328
Thanks!


Bad playback on IE11

What version of Shaka Player are you using?  v2.0.0-debug

Are you using the demo app or your own custom app? the demo app

What did you do?  load a custom manifest in IE11 on win8.1

What content did you load? clear dash

If custom asset, what manifest and license server URIs?
http://qa-nginx-vod.dev.kaltura.com/dash/p/1091/sp/109100/serveFlavor/entryId/0_rd5ko090/v/2/flavorId/0_,zfgyzbls,q6o5z8f3,5na0i0y6,/forceproxy/true/name/a.mp4.urlset/manifest.mpd

What did you expect to happen?
smooth playback

What actually happened?
the playback is jumping (not playing smooth) in first 20 seconds

Hi Yair,
Are you still seeing this issue?  (I also tested in Edge and Win10 just in case).
Could you try a different device to exclude the possibility of the experience being related to a particular machine you're using.

@ismena
I still can reproduce it on IE11+win8.1 with another device as well.
To be more specific, the hiccups take place between second #17 to #23

@yairans Could you run "JSON.stringify(shakaDemo.localPlayer_.getStats())" command in the browser console and post the response that you get. This might give me some clues on what's going on with your playback.

@ismena
At the problematic seconds (17+) I get the following:
{"width":1280,"height":720,"streamBandwidth":5128249,"decodedFrames":431,"droppedFrames":0,"estimatedBandwidth":58081948.18285577,"playTime":18.536999940872192,"bufferingTime":0.33099985122680664,"switchHistory":[{"timestamp":1475999683.355,"id":3,"type":"audio","fromAdaptation":true},{"timestamp":1475999683.355,"id":1,"type":"video","fromAdaptation":true},{"timestamp":1475999690.352,"id":2,"type":"video","fromAdaptation":true}]}

I see a bandwidth requirement of around 5Mbps, but an estimated bandwidth around 50Mbps.  Also, buffering time is low and appears to represent initial buffering only.  So we aren't looking at a lack of bandwidth causing a stutter.
I also see no dropped frames, or at least none reported.  Dropped frames would indicate a lack of CPU/GPU power to decode & render in real time.
I also see video adaptation about 7 seconds after startup, from 1.5Mbps 720p to 5Mbps 720p.  When adapting, v2 would clear 10s ahead of the playhead, so that corresponds to your 17s problem spot.
If you load the stream again, the player already knows how much bandwidth you have and does not need to adapt.  This is why there is no problem until you reload the page.
@yairans, we have made some changes recently so that we consider segment boundaries when deciding how much content to clear.  We no longer hard-code 10s.  This has helped with similar issues on other browsers.  Can you please retest with the nightly build?  http://nightly.shaka-player-demo.appspot.com/demo/?asset=http://qa-nginx-vod.dev.kaltura.com/dash/p/1091/sp/109100/serveFlavor/entryId/0_rd5ko090/v/2/flavorId/0_,zfgyzbls,q6o5z8f3,5na0i0y6,/forceproxy/true/name/a.mp4.urlset/manifest.mpd

With the nightly I see the same problem earlier from about the 9th second.
For this time I get the following:
{"width":1280,"height":720,"streamBandwidth":5128249,"decodedFrames":209,"droppedFrames":0,"estimatedBandwidth":59546437.453934394,"playTime":8.774999856948852,"bufferingTime":0,"switchHistory":[{"timestamp":1476358179.797,"id":3,"type":"audio","fromAdaptation":true},{"timestamp":1476358179.797,"id":1,"type":"video","fromAdaptation":true},{"timestamp":1476358180.005,"id":2,"type":"video","fromAdaptation":true}]}

Is this the same content from #549?  It appears that piece of content doesn't follow DASH interop guidelines, so these two issues may be one and the same.  It may not be reasonable to expect that piece of content to play well on any browser.

Closing due to inactivity.  @yairans, if this is different content from #549, let us know and we can reopen the investigation.


Support for Slideshare.net

I am looking into support for Slideshare.net
Is there a way to sponsor this feature (with a small budget)?

Hi @zopyx,
slideshare.net uses a standard iframe and can be easily configured in iframemanager. Example:

const manager = iframemanager();

manager.run({
    currLang: 'en',

    services: {
        slideshare: {
            embedUrl: 'https://www.slideshare.net/slideshow/embed_code/key/{data-id}',
            iframe: {
                frameborder: '0',
                allowfullscreen: '',
                scrolling: 'no',
            },
            cookie : {
                name : 'cc_slideshare'
            },
            languages : {
                en : {
                    notice: 'This content is hosted by a third party. By showing the external content you accept the terms and conditions of slideshare.net.',
                    loadBtn: 'Load slide',
                    loadAllBtn: "Don't ask again"
                }
            }
        }
    }
})

This is awesome 🥰


[Community][Audio Context] API for procedural audio generation

This extension uses Audio Context API to bring procedural audio generation to GDevelop. This is a JavaScript-heavy extension.
So far you can create:

Oscillator of type sine, triangle, square & sawtooth
Assign an ADSR envelope to an oscillator
Add detune values to an oscillator so it sounds like a synth
All 12 notes on 8 octaves are defined in the extension so you don't need to calculate frequencies manually
You can create chords using these notes
You can play separate notes or chords on these synths/oscillators
You can add filters (lowpass, highpass, etc.) to synths. By tweaking these values you can get percussion kinda sounds from synths.

Basic help and an example with a full source are available here (I'll probably add more info to this page):
https://aliustaoglu.itch.io/audiocontext-gdevelop-extension
https://liluo.io/instant-builds/45d1f15c-1043-495a-b86a-0b90d7fac49b

Very cool extension!
If you want, you can also submit the example to the example repository. It will be useful for extension users to understand how to use this extension. It also helps to speed-up the review because it generates a link to open it with the web-app directly.
I have some suggessions:

SynthName parameters could be an Identifier instead of a String. It allows to give autocompletion.
The code could be a class. Classes can be defined like this:

const MyClass = /** @class */ (function () {

  function MyClass() {
    /**
     * @type {number[]}
     */
    this.myAttribute = [];
  };

  /**
   * @param {number} myParameter A parameter.
   */
  MyClass.prototype.myMethod = function (myParameter) {
  };
};

gdjs.__myExtension = gdjs.__myExtension || {};
gdjs.__myExtension.MyClass = MyClass;

Otherwise, there are some naming conventions for extensions (https://wiki.gdevelop.io/gdevelop5/extensions/best-practices):

Event-function names and parameter names should start with an upper case character.
Descriptions should end with a dot.

Hey, thanks. Yeah, I'll submit the example and make the other changes.

I've been playing around with this VERY COOL extension!

How can I control volume?
How can I stop a note (or all sounds)?
It seems that the synth duration values (attack+decay+sustain+release) override the duration that a note is played.  Is that intentional?
Can you get sound to work on an iPhone? (it's not working for me)

Thank you again, and great work.  :)

Have you considered using a framework to provide more features?  (GDevelop extensions can use NPM modules)
Tone.js = https://tonejs.github.io/
Pizzicato = https://alemangui.github.io/pizzicato/
WAD = https://github.com/rserota/wad

Hi Tristan @tristanbob,
Great questions. Let me try to answer:

How can I control volume?

There's something called "gain node" to which the context should be attached. Well, I didn't. Looks like I should have. How can you have an audio controller without controlling the gain right? Noted. I should add an action for users to add a gain node and allow them to change their parameters.

How can I stop a note (or all sounds)?

I had a stop function however it was a bit buggy so I disabled it. I am planning to add this.

It seems that the synth duration values (attack+decay+sustain+release) override the duration that a note is played. Is that intentional?

Wow. Extra great question. I don't have a good answer though. At first, I wanted to use ADSR params as unitless and proportional to the duration. For example for ADSR=1,2,5,2; the attack would be 1/(1+2+5+2) * duration. But then I messed it up. This is also connected to stop sound functionality. I should fix them all altogether.

Can you get sound to work on an iPhone? (it's not working for me)

Can't believe I didn't even test this. I just checked. Doesn't work on mine either. When I check online it says the action should come from a user action first but this is the case for Android and desktop browsers as well. And there are lots of reports people cannot get Audio Context to work on iPhones.

By the way, the builtin "Play sound/music on channel x" doesn't work for iPhones either. Tested on a Cordova built. Have to use "Play sound/music" without the channel option. Both issues might be related but not 100% sure.

Have you considered using a framework to provide more features? (GDevelop extensions can use NPM modules)

I have indeed :) I am playing with tone.js for a while. It's a great library built on top of Audio Context. I'm working on a tool similar to 1bitdragon using GD but it's half extension and half JavaScript. A bit hard to convert it to no-code-friendly functions. Audio Context is just vanilla and easy to visualise its node system in your head and convert to an extension. If I fully get the picture of tone.js then yeah I might think about turning it into an extension. It's too flexible which is good but making it harder to turn it into an extension. I use JS for quite long but with GD not so much. But lately feel like getting the hang of it.

Are you working on a new version?
I think the extension can already be useful as it is. We can merge the current version if you want.

@D8H Hey. Sorry, a lot going on at the moment so I cannot say I have time for refactoring this. Also, I was looking at the Tone.js library as Tristan suggested, got carried away and already working on something with that but it will take some time until I can turn it into an extension. That library is great and built on top of audio context.
But if you say this is mergeable as is please go ahead and I'll create the tone.js extension with the suggestions and the formatting you mentioned here. Thanks.