How do I compile dlib into .dll file?

From building dlib using cmake, I found a .lib file here:
dlib-19.13\build\dlib\Release\dlib19.13.0_release_32bit_msvc1900.lib"
But I want .dll file. So I thought that maybe I could use dlib-19.13\build\dlib\dlib.sln that was generated using cmake to generate .dll file. But I couldn't find an option to change the Applications Settings to be DLL inside Visual Studio 2017. As far as I know, it's only possible to create a DLL app from the start but not possible to change later.
So how do I compile all functionalities of dlib commands into .dll file? I want to use it inside Unity3D game engine.
If all the previous explanations are confusing for you, please ignore it and tell me how to compile dlib as a .dll library. If it's too difficult or impossible to compile all functionalities then please show me how to export just one functionality like shape_predictor class to predict facial landmark. It will be used with other languages like C# or Python.
Any better approach is appreciated. Thank you.

dlib-19.13/build $ cmake -DBUILD_SHARED_LIBS=ON -G"Visual Studio 15 2017 Win64" ..

Thanks! This is native C library, right?
If so how do I know which functions are included in this DLL? As we need to create a function prototype file for it.
I saw that the DLL file is quite small compared to LIB file. It is 390 KB while LIB file is 13.7 MB.
Is this expected?

Yes, this is the expected results. DLL will be smaller. However, static lib will likely be smaller again at link time as it strips out anything you don't use.
Just use the header files included in this project to call the functions if you are linking to the DLL. You will have different functions depending on what defines you set (i.e. Using cuda, sqlite, etc).

Sorry for reopening  this but Dlib 19.19 doesn't have any BUILD_SHARED_LIBS flags in Cmake. How can we build dlib as a Dynamic library and not a Static library?
Thanks

That's a CMake flag. You just set it and everything should respect it.

Unfortunately, It's not present (or shown) in Cmake-GUI.

Just put it in anyway. ALL CMake projects can use that flag. It's an inbuilt CMake feature.

Thanks, BUT is it possible to add this flag using the GUI? or one should just use the Command Line?


AllowImageRule - Panic when choosing "NO" for allowing apps to be deployed.

Acorn version - acorn version v0.8.0-alpha7-151-gc1b7f440+c1b7f440
Steps to reproduce the problem:

Enable AllowImageRule -  acorn install --features image-allow-rules=true
Deploy app from Acornfile and choose "No" when prompted for allowing apps to be deployed.

? Do you want to allow this app to use this (POTENTIALLY DANGEROUS) image? NO
mytestnew
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x394aefc]

goroutine 1 [running]:
github.com/acorn-io/runtime/pkg/cli.(*Run).Run.func2()
	github.com/acorn-io/runtime/pkg/cli/run.go:267 +0x17c
github.com/acorn-io/runtime/pkg/cli.(*Run).Run(0xc000999dc0, 0xc000748300, {0xc000a96330, 0x1, 0x3})
	github.com/acorn-io/runtime/pkg/cli/run.go:316 +0x73e
github.com/acorn-io/runtime/pkg/cli/builder.bind.func1(0xc000748300?, {0xc000a96330, 0x1, 0x3})
	github.com/acorn-io/runtime/pkg/cli/builder/builder.go:431 +0x214
github.com/spf13/cobra.(*Command).execute(0xc000748300, {0xc000a962d0, 0x3, 0x3})
	github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000005b00)
	github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/cobra@v1.7.0/command.go:985
github.com/acorn-io/runtime/pkg/cli.RunAndHandleError({0x4860d38?, 0xc000290b40?}, 0xc000005b00?)
	github.com/acorn-io/runtime/pkg/cli/errors.go:17 +0x5d
main.main()
	github.com/acorn-io/runtime/main.go:15 +0x2f

Same error is also seen when deploying apps from an image.
acorn run -n mytestapp1 sangeetha/myfirstacorn:v0.0.1
  •  WARNING:  This application would like to use the image 'sangeetha/myfirstacorn:v0.0.1'.
                 This image is not trusted by any image allow rules in this project.
                 This could be VERY DANGEROUS to the cluster if you do not trust this
                 application. If you are unsure say no.

? Do you want to allow this app to use this (POTENTIALLY DANGEROUS) image? NO
mytestapp1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x394aefc]

goroutine 1 [running]:
github.com/acorn-io/runtime/pkg/cli.(*Run).Run.func2()
	github.com/acorn-io/runtime/pkg/cli/run.go:267 +0x17c
github.com/acorn-io/runtime/pkg/cli.(*Run).Run(0xc00053afc0, 0xc000dfe900, {0xc0005be330, 0x1, 0x3})
	github.com/acorn-io/runtime/pkg/cli/run.go:316 +0x73e
github.com/acorn-io/runtime/pkg/cli/builder.bind.func1(0xc000dfe900?, {0xc0005be330, 0x1, 0x3})
	github.com/acorn-io/runtime/pkg/cli/builder/builder.go:431 +0x214
github.com/spf13/cobra.(*Command).execute(0xc000dfe900, {0xc0005be2d0, 0x3, 0x3})
	github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000d76300)
	github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/cobra@v1.7.0/command.go:985
github.com/acorn-io/runtime/pkg/cli.RunAndHandleError({0x4860d38?, 0xc0002629b0?}, 0xc000d76300?)
	github.com/acorn-io/runtime/pkg/cli/errors.go:17 +0x5d
main.main()
	github.com/acorn-io/runtime/main.go:15 +0x2f

Tested with acorn version - v0.8.0-rc4+b6a95e8a
There is no panic when choosing "No" for allowing apps to be deployed. Error message presented to user in this case is as expected.
? Do you want to allow this app to use this (POTENTIALLY DANGEROUS) image? NO
  ✗  ERROR:  image <5152028e4be8d70b36017721b64e22882a03818599e18c13f3e10f85ce313dfa> is not allowed by any ImageAllowRule in this project

% acorn run -n mytesthello <image>
  •  WARNING:  This application would like to use the image '<image-name>'.
                 This image is not trusted by any image allow rules in this project.
                 This could be VERY DANGEROUS to the cluster if you do not trust this
                 application. If you are unsure say no.

? Do you want to allow this app to use this (POTENTIALLY DANGEROUS) image? NO
  ✗  ERROR:  image <image-name> is not allowed by any ImageAllowRule in this project


unknown in dashboard religion chart

all persons should have a religion now, find out why "Unknown" still shows up in the Dashboard chart although it's gone from the chart on the persons page

The "Unknown" value comes from an empty row, the Persons page filters this one out, the chart making script needs to be adjusted to do this as well.


How can I find empty directories?

Is there any easy way to do this?

Works great now! #87 Thanks!

Arrived to master.


CM-321: UPSTREAM: : Bump deps for CVE-2023-45288

Security fixes for CVE-2023-45288.

/cc @TrilokGeer

JFYR, notes about the CVE fix:

https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M/m/khALNYGdAAAJ
x/net package: https://go.googlesource.com/net/+/refs/tags/v0.24.0 -> https://go.googlesource.com/net/+log/refs/tags/v0.24.0.


duplicated key at line 265 :msg_type

/Users/girts/.rvm/gems/ruby-2.2.0@cpp/gems/active_merchant_first_data-1.2.0/lib/active_merchant/billing/first_data_gateway.rb:264: warning: duplicated key at line 265 ignored: :msg_type
@ class ActiveMerchant::Billing::FirstDataGateway
      def update_recurring(params = {})
        params = params.reverse_merge(
          :command => :p,
          :amount => 0,
          :currency => default_currency,
          :msg_type => 'SMS',
          :msg_type => 'AUTH',
          :perspayee_gen => 1,
          :perspayee_overwrite => 1
        )
        lookup_currency(params)
        requires!(params, :currency, :client_ip_addr, :description, :biller_client_id, :perspayee_expiry)
        commit(params)
      end

i wonder why there are two msg_type fields
:msg_type => 'SMS',
:msg_type => 'AUTH',
in passed params

@Sacristan looks like a type. :msg_type => 'SMS' should be removed.

Pull request -> https://github.com/ebeigarts/active_merchant_first_data/pull/5


Site guide in markdown at homepage

#32 has implemented a remote markdown issue, need a new guide markdown file to display on home page

closed by #40


Flaky server GridServiceInstanceDeployer spec

  1) GridServiceInstanceDeployer With an existing deployed instance on a different host node

#ensure_service_instance stops the old instance and deploys the new one

     Failure/Error: expect{       expected result to have changed to #<HostNode _id: 58e5fbb02244fe1dbc0009fa, created_at: 2017-04-06 08:26:24 UTC, updated_at: 2017-04-06 08:26:24 UTC, node_id: "57755ba8-162b-4457-8071-fbe0ab19169f", node_number: nil, name: "node", os: nil, docker_root_dir: nil, driver: nil, execution_driver: nil, ipv4_forwarding: nil, kernel_version: nil, labels: [], mem_total: nil, mem_limit: nil, cpus: nil, swap_limit: nil, connected: true, public_ip: nil, private_ip: nil, last_seen_at: nil, agent_version: nil, docker_version: nil, grid_id: nil, image_ids: nil>, but is now nil

     # ./spec/services/grid_service_instance_deployer_spec.rb:168:in `block (4 levels) in <top (required)>'

Probably fixed by #2284, because this spec also creates a GridServiceDeploy that would have gotten run by the background workers during the specs.


Add error when performing internal submit without "action" specified

Seems to be already implemented. Closing.


Read Me Has Mistakes

hidden(name: string, key: string) is missing
SaveDelay is missing
Response Success Saved Locked State Error is not a property
maybe more I have not look over everything

Also Fixed


Allow POST request for debugging sp

see https://www.pivotaltracker.com/story/show/117599315

@thijskh

FTR, the story is https://www.pivotaltracker.com/story/show/11759937
But :+1:

Hrms, silly copy paste mistake :(


fix unread count as MyMessageTableViewCell

Thanks for your PR. We already merged our fix :)
Could you close your PR?

thanks!


[2.7.0] Remove v1 tools references from documentation.

Rancher v1 istio and cis-benchmark charts were deprecated in rancher v2.5.0. So we need to remove the associated references in docs for v2.7.0. (All deprecations for v1 charts can be found here: https://github.com/rancher/rancher/releases/tag/v2.5.0)
Linked issues:
https://github.com/rancher/rancher/issues/37327
https://github.com/rancher/rancher/issues/37322

Fixed by https://github.com/rancher/rancher-docs/pull/296.


"Remember me" enabled by default if module installed

Issue opened for the creation of a wiki page that summarizes the doubts and problems for newbies (https://github.com/volatiletech/authboss/issues/210).

https://github.com/volatiletech/authboss/blob/master/remember/remember.go#L43-L48
https://github.com/volatiletech/authboss/blob/master/values.go#L69-L76
https://github.com/volatiletech/authboss/blob/master/defaults/values.go#L52-L56

I have read these lines but I have not been able to understand if there is a way to avoid the rm field in the login form and activate the "remember me" module by default if present.
In other words if in my authboss.Config there is a (let's say) AutoRememberMe = true option I want enable by default the "Remember me" module as if in my form I had checked the rm field.
Does this make sense?

Turning the module off is done by not importing the module. Is there a reason you'd want to both import it but also not use it?

I badly explained myself. I'm sorry.
I would like to avoid passing the "rm = true" field from the client (javascript or server-rendered form) during the login phase.

Ah, you would need to add a new feature to the remember me module to "always remember". But I think you would just add a hidden field called rm.

you would just add a hidden field called rm

Yep. I'm doing this right now. But I think it's an hacky way. Don't you think?

That's why I said you either have to do that or add a feature to authbosses module haha. I think that in the realm of hacky things this is one of the least hacky things there is. It's like sending a parameter into a function. No big deal. Costs next to nothing.


Collapsible Vertical menu?

I'd like to use vertical menu (.v-menu) collapsed, but it looks like it only supports the expanded state.

why not?
https://codepen.io/olton/pen/mxewyM

Sorry, I wasn't very clear in my explanation.
I am looking for a Side Navigation with:

no counter
collapsible (compact)
menu titles (the same style as the one presented under the "Vertical Menu" section in the documentation)

I tried to create this without adding custom styles, but i'm not sure it's possible

navigation view component?

Wow, I don't know how I missed this. 😫
Thanks.


Hone list of sample collections to review for data fidelity QA review

Sample collection list in-progress at https://docs.google.com/spreadsheets/d/1XkBwi8jiuGgrWvQBqjkrbavSl13yyrQNyRyEb_CQ4z0/edit#gid=1143782640
Notes on criteria for collections on pp. 39-40 at https://docs.google.com/document/d/1g1L5I_6sNwjLP5fjYigeyqrSXDvf4AW4w-VCE64XKIo/edit#

OAC METS references:
https://docs.google.com/spreadsheets/d/1sZK22O37xnLRkBXUvd6Sye6bKKK9LgTcuUxWAb_NjR8/edit#gid=0
https://docs.google.com/spreadsheets/d/1kBhE0vPqLDadc4LVy7g5e4qq3zw2MNovEM4hVbgJGc8/edit#gid=1025454878

@aturner @christinklez Work complete. Let me know if you need help with any other tickets.

@gamontoya thanks so much for identifying the sample collections--this looks great!


Update documentation for 3.0.0

After merging a large set of changes, some of which are breaking, the documentation needs to be reviewed and updated to reflect the new options and use cases.

Add user docs for:
Basic default registration
Configuring options
Adding a different provider (TraceIdentifier) - Show all three registration approaches.
Creating a custom provider
Add the HttpClientFactory handler

Updated docs with 3.0.0 release.


Istio config gen fails when sum of endpoint weights over uint32 max

Bug description
Seeing this ClusterLoadAssignmentValidationError in Istiod logs
value must be greater than or equal to " '\x01']

which relates to empty weight here
    load_balancing_weight {
    }

which should have a weight of 1.
Detailed error:
2021-06-20T18:55:27.150890Z	warn	ads	ADS:CDS: ACK ERROR router~<IP_ADDRESS>~istio-egressgateway-789b64c5f4-lw4cg.istio-system~istio-system.svc.cluster.local-2 Internal:Proto constraint validation failed (ClusterValidationError.LoadAssignment: ["embedded message failed validation"] | caused by ClusterLoadAssignmentValidationError.Endpoints[i]: ["embedded message failed validation"] | caused by LocalityLbEndpointsValidationError.LoadBalancingWeight: ["value must be greater than or equal to " '\x01']): name: "outbound|80||www.bookinfo.com"
type: STRICT_DNS
connect_timeout {
  seconds: 10
}
circuit_breakers {
  thresholds {
    max_connections {
      value:<PHONE_NUMBER>
    }
    max_pending_requests {
      value:<PHONE_NUMBER>
    }
    max_requests {
      value:<PHONE_NUMBER>
    }
    max_retries {
      value:<PHONE_NUMBER>
    }
  }
}
dns_refresh_rate {
  seconds: 5
}
dns_lookup_family: V4_ONLY
metadata {
  filter_metadata {
    key: "istio"
    value {
      fields {
        key: "default_original_port"
        value {
          number_value: 80
        }
      }
      fields {
        key: "services"
        value {
          list_value {
            values {
              struct_value {
                fields {
                  key: "host"
                  value {
                    string_value: "www.bookinfo.com"
                  }
                }
                fields {
                  key: "name"
                  value {
                    string_value: "www.bookinfo.com"
                  }
                }
                fields {
                  key: "namespace"
                  value {
                    string_value: "default"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
load_assignment {
  cluster_name: "outbound|80||www.bookinfo.com"
  endpoints {
    locality {
      region: "us-west-2"
    }
    lb_endpoints {
      endpoint {
        address {
          socket_address {
            address: "<IP_ADDRESS>"
            port_value: 15443
          }
        }
      }
      load_balancing_weight {
        value: 1
      }
    }
    load_balancing_weight {
      value: 1
    }
  }
  endpoints {
    locality {
      region: "us-east-2"
    }
    lb_endpoints {
      endpoint {
        address {
          socket_address {
            address: "<IP_ADDRESS>"
            port_value: 15443
          }
        }
      }
      load_balancing_weight {
        value:<PHONE_NUMBER>
      }
    }
    lb_endpoints {
      endpoint {
        address {
          socket_address {
            address: "<IP_ADDRESS>"
            port_value: 15443
          }
        }
      }
      load_balancing_weight {
        value: 1
      }
    }
    load_balancing_weight {
    }
  }
}

[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
According to https://istio.io/latest/docs/reference/config/networking/workload-entry/#WorkloadEntry
any weight value in the range of 0-4294967295 (uint32 max) is supported for the endpoint, so any endpoint weight can be in the above range
Steps to reproduce the bug
Apply this Service Entry where the sum of all the endpoint weights is greater than<PHONE_NUMBER>
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: se-w-total-ep-wights-over-uint32-max
spec:
  endpoints:
  - address: <IP_ADDRESS>
    locality: us-west-2
    ports:
      http: 15443
    weight: 1
  - address: <IP_ADDRESS>
    locality: us-east-2
    ports:
      http: 15443
    weight:<PHONE_NUMBER>
  - address: <IP_ADDRESS>
    locality: us-east-2
    ports:
      http: 15443
    weight: 1
  exportTo:
  - '*'
  hosts:
  - www.bookinfo.com
  location: MESH_INTERNAL
  ports:
  - name: http
    number: 80
    protocol: HTTP
  resolution: DNS

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
istioctl version --remote
client version: 1.9.0
control plane version: 1.9.0
data plane version: 1.9.0 (2 proxies)

How was Istio installed?
istioctl install --set profile=demo -y

Environment where the bug was observed (cloud vendor, OS, etc)
Docker Desktop v3.3.3

Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

This is a very rare case

ValidateServiceEntry at pkg/config/validation/validation.go:2867 is where Istio validates ServiceEntry.  It doesn't, but SHOULD, check the sum of endpoint weights.
Each individual endpoint is checked for things like valid address, but nothing checks the sum of the weights.  Implementing such a check would cause istioctl validate and istioctl analyze to explain the problem, and the webhook would reject attempts to create such a ServiceEntry, preventing this failure.
My suggestion is to fix the 'garbage in' problem, which should mitigate the 'garbage out' problem.

@esnible there is no garbage in problem here. According to the API spec, there is no restriction associated with the sum of weights.


Enumerating the Rationals

This PR is based on a functional pearl Enumerating the Rationals.
This is just basic implementation for enumerating the rationals (and also pairs of coprime numbers).
I can also add Stern-Brocot and Calkin-Wilf trees as well as generating rationals as continued fractions.

Cool!  I'll take a look sometime next week.  Next few days are kinda crazy
for me
On Apr 30, 2015 8:01 PM, "Nickolay Kudasov"<EMAIL_ADDRESS>wrote:

This PR is based on a functional pearl Enumerating the Rationals
http://www.cs.ox.ac.uk/jeremy.gibbons/publications/rationals.pdf.
This is just basic implementation for enumerating the rationals (and also
pairs of coprime numbers).
I can also add Stern-Brocot and Calkin-Wilf trees as well as generating
rationals as continued fractions.
You can view, comment on, or merge this pull request online at:
https://github.com/cartazio/arithmoi/pull/4
Commit Summary

enumerating the rationals

File Changes

A Math/NumberTheory/Rationals.hs
https://github.com/cartazio/arithmoi/pull/4/files#diff-0 (55)
M arithmoi.cabal
https://github.com/cartazio/arithmoi/pull/4/files#diff-1 (1)

Patch Links:

https://github.com/cartazio/arithmoi/pull/4.patch
https://github.com/cartazio/arithmoi/pull/4.diff

—
Reply to this email directly or view it on GitHub
https://github.com/cartazio/arithmoi/pull/4.

Wow, this functional pearl is great.
@fizruk could you please benchmark your positiveCoprimes vs. naive concat [[(x,y), (y,x)] | x<-[1..], y<-[1..x-1], coprime x y]? Are there any other applications of Calkin-Wilf tree to the number theory?
It would be nice to have continuous fractions and related stuff in arithmoi accompanied with their applications in diophantine equations (e. g., generalised Pell equation  http://people.ucalgary.ca/~ramollin/ACFappraochto.pdf).

Hello;
@Bodigrim do you think this issue is still relevant? If so, @fizruk do you mind if I work on it?

Unfortunately, closing as being currently out-of-scope. Thanks for contribution, any way.


test: streamline the v0 version tx for invoke tx towards code dedup in test utils

This change is


Skype/Google Hangout to discuss what we have so far, could focus on next?

Any of you up for meeting online to talk about this?
I'd be really interested to discuss like that to hear what you'd like to do with what we have so far.

I'm in depending on the time :)

Great, Bjoern! Sure we'll find a time when at least a few of us are free.

great! I am in. We might need doodle poll to decide on time.
Also, I think multiple sessions might be good so people from different time zone can choose when to attend.

Here's a Doodle poll for us to find a time - times as I put them in are for current German time i.e. CEST http://www.timeanddate.com/time/zones/cest
http://doodle.com/kppufd3nme7vgtf7
We can chat via Google Hangout, but maybe first try out a video chatroom via appear.in?
Malvika, think you've experience recording these things - would you be up for doing that and then sharing via YouTube?

I have at times recorded the hangout chat by QuickTime Player. This I can do and send around the video or upload on YouTube/GitHub.
Other option that I was suggesting is [YouTube Livestream] (https://support.google.com/youtube/answer/2853700?hl=en). This can be done by webcam. There is an option of Hangouts on Air to live stream a Hangout event using your webcam.This is automatically uploaded on YouTube for future reference.
An alternative is livestream, here you can create an event and go live during the chat, I am not sure if its webcam friendly like youtube. It would be better if you do the livestream recording as a moderator.
Let me know what do you think about it and which option sounds better.
Cheers!

I don't have (much) experience of this, Malviaka, you have more than me, I'm sure, so I'd follow your advice on this!

If we are going to try appear.in then I can record the screen.
But hangout on air is a very good option if we go for google hangout. How about we test it before the actual discussion/chat?

Great - yes to all of that!

Nice! I will learn a bit on how to handle hangout on air and we can test it beforehand.

"re"-advertising plans for a chat here...:
We'd like to discuss, together, what to do with what we've already collected on this repo about what makes a great open source bioinformatics community.
We're keen that this develops as more than just one/a few people's vision - to make it, appropriately enough, as much as possible a "community" view. That's why we're so keen to talk about this with you.
If you'd like to help out with this, please fill out this Doodle poll so we can find a time/date to meet online to discuss this: http://doodle.com/kppufd3nme7vgtf7

Hi guys,
Online meetings sound good to me. I would suggest you to have a meeting via skype (like a group/conference call) or google hangout if you wish - whichever one takes quicker to arrange a meeting. Just a polite suggestion - I don't think it's necessary to have a recording of it, because there may be users who don't like the idea of their voice being recorded and/or users who don't feel comfortable appearing on a webcam. Also, video calls slow down the network speed...as far as my experience goes lol.
The best (alternative) solution to recording/videoing is to keep a note of all the important points as we go along, and post them on Github. If any user is unable to attend the meeting, they can just quickly go through the notes. It would save their time from watching or listening to a recording. It would be less time-consuming for all, I think :) tbh I have had only skype, & face-to-face meetings so far. I understand and respect if others have different preferences. however I hope you take my suggestion into consideration.

I too would prefer the meeting not to be recorded: we can be much more candid in a "private" discussion.

When put like that, then, yes, certainly, let's not record it. I see value in keeping an (open) record of this kind of thing - BUT - encouraging relaxed participation in the activities is I think way more important than that, so for me, as I say, it's an easy call.

Amazingly, with 8 respondents, we actually have a time that works for everyone!!!
So let's meet, via GoogleHangout (I have the very original handle 'aidanbudd' if you need to link to me - I'll make a BOSC circle for this) on Thursday 20th August at 15.00 in Berlin time i.e. CEST http://www.timeanddate.com/time/zones/cest (which is GMT/UTC+2)
Let us know if you strongly prefer an alternative to GoogleHangout e.g. appear.in
For the format of the meeting - how about we try a virtual version of Lean Coffee as a way of us choosing and prioritising the topics we discuss (and how long we discuss them) together? http://leancoffee.org

ahem - googlePlus name is aidan.budd not aidanbudd

Plan for Hangout:

Introduction to the reason, and plan, for the hangout @AidanBudd
@AidanBudd describes vision for developing the project - all subject to change based on your opinions and ideas, but useful as an initial reference:

choose a group of features of great communities of this kind
collect from many different communities, examples of these features expressing themselves
key benefit/feature comes from including examples from many different communities
another key benefit comes from actively bringing people from all these different communities together to discuss these issues and collaborate together on such an article
before going to individuals we know in specific communities to get their feedback/contributions, think it's best to have it clear (by example from content provided by communities we have experience of) the kinds of comments/content they can add, to make the barrier to contribution/entry as low as possible
by keeping communication as open as possible we live the open source ethos, make it easier for others to see how we did it if they want to do so in the future, and build trust etc. - only things I want to keep off it are (obviously) illegal/libelous comments, disrespecful comments, and lists/discussions of indivdiaulas e.g. "have we contacted X yet?" - perhaps use the rule "only refer to people by name/handle if they've contributed to the repo in some way either with a commit or a comment?

I'm going to (try) taking the role of neutral facilitator - plenty of my preferences and opinions have gone into current state of the project, I really want this to be shaped by other peoples ideas, so I'm happy to be neutral in this meeting - if I really feel the need to drop that role, I'll let you know I'm doing it.

Introduce ourselves in a couple of sentences, tell us if you've any time constraints
Want everyone to have a chance to talk about whatever they think is important, so do (maximal 20? 30? we'll use majority voting for this) Lean Coffee to give them control of discussion topics - first time I try this online, it works great in person for giving everyone influence over what we discuss and for how long
After that, we'll discuss and try to decide on the following issues (might change this based on Lean Coffee)
A. Are the 'features' we've listed in need of:
- addition
- deletion
- editing
What process to use to share that work between us? Collect suggestions from us all, and vote on one of them - I think we have to make this discussion today, so will use voting, consensus-building takes too long. OK with that process?
B. How to structure the content associated with each 'feature'? I'd like this to be done in a way that it's easy to focus on giving examples from different real communities - do you agree? If not, what would you most like to focus on, how would you like to structure it? Currently we've tried to do for each feature:
- short exposition of what is meant by the 'feature'
- reasons why this is important for a great community of this kind:
- challenges in both (a) establishing and (b) maintaining this feature in such a community
- tips for both (a) establishing and (b) maintaining this feature:
What process to use to put current content into this framework?
C. Do you think it'd be useful to meet again?
Agree action points

Thanks to so many of you for joining the GoogleHangout today.
I've created a directory in the repo for material related to this and possible future meetings - you'll find there the notes we made from todays discussion, and a summary of the key discussion topics, decisions, and action points.
I'll create an issue to discuss proposed/possible time plan for the project.

Please add any constructive criticism/feedback about the hangout here - I'd be really interested in suggestions of how to make that kind of meeting more effective and inclusive


[bug] cordova-plugin-background-geolocation

Plugin is not available at repo.

the complain is valid, and this plugin seem to be working
https://github.com/mauron85/cordova-plugin-background-geolocation
So requesting the ng-cordova team to migrate to this plugin

+1 IMHO the plugins in ngCordova list must be open source plugins


vectors with different units

Currently the vectors are type-hinted as having components of "length" and "angles".
This should be generalized to enable any units, so long as the components are consistent in the vector.
The form of the vector isn't about the units, but how it transforms.

Done in #186


fix(rcore/android): Allow main() to return it its caller on configuration changes.

Closes #4254
I think the wiki should be updated to document how the game state should be saved in the case of a configuration change, or at the very least document the side effects of a configuration change.

Thank you very much for the review!

I think the wiki should be updated to document how the game state should be saved in the case of a configuration change, or at the very least document the side effects of a configuration change.

Feel free to update it, the Wiki is open for edit to everyone.


Spam in a build log with messages "[warning] Mull cannot find config (mull.yml). Using some defaults."

New version of Mull spams build log with messages about absence of mull.yml:
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 70%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmAddExecutableCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmAddLibraryCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmAddSubDirectoryCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmAddTestCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmAuxSourceDirectoryCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmBreakCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmBuildCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmBuildNameCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCMakeHostSystemInformationCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.
[ 71%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCMakeLanguageCommand.cxx.o
[warning] Mull cannot find config (mull.yml). Using some defaults.

Probably one such message before building will be enough.
Version: Mull 0.15.1

The message is printed once per each compilation process.
You can suppress this message by creating a 'fake config', e.g.:
$ touch /tmp/mull.yml
$ export MULL_CONFIG=/tmp/mull.yml
$ <run build>

This is not a bug 😄


taiko som .env.sample

@cryptobangkok You posted your private key! Make sure that you NEVER!! use this address on ANY!! network again as anyone can now access and drain your funds.
Please do not post sensitive contents of your environment variables!


Does it support HDF5 dataset for segmentation task?

Hello, I have a hdf5 list that store hdf5 path as follows:
/home/user/file1.h5
/home/user/file2.h5
...

The file name is filelist.txt. I want to use DIGITS for segmentation task with and my data layer is hdf5 layer as follows
layer {
  name: "data"
  type: "HDF5Data"
  top: "data"
  top: "label"
  hdf5_data_param {
    source: "./filelist.txt"
    batch_size: 2
    shuffle: true
  }
}

Can I use above layer in current DIGITS for segmentation task with caffe?

Sorry, HDF5 is only supported for classification tasks. You can write a plug-in to ingest your HDF5 data into a segmentation dataset. Have a look at some examples on https://github.com/NVIDIA/DIGITS/tree/digits-5.0/plugins/data

Thanks. So I think I will run caffe from terminal. One benefit of DIGITS that I like is that it show the graph of epoch, instead of iterations in caffe.


Make a release!

We've had some really nice performance improvements landed thanks to @Mr4k that should be released, but I haven't had time this week to finish up some lingering issues that should also be in the release.

[ ] - ~#89~ (cutting this because we can refactor the docs separately from releasing)
[x] - #38
[x] - #86

Also want the upgrade to image 0.23 in a new release (#105)


fix: Brent returns NaN if bounds are closed enough but objective value is too bad

Coverage decreased (-0.1%) to 94.323% when pulling 0efdef1708d67ddbb4fb7d01fa7dc2900c528549 on opusv/numericalAnalysis into 0bcd2f2132eac4ba593a1818e4bd6237bab9a441 on master.

Coverage decreased (-0.1%) to 94.323% when pulling 461296826f4cce014ff7ecaaec220c26087da581 on opusv/numericalAnalysis into 0bcd2f2132eac4ba593a1818e4bd6237bab9a441 on master.

This is already done by #199


Disable URI encode for Outlook

Outlook (desktop) shows special chars currently because it's being encoded. I realize this makes the ics and outlook options totally identical though so this might be more of a conversation starter than an actual PR worth merging. 🤷♂
Example:
Title: "This is a title"
Result: "This%20is%20a%20title"

🔥


pip-updates: Include- and exclude-property

Is your feature request related to a problem? Please describe.
I am using graphite-web installed by pip. I monitor the virtual environment with your nice plugin. However, graphite-web depends on Django  3.0.14 and django-tagging 0.4., so I have to keep them on this version until graphite-web is updated.
Describe the solution you'd like
I could set warning/critical to "3" to not have a warning. But more elegant approach could be, to give it an include- and an exclude-property. Then I could ignore these packages, wait for others to update and if I see that graphite-web has an update, update these a well to their last supported version. This feature would be a bit more precise in the check. :)
Alternatives
No response
Additional context
No response

Sounds reasonable. On which operating system do you use the plugin? Which Python and Pip version?

Thanks! And sorry - it's a Debian 10, Python 3.7.3 and pip 23.0. :)

I implemented a bunch of new parameters that allow you to control pip's update determination more precisely. --exclude is one of the most interesting for you, I guess. Greetings to Berlin - will we see each other at the next Icinga Camp 2023?

Wow, Markus, great! I'm deeply impressed! Huge thanks and best wishes back to Zürich and yes, looking forward to see you at Icinga Camp 2023! Have a beautiful weekend!

Just a short follow up: I got a "/bin/sh: 1: source: not found" as output. When I changed line 204 of the script and replaced "source" with a "."
cmd = '. {} && {}'.format(args.VIRTUALENV, cmd)
it worked as expected. Thanks for this excellent plugin!

Changed it in https://github.com/Linuxfabrik/monitoring-plugins/commit/26a697cf96c803ab225ae6f08defbbbb2424fa59, thank you. :-)


Caching Service

We still have some problems running cached nodes, run cache on a pipeline that already ran as cached

#caching (run node) test
File:node_test.js
describe : "pipe flowInput line batch input"

Test
description

caching (Run Node) batch index
build algorithm from github

caching (Run Node) flowInput batch cartesian
build algorithm from gitlab

caching (Run Node) batch + fix indexed
caching (Run Node) batch + fix indexed

caching (Run Node) batch +any
caching (Run Node) batch +any

caching (Run Node) on cached pipeline
caching (Run Node) on cached pipeline


Deinit timer after serial load is finished

This fixes an issue where the bootloader is activating a timer that is later not used by the installed target image causing a non handled interrupt fault.
Signed-off-by: Fabio Utzig<EMAIL_ADDRESS>

@mkiiskila This bug happens on architectures that don't support tickless, specifically for me on STM32. I build the bootloader without OS_SCHEDULING, where it uses a timer for some boot serial control, and the written image is a full OS with OS_SCHEDULING enabled (using SysTick) and no timer enabled in the config. Since the timer stays activated it faults just after starting the image in slot0.


Add API Docs

Wrap exports
Fix the imports
Update CI
Update API Docs workflow
Update SPI Info
Add DocC bundle

Codecov Report

Merging #238 (d1815c3) into main (7d68ff4) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   30.34%   30.34%
=======================================
  Files          10       10
  Lines         748      748
=======================================
  Hits          227      227
  Misses        521      521

Flag
Coverage Δ

unittests
30.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

Sources/PostgresKit/ConnectionPool+Postgres.swift
33.33% <ø> (ø)

Sources/PostgresKit/PostgresConfiguration.swift
17.24% <ø> (ø)

Sources/PostgresKit/PostgresConnectionSource.swift
50.70% <ø> (ø)

Sources/PostgresKit/PostgresDataDecoder.swift
50.00% <ø> (ø)

Sources/PostgresKit/PostgresDataEncoder.swift
59.59% <ø> (ø)

Sources/PostgresKit/PostgresDialect.swift
57.40% <ø> (ø)

Sources/PostgresKit/PostgresRow+SQL.swift
95.45% <ø> (ø)


[BUG] _reset tensor unexpectedly modified, causing crashes

Describe the bug
When running examples/ppo/ppo.py the program randomly crashes after a few thousand iterations with one of various errors such as:
Traceback (most recent call last):
  File "examples\ppo\ppo.py", line 78, in main
    for data in collector:
  File "torchrl\collectors\collectors.py", line 731, in iterator
    tensordict_out = self.rollout()
  File "torchrl\_utils.py", line 361, in unpack_rref_and_invoke_function
    return func(self, *args, **kwargs)
  File "torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "torchrl\collectors\collectors.py", line 826, in rollout
    self.env.step(self._tensordict)
  File "torchrl\envs\common.py", line 378, in step
    tensordict_out = self._step(tensordict)
  File "torchrl\envs\transforms\transforms.py", line 583, in _step
    tensordict_out = self.base_env._step(tensordict_in)
  File "torchrl\envs\vec_env.py", line 49, in decorated_fun
    return fun(self, *args, **kwargs)
  File "torchrl\envs\vec_env.py", line 736, in _step
    raise RuntimeError(
RuntimeError: Expected 'step_result' but received reset_obs from worker 6

  File "examples\ppo\ppo.py", line 78, in main
    for data in collector:
  File "torchrl\collectors\collectors.py", line 731, in iterator
    tensordict_out = self.rollout()
  File "torchrl\_utils.py", line 361, in unpack_rref_and_invoke_function
    return func(self, *args, **kwargs)
  File "venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "torchrl\collectors\collectors.py", line 842, in rollout
    self._step_and_maybe_reset()
  File "torchrl\collectors\collectors.py", line 796, in _step_and_maybe_reset
    raise RuntimeError(
RuntimeError: Env TransformedEnv(
    env=ParallelEnv(
        env=GymEnv(env=PongNoFrameskip-v4, batch_size=torch.Size([]), device=cpu),
        batch_size=torch.Size([8])),
    transform=Compose(
            RewardScaling(loc=0.0000, scale=0.0000, keys=['reward']),
            ToTensorImage(keys=['pixels']),
            GrayScale(keys=['pixels']),
            Resize(w=84, h=84, interpolation=InterpolationMode.BILINEAR, keys=['pixels']),
            CatFrames(N=4, dim=-3, keys=['pixels']),
            RewardSum(keys=['reward']),
            StepCounter(keys=[]),
            DoubleToFloat(in_keys=[], out_keys=[], in_keys_inv=[], out_keys_inv=[]))) was done after reset on specified '_reset' dimensions. This is (currently) not allowed.

After some digging I found that these errors seem to have one root cause, which is that the _reset tensor in torchrl\envs\vec_env.py : ParallelEnv : _reset() is modified between the calls to channel.send() and channel.recv().  This means some channels have send() called but not recv(), causing messages to become out of sync between different functions.  This unexpected modification of _reset also causes other errors such as the one above in functions that reference this tensor.
The modification to _reset can be detected by replacing the code of the ParallelEnv : reset() function with the following:
    @_check_start
    def _reset(self, tensordict: TensorDictBase, **kwargs) -> TensorDictBase:
        cmd_out = "reset"
        if tensordict is not None and "_reset" in tensordict.keys():
            self._assert_tensordict_shape(tensordict)
            _reset = tensordict.get("_reset")
            if _reset.shape[-len(self.done_spec.shape) :] != self.done_spec.shape:
                raise RuntimeError(
                    "_reset flag in tensordict should follow env.done_spec"
                )
        else:
            _reset = torch.ones(
                self.done_spec.shape, dtype=torch.bool, device=self.device
            )
        # Original values
        reset_copy = _reset.cpu().numpy()

        for i, channel in enumerate(self.parent_channels):
            if tensordict is not None:
                tensordict_ = tensordict[i]
                if tensordict_.is_empty():
                    tensordict_ = None
            else:
                tensordict_ = None
            kwargs["tensordict"] = tensordict_
            if not _reset[i].any():
                self.shared_tensordicts[i].update_(
                    self.shared_tensordicts[i]["next"].select(
                        *self._selected_reset_keys, strict=False
                    )
                )
                if kwargs["tensordict"] is not None:
                    self.shared_tensordicts[i].update_(
                        kwargs["tensordict"].select(
                            *self._selected_reset_keys, strict=False
                        )
                    )
                # we must update the
                continue
            # Always seems to be fine here
            reset_copy2 = _reset.cpu().numpy()
            assert (reset_copy == reset_copy2).all()
            channel.send((cmd_out, kwargs))
            # Eventually changes here
            reset_copy2 = _reset.cpu().numpy()
            assert (reset_copy == reset_copy2).all()

        for i, channel in enumerate(self.parent_channels):
            if not _reset[i].any():
                continue
            cmd_in, data = channel.recv()
            if cmd_in != "reset_obs":
                raise RuntimeError(f"received cmd {cmd_in} instead of reset_obs")
            if data is not None:
                self.shared_tensordicts[i].update_(data)

        return self.shared_tensordict_parent.select(*self._selected_reset_keys).clone()

I've also sometimes had a few other unexpected tensor changes, such as the GAE gamma and lambda parameter tensors suddenly being set to zero many iterations into execution.
System info
TorchRL library cloned from GitHub, main branch.
Python version 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] win32
Windows 10, CUDA 11.8
Pip packages:
ale-py                 0.8.1
antlr4-python3-runtime 4.9.3
appdirs                1.4.4
certifi                2022.12.7
charset-normalizer     2.1.1
click                  8.1.3
cloudpickle            2.2.1
colorama               0.4.6
docker-pycreds         0.4.0
filelock               3.9.0
gitdb                  4.0.10
GitPython              3.1.31
gym                    0.26.2
gym-notices            0.0.8
hydra-core             1.3.2
idna                   3.4
importlib-metadata     6.6.0
importlib-resources    5.12.0
Jinja2                 3.1.2
MarkupSafe             2.1.2
mpmath                 1.2.1
networkx               3.0
numpy                  1.24.1
omegaconf              2.3.0
packaging              23.1
pathtools              0.1.2
Pillow                 9.3.0
pip                    23.1.2
protobuf               4.23.1
psutil                 5.9.5
PyYAML                 6.0
requests               2.28.1
sentry-sdk             1.23.1
setproctitle           1.3.2
setuptools             49.2.1
six                    1.16.0
smmap                  5.0.0
sympy                  1.11.1
tensordict             0.1.2
tensordict-nightly     2023.5.15
torch                  2.0.1+cu118
torchaudio             2.0.2+cu118
torchrl                0.1.1+3fb2d0d
torchvision            0.15.2
tqdm                   4.65.0
typing_extensions      4.4.0
urllib3                1.26.13
viskit                 0.1
wandb                  0.15.3
zipp                   3.15.0

Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Thanks for reporting this and for investigating it thoroughly @SiliconSloth
We're in the process of refactoring the parallel env communication using queues (https://github.com/pytorch/rl/pull/1166)
We defo need to avoid race conditions at all cost.
I'm a bit puzzled by what the underlying cause of this might be though.
With queues I found that cloning and putting the _reset in shared memory before sending the tensor to the remote process helped solving these kinds of bugs.
I'll keep you posted on the progress and make sure that we test the feature thoroughly before landing!

CLosing as I think this is solved now, feel free to reopen if not


perf: compiler performance optimization

Compiler Performance Optimization
Overall 44% Faster SFC Compilation
Based on a benchmark done using all the SFC files from the Elk repo, which should be largely reprensatitive of a real world app:
benching with:
- 225 files
- isProd: true
- sourceMap: true
- 3 warmup runs
- 10 bench runs

old compiler: 1513ms
new compiler: 845ms
new compiler is 44.15% faster.

---

benching with:
- 225 files
- isProd: true
- sourceMap: true
- 5 warmup runs
- 20 bench runs

old compiler: 2872ms
new compiler: 1618ms
new compiler is 43.66% faster.

Note: this benchmark only measures the time spent by @vue/compiler-sfc parsing SFC files and converting them to JavaScript and source maps. It does not include CSS processing, JavaScript bundling, and minification. So the impact on the build time of an entire project will be less significant, but should still be noticeable.
100% Faster Parsing
The parser is rewritten from the ground up and is 100% faster - i.e. it parses the same template in half the time compared to the old one.

The old parser was a recursive descent parser that uses a lot of regular expressions and inefficient lookahead searches.

The new parser uses a finite-state-machine tokenizer forked from htmlparser2. It iterates through the input in a linear fashion with minimal lookahead and backtracks, and largely removes reliance on regular expressions.

40% Faster Codegen

Optimized line / column calculation
Previously, every CodegenContext.push call involved iterating over the pushed string to check for newlines in order to record the correct line and column position for source map generation. Profiling reveals that this iteration, done in advancePositionWithMutation(), results in non-trivial overhead. In a95d76efe, this is optimized so that the string iteration can be skipped if the presence or location of the newline is known ahead of time.

Optimized source map generation
We noticed that SourceMapGenerator.addMapping is spending a ton of time just normalizing and validating input arguments. Given that we always know the exact arguments that we are providing, we can avoid the overhead by directly adding the mapping. This is done in 89284739d.

Eliminate SFC Template Doube Parse & Source Map Overhead
SFC parsing has some different requirements compared to normal Vue templates: the content of all root-level tags other than <template> should be treated as plain text, due to the need to support custom blocks. Full tag structure parsing is still needed for <template> because there could be nested <template> tags inside, however, the resulting AST is not reusable for template compilation due to the way the old parser's options were designed.
This means for every SFC we had to perform two parse calls: one for the SFC blocks, and one for the actual template content. In addition, because the second template parse is performed on the already extracted content, we need to re-map its source map locations to be relative to the entire SFC. This is actually very costly and should be avoided.
The new parser solves this problem by treating SFC parsing logic as a first-class concern. As a result, we can directly reuse the AST for the <template> block for subsequent transform and codegen, and also avoid the expensive source map re-mapping.
API Changes
The refactor introduced some minor changes to the AST format and @vue/compiler-core's parser options. These properties and options are mostly used internally or in custom compilers (which are really advanced use cases), so they should not affect most end users.
AST Format Changes

Removed property: SourceLocation.source
This property was exposed for convenience on AST Node's loc objects, but usage was scarce. In addition, this information can be generated on-demand using the start and end positions and the full source string. Its utlity does not justify the cost of generating these sub-strings during parse and the additional memoery needed, so it's been removed.
This may affect userland template transform plugins, but should be easy to migrate away from.
This breaks @vue/language-tools and has been restored in e48cbf02b.

Removed property: ElementNode.selfClosingTag
This property was never used anywhere other than in the parsing phase by the old parser, so it is removed for AST conciseness.

Parser Options Changes

New option: parseMode

type: 'base' | 'html' | 'sfc'
default: 'base'

To maximize performance, some logic for handling HTML-specific behavior (e.g. special handling of content inside <script>) is handled directly in the tokenizer. Such behavior is disabled in the default 'base' mode.
In 'sfc' mode, content in all root-level tags except <template> are treated as plain text, while the content of <template> is parsed in 'html' mode.

New option: ns
This new option can be used to specify the root namespace when parsing a template.

Removed option: getTextMode
The equivalent logic for this option has been hard-coded into the tokenizer for better performance. This does in theory remove some flexiblity in terms of defining an alternative list of tags that should be treated as plain text containers, but the use case is non-existent in practice.

Size Increase
The refactor results in slightly larger runtime compiler size. Size change for the global build including both compiler and runtime (min+brotli): 44.5kb => 46.4kb (+1.9kb). This is acceptable considering the performance improvements and the fact that the size increase does not affect projects that use a build step.

🚀

🎉🎉

Just wow 😮

👍🏻


Build in error state should not continue to update the dependency data

This might be more an edge case, but let's assume the following build scenario:
Build 1: In an impact build scenario, a changed submodule (subpgm1.cbl) is detected. This submodule is included to a load through a link card (pgm1.lnk), which is correctly detected during impact analysis. While the build continues to process the build list, even when subpgm1 has a compile error, and pgm1.lnk is executed successfully, but now misses the subpgm1 obj, it updates the logical file for pgm1.lnk in the output collection through the saveStaticLinkDependencies method.
On the next build when fixing the compilation issue of subpgm1.cbl, impact resolution will not find the dependency to pgm1.lnk any more and will NOT add it to the build list.
Conclusion: Updating the output collection, should be conditional to the current state of the build execution, see props.error.
https://github.com/IBM/dbb-zappbuild/blob/99624f601019ca6483023eb00c9d420535ced6d4/utilities/ImpactUtilities.groovy#L878-L896

Merged in both Release streams


chore!: update Dart version constraints to ">=3.0.0 <4.0.0"

Status
READY
Description
Resolves #62
Type of Change

[X] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Closing, may re-open once we define our Flutter update policy for our packages.


chore: Remove usage pulse logging for Appsmith cloud

Description

We are working on usage and billing feature and as a part of usage calculation, we are recording the usage pulses at 1 hr intervals today. As the business cases are evolving we received a request to log the pulses for every 5mins instead of an hour. Just to provide the existing stats for the past month on our cloud alone we have received 155545 pulses with 1hr intervals between the pulses. Also going forward if are doing it with 5mins intervals this count is going to increase by 12 folds. Now considering we will not be monetising the cloud platform until multi-tenancy is out, do we have usecase where we still need the usage data? If not we would like to stop recording these usage pulses on Appsmith cloud and bring it back after multitenancy is live. Until then self-hosted EE instances will report the pulses as expected.

TL;DR: Remove logging of usage pulses for Appsmith cloud not to bloat the cloud services DB, as these pulses will not be used unless the multi-tenancy is introduced

Fixes https://github.com/appsmithorg/cloud-services/issues/400
Type of change

Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Manual
JUnit

Checklist:
Dev activity

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

QA activity:

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

/ok-to-test

/ok-to-test


kml format is not supported

Hello.
I have tried to use SharpKml for parsing this file.
There are 2 problems while parsing:

import fails until I have removed kml tag and replaced Document with Document xmlns="http://www.opengis.net/kml/2.2"

because of tabs in text file styles was parsed with bugs, for example color = ddff0000  was parsed as 0000000d

Geofences.zip
Can you comment first problem? Can  without xmlns be used? Can  be used?
Can you remove /tabs, blanks before parsing colors and similar fields?
Thanks.

For the first problem you can use the Parser directly to ignore namespaces, see legacy files for an example.
For the second problem, I've just publised an updated package (v 5.1.1) that will now ignore the whitespace, sorry about that.
Thanks for opening the issue; if there are any other errors then please feel free to open a new one 🙂

Thank you very much.
Working great.


Fix infinite loop in dominance calculation.

Ensure the dominance calculation visits all nodes in the CFG.
The successor list of the pseudo-entry node is augmented with
a single node in each cycle that otherwise would not be visited.
Similarly, the predecssors list of the pseduo-exit node is augmented
with the a single node in each cycle that otherwise would not
be visited.
Pulls DepthFirstSearch out so it's accessible outside of the dominator
calculation.
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/279

I'd like @umar456 to take a look.

Minor issues. But everything looks good.

Rebased and addressed all comments.

The requested changes were trivial updates to comments.  I'll take it as an LGTM.


Implement a tool to identify and remove orphan volumes

Note: I'm moving this feature request from https://github.com/kubernetes-sigs/vsphere-csi-driver/issues/607 to this repo since CNS Manager will be providing this functionality.
There are a few cases where the vSphere CSI driver creates more than 1 volume in vSphere for a PVC. The unused ones become orphans as they are not used by the Kubernetes cluster. This issue is present in all the drivers shipped so far. A separate issue will be filed to improve the idempotency handling but this issue is filed to build a tool that can identify and remove orphan volumes from vSphere. This is very useful for current customers who are using the existing drivers.

Orphan volume cleanup functionality was added as part of v0.2.0 release.


Incompatible with PhpStorm 2023.2

Plugin 'Text Domain Completion for WordPress' (version '0.8.1') is not compatible
with the current version of the IDE, because it requires build 231.* or older but
the current build is PS-232.8660.205

Sorry for the time you had to wait. The plugin should be updated by now and ready to download from JetBrains' plugins page


prepare for 3.0.1 release

Pull Request (PR) description
Release of 3.0.1

@trevor-vaughan can you please also generate the new changelog? The process is documented on our website: https://voxpupuli.org/docs/releasing_version/

Most of us normally use a more direct commit message too.  eg Release 3.0.1 vs Prepare for 3.0.1 release. @bastelfreak We don't actually document this anywhere though.  It's not super important, but maybe we should for consistency?

@bastelfreak Well, when I tried to do that, the Changelog ended up with things that were 'pending' and didn't seem quite right.
@alexjfisher I looked at a few examples and basically followed those from other repos.

@trevor-vaughan the generator reads the release version from metadata.json for the next release. If you first update it and afterwards generate the changelog everything should work.

@bastelfreak OK, material updated


Fix scope issue in tileloaderror listener

I decided not to use the optional this argument, since this is gone in ol  5


ci: upload coverage data to codecov

Description

Upload coverage data to codecov.io
Related issues

Special notes for your reviewer:

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4d430c5). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage        ?   35.83%
=======================================
  Files           ?       28
  Lines           ?     2149
  Branches        ?        0
=======================================
  Hits            ?      770
  Misses          ?     1327
  Partials        ?       52

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Enhamcing the login and sign up page

I will make the login and sign up page look more attractive.

@khushi-joshi-05 Please assign me this issue under GSSoC'24 label.

Good at enhancing @khushi-joshi-05 assign this to me

@sunny0625 @khushi-joshi-05 Please assign me this issue under GSSOC'24 label. (Assign this on first come first serve please).

@taneeshaa15 Describe your contribution.

@sunny0625 I will add hover on the login page and signup page, and i will merge the pages into one with giving transition from figma.

@sunny0625 starting working on it and will shaare the progress with you soon.


How to use examples

I am trying to follow the "Feedback-driven fuzzing" documentation, in which compile-time instrumentation using clang/gcc is discussed. The instructions ask you to compile your library, and then your test file, in order to fuzz.
For the libjpeg example, a test file is present (persistent-jpeg.c), but the library itself is not available in a C file. Typically, libraries aren't encapsulated in single C files, and requite some more complicated linking. Is there an easy way to use the libjpeg example here, or do I need to do something else to use this file? Thanks!

https://github.com/google/honggfuzz/tree/master/examples/libjpeg/README.md
Enjoy your fuzzing! :)


deepin.deepin-calculator: init at 1.0.11

Motivation for this change
Add deepin-calculator, an easy to use calculator for Deepin Desktop Environment.
About packaging deepin for NixOS: #59023
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.


Essentials Sudo + Denizen = Instant Crash

Crash report here.
Using c: in various other plugins within' chat causes Denizen to crash Spigot instantly.
Plugins specifically causing this bug would be Essentials' /sudo command. When doing /sudo PLAYER c:test -- (c: is an "alias" to make them talk in normal chat instead of executing a command), the server will stop responding immediately.
Error Log
Video of Crash
How to reproduce this bug:

Install Essentials
Install Denizen
Do "/sudo PLAYER c:Test!"
Watch your server go bye bye.

Any fix for this would be appreciated. :)
Thanks!
EDIT: Thought I'd mention I tried setting Triggers > Chat > Enabled to false as well as Use asynchronous event to false located under Events. The crashing persists.
Another oddity would be that Denizen's ProximityTrigger seems to use a good amount of resources despite me having Proximity disabled in my config, but this may be better left to another Issue report. I just found it odd for Denizen to be in my top 5 most resource heavy plugins out of 73 and I only have a single NPC that does a single player command on right click (and it hasn't even been interacted with since the server has started).

Update to latest developmental build, please
http://ci.mineconomy.org/job/Denizen_Developmental/lastSuccessfulBuild/

Gah. Worked. Thanks!
Sorry about that. I'm new to Denizen so I had just downloaded it a few weeks ago. Didn't think a whole lot happened with the source code since then.

Bear in mind, we're still in beta - things like proximity trigger handling and chat handling are still being developed, and will be better and better with each passing day.


offset 不能为字符串， 问题怎样解决

我使用您开发的jsqlpaser, 现在，有个需求是给hbase加上sql支持，使用jsqlparser做sql解析，但是，他不支持offset为字符串的情况，请告诉我应该咋做。

In English please.

I use you to develop the jsqlpaser, now, there is a need to add HBase support to SQL, using SQL to do jsqlparser parsing, but he does not support the offset as a string, please tell me what should I do.

Could you give me a concrete SQL that fails?


Refector populateExchangeCache mthod in RabitClient class and added t…

…est cases

Can one of the admins verify this patch?

ok to test


Target_dist labels missing in Target_dist.json

Dear author,
Thank you for the valuable resources you shared.
In the test set you shared in the folder demo_mask, there are some masks for which target labels like following [IMAGE-NAME][MODALITY][SITE]_[TARGET].png are not mentioned in the file Target_dist.json.
For exemple there is no modality and site CT_liver in Target_dist.json and it's not paired with target vessel. But the model is still able to target the vessel for 04_CT_liver.png which matches well with the mask 04_CT_liver_vessel.png.
Is the content of Target_dist.json available on huggingface exhaustive for all the target values the model has been trained on in its latest release ?

Hi,
The model takes in free text to output segmentation. After the segmentation, it is optional to test if the output belongs to some target type based on K-S test using the statistics in target_dist.json. The current target_dist.json covers most but does not exhaustively include all the modality, site and object pairs the model was trained on. We have added additional object types since the initial release, and if there is any specific one (e.g. vessel in liver CT), please let me know and I can add to the updated file.

Thank you for your answer
Here is a table of what is available in target_dist.json :

MODALITY_REGION
TARGET

CT-Abdomen
['postcava', 'aorta', 'right kidney', 'kidney', 'left kidney',   'duodenum', 'pancreas', 'liver', 'spleen', 'stomach', 'gallbladder', 'left   adrenal gland', 'adrenal gland', 'right adrenal gland', 'esophagus']

CT-Chest
['nodule', 'COVID-19 infection', 'tumor']

MRI-Abdomen
['aorta', 'postcava', 'right kidney', 'duodenum', 'kidney', 'left   kidney', 'liver', 'pancreas', 'gallbladder', 'stomach', 'spleen', 'left   adrenal gland', 'adrenal gland', 'right adrenal gland', 'esophagus']

MRI-Cardiac
['left heart ventricle', 'myocardium', 'right heart ventricle']

MRI-FLAIR-Brain
['edema', 'tumor core', 'whole tumor']

MRI-T1-Gd-Brain
['enhancing tumor', 'non-enhancing tumor', 'tumor core']

Pathology
['connective tissue cells', 'inflammatory cells', 'neoplastic cells',   'epithelial cells']

X-Ray-Chest
['left lung', 'lung', 'right lung']

Ultrasound-Cardiac
['left heart atrium', 'left heart ventricle']

Endoscopy
['neoplastic polyp', 'polyp', 'non-neoplastic polyp']

Fundus
['optic cup', 'optic disc']

Dermoscopy
['lesion', 'melanoma']

OCT
['edema']

And here is a table of the Modalities + Regions labels associated with their targets that were in  demo_mask but not in target_dist.json

MODALITY_REGION
TARGET

CT_colon
['tumor']

CT_liver
['vessel', 'tumor']

CT_lung
['nodule', 'tumor', 'COVID-19 infection']

CT_pelvis
['uterus']

MRI_heart
['left heart atrium', 'right heart ventricle', 'myocardium', 'left heart   ventricle']

MRI_prostate
['prostate']

ultrasound_breast
['tumor']

ultrasound_transperineal
['fetal head', 'public symphysis']

CT_lung in the first table and CT_chest in the second should be the same thing as for MRI_heart and MRI-Cardiac but there is still 'left heart atrium' missing for MRI-Cardiac.
It would be amazing if you could update target_dist.json
Thank you !

Thanks for organizing the chart! We have just updated the target_dist.json on HuggingFace with CT-Liver category. While the demo dataset is just to showcase the segmentation capability for different text prompts, this is helpful for us to gradually include more categories for K-S test. If there is a specific type that you would like to prioritize, please let me know.


Geckolib Example Mod Crashes My Data Generator.

I'm working on a mod integration addon for Dragon Survival and Spectrum. As the former is Forge-only and the latter is Fabric-only, this addon depends on Sinytra Connector. The addon does not itself require Geckolib, but Dragon Survival does. Somehow, the combination of Geckolib's Example Mod, Additional Entity Attributes (a dependency of Spectrum), and Sinytra Connector causes my runData configuration to crash with the following log: latest.log
Would it be possible to add a way to disable the Geckolib Example Mod in a workspace where it isn't needed (or if there's already a way to do this, add it to the documentation?), or provide a maven artifact that doesn't include it? I've spent a few hours already trying to fix this issue on my end and have yet to find a solution.

I should note that this issue does not affect runClient. I have yet to test it on runServer.

I mean.. I don't really have any control over what sinytra might be breaking
Geckolib works perfectly fine in datagen, and if sinytra breaks it, then maybe they should be fixing it..

After further testing, I have found that Dragon Survival causes the same issue, so disabling the Geckolib Example Mod would be pointless. This needs to be fixed from either Sinytra or Dafuqs's end.


Added micro seconds to Time#local

Previously, when setting a DateTime attribute on one of our documents with a DateTime object with microseconds, Mongoid would truncate the microseconds. Now, it keeps them and no longer immediately returns if the DateTime object just because it's in UTC because otherwise it would still truncate the microseconds.

@crugg are there some corresponding tests in our application code which depend on this fix and exercise it? (eg in case we upgrade mongoid, I'd like to make sure we have some tests that would test for this fix to make sure the new release of mongoid behaves properly)

re: my prior comment, I mean tests that live in common rb or demeter

Yes, in the order_history/spec/orderbook_model_spec.rb the #to_builder test will fail when it compares the expect(snapshot_order_doc.last_event_time).to eq(new_model_order_event.transaction_time) without this commit and passes with it.

great, thanks


after approval tx confirm action button still disabled

After user's approval tx confirms the action button stays disabled

fixed - closing


Debug Utils Messenger error

when enabling VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT in VkDebugUtilsMessengerCreateInfoEXT
I get an error to the console. The message still prints but I get this as well:
TypeError: an integer is required
From cffi callback <function _external_vkDebugUtilsMessengerCallbackEXT at 0x000002391337DB88>:
Trying to convert the result back to C:
TypeError: an integer is required

I tried with no printing in the debug function, just a pass and with no message I still get the error.
Removing the flag removes the error.

Hello @okuma10, can you show me the code that create this error ?

Well...I'm not sure if it is something in my code, this is the third time I make a new project and whenever I enable the INFO_BIT , I get that error
But I found I get the error when I make the logical device,
I get the messages, but then I get the same amount of lines in errors
Here is a snippet from the last message line and the first error line in the output:
From cffi callback <function _external_vkDebugUtilsMessengerCallbackEXT at 0x00000247C2C2EC18>:
Trying to convert the result back to C:
TypeError: an integer is required

but here is my debug report function:
def Debugger(*args):
    print(args)

here is the debug create info, it's a function so instance and function refer to variables passed to it. But function is basically the debug function above:
            sType=VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT,
            pNext=None,
            flags=0,
            messageSeverity=VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT|
                            VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT|
                            VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT,
            messageType=VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT|
                        VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT |
                        VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT,
            pfnUserCallback=function
    )

    vkCreateDebugUtilsMessengerEXT = vkGetInstanceProcAddr(instance,"vkCreateDebugUtilsMessengerEXT")

    debug_messenger = vkCreateDebugUtilsMessengerEXT(instance,debug_create_info,None)

setting things up obviously works, because I get the message before the errors.
this is my logical device creation
      createInfo = VkDeviceCreateInfo(
                sType=VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO,
                pNext=None,
                flags=0,
                queueCreateInfoCount=len(queues),
                pQueueCreateInfos=queues,
                enabledLayerCount=0,
                ppEnabledLayerNames=None,
                enabledExtensionCount=0,
                ppEnabledExtensionNames=None,
                pEnabledFeatures=None
        )
        self.logical_device = vkCreateDevice(physical_device,createInfo,None)

again everything is fine in the logical device creation, since I get the handle and those messages , if I get args[2].pMessage reports loading of device extensions:
b'Device Extension: VK_KHR_driver_properties (C:\\Windows\\System32\\DriverStore\\FileRepository\\u0357776.inf_amd64_5cb88e05332b51cb\\B357669\\.\\amdvlk64.dll) version 0.0.1'

Hello @okuma10, Can you give me the minimum of code allowing me to reproduce your issue ?
Thanks

I think I just found the reason for the error, my debug function needed to have a return True at the end.


I am newbee here. I want to find a IDE which can "ctrl + click" to jump the define code

Just want to find IDE

Intellij IDEA may be good for you

For reference, of the chisel developers who use IDEs, most (if not all?) use IntelliJ. It has a Scala plugin which is pretty good.

Visual Studio Code with the "Scala (Metals)" plugin works for me so far. IntelliJ is also good, but I like the vscode interface more.

Expanding on @danielkasza's suggestion: any editor that supports Scala metals should work. And it looks like most editors support "go to definition": https://scalameta.org/metals/docs/editors/overview.html. I'd grab one of those, install metals and see where it gets you.
I'll go ahead and close this as I think this is sufficiently answered. In the future, questions like this would probably be better targeted at StackOverflow using the [chisel] tag or brought up in the Gitter Channel or it's Matrix bridge. It's all good, though! :+1: Thanks for your interesting in getting started with Chisel.


feat: multiple FCM account support

Hello,
I have modified the below files for supporting multiple FCM account i.e. combinations of Sender ID and Sever Key. This is to handle a scenario where this library needs to be part of say a Microservices handling FCM request from multiple applications.

Laravel-FCM/src/Request/Request.php
Laravel-FCM/src/Sender/FCMSender.php

Thank you
Anuj Gandhi

Hi @anujgandhi
please try this link https://github.com/code-lts/Laravel-FCM/compare/main...anujgandhi:Laravel-FCM:main

Strange! I am not sure why for me it was showing as no changes.
Done. Do let me know if I need to do anything else.
Once again - really appreciate the support.
Thank you
Anuj Gandhi
On Thu, 22 Dec 2022 at 09:29, William Desportes @.***>
wrote:

Hi @anujgandhi https://github.com/anujgandhi
please try this link code-lts/Laravel-FCM@
main...anujgandhi:Laravel-FCM:main
https://github.com/code-lts/Laravel-FCM/compare/main...anujgandhi:Laravel-FCM:main
—
Reply to this email directly, view it on GitHub
https://github.com/brozot/Laravel-FCM/pull/227#issuecomment-1362382437,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZ6ZVYVQAGI36AZQUG7SWDWOPGZLANCNFSM6AAAAAATGITGXY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you for https://github.com/code-lts/Laravel-FCM/pull/21
You can close this one here :)

This one https://github.com/brozot/Laravel-FCM/pull/227


[Hotfix] Fix Issue that gRPC Client and Pulsar Client Can't Coexist

By design, Data-plane Manager should allow multiple data plane clients coexist so that we could enable gRPC fast path and MQ scaling path simultaneously. This PR fixes the issue that DPM can't start (commit a893709) when two types of clients were enabled at the same time.

Codecov Report

Merging #501 (3e225c9) into master (eb9f2ff) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #501   +/-   ##
=========================================
  Coverage     35.64%   35.65%
  Complexity     1161     1161
=========================================
  Files           467      467
  Lines         11311    11311
  Branches       1456     1456
=========================================
+ Hits           4032     4033    +1
+ Misses         6723     6722    -1
  Partials        556      556

Impacted Files
Coverage Δ
Complexity Δ

...alcor/elasticipmanager/dao/ElasticIpAllocator.java
63.81% <0.00%> (+0.27%)
48.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


vscode.workspace.onWillSaveTextDocument or LSP textDocument/willSaveWaitUntil don't wait at all

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.59.0
OS Version: Windows

Steps to Reproduce:

Our extension is trying to get VS Code to wait a short period of time before a save occurs, but VS Code appears to not wait and tries to save almost immediately (fail to save popup appears immediately due to a process having a lock on the file that we haven't killed yet), i.e. < 1 second. This seems like a bug. We've tried via vscode.workspace.onWillSaveTextDocument and via the LSP textDocument/willSaveWaitUntil and the results are the same.

I don't know what additional logging or diagnostics is needed.

Can you share a code sample that uses the onWillSaveTextDocument API? Also what does the log from the extension host says (F1 > Show Logs > Extension Host)?

@jrieken Yeah, we register it at https://github.com/microsoft/vscode-cpptools/blob/seanmcm/clangTidy/Extension/src/LanguageServer/clientCollection.ts#L65 and other code that is run is at https://github.com/microsoft/vscode-cpptools/blob/seanmcm/clangTidy/Extension/src/LanguageServer/client.ts#L2117 (basically, just mimicking the textDocument/willSaveWaitUntil message). Previously we just handled the LSP message, which works, but it wasn't waiting at all (so I thought it was an vscode-languageclient bug https://github.com/microsoft/vscode-languageserver-node/issues/808).
No logging message appears in the Extension Host logging panel, and the Developer Console just (immediately) shows that VS Code is incorrectly trying to save without waiting before we're able to release the lock on the file (from the external clangTidy process):
`
workbench.desktop.main.js:630   ERR [text file model] handleSaveError(1) - exit - resulted in a save error: Error: Unable to write file 'pathToFile.cpp' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open 'pathToFile.cpp') file:///pathToFile.cpp
workbench.desktop.main.js:749
Failed to save 'pathToFile.cpp': Unable to write file 'pathToFile.cpp' (Unknown (FileSystemError): Error: UNKNOWN: unknown error, open 'pathToFile.cpp')
`

Sorry, I meant a small reproducible sample. I am fairly confident about our implementation - it hasn't seen changes in the last years and it is used for things that we selfhost on: format on save and code action on save. You seem to operate the client API correctly but I cannot say if the IPC request etc keeps the promise properly alive etc. So, a minimal repo will help to clarify this. When a listener is behaving badly either this or this message is logged (on the extension host)

Oops, sorry -- found the bug in our code.


Claude 3.5 model

Is it possible to support loading the open source Claude 3.5 model? Thanks.

Is it possible to support loading the open source Claude 3.5 model? Thanks.

the model is not open source

Send the model link for download.
You can't because it is not opensource.

https://github.com/saoudrizwan/claude-dev


[CP] Fix PathNotFoundException while updating artifact cache

issue_link
#119261
Commit Hash
f767f86
Target
stable
pr_link
#119946
Impacted Users
Users with a race condition on their cache
Impact Description
Flutter-tool crashes when running any flutter command that hits the precache logic
Workaround
https://github.com/flutter/flutter/issues/119165#issuecomment-1405080216
Risk
low
Test Coverage
yes
Validation Steps
No response

Cherry-pick looks good to me!  Thoughts @christopherfujino?


Fix for MAX_RESPONSE_LENGTH

I got this error because the response was bigger than 2000 in length:
errors: {
      content: {
        _errors: [
          {
            code: 'BASE_TYPE_MAX_LENGTH',
            message: 'Must be 2000 or fewer in length.'
          }
        ]
    }
},

Example prompt: Give me an essay about Super Mario where the content of your response is 2200 characters
I fixed it by just changing content.length to content.response.length and now it correctly sends me the response as PM instead.

Thank you for the fix @davidecke 🙏


new, better project name

There was an "Open Street View" view project that had to change its name to "Open Street Cam" because Google didn't like the similarity to "Google Street View". While I doubt our project will attract the attention of Google, we might want to come up will a cool name that doesn't include "street view". This was an oversight on my part.

and we should have a name that starts with a letter early in the alphabet so that we appear near the start of the list of Civic Tech DC projects on https://www.civictechdc.org/ 😆


Feat: extend eth-connector utility

Description
Extended eth-connector utility.
Refactored withdraw functions and tests.

What's the purpose of each of the withdraw methos?


Did not find openai_api_key

Using .env file and a key named "OPENAI_API_KEY" in it ( with valid value),
I still got:
Traceback (most recent call last):
  File "D:\Projects\AI_testing\CrewAI\sample_app.py", line 5, in <module>
    researcher = Agent(
                 ^^^^^^
  File "D:\Projects\AI_testing\CrewAI\CrewAI-venv\Lib\site-packages\crewai\agent.py", line 49, in __init__
    super().__init__(**data)
  File "D:\Projects\AI_testing\CrewAI\CrewAI-venv\Lib\site-packages\pydantic\v1\main.py", line 341, in __init__
    raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for Agent
__root__ -> __root__
  Did not find openai_api_key, please add an environment variable `OPENAI_API_KEY` which contains it, or pass  `openai_api_key` as a named parameter. (type=value_error)

error.

Hey @vanetreg I'll try it out locally to double check but I don't think crewai automatically loads it. Are you using python-dotenv? And if so are you loading the file?
from dotenv import load_dotenv
load_result = load_dotenv(override=True)

I haven't loaded dotenv, my bad...
I'm not a pro dev though :)


Fix DVT generated DV sourceRef

Signed-off-by: Arnon Gilboa<EMAIL_ADDRESS>What this PR does / why we need it:
Fix DataVolumeTemplate-generated DataVolume SourceRef to DataSource, which was mistakenly replaced to Source.PVC.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
Fix DataVolumeTemplate generated DataVolume SourceRef to DataSource

/hold

#6630 essentially converts datavolumetemplates with spec.sourceRef to instead have spec.source.pvc.  This is done for security reasons.  DataVolume specs are immutable but DataSources are not.  If we do not do this conversion, the following is theoretically possible:

virt-controller validates VM ServiceAccount can clone from PVC NS1/PVC1
DataSource is updated to point to NS2/PVC2
virt-controller creates DataVolume
cdi-deployment validates that virt-controller has permission to NS2/PVC2 (it has permission to all pvcs)
DataVolume creation succeeds

#6630 essentially converts datavolumetemplates with spec.sourceRef to instead have spec.source.pvc. This is done for security reasons. DataVolume specs are immutable but DataSources are not. If we do not do this conversion, the following is theoretically possible:

virt-controller validates VM ServiceAccount can clone from PVC NS1/PVC1
DataSource is updated to point to NS2/PVC2
virt-controller creates DataVolume
cdi-deployment validates that virt-controller has permission to NS2/PVC2 (it has permission to all pvcs)
DataVolume creation succeeds

well explained, but in our scenario (bz 2156517) PVC NS1/PVC1 was not existing, so maybe we should do the convert only when the DataSource PVC exists?

#6630 essentially converts datavolumetemplates with spec.sourceRef to instead have spec.source.pvc. This is done for security reasons. DataVolume specs are immutable but DataSources are not. If we do not do this conversion, the following is theoretically possible:

virt-controller validates VM ServiceAccount can clone from PVC NS1/PVC1
DataSource is updated to point to NS2/PVC2
virt-controller creates DataVolume
cdi-deployment validates that virt-controller has permission to NS2/PVC2 (it has permission to all pvcs)
DataVolume creation succeeds

well explained, but in our scenario (bz 2156517) PVC NS1/PVC1 was not existing, so maybe we should do the convert only when the DataSource PVC exists?

I think the only secure thing to do is to wait for the datasource to exist in that case.  So somehow watch dataSources that map to vms or requeue every couple seconds.


List of uvision export IDE not clear

Is there any difference on the following exporters?

uvision
uvision4
uvision5

I'm not 100% sure which one to use. Can we document this and/or simplify the options? (e.g. leave only uvision)
@screamerbg @0xc0170

For the records, now uvision alias falls back to uvision5.
uvision4 is no longer supported.


[Missing] data interfaces should provide a property to ensure database_requested has run

If a charm needs to do some updates of the stored data/secrets in a relation_changed event for example, it has to check that the database_requested event has run. Currently, there is no documentation on how to do that, nor a property or a check function to do that.
Adding a is_relation_setup or equivalent + the according documentation and a small example should do the thing.

Thank you very much for reporting. Indeed it's a serious concern.
Instead of property + docs what we provide is the following: as long as the database field is not set on the relation, the Provicer (the side creating secrets) will not be allowed to apply write operation.
If the Provider would make an attempt to execute update_relation_data() it would throw an exception indicating that the opration is premature.


support nested tests

nested tests do not work in node or in the browsers.
Nested tests work in node-tap so it must be a bug in your harness code. (since it worked in node in testling before the harness refactor)

nested tests now work in my experience; happy to reopen if not.


Issue in init_weights for SwinTransformer Backbone

Describe the bug
Here self.init_cfg is supposed to be a dict() and it has no attribute checkpoint.
https://github.com/open-mmlab/mmdetection/blob/bd460fe48ebc6fc33abd3d99acdae7e50a9305c0/mmdet/models/backbones/swin.py#L690
Reproduction

What command or script did you run?

import torch
import torch.nn.functional as F
from mmdet.models.backbones.swin import SwinTransformer

pretrained = 'https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth'
model = SwinTransformer(
                embed_dims=96,
                depths=(2, 2, 6, 2),
                convert_weights=True,
                init_cfg=dict(
                    type='Pretrained',
                    checkpoint=pretrained))
model.init_weights()

Error traceback
If applicable, paste the error trackback here.
Exception has occurred: AttributeError       (note: full exception trace is shown but execution is paused at: <module>)
'dict' object has no attribute 'checkpoint'

Usually, the model's arguments come from cfg loaded from .py file. The type usually is a ConfigDict defined at https://github.com/open-mmlab/mmcv/blob/master/mmcv/utils/config.py#L35. ConfigDict can use cfg.key finding value, but the original dictionary cannot.

Thank you for your feedbacks!


Conversion to Markdown + install instructions

GitHub displays markdown a lot better.
I am not sure if you'd want to convert your readme to Markdown, but the odd wrapping on the GitHub page looked weird.
I also added a section about how to install 1.0.3 of this extension.

1.0.3 is obsolete, conversion to markdown format was made separately

It still would be nice to have PECL instructions.  Is that possible?


don't return validation error when final tasks failed/skipped

Changes
This commit closes #6139, in previous fix PR:
https://github.com/tektoncd/pipeline/pull/6395, only dagTasks statuses are considered and final tasks are missing. This PR fixes this.
/kind bug
Signed-off-by: Yongxuan Zhang<EMAIL_ADDRESS>
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/approve

@Yongxuanzhang @QuanZhang-William @chitrangpatel we should probably backport this to affected LTS as well, make sense ?

/cherry-pick release-v0.47.x

/cherry-pick release-v0.50.x

/cherry-pick release-v0.53.x

@Yongxuanzhang @QuanZhang-William @chitrangpatel we should probably backport this to affected LTS as well, make sense ?

Yes! Thanks for helping me to patch this. I don't have time this week. >_< But may be able to do so next week or next month after holidays...

This also affects 0.54.x 🙃
/cherry-pick release-v0.54.x

@vdemeester in case you missed it, it failed to apply on 0.47.x - https://github.com/tektoncd/pipeline/pull/7407#issuecomment-1853879645

https://github.com/tektoncd/pipeline/pull/7487 I did the cherry-pick manually


python3Packages.elkm1-lib: 1.3.1 -> 1.3.4

Description of changes
https://github.com/gwww/elkm1/blob/main/CHANGELOG.md

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 170071 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.elkm1
python310Packages.elkm1-lib
python39Packages.elkm1-lib


Compatibility issue with django-ajax-selects

I'm currently using django-ajax-selects for the chained_field. When I change the value of the chained_field, the ChainedForeignKey isn't updated. Would it be possible to have it working ?
Thank you.

Can you post any debugging information you collected? Your models/forms/admin? Django version? It's impossible to debug issues without any error information.

I assume this is fixed in django-ajax-selects PR #59. Closing.


feat(preview): add use_float option for preview mode

I really wanted to do a little more, including adding tests, but I am just not going to have the time for a while so I'll just merge it now so I can stop holding up releases and other small tweaks and fixes.

Love this feature. Just wanted to raise a bug where the calling window (e.g. side = right) doesn't get restored on revert_preview (become side = left).

a bug I've noted whle running the version that comes re-installed n AstroNvim is that if I press Enter while in Preview mode, the floating pane does not hide on pressing P. I have to force restart the console entirely.


Theme: Save does not save manual forms in background calls

Hi,
I have updated theme to latest update 18.20 but i dont know if its webmin issue or theme issue as both updated recently
Ubuntu 14.10 lts with latest webmin 1820
Servers > Apache > Existing vhosts > pick any server > Edit Directive
make any changes and hit "Save" but will not change the file, notification says changes saved.
it will only save if you hit "Save and Close"
Love the theme!
Thanks.

Hi,
That has to be fixed last release. I will take a closer look.
Thanks for reporting.

True. Fixed in 18.30.
Thank you very much for reporting! ;)


Support for Stockcharts

Any possibility to get support for Stockcharts?
I was looking at the code and tried to see if i could write it myself but there are alot of assumptions about having only 1 dataset.
i'd take a pointer in the right direction at this point though. updating stockcharts on a regular interval look horribly choppy right now.

I'm afraid we don't plan on implementing Animate support for Stock chart for precisely the reason - it's a much more complex chart type, which makes updating data every fraction of second not possible. Sorry.

So there is no way for me to get a smooth drawing stock graph, or a way to get auto grouping in a standard serial chart?

No, I'm afraid. Unless you'd like to take a stab at modifying Animate plugin to support Stock.
Sorry.

Ideally, animation for charts and stock charts would not be a plugin; instead, a built-in feature that one can pass as an option in the chart config, where default is "off" if there is a performance hit due to being "on".


Backend: Add custom errors

Details
Current we just throw default error everywhere, but we should create some custom errors.
They could be added in a new file under domain called something like error.ts.
Some options are ProgrammingError and NotFoundError.
Add some custom errors and once merged create a new feature request ticket for replacing existing errors with your new suggestions.

@SleepAPI can you assign this to me?

@SleepAPI can you assign this to me?

Done, I marked is as In Progress in the board. Let me know if you have any questions or want to discuss suggestions.
Both here and on the Discord works fine. Welcome! 👍


Multiple child orders in OCO format

Thanks very much for your work on this.
It's unclear to me how to format a trigger order with two child orders that are bound by OCO.
(Shown as the second-to-last example in https://developer.tdameritrade.com/content/place-order-samples)
In the example, they compose the OCO as two children of an order with a single attribute orderStrategyType.
However, if I submit an instance of *tdameritrade.Order with only the attribute OrderStrategyType: "OCO" and two child orders, the api complains that I am missing attributes on the order.
I tested the example by marshaling a map to json and it did in fact work as expected. I think the fix should just be a matter of using the right type to wrap the two OCO child orders?

Ok, I think the issue is that the session, duration, and orderType fields do not have the omitempty option in the json annotations. Using an Order to wrap child orders for the purposes of linking them is a bit of a special case... Can we either add the omitempty option to those Order fields or create another type to serve this purpose?