Userdata in getHandlerPairs()?

Does userdata need to be registered, in this function? https://github.com/aws/amazon-ec2-metadata-mock/blob/0965dfc5fbdc2cb574fd304e0e32bb2463e2eb5a/pkg/cmd/cmdutil/cmdutil.go#L102-L109
It seems like things work without it, what does this function do exactly?  Is it actually needed?

Does userdata need to be registered, in this function?

No, per my comment on your PR: https://github.com/aws/amazon-ec2-metadata-mock/pull/171#issuecomment-1143821018

what does this function do exactly? Is it actually needed?

Yup it's needed. It associates a path with  handler during startup depending on which subcommand is used to start AEMM. For example, if users use events subcommand, aemm events <args>,  then IMDS paths (and handlers) involving spot should not be available-- that logic is handled in getHandlerPairs.
Addressing this specific block:
	handlerPairs := []handlerPair{
		{path: "/", handler: handlers.ListRoutesHandler},
		{path: "/latest", handler: handlers.ListRoutesHandler},
		{path: static.ServicePath, handler: handlers.ListRoutesHandler},
		{path: dynamic.ServicePath, handler: handlers.ListRoutesHandler},
	}

handlerPairs is saying each of these paths have a List Handler, which is a handler that lists available routes for a given path. userdata does NOT have a List Handler because userdata has no routes itself just the userdata value. Ex:

/latest needs to register a List Handler because hitting this path should list the following routes:

dynamic
meta-data
user-data

/latest/dynamic needs to register a List Handler because hitting this path should list the following routes:

fws/instance-monitoring
instance-identity/document
instance-identity/pkcs7
instance-identity/signature

/latest/user-data does not have a List Handler because hitting this path will return user-data value:

MTIzNCxqb2huLHJlYm9vdCx0cnVlCg==


Show dialog from service

if we want to show dialog from service, we must set the dialog with:
dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);

But this can be done only after the dialogue appeared and in fact the dialog crash because the setting must be set before the dialog appears.
Is there a way that I do not know or we can show the system dialog in another way ?

I have an idea.
Now for setup show/cancel/dismiss listeners we must do this:
.showListener(new DialogInterface.OnShowListener() {
        @Override
        public void onShow(DialogInterface dialog) {
        }
    })
    .cancelListener(new DialogInterface.OnCancelListener() {
        @Override
        public void onCancel(DialogInterface dialog) {
        }
    })
    .dismissListener(new DialogInterface.OnDismissListener() {
        @Override
        public void onDismiss(DialogInterface dialog) {
        }
    })

If you add an preShow listener?
Like this:
@Override
        public void onPreShow(DialogInterface dialog) {

        }

And now we can set the system dialog like this:
@Override
        public void onPreShow(DialogInterface dialog) {
              dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
        }

What do you think about it?

I solved the problem.. I modified the library builder in this way:
I have added a boolean variable:
protected boolean systemDialog = false;

I have added a function who set the variable like this:
public Builder systemDialog() {
            this.systemDialog = true;
            return this;
        }

And finally i have modified the show() function like this:
before:
@UiThread
        public MaterialDialog show() {
            MaterialDialog dialog = build();
            dialog.show();
            return dialog;
        }

after:
@UiThread
        public MaterialDialog show() {
            MaterialDialog dialog = build();
            if(systemDialog) dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
            dialog.show();
            return dialog;
        }

Stock AlertDialogs can't be shown from a service either; they're not designed to. But I'll look into the solution you used.

Since a permission is needed (according to http://stackoverflow.com/a/4344760/309644), I don't think it's a good idea to have this as a feature of the library. Those who really need to do this can use that method on the window like you'd have to do with a stock AlertDialog anyways.


Fix spelling mistakes

[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] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks @alu0100832211! :+1: :volcano:


installer: Add fancy wizard tutorial for Azure (from #1622)

Closes #1622
Closes #1615

LGTM

Thanks @felixrieseberg!


Request: macros for making NewPost and Post structs less redundant

Would it be possible for diesel to provide macros so that if I have two models, say Post and NewPost, which differ only in that Post also has an id field, I could define them using only a single struct?
e.g.
#[alsoDefineNew]
pub struct Post {
  #[excludeInNew] id: i32,
  title: String,
}

And now, there is a NewPost struct as well.
I've thought about doing this with traits, but it ends up being very redundant and OOP in a java-like way. Macros could probably help, though.
This is far above my pay grade right now, but I wanted to make this request - perhaps it already exists or is in the pipeline :)

Come to think of it, this is not really core to diesel's mission. It's probably better as an external library. It might need to know about diesel's Insertable, etc. derivations, but otherwise would probably be best as a separate library.

Have a look at #860 too ^^

I've created something along these lines for the new structure here
https://github.com/behos/models-derive
Used like https://github.com/behos/models-derive/blob/master/tests/default_insertable.rs#L20
but i haven't published this as a crate since I'm not 100% sure it's complete. I'd be happy to get some feedback and ideas/contributions around that


Stream does not support writing.

@rstm-sf  it seems your change for Save has broken some examples
System.NotSupportedException
  HResult=0x80131515
  Message=Stream does not support writing.
  Source=System.Private.CoreLib
  StackTrace:
   at System.ThrowHelper.ThrowNotSupportedException_UnwritableStream()
   at System.IO.FileStream.SetLength(Int64 value)
   at OfficeIMO.Word.WordDocument.Save(String filePath, Boolean openWord) in C:\Support\GitHub\OfficeIMO\OfficeIMO.Word\WordDocument.cs:line 602
   at OfficeIMO.Word.WordDocument.Save(Boolean openWord) in C:\Support\GitHub\OfficeIMO\OfficeIMO.Word\WordDocument.cs:line 633
   at OfficeIMO.Examples.Word.LoadDocuments.LoadWordDocument_Sample1(Boolean openWord) in C:\Support\GitHub\OfficeIMO\OfficeIMO.Examples\Word\LoadDocuments\LoadDocuments.Sample1.cs:line 30
   at OfficeIMO.Examples.Program.Main(String[] args) in C:\Support\GitHub\OfficeIMO\OfficeIMO.Examples\Program.cs:line 76

All examples that load documents seem to be affected:
LoadDocuments.LoadWordDocument_Sample1(false);
LoadDocuments.LoadWordDocument_Sample2(false);
LoadDocuments.LoadWordDocument_Sample3(false);

Never mind, the documents were set to read only and that's why it was throwing an error.


Download folder when moved

hi,
when you move your download folder to another place (ie onedrive), the path in the left tab is still c:\Users%username%\Downloads instead of the new location.
The result is that download folder is pointing to an empty place.
But in the libraries widgets, the problem doesn't appear.

Could you try deleting this file: %localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalCache\PinnedItems.json and see if the new path is picked up?
NOTE: you will loose your pinned folders!

Merging with #692.


Add README’s and keywords.

Summary
We didn't have the README for those packages. Adding a few keywords and README. Updated the logo for the README too.

I removed the logo, I think we are fine without it there.

Not sure what to think about adding other open source projects such as ava, mocha, tape as keywords.

It's called sabotage! ;]
And seriously speaking people can use phrases like "mocha js alternative" or similar, so I'm ok with that

@pascalduez I'm just copying what these other frameworks are doing. 🤷♀


Can not reproduce the TensorRT result

I have try the process  described in this code repo about tensorrt， but i can not reproduce the TensorRT latency on A100，
my fp16 result is about 3.2，greater than the statistic that you post on 。

This latency is usually for the first run. You should warmup your run at least 5 iterations then measure the latency by averaging next 50 iterations (our lantency benchmark code).
You can also try to compare with our Stochasticx cli deployment which already supported TensorRT and AITemplate on A100 follow our instruction (here). The commands to deploy TensorRT/AITemplate on your machine are:

stochasticx stable-diffusion deploy --type tensorrt
stochasticx stable-diffusion deploy --type aitemplate


fix(ping): only use -O flag when supported

Some distros use the ping from inetutils that doesn't have the -O flag.
Therefore couldn't get updates when a ping faces some issues (Destination Host Unreachable and etc...)
Alpine (BusyBox) implementation of ping doesn't have this flag by default
So Alpine users need to install the iputils package in order for this package to work
Closes #52

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tabs component renewal in Mobile Components

Wait for the Mobile Figma UI Kit to get updated first. Reach out to @soniakaukonen for more details.

@msankara' You have created 4 items in the mobile repo with 'Web Components' in the title. Is this right?

@msankara' You have created 4 items in the mobile repo with 'Web Components' in the title. Is this right?

Thank you for spotting that @rthanga1 I just updated it


Payments are being processed without HTTPS

Expected behavior and actual behavior.
HTTPs is required, and some payment methods are being processed even in HTTP. It's a bug.
We need to check the protocol and block the payments that are trying to process through HTTP.
The check must be the same for Lib JS.
Steps to reproduce the problem.
Specifications like the version of the project, operating system, or hardware.
v1.10.1

What do you think guys? The plugin needs to have the HTTPS to process the payment or HTTPS is a recommendation?


runtime: would like a thing like GOMEMLIMIT, but which fatal-errors when reached.

What version of Go are you using (go version)?
1.21, etc
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
More of an issue on MacOS, but exists anywhere I guess.
What did you do?
Tried to limit memory usage. Specifically, I wanted the allocator to fail (yes, I know this panics and can't be recovered) rather than more memory to be used.
What did you expect to see?
I don't honestly know. Memory usage is poorly-defined and inconsistent at the best of times.
What did you see instead?
So, modern MacOS just doesn't let you do anything much like ulimit anymore for memory usage. And modern Linux pretty much always does overcommit, and then if too much memory gets used, it kills... Something. Arbitrarily. Which may or may not be the thing you wanted.
I'm looking at some code which has an unbounded memory usage problem, which I want to fix, and first I wanted to write a test case that would confirm that it was failing. And discovered that I can't sanely do this; I can't actually make the test fail due to excessive memory usage, because the amount of memory I can allocate (way over 60GB) takes long enough to populate that tests time out, and anyway a test that takes over ten minutes to run isn't a great fit for ever getting anything done.
And we have GOMEMLIMIT, but that's advisory. And what I sort of want is, roughly, a GOMEMLIMITHARD, where when runtime is about to request more memory from the OS, it checks whether doing so would cause the runtime's total memory-requested-from-OS to exceed the limit, and if it would, to fail as though a request from the OS was denied.

A: Yes, exactly.  That is, in fact, highly preferable.
Q: But you can just use the OS's limits!
A: Apparently not on MacOS in the last few years (?!?!). Still seems to work on Linux via ulimit -v, although it's a bit approximate, because memory "usage" is not well-defined. (For instance, mmapped files sometimes but not always count as some kinds of memory.)

How would this work with cgo?

On linux you can use cgroups of other features to limit how much memory a process can use. This includes a whole bunch of other things that the go runtime does not track (cgo as pointed out by rittneje, ... some network buffers if I'm not incorrect).
I don't see much value in adding an inferior solution to the runtime.
Quick google searches suggest to me you can do the same thing on MacOS, Windows and Freebsd.

cc @golang/runtime @mknyszek

As written, this should be a proposal, as it proposes a new environment variable and presumably a new API in runtime/debug to go along with it.

Hm, I don't think this can work quite like GOMEMLIMIT because that's one way to get really bad death spirals. If the runtime knows that it can't exceed the limit, the only reasonable option is to try arbitrarily hard to stay under it. (Trying to decide what is "too hard" is also quite arbitrary and there's no clear reasonable policy decision when the alternative is to crash. With a soft limit the runtime is a bit more flexible and it's easier to come up with a reasonable policy: avoid a death spiral by going past the limit.) That's at least one reason why GOMEMLIMIT is a soft limit.
The only way I could see this working is if it exists completely outside of GOMEMLIMIT and GOGC and the garbage collector completely ignores the value. The runtime would just die if its statistics indicated it exceeded the limit. Thing is, in a concurrent/parallel runtime the statistics are never going to be perfectly accurate without adding serialization to hot paths. (And it sounds like you don't need perfect accuracy either.)
At which point it seems like one could implement something similar themselves by having a background goroutine that watches the same statistics GOMEMLIMIT functionality is watching (via the runtime/metrics package for instance), and  exits the program when a threshold is exceeded. I'm not sure I follow why the runtime should be responsible for failing at the point of the request for more memory from the OS. If you're within 10-100ms of the memory being exceeded for the test, that doesn't seem too bad? Would this work for your use-case?
I also wouldn't recommend relying on ulimit -v in the long term. It counts PROT_NONE mappings that don't correspond to any physical memory and are considered cheap (see https://go.dev/doc/gc-guide#A_note_about_virtual_memory). The Go runtime makes some big ones up-front for some data structures, and that may increase or decrease in the future. It'll also interact super poorly with the race detector, which makes a large up-front mapping and relies on demand paging.

I would like this but not “for testing” but to make large allocations fail gracefully if they would go significantly over the limit, maybe I should file a different issue for that then or stay on this one? (today you can limit to X and yet ask 10X in a single alloc and it just continues (until the OS kills the go program or large alloc fatals)

I filled mine under separetely under golang/go#68934 as I think that's easier to solve than overall death spiral GC


Odd Entry in History List

It's the intro to this: https://davidwalsh.name/3d-panorama-image , not the <title>

That's a saved page transcript. Happens when you click on the app menu and chose "Fetch page contents".

We're not currently displaying page summaries.


Bug: phantom loop

Hi,
here is another impressive bug:
http://jsfiddle.net/xc2o8y08/24/
It's probably related to #2423 but I'm not sure. Something is seriously broken there.
...anyway, I wish you a good Weekend.

Apparently, this occurs when a value is mistakenly not in the select options.
Here the simplified fiddle:
http://jsfiddle.net/xc2o8y08/25/

Works on latest (0.7): http://jsfiddle.net/xc2o8y08/27/
Breaks on edge (0.8): http://jsfiddle.net/xc2o8y08/26/
Ractive.components['comp'] = Ractive.extend({
  template: `

{{yield}}

  `
})

var ractive = new Ractive({
  el: 'body',
  template: `
    {{#if .condition}}
      I'm not even in an #each block, WTF?!
      {{#each .foo}}
        <comp>
          <select class="form-control" value="{{.bar}}">
            <option></option>
            <option>a</option>
            <option>b</option>
            <option>c</option>
          </select>
        </comp>
      {{/each}}
    {{/if}}
  `,
  data: {}
})

ractive.set({
  condition: true,
  foo: [{
    bar: 'd'
  }, {
    bar: 'e'
  }, {
    bar: 'f'
  }]
})

@dagnelies should be in the QA team :)
I would like to thank you for finding those bugs and taking the time to report them

@guilhermeaiolfi I hope not ;) ...it's just that I used it heavily in a project, so bugs pop up like if it was a honey pot
I was able to track this one and #2423 to:
https://github.com/ractivejs/ractive/blob/dev/src/view/items/element/specials/Select.js
I wouldn't say it's the source of the bug, it's more what triggers it ...I think ...but as I say, I find it hard to understand the sources enough.
        Select.prototype.sync = function sync() {
  		...
  		if (selectValue !== undefined) {
  			...
  			if (!optionWasSelected && !isMultiple) {
  				...
  				if (this.binding) {
  					// this.binding.forceUpdate(); // commenting this does not trigger bug #2424
  				}
  			}
  		}
  		...
  		else if (this.binding) {
  				// this.binding.forceUpdate(); // commenting this does not trigger bug #2423
  			}
  	};

...however, commenting these out would very likely trigger some other undesired behavior. Like not setting a variable. Additionally, a warning would also be appropriate here in the bound variable in not present in the select's options.

thanks!


feat(tests): Run test cases based on features

ref: https://github.com/beyondstorage/go-storage/issues/966

Do you think it's a big burden to remove all deprecated test cases from services? Can we just remove them?

Do you think it's a big burden to remove all deprecated test cases from services? Can we just remove them?

If we remove them directly, we need to remove the test functions called in services before releasing a new version.  Maybe we can do it together in https://github.com/beyondstorage/go-storage/pull/986?

Got it. Let's revisit this PR until we figure out what's the best way to organize those tests via features.


problem in build_mobilenetv3   NotImplementedError:

Python 3.6.7
tensorflow-gpu       1.12.0

Hi @william0418,
Thank you for your error report! We do not encounter such an exception when we use tensorflow-gpu==1.13.1. Could you try that version?
Cheers,
Martin

@william0418 You can see that there is no problem with creating a network. Here is an example in Google Colab https://colab.research.google.com/drive/1DCA6xMsl82mvGNTACF5NP7xduSeWJnwb


Sprockets filter configuration is outdated

Hi,
the configuration for the sprockets filter is outdated sind march 2011. On the service configuration there is a sprockets binary referenced, but that has been replaced on march 2011 by kris.

I have sent a pull request to get this bug closed. Take a look at #54


data.history for Cryptopia

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Ubuntu 16.04
Python Version: 3.6.6
Python Bitness: 64
How did you install Catalyst: using pip and virtualenv as described in docs
Python packages:

absl-py==0.5.0
aiodns==1.1.1
aiohttp==3.4.4
alembic==0.9.7
astor==0.7.1
async-timeout==3.0.0
attrdict==2.0.0
attrs==18.2.0
bcolz==1.2.1
boto3==1.5.27
botocore==1.8.50
Bottleneck==1.2.1
cchardet==2.1.1
ccxt==1.17.94
certifi==2018.1.18
chardet==3.0.4
click==6.7
contextlib2==0.5.5
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.27.3
cytoolz==<IP_ADDRESS>
decorator==4.3.0
docutils==0.14
empyrical==0.2.1
enigma-catalyst==0.5.20
eth-abi==1.2.0
eth-account==0.2.3
eth-hash==0.2.0
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.2
eth-typing==1.3.0
eth-utils==1.2.2
gast==0.2.0
grpcio==1.15.0
h5py==2.8.0
hexbytes==0.1.0
idna==2.6
idna-ssl==1.1.0
intervaltree==2.1.0
jmespath==0.9.3
Keras-Applications==1.0.6
Keras-Preprocessing==1.0.5
kiwisolver==1.0.1
Logbook==0.12.5
lru-dict==1.1.6
lxml==4.2.5
Mako==1.0.7
Markdown==3.0.1
MarkupSafe==1.0
matplotlib==3.0.0
multidict==4.4.2
multipledispatch==0.4.9
networkx==2.1
numexpr==2.6.4
numpy==1.14.0
pandas==0.19.2
pandas-datareader==0.6.0
parsimonious==0.8.0
patsy==0.5.0
Pillow==5.3.0
protobuf==3.6.1
pycares==2.3.0
pycryptodome==3.6.6
pyparsing==2.2.1
python-dateutil==2.7.3
python-editor==1.0.3
pytz==2016.4
redo==1.6
requests==2.18.4
requests-file==1.4.3
requests-ftp==0.3.1
requests-toolbelt==0.8.0
rlp==1.0.2
s3transfer==0.1.13
scipy==1.0.0
six==1.11.0
sortedcontainers==1.5.9
SQLAlchemy==1.2.2
statsmodels==0.8.0
tables==3.4.2
tensorboard==1.11.0
tensorflow==1.11.0
termcolor==1.1.0
tflearn==0.3.2
toolz==0.9.0
urllib3==1.22
web3==4.4.1
websockets==5.0.1
Werkzeug==0.14.1
wrapt==1.10.11
yarl==1.1.0

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
During live-trading on cryptopia I need to get some historical data before recent date. In handle_data I call
data.history(
        context.assets,
        fields=['close', 'high', 'low'],
        bar_count=31,
        frequency='30T'
    )

What did you expect to happen?

Obtain historical data.

What happened instead?

The function call finished without any exception, but returned data is empty e.g. instead of shape (3, 31, number_of_assets) I get (3, 0, number_of_assets).
UPD.: This is also true for paper-trading, so can be easily reproduced.
Thanks!
...
Sincerely,
amarch

Hi @Amarchuk ,
Thanks for reporting this, I was able to reproduce this.
It seems that Cryptopia behaves differently than other crypto exchanges when returning OHLCV candles.
Other exchanges, which are fully supported by catalyst, return OHLCV data in fixed intervals. Meaning that if 30-min candles are requested than the exchange will return the candles in fixed timestamps: 00:00, 00:30, 01:00, etc..
Cryptopia, however does not use fixed intervals. If for example two 30-min candles were requested in 01:43, than 2 candles with the following timestamps will be returned: 01:13, 00:43.
Catalyst does not support this behavior, thus you received an empty list from the data.history call.
Note however that the only frequency that could have worked correctly is the 1-min as its behaviour is the same in both approaches, however the minimal interval supported by Cryptopia is 15-min.
Although catalyst integrates with the CCXT library and has the potential to work with all its supported exchanges, some exchanges with non standard behaviour might have issues when using catalyst. We are actively testing and adding support for more exchanges in live mode.
The current list of the tested and supported exchanges can be found here.
Lena

@lenak25 thanks for the investigation!
It seems like the only option is to wait for needed round time like 00:30 and collect the data. It is not that good, because it is not always possible to obtain all needed for just one minute.
You can close this issue now, but one last question: how do you know that minimal interval supported by Cryptopia is 15min? I can't find proper link where this is mentioned.

It seems like the only option is to wait for needed round time like 00:30 and collect the data. It is not that good, because it is not always possible to obtain all needed for just one minute.

Yes, I understand.
Regarding the minimal interval, I used the CCXT code to learn about the supported timeframes.


update build scripts to use py3 container for running precheckin tox tests [cherry-pick]

Reviewer: trivial

cherry pick to queens as well.

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/188/

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/190/


enhance: When requiredSlots is empty, prune child previously in ColumnPruning

Proposed changes
Issue Number: close #xxx
Problem summary
When requiredSlots is empty, prune child previously in ColumnPruning.
A example:
Agg count(*)
- Filter age > 3
-- Scan id, age

We should get
Agg count(*)
- Project age
-- Filter age > 3
--- Scan id, age

instead of
Agg count(*)
- Project age, id
-- Filter age > 3
--- Scan id, age

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

column pruning has lots of special cases, and can not image all of the cases, so I can not review this pr.
but in my experience, this code more likely make the regression test, because I remember that I've write the code like you and failed.
when you run into the bug, you can unify abstraction and modification based on all known cases.


chore(main): release 1.1.1

:robot: I have created a release beep boop
1.1.1 (2024-08-01)
Miscellaneous Chores

add provenance statements in package (603cd55)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.1.1
:sunflower:


Import: Dependency 'archive:/cab-f9e1e8232d164f4ae32d2ada55300360/cab-f9e1e8232d164f4ae32d2ada55300360' hasn't been found
In the present state it can be somewhat worked around by using an extractor in programs like AssetStudio or AssetsBundleExtractor.
This is related to the project in my other issue, and the files there can be used for reference.
mafaca/UtinyRipper#445

I apologize, I may not have interpreted something it was doing incorrectly.
I'll look more into what it's doing, since it doesn't even seem to find the unpacked CABs, so it's possible all those missing dependencies are optional files that I hadn't acquired.

This is not an error, it is a warning message. To avoid it you need to pass bundle files in a order of their dependency of each other, same way you do it in unity. Other way is to extract all bundles in UABE and process extracted files in ripper

Thank you for the info. I'll also try the UABE method.

If you have more questions not related to ripper bugs, you can ask them in gitter


what is the difference between "actor-critic training" and "REINFORCE-critic" in the README.md ?

I may have figured it out. "2 .actor-critic training" is the step3 of algorithm 2 in the parper .


C# cannot export array of PackedScene

Godot version
v4.0.beta8.mono.official [45cac42c0]
System information
Windows 11
Issue description
When I export an array of PackedScene like so:
[Export]
private PackedScene[] scenes;

After build, I am unable to select scenes in the editor and the following error is output:
modules/mono/glue/runtime_interop.cpp:1216 - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   ---> System.InvalidOperationException: The type is not supported for conversion to/from Variant: 'Godot.PackedScene[]'
     at Godot.NativeInterop.VariantUtils.GenericConversion`1.ToVariant(T& from) in /root/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/VariantUtils.generic.cs:line 17
     at Example.GetGodotPropertyDefaultValues() in C:\Users\Jake\Desktop\Export Array MRP\Godot.SourceGenerators\Godot.SourceGenerators.ScriptPropertyDefValGenerator\Example_ScriptPropertyDefVal.generated.cs:line 9
     --- End of inner exception stack trace ---
     at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
     at Godot.Bridge.ScriptManagerBridge.GetPropertyDefaultValuesForType(Type type, IntPtr scriptPtr, IntPtr addDefValFunc) in /root/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs:line 927

Expected behavior is that exporting arrays works. Using Godot.Collections.Array works as expected.
Exporting arrays in the manner above worked in Beta 7.
Steps to reproduce

Export PackedScene array in manner shown above
Build project
Observe error in output console

Minimal reproduction project
Export Array MRP.zip

Duplicate of https://github.com/godotengine/godot/issues/69822
Should have been fixed by https://github.com/godotengine/godot/pull/69933


License isn't specified

Hey @alexkatz,
Thanks for this library. Could you please specify the license agreement?
Is it under MIT license?
Thanks!

Just checked package.json file and found a license there.


Add ActiveRecord module for wrapping perform in transaction

Maybe something like:
# la_gear/lib/la_gear/active_record/worker_transaction
module LaGear::ActiveRecord::WorkerTransaction
  def perform(*args)
    ActiveRecord::Base.transaction do
      super
    end
  end
end

# my_app/app/workers/my_worker.rb
class MyWorker
  include LaGear::Worker
  def perform
    # do awesomely transactional stuff!
  end
  prepend LaGear::WorkerTransaction::ActiveRecord
end

We wouldn't be able to do after commit things inside perform anymore unless we added an after_commit invocation and definition to the LaGear::ActiveRecord::WorkerTransaction.

It's a little awkward to have to remember to added the prepend after your perform too. Maybe something that intercepts methods instead?


Linux-Arm64 issue

I have had issues building this for Librem phone, as described here... do you know if this is yet a known issue? Not sure if this should just be appended to some arm64/M1 issue if that is similar.
https://github.com/ezra-bible-app/ezra-bible-app/discussions/644#discussioncomment-2362860

Prebuilt binaries should be available in the next release 🙂 If you still have an issue with node-sqlite3, let me know 🙂


Make preservation system configurable

This is change exists to allow for the taskqueue to determine whether or not to use archivematica or not. This could be done in a different way than the current option which is to set the preservation system variable to the a3m taskqueue. I think that simply using the taskqueue variable was a little awkward since it was tide to the a3m configuration struct. I think perhaps changing the a3m struct to a more general purpose preservation system struct or creating a new preservation struct may be more useful.

the last two commits add comment and remove variable are the only important changes. I just did some rebasing on main.


Superset and SQLLab - queries never finish in the query dialogue

(preview works fine now).
If I enter a query or use the copy to clipboard and paste in the UI says pending but it never returns.
These are queries with limits and should be just fine.
The log shows this endlessly..
2018-02-11 14:38:04,522:INFO:root:Parsing with sqlparse statement SELECT `LINE_ITEM_ID`,
       `SAPID`,
       `CUSTOMER`,
       `CAMPAIGN_NAME`,
       `AD_NAME`,
       `AD_TYPE`,
       `PLATFORM`,
       `COUNTRY`,
       `COST_BASIS`,
       `ACTUAL_RATE_ORIGNAL_CURRENCY`,
       `CURRENCY_ORIGINAL`,
       `ORDER_SALESPERSON`,
       `STARTDATE`,
       `GROSS_RATE`,
       `DISCOUNT`,
       `LASTMODIFIEDDATE`,
       `bq_load_timestamp`
FROM visualizations.MASTER_RATE_RPT
LIMIT 100
2018-02-11 14:38:05,062:INFO:root:Triggering query_id: 28
2018-02-11 14:38:05,062:INFO:root:Running query on a Celery worker
2018-02-11 14:38:06,916:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:08,918:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:10,914:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:12,921:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:14,925:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:16,920:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:38:18,912:DEBUG:root:[stats_logger] (incr) queries
...
[2018-02-11 14:39:04 +0000] [3334] [CRITICAL] WORKER TIMEOUT (pid:3793)
[2018-02-11 14:39:04 +0000] [3793] [INFO] Worker exiting (pid: 3793)
Loaded your LOCAL configuration at [/home/derwin/venv/bin/superset_config.pyc]
[2018-02-11 14:39:04 +0000] [4389] [INFO] Booting worker with pid: 4389
2018-02-11 14:39:04,911:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:39:06,914:DEBUG:root:[stats_logger] (incr) queries
2018-02-11 14:39:08,917:DEBUG:root:[stats_logger] (incr) queries

when I press stop..
2018-02-11 14:39:13,317:DEBUG:root:[stats_logger] (incr) stop_query

This might be a superset config issue .. checking into this Celery thing..

Yes .. just an issue with having redis configured.


Update reference to django-formset.js

It appears that this was not updated to reflect the correct location of the JS module.
Or perhaps integrating django-formset with the admin site is no longer supported, in which case this file could be removed?

Thanks for reporting. I'll check why this happend.


e2e tests scheduler-host-flag

This fixes the log in e2e output showing:
2024/05/24 23:52:21 previous pod: hellon1dapr-568d6d5b9d-w9zkm, logs: unknown flag: --scheduler-host-address

I must have not pushed it but had it locally. To get e2e tests working locally I had to make edits to these files and just forgot to add this change.
NOTE, this does not fix e2e test entirely. That will happen once actor reminders no longer default to using scheduler (in a follow up PR where I'll add a preview feature for it)

Approved.
On Fri, May 24, 2024 at 5:24 PM Cassie Coyle @.***>
wrote:

Assigned #30 https://github.com/cicoyle/dapr/pull/30 to @artursouza
https://github.com/artursouza.
—
Reply to this email directly, view it on GitHub
https://github.com/cicoyle/dapr/pull/30#event-12930522985, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA77CX7JCTWQMT22GBCMKTZD7K27AVCNFSM6AAAAABIIMQ3JOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHEZTANJSGI4TQNI
.
You are receiving this because you were assigned.Message ID:
@.***>


Opus encoder ignores opus_bitrate setting

if a peer doesn't send maxaveragebitrate.
After 11efdf7 this code (78885f3) no longer works because auc->fmtp is now NULL and conf_prm.bitrate is always OPUS_AUTO:
	conf_prm.bitrate = OPUS_AUTO;
	opus_decode_fmtp(&conf_prm, auc->fmtp);

	if ((prm.bitrate == OPUS_AUTO) ||
	    ((conf_prm.bitrate != OPUS_AUTO) &&
	     (conf_prm.bitrate < prm.bitrate)))
		prm.bitrate = conf_prm.bitrate;

For example, a call to<EMAIL_ADDRESS>(free echo test)
our offer:
a=rtpmap:96 opus/48000/2
a=fmtp:96 stereo=1;sprop-stereo=1;maxaveragebitrate=28000

their response:
a=rtpmap:96 opus/48000/2
a=fmtp:96 useinbandfec=1

encoder fmtp == useinbandfec=1 and the codec encodes at ~97 kbit/s.

glenvt18 writes:

For example, a call to<EMAIL_ADDRESS>(free echo test)

Looks like they need to upgrade the test:
Sep 30 11:33:08 box /usr/bin/sip-proxy[1507]: ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS write:error:1417118C:SSL routines:tls_process_server_hello:version too low
-- Juha

@juha-h You can connect to sip2sip.info directly (no authorization required), or use ;transport=udp.
I've just tested it with linphone: linphone also sends useinbandfec=1, but it's codec runs at 34 kbit/s.

Hi @glenvt18
your observation is indeed correct.
could you please try this patch and see if it works better:
diff --git a/modules/opus/opus.c b/modules/opus/opus.c
index 78ed3bf..48311f1 100644
--- a/modules/opus/opus.c
+++ b/modules/opus/opus.c
@@ -63,13 +63,12 @@ static struct aucodec opus = {
        .srate     = 48000,
        .crate     = 48000,
        .ch        = 2,
-       .fmtp      = NULL,
+       .fmtp      = fmtp,
        .encupdh   = opus_encode_update,
        .ench      = opus_encode_frm,
        .decupdh   = opus_decode_update,
        .dech      = opus_decode_frm,
        .plch      = opus_decode_pkloss,
-       .fmtp_ench = opus_fmtp_enc,
 };

@@ -134,6 +133,9 @@ static int module_init(void)

        (void)conf_get_bool(conf, "opus_mirror", &opus_mirror);

+       if (opus_mirror)
+               opus.fmtp_ench = opus_fmtp_enc;
+
        debug("opus: fmtp=\"%s\"\n", fmtp);

        aucodec_register(baresip_aucodecl(), &opus);

/Alfred

@alfredh Looks like the bitrate setting is fixed now. Mirroring works. If mirroring is active, there are two fmtp lines in the answer (.fmtp, .fmtp_ench):
a=fmtp:96 stereo=1;sprop-stereo=1;maxaveragebitrate=42000;cbr=1;useinbandfec=1
a=fmtp:96 stereo=1;sprop-stereo=1;maxaveragebitrate=60000

If that is OK, the issue is fixed.
Here are the logs.
Alice's config:
opus_bitrate		60000 # 6000-510000

Bob's config:
opus_bitrate		42000 # 6000-510000
opus_cbr			yes
opus_inbandfec		yes
opus_mirror			no

Alice calls Bob. Both operate at 42000 bit/s.
https://pastebin.com/t7dJ3kYu
Now Bob has
opus_mirror			yes

Alice calls Bob. Alice operates at 60000 bit/s. Bob operates at 42000 bit/s.
https://pastebin.com/DmApGZJJ
When Bob calls Alice, both operate at 42000 bit/s.
BTW. What's the idea behind mirroring?

Hi @glenvt18
many thanks for your detailed and precise bug report, and for testing the fix.
I have pushed a fix now to master.
mirroring is a special mode for incoming calls where the SDP Answer will contain
exactly the same opus parameters as the SDP Offer.
/Alfred


[BUG] Default time everything AM

Fix this issue please.

Also Happens with me.

@florent37  Hello,
Can you please check for this issue ?
When I set setMustBeOnFuture(true), it only sets date on future but we can select past time of this date.
And if we set setMinDate(new Date(System.currentTimeMillis())); we can select time in future, but in this case AM-PM is not working properly.
By default it takes AM as current/Min time. So If its 3.15 PM we can select time till 3.15 AM.
I have used below code for setting future time. But still having issues with AM-PM.
singleDateAndTimePicker = (SingleDateAndTimePicker) getView().findViewById(R.id.single_day_picker);
        singleDateAndTimePicker.setMustBeOnFuture(true);
        singleDateAndTimePicker.setIsAmPm(true);
        singleDateAndTimePicker.setMinDate(new Date(System.currentTimeMillis()));

Any help would be welcomed :+1:

It might be late but, still it will surely help someone using this library. After going thru the code i figured out how to fix this issue.
In SingleDateAndTimePicker.java, change following (Line no: 71):
isAmPm = !(DateFormat.is24HourFormat(context));
to
isAmPm = (DateFormat.is24HourFormat(context));
In WheelMinutePicker.java, in menthod findIndexOfMinute(int minute) line no: 79: change the following:
if (minute < value) {
               return i - 1;
           }

          to

if (minute < value) {
                return i;
            }

Above code will show up current time on Picker or if current time(minutes) doesn't fall under multiple of 5, then it will show time(minutes) greater than current time.
In WheelPicker.java, in menthod findIndexOfDate(Date date) line no: 857: change the following:
if (formatItem.equals(object)) {
       return i;
     }

          to

 if (formatItem.equals(object)) {
                return i + 1;
            }

Above code will not let the user to select the time less than current time.

I'm using defaultDate(Date) and it sets correctly.
.defaultDate(new Date())

However, we should be able to set defaultDate for tab0 and tab1 in the double picker

you can use tab0Dateand tab1Date


support event_dim != 0 propagation in split_subsets

This might require a change to Preemptions.

I think this was resolved by #490.


FAI-8919 Optionally associate tags with the metric values

Description
Accepts a tag uid, key and value to associate with the written metric values.
Type of change

[ ] Bug fix
[X] New feature
[ ] Breaking change

Related issues

Fix #1

Migration notes

Describe migration notes if any

Extra info

Add any additional information

@ypc-faros are going forward with it or should I close it?

@ypc-faros are going forward with it or should I close it?

Going forward. Waiting for your thoughts here: https://github.com/faros-ai/airbyte-connectors/pull/1280#discussion_r1437718540


Configure the CUDA BLAS libs for spark

Allows sparkml to run on GPUs:

build spark with BLAS support
https://github.com/Mega-DatA-Lab/SpectralLDA-Spark/wiki/Compile-Spark-with-Native-BLAS-LAPACK-Support
install BLAS
https://gist.github.com/dusenberrymw/d24fcefcd245cfacbc60d3b4caccc560

Added by #539


Can't add a host in Advanced Zone - Unable to add the host

ISSUE TYPE

Bug Report

COMPONENT NAME

Zone, management

CLOUDSTACK VERSION

4.15.1

CONFIGURATION

KVM
Advanced Zone
Single server installation (mgmt, host, db, storage)
LocalStorage enabled
OS / ENVIRONMENT

Ubuntu 20.04.2
SUMMARY

I'm able to add a host X to the Basic Zone
However, I'm getting an error when I try to add the second (Advanced) Zone and add the same host X to it.
I've also tried removing the host X from the Basic Zone first, expunging all VMs and SystemVMs and restarting cloudstack-management and cloudstack-agent services. Still getting the same exception
log
STEPS TO REPRODUCE

1. Setup CloudStack on a single server (mgmt, host, db, storage)
2. Add a Basic Zone
3. Add the host X to the Basic Zone
4. Add Advanced Zone
5. Add  host X to the Advanced Zone
6. Notice the exception - Unable to add the host
7.  Remove host X from the Basic Zone
9. Add host X to the Advanced Zone
10. Notice the exception - Unable to add the host

EXPECTED RESULTS

1. Add a host to the Advanced Zone
2. Add the same host X to both Basic and Advanced zones

ACTUAL RESULTS

1. Can add a host to the Basic Zone
2. Fail to add a host to the Advanced Zone

@tampler was the username 'root' when you added the host ?

@tampler you can not add same host to multiple zones. it is not an issue.

@tampler
by the way, could you subscribe to cloudstack users mailing list and ask question in mailing list ?
https://cloudstack.apache.org/mailing-lists.html

@weizhouapache
Hello, that's not a question, that's a BUG report. Have you looked into a log attached? There's an exception adding a host in Ubuntu for an Advanced Zone, please re-open my issue

@tampler
by the way, could you subscribe to cloudstack users mailing list and ask question in mailing list ?
https://cloudstack.apache.org/mailing-lists.html
No, sorry, I can't. Not using mailing lists

@tampler, it is failing because of this
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper and I guess you have to allow sudo to be used without a password

@slavkap Wow thanks a lot for your hint. You are my CloudStack Failry now :grinning: :grinning: :grinning: :innocent:
Sure, adding my non-root user to sudoers, who don't need password made the trick
Thanks a lot for your patience and a wise help. I really appreciate
Closing the issue


feat: Get LEVEL Creation to work

What does this PR do?
fixes: #72
video1: showing visibility of levels
Screencast from 15-05-24 02:25:33 AM IST.webm
video2: showing functionality
Screencast from 15-05-24 02:16:23 AM IST.webm
How should this be tested?

Test A
Test B

Checklist
Required

[ ] Filled out the "How to test" section in this PR
[x] Read How we Code at oss.gg
[x] Self-reviewed my own code
[x] Commented on my code in hard-to-understand bits
[x] Ran pnpm build
[x] Checked for warnings, there are none
[x] Removed all console.logs
[x] Merged the latest changes from main onto my branch with git pull origin main
[x] My changes don't cause any responsiveness issues

Appreciated

[x] If a UI change was made: Added a screen recording or screenshots to this PR
[ ] Updated the Formbricks Docs if changes were necessary

things remaining in this pr for it to be complete:
(These are not solved because I don't have S3 access token and other required envs related to s3)

testing/correcting/refactoring the icon upload code.
2)add a fallback icon,when no icon,currently displaying a div with "fallback content".
3).testing update functionality with icon. (the update level functionality, without image, is working correct)

(functions related to icon upload has not been touched , maybe commented,may require to amend/remove them accordingly.)
+
any other related to icon.
i have created a draft pr, solving majority issues. the above ones are remaining and in order to solve them you need to have envs related to aws S3.
Thank you

Hey @manish-singh-bisht
Thanks a lot for shipping this and sorry for the delayed review.
Most of the comments are related to the levels not being visible to the users. Pls recall that the levels are derived from the current points a user has. This should make it fairly easy to display both the current score and corresponding level / progress bar.
Please make sure to build reusable components to which you can pass the levels object and the current point score. The component then decides what to display to each user. Does that make sense?
Here the different views we need to see levels:

Add Level info to dashboard

from

to

See here
https://www.figma.com/file/usCYaOpv13zMpvjEVc5z0Z/oss.gg-web-app?type=design&node-id=1%3A208&mode=design&t=VtKKdyMS1yAZfiJu-1

Add levels tabs and infos to the repository detail page:

https://www.figma.com/file/usCYaOpv13zMpvjEVc5z0Z/oss.gg-web-app?type=design&node-id=6%3A673&mode=design&t=VtKKdyMS1yAZfiJu-1

Add levels info to the Leaderboard

If a repository has levels, we should display them in the leaderboard.

If there is no user yet in a specific level, display a placeholder text:
"No player levelled up here yet. Who's gonna be the first?"

Open issues list: Add level info

We already pull all the labels from the issues. Find a good approach to compare the attached labels of issues with the label settings of all the levels a repository has. For each issue, display the badges of the levels which are eligible to work on this issue:

While your own the issue component anyways, please update the styling to match the Figma layout.

On the public profile page

Display the corresponding level emblem with the repo logo (in small) underneath the image:

REVIEW IN PROGRESS

@jobenjada  ready for review.
have added video in the description

Hey @manish-singh-bisht
thanks a lot for following up, this looks really good :)
Noticed one thing:

When you want to create a new level and hit "Save" without having added an image, it removes the form incl. all inputs. Instead, just highlight the field upload field with a red border and keep all values in the form :)

I'll go ahead and merge this regardless, as its a minor tweak which shouldn't block us :)

/award 500


About us page

Is your feature request related to a problem? Please describe.
Yes, Making a about us page will allow user to be more familiar with the website
Describe the solution you'd like
I would be making the about us section which would be directed through the footer button
Describe alternatives you've considered
The section would be fully responsive along with matching UI
Additional context
Kindly assign this task to me under GSSoC'24

@Jagpreet153 Issue assigned to you

Merged


Theme Names with Characters

I've got a theme with a period in the name such as testing.site. Unfortunately when I use the link tag helper:
<%= theme_stylesheet_link_tag 'styles' %>

It throws the following error:
No route matches {:controller=>"themes_for_rails/assets", :theme=>"testing.site", :asset=>"styles.css", :action=>"stylesheets"}

Any ideas?

Hi, better later than never. Fixed on master. This will be released soon as a new gem.
Thanks for the report.


Loading files on other devices?

Does this support opening files in locations other than where the module itself resides?  For example, if I have (hd0,gpt1) as where SELoader (and shim and everything else reside) and wish to have GRUB load from a FAT partition that's on (hd0,gpt2) instead AFAICT SELoader (and Mok2Verify) is passing back FILE_NOT_FOUND even if yes, the file really does exist.  Any pointers greatly appreciated, thanks!

Hi,
Same issue here. I have Grub/shim/SEloader loading from the EFI partition (sda1) and grub.cfg,kernel and initramfs from the rootfs partition (sda2). Is there a way to make SEloader resolve the paths relative to the partition the images being verified are loaded from rather than the partition the module was loaded from?
Thanks!

Did you manage to resolve this issue?
I have SELoader.efi on partition 1 and kernel+initramfs on partition 2 or 3. I keep seeing a debug message saying "Failed to opem file (hd0,gpt2)\boot\bzImage..."
My disk layout:
Disk /dev/mmcblk0: 29.74 GiB,<PHONE_NUMBER>4 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 24E73E75-8DAD-4CBD-B0EC-C9D57DA3BF10

Device           Start     End Sectors  Size Type
/dev/mmcblk0p1   16384   49151   32768   16M EFI System
/dev/mmcblk0p2   49152 4063231 4014080  1.9G Linux filesystem
/dev/mmcblk0p3 4063232 8077311 4014080  1.9G Linux filesystem
/dev/mmcblk0p4 8077312 8339455  262144  128M Linux filesystem

Do you have a tip, how to load kernel from different partition? I can see that SELoader tries to read from different partition already, but fails.
Thanks a lot.

No, I reworked my A/B update scheme to include logic to update the ESP contents after flashing before rebooting.  Given your layout @phatina you may need to do the same.  That also means going with a larger ESP :)

No, I reworked my A/B update scheme to include logic to update the ESP contents after flashing before rebooting. Given your layout @phatina you may need to do the same. That also means going with a larger ESP :)

Hi, thank you for a quick reply. I am using Mender for OTA updates which puts kernel and initramfs into separate partitions so that I can update also those. What do you suggest to do with EFI partition? Since OpenRootDirectory() in File.c opens the same device where SELoader.efi is placed, how can I reach other device with my kernel?
Thanks.

I was also using Mender in that case and went with (I can't go check the details easily atm) the supported post-install pre-reboot hooks to copy what I needed around and have corresponding changes so it would use the kernel+initramfs from the ESP and not A/B directly.

Aha, okay.
So you mimicked A/B interface in ESP, say we have /boot/a/bzImage{,.p7b} and /boot/b/bzImage{,.p7b}?
As per post-install hook - this one copied the fresh new kernel to ESP, right?
What about pre-reboot hook? What role did it serve in this case?
Thank a lot Tom.

I can't dig at the details, sorry, but in short, yes, I mimicked A/b under EFI/ on the ESP and then used some of the supported spots in Mender to copy the contents and overwrote the grub.cfg logic to know to use that location instead of A/B rootfs itself.  I only needed to modify one hook I recall.

@trini Do you have a clue if I can use this SELoader to boot from PXE?

@phatina Did not do anything with PXE, sorry.

i have basically the same question - opened a bug here: https://github.com/jiazhang0/meta-secure-core/issues/155
add this to have a cross reference


Upgrade shoe example to 0.17 patterns

Since the react-whiteboard bug was actually already fixed in the end I'll open a PR for this right away!


feat: Add translation tags and english + german translation

I've added translation tags everywhere and translated everything into german
Description
I've decided to add translation tags everywhere in the application, because it's becoming more and more of a pain to replace every chunk that needs to be translated when the codebase grows. I've also translated everything from English into German.
Requirements

[x] Followed code style

What's to be done

[x] added translation tags and german translation

First of all, thanks for your contribution! :+1:
This is something I wanted to figure out at some point when I get to translations, but now since you take the beginning duty on here, why not discuss this a bit.
As a general notice in the review, you don't have to use the message key for starters. message.hello was just the plain Hello World message to see if locales work.
We need a proper structure for the locales, something that is easy to adjust to and not too complex. Having everything down in one namespace is simple and easy to write, but not too nice structurally.
How about, if we take the profile creation modal for example:
message.profile_create_long

That key tells us it's used somewhere where profiles are created.
Something I propose, more related to file/component structure:
modal.profile.title

This key tells us, it's a Modal, most likely related to Profiles and a title in there. Also, since this also follows the file structure inside components, finding the location where this key is used is pretty straight-forward as well.
This is just something I had in mind, a personal suggestion, if you have another idea, just drop it in!

Yep, that makes sense! I'm gonna restructure it and commit again!

Just ran everything locally and it works just fine! Thank you for getting the locales started, almost forgot about them! 🎉


How to share the code between 'Kinugasa.Mvvm' and 'Kinugasa.Mvvm.Uwp'

These projects has a lot of same code.
This problem is violate DRY.

To change Kinugasa.Mvvm.Uwp classes inherit Kinugasa.Mvvm's class.


Add "Save and retrieve Qiskit objects" page

Continuation of #956
Link to preview.

It may be worth noting that QPY only provides backward compatibility but not forward. So it may not work if you are trying to use Qiskit version N-1 to load a payload dumped from version N.

@jyu00 does this sentence describe it correctly?

QPY files save the full Qiskit circuit object and are forward-compatible, meaning they'll be compatible with newer versions of Qiskit.

I think the confusion comes from the file type vs. the QPY program. Does this remove the ambiguity?

QPY files store the full Qiskit circuit object and will be compatible with newer versions of Qiskit (although not necessarily with older versions of Qiskit).

It removes mention of forward/backwards compatibility and makes it clearer that older versions of Qiskit might not understand the file.


DrRacket and trs2-impl.scm

Hi,
I'm starting to read the book and would like to play with examples along - using DrRacket.
However,
#lang Racket   (or R5RS)
(load "/tmp/CodeFromTheReasonedSchemer2ndEd/trs2-impl.scm")

leads to an error:
/tmp/CodeFromTheReasonedSchemer2ndEd/trs2-impl.scm:20:0: #%top-interaction: unbound identifier;
 also, no #%app syntax transformer is bound in: #%top-interaction

How can I use trs2-impl.scm implementation in DrRacket?
Thank you!

Here is a fix:
Modify trs2-impl.scm to declare a language and provide functions/macros:
; file trs2-impl.rkt

#lang racket

(provide run
	 run*
	 var?
         ==
         conj
         disj
         succeed
         fail
         fresh
         conde
         conda
         condu
	 )

In DrRacket, use require:
#lang racket

; This assumes `trs2-impl.scm` is in your home directory, modify as needed.
(require "trs2-impl.scm")

(run* q
      (disj
       (== q 5)
       (== q 6)))

Yes, this solves the problem. Thank you!


Update Katacoda Official Link

Signed-off-by: soniasingla<EMAIL_ADDRESS>CC: @bwplotka :)

@yeya24 can you please merge this?

Merging this. This doesn't change anything that touches functionality. Tests fail because of flaky reloader test.


Specify renovate ignored path for root devfiles

What does this PR do?:
This PR tries to fix the issue from renovate which currently ignores all updates on *devfile.y(a)ml files. This has been occurred after the merge of https://github.com/devfile/registry/pull/278.
In order to define the ignored path more explicitly each root devfile.y(a)ml file has now the prefix ./.
Which issue(s) this PR fixes:
N/A
PR acceptance criteria:

[ ] Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
[ ] Test automation
Does this repository's tests pass with your changes?
[ ] Documentation
Does any documentation need to be updated with your changes?
[ ] Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

/retest

/retest

/retest

/retest


Dev

Added an example for the Amiga based on #76 . This implements the example for what I could find off of Factor Five as free software.

Build works successfully and works with examples I could find from developers.


Delete plutus-playground

Deleted all references to plutus-playground* and web-ghc
Still needs to refactor playground-common

This must be a new record :D

Hey, sorry for a newbie question, where should I search for the information on reasons for deleting the plutus-playground? Has it been moved somewhere else?

I have the same question. Is this community not explain anything now?

@baibinghere
https://github.com/input-output-hk/plutus-apps/issues/653#issuecomment-1326453253


Add missing build dependencies.

Add apt-get install lines for R dependencies that are needed to build
successfully.
What is this PR for?
This pull request adds installation instructions for building which relate to missing dependencies resulting in failing to build (if using R).
What type of PR is it?
[Documentation]

thanks!
merging if no more comment


Added interceptor feature and general improvements

Added BeamInterceptor and fixed a BeamPage.noTransition issue and general improvements

Done ✅


Reduce duplication for operation validation

~Each Operation's validate method should start by calling super.validate() before performing it's own checks.~

Each operation has its own complete validation code to verify if the operation is valid, however some of these checks apply across operations, where possible we should reduce the duplication.

This library is now end-of-life and this issue won't be fixed.
This issue has been tagged EOL in case any forks want to import it.


Is it possible to load Component one by one on active tab

Hi,
I need to load 3 components instead of the 3 texts in the ScrollableTabView (as above src code) and I am wondering if I can load one component by one depending on the active tab. Is it possible and how to do it ?
<ScrollableTabView style={{ marginTop: 20, }} initialPage={1} renderTabBar={() => <ScrollableTabBar />}
            >
                <Text tabLabel='Profile'>Profile</Text>
                <Text tabLabel='Outings'>Outings</Text>
                <Text tabLabel='MyOutings'>MyOutings</Text>

            </ScrollableTabView>

Not sure that understood you? Can you be more specific about what are you going to do?

I believe @bbhighrock wants to know if pre-load is possible and configurable. This is achieved with prerenderingSiblingsNumber

Okay, I read my first comment and Indeed I wasn't that clear. So actually when tab1 is active, I want the associated component displayed but the components of tab2 and tab3 not loaded to prevent big delay in answer from the database. So I need to load components one by one depending on which tab is active.  Do you know what I mean ?

@bbhighrock  I think so. Then @ben-snaize comment is relevant and react-native-scrollable-tab-view should work as you described. What made you think that it is working differently?

Close for no response.


Update focaccia recipe, fixes #9

Added ingredients and instructions to focaccia recipe

I think it should be in oven and not pan?

Fixed pan-> oven with commit #8ecadc6

This looks good to me


bug(MatProgressSpinner): Progress spinner circle expands beyond the specified diameter

Reproduction
Create a progress spinner with a stroke width greater than 10.
https://stackblitz.com/edit/components-issue-hjmhk7?file=src%2Fapp%2Fexample-component.html
Expected Behavior
The spinner circle should remain within the specified diameter as with the parent progress-spinner element.
Actual Behavior
The spinner circle expands outside its parent progress-spinner element and beyond the specified diameter. The circle will continue to expand as the stroke width is increased, potentially overlapping adjacent components.

Notes
This is related to the way the circle radius is calculated here:
https://github.com/angular/components/blob/294b8ee3c969e0550238ccbe8df1722c1c4e9318/src/material/progress-spinner/progress-spinner.ts#L233-L235
Subtracting a STROKE_WIDTH constant of 10 means that the circle element will only have the correct size when the spinner stroke width is 10.
Related Issues
#19469 - The use of STROKE_WIDTH in the radius calculation also prevents progress spinners of diameter <= 10 from being shown.
Opening this issue based on discussion in a related PR https://github.com/angular/components/pull/20062
Environment
Environment
Angular: 10.0.7
CDK/Material: 10.1.1
Browser(s): Google Chrome Version 84.0.4147.105
Operating System: Windows 10 version 1909

This is fixed using the new MDC-based progress spinner in version 15: https://stackblitz.com/edit/angular-dwqxqp


Question

Hi @wheatjs,
First of all, this is a awesome plugin. Thanks for it.
I have just a question, i don't know if it can be a feature request or not:
Is there any simple way to use another graphql provider with your plugin? Like villus or apollo

Hey @jbaubree,
I actually have a work-in-progress version that would allow for support of any provider. Give me a few days and I'll open up the repository/branch. It ended up being a complete rewrite and I haven't touched it in a bit, but since there is some interest I'll give it a look again and try to get it up to speed with everything else.

Thanks for your quick answer @wheatjs.
This is a great news ! 🎉 I can not wait to see this new version that will be awesome.

Hi @wheatjs can you please tell me if this support VITE 5 ? thanks


Types Error

Purpose
Fix issue where app was crashing anywhere types were needed

Coverage remained the same at 26.284% when pulling 53f9c351fb307b1b2c499117842142460ae9a97e on martinmckenna:hotfix/types-error into 4c6a94fc260250b94aaa0733eaca3599c7e28b95 on linode:develop.


Improved accuracy and detail of pre-populating forms from a URL

I hope these are an improvement, they're accurate as far as I can tell from my testing.

@gregharvey could you take a look at the proposed changes so we can get this merged?

Sorry, I get so many GitHub notifications they're almost useless when it comes to spotting individual PRs needing a response! :-(

No worries! Have replied to the last comment that is outstanding :)

@gregharvey this one has a conflict to resolve now. Can you take a look please and also at the outstanding comments? Thanks!


Create SecureBankingAcceleratorToolkit.github.io web site

Story
As a developer I want to create a website so that the customer have one place to consult all related with the Secure Banking Accelerator Toolkit source.
Acceptance criteria

Public Secure Banking Accelerator Toolkit web site hosted by github.

Tasks

[ ] Create SecureBankingAcceleratorToolkit.github.io web site

Release Notes
Affected App: Documentation and contents.

This issue need a lot more in the way of requirements before we can start on it. It maybe that we should put this documentation on the foregerock developer site. Need to discuss with management before we make any firm decisions.

Done


Change ownership of default adapters to ember-cli organization

Since ember-deploy-redis and ember-deploy-s3 are the out-of-box defaults, I feel like it makes most sense for them to live in the ember-cli organization.
Any thoughts on this?

Hi @tim-evans . We have had a very brief discussion about this a few months back but I don't believe we decided upon a way forward.  We do totally agree that there should be some easy way for users to see a list of supported or endorsed plugins but we haven't decided the best way for this to be surfaced yet.  Not convinced if them being put under the ember-cli org is necessarily the way to go.
Ideally we want the community to be building plugins and we will compile a list somewhere of the ones we endorse and tests ember-cli-deploy against.
We are in the process of putting together a static site as a landing place for ember-cli-deploy which will include this list.
Thanks for the input. More than happy to get this discussion going here.  Love to hear the thoughts of @lukemelia , @samselikoff , @LevelbossMike and @danshultz

@achambers Thanks for the quick response. Yeah, that makes sense to me. Maybe getting in touch with @kategengler about adding an "endorsed" flag to emberobserver.com? That seems like the happiest path going forward

Yep, that could also be an option :)

The endorsed flags sounds like a better idea than moving a lot of plugins to the ember-cli organization as far as I am concerned because this might get out of hand pretty quickly I suppose. Happy to accept more contributors to the above mentioned projects though :)

Right now on emberobserver there is a flag for "Official" that is set for anything under the emberjs or ember-cli organizations. My reasoning was that anything under those orgs has the support, maintenance, and the eyes of the core team. For an "endorsed" flag, I would need a way of getting a list of addons that are in that set, and who exactly is endorsing them.

Maybe we could drive this out of package.json.
...
  "ember-addon": {
    "worksWellWith": ['ember-deploy-s3', 'ember-deploy-redis', 'ember-deploy-etc']
  }
...

I like the approach of 'works-well-with'.

I think this no longer belongs here. If anyone wants, they may close this issue and submit an RFC for the works-well-with note.

Thanks @tim-evans .  I have captured the works-well-with change in our task list for in the v0.5.0 PR #130


Mobile - Support Asset Hub Swap

Describe the task
Support Asset Hub Swap

Refer issue: https://github.com/Koniverse/SubWallet-Extension/issues/2512

Version test: https://www.diawi.com/qrcode/link/qvLkem
Device test: IP 11

[ ] Update logo for asset hub

Version test: v1.1.69(409)
Device test: IP 11
Validation passed.

Swap DOT (Asset Hub) --> USDC: https://assethub-polkadot.subscan.io/extrinsic/0x63a0ab06d65e14f1dc18f73b778d5a68f99cc554de684a569a4f7662c5249c7f

Swap DOT (Asset Hub) --> USDt: https://assethub-polkadot.subscan.io/extrinsic/0x5d364e989ddbc33691d283c4cbda77047a536f2f6fa013ec97650c35f74cb4ed

Swap USDC (Asset Hub) --> DOT: Approve step

Swap USDt (Asset Hub) --> DOT: https://assethub-polkadot.subscan.io/extrinsic/0xc670431045df01912bffce0b9e0f7f134a991fbef49badf8a6b7893609d45d04

Re-check all validate

Amount = 0

Insufficient balance

ED of the local token

Change swap pair

Show low liquidity (Price impact < 0.15%)
Check page: https://app.dotacp.mvpworkshop.co/swap

Add pay attention (auto-scroll)

Version test: v1.1.69(409)
Device test: IP 11
Validation passed.

Swap DOT (Asset Hub) --> USDC: https://assethub-polkadot.subscan.io/extrinsic/0x63a0ab06d65e14f1dc18f73b778d5a68f99cc554de684a569a4f7662c5249c7f

Swap DOT (Asset Hub) --> USDt: https://assethub-polkadot.subscan.io/extrinsic/0x5d364e989ddbc33691d283c4cbda77047a536f2f6fa013ec97650c35f74cb4ed

Swap USDC (Asset Hub) --> DOT: Approve step

Swap USDt (Asset Hub) --> DOT: https://assethub-polkadot.subscan.io/extrinsic/0xc670431045df01912bffce0b9e0f7f134a991fbef49badf8a6b7893609d45d04

Re-check all validate

Amount = 0

Insufficient balance

ED of the local token

Change swap pair

Show low liquidity (Price impact < 0.15%)
Check page: https://app.dotacp.mvpworkshop.co/swap

Add pay attention (auto-scroll)


Cannot export audio via Reberb node using OfflineContext

Currently, it is impossible to export audio using with the Reverb node using OfflineContext

Make sure you await reverb.ready
This works fine for me:
const buffer = await Offline(async () => {
	const osc = new Oscillator();
	osc.start(0).stop(0.1);
	const reverb = new Reverb(0.2).toDestination();
	osc.connect(reverb);
	// reverb generation is async
	await reverb.ready;
}, 0.3);


Fix #351 Use 'furo' as Sphinx theme

Here a preview of the documentation with furo theme:
https://django-configurations--352.org.readthedocs.build/en/352/index.html


fix: Fetch app's current branch from redux store

Description
Cause of issue
Appsmith's persistent data is stored in the browser's localStorage under a key generated using the applicationId and branch name. When fetching the store's value on page load, if the branch's name is not present in the URL string, its value defaults to an emptyString.
Solution
Default value of branch name should be the current git branch.
Fixes #15692
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
manual
Test Plan
Cypress covers test case
Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[x] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[x] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=7c9b27d

/ok-to-test sha=91f164b

/ok-to-test sha=ca2f8b8

LGTM @ohansFavour

/ok-to-test sha=bd27731

/ok-to-test sha=db9d6b7


Use normalized axis as a common name for negative axis support - with change in MLIR

address comment https://github.com/NervanaSystems/ngraph/pull/3708#pullrequestreview-307343338

Could you please add MLIR somewhere in the title and rerun CI so that MLIR tests are executed? Thanks!

added to title and re-running

I agree with @diyessi. Let's call it axis.
From my point of view it correlates with OpenVINO.

We will need a different solution than just renaming. I will close this PR.


Remove broken links for Broken SP links

Description:
Per your sites instructions: https://wso2.com/analytics-and-stream-processing/install/yum/community/get-started/ However this URL does not work: [mmoser@corp.aires.com@ai-pit-linux ~]$ curl https://bintray.com/wso2/rpm/rpm/bintra-ws02-rpm.repo
Since we no longer privde yum, we should remove these broken links.

Update [2024-10-31]
APIM 4.4.0 - SI docs are removed from the doc space
currently yum links do not exist in other 4.x versions


Increase retry time

I found wait_for_detach was failing because
retry wasn't waiting long enough. This should
fix that.

LGTM


NoMethodError: undefined method `gsub' for nil:NilClass following net-ssh patch upgrade

As discussed on gitter, a problem appeared following the patch 2.9.2 of the net-ssh gem. Symptoms are that the error below show when converging a chef-provisioning recipe (output in debug mode):
                      ================================================================================
                      Chef encountered an error attempting to load the node data for "simplest-server"
                      ================================================================================

                      Unexpected Error:
                      -----------------
                      NoMethodError: undefined method `gsub' for nil:NilClass

                      [2015-01-13T15:46:19+00:00] DEBUG: Re-raising exception: NoMethodError - undefined method `gsub' for nil:NilClass
                      /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication/signedheaderauth.rb:120:in `canonical_path'
                        /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication/signedheaderauth.rb:145:in `canonicalize_request'
                        /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication/signedheaderauth.rb:93:in `sign'
                        /opt/chef/embedded/apps/chef/lib/chef/http/auth_credentials.rb:51:in `signature_headers'
                        /opt/chef/embedded/apps/chef/lib/chef/http/authenticator.rb:88:in `authentication_headers'
                        /opt/chef/embedded/apps/chef/lib/chef/http/authenticator.rb:43:in `handle_request'
                        /opt/chef/embedded/apps/chef/lib/chef/http.rb:222:in `block in apply_request_middleware'
                        /opt/chef/embedded/apps/chef/lib/chef/http.rb:220:in `each'
                        /opt/chef/embedded/apps/chef/lib/chef/http.rb:220:in `inject'
                        /opt/chef/embedded/apps/chef/lib/chef/http.rb:220:in `apply_request_middleware'
                        /opt/chef/embedded/apps/chef/lib/chef/http.rb:141:in `request'
                        /opt/chef/embedded/apps/chef/lib/chef/rest.rb:115:in `get'
                        /opt/chef/embedded/apps/chef/lib/chef/node.rb:496:in `load'
                        /opt/chef/embedded/apps/chef/lib/chef/node.rb:480:in `find_or_create'
                        /opt/chef/embedded/apps/chef/lib/chef/policy_builder/expand_node_object.rb:92:in `load_node'
                        /opt/chef/embedded/apps/chef/lib/chef/client.rb:219:in `load_node'
                        /opt/chef/embedded/apps/chef/lib/chef/client.rb:386:in `run'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in `block in fork_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in `block in run_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in `with_server_connectivity'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in `run_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/application/client.rb:355:in `block in interval_run_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/application/client.rb:345:in `loop'
                        /opt/chef/embedded/apps/chef/lib/chef/application/client.rb:345:in `interval_run_chef_client'
                        /opt/chef/embedded/apps/chef/lib/chef/application/client.rb:335:in `run_application'
                        /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in `run'
                        /opt/chef/embedded/apps/chef/bin/chef-client:26:in `<top (required)>'
                        /usr/bin/chef-client:40:in `load'
                        /usr/bin/chef-client:40:in `<main>'

The problem is resolved by locking the net-ssh version to 2.9.1. An example simple Gemfile on a recipe using the fog driver is:
source 'https://rubygems.org'

gem 'chef-dk'
gem 'chef-provisioning'
gem 'chef-provisioning-fog'
gem 'net-ssh', '= 2.9.1’

Two issues here:

The NoMethodError: undefined method 'gsub' for nil:NilClass is somewhat cryptic and has made it difficult to find the origin of the problem (see discussion here: https://gitter.im/opscode/chef-provisioning/archives/2014/12/31; or ticket here: confusing exception thrown when chef_server_url is not a full URI )
Can this problem be solved at CP's level? Or chef-dk's?

Just to be more precise on the versions involved here in the Gemfile:
source 'https://rubygems.org'

gem 'chef-dk', '0.3.5'
gem 'chef-provisioning', '0.17'
gem 'chef-provisioning-fog', '0.11'
gem 'net-ssh', '= 2.9.1'

@esciara is there an easy way i can reproduce this?
Can you also try with 2.9.2.beta and 2.9.2.rc1 rc2 and rc3?
https://github.com/net-ssh/net-ssh/compare/v2.9.1...v2.9.2
Shows alll changes between 2.9.1 and 2.9.2.

@mfazekas if you create the most basic recipe possible with 1 machine in vagrant and uses net-ssh 2.9.2 it will fail, at least it does for me

@mfazekas yes. Do as follow (from memory but I am pretty sur it will work, with little addition):

Clone https://github.com/esciara/chef-provisioning-examples
Add a Gemfile with the following in it: (you could actually lock the versions of these gems following the example in my previous comment)source 'https://rubygems.org'

gem 'chef-dk'
gem 'chef-provisioning'
gem 'chef-provisioning-fog'

Run a bundle install
Follow the README.md file to make sure you set up your AWS credentials correctly.
Change the :key_name => 'chefserver' to your own key in the aws_setup.rb file
Run the simplest example with bundle exec chef-client -z aws_setup.rb simplest_machine.rb

@mfazekas having said that, if you don't have credentials for AWS, you could also use the vagrant set up as follows:

Clone https://github.com/esciara/chef-provisioning-examples
Add a Gemfile with the following in it: (you could actually lock the versions of these gems following the example in my previous comment)source 'https://rubygems.org'

gem 'chef-dk'
gem 'chef-provisioning'
gem 'chef-provisioning-vagrant'

Run a bundle install
Follow the README.md file to make sure you followed the requirements for vagrant.
Run the simplest example with bundle exec chef-client -z vagrant_setup.rb simplest_machine.rb

I just about reproduced the problem following these exact steps.

I was able to reproduce the issue - strage :chef_server_url=>"http::8889"in Chef::Config not sure how it's related to net-ssh.

Looks like this commit - from opscode - is to blame:
https://github.com/net-ssh/net-ssh/commit/8af2863aa74e36db18bc0a2c2eb186cd8acb8d89
@jkeiser can you please take a look? Looks like from code at
https://github.com/opscode/chef-provisioning/blob/master/lib/chef/provisioning/transport/ssh.rb#L313
that remote_host will not be assigned properly and that causes it to be nil, that causes the strange url to http::8889 be generated that causes the wrong config to uploaded that causes chef-client -l to fail with undefined method gsub on nil.

Got this (there is a patch now!).  Working on getting backlog to the point where things are easier to respond to.

Experiencing this also.  Is the patch merged?

when I do "gem install chef-provisioning chef-provisioning-vagrant" I still get this problem... have the gems been updated?

If you install the latest ChefDK (0.4.0) do you still get this issue?

I had this problem and 0.4.0 fixed it. (so happy)

Works for me too.

Woohoo!  Okay, I'm going to close this unless @jkeiser or anyone else wants it open.


Popover displays above trigger when there is not enough vertical space

🐛 Bug Report
A popover built with overlay-focused hooks (useOverlayPosition, useOverlayTrigger, useOverlayTriggerState) unexpectedly changes position.
🤔 Expected Behavior
I would expect that a popover with a overlay placement of bottom would always be positioned beneath its target/trigger element.
😯 Current Behavior
When there is not enough vertical room for a popover to be fully visible on screen (eg, when its trigger is near the bottom of the viewport) it unexpectedly positions itself above the target element.
🔦 Context
This seems like a reasonable feature for the popover, that makes it possible for someone to always been able to visibly see the tooltip text. However, it introduces an unexpected bug into the app I am working on because the popover itself currently is styled with a bottom chevron—
So a user suddenly sees a popover with a chevron pointing entirely away from the target text.
I think I can fix this if I know how to determine what relative position the popover is being positioned at, but I'm not sure if it's possible to get that info from useOverlayPosition. If so, it sounds like this would be an easy fix!
💻 Code Sample
Our current popover is pretty close to the example at https://react-spectrum.adobe.com/react-aria/useOverlayTrigger.html#example
  const { overlayProps: positionProps } = useOverlayPosition({
    targetRef: triggerRef,
    overlayRef,
    placement: 'bottom', // This placement is not used if trigger text is near the edge of a viewport or there isn't sufficient space
    offset,
    isOpen: showPopover,
  })

But happy to try to reproduce this in a Codesandbox environment as well!
🌍 Your Environment
React + Next.js

You could try the shouldFlip: false option for useOverlayPosition if you don't want the flipping behavior.


feat: provide intellisense for Vue SFC files

This pull request enables intellisense for GraphQL templates in <script> and <script setup> in .vue SFC files.
Example
<script setup lang="ts">
// graphql-codegen uses the query to generate some code
`#graphql
query {id}
`;
</script>

so exciting @AumyF !! thanks for doing this!
@stonexer would you like to help review this as you have time?

@AumyF it still wants you to sign the CLA, are you able to?

@AumyF anything I can do to help you finish this PR?

@AumyF the issue with EasyCLA is easily fixable. You just need to sign the CLA using the email that all of your commits are signed with. Sorry for the boilerplate, your next PR will be much easier haha!

@AumyF also can you add some tests? it might require a rebase, but we have some very specific tests for findGraphQLTest that are very easy to write and run

@AumyF I am going to revive this as a new PR. If you're able to sign the CLA with the same email the commits are signed with this weekend I can give you actual commit credit, but if not, I can give you a git username link attribution in the changelog. Unfortunately our CLA rules are quite strict and I might get in trouble for merging the work of someone who didn't pass the annoying but necessary CLA bot

I'm sorry for the late reply.  I have signed the CLA but I did with a different email address... The signature is invalid, isn't it?
And I finally got my motivation back, so, may I resume the pull request?

@AumyF it would be an honor! it's a fantastic one and I'd be happy to help you see it through
So, you can either re-sign the CLA using the email address you did use for every commit.
If you prefer not to have to sign the form again, you can perform a git rebase -i however you prefer in such a way as to rewrite the email addresses used in the commits to the one you originally signed the CLA with.

I rebased onto latest main and added some commits (I will squash them later)

@AumyF thank you sooo much! this is so exciting. looks like the very picky CLA bot is  finally happy!! 😆

@AumyF I tried pushing a rebase but it says it's rejected, I wonder what I'm doing wrong? hmm!

even without --force! hmm!

@tobiasdiez it is only missing a rebase! I was hoping to merge this after workspaces support, but I may merge it first because we had to revert workspaces

@tobiasdiez #2827 will be the one - I'm not able to push the rebase to the PR, so I've re-created it.


Use AwesomeSpawn over LinuxAdmin for running commands

Required to use a linux_admin gem version containing the PR
here https://github.com/ManageIQ/linux_admin/pull/148 which
removes access to the LinuxAdmin::Common module's methods through
any class in LinuxAdmin.

@bdunne @kbrock Please review

:+1: LGTM

:+1: LGTM


DRILL-4690: CORS in REST API

@laurentgo is it ok now? If yes what should be next step?

I think the place where the dependency is added should be modified before getting this review merged. Also, I'm a simple commentator, not a committer for the project, so you would have to ping one of those to get it reviewed and merged.

Looks pretty good. I will make another pass once reviews are addressed.

I have updated PR according to your and laurentgo ideas. @hnfgns: Can you check second round of review?

+1 this looks good to me but can one of you guys take a look, test and commit?
@adeneche @sudheeshkatkam

@hnfgns @adeneche @sudheeshkatkam any udpates?

I am not familiar with CORS. One question: why is this enabled by default?
Also, there is a discussion about not increasing the size of the jdbc-all jar (subject: drill-jdbc-all-1.7.0-SNAPSHOT.jar max size). Any way to avoid that change?

Thanks for adding this! Are there docs anywhere on how to configure this option?

Look in drill-override-example.conf that has the example configuration. You'll need to add something similar to your drill-override.conf.


Release the inference code of ISE (ReID-CVPR2022)

This is the inference code and model of ISE (ReID, CVPR22).
Paper is released in: https://arxiv.org/abs/2204.06892v1
The training code will be released later.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhangxinyu14 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


v3 april update

Highlight

User direct profile link.
Qr code.
Prevent user from sending data if report message is empty.

^ sorry wrong reference


Add v.tuple

This is important, since arrays don't provide proper typings:
v.tuple(v.number(), v.string()) // [number, string] ✅

v.array(v.union(v.number(), v.string())) // (number | string)[]

For now, the only solution is to use v.any or do weird type castings.

So far we've encouraged people to use objects instead of tuples, based on programming language design thoughts that (especially in untyped languages) it's preferable to have these labeled.
It's about as easy to use
v.object({
  n1: v.number(),
  n2: v.string(),
});

What's a pattern or situation where you'd prefer to use a tuple? Support for tuples is possible, but it's hard to represent tuples in many programming languages. A goal of the Convex type system described by these validators is to be representable in all popular languages that have (or might in the future have) client that generate code from these types.

Both structs and tuples are product types, so can be used interchangeably. Tuples require less space though. I had an object with coordinates (x and y). An object can contain an array with hundreds of such items:
{
  id: '1',
  coords: [
    [1, 2],
    [3, 4, 'weerwwre'], // or some other field
    // ...
  ]
}

In order to validate tuples we'll need deep support for them to be able to validate them in Rust backend binary, or they'd just be a TypeScript thing and not enforced.
It's all doable but adding a new type will be a compatibility todo. I'd use structs for now but if you have use cases where the memory overhead is an issue let us know.

For me, this is not a major issue. I can still use v.any type. I use Effect Schema for more fine grained validation. All the work goes there.


Add target-clickhouse

https://github.com/Biron-BI/singer-target-clickhouse is written in Node and has a Docker image at ghcr.io/biron-bi/target-clickhouse, so we may be able to support it using container_spec.

@pandemicsyn Do you know if meltano run could support container_spec-based Singer target? In the end it's just an executable so it should be able to work, but I don't know if our codebase is prepared for that yet.

@pandemicsyn Yeah if Meltano can find the executable we should be good, the problem is that it can't currently install npm packages, only pip and docker.
container_spec is currently only used by meltano invoke (https://github.com/meltano/meltano/blob/d6e54dc25425fb6cd5884b974aeda92f1bfef8f0/src/meltano/cli/invoke.py#L167), not when meltano run calls the PluginInvoker, so perhaps this could be solved by moving that logic down and making sure it works with stdin/stdout as expected. Then it should be transparent to meltano run whether it ends up calling an executable directly, or calling it through Docker.

Yea , afaik, one other hiccup long term might be that container_spec is also only docker api compatible (leverages the actual docker api). Which might present problems for folks when they go to deploy.  Which we've got logged here:

https://github.com/meltano/meltano/issues/3246


refactor address input component and integration in form

What does this pull request aim to achieve? 💯
Just a draft PR, trying to fix the location input, not completely sure about the required functionality (e.g. when typing backspace after value is already set) :
better integration with react-hook-form by passing validate function to a custom register() and use the setValue with the onLocationChange callback.
changed internal state in the component because it seems that inputAddress was derived from the location, and changes inside the input value, while the locaiton object now also has internal state while also triggering the onLocationChange callback to update the parent
So instead of setInputAddress now the setLocation can be used...
Not entirly sure about this , probably even a better way to make this a custom form component that integrates nicely with the form library

fixed in #721


[Problem] Unnecessary create key command

https://cronos.org/docs/getting-started/cronos-mainnet.html#step-3-1-create-a-new-key-and-address
Seems to be Unnecessary for fullnode host

Updated with https://github.com/crypto-org-chain/cronos-docs/pull/149


[rest] improve readme

Right now, I would not know how to use the endpoints in the rest package. I think adding a quickstart ASAP would be very benificial.

Solved as getting started guide has been added


[Segment Replication] consider to decouple the rateLimiter of segrep and recovery

Is your feature request related to a problem? Please describe
Hi, I am interested in [Segment Replication] and use this mod a lot. I found that when indexing pressure is a little high, the replica shards using segrep usually get a larger and larger lag time, and then breach the back pressure limit to reject indexing request. That troubles me a lot.
Finally, I found in codes that segrep and peerRecovery share the same setting "indices.recovery.max_bytes_per_sec" and its corresponding rateLimiter, default to 40mb/s. When I raise this value up, the lag bytes and lag time decreased soon. I don't know why we use the same rateLimiter? Can we use two different settings to decouple these two? Is there anything other to consider?
Describe the solution you'd like
add "segrep.target.max_bytes_per_sec" setting for segrep.
Related component
Indexing:Replication
Describe alternatives you've considered
No response
Additional context
No response

cc: @Bukhtawar @gbbafna @sachinpkale

[Triage - attendees 1 2 3 4 5] @Ferrari248 Thanks for creating this issue, we'd welcome a pull request to address.

Thanks for your reply, I will try to pull request soon.


Support showing KaTeX in jsdoc

In VS Code we can already use most of the Markdown syntax in jsdoc (and will be displayed accordingly on hovering over symbols), and we can also use KaTeX in standalone Markdown documents, so it makes sense to combine both and allowing KaTeX to render in hovering docs, instead of this:

Duplicate of #129933. Not something we plan on adding natively at this time


Copy Remote URL

Hi Zodiacon,
is there a way to copy Remote URL?
[Save As...] seem not to work either.

I'll do my best to add these.

Hi Pavel,
thank you for taking care of this.
I think the new release binary 0.65 is incorrect.
The file is showing the version 0.6 (not 0.65) and the link copy menu is not available in that version 0.6.
(Perhaps this is some binary deployment issue.)


X-Tt-Token

Hello!
update X-Tt-Token ?

@asosyetikbiri you dont need it. Use coockie instead.

You can use /aweme/v1/im/cloud/token/ endpoint for this

You can use /aweme/v1/im/cloud/token/ endpoint for this

how can you do that, im kind of new to this and i dont know how to use it

Closing as this project is no longer maintained.


v2.0 - changes to Wave types

Hello, I've been using v1.x version of your lib and I was able to make effect like on attached image with Flower type.

I wanted to migrate to v 2.0, but effect of flower is completely different. Shine is kind of looking similiar, but:

The lines go only outside of diameter
When I slide the volume to max, lines are too big and I couldn't fix it with any options

This is old Flower with maximum volume:

This is new Shine with maximum volume:

Do you think I can achieve such effect with v2.0? Or wouldnt be possible to get an option to specify max width / height of the specific animation types somehow?
Thank you.

I can add an option to Shine in the near future that will offset the bars inwards, Currently it cant be done. The reason the animation gets so large when you change the volume is because none of the animations change based on the size of the canvas right now, v.1 use to do that. That will be reimplemented eventually. If you resize your canvas, you will likely see all of the animation.

I can add an option to Shine in the near future that will offset the bars inwards, Currently it cant be done. The reason the animation gets so large when you change the volume is because none of the animations change based on the size of the canvas right now, v.1 use to do that. That will be reimplemented eventually. If you resize your canvas, you will likely see all of the animation.

I can add an option to Shine in the near future that will offset the bars inwards, Currently it cant be done. The reason the animation gets so large when you change the volume is because none of the animations change based on the size of the canvas right now, v.1 use to do that. That will be reimplemented eventually. If you resize your canvas, you will likely see all of the animation.

In v 2.0.3 it looks really good on low volume, but if I increase it, it will still blow the lines to sky. Just a question, I looked into the options after update and you didn't yet implemented this option, did you? I cannot make the canvas bigger because of the web design.

@frankykubo you must be using the CDN link, I just checked and for some reason its not updating. Ill have to look into a new CDN service, but the NPM package is up-to-date, and the dist/bundle.js file is updated, if you want to just download that and include it in your project for the short-term.

@frankykubo you must be using the CDN link, I just checked and for some reason its not updating. Ill have to look into a new CDN service, but the NPM package is up-to-date, and the dist/bundle.js file is updated, if you want to just download that and include it in your project for the short-term.

@foobar404 I am using npm package within Vue project, so it should be working if its implemented. If it has any value, here is my initialization code:
wave.value = new Wave(audio.value, output.value);
audio.value.addEventListener('canplay', async() => {
    wave.value.addAnimation(new wave.value.animations.Shine({
        rounded: true,
        fillColor: '#009BFF',
        lineColor: '#009BFF',
        lineWidth: 1,
        count: 140,
        diameter: 100,
        frequencyBand: 'mids',
    }));
canvas.value.width = 125;
canvas.value.height = 150;
});


Concepts missed...

I need to send extra context on server side rendering but RoutingContext don't sends the props to my components.
What is this.props.children?
What is this.props.components?

what is the "extra context" you want to send? probably there is an other way of doing what you are trying to do. Explain your use case

@knowbody for example when rendering server side I need to populate some props/states so can render correctly to html, with correct data for SEO.
And on browser I had before upgrade:
Router.run(routes, Router.HistoryLocation, (Root, state) => {
  React.render(<Root { ...window.__STATE__ } user={window.__USER__}/>, document.getElementById('react-root'));

  // Reset state when first render
  window.__STATE__ = {};
});

This helps me to avoid requesting the data.
One new version RoutingContext is not passing this. So what strategies could be used to pass some states to components on first load (server and client side), of course after first loading is not a problem.

Wrap Router or RoutingContext with something that has getChildContext with the data you want.

@taion there is an error on this approach. I can't remove or stop using context I think is better this #1383 with custom createElement function

Both can work. Context is nice in that it's not specific to your route components though.


Pep adaption

@akatsoulas this is green now, can you have another look? :)

Please squash all the commits before merging.


Wrong encoding of Swift Date as a query param

Describe the bug
It looks like encoding Swift Date as query params of GET requests does not work as expected. Looks like this code https://github.com/soto-project/soto-core/blob/2614aa43ab0eef94b873d84249fc974368b39369/Sources/SotoCore/Encoder/RequestContainer.swift#L66 uses standard description to turn a Date into a string which results in an URL looking like this:
https://email.us-east-1.amazonaws.com/v2/email/deliverability-dashboard/statistics-report/mail.indiepitcher.com?EndDate=2024-12-29%2023%3A19%3A50%20%2B0000&StartDate=2024-12-29%2023%3A19%3A50%20%2B0000

which seems to be rejected by AWS, at least for this particular endpoint. I have a repro when trying to get the sending domain statistics of SES.
To Reproduce
Steps to reproduce the behavior:
import SotoSESv2

let ses = SESv2(client: awsClient)
let statistics = try await ses.getDomainStatisticsReport(domain: "mail.indiepitcher.com", endDate: Date.now, startDate: Date.now)

Expected behavior
The request returns GetDomainStatisticsReportResponse
Actual behavior
The request fails with SerializationException: '2024-12-29 23:23:53 +0000' can not be converted to Date
Setup (please complete the following information):

OS: Ubuntu
Version of soto: 7.3.0
Authentication mechanism hard-coded credentials

Yeah query parameters are by-passing the encoder. Given pretty much all of them are strings and numbers, with some special cases for collections, that doesn't matter. Looks like you found an exception though.