[Bug]: No way to specify config for OpenVINO inference

What happened?
In the prepare_session method of class OpenVINOModel(OliveModel) in olive.model.__init__.py the inference_settings argument is not used.
It could be passed as the config argument of ie.compile_model , i.e., compiled_model = ie.compile_model(model=model_pot, device_name=device.upper(), config=inference_settings) or  compiled_model = ie.compile_model(model=model_pot, device_name=device.upper(), config=inference_settings["config"])
Version?
0.3.1

@xiaoyu-work

@akarym-sl I'm not sure what kind of config is supported for openvino compile_model api. Openvino documentation doesn't have details. Do you know any documentation that specifies what is config here?

@xiaoyu-work To be honest, the only config parameter that I have used is CPU_THREADS_NUM that I took from this issue, where @brmarkus gives a link to the  documentation on PluginConfigParams. This can be a starting point!

@akarym-sl Another reason that it is not added here is this inference setting is mainly tuned for onnx model with onnxruntime. I don't think that could be help too much with openvino IR model.

Closing as no action item.


Add better instructions/info about the block painter to guidebook (was: "How to use painter?")

:p

Good call out. I felt like it was fairly intuitive, but obviously I'm pretty biased. I should include more information besides the basic "look at this thing!". I'll make sure the next update (whether it's a bug fix or whatever) includes more information in the Patchouli guide book.
In the meantime, here's a quick breakdown:

Right-click in the air to open the painter's inventory
Fill the painter with up to a stack of each kind of dye
Use the = key to cycle through colors (configurable in the Minecraft controls screen)
Right-click on a colored block (full blocks only for now, things like beds, carpets, glass panes, will be added in the future) to change it to the currently selected color, assuming that color dye isn't empty in the painter's inventory.

Thanks for the question, and I hope you like the mod! I will keep this ticket open and reword the title to relate to adding more info about the item.

Released in 1.19-3.2.0. CurseForge download.


Mult-bar application of barchart in Res Lab

Use case:  a multi-column CSV file is opened. the bar chart visualization is selected and more than one column of data is connected to the Y-value.  I would like to have a separate bar side-by-side for each attribute.  This is might be easier to interpret if we added a stacked bar visualization and then mapped multiple attributes to sections of the bar.
However, it might be nice to have a default behavior of multiple bars per "X position" if someone connects more than one numerical attribute to the Y-value of the regular bar chart.  I am suggesting this because of a first-time impression using Res Lab by an scientific colleague of mine.
Could be related to #218

Yes I believe this is a repeat of #218. Makes me know it is a higher priority though, thanks for the feedback.


Transform like pattern to regex

Add transform like pattern to regex to fixes https://github.com/datafuselabs/databend/issues/2478 .

Use backslash to escape the regex special character.
Process the backslash escape.

e.g.
'Hello\._World%\%' tranform to '^Hello\\\..World.*%$'.

Hi, I do not think we should do this in regex function: there are too many edge cases in the different flavors of regex, making it impossible to please everyone.
I have two suggestions:

make DataBlend implement its own regex, based on the specific rules that you would like (mysql?).
Alternatively, define a new regex here called regex_mysql, that implements the semantics mysql's regex

Hi, I do not think we should do this in regex function: there are too many edge cases in the different flavors of regex, making it impossible to please everyone.
I have two suggestions:
1. make DataBlend implement its own regex, based on the specific rules that you would like (mysql?).

2. Alternatively, define a new regex here called `regex_mysql`, that implements the semantics mysql's regex

Thanks! I will try to realize the first suggestion. The pr will be closed.

feel free to ping me there if you would like me to take a look at it 👍

make DataBlend implement its own regex, based on the specific rules that you would like (mysql?).

Hello, there is a typo, its name is Databend


cassandra-stress: add storage options

so we can exercise the object storage backend with cassandra-stress with -schema 'storage(type=S3,endpoint=<IP_ADDRESS>:6001,bucket=testbucket)'.

@xemul hi Pavel, could you please help review this change?

hmm, i still cannot create tables with s3 backend with
$ cassandra-stress write no-warmup cl=ONE n=5000000 -schema 'replication(factor=1)' 'storage(type=S3,endpoint=<IP_ADDRESS>:48195,bucket=testbucket)' keyspace=ks2 -port jmx=6868 -mode cql3 native -col 'size=FIXED(16) n=FIXED(8)' -pop seq=1500000000..2500000000

even the scylla instance is started using
$ pgrep -a minio
3894724 /usr/bin/python3 ./test/pylib/minio_server.py --output /home/kefu/scylla/conf/object_storage.yaml
3894754 /home/kefu/.local/bin/minio server --address <IP_ADDRESS>:54474 /tmp/tmpm97rimy9-minio/minio-ic_74h7g/minio_root
$ cat ~/scylla/conf/object_storage.yaml
endpoints:
- name: <IP_ADDRESS>
  port: 54474
$ SCYLLA_HOME=$HOME/scylla build/release/scylla --developer-mode true --object-storage-config-file ~/scylla/conf/object_storage.yaml

looking..

Scylla needs to start with experimental "storage options" feature ON

@xemul thank you Pavel!
do you mean:
$ grep -A2 experimental_features ~/scylla/conf/scylla.yaml
experimental_features:
    - keyspace-storage-options

? it is set. i am following https://github.com/scylladb/scylladb/blob/master/docs/dev/object_storage.md.

i see. i have an existing keyspace with the same name.. silly me!

@xemul hi Pavel, could you help review this change?

@scylladb/scylla-maint hello maintainers, could you help merge this change?

Merged as 86a200e324fac3b4a47b7954e30de6e05a4e7ce0. I forgot to add the Closes tag, so closing manually.


Front-End - saving books

[ ]  need to add button for users to save books to their user book listing
[ ] button will save books

done


[BACKPORT]Fix windows dll loading for compute capabilties >7.5 (#19410)

Previously any higher compute capabilties would load mxnet_75.dll
Any new compute capabilities should now load the correct dll if present
Co-authored-by: vlado<EMAIL_ADDRESS>Backport #19410 as a part of effort #19911

@josephevans @szha @leezu Can you review ?


Move from Sphinx Autodoc to sphinx-autoapi

As we move forward with the support for multiple frameworks, the behavior of autodoc to import everything becomes an issue - we would need to have a container with all frameworks installed, which is going to be an issue with handling all of the dependencies. AutoAPI does not need to import the module to generate documentation, which is much better in this case.
Also add GitHub action to build the documentation.

/te-ci


Remove any reference to "simulation"

This has been bugging me and my mild OCD for a while. It is an emulator! Be proud it is so great as such! I think some people are put off by simulator as it sounds fake or something.
Not just in the text files either. Also check CEN64.com, git.CEN64.com, GitHub, and any other sites or places CEN64 is mentioned that the contributors own.

Hmm... I always viewed simulation as a superset of an emulation. Maybe I'm just too rooted in academia to pick up on the difference. :)
It probably is closer to an emulator, so I guess I'll start making the change. I'd rather not invest the amount of time to replace it all right now, so I'll incrementally replace as I find the time.

Basically a simulation is like programming something to act how you remember.
Emulation is like programming to emulate the hardware which then runs the software. It's kind of hard to explain, but trust me when I say an emulator is WAY better than a simulator for 99% of uses.
An emulator can replace the real thing, a simulator can't. Most emulators are designed to be replacements for the real thing (especially CEN64, which seems to be going for accuracy and compatible code as opposed to hacks and getting stuff to somewhat run).
I took this from a post on Stack Overflow, maybe it can explain better than I can:
Simulation = For analysis and study
Emulation = For usage as a substitute
A simulator is an environment which models but an emulator is one that replicates the usage as on the original device or system.
Simulator mimics the activity of something that it is simulating. It "appears"(a lot can go with this "appears", depending on the context) to be the same as the thing being simulated. For example the flight simulator "appears" to be a real flight to the user, although it does not transport you from one place to another.
Emulator, on the other hand, actually "does" what the thing being emulated does, and in doing so it too "appears to be doing the same thing". An emulator may use different set of protocols for mimicking the thing being emulated, but the result/outcome is always the same as the original object. For example, EMU8086 emulates the 8086 microprocessor on your computer, which obviously is not running on 8086(=different protocols), but the output it gives is what a real 8086 would give.

I think that way:
Emulation tries to imitate the internal design of a hardware
Simulation tries to imitatethe funcionality of something
A program imitating the hardware of an SNES to play the real cartridge or the ROM Dump of, say, Donkey Kong is an emulator. But the Donkey Kong game written to use similar graphics to the SNES is a simulator.

@AndersonTorres Yeah, that's much less wordy then mine. I agree with that.

I went ahead and made a pull request:
#13

Thanks, merged. Now just for the website!

What about that reference to simulator in the code? Did you see that?

Hm, though I pushed that commit... oops.
GitHub description is changed!


[orc] update to 2.0.0

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

This PR inherited from previous version (v1.9.3). I will remove the patch file from the repo later.

Thanks for the update :)


SilverBullet deployments examples

I created a deployments doc to provide a couple of examples on:

How to deploy SB within docker and with caddy,redis and authelia
How to deploy SB with Deno and set up a service to run it at boot time

Thanks! I'll just merge this as is an make adjustments later.


Update LICENSE

License information should be updated to match the changes that closed OSP-core isssue #622.

/cib


Add support for rcssmin compression filter

rcssmin seems like a nice, fast and maintained alternative to the unmaintained cssmin.
Maybe a candidate for the easy tag for beginners?

This is addressed now, but requires pointing pip at the repo.  @miracle2k any chance we could get a new pypi release cut?  The docs currently reference features that aren't 'available' yet.

Has this been added yet?

No, it's pending a release with the fix, for those who need to use webassets in Python3.7 immediately, here's a workaround:
$ pip install git+https://github.com/miracle2k/webassets
This command will install the GitHub's latest version instead of PyPI's v0.12.1.

No new release is out yet, but I will close this ticket since it's fixed in master.


Parsing multiple-packet rtcp-rsize fails

The latest version is causing parse issues with packets coming from Chrome. It seems I misread the rtcp-rsize spec and I will have to back out some of the previous rtcp-rsize changes to fix.
What I've learned:

WebRTC implements reduced-size RTCP (RFC 5506) along with regular RTCP (RFC 3350). Previously we only implemented RFC 3350. Many of the recent changes to this repo work toward supporting RFC 5506 (issue here).
In WebRTC, rtcp-rsize can be enabled or disabled via a flag in the SDP. Strict validation checks must be disabled to support RFC 5506, but should still be available opt-in if users are operating in RFC 3350 mode.

Some terminology that tripped me up in the spec:

Compound RTCP packets have a specific meaning in RFC 5506. Our code assumes that a compound packet could mean any set of two or more packets. However, a CompoundPacket MUST have an SR or RR followed by an SDES with a CNAME.
In reduced-size RTCP mode it is possible to receive multiple RTCP packets in a single datagram that do not form a CompoundPacket.

This presents a problem:
To follow the terminology in the spec, a CompoundPacket MUST be a set of SR/RR + CNAME packets. However:

The previous API was Unmarshal([]byte) (CompoundPacket, error).  If a reduced-size RTCP packet is passed to Unmarshal the returned packet will not be a valid compound packet.
The current API Unmarshal([]byte) (Packet, error) has the same problem. Packet can be a CompoundPacket or a single packet of another type, but not multiple packets that don't form a CompoundPacket. I've also discovered this API involves casting to a CompoundPacket pointer in a clunky way.

Proposed solution:
Have Unmarshal return a packet slice
func Unmarshal([]byte) ([]Packet, error)

Add a matching Marshal that takes a packet slice
func Marshal([]Packet) ([]byte, error)

Keep CompoundPacket for users that want to opt-in to RFC 3350 validation
packets, err := Unmarshal(data)
...
err := CompoundPacket(packets).Validate()
if err != nil {
  // bad packet!
}

Curious for everyone's feedback. Want to get this right so we don't have to change it again!

@maxhawkins i really like your solution. Should the user call CompoundPacket.Validate themselves, or should it get called by pions/webrtc? should there be an option that gets set somewhere?

rtcp-rsize is negotiated out of band so there's no way to know if you're in RFC 3350 mode or RFC 5506 mode.
I suppose you could have something like
type Unmarshaler struct {
  ReducedSize bool
}

and then Unmarshaler{false}.Unmarshal(...). Not sure if that's worth it.
What were you thinking?

Maybe we should leave that out of pions/rtcp, and let downstream deal with deciding whether to validate. I guess pions/webrtc knows whether it negotiated rtcp-rsize or not, and therefore it's responsible for the validation, but i'm really not sure about that


EC signature generation grinding to achieve deterministic results

It seems EC sig is not always deterministic but still valid.
When I try to sign one of the BOLT test vectors in a 2_of_2 P2WSH commitment transaction one of the signature payload does not match the test vector.

For reference the test vector can be found here
https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#appendix-c-commitment-and-htlc-transaction-test-vectors
name: simple commitment tx with no HTLCs

The excepted witness redeem script:

0<PHONE_NUMBER>b75c73198c6deee1a875871c3961832909acd297c6b908d59e3319e5185a46022055c419379c5051a78d00dbbce11b5b664a0c22815fbcc6fcef6b1937c383693901<PHONE_NUMBER>f51d2e566a70ba740fc5d8c0f07b9b93d2ed741c3c0860c613173de7d39e7968022041376d520e9c0e1ad52248ddf4b22e12be8763007df977253ef45a4ca3bdb7c001 5221023da092f6980e58d2c037173180e9a465476026ee50f96695963e8efe436f54eb21030e9f7b623d2ccc7c9bd44d66d5ce21ce504c0acf6385a132cec6d3c39fa711c152ae

The result using NBitcoin Secp256k1 signing code

0<PHONE_NUMBER>b75c73198c6deee1a875871c3961832909acd297c6b908d59e3319e5185a46022055c419379c5051a78d00dbbce11b5b664a0c22815fbcc6fcef6b1937c383693901 304402207caaf1fc81064a8e2ac64ce5631e073e0c5b769efcc15bb08c22312367d9c2a50220524c8936c9120fc4f86aa954d00b1c53d818251915e59f216fb3ef5f5843e9e201 5221023da092f6980e58d2c037173180e9a465476026ee50f96695963e8efe436f54eb21030e9f7b623d2ccc7c9bd44d66d5ce21ce504c0acf6385a132cec6d3c39fa711c152ae

Notice the second signature in the redeem script is not the same
I narrowed it down to the grinding part of the signature (in the ECPrivKey extension method Sign:
		internal static Secp256k1.SecpECDSASignature Sign(this Secp256k1.ECPrivKey key, uint256 h, bool enforceLowR, out int recid)
		{
			...
			bool ret = key.TrySignECDSA(hash, null, out recid, out sig);
			// Grind for low R
			while (ret && sig.r.IsHigh && enforceLowR)
			{
		                 ...
				ret = key.TrySignECDSA(hash, nonceFunction, out recid, out sig);
			}
			return sig;
		}

When signing the first key that produces a similar sig as the test vector the while loop is not triggered
ret = true
sig.r.IsHigh = false
enforceLowR = true

When signing the second key with a different sig
ret = true
sig.r.IsHigh = true
enforceLowR = true

Then we go in the while loop for a second attempt at signing that the reason the sig is different.
In a test I wrote if I ignore the sig.r.IsHigh = true condition and skip the loop then I get the expect sig
What is the purpose of sig.r.IsHigh ?
Shall I try to change the code so we pass a flag that allow to ignore it? (what are the security implications?)
We need a cryptographer... 🤔 🆘 😱

A quick solution is to add a flag to SigningOptions that will not grind (or will ignore the IsHigh condition)

The problem seems to be that you are using enforceLowR when you really are okay with low and high Rs. Try passing enforceLowR = false.

Try passing enforceLowR = false.
Ah lol of course how did I not associate that flag 😜 I will try the flag.

Thanks for the link mate.

That was my issue thanks @lontivero for the help 👍

We grind the signature to save 1 byte per sig.


DBZ-651 Quarkus-based implementation of standalone Debezium server

@gunnarmorling First comments incorporated. Regarding distribution we should probably provide a Docker image that could be extended by the people with their Consumer or custom config classes.

@gunnarmorling Server distribution has been added

Merge 🎉 !


Multilang support?

Using this handy tool is not a big deal. But it would be much more user friendly if we can translate it.

I can translate to French if the feature gets implemented :)

I can translate to German :)

Thanks so much for everyone volunteering, I really appreciate it! At the moment the site isn’t really set up for localisation, but I’d really like to start making it localisable as soon as I have a spare moment to. The dll (which only really has the start menu/control panel description string) and installer are pretty much already set up to be localised though, so I’ll definitely have to look into getting that set up.

Thanks. It's a pretty cool project. I only miss 9x support but it's still a huge idea. It deserves to be widespread. I mainly focusing onto the application itself but translating the site can be easely done too.

If localization ever gets added, you can count on me to localize it to Portuguese.

I can localize this great software to Russian =)

I can contribute with Russian translation as well.

Any updates on that feature? I can translate to Polish if ever implemented ;p

replying to lukemech, if you want to contribute to a translation join our discord and ask kirb, he can give you a god answer


📃: Random quote generator

what about random quote generator. @iamrahulmahato .Hope u like this idea and i have already searched there are random password type project but not like this.Plzz assign me this issue.if u like it.

someone working on it,Do not get demotivated and raise new issue


Feature idea: attach desired config parameter values to SmartStart provisioning entries

This way, Z-Wave JS could configure devices immediately during the initial interview, and it would allow bulk provisioning and configuring in a more convenient way than having to script the post-interview configuration.

Is it only possible via SmartStart ? Would it be possible to use REST API to bulk configure nodes?
I give you a reason, you pair 100 devices, then you analyze teh network and you realize that there are some parameters with which you can improve the performance, right now oyu would need to click through all the devices to set the required values. If I could use REST API, I can write a simple python script that would go through the devices set the parameter sequentially. It would still take time, but i dont have to sit in front the machine :)

Depends on how you use Z-Wave JS. Z-Wave JS UI has a "driver function" feature for arbitrary scripting, which ships with a predefined snippet to copy parameters from one device to other identical ones.


Issue with removing subtree with a ProviderScope with overrides and a ProviderScope with parent.

Describe the bug
Nested ProviderScopes involving children ProviderScopes don't get disposed in the proper order when removing from the tree.
To Reproduce
Run the following app and then toggle the switch.
You get
Bad state: Tried to dispose a ProviderContainer that still has children containers.

import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';

final someProvider = Provider((ref) => 'Something');

void main() {
  runApp(const ProviderScope(child: MyApp()));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends HookConsumerWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final showThis = useState(false);
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Switch(onChanged: (v) => showThis.value = v, value: showThis.value),
            if (showThis.value)
              const Text(
                'Something',
              )
            else
              ProviderScope(
                overrides: [
                  someProvider.overrideWithValue('Something else'),
                ],
                child: OverlayContainer(
                  hint: const Hint(),
                  child: ElevatedButton(
                    child: const Text('Press me!'),
                    onPressed: () {},
                  ),
                ),
              ),
          ],
        ),
      ),
    );
  }
}

class OverlayContainer extends HookConsumerWidget {
  const OverlayContainer({super.key, required this.child, required this.hint});
  final Widget child;
  final Widget hint;
  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final link = useRef(LayerLink());
    useEffect(() {
      final overlay = OverlayEntry(builder: (c) {
        return ProviderScope(
          parent: ProviderScope.containerOf(context),
          child: Positioned(
            width: 200,
            child: CompositedTransformFollower(
              link: link.value,
              showWhenUnlinked: false,
              targetAnchor: Alignment.bottomRight,
              followerAnchor: Alignment.topRight,
              child: hint,
            ),
          ),
        );
      });
      WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
        print('Inserting');
        Overlay.of(context).insert(overlay);
      });
      return () {
        print('Removing overlay');
        overlay.remove();
        overlay.dispose();
      };
    }, []);
    return CompositedTransformTarget(
      link: link.value,
      child: child,
    );
  }
}

class Hint extends ConsumerWidget {
  const Hint({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final text = ref.watch(someProvider);
    print('Building Hint');
    return Card(child: Text(text));
  }
}

Here is a repo with this sample.
https://github.com/TimWhiting/riverpod_scope_overlay
Expected behavior
No exception to be thrown.
My guess is that the useEffect cancel happens after the nested ProviderScope gets removed. How can I workaround this issue? This seems like a valid use case for the parent parameter for ProviderScope

I guess the assertion would have to be removed. I don't see a way to keep the error and support this scenario.
Ultimately the issue is that the overlay is unmounted after the scope it comes from.


TO DB: update boolean fields and add NOT NULL constraints

Boolean fields should not allow NULL.    Added UPDATE to change any NULL values in boolean fields to the default value and add constraints to prevent NULL values being introduced.
This change requires existing installation to run ./db/admin.pl -env production upgrade
Fixes #2524

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


(Suggestion)Possibly a Pause menu that is a basic level select to be able to change from one stage to another

I personally think that if more levels are added a pause menu/level select might be interesting also different stages might be able to act like different servers

vanilla.sm64js.com has a level switcher.
Probably won't add pause functionality to the multiplayer version... because you know.


Feature request: A way to store and read current version of PWA app.

We need to know which version that user is using => Show a warning or offer a way to install the newer version.
It will solve many problems if the old version has a bug.

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


Multiple criteria in one rollup?

Is there a way to have multiple criteria for a rollup? I want to pull opportunities that are won and are of a certain Record Type.

Hi,
The AND operator works great. But What about the OR? It doesn't works for me (error is 'unexpected token: or').
Thank you for your help.

See #138

Hi,
Thank you aheber but ...
I tried this criteria in Relationship Citeria field :
SELECT Nom_session__c FROM Participation_animation__c WHERE Presence__c = 'Réalisé' or Presence__c = 'Prévu'
I tested it with Worbench. It works.
I get this error :
Error: Relationship Criteria 'SELECT Nom_session__c FROM Participation_animation__c WHERE (Presence__c = 'Réalisé' or Presence__c = 'Prévu')' is not valid, see SOQL documentation http://www.salesforce.com/us/developer/docs/soql_sosl/Content/sforce_api_calls_soql_select_conditionexpression.htm, error is 'unexpected token: 'SELECT''
Thank you for your help

It works !
I needed to remove the Trigger, write my criteria (Presence__c = 'Prévu' or Presence__c = 'Réalisé' or Presence__c = null) and deploy again the Trigger.
Thanks a lot.
Have a good day :)


Add cloud-native-security-hub.md

add cloud-native-security-hub.md file, Bring better reading experience to readers
Signed-off-by: wanhui<EMAIL_ADDRESS>

Welcome @gogolovefish! It looks like this is your first PR to falcosecurity/falco-website 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: gogolovefish
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jasondellaluce @Rajakavitha1   I submitted a Chinese translation file：cloud-native-security-hub.md，please review,Tks

LGTM label has been added.  Git tree hash: 5dc216f0f18a0c66045854ce2974052da121715f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gogolovefish, Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


break ties in favor of lower arity inventions

we don't do this right now and it causes some lame inventions where random extra stuff gets abstracted at net 0 gain

5dfa8f115925ab7ba61320708b429af76b5bcc60 will fix this once merged

#29 did this


how to gain the chain information from two genomes

I want to use my assembled genome to liftover reference genome, how to do it? thanks ~

LevioSAM2 lifts aligned reads from one reference to another using a chain file. If you have a new assembly, you can generate chain files using the nf-LO pipeline and lift alignments to a target reference of interest.


fix: typescript build and deprecation errors and warnings, upgrade deps and pkg manager

6755832 fix: typescript 💩 and styledcomponent 💩 ··

🚑 moved local ts to separate components
🍉 change useref for event
🖊 fix other type 💩 complaints on build

1c59147 chore: upgrade next, styled-components, styled-icon, move to pnpm, fix ref err

🚧 upgrade next 12 -> 14
🚧 upgrade react 17 -> 18
🚧 upgrade framer 6 -> 11
🚧 upgrade uuid 8 -> 10
🚧 upgrade react-share 4 -> 5
🔅 move yarn -> pnpm with corepack
🔅 move ci step to corepack
🔅 move to @stylistic/eslint-plugin
🌈 fix broken eslint and prettier
❌ remove old unnecessary babel config
✨ add dprint formatter config

fb163ca chore: 🚧 upgrade ci actions, triggers, pkg manager
What type of PR is this? (check all applicable)

[X] Refactor
[X] Feature
[X] Bug Fix
[X] Enhancement
[ ] Documentation Update

What I did
ℹ This PR relates to  ✨ feat: add 💾 local file backup & restore feature #74
It fixes all build typescript and deprecation errors and upgrade most packages and various build related fixes
I have not merged this since not sure if the original author @maurodesouza rather this in on PR or a separate one :hourglass:

there are two react error on production minified build
both are about hydration. trees dont match because I havent wrote the initial default html side,
but why do I have to?!! @maurodesouza
why does it have to even be SSR ??!
this can easily be static export SSG ,,


in top hover adding home button

in the top dashboard there is no buttom of home as we go in login page there is no option going back to home so adding that would make website more good
please assign this to me under gssoc ext and hacktoberfest

that's pypi package user interface, it's another website where we can list python packages.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_97zfgvmb8j/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_97zfgvmb8j/clone/recipe/meta.yaml:29: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_97zfgvmb8j/clone/recipe/meta.yaml:29: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_97zfgvmb8j/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_97zfgvmb8j/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_91kut2y608/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_91kut2y608/clone/recipe/meta.yaml:29: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_91kut2y608/clone/recipe/meta.yaml:29: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_91kut2y608/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_91kut2y608/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
Errors were found


Regular GCS uploads are failing with "Unable to detect a Project Id in the current environment."

Basic info

Node version: 14.16.1
@google-cloud/storage version: 5.16.1
@google-cloud/common version: 3.8.1 (as @google-cloud/storage dependency)

Issue
When using GCS regular uploads with a client_email and private_key it fails with the following error:
Unable to detect a Project Id in the current environment.
To learn more about authentication and Google APIs, visit:
https://cloud.google.com/docs/authentication/getting-started

Though there is no need of setting up projectId explicetly - even Storage class set projectIdRequired to false (https://github.com/googleapis/nodejs-storage/blob/c36525402da8e748971473b1cdd2423e8fd953e1/src/storage.ts#L628)
When upload is resumable (with same credentials) projectId is not required, same should apply for regular upload as well.
Code snippet of upload:
            let gcs = require('@google-cloud/storage');
            let storage = new gcs.Storage({credentials: {client_email, private_key}});
            src_stream.pipe(
                storage.bucket(bucket).file(filename)
                .createWriteStream({resumable: false, contentType: content_type}),

Proposal
Instead of:
https://github.com/googleapis/nodejs-common/blob/a7e4ee228291e8ec46f4077ee2d73124c106c94c/src/util.ts#L701
skip resolving projectId if projectIdRequired is false:
                !config.projectIdRequired || config.projectId && config.projectId !== '{{projectId}}'

@ddelgrosso1 hoping you might be able to give some insight on this one, I know we put quite a bit of work into reworking resumable uploads, wondering if we might have fixed this issue in the process.

@bcoe I believe that there is now a redundancy since common was "internalized" recently - https://github.com/googleapis/nodejs-storage/commit/21cbce0459f82a4ad7b7741611cc97c9c3d8a6ca, so the issue needs to be fixed in both places. I might need to open an Issue there now as well.

The fix is now available in<EMAIL_ADDRESS>https://github.com/googleapis/nodejs-storage/pull/1982

@danielbankhead Great job, thanks!


Strange Interaction Between Spatialite and Shapely

Expected behavior and actual behavior
There is a strange interaction between loading spatialite 4.3.0 and shapely 1.7.0. I am not sure where exactly the error is happening so I am reporting the issue in both repositories.
The expected behavior is that one should be able to import shapely after loading spatialite without a segmentation faulth.
The actual behavior is that loading shapely after loading spatialite produces a segmentation fault.
Steps to reproduce the problem
from sqlalchemy import create_engine
from sqlalchemy.event import listen

def load_spatialite(api_connection, connection_record):
    api_connection.enable_load_extension(True)
    api_connection.load_extension('mod_spatialite.so')

engine = create_engine('sqlite://')
listen(engine, 'connect', load_spatialite)

# from shapely import speedups  # Remove comment to avoid segmentation fault
engine_connection = engine.connect()
from shapely import speedups

Running the above code produces the following segmentation fault:
python: ByteOrderValues.cpp:46: static int geos::io::ByteOrderValues::getInt(const unsigned char*, int): Assertion `byteOrder == ENDIAN_LITTLE' failed.
Aborted (core dumped)

Removing the comment prevents the segmentation fault.
Operating system
Fedora 31
Shapely version
shapely 1.7.0 installed via pip

Here is the corresponding spatialite issue:
https://www.gaia-gis.it/fossil/libspatialite/tktview/bbab46cf4dedd9703960a75429a171753a4339c5

I'm going to close this. The entire category of errors involving dynamic loading of GEOS is going away in 2.0 and we won't be doing anything about any of them in the meanwhile.


Run yarn run lint.

Changes done by lint.
Signed-off-by: Alexander Kurtakov<EMAIL_ADDRESS>

Linting is ensured by CI for all commits. This PR actually failed because the changes made doesn’t not lint correctly.
It seems you might be using a different tslint or prettier version. Can you remove nose_modules and see if that solves the issue?

I removed node_modules and got the same results. Anything else you want me to try ?

Never mind. I haven't reverted last commit and yarn run lint actually bringed it to the master version. Sorry for the noise.

No problem


Browser add crosswalk does not works

When I compile APK using ionic-cli with Crosswalk Lite, the size is so big as default Crosswalk. Do both has the same size or IONIC CLI browser function are not doing its job and why Lite version is listed on ionic browser add crosswalk?

Greetings @calebeaires!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


fix: reques URLEncoding bug and add test case

Implementation Details :construction:
let newQueryString = (components.percentEncodedQuery.map { $0.isEmpty ? $0 : $0 + "&" } ?? "") + query
let percentEncodedQuery = (urlComponents.percentEncodedQuery.map { $0.isEmpty ? $0 : $0 + "&" } ?? "") + query(parameters)
Testing Details :mag:
add RequestURLTestCase

In my own testing, these changes don't seem to be necessary. Can you provide your bug again?
Also, if you merge master you should pick up the test fixes.

In my own testing, these changes don't seem to be necessary. Can you provide your bug again?
Also, if you merge master you should pick up the test fixes.

In get method if the URL path end'? 'or any other symbol, percentEncodedQuery will result in an "" instead of nil which will result in an extra & symbol in the URL concatenation process which is really not canonical
AF.request("https://httpbin.org/get?", parameters: ["key": "value"])
expectation:  https://httpbin.org/get?key=value
result:            https://httpbin.org/get?&key=value
Of course, If you don't think it is necessary, I will cancel the PR this time


error message enhancements.

added connection identifier and block id prefix as appropriate to error messages. #802
also commented out the 0-delay connect retry code.

What happened here? Looks like you pulled in a number of already merged changes.

yes. due to the merge conflict, I had to do a pull to synchronize my branch with github's. Since I did a rebase origin/master, that's why this looks crazy. I'm not going to apply this PR to the testnet now.
I'll probably  abandon this branch and try again later.


Some MiAIRR data elements are "write-only" in BioProject

This issue was brought up by Christian on the mailing list...
While finishing up on the MiAIRR-to-BioProject mapping, I came across
the issue that I was unable to retrieve information on the submitter
and corresponding person. So I asked NCBI:

I am trying to use your eutils interface to retrieve BioProject
information about various related sequencing studies.
However, I have noticed that when I fetch a record (like this
one from the Kleinstein lab)
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=bioproject&id=PRJNA209947
the submitter and contact information is missing. This is also
true in the"bioproject.xml"export file on your FTP site. Am I
doing something wrong or can this information simply not be
retrieved from the database (the Submission.xsd does specify
these fields as mandatory, so they should be there)?

To which they replied:

You are not doing anything wrong as this information can not be
retrieved from the database. The submitter info and contact info
are only used during the submission process and removed from
the XML once public. Only the Submitter Organization info is
available - which is seen in the example (PRJNA209947) you provided.

Which means that in our current NCBI implementation these fields
are "write-only", which I assume was not our intention.

I am in contact with NCBI about this. This seems to be a privacy protection / anti-spam "feature". Will try to find out whether a submitter can turn it off.

Yep, that makes sense, otherwise a bot will slurp up all the emails. We should keep this in mind for any "public" interfaces we provide.
An alternative is to move to id's, I guess ORCID is becoming popular.

The BioProject help desk has responded back to me:

The individual submitter information is not shown in any public display option for BioProject.

However, they pointed me towards BioSample, which does contain the submitter - but not the corresponding author - information. I did not find a complete XML scheme for BioSample, but the
following keys/attributes have been used in the past:
BioSample/Owner/Name
BioSample/Owner/Name/abbreviation
BioSample/Owner/Contacts/Contact/Name/First
BioSample/Owner/Contacts/Contact/Name/Middle
BioSample/Owner/Contacts/Contact/Name/Last
BioSample/Owner/Contacts/Contact/Address/Street
BioSample/Owner/Contacts/Contact/email
BioSample/Owner/Contacts/Contact/fax
BioSample/Owner/Contacts/Contact/phone
BioSample/Owner/Contacts/Contact/lab

So at least we could change the mapping of the submitter field to these ones.

The AIRR data model has the necessary MiAIRR information, we cannot control if any specific data repository throws away or restricts access to it.


fix(curriculum): over-write -> overwrite

Checklist:

[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 main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

I consulted dictionaries and couldn't find "over-write" as an accepted variant of "overwrite"

Thank you for fixing this @karenjoycelowe 🎉


Getting exception while running either tests or my host

Hello!
I followed step by step Abp.GraphQL instructions. Receiving the same exception when

Running the application and trying to use Playground UI (or simply navigating to my app /graphql route)
Running the built-in tests inside Abp.GraphQL solution
The exception is:
Autofac.Core.DependencyResolutionException
An exception was thrown while activating EasyAbp.Abp.GraphQL.GraphQLAppService -> EasyAbp.Abp.GraphQL.Provider.GraphQLDotnet.GraphQLDotnetGraphQLQueryProvider -> λ:GraphQL.IDocumentWriter.
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.b__1(ResolveRequestContext ctxt)
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters)
at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType) at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at EasyAbp.Abp.GraphQL.Tests.GraphQLAppServiceTests.Should_Get_A_Book_With_Author() in C:\Users\puzozavr\Downloads\Abp.GraphQL-main\test\EasyAbp.Abp.GraphQL.Provider.GraphQLDotnet.Tests\Tests\GraphQLAppServiceTests.cs:line 111 at Xunit.Sdk.TestInvoker1.<>c__DisplayClass48_1.<b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
--- End of stack trace from previous location ---
at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48 at Xunit.Sdk.ExceptionAggregator.RunAsync(Func1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 90

System.InvalidOperationException
IDocumentWriter not set in DI container. Add a IDocumentWriter implementation, for example GraphQL.SystemTextJson.DocumentWriter or GraphQL.NewtonsoftJson.DocumentWriter. For more information, see: https://github.com/graphql-dotnet/graphql-dotnet/blob/master/README.md and https://github.com/graphql-dotnet/server/blob/develop/README.md.
at GraphQL.DI.GraphQLBuilderBase.<>c.b__0_0(IServiceProvider ) in //src/GraphQL/DI/GraphQLBuilderBase.cs:line 29
at Autofac.Extensions.DependencyInjection.AutofacRegistration.<>c__DisplayClass3_0.b__0(IComponentContext context, IEnumerable1 parameters)    at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
at Autofac.Core.Activators.Delegate.DelegateActivator.b__2_0(ResolveRequestContext ctxt, Action1 next)    at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action1 next)    at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)    at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next)

I have fixed it and upgraded the dependent packages. Could you please try again?

I have fixed it and upgraded the dependent packages. Could you please try again?

Thanks for quick fix! Will try tomorrow and let you know about my results

@gdlcf88 Confirming that now everything is working as expected. Thank you again for quick resolving!


Updating pom.xml - reducing grpc dependencies and others.

Used "mvn dependency:analyze" to figure out which dependencies could be removed and which need to be explicitly added.  Also updated grpc dependencies to the core requirements rather than grpc-all.

LGTM just a newline nit


Add support for discriminated unions to Typescript generator

Feature Request 🛍
Generated discriminated unions (tagged unions) for Concerto models.
Use Case
Typescript doesn't enforce that you cannot instantiate abstract types - so it would be useful for TS users to be able to generated discriminated unions.
E.g see: https://github.com/dselman/unions
Possible Solution
/**
 */
 namespace org.acme.model

// TS allows creating abstract types...
abstract concept Step {
    o String name
 }

concept EmailConfig {
    o String server
}

enum StepType {
    o MyEmailStep
    o MyHttpStep
}

concept EmailStep extends Step {
    o EmailConfig config
    @literal("MyEmailStep")
    o StepType type
}

concept HttpConfig {
    o String url
    o String[] headers
}

concept HttpStep extends Step {
    o HttpConfig config
    @literal("MyHttpStep")
    o StepType type
}

concept Flow {
    o Step[] steps
}

Context
Trying to generate TS code that is type safe, given that we only generate interfaces today.
Detailed Description

Just to update from conversation that happened offline. We are going to add support for handling two decorators to support this scenario specifically the @literal and @union decorator. So updating Dan's example from above it would look like:
namespace org.acme.model

abstract concept Step {
    o String name
 }

concept EmailConfig {
    o String server
}

enum StepType {
    o MyEmailStep
    o MyHttpStep
}

concept EmailStep extends Step {
    o EmailConfig config
    @literal("MyEmailStep")
    o StepType type
}

concept HttpConfig {
    o String url
    o String[] headers
}

concept HttpStep extends Step {
    o HttpConfig config
    @literal("MyHttpStep")
    o StepType type
}

concept Flow {
    @union
    o Step[] steps
}

@literal will take an enum type property, StepType in this case, and transform it into a literal value in the TS code gen, setting the property equal to the value of the enum that is passed into the literal decorator. So using EmailStep and StepType from above it would look like this in TS:
enum StepType {
  MyEmailStep = 'MyEmailStep'
  MyHttpStep = 'MyHttpStep'
}

interface IEmailStep extends Step {
    config: IEmailConfig;
    type: StepType.MyEmailStep;
}

The @union decorator will take a property type, and convert it to use the union version of that property type, instead of the less type safe version of that type. So using the Flow example above it would be transformed to this in TS:
interface IFlow {
    steps: StepUnion[];
}


Collection file name should be in lower case

https://github.com/pingcap/ossinsight/blob/main/etl/meta/collections/10070.Approximate-Nearest-Neighbor-library.yml

fixed


Is the windows-app signed?

As per one of our users, he couldn't install the Windows-version since it was not signed. Also, it's not available in the all-time-favorite-best-store windows-store.
Since I'm on Mac I cannot verify that, so leaving it as a simple question: Is the current version of the windows-app signed?

@mrsimpson currently we do not sign the Windows Version. However, the plans for signing it and releasing on Windows Store are on our short term plans.

Very good, looking forward to signing!


pyshorteners does not get installed through requirements.txt

Hey there!
Awesome project!
Just installed it and wanted to play around when noticed that when installing things from requirements.txt with pip it gave me this output:
Downloading/unpacking pyshorteners==0.5.3 (from -r requirements/requirements.txt (line 19))
Could not find any downloads that satisfy the requirement pyshorteners==0.5.3 (from -r requirements/requirements.txt (line 19))
Some externally hosted files were ignored (use --allow-external pyshorteners to allow).
Cleaning up...
No distributions at all found for pyshorteners==0.5.3 (from -r requirements/requirements.txt (line 19))
Storing debug log for failure in /home/********/.pip/pip.log
So looks like no pyshorteners. I googled some and all links for pyshorteners v 0.5.3 seem to not be working (like the page for the module on pypi.python.org is indexed by Google but returns 404).
I then tried to just do "pip install pyshorteners", same result - "Could not find any downloads that satisfy the requirement pyshorteners". Did install after all after downloading their repo and running the install script.
I guess that's the pyshorteners issue more than yous, but thought you should know.
Good luck!

Fixed!


kg-bookmark tags available on RSS feed XML

Issue Summary
When we create a post and include a Bookmark card, the RSS Feed XML includes it as a  with the "kg-bookmark" classes. Those classes do not mean anything to outside services unless they are using the site styles.

Because of this issue, services depending on RSS feed (like Facebook instant articles, RSS Feed readers) trying to show this as an image instead of a link. This makes the bookmark is useless as no one can click on it and go to the respective page.
I think this should be replaced with an HTML link instead of a figure.
To Reproduce

Create a post with a Bookmark card and publish it
Check the RSS Feed (sitename.com/rss)

Technical details:

Ghost Version: 3.12.1

Reopened as we have an open PR awaiting review


Zod Validation for User Auth

Tasks

Create a file called schema.ts inside the /src/utils/ directory and create the schema for both Sign up and Login
Refer to https://zod.dev for more information.
Validate the Form using the Zod validation rules
Remove the Alerts and Display the Validation Errors just below the Form Field.

Create the PR to dev

@pooranjoyb is it open to contribute ??
if yes can you assign me this issue under a label.

hey @pooranjoyb ,
Please assign me this issue . I have previously worked on similar projects.

hey @pooranjoyb
I am a GSSOC'24 contributor.Can you please assign be the issue, will be able to fix it.

Hii @SandipGyawali you'll have 24 hours to finish this issue :) All the best 👍🏼

ok, sure

Fixed in #8


Fix Error for Linux

This pr refers to #34

It shows This branch has some conflicts, this needs debugging

engine = pyttsx3.init('sapi5') will not work in linux due to COMError . For linux , installing portaudio and pyaudio and pyttsx3.init() will solve it, but to resolve conflicts the latest features that were added should also support linux along with windows.


Key error Succes

This is what I get when I'm trying to import a course:
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "C:\Users*\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\importer.py", line 144, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "C:\Users*\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 779, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "C:\Users*\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 579, in loadCourse
level = self.loadLevel(course, levelIndex)
File "C:\Users*\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 640, in loadLevel
if levelData["success"] == False:
KeyError: 'success'

This one is rather old and has beend fixed already.
Duplicate of #47

Yes I know it's old but I keep having it on my PC even after updating everything xs

Well, you definitely have an old version, as you can see in issue #47 the code on line 640 has been replaced. But never mind, the current version doesn't work either at the moment.


Issue with ignore_system_dns = true

Hi there,
When having "ignore_system_dns = true" can you have this log disabled?
System DNS configuration not usable yet, exceptionally resolving [dns.google.com] using fallback resolver [<IP_ADDRESS>:53]
Best regards,
Thuan

Done, thanks for suggesting this!


Export index fields not included in _source

In the mapping of Elasticsearch documents you can exclude fields from the _source field. This still allows searching in those fields but the original content is never represented in the search result.
For example:
{
  "paragraph": {
    "_source": {
      "excludes": ["fullText"]
    },
    "properties": {
      "fulltext": {
        "type": "string",
        "term_vector": "yes"
      },
      "title": {
        "type": "string"
      }
    }
  }
}

I'm experimenting with Knapsack on an index like this and noticed that it doesn't export any binary index data, only the settings, mappings and the indexed documents' _source field contents, which leads to data loss in this case.
I understand that exporting binary data requires exact version compatibility of Elasticsearch nodes, but if this is not an issue, can it be done somehow?

See https://github.com/jprante/elasticsearch-knapsack#export-search-results where I show how additional fields can be specified, like _parent. It's exactly like a search request.
Note, the fields must have mapping option store set to true, otherwise, Elasticsearch can not retrieve them.
If you want a low level index backup tool, which does not care about fields and their mappings, the built-in snapshot/restore feature of Elasticsearch is the best choice.

Thanks for describing the available options.
Sadly none of these fits my needs. Knapsack's selective exporting combined with it's hot standby like data synchronization feature between nodes what I'm looking for. But it's a requirement that i cannot store some fields' original value in my index in a form that it can be retrieved.

Gave up on Elasticsearch in the end and wrote my own JSON exporter for Lucene based on the CodecReader API which is capable of doing this. Closing.


TRG 2.02: Should we get rid of it?

The TRG 2.02 in itself doesn't seem to be to necessary. We have another community page which might tell you thant you can't get permissions / admin permissions on your repo.
Revisit https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-2 and check if our eclipse tractus page makes it clear enough. If yes, get rid of it / deprecate it

here are some links to the handbook and the permission description from GitHub
E.g. for a feature:
Everyone can create a feature.
Existing features can be edited by committer or the creator of the feature
Feature contexts (e.g. Labels, Milstones, ...) can be changed by any contributor
Rules:
GitHub’s Repository roles for an organization
Referenced at Eclipse Foundation Handbook, Chapter Access to GitHub Repositories
(Read: Everyone, Triage: Contributor, Write: Committer)
Repository roles for an organization - GitHub Docs
You can customize access to each repository in your organization by assigning granular roles, giving people access to the features and tasks they need.


API integration - cannot utilize API with transparent background - background remains black

I've hired a team of developers to implement this API into a mobile application.  They told me they have everything done, however after the video is processed and brought back in with the unscreen having been processed, they have not been able to make it work with the transparent background.
Will follow up soon with example.

Hey there, are you still having issues with this? If you need help please share your code with our support team and we will be happy to look into it: https://www.remove.bg/support/contact
best, andi


Entities APM Errors DetailLink doesn't work

Describe the bug
None of the Entities APM Errors DetailLinks work.
To Reproduce
Steps to reproduce the behavior:
Create a report, go to Entities APM and go to Errors (Worksheet 12)
Click DetailLink
Get a "Cannot open the specified file"
Link ends in "FRA3.20.Internal Ser.-317692.xlsx", "")" for an example"
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows 10
.NET Framework Type (Full/Core) Full
.NET/.NET Core Framework Version v4.0.30319

Logs
Add logs from the program execution https://github.com/Appdynamics/AppDynamics.DEXTER/wiki/Log-Files
Reports
Rather not share publicly if needed, can upload.

Well, did you specify https://github.com/Appdynamics/AppDynamics.DEXTER/wiki/Job-File#entitydetails-boolean in your job file to generate those reports?


Add Tailwind-esque Style Parsing

Historically, I haven't been the biggest fan of tailwind. But working with tamagui, I'm starting to see some of the merit to it: being able to separate out style props from component props could help improve the DX in specific use cases.
What I'm proposing
Instead of a component like...
<Input
  autoCorrect={false}
  backgroundColor="$slate2"
  borderColor="$slate6"
  borderWidth={3}
  color="$slate9"
  placeholder="Enter your name"
  size="$5"
  value={firstName}
  onChangeText={setFirstName}
/>

We could do...
<Input
  style="bg-slate2 boc-slate6 bw-3 col-slate9 size-5"
  autoCorrect={false}
  placeholder="Enter your name"
  value={firstName}
  onChangeText={setFirstName}
/>

Uses the recommended/default shorthands, as prefixes
Could potentially allow for integrating with the tailwind ecosystem of tools and plugins (and/or copy their homework more easily, see #1573)
Reduces unnecessary verbosity when it comes to styling

At first this can be an experimental opt-in feature. The style prop on TamaguiComponent could be a union of StyleProp | string when the feature is enabled which parses and handles styling just as the props would

Related: https://github.com/tamagui/tamagui/pull/234


Saving alerts in Database for further processing

First of all I want to thank you and congratulate the Prometheus Team for such a successful product.
I hope I'm not causing a lot of trouble but I really wanted to know about some other options to get the logs of all the alerts that are generated in a separate database.
I know that alertmanager has alertsnitch but what if I want it in a different database, is there a way to do that?
I read the earlier conversation on this topic too and I can remember that someone(probably @fabxc ) said that there is a internal log of all alerts and you guyz are working to provide it to the users too. If I could get some workarounds for my need then that would solve a issue of many other people too..

Hi. Thanks for opening this issue. The Prometheus projects use Github issues mainly for bug reports. This issue rather sounds like a usage question, which may be better answered on the prometheus-users mailing list.
As a first pointer regarding your question: Alertmanager supports webhooks and webhooks can be used to perform arbitrary actions with alerts. This obviously includes logging or storing in a database. alertsnitch also seems to use this interface.
See here for the actual config, the format of the payload and a link to known existing integrations: https://prometheus.io/docs/alerting/configuration/#webhook_config

Thanks for the response @hoffie
Sure I will take this issue there and continue discussion in prometheus user mailing list.
I'm closing it here..


Adds opt-in environment variable to change hosting bundle name

What
This pull request adds an opt-in HOSTING_BUNDLE_NAME environment variable. The value set with the variable will be used as a bundle name used in the R.generated.swift file. A fallback to a standard value is maintained. If no value is passed a standard value is used.
This should be a non-breaking change.
The change is inspired by the rejected PR https://github.com/mac-cain13/R.swift/pull/395
Why
This change is introduce to support the following scenerio:
An Xcode workspace consists of multiple projects. The main project contains an application target which depends on other projects. The projects contain static frameworks with resources. The resources for each framework are wrapped in .bundle wrapper and are embedded in the framework.
All frameworks are linked statically to the application and their bundles are copied to the application wrapper (.app). Source code of the frameworks uses R.swift library to access its resources. In order to generate proper access to the resources a bundle with proper name must be used. With the change in this Pull Request the name of a bundle is passed with HOSTING_BUNDLE_NAME environment variable.

Thanks for this PR.
I'm a bit unsure about the project setup in which this is required.
Can you add documentation and an example project that uses this?

Sure, I will add them. Thanks for having a look on the PR!

Thanks!
And be sure to merge in the latest master branch, I've refactored the example projects to be in a different directory.

@tomlokhorst I added a sample project depicting how the suggested change to the tool is used. Sorry for the delay.

@tomlokhorst I added a sample project depicting how the suggested change to the tool is used. Sorry for the delay.

Heya @maciejpiotrowski89, I'm exactly in the same position as you are :) I was wondering when would this PR be merged? @tomlokhorst

@tomlokhorst could you approve running a workflow for this PR and have a look if the proposed changes can be merged into the main branch?

Thanks again for your PR and the provided examples, this makes it clear.
I've update the code slightly to make it more consistent with the rest. The R.swift options are available as command line options. Only the variables that are provided by Xcode are read from the environment.
If you're ok with these changes, I'll release this as version 6.1.

Your changes look fine to me @tomlokhorst , thanks for updating the code and examples.


Nvidia 1GB Quadro K600 (Video-Card) - INIT OR FIRST testing failed due to runtime error

Hi, starting memtest_vulcan_verbose results in the following:
./memtest_vulkan_verbose
https://github.com/GpuZelenograd/memtest_vulkan v0.5.0 by GpuZelenograd
To finish testing use Ctrl+C
Verbose feature enabled (or 'verbose' found in name). Vulkan instance 1.3.275
Available:
VK_LAYER_NV_optimus, VK_LAYER_MESA_device_select
Extensions: VK_KHR_device_group_creation, VK_KHR_display, VK_KHR_external_fence_capabilities, VK_KHR_external_memory_capabilities, VK_KHR_external_semaphore_capabilities, VK_KHR_get_display_properties2, VK_KHR_get_physical_device_properties2, VK_KHR_get_surface_capabilities2, VK_KHR_surface, VK_KHR_surface_protected_capabilities, VK_KHR_wayland_surface, VK_KHR_xcb_surface, VK_KHR_xlib_surface, VK_EXT_acquire_xlib_display, VK_EXT_debug_report, VK_EXT_debug_utils, VK_EXT_direct_mode_display, VK_EXT_display_surface_counter, VK_EXT_acquire_drm_display, VK_EXT_surface_maintenance1, VK_EXT_swapchain_colorspace, VK_KHR_portability_enumeration, VK_LUNARG_direct_driver_loading
ERROR:             loader_validate_layers: Layer 0 does not exist in the list of available layers
Not using validation layers due to ERROR_LAYER_NOT_PRESENT while getting erupt::generated::InstanceLoader in context instance with validation
1: Bus=0x01:00 DevId=0x0FFA API 1.2.175  v470(0x75BBC180)  1GB Quadro K600
2: Bus=0x00:00 DevId=0x0000 API 1.3.267  ver1  8GB llvmpipe (LLVM 17.0.6, 128 bits)
Override index to test:1
Loading memory info for selected device index 0...
heap size  1.0GB budget  0.2GB usage  0.0GB flags=DEVICE_LOCAL
heap size  5.6GB budget  5.6GB usage  0.0GB flags=(empty)
Spawned child Child { stdin: None, stdout: None, stderr: None, .. } with PID 13864
Verbose feature enabled (or 'verbose' found in name). Vulkan instance 1.3.275
Available:
VK_LAYER_NV_optimus, VK_LAYER_MESA_device_select
Extensions: VK_KHR_device_group_creation, VK_KHR_display, VK_KHR_external_fence_capabilities, VK_KHR_external_memory_capabilities, VK_KHR_external_semaphore_capabilities, VK_KHR_get_display_properties2, VK_KHR_get_physical_device_properties2, VK_KHR_get_surface_capabilities2, VK_KHR_surface, VK_KHR_surface_protected_capabilities, VK_KHR_wayland_surface, VK_KHR_xcb_surface, VK_KHR_xlib_surface, VK_EXT_acquire_xlib_display, VK_EXT_debug_report, VK_EXT_debug_utils, VK_EXT_direct_mode_display, VK_EXT_display_surface_counter, VK_EXT_acquire_drm_display, VK_EXT_surface_maintenance1, VK_EXT_swapchain_colorspace, VK_KHR_portability_enumeration, VK_LUNARG_direct_driver_loading
ERROR:             loader_validate_layers: Layer 0 does not exist in the list of available layers
Not using validation layers due to ERROR_LAYER_NOT_PRESENT while getting erupt::generated::InstanceLoader in context instance with validation
Loading memory info for selected device index 0...
heap size  1.0GB budget  0.2GB usage  0.0GB flags=DEVICE_LOCAL
heap size  5.6GB budget  5.6GB usage  0.0GB flags=(empty)
Runtime error: Failed determining memory budget
Subprocess status exit status: 68 parent_close_requested false
Using in-process testing method with small memory limit 0
Using in-process testing method
Runtime error: Failed determining memory budget
memtest_vulkan: INIT OR FIRST testing failed due to runtime error
press any key to continue...

What are your thoughts on this?
-Thanks

Hi. Unfortunately memtest_vulkan does not support Kepler-base nvidia GPUs (due to their memory organization).
Typically they error-out with This device lacks support for DEVICE_LOCAL+HOST_COHERENT memory type, but for your case there was an earlier problem, so an error message is a bit obscure. I'll try to imporove error messages, but there is no plans on supporting Nvidia Kelper-based GPUS.

Hey, thank you for responding with your message. Is memtest_vulcan still helpful to run on the Nvidia Kepler-based GPU here? I select: ->  2: Bus=0x00:00 DevId=0x0000 API 1.3.267  ver1  8GB llvmpipe (LLVM 17.0.6, 128 bits)
It seems like the test is runs with 1 error shown before testing starts: ERROR:             loader_validate_layers: Layer 0 does not exist in the list of available layers
Is that a helpful test for the Nvidia Kelper-based GPU here?

The "8GB llvmpipe" is a software-based vulkan implementation/emulation executed on the main CPU. It is a some (not effective I suppose) CPU+main memory test, but it does not touch GPU in any way.
(those layer-related erros/info are motly for debugging, shown only in verbose mode, just ignore them).


1.0.0

Items covered in 1.0.0:

Closes #14 - should throw if you register a null or undefined instance via container.registerInstance()
Closes #13 - Allow groups to be injected as an array to resolved objects
Closes #5 - have a special key when injecting the container itself
Additional error checking on public api calls.
Version bumped to 1.0.0, the container has had a lot of usage now and is stable.
ReadMe updated with new features.

Looks good to me. :)


Could not find the exact reference for PSO algorithm SPSO2011

https://github.com/facebookresearch/nevergrad/blob/5bc5d705524edce57437bcd37795efd01e3d7362/nevergrad/optimization/optimizerlib.py#L628

@teytaud any more information?


use format specifiers to create names

Format specifiers are not taken into account when creating names:
import filefinder

f = filefinder.FileFinder(
    path_pattern="",
    file_pattern="domain_{domain:02d}.nc",
)

domain = 1

print(f.create_full_name(domain=domain))
print(f"domain_{domain:02d}.nc")

domain_1.nc
domain_01.nc

Because the _pattern_no_fmt_spec is used:
https://github.com/mathause/filefinder/blob/729c8eeddab6f37c989f5af3d2750f64b4638b65/filefinder/_filefinder.py#L52
In this case it would be good if the fmt spec was used. But does that hold in general?

There are specifier that parse can parse but that are not valid format options (e.g. "{char:l}". See https://github.com/r1chardj0n3s/parse#format-specification


Can't load plugin: sqlalchemy.dialects:presto

I am trying to connect this extension to a presto instance, however I have problems with two things.
First of all - is presto connection supported at this moment? I can't find anything related to the presto SQL alchemy plugin. Providing that this is supported, can I pass some connect_args in the URL when connecting via the jupyterlab-sql extension? If so, what would be the URL for the sample params as below?
SQLAlchemy
create_engine(
    'presto://user@host:443/hive',
    connect_args={'protocol': 'https',
                  'session_props': {'query_max_run_time': '1234m'}}
)

Thanks for raising this.

is presto connection supported

Currently, the only databases that we actually test against are sqlite, MySQL and PostgreSQL. However, I see no reason you wouldn't be able to connect to a presto instance in principle, since it looks like SQLAlchemy supports it (with PyHive). You would need to have PyHive available in the same virtual environment as the one Jupyter Lab is running in.
Separately, we're always interested in people willing to maintain support for other database types, so if you're interested in making Presto an explicitly supported database, let us know.

can I pass some connect_args in the URL when connecting via the jupyterlab-sql extension

You can pass custom parameters via the query string, as described here. This may well not work with nested arguments like session_props, though. PRs welcome for better support for custom arguments. Happy to discuss what this looks like.

See issue #113 for actively supporting additional database types.

@pbugnion - thanks for giving the broader context to this topic.
I am have the PyHive package installed in the virtual environment associated with the kernel. In order to use presto connector should I also have PyHive available on the container JupyterLab runs on? I am just trying to understand where I should look at - is it just a matter of installing PyHive on a container and providing a correct connection string or this would require some extension to the plugin? At the moment when I provide a path starting with presto:// it says: Can't load plugin: sqlalchemy.dialects:presto


Fix scrolling

Currently, long individual lines of code are kind of broken. This is actually non-trivial to fix with the current setup and would probably require a major refactor on how we render a snippet. Looking at the code, this looks like a known issue and the bandaid fix is to just hide the overflow.
This is currently affecting the site a little bit, but it's not super major because copy/paste still works fine:

I've been thinking about this recently and it feels like we should be able to hack something together. Essentially this is a game of "is it easier to align the text with the code or align the scrolling of the code". I believe that it must be easier to align scrolling of the code than aligning the text so the idea might be something similar to https://codesandbox.io/s/8wvi7 (but obviously horizontal). Apologies for the ramble, it's pretty late where I am.

I think a refactor of these pages would probably be warranted. I'm happy to tackle this if it's desired by the maintainers.
The way that the paragraph and the code blocks are aligned reads far better on mobile than it does on desktop. I would just add the relevant code snippets below each paragraph and keep the full code on the right. That way it's still mobile friendly without the undesired behavior on desktop.
Additionally, because the complete code on the right needs to be segmented, you get some awkward code snippets like this:

where copying the code snippet also copies a closing bracket. Having control over what code is displayed in the snippet, and thus, what code is copied is a big UX improvement for the reader, as well as the developer of the page.
I would start by refactoring the page to use a single-row, two column layout, simplify the implementation of the code block and remove the splitting functionality, and then refactor each page to use the new layout.


Add GetMaximumOrderQuantityForDeltaBuyingPower

Description

Remove unrequired GetBuyingPower
Making BuyingPowerModel.GetMaintenanceMarginRequirement protected
instead of public
Adding GetMaximumOrderQuantityForDeltaBuyingPower to replace
public GetMaintenanceMarginRequirement and improve API experience for
consumers like the DefaultMarginCallModel
Adding new unit tests

Related Issue

Related to https://github.com/QuantConnect/Lean/issues/4027
Motivation and Context

Improve security buying power models
Requires Documentation Change

N/A
How Has This Been Tested?

Unit and regression tests
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Included and superseded by https://github.com/QuantConnect/Lean/pull/4059


Facing pairing issues for ECM test of Multi Fabrics testcases

Summary:
Facing Pairing issue for ECM tests. if commissioning window is opened for 1st Commissioner ,if we try to open commissioning process with DUT_CE for 2 nd Commissioner showing FAILURE response
and its blocking following tests
TC-MF-1.5
TC-MF-1.13
Testplan screenshot:

Execution screenshot:

This issue was created by me using a account that i had to delete due to access issues, I will continue to follow these issues with my current id.

Added diff: https://github.com/project-chip/connectedhomeip/compare/master...manjunath-grl:connectedhomeip:Commissioning_error

@raju-apple discussed with QA team they are not facing this issue and they are following the testplan no Preconditions are there and script is also as per testplan but in " step 13: TH_CR2 starts a commissioning process with DUT_CE " we are getting failure response when executed.
YAML script TC_CADMIN_1_5.

@krypton36 can you please check this issue out when you get a chance ?

The PAKEVerifier and the setup PIN code do not match.
The setup qr parses to the following (20202021):

The PAKEVerifier is using the following (47514138):

This corresponds to the error message:
Failed to verify peer's MAC. This can happen when setup code is incorrect.
Please make sure that the PAKEVerifier for ECM and the SetupQRCode pin code match.

@krypton36 can you please tell the steps how to generate PAKEVerifier using setup PIN code.

ninja -v -C out/host spake2p
./out/host/spake2p gen-verifier -p 20202021 -i 1000 -l 32 -s 5350414B453250204B65792053616C74 -o pake_verifier.txt

5350414B453250204B65792053616C74 might need to be encoded to base64

echo "5350414B453250204B65792053616C74" | xxd -r -p | base64

Or echo -n "SPAKE2P Key Salt" | od -A n -t x1 | xxd -r -p | base64

@raju-apple can you please close the ticket its resolved.


High Level User Stories

As a control plane operator, I want my Kubernetes control plane to have multiple replicas to meet my zero down time needs.
As a control plane operator, I want to be able declare how each control plane is configured.
As a control plane operator, I want to be able to rotate the certificates on all components so that my cluster continues to run
As a developer, I want to be able to use control plane level resources without conflicting with another control plane
As a control plane operator, I want to be able to upgrade to a minor version so my cluster remains supported.
As a control plane operator, I want to be able to know my cluster is working properly after it's been created.

@salaxander @Fei-Guo @weiling61 @charleszheng44

Please add more User Stories for CAPN

We need to add a story about multi-tenancy use cases.

There should have some level of delegation from super admin to tenant / nested cluster admin(s) so these use cases might be valid as well:

As a tenant / nested cluster admin, I want to be able to connect to an authn/authz provider so that I can onboard my users;
As a tenant / nested cluster admin, I want to be able to act like a real K8s admin to create cluster-wide objects, e.g. CRDs, namespaces, within my tenant / nested cluster and grant permissions to my users/roles;
As a tenant / nested cluster admin, I want to be able to upgrade my nested cluster(s) to available, supported K8s versions independently

Thanks @brightzheng100

/kind design

/milestone v0.1.0

/close


Share design document for macros-for-leak-tracker

Document Link
http://flutter.dev/go/macros-for-leak-tracker
What problem are you solving?
Disposable objects can be tracked for leaks by leak_tracker if they are instrumented, i.e. communicate their creation and disposal.
This document suggests using dart macros to auto-generate instrumentation.

YEs, it is still planned.

Still relevant.


refactor: use assert.PanicsWithValue

Issue #, if available:
Description of changes:
Change to use assert.PanicsWithValue
https://pkg.go.dev/github.com/stretchr/testify/assert#PanicsWithValue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c42f056) 72.93% compared to head (76b607c) 72.93%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #541   +/-   ##
=======================================
  Coverage   72.93%   72.93%
=======================================
  Files          26       26
  Lines        1456     1456
=======================================
  Hits         1062     1062
  Misses        322      322
  Partials       72       72

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


[Backport 1.19] - With retention count set to 2, local snapshots is not removed from disk after transfer to S3

The local retention with S3 bug fix #3178 needs to be backported to release branch 1.19.

Validated on k3s version v1.19.10-rc1+k3s1, we have 2 snapshots retained when the retention count is set as 2 locally and remotely
root@ip-172-31-14-26:~# ls -l /var/lib/rancher/k3s/server/db/snapshots/
total 2872
-rw------- 1 root root 1286176 Apr 16 16:39 etcd-snapshot-1618591140
-rw------- 1 root root 1646624 Apr 16 16:40 etcd-snapshot-1618591200
root@ip-172-31-14-26:~# ls -l /var/lib/rancher/k3s/server/db/snapshots/
total 3416
-rw------- 1 root root 1646624 Apr 16 16:40 etcd-snapshot-1618591200
-rw------- 1 root root 1843232 Apr 16 16:41 etcd-snapshot-1618591260
root@ip-172-31-14-26:~#


Broadlink RM+ discovers but won't show in Home App

Here is my Config file. Everything else works perfectly minus Broadlink which doesn't show up in Home App. When running Homebridge it shows discovered with IP and MAC etc.. Any ideas?

                                       				},

                                       				"accessories": [{
                                       					"accessory": "MagicHome",
                                       					"name": "LED Strip",
                                       					"ip": "192.168.x.xx",
                                       					"setup": "RGBWW",
                                       					"purewhite": false

                                       				}]
                                       			}]

                                       		}
                                       	]
                                       }

What do you mean by "Broadlink which doesn't show up in Home App"? It looks like it's loading the "TV On/Off" switch correctly, do you see this switch in the Home App?
You've also configured the "MagicHome" accessory under your BroadlinkRM platform which won't work.

So, I have just been using jsonlint and it says the code is right so I have just been going with that haha not super smart when it comes to this stuff.
My magic home Light shows up perfectly as a switch in the home app and I can control and change colors etc..
The Broadlink RM shows its loading but will not show up in the home app. I have tried deleting homebridge from the home app and re adding but no dice. Tried rebooting Pi and no dice etc..

On Oct 18, 2018, at 8:47 PM, Cameron<EMAIL_ADDRESS>wrote:
What do you mean by "Broadlink which doesn't show up in Home App"? It looks like it's loading the "TV On/Off" switch correctly, do you see this switch in the Home App?
You've also configured the "MagicHome" accessory under your BroadlinkRM platform which won't work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/lprhodes/homebridge-broadlink-rm/issues/449#issuecomment-431227855, or mute the thread https://github.com/notifications/unsubscribe-auth/AdQFgqksUROGTZY9iIT0CIHwJtJumOXGks5umT0qgaJpZM4XvkSx.

Perhaps the accessory thing you speak of is conflicting with Magic home? Could you assist me with fixing my config file to appropriately separate the accessory from the Broadlink platform?
Thank you!

Give this a try.
                                       {

                                       	"bridge": {
                                       		"name": "Homebridge",
                                       		"username": "xxxx",
                                       		"port": 51827,
                                       		"pin": "031-45-154"
                                       	},
                                       	"description": "JSON API",

                                       	"platforms": [{
                                       			"platform": "SmartThings",
                                       			"name": "SmartThings",
                                       			"app_url": "https://graph-na04-useast2.api.smartthings.com:443/api/smartapps/installations/",
                                       			"app_id": "xxx",
                                       			"access_token": "xxx"
                                       		},
                                       		{
                                       			"platform": "BroadlinkRM",
                                       			"name": "Broadlink RM",
                                       			"accessories": [{
                                       				"name": "TV On/Off",
                                       				"type": "switch",
                                       				"data": {
                                       					"on": "2600500000012...",
                                       					"off": "2600500000012..."
                                       				}
                                       			}]
                                       		}
                                       	],
                                       	"accessories": [{
                                       		"accessory": "MagicHome",
                                       		"name": "LED Strip",
                                       		"ip": "192.168.x.xx",
                                       		"setup": "RGBWW",
                                       		"purewhite": false
                                       	}]
                                       }


Hope to fix: Compatibility issues with PointerEvent.

link to: CanIUse

https://github.com/oasis-engine/polyfill-pointer-event

Write README use English
Developer should write PointerPolyfill.register(htmlCanvasElement); is not good, you can modify class property to ignore this


Implement Version Check for Omnibus System

The workflow is configured to trigger pull requests targeting the master branch, and when the omnibus folder is modified.

The workflow extracts the current version number from the 'release_info' file, compares it with the version number in the master branch, and fails the run if the version number has not been updated to remind updating version numbers.

Closes https://github.com/waterloo-rocketry/omnibus/issues/134

This change is

Pass the GitHub Actions if the version is changed:

Fail if changes were made in the Omnibus folder but version number was not updated:


webapp-url output is a non-SSL URL provided

For some reason the applicationURL value in this action is getting a non-SSL based URI which then gets passed along to other areas like the output of webapp-url which can be used in later actions.
https://github.com/Azure/webapps-deploy/blob/c6cf55c3ba862aca5fe5a39958d0191a5f396bd1/src/DeploymentProvider/Providers/BaseWebAppDeploymentProvider.ts#L57
This should be changed to have the SSL-based URI by default.
It appears to be coming from:
https://github.com/microsoft/pipelines-appservice-lib/blob/714433932820111567046bd53f47e9131d95930a/src/RestUtilities/AzureAppServiceUtility.ts#L39
Which is in the publish profile.  Indeed the pubprofile destinationAppUrl is a non-secure URL for some reason when downloading the publish profiles...this should be changed.  Other places in the publish profile are 443/SSL based except this one.

@timheuer to get publish profile to use https, you will need to go to the TLS/SSL settings of your app and set it to be 'HTTPS only'. After making this change, the publish profile will use https instead of http. you can download the publish profile and verify it.


"Unknown series references" caused by samples written to WAL before series

In case we have 2+ concurrent appenders writing a series which doesn't exist yet, the 1st call to appender.Append() will create the series while other appends will just append the sample.
When a series is created, it's appended to the list of new series created within the headAppender:
https://github.com/prometheus/prometheus/blob/f08c89e569b2421bcc8ef7caf585fd8d3c2ccaba/tsdb/head_append.go#L260-L265
During the headAppender.Commit() we call headAppender.log() which writes any new series to the WAL before samples:
https://github.com/prometheus/prometheus/blob/f08c89e569b2421bcc8ef7caf585fd8d3c2ccaba/tsdb/head_append.go#L376-L383
However, in case there are multiple concurrent appenders appending (different) samples for the same series, the first appender will create the series and subsequent ones will just append samples. There's no guarantee that the Commit() is executed on the appender which created the series before others, so there's no guarantee that the series is written to the WAL before other appenders write its samples to the WAL, thus leading to "Unknown series references" while replaying the WAL.
A unit test reproducing the issue is here:
https://github.com/prometheus/prometheus/pull/9842

The case of samples record coming before series record is possible only in case of miconfiguration where 2 scrape jobs are scraping same metrics with no unique labels attached. Or, relabelling during remote write is stripping the unique labels. Trying to fix this in TSDB (i.e. either syncing appenders to write write all series record before samples record, or reorder replay of WAL records) will get very complex, so I suggest fixing the config to avoid clashing series in different appends, and we fix #9846 so that Prometheus can start gracefully in such situations.

The case of samples record coming before series record is possible only in case of miconfiguration where 2 scrape jobs are scraping same metrics with no unique labels attached.

Not true for the case of Cortex where, due to quorum, we may still have inflight requests in ingesters after we send the response back to the client (Prometheus) but I agree that this is an edge case and I think we should just fix the panic for now.

Trying to fix this in TSDB (i.e. either syncing appenders to write write all series record before samples record, or reorder replay of WAL records) will get very complex

An option could be logging the series creation to WAL as soon as the series is created instead of waiting for appender.Commit(), considering the log series creation to WAL even in case of appender.Rollback() (because series creation is not rolled back).

An option could be logging the series creation to WAL as soon as the series is created instead of waiting for appender.Commit(),

That would create too many series records. We batch them up in Commit() currently. We could see how that trade-off works out, it would be non-ideal in terms of disk write calls.
But that still will not solve this issue. After creating series and before logging the series record into the WAL, some other competing appender can log a sample in between.

Agree Ganesh. In any case I still think it's not worth to fix, as far as we get the WAL reply working correctly if this case happens (hopefully #9856 fixes it).

Fixed by #9856.


CLI: print history after start workflow execution call

When CLI is used to start a workflow it is not giving any feedback about workflow progress after it is started. It would be nice to add ability by default to not return, but print history as workflow progresses. Initially it can periodically poll for history using visibility API. In the future we could add some long poll based API to get new history events for a workflow execution.

This feature was added as "workflow run" command


Confirm the Ending

Check if a string (first argument) ends with the given target string (second argument).
Remember to use Read-Search-Ask if you get stuck. Write your own code.?
function end(str, target) {
// "Never give up and good luck will find you."
// -- Falcor
if (str.indexOf(' ') > -1) {
str = str.split(' ');
}
var lastVal = str[str.length - 1];
return lastVal.indexOf(target) > -1;
}
end("He has to give me a new name","me");

end("He has to give me a new name", "na") should return false. ----> Error

This is not a site bug. Please visit the Help Chat or HelpJavascript Chat if you need challenge help. Thanks and happy coding!


Addding new information to result coordinates and ordering them

Use case:
sin_with_white_noise_dicts = series_dicts[1][3]

coordinates = get_recurrence_points_from_data(time_series_sin_nois, sin_with_white_noise_dicts; num_windows=2)
plot_motifs(time_series_sin_nois, coordinates; n_motifs=4)

This code was applied to a white noise in a sin function. The result was:

Nice pair programming section today with @filipe7788 .


Controlling Image Similarity

The upscale process gives great details with flux, but the image is changing considerably.  I've tried the following things let me know if you recommend any other approaches.

Reducing the denoise adds a blurry noise to the whole image, I've tried playing with the steps but anything under 0.5 denoise is overprocessed(?).

Adding the upscaler controlnet on the tiled conditioning. Is there a way to add this before cond_to_batch. This might require another node to tile the controlnet and apply it correctly.

Any other ideas to control image similarity?

yes,please update the node, just update the example for pixel application

Thank you! That's really helpful 👍🏽 🥇


Fix link to Ron Holshausen's blog post

Somehow the date changed and therefore the URL broke.

Thank you kindly!


[BUG] Cannot use Stimulus Values if controller identifier has more than one word

Bug description
My bun config:

Controllers load:

I am using ViewComponent with Rails & Hotwire. For example:

In the controller file:

In view file:

So the identifier is global--alert_component
The controller connected just fine but the problem is when it renders to HTML the data value fields become data-global--alert-component-dismiss-after-value and Stimulus doesn't understand it.
So I think there is an issue with the controller name when we keep the underscore:
data-controller="global--alert_component"
Maybe we should replace all _ with - (follow the Stimulus convention)
Bun version
1.1.34
Current output
No response
Expected output
No response
Steps to reproduce
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I've made a PR

I released a new version with the appropriate changes, tell me if anything else is needed.


[Enhancement] ColumnValueRange::add_range supports less than or equal to max and great than or equal to min

Why I'm doing:
Before the pr
Range range [5, max]
range.add_range(<=, max);  // fail

After the pr
Range range [5, max]
range.add_range(<=, max);  // success, the result is range [5, max];

RuntimeFilter (>=5) will be normailzed to (>=5 and <=max).
If add_range not support that, normalized runtime_filter will be failed, and the predicate generated by runtime_filter will not push down to storage engine.
What I'm doing:
ColumnValueRange::add_range supports less than or equal to max and great than or equal to min
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.4
[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0

I'm wonder why do we need to normalizeRuntimeFilter (>=5)  to (>=5 and <=max) instead of (>=5).

https://github.com/Mergifyio backport branch-3.4 branch-3.4.0-rc01


Adding leader-elect flag for non stateless apiserver operations.

meh not even sure this is needed as podmaster seems to do all the job by itself, will reopen if we need it.


Allow running rekt tests in namespace with enforced "restricted" pod security standard

Related to https://github.com/knative/eventing/pull/6584
Pulls in changes from https://github.com/knative-sandbox/reconciler-test/pull/414 and https://github.com/knative/pkg/pull/2625

Proposed Changes

Update dependencies to pull in the required changes

Release Note

Docs

/retest