Allow passing custom app template to create-app

I would like to be able to iterate on the template that ships with Backstage. To do this, I need to either modify the template in packages/create-app/templates/default-app in place and then run create-app locally so it picks up my modified template (which as you'll see I can't figure out how to do), or run npx @backstage/create-app and pass in a modified template as an option.
To be honest, I have no idea if this works because I can't figure out how to run my modified version of create-app locally.

Here's what I see when I try to run this (this might be a really dumb problem - monorepos confuse me 🤯 )
» cd packages/create-app
» yarn tsc && yarn build
» node dist/index.cjs.js --help
/Users/davidtuite/dev/roadie/backstage/packages/cli-common/src/index.ts:17
export { findPaths } from './paths';
^^^^^^

SyntaxError: Unexpected token 'export'
    at wrapSafe (internal/modules/cjs/loader.js:1054:16)
    at Module._compile (internal/modules/cjs/loader.js:1102:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)

If you've cloned this repo you can run the local version using yarn backstage-create-app inside the repo, or by executing packages/create-app/bin/backstage-create-app from the outside!
Tbh I'm not sure about adding the template-dir option, having a hard time to find a use-case for it. Being able to pass a location of a template on GitHub would be a lot more useful though, so maybe we could do something that is forwards-compatible with that, but just supports local directories for now?

Yeah, you're right, it doesn't make sense.


Server-side clearOnDefault and urlKeys

Context
What's your version of nuqs?
1.20.0
Next.js information (obtained by running next info):
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Mon Sep 30 00:08:37 PDT 2024; root:xnu-11215.40.63~39/RELEASE_ARM64_T6030
  Available memory (MB): 18432
  Available CPU cores: 11
Binaries:
  Node: 22.3.0
  npm: 10.8.1
  Yarn: 1.22.22
  pnpm: 9.11.0
Relevant Packages:
  next: 14.2.15 // Latest available version is detected (14.2.15).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: N/A
Next.js Config:
  output: N/A

Are you using:

✅ The app router
❌ The pages router
❌ The basePath option in your Next.js config
❌ The experimental windowHistorySupport flag in your Next.js config

Description
How can I use clearOnDefault and urlKeys? Or to be more precise, I want to have a one single-source-of-truth, next to, for example, this:
import {
  parseAsFloat,
  createSearchParamsCache
} from 'nuqs/server'

export const coordinatesParsers = {
  lat: parseAsFloat.withDefault(45.18),
  lng: parseAsFloat.withDefault(5.72)
}
// Set `clearOnDefault` and `urlKeys` here somewhere of the configs?

export const coordinatesCache = createSearchParamsCache(coordinatesParsers)

The clearOnDefault can be applied per-parser using parseAsFloat.withOptions, though it won't do anything on the server: it's a URL update options (maybe we should make this more clear in the docs).
Regarding urlKeys, at the moment it's only implemented in useQueryStates (see #672), and I agree that having a single source of truth would be the best way. I'm not sure what kind of API that would look like, open to suggestions and PRs.

I guess I'll export an object at  that file with all of the configs for now. Would see some sort of "global" option or "parser-specific-global" option so that I don't need to pass around the same object over and over.

Great work btw, been sponsoring you!

Thank you for the sponsorship! 🙏

Would see some sort of "global" option

This is coming after V2 lands, in the form of overridable global defaults for options. The adapters (which are a context provider) will forward them to the hooks, so it should look something like:
<NuqsAdapter globalOptions={{ clearOnDefault: false }} >
  {children}
</NuqsAdapter>

Also please note that clearOnDefault will be set to true by default in V2, per user feedback.

Thank you for the sponsorship! 🙏

Would see some sort of "global" option

This is coming after V2 lands, in the form of overridable global defaults for options. The adapters (which are a context provider) will forward them to the hooks, so it should look something like:
<NuqsAdapter globalOptions={{ clearOnDefault: false }} >
  {children}
</NuqsAdapter>

Also please note that clearOnDefault will be set to true by default in V2, per user feedback.

Thank you for the sponsorship! 🙏

Would see some sort of "global" option

This is coming after V2 lands, in the form of overridable global defaults for options. The adapters (which are a context provider) will forward them to the hooks, so it should look something like:
<NuqsAdapter globalOptions={{ clearOnDefault: false }} >
  {children}
</NuqsAdapter>

Also please note that clearOnDefault will be set to true by default in V2, per user feedback.

Thank you for the sponsorship! 🙏

Would see some sort of "global" option

This is coming after V2 lands, in the form of overridable global defaults for options. The adapters (which are a context provider) will forward them to the hooks, so it should look something like:
<NuqsAdapter globalOptions={{ clearOnDefault: false }} >
  {children}
</NuqsAdapter>

Also please note that clearOnDefault will be set to true by default in V2, per user feedback.

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release


HandInteraction Example scene does not run at 60 fps

HandInteraction Example scene does not run at 60 fps

(Ported to GitHub, reference 21395675)
All our example scenes should probably run at 60 fps, to match best practices.

@julenka if you still see this let me know how you're hitting it. Last I tried this, it was running at 60fps.
Would also be helpful to have the platform/settings specified (i.e. HL2? HL1?)


Make Loggable take autoclosure

In summary, this is a very rarely needed performance optimization.
This feature makes Loggable take arguments as @autoclosure. Autoclosure is syntactic sugar for the compiler to convert expressions into a closure before passing them as an argument to the function. In effect, this delays the execution of the logged statement until it is being logged, or for silent verbosity, the expression is never made.
This does not make a big difference for simple logs such as:
logger.log(message: "Hello World!")

However it makes a big difference if a heavy computation is performed in the log, for instance:
logger.log(message: "\(bigArray.map { $0.heavyComputation() } )")
logger.log(message: "All users: \(users.sorted())")

I like it 👍. But i would not remove the old method but instead make that function call this one so we will have booth options.

@lemonandlime I added logText(message:) methods to the logger, but not sure if there is any advantage to this?


Import publishers from sdc.rabbit module, not publisher module

What? and Why?
Import publishers from sdc.rabbit not sdc.rabbit.publisher. This makes the code more resilient to changes in the sdc-rabbit library module names.
Checklist

[x] CHANGELOG.md updated? (if required)

Codecov Report

Merging #45 into master will not change coverage.
The diff coverage is 83.33%.

@@           Coverage Diff           @@
##           master      #45   +/-   ##
=======================================
  Coverage   85.35%   85.35%
=======================================
  Files          10       10
  Lines         635      635
=======================================
  Hits          542      542
  Misses         93       93

Impacted Files
Coverage Δ

app/tests/test_publish_receive.py
94.84% <100%> (ø)
:arrow_up:

app/main.py
64.39% <77.77%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


LWRP only check

addition of lwrp only check, to allow utilizing LWRP functions without full exhibitor install

Hey @paulysullivan, I'm not sure about this change. Can't you just not call the default recipe? I might be missing something :) let me know if I am, thanks!

I am using several mdsol cookbooks (https://github.com/mdsol/marathon_cookbook for example), which utilize your cookbooks LWRP functions for exhibitor auto discovery of zookeeper instances.
The default recipe installs zookeeper and exhibitor, which is not always desired, as there are dedicated systems in my environment which provide this function. In a test situation, where all services are ran locally, this is perfectly fine and good, but doesn't scale once you begin to piece the services out.
Alternatively another suggestion may be a blank or minimal recipe, which allows the LWRP functions to be continued to be used, without manipulating the system.
Thanks :)

So is the wish just to avoid the zookeeper::default call? Because if so we could just add a:
include_recipe 'zookeeper::default' if node[:exhibitor][:install_zookeeper] == true

Or something like this. The early return feels like a funky way to do it IMO. If all you want is access to the LWRPs, you should be able to just depends on this cookbook without including any recipes. I still might be misunderstanding the use-case a bit :)

I was trying to avoid updating several cookbooks which recommend, not require, exhibitor.
I see your point however, as the return can be confusing. I'll pursue that instead or maintain a fork.
Thanks for your time.

Of course! Feel free to reopen if you think we can work something in to help out :)


Add warnings to istioctl validate

Related https://github.com/istio/istio/pull/27778
part of #27179

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
4f298b6692e43893955f0b3312634492a86fe183
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible ptal

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
67b12a664023ef93537185cec170b30b61cf17f8
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Journal alert

I'm not manager of this journal, however I can see setup alert and setup this journal

Its a normal issue, If admin have unfinished new journal setup progress.

i think, related #524

@behramcelen not normal. I'm not a journal admin, so there should not be a setup
@aybarscengaver agreed

@hmert admin setup like a new journal page.


fix: gpt hot use storage interface

What type of PR is this?
/kind bug

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer

"网络错误，错误id：8313810354336041397，请联系客服。"....


How to convert sequence of PNGs

I'd like to convert a sequence of PNG files, showing each for 2 seconds.
I prefer not to export to an mp4 file temporarily, as that'd ruin quality.
How is it possible to do this in gifify in the best possible quality?

I think you will have more chances just using ffmpeg, search for your question on google or stackoverflow.
gifify goal is to turn mp4 into gifs that's it.
thanks!


Update some URLs

Updated the entires of the blogs of which the URLs have changed.
Updated a few entries of which the blog now supports HTTPS.

Thanks a lot!


Weekend

Hello.
Very nice lib. it rocks man!
Just wandering if there is any quick workaround to take the dates of the next weekend (saturday-sunday)
like Date.today()

@kwstasna Thanks! Now, there isn't such a feature.

@kwstasna I added methods to realize your request at https://github.com/naoty/Timepiece/pull/77.
let nextSaturday = Date().changed(weekday: 7)
let nextSunday = 1.week.later.changed(weekday: 1)

This is a very good approach but i meant another thing.
Lets say that today is Thursday 8-12-2016...
and i want to get the dates of this weekend that comes up, which means 10 and 11 - 12 - 2016.

This new method returns the dates of this weekend.

@kwstasna I will close this issue. But if your question is not solved yet, I will reopen this.


Importing Modules

Hi again!
I've been experimenting the current implementation some when I try to import specific modules I get the following error:

Fatal error: 'try!' expression unexpectedly raised an error: Python exception: No module named 'numpy': file PythonKit/Python.swift, line 674
2021-02-28 22:10:32.622406-0500 PythonPlayground[76992:6218680] Fatal error: 'try!' expression unexpectedly raised an error: Python exception: No module named 'numpy': file PythonKit/Python.swift, line 674
(lldb)

This error resulted adding this line below line 41 of the ContentView file (let sys = Python.import("sys"):
let np = Python.import("numpy")
Do I need to need to have the modules pre-installed in a specific location (on my hard drive or in the app bundle) for me to be able to import them, and how would I go about doing that?
Thanks again!

See https://github.com/kewlbear/NumPy-iOS. NumPy is not a pure Python package. You need to compile non-Python sources and link it with your app to use Python part of NumPy.

If a python package uses C extensions, similar steps need to be done. For pandas, they state that it uses C extension here: https://pandas.pydata.org/docs/development/contributing.html#installing-a-c-compiler.


fix: use isolate version of v8::String::Utf8Value (ref #1742)

I think this fixes a slight oversight that prevents it from building against node v12.x but would appreciate review from someone more familiar with nan, v8, etc.

Without this, attempting to build against Node v12.0.0 on Linux leads to the below error:
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:41:75: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>)’
   v8::String::Utf8Value path(Nan::To<v8::String>(info[0]).ToLocalChecked());
                                                                           ^
In file included from /home/user/.node-gyp/12.0.0/include/node/node.h:63:0,
                 from ../node_modules/nan/nan.h:53,
                 from ../src/./serialport.h:6,
                 from ../src/serialport.cpp:1:
/home/user/.node-gyp/12.0.0/include/node/v8.h:2995:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
     ^~~~~~~~~
/home/user/.node-gyp/12.0.0/include/node/v8.h:2995:5: note:   candidate expects 2 arguments, 1 provided

And attempting to build again Node v10.15.3 on Linux leads to the below warning:
../src/serialport.cpp:41:75: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
@serialport/bindings:    v8::String::Utf8Value path(Nan::To<v8::String>(info[0]).ToLocalChecked());
@serialport/bindings:                                                                            ^
@serialport/bindings: In file included from /home/user/.node-gyp/10.15.3/include/node/v8.h:26:0,
@serialport/bindings:                  from /home/user/.node-gyp/10.15.3/include/node/node.h:63,
@serialport/bindings:                  from ../node_modules/nan/nan.h:53,
@serialport/bindings:                  from ../src/./serialport.h:6,
@serialport/bindings:                  from ../src/serialport.cpp:1:
@serialport/bindings: /home/user/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
@serialport/bindings:                    explicit Utf8Value(Local<v8::Value> obj));

I think this fixes #1742

Note: Revised per @fivdi's suggestion. :Pray: This should circumvent the problem on node v6. :crossed_fingers:


Fixed low performace with Watson.TCP on Linux #44

Implemented clientchannel and serverchannel with NetCoreServer package without encription

Have some problems in real project. Not ready for production. So converted to draft

Only part of the message is received in the ReceiveMessage event. This is due to the limitations of the receive/transmit buffer of the NetCoreServer client/server. I need to either increase the size of the buffers or collect the message on the CoreRemoting side.


Update es6.xml

few changes, some additions

Hey just saw this, I'll review it in a bit.

The shorthands I used are more of personal preference and my trying to feel more like vim with snippets with ideavim. I'll take a look at the reference and tune it to that style, would be good if you could point out the obvious things I should take into account- no need to reinvent the wheel, what I'd like to see is that more ppl will contribute, just set the rules and others will follow.
We could build all es6+ frequent/commonly used shorthands and expand those to patterns or whatever. This could grow really quick - I frankly don't understand why there isn't already a live template collection somewhere. I bet if this grows jetbrains would spread the message.
I'd love to have one repo with snippets for all jetbrains ide's- too often I had my 5 min of profanity filled realising that I just (again) deleted my preferences including all of the live templates and key mappings too- since they reside somewhere I always forget to cd into.

@jankun I'm glad to see you're interested. I agree that it's weird that there aren't any other live template repos. My eventual goal with this would be to support es6+ features and maybe some common application patterns.
I already started toying with the idea of a set of ducks live templates. We could just make each of those a different group of live templates housed under this which allows for people to just pick and choose the groups they want to enable.
Perhaps we could start working on a CONTRIBUTING.md. I'd love your help in making this repo even more awesome. I'll address the rest of your feedback in a comment later if that's alright.

Agreed then- drop me a line either here or directly p[at]jankun.org


Create fizzbuzz.wh

Fizzbuzz code using whitespace esolang . Hope u like it

Either github screwed up or the file consists only of new lines, and not actual whitespace characters (space, tab).
Anyway, closing this for now.

ok i'll look after that


Update to py311.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

This is expected to die on rubin-sim.

This would be a good time to bump our compiler versions as well on dev.

@conda-forge-admin, please rerender

rubin-sim is now available for py311.

@conda-forge-admin, please rerender

We don’t want to leave libcxx completely unpinned though. If we want to maintain binary installation compatibility of our eups packages we need to pick one (most recent now) and stick with it.

Interestingly, it was only pinned for [osx] before.  Does the sysroot_linux-64 pin have the same effect for that platform?

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Re: rubin-sim for aarch64, that at least requires openorb for aarch64.  Considering how difficult the osx-arm64 build was, I don't know what that entails... but either the hard work has been done (easy) or another heavy lift.  I guess I can give it a try, and if it works out of the box, great!  But if it doesn't I'm not going to spend any more time on it.

Meanwhile, are we planning to update our numpy pin?

rubin-sim is now available for aarch64.

Superseded by #163.


checking if image is cached

I might be missing something obvious. I'm using PINcache to store my images that is async plugged into a custom cell in a collectionView.
How can I check if an image is cached?
Is there any similar method to SDWebImage where you can check if an image is cached on disk like this:

(BOOL)diskImageExistsForURL:(NSURL *)url;

Daniel Lehmann

@DanielRanLehmann You can obviously just call objectForKey, but that will instantiate the object off disk which if you just want to check if it's available is expensive. Instead, you can access the memoryCache and diskCache directly. objectForKey on the memory cache will determine existence (and isn't expensive). fileURLForKey is the cheapest way to check existence on the disk cache.
I'd be happy to accept a pull request which exposes methods on the memoryCache, diskCache and PINCache to essentially do this all.

Thanks for the quick response :+1: I will look into it right away and make a pull request if it works out..

@garrettmoon I think this can be closed:)

Thanks!


Question with multi-tenants sharing contents

I don't know if it was by design that containerd was sharing all its contents, that is, only one copy of content was saved at containerd dir.
And by this design, users may have been isolated by namespaces who can't see others' containers/contents in view of metadata. however when pulling an image client opened a Writer for writing content, the writer was created ignoring namespace (checkout https://github.com/containerd/containerd/blob/0b0d6e6bdd78f02e33e308eb0bc41561d80fc62e/metadata/content.go#L386), which is where sharing contents.
What worries me is if some user tried to pull a forged image which contains digests as other users's private images, it may lead to a leakage.

@linxiulei , Different namespce share same image contents, but if user B want to pull user A's private image, this is impossible, check this, (I omit my password in the example)
user A pull a image with his password
$ sudo ctr image pull -u xxx:xxx docker.io/zhaoweibademao/private:latest
docker.io/zhaoweibademao/private:latest:                                          resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:68effe31a4ae8312e47f54bec52d1fc925908009ce7e6f734e1b54a4169081c5: done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:04176c8b224aa0eb9942af765f66dae866f436e75acef028fe44b8a98e045515:    done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:00f017a8c2a6e1fe2ffd05c281f27d069d2a99323a8cd514dd35f228ba26d2ff:   done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 9.1 s                                                                    total:  686.6  (75.5 KiB/s)
unpacking linux/amd64 sha256:68effe31a4ae8312e47f54bec52d1fc925908009ce7e6f734e1b54a4169081c5...

user B want to pull user A 'private image
$ sudo ctr  --namespace new image pull  docker.io/zhaoweibademao/private:latest
docker.io/zhaoweibademao/private:latest: resolving      |--------------------------------------|
elapsed: 3.3 s                           total:   0.0 B (0.0 B/s)
ctr: failed to resolve reference "docker.io/zhaoweibademao/private:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

user B can not get image since he need the user:password, this only keep by user A. The image security provided by the registry's authority， but not containerd

@Ace-Tang thanks for replying.
I wasn't talking about private images, but contents within images. For example, in your scenario, user B was trying to pull a self-made forged/fake image from his private registry, which contains digests of contents/layers as user A's private image. And that would lead to contents leakage.
It maybe an untrusted registry issue, however IMHO it'd be better if containerd could do something to restrict that.
Cheers

Sorry for misunderstand your question. If you can describe more information about your user case, and how your fake your image(I know nothing about forged image), it will be more helpful.
/cc @dmcgowan

@dmcgowan Great answer, thanks. I'd love to try to implement it if the community thinks it's a practical use case. I believe this is a required feature for multi-tenants in cloud environment.

ping @linxiulei . could you mind to share how to make a manifest which contains the other user's private image's sha256 digest number? Thanks. 😄

@fuweid I hadn't dug in setting up registry yet, so it was a technical thought

With a fake registry wrote in golang (a few hundreds of lines), I have implemented a way to steal any layer existed in the same host by just knowing its sha256.
Since it's related with security, I guess I'd better not share the method until the issue was fixed


Document minimum versions for CMake and Boost

Since we are using imported targets with Boost, we need to be careful to maintain compatibility (https://stackoverflow.com/questions/42123509/cmake-finds-boost-but-the-imported-targets-not-available-for-boost-version). In particular, there needs to be some kind of discussion in the installation instructions.

Should probably be addressed in #140.

Decided not to mention this in installation instructions, but keep an eye on this.


ps3netsrv make the ROMS path configurable (and probably make it general)

ps3netsrv make the ROMS path configurable (and probably make it general)
Hello to everyone
I open this issue to ask to make the rom paths for the ps3netsrv configurable, the reasoning for this is that I installed retronas in a VM inside of TrueNAS Scale and configure a bridge NIC so the VM can talk to the host via a SMB Share (probably NFS Share is better but couldn't make it work).
Looking in the retronas config program, did not find anywhere to changes the paths of the roms for the ps3netsrv, but, looking how the final result of the config I did see that the folders are symbolic links to the roms folder of the retronas, like this example

What I did to make it work as I need it is to delete the old PS3ISO symbolic link and create a new one pointing the isos folders inside the SMB Share (which is a dataset) that contains my PS3 backups of my games like this

So again what I am asking is to make this process configurable so we can point to another isos or games folder.
Hope this find you well and have a good day

Thank you for the suggestion, we prefer feature requests through Discussions, however i shall answer here.
To keep things simple for the end user and the project we maintain a standard base deploy, your use case is well outside the standard and would add additional complexity we'd need to manage so we wont be adding this customisation functionality at this time.
That said we recently added the ability for more advanced users to write and run their own "modules" (ansible playbook) from the Tools menu exactly for these corner cases.
Please have a look here https://github.com/retronas/retronas/wiki/Local-Module

Thanks in advance for the answer, sorry for not doing the corret way by opening a issue, will check the wiki about the local module


Fail to deallocate consumed nodes

Nodes aren't hitting their memory reclamation operations

Fixed AFAIK from the operation changes


[HOPSWORKS-286] Refactoring @AllowedRoles

I had a look at this, and I thought - what's the point. It now hard-codes DataScientist to be a subset of DataOwner (which is currently true).
However, in future, part of our value add will be adding new custom roles to different users. Now, that will be less obvious from a code perspective how to do that. You could even have a "Auditor" role that will not be a subset of DataOwner - who could maybe 'validate' a project (we had this role in the BiobankCloud project).

I just saw the JIRA - should have read it first.
I agree that there can be confusion in using using the same RolesAllowed annotation for platform-level roles (HOPS_USER and HOPS_ADMIN) and project-level roles (DATA_OWNER, DATA_SCIENTIST). We should clarify it in the develop docs - hopsworks @tkakantousis .

OK Fine, if there will be other roles that do not fit the permission level scheme, this change is bad. I'll resubmit with just a naming change of AllowedRoles to ProjectRoles or something like that.


Added a deprecation warning when using BUILD_WITH_GEO_LIBRARIES

Added a deprecation warning informing users that the BUILD_WITH_GEO_LIBRARIES feature and associated Geo libraries are being deprecated and will be removed from the buildpack in the future.

Rebased and superceded by #895 🎉


not working in php

Hi,
The package (1.9.0) doesn't seem to work in php.
I use it like this:
// <editor-fold>
// </editor-fold>

and nothing happens. But if i use it like this:
/* <editor-fold>
</editor-fold> */

the last tag highlights but the first one doesn't.

I've managed it to work: it has to be used like this:
/*
<editor-fold>
*/

/*
</editor-fold>
*/

But it would be nice if you could use the first method i described:
// <editor-fold>
// </editor-fold>


Updates / suggestions via sister-feedstock for McXtrace

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Updates / suggestions given via the similar mcxtrace-feedstock (1st step of making them as similar as possible).

@conda-forge-admin, please rerender


Added support for AVRO encoding/decoding

@davorrunje is this change available in faststream or just in fastkafka? It looks like it's for faststream but when I look at the changed files it looks like fastkafka... I cannot find any avro support on faststream main branch as well

@passuied custom decoders/encoders are supported in FastStream as explained here: https://faststream.airt.ai/0.2/getting-started/serialization/
Let me know if this is clear. If not, I'll write an Avro example in the docs.

@passuied we create an issue for adding an example to docs, should be finished this week https://github.com/airtai/faststream/issues/843

@davorrunje is this change available in faststream or just in fastkafka? It looks like it's for faststream but when I look at the changed files it looks like fastkafka... I cannot find any avro support on faststream main branch as well

@passuied we added an Avro example in docs: https://faststream.airt.ai/0.2/getting-started/serialization/examples/#avro

Thanks. Any plans to support schema registry?

@passuied Not yet, but please create an issue for any feature you are interested in and it will get prioritized as a community request. We implement features largely based on feedback we get.

@passuied  #964 issue addresses the schema registry


Crashes in Gaming Mode on SteamOS, Reboots Device (EmuDeck)

When attempting to launch ES in Gaming Mode on SteamOS, before ES' progress bar completes on launch the device crashes and goes though an OS verification before relaunching.
This doesn't occur in Desktop Mode, only Gaming Mode. I have attempted several times to reinstall via EmuDeck with no success of resolving the scenario.
Any ideas as to why this would be happening sorry?

I am having a similar issue. I am not getting the Deck crash itself, but ES-DE launches, shows the ROM search progress bar, and immediately crashes. This happened after I performed the updates via EmuDeck earlier today. I have not tested it in Desktop Mode.


add tz to inputs and make localized timestamps

since pvlib-0.3.0 naive times no longer work

seems like this is still an issue. TZ is in the data for PVPower demo, but never used except in the test


TypeError: Cannot read properties of undefined (reading '0')

Describe the bug
I am getting JS error in danfo js for a specific scenario - TypeError: Cannot read properties of undefined (reading '0').
The stack trace is as below.
TypeError: Cannot read properties of undefined (reading '0')
    at _iloc (https://tksp5f.csb.app/node_modules/danfojs/dist/danfojs-base/core/indexing.js:150:56)

    at DataFrame.query (https://tksp5f.csb.app/node_modules/danfojs/dist/danfojs-base/core/frame.js:2295:43)

To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/sleepy-mcclintock-tksp5f?file=/src/index.js
The sample code in that url will run automatically.
Check browser console.
You will notice the above JS error.

Expected behavior
There should be no JS error.
Additional context
Using version 1.1.1 of Danfo JS.

I think danfojs has some tight integration of index values while querying. Please try to resent the index, it might solve the issue.
df1.resetIndex({ inplace: true })


Implement scale bar for Map

Resolves #1362
Change-Id: I8824cde5d7481a6349e7604dd97a372b67abc7dc

Note that I bumped MAP_COMPONENT_VERSION but not YA_VERSION. When we go to merge this change, merge ucr (if any changes) into my branch, and bump YA_VERSION at that point, then squash and merge.

Is it worth making the scale unit (km, miles, feet, whatever) customizable by the user?

@SusanRatiLane Most likely, and I have done so.


Custom primitives

Resolves #18 and is a prerequisite for #19 but does not handle nullables nicely yet. Still, has significant enough changes that it's a starting point to build on (mainly that it uses the schema to resolve argument types instead of a static context).

Looks great! Thanks for the hard work.
This opens up a few questions around how to handle CLR primitives vs. the defined GraphQL scalars. I've opened issue #29 to discuss this.


New user added to guestbook.md

From "The Unix Workbench" course provided by Coursera

Thank you!


Optimizing DeepAR for large sets of sparse time series?

Hello all,
I am trying to forecast a large amount of retail sales data, most of which is fairly intermittent. For non-sparse series, it seems DeepAR beats standard ARIMA/ETS methods. However, when I push the entire set of time series (1+ million), including the sparse series, DeepAR does a bad job, particularly further down the horizon.
My time series all begin from the first sale of a given item, and all subsequent are populated (0's for no sales), all the way up until the forecast date. That is, if an item sold two years ago but stopped selling, their forecast should be zero. If they are still on sale, then the forecast should forecast actual units. I am using some static categorical features defining what stores these items belong to, as well as other attributes.
What I see now are the results below. This is the code I'm using:
estimator = DeepAREstimator(
                            prediction_length = 21,
                            context_length = 21,
                            freq = 'W',
                            scaling=True,
                            embedding_dimension=5,
                            use_feat_static_cat = True,
                            cardinality = [len(i) for i in cat],
                            trainer=Trainer(ctx="gpu",
                                            epochs=200,
                                            num_batches_per_epoch=32),
                            )

predictor = estimator.train(train_ds)

forecast_it, ts_it = make_evaluation_predictions(
                                                    dataset=test_ds,
                                                    predictor=predictor,
                                                    num_eval_samples=100
                                                )

forecast = list(forecast_it)
ts = list(ts_it)

Here is a snippet of what train_ds looks like:

Here is a snippet of the first three time series in test_ds. The key point here is that some of these series are almost all 0s/very intermittent (though entirely 0-series are filtered out), and very wide-ranging on their seasonal patterns as well as scaling. Unfortunately I can't provide the full dataset, but hopefully the gist is clear. In the original DeepAR paper it seems like this forecasting task is a perfect use-case over alternative ARIMA, ETS, or mixed models:

And the forecast of the first three test_ds series:
Series 1:

Series 2:

Series 3

A couple more examples:

From a theoretical perspective, I'm trying to figure out why:

As the prediction horizon goes further out, the forecasted number of units decrease greatly.
The mean forecast is extraordinarily low compared to the training data.
The spike/intermittency isn't reflected in the forecasted values.

Any thoughts on how I can help improve the forecast?
(as a side note, I also used the latest master branch and attempted to run the same data through DeepFactor without any improvement)

A couple of thoughts:

It seems like you have positive count data, but you are using a continuous distribution. You could try using the negative binomial distribution, which is ideal for count data.
Whether or not to remove trailing zeros or not, depends on the use case and how the data is collected. If the items are not being sold because people cannot buy them it probably makes sense to remove them. If people could buy them but don't and you want to predict that, then these are genuine 0s.

* It seems like you have positive count data, but you are using a continuous distribution. You could try using the negative binomial distribution, which is ideal for count data.

Thank you - right now I'm using the default StudentT and will attempt to use the negative binomial.

* Whether or not to remove trailing zeros or not, depends on the use case and how the data is collected. If the items are not being sold because people cannot buy them it probably makes sense to remove them. If people could buy them but don't and you want to predict that, then these are genuine 0s.

Most in this in this case would be genuine 0's - they are available, but not purchased frequently.

Whether or not to remove trailing zeros or not, depends on the use case and how the data is collected. If the items are not being sold because people cannot buy them it probably makes sense to remove them. If people could buy them but don't and you want to predict that, then these are genuine 0s.

I'm also having issues with skewed predictions however I was wondering if you what you said also applies in the case where there's an attribute "isOpen", in this case, should days with where there are 0 sales where "isOpen = 0"  still be changed to NaN?
The figure shows how the predictions are skewed down:


CASMINST-6714 1.6 : Run certifi goss test on storage nodes.

Summary and Scope
Added the certifi test to the health check for storage nodes.
Found this was missing when troubleshooting upgrade issues on slice (a dev system)
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CASMINST-6714
Change will also be needed in <insert branch name here>
Future work required by [issue id](issue link)
Documentation changes required in [issue id](issue link)
Merge with/before/after <insert PR URL here>

Testing
List the environments in which these changes were tested.
Tested on:

slice

Test description:
Added the test to the ncn-healthcheck-master and verified
ncn-s001:~ #  GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/suites/ncn-healthcheck-storage.yaml --vars=/opt/cray/tests/install/ncn/vars/variables-ncn.yaml validate
..............................

Total Duration: 2.277s
Count: 30, Failed: 0, Skipped: 0

ncn-s001:~ # GOSS_BASE=/opt/cray/tests/install/ncn goss -g /opt/cray/tests/install/ncn/tests/goss-validate-certifi-version.yaml validate
..

Total Duration: 0.498s
Count: 2, Failed: 0, Skipped: 0

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?
Were new tests (or test issues/Jiras) created for this change?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[x] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

/backport release/1.5


Unable to parse SSAFile from string with empty layer

Description
When trying to parse an SSAFile from string using pysubs2.SSAFile.from_string(text) where the content of the Events of Layer is an empty string that represents a single layer, mostly likely 0, we can't parse to int.
substation.py line 203.
elif f in {"borderstyle", "encoding", "marginl", "marginr", "marginv", "layer", "alphalevel"}:
    return int(v)

[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: ,0:00:22.98,0:00:24.85,Default,,0,0,0,,DELICIOUS IN DUNGEON
Dialogue: ,0:01:41.30,0:01:42.76,Default,,0,0,0,,Really, though.
Dialogue: ,0:01:43.35,0:01:46.56,Default,,0,0,0,,There's nothing more horrifying\Nthan black magic.
Dialogue: ,0:01:47.23,0:01:50.11,Default,,0,0,0,,Was bringing this person back\Nworth going down that path?

Fixed in version 1.7.0.


Enhance status check label for promotions

This PR introduces a change for labels applied to status checks related to promotions, actually a generic one is used.

hi @bradrydzewski, we would like to use this change asap, could you drop a review? :pray:

I had a look at the change, and this seems to be additive so it shouldnt affect any existing functionality.  I will defer to Brad, as i have not looked at the lifecycle of statuses in depth

hi @tphoney, any feedback from @bradrydzewski? 🙏

@tphoney @bradrydzewski bump

The deploy value is freeform and may contain special characters, spaces, etc.  Do we know that all providers (github, gitlab, gitea, bitbucket, stash, azure) support freeform text and no character restrictions?  If yes, then we are good to merge.  If no, I would recommend taking the slug value (using the existing slug library that we already import).
import (
	"fmt"

	"github.com/drone/drone/core"
	"github.com/drone/go-scm/scm"

+	github.com/gosimple/slug
)

	case core.EventPromote:
-		return fmt.Sprintf("%s/promote/%s", name, deployTo)
+		return fmt.Sprintf("%s/promote/%s", name, slug.Make(deployTo))

The deploy value is freeform and may contain special characters, spaces, etc. @tphoney do we know that all providers (github, gitlab, gitea, bitbucket, stash, azure) support freeform text and no character restrictions? If yes, then we are good to merge. If no, I would recommend taking the slug value (using the existing slug library that we already import).

hey @bradrydzewski, I think your suggestion is reasonable even if may there are no special character, better safe than sorry :smile:

Any update on this?


Add Video Transcoding version number to video metadata

As @khaosx mentions in this comment it is possible to add the Video Transcoding version number to the metadata of a video. I would find this a useful addition to Video Transcoding as my current method for keeping track of which videos were encoded with which version is ... not good.
If I am honest, I would love to have all the Video Transcoding arguments that I used, stored in the video metadata, but just the version number would be a huge improvement on where I am now.

@martinpickett I keep all my .log files around and my videos organized by versioned folder name so it's easy for me discern the origin. But 1) I'm a crazed anal-retentive and 2) I can see how that might not work for everybody else. :)
So I will consider this request!
Even though it's really @khaosx making my life more complicated again. :)
I would love to get some feedback on this, too. Plus, I need to find out if embedding the version in MP4 output is possible using mp4track.
Also, I'm inclined to make this behavior an option rather than the default. Not sure what to call it, though. And if we did make this the default behavior then we need a way to disable it with an option. So we'll need to come up with a name anyway.

I like to keep you on your toes, @donmelton.
@martinpickett I really wish that we could add a comment with mkvpropedit. I tried this morning and that's a non-starter, at least as far as I can tell. You might be able to add an attachment or a selector modification, but you'd have to gen an XML file first.

I am not great at this sort of stuff, but --store-version is the first thing that came into my head for an argument name.
I confess that storing the log files in the manner you described is quite a nifty solution, and one I am annoyed I did not think of myself.
@khaosx, I am way out of my depth here. I have never used mkvpropedit and have no idea what a "selector modification" is, so I am not sure how much help I can be.

@martinpickett @khaosx OK, after much experimentation with mkvpropedit I have to agree with Kristopher that there's no way to add a simple top-level property on a file. :(
I can certainly replace the writing-application property but that contains the HandBrake version so I don't think that's right approach.
And an attachment is unwieldy since you would have to extract it to determine the version. Plus, there would be no way do this for MP4 files.
So adding appropriate metadata to the video file is not really possible. Sorry about that. :(
As for .log files, I don't want to modify them since they only contain output from HandBrakeCLI itself and my tools, other tools and even the HandBrake development team when bugs are submitted want them to be pristine.
Again, sorry about that. :(

@martinpickett

An alternative solution to my real problem (keeping track of what video files were encoded with which version of Video Transcoding) would be to include the Video Transcoding version number in the log file.

Take that thought a step further and you've got a roll your own solution that I think we can help with. Make yourself a text file with the version of the gem that you're using, and make some notes about what settings you're using. Then you can install mkvpropedit (which, if I recall, should already be installed as part of the tools that are pre-reqs for Don's tool).
At that point, you only need to execute the following:
mkvpropedit "FILENAME" --edit info --set "muxing-application=vtp_0.25"
As long as it matches the version you notate in the text file, you've got a record of what settings you were using (in general) when that version was active. I can help you walk your way through this if need be.

@khaosx, I am way out of my depth here. I have never used mkvpropedit and have no idea what a "selector modification" is, so I am not sure how much help I can be.

We're all swimming in the deep end here. The good news is that everyone here brings different flippers to the pool!

@khaosx D'oh! Yeah, you can definitely repurpose the muxing-application property with that. It's not what they intended, but what the heck. :)
@martinpickett But, in the end, it doesn't matter which version of transcode-video you used. Because the important information is your version of HandBrakeCLI. And what encoding parameters were passed to it. This is because transcode-video is just a wrapper.
The good news is that all of this information is available with MediaInfo, the "Writing application" and the "Encoding settings".

I have done some playing around and succeeded in editing the mixing-application property as per @khaosx instructions.
Most of the time I use a wrapper script on top of Video Transcoding, so I am re-writing this wrapper script to include saving the Video Transcoding version number.
@donmelton I am content with modifying my wrapper script, plus the lack of comments from other users of Video Transcoding suggests that this is a niche feature, so please feel free to close this issue. Thank you and @khaosx for the quick and thoughtful responses to my query and for producing such a wonderful tool in the first place.

@martinpickett You're welcome, and well done! You're a step ahead of me, as I haven't finished putting that change into my script.

@martinpickett I'm glad @khaosx was there to help when my brain was stuck in neutral. :) Seriously, Kris, thanks again!
I'll close this issue now, Martin, but I have enjoyed our conversation here! If you would like to join myself, Kris and other contributors and commenters, I'd be happy to invite you to our Slack workspace for Video Transcoding. Just send me your email address and I can send you back an invite from Slack. The best way to do that is via my email and you can "deduce" my address on this page: https://donmelton.com/contact/
Thanks again!


Unrecoverable parser error while parsing (valid) XML

Hi,
I encountered an error when attempting to parse this XML file: https://github.com/mickdekkers/xrust-parse-issue-repro/blob/main/data/content.xml
As far as I can tell, the file is valid XML. I'm currently migrating my project over to the xrust crate for the XPath features (thanks, by the way!). In my project, I previously used xot and roxmltree before this, so I can confirm those crates do parse this XML file without issue. The online XML validators I found also confirm the file is valid.
I prepared a repo with a minimal reproducible example: https://github.com/mickdekkers/xrust-parse-issue-repro
The error occurs with the code on main as well as dev. The repro points to dev.
Would appreciate it if you could take a look! 😄
Thanks!

Hmm, strange... it doesn't seem to be the specific XML file that's the issue here. If I replace the XML file contents in the repro with that of https://github.com/ballsteve/xrust/blob/main/examples/issue-30.xml, I still get the error.
At first glance, my repro code doesn't look meaningfully different from the relevant part of the example code either, so I'm a bit lost 😅  https://github.com/ballsteve/xrust/blob/313aafd523b1f9fbfdfc4b961e6d7fe6b61c5db3/examples/issue-30.rs#L64-L66

Hi @mickdekkers ,
Thank you for the bug report! I'm looking into this now.

Hi Mick,
I'll take a look at the problem, and will also tag Daniel Murphy on it too.
Cheers, Steve

The parser is tripping on a byte order mark in the file before the XML declaration.
I'll get a fix in for this in the next release.


[RFE] Listing multiple IngressClasses

Is your feature request related to a problem? Please describe.
A user can not list multiple ingress classes created & available in the cluster.
Rancher: v2.7.9
Downstream Cluster: RKE2, k8s v1.26.7*rke2r1
Role: Project Member
Describe the solution you'd like
Would be very helpful for tenants / end-users of the Rancher to list multiple ingress classes.
Configured and assigned Global Role does not provide the desirable result.
Local Cluster: RKE1, k8s v1.26.4

Result:

# kubectl get ingressclasses
Error from server (Forbidden): ingressclasses.networking.k8s.io is forbidden: User "u-mzdjfpb6t4" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope

Additional context
The user with the same role assigned 'Project Member' can see / list all available storage classes in Rancher UI / CLI.
Thank you very much in advance.

Actually it is possible to grant the cluster role in downstream cluster(s).
Just it would be nice to have this role pre-built or the possibility to create such a custom global role.


Missing fields in CRD KeycloakClient / keycloakclients.v1.edp.epam.com/v1

Is your feature request related to a problem? Please describe.
Hello,
First off, thank you for your amazing work on this Operator.
We are currently evaluating the usage of the EDP Keycloak Operator in our GitOps workflows. For this, we are examining the CRDs and try to migrate our existing realm.json export to separate K8S manifests.
For the most part, this seems doable, but our front-end login is not compatible with the options the EDP Keycloak Operator currently offers. We need to explicitly set the WebOrigins and implicitFlowEnabled fields.
Describe the solution you'd like
We'd like to have the option to specify more fields in the KeycloakClient spec.
Describe alternatives you've considered
We could not export this client and keep it in the existing realm.json.
Additional context
We've already forked this repository and started working on defining and binding the missing fields. This can be done in a backwards compatible manner, since the WebOrigins was already set with the existing WebUrl field. The implicitFlowEnabled can be defaulted to false.
We've been struggling a bit with getting the tests to work, so I'll open up a PR where I'll gladly take up your advice how to test it properly

Hi @fndejong, thank you for your feedback.
Currently, we are working on similar issues https://github.com/epam/edp-keycloak-operator/issues/24.
We plan to provide all missing fields to the KeycloakClient CRD in the next version.

@fndejong Yes, you can close PR. Good advice, I will add a comment to #24.


Failure to preprocess Coq.ZArith.BinInt

The following:
From Coq Require Import ZArith.BinInt.

Scheme Induction for Coq.Classes.CRelationClasses.StrictOrder Sort Prop.
Scheme Induction for Coq.Classes.CRelationClasses.StrictOrder Sort Set.
Scheme Induction for Coq.Classes.CRelationClasses.StrictOrder Sort Type.

The code in CRelationClasses is universe-polymorphic, which does not seem to be supported, so this might be a cause for the trouble. Not sure how to work around this.

Oh yeah, basically zero plugins support universe polymorphism :/

But I'm not sure if that's the particular issue here. I'll take a look.

When you run this the first time, what definition does it say that it is working on before you hit this error?

When I run the Preprocess command on existing Coq modules, the Transforming <term> messages don't seem to be emitted.
e.g.
Preprocess Module Coq.Init.Datatypes as Datatypes'.

I do see the output for those, which is why I find it confusing. In CoqIDE they show up. Can you try running it via coqc on command line?

Though it does not print it for dependencies it pulls in, which is a bug I need to fix

[...]
Transforming identity
Transforming identity_rect
Transforming identity_ind
Transforming identity_rec
Transforming ID
Transforming id
Transforming IDProp
Transforming idProp
[error here]

I pushed better reporting that prints when it transforming dependencies, too. The last message before the error is:
Transforming dependency Coq.Classes.RelationClasses.StrictOrder_Transitive
I will look into why this fails and whether we need to work around it or fix it in the plugin.

Full function definition is:
RelationClasses.StrictOrder_Transitive =
fun (A : Type) (R : Relation_Definitions.relation A)
  (StrictOrder : @RelationClasses.StrictOrder A R) =>
match StrictOrder return (@RelationClasses.Transitive A R) with
| RelationClasses.Build_StrictOrder _ _ StrictOrder_Transitive =>
    StrictOrder_Transitive
end

For now, you can run it with the following opaque definitions (of course this can cause problems if you want to lift them in DEVOID later, and may mean that you need to make things that depend on them opaque later too):
Preprocess Module Coq.ZArith.BinInt as BinInt'
  { opaque
      Coq.Classes.RelationClasses.StrictOrder_Transitive
      Coq.Classes.RelationClasses.StrictOrder_Irreflexive
      Coq.Classes.RelationClasses.Equivalence_Transitive
      Coq.Classes.RelationClasses.Equivalence_Reflexive
      Coq.Classes.RelationClasses.Equivalence_Symmetric
      Coq.Classes.RelationClasses.PER_Symmetric
      Coq.Classes.RelationClasses.PER_Transitive
      Coq.PArith.BinPos.Pos.add_reg_r
      Coq.PArith.BinPos.Pos.add_no_neutral
      Coq.PArith.BinPos.Pos.compare_sub_mask
      Coq.PArith.BinPos.Pos.sub_mask_carry_spec
      Coq.PArith.BinPos.Pos.sub_mask_carry
      Coq.PArith.BinPos.Pos.add_carry
      Coq.PArith.BinPos.Pos.sub_mask
      Coq.PArith.BinPos.Pos.peano_rect
      Coq.PArith.BinPos.Pos.add
  }.

I will look at the particular definitions and try to figure out why this is happening. Some of them are mutual recursion, but some of them like StrictOrder_Transitive I just don't know.

Ah, the root cause seems to be that Scheme induction defines induction principles that look different from the ones that Coq defines for inductive types in Prop more generally. So when you generate induction schema for Prop, you should write:
Scheme Minimality for Coq.Classes.RelationClasses.StrictOrder Sort Prop.

The following thus works:
From Coq Require Import ZArith.BinInt.

Scheme Minimality for Coq.Classes.RelationClasses.StrictOrder Sort Prop.
Scheme Induction for Coq.Classes.RelationClasses.StrictOrder Sort Set.
Scheme Induction for Coq.Classes.RelationClasses.StrictOrder Sort Type.

Scheme Minimality for Coq.Classes.RelationClasses.Equivalence Sort Prop.

Scheme Minimality for Coq.Classes.RelationClasses.PER Sort Prop.

Preprocess Module Coq.ZArith.BinInt as BinInt'
  { opaque
      Coq.PArith.BinPos.Pos.add_reg_r
      Coq.PArith.BinPos.Pos.add_no_neutral
      Coq.PArith.BinPos.Pos.compare_sub_mask
      Coq.PArith.BinPos.Pos.sub_mask_carry_spec
      Coq.PArith.BinPos.Pos.sub_mask_carry
      Coq.PArith.BinPos.Pos.add_carry
      Coq.PArith.BinPos.Pos.sub_mask
      Coq.PArith.BinPos.Pos.peano_rect
      Coq.PArith.BinPos.Pos.add
  }.

The rest appear to be mutual induction.
I unfortunately don't know how to provide good error messaging for this.

Updated the README and added much better error messaging for all of these situations.


Update sbt-tpolecat to 0.1.18

Updates io.github.davidgregory084:sbt-tpolecat from 0.1.16 to 0.1.18.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.davidgregory084", artifactId = "sbt-tpolecat" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #262.


[Butterfly Aspect] new skill, rep control fix

Changes / Comments

add ressource into repcontainer
fix button.repcontrol_move & button.repcontrol_del

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?

Character Sheet Info Roll20 Internal Use only.

Character Sheet Info Roll20 Internal Use only.


chore(main): release sandworm-utils 1.12.1

:robot: I have created a release beep boop
1.12.1 (2023-01-27)
Bug Fixes

json license data parsing (9a9779e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sandworm-hq/sandworm-utils/releases/tag/sandworm-utils-v1.12.1 :sunflower:


Add typing practice game

🎮 Game Request
Adding typing practice game will help users to know their typing speed
Point down the features
Game points
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @khushi1711 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @khushi1711! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .

Hey @khushi1711 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Upgrade ruamel.yaml

Description:
Changelog
Example entry for configuration.yaml (if applicable):
frontend:

Sample code from https://www.home-assistant.io/lovelace/
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

This branch looks weird


Don't run getTarget if PRL has no defensive structures

Currently if there are rampart levels defined the system will attempt to find a target, even if those rampart levels are all set to zero. Since there are no valid targets at that point it means there is nothing to cache so the function gets called every tick the program runs, forcing the program to process the relevant rampart maps.
This PR adds a check for that specific case, where the levels are defined but all set to zero, and stops the program before it goes into target selections.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

dragoonreas
✔

TheRealMaxion
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


[Bug]: Can't connect to Bitcoin Core RPC with default empty credentials

Impacted Library name
ledger-live
Impacted Library version
No response
Describe the bug
Default Bitcoin Core bitcoin.conf file contains only one line and wallets like https://github.com/sparrowwallet/sparrow
use empty credentials by default to connect to it:

Expected behavior
Request: To allow empty credential to be entered in order to connect to core.

Additional context
CC https://github.com/LedgerHQ/ledger-live-desktop/issues/4173

@keith-gardner this is just to generate the satstack config file. Have you tried launching satstack without cred? Does it work?


Adopt a Lightning-Flash Style API for Frameworks

The current instantiation of Frameworks is terrible, requiring a two callables. One that returns a new optimizer instance and one that returns a new model instance. This is not good for tracking hyper-parameters and overall usability.
Instead opt for a Lightning-Flash style API:
# from: https://github.com/PyTorchLightning/lightning-flash/blob/master/flash/image/classification/model.py
def __init__(
    self,
    ...
    backbone: Union[str, Tuple[nn.Module, int]] = "resnet18",
    backbone_kwargs: Optional[Dict] = None,
    ...
    optimizer: Union[Type[torch.optim.Optimizer], torch.optim.Optimizer] = torch.optim.Adam,
    optimizer_kwargs: Optional[Dict[str, Any]] = None,
    scheduler: Optional[Union[Type[_LRScheduler], str, _LRScheduler]] = None,
    scheduler_kwargs: Optional[Dict[str, Any]] = None,
    ...
    learning_rate: float = 1e-3,
    ...
):

This has mostly been implemented in new development versions.

optimizer can be specified using a string (corresponding to a registered optimiser in the new disent.registry) or optimiser class
optimizer_kwargs can be passed in too being a dictionary of kwargs -- by default lr is always added and set to 1e-3


Utilize Nginx in place of Apache in the default LAMP stack for Nextcloud Installation

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7

https://www.nginx.com/blog/free-certificates-lets-encrypt-and-nginx/

Implemented in #16


Power up search functionality

Closes #111
Closes #112
Closes #113
Closes #133
Closes #96
Description
Using itemsjs to improve search function with full text search, aggregation for filter, and sort function
Current Tasks

[ ] #111
[ ] #112
[ ] #113
[ ] #133
[ ] #96
[ ] Need to decide rule for data cleanup before applying it

@zainfathoni
since the url for contact is based on order on search result, there's no fixed url for each contact (the problem also exists in current solution)
which one do you think will be better strategy for contact slug:

add idx for contact data
generate slug from penyedia name: will better for SEO, constraint: some contacts have empty value on it

We can generate the slugs from penyedia field, if penyedia is empty, we can use keterangan field as a fallback value.
Usually one of them is guaranteed to be filled in.
To be safer, if both values don't exist, we can always use the index value as the default fallback value for the last resort. 😅


[BUG] Caches in BaseDataCache#RULE_MAP will not be removed when delete rule

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When i delete a rule which belong to a selector，the local cache in a currentMap(BaseDataCache#RULE_MAP) will not be removed. This may affect the matching of rules when use the same condition as the deleted rules, it will chose the wrong config. And it also consume memory. And i found when update the rule at NacosCacheHandler#updatePluginMap or in other handler, it will only unSubscribe and onSubscribe the current rules, the deleted rules will not be handled.
protected void updateRuleMap(final String configInfo) {
        try {
            List<RuleData> ruleDataList = GsonUtils.getInstance().toObjectMapList(configInfo, RuleData.class).values()
                    .stream().flatMap(Collection::stream)
                    .collect(Collectors.toList());
            ruleDataList.forEach(ruleData -> Optional.ofNullable(pluginDataSubscriber).ifPresent(subscriber -> {
                subscriber.unRuleSubscribe(ruleData);
                subscriber.onRuleSubscribe(ruleData);
            }));
        } catch (JsonParseException e) {
            LOG.error("sync rule data have error:", e);
        }
}

Expected Behavior
the local cache will be removed when delete the rule.
Steps To Reproduce

create a new selector and add two rule in divide plugin.

do invoke and debug at AbstractShenyuPlugin.

Now, there are two cache records for this selector

delete one rule.

do invoke and debug again.

The cache of the rule named intfc2 has not be removed.

Environment
ShenYu version(s):2.5.0,master

Debug logs
No response
Anything else?
No response

you means org.apache.shenyu.admin.listener.AbstractListDataChangedListener?


Cannot find -lOpenNI2Orbbec

When I did "catkin_make --pkg astra_camera", there was a error that "/usr/bin/ld: cannot find -lOpenNI2Orbbec". Could you please let me know how to fix it?
Thank you very much!

Have you fixed it?

@jeffhuys
Actually, I have closed this question since I found here was not the right place. When I used the code under this repository, no error. The only problem I currently have is that I cannot receive any rgb image data published by the camera. I don't know why!
The error, mentioned in the question, happened when I used another package,


Command bar customization documentation

Category

[x] Content fix
[ ] New article

Related issues
New functionality
What's in this Pull Request?
commandBarProps documentation

Docs Build status updates of commit 8d905ea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/declarative-customization/view-board-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-calendar-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-commandbar-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-gallery-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-list-formatting.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 169f812:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/declarative-customization/view-board-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-calendar-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-commandbar-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-gallery-formatting.md
:white_check_mark:Succeeded
View

docs/declarative-customization/view-list-formatting.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


markdown: Process fenced code blocks in blockquotes.

We handle fenced code blocks in a preprocessor, and > style blockquotes
are parsed in a blockprocessor. Pymarkdown doesn't run the preprocessors
again on any blocks that it is parsing, and is unlikely to accept our
solution upstream; they intend to convert fenced_code to a block parser.
We simply run all the preprocessors on the text again, with the exteption
of NormalizeWhitespace which removed delimiters used by HtmlStash to mark
preprocessed html code. To counter this, we subclass NormalizeWhitespace
and use our customized version for when it is called from a blockparser.
Upstream issue: https://github.com/Python-Markdown/markdown/issues/53
Fixes #12800.
Testing Plan:
Manual testing + automated tests.

@PentaHiggs if you have time, I'd love to hear your thoughts on this implementation.

(rebased to master, awaiting review)

@andersk can your review this?
I'm also wondering if we submit a version of this to python-markdown upstream as our strategy; it seems like this change should either be something they'd be happy to merge (as it's generic) or has problems that we probably don't want integrated into Zulip either.

As I explained in the commit message, upstream isn't interested in this
particular fix; they want to reimplement fenced_code extension as a block
processor instead of a preprocessor, which is when they'd fix this bug.
I think this is a good stopgap for now. In fact, solutions similar to this
have been made by some other people as workarounds for this issue and
posted to that upstream issue (I'm no mobile, cannot link right now).
On Wed, Sep 18, 2019, 1:51 AM Tim Abbott<EMAIL_ADDRESS>wrote:

@andersk https://github.com/andersk can your review this?
I'm also wondering if we submit a version of this to python-markdown
upstream as our strategy; it seems like this change should either be
something they'd be happy to merge (as it's generic) or has problems that
we probably don't want integrated into Zulip either.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/13075?email_source=notifications&email_token=AB5JHVUPM45EN7JFAG6DG43QKE327A5CNFSM4IPOY3MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65Y6UI#issuecomment-532385617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5JHVXW4KQLN4AGKEPR7HTQKE327ANCNFSM4IPOY3MA
.

OK, makes sense and sounds good.

Added more comments explaining the code.

(rebased to master, awaiting review)

Merged, thanks @aero31aero!


added the features + previous pr

@jahnvisahni31 Have added the dark and light mode feature

please provide these changes and i will merge this pull request when you pull another request according to that changes also when you get back to light mode it does not show home and faq button

I have done all the necessary changes , can you please review it

succesfull done i have now merging it into main branch #4  done


Avoid unnecessary std::shared_ptr copies

Related Issue
Resolves #4211
Description
This PR updates various frequently called functions in order to minimize the frequency with which ownership of various std::shared_ptr variables is shared. Instead the variables are either passed by reference (instead of by value) or ownership is transferred using std::move.
How Verified
Existing unit tests were successfully run.
Microsoft Reviewers: Open in CodeFlow

@almedina-ms is added to the review. #Closed

@paulcam206 is added to the review. #Closed

@RebeccaAnne is added to the review. #Closed


Remove need for tfe.clear_initializers

We currently have to call tfe.clear_initializers in a few places, yet not all cases are justified. This issue is about finding a solution so these calls can be removed.

Closed by #755


Provision Skylight AWS for DIBBS

Prepare a Skylight owned AWS environment that we can deploy DIBBs into

Done! Josh has provisioned account<PHONE_NUMBER>32 that I am able to assume a Power User role into from my main Skylight AWS user.


only allow external bot commands in #bot-commands

Bot now removes the external commands '!join', '!me', '!verify' from all channels that are not #bot-commands and warns user

I was thinking of just removing all messages beginning with the bot prefix but there are other bots that don't use '!' so it doesn't solve the problem entirely.
I think this array of external commands does the job, thanks!

I considered changing the detectHandler() function to account for external commands but I didn't really want to touch the file. If you think that's a good way to do it I'll make that change later.


Prepend a blank initializer for RubyMine

What does this help with?

Apparently RubyMine warns you that there is no initializer. I pushed this up so the person who reached out to me about it can see if this fixes the warning. Unfortunately because the Literal::Properties module is extended, I don’t think we’re going to be able to fix this for literal properties generally.

Yes as a RubyMine user I see this sort of issue. Want me to play around and see what I might do?

Yeah, that would be great! I think the only way is for the entry point to be form prepend since that’s the part RubyMine needs to follow.
We could do something like
prepend Literal::Properties::ForRubyMine

And have that prepend the blank initializer and then extend Literal::Properties.


Refactor modal-related code

Use a common way of creating modals instead of hacking it together separately.
Views:

fast: profile, login, explore
slow: search, submit

 #21 Refactor modal-related code


Modification of the maximum number of characters in address field

Monetico returns an error if the number of characters in the address field is greater than 48. So modification of the number of characters before the split from 50 to 48

This issue is coming from this issue apparently : https://github.com/ekyna/PayumMonetico/issues/11
Let's fix this directly in the Ekyna lib 😉


[Feature] Allow for multiple pointers

Is your feature request related to a problem? Please describe.
My players have a hard time RPing because they're not sure if what was said was IC or OOC. Also when I have NPCs talk to each other, it is unclear who is speaking.
Describe the solution you'd like
If possible, it would be great if multiple pointers could be tied to different hotkeys.
Describe alternatives you've considered
I tried to change the behavior of Ping to act as a speech bubble, but it only has a set duration. Currently, I have X for pointer (speech bubble), Z for ping (with 'Ping only when pointer is active?' unchecked), and TAB for Move player on ping.
Additional context
I'm guessing it would be difficult because the menu would have to change, so no rush. My current set up is certainly viable, I'm just losing out on a pointer arrow.

While this would be theoretically possible, it would require some significant changes, since the module was not designed with this in mind.
I, at least currently, do not plan to implement this. (This may change at some point in the future, but no promises!)
If someone else wants to implement this, feel free to do so and i'll happily integrate it into the module.

saw the 'wont fix' but throwing in my +1 for this feature, or a way to macro swap to a different pointer.
practically I am doing the same as OP, using chat bubbles to add immersion for tokens - but I also like the arrow and pinger, so I sacrifice one or the other. This works great for me as is, I just use a work around.
great module!

saw the 'wont fix' but throwing in my +1 for this feature, or a way to macro swap to a different pointer.
practically I am doing the same as OP, using chat bubbles to add immersion for tokens - but I also like the arrow and pinger, so I sacrifice one or the other. This works great for me as is, I just use a work around.
great module!

Another +1 here! I'm looking to replicate the MapTool pointer functionality. Honestly even having a duplicate module would work, but I couldn't figure out how to do that.

Another +1 here! I'm looking to replicate the MapTool pointer functionality. Honestly even having a duplicate module would work, but I couldn't figure out how to do that.

Been having to use a fork of Cursor Popups in addition, but still don't have the full functionality. Giving this a +1, one of my most desired features I could want added to foundry.

This would be amazing, specially now with the Cursor Popups a bit broken


Remove Logon from Broker

This is not entirely possible. However, we can avoid storing the password after acquiring the logon token. This is done in PR #2493


ValueError: could not convert string to float: s

I get this identical error on both Ubuntu 15 + pip install (or directly from the latest github) AND on Ubuntu 14 LTS + conda2; so I am pretty sure this is not an issue with my environment.
Following the tutorial on the movie reviews data (not sure if that matters).. I get..
brian@niihau:[~]$ topik -d reviews -c text
2016-04-18 14:29:00,880 : WARNING : too few updates, training might not converge; consider increasing the number of passes or iterations to improve accuracy
Traceback (most recent call last):
File "/home/brian/anaconda2/bin/topik", line 6, in
sys.exit(run())
File "/home/brian/anaconda2/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(_args, *_kwargs)
File "/home/brian/anaconda2/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/brian/anaconda2/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, *_ctx.params)
File "/home/brian/anaconda2/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(_args, *_kwargs)
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/simple_run/cli.py", line 27, in run
termite_plot=termite)
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/simple_run/run.py", line 67, in run_pipeline
model = models.registered_models[model](vectorized_data, ntopics=ntopics, **kwargs)
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/lda.py", line 82, in lda
return ModelOutput(vectorized_corpus=vectorized_output, model_func=_LDA, ntopics=ntopics, *_kwargs)
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/base_model_output.py", line 20, in init
vectorized_corpus, **kwargs)
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/lda.py", line 72, in _LDA
for topic_no in range(ntopics)}
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/lda.py", line 72, in
for topic_no in range(ntopics)}
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/lda.py", line 12, in _topic_term_to_array
term_scores = {term: float(score) for score, term in topic}
File "/home/brian/anaconda2/lib/python2.7/site-packages/topik/models/lda.py", line 12, in
term_scores = {term: float(score) for score, term in topic}
ValueError: could not convert string to float: s

Looks like PLSA model works ok; though i had to hack the ldavis code a bit to get it to output since I run everything in VMs via ssh (i.e. it binding the web server to 'localhost' does me no good). Hardcoding works okay though this is kinda a hack. Will try to fix it properly and submit if I get the chance.

I confront the same problem, I always received the same error when I try the movie reviews data. Can you tell me how you fix the issue?


Store feedback survey responses

Codecov Report

Merging #60 into master will increase coverage by 2.97%.
The diff coverage is 91.56%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   79.94%   82.92%   +2.97%
==========================================
  Files           6        6
  Lines         399      451      +52
==========================================
+ Hits          319      374      +55
+ Misses         80       77       -3

Impacted Files
Coverage Δ

settings.py
100% <ø> (ø)
:arrow_up:

tests/test_data.py
100% <100%> (ø)
:arrow_up:

tests/test_store.py
100% <100%> (ø)
:arrow_up:

server.py
80.75% <88.88%> (+4.53%)
:arrow_up:

Continue to review full report at Codecov.

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

Though I'm concerned by the amount of commits in this change. I think the rebase has gone wrong ??