Linker error when using Ensembles/Dropbox in Swift project

I try to use Ensembles with Dropbox on my Swift project, but got this error
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_DBRestClient", referenced from:
      objc-class-ref in CDEDropboxCloudFileSystem.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have created sample project to reproduce this error
SwiftEnsemble.zip
But any Podfile looking like this would cause the error
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'SwiftEnsemble' do
  pod 'Ensembles', '~> 1.0'
  pod 'Ensembles/Dropbox', '~> 1.0'
end

The Ensembles podspec doesn’t use frameworks. It is still using static libraries, so you will probably have to use that.
Drew

On 06 Apr 2016, at 19:02, Sarun Wongpatcharapakorn<EMAIL_ADDRESS>wrote:
I try to use Ensembles with Dropbox on my Swift project, but got this error
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_DBRestClient", referenced from:
objc-class-ref in CDEDropboxCloudFileSystem.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have created sample project to reproduce this error
SwiftEnsemble.zip https://github.com/drewmccormack/ensembles/files/206912/SwiftEnsemble.zip
But any Podfile looking like this would cause the error
Uncomment this line to define a global platform for your project
platform :ios, '8.0'
Uncomment this line if you're using Swift
use_frameworks!
target 'SwiftEnsemble' do
pod 'Ensembles', '~> 1.0'
pod 'Ensembles/Dropbox', '~> 1.0'
end
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/222

On iOS Project i have a similar problem with the dropbox sdk. Perhaps this will help.
Based on the stack overflow thread: http://stackoverflow.com/questions/32969971/dropbox-ios-sdk-dropboxsdk-h-file-not-found i devices a procedure after every pod install of the dropbox sdk.
1.) Open Terminal
2.) go to project base folder (cd .... /Develop/YourProject )
3.) Create Dropbox header folders:
mkdir Pods/Headers/Private/Dropbox-iOS-SDK
mkdir Pods/Headers/Public/Dropbox-iOS-SDK
4.) Link framework headers
ln -s Pods/Dropbox-iOS-SDK/dropbox-ios-sdk-1.3.13/DropboxSDK.framework/Headers/* Pods/Headers/Public/Dropbox-iOS-SDK/
ln -s Pods/Dropbox-iOS-SDK/dropbox-ios-sdk-1.3.13/DropboxSDK.framework/Headers/* Pods/Headers/Private/Dropbox-iOS-SDK/

So if I need to use use_frameworks! for other pods I have to manually integrate ensemble right?

I don’t use Cocoapods much, so I’m not 100% sure. But it may be easier just to integrate it manually, yes.
Drew

On 07 Apr 2016, at 04:56, Sarun Wongpatcharapakorn<EMAIL_ADDRESS>wrote:
So if I need to use use_frameworks! for other pods I have to manually integrate ensemble right?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/222#issuecomment-206672124

As far as I know, manually is the only way for now, because the Dropbox API is a static lib / binary and can't be integrated as a framework.

For reference, Dropbox has new SDK for API v2 which support Swift and dynamic framework https://www.dropbox.com/developers/documentation/swift https://github.com/dropbox/SwiftyDropbox

Yes, fully aware, but I don't have time to write a backend for it right now. I also don't know if I will both using their SDK, given how bad the v1 SDK is. Might just write my own NSURLSession based backend for the REST API. Will have to take a look at some point.

I failed to integrate Dropbox to the project (integrate ensemble work fine)
What I did are

drag DropboxSDK Xcode project from Vendor > DropboxSDK > DropboxSDK > DropboxSDK.xcodeproj to my project
In the General tab, click the + button in the Linked Frameworks and Libraries section and add libSDropboxSDK.a

but when I try #import "DropboxSDK.h" it error with file not found. Did I miss something here?

You probably need to add an entry to the header search path. I think it is mentioned in the last chapter of the Ensembles book, about Dropbox.
Kind regards,
Drew

On 07 Apr 2016, at 19:29, Sarun Wongpatcharapakorn<EMAIL_ADDRESS>wrote:
I failed to integrate Dropbox to the project (integrate ensemble work fine)
What I did are

drag DropboxSDK Xcode project from Vendor > DropboxSDK > DropboxSDK > DropboxSDK.xcodeproj to my project
In the General tab, click the + button in the Linked Frameworks and Libraries section and add libSDropboxSDK.a

but when I try #import "DropboxSDK.h" it error with file not found. Did I miss something here?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Thank you very much.


Separate generic format definitions and the format specific interfaces

Currently the code is all a bit intertwined for different formats. This worked okay, but with different formats having different structures, it's become a bit hard to manage. This has mainly come up with adding support for the SD-JWT format, and that uses credential_definition.type , while JWT VC uses types (top level and plural), and JSON-LD uses credentialDefinition.types (camelCase and plural).
Should there have been more consistency between these types? Definitely! but it shows that we shouldn't assume the format specific fields between formats will be similar, and thus to improve maintainability of this library, I think all format specific handling should be separated form the general protocol implementation.
Thus we have the base offer/request etc.. interfaces and handling, and then for each format you need to define the specific offer/request/issuer metadata interfaces, as well as some functions that can e.g. verify a request, or transform an offer of that specific format into a request. This could be an interface that is implemented with some common methods.
This would allow adding new formats without needing to hardcode them in this library, and would make it easier to see what is base OID4VCI code, and what is custom format specific logic
Thoughts on this?

Yes, makes sense at this point.
Maybe we can nicely combine this with #75 as there will be a new version which again has different behavior for the credential offers to metadata resolution/mapping


Plans / potential for browser use?

I saw that there's an Onnx Runtime example - that made me wonder whether it might be feasible to run a version of the model in the browser.
https://github.com/usefulsensors/moonshine/tree/5689bdf58818d26029cb59a9f25b186f8971e4a9/moonshine/demo#demo-standalone-file-transcription-with-onnx
Are there any plans to port moonshine for browser use? And have you any comment on how challenging that might be. I guess if there are python dependencies which are hard to replace with JavaScript equivalents it might be pretty difficult, unless perhaps Pyodide might bridge the gap?

Yes, we have a demo of Moonshine running in the browser using onnxruntime-web. We will be releasing it soon, stay tuned.

@keveman This is fantastic. My long term roadmap for the project I'm working on porting from Whisper.cpp to Moonshine involves a version that runs clientside (WASM?) in the browser.

Many thanks @keveman - this is great news, really looking forward to seeing that new demo!

@nmstoker  @curiositry
FYI: We have already supported running Moonshine models (and other models like Whisper, etc) with WebAssembly. You can run them either using NodeJS on the server side or directly in your browser locally on the client side.
The following huggingface space is a demo
https://huggingface.co/spaces/k2-fsa/web-assembly-vad-asr-sherpa-onnx-en-moonshine-tiny

Please see also https://github.com/k2-fsa/sherpa-onnx/pull/1535

@nmstoker @curiositry I just made our web demo public in a HuggingFace space. It uses onnxruntime-web to perform inferences in the browser. We will also be merging the source for the demo into main shortly; it includes the JavaScript port of Moonshine ONNX model inferences. This should hopefully provide a good starting point for building out your own web applications.

Thank you @evmaki - that's kind of you to follow up and to include the source.
The HF demo works really well online. I'll give it a whirl integrating with my dev site this weekend - looking forward to it!
Will close this now. Thanks again!


fix(incsearch): viewport is not updating during searching

Resolve: #1149
Resolve: #1555

This feels like a hack, and I don't really like the added code. Is there any other possible fix that is more generic?

Neovim did not send the corresponding grid information during incsearch, and no relevant instructions were found in the neovim documentation. @justinmk
This 'hack' is currently the simplest one among the solutions I have tried.

It used to work before your highlight manager refactor... do you know why it broke?

No, this is a problem that has always existed. I tested 0.3.2 💆🏻♂
It is fundamentally unrelated to highlighting.
https://github.com/vscode-neovim/vscode-neovim/issues/1149#issuecomment-1427386558

This problem can only be easily reproduced in clean mode. Most people(including me) don't encounter this problem because they use a search plugin or execute nohl after searching

https://github.com/vscode-neovim/vscode-neovim/pull/1453

https://github.com/neovim/neovim/pull/27858


Precompiles unstaged changes

When I use this to locally precompile, the precompile contains all of my unstaged changes which can cause some huge problems. I would expect it to only do the staged/committed changes.

@jessicard looks like you found another solution!
I used gulp to build assets on my blog and for the past few months and I keep thinking that it could be leveraged in Rails too. I'm glad to see that you had so much success with it.
I'm thinking I may stop maintaining this gem and instead point to your blog post as the recommended approach going forward.

@stve yeah! gulp has been awesome to work with, and i'm glad you're liking our solution! that sounds great (and thanks for making and maintaining gem, it was really helpful for us :) )

Closing as there really isn't a good way to solve this other than using version control.


Zoomed image border breaking screen on first render

Describe the bug
Hello @willnguyen1312! I have installed your library today and its pretty cool, but I am stucking with this issue that when I first render the image on the screen. I discovered that the zoomed image somehow appears on the side of the original one, but not totally, only its borders like the image below:

(borders to the right side)
After I click to zoom the image, the screen returns to normal:

(no borders)
Reproduction
https://stackblitz.com/edit/stackblitz-starters-hb8af1?file=app%2Fpage.tsx
Used Package Manager
yarn
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is available

Hi Raiff, I fixed an issue in the latest release. Please feel free to check it out and let me know if there is anything I could support form my end. Thanks so much :)

Thanks @willnguyen1312! Everything is working like a charm


it's not simple at all . autostart doesn't not works unless refocus webpage window

This was added because the rendering engine on the browser will cause the items to overlap after a time if the window is not in focus. I cant explain why.

Has this been fixed yet, I download the plugin but it still pauses when screen looses focus.


pango 1.40.5 "distutils.errors.CompileError: command 'gcc-5' failed with exit status 1"

Please follow the general troubleshooting steps first:

[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[ ] Confirmed this is a problem with Linuxbrew/brew and not specific formulae? If it's a formulae-specific problem please file this issue at https://github.com/Linuxbrew/homebrew-core/issues/new

Logs
https://gist.github.com/440895715f34a9c2b896914cb2963956
Screen output
==> Upgrading librsvg
==> Installing dependencies for librsvg: pango
==> Installing librsvg dependency: pango
==> Downloading https://download.gnome.org/sources/pango/1.40/pango-1.40.5.tar.xz
Already downloaded: /home/linuxbrew/.cache/Homebrew/pango-1.40.5.tar.xz
==> ./configure --disable-silent-rules --prefix=/home/linuxbrew/.linuxbrew/Cellar/pango/1.40.5 --enable-man --with-html-
==> make
Last 15 lines from /home/linuxbrew/.cache/Homebrew/Logs/pango/02.make:
    source_str.rfind(os.sep)]))
  File "/home/linuxbrew/.linuxbrew/opt/python/lib/python2.7/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/linuxbrew/.linuxbrew/opt/python/lib/python2.7/distutils/unixccompiler.py", line 124, in _compile
    raise CompileError, msg
distutils.errors.CompileError: command 'gcc-5' failed with exit status 1
make[4]: *** [Pango-1.0.gir] Error 1
make[4]: Leaving directory `/tmp/pango-20170413-153436-1su4p10/pango-1.40.5/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/pango-20170413-153436-1su4p10/pango-1.40.5/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pango-20170413-153436-1su4p10/pango-1.40.5/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pango-20170413-153436-1su4p10/pango-1.40.5'

Hi, Torsten. We're actively working on this issue. The workaround is
brew install --env=std pango


fix incorrect report id retrieved at attachment modal

Details

On AttachmentModal, we get report id from the route path to determine whether the attachment is a report/chat attachment. However, this has an issue when we open an attachment, which is a user profile image through report participants detail screen because it also contains /r but actually not a report/chat attachment.
Fixed Issues

$ https://github.com/Expensify/App/issues/15809
PROPOSAL: https://github.com/Expensify/App/issues/15809#issuecomment-1466292964
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open an existing group or create a new one
Press the chat header to open the group participants
Select one participant
Press the profile image
Verify the profile image shows up

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

 If you have the K2 extension, you can simply click: [this button]

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.2.86-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.2.86-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


infinite resource loading for carousel

Current behavior

-open https://capybara.storefrontcloud.io/
-wait some time when carousel will change slide

turn on Disabled cache => now will be loaded resources for carousel, there is some loop which triggers infinite loop

Expected behavior

resources are loaded only once per slide

Can you handle fixing this bug by yourself?

[x] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Related issue: https://github.com/DivanteLtd/storefront-ui/issues/1105

Very similar issue concerning CSS variables and continuous image loading while cache is disabled has been recently reported in Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1073904


nvme-cli: 2.2.1 -> 2.4

Description of changes
Release changelog: https://github.com/linux-nvme/nvme-cli/releases/tag/v2.4
Changes since last version in nixpkgs: https://github.com/linux-nvme/nvme-cli/compare/v2.2.1...v2.4
Depends on: https://github.com/NixOS/nixpkgs/pull/226071
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@wegank apologies, last branch got muddied up (some weird interaction between shallow clone + git commit --amend). I've addressed the comments from the previous PR, the unchanged hash oversight resulted in https://github.com/NixOS/nixpkgs/pull/226071 being opened as a necessary prerequisite to this PR

#226071 being opened as a necessary prerequisite to this PR

Would you please do it in a separate commit in this PR?

#226071 being opened as a necessary prerequisite to this PR

Would you please do it in a separate commit in this PR?

Done


[Refactor] remove some unused code in FunctionContext

What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

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

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

run starrocks_admit_test

https://github.com/Mergifyio rebase

run starrocks_admit_test

run starrocks_be_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run

run starrocks_admit_test

run starrocks_admit_test


XMPP.h file not found

How can I fix this error? I searched a lot, but did not find the solution

Hey, did you found the solution?

yes. I found. Thanks for response!

@orkhanalizade mind sharing how to fix the issue? Am facing the same error

@orkhanalizade I am also facing the same issue. Can you please share the solution.?

@jessjpj I do not recommend you use this framework.

Then which framework you are recommending?
On Wed, Dec 16, 2015 at 5:35 PM, Orkhan Alizade<EMAIL_ADDRESS>wrote:

@jessjpj https://github.com/jessjpj I do not recommend you use this
framework.
—
Reply to this email directly or view it on GitHub
https://github.com/nemesit/SwiftXMPP/issues/7#issuecomment-165086773.


STEP_9_JRTB-10: added extended bot statistics for admins.

PR Details
0.8.0-SNAPSHOT
Added AdminCommand annotation and AdminHelpCommand command.
How Has This Been Tested
provided unit tests
Types of changes

[x] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x]  New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)


Add basic docs for credential helper

Add credential helper docs per request in https://github.com/bazelbuild/rules_python/pull/1827#issuecomment-2031018674.

New PR: https://github.com/bazelbuild/rules_python/pull/1834


3.68 firmware issues

I'm trying to get the plugin to work for uncharted the golden abyss. I think I have done everything correctly but it still isn't working. Could there be an issue with the plugin and the latest firmware?
Thank you for your time.
Edit: I tried a ps3 controller and it worked. So it's just not working with DS4. But that's not a problem.
Thank you so much for creating this plugin!

Hello,
This module doesn't rely on any FW specific offset so the problem is somewhere else.
Thank you for your report. I build a version which can log the module initialization and the controller detection:
DSMotionKernelLogs.zip
It should create a report file in "ux0:data/dsmotion_k_log.txt". If this file doesn't contain "DS4 connected!" or "DS3 connected!", then nothing will work.
By the way, I think I have an idea of the issue with H-encore: the DSMotion kernel module must be initialized before the controller gets connected because it needs to intercept the "handshake" connection.
But when you start H-encore, the controller is already connected when the kernel module is initialized. So the controller connection will be ignored. A simple by-pass should be to shutdown/restart the controller once H-encore has been started (long press on the PS button, a menu pop ups and allow to shutdown the controller).
I managed also to reproduce this issue with Enso by powering on the controller very early while the PS TV is booting.
Can you confirm me if the by-pass works for your case on H-encore?

Turning the controller off and on again after starting h-encore solves the problem! Thank you.


Bot freezes up and does not collect resources

Moving from map to map works fine for me when running the bot, but when it gets to the collect action it freezes up.
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/jae/Desktop/Dindo-Bot/threads/bot.py", line 42, in run
    self.interpret(instructions)
  File "/home/jae/Desktop/Dindo-Bot/threads/bot.py", line 102, in interpret
    self.collect(instruction['map'], instruction['store_path'])
  File "/home/jae/Desktop/Dindo-Bot/threads/job.py", line 39, in collect
    screen = tools.screen_game(self.game_location)
  File "/home/jae/Desktop/Dindo-Bot/lib/tools.py", line 96, in screen_game
    raw = root.get_image(x, y, width, height, X.ZPixmap, 0xffffffff)
  File "/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py", line 266, in get_image
    plane_mask = plane_mask)
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py", line 1369, in __init__
    self.reply()
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py", line 1389, in reply
    raise self._error
BadMatch: <class 'Xlib.error.BadMatch'>: code = 8, resource_id = 294, sequence_number = 13, major_opcode = 73, minor_opcode = 0

This is the error that shows up in terminal, I also have tried disabling Check resources color.
Thanks for replying! This is a really cool project you are working on.

I think this is due to python version, please retry using python3:
python3 bot.py

This is what shows up when running with python3. I also installed python3-xlib.
jae@x220:~/Desktop/Dindo-Bot$ python3 bot.py
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/jae/Desktop/Dindo-Bot/threads/bot.py", line 42, in run
    self.interpret(instructions)
  File "/home/jae/Desktop/Dindo-Bot/threads/bot.py", line 102, in interpret
    self.collect(instruction['map'], instruction['store_path'])
  File "/home/jae/Desktop/Dindo-Bot/threads/job.py", line 39, in collect
    screen = tools.screen_game(self.game_location)
  File "/home/jae/Desktop/Dindo-Bot/lib/tools.py", line 96, in screen_game
    raw = root.get_image(x, y, width, height, X.ZPixmap, 0xffffffff)
  File "/usr/lib/python3/dist-packages/Xlib/xobject/drawable.py", line 266, in get_image
    plane_mask = plane_mask)
  File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1369, in __init__
    self.reply()
  File "/usr/lib/python3/dist-packages/Xlib/protocol/rq.py", line 1389, in reply
    raise self._error
Xlib.error.BadMatch: <class 'Xlib.error.BadMatch'>: code = 8, resource_id = 294, sequence_number = 13, major_opcode = 73, minor_opcode = 0

Okay, i need to investigate about this (once i get some free time).
By the way, what's your linux distrubution ? ubuntu? could you try on an another/updated linux distro?

My linux distribution is ubuntu bionic, I updated it to the most recent distro which is 18.04 but I am still receiving the same error. Thanks for the support!

Hey again, can you share your maps.data file here please? (it should be inside the Dindo-bot directory)

Hi, here is my maps.data and log files. I will try the fix and let you know if it works.
maps.zip
logs.zip

It works now! thank you for the support.
Just an additional question. If the bot goes to a map and sees an exhausted resource will it go on to the next resource or will it end? Is there any way of implementing functionality so that the bot waits until the resource pops up and continues with the map?

It works now! thank you for the support.

Cool! x)

Just an additional question. If the bot goes to a map and sees an exhausted resource will it go on to the next resource or will it end?

The actual behavior of the bot is to check the resource color before clicking on it, so if the color is wrong it will go to the next one (also, you can disable the color check from settings, but i do not recommend it). So no, the bot will not end before the path end, & what you can do to avoid this is to simply create a looped path & under the bot config, set a high number in repeat path option (in a way that the bot will always restart the path after its end/last action).

Is there any way of implementing functionality so that the bot waits until the resource pops up and continues with the map?

This might be a good idea, but i think that moving to other maps is quite better then staying on the same map. Also, you can easily do that right now using the Wait action just after the Collect action, for example: if a resource needs 30 seconds to appear again, you just need to wait 30/40 sec after the collect action & loop/repeat the path many times (using the repeat option i told you about above).
I hope that's enough clear, 'cause i'm strugling to find the right words in english (i'm not too much used to it :confused: ).

It's really clear, I appreciate the effort. (Your english is perfect)

After testing the bot with enabled color check it seems that the bot does not recognize the resource pixel color. Throwing the error Ignoring non-matching resource
I will be attaching my log and map files if you need them.
maps.zip
logs.zip

This is kind of weird, did you move or resize the bot just after creating the map? also, what's your screen resolution?

I do not move or resize the bot after creating the map. Once the bot resizes and auto-snaps the window I don't touch it. My screen resolution is 1366x768.

Okay, i think i have an idea about why this is happening, could you please calculate the game window decoration height (represented by the square in the image below)?

& then try to reduce the window decoration value in the bot settings depending on the value you've calculate. You may need to recreate/refresh the map coordinates also before testing.

It took me a while to find the game window decoration height but it finally worked! I changed my window decoration value in the bot settings to 51 and that solved the problem.

I have completely removed that setting in the latest version of the bot & replaced it with automatic detection of the window decoration height. so, i may ask you to do another test with the latest version of the bot if you'ld like to.

I am testing the latest version of the bot and it seems to work. Will continue to test it out and let you know how it goes

One Issue that is coming up is that when the Profession Level increased popup shows up on the side, the bot simulates pressing the esc key but that brings up the main menu instead of closing the popup.
Other than that when a character challenges you the bot will freeze, this may be a similar fix to closing the popup

I tried to fix the level up popup issue, but i didn't test it yet. In case it doesn't work you can still disable the feature from bot preferences. I've also restored the window decoration height option & made it optional.

Not sure if the changes caused this but sometimes the bot resizes the game window differently using window decoration height option, this causes everything to be shifted and the bot doesn't work.

The pod bar also updates to the wrong percentage.

I think that the resizing part needs to be reviewed. I'm facing the same issues somehow. I'll try to check that once i get some time to.

I'll close this issue and open a new one (since the main issue is already fixed).


Add missing credential types to Azure Identity README

Related to https://github.com/Azure/azure-sdk-for-net/pull/29096
Adds missing OnBehalfOfCredential and ClientAssertionCredential types to the README's "Credential classes" section.

API change check
API changes are not detected in this pull request.


feat[next]: Introduce FunctionField

Description
Introduces a FunctionField which can also be used to make constant fields.
Requirements

[ ] All fixes and/or new features come with corresponding tests.
[ ] Important design decisions have been documented in the approriate ADR inside the docs/development/ADRs/ folder.

If this PR contains code authored by new contributors please make sure:

[ ] All the authors are covered by a valid contributor assignment agreement provided to ETH Zurich and signed by the employer if needed.
[ ] The PR contains an updated version of the AUTHORS.md file adding the names of all the new contributors.

@havogt Should be ready for another review now. Only thing I am still missing is to make mypy happy on the three issues below:
src/gt4py/next/embedded/function_field.py:222:12: error: Cannot instantiate abstract class "FunctionField" with abstract attributes "__gt_builtin_func__", "__gt_dims__", "__gt_origin__" and "dtype"  [abstract]
src/gt4py/next/embedded/function_field.py:232:12: error: Cannot instantiate abstract class "FunctionField" with abstract attributes "__gt_builtin_func__", "__gt_dims__", "__gt_origin__" and "dtype"  [abstract]
src/gt4py/next/embedded/function_field.py:235:58: error: Argument 2 to "register_builtin_func" of "FieldBuiltinFuncRegistry" has incompatible type "Callable[[FunctionField[Any, Any], tuple[Dimension, ...]], FunctionField[Any, Any]]"; expected "Callable[[Field[Any, Any] | gt4py_defs.ScalarT, tuple[Dimension, ...]], Field[Any, Any] | Any] | None"  [arg-type]


BaseModelConfigs serialization fix, dependency constraints relaxation & styling improvements

BaseModelConfigs not properly serializes class variables
Dependency constraints ("requirements.txt") have been relaxed to allow for more flexibility
Styling improvements

all changes merged into main branch and created new release 1.0.10


deps: analyzer version

The analyzer version is too old, so it becomes an issue when dealing with other dependencies which maintain it updated.

Hi! This has been fixed in the latest prerelease version 5.0.0-dev.1 - can you try that and let me know if it works?

It works! thank you!


fix: improve version check to work for backports

Sorry for the noise @airween. It should be good now.

Sorry for the noise @airween. It should be good now.

No worries, thanks for taking this. I added a few questions, but generally it looks good to me.


Is XML Based Response Supported

I've been trying to utilize TRON for an API that gives response in XML and my response has been empty always. This is how I've been making my requests:
let tron = MoviepathService.create()

    func getSubscriptions(params: [String : Any]) -> Observable<[SubscriptionObject]> {
        let request: APIRequest<String, MoviePathError> = tron.request("".getSubscriptions())
        request.method = .post
        request.headers = ["Content-Type":"application/x-www-form-urlencoded"]
        request.parameters = params
        return request.rxResult().flatMap({ (element) -> Observable<[SubscriptionObject]> in
            print("SubscriptionFetch: ", element)
            return Observable.just([SubscriptionObject]())
        })
    }

Am I doing anything wrong? Thanks.

You need to use custom response serializer for that, by default TRON assumes you are using JSON or key-value based payloads. For examples on how to implement that you can take a look at Response serializers doc.

What if I want the response to just be in strings. Do, I still have to write a serializer?

Yes, because by default SwiftyJSON is used and it will try to initialize JSON object from your String.

Okay. So, I did this:
struct CustomResponseSerializer<T, ErrorModel: JSONDecodable> : ErrorHandlingDataResponseSerializerProtocol {

    typealias SerializedError = ErrorModel
    typealias SerializedObject = T

    var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<T> {
        return { request, response, data, error in
            if let error = error {
                return Result.failure(error)
            }

            let mainResponse = String(data: data!, encoding: String.Encoding.utf8) ?? "Data could not be printed"
            return Result.success(mainResponse) as! Result<T>
        }
    }
}

But, data is empty always. Am I still doing anything wrong?

Looks fine, apart from bunch of force unwraps. It probably should work, can you post your code for using this response serializer?

Updated @DenHeadless

I don't understand what following part does:
request("".getSubscriptions()

But other than that looks fine. You can also try this request using cURL and see if it works correctly. You can get curl for final request by doing something like this:
let sentRequest = request.perform(withSuccess: { _ in }, error: { _ in})
debugPrint(sentRequest) // This line will get you resulting cURL.


Add link to hosted pages in readme

this has been added as the site's sidebar and now the readme as well.


mne.io.read_info() of CTF .ds returns IsADirectoryError

Description of the problem
Hi all,
I have CTF 275 channel .ds, which reads normally with mne.io.read_raw_ctf().
When imported, the raw.info attribute 'appears' to be a complete mne.Info object, with about 19 keys.
However, mne.io.read_info() returns error:
IsADirectoryError: [Errno 21] Is a directory 'path/to/my/data.ds',
When, later in script, I run mne.make_forward_solution(), which requires an mne.Info arg, I get the same IsADirectoryError while checking the inputs, if I pass raw.info (as opposed to trying a read_info() earlier).
While this is technically correct that the CTF .ds spec is a directory, is this expected behaviour? I don't see any specific docs about doing format conversion for CTF (eg .ds to .fif) to produce an info object.
Thanks,
Matt
Steps to reproduce
import mne
from mne.datasets.brainstorm import bst_auditory

data_path = bst_auditory.data_path()
subject = 'bst_auditory'
subjects_dir = data_path / 'subjects'

raw_fname = data_path / "MEG" / subject / "S01_AEF_20131218_01.ds"

raw = mne.io.read_raw_ctf(raw_fname)
print("Info from read_raw_ctf raw.info:")
print(raw.info)

info = mne.io.read_info(raw_fname)

Link to data
No response
Expected results
mne.io.read_info of CTF data returns an mne.Info object,
or,
raw.info from mne.io.read_raw_ctf is interpreted as an mne.Info object
Actual results
In [8]: raw = mne.io.read_raw_ctf(raw_fname)
ds directory : /home/matt/mne_data/MNE-brainstorm-data/bst_auditory/MEG/bst_auditory/S01_AEF_20131218_01.ds
    res4 data read.
    hc data read.
    Separate EEG position data file read.
    Quaternion matching (desired vs. transformed):
       2.51   74.26    0.00 mm <->    2.51   74.26    0.00 mm (orig :  -56.69   50.20 -264.38 mm) diff =    0.000 mm
      -2.51  -74.26    0.00 mm <->   -2.51  -74.26    0.00 mm (orig :   50.89  -52.31 -265.88 mm) diff =    0.000 mm
     108.63    0.00    0.00 mm <->  108.63    0.00    0.00 mm (orig :   67.41   77.68 -239.53 mm) diff =    0.000 mm
    Coordinate transformations established.
    Reading digitizer points from ['/home/matt/mne_data/MNE-brainstorm-data/bst_auditory/MEG/bst_auditory/S01_AEF_20131218_01.ds/S01_20131218_01.pos']...
    Polhemus data for 3 HPI coils added
    Device coordinate locations for 3 HPI coils added
    5 extra points added to Polhemus data.
    Measurement info composed.
Finding samples for /home/matt/mne_data/MNE-brainstorm-data/bst_auditory/MEG/bst_auditory/S01_AEF_20131218_01.ds/S01_AEF_20131218_01.meg4:
    System clock channel is available, checking which samples are valid.
    360 x 2400 = 864000 samples from 340 chs
Current compensation grade : 3
``

In [9]: print(raw.info)
<Info | 16 non-empty values
 bads: []
 ch_names: UDIO001, UPPT001, UTRG001, SCLK01-177, BG1-4408, BG2-4408, ...
 chs: 3 Stimulus, 32 misc, 26 Reference Magnetometers, 274 Magnetometers, 5 EEG
 comps: 5 items (list)
 ctf_head_t: CTF/4D/KIT head -> head transform
 custom_ref_applied: False
 dev_ctf_t: MEG device -> CTF/4D/KIT head transform
 dev_head_t: MEG device -> head transform
 dig: 263 items (3 Cardinal, 260 Extra)
 experimenter: EAB
 highpass: 0.0 Hz
 hpi_results: 1 item (list)
 lowpass: 1200.0 Hz
 meas_date: 2013-12-18 09:43:00 UTC
 meas_id: 4 items (dict)
 nchan: 340
 projs: []
 sfreq: 2400.0 Hz
 subject_info: 1 item (dict)
>

In [10]: info = mne.io.read_info(raw_fname)
---------------------------------------------------------------------------
IsADirectoryError                         Traceback (most recent call last)
Cell In[10], line 1
----> 1 info = mne.io.read_info(raw_fname)

File <decorator-gen-42>:12, in read_info(fname, verbose)

File ~/envs/mne/lib/python3.10/site-packages/mne/io/meas_info.py:1992, in read_info(fname, verbose)
   1978 @verbose
   1979 def read_info(fname, verbose=None):
   1980     """Read measurement info from a file.
   1981
   1982     Parameters
   (...)
   1990     %(info_not_none)s
   1991     """
-> 1992     f, tree, _ = fiff_open(fname)
   1993     with f as fid:
   1994         info = read_meas_info(fid, tree)[0]

File <decorator-gen-10>:12, in fiff_open(fname, preload, verbose)

File ~/envs/mne/lib/python3.10/site-packages/mne/io/open.py:124, in fiff_open(fname, preload, verbose)
    100 @verbose
    101 def fiff_open(fname, preload=False, verbose=None):
    102     """Open a FIF file.
    103
    104     Parameters
   (...)
    122         A list of tags.
    123     """
--> 124     fid = _fiff_get_fid(fname)
    125     try:
    126         return _fiff_open(fname, fid, preload)

File ~/envs/mne/lib/python3.10/site-packages/mne/io/open.py:52, in _fiff_get_fid(fname)
     50     else:
     51         logger.debug("Using normal I/O")
---> 52         fid = open(fname, "rb")  # Open in binary mode
     53 return fid

IsADirectoryError: [Errno 21] Is a directory: '/home/matt/mne_data/MNE-brainstorm-data/bst_auditory/MEG/bst_auditory/S01_AEF_20131218_01.ds'

Additional information
Windows 11/WSL2/Ubuntu 22.04 (such that FreeSurfer is accessible also within WSL)
Platform             Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python               3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Executable           /home/matt/envs/mne/bin/python
CPU                  x86_64 (16 cores)
Memory               31.3 GB

Core
├☑ mne               1.5.1
├☑ numpy             1.26.0 (OpenBLAS 0.3.23.dev with 16 threads)
├☑ scipy             1.11.3
├☑ matplotlib        3.8.0 (backend=module://matplotlib_inline.backend_inline)
├☑ pooch             1.7.0
└☑ jinja2            3.1.2

Numerical (optional)
├☑ sklearn           1.3.1
├☑ nibabel           5.1.0
├☑ pandas            2.1.1
└☐ unavailable       numba, nilearn, dipy, openmeeg, cupy

Visualization (optional)
├☑ pyvistaqt         0.11.0
├☑ vtk               9.2.6
├☑ ipympl            0.9.3
├☑ mne-qt-browser    0.5.2
├☑ ipywidgets        8.1.1
├☑ trame_client      2.12.0
├☑ trame_server      2.12.0
├☑ trame_vtk         2.5.8
├☑ trame_vuetify     2.3.1
└☐ unavailable       pyvista, qtpy, pyqtgraph

Ecosystem (optional)
├☑ mne-connectivity  0.5.0
├☑ mne-icalabel      0.4
└☐ unavailable       mne-bids, mne-nirs, mne-features, mne-bids-pipeline

read_info is really only meant to read FIF info files. You should be able to use
info = mne.io.read_raw_ctf(...).info

instead. If this makes sense would you be up for making a PR to improve the documentation of read_info to mention that it's designed for FIF info only but you can use code like the above to get info for other file formats?

I confirm that read_info works with sample_audvis_raw.fif.
I must have had a typo, as after going back to my script, the ctf raw.info appears to do the job.
I'll get to a PR for the read_info docs this afternoon.

@larsoner Why don't we fail early if the filename extension is not .fif?

Checking for .fif / .fif.gz is a good idea. I think check_fname could do that and emit a warning

Why just a warning and not fail hard?

Technically you can read and write FIF (and many other formats) just fine with no file extension. IIRC for many other functions like read raw fif etc we just emit a warning when you use non standard naming so we should continue that practice


POST /apis  can't add multiple endpoints from one file

Can't add multiple endpoints from the api file and the response is:
"error":"json: cannot unmarshal array into Go value of type api.definitionAlias","level":"error","msg":"Internal server error handled",
goroutine 59 [running]:
runtime/debug.Stack(0x16, 0x16, 0x16)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
github.com/hellofresh/janus/pkg/errors.Handler(0x111ece0, 0xc4203d4240, 0xaf1780, 0xc42042e8c0)
/rc/local/go/src/github.com/hellofresh/janus/pkg/errors/error.go:62 +0x6a
github.com/hellofresh/janus/pkg/api.(*Controller).Post.func1(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/pkg/api/handler.go:122 +0x364
net/http.HandlerFunc.ServeHTTP(0xc42031e420, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*ChainHandler).ServeHTTP(0xc420351a00, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/chain.go:31 +0x52
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).routeHTTP(0xc420102a10, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:407 +0x2f4
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).(github.com/hellofresh/janus/vendor/github.com/go-chi/chi.routeHTTP)-fm(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:354 +0x48
net/http.HandlerFunc.ServeHTTP(0xc42031e3d0, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/pkg/jwt.(*Middleware).Handler.func1(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/pkg/jwt/middleware.go:40 +0x19c
net/http.HandlerFunc.ServeHTTP(0xc4200eae40, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).ServeHTTP(0xc420102a10, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:69 +0x290
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).Mount.func1(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:295 +0x104
net/http.HandlerFunc.ServeHTTP(0xc4200eada0, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).routeHTTP(0xc420102230, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:407 +0x2f4
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).(github.com/hellofresh/janus/vendor/github.com/go-chi/chi.routeHTTP)-fm(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:354 +0x48
net/http.HandlerFunc.ServeHTTP(0xc42031e290, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/rs/cors.(*Cors).Handler.func1(0x111ece0, 0xc4203d4240, 0xc420106e00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/rs/cors/cors.go:200 +0x108
net/http.HandlerFunc.ServeHTTP(0xc4200ea540, 0x111ece0, 0xc4203d4240, 0xc420106e00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/pkg/middleware.(*OpenTracing).Handler.func1(0x111ece0, 0xc4203d4240, 0xc420106a00)
/rc/local/go/src/github.com/hellofresh/janus/pkg/middleware/opentracing.go:78 +0x72d
net/http.HandlerFunc.ServeHTTP(0xc4200ea560, 0x111ece0, 0xc4203d4240, 0xc420106a00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/pkg/middleware.NewRecovery.func1.1(0x111ece0, 0xc4203d4240, 0xc420106a00)
/rc/local/go/src/github.com/hellofresh/janus/pkg/middleware/recovery.go:15 +0xa8
net/http.HandlerFunc.ServeHTTP(0xc4200ea5e0, 0x111ece0, 0xc4203d4240, 0xc420106a00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/pkg/middleware.(*Logger).Handler.func1(0x111d5e0, 0xc4203d4200, 0xc420106a00)
/rc/local/go/src/github.com/hellofresh/janus/pkg/middleware/logger.go:57 +0x80c
net/http.HandlerFunc.ServeHTTP(0xc4200ea600, 0x111d5e0, 0xc4203d4200, 0xc420106a00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi/middleware.Compress.func1.1(0x111e220, 0xc4204c07e0, 0xc420106a00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/middleware/compress.go:66 +0x15b
net/http.HandlerFunc.ServeHTTP(0xc42000ec90, 0x111e220, 0xc4204c07e0, 0xc420106a00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi/middleware.StripSlashes.func1(0x111e220, 0xc4204c07e0, 0xc420106a00)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/middleware/strip.go:24 +0xce
net/http.HandlerFunc.ServeHTTP(0xc4200ea640, 0x111e220, 0xc4204c07e0, 0xc420106a00)
/usr/local/go/src/net/http/server.go:1918 +0x44
github.com/hellofresh/janus/vendor/github.com/go-chi/chi.(*Mux).ServeHTTP(0xc420102230, 0x111e220, 0xc4204c07e0, 0xc420106700)
/rc/local/go/src/github.com/hellofresh/janus/vendor/github.com/go-chi/chi/mux.go:80 +0x1d4
github.com/hellofresh/janus/pkg/router.(*ChiRouter).ServeHTTP(0xc42031e1f0, 0x111e220, 0xc4204c07e0, 0xc420106700)
/rc/local/go/src/github.com/hellofresh/janus/pkg/router/chi.go:32 +0x54
net/http.serverHandler.ServeHTTP(0xc4200768f0, 0x111e220, 0xc4204c07e0, 0xc420106700)
/usr/local/go/src/net/http/server.go:2619 +0xb4
net/http.(*conn).serve(0xc420448000, 0x111f1e0, 0xc4203d4040)
/usr/local/go/src/net/http/server.go:1801 +0x71d
created by net/http.(*Server).Serve
Reproduction Steps:

run the janus service
login the janus and get the bearer token
load the api files with the bearer token

Expected behavior:
load apis from the files
Observed behavior:
added failed, but success when there is only one api in the file
Janus version: Janus v3.4.1-4386326
OS and version: CentOS Linux release 7.4.1708

Hi @newthinker thanks for reporting this,
We're looking into this asap, however that would be great if you could provide the proxy definition contents

github.com/hellofresh/janus/pkg/api.(*Controller).Post.func1(0x111ece0, 0xc4203d4240, 0xc420106e00)

@newthinker I guess you are trying to create multiple proxy definitions via API right? This feature was added recently https://github.com/hellofresh/janus/pull/228 it is only supported when persistence storage is file system you can't do that via the API

@rafaeljesus yes, i did it via the API indeed and i'll test the file system type. Thank you very much.

Anytime 👍


Improve coordinates description on QNII and VisuALign RdD

add info about config of the json files and where to find the vectors

Done.


remove mattermost-operator

This removes the Mattermost Operator entry from the list of community operators. We have focused on helm deployments of the operator and this option has not been properly supported.
We may re-add the Mattermost Operator at a later date, but want to remove confusion of listing an old unsupported version until then.

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/merge possible

/merge possible


Downgrade deltalake to 0.5.8

Feature or Bugfix

Refactoring

Detail

Downgrade deltalake to 0.5.8 as we can't use 0.6.x in release-3.0.0 due to PyArrow version issues. Deltalake version 0.6.x insists on PyArrow version 7+, whereas Ray insists on version 6 or under. I think it's better to downgrade now, before we do a release, then set deltalake to 0.6.x now and then be forced to downgrade when we release AWS SDK for pandas 3.0 in a few months.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 02097413f6f1632b532504f7e23cc5dce9c4211d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 7de052aa28f236e063df5f63e6347d34b7a88843
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 02097413f6f1632b532504f7e23cc5dce9c4211d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: d361b46331135cf9c30d35b539951d244ff8e041
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Ray 2.2.0 was released yesterday. This means we can avoid downgrading deltalake in favor of upgrade Ray: https://github.com/aws/aws-sdk-pandas/pull/1865


Broken link to requestb.in

When you get to the point to where it asks you for a URL, then use requestb.in to see what your HTTP client is sending

the original hosted version of RequestBin (at requestb.in) was taken down last year and the link is broken.
There's a new hosted version, with some additional features (including enhanced privacy) at https://requestbin.com

Thanks! Fixed.


Fix ONNX backend for MatMul

The Caffe2 BatchMatMul op requires broadcast=1 to match ONNX semantics

@onnxbot retest this please

@yinghai Ported changes to Python code

Triggering re-test


ENYO-2536: Guard against initialization edge cases

Issue
When initially populating a LightPanels kind, if pushPanels is used, by default the index is set to be the index of the last panel pushed. If we attempt to set the index to a different value, immediately after this operation, due to our rAF based animation mechanism, the rAF may not yet have been triggered, and the subsequent index change can cause us to be in an in-between state that results in two panels being simultaneously on the screen.
Fix
To counter this, we cancel any existing, unfulfilled rAF when changing indices. Additionally, in relation to the initialization issues, we change the technique of hiding offscreen panels to use the visibility property instead of display:none, so that the correct dimensions can be returned.
Enyo-DCO-1.1-Signed-off-by: Aaron Tam<EMAIL_ADDRESS>

I think we have to respect a value of 0 for this._previousIndex.


Alternative way to add overloads

Environment

name
version

IDEA version
IC2020.3

Luanalysis version
1.2.2

OS
MacOS Big Sur

What happens?
As of now, function overloads always need to be added by using the @overload annotation. But this annotation requires you to copy&paste most of your signature.
What were you expecting to happen?
Most of my overloads are actually optional parameters, it would be nice if there was a way to indicate optional parameters in a different way so overloads are added automatically.
See below for several examples how I think the syntax could look like:
current situation
---@param _duration number
---@param _easing EasingFunction
---@param _delta boolean
---@param _properties table
---@optional _options table<string, number>
---@param _onComplete TransitionOnCompleteFunction
---@return TransitionHandle|nil
---@overload fun(_obj, _duration:number, _easing:EasingFunction, _delta:boolean, _properties:table<string, number>):TransitionHandle|nil
---@overload fun(_obj, _duration:number, _easing:EasingFunction, _delta:boolean, _properties:table<string, number>, _options:table):TransitionHandle|nil
---@overload fun(_obj, _duration:number, _easing:EasingFunction, _delta:boolean, _properties:table<string, number>, _onComplete:TransitionOnCompleteFunction):TransitionHandle|nil
---@overload fun(_obj, _duration:number, _easing:EasingFunction, _delta:boolean, _properties:table<string, number>, _options:table, _onComplete:TransitionOnCompleteFunction):TransitionHandle|nil
local function createToTransition(_obj, _duration, _easing, _delta, _properties, _options, _onComplete)

void type parameters
---@param _duration number
---@param _easing EasingFunction
---@param _delta boolean
---@param _properties table
---@param _options void|table<string, number>
---@param _onComplete void|TransitionOnCompleteFunction
---@return TransitionHandle|nil
local function createToTransition(_obj, _duration, _easing, _delta, _properties, _options, _onComplete) end

suffixed or prefixed parameters
---@param _duration number
---@param _easing EasingFunction
---@param _delta boolean
---@param _properties table
---@param _options table<string, number>?
---@param _onComplete TransitionOnCompleteFunction?
---@return TransitionHandle|nil
local function createToTransition(_obj, _duration, _easing, _delta, _properties, _options, _onComplete) end

@optionalparam annotation
---@param _duration number
---@param _easing EasingFunction
---@param _delta boolean
---@param _properties table
---@optionalparam _options table<string, number>?
---@optionalparam _onComplete TransitionOnCompleteFunction?
---@return TransitionHandle|nil
local function createToTransition(_obj, _duration, _easing, _delta, _properties, _options, _onComplete) end

The ? at the end of the type might be problematic in case of complex type (foo|bar? isn't quite clear... let alone if there's a description afterwards).
Other propositions:

@param? foo  string
@param  foo? string


Implement parallelism in KPT Ansible tasks

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test

/kind feature

/kind flake

What this PR does / why we need it:
Bootstrap and Install Ansible roles applies kpt packages sequentially, resulting in long provisioning process. This change allows applying some kpt packages concurrently and delays the deployment waiting process after all the packages have been applied. This change shows a reduction in 20%

Task
Before
After

kpt
444.90s
258.70s

bootstrap
95.69s
115.89s

install
1.03s
21.51s

Which issue(s) this PR fixes:

NA
Special notes for your reviewer:

Molecule version required to downgrade for accepting CPU/Memory definition.
Fixed some linting issues not reported in the current version.
Kpt packages seems to have some dependencies which results in partial concurrent implementation.

Does this PR introduce a user-facing change?:

Enable concurrency on the execution of kpt packages.

/retest

/lgtm
/approve


#24 - Use script tag for prompts and admin path

The Admin path used by the editor magic wand and the prompts are no longer assigned as JavaScript variables in the window global and get added to the DOM in a script tag (id = wagtail-ai-config).
Closes #24.

Thanks @ianmeigh!


Add Perl library

This should implement the spec and tests from https://github.com/sqids/sqids-spec

Hi @dracos,
That's great, thank you for the work and for pinging about this!
Do you see anything else that's left to adjust -- perhaps some URLs can now be changed to official repo in META.json?
Also, should this be published as a module?
I've sent you a maintainer invite so you can push whenever you'd like.

Thanks! Yes, I've just updated the URLs in the metadata, and a couple of documentation typographical issues.
Where is the sqids.org website code? I saw perl had been activated there, thanks, it has one typo in the last example, alphabet: needs to be alphabet => is all :)

@dracos Cool.
The website is not oss, but I got the example from the readme: https://github.com/sqids/sqids-perl?tab=readme-ov-file#new under the alphabet section.
Should it be this?
my $sqids = Sqids->new( alphabet => "k3G7QAe51FCsPW92uEOyq4Bg6Sp8YzVTmnU0liwDdHXLajZrfxNhobJIRcMvKt" );

Oh dear! Yes it should. I'll fix that now 😊


[Enhancement]: Text is not visible on silver background

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement

Text color do not seem to be suitable for this silver background.
Describe the solution you'd like
I would like to have some dark text color so,that it becomes visible  to users and will help in increasing user experience.Excited
to contribute in project.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Garima-149 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Could you please elaborate on self -assign issue @kunjgit

/assign

@kunjgit There is some first come first serve basis on assigning issue to anybody according guidelines of GSSoc'24. I have made the issue and without any reply, how could you assign that issue to somebody else. This is just unfair. I was asking for some clarification before somebody else commented upon.

@Garima-149 check #4168 i have created issue before you

Sorry for that I haven’t saw duplicate label on this repo

/assign

Hey @143divya ! , This issue is already assigned to @anuragnegi000. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹👀

Hey @anuragnegi000 you don't need to get same issue assigned to yourself you can continue on other one we are closing this issue.

Now I am closing this one as a duplicate

Hey @Garima-149 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


expand text below graphs; uniformise break sizes

i'm opening these changes in a separate PR since they are a point of contest (and i'd like #59 to go in earlier).
changes

uniformise breaks between sections, paragraphs (vbs, vbx2 instead of vbx3 or vbx4)

let text go below graphs (see examples below)
before:

after:

(vertically, the text looks like this:)

@AkshayPall has good points though:

Not to diminish all this work but I personally dislike having the 2 columns text - it should be clear that text is always on the left to read and graphs on the second (ignoring mobile / narrow displays ofc).
Also, when the text spills across columns, it looks overwhelming and chaotic to me when surrounded by left exclusive or dual column text. Idk what the others' thoughts are on this though :/
Maybe there are some papers we can consult related to natural reading flow.

i don't know if it seems messier (it may), though it does reduce the white space we have below graphs that accompany long text
i hope that responds a bit as to why i did this :x


BTC testnet transaction not being tracked

https://blockstream.info/testnet/tx/ff7c41280b1bf685c476625dfc158d3c17e7333bcf3cc47e259813f6492bcd78

@brewmaster012 does it look like there is anything wrong with this tx?

@kevinssgh can the script be used with this transaction?

@brewmaster012 can you confirm?

@1337-ishaan the problem is that the deposited amount is less than the BTC deposit fee. You can learn more about depositing BTC to ZetaChain here:
https://www.zetachain.com/docs/developers/tokens/zrc20/#depositing-native-gas-tokens-as-zrc-20
BTC deposits should be higher than the BTC deposit fee, which is around 0.00000136 BTC (estimated value).

@fadeev, the mentioned fees is per byte?

https://live.blockcypher.com/btc-testnet/tx/aa40305e28f5538e651d9e4c7f4091d9ba8a026266c6f11ce3b0178d3866d3ce/
Here is the transaction with higher deposit, still can't find cctx
pls have a look @fadeev .

@1337-ishaan
npx hardhat cctx aa40305e28f5538e651d9e4c7f4091d9ba8a026266c6f11ce3b0178d3866d3ce
✓ CCTXs on ZetaChain found.

✓ 0x2820ed5d0667608c757e0127e286e3701eed53d4bac2a951e978b1597ce4920b: 18332 → 7001: Reverted (can't call a non-contract address)

@fadeev, the mentioned fees is per byte?

No, it's a total fee.


feat: add illustrations

🙅 Closing the PR because it does not respect naming conventions. Edit the branch name and submit a new PR.

🙅 Closing the PR because it does not respect naming conventions. Edit the branch name and submit a new PR.

Closed by mistake - sorry about that. And unfortunately, a bug in the CI prevents it from being re-opened. So Sad. 😔
I am looking at a bypass. We coordinate.


Add Rack::Deflater middleware

Encoding content by gzip and deflate with Rack::Deflater.

This doesn't merge clean, would you be so kind to do an upstream merge?
As far as the pull request is concerned, I would definitely want deflate/gzip support in my API, but I'd also like to be able to turn it off. Isn't it possible to just add the Rack::Deflater middleware without modifying Grape and be done with the feature? We probably don't want to add the 150+ Rack middleware implementations that do all kinds of awesome stuff into Grape default, no?

require File.join(File.dirname(__FILE__), 'awesome')
use Rack::Deflater
run Awesome::Api

https://gist.github.com/1901835
I think that this pull-request is useless because it's possible to enable content encoding in grape by one line in config.ru. That works out of the box.

We're all in agreement, closing.


[SPARK-27666][CORE] Do not release lock while TaskContext already completed

What changes were proposed in this pull request?
PythonRunner uses an asynchronous way, which produces elements in WriteThread but consumes elements in another thread, to execute task. When child operator, like take()/first(), does not consume all elements produced by WriteThread, task would finish before WriteThread and releases all locks on blocks. However, WriteThread would continue to produce elements by pulling elements from parent operator until it exhausts all elements. And at the time WriteThread exhausts all elements, it will try to release the corresponding block but hit a AssertionError since task has already released that lock previously.
#24542 previously fix this by catching AssertionError, so that we won't fail our executor.
However, when not using PySpark, issue still exists when user implements a custom RDD or task, which spawn a separate child thread to consume iterator from a cached parent RDD. Below is a demo which could easily reproduce the issue.
    val rdd0 = sc.parallelize(Range(0, 10), 1).cache()
    rdd0.collect()
    rdd0.mapPartitions { iter =>
      val t = new Thread(new Runnable {
        override def run(): Unit = {
          while(iter.hasNext) {
            println(iter.next())
            Thread.sleep(1000)
          }
        }
      })
      t.setDaemon(false)
      t.start()
      Iterator(0)
    }.collect()
    Thread.sleep(100000)

So, if we could prevent the separate thread from releasing lock on block when TaskContext has already completed, we won't hit this issue again.
How was this patch tested?
Added in new unit test in RDDSuite.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11018/
Test PASSed.

Test build #105762 has started for PR 24699 at commit 74bbbad.

Test build #105762 has finished for PR 24699 at commit 74bbbad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105762/
Test PASSed.

cc @cloud-fan

After a second thought, it seems overkill to block the main thread and wait for the python writer thread to exit. If something bad happens we may block the main thread for a long time or even hang.
Perhaps a better solution is to add releaseIfLocked, which does nothing if the lock is already released.

Test build #105875 has started for PR 24699 at commit 26a7dd2.

Since killing PythonRunner WriteThread may be overkill and would face uncontrollable risk, after discussing with @cloud-fan offline, we decide to use another solution, which has updated in PR description.
And, for simple, I changed original JIRA title from "Stop PythonRunner's WriteThread immediately when task finishes" to current one.
ping @cloud-fan @jiangxb1987 @viirya

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11132/
Test PASSed.

Have you considered change the logic in https://github.com/apache/spark/blob/e9f3f62b2c0f521f3cc23fef381fc6754853ad4f/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L745~L747 ? Don't release lock if TaskContext has completed shall also resolve the issue, or there are something I missed?

Test build #105875 has finished for PR 24699 at commit 26a7dd2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105875/
Test FAILed.

Skip release lock if TaskContext has completed shall also resolve the issue

Do you mean like this ?
val ci = CompletionIterator[Any, Iterator[Any]](iter, {
 if (!taskContext.isCompleted()) {
   releaseLock(blockId, taskAttemptId)
 }
})

I was thinking about it, but for:
https://github.com/apache/spark/blob/e9f3f62b2c0f521f3cc23fef381fc6754853ad4f/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L764-L766
it seems we can't wrap an if condition around releaseLockAndDispose in the same way. We have to dispose data any way. Right ? So, we need to pass taskContext into releaseLockAndDispose. In releaseLockAndDispose:
https://github.com/apache/spark/blob/e9f3f62b2c0f521f3cc23fef381fc6754853ad4f/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L1666-L1672
We could also warp a if condition around releaseLock. But, I think it may be better to reduce duplicate code, so, I move the logic into releaseLock itself finally.

We can go either way, both looks fine to me. I would refactor releaseLockAndDispose() further to take into account whether task has been completed, but the current change should resolved the issue too, I'm just afraid it's kinda overkill to pass in the whole TaskContext.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11190/
Test PASSed.

Test build #105938 has started for PR 24699 at commit e6a97b3.

Test build #105938 has finished for PR 24699 at commit e6a97b3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105938/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11197/
Test PASSed.

Test build #105945 has started for PR 24699 at commit e6a97b3.

Test build #105945 has finished for PR 24699 at commit e6a97b3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105945/
Test PASSed.

ping @cloud-fan @jiangxb1987 @viirya
any more comments ?

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11710/
Test PASSed.

Test build #106468 has started for PR 24699 at commit eba8e96.

Test build #106468 has finished for PR 24699 at commit eba8e96.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106468/
Test FAILed.

Test build #106469 has started for PR 24699 at commit 4c64b03.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11712/
Test PASSed.

Test build #106469 has finished for PR 24699 at commit 4c64b03.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106469/
Test PASSed.

Test build #106584 has started for PR 24699 at commit 7f0f360.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/11822/
Test PASSed.

Test build #106584 has finished for PR 24699 at commit 7f0f360.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class RDDSuite extends SparkFunSuite with SharedSparkContext with Eventually

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/106584/
Test PASSed.

thanks, merging to master!

Thanks @cloud-fan @jiangxb1987 @viirya


Avoid repeated counting cardinality within call to addDigit() on bitmap slice index

SUMMARY
Expression bitmap.getCardinality() > 0 was replaced with more performant !bitmap.isEmpty() to avoid repeated counting cardinality for whole bitmap even it is not necessary at all. Nothing else is affected as it doesn't matter if cardinality goes undetermined as the affected bitmap is temporary only within job addDigit().
Automated Checks

[x] I have run ./gradlew test and made sure that my PR does not break any unit test.
[x] I have run ./gradlew checkstyleMain or the equivalent and corrected the formatting warnings reported.

Merging.


Middleware has no default views area in configuration

Middleware has no default views area in configuration -> my settings -> default views

@miq-bot add_label providers/hawkular, ui

note to whoever is going to fix this - the relevant files to work on for this feature seem to be:
https://github.com/ManageIQ/manageiq/blob/master/app/views/configuration/_ui_2.html.haml
https://github.com/ManageIQ/manageiq/blob/master/app/helpers/ui_constants.rb

cc @ammendonca


Simplify MemGPTConfig usage

See discussion here: https://discord.com/channels/1161736243340640419/1171281929165881384/1201966373308485672
A medium size refactor in which:

[ ] writes to the config file are isolated from reads
[ ] the config file is made to be more static, and only instantiated one way
[ ] the config is referenced statically, rather than being included in many function arguments

The final config will look something like this: https://github.com/tombedor/MemGPT/blob/main/memgpt/config.py#L23
note that this will still enable overwriting of variables for tests etc

I'm happy to make these changes and leave it at that, @cpacker / @sarahwooders  I think converting to a yaml / rm'ing the Quickstart is another round of changes (and that piece is more opinionated, not sure how you feel about that one).
but the changes here will be user-invisible


fix: Fix TimePicker filter behavior. Misc ComboBox Fixes

Summary
The MVP TimePicker filtering behavior was identical to our ComboBox implementation, since it was just wrapping the ComboBox.
USWDS made some changes to filtering to the ComboBox (see #1108). This PR also brings those enhancements to our reactified library.
There was also some existing behavior of our combobox that did not match the USWDS combobox (whether that was always the case, or due to the USWDS changes since our original implementation, I don't know, but I fixed as many as I found here along the way).
Previous ComboBox behavior can be tested at our hosted storybook: https://trussworks.github.io/react-uswds/?path=/story/components-form-controls-combo-box--default-combo-box-with-prop-options
Current USWDS ComboBox behavior: https://designsystem.digital.gov/components/combo-box/
Previous TimePicker behavior can be tested at our hosted storybook: https://trussworks.github.io/react-uswds/?path=/story/components-form-controls-time-picker--complete-time-picker
Current USWDS TimePicker behavior: https://designsystem.digital.gov/components/time-picker/
The following issues were found & resolved (and tests added to hopefully cement the fixes since they're not all obvious):

Note: The videos show the following:

USWDS Model Behavior
Current Behavior
Fixed Behavior (this PR)

Pressing enter on the input without an exact match, but with a previously selected option should revert to the selected option.

https://user-images.githubusercontent.com/15805554/115453292-78be7180-a1ed-11eb-87ac-756e8369caa8.mov

Typing into the input to filter options, then Blurring without selecting should reset the filter (previously it would keep the filter until the input value was changed)

https://user-images.githubusercontent.com/15805554/115453475-aefbf100-a1ed-11eb-85b8-fe58fbfe7d62.mov

Selecting an option should give that option the selected style in the dropdown, even if the input filter allows more than one option to be seen.

https://user-images.githubusercontent.com/15805554/115453435-a3102f00-a1ed-11eb-8ef7-649ba5d09686.mov

When no option is selected, but the dropdown is open, the first option should have the focused style applied (but not actually be focused)

https://user-images.githubusercontent.com/15805554/115453664-dfdc2600-a1ed-11eb-86bf-ef2bb4af3a05.mov

When the ComboBox is opened and scrolled, then closed, and reopened it should either be at the top, OR if an item is selected, that item should be scrolled into view.

https://user-images.githubusercontent.com/15805554/115453699-e79bca80-a1ed-11eb-949c-16827cd3d027.mov

When an option is selected, but the filter is changed such that the selected option is not visible, the first partial match should be highlighted with the focused style (but not actually be focused)

https://user-images.githubusercontent.com/15805554/115453740-f5e9e680-a1ed-11eb-8ba6-dd92cb318afe.mov

TimePicker should not filter via hiding options, but should move the focus styled element to the first match (and scroll to said match)

https://user-images.githubusercontent.com/15805554/115453777-fda98b00-a1ed-11eb-8b82-ab1ecccdf3d6.mov

TimePicker should pass custom filtering logic into combobox to generate regex to find options. This allows 5:3p when typed to match 5:30pm:

https://user-images.githubusercontent.com/15805554/115453829-0ef29780-a1ee-11eb-8751-bad4290dc92d.mov
Related Issues or PRs
closes: #1108
How To Test
The unit tests I added help to cover the scenarios I fixed.
To compare to our existing storybook or the USWDS implementation, use the deployed storybook or checkout this branch and run storybook locally.
@christopherhuii I would love your help in testing this in a project since I want to make sure I didn't break the blurring behavior and focus trap fixes you made recently (I did some testing locally, but I'm not sure I covered everything)

Looks like the Happo Diffs are from

Added screen recordings to the description to help illustrate the other misc. fixes I made 😅


Use pytest_runtest_logreport hook again

Fixes #76

This PR cannot be reviewed before we address #81 which blocks the pipelines.

I think the bug is our handling of PyTest 7.4+, not which hook we use.


clustermesh: Add debug messages to help future services troubleshooting

The debug messages are sparse right now. Add debug messages to help
troubleshoot global service correlation issues.

This change is

Coverage decreased (-0.07%) to 43.612% when pulling d1b04a9a57a193ac5f4d0d4275ea155d8f199e36 on pr/tgraf/clustermesh-debug into fb84e0a4e1b15e60c00f95576491ec3b11155723 on master.

test-me-please

err, my review was as janitor... but I guess I'm not in the group yet for this week.


Changed default module for import to /

Closes #807
ks import -f config.yaml will use --module / by default
Signed-off-by: GuessWhoSamFoo<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1301

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.54%

Totals

Change from base Build 1300:
0.0%

Covered Lines:
12300

Relevant Lines:
17437

💛  - Coveralls


Background job should be scheduled after user login

It fails because Firestore checks for auth info in requests.

Fixed


Ensure proper Dispose patterns

https://github.com/dotnet/machinelearning-tools/blob/6e775ee95a290ca33d5b99b844887a5f2132144f/src/Microsoft.ML.ModelBuilder/AzureAttach/UserAuthorizationManager.cs#L33
UserAuthManager should be Disposable

(Thanks Phil :) )

Jake is looking at this for notebooks. Will bring learnings back into MB code base


[docs] Fix a few typos and add comma

[x] I have followed (at least) the PR section of the contributing guide.

Thanks!


used govendor as package manager

ref #33

@avelino you might want to look at https://github.com/bcicen/ctop/pull/36, a different package manager was merged in.
Also fyi I don't think including all the vendor packages in the repo is a good idea at all, it should get .gitignore'd out and only keep the package list and lock file.


Bug Firefox: value don't update always on change

Firefox dosn't update the value correctly if you change the selectbox.
If like in your example you go from the highest to the lowest value it works.
If you go from 1 to 2, the 1 works, the second label dosnt changes anything, and if switch to the 3 label, the value is 2  and not 3.

I'll take look as soon as I can. I'm planning a complete rewriting of how the value updates are processed. Rather than using the change event I'm going to use actions on the options.


TinCan interface shouldn't provide 'xhr' to final callback

The TinCan interface provides the xhr for the last LRS response in the final callback, but shouldn't. Optionally it'd be better to pass 'null' and include the results as a second arg but that would break backwards compat relatively badly.

This is probably a WONTFIX based on plan to remove the TinCan interface for communicating with multiple LRSs.


Correction for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.

Correction needed for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
raw_affiliation_name: IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
new_rors: 04cnscd67;00r8w8f84;001q4kn48
previous_rors: 04cnscd67;018pp1107;00r8w8f84;001q4kn48
works_examples: W4362705033
contact: ad0fdc99874d0692af990e8bf5c22e84:f1971a1a2c87ac4b7e172c4c5f @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Feature: Integrate base-api-client

Is your feature request related to a problem? Please describe.
Integrate base-api-client instead direct axios calls
https://www.npmjs.com/package/base-api-client

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Py object not found

Hi there, I hope I shouldn't have commented in the closed thread because my issue would definitely be classified as newbie question. I've checked the other threads but unless I don't think I've seen a solution to the issue I'm having.
I am just trying to get the Py external installed but having problems. I am getting this error in the Max console and the Py object appears in an orange box.
'py: py: No such object'
I am using a 2020 M1 Macbook. I have tried using several different released versions of your externals. I also built my own but none of them are working. PyJS seems to be loading fine although I've not experimented with it yet. I'm probably making some minor rookie error but some guidance would be much appreciated. Thank you!

Thanks for starting a new thread which is better then commenting in a closed thread.
The error you received means that Max cannot find the external.
This is easily fixed.
Externals are installed in the externals directory of a Max package. Max Packages are installed in the $HOME/Documents/Max 8/Packages where $HOME is /Users/<your-username>
You can create a minimal max package in that directory by doing the following:

make a new directory in $HOME/Documents/Max 8/Packages call it demo for now.
In this demo directory create another directory called externals
Download the arm64 externals from the Releases section. Unzip this archive and inside you will find py.mxo and pyjs.mxo bundles: these are the externals. You can copy these into the newly created externals  directory above in your demo package. So, for example, the path of the py.mxo externals should be $HOME/Documents/Max 8/Packages/demo/externals/py.mxo.
Open Max 8 and create a new [py] object and it should not give errors.

If the above works for you then should be good to with the releases externals at least.
Note that the project repo itself is a package (with all the bells and whistles) so you can also use that, instead of the demo package above and copy the above externals into it externals directory. (Don't have two packages with the same named externals at the same time, of course).
If you would like to compile your own, then you should first try follow steps in the quickstart noting the following:

don't clone the repo to a path with spaces or directly into $HOME/Documents/Max 8/Packages. Clone it to a path without spaces.
run make setup inside the cloned repo directory after cloning to create symlink between the cloned directory and $HOME/Documents/Max 8/Packages
make sure you have all the dependencies installed (see the readme). You need cmake and xcode and the python package cython at minimum.
run make to build the externals locally.

Hi there,
Thank you so much for this very detailed reply. I am sorry to have asked such a simple question. I am aware of these steps and had tried to follow them but I have several Max 8/Packages folders for different installations of Max and had seemingly places the externals in the wrong one. I wouldn't have realised this without your advice so thank you.
This software is such a good idea I am really looking forward to using it. Thank you again for your time.

Hi @sam-schorb,
Happy that you were able to resolve your issue. Feel free to post another issue if you need additional help. My advice is to go through the patcher examples.
I'll close this issue since it looks like you got it working.


feat: add oci8 3.3.0 release

update oci8 with release 3.3.0

:tada: This PR is included in version 1.113.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Docs: Fixed AuthRequest import in SvelteKit docs

Small fix on docs (SvelteKit Getting Started).
I believe the correct AuthRequest import is from 'lucia-auth' instead of 'lucia'.

V2 beta is published under lucia, not lucia-auth, and will continue be so even after beta.


request

Hello,
great tool .may i know where is SecureDesktop.exe file?
is your program work like sandbox if yes, could you make log of executable file in text file?

If you downloaded it from the releases page it should be in the archive file along with Cleanup.exe, Gma.UserActivityMonitor.dll, and SecureDesktop-GUI.exe

If however you're compiling it, it should be in either SecureDesktop\bin\Release\ or SecureDesktop\bin\Debug\ depending on what your solution configuration is set to.

Hello @AlphaDelta .
Can you upload the Cleanup.exe, Gma.UserActivityMonitor.dll, SecureDesktop-GUI.exe, and SecureDesktop.exe ? Please. Coz, I don't know where the releases page.
I just want to avoid mouse and keyboard hooks. :(
Many thanks.

@lorloffc It's right here: https://github.com/AlphaDelta/Secure-Desktop/releases


Hello! Can you publish the basic model of ViT-base? Or is it just a ViT-base distillation model?

Hi, for the same size ViT-variant we don't want to offer too many options, which might confuse our users.
You could perhaps use internvideo's model. This model was pre-trained for 800 epochs on the same UnlabeledHybrid dataset without dual masking and is close to the performance of our VideoMAE V2-B which was pre-trained for 1200 epochs with dual masking.


Better XSS Check for frames.erb

Description
Yikes! I'm so embarrassed. My patch fails to resolve the XSS/Open-Redirect vulnerability. This second patch will fix it, and I've done much testing to confirm it. Please understand my mistake and implement this into the repository.
Proof-Of Concept
See the following pen for an example: https://codepen.io/Aviv-Keller/pen/mdgdmyW
#!:javascript:alert("XSS")
Completed Tasks

[x] I have read the Contributing Guide.
[x] The pull request is complete (implemented / written).
[x] Git commits have been cleaned up (squash WIP / revert commits).
[ ] I wrote tests and ran bundle exec rake locally (if code is attached to PR).

Even with this, I still believe the best way to resolve this permanently is to use URL:
let url = new URL(name, location.href)
url.origin === location.origin

Dear @lsegal,
I apologize for the oversight regarding your library's XSS and Open-Redirect vulnerabilities. I acknowledge and accept full responsibility for this lapse in judgment. It was a regrettable mistake, and I deeply regret any inconvenience or concern it may have caused. My failure to patch these vulnerabilities thoroughly may have ended your trust in me. I understand the gravity of this situation and the impact it may have had on our professional relationship. Please know that I am genuinely remorseful and committed to rectifying the situation to the best of my abilities. In light of this, I have taken steps to address the vulnerabilities and have provided a suggested pull request (PR) for your consideration. Given the circumstances, I understand if you consider this suggestion with caution, and I respect your decision either way. Moving forward, I am dedicated to implementing more rigorous testing protocols to prevent such oversights in the future. Once again, I extend my deepest apologies for any inconvenience or disappointment caused. I am available to talk about this more whenever you get a chance and to collaborate on any necessary steps to ensure the security and integrity of your library. Thank you for your understanding and patience.

I like your idea, I'm gonna squash and reopen a pull-request.