ticker.financials, .cashflow, and .balance_sheet displaying blank data frame

I tried viewing some stock financials, cashflow, and balance sheet information, but when I tried the examples (msft.financial, etc.), I got an empty data frame with just the historical stock price headers.

I faced the same problem. There is a pull request, which does solve the problem for me and I can get the balance sheet/income statement and cash flow. Ajust you base.py according to https://github.com/ranaroussi/yfinance/pull/480

I posted the same problem a day later: #519

I also encountered this problem

I also encountered this problem

I created a fork and commits according to #480 .
If you're using pipenv you can try:
pipenv install -e<EMAIL_ADDRESS>for a simple and easy solution.
Please do note that this is a temporary solution until it's fixed here (and I might move/edit/delete that repo, so consider to fork and do it yourself)

I created a fork and commits according to #480 .
If you're using pipenv you can try:
pipenv install -e<EMAIL_ADDRESS>for a simple and easy solution.
Please do note that this is a temporary solution until it's fixed here (and I might move/edit/delete that repo, so consider to fork and do it yourself)

Yes, Solution in this PR works well. It's be great to merge it :)

Yes, Solution in this PR works well. It's be great to merge it :)

This is now fixed.


The original resnet prototxt?

Hi:
What's the difference between resnet50 and resnet 50 2X? Can you offer the original prototxt of resnet 50 2x? Thanks.

https://github.com/yihui-he/resnet-imagenet-caffe/blob/master/resnet_50/ResNet-50-test.prototxt
On Fri, Oct 13, 2017 at 11:21 PM, FatherOfHam<EMAIL_ADDRESS>wrote:

Hi:
What's the difference between resnet50 and resnet 50 2X? Can you offer the
original prototxt of resnet 50 2x? Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yihui-he/channel-pruning/issues/35, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AJkBS0RMVRXa_IVzlq6XRcN57H27W7C3ks5ssCiogaJpZM4P5PQn
.

--
Best,
Yihui He http://yihui-he.github.io/

Sorry to bother you again. Is there any pretrained model available?

you mean orig ResNet? you can download it from the author's github repo
On 10/13/17, FatherOfHam<EMAIL_ADDRESS>wrote:

Sorry to bother you again. Is there any pretrained model available?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/yihui-he/channel-pruning/issues/35#issuecomment-336606530

--
Best,
Yihui He http://yihui-he.github.io/

Nope. I mean the resnet50 2X which is modified from the origin resnet50 according to your paper or you mean I can prune the origin resnet directly with your code?

read the readme, there's a released model.
On Sat, Oct 14, 2017 at 1:34 AM, FatherOfHam<EMAIL_ADDRESS>wrote:

Nope. I mean the resnet50 2X which is modified from the origin resnet50
according to your paper or you mean I can prune the origin resnet directly
with your code?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yihui-he/channel-pruning/issues/35#issuecomment-336611731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJkBSxkCnu5-rKLmDy6gygFkOocneKXpks5ssEf5gaJpZM4P5PQn
.

--
Best,
Yihui He http://yihui-he.github.io/

I know. But it's already compressed. I am trying to use the resnet50 for multi-tag labelling. So I can not use the compressed model directly. I have to train it on the resnet50 before compression and then prune it. Otherwise, the performance would not be guranteed.

Sorry, I made a mistake. The problem is fixed now. Thanks for your time.

I have downloaded the original ResNet form the author's repo and run it against the pruned model that you kindly provided. Unfortunately, the prototxt of both models are not equivalent; the pruned model includes a lot of  type: Filter layers.

Inference Speed Results
CPU: 11.4 s ± 18.2 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
GPU: 109 ms ± 48.1 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
+----------------------------------------------------------------------------------------------------+
** Modified resnet-50-cp.prototxt 's input and output layers for deployment.
(I'm using a TitanX (Pascal), NVIDIA drivers v.384.90, CUDA v8.0.44 and, cuDNN  v.6.0.21)
Since the models are not equal this comparison is not fair. Would it be to much to ask you to share the original caffemodel you use to obtained the x2 pruned one?

X2 is in terms of FLOPS
Best,
Yihui He

From: Mario<EMAIL_ADDRESS>Sent: Wednesday, November 8, 2017 12:54:13 AM
To: yihui-he/channel-pruning
Cc: Yihui He 何宜晖; State change
Subject: Re: [yihui-he/channel-pruning] The original resnet prototxt? (#35)
I have downloaded the original ResNet form the author's repo and run it against the pruned model that you kindly provided. Unfortunately, the prototxt of both models are not equivalent; the pruned model includes a lot of type: Filter layers.

Inference Speed Results
CPU: 11.4 s ± 18.2 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
GPU: 109 ms ± 48.1 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
+----------------------------------------------------------------------------------------------------+
** Modified resnet-50-cp.prototxt 's input and output layers for deployment.
(I'm using a TitanX (Pascal), NVIDIA drivers v.384.90, CUDA v8.0.44 and, cuDNN v.6.0.21)
Since the models are not equal this comparison is not fair. Would it be to much to ask you to share the original caffemodel you use to obtained the x2 pruned one?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/yihui-he/channel-pruning/issues/35#issuecomment-342718296, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJkBS5Wckv-DXmYrg_lvTNBMiyeEpXEjks5s0UIFgaJpZM4P5PQn.

Yep. I also measured the FLOP haha
resnet-50-cp.caffemodel (pruned model):  2476.95 MFLOP
ResNet-50-model.caffemodel (original resnet):  3677.30 MFLOP
But still the pruned model performs slower. Ins't that strange? It would be better to compare the pruned model to the same model you use before pruning I think ^^

Whenever you get the chance,  please upload the ResNet.caffemodel that you used as base for pruning. It would be of great use haha


chore: Remove Python 3.7 from workflows

GCP auth libraries have dropped support for Python 3.7
Our CIs and nightly builds are failing as a result
Since Python 3.7 is deprecated in the SDK we are removing it from the workflows
We will drop support for Python 3.7 in the next major release
Additionally, skip integration tests on batch send APIs

We should also update setup.py

I think we can leave that till we officially drop 3.7 support in the next major version. This PR is just to remove the 3.7 versions from our CIs to unblock the release pipeline


Configure Dockerfile for filler microservice [Close #2]

We have prepared PR for filler Dockerfile.
Please review.

close #2


Parse strings into dictionaries in coerce-to-dictionary

Change-Id: Ib8656bb97ce9d9bfa9cdeb711b0f2425d834a8bf
General items:

[ ] I have updated the relevant documentation files under docs/
[ ] My code follows the:

[ ] Google Java style guide (for .java files)
[ ] Google JavaScript style guide (for .js files)

[ ] ant tests passes on my machine

If your code changes how something works on the device (i.e., it affects the companion):

[x] I branched from ucr
[x] My pull request has ucr as the base

Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):

[ ] I have updated the corresponding version number in YaVersion.java
[ ] I have updated the corresponding upgrader in YoungAndroidFormUpgrader.java (components only)
[ ] I have updated the corresponding entries in versioning.js

For all other changes:

[ ] I branched from master
[ ] My pull request has master as the base

What does this PR accomplish?
A common pattern is that a REST call using the Web component will return JSON, but the responseContent parameter is always a string. People naturally try to pass this into a dictionary block thinking it is a dictionary, but this errors out. This PR adjusts the logic of coerce-to-dictionary so that if it is given a string it will parse it into a dictionary. We might be able to make it more efficient if we somehow cache the result of the parsing so multiple calls don't result in multiple parsing passes, but that can be an improvement left for another time.

Note that this is just the iOS implementation. We'll want to implement the equivalent logic on the Android side as well.


Adding current class to last breadcrumb

In Foundation, the last breadcrumb has a class of current. This code adds this class to the last . This way it's possible to style ".current" using the corresponding breadcrumbs sass variables

You still didn't close the <li>s

Why is this merged??

@austinpray As I can see,  is where it should be, github hid it, you need to "expand" from the line number column.

 is in line 41. Perhaps adding it right after the  element would have been clearer, but I opted for changing as few lines as possible. The  is where it was initially


Roadmap for OpenCL / Windows support

Thanks for your nice efforts! I will start using this library for a small project.
Unfortunately I am currently limited to a windows workstation with a CUDA gpu and a MacBook Pro with an external GPU.
This means though that I have currently no option to use GPU acceleration for flashlight.
Do you have rough estimates by when you want to support either windows or OpenCL?

Hi Daniel,
What are the issues you are facing with the HW that you are using ?

hi gilad @avidov ,
thanks for your reply.
actually the hardware is not the problem, but the software/OS policy I have to follow.
my options for hardware acceleration :

windows build is not supported
cuda docker is not supported on windows host
mac os only supports amd, but opencl is not yet implemented

i am currently working with cpu backend, but would be curious if one of the above will be supported in the near future
thanks a lot for your efforts!

Support for diffrent backend is already in the pipeline, including for AMD, however release date is not set yet.

Thanks for the info.


Add option to disable overwriting the dap internal ui

Hello,
thank you for writing and maintaining this very useful plugin. I would like to make one improvement.
I'm using dressing.nvim that already overwrites vim.ui.select so I don’t need this plugin to overwrite the internal ui once more.
This PR adds an option to disable overwriting the internal ui. I also updated the README.md to reflect this.

Hi @Conni2461, I made the changes you requested. Would you take a second look?


ctag changing on jpg uploads

We are seeing that the ctag of a jpg image file item is changing after upload, seemingly on its own.
On successful upload the item resource will contain a ctag value, which we record. On a subsequent query on the item, the ctag will have changed (within 30 seconds) to another value. The end result is that our client thinks the file has been updated remotely.
This seems to be recently changed behavior, as our integration code hasn't changed for a while. So far we are only seeing this on .jpg files. Other file types seem unaffected, maintaining their original ctag.
Is this expected?

Hi @amagliul, do you also observe the hash of the file changing when the CTag value changes?
The short answer is: yes, the CTag can change without your application doing anything to the file. There are really two scenarios that can trigger this:

Another application
The service itself

In your case you're most likely seeing *#*2 since you mentioned uploading an image. When an image is uploaded to the service it is immediately accepted, but asynchronous processing is queued for the generation of thumbnails and other metadata related activities that would otherwise delay file uploads. As to why you're only seeing this recently I'm not sure - technically this behavior has been present for quite a while now.
But TL;DR: yes it's expected that the CTag can change outside of your apps knowledge.

I appreciate the swift response Brad. Thank you!
It is possible that this behavior has existed, but went unnoticed until recently. I am trying to verify that.
To provide a little more info: we have a synchronization client that currently uses ctag to determine if file content has been changed. Since the ctag here is modified, despite there being no discernible change to the file content (the MD5 hash is the same after the ctag is changed), it limits the usefulness of the content eTag, especially if the OneDrive service can conceivably change this value at any time without the item content actually being changed.
What would be your advice for dealing with this particular behavior? We would like reference an authoritative "marker" for item resource content changes. I see there is a hashes facet. Is this value populated by the OneDrive service after upload?
Thanks!

I would argue that if the content of the file didn't actually change, having the CTag change is not valuable - I'll check into that.
In the mean time what you suggested is probably your best course of action - the hashes facet will contain a SHA1 value that is a hash of the files contents and so you can detect a change in content by a change in its value.

Actually, I need to clarify - are you hitting the Consumer API or the Business API?

Sorry for the tardy reply. We integrate with both OneDrive and OD4B. OneDrive is the more common though. I realize that hases aren't available on OD4B.
I would prefer to use cTag, if possible. It seems like it should be usable in this scenario. Thanks for looking at it and please let me know what you find.
Thanks!

Thanks for the info @amagliul - I can easily repro this on the consumer endpoint and can confirm your observations and expectations. If the content has not changed (i.e. the hash is the same) I would NOT expect the CTag to change. I'll follow up with the appropriate people and see if we can figure out what's going on.

Much appreciated @ificator! Props to you and your team for the swift attention on this.

Just to update this, we've found a recent change that is causing this behavior and are trying to figure out the best path forward.

Excellent! Thanks for keeping me in the loop.

@ificator any update on this

This should be resolved now - let us know if you still notice anything strange.

I missed this earlier, but I appreciate the update. Thanks for resolving!


Add macos to build scripts

The Linux build does not work for MacOs. exec format error is thrown in zsh, building a binary for MacOs fixes this and helped successfully flashing my robots (tested on MacOs 13.1 non Apple Silicon). Not sure if you want the publishing part I just added it out of completeness

Duplicate of #6, #10


nextflow

Hi
I met a error about nextflow. I used nextflow version 20 in ubuntu. Could you help me?
N E X T F L O W  ~  version 20.10.0
Launching /software/make_lastz_chains/Tele2Ppup/TEMP_run.lastz/lastz_PpupTele/script.nf [romantic_albattani] - revision: d48f32974e
/tmp/nxf-13131159217981153035
/software/miniconda3/envs/NF/lib/python3.8/site-packages/py_nf/py_nf.py:404: UserWarning: Nextflow pipeline lastz_PpupTele failed! Execute function returns 1.

Hi! If it's still relevant, a new, completely rearranged version of the pipeline will be released today or tomorrow. Probably, it will be no longer an issue.


add conditional publishing steps for Anaconda channel

close #12

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27

Relevant Lines:
28

💛  - Coveralls

Success!

Upload complete
conda package located at:
https://anaconda.org/prjemian/ym2021_prj


Upgrade to V1.0.25: Unable to load this plugin class

Expected behaviour
After upgrade to V1.0.25 and opening Kanboard in Chrome I immediately get the errormessage:
"Internal Error: Unable to load this plugin class \Kanboard\Plugin@eaDir\Plugin"
No logon screen.
V1.0.24 still works fine.
What is wrong?
Configuration

Kanboard version: 1.0.25
Database type and version: Mariadb 5.5.44
PHP version: 5.5
OS: Synology
Browser: Chrome

The answer is there: https://github.com/fguillot/kanboard/issues/1532

It works. Thanks for the answer.
Regards
Frank


Problem updating: "Update failed: server responded with code 404."

When clicking the update icon in Stylus, the icon goes red, and the tooltip for it looks like this:

Ah, looks like this file was removed in https://github.com/pyxelr/Dark_Google_Calendar/commit/e99e510a1c59da404eeb9f276b39f3af7fd12508.  I uninstalled and reinstalled the style, and things are working great.

I'm going to close this issue because I found a viable workaround :+1:

Exactly, the error is caused by the mentioned commit and resolved by reinstalling the style. That time, I was fixing the SemVer versioning issue, and in the result, I changed the file name for the .user.css file. This is why Stylus responses with 404 due to an outdated @updateURL parameter.
I am happy to see that you resolved it on your own. :)


Add DeleteResolver and DefaultDeleteResolver

Closes #99
@nikitin-da please review carefully

To prevent compatibility issues, if we will want — we'll be able to open
constructor later
сб, 14 марта 2015, 15:40, Dmitrii Nikitin<EMAIL_ADDRESS>
Merged #111 https://github.com/pushtorefresh/storio/pull/111.
—
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/pull/111#event-253612461.


[incubator/draino] Adds chart to deploy Draino in a cluster

What this PR does / why we need it:
Adds a chart for Draino. https://github.com/planetlabs/draino
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
New chart,  please let me know what needs to be fixed.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

Can this be revisited, it would be great to have this available!


415 snapshot testing for UI buttons

I actually misread the issue as add "snapshots for base components" but it was only about UI buttons I just realized.
So, this PR adds snapshot testing for Typography, Buttons, Tabs, Divider, and INatIcon.
For all components except INatIcon, I also updated or created the UI to be like the design specs.
Closes #415

Tests are failing because of translation issues with accessibility props. This should be addressed by https://github.com/inaturalist/iNaturalistReactNative/tree/448-handle-timeless-dates-i18n-init


lyra_android_example.so

How to make the so file of lyra_android_example. Can you send me a copy if possible? Many thanks.

Thank you for your answer.

@aluebs Hi, we're trying to implement the encode and decode method separately on Android, but we encountered a crashed with the app. If it's ok for you to share a .so library file on your github, we don't have a clue to fix it. Really appreciate your help.


REQUEST: Release money making models you trained

No there aren't any pre-trained models.
Originally posted by @mwbrulhardt in https://github.com/tensortrade-org/tensortrade/issues/151#issuecomment-618475150
There is obviously an issue that mwbrulhardt did not understand: WE NEED THE MODELS!
REQUEST: Release them for free ASAP!
Thanks!

Sure! While we're at it, you should send me your BTC address so I can send you some free money as well. ;)


added scarb 0_6_1 and 0_6_2

scarb 0.6.1 -> 0.7.0 added and tested
todo: 0.5.0 -> 0.5.2

Closing this.


add readmes for all sample folders

Add readme file and screenshots for each sample app (task 113726)

@CesarValiente this one OK?

Sure! here won't be any new change ;-)


some errors in using 'uno. config. ts'.

<EMAIL_ADDRESS><EMAIL_ADDRESS>my uno.config.ts:
import {
  defineConfig,
  presetAttributify,
  presetIcons,
  presetUno,
  transformerDirectives,
  transformerVariantGroup,
} from 'unocss'

export default defineConfig({
  presets: [
    presetUno(),
    presetAttributify(),
    presetIcons(),
  ],
  transformers: [transformerDirectives(), transformerVariantGroup()],
})

and vscode extension is also successfully loaded it, but when i started vite, i got a error:

it doesn't seem to be loaded correctly.
I try to use vite.config.ts to configure it and it's ok,is this a bug?

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Website not displaying anything besides the "Fork me on GitHub" banner

Is this an issue with my browser, my network connection or the source code? Thanks.

Browser: Google Chrome version 96.0.4664.45 (64-bit)

Thanks for reporting. I've changed the url to jsdelivr CDN and made mistake, it was so simple change that I didn't tested if the app works.

Should be fixed now.

Thank you very much.


Add Missing data issue template

I don't understand....this file looks exactly the same as the one we just merged. Not sure why this template is showing up in the list.


Get karma browser tests running again

@hipstersmoothie on it

Oh wait!

Before you do this I think you should look into using this project
https://twitter.com/HipsterSmoothie/status/1622298963486572544
It seems a bit newer and support using playwright which would be really nice to use.

It might also be easier to get playwright running on CI than karma

we use vitest browser mode now


What to do about it?

Hi,
It would be nice if this page contained a few hint to why i might be seeing this message and maybe even provide basic troubleshooting steps.
"The previous version was not found." does not tell me anything about what is going on and im even in doubt about what piece of software is referenced.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8f61cd59-2143-1f4f-5e63-379979e98ab4
Version Independent ID: 165b0142-f0aa-ac06-df78-ba0645be1fc3
Content: The previous version was not found - Business Central
Content Source: dev-itpro/developer/analyzers/appsourcecop-as0003-previousversionnotfound.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: SusanneWindfeldPedersen

Thanks for the feedback. This topic has been improved with an earlier refresh. Thanks.


Only write offchain nonce to account if the nonce is greater

Description of proposed changes:
When testing the nonce hotfix on the authority nodes, two of the authorities got into a bad state. I'm not 100% sure what led to the situation, but the nonce is offchain storage ended up behind the real nonce on-chain. That meant that all transactions were failing because the nonce was stale, and it wouldn't heal because we were unconditionally writing the nonce we have in offchain storage.
This PR makes it so we only update the nonce to the offchain nonce if the nonce is greater than the on-chain nonce. That way we would heal if we end up in this situation in the future. (This change also fixed the issue in the two authority nodes I was hotfixing).
(To expand, this makes sense because on-chain storage may know about transactions that offchain storage doesn't - for instance if we sent a transaction from an authority account through the block explorer or something -- in that case our offchain nonce would be behind since we didn't make the transaction from the OCW).
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #477 (b66a605) into dev (664b3e4) will increase coverage by 0.38%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #477      +/-   ##
==========================================
+ Coverage   75.67%   76.05%   +0.38%
==========================================
  Files          45       45
  Lines        8444     8475      +31
==========================================
+ Hits         6390     6446      +56
+ Misses       2054     2029      -25

Impacted Files
Coverage Δ

pallets/creditcoin/src/ocw.rs
96.22% <100.00%> (+0.07%)
:arrow_up:

primitives/src/lib.rs
93.33% <0.00%> (+90.00%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Adding to your explanation. We learned yesterday that the OCW thread pool is limited to the logical CPU count. The OCW hook is blocking and reasonably assuming the hook is scheduled in ascending block height order, the lagged OCW hooks could be running behind the current tip proportionally to the OCW hooks' lifetime (queued tasks basically). Say the task queue is full enough so that at height 8, hooks 1-4 haven't finished. By the time hook at 5 runs, onchain state @ 5 will have a nonce way behind off-nonce. Without the PR's comparison, a stale nonce will be copied to the off-nonce. Thus, off-nonce potentially gets behind the nonce.


Moving build_api_url() off of datastore Connection.

Also sending DEFAULT_USER_AGENT header instead of relying on the Connection.USER_AGENT property.

I can haz code review?


Pushbullet Error

After I try to log in with my google account to Pushbullet I get this error:
Sorry, something went wrong.
Local Storage seems to be unaccessible to us.
Do you have cookies disabled?
Some browser extensions can conflict with our site. Temporarily disable them to test this.
If you still can't log in, send us an email at<EMAIL_ADDRESS>I'm using the latest version of Franz. What can I do about it?

I have the same error and have this additional information to add.
By using the Service Developer Tools, I have these messages on the console:

This particular error message is a bit weird since the dev tools show that the local storage contains an access_token key that looks like it contains a sensible value, very similar to that of Pushbullet.com successfully signed into Chrome.

This issue is still unresolved. Not sure what's causing it, but it's making the Pushbullet service completely unusable on MacOS.

This issue is still unresolved. Not sure what's causing it, but it's making the Pushbullet service completely unusable on MacOS.

Same problem, still unresolved. I'm on Win10.


Scorecard push custom and kuttl multiarch images

Description of the change:
now that scorecard-test-kuttl is based off of kuttl v0.5.2 which is a multiarch image, we can build the arm64 and ppc64le images of scorecard-test-kuttl, also this PR pushes the scorecard custom image to assist in testing of that image and be consistent with the other scorecard images.
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[x] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

https://travis-ci.org/github/jmccormick2001/operator-sdk/builds/719405018
seems to pass all green on the deploy jobs.

note:  I've changed this PR to not push the custom image, but still build it to insure it will build and not get state as before, I left the kuttl multiarch build/push as before.


Doorkeeper 2 & Wine Bouncer

Hey Antek,
Thanks for all your hard work with wine bouncer. It's a great gem!
I was planning to use it with Doorkeeper 2.0.1 and I noticed that I get this error from master
Bundler could not find compatible versions for gem "doorkeeper":
  In Gemfile:
    wine_bouncer (>= 0) ruby depends on
      doorkeeper (~> 1.4.0) ruby

    doorkeeper (2.0.1)

I see there's a doorkeeper 2 branch but it's only 1 commit higher than master. It looks the build is passing. Is it cool to use doorkeeper 2 and wine bouncer? Is there anything I should be watching out for?

It appears that doorkeeper 2.0.1 isn't working either :(.
λ →  bundle install
Fetching https://github.com/antek-drzewiecki/wine_bouncer.git
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "doorkeeper":
  In Gemfile:
    wine_bouncer (>= 0) ruby depends on
      doorkeeper (<= 2.0.0.alpha1, >= 1.4) ruby

    doorkeeper (2.0.1)

It appears that doorkeeper 2.0.1 isn't working either :(.
λ →  bundle install
Fetching https://github.com/antek-drzewiecki/wine_bouncer.git
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "doorkeeper":
  In Gemfile:
    wine_bouncer (>= 0) ruby depends on
      doorkeeper (<= 2.0.0.alpha1, >= 1.4) ruby

    doorkeeper (2.0.1)

I was able to get the tests running and passing with minor changes. The only blocker was copying the method definition from https://github.com/doorkeeper-gem/doorkeeper/commit/e0ecef7b6a2e1a6ddc9f6ae774a05cfe71b2f075#diff-2dac7b5ba275c2921a0ad8385afea15bR209 since the rails_helper was relying on it. I just sent a PR. Please review and let me know if there's anything I can do to help.

I was able to get the tests running and passing with minor changes. The only blocker was copying the method definition from https://github.com/doorkeeper-gem/doorkeeper/commit/e0ecef7b6a2e1a6ddc9f6ae774a05cfe71b2f075#diff-2dac7b5ba275c2921a0ad8385afea15bR209 since the rails_helper was relying on it. I just sent a PR. Please review and let me know if there's anything I can do to help.

Hello! I was only able to test the integration recently and ran into some problems. First, I got an initialized constant error inside of where I registered WineBouncer as middleware. Requiring wine_bouncer solved the problem. Now, I get the following stack trace when I try to protect a route:
module V0
  module User
    class First < Grape::API
      desc 'Return the first User object'
      auth: { scopes: ['public'] }
      get :first do
        { user: ::User.first }
      end
    end
  end
end

=> Booting WEBrick
=> Rails 4.2.0 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/home/wasd/Programs/rails_projects/Swyp/app/api/user/first.rb:1:in `<top (required)>': User is not a module (TypeError)
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `block in load_file'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:647:in `new_constants_in'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:456:in `load_file'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:354:in `require_or_load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:494:in `load_missing_constant'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
	from /home/wasd/Programs/rails_projects/Swyp/app/api/api.rb:5:in `<class:API>'
	from /home/wasd/Programs/rails_projects/Swyp/app/api/api.rb:1:in `<top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `block in load_file'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:647:in `new_constants_in'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:456:in `load_file'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:354:in `require_or_load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:494:in `load_missing_constant'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
	from /home/wasd/Programs/rails_projects/Swyp/config/routes.rb:4:in `block in <top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:423:in `instance_exec'
	from /home/wasd/.gem/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:423:in `eval_block'
	from /home/wasd/.gem/ruby/2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:401:in `draw'
	from /home/wasd/Programs/rails_projects/Swyp/config/routes.rb:1:in `<top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in `each'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in `load_paths'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:16:in `reload!'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:26:in `block in updater'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/file_update_checker.rb:75:in `call'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/file_update_checker.rb:75:in `execute'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:27:in `updater'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `call'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
	from /home/wasd/Programs/rails_projects/Swyp/config/environment.rb:5:in `<top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /home/wasd/.gem/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
	from /home/wasd/Programs/rails_projects/Swyp/config.ru:3:in `block in <main>'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:55:in `instance_eval'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:55:in `initialize'
	from /home/wasd/Programs/rails_projects/Swyp/config.ru:in `new'
	from /home/wasd/Programs/rails_projects/Swyp/config.ru:in `<main>'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:49:in `eval'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:49:in `new_from_string'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/builder.rb:40:in `parse_file'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/server.rb:299:in `build_app_and_options_from_config'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/server.rb:208:in `app'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:61:in `app'
	from /home/wasd/.gem/ruby/2.2.0/gems/rack-1.6.0/lib/rack/server.rb:336:in `wrapped_app'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:139:in `log_to_stdout'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:78:in `start'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:80:in `block in server'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `tap'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `server'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /home/wasd/.gem/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
	from /home/wasd/Programs/rails_projects/Swyp/bin/rails:8:in `require'
	from /home/wasd/Programs/rails_projects/Swyp/bin/rails:8:in `<top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/client/rails.rb:27:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/client/rails.rb:27:in `call'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/client/command.rb:7:in `call'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/client.rb:26:in `run'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/bin/spring:48:in `<top (required)>'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/binstub.rb:11:in `load'
	from /home/wasd/.gem/ruby/2.2.0/gems/spring-1.2.0/lib/spring/binstub.rb:11:in `<top (required)>'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/wasd/.rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /home/wasd/Programs/rails_projects/Swyp/bin/spring:16:in `<top (required)>'
	from bin/rails:3:in `load'
	from bin/rails:3:in `<main>'

I just realized I missed the comma at the end of desc. Looks like everything is working great. Thanks again for your hardwork! :+1:

Sorry that i didn't reply earlier. I was on a holiday. Good that you solved your issue.
The Doorkeeper 2.0.1 support will be there any time soon.

Happy holidays! Thank you very much for your hard work.


Host Dataset externally - plot_boxes

Try to host dataset externally on any web server/cloud and use the URL to extract the data directly into dataFrame/download as a .csv file local repo.

I know that hosting on Kaggle is still amongst the options being considered but I do feel that that meaning there's the extra step for a fresh user of making an account on Kaggle to be able to do the data download is very plausibly a non-negligible barrier that we want to avoid. I am noting that to keep us thinking about it but I am certainly still game for seeing the full side-by-side that includes Kaggle as an option and fully weighing the pros and cons.

For Kaggle, the user needs to have a Kaggle account for sure. To download from Kaggle, as a part of the extraction the user will require kaggle username, Dataset name. Also the user will have a create a Kaggle API(it's a one-time step)
sample code:
from zipfile import ZipFile
import pandas as pd
from kaggle.api.kaggle_api_extended import KaggleApi# Initializing Kaggle API
api = KaggleApi()
api.authenticate()# Dataset slug (name including owner) on Kaggle
dataset_loc = 'srinidhiyerabati/Test-box-plots'# dataset loc on kaggle as username/Dataset name
api.dataset_download_files(dataset_loc)# download
zip_file_path = '/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/Test-box-plots.zip'
Extract the zip file
with ZipFile(zip_file_path, 'r') as zip_ref:
zip_ref.extractall('/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/')
file_path = '/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/detections_plotBoxes.csv'
df = pd.read_csv(file_path)
print(df.head())

For Kaggle, yes the user must have

account created because Kaggle username is required

Dataset name

sample code:
from zipfile import ZipFile
import pandas as pd
from kaggle.api.kaggle_api_extended import KaggleApi# Initialize Kaggle API
api = KaggleApi()
api.authenticate()#  authenticate the owner's name and dataset
dataset_loc = 'srinidhiyerabati/Test-box-plots'# username/Dataset name on Kaggle
api.dataset_download_files(dataset_loc)# download
zip_file_path = '/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/Test-box-plots.zip'
Extract the zip file
with ZipFile(zip_file_path, 'r') as zip_ref:
zip_ref.extractall('/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/')
file_path = '/home/srinidhiyerbati/Desktop/Srinidhi_Yerabati/animl-py/animl-py/detections_plotBoxes.csv'
df = pd.read_csv(file_path)
print(df.head())


Warhammer Online (return of reckoning) graphics pipelines keep going up few minutes until crash

currect version bug
hud show graphics pipelines : 70000+ keep going up few minutes until crash
currect version solved
https://github.com/Joshua-Ashton/d9vk/issues/28
fixed cant see any floating icon / hp_bar / all_name
fixed cant see any spell effects
but a bit strange than the original special effects
Software information
Warhammer Online (return of reckoning)
System information

GPU: GTX 750
Driver: 430.14.0
Wine version: 4.8
DXVK version: https://github.com/Joshua-Ashton/d9vk/commit/db2612cf74d9a95c6a38c3376f72ff8eb660b453

Log files

d3d11.log:
dxgi.log:
ror_debug190701.log

When I asked you to make this issue, I also asked for a trace 🐸

thank you very much :)
crash bug was fixed with this version https://github.com/Joshua-Ashton/d9vk/commit/346883d49af1676b8415d585299d08212fdb2dae


How to configure properties coming from Spring config server as bootstrap properties of client application

That is not possible, bootstrap.properties needs to be local

So That means, as per your response,
I can't use properties &values coming from spring config server at client app as bootstrap properties ?
i.e. using server shared properties for bootstrapping client application (without mentioning again same in client bootstrap file).

I can't use properties &values coming from spring config server at client app as bootstrap properties ?

No.  What properties are you trying to use?

I want to get consul host details "spring.cloud.consul.host=" from config server and then client should connect to respective consul when we start up.
So here I don't want to configure  "spring.cloud.consul.host=" in side client bootstrap properties.
is it possible? then what can I do?

I can't use properties &values coming from spring config server at client app as bootstrap properties ?

No. What properties are you trying to use?

I want to get consul host details "spring.cloud.consul.host=" from config server and then client should connect to respective consul when we start up.
So here I don't want to configure "spring.cloud.consul.host=" in side client bootstrap properties.
is it possible? then what can I do?

You can't do that. If you are only using consul for discovery, you can put those values in application.yml. If you are using it for configuration, I'm not sure that makes sense in combination with config server.

Thank you so much @spencergibb for your time and information.


TensorflowJS Issue : Looking for previous version of cusolver64_10

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlowJS version: 3.6.1
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11.3
GPU model and memory: RTX 2060 MAXQ
Describe the problem
GPU build is looking for cusolver64_10 instead of latest cusolver64_11 version

@fireholster ,
Issues related to TensorflowJS are tracked in tensorflow/tfjs repo.

sure let me open it there

@fireholster ,
Please feel free to move this issue to closed status, if new issue was submitted in tfjs repo  so that we can track the issue there. Thanks!

moved it to tensorflow/tfjs reo


🐛 [V3] VisionCameraProxy.initFrameProcessorPlugin does not exist

What's happening?
I try create FrameProcessor plugin, read instruction on site, but get error
Property 'initFrameProcessorPlugin' does not exist on type 'TVisionCameraProxy'. Did you mean 'getFrameProcessorPlugin'?ts(2551)
FrameProcessorPlugins.d.ts(21, 5): 'getFrameProcessorPlugin' is declared here.
Reproduceable Code
import { VisionCameraProxy, type Frame } from 'react-native-vision-camera';

const _frameToBase64 = VisionCameraProxy.initFrameProcessorPlugin('frameToBase64');

Relevant log output
Property 'initFrameProcessorPlugin' does not exist on type 'TVisionCameraProxy'. Did you mean 'getFrameProcessorPlugin'?ts(2551)
FrameProcessorPlugins.d.ts(21, 5): 'getFrameProcessorPlugin' is declared here.

Camera Device
any

Device
iPhone 11 Pro
VisionCamera Version
3.4.1
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Ah yea sorry, I already updated the docs for 3.4.2. It is called getFrameProcessorPlugin now, but will be called init... in the next release.

When will be next release?

idk, maybe today maybe tomorrow


Gateway sends response with invalid Sec-WebSocket-Protocol header

Gateway with version:
5.0
Can the bug be reproduced in a Kaazing demo out-of-the-box?
No
Steps to reproduce:
Install ActiveMQ, a recent version that supports MQTT. You can tell, because ACTIVEMQ_HOME/conf/activemq.xml contains an MQTT <transportConnector>:
<transportConnectors>
    ...
    <transportConnector name="mqtt" uri="mqtt://<IP_ADDRESS>:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
    ...
</transportConnectors>

Install Gateway 5.0.
Configure the gateway using the gateway-config.xml file at the end of this post.
Place the mqtt.html file at the end of this post into GATEWAY_HOME/web/base.
Download the Paho MQTT Javascript library and place it in GATEWAY_HOME/web/base.
Open mqtt.html in a browser: http://localhost:8000/mqtt.html. This will connect, send a message, receive an echoed response, and write it to the screen.
However in this case it will fail, and nothing will be written to the screen. The Javascript console will have an error like this:

WebSocket connection to 'ws://localhost:8080/mqtt' failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received

Using the Chrome browser, open the Developer Tools, and click the Network tab. Refresh the page. Find the row for the WebSocket connection (where the Type column says "websocket". Click the row to see the headers.
Notice the request headers have this:
Sec-WebSocket-Protocol:mqtt

and the response headers do not contain the Sec-WebSocket-Protocol: header. This is in violation of the RFC 6455 spec, which says:

The client can request that the server use a specific subprotocol by
including the |Sec-WebSocket-Protocol| field in its handshake.  If it
is specified, the server needs to include the same field and one of
the selected subprotocol values in its response for the connection to
be established.

The expected behavior is that either the Sec-WebSocket-Protocol: header says "mqtt", or that the connection is closed.
Back-End System with version
ActiveMQ 5.13.2
Client Technology:
Javascript
Browser with Version:
Chrome, latest.
gateway-config.xml
<?xml version="1.0" encoding="UTF-8" ?>
<gateway-config xmlns="http://xmlns.kaazing.org/2014/09/gateway">

  <properties>
    <property>
      <name>gateway.host</name>
      <value>localhost</value>
    </property>
    <property>
      <name>gateway.port</name>
      <value>8000</value>
    </property>
  </properties>

  <service>
    <name>base-directory</name>
    <description>Directory service for base files</description>
    <accept>http://${gateway.host}:${gateway.port}/</accept>

    <type>directory</type>

    <properties>
      <directory>/base</directory>
      <welcome-file>index.html</welcome-file>
      <error-pages-directory>/error-pages</error-pages-directory>
      <options>indexes</options>
    </properties>

    <accept-options>
        <tcp.bind>${gateway.port}</tcp.bind>
    </accept-options>
  </service>

  <service>
    <name>mqtt-proxy</name>
    <accept>ws://${gateway.host}:8080/mqtt</accept>
    <connect>tcp://${gateway.host}:1883</connect>

    <type>proxy</type>

    <cross-site-constraint>
      <allow-origin>*</allow-origin>
    </cross-site-constraint>

  </service>

</gateway-config>

mqtt.html
<!DOCTYPE html>

  <title>MQTT Test</title>

MQTT Test

That is really a bug with the gateway and not the javascript.client.  For the ws to tcp proxy, there is currently no feature in the gateway that allows you to configure the websocket to tcp proxy to know what subprotocols it should accept, or deny, or perhaps even route differently…  The subprotocol the websocket has selected can’t really be sent out to the backend  because the backend is speakng tcp.  So as the gateway is currently implemented, for any practical application with the gateway configured as a ws to tcp  proxy there probably isn’t a need for a subprotocol to be sent…To fix your bug we probably require some thought to the configuration on what we want to implement, and then we could default it in the case of ws to tcp proxy so it works out of the box with out people tripping on it, i.e. probably always send back all the protocols.  I’ve added the needs requirements label and we should probably pull that into a user story, all be it a small one

Perhaps we could configure it via an accept option, i.e.
<service>
    <name>mqtt-proxy</name>
    <accept>ws://${gateway.host}:8080/messagingservice</accept>
    <connect>tcp://${gateway.host}:1883</connect>

    <type>proxy</type>

    <cross-site-constraint>
      <allow-origin>*</allow-origin>
    </cross-site-constraint>

   <accept-options>
      <ws.sec-websocket-protocol>mqtt<ws.sec-websocket-protocol>
   </accept-otpions>

  </service>

<service>
    <name>mqtt-proxy</name>
    <accept>ws://${gateway.host}:8080/messagingservice</accept>
    <connect>tcp://${gateway.host}:1884</connect>

    <type>proxy</type>

    <cross-site-constraint>
      <allow-origin>*</allow-origin>
    </cross-site-constraint>

   <accept-options>
      <ws.sec-websocket-protocol>amqp<ws.sec-websocket-protocol>
   </accept-otpions>

  </service>

Where an accept to ws://${gateway.host}:8080/messagingservice gets routed based on the ws.sec-websocket-protocol, or gets dropped (not sure what the right response code is), if it isn't listed

The behavior for the server when if finds no Sec-Websocket-Protocol that matches the client is underspecified, on whether it should return a 404 (or other appropriate http response code) or return a 101 with out the Sec-Websocket-Protocol header.  Today, judging from our code we return a 404 when we have services only bound to  Sec-Websocket-Protocol.  And we return the empty header when there is one Websocket bound with out a next protocol.
As such, from a practical point of view its unclear whether the 101 without the header is off spec, but perhaps it is better to send a 404.  The trade off is that clients can accurately report the issue with the 101, where a 404 may appear to be a url problem and not a next protocol problem.  However, the 404 more accurately reflects that the client (if written to spec) can not actually use the websocket, and it seems to better align with how we do bindings. Regardless, modifying the server to send a 404 for all the cases above with out the corresponding user story to expose next protocol would break unspec compliant websocket clients (like our current 4.x clients), and would make it impossible for people to use our proxy for anything that requires next protocol.  Likewise, making the client spec compliant with out the feature would invalidate that use case.   As such, the order of operations on this should be:

Add the new feature the gateway (add demos to gateway-config with this)
Make 5.x client spec compliant, with added spec test for when the header is empty,
When 4.x clients are phased out for this use case, change the gateway to send a 404 or other response code for this

Note, this code can got back in when this is complete: https://github.com/kaazing/gateway/pull/509


sign up page

Is anyone working on the sign up page? I would like to work on it.

Was going to ask the same thing for login / what we are using for authentication

@Ni-vik No one is working on the sign up page
I'll assign you to work on it
Thank you for checking out the project
@jk1551 We will be using supabase for Authentication


Data not current

Hi,
the data pulled today (26 June) does not seem to be current:
    library("COVID19")
    x <- covid19(level = 1)
    max(x$date)
    ## [1] "2020-06-24"

What am I doing wrong? Many thanks for looking into this.

Hi @enricoschumann, sorry for the late reply.
This should be fixed now. See https://github.com/covid19datahub/COVID19/issues/84
Thanks!


Moving to ubuntu-22.04 to resolve TSAN warnings

https://github.com/project-chip/connectedhomeip/issues/14710 shows that TSAN errors are resolved in ubuntu-22, so moving our CI this way.

Tagging @andy31415

I think that this PR can be now closed as per GitHub latest change:
https://github.blog/changelog/2022-12-01-github-actions-larger-runners-using-ubuntu-latest-label-will-now-use-ubuntu-22-04/


Update live version of the website

Version of the website deployed for the Bio-Formats 6.0.0 announcement

Merging to capture the current deployment state of the website.


[sil-generic-specializer] Don’t build a new generic signature in case of a full specialization. NFC.

In case of a full specialization, the specialized function does not have a generic signature. Therefore there is no need to build it.
This speeds up the compilation by avoiding doing a useless work.
Also, print more debug info when asserting during specialization lookups.

@swift-ci please smoke test and merge


ComponentParameterCollectionBuilder.Add() for EventCallbacks doesn't support async callbacks with input

While there are several overloads of the Add() method having Func<Task> callback parameter, the ones accepting Func<object, Task> callback or Func<TValue,  Task> callback are just missing - the non-async versions using Action<object> callback and Action<TValue> callback exist, though.

Hi @springy76, can you share a bit more about your use case? In what scenario do you need to perform an async operation on an event callback in your test code?

I'm testing some basic components like async-loading data visualizers and buttons (executing async code) which must be absolutely non-reentrant even when using Blazor-server.
There already is async support, but none of the method transports TValue of EventCallback for example MouseEventArgs where I want to access/log the details variable.

This extension method - copied from similar method in ComponentParameterCollectionBuilder<TComponent> itself - solved my problem:
public static class ExtensionsMethods
{
	public static ComponentParameterCollectionBuilder<TComponent> Add<TComponent, TValue>(this ComponentParameterCollectionBuilder<TComponent> builder, Expression<Func<TComponent, EventCallback<TValue>>> parameterSelector, Func<TValue, Task> callback)
		where TComponent : IComponent
	{
		return builder.Add(parameterSelector, EventCallback.Factory.Create(callback.Target, callback));
	}
}

Thanks @springy76. I would still like to see a test where you use it. We can certainly add a bunch more overloads, just want to make sure the I have use cases for them.

In short/abstracts I both need the values the EventCallbacks receive from the component in order to apply assertions on them, and also simulate fake work by returning Task.Delay() (real services used by the real event handlers would call REST or SQL services) so I can validate the component is rendering proper in-progress UI and also denies concurrent attemps of starting the same work.
Comparing with EventCallbackFactory.Create() overloads also only the 2 additional overloads mentioned in OP are missing.
My sketched use case as code (MouseEventArgs is a bad sample, other EventCallback values contain domain specific data of the app):
var cut = ctx.RenderComponent<RobustIconButton>(pb => pb
	.Add(c => c.OnClick,
		(MouseEventArgs e) =>
		{
			tracker.Track(e);
			return Task.Delay(500);
		})
	);

Maybe just my 2 cents to the whole topic, regardless whether or not the new API is introduced.
Imagine you have the following component:
<button @onclick="TriggerEventWithData">ClickMe</button>
@code {
  [Parameter] public EventCallback<string> OnClick { get; set; }

  private async Task TriggerEventWithData() => await OnClick.InvokeAsync("some payload string");
}

This is testable as of today:
string fromComponent = null;
var cut = context.RenderComponent<MyComponent>(c => c.Add(p => p.OnClick, c => fromComponent = c));

cut.Find("button").Click();

fromComponent.ShouldBe("some payload string");

Now also consider: Do you really want the behavior your posted before? You are kind of bound to the structure and don't test necessary observable behavior. Changes in your DTO or data you are passing around can make your test invalid, render the use-case of the test itself useless.
What I can imagine where you would need that is when a Child-Component should trigger the event and you want to test the behavior. Still here: Not sure if this is something someone wants. Even if so I guess going with the ComponentFactories and creating a stub might be a better way.

It's not about UI/input/form validation but validation=unit-testing (=asserting) that some events transport the right data (not string specific) - and yes, the situation is comparable to OnInitializedAsync where intermediary renders happen while async code is still executing.

@linkdotnet I think this is safe for us to add. It is basically a bunch of additional Add methinds in ComponentParameterCollectionBuilder. Do you have any objections or concerns?

@linkdotnet I think this is safe for us to add. It is basically a bunch of additional Add methinds in ComponentParameterCollectionBuilder. Do you have any objections or concerns?

Absolutely fine. Go for it ;)

Yes. I will leave this here as "up for grabs" for now.

I've started working on this issue, however, I've discovered that it may be impossible to expand the ComponmentParameterCollectionBuilder API without causing a breaking change in the compilation process.
If overloads that accepts Func<object, Task> or Func<TValue, Task> are introduced, and the client in his code passes null as a parameter to the already existed method, the compiler will be unable to determine the appropriate overload to invoke. This could lead to the following compilation error:
Error	CS0121	The call is ambiguous between the following methods or properties: 'ComponentParameterCollectionBuilder<TComponent>.Add(Expression<Func<TComponent, EventCallback>>, Func<Task>)' and 'ComponentParameterCollectionBuilder<TComponent>.Add(Expression<Func<TComponent, EventCallback>>, Func<object, Task>)'	bunit.core.tests (net5.0), bunit.core.tests (net6.0), bunit.core.tests (net8.0), bunit.core.tests (netcoreapp3.1)	C:\Projects\bUnit\tests\bunit.core.tests\ComponentParameterCollectionBuilderTests.cs	117	Active
Although it is unlikely that a null value will be passed to the ComponentParameterCollectionBuilder.Add() method as this triggers ArgumentNullException, it can't be assured that no one is catching this exception.
What are your thoughts? Can these overloads be introduced, even if it may break someone's compilation process?

Do you have any thoughts?
@egil @linkdotnet

@Qwertyluk, sorry for the late answer; that really went below my radar.
I believe that all parameters are non-nullable, so while this might cause an issue, I think it is fine as it mainly affects our own tests (which explicitly pass in a null!).

Yeah sorry about the lack of response. We don't want breaking changes from an end user point of view. If they can install a 1.x+1 version and their code still compiles that's good enough for us. It does not have to be binary compatible.

@egil If I've understood your reponse correctly, the proposed changes can't be implemented in version 1.x because they might break someone's compilcation process if they pass an explicit null value as a parameter to the existing method.
I've heard that you are developing version 2.x of bUnit. Can these changes be introduced in that version? If so, do you have any guideline for contribution for version 2.x of bUnit?

No different than contributing to main. Just checkout v2 and target that with your PR.

I think this issue is resolved now that the #1467 has been merged


Will be great a default option  skipQueue: true

I mean all mutation skip Queue, unless option skipQueue: false.
I developing an app where most of the mutation does no need to be in a queue, just some few.
Will be event better if we can name queues.
In my case my problem is when you are updating the same record (it need to be in a queue)
but if the system is updating several records several times at the barely the same time, will be great have different queues for each record.
Thanks for your time

but if the system is updating several records several times at the barely the same time, will be great have different queues for each record.

This makes sense. Enqueue per mutation name, rather than for all mutations. Please do open a PR!


Web vitals logging

Wouldn't it be nice to allow Ackee to track web vitals?
Frameworks like Next.js allow to include a function that reports those web vitals from users, tho I didn't find an analytics software that supports that and would work fine for me.

That's a great idea! I will add it to the list of potential features.

It's still something I'm interested in, but I'm closing this issue in favour of another one: https://github.com/electerious/Ackee/issues/207


feat!: remove file uploads feature

closes #500

@anulman can you confirm that the preview release works for you?

Looks like it! Builds are succeeding; I'll report back if I see any issues.

this seems like a fairly big regression for users who were dependent on uploading files. how long was that feature in play for before it got removed?

@avisra correct.

Seems like a very big feature to take out of the package.

file upload is an inevitability of building apps today. removing a feature like this, without a workaround, doesn't seem kosher. packages like graphql-request leaves a large code footprint - and replacing its implementation with another graphql library (which supports file upload) is not a task that can be completed overnight.
fully aware this is an open source library, and you are free to do with it what you want. but removing a feature like this should really have gone through voting... The issue about removing file upload wasn't even live on github for a week.

PRs welcome guys. Thanks.


Consider throwToolExit when archive extraction fails

The code here:
https://github.com/flutter/flutter/blob/34d4c7fe018f74c63e60b9f442fec6973c48caca/packages/flutter_tools/lib/src/cache.dart#L1794
rethrows an exception if the last download/extract retry fails. Instead we should consider it a network failure since the bits are likely corrupt, and throw a ToolExit as in the case above:
https://github.com/flutter/flutter/blob/34d4c7fe018f74c63e60b9f442fec6973c48caca/packages/flutter_tools/lib/src/cache.dart#L1764
/cc @jonahwilliams who was working in this area recently.

Fixed via https://github.com/flutter/flutter/pull/74259


Enhance 3D workflow

Some suggestions to integrate this into 3D workflows:

Support FBX / GLTF
Utilize those formats to play animations

I know a lot of folks try to replicate the workflow used for Dead Cells and Pixel Composer seems like it'd be a good fit for that.
Workflow:
https://www.gamedeveloper.com/production/art-design-deep-dive-using-a-3d-pipeline-for-2d-animation-in-i-dead-cells-i-

All I can say is I'll look into it. 3D animation is a huge topic.


BUG -  @sap-ux/ui5-application-writer: Invalid names allowed

Description
Recent versions of ui5 tooling use spec version 3.1 which have specific rules for the project name, ( https://sap.github.io/ui5-tooling/stable/pages/Configuration/#name ) . Currently @sap-ux/ui5-application-writer writes specVersion: 3.1 however allows invalid names. This leads to a validation error when serving apps :
Error Message:
Invalid ui5.yaml configuration for project fpm_v4

Not a valid project name. It must consist of lowercase alphanumeric characters, dash, underscore, and period only. Additionally, it may contain an npm-style package scope. For details, see: https://sap.github.io/ui5-tooling/stable/pages/Configuration/#name

ui5.yaml:5

3: specVersion: "3.1"
4: metadata:
5:   name: testNameSpace.fpmv4

@sap-ux/ui5-application-writer has test cases using an invalid name: https://github.com/SAP/open-ux-tools/blob/main/packages/ui5-application-writer/test/index.test.ts#L31
https://sap.github.io/ui5-tooling/stable/pages/Configuration/#specification-versions
Steps to Reproduce
Run the tests for @sap-ux/ui5-application-writer. Notice the outputs are using an invalid name.
Expected results
Tests using an invalid name throw a validation error.
Actual results
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:

[ ] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

The value used in the yaml is the app id provided through the API. Package name is a separate API property, so I think changing the behaviour would be unexpected. It looks like we are not validating the package name either but simply lowercasing it in the template.

With the change in specVersion 3.1 the app id in the id in the ui5.yaml are not compatible anymore, so we should not use the same in both places. With the 3.1 change it seems like the ui5.yaml is supposed to be in sync with the package.json, so what speaks against keeping them in sync?
Or, what would you suggest to do instead?

The value used in the yaml is the app id provided through the API. Package name is a separate API property, so I think changing the behaviour would be unexpected. It looks like we are not validating the package name either but simply lowercasing it in the template.

With the change in specVersion 3.1 the app id in the id in the ui5.yaml are not compatible anymore, so we should not use the same in both places. With the 3.1 change it seems like the ui5.yaml is supposed to be in sync with the package.json, so what speaks against keeping them in sync?
Or, what would you suggest to do instead?

Options:

We throw a validation error if the id does not comply with either: 1) Manifest sap.add id validation  or 2) specVer 3.1 .
We add a new property for the yaml name that is validated to comply with the spec version rules
...as you mention perhaps now the ui5.yaml is supposed to be aligned with the package.json name. So,  we validate the package name according to npm package name rules and also, in case there is a difference, (e.g. min name length > 3) the specVer 3.1 name rules.

I don't have a preference, other than the fix is the least unexpected change in behaviour.


No docker image for text-text-generation-inference on JetPack 6.0 DP

$ ./run.sh $(./autotag text-generation-inference)
Namespace(packages=['text-generation-inference'], prefer=['local', 'registry', 'build'], disable=[''], user='dustynv', output='/tmp/autotag', quiet=False, verbose=False)
-- L4T_VERSION=36.2.0  JETPACK_VERSION=6.0  CUDA_VERSION=12.2.140
-- Finding compatible container image for ['text-generation-inference']

Couldn't find a compatible container for text-generation-inference, would you like to build it? [y/N] y
-- Package l4t-text-generation has missing dependencies, disabling...  ("couldn't find package:  bitsandbytes")
-- Package l4t-tensorflow:tf1 has missing dependencies, disabling...  ("couldn't find package:  tensorflow")
-- Package text-generation-inference has missing dependencies, disabling...  ("couldn't find package:  bitsandbytes")
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/tag.py", line 58, in <module>
    image = find_container(args.packages[0], prefer_sources=args.prefer, disable_sources=args.disable, user=args.user, quiet=args.quiet)
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/container.py", line 490, in find_container
    return build_container('', package) #, simulate=True)
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/container.py", line 64, in build_container
    packages = resolve_dependencies(packages)
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/packages.py", line 304, in resolve_dependencies
    packages, changed = add_depends(packages)
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/packages.py", line 280, in add_depends
    for dependency in find_package(package).get('depends', []):
  File "/home/sniffski/Documents/jetson-containers/jetson_containers/packages.py", line 166, in find_package
    raise KeyError(f"couldn't find package:  {package}")
KeyError: "couldn't find package:  text-generation-inference"
-- Error:  return code 1
+ docker run --runtime nvidia -it --rm --network host --volume /tmp/argus_socket:/tmp/argus_socket --volume /etc/enctune.conf:/etc/enctune.conf --volume /etc/nv_tegra_release:/etc/nv_tegra_release --volume /tmp/nv_jetson_model:/tmp/nv_jetson_model --volume /home/sniffski/Documents/jetson-containers/data:/data --device /dev/snd --device /dev/bus/usb
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image

Is there a guide on how to build an image for my Jetson AGX Orin 64GB:
L4T_VERSION=36.2.0  JETPACK_VERSION=6.0  CUDA_VERSION=12.2.140

Hi @ihubanov, I haven't kept up with the patches for building text-generation-inference, as it wasn't really getting used and is complicated, and there are faster LLMs available for Jetson like MLC and llama.cpp.   I may just want to remove it to avoid confusion, but have kept it around for reference on JetPack 5.   You can attempt to build it on JetPack 6 with build.sh and if you get it working, I'd accept a PR with any updated patches needed to it's dockerfile.

Do you have a simple guide on how you did it for previous JetPack releases...
Another question, do you happen to know if any of the other containers provide similar functionality like the one I'm interested in text-generation-inference... I need the generate API endpoint so I can build a chatbot frontend which could use the API endpoint for text generation...

Do you have a simple guide on how you did it for previous JetPack releases...

Sure @ihubanov, first read these docs for getting setup to build containers:

https://github.com/dusty-nv/jetson-containers/blob/master/docs/setup.md
https://github.com/dusty-nv/jetson-containers/blob/master/docs/build.md

Then you would try ./build.sh text-generation-inference (that is what had been working on JetPack 5)

Another question, do you happen to know if any of the other containers provide similar functionality like the one I'm interested in text-generation-inference... I need the generate API endpoint so I can build a chatbot frontend which could use the API endpoint for text generation...

Yes, both llama.cpp and text-generation-webui can expose OpenAI-compatible endpoints (and I have working containers on JetPack 5/6 for both of these), and you can use OpenAI's python client (or REST) to query it.  The OpenAI API is understandingly prevalent by this point, so it seems like a pretty good option to go with that has good adoption.   It's fine for text-based chat completion, however when it comes to streaming video/audio for multimodal models I personally prefer to have the LLM running directly in the same process to avoid latency and memory overhead associated with transferring that multimedia across processes.

Man when I try the ./build.sh text-generation-inference it crashes with 'package 'text-generation-inference' not found... Also ./build.sh --list-packages doesn't show it... Tried replacing the config.py with the one from webui, but it seems it is not the case... Not sure why this package is not found, but it is actually in the same place where webui is.

Does this change anything @dusty-nv?
https://huggingface.co/docs/text-generation-inference/conceptual/chunking


Update index.html + manifest.json

There are still default generated values in index.html and manifest.json file, this app won't work offline but maybe it'll be cool to explore PWA, so users can "install it" in their phones, we'll need some assets for this tho.
<meta
  name="description"
  content="Web site created using create-react-app"
/>

I would not go for the PWA for now.
Since this project is mainly educational (I believe), I would love to see  a different package explaining in detail how to build a PWA.


use consitent border radius

Use a consistent 4px border radius on in page element (i.e., buttons) and 8px on windows or dialogs.
🆙  tailwindcss
Also, my netease tab seem completely messed up with cover with unrestricted size.

my platform page is fixe in next branch


upgraded mediainfo to v20.09 to fix segfault on some video

Issue #, if available: N/A
Description of changes: Compiled and upgraded media info to v20.09. Built on Amazon Linux
$ uname -ar
Linux ip-172-30-4-217.ec2.internal 4.14.193-149.317.amzn2.x86_64 #1 SMP Thu Sep 3 19:04:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the feedback we will look to add this to the next release.

@calvinhp
Any chance you could post a brief note on the steps you took to compile mediinfo?

I followed the instructions from this blog post
https://aws.amazon.com/blogs/compute/extracting-video-metadata-using-lambda-and-mediainfo/
I just changed the download of mediainfo to grab the latest stable release.

Version 5.2.0 of solution is now using MediaInfo v20.09.


Remove deprecated (UNSAVE_) methods in ContactMap component

Motivation
As a followup for issue #97, there is one component left with lifecycle method with prefix UNSAVE. In the react v17, it is required to remove those methods, because they are about to be deleted.
Proposed solution
Use different lifecycle methods as a substitution for the deprecated ones.

https://reactjs.org/blog/2018/03/29/react-v-16-3.html

There are 2 occurrences of UNSAFE_componentWillUpdate and one of  UNSAFE_componentWillReceiveProps.
Additional context
Current features on Contacts page:
If a user clicks on the address on Contacts (/contacts) page, the page is scrolled to the map and the address is focused on the map. Event when switching the languages.
See also related issues #97, #105, #99 for more information.

Hello @andrew-anguiano. I've just sent you an invitation to the project. If you accept it, I'll be able to assign the issue to you to announce the others in the community this issue is already picked.


Navigation bar Issues

The navigation bar has issues like these where the unnecessary text is visible. Plus the text in the nav bar looks too cluttered. I would like to improvise the UI by changing the nav bar a bit & it's text.

Kindly assign me this issue under the GSSOC label.

please assign this issue to me under gssoc24 @riya-rjha

@riya-rjha this issue has already been solved.ai am closing this issue.


[feat]: Is there BackTop Button?

Feature description

I want BackTop position fixed and when I click it goes to top
Affected component/components
Button
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

You can use this as a component for scroll to top
import { Button, ButtonProps } from "@ui/components/ui/button";
import { useEffect, useState } from "react";

export function ScrollToTop({
  minHeight, // Height from which button will be visible
  scrollTo, // Height to go on scroll to top
  ...props
}: ButtonProps & { minHeight?: number; scrollTo?: number }) {
  const [visible, setVisible] = useState(false);

  useEffect(() => {
    const onScroll = () => {
      setVisible(document.documentElement.scrollTop >= (minHeight ?? 0));
    };

    onScroll();
    document.addEventListener("scroll", onScroll);

    return () => document.removeEventListener("scroll", onScroll);
  }, []);

  return (
    <>
      {visible && (
        <Button
          onClick={() =>
            window.scrollTo({
              top: scrollTo ?? 0,
              behavior: "smooth",
            })
          }
          {...props}
        />
      )}
    </>
  );
}

and use it as something like
import { ScrollToTop } from "@/components/scroll-to-top";
import { ArrowUpToLine } from "lucide-react";

export default Page() {
  return (
    <div className="relative">
      {/* Some content */}
      <ScrollToTop minHeight={20} scrollTo={10} className="absolute right-4 bottom-4">
        <ArrowUpToLine />
      </ScrollToTop>
    </div>
  )
}

Thanks!

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Support for unix socket

It would be nice if UNIX Sockets were supported as a transport medium, this allows creating safer, easier to manage and more performant IPC client/server communication via MQTT on *nix systems.
I have not looked at the code yet but the fact that the library is largely based on Asio should allow for a simple implementation, correct me if I'm wrong.

That’s definitely a good idea. The implementation would require some caution, as Asio’s UNIX socket stream interface differs slightly from the TCP stream interface. However, it’s certainly feasible. We’ll add it to our roadmap.


Allow lists of quality specifications

Users of the CLI would find it very helpful if various quality specifications were supported.
quality:
  - basic:
      weight: 0.2
      type: SodaCL
      specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-basic.yaml"
  - premium1:
      weight: 0.4
      type: SodaCL
      specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-premium1.yaml"
  - premium2:
      weight: 0.4
      type: SodaCL
      specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-premium2.yaml"

I suggest we support both - individual specifications or a list.
See also:
https://github.com/datacontract/cli/pull/3#discussion_r1358205380

If we decide to support multiple quality definitions, I would prefer this structure to be consistent with examples:
quality:
  - name: basic
    type: SodaCL
    specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-basic.yaml"
  - name: premium1
    type: SodaCL
    specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-premium1.yaml"
  - name: premium2
    type: SodaCL
    specification: "$ref: https://github.com/data-engineering-helpers/data-contracts/blob/123b1310662557c469e091b646f64e47b938836f/datacontract.com/contracts/data-contract-flight-route-quality-premium2.yaml"

If we decide to support multiple quality definitions, I would prefer this structure to be consistent with the examples section.

Sure, it makes a lot of sense. I will update the comment in the other issue.

Closing this issue as won't fix, as this currently has no priority.


Release the Second Preview of the Track Two Event Hubs Client Library

Summary
Azure Event Hubs is a publish-subscribe service that can ingest millions of events per second and stream them into multiple applications.  To ensure that developers around the world have a first-class experience leveraging Azure Event Hubs in their applications, our goal is to create a client library that is developer-friendly, idiomatic to the .NET ecosystem, and as consistent across different languages and platforms as possible.
The work items herein represent the tasks needed to produce the second preview of the "track two" Event Hubs client library.
Goal
Design, develop, and release the second preview of the Event Hub client library, intended to allow developers to work with it and offer their feedback which we will use to help refine the design.
Success Criteria
The second preview of the Event Hubs client library which follows the Azure SDK Design Guidelines as closely as possible, and which has been approved by the Azure Developer Platform architecture board has been made available for release.
Scope
Design and Plan

[ ] Perform analysis and design of the scope for the second preview, including determining target scenarios (NEED ITEMS)

[ ] Design and document the API experience for the target scenarios (NEED ITEMS)

[ ] Obtain approval for the proposed API design from the architecture board (NEED ITEMS)

[ ] Decompose identified work items, and document them for implementation (NEED ITEMS)

Execute
General

[ ] Ensure that partition properties in all uses are based on an int type for offset.  (**NEED ITEMS **)

[ ] Convert DateTime to DateTimeOffset for public members (NEED ITEMS)

[ ] Introduce an exception hierarchy (NEED ITEMS)

[ ] Create infrastructure for retry policy changes (NEED ITEMS)

[ ] Include test coverage for diagnostics and logging (NEED ITEMS)

Event Hub Client

[ ] Adopt the new retry policy structures (NEED ITEMS)

Event Hub Consumer

[ ] Adopt the new retry policy structures (NEED ITEMS)

[ ] Implement the updated streaming receive feature  (NEED ITEMS)

Event Hub Producer

[ ] Adopt the new retry policy structures (NEED ITEMS)

[ ] Implement the updated EventBatch infrastructure  (NEED ITEMS)

[ ] Allow publishing an EventBatch (NEED ITEMS)

Document

[ ] Enhance Documentation (NEED ITEMS)

[ ] Prepare Samples (NEED ITEMS)

Wait, is the Event Hub client library being rewritten again? Is there anywhere I can read more about this?

Design and document the API experience for the target scenarios

Can unit testing be one of these target scenarios? The previous library required wrapping a bunch of classes. (See the discussion in previous library's issues, and what I had to do.)

Hi Nick,
Thank you for taking the time to share your thoughts.  I can't speak to the development history of the Event Hubs client, but we are in the process of building a new Event Hubs client library.  The new client library will exist in a new package and namespace; our goal is that there is no disruption to existing library users, allowing the choice of whether to adopt the new library or not and, if so, control over the timing.
With respect to the larger context, until recently, the team that owned an Azure service also had responsibility of creating the associated client libraries for their service.  While this was great for ensuring that client libraries were well-aligned to the service, it often meant that client libraries were inconsistent with those for other Azure services.  Likewise, the client libraries could also often be inconsistent for the same service across different languages and/or feel uncomfortable because they didn't conform to the expected language idioms.
Microsoft recently created a new team responsible for the developer experience for all of the Azure services, the Azure Developer Platform team.  Our goal is to unify the experience for developers, providing an API that is consistent, discoverable, and idiomatic to its language and platform.  I don't know of an official landing page that introduces our team, but I can suggest following the Azure SDK Team account on Twitter if you're interested in keeping up with announcements or conversing with the team.  Maggie or Alex (copied) may have additional references for you.
For information specific to the work that we're doing for Event Hubs, you may want to look at:

Event Hubs client design proposals
Azure SDK Design Guidelines for .NET

Testability is one of the areas that we're focused on; ensuring that clients are mockable by developers and can be tested without a reliance on Azure resources is important to us.  We will be releasing a preview of the new Event Hubs client in the near future and would very much welcome your feedback on how we're doing in that respect.   One final thing that I'd like to call attention to is that we are an open source project and welcome any feedback or contributions that you'd like to provide.  I will ask that you'd be kind enough to open a dedicated issue for further feedback, as this is intended to be a work tracking item and I want to be sure that your thoughts are more widely visible so that we can triage and route them appropriately.
//cc: @AlexGhiondea, @maggiepint


feat: deterministic simulation support

Hi, this is a very simple demo that illustrates the overall idea. The are some issues that need to be discussed.

Madsim has already provided a wrapper for aws-sdk-s3 crate, something like this:

#[cfg(madsim)]
#[path = "sim.rs"]
mod sim;

#[cfg(not(madsim))]
pub use aws_sdk_s3::*;
#[cfg(madsim)]
pub use sim::*;

Should we reuse the S3 simulation logic from the madsim wrapper or develop our own?If we use madsim's simulation, since the interface simulated by madsim and that of aws-sdk-s3 are the same, we need to use that interface to implement our Accessor trait. If we choose to develop our own simulation logic, we need to completely eliminate uncertainty, such as multi-threaded scheduling(seems a lot of work).

Can different backends use the same simulation? For example, S3 and OSS may be similar, but I'm not sure.

Want help @wangrunji0408

Hello, @SkyFan2002. Thank you for submitting the PR.
However, I would like to request that the sim feature be implemented as a separate layer or feature that does not impact any existing services or layers. Therefore, I will be closing this PR for now. You are welcome to reopen it with new implementations or initiate a discussion on Github or Discord where both @wangrunji0408 and we can participate.
Thanks again!

Let's move to #1871 for further discussion.