Fixed mobile pagination

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #8539
[ ] Requires deployment <snek/rubick/worker>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[x] I've tested it at </ksm/collection>
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Copilot Summary

🤖[deprecated] Generated by Copilot at 3c7fbc6
Fixed a pagination bug in the profile activity history tab and added a debugging statement. The bug affected the History.vue component and was caused by using the wrong prop binding.

🤖[deprecated] Generated by Copilot at 3c7fbc6

currentPage prop
changed from v-model to :value
pagination fixed

Thanks!


Increase the test resource-group-controller memory request to 200Mi

The resource-group-controller's default memory request is increased from 50Mi to 200Mi to address the crashlooping issue on the autopilot cluster.

This PR includes changes from https://github.com/GoogleContainerTools/kpt-config-sync/pull/63. This PR needs rebase after https://github.com/GoogleContainerTools/kpt-config-sync/pull/63 is merged.
/hold

/unhold

/hold


OAuth2  could not create provider data

Checks

[X] I have searched the existing issues.
[X] This issue is NOT security related. (Please disclose responsibly)
[X] This issue is NOT specific to the CLI. (Please open a CLI issue)

deployKF Version
0.1.5
Kubernetes Distribution
v1.26.6+k3s1
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"clean", BuildDate:"2023-05-17T14:20:07Z", Go
Version:"go1.20.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.6+k3s1", GitCommit:"3b1919b0d55811707bd1168f0abf11cccc656c26", GitTreeState:"clean", BuildDate:"2023-06-26T17:51:14Z
", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}

Description
I disable istio dependency and use my pre-installed verision of istio (v1.19). I check the default values of deployKF's istio version and I acknowledged that DNS proxy should be turned on. But oauth still seem to not able to connect to dex via istio ingress. My deployKF values relevant to istio is attached below.
I add  DNS proxy by adding this annotations to oauth2 pod:
    proxy.istio.io/config: |  # YAML multi-line string definition
       proxyMetadata:
         ISTIO_META_DNS_CAPTURE: "true"
         ISTIO_META_DNS_AUTO_ALLOCATE: "true"

Relevant Logs
[2024/07/23 10:58:39] [provider.go:55] Performing OIDC Discovery...
[2024/07/23 10:58:39] [main.go:58] ERROR: Failed to initialise OAuth2 Proxy: error initialising provider: could not create provider data: error building OIDC ProviderVerifier: could not get verifier builder: error while discovery OIDC configuration: failed to discover OIDC configuration: error performing request: Get "https://deploykf.example.com:8443/dex/.well-known/openid-configuration": EOF

deployKF Values (Optional)
deploykf_istio_gateway:
    namespace: istio-system
    charts:
      istioGateway:
        enabled: false
    gateway:
      selectorLabels:
        app: istio-gateway
    gatewayDeployment:
      serviceAccount:
        name: istio-gateway
    gatewayService:
      name: istio-gateway
      type: NodePort

@haiminh2001 did you set all the configs listed on the use existing istio guide?
If you are installing Istio with it's helm chart, here are the required values:
meshConfig:
  defaultConfig:
    holdApplicationUntilProxyStarts: true
    proxyMetadata:
      ISTIO_META_DNS_AUTO_ALLOCATE: "true"
      ISTIO_META_DNS_CAPTURE: "true"

sidecarInjectorWebhook:
  enableNamespacesByDefault: false

These need to be set at the cluster level, not just on oauth2-proxy pods.

Also, if you are bringing your own Istio gateway deployment, make sure you are not using the ports that deployKF is listening on for any other services.

@haiminh2001 did you set all the configs listed on the use existing istio guide?
If you are installing Istio with it's helm chart, here are the required values:
meshConfig:
  defaultConfig:
    holdApplicationUntilProxyStarts: true
    proxyMetadata:
      ISTIO_META_DNS_AUTO_ALLOCATE: "true"
      ISTIO_META_DNS_CAPTURE: "true"

sidecarInjectorWebhook:
  enableNamespacesByDefault: false

These need to be set at the cluster level, not just on oauth2-proxy pods.
Also, if you are bringing your own Istio gateway deployment, make sure you are not using the ports that deployKF is listening on for any other services.

Hi, I do not think it was the istio's DNS config. If so then then message should be not able to find host.  When I debug using curl, I get this error:
~ $ curl -v https://deploykf.example.com/dex/.well-known/openid-configuration
* Host deploykf.example.com:443 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:443...
* Connected to deploykf.example.com (<IP_ADDRESS>) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /cacert.pem
*  CApath: /etc/ssl/certs
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to deploykf.example.com:443
* Closing connection
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to deploykf.example.com:443

@haiminh2001 I wonder if you are setting includeIPRanges on your existing Istio install, I had another user run into a similar problem. Because if includeIPRanges is set, you will run into this upstream bug in Istio:

https://github.com/istio/istio/issues/52301

Workaround:
As long as you expose your deployKF Istio gateway such that all Pods in the cluster can resole its deploykf.example.com domain (or whatever your internal domain is), you shold be able to disable ISTIO_META_DNS_CAPTURE and ISTIO_META_DNS_AUTO_ALLOCATE.


force install without bumping version

Can I force flit to reinstall a package without bumping it's version number? I just wanted to do this for development purposes.
Edit: After submitting this I realized I could do this by appending "-dev" to the version, making it non-canonical.

It's using pip to do the installation internally, so you can probably do the equivalent of pip's --ignore-installed flag by setting an environment variable called PIP_IGNORE_INSTALLED.

Thanks for the quick reply. That's helpful to know. I find the "-dev" version easier to use so I think I'll stick with that since I would prefer it to not be global.


Fix: Close on ESC in Select prevents closing Dialog

closes #700
Tweaked useEscapeKeydown to check for the node closest to the target that has both data-escapee and is open (data-state='open').  This allows Dialog to close when the Select inside it is already closed (without the user needing to click away/removing focus from Select's trigger) and other similar cases with nested escape-able elements

do the other elements that rely on this behavior already have the data-state as well?

Yes!  Context Menu, Link Preview, Menu, Menu Bar, Popover (all use popper) already have data-state on trigger and content/menu.
Adding Dialog to the list as well, Tooltip while not using popper seems to use portal but is handling esc on it's own without useEscapeKeydown

We have to be careful when modifying the logic within the actions as they are used throughout various other floating components via the popper action.

makes sense, how can I make sure this doesn't break anything else? (other than checking if tests for all these elements are testing for escape on close)

If you're up for it, I'd say it would be a good opportunity to add some additional test cases for "within dialog" to ensure we're getting the right behavior. If not I can try to add them to this PR when I have the chance.
Basically for all the floating elements, we want to ensure that pressing escape, outside clicks, etc. all work as they should inside a dialog where it only closes the top layer! This will prevent us from accidentally regressing in the future.

If you're up for it, I'd say it would be a good opportunity to add some additional test cases for "within dialog" to ensure we're getting the right behavior. If not I can try to add them to this PR when I have the chance.
Basically for all the floating elements, we want to ensure that pressing escape, outside clicks, etc. all work as they should inside a dialog where it only closes the top layer! This will prevent us from accidentally regressing in the future.

We have the nested tests currently. It can be added there I presume

closes #700
Tweaked useEscapeKeydown to check for the node closest to the target that has both data-escapee and is open (data-state='open'). This allows Dialog to close when the Select inside it is already closed (without the user needing to click away/removing focus from Select's trigger) and other similar cases with nested escape-able elements

Also @diaasaur instead of checking for data-state="open", we can probably check for element visibility 🤔


[BugFix]Fix unrecognize database name with uppercase in udf FunctionName

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:
Fixes #
Problem Summary(Required):
we can create database with uppercase, while convert FunctionName to lowercase when create/drop udf,  this leads to Unknown database.  eg:
1 create database 'Test_db'
2 create/drop function in 'Test_db'
3 operation failed with "com.starrocks.common.DdlException: Unknown database 'test_db'"

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

Please add UT cover this bug, thanks.

Please add UT cover this bug, thanks.

added

[FE PR Coverage Check]
:heart_eyes: pass : 5 / 6 (83.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/FunctionName.java
0
1
00.00%
[57]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%
[]

https://github.com/Mergifyio backport branch-3.0 branch-3.1


Update sample-tutorial-connect-to-the-samples.md

I believe the images are outdated: On my Power BI, it is Semantic model instead of Dataset, and it doesn't have the "All, Content, Datasets + dataflows" row.

@maggiesMSFT
Can you review the proposed questions and make revisions as necessary?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks for your feedback @huiwenkong. I've opened this as a feedback item for us and will close this pull request now.
Thanks again for reaching out.
#please-close
@maggiesMSFT


Expose Rack::LiveReload's ignore option.

Currently there is no way to select which files get the livereload script tag injected in them.  This causes problems when you are transmitting html fragments (such as for html imports) and rack tries to insert it's script tag and ends up turning it into a document.  If Rack::LiveReload's ignore option was exposed it would be easy to prevent these files from being modified.

Is this sufficient?
https://github.com/Arcovion/middleman-livereload/commit/9c72eb8297127a5a58c1bb143fb655a6238e26df
Try with:
gem 'middleman-livereload', github: 'arcovion/middleman-livereload', branch: 'ignore-option'
I've only done this change through github, no actual testing...

I believe you also have to pass it to livereload here.

You are so fast I barely had time to implement my quick, ugly workaround but I'll post it here in case it is useful.
	activate :livereload
	ready do
		self.class.instance_variable_get(:@middleware)[-1][1][0][:ignore] = [
			%r(^/assets/),
			# Other ignore paths.
		]
	end

Ensure that you add the block right after activating livereload.

Thanks!  Works perfectly.


infinite loop in BuildMonitor.wait! because build.lock never gets cleaned up

I'm trying to serve an ember app from rails. The build stage succeeds, but the wait for build never completes because it waits for <Rails.root>/<ember-app>/tmp/build.lock to be cleaned up, which never happens (infinite loop in BuildMonitor.wait!). As far as I can tell, the ember build never touches this files and does not removes it. I placed a root owned build.lock in <ember-app>/tmp and ember build completed successfully as non-root, never issuing a permission error (by contrast ember-cli-rails fails if the root owned file exists with access error in Shell.lock_buildfile).
I searched through Broccoli and ember-cli repos (builder task, builder model) but I did not find any reference to ember-cli build having to cleanup a <ember-app>/tmp/build.lock
I did not find any recent change, and I have similar setup working fine. I'm a bit at a loss on how this is supposed to work, basically who is responsible for removing this file and why doesn't it get removed. As far as I can tell Brocolli builder cleans up <ember-app>/tmp, but only of the files it created itself.
ember -v
version: 1.13.13
node: 4.2.4
npm: 2.14.10
os: linux x64

The addon is responsible for cleaning up the lockfile when the outputReady event fires.
If the file is never removed, the build is likely not successful. When you experience the infinite loop, does <ember-app>/tmp/error.txt exist?

The build succeeds. If I remove the file manually, the loop stops, the call succeeds and the ember app is rendered.
I added the ember-cli-rails-addon in the <ember-app>/package.json and everything works fine now. I think the problem originated because I create the ember app from ember-cli directly. I see now there is a rake ember:install task that I skipped.
Thanks!

Still had this problem today... ><
Would there be a way to detect if ember-cli-rails-addon is installed or not and issue a warning if so?


Sphinxify in July

Sphinx doc gen work for previous round of added py port files.

Closing See #73


Highlighted substrings background

Problem / Steps to reproduce
Is it possible to have an option for highlighting the background of the searched substrings?
Context:
I am using fzf.vim (in neovim) and have this function to search word in file:

function! s:Line_handler(l)
    let keys = split(a:l, ':')
    exec keys[0]
    call feedkeys('zz')
endfunction

function! SearchWord()
    let s:fzf_ft=&ft
    augroup FzfSearchWord
        autocmd!
        autocmd FileType fzf if strlen(s:fzf_ft) && s:fzf_ft!= "man" | silent! let &ft=s:fzf_ft | endif
    augroup END
        silent call fzf#run(fzf#wrap({
                    \   'source':  map(getline(1, '$'), '(v:key + 1) . ": " . v:val '),
                    \   'sink':    function('s:Line_handler'),
                    \   'options': '+s -e --ansi',
                    \}))
    let s:fzf_ft=''
endfunction

The maor improvement over the default :Lines command is that it sets the filetype of the searching buffer to that of the original file. But if the searched word is highlighted by nvim, then the default fzf option --color hl:1,hl+1 can't highlight the searched text. Maybe adding the ability to highlight the background could solve the problem?

Since 0.24.0, you can set reverse attribute.
# Apply reverse attribute
rg --line-number --no-heading --color=always "" |
  fzf --ansi --color hl:reverse,hl+:reverse

# -1 means keeping the original foreground color
rg --line-number --no-heading --color=always "" |
  fzf --ansi --color hl:reverse:-1,hl+:reverse:-1

There are also italic, underline, etc. See man fzf for details.

Awesome, I have this fancy line search now:


Issue installing starlark

I'm trying to upgrade the version of delve to 1.60*with Go 1.16) ```
but I see an error related to starlark:
abc-MacBook-Pro:delve username$ go install github.com/go-delve/delve/cmd/dlv@latest
go install github.com/go-delve/delve/cmd/dlv@latest: github.com/go-delve/delve@none updating to
<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>unrecognized import path "go.starlark.net": parse https://go.starlark.net/?go-get=1: no go-import meta tags ()

GOBIN = /Users/abc/go/bin
GOPATH = /Users/abc/go
GOROOT = /usr/local/go
which go = /usr/local/go/bin/go

Any idea how to fix this issue with meta-tags?

I just ran this command on a mac and it succeeded. Perhaps the GitHub server behind go.starlark.net was momentarily unavailable? Could you try again and report back. Until then I'm going to assume this is transient and close it for now.


Loop invariant detection.

This PR adds loop_invariant.egg which detects the invariant parts inside a Theta node.
An Operand into a Theta node is invariant if it goes through the Theta, where the i-th output is (Arg i).
The program creates a top-level demand on a Theta node and propagates the demand down to every subpart of the node until it meets the base case (constants or (Arg i)) and records it. Then the program propagates up along with the previously made demands (on Body/Expr/Operand) while recording if that Body/Expr/Operand is constituted sorely by invariant parts.

I need to modify is_inv_body/expr/oprd from relation to function to 0/1 since in code motion I will also need to find if expr/body/.. are not invariant.

@oflatt I think I accidentally removed the test in merging....


Allow joining cgroups of another container

The spec allows specifying namespace fds via paths and that feature allows one container to share the namespaces of another container. Another feature to make that more useful is allowing a container to join the cgroups of another container using its pid. This will make it possible for higher level tooling to add nsinit/nsenter like functionality.
@crosbymichael @philips WDYT?

Why not use the cgroup name?

@philips That works, too. I think there should be a way to solve the use case.

@mrunalp Wait, sorry, what information would you add on top of the kernel metadata? e.g. /proc/571/cgroup

On Tue, Jul 28, 2015 at 12:05:54PM -0700, Brandon Philips wrote:

@mrunalp Wait, sorry, what information would you add on top of the
kernel metadata? e.g. /proc/571/cgroup

In the absence of further information here, I think we can close this
issue once #137 lands.

Yes, we can close this with #137.

#137 has landed.  Close?


How to visualize the training result?

As the title describes， thanks！

See https://github.com/fudan-zvg/4d-gaussian-splatting/issues/12

I am a newbie. I want to know how to organize N3V dataset. Can you tell me?

@Alexander0Yang, the answer given in this issue #12 is not working. Anyone can help us visualizing the training results?

Hi, this issue seems similar to Issue #45, where I provided a solution for rendering the .pth into videos.
You can check out my response there: https://github.com/fudan-zvg/4d-gaussian-splatting/issues/45#issuecomment-2548375729


Gems not filted by phase/profession

The gem menu is not properly filtered by either phase selected nor profession set in settings.
Even if phase 1 is selected, epic gems exist in the available gem menu (which aren't available until phase 3).
Even if non-JC professions are selected, JC-only gems are listed as available in the gem menu.

phases on gem updated: https://github.com/wowsims/wotlk/pull/1771
JC gems do show up in the gem selector without JC being selected still

Fixed now.


GET request does not work for acquiring a JWT

According to the docs, to acquire a JWT, one should do a GET request like:
curl -H "Authorization: token OAUTH-TOKEN" https://itsyou.online/v1/oauth/jwt?scope=user:memberof:org1
This, however, didn't work. Only the POST request did.
data = {'aud': 'aliorg', 'scope': 'user:email:main,user:memberof:aliorg'}
headers = {'Authorization': 'token %s' % ouath_token}
url = 'https://itsyou.online/v1/oauth/jwt'
r = requests.get(url, params=data, headers=headers)

print(r.status_code)
Out[59]: 401

WIth POST:
r = requests.post(url, data=json.dumps(data), headers=headers)
print(r.status_code)
Out[60]: 200

Tested with curl, ipython, small go program, and in all cases both the GET and the POST request return identical results. Since the issue does not seem to be reproducible, I will close this for now.


functionalize() errors on latest CI

See https://app.circleci.com/pipelines/github/pytorch/functorch/3173/workflows/46db62fd-2db0-4044-85b2-361ad022577f/jobs/23822 for example failures.

cc @bdhirsh but maybe these are fixed now?

My guess is that these are fixed by https://github.com/pytorch/pytorch/pull/81702, but it's kinda hard to tell from that log.
I ran python test/test_eager_transforms.py TestFunctionalizeCPU locally though and it looks like it's passing.


Bug in torch.cat

torch.cat fails with illegal memory access error when the dimension is not specified.
require('cutorch')

local a = torch.CudaTensor(1, 5)
local b = torch.CudaTensor(1, 5)

local c = torch.cat(a, b, 2) -- Works
cutorch.synchronize()
print('torch.cat(a,b,2) passed')

local d = torch.cat(a, b) -- fails
cutorch.synchronize()
print('torch.cat(a,b) passed')

Error:
$ th /tmp/cat.lua
torch.cat(a,b,2) passed
THCudaCheck FAIL file=/home/pyalamanchili/Workspace/torch/cutorch/init.c line=246 error=77 : an illegal memory access was encountered
/home/pyalamanchili/Workspace/torch/local/bin/lua: /tmp/cat.lua:11: cuda runtime error (77) : an illegal memory access was encountered at /home/pyalamanchili/Workspace/torch/cutorch/init.c:246
stack traceback:
	[C]: in function 'synchronize'
	/tmp/cat.lua:11: in main chunk
	[C]: in function 'dofile'
	...kspace/torch/local/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: in ?

Replacing torch.CudaTensor with torch.Tensor works.

FYI I am working on fixing this. Just wanted to report it in case others come across this as well.


Introduce KAT KEM tests

The generated request file equals the request file generated by the C ref impl (i.e. the RNG generates the same values)
However, when generating the response file, a stack overflow occurs when calling operations::crypto_kem_keypair … I don't know why yet

[…]
test transpose::tests::test_transpose ... ok
test uint64_sort::tests::test_uint64_minmax ... ok
test uint64_sort::tests::test_uint64_sort ... ok

thread 'tests::test_kat_tests' has overflowed its stack
fatal runtime error: stack overflow
error: test failed, to rerun pass '--bin classic-mceliece'

Caused by:
  process didn't exit successfully: `/repo-github-prokls/target/debug/deps/classic_mceliece-9ba6e905e7fe049c` (signal: 6, SIGABRT: process abort signal)
Exception: cargo exited with 101

Concerning the kat_test_response function, I'm assuming the zero-initialized pk & sk arrays are simply too large for the function stack. I have changed them to a vec to allocate them on the heap and the kat_kem_tests now run through :)
let mut pk = vec![0u8; api::CRYPTO_PUBLICKEYBYTES];
let mut sk = vec![0u8; api::CRYPTO_SECRETKEYBYTES];

Oh my, good catch! 👍

Other then that, I'd say the PR is ready to merge :-)


implement resolver -> to (forward method)

after this method, we will be able to send messages between clients

simple implementation done


Getting "Importing a module script failed" errors a lot in prod.

We're constantly seeing this error in Sentry:

The error doesn't really make sense. Sentry only has this in it's breadcrumbs:
GET https://moonrepo.app/assets/styles.84847c59.js FAILED

{__span: 8bae4e7eb457b6bf}

This file exists though and we're unable to reproduce any of these failures on our end. We believe this is coming from Vite and is some kind of caching problem, but have been unable to find a root cause. We also haven't deployed in days, so the cache being stale doesn't apply here, as these are all for fresh unique users.
Hoping someone here may know more.

Cool to see start being used in production!
This is... Obviously very hard to debug considering you have no reproduction

Wait, one idea. I have personally experienced inexplicable hydration errors only on production domains when proxying with Cloudflare......

We actually have SSR turned off because of constant hydration problems, so this app is purely static atm.
We're also using digitalocean app platform and I don't believe it uses cloudflare, but it may be another CDN around it. I'll dig more.

In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See https://github.com/solidjs/solid-start/pull/1139 for more details.


#271 - Skip update support in RpmUpload

Closes #271
skip_update parameter supported in RpmUpload, tests added

Codecov Report

Merging #289 into master will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #289      +/-   ##
============================================
+ Coverage     86.67%   86.71%   +0.04%
- Complexity      276      277       +1
============================================
  Files            42       42
  Lines          1268     1272       +4
  Branches         55       55
============================================
+ Hits           1099     1103       +4
  Misses          159      159
  Partials         10       10

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/artipie/rpm/http/RpmUpload.java
95.12% <100.00%> (+0.52%)
7.00 <2.00> (+1.00)

src/main/java/com/artipie/rpm/RpmOptions.java
100.00% <0.00%> (ø)
3.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 f5f27bf...977d100. Read the comment docs.

@0crat assign me

@0crat assign me (here)

@olenagerasimova This pull request #289 is assigned to @olenagerasimova/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@olenagerasimova/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.


What to do to see my changes ?

you have 2 PRs that should be closed, as the last one is passing the tests and looks ready for review. @vhf usually clears the backlog of changes every week or so. Does that answer your question?

Yes thanks


A category for balanced pipes

Hello there. I was thinking about this library recently and was a little confused in my mind about what happens to leftovers on a "server" or a "client" when they're connected together via >->. In fact it wasn't even really clear to me what should happen.

 Fin r   = ingnostic  $ fmap (<> r) x

Eff x   . y       = Eff $ (. y) <$> x
x       . Eff y   = Eff $ (x .) <$> y

Res x f . y       = Res x $ (. y) <<< f
x       . Req y g = Req y $ (x .) <<< g

Req x f . Res y g = f y . g x

It seems desirable that when the pipes do happen to be coincidentally balanced, we end up with a nice, rigorous category with an identity.
What happens in the case where we have "leftover" stuff on either side is less clear to me. I hope however that this more restrictive/less useful "extra typed" version of a Pipe might be useful for talking about the semantics of leftover input/output.
PS: Please feel free to close this, there's no actual issue here. Just wanted to start a conversation about this concept of "balanced" vs imbalanced pipes.

@masaeedu: I think that's pretty clever!  I never thought of using the types to enforce that the number of requests and responses match up

I just realized that this is a symptom of a more general categorical phenomenon: these pipes are indexed applicatives!


return empty md5 if file doesnt exist

currently, an exception was thrown if the file was missing.

Thank you!


Cant install the tool

Traceback (most recent call last):
File "SocialFish.py", line 3, in
from flask import Flask, request, render_template, jsonify, redirect, g, flash
ModuleNotFoundError: No module named 'flask'
What to do, please reply

use: pip install -r requirements.txt

how can i install from beginning. i have loptop windows 7, and i want to open socialfish with tool, so i was trying for 2 days but i cant do it, can somebody help me please


VPC Flowlogs feature implementation

This change implements flowlogs in ec2 operator.
It adds e2e tests for the flowlogs feature.
Issue #:  https://github.com/aws-controllers-k8s/community/issues/1560
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Please refer my another PR (and the comment) which is created so that code-generator generates correct code for flow-logs.
https://github.com/aws-controllers-k8s/code-generator/pull/452#issuecomment-1579581579

/assign @jljaco

/ok-to-test

/lgtm


[Work In Progress - Do Not Merge] Connectedk8s - RBAC: Add "arc "mode in Guard for using OBO service and deprecate --app-id & --app-secret params

Arc RBAC changes for Connectedk8s extension

Add "arc "mode in Guard for using 1P apps for authN/authZ
Deprecate --app-id & --app-secret params
Add warning to use latest kubelogin with PoP token support
Bump the release version

E2e run with CLI version 1.5.5:
https://dev.azure.com/ClusterConfigurationAgent/ClusterConfigurationAgent/_build/results?buildId=26677&view=results
PR to bump CLI version in E2e: https://github.com/azure-core/ClusterConfigurationAgent/pull/1979

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Work In Progress - Do Not Merge

@amanohar @julienstroheker @rharpavat @NarayanThiru @atchutbarli  for reviews


Eventgen does not work in Windows install

Installed eventgen by loading zip into local install on laptop splunk enterprise 7.1.1
After Splunk restarts I get a message in Messages which says:
Unable to initialize modular input "modinput_eventgen" defined inside the app "SA-Eventgen": Introspecting scheme=modinput_eventgen: script running failed (exited with code 1).
I ran the following command to run python against the py modinput file:
λ splunk cmd python ..\etc\apps\SA-Eventgen\bin\modinput_eventgen.py
Traceback (most recent call last):
File "..\etc\apps\SA-Eventgen\bin\modinput_eventgen.py", line 141, in
signal.signal(signal.SIGPIPE, handler)
AttributeError: 'module' object has no attribute 'SIGPIPE'
Some kind of SIGPIPE error.

we'll take a look

the entire windows version of eventgen seems flaky @ best, going to install
ubuntu on windows 10 an then install splunk an
On Tue, Jul 3, 2018 at 8:14 PM Brian Bingham<EMAIL_ADDRESS>wrote:

we'll take a look
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/splunk/eventgen/issues/79#issuecomment-402326339, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH_WccNazDM2SO5plYen7TtCzMWPpMUKks5uDAjTgaJpZM4VBrTZ
.

Guy Davis
8:19 PM (0 minutes ago)
to
reply+007fd67170870931ca6a420ecb0545a95fe5771d3610618e92cf000000011753d35392a169ce14267b19
the entire windows version of eventgen seems flaky @ best, going to install
ubuntu on windows 10 an then install splunk and see if things are better.
will keep you posted.
On Tue, Jul 3, 2018 at 8:14 PM Brian Bingham<EMAIL_ADDRESS>wrote:

we'll take a look
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/splunk/eventgen/issues/79#issuecomment-402326339, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH_WccNazDM2SO5plYen7TtCzMWPpMUKks5uDAjTgaJpZM4VBrTZ
.

We identified the issue. The fix will be included in the next release.

Thank you so much!!!
On Mon, Jul 9, 2018 at 2:36 PM Tony L<EMAIL_ADDRESS>wrote:

We identified the issue. The fix will be included in the next release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/splunk/eventgen/issues/79#issuecomment-403578470, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH_WcRZQgWdCS8n_VYJkhiXVV4iTTIBMks5uE6LDgaJpZM4VBrTZ
.

The next release of eventgen or Splunk?

I don't know if this is the same issue but I can not get eventgen to work at all. I have followed the instructions step-by-step and have even uninstalled Splunk and completely started over with no success. Attached screen shot:

The sigpipe issue has been resolved. Do you see this with 6.3.0?

Yes, Windows 10, Splunk 7.2.1 and Eventgen 6.3.1 nothing, I installed Eventgen as app. On my Linux machine works fine.

@akilbekov is this still broken in 6.3.3?

can you run
splunk cmd python modinput_eventgen.py --scheme for me?

@lephino
Output:
<?xml version="1.0" ?><scheme><title>SA-Eventgen</title><description>This modular input generates data for Splunk.</description><use_external_validation>true</use_external_validation><streaming_mode>xml</streaming_mode><use_single_instance>False</use_single_instance><endpoint><args><arg name="verbosity"><title>Verbosity</title><description>Logging Level (DEBUG(10), INFO(20), WARN(30), ERROR(40), CRITICAL(50))</description><data_type>number</data_type><required_on_create>true</required_on_create><required_on_edit>true</required_on_edit></arg></args></endpoint></scheme>

@harsh8398
I am unable to reproduce the failure. I have tested in windows 2016 server environment with 7.2.2 and eventgen 6.3.2.
Would you run a search for index=_internal and look at modinput eventgen logs and possibly post it here?

@harsh8398 that makes 0 sense! literally you did what this: "
Unable to initialize modular input "modinput_eventgen" defined inside the app "SA-Eventgen": Introspecting scheme=modinput_eventgen: script running failed (exited with code 1)" says you couldn't do.  I can't recreate this using windows 10 and 7.2.4 of splunk.  My question, how did you install splunk?  As a service account?  I'm wondering if the UAC is stopping the executable or stopping access to the file.

@lephino @arctan5x Let me tell you how I got this error in the first place, I was trying to write eventgen conf for one of my apps and It was my first conf file for eventgen. Even after verifying conf file by running it with eventgen python script when I add it in my app it wasn't generating any events (the same file was generating events in Linux machine). After so many tries I don't know what actually happened I was suddenly getting this error (Note: Splunk also stopped listing SA Eventgen in Data Inputs menu). I tried reinstalling splunk and also reinstalling eventgen but it didn't work. One of my friend also ended up with this error on his quest of solving this.

@harsh8398  would you send me your conf and sample to<EMAIL_ADDRESS>

@arctan5x Yeah sure.

@arctan5x I mailed you the sample and the conf file.

@harsh8398 Hi. I could not reproduce the issue. Would you mind scheduling a video chat with me so we can debug it together? Please email me your availability and we can go forward from that.

Since the sigpipe issue is resolved I am closing this issue. Harsh and I will set up a phone call to address his issue. If there is other specific windows issue on the latest version, please create a new issue for it. Thanks.


Best way to add holiday, weekend, weekend features

What's the best way to add holiday, weekend, weekend features to DeepAR?
I've seen one example that used feat_dynamic_real, but DeepAR has a parameter for time_features. Is time_features the better way? I have not seen examples of using the time_features parameter anywhere. If time_features is the best option, how would I use it?
Thanks!

@RXY3832 the time_features option in the estimator allows you to customize which features (such as the ones you mention) the model should use. The default settings will enable the features which are relevant for the specific frequency that you set: these are selected according to the logic here https://github.com/awslabs/gluon-ts/blob/2cb59f42fc933e931aa61d6519100eda07731441/src/gluonts/time_feature/_base.py#L126

So, in principle you don’t need to explicitly set them. However, if you really want to customize them you can explicitly provide them in a list:
time_features=[HourOfDay(), DayOfWeek()]

will make the model see the hour of day and day of week features. You can check the module I linked above to see how to import the necessary stuff.

This said, I agree we should add an example on this :-)

We also have a few holidays already implemented here: https://github.com/awslabs/gluon-ts/blob/master/src/gluonts/time_feature/holiday.py

Thanks for the information!
I tried adding Holidays, like in the link provided, and while Christmas and Christmas Eve worked, other date are giving me AssertionError: No closest holiday for the date index error. Below is the code and more detailed error.
Code:
from gluonts.time_feature.holiday import (
        squared_exponential_kernel,
        SpecialDateFeatureSet,
        NEW_YEARS_DAY,
        MARTIN_LUTHER_KING_DAY,
        SUPERBOWL,
        THANKSGIVING,
        CHRISTMAS_EVE,
        CHRISTMAS_DAY,
        NEW_YEARS_EVE
    )

h_days = [NEW_YEARS_DAY,
          MARTIN_LUTHER_KING_DAY,
          SUPERBOWL,
          THANKSGIVING,
          CHRISTMAS_EVE,
          CHRISTMAS_DAY,
          NEW_YEARS_EVE]

#import pandas as pd
sfs = SpecialDateFeatureSet(h_days)
date_indices = pd.date_range(
    start="2016-01-01",
    end="2019-11-30",
    freq='D'
    )

sfs(date_indices)

Error Details:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-50-58f607c96e79> in <module>()
     27     )
     28
---> 29 sfs(date_indices)

~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/time_feature/holiday.py in __call__(self, dates)
    211                     ]
    212                 )
--> 213                 for feat_name in self.feature_names
    214             ]
    215         )

~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/time_feature/holiday.py in <listcomp>(.0)
    211                     ]
    212                 )
--> 213                 for feat_name in self.feature_names
    214             ]
    215         )

~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/time_feature/holiday.py in <listcomp>(.0)
    208                             SPECIAL_DATE_FEATURES[feat_name](index)
    209                         )
--> 210                         for index in dates
    211                     ]
    212                 )

~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/time_feature/holiday.py in distance_to_day(index)
     43         assert (
     44             len(holiday_date) != 0
---> 45         ), f"No closest holiday for the date index {index} found."
     46         # It sometimes returns two dates if it is exactly half a year after the
     47         # holiday. In this case, the smaller distance (182 days) is returned.

AssertionError: No closest holiday for the date index 2018-07-18 00:00:00 found.

Let me know if I should move this over to another thread too.
Thanks!

Sorry for coming back to this so late. I'll look into this.

i have the same error -
code:
from gluonts.time_feature.holiday import (
        squared_exponential_kernel,
        SpecialDateFeatureSet,
        NEW_YEARS_DAY,
        MARTIN_LUTHER_KING_DAY,
        SUPERBOWL,
        THANKSGIVING,
        CHRISTMAS_EVE,
        CHRISTMAS_DAY,
        NEW_YEARS_EVE
    )

hdays = [NEW_YEARS_DAY,
          MARTIN_LUTHER_KING_DAY,
          SUPERBOWL,
          THANKSGIVING,
          CHRISTMAS_EVE,
          CHRISTMAS_DAY,
          NEW_YEARS_EVE]
kernel = squared_exponential_kernel(alpha=1.0)

sfs = SpecialDateFeatureSet(hdays, kernel)
date_indices = pd.date_range(
     start="2018-01-01",
     end="2019-12-31",
     freq='D')

sfs(date_indices)

error:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-55-63f69419d55d> in <module>
     20 kernel = squared_exponential_kernel(alpha=1.0)
     21 sfs = SpecialDateFeatureSet(hdays, kernel)
---> 22 sfs(dfwide.index)

~/anaconda3/envs/btq/lib/python3.7/site-packages/gluonts/time_feature/holiday.py in __call__(self, dates)
    211                     ]
    212                 )
--> 213                 for feat_name in self.feature_names
    214             ]
    215         )

~/anaconda3/envs/btq/lib/python3.7/site-packages/gluonts/time_feature/holiday.py in <listcomp>(.0)
    211                     ]
    212                 )
--> 213                 for feat_name in self.feature_names
    214             ]
    215         )

~/anaconda3/envs/btq/lib/python3.7/site-packages/gluonts/time_feature/holiday.py in <listcomp>(.0)
    208                             SPECIAL_DATE_FEATURES[feat_name](index)
    209                         )
--> 210                         for index in dates
    211                     ]
    212                 )

~/anaconda3/envs/btq/lib/python3.7/site-packages/gluonts/time_feature/holiday.py in distance_to_day(index)
     43         assert (
     44             len(holiday_date) != 0
---> 45         ), f"No closest holiday for the date index {index} found."
     46         # It sometimes returns two dates if it is exactly half a year after the
     47         # holiday. In this case, the smaller distance (182 days) is returned.

AssertionError: No closest holiday for the date index 2018-07-18 00:00:00 found.```

Has been fixed by @kashif  in #542. Thank you @kashif!


lightningcss: 1.17.0 -> 1.17.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/parcel-bundler/lightningcss/releases.
meta.description for lightningcss is: "Extremely fast CSS parser, transformer, and minifier written in Rust"
meta.homepage for lightningcss is: "https://lightningcss.dev/"
meta.changelog for lightningcss is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.17.1 with grep in /nix/store/v0zjyh035vdbnh8sa5zpar8gwa7j0nw9-lightningcss-1.17.1
found 1.17.1 in filename of file in /nix/store/v0zjyh035vdbnh8sa5zpar8gwa7j0nw9-lightningcss-1.17.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
lightningcss

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

lightningcss

Maintainer pings
cc @toastal for testing.

$ nixpkgs-review pr 204416
1 package marked as broken and skipped:
lightningcss

First run failed.

$ curl 'https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/204416.patch' | git apply -v
$ nix-build -A lightningcss
$  result/bin/lightningcss --version | cut -d ' ' -f2
1.0.0-alpha.38

This built fine

Result of nixpkgs-review pr 204416 run on x86_64-linux 1

1 package built:

lightningcss


Connect or register Civo created cluster in ArgoCD

I have a cluster which is created by Crossplane through the Civo provider.
That process created a secret containing the kubeconfig.

How can I register that cluster in ArgoCD automatically (GitOps)?

Normally, I manually add the IP address to the ArgoCD AppProject if the cluster creation process has finished. Then I manually change all manifests which are using this server address. In an issue I raised here: https://github.com/argoproj/argo-cd/issues/8107#issuecomment-1012479197 they mentioned, that I can use a "string reference" of my cluster, (they pointed me there<EMAIL_ADDRESS>)
but I have no idea to do that. I simply didn't get it,...
That is my current state:
appProject
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
  name: staging
  namespace: argocd
spec:
  description: staging deployment
  destinations:
    - namespace: "staging"
      name: "staging"
      server: https://123.456.789.0 # <<-- Somewhere here
      serverRef:                    # <<-- or here
        name: "staging"             # <<-- or here I can reference to my crossplane cluster by a name string, right?

How can I bridge the gap between my Crossplane created cluster and ArgoCD Application deployments without manual intervention? Isn't your repo's intention to exactly do that? I didn't found any example which makes sense for me to get that working.
What I found is, that I can create a secret to register my cluster (if I am not completely misunderstand):
apiVersion: v1
kind: Secret
metadata:
  name: staging-cluster-secret
  labels:
    argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
  name: mycluster.com
  server: https://mycluster.com
  config: |
    {
      "bearerToken": "<authentication token>",
      "tlsClientConfig": {
        "insecure": false,
        "caData": "<base64 encoded certificate>"
      }
    }

Am I right, that my demands are not possible to achieve automatically at the moment? If not, who is "responsible" to create that? CivoProvider? provider-argocd? argocd itself?
It would be awesome if someone can get me out of that configuration hell 😈

First you would create a cluster in provider-argocd, see here for an example: https://github.com/crossplane-contrib/provider-argocd/blob/main/examples/cluster/cluster.yaml
Then you'd create a project, for example: https://github.com/crossplane-contrib/provider-argocd/blob/main/examples/projects/project.yaml. Within the project you can reference a cluster by its kubernetes resource name. You don't need to keep the URLs in sync manually, this should be done by provider-argocd automatically.
From what I understand provider-civo creates a kubeconfig in the connection secret. This is currently not parsed by provider-argocd, see #13

From what I understand provider-civo creates a kubeconfig in the connection secret. This is currently not parsed by provider-argocd, see #13

So me, as a Civo-provider user could ask Civo Provider maintainers, to provide a compiant ArgoCD secret? Or is this repo thinking about picking up kubeconfig
At the moment I am trying to do something like this: (It's "grep"-ing the IP address, but I stuck at the moment connect to ArgoCD servers API)

apiVersion: batch/v1
kind: Job
metadata:
  name: assign-staging-ip-job
  namespace: default
  labels:
    app: assign-staging-ip-job
spec:
  template:
    metadata:
      name: assign-staging-ip-job
      labels:
        app: assign-staging-ip-job
    spec:
      serviceAccountName: secret-reader-sa
      containers:
        - name: assign-staging-ip-job
          image: alpine:latest
          command:
            - bin/sh
            - -c
            - |
              echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
              cat /etc/apk/repositories
              apk update
              apk add yq jq curl coreutils --no-cache
              export SECRET_RESPONSE=$(curl --insecure -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
              https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT/api/v1/namespaces/default/secrets/cluster-details-MYSERVER-staging-cp)
              export TARGET_CLUSTER_IP_ADDRESS=$(echo $SECRET_RESPONSE|jq '.data.kubeconfig' | base64 -di | yq e ".clusters[0].cluster.server" -)
              echo $TARGET_CLUSTER_IP_ADDRESS
              export TARGET_PROJECTS=$(curl --insecure -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
              https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT/api/v1/namespaces/argocd/projects)
              echo $TARGET_PROJECTS
      restartPolicy: OnFailure
      dnsPolicy: ClusterFirst
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: secret-reader-sa
  namespace: default
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: default
  name: appprojects
rules:
  - apiGroups: [""] # "" indicates the core API group
    resources: ["secrets"]
    verbs: ["get", "watch", "list"]
  - apiGroups: [""] # "" indicates the core API group
    resources: ["appprojects", "appprojects.argoproj.io"]
    verbs: ["get", "watch", "list", "patch"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: secret-reader-crb-crossplane
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: secret-reader-cr
subjects:
  - kind: ServiceAccount
    name: secret-reader-sa
    namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: secret-reader-crb-argocd
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: secret-reader-cr
subjects:
  - kind: ServiceAccount
    name: secret-reader-sa
    namespace: argocd

@janwillies sorry to pick your time. I found your repo https://github.com/janwillies/crossargo-sync and wanna know, if this repo could be modified in a way, that other providers can use them (eg. civo-provider) (https://github.com/crossplane-contrib/provider-civo) ?
Filling this gap would be a big value for the crossplane/argocd community, because we can practice a more complete and automated Gitops.

I think it would be better to support this in provider-argocd. #13 tracks the issue.
Closing this as duplicate

Thank you guys for getting me on the right track!
If anybody is wondering, what @janwillies meant with https://github.com/crossplane-contrib/provider-argocd/issues/18#issuecomment-1021145951, I wrote a comprehensive answer on stackoverflow about the concrete steps to connect ArgoCD with Crossplane created clusters.
Just a side note: you only need the argocd-provider Cluster object to register the Crossplane created cluster in ArgoCD. The Project is not needed, if you use the default Argo project and just reference the Cluster name as spec.destination.name (NOT spec.destination.server). This will then look into Argo's Cluster list and should find the registered cluster.


Editing typo

Editing the typo in the below line :
Local NVMe disk is coming as RAM and it needs to be manually formatted in newly deployed VM.
changing to  "RAW".
closes #116315

@sherrywangms
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Make make_scratch_buffer make a scratch buffer

I find that this allows for a more natural exit of the debug buffer, in my case leader-q was already mapped to exit buffer, and users might have similar mappings, but even :q works fine, as seen below:
before:

after

nvim docs

yeah honestly i agree w/ this change - i originally added it because i thought i would want leave the buffer open and look for it later with telescope, but i rarely ever ended up doing that

one could always save the buffer to work with it later i suppose

should get rid of the keymap too?

would it be possible to define a buffer-local autocmd so the user could define a shortcut if needed? (I have actually set "q" as my shortcut)
docs make it seem like it would, I can try adding that to this PR if you think it'd be a good idea.

now that I think of it.. that would mean defining a global keymap, without a reference to the scratch buffer so I don't think that would work at all

that would mean defining a global keymap, without a reference to the scratch buffer so I don't think that would work at all

I was just about to say that sounds like a good idea lol

not sure if there's a more elegant way to do it, but need to add something like this to wipe the value
  local bufnr = kznllm.make_scratch_buffer()
  M.BUFFER_STATE.SCRATCH = bufnr

  api.nvim_buf_attach(bufnr, false, {
    on_detach = function()
      if bufnr == M.BUFFER_STATE.SCRATCH then
        M.BUFFER_STATE.SCRATCH = nil
      end
    end,
  })

i think there might be a shorter way, on buffer creation:
vim.bo[buf].bufhidden = 'wipe'     -- Automatically remove the buffer when closed

Sorry, you meant the global variable.
What about creating the buffer with a variable, like, vim.api.nvim_buf_set_var(buf_id, 'kznllm', true)
and then query for this variable on invoke_llm to see if it's a plugin file, this way we don't need to manage a global variable at all.

What about creating the buffer with a variable, like, vim.api.nvim_buf_set_var(buf_id, 'kznllm', true)

hmm, didn't know about this feature but I like the sound of that

vim.bo[buf].bufhidden = 'wipe'

didn't know about this either actually, i think this was actually what i was looking for originally to "invalidate" the buffer and check with api.nvim_buf_is_valid - but no global variable sounds better

wrote up something for the sake of learning how it works - i can push it into this if it makes sense
diff --git a/lua/kznllm/presets.lua b/lua/kznllm/presets.lua
index 6ffdb55..49113f7 100644
--- a/lua/kznllm/presets.lua
+++ b/lua/kznllm/presets.lua
@@ -10,13 +10,6 @@ local M = {}

 --TODO: PROMPT_ARGS_STATE is just a bad persistence layer at the moment, I don't really want to write files everywhere...

--- ORIGIN refers to the buffer where the user invoked the plugin.
--- SCRATCH is a temporary buffer for debugging/chat.
-M.BUFFER_STATE = {
-  SCRATCH = nil,
-  ORIGIN = nil,
-}
-
 M.PROMPT_ARGS_STATE = {
   current_buffer_path = nil,
   current_buffer_context = nil,
@@ -194,8 +187,6 @@ function M.invoke_llm(make_data_fn, make_curl_args_fn, make_job_fn, opts)

   local active_job

-  M.BUFFER_STATE.ORIGIN = api.nvim_win_get_buf(0)
-
   kznllm.get_user_input(function(input)
     M.PROMPT_ARGS_STATE.user_query = input
     M.PROMPT_ARGS_STATE.replace = not (api.nvim_get_mode().mode == 'n')
@@ -209,9 +200,10 @@ function M.invoke_llm(make_data_fn, make_curl_args_fn, make_job_fn, opts)
     end

     -- don't update current context if scratch buffer is open
-    if not M.BUFFER_STATE.SCRATCH then
+
+    if not vim.b.debug then
       -- similar to rendering a template, but we want to get the context of the file without relying on the changes being saved
-      local buf_filetype, buf_path, buf_context = kznllm.get_buffer_context(M.BUFFER_STATE.ORIGIN, opts)
+      local buf_filetype, buf_path, buf_context = kznllm.get_buffer_context(0, opts)
       M.PROMPT_ARGS_STATE.current_buffer_filetype = buf_filetype
       M.PROMPT_ARGS_STATE.current_buffer_path = buf_path
       M.PROMPT_ARGS_STATE.current_buffer_context = buf_context
@@ -224,28 +216,14 @@ function M.invoke_llm(make_data_fn, make_curl_args_fn, make_job_fn, opts)

     -- open up scratch buffer before setting extmark
     if opts and opts.debug and opts.debug_fn then
-      if M.BUFFER_STATE.SCRATCH then
-        api.nvim_buf_delete(M.BUFFER_STATE.SCRATCH, { force = true })
-        M.BUFFER_STATE.SCRATCH = nil
-      end
-      M.BUFFER_STATE.SCRATCH = kznllm.make_scratch_buffer()
-
-      -- Set up key mapping to close the buffer
-      api.nvim_buf_set_keymap(M.BUFFER_STATE.SCRATCH, 'n', '<leader>q', '', {
-        noremap = true,
-        silent = true,
-        callback = function()
-          api.nvim_exec_autocmds('User', { pattern = 'LLM_Escape' })
-          api.nvim_buf_delete(M.BUFFER_STATE.SCRATCH, { force = true })
-          M.BUFFER_STATE.SCRATCH = nil
-        end,
-      })
-
-      stream_end_extmark_id = api.nvim_buf_set_extmark(M.BUFFER_STATE.SCRATCH, M.NS_ID, 0, 0, {})
+      local buf_id = kznllm.make_scratch_buffer()
+      api.nvim_buf_set_var(buf_id, 'debug', true)
+
+      stream_end_extmark_id = api.nvim_buf_set_extmark(0, M.NS_ID, 0, 0, {})
       opts.debug_fn(data, M.NS_ID, stream_end_extmark_id, opts)
     else
       local _, crow, ccol = unpack(vim.fn.getpos '.')
-      stream_end_extmark_id = api.nvim_buf_set_extmark(M.BUFFER_STATE.ORIGIN, M.NS_ID, crow - 1, ccol - 1, { strict = false })
+      stream_end_extmark_id = api.nvim_buf_set_extmark(0, M.NS_ID, crow - 1, ccol - 1, { strict = false })
     end

     local args = make_curl_args_fn(data, opts)

Nice! I really like the vim.b.debug shorthand because is doesnt raise anything if the variable is not set, just evaluates to false.
I think
stream_end_extmark_id = api.nvim_buf_set_extmark(0, M.NS_ID, 0, 0, {})
should be
stream_end_extmark_id = api.nvim_buf_set_extmark(buf_id, M.NS_ID, 0, 0, {})

Also, i think we could still store a reference to the originally open buffer, but it doesn't need to be a global variable.
something like
local original_buf = fapi.nvim_win_get_buf(0)
instead of
M.BUFFER_STATE.ORIGIN = api.nvim_win_get_buf(0)
this way we don't rely on passing 0 everywhere, which may introduce some errors in the future as the plugin grows.

@dceluis 🤔 i think it's good now, lmk if you notice anything whenever you find the time

Thanks for the additions. I added a minor fix, I think this is ready too.


Update location co-ordinate to the venue

Once the exact location for the conference is decided, the map on the homepage needs to be updated with the correct co-ordinates.

It is fine for now once the venue will be decide we will put the right co-ordinates.

i will share this in two weeks once it's confirmed!

here you go, @studenton : https://www.google.com/search?q=manaki+hotel+janakpur&oq=mana&aqs=chrome.1.69i57j69i59j69i61l2j69i60j0.6290j0j7&sourceid=chrome&ie=UTF-8#q=manaki+hotel+janakpur&rflfq=1&rlha=0&rllag=26723547,85932287,799&tbm=lcl&tbs=lf_msr:-1,lf_pqs:EAE,lf:1,lf_ui:2&rlfi=hd:;si:10222146037878426929;mv:!1m3!1d9465.951824682992!2d85.93228724999994!3d26.723547900000003!3m2!1i860!2i510!4f13.1;tbs:lf_msr:-1,lf_pqs:EAE,lf:1,lf_ui:2

it's hotel manaki international

@ravinepal It's updated. Clicking the icon beside the Location text will redirect the user to the map page.


Reimplement machine runner in Go

📚 Context
This issue aims to reimplement the server-manager and advance runner in Go as a component that will run in a goroutine.
📈 Subtasks

[ ] Create the machine C bindings
[x] #288
[ ] #346

Replaced by #375.


dbeaver crashes when trying to open spatial data view

System information:

Ubuntu 20.04.2 LTS
DBeaver version <IP_ADDRESS>102281712

Connection specification:

postgres 10.9 / postgis 2.4.4
PostgreSQL JDBC Driver
No tunnels or proxies used

Describe the problem you're observing:
When I try and use the spatial data view of a table dbeaver crashes.
Steps to reproduce, if exist:
Open postgres connection > View Table > click on spatial
Include any warning/errors/backtraces from the logs
eclipse.buildId=unknown
java.version=<IP_ADDRESS>
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments:  -os linux -ws gtk -arch x86_64
org.eclipse.core.resources
Warning
Thu Mar 04 10:48:15 GMT 2021
The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

Hi @mtravis ,
can you try to reset workspace using Main menu: File - Reset Workspace state or according to the article ?

Hi @uslss
Tried resetting the workspace and then followed the steps in that article. Still the same problem unfortunately.

I'm working with spatial data in Ubuntu 20.10 and dbeaver 21. Some times dbeaver freezes and it crashes after some queries (I have not yet been able to replicate it). I readed the dbeaver log in ~/.local/share/DBeaverData/workspace6/.metadata/dbeaver-debug.log, but not appear info about the crashing, only issues caused by SQL sentences. This is an extract of the last lines from the file:

Caused by: org.postgresql.util.PSQLException: ERROR: function st_intersects(geometry, double precision) does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 60
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:327)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:130)
... 12 more
Start DBeaver Data GIS - view [org.jkiss.dbeaver.data.gis.view <IP_ADDRESS>102281712]
2021-03-12 18:25:34.541 - A grid has been found.

The same information appears in the Error Log section from dbeaver:

Happens to me too. It crashes BADLY when I click to an geometry. Too much unstable...

Thanks for the report.
Could you try to change web browser in preference to another (non-default) and check if it helps?

On Ubuntu 20.04, Dbeaver snap version, going to Preferences -> UI -> Web Browser crashes the program.

Same for me.

I'm really not sure it's a snap-specific issue, I have the same problem and i installed dbeaver with the .deb installer.
A mere click on a cell with a . I had a computer way less powerful before that handled hundreds of geometry cells selected at the same time with a map service behind...

fixed


Check against DescriptorRequirements instead of pipeline layout at draw time

Changelog:
- **Breaking** Replaced `DescriptorDescTy` with `DescriptorType` and made further changes to the members of `DescriptorDesc`.
- **Breaking** Added a `Pipeline` trait to hold methods that are common to all pipeline types.

- Descriptor resources are now checked against the shader requirements at the time of a draw/dispatch call, rather than at the time the descriptor set is created. Only the resources that are actually needed in the shader are checked, the other resources in a descriptor set are ignored and don't need to be valid.

At draw/dispatch time, the code will now check whether the bound descriptor sets are valid by using DescriptorRequirements. Previously, the pipeline layout object was used for this, but a pipeline layout isn't really the right place for it, since the same layout could be used with multiple shaders, each with their own specific requirements. Moreover, a shader might not actually use every descriptor that's declared in the pipeline layout, the layout can be a superset of what the shader needs. In this PR, only the resources the shader actually needs are checked. Descriptors that aren't used by the shader can still be bound, but are ignored in the check.
In theory this means that it's now safe to create a descriptor set that doesn't contain resources in all of its descriptors, because all that matters is that the resources needed in the shader are valid. That is required for allowing incremental bindings for push descriptors. But that isn't implemented yet; I'm still thinking of ways to do that. Descriptor set builders currently require you to provide a resource for every binding in the layout, which would need changing. A possibility I'm considering is removing descriptor set builders altogether, and letting the user provide DescriptorWrite objects instead.

@Rua I'm sorry for being slow in review. PR verified and merged. Thanks!


String>>match: does not work correctly for non-ascii characters or mixed encodings

'#€#a' match: '🐬€🍺a'

Should be true, but is false.
Fixed in Dolphin 8. Need to backport a80cac8cace39f0b5b7359cba38bc4abf4d40024 and 7854cd6f9e751b33ad00afbde772135dcd6b63da

Fixed by #1175


[Feature Request] Implement MBPO algorithm

Important Note: We do not do technical support, nor consulting and don't answer personal questions per email.
Please post your question on the RL Discord, Reddit or Stack Overflow in that case.
🚀 Feature
I would like to implement a model-based RL algorithm, MBPO proposed here.
Motivation
The proposed algorithm claims to be simpler and up to 10x as sample efficient as some other baselines like SAC.
This would be helpful in my own work too.
Checklist

[ x] I have checked that there is no similar issue in the repo (required)

Original implementation is available here: https://github.com/JannerM/mbpo

Hello,
I've got mixed feeling about that one.
It would be interesting to have it, at least in a separate repo.
However, the current focus of SB3 is model free RL... and I hope this algorithm won't add too much complexity.
So, please give it a try and open a PR once you managed to reproduce results (please read and follow SB3 contrib CONTRIBUTING.md guide carefuly).
If it's too complex, we would still add a link to the implementation in our doc.

closing as out of scope of SB3 (we focus on model-free RL), however, if you want a model-free RL algorithm that is as sample efficient as MBPO, you can take a look at DroQ:

in SB3 / SB3 contrib, there are branches: https://github.com/DLR-RM/stable-baselines3/pull/1036
in SBX (SB3 + Jax): https://github.com/araffin/sbx (much faster implementation but limited features)


Dynamic updated geojson data isn't displayed

[ ] I'm reporting a bug, not asking for help
[x] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

How to reproduce

Leaflet version I'm using: 1.0.3
Leaflet.MarkerCluster version I'm using: 1.1.0
Browser (with version) I'm using: Tested with diffrent browser, different versions
OS/Platform (with version) I'm using: Windows

Hi, i think there is a problem with the updating data on geojson layers. As you can see at jsfiddle, i try to update the geojson layer after the marker cluster group is initialized (add more data to it). The problem is, the additional data isn't displayed after I refresh the marker cluster group.
What behaviour I'm expecting and which behaviour I'm seeing
I expact the map to display 12 markers instead of 6 at the end.
Minimal example reproducing the issue

[x] this example is as simple as possible
[x] this example does not rely on any third party code
https://jsfiddle.net/66wjx03p/

That is not what refreshMarkers is for, check the docs.


New version: Mozilla.Firefox.DeveloperEdition.hi-IN version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


module json resources not working in laravel 7.0

Json resources under transfomers extend Json instead of JsonResource in laravel 7.
so currently the package does not work well with laravel 7.0.
Example
use Illuminate\Http\Resources\Json\Json;
class EventsResource extends Json
this should be
use Illuminate\Http\Resources\Json\JsonResource;
class EventsResource extends JsonResource
NOTE, this is only for laravel 7.0

Sorry i saw the issue is already resolved


Removes forwarder configuration info.

Configuring a server as a forwarder is not the main focus of this how-to.  Trying to keep the article focused.  There are many other things people might want to add, but let's focus on the core purpose of the how-to.

Actually, it is better to remove the entire General BIND configuration section, so I am closing this PR and will open another.


Upgrade alpine to 3.8

As title

Is it possible to upgrade to 3.8 too?
https://github.com/go-gitea/gitea/blob/268bbc9bcbd4fd50d1dacad15700035a0c7967cb/Dockerfile#L4

@gaydin yup. Thank you for the suggestion. I've updated.

Codecov Report

Merging #5423 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5423      +/-   ##
==========================================
- Coverage   37.56%   37.53%   -0.03%
==========================================
  Files         316      316
  Lines       46783    46783
==========================================
- Hits        17573    17562      -11
- Misses      26717    26725       +8
- Partials     2493     2496       +3

Impacted Files
Coverage Δ

models/repo_indexer.go
44.49% <0%> (-3.82%)
:arrow_down:

models/repo_list.go
63.29% <0%> (-1.27%)
: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 d5d847e...934f838. Read the comment docs.


[feature-request]: Provide keybindings to do common tasks?

What feature would you like to request?
As someone who really doesn't enjoy using the mouse and who uses Vim keybindings, having keybindings in the application would be a really neat feature for "power users"/people trying to be more efficient with their work and tasks.
Optional: Suggest a solution
And it seems htmx can do something fairly easily: https://htmx.org/examples/keyboard-shortcuts/
Code of Conduct

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

We aren't prioritizing the GUI any time soon, if at all. Closing.


Fix/auth

Added authorization to nextAuth
Replaced fetch API with axios in menu to allow for unit testing
Added basic rendering tests for the DAO selector
Added more comprehensive error handling for SWR errors

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/banklessdao/bounty-board/8R8E357AscWXjBFUSEBFBpBQEVdU ✅ Preview: https://bounty-board-git-fix-auth-banklessdao.vercel.app

It looks good to me, although the vercel OATH isn't working. I imagine that will work once we merge?


Autocompletion on dataset files

I think it could be awesome if we could have autocompletion on datasets, so when you want to add a dataset file it would be able to autocomplete from all the datasets found in your Datasets folder.

Thanks! This will be fixed in v1.6.0 which is building right now 👍


unprecise quantifiers: few, several

Should the quantifiers like few, several, be annotated?
e.g. in this case several millimeter:
At higher velocities, younger grains from sub-millimeter to several millimeter can reach Mars too, although an even smaller fraction of grains is expected have these velocities, with negligible effect on the peak timing.

To be consistent, yes when used with units - so also a couple, few, a large amount of, and whatever quantifies even imprecisely.

I have the sentence:

the reference solution becomes distinct from the ballistic solution only a couple of weeks before the encounter.

Please confirm that it should be annotated:
the reference solution becomes distinct from the ballistic solution only
<measure type="value"><num>a couple</num> of <measure type="TIME" unit="week">
weeks</measure></measure> before the encounter.

I would say yes, as it's coming with an unit 'weeks' ;-)

I say yes too!
But you can leave the determiner outside to be consistent with the existing annotations:
the reference solution becomes distinct from the ballistic solution only a
<measure type="value"><num>couple</num> of <measure type="TIME" unit="week">
weeks</measure></measure> before the encounter.


changes do not persist after reboot

This mod works great...until I reboot!  I have to update the index.js file after every reboot in order for the theme to continue working.

Confirming this on Windows 7 local instance.

Reporting not necessarily, in every case. I'm using Slack 2.9.0 64-bit and it worked just fine after multiple reboots (Tested 3 times; Third time is the charm)

Possible problem due to new slack update 3.0.0 beta (as helpfully pointed out by others)

There are several possibilities as to why it failed to work.

Maybe it was a network-related issue. The stylesheet is served from a CDN https://cdn.rawgit.com/widget-/slack-black-theme/master/custom.css which may have failed to cache in previous use, or load in current session. Try using locally served?
The setup might have been all wrong or maybe Slack app added something else to the file. This has happened before and it causes a blank white screen to appear
Maybe it's just the update. Stick with stable?

A possible workaround: Should you find it cumbersome to have to reapply every single time on Windows, you could add this script to the startup.

Updated [script][1] for Slack 3.0.0 beta /w support for Slack 2.9.0. Just keep it in your startup if nothing else works. Cheers!
[1]: https://github.com/siddhantrimal/slack-black-theme/blob/master/autoapplication/slack-black-theme-win.bat

In my experience, this happens when slack updates a new version upon reboot (which is frequently).  Even a minor version update will break the theme as it creates a new folder with a different index.js file and you have to go replace it again with the edited index file. Using the automatic applicator script from siddhantrimal could be beneficial if you find this to be annoying.
Siddhant, note that your edit for 3.0.0 only applies the default black theme and does not work with any custom color choices made to the index file.  You might want to include some information on how to adjust it so that custom choices can continue to be applied.

i did automation for mac and then took @siddhantrimal's idea and made a shortcut
https://github.com/widget-/slack-black-theme/pull/37
The "reboot" issue is actually just slack doing updates ever time it is restarted (if available).
This script can replace your slack app icon and do a bit of work with starting slack, checking if it updated the theme (removed it) and then re-updating it if it is not already there.

@Artistan nicely done! Could you take a look at this and add an automatic UAC Elevated Access towards the end(at the :ErrorHandler segment?). I mean, when you go, why not go all the way :D
There's also a powershell version but I believe making it available to cmd makes more sense because a lot of computer still don't have it.
Looking forward. Cheers!
...and yes, this definitely averts the RARE(Reset-After-REboot) issue


minor fix

Minor fix

Thank for commit. What motivated you to this changed ?

Just for fan))) I've investigated how work yii menu and have tried your library. But I always work with error_reporting=E_ALL ...


add readFileMetadata() to ngCordova.plugins.file

We had to upgrade our Jasmine instance. Thanks to #1174; it was fixed. Try again? And please target dev-next.
Sorry about that.


Tree list: pfng-tree-list throws template parse errors

Steps to reproduce the issue:

In package.json set "patternfly-ng": "0.10.0"

Do a fresh npm install

In the component's module file, import PatternFlyNgModule (I tried ListModule also)

In the component's html file, add <pfng-tree-list> Lorm Ipsum</pfng-tree-list>

Check the browser console, you get the below error:

Note
In the same html file if I try other components, like <pfng-toast-notification> or <pfng-list>, they work.

I was able to successfully add the tree list to my own angular-cli app. It appears to work fine, so I'm closing this issue.
Note that the tree list component is part of the ListModule, so you'll need to import that. And if you're running Planner in OSIO, both will need the same package version.


Date select dropdown

Business Context:
Stella needs the visualizations for the calendar year for an annual report. we want all visualizations to have the option to have different years
As Stella
I want to see counts for previous years
So that I can include them in an annual report
In Scope

all visualizations! Each graph is showing 12 months of data, and we want to give a range of options when looking at the data

Out of Scope

Open Questions

Acceptance Criteria

Scenario: Add date dropdown
Given im on the data dashboard (public or private)
When i click on the dropdown AND select a new date range
Then the chart should update

Scenario: a new year
Given there are dropdowns on the charts
When another year ends
Then that year should be selectable from the dropdown

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

Discuss the technical implementation of this card.
Discuss how this feature would be included in or affect the Audit Log.
In respect to security, what could go wrong? Brainstorm threats using STRIDE model, especially if this card introduces a new technical architecture or design pattern. (TIMEBOX: 7 mins) https://docs.google.com/document/d/18AFl1d3SRieI4d_8R3GyEazqQOycLNDHGN_vOYIHuiE/edit#heading=h.aio9zb5j63wl
Ensure any open questions have been resolved with stakeholders.
Determine if documentation should be referenced or created.
Ensure to include all necessary mockups to this card.
Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
Discuss why this feature would not be implemented behind a toggle / what would happen if this card was partially done while a release branch was being cut.
If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous  cards in the sequence have been finished.
Have we added edge cases as ACs that we're considered from a QA perspective
Does this card overlap with any entities outlined in API Housekeeping?

Notes:


Quadratic interpolation function

I wonder what equation are you using to do the quad interpolation @ helper_functions.py Line 23?!
The equation does not seem right to me!

interpolations functions are updated.


fix: Fixes a specific linux font selection issue in firefox

Description
On Firefox + Linux there is an issue where Helvetica is matched as NimbusSans which is not well matched when it comes to it's vertical alignment compared to other fonts. Chrome correctly falls back to Liberation Sans instead which works well. To solve this I am specifying Liberation Sans specifically before Helvetica.
https://bugzilla.redhat.com/show_bug.cgi?id=1160935
https://bugzilla.mozilla.org/show_bug.cgi?id=553580
Notes for release
Fixes fallback font for Firefox on LInux

@LiamMartens – I’ve merged your changes by cherry picking into the next branch. It will be part of the next release. Thank you so much for contributing! ✨
https://github.com/sanity-io/design/commit/0d152387798036b1cbba450713457627a38a2361


Tamagui starter fails yarn native Android build

Current Behavior
With starter app: npm create tamagui@latest when running yarn native and opening Expo Go on Android I get the following error:

ERROR  Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager.
This error is located at:
in RNSVGSvgViewAndroid (created by Svg)
in Svg (created by ChevronUp)
in ChevronUp (created by wrapped)
in wrapped
in RCTView (created by View)
in View (created by Button)
in Button
in ButtonProvider
in Button
in _Theme
in WithTheme (created by SheetDemo)
in SheetDemo (created by HomeScreen)
in RCTView (created by View)
in View
in Unknown (created by HomeScreen)
in HomeScreen (created by Screen)
in Screen (created by Route(Screen))
in Route (created by Route(Screen))
in LocationProvider (created by Route(Screen))
in Route(Screen) (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by SceneView)
in RCTView (created by View)
in View (created by DebugContainer)
in DebugContainer (created by MaybeNestedStack)
in MaybeNestedStack (created by SceneView)
in RCTView (created by View)
in View (created by SceneView)
in RNSScreen (created by AnimatedComponent)
in AnimatedComponent
in AnimatedComponentWrapper (created by InnerScreen)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by InnerScreen)
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by ScreenStack)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RCTView (created by View)
in View (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator
in Unknown (created by HomeLayout)
in ThemeProvider (created by HomeLayout)
in _ToastImperativeProvider (created by ToastProvider)
in ToastProviderProvider (created by ToastProvider)
in ToastCollectionProviderProvider (created by ToastCollectionProvider)
in ToastCollectionProvider (created by ToastProvider)
in ToastProvider (created by Provider)
in PortalProviderComponent
in _Theme (created by _ThemeProvider)
in _ThemeProvider (created by _TamaguiProvider)
in _TamaguiProvider
in Unknown (created by Provider)
in Provider (created by HomeLayout)
in HomeLayout (created by Route(HomeLayout))
in Route (created by Route(HomeLayout))
in LocationProvider (created by Route(HomeLayout))
in Route(HomeLayout) (created by RootRoute)
in RootRoute (created by ContextNavigator)
in InitialRootStateProvider (created by ContextNavigator)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by NavigationContainer)
in NavigationContainer (created by ContextNavigator)
in RootRouteNodeProvider (created by ContextNavigator)
in ContextNavigator (created by ExpoRoot)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by ExpoRoot)
in RNGestureHandlerRootView (created by GestureHandlerRootView)
in GestureHandlerRootView (created by GestureHandler)
in GestureHandler (created by ExpoRoot)
in ExpoRoot (created by App)
in App (created by withDevTools(App))
in withDevTools(App) (created by ErrorOverlay)
in ErrorToastContainer (created by ErrorOverlay)
in ErrorOverlay
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent), js engine: hermes
Error: ENOENT: no such file or directory, open 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getCodeFrame (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1004:18)
at Server._symbolicate (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1073:22)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Server._processRequest (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:437:7) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine\.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getCodeFrame (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1004:18)
at Server._symbolicate (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1073:22)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Server._processRequest (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:437:7) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine\.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getCodeFrame (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1004:18)
at Server._symbolicate (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1073:22)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Server._processRequest (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:437:7) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine\.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
}
Error: ENOENT: no such file or directory, open 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getCodeFrame (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1004:18)
at Server._symbolicate (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:1073:22)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Server._processRequest (C:\projects\home24\apps\test-android\node_modules\metro\src\Server.js:437:7) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\kudo\01_Work\Repos\expo\expo\android\versioned-react-native\ReactAndroid\hermes-engine\.cxx\MinSizeRel\5a4n485h\arm64-v8a\lib\InternalBytecode\InternalBytecode.js'
}

I also get a warning about incompatible dependencies with expo:

Some dependencies are incompatible with the installed expo version:
<EMAIL_ADDRESS>- expected version: ~2.2.1
<EMAIL_ADDRESS>- expected version: ~1.0.0
<EMAIL_ADDRESS>- expected version: ~0.18.2
<EMAIL_ADDRESS>- expected version: ~0.16.4
<EMAIL_ADDRESS>- expected version: 0.71.7
<EMAIL_ADDRESS>- expected version: 13.4.0
Your project may not work correctly until you install the correct versions of the packages.
Install individual packages by running npx expo install<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
But running the recommended command in the apps/expo and packages/app folders still gives the same error when running yarn native
Expected Behavior
No response
Tamagui Version
v1.17.0

Reproduction
npm create tamagui@latest
yarn native
Press a to open Android (Expo Go connected via usb)

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 4.37 GB / 15.75 GB
  Binaries:
    Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.5.0 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    @babel/runtime: ^7.18.9 => 7.21.0
    @manypkg/cli: ^0.19.1 => 0.19.2
    check-dependency-version-consistency: ^3.0.3 => 3.0.3
    eslint: ^8.21.0 => 8.37.0
    node-gyp: ^9.3.1 => 9.3.1
    prettier: ^2.7.1 => 2.8.7
    turbo: ^1.8.3 => 1.8.8
    typescript: ^4.7.4 => 4.9.5

I was able to fix the issue in the starter, I will post the steps shortly and see if I can create a pull request

So the error ERROR Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager.
is fixed by editing package.json in apps/expo to the specific version "react-native-svg": "13.4.0" instead of "react-native-svg": "^13.4.0". The newer version is not compatible with expo.
Also I noticed to other packages gave a warning that they were not compatible with expo and should probably also be fixed although I did not encounter any errors in the starter because of them:
Some dependencies are incompatible with the installed expo version:
<EMAIL_ADDRESS>- expected version: ~1.0.0
<EMAIL_ADDRESS>- expected version: 4.5.0
I also needed to delete and regenerate the yarn.lock file as it had a resolution to react-native-svg 13.9.0:
 "react-native-svg@npm:13.4.0":
  version: 13.9.0

I am not comfortable enough with this repo to test it and submit a pull request. Hope these explanations help to fix it

Thank you! I tried it and can confirm react-native-svg was causing the issue. I'll make a PR for this.


subscribe any new block we inject from WMAgent to DataOps ?

Followup to #5945. Talked to Nicolo and this could work technically.
Basically, when the WMAgent creates a new block in PhEDEx, ie. when file injections create a new block, immediately make a block level subscription for that block to the site we inject it at under DataOps.
This would help with space accounting for DataOps. Not sure if it would break anything else.

Please no, it would create an insane amount of mails/subscriptions. It looks much more easy - for me at least - to allow phedex group for data injection, since when we are injecting a block against a specific site, we are also saying this data is available there...

You can make a subscription without mails...

Data groups at injection time is a absolute no-go because injection is a file level operation, which ownership is recorded at block level. You need separate calls for them.

Hm, anyways I wonder if there would be any impact handling big datasets with 2k different subscriptions, that looks ... not clean to me.
But don't we have 2 separate calls anyways? We need to inject either a block and its files into TMBD.

You inject FILES (and this might or might not create a new block). You subscribe BLOCKS. Very different things.
Nicole said the extra subscriptions should be manageable. They would be temporary anyways because most of the data DataOps produces is eventually moved somewhere else for aggregation purposes, right ? That would remove the individual block level subscriptions from the system.

How the block names get defined them? When the agent injects file, does it get back the block name to which the file was injected? Thinking how we then have the same block name between DBS and PhEDEx...
Lots of things have changed in operation and I'm not sure anymore whether there is a final move subscription to aggregate data. @vlimant for sure knows that.

Not sure myself about your first question. The agent somehow gets the block name, not sure if that's a return from the file injection, it creates it upfront or it specifically checks for it. These three things come to mind. @ticoann , any comments on this ?

There is no "final move" for various practical reasons irrelevant to the question of whether should dataops own a block dataops inject

Without a final move this needs to be rethought. We cannot just leave blocks owned by DataOps scattered across the sites. At the very least all these subscriptions would need to be changed to be AnalysisOps. DataOps has limited space, we need to cleanup after ourselves.

#5945 """There are no more moves ; only transfers and deletes"""

My statement stands, DataOps doesn't have enough space available to them to not cleanup (where cleanup can be delete or subscribing to a different group) data it produces. The DataOps space is designed to keep processing input samples and to temporarily store processing output. Not permanently store processing output.

agreed, hence the deletes.

duplicate issue #5945

May we please re-open this and discuss this more ?


Decl no visitor! Stay at home!

This PR makes StmtOps a pattern-matcher and deletes all concrete decl visitors.

@tsao-chi your work should be greatly simplified with this PR

bors r+

bors r+


Client is not thread-safe

When executing a transaction without explicitly setting nodeAccountIds,  Network.getNodeAccountIdsForExecute is called to pick 1/3 nodes.
https://github.com/hashgraph/hedera-sdk-java/blob/c2c71e06e3b11618c43b004b19bd93f8fa3e2c05/sdk/src/main/java/com/hedera/hashgraph/sdk/Network.java#L89-L90
Since in the function, the list of nodes is sorted, when the same client is called in multiple threads to execute transactions, JVM will throw ConcurrentModificationException

This is a very good point. We've never seem to hit this issue, but Client should 100% be thread same since we support executing through the use of CompletableFuture. I think the only way we can truly fix this issue is by having a semaphore guard all methods on Client. However, this will slow down the Client quite a bit when attempting to send many transactions to Hedera.
Any thoughts on this @xin-hedera

@danielakhterov To solve the main issue here, can we simply stop sorting ?
I reviewed the implementation of how nodes are picked. We instead could keep an atomic index into the list and increment it on use. When picking the next node, check if its healthy, if not, skip and increment again.
It'd actually be as simple as setting any setX method on Client to be synchronized. The getters don't need to be. As the worst that can happen in the JVM there is you get old data on the variable.

It'd actually be as simple as setting any setX method on Client to be synchronized. The getters don't need to be. As the worst that can happen in the JVM there is you get old data on the variable.

Huh, yea I forgot about the synchronized keyword in Java. This would definitely solve the setters, and fair point about the getters. We'll also need to add synchronized to ManagedNode.inUse() since it increments useCount.

I reviewed the implementation of how nodes are picked. We instead could keep an atomic index into the list and increment it on use. When picking the next node, check if its healthy, if not, skip and increment again.

I see one issue with this. it ignores useCount of each node. The useCount variable is used to prioritized nodes which have been used less. For instance if a user submits a TopicMessageSubmitTransaction that spans multiple chunks then each one of those transactions will use the same node. E.g if the number of chunks is 5 and the node used is 0.0.3. This means we've used node 0.0.3 5 times, and we should try to use some other node(s) for the next serveral transactions until their useCount is equal to 5.  After which we can use node 0.0.3 again. Your implementation does implement round robin, but since it ignores useCount it will not equal distribute all requests to functional nodes.

I believe @andrix10 and I have fixed this here: https://github.com/hashgraph/hedera-sdk-java/pull/493 This PR continues to sort the list of nodes, but as protects the method with a semaphore. I cannot confirm this solves your issue as it's a difficult issue to test, but I do believe this will fix the issue.


Update introducing-jsx.md

修改一下表达方式，使初学者更容易理解。

不建议，这是根据英文翻译的。你可以看下英文，然后优化下，但是这么改，不合适。

Don't put quotes around curly braces when embedding a JavaScript expression in an attribute. You should either use quotes (for string values) or curly braces (for expressions), but not both in the same attribute.

@houguang Thanks for your contrubution. However, we have to keep the meaning of the context the consistent with the original English sentences. Please feel free to open a pull request in https://github.com/reactjs/reactjs.org first if an improvement of expressions is needed. We will modify this translation accordingly after the modification in reactjs.org is merged. I'll close this PR for the above reason. Thanks again.