text:
IndexOutOfBoundsException in SlideAdapter.getSlide called from canGoBackward

I'm seeing a similar IndexOutOfBoundsException issue as (https://github.com/HeinrichReimer/material-intro/issues/103), but with the onBackPressed and canGoBackward methods, which in theory should not happen as the position shouldn't exceed the number of cards added/available (in my scenario 3 cards).
I'm not able to re-produce the issue locally, but I am seeing this occur on Samsung and Huawei devices with Android version 4.4.2 and 6.0.1.
I'm using the latest version of this library - v1.6.
As a patch, I've added your fix (https://github.com/HeinrichReimer/material-intro/commit/6b09a8806be65fc8189283271ec8613d6f75b4ab) from the canGoForward method if (position >= getCount()) to the onBackPressed method to also return false for any position values higher than the index rather than pass them along to the getSlide method which throws the IndexOutOfBoundsException. The additional condition in onBackPressed now looks this: if (position <= 0 || position >= getCount()) return false;
Stacktrace is for 3 welcome screen slides being added:
Fatal Exception: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
       at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
       at java.util.ArrayList.get(ArrayList.java:308)
       at com.heinrichreimersoftware.materialintro.app.IntroActivity.com.heinrichreimersoftware.materialintro.slide.SlideAdapter.getSlide(SourceFile:8096)
       at com.heinrichreimersoftware.materialintro.app.IntroActivity.canGoBackward(SourceFile:455)
       at com.heinrichreimersoftware.materialintro.app.IntroActivity.previousSlide(SourceFile:410)
       at com.heinrichreimersoftware.materialintro.app.IntroActivity.onBackPressed(SourceFile:224)
       at android.app.Activity.onKeyUp(Activity.java:2273)
       at android.view.KeyEvent.dispatch(KeyEvent.java:3232)
       at android.app.Activity.dispatchKeyEvent(Activity.java:2507)
       at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(SourceFile:543)
       at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(SourceFile:53)
       at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(SourceFile:315)
       at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2178)
       at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4409)
       at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4376)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3941)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3995)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3964)
       at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4075)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3972)
       at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4132)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3941)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3995)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3964)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3972)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3941)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3995)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3964)
       at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4108)
       at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4268)
       at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2201)
       at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1848)
       at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1839)
       at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2178)
       at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:138)
       at android.os.Looper.loop(Looper.java:131)
       at android.app.ActivityThread.main(ActivityThread.java:5511)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:515)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
       at dalvik.system.NativeStart.main(NativeStart.java)

Can you confirm the bug is fixed with that position >= getCount() check?

@HeinrichReimer Yes, after I put in the bug fix I stopped seeing this issue from occurring. Apologies for the delay. Thanks!

So this is fixed now 😅

authors: HeinrichReimer joeykrim

repo: HeinrichReimer/material-intro


text:
🛑 Tommy is down

In ea77f21, Tommy ($TOMMY_UPTIME) was down:

HTTP code: 0
Response time: 0 ms

HelioHost staff have been notified and we're investigating the cause of this downtime.

Resolved: Tommy is back up in 447fe6c after 3 minutes.

source: gharchive/issue

repo: HelioNetworks/status

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 HelioHost is down

In bf9088a, HelioHost ($HH_UPTIME) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HelioHost is back up in 44bcb83 after 8 minutes.


text:
'webpack-dev-server' is not recognized as an internal or external command

webpack-dev-server is not included as a dev dependency in package.json. As this can be easily solved by npm i --save-dev webpack-dev-server, I was wondering if  it has not been included for any reason? As it has been stated in the readme of the project as a feature of adobe-cep-react-create.
Quote from Readme

a nice feature, that it has is that you can use webpack-dev-server to see your UI results with watching at the browser, simply use:
npm start or
npm run client:dev-server this will generate the template html for you and run it in your >browser, and will rebuild on code changes which is nice to have.

npm error lognpm start
cep-test@1.0.0 start C:\Users\Pavilion\Desktop\adobe-cep-react-create-master
npm run client:dev-server
cep-test@1.0.0 client:dev-server C:\Users\Pavilion\Desktop\adobe-cep-react-create-master
webpack-dev-server --config ./build-scripts/webpack.client.config.js --env.target=web --mode development --open
'webpack-dev-server' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cep-test@1.0.0 client:dev-server: `webpack-dev-server --config ./build-scripts/webpack.client.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cep-test@1.0.0 client:dev-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:_Bin\npm-cache_logs\2019-07-10T14_46_02_989Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cep-test@1.0.0 start: npm run client:dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cep-test@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:_Bin\npm-cache_logs\2019-07-10T14_46_03_038Z-debug.log

Thank you for creating this awesome project. I was wondering why it has not gained more popularity as CEP development is definitely not straight forward and intuitive. I find this project using Webpack and react make working with CEP a whole lot more simpler and enjoyable.
With much thanks and appreciation,

hi @syedsameerali
thank you for your kind words.
You are correct, it should be in the dev dependencies.
would you please offer a Pull Request with this change ?
all the best
Tomer

fixed at https://github.com/HendrixString/adobe-cep-react-create/pull/10

authors: HendrixString syedsameerali

repo: HendrixString/adobe-cep-react-create


text:
🛑 wordpress is down

In 9e54089, wordpress (https://workshop.sicher.id/) was down:

HTTP code: 500
Response time: 1113 ms

Resolved: wordpress is back up in 8dd2105.

repo: HendryTju/websites-uptime


text:
a11y: rename class prop and add aria labels

Pull Request

📝 Description (short summary, TL;DR)

What changed?

📌 Additional Notes

🔗 Related Issues

🔄 Closes #
🔍 Type of Change

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (would cause existing functionality to not work)
[ ] 📚 Documentation update
[ ] 🎨 Style/UI update
[ ] ♻ Code refactoring
[ ] 📦 Dependency update
[ ] 🧪 Test update
[ ] 🔧 Configuration change

✅ Checklist

Code Quality

[ ] 👀 I have performed a self-review
[ ] 💬 I have added necessary comments
[ ] ⚠ No new warnings or errors are generated
[ ] ⚡ I have added/updated tests

Git Hygiene

[ ] 🔍 My commits are small and have clear messages
[ ] 🔀 I have rebased on the latest main branch
[ ] 🧩 This PR is small and focused on a single change

🧪 Testing

[ ] 👉 Manual testing

📸 Screenshots

#57  👈 (View in Graphite)
development

This stack of pull requests is managed by Graphite. Learn more about stacking.

source: gharchive/pull-request

repo: Hessuew/urFIT-child


text:
Fix Warning About Unsupported Verbs

Let's get rid of the warning, but keep the "fluid" interface for the Config commands - consider Aliases

Fixed by Jerris

repo: HiltonGiesenow/PoShMon

license: mit

license_source: bigquery


text:
Optimise Test Functions to Parallel Calls

    $serverDriveSpace = Get-WmiObject win32_logicaldisk -Computername $serverName #this could be optimised to go to all servers at the same time..

I'm not sure the gains to be had from this. Performance improvement may well be negligible. Other reasons? More simple code perhaps?


text:
求助大佬：更新密码的验证码无法正常显示怎么办？

更新前端代码到最新即可

repo: HimitZH/HOJ


text:
Use logger instead of print statements in "verbose" mode

Description
There are several places throughout the package where print statements are used to inform the user about something that is happening when a "verbose" flag is set. Instead of print statements, it would be better to use a logger throughout the package. This allows a user to more easily control how much is printed to the screen.

I'm not sure that I agree that using a logger is easier for the user. Doesn't the logger setting affect all the routines one uses? What if you just want verbose output from one particular function?

I'm not sure that I agree that using a logger is easier for the user. Doesn't the logger setting affect all the routines one uses?
What if you just want verbose output from one particular function?

You can change the logging output level using a context manager or just calling the logger directly before a function call. I can provide code examples if wanted.
Using a logger is the standard Python practice for providing information to a user. So a developer can segment the information provided to the user of a function. This offers a much finer control than a verbose keyword and a print statement.
I would suggest that if you are writing a library in Python, following the best practices (if I personally disagree with some of them) that have been refined over the years for a programming language is the better approach when anyone is creating to library to provide to users. This will require a different mindset that can and will be jarring at times, that is inescapable due to the difference in programming languages.

What would you think of using logging within the functions but retaining the verbose keyword? So something like:
def func(..., verbose=False)
...
if verbose:
logging.basicConfig(level=logging.INFO)
or something like that. I'm just trying to make things simple for users that are using the functions in interactive environments.

Apologies for losing track of this issue.
My opinion is that using a verbose keyword as noted above conflicts with the controlled output that logging offers you. As an example, if I set the log level to INFO but then I don't set verbose=True, then I don't get the expected logging messages. Using verbose also increases code complexity by adding more possible code paths because of the need for a conditional.
I can appreciate this is a change for many users, particularly those coming from IDL. However, I do not think it is too onerous to ask users to set the appropriate logging level in their scripts if they want more verbose feedback. We could use this as an opportunity to educate users on the advantages of logging.

So I haven't thought about this issue for a while, but I'm still not clear on how to use the setting of log level can be limited to a single procedure. For example in the routine temperature_from_filter_ratio I used verbose to tell the routine to output information about how the image was processed. If that was the only INFO level logging that I want, how would I only set the logging level such that I only got that and not INFO level logging for other routines called? Maybe using the context manager as Nabil mentioned. Sitll if I'm working from the command line, say using ipython and I want to plot up the temperature image and get the information about it, it seems much simpler to me to just provide the verbose keyword.
This may be something best discussed in person when you two are here.

I'm not sure I completely understand your use case here, but yes I think using the context manager would be one way. Happy to discuss more tomorrow and then record any consensus here.

authors: jslavin nabobalis wtbarnes

repo: HinodeXRT/xrtpy


text:
can I use two motion controls and one navigation?

I wanted to know if you have to use two movement controls and one navigation just to be able to move around in games and if you want to know if there is also how to connect the navigation device on the same bluetooth as the movement ones, I heard about bthPS3 which is a driver  bluetooth for PS3 accessories but I didn’t know how to configure it if someone can help me I appreciate it

Go on youtube, you have some great tuto to setup your PSmove controller and your Cam with this plugin here.

repo: HipsterSloth/PSMoveSteamVRBridge


text:
🛑 Hodl10 AG Webseite is down

In 0dd7e55, Hodl10 AG Webseite (https://hodl10.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hodl10 AG Webseite is back up in 3232523.


text:
🛑 Apicore Service is down

In 8771467, Apicore Service (https://az-hxg.hexabase.com/apicore/health_check) was down:

HTTP code: 502
Response time: 3535 ms

Resolved: Apicore Service is back up in 1fa1dc9.

repo: Hokutosei/HexaUptime


text:
Missing margins for Discord and Twitter connect buttons

Looks like it's already fixed🤔

authors: DaniruKun uetchy

repo: HolodexNet/Musicdex


text:
Openblas failed to pour the bottle on macOS

brew gist-logs <formula> link OR brew config AND brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.
[X] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?
I have already installed the formula openblas and I wanted to upgrade it. I have seen a similar issue in another formula https://github.com/Homebrew/brew/pull/15805
What happened (include all command output)?
==> Upgrading openblas
  0.3.23 -> 0.3.24

Error: Parameter 'old': Expected type Pathname, got type String with value "@@HOMEBREW_PREFIX@@/opt/gc.../gcc/x86_64-apple-darwin22/13"
Caller: /usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:41
Definition: /usr/local/Homebrew/Library/Homebrew/os/mac/keg.rb:40

What did you expect to happen?
Pouring of the bottle properly.
Step-by-step reproduction instructions (by running brew commands)
brew upgrade openblas

Looks like change_rpath has the wrong type signature (old and new are always String and never Pathname)

Thank you for the quick reply! Is this something I should fix in my installation or it depends on the formula?

@alazarolop Can I see your brew config output? Working on a fix, thanks.

Thank you a lot @MikeMcQuaid .

You're welcome @alazarolop!

Looks like change_rpath has the wrong type signature (old and new are always String and never Pathname and ruby-macho expects Strings)

apologies, I added that in #15980 but didn't know what I was doing. It was needed for intermediate form of the pull request, but I think the type declarations aren't needed now. Should I remove the other type signatures that I added to os/mac/keg?

@scpeters No worries, it happens! I think fine to leave other signatures in unless you know them to be wrong but, lesson learned for me I guess on being wary of these sorts of changes that aren't covered by test.

authors: Bo98 MikeMcQuaid alazarolop scpeters

repo: Homebrew/brew


text:
brew list sometimes returns 1 when all arguments are installed

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.3.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: e130e47f23b8b806096f9ec4f2c193213b8ec908
Last commit: 3 days ago
Core tap JSON: 05 Jun 19:59 UTC
Core cask tap JSON: 05 Jun 19:59 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: ["--appdir=~/Applications", "--require-sha"]
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.2 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.2/bin/ruby
CPU: dodeca-core 64-bit arm_lobos
Clang: 15.0.0 build 1500
Git: 2.45.2 => /opt/homebrew/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?
I was using brew list to see if I had some things installed.
What happened (include all command output)?
I noticed that listing two things printed what I expected, but the exit code indicated failure.
$ brew list dive rancher ; echo $?
/opt/homebrew/Cellar/dive/0.12.0/bin/dive
==> App
~/Applications/Rancher Desktop.app (631 files, 1.4GB)
1

Listing them separately returns successfully.
$ brew list ; echo $?
==> Formulae
…

==> Casks
…
0

$ brew list dive ; echo $?
/opt/homebrew/Cellar/dive/0.12.0/bin/dive
0

$ brew list rancher ; echo $?
==> App
~/Applications/Rancher Desktop.app (631 files, 1.4GB)
0

🤔 Strangely, redirecting the output also succeeds...
$ brew list dive rancher > /dev/null ; echo $?
0

What did you expect to happen?
I expected brew list dive rancher to return a success status/code when both dive and rancher are installed.
Step-by-step reproduction instructions (by running brew commands)
brew install dive rancher && brew list dive rancher ; echo $?

I can't reproduce this with two formulae, but I can reproduce it with a formula and a cask. 🤔
$ brew list ripgrep jq; echo $?
/opt/homebrew/Cellar/ripgrep/13.0.0/.crates.toml
/opt/homebrew/Cellar/ripgrep/13.0.0/.crates2.json
/opt/homebrew/Cellar/ripgrep/13.0.0/bin/rg
/opt/homebrew/Cellar/ripgrep/13.0.0/etc/bash_completion.d/rg.bash
/opt/homebrew/Cellar/ripgrep/13.0.0/share/fish/vendor_completions.d/rg.fish
/opt/homebrew/Cellar/ripgrep/13.0.0/share/man/man1/rg.1
/opt/homebrew/Cellar/ripgrep/13.0.0/share/zsh/site-functions/_rg
/opt/homebrew/Cellar/jq/1.7.1/bin/jq
/opt/homebrew/Cellar/jq/1.7.1/include/ (2 files)
/opt/homebrew/Cellar/jq/1.7.1/lib/libjq.1.dylib
/opt/homebrew/Cellar/jq/1.7.1/lib/pkgconfig/libjq.pc
/opt/homebrew/Cellar/jq/1.7.1/lib/ (2 other files)
/opt/homebrew/Cellar/jq/1.7.1/share/doc/ (4 files)
/opt/homebrew/Cellar/jq/1.7.1/share/man/man1/jq.1
0

$ brew list jq postman; echo $?
/opt/homebrew/Cellar/jq/1.7.1/bin/jq
/opt/homebrew/Cellar/jq/1.7.1/include/ (2 files)
/opt/homebrew/Cellar/jq/1.7.1/lib/libjq.1.dylib
/opt/homebrew/Cellar/jq/1.7.1/lib/pkgconfig/libjq.pc
/opt/homebrew/Cellar/jq/1.7.1/lib/ (2 other files)
/opt/homebrew/Cellar/jq/1.7.1/share/doc/ (4 files)
/opt/homebrew/Cellar/jq/1.7.1/share/man/man1/jq.1
==> App
/Applications/Postman.app (56 files, 492.9MB)
1


text:
undefined method >=' for nil:NilClassonbrew upgrade`

[X] Ran brew update and retried your prior step?
[X] Ran brew doctor, fixed as many issues as possible and retried your prior step?

Bug report:
This appeared in b33fe79478992da827317111370ab15d280e72c5. The following line throws when Xcode isn't installed, or Xcode is <8 and the CLT aren't installed:
MacOS::Xcode.version >= "8.0" || MacOS::CLT.version >= "8.0"

Here's the output:
$ brew upgrade
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
radare2
==> Upgrading 2 outdated packages, with result:
go 1.7, node 6.4.0
Error: undefined method `>=' for nil:NilClass
Please report this bug:
    https://git.io/brew-troubleshooting
/Users/sidney/.homebrew/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb:4:in `no_weak_imports?'
/Users/sidney/.homebrew/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:87:in `determine_cccfg'
/Users/sidney/.homebrew/Library/Homebrew/extend/ENV/super.rb:48:in `setup_build_environment'
/Users/sidney/.homebrew/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:93:in `setup_build_environment'
/Users/sidney/.homebrew/Library/Homebrew/extend/ENV.rb:23:in `with_build_environment'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:181:in `yielder'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:57:in `satisfied?'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:330:in `install_requirement_default_formula?'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:348:in `block in expand_requirements'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:216:in `block in prune?'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:214:in `catch'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:214:in `prune?'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:202:in `block (2 levels) in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:232:in `each_key'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb:232:in `each'
/Users/sidney/.homebrew/Library/Homebrew/dependencies.rb:68:in `each'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:201:in `block in expand'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:200:in `each'
/Users/sidney/.homebrew/Library/Homebrew/requirement.rb:200:in `expand'
/Users/sidney/.homebrew/Library/Homebrew/formula.rb:1272:in `recursive_requirements'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:341:in `expand_requirements'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:290:in `compute_dependencies'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:131:in `verify_deps_exist'
/Users/sidney/.homebrew/Library/Homebrew/formula_installer.rb:124:in `prelude'
/Users/sidney/.homebrew/Library/Homebrew/cmd/upgrade.rb:88:in `upgrade_formula'
/Users/sidney/.homebrew/Library/Homebrew/cmd/upgrade.rb:67:in `block in upgrade'
/Users/sidney/.homebrew/Library/Homebrew/cmd/upgrade.rb:66:in `each'
/Users/sidney/.homebrew/Library/Homebrew/cmd/upgrade.rb:66:in `upgrade'
/Users/sidney/.homebrew/Library/Homebrew/brew.rb:87:in `<main>'

cc @MikeMcQuaid

I have got this error:
$ brew update && brew upgrade
Already up-to-date.
==> Upgrading 8 outdated packages, with result:
imagemagick 6.9.5-7, libftdi 1.3, libpng 1.6.24
==> Upgrading imagemagick
==> Installing dependencies for imagemagick: libpng
==> Installing imagemagick dependency: libpng
==> Using the sandbox
Error: undefined method `>=' for nil:NilClass
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb:4:in `no_weak_imports?'
/usr/local/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:87:in `determine_cccfg'
/usr/local/Library/Homebrew/extend/ENV/super.rb:48:in `setup_build_environment'
/usr/local/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:93:in `setup_build_environment'
/usr/local/Library/Homebrew/build.rb:86:in `install'
/usr/local/Library/Homebrew/build.rb:179:in `<main>'

Fixed in https://github.com/Homebrew/brew/commit/27fc2abacabd0990cce91eca42cc63ba05866e65.

Has this fix been pushed to the standard repo that I will hit when I perform brew update?  I am still seeing the error, and I have successfully updated (but cannot upgrade).
(python3) Mikes-Mac:~ mike$ brew update
Already up-to-date.
(python3) Mikes-Mac:~ mike$ brew upgrade
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: undefined method `<' for nil:NilClass
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/octave.rb:16:in `<class:Octave>'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/octave.rb:1:in `load_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:25:in `module_eval'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:25:in `load_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:42:in `load_formula_from_path'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:97:in `load_file'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:88:in `klass'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:84:in `get_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:182:in `get_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:222:in `factory'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:253:in `from_keg'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:236:in `from_rack'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1357:in `block in installed'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1355:in `map'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1355:in `installed'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:27:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:99:in `<main>'
(python3) Mikes-Mac:~ mike$

I'd rather not have to pull directly from the GitHub repo, as I typically presume that packages that have been updated for the standard means of getting them are more robust.

@lazarillo Can you provide your brew config? Thanks!

Yes, here it is:
Mikes-Mac:~ mike$ brew config
HOMEBREW_VERSION: 1.0.5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: a5565d8fd600bc2883ed76ca8708d08588d1ef3f
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0f04cd55678864dfcbed56696fe43e7a461931f9
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: N/A
Git: 2.10.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_45, 1.7.0_75, 1.6.0_65-b14-468
macOS: 10.11.6-x86_64
Xcode: N/A
CLT: N/A
X11: 2.7.8 => /opt/X11
Mikes-Mac:~ mike$

And I also often run it in an anaconda environment that uses Python3 as its default, as well, which is the config when it failed in my initial comment.  Here is that brew config:
(python3) Mikes-Mac:~ mike$ brew config
HOMEBREW_VERSION: 1.0.5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: a5565d8fd600bc2883ed76ca8708d08588d1ef3f
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0f04cd55678864dfcbed56696fe43e7a461931f9
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: N/A
Git: 2.10.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /Users/mike/anaconda/envs/python3/bin/python => /Users/mike/anaconda/envs/python3/bin/python3.5
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_45, 1.7.0_75, 1.6.0_65-b14-468
macOS: 10.11.6-x86_64
Xcode: N/A
CLT: N/A
X11: 2.7.8 => /opt/X11
(python3) Mikes-Mac:~ mike$

Happens because there is no clang installed. And I'm not sure what should be changed in this case: formula or something else.
homebrew-science/octave.rb never checks if DevelopmentTools.installed?is true. DevelopmentTools.clang_version simply returns nil because there is no clang.
# octave.rb
# ...
  if OS.mac? && DevelopmentTools.clang_version < "7.0"
# ...

Thanks for that information!  That's right!  I was having some issues with Apple's App Store no longer recognizing my Apple ID, so I had to uninstall XCode, thereby losing clang, and I forgot to re-install it.  In the process now, but it's a long process.  I will follow up to see if I still have the problem.

We make assumptions in core as well about DevelopmentTools.xyz actually returning something that isn't nil.
Maybe we should be handling that more carefully in the DevelopmentTools code in this repo so it doesn't panic in slightly confusing ways, but I'm not sure how supported trying to use Homebrew with no developer tools at all installed is at this point? @MikeMcQuaid

@lazarillo If you prefer to, you can use just the Command Line Tools with Homebrew. We don't mandate a full Xcode installation, except for building certain formulae from source where upstream expects or demands Xcode for whatever reason.

That was the problem!  Things worked OK once I re-installed XCode / clang.  My bad.

Maybe we should be handling that more carefully in the DevelopmentTools code in this repo so it doesn't panic in slightly confusing ways, but I'm not sure how supported trying to use Homebrew with no developer tools at all installed is at this point? @MikeMcQuaid

@DomT4 We should handle this case more gracefully, agreed.

CC @woodruffw In case you were interested in picking some of this up given your penultimate GSoC. Feels like something we could write tests for, too.

@MikeMcQuaid Sure thing!
In principle, IIRC, DevelopmentTools and its ilk shouldn't be used (unguarded) in places that bottling logic needs to hit, since we no longer need to assume the presence of install_name_tool or otool.
I'm going to completely clean my Hombrew/Xcode setup and see what (if anything) breaks with a variety of bottle installs and how it fails with a variety of source installs.

@woodruffw Sounds amazing, thanks!

At a cursory glance, it looks like we've regressed pretty far in terms of CLT-less bottle installs.
brew install git on a fresh CLT-less Homebrew installation should have complained a bit and then proceeded, but failed with a long procession of these:
You must: brew install git
You must: brew install git
You must: brew install git
You must: brew install git
You must: brew install git
You must: brew install git
Error: Git must be installed and in your PATH!
You must: brew install git
You must: brew install git
You must: brew install git
Error: Git is unavailable
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core -q

I'm going to continue looking into this.

The remaining errors we're seeing (You must: brew install git) are being caused by early use of git in brew.sh:
if [[ -z "$HOMEBREW_DEVELOPER" ]]
then
  export HOMEBREW_GIT_CONFIG_FILE="$HOMEBREW_REPOSITORY/.git/config"
  HOMEBREW_GIT_CONFIG_DEVELOPERMODE="$(git config --file="$HOMEBREW_GIT_CONFIG_FILE" --get homebrew.devcmdrun)"
  if [[ "$HOMEBREW_GIT_CONFIG_DEVELOPERMODE" = "true" ]]
  then
    export HOMEBREW_DEV_CMD_RUN="1"
  fi
fi

if [[ -f "$HOMEBREW_LIBRARY/Homebrew/cmd/$HOMEBREW_COMMAND.sh" ]]
then
  HOMEBREW_BASH_COMMAND="$HOMEBREW_LIBRARY/Homebrew/cmd/$HOMEBREW_COMMAND.sh"
elif [[ -f "$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOMEBREW_COMMAND.sh" ]]
then
  if [[ -z "$HOMEBREW_DEVELOPER" ]]
  then
    git config --file="$HOMEBREW_GIT_CONFIG_FILE" --replace-all homebrew.devcmdrun true
    export HOMEBREW_DEV_CMD_RUN="1"
  fi
  HOMEBREW_BASH_COMMAND="$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOMEBREW_COMMAND.sh"
fi

and in utils/analytics.sh for the same purpose (getting config values from git config). These errors only occur on the first time brew is run after installation with --force-curl, as git is installed from a bottle via Utils.ensure_git_installed!.
Since these are ingrained fairly deeply in Homebrew, there's no really clean way to avoid them. Here are some ideas I had, in no particular order:

Guard the calls in brew.sh and analytics.sh with checks for git's installation. These checks would have to be extremely conservative, as we can't guarantee that /usr/local/bin isn't the CLT stub and we don't want CLT-less users to have to click-out of popups when they've already made it clear that they don't want to install the CLT.

Simply remove the echo from the git shims. This'll stop the 7-8 error messages that occur when brew is run for the first time after a --force-curl install, as git is automatically installed after that. This is the simplest "fix", although those annoying developer tools will still pop up since the shims are still being invoked.

Replace git --config with a utility-agnostic configuration system, like a YAML or JSON file. This would get rid of the errors by virtue of eliminating the need for git before an opportunity for installation arises, but requires us to migrate away from the current configuration system.

Vendor git with Homebrew, the same way ruby has been vendored. By making this mandatory, we could skip all the pain associated with checking for git and just ensure its installation early-on.

Just for replication, this is what I've done to brew.sh:
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index cbf39d0..0fd689d 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -1,4 +1,4 @@
-HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty 2>/dev/null)"
+#HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty 2>/dev/null)"
 HOMEBREW_USER_AGENT_VERSION="$HOMEBREW_VERSION"
 if [[ -z "$HOMEBREW_VERSION" ]]
 then
@@ -217,7 +217,7 @@ esac
 if [[ -z "$HOMEBREW_DEVELOPER" ]]
 then
   export HOMEBREW_GIT_CONFIG_FILE="$HOMEBREW_REPOSITORY/.git/config"
-  HOMEBREW_GIT_CONFIG_DEVELOPERMODE="$(git config --file="$HOMEBREW_GIT_CONFIG_FILE" --get homebrew.devcmdrun)"
+  # HOMEBREW_GIT_CONFIG_DEVELOPERMODE="$(git config --file="$HOMEBREW_GIT_CONFIG_FILE" --get homebrew.devcmdrun)"
   if [[ "$HOMEBREW_GIT_CONFIG_DEVELOPERMODE" = "true" ]]
   then
     export HOMEBREW_DEV_CMD_RUN="1"
@@ -231,7 +231,7 @@ elif [[ -f "$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOMEBREW_COMMAND.sh" ]]
 then
   if [[ -z "$HOMEBREW_DEVELOPER" ]]
   then
-    git config --file="$HOMEBREW_GIT_CONFIG_FILE" --replace-all homebrew.devcmdrun true
+    # git config --file="$HOMEBREW_GIT_CONFIG_FILE" --replace-all homebrew.devcmdrun true
     export HOMEBREW_DEV_CMD_RUN="1"
   fi
   HOMEBREW_BASH_COMMAND="$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOMEBREW_COMMAND.sh"

And I've exported HOMEBREW_NO_ANALYTICS=1 to guard-out the git invocations in utils/analytics.sh. This gets rid of all the shim errors.
A CLT git popup still appears during bottle installations, which means something somewhere is still trying to invoke /usr/bin/git. I'll try to trace that down as well.

@woodruffw Given the echo is on stderr I think 2>/dev/null on each of these early Git invocations would make sense. I think brew update and brew analytics are the only cases where we should demand Git and fail hard otherwise. I do agree with you that longer-term it may just be a better idea to remove this echo from the Git shim, return a failing exit code anyway and move the logic to brew update and brew analytics.

as we can't guarantee that /usr/local/bin isn't the CLT stub

We kinda can guarantee that. It's a safe assumption that /usr/bin/git is the only case that may be a stub.

It's a safe assumption that /usr/bin/git is the only case that may be a stub.

Whoops, that's what I meant :smile:

Testing on my system, #1380 makes CLT-less Homebrew installations essentially identical to Homebrew with CLT. One CLT prompt still pops up the first time brew install is invoked, probably because the git shims are still trying to execute the /usr/bin/git stub at least once. That needs to be fixed eventually, but canceling the prompt for the time being allows brew to function normally in the expected use case (i.e., installing bottles).

@woodruffw Great, nice work! Agreed about 💀ing that stub call but otherwise: 🆒!

Going to consider this closed out for now given @woodruffw's great work here. Feel free to dump comments in here if there's other related things folks feel should be addressed here.

authors: DomT4 MikeMcQuaid Sidnicious lazarillo pftbest vladshablinsky woodruffw


text:
Replace ActiveSupport inflections with Utils methods

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Based on @MikeMcQuaid's comment in https://github.com/Homebrew/brew/issues/10508#issuecomment-1440662707 I've put together a quick replacement candidate for ActiveSupport's String#pluralize monkey-patch, and ported the first five instances (based on git grep). There are ~50 instances of pluralize in the repo, so I want to confirm this approach before moving forward.
(Note that there are a handful of other String monkey-patches that I found when i remove them from the active-support rbi: five instances of demodulize, one of titleize, and one of first (which may be a type error). We will need to replace these before we can remove the active_support/core_ext/string/inflections dependency.)
(Also, after the breakages caused by https://github.com/Homebrew/brew/pull/14502, I've preemptively checked homebrew-{cask,core} and found no instances of pluralize (but I didn't look for other ActiceSupport inflection methods)).

Review period will end on 2023-02-24 at 05:35:32 UTC.

I'll go with the majority and call it pluralize, but will explain my original thinking here. Grammatical number is the concept we're implementing, so i chose number for that reason. (pluralize makes sense when it's acting on the singular noun, but this is starting in an undermined state).
I don't have a strong opinion about parameter ordering or kwarg vs positional, so i'll go with @Rylan12's recommendation there.

I've changed the name to pluralize, used the method signature suggested by @Rylan12, ported a few more call sites, and added a non-monkey-patched demodulize. These methods remain under Utils::Inflection for now. There's some odd formatting due to brew style --fix that i'll clean up ahead of final review.
PTAL @Rylan12 @MikeMcQuaid

Review period ended.

@MikeMcQuaid @Rylan12 PTAL

Changed the namespace from Utils::Inflections to Utils
Also ported demodulize and deconstantize from ActiveSupport::Inflections, and inlined an instance of titleize
Added tests

require "active_support/core_ext/string/inflections" remains in global.rb. I'd like to scope that to a separate PR in case we see downstream consequences (like we did in https://github.com/Homebrew/brew/pull/14502 ) and wish to revert.

Thanks again @dduugg!

authors: BrewTestBot MikeMcQuaid dduugg


text:
cmd/update-report: fix ordering.

New formulae/casks were shown as removed and vice versa.
Fixes #15036

Review period skipped due to critical label.

Optional suggestion: use the json payload and you can also see modified formula/casks
or save a hash over the json_cask.except("token")] from here as a column in the names file and make then the diff
https://github.com/Homebrew/brew/blob/ea92f56da4741fb9678d1bcd3e61f24825cee892/Library/Homebrew/api/cask.rb#L33-L35

@carlocab @muescha Will happily review PRs to change the approach. I don't have the bandwidth to do so personally in the near future.

authors: BrewTestBot MikeMcQuaid muescha


text:
Add keyboard_layout stanza.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

See https://github.com/Homebrew/homebrew-cask/pull/143776.

Actually, looks like @apainintheneck comments addressed (please contradict me if wrong!) so merging now to hopefully get into today's release.

authors: MikeMcQuaid reitermarkus


text:
Add an audit for mismatched Python resource and PyPi package names

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Fixes #14537.
When people manually add or modify PyPI resources the Resource#name sometimes ends up out-of-sync with the PyPI package name.

🤔 Are these findings correct?
alot
  * Stable resource "zope.interface": resource name should be `zope-interface` to match the PyPI package name
  * HEAD resource "zope.interface": resource name should be `zope-interface` to match the PyPI package name

The PyPI package name is zope.interface so the resource name is zope.interface and that's legit. But based on the other normalization code we have, I changed it to translate . and _ into -. But presumably keeping the dots in the resource name was actually intentional? What should we do here?

I don't think there's any particular reason except that brew update-python-resources hasn't touched it
If you want, you can relax it like how Python behaves: https://packaging.python.org/en/latest/specifications/name-normalization/ (i.e. also apply the [-_.]+ gsub to the resource name). We probably don't need to be picky here, especially if we apply this to third-party taps.

Yeah I just re-read the normalization docs for PyPI package names, it's all good, they should change (not that it really matters - we support -_. but hey).

Thanks again @issyl0!


text:
Use dummy containers for cask tests.

Reduces the size of the binaries used for the container tests from 6.3 MB to 86 KB.

Closes https://github.com/Homebrew/brew/issues/759.

Nice work 👏

Nice work :clap:

Well, at least now I know how to build an Adobe AIR app, just because I needed to make a dummy one. :joy:

Thanks!

authors: MikeMcQuaid chdiza reitermarkus


text:
Basic attack architecture

Getting in an attack besides moveAttack

Currently fixing up:
Rip out attack from entity, make damage calc
MapObj calls damage calc
Rework mapobj for new mouse.

repo: HotPrawns/Jiemyu


text:
fix houdini not working with sveltekit-flash-messages

When we have
export const load = loadFlash(async ({ locals,fetch}) => {
the actual AST of the init function looks like this inside the variableDeclaration:
Node3 {
  type: 'CallExpression',
  start: 179,
  end: 797,
  loc: SourceLocation3 {
    start: Position3 { line: 5, column: 20, index: 179 },
    end: Position3 { line: 25, column: 2, index: 797 },
    filename: undefined,
    identifierName: undefined
  },
  callee: Node3 {
    type: 'Identifier',
    start: 179,
    end: 188,
    loc: SourceLocation3 {
      start: [Position3],
      end: [Position3],
      filename: undefined,
      identifierName: 'loadFlash'
    },
    name: 'loadFlash'
  },
  arguments: [
    Node3 {
      type: 'FunctionExpression',
      start: 189,
      end: 796,
      loc: [SourceLocation3],
      id: [Node3],
      generator: false,
      async: true,
      params: [Array],
      body: [Node3]
    }
  ]
}

Here we see that the argument has the load function we are trying to patch
Fixes #1137
To help everyone out, please make sure your PR does the following:

[x] Update the first line to point to the ticket that this PR fixes
[x] Add a message that clearly describes the fix
[ ] If applicable, add a test that would fail without this fix
[x] Make sure the unit and integration tests pass locally with pnpm run tests and cd integration && pnpm run tests
[ ] Includes a changeset if your fix affects the user with pnpm changeset

Thanks for hunting this down! Do you mind adding a test in this file?

@AlecAivazis unfortunately the tests are always throwing an error on my machine (windows maybe?). some
#FailureMessage Object: 0000001DA32FE0B0
 1: 00007FF7E8537C4F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
 2: 00007FF7E8453CCF std::basic_ostream<char,std::char_traits<char> >::operator<<+65103
 3: 00007FF7E9132CE2 V8_Fatal+162
 4: 00007FF7E8B9DF1D v8::internal::BackingStore::Reallocate+637
 5: 00007FF7E8DE7699 v8::ArrayBuffer::GetBackingStore+137

anway i started this in the sessions file, which i think is the better place but honestly i have no idea what i am doing and thus i wasn't able to write the correct expected output. can you adapt that?
https://github.com/HoudiniGraphql/houdini/blob/main/packages/houdini-svelte/src/plugin/transforms/kit/session.test.ts#L63
test("modifies existing load +layout.server.js with a callexpression wrapper", async function () {
	const result = await test_transform_js(
		'src/routes/+layout.server.js',
		`
				function wrapper(cb){
					return async (event) => {
						const loadFunction = await cb(event);
						return { ...loadFunction };
					  };
				})
				export const load = wrapper(async (event)=>{

				})
			`
	)

	expect(result).toMatchInlineSnapshot(`
		import { buildSessionObject } from "$houdini/plugins/houdini-svelte/runtime/session";

		export async function load(event) {
			"FIX THIS CODE!!!";
			const __houdini__vite__plugin__return__value__ = {};

			return {
				...buildSessionObject(event),
				...__houdini__vite__plugin__return__value__
			};
		}
	`)
})

ah and i forgot to run the linter, i am sorry.

Whoa not sure what's causing that but no problem! I can take it from here 👍

authors: AlecAivazis eikaramba

repo: HoudiniGraphql/houdini


text:
Week Start Day

Hi
Very pretty plugin for ionic2 apps, Thank you.
Is there any way to establish the first day of the week?
By default the calendar starts the weeks on Sunday, but in Europe (Spain) it is usual to present the calendars beginning on Monday.
It would be possible to include a configuration variable "weekFirstDay" with values 0 for Sunday, 1 for Monday, which allows us to set the starting day of the rendered calendar.
Even an option to set a Locale would be perfect, allowing to set an array of options with the format of the date, or the weekFirstDay that I proposed earlier.
Thank you!

@pedrocortizo is ok now.

@HsuanXyz , Week start day is keep adding one day if the history is turned on.

@sckumar try #53

authors: HsuanXyz pedrocortizo sckumar


text:
希望翻译加入硅基流动的api

https://siliconflow.cn/zh-cn/

qwen2.5-72b应该效果也不差

确实可以！
（其实硅基流动上新 qwen2.5 那一天本项目就默认使用这个，但是后面发现遵循格式还是有问题，甚至有时候不如 deepseek）

可以自行更改侧边栏的 baseurl使用硅基流动

已经解决，谢谢

一解决

repo: Huanshere/VideoLingo


text:
[issue-635]add handle for avg(stringType)+IntType query

issue #635
the stage failure is because avg(StringType) is resolved as String Type and IntType resolved as DoubleType, the type of both plus can not be resolved.
i cast it to DoubleType.

@kumarvishal09  @QiangCai  pls review.

please handle for other aggregate function sum, max, min, sum distinct for example sum(String)+10 in this can also we need to show null

@kumarvishal09 handled.

@kumarvishal09 pls review and check in.

retest this please

retest this please

@Jay357089 you can check how other aggregate functions are working you can use the same code

@kumarvishal09 there is some difference between avg and other aggregation, because avg(int) should be double, and for dimension, int is handled as int, but for measure, int is handled as double. so, some specific handle should be done to avg.

@ravipesala handled, also added test case. pls review and check in.

LGTM

repo: HuaweiBigData/carbondata


text:
'content' property makes sense only in pseudo elements

Since property 'content' is made for pseudo-elements, I replaced it with 'color' property in examples.

Thanks my friend!

authors: HugoGiraudel goschevski

repo: HugoGiraudel/sass-guidelines


text:
Removed whitespaces from annotated text

Describe the bug
Text annotations: in some locations in my raw text, there are extra whitespaces instead of a single whitespace.
In the display screen, it doesn't show them, and displays only a single space.
Additionally, in the output JSON I export, the text content is displayed without extra whitespaces, while the start and end indexes are aligned with the indexes of the original text (with the extra spaces).
To Reproduce
For the text:
4   cm
I would get this in the json file:
      "value": {
        "start": 0,
        "end": 7,
        "text": "4 cm",
        "labels": [
          "Size"
        ]
      },

While I expect this:
      "value": {
        "start": 0,
        "end": 7,
        "text": "4   cm",
        "labels": [
          "Size"
        ]
      },

With the extra spaces. The indices are consistent with the extra whitespaces, and the text field (and presented text in the platform) are not.
Environment (please complete the following information):

OS: Windows 10 enterprize
Label Studio Version 1.7.0

Thanks for your report, this looks like it might be a bug, but can you upgrade to the latest version of label studio? We don't have long-term support for previous releases, and this issue might have been fixed in the current release.

Hey! That's expected behaviour in general, because we render text as html, so spaces are glued together, however that's a good question on how it should be reflected in the result — we'll take a look.
To fix the behaviour and view you can add <Style>.htx-text{ white-space: pre-wrap; }</Style> to your config like it's suggested on our doc page: https://labelstud.io/tags/text

I have the same problem, which is caused by multiple consecutive spaces.
My solution is to use regular expressions and replace \s+with \s

Using <Style>.htx-text{ white-space: pre-wrap; }</Style> doesn't fix it for me either.
Maybe I'm doing it wrong, but you're supposed to add the style line at the top of the main view, right? This is the start of my config
<View>
    <Style>.htx-text{ white-space: pre-wrap; }</Style>
    <Text name="text" value="$text"/>

    <!-- NER Labels for annotating sentences -->
    <Labels name="label" toName="text">
        <Label value="label 1"/>
        <Label value="label 2"/>

repo: HumanSignal/label-studio


text:
Annotations will bounce forward：标注内容会出现前移

Describe the bug
When Relation Extraction is used for annotation, annotation content will move forward when the mouse is released, for example: start: 3, end:5, and then the annotation becomes start: 0, end:2 after the mouse is placed

/jira create

authors: Amber-Believe jombooth


text:
Equality to H3

Hey! Thanks for this.
Is it algorithmically EXACTLY the same as H3?
Specifically, given a point and a resolution, will the H3 index will be the same?

There are some difference in term of implementation but for a given input the output should be the same yeah 👍
Actually, a large part of the test suite ensure that h3o produces the same result as h3 (and the C binding of h3o used to pass the H3 test suite)

Amazing. Many thanks for this awsome work


text:
Hygieia Executive - Traceability UI Implementation

This is related to implementation of Traceability UI in Executive

Closing this PR, will be creating new one

repo: Hygieia/ExecDashboard


text:
Modify Commands to deal with PokeCord's Rate Limits.

Need to add sufficient delay between two consecutive Pokecord commands in order to stay within PokeCord's rate limits introduced during the recent silent update.

Fixed in b4420954d3e6d33a02677ea9c1d816fce757c381.


text:
Jib project hard dependency on Docker.

On my machine I use Podman instead of Docker.
When I use Maven to execute the package goal I see an exception thrown by JibProcessor.
[INFO] Horreum Backend .................................... FAILURE [ 42.961 s]
[INFO] Horreum Client ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  48.359 s
[INFO] Finished at: 2021-12-23T17:36:18Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:2.3.0.Final:build (default) on project horreum-backend: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] 	[error]: Build step io.quarkus.container.image.jib.deployment.JibProcessor#buildFromJar threw an exception: java.lang.RuntimeException: Unable to create container image
[ERROR] 	at io.quarkus.container.image.jib.deployment.JibProcessor.containerize(JibProcessor.java:195)
[ERROR] 	at io.quarkus.container.image.jib.deployment.JibProcessor.buildFromJar(JibProcessor.java:135)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] 	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:820)
[ERROR] 	at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
[ERROR] 	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[ERROR] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[ERROR] 	at java.base/java.lang.Thread.run(Thread.java:829)
[ERROR] 	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[ERROR] Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Cannot run program "docker": error=2, No such file or directory
[ERROR] 	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:566)
[ERROR] 	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547)
[ERROR] 	at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:88)
[ERROR] 	at com.google.cloud.tools.jib.builder.steps.StepsRunner.run(StepsRunner.java:219)
[ERROR] 	at com.google.cloud.tools.jib.api.Containerizer.run(Containerizer.java:366)
[ERROR] 	at com.google.cloud.tools.jib.api.JibContainerBuilder.containerize(JibContainerBuilder.java:598)
[ERROR] 	at io.quarkus.container.image.jib.deployment.JibProcessor.containerize(JibProcessor.java:188)
[ERROR] 	... 12 more
[ERROR] Caused by: java.io.IOException: Cannot run program "docker": error=2, No such file or directory
[ERROR] 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
[ERROR] 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
[ERROR] 	at com.google.cloud.tools.jib.docker.DockerClient.docker(DockerClient.java:277)
[ERROR] 	at com.google.cloud.tools.jib.docker.DockerClient.load(DockerClient.java:193)
[ERROR] 	at com.google.cloud.tools.jib.builder.steps.LoadDockerStep.call(LoadDockerStep.java:74)
[ERROR] 	at com.google.cloud.tools.jib.builder.steps.StepsRunner.lambda$loadDocker$18(StepsRunner.java:618)
[ERROR] 	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
[ERROR] 	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
[ERROR] 	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
[ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[ERROR] 	at java.base/java.lang.Thread.run(Thread.java:829)
[ERROR] Caused by: java.io.IOException: error=2, No such file or directory
[ERROR] 	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
[ERROR] 	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
[ERROR] 	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
[ERROR] 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
[ERROR] 	... 11 more
[ERROR] -> [Help 1]
...
$ mvn -version
Apache Maven 3.8.3

openjdk version "11.0.11"

Any known workarounds to allow the build to progress ?

I thought that Podman installs a symlink from docker to podman - don't you have this?

No symlink in my distribution. An alias did exist but that wasn't getting picked up.
After manually adding a symlink the build is working as expected. I'll close this issue.

Maybe it's not installed by default with podman. sudo dnf install -y podman-docker could help.

authors: rvansa whitingjr

repo: Hyperfoil/Horreum


text:
pin dependencies for deterministic CI / dev builds

Fixes #137.

Pull Request Test Coverage Report for Build 98

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

Totals

Change from base Build 97:
0.0%

Covered Lines:
466

Relevant Lines:
488

💛  - Coveralls

repo: HyperionGray/trio-websocket


text:
Added Get-JenkinsPluginsList cmdlet - Fixes #46

This change is

Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

authors: PlagueHO liambinnsconroy

repo: IAG-NZ/jenkins


text:
HTTPStatusCode enum is missing registered values

The public enum HTTPStatusCode is missing a number of values that are registered with IANA:
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
The ones that I spotted are:

423: Locked
425: Too Early
426: Upgrade Required

There may be others missing - it would be worth comparing against the IANA list.
Whilst adding cases to this public enum is technically a breaking change, we do not realistically expect someone to exhaustively switch over it (ie. without a default case), and so we feel this is a reasonable change to make as a bug fix.
This change needs to be made to both Kitura-net and Kitura-NIO.

Looks like too early (425) doesn't exist in SwiftNIO's HTTPResponseStatus

repo: IBM-Swift/Kitura-net


text:
Basic Constraint-only Profile Support

Support the validation of supplemental constraints provided by profile structure definitions. This does not include cardinality constraints, value domain constraints, terminology constraints, etc.

Code is reviewed.

repo: IBM/FHIR


text:
Early exit logic for expensive search queries

Is your feature request related to a problem? Please describe.
When client performs search request that is very expensive (e.g. due to https://github.com/IBM/FHIR/issues/264 --whole system search or https://github.com/IBM/FHIR/issues/262 --many ANDed search parameters), we happily accept that and the server chugs away for a long time on it.
Describe the solution you'd like
The server should use heuristics to determine that a given search is "too expensive" and return that.
As a first pass, perhaps we can use the time taken by the COUNT query.
For example, if it is more than 30 seconds we can return the error and skip the execution of the actually SELECT.

John and Paul feel the default timeout should be higher.  Lets make sure its configurable and set the default to ~45 seconds?


text:
Accordion component throwing errors in sandbox

Detailed description
I am attempting to recreate an issue using codesandbox with an accordion component to demonstrate in an issue.  However, when I implement the accordion component in the code, I get the following errors:
In Firefox: "A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information."
In Chrome: "Cannot read property 'open' of null"

Please create a reduced test case in code sandbox
https://codesandbox.io/s/zk185zwml

Not too sure why, but loading the newest version of the components in the Sandbox gets it to render for me

What is the newest version, and how do I load them in the sandbox? (Noob question, I know. ;-) )

repo: IBM/carbon-components-react


text:
Tab focus isn't trapped in Modal/ComposedModal

Both the Modal and ComposedModal components allow a user to transfer focus to other page elements via the keyboard. The focus should be trapped within the modal, as per https://www.carbondesignsystem.com/components/modal/usage#focus.

Fixed in v0.38.2

authors: dqzx metonym

repo: IBM/carbon-components-svelte


text:
Feature Request Search Component: Provide method to clear input and icon

eature request for Search component
The use case is:
There is some text available in the Seach field and the "x-icon" to clear the Search field is displayed.
The cursor is located in the Search field
Now the ESCAPE key is pressed
The ESCAPE key is catured in the appropriate java script code.
Now the same behavior as when the "x-icon" is clicked should be processed. (search filed cleared, "x-icon" removed/hidden)

For this there should be a public method available ( e.g. clearSearch() )
which can be called form java script or typescript code.
As an alternative, ESC key handling is directly implemented within the Search component and can be anyhow switched on or of if should be handled or not.

Hi Akira,
many thanks for hat hint.
Do you have an example how to call svgToggleClass from java script??
I have not idea what pass as "icon"
Tx in advance
Stefan

Hi @StefanDoersam svgToggleClass() takes a SVGElement as the first argument. That said, you can grab the SVG DOM element via DOM API.

authors: StefanDoersam asudoh

repo: IBM/carbon-components


text:
fix: allow unit tests to run

PR summary
This PR modifies the data-virtualization module's pom.xml to allow unit tests to be executed.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@baijiebj please review and then merge... this should cause a new version of the project (0.0.7) to be created.

Thanks. I merged, and will check the result.

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

authors: baijiebj padamstx


text:
login to IBM Cloud

login to IBM cloud does not work in tekton task to do the VA scan.
Current Code (does not work):
      ibmcloud login --apikey ${IBM_CLOUD_APIKEY} -g ${IBM_CLOUD_RESOURCE_GROUP} -r ${IBM_CLOUD_REGION}

Working Code (does work):
      ibmcloud login --apikey ${IBM_CLOUD_APIKEY} -r ${IBM_CLOUD_REGION}
      ibmcloud target -r ${IBM_CLOUD_REGION}

I am working with region eu-de to push to de.icr.io/kitty-catt/lightbluecompute-catalog:latest
I will submit a pull request.

That's weird the need for target -r
@seansund have you seeing this problem before?
What about using ibmcloud cr region-set ?
ibmcloud cr region-set -h
NAME:
  region-set - Set a target region for the IBM Cloud Container Registry commands.

USAGE:
  ibmcloud cr region-set [REGION]
REGION is the name of your target region.

Ah good catch, for container registry there is no resource group applicable, only region and service endpoint
The -g ${IBM_CLOUD_RESOURCE_GROUP} has nothing to do with registry

It would be good to just try this
ibmcloud login --apikey ${IBM_CLOUD_APIKEY}
ibmcloud cr region-set ${IBM_CLOUD_REGION}

Closed by #32

authors: csantanapr kitty-catt

repo: IBM/ibm-garage-tekton-tasks


text:
cleanup osAuthEnabled/OSAUTH_ENABLED in-place of idpv3

Earlier PR was made to release-future, as release-future is no more in-use, created this PR

/lgtm

repo: IBM/ibm-iam-operator


text:
PVC is in pending when set quota is not same as requested

Describe the bug
When set quota is not same as requested quota , PVC stays in pending state , While it is expected that CSI should retry to set the quota as requested.
How to Reproduce?

Install CSI 2.10.0 dev on OCP with remote cluster (5.1.9.0)

[root@OCP_cluster ~]# oc get pods
NAME                                                  READY   STATUS    RESTARTS          AGE
ibm-spectrum-scale-csi-8pxf5                          3/3     Running   0                 2d7h
ibm-spectrum-scale-csi-attacher-59f7cff6bd-c9xl9      1/1     Running   0                 2d7h
ibm-spectrum-scale-csi-attacher-59f7cff6bd-h8lv8      1/1     Running   3 (3h35m ago)     2d7h
ibm-spectrum-scale-csi-cwzq5                          3/3     Running   0                 2d7h
ibm-spectrum-scale-csi-operator-76f959df6d-p9zcp      1/1     Running   139 (3m23s ago)   2d8h
ibm-spectrum-scale-csi-provisioner-7bbb55b5d6-h7f59   1/1     Running   1 (26h ago)       2d7h
ibm-spectrum-scale-csi-resizer-7f7bdff98b-lsm8b       1/1     Running   0                 2d7h
ibm-spectrum-scale-csi-snapshotter-7f4fbbcf87-ntrzc   1/1     Running   0                 2d7h
ibm-spectrum-scale-csi-zc4d9                          3/3     Running   0                 2d7h
[root@OCP_cluster ~]# oc get cso
NAME                     VERSION   SUCCESS
ibm-spectrum-scale-csi   2.10.0    True
[root@OCP_cluster ~]# oc describe pod | grep Image
    Image:         cp.icr.io/cp/spectrum/scale/csi/ibm-spectrum-scale-csi-driver@sha256:2ae66f76d179d56a6167207c5a07c54bc1b881d8dc07fe72ea4fcb44f33a697b
    Image ID:      cp.icr.io/cp/spectrum/scale/csi/ibm-spectrum-scale-csi-driver@sha256:2ae66f76d179d56a6167207c5a07c54bc1b881d8dc07fe72ea4fcb44f33a697b
    Image:         icr.io/cpopen/ibm-spectrum-scale-csi-operator@sha256:f8d9f0b26b5479bb228d9ed6d0eaab9e7c8eff13d49b9ae323e757d7f62db8ba
    Image ID:      icr.io/cpopen/ibm-spectrum-scale-csi-operator@sha256:ac117434aa59ed7545566b54044d485fb280de36e81ea1a2d9d75b1875546495

Create PVC and SC as following:

[root@OCP_cluster ~]# oc get sc sc-focused-snake-601 -oyaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  creationTimestamp: "2023-09-09T02:32:28Z"
  name: sc-focused-snake-601
  resourceVersion: "83788"
  uid: 70e6326b-e55b-41d2-8fe6-dcdb2eea8db7
parameters:
  compression: z
  consistencyGroup: cg-confident-wolf-806
  tier: system
  version: "2"
  volBackendFs: fs0
provisioner: spectrumscale.csi.ibm.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
[root@OCP_cluster ~]# oc get pvc pvc-unruffled-deer-940 -n ibm-spectrum-scale-csi-test
NAME                     STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS           AGE
pvc-unruffled-deer-940   Bound    pvc-4dd57cdb-d459-4e51-845d-da444fe682fe   1Gi        RWX            sc-focused-snake-601   2d6h
[root@OCP_cluster ~]# oc get pvc pvc-unruffled-deer-940 -n ibm-spectrum-scale-csi-test -oyaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    pv.kubernetes.io/bind-completed: "yes"
    pv.kubernetes.io/bound-by-controller: "yes"
    volume.beta.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
    volume.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
  creationTimestamp: "2023-09-09T02:32:28Z"
  finalizers:
  - kubernetes.io/pvc-protection
  - provisioner.storage.kubernetes.io/cloning-protection
  name: pvc-unruffled-deer-940
  namespace: ibm-spectrum-scale-csi-test
  resourceVersion: "84540"
  uid: 4dd57cdb-d459-4e51-845d-da444fe682fe
spec:
  accessModes:
  - ReadWriteMany
  resources:
    requests:
      storage: 1Gi
  storageClassName: sc-focused-snake-601
  volumeMode: Filesystem
  volumeName: pvc-4dd57cdb-d459-4e51-845d-da444fe682fe
status:
  accessModes:
  - ReadWriteMany
  capacity:
    storage: 1Gi
  phase: Bound

Create a clone of same PVC with size more than 1 Gi , here we have taken 8 Gi

[root@OCP_cluster ~]# oc get  pvc clone-pvc-unruffled-deer-940-1-0 -n ibm-spectrum-scale-csi-test -oyaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    volume.beta.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
    volume.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
  creationTimestamp: "2023-09-09T02:36:20Z"
  finalizers:
  - kubernetes.io/pvc-protection
  name: clone-pvc-unruffled-deer-940-1-0
  namespace: ibm-spectrum-scale-csi-test
  resourceVersion: "86319"
  uid: bf2b6b01-a6e0-478c-8fdd-24871657b1e2
spec:
  accessModes:
  - ReadWriteOnce
  dataSource:
    apiGroup: null
    kind: PersistentVolumeClaim
    name: pvc-unruffled-deer-940
  dataSourceRef:
    apiGroup: null
    kind: PersistentVolumeClaim
    name: pvc-unruffled-deer-940
  resources:
    requests:
      storage: 8Gi
  storageClassName: sc-focused-snake-601
  volumeMode: Filesystem
status:
  phase: Pending

Check the PVC description of the pending PVC:

[root@OCP_cluster ~]# oc describe pvc clone-pvc-unruffled-deer-940-1-0 -n ibm-spectrum-scale-csi-test
Name:          clone-pvc-unruffled-deer-940-1-0
Namespace:     ibm-spectrum-scale-csi-test
StorageClass:  sc-focused-snake-601
Status:        Pending
Volume:
Labels:        <none>
Annotations:   volume.beta.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
               volume.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
DataSource:
  Kind:   PersistentVolumeClaim
  Name:   pvc-unruffled-deer-940
Used By:  <none>
Events:
  Type     Reason                Age                     From                                                                                Message
  ----     ------                ----                    ----                                                                                -------
  Normal   ExternalProvisioning  156m (x165 over 3h16m)  persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  150m (x16 over 153m)    persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  144m (x18 over 149m)    persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  113m (x124 over 143m)   persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  108m (x18 over 112m)    persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  102m (x21 over 107m)    persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  97m (x16 over 101m)     persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  82m (x62 over 97m)      persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  41m (x165 over 81m)     persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  35m (x17 over 39m)      persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  30m (x15 over 33m)      persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   ExternalProvisioning  24m (x17 over 28m)      persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Warning  ProvisioningFailed    15m (x380 over 26h)     spectrumscale.csi.ibm.com_ibm-spectrum-scale-csi-provisioner-7bbb55b5d6-h7f59_2fbc4545-6a59-4d17-90ac-1ba4fecf0c53  failed to provision volume with StorageClass "sc-focused-snake-601": rpc error: code = AlreadyExists desc = fileset pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi present but quota 1073741824 does not match with requested size 8589934592
  Normal   Provisioning          5m3s (x384 over 26h)    spectrumscale.csi.ibm.com_ibm-spectrum-scale-csi-provisioner-7bbb55b5d6-h7f59_2fbc4545-6a59-4d17-90ac-1ba4fecf0c53  External provisioner is provisioning volume for claim "ibm-spectrum-scale-csi-test/clone-pvc-unruffled-deer-940-1-0"
  Normal   ExternalProvisioning  4m3s (x83 over 24m)     persistentvolume-controller                                                                                waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
[root@OCP_cluster ~]#

Scale Logs:

[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmdiag
Current GPFS build: "5.1.9.0 230831.111224".
Built on Aug 31 2023 at 12:31:58
Running 2 days 8 hours 30 minutes 6 secs, pid 14427

Run mmdiag --help for more options
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmlsquota
                         Block Limits                                    |     File Limits
Filesystem type             KB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace  Remarks
fs0        USR       -12300288          0          0          0     none |       38       0        0        0     none
fs0: Quota management has been enabled but quota accounting information is outdated. Run mmcheckquota to correct and update quota information.
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmrepquota fs0
                         Block Limits                                    |                     File Limits
Name       type             KB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace
root       USR       -12349440          0          0      32768     none |       38       0        0        0     none
99         USR               0          0          0          0     none |        1       0        0        0     none
root       GRP       -12349440          0          0      32768     none |       38       0        0        0     none
99         GRP               0          0          0          0     none |        1       0        0        0     none
root       FILESET   -12349440          0          0      32768     none |        4       0        0        0     none
primary-fileset-fs0-12932867513225300709 FILESET           0          0          0          0     none |       19       0        0        0     none
cg-confident-wolf-806 FILESET           0          0          0          0     none |        1       0        0        0     none
pvc-4dd57cdb-d459-4e51-845d-da444fe682fe-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        2       0        0        0     none
pvc-2425147b-f06c-4655-9ab9-5ba2a6d078a7-COMPRESSZcsi-Tsystemcsi FILESET           0   11534336   11534336          0     none |        2       0        0        0     none
pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        1       0        0        0     none
pvc-d50db05c-88c4-42f0-b1c5-2aa2a7cb16d5-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        3       0        0        0     none
pvc-7016289d-8d18-43df-9cfd-d329a12fc96b-COMPRESSZcsi-Tsystemcsi FILESET           0   11534336   11534336          0     none |        3       0        0        0     none
pvc-67a72e74-0d81-43df-8075-8b168ea6ef20-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        1       0        0        0     none
pvc-b413abbd-bb0d-4be7-8a2b-c186b8e0be27 FILESET           0    1048576    1048576          0     none |        3       0        0        0     none
fs0: Quota management has been enabled but quota accounting information is outdated. Run mmcheckquota to correct and update quota information.
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmrepquota fs0 | grep pvc-2425147b-f06c-4655-9ab9-5ba2a6d078a7
pvc-2425147b-f06c-4655-9ab9-5ba2a6d078a7-COMPRESSZcsi-Tsystemcsi FILESET           0   11534336   11534336          0     none |        2       0        0        0     none
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmrepquota fs0 | grep pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi
pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        1       0        0        0     none
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmcheckquota fs0
fs0: Start quota check
   3 % complete on Sun Sep 10 23:07:20 2023
   9 % complete on Sun Sep 10 23:07:21 2023
  29 % complete on Sun Sep 10 23:07:22 2023
  43 % complete on Sun Sep 10 23:07:22 2023
  57 % complete on Sun Sep 10 23:07:22 2023
  71 % complete on Sun Sep 10 23:07:22 2023
Finished scanning the inodes for fs0.
Merging results from scan.
mmcheckquota: Command completed.
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmlsquota fs0
                         Block Limits                                    |     File Limits
Filesystem type             KB      quota      limit   in_doubt    grace |    files   quota    limit in_doubt    grace  Remarks
fs0        USR             256          0          0          0     none |       39       0        0        0     none
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmrepquota fs0 | grep pvc-2425147b-f06c-4655-9ab9-5ba2a6d078a7
pvc-2425147b-f06c-4655-9ab9-5ba2a6d078a7-COMPRESSZcsi-Tsystemcsi FILESET           0   11534336   11534336          0     none |        2       0        0        0     none
[root@remote-CSI ~]# /usr/lpp/mmfs/bin/mmrepquota fs0 | grep pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi
pvc-bf2b6b01-a6e0-478c-8fdd-24871657b1e2-COMPRESSZcsi-Tsystemcsi FILESET           0    1048576    1048576          0     none |        1       0        0        0     none

Observation :

While we have requested for 8Gi quota it is set to 1Gi (here we haven't requested for 1 Gi quota for cloned PVC)

Expected behavior:
CSI should be able to retry to set the quota when the set quota is not same as requested quota and volume is created by the CSI

Had some discussion with Abhishek and need to look into these:

With default log level INFO, the GUI job ID is missing
Fileset is created and there is quota mismatch, but we still say failed to create fileset, some log improvement is needed here:

E0911 09:12:14.971648       1 controllerserver.go:357] [0baced6a-d094-4e9f-9e40-6dfd0cadfcb9] volume:[pvc-52d4104a-e8bf-46a9-94a2-38ded7f39bd1-COMPRESSZcsi-Tsystemcsi] - failed to create dependent fileset [pvc-52d4104a-e8bf-46a9-94a2-38ded7f39bd1-COMPRESSZcsi-Tsystemcsi] in filesystem [fs0]. Error: rpc error: code = AlreadyExists desc = fileset pvc-52d4104a-e8bf-46a9-94a2-38ded7f39bd1-COMPRESSZcsi-Tsystemcsi present but quota 1073741824 does not match with requested size 8589934592

If there is mismatch in quota of a fileset, set quota should be retired
Need to check why there is mismatch in the fileset quota, is it due to GUI setting some default in case of negative quota on the Scale cluster? (Abhishek tried with mmcrfileset and mmsetquota and it could set 10G quota even when mmlsquota show negative value)

A GUI issue is created for this - https://jazz07.rchland.ibm.com:21443/jazz/web/projects/GPFS#action=com.ibm.team.workitem.viewWorkItem&id=319155

CSI part of the fix is merged by PR https://github.com/IBM/ibm-spectrum-scale-csi/pull/1026

Regression is passing on RC1 build , closing this issue as we have raised GUI issue and #1026 is merged

repo: IBM/ibm-spectrum-scale-csi


text:
Don't Merge : Remove deprecated registrykey dependencies

Pull request checklist

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

What is the current behavior?

What is the new behavior?

How risky is this change?

[ ] Small, isolated change
[x] Medium, requires regression testing
[ ] Large, requires functional and regression testing

Issue needs to handle https://github.ibm.com/IBMSpectrumScale/scale-core/issues/8074

PR to handle above issue is https://github.com/IBM/ibm-spectrum-scale-csi/pull/1263

Image: quay.io/badri_pathak/ibm-spectrum-scale-csi-operator:testSAUpgrade213_v1


text:
Fow now ,precheck playbook will throw warning if firewall is runing on node.

"msg": "Firewall running on node. ansible playbook may fail if required firewall ports are not open. Consult the documentation for more information on running Spectrum Scale behind a firewall."

Hi @rajan-mis, I'm working my way through some of the older issues and found this one...
Is this still relevant? If it is, can you please provide more context?
Thanks!

We were thinking to add warning message if firewall is running on the node.

Understood, thanks for the clarification - I will look into this.

authors: acch rajan-mis

repo: IBM/ibm-spectrum-scale-install-infra


text:
CI to verify update-version-to script

Description
This task aims to create a Github workflow that verifies if update-version-to script works as expected. The check should run on every commit on main branch and should ideally update to a new version, check it update was successful, revert back to original version 0.0.0 and see if git diff is empty.
Acceptance Criteria
New workflow to be added and should be run on every commit to main.

This task belong to kie-issues, as this is a Community-only task. Please close this one and open a new one there.

sure, done. Opened https://github.com/kiegroup/kie-issues/issues/381 and closing the current one.

authors: RishiRajAnand tiagobento

repo: IBM/kie-roadmap


text:
[Feature Request] - Multiple UI element types (multi input, radio, dropdown, etc) in a single popup - Like Pashua

Is your feature request related to a problem? Please describe.
Pashua has the ability to mix different elements in a single window (dropdown, radio, input field, etc.) Each distinct element result via input has its 'own' result variable.
It would be super beneficial if we could assign multiple element types, with each to a separate variable rather than rely on 'returned' results of a call (button clicks should still be recorded). I have been putting some results into arrays and parsing those out, but we are limited to how many UI elements are avail in a single popup. Yes? Or am I missing something. I have used the secondary_accessory_view_type and payload, but would like at least 3 or 4 more possibilities and all UI element types avail in a popup window.
Maybe I'm missing something, I just started w/ this tool last night.
Describe the solution you'd like
Capability for multiple and different types UI elements in a single popup (like pashua)

Each element having its own specific variable that we can assign, like elementTitle or similar. Each element would also have it's own definable width/height, etc
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Added my current onboarding screen I built in Pashua. Would love for these types of features in IBM Notifier.

Hi @spikehed thanks for making this feature request and sorry for the delay. The limit of 2 accessory views for popup UI has been made on purpose since the small pop-up alert is not meant to collect too much information from the user.
We're currently working on an improved Onboarding UI that will allow the admin to include an array of accessory views in each page to collect information from the end user (plus some other new features for the Onboarding workflow itself). Do you think this could resolve your FR?

I think that it would. Thanks for responding.
On Tue, Mar 1, 2022 at 18:12 Simone Martorelli @.***>
wrote:

Hi @spikehed https://github.com/spikehed thanks for making this feature
request and sorry for the delay. The limit of 2 accessory views for popup
UI has been made on purpose since the small pop-up alert is not meant to
collect too much information from the user.
We're currently working on an improved Onboarding UI that will allow the
admin to include an array of accessory views in each page to collect
information from the end user (plus some other new features for the
Onboarding workflow itself). Do you think this could resolve your FR?
—
Reply to this email directly, view it on GitHub
https://github.com/IBM/mac-ibm-notifications/issues/71#issuecomment-1055955262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVS4FUMOXN7YHDSRGZWLHLU52P5HANCNFSM5OEQD3JA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Cool I can spoiler you that this feature will be implemented in the v2.6.0 that should be published by the end of this month.

authors: SMartorelli spikehed

repo: IBM/mac-ibm-notifications


text:
Policydoc

Add policy documentation

DONT MERGE, I'll merge commit when reviewed.

repo: IBM/portieris


text:
UB-211: move ci build script to ci folder

This change is

Coverage remained the same at 58.798% when pulling 82aa37c695a9217f4e9836237f4e67ce5bab72db on feature/UB-211_move_ci_build_to_ci_folder into 14c5f6f3666212d1254a4aeb941b9940a1e4e409 on dev.

authors: coveralls tikolsky

repo: IBM/ubiquity


text:
Add a dockerfile to build mobile app

Step 4 of the journey took me several hours to successfully complete the
first time on a fresh Ubuntu install. I made several mistakes during in
the process, including installing the wrong versions of dependencies
(installing an older version of node.js + npm from apt packaging, for
example), incorrectly configuring environment variables (I set both
JAVA_HOME and ANDROID_HOME incorrectly at some point).
This dockerfile provides a complete alternative to step 4, by packaging
the mobile app's development environment in a reproducible manner. The
only requirement is that Docker itself be installed.
All cordova commands (like cordova build android), can be executed via
docker in the container, and the resulting APK will appear on the host
filesystem. For example:
$ docker run -v mobile:/mobile docker build --quiet .

Great! @dolph Please update the README with dockerfile after @rhagarty reviews the changes!

This definitely needs additional documentation prior to merging, and preferably some CI support, but I wanted to get it up for early discussion.

Coincidentally, this also eliminates the need for Android Studio (and therefore a GUI), although developers are still free to use Android Studio outside the docker container if that's their desired IDE.

Added lots of doc revisions in the patch above, but the result will conflict pretty heavily with PR #24, so I tried to keep the editing relatively conservative.

lots of good in this PR @dolph +1

authors: RiyaMRoy04 dolph stevemart

repo: IBM/watson-calorie-counter


text:
Generate docs for ibm_zos_core collection v1.8.0-beta.1

SUMMARY

As part of ibm_zos_core collection v1.8.0-beta.1 release, the docs have been updated, latest is on main branch.
ISSUE TYPE

Update Collection

Completed

authors: ddimatos fernandofloresg


text:
More asterisk support for z/OS ansible modules

Is your feature request related to a problem? Please describe.
I have a playbook using zos_job_query to query jobname "CPY*RS*"
      zos_job_query:
        job_name: "CPY*RS*"

but it failed and  report the following error:
Value of unknown type: <class 'RuntimeError'>, Failed to validate the job name: CPY*RS*\n
      zos_job_query:
        job_name: "CPY*"

Describe the solution you'd like
It looks like only support asterisk * as the suffix of the jobname now.
It would be better to have more than 1 asterisk support and even other wildcard support.

This is going to be tracked in the collections repository here.

Hi,
i have the same problem here.
    - name: Lista todos as tasks do DB2
      zos_job_query:
        job_name: "D*MSTR"
      register: db2_query

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: Value of unknown type: <class 'RuntimeError'>, Failed to validate the job name: D*MSTR

I have test in version 1.3.5 and 1.4.0-beta.1

Thanks for opening an commenting on the issue; this issue is an ibm_zos_core collection issue so it has been opened in that repository. You can track the issue here , otherwise closing now.

authors: cdlwhui ddimatos focabr


text:
Determine ATL03 variables needed for consolidated HDF5 test file

Utilized ATBD and earthdata-varinfo to inform what information is needed for a controlled ATL03 HDF5 test file.

Closing this ticket in favor of task under #27


text:
Jing messages do not display apostrophes and

Report by @JayPanoz
https://twitter.com/JiminyPan/status/834484889915359232
French messages are missing

apostrophes
message details

ERROR(RSC-005): ./src/test/resources/30/single/xhtml/valid/french.xhtml(8,27):
Error while parsing file: lattribut {0} nest pas autorisé ici ; lattribut {0} est attendu

This is a problem with the ProertiesFile Reader from Jing. But we can escape the apostrophes when pulling the language files from Transifex.

Fixed on master for milestone 4.1.0

repo: IDPF/epubcheck


text:
🛑 IDR (image 1636543) is down

In 19ef3a6, IDR (image 1636543) (https://idr.openmicroscopy.org/webclient/?show=image-1636543) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (image 1636543) is back up in 9ecbf8c after 11 minutes.

repo: IDR/upptime


text:
🛑 IDR (image 1636543) is down

In c078275, IDR (image 1636543) (https://idr.openmicroscopy.org/webclient/?show=image-1636543) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (image 1636543) is back up in 3651d56 after 11 minutes.


text:
🛑 IDR (image 3063667) is down

In 6f5e964, IDR (image 3063667) (https://idr.openmicroscopy.org/webclient/?show=image-3063667) was down:

HTTP code: 502
Response time: 82 ms

Resolved: IDR (image 3063667) is back up in 90fc1c6 after 35 minutes.


text:
用户交流群，欢迎入群交流和讨论。

使用 微信/企业微信 扫码加群。
对 @idux 有任何建议或者使用上的疑问，都可以在群里交流和讨论。

新的群聊还会再建立吗

新的群聊还会再建立吗

暂时不会了，有什么问题欢迎提 issue 吧。

authors: danranVm lsymy

repo: IDuxFE/idux


text:
initial commit

yuanchat initial commit

/lgmt

repo: IEIT-Yuan/yuanchat


text:
[Feature] Network module layer 개발했습니다.

🚨 Your checklist for this pull request

[x]  Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!

[x]  Check the commit's or even all commits' message styles matches our requested structure.

📌 [요약]
Closed #74

Podfile 수정 및 업데이트 ( Alamofire 소스코드 업데이트되서 커밋량이 많아보입니다 )

Endpoint 구현

Request부터 response까지 관리하는 Sessionable 프로토콜 추가

SessionProvider 구현

유닛 테스트 및 통합 테스트

Alamofire 기반으로 잘 작동되는지 Session.request를 통해 생성된 DataRequest의 absolutedURL 비교 등

이미지는 base64로 반환 후 서버에 전송하면 됩니다. 이때는

✨ [작업 내용]

기존 Podfile에선 travelPlanTests 타겟이 추가되지 않았습니다. 그래서 travelPlan 에 추가된 thrid party 타겟 의존성들을 자동으로 추가하도록 설정했습니다.

Combine과 Alamofire를 사용해 네트워크 객체를 구현했습니다.

사용 방법입니다.
[Task 1] Endpoint를 생성할 때 원하는 RequestDTO(optional)를 기반으로 객체를 생성합니다.
[Task 2] request에 의해 실제 서버 통신에서 받을 ResponseDTO를 작성합니다. 그 후 Endpoint와 ResponseDTO를 바탕으로 서버 요청 -> 통신하는 함수를 만듭니다.
[Task 3] Sessionable을 준수하는 SessionProvider를 통해 네트워크 통신을 수행합니다.

[Task 1 and 2]

이때 주의사항으로 함수의 반환타입인 Endpoint의 제너릭 타입을 실제 함수 내부에서 Endpoint 객체를 선언 후 인스턴스 생성할 때도 responseDTO 타입을 제너릭안에 명시해줘야 타입추론이 유용합니다.

[Task 3]

endpoint 를 매개변수로 받아 실제 ResponseDTO를 반환하는 Sessionable을 준수한 SessionProvider를 이용해 네트워크 작업을 수행합니다.

[SessionProvider 사용 예시]

SessionProviderTests 테스트 소스파일에서
testUploadUserName_SessionProvider로요청후응답에서StatusCode300일때_ShouldReturnEqual() 함수를 살펴보면 됩니다. 결과적으로 sut.request(endopint: 원하는Endpoint).sink { responseDTO in ... } 이렇게 원하는 값을 받을 수 있습니다. 또는 AFError를 반환합니다.
📸  [로직 간단 설명]

Requestable
서버 요청에 필요한 endpoint url 데이터와 reqeust함수를 갖고있습니다.
Responsable
서버 요청 후 받을 responseDTO를 타입으로 갖고 있습니다.
NetworkInteraction
서버 요청 ~ 후 까지에 필요한 관련 프로토콜을 조합한 프로토콜입니다.
RequestType
서버 요청할 때 BaseURL + .../특정path 를 쉽게 추가할 수 있습니다.
Sessionable
세션 기반으로 네트워크 작업 할 때의 함수를 정의합니다.

protocol Sessionable {
  func request<R, E>(endpoint: E) -> Future<R, AFError>
  where R: Decodable,
        E: NetworkInteractionable,
        R == E.ResponseDTO
}

여기서 두 제너릭 파라미터 중 R은 서버요청 후 받을 ResponseDTO타입을 의미하고, E는 이전에 Reqeustable, Responsable을 조합한 프로토콜을 의미합니다. 이를 기반으로 Sessionable을 준수한 SessionProvider에서 request함수는 endpoint를 매개변수로 받아 세션을 기반으로 서버에 request한 후 response값을 반환합니다.
📚 [레퍼런스 (또는 새로 알게 된 내용) 혹은 궁금한 사항]
Network

https://ios-development.tistory.com/719
https://github.com/Alamofire/Alamofire/tree/master/Source
https://github.com/Moya/Moya/tree/master/Sources

Unit test

(대박) https://developer.apple.com/videos/play/wwdc2018/417/
https://www.avanderlee.com/swift/mocking-alamofire-urlsession-requests/
https://leeari95.tistory.com/71
https://medium.com/@dhawaldawar/how-to-mock-urlsession-using-urlprotocol-8b74f389a67a

확인했습니다 !

authors: SHcommit letusHyun

repo: IF-TG/iOS


text:
Dependency problem while installing 1.0.214

Hi, while installing web-ifc-viewer by npm there are problems with dependencies (web-ifc-viewer/web-ifc-three) "three-mesh-bvh": "^0.5.11"/"0.5.21", "three": "^0.135.0"/"^0.149.0"

hello. did you find a solution? I am facing the same issue

I had this issue too. I thin'k it's in progress there is another post talking about the problem #188

The dependency issue is caused by the change in viewer/package.json:
- "web-ifc": "^0.0.35",
- "web-ifc-three": "^0.0.118"
+ "web-ifc": "^0.0.39",
+ "web-ifc-three": "^0.0.124"
Web-ifc-three expects 'three' version ^0.149.0, whereas web-ifc-viewer is still on version ^0.135.0. Same goes for three-mesh-bvh. This was the 'breaking' change from web-ifc-viewer 1.0.213 to 1.0.214.
I'm not sure, but if web-ifc-three is working fine on 0.149.0, isn't it as simple as bumping the version in web-ifc-viewer to 0.149.0 too @agviegas?

@Nomeon unfortunately, that's not the case. Updating web-ifc-viewer is complex, and because it will be substituted by components very soon, we are considering if spending the time updating web-ifc-viewer three.js dependency is worth. 🤔

@agviegas Understandable, especially if you will change the architecture to a component-based one, I wouldn't spend the time on it either.

Yep! Very soon this summer we'll publish a brand new documentation with many, many tutorials, the whole new API, etc. So hopefully everything will be much easier to follow and use 🙂

authors: Nomeon RASRC agviegas bricekouetcheu robertbiskup

repo: IFCjs/web-ifc-viewer


text:
Video filter support

Hi, i have been trying to add custom Instagram-like filters using the new GPUImage library for swift, but in vain.
Found your library and now planning to replace it with my defunct existing GPUImage library implementation. Was just curious if IGRFilterCombine provides video filtering too.
An early response would be greatly appreciated as I am stuck with this for a while now. Thanks

Hi, @metpb
Sorry, I haven't time for that feature.

authors: iKorich metpb

repo: IGRSoft/IGRFilterCombine