Support Kubernetes 1.1

error validating data: found invalid field source for v1.Volume; if you choose to ignore these errors, turn validation off with --validate=false
    volumeMounts:
    - mountPath: /certs
      name: certs
  volumes:
  - name: storage
    source:
      emptyDir: {}
  - name: certs
    source:
      hostPath:
        path: /tmp

I am at tag 108f879610829b888001db7d7bd38cd03508dcab     Fixes #5
I tried switching certs to source: emptyDir: {} but that didn't affect the error message

I need to update this.

I figured out a way to get past the volume change
  volumes:
      - emptyDir:
          medium: ""
        name: "storage"
      - hostPath:
          path: "/tmp"
        name: "certs"

but now I have a kibana name resolution issue
{"name":"Kibana","hostname":"kibana-qzxsf","pid":9,"level":50,"err":"Request error, retrying -- getaddrinfo ENOTFOUND elasticsearch.default.svc.cluster.local","msg":"","time":"2015-11-21T17:24:50.911Z","v":0}

for a in $(kubectl get pods | grep Running | awk '{print $1}'); do echo $a; kubectl exec $a -- nslookup elasticsearch.default.svc.cluster.local; done
es-client-vmgxy
Server:    (null)
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
Name:      elasticsearch.default.svc.cluster.local
Address 1: <IP_ADDRESS> ip-10-0-176-193.us-west-2.compute.internal
es-data-4a3de
Server:    (null)
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
nslookup: can't resolve 'elasticsearch.default.svc.cluster.local': Name does not resolve
error: error executing remote command: Error executing command in container: Error executing in Docker Container: 1
es-master-s2l11
Server:    (null)
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
nslookup: can't resolve 'elasticsearch.default.svc.cluster.local': Name does not resolve
error: error executing remote command: Error executing command in container: Error executing in Docker Container: 1
kibana-qzxsf
error: error executing remote command: Error executing command in container: container not found ("kibana")
logstash-kvij8
Server:    (null)
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
nslookup: can't resolve 'elasticsearch.default.svc.cluster.local': Name does not resolve
error: error executing remote command: Error executing command in container: Error executing in Docker Container: 1

Please, contribute a PR.
How did you provision your Kubernetes cluster?

I am using the AWS config tool from kubernetes
export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash
Looks like there is a problem with kube-dns
I apologize am in my few days using with kubernetes and I am still a newb
export KUBERNETES_PROVIDER=aws
export MINION_SIZE=t2.small
export MASTER_SIZE=t2.small
export NUM_MINIONS=4
export AWS_S3_REGION=us-west-2
export AWS_REGION=us-west-2

That's my suspicion as well.


Create Database Artifacts Using Core Data Services (CDS) for SAP HANA Cloud

Tutorials: https://developers.sap.com/tutorials/hana-cloud-cap-create-database-cds.html
In Unit 4 step 3 https://developers.sap.com/tutorials/hana-cloud-cap-create-database-cds.html#b8085d6d-8af1-4bc8-a874-ce25195a6930
there is this link : https://www.youtube.com/watch?v=O0qSsbnx3u8&list=PLoc6uc3ML1JR38-V46qhmGIKG07nXwO6X&index=7
it doesnt work

We are in the process of moving all of those videos over to the SAP Developers official YouTube channel. However it will be a few days before all of them are available there.

Thank you for the response,
can you share the new link when its available.

The newly updated video is available: https://www.youtube.com/watch?v=UuXURLt1IQE&list=PL6RpkC85SLQAPHYG1x6IEu_exE5pa0UK_&index=7
I've updated the tutorial and the update should be visible in production in 15 minutes or so.


Best way to use suboptions

Hey there,
i'm actually on  a situation where i have an option:
Module     string `short:"m" long:"module" description:"Specify module"  choice:"a" choice:"b"  choice:"c" choice:"d"`

There is a way to create sub-options for each choice?
e.g if i use --module a  i can select --foo 123
but if i use --module b i can select --bar

No, there is no way for this. You could think of using commands for this instead.


Add @go.log_add_output_file

Implements #36, except for the priority filtering. That will come in a future commit.
With @go.log_add_output_file, you can add an output file to:

all existing log levels at once
a new log level that this function will create for you
a subset of log levels, existing or new

The infrastructure needed to support the multiple-destination log output was added in #43 (commit b61556bfe516fa4b0878cb93964221e3c3466ded).

Coverage increased (+0.05%) to 94.489% when pulling 54bc05c11bbc20197e8abe14d272cc5af6837c0d on log-files into af7c1105633b6f105bb89b62063fce84949ef70c on master.


Visual Studio runtime assert when iterating parsed options

If you implement iteration of parsed options (like in the example code) and build under Visual Studio, there will be a Debug runtime assert when attempting to access the first key/value pair.
The assert message is Expression: vector iterators incompatible
We verified this problem under VS2017 and VS2022. It does not happen with Xcode 13 (Apple clang version 13.1.6) or clang version 10.0.0-4ubuntu under Linux.
You can reproduce this issue by building and running the example target from the latest master (git hash ab1dc0f at the time of this writing). The assert happens on line number 93 of example.cpp.
Thanks in advance for any help with this problem.

Here's a screenshot of the assert:

I think I know what's going on, it seems like visual studio's standard library does an extra check that two iterators point to the same container. I'll try to come up with a fix.

Checking in to see if there's any news on this issue. Thanks in advance.

Not yet, I'll try to get to it soon.

Any word on this issue?
Note that it's not critical because we've worked around it for now. But it would be nice to see it fixed properly.
Thanks in advance for your help.

Not yet sorry. I'll try to get to it soon.

Can you try the above commit to check if it is fixed?

Thanks for trying to fix this. Unfortunately I'm still seeing problems.
I can't reproduce the original problem because the example returns an error:
error parsing options: Argument '' failed to parse

This is new behavior, so I can't tell if the original problem is fixed or not.
After that I tried running options_test.exe, which fails with a similar assert, originating from line number 1594 of cxxopts.hpp.

The branch that I checked out was "fix_iter_access" (commit 65b4e91f). Hopefully that's the correct branch.

That's the right branch. I'll have another look at that.

I've pushed a fix for the example, and tried to fix the problem from the tests. Can you try both again?


Usage instructions unclear

The usage instructions say to run
>> run run_comparison_coupled.py

Is this to be executed from within Python? I get
>>> run run_comparison_coupled.py
  File "<stdin>", line 1
    run run_comparison_coupled.py
                             ^
SyntaxError: invalid syntax

I guess from within IPython? If so then that should be explicitly stated.

Part of JOSS review @ https://github.com/openjournals/joss-reviews/issues/1684


[Payload+CosmosDB] Cannot upload images

Go to payload back office
Navigate to Media collection
Create a new media: upload file and provide name, alt text.
Click Save.

Actual result: Media is not saved, error is shown:

Expected result: Media is created without errors

Hey @Jeluda — we can't reproduce this one even while using a remote CosmosDB, unfortunately. Is there a way to look at your error logs to provide us with a stack trace, which might shine a bit more insight into what's happening?
We have a hunch that this is related to how you are actually storing media. Depending on where you are hosting Payload, your host may be considered "ephemeral storage" - meaning that files can't be stored locally. Take a look at our docs for more info there.
If you're using an ephemeral file storage hosting solution, one of our community members built an awesome plugin that saves all files to Amazon S3 or similar, which is a permanent file storage solution. This might be the issue here.
https://www.npmjs.com/package/payload-plugin-cloud-storage
Do you think it may have something to do with the above? If not, if you could provide a stack trace so we can debug further, that would be great!

Hello @Jeluda . Just tested it again and looks like it was fixed in 0.13.1 version.


TSAN: Generate TSAN clang rt libs for riscv64

To be at parity with other architectures in the Android NDK, we would like to have the libclang_rt.tsan-riscv64-android.so library included as part of the imported sysroot from Android (Clang Prebuilts). This is distinct from it actually working, which is tracked here: https://github.com/android/ndk/issues/1041 .

https://reviews.llvm.org/D145214 enables tsan runtime for riscv64.

seems like no-one's reviewed that change yet. @appujee --- is that something we can help with?

let me reach out to the author if he is still working on it.

nobody responded to my query on discord. I can commandeer the patch and put for review.

Update: The author is waiting on review as the patch is feature complete. I've pinged the reviewers

Update: I pinged reviewers to take another look.
Except for minor nits, the reviewers are okay with the patch but would like dvyukov to take a look. I've pinged him.


Unable to cast (0.9.0-preview.0)

I created a project and added the HelloWorld example code from the readme. Everything compiles but then I tried this:
  #[export]
  fn _ready(&self, owner: &Node) {
    if let Some(node) = owner.get_node("SomeNode") {
      if let Some(button) = node.cast::<Button>() {
        //
      }
    }
  }

I get this compile error:
error[E0599]: no method named `cast` found for struct `gdnative_core::object::Ref<gdnative_bindings::generated::node::Node>` in the current scope
    --> src/lib.rs:16:34
     |
16   |       if let Some(button) = node.cast::<Button>() {
     |                                  ^^^^ method not found in `gdnative_core::object::Ref<gdnative_bindings::generated::node::Node>`
     |
    ::: /home/Barugon/.cargo/registry/src/github.com-1ecc6299db9ec823/gdnative-core-0.9.0-preview.0/src/object.rs:1025:1
     |
1025 | pub struct RefImplBound {
     | ----------------------- doesn't satisfy `_: gdnative_core::object::SafeAsRaw<gdnative_core::ref_kind::ManuallyManaged, gdnative_core::thread_access::Shared>`
     |
     = note: the method `cast` exists but the following trait bounds were not satisfied:
             `gdnative_core::object::RefImplBound: gdnative_core::object::SafeAsRaw<gdnative_core::ref_kind::ManuallyManaged, gdnative_core::thread_access::Shared>`

error: aborting due to previous error

Looking at the 0.9 doc, it seems to me that this should work. Maybe I'm just not understanding how it really works?

@Barugon Thank you for taking the preview for a spin.
The call to Node::get_node() returns Option<Ref<Node, Shared>>. You'll need to call .assume_safe() on the Ref<Node> before the cast::<Button>(). See the Dodge the Creeps example here
More information on this is available in the documentation of Ref and a bit in the migration guide in the Book

Thanks for the info. Closing.


Copy changes for measure types footnotes

Jira link
HOTT-646
What?
I have added/removed/altered:

[x] Update measure types footnotes

Why?
I am doing this because:

Business request

NOTE: This PR does not address the logic around linking back to the correct commodity page.

Yes, it was...


Shared projects on dropbox won't open

From @chrisgarrity on February 11, 2016 19:21
Sjr projects on Dropbox open in ScratchJr on iOS, but don't open on android - it doesn't know which app to use.
Google drive links also open on iOS - not tested on Android yet.
Copied from original issue: LLK/scratchjr-private#480

Closing for #489


Sales Return Bugs

[x] Add email and add new contact person functions.
[x] Apply invoices (all invoices are listed in detailed screen; only need to list applied invoice only).
[x] Comments and history
1. Created with total amount.
2. Every stage of statuses.
3. Refund creation.
4. Applied invoices.
5. Update (with total amount)
6. Refund deleted.
7. Apply credit deleted.
8. Edit of refund(with amount)
9. Edit of apply invoices.
[x] Apply invoices and refund option not needed after applied all amount of credits.
[x] After applied credit or refund option against sales return; No need void and delete function.
[x] Status change after applied all amount of credit. (it will be closed status).
[x] Set cash as default value in payment mode column in refund screen. (common)
[x] Show 'submitted by' and 'approved by' in detailed view.

Missing Features

[x] Import and export option
[x] View journal in detailed view.

bug fixed


Bump to core 6.3.18

Bumps the org.hl7.fhir.core library to 6.3.18

Just wanted to link this PR to issue #5560 and say thanks to @dotasek for this work! There are some fixes in the newer org.hl7.fhir.core version we'd love to see in the next HAPI release.

@Boereck see the comment I made on the previous issue. The core version in HAPI was in fact already bumped to 6.3.11, which will be the case for the August release. This PR will bump to 6.3.18 for the release cycle after that.

I looked up and the fixes we need are all in 6.3.11. So looking forward to the August release. Anyways, thanks for keeping the dependency up to date!


Could not create SSL/TLS secure channel

Hello, I'm facing this error while I'm installing the trainer to my SPT. I really have no idea where to begin, any pointers that you can give to solve this issue?

What is your OS ? (I'm on Windows 10)
I guess you have an old .NET version installed. Indeed with like 4.5 and earlier SSL 3.0 and TLS 1.0 are only supported. With recent versions you should have newer protocols like TLS 1.1 and TLS 1.2.
Could you try to install .NET 4.8 ? https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer

Thank you for the fast reply. I'm using Windows 7 64bit.
I have tried installing .NET 4.8 but the problem persists. Is it an OS issue?

Hi Sailro, as you have said, I needed to update my protocols to TLS 1.2. and I did. It works.
I tinkered with my registry editor a bit. The catch is, I can't log in to my Steam account.
Oh well, as long as your trainer works.
Thanks a lot for your help, now I just need to figure out how to fix my connection to Steam.

How did you manage to "update to TLS 1.2" ?

Creating / setting the following registry key works should be enough on Windows 7:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client
DisabledByDefault of type REG_DWORD with Value 0

How did you manage to "update to TLS 1.2" ?
Perhaps using this: https://support.microsoft.com/en-us/topic/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-winhttp-in-windows-c4bd73d2-31d7-761e-0178-11268bb10392
is better than messing with the registry :)

Hey Sailro, sorry for the very late reply. So, based on what riQQ said:

Creating / setting the following registry key works should be enough on Windows 7: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client DisabledByDefault of type REG_DWORD with Value 0

I pretty much did that.
Thanks a lot with your help. Your trainer work wonders!

.NET Framework 4.8 или более позднее обновление уже установлены на этом компьютере.

and what do in this situation?


Store alternate keys without relationship in model snapshot

Resolves #2788
In model snapshot for any key

If its a primary key then it will be stored using Key()
If its a principal key for relationship then it will be stored using PrincipalKey()
All other keys are stored using AlternateKey()

:shipit:


:book: Add docs for cluster stack operator

What this PR does / why we need it:
Adding docs to understand, develop, and use the cluster stacks and the cluster stack operator.
Which issue(s) this PR fixes:
Fixes #27
TODOs:

[ ] squash commits
[x] include documentation
[ ] add unit tests

This was a helpful document that explained the scope of the operator very good while being not too long :)
This feedback might be late to the game but i think rephrasing of provider-specific code would make it even easier to understand the whole concept:
Provider could be renamed to something like "ImageController" or "ImageManager" or "ImageUploader". Its whole purpose is to upload and manage images in a specific cloud.
In the clusterstack spec we have three fields that have "provider" in it (provider, noProvider and providerRef). If all three of them were removed and we had only one like "ImageController" we would get:
ImageController: none
or
ImageController: openstack
instead of three fields that seem redundant to me.
I really appreciate that it is optional to use the imagecontroller. I think this is a good design not to have a dependency between clusteraddons and the imagecontroller.


Allow special color keywords "transparent" and "currentColor"

Right now we accept named colors and hex colors but not these CSS color keywords.

Relevant discussion: https://github.com/posit-dev/great-tables/discussions/151#discussioncomment-8681542


Installing node versions from local file location

Is there a straight-forward way to run nvm-windows where it grabs the installer from a specified local file location?
The use-case for this is on a server or regular PC without internet access (ie one that's at least somewhat locked down or potentially just offline, like schools in remote locations).  Although the download part would then not function, the remaining nvm functionality is still really useful.
If it's not practical to do as the tool currently stands, I presume this might be better classified as an enhancement request.  I did look through existing issues and on Stack Overflow but didn't see anything that looked like it covered this.
Even if this can't be done and it's not accepted as a feature enhancement, nvm-windows is great, so a big thank you whatever the outcome!

BTW: just a small unrelated side-point, but the issues boilerplate includes a URL for the Stackoverflow page for NVM4W, but right now there seem to be no questions at all tagged with the tag given in the link (basically it looks like a load of people just tag them as [nvm] and [windows]; perhaps they're technically wrong, but it might work better if the URL were http://stackoverflow.com/questions/tagged/nvm+windows )

@nmstoker - Thanks for the SO tip too. At the moment, the short answer is no.
There is a possible workaround if your local environment is capable of running a web server to host the Node/npm installation files. You could setup a mirror server. nvm-windows supports mirroring in the master branch. However; if there is no internet access, the nvm list available command will not work because there is no mirroring capability for the list of available installations.
This is an interesting use case that piques my interest. My immediate gut reaction says the nvm-windows client may not be the right place for this functionality, but it seems like a use case that merits attention. A separate tool, such as a local mirroring server (something I've been toying around with already), may be a more appropriate fit. There are reasonably simple ways to setup a basic mirror, but I can already think of several maintenance & management headaches that would be much better handled outside of this project. If this is something you'd be interested in discussing, I'd be happy to do so privately.

Thanks for the details @coreybutler
Now you mention it, a separate tool may well make more sense. I haven't looked into mirror servers properly, but with the flexibility it gives for installing npm modules offline too, this may well be the way to go (although I'm on a fairly tight timeline, so whilst not averse to discussing it further, I'm unlikely to be able to do much in the near term)

Being able to install node from a local file would be super useful. At my office, the terminal is behind a firewall so nvm cannot download anything; whereas my browser does have internet access.

I wouldn't call this an edge case. If you want to use this in an enterprise environment or behind firewalls, you want to know exactly what is getting installed so reaching out to a server is a no-go.
I also strongly disagree that it should be a separate tool. What's the difference between reading from a webserver vs the local file system? It's a gross hack if I need to set up a local file server to provide a mirror.

First, if you can access the web via a browser, but not the terminal, then the browser is most likely to be configured to use a proxy. NVM4W supports proxies.
The other issue isn't whether the utility reads from disk or an HTTP stream. The issue is metadata management. All of the major version managers rely on Node's release list, since it is the authoritative source of which versions are available. This includes detail about which version of npm is packaged with each version of node, the latest/stable/current/lts/boron/etc releases, what is and isn't approved for release and so forth. It's alot of maintenance. This is exactly why Node mirroring is available, and why it will never be a part of the version management CLI utility. There is value in a local/LAN distribution environment, I fully recognize that, but it is quite a bit involved than just plunking files into a folder. There needs to be separation of concerns in order to make it managable.
To be brutally honest, I'm not exactly motivated to push forward on an open source Node distribution platform for enterprise use. I am the only one working on this project, half of the whopping $10 patronage comes from one individual, and I'm just not motivated to make enterprise software for free. That said, I have been discussing enterprise solutions with several organizations, because again, I absolutely see the DX value (and it's an interesting domain). I do see a future with more environment management, more in-house control of resources, etc.... but most likely as paid product offerings. Otherwise, setting up an internal mirror isn't really that complex.
If you're an individual who can't control the enterprise environment, Fenix Web Server may help. It was built for these kinds of situations. Setting up a mirror would be pretty straightforward (especially with v3).... visual, drag 'n' drop, but still gives you control to modify what is/isn't served.

Is there any cache directory I can put the downloaded setup executable like https://nodejs.org/dist/v14.8.0/win-x64//node.exe file (maybe rename it to add the version, arch info). Then install from it other than download it again. This would be nice and easy for offline installation.

@liudonghua123 no, but a proxy might be able to do caching. In other words, setup a proxy pointing to the official Node distributions and point NVM4W to the proxy. The first time an installer is requested it will be downloaded, but anything beyond that could be delivered from your LAN.

I have encountered the same problem. Do you have any solution now? Thanks.


[Bug]: Contact not directing to page section

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Hello @apu52 @anuragverma108  @heysagnik
Once you click the contact on navbar it should direct to particular section of page.
Expected behavior
using Query selectors in JavaScript onscroll it should direct to particular section.
for user convenience
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I have starred the repository

@sakshiglaze u are already assigned with 3 issues already , please don't raise more than 2 issues at a time . Please follow the rules mentioned in CONTRIBUTING.md file .I am closing your Some of the ISSUES & tagging some with "PENDING" .After completing the previously assigned issues , ping me there , I will assign u those issues


#517 - going to search forces user to sign in - Implemented

https://github.com/Microsoft/EmbeddedSocial-iOS-SDK/issues/517 - implemented

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Vadim-Bulavin sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Make geometry types for label generation configurable.

Connects to mapzen/vector-datasource#399.
@rmarianski could you review, please?

:+1:


server does not shut down

I'm not sure if this is the right place to report this (also it may be so that I am doing something wrong)
I have a client and server pair created from the example project. It all works fine, but when I stop the debugging session, the server process stays alive. Then when trying to debug again, a new server can't be started because the port is already in use.
If it was a general problem, I suppose more people would have cried, so please help me fix whatever I do wrong. I'm using the stock example code.

@vladdu just debugged the example today and it worked for me. How do you start the debug session with the server. If you use VS Code and attach to the server then stopping the debugging session doesn't stop the server. It detaches and leaves the server running. The debugger only kills the process if it has launched it.

I am only launching from the client, and do not attach the debugger on the server.

How do you start the server?

It's the example code, I don't do anything special. I'm not on that computer right now, so I can't try it again.
By the way, this was with version 1.13, I will try again with newer ones to see if there's any difference.

I did quite some development with LSP the last couple of days and I was not seeing this. Do you have any steps to reproduce with the sample. Please be aware that I moved the sample to this repository: https://github.com/Microsoft/vscode-extension-samples

I did a very quick test and it looks it's working. Can't do a full test right now, feel free to close and I will reopen if necessary. Thanks!

@vladdu thanks for reaching back. Closing.


[Feature] Additon of templates for bug issues and features suggestions and also for Pull Request

I think it would be better if people follows some certian steps or certain manner to report a bug or for the addition of the new feature adding this will lead for better understanding

willing to do this please assign this to me


Reserve capacity

I want to be able to configure extra reservation capacity (nodes/cpu/memory) in the provisioner settings.
On one hand I have the ttlSecondsAfterEmpty option that scales down empty nodes, which is great. On the other hand, scale up takes some time. If I could keep a reserved instance or two (or any number I choose for that matter) to never scale down even if the node is empty, this will speed up pod autoscaling.
Our workload is unpredictable most of the time. at some random time of day, we might get massive dumps of data to process and need to scale up our pods as fast as possible (our service is provided in near real-time speeds).
New node scale-up takes a minute or two which is not very awesome in terms of "real-time".
at the moment we use a managed service for scaling nodes and they have a similar feature which reserves extra capacity and as soon as it's needed, it's released to us.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

I think you might be referring to Spot Ocean headroom? In general, I'm open minded to this approach, but we need to be careful about implementing it in a way that fits naturally with Karpenter's scaleup/scaledown mechanisms.
The same mechanism as the cluster autoscaler's overprovisioning works with Karpenter, just in case you need something immediately.
Otherwise, I usually recommend:

Overprovision at the pod level
Optimize startup latency (we're doing a lot of work here)
Worst case, configure pod level headroom (e.g. negative preemption)

Yeah I was talking about Ocean. Option 3 actually sounds interesting, I'll check it out.
Still, something native might be better.
For example have an option like this:
reservedInstances: 2
reservedInstanceTypes: ['m5.xlarge','m4.xlarge']
Then if you don't have 2 empty nodes of these types, launch new ones, and if you want to scale down, make sure to keep 2 empty nodes of this type. This might be problematic though without using something like Descheduler, since not having 2 empty nodes doesn't mean you don't have enough capacity for extra pods.
anyway, just a thought.

reservedInstances: 2
reservedInstanceTypes: ['m5.xlarge','m4.xlarge']

Which AZ? Spot or OD? There are many questions that make this challenging. To cover all use cases, you really need to know the eventual pod specs that you'll need and solve the constraints from there.

This would feature would be great!
In case that the setting is Spot or OD then we use Spot the same as for regular provisioning.

Mega issue: #2050

I'm adding a comment to this issue, rather than opening a new feature request as it feels related.
I would also like to be able to specify an additional capacity buffer for a Karpenter provisioner, as a percentage. Karpenter maybe could then allocate extra headroom based on the current CPU/Memory scheduled. This would be instead of creating a dummy pod deployment (with a pause container), which has a lower PriorityClass. If we have multiple Karpenter provisoners we would need to create multiple dummy deployment to satisfies the constraints of the different provisoners. The buffer would probably need a constraint e.g. expand equal over AZs.

I also wish to add a comment to this issue instead of creating a new one.
It would be great if Karpenter would be able to support headroom in order to support sudden traffic spikes.
The idea is that karpenter will always be able to reserve 'available' CPU / Memory units for times when traffic spikes so the headroom will be able to serve more pods without delays.
Thank you!

https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-can-i-configure-overprovisioning-with-cluster-autoscaler documents solution 1 - pod level overprovisioning, and is pretty straightforward. Would recommend Karpenter document a similar solution if the dev work is difficult

@afirth You're right that doing pod-level negative priority for an overprovisioning buffer isn't specified anywhere in our docs. Would you be open to opening a PR that added this information to our docs in the Advanced Scheduling Techniques Section

Just to add another use case for this feature, I'm using Karpenter for ephemeral workloads like workflow jobs and having some pre-warmed nodes could make the user experience much better as the workflow tasks can be started immediately.

Closing as a dup of #2050.
#3240, #2050, and #987 all have a ton of upvotes, but #2050 has the most.

@afirth You're right that doing pod-level negative priority for an overprovisioning buffer isn't specified anywhere in our docs. Would you be open to opening a PR that added this information to our docs in the Advanced Scheduling Techniques Section

@jonathan-innis Sorry no, I don't use Karpenter.


No matching jobs causes a build error

Orb version:
0.0.2
What happened:
If no job matches the mapping, it'll lead to a build error (Config Processing Error) with:
#!/bin/sh -eo pipefail
# All Workflows have been filtered from this Pipeline.
# No Jobs have been run.
#
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don't rerun this job. Rerunning will have no effect.
false

Exited with code exit status 1
CircleCI received exit code 1

Expected behavior:
The build will simply be skipped with a message indicating the reason (No matching job) rather than generate an error.
Additional Information:
Maybe the finish command of the the continuation orb could be called when no job matches the mapping 🤔

Looks like this is no longer the behaviour for the latest version of the orb:
https://github.com/CircleCI-Public/path-filtering-orb/blob/main/src/scripts/create-parameters.py#L88
Closing this issue.

@h42zhu I'm getting the same behaviour with orb v0.1.6 (i.e. latest) - are you sure the fix works?
The problem is not so much with the warning message in on CircleCI but in that it leads to GitHub checks not passed.

I got the same error when using<EMAIL_ADDRESS>config.yml
version: 2.1

# enable dynamic config
# https://circleci.com/docs/dynamic-config/
setup: true

orbs:
  # https://circleci.com/developer/orbs/orb/circleci/path-filtering
  path-filtering<EMAIL_ADDRESS>
workflows:
  my-workflow:
    jobs:
      - path-filtering/filter:
          base-revision: main
          config-path: ".circleci/hello-world.yml"
          # mapping need
          mapping: |
            /server.* hello-world true

hello-world.yml
version: 2.1

parameters:
  hello-world:
    type: boolean
    default: false

jobs:
  hello-world-job:
    docker:
      - image: cimg/node:17.2.0
    steps:
      - checkout
      - run: echo "hello world"

workflows:
  version: 2.1
  hello-world:
    when: << pipeline.parameters.hello-world >>
    jobs:
      - hello-world-job

Same as @lucas-bsq  ,when running ci without changing /server directory, I got All Workflows have been filtered from this Pipeline. No Jobs have been run. error.

@yagikota you may want to upvote and subscribe to a related issue that has been opened in this same repo: https://github.com/CircleCI-Public/path-filtering-orb/issues/30


Modified:   Added Project Structure section (README.md)

Modified:

Added Project Structure

Thanks for your contribution!
I think that the project dir tree doesn't need to be in the readme :)


Issue with Tutorial

So I was able to get the package to build. If I try to run the tutorial, it throws an exception saying it cannot find the class, which happens to be one of the classes generated by the package generator...
I'm sure it's something obvious I'm missing...
Thoughts?

So - this probably has to do with the lack of autoload file. Looks like you and this before. Is this coming back?

How did you generate the package? Can you indicate the used options?
Normally, composer is launched in the genererated package folder in order to get the dependency package and generate the autoload. Did it happen? On which OS are you? Did you have any error during the generation?

I'm doing this on MacOSX. No errors during build/package generation, but no autoload file is generated.

Console out put while generating:
Start at 2015-08-21 07:09:16
Loading composer repositories with package information
Updating dependencies
Analyzed 70 packages to resolve dependencies
Analyzed 65 rules to resolve dependencies
  - Installing wsdltophp/packagebase (dev-master 3ccda03)
    Cloning 3ccda031051d088811f59d930e6e8d882ba49080

Writing lock file
Generating optimized autoload files
 End at 2015-08-21 07:09:32, duration: 00:00:16

Directory structure after complete
├── EnumType
│   ├── << FILES >>
├── ServiceType
│   ├── << FILES >>
├── StructType
│   ├── << FILES >>
├── TESTClassMap.php
├── composer.json
├── composer.lock
├── tutorial.php
└── vendor
    ├── autoload.php
    ├── composer
    │   ├── ClassLoader.php
    │   ├── LICENSE
    │   ├── autoload_classmap.php
    │   ├── autoload_namespaces.php
    │   ├── autoload_psr4.php
    │   ├── autoload_real.php
    │   └── installed.json
    └── wsdltophp
        └── packagebase
            ├── CHANGELOG.md
            ├── LICENSE
            ├── README.md
            ├── composer.json
            ├── phpunit.xml.dist
            ├── src
            │   ├── AbstractSoapClientBase.php
            │   ├── AbstractStructArrayBase.php
            │   ├── AbstractStructBase.php
            │   ├── SoapClientInterface.php
            │   ├── StructArrayInterface.php
            │   ├── StructInterface.php
            │   └── Utils.php
            └── tests
                ├── Client.php
                ├── SoapClient.php
                ├── SoapClientTest.php
                ├── StructArrayObject.php
                ├── StructArrayTest.php
                ├── StructBaseTest.php
                ├── StructObject.php
                ├── TestCase.php
                ├── UtilsTest.php
                └── resources
                    ├── bingsearch.wsdl
                    ├── formated.xml
                    └── oneline.xml

The autoload file is there:
└── vendor
    ├── autoload.php

I see that it's there, but why do I get the error when executing php tutorial.php?

i mentioned this here:
https://github.com/WsdlToPhp/PackageGenerator/issues/13#issuecomment-126513404
also includes how to fix it

Appreciate the insight! That worked like a charm. Suggest this be added to the README file so that others don't run into the same trap.
Thanks again!

did that already as well in same thread: https://github.com/WsdlToPhp/PackageGenerator/issues/13#issuecomment-126516465

@ceeram: I believe it can't be done using the init command using composer, isn't it?  (as a reminder, the generated composer file is generated using the composer package/dependency).
If the autoload section can't be added using the init composer's command then it means I'll have to generate the composer file another way. Any suggestion?

I think its possible, but i had some other ideas in mind as well, which would probably make things a bit easier as well. Ill put up a PR for those to discuss them.

So... I have another question...
It seems that the generated classes don't support elements that also have a value. Example:
namespace TEST\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GloballyUniqueFlightIdentifierType StructType
 * @package TEST
 * @subpackage Structs
 */

class TESTGloballyUniqueFlightIdentifierType extends AbstractStructBase
{
    /**
     * The codeSpace
     * @var string
     */
    public $codeSpace;
    /**
     * Constructor method for GloballyUniqueFlightIdentifierType
     * @uses TESTGloballyUniqueFlightIdentifierType::set_()
     * @uses TESTGloballyUniqueFlightIdentifierType::setCodeSpace()
     * @param string $codeSpace
     */
    public function __construct($codeSpace = null)
    {
        $this
            ->setCodeSpace($codeSpace);
    }

    /**
     * Get codeSpace value
     * @return string|null
     */
    public function getCodeSpace()
    {
        return $this->codeSpace;
    }
    /**
     * Set codeSpace value
     * @param string $codeSpace
     * @return \TEST\StructType\TESTGloballyUniqueFlightIdentifierType
     */
    public function setCodeSpace($codeSpace = null)
    {
        $this->codeSpace = $codeSpace;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \TEST\StructType\TESTGloballyUniqueFlightIdentifierType
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}

the element send to the web service should look like
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="----">
   <soapenv:Header/>
   <soapenv:Body>
      <def:Gufi codeSpace="urn:uuid">b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad</def:Gufi>
   </soapenv:Body>
</soapenv:Envelope>

How do I set the b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad?

Pass it to the constructor?
Op 21 aug. 2015 16:21 schreef "kevinmlong"<EMAIL_ADDRESS>
So... I have another question...
It seems that the generated classes don't support elements that also have
a value. Example:
namespace TEST\StructType;use \WsdlToPhp\PackageBase\AbstractStructBase;/** * This class stands for GloballyUniqueFlightIdentifierType StructType * @package TEST * @subpackage Structs /class TESTGloballyUniqueFlightIdentifierType extends AbstractStructBase{    /*     * The codeSpace     * @var string     /    public $codeSpace;    /*     * Constructor method for GloballyUniqueFlightIdentifierType     * @uses TESTGloballyUniqueFlightIdentifierType::set_()     * @uses TESTGloballyUniqueFlightIdentifierType::setCodeSpace()     * @param string $codeSpace     /    public function __construct($codeSpace = null)    {        $this            ->setCodeSpace($codeSpace);    }    /*     * Get codeSpace value     * @return string|null     /    public function getCodeSpace()    {        return $this->codeSpace;    }    /*     * Set codeSpace value     * @param string $codeSpace     * @return \TEST\StructType\TESTGloballyUniqueFlightIdentifierType     /    public function setCodeSpace($codeSpace = null)    {        $this->codeSpace = $codeSpace;        return $this;    }    /*     * Method called when an object has been exported with var_export() functions     * It allows to return an object instantiated with the values     * @see AbstractStructBase::__set_state()     * @uses AbstractStructBase::__set_state()     * @param array $array the exported values     * @return \TEST\StructType\TESTGloballyUniqueFlightIdentifierType     /    public static function __set_state(array $array)    {        return parent::__set_state($array);    }    /*     * Method returning the class name     * @return string CLASS     */    public function __toString()    {        return CLASS;    }}
the element send to the web service should look like
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="----">
soapenv:Header/
soapenv:Body
<def:Gufi codeSpace="urn:uuid">b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad</def:Gufi>
</soapenv:Body>
</soapenv:Envelope>
How do I set the b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad?
—
Reply to this email directly or view it on GitHub
https://github.com/WsdlToPhp/PackageGenerator/issues/22#issuecomment-133440724
.

Not quite... I don't think these classes support setting the value of the element. All of the variables defined in the class are attributes I believe. Am I wrong?

is this a public soap service? can you provide the wsdl location? need more context to see i guess, unless @mikaelcom can tell from the top off the head

Unfortunately it's not. This is what the library generates:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="----">
  <SOAP-ENV:Body>
    <ns1:Gufi codeSpace="urn:uuid"/>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

This is what I need it to look like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="----">
   <soapenv:Header/>
   <soapenv:Body>
      <def:Gufi codeSpace="urn:uuid">b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad</def:Gufi>
   </soapenv:Body>
</soapenv:Envelope>

My question pertains to how to populate the b2b50566-f8ae-4ecf-b4a8-d9bb3fc5d6ad as adding another variable to the class just adds another attribute.

So I figured it out. Mainly an error on my part for changing some stuff and forgetting that I did that. I have it properly working now, with the exception that I get a SOAP-ERROR: Encoding: Violation of encoding rules during the call $$this->setResult(self::getSoapClient()->method($params));
Thoughts?

@kevinmlong could you send me the WSDL and its associated schema to<EMAIL_ADDRESS>Normally, the _ property is defined as the value but it seems the getter/setter are not defined nor called even if the constructor PHPDoc indicated its calls it at @uses TESTGloballyUniqueFlightIdentifierType::set_()
thanks

Autoload is now fixed on develop branch since https://github.com/WsdlToPhp/PackageGenerator/commit/081efaef595aa72500a83d2a9d8988bd3f558618.
@kevinmlong could you send me the WSDL and its associated schema to<EMAIL_ADDRESS>I won't make it public in any way, I'm just curious about your issue, thks

@mikaelcom - unfortunately I can't - sorry. Apologies for not posting my comment earlier. The encoding issue was a php config issue I believe. By updating my php version (or using the MAMP installation) resolved this error.

@kevinmlong OK, good to know. This issue is no longer existing then? Can it be closed?

@kevinmlong any additional feedback in mind?

no news good news :smile:


document external pointer

This PR adds a few lines of documentation for the external pointer per https://discord.com/channels/751419551132155925/1067823507712516146/1067824501598986421.
Adds language that might be a bit more helpful for R users to understand. Additionally makes a note that in order to dereference the objects must have the Clone trait or be a reference.

The one error is from https://github.com/extendr/extendr/actions/runs/4007428814/jobs/6896132941 with a cryptic
Process completed with exit code 1 under section "Check code formatting".
I suspect this is because a few lines only had // as opposed to ///. New commit to fix.

CI errors are due to tests of graphic devices. This PR does not add or modify tests.

Yeah, the API version is bumped on R-devel. I'll take care of it, so you can ignore. (I have no idea what's happening on the Windows runner with R-release, but let's forget about it now...)

Might be worth mentioning that ExternalPointer::new() is the recommended way to create one.
Also isn't the "the object must either implement the Copy trait" thing just a function of it being a pointer? We put the original object in a box and then consumed the box, so Rust doesn't really know who owns the original object.

@JosiahParry
The graphics device things should be fixed. It seems you have trailing spaces in these lines. Just in case you don't notice, instead of editing carefully by hand and praying, you can just run cargo fmt!
https://github.com/extendr/extendr/actions/runs/4017050519/jobs/6927322567

Added cargo fmt :)


Failed to connect with latest firmware

Just updated the firmware and the integration now fails to connect.
It was connected before the update and no other changes were made to HA/network.
I've tried removing and re adding the integration and devices and the story is the same with both camera's I updated.
Model: RLC-820A
Build No. build 21121701
Hardware No. IPC_523128M8MP
Config Version v<IP_ADDRESS>
Firmware Version v<IP_ADDRESS>4_21121701
Details IPC_523128M8MPS18E1W01100000001

Can confirm reverting back to firmware version v<IP_ADDRESS>4_21073001 makes everything work as it should.

Hi,
What were the error messages? Also remember that new firmware disables HTTP (leaves HTTPS open only) and RTSP+ONVIF by default, you need to turn them on again manually.

I have the same problem, but I solved it.
If you use reolink application, you have to update it too, otherwise you won't see new settings (switches for protocols). HTTP and rtsp are indeed disabled by default.
You can notice this by going to port 80 in the settings through the browser.
Try it, it worked for me.

Thanks mvbl for your post!  I was using the Win 10 Reolink client and although it looks the same as the browser sign-in it doesn't have the  settings for enabling protocols.  I don't know why Reolink client has this inconsistency...just another of those gotchas.
So use the browser method and not the Win 10 client and will work for you.

That was my issue, Thanks mvbl. I was using the app and couldn't find those settings anywhere.
Port 80 in the browser, Network settings -> Advanced -> Port settings, enabled the above and all started working.
Talk about confusing consistences.


Absolute path

Problem
Unable to find the absolute path of USB mass storage.
Expected behavior
Absolute path = "/mnt/usb_storage/..."
Actual behavior
String absPath = currentFs.getRootDirectory().getAbsolutePath();
getting abspath just "/"
Absolute path = "/"
Stacktrace of Excpetion
(if exists)

Code where problem occurs

Hey there,
so for this library the absolute path is indeed /. The path with /mnt/.. is more an Android / Linux style mount path. This is managed by the Linux kernel, which this library is completely independent from.
If your Android device supports mounting usb drives you do not need this library, you can just use the standard ways of accessing files in the Android file system and use /mnt/....

Hey there,
so for this library the absolute path is indeed /. The path with /mnt/.. is more an Android / Linux style mount path. This is managed by the Linux kernel, which this library is completely independent from.
If your Android device supports mounting usb drives you do not need this library, you can just use the standard ways of accessing files in the Android file system and use /mnt/....


Added -Verb argument completer for Start-Process

PR Summary
Fixes #20414.
Added -Verb argument completer for Start-Process.

PR Context

Currently if you try to tab complete verbs with Start-Process -Verb there is no tab completion.
This PR adds a VerbArgumentCompleter for Start-Process -Verb which does tab completion based on file extensions if supported extension is used with FilePath. It gets verbs from System.Diagnostics.ProcessStartInfo.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

There is also the possibility to figure out if file with no extension is an executable with Application command type but maybe not worth the extra code that would add to check. Keen for thoughts on this. Seemed simpler to check extension only and only complete if it exists and ProcessStartInfo object has verbs.

Thanks @iSazonov for the review. I have made changes for application verb discovery without extension. I will also add some tests to cover this case.

After merging latest changes from master there is an unrelated code factor issue.


Add creation time details to rbd stats

currently rbd.Stats() doesn't return any information related to the rbd image time stamps, but the Creation time is available in rbd info CLI
 #rbd info test --pool=replicapool
rbd image 'test':
	size 1 GiB in 256 objects
	order 22 (4 MiB objects)
	snapshot_count: 0
	id: 3d021946437b
	block_name_prefix: rbd_data.3d021946437b
	format: 2
	features: layering
	op_features:
	flags:
	create_timestamp: Wed Jun 17 11:36:06 2020
	access_timestamp: Wed Jun 17 11:36:06 2020
	modify_timestamp: Wed Jun 17 11:36:06 2020

The additional attributes are gathered with their own functions:
From <rbd/librbd.h>:
CEPH_RBD_API int rbd_get_create_timestamp(rbd_image_t image,
                                          struct timespec *timestamp);
CEPH_RBD_API int rbd_get_access_timestamp(rbd_image_t image,
                                          struct timespec *timestamp);
CEPH_RBD_API int rbd_get_modify_timestamp(rbd_image_t image,
                                          struct timespec *timestamp);

These will need to get implemented.


feat: Update hyperparam tuning starter template

What this PR does:
Which issue(s) this PR fixes:

Fixes onepanelio/core#
Special notes for your reviewer:
Checklist
Please check if applies

[ ] I have added/updated relevant unit tests
[ ] I have added/updated relevant documentation

Required

[x] I accept to release these changes under the Apache 2.0 License

Depends on further testing with https://github.com/onepanelio/templates/pull/74


Implement endpoint for Webhooks

Add methods for interacting with webhooks.

@codetheweb - are we implementing all the endpoints on the SDK? (CRUD)

Yep!


Cleanup easylogging git repo - Medium size files in repository - .pdb, .cdf, .gch

I'm just curious.. What are these, and are they necessary? I'm not sure why, but easyloggingpp seems to take a long time to clone. I'm trying to figure out why...
	Filename                   Git id
	---------------------------------------------
	VCPP2012_Win32.pdb       | 0d59fca2 (3.3 MB)
	VCPP2012_Win32.sdf       | 7524b104 (35.4 MB)
	easylogging++.h.gch      | 9e524c35 (16.4 MB)
	fast-dictionary          | 5d98237a (3.7 MB)
	file-splitter-and-joiner | 1bcec94b (7.9 MB)
	listwithsearch.o         | d81d5b38 (3.0 MB)
	main.o                   | 8097b738 (3.0 MB)
	mainwindow.o             | d7fd5880 (3.1 MB)
	myeasylog.log            | 6022e7b6 (7.0 MB)
	speed_test.log           | 35810190 (5.3 MB)

More generally I suppose, it would be good if the repo was cleaned of unnecessary files such as the object files. Let me know if I can help!
The above was supplied by bfg

This happens because these files are in the commit history, then these objects remained inside the pack file in the repository. You can remove them by rewriting the history and removing this unwanted file with filter-branch.
e.g.:
git filter-branch --index-filter 'git rm --cached --ignore-unmatch samples/VC++/VCPP2012_Win32_Multithreaded/VCPP2012_Win32.sdf' HEAD

repeat the command for each remaining large file.
Additional notes:
filter-branch creates backups of your original refs namespaced under refs/original/. You can run the following command to delete the backup:
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d

Not solved the problem yet?...

I haven't been keeping up on it. If it is, I can close the issue.

Hello!
I have been working on this a bit, it's slightly tricky but I was able to get the repo size down from 33.7 MB to 19.1 MB.
I used this command to list every file that has even been deleted:
git log --all --pretty=format: --name-only --diff-filter=D | sort -u > deadfiles.txt

then I had to carefully edit this file (escape space, $'s, remove folders from it, remove things which have been deleted then re-created in the repo) before I could use it in a script (go.sh) that I wrote to erase a large list of files from the repo history. go.sh is here.
originally I made a list of extensions (.sdf .zip .class .jar .bin .o .o.d .so .pro .pro.user .autosave .archive .exe .ilk .pdb .vcxproj .vcxproj.filters .vcxproj.user) for files to delete, but it didn't reduce the repo size enough. So I used the deadfiles list to erase more rigerously.
Here is my repo with the dead files erase from history: https://github.com/orchid-hybrid/easyloggingpp
and I felt it was important to verify the deletion had only removed things from history and no current files. so I ran this check:
$ git clone https://github.com/easylogging/easyloggingpp.git
$ mv easyloggingpp easyloggingpp_ORIG
$ git clone https://github.com/orchid-hybrid/easyloggingpp.git
$ mv easyloggingpp easyloggingpp_CLEAN
$ yes | rm -r easyloggingpp_CLEAN/.git
$ yes | rm -r easyloggingpp_ORIG/.git
$ diff -r easyloggingpp_CLEAN easyloggingpp_ORIG
$

Also note that you can use git clone https://<repo> --depth 1 for a much faster clone (since it doesn't download history).

Perhaps the owners might accept a pull request?

Actually, I'm not sure that would work anyway... I'm not sure how we go about getting this closed.


Could we get a new tag on master?

The last tag of master was v2.0.1 from Nov 2016. Since that time there have been a handful of additions merged to master. Could we get master tagged with a v2.0.2? or maybe v2.1.0? (either is fine by me). This would make it easier to pull in the latest additions through composer. Thanks @marcelog !
(for some reason, the "dev-master" option was recently removed from packagist, making it difficult to get the updates without an actual tag)

The composer.json file was outdated, could you try again with dev-master? Thanks for reporting it, btw!

dev-master is working again, as well as the new v2.0.2 release! Thanks so much for the speedy response!


How to use browser-prefixed css property names in camelCase styling? (eg. -moz, -webkit)

http://leeoniya.github.io/domvm/#templates
In the docs, there's the option to define styles as a camelCase object:

el("p", {style: {fontSize: "10pt"}}, "Hello")          // or an object (camelCase only)

For example, the CSS property : value of:
box-shadow : "0px 4px 15px 2px rgba(0,0,0,0.35)"
becomes:
boxShadow : "0px 4px 15px 2px rgba(0,0,0,0.35)"
This works well.

How does this work with browser-prefixed classes, such as "-webkit" or "-moz"?
I've tried:
-webkit-box-shadow : "0px 4px 15px 2px rgba(0,0,0,0.35)"
as :
webkitBoxShadow : "0px 4px 15px 2px rgba(0,0,0,0.35)"
but this doesn't appear to work.

Can you not just quote the key?
"-webkit-box-shadow" : "0px 4px 15px 2px rgba(0,0,0,0.35)"

@lawrence-dol no it sets them as el.style.* properties.
@Paul-Lategan
domvm doesnt handle this, but you can make a simple helper for yourself that iterates your css objects and passes them through a prefixing lib such as:
https://github.com/LeaVerou/prefixfree
https://github.com/anseki/cssprefix
`{style: css({boxShadow: ...})}`

or whatever :)

@lawrence-dol @leeoniya
That works, thanks for the quick reply!

i added these libs to the readme: https://github.com/leeoniya/domvm#what-domvm-is-not


[CT-3224] [Regression] DBT 1.5.8 introduces breaking changes to incrementally materialized models

Is this a regression in a recent version of dbt-core?

[X] I believe this is a regression in dbt-core functionality
[X] I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior
Prior to 1.5.8 (<= 1.5.7), incremental models would accept implicit type casts such as VARCHAR(n) -> TEXT (or the other way around). In other words, prior to 1.5.8, if the model's DDL / contract specification was TEXT, then source data of type VARCHAR(n) would get incrementally added to the table without issue and without any need for explicitly casting (ie.: my_column::TEXT).
With dbt-cloud not allowing users to pin down a minor version of DBT, this caused models to suddenly stop working for us.
Expected/Previous Behavior
Prior to 1.5.8 (<= 1.5.7), incremental models would accept implicit type casts such as VARCHAR(n) -> TEXT.
Steps To Reproduce
See problem description in "Current behaviour". This should be trivially reproducible.
Relevant log output
20:42:22                     Source columns not in target: []
20:42:22                     Target columns not in source: []
20:42:22                     New column types: [{'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}, {'column_name': 'REDACTED', 'new_type': 'character varying(256)'}]

Environment
- OS: any (dbt-cloud)
- Python: any (dbt-cloud)
- dbt (working version): 1.5.7
- dbt (regression version): 1.5.8

Which database adapter are you using with dbt?
postgres
Additional Context
No response

@epgui Thanks for opening! I am guessing that the root cause here must have been the fix to resolve this bug:

https://github.com/dbt-labs/dbt-core/issues/8022
https://github.com/dbt-labs/dbt-core/pull/8768

You could try "reverting" that fix, by adding an override of the create_table_as macro without this line changed, to see if it resolves the issue for you.

After looking a bit more closely at that change, I believe it has a larger scope than the effect desired.

Ideal: don't template foreign-key constraints into create temporary table DDL statement, which aren't supported when creating temp tables
Next-best: don't template any constraints into create temporary table DDL statement (the constraints will be applied on insert)
Acceptable [per my comment here, though it doesn't resolve this issue]: don't include column schema (names, data types, constraints) in create temporary table DDL statement

Whereas, I believe the change implemented in #8768 disables all contract checks on incremental builds of incremental models, including the "pre-flight" check in get_assert_columns_equivalent. That's not right.

I opened another issue (#8896) for the related issue described by @jtcohen6.

Twofold apology:

First, Github notifications don't really work for me, so I was not alerted to the fact that further input was requested from me.
Second, this is an issue I've come across at work, and while it's not ideal we have an ad-hoc mitigation/workaround in place. I don't know if I will have time to look into this in greater detail.

I regret that I can't provide much more information at this time, and I hope my raising the issue was at least somewhat helpful.

No worries @epgui.
Can you describe the ad-hoc mitigation/workaround? That might help us figure out the characteristics causing the issue you experienced.

No worries @epgui.
Can you describe the ad-hoc mitigation/workaround? That might help us figure out the characteristics causing the issue you experienced.

It is just as described in the original report: we must explicitly cast every VARCHAR(n) to TEXT. Additionally, we had to drop the entire table and rebuild it with these explicit casts in order to get past the error.

@epgui we are looking for a detailed code example we could try running ourselves rather than a written description without code examples.
We don't have enough information right now to reproduce, so we can't re-open this issue until then.
Here is the type of issue report we are looking for.


Spyder fails to start on Linux

Problem Description
Installed Anaconda on Ubuntu, and it was successful.
However, when i try to launch spyder, I get an error. It is related to PyQt5.
I noticed some issues related to the problem I am having:
#3383 (https://github.com/spyder-ide/spyder/issues/3383)
#3145 (https://github.com/spyder-ide/spyder/issues/3145)
but according to those, this issue was fixed in spyder 3.0 and up... so i am not sure what i am doing wrong..
What steps will reproduce the problem?

Trying to run spyder
spyder

What is the expected output? What do you see instead?
I expect to see an spyder launched, instead i get this error:
"Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/bin/spyder", line 11, in
sys.exit(main())
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 144, in main
from spyder.app import mainwindow
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 92, in
from qtpy import QtWebEngineWidgets  # analysis:ignore
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
"
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Package Versions

Spyder:  3.2.6
Python:  3.6.4
Qt: 5.6.2
PyQt: 5.6.0
Operating System: 4.4.0-112-generic GNU/Linux

Dependencies

PASTE DEPENDENCIES HERE

Based on some comments on the issues, i tried the following things as well:

conda update qt5

"PackageNotInstalledError: Package is not installed in prefix.
prefix: /home/rmahajan14/anaconda3
package name: qt5"

conda update qtpy - this works, and I get

" qtpy:            1.3.1-py36h3691cc8_0  --> 1.4.0-py36_0"
However, i still have this same issue

As a last resort, i did
"conda update --all"
My new versions are:
spyder                    3.2.8
pyqt                      5.9.2
qt                        5.9.5
qtpy                      1.4.0
I now get a different error related to QtWebEngineWidgets
"Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libXcomposite.so.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/bin/spyder", line 11, in
sys.exit(main())
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 159, in main
from spyder.app import mainwindow
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 92, in
from qtpy import QtWebEngineWidgets  # analysis:ignore
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
"

I am sorry, but what do you man by headless server? How can i find out whether it is a headless server?

I tried many things since then, and installed xterm too.
I now have the following errors:
"~ $ spyder
Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libasound.so.2: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rmahajan14/anaconda3/bin/spyder", line 11, in
sys.exit(main())
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 159, in main
from spyder.app import mainwindow
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 92, in
from qtpy import QtWebEngineWidgets  # analysis:ignore
File "/home/rmahajan14/anaconda3/lib/python3.6/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
"

Specifically, based on another similar issue which i was seeing, i had done this
"sudo apt-get install libsm6 libxrender1 libfontconfig1"
@ccordoba12
After that the libXrender disppeared, and I think now the error is basically that it is not finding 'PyQt5.QtWebKitWidgets' right?

@ccordoba12  if you mean its a virtual machine, then yes, I have windows OS, so i created a virtual box for ubuntu.. I didnt think that would be a problem..
Just one last question - since i did install those 3 libraries  and that error relating to that disappeared, isnt it true that the error i am getting now basically states that it is not finding 'PyQt5.QtWebKitWidgets' right? So, are you saying that this "QtWebKitWidgets" is also specific to ubuntu installation?
It seems to me from the error (in this line -> from PyQt5.QtWebEngineWidgets import QWebEnginePage) that the error is related to PyQt5 installation(which does come with anaconda)?
Thankyou for all your help ! :)

if you mean its a virtual machine

No, I didn't.

isnt it true that the error i am getting now basically states that it is not finding 'PyQt5.QtWebKitWidgets' right?

No, that's incorrect. Look at the error again:
ImportError: libasound.so.2: cannot open shared object file: No such file or directory

That means you're missing Alsa too.

Look, it's clear you don't know how Linux works. Simply remove your virtual machine and install a new one with all default options from the Ubuntu installer. Don't customize anything during installation, and then you'll get all that Spyder needs to run.

I'm getting this issue too, trying to use spyder on bash for Windows (a.k.a. linux subsystem for windows). I did a default installation of Ubuntu on that, and get the errors
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libQt5WebEngineCore.so.5: cannot enable executable stack as shared object requires: Invalid argument
and
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

Same issue with a Debian bash for Windows (Debian subsystem for Windows), same error, conda is up-to-date, qtpy too, I'm using Xming as X server for Windows which works for other applications.

You are most likely missing many graphics related interfaces if you are running on a sub-system or docker container of ubunto etc.
I had similar issues and ended up installing the following
´sudo apt-get install alsa'
for your particular issue.
I suggest installing ´apt-file´ using that to search for the missing files. Works many times (although not in this case)

For any one arriving here while trying to upgrade the pip installed version of spyder on an Ubuntu 16.04 Linux box the solution that worked for me was:
sudo apt-get install python-pyqt5.qtwebkit

sudo apt-get install python-pyqt5.qtwebkit
Just checked; This also works for Ubuntu-18.04-LTS.

For me, i had some conflicts in installing so i did:

pip uninstall spyder
apt remove spyder spyder3

then installing it again using apt:

apt-get install spyder3

It works.

Try
python3 -m pip install --upgrade PyQtWebEngine

It work for me.
sudo pip install pyqt5==5.11.2

I want to install spyder in a docker that based on pytorch/pytorch. And I also confront this problem. I try many ways and finally fixed the problem. I think the steps may help you.
docker pull pytorch/pytorch # Ubuntu 16.04.5 LTS  Python 3.6.6
conda install -c anaconda spyder #install spyder
apt update #
apt install libgl1-mesa-glx  #fix that libGL.so.1: cannot open shared object file: No such file or directory
conda install pyqt=5.9.2     #I don't known why this version is 5.9.2 but it works
apt-get install python-pyqt5.qtwebkit
conda update -c conda-forge qt pyqt # this step is also important

@JDYG

I want to install spyder in a docker that based on pytorch/pytorch. And I also confront this problem. I try many ways and finally fixed the problem. I think the steps may help you.
docker pull pytorch/pytorch # Ubuntu 16.04.5 LTS  Python 3.6.6
conda install -c anaconda spyder #install spyder
apt update #
apt install libgl1-mesa-glx  #fix that libGL.so.1: cannot open shared object file: No such file or directory
conda install pyqt=5.9.2     #I don't known why this version is 5.9.2 but it works
apt-get install python-pyqt5.qtwebkit
conda update -c conda-forge qt pyqt # this step is also important

Thanks for the post, I had been looking for a solution to run Spyder inside a docker container based on NVIDIA Pytorch.
Unfortunately I followed all the steps listed, including downloading the docker pytorch/pytorch image, and I still get the error,
in addition to a missing library, which I will search:
$ spyder
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libXss.so.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/bin/spyder", line 11, in
sys.exit(main())
File "/opt/conda/lib/python3.7/site-packages/spyder/app/start.py", line 201, in main
from spyder.app import mainwindow
File "/opt/conda/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 84, in
from qtpy import QtWebEngineWidgets  # analysis:ignore
File "/opt/conda/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'


In edit mode, click on a shape to edit it

A user should not have to first select the shape to edit a particular shape #748

Done


Text-wrapping technique

This is a sortof-style item but I think it might be a good fit to have within the canvas-datagrid itself, as it's more a rendering item than a display/css one. There are four ways to show data that may overflow in the cell:

Ellipses

Overflow

Wrap (expands row-heigh to auto-fit)

Cut

It would be nice to be able to specify this at the cell or table-level.

The Canvas Datagrid has so many robust features I am surprised to find this missing.  @TonyGermaneri :  any chance this is included but just not documented?  There is a statement in the api that says 'if wrap-text is enabled' but there is nothing further.
I have spent a lot of time trying to find this method, but alas does not appear to be in there.
Great grid!  Hard to believe there are not more people actively building on this.


CVE-2021-29060

I see CVE 2021-29060 against latest color-string (CVE last updated 6/24/2021)
It says 1.5.5 and below.
https://nvd.nist.gov/vuln/detail/CVE-2021-29060
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Color-String version 1.5.5 and below which occurs when the application is provided and checks a crafted invalid HWB string.
The CVE has a link to this patch: https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3 (which is suppose to be in 1.5.5). That patch was made in March 5th.
So the latest CVE still flags the issue.

Yeah I don't maintain that, they got the version wrong. I wasn't made aware there was going to be a CVE published about this. Pretty sure this is Snyk security doing this, even though IIRC I asked that they don't publish a CVE as it's not a high risk.
TLDR the current release is patched, and the only way this would have affected you is if you passed unsanitized user input to this. Most people I would imagine are not doing that. If you're on 1.5.5 you're fine.
Thanks for bringing this to my attention.


First shown output line in window is ommitted after next command

Windows Terminal version (or Windows build number)
10.0.19042.0, 1.4.3243.0
Other Software
No response
Steps to reproduce

Create text file with multiple lines (e.g. 01-10)
Resize Terminal window to not show all line (e.g. only show 02-10)
Output content of file (Get-Content or cat)
execute another command that will output multiple lines
Scrolling up Terminal will now omit the "02" line

Expected Behavior
PS C:\> Write-Host "only 02-09 visible in window:"
only 02-09 visible in window:
PS C:\> Get-Content test.txt
01
02 <<<< This output is missing in "actual behaviour"
03
04
05
06
07
08
09
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09
PS C:\> Write-Host "Resizing Window. Now all numbers are visible in window:"
Resizing Window. Now all numbers are visible in window:
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09

Actual Behavior
PS C:\> Write-Host "only 02-09 visible in window:"
only 02-09 visible in window:
PS C:\> Get-Content test.txt
01
03
04
05
06
07
08
09
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09
PS C:\> Write-Host "Resizing Window. Now all numbers are visible in window:"
Resizing Window. Now all numbers are visible in window:
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09
PS C:\> Get-Content test.txt
01
02
03
04
05
06
07
08
09

Windows Size:

I believe this is the same as /dup https://github.com/PowerShell/PSReadLine/issues/724
The old version of PSReadline that came with Windows PowerShell uses a "hard scroll" operation when the prompt is displayed. This "hard scroll" deletes the content that was scrolled off the screen.


Lombok plugin enabled by default.

It should be disabled by default. Not every project uses lombok.

This is somewhat related to #271

lombok plugin was integrated into Intellij starting 2020.3.


chore: Review and optimize OC web app bundle size

Closes #2203
Changelog

Reduce the size of any Angular components to 10kb
Check that we are indeed using ahead-of-time compilation (AOT)
Review the content of the JS bundle (main.*.js)

Note

We are already using the default production config, which comes with the most important optimizations.
AOT is used by default since Angular 9 (source)
Use source-map-explorer to analyze the content of the JS bundle

Good watch: Source Map Explorer, Totally Tooling Tips (S3, E13)

Preview
Build the app and generate source maps
Source maps are only generated with the development config.
nx build openchallenges-app --configuration=development

Baseline
source-map-explorer dist/apps/openchallenges/app/browser/browser/main.370643f4d61747af.js --html output.html

$ source-map-explorer dist/apps/openchallenges/app/browser/browser/main.370643f4d61747af.js --tsv
Source  Size
<EMAIL_ADDRESS>121330
webpack:///node_modules/lodash/lodash.js        73743
<EMAIL_ADDRESS>   70985
<EMAIL_ADDRESS>      56664
webpack:///node_modules/primeng/fesm2022/primeng-multiselect.mjs        41039
webpack:///node_modules/primeng/fesm2022/primeng-dropdown.mjs   39634
<EMAIL_ADDRESS>     35480
<EMAIL_ADDRESS> 32662
<EMAIL_ADDRESS>   31646
webpack:///node_modules/primeng/fesm2022/primeng-inputnumber.mjs        29701
webpack:///node_modules/primeng/fesm2022/primeng-scroller.mjs   25191
<EMAIL_ADDRESS>     18938
<EMAIL_ADDRESS>  18651
webpack:///node_modules/primeng/fesm2022/primeng-overlay.mjs    15585
<EMAIL_ADDRESS>15527
webpack:///node_modules/primeng/fesm2022/primeng-paginator.mjs  15241
webpack:///node_modules/primeng/fesm2022/primeng-dom.mjs        13155
<EMAIL_ADDRESS>   12988
webpack:///node_modules/primeng/fesm2022/primeng-tooltip.mjs    12923
<EMAIL_ADDRESS>   11650
webpack:///node_modules/ngx-avatars/fesm2020/ngx-avatars.mjs    11010
<EMAIL_ADDRESS>10815
webpack:///node_modules/primeng/fesm2022/primeng-api.mjs        10552
webpack:///node_modules/typed.js/dist/typed.module.js   9704
webpack:///libs/openchallenges/ui/src/lib/challenge-card/challenge-card.component.ts    9168
webpack:///node_modules/ngx-echarts/fesm2022/ngx-echarts.mjs    7756
webpack:///node_modules/ts-md5/dist/esm/md5.js  6591
webpack:///node_modules/primeng/fesm2022/primeng-checkbox.mjs   6512
<EMAIL_ADDRESS>     6021
webpack:///node_modules/countup.js/dist/countUp.min.js  5733
webpack:///node_modules/primeng/fesm2022/primeng-button.mjs     5130
...

Time boxing this issue as there is no need to further reduce the bundle. As long as we are below 2 MB we are fine - I saw the 2 MB "limit" mentioned in several articles.

cc: @rrchai @sagely1 @JessterB

The Node.js runtime includes a number of common libraries, as well as a version of the AWS SDK for JavaScript. Runtime versions up to nodejs16.x include version 2.x of the SDK. Runtime versions starting from nodejs18.x include version 3 of the SDK.

TODO

[ ] Check that I don't need to package @aws-sdk as part of the lambda and don't have to push these packages to lambda, even as layer.

Argument in favor of bundling

Compared to adding dependencies to your deployment package, bundling your code results in improved performance due to the reduction in I/O operations.

Source: https://docs.aws.amazon.com/lambda/latest/dg/nodejs-package.html#nodejs-package-searchpath


[Enhancement] Add custom command

Can you make custom command for every command?
For example :
prefix (!)
play = p, pl
stop = s
history = h, hs
volume = vol
remove = rem, r, c, clear
etc...
And btw in python 3.12, there were a lot of errors.. so I had to downgrade to python 3.11..
I hope you update the code so it can run in latest version of python..
But for me it's not the main problem..

Hello, let me understand more about what you are asking.
The fact that I added the aliases=['p'] piece of code, which you can see in the line below, allows me to call this play command just by typing:
!p XXXX or !play XXXX instead of !play XXXX
https://github.com/RafaelSolVargas/Vulkan/blob/b3a9920037b790ab83bea3c6377fde0d87ca5e8c/DiscordCogs/MusicCog.py#L49
Do you want me to create more aliases for the commands that you listed?
If that is the case, for sure!
Do you want to list more cases of aliases?
About the errors in the new version of Python, I can check that later, if you have some screenshots of the error you were getting, I would appreciate it.

Ahh.. Yes... But I hope we can set it from .env, not set it in the code..
But yea, now I know where to make a new aliases

I will close this issue.. I hope in the next update you can add that, so it's more easy to setting in .env


Exodus inside MPI fails

Hi there, if I run this MPI example and use the Exodus Package, MPI is crashing
using MPI
using Exodus

MPI.Init()

comm = MPI.COMM_WORLD
println("Hello world, I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))")
MPI.Barrier(comm)

 mpiexec -n 3 julia --project script.jl
Error:
--------------------------------------------------------------------------
It looks like opal_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during opal_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  opal_shmem_base_select failed
  --> Returned value -1 instead of OPAL_SUCCESS
--------------------------------------------------------------------------

I'm pretty sure that the package used to work with MPI, but I also tried older releases of the package.
Maybe I'm missing something. How can I keep using Exodus.

Can you let me know the version numbers of MPI, Exodus, julia, NetCDF_jll and HDF5_jll that'd being used in this example?

MPI v0.20.19
Exodus v0.11.1
julia v1.10.1
NetCDF_jll v400.902.209+0
HDF5_jll 1.14.3+1

And I forgot to mention, if I put using Exodus below MPI.Init() it don't crash.
Thank you for the quick response!

There could be conflicting mpi versions then potentially. Have you tried running the example with mpiexecjl rather than mpiexec? See the MPI.jl docs if you're not sire what I mean.

Yes you could be right, mpiexecjl is indeed working, but unfortunately we can't use it on our HPC. Is there maybe another solution?

I'm no MPI expert but I think the solution is to rebuild Exodus_jll.jl locally built against your system MPI. This will likely involve modifying the build_tarballs.jl file found for Exodus in Yggdrasil https://github.com/JuliaPackaging/Yggdrasil
I don't think building jll packages with BinaryBuilder with MPI is well documented, but there are examples that can be followed, such as Trilinos or HDF5.
Alternatively, you can bypass Exodus_jll all together and build exodus locally for the SEACAS github page and then link things appropriately in a fork of Exodus.jl.
I'm not sure if there's a better solution.

Thank you I will look into that.


Release candidate 09-01-2023

Fixes #1813
Fixes https://github.com/oceanprotocol/market/issues/1831
Fixes https://github.com/oceanprotocol/market/issues/1443
Fixes https://github.com/oceanprotocol/market/issues/1834
Fixes #1847

🤔 interesting. After merging #1850, it started failing this test:

but this PR doesn't touch any of that 🤷🏽♂ strange

🤔 interesting. After merging #1850, it started failing this test:

but this PR doesn't touch any of that 🤷🏽♂ strange
UPDATE: it seems related to this lines, basically this server is down. How can restore it?
Example, we call this but it's broken

yep there is an issue with the ens proxy, similar to docker hub proxy issue from yesterday, I'm on it atm 😃

ens and docker were fixed, this should be good right?

ens and docker were fixed, this should be good right?

yep fixed both


Annotation form enhancement

Allow to start and fill an annotation via sequence clicks (#33).
Also fix a warning: AnnotationForm is changing a controlled input of type number to be uncontrolled.

Thanks, LGTM 👍

Thanks Loic!

Your welcome. Thanks for merging it.


[move-prover] Tech report: global invariants first take

This adds a draft section about global invariants in general, and the specific problem of genericity and monomorphization.
PDF
Writing this gave some interesting insights which might be relevant for the ongoing work on generic invariants. Specifically, the problem of monomorphization should be seen independently of that of invariant injection.
This does not yet tackle modular verification and suspension of invariants.
Motivation
Tech report
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
NA

Specifically, the problem of monomorphization should be seen independently of that of invariant injection.

Totally agreed on this! And right now this is seen in our implementation as well:

invariant injection bounded within global_invariant_instrumentation_v2.rs
monomorphization is bounded within mono_analysis.rs

In fact, monomorphization pass does not care whether a type quantifier comes from global invariant instrumentation or not. In an extreme case, if the user writes an in-line spec with an assertion like assert forall t: type: property-of-t..., the mono pass will happily monomorphize the assert expression as well.

In fact, monomorphization pass does not care whether a type quantifier comes from global invariant instrumentation or not.

Well, in the way it is described in the paper, type quantifiers (really generic invariant<T> the only source) are eliminated at invariant instrumentation time, by just instantiating T when inserting the invariant. What monomorphization does is dealing with a f<T> which uses both S<T> and S<u64>, whether this comes from an invariant or the user has written it doesn't matter, covering the case move_to<S<T>>(...); move_to<S<u64>>(..). Please check whether we are on the same page regards this.

Sorry that I misread the paper. I read 3.3.5 last night but did not go through 3.4.
I think there are two items (four sub-items) we need to consider and it is a matter of giving consistent names to them

specialize generic functions based on the memory checked by the expressions
1.1) f<T> that modifies S<T> and a global invariant I checks on S<u64>
1.2) Type dependent code (e.g., the move_to<S<T>>(...); move_to<S<u64>>(..) case).
(BTW, we do have type dependent code in the DesignatedDealer::publish_designated_dealer_credential)

specialize generic expressions based on the memory touched by the function
2.1) A generic invariant I<T> about S<T> is instrumented in a concrete function f that modifies S<u64>
2.2) Ad-hoc, type quantified expressions in in-line spec (which is probably not going be useful though).

My original terminology is calling 1) instantiation and 2) monomorphization (hence, my comments above). The reason for the separation is mainly from an implementation point of view: broadly speaking, instantiation is specializing types in the Bytecode while monomorphization is specializing types in the Exp. The paper seems to have a different naming  for these items, which I could not completely map back to the above categories. This is likely because I haven't figured out everything clearly in my head too.


Rename SyncVarHook to SyncVarHook.md

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


Example project

HI Delba
Can you please post an example XCode project as the code you have given as example is not working.

Hi Ektas,
You can find a complete example in @Dudi00 ' s fork here https://github.com/Dudi00/Permission/tree/master/Example


Serialization format for Git

Add serialization format optimized for Git's diffing and delta-compression algorithm.
References

https://git-scm.com/book/en/v2/Git-Internals-Packfiles
https://github.com/git/git/tree/master/xdiff
https://github.com/git/git/blob/master/diff-delta.c
https://github.com/git/git/blob/master/Documentation/technical/pack-heuristics.txt

Closed for the sake of #101.


Set kibana service to be Automatic and autostart it

In the spirit of Chocolatey, an apt-get style tool for package management and installation, I beg you to automatically set the startup type to automatic and then automatically start the service as well. The audience using Chocolatey doesn't need that choice. We want our software auto-installed and running without any hand edits or after-install configuration whenever possible.

@angryhussord Sorry it has taken so long to get back to you.
If you look at the documentation for the rpm package and deb package of Kibana from elastic search they both do not start automatically after Kibana has been installed but leave that as a additional step for someone to perform if they want it automatically started.
My general experience with Arch linux and others has been that many server style applications default to creating the service but starting it or not setting it to start automatically.
Given that Elastic.co isn't currently starting the service via their other distribution means and it doesn't feel like it is a hard and fast rule or expectation that installed servers should automatically start I think it is better to have the kibana package configure a service but leave it set to manual and not automatic.

As a counter example the maria db chocolatey package does start the MySQL service after the package is installed.


Cache updates

Is there any way to update a cache reliably? I know there is the update method, but so far in the tutorials and examples I've seen only updating whole "global" lists (like list of ALL ToDos etc.). What about the case, where I have a Client type and each client has its very own ToDos (relational data from MySQL)? How to update ToDos of specific Client once it's added? This is pretty trivial task, but so far I found it impossible to achieve without resetting the store each update.

Depends on your structure but since Apollo has it all stored flat and normalized. You can decide how an id of a record is being generated and update fragment or a whole query via Cache.
https://www.apollographql.com/docs/angular/basics/caching.html

I think I wasn't clear enough.
The scenario is that:

We have a list of Users
Each user has a list of Tasks
A task is added for a single user
How to update list of tasks for a specific user that the change concerns?

I know I can write a bunch of code taken from the backend, that would decide which task belongs to whom, but isn't there a faster way to say "only update one list of tasks, for the user that got the new task"?


Make it a bit clearer when no allowance was found

I tested the app using an account which had several balances and no allowances, but I actually thought it did have allowances. So I was left wondering why I wasn't seeing a revoke option anywhere.

This PR makes it a bit clearer when the reason for that is that there are no allowances.

I think there are better and prettier ways to do this so I fully encourage you to reject this PR in favour of an alternative solution! But since today I created my first PR ever, I thought I'd keep up the momentum and go for a second instead of just posting a feature request to twitter ;)

Hey Richard, that's a great suggestion, and congrats on landing your first and second PR! I agree that there's probably a better way to communicate this in the future, but for now I think your solution is perfect! I recently added a few commits that add token icons, and change the CSS of the lists. Could you rebase your commits on top of this and see if the layout still makes sense? Then I'll merge in the PR 👍

I committed a variant of the code in this PR, so closing the PR. Thanks for the contribution @rnbrady!


Can't add Network printer

Just installed a fresh Win 11 using IoT unattended, but i can't install network printers.
Any hint as to what i have to do?
Thanks. :)

I'm just passing by but this seems an incredibly low effort issue report. Additional information would be great to help others.
Have you checked if you have the Print Spooler running?
WIN+R to open the Run menu. Type services.msc and press enter. Check Print Spooler.

Just installed a fresh Win 11 using IoT unattended, but i can't install network printers. Any hint as to what i have to do?
Thanks. :)

Hi, network printers (trough wifi or trough ethernet), IP or using windows find printers!
You need to be more especific, by I suppose that you are trying setup a new printer using windows find printers, and this setupr remove the windows help setup new printer.

Which kind of network printer? If it is connected to another PC, it could be an issue with that PC, and you also need printer driver for W11 added on that PC (even it it uses W10). If it is a truly network printer, try running SSDPSRV service and setting it to auto.

The answer file doesn't change anything related to network printers.
I'm using a Canon network printer without any issues, just make sure you install the network printer using the correct Driver that you download from the printer manufacturer website.

@memstechtips I believe that depending on a network printer type, SSDPSRV could be required. I am not 100% sure but service description makes me to think so.


Support multi platform build of STI

Switch hack/build-release.sh to use the same as openshift/origin

@csrwng can we close this by now?

yes


java.nio.channels.Pipe leak monitoring

A new monitoring for unix pipe generated by Pipe

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@rysteboe @oleg-nenashev CC


Opening the video in mpv player is not working.

I tried to play the anime on mpv and I got this :
? What would you like to do for me? Stream on a video player (Recommended) ? Which video player would you like to use to stream? mpv Starting proxy server on ('localhost', 8081) It may take some time to open the video player. Be Patient :) Traceback (most recent call last):   File "C:\Program Files\Python39\lib\runpy.py", line 197, in _run_module_as_main     return _run_code(code, main_globals, None,   File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code     exec(code, run_globals)   File "C:\Users\AHMED\AppData\Roaming\Python\Python39\site-packages\anime_cli\__main__.py", line 167, in <module>     main()   File "C:\Users\AHMED\AppData\Roaming\Python\Python39\site-packages\anime_cli\__main__.py", line 150, in main     sp.Popen([video_player, video_url])   File "C:\Program Files\Python39\lib\subprocess.py", line 951, in __init__     self._execute_child(args, executable, preexec_fn, close_fds,   File "C:\Program Files\Python39\lib\subprocess.py", line 1420, in _execute_child     hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified

u have to expose video player to $PATH


Added CodeBlockActionButtonRow in place of gihub button and code block

Fixes # BLUI-3425

Changes proposed in this Pull Request:

Added CodeBlockActionButtonRow instead of separate Codeblock and Github components

Screenshots:

To Test:

yarn start:reactdev

Note: This PR is for using componentized button row for codeblock and github

Working fine.