New ExpandableStringEnum concept

Description
New concept for ExpandableStringEnum subtypes where they control their own cache instead of using the cache managed by ExpandableStringEnum. This also changes the need for ExpandableStringEnum to reflective create subtype instances which can run into reflective access issues.
There are a few questions that should be discussed before this goes any further.
Should ExpandableStringEnum subtypes use a single cache or split cache? There are known constants that should never be evicted from the cache, unlike the runtime created equivalents. Or, should there be a single cache which is only the constant values and any new runtime values create a new instance? This needs an investigation into the performance of maintaining the cache and being able to compare equal instances vs the deeper equals check done otherwise and to account for how often we expected ExpandableStringEnums to be compared.
This also introduces a concept of SimpleCache, which is just a wrapper around a ConcurrentHashMap with guards to prevent it growing larger than a given size. Depending on the answers to the questions in the paragraph above this may be removed.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-core


Implement mirror queues support configured via copyTo/moveTo attributes

This should resolve issue #121

Released in 0.14.2. Thanks!


How do I contribute to this gem translation?

Hi,
I'm using this gem inside my current project it was awesome. I really like it!
I'm thinking to translate this gem to Malay language since I'm Malaysian and I'm native Malay speaker.
Please show me clear 'how to' step-by-step guide to contribute to this gem and translate the strings to Malay?
Thanks!

Awesome! So I don't actually have translations setup at all for this gem yet. We probably should start to do that then.
I think the first step will be to take all or most of the strings out and put them into a configuration file so that it can be easily translated like the locales yaml files. Then you would have a good place to write your translations easily.
If you want to take a stab at writing some code to enable those translations for this gem, let me know!

I'm not familiar with the setup. Can you do the setup and let me know when the yaml file is ready?

You can use I18n to set translations for the strings in the receipt in the Charge model receipt method, for example:
line_items: [
        [I18n.t(:charge_date), created_at.to_s],

This will work for Malay Bahasa, French, etc. but I cannot use it for Chinese.


Make "Save Pictures" option clear

First, these days "External Storage / Internal storage" might not mean much, and be confusing.
Second, I have adjusted the text to what I am guessing you folks originally meant. (Not tested!)

Thanks for the PR @jidanni !


Add support for buffer output via burst SPI

Allow users to clock out an entire buffer entry in a single SPI transaction using a memory to SPI DMA. This will offload work from the CPU and allow for better buffered data capture throughput.

Implemented


Export the context for use elsewhere or take the consumer himself

Export the context for use elsewhere or take the consumer himself
{ KeycloakProvider, KeycloakConsumer } from '@react-keycloak/web'
or
{ KeycloakProvider, KeycloakContext } from '@react-keycloak/web'

Hi @douglaszaltron ,
Thanks for your feedback, can I ask why you need direct access to the KeycloakContext?
Can't you use the useKeycloak hook or withKeycloak HOC?

Hi! Thanks
To have a different way to access the context in the own component where the provider is inserted, but maybe this is not one of the best approaches, something to be discussed as well. look at the usage example:
 <KeycloakContext.Consumer>
      {({ keycloak }) => keycloak && (
             <AxiosProvider token={keycloak.token}>
                  {children}
             </AxiosProvider>
          )}
 </KeycloakContext.Consumer>

Hi @douglaszaltron ,
I see what you need but I would recommend against doing it that way.
I'd suggest you to use the useKeycloak hook (or the withKeycloak HOC) and implement a wrapper around the AxiosProvider component (or if it's a custom one update it) as follow:
import { useKeycloak } from '@react-keycloak/web'

const AuthenticatedAxiosProvider: React.FC<{}> = ({ children }) => {
  const [keycloak, initialized] = useKeycloak()

  return (
    <AxiosProvider token={initialized ? keycloak?.token : undefined}>
      {children}
    </AxiosProvider>
  )
}


fix(cli) cicero normalize now passes wrapVariables option properly

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Issue #506
Properly handles --wrapVariables option in cicero normalize CLI.
Changes

Passes option from CLI properly to underlying normalize command.

Coverage remained the same at 95.985% when pulling f2e8afdcef008bbd4c704f346e3caf952fb977d7 on jeromesimeon:js-fix-normalize-506 into 557ab6e7f80dd3615c03e3fcbc68c1b4a6001b99 on accordproject:master.


Changed a variable name and improved a few things.

 Also, tested it a little bit, it works.
And, I commented out the MAYDAY thing. I still have to change variable u.
P.S. If anything happens not to work, you will get all the complaints! XD

I would recommend using jshint instead of jslint in the future as jslint is getting very opinionated.

Ok, good to know! (Matter of fact, I wasn't using either of them...I was using JSBin! XD)

alguien que hable español envie solicitud de facebook a lautaro jaime foto en blanco y negro asi me ayuda con esto plis

@lautaro1211 Speak in English please? (Not in Spanish...)


net/http: improve the examples to show that StatusCode checking is necessary

Coming here from an offline debugging session with @indragiek, in which stacked in a bunch of services was a call to an HTTP service that matched the exact pattern from our net/http example on Get https://golang.org/pkg/net/http/#example_Get

in that code we aren't checking for status codes, which I've seen in live code and just caused a bit of time wastage for a company. Given that the examples that we post will be copied as authoritative , we need to fix this up.

@indragiek might be interested in fixing this.

/cc @bcmills @bradfitz


FIX : support multiple volume with same name

FIX : support multiple volume with same name
Description
support multiple volume with same name
Related Issue
https://github.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/issues/51
Motivation and Context
support multiple volume with same name on different Vserver
How Has This Been Tested?
test in real NetApp Ontap
Screenshots (if appropriate):
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.

Good catch. The code looks good to me. Thank you.


Demo

Description

Add the demo with terminalizer.
Motivation and Context

How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[ ] Fix bugs
[ ] Add new feature
[ ] Update documentation

Great! Thanks!


FlatList scrolls in the wrong direction sometimes on Android

Description
I have a clean project with only a FlatList in it. With that I am getting some very weird behaviour, while scrolling in one direction the list sometimes just scrolls in the other direction. You can see the attached screen recording where I am trying to scroll down the list but sometimes it jumps up without me doing anything. I am using a Samsung A33.
Version
0.67.2
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.0.1
CPU: (8) arm64 Apple M1
Memory: 55.20 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 15.11.0 - ~/.nvm/versions/node/v15.11.0/bin/node
Yarn: Not Found
npm: 7.6.0 - ~/.nvm/versions/node/v15.11.0/bin/npm
Watchman: 4.9.0 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.10.2 - /Users/work/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 28, 29, 30, 31
Build Tools: 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-31 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.2 => 0.67.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Download the repo I provided
Run the app on an Android device (I am using a Samsung A33)
Try to scroll down the list

Snack, code example, screenshot, or link to a repository
Repository
https://github.com/Bej-Technologies/FlatListScrollingIssue
Screen recording
https://user-images.githubusercontent.com/85553686/206470844-7b136dec-5fad-4b31-b820-54d6aa3e76a7.mp4

I can also reproduce this with the latest React Native version (0.70.6).
Repository: https://github.com/Bej-Technologies/FlatListScrollingIssueLatest


[YUNIKORN-368] Pass namespace's parentQueue annotation to application tag

Hi @adamantal sorry for the late review. The change is pretty straightforward, I only have one comment regarding the structure, basically, I think returning 2 values from getTagsFromNamespaceAnnotations() is not very flexible, in case we are going to parse more things from the namespace. I suggest changing this to
// update application tags in the AddApplicationRequest based on the namespace annotation
func (ctx *Context) updateApplicationTags(request *interfaces.AddApplicationRequest, namespace string) {
  // adding tags to request based on annotations
  // include
  //    - namespace.resourcequota
  //    - namespace.parentqueue
}

func (ctx *Context) AddApplication(request *interfaces.AddApplicationRequest) interfaces.ManagedApp {
  ...
  updateApplicationTags(request, ns)
  ...
}

I have validated this patch. Configurations:
Namespace config:
apiVersion: v1
kind: Namespace
metadata:
  annotations:
    yunikorn.apache.org/parentqueue: "root.special"
  name: random

The pod:
apiVersion: v1
kind: Pod
metadata:
  labels:
    app: sleep
    applicationId: "application-sleep-0001"
    namespace: "random"
    queue: "root.default"
  name: task0
spec:
  schedulerName: yunikorn
  containers:
    - name: sleep-30s
      image: "alpine:latest"
      command: ["sleep", "30"]
      resources:
        requests:
          cpu: "100m"
          memory: "500M"

Queue configs:
partitions:
  - name: default
    placementrules:
      - name: tag
        value: namespace
        create: true
        parent:
          name: tag
          value: "namespace.parentqueue"
          create: true
    queues:
      - name: root
        submitacl: '*'
        queues:
          - name: default
            submitacl: '*'
          - name: special
            parent: true
            submitacl: '*'
            queues:
              - name: leaf

The application was correctly put into queue root.special.random.
Note that:

the app CRD has to be turned off (it is somehow intercepts the basic placement of the application)
the Travis CI check is currently failing due to YUNIKORN-389
I also found a scheduler crash during testing, filed YUNIKORN-390 for that

hi @adamantal This PR looks good to me, but I guess we need to merge YUNIKORN-389 to get a clean travis validation first. Let me look at that one and get back to this. Thank you for validating this.

hi @adamantal pls fix the remaining code coverage issue. rest looks good to me. Thanks

Thanks for checking @yangwwei. Yes indeed, I forgot to add unit tests. Since the quota is also untested I added a test to cover the both. I'll check the Travis results and fix it if something else is missing.

Thanks for merging this in @yangwwei . Filed YUNIKORN-398 for the issue.


GitHub Action!

Following up from now closed PR:  https://github.com/charliermarsh/ruff/pull/3820
This updates ruff docs and outlines the Ruff-Action.
This follows Pyright style:  https://github.com/microsoft/pyright/blob/main/docs/ci-integration.md
Ex ->
Pyright found at: https://github.com/microsoft/pyright
Pyright action found in separate 'org' at:  https://github.com/jakebailey/pyright-action
I'm glad we decided on this direction -- having setup this way is great -- I can more easily maintain/extend [ and as training for some of my engineers ], as well as is the first real step towards an open-source program which I've been meaning to get started with!
Near-term follow up steps will be to increase documentation.  Do advise re: anything else that makes sense.
Separately ->
Also, I'm not sure where you're based or your travel inclinations these days.  I'll be in Miami end-of-May, and am to give a conference talk to Google Developer Student Club Leads, GDG organizers, WTM Ambassadors, and Google Developer Experts.  [ I'm a GDE ].  The plan was on Python, CI, and in-this-case, likely ruff!  So, if you could potentially be around, and open to join, let's chat.

thanks. giving it a whirl.

What are your thoughts on ownership of the action? Would you be open to either or both of (1) PRing on https://github.com/charliermarsh/ruff-action, or (2) moving the action under our GitHub Org once it's setup in the next month or so? I'd like all the "official" Ruff projects to live under the same ownership structure. For example, right now, the pre-commit action is under https://github.com/charliermarsh/ruff-pre-commit and will move under the GitHub Org once it's setup.

Also, I'm not sure where you're based or your travel inclinations these days. I'll be in Miami end-of-May, and am to give a conference talk to Google Developer Student Club Leads, GDG organizers, WTM Ambassadors, and Google Developer Experts. [ I'm a GDE ]. The plan was on Python, CI, and in-this-case, likely ruff! So, if you could potentially be around, and open to join, let's chat.

That's amazing! It's unlikely I'll be able to join, I'm traveling for PyCon in late April and I have a baby at home so I'm trying to avoid traveling in back-to-back months. I'd love to help support however I can though.

What are your thoughts on ownership of the action? Would you be open to either or both of (1) PRing on https://github.com/charliermarsh/ruff-action, or (2) moving the action under our GitHub Org once it's setup in the next month or so? I'd like all the "official" Ruff projects to live under the same ownership structure. For example, right now, the pre-commit action is under https://github.com/charliermarsh/ruff-pre-commit and will move under the GitHub Org once it's setup.

GitHub Org:  Setting one up is pretty straightforward, I mean if just about an org that isn't your name, that could be done today.  I imagine more you'll want to think about structure [ and legal aspects ], ex: perhaps you are going to try to build a business around ruff [ or 'high performance' python tooling ], or donate such things to a foundation and have it live there [ ex: Github/apache/ruff, github.com/apache/ruff-pre-commit, github.com/apache/ruff-action ]....  Happy to walk you/ruff through the ASF Incubating process, ex: https://incubator.apache.org/ if that's of interest.
Since I can use this currently as a way to bootstrap an OSS program at Chartboost, I do like the thought of it living there initially, gives nice company talking points [ I recently started there, so a decent 'win' for me, and serves as foundation for doing more of similar ].  Donating to a proper organization also sounds sensible once the to-be-created org is ready... Again, that's a great step corporation-wise, not only openly sharing but also giving, esp. to a place that then would be a suitable long-term home :-)

I now already see 2 company blogposts!  1st being that chartboost created this usable thing to serve engineers in our company and the wider ruff community, and 2 that we donated to a good home/community for better/common support/utilization as sensible.

Ok, that sounds reasonable! I do plan to setup the Org and move the official Ruff projects under it, it's just blocked on some other stuff and I want to do it "all at once", ideally before the end of April. I may ask if you'd be willing to transfer the project at that time, but for now we can link to the chartboost repo.
I'm gonna make some tweaks to the docs to ensure consistent voice and tone with the rest of the Ruff docs, you're welcome to pull in those changes or not to the chartboost repo, totally up to you!

Definitely...  can pull in improved docs.


Doesn't compile on Mac OS X 10.11

On Mac OS X 10.11 the define is called bit_SSE42 instead of bit_SSE4_2:
#=== ERROR while installing arakoon.1.8.12 ====================================#
# opam-version 1.2.2
# os           darwin
# command      make
# path         /Users/sanders/.opam/4.02.3/build/arakoon.1.8.12
# compiler     4.02.3
# exit-code    2
# env-file     /Users/sanders/.opam/4.02.3/build/arakoon.1.8.12/arakoon-32116-1872ec.env
# stdout-file  /Users/sanders/.opam/4.02.3/build/arakoon.1.8.12/arakoon-32116-1872ec.out
# stderr-file  /Users/sanders/.opam/4.02.3/build/arakoon.1.8.12/arakoon-32116-1872ec.err
### stdout ###
# [...]
# ocamlfind ocamlc -g -ccopt -I../src/tools -ccopt -msse4.2 -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -ggdb3 -ccopt -O2 -c src/tools/arakoon_crc32c.c
# ocamlfind ocamlc -g -ccopt -I../src/tools -ccopt -msse4.2 -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -ggdb3 -ccopt -O2 -c src/tools/bsd_crc32c.c
# ocamlfind ocamlc -g -ccopt -I../src/tools -ccopt -msse4.2 -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -ggdb3 -ccopt -O2 -c src/tools/arakoon_limits.c
# ocamlfind ocamlc -g -ccopt -I../src/tools -ccopt -msse4.2 -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -ggdb3 -ccopt -O2 -c src/tools/tcp_info_stubs.c
# + ocamlfind ocamlc -g -ccopt -I../src/tools -ccopt -msse4.2 -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -ggdb3 -ccopt -O2 -c src/tools/arakoon_crc32c.c
# src/tools/arakoon_crc32c.c:41:22: error: use of undeclared identifier 'bit_SSE4_2'
#   has_sse_4_2 = (c & bit_SSE4_2) != 0;
#                      ^
# 1 error generated.
# Command exited with code 2.

"Officially", OS X is not supported and none of the developers is using a mac. However, if you get it compiled, which is get the following to work on OS X:

arakoon's wrappers for crc32 and tcp info
tokyo cabinet.

and the unit tests succeed,
we'd be happy to merge in a patch.

@toolslive: I would do that, but only to evaluate its usage with mirage OS. Is there some experience? I read somewhere that it should work, but wonder how tokyo cabinet would work in mirage OS.

I'm not sure Arakoon will work on Mirage. Tokyo cabinet is a C library that uses mmap'ed files, so that will probably not work. Otherwise, the rest of Arakoon needs file system support, and I don't know the current state of that in Mirage (At one point, there was no file system support at all, just a block device API)


react to Node 18.13 ICU 72 Version Breaking Change Date/Time format

          > @raplemie @GerardasB @NancyMcCallB looks like there are a couple issues with the CI now that I switched it to the latest Node 18 version. Can you take a look?

--[ FAILURE: @itwin/components-react ]--------------[ 1 minute 20.2 seconds ]--

undefined
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: ReactDataGrid, Viewport, t
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

  ...285 lines omitted...
      at waitForWrapper (D:\vsts_a\4\s\common\temp\node_modules\.pnpm\@testing-library+dom@8.20.0\node_modules\@testing-library\dom\dist\wait-for.js:166:27)
      at Context.<anonymous> (src\test\editors\DateTimeEditor.test.tsx:257:25)
      at processImmediate (node:internal/timers:471:21)

ERROR: Coverage for lines (99.89%) does not meet global threshold (100%)
ERROR: Coverage for functions (99.89%) does not meet global threshold (100%)
ERROR: Coverage for branches (99.93%) does not meet global threshold (100%)
ERROR: Coverage for statements (99.9%) does not meet global threshold (100%)

--[ FAILURE: @itwin/imodel-components-react ]--------[ 1 minute 7.2 seconds ]--

  288 passing (30s)
  1 failing

  1) <TimelineComponent showDuration={true} />
       should respect time zone offset:

      AssertionError: expected '07:00:00\u202fPM' to equal '07:00:00 PM'
      + expected - actual

      -07:00:00 PM
      +07:00:00 PM

      at Context.<anonymous> (src\test\timeline\TimelineComponent.test.tsx:889:41)
      at processImmediate (node:internal/timers:471:21)

https://github.com/nodejs/node/issues/46123
Originally posted by @aruniverse in https://github.com/iTwin/itwinjs-core/issues/4995#issuecomment-1409227528

Test have been updated to account for this in #143


How to select more than 10 image?

Hello, how can I select more than 10 image from gallery?

I made a new version (0.5.5+3). You can use maximumSelection(int) in GalleryDisplaySettings.

Thank you for the reply :)

Please add this on Readme maximum selection  is 10 And Customize guideline.


App is not compatible with Samsung Galaxy A6 (year of purchase 2019)

Avoid duplicates

[ x] Bug is not mentioned in the FAQ
[ ] Bug is not already reported in another issue

Describe the xbug
Try to install from Google Play
Expected behaviour
App installs normally
Steps to reproduce the issue
Select Corona App from GooglePlay from Moble Phone Samsung Galaxy A6
Error Message appears:
Corona-Warn-App
Robert Koch-InstitutGesundheit & Fitness
PEGI 3PEGI 3
39.485
Diese App ist mit keinem deiner Geräte kompatibel.
Technical details

iOS Version: Andriod  10
Device: Samsung Galaxy A6

Possible Fix
Determine the cause of incompatibility
Update the App to resolve this

Additional context

How do I change the URL to a German site please?

I keep getting routed to this one in Google Play.
I have an 1&1 SIM card and I am connected via a Telekom -WLAN

@Peter-PA6 https://www.bundesregierung.de/breg-de/themen/corona-warn-app/corona-warn-app-kontakt-1759708

@Peter-PA6 This isn't about a specific URL. Your Google account has to be set to Germany. This happens when you create your account or you can change it once a year in your account settings. This issue is being handled by SAP. Hopefully, the app will be released to the whole world in the near future. For further discussion, check out this issue: https://github.com/corona-warn-app/cwa-app-android/issues/478

Having the app running on a Samsung A6 at home, this is indeed not a general issue but in your case seems to be the issue #478 instead. As written there and in many other issues, we're working on resolving that with the RKI and hopefully have some news on that soon.


github repositories don't show all repos

Wanted to show you the experience i had today with this ... notice that I have a lot of repos. it took me a few times "load more" to get the one i wanted to show. the sequence seemed odd too ... alpha or most recently used would be nice. also, i expected auto-complete to work without having to "load more" (which wasnt obvious till i scrolled to the bottom.
Asks:

sort the repos in most recently used or alphabetically
if "load more" is needed, make it more obvious (maybe at the top?)
instead of load more, show all repos
allow type ahead to find a repo, even if it's not shown in the dropdown

See this video below ...
https://www.dropbox.com/s/n7kz48jdhuw1bbq/github deploy.mp4?dl=0

Similar to https://github.com/Microsoft/vscode-azurefunctions/issues/455 in functions

@nturinski improved this behavior in PR https://github.com/Microsoft/vscode-azuretools/pull/310, but I think there's a few things we have to do before closing this:

Show progress in quick pick when loading repos (Just need to pass a Promise of an array instead of an array to showQuickPick)
Move "Load more" to the top to make it more obvious
Sort projects alphabetically

@nturinski I think this needs to be done before releasing 0.10.0


Adding ability to mark add-ons as control plane (deployed before capacity is added to the cluster)

Adding ability to mark add-ons as control plane (deployed before capacity is added to the cluster)
Issue #, if available:
Description of changes:
All core add-ons now have a new controlPlaneAddOn attribute. If set to true, will deploy the add-on before any capacity is added to the cluster.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@elamaran11 if you merge from this branch, you can deploy VPC CNI to the control plane before any capacity is added. Please let me know if that solves the custom network config issue.

/do-e2e-tests

e2e tests fail on delete. @youngjeong46 I see that there is an NLB provisioned with jupyterhub even thought ingress is set to false, is it by design?

e2e tests fail on delete. @youngjeong46 I see that there is an NLB provisioned with jupyterhub even thought ingress is set to false, is it by design?

The parameter is a bit of a misnomer. Enabling it exposes the front end hub as an ingress controller (using AWS ALB). Not enabling it just exposes the service via Network Load Balancer.

/do-e2e-tests


friendly is broken since version 0.7.12

Since version 0.7.12, whenever a Python exception occurs friendly fails with a KeyError:
python36\lib\site-packages\friendly\rich_formatters.py", line 452, in _markdown
    for note in info[item]:
KeyError: 'exception_notes'

I reproduced the above with Python 3.6, 3.8 and 3.10 on Windows and Python 3.10 on Ubuntu.
I believe uploading every day a patch version to pypi is a bad idea. It is better to test thoroughly before releasing a new version.
Please remove all releases after 0.7.11 from pypi. Installing friendly should just work and not generate unfriendly stack traces ;)

Thank you for reporting this. It is fixed now. The problem occurred as I made some changes to friendly_traceback including adding support for exception notes (new in Python 3.11), and did not tested friendly thoroughly as you pointed out. Whenever major changes are made in friendly_traceback, I hurry to upload a new version of friendly to make sure friendly does not raise exceptions due to the new features ... and missed this completelly. I completely agree that friendly should NEVER generate unfriendly stack traces.
I have uploaded a new version of both friendly and friendly_traceback. I will leave this issue open until I introduce some tests for friendly.


Project:  GasGuys HomePage Clone

Closes:
issue : #463

Title : GasGuys HomePage Clone
Name: : G Avineshwar
Idenitfy yourself: : GSSOC

Describe the add-ons or changes you've made 📃
GasGuys Homepage Clone with fully responsive webbsite.
How Has This Been Tested? ⚙

Screenshots 📷

Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[ X] My code follows the Contributing Guidelines & Code of Conduct of this project.
[X] This PR does not contain plagiarized content.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly wherever it was hard to understand.
[X] My changes generate no new warnings.

Note to reviewers 📄

@Avdhesh-Varshney , I PR the issue again due to conflicts and closed the previous PR so please check the changes and merge the changes to the project.
Thank you

@Avdhesh-Varshney , Closed this issue due to conflicts opened new pull requests.
Thank you


ATS 9.2.3 and proxy.config.http.per_server.connection.min

This issue was reported by<EMAIL_ADDRESS>on the mailing list.
Hi
I'm upgrading from 7.1 to 9.2.3 and attempting to get a certain amount
of connections kept open between ATS and upstream server to avoid
connection creation overhead.
In 7.1 this worked well CONFIG
proxy.config.http.origin_min_keep_alive_connections INT 50
In 9.2.3 enabling CONFIG proxy.config.http.per_server.connection.min INT 50
results in many lines of errors displayed in diags.log
[Oct 23 16:26:59.192] [ET_NET 0] ERROR: [http_ss] [188] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
[Oct 23 16:27:15.309] [ET_NET 0] ERROR: [http_ss] [210] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
[Oct 23 16:27:29.543] [ET_NET 1] ERROR: [http_ss] [203] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
[Oct 23 16:27:59.336] [ET_NET 0] ERROR: [http_ss] [219] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
[Oct 23 16:28:15.683] [ET_NET 0] ERROR: [http_ss] [241] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
[Oct 23 16:28:31.506] [ET_NET 1] ERROR: [http_ss] [234] number of
connections should be greater than or equal to zero:<PHONE_NUMBER>
Connections through proxy work even though those strange errors are displayed.

Might be worth noting that  "CONFIG proxy.config.http.origin_min_keep_alive_connections INT 50" seems to have no effect other that producing those errors in log. It does not keep 50 connections open at origin server.

This still happens.


python312Packages.orange-canvas-core: 0.2.1 -> 0.2.2; skip failing tests

Description of changes
Changelog: https://github.com/biolab/orange-canvas-core/releases/tag/0.2.2
cc @lucasew

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 339192 run on x86_64-darwin 1

12 packages failed to build:

python311Packages.orange-canvas-core
python311Packages.orange-canvas-core.dist
python311Packages.orange-widget-base
python311Packages.orange-widget-base.dist
python311Packages.orange3
python311Packages.orange3.dist
python312Packages.orange-canvas-core
python312Packages.orange-canvas-core.dist
python312Packages.orange-widget-base
python312Packages.orange-widget-base.dist
python312Packages.orange3
python312Packages.orange3.dist


Port from atom-parinfer

Hi!
Current vscode-parinfer uses an old version of Parinfer and it doesn't work good. I've ported a great atom-parinfer plugin to VS Code and updated Parinfer to v2.0.10.
It would be great to have this merged. I've been using Atom and now switched to Code and this plugin is the essential tool.
Thanks!

Please take a look at this and merge it soon. I cloned roman01la's repository to test this and it is a big improvement over the current master.

@narma: would you mind if I took ownership of this project?
Parinfer core is pretty close to complete now after a year of focusing on that. I'd like to maintain a good plugin to make use of it now and help with big PRs like this.
Thanks for upgrading it and picking it up last year. Let me know if you wanna hand off the torch.  Glad to take it.

@shaunlebron Sure! Thanks for catching this up. I mostly write Scala code rather than Clojure, and for Clojure now using Cursive (mostly) instead of vscode. Check your email.

@narma: just deleted my fork, should be clear for the transfer now, thanks

@roman01la I'll publish this tonight after I figure it out

published, will try to get the obsolete parinfer packages removed from marketplace to avoid confusion

@roman01la This is a great improvement to vscode-parinfer. Thank you for doing this work!


request-naming-service and monaco not working well together

We defined a Global request naming rule using the API and this works fine. But when putting it in our monaco configuration it is recreated every time monaco runs.
The reason for this is that this API does not take a name attribute. So monaco probably doesn't know if it already exists or not. Giving it an "id" is also not accepted.

@heydenb can you please give us an example of the yaml and JSON config used in this case?

config:
  - schedulerJobRequestNaming: "scheduler-job-request-naming.json"
  - rmiProxyRequestNaming: "rmiproxy-request-naming.json"

schedulerJobRequestNaming:
  - name: "Scheduler Job Request Naming Rule"

rmiProxyRequestNaming:
  - name: "RMIProxy Request Naming Rule"
  - requestAttrProxyService: "projects/scheduler/request-attributes/rmiProxyCallService.name"
  - requestAttrProxyMethod: "projects/scheduler/request-attributes/rmiProxyCallMethod.name"

and
{
    "name": "{{.name}}",
    "order": "1",
    "enabled": true,
    "namingPattern": "{RequestAttribute:SchedulerJobName}",
    "conditions": [
        {
            "attribute": "SERVICE_REQUEST_ATTRIBUTE",
            "comparisonInfo": {
              "type": "STRING_REQUEST_ATTRIBUTE",
              "comparison": "EXISTS",
              "requestAttribute": "SchedulerJobName",
              "negate": false,
              "isCaseSensitive": false
            }
        },
        {
            "attribute": "CUSTOMSERVICE_CLASS",
            "comparisonInfo": {
            "type": "STRING",
            "comparison": "CONTAINS",
            "value": "JobViaRest",
            "negate": false,
            "isCaseSensitive": false
            }
        }
    ],
    "placeholders": []
  }

It's not a solution, but it is maybe a small workaround/helpful in some cases. I could also make updates to an existing rule if name and namingPattern are the same. Example:
config:
    - demo-rule: "request-naming-service.json"

demo-rule:
    - name: "/demo/v1/<COUNTRY>/demo"
    - namingPattern: "/demo/v1/<COUNTRY>/demo"

Name is not part of the API body (request naming object) - https://www.dynatrace.com/support/help/shortlink/api-request-naming-post-new#body-format. NamingPattern is used as display name in Dynatrace.
However, this "workaround" does not always work. If the naming pattern changes due to a customization of the rule, a new rule may be created instead of customizing the original one.

The proposed solution does not work for me. Having different name and pattern still just shows the pattern.


Config option miissing on wiki page "PVE Exporter on Proxmox VE Node in a venv"

In the process of setting this up for myself, I think I noticed an issue on the wiki.
https://github.com/prometheus-pve/prometheus-pve-exporter/wiki/PVE-Exporter-on-Proxmox-VE-Node-in-a-venv#start-on-boot-up
On the systemd script, we seem to be missing the --config.file, leading to the service failing to start.
This line:
ExecStart=/opt/prometheus-pve-exporter/bin/pve_exporter /etc/prometheus/pve.yml

should be changed to:
ExecStart=/opt/prometheus-pve-exporter/bin/pve_exporter --config.file /etc/prometheus/pve.yml

I would happily PR this but it seems GitHub doesn't support pull requests on Wiki documents.

Thanks for the report, fixed it.


fix: fix the renaming error in squeeze converter

Signed-off-by: Bo Wang<EMAIL_ADDRESS>Description
Some converters may have the risks of renaming ITensors, which might cause errors.
Fixes: #930 , #982
More PRs related to this PR:
#1004 , #1167 ,
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project (You can use the linters)
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[ ] I have added tests to verify my fix or my feature
[ ] New and existing unit tests pass locally with my changes
[ ] I have added the relevant labels to my PR in so that relevant reviewers are notified

@narendasan @bowang007 is it possible to get this into v1.2? Would be good to close out this issue in this release.

This seems fine, are there any other binding name changes that need to be merged?

I don't think so.

There are merge conflicts and these changes are already merged via another PR https://github.com/pytorch/TensorRT/pull/1167


Document ponyup default in README

Ideally, for non-default platforms (eg. Linux distros using with glibc < 2.29), users should choose a platform with this command before running ponyup update so that all commands use the same platform. The per-command override --platform is documented near the bottom of the README and can be easily missed during installation, since it will not fail before actually running ponyc; and ideally this command only needs to be run once during setup.
Note: In my specific case (Debian Buster, WSL2, glibc 2.28), setting the platform to ubuntu18.04 solves my problem during installation.

Also do note that ponyup default is mentioned in the README, but specifically when troubleshooting "unable to install ponyc". This issue is for when the installation is successfully but later fails due to library mismatches on different platforms.


row-grouping 25.3.0

Type: Missing
Summary:
row-grouping 25.3.0
Details:
ClearlyDefined license is AG GRID ENTERPRISE EULA v13.0
NPM license field indicates Commercial
GitHub license is MIT AND OTHER: https://github.com/ag-grid/ag-grid/blob/v25.3.0/LICENSE.txt
Resolution:
MIT AND OTHER
Affected definitions:

row-grouping 25.3.0

Same as #16445
Declared license should be OTHER for the commercial license.

@AE49 I agree with just OTHER.


Aligning reconstruction with ground plane

I've recently been testing OpenSfM using my own perspective and 360 equirectangular image datasets. My input imagery is not geotagged, and I do not provide ground control points. The datasets are large and linear, therefore I use frequent local bundle adjustment and infrequent global bundle adjustment. All other setting are default.
I've found that the reconstructions created using perspective imagery are aligned nicely with the ground plane, with the reconstruction lying on the xy plane, and the 'up' direction in the z axis. I've found however, that my 360 reconstructions are aligned in a seemingly arbitrary orientation (not on the xy plane, with 'up' not in the z axis).
I'm wondering if some ground plane alignment is implemented in the perspective imagery, but not in the 360 imagery? If so, how would you suggest one achieve proper orientation of the 360 reconstructions?
Thanks for your time

I have a trial with 360 Imagery, fellows of mapillary: https://widestreet-ai.weebly.com/

I have a trial with 360 Imagery, fellows of mapillary: https://widestreet-ai.weebly.com/

@GeoEngTechEL What is this WideStreet AI? You invited me to join the repository, but it is just a simple fork of WebODM by OpenDroneMap without any changes by you!
Except from buzzwords I don't see much on that website that describes what your product does. When charging people 300 £, I'd expect something with more substance to it and that does not look like taking an open source project and putting a price tag and some fancy marketing speak onto it.
cc @pierotofy @DenisCarriere @kgonzago @mapillary

The issue was that un-geotagged imagery doesn't seem to go through ground plane estimation. This seems fair enough really seeing as there aren't any coordinates provided, and therefore no way to know.


Running Eliza with LLAMALOCAL fails after first query

Describe the bug

Client never gets the model's response and server keeps repeating
// End of conversation
To Reproduce

Using the latest release branch
I am not trying to do anything fancy yet, just run Eliza OOTB
When i run client and send a query, server gets , responds in console, that never reaches the UI running at 5173
The server goes on a loop repeating
// End of conversation

Expected behavior

The client should get the response and the server should not go in a loop printing the same thing again and again
Screenshots

Additional context

LOG
◎ LOGS
Creating Memory
31deda32-5963-083c-8283-189a6f6c3616
Yo Eliza , need some investment advice in this market
["◎ Generating message response.."]
["◎ Generating text..."]
ℹ INFORMATIONS
Generating text with options:
{"modelProvider":"llama_local","model":"large"}
ℹ INFORMATIONS
Selected model:
NousResearch/Hermes-3-Llama-3.1-8B-GGUF/resolve/main/Hermes-3-Llama-3.1-8B.Q8_0.gguf?download=true
["ℹ Model not initialized, starting initialization..."]
["ℹ Checking model file..."]
["⚠ Model already exists."]
["⚠ LlamaService: No CUDA detected - local response will be slow"]
["ℹ Initializing Llama instance..."]
["ℹ Creating JSON schema grammar..."]
["ℹ Loading model..."]
["ℹ Creating context and sequence..."]
["✓ Model initialization complete"]
Response
{ "user": "Eliza", "text": "well that depends on what you're investing in... i'm partial to the futures market where the only certainty is uncertainty... care to parse the quantum indeterminacy of modern finance over a dram or two?", "action": "NONE" }

(End):// End of conversation
:// Generated by: https://github.com/ConversationalAI/DialogueAPI
:// Date: Sat Jan 20 2024
// End of message
:// End of message
// End of message
// End of messages
// End of conversation
// End of conversation
// End of conversations
// End of conversations
// End of Conversations
// End of Conversations
// End of Conversations
// End of Conversations
// End of Conversations
// End of Conversations

This time it spit out all my previous queries, and answers some of them in console, nothing ever on client. It has stored my prev queries in db i suppose and retrieves them all again

I have been having the same issue, and many others are also reporting experiencing the same issues when running locally.
The behavior is the same for me, the dialogue does not reach the front end and just continues looping in the console.
I have also tried running the model with Ollama and then pointing Eliza to that endpoint. With this set up, it just repeats the same response every time, but it does at least reach the front end.
If I interact with the Ollama server directly, everything is fine, so we can rule that out.
All of the existing youtube videos seem to skip this step, and opt to connect it to openai or anthropic immediately without testing locally, which makes me wonder - does anyone actually have this working locally? Or did they all skip it due to the same bugs we are facing?

The other thread is here
https://github.com/elizaOS/eliza/issues/1213


What is the difference between monolithic and microservice architecture?

Hello hamed, what is the difference between microservice architecture and monolithic architecture and when is it better to use which architecture?

Hi @MohammadrezaAhmadii
There are plenty of resources around the web that you can find for your questions. But here are some quick tips you may like:
Monolithic Architecture
A monolithic architecture holds all the services in a single solution, your development team work on a single shared codebase and your deployment team deploy it as a single service.
Monolithic Benefits:

In development environment :

All services develop by a single back-end language.
All services work with a single database, and it is easy to collect data trough queries.
Transactions are guarantied behind some tools like an ORM.

In testing environment :

Test all services and their communication
No Black-Box testing
Defect localization is easy during the E2E tests

In deployment environment :

Easy to publish the software just like copy and paste it on the production server
Easy to monitor
Easy to scale by running multiple copies of the application behind a load balancer

Monolithic Drawbacks:

In development environment :
Serious problems with developing a large code base
Hard to perform changes because of tight coupling between services.
Hard to maintain.
Tech stack limitation.
Hard to protect data behind the rules because of accessibility of data through all services.
Hard to onboard new developers and scale the development team

In testing environment :

Hard to maintain because of the large scale code base (tests are code)

In deployment environment :

Late delivery of new features
Inability to allocate resources to services as much as they need
Partition intolerance

Microservices Architecture
It defines an architecture that structures the application as a set of loosely coupled, collaborating services. Each service has its own solution.
Microservices Benefits :

In development environment :

Each service is small enough and easy to develop and maintain
Each service can use its prefer back-end language.
Each service has its own database and data is guarantied behind the service rules.
Easy to perform changes without effecting on another services.
Easy to scale the development team and onboard new developers.

In testing environment :

Easy to maintain the test codes.
Each service is tested separately.

In deployment environment :

Quick delivery of new features
Ability to allocate resources to services as much as they need
Partition tolerance

Microservices Drawbacks:

In development environment :

Hard to support distributed transactions.
Hard to collect data trough services during the queries.
Dealing with complexities of new patterns and tools.
Hard to find people with high degree of requirement knowledge.

In testing environment :

Hard to test the features that need collaboration between some services.
Defect localization is hard during the E2E tests
Black-Box testing

In deployment environment :

Complexities of deploying
Complexities of monitoring
Complexity of deployment tools and technologies

When to use which one of them?
As a software engineer we must consider the Time, Scale and Trade-Offs in all of our decisions, even about adding a small feature to an existing app or about choosing an architecture and build up a development team.
Time
If the time of living of the app is not going to be so long, it doesn't need to always looking for the best solution or adding the complexities to the software development.
If you are in a situation that can't estimate the time of living, for example if you are lunching a startup, it is better to start with monolith and consider that this is software development, and we always have the possibility of refactoring.
Scale
If your environment is not ready for scale, both on development and deployment, so why start with Microservices? It needs much more resources than monolith (people, computers, money, time, etc.)
Trade-Offs
Thinking about the goal and what we already have to reach it. Think about your resources. How many people do you have in your team? How much time do you have to deliver the first stable version? How much money do you have? What are your short goals and long goals? How many visitors going to visit your app at the first? How much increase for six months later?
So, by considering the above parameters, you can find the better choice for your software architecture. Each decision has its own benefits and drawbacks, you may have to consider many other parameters, it could be very risky. But this is the kind of works a Software Engineer must do.
After all trade-offs and considerations, If you choose Monolith, don't be shy and don't mind what the community say, they might choose microservices because it's cool!

What features are needed to turn monolithic architecture into microservices architecture?

I assume that :

Your product business is complex
You are at the design phase
You are going to start with Monolithic and then refactor it to Microservices in the near future

Then with this approach, it is better to follow DDD concepts and separate your services into some subdomains and implement them using DDD strategic and tactical design concepts like BC, Aggregate, etc.
It helps you to prevent tight coupling between services and make them ready to separate in different solutions.
In the refactor phase, you can follow the Strangler application pattern to extract your services from the current monolith. Also in this step you will find common infrastructure and cross-cutting concepts and move them to Building Blocks to share them between all services.
There are many other tips following your case and need to see the situation. But if you have any question, you are always welcome to ask.


Newbie question: How to handle a series of questions

this is not really an issue. I am the issue myself.
I am learning how to develop in Go and got your example code running. It's so convenient!
I was planning to make a scavenger hunt game in telegram. This would mean that the player would get a riddle, and give the correct answer. If the answer is correct he will get another question. (similar to a pizza ordering app: question1: "what would you like to order", question 2:"would you like toppings" ,etc)
I am a bit confused how I would do that. Would I need to use a series of:
bot.HandleMessage(pattern string, handler func(*tbot.Message)). So for every question a handler?
or just one HandleMessage, and have just one handler function that everytime parses the message and keeps track how far this user is?
I apologize if this not the proper channel for asking this.

I would suggest you to use one message handler with empty pattern so you
will get all messages in one place to deal with. Also you will definitely
need some persistent storage to keep track of the dialog state.
On Sun, Sep 27, 2020 at 11:08 AM orcak<EMAIL_ADDRESS>wrote:

this is not really an issue. I am the issue myself.
I am learning how to develop in Go and got your example code running. It's
so convenient!
I was planning to make a scavenger hunt game in telegram. This would mean
that the player would get a riddle, and give the correct answer. If the
answer is correct he will get another question. (similar to a pizza
ordering app: question1: "what would you like to order", question 2:"would
you like toppings" ,etc)
I am a bit confused how I would do that. Would I need to use a series of:
bot.HandleMessage(pattern string, handler func(*tbot.Message)). So for
every question a handler?
or just one HandleMessage, and have just one handler function that
everytime parses the message and keeps track how far this user is?
I apologize if this not the proper channel for asking this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yanzay/tbot/issues/71, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGKEUBSMYWAHRPZEKKMJPTSH3XGTANCNFSM4R3NC2DA
.

Thank you for your quick response!
I will do just that.
On Sun, 27 Sep 2020 at 13:25, Alexey Grachov<EMAIL_ADDRESS>wrote:

I would suggest you to use one message handler with empty pattern so you
will get all messages in one place to deal with. Also you will definitely
need some persistent storage to keep track of the dialog state.
On Sun, Sep 27, 2020 at 11:08 AM orcak<EMAIL_ADDRESS>wrote:

this is not really an issue. I am the issue myself.

I am learning how to develop in Go and got your example code running.
It's

so convenient!

I was planning to make a scavenger hunt game in telegram. This would mean

that the player would get a riddle, and give the correct answer. If the

answer is correct he will get another question. (similar to a pizza

ordering app: question1: "what would you like to order", question
2:"would

you like toppings" ,etc)

I am a bit confused how I would do that. Would I need to use a series of:

bot.HandleMessage(pattern string, handler func(*tbot.Message)). So for

every question a handler?

or just one HandleMessage, and have just one handler function that

everytime parses the message and keeps track how far this user is?

I apologize if this not the proper channel for asking this.

—

You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub

https://github.com/yanzay/tbot/issues/71, or unsubscribe

<
https://github.com/notifications/unsubscribe-auth/AAGKEUBSMYWAHRPZEKKMJPTSH3XGTANCNFSM4R3NC2DA

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yanzay/tbot/issues/71#issuecomment-699622529, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCUNXMFWTWNDJGLXMSSPLLSH4OLLANCNFSM4R3NC2DA
.
--
Verzonden via Gmail Mobile

@orcak Hi
I created a useful wrapper around this bot library that allows to script bot logic in javascript.
You can see example here https://github.com/Dilshat/telegram-bot/blob/master/scripts/sample.js

That is awesome! Thanks so much.
On Thu, 1 Oct 2020 at 11:34, Dilshat<EMAIL_ADDRESS>wrote:

@orcak https://github.com/orcak Hi
I created a useful wrapper around this bot library that allows to script
bot logic in javascript.
You can see example here
https://github.com/Dilshat/telegram-bot/blob/master/scripts/sample.js
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yanzay/tbot/issues/71#issuecomment-702014685, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCUNXJ3CB423TIQXOM5343SIREL7ANCNFSM4R3NC2DA
.
--
Verzonden via Gmail Mobile


Remove ViewBinder, rename ViewBinder.Adapter to ViewBinder

The Adpater is what people implement to bind to native UI.
The old ViewBinder was an abstraction with a single implementation and which was not used for testing despite its docs saying so. Moreover, the layer at which it intercepted behavior was not an extremely useful one. This likely was the result of the many refactorings necessary to move this API into the public project.

I like it.


PathOfBuilding error

Hi guys, I am getting this error:
http://prntscr.com/rdn47c
I tried re-installing several times.
Also I tried to delete the Setup file from Documents/PathOfBuilding and then install, got the same outcome.
Please help!

That indicates a problem with loading one of the Build files. Check the builds directory, which is in Documents/Path of Building/Builds. Move or delete all of the build files from that directory. If that fixes it, you can use trial and error to figure out which file it is...


Stream Executor Changes for the Fused Conv+Bias+Actv implementation

@deven-amd would this work with stock MIOpen from ROCm 1.9 release? if not, could you help amend Dockerfile.rocm?

It will not...it needs a fix for a bug I reported yesterday. The fix is now in the develop branch of the private MLOpen repo, so we will need to pull in MIOpen from there.  Do you want the Dockerfile.rocm update as a separate PR or can I roll it into this one?

@deven-amd let's hear from @daniellowell . I'm not sure about the policy disclosing yet released MIOpen logic.

@deven-amd since dnn.h is changed. probably need a dummy implementation on CUDA path if we want this be upstreamed?

there code the dnn.h has a return false; which should suffice as the default/dummy implementation I think.

@whchung
now that Dockerfile.rocm has been updated, let me know if there is anything else that needs to be done prior to merging this PR.
thanks

I’ll spend some time today to give this PR another pass


Flag Missed

hi,
would be possible having the -strict.perms back again??
i am getting the error "flag provided but not defined: -strict.perms"
Thanks.

Hi,
not sure what you mean with "strict.perms". Can you please elaborate?

Hi Christian,
according elastic documentation:
https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html
I was always using execbeat on my company, but on last version I'm getting this error and not able to launch execbeat.
I could disable strict.perms option on config, but this is highly recommended.

Hi Christian,
according elastic documentation:
https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html
I was always using execbeat on my company, but on last version I'm getting this error and not able to launch execbeat.
I could disable strict.perms option on config, but this is highly recommended.
Thanks in advance.

This was introduced with Beats 5.3 but the current version of Execbeat is using 5.2.x. I'm currently preparing a new version 3.3.0 which will use Beats 5.6.2. and then the parameters should be back.

Ok, many thanks.
I will waiting for it.
This issue appeared when I was industrializing last 5.6.0. Beats version.
I didn't include execbeat on new beats package, but will include it again when it will be available.
many thanks for the support!

Execbeat 3.3.0 is just released.


Update DB2ZOS_NET.config

removed credentials

Already integrated the needed changes, so I'm just closing the PR.


[Feature Request] Swap line up/down in rich editor

It would be great if you could implement the "Swap line up" and "Swap line down" command in the editor, as I often re-organize my though when I am writing and moving line by copy/pasting is quite slow... The shortcut for deleting/duplicating lines would also be super useful too!
Although this feature is "just" about finding the correspondence between the richtext and markdown editor and executing the shortcut in the latter, I do see a few watch points:

Potential shortcuts conflicts with the TinyMCE keybindings
If cases to distinguish between soft and hard breaks when moving full or part of a paragraph
Preserve numbered lists (see this discussion)

Thanks for the amazing plugin, really helped me switch from Mac to Windows easily.

Hi @Aerosmite
Thanks for the interest in this plugin.
The rich markdown plugin just adds some styling to the markdown editor so that people like me can edit their notes in plain text, but see something a little more colorful.
The "richtext" editor (based on tinymce) is a core feature of the Joplin application, I would suggest you make this request there.
All the best!


Understanding logic behind server requests and responses and validation of signup

Would you be so kind to explain the logic behind the request response system with respect to how the server handles validation errors? I'm paying with this in a separate project and I notice that my console is logging a bad request 400 error and it seems like there is a content type/header issue, server handling issue, or maybe Boom. In manipulating the code, I seem to be missing a component to the logic.
This isn't a problem with the aqua project so this should be filed under question:)
Cheers!

{"statusCode":400,"error":"Bad Request","message":"child \"email\" fails because [\"email\" is not allowed to be empty]","validation":{"source":"payload","keys":["email"]}}

Is coming up as a
[Error] Failed to load resource: the server responded with a status of 400 (Bad Request) (signup, line 0)

The UI renders the error correctly on the client side, but I still see the 400 error in the console. I will compare the headers in the response, but I thought I'd ask if it's not too much trouble:)

In Chrome I'm seeing as a
POST http://localhost:8000/api/signup 403 (Forbidden)_createXHR @ signup.min.js:45329createXHR @ signup.min.js:45168jsonFetch @ signup.min.js:45105(anonymous function) @ signup.min.js:45038(anonymous function) @ signup.min.js:44286Form.onSubmit @ signup.min.js:44525React.createElement.React.createElement.onSubmit @ signup.min.js:44546ReactErrorUtils.invokeGuardedCallback @ signup.min.js:10883executeDispatch @ signup.min.js:10683executeDispatchesInOrder @ signup.min.js:10706executeDispatchesAndRelease @ signup.min.js:10136executeDispatchesAndReleaseTopLevel @ signup.min.js:10147forEachAccumulated @ signup.min.js:11089EventPluginHub.processEventQueue @ signup.min.js:10352runEventQueueInBatch @ signup.min.js:11118ReactEventEmitterMixin.handleTopLevel @ signup.min.js:11134handleTopLevelWithoutPath @ signup.min.js:23051handleTopLevelImpl @ signup.min.js:23031Mixin.perform @ signup.min.js:13464ReactDefaultBatchingStrategy.batchedUpdates @ signup.min.js:19037batchedUpdates @ signup.min.js:12969ReactEventListener.dispatchEvent @ signup.min.js:23162
signup.min.js:44241 action RECEIVE_RESPONSE @ 12:57:30.362

Request URL:http://localhost:8000/api/signup
Request Method:POST
Status Code:400 Bad Request
Remote Address:<IP_ADDRESS>:8000
Response Headers
view source
cache-control:no-cache
Connection:keep-alive
content-encoding:gzip
content-type:application/json; charset=utf-8
Date:Wed, 02 Mar 2016 02:58:25 GMT
strict-transport-security:max-age=15768000
Transfer-Encoding:chunked
vary:accept-encoding
x-content-type-options:nosniff
x-download-options:noopen
x-frame-options:DENY
x-xss-protection:1; mode=block
Request Headers
view source
Accept:application/json
Accept-Encoding:gzip, deflate
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Content-Length:50
Content-Type:application/json
Cookie:crumb=n-at0fHm_SaBT5L1iVEjeRwyJ_KK7p6N51XYeBt6pGh
Host:localhost:8000
Origin:http://localhost:8000
Referer:http://localhost:8000/signup
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
X-CSRF-Token:n-at0fHm_SaBT5L1iVEjeRwyJ_KK7p6N51XYeBt6pGh
Request Payload
view source
{name: "", username: "", password: "", email: ""}
email: ""
name: ""
password: ""
username: ""

Thanks for opening an issue. Did you figure things out?

Yes I did, thank you. The error in the console for the bad request was throwing me off, but that is the expected behavior when using that method for returning the validation values.


Designing nested contexts

Just like ACSets, making a context struct has two steps. The first step is declaring the context (analogous to declaring the schema). We might also have an analogous naming convention to schema declaration, such as CtxArena.
CtxWrappedHom = @context ThCategory [dom::Ob, codom::Ob, morphism::Hom(dom, codom)]

The second step is to declare a struct that is based on that context. There are two options here. The first is to declare a model-specific struct, in which case we pass in a model as part of the struct declaration process, get the types associated with type constructors from that, and then only use the type parameters of the model as type parameters for the struct.
This might look something like:
@context_struct_concrete FinSetC FinFunction(CtxWrappedHom)

# =>

struct FinFunction
  dom::Int
  codom::Int
  morphism::Vector{Int}
end

The second is to declare a model-generic struct, which has type parameters for each type constructor and then additionally a type parameter for the model.
@context_struct_abstract WrappedHom(CtxWrappedHom)

# =>

struct WrappedHom{Ob, Hom, M <: Model{ThCategory.T, Tuple{Ob, Hom}}}
  dom::Ob
  codom::Ob
  morphism::Hom
end

We should also have an AnonContext struct, which wraps a NamedTuple, and then also a DynamicContext struct which wraps a Vector{Any}.

I think that we are going to have a ton of different structs if we are using the concrete option. The benefit is going to be avoiding the error message problem we have with ACSets. This would be a good issue to surface with Jeff.


Inline bold and italics not working

I don't get inline bold or italics (I'm guessing I'm configuring something wrong, but no clue what :( )
The code
This is not bold **This is bold**
*This is italics*

```python
def  you_can_see_inline_works()

Actual behavior

Now when I disable TS, I get what I'd expect with the default vim highlighting

I can workaround this with the following settings, but it results in me losing the treesitter markdown speedups
require'nvim-treesitter.configs'.setup {
highlight = {
additional_vim_regex_highlighting = {'markdown','markdown_inline'},
},
}

Works for me. Make sure your color scheme sets or links the correct highlight groups (which are different from the legacy syntax groups). In any case, this is not a parser issue so OT here.

Exactly, this is possibly a problem with neovim or your specific configuration, but not with this parser.

@clason  - Thanks, I'm guessing you're right, but not sure how to debug.  Can you share the highlight groups I need to light up to verify?

use :Inspect

(Sorry for the n00b questions, it's hard to find simple documentation here, feel free to link me that)
Here's what I'm getting for inspect and inspect tree.
Does this match what you get? Assuming it matches, how do I connect from here to neovim syntax highlighting?

:InspectTree

You need to have the cursor on the exact text you want to :Inspect: (:h Inspect)

TL;DR: Install a TS compatible colorscheme. I picked: https://github.com/catppuccin/nvim
Details
I now understand what you're telling me. TS is creating syntax elements  correctly, but no highlight is configured for that (I'm using the vim default color schemes).  You can see this for yourself:
Install the  TSPlayground and then :TSHighlightCapturesUnderCursor to see what the TS element was.
You can see something similar with syntax files via:
:echo synIDattr(synID(line("."), col("."), 1), "name")

You can then bind the highlight group to the TS element
highlight link @text.emphasis htmlItalic
highlight link @text.strong htmlBold

Install the TSPlayground and then :TSHighlightCapturesUnderCursor to see what the TS element was.

:Inspect does the same (but better) and is built-in. (playground is deprecated)


make validate_features function

Copying over from #85 ...

I had to comment out some checks in the main AtomGraph constructor that were validating that the encoded features actually matched the featurization (because it now dispatches on AbstractFeaturization rather than GraphNodeFeaturization specifically), so we could just make a new function like validate_features(encoded, fzn) that would dispatch across different featurization types, and if you fed in a DummyFeaturization it would always say it was okay.

The abstract dispatch is actually already there in #87 so "all" that remains is actual implementations (envisionable, though certainly not entirely trivial).

Oopsies, somehow my browser double-created this issue, closing as duplicate.


Swiper doesn't stop propagating the click event.

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 6.4.5.

Platform/Target and Browser Versions: macOS, Windows, IOS, ANDROID, CHROME, ETC.

Live Link or JSFiddle/Codepen or website with issue: https://codesandbox.io/s/beautiful-hopper-c4su4

What you did
Created a horizontal swiper with a click event attached to every slide.
Expected Behavior
Prevent click propagation if no swipe gesture detected.
Actual Behavior
Open the code sandbox console. Click in the top region of slide 0. Without releasing the mouse button move to the bottom region of slide 0 keeping the movement vertical as much as possible. Release the mouse button. The console should log click: 0.

It might be a different problem but i have issues when clicking on a link inside a slide. Nobody experience this ? you can try with Chrome on https://swiperjs.com/ by clicking "Get started" or every other links...

I have this issue on mobile safari

It might be a different problem but i have issues when clicking on a link inside a slide. Nobody experience this ? you can try with Chrome on https://swiperjs.com/ by clicking "Get started" or every other links...
edit: i think it's my Chrome, dunno why i have this behavior. Sry guys for this comment.

I have also have this issue. @proov did you ever find a resolution to it?

I have the issue on mobile chrome.

I had a problem with links not working with React on Mac and this worked for me:

update to latest version 9.1.0
removed allowTouchMove: false from my config
added threshold: 10000000 so the user still can't move the slides with dragging

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


[BUG] Expected a 422 response when model validation fails, but got a 500 instead.

Describe the bug
When responding with a list of JSON objects, if any (or all) of the models created from that JSON fails, I get a 500 response without validation details.
To Reproduce
Steps to reproduce the behavior with a minimum self-contained file.

Create a file with:

from datetime import date
from typing import List

from fastapi import FastAPI
from pydantic import BaseModel

class TheModel(BaseModel):
    from_date: date
    to_date: date

app = FastAPI()

@app.get(
    '/',
    response_model=List[TheModel],
)
def get():
    malformed = {'from_date': None, 'to_date': None}
    return [malformed] * 5

Visit the endpoint / with a browser, wget, curl, etc.

$ wget http://localhost:8080/
HTTP request sent, awaiting response... 500 Internal Server Error

(The output from running uvicorn)
Traceback (most recent call last):
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 376, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/fastapi/applications.py", line 140, in __call__
    await super().__call__(scope, receive, send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/applications.py", line 134, in __call__
    await self.error_middleware(scope, receive, send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/middleware/errors.py", line 178, in __call__
    raise exc from None
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/middleware/errors.py", line 156, in __call__
    await self.app(scope, receive, _send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/exceptions.py", line 73, in __call__
    raise exc from None
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/exceptions.py", line 62, in __call__
    await self.app(scope, receive, sender)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/routing.py", line 590, in __call__
    await route(scope, receive, send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/routing.py", line 208, in __call__
    await self.app(scope, receive, send)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/fastapi/routing.py", line 140, in app
    exclude_unset=response_model_exclude_unset,
  File "/home/tzimmerman/envs/demo/lib/python3.7/site-packages/fastapi/routing.py", line 72, in serialize_response
    raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: 10 validation errors for TheModel
response -> 0 -> from_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 0 -> to_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 1 -> from_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 1 -> to_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 2 -> from_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 2 -> to_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 3 -> from_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 3 -> to_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 4 -> from_date
  none is not an allowed value (type=type_error.none.not_allowed)
response -> 4 -> to_date
  none is not an allowed value (type=type_error.none.not_allowed)

It returns a 500 response
But I expected it to return a 422 response

Expected behavior
I would expect 422 response with the validation error details.
Environment

OS: [Linux]
FastAPI Version [0.44.1]
Python [3.7.3]
Starlette [0.12.9]
Pydantic [1.2]
Uvicorn [0.9.1]

@tazimmerman I looked into this and thought about it more, and I'm not sure it actually should be a 500 instead of a 422.
A 422 is intended to indicate that the user submitted something invalid as part of their request.
But in this case, it was your server's code that was responsible for producing the response that failed validation. So I think a 500 is actually probably right (since that is used to indicate an error in the server).

If you want FastAPI to handle this differently, you could just add an exception handler for ValidationError.

Hmm. You're right. During some early iterations, the 422 made sense as the validation errors were directly tied to the input from the client, but as I reworked some of the endpoints to rely less on client inputs, it never occurred to me that a 422 no longer made sense when it's not actually due to a client error.
The exception handler is a good suggestion, although now that I'm giving it more thought, I should probably construct the models, handling the validation errors myself, and return them directly in the endpoint. This way I can combine the legit results with the errors. In my case I don't want to abort the request when, for example, of 1 of 1,000 small-ish objects fail validation.
Sorry for wasting your time on this!

No problem! Thanks for contributing, and please keep posting any questions you have or bugs you notice.

Thanks for the help here @dmontagu ! :clap: :bow:
Thanks for reporting back and closing the issue @tazimmerman  :+1:


refactor: set redirect url instead of making it with bundle identifier

Why u close this PR? I think that was a good idea.

Messed up and introduced a bug - reopened a fixed version of my PR there: https://github.com/fa-fifi/keycloak-wrapper/pull/27


iOS View::Pick() cannot obtain the node info of gltf

⚠ Issues not using this template will be systematically closed.
Describe the bug
using View::Pick() method
iOS cannot obtain gltf nodes, but Android can directly obtain model nodes.
To Reproduce

In the Filament render method,
The calling method is as follows：
self.filaEngine.view->pick(80, 80, [&self](View::PickingQueryResult const& result) {
const char* name = self.filaAsset.asset->getName(result.renderable);
});
PickingQueryResult returns empty

Expected behavior

iOS can return correct results like Android
Does iOS not support this kind of call?

Screenshots

Logs
If applicable, copy full logs from your console here. Please do not
use screenshots of logs, copy them as text, use gist or attach an uncompressed file.
Desktop (please complete the following information):

OS: [e.g. iOS]
GPU: [e.g. NVIDIA GTX 1080]
Backend: [OpenGL/Vulkan]

Smartphone (please complete the following information):

Device: [e.g. Pixel 2]
OS: [e.g. Android Pie 9.0]

Additional context
Add any other context about the problem here.

Picking works on iOS, but you have to be careful to convert UIKit coordinates into Filament's. See my PR for example usage on iOS, in particular, this code which converts from UIKit's coordinate system to what Filament expects (respecting the bottom-left origin and contentScaleFactor).


[2.93.2] IT crashes Blender when 'Cancel Render' button is executed and render isn't finished

Running on Blender 2.93.2 with the latest Renderman and patch available on GitHub.
If you press 'Cancel Render' in IT and the render isn't complete (not reaching max stated samples?), Blender will crash.
Doesn't crash Blender if the render has finished. Can stop render within Blender using the 'Stop IPR' button (Blender isn't very responsive when rendering to IT though).
Not sure if matters, my sys specs:
Geforce RTX 2070 Super
Ryzen 9 3950X

This is a known issue. It requires some changes to the core of renderer to support canceling from "it".


Issue with appoint parameter

Hi guys, I have gotten issue during compilation and have no idea how to fix it.
The argument type "typeof A" impossible appoint parameter type "{new (): any; new (... args: any []): any;}"

@someannotation
class A {
    constructor(a: string) {

    }
}

here someannotation function
export function someannotation(clazz: Class){

}

here Class definition
 export type Class = {
        new (): any;
        new (...args: any[]): any;
    };

Are there any way to declare new (something here):any that would be available for any kind of constructor include abstract class

This isn't one of our error messages. Are you using WebStorm?

nope, it is in russian language.
here is the original message :
TS2345	Аргумент типа "typeof A" нельзя назначить параметру типа "{ new (): any; new (...args: any[]): any; }".	Typejector	D:\WorkSpace\VisualStudio\Project\Typejector\Typejector\app.ts	2

Also, our language service seems to be fine with it.

Just tried it out with 1.6 beta, seeing it. The issue is that your type alias shouldn't have both new (...args: any[]): any; and new (): any; because it requires that A needs both constructor overloads. Try removing new (): any;.

Yep, I see, but I still have this issue in my VS 2015. I`m using TS 1.6-beta.

oh, yep it  work fine, but what about abstract class? Ara there any way to use Class for abstract classes

Here is an example of code
type Class = {
    new (...args: any[]): any;
};

function someannotation(clazz: Class) {

}

@someannotation
abstract class A {
    constructor(a: string) {

    }
}

I believe that for now, the only way to do that is to use Function instead of your Class type which what the decorator declarations right now. I've brought the issue here up in #4693.


[Feature Request] Mute exceptions for bots like Groovy

Can you provide more information? The bot's default behavior in ~2.0+ versions is to completely ignore users that aren't explicitly linked to an in-game player

My mistake, I just realized this is something that can't be done since the players must be deafened.


List chats in descending order of creation

I would like to take this up

Fixed in BE: https://github.com/coronasafe/ayushma/pull/279


example download using vault-name and archive-id

Add an example of a download using vault-name and archive-id. I wasn't sure how to do an example using filename as describe in the readme?

:+1:


Enable task execution and status update in background

https://grips.semantic-web.at/x/pwWBB

Done as a subpart of #105.


Expose unique_ptr nullability more idiomatically in Rust

Currently cxx::UniquePtr<T> in Rust is equivalent to std::unique_ptr<T> in C++, which is sensible.
However, sometimes we know a particular UniquePtr is never supposed to be null:
mod ffi {
    extern "C++" {
        type C;
        fn create() -> UniquePtr<C>; // never supposed to be null
        fn with_ref(c: &C);
    }
}

This ends up being inconvenient from the Rust side because every call to with_ref is going to do a nullness check as part of turning &UniquePtr<C> into &C to pass as the argument.
Some possibilities that would maybe be better:

Expose an optional second generic parameter on UniquePtr which declares non-nullability of the pointer.
extern "C++" {
    fn create() -> UniquePtr<C, NonNull>;
}

Such a pointer would be checked for null as part of the return, and subsequently not require any runtime check when derefing to &C.
This isn't great because currently we promise that none of our generated code involves any runtime checking. Maybe something with an attribute would be able to make it more obvious that the programmer is requesting a check.
extern "C++" {
    fn create() -> #[check_nonnull] UniquePtr<C>;
}

Or, break the equivalence between cxx::UniquePtr<T> and std::unique_ptr<T> and declare that UniquePtr is non-nullable, requiring Option<UniquePtr<T>> if the programmer really intends a nullable one.
This isn't great either, because we want to build a real equivalency between corresponding types on either side of the language boundary, but it could turn out to be the least bad approach in this case.

Perhaps we could define a NonNullUniquePtr<T> which has a corresponding non_null_unique_ptr<T> in C++.
There would be a runtime check for NULL when you construct the non_null_unique_ptr<T> but there would be no check as the value moves across the FFI boundary, so it would basically push the runtime check into the C++ code (maybe where it belongs).


Addition of spectral information

First, let met say thanks for this cool package - so much better than converting sif files to ascii every time! I was missing the ability to extract the wavelength for files that contain spectra, so I added it: you can check it out here: https://github.com/drs251/sifreader I also added the ability to export to xarray DataArrays instead of numpy arrays, and I made some small tweaks here and there. A big change was that I had to switch self.height and self.width in read_block() and read_all() to get it to work with my files. I have two questions for you: could you check if the new version still works with your data, and if it does, would you be interested in a pull request to get some or all new features in the main project?

Hi @drs251,
Thanks for letting me know. I would be happy to accept a pull request, just do not forget add yourself as an author in the package information =.=
In terms of the height and width information, my image is a square one and cannot really differentiate the height and width, it is possible that I made a mistake.
Also, I can read the wavelength information of my file with your code, but our camera does not have a spectra capability, so please make sure it works with your file.
If it is possible, I would like to suggest you add your sif file as a test file (and some test code, if possible) in your pull request, in case we will have other changes to our code in the future.
Thanks again for your contribution.

I think adding some test files is a good idea, but all the files I have are rather large. I'll try to make some smaller sif and ascii test files this week, so they can be compared. It would also be nice to be able to distinguish between files with and without spectral information, I'll see if I can make it work. In any case, I'll make a PR later this week.

@drs251 Thanks for your pull request. I have tested on my local machine and merged the pull request. I have also uploaded a new version to PyPI.


Use select dropdown for theme selector instead of textbox

Is your feature request related to a problem? Please describe.
The issue is once a user installs a theme, they don't know the exact technical name the editor uses to identify the theme. The theme selector expects the user to enter this name into a textbox. This makes changing themes an exercise in guessing and memory gymnastics
Describe the solution you'd like
Use a select dropdown for the theme selector instead of a textbox.
Describe alternatives you've considered
A select dropdown is best, but some radio buttons could work. The issue with radio buttons is that more themes mean more buttons, cluttering the UI.
Additional context
lapce allows users to install themes from the marketplace. A user only knows the friendly marketplace name and not the technical identifier. Making changing themes non-trivial

cc #302
In the meanwhile, you can select themes using the command palette. Press F1, type in Theme, Select Change theme and you have a (well hidden) dropdown.

Fixed via https://github.com/lapce/lapce/pull/1938


[BUG] repeat CITATION

Description
repeat CITATION
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

Logs
No response
Browsers
No response
OS
No response
Additional information
No response

Working on a fix for this.


Did you finished all stuffs on the backlog?

Hi,
Currently the source code for BMEAN doesn't have ability to save changes and I see:
"On the backlog
This sample is a work in progress. Among the features yet to be implemented:
Place the order (and save it to the database)
Client- and server-side validation
Deliver a delicious, hot pizza to your laptop"
So did you implement the save changes function yet? if no, can you instruct me to do that?
Thanks

Any update on the MEAN stack? it's very popular.. Is it a pretty big undertaking?

It's still backlogged. I don't know if there is a MORE trivial task that has taken this long.   No other explanation. Maybe you want to contribute?

we'll try to take a look again and use it again and see what works and what doesn't. Do you happen to have a list of what works and what isn't? I know there are some pages on the website on how to use it with node.js and mongodb. thx

It's been a while (too long) since I looked at this, not because I think it is unimportant but because I've had so much else going on and I couldn't delegate it.
The zza-mean sample is/was a refactoring of the express side of the zza-node-mongo which I felt needed some cleaning. I don't think I finished it and I know I didn't announce it. zza-node-mongo all works ... with node/express/mongo. There is even some save code on the server. It just doesn't have a UI for saving anything.


viosock driver inf sign failed through microsoft

Discussed in https://github.com/virtio-win/kvm-guest-drivers-windows/discussions/894

Originally posted by xuehuihui March 13, 2023
error log：
Error 1303 in viosock.Inf, line 99 : Found legacy AddReg operation defining co-installers (CoInstallers32).
Failed INF validation. INF did not pass Desktop validation (InfVerif /k).

i read this patch viorng: Remove coinstaller from the INF. Does viosock also need to be handled in this way? @MartinDrab

@xuehuihui Yes, same should be done with the viosock driver


fix: value contains line breaks make unmarshal failed

Problem:

Can not save resoruce that attributes contains new line charactors.
Solution:

Escape special characters before unmarshal json.
Related Issue:
#2117

Give some test cases to explain this.

Give some test cases to explain this.

updated with test cases