Swift 5.9 tools uses watchOS 5 instead of 4 by default

Description
A package (e.g. pkg1) that does not define any platforms seems to be using watchOS 5 instead of 4.
If another package (e.g. pkg2) depends on that package, but explicitly defines watchOS 4 as minimum supported version, it will fail to build.
Using Xcode 15 / Swift 5.9, the minimum supported watchOS version is 4 (according to the release notes):

Expected behavior
The second package builds fine.
Actual behavior
The build fails with the following error:
The package product 'Package1' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0

Steps to reproduce

Create a package named e.g. pkg1 with a target and product Package1 but no platforms specified.
Create another  package named pkg2 with a target Package2.
Set platforms of pkg2 to [.watchOS(.v4)].
Add pkg1 as dependency of pkg2, as well as the product Package1 as a dependency of target Package2.
Build for watchOS

Swift Package Manager version/commit hash
Whatever is bundled with Swift 5.9 in Xcode 15.0
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-<IP_ADDRESS>.108 clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Darwin Florians-MacBook-Pro.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000 arm64

I am able to reproduce. Not sure yet where the 5.0 comes from, this looks correct: https://github.com/apple/swift-package-manager/blob/main/Sources/PackageModel/Platform.swift#L44C5-L44C99

@neonichu thanks for confirming.
Is there a way to build for watchOS using SPM alone (not using Xcode)? I've skimmed through the SPM source code as well and was unable to spot an obvious mistake
Which is why I first hesitated to create an issue here. It could also be Xcode's fault, right?

Yah, it doesn't seem to reproduce when doing that, so it's somewhat likely that the issue lies in Xcode, but it's not 100% clear to me.
What you can do is:
❯ cat destination.json
{
    "version": 1,
    "sdk": "/Applications/Best.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk",
    "toolchain-bin-dir": "/Applications/Best.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin",
    "target": "arm64-apple-watchos4.0",
    "extra-cc-flags": [],
    "extra-cpp-flags": [],
    "extra-swiftc-flags": [],
}
❯ swift build --destination destination.json

For the record, I've just filed this as a feedback as well: FB13239890

This technically behaves correctly. The iOS minimum version is 12, which maps to watchOS 5. So in the absence of any explicitly specified versions, SwiftPM defaults to iOS 12, which in turn defaults to watchOS 5.
The watchOS minimum version happens to be 4, but because of iOS's higher minimum, it_defaults_ to 5.

@jakepetroules Thanks for the explanation! And sorry for the late reply - totally went under the radar on my side.
I'm a bit torn between seeing the link between iOS and watchOS on the one hand, but still wondering whether this actually makes sense on the other hand. If I created a watchOS only package (w/o currently being able to specify this in the Package manifest), I'd probably expect the default version to be the minimum - just like it would be for e.g. macOS or iOS.
Either way, I'll close this as "Won't fix".


Swedish translation fix

Fixes some spelling and grammatical errors. Also some consistency problems were fixed. Added some words missing in previous translation.

Thanks!


[SURE-3400] Set AKS cluster egress using user-defined route

SURE-3400
Issue description:
Set AKS cluster egress using user-defined route.
We would like to have this feature to be configurable in Rancher AKS provisioning by terraform_rancher2_provider: https://docs.microsoft.com/en-us/azure/aks/egress-outboundtype
PR's:

[x] https://github.com/rancher/terraform-provider-rancher2/pull/1439

Tested it on Rancher v2.10-c4944b3ca0b39c474121df9e7ef31f7aff4e4f7a-head; outbound type works, but there appears to be a bug.

So this is half-fixed and half-broken ?! 😆

Not a blocker imho, advancing milestone to 2.10.2


Adjust worker configuration

When the default queue (file ingest/characterization/derivatives) gets behind, it grows progressively larger as the ingest queue adds items to the queue faster than the workers can clear it.  Adjust the worker configuration to prevent this:

Reduce the number of default queue worker threads so the system load doesn't cause as much slowdown?
Move the default queue to the highest priority, and have ingest workers process those jobs if there are any waiting?

See also (and maybe do with) #936


Fix build error: variable has incomplete type 'QPainterPath'

Issue initially reported by @bianchijonas1 in https://github.com/DCBIA-OrthoLab/SlicerCMF/issues/14
See http://slicer.cdash.org/viewBuildError.php?buildid=1959338

Issue has been fixed in https://github.com/Kitware/SlicerSALT/pull/222/commits/ede72e0ba0c8314506325d3dae85378061a86ae7

See commit https://github.com/slicersalt/ShapePopulationViewer/commit/e33344cb73286da278320a8902d97a4b5f4054b7

Fixed in https://github.com/NIRALUser/ShapePopulationViewer/pull/54

ExtensionIndex updated in https://github.com/Slicer/ExtensionsIndex/pull/1723

To follow up, extension now available for download:


Preprint messages on the OSF

Purpose
Add various messages on the OSF for when users access the OSF Projects associated with Preprints.
Building on @caneruguz's work!
"Learn more" links will go to http://help.osf.io/m/preprints
Preprint Project View

Primary File View

Delete Primary File View

Deleting Single File on Fangorn

Delete Multiple Files on Fangorn

Orphaned Preprint Project View
Only shown to admins on the project

Changes

On file delete from osfstorage, set _is_preprint_orphan if the file was the preprint's primary file
Add banners about the preprint on the main project page, and the primary file page
Add banner about preprint orphan to project administrators
Make preprint properties and primary file information visible to templates and mithril
Extra warning message when deleting a file that's a primary file

Side effects
Extra node save on file delete if primary file is being deleted?
Ticket

Extra node save on file delete if primary file is being deleted?

NBD. ¯\_(ツ)_/¯

@erinspace , this looks divine. 👼


Some tests do not appear in VS 2017 that do appear in 2015.

Our project has a number of tests that use the Python VCR library to record HTTP responses. In VS2015, these tests all appear in the test explorer. However, in VS2017, these tests no longer appear--only regular Python unit tests do. This seriously inhibits our ability to debug into these tests without going back to the old version of VS.

From our internal discussion, this seems likely to be because the base class of the tests is in an installed library. We use static MRO analysis to determine if it inherits from unittest.case.TestCase, and if that information gets lost (in the completion DB) then we won't accept the test class.
We're planning to completely replace the completion DB with a new approach (already available in 15.4 Preview under a reg key) that may resolve it. Since we plan for this to become the main way we handle installed packages, we're not going to investigate too deeply into the existing implementation, but we will keep this open as a reminder to try to make it work better in the new system.


Add generated element constructors

For every tag that the interface supports, emits a Dart constructor that can be used to create an element of that tag using either createElement or createElementNS. Adds a dependency to @webref/elements to fetch the element data. Modifies existing helper deprecation messages to point to the new constructors instead. Deprecates createAudioElement.
As we remove some members that don't work, and this deprecation is a breaking change, we update the major version number.

FYI @kevmoo - This requires moving to 0.6.X.

I didn't do the create-a-PR-against-a-PR thing, but you might want the last two file changes from https://github.com/srujzs/web/commit/153424a0a44f27cd79f7ceb3e0b32423c53b56e3.

Thanks Devon! Unfortunately, it's a little annoying to determine what article is correct even ignoring proper nouns, because words like user and hour defy the vowel rule. For now, I just added a method to only handle the expected inputs. A more general solution is going to be harder: https://stackoverflow.com/questions/4558437/programmatically-determine-whether-to-describe-an-object-with-a-or-an.
I also got rid of the wrapping method I added and used the one you added with no changes to the output.


Add custom ringtone on a Meteor app

Any Meteor users here?
How to add a custom ringtone to a Meteor app?
I've added the ringtone file in cordova-build-override/ and used App.appendToConfig(element) to declare the resource-file in mobile-config.js.
But get an error when meteor run ios-device:
Subproject Path: CordovaLibt                 |
=> Errors executing Cordova commands:

   While adding platform iOS to Cordova project:
   Error: Source path does not exist: sounds/Bellcore-dr2.caf
(...)

Looks like Meteor reads config.xml before copying the ringtone file to the cordova directory.
Is there any straightforward way to do this in Meteor?
Thanks

Did you try asking the Meteor team?

Found out there's a merged pull request and this feature will be available in Meteor 1.7 (next minor version). In the meantime, I'm looking for a workaround.

Hopefully it'll be be available soon or you'll find a solution before. Either way, there should be no issues using this plugin, as it'll use the default ringtone. You just won't be able to customize the sound for now because of Meteor.


Recruitment stage: send invitations on update reply

If there is a typo in the list of invitees and we want to fix it and send the invitations again, we should be able to do it when the note is updated.

We should allow the process function to be run when the note is edited too.

Instead of re-running the process function on update we should catch every error and show it in the status comment.


vim /xxx/incubator-streampark/deploy/docker/docker-compose.yaml have a space

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
have a space
StreamPark Version
Version: 1.2.4
Java Version
No response
Flink Version
flink1.14.5
Scala Version of Flink
scala_2.12
Error Exception
volumes:
      - flink1.14.5:/  streampark/flink/flink1.14.5
    restart: unless-stopped
have a space?

Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@MonsterChenzhuo  I remember you have fixed this


[zh-cn]Fix optimize certain sentences

[zh-cn]Fix optimize certain sentences

/approve

Did we check the git log of content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md?
We want to make sure we don't have partial syncs. Previous timestamp based checking is not working well at the moment because we had experienced some global path substitutions.

Did we check the git log of content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md? We want to make sure we don't have partial syncs. Previous timestamp based checking is not working well at the moment because we had experienced some global path substitutions.

I looked at the en version in the comments.

I looked at the en version in the comments.

Thanks for the confirmation.


Glitch: Exit, Minimize, and Fullscreen buttons lose positioning

After returning to the standard window from fullscreen in El Capitan, the buttons lose their placement. They're still usable, but only a small portion of them are visible.

Resizing the window after returning from fullscreen fixes their positioning. Seems like just a miscalculation in positioning when the window sizes back down from fullscreen.

Duplicate of #194


flips out when mouse captured by another program.

Quick pings in League
Pointer lock API

Added control keys to fix quick pings in League: https://github.com/mxrlkn/mouselock/releases/tag/v0.0.4


Add missing currency in action for transaction requests

I want to merge this change because it resolves #13725

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation:

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

@korycins Updated.

@AjmalPonneth could you check the failing linters and update the PR? 🙏

@AjmalPonneth could you check the failing linters and update the PR? 🙏

@aniav Can you please check now?

@AjmalPonneth Black is failing on saleor/graphql/webhook/subscription_types.py.
Have you tried to use pre-commit? https://docs.saleor.io/docs/3.x/developer/community/contributing#coding-style
It runs the same linters as the CI, so it should be helpful to find all potential linter failures.

@korycins I am using Windows on my system. After running the pre-commit hook it shows Executable sh not found.

Thank you for your contribution @AjmalPonneth ✨

Thank you Team Saleor for reviewing my PR. Looking for more contribution in futrue🥳


[Bug]: UncaughtException: Failed to launch the browser process

Bug description
What did I do?
I have a docker project running with the node:19.1.0-alpine3.16 image.
I installed alpine chromium from its latest version (https://pkgs.alpinelinux.org/package/edge/community/x86_64/chromium)
My docker runs on AWS ECS in a container with 8 vCPU and 16GB of memory, it has around 100 requests per second and 360000 requests per hour.
I followed instructions from Troubleshooting(https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md) by creating the puppeteer.config.cjs file, and adding arguments to the launch configuration ('--no-sandbox',
'--disable-setuid-sandbox',
'--disable-extensions',
'--aggressive-cache-discard',
--disable-cache',
'--disable-application-cache', '--disable-application-cache',
'--disable-offline-load-stale-cache',
--disable-gpu-shader-disk-cache',
--media-cache-size=0',
--disk-cache-size=0')
I have increased the size of my server since by concurrency (max CPU or Max Memory) I can avoid launching the browser, but I have found the error with CPU < 70% and memory < 50% both cases in use.
What did you expect to happen?
I expected my applications to be 100% resolved without puppeteer errors (There are controlled errors within the application).
What actually happened?
My server processes about 70% of the requests, the other 30% approximately (this calculation is not exact, it is measured manually with expected results) are errors of this type (UncaughtException: Failed to launch the browser process).
Puppeteer version
19.2.2
Node.js version
19.1.0
npm version
8.19.3
What operating system are you seeing the problem on?
Linux
Configuration file
const {join} = require('path');

module.exports = {
  cacheDirectory: join(__dirname, '.cache', 'puppeteer'),
};

Relevant log output
{
   "exception":true,
   "level":"error",
   "message":"uncaughtException: Failed to launch the browser process! spawn /usr/bin/chromium-browser EAGAIN\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n\nError: Failed to launch the browser process! spawn /usr/bin/chromium-browser EAGAIN\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n\n at onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20)\n at ChildProcess.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:293:24)\n at ChildProcess.emit (node:events:513:28)\n at ChildProcess.emit (node:domain:489:12)\n at ChildProcess._handle.onexit (node:internal/child_process:291:12)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
   "os":{
      "loadavg":[
         0,
         0.12,
         0.18
      ],
      "uptime":12939.19
   },
   "process":{
      "argv":[
         "/usr/local/bin/node",
         "/app/bin/www"
      ],
      "cwd":"/app",
      "execPath":"/usr/local/bin/node",
      "gid":0,
      "memoryUsage":{
         "arrayBuffers":63234,
         "external":1009804,
         "heapTotal":113537024,
         "heapUsed":109618632,
         "rss":170270720
      },
      "pid":18,
      "uid":0,
      "version":"v19.2.0"
   },
   "stack":"Error: Failed to launch the browser process! spawn /usr/bin/chromium-browser EAGAIN\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n\n at onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:299:20)\n at ChildProcess.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:293:24)\n at ChildProcess.emit (node:events:513:28)\n at ChildProcess.emit (node:domain:489:12)\n at ChildProcess._handle.onexit (node:internal/child_process:291:12)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
   "trace":[
      {
         "column":20,
         "file":"/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js",
         "function":"onClose",
         "line":299,
         "method":null,
         "native":false
      },
      {
         "column":24,
         "file":"/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js",
         "function":null,
         "line":293,
         "method":null,
         "native":false
      },
      {
         "column":28,
         "file":"node:events",
         "function":"ChildProcess.emit",
         "line":513,
         "method":"emit",
         "native":false
      },
      {
         "column":12,
         "file":"node:domain",
         "function":"ChildProcess.emit",
         "line":489,
         "method":"emit",
         "native":false
      },
      {
         "column":12,
         "file":"node:internal/child_process",
         "function":"ChildProcess._handle.onexit",
         "line":291,
         "method":"onexit",
         "native":false
      },
      {
         "column":16,
         "file":"node:internal/child_process",
         "function":"onErrorNT",
         "line":483,
         "method":null,
         "native":false
      },
      {
         "column":21,
         "file":"node:internal/process/task_queues",
         "function":"process.processTicksAndRejections",
         "line":82,
         "method":"processTicksAndRejections",
         "native":false
      }
   ]
}

Hello as you can also see this is system issue rather a Puppeteer, so I will be closing this one as its out of scope. The process fails because system will not allow the chrome to be executed. There could be a policy that is stopping this from happening, or some other AWS ECS specific thing.


Respect vendor conventions

Resolves issue #37  by using conventions values from Brunch configuration.

Thanks for the PR, @TomRK1089.
@paulmillr, please release PATCH.

@paulmillr is there a timeline patch releases follow for plugins? Looking to convert an existing codebase to Typescript which is using Brunch which is what led to me discovering this issue. Should we wait for the NPM release or use the version of the plugin from master here for the time being?


nixos/tests/opensmtpd: bump test (&build) timeout to 30m from 30s

Motivation for this change
I am not sure how this ever passed on hydra but 30s is barely enough to
pass the configure phase of opensmtpd. It is likely the package was
built as part of another jobset. Whenever it is built as part of the
test execution the timeout propagates and 30s is clearly not enough for
that.
Things done

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

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

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

@GrahamcOfBorg test opensmtpd

Not sure what you mean by “the timeout propagates,” but if memory serves me right, I had just grepped for another meta.timeout setting somewhere else, built that other thing, and then used proportionality to set the meta.timeout option for the opensmtpd test.
So I'm not setting an r+ because I'm not sure I get the issue, but don't have any reason to reject this change either :)

On 03:59 26.02.20, Léo Gaspard wrote:

Not sure what you mean by “the timeout propagates,” but if memory
serves me right, I had just grepped for another meta.timeout setting
somewhere else, built that other thing, and then used proportionality
to set the meta.timeout option for the opensmtpd test.

In the NixOS release channel the opensmtpd package might only be built
because of the test depending on it. In that case all of the builds
required by the test will inherit the timeout set on the test. It might
work in some cases because a nixpkgs job might have built the binary
beforehand and the test isn't release critical.
NixOS VM tests rarely ever finish in 30s on hydra. Those build machines
might be very busy and execution usually takes multiple minutes. The 30s
limit is therefore not really appropirate of those either.

So I'm not setting an r+ because I'm not sure I get the issue, but
don't have any reason to reject this change either :)

Let me know if the above explanation did help.

Oh wow, I didn't even imagine meta.timeout working this way when multiple builds are involved. IMHO this is a significant flaw in how it works, as the build time of a derivation can as a consequence vary hugely between builds, but I guess that's the way it is.
Anyway, thank you for having handled this!


Rewrite codec data parsing

Add more structure and enable multiple inputs handling (would fix #486)

Fixed by #527


Enable overriding the message of a json endpoint through the query string in the URL

:clipboard: Description
It is possible to override for example the label of a JSON endpoint in the query string like this:
https://img.shields.io/endpoint?label=another%20label&url=<URL-to-my-endpoint>.json
But it does not seem to be possible to override the message of a JSON endpoint through the query string like this:
https://img.shields.io/endpoint?message=another%20message&url=<URL-to-my-endpoint>.json
It would be great if overriding the message trough the query string would be possible, too.
We consider to provide a unified badge template by using a JSON endpoint, that can be used by multiple Eclipse projects and where each project only overrides the message with its name in the URL. This way all projects use similar badges with an individual message.

Possibly related to this use case: #6786

Thanks for the reference, but I have to admit that I'm new to badges and not familiar with the deep details and therefore don't fully understand the conversation.
Our intention why we consider to use an own JSON endpoint is to be able to configure the entire badge, except for the message, at one location. Each Eclipse-project using that badge should only have an individual message, that is expected to be the project name.
In case the badge should change one day (e.g. because Eclipse changes its branding colours) it would only be necessary to modify the JSON file at one location and all badges that use it should change accordingly.
Do you think another approach would be more suitable in our situation?
If you are interested in some more details, you can find them here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=574646

It sounds like the ask is to be able to specify a collection of static badges whose formatting is specified in a JSON file and the message in a query parameter.
I could imagine this being solved with a new endpoint for a collection of static badges, along the lines of the proposal I described in https://github.com/badges/shields/issues/6786#issuecomment-882725827. That would require adding an entry for each project into the JSON file.
However for your use case, I think a better solution would be to check in a script which fetches a list of the projects, generates the static SVGs, and dumps them onto a CDN somewhere – probably in the same place you were thinking of putting that endpoint JSON file.

It sounds like the ask is to be able to specify a collection of static badges whose formatting is specified in a JSON file and the message in a query parameter.

That was my sense as well, with the underlying motivating use case being the desire to be able to centrally manage/bulk update a set of similar-but-not-identical static badges used in different repositories.
@HannesWell  - I can understand the desire to automate/simplify the process of updating a bunch of images, but I personally think that capability is outside the remit of Shields; the Endpoint badge is definitely not geared towards that type of use case.
I was going to suggest something very similar to what Paul suggested, with the option of just using GitHub to host the svg files (so the aforementioned script could just check them into source) and then using <img> with the respective githubusercontent urls to add the badges to the respective projects.

with the underlying motivating use case being the desire to be able to centrally manage/bulk update a set of similar-but-not-identical static badges used in different repositories.

:+1:

It sounds like the ask is to be able to specify a collection of static badges whose formatting is specified in a JSON file and the message in a query parameter.

Yes, we would like to generate badges that all have the same formatting, colour and label and only have an individual message-text.
Thanks for your suggestions.
In principle there is a list of relevant projects that could use the badges and it probably would be possible to generate the entries for a collection of static badges from that list or to generate and store the static svg-files directly.
However being able to modify the message from the query string would just make thinks a lot more easy, but of course the scope of shields is not all-embracing.
I just wonder why it is possible to override the label from the query string, but it is not possible to override the message? From my naive perspective the difference is only that the label is the text on the left and the message the text on the right of a badge.
Naively spoken, if we have decided to put the individual text on the left, it were already possible to accomplish our goal. Or is this only by chance.

The use case for customizing the label is meant for situations where you want to display two CI badges, and need to differentiate them (i.e. they can't both be labeled "build"). In that case there's no need to override the right text.
I think the reason you're finding this mismatch in feature capabilities surprising is that you're using Shields in a way more like what was requested in #2824, for making a custom action button, whereas Shields is primarily designed for rendering status badges. We of course don't mind that you use Shields for these buttons, but at the same time it isn't the primary use case for which Shields was intended.
Thinking more about #2824 and how these buttons have been used in the wild, another design suggestion would be to exclude the package name from the button entirely:
https://img.shields.io/static/v1?logo=eclipseide&label&color=orange&message=Create+Development+Environment&style=for-the-badge&logoColor=white

Then they're all the same and you can generate it once and pop it on a CDN somewhere.

Thanks for the explanation. I expected a reason pointing in that direction.
Your design suggestion would be another option. However it would be nicer to 'personalize' the buttons for each project.
But I will see how we will handle this problem in the end.
Anyway, thanks again.

I stumbled on this issue as I was running into the same issue myself.
I was wanting to create a badge that is similar to a lot of status badges where the left side shows the category, and the right side shows information about the category. For example:

In my specific case, I want a family of badges such as:

Screenshot of above if links change in the future

I clearly don't want to create every iteration of the right hand side.
Is this something that endpoints aren't intended to support?


timetagger support

Hi Krzysztof,
That you for this project. I'm not a rust developer, but I have added support for timetagger (https://github.com/almarklein/timetagger) . Can you please check it and review ?
I have also a question: Is it possible to send a request when tracking is started, and then send a second request when ended ? Just to reflect the current stand in app immediately.
Best regards,
Paweł.

Is it possible to send a request when tracking is started, and then send a second request when ended?
Unfortunately no. It was a design decision, I wanted to avoid forever running tasks when something times out. One less point of failure.
That being said, one could do it. You would have to for the project and change the behavior here https://github.com/krzysztof-ciszewski/timeular-reader/blob/main/src/tracker/reader.rs#L147


DVTF: can not visualise city furniture in 2D and 3D

Mapbox: city furniture store in city_furniture in lod1 (lod1_brep_id), which has not height and footprint. So it can not be compatible with current mapbox visualisation using 2d polygon and extruding by height. Maybe need a solution to change a bit of stack footprint generation and mapbox visualisation.
Cesium: 3d tilesets don't query city furniture and export to visualization.

Resolved. SQL script can be found in https://github.com/cambridge-cares/TheWorldAvatar/blob/main/Deploy/stacks/Singapore/custom_sql_scripts/cityfurniture-footprint-height.sql


Run remote task

Some task may be provided by external providers or author that need to be run only once, some of them comes to my mind :

Running a rector recipe
Creating a project from an existing repository / template

There is a tool that does that in js : npx
I think we could provide similar behavior with castor with a specific command something like :
castor execute vendor/package-exec

Basically castor would install this composer repository inside a temp folder and run the first bin file declared
We could specify a version :
castor execute<EMAIL_ADDRESS>
If there is different binaries we can imagine allow the following
castor execute --bin specific-binary vendor/package-exec

All arguments passed after the package could be transferred to the bin so someone can do
castor execute vendor/package-exec --package-exec-arg value

Remind me https://github.com/sensiolabs/melody :D

I see the issue mention npx but not cpx. So here is my two cent: https://cpx.dev/


bruig: Messages being rebuilt repeatedly

While working on adding a new feature, I noticed that Messages (and all the events beneath) is being called repeatedly, with no interaction with the GUI.  Simply sitting will cause it to rebuild it approx. 1-2 times a second.  There is probably an issue in the widget update or debounce there.

After investigating, it appears that the itemsPositionListener is being called repeated, even when just sitting and no scrolling is occurring.  We should look to see if there is a way restrict the number of calls here.  And to also restrict was is causing rebuilds for Messages.

https://github.com/companyzero/bisonrelay/blob/master/bruig/flutterui/bruig/lib/components/chat/messages.dart#L47-L71


New version: XnViewMP 1.5.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

FWIW, I am getting a checksum error on install. Did the installer binary change?

Yep, apparently it has.  Don't see a new version in Changelog but the hash does not match anymore.

FWIW, I am getting a checksum error on install. Did the installer binary change?

Yep, apparently it has. Don't see a new version in Changelog but the hash does not match anymore.


Fixed typo in Get Set for Ziplines waypoint.

Changed "Click the gear next the JavaScript." to "Click the gear next to the JavaScript."
Fixes https://github.com/FreeCodeCamp/freecodecamp/issues/850

@nighthawk702 Thanks for the PR!


docs(typescript): Fix name of typings config file

I believe name of the typings config file is typings.json, not typings.config.

I signed it!


Stylesheet for Donate page tabs

Nick has asked if we could create a simple stylesheet to make the tabs more clear and apparent on the Donate page. Perhaps make the tabs a different color, similar to the WBGH donate page: http://www.wgbh.org/support/donatebutton.cfm
His concern is that someone might accidentally make a monthly donation because when they are trying to make a one-time donation.
I could also add header text to each section below the tab if creating a stylesheet is too time-consuming.
This is what the donate page currently looks like: See here: http://demo.openvault.wgbh-mla.org/donate

could revisit, but with the it's in an acceptable state.


metrics: change "job" and "instance" labels

LGTM

Can changing prometheus config fix this? @nolouch


Fix compile error for clang++ on Linux

Hi,
I was unable to compile glog using clang++ on Linux due to GOOGLE_GLOG_DLL_DECL being treated as a symbol instead of a macro in demangle.h. This patch fixes the problem as simply as possible, I considered handling it at the configure.ac level, but figured that should be a decision for you guys.
Thanks!
~ ry

I signed it!

Also, here is my build script for glog. The autoreconf -i is because I am using Ubuntu 16.04 which has a newer version of ac-local than the configure script in source is looking for.

This is not a clang specific issue. #116 fixes the problem.


epic: add a CLI

Create a CLI that allows to run Cairo programs on the Cairo VM in TS.
The goal is to reach parity with available flags in the VMs in prod (Python/Rust, need to list the different features)
As all functionalities are not available in the project yet (e.g. proof mode, cairo PIE), this issue is about listing features and tracking their implementation in other issues.

Flags of the Python VM:

Flag
Description

-h, --help
display help for command

-v, --version
output the version number

--program PROGRAM
path to the program to execute

--steps STEPS
specify the number of steps to execute

--min_steps MIN_STEPS
minimum of steps to be executed

--debug_error
Stops the execution if there is an error but produce the partial outputs (print memory before leaving)

--no_end
No check program successfully ended

--print_memory
Print the memory (Address --> Value)

--relocate_prints
Print relocated memory (a contiguous segment)

--secure_run
Add a few checks at the end of the run (default to true)

-- no_secure_run
Negate secure_run

--print_info
Print info on the execution of the program: number of steps, number of memory cells used, register values after execution (pc, ap, fp)

--print_output
Print the output segment, nothing if empty

--memory_file MEMORY_FILE
Export the relocated memory to specified file (binary little-endian encoded)

--trace_file TRACE_FILE
Export the trace to specified file (binary little-endian encoded)

--run_from_cairo_pie PIE_FILE
Execute a run from the given PIE archive (behaviour to be confirmed)

--cairo_pie_output CAIRO_PIE_OUTPUT
Export to an archive in the PIE format (relocated memory, metadata, version, execution_resources, additional_data)

--debug_info_file DEBIG_INFO_FILE
Dump debug_info to this file (JSON)

--air_public_input
Export the AIR public input to specified file (JSON) (layout, rc_min, rc_max, n_steps, memory_segments, public_memory and dynamic_params)

--air_private_input
Export the AIR private input to specified file (JSON) (path to the trace and relocated memory binary files)

--layout
Layout to use for the run (different params for usage checks of the builtins)

--cairo_layout_params_file CAIRO_LAYOUT_PARAMS_FILE
Read a CairoLayoutParams object at the specified path, only for dynamic layouts

--tracer
launch the tracer (visual tool to follow the execution (code source, memory and the 3 registers)

--profile_output PROFILE_OUTPUT
Dump profiling data to the specified file (expected format: profile.pb.gz) To be opened with tools like pprof

--proof_mode
Run in ProofMode

--show_trace
Print the encountered python errors if any

--flavor {Debug, Release, RelWithDebInfo}
Specifiy the mode to run the program in (mostly optimization flags), to be confirmed

--allow_missing_builtins
Allow missing builtins in the layout compared to the one required by the program

--python_dependencies
Output starkware python modules used in program as CMake file

Flags of the Rust VM

Flag
Description

-h, --help
display help for command

-V, --version
output the version number

--print_output
Print the output segment, nothing if empty

--trace_file TRACE_FILE

--memory_file MEMORY_FILE
Export the relocated memory to specified file (binary little-endian encoded)

--entrypoint ENTRYPOINT
Specify the entrypoint to run the program from (mostly for starknet contracts)

--layout LAYOUT
Layout to use for the run (different params for usage checks of the builtins)

--proof_mode
Run in ProofMode

--secure_run BOOLEAN
Add a few checks at the end of the run (defaults to true)

--air_public_input FILENAME
Export the AIR public input to specified file (JSON)

--air_private_input FILENAME
Export the AIR privateinput to specified file (JSON)

--cairo_pie_output FILENAME
Export to an archive in the PIE format

--allow_missing_builtins BOOLEAN
Allow missing builtins in the layout compared to the one required by the program

Current flags of the Cairo VM Typescript cli (cairo-vm-ts):

Flag
Description

-h, --help
display help for command

-V, --version
output the version number

Subcommand run (cairo-vm-ts run <program.json>)

Argument
Description

<program.json>
Path to Cairo compilation artifacts

Flag
Description

--no-relocate
do not relocate memory

--offset
start address of the relocated memory. StarkWare verifier expects offset to be 1 (default: 0)

--export-trace <TRACE_FILENAME>
export the trace, little-endian encoded

--export-memory <MEMORY_FILENAME>
export the relocated memory, little-endian encoded

--print-trace
print the trace

--print-memory
print the non-relocated memory

--print-relocated-memory
print the relocated memory

--print-output
print the output segment

-h, --help
display help for command

Layouts have not been implemented yet.
The flags related to the ProofMode will be implemented in another subcommands, called prove.


network timeout configuration doesn't always work

Problem
Cargo seems to mostly ignore the http.timeout configuration.
The problem is that progress function that handles timeouts is not called when there is no network traffic. According to https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html, when using the multi interface the progress won't get called during idleness "unless you call the appropriate libcurl function that performs transfers" whatever that means.
Steps

Start a network transfer (cargo fetch).
Pull the network cord.
Wait.  Cargo's timeout will not match the value in http.timeout.  Typically it seems to time out after 2.5 minutes on Linux and macOS. Windows was a little more confusing (I couldn't really get a good reading).

Possible Solution(s)
Uncertain if there is some way to force libcurl to call the progress function with the multi interface?
Notes
cargo 1.46.0-nightly (4f74d9b2a 2020-07-08)

Can you test to see if this diff fixes the issue for you?
diff --git a/src/cargo/core/package.rs b/src/cargo/core/package.rs
index 1187def1d..07d50041e 100644
--- a/src/cargo/core/package.rs
+++ b/src/cargo/core/package.rs
@@ -899,11 +899,9 @@ impl<'a, 'cfg> Downloads<'a, 'cfg> {
                 break Ok(pair);
             }
             assert!(!self.pending.is_empty());
-            let timeout = self
-                .set
-                .multi
-                .get_timeout()?
-                .unwrap_or_else(|| Duration::new(5, 0));
+            let min_timeout = Duration::new(1, 0);
+            let timeout = self.set.multi.get_timeout()?.unwrap_or(min_timeout);
+            let timeout = timeout.min(min_timeout);
             self.set
                 .multi
                 .wait(&mut [], timeout)


Update New-RetentionCompliancePolicy.md

Fixed Example 1 per email discussion.

Docs Build status updates of commit d5e3fa9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Windows linking error

I seem to be seeing this linking error on Windows (after a simple perl Configure VC-WIN64A):
        "link" /nologo /debug /dll  /nologo /debug  /implib:libcrypto.lib /out:libcrypto-3-x64.dll /def:libcrypto.def @C:\Users\frodo\AppData\Local\Temp\nmC044.tmp || (DEL /Q libcrypto-3-x64.* libcrypto.lib && EXIT 1)
   Creating library libcrypto.lib and object libcrypto.exp
libcrypto-shlib-rsaz-avx512.obj : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions
NMAKE : fatal error U1077: '"link"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.

Seems to be related to the new file crypto/bn/asm/rsaz-avx512.pl

Ping @amatyuko-intc.

It seems like it is because functions were rearranged during one of the patch updates in this file, while .pdata entries sequence wasn't. I'll make a fix shortly.

The patch works fine, thanks! (I began to suspect my nasm was too old).


Implement async GATT event processing

Remove GattServer run, processing now per connection
Allow processing GATT requests without attribute server
Allow processing GATT events before attribute server

Issue #133, #163
Still very WIP, but the example should show what this will look like.
CC @jamessizeland, @petekubiak

/test

/test

This looks much neater!

Glad you like it! So, the options are now:

Run without a  GATT server/table, but you must handle the request and response dance manually.
Run with a GATT server, inspect read/write events before they get processed by server
Run with a GATT server, inspect read/write state after processed by server

I think that covers most of it. It does feel a bit strange to pass the attribute server around perhaps, but I don't see any different solution that allows supporting no attribute server use cases.

/test

/test

another thorough review from @petekubiak :guitar:

I get easily carried away :sweat_grin:

/test

/test


workspace Folder

When notebook or src folder in a new container, should we also change the workspaceFolder in the devcontainer.json config when setting up the project?
Currently it's set to: "workspaceFolder": "/workspaces/dstoolkit-devcontainers)/notebooks"

@FlorianPydde Yes that part needs to be updated. You can check this section of README.md regarding how you need to change it. https://github.com/microsoft/dstoolkit-devcontainers#how-to-create-a-new-directory-under-src-with-a-new-environment
I just merged new readme.md and new devcontainers version that has no dependency on docker-compose anymore with this https://github.com/microsoft/dstoolkit-devcontainers/pull/13 so you might have missed the update to README.md there.

Fair enough. Since I was starting some EDA I was only looking at the notebook folder not the src one. Should we always copy the example folder in src as starting point ?

Yes, that's what I tried to do, i.e. simply use the notebook folder. But that's when I saw that devcontainer.json "workspaceFolder" key had to be updated, and this is not mentioned in the documentation.

You don't need to update workspaceFolder key when you use notebooks directory.
the latest main got this below
    "workspaceFolder": "/workspaces/dstoolkit-devcontainers/notebooks",

and this should work out of the box. Build succeeded on my local and succeeded on David's local too during his PR review.

What specific issue are you getting?
Are you using the latest main? If not, I'd suggest you to pull in the latest main to your local and run the command DevContainers: Rebuild Container Without Cache


Just a question

Is there a database or list of the app "references" or a guide on how one might retrieve them for a game or application?

U need just use google to search.


Add file reference identifier

Short description 📝
The file reference identifier may have been present in earlier versions of xcproj but was no longer exposed. This value is valuable for matching up files to specific references in other places in the project.
e.g. getting the variantGroup that includes localizable Localizable.strings and then iterating the fileReferences to match up the file that matches the Localizable.strings variant by reference identifier.
Solution 📦
I could see that the codable container for included reference but that for some reason is was no longer being exposed by PBXFileReference or any of its superclasses.
Implementation 👩💻👨💻

[ ] Add the optional reference property to PBXFileReference, including codable conformance
[ ] Include reference in the PBXFileReferenceSpec

@daveanderson this is not necessary anymore. The new version that is coming handles references in a better way.

When you create an object it has a temporary reference that is not exposed publicly.
When the object gets added to the project, you'll get a reference that you can use to reference that object from other objects.

You as a developer as responsible for keeping that reference and use it from wherever you want. References are not strings anymore, and instead, they are a reference type that can be passed around. When the project gets written a deterministic permanent value gets generated (this is not implemented yet).


VARCHAR[] columns with default value generate unecessary alter table statements in migrations

Bug description
If a model has a VARCHAR[] array column with a default value:
model MyModel {
  buggyColumn String[] @default([]) @map("naics_prefixes") @db.VarChar(6)
}

The first will correctly create the column. However, each subsequent migration will add an alter table to set the default value:
-- AlterTable
ALTER TABLE "curation_question" ALTER COLUMN "naics_prefixes" SET DEFAULT ARRAY[]::VARCHAR(6)[];

How to reproduce

Create a model that has a column of type String[] @default([]) @map("naics_prefixes") @db.VarChar(6)
2.prisma migrate dev --create-only (We use --create-only, but it's probably not necessary)
See the incorrect ALTER TABLE statement in the new migration file: ALTER TABLE "curation_question" ALTER COLUMN "naics_prefixes" SET DEFAULT ARRAY[]::VARCHAR(6)[];

Expected behavior
Subsequent migrations don't contain ALTER TABLE statements that set the default to the value it already has.
Prisma information
I would prefer not to share our schema unless absolutely necessary.
generator client {
  provider        = "prisma-client-js"
  output          = "../node_modules/@prisma/our-client"
  previewFeatures = ["metrics", "extendedWhereUnique", "tracing"]
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

// Would prefer to keep the actualy models confidential

Environment & setup

OS: macOS
Database: PostgreSQL 13
Node.js version: v19.3.0

Prisma Version
prisma                  : 4.8.1
@prisma/client          : 4.8.1
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine d6e67a83f971b175a593ccc12e15c4a757f93ffe (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli d6e67a83f971b175a593ccc12e15c4a757f93ffe (at ../../node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core d6e67a83f971b175a593ccc12e15c4a757f93ffe (at ../../node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt d6e67a83f971b175a593ccc12e15c4a757f93ffe (at ../../node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe
Default Engines Hash    : d6e67a83f971b175a593ccc12e15c4a757f93ffe
Studio                  : 0.479.0
Preview Features        : tracing, metrics, extendedWhereUnique

I confirm the same bug

What happens on the next run of prisma migrate dev --create-only after you applied that first migration @Druue? The problem description is about Prisma then not being able to detect that the schema is already correctly migrated, and hence creating another migration that tries to change the default again.

Any updates on this?


OouraFft::fft smashes heap if N is not a power of 2

The underlying fft4g library requires (but does not check for) the input size to be a power of 2.  If you invoke OouraFft::OouraFft with a parameter that is not a power of 2, it will seem to work, but the first call to OouraFft::fft will write to unallocated memory.  This may or may not cause SIGSEGV later in the program (how I discovered it) but it can always be detected with Valgrind.
A simple assert in the constructor would have saved me much time and aggravation.  An addition to the documentation of the constructor and more importantly FftFactory::getFft would also be a good idea.  Actual support for unevenly sized input data would be nice.

It costed me several hours until I encountered this issues, thanks god!

It has been mentioned in the fft interface, but not for mfcc
http://aquila-dsp.org/site_media/doc/html/class_aquila_1_1_mfcc.html


[ADD]: DISCONNECT MAZE GAME 👾

PR Description 📜

This PR is about adding Disconnect Maze Game

Fixes #1419

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @0xabdulkhalid ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀


CSV injection

Please add the following to the list of payload injection strings:
=rundll32|'URL.dll,OpenURL calc.exe'!A0
This is useful for when someone naively tries to filter for command switches, thinking that someone will exploit it through the command prompt.
Blog documenting its use in the wild:
https://blog.reversinglabs.com/blog/cvs-dde-exploits-and-obfuscation

Pull request added: https://github.com/swisskyrepo/PayloadsAllTheThings/pull/345

Pull request merged, so issue resolved.


Time_reminder does not work if time is on the next day

https://github.com/Susannova/Discord_Bot/blob/964bcdc121dcca074048c99fafa37e22791378bd/core/timers.py#L37

Method was not in use anymore.
Deleted with #d8076b6fbecac1695b9728144280dbc540abea3e


Remove InterimOperation from generator

Resolves https://github.com/Azure/autorest.csharp/issues/4591
Replace InterimOperation with custom code.

Let us have a regen and fix the possible issues on the regen PR before we merge.

Let us have a regen and fix the possible issues on the regen PR before we merge.

Regen is on the way


Refactor schema components according to Rule #1 (objects will always be defined locally)

Schema components used by GET /orders, GET /orders/{orderId}, GET /shipments and GET /shipments/{shipmentId} still need to be refactored.

This rule is now (3.0.0) applied consistently.


Exceptions are being swallowed by GraphQL

I'm not sure if this is just something I have configured wrong... .but it seems that any Crystal level exception is actually being swallowed up by GraphQL and then rendered on the front end. So I actually see them in my JS console. Is there a way to not do that?
Right now I have 2 instances of Bugsnag on my app. One on the backend for Lucky, and then one on the frontend for Vue. Exceptions that happen from Lucky are reported in Vue because they seem to just be blanket rescued and passed up the stack.
Here's an example of my graph call.
class Api::Graphql::Index < ApiAction
  param query : String

  post "/api/graphql" do
    raw_json(
      schema.execute(query, variables, operation_name, Graph::Context.new(current_user?)),
    )
  end

  private def schema
    GraphQL::Schema.new(Graph::Queries.new, Graph::Mutations.new)
  end

  private def operation_name
    params.from_json["operationName"].as_s
  end

  private def variables
    params.from_json["variables"].as_h
  end
end

The exception could happen in the current_user? method, or within the Graph::Queries or Graph::Mutations that I have

Exceptions are caught and added to errors by design https://github.com/graphql-crystal/graphql/blob/8c6dc73c0c898ca511d9d12efefca7c837c25946/src/graphql/object_type.cr#L46
This is similar to how Juniper and graphql-js work, although I'm not opposed to making this behavior configurable.

That would be great! Lucky allows us to configure which errors get reported (e.g. someone tampering with the site, etc... could be ignored). We can also better control what the response is back to the client.

#24 open for feedback. Still need to add some custom exception types to make it easier to tell them apart


[LinuxFrameBuffer][RaspberryPi] Could not CreateWindow(): IWindowingPlatform is not registered.

Hey,
I'm running a Raspberry Pi with Raspbian Lite. I like to run Avalonia in LinuxFramebuffer-Mode on this Raspberry Pi.
Source:
like in this example: https://github.com/AvaloniaUI/Avalonia/blob/master/samples/ControlCatalog.NetCore/Program.cs
 internal class Program
    {
        public static AppBuilder BuildAvaloniaApp()
            => AppBuilder.Configure<App>()
                .UsePlatformDetect()
                .LogToDebug();

        private static void ConsoleSilencer()
        {
            Console.CursorVisible = false;
            while (true)
                Console.ReadKey(true);
        }

        private static void Main(string[] args)
        {
            if (args.Contains("--fbdev"))
            {
                Console.WriteLine(">> Run in Mode: Framebuffer");
                AppBuilder.Configure<App>().InitializeWithLinuxFramebuffer(tl =>
                {
                    tl.Content = new MainWindow();
                    ThreadPool.QueueUserWorkItem(_ => ConsoleSilencer());
                });
            }
            else
                BuildAvaloniaApp().Start<MainWindow>();
        }
    }

Console output:
root@raspberrypi:/tmp/demo# dotnet /tmp/demo/RaspberryPiAvaloniaUI.dll --fbdev
>> Run in Mode: Framebuffer

Unhandled Exception: System.Exception: Could not CreateWindow(): IWindowingPlatform is not registered.
   at Avalonia.Controls.Platform.PlatformManager.CreateWindow()
   at Avalonia.Controls.Window..ctor()
   at RaspberryPiAvaloniaUI.MainWindow..ctor()
   at RaspberryPiAvaloniaUI.Program.<>c.<Main>b__2_0(TopLevel tl)
   at LinuxFramebufferPlatformExtensions.InitializeWithLinuxFramebuffer[T](T builder, Action`1 setup, CancellationToken stop, String fbdev)
   at RaspberryPiAvaloniaUI.Program.Main(String[] args)
Abgebrochen

Installed nuget:

What am I doing wrong?

I am not sure if that`s the case here. It seems a window is created before the platform is initialized. Pls leave out the - - fbdev argument and everything should work just fine.

@Gillibald No that's not the solution, because UsePlatformDetect() detects gtk and not Framebuffer!

I dont think you can call UsePlatformDetect is you are using framebuffer, @kekekeks will know the correct method.

       tl.Content = new MainWindow();

Switch it to MainView.
BTW, @grokys , we really need that "overlay" popups that don't depend on the platform compositor. They are needed for platforms like fbdev and WASM.

You mean to say, you can only display UserControls in the Framebuffer mode and no Windows? That makes sense... I will test it. Thank you
You're right that popups would be very useful for platforms that don't support windows.

@kekekeks Unfortunately there is now another mistake on my Raspberry Pi.
 In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No such file or directory
   at SkiaSharp.SkiaApi.sk_colortype_get_default_8888()
   at SkiaSharp.SKImageInfo..cctor()
   --- End of inner exception stack trace ---
   at SkiaSharp.SKImageInfo..ctor(Int32 width, Int32 height, SKColorType colorType, SKAlphaType alphaType)
   at Avalonia.Skia.FramebufferRenderTarget.CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)
   at Avalonia.Rendering.ImmediateRenderer.Paint(Rect rect)
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect)
   at Avalonia.LinuxFramebuffer.FramebufferToplevelImpl.<Invalidate>b__9_0()
   at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run()
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority)
   at Avalonia.Controls.Platform.InternalPlatformThreadingInterface.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Application.Run(ICloseable closable)
   at LinuxFramebufferPlatformExtensions.InitializeWithLinuxFramebuffer[T](T builder, Action`1 setup, CancellationToken stop, String fbdev)
   at RaspberryPiAvaloniaUI.Program.Main(String[] args) in C:\Users\franks\source\repos\Temp\RaspberryPiAvaloniaUi\RaspberryPiAvaloniaUI\Program.cs:line 38
Abgebrochen

Avalonia.Skia.Linux.Natives, version <IP_ADDRESS>

Avalonia.Skia.Linux.Natives, version <IP_ADDRESS>

Same error with this Version

I found a solution on stackoverflow: https://stackoverflow.com/questions/53693042/dllnotfoundexception-using-skiasharp-1-68-on-linux
with ldd you can find dependencies of a library:
root@raspberrypi:/home/pi# ldd /tmp/demo/libSkiaSharp.so
        linux-vdso.so.1 (0x7ef84000)
        /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x768e7000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x768be000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x768ab000)
        libfontconfig.so.1 => not found
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x7682c000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x766ed000)
        /lib/ld-linux-armhf.so.3 (0x76ef5000)

As you can see the libfontconfig library is missing.
I installed this library with this command: apt-get install libfontconfig1


Adding attributed text with NSAttachment in bubble

How can I achieve it?
I tried a log of staff but can not get it, please advise some way

Hey @bizibizi - This will require lots of changes in the library. But https://github.com/jessesquires/JSQMessagesViewController/issues/347#issuecomment-130533179 will help.
I would suggest asking this on StackOverflow. That's a better place for this kind of question. :smile:

Anyone have experience embedding animated gifs within the text message? NSAttachment does not animate its attachments... This is a very important criteria for us choosing this framework.


No 4x downsampling processing: Serious Error happens in th  Inference code!!!

The code below is executed after run python enet-pat.py --apply --load /path/to/model --lowres input.png command. However, there is no 4x downsampling processing for the original input images. According to your released result , the resolution of your released images is all 2048x2048(no matter your re-implement or the paper's author's model), which is 4x times of the paper author's released original results  512x512 in both height and width. This also reflects that your  result image may be tested by inputting the "512x512" original HR images, instead of 4x downsampling images.
To evaluate your released model's effects, I input the 4x downsampling image (see the small images below) to the function "apply" with your model, get a far worse result (see the big size images below) than author's model or released results.
def apply(model_path, lowres_path="", output_path='.'):
    assert os.path.isfile(lowres_path)
    assert os.path.isdir(output_path)
    lr = cv2.imread(lowres_path).astype(np.float32)
    baseline = cv2.resize(lr, (0, 0), fx=4, fy=4, interpolation=cv2.INTER_LANCZOS4)
    LR_SIZE_H, LR_SIZE_W = lr.shape[:2]

    predict_func = OfflinePredictor(PredictConfig(
        model=Model(LR_SIZE_H, LR_SIZE_W),
        session_init=get_model_loader(model_path),
        input_names=['Ilr'],
        output_names=['prediction']))

    pred = predict_func(lr[None, ...])
    p = np.clip(pred[0][0, ...], 0, 255)

    cv2.imwrite(os.path.join(output_path, "predition.png"), p)
    cv2.imwrite(os.path.join(output_path, "baseline.png"), baseline)

@PatWie

Another problem is that the accuracy of the discriminator keeps about 0.6~0.7 after 217 epochs on train2017.zip. The loss don't decrease for many epochs. Here is my output parameters:
Epoch 217 (global_step 601524) finished, time:10 minutes 27 seconds.
[0322 16:36:23 @saver.py:84] Model saved to train_log/enet-pat/model-601524.
[0322 16:36:23 @monitor.py:428] GAN_loss/discrim/accuracy: 0.61338
[0322 16:36:23 @monitor.py:428] GAN_loss/discrim/loss: 0.64238
[0322 16:36:23 @monitor.py:428] GAN_loss/gen/accuracy: 0.17531
[0322 16:36:23 @monitor.py:428] GAN_loss/gen/loss: 0.91403
[0322 16:36:23 @monitor.py:428] QueueInput/queue_size: 50
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LA: 1.8281
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LP1: 0.3446
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LP2: 0.26865
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LT1: 0.026572
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LT2: 0.026721
[0322 16:36:23 @monitor.py:428] additional_losses/loss_LT3: 0.05257

I find your experiment records in the link(a copy is below), I have two doubts:
1)why 40 epoches achieves 0.99414 discrim/accuracy while my 217get only 0.61338?
2)why the loss_PA between your (8.9464) and my (1.8281) is much different?
3) why your LT1 LT2 LT3 is so small whiel my is not?

According to your reply in #541 , the below [website] (https://github.com/ppwwyyxx/tensorpack/pull/541) cannot open with remind "404 error", I am curious how you always obtain a model better than baseline, and what the baseline here is ?(the paper's model?)
Did the following in https://gist.github.com/ppwwyyxx/6da15f2d9087373635254d4e6fbe4891:
Used the paper's normalization
Fixed VGG scale
Used same learning rate for G and D
Used SeparateGANTrainer

And now I can always obtain a model better than baseline (in all the 3 times I've tried).

For 4x: I think that's intended. 128->512 is superresolution. 512->2048 is also superresolution. The latter one is used.
The original code is here (but it cannot run anymore because it should have copied GAN.py). The model there is still downloadable. But it's not compatible with code in tensorpack examples.
I changed the code a bit to make the results slightly better in my experiments, but I never succeeded in getting something as good as the demo image. So bad results you're getting is not a surprise to me.

Honestly, it never came to my mind to artificially downscale the input image before running the inference in practice. Still, it makes no sense for me in this particular work with GANs (things are different for ENet-E and PSNR).
But if this is an issue for you @KindleHe, feel free to process the images with this implementation without down-scaling. And add a down-scaling afterward on the final prediction when comparing to other implementations. When doing so you'll get

(left to right: official EnhanceNet-PAT result, this implementation, ground-truth) on BSD100.
To cite Colorful Image Colorization

Welcome! Computer vision algorithms often work well on some images, but fail on others. Ours is like this too.

This is probably the case here as well. You will probably find images, where the author's implementation beats our version. I am ok with that as I do not care about this task.
One last thought: I am frequently wondering how people publish methods: Do we benchmark these algorithms against specific down-scaling implementations and on synthetic cases? Or do we want to solve real-world problems?
With/without anti-aliasing? Bicubic, bi-linear, Lanczos? OpenCV, PIL, TensorFlow implementation?


Create hello-world.nim

hello world for nim language

Hello, thanks for the pull request. I think in NIM should not for the filename with - (dash). Have you try it before?

sorry, meant to put down an underscore.


xcyl and ycyl support same args as cyl

The xcyl and ycyl modules/functions are limited compared to the general cyl.  They should pass through all the same args.

Implemented in #799


FIX coverage improvements

Codecov Report

Merging #2 into master will increase coverage by 6.11%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
+ Coverage     36.86%   42.97%   +6.11%
  Complexity       94       94
============================================
  Files            11       11
  Lines           236      235       -1
============================================
+ Hits             87      101      +14
+ Misses          149      134      -15

Impacted Files
Coverage Δ
Complexity Δ

src/Parsers/Shortcode.php
100% <100%> (+37.5%)
17 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


not able to install TinyMCE component to angular project

Hi there,
I need to integration TinyMCE in angular project ( https://www.tiny.cloud/docs/integrations/angular/ ).
So I run npm install --save @tinymce/tinymce-angular command to do so.
But I am getting following errors. Can some please help me on this issue!
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/rxjs
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/common
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Ability to chose in what type to compile in  .COM or into .EXE

It would be great if you can chose in what type to compile your source file into .COM or into .EXE file
I know you can do what using Emulator button and type command to compile but still it a lot of annoying work. Can you automate it ? Or add parameter to chose whenever compile into .COM or into .EXE?
Also how to run what pretty debugger (RUN ASM DEBUGGER button ) instead of using td debugger when you compile multy source project?

I know for TASM, we can use tlink /t to do this.
so maybe you can paste this code to settings.json
"masmtasm.dosbox.more": {
        "open": [
            "set path=c:\\masm;c:\\tasm"
        ],
        "tasm": [
            "set path=c:\\tasm",
            "tasm /zi ${filename}.ASM >X:\\ASM.LOG ",
            "@type X:\\ASM.LOG",
            "if exist ${filename}.OBJ tlink /v/3/t ${filename}.obj >X:\\LINK.LOG ",
            "@type X:\\LINK.LOG"
        ],
        "tasm_debug": [
            "if exist ${filename}.com c:\\tasm\\TD ${filename}"
        ],
        "run": [
            "${filename}",
            "@echo (END)Here is the end of the program's output"
        ]
    }

What does this mean? Is this mean that you want to use another debuger instead of TD.exe?

Also how to run what pretty debugger (RUN ASM DEBUGGER button ) instead of using td debugger when you compile multy source project?

What does this mean? Is this mean that you want to use another debuger instead of TD.exe?

Also how to run what pretty debugger (RUN ASM DEBUGGER button ) instead of using td debugger when you compile multy source project?

I mean you can can run td into two different ways . using "Debug ASM code button "(pic 1)

or using in  emulator command to run debugger in
D:>td yourexe.exe

(pic 2) what runs td debugger not in pretty way
then launching debugger using console for example for multiple source files  project

i mean how to launch debugger in pretty way, what commands/keys need to pass as params to run ?

I am not very familiar with the TD but I know
When we use the following command, the TD can't get enough information
tasm test.asm
tlink test.obj
td test.exe

When we use the following commands, the TD can get enough information. this is also the commands used by the extension. The /zi for tasm means full debug info;The /v for tlink means full symbolic debug information
tasm /zi test.asm
tlink /v/3 test.obj
td test.exe

I am not very familiar with multy source assembly project.
When we use the following command with no param, the TD can't get debug information
tasm test.asm
tlink test.obj
td test.exe

When we use the following commands with params for debug, the TD can get debug information. Below are also the commands used by the extension. The /zi for tasm means full debug info;The /v for tlink means full symbolic debug information
tasm /zi test.asm
tlink /v/3 test.obj
td test.exe

You can type tasm /? and tlink /? for more information.

I mean to add option to do so ,for example add here(circle on pic) option if chose then you assemble your source code into .com file

or add option in menu(where is auto detect dosbox and you can chose MSDOS or TASM who will be used to compile program)

Hello, @RazdolbayOne
I added a status bar in the new version and the configuration for .com file.
If you still need this feature, feel free to reopen this. I am sorry for doing this too late


Add Prepare input workflow

Adds a workflow to prepare channel input from a yaml file.
PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!

[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/genomeassembler branch on the nf-core/test-datasets repository.

[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Have you put it to test? Just to make sure it is loading channels as expected? I mean, after reading it, it looks very well structured/designed for me how it's parsed and channeled, just needing to make sure it runs as expected 😄

I haven't tested this one yet, but that can be taken care of in a sec. It's adapted from my own assembly workflow so there should only be a few syntax errors at most. I wanted feedback on the input, and if it's flexible enough but simple enough for people to work with.

I have just on comment, when using paired reads in the TSV, users would always have to pass the file pattern as a glob as my_pairs_{1,2}.fastq ?

Yes, that field will take any file path including with globs, so I think pairs are best supplied in this format. Is there someone I'm not aware of that should be accounted for here? In the end, because this field can take any glob, it will be up to us to provide any extra checks and filtering to put it into the correct channels, e.g. separating single end from paired end.

What about 10x data?

Wasn't planning on incorporating 10X data as it's no long produced.

Need to mark which inputs are for scaffolding and which are for assembly, or can this be determined from the file? E.g. Ultra long ONT

Can deal with this later. Let's just get a start on the rest of the modules.

Looks good to me.


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d2sqf23vpad2u0
Region: ap-southeast-1
Step: Domain activation
Status: Failed
Issue/question
What action is needed to be done to rectify.
Error message
Error message: One or more of the CNAMEs you provided are already associated with a different resource.
*Previously used it for SES and workmail

@iReivax1 You will not be able to use a domain that is already associated with another CloudFront distribution. You will either need to remove that domain association from other applications or use a different domain for your Amplify app. I will close this ticket, but feel free to re-open if you have further issues.

@iReivax1 You will not be able to use a domain that is already associated with another CloudFront distribution. You will either need to remove that domain association from other applications or use a different domain for your Amplify app. I will close this ticket, but feel free to re-open if you have further issues.


As a Data/Web manager I want to ensure that the data and portal is archived regularly ..so that I can ensure previous data versions are stored correctly

@neil-ices-dk does ICES have data archiving as part and parcel of the system? I'm trying to establish what happens within ICES, and what is required outside eg DASSH.
There is a chance only open access data will be archived through DASSH, depending on the outcome of a discussion I started with them today.
Can I also confirm is ICES submit anything to e.g. OBIS etc., as we need to ensure there is no duplication issue.
Aim is to archive annually most likely, in line with the annual submission timeframe.

@NikkiTaylorJNCC the ICES Data and Information Group is working on an overall 'Data Preservation Plan' for the organisation, but that is not in place yet. In the meantime, i think we do do this but i would need you to explain what is meant by archiving in this context. Requirement 7 and 9 of the Core Trust Seal accreditation is about Digital Object Management (see our response https://www.coretrustseal.org/wp-content/uploads/2021/03/International-Council-for-the-Exploration-of-the-Sea.pdf)
ICES is a partner in EMD Biology, and therefore connected to OBIS in that way. We agree on a dataset collection basis what should be available to be harvested by EMD Bio. We have not made any plans, or flagged cetaceans as yet, as this would be something for the ICES JCDP working group to discuss.

Sounds good -in which case regarding DASSH @NikkiTaylorJNCC you would just need to decide whether to get records into OBIS via ICES or DASSH (ICES seems more direct? Up to you however!), and if going with ICES, just let DASSH know not to pass on to EurOBIS.
(Still good for them to pass to the NBN however!)

Fab, ok - I think we will need to map all this out so everyone is clear on the flow of data and who is doing what.  In terms of defining archiving - my understanding is to ensure the long term availability of the data but with the ICES data centre and sharing of the data with DASSH/OBIS NBN etc. I think we are well covered.


KNOX-1789 - Refactor RemoteAliasService to use service loading

What changes were proposed in this pull request?
The RemoteAliasService should use service loading to ensure make the RemoteAliasService extensible. Moved existing Zookeeper impl to its own class and loaded via service loading.
How was this patch tested?
mvn -T.5C verify -Ppackage,release

The existing tests for ZookeeperRemoteAliasService don't cover the RemoteAliasService service loading. Will need to add a test for that.

Pushed change to update the comment.

@moresandeep @lmccay @pzampino any thoughts on this PR?


Dark mode color issues

Octocat is not visible in amoled dark mode.
Link text blends in too well with other text such as username.


Gbc 2 colors?

Hi I have 2.5 beta but I can only see 2 colors in my 8 x 8 sprites. What is pixel software to use to make it 4 colors per Sprite or is this glitch thanks

https://develop.gbstudio.dev/
You still need to use the GREEN shades while making pixelart, there are only 3 colours + transparency for sprites in 2.0beta, and 4 for backgrounds.
Sprites must be 16x16 for now, with animation as multiple 16x16 frames.
Once the green/grey scale files are imported, you can enable colour in gbstudio settings, and assign palettes to each actor / background tiles in the editor.
You can investigate the 2.0 sample project to see how it was done.

hi thank you! Im using gb colors, but 2 colors seem to merge ("1" and "2" show up as the same color)... screenshot attached..this is for an actor if that makes a difference, and im using pixilart.com  thanks!

Here's a better place to ask for help using GBStudio: Click here to join the Discord
This is a place to report bugs

@zartan9 Read the docs
https://develop.gbstudio.dev/docs/sprites/
Sprites and backgrounds have different shades available, since sprites always need transparency, it can only use 3 of the colours.

thanks! works!

@zartan9 could you mark this issue as closed now? 😄

Never mind, I see what's happening! I was using the background pal (5 col + transp), not the sprite pal (4 color + transp). I can fix it, sorry about that.

Mark as closed please


cant run the example code

Coinbase Pro Asyncronous Websocket Client version:
Python version: Python 3.8
Operating System: MacOS

Description
Testing to see if it works
What I Did
import asyncio

from copra.rest import Client

loop = asyncio.get_event_loop()

client = Client(loop)

async def get_stats():
    btc_stats = await client.get_24hour_stats('BTC-USD')
    print(btc_stats)

loop.run_until_complete(get_stats())
loop.run_until_complete(client.close())

What is the output
getting the following error:
Traceback (most recent call last):
  File "/Users/Fahad/GitLab/fuse/src/copra_cbp.py", line 13, in <module>
    loop.run_until_complete(get_stats())
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/Fahad/GitLab/fuse/src/copra_cbp.py", line 10, in get_stats
    btc_stats = await client.get_24hour_stats('BTC-USD')
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/copra/rest/client.py", line 665, in get_24hour_stats
    headers, body = await self.get('/products/{}/stats'.format(product_id))
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/copra/rest/client.py", line 267, in get
    resp = await self.session.get(url, headers=req_headers)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/client.py", line 480, in _request
    conn = await self._connector.connect(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/connector.py", line 523, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/connector.py", line 858, in _create_connection
    _, proto = await self._create_direct_connection(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection
    raise last_exc
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/connector.py", line 980, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/aiohttp/connector.py", line 938, in _wrap_create_connection
    raise ClientConnectorCertificateError(
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.pro.coinbase.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')]
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x106369f70>

Process finished with exit code 1

it was a Mac issue. so resolved


[CPO] Make e2e conformance compatible with old releases

1.17 e2e conformance jobs seems to fail to incompatible target, this PR is to fix the same.
build-images target is not compatible with old releases.
ref: https://logs.openlabtesting.org/logs/periodic-14/github.com/kubernetes/cloud-provider-openstack/release-1.17/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.17/18e79d8/job-output.json.gz

cc @lingxiankong

/lgtm
thanks!


fix cors e2e test

fix https://github.com/envoyproxy/gateway/issues/3001
Check for access-control-expose-headers has been removed because CORS filter sets the access-control-expose-headers header even when the origin is not allowed.
https://github.com/envoyproxy/envoy/blob/b68af06271838f62abf80ac6a2f84b0b5c413d68/source/extensions/filters/http/cors/cors_filter.cc#L196-L198
This is a temporary workaround. It might be an upstream bug introduced by https://github.com/envoyproxy/envoy/pull/33051.
Related upstream issue: https://github.com/envoyproxy/envoy/issues/33086

/retest


Added Email Validator App

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #290
#290
Added new Feature to the Project

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Hi @Sulagna-Dutta-Roy
I removed that folder , I think now it's good to go

I think all the files are added, it's working.

Kindly add script files. Currently not showing as an extension

script file is already added

Can you please merge this PR?

All Set !

Hey who are you? How did you approve the changes ?


[HUDI-1200] Fix NullPointerException, CustomKeyGenerator does not work

What is the purpose of the pull request
Fix NullPointerException, KeyGenerator does not work
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

please help review
@bhasudha   @yanghua

@pratyakshsharma can you please take a look at this?

Ack, will check this today.

Hi Team, any updates on this. Wanted this fix in 0.6.0 as Im having this as part of a POC . @pratyakshsharma @bhasudha

@ashishmgofficial Apologies for the delay, will check this today and circle back.

@pratyakshsharma I would like to get this into 0.6.1 if possible. please prioritize accordingly

@pratyakshsharma I would like to get this into 0.6.1 if possible. please prioritize accordingly

Checking this.

@pratyakshsharma  Do you have any suggestions for this PR? According to the content of this PR, I resolved the error

@liujinhui1994 Making the TypedProperties variable non transient works. Another work around can be https://github.com/apache/hudi/pull/2093


Changed image cache location

I made something!

Shit, typo

Yup! :)

Well, fetch is kinda the most important open-source project I contributed, so, what do I do, submit a new pull request or I reference a new commit and it is included in the pull request by magic?

Ah, GitHub made it by itself!

Thanks!

Thank you too for helping me learn this thing!


Roll Engine from 6227940c3a06 to 5e515af91ee1 (10 revisions)

https://github.com/flutter/engine/compare/6227940c3a06...5e515af91ee1
2021-08-13<EMAIL_ADDRESS>[web] Don't reset history on hot restart (flutter/engine#27872)
2021-08-13<EMAIL_ADDRESS>Roll Dart SDK from 481bdbce9a92 to 3e8633bcbf8f (2 revisions) (flutter/engine#28083)
2021-08-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from qyqXnccT8... to DV0pzjjZ4... (flutter/engine#28081)
2021-08-13<EMAIL_ADDRESS>[web] rename watcher.dart to pipeline.dart (flutter/engine#27995)
2021-08-13<EMAIL_ADDRESS>Roll Skia from 73339ada9d13 to 364ea352b002 (3 revisions) (flutter/engine#28080)
2021-08-13<EMAIL_ADDRESS>Add asan flag to run_tests.py (flutter/engine#28082)
2021-08-13<EMAIL_ADDRESS>[web] add CanvasKit to CIPD; make it a DEPS dependency; add a manual roller script (flutter/engine#28056)
2021-08-13<EMAIL_ADDRESS>Roll Skia from 9032cc61bbe2 to 73339ada9d13 (1 revision) (flutter/engine#28078)
2021-08-13<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from aRsjkcQxJ... to WoiEzs7XB... (flutter/engine#28076)
2021-08-13<EMAIL_ADDRESS>Roll Skia from 68e4e20fae84 to 9032cc61bbe2 (6 revisions) (flutter/engine#28075)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from aRsjkcQxJhNz to WoiEzs7XB978
fuchsia/sdk/core/mac-amd64 from qyqXnccT8yWm to DV0pzjjZ4SQd
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Validate metric_to_check is listed in metadata.csv

What does this PR do?

Validate that any metric_to_check defined in manifest.json is also listed in metadata.csv.
Motivation

The metric_to_check not being present in metadata.csv is a sign that either:
A) metadata.csv is out of date/incomplete
B) It is up to date, but the metric_to_check is wrong (i.e. the integration will never send it).
In either cases, we should know and take action to fix things.
Practical example
I deployed RethinkDB tile to US staging earlier today, only to realize that the metric_to_check was referring to a metric that the integration will never submit. (Interestingly, the tile still shows as "properly installed" — but that's probably because there isn't any data yet.) So… I'm going to have to deploy again. I fixed it in https://github.com/DataDog/integrations-core/pull/5715/commits/8eee355c6fa1533c5320029efff0343fc145e3d5, but this should have been caught earlier.
Additional Notes

This command surfaces discrepancies in several integrations, which makes the CI build fail:
$ ddev validate manifest
Validating all manifest.json files...
activemq_xml/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'activemq.queue.size'
external_dns/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'external_dns.source.endpoints_total'
kube_metrics_server/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'kube_metrics_server.threads'
kyototycoon/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'kyototycoon.records'
openstack_controller/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'openstack.controller'
riakcs/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'riakcs.bucket_list_pool.workers'
sap_hana/manifest.json... FAILED
  metric_to_check not in metadata.csv: 'sap_hana.connection.active'
134 valid files
7 invalid files

Random notes:

Most of these manifests can be fixed (either A or B mentioned above).
But OpenStack uses an artificial openstack.controller metric that we don't want to list in metadata.csv…

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Putting on hold until all manifests are fixed — will submit PRs for that.


Function output-isolation has no parameter named $span

Testing against LibSass v3.2.0-beta.6 (via node-sass v3.0.0-beta.7) I'm getting this error:
cat test/fixtures/Singularity.gs.scss | node-sass --include-path lib/sass_modules/vendor/singularity/stylesheets/ --include-path lib/sass_modules/
{
  "message": "function output-isolation has no parameter named $span",
  "column": 87,
  "line": 59,
  "file": "lib/sass_modules/vendor/singularity/stylesheets/singularitygs/_api.scss",
  "status": 1
}

My test Sass:
@import "breakpoint";
@import "singularitygs";

$grids: 1 3 5 7 9;
$gutters: 1/3;

#foo {
  @include grid-span(2, 3, $output-style: 'isolation', $options: 'both');
}
#foo {
  @include isolation-span(2, 3, 'both');
}

#bar {
  @include grid-span(2, 3, (2 8 2 1), .25, 'isolation');
}
#bar {
  @include isolation-span(2, 3, $grid: (2 8 2 1), $gutter: .25);
}

#baz {
  @include grid-span(2, 3, (2 8 2 1), .25, 'right');
}
#baz {
  @include isolation-span(2, 3, 'right', (2 8 2 1), .25);
}

This may be an issue with LibSass and not Singularity, but I'm not familiar enough with your code to know for sure.

Was an issue with that release of Libsass. Defect reported, acknowledge, and fix was merged for final 3.2 release. Node Saas 3.0 should be coming out any time now and when it does I can confirm it's been fixed in the final version, but it's a libsass issue

Interestingly, works fine in 3.1


Email notifications - "gomail: could not send email 1: gomail: invalid address"

Gogs version (or commit ref): <IP_ADDRESS>6
Git version: 2.9.3
Operating system: Ubuntu Trusty 64
Database (use [x]):

[ ] PostgreSQL
[ x] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ x] No
[ ] Not relevant

Log gist:
https://gist.github.com/Marko-M/cff1fc09790d816a57b3bd84da7798ce

Description
Somewhere along the recent upgrades our company gogs stopped sending email notifications with error as in log gist.
Email server is Postfix which sends the rest of our company email, here's relevant app.ini sections
[service]
ACTIVE_CODE_LIVE_MINUTES               = 180
RESET_PASSWD_CODE_LIVE_MINUTES         = 180
; User need to confirm e-mail for registration
REGISTER_EMAIL_CONFIRM                 = true
; Does not allow register and admin create account only
DISABLE_REGISTRATION                   = true
; User must sign in to view anything.
REQUIRE_SIGNIN_VIEW                    = true
; Mail notification
ENABLE_NOTIFY_MAIL                     = true

[mailer]
ENABLED         = true
; Buffer length of channel, keep it as it is if you don't know what it is.
SEND_BUFFER_LEN = 100
; Name displayed in mail title
SUBJECT         = %(APP_NAME)s
; Mail server
; Gmail: smtp.gmail.com:587
; QQ: smtp.qq.com:25
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
HOST            = mail.somedomain.com:25
; Disable HELO operation when hostname are different.
DISABLE_HELO    =
; Custom hostname for HELO operation, default is from system.
HELO_HOSTNAME   =
; Do not verify the certificate of the server. Only use this for self-signed certificates
SKIP_VERIFY     =
; Use client certificate
USE_CERTIFICATE = false
CERT_FILE       = custom/mailer/cert.pem
KEY_FILE        = custom/mailer/key.pem
; Mail from address, RFC 5322. This can be just an email address, or the `"Name"<EMAIL_ADDRESS>format
FROM            = Gogs<EMAIL_ADDRESS>; Mailer user name and password
USER            =
PASSWD          =

Any help is appreciated.
Additionally I'll use this opportunity to say thanks on this wonderful piece of software ;), great job!
...

An update, test email in Admin Panel -> Configuration goes through for both emails, so I guess it's something comment notification specific.

Hi, this is duplicated to https://github.com/gogits/gogs/issues/3487

I actually think this would be fixed by #3616, can you confirm @Marko-M ?

Hi @strk, running with Ubuntu 14.04 Packer latest version at this time, issue comment emails are still not sent.

@Marko-M r #3616 wasn't merged yet, so you would need to build it yourself to try it.


Simplify distill lstm code

PR types

Performance optimization
PR changes

Models
Description

Simplify distill lstm code, and optimize performance.

ai studio教程也记得我同步更新

收到


adding new validators can stall consensus

Describe the bug
When testing the Orthosie testnet, we discovered that creating new validators stalled the network. Currently it's unclear why this is happening.
To Reproduce
Steps to reproduce the behavior:

Start a single validator testnet
Create a new validator using pcli

Behavior
A new row is added to the validators table, initially in the inactive state. This occurs without issue.
However, Tendermint then stalls:
tendermint-node0    | 2022-04-05T17:31:22Z ERROR failed to apply block err="commit failed for application: error changing validator set: applying the validator changes would result in empty set" height=53325 module=consensus

This might go away with the new Staking design, so will retest after the Postgres stuff is completely removed

Moving this out of the Herse milestone.
Currently we don't actually write back the validator states to Tendermint from the Staking component, so this won't affect the Herse testnet.  We should check whether the problem recurs before Philophrosyne.


Fix overflow issues with notebook cells

This PR fixes #11988 - run code cell is still sticky and there is no more overflow on long lines for code cells.
Before:

After:

Pull Request Test Coverage Report for Build 233035672

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.641%

Totals

Change from base Build 233025486:
0.0%

Covered Lines:
19617

Relevant Lines:
44234

💛  - Coveralls


Disabling more than one augment

Hello!
I'm having an issue regarding editing the base mod's augments in the "configure-aguments.json" file.
I was able to use the example file in the documentation to disabled Mining AOE 1 using:
{
  "mysticalagriculture:mining_aoe_i": {
    "enabled": false
  }
}

However, I cannot figure out a way to write other augments in the .json file to disable them. I've tried adding them in the first bracket:
{
  "mysticalagriculture:mining_aoe_i": {
    "enabled": false
  }
  "mysticalagriculture:flight": {
    "enabled": false
  }
}

I've tried separate brackets...
{
  "mysticalagriculture:mining_aoe_i": {
    "enabled": false
  }
}
{
  "mysticalagriculture:flight": {
    "enabled": false
  }
}

But sadly to no avail, in fact it reenables Mining AOE if I try adding anything additional.
So, any help with this would be greatly appreciated!

https://jsonlint.com/


Show breadcrumbs when user has filtered by project

Capturing feedback from Kenneth -
It is not clear to new Rancher users when their view is filtered by project. For example, if you install a Helm chart, you might not immediately see it in Installed Apps due to a project filter:

This could be done in addition to table filtering, depending on how the UX design turns out.
We would still need to decide what to do if the user filters to show multiple projects.

I looked into this yesterday and I think that the simplest solution might be to add some text after the page title along the lines of "(14/32)" which would indicate that you are viewing 14 of a total of 32

Closing this as it's a duplicate UX of https://zube.io/rancher/dashboard-ui/c/6355