Make other keypoint creation functions return the keypoint number

I'm trying to parametrize a structure and build an object oriented framework for structure manipulation. While trying to parametrise my structure, I group relevant keypoints together by extending lists, then I make use of the position in the list, instead of the keypoint number, and that way I don't depend on static references. This works great when using the mapdl.k() function, as it returns the number of the point.
However, other functions that create keypoints, like mapdl.kbetw, return the string that's outputed by MAPDL, instead of returning the number. This makes it so that only the keypoints created by the K function are dinamically referenced, hampering modularity.
I'd say it's a good practise that all functions that create a keypoint, line, element or whatever withing MAPDL return the number. Even if you want to also return the string, maybe throw it in a tuple, but having the number returned would be very useful.

That's a great idea, and it's not too bad to implement as we'd just have to add in a rgrep for the geometry commands.
We'll add this for the next release.

See the new Mesh and Geometry section in the documentation.  I've updated it for the latest release of ansys-mapdl-core==0.58.0, which is out right now on PyPI.


Props size override the width props

Describe the bug
Props size override the width props
To Reproduce
layout({width: [0.5, 1], size: ''}) // results in {width: "", @media screen and (min-width: 599px): {…}, height: ""}
layout({width: [0.5, 1]}) // results in  {width: "50%", @media screen and (min-width: 599px): {…}}

Expected behavior
I don't know if it's a bug or a spec of styled-system. But this rules are not in the docs, and if you pass props width and size you get the wrong value for witdh css value;
Additional context
I was try to use styled system with Web Components, and for implementation I pass all maped props to my Emotion instance;
Because of that, I noticed this behavior

@gustavo-cordeiro, I was able prevent this issue, by passing width after size in the props object.


Error when sending message as Tenant (role=Issuer)

We get the following error when sending messages from tenant (issuer) to holder.
HTTP REQUEST -
URI: https://cloudapi.test.didxtech.com/generic/messaging/send-message (POST)
Headers: [{"Key":"x-api-key","Value":["tenant.eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3YWxsZXRfaWQiOiJmZmRmM2FhZi1lZDU4LTQ1NDgtYWY2MC02MjNlMjJjNTE0N2MiLCJpYXQiOjE2ODUzMzg3MDB9.bLAyMYk08No3bV6_TpmEpvoVA7nnSeaONBcwy0OtNY8"]},{"Key":"Accept-Encoding","Value":["gzip","deflate"]},{"Key":"traceparent","Value":["00-1f266a4ca10fb98d80b09f3ec96ac582-a205e7402651156d-00"]}]
Content: {"connection_id":"fc7b149d-441f-4578-bc29-72b776f1ae7a","content":"hello Adrian"}
HTTP RESPONSE - StatusCode: NoContent Body:

@jasondicker do you already have a connection estalished that is in done state for connection_id = fc7b149d-441f-4578-bc29-72b776f1ae7a

@jasondicker FYI https://github.com/didx-xyz/aries-cloudapi-python/pull/337/files#r1209992407


[BUG] Invalid Service-Role for codebuild

Describe the bug
During deployment via seedfarmer apply the cli complains about an Invalid service role. It seems like too long names in the config are not mangled as they would be by cloud-formation.
To Reproduce
Set the config to longer names, like
project: groundstation-toy
module: bucket-with-notification
deployment-name: example
group-name: datalake

Expected behavior
I expected it to use the existing service role groundstation-toy-example-datalake-bucket-with-not-6a95-41caf9b9 from the AWS account and not the one that seedfarmer generates: groundstation-toy-example-datalake-bucket-with-notification-41caf9b9.
The name is generated here
https://github.com/awslabs/seed-farmer/blob/deb8f1168a22a4e150c388fb52c4f3820f4d6b8c/seedfarmer/commands/_module_commands.py#L259-L262
Hard-coding the correct role (found in the AWS console) in that line resolves the issue in the short-term.
Screenshots
File "/home/user/.local/lib/python3.8/site-packages/seedfarmer/commands/_module_commands.py", line 312, in _execute_module_commands
    raise ex
  File "/home/user/.local/lib/python3.8/site-packages/seedfarmer/commands/_module_commands.py", line 296, in _execute_module_commands
    _execute_module_commands(
  File "/home/user/.local/lib/python3.8/site-packages/aws_codeseeder/codeseeder.py", line 365, in wrapper
    build_info = _remote.run(
  File "/home/user/.local/lib/python3.8/site-packages/aws_codeseeder/_remote.py", line 109, in run
    build_info = _execute_codebuild(
  File "/home/user/.local/lib/python3.8/site-packages/aws_codeseeder/_remote.py", line 75, in _execute_codebuild
    build_id = codebuild.start(
  File "/home/user/.local/lib/python3.8/site-packages/aws_codeseeder/services/codebuild.py", line 155, in start
    response: Dict[str, Any] = client.start_build(**build_params)
  File "/home/user/.local/lib/python3.8/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/user/.local/lib/python3.8/site-packages/botocore/client.py", line 960, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidInputException: An error occurred (InvalidInputException) when calling the StartBuild operation: Invalid service role

Additional context
➜ ~ seedfarmer version
seed-farmer-2.5.0

This has been corrected and will be in the next release once the PR is issued and approved


Calendar doesn't open on focus when closeOnSelect=true

I am using latest version of react-datetime with redux-form
Everything works fine but when I set closeOnSelect=false
Calendar doesn't open (popup) when I first click into input for date
It works only when I click into , click outside and than again click inside that input.
Component use example

<Datetime
{...input}
defaultValue={value}
inputProps={{
className: className
}}
dateFormat={format}
timeFormat={false}
closeOnSelect
locale="sk"
/>

Same issue with version 2.9.0.

The problem is in DateTime.js -> function componentWillReceiveProps

componentWillReceiveProps is called on input focus so updatedState = {} than
updatedState.open === undefined
closeOnSelect = true
currentView != time
so it closes which is not good , I don't even understand that condition with view != time
But I think this is the place where it need some fix
Actual props

I couldn't fix it by myself
Used packages

It actually opens but right after it closes

FIXED
Finally I managed to do it somehow, not sure what helped but my few changes are

I am using redux form and I assigned all props from input they create I think it wasn't right

So I removed {...input} ( => this.props.input)
Added only value and onChange (this.props.input.(value/onChange)
Set open to false


April release notes correction

no ca cert only for serverless with certain drivers

@emily-horing Ah I misunderstood that change, thanks for clarifying. Updated.


Electron Cash message signing doesn't work

Hey,
for the BU voting system at https://www.bitcoinunlimited.info/voting/
I tried signing messages using EC on Linux in the GUI. But I got, on the console:
Traceback (most recent call last):
  File ".../Electron Cash-2.9.4/gui/qt/main_window.py", line 1913, in <lambda>
    b.clicked.connect(lambda: self.do_sign(address_e, message_e, signature_e))
  File ".../Electron Cash-2.9.4/gui/qt/main_window.py", line 1242, in request_password
    return func(self, *args, **kwargs)
  File ".../Electron Cash-2.9.4/gui/qt/main_window.py", line 1852, in do_sign
    address  = address.text().strip()
AttributeError: 'QString' object has no attribute 'strip'

Try the 3.0 just released.  If you can edit the code you could wrap the address.text() bit in a str()....


fix  fix bitmap/hll data size

Proposed changes
Issue Number: close #xxx
Problem summary
bitmap/hll data size is wrong when  length over 2G
change type size_t -> int64_t
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.68 seconds
load time: 490 seconds
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230127111150_clickbench_pr_85275.html


How can I use GFNet for input with variable resolution

GFNet is an excellent work. What should I do or think about if I want to use it for input with variable resolution?

Hi, please refer to https://github.com/raoyongming/GFNet/issues/16

Hi, please refer to #16

Thank you for your answer!


Is there any existing API or plan that implement custom "jitter buffer" setting ?

Regarding the Go version plan: https://github-wiki-see.page/m/pion/webrtc/wiki/Goals-2021
Add pion/interceptor jitter_buffer implementation
Cache incoming packets and re-arrange them
Allow users to define cache behavior (% loss, delay etc..)
I would love to make some custom jitter buffer setting to counter poor network. So I wonder if there's any mechanism or network setting to realize this requirement

Not currently no, but contributions are always welcome. I don't think anyone has expressed interest in working on this atm.


High banding in the gradients generated by gg

The banding is really high. Is there any way to reduce this for the generated images?

@fogleman Could you help us with this? Is there anything we must do to ensure less banding in the gradients generated.
This is a great library for generating gradients since its very simple and intuitive. It's unfortunate that we get such high banding.

Can you post code and an image showing the effect? I don't see an issue in the gradient examples.

grad := gg.NewLinearGradient(0, 0, 1920, 0)
	grad.AddColorStop(0, color.RGBA{0, 0, 0, 200})
	grad.AddColorStop(1, color.RGBA{0, 0, 0, 128})

	dc.SetFillStyle(grad)
	dc.MoveTo(0, 0)
	dc.LineTo(1920, 0)
	dc.LineTo(1920, 1080)
	dc.LineTo(0, 1080)
	dc.ClosePath()
	dc.Fill()
	gradientOverlay := dc.Image()
	imaging.Save(gradientOverlay, "out.png")

Well the only way to improve that would be to go to a 16-bit image.
Currently gg only does 8-bit. It wouldn't be too hard to do 16-bit but might be API-breaking.

Oh alright! Is it possible to create a v2 package? I am also happy to help through PRs if you can give me an overview of the places that require changing.

It would start by changing RGBA -> NRGBA64 and Alpha -> Alpha16 throughout the code.
But it might not actually be so easy. The freetype/raster package which gg is built upon only seems to support RGBA and Alpha.
https://github.com/golang/freetype/blob/master/raster/paint.go


Generate custom tailwind styles and cannot using in className

This package really helpful, thank you. I need some suggestion for what happen here.
I'm using
$ npx tailwindcss init
$ npx create-tailwind-rn
to generate custom tailwind
and works fine if using this
import { tw } from './tailwind';
<Text style={tw('bg-primary')}>aaaaa</Text>

but if using this, i get nothing
<Text className="bg-primary">aaaaa</Text>

This is my setup
**tailwind.js**
import { create } from 'tailwind-rn';
import styles from './styles.json';

const { tailwind, getColor } = create(styles);
export const tw = tailwind;

**jsconfig.json**
{
  "compilerOptions": {
    "baseUrl": "./src",
    "checkJs": true,
    "jsx": "react",
    "types": [
      "babel-plugin-tailwind-rn-classname"
    ]
  }
}

**babel.config.js**
module.exports = function(api) {
	api.cache(true);
	return {
		presets: [ 'babel-preset-expo' ],
		plugins: [
			'tailwind-rn-classname',
			{
				tailwindRNExportPath: './tailwind.js',
				tailwindRNExportName: 'tw'
			}
		]
	};
};

Any possible to using custom style from tailwind.config.js directly to className ?
Thank you

Hi,
Yes it's possible, and it should work the way you did. Could you please provide a reproduction repo, so I can test your issue?
Thanks.

Thank you for quick reply, repo is here https://github.com/uarefans/test-tailwind-rn

Sorry, this issue solved, error / not showing style because cache and wrong plugin for babel name resolver. Thank you


Schedule non-expert interviews

[x] Participant 1: Matthew Solle (designer, not web3 curious)
[x] Participant 2: Basil Hassan (entrepreneur, web3 curious, privacy business models)
[x] Participant 3:
[ ] Participant 4:
[ ] Participant 5:
[ ] Participant 6: (Might be nice to have, not sure if necessary yet)

Matthew Solle booked

@autonome Since reviewing the personas document you sent before, and going through the lists of potentialy interviewees, and booking one and waiting on a second to confirm, it's becoming clear that it might best suit us to go with web3 curious sorts as the learning curve is quite steep even explaining p2p as an idea.

Basil Hassan (entrepreneur, privacy advocate) booked

Jon Ryder (writer) booked

Dom Ahern booked


Improving boost::compute::extents functionalities

By developing an application with the great Boost.Compute, I just figured out that even if extents looks like a STL container it is not even a limited one, which in unfortunate when writing something like this:
boost::compute::extents global { ... };
boost::compute::extents local { ... };
std::clog << "Launching kernel with { ";
for (auto v : global)
std::clog << v << ", ";
std::clog << "workitems with workgroups of { ";
for (auto v : local)
std::clog << v << ", ";
std::clog << "} workitems" << std::endl;
because there is no begin()/end() method for example.
If we change extents to inherit from array<> instead of having an array member it should work, such as:
template<size_t N>
class extents : public boost::array<size_t, N>;
I made a similar approach for range<> and id<> in SYCL based on this class:
https://github.com/keryell/triSYCL/blob/12055c1be2b243c82d4e45bfced9cac125a43e32/include/CL/implementation/sycl-implementation.hpp#L279
I started to experiment it in Boost.Compute but I do not know how to write it in pre-C++11, without parent constructor inlining, etc... (SYCL requires C++11 at least, which may not be the case of Boost.Compute.)
We can also add a lot of interesting extensions on boost::compute::extents, for example to compute the work-group geometry by just writing global/local, etc.
Thank you.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8887591-improving-boost-compute-extents-functionalities?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).

That's a good idea. I don't think inheritance is the right approach here, but I'll add begin() and end() methods to extents<N> which allow access to the underlying array values and enable the use of a for-range loop over an extents<N> object.

Implemented in PR #429.


[HUDI-6726] Fix connection leaks related to file reader and iterator close

Change Logs
During our long running tests, we found a few conn leaks causing S3 or GCS conn timeouts and job failures. This PR fixes most of them that were related to metadata and RLI.
Impact
Only changes internal classes to ensure readers are closed properly.
Risk level (write none, low medium or high below)
medium
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@rmahindra123 : did we check for any more gaps in closing readers in HoodieSparkParquetReader, HoodieBootstrapFileReader etc.


add Message.republish!(id:)

Closing as retry -> republish, and we have already implemented republish.


Getting user info

Hi how can I get user's first name and last name?

fixed with latest version

First name and last name seems to not be included in the user data in version 0.8.0. I see only "name". What could be wrong?


rewrite snipper function

make the snipper function class based for better and easier and more complex analysis options

include plotting options, e.g. individual trials, mean with shaded error, heatplots

add removing artifacts code


Add support for adding/updating/deleting keycloak roles

@fpob thanks for the review.  I've made the suggested change.  PTAL

@fpob sorry, would you re-review.  I was unable to merge since I had to rebase due to merging of the Tower openapi changes earlier today.  GH wasn't happy with the way I rebased so it "dismissed" your last review and is forcing another one.


Refocusing issues with vim-airline when NERDTree window closes

Self-Diagnosis

[x] I have searched the issues for an answer to my question.
[x] I have reviewed the NERDTree documentation. :h NERDTree
[x] I have reviewed the Wiki.
[x] I have searched the web for an answer to my question.

Environment (for bug reports)

[x] Operating System: Manjaro
[x] Vim/Neovim version :echo v:version: Nvim v0.3.8, Vim 8.1
[x] NERDTree version, found on Operating1st line in NERDTree quickhelp ?: 5.3.1
[x] vimrc settings

[x] NERDTree variables

call plug#begin( '~/.vim/plugged' )
Plug 'vim-airline/vim-airline'
Plug 'scrooloose/nerdtree'
call plug#end()

let mapleader=','
nnoremap <Leader>n :NERDTreeFocus<CR>

Other NERDTree-dependent Plugins

[ ] jistr/vim-nerdtree-tabs
[ ] ryanoasis/vim-devicons
[ ] tiagofumo/vim-nerdtree-syntax-highlight
[ ] Xuyuanp/nerdtree-git-plugin
[ ] Others (specify):

[ ] I've verified the issue occurs with only NERDTree installed.

I don't know how else to observe the issue, without vim-airline being installed.

Steps to Reproduce the Issue
With the above configuration, type the following within Neovim/Vim:
,n
q
^Vim-airline status line does NOT refocus.
,n
:q
^Vim-airline status line refocuses.
Current Result (Include screenshots where appropriate.)

Expected Result

Extra
The bug seems to be in the s:NERDTree.Close() function in lib/nerdtree/nerdtree.vim. I've tried executing some of the code from that function manually at the vim command line with the NERDTree window in focus, and I get the same issue.
:call nerdtree#exec("close", 1) | call nerdtree#exec("call win_gotoid(" . win_getid() . ")", 0)

Related: vim-airline/vim-airline#1968, #801

Changing the 1 to a 0 fixes that refocus issue, but if you have multiple windows open, then it will always focus on the first one, rather than the previous one.
For example, if you open Neovim/Vim and type the following:
:vsp
:NERDTreeFocus
:call nerdtree#exec("close", 0) | call nerdtree#exec("call win_gotoid(" . win_getid() . ")", 0)

Rather than refocusing on the second virtual split, it refocuses on the original one.

Try checking out branch 1036, and see if that fixes your issue.
The second issue you reported is caused by your omitting some important statements. The following statements more closely match what s:NERDTree.Close() is doing.
:vsp
:NERDTreeFocus
wincmd p
let w = win_getid()
wincmd p
:call nerdtree#exec("close", 0) | call nerdtree#exec("call win_gotoid(" . w . ")", 0)

Yes, that fixes the issue! Thanks so much! :smiley:


Update ember-cli and dependencies. Use ember modules.

Thank you @btecu!

@lukemelia would it be possible to cut a release of this addon at your earliest convenience?

Released as 0.5.3

Thanks!


NUnit2.5 is not a valid Pester export format

Where are you running it?
You can run the extensions in the cloud or on-premise

Azure DevOps Service (VSTS) - On-Premises Build Agent

Version of Extension/Task
I assume it is the currently public version, if you are using an older version on-premises let me know, but the answer will probably involve upgrading to the currently public version
10.2.4
Expected behaviour and actual behaviour
Expected: TestResult Object and Code Coverage output files are created.
Actual: Neither file mentioned above are created. When attempting to write out the TestResult object there is an error as seen below:
System.Management.Automation.RuntimeException: 'NUnit2.5' is not a valid Pester export format.
at Export-PesterResults, C:\Users\totallyRealUser\Documents\WindowsPowerShell\Modules\Pester\5.1.0\Pester.psm1: line 14335
at Invoke-Pester<End>, C:\Users\totallyRealUser\Documents\WindowsPowerShell\Modules\Pester\5.1.0\Pester.psm1: line 4871
at <ScriptBlock>, C:\BuildAgent\AzureDevOps\_work\_tasks\Pester_cca5462b-887d-4617-bf3f-dcf0d3c622e9\10.2.4\Pester.ps1: line 142
at <ScriptBlock>, <No file>: line 1

Steps to reproduce the problem
- task: Pester@10
    displayName: Pester Test Runner
    inputs:
      TestFolder: $(Build.ArtifactStagingDirectory)
      resultsFile: $(Build.ArtifactStagingDirectory)\Test-Results\Test-Pester.XML
      CodeCoverageOutputFile: $(Build.ArtifactStagingDirectory)\Test-Results\CodeCoverage-Pester.XML
      CodeCoverageFolder: $(Build.ArtifactStagingDirectory)

Additional Info
This issue recently opened for Pester seems related: https://github.com/pester/Pester/issues/1794 .
If I'm reading that issue correctly, the TestResult.OutputFormat has been ignored up until Pester 5.1, and it just always used NUnit2.5. In this version of Pester NUnit2.5 is not a valid option. However, NUnitXml appears to be the current replacement. It looks like the lines below could be changed to fix this.
https://github.com/pester/AzureDevOpsExtension/blob/73572ac06e800032bb2bb171c27d65c020b98b3e/Extension/PesterTask/PesterV10/Pester.ps1#L95-L99

Thanks for the info, I haven't had a chance to test this on 5.1 but interesting to see this pop up.
I'll see if I can get this fixed but it'll probably be the weekend before I get a chance to. Happy to accept a PR if you've got time and I can get the code reviewed and released a bit sooner.

Thanks. One thing I was just noticing was that it appears as though they have merged a fix which essentially turns NUnit2.5 into a alias of sorts for NUnitXml. So once that gets released it will resolve itself.
So there is probably some discussion to be had about whether this should remain at NUnit2.5 or switch to NUnitXml, as there is still ongoing talk in that open issue (and associated PR) about what NUnitXml will mean once support for NUnit3 and future versions are added to Pester. Should this extension have a field to select the output format or just always use the default set by the current version of Pester? Personally my needs are likely simple enough it doesn't matter and I don't know enough about these output format types to comment on them.
The isn't preventing the tests themselves from running properly, merely the test results file is not created (and presumably as a result of the error neither is the code coverage file). So this isn't really a pressing issue at the moment.

It looks like Pester 5.1.1 does indeed fix the issue. Test results and code coverage files are generating as expected again. So this no longer appears to be an issue. I'll leave it to you to close the issue in case you wish to dig into it further some day.

It looks like Pester 5.1.1 does indeed fix the issue. Test results and code coverage files are generating as expected again. So this no longer appears to be an issue. I'll leave it to you to close the issue in case you wish to dig into it further some day.

Thanks for confirming @The-New-Guy.

Thanks for confirming @The-New-Guy.


SMuRF input data type

Hi !
I would like to ask, the data types downloaded by TCGA are different from the four types recommended by this software package MuTect2, FreeBayes, VarDict and VarScan. so can I use use 2 or 3 type somatics data to train model and improve the accuracy of somatic mutation.
Thanks!   by caokai

Hi caokai,
Unfortunately no for now as the software package uses exactly 4 callers which are important for the overall accuracy of the training model.
If you are using TCGA data, you can try to use the simple consensus method to find mutations called by at least two callers rather than this software. Our evaluation shows MuTect2 is a fairly accurate caller on its own as well.
Regards,
Tyler

ok, thanks for your reply！


Add new etterna logo

Here's a potential logo you can use for the readme.

Added dark and light logos in separate commit. Logos were sent over discord. Thank you Anthalopus/Gazelle for making the logos.


Update composition-effects.md

The property name should be passed as a string array to CreateEffectFactory

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Fix misspellings in README_ZH_CN.md

@xTire Thanks sounds good to me!

@xTire Thanks for your PR, LGTM


The output file size is bigger than the original by 15 times after drawing a text to the pdf file.

Unable to reproduce. Please share create a working example with code and a PDF that I can use to reproduce the issue.

@Hopding I think that the issue is happening when embedding a large font file.
pdfDoc.registerFontkit(fontkit);
const font = await this.fetchFont();
await pdfDoc.embedFont(font);

by excluding the last line the file size is norma.
Any suggestion on how to overcome this? I am using the Arial font family to support multiple languages (in my app I don't know in advance what would be the input language).

@amirhamdy4IN3 Please see my response to @vlio20 inhttps://github.com/Hopding/pdf-lib/issues/725.

@amirhamdy4IN3 Please see my response to @vlio20 inhttps://github.com/Hopding/pdf-lib/issues/725.


Refactor/reorganize hstream server project

reorganize hstream server

"Refactoring" & "Add grpc api" should be two separate pull requests.


[Android] infinite loading after choose account in OAuth consent screen

Flutter 1.22.5 • channel stable
fit_kit: ^1.1.2
ONEPLUS A6000
When I checked the permission in the application info, the physical activity is allowed, but it can't use FitKit.read.

I had same issue.
In my case , making the Publishing status "In production" in oauth concent screen setting solved the issue.
https://console.developers.google.com/apis/

I had same issue.
In my case , making the Publishing status "In production" in oauth concent screen setting solved the issue.
https://console.developers.google.com/apis/

Yes, the app needs to be in the production state for auth in case of getting data for android. Even the other google plugins will fail as well.

Yes, the app needs to be in the production state for auth in case of getting data for android. Even the other google plugins will fail as well.

I changed to the production state, and it works. Before that, I did like what you do @Harshdeep4295, and it also works.
Right now, I don't know why it works only in the production state.
By the way, thank you for your responses.

I changed to the production state, and it works. Before that, I did like what you do @Harshdeep4295, and it also works.
Right now, I don't know why it works only in the production state.
By the way, thank you for your responses.


Style Our Events Section

In the main website as you open https://eduhubcommunity.tech/  the event section is much more elaborated and the website is more extended it could be better if it had been displayed in carousels and padded also it looks too big as it occupied 100% of the width of the screen.I would like to fix this issue by changing the layout to carousel using bootstrap . As the user will click  ahead it will show more events .
look here is the demo

"Hi there  ! I'm excited to contribute to this project'GSSOC;'23 I've taken a look at the codebase and I believe I can make some valuable improvements. I'll start working on it right away. If you have any specific requirements or suggestions, please let me know. Looking forward to collaborating with you all on this!


Created A Docs about the Laravel MongoDB

When we are working on a project, and reading the readme file in the repository takes a lot of time for me to go and find what I'm looking for so for me to be able to at least easily find what I am looking for I decided to create docs for this so that it is simple to navigate using side navigations or tabs.
So I made documentation using vue press, to see what it looks like. It's something like this.
https://laravel-mongodb.netlify.app/

Codecov Report

Merging #2159 (4aff11c) into master (ae864fb) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2159      +/-   ##
============================================
+ Coverage     86.99%   87.01%   +0.02%
  Complexity      664      664
============================================
  Files            33       33
  Lines          1561     1556       -5
============================================
- Hits           1358     1354       -4
+ Misses          203      202       -1

Impacted Files
Coverage Δ
Complexity Δ

src/Jenssegers/Mongodb/Relations/BelongsToMany.php
86.00% <0.00%> (-0.14%)
42.00% <0.00%> (ø%)

src/Jenssegers/Mongodb/Query/Builder.php
89.26% <0.00%> (+0.14%)
163.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Hello,
Thank you for your work but why not nuxt content? It's much better.
Also, I don't think this ever will be merged, there is no web-site even adding a Github page might take months to deploy...
Sorry about that!
Thanks!

Hello,
Thank you for your work but why not nuxt content? It's much better.
Also, I don't think this ever will be merged, there is no web-site even adding a Github page might take months to deploy...
Sorry about that!
Thanks!

Thanks, Its ok I understand. and Thanks for suggesting nuxt content, I've seen it and it's really beautiful might as well use it in the future for documenting. :)


[BUG] Contents of examples directory do not function out of the box due to incorrect serviceaccount name

Description
Contents of examples directory do not function out of the box due to incorrect serviceaccount name.  The default created serviceaccounts are spark-operator and spark-operator-spark.  The example SparkApplications use the nonexistent spark serviceaccount.

[X] ✋ I have searched the open/closed issues and my issue is not listed.

Reproduction Code [Required]

Install the v1.2.14 spark operator helm chart
Execute kubectl apply -f https://raw.githubusercontent.com/kubeflow/spark-operator/master/examples/spark-pi.yaml
Observe the logs in the deployed spark-operator pod, and note the numerous errors and stack traces.

Expected behavior
The examples should execute a valid spark job without errors and without any manual remedies being necessary.
Actual behavior
Errors occur due to the lack of a matching serviceaccount
Terminal Output Screenshot(s)

Environment & Versions

Spark Operator App version: v1beta2-1.4.5
Helm Chart Version: 1.2.14
Kubernetes Version: 1.29.3
Apache Spark version: 3.5.0

Additional context

Closed by #2010


readDirFiles.list()

function listDirFiles(dir, options, callback)
@dir {string} Directory to read files from.
@options {Object} Optional Options for list directory files.
@options.recursive
@options.normalize
@callback {function} Optional Continuation to pass control to when complete.
Asynchronously lists all files from dir and returns them to the callback
in the form:
[
  'dir',
  'file0',
  'file1'
]

Following calling conventions are supported:
readDirFiles.list(dir)
readDirFiles.list(dir, { recursive: false, normalize: false })

With or without callback.

Thanks Charlie. Landed as 19de9a0bf057b2310f9879260653e05a17cbe0f5 and 3ea548d3de0de11d14600f0636b83c792ea557f7. Published as 0.1.0.


feat(helm): add new update-policy annotation to recreate resources

Add annotation handling of new annotation helm.sh/update-policy with values recreate-on-conflict and recreate-on-invalid values to better deal with the following cases.
The server responds with 'invalid' e.g. if a certain resource contains an immutable field, which cannot be patched or updated by a PUT. In theses cases it can be helpful to delete the resource and recreate it. Examples for theses cases are:

roleRef in RoleBinding
spec.clusterIP in Service
parameters in StorageClass

If a chart developer has made sure that recreating a resource is safe, the annotation can be added to a resource template. Alternatively a user may add the annotation manually to an existing resource to allow Helm to recreate a certain resource.
Adding the new annotation in general by default or changing the default behaviour of Helm is not a good idea, since deletion and recreation of certain resources can lead to an unwanted or undefined state as described in detail in https://github.com/helm/helm/pull/7431#issuecomment-666735299:
"[...] selectively deleting/re-creating volume-backed resources (Secrets, Services, ConfigMaps, PVCs) without touching the Deployment. If a Persistent Volume Claim is deleted and re-created, there is a risk that an application (Deployment) consuming that Persistent Volume Claim will not receive the new volume's mount point. The same can be said for Secrets, Configmaps, Services, and other resources which are deployed and relied upon by another resource. Environment variables populated in a Deployment from a Service won't be updated until the Pods are destroyed."
Closes #7082.
Signed-off-by: Daniel Strobusch<EMAIL_ADDRESS>Special notes for your reviewer:
This is an alternative approach to https://github.com/helm/helm/pull/7431 as proposed in https://github.com/helm/helm/issues/7082#issuecomment-687752364.
There is a new timeout parameter introduced to Update in a backwards compatible way as UpdateWithTimeout as suggested in https://github.com/helm/helm/pull/9174#discussion_r1186547143. In Helm 4 this should be cleaned up as stated in the comments.
The update-policy and its possible values is a proposal related to the delete-policy of hooks and could be changed to something different.
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[x] this PR has been tested for backwards compatibility

Did you ever get any feedback on this? It seems like a pretty good idea to me.  I wonder why the DCO check hasn't passed on this.
IMHO this PR seems preferable to #7431 should that one be closed in favor of this?

Same question:
https://github.com/helm/helm/pull/7431#issuecomment-1536877604

@joejulian could you unlock #7082 to be able to comment on in again, since I am not able to comment on this issue anymore?


Consider deprecating in favour of http-terminator

I have answered a variation of "how to terminate a HTTP server" many times on different Node.js support channels. Unfortunately, I couldn't recommend any of the existing libraries because they are lacking in one or another way (https://github.com/gajus/http-terminator#alternative-libraries). I have since put together a package that (I believe) is handling all the cases expected of graceful HTTP termination.
https://github.com/gajus/http-terminator
I would appreciate if you consider contributing to http-terminator and deprecating stoppable.

@gajus  First of all, I think both are great libraries
However, about this one

it immediately destroys all sockets without an attached HTTP request (stoppable does not check if there are attached HTTP requests)

I think one major different is stoppable tracing all requests
https://github.com/hunterloftis/stoppable/blob/c01a5e2306bcf520253ecb2581b8ed08bbcd857e/lib/stoppable.js#L27
But in http-terminator you don't do the same thing. You use _httpMessage to determine if there is a request attached. If there is none, you close the socket.
https://github.com/gajus/http-terminator/blob/7a65e2c27694cd566ef99097d7bb15b9ddd3056f/src/factories/createInternalHttpTerminator.ts#L106
however, there is no documentation on _httpMessage.
So I can't really tell which one is better on this point, but I think both library handle this one.

The fact that stoppable has (at least today) 0 dependencies is a plus for stoppable. http-terminator is bringing in a fair few indirect dependencies that would be a bit of a liability in production.


Equivalent of @Html.Hidden or @Html.HiddenFor in MVC6 Tag Helper

What is the equivalent of the above two HTML helpers in MVC6 Tag helper? I want to hide primary key of a model (table) in an MVC Core view using tag Helper.

For @Html.HidenFor(m => m.Property), use <input asp-for="Property" type="hidden"/>.
Tag helpers do not support the older expression name approach. So there's no direct equivalent for @Html.Hidden().

@dougbu It works - thank you. I'm closing the issue.

So a value property is not needed?


Equivalent to react's context?

Is there and equivalent to reacts context api?
I find sideways loading component unrelated data extremely useful via this mechanism and am wondering if something similar exists in this lib or is planned?

@DylanPiercey Inferno has always supported context just like Inferno.

@trueadm awesome glad to hear. Is the api exactly the same? Or can you link me to some doc's? I'd like to give this lib a whirl today :D.

@DylanPiercey No docs, unfortunately, but the API is exactly the same – so you should be able to use React docs without issue. Many of the common inferno third-party libraries like redux, router and mobx use this the exact same way, so I shouldn't envisage any issues.

Ah awesome, thanks for the info.


Color Preferences Not Found/Adjustable

When adjusting my color preferences in Dbeaver, I am not able to figure out how to adjust the following fields...

Highlighted hover-labels within folders.
Content assist descriptions.
Executing query second counter.

The solution I am looking for is to implement the ability to change the colors for these fields or, to assist me with figuring out how to adjust them if they already exist.
Assisting images:

Highlighted hover-labels within folders.

Content assist descriptions.

Executing query second counter.

already fixed


Show today's time in status bar

Same as https://github.com/wakatime/macos-wakatime/pull/291

39c9eef97050741750ccdfb7e96ee52018864aa0


Billing Center Cost Anomaly - Fix for Incorrect Variable Type and Missing Detail Template

Description
The report variable was defined as an object, so when no report data is available, the policy evaluation fails as it is expecting an array.
Also added back in the detail template as there was too much information in the summary template.
Issues Resolved
n/a
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger

LGTM, there are few lines indentation needs to be corrected, so could you please look at them before merge the PR, thanks!

Thanks, @chandravurubindi., Fixed the indents, added section headers, and reorganized data sources and scripts.


[Modal] shorthand action onActionClick "will be ignored"

Bug Report
Steps

Create a modal using the shorthand
Add an action with the onActionClick event from Modal.Actions
Open the modal

Expected Result
When clicking the action it should run the specified function.
Actual Result
Throws an error in console Warning: Unknown event handler property onActionClick. It will be ignored.
Version
0.81.1
Testcase
https://codesandbox.io/s/m3y3n4y4oj

onActionClick is designed to be used on Modal, in this case you should use onClick:
https://codesandbox.io/s/139v47w1lj


Feature/kp 907/new method run docker image

https://kaholo.atlassian.net/browse/KP-907

I need to clean up the branches, before I set it to develop


Add Log Label

Add a log label to create a clear delineation between S3rver logs and an users application.  This is particularly useful when using S3rver programmatically within an application (e.g. during development or testing time).

Thank you!


Is it possible to do set operations?

I have 2 fields "build version" and "defects". If 'X' and 'Y' are build versions then I want to know:

The defects common to X and Y.
Defects unique to X and Y.

Hi,
I could suggest to do this:

create a "Terms" bucket based on "defects" fields
create a "Sum Bucket" metric, with a "Filters" sub-aggregation
-- add one Filter "build_version:X" and another "build_version:Y"
then you can create 3 computed columns : "Only X", "Only Y", and "X and Y"
"Only X" has this formula: "col1 > 0 and col2 == 0"
"Only Y" has this formula: "col1 == 0 and col2 > 0"
"X and Y" has this formula: "col1 > 0 and col2 > 0"

Thanks for the prompt response. I will try this and let know how it goes.

By the way, it will simply display true or false for each computed column.
But you can have a custom display using :  ? ”Yes" : "No".
Or you can also generate html instead of Yes/No.

Thank you, Fabien for your help. I was able to create the necessary chart. Just followed a slightly different approach from the instruction you gave.
Instead of using the "SUM bucket" metric agg with "filters" sub-agg, I used "Split rows" on the build version and then "Split Cols" on the same build version with "COUNT" metric agg. to get intended columns. I did this as I did not want to limit my charting to those build values only and wanted the chart to dynamically take the last 2 build versions. Below is the chart for reference. I have hidden the col0 which is a row split of the build version and helping me get the last 2 values of it.

I know the label field is a static TEXT field, still checking to see if we can dynamically control the labels for computed columns so that I don't see "Only X", "Only Y" and rather see the build versions??

nice to see that you find a way to answer your need.
That said, I'm very surprised that you first do a split rows bucket on "build version" and then a split cols on "build version".
Doing so, you can't have both build versions for one table row.
Up to me, you should remove the first split rows bucket.
Then, if you want the "2 last build versions for one defect", I invite you to use "top hit" metric.
Then, with computed column, you can work on array value, with several methods (provided by expr-eval or enhanced table). You can look at documentation on GitHub to see all the available functions.
Finally, I confirm you that you can't have a dynamic column label.

Thank you, Fabien for pointing out the mistake I was doing. I got blinded by the amount the data (rows) and did not realize the issue. I followed your instructions and I am pretty happy with what I have achieved. Thank you very much to you and the community for the awesome plugin and active development.

Hi,
Well, I think about your issue.
And at this time, there is not a really easier way to do...
Actually, Top Hit aggregation returns a simple string if there is only one value found, and an array if more values are found.
That's why "uniq" function has this weird behavior.
In next release, I will add a new isArray function and enhance uniq method to detect if value is not an array.

Great, that sounds good. Thank you again!

Hi @abhishek063,
Good news: enhanced table v1.10.0 is out with isArray function, uniq/sort functions that support single value as input (instead of array), and more enhancements!
https://github.com/fbaligand/kibana-enhanced-table/releases/tag/v1.10.0

@fbaligand : That's great news Fabien. Looking forward to using it soon. Thank you for taking care of it on priority.


XML/HTML parsing is error prone & not able to input XML unparsed

Hi guys,
First of all: a huge thank you for this library! It looks great and works fine out of the box for plenty of languages, such as Python.
With XML however I have a problem. Ideally I'd like to input the raw XML just as it is, so like:
<!DOCTYPE html>

Instead of:
<!DOCTYPE html>

Is there any way to do this? I've tried to wrap it in CDATA for example to make sure it doesn't get parsed but that doesn't seem to work.
So then I decided that encoding was ok for now. This is where things got weird. Have a look at this line of code:
<field name

If I render this it will not print out anything, while if I place a space between < and the "f" from field name it will, this is the code:
< field name

If I add them both under eachother like this:
< field name
<field name

Then the first one is printed in the webpage, the second one is completely ignored and not rendered:

When I change this order around like this:
<field name
< field name

Nothing will be rendered for both items:

Then you might say okay it is not working because the XML is not correctly closed off. But this one doesn't work either:
<field name="description"></field>

So I have two questions:

Is there a way to load pure XML in the
 blocks and if so, how?
Why do so many statements fail for conversion?

Is there any way to do this? I've tried to wrap it in CDATA for example to make sure it doesn't get parsed but that doesn't seem to work.

CDATA is an XML thing, not an HTML thing.  While it may once have been valid in the age of XHTML it's no longer a thing.  There is no great way to dump unescaped HTML into an HTML file.

Is there a way to load pure XML in the  blocks and if so, how?

So, no. If you were getting the data from some other place (AJAX, etc) you could perhaps build a pipeline for this yourself with javascript... Or you could even encode the data in JS instead:
var code = "<blah>"

But then you still have to escape it, just using Javascript's rules about quoting, not HTML's more complex rules...  If you just want to embed it inside the  tag though then yes, it must be escaped properly.
I find it hard to follow the rest though, but I'm not even going to try without an actual example I can confirm and play around with (since this is so nuanced).  If there is an a issue here (other than the encoding one, which I've addressed) please create a jsfiddle to show working examples of the issue and I'll have a look.
You can even use my template:
https://jsfiddle.net/ajoshguy/nagkqytv/18/

Weekend going.  Is there still an issue here?

Thanks for the detailed feedback and info. I've accepted the fact that there's not much that can be done to change it without going with JS functions or something equivalent. I've made workarounds to enable this so I guess that's just the way it works and how it should. :)
Dont worry too much about this one, I assume you're completely right. Thanks for the feedback.

A script tag might be better (for raw content) but then you’d need custom JS to move the content into a code block and call Highlight.js.  Might not be hard to pair them with auto generated ids or something if your generating the content programatically.
Is writing a little custom JS not an option?

I ended up with doing a combination of both. It's not a perfect solution but it works OK, just had to add some extra JS.

Awesome.


Minimum set of processors needed to get it working for my needs :)

[x] th:text
[ ] th:utext
[x] th:if
[ ] th:attr

After implementing the above, it's time to work on getting a proper architecture going to support it being super-configurable much like how Thymeleaf is.  An example app would also be useful.

Note that, even if you are implementing a very simplified version of the expression engine for now, you might want to take into account how Thymeleaf generally evaluates objects as boolean for th:if, th:unless (you can add it to your list, it will be almost free once you have th:if) and so.
For this, have a look at org.thymeleaf.util.EvaluationUtils#evaluateAsBoolean(...). And the EvaluationUtils class in general.
Also, another suggestion: IMHO for this to be useful from the beginning, th:each would be important. And this brings the topic of how to evaluate objects as iterables, for which you'd have to have a look at org.thymeleaf.engine.IteratedModelGatheredProcessable#computeIteratedObjectIterator(...)

th:each is definitely useful - it just wasn't one of the tags I was using in my other project 😄
I think we need to come up with what a "minimum feature set" that we'll be happy with before we open this up to further experimentation.
Re: iterating an object and evaluating what is true/false - would we want to have the JS use the same semantics as the original Thymeleaf, or rather use the semantics that exist in the JS world already?  eg: JS already has a concept of truthy/falsey, as well as what counts as iterable.


release 2.1.2

@osteinhauer fixed some long existing annoying spring-context bugs and @stefanzilske provided a fix for the gradle/ee plugin.
So although it is the 3rd time in a week ... I guess we should get the fixed version out to the public.
@hawky-4s- could you take over, please?
version: 2.1.2
next dev: 2.2.0-SNAPSHOT

@osteinhauer : If you are working an more fixes, that could be part o this, we should wait ...

checking the bugs...mission 2.1.2 is completed on my side...

Great to have you back! And thanks for this bug fix marathon!

Released.

note to self: check
https://search.maven.org/#search|ga|1|camunda-bpm-spring-boot-starter-bom
before closing


Cache

Caching a block currently only caches the DB request. This is only working for template type blocks.
It'd be ideal if caching a block, was optimised further to cache the output of the view (and implemented for both template and include type blocks).

Implemented with this commit.


colspec added by default to tables in OT2.1 causes non optimal presentation

In preprocessing (NormalizeFilter.java ?) colspecs are added for columns in tables that have no colspec specified by the user.
For users of XEP and AntennaHouse the best results are achieved by letting the FO processor decide on the width of the columns based on the content of those columns.
Where an author does  require a specific column width ratio they will specify colspecs in the usual way.
Now, after preprocessing I cannot tell if the specified colowidths are deliberately added by the user (and set to be all the same width) or added by the preprocessor.
Please  can we have an Ant param that controls if the colwidth is added automatically or not by the pre processor (or at least some additional indication that the colwidths that exist were not specified by the author)
example below
	<table frame="all" id="table_3vm_b3f_lf" outputclass="tablewidthcolumn dochistory">
		<tgroup cols="4">
			<thead>.....

becomes

Appears to be caused by "Add extension attributes to table #1871"

When in doubt, CALS Table Model Document Type Definition:

If the number in cols is larger than the number of <colspec>s, then additional <colspec>s of colwidth "1*" should be inferred.

Thus the normalization process is correct in generating the default with "1*". However, not generating the default would make sense in that it would allow formatter specific auto layout.

The default 1* appeared in #1694.

Many thanks, this is important to us as the majority of our tables work with auto layout.
My customer is looking to go live with 2.1 in a matter of week and they have a ton of customizations at XSLT level that takes time to integrate.
If a patched of the 2.1 jar could me made available that would be massively helpful

You can just comment out line 226 from NormalizationFilter and build DITA-OT yourself, the instructions in the README should be pretty easy to follow.

Thanks that has done the trick, I owe you a beer.
Now that I have learned how to use Github, I will try and find time to contribute form time to time (on the XSLT side not on Java)


[Bug]: A event is deprecated on Multiverse core

/mv version -p output
https://paste.gg/5ced27c16e264916a6b9d343b6f33b76
Server logs
https://paste.gg/p/anonymous/59d00351bbd34718a2210c7cd5169aac
Server Version
git-Paper-160 (MC: 1.20.1)

Bug Description
the console shows me a deprecated event what it causes a lag of 100 ticks behind
[Multiverse-Core]: "Multiverse-Core v4.3.11" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].
INFO15:18:49
[Multiverse-Core]: §aWe are aware of the warning about the deprecated event. There is no alternative that allows us to do what we need to do and performance impact is negligible. It is safe to ignore.
Steps to reproduce

Start server with Multiverse installed

Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

In your bug description:

We are aware of the warning about the deprecated event. There is no alternative that allows us to do what we need to do and performance impact is negligible. It is safe to ignore.

in your agreement, this is checked:

I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.

See #2000


fixldap set passwd need forward to master (#36436)

pick from master: https://github.com/apache/doris/pull/36436

run buildall

run feut


Backend can't reach the authentification service

When you execute make run-dev in the main repo and try to execute an action, the backend returns a 400: Bad Request. If you look into the log of the backend, it says the following:
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:9004
DEBUG:openslides_backend.services.authentication:Cannot reach the authentication service on http://localhost:9004. Error: HTTPConnectionPool(host='localhost', port=9004): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb840fc6f40>: Failed to establish a new connection: [Errno 111] Connection refused'))
DEBUG:openslides_backend.services.authentication:Auth cannot be reached. Fall back to guest mode.

I don't know if the issue stems from a wrong configuration in the backend, the auth service or the docker containers.

Move to the backend, not a setup error. AUTH_HOST and AUTH_PORT are set correctly.


Crash

Crash when shift-clicking items while in creative.  1.10.2 version.  I can't exactly update a modpack like Sky Factory, as not all mods in it exist in 1.11.x/1.12.x afaik.
crash-2018-03-01_21.05.24-client.txt

1.10 is not supported anymore. Update to 1.12.


Move hardcoded strings within the module into variables

We need to generalize variable inputs into the module to make it work in different circumstances.

This PR is included in version 1.0.2 :tada:


investigate balances

we have gotten reports that our balances don't always match. we should investigate where we are displaying balance, how we get that value, and if it's indeed accurate. if it is, we will need to work on messaging, if it's not, we need to fix the issue.

total account value is dai balance + total frozen funds
dai value shown in your account dropdown is just the dai balance

The issue above is I had open orders which just gets clumped into total exposure....Will think how to handle this scenario and get back to you

removed AS pg, will not have discrepancy anymore...which was caused by FF from open order in trading, which isnt possible on sb


fix: remove extraneous mime-types package in favor of mime

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #2152 🦕

Going to add the additional logic to remove compressible. Adding do not merge in the meantime.

Added additional logic and removed compressible from the dependencies.


fix previous paths handling

new previous paths generation doesn't update child paths.  This creates a specific prev-path post processing function to ensure that all unseen child dirs inherit changes from their parent.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :bug: Bugfix

Issue(s)

#4689

Test Plan

[x] :zap: Unit test

this solution works and has good test coverage so I think we should move forward with it to get this finished off. However, I am a little hesitant about the fact that it's continuing to use string replacement for path updates. I believe we were hoping to move away from that with the tree architecture we picked

@ashmrtn To speak about that a little: it does feel a bit like a step back, but there's not much of an easy way to handle it otherwise.  Specifically because the prevPaths metadata entries don't contain a reference to their parent by ID.  If they did, I could order the old previous paths from root to leaf, iterate through them, add unseen children by extending their parent.
Without the parent reference, I have to jump through hoops.  There were two ways of approaching it.  First, the way I did it here.  Second, build a separate tree from the previousPaths metadata and use that tree to handle parent reference lookup to perform the above.  I'm happy to refactor towards that design, if we want to be completely free of string replacements.  But the effort/complexity is going to be roughly the same as what's here.

Specifically because the prevPaths metadata entries don't contain a reference to their parent by ID.

Yes, the lack of parent references does make it a bit more challenging in this case

Without the parent reference, I have to jump through hoops. There were two ways of approaching it. First, the way I did it here. Second, build a separate tree from the previousPaths metadata and use that tree to handle parent reference lookup to perform the above. I'm happy to refactor towards that design, if we want to be completely free of string replacements. But the effort/complexity is going to be roughly the same as what's here.

I was actually thinking of a slightly different implementation though it would be similar to the second option you mentioned:

populate nodes in the tree based on the previous paths map from the base backup. Use the path to create a node in the proper place by walking the tree and add new nodes with the given ID at the proper place. Mark all these nodes with some flag denoting they're from the previous paths map
do all the fun things with delta updates. For every node explicitly mentioned in the delta update clear the flag set in (1)
walk the tree and generate collectables and (new) previous paths. Every node in the tree with the flag from (1) not set will generate a collectable. All nodes in the tree will generate a previous paths entry

The solution above still relies on string processing to build the initial tree, but all path updates are handled by changes to the structure of the tree. That allows us to avoid string replace operations when building the new previous paths because we'll just be reading all paths off the tree itself
(you could also reverse the polarity of the flag mentioned in the above if that would make more sense. I just picked an arbitrary way to set it)


Main

Buttons for Deadline Assignments

Personal Planner Add Delete and View implemented

Personal Planner , Add Delete View Events implemented


Envoy access logs are not showing up

Describe the bug
I am not getting any access logs even though I am definitely accessing my service.
Expected behavior
Envoy access logs.
Steps to reproduce the bug
New installation of Istio 1.1 with the helm template method on GKE 1.10 (Can we get a version compatibility table). Then do a
kubectl logs -n namespace pod-name-adkd89j37823kjw3 | grep -v deprecated
The grep there is necessary because there is a lot of log spam (#12642).
Version
Kubernetes v1.10.11-gke.1
Istio 1.1.0
Installation
Helm Template
Environment
GKE
Cluster state
I can give specifics upon request, but I don't want to post private company data.

In 1.1, you need to enable Envoy access logs. See: https://istio.io/docs/tasks/telemetry/logs/access-log/ for more details.

Thank you @douglas-reid


🚀 Feature: Add annotations to API consumers to attach contracts

🔖 Feature description

I have not found a way to do this, so raising it as a feature request. when listing consumers of an API it would be good to have a way of being able to link an API contract to that individual consumer.
🎤 Context
The only way I can see us doing this at the moment is by adding the metadata links to the component itself which does not really link to the API consumer section. adding it here would better manage discovery and change
✌ Possible Implementation
spec:
  consumesApis:
  metadata:
     name: Service-Service-API-Contract
     description: Contract for X
       links:
       - 'https://foo'

👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hey :wave:
Thanks for opening the issue! Just want to clarify a few things, what's the contract that you mean here? Do you mean you want to link to the components that consume the APIs or something different?
There's currently the ability to emit relations in processing using the consumesApi relation which will then you can use the ConsumedApisCard from @backstage/core-components' on the EntityPages` to display them in table like you have above.

Hey 👋 Thank you for replying.
Sorry, I should have been clearer when I said contract. what I am referring to is the ability to link to a document showing what fields in the API the client is consuming, request headers/body, sla's, etc.
We find when we have to manage many API consumers who all request different things it's hard to track what they are using so we create contracts between the client & the api.
this request is to allow us to add documentation to that relationship in the consumedApisCard

@samstitt ah ok, and how do you document these fields etc for what the component consumes of an API?
Is autogenerated or manually documented?
It sounds like additional metadata on relations could be an idea to solve this, or it could be something that's added on elsewhere.
You could try extending the model yourself by adding some additional metadata to the spec of a Component and seeing what works best for you and then think about how we can open source this if it's something that the community would feel is valuable.

We manually create this documentation, I guess the metadata could link to any relevant information relating to the API / consumer relationship


Segmentation fault in sws_scale

hi @bartjoyce
when i am trying to render video using
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
        glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
        glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
        glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
        glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);

        GLFWmonitor *monitor = glfwGetPrimaryMonitor();
        const GLFWvidmode *mode = glfwGetVideoMode(monitor);
        glfwWindowHint(GLFW_RED_BITS, mode->redBits);
        glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
        glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
        glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);
        GLFWwindow *window = glfwCreateWindow(mode->height, mode->width, "Video", monitor, NULL);

sws_scale(sws_scaler_ctx, av_frame->data, av_frame->linesize, 0, av_frame->height, dest, dest_linesize);
i got an error in sws_scale function. segmentation fault.
i am following youtube tutorial as you mentioned about scaling video why it's generate error as segmentation fault. if data frame is scale according to given scale then it shouldn't be problem.
regards

Hey man, it's hard to know from what you've given me what exactly is wrong. Are you using my video_reader functions as is or have you copied just the parts of the video reader that you need? If it's the former can you show me how you're calling my code, if it's the latter can you show me all the code you've got? I'm sure I can help if you show me a bit more.

@bartjoyce  hey man,
I am just using your code as learning purpose for video rendering in OpenGL. So, i was trying make some changes and try to if i have big i didn't want to define windows size every time when i run code in different monitor it could be detect dynamically according screen resolution  so i  code for full screen mode as future references.
    glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
    glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);
    glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
    glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

   GLFWmonitor* monitor = glfwGetPrimaryMonitor();
   GLFWvidmode* mode = const_cast<GLFWvidmode *>(glfwGetVideoMode(monitor));
   glfwWindowHint(GLFW_RED_BITS, mode->redBits);
   glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
   glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
   glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);
  GLFWwindow*  window = glfwCreateWindow(mode->width, mode->height, "ProVision4", monitor, NULL);

before
  GLFWwindow* window = glfwCreateWindow(1920,1080, "Hello World",  glfwGetPrimaryMonitor(), NULL);
to make sure can i replace this line with GLFWmonitor or not. but the problem accord in sws scaling. every time it scale generate segmentation fault. so i don't know why it generate error for scaling video for monitor.
if you can help or explain me why it has error problem for that that would be grateful.
also, i emailed you my code with to your email address to see if you can find any error their or not.
Regrades,

Okay so I've managed to get your code working on my machine with a couple changes, but it plays a video in full screen mode as expected. I can't manage to reproduce your segmentation fault bug :(
What's noteworthy is that I had to remove your window hints regarding the context version and OpenGL profile. It ended up looking like this:
    // glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
    // glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
    glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);
    // glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
    // glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

    GLFWmonitor* monitor = glfwGetPrimaryMonitor();
    GLFWvidmode* mode = const_cast<GLFWvidmode *>(glfwGetVideoMode(monitor));
    glfwWindowHint(GLFW_RED_BITS, mode->redBits);
    glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
    glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
    glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);
    window = glfwCreateWindow(mode->width, mode->height, "Demo Video", monitor, NULL);

The fact that I had to remove those hints to get things working suggests to me that it's your particular version of OpenGL or GLFW that does not support the kind of texture you want to make.
What OS and machine are you building this on?

ok. i am using fedora 31 with linux version

5.4.7-200.fc31.x86_64

which has following specification

OpenGL version: 4.5 (Core Profile) Mesa 19.2.8
GLSL version: 4.50
Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)

So, second thing is can please update code in github so i can understand where did you make change in code. i am struggling this issue since 1 week. it will helpful for to understand scale video framing in sws scale.
what is your thoughts or suggestion about this error?


App#Vhosts#Edit Page

Add tests for viewing edit page, save with and without error
Ensure that updating a vhost PUTs to correct url
Create a reprovision op when updating the VHost succeeds

Fixes #112

Looks like the "new" page, more or less:

@mixonic for your review


Replace RequestMapping with the equivalent Spring annotation

Closes #2189
Changes:

Replace @RequestMapping with the equivalent GET/POST Spring annotation

Note that the remaining @RequestMapping are used at class scope and can not be replaced.

 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.David Rodriguez 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.

Great. Thanks. We should tackle them separately if needed. Could also take a look at checkstyle rules to allow for that exception.


move to v2.60.1 LTS

@gabemontero ptal
@smunilla we're going to need a new rhel jenkins package based on the new 2.60 LTS.  ideally i'd like to do it in v3.6.0, but it doesn't absolutely have to be.
[test]

hm, looks like this is going to drag a lot of changes.  not gonna do it for 3.6, but i'll try to get the PR in shape anyway so we know what it looks like.

seems like we need to bump some of our own plugins' deps:
Downloading plugin: openshift-pipeline from https://updates.jenkins-ci.org/downl
oad/plugins/openshift-pipeline/1.0.46/openshift-pipeline.hpi
 > openshift-pipeline depends on workflow-cps:1.11,openshift-sync:0.0.11,workflo
w-step-api:1.11
Downloading dependency plugin workflow-cps version 1.11 that has yet to be insta
lled

the old deps we are dragging seems to ultimately lead to a conflict.

I looked at the test log and the older 1.11 version if workflow-cps is later upgraded:
Upgrading previously downloaded plugin workflow-cps at 1.11 to 2.17

The versions are bumped a few more times, and it lands at 2.29:
Upgrading previously downloaded plugin workflow-cps at 2.24 to 2.29

...
workflow-cps:2.29

I think the root cause is the cloudbees folder and the credentials plugin:
SEVERE: Failed Loading plugin Folders Plugin v6.0.2 (cloudbees-folder)
java.io.IOException: Folders Plugin v6.0.2 failed to load.
 - Credentials Plugin v1.23 is older than required. To fix, install v2.1.11 or later.
	at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
	at hudson.PluginManager$2$1$1.run(PluginManager.java:516)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:1088)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)

I believe this stems from this test config file:  https://github.com/openshift/jenkins/blob/master/2/test/s2i/plugins.txt#L1
And you see this entry in the console correlating to the 3 plugins listed in that file:
I0623 19:47:15.276983   26107 sti.go:677] ---> Installing Jenkins 3 plugins using /opt/openshift/plugins.txt ...
I0623 19:47:15.281904   26107 sti.go:677] Creating initial locks...
I0623 19:47:15.285034   26107 sti.go:677] Locking credentials:1.23
I0623 19:47:15.287771   26107 sti.go:677] Locking analysis-core:1.71
I0623 19:47:15.289250   26107 sti.go:677] Locking ansicolor:0.4.1

Bump the credentials plugin version there (also think v1 might have one) and try to test your PR again.

ah hah, thank you @gabemontero.  I was poking around the image trying to figure out where the heck v1.23 was coming from since it's not in the jenkins image itself (but 1.18 is because it's part of the jenkins core).  Let me give that a shot.

hmm ... the s2i test is still grabbing 1.23 somehow:
I0626 00:06:32.799933   26345 sti.go:677] ---> Copying repository files ...
I0626 00:06:32.808422   26345 sti.go:677] ---> Installing Jenkins 3 plugins using /opt/openshift/plugins.txt ...
I0626 00:06:32.819544   26345 sti.go:677] Creating initial locks...
I0626 00:06:32.822642   26345 sti.go:677] Locking credentials:1.23
I0626 00:06:32.825643   26345 sti.go:677] Locking analysis-core:1.71
I0626 00:06:32.827343   26345 sti.go:677] Locking ansicolor:0.4.1

I'll poke around some more before scrum and see what I find.

Look at the context dir on the s2i build for the jenkins-2 image:
I0626 00:06:31.683189   26345 util.go:225] Checking if image "openshift/jenkins-2-centos7-candidate" is available locally ...
I0626 00:06:31.686331   26345 main.go:159]
Builder Image:			openshift/jenkins-2-centos7-candidate
Builder Image Version:		342ff22
Source:				file:///tmp/image_test.S2SG5xF/jenkins/2/..
Context Directory:		1/test/s2i
Output Image Tag:		openshift/s2i-test-jenkins

Maybe it is grabbing the plugins.txt for the v1 jenkins image ....

fun.  i'll see if i can fix the test.

[test]

@gabemontero well, progress, but we're still picking up 2.1.11 when 2.1.13 is required:
SEVERE: Failed Loading plugin REST Implementation for Blue Ocean v1.0.1 (blueocean-rest-impl)
java.io.IOException: REST Implementation for Blue Ocean v1.0.1 failed to load.
 - Credentials Plugin v2.1.11 is older than required. To fix, install v2.1.13 or later.

oh that's my fault.

[test]

[test]

[merge]


unable to plot using ggplot2, object 'count' not found

Hello,
I have successfully loaded the 4Cker object as:
my_obj = createR4CkerObjectFromFiles(files = "hs75l6_13_DN-4C_9p21_DD1_CTCF_view_GACCAG_L006_R1_001_aligned.bedGraph",bait_chr="chr9",bait_coord= 22231303,bait_name = "CTCF-9p21locus", primary_enz = "AAGCTT", samples = c("CTCF_DD1"), conditions = "DD1", replicates = 1,species = "hg",output_dir = "/home/dnotani/ssanaa/software/R.4Cker-master/folder_for_analysis",enz_file=enz_file)
however, upon plotting the object i am getting the following error:
Don't know how to automatically pick scale for object of type Coord/ggproto. Defaulting to continuous.
Error in eval(expr, envir, enclos) : object 'Count' not found
the command for plotting used is the default command given in readme:
ggplot(nb_results$norm_counts_avg, aes(x=Coord, y=Count, colour=Condition))+
theme_bw()+
geom_line()+xlab(paste("Chromosome coordinates (", my_obj@bait_chr, ")", sep =""))+
ylab("Normalized counts")+
ggtitle(paste("Near bait analysis (", my_obj@bait_name, " bait)", sep = ""))
Please help!
Thank you.

Hi,
Did you do a nearBait analysis?  - nb_results=nearBaitAnalysis(my_obj,k=5)

yes! i'm sorry. i did, nb_results=nearBaitAnalysis(my_obj,k=10). I get
that error.

Hi,
Did you do a nearBait analysis?  - nb_results=nearBaitAnalysis(my_obj,k=5)
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/rr1859/R.4Cker/issues/44#issuecomment-334553114

maybe it doesnt work with no replicates? is that the case??

Yes sorry the plotting doesnt work with one replicate - i would recommend visualizing the bedGraph file on a browser.

Hi, In that case, what if i give the same file copy as a replicate? the results wouldn't be different from there being just one replicate would it? or will i give incorrect results?


The right versions of all dependencies

I wanted to try to use this project for a university thesis but I can't get it started. I can't find the right combinations of all the python versions. I have tried various setup.sh combos but can't get out of it. Can you tell me exactly the versions of each component needed to get it started?

Hi @DavideDeodati,
Thanks for checking out this project.
Versions:
Python: 3.6.9
pip: 21.3.1
TensorFlow: 1.15
PyTorch: 1.5.0
PyAudio: 0.2.13
To solve the issue regarding dependencies, I've created a Dockerfile.
Please follow the method 1, which I've upadated in the readme to run the application.
Thanks,
Chinmay

Hi @DavideDeodati,
Thanks for checking out this project.
Versions:
Python: 3.6.9
pip: 21.3.1
TensorFlow: 1.15
PyTorch: 1.5.0
PyAudio: 0.2.13
To solve the issue regarding dependencies, I've created a Dockerfile.
Please follow the method 1, which I've upadated in the readme to run the application.
Thanks,
Chinmay

Hi @DavideDeodati,
The versions for all the libraries can be found in requirements.txt
Thanks,
Chinmay

Reopen if you still face any issues.


Porting to version 3?

Hello Brian,
Are you going to upgrade or port this to a version 3 polyglot?
I just installed the pool controller Nixie and my Pentair VSF pump functions serially which is fantastic.
I can port it over as new if you do not want to.
Not a lucrative business plugins formally node servers.
Let me know because i would like to use this and or modify it if need be for stand alone Nixie control. Waiting on the TPI hats for switching.
Steve Bailey

Hi Steve, unfortunately I'm not maintaining this anymore. Sorry.

Hello Brian, Thank you for the reply.I will port it to version 3 with your permission and post it on UDI store.If this is okay i will do a test repository separately from this.If you want it back anytime it's yours.Regards,SteveOn Feb 12, 2024, at 8:34 AM, Brian Treese @.***> wrote:
Hi Steve, unfortunately I'm not maintaining this anymore. Sorry.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Release iOS Plugins Library

Let's track the work to release this library in this ticket.
Capturing @1ec5's comments from #4.:

[x] CocoaPods
[ ] Figure out a better way to handle loading and unloading plugins – should it be possible to unload them?
[x] Document workflow
[x] Traffic plugin (#1)

And the library has been released. Enjoy ❤


special case relationships/recovered types

This relationship type comes from potentially legacy recovered files

fixes issue #1205


idea: alternative user interface

there was some discussion (at KVR) about Synth1 that it has somewhat confusing user interface.
One guy even designed alternative interface for it. It may be a good idea to copy some of his ideas (namely aligning controls to the grid).

Yes, the synth1 UI is confusing for me too. Currently, UI is the last item in my TODO list but such good ideas are welcome. Thanks.


Remove checking for numeric hashed ids

Upon specific hash ids it's possible to get IDs like 4e12345 ... which is true for is_numeric('4e12345') and breaks the app

I am running this change in production since 13 October 2019 without any problems :)

@DomasWEB Your PR has been merged and will be available in next stable version,
Thank you for your contribution.


Search bar for forc-doc

Description
A simple search bar for forc-doc. It uses a case-insensitive search across name and short description, across the library and all of its dependencies.

Checklist

[ ] I have linked to any relevant issues.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[ ] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[ ] I have requested a review from the relevant team or maintainers.

Nice this is a great start! Great to finally see a search bar in forc-doc!
Pulled down and tested locally. Just wondering if we can mimic docs.rs behaviour in 2 other places.
docs.rs highlights the final type according to it's semantic representation. Is this possible with the current set up of forc-doc or do we need to share some logic from LSP to enable this?

Finally, can we have the search results update on each keystroke rather than on-enter?


Static Path error after upgrade

After upgarding to the latest integration I get the following error in the logs:
Logger: homeassistant.setup
Source: setup.py:251
First occurred: 09:19:07 (1 occurrences)
Last logged: 09:19:07
Setup failed for custom integration 'pod_point': Unable to import component: cannot import name 'StaticPathConfig' from 'homeassistant.components.http' (/usr/src/homeassistant/homeassistant/components/http/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 827, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 994, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/pod_point/init.py", line 14, in
from homeassistant.components.http import StaticPathConfig
ImportError: cannot import name 'StaticPathConfig' from 'homeassistant.components.http' (/usr/src/homeassistant/homeassistant/components/http/init.py)

Hi @garybrowngeo this is likely due to your Home Assistant version, what are you running?
I need to pin the latest version to a specific HA release I think

My versions are as follows:
Core
2024.2.5
Frontend
20240207.1
What do I need to do to fix?

I just pushed a new version of the integration that correctly 'pins' the required Home Assistant version, you currently have two options, roll back to 2.0.3 (and keep your existing Home Assistant version) or update to Home Assistant 2024.7 or greater to allow the new version to work correctly.
Note that all new versions of the integration will now require at least Home Assistant 2024.7


How to simplify tables?

For example, I just use password and refresh_token grant_types, and did not use any scopes or grants.
Then, maybe oauth_clients, oauth_access_tokens, oauth_refresh_tokens, oauth_sessions tables would be used.
However, it still associate with oauth_session_scopes table and more.
How to simplify it?

@yaoshanliang In some project, my use case of Oauth2 is similar to yours. You don't really need all this table. You can simply just delete migration about table you don't want. Personaly, even if i don't use them, i keep them in case.

Thanks for using this package!
For this kind of support questions, we'd like you to use the following resources:

Documentation
OAuth 2.0 Documentation
Laracasts
Laravel Slack
Stack Overflow

This will allow us to keep the issues for bug reporting only and make our work easier.


PSTGRSCROC-135

@rultor merge

@rultor merge

Codecov Report

Merging #412 into master will increase coverage by 2.34%.
The diff coverage is 90%.

@@             Coverage Diff              @@
##             master     #412      +/-   ##
============================================
+ Coverage     77.37%   79.71%   +2.34%
  Complexity      208      208
============================================
  Files            39       38       -1
  Lines           579      562      -17
  Branches         55       54       -1
============================================
  Hits            448      448
+ Misses           89       72      -17
  Partials         42       42

Impacted Files
Coverage Δ
Complexity Δ

...t/model/resource/wrappers/DbResourceBodyWrapper.kt
100% <100%> (ø)
6 <5> (ø)
:arrow_down:

...amin/sqlboot/model/resource/impl/DbResourceImpl.kt
83.33% <80%> (ø)
5 <4> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

@rultor merge

@mgramin The pull request is closed already, so I can't merge it

@rultor merge

@mgramin I'm sorry, I don't understand you :( Check this page and try again please

@rultor merge

@mgramin The pull request is closed already, so I can't merge it

@rultor merge

@mgramin I'm sorry, I don't understand you :( Check this page and try again please


Remove unnecessary  STL calls to vector.h

Mesh, Model and Scene classes use vector.h as a container in cases where it might not be necessary at all. Evaluate if this is the case and come up with alternative.

Closing, project is not actively maintained anymore.


Address is already backed

I use the dump_symbols.py to dump symbols of an axf file, which is ELF. It failed:
Traceback (most recent call last):
  File "dump_symbols.py", line 10, in <module>
    p = angr.Project(fname)
  File "/home/wangfeng/.local/lib/python3.8/site-packages/angr/project.py", line 224, in __init__
    self.simos.configure_project()
  File "/home/wangfeng/.local/lib/python3.8/site-packages/angr/simos/linux.py", line 45, in configure_project
    self._loader_addr = self.project.loader.extern_object.allocate()
  File "/home/wangfeng/.local/lib/python3.8/site-packages/cle/loader.py", line 223, in extern_object
    self._internal_load(self._extern_object)
  File "/home/wangfeng/.local/lib/python3.8/site-packages/cle/loader.py", line 774, in _internal_load
    self._map_object(obj)
  File "/home/wangfeng/.local/lib/python3.8/site-packages/cle/loader.py", line 876, in _map_object
    self.memory.add_backer(base_addr, obj.memory)
  File "/home/wangfeng/.local/lib/python3.8/site-packages/cle/memory.py", line 194, in add_backer
    raise ValueError("Address %#x is already backed!" % start)
ValueError: Address 0x8100000 is already backed!

How to solve this ?

This looks like an angr or cle bug, as this occurs during the initial loading of the binary.
I'll follow up on your other issue on angr/angr.

Angr team solved it! When I run the same script again, it generates the YAML file but gives some ERRORs:
WARNING | 2020-10-21 17:45:43,421 | cle.backends.elf.elf | ELF file /home/wangfeng/hal-fuzz/jiuyuan/test.elf is loading a segment with an inappropriate alignment. It might not work in all contexts.
WARNING | 2020-10-21 17:45:43,463 | angr.analyses.cfg.cfg_fast | "auto_load_libs" is enabled. With libraries loaded in project, CFGFast will cover libraries, which may take significantly more time than expected. You may reload the binary with "auto_load_libs" disabled, or specify "regions" to limit the scope of CFG recovery.
Deprecation warning: Use self.model.get_any_node() instead of get_any_node
ERROR   | 2020-10-21 17:45:44,121 | angr.analyses.cfg.cfg_fast | Decoding error occurred at address 0x80004c2 of function 0x80004c2.
ERROR   | 2020-10-21 17:45:44,122 | angr.analyses.cfg.cfg_fast | Decoding error occurred at address 0x80013ee of function 0x80013ee.
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | The program is accessing memory or registers with an unspecified value. This could indicate unwanted behavior.
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | angr will cope with this by generating an unconstrained symbolic variable and continuing. You can resolve this by:
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | 1) setting a value to the initial state
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | 2) adding the state option ZERO_FILL_UNCONSTRAINED_{MEMORY,REGISTERS}, to make unknown regions hold null
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | 3) adding the state option SYMBOL_FILL_UNCONSTRAINED_{MEMORY,REGISTERS}, to suppress these messages.
WARNING | 2020-10-21 17:45:44,150 | angr.storage.memory_mixins.default_filler_mixin | Filling register r1 with 4 unconstraarchitecture: ARMEL
base_address: 134217728
entry_point: 134218033
symbols:
  134218033: _main_stk
  134218037: _main_scatterload
  134218041: _main_init
  134218053: Reset_Handler
  134218079: WWDG_IRQHandler
  134218089: _ll_ushift_r
  134218121: __aeabi_memset8
  134218135: __aeabi_memclr8
  134218139: _memset$wrapper
  134218157: __aeabi_i2d
  134218191: __aeabi_d2uiz
  134218241: __aeabi_cdrcmple
  134218289: _double_round
  134218319: _double_epilogue
  134218477: __scatterload_rt2
  134218513: _ll_shift_l
  134218543: __decompress1
  134218629: APP_Init
  134218679: BusFault_Handler
  134218681: DMA1_Channel2_IRQHandler
  134218693: DMA1_Channel3_IRQHandler
  134218705: DMA1_Channel4_IRQHandler
  134218717: DMA1_Channel5_IRQHandler
  134218729: DMA1_Channel6_IRQHandler
  134218741: DMA1_Channel7_IRQHandler
  134218753: DMA_SetConfig
  134218795: DebugMon_Handler
  134218797: Error_Handler
  134218801: Get_2s_Frame
  134218877: HAL_DMA_Abort
  134218949: HAL_DMA_Abort_IT
  134219253: HAL_DMA_IRQHandler
"out.yaml" 151L, 4707C                                                                                1,1           Top
ined bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,151 | angr.storage.memory_mixins.default_filler_mixin | Filling register r0 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,153 | angr.storage.memory_mixins.default_filler_mixin | Filling register r2 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,155 | angr.storage.memory_mixins.default_filler_mixin | Filling register r3 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,155 | angr.storage.memory_mixins.default_filler_mixin | Filling register r4 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,158 | angr.storage.memory_mixins.default_filler_mixin | Filling register r6 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,169 | angr.storage.memory_mixins.default_filler_mixin | Filling register r5 with 4 unconstrained bytes referenced from 0x800081d ($d+0x1 in test.elf (0x800081d))
WARNING | 2020-10-21 17:45:44,184 | angr.storage.memory_mixins.default_filler_mixin | Filling register lr with 4 unconstrained bytes referenced from 0x800083d (HAL_DMA_Init+0x0 in test.elf (0x800083d))
WARNING | 2020-10-21 17:45:44,197 | angr.storage.memory_mixins.default_filler_mixin | Filling register r0 with 4 unconstrained bytes referenced from 0x8001387 ($d+0x1 in test.elf (0x8001387))
WARNING | 2020-10-21 17:45:44,203 | angr.storage.memory_mixins.default_filler_mixin | Filling register r4 with 4 unconstrained bytes referenced from 0x800138d (HAL_UART_Init+0x0 in test.elf (0x800138d))
WARNING | 2020-10-21 17:45:44,203 | angr.storage.memory_mixins.default_filler_mixin | Filling register r5 with 4 unconstrained bytes referenced from 0x800138d (HAL_UART_Init+0x0 in test.elf (0x800138d))
WARNING | 2020-10-21 17:45:44,204 | angr.storage.memory_mixins.default_filler_mixin | Filling register r6 with 4 unconstrained bytes referenced from 0x800138d (HAL_UART_Init+0x0 in test.elf (0x800138d))
WARNING | 2020-10-21 17:45:44,204 | angr.storage.memory_mixins.default_filler_mixin | Filling register lr with 4 unconstrained bytes referenced from 0x800138d (HAL_UART_Init+0x0 in test.elf (0x800138d))
ERROR   | 2020-10-21 17:45:45,363 | angr.analyses.propagator.engine_vex.SimEnginePropagatorVEX | Unsupported Unop Iop_Clz32.
ERROR   | 2020-10-21 17:45:45,364 | angr.analyses.propagator.engine_vex.SimEnginePropagatorVEX | Unsupported Unop Iop_Clz32.
ERROR   | 2020-10-21 17:45:45,373 | angr.analyses.xrefs.SimEngineXRefsVEX | Unsupported Unop Iop_Clz32.
ERROR   | 2020-10-21 17:45:45,374 | angr.analyses.xrefs.SimEngineXRefsVEX | Unsupported Unop Iop_Clz32.
WARNING | 2020-10-21 17:45:45,579 | angr.analyses.propagator.engine_vex.SimEnginePropagatorVEX | integer division or modulo by zero

Does the last four ERRORs affect the final fuzzing result ?


Runtime template is incorrectly configured

The runtime templates are using printSchema to convert the schema object to typeDefs:
const apolloConfig = {
  typeDefs: printSchema(schema),
  resolvers,
  playground: true,
  resolverValidationOptions: {
    requireResolversForResolveType: false
  }
}

printSchema removes directives from the schema. We should use the schema key instead:
const apolloConfig = {
  schema: schema
  ...
}

Update: quickly swapping typeDefs for schema does not work - it looks like the resolvers are not created properly at all. Requires further thought.
Related to and possibly duplicated by https://github.com/aerogear/graphback/issues/1157

Update: quickly swapping typeDefs for schema does not work
Do you mean using typedefs instead of schema?
We kinda using schema to get mapping information

Update: quickly swapping typeDefs for schema does not work
Do you mean using typedefs instead of schema?
We kinda using schema to get mapping information so this could require some thoughts and it is not good first issue :)

When I created the issue I thought this could be a quick fix by replacing typeDefs with schema but that does not work.

Yes. Checked that now we need to address that by redefining how runtime works.

I think we have incorporated that. Reassigned that to yourself and closing but feel free to reopen if needed.


Include INSERT INTO in Qbeast save contract

What went wrong?
Right now on the master, we cannot add new elements to a qbeast table through the INSERT INTO sql command
How to reproduce?

Code that triggered the bug, or steps to reproduce:

On a previously indexed dataframe named df:
df.createOrReplaceTempView("t")
spark.sql("insert into table t (value) values (4)")

And the output is:
org.apache.spark.sql.AnalysisException: QbeastBaseRelation(parquet) does not allow insertion.;
'InsertIntoStatement Relation[value#1297] QbeastBaseRelation(parquet), false, false
+- LocalRelation [col1#1543]

  at org.apache.spark.sql.execution.datasources.PreWriteCheck$.failAnalysis(rules.scala:512)

Branch and commit id:

master ef6b9f45ac54ab156e5b3474e3014b639b2ac827

Spark version:
3.x

Hadoop version:

2.4.7

Are you running Spark inside a container? Are you launching the app on a remote K8s cluster? Or are you just running the tests in a local computer?
Local

Stack trace:

Solved by #116


Fix errors in standalone compilation

This fixes remaining problems with the standalone compilation.

Hi @anigamova ! Can this also be part of the v1.0 release? It's a harmless change, but important for compatibility.

thanks @guitargeek! yes I think we can merge this


refactor(agent): Refactor plugins config

copilot:all

Current dependencies on/for this PR:

main

PR #4516   👈

This comment was auto-generated by Graphite.


Change more to use id rather than count.

This needs to be merged before #759
I haven't managed to 100% test it because I restarted the server just now and don't have any "more" to do. I'll test it once it has backed up a bit.

Just curious, what happens in channels that have a ton of join/parts but very few messages, like #freenode? Does it load potentially thousands of messages to try and grab 100 actual messages sent by people?
I get that your condensing PR would be solving that anyway, I'm just going over what happens/would happen in the interim.

Just curious, what happens in channels that have a ton of join/parts but very few messages, like #freenode? Does it load potentially thousands of messages to try and grab 100 actual messages sent by people?

This PR doesn't change this at all. It still gets 100 messages.
All it does is send the last message id, rather than the number of messages we currently have in chat window.

Thanks, @xPaw, can confirm after I left it on all day that it works. Good stuff.

Thanks for the clarification, @YaManicKill!