cutoff images

Issue in ./help/custom-data/calculated-expressions/date-and-time-and-mathematical-expressions.md
issue documentation: https://experienceleague.adobe.com/docs/workfront-learn/tutorials-workfront/custom-data/calculated-expressions/date-and-time-and-mathematical-expressions.html?lang=en
both images in this documentation are cutoff so you cannot see the last examples in the list.

These images are only showing a fraction of the expressions that you can use. They are meant to show the examples but not all of them. Those can be found in the the documentation article found here: https://experienceleague.adobe.com/docs/workfront/using/reporting/reports/calculated-custom-data/calculated-data-expressions.html?lang=en


Feature request - OnAfterRotate

It would be useful to have the ability to use an onAfterRotate event, so that you can perform custom operations on the newly rotated file, such as

compressing file
moving the file to a log storage folder
etc...
Is it possible?

Would be nice. However it wil l be blocking for the calling thread, so it must be intended just as "staert something that will actually execute in another thread".


[Support Discord Server] Issue: URL in Readme leads to 404

Describe the bug
The Readme of this project contains a link to a Discord server. That link leads to a 404 page.
Alternatively the site https://l0c4lh057.github.io/ is private.
To Reproduce
Steps to reproduce the behavior:

Open: https://github.com/aarondoet/BetterDiscordStuff (this repository)
Click on 'my Discord server'
See Github's 404 screen

Expected behavior
I expected to see a website, which either forwards me to the Discord invite link to the support server, or shows me a button to press to obtain or use the invite link to the support server.

I did find a working link to a Discord server on https://betterdiscord.app/plugin/ChannelTabs
I can only assume that it is the right link, as the repository owner seems to be in that discord as owner.
Funnily I am getting kicked off that server every few minutes. Which I tried with an unmodded web-instance user of mine.
I hope that the kicking is not intended behavior... I would not even know how that happens.


Udacity Notebook with "None" kernel

I use Jupyter notebook to open the .ipynb files, but it shows a red "None" kernel on top right corner and all lines of code cannot run.
Method I use:

Build a new directory and extract .ipynb files from examples/udacity to the directory
In terminal, run jupyter notebook

You haven't provided sufficient information for us to help. The new issue template provides a list of information we need to help. It sounds like a installation problem where jupyter installation or tensorflow installation. If you see indication of a bug in tensorflow, please reopen.


Fix/accordion restyle

close #421

Dispose of collapse-page__content* styles.
Button expand is not needed in presentation.
Apply default padding to content (see design).
Add more stuff to issue (document interface, add references, add design doc).
On presentation option with and without background should be present.
Tweak demo to only cover cases. Minify it.
See standard requirements from contribution guide. These should be followed strictly.

Top padding is incorrect for body.
Padding has transition, when it shouldn't have any.


Add vendor support

Previously, vendor directories would be ignored because all files were copied to a temporary directory, so the vendor folder wasn't there anymore.
Fixed by avoiding copying to a temporary dir. At the same time, we need to make sure to always run gotype on a whole package, so we pass the directory name to it.

I've invited you as a collaborator so you can merge this if everything is working correctly. Please be sure to add a message to the messages file about the new release, and create a new tagged release.

OK I'll test it a little bit more and then merge it and release it. Thanks

@sirreal I created a tagged release. How can I publish to the package control repository?

Great work, thanks!
I believe that PC scrapes packages periodically and should automatically detect the new release. I just installed the package fresh and it seems to have the updated version.
FYI- It's a good idea to include a message about the version. You can see messages.json and the messages folder for examples. No worries for this release, but keep it in mind for future releases.


Migrate correction package into a downstream repository

I've created a downstream repository (corretto) for read error correction based utils. We should move the org.bdgenomics.adam.rdd.read.correction package there.

This will also likely lead to the elimination of org.bdgenomics.adam.algorithms.prefixtrie.

+1


Release

Travis tests have failed
Hey @bluzi,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 8

     npm run lint

><EMAIL_ADDRESS>lint /home/travis/build/bluzi/travis-buddy
> eslint .

/home/travis/build/bluzi/travis-buddy/routes/api.routes.js
  52:11  error  'e' is not defined  no-undef

✖ 1 problem (1 error, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>lint: `eslint .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!


bug: latest @web3auth/web3auth-wagmi-connector is not working with latest wagmi/core

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
"@wagmi/core": "^1.1.1",
Current Behavior
latest @web3auth/web3auth-wagmi-connector(3.0.2) is not working with latest wagmi/core(1.1.1)
It is throwing a compiler error as below

./node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.esm.js:55:22-46 - Error: export 'UserRejectedRequestError' (imported as 'UserRejectedRequestError') was not found in '@wagmi/core' (possible exports: ChainMismatchError, ChainNotConfiguredError, Config, ConfigChainsNotFound, Connector, ConnectorAlreadyConnectedError, ConnectorNotFoundError, InjectedConnector, SwitchChainNotSupportedError, configureChains, connect, createConfig, createStorage, deepEqual, deserialize, disconnect, erc20ABI, erc4626ABI, erc721ABI, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchToken, fetchTransaction, getAccount, getConfig, getContract, getNetwork, getPublicClient, getUnit, getWalletClient, getWebSocketPublicClient, mainnet, multicall, noopStorage, prepareSendTransaction, prepareWriteContract, readContract, readContracts, sendTransaction, sepolia, serialize, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchMulticall, watchNetwork, watchPendingTransactions, watchPublicClient, watchReadContract, watchReadContracts, watchWalletClient, watchWebSocketPublicClient, writeContract)

./node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.esm.js:68:22-46 - Error: export 'UserRejectedRequestError' (imported as 'UserRejectedRequestError') was not found in '@wagmi/core' (possible exports: ChainMismatchError, ChainNotConfiguredError, Config, ConfigChainsNotFound, Connector, ConnectorAlreadyConnectedError, ConnectorNotFoundError, InjectedConnector, SwitchChainNotSupportedError, configureChains, connect, createConfig, createStorage, deepEqual, deserialize, disconnect, erc20ABI, erc4626ABI, erc721ABI, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchToken, fetchTransaction, getAccount, getConfig, getContract, getNetwork, getPublicClient, getUnit, getWalletClient, getWebSocketPublicClient, mainnet, multicall, noopStorage, prepareSendTransaction, prepareWriteContract, readContract, readContracts, sendTransaction, sepolia, serialize, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchMulticall, watchNetwork, watchPendingTransactions, watchPublicClient, watchReadContract, watchReadContracts, watchWalletClient, watchWebSocketPublicClient, writeContract)

./node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.esm.js:87:18-42 - Error: export 'UserRejectedRequestError' (imported as 'UserRejectedRequestError') was not found in '@wagmi/core' (possible exports: ChainMismatchError, ChainNotConfiguredError, Config, ConfigChainsNotFound, Connector, ConnectorAlreadyConnectedError, ConnectorNotFoundError, InjectedConnector, SwitchChainNotSupportedError, configureChains, connect, createConfig, createStorage, deepEqual, deserialize, disconnect, erc20ABI, erc4626ABI, erc721ABI, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchToken, fetchTransaction, getAccount, getConfig, getContract, getNetwork, getPublicClient, getUnit, getWalletClient, getWebSocketPublicClient, mainnet, multicall, noopStorage, prepareSendTransaction, prepareWriteContract, readContract, readContracts, sendTransaction, sepolia, serialize, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchMulticall, watchNetwork, watchPendingTransactions, watchPublicClient, watchReadContract, watchReadContracts, watchWalletClient, watchWebSocketPublicClient, writeContract)

./node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.esm.js:138:19-35 - Error: export 'normalizeChainId' (imported as 'normalizeChainId') was not found in '@wagmi/core' (possible exports: ChainMismatchError, ChainNotConfiguredError, Config, ConfigChainsNotFound, Connector, ConnectorAlreadyConnectedError, ConnectorNotFoundError, InjectedConnector, SwitchChainNotSupportedError, configureChains, connect, createConfig, createStorage, deepEqual, deserialize, disconnect, erc20ABI, erc4626ABI, erc721ABI, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchToken, fetchTransaction, getAccount, getConfig, getContract, getNetwork, getPublicClient, getUnit, getWalletClient, getWebSocketPublicClient, mainnet, multicall, noopStorage, prepareSendTransaction, prepareWriteContract, readContract, readContracts, sendTransaction, sepolia, serialize, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchMulticall, watchNetwork, watchPendingTransactions, watchPublicClient, watchReadContract, watchReadContracts, watchWalletClient, watchWebSocketPublicClient, writeContract)

./node_modules/@web3auth/web3auth-wagmi-connector/dist/web3authWagmiConnector.esm.js:196:15-31 - Error: export 'normalizeChainId' (imported as 'normalizeChainId') was not found in '@wagmi/core' (possible exports: ChainMismatchError, ChainNotConfiguredError, Config, ConfigChainsNotFound, Connector, ConnectorAlreadyConnectedError, ConnectorNotFoundError, InjectedConnector, SwitchChainNotSupportedError, configureChains, connect, createConfig, createStorage, deepEqual, deserialize, disconnect, erc20ABI, erc4626ABI, erc721ABI, fetchBalance, fetchBlockNumber, fetchEnsAddress, fetchEnsAvatar, fetchEnsName, fetchEnsResolver, fetchFeeData, fetchToken, fetchTransaction, getAccount, getConfig, getContract, getNetwork, getPublicClient, getUnit, getWalletClient, getWebSocketPublicClient, mainnet, multicall, noopStorage, prepareSendTransaction, prepareWriteContract, readContract, readContracts, sendTransaction, sepolia, serialize, signMessage, signTypedData, switchNetwork, waitForTransaction, watchAccount, watchBlockNumber, watchContractEvent, watchMulticall, watchNetwork, watchPendingTransactions, watchPublicClient, watchReadContract, watchReadContracts, watchWalletClient, watchWebSocketPublicClient, writeContract)

× Failed to compile.

This is my npm package
{
  "name": "***",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build-dev": "ng build --configuration development",
    "build-prod": "ng build --configuration production",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^16.0.0",
    "@angular/common": "^16.0.0",
    "@angular/compiler": "^16.0.0",
    "@angular/core": "^16.0.0",
    "@angular/forms": "^16.0.0",
    "@angular/platform-browser": "^16.0.0",
    "@angular/platform-browser-dynamic": "^16.0.0",
    "@angular/router": "^16.0.0",
    "@ngx-translate/core": "^14.0.0",
    "@ngx-translate/http-loader": "^7.0.0",
    "@wagmi/core": "^1.0.5",
    "@web3auth/base": "^6.0.1-alpha.0",
    "@web3auth/modal": "^6.0.1-alpha.0",
    "@web3auth/openlogin-adapter": "^6.0.1-alpha.0",
    "@web3auth/torus-wallet-connector-plugin": "^6.0.1-alpha.0",
    "@web3auth/web3auth-wagmi-connector": "^3.0.2",
    "@wert-io/widget-initializer": "^2.0.3",
    "angular-svg-icon": "^13.0.0",
    "bootstrap": "^5.2.3",
    "ngx-bootstrap": "^10.2.0",
    "ngx-clipboard": "^15.1.0",
    "ngx-owl-carousel-o": "^16.0.0",
    "rxjs": "~7.8.0",
    "sweetalert2": "^11.7.3",
    "tslib": "^2.3.0",
    "uuid": "^9.0.0",
    "viem": "^0.3.33",
    "zone.js": "~0.13.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^16.0.2",
    "@angular/cli": "~16.0.2",
    "@angular/compiler-cli": "^16.0.0",
    "@types/jasmine": "~4.3.0",
    "@types/uuid": "^9.0.1",
    "assert": "^2.0.0",
    "browserify-zlib": "^0.2.0",
    "buffer": "^6.0.3",
    "crypto-browserify": "^3.12.0",
    "https-browserify": "^1.0.0",
    "jasmine-core": "~4.6.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.0.0",
    "next-tick": "^1.1.0",
    "os-browserify": "^0.3.0",
    "process": "^0.11.10",
    "stream-browserify": "^3.0.0",
    "stream-http": "^3.2.0",
    "typescript": "~5.0.2",
    "url": "^0.11.0"
  }
}

Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

The web3auth connector is not maintained by wagmi. Might be best to raise this issue on their repo.


Enhancement: enable override of default Node functions

Godot version:

3.0.2
OS/device including version:

Win 10
Issue description:

It would be very convenient to override certain default functions, specifically getters and setters. Apparently this is not possible now, and I have tried doing so with set_global_rotation and set_wait_time to no avail.
My current workaround is to create a set_wait_time function and only every use it to update the built in vars. But this is messy/easy to forget/hard to maintain.

What use case do you want this for? Keep in mind that means the engine would have to check, for every function called, if a function of the same name exists in the script and call that instead... (I.e in C++ you would never do set_position anymore, but call("set_position") all the time. Performance may suffer even with no script attached)

Use cases:

set_global_rotation: rotate the node and all its children, except for child A, B, and C. Those should always be 0 deg rotation. So override and set those children's rotation to 0.
set_wait_time: A TextureProgress indicates to the user how much time is left in this timer. When wait_time changes, I want to change my_texture_progress.max_value too.

Do we know this would impact performance, or is this an assumption? If it's a large performance hit then  definitely not worth it, as the increase in ease of use/maintainability is relatively minor in comparison.
Since this has come up multiple times (that we know of) it should probably be written down somewhere, either in the docs or on a roadmap (to investigate).

It's not an assumption. Since those functions can't be overriden, the C++ code just calls the C++ functions. If they could, it'd have to look for the functions instead, and interpret the GDScript code. The engine code doesn't use them often or at all, but game code does.

Definitely don't want to do that I would think. Where do you think this should be documented?

this could be used to allow making custom container control nodes.
basically you override the child being added and cancel it and instead add a item to the node in your scene. for example a internal vbox container.

I think I found a good solution. You see, there's this function called _set. it get's called whenever a value gets set. What you can do is create your setter, then in the _set method, check if that value is being set, and if so, call your setter.
func _set(property : String, value) -> bool:
    if property == "material_override":
        set_material_override(value)
        return true
    return false

func set_material_override(value : Material) -> void:
    material_override = value
    # Do other things with it.

I'll close this, as this is already supported as @SIsilicon demonstrated it.

What would that look like in C#?

@JarLowrey I believe _Set can be overridded in C#, or can it?


Typecasting differs in Eloquent sum()

Laravel Version: 5.4.32
PHP Version: 7.1.8
Database Driver & Version: MySQL 5.7.16

Description:
Eloquent seemingly forgets to typecast, when I run sum() on a query/relationship. If I run get() first, the type is correct. Ideally, these two statements should give the exact same result.

In the model, discount_amount is cast to float.

In your second example, sum() is a query Builder method, no casting is applied when you do this, it'll be a pure sql query so you'll need to cast the results yourself.


Move lock

Moves lock under divider.
Lock always has the divider above it assuming your a collaborator.
If you aren't a collaborator (Lock does not show), close has the divider above it.
Lock's color was switched to light gray.

I think it looks a bit weird that lock and close are colored and unlocks and reopen are blue like the rest. Not sure what colors unlock and reopen should be but maybe. Light gray for unlock (just like lock) and green for reopening.

#2140


Enable GLBS for MIRI, fix GLBS plotting

This PR enables group-level background subtraction for MIRI.  However, the spectra are cleaner when GLBS is NOT used, so I wouldn't recommend people apply this step with MIRI data.
Fortunately, I was able to get plots_s3.image_and_background() working when using GLBS, so that's a small win.

Codecov Report

Merging #484 (9e3f527) into main (c38bb2c) will decrease coverage by 0.15%.
The diff coverage is 34.78%.

@@            Coverage Diff             @@
##             main     #484      +/-   ##
==========================================
- Coverage   59.63%   59.48%   -0.16%
==========================================
  Files          87       87
  Lines       10079    10098      +19
==========================================
- Hits         6011     6007       -4
- Misses       4068     4091      +23

Impacted Files
Coverage Δ

src/eureka/S1_detector_processing/group_level.py
9.52% <0.00%> (-1.01%)
:arrow_down:

src/eureka/S1_detector_processing/s1_process.py
13.54% <0.00%> (-0.29%)
:arrow_down:

src/eureka/S3_data_reduction/background.py
40.40% <ø> (ø)

src/eureka/S3_data_reduction/plots_s3.py
74.42% <50.00%> (-0.39%)
:arrow_down:

src/eureka/S3_data_reduction/miri.py
58.55% <83.33%> (-7.48%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Blank screen

Hello, I am suddenly experiencing a blank screen when running the zabapgit transaction.
The latest build report works fine, in fact I pulled the last release from it just to be sure I was up to date, however I still can't see anything when running the transaction.
The HTML source is empty

I tried debugging just to be sure it was none of my exit class methods and there are no calls when creating the screen.
Also tried uninstalling and installing everything from the standalone report.
Has this ever happend? I don't think there's any way to let you reproduce the issue.
Any tips?

Odd. Can you download v1.117.0 from https://github.com/abapGit/abapGit/releases/tag/v1.117.0 and try that?

Also attach the output of Repo Overview > Utilities > Debug Info

Hi @mbtools I tried downgrading to 1.117.0 and I still get the same blank screen with .
I cannot open Debug Info of the developer version because there's no way to access it, but I can open it from the standalone version. This is debug info for the standalone:

  EnvironmentabapGit version:1.118.0XML version:    v1.0.0GUI version:    7600.1.3APACK version:  1LCL_TIME:<PHONE_NUMBER> +0000SY time:        20221013<PHONE_NUMBER>SY release:     756 SP<PHONE_NUMBER>Browser:Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0) like GeckoFrontend time:Thu Oct 13 2022 10:01:25 GMT+0200 (ora legale Europa occidentale)User ExitsNo user exits implemented (include ZABAPGIT_USER_EXIT not found)

Actually, notice the log says include ZABAPGIT_USER_EXIT not found which is not true, I do have a user exit.
So what I did was delete the user exit class and now the developer version works.
I'd like to help find the bug causing this, so if you think I should debug in any specific point let me know, otherwise I can close the issue and find what the problem with my exit is.

Great. Just in general, you might want to update you SAP GUI since 760 patch 1 is very old.


#243 | establish country data section

@timlinux @markherringer
i have already implemented the functionality
can click the marker to redirect to map page
but, the map width is 100% and i don't know how to fit it to the div
i need help from @MariaSolovyeva

Is this ready to merge now @meomancer ?

I tested here on my local machine and the search box, chart and map are not interactive, but when I press enter on search it is giving a 500 error:
http://<IP_ADDRESS>:49361/search/localities/country?q=South+Africa

@timlinux have you migrated it? because it needs migration, to load the country data first.

@timlinux i rebuild HS from zero and found the problem. It is because we don't have GOOGLE_MAPS_API_KEY.
It needs for setup viewport of map. Already updated PR, if there is no GOOGLE_MAPS_API_KEY, the viewport will not changed.


[BUG] client-side throttling during object wait stage

Bug Description
Output of kube-burner version
1.7.2
Describe the bug
I've seen client-go throttling during the wait stage of a benchmark
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - time="2023-07-13 14:48:57" level=info msg="Actions in namespace cluster-density-v2-2984 completed" file="waiters.go:76"
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - time="2023-07-13 14:48:57" level=info msg="Actions in namespace cluster-density-v2-2985 completed" file="waiters.go:76"
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - I0713 14:48:57.826811      29 request.go:696] Waited for 1.920868398s due to client-side throttling, not priority and fairness, request: GET:https://api.rsevilla87-fips-4.12-aws-ovn-large-cp.perfscale.devcluster.openshift.com:6443/apis/apps/v1/namespaces/cluster-density-v2-2987/deployments
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - time="2023-07-13 14:48:57" level=info msg="Actions in namespace cluster-density-v2-2986 completed" file="waiters.go:76"
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - time="2023-07-13 14:48:57" level=info msg="Actions in namespace cluster-density-v2-2987 completed" file="waiters.go:76"
[2023-07-13, 14:48:57 UTC] {subprocess.py:93} INFO - time="2023-07-13 14:48:57" level=info msg="Actions in namespace cluster-density-v2-2988 completed" file="waiters.go:76"

To Reproduce
I saw it during a cluster-density-v2 workload
Expected behavior
This throttling is ugly and misleading for the users (they tend to think there's a server side error), I think the limiter or the wait clientset logic needs some adjustments
Screenshots or output

Agreed it isn't pretty, but if the user assumes a server side problem when the message clearly sates due to client-side throttling might be the real bug 😄

I think this issue occurs when a cluster/server cannot support the given qps and burst values. Ideally one should decide on what values to be set for those params based on the server configuration. A good starting point would be to start with lower numbers like 5-10 qps and 10-20 burst and then tune it according to the cluster configuration. And also a good suggestion would be to have a burst value which is 2-4 times of the qps to handle unexpected spikes or increased loads.

Closing this duplicate issue.


Can't remove # from Command+T search as default

Issue Type: Bug
I use Command+T often but it seems like there is no way to remove the # besides backspace everytime I open it up.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:31:32.854Z)
OS version: Darwin x64 18.7.0

Try Cmd + P!

Thanks for the quick reply! Didn't realize same functionality, I just started using it over sublime. So far it's pretty amazing.


⚠ Bofrost.fr has degraded performance

In b095040, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1345 ms

Resolved: Bofrost.fr performance has improved in 7ce3a04 after 7 minutes.


Updated helpers.ts

Used __DEV__ as it is true while developing and using DEV will make sure the log happens in the debug build and not in the packaged build irrespective of env.
Also, handled the crash caused if the empty string is passed for name.

Closing in favour of #25


Unable to get gateway to work after latest update from HACS

Hi - I recently updated the component through HACS (although not sure from what version)
The gateway was no longer responding in Home Assistant
The logs just showed the component attempting to start and then nothing further
I decided to re-install from scratch.
I successfully configure the cloud connection and it shows me the gateway and BLE devices connected to it.
I then attempt to install the Gateway integration and it looks to be expecting the "Open Telnet Command" part but does not accept this.:

{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}
It simply says "Unknown Error Occured"

My gateway is on firmware 1.4.6_0012:

Should I be attempting to update the firmware? How would I go about that if I cant get the Open Telnet command to work?
Would really appreciate your assistance

This is bug from v2.0.5, you can downgrade component version.
And your gateway firmware is supported in a very limited way.

Thanks @AlexxIT
I tried version 2.0.4 and seem to be getting the same behavior. Wants the open telnet command.
Which version should i downgrade to?

Check carefully which version of the integration you have installed

"Unknown Error Occured" fixed in latest integration versions.
"Not all required fields are filled in" - it's a "valid" error

Hi @AlexxIT - what do you mean by the latest integration versions?
and what would I enter into the "Open telnet command" field? I have never had to do this and it was working before

OK i see that 2.0.6 is out - i installed that and then used this for the "Open telnet command" and all is working
{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}
Thank you very much @AlexxIT


@mentions in PR

I have a rule that triggers an @mention of a group:

Note that the group is not bolded or link'ed. It does not appear to be triggering a notification.
The Dangerfile code is:
frontend_changes = !modified_files.grep(/(frontend|app\/assets\/javascripts)/).empty?

if frontend_changes
  message("The frontend has been changed ... ping @kickstarter/frontend")
end

Am I doing something wrong here?

Interesting - I wonder if this is based on our usage of HTML in there tableview, can you please test it with markdown("The frontend has been changed ... ping @kickstarter/frontend")?

@orta That works.

OK, I think this might be worth documenting, don't think this is annoying enough to warrant going back to markdown tables ( they're ugly in comparison ) so it'll need documentating somewhere

So if I want to notify folks I use markdown('msg') and then fail/warn etc for anything else? That seems like an okay workaround albeit a bit ... exception-y. :)


test: remove duplicate assignment in CITestSeeder

Description

remove duplicate assignment

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Thank you @kenjis


Implements common status results.

Implements a some of the very common async REST status results Accepted and
SeeOther results to work with the auto formatting.
Implements the PreconditionFailed and PreconditionFailedObjectResult so
verbose error's can be returned and auto formatted.

Hi @jterry75, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@jterry75, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

These don't seem to add a lot of value other than adding the right status code to an object result. I would prefer instead to look more holistically at what it looks like to support async patterns and ETags.

This is exactly what the object/status results that you have checked in today do. Why should a consumer have to write custom logic for these common ones too? It seems like there should be a status/object result for the entire HTTPStatus spec where it makes sense. IE: Location results only make sense with a "required" location so they should set the header. Obviously I can do this manually but why not have the platform make this as pretty as an "OkObjectResult"?


Update index.js

refactor
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

📝 Changed routes:

/

(view full size)

Commit 82eda2aa6823114ddc3e9fa3ac6524eda49e32ce (https://testcase-generator-qgihk9l95-ank1traj.vercel.app).


[NT-1087] Redesigned project cards

📲 What
Adds the redesigned project cards and shows them for users in variant-1 of the native-project-cards experiment.
🤔 Why
Part of the work for the native_project_cards experiment.
🛠 How

created a new cell DiscoveryProjectCardCell and configured it's views based on the updated designs
added the "percent funded" and "backers count" info
added logic in the DiscoveryProjectsDataSource that uses the new project cards to configure the data source if the OptimizelyExperiment.Variant is variant1

👀 See
Trello, screenshots, external resources?

iPhone 8
iPad
Accessibility Font Size

♿ Accessibility

[x] Tap targets use minimum of 44x44 pts dimensions
[x] Works with VoiceOver
[x] Supports Dynamic Type

🏎 Performance

[x] Optimized Blended Layers

✅ Acceptance criteria
Whitelist your device into variant-1 of the native_project_cards experiment in staging. Then, run the app.

[ ] You should see the new project cards on the main discovery screen
[ ] The new project cards should match the designs
[ ] The new project cards should support dynamic type
[ ] if the project has met it's goal, the "percent funded" label should not be shown, instead, it should read "Goal met"

⏰ TODO

[ ] add "Goal met" string

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger


Added a FAQ section

i have solved the issue #128

please merge this issue Sir .
@vishanurag

please merge this issue

@vishanurag sir , please merge this issue

I will resolve this conflict by today @vishanurag

Sir Please check this

solved the issue #252

Great

@vishanurag can I be the collaborator of this project?
You can see my contribution in the contribution section


[Bug] HGT failed on mini-batch inference

I run into the following error when running inference on a LP task using a trained HGT model:
Traceback (most recent call last):
  File "/develop/graphstorm/python/graphstorm/run/gsgnn_lp/lp_infer_gnn.py", line 91, in <module>
    main(args)
  File "/develop/graphstorm/python/graphstorm/run/gsgnn_lp/lp_infer_gnn.py", line 73, in main
    infer.infer(infer_data, dataloader,
  File "/develop/graphstorm/python/graphstorm/inference/lp_infer.py", line 77, in infer
    embs = do_mini_batch_inference(self._model, data, fanout=loader.fanout,
  File "/develop/graphstorm/python/graphstorm/model/gnn.py", line 893, in do_mini_batch_inference
    embeddings = dist_minibatch_inference(data.g,
  File "/develop/graphstorm/python/graphstorm/model/gnn_encoder_base.py", line 204, in dist_minibatch_inference
    out_embs[ntype][out_nodes] = output[ntype].cpu()
  File "/usr/local/lib/python3.8/dist-packages/dgl/distributed/dist_tensor.py", line 182, in __setitem__
    self.kvstore.push(name=self._name, id_tensor=idx, data_tensor=val)
  File "/usr/local/lib/python3.8/dist-packages/dgl/distributed/kvstore.py", line 1253, in push
    assert F.shape(id_tensor)[0] == F.shape(data_tensor)[0], \
AssertionError: The data must has the same row size with ID.

The task succeeded with --use-mini-batch-infer false.

Is this fixed?

Yes, this issue was fixed by PR #569.


Set up appveyor

Quoting @mblondel:

You might want to add appveyor for testing py-earth on Windows. Here are the files used in scikit-learn and lightning:
https://github.com/scikit-learn/scikit-learn/blob/master/appveyor.yml
https://github.com/scikit-learn-contrib/lightning/blob/master/appveyor.yml

As the PR have been merged, I think we can close this issue.


add app.Conf.App.Addr = ":3000" to readme

add app.Conf.App.Addr = ":3000" to readme, since a lot people won't use a .toml file to config web app.

Yeah, I am still thinking about .toml support, should I kick it or not. Anyway I updated gh-pages docs configuration section with your suggestion. Check it out here https://github.com/ivpusic/neo/commit/d911109e04cdc9439d06b7661a49d7808e3e63de. I would like to keep readme simple, and direct users to check project site or api documentation for more details.
Thanks anyway.


pulsar-admin bug of can't delete namespaces success!

Describe the bug
pulsar-admin bug of can't delete namespaces success.
To Reproduce
Steps to reproduce the behavior:

delete the only no-partition topic:

./bin/pulsar-admin topics delete persistent://test-tenant/test-namespace/test-topic-partition-0

delete the namespace:

./bin/pulsar-admin namespaces delete test-tenant/test-namespace

response:
Cannot delete non empty namespace

Reason: Cannot delete non empty namespace

try to delete the tenant:

./bin/pulsar-admin tenants delete test-tenant

response:
The tenant still has active namespaces

Reason: The tenant still has active namespaces

Expected behavior
delete the ns success.
Additional context
（1）Pulsar version is 2.4.2
（2）Linux: Linux version 4.14.133-113.112.amzn2.x86_64 (mockbuild@ip-10-0-1-135) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)) #1 SMP Tue Jul 30 18:29:50 UTC 2019

@bilahepan Thanks for the reporting.
./bin/pulsar-admin namespaces delete test-tenant/test-namespace
before this step, what is the topics list ns show?  Is there any other topics?

1 topics is deleted success!
2 topics list show that there not exist any topics under the ns.

1 topics is deleted success!
2 topics list show that there not exist any topics under the ns.

hello ,I have the same problem.
I solve this problem by use bin/pulsar-admin topics delete-partitioned-topic    persistent://my-tenant/my-namespace/my-topic
/bin/pulsar-admin topics delete persistent://test-tenant/test-namespace/test-topic-partition-0 this is used to delete non-partitioned-topic

Closed as answered.


Closes #693 Allow performing curl --upload-file

Ethon supports setting up a set_read_callback(body) currently, which is not exposed to Typhoeus.
If you want to mimic curl “<UPLOAD_URL>" --upload-file <FILE_PATH> in Typhoeus this is currently not possible.
With this change you'll be allowed to invoke the curls readfunction with:
Typhoeus.put("localhost:3000",
  set_read_callback: File.open('/Users/arian/tmp/TestFile.zip')
)

I don't think those tests are failing due to my code changes, how would I verify that?

Please rebase against master. I just adjusted the test-suite and dropped the (EOL) Ruby versions < 2.5

Okay, @Kjarrigan should be ready

Merged. Thanks for your contribution @arianf


browser traffic page stops updating displaying old data, still shows as connected,

Stratux version: v1.4r4 (5af6d77)

Stratux config:
SDR

[ ] single
[x] dual

GPS

[x] yes
[ ] no
type:

AHRS

[x] yes
[ ] no

power source: battery, wall
usb cable:

EFB app and version: (e.g., WingX Pro7 8.6.2) Microsoft Edge browser , chrome browser
EFB platform: (e.g., iOS 9.2) Edge on Win10, chrome on nexus android tablet, firefox on linux EFB hardware: (e.g., iPad Mini 2) udoox86, nexus tablet linux running on netbook

Description of your issue: When the traffic page is left open in the web browser for some period of time (usually within 1/2 hour) it stops updating leaving old data on page.  Age column stops updating, page still shows as 'connected', but changes are not being displayed in either of the 'valid' or the 'invalid' sections.  Other applications connected via other means (netcat for instance) to other provider sockets are still receiving data.  'Refreshing' the page will cause updates to start again, with a 'disconnect' status briefly displaying before 'Connected' is again displayed and updates resume.  So far, seems other pages continue updating (status, GPS/AHRS) when the traffic page stops updating.

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

Appears (one way) this may be caused is by having network traffic back up too far.
Using a version of this (https://github.com/gorilla/websocket/blob/master/examples/echo/client.go) on linux from a terminal, ctrl-s'ing the appl 'long enough' and then after some (yet to be determined) time ctrl-q releasing it, after the buffered console outputs are caught up, there does not seem to be any further updating.  (I've only just found this so haven't been able to play much with it, wanted to record as by next week I may have forgotten about it... :) ).


[Search] The input should be autocompleted with the first relevant search result as the search goes on

Hi,
Semantic ui has a pretty nice feature which is it's select that allows the user to type a name and it instantly looks in all the values of a select and retrieve the best ones.
I love this feature but I think one thing could be improved so it gets perfect! Please open this -> https://www.deobraemobra.com.br
In the search box at the top type just "arq" (without quotes). You will see semantic ui instanly searches and returns the results. My suggestion is this:

in the categories that there are no results it should not display the category name. If you do exactly as I said here (typing "arq") you will see other categorias like OBRA and LOJA have no result and SEMANTIC UI still displays those categories, it's pointless;

while the user is typing and semantic UI is filtering the results, it should make the first result the placeholder/mask of the input so the user can have a prediction right in the input while he is typing. I think I can easiily implement this binding a keyup event in the input and grabbing the first item and setting it as placeholder but hopefully someone already implemented this in the library and I am not aware;

I think both items above are not that complicated for those who knows a lot about semantic ui (not my case) OR maybe they are already implemented and I couldnt find how to fix that.
I appreciate your help into this, keep up this good library it's AMAZING.

I think the first issue comes down to implementing fullTextSearch: 'exact' (or rather searchFullText, the property names are inconsistent) for the search component: #5275.

@Banandrew  thanks man, the problem is not the exact or searchFullText feature, it works fine. It ommits correctly the results that should be ommited BUT it keeps the parent/category even if there is no child. Maybe I was not clear...

@batata004 Ah, excuse me, you’re right. Then it’s this one that should also include the search component, I’ll update it in a second: #4572.

@Banandrew that's exactly what I am looking for! It's sad it has been almost 8 months and this enhancement is still not implemented. It would make this component more intuitive cause hiding uneeded categories keep it clean and makes this component even more powerful!
About the second item I think it's equally important. If I could not be clear about it, could you please open your GMAIL.COM and in the search bar type the beginning of email of one of your most used contacts. You will see that google will suggest some emails you may want BUT ALSO gmail will make a placeholder in the search box with the most relevante result. Dont you think this is great and could be added to this great and amazing semantic ui library?

Any idea how I could implement 2?

@Banandrew could you please take a look again at https://github.com/Semantic-Org/Semantic-UI/issues/5347 ? There is clearly a bug, you probably didnt test the code right.


Correct bulk operation on Sqlite Geometry types

Hi,
Issue 1023 and 1214 are mentioned as fixed but it doesn't seems to be the case.
When inserting a point type with bulk insert the following exception is throw

No mapping exists from object type NetTopologySuite.Geometries.Point to a known managed provider native type.

This is because only Geometry and LineString types are handled by the adapter.
A more robust approach is to use instead the Geometry type only and rely on polymorphism.
However this alone doesn't work, the error is now

' violates Geometry constraint [geom-type or SRID not allowed]'

To solve this we have two things to do :

The first is to the right ordinate in the writer, I reused the code from EfCore here.
The second is to use the same SRID value between the one declared in the context and the one of the geometry value
The previous code used the SRID defined in the BulkOperation configuration but I don't think it's the right think to do here because if the SRID is not defined in the context (and so in the database) the SRID need to be 0 and not the SRID from the BulkOperation. Another issue is that in an entity two geometry column can have different SRID is highly unlikely but technically possible.
The right thing to do is either to do nothing and only use the one provided at the geometry creation or to get the one defined in the Context. I tried to do this by using the GetSrid method on the property but I get nothing.
So I choose to fallback on the "passthrough" way and ignore the value defined in the BulkOperation configuration.

Fix #1203
Fix #1214

Thx for contrib.
New version will be published in a week day with new nuget.


refact(trace): remove lightstep/opentelemetry-exporter-js

Pull Request Test Coverage Report for Build 1852

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 64.894%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/shared/utils/initTracer.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

client/src/shared/utils/initTracer.ts
1
0%

Totals

Change from base Build 1851:
-0.3%

Covered Lines:
111

Relevant Lines:
163

💛  - Coveralls


[enhancement]: Add Compatability for S330 4k Camera

Describe the solution you'd like
It would be great to add support for the S330 camera!

They are supported and work fine for me in Beta 2.20 Build 19.

They are supported and work fine for me in Beta 2.20 Build 19.

Does HKSV works well? If yes, would you please share settings? Thank you!


Decide if AgentDescription must be included in every StatusReport

See the comment here: https://github.com/open-telemetry/opamp-go/pull/63#issuecomment-1098526891
The spec says:
The Agent MUST send a status report:
* First time immediately after connecting to the Server. The status report MUST
  be the first message sent by the Agent.
* Subsequently every time the status of the Agent changes.

Nowhere does it says that the AgentDescription must be also included in the status report. On the contrary, the spec says:

agent_description

The description of the agent, its type, where it runs, etc. See
[AgentDescription](#agentdescription-message) message for details.

This field SHOULD be unset if no Agent description fields have changed since the
last StatusReport was sent.

The question is if AgentDescription must be included in every StatusReport. We need to consider what happens both for WebSocket and plain HTTP transports.

Some thoughts on this topic:

The Server typically keeps a state per each Agent. When the state changes on the Agent side it needs to be synced from the Agent to the Server.
OpAMP allows the Agent to omit unchanged data in the AgentToServer message, since otherwise every AgentToServer can be potentially very large.
For a variety of reasons we cannot expect that the Server always has the latest up-to-date state of each Agent (e.g. the Server may keep the state in RAM and a Server restart may loose the state).

WebSocket specifics:

WebSocket connections are persistent. We can assume that if the connection is open and maintained then all AgentToServer messages sent via that connection were processed by the Server and the cumulative state described by all those AgentToServer messages is correctly stored by the Server.
If the Server loses the state of the Agent it MUST NOT keep the WebSocket connection open, so that the assertion in point 1 above is valid.

Plain HTTP specifics:

The connections are not persistent (they may be kept alive, but that is unrelated to this discussion).
We cannot make assumptions about how long the Server keeps the Agent's state and whether the state is lost between AgentToServer messages sent by this Agent using HTTP requests.

Give the above, I believe the following is necessary:

For plain HTTP transport every AgentToServer message must either include the full state of the Agent or it must include a hash of that state (the
state data may be broken down into smaller parts, and a hash of each part may be included).
We could have a different rule for WebSocket connections because of their persistent nature, however for simplicity of
specification and implementation I suggest that we just follow a uniform approach for plain HTTP and for WebSocket and
always include either the full state of the Agent or the hash of the state.

Upon receiving AgentToServer message one of the following can happen:

The message includes the full Agent state (and not just the hash of the state). In this case the Server updates the Agent's   state it has.
The message includes only the hash. In this case the Server can compare the hash (or hashes) in the message to the one it has stored for the Agent and if there is any difference the Server will know that the Agent's state is changed. The Server then
must respond with a request for the Agent to send the full state using ServerToAgent.flags field.

More specifically:

The Agent's state data is composed of the following 4 parts: AgentDescription, EffectiveConfig, RemoteConfigStatus, AgentAddonStatuses.
-- AgentDescription and RemoteConfigStatus are small and are always included in every AgentToServer message.
-- EffectiveConfig and AgentAddonStatuses state can be potentially large and have a hash field that may be included instead of the full state. When the full state is not not included in AgentToServer message and the Server doesn't have the state it can request the state using ReportEffectiveConfig and ReportAddonStatus flags.

Alternatively, we just make everything uniform and all 4 parts keep hashes and have 4 flags for the Server to request the them.
@open-telemetry/opamp-spec-approvers @andykellr @dsvanlani what do you think?

I think your summary makes sense. In general, either the state needs to be supplied with every message or a hash needs to be supplied and the server needs a flag to be able to request the entire state.
At the protocol level, I wouldn't be opposed to some flexibility in the agent implementation. There could be a flag for each of the 4 parts and for each of the 4 components we could allow the agent to either send the entire state with each message or to send a hash.
In the reference implementation it would send the entire AgentDescription and RemoteConfigStatus and hashes of the EffectiveConfig and AgentAddonStatuses.

After thinking about this some more, I think having all 4 flags is useful, even if most implementations pass small information on every request.


Add support for using new ada models with different dimensions

Purpose
Fixes #1369
This PR enables developers to try out the new ada models, by letting them specify model name, version (which is "1" for the new models, vs "2" for the old), and dimensions. I've tried to write it in a way that is backward compatible, assuming 1536 dimensions, but I need to test on more old environments.
Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
[ ] Yes
[X] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[ ] Yes
[X] No

Type of change
[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist
See CONTRIBUTING.md for more details.

[X] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works --- Not clear what tests can be added.
[X] I ran python -m pytest --cov to verify 100% coverage of added lines
[X] I ran python -m mypy to check for type errors
[X] I either used the pre-commit hooks or ran ruff and black manually on my code.

Assuming the following:

The user has already deployed
They don't need the documentation
They update to the new model
They use the same dimensions

What happens? Does the app just break, does it give an error, work, or just proceed to return nonsense because the similarity scores are broken?

@tonybaloney I tested out that situation.
First, it took me a long time to find a valid previous environment, given that the new models are only available in a few regions. I'll note that on README.
When I asked a question in the app, I initially got a great response. I realized thats because the app defaults to hybrid search. When I changed it to vectors only, the results were unrelated, and it wasn't able to answer the question.
I'm not sure how to help developers in this scenario.

@tonybaloney I tested out that situation.
First, it took me a long time to find a valid previous environment, given that the new models are only available in a few regions. I'll note that on README.
When I asked a question in the app, I initially got a great response. I realized thats because the app defaults to hybrid search. When I changed it to vectors only, the results were unrelated, and it wasn't able to answer the question.
I'm not sure how to help developers in this scenario.

If there's nothing programmatic we can do to spot this and give an error, then we just need to be aware that it can (and probably will) happen for now. As the new model becomes more available and is adopted by more users I think this situation is going to come up more often.

@pamelafox thanks so much for your work on this, it's be running well with 256 large. However, I recently noticed that a previous pdf file that embedded fine on ada-2 now gives me the following error when attempting to embed. Been looking for a solution, but haven't tested a working fix yet.
Batch Completed. Batch size  16 Token count 4821
Batch Completed. Batch size  16 Token count 4629
Traceback (most recent call last):
File "/workspaces/username/./scripts/prepdocs.py", line 436, in
loop.run_until_complete(main(ingestion_strategy, azd_credential, args))
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/workspaces/username/./scripts/prepdocs.py", line 247, in main
await strategy.run(search_info)
File "/workspaces/username/scripts/prepdocslib/filestrategy.py", line 76, in run
await search_manager.update_content(sections, blob_image_embeddings)
File "/workspaces/username/scripts/prepdocslib/searchmanager.py", line 217, in update_content
embeddings = await self.embeddings.create_embeddings(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/prepdocslib/embeddings.py", line 130, in create_embeddings
return await self.create_embedding_batch(texts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/prepdocslib/embeddings.py", line 97, in create_embedding_batch
async for attempt in AsyncRetrying(
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/tenacity/_asyncio.py", line 71, in anext
do = self.iter(retry_state=self._retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/tenacity/init.py", line 314, in iter
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/workspaces/username/scripts/prepdocslib/embeddings.py", line 104, in create_embedding_batch
emb_response = await client.embeddings.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/openai/resources/embeddings.py", line 214, in create
return await self._post(
^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/openai/_base_client.py", line 1725, in post
return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/openai/_base_client.py", line 1428, in request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "/workspaces/username/scripts/.venv/lib/python3.11/site-packages/openai/_base_client.py", line 1519, in _request
raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'message': "'$.input' is invalid. Please check the API reference: https://platform.openai.com/docs/api-reference.", 'type': 'invalid_request_error', 'param': None, 'code': None}}

@Estrogenetics That looks like the error we recently fixed, but I haven't merged main into this branch. I'll merge in main today.

This is ready for re-review. I did two more manual tests today with standard text-embedding-ada-002 and then switching to a new model.

I understood that text-embedding-3-small supports 512 and 1536 as dimensions. text-embedding-3-large supports 256, 1024, and 3072.
Therefore:

1536 isn't a suitable default for text-embedding-3-large
There isn't any validation for those values in the code
There isn't a mention of this in the docs

I didn't realize you could only shorten to those dimensions. I see the table in https://openai.com/blog/new-embedding-models-and-api-updates?ref=upstract.com , is that where you're getting that from? I thought those were example dimension sizes but I probably mis-interpreted.
We can't do an @allows very easily since this would be a conditional allows. I could throw an error in the OpenAIEmbeddingService in prepdocs, but I assume that an error would also be thrown by OpenAI call, and it might be better to defer to them in case something changes?
Ideally I'd link to documentation but am not seeing a clear source for allowed sizes in either https://platform.openai.com/docs/guides/embeddings/frequently-asked-questions or https://openai.com/blog/new-embedding-models-and-api-updates?ref=upstract.com
I can also ask the SDK team

Hm yeah I'm able to get arbitrarily sized vectors:
vector = openai_client.embeddings.create(model="text3", input=['hello'], dimensions=400)
len(vector.data[0].embedding) # 400

With an error thrown by API if dimension is too high:
BadRequestError: Error code: 400 - {'error': {'message': "Invalid value for 'dimensions' = 5000. Must be less than or equal to 3072.", 'type': 'invalid_request_error', 'param': None, 'code': None}}

@Estrogenetics That looks like the error we recently fixed, but I haven't merged main into this branch. I'll merge in main today.

Hi Pamela, I can confirm the merge resolved the upload issue with ada3 I was having. Upload is going smooth with no errors. I also noticed that ada3 allows documents that were scanned sideways to also correctly embed. I did not notice this ability with ada2. Thank you again, and the team, for bringing us to the forefront. Absolutely brilliant. Can't wait to dive into your courses!


Short big jumps in water velocity and height changes

I am seeing brief pops in water and height checks that are very large causing any buoyancy script to pop the object/jitter.  Will work fine for few seconds and then pop.  You can see this, as an example, in the boat align normal script.
Here I am dumping out values from the velWater vector.  The distance also jumps regardless of which distance method I am using ie the ones in boatalign script or sampleHeight.  Seems completely random.
(-0.4, 8.7, -3.1)
(-0.8, 7.0, -2.7)
BOING
(21.9, -27.1, -5.9)
(-0.4, 16.2, -5.9)
(-24.2, 38.9, 1.2)
(-1.2, 6.3, -2.7)
(-1.6, 6.4, -3.1)
Here is a video of it happening.
https://drive.google.com/open?id=1LKf6uOvhXcI-588N6qnvFz6-hYDuTYSL
Weight is set to 1.0 in Shape Gerstner Batched and here is spectrum I am using.
https://drive.google.com/open?id=1a7V5lHP--XaCz6QFQ9fyk_FJ1zZlWWv0

Just fyi I am seeing this issue even dropping weight down to 0.5 and using the WavesModerateSmooth

Ok still happens with new build.  It "appears" to get worse by increasing minSpatialLength though I still see it with lower values just not as bad.  So at 32 for instance you will get those sever pops.  I am trying to basically ignore everything other then the large waves so that is why that value is so high btw.

Thanks for reporting, thats not great!
Just to check, is this something new or have you seen this issue in the past?
Do you think it would occur in the example scenes as well, like boat.unity?
This is an almost useless test but if you have the ocean debug gui could you disable "Readback coll data" and confirm there are no more pops? (the collision will no longer match the render surface but thats fine for this test). One other question also on the debug gui - what do you see for "Coll Queue Lengths" ?
I checked here and it looks ok, but thats just on my laptop. I have some ideas but would like to nail down some of the above info before going further.

Pretty sure we have seen this for awhile.  I think we thought it was something on our side that was causing it but now I believe it was this issue.  It is not super bad with low Boat Width settings so a bit hard to notice.  One of our guys was always complaining the boat find of bounced around to much at random times so I finally just started digging into it.
I am using the boat scene to replicate with latest.  Just change Boat Width to 32 and you should see it right away.  You can also use the modified wave spectra here that we are using since it might be a combo issue.
https://drive.google.com/open?id=1flZzjjD4FFu2bEtziVFGmtLMUynVHEU6

As far as turning off readback the boat just sits there an no longer moves at all.
Col queue lengths are [2, 2]

Just curious if you can repro this or if you need more info.  The issue is pretty bad for us right now.  Either we get a boat that if effected by a lot of the waves and gets tossed around in deep sea action or we can ignore those waves (width value around 40) but get pops that shoot us into the sky etc.

Good(ish) news - i tried with your wave settings and boat width 32 and i see the boat bouncing a bit - not on the magnitude you describe but its something to go on at least. I thought with such a large width that maybe there was no lod big enough to give that resolution, but i put breakpoints in a few places to check and they did not get hit so I'm not sure.
Anyway at least i can see something on my side and i hope to get some time to drill down on this soon. I'll report back when i do.

Great thanks for the help.  Let me know if you need a better example that really pops it and I can shoot you over one.  Probably also has to do with the size of the collider on the rigidbody etc as well since that would effect how much the pop effects the rigidbody.

Ok the issue seems to be from the computation/estimation of the water surface velocity. This does a finite difference on the surface displacement which is super susceptible to any jitter. I have an idea where the jitter is coming from and will look into it.
For now I have created a new branch which has this computation disabled - option Compute Water Vel on the boat script. could you check that this resolves the issue for you, to make sure I'm on the right track? If it doesnt, could you capture a video with Debug Draw turned on the boat script and with the scene view visible? It will draw the relevant information that should make it possible to diagnose any remaining jitter from video.
One possibility is to just leave this option Compute Water Vel off if it resolves the jitter for you, however the boat will behave a bit differently on the water (it won't get pushed around with the water motion).

Not sure yet.  I am appear to still be getting issues with my boat but checking it out with yours and just comparing to make sure something I am doing is not creating an issue.  One thing I do notice however is just with your demo ie boat changing the width to 40 instead of 32 does cause yours to jump way up in the air replicating what I was seeing.  Not sure if 40 is somehow over some limit or something but thought I would mention it as I am testing other stuff here.

So this would work it appears.  Let me bang on it a bit more to make sure.  Does kind of suck that we would not have the nice push around motion which is really nice I will say however given the option between the two the jitter is just unworkable so that would be ok.

Hey, i spent the day on it and found a glorious infestation of bugs. The floating physics never really got stretched/battle tested until now i guess. I'll start writing up a summary of what i've found now and post shortly

Ok great, well great that you are finding issues and I am not crazy :)  Was just going to post that I was wrong.  Looked ok sitting there but when we started driving the boat around it went nuts.  Started jumping into the air etc, jumping waves etc so no bueno.

thanks as always for jumping into this.  Fantastic package we just absolutely love what you have done, nothing like this anywhere so thanks again.

Fixes that have gone into fix/boat-instabilities:

Interpolation added - up until now the wave shape was point sampled. This was fine for using the more detailed lods but giving a boat width of 32 makes the steps really obvious. A useful test is to set Gravity to 0 which freezes the waves and makes this obvious. Performance: this is something to keep an eye on- manually implementing bilinear interpolation generates a surprising amount of code.. and requires 4 reads instead of 1.
Time stamps recorded with the readback requests so that a velocity can be computed with an accurate DT. Also, I'm computing directly in the readback component instead of in the boat, which is more robust to various things. It requires a bit more CPU memory but i doubt this will make an impact, and there are ways to optimize this down if we need to.
When lods changed scale, i was computing velocity across two different scales causing the huge spikes in velocity. I now ensure the scale matches the expected and the spikes are gone. The lods change scale based on the viewer - the camera. This is an interesting point - if you get weirdness try freezing the camera position.
Removed a frame of latency for the physics wave shape, for free (yay)
Added even more debug - an option that draws crosses in the area around the boat.

For me it now works better than i expected, even in very large choppy waves. Also i was worried that perhaps the async readbacks were dodgy or unreliable, but that doesnt seem to be the case so far, I've managed to make things pretty solid, so thats great.
Thats all the good news. There is one remaining instability, also related to lods changing scale / camera position. I'm still sometimes using read back data at the wrong lod scale, because readbacks come a frame or two later and the lods can change in the meantime. I need a good way to find the right readback request - might need some arch change. I'll think about it.
However I think it is worth trying out for sure as i dont notice this instability if i dont have the debug vis turned on.

Fixes that have gone into fix/boat-instabilities:

Interpolation added - up until now the wave shape was point sampled. This was fine for using the more detailed lods but giving a boat width of 32 makes the steps really obvious. A useful test is to set Gravity to 0 which freezes the waves and makes this obvious. Performance: this is something to keep an eye on- manually implementing bilinear interpolation generates a surprising amount of code.. and requires 4 reads instead of 1.
Time stamps recorded with the readback requests so that a velocity can be computed with an accurate DT. Also, I'm computing directly in the readback component instead of in the boat, which is more robust to various things. It requires a bit more CPU memory but i doubt this will make an impact, and there are ways to optimize this down if we need to.
When lods changed scale, i was computing velocity across two different scales causing the huge spikes in velocity. I now ensure the scale matches the expected and the spikes are gone. The lods change scale based on the viewer - the camera. This is an interesting point - if you get weirdness try freezing the camera position.
Removed a frame of latency for the physics wave shape, for free (yay)
Added even more debug - an option that draws crosses in the area around the boat.

For me it now works better than i expected, even in very large choppy waves. Also i was worried that perhaps the async readbacks were dodgy or unreliable, but that doesnt seem to be the case so far, I've managed to make things pretty solid, so thats great.
Thats all the good news. There is one remaining instability, also related to lods changing scale / camera position. I'm still sometimes using read back data at the wrong lod scale, because readbacks come a frame or two later and the lods can change in the meantime. I need a good way to find the right readback request - might need some arch change. I'll think about it.
However I think it is worth trying out for sure as i dont notice this instability if i dont have the debug vis turned on.

Fixes that have gone into fix/boat-instabilities:

Interpolation added - up until now the wave shape was point sampled. This was fine for using the more detailed lods but giving a boat width of 32 makes the steps really obvious. A useful test is to set Gravity to 0 which freezes the waves and makes this obvious. Performance: this is something to keep an eye on- manually implementing bilinear interpolation generates a surprising amount of code.. and requires 4 reads instead of 1.
Time stamps recorded with the readback requests so that a velocity can be computed with an accurate DT. Also, I'm computing directly in the readback component instead of in the boat, which is more robust to various things. It requires a bit more CPU memory but i doubt this will make an impact, and there are ways to optimize this down if we need to.
When lods changed scale, i was computing velocity across two different scales causing the huge spikes in velocity. I now ensure the scale matches the expected and the spikes are gone. The lods change scale based on the viewer - the camera. This is an interesting point - if you get weirdness try freezing the camera position.
Removed a frame of latency for the physics wave shape, for free (yay)
Added even more debug - an option that draws crosses in the area around the boat.

For me it now works better than i expected, even in very large choppy waves. Also i was worried that perhaps the async readbacks were dodgy or unreliable, but that doesnt seem to be the case so far, I've managed to make things pretty solid, so thats great.
Thats all the good news. There is one remaining instability, also related to lods changing scale / camera position. I'm still sometimes using read back data at the wrong lod scale, because readbacks come a frame or two later and the lods can change in the meantime. I need a good way to find the right readback request - might need some arch change. I'll think about it.
However I think it is worth trying out for sure as i dont notice this instability if i dont have the debug vis turned on.

 So, fixes that have gone into fix/boat-instabilities:

Interpolation added - up until now the wave shape was point sampled. This was fine for using the more detailed lods but giving a boat width of 32 makes the steps really obvious. A useful test is to set Gravity to 0 which freezes the waves and makes this obvious. Performance: this is something to keep an eye on- manually implementing bilinear interpolation generates a surprising amount of code.. and requires 4 reads instead of 1.
Time stamps recorded with the readback requests so that a velocity can be computed with an accurate DT. Also, I'm computing directly in the readback component instead of in the boat, which is more robust to various things. It requires a bit more CPU memory but i doubt this will make an impact, and there are ways to optimize this down if we need to.
When lods changed scale, i was computing velocity across two different scales causing the huge spikes in velocity. I now ensure the scale matches the expected and the spikes are gone. The lods change scale based on the viewer - the camera. This is an interesting point - if you get weirdness try freezing the camera position.
Removed a frame of latency for the physics wave shape, for free (yay)
Added even more debug - an option that draws crosses in the area around the boat.

For me it now works better than i expected, even in very large choppy waves. Also i was worried that perhaps the async readbacks were dodgy or unreliable, but that doesnt seem to be the case so far, I've managed to make things pretty solid, so thats great.
Thats all the good news. There is one remaining instability, also related to lods changing scale / camera position. I'm still sometimes using read back data at the wrong lod scale, because readbacks come a frame or two later and the lods can change in the meantime. I need a good way to find the right readback request - might need some arch change. I'll think about it.
However I think it is worth trying out for sure as i dont notice this instability if i dont have the debug vis turned on.

Sweet!
I started sketching out a rewrite that reads back only the LODs that are requested (could be a big improvement), and it keeps track of any readback data by resolution, so it's robust to lods changing scales etc. So far its going well - i like the affect on the code so far.
Not sure what we want to do right now though - may be worth me creating a PR with the changes so far, as I think i believe in these as being a good thing to push into master, even without the refactor.

Yep.  I would vote to push what you have done so far into master.  As you work on the rewrite in this (or another branch) I can help test that as well.


Quantified vars match quantifier type in Haskell

@hreada please review the changes I've made to the scala code (commit
b777c6d)

@hreada @xiaohong.chen I've constrained the KORE parser to only accept #\... identifiers if the string following \ corresponds to one of and, or, exists, ....
Please consider updating the Semantics-Of-K to reflect this constraint.

@traiansf I've updated the Semantics-Of-K to reflect your constraint that to only accept #\... identifiers if the strings correspond to one of the logic connectives. See this commit: https://github.com/kframework/kore/commit/93fe7d2494151b9913d3b4958b6f5dfcd1b81c79


Avoid generating String() methods

proteus generates a String() method for my enums, but I already have one (generated by stringer). So I would like to avoid generating this String() method.
I don't care if this is a command line flag enabling it globally or annotation-based opt-in per type. Both would work for me.
➜  sdk git:(expand-uast) ✗ proteus --pkg github.com/bblfsh/sdk/uast --pkg github.com/bblfsh/sdk/protocol -f $GOPATH/src/github.com/bblfsh/sdk/protos --verbose
WARN: ignoring type interface{Next() /home/smola/dev/go/src/github.com/bblfsh/sdk/uast.Path}
WARN: ignoring type interface{Step(); /home/smola/dev/go/src/github.com/bblfsh/sdk/uast.PathIter}
WARN: ignoring type interface{ToNode(src interface{}) (*/home/smola/dev/go/src/github.com/bblfsh/sdk/uast.Node, error)}
error scanning package "github.com/bblfsh/sdk/protocol": /home/smola/dev/go/src/github.com/bblfsh/sdk/protocol/protocol.go:4:2: could not import github.com/bblfsh/sdk/uast (/home/smola/dev/go/src/github.com/bblfsh/sdk/uast/role_string.go:11:15: method String already declared for Role)

It's not proteus, probably it's generated by gogo/protobuf, which requires a PR there so this might take a while.

We just need to add an option. This can be done by adding an option. I'll try to do it checking we have all the options we want already there.

We need to detect the String() method. If it is detected, we can add (gogoproto.goproto_stringer)=false for the given message / enum.


User Activity - follow/unfollow a user

t ack

t ack

works no problem, but like subs, follow/unfollow doesn't seem to carry over from mobile to laptop or vice versa

accounts don't save


Should the loki operator install in the namespace openshift-operators-redhat?

That's what it says on the installation page.

Yes, it's to stop it conflicting with the community variant that is installed into the openshift-operators namespace. We might be able to move it to another non-redhat namespace, but I need to verify that it isn't hardcoded into the cluster logging operator.


Persistent builds don't seem to work

It looks like XTask is invoked before the task is run, so Elapsed is never set when read here.
Repro:

param($stuff)

task A {
    Write-Host "task A"
}

task B A,{
    $script:stuff = "Does this persist?"
    Write-Host "task B"
    if (!(Test-Path aa.txt)) {
         exec { cmd /c exit 1 }
    }
}

task C B,{
    Write-Host "task C: $stuff"
}

task . C

Build-Checkpoint tmp.clixml -Build @{File = '.\a.build.ps1' }
"" > aa.txt
Build-Checkpoint tmp.clixml -resume

Expected - it shouldn't run task A the second time.

Hi @lzybkr
Weird... I thought it was fine to invoke XTask before tasks (and there was a reason to invoke before). In this case it should be invoked before B after A, so that and A's Elapsed should be set and A should be saved as done. I'll take a closer look indeed.

In this case it should be invoked before B after A...

Ah, it's wrong. Due to the dependencies, XTask for B is invoked before A. It's a bug. Thank you for catching and reporting it.

Here is the story of invoking XTask before tasks -- https://github.com/nightroman/Invoke-Build/issues/22

Fixed in 5.4.3


training with different size use yolox

hi, i see yolox config only support two img scale (or img size ),such as: (640, 640) and (416, 416);
when i set img scale  to (540, 960), will met some errors, such as :
Sizes of tensors must match except in dimension 2. Got 55 and 56 (The offending index is 0)
can you give me some help if i want to change diffferent size  to train,?

solved by setting
dict(         type="Pad",         pad_to_square=False,         size_divisor=32,         pad_val=dict(img=(114.0, 114.0, 114.0)),     ),
int traing and test  pipline


404- File path does not exist error  in SFTP-SSH -Create File

Describe the Bug with repro steps
Requirement is to create a 'new email trigger when received in shared email box', retrieve the csv attachment and send that attachment to SFTP location.
Trigger-->for each mail attachment-->get attachment-->create file. However, at times am getting 404 error - file path doesn't exist. Sometime, the runs are successful. As soon as the file lands in target SFTP server, target system picks it and process them.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
Chrome
Additional context
This is a production issue. to be addressed as soon as apossible.

Running into the exact same thing over here.
Trigger ->  List Files in SFTP Folder -> ForEach (using Body)  -> Get SFTP File Content (using Current item) -> Create File in SharePoint (using Name and File Content)

Running into the exact same thing over here, just with different connections :/ Trigger -> List Files in SFTP Folder -> ForEach (using Body) -> Get SFTP File Content (using Current item) -> Create File in SharePoint (using Name and File Content)

Hi , in additional options you will see 'Get all file metadata' , just keep it as 'No' and try again.


[sw] Update edn fifo clear timing

Currently, the fifos can only be cleared when edn is enable. This commit honors this timing in dif_edn_stop.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@moidx this should help with one of the errors you've encountered.
@cindychip assertion fix should get rid of the data stable issue, and this should hopefully help with the fifo error.
I'm guessing in your test you call dif_edn_stop, but if not, the same procedure probably needs to be applied elsewhere.

Thanks @tjaychen for the fix, and @cindychip for debugging. I am going to give this a try.


Add time-tracking events to webhook

Feature Description
To integrate tools like Clockify or Traggo with Giteas time-tracking adding a new event type for time-trackings to the webhook settings of a project would be helpful. Those tools have quite advanced analytics which I wont expect Gitea to implement in the near future, but as tracking time on issues and PRs in Gitea is quite cool and convenient, I would like to have some webhook to call a service which could for example create entries via the Clockify api.
Screenshots
No response

I migrated from gitlab recently. I wanted to integrate with clockify with gitea events like pressing start/stop of time tracking and manually entering time but unfortunately I discovered that there aren't any events for that.
Those events would be really helpful to prevent bloat of gitea itself, advanced reporting can be easily integrated in separate app with webhooks.
Kinda related issue: https://github.com/go-gitea/gitea/issues/3998


Twitter dataset format

Hi there, I am trying to run your code using the twitter dataset but the files you provide are .txt files and your notebook is written to handle processed .json files. Is there code somewhere to process the .txt files to .json? Thanks

Hi there,
Thank you so much for your message and I'm sorry for my late reply.
You can find the JSON format file here: https://drive.google.com/drive/folders/1JZscw_9L_6ID9td9-c79QnwMsLCsD5Nh?usp=sharing.
Best,
Bowen