Update generator script

Clang v0.18 will be adding an experimental C++ environment for parsing C++ source code.
x-ref: https://github.com/JuliaInterop/Clang.jl/issues/470

I only tested it on mac-aarch64, so if it doesn't work on your machine, please report the issue to Clang.jl. ;)

Tested on linux-x86-64 (through WSL) and works great!
I also tested on Julia 1.10 without issues so I think we can get rid of the Manifest.toml that was checked in as well?

Tested on linux-x86-64 (through WSL) and works great! I also tested on Julia 1.10 without issues so I think we can get rid of the Manifest.toml that was checked in as well?

I guess so, but we should put a compat bound to Clang.

Thanks @Gnimuc for your help!


Failed to authenticate with Solar Sunsynk. Please check your username and password.

Triple checked I'm using the right credentials. Is it possible you're only connecting to Region 1?

Ahh, I see there is two regions. I tried to use region 2 with my credentials and it won't log me in. When selecting region 1 my credentials work. I see that they are using two different API endpoint for each region.
Region 1
Uses
pv.inteless
Region 2
Uses
api.sunsynk.net
Looks like they are starting to transfer all of their old client from region 1 to region 2. Will have to wait for my credential to be available on region 2 to update the integration for home assistant.
If you are willing to assist me, I can ask you to get me the new responses for region 2? And then I can prompt the user as ask which region they are and use the correct endpoint until all users are on region 2 and we don't need the to use region 1 anymore..

Yeah I'd love to help, tell me what to do.

@Nurgus  I've successfully incorporated the two regions into our integration. Given that the endpoint for Region 2 is presumably the same, I've proceeded with an update. Would you kindly verify whether the authentication process is functioning smoothly? Furthermore, if everything is working correctly, could you please confirm whether your sensor reflects the respective updates

Yeah! That's done the trick, I can see 44 sensors!

I'm thrilled to hear that you can now see all 44 sensors!
I appreciate your feedback about the default entity names, and I absolutely agree with you. Having unique and more descriptive sensor names will significantly reduce ambiguity and the chance of conflicts.
I'll proceed to update the naming convention as per your suggestion. I believe "sensor.sunsynk_soc" and "sensor.sunsynk_address" will give us more clarity and reduce confusion. In this format, the plant ID will help identify the specific source of the data, which will be particularly helpful in environments with multiple devices.
Please allow me some time to implement this change, and I will notify you as soon as it's done.
Thank you once again for your valuable feedback, and please feel free to reach out if you have any more suggestions or concerns.

I'm over the moon to have this working, thanks so much for doing it.
Bit more feedback. If you give the numeric sensors "state_class: measurement" then they'll show up properly as numbers in graphs and more-info rather than as a series of discrete events.
For power related sensors if you set
device_class: battery
or
device_class: power
then they'll get the appropriate icon, changing battery status and all that good stuff set automatically by home assistant.

I'm thrilled to hear that the integration is working well for you, and your feedback is most welcome!

Adding the "state_class: measurement" attribute to numeric sensors is a great idea. This will improve the display in graphs, and I'll aim to implement this in the next release.

Setting the "device_class" to "battery" or "power" where relevant is an excellent suggestion. The automated icon adjustments and dynamic battery status tracking will certainly enhance the user interface.

Including a "unit_of_measurement" attribute for each sensor will provide more clarity and context for users reading the measurements. I'll ensure this is incorporated.

I'll make the necessary changes and push them to the repository soon.
Feel free to continue sharing any more feedback or suggestions you may have.

Looking great in the latest version. I've got more feedback, I'm starting a new issue.


Update dependency neo4j to v5.23.1

This PR contains the following updates:

Package
Type
Update
Change

neo4j (changelog)
project.dependencies
patch
==5.23.0 -> ==5.23.1

Release Notes

neo4j/neo4j-python-driver (neo4j)
v5.23.1: Neo4j Python Driver 5.23.1
Compare Source
https://github.com/neo4j/neo4j-python-driver/wiki/5.x-changelog#5231

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

cf https://github.com/robert-koch-institut/mex-backend/pull/140


Fix TypeScript errors

Specify nodejs in tool-versions
Remove empty breadcrumbs stories.tsx file
Resolve typescript errors

@acostanzo @dgalarza should we create an issue to run tsc as part of the test suite in anchor?

@davidrf I'm not sure its necessary to attach it to the test runner command. In practice I imagine most folks are getting typescript feedback while they are coding and not leaving it unchecked, if not, ultimately CI should fail if there are typescript compilation errors.
What I don't quite understand is how main was passing. I only noticed a bunch of TS failures outside of the work I was doing when I opened a draft for the sortable table.


Refactor dataclasses, and get simple generics working

Selected Reviewer: @samuelcolvin

please review

and conflicts, please update.

please review

since you said LGTM other than notes, and all the review comments are addressed I will merge this now, but can revisit if you want changes.


Fix S3 tests failures

Currently S3 tests are broken due to invalid S3 credentials, which is breaking our CI runs and blocking pythonbinding release. We may want to switch to localstack or minio for S3 integration tests instead so it's easier for the community to jump in and fix stuff if anything breaks or new test data need to be added.

➕ on localstack since it allows dynamodb integration too


Update steps use timepoint

Previously, the steps used a gint64 value as timepoint. This pull request replaces the guint by PsyTimePoints. To timepoint one can add a PsyDuration, which allows for clear and correct timing.

Additionally, this pull request adds the building of the GObject introspection. So that a Psy-0.1.typelib/and Psy-0.1.gir are being generated.


chore: centralize API usage

This PR wants all the example apps and the Go framework to use the API in the ./api folder instead of copying the API files into their subdirectory. So if you update the API files, every app will use the latest version of them.
Fixes https://github.com/gnolang/gnonative/issues/103

... The same error for Android. I do make build.android. I open and run the gnoboard Android project. When the app starts it prints:
Android Bundling failed 1278ms
Unable to resolve "@bufbuild/protobuf" from "../../../api/gen/es/rpc_pb.js"

Problem with Wails. In a fresh clone of this branch, I go to examples/wails and follow the new README (including patch files). wails dev prints:
    src/hooks/use-gno.ts(36,25): error TS2307: Cannot find module '@gno/api/gnonativetypes_pb' or its corresponding type declarations.

Problem with new-app. In a fresh clone, I enter APP_NAME=myapp make new-app. It prints:
/Applications/Xcode.app/Contents/Developer/usr/bin/make new-react-native-app OUTPUT_DIR=/Users/jefft0/temp/gnonative/examples/react-native
creating a new gno awesome project at: /Users/jefft0/temp/gnonative/examples/react-native
cd /Users/jefft0/temp/gnonative/examples/react-native && yarn create expo gnoboard --template expo-template-blank-typescript
yarn create v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Installed<EMAIL_ADDRESS>with binaries:
      - create-expo
[##] 2/2The directory gnoboard has files that might be overwritten:

  .eslintrc.json
  .prettierignore
  .prettierrc
  .storybook
  App.tsx
  Makefile
  REAME.md
  android
  app.json
  assets
  babel.config.js
  ios
  metro.config.js
  package.json
  src
  tsconfig.json
  yarn.lock

Try using a new directory name, or moving these files.

error Command failed.
Exit code: 1
Command: /Users/jefft0/.yarn/bin/create-expo
Arguments: gnoboard --template expo-template-blank-typescript
Directory: /Users/jefft0/temp/gnonative/examples/react-native
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
make[1]: *** [new-react-native-app] Error 1
make: *** [new-app] Error 2

The problems with gnoboard mentioned above are resolved.
Still a (different) problem with Wails. I followed the new README. wails dev prints:
    vite v3.2.8 building for production...
    transforming...
    ✓ 22 modules transformed.

    [vite]: Rollup failed to resolve import "@bufbuild/protobuf" from "../../../../api/gen/es/rpc_connect.js".
    This is most likely unintended because it can break your application at runtime.
    If you do want to externalize this module explicitly add it to
    `build.rollupOptions.external`
    error during build:
    Error: [vite]: Rollup failed to resolve import "@bufbuild/protobuf" from "../../../../api/gen/es/rpc_connect.js".
    This is most likely unintended because it can break your application at runtime.
    If you do want to externalize this module explicitly add it to
    `build.rollupOptions.external`
        at onRollupWarning (file:///Users/jefft0/temp/gnonative/examples/wails/myproject/frontend/node_modules/vite/dist/node/chunks/dep-f11f7337.js:45909:19)
        at onwarn (file:///Users/jefft0/temp/gnonative/examples/wails/myproject/frontend/node_modules/vite/dist/node/chunks/dep-f11f7337.js:45680:13)
        at Object.onwarn (file:///Users/jefft0/temp/gnonative/examples/wails/myproject/frontend/node_modules/rollup/dist/es/shared/rollup.js:23263:13)
        at ModuleLoader.handleResolveId (file:///Users/jefft0/temp/gnonative/examples/wails/myproject/frontend/node_modules/rollup/dist/es/shared/rollup.js:22158:26)
        at file:///Users/jefft0/temp/gnonative/examples/wails/myproject/frontend/node_modules/rollup/dist/es/shared/rollup.js:22119:26

The problem with make new-app with iOS is resolved.


Support for additional headers

At the moment it looks like call_impl supports a fixed set of headers when starting a request. The wire format outlines a few others http://www.grpc.io/docs/guides/wire.html.  in particular I'm wondering there is a way to start a request with the authorization header to authenticate requests? If not, would you be open to a pull request adding that support?

Yes, pull request would be great. But before starting implementation, let's discuss, what API for specifying additional header should look like.

Sry for the slow reply, I'm now swinging back in to see the state of things.
so looking that this example for instance you may want to provide an interface for user defined headers I was digging a while back and found this vec of the required ':'-prefixed headers. For the non :-prefixed headers, my first through would be to provide those as vec/hashset of httpbis::Headers.
I'm specifically interested in ( and blocked by ) send the authorization header. I took a look at go grpc's auth docs
After reading their strategy I changed my mind a bit. It's not really a thing I want to have to provide on each request but configuration I'd want to set once. I dug around a bit more and identified GrpcClientConf which may actually be a nicer candidate for users to configure things default headers like authorization and timeouts. If you capture and add the conf data to the GrpcClient instance, the call_impl could just append self.conf.headers to the list of headers it builds up for the request.
I like this best because the bootstrapping of the client tends to be where you want to configure authorization credentials and other details.
There's a separate question about structured Headers. I haven't looked into specific headers have defined value types. But I think it would be simplest to expose your httpbis::Header type as the interface for providing headers


fix bug to export entire drawing to UIImage

When exporting JotView drawing to UIImage, only part of the drawing gets exported if the exportSize is big. This happens because the maxTextureSize is smaller than the JotView frame size used in our project.
Fixed it by setting maxTextureSize to exportSize instead of the main screen size. This fix is made in exportImageOnComplete in JotView.m

ah good find - this'll still fail occasionally though it looks like. If there's any textures in cachedTextures inside JotTextureCache, then it'll return one of those, even if the sizes don't match.
I think it also needs a check there to make sure the returned cached texture fits the requested size

Ok - I've merged this in, and also added a bit in the texture cache to make sure any returned texture fits the requested size. Thanks!

That makes sense. Thank you for open sourcing this drawing algorithm! I am using this framework for drawing in an app I am making. JotUI is way better than any other frameworks we found out there!
Looking forward to contribute more if needed while we use this in our project. Thanks!

Glad you've found it helpful, and thanks for contributing back!

Just a heads up - I found a related bug that looks like its been there a while. I just pushed up a fix to b8298c5a93. The result was that the texture size was getting doubled when it shouldn't have (basically having the scale multiplied in twice to the dimensions).
This shouldn't cause you any problems, but mentioning it here in case something comes up.


Remove Unnecessary Comments

Subject of the issue
Remove unnecessary comments from different files.

Hello sir, could you assign this work to me

Sure!

Hello sir can I work on it for swoc ?

@Shubhodaya Thank You for your interest! But presently @Durgesh4993 is already working on it. You can pick other issues if you want!

sir, i will remove comments it right or wrong, could you verify code

Closed as completed by #10


Support tcp transport protocol

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Describe the Feature
Support for configuring vpn transport protocol. Currently, its default which is udp.
Expected Behavior
New configurable variable introduced for transport protocol
Use Case
Sometimes udp is not supported Or doesn't work well with all internet providers.
Describe Ideal Solution
A variable added to variables.tf file
variable "transport_protocol" {
  description = <<-EOT
    One of `udp` or `tcp`
  EOT
  type = string
  default = "udp"
  validation {
    condition     = contains(["udp", "tcp"], var.transport_protocol)
    error_message = "Invalid protocol type must be one of: udp, tcp."
  }
}

Add transport_protocol    = var.transport_protocol to https://github.com/cloudposse/terraform-aws-ec2-client-vpn/blob/master/main.tf#L152
Ref: aws_ec2_client_vpn_endpoint

@pratanini thanks for the issue!
This would be an easy contribution if you'd like to give it a try. We love extra help because we only have so much time and we're constantly running around.

@pratanini and @nitrocode I created a PR with the changes here. Tested and works on deployment.


[build] Remove remaining dependencies on libatomic, for Android, BSD and Haiku

Follow suit from linux, #29581, tested on Android.
@drodriguez, spun this off from earlier unmerged pulls, as you asked.

@swift-ci please smoke test

@swift-ci please test Windows platform

@swift-ci please test Windows platform

@swift-ci please test Windows platform


Questions about logging in envoy proxy

Describe the feature request
I have some question about the management of log in envoy proxy:

where are the following logs from
The following are the logs of istio proxy that I got using kubectl logs $POD_NAME -n $NAMESPACE -c istio-proxy command, but I can't find anything related to them in the source code of envoy and proxy. I'm quite confused about where they come from.

2022-08-17T14:15:58.146322Z     info    Pilot SAN: [istiod.istio-system.svc]
2022-08-17T14:15:58.147664Z     info    Starting proxy agent
2022-08-17T14:15:58.147688Z     info    Epoch 0 starting
2022-08-17T14:15:58.147706Z     info    Envoy command: [-c etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --drain-strategy immediate --parent-shutdown-time-s 60 --local-address-ip-version v4 --file-flush-interval-msec 1000 --disable-hot-restart --log-format %Y-%m-%dT%T.%fZ   %l      envoy %n        %v -l warning --component-log-level misc:error --concurrency 2]
2022-08-17T14:15:58.216837Z     info    xdsproxy        connected to upstream XDS server: istiod.istio-system.svc:15012
2022-08-17T14:15:58.239258Z     info    ads     ADS: new connection for node:hello-world-client-pod.breakdown-test-1
2022-08-17T14:15:58.279532Z     info    ads     ADS: new connection for node:hello-world-client-pod.breakdown-test-2
2022-08-17T14:15:58.562451Z     info    cache   generated new workload certificate      latency=418.196642ms ttl=23h59m59.437563357s
2022-08-17T14:15:58.562504Z     info    cache   Root cert has changed, start rotating root cert
2022-08-17T14:15:58.562516Z     info    ads     XDS: Incremental Pushing:0 ConnectedEndpoints:2 Version:
2022-08-17T14:15:58.562554Z     info    cache   returned workload trust anchor from cache       ttl=23h59m59.437447872s
2022-08-17T14:15:58.562595Z     info    cache   returned workload certificate from cache        ttl=23h59m59.437427252s
2022-08-17T14:15:58.562722Z     info    cache   returned workload trust anchor from cache       ttl=23h59m59.437286188s
2022-08-17T14:15:58.562894Z     info    ads     SDS: PUSH request for node:hello-world-client-pod.breakdown-test resources:1 size:4.0kB resource:default
2022-08-17T14:15:58.563026Z     info    ads     SDS: PUSH request for node:hello-world-client-pod.breakdown-test resources:1 size:1.1kB resource:ROOTCA
2022-08-17T14:15:58.563084Z     info    cache   returned workload trust anchor from cache       ttl=23h59m59.436919739s
2022-08-17T14:15:58.563124Z     info    ads     SDS: PUSH for node:hello-world-client-pod.breakdown-test resources:1 size:1.1kB resource:ROOTCA
2022-08-17T14:15:59.701557Z     info    Readiness succeeded in 1.575580772s
2022-08-17T14:15:59.701865Z     info    Envoy proxy is ready

How can I output logs in envoy
For example, if I use ENVOY_LOG(info,$CONTENT) in envoy, where can I see the line of log.

Thank you for answering my question.
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ X ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ X ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

you can change the default logging level of envoy
istioctl proxy-config log <pod-name[.namespace]> --level debug

istioctl proxy-config log <pod-name[.namespace]> --level http:debug,redis:debug

@zirain
Thank you. This solved my problem.


chore: replaced ID with Type if it exists, and formatted createdAt and updatedAt

Current dependencies on/for this PR:

main

PR #180   👈

This comment was auto-generated by Graphite.


New PR to test SignCLA at 2020-05-13 11:06:56.695096377 -0700 PDT m=+3.112416854

Body of PR

indiv-pass-staging: test succeeded


How are 'future states' sampled?

https://github.com/facebookresearch/controllable_agent/blob/5a9950b07f1edcb4bddd04f5819379541793d975/url_benchmark/in_memory_replay_buffer.py#L157-L161
Hi - thanks for making your implementation public! I'm reading through the code alongside your NeurIPS/ICLR papers and I'd just like to clarify something about how 'future states' ($s'$ in the papers) should be sampled during updates.
In the papers, $s'$ is said to be sampled from $\rho$ independently from $(s_t,a_t)$, but in the attached snippet of code you appear to be sampling $s'$ from the future of the same episode as $s_t$ (using geometric discounting). This seems to be inconsistent to me. I understand why you might intuitively want to sample in this way (so that $s'$ is more likely to be 'reachable' from $s_t$) but as far as I'm aware that's not what's assumed in your theory and proofs.
Am I misunderstanding something here? Thanks in advance!

P.S. from my understanding, both DiscreteFBAgent and FBDDPGAgent currently use the replay buffer implementation from in_memory_replay_buffer.py rather than replay_buffer.py (the import of the latter is commented out). Is this the version used in the paper results?

Hi Ahmed, I appreciate you responding so quickly - this makes perfect sense, thanks!


README.md spells deployment wrong

Under the section: Using Publish Profile as Deployment Credential (recommended), deployment  is spelled wrong

Have fixed this with PR : https://github.com/Azure/functions-action/pull/66/files


Move KeyVault track 1 libraries to SDK.

This is the move of the KeyVault track 1 libraries to the SDK.

/azp run java - keyvault - ci

/azp run java - keyvault - ci

@weshaggard and @JonathanGiles this is to move the track 1 keyvault libraries over to the sdk/ folder. The macOS hosted build issue that was blocking this is now resolved.


Call correct delegate method in AggregateLinkCollector#getLinksForNested()

Calling the getLinksFor() delegate method was not intended, and results in a problem when having @Embedded objects, as those have no self link, nor an ID to put in a self link

It's covered by tests now (even though they are integration tests)


Full hermetic mode for run tasks

Once https://github.com/benchkram/bob/issues/97 is merged we should add https://github.com/benchkram/bob/issues/131 functionality for run tasks as well.

@zuzuleinen  this can also be closed?

@Equanox yes


Add a couple chai plugins

Add promise and function terminating assertion plugins for chai
chai-as-promised: A fluent language for asserting facts about promises.
dirty-chai: Function form for terminating assertion properties.

Might not need dirty-chai. Will investigate later today...


Feature/write complex valued data

Okay, here it goes:

reads and writes RGB, RGBA, Complex64 and Complex128 now

the new (additional) tests write RGB and RGBA using write_nifti

I left the old write_rgb_nifti in place, but it can be removed

I made a bit of a mess replacing LinearTransform with NiftiDataRescaler (I did not like the name LinearTransform), resulting in more code, but could clean this up more.

For reading there is a function into_nifti_typed_data() now, which provides a vec of the native type, for when an ndarray is not needed/wanted

resolves issue #105

This is ready for review, @nilgoyette @Enet4

Would you like me to change/add test cases, or is this enough for now? In principle, we could make tests where we write matrices of random content, read them back, and compare, but I feel the bitwise comparison to independently generated files is a better test. @nilgoyette @Enet4

LGTM. Thank you for your work!


featuremerge of profiles can be disabled by profile level.

Proposed changes
The merging of profiles requires ensuring the correctness of the profiles themselves. However, if merging is intended for troubleshooting correctness issues through profiles, errors may occur.
Moreover, the 'try-catch' does not catch exceptions related to profile merging. If merging fails, even the normal profile cannot be obtained.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Fix virtctl image-upload ignoring custom storage class argument

image-upload currently ignores the --storage-class that is passed by user,
adding processing of this argument
add unit test to verify custom storage class was set in PVC spec

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1876559
Signed-off-by: Alex Kalenyuk<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @mhenriks

/ok-to-test

looks good!
Just update the functional test to validate storage class

looks good!
Just update the functional test to validate storage class
Oh and may have to rebase to fix pull-kubevirt-generate

done

/retest

/approved

/retest

/lgtm

/test pull-kubevirt-e2e-k8s-1.17

/approve


Add guidance for new Stacks.js support to request accounts

Per https://github.com/hirosystems/connect/issues/209
We'll need to update the authentication guide to point developers instead to the new functionality for requesting accounts rather than authenticating users per se.
https://docs.hiro.so/build-apps/authentication

first refactors here, with some additional minor changes.

Closing it. Please reopen if it is still an issue.


Update README.md

Why are we not versioning it? Might be useful if we introduce a breaking change.

Why are we not versioning it? Might be useful if we introduce a breaking change.

Good point. I will introduce automated versioning release using changesets soon.


De-emphasize SAVEPOINT retries

Re: Transactions
Issue Description
The SAVEPOINT-based retry protocol is best considered an advanced optimization. It was more important in CRDB 1.x, but these days most apps are fine without it as long as they have a simple retry loop.
Implementing savepoint retries correctly is fairly subtle and most application writers shouldn't try; it should be left to framework developers, and users of frameworks that don't support this should be fine without it.
Suggested Resolution
At a minimum, remove "strongly recommended" from the savepoint option in "client-side intervention". Move the "client-side transaction retries" separate to a separate "advanced client-side retries" page and in this document only talk about basic non-savepoint retries.

@jseldess I think this should be a p-0 since its one of the most confusing aspects of this problem to implement. If users only need a retry loop, without any fancy adaptation, it could unblock many use cases. It doesn't solve those customers who are unwilling to add retry loops, but it does lower the burden of doing so, which may be enough.

Interesting! Does this mean that we should re-factor all of our "build an app" code samples to NOT emphasize SAVEPOINT? That's probably one of the most visible representations of our historical guidance.

I think so--but will let @bdarnell weigh in

Yeah, we should remove those from the "build an app" samples. Maybe keep them around as examples on the "advanced retries" page, but not on the main docs. The idea is that if you're using SQLAlchemy, for example, you can take advantage of the built-in savepoint retries, but if your framework doesn't do it for you you shouldn't worry about it.

OK, I'd say this needs to be considered a larger "docs project" then. @awoods187, we'll need to review and reprioritize this with Rich. My understanding is, once he's back in office, he'll finish up https://github.com/cockroachdb/docs/issues/4621. Prior to this discussion, the next project was either Hibernate retries or https://github.com/cockroachdb/docs/issues/4693. We can't do all of it this quarter, let alone for 19.2.

Closing in favor of https://github.com/cockroachdb/docs/issues/5035.


Javascript object keys highlighting

Information

Language: javascript
Plugins: none
Version: "prismjs": "^1.20.0"
Theme: material-dark

Description
I expect the object keys and curly brace to be highlighted differently.
I am not sure if this is a bug or something that requires custom implementation. (see screenshots)
Code snippet

The code being highlighted incorrectly.
  const test = new TYPE.Application({
    key1: viewDim.x,
    key2: viewDim.y,
    key3: 0x89ddff,
    key4: window.devicePixelRatio || 1,
    key5: resize()
  });

Expected:

Rendered:

Duplicate of #2336.


refactor(@embark/debugger): Move to embark-debugger

Move the debugger module to the embark-debugger package.
Handle case where debug is entered as a console command, and there is no transaction to be debugged.
NOTE: This PR has been rebased on top of, and depends on https://github.com/embark-framework/embark/pull/1597 (branch refactor/embark-i18n). Once that PR is merged, I will rebase this on top of master.

@michaelsbradleyjr - should be good to go now.

Rebased on top of latest master, can be merged once green!


Tweak gradle-build-action usages

What's the context behind this change? Is it faster? If the reverse PR was put up, I'd be inclined to accept so some context would help.

I see there are 3 gradle-build-actions used in build-android job, only 1 is enough in 1 job.


Add support for test.delete_unreferenced_snapshots

Either add it to the documented list of settings, or add support for such setting.

Is the behavior.update config in the config file sufficient? https://insta.rs/docs/settings/#tool-config-file

Thanks! I can confirm that this is the expected behavior!
Would be great if we can add some mappings of these rules from the CLI to the config file 😀

On reflection, I'm actually not sure having a delete_unreferenced_snapshots in a config file would make sense — it would mean that running any subset of tests would delete all other snapshots.
And IIUC it's not possible to know whether we're running a subset of tests...

Closing this since I agree that we should probably just cargo insta test --unreferenced=delete. This is to ensure that unreferenced snapshots are deleted only in "global run".
I would just resort to aliasing the command on the shell of choice to make this less verbose.
Thanks for the clarification on the config file options!


problem with One Drive app

One Drive app by MicroSoft icon disappeared on menu bar, and One Drive app couldn’t run and synchronize as well.
MacBook Air M2,2022
macOS Sonoma 14.2.1
Safari 17.2.1

please disable Hide Menu Bar Icons


fix: escape ampersand in ProxyCommand

Fixes #479.

I think ? will also need escaping for zsh, based on our user report.

@slushie good catch. I need to write some tests ;p


Add option for Custom Request Headers

cURL style header implementation
<command> -R header_key=header_value -R header_key_1=header_value ...
or
<command> --request-header key=value --request_header key=value ...

A Different approach to PR #72   - coded before realizing it existed.

Forgive me if I am dumb, but after commiting the changes, I ran the following three commands at my terminal as mentioned in .travis.yml
$ make testservice
$ make build
$ make testcli

make testcli does output things along the line of "RANDR" missing... and libudev: ...  but it eventually returns 0;
I'm wondering what caused the Travis CI build to fail, could anyone check it ?

Thanks. Will get back with changes.

Hi @MrSaints , I performed the changes. Please review the PR

@nootanghimire I've give this a test locally, and we should be good to go. Sorry it took longer than expected! 😓

Thanks for all your hard work @nootanghimire ! 😄 Sorry it took longer than expected.

No worries! And Thanks!


incompatible types with spanFrom operation

This:
shared void run() {
    value a = [0, *(0:runtime.maxIntegerValue-1)];
    value b = a[1...];
}

fails to compile with:
source/simple/run.ceylon:5: error: Ceylon backend error: incompatible types: Sequence<CAP#1> cannot be converted to Ranged<? super Integer,Integer,? extends Sequential<? extends Integer>>
    value b = a[1...];
              ^
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Integer from capture of ? extends Integer

Pfff. I don't get it. I know we tweaked how javac deals with the types we form, but still. I'm trying this in Eclipse and I can't actually form the Ranged<? extends Integer, Integer, ? extends Sequential<? extends Integer>> type as a declaration type.
I can, however use it in a cast, and in this case successfully cast a Sequence<? extends Integer> to it. Precisely what javac refuses to do here.
Even then, I can't then go and call spanFrom(Integer.instance(1L)) to it, because:
The method spanFrom(capture#2-of ? extends Integer) in the type Ranged<capture#2-of ? extends Integer,Integer,capture#3-of ? extends Sequential<? extends Integer>> is not applicable for the arguments (Integer)

It only works if I represent the type as Ranged<Integer, Integer, ? extends Sequential<? extends Integer>> (I fixed the Index type param to Integer rather than use a wilcard).
I can't quite understand the rule under which I should add a raw cast to make this pass.

Regarding the first Eclipse example, shouldn't it be super?
Ranged<? super Integer, Integer, ? extends Sequential<? extends Integer>>

Yeah, typo, that's the one I tried.

No you're right I got confused. So with super it's rejected even in the cast.

OK, so I think the ? super has to go, because Subrange refers to it. That's the reason why we don't do ? extends Integer for Element, not sure why we don't dothe same for contravariant type params.
Now, that doesn't explain why the raw cast is not added because IMO it should already be handled.

Fixed, but frankly I'm afraid I've only fixed a symptom of something bigger.

Glad it's fixed.
I spent some time trying to figure this out, and I mostly got a headache and a yearning for Java 4 non-generics. But I also found:
If you add back covariant wildcards (which I guess are currently elided?), the type is accepted by javac 7 & 8.
class Hello {
  //static class C<T, U, V extends C<? super T, ? extends U, ? extends V>> {} // works
    static class C<T, U, V extends C<? super T,           U, ? extends V>> {} // doesn't work

    static class D<U> extends C<Long, U, D<U>> {}

    public static void testing() {
      //C<? super Long, ? extends String, D<? extends String>> r = null; // works
        C<? super Long,           String, D<? extends String>> r = null; // doesn't work
    }
}

/*
    Reference - Ceylon generated code:

    class X<Index, Element, Subrange extends X<? super Index, Element, ? extends Subrange>>

    X<? super Integer,
           Integer,
           Sequential<? extends .ceylon.language.Integer>>
*/

The Eclipse compiler doesn't work for this, and the Java 7 compiler seemed to accept some other variations that Java 8 rejects.


network filters: add factory base to reduce boilerplate

Similar to the one previously done for HTTP.
Fixes https://github.com/envoyproxy/envoy/issues/2911
Risk Level: Low
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A

@jmarantz


[Agenda Item] Clarifying the project incubation approval process

Overview:
The project incubation approval process is confusing and has caused there to be lengthy delays in project approval.
The original intention to bring project approval to the OC was because of some concerns raised that projects we're being approved in one WG however should have existed in another. We didn't add clarity so this evolved to a dual approval process where it's unclear who has the ultimate rights to approve a project.
Since the OC meets monthly and sometimes meetings are cancelled, sometimes the agenda is long, a project can be approved by a WG and then wait months for OC approval and only then can people start working on it. Interest in working on some projects has fizzled out because of this.
The main function of the OC is around graduating projects. The WG's are best suited to decide if a project can be born, the OC is best suited to decide if a project deserves to graduate.
Adding this change to the language: https://github.com/Green-Software-Foundation/oc/pull/48
Summarize:

Only WG's can approve.
OC can comment/object.
If no objections from OC 2 weeks post WG approval, the project is approved.

Related topic: The type of agenda item you want to propose.

[x] Governance: New project
[ ] Governance: Other
[x] Process
[ ] External Engagement
[ ] Technology
[ ] Other

Related working groups:

[ ] Community
[ ] Open Source
[ ] Policy
[ ] Standards
[ ] Oversight Committee

Related issues or discussions:
Please list all related issues so that we can see the originating conversation, e.g. #10 or https://github.com/Green-Software-Foundation/discussions/discussions/5
More information:

Any other information you want to add.

Change implemented


replace ipfs/go-log with stdlib log/slog

chaser: integrate with main()s to set log file path, rotation rules, log level from env vars
https://github.com/brianolson/indigo/pull/2


Script doesn't roll

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1779
Describe the bug
Doesn't matter what i do, the script simply doesn't run, dk what to do
https://youtu.be/72FDGKFlBQ8
Video
https://youtu.be/72FDGKFlBQ8
Device model
MotoG31
Android version
11
Screen size
2400x1080
RAM
4GB

Are those black bars on the left and right side of the screen?

Yes

You need to set up a custom game area to exclude those black bars. Post a screenshot of fgo and I'll see if I can find those custom game area values for you

You need to set up a custom game area to exclude those black bars. Post a screenshot of fgo and I'll see if I can find those custom game area values for you

Custom values are 182 left, 64 bottom and 83 right

Custom values are 182 left, 64 bottom and 83 right

I can't find how to custom my display anywhere on my phone

Custom values are 182 left, 64 bottom and 83 right

Oh, just set the values on app, but still no answer

If it helps, the screen looke like this with the configs you've sent

The exact values are left=182, right=82, bottom=63.
Just 2 pixels off, but maybe that's it.
If it doesn't work, upload a video of the support screen loop again.

https://youtu.be/D2-NadaoWvY

With the new configs

Does FGA do anything in any screen? If not, try restarting your phone.

Does FGA do anything in any screen? If not, try restarting your phone.

Tried restarting and reinstalling the app, still doesn't do anything lol

Can you explain why your phone has a black bar at the bottom?
If you're using Gesture Navigation, try switching to 3 button and check if they disappear.

Can you explain why your phone has a black bar at the bottom?
If you're using Gesture Navigation, try switching to 3 button and check if they disappear.

I don't know why the black bar appears, only happens in fgo, already tried changing gesture navigation and changing to full screen, but nothing changes

Sorry, I'm all out of ideas. The rectangles look correct in your last screenshot.


modules/alias  features in orchard

i had a running solution of my project .but i changed the setting by disabling alias in module now i am getting Autofac.Core.DependencyResolutionException.
is there any way to solve this issue or enable the alias.

The solution might be to change the enabled features list directly in the database, like all the dependency graph of features that depend on Alias. Or you can copy the value from a clean setup.
You might also try with the command line tool to enable all the missing features.
Also remove the cache.dat file which is in app_data/sites so that the features list is not cached, after each operation, or the database changes won't be applied.


Social sharing

This is partially already done in #5 - however, the links are hardcoded to the test document and would need to be adopted I guess.


Bug: Data Preview Not returning text for Emissions Quarterly State

Wait! Most bugs should be entered in TestQuality. Proceed with caution.

Test Case
Test Case: TC819
Tester: Maegan
Steps to Reproduce
Scenario

Naviagate to CAMPD CDD
Query for Emissions Quarterly with State Aggregation
Enter in timeperiod "2020"
Preview Data
System returns blank table but does return a record count

Dev notes

Seems to be only happening on the UI Side as the download functionality still works

User Story
As a CAMPD User, I want to be able to preview the details of the records returning, so that I can be sure the queried information is what I want before downloading
Acceptance Criteria
Given a User is making a query on the CDD Page
When the User clicks preview data
Then the system displays the appropriate rows and columns with the appropriate data

@sgillEPA TC819 Passed


Add device HmIP-MIOB to Homematic IP Cloud

Description:

update upstream library to 0.10.7
adds HmIP-MIOB

the two main switches can be controlled (implemented)
the two digital Input channels cannot be read due to missing value in upstream lib
the analog output can not be controlled (range of 0-10V) (not implemented, could be implemented in a follow up PR)

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#9190
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 user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

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

[x] The manifest file has all fields filled out correctly (example).
[x] New dependencies have been added to requirements in the manifest (example).
[x] New or updated dependencies have been added to requirements_all.txt by running

Hi @mxworm and @coreGreenberet,
there is one open thing left when adding HmIP-MIOB:
How to deal with the analog output?
There is currently no method to control it.
Option 1: Leave it unimplemented.
Option 2: Implement the analog output as sensor.
Option3: (I don't know) ???
What do you think?
BR
Markus

Hi @SukramJ,
Regarding your question about the analog output I think a sensor is not the right device. Probably a light-dimmer would do the job.
Ciao Mattias

Hi @mxworm,
yes, a light dimmer would be the correct implementation, if a service to control it would exists.
So for know i leave it unimplemented.
May be this could be done in a follow up PR.
Thanks for feedback
Markus

@MartinHjelmare
Wouldbe nice , if you find time for a review.

Hi @MartinHjelmare, I'm fine with the changes.
Thanks Markus!


Error to display tree structure for cds 8.1.1

Hi. I am using this library to display a tree hierarchy for SAP CAP application. Everything is working fine with the 7.9.3 but with the latest version of cds I am getting the error TypeError: Cannot create property '__metadata' on string '0'.
Request:
ChangeOrders?$filter=level%20eq%200%20and%20(projectStatus_code%20eq%20%27AllProjects%27)&$select=projectElement%2cprojectDescription%2crespPerson%2fPersonFullName%2cattachment%2cstatus%2fdescr%2ctotal%2ctotalCurrency%2cchangedOn%2cprojectElementUUID%2cproject%2fProjectUUID%2clevel%2cparent_node%2chierarchyNode%2cdrilldownState&$expand=respPerson%2cstatus&$skip=0&$top=138&$inlinecount=allpages
Error and stack:
Batch: TypeError: Cannot create property '__metadata' on string '0'
at addMetadata (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3630:21)
at /Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3553:7
at Array.forEach ()
at convertResponseData (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3552:10)
at convertResponseData (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3513:14)
at /Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3539:11
at Array.forEach ()
at /Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3522:25
at Array.forEach ()
at convertResponseData (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3521:10)
at convertResponseBody (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:3380:11)
at /Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:2856:28
at /Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:4770:30
at Array.forEach ()
at processMultipartMixed (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:4756:11)
at ProxyServer.convertProxyResponse (/Users/fedorshestov/Documents/Projects/Production/sbi-sap.pcom-cap/node_modules/@cap-js-community/odata-v2-adapter/src/index.js:2843:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
UI - smart component SmartTable with type tableType="TreeTable"
Annotations:
@sap.hierarchy.node.for
hierarchyNode        : String(30);
  @sap.hierarchy.level.for
  level                : Integer;

  @sap.hierarchy.parent.node.for
  parent_node          : String(30);

  @sap.hierarchy.drill.state.for
  drilldownState       : String(30) enum {
    expanded;
    collapsed;
    leaf
  };

Thanks for reporting this issue. We will have a look, and provide a solution asap.

I tried to reproduce the issue, but for me the hierarchy queries work. So something is different in your model.
Would it be possible to share a minimal example, that makes it easy to reproduce the issue.
That would help a lot.

I would recommend to open an issue to the SAP Cloud Application Programming Model via support channels:
https://cap.cloud.sap/docs/resources/#support-channels
It looks to me, that the data responded for your OData V4 request is wrong (Array of 0).
Can you activate payload logging via env CDS_LOG_LEVELS_COV2AP=debug
Can you post here the OData V4 response body of the failing OData request once with CDS 7.9 and once with CDS 8.1?

No activity since two weeks, therefore I close this issue. Feel free to reopen, with additional information, or use for CAP support channels...


run_20news.py run problem

Hello,
I ran it with run_20news.py --gpus  0 to run this.
Has anyone run this article author's code? I checked 17 papers citing the authors of this paper, but they were for reference only, and none of them were actually used. Several papers were referred to for classification of long text documents, but the method using a pre-trained model was poor, so the method of this paper was adopted. Unfortunately, I can't get this program to work normally. Can someone help me?

After a lot of debug, run_20news.py finally works, but accuray only 0.3192488262910798

经过大量调试，run_20news.py终于可以工作了，但只计算了 0.8161，对于长文本：accuray 0.79342，总计 1065

Hello, have you ever had the following problems while running? How is it solved?
FileNotFoundError: [Errno 2] No such file or directory: '/data/c21/zp/CogLTX/data/newsqa_train_roberta-large.pkl


Implement Kubectl Context Namespace

Feature Request
What do you guys think of adding a namespace to the related kubectl section?
Something more defined but similar to this line:

	set -l kube_context_ns (kubectl config view -o jsonpath='{.contexts[].context.namespace}' 2>/dev/null)
	[ -z $kube_context_ns ]; and return

	__sf_lib_section \
		$SPACEFISH_KUBECONTEXT_COLOR \
		$SPACEFISH_KUBECONTEXT_PREFIX \
		"$SPACEFISH_KUBECONTEXT_SYMBOL""$kube_context" \
		" as "$kube_context_ns\
		$SPACEFISH_KUBECONTEXT_SUFFIX

If so, I can open a PR for it
Describe the solution you'd like
Something along this:
~/.config/fish via ·icd at ☸  bed-ussouth-db02 as default

Describe alternatives you've considered
I am using this right now:
https://github.com/nammn/spacefish/commit/3918534aafc6eb7144def0a2f5f8a8ab2884bedf

Hey @Fity! Thanks for opening up an issue.
This sounds like a good idea, and it sounds like it would also benefit spaceship to have it added as a feature. Since this project is aiming to achieve feature-parity with spaceship, I suggest you make an issue on that project to implement your requested feature. 🚀
Once they've accepted it, we will gladly port it over to this project. 😄

Seems like spaceship already has it implemented.
https://github.com/denysdovhan/spaceship-prompt/blob/5baa6fbc70871160c48665b14fbef57370c68c80/sections/kubecontext.zsh

My bad! Looks like I missed the feature being added. 😅

I can add a PR later, making it similar to the one developed upstream. 👍

Closing this issue, as pr #194 added it.


Is dripper/perform.rb locating wrong campaign when database is MySQL?

I've been struggling with this one non-stop since Saturday. Please pardon me if I have missed something. It was a lot of work to slice this out of my app and find the breaking point. It's very subtle.
I've done my best to create a minimal reproducible test. I'm not sure if it impacts production or only the test harness.
The issue I'm seeing is that when using MySQL, the first call to perform! works fine.
https://github.com/joshmn/caffeinate/blob/03560676e0fe8c834d37837fd9434defff8ae8c9/lib/caffeinate/dripper/perform.rb#L17
But in subsequent calls, the value of campaign is set incorrectly (I think to the value from the previous call)
https://github.com/joshmn/caffeinate/blob/03560676e0fe8c834d37837fd9434defff8ae8c9/lib/caffeinate/dripper/perform.rb#L40
The result is upcoming_mailings returns an empty set on subsequent calls to perform, and thus the campaign is only run the first time.

Debugging the `Caffeinate::CampaignSubscription` result set inside of `Perform!`
I modified perform to dump the Caffeinate::CampaignSubscription set as it's filtered so I can see what was happening:
https://github.com/joshmn/caffeinate/blob/03560676e0fe8c834d37837fd9434defff8ae8c9/lib/caffeinate/dripper/perform.rb#L19
Print the Caffeinate::CampaignSubscription inside of perform!:

        puts "Caffeinate::CampaignSubscription.active, `campaign.id` == #{campaign.id}"
        tp(Caffeinate::CampaignSubscription.active, :id, :caffeinate_campaign_id, :subscriber_type, :subscriber_id, :user_type, :user_id, :ended_at, :unsubscribed_at)

        puts "Caffeinate::CampaignSubscription.active.where(caffeinate_campaign == #{campaign.id})"
        tp(Caffeinate::CampaignSubscription.active.where(caffeinate_campaign: campaign), :id, :caffeinate_campaign_id, :subscriber_type, :subscriber_id, :user_type, :user_id, :ended_at, :unsubscribed_at)

I created an empty rails 7 project that uses sqlite3 and the following works as expected:

Creates a campaign
Subscribes to a campaign
And then twice calls .perform! on the campaign, to execute both of the drippers connected to the campaign.
Then repeat the same in a second test

However, when I do the same thing on a blank rails 7 project that uses MySQL, when perform! is called in the 2nd test, the Caffeinate::CampaignSubscription result set is blank (because campaign is pointing to an invalid record, and thus no drips are sent the second time around.
From inside of calls to perform!, if we print all of the active campaigns with: Caffeinate::CampaignSubscription.active it contains:
Caffeinate::CampaignSubscription.active, `campaign.id` ==  44
                                                          ^^^^
ID | CAFFEINATE_CAMPAIGN_ID | SUBSCRIBER_TYPE | SUBSCRIBER_ID | USER_TYPE | USER_ID   | ENDED_AT | UNSUBSCRIBED_AT
---|------------------------|-----------------|---------------|-----------|-----------|----------|----------------
27 | 45                     | Subscriber      | 980190993     | User      | 980191007 |          |
    ^^^^

You see how campaign.id does not match CAFFEINATE_CAMPAIGN_ID... So when we print the active campaigns where the campaign id matches, we get an empty set:
Caffeinate::CampaignSubscription.active.where(caffeinate_campaign == 44)
No data.

Reproducing...
Versions:
ubuntu-22-04% ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
ubuntu-22-04% rails -v
Rails 7.0.6
ubuntu-22-04% cat /etc/debian_version
bookworm/sid

Create a new rails7 project to reproduce the bug:
rails new --minimal repro -d mysql
cd repro
bin/bundle add caffeinate awesome_print table_print
rails g caffeinate:install
rails g model User name email before_drip_run_counter:integer
rails g model Subscriber name email
sudo mysql -e "CREATE DATABASE repro_development"
sudo mysql -e "CREATE DATABASE repro_test"
sudo mysql mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '';"
rails db:migrate

application_dripper.rb
app/drippers/application_dripper.rb
# frozen_string_literal: true

class ApplicationDripper < ::Caffeinate::Dripper::Base
  def self.process_unsubscribes(_drip,mailing)
    puts "Calling process_unsubscribes..."
    user = mailing.user

    user.before_drip_run_counter = user.before_drip_run_counter.to_i + 1
    user.save
  end
end

test_dripper.rb
app/drippers/test_dripper.rb
class TestDripper < ApplicationDripper
  self.campaign = :test

  before_drip do |_drip, mailing|
    process_unsubscribes(_drip, mailing)
  end

  drip :first_reminder,   action_class: 'TestAction', delay: 0.seconds
  drip :second_reminder,  action_class: 'TestAction', delay: 1.seconds
end

test_action.rb
app/actions/test_action.rb
class TestAction < Caffeinate::ActionProxy
  def first_reminder(mailing)
    puts("Running first_reminder")
  end

  def second_reminder(mailing)
    puts("Running second_reminder")
  end
end

caffeinate_test.rb
test/integration/caffeinate_test.rb
require "test_helper"

class CaffeinateTest < ActionDispatch::IntegrationTest
  test "foo" do
    campaign = Caffeinate::Campaign.find_or_create_by!(name: "Test", slug: "test")
    user = User.create!(name: "foo", email: "foo@foo")
    subscriber = Subscriber.create!(name: "bar", email: "bar@bar")
    assert Caffeinate::CampaignSubscription.count == 0

    campaign.subscribe(subscriber, user: user)
    assert user.before_drip_run_counter.to_i == 0
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 1

    sleep 1.seconds
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 2
  end

  test "foo-bar" do
    campaign = Caffeinate::Campaign.find_or_create_by!(name: "Test", slug: "test")
    user = User.create!(name: "bar", email: "bar@bar")
    subscriber = Subscriber.create!(name: "foo", email: "foo@foo")
    campaign.subscribe(subscriber, user: user)
    assert user.before_drip_run_counter.to_i == 0
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 1

    sleep 1.seconds
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 2
  end
end

If you run the above, but do not specify -d mysql (using the default sqlite3), then it will work fine.
But if you run it with mysql, it will fail.
test foo and test foo-bar should be equivalent, producing equivalent output, but running: bin/rails test you will get:

test output for mysql version
ubuntu-22-04% bin/rails test
Running 2 tests in a single process (parallelization threshold is 50)
Run options: --seed 48614

# Running:

Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.F

Failure:
CaffeinateTest#test_foo [repro/test/integration/caffeinate_test.rb:14]:
Expected false to be truthy.

rails test test/integration/caffeinate_test.rb:4

When you run the same thing under sqlite3 though, the test passes as you would expect.

create the sqlite3 version of the same app
rails new --minimal repro2
cd repro2
bin/bundle add caffeinate awesome_print table_print
rails g caffeinate:install
rails g model User name email before_drip_run_counter:integer
rails g model Subscriber name email
rails db:migrate

test output for sqlite3 version
ubuntu-22-04% bin/rails test
Running 2 tests in a single process (parallelization threshold is 50)
Run options: --seed 50242

# Running:

Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.

Finished in 2.118785s, 0.9439 runs/s, 3.3038 assertions/s.
2 runs, 7 assertions, 0 failures, 0 errors, 0 skips

One other issue that I also see when using MySQL but not when using sqlite3...
If we call subscribe as:
    TestDripper.subscribe(subscriber, user: user)

Instead of:
    campaign.subscribe(subscriber, user: user)

In the second test that calls TestDripper.subscribe it will return with:
Error:
CaffeinateTest#test_foo-bar:
NoMethodError: undefined method `to_dripper' for nil:NilClass
    test/integration/caffeinate_test.rb:31:in `block in <class:CaffeinateTest>'

When I run the same using sqlite3 it works fine...
Reproducing second issue...
Use the same content for application_dripper.rb, test_dripper.rb and test_action.rb.

Alternate version of caffeinate_test.rb
require "test_helper"

class CaffeinateTest < ActionDispatch::IntegrationTest
  test "foo" do
    campaign = Caffeinate::Campaign.find_or_create_by!(name: "Test", slug: "test")
    user = User.create!(name: "foo", email: "foo@foo")
    subscriber = Subscriber.create!(name: "bar", email: "bar@bar")
    assert Caffeinate::CampaignSubscription.count == 0

    campaign.subscribe(subscriber, user: user)
    assert user.before_drip_run_counter.to_i == 0
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 1

    sleep 1.seconds
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 2
  end

  test "foo-bar" do
    campaign = Caffeinate::Campaign.find_or_create_by!(name: "Test", slug: "test")
    user = User.create!(name: "bar", email: "bar@bar")
    subscriber = Subscriber.create!(name: "foo", email: "foo@foo")

    ########################################################
    # Here we're calling it as TestDripper.subscribe
    # rather than campaign.subscribe
    TestDripper.subscribe(subscriber, user: user)
    ########################################################
    assert user.before_drip_run_counter.to_i == 0
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 1

    sleep 1.seconds
    TestDripper.perform!
    user.reload
    assert user.before_drip_run_counter == 2
  end
end

output when running under sqlite3
ubuntu-22-04% bin/rails test
Running 2 tests in a single process (parallelization threshold is 50)
Run options: --seed 64571

# Running:

Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.

Finished in 2.134845s, 0.9368 runs/s, 3.2789 assertions/s.
2 runs, 7 assertions, 0 failures, 0 errors, 0 skips

test output when running under mysql
ubuntu-22-04% bin/rails test
Running 2 tests in a single process (parallelization threshold is 50)
Run options: --seed 58143

# Running:

Calling process_unsubscribes...
Running first_reminder
Calling process_unsubscribes...
Running second_reminder
.F

Failure:
CaffeinateTest#test_foo [/home/erwin/Dev/os.cash/repro/test/integration/caffeinate_test.rb:14]:
Expected false to be truthy.

rails test test/integration/caffeinate_test.rb:4

Finished in 1.112693s, 1.7974 runs/s, 5.3923 assertions/s.
2 runs, 6 assertions, 1 failures, 0 errors, 0 skips

Hopefully you made it this far... That's an awful lot to digest. It's been quite a challenge trying to trace exactly what is happening. Hopefully you've got some ideas on how we can patch caffeinate to get these test to pass, or if I'm just misunderstanding something basic and using caffeinate incorrectly.
Thank you.

Wow, you've put a ton of work into this issue before posting, and we super appreciate that. Than you for all the info!
 That's a bummer 🙁. While my usage of Caffeinate on the 'application' side of our application is fine (we only ever call perform! in background jobs in a way that causes no problems), I discovered this issue in the testing side of our app. The campaign value itself is memoized. This does cause issues in line with what you've described, I think. Here's what I did to patch our testing suite:
  config.before(:each) do
    # NOTE: Caffeinate maintains a couple of class-variables under the hood
    # that don't get reset between specs (while the db records they cache do
    # get truncated). This resets the appropriate class-variables between specs

    # NOTE: Caffeinate.dripper_collection gives us all the drippers in the project
    Caffeinate.dripper_collection.instance_variable_get(:@registry).values.each do |drppr|
      drppr.safe_constantize.class_eval { @caffeinate_campaign = nil }
    end
  end

🤔

@jon-sully thank you!
@erwin the campaigns are indeed memoized. I have actually shot myself in the foot with this before too 😬
@jon-sully what do you think about Caffeinate.test_mode! or something? I'll make a push to readme at some point with this as a disclaimer because it is, in fact, annoying and surprising (in test).

Yeah I think having a small macro like that and an explanation in the readme is a good way to go. That's pretty close to how Sidekiq does it, which I think is good

Added a convenience method called Caffeinate.dripper_collection.clear_cache! in 2.5 that handles this. Closing, and thank you again!


Add link for tree borrows similar to stacked borrows

@Vanille-N does it look ok to you?

I was just thinking that these were missing, thank you for adding them.
Looks great !

@bors r+

:pushpin: Commit ad8d26b14623ad6bacfe612cc41073f2c0258c20 has been approved by oli-obk
It is now in the queue for this repository.

:hourglass: Testing commit ad8d26b14623ad6bacfe612cc41073f2c0258c20 with merge 91d2ea04ecc18d714b517ea3d9da0f959ca7b62c...

:sunny: Test successful - checks-actions
Approved by: oli-obk
Pushing 91d2ea04ecc18d714b517ea3d9da0f959ca7b62c to master...


Failed to load some part of a WebPart

Category

[x] Bug

Describe the bug
We have a wab part that is used productive since more than 6 months. One of our customers getting sometimes the following error:

I was able to get the error on customer's environment with my account in Chromium Edge v84. The error that I've got:
Da hat etwas nicht geklappt.

TECHNISCHE DETAILS
[SPLoaderError.loadComponentError]:
Failed to load component "2b62a679-0691-4378-a58e-edef3656c5d0" (ModernNewsWebPart). Original error: Failed to load URL 'https://contoso-app3a23c3e4cda846a085282455972a5a23.sharepoint.com/sites/intranet/ClientSideAssets/307f56f4-58f9-4ef9-b9df-ef6b9b90a1f0/modern-news-web-part_2886373515bbb985856f9f93e3acd26c.js' for resource 'modern-news-web-part' in component '2b62a679-0691-4378-a58e-edef3656c5d0' (ModernNewsWebPart). There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

INNERERROR:
Failed to load URL 'https://contoso-app3a23c3e4cda846a085282455972a5a23.sharepoint.com/sites/intranet/ClientSideAssets/307f56f4-58f9-4ef9-b9df-ef6b9b90a1f0/modern-news-web-part_2886373515bbb985856f9f93e3acd26c.js' for resource 'modern-news-web-part' in component '2b62a679-0691-4378-a58e-edef3656c5d0' (ModernNewsWebPart). There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
CALLSTACK:
Error
    at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_de-de_c9133458c77abc2d9b9504f909a25885.js:1:861189)
    at new t (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_de-de_c9133458c77abc2d9b9504f909a25885.js:1:1162925)
    at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_de-de_c9133458c77abc2d9b9504f909a25885.js:1:1218211)
    at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_de-de_c9133458c77abc2d9b9504f909a25885.js:1:1214256)
    at https://spoprod-a.akamaihd.net/files/sp-client/sp-pages-assembly_de-de_c9133458c77abc2d9b9504f909a25885.js:1:1206205

In most cases the reloading of a page helps, but there are some users that need to reload a page multiple times (more than 4 times) until the web part is loaded correctly.
We have invested a lot of time trying to figure out the source of the issue, but no luck till now.
Expected behavior
The WebPart is loaded correctly for all users in any browser.
Environment details (development & target environment)

Your Developer Environment: Windows 10
Target Environment: SharePoint Online
Framework: node v10.19.0
Browser: Chromium Edge v84.0.522.40
Tooling: SPFx v1.8.2

Additional context

until now the issue is appeared only in Chromium Edge
the web part is deployed to the app catalog of a site collection
related issues: #3871 and https://github.com/SharePoint/sp-dev-gdpr-activity-hub/issues/51

Any ideas what can be the source of the issue?

Usually this is a temporary issue with the O365 CDN... from my exp, there's not much you can do to "fix" this. The first thing I'd do is upgrade your component to the latest SPFx.
MSFT is in the midst of switching their module loader in SPFx (from system.js > require.js)... hopefully this will address some of these random CDN issues.

@andrewconnell thank you for your answer.
We will try to upgrade the component to the latest SPFx.
It there any information when the switching to RequireJS may occur?

Yes: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/release-1.10.0#deprecations-and-removed-items-in-this-release
But note that's from January 2020. Nothing since then...


Drop sourcetype

Remove sourceType property on procs and instead rely on Juttle.proc.source being in the inheritance chain.
Refs: https://github.com/juttle/juttle/issues/54
Corresponding PRs for adapters will reference this one.

cc: @dmajda @demmer

This looks good to me.

+1


#166

@t4r0 Okay, the branch seems to exist before. Let me fix tests and i merge it

Coverage increased (+0.1%) to 50.204% when pulling 5b5223f6d8f972fbe4eb32642f71d03bccbf01f2 on #166 into def95f4050760b14908d01a1a7452a36a5f3fa6d on beta.


Dev server only: can not sign in

Logging in to the dev server when using the correct username and password does not work.  The username is set to "none" and on the next page load the user is logged out.

Just tested and also seeing this happen.

It started working while I was investigating.  I didn't change anything.  It also started working for Rebecca which is interesting since on dev we're running different code bases from /var/www/username.
I believe authentication uses code from FriendsofSymfony (FOS), which builds on Symfony.

in src/Zeega/UserBundle/Controller/SecurityController.php:
$user = $this->container->get('security.context')->getToken()->getUser();
but $user is set to 'anon'

well that's no good. @jcuanm, do you think you could try fixing this?


Pattern match the whole list

It's a bit faster too. You can see the performance difference if you increase
the list size.

Nice!


[bug] Bot won't start. HTTP connection Pool error

I never used webpage to monitor bot activities, only console output is enough for me. So, I set up my conf as:
"websocket_server": false,
"websocket": {
"start_embedded_server": false,
"server_url": "<IP_ADDRESS>:4000"
}
But when I run to bot after git pull the mastery branch, I got
[requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): <IP_ADDRESS>
,045 [socketIO-client] [WARNING] <IP_ADDRESS>:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='<IP_ADDRESS>', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1473187694035-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x0000000006B36E80>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))
065 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (2): <IP_ADDRESS>
2016-09-06 11:48:17,072 [socketIO-client] [WARNING] <IP_ADDRESS>:4000/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='<IP_ADDRESS>', port=4000): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1473187696063-0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x0000000006B58080>: Failed to establish a new connection: [Errno 10061] WSAECONNREFUSED',))

same as #5241
You can find a temp fix there, but this should be fixed

@jannickv thank you.


[Submission]: Log Lens

Docker Hub repository name
edwinat/loglens
Terms of services

[X] I accept the term of services

/validate

Hi, can someone take a look at this?
It looks like the docker desktop's setting is not allowing non-marketplace extensions. I have published a new version (edwinat/loglens:0.1.1-alpha) and the validation succeeded in my local for the new one - 🎉 The extension \"edwinat/loglens:0.1.1-alpha\" passes the validation checks.\n

Hello, I'm looking into this, it is indeed an issue with the configuration of Docker Desktop in the automated validation process. Trying to unblock this ASAP.

/validate


"Tag, You're It!" achievement does not work

This achievement "Tag, You're It!"(In the Car Shop job, be the first player in a four-man crew
to reach the docks.) is not working for me with or without AI. I tried to order AIs stay in car
shop then drive to dock by myself. It still not work. I used this mod to achieve many
achievement that need more than one players. But this one is not working to me.
Thank you for creating such a great mod, I hope you can help me fix this problem.
In the end, thank you again and have a good day!

Sorry, I can not find anything in lua dump related to this achievement exept it's name - fort_3 - so I can not mod it 🙁
I myself did it with random people because coordination is not necessary: I just started a public game alone, over the course of heist random people popped-in, once C4 was set up I had a full party, so I grabbed the keys, rushed to the car and drove off. In the meantime one player died and got into custody, another decided to head tot he docks by foot, so I was left to race with one player only. We reached the docks, I got the achievement, kicked the ones left behind and completed the heist. I was lucky to get it on first try, to be honest I wasn;t even going for the achievement, so it might take You more than one run, but at least it does not require specific actions from players like Short Fuse, Pass the Ammo and similar achievements.

Thanks for your sharing ! I will try it with a public game. Great mod. Thanks again!


Submit metadata to EGA and add EGA identifiers to objects

Description

We need to make use of: https://ega-archive.org/submission/programmatic_submissions/submitting-metadata
For  FEGA submission we need to add a key about it in the folder e.g. fega (boolean) that will classify that folder/submission as a submission to FEGA
Additional Info: https://ega-archive.org/submission/programmatic-submissions
DoD (Definition of Done)

introduce a new API endpoint to trigger a submission to fega
Testing

Integration testing, we need to mock the CEGA API

This could be implemented as part of the EGA workflow, so related to #362.

i think we should not cluster too many in the workflow issue #362, as it will require adhering to https://ega-archive.org/submission/programmatic_submissions/json-message-format  which would imply some mapping from our db to this format.

That makes sense.


Text.getMeasuredLineHeight() is 0 in IE11 and inaccurate in Chrome 44

I've found that the Text.getMeasuredLineHeight() function is returning 0 in IE11 and is returning an inaccurate value (30% smaller than it should be) in Chrome 44.
I have to assume this has to do with how the rendering context is cached statically, because creating a function that uses the same methodology on a fresh context has allowed me to avoid the issue:
        static getMeasuredLineHeight(text: createjs.Text): number {
            if (!text || !text.stage || !text.stage.canvas)
                return 0;

            var canvas = <HTMLCanvasElement> text.stage.canvas;
            var ctx = canvas.getContext("2d");

            ctx.save();

            ctx.font = text.font || "10px sans-serif";
            ctx.textAlign = text.textAlign || "left";
            ctx.textBaseline = text.textBaseline || "top";
            var result = ctx.measureText("M").width * 1.2;

            ctx.restore();

            return result;
        }

I created a quick sample to test the difference between EaselJS text and the direct context editing.
<canvas id="canvas" width="100" height="100"></canvas>

    // Test in EaselJS
    var text = new createjs.Text("M");
    var bounds = text.getBounds();

    // Test in Context directly
    var ctx = document.getElementById("canvas").getContext("2d");
    ctx.font = text.font || "10px sans-serif";
    ctx.textAlign = text.textAlign || "left";
    ctx.textBaseline = text.textBaseline || "top";
    var result = ctx.measureText("M").width * 1.2;

    console.log(bounds.height, result);

I ran the test in Chrome (latest is 46 on windows/mac), as well as IE11 (11.0.10856.0) and Edge (25.10586.0.0), all with no problems. I get slightly different heights, but they are very close (9.996 vs 9.97). Windows testing done in Windows 10.


Bump version and add changelog entry

@yaauie The build has been failing for Logstash 5.x since the major was upped to 5 with this commit, due to version 4.x of the redis gem requiring ruby version > 2.2.2.
See see https://travis-ci.org/logstash-plugins/logstash-output-redis/builds for more details

LGTM.
We may want to pin to logstash-core GTE 6 like https://github.com/logstash-plugins/logstash-integration-rabbitmq/blob/master/logstash-integration-rabbitmq.gemspec#L42 to prevent logstashes that won't work from loading this plugin, but with several broken releases out of the bag, it may not make much of a difference.


Avoid fine print.

We should not use 12px font size to avoid agism in design. At age 40, eyesight is about half as good as it did at age 20. I changed all font sizes to be at least 14px.
Loving the new homepage by the way! :tada:
Reviewers

@ascott
@mistercrunch

i like the spirit of this PR, and would be happy to make changes to the font size, but i'd like to review these specific cases to see if there is a reason we've bumped the text size down. would be great to include screenshots of the ui that these rules affect.

looks like our base font size is 14px, so if we could just remove these rules altogether to get to 14px.

Excited to hear!
Happy to share screenshots internally

font size of table on home page
font size of table in sqllab
font size of tooltips in sqllab
font size of optional description at top of a dashboard slice

There is more fine print that I haven't caught yet like the buttons and partition info in sqllab. You can do the following to preview how a 14pt website would look like

Visit settings
Click advanced link
Click customize fonts button
Change minimal font size slider to 14

This is been open for a while, closing for now. For me hitting Command-+ is an easy way to adapt the font size.


Removed reference to wrapped HystrixBadRequestException in javanica docs

NetflixOSS » Hystrix » Hystrix-pull-requests #339 SUCCESS
This pull request looks good


fix rowid_conversion should ignore deleted row

Proposed changes
when doing base compaction, rowid comversion should consider delete scenario
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.57 seconds
stream load tsv:          544 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size:<PHONE_NUMBER>4 Bytes


Breaks entire composer installation due to bad autoload rules

Happening: since 3995ac0de95cc86c523571fb509e775625df112a
Steps to reproduce:
composer global require 'humbug/php-scoper:^1.0@dev'
composer global require humbug/box:dev-master

After this composer global commands (even unrelated, like show -i) will fail with failed opening required(/home/weirdan/.composer/vendor/composer/../humbug/box/vendor/humbug/php-scoper/src/functions.php)
When box is installed globally (or as a dependency of some other project) it doesn't have vendor subfolder. It's dependencies are in sibling folders instead.
Suggested fix: put that file in autoload/files section of php-scoper, remove here.

Huh I see. Sorry about that I'll fix that in a sec


Add support for creating pipelines without an estimator as the final component

Currently, our pipelines assume that the final component in the component graph is an estimator. We should allow for pipelines that are just a series of transformations (ex: preprocessing pipeline) that do not have an estimator.
This issue tracks adding support for pipelines without an estimator. Right now, fit does not error out, but it doesn't make sense to call predict or predict_proba when we don't have an estimator. Perhaps we should define or allow a transform method?
This came up in #2058, where we want to create pipelines from data check actions. These pipelines would only consist of transformers, and no estimators. However, until #2103 is complete, there's not a good way to create these valid preprocessing pipelines based on actions.

@angela97lin can you update this issue with a little more of the "why?" and use case?  I know we talked about it, but I can't for the life of me remember why.

@chukarsten Updated the description! 😁

I think my spike in #2110 addresses this! I added a transform method on ComponentGraph.

Thanks @angela97lin ! To confirm, this is a "nice to have" for data check actions, and our workaround of using a list of components will suffice for now, correct?

@dsherry Yeah, it'll be a little tricky to deal with target transformations, but it should be doable (just very hacky and not elegant at all).

For whoever picks this up: see #2151

I just closed #2151 because it was stale, but the branch still exists
@angela97lin : @chukarsten has expressed interest in working on this too. I am fine with whatever you two want to do, just let me know!


SEARCH_SCPOPE_BASE_OBJECT error on initial import

On a freshly-installed CentOS 8 system where I just run 'pip3 install ldap-groups', I see:
>>> import ldap_groups
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/ldap_groups/__init__.py", line 1, in <module>
    from .groups import ADGroup  # noqa: F401
  File "/usr/local/lib/python3.6/site-packages/ldap_groups/groups.py", line 12, in <module>
    from ldap3 import (Server, Connection, SEARCH_SCOPE_BASE_OBJECT, SEARCH_SCOPE_WHOLE_SUBTREE, MODIFY_DELETE,
ImportError: cannot import name 'SEARCH_SCOPE_BASE_OBJECT'

This has actually been a problem on previous releases too (e.g. RHEL7), but I was hoping that a recent install would work.

@tskirvin hi there! Can you try the version on the master branch and let me know if the issue persists?

At the very least I don't see any errors, so this is progress!  I'll have to spend some time making sure everything still works.  Will you be uploading to pip?

Awesome! Yep; I'm not sure why I didn't do a release last time. I'll push this out today.


Fail only single request on too large frame

Resolves #99

First 4 commits
- Check if pooled connection is still open
- Don't log connection close exceptions in Drift server
- Close connection in case of unexpected exception in Drift server
- Add delay before retrying same address

Are from previous 2 PR's: #95, #101
Only
- Fix FB_COMPACT message type decoding
- Don't fail all requests on the channel in case of too long frame

are actually part of this PR


Address Data Not Found

If an address data was not found while searching for the last used, save the new address.

Closing because we've lost tracking and context on this work. It appears to be irrelevant now; the function it modifies no longer exists.


Update to SDK 3.14.0 and added support for Disco

Testing on vehicles at 2330 UTC.

Failed because I forgot to merge updated parrot_arsdk package before submitting.

Finally ready to be reviewed and merged.

It has been 8 days since this PR was ready to be reviewed. @Voidminded are you available to review this PR?

It has been 28 days since this PR was ready for review.

It has been 44 days since this PR was ready for review.

It has been over 1 year since the PR was ready for review. Many of the new issues over this last year were due to not merging the PR since the parrot-arsdk package was updated and the current version of bebop-autonomy was not updated. Due to inactivity and the inability to add new maintainers I am unwatching this repository. You can still contact me using the information in the documentation.


Unable to compile

Hello, thank you so much for your work.
I'm trying to compile but it fails.
error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:74:31
   |
74 |     type MetadataFuture<'a> = impl Future<Output = Result<Self::Metadata>> + 'a
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:77:27
   |
77 |     type NameFuture<'a> = impl Future<Output = String>
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:80:37
   |
80 |     type PlaybackStatusFuture<'a> = impl Future<Output = Result<PlaybackStatus>>
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:83:31
   |
83 |     type PositionFuture<'a> = impl Future<Output = Result<i64>>
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:135:30
    |
135 |     type ArtistsFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:138:29
    |
138 |     type LengthFuture<'a> = impl Future<Output = Result<u64>> + 'a
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:141:28
    |
141 |     type TitleFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `apex-music` (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...

Hi, I have the same issue, however, if you just want to compile and get the executable, you can do this :
rustup override set nightly-2023-01-30 before you do cargo build --release
what does rustup override set nightly-2023-01-30 do is simple, it set the current rust version to the nightly version that was uploaded at the time of the last commit, I tried it and it worked for me

It worked! Thank you!

I've just updated the code to support the latest nightly version.


Ubuntu 22.04 Jammy fails to compile unbound 1.20.0

Describe the bug
A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior:

Download unbound 1.20.0 source code
Copy the config line from 1.17 (see below)
Getting a complain configure: error: systemd enabled but libsystemd not found
Installing libsystemd0 + libsystemd-dev
Getting same complain, even tried a reboot.
removing --enable-systemd from the config line, and gets a new error. configure: error: Cannot find python in your system path
Installing libpython3.11-dev + python3.11-dev
Same error

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --with-pidfile=/run/unbound.pid --with-rootkey-file=/var/lib/unbound/root.key --with-libevent --with-libnghttp2 --with-pythonmodule --enable-subnet --enable-dnstap --enable-systemd --enable-dnscrypt --with-chroot-dir= --with-dnstap-socket-path=/run/dnstap.sock --libdir=/usr/lib

Expected behavior
Uncertain....
System:

Unbound version: 1.20.0
OS: Ubuntu 22.04
unbound -V output: N/A

Additional information

To configure for systemd you would need to install pkg-config.
For the Python error you would need to use PYTHON_VERSION=3.11 ./configure .... to point to a specific Python interpreter if your system does not have a default one (i.e., /usr/bin/python).
I'll leave this open to see what can be done better in config; I see there should already be a suggestion for pkg-config when enabling systemd but maybe there is a bug somewhere.

Fixed the configure script to print more helpful information for both issues.
For Python it would suggest the use of the PYTHON_VERSION environment value.
For systemd it will complain about the absence of pkg-config.

Hi @gthess
Thanks for your feedback, regarding the comments for how to do this, nay I suggest you to add this to your documentation (compiling). Maybe even ensure that each components requirements? this could make it easier to prepare properly before running the ./configure -arg1 -arg2
Another template I would appropriate it a systemd control file example. Why, I'm not configuring systemd files everyday, so forgetting the syntax and commands, this could be helped with an working example that only might need small corrections like the path to unbound.

Noone is properly prepared for the configure script! :)
I mean that is what the configure script is about; based on the arguments it would tell you if something is missing.
In https://github.com/NLnetLabs/unbound/commit/b67fbb69e75d80e24ec46a5ab9ab9cefb748f122 I added the missing hints for --enable-systemd in ./configure --help.


Add an SVG parser + renderer core provider

Our current SVG implementation is lightweight and does not need any extra dependency, but is buggy and incomplete.
That's the pain point of trying to maintain a custom implementation.
For Kivy3.0.0 the proposal is to move the SVG parser+renderer to the "core provider" concept, to open the opportunity of having multiple implementations available, and ease the integration with external tools.
Having a fully working SVG parser+renderer means that our users can start using SVG icons in their apps, but also that we can abandon .png files for icons in our default theme (and themes?)
Related issues to consider:

https://github.com/kivy/kivy/issues/8333
https://github.com/kivy/kivy/issues/6102
https://github.com/kivy/kivy/issues/5024
https://github.com/kivy/kivy/issues/4285
https://github.com/kivy/kivy/issues/3693
https://github.com/kivy/kivy/issues/2752
https://github.com/kivy/kivy/issues/2736
https://github.com/kivy/kivy/issues/2584

Is this up for discussion?
Technically we have 2 options

Using skia to render svg
Using usvg to render svg.

Since kivy has shown interest in skia i think maybe that's the better way forward

When referring to the "core provider", we're talking about an abstraction that uses one of the available implementations to achieve the result.
So, we can have both, but certainly, most of the time investment made in Skia for text layouting will also help here.


psycopg2.errors.UndefinedTable: relation "k_reports" does not exist

This issue returned on v0.3.0
Installed from scratch (deleted previous version, deleted namespace and installed again)
klustair-runnerjob
DEBUG:run Trivy on: quay.io/prometheus/prometheus:v2.21.0
klustair-runnerjob
DEBUG:run Trivy on: quay.io/prometheus/alertmanager:v0.21.0
klustair-runnerjob
DEBUG:run Trivy on: rancher/nginx-ingress-controller:nginx-0.35.0-rancher2
klustair-runnerjob
DEBUG:run Trivy on: klustair/klustair:v0.3.0
klustair-runnerjob
DEBUG:run Trivy on: weaveworks/scope:1.13.1
klustair-runnerjob
DEBUG:run Trivy on: klustair/klustair-frontend:v0.3.0-php-fpm
klustair-runnerjob
DEBUG:run Trivy on: quay.io/coreos/kube-state-metrics:v1.9.7
klustair-runnerjob
DEBUG:run Trivy on: squareup/ghostunnel:v1.5.2
klustair-runnerjob
DEBUG:run Trivy on: klustair/klustair-frontend:v0.3.0-apache
klustair-runnerjob
DEBUG:run Trivy on: docker.io/bitnami/wordpress:5.5.1-debian-10-r49
klustair-runnerjob
DEBUG:run Trivy on: kiwigrid/k8s-sidecar:0.1.209
klustair-runnerjob
INFO: Load Namespaces
klustair-runnerjob
INFO: Run Kubeaudit
klustair-runnerjob
not categorized: NamespaceHostNetworkTrue
klustair-runnerjob
not categorized: SeccompAnnotationMissing
klustair-runnerjob
not categorized: AutomountServiceAccountTokenTrueAndDefaultSA
klustair-runnerjob
not categorized: SeccompAnnotationMissing
klustair-runnerjob
not categorized: NamespaceHostNetworkTrue
klustair-runnerjob
not categorized: NamespaceHostPIDTrue
klustair-runnerjob
not categorized: SeccompAnnotationMissing
klustair-runnerjob
not categorized: SeccompAnnotationMissing
klustair-runnerjob
not categorized: AutomountServiceAccountTokenTrueAndDefaultSA
klustair-runnerjob
not categorized: NamespaceHostNetworkTrue
klustair-runnerjob
not categorized: NamespaceHostPIDTrue
klustair-runnerjob
not categorized: SeccompAnnotationMissing
klustair-runnerjob
INFO: Load Pod an Container informations
klustair-runnerjob
INFO: Start Trivy analysis
klustair-runnerjob
INFO: Load trivy Vulnerabilities
klustair-runnerjob
ERROR: could not parse quay.io/external_storage/nfs-client-provisioner:v3.1.0-k8s1.11
klustair-runnerjob
INFO: Save data to DB
klustair-runnerjob
INFO: Got a DB Connection.
klustair-runnerjob
Traceback (most recent call last):
klustair-runnerjob
File "./app/runner.py", line 343, in <module>
klustair-runnerjob
run()
klustair-runnerjob
File "./app/runner.py", line 285, in run
klustair-runnerjob
db.saveReport(report)
klustair-runnerjob
File "/app/database.py", line 71, in saveReport
klustair-runnerjob
self.__cursor.execute('''INSERT INTO k_reports(
klustair-runnerjob
psycopg2.errors.UndefinedTable: relation "k_reports" does not exist
klustair-runnerjob
LINE 1: INSERT INTO k_reports(
klustair-runnerjob
^

k_reports is the first insert statement.
This may happen, when the klustair init container starts earlier than the PostgreSQL. No migrations are able to run then. So no Database is created.
kubectl logs klustair030-frontend-979 -c klustair-init
======= Prepare Storage:
created directory: 'storage/app/'
created directory: 'storage/app/public'
created directory: 'storage/debugbar'
created directory: 'storage/framework/'
created directory: 'storage/framework/cache'
created directory: 'storage/framework/sessions'
created directory: 'storage/framework/testing'
created directory: 'storage/framework/views'
created directory: 'storage/logs/'
======= Database Migrations
[2021-01-06 20:54:27] local.ERROR: SQLSTATE[08006] [7] could not connect to server: Connection refused
	Is the server running on host "klustair030-postgresql" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432? (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') {"exception":"[object] (Illuminate\\Database\\QueryException(code: 7): SQLSTATE[08006] [7] could not connect to server: Connection refused
\tIs the server running on host \"klustair030-postgresql\" (<IP_ADDRESS>) and accepting
\tTCP/IP connections on port 5432? (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') at /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671)
[stacktrace]
#0 /var/www/vendo

Loging in a to the running frontend container and reexecute the init.sh script fixes the problem in the short therm.
kubectl exec -it klustair030-frontend-979 -- bash -l
root@klustair030-frontend-979:/var/www# sh init.sh

But i will definitly add a check to the init script to wait until the PostgreSQL database is ready.

k_reports is the first insert statement.
This may happen, when the klustair init container starts earlier than the PostgreSQL. No migrations are able to run then. So no Database is created.
kubectl logs klustair030-frontend-979 -c klustair-init
======= Prepare Storage:
created directory: 'storage/app/'
created directory: 'storage/app/public'
created directory: 'storage/debugbar'
created directory: 'storage/framework/'
created directory: 'storage/framework/cache'
created directory: 'storage/framework/sessions'
created directory: 'storage/framework/testing'
created directory: 'storage/framework/views'
created directory: 'storage/logs/'
======= Database Migrations
[2021-01-06 20:54:27] local.ERROR: SQLSTATE[08006] [7] could not connect to server: Connection refused
	Is the server running on host "klustair030-postgresql" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432? (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') {"exception":"[object] (Illuminate\\Database\\QueryException(code: 7): SQLSTATE[08006] [7] could not connect to server: Connection refused
\tIs the server running on host \"klustair030-postgresql\" (<IP_ADDRESS>) and accepting
\tTCP/IP connections on port 5432? (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') at /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671)
[stacktrace]
#0 /var/www/vendo

Loging in a to the running frontend container and reexecute the init.sh script fixes the problem in the short therm.
kubectl exec -it klustair030-frontend-979 -- bash -l
root@klustair030-frontend-979:/var/www# sh init.sh

But i will definitly add a check to the init script to wait until the PostgreSQL database is ready.

This should fix it permanently :
https://github.com/klustair/klustair-frontend/pull/54

This should fix it permanently :
https://github.com/klustair/klustair-frontend/pull/54


I cant install OyasumiVR

When installing the program I get the message:
"install missing runtimes
the following runtimes that are needed by OyasumiVR are either too outdated or not installed on your system
-.NET Runtime 7.0.10
-ASP.NET Core Runtime 7.0.10"
I have tried several times to install both runtimes, making sure that it is the correct version, restarting the pc, uninstalling and reinstalling oyasumiVR but I still get the same error.

@UsagiLoona Could you please verify if this issue still occurs for you with the Development build?

@Raphiiko yes, the problem still there

Hmm, that's odd, I thought I fixed that in the dev build.
Do you happen to have the output of dotnet --list-runtimes for me?

@Raphiiko

Hmmm, that does look like you're still lacking the needed runtimes. I would expect Microsoft.NETCore.App 7.0.10 and Microsoft.AspNetCore.App 7.0.10 to appear in that list, like here:

OyasumiVR should attempt to install these automatically if you press the button, but I assume you've already tried that, so I can only assume the installation for those somehow fails.
From this page, have you tried installing these? (Plan A, try Plan B only if Plan A does not work)

I tried the plan A before, so Ill try the plan B

One other thing I can recommend trying is uninstalling those older .net versions. Try uninstalling v3, maybe even v6 too if just uninstalling v3 does not work.

it worked with the plan B! thank u so much for your help and especially for your time <3<3<3<3<3<3<3<3<3<3

No worries! Glad you got it to work :)


Status Update?

I was wondering what the status was on Eff since the delimited continuation primops have been merged.

I am also interested in this. I use fused-effects as my primary effect library, but the syntax for this library is incredibly nice. I wonder if we could get together and come up with a plan to move development forward. I'll start reading some of the implementation code!


Add ueLocation IE to smContextCreateData

Hi,
According to the 29.502 paragraph <IP_ADDRESS>.2, SmContextCreateData / ueLocation IE shall contain the UE location information, if it is available. In my understanding, this IE shall be always included whenever possible. What do you think ?
Cheers,

I think you have the right idea, we missed it.
We'll merge your PR soon.