missing Observable import for visual studio

In every *.d.ts under rx/add,
should add:
import {Observable} from '../../Observable';
for visual studio typescript compiler / intellisense compatibility.
visual studio error message:
Invalid module name in augmentation, module '../../Observable' cannot be found.
for example:
import { BufferSignature } from '../../operator/buffer';
declare module '../../Observable' {
    interface Observable<T> {
        buffer: BufferSignature<T>;
    }
}

should be:
import { BufferSignature } from '../../operator/buffer';
import {Observable} from '../../Observable';
declare module '../../Observable' {
    interface Observable<T> {
        buffer: BufferSignature<T>;
    }
}

based on https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#augmenting-globalmodule-scope-from-modules

I don't think there's strong difference between visual studio to other editor configurations since compilation goes through typescript compiler. Would you be able to share what's tsc version and small code snippet able to reproduce issue?

Same issue and looks like same problem here:
http://stackoverflow.com/questions/37030963/angular-2-2-0-0-rc-1-property-map-does-not-exist-on-type-observableresponse

I wrote the following in a different git repo (apparently it's was the wrong repo to discuss RxJS v5).
Rx Operators Cannot Resolve Observable - Visual Studio 2015 & Typescript
There seems to be a problem with the node module resolutions with all the Rx operators in Visual Studio 2015.  No matter what I try, I can not seem to get rid of these typescript errors.  For example, when using the RxJS map operator within Angular2 Quickstart package, Visual Studio complains:
Severity: Error
Code: TS2664
Description: Invalid module name in augmentation, module '../../Observable' cannot be found. TypeScript Virtual Projects
Project File: C:\Angular2-Quickstart\node_modules\rxjs\add\operator\map.d.ts
Line: 2
I have several other npm packages that my typescript project does not complain about.  Just the RxJS operators.  For some reason, when I browse to any type definition file under  "node_modules\rxjs\add\operator" all of them are showing the above error on the line with
declare module '../../Observable' {
My project compiles fine using both the typescript's CLI and Visual Studio's built in compiler, but I am getting a flood of these errors in Visual Studio's error window.  It also breaks Typescript's intellisense.  I have attempted to include a reference path to Rx.KitchenSink.  But I just get more of the same errors.  Unfortunately nothing seems to be solving this issue.
/// <reference path="../node_modules/rxjs/Rx.KitchenSink.d.ts"/>
My tsconfig.json:
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false
  }

My typings.json:
  "ambientDependencies": {
    "es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654"
    ...
  }

I am using the latest version of everything:
Windows 10
Visual Studio Enterprise 2015: Version 14.0.25123.00 Update 2
Typescript Version: <IP_ADDRESS>
npm package: "rxjs": "5.0.0-beta.7"  (Errors also occurs with 5.0.0-beta.6)
Node: v6.1.0  (I don't think it is relevant, but also occurs on a system with Node v5)
I have a second system with a similar setup, the errors also occur there.

Please see this thread for a description of the issue and workaround

@vladima You are a life saver.  Thanks.

Appreciate for workaround @vladima . One of reason I switched from VS is about using typescript.. wish VS15 will enhance support.
Let me close this issue for now since it's tooling environment, @wizardnet972, please reopen / create new issue if there's something unresolved.


Enabling user-specified scorer in HyperoptRegressor + best score

This PR contains 2 changes:

We allow the user to set the best_score in which case the loss is computed as best_score - cv_score. This makes the loss >= 0 is best_score is correctly set. I am not entirely sure if this affect hyperopt at all but there are many black-box optimizers that perform better with positive objectives that they are trying to minimize rather than negative objectives that is being minimized. If the user does not specify the best_score, current behavior (which is equivalent to best_score = 0 is preserved.
Update HyperoptRegressor to allow user to specify the scorer similar to HyperoptClassifier.

@kiran-kate @hirzel
So I updated the schema for HyperoptRegressor and now it is a TrainableOperator. However, the return of the .fit call is not a Trained HyperoptRegressor and hence does not have the get_trials() and related functionality, and currently there is no way to access the get_trials() for this operator.

Hi Pari, Thanks a lot for implementing the scoring for HyperoptRegressor! We often get asked how to use other metrics, so it's good to have a clean answer for that question. So I'll merge your PR.
Regarding your comment about the TrainableOperator, sorry, this was caused by some other independent changes I had made. Thanks for pointing out that that temporarily hides get_trials(). Let's get that functionality back using a separate PR.


internal: Cache react matrix dependencies to speedup test speed

Motivation

Faster running tests.
Solution

> 30s is spent (half the time) on react17 installation. Let's add a cache for this resolution.

This method doesn't work at least.


Update frog_jmp.py

Hi this doesn't speed up the algorithm or anything but it keeps it short and easy to understand I think.
Would this be acceptable?
Great work by the way I love these.

@blavejr Thanks for your advise, it's very beautiful solution.

use @blavejr solution for more readable.


the method setYAxisDecimalPattern whic version we can use

the new packet version 3.6.1 has no method setYAxisDecimalPattern() ， which version we can use it

This is a property of the series.
You can try it like this:
    // Series
    XYSeries series = chart.addSeries("seriesName", xData, yData);
    series.setYAxisDecimalPattern("##.00");

This is a property of the series.
You can try it like this:
    // Series
    XYSeries series = chart.addSeries("seriesName", xData, yData);
    series.setYAxisDecimalPattern("##.00");

I means that it has no this attribute in new Jar package version 3.6.1

Which version will bring in

@limitlesslive
This feature has not been released yet.
Can you try this setting:
chart.getStyler().setYAxisDecimalPattern("##.00");

I'll push a release soon.

3.6.2 has been released. Thanks @Mr14huashao for all the improvements!


refactor: replace $stacked-variables with accumulator

Local variables are stacked using a tunnel parameter ($stacked-variables) in unusual sibling-walking templates.
To simplify the logic, this pull request replaces the tunnel parameter with an accumulator (stacked-variables-distinct-uqnames).

@AirQuick , do you think the compiler's pending tunnel parameter could also be replaced with an accumulator? If so, do you think it would be a worthwhile change? Things I liked about your solution in this PR are that the accumulator rules are in one place and understanding the usage doesn't require you to examine call stacks to determine which caller might have passed a tunnel parameter.

It would be a worthwhile change. Right now the tunnel $pending, ancestor::x:scenario/@pending, ancestor::*/@focus and $pending-p (what is this -p?) are tangled in a way I can't figure out instantly. Resolving them in a single place would be a great step forward.
Added a comment: https://github.com/xspec/xspec/issues/575#issuecomment-697206772

Added a comment: #575 (comment)

Thanks, that's a reasonable place to record the idea for future reference.
My guess is that whoever introduced the "-p" at the end of the variable name was familiar with conventions like http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node69.html and just meant "is this pending, yes or no?"

My guess is that whoever introduced the "-p" at the end of the variable name was familiar with conventions like http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node69.html and just meant "is this pending, yes or no?"

Thanks! Now I get it.
Some lines in the XSpec code base refer to "predicate" in a context broader than XPath's. Probably the same mind-set.


Add copier question to set CI environment variables

In some case, it is useful to setup environment variables in the installation/test jobs.
A typical example is the shopinvader repos which need to use a different package index.

This was done in #179 and #180


[DO NOT MERGE] PP-11682 replace 'request' package with 'axios' for 'connector' and 'adminusers' clients.

https://payments-platform.atlassian.net/browse/PP-11682
WHAT

Change client methods to use ‘axios-base-client’ i.e.
adminusers.client.js
connector.client.js
Refactor call parameters initialisation.
Use ‘async/await’ syntax.
Update various tests to reflect renamed response values status and data.

HOW
All automated tests should pass preferably without the need to be amended.
Existing functionality should remain unaffected.

Close PR - superseded by newer PRs.


Lost All my time and progress

Describe the bug
You have made me lose all the time and progress I had in the project, I had been working on it for days and yesterday when I asked for an improvement several project files were incomplete with commented segments indicating the legend "same previous code" and the project los everything and can´t run then. Do not handle a history of corrections or all the chat that allows me to return to a previous correct state. At the moment of asking to restore to a previous point, the project was simply invented, rules and implemented logics were lost, a total mess they made to me.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-f57jtt
Steps to reproduce
Simple, i asking to restore to a previous point, the result is a simply invented, rules and implemented logics were lost, a total mess. The back Checkpoint the same thing. And all this cost me lost tokens, now i can´t explain to the IA all things to-do do again
Expected behavior
I was hoping at the time of asking to go back to a previous step to get the integrity of the code before the last change request.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 180819290,
  "usedJSHeapSize": 174093526,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Calvido
Chat ID = da0f58c3f73f

Additional context
No response

The same report from other user: "Once the project is a bit detailed and requires changes in few pages. Bolt writes the updated code snippet but does not write the old code instead writes "//-- Existing code goes here" which pretty much breaks the website." And when i prompt please restore all code, simply invent, lost all logical and advances, lost tokens, lost days off work.

About 3 million of my 9 million used tokens so far this month were on creative endeavors, and the other 6 million were spent on trying to figure out how to fix the broken project that bolt overwrote with truncation or changed entirely directly against my instruction. I haven't bothered with the last 1 million because I know I wont be able to make any progress on anything before I hit a wall of fixing and breaking loops. Until they can fix the problem of context and memory none of these advanced tools will be more than a novelty.

This issue, the current workaround, and the final resolution are breing tracked in #24

This happened to me also. I reloaded the page, and lost tons of chats and it went back to an older version of the project


Dynamic Installation Error - Version: 0.29.0 --- Requires: 0.30.4

Hi, how can I fix this error?
Dynamic Prompts is not installed correctly. You have dynamicprompts version 0.29.0 installed, but this extension requires version ~=0.30.4. Please run install.py from the sd-dynamic-prompts extension directory, or pip install dynamicprompts[attentiongrabber,magicprompt]~=0.30.4.
As far as I know I need to extract the files of this package ''dynamicprompts-0.30.4-py3-none-any.whl'' somewhere in Google Drive...
Horsepower: Google Colab
Notebook: The Last Ben
Many thank in advance...

You shouldn't be extracting wheels by hand. You should either pip install dynamicprompts-0.30.4-py3-none-any.whl, or run the pip install command the warning message is telling you to.

Glad you got it sorted out.


Access-Control-Request-Headers in firefox

I noticed angular running in firefox sends Access-Control-Request-Headers as comma separated string without spaces. This cause this to fail:
        $headers = $request->headers->get('Access-Control-Request-Headers');

        if (is_string($headers)) {
            foreach (explode(', ', $headers) as $header) {

I added a simple middleware to deal with it, but it would be great to have it in package. Eg. support both explode(', '.. and explode(','..

Hi @jake142,
you can always create a pull request, and we'll go through it and merge. Check the guidelines for contributing.

I think it would be best to explode on , and then use trim() later on.

This could potentially be the root cause for https://github.com/nordsoftware/lumen-cors/issues/21 too


Nebula Graph Crash when return invalid edge element

nGQL> MATCH (v:player{name: 'Tim Duncan'})-[e:like]-() RETURN e[0]

nebula test:
(czp@nebula) [nba]> MATCH (v:player{name: 'Tim Duncan'})-[e:like]-() RETURN e[0]
+----------+
| e[0]     |
+----------+
| __NULL__ |
+----------+
| __NULL__ |
+----------+
| __NULL__ |
+----------+

neo4j test:
neo4j@neo4j> create (v:player{name:'Tim Duncan'})-[e:like]->();
0 rows available after 62 ms, consumed after another 0 ms
Added 2 nodes, Created 1 relationships, Set 1 properties, Added 1 labels
neo4j@neo4j> MATCH (v:player{name: 'Tim Duncan'})-[e:like]-() RETURN e[0];
Expected Long(0) to be a org.neo4j.values.storable.TextValue, but it was a org.neo4j.values.storable.LongValue

@yixinglu
Nebula don't crash in  v2.0.1, close this issue.


zchange the checkpoint priority, try use user defined store checkpoink firstly

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhangmiao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Set logger in silent mode by default

While preparing everything to release v2.4.0-rc.1 I noticed that zos was not in silent mode in some examples tests after adding a Loggy.silent(false) before merging #948. This PR fixes that.

@jcarpanelli I'm not sure I follow, as this PR should not be necessary. Loggy should be silent by default, unless explicitly activated. And we should be activating it only on packages/cli/src/bin/zos-cli.ts. Am I missing anything?

@spalladino It seems that the one that wasn't following was me. I rollbacked the changes implemented on the examples and set the isSilent value as true (and also set the the isVerbose as false)
Finally, I added a super small refactor that I forgot to implement in the Verifier  model (sorry for including this here!)

Cool, thanks Jota!!


I can't see any markdown posts in the build.

It was stated that I only had to drop a .md file somewhere and it would be available automatically.
The conclusion I'm making is that "npm run build" has to be run every time I publish a new post.
I was hoping this project could be dropped at any file server, like Google Cloud Storage and work directly.
Like this static project, made with svelte:
https://storage.googleapis.com/bildbanken2/index.html
(I had to add index.html to the url, as it is not served by a web server.)

It was stated that I only had to drop a .md file somewhere and it would be available automatically.

My apologies if this was misleading. I meant that the .md file would be automatically available on the dev server, while running a site with npm run dev.

The conclusion I'm making is that "npm run build" has to be run every time I publish a new post.

That is correct; as far as I know, that's standard behavior for all statically generated sites, like this one. The conversion from markdown to HTML has to happen at some point, and that's at build time for SSGs like this. There probably are products that can do that live/on demand from a file system, but I'm afraid that's not what SvelteKit is (at least, not without some modification).

As I understand the transformation can happen in the Load function.
I have seen examples of this. Especially json can be transformed in Load.
I’m focusing on headless sites atm, using svelte or solidjs, and I see many
advantages. Svelte Kit is a nice try, but there are lots of obstacles.
Having to use npm run build, for every new md post, does not scale to
anyone except the programmer.
On Thu, 16 Feb 2023 at 18:42, Josh Collinsworth @.***>
wrote:

It was stated that I only had to drop a .md file somewhere and it would be
available automatically.
My apologies if this was misleading. I meant that the .md file would be
automatically available on the dev server, while running a site with npm
run dev.
The conclusion I'm making is that "npm run build" has to be run every time
I publish a new post.
That is correct; as far as I know, that's standard behavior for all
statically generated sites, like this one. The conversion from markdown to
HTML has to happen at some point, and that's at build time for SSGs like
this. There probably are products that can do that live/on demand from a
file system, but I'm afraid that's not what SvelteKit is (at least, not
without some modification).
—
Reply to this email directly, view it on GitHub
https://github.com/josh-collinsworth/sveltekit-blog-starter/issues/31#issuecomment-1433469939,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2HFC2TWO3A7ZUMDMNZ3CTWXZRHHANCNFSM6AAAAAAU6FBWZM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
/Christer Nilsson
070-749 6800

The intent is that the Markdown files are stored in a GitHub repo, and any change kicks off a new deploy (e.g., by hosting with Netlify or Vercel). It sounds like you're trying to do more of a markdown CMS kind of thing, which may be possible with SvelteKit, but it's not the goal of this particular project.


create umd js files

Feature Request
Create and package umd.js files to be in par on how angular2/angular2-material releases and publishes the modules.

Added in https://github.com/Teradata/covalent/pull/78

http://bob.yexley.net/umd-javascript-that-runs-anywhere/ more info on umd


Fix compilation with VS16.10 and later

Summary of the Pull Request
VS16.10 and later contain two regressions:

Marking the use of pshpack*.h in system headers with C4103
The newly included, builtin AssemblyReference.xaml is missing the AssemblyReferences project capability

PR Checklist

[x] I work here

Validation Steps Performed
Built the project with VS16.10 and VS17.0.

@jsoref The spelling script might be a bit overzealous now. 😄
It suggested the following changes to my initial draft of this PR: https://github.com/microsoft/terminal/commit/c6b7cb371922f99cb24b65aa9c7fe690bba1e7cd#comments
After following the instructions, some of the removed words were then found to be missing after opening this PR: https://github.com/microsoft/terminal/pull/10208#issuecomment-848797135

@lhecker: yeah, sorry, I think it's trying to say "you currently are expecting a lowercase item, and there are no longer any lowercase items, so let's get rid of the lowercase expectation", but what it should be saying is "you no longer have lowercase items, but you still have uppercase items, so, let's switch to only expecting uppercase".
I think fixing this shouldn't be terribly hard, since it's basically just checking each word removal candidate that's all lowercase to see if there's a non lowercase match in the set, and then putting it into the add set.
Fwiw, the idea behind caring is that one might have a brand, e.g. Microsoft and expect the brand to generally be written in uppercase. But eventually, you might have a path microsoft, in which case you probably are ok w/ both. (There's a rough edge where GitHub and JavaScript are ok w/ github and javascript, but not Github/Javascript.  I'm still thinking about how to address this rough edge.) One approach would be for me to give up on the case folding feature and just treat the strings as entirely unrelated -- at the risk of potentially doubling the size of expect. I don't really like that idea, but, I might end up doing it if I can't get the case transition to work properly.
prerelease has some support for pulling in additional dictionaries (e.g. a list of companies), but, sadly, a number of those lists are polluted w/ typos, so, while it's a good compression thing, it means accepting additional typos. I'm slowly trying to work through those and hope to make a PR to fix them before I release that feature. -- It would mean that Microsoft could easily add a unified path for a dictionary or two.

@msftbot merge this in 1 minute


Transparency

Not sure, if it's with Blender 2.91 or the Plugin, but I get a transparent model when going into the shading window of Blender.

Could you post a screenshot?

Could you post a screenshot?

Because for me it's like this:

Repro:

New project
Load model
Fix model
Open bake tab
Click Desktop
Check Transparent
Bake!

Because for me it's like this:

Repro:

New project
Load model
Fix model
Open bake tab
Click Desktop
Check Transparent
Bake!

I believe that's a bug with Blender's GPU baking. Set you render engine to Cycles and make sure you're set to 'CPU', and see if that helps?

I believe that's a bug with Blender's GPU baking. Set you render engine to Cycles and make sure you're set to 'CPU', and see if that helps?

I'll try.
It seems like there should be a checkbox for this.

I'll try.
It seems like there should be a checkbox for this.

It's a bug that's seldom reproduced, but ideally I'll just come up with a workaround for it that the user has no interaction with.

It's a bug that's seldom reproduced, but ideally I'll just come up with a workaround for it that the user has no interaction with.

Is there a ticket over at developer.blender.org we can follow to get updates on the GPU baking getting fixed?

Is there a ticket over at developer.blender.org we can follow to get updates on the GPU baking getting fixed?

This looks relevant, but I'm not sure it's the only one: https://developer.blender.org/T59473
I couldn't find any others, but for now I'll just throw together a workaround.

This looks relevant, but I'm not sure it's the only one: https://developer.blender.org/T59473
I couldn't find any others, but for now I'll just throw together a workaround.

Just to be perfectly clear, where do I have to set the rendering to CPU?

Just to be perfectly clear, where do I have to set the rendering to CPU?

See here: https://www.katsbits.com/codex/render-engine/
Below where you set the render engine, you can set device to 'CPU'.
Make sure you set your render engine to Cycles first.

See here: https://www.katsbits.com/codex/render-engine/
Below where you set the render engine, you can set device to 'CPU'.
Make sure you set your render engine to Cycles first.

Yeah, I had set the render engine over in the Rendering tab... where else would I find it?

Yeah, I had set the render engine over in the Rendering tab... where else would I find it?

Nope :(

Nope :(

Aww man. If you're willing to send me your model I can take a closer look?
Transparency baking in general is somewhat tempermental due to the way it has to try to hackily bake alpha (since it's not supported by Blender) so turning it off may give you okay results, until I can improve the alpha baking consistency.

Aww man. If you're willing to send me your model I can take a closer look?
Transparency baking in general is somewhat tempermental due to the way it has to try to hackily bake alpha (since it's not supported by Blender) so turning it off may give you okay results, until I can improve the alpha baking consistency.


(fix/doc): fix error link

The project code seems to have undergone a refactoring and some links are faulty. Optimizer links are also wrong, but I don't know which one to fill in, I can't find the corresponding module, it seems to go with the planner module

Thanks for the fix! In fact, I think the entire article about planner needs a rewrite after the refactoring. But we can do it step by step.

Yes, it seems that the whole project has been refactored and the documentation is no longer suitable


[Darwin/macOS] keyCodeForChar for 'a' returns 0xFFFF and functions like KeyTap returns ""

Please speak English, this is the language everybody of us can speak and write.
Please take a moment to search that an issue doesn't already exist.
Please make sure Golang, GCC is installed correctly before installing .
Please ask questions or config/deploy problems on our Gitter channel: https://gitter.im/go-vgo/
Please give all relevant information below for bug reports, incomplete details will be handled as an invalid report.

You MUST delete the content above including this line before posting, otherwise your issue will be invalid.

version (or commit ref): 0.90.2

Go version:
$ go version
go version go1.14.2 darwin/amd64

Gcc version:
$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Operating system and bit:
$ uname -v
Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101

Resolution:

Can you reproduce the bug at Examples:

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

Provide example code:

func main() {
	println(robotgo.KeyToggle("a", "down"))
	println(robotgo.KeyToggle("a", "up"))
	println(robotgo.KeyToggle("A", "down"))
	println(robotgo.KeyToggle("A", "up"))
}
// prints empty four lines and never tapped 'a' key

Log gist:

Description
reproduced in examples/key/main.go
first bug
keyCodeForChar('a') returns 0xFFFF so we cannot press 'A' key.
We cannot press 'B' key and '0' key because of the same reason.
second bug
functions like KeyTap returns empty string(means no error) if keyCodeForChar returns 0xFFFF. I think they should return "Invalid key code specified."

I'll think about it and fix it, or give me a PR, thanks.


docker-compose issue

did a >docker-compose up
File "/bin/docker-compose", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)

Resolved: installed docker compose on centos fixed the issue
pip install -U docker-compose


implemented ownership page functionality

Edited files ownership.component majorly to implement funtionality for ownership page  by following:

Fetch schemas using schema endpoint.
Populate data into form on ownership page with properties in the schema.
Update attribute ownershipAttribute with the selected fields in the form.
Use put method of schema endpoint to update data on server.

@Prasang023 please resolved conflicts


wrap postgrest-py

Use postgrest-py and supabase-js as reference implementations

I'd love to do this. Can i go ahead with the task

I'd love to do this. Can i go ahead with the task

@prettyirrelevant Please go ahead.
I'm a bit busy with my work now but willing to review your PR or give you a hand if you need.

@prettyirrelevant Please go ahead.
I'm a bit busy with my work now but willing to review your PR or give you a hand if you need.

I'd love to do this. Can i go ahead with the task

tell me if you need help with something, I want to participate in this kind of projects

I'd love to do this. Can i go ahead with the task

tell me if you need help with something, I want to participate in this kind of projects

@lqmanh alright then i'll start asap.

@lqmanh alright then i'll start asap.

#4 wrapped postgres-py

#4 wrapped postgres-py


Fix classloader for cross-plugin dependencies

What does this PR do?
Fixes cross-plugin dependencies class-loading issues.
Fixing the issue is quite trivial, but the real challenge is creating a test to prevent similar issues.
Initially reported in the forum.

minor-refactor: move 'http.client' to 'httpclient' for consistency
Implement test to prevent similar issue (parsing plugin dependencies)
add CL root package customizer for all inter-plugin dependencies

Checklist

[x] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[x] I have added tests that would fail without this fix
[ ] Fixing/removing one exclusion for the log-shading plugin, won't be necessary once https://github.com/elastic/apm-agent-java/pull/2428 is merged.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-12T13:31:00.689+0000

Duration: 36 min 57 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
2219

Skipped
11

Total
2230

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

All plugins, except for the spring mvc one, don't have a PluginClassLoaderRootPackageCustomizer on purpose. The modules they depend on, such as apm-httpclient-core, apm-cassandra-core-plugin, and apm-redis-common don't depend on any specific library classes. Therefore, it's better to load them from the agent class loader so that the plugin class loaders don't contain redundant classes that increase the memory impact.
However, this makes it hard to have a heuristic and create an automated test when to or when not to require a PluginClassLoaderRootPackageCustomizer`.

I agree with you @felixbarny , we should aim to minimize extra memory usage when we can, in this case I think the benefits/cost seems worth it:

We can assume that loading multiple times those classes is quite rare, for example using multiple redis drivers at the same time is not that common. Also the number of classes and their size is usually small.
when the test fails there is a clear indication of what to do, thus it's a huge gain for us as detecting this with integration tests would be too tedious as it would require to cover every plugin.

Maybe we could re-think this later with a better approach to provide cross-plugin visibility without duplication of loaded classes if we find that this memory overhead is becoming an issue.

Good points.
Just a question on the feasibility of making the heuristic a bit smarter: Would it be possible to detect that HttpClientHelper is from the apm-httpclient-core plugin which doesn't have any dependencies, and therefore it's not required to add a PluginClassLoaderRootPackageCustomizer?

Good idea, I have added this case in last commit (https://github.com/elastic/apm-agent-java/pull/2509/commits/603596cdea68c1ecc7617b3103377f8ffd357651) so it simplifies things a lot for HTTP client plugins.

Nice 👏
You can also remove the apm-jdbc-plugin dependency in the apm-cassandra-core-plugin as it is not needed. I forgot to remove it after I have moved some parts out of the JDBC plugin into the core.
As the apm-redis-common module also doesn't have any dependencies, you should be able to remove the related PluginClassLoaderRootPackageCustomizer that add the co.elastic.apm.agent.redis package.


Add resourcePath method to Foundation/Application.php

illuminate/support uses this method to allow override third-party views, but it's not part of application implement which isFoundation/Application.php

What you want to do, specifically?

@sijad yes share more details please.

All the path methods are omitted from the application contract by design. I personally think we should get rid of the application contract tbh, and instead have a few interfaces that it implements.


feat: Add windows-dark theme

Description
Added new windows-dark theme
Type of change

[x] Updated documentation (updated the readme, templates, or other repo files)

How Has This Been Tested?

[x] Tested locally with a valid username
[x] Tested locally with an invalid username
[x] Ran tests with composer test
[x] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots
With border

Without border

Okay.


Fix a webview cannot be loaded when the page need redirect.

When load a page which need redirect, that will be blank.
To compare the url, don`t inject frame that js need to redirect.

@lokimeyburg ditto :)

This was fixed in bfa50767abf.
Thanks @Hydra2050!


Vector / chunked / batch mode

This one is rather easy in principle: just wrap the JVP/VJP/HVP seed in a Batch struct that is essentially a named tuple, and dispatch on that

Partially solved by #320, still needs:

[ ] Batched HVPs based on batched pushforward/pullback
[ ] Batched pushforward with ForwardDiff
[ ] Batched pushforward and pullback with Enzyme
[ ] Tests on efficiency (type stability, allocations)
[ ] Independent tests of the primitive operators with batched scenarios

It would be nice to avoid the distinction between operator and operator_batched, but that would require wrapping inputs into a Single struct or so

Further improved by #412, which makes batch mode the default that extensions need to implement

Batch mode for Enzyme is nearly complete since #471, it only needs https://github.com/EnzymeAD/Enzyme.jl/issues/1883 to work with out-of-place functions


Permission to translate texts to portuguese + a language changer

I'd like to know if i can help translating this mod's texts to brazillian portuguese, and of course, it would be necessary to also create a way to change the mod language, that i intent to work on

I am not in a hurry to do translations while the mod is early in its life.  That said, I wouldn't be opposed to starting on it, so long as it is using the framework for mod localization that the larger mods are doing.  (E.g. doing the same kind of localization that you find in Pathoschild's TractorMod with json files and all that.)  I also think the transition to moving the strings to json could be done in pieces - e.g. start with just one of the quest lines.  That way there's less likely to be a giant merge conflict to sort through.


update cycle tag in templates

'The cycle template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the future tag library to start using the new behavior.
compiled_result = compile_func(self, token)

we are not using variables in the cycle tag so no need to check whether it is escaped or not.


"python.analysis.inlayHints.functionReturnTypes" not recognized in python 2022.16.1

Environment:
VS Code Version: v4.5.2 (code-server)
OS Version: Cloud SageMaker using (python) v2022.16.1
Steps to Reproduce:
Preferences Open Settings (.JSON)
Add into settings.json: python.analysis.inlayHints.functionReturnTypes": true
3- the entry show: "unknown configuration setting" and typehint does not take effect

@bschnurr  Let me know if you have questions on this item. I appreciated updates asap.

Those settings actually come from the Pylance extension. Do you have that extension installed?
Yes as you can see in the image below:

@ezeid, the list is showing the Python extension. The Pylance extension is a separate extension. Looks like you don't have it installed. Here's mine:

Closing. Please let us know if you have an more issues.


gtk-doc: 1.33.1 -> 1.33.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gtk-doc is: "Tools to extract documentation embedded in GTK and GNOME source code"
meta.homepage for gtk-doc is: "https://www.gtk.org/gtk-doc"
meta.changelog for gtk-doc is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.33.2 with grep in /nix/store/ldisnbqp1vdsgnn0cfxghkbq4q5y7mvw-gtk-doc-1.33.2

directory tree listing: https://gist.github.com/ee3960d3790d66935234cd75d593d9ba

du listing: https://gist.github.com/d5f22a0e0df0e81b92c9464c46002ac8

Rebuild report (if merged into master) (click to expand)

39606 total rebuild path(s)

13050 package rebuild(s)

12964 x86_64-linux rebuild(s)
11220 i686-linux rebuild(s)
4488 x86_64-darwin rebuild(s)
10934 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
AusweisApp2
EBTKS
EmptyEpsilon
Literate
MIDIVisualizer
MMA
OSCAR
OVMF
OVMF-CSM
OVMF-secureBoot
R
SDL
SDL2
SDL2_gfx
SDL2_image
SDL2_mixer
SDL2_net
SDL2_ttf
SDL_Pango
SDL_gfx
SDL_gpu
SDL_image
SDL_mixer
SDL_net
SDL_sound
SDL_stretch
SDL_ttf
Sylk
Xaw3d
_1oom
_1password-gui
_20kly
_3mux
_90secondportraits
a2jmidid
abbaye-des-morts
abcde
abcl
abcm2ps
abiword
abootimg
abuse
accountsservice
acgtk
acoustidFingerprinter
acpilight
acsccid
act
adapta-backgrounds
adapta-gtk-theme

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ldisnbqp1vdsgnn0cfxghkbq4q5y7mvw-gtk-doc-1.33.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gtk-doc https://github.com/r-ryantm/nixpkgs/archive/3c064dc3a0713d5672aaf8ce9283b2b0fb6087f8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ldisnbqp1vdsgnn0cfxghkbq4q5y7mvw-gtk-doc-1.33.2
ls -la /nix/store/ldisnbqp1vdsgnn0cfxghkbq4q5y7mvw-gtk-doc-1.33.2/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @pSub @worldofpeace for testing.

This is another duplicate of https://github.com/NixOS/nixpkgs/pull/111256


Verify plan on deploy calls as well

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

https://github.com/vespa-engine/vespa/pull/27130 also moves this earlier for submit, to before we parse the payload.


Version 1.1.0 doesn't work with recent Vaadin version (14.5.2)

Whenever I use version 1.1.0 of this plugin with Vaadin 14.5.2 the compilation doesn't work (Client compilation)
It seems that js files are not found by Vaadin compiler - there are many errors like following:
ERROR in ../node_modules/.pnpm/ace-builds@1.4.12/node_modules/ace-builds/webpack-resolver.js?babel-target=es6 Module not found: Error: Can't resolve './src-noconflict/snippets/nginx.js&babel-target=es6' in<EMAIL_ADDRESS>@ ../node_modules/.pnpm/ace-builds@1.4.12/node_modules/ace-builds/webpack-resolver.js?babel-target=es6 343:46-118  @ ../node_modules/.pnpm/@f0rce/lit-ace@1.1.1_webpack@4.42.0/node_modules/@f0rce/lit-ace/lit-ace.js?babel-target=es6  @ ../target/frontend/generated-flow-imports.js?babel-target=es6
All Vaadin dependencies in our application are provided by common maven parent - the same parent that provides ace plugin dependency.
Version 1.0.1 works with Vaadin 14.5.2 correctly.
Compilation fails even in building environment so it's not the matter of cache or incorrect node_modules folder.

Hello Lipisak,
could you try to get v1.1.0 running, when using 14.5.1 ? I've been publishing the Add-on with version 14.5.1 in the pom.
I'll surely investigate what is happening there.
Have a great day,
David

Hello,
I tried with 14.5.3 and it doesn't work either. There are some changes with pnpm in this version of vaadin, but nothing changed. Recently I don't have much time to test with 14.5.1 because I would have to revert our parent we use for all Vaadin libraries and production application. But I will try to do so at the weekend with simple maven project with that 14.5.1 parent.
JS

I've tried on 14.5.1 and still has the same error. Although it works perfect when on development, when trying to create the production code the following errors appear and the production built stops.

I've looked into your last commit (version 1.1.0) in master branch...couldn't the error be caused by removal of entry in pom.xml??? I don't see any other suspicious changes - bumping of frontend libraries, pure java changes...
But that was just quick look :)

Thanks for the input @nrapel @lipisak
I really think the error comes from that... I don't really know why I removed that in first place. I didn't found time to resolve all current issues but I'll try to publish everything as fast as possible. As a current workaround, please just stick to the older version.
Have a great day,
David

Everything has been fixed locally on my computer.  But I'm happy to bring a full functional version of the ace editor super soon 👋🏻

Packaged with mvn package -Pproduction


Modem Manager could not reconnect after connection failure of bad signal

Hi,
I met a problem with 4G connection in IOT2050, the 4G module used is quectel EC20. In my test, when the 4G signal becomes bad,  the 4G connection will fail. But when the signal quality becomes good, the 4G connection could not reestablish.
the syslog is as following:

Any ideas about this problem, thanks for your help!

Hi
you can try to modify the file under /etc/NetworkManager/system-connections/cellular-4g
autoconnect from false to true

Hi
you can try to modify the file under /etc/NetworkManager/system-connections/cellular-4g
autoconnect from false to true

I have set autoconnect to true. I can see modem manager is continuously retrying.

do you have connected antenna on the 4G module?

do you have connected antenna on the 4G module?

Yes I have. But in the test, in order to simulate the bad signal, I uninstalled the 4G antenna. And after the connection is failed, I install the antenna back to the 4G module.

we are now looking into it, will respond shortly

In the test only IOT2050 advanced has this issue.

Could you pls contact me through email<EMAIL_ADDRESS>

Hi
pls have a try on branch #136

It works well now, thanks.


Unexpected end of stream on Connection

I have disabled the setRetryOnConnectionFailure() and sometimes the request returns  "unexpected end of stream on Connection". If I try again, randomly it get success. Anyone can help me?
java.io.IOException: unexpected end of stream on Connection{myapp.com.br, proxy=DIRECT@ hostAddress=<IP_ADDRESS> cipherSuite=none protocol=http/1.1} (recycle count=1)
at com.squareup.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:211)
at com.squareup.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:917)
at com.squareup.okhttp.internal.http.HttpEngine.access$300(HttpEngine.java:95)
at     com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:902)
at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:760)
at com.squareup.okhttp.Call.getResponse(Call.java:274)
at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:230)
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:201)
at com.squareup.okhttp.Call.execute(Call.java:81)

@JakeWharton any solution?

Not much we can do here. From OkHttp's perspective the response was truncated, and we return that error to the user. It's likely that either your webserver or your network is to blame.

We had the similar issue. Adding below lines solved the issue
headers:{
Accept: 'application/json',
'Content-Type': 'application/json',
'Cache-Control':'no-cache'
},


Add start date as a field and URL query parameter

The start date is always set to today. If somebody copies a link to the expression and shares it with someone who visits it at a later date/time, they will see a different output  of occurrences. Consider adding a field that can be changed by the user. The “Copy Link” button should then also add the start date as a query parameter to the copied URL. The application should use the parameter from the URL during initialisation, but assume today if unavailable.

I guess we could put the expression field and start date field next to each other, then put the buttons on the next row.

I guess we could put the expression field and start date field next to each other, then put the buttons on the next row.

Right and at which point, we'd be converging with my original attempt. That's what prompted me to ask where we want to go with this.


feat(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1266

Questions ?
Please refer to the Backport tool documentation


Provide support for SDK-only releases

In some cases there's a need to only update the SDK images and not the runtime.   There are issues with the tests and ImageBuilder that prevent this, requiring that the runtime images also be built.

Closing this as a duplicate of https://github.com/dotnet/docker-tools/issues/186


FHIR parser parses Patient model that the backend doesn't accept

I'm trying to push an update to my Patient model in the API.
The problem is that when I GET the patient using Postman I get the results I want to:

but when I GET the patient from my app, it goes through parser and this is the result I get:

Now if I try to update some of the fields and push for UPDATE, it just doesn't accept the format. For exmaple, FHIR Patient model has id as an object, but the API needs id as a string or API needs resourceType but FHIR Patient model doesn't have that field and so on.
This is the parser that I'm trying use:

I tried changing the parser to many different outcomes, but the result is the same. Now the value.string() is the correct one (before going through the parser) I need, but I cannot assign it to the Patient model that I get.
So the question is am I even doing this right? Do I need to make my own Patient model that fits what I get from API?
Any bit helps, I can provide more info on whatever is needed.

If you also want to store the data on android you could use the fhir engine. If not then this may be the wrong place for this issue. Try asking https://github.com/hapifhir/hapi-fhir or chat.fhir.org

Thanks @elviasiv for raising this issue. can you share the actual error message when you say it doesn't accept the format?
what modifications have you made? if you fork the repo can you share your branch?
@aditya-07 @anita-vadverao fyi

Hey @jingtang10 thanks for replying! I currently fixed the issue temporarily by creating my own Patient model and parsing everything with Gson, so in order to get correct errors I'll need to redo everything back to FHIR patient.
But general errors I got was pretty much wrong format of the data I'm trying to send. For example - the FHIR parsed patient data has ID as an object while the API accepts ID only as a string.
What it accepts:

What parser gives me:

I changed the object ID to string just for experimenting and the next error was that it asked for resourceType field, but the parsed data doesn't have that field (there is a similar one in ID object though).
I haven't made any modifications to FHIR Patient model or to the lib

Are you able to share the actual branch? It's very difficult to see what you have done without seeing the code.
Thanks

@elviasiv , could you please share the actual branch so that it can help us move ahead with the fix?

@Tarun-Bhardwaj I apologise for being inactive for so long, it's been a busy month!
Yes, I still have this issue, however I solved it with making my own Patient model that fits what the back-end accepts.
Due to the sharing of the branch, I cannot as the code is company code and I don't have branch of it on github. However I can provide parts of the code if that would help.
As I proceeded to work further, I got the same issue regarding the HeartRate. The one that is being generated in code is not accepted in the back-end. I'm thinking of solving it the same way I did with patient, just make my own HeartRate model. Fixing the Patient part would most likely solve HeartRate as well.

@elviasiv , what version of FHIR are you using? R4 or some earlier version? Providing parts of code would be helpful.

looking at your code again - i think the issue was that you were serializing the patient resource using gson lib. the correct way of doing this to talk to a fhir server is to use hapi's serialization library.
@williamito i wonder if we need to document this somewhere as well.
@elviasiv i'll close this for now. feel free to reopen if there's additional issues.


Fixed bug that % is not properly escaped (PINDiskCache)

The current implementation doesn't escape %, so the following code fails:
[self decodedString:[self encodedString:@"%"]] // nil

Do you mind adding a unit test to ensure this doesn't regress in the future? Thanks for putting this up!

Sure! Just modified a test case for this :)

Thank you!


Add an option to increase font size

In dart pad code editor font size is pretty small and sometimes due to dark backgrond it becomes hard to read the code so a suggestion is to add an option to increase the font size of dart pad editor.

Thanks for the feedback! I'm going to close this in favor of https://github.com/dart-lang/dart-pad/issues/1544 which also discusses this functionality.


Polars: add boolean functions

Adds support for the following transformations:

is_null
is_not_null
is_finite
is_infinite
is_nan
is_not_nan
not

This is a building block for supporting nan imputation.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1586  👈
#1584
#1498 : 1 other dependent PR (#1534 )
#1479 : 1 other dependent PR (#1496 )
#908 : 1 other dependent PR (#913 )
#890 : 1 other dependent PR (#856 )
#829 : 2 other dependent PRs (#854 , #888 )
#1519 : 1 other dependent PR (#1506 )
#1566
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

I think it is unlikely that users will find a whitelist specifically of boolean functions useful. A global whitelist would be useful, though. The fall-through is also helpful to avoid needing to enable all features.

From the description:

This is a building block for supporting nan imputation.

but it is being merged into 1577-impute-nan ... which makes it seems like it's building on top of nan imputation, instead of being the first step.

From the description:

This is a building block for supporting nan imputation.

but it is being merged into 1577-impute-nan ... which makes it seems like it's building on top of nan imputation, instead of being the first step.

Ah, I implemented this first and ultimately decided I couldn't use these to build fill_nan, because you need to parse the whole ternary at once. If you parse the whole ternary for fill_nan at once, you can see that it fills all nans with non-nan fill values. However, if you just parse the ternary, and then recursively the condition, then you don't have the info you need to set the output domain's descriptor to non-nan.
I finished this, and then opened separate PRs and moved them down the stack because they were more relevant for FSO.


Networking samples do not work on MacOS

It seems that all the socket_send_* and socket_recv_* are only defined for Windows.
Did I miss something?

Yes, unfortunately there is only a Windows implementation for networking and file-IO.

I am short of time to enter into development to implement this. If I end up with more free time, I may try to tackle it for UNIX type sockets (Linux/MacOS) and follow up.

Actually, there is s pull request pending implementing this, see https://github.com/andreasbuhr/cppcoro/pull/63. I did not find the time to review it yet because I moved to a new city and changed to a new role recently.
If you could test this pull request and write a review that would be greatly appreciated.
Be aware that the CI might be broken currently. There were some changes in GitHub actions and this project is not adapted to these changes yet.


Add documentation for writing

Put me in, coach

Happy to be revisiting this after the candy crash course


Skip redrawing RPROMPT when invoking geometry::info?

Right now, when you press enter (for geometry::info) we redraw the entire prompt, like so:

It looks cleaner to me, to skip drawing RPROMPT if we are doing the magic enter geometry::info, which would look like this:

Open to discussion or simple thumbs up thumbs down

looking forward to any input from @MarioRicalde or any of our other users

Although I do agree that it looks cleaner, I hesitate to say yes to this mainly because this change would create another issue, which I find it more frustrating than small delays: Inconsistency.
At this point we reach a fork, where we have to pick what's the lesser evil of both things:
How long does it take to load the RPROMPT? My understanding is that because it's async it shouldn't, in theory, cause any lag in the actual usability, correct me if I'm wrong.

Its not long, and I guess I can see a use case where maybe you move directories instead of simply display information in GEOMETRY_INFO, so I will close this for now and maybe later re-open when this branch gets merged upstream.


Does the playbook README's note on maintenance status need changing?

The playbook's README.md says the following near the bottom:
## Roadmap

The playbook is in maintenance mode as new development is focused on
[ISLE](https://islandora.github.io/documentation/installation/docker-compose/) for development and production.

This may not be correct anymore since @rosiel added the following in the playbook section of the official docs to replace my copy of the above "maintenance" warning.
!!! note "Still Alive"
    Reports of the playbook's demise have been exaggerated. It is still in use and being maintained. Local VMs (VirtualBox) cannot be run on M1 series Apple silicon at this time, but you can use the remote deployment option to deploy Islandora on low-cost virtual hosting.

I can create a PR to add what Rosie wrote in the playbook README.md, but I wanted to get final confirmation of what it should say on the playbook README.md. Of course someone else may want to write their own PR.

After talking about this issue in today's tech call, I will be submitting a PR for this issue.
I will mention that playbook is still being developed and used by the community. Questions can be asked through community communication channels if users have issues.

I couldn't find the PR that added it, but the Playbook README does indeed now state "The playbook is in maintenance mode as new development is focused on ISLE for development and production."


Add using declarations to initilization readme

Add using declarations to initilization readme

This pull request is included in version 12.1.7
The release is available to download on GitHub release or in the MLAPI Installer.


new capnp sync IO API

downstream part for https://github.com/capnproto/capnproto/pull/2015

just a rebase


Exception when turning to landscape mode

When during gameplay the screen is rotated from portrait to landscap I get the following output in the console:
I/flutter (32302): The following message was thrown during layout:
I/flutter (32302): A RenderFlex overflowed by 426 pixels on the bottom.
I/flutter (32302):
I/flutter (32302): The overflowing RenderFlex has an orientation of Axis.vertical.
I/flutter (32302): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
I/flutter (32302): black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
I/flutter (32302): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
I/flutter (32302): RenderFlex to fit within the available space instead of being sized to their natural size.
I/flutter (32302): This is considered an error condition because it indicates that there is content that cannot be
I/flutter (32302): seen. If the content is legitimately bigger than the available space, consider clipping it with a
I/flutter (32302): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
I/flutter (32302): like a ListView.
I/flutter (32302): The specific RenderFlex in question is:
I/flutter (32302):   RenderFlex#50038 relayoutBoundary=up1 OVERFLOWING
I/flutter (32302):   creator: Column ← _InheritedProvider ← Provider ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ←
I/flutter (32302):   CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ←
I/flutter (32302):   _InkFeatures-[GlobalKey#91812 ink renderer] ← NotificationListener<LayoutChangedNotification> ←
I/flutter (32302):   PhysicalModel ← ⋯
I/flutter (32302):   parentData: offset=Offset(0.0, 80.0); id=_ScaffoldSlot.body (can use size)
I/flutter (32302):   constraints: BoxConstraints(0.0<=w<=683.4, 0.0<=h<=331.4)
I/flutter (32302):   size: Size(683.4, 331.4)
I/flutter (32302):   direction: vertical
I/flutter (32302):   mainAxisAlignment: start
I/flutter (32302):   mainAxisSize: max
I/flutter (32302):   crossAxisAlignment: center
I/flutter (32302):   verticalDirection: down

The screen also displays an error message:

fixed with commit 6e6cd1e11c3d27c06efba57dd8a72ba87629650e .  Only allowing portrait for now. It would be nice to have a more responsive interface and change layout for landscape. ... On the backlog ...

Only portrait allowed


missing keys?

First, thank you for providing pretrained models and the detailed documentation!
I'm tying to load mask2former + beit_adapter_large on cocostuff10k, and I think I have downloaded the correct pretrained + correct head model, but I got the msg that that the model and state dict do not match exactly and some keys are missing. Is it something I can just ignore?
Any input will be helpful. Thank you!
load checkpoint from local path: released/mask2former_beit_adapter_large_512_40k_cocostuff10k.pth.tar
The model and loaded state dict do not match exactly

missing keys in source state_dict: backbone.blocks.0.attn.relative_position_index, backbone.blocks.1.attn.relative_position_index, backbone.blocks.2.attn.relative_position_index, backbone.blocks.3.attn.relative_position_index, backbone.blocks.4.attn.relative_position_index, backbone.blocks.5.attn.relative_position_index, backbone.blocks.6.attn.relative_position_index, backbone.blocks.7.attn.relative_position_index, backbone.blocks.8.attn.relative_position_index, backbone.blocks.9.attn.relative_position_index, backbone.blocks.10.attn.relative_position_index, backbone.blocks.11.attn.relative_position_index, backbone.blocks.12.attn.relative_position_index, backbone.blocks.13.attn.relative_position_index, backbone.blocks.14.attn.relative_position_index, backbone.blocks.15.attn.relative_position_index, backbone.blocks.16.attn.relative_position_index, backbone.blocks.17.attn.relative_position_index, backbone.blocks.18.attn.relative_position_index, backbone.blocks.19.attn.relative_position_index, backbone.blocks.20.attn.relative_position_index, backbone.blocks.21.attn.relative_position_index, backbone.blocks.22.attn.relative_position_index, backbone.blocks.23.attn.relative_position_index

Facing the same problem for mask2former_beit_adapter_large_896_80k_ade20k.pth.tar file as well.
Everything works fine though.
`load checkpoint from local path: released/mask2former_beit_adapter_large_896_80k_ade20k.pth.tar
The model and loaded state dict do not match exactly
missing keys in source state_dict: backbone.blocks.0.attn.relative_position_index, backbone.blocks.1.attn.relative_position_index, backbone.blocks.2.attn.relative_position_index, backbone.blocks.3.attn.relative_position_index, backbone.blocks.4.attn.relative_position_index, backbone.blocks.5.attn.relative_position_index, backbone.blocks.6.attn.relative_position_index, backbone.blocks.7.attn.relative_position_index, backbone.blocks.8.attn.relative_position_index, backbone.blocks.9.attn.relative_position_index, backbone.blocks.10.attn.relative_position_index, backbone.blocks.11.attn.relative_position_index, backbone.blocks.12.attn.relative_position_index, backbone.blocks.13.attn.relative_position_index, backbone.blocks.14.attn.relative_position_index, backbone.blocks.15.attn.relative_position_index, backbone.blocks.16.attn.relative_position_index, backbone.blocks.17.attn.relative_position_index, backbone.blocks.18.attn.relative_position_index, backbone.blocks.19.attn.relative_position_index, backbone.blocks.20.attn.relative_position_index, backbone.blocks.21.attn.relative_position_index, backbone.blocks.22.attn.relative_position_index, backbone.blocks.23.attn.relative_position_index
`

Hi, relative_position_index is generated automatically, so we removed them in checkpoints to reduce the file size.
This warning can be ignored.


Error: Requiring module "node_modules\react-native-bluetooth-escpos-printer\index.js", which threw an exception

Error: Requiring module "node_modules\react-native-bluetooth-escpos-printer\index.js", which threw an exception: TypeError: null is not an object (evaluating 'BluetoothTscPrinter.DIRECTION = {
FORWARD: 0,
BACKWARD: 1
}')
React Native: 0.70.5
Couldn't import the module, it's throwing an error. Is there something I can do?

Did you solve this problem?

Same for me, 'BluetoothTscPrinter.DIRECTION = { FORWARD: 0, BACKWARD: 1 }'), Iphone 11 pro

ERROR  TypeError: Cannot set property 'DIRECTION' of null, js engine: hermes

solved this issue by following these steps:
-> Create a new file named as RNBluetoothEscposPrinter.podspec in _node_modules/react-native-bluetooth-escpos-printer_
-> in that file paste following code
AS IT IS
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
    s.name          = 'RNBluetoothEscposPrinter'
    s.version       = package['version']
    s.summary       = package['description']
    s.author        = 'januslo'
    s.homepage      = 'https://github.com/januslo/react-native-bluetooth-escpos-printer’'
    s.license       = package['license']
    s.platform      = :ios, '9.0'
    s.source        = { :git => 'https://github.com/januslo/react-native-bluetooth-escpos-printer”, :tag => “#{s.version}”'}
    s.source_files  = "ios/**/*.{h,c,m,swift}"
    s.requires_arc  = true
    s.dependency "React"
end

-> now go to RNBluetoothEscposPrinter.podspec in _node_modules/react-native-bluetooth-escpos-printer/ios/RNBluetoothEscposPrinter.m_
-> in that change the Import from #import "ZXingObjC/ZXingObjC.h" to #import "ZXingObjC.h"
-> now cd ios/pod install
-> run on iOS
and see the MAGIC :)


Links page spam

The links page https://www.pygame.org/wiki/links has been spam for a while (more than a year) without anyone noticing. Maybe some project pages like that shouldn't be modifiable by everyone if the changes aren't reviewed frequently.

The spam is gone 😃 I guess I can close this.


Implement pinned (sticky) header and footer

What is this PR for?
This PR introduces support for pinned (sticky) headers and footers. The implementation allows headers and footers to stay visible within the collection view's bounds.
The changes will not impact existing ChatLayout users who do not utilize the pinned feature.
Related PR: https://github.com/airbnb/MagazineLayout/pull/52
Tests
test project: ChatLayoutPinTest.zip
1. Scroll
https://github.com/user-attachments/assets/0e8333e0-f74c-4efb-b815-f5ff4a570710
2. Scroll with contentInsets
https://github.com/user-attachments/assets/3c149bc2-8f3e-4cb5-8828-9b6bb10916e6
3. Dynamic cell height
https://github.com/user-attachments/assets/83a620eb-e884-40dd-b662-45e9ea977594

@heoblitz  Amazing job. Ill have a proper look and merge. Thank you.

@heoblitz Sorry,  I was on my vacation. Got back. Will have a proper look and merge.

@ekazaev Hope you had a great vacation! Please feel free to review it at your convenience. Thank you.


UI - login wrong behavior

Start the UI.
Type the server name into the field
Press enter key makes server name to disappear, url change with a query parameter and no feedback whatsoever to know what happened.
Type a diffrent server name and click the '+' button ( why '+' ??? ). The result is a credentials are asked but the url query parameter is the previous one.
After credentials check, if successful, have no clue in what tenant I am logged in.

Thanks for the feedback. This was as discussed in the calls. I was going to get rid of the first page. We are reverting the big ui change, so this is not an issue.


Fix for failing OSD distribution build

Signed-off-by: Rishabh Singh<EMAIL_ADDRESS>Description
This PR fixes the failing distribution build for OSD and updates the manifest to use the new dashboards-notifications repository.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3084 (cc0d8a9) into main (10c1479) will decrease coverage by 0.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3084      +/-   ##
==========================================
- Coverage   93.17%   92.87%   -0.31%
==========================================
  Files         167      167
  Lines        4602     4602
==========================================
- Hits         4288     4274      -14
- Misses        314      328      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
94.73% <0.00%> (-5.27%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add design to pages (add tailwind classes)

@Doppen, I would like to close this ticket. We have a basic design and tickets for all the smaller pieces. Do you agree?

Agree


feat(server): Add exllama GPTQ CUDA kernel support #553

Just trying to get the integration tests to pass.
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Shall we also update Makefile?

I just clone the latest commit, and then install from local, how could i use these exllama for gptq? or I just launch the server with --quantize gptq, then it wiil automatically using this feature?

You need to use the docker image to use exllama. TGI have not yet included any build script to install exllama for development purpose.

cd server/exllama_kernels
TORCH_CUDA_ARCH_LIST="8.0;8.6+PTX" python setup.py install

You need to use the docker image to use exllama. TGI have not yet included any build script to install exllama for development purpose.

Thanks, just to confirm, when I use the docker image for inference then exllama will automatically be used if possible with just the --quantize gptq flag ?


Add new device

The Combair V4000 device also works with this integration

Thanks for taking the time to add this :)


Allow specifying alignment padding when writing

Implemented in https://github.com/JuliaData/Arrow.jl/pull/35


Why should we need to do additional process to get original photo?

Could we avoid twice photo process like code below?
Thx:)
- (void)doneButtonClick {
....
if (_isSelectOriginalPhoto) {
                [[TZImageManager manager] getOriginalPhotoWithAsset:model.asset newCompletion:^(UIImage *photo, NSDictionary *info, BOOL isDegraded) {
                    if (isDegraded) return;
                    if (photo) {
                        [photos replaceObjectAtIndex:i withObject:photo];
                    }
                    if (info)  [infoArr replaceObjectAtIndex:i withObject:info];
                    [assets replaceObjectAtIndex:i withObject:model.asset];

                    for (id item in photos) { if ([item isKindOfClass:[NSNumber class]]) return; }

                    if (havenotShowAlert) {
                        [tzImagePickerVc hideAlertView:alertView];
                        [self didGetAllPhotos:photos assets:assets infoArr:infoArr];
                    }
                }];
            }else{
                [[TZImageManager manager] getPhotoWithAsset:model.asset completion:^(UIImage *photo, NSDictionary *info, BOOL isDegraded) {
                    if (isDegraded) return;
                    if (photo) {
                        photo = [[TZImageManager manager] scaleImage:photo toSize:CGSizeMake(tzImagePickerVc.photoWidth, (int)(tzImagePickerVc.photoWidth * photo.size.height / photo.size.width))];
                        [photos replaceObjectAtIndex:i withObject:photo];
                    }
                    if (info)  [infoArr replaceObjectAtIndex:i withObject:info];
                    [assets replaceObjectAtIndex:i withObject:model.asset];

                    for (id item in photos) { if ([item isKindOfClass:[NSNumber class]]) return; }

                    if (havenotShowAlert) {
                        [tzImagePickerVc hideAlertView:alertView];
                        [self didGetAllPhotos:photos assets:assets infoArr:infoArr];
                    }
                } progressHandler:^(double progress, NSError *error, BOOL *stop, NSDictionary *info) {
                    // 如果图片正在从iCloud同步中,提醒用户
                    if (progress < 1 && havenotShowAlert && !alertView) {
                        [tzImagePickerVc hideProgressHUD];
                        alertView = [tzImagePickerVc showAlertWithTitle:[NSBundle tz_localizedStringForKey:@"Synchronizing photos from iCloud"]];
                        havenotShowAlert = NO;
                        return;
                    }
                    if (progress >= 1) {
                        havenotShowAlert = YES;
                    }
                } networkAccessAllowed:YES];
            }
}

If use your code, when photo count more then 5, the memory will rise to a very high degree even crash.
So TZImagePickerController can't fetch original image by once.
You should fetch original image one by one, fetch one, use it and destroyed it, then fetch next one.


Can the active tab also highlight debug/run tabs?

Thanks for the plugin.  Makes it a lot easier to find the active editor tab.
I'd love for the functionality to be extended to the Debug window as well.  I sometimes have several different debug tabs open and it is very difficult to see which tab is the active tab.  The Highlighter Plugin would be a huge boon to that view for me.

Will look into this in spare moment.

Would be really nice to customize debug tabs with color and separators

Not out of the box. Will see about that, once pressing problems are gone.


Update spring-context, spring-core to 5.3.7

Updates

org.springframework:spring-context
org.springframework:spring-core

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.springframework" } ]

labels: library-update, semver-patch

Superseded by #955.


Add the vanilla Minecraft Launcher to the program installer.

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
See title.
Describe alternatives you've considered
N/A?
Additional context
N/A.

/close
This will not be added as Chris is cutting down on Application Additions.


pass a URL with jimp.read and have option to pass "rejectUnauthorized : false" to the request

Expected Behavior
I would like to pass an option rejectUnauthorized : false to the Jimp.read()` method when I pass a URL to it.
I want to read the image even if there is a problem with the certificate.
I don't want to configure the behaviour globally to the server.
Current Behavior
If I have somehow troubles to get the certificate of the URL, I get the following error => Error: unable to verify the first certificate
Failure Information (for bugs)

Error
unable to verify the first certificate
_tls_wrap.js in TLSSocket. at line 1105:38
events.js in emitNone at line 106:13
events.js in TLSSocket.emit at line 208:7
_tls_wrap.js in TLSSocket._finishInit at line 639:8
_tls_wrap.js in TLSWrap.ssl.onhandshakedone at line 469:38

Steps to Reproduce
Jimp.read('https://404store.com/2017/12/08/Random-random-30798866-500-325.jpg')
Context

Jimp Version: 0.4.0
Operating System: Unbuntu Server 16.04
Node version: v8.11.1

Failure Logs

Error
unable to verify the first certificate
_tls_wrap.js in TLSSocket. at line 1105:38
events.js in emitNone at line 106:13
events.js in TLSSocket.emit at line 208:7
_tls_wrap.js in TLSSocket._finishInit at line 639:8
_tls_wrap.js in TLSWrap.ssl.onhandshakedone at line 469:38

related to #267

@hipstersmoothie, hey.
I had the same issue. Do you have any workaround on it except for this one?

I feel like you could just do a custom constructor in the mean time.  I just release d https://github.com/oliver-moran/jimp/pull/628. In v0.5.1 you can do the following. This allows you to load your URL however you want and still fallback to jimp image parsing.
const Jimp = require('jimp');
const phin = require('phin');

Jimp.appendConstructorOption('Custom Url', options => options.url, function(
  resolve,
  reject,
  options
) {
  phin(options, (err, res) => {
    if (err) {
      return reject(err);
    }

    this.parseBitmap(res.body, null, err => {
      if (err) {
        return reject(err);
      }

      resolve();
    });
  });
});

test();

async function test() {
  const image = await Jimp.read({
    url: 'http://pngimg.com/uploads/cat/cat_PNG50539.png'
  });

  image.writeAsync('test.png');
}

Is this sufficient? @bastoune @turakvlad
I'm also looking to exposing more options to the request, but the library we use might not have to many customization options.

@bastoune @turakvlad v0.5.2 has a new constructor option that allows you to pass the headers. Can you try it out for me? Does this suit your usecase?
await Jimp.read({ url: '...', headers: { ... } })

Hi @hipstersmoothie , thanks for replies.
I am sorry I had to find another way and I am now running this part of code in python.
I will answer you here if I change my mind ;)

@hipstersmoothie, hey.
Thanks for helping us with this issue. Please, have a look at this Runkit. To be honest, I am not sure that the headers will help us. What should I pass in the headers to ignore HTTPS errors?
For example, Node.js has rejectUnauthorized option for this. The request library has strictSSL option (but I'm sure that it uses Node.js's rejectUnauthorized under the hood). Puppeteer uses ignoreHTTPSErrors.
rejectUnauthorized is not a header option, it's a TLS option.
If I can help you in anyway, please just let me know.

@hipstersmoothie, hi!
I've spent some time to examine this issue. This works great. It's possible to pass rejectUnauthorized thankfully to this line of code in phin. And later in the code the https.request() method will be executed with the options we need.
Actually, we can pass all the options that http.request(...) and https.request(...) modules support:
await Jimp.read({ url: '...', headers: { ... } })

It's a little bit hard to understand without looking at the phin's code base.
If you want, I can document this via PR. Just tell me what README.md I should change? Maybe this one?
I think you can close this issue.
Thanks.

@hipstersmoothie, thanks! I am glad to help.
I will make a PR tomorrow.

@hipstersmoothie, I am sorry for a delay. Will make a PR tomorrow.

@turakvlad no worries! take your time

closed via #637


Fix/various firefox js issues

@sghoweri, just one question-- is there any reason not to update the constructors for all functions in the same way that you're doing in 0cbec66?  I see these four still using the previous format:

device viewer
share
navlink
nav

@remydenton - the ones I updated were specifically throwing JS errors in IE but yeah, updating the remaining constructors to use that updated syntax would be a wise move — want to take a crack at that?

All set @sghoweri.
I guess the only remaining question is exactly what we're fixing.  From what I can glean, it comes from
https://github.com/WebReflection/document-register-element#upgrading-the-constructor-context
(I found that from the commit message in cc3bedb.  Friendly reminder to include the issue number in your commit messages-- assuming there was a relevant issue in this case, I would have been able to easily find it and perhaps answer this question myself).


Compilation error E0283 while installing

Describe the bug
While installing cargo-generate I got the following error
make sure you

[x] I'm on the latest rust version rustup update
[ ] I'm on the latest cargo-generate version cargo install cargo-generate
[ ] In case you have an own .gitconfig, provide all sections that contains one of: insteadOf, url

To Reproduce
Steps to reproduce the behavior:

cargo install cargo-generate
Then got the following error message

   Compiling cargo-generate v0.18.2
error[E0283]: type annotations needed
   --> /Users/ezcurdia/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-generate-0.18.2/src/lib.rs:481:39
    |
481 |         let file_path = search_folder.join(name.borrow());
    |                                       ^^^^      ------ type must be known at this point
    |                                       |
    |                                       cannot infer type of the type parameter `P` declared on the method `join`
    |
    = note: multiple `impl`s satisfying `str: Borrow<_>` found in the following crates: `bstr`, `core`:
            - impl Borrow<bstr::bstr::BStr> for str;
            - impl<T> Borrow<T> for T
              where T: ?Sized;
help: consider specifying the generic argument
    |
481 |         let file_path = search_folder.join::<&Borrowed>(name.borrow());
    |                                           +++++++++++++

For more information about this error, try `rustc --explain E0283`.
error: could not compile `cargo-generate` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-generate v0.18.2`, intermediate artifacts can be found at `/var/folders/_0/svj1v6qd27723q6k6mhrwcxh0000gn/T/cargo-installm16ibj`

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: MacOS 13.4
rustc --version:  rustc 1.69.0 (84c898d65 2023-04-16) (built from a source tarball)

Additional context

# This is Git's per-user configuration file.
[merge]
	tool = opendiff
[init]
	defaultBranch = main
[ull]
	rebase = false

I was getting the same error on my M1 Mac.
$> rustc --version
rustc 1.69.0 (84c898d65 2023-04-16)

I could get it to install running cargo install --locked cargo-generate. However, when I tried to use it I got the following error, which traces back to Issue #528, which was closed last year.
$> cargo generate --git https://github.com/tui-rs-revival/rust-tui-template --name pkterm
dyld[5389]: symbol not found in flat namespace '_EVP_aes_128_cbc'
[1]    5389 abort      cargo generate --git https://github.com/tui-rs-revival/rust-tui-template

Initially saw a different issue on my Ubuntu box:
❯ rustc --version
rustc 1.71.0-nightly (521f4dae1 2023-05-19)
❯ cargo install cargo-generate
...
error: failed to run custom build command for `openssl-sys v0.9.87`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installqCCYHs/release/build/openssl-sys-826ffeb1404b1fb0/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"` did not exit successfully: exit status: 1
  error: could not find system library 'openssl' required by the 'openssl-sys' crate

  --- stderr
  Package openssl was not found in the pkg-config search path.
  Perhaps you should add the directory containing `openssl.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'openssl' found

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = x86_64-unknown-linux-gnu
  openssl-sys = 0.9.87

  ', /home/gaoler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.87/build/find_normal.rs:190:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-generate v0.18.2`, intermediate artifacts can be found at `/tmp/cargo-installqCCYHs`

So installed librust-openssl-sys-dev
❯ sudo apt install librust-openssl-sys-dev
❯ cargo install cargo-generate
error[E0283]: type annotations needed
   --> /home/gaoler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-generate-0.18.2/src/lib.rs:481:39
    |
481 |         let file_path = search_folder.join(name.borrow());
    |                                       ^^^^      ------ type must be known at this point
    |                                       |
    |                                       cannot infer type of the type parameter `P` declared on the method `join`
    |
    = note: multiple `impl`s satisfying `str: Borrow<_>` found in the following crates: `bstr`, `core`:
            - impl Borrow<bstr::bstr::BStr> for str;
            - impl<T> Borrow<T> for T
              where T: ?Sized;
help: consider specifying the generic argument
    |
481 |         let file_path = search_folder.join::<&Borrowed>(name.borrow());
    |                                           +++++++++++++

For more information about this error, try `rustc --explain E0283`.
error: could not compile `cargo-generate` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-generate v0.18.2`, intermediate artifacts can be found at `/tmp/cargo-installgMAwEA`

Ran cargo install cargo-generate with the --locked flag and it worked just fine.

Initially saw a different issue on my Ubuntu box:
❯ rustc --version
rustc 1.71.0-nightly (521f4dae1 2023-05-19)
❯ cargo install cargo-generate
...
error: failed to run custom build command for `openssl-sys v0.9.87`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installqCCYHs/release/build/openssl-sys-826ffeb1404b1fb0/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"` did not exit successfully: exit status: 1
  error: could not find system library 'openssl' required by the 'openssl-sys' crate

  --- stderr
  Package openssl was not found in the pkg-config search path.
  Perhaps you should add the directory containing `openssl.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'openssl' found

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = x86_64-unknown-linux-gnu
  openssl-sys = 0.9.87

  ', /home/gaoler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.87/build/find_normal.rs:190:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-generate v0.18.2`, intermediate artifacts can be found at `/tmp/cargo-installqCCYHs`

So installed librust-openssl-sys-dev
❯ sudo apt install librust-openssl-sys-dev
❯ cargo install cargo-generate
error[E0283]: type annotations needed
   --> /home/gaoler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-generate-0.18.2/src/lib.rs:481:39
    |
481 |         let file_path = search_folder.join(name.borrow());
    |                                       ^^^^      ------ type must be known at this point
    |                                       |
    |                                       cannot infer type of the type parameter `P` declared on the method `join`
    |
    = note: multiple `impl`s satisfying `str: Borrow<_>` found in the following crates: `bstr`, `core`:
            - impl Borrow<bstr::bstr::BStr> for str;
            - impl<T> Borrow<T> for T
              where T: ?Sized;
help: consider specifying the generic argument
    |
481 |         let file_path = search_folder.join::<&Borrowed>(name.borrow());
    |                                           +++++++++++++

For more information about this error, try `rustc --explain E0283`.
error: could not compile `cargo-generate` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-generate v0.18.2`, intermediate artifacts can be found at `/tmp/cargo-installgMAwEA`

Ran cargo install cargo-generate with the --locked flag and it worked just fine.

Any idea for a solution on macOS?

Any idea for a solution on macOS?

This comment on a closed issue does seem to be a clue: (dyld: Symbol not found: _EVP_aes_128_cbc #528)[https://github.com/cargo-generate/cargo-generate/issues/528#issuecomment-1017484424-permalink]

Running cargo install --locked cargo-generate also works for me.

Still seeing the same issue on my M1.
$> cargo install --locked cargo-generate
...
$> cargo generate --git https://github.com/tui-rs-revival/rust-tui-template --name foo
dyld[30382]: symbol not found in flat namespace '_EVP_aes_128_cbc'
[1]    30382 abort      cargo generate --git https://github.com/tui-rs-revival/rust-tui-template

@folkengine perhaps yours is a different issue? Could it be an issue with a dynamically linked library?
Given the function band reported it looks like a crypto routine, have you got an alternative OpenSSL installed as well as the system default?

cargo install cargo-generate --features vendored-openssl worked for me on M2

cargo install cargo-generate --features vendored-openssl

Thank you ... that did it for me on a an M1 too.

这也解决了我的问题


Fixes typo, renames client.php to Client.php

Hello !
Thanks for this Curl-based SOAP client. It's great !
Here are a few fixes/additions:

fixes a typo
makes $options optional, as in the original SoapClient
renames client.php to Client.php in accordance with PSR-4

Best regards

Many thanks! Will make few more adjustments for PSR.


[SUPPORT] Hudi clustering / deleting markers taking significant resources and time

Describe the problem you faced
The deltastreamer requires significant amount of resources and is struggling to delete file markers during clustering. The image below shows the clustering taking over 3 hours to run. It also causes many pods to evict by requiring more than available storage.

To Reproduce
Steps to reproduce the behavior:

Have a large number of S3 files
Run deltastreamer script below

Expected behavior
Deltastreamer updates should happen continuously in continuous mode.
Environment Description

Hudi version : 10.1
Spark version :3.0.3
Hadoop version : 3.2.0
Storage (HDFS/S3/GCS..)

Still seeing this issue - on another cluster looks like:

Spoke with @nsivabalan on this, looks like the issue was not related to DeleteMarkers, rather unioning all the data. Clustering seems to still take a wild amount of resources given that our data < 10GB right now. However that is more discussed here: https://github.com/apache/hudi/issues/4891.
Issue went away after ridding of a rollbakc and reducing our small file limit: https://hudi.apache.org/docs/configurations/#hoodieclusteringplanstrategysmallfilelimit
Will reopen if issue reappears.


Feature : Add Dark Mode Button

##Description:
We would like to propose the addition of a Dark Mode feature to improve the user experience of our application. Dark Mode is becoming increasingly popular among users, as it reduces eye strain, conserves battery life on OLED screens, and provides a sleek, modern look.
##Feature Request Details:
##Objective: Implement Dark Mode in our application.
Benefits:
Improved user experience, especially in low-light environments.
Staying competitive with other applications that offer Dark Mode

Dark mode is on the roadmap and will be implemented at some point!


feat: add some tables for information_schema

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Add some tables that is not implemented for information_schema, includes: GLOBAL_STATUS, OPTIMIZER_TRACE, PARAMETERS, PROFILING, REFERENTIAL_CONSTRAINTS, ROUTINES, SCHEMA_PRIVILEGES, SESSION_STATUS, TABLE_PRIVILEGES, TRIGGERS.
As for TABLESPACES table, according to mysql doc: This table is unused. It is deprecated; expect it to be removed in a future MySQL release. Other INFORMATION_SCHEMA tables may provide related information. Should I skip this table?
Checklist

[ ]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Refer to a related PR or issue link (optional)
#2931

As for TABLESPACES table, according to mysql doc: This table is unused. It is deprecated; expect it to be removed in a future MySQL release. Other INFORMATION_SCHEMA tables may provide related information. Should I skip this table?

I think we could ignore this table. cc @sunng87 @killme2008

As for TABLESPACES table, according to mysql doc: This table is unused. It is deprecated; expect it to be removed in a future MySQL release. Other INFORMATION_SCHEMA tables may provide related information. Should I skip this table?

I think we could ignore this table. cc @sunng87 @killme2008

Yes， of course

I commit the suggestion and it will be merged automatically.


[ComposedModal] Custom footer story is missing custom footer

Describe the bug
This is because passiveModal is set to true by default.  To be honest, I'm not sure that we need a passiveModal prop at all.  If no onSubmit is passed and no footer is passed to the component, then no footer will be rendered anyway.
To Reproduce
Steps to reproduce the behavior:
https://carbon-addons-iot-react.com/?path=/story/watson-iot-composedmodal--custom-footer

Should look like this:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update version: Element.Element version 1.11.36

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113652&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Domain


Check the return value of lambdas with a EXPRESSION body

Before we were only checking nullability in the return of lambdas with a block body, since those explicitly call return _;. This patch extends that behavior to lambdas with expression bodies, and adds corresponding test cases.

Note that I am moving one test Function<String,Object> foo2 = (x) -> null; from the negative to the positive cases, based on current behavior on Function<String,Object> foo3 = (x) -> { return null; };
If this is not the desired behavior, then we need to change our model for java.util.function.Function to allow it to return null.


dataframe mask function implementation

mask is implemented in Modin so closing this issue.

Same https://github.com/modin-project/modin/issues/1271#issuecomment-1884975635

I overlooked, we are still d2p. Thanks.