Using AVAudioSession overrideOutput to speaker causes WebRTC to malfunction

I am using @saghul AudioRoute and also this plugin to set up a WebRTC p2p call. I have encountered this problem recently.
To reproduce this problem:

Set up an active WebRTC call.
Toggle the speaker on then off(overrideOutput to speaker).
GSM call interrupts the current WebRTC call (accept / reject).
WebRTC call loses audio.

It doesn't happen if I don't toggle the speaker. Fyi, I have tried to listen to AVAudioSessionInterruption event and reset the audio but to no avail. Just wonder if anyone has seen the same problem.

Do you lose the override or do you lose audio completely?

I lost the audio completely so I don't know if I lost the override too.

make the AVAudioSession to listen for AVAudioSessionInterruption event and set the AVAudioSession to inactive when there is an incoming interruption. And, when the interruption is over, set it back to active again.
make the AVAudioSession to listen for AVAudioSessionInterruption event and set the AVAudioSession override to default when there is an incoming call.

I wonder if you have the same issue too, @saghul . Thank you!

I wonder if you have the same issue too, @saghul .

Others may also reply.

The problem is that libwebrtc (which this plugin is based on) assumed nobody else was changing the AVAudioSession configuration other than itself, until M59.
Once we update the library, all those problems will (hopefully) go away, but it's not an easy feat.

Oh, and no, we have no ETA for when the update will happen.

The problem is that libwebrtc (which this plugin is based on) assumed nobody else was changing the AVAudioSession configuration other than itself, until M59.

Once we update the library, all those problems will (hopefully) go away, but it's not an easy feat.

I will implement AVAudioSession.interruptionNotification here

https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/task/libwebrtc-update-m69/src/PluginRTCAudioController.swift#L64

Will be fixed via #399 on 6.0.0

Related: https://bugs.chromium.org/p/webrtc/issues/detail?id=8126#c35

This works.

cordova plugin add cordova-plugin-background-mode

 // Enable Background audio
          if (cordova && cordova.plugins && cordova.plugins.backgroundMode) {
              cordova.plugins.backgroundMode.enable();
          }


how to install to local env

Hi, when I run BASICSR_EXT=True python setup.py develop, I always got a permission denied error. This is because I am using a shared environment. For example, when I use pip, I need to add --user. Is there a similar option or what modification should I make to install the package to local env?

try BASICSR_EXT=True python setup.py develop --user
Ref: https://stackoverflow.com/questions/22551461/how-to-avoid-permission-denied-while-installing-package-for-python-without-sudo

Solved. Thx, xintao!


Add reflection deph parameters for reflection1 and reflection2

Ok... currently the material is using the global depth in the "global switches" rollout.

Thanks.
Its just that I often use one very rough spec and one with almost no roughness. I beleve I could speedup the rendering by reducing the reflection deph of the rough one without loosing too much information.


Double reference expected using &'static str as a key

Hello!
I have found what I think may be a bug in either the definition of a new MultiMap type or the multimap macro. Consider the following code:
use multi_map::{multimap, MultiMap};

type Foo = MultiMap<usize, &'static str, String>;

fn main() {
    let foo: Foo = multimap!{
        1, "bar" => String::from("baz"),
    };

    println!("{}", foo.get_alt("bar").unwrap());
}

I would expect that I could use "bar" (whose type is &'static str) as the alternative key in the example above due to my definition of the Foo type. However, the code fails to compile with the following error:
error[E0308]: mismatched types
  --> src/main.rs:10:32
   |
10 |     println!("{}", foo.get_alt("bar").unwrap());
   |                                ^^^^^ expected &str, found str
   |
   = note: expected type `&&str`
              found type `&'static str`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `multi_map`.

Apparently, the argument to get_alt is expecting an argument of type &&str despite the fact that I have defined the type parameter for the alternative index of the MultiMap as &'static str.
Do you think that this is a bug, or am I simply misusing the library?
Thanks a lot!

As with the standard HashMap (https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.get), I believe that for some key type K, get takes &K. In their examples, they store a String and can access with &str. As you are storing &str you need to access with &&str (e.g. &"test").
For types that are Copy, this does seem a little odd, but I believe it's the only way to handle non-copy types with get() consuming your lookup value.

Thanks for the explanation @thejpster . I think that you're right in that it is not a bug, but more-or-less my own confusion over using Copy types as keys.
I will close the issue.


[Triton-MLIR][Backend] Support layout conversion between mmaLayout and blockedLayout

More correctness verification will be done when convert_layout(blocked->shared) is done and gemm could run e2e.

Ready for review now.
pending on https://github.com/openai/triton/pull/697 to be merged.


Compiler version unmatching/release bug

I have a jar file that has compiled in Java 8 and I have installed both Java 8 and 11. I know that in Java 11, javac command supports --release # but Java 8 doesnt. When I try to compile a class with Java 8 in Recaf, it says that Recaf doesnt support that version and defaulting to Java 7, but then it says invalid source release: 11, and compilation fails.
I think the best way to match corresponding jar's compiled java version and recaf's compiler version, it would be great that adding a setting to select a Java release when compiling with Java 11, and just say that Recaf doesnt support other versions, please download Java 11 if user doesnt have.
04:31:28.143 [JavaFX Application Thread] ERROR: Cannot find javac supported version, defaulting to Java 7
java.lang.IllegalArgumentException: invalid source release: 11
        at com.sun.tools.javac.main.OptionHelper$GrumpyHelper.error(OptionHelper.java:103)
        at com.sun.tools.javac.main.Option$11.process(Option.java:204)
        at com.sun.tools.javac.api.JavacTool.processOptions(JavacTool.java:217)
        at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:156)
        at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:107)
        at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:64)
        at me.coley.recaf.compiler.JavacCompiler.compile(JavacCompiler.java:50)

This continues btw.
java.lang.UnsupportedClassVersionError: YourClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
end:
ERROR: Failed recompiling code for 'YourClass' - Reason: 'Failed compile due to compilation errors'
Now, I am trying to copy a blank class file that in the version that i want, and edit it the way that i want, then bypass this error.

Looks like I messed up the version bounding... I like the better warning idea.
I think it would be useful to output that information visually in decompile-mode.

Should be fixed in 2.7.0
If you're on 8 and the target is 11, it will bump down the version to support the current compiler. So as long as the target class doesn't contain newer Java language features (switch expressions JEP 325), it should work fine.


Incorrect documentation for subscription.request

I believe this line is misleading.
According to rule 3.17 if demand exceeds Long.MAX_VALUE the publisher should keep working, and may become unbounded. There's even a test which is checking that demand beyond Long.MAX_VALUE is tolerated without errors.

Hi @tferi-da,
Thanks for opening this issue!
I'm inclined to agree with your assessment,
what do you think about amending it as such:
 * It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more, it may be treated by the {@link Publisher} as "effectively unbounded".

Yes @viktorklang, I think that's much better. Thank you for responding so quickly.

@reactive-streams/contributors Wdyt?

@reactive-streams/contributors Ping.


Improve 2.3 -> 2.5 upgrade process

2.3 does not have the ability to make component groups visible only to authenticated users. So defaulting to making component groups public so your existing component groups don't suddenly disappear from your public status page when updating.
2.3 does not have a completed_at time for maintenance so when migrated to 2.5 they all appear as still open (i.e in progress) and so show up on the status page, not very nice if you have lots of these and have been using Cachet for many years. So closing all maintenance schedules which were meant to start over a day ago. This should mean any in progress now won't get closed automatically before their time.

Codecov Report

Merging #32 (dede294) into 2.5 (747d52e) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.5      #32      +/-   ##
============================================
+ Coverage     55.89%   55.91%   +0.02%
  Complexity     1265     1265
============================================
  Files           275      275
  Lines          4804     4804
============================================
+ Hits           2685     2686       +1
+ Misses         2119     2118       -1

Impacted Files
Coverage Δ
Complexity Δ

app/Integrations/Core/System.php
92.30% <0.00%> (+2.56%)
13.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


Automatic test marking

List of related issues or pull requests
Refs: -
Describe the changes made in this pull request
This PR adds automatic test annotation based on the file path and class name. The following markers have been added tosetup.cfg:

bitbucket: Bitbucket tests
checker: Checker tests
compliance: Compliance tests
github: GitHub tests
gitlab: GitLab tests
repo: Repo tests

With these annotations, you can now more easily run a subset of tests, e.g.
$ pytest -m 'repo'
========================================== test session starts ===========================================
platform linux -- Python 3.6.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/daisycutter/github/fair-software/howfairis, configfile: setup.cfg, testpaths: tests
plugins: requests-mock-1.8.0, cov-2.11.1
collected 59 items / 5 deselected / 54 selected

tests/github/fair_software/badge/test_repo_no_args.py .........                                    [ 16%]
tests/github/fair_software/badge/test_repo_with_branch_develop.py .........                        [ 33%]
tests/github/fair_software/badge/test_repo_with_branch_sha.py .........                            [ 50%]
tests/github/fair_software/badge/test_repo_with_branch_tag.py .........                            [ 66%]
tests/github/fair_software/badge/test_repo_with_path.py .........                                  [ 83%]
tests/gitlab/jspaaks/badge_test/test_repo_no_args.py .........                                     [100%]

==================================== 54 passed, 5 deselected in 0.28s ====================================

Markers can also be combined as follows:
$ pytest -m 'repo and not github'
========================================== test session starts ===========================================
platform linux -- Python 3.6.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/daisycutter/github/fair-software/howfairis, configfile: setup.cfg, testpaths: tests
plugins: requests-mock-1.8.0, cov-2.11.1
collected 59 items / 50 deselected / 9 selected

tests/gitlab/jspaaks/badge_test/test_repo_no_args.py .........                                     [100%]

==================================== 9 passed, 50 deselected in 0.18s ====================================

Instructions to review the pull request
pytest --markers
pytest -m 'repo'
pytest -m 'repo and not github'

suggestions committed

This seems not that useful to me.

We decided this work isnt really needed at the moment, closing the PR


SiteExtension: Avoid restart when install to WebRoot only

need to handle case that two different installation request, one is install to webroot, one is normal site extension installation. in this case we will still need to return restart header to trigger restart.

While it's not needed for the main site, you still need the restart for the scm (used for miro-RP scenario).

can we assume that in "Micro-RP" scenario, package will always come with its own XDT?

Good question. Though if we assume that, then we wouldn't need to create an XDT at all, right?
If we make this a requirement, then we know when we need to restart.

i think we will still need to create XDT file, since install to webroot will have two scenario if i understand correctly:
scenario 1:
package do not has XDT, purely want to put content to wwwroot
in this case we will need to generate XDT file to map request to wwwroot
scenario 2:
package has XDT, at the same time want to put content to wwwroot
in this case we do not generate XDT, instead we use the XDT file come with package
(and i thought this is Micro-RP scenario)

chat with David, we will remove the logic that we generate XDT file when there isn`t one come with package.
in this case when there is no XDT file, we do not need to restart the whole site.


fix: change SchemaType default value.

set errors to 'unknown', set request to 'void'.

@weicong It seems that the tests are failing, can you update your pr with an update of the snapshots: you can run pnpm test:watch and type u to update all snapshots. Thanks for resolving this

@stijnvanhulle Okay, I'll take care of this as soon as possible.

@stijnvanhulle 😥Sorry... I tried, but I don't know how to do it.


fix: Fixed radioStyle ref

:tada: This PR is included in version 1.0.0-beta.40 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-fix-doc-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-test-ci.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Renaming beancount-web

Martin Blais (on the Mailing list):

A suggestion: If you gave beancount-web a more distinct name, it might alleviate some of the confusion that will occur to newcomers to the project. "beancount-web" sounds pretty close to "bean-web" and I'm pretty sure not everyone will make the distinction right away, we don't have the most favorable combo of names. Of course that's your call, but I think a better name might also give the project a stronger sense of identity and thus some extra elan.
Some totally wild ideas off the top of my head (feel free to ignore me):

"frijoles" (beans in spanish)
"refritos" (https://en.wikipedia.org/wiki/Refried_beans)
"congri" (https://en.wikipedia.org/wiki/Moros_y_Cristianos_(food) - a cuban rice & beans mix)
(No idea why all these spanish names come to mind.)
"feijoada" (bean stew, https://en.wikipedia.org/wiki/Feijoada, if you prefer pt_br)
"cassoulet" (https://en.wikipedia.org/wiki/Cassoulet, a french version)
"fasolada" (greek version of the same theme)
"bean-stew" (while I'm at it with the food themes)
"legumes" (which are beans...)
"fava" (cool large white beans I love to eat)
"corn" or "squash" (bean, corn & squash are related: https://en.wikipedia.org/wiki/Three_Sisters_(agriculture))
"pod" or "bean-pod" (sac that contains growing beans)
"gassy" (one step further from eating beans, okay I'm going a bit nuts here)
Alright, resetting off the food theme:
bean-sight (after "beancount" + "Insight")
beanster (startup-like)
beanjurious (adjective)
bean-frontend (boring)
bean-bag (it's comfy)
nugget (a small bean of gold)
some other name related to accounting (unfortunately many of those are already in use for other projects)

What do you think about renaming the project, @corani, @yagebu, @blais, @jbms?

Giving it a

I definitely think that renaming it is a good idea (it's to close to the beancount commands otherwise). My additional suggestion for a new name would be erbse (as in the German word Erbsenzähler, the translation of beancounter). It's quite short and the namespace is not polluted by all the other bean-* commands.
The suggestion by Martin I like best is "fava" as it's also short and it's a type of beans, so the connection to beancount is clear. I guess it's even better than my own suggestion since it's shorter :D

I'm kind of partial to "fava", it has a nice ring to it, though something
like bean-sight keeps it closer to the beancount brand and is descriptive
in itself.
On Wed, Dec 30, 2015, 08:56 Jakob Schnitzer<EMAIL_ADDRESS>wrote:

I definitely think that renaming it is a good idea (it's to close to the
beancount commands otherwise). My additional suggestion for a new name
would be erbse (as in the German word Erbsenzähler, the translation of
beancounter). It's quite short and the namespace is not polluted by all the
other bean-* commands.
The suggestion by Martin I like best is "fava" as it's also short and it's
a type of beans, so the connection to beancount is clear. I guess it's even
better than my own suggestion since it's shorter :D
—
Reply to this email directly or view it on GitHub
https://github.com/aumayr/beancount-web/issues/85#issuecomment-167911332
.

Not that I've contributed a single line of code to even be reading this thread, let alone comment in it :), but since I like this project so much, I'll say this: FWIW, fava and bean-sight are the ones that stood out to me too.
bean-sight would be a nice idea particularly if you envision this project expanding to provide all kinds of insight. One large area is providing insight into one's investments. Another is expanding insights currently provided, particularly in expense reporting. A third area is providing insight into taxation, though that's useful largely for a country like the US with an extremely complex tax code.

You could also go mystical with "khipu":
http://mobile.nytimes.com/2016/01/03/world/americas/untangling-an-accounting-tool-and-an-ancient-incan-mystery.html?_r=0
On Sun, Jan 3, 2016, 02:03 Red S<EMAIL_ADDRESS>wrote:

Not that I've contributed a single line of code to even be reading this
thread, let alone comment in it :), but since I like this project so much,
I'll say this: FWIW, fava and bean-sight are the ones that stood out to me
too.
bean-sight would be a nice idea particularly if you envision this project
expanding to provide all kinds of insight. One large area is providing
insight into one's investments. Another is expanding insights currently
provided, particularly in expense reporting. A third area is providing
insight into taxation, though that's useful largely for a country like the
US with an extremely complex tax code.
—
Reply to this email directly or view it on GitHub
https://github.com/aumayr/beancount-web/issues/85#issuecomment-168469414
.

OK time for some action, after unconsciously avoiding this issue for too long.
Thanks for your suggestions and opinions - they are worth a lot! So after reading through your comments fava came up most often, and I really like it as well. So, if no one comes up with a better name in the next 48 hours fava it will be :-)
As for the renaming: Any suggestions for the steps to be taken in order to make this going smoothly?
One problem though: There is already a fava-entry in pipy, see https://pypi.python.org/pypi?%3Aaction=search&term=fava&submit=search => What to do about that? Renaming and publishing the project as beancount-fava?

On Tue, Feb 9, 2016 at 9:32 AM, aumayr<EMAIL_ADDRESS>wrote:

OK time for some action, after unconsciously avoiding this issue for too
long.
Thanks for your suggestions and opinions - they are worth a lot! So after
reading through your comments fava came up most often, and I really like
it as well. So, if no one comes up with a better name in the next 48 hours
fava it will be :-)

Awesome

As for the renaming: Any suggestions for the steps to be taken in order to
make this going smoothly?

Just do it

One problem though: There is already a fava-entry in pipy, see
https://pypi.python.org/pypi?%3Aaction=search&term=fava&submit=search =>
What to do about that? Renaming and publishing the project as
beancount-fava?

Reach out to elbaschid, looks like his PyPI entry is unused.
If you can't,

either just don't put it in PyPI (who cares)
or choose another name

either just don't put it in PyPI (who cares)

I want to have it on PyPI in order for friends and family to be able to install (and update) it without much hassle.

I quite like fava, so :+1:

Okay
Here's the owner of the other project:
https://github.com/elbaschid/fava
Looks like there's a there, there, might be difficult to have it release,
this looks like the beginnings of a real project. Might have to choose some
other name.
On Tue, Feb 9, 2016 at 9:45 AM, aumayr<EMAIL_ADDRESS>wrote:

either just don't put it in PyPI (who cares)
I want to have it on PyPI in order for friends and family to be able to
install (and update) it without much hassle.
—
Reply to this email directly or view it on GitHub
https://github.com/aumayr/beancount-web/issues/85#issuecomment-181897107
.

There is no activity in the last 7+ months in this repo, so may not be vital after all…
\cc @elbaschid

OK, this is happening, I will start renaming the project to fava.

cool large white beans I love to eat

Pairs well with chianti.


Make integration tests easier to debug

Right now it's a pain.

It's not documented how to run it locally (the documentation is outdated, lacking how to obtain the secret)
It's not well automated for local runs (you need to reverse engineer the circle.yaml script)
SSH'ing into Circle doesn't work for hairy bugs (it will kill the containers after 30 mins)
The workaround is to create a fake PR and use CircleCI to execute the tests on trial-and-error commits.

See for instance https://github.com/weaveworks/scope/pull/2185

(cc @marccarre )


Fix function comments based on best practices from Effective Go

Every exported function in a program should have a doc comment. The first sentence should be a summary that starts with the name being declared.
From effective go.
I generated this with CodeLingo and I'm keen to get some feedback, but this is automated so feel free to close it and just say opt out to opt out of future CodeLingo outreach PRs.

It looks like there are many fix ups that update the tense and read well like this, this, this, and this.
However, other changes like this basically just add colons to conform to the standard and arguably make comments less readable. Let me know if you think they're valuable! :smile:

Also, please let me know what I can do to get Travis to pass!

Thank you very much, @BlakeMScurr


Make creation of stage deployment faster

Currently continuous deployment is done to stage environment by merging commits to the main branch to staging branch, which kicks off a deploy to stage environment. See: https://github.com/chanzuckerberg/single-cell-data-portal/issues/5461
However, the current implementation does the merge by setting fetch-depth: 0 while fetching commits from main. This translates to fetching all commits from main which is time consuming. A better strategy is to fetch only the commits from main that are more recent than the HEAD commit on staging.
Alternatively, and perhaps the ideal solution, is to employ a strategy of "build once and deploy everywhere". Here a commit to main would trigger a build step and the binaries can then be deployed to stage env

As we now have a number of issues related to our CI/CD GHA workflow, we are better off considering all of these issues' goals/requirements together to ensure we end up with a clean solution. To that end, we now have an epic that subsumes them all, including this issue.  This issue is now referenced by the epic to ensure it is considered during design. Closing this issue.


Run arbitrary GCode?

Is your feature request related to a problem? Please describe.
I see that I can run macros with the push of a button. But I don't see any way to pass parameters such as nozzle temperature or bed temperature.
In the absence of that, being able to run arbitrary G-Code would both solve that problem and provide a little flexibility/extensibility
Describe your setup
Nothing special, just an ender 3 V3 KE
Describe the solution you'd like
Perhaps an action that takes g code as data and invokes it on moonraker.
Additional context
Add any other context or screenshots about the feature request here.

Hey, honestly the reason we don't have a way to have macro with input is we have not found a good way to do it respecting HA standards/philosophy, same for arbitrairy G-Code.
So for now there is no plan to implement this feature

I never stopped to think about whether other HA integrations allow me to
send data to it.  Thanks for pointing that out!
And I appreciate your work!!
On Sat, Nov 9, 2024, 06:38 Marc-Olivier Arsenault @.***>
wrote:

Hey, honestly the reason we don't have a way to have macro with input is
we have not found a good way to do it respecting HA standards/philosophy,
same for arbitrairy G-Code.
So for now there is no plan to implement this feature
—
Reply to this email directly, view it on GitHub
https://github.com/marcolivierarsenault/moonraker-home-assistant/issues/440#issuecomment-2466199035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB32XY6QKX6CNCVDA3UEGXTZ7X63VAVCNFSM6AAAAABRNUHYKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGE4TSMBTGU
.
You are receiving this because you authored the thread.Message ID:
<marcolivierarsenault/moonraker-home-assistant/issues/440/2466199035@
github.com>

actually, you made me investigate, I think there is a possibility if we do custom service.
Which would be usable from template/service/automation. But it will not give a front end option
This is an example from the ecobee integration

Great!  If I can collaborate or just test, let me know.


NuGet packages: add source link, make deterministic, and include compiler flags

The NuGet package explorer (and their new online explorer) reveal the package isn't being assembled properly https://nuget.info/packages/ScottPlot/4.1.21

NuGet Bug: embedded readme and snupkg format
Although I recently added an embedded readme to the package (#1149) it looks like there is an active bug which prevents embedded readmes in projects with snupkg files https://github.com/NuGet/Home/issues/10791 so I'll keep the old style .symbols.nupkg format for now.

It worked for FormsPlot
https://nuget.info/packages/ScottPlot.WinForms/4.1.22
but not for other packages
https://nuget.info/packages/ScottPlot/4.1.22

This is so frustrating... "it works on my machine"

Building packages with .NET 6 helped.
Packages are now properly sourced and deterministic when you download them as build artifacts:
https://github.com/ScottPlot/ScottPlot/actions/runs/1275551183
... but after pushing them to NuGet they're no longer linked, and their file size is different?

Solved!
Problem is that git hashes in the package had to match those of the release, and changing those github actions workflow yaml files along the way was breaking the hashes (and source link / debugging symbols).
https://nuget.info/packages/ScottPlot/4.1.24


Multiple spiderfier

Hi @venits ,
I've added support for multiple spinner. You can see the attached file for the same. I had an issue with the same and fixed that for my client and decided to contribute the same.

@venits have you checked this?

Hi 👋
I released a new version of this module: 3.2.0. This change is there.
Thank you for your contribution ❤

Do you have any Idea why still 0+ contribution after merging second pull request, what wrong am I doing while creating pull request? @venits


[libra swarm] add waypoint to the client

Motivation
Waypoint is mandatory after #3598
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
cargo run -p libra-swarm -- -s
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r=bob-wilson

:pushpin: Commit 232501a has been approved by bob-wilson

:hourglass: Testing commit 232501ae68f3a9b001d0779999b242d26b5d73aa with merge fab4a2547c9ab61435a8565a4df33eae1ba0bfe8...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: bob-wilson
Pushing fab4a2547c9ab61435a8565a4df33eae1ba0bfe8 to master...


lnd service wont start after upgrade to lnd 0.5-beta

Hi guys
I get the following error after upgrading to the latest release 0.5-beta when I try and restart the service:

I have tried to replace the public ip script with my actual hard coded IP but that also did not resolve the issue

hi, i think it is not related to the ip address script,
have you tried the following suggestion?
https://github.com/Stadicus/guides/issues/190#issuecomment-417843967
Let me know. Yesterday i faced the same issue, ended off returning back to 0.4.2 from backup, until this useful guide is updated .

thx for the relevant cross reference to which seems likely the same issue.
I have update ports for:
zmqpubrawblock=tcp://<IP_ADDRESS>:28332 and
zmqpubrawtx=tcp://<IP_ADDRESS>:28333
unfortunately the lnd service still fails to start with the same error message

The guide is updated now, but there might be some tiny bits missing still. Check out the Upgrade LND part in the FAQ.
Otherwise, what does the lnd.log say about the startup failure?

hi,
these are the last entries of my lnd.log, and aftere deleting macaroons as suggested, they are not recreated.Thank you in advance
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.860 [INF] LTND: Version 0.5.0-beta commit=5747e8971ca6cd2bf432ce09d3c5fc7aad93a8e2
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.861 [INF] LTND: Active chain: Bitcoin (network=testnet)
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.861 [INF] CHDB: Checking for schema update: latest_version=6, db_version=0
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.861 [INF] CHDB: Performing database schema migration
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.861 [INF] CHDB: Applying migration #1
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.861 [INF] CHDB: Populating new node update index bucket
set 15 22:25:01 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:01.901 [INF] CHDB: Populating new edge update index bucket
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.398 [INF] CHDB: Migration to node and edge update indexes complete!
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Applying migration #2
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Migrating invoice database to new time series format
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Migration to invoice time series index complete!
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Applying migration #3
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Migrating invoice database to new outgoing payment format
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Migration to outgoing payment invoices complete!
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.399 [INF] CHDB: Applying migration #4
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.807 [INF] CHDB: Migration of edge policies complete!
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.808 [INF] CHDB: Applying migration #5
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.809 [INF] CHDB: Migrating database to support payment statuses
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.810 [INF] CHDB: Marking all known circuits with status InFlight
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.811 [INF] CHDB: Marking all existing payments with status Completed
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.812 [INF] CHDB: Migration of payment statuses complete!
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.812 [INF] CHDB: Applying migration #6
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.813 [INF] CHDB: Migrating database to properly prune edge update index
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.818 [INF] CHDB: Unable to apply migration #6
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.821 [ERR] LTND: unable to open channeldb: unable to remove existing edge update index: delete bucket: incompatible value
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: 2018-09-15 22:25:02.822 [INF] LTND: Shutdown complete
set 15 22:25:02 BitcoinVenetoNode lnd[3120]: unable to remove existing edge update index: delete bucket: incompatible value
set 15 22:25:02 BitcoinVenetoNode systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
set 15 22:25:02 BitcoinVenetoNode systemd[1]: lnd.service: Unit entered failed state.
set 15 22:25:02 BitcoinVenetoNode systemd[1]: lnd.service: Failed with result 'exit-code'.

i installed version 0.5 rc1, followed step by step tehe guide, and now it working like 0.4.2.
i found this issue
https://github.com/lightningnetwork/lnd/issues/1893
searching on google the error in lnd.log
[ERR] LTND: unable to open channeldb: unable to remove existing edge update index: delete bucket: incompatible value
versione 0.5 beta isn't working for me

I managed to get the service running with the refinements made by Stadicus to the manual.
Thank you for the quick refinements Stadicus.
Fortunately in my case I have upgraded from 0.4.2 to 0.5-beta

You need to make sure both bitcoin.conf files have different zmq sockets.
https://github.com/lightningnetwork/lnd/releases
"Before 0.5, we would receive block and transaction notification via the same zmq socket. As transaction notifaciotns (mempool inclusion) is much more common than block notifications, they would dominate the queued backlog at any given time. In certain conditions, due to the notification backlog, block notifications would be dropped once the queue gets above a high water mark. To avoid possibly missing block notifications, we now split the notification sources into two distinct sockets. This ensures that the less critical transaction notifications are isolated to a distinct queue from the block notifications. Due to this change, users must now specify distinct sockets for block and transaction notifications like so:
lnd --bitcoin.active --bitcoin.testnet --bitcoin.node=bitcoind --bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332 --bitcoind. zmqpubrawtx=tcp://<IP_ADDRESS>:28333
"

since I opened this issue and it is now working onmy pi, I am taking the liberty to close it.  Feel free to create another issue for those still having issues with services


Add flag to invalidate cache

When using the same cmd more than once it may get cached even if the result of the command may return a different result (e.g. listing pull requests on a repository)

LGTM. Thank you for your contribution.


refactor(auth): add back to login button for some login steps FR-1170

https://frontegg.atlassian.net/browse/FR-1170

https://frontegg.atlassian.net/browse/FR-1170


Add any app/tutorial to the repository.

You can contribute and add your tutorial to this repository for Hacktoberfest.
Just follow the contribution instructions in readme and make a pull request.
Have fun and happy Hacktoberfest

My contribution for this Hacktoberfest
YOLOv3 Algorithm OpenCV
Happy Hactober!!


address SAM issue 727 pvwatts adjustment factors to dc and ac output

https://github.com/NREL/sam/issues/727


Frontpage Design + Animation

A frontpage that will provide basic info on what the project is all about, and further explanations on how the graphs work. Also an animation will be created as an intro.

Animation Keyframes and main frontpage components can be found here:
Desktop Frontpage 1-5
https://scene.zeplin.io/project/5a58ea3341f76658994e000c

https://github.com/eoscostarica/eos-rate/pull/131

@murillojorge can this issue be closed?


documentation added to stack (vector)

Hi, hope these comments are okay. I didn't change it with this commit but I did notice that in the src/data_structures/README.md that the Properties section for the linked list stack says that accessing the tail happens in O(n) time. This doesn't seem particularly relevant to stacks, though?

This doesn't seem particularly relevant to stacks, though?

Yeah, that's true! If you feel like doing it, want to open another PR and remove it?

Yeah, I can do that if it hasn't been already!


Board reports: Manual entry

When Metro manually uploads a board report and, then, the scraper runs, the database will have two Agendas for the same event. This can cause some funny business on the homepage during current events and, also, on the event detail under related bills:

We want to keep entries for manual uploads. So, let's add some logic in the views to account for duplicates.

Also: update the logic for generating the "Board Reports" table on an event detail view, since that shows duplicates, if the event has two agendas.

Added a "SELECT DISTINCT" to query (for board reports table), and removed iteration over documents in the template (now, it just looks at document.all.first.url).
Closing!


Built-in Search Performance

Issue Type

[x] Bug

Specs
What version are you using?
2.5.17
What browser?
Chrome 69.0.3497.100
Expected Behavior
Global search should be performant with a moderately sized dataset(1000 rows, 6 columns)
Actual Behavior
Search performance is notably laggy and this gets worse with larger search terms and bigger datasets.
Some quick troubleshooting by a colleague indicated that this seems to be slowing down at the diacriticless third party dependency of the search function
Steps to Reproduce the Problem

Create a basic instance of vue-good-table with 1000 rows and 5 - 10 columns and try searching for a 10 character string within

I understand that this can be resolved with a custom search function but thought it might be worth raising this to see if there is any ideas for a solution for the global default search.
jsfiddle
I created the example in codepen(created it before looking at issue template)
https://codepen.io/jiiim/pen/KGWLZe
An example of basic custom search that performs much better
https://codepen.io/jiiim/pen/vVxqwa

looks like it is indeed caused by diacriticless comparison. What I can do is allow the ability to skip diactric comparison via a prop. you can now use the following in v2.15.0:
https://xaksis.github.io/vue-good-table/guide/configuration/search-options.html#skipdiacritics


Load data from the .rrd file

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

In some case, the data I transferred to rerun is not only a final result, but also a intermediate result. Which means there would be further process with these data. For example, some fft result. You may log them with rerun and get some key information by the fft graph, and then deal it with your algorithm code.
Describe the solution you'd like

It would be great to load raw data from a .rrd file with rerun interface, rather than save and load datas in another way.

Do you mean that you would like to use our logging SDKs to load and .rrd file and stream it to the viewer?

No, I want to load data from .rrd and do some other calculation. As metioned, sometimes I will gather realtime data from the device, a radar for example, and want to see fft curve in realtime. If I'am satisfied with the data, I would save them to .rrd file, and then use an other program to deal with the data.

Some time I would decide to discard the data just by looking at the FFT result. Some time I would modify my code depend on the FFT result.
When I decide to keep the data, I will use them as input to other algorithm. That's why I call it a intermediate result.

I recognize this use case from my own personal experience and we plan to support this in the future. To start with it will probably be through the SDK where you will be able to run queries on recordings (basically .rrd files) that return dataframes. There are a couple other pieces that need to land first though

Now that 0.17 is out, any ETA in here folks?

Now that 0.17 is out, any ETA in here folks?

Building the infrastructure that allows users to query their data back is one of our focus point for this summer.
My conservative ETA for when this will make its way into an actual release would be some time during autumn.

Hello again, thanks for the release of 0.18.0, great improvements.
Concerning this feature, I saw in your roadmap that Query API for reading back data from the SDK is expected in Q3, which I believe will address this issue. Can you confirm if this assumption is correct?
Thanks!

We are currently working on that feature. It may slip into the beginning of Q4 but it's our highest priority right now

https://rerun.io/docs/getting-started/data-out


formulae_detect: use the first parent of GITHUB_SHA

Unfortunately, GITHUB_SHA is the same as origin/master inside a
merge group, so we end up with diff_start_sha1 and diff_end_sha1
pointing to the same (merge) commit.
See, for example: https://github.com/Homebrew/homebrew-core/commit/2ad18dc7fd2da5dde6956d0f8ceef4ff934bde06

Unfortunately, GITHUB_SHA is the same as origin/master inside a
merge group

So origin/master is already set to the commit that will be merged rather than the last commit that was merged? Does this still apply if a git fetch is done?
Regardless: I still don't think this is the correct fix here, I'm afraid.

So origin/master is already set to the commit that will be merged rather than the last commit that was merged? Does this still apply if a git fetch is done?

It would seem so, yes. Let's try a git fetch first.

Regardless: I still don't think this is the correct fix here, I'm afraid.

Perhaps, but picking up some formulae still seems better than picking up none.

Ah, wait, no, origin_ref here will be the name of the temporary merge group branch, so it makes sense for that to be the same as GITHUB_SHA, and not be the same as origin/master.

so it makes sense for that to be the same as GITHUB_SHA, and not be the same as origin/master.

Cool. Checking origin/HEAD should be the right fix here, then 👍🏻

#908


Live Interactive Audio Streaming

This is not an issue, rather I am seeking guidance. I wish to incorporate the "Live Interactive Audio Streaming" that agora provides into my react native app. But going through the react native agora api, I couldn't find anything. Probably I may be missing something.
So I wanted to ask, is there any way to incorporate "Live Interactive Audio Streaming", no video required, into my react native app using react-native-agora?

Live Interactive Audio Streaming is basically many-to-many audio broadcast where host can speak and rest listen

if you want to dev without video, you can call disableVideo method


Setting branches does not work and :Lazy log looks broken.

Which version of Neovim are you using?
Gui(specify which GUI client you are using)? Nightly? Version? NVIM v0.9.0-dev-546+g98daaa798
To Reproduce
Make sure to read https://github.com/folke/lazy.nvim/wiki/Minimal-`init.lua`-to-Reproduce-an-Issue
The reproduction script should contain instructions how to create a file from verbatim string for the used plugins.
A minimal config is:
return {
  { 'hrsh7th/cmp-cmdline', branch = 'main' },
}

and init.lua
-- git clone --filter=blob:none --single-branch https://github.com/folke/lazy.nvim.git $HOME/.local/share/nvim//lazy/lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
local has_lazy = vim.loop.fs_stat(lazypath)
if not has_lazy then
  print 'Please install lazy, instructions in init.lua'
else
  vim.opt.runtimepath:prepend(lazypath)
  require("lazy").setup("my_plugins", {})
end

Steps to reproduce the behavior:

Run :Lazy sync

Expected Behavior
Correct cloning or git fetch + git merge --ff-only.
Screenshots
If applicable, add screenshots to help explain your problem.

Log
:Lazy log execution fails with the following error:
Error executing vim.schedule lua callback: .../.local/share/nvim/lazy/lazy.nvim/lua/lazy/view/text.lua:89: end_col val
ue outside range
stack traceback:
        [C]: in function 'nvim_buf_set_extmark'
        .../.local/share/nvim/lazy/lazy.nvim/lua/lazy/view/text.lua:89: in function 'render'
        ...local/share/nvim/lazy/lazy.nvim/lua/lazy/view/render.lua:73: in function 'update'
        .../.local/share/nvim/lazy/lazy.nvim/lua/lazy/view/init.lua:129: in function <.../.local/share/nvim/lazy/lazy.
nvim/lua/lazy/view/init.lua:126>

Sidenode: github has predefined text areas for filling multiple windows: https://github.com/ziglang/zig/issues/new?assignees=&labels=error+message&template=error_message.yml

Just came to report :Lazy log being broken. I'm seeing the same thing

I can't reproduce this with the below:
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  -- do not remove the colorscheme!
  "folke/tokyonight.nvim",
  -- add any other pugins here
  "hrsh7th/nvim-cmp",
  { "hrsh7th/cmp-cmdline", branch = "main" },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]])

@olimorris I just added some extra details to the error message about extmarks. Would be great if you could update and post back the error message you got

Yeah I'm still getting an error. If I happen to be in the README.md file from my dotfiles, with the minimal config you supplied above, I get the following error message:
Failed to set extmark. Please report a bug with this info:
{
  line = { {
      hl = {
        end_col = 13,
        hl_group = "Title"
      },
      str = ""
    }, {
      hl = {
        end_col = 12,
        hl_group = "Italic"
      },
      str = ""
    }, {
      hl = {
        end_col = 22,
        hl_group =<EMAIL_ADDRESS>      },
      str = ""
    }, {
      hl = {
        end_col = 36,
        hl_group =<EMAIL_ADDRESS>      },
      str = ""
    }, {
      hl = {
        end_col = 49,
        hl_group =<EMAIL_ADDRESS>      },
      str = ""
    }, <1>{
      hl = {
        end_col = 106,
        hl_group =<EMAIL_ADDRESS>      },
      str = ""
    }, {
      hl = "Comment",
      str = " (11 hours ago)"
    } },
  segment = <table 1>
}

Additional Info:
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.1/share/nvim"

{
  machine = "arm64",
  release = "22.1.0",
  sysname = "Darwin",
  version = "Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000"
}

@folke latest commit has fixed the log issue 👍🏼

@matu3ba the error you're getting is from git fetch. We do not supply a branch there. We also never do a fallback to master, so that should not be possible.
I suspect a bad internet connection made the initial clone/checkout fail?
Closing this. Doesn't seem right

@folke Yes, turned out to be a cache issue.
  -- rm -fr $HOME/.cache/nvim/lazy
  -- rm -fr $HOME/.local/share/nvim/lazy
  -- rm -fr $HOME/.local/share/nvim/size/pack

solved my problems.
I suspect not adding the branch tag for repos that need it on cloning breaks things, but cleaning everything sounds simpler to me.

you dont need to specify a branch at all


Update model to support network adapters

This PR updates the model to support network adapters which will be added as entries to the guest_devices table.

@miq-bot add_label wip

@miq-bot assign @blomquisg

@miq-bot remove_label wip

@blomquisg Can you get someone to look at this PR? Thanks

@skovic it looks like there needs to be an associated set of changes to the DB Schema.
Can you look into that and add the link to the associated PR when that's available.
Talk to @juliancheal about how to get started there if you have questions.

Provider change have also been submitted for review in https://github.com/ManageIQ/manageiq-providers-lenovo/issues/59   @juliancheal can you review?

@blomquisg Could you get someone to take a look at this PR? The schema changes are already in. Thanks

@imtayadeway Can you check on the API changes in this PR?  Thanks!

I moved the guest_devices REST API changes to https://github.com/ManageIQ/manageiq-api/pull/7

Is there anything missing to have this PR merged? I can't see if that is the case from the comments, or whether this should be merged and an issue created (as the tests are green)

@blomquisg @juliancheal   can we merge this PR?

I need to look back at the device_type issue.  I should have an answer today.

Here's what I'm seeing for guest_device and device_type.

Ovirt

ethernet

Scvmm

cdrom
ethernet

VMware

ethernet
storage

Based on this, it looks like the previous implementation would have included cdrom devices in the ports list.
Also, the UI is using the ports relationship to show networking information.  From this you can see what type of information the UI is expecting to see on the guest_device.  Specifically:

controller_type
device_name
location
address
filename
auto_detect

Here's how I think this should change.
Leave the ports relationship alone (even though it's technically wrong today, because it's going to pull in cdrom as well as ethernet).  Then, create a new relationship specifically for physical ethernet ports.  I suggest calling the relationship physical_ports and the device_type physical_ports instead of ethernet port.  That way, it's clear why it's different from the original ports relationship.
Thoughts?

Hi @rodneyhbrown7,
Can you comment on the changes @blomquisg is suggesting? There are others PR depending on this one, and it seems that we need to work a little more on this. Is there any approach that would help us to make it faster?

@blomquisg I believe I have made the changes you requested. Please let me know if I missed anything. Also, as a result of these changes, I had to make an update to the provider in https://github.com/ManageIQ/manageiq-providers-lenovo/pull/73


Can't able to decrypt the data encrypted in C#.net.

//.net code
//Sorry if you are not from .net background
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.ExceptionServices;
using System.Security.Cryptography;
namespace Encrypt
{
static class Program
{
    /// <summary>
    /// Main Entry of the Application
    /// </summary>
    /// <param name="args"></param>
    [HandleProcessCorruptedStateExceptions]
    static void Main(string[] args)
    {
        string original = "Hello, World!";
        try
        {
            byte [] cipher = EncryptString(original);
            Console.WriteLine("Encrypted cipher is :{0}",Convert.ToBase64String(cipher));
            Console.ReadKey();
        }
        catch (CryptographicException exception)
        {
            Trace.Write(exception);
        }
    }

    private static byte[] EncryptString(string message)
    {
        if (message == null || message.Length <= 0)
        throw  new ArgumentNullException(message);
        //Create Cypher algo
        //note default paddingmode is PKSC7
        RijndaelManaged rijndael = new RijndaelManaged {KeySize = 256};
        rijndael.GenerateIV();
        rijndael.GenerateKey();

        Console.WriteLine("Rindael IV is {0}", Convert.ToBase64String(rijndael.IV));
        Console.WriteLine("Rindeal Key is {0}", Convert.ToBase64String(rijndael.Key));

        ICryptoTransform crypto = rijndael.CreateEncryptor();

        using (MemoryStream memoryStream = new MemoryStream())
        {
            using (CryptoStream cryptoStream = new CryptoStream(memoryStream, crypto, CryptoStreamMode.Write))
            {
                using (StreamWriter sw = new StreamWriter(cryptoStream))
                {
                    sw.Write(message);
                    //sw.Flush();
                }
                return memoryStream.ToArray();
            }

        }
    }
}

}
//output
Rindael IV is +VQYSNRSJ4jskZW+ChX13A==
Rindeal Key is 4Mc8auw+ZJrRZAqRkcQfU2YftnGwgqHHt2aCCpn8TBA=
Encrypted cipher is :aKvTCNYg8s9G06uJb9WW8g==
Note - All the data here is base64 string
//nodejs code to decrypt
var iv = '+VQYSNRSJ4jskZW+ChX13A==';
var key = '4Mc8auw+ZJrRZAqRkcQfU2YftnGwgqHHt2aCCpn8TBA=';
var rijndael = require('/home/root-007/node_modules/node-rijndael/examples/rijndael.js');
var encrypteddata = 'aKvTCNYg8s9G06uJb9WW8g==';
var plaintext = rijndael.decrypt(encrypteddata, key, iv);
console.log(plaintext);
//output
P!8£¢H4mÎªt%ª  !&ÀÏ°
î?

Your encrypted data uses PKSC7, but the example rijndael script uses null-padding.

I am sorry your code didn't work even with
paddingmode.None
or
paddingmode.Zeros

What is the default block size for RijndaelManaged? Please post your sample data when using paddingmode.Zeros and a block size of 256 bits.

The default block size for the RijndaelManaged algorithms is 128 bits.
Here is the parameterless constructor of Rijndeal class (RijndaelManaged inherits form that class)
protected Rijndael()
{
this.KeySizeValue = 256;
this.BlockSizeValue = 128;
this.FeedbackSizeValue = this.BlockSizeValue;
this.LegalBlockSizesValue = Rijndael.s_legalBlockSizes;
this.LegalKeySizesValue = Rijndael.s_legalKeySizes;
}
for more info please follow
https://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged(v=vs.110).aspx
//sample data
Here all the information is base64 string and assuming paddingmode Zeros with KeySize 256 bit.
Rindael IV is +rNLB50lMq/Hc25cSN9avg==
Rindeal Key is oQNF+m9WVjIEL+ZS1l5h7AZLtzpnjTpxpyA1l3xju9c=
Encrypted cipher is :0BUtWkgiGCXW6hJi9g8nww==
The expected output after decryption is "Hello, World!"(quotes for clarity).

This library only supports rijndael with a block size of 256-bits, and you're using RijndaelManaged with a block size of 128-bits, so your use-case is not supported.
AES is a form of rijndael that only supports a 128-bit block size. You should check out the built-in crypto library.


use browserify fork to get more info on errors

Fixing #325

How nice! I will use this in the various projects (Lens, Stencila etc.)


move to MDN

Why dedicated website if it can be hosted on MDN wiki? All this big document can be a dedicated article AND inside documentation about every part of it, for example http://bonsaiden.github.io/JavaScript-Garden/#array.constructor

This project is open source so feel free to do so. I don't think any of the maintainers will want to spend the time porting this whole site elsewhere.


I want to contribute

I know what exactly should be done for spotify, but how can i contribute? I mean if you show me the file or the piece of code for the spotify app in this repo, it would be really helpful for me to contribute

Spotify is located here: https://github.com/blueedgetechno/win11React/blob/master/src/containers/applications/apps/spotify.js
:)

@andrewstech thanks :D

@aarush-paul What is your plan? and have you joined our discord server yet?
You can always ask for suggestion there get a quick response.

@aarush-paul What is your plan? and have you joined our discord server yet?
You can always ask for suggestion there get a quick response.

I saw that you use jiosaavan's api to fetch music. So I thought of using Spotify's api instead where people can log in and listen to their music

@aarush-paul I thought of that too, but only reason I was using jiosaavn is because it doesn't require you to sign-in and It gives you full song to listen instead of that half a minute demo by spotify.
Do you have any other solution.

But still I like Spotify's api coz even if the user has to do the 2min sign in, they will get personalized recommendation which would give then real look and feel.

Also the login will be on a popout window so the user won't be redirected to a seperate tab

Okay I would then suggest you to use jiosaavn api before signin and then re-implement your apotify api after signin.
Also I believe the spotify api has rate limitations.

Hmm ok


Added answer for 20th question

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Reason: Your solution does not pass all the tests.
Thank you and happy coding.


Bug 1897276: Vsphere provider creation/edition certificate validation

Addresses https://github.com/konveyor/forklift-ui/issues/833

Looking good, but there are a few state things we can clean up here.
Also, I wonder if we should be showing other certificate details in addition to just the fingerprint, like issuer and expiration date. That would give the user more info to go by to know if the cert is valid. @vconzola what do you think? I left a similar comment on slide 7 of the mockup. The cert details could be in a little info box and the checkbox could say something more generic like "I trust the authenticity of this certificate" if we are showing more details.

@mturley I really like that idea. I think it'd be more helpful to the user than just seeing the fingerprint. @gildub Lemme update the mockups this afternoon and send them to you.

Another note: when it comes time to deal with editing, I think we just need to be sure to modify useEditProviderPrefillEffect to match the changes you make to useAddProviderFormState here (including making sure the hostname's isTouched gets set to true so the form fetches the certificate right away). Then I think we will need something that runs after the fingerprint is loaded (a useEffect, or maybe just an onSuccess param we pass to the certificate query?) with the following logic:

if the fingerprint we loaded matches the fingerprint on the providerBeingEdited, we can check the validated box.
else, we need to leave that box unchecked and display an alert that the fingerprint changed and the user should make sure they trust the new certificate.

One more thought: @vconzola was mentioning that it might be weird to have the cert fetch on blur, because what if the user types and doesn't click away from the field because the rest of them are disabled, and they are confused about why they have to click away? We could keep the custom onBlur you have and have it clear/set a timeout (stored in a ref) so that it sets isTouched when they stop typing for X amount of time rather than when they blur the field.

For reference, these are the default text field props that you have to replicate if you override them with additional custom behavior. We should document that better in lib-ui maybe.
export const getTextFieldProps = (
  field: IValidatedFormField<string> | IValidatedFormField<string | undefined>
): Pick<TextInputProps | TextAreaProps, 'value' | 'onChange' | 'onBlur' | 'validated'> => ({
  value: field.value,
  onChange: field.setValue,
  onBlur: () => field.setIsTouched(true),
  validated: field.isValid ? 'default' : 'error',
});

In reply of your latest comment in regards of getTextFieldPropsdo we have to override all the props?

In reply of your latest comment in regards of getTextFieldProps, do we have to override all the props?

No, those are just the default values provided by ValidatedTextInput, so if you do override onBlur for example you need to make sure you are calling field.setIsTouched(true) because it will no longer happen for you automatically. I think maybe this indicates a flaw in my component 😆

@vconzola, please review.

@mturley, I have no idea why but following line fails the tests even though the hostname field contains a valid url:
https://github.com/konveyor/forklift-ui/pull/845/files#diff-a4f147238f961def753e901eb8e5ef56a8a77abd05ecf5f3595e66e25cb3d222R343

@gildub that's quite strange. Looking into it now

See slack for my findings :)

@vconzola, per your question on Slack,
| Not sure there’s anything we can do about this, but the Verify button is hidden below the fold when either the Add or Edit modals opened. Can we auto-scroll the form when the user clicks into either the user name or password field?
Moving the focus between different part of the modal could be done but what about moving the hostname to be after the other input fields?
This way it's just before the "verify certificate" and then the certificate information and "Validate  certificate" checkbox are next to each others?
Latest commit shows that approach. Please let me know what you think.
If that feel wrong then we can try moving focus or look at other solutions such as a pop-up dedicated to certificate.

Having the hostname is really weird and unusual. So I reverted it.
Let's discuss further.

Hey Gilles. I pushed a few commits here, feel free to revert if you need to, but I had it working in troubleshooting so I figured I may as well commit.

Fixed the verify button enable issue in edit mode by calling setIsTouched on the hostname field when prefilling the form
Replaced destructuring with a single variable for certificateQuery to make later code more readable (having variables simply called status and data was unclear imo)
Added a warning when editing a provider if the loaded fingerprint is different from the one stored in the provider
Per @vconzola's request, made the modal scroll down to show the verify button if it is offscreen when focusing the username/password fields

Mike,
That's great, no need to revert !
Thanks for troubleshooting the validation field issue. Fixing it will be great although we'll a fair amount of testing to do ;)
The rest is nice and makes sense.
I added a patch to mock scrollIntoView to be able to pass the tests. This is because scrollIntoView is missing from jsdom: https://github.com/jsdom/jsdom/issues/1695

@seanforyou23 @gildub are we happy with this?

@mturley, I'm happy with this now.

Discussing things with Mike S, I pushed a few more commits to surface error messages from fetching the certificate all the way to the UI. I think we can merge this and follow up in another PR perhaps, but the main thing remaining here I think is that if the certificate request fails, the button should reappear so it can be retried.

Followup issue: https://github.com/konveyor/forklift-ui/issues/868

Hmm... CI is failing on createEvent here again. Not sure why

@seanforyou23 @gildub I'm pretty baffled as to why this error is coming up when running tests in CI but not locally. Any ideas?

@mturley, yeah I know, really frustrating I already looked at it and I've no idea why.

@mturley, I've started investigation...

@mturley,
I was able to reproduce CI error locally using Ubuntu image and following same pipeline.
Meanwhile I'm also getting the same error when running CI locally on my machine using Nodejs 16 LTS.
So maybe my env was out of sync (forgot to run npm install).
So the positive side is that if anything like that (a CI mismatch) occurs again then we can simply run the Ubuntu env to compare. Although there is no reason this should happen because Ubuntu or Fedora or  are all running on same Node.js LTS latest version.
Also I worked around the error itself by using scrollIntoView with React.useRef().

Good find, thanks @gildub ! The ref solution is interesting, I guess that just means something is different about that global document in jsdom or something like that. Glad it's working!


Add remove button to travel history section

Codecov Report

Merging #368 into master will decrease coverage by 0.09%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
- Coverage   66.19%   66.10%   -0.10%
==========================================
  Files          26       26
  Lines         707      711       +4
  Branches      217      219       +2
==========================================
+ Hits          468      470       +2
- Misses        239      241       +2

Impacted Files
Coverage Δ

.../components/new-case-form-fields/TravelHistory.tsx
64.70% <33.33%> (-8.63%)
:arrow_down:

...urator-service/ui/src/components/LinelistTable.tsx
88.52% <0.00%> (+0.38%)
:arrow_up:

Continue to review full report at Codecov.

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

But, but, the (integration) tests? 😕 where are they?? 🧪🧪🧪

Added a test for adding and removing a travel history section

 Finish new case manual entry page


funtional -> functional

Pull Request Test Coverage Report for Build 36

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.975%

Totals

Change from base Build 35:
0.0%

Covered Lines:
1242

Relevant Lines:
1428

💛  - Coveralls

Pull Request Test Coverage Report for Build 36

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.975%

Totals

Change from base Build 35:
0.0%

Covered Lines:
1242

Relevant Lines:
1428

💛  - Coveralls

Pull Request Test Coverage Report for Build 36

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.975%

Totals

Change from base Build 35:
0.0%

Covered Lines:
1242

Relevant Lines:
1428

💛  - Coveralls


Fix: the api id header is x-api-id, not x-id.

what does this PR do
Fix the api-id header name.
I expect
The api-id header to be x-api-id
instead
The api-id header is x-id

Thanks!

:+1:

:+1:

Thanks! You've been very fast!
Are you working on openapi-v3 too?
Thx again + Peace,
R.


Issues with some PD source

Hi Manuel,
I discovered that I have some "picky" PD source which do not play well with the library (work well with other devices, like laptop).
I tried to check with my analyzer but did not find any sort of expected misbehaving with the CC communication. Have you seen this behavior before? It seems like the device is able to negotiate a power profile, but within 10s of ms it will drop the connection and the microcontroller will restart. I don't think this is related to inrush capacitance tripping the source, as some sources are fine (or perhaps my other sources are just too lenient with their output power?)

I just spent some more time digging, and confirmed with the same binary, this charger does not work , just bootlooping with any requested source voltage 9/15/20V(Anker 65W):
https://a.co/d/0JOoG96
But this charger has no problem requesting stable 9V (does not have any higher voltage PDO) (Anker 33W):
https://a.co/d/3TmiCP5

Yes, this is with G431CBU6, using UCPD (no additional TCPP chips, just CC wire direct to cable + ESD protection)

Do you have a way of recording the USB communication (incl. precise time stamps)? That would be very helpful.
An alternative is to add PDProtocolAnalyzer.poll(); to loop(). It will also log the USB PD communication.

Yes, I can try to capture a trace, unfortunately I won't have access to more debug tools until next week. I will write back when I can save some data for you.


unknown type name 'os_Time__TimeT' on Win32

Compilation result
C:\MinGW\msys\1.0\home\ndd\rock-0.9.3-source\sdk\os\Time.ooc: In function 'os_Time__Time_dateTime':
C:\MinGW\msys\1.0\home\ndd\rock-0.9.3-source\sdk\os\Time.ooc:69:5: error: unknown type name 'os_Time__TimeT'
C compiler failed (with code 1), aborting compilation process

Needed for #354

I think this is caused by recent os/Time changes wich were not versioned correctly for windows. Specificaly, look at os/Time.ooc:Time dateTime. It even has a TODO comment that says it should be versioned up for windows. I think this is the only function that needs to be versioned though.

Yup, I think this is what @fredreichbier was talking about.


libsass 3.4.x

any plans to supports latest libsass?
PS> I'm going to add a new assets module to http://jooby.org. There is a ruby sass processor already: http://jooby.org/doc/assets-sass/ but of course your library speed up everything ;)

Ist libsass 3.4 released? I cannot find it on https://github.com/sass/libsass/releases

And yes, jsass will support The latest libsass Version, if there is an official release ;-)

nevermind, was looking into the wrong place!
thanks again for jsass works perfectly.

No problem, you're welcome :-)


Cassandra sink - resiliency

Seeing this error and failing to recover/restart.
The cause is most likely due to bad messages coming into kafka from the source - which could be difficult to check for every message.
Is there any thought/likelihood-if-so to build some resiliency e.g. w/ a -k flag to keep continuing inspite of errors and maintain such error counts in a management/oamp interface?
(or if there is a workaround to restart and continue?)
org.apache.kafka.connect.errors.DataException: Failed to deserialize data to Avro:
at io.confluent.connect.avro.AvroConverter.toConnectData(AvroConverter.java:109)
at org.apache.kafka.connect.runtime.WorkerSinkTask.convertMessages(WorkerSinkTask.java:357)
at org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:226)
at org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:170)
at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:142)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.kafka.common.errors.SerializationException: Error deserializing Avro message for id 1
Caused by: java.lang.ArrayIndexOutOfBoundsException: -35
at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:402)
at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290)
at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
2016-11-27 00:54:34,684] ERROR Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask:143)
[2016-11-27 00:54:34,684] INFO Stopping Cassandra sink. (com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraSinkTask:95)
[2016-11-27 00:54:34,685] INFO Shutting down Cassandra driver session and cluster. (com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraJsonWriter:166)

This error has nothitng to do with the resilience and recoverability of the sink. The error happens before the code execution is handed over to the sink code, in the conversion from the raw bytes to an avro record and then to a Struct .
How do you create the records? Pushing avro records and not working together with the schema registry won't work.
if you want to do what you said you will have to provide your own avroconverter. Look at io.confluent.connect.avro.AvroConverter. However I wouldn't advise something like that. Such an error should be caught and understood the reason. if you work with avro serializer (confluent implementation) + schema registry you should never end up with a producer sending bad records


[Bug]: HIGH PRIORITY

What happened?
https://github.com/user-attachments/assets/5445efeb-b21b-47be-ac7c-db9d70aad45c
Steps to reproduce the problem

Wherever
Click your profile picture
Notice there is no menu there now

What should have happened?
There should be someone who tests deployments before they hit the public... sorry if you actually need this info.
You have a whole menu there that's not showing up.
What platforms do you use to access the site?
No response
What browsers do you use to access the site?
 Suck less.

https://github.com/user-attachments/assets/c7cae262-9398-42b9-ac6b-67ab1f7eda3c
https://github.com/user-attachments/assets/5c551871-9e79-42d8-ac16-53126a0e1d04

Not effecting Arch Linux or Win 10, maybe just a win 11 thing so that's not as bad.

Seems fixed.


Properties in instanced scenes can't be reverted

Godot version:
Godot_v3.0.2-stable_win64
OS/device including version:
Windows 7
Issue description:
Properties in instanced scenes can't be reverted.
Steps to reproduce:

Create a new project
With the default empty scene:

Create a new (root) Sprite node named Sprite1
Set Sprite1's texture to icon.png
Save this scene as Sprite1.tscn

Create a new scene:

Create a new (root) Node named TestScene
Select this node and click the "instance a scene file as node" button, then open the Sprite1.tscn file (note that the sprite is visable in the 2D View).
With this instanced Sprite1 node selected use the Inspector panel to untick the  CanvasItem > Visibility > Visible property (note that the sprite disappears from the 2D View).
Click the revert button to the right of the checkbox (note that this does not recheck the checkbox or restore the sprites visibility in the 2D View)

Minimal reproduction project:
test_instanced_scenes.zip

Fixed by 6cc116d.


Add caching to CI coverage job

Codecov Report

Merging #10 (36bfcc9) into main (9a86a8f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   88.74%   88.74%
=======================================
  Files          14       14
  Lines        1288     1288
=======================================
  Hits         1143     1143
  Misses        145      145

Continue to review full report at Codecov.

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


Messaging from background to popup stuck

Whenever my popup is closed, and I use sendMessage it is stuck and waiting for the popup to open
I can't find any fix on my side to check if the tab is contactable or not, any solution ? Is it a bug ?

Messages get queued for the destination if it is not immediately available.
What behavior were you expecting?

My case is maybe somehow not usual, but it is to send updates to the Popup window.
However, every time I load the Popup, it already refreshes everything from API calls and the queued messages kinda get in the way and mess everything up.
Would have liked to find a way to send messages to my Popup tab only if it is actually ready to received (Active or Able to execute what it receives)
I tried to make a subscribe system for tabs who wanna received those messages, but can't find a solution to unsubscribe from the Popup whenever it unloads.

I see. Have you tried fixing this by having the senders wait for the "wake" signal from popup before they send any messages?
Also use<EMAIL_ADDRESS>its better in every way (see the CHANGELOG in the next branch of this repo)

Using<EMAIL_ADDRESS>it seems like I am losing auto complete (which is fine)
But I am now having three problems (one I had before and now)

the "sender" object from onMessage doesn't give any tabId (see Pic 1) In my case the message is coming from a popup page
even tho I am using a tabId I sent from my popup page, I get an error (first error in Pic 2)
whenever the popup page closes now an error pops in console (second error in Pic 2)

Pic 1:

Pic 2:

popup destination is a tabId agnostic destination, I don't think it is tied to any tab in particular, it just exists, standalone.
Can you please share a minimal repro for the errors you are getting that I can test against?

For my background job, I would have:
onMessage('setting-update', async ({ data }) => {
  await database.settings.updateSetting(data)
})

onMessage('settings-fetch', async ({ sender, data }) => {
  console.log('test', sender, data)

  await sendMessage('settings-fetch-response', await database.settings.getSettings(), { ...sender, tabId: data.tabId })
})

and for the popup:
onMessage('settings-fetch-response', ({ data }) => {
  settingsStore.loadSettings(data)
})

browser.tabs.query({ currentWindow: true, active: true })
  .then((data) => {
    tabId.value = data[0]?.id

    if (tabId.value) {
      sendMessage('settings-fetch', { tabId: tabId.value }, 'background')
    }
  })

onMessage('settings-fetch', async ({ sender, data }) => {
  console.log('test', sender, data)

  await sendMessage('settings-fetch-response', await database.settings.getSettings(), { ...sender, tabId: data.tabId })
})

You don't have to use sendMessage inside onMessage if you want to respond with a value. Just return the value from the callback and it'll be available to in the sender by awaiting the sendMessage.

I'm having this same issue. I can get the message to popup from background but I have to use the sendMessage function from background

onMessage('settings-fetch', async ({ sender, data }) => {
  console.log('test', sender, data)

  await sendMessage('settings-fetch-response', await database.settings.getSettings(), { ...sender, tabId: data.tabId })
})

You don't have to use sendMessage inside onMessage if you want to respond with a value. Just return the value from the callback and it'll be available to in the sender by awaiting the sendMessage.

returning the value does not work.

Can you please install<EMAIL_ADDRESS>and report me any new observations?

I get the same issue, with both 6.0.1 and 6.0.0-rc4.
Checking the parameter of onMessage when a job is sent from a content script returns sender : {context: 'content-script', tabId: null, frameId: null}.

I don't too much experience with popups and the challenges that come with them. I'm also unable to allocate resources to this task, can someone please take on this problem?

@zikaari Can you point in the code where the wrapping from the underlaying runtime.onMessage to Sender type happens?
It would help for taking a look :)

I'm having this same issue. I can get the message to popup from background but I have to use the sendMessage function from background

onMessage('settings-fetch', async ({ sender, data }) => {
  console.log('test', sender, data)

  await sendMessage('settings-fetch-response', await database.settings.getSettings(), { ...sender, tabId: data.tabId })
})

You don't have to use sendMessage inside onMessage if you want to respond with a value. Just return the value from the callback and it'll be available to in the sender by awaiting the sendMessage.

returning the value does not work.

Having the same issue, using async for the callback and returning the result is not working for me, this is quite important, can anybody help? @danpastori @vabatta @JTInfinite

I'm having this same issue. I can get the message to popup from background but I have to use the sendMessage function from background

onMessage('settings-fetch', async ({ sender, data }) => {
  console.log('test', sender, data)

  await sendMessage('settings-fetch-response', await database.settings.getSettings(), { ...sender, tabId: data.tabId })
})

You don't have to use sendMessage inside onMessage if you want to respond with a value. Just return the value from the callback and it'll be available to in the sender by awaiting the sendMessage.

returning the value does not work.

I was having a similar issue where I was having problems with returning the values. On carefully reading the documentation, I figured it out. You have to return the PROMISE in case the callback is async, example
onMessage("settings-fetch", async ({ sender, data }) => {
    return database.settings.getSettings(); // returning the promise, not the awaited value
};


IFrame embedding

Please add Iframe option to CK editor.

Do you mean this: http://ckeditor.com/addon/iframe ?

Yes indeed. To embed a model share.
Op 16 jun. 2016 13:59 schreef "Roeland Salij"<EMAIL_ADDRESS>
Do you mean this: http://ckeditor.com/addon/iframe ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mendix/CKEditorForMendix/issues/42#issuecomment-226464752,
or mute the thread
https://github.com/notifications/unsubscribe/AP5q5uhWk3yTJW30NZhqahRw6r134nCCks5qMTqYgaJpZM4I3ToU
.

This is already included in the insert bar in CKEditor


⚠ Mobitopup has degraded performance

In b92f3f1, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5933 ms

Resolved: Mobitopup performance has improved in 155615e after 7 minutes.


No tabs when a Lightning App only contains one Web UI

🚀 Feature
When my lightning app only contains one Web UI there is no reason to add a tab at the top of the app that takes up space.
Motivation

This would simplify the UI
This would provide more window space to the app it self
This would make the app look more professional.

Yep, definitely on the radar. Thanks for bringing this up @MarcSkovMadsen

@MarcSkovMadsen This was recently enabled in the frontend and will come with the next release, if it hasn't already.
Here are the docs and you just make sure to return a single element in the configure_layout at the root.

This has been supported for a while now, so closing the issue :)


Direct connection authentication instructions should call out lower-case device id clearer

[In Step 5, here it's very easy to miss the fact that the device id must be in lower case. Can you please bold or underline or call that out better? When asking the device for its id with the command 'azsphere device list-attached', it is produced in upper case. ]

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

ID: faedf864-4477-e53a-f711-0e5deaf3197b
Version Independent ID: 416a2b64-8c07-f6bc-8393-307639bd9b3a
Content: Set up an Azure IoT Hub to work with Azure Sphere
Content Source: AzureSphere/articles/app-development/setup-iot-hub.md
Product: azure-sphere
GitHub Login: @LouisBerner
Microsoft Alias: azurespheredocs

Thank you for your feedback.
Created https://dev.azure.com/msazuresphere/4x4/_queries/edit/103252/?triage=true to track this issue.


Fail to debug a MSSQL Durable project created with TypeScript/JavaScript Model V4 on M1

OS: Mac (M1)
Build Version: v1.14.4-alpha.0
Regression: Not a Regression
Repro Steps:

Create a MSSQL Durable project with the JavaScript Model V4.
F5.
Check whether succeeds to debug the MSSQL Durable project created with JavaScript Model V4.

Expect:
Succeed to debug the MSSQL Durable project created with JavaScript Model V4.
Actual:
Fail to debug the MSSQL Durable project created with JavaScript Model V4.

More Info:

This issue also reproduces for TypeScript language.
This issue doesn't reproduce for JavaScript Model V3 and other languages.
This issue doesn't reproduce for Azure Storage and Netherite types.
This issue doesn't reproduce on Windows and Linux.

This issue also reproduces for the JavaScript/TypeScript Model V3 project on the extension v1.15.4-alpha.0.


Deleting a non-existent topic throws google.api_core.exceptions.InternalServerError

cd samples/snippets
python delete_lite_topic_example.py $PROJECT us-west1 a random-topic-name

The code should throw google.api_core.exceptions.NotFound instead of InternalServerError.

This was a backend issue, closing.


Can't Build freetype or png on Windows with requirements.txt

Everytime I run pip install -r requirements.txt, I get this error:
                            * The following required packages can not be built:
                            * freetype, png
                            * Please check http://gnuwin32.sourceforge.net/packa
                            * ges/freetype.htm for instructions to install
                            * freetype
                            * Please check http://gnuwin32.sourceforge.net/packa
                            * ges/libpng.htm for instructions to install png

I am using 64-bit Python.
I have installed freetype and libpng from gnuwin32.
I have installed python-dev-tools.
I have restarted Windows after doing the above.

I've noticed other people here have had issues getting this repo to work on Windows, but haven't seen anyone directly ask about this specific error.

try python -m pip install -U matplotlib with wheel

Matplotlib? If yes, try python -m pip install -U matplotlib

Yep, pip install -U matplotlib did the trick. Thanks.


Update Twitter logo to its latest one(X).

It's good to stay updated in the Tech World.
Hence, we should update the logo of Twitter to its latest one (X).
Screenshots-

Please assign me this issue. I would like to fix this!

Thanks for your enthusiasm.
But the code of website  "nanomq.io" is located in another private repo. IDK how you would contribute.
Feel free to help us improve the docs!


Add consumer.heartbeat()

Fixes #387
I was looking into how to implement rate limiting if using the eachMessage interface and realized that there needs to be a way to heartbeat manually. Seems we have the same need in #387, so I took a punt at implementing it.

As we discussed F2F, with this change, the recovery logic is replicated three times, so it's worth to refactor. We also need to notify the process loop that the consumer is rebalancing, etc. We need to re-work somethings to get this in.

I've been thinking about how to do this. Refactoring the recovery logic so that it's not replicated is probably not too hard, but I'm not sure about how or where to notify the fetch loop.
The tricky bit is that both commitOffsets and heartbeat can be called when the fetch loop is not even running, in which case it should raise an error, but we also don't want to raise the error twice (once in the caller and once in the fetch loop). There's also a lot of places in the fetch loop where we might want to interrupt - at the beginning of a fetch, in between each batch, in between each message, etc. and I'm not sure where it makes sense to do so. I guess the point is that we want to complete the whole heartbeat/commitOffsets call, including error recovery and retries, before continuing with whatever the fetch loop is doing, to avoid triggering multiple joins or whatever.

I think somehow we're going to end up with a finite-state-machine here, seen that we have a single state of consumer group (joined, rebalancing, unsubscribed, etc) that both governs and can be triggered by multiple instigators. Concretely, I think that means adding a 'state' flag in the runner, which each action dependent on this state, on every attempt, can query this state before either starting or handling the outcome of the action. That approach should allow for concurrent actions, rather than limiting the runner to only performing then sequentially.
More concretely, I can imagine a retry(actionFn) {} kind of method, which could wrap the action specific behaviour in the retry mechanism that checks for the runner's state and deals with the errors. But then I haven't tried, so not sure if that's practical 😅.

Is this going in any time soon ? Have a problem when one of the messages takes longer to process than session timeout it cases disconnect on the server side.

@goriunov if you use eachBatch you have access to the heartbeat function. This PR needs some more work before we merge, we still want to move forward but it will take a while.

In my case I want to consume 100MB batch and it is fetching quite long time. While it is fetching Kafka does not get any heartbeats from consumer. So now the only way to resolve this is to set heartbeat timeout to one minute or so.

Can't we just send heartbeat outside of the loop by setTimeout or setInterval?

Can't we just send heartbeat outside of the loop by setTimeout or setInterval?

You totally could, and the broker would accept it, but as soon as you call heartbeat outside of the processing loop, it stops being a good indicator of health of that loop. The heartbeat is at the heart (🙌) of Kafka's failure detection mechanism, which in turn is vital for the fault tolerance behaviour it tries to implement.

In my case I want to consume 100MB batch and it is fetching quite long time.

Is that an individual message of 100 mb, or lots of messages? While Kafka's messages can be any sequence of bytes, it's not optimise for massive file transfers like this. I reckon if I was doing something like file uploads to Kafka, I'd be splitting them up into chunks and re-assemble them at the consumption end.

I'm closing this PR, as it's grown very stale and will need to be refactored.


Add tip: wrapper utility

You should add a tip for a simple wrapper/container utility. For example:
.wrapper {
  margin-right: auto;
  margin-left:  auto;
  max-width: 960px;
  padding-right: 10px;
  padding-left:  10px;
}

It's explained more in this css-tricks article.
I'd be happy to add it if you want.

Hey, I was wondering should I submit a PR for this or do you not want the changes otherwise I'll just close the issue.


Linker error on Windows

I can't build the crate on Windows due to some linker error:
error: linking with `link.exe` failed: exit code: 1120
  |
  = note: ...A bunch of paths to .o files (see full output txt)...
  = note:    Creating library C:\Users\admin\Source Code\test-fastembed\target\debug\deps\test_fastembed.lib and object C:\Users\admin\Source Code\test-fastembed\target\debug\deps\test_fastembed.exp
          LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
          libort_sys-f49947a43b73606c.rlib(svmclassifier.obj) : error LNK2019: unresolved external symbol __std_max_element_f referenced in function "float * __cdecl std::__std_max_element<float>(float * const,float * const)" (??$__std_max_element@M@std@@YAPEAMQEAM0@Z)
          libort_sys-f49947a43b73606c.rlib(logits_processor.obj) : error LNK2001: unresolved external symbol __std_max_element_f
          libort_sys-f49947a43b73606c.rlib(beam_search_scorer.obj) : error LNK2001: unresolved external symbol __std_max_element_f
          libort_sys-f49947a43b73606c.rlib(bias_softmax_fusion.obj) : error LNK2019: unresolved external symbol __std_max_4i referenced in function "auto __cdecl std::__std_max<int const >(int const * const,int const * const)" (??$__std_max@$$CBH@std@@YA?A_PQEBH0@Z)
          libort_sys-f49947a43b73606c.rlib(PooledUploadHeap.obj) : error LNK2019: unresolved external symbol __std_max_8u referenced in function "auto __cdecl std::__std_max<unsigned __int64 const >(unsigned __int64 const * const,unsigned __int64 const * const)" (??$__std_max@$$CB_K@std@@YA?A_PQEB_K0@Z)
          libort_sys-f49947a43b73606c.rlib(DmlOperatorGather.obj) : error LNK2001: unresolved external symbol __std_max_8u
          libort_sys-f49947a43b73606c.rlib(DmlOperatorScatter.obj) : error LNK2001: unresolved external symbol __std_max_8u
          C:\Users\admin\Source Code\test-fastembed\target\debug\deps\test_fastembed.exe : fatal error LNK1120: 3 unresolved externals

Here is a full copy of error output: output.txt
Enabling or disabling the ort-download-binaries feature doesn't seem to help.

I've never seen this before. So unsure of any solutions.
Our CI runners at #79 seems to run fine on Win.

cc @decahedron1

@ozaner Do you have the latest version (17.10) of VS2022 installed? The prebuilt binaries are compiled with 17.10.35027.167, so I'd imagine anything older would cause these linking errors.

Yep this was it, I was on 17.7. Updating fixed it. Thanks!

Similar issue here, on 17.9. I see the onnxruntime path as /LIBPATH in the link command but no onnxruntime.lib getting linked. I'll see if the upgrade helps.


Process events within rich cards

Confusion around the difference between "imBack" and "postback." Providing feedback that the difference should be better explained. ImBack sends messages as Instant Messages and posts responses in the chat. PostBack may not post a visible response in the chat.

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

ID: 607856cb-baae-c401-5b34-876b5018771d
Version Independent ID: 77df1de7-7b2e-a546-1280-a66121039a94
Content: Add media to messages - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-add-media-attachments.md
Service: bot-service
Product: bot-framework
GitHub Login: @ivorb
Microsoft Alias: v-ivorb

Updated table for clarity. Fix is in bot-docs-pr PR 1217.


FIX: Handling of case-insensitive environment variables on Windows.

Resolves https://github.com/yesodweb/Shelly.hs/issues/112

Great, thanks!

I tagged the wrong issue. Resolves #110 and not #112.


tests(engine_specs): full bigquery engine coverage

CATEGORY

[ ] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[X] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Increases BigQuery test coverage to 100%. Took the chance and added more human readable descriptions for this db engines tests
Result coverage:
superset/db_engine_specs/athena.py                       20      3    85%
superset/db_engine_specs/base.py                        344     40    88%
superset/db_engine_specs/bigquery.py                     82      0   100%
superset/db_engine_specs/clickhouse.py                   16      1    94%
superset/db_engine_specs/cockroachdb.py                   3      0   100%
superset/db_engine_specs/db2.py                          10      1    90%
superset/db_engine_specs/dremio.py                        7      1    86%
superset/db_engine_specs/drill.py                        26      5    81%
superset/db_engine_specs/druid.py                        34     16    53%
superset/db_engine_specs/elasticsearch.py                16      1    94%
superset/db_engine_specs/exasol.py                       10      2    80%
superset/db_engine_specs/gsheets.py                       5      0   100%
superset/db_engine_specs/hana.py                         18      6    67%
superset/db_engine_specs/hive.py                        232    125    46%
superset/db_engine_specs/impala.py                       22      4    82%
superset/db_engine_specs/kylin.py                        14      1    93%
superset/db_engine_specs/mssql.py                        43      0   100%
superset/db_engine_specs/mysql.py                        46     21    54%
superset/db_engine_specs/oracle.py                       25      3    88%
superset/db_engine_specs/pinot.py                        41     17    59%
superset/db_engine_specs/postgres.py                     37      0   100%
superset/db_engine_specs/presto.py                      435    123    72%
superset/db_engine_specs/redshift.py                      7      1    86%
superset/db_engine_specs/snowflake.py                    46     10    78%
superset/db_engine_specs/sqlite.py                       30      8    73%
superset/db_engine_specs/teradata.py                      9      1    89%
superset/db_engine_specs/vertica.py                       3      0   100%

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@willbarrett

Totally agree and was tempted in doing that, but yes scope creep


RuntimeError: "mul_cpu" not implemented for 'Half'

Hello,
I am trying to train a LM transformer according to the following example.
https://github.com/pytorch/fairseq/blob/master/examples/language_model/README.md
I got following error when running fairseq-train
RuntimeError: "mul_cpu" not implemented for 'Half'
Could you help please.
Thanks,
AlexG.

This problem can be occurred if CUDA driver was not updated. To update CUDA driver on ubuntu look into
https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html#ubuntu-lts

maybe you can degrade your torch version, e.g., from 1.5 to 1.4, which works for me. @AlexandderGorodetski


Hi team

I’ve found out so far the dataset needs to be in a png format as a zip archive for stylegan2
Also, I had to include a variable "transaction timeout" for the call to the "wallet" function from oceanlib for it to work.
Not clear on whether we need additional data to supply examples of things that are noise?
Stylegan2 does seem overkill for cruptopunks.  Simpler GAN code available on GitHub.

Hi! Thanks for creating the first issue :)

Yes, as a first step, was thinking we could publish an algorithm for processing the raw CryptoPunks dataset to the format needed for whatever model we choose to use. It should be easier to get a quick and simple algorithm like this working than a training algorithm. I'll create an issue for this.
Thanks for letting everyone know about this. It's likely due to an upgrade to ocean.py. Would you be able to try out creating an issue, creating a new branch, fixing the issue and submitting a pull request for this?
Not sure where they generate the noise in the code. As far as I'm aware the noise is usually fixed, although some artists have found that it is helpful to modify the noise tensor (see the discussion here).
Agreed. Now that we decided to train on lo-res images, StyleGAN2 is probably overkill. I created an issue to explore alternatives. If you reviewed some, maybe you could add an analysis under that issue thread?