text:
brew cleanup broke unrelated ffmpeg

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  openssl@1.1

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.2.3-78-g302e83e
ORIGIN: https://github.com/Homebrew/brew
HEAD: 302e83e9aaa0a3a4c0644f43a0302a582128ed1f
Last commit: 41 minutes ago
Core tap HEAD: 26136ea4927b99f7622c472c4a39fedcc834f256
Core tap last commit: 18 minutes ago
Core tap JSON: 12 Jan 19:52 UTC
Core cask tap HEAD: 31047bd2c3ec667a7995954c2c324071c4112473
Core cask tap last commit: 41 minutes ago
Core cask tap JSON: 12 Jan 19:52 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BAT_THEME: ansi
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /opt/homebrew/bin/nvim
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.43.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.2
Rosetta 2: false

What were you trying to do (and why)?
I installed an unrelated package (felinks) and homebrew broke ffmpeg again; the last time this happened was https://github.com/Homebrew/homebrew-core/issues/153177 which was fixed in #16152
homebrew ran brew cleanup felinks after installing felinks, and broke my ffmpeg install. It did print out, amid a giant sea of text, a warning:
==> Running `brew cleanup felinks`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Warning: The following dependents of upgraded formulae are outdated but will not
be upgraded because they are not bottled:
  ffmpeg
  visidata
  pixlet

I'm filing this issue because as a user it is very confusing and frustrating that running brew install felinks would break the installed ffmpeg package.
What happened (include all command output)?
log: https://gist.github.com/llimllib/67cc3f6a773a89f373fb9c89a862107a
After that install, running ffmpeg gives:
$ ffmpeg --help
dyld[73202]: Library not loaded: /opt/homebrew/opt/libvmaf/lib/libvmaf.1.dylib
  Referenced from: <99C9A833-0757-369A-BD38-C9ED73839C70> /opt/homebrew/Cellar/ffmpeg/6.0-with-options_1/bin/ffmpeg
  Reason: tried: '/opt/homebrew/opt/libvmaf/lib/libvmaf.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libvmaf/lib/libvmaf.1.dylib' (no such file), '/opt/homebrew/opt/libvmaf/lib/libvmaf.1.dylib' (no such file), '/usr/local/lib/libvmaf.1.dylib' (no such file), '/usr/lib/libvmaf.1.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/libvmaf/3.0.0/lib/libvmaf.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libvmaf/3.0.0/lib/libvmaf.1.dylib' (no such file), '/opt/homebrew/Cellar/libvmaf/3.0.0/lib/libvmaf.1.dylib' (no such file), '/usr/local/lib/libvmaf.1.dylib' (no such file), '/usr/lib/libvmaf.1.dylib' (no such file, not in dyld cache)
zsh: abort      ffmpeg --help

What did you expect to happen?
I expected to be able to install felinks without breaking ffmpeg
Step-by-step reproduction instructions (by running brew commands)
1. `brew install felinks` with a non-bottled ffmpeg
2. `ffmpeg --help`

libvmaf recently shipped a ABI-breaking update: https://github.com/Homebrew/homebrew-core/pull/158706 so you will need to rebuild/upgrade your ffmpeg.

it wasn't customized, I wish had grabbed the brew info for it before I tried reinstalling (which fixed it, fwiw)

Referenced from: <99C9A833-0757-369A-BD38-C9ED73839C70> /opt/homebrew/Cellar/ffmpeg/6.0-with-options_1/bin/ffmpeg

We don't ship 6.0-with-options_1. I'm guesing this is the homebrew-ffmpeg tap.

fair enough, I do have that tapped: now I have a vague memory that I needed to support a media type homebrew didn't in its bottle.
The feedback I'll leave and then let it lie: As a user, I feel upset that brew install felinks broke an unrelated tap and I had to do a deep dive to figure out why, and only happened to figure it out while I had the output handy; if I'd not seen that message and a few days later ffmpeg was broken and there was no information about why, that's a really unpleasant user experience

The message Warning: The following dependents of upgraded formulae are outdated but will not be upgraded because they are not bottled is indeed an indication of what needed to be done.
The reason we don't upgrade ffmpeg automatically is that it's not bottled by that tap and thus builds from source and could take a very long time. If it was bottled it would have been automatically handled for you.
If it didn't appear at the very end of the output, it probably should be fixed so that it does.

repo: Homebrew/brew


text:
Tracking Issue: Integrating brew cask search into brew search

Checkpoints:

[ ] Refactor brew search. (https://github.com/Homebrew/brew/pull/4253)
[ ] Refactor brew cask search.
[ ] Discuss behaviour.
[ ] Integrate brew cask search into brew search.
[ ] Redirect brew cask search and add deprecation warning.

Regarding the behaviour:
Without any options, I think the best way would be to output this:
==> Formulae:
foo bar
==> Casks:
baz

When the output is not a TTY, don't print the headlines and use the long versions for Casks. Alternatively, don't treat TTY differently, since we currently also don't really support piping output to another command:
==> Searching local taps...
==> Searching taps on GitHub...

If we choose to not support piping output, I don't see a need for a --cask/--formula flag to only search for one specific thing.

Alternatively, don't treat TTY differently, since we currently also don't really support piping output to another command

👍 to this when passing a parameter from me; we've not had any asks for this.
brew search without argument should output just formulae, though. It may be annoying or inconsistent but there are many, many uses in the wild with this assumption that we don't want to break.

I strongly agree regarding what brew search's behavior needs to be.
It also probably will not be that difficult for users to accommodate, 🤞.

Another thing to discuss:
brew cask search creates a simplified search term, i.e. trimming all non-word and non-digit characters from both the query and the Cask tokens.
brew search does not do that.
So, for example, brew cask search eid matches

cocos-code-ide (cocoscodeide)
eclipse-ide (eclipseide)
kaleidoscope (kaleidoscope)
liteide (liteide)

I think we should do the same for brew search.

Can you point to any e.g. search engines that have similar behaviour?

I'm no search engine expert, but I also can't point to a search engine not doing it.
Anyways, I have no strong opinion on this, but here is a more useful example:
Before:
$ brew search qt5
pyqt5 qt5

After:
$ brew search qt5
pyqt5 qt5 qt@5.11 qt@5.5

I think brew search already provides similar functionality in its ability to handle regex.

I'm no search engine expert, but I also can't point to a search engine not doing something like that.

Can you provide some e.g. search engine links to demonstrate this?

https://www.google.com/search?q=rubo-cop
https://github.com/search?q=rubo-cop
https://duckduckgo.com/?q=rubo-cop
All find rubocop without a -.

https://www.google.com/search?q=rubo-cop
https://github.com/search?q=rubo-cop
https://duckduckgo.com/?q=rubo-cop
All find rubocop without a -.

Cool thanks 👍

I'll let you both make a final decision here so we can proceed.

I'm 👍 on the trimming of non-word/digit characters.

I'm 👍 on the trimming of non-word/digit characters.

👍

I see that now there is duplicates in search results:
brew cask search virtualbox
==> Matches
virtualbox                                           virtualbox-beta                                      virtualbox-extension-pack                            virtualbox-extension-pack-beta
==> Remote Matches
homebrew/cask-versions/virtualbox-beta                                                                    homebrew/cask/virtualbox
homebrew/cask-versions/virtualbox-extension-pack-beta                                                     homebrew/cask/virtualbox-extension-pack

@yurikoles brew cask search is still in the process of being merged into brew search, so that should just be a temporary issue during the transition. (🤞)

Done.

This broke one of my scripts for interfacing with brew-cask. I need the functionality for brew cask search without arguments where all Casks are listed. Now it shows all brew formulae and no Casks. Is there an alternative method that I can use to list all Casks (or analogously, all formulae from a specific tap)?

This broke one of my scripts for interfacing with brew-cask. I need the functionality for brew cask search without arguments where all Casks are listed.

Same here: https://github.com/laughedelic/brew-completions/issues/4. I think it still needs a --cask flag to list only casks.

source: gharchive/issue

authors: JCount MikeMcQuaid laughedelic reitermarkus wickles yurikoles

license_type: permissive

license_source: github-api


text:
brew bundle check for any version

Is it possible to configure a Brewfile so that bundle check is satisfied when any version of a  dependency is installed?
i.e. say you have postgresql@11 installed locally and brew "postgresql" in a Brewfile.

Unfortunately, no. Versioned formulae are technically different formulae.

authors: anhari colindean

repo: Homebrew/homebrew-bundle

license: MIT


text:
Make Requests - Outdated Wiki Example

requests = [
  ["GET", "https://nghttp2.org/httpbin/get"],
  ["POST", "https://nghttp2.org/httpbin/post", { body: "bla" }]
]

responses = HTTPX.request(*requests)
HTTPX::Error: invalid URI: POST
from /Users/bandit/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/bundler/gems/httpx-4809e1d0d05f/lib/httpx/request.rb:57:in `initialize'

https://honeyryderchuck.gitlab.io/httpx/wiki/Make-Requests

thx for the report. that's actually a bug, that example should be supported. I noticed it last week as well, planning to fix it before next minor release.

In the end it wasn't a bug, but a doc error, like you hinted. the * is not required:
requests = [
  ["GET", "https://nghttp2.org/httpbin/get"],
  ["POST", "https://nghttp2.org/httpbin/post", { body: "bla" }]
]

responses = HTTPX.request(requests)

Updated the docs already.

authors: Aubermean HoneyryderChuck

repo: HoneyryderChuck/httpx


text:
Swift playground

Around 6 months ago, I asked if this would be available on iPad via swift playgrounds, and was responded with @Hongtae saying that there is no plans currently, but you may add it in the future. As I stated at the beginning, it has been 6 months. I wanted to get an update on where the swift playground version currently is at. Not planned, planned, started, forgot, etc. I hope/expect your quick reply!

Since the project is still in its early stages and has a lot of unimplemented parts, my schedule didn't allow me to test it properly on Swift Playground yet. I tried running the app once, but couldn't even find a way to import the github project (I had heard it was possible, but it didn't seem easy).
The project supports Mac, iOS and Mac Catalyst, so I don't think there will be any serious hardware issues, but I'm not sure about that either, as I'm not sure if Apple has allowed iPad-Playground to use 100% of the hardware's capabilities (especially Metal).
To answer your question, I have no plans for iPad-Playground at the moment, my priority is to create an engine that works on PC, Mac, iOS and Android versions. And by iOS version I mean standalone apps (game editor, tutorial app), not a bundle that works inside Swift Playground. However, if this project becomes popular enough, I do expect a version that works on iPad Playground.
Most game development is done on Mac and PC, so it's important to me to support those platforms first, and I hope you understand.
I apologize if this wasn't the answer you were looking for, and thank you for your interest in this project. If you have any other questions, please feel free to ask me.

WAIT! I tried to insert this as a package, and all I needed was a release to open. Could you make a release, and let me try it?

Pictures of the project in playgrounds

FYI you need to put it into a swift package, instructions:
top left has a '+ file' button, click that and use the last option to open a package, and put in the BASE link of the git for it to work. It has to support swift 5.0 or later, but other than that it works!

authors: Hongtae Pikachupikachup

repo: Hongtae/SwiftVVD


text:
Much lower mAP with same settings

Hi, I trained the model with total batch size 48 and lr 6e-4 for 100 epochs, however I obtained a final mAP of only 44.1 which is much lower than the reported mAP. I've attached my log, let me know if you have any suggestions on why this could be.
I've also seen the issue about Metric Fluctuations however the reported average there was 46.32 mAP which is still much higher than what I got.
s4d.log

Please follow the steps in quick_start.md thoroughly, paying particular attention to compiling the 'deformable_aggregation' cuda operation. Your current GPU memory and training time are abnormal.

I did follow the steps, I have compiled the cuda ops, the memory and training time difference is likely because I'm not training on RTX3090s but on 4 A100s

It's difficult to explain this reason. It might be due to batch normalization. You could try again with 8 GPUs or adjust the learning rate.

Pull the latest code and try again. @NaomiEX

Alright, let me try again

Apologies, I haven't been able to retrain it again, will report back once I train it with the new code when I get the time.

NDS is a more stable metric, prioritize NDS. Fluctuations don't appear significant from NDS.
These fluctuations could possibly be caused by resuming; completing a full training cycle might normalize the metrics.
@zhaoyangwei123

Hello, I also met the similar problem. I evaluated your published weight file "sparse4dv3_r50.pth" on 2TiTAN RTX and  1TiTAN RTX separately. And I obtained results as follows, which is much lower than reported metrics. I think that the evaluation result may be relative to the number of gpus? Thank you for your reply in advance!
_2 TiTAN_*
mAP: 0.4652
mATE: 0.5401
mASE: 0.2618
mAOE: 0.4599
mAVE: 0.2199
mAAE: 0.2060
NDS: 0.5638
Eval time: 140.3s
Per-class results:
Object Class    AP      ATE     ASE     AOE     AVE     AAE
car     0.668   0.357   0.142   0.054   0.185   0.194
truck   0.395   0.527   0.187   0.052   0.163   0.211
bus     0.452   0.680   0.196   0.070   0.382   0.243
trailer 0.183   0.968   0.246   0.624   0.178   0.206
construction_vehicle    0.124   0.884   0.493   1.203   0.132   0.402
pedestrian      0.560   0.516   0.287   0.508   0.282   0.150
motorcycle      0.499   0.458   0.237   0.547   0.292   0.235
bicycle 0.425   0.439   0.256   0.960   0.144   0.006
traffic_cone    0.697   0.276   0.299   nan     nan     nan
barrier 0.650   0.294   0.276   0.123   nan     nan
1*TiTAN
mAP: 0.4649
mATE: 0.5416
mASE: 0.2623
mAOE: 0.4608
mAVE: 0.2198
mAAE: 0.2047
NDS: 0.5635
Eval time: 141.3s
Per-class results:
Object Class    AP      ATE     ASE     AOE     AVE     AAE
car     0.668   0.357   0.142   0.053   0.185   0.195
truck   0.394   0.527   0.187   0.051   0.163   0.211
bus     0.452   0.680   0.195   0.071   0.383   0.243
trailer 0.184   0.980   0.246   0.628   0.177   0.208
construction_vehicle    0.122   0.886   0.497   1.217   0.136   0.395
pedestrian      0.561   0.515   0.288   0.508   0.280   0.150
motorcycle      0.495   0.464   0.236   0.544   0.293   0.231
bicycle 0.428   0.438   0.257   0.953   0.141   0.004
traffic_cone    0.695   0.277   0.300   nan     nan     nan
barrier 0.650   0.292   0.275   0.121   nan     nan

authors: NaomiEX linxuewu tiger-sheep


text:
Checkbox should have ability to set default value

🐛 Bug Report
Checkbox should be able to be manually set to checked/unchecked with a default value so that the UI can properly convey information to a user.
Expected behavior
Have a checked prop which controls whether or not the checkbox is checked.
Related Issues
hospitalrun/hospitalrun#218

can you assign me to this issue?

Done

authors: jackcmeyer oizuldan tehKapa

repo: HospitalRun/components


text:
feature request : import function in Inventory (with .csv file fore exemple)

I just descover and I find it great
But from my side, it could be used only if there have an import function. Because it's not posible to import by hand thousent of item in order to star using it
Thanks for all

@DoumeDuSud I have good news for you!  There is an import tool for inventory in the server project that you can use!  The tool is located here: https://github.com/HospitalRun/hospitalrun-server/blob/master/utils/inv-import.js.  In order to use the tool, clone the hospitalrun server repo from here: https://github.com/HospitalRun/hospitalrun-server .  You will need to configure the config.js file (it can be the same as the one from the frontend).  Once you have it configured, you can run the import in the utils directory by running the following:
node inv-import.js file.csv YYYY-MM-DD, eg node inv-import.js file.csv 2015-12-31
The date specified will be used as the date that the purchases were received.
The csv fields that are supported are as follows:

aisleLocation (optional) - if item is in a particular aisle in a location, specify that name here.
distributionUnit (optional) - the unit type used when this item is distributed in the hospital.  You can see the valid values in the app at Admin/Lookup Lists/Unit Types.  If there is a distribution unit you use that is not in the list, you can add it on this screen.
expirationDate (optional) - format is MM/DD/YYYY
giftInKind (optional) - value should be Yes if item is gift in kind
location(optional) - Location of item
lotNumber (optional) - Lot number of item
name (required) - Display name of item
purchaseCost (required) - Total purchase cost for the items.  This would be the cost per unit x the quantity.  The purchase cost is used with the quantity to determine the cost per unit.
quantity (required) - Number of items.
type - use Medication for medicine; other types can be specified, but they should be added in the interface through Admin/Lookup Lists/Inventory Types
vendor (optional) - Name of vendor who supplied item
vendorItemNo (optional) - Vendor item number

The first row of the csv file needs to have the columnName as specified above so that the import tool knows which value is in which column.

nice, I will have a look
Good continuation

authors: DoumeDuSud jkleinsc

repo: HospitalRun/hospitalrun-frontend

license: mit

license_source: bigquery


text:
Add translations for ember-validations

Required strings for ember-validations to be translated as well 👍
cc @HospitalRun/core-maintainers

Looks good as well.  Going to merge.

source: gharchive/pull-request

authors: billybonks jkleinsc


text:
Fixes #10: Setting up Tailwind CSS

[x] Setting up Tailwind CSS
[x] Change the UI according to the Tailwind CSS : Assigned to @AlphaGaurav7

@HridoyHazard Please put hacktoberfest2022 / hacktoberfest-accepted labels in this PR.

@HridoyHazard  Kindly Change the label to Hacktoberfest-accepted, Currently it is hactoberfest-accepted

repo: HridoyHazard/BetterColor


text:
Incompatibility with bootstrap-table (Cannot modify readonly property: constructor)

I have a page that is using bootstrap-table   and I am trying to test it with HtmlUnit (SpringBoot with Thymeleaf)
This is what I get when I try to run
HtmlPage htmlPage = webClient.getPage("requestTopage");
2022-04-08 14:37:00.581  WARN 97895 --- [           main] c.g.htmlunit.DefaultCssErrorHandler      : CSS error: 'https://cdn.datatables.net/1.11.4/css/jquery.dataTables.min.css' [1:2912] Error in declaration. '*' is not allowed as first char of a property.
2022-04-08 14:37:00.588  WARN 97895 --- [           main] c.g.htmlunit.DefaultCssErrorHandler      : CSS error: 'https://cdn.datatables.net/1.11.4/css/jquery.dataTables.min.css' [1:9325] Error in declaration. '*' is not allowed as first char of a property.
2022-04-08 14:37:00.594  WARN 97895 --- [           main] c.g.htmlunit.DefaultCssErrorHandler      : CSS error: 'https://cdn.datatables.net/1.11.4/css/jquery.dataTables.min.css' [1:13045] Error in declaration. '*' is not allowed as first char of a property.
2022-04-08 14:37:01.576 ERROR 97895 --- [           main] c.g.h.j.DefaultJavaScriptErrorListener   : Error during JavaScript execution

com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot modify readonly property: constructor. (https://cdn.jsdelivr.net/npm/tableexport.jquery.plugin@1.10.21/libs/jsPDF/jspdf.min.js#37)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:949) ~[htmlunit-2.45.0.jar:2.45.0]
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:619) ~[htmlunit-core-js-2.45.0.jar:na]
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:537) ~[htmlunit-core-js-2.45.0.jar:na]

It seems to be similar to earlier problems, but I am not overly sure either (e.g. https://sourceforge.net/p/htmlunit/bugs/1974/)

Issue was fixed with 2.68.0. Thanks for reporting.
Please open a new one if your face problems with the latest version.

authors: deligkarisk rbri

repo: HtmlUnit/htmlunit


text:
Implement Blob.arrayBuffer()

This PR

Adds the missing implemetation of Blob.arrayBuffer()
Adds a stub implementation of Blob.stream() that just throws UnsupportedOperationException

❤

authors: duonglaiquang rbri


text:
使用4块3090全量微调7B-llama时发现启动训练阶段非常缓慢

特别是初始化这个wandb的阶段，卡了10几分钟，请问你有遇到多卡训练启动慢的问题吗，有什么可能的改善方案吗@Huanglk

已解决，wandb要求输入choice

repo: HuangLK/llama-deepspeed


text:
new verison FIRA7

reviese the forceback function

final verison

repo: HuangRay/TKURoboSot


text:
HHHorizontalPagingView中的tableview加了一个headerView高度问题

您好，我在tableview里加了一个tableheaderview，但是这个tableheaderview的高度是有问题的，我设置的是50，但是最后显示的整个屏幕的高，这是为什么呢？

解决啦

:)

repo: Huanhoo/HHHorizontalPagingView


text:
Set new tolerance level on the fly?

If it's not available now, it would be nice to be able to set a new tolerance level at different times in the test, pics do not require as strict a tolerance level, as say comparing fonts in a paragraph.

No, that's not possible right now. But I'd accept a PR to add the feature.

authors: jamescryer vpatton

repo: Huddle/PhantomCSS


text:
Manifest download does not support downloading files not associated with a bundle

Per the documentation for download_manifest:

Each row in the manifest represents one file in DSS. The manifest must have a header row. The header row
must declare the following columns:

bundle_uuid - the UUID of the bundle containing the file in DSS.
bundle_version - the version of the bundle containing the file in DSS.

As such, files cannot be specified in a manifest independent of a bundle.

Just to clarify, requiring a header isn't the same as requiring values in those columns. Are yousaying that a file cannot be found if the bundle specifics are not specified?

Not that it can't be found, but that (at least by my read) the manifest downloading code always assumes that a bundle is being downloaded, which means that the download operation would fail were bundle_uuid and bundle_version omitted from a manifest row.

authors: kozbo natanlao

repo: HumanCellAtlas/dcp-cli


text:
Should we add Revise.jl

Should we add Revise.jl to have update in the boat without restarting it, at least during the dev phase?
It might still be buggy though, but if use in sync with tmux, it should be okay. What do you all think?

Actually, I couldn't get it to work even when I run it locally. It seems that Revise requires some kind of trigger. Normally I would go to the REPL and make a call to the function that I just changed but this is a running process so it's different. It would be nice if you can get it work first.

The manual trigger we need to put into a callback is Revise.revise(). As a last resort, we could just add !revise as a bot command. That most probably would be both, a lot easier than putting it into some Discord.jl-internal routines and at the same time less of a performance hit because we don't run it all times but only on request. We might even restrict its usage to mods. The only other point we need to take into account is that we might have to switch some ordinary function calls with invokelatest calls. Like there: https://github.com/timholy/Revise.jl/issues/194

Due to the way how the handlers are called in Discord.jl (via call operator on array/dict elements) we don't even need invokelatest. Just a Revise.revise() AFAIU

so it might be as easy as
function commander(c::Client, m::Message, ::Val{:revise})
    Revise.revise()
end


text:
new ban validator functionality

create a new contract and implement a ban function for the validators that will be banned;
create a new internal function _withdraw to handle the withdraw process and re-use;
write the tests for the new inspector contract;
fix some other tests;

@R-Santev some test files are modified because of tabulation and fixed small issues that caused tests to fail. Additionally, I have removed the whitelisting from the registerValidator, because it is a different purpose.

repo: Hydra-Chain/hydragon-core-contracts


text:
Complete python api rewriting

Currently, we can't obtain arguments information from python jobs.
There is initial implementation which possibly can fix that problem(branch)
Also, we need to implement mist-logger for them.
Example:
from mist.decorators import *

@with_args(
    arg('numbers', type_hint=list),
    arg('multiplier', type_hint=int, default=2)
)
@on_spark_context
def simple_context(sc, numbers, multiplier):
    rdd = sc.parallelize(numbers)
    result = rdd.map(lambda s: multiplier * s).collect()
    return {"result": result}

Would like to see a feature to specify the python interpreter as part of the context definition (e.g. PYSPARK_PYTHON, PYSPARK_DRIVER_PYTHON).

repo: Hydrospheredata/mist


text:
Do you guys have a slack channel for quesions etc

brownie Version: x.x.x
py-solc-x Verision: x.x.x
solc Version: x.x.x
Python Version: x.x.x
OS: osx/linux/win

What was wrong?
Please include information like:

full output of the error you received
what command you ran
the code that caused the failure

Sorry, not at present.  This will likely change once Brownie moves out of beta.
You can find me on Telegram with the same handle I use here on Github if you'd like.

authors: deepanshutyagi iamdefinitelyahuman

repo: HyperLink-Technology/brownie


text:
Add Holesky Ethereum Validator Node Deployment and Management via Hyperbolic Platform

Fixes https://github.com/HyperbolicLabs/Hyperbolic-AgentKit/issues/2
Ethereum Validator Node Deployment PR
This PR adds functionality enabling the AI agent to autonomously deploy, manage, and monitor an Ethereum validator node on the Holesky testnet using the Hyperbolic compute platform. The PR integrates directly with the existing Hyperbolic actions toolkit and extends it with a new deploy_validator_node action.
Key Features Added
1. Validator Deployment (Holesky)

Installs and configures an execution client (e.g. Geth) and a consensus client (e.g. Prysm)
Generates validator keys (pcan integrate with eth2.0-deposit-cli)
Starts a validator node configured for Holesky

2. Staking

Provides a method to stake 32 ETH on Holesky by interacting with the deposit contract
Currently a placeholder that can be integrated with the CDP Agentkit for actual transactions

3. Monitoring & Management

Status check (status action) by inspecting running processes
Monitoring (monitor action) attempts to query a metrics endpoint
Upgrading clients (upgrade action) to keep software up-to-date
Stopping the validator node gracefully (stop action)

4. Integration into Hyperbolic Toolkit

The new deploy_validator_node action is automatically discovered and exposed as a tool to the AI agent
The agent can now execute commands like deploy, stake, status, monitor, upgrade, and stop via this tool

How to Verify
Prerequisites

Have a Hyperbolic API key set in .env and ensure you can rent a compute instance
Have CDP environment set for future ETH operations
Have OpenAI keys and other environment variables configured as before

Verification Steps

SSH into a Hyperbolic Instance

Use the rent_compute action to rent an instance
Use ssh_connect to connect to the instance

Deploy the Validator Node
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "deploy"
  }
}

The tool should:

Install Geth (execution client)
Install Prysm (consensus client)
Generate placeholder keys
Start the beacon and validator clients

On success, it prints output logs.

Check Status
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "status"
  }
}

It should show Prysm processes running if successful.

Monitor
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "monitor"
  }
}

It will return metrics if available, or report if not reachable.

Upgrade Clients
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "upgrade"
  }
}

Check that packages are upgraded successfully.

Stop Validator
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "stop"
  }
}

Verify no Prysm processes run after this.

Staking
{
  "name": "deploy_validator_node",
  "arguments": {
    "action": "stake",
    "eth_deposit_contract_address": "0xYourHoleskyDepositContractAddress"
  }
}

@zjasper666 How do I collect the bounty?

We merged yours with the dev branch. Could you update it? And would be
great if you can finish this

Currently a placeholder that can be integrated with the CDP Agentkit
for actual transactions

We’re doing some checking right now and once you finish the update and get
verified on our end, we will be able to send you the bounty!
Could you share your ETH address here?
We’re looking for extra help. Are you interested? If so, could you share
your resume?
Best,
Jasper
On Mon, Dec 16, 2024 at 8:44 PM Sagar Patil @.***>
wrote:

@.**** commented on this pull request.
In hyperbolic_agentkit_core/actions/deploy_validator_node.py
https://github.com/HyperbolicLabs/Hyperbolic-AgentKit/pull/4#discussion_r1887888218
:

@@ -0,0 +1,189 @@
+import json
+import os
+import time
+from collections.abc import Callable
+from typing import Optional

+import requests
+from pydantic import BaseModel, Field
+
+from hyperbolic_agentkit_core.actions.hyperbolic_action import HyperbolicAction
+from hyperbolic_agentkit_core.actions.ssh_manager import ssh_manager
+from hyperbolic_agentkit_core.actions.utils import get_api_key
+
+DEPLOY_VALIDATOR_PROMPT = """
Do you want me to change it or you will do it on your end?
—
Reply to this email directly, view it on GitHub
https://github.com/HyperbolicLabs/Hyperbolic-AgentKit/pull/4#discussion_r1887888218,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKKLVWG74Z7RJ4YYAH26AYL2F6T4LAVCNFSM6AAAAABTVOHVVCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMBXHAZTOMBYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

We merged yours with the dev branch. Could you update it? And would be great if you can finish this - Currently a placeholder that can be integrated with the CDP Agentkit for actual transactions We’re doing some checking right now and once you finish the update and get verified on our end, we will be able to send you the bounty! Could you share your ETH address here? We’re looking for extra help. Are you interested? If so, could you share your resume? Best, Jasper
…
On Mon, Dec 16, 2024 at 8:44 PM Sagar Patil @.> wrote: @.* commented on this pull request. ------------------------------ In hyperbolic_agentkit_core/actions/deploy_validator_node.py <#4 (comment)> : > @@ -0,0 +1,189 @@ +import json +import os +import time +from collections.abc import Callable +from typing import Optional + +import requests +from pydantic import BaseModel, Field + +from hyperbolic_agentkit_core.actions.hyperbolic_action import HyperbolicAction +from hyperbolic_agentkit_core.actions.ssh_manager import ssh_manager +from hyperbolic_agentkit_core.actions.utils import get_api_key + +DEPLOY_VALIDATOR_PROMPT = """ Do you want me to change it or you will do it on your end? — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKLVWG74Z7RJ4YYAH26AYL2F6T4LAVCNFSM6AAAAABTVOHVVCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMBXHAZTOMBYHA . You are receiving this because you were mentioned.Message ID: @.***>

Hey. I’m working on the changes, you should have everything in the next 5/6 hours.
Can we connect further on email please? Here’s my email: sagar@hey.com
I’ll be waiting to hear from you.

@zjasper666 @Kaihuang724 I have couple of questions regarding the requirements. Can you please reach out to me through email or twitter?

@zjasper666

repo: HyperbolicLabs/Hyperbolic-AgentKit


text:
Feature: Datastore integration with Collector API

An external Collector API tool (https://github.com/Karm/collector) allows performance metrics to be pushed and queried as JSON documents via a REST API
In order to integrate existing datasets into Horreum for analysis, a new Collector API datastore needs to be created that allows Horreum Users to query and existing instance.
The Collector API datastore should be defined as a new Datastore Type (https://github.com/Hyperfoil/Horreum/blob/master/horreum-backend/src/main/java/io/hyperfoil/tools/horreum/datastore/Datastore.java), similar to how the Elasticsearch datastore is integrated (https://github.com/Hyperfoil/Horreum/blob/master/horreum-backend/src/main/java/io/hyperfoil/tools/horreum/datastore/ElasticsearchDatastore.java)
Documentation on how the Elasticsearch document store is used can be found here: https://horreum.hyperfoil.io/docs/tutorials/query-elasticserach/

Thx.

Hello @johnaohara , I have drafted a rough CollectorAPI datastore that gets a json array (as an ArrayNode) from the Collector API and creates a new DatastoreResponse but I am getting:
2024-04-17 17:23:24,926 ERROR [io.hyp.too.hor.svc.RunServiceImpl] (executor-thread-4) Failed to persist run.: jakarta.persistence.TransactionRequiredException: Transaction is not active, consider adding @Transactional to your method to automatically activate one.
	at io.quarkus.hibernate.orm.runtime.session.TransactionScopedSession.persist(TransactionScopedSession.java:143)
	at org.hibernate.engine.spi.SessionLazyDelegator.persist(SessionLazyDelegator.java:275)
	at org.hibernate.Session_OpdLahisOZ9nWRPXMsEFQmQU03A_Synthetic_ClientProxy.persist(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.addAuthenticated(RunServiceImpl.java:675)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.getPersistRun(RunServiceImpl.java:628)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.lambda$addRunFromData$4(RunServiceImpl.java:575)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.addRunFromData(RunServiceImpl.java:574)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.addRunFromData$$superforward(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass$$function$$199.apply(Unknown Source)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:73)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.hyperfoil.tools.horreum.server.TokenInterceptor.wrap(TokenInterceptor.java:49)
	at io.hyperfoil.tools.horreum.server.TokenInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.hyperfoil.tools.horreum.server.RolesInterceptor.intercept(RolesInterceptor.java:70)
	at io.hyperfoil.tools.horreum.server.RolesInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.quarkus.security.runtime.interceptor.SecurityHandler.handle(SecurityHandler.java:47)
	at io.quarkus.security.runtime.interceptor.PermitAllInterceptor.intercept(PermitAllInterceptor.java:23)
	at io.quarkus.security.runtime.interceptor.PermitAllInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:136)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:107)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.doIntercept(TransactionalInterceptorRequired.java:38)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.intercept(TransactionalInterceptorBase.java:61)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:32)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor.intercept(StandardSecurityCheckInterceptor.java:44)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor_PermitAllInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
	at io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.addRunFromData(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.addRunFromData(RunServiceImpl.java:494)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_ClientProxy.addRunFromData(Unknown Source)
	at io.hyperfoil.tools.horreum.api.services.RunService$quarkusrestinvoker$addRunFromData_ab145475c68a03706378ea6d090426ed8639d50c.invoke(Unknown Source)
	at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
	at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
	at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:1583)

However, addRunFromData is already annotated with @Transactional and I don't see how the new DataStore could affect this anyway. Any help would be welcome.
Furthermore, looking at what the new DataStore is doing, it's essentially getting the data from the Collector and putting them in Horreum, i.e. it duplicates the data while I thought it would use them on demand. @Karm is that what you had in mind? In that case what's the benefit of keeping the collector around instead of hosting a Horreum instance instead and uploading directly to it?

Hey @zakkak that error is not expected, and this code path is well tested :(
Are there any other error messages before that, i.e. did anything cause a transaction rollback / abort ?

Furthermore, looking at what the new DataStore is doing, it's essentially getting the data from the Collector and putting them in Horreum, i.e. it duplicates the data while I thought it would use them on demand. @Karm is that what you had in mind? In that case what's the benefit of keeping the collector around instead of hosting a Horreum instance instead and uploading directly to it?

Horreum allows users to dynamically create Labels (i.e. derived data/metrics) retrospectively after data has been "indexed".  e.g. if a user adds a new change detection variable, or a the calculation for a Labels changes, Horreum can retrospectively calculate values from all retrieved documents.
The calculation of Labels occurs within the database, and therefore we are reliant on data being in the backend store before it is processed.
If order to handle Label calculation for downstream datastores, we cache the original document.  This allows us to process the JSON documents, but also saves us from having to retrieve all historic documents if the user defines a new or updates a Label

Hey @zakkak that error is not expected, and this code path is well tested :( Are there any other error messages before that, i.e. did anything cause a transaction rollback / abort ?

Not that I saw, I will try to reproduce and have a better look.

Hi @zakkak I am coming back to this, the error is strange and I have not seen this happen before. All the code paths that lead to that method call io.hyperfoil.tools.horreum.svc.RunServiceImpl.addAuthenticated(RunServiceImpl.java:675) are wrapped in a transaction.  Have you managed to re-create this problem?  are you still seeing it?

Hi @johnaohara, sorry for the late reply I was on vacation.
No, I didn't have the time to reproduce yet. I am aware that you are going to give it a try yourself, let me know if you need anuthing more.

Hi @johnaohara, I am trying this out again and am now getting a different error when trying to import some runs (this time on a Linux machine):

Logs:
2024-06-12 10:48:36,683 WARN  [com.arj.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check processing TX 0:ffffc0a802b2:b22d:66694b32:2972 in state  RUN
2024-06-12 10:48:36,684 WARN  [com.arj.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffffc0a802b2:b22d:66694b32:2972 invoked while multiple threads active within it.
2024-06-12 10:48:36,685 WARN  [com.arj.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012381: Action id 0:ffffc0a802b2:b22d:66694b32:2972 completed with multiple threads - thread executor-thread-23 was in progress with org.hibernate.engine.internal.ManagedTypeHelper.asPersistentAttributeInterceptable(ManagedTypeHelper.java:267)
org.hibernate.bytecode.internal.BytecodeEnhancementMetadataPojoImpl.extractLazyInterceptor(BytecodeEnhancementMetadataPojoImpl.java:277)
org.hibernate.bytecode.internal.BytecodeEnhancementMetadataPojoImpl.hasUnFetchedAttributes(BytecodeEnhancementMetadataPojoImpl.java:113)
org.hibernate.persister.entity.AbstractEntityPersister.hasUninitializedLazyProperties(AbstractEntityPersister.java:4384)
org.hibernate.engine.internal.Cascade.cascade(Cascade.java:98)
org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:490)
org.hibernate.event.internal.DefaultPersistEventListener.justCascade(DefaultPersistEventListener.java:161)
org.hibernate.event.internal.DefaultPersistEventListener.entityIsPersistent(DefaultPersistEventListener.java:154)
org.hibernate.event.internal.DefaultPersistEventListener.persist(DefaultPersistEventListener.java:90)
org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:77)
org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:138)
org.hibernate.internal.SessionImpl.persistOnFlush(SessionImpl.java:819)
org.hibernate.engine.spi.CascadingActions$8.cascade(CascadingActions.java:333)
org.hibernate.engine.spi.CascadingActions$8.cascade(CascadingActions.java:323)
org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:518)
org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:439)
org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:225)
org.hibernate.engine.internal.Cascade.cascade(Cascade.java:158)
org.hibernate.event.internal.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:161)
org.hibernate.event.internal.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:144)
org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:79)
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:38)
org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:127)
org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1412)
org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1398)
org.hibernate.query.sql.internal.NativeQueryImpl.prepareForExecution(NativeQueryImpl.java:599)
org.hibernate.query.spi.AbstractSelectionQuery.beforeQuery(AbstractSelectionQuery.java:391)
org.hibernate.query.spi.AbstractSelectionQuery.list(AbstractSelectionQuery.java:364)
org.hibernate.query.spi.AbstractSelectionQuery.getSingleResult(AbstractSelectionQuery.java:473)
io.hyperfoil.tools.horreum.server.RoleManager.setRoles(RoleManager.java:28)
io.hyperfoil.tools.horreum.server.RoleManager_ClientProxy.setRoles(Unknown Source)
io.hyperfoil.tools.horreum.server.RolesInterceptor.intercept(RolesInterceptor.java:78)
io.hyperfoil.tools.horreum.server.RolesInterceptor_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInCallerTx(TransactionalInterceptorBase.java:335)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.doIntercept(TransactionalInterceptorRequired.java:40)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.intercept(TransactionalInterceptorBase.java:61)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:32)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.transform(Unknown Source)
io.hyperfoil.tools.horreum.svc.RunServiceImpl.addAuthenticated(RunServiceImpl.java:688)
io.hyperfoil.tools.horreum.svc.RunServiceImpl.getPersistRun(RunServiceImpl.java:628)
io.hyperfoil.tools.horreum.svc.RunServiceImpl.lambda$addRunFromData$4(RunServiceImpl.java:575)
java.base/java.lang.Iterable.forEach(Iterable.java:75)
io.hyperfoil.tools.horreum.svc.RunServiceImpl.addRunFromData(RunServiceImpl.java:574)
io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.addRunFromData$$superforward(Unknown Source)
io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass$$function$$10.apply(Unknown Source)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:73)
io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
io.hyperfoil.tools.horreum.server.TokenInterceptor.wrap(TokenInterceptor.java:49)
io.hyperfoil.tools.horreum.server.TokenInterceptor_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
io.hyperfoil.tools.horreum.server.RolesInterceptor.intercept(RolesInterceptor.java:70)
io.hyperfoil.tools.horreum.server.RolesInterceptor_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
io.quarkus.security.runtime.interceptor.SecurityHandler.handle(SecurityHandler.java:47)
io.quarkus.security.runtime.interceptor.PermitAllInterceptor.intercept(PermitAllInterceptor.java:23)
io.quarkus.security.runtime.interceptor.PermitAllInterceptor_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:136)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:107)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.doIntercept(TransactionalInterceptorRequired.java:38)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.intercept(TransactionalInterceptorBase.java:61)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:32)
io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor.intercept(StandardSecurityCheckInterceptor.java:44)
io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor_PermitAllInterceptor_Bean.intercept(Unknown Source)
io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.addRunFromData(Unknown Source)
io.hyperfoil.tools.horreum.svc.RunServiceImpl.addRunFromData(RunServiceImpl.java:494)
io.hyperfoil.tools.horreum.svc.RunServiceImpl_ClientProxy.addRunFromData(Unknown Source)
io.hyperfoil.tools.horreum.api.services.RunService$quarkusrestinvoker$addRunFromData_ab145475c68a03706378ea6d090426ed8639d50c.invoke(Unknown Source)
org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
java.base/java.lang.Thread.run(Thread.java:1583)

2024-06-12 10:48:36,686 WARN  [com.arj.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffffc0a802b2:b22d:66694b32:2972 aborting with 1 threads active!
2024-06-12 10:48:36,686 WARN  [org.hib.res.tra.bac.jta.int.syn.SynchronizationCallbackCoordinatorTrackingImpl] (Transaction Reaper Worker 0) HHH000451: Transaction afterCompletion called by a background thread; delaying afterCompletion processing until the original thread can handle it. [status=4]
2024-06-12 10:48:36,686 WARN  [com.arj.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[#456,Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffffc0a802b2:b22d:66694b32:2972
2024-06-12 10:48:36,690 WARN  [com.arj.ats.arjuna] (executor-thread-23) ARJUNA012077: Abort called on already aborted atomic action 0:ffffc0a802b2:b22d:66694b32:2972
2024-06-12 10:48:36,691 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-23) HTTP Request to /api/run/data?start=2023-11-15T10%3A11%3A43%2B00%3A00&stop=2024-06-12T10%3A11%3A43%2B00%3A00&test=Quarkus%20main&owner=dev-team&access=PUBLIC failed, error id: 1b6edb27-08f3-4e4d-ab71-4b630bb76d3b-8: io.quarkus.arc.ArcUndeclaredThrowableException: Error invoking subclass method
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_Subclass.addRunFromData(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl.addRunFromData(RunServiceImpl.java:494)
	at io.hyperfoil.tools.horreum.svc.RunServiceImpl_ClientProxy.addRunFromData(Unknown Source)
	at io.hyperfoil.tools.horreum.api.services.RunService$quarkusrestinvoker$addRunFromData_ab145475c68a03706378ea6d090426ed8639d50c.invoke(Unknown Source)
	at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
	at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
	at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: jakarta.transaction.RollbackException: ARJUNA016102: The transaction is not active! Uid is 0:ffffc0a802b2:b22d:66694b32:2972
	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1261)
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:104)
	at io.quarkus.narayana.jta.runtime.NotifyingTransactionManager.commit(NotifyingTransactionManager.java:70)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.endTransaction(TransactionalInterceptorBase.java:406)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:175)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:107)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.doIntercept(TransactionalInterceptorRequired.java:38)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.intercept(TransactionalInterceptorBase.java:61)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:32)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor.intercept(StandardSecurityCheckInterceptor.java:44)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor_PermitAllInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
	at io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
	... 14 more

What I did:

Started Horreum in dev mode (without testing) from my branch in https://github.com/Hyperfoil/Horreum/pull/1703
Setup the Collector integration (added the URL and TOKEN, no username or password)
Created a JWT token
Run

curl "http://localhost:8080/api/run/data?start=2023-11-15T10%3A11%3A43%2B00%3A00&stop=2024-06-12T10%3A11%3A43%2B00%3A00&test=Quarkus%20main&owner=dev-team&access=PUBLIC" -s -H 'content-type: application/json' -H "Authorization: Bearer ${BEARER_TOKEN}" -d '{ "tag": "quarkus-main-ci" }'

to import the runs of the quarkus-main-ci tag (which contains an array of 7126 elements/runs).
Any hints on what I might be doing wrong?

Thank you @johnaohara I will do that.
Note that it shouldn't be necessary after the initial load of the data as I expect us to push the new builds on a daily basis after that, in which case the timeout could be enough.

authors: Karm johnaohara zakkak

repo: Hyperfoil/Horreum


text:
[Feature Request] Along w/ lovelaces, Value should allow to get assets only

Currently Value has a get_lovelace() to get the lovelace value, but there is not get_assets or equivalent, where only native assets are returned.
I've currently worked around it w/
Value::from_map(myValue.to_map().filter((a: MintingPolicyHash, _) -> { a != MintingPolicyHash::new(#) }));

Thanks for calling this out! I've just released v0.12.12 which implements value.get_assets(). Please take a look

Thanks for calling this out! I've just released v0.12.12 which implements value.get_assets(). Please take a look

All working. Thanks.

repo: Hyperion-BT/helios


text:
SM3算法使用对象通用池来管理Digest对象，优化性能同时避免线程安全

Signed-off-by: Xiao Hui xiaohui_1123@126.com

sm3...也需要么？🤔

sm3...也需要么？🤔

SM3Digest也存在线程安全问题，所以之前的代码里你使用了类级别的synchronized来解决线程安全问题，但是这将导致同一个虚拟机启动的程序中，所有使用SM3Util进行hash或者verify都需要串行执行，这个点就类似高速公路上的一个关隘，一夫当关，影响通行效率。

sm3...也需要么？🤔

SM3Digest也存在线程安全问题，所以之前的代码里你使用了类级别的synchronized来解决线程安全问题，但是这将导致同一个虚拟机启动的程序中，所有使用SM3Util进行hash或者verify都需要串行执行，这个点就类似高速公路上的一个关隘，一夫当关，影响通行效率。

hash是O(1)的复杂度，考虑n个并发，最差变为O(n)。
然而从CPU架构等角度出发，我们做pool的开销（内存对象加载）的I/O是不是会大于O(n)?
我理解pool也是在堆上。。。是不是一个factory类就够了？ 每次从factory类里new一个对象，整段函数调用后销毁即可。（也就是用pool的意义？）这里和sm4不同的地方在于sm4那边因为chiper，涉及到chiper对象的n *  算法个数的大规模构建，因此复用节省开销。

sm3...也需要么？🤔

SM3Digest也存在线程安全问题，所以之前的代码里你使用了类级别的synchronized来解决线程安全问题，但是这将导致同一个虚拟机启动的程序中，所有使用SM3Util进行hash或者verify都需要串行执行，这个点就类似高速公路上的一个关隘，一夫当关，影响通行效率。

hash是O(1)的复杂度，考虑n个并发，最差变为O(n)。
然而从CPU架构等角度出发，我们做pool的开销（内存对象加载）的I/O是不是会大于O(n)?
我理解pool也是在堆上。。。是不是一个factory类就够了？ 每次从factory类里new一个对象，整段函数调用后销毁即可。（也就是用pool的意义？）这里和sm4不同的地方在于sm4那边因为chiper，涉及到chiper对象的n * 算法个数的大规模构建，因此复用节省开销。

SM3哈希算法的时间复杂度与哈希对象的大小有关，不是O(1)的复杂度，空间复杂度也不是O(1)。
如果整个应用程序加载初始化全局静态的SM3Digest pool（至于池的大小需要使用者设定合适的值，如果设置不当，是程序员经验问题，而不是程序设计的问题），可以避免频繁创建SM3Digest对象，无论是内存的开销还是时间的开销都要小一些，这跟SM3Digest的具体算法无关，只关于SM3Digest这个对象创建的内存开销和时间开销。退了一步讲，用内存换取性能是值得的。
关于SM4的使用，正常使用的情况下，一般也不会一次性初始化全部模式的Cipher对象，也是用哪个模式就初始哪个模式的Cipher对象，之后就销毁了，就像最开始SM4Util工具类提供的静态方法，之所以进行重构，就是因为每次调用静态方法时new某个模式的Cipher对象比较耗时。

repo: Hyperledger-TWGC/java-gm


text:
Partners should be able to change visibility options on comments

When a partner is added to an application, they should be able to change who can see comments they leave (just staff, or both staff and the applicant). There maybe be a need for the partner to share sensitive information of just communicate with OTF staff.

We try to treat partners exactly the same as applicants, same permissions, same views etc.
Is not a partner normally just another person at the same organisation (as the applicant)? Does OTF use it for some other group of people?

@frjo this issue came about trying to get Red Team Lab setup. For context, their ideal workflow looks like this:

Applicant applies to get their project a security audit.
OTF dicsusses and accepts/denies.
If approved, a security vendor is added as a partner.
Vendor communicates with staff sometimes uploading their own financial information or other communication intended for just staff.
Vendor will also need to communicate with applicant to ask questions & upload completed audit.

They were ideally hoping to use Hypha as a communication log to avoid losing comms in individual emails as people come & go. Let me know what you think and if that makes sense.

I see, this was a use case for "Partner" I was not aware of.
Should not be hard to add.

I can take a stab at this

authors: frjo wes-otf

repo: HyphaApp/hypha


text:
added default from phone number. required php 7.2. refactoring

added default from phone number in .env
required php 7.2.
refactoring.

Thank you for your contribution.
I'll review and merge it as soon as possibly I can.
Thanks.

Merged.

authors: HyungJu santutu

repo: HyungJu/laravel-sens


text:
Ayush Saxena

Solution in python

FIne


text:
Mejorar la animación de las aspas

Hay que conseguir que la transición entre las aspas apagadas y encendidas sea mas suave

Ahora las aspas rotan a una velocidad lo suficientemente rápida para que sea realista

authors: BlazquezVictor inamoriza


text:
Support for external chaincode builders

Add support to be able to run external builders.
This is following the model of https://github.com/hyperledgendary/fabric-builders/blob/master/builders/external/README.md
To run in this manner:
Start microfab as normal, but ensure that it is attached to a known docker network
Create a connection.json file and package in a tgz as per normal chaincodes (see the notes above)
Install the tgz
Start the docker container with the chaincode as per the connection.json (on the same network)
Approve and Commit the chaincode as normal.

Think this is done 👍

repo: IBM-Blockchain/microfab


text:
IAM User Policy API, Account V1 API to get users in account, Account …

…v2 Find account by account id

Merged 22519218649038e9f89687d9b779544cb60f5e09

repo: IBM-Bluemix/bluemix-go


text:
FHIRValidator should check ValueSet membership for preferred/extensible bindings in the base specification

Is your feature request related to a problem? Please describe.
When you validate a resource instance against a given profile, one of the checks we perform is "valueset membership":

for required bindings, if there is no corresponding coding we return an issue with severity error
for preferred/extensible bindings, if there is no corresponding coding we return an issue with severity warning

However, if you validate a resource instance which has a preferred or extensible binding that is defined in the base spec, then there is no supplemental warning.
For example, validating a Patient resource that has a maritalStatus coding with a system of http://terminology.hl7.org/CodeSystem/v2-0002, there is no warning.
Describe the solution you'd like
Preferred and Extensible bindings from the base spec should behave similar to Preferred and Extensible bindings defined in profiles.  Construction of the objects should proceed, but FHIRValidation should return a supplemental warning when we validate them.
One option we could consider for this is to add an annotation with a generated constraint for each resource type that includes a code/Coding/CodeableConcept with preferred/extensible bindings.
Alternatively, we could try using the @Binding annotations that we already add at the field level from within the FHIRValidator.  For example, from Resource:
    @Binding(
        bindingName = "Language",
        strength = BindingStrength.ValueSet.PREFERRED,
        description = "A human language.",
        valueSet = "http://hl7.org/fhir/ValueSet/languages",
        maxValueSet = "http://hl7.org/fhir/ValueSet/all-languages"
    )
    protected final Code language;

Describe alternatives you've considered
I wonder if required bindings for Coding/CodeableConcept should be moved to FHIRValidator as well, or if we should continue to handle required bindings on object construction and preferred/extensible bindings on secondary validation...probably the latter since the required binding checks are already working.
Additional context
We got here by incrementally adding capability.  Initially, we only validated required codes (during object construction).  Then we added support for validating required bindings in profiles (during validation) and validating required Coding/CodeableConcept bindings in the base spec (during construction).  Finally, we enabled supplemental warnings for preferred/extensible bindings in profiles...but not for bindings from the base specification because we do those during object construction and we have no mechanism for providing supplemental warnings during object construction.

After looking at the code a bit, I think the approach of adding an annotation with a generated constraint for each resource type that includes a code/Coding/CodeableConcept with preferred/extensible bindings would be the way to go on this.

authors: lmsurpre tbieste

repo: IBM/FHIR


text:
Remove default values from portworx spec and spec file variables to enable TF_VAR to work

The portworx module has default="" for the portworx_spec and portworx_spec_file variables. One of these is required to be provided for the module to function. Terragrunt values are passed to terraform as TF_VAR environment values. Terraform environment values are only used if no other values are provided, so with these variables set to default empty, the environment variables are never utilized.

Should only change the portworx_spec value as this is passed as a TF_VAR within the github workflow automation.

repo: IBM/automation-azure-infra-openshift


text:
fix(combobox): improve accessibility for combobox

Closes IBM/carbon-components-angular#1590
Moves around and cleans up all the roles and aria attrs in the component. I'm honestly not sure how we let it get this bad 😱

Closes #1590
Moves around and cleans up all the roles and aria attrs in the component. I'm honestly not sure how we let it get this bad

however, the autocomplete attribute itself is no longer available for combobox input after this 'fix'. What is the recommended way to disable it or provide a list of suggested values other than getElementById.... in AfterViewInit, which is quite inconvenient for dynamic component.

authors: cal-smith grenobnik

repo: IBM/carbon-components-angular


text:
Update secrets baseline

IBM's monitoring of external repos is failing with:
06:42:42  Failed Condition    Secret Type                 Filename                                       Line
06:42:42  ------------------  --------------------------  -------------------------------------------  ------
06:42:42  Unaudited           Base64 High Entropy String  clouddatabasesv5/cloud_databases_v5_test.go    8819

There is no pre-commit on this repo so I ran:
detect-secrets scan --update .secrets.baseline
detect-secrets audit .secrets.baseline

References: https://github.com/IBM/cloud-databases-go-sdk/pull/28
Can close this PR once merged https://github.com/IBM/cloud-databases-go-sdk/pull/29

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lorna-Kelly seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant lornakelly

repo: IBM/cloud-databases-go-sdk


text:
Add round up to expire and refresh time difference check.

PR summary

Fixes: #19
Note: An existing issue is required before opening a PR.
PR Checklist
Please make sure that your PR fulfills the following requirements:

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

PR Type

[x] 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?

Intermittently the unit test fails with the following error:
FAIL  test/unit/sessionTokenManager.test.js
262  ● SessionTokenManager tests › Test saveTokenInfo › Session token with expire time stamp
263
264    assert.strictEqual(received, expected)
265
266    Expected value to strictly be equal to:
267      2
268    Received:
269      1.7999999523162842
270
271      160 |       assert.strictEqual(Math.ceil(manager.refreshTime - dateNow / 1000), 8);
272      161 |       /* time difference between expire time and refresh time should be 2 seconds */
273    > 162 |       assert.strictEqual(manager.expireTime - manager.refreshTime, 2);
274          |              ^
275      163 |       assert.strictEqual(manager.accessToken, '123456');
276      164 |     });
277      165 |
278
279      at Object.<anonymous> (test/unit/sessionTokenManager.test.js:162:14)

CI source: https://travis-ci.com/github/IBM/cloudant-node-sdk/jobs/512308385
What is the new behavior?

The time difference between  expire and refresh time is not always exactly 2 seconds, this change rounds up the seconds if the difference is less than 2 seconds.
There were 2 issues that was caught, so probably this correction will be enough to stabilise the unit test.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thank you for reviewing! 🙂

repo: IBM/cloudant-node-sdk


text:
java.lang.IllegalStateException: Duplicate key requireNonEmpty(T, Supplier)

Run the latest codeanalyzer on https://github.com/eclipse-store/bookstore-demo and the error is,
java.lang.IllegalStateException: Duplicate key requireNonEmpty(T, Supplier) (attempted merging values Callable(signature=requireNonEmpty(T, Supplier), comment=/**          * Checks that the specified char sequence is not {@code null} or empty and throws a customized          * {@link NullPointerException} respectively {@link IllegalArgumentException} if it is.      *          * @param <T>          * @param charSequence the char sequence to check          * @param messageSupplier supplier of the detail message to be          * used in the event that a exception is thrown          * @return {@code charSequence} if not {@code null} or empty          * @throws NullPointerException if {@code charSequence} is {@code null}          * @throws IllegalArgumentException if {@code charSequence} is empty          */, annotations=[], modifiers=[public, static], thrownExceptions=[], declaration=public static T requireNonEmpty(final T charSequence, final Supplier<String> messageSupplier), parameters=[ParameterInCallable(type=T, name=charSequence, annotations=[], modifiers=[final]), ParameterInCallable(type=java.util.function.Supplier<java.lang.String>, name=messageSupplier, annotations=[], modifiers=[final])], code={     if (charSequence == null) {         throw new NullPointerException(messageSupplier.get());     }     if (charSequence.length() == 0) {         throw new IllegalArgumentException(messageSupplier.get());     }     return charSequence; }, startLine=38, endLine=52, returnType=T, isImplicit=false, isConstructor=false, referencedTypes=[], accessedFields=[], callSites=[CallSite(methodName=get, receiverExpr=messageSupplier, receiverType=java.util.function.Supplier<java.lang.String>, argumentTypes=[], returnType=java.lang.String, calleeSignature=get(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=45, startColumn=35, endLine=45, endColumn=55), CallSite(methodName=length, receiverExpr=charSequence, receiverType=, argumentTypes=[], returnType=, calleeSignature=length(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=47, startColumn=6, endLine=47, endColumn=26), CallSite(methodName=get, receiverExpr=messageSupplier, receiverType=java.util.function.Supplier<java.lang.String>, argumentTypes=[], returnType=java.lang.String, calleeSignature=get(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=49, startColumn=39, endLine=49, endColumn=59), CallSite(methodName=<init>, receiverExpr=, receiverType=java.lang.NullPointerException, argumentTypes=[java.lang.String], returnType=java.lang.NullPointerException, calleeSignature=NullPointerException(java.lang.String), isPublic=false, isProtected=false, isPrivate=false, isUnspecified=true, isStaticCall=false, isConstructorCall=true, startLine=45, startColumn=10, endLine=45, endColumn=56), CallSite(methodName=<init>, receiverExpr=, receiverType=java.lang.IllegalArgumentException, argumentTypes=[java.lang.String], returnType=java.lang.IllegalArgumentException, calleeSignature=IllegalArgumentException(java.lang.String), isPublic=false, isProtected=false, isPrivate=false, isUnspecified=true, isStaticCall=false, isConstructorCall=true, startLine=49, startColumn=10, endLine=49, endColumn=60)], variableDeclarations=[], cyclomaticComplexity=0) and Callable(signature=requireNonEmpty(T, Supplier), comment=/**          * Checks that the specified collection is not {@code null} or empty and throws a customized          * {@link NullPointerException} respectively {@link IllegalArgumentException} if it is.      *          * @param <T>          * @param collection the collection to check          * @param messageSupplier supplier of the detail message to be          * used in the event that a exception is thrown          * @return {@code collection} if not {@code null} or empty          * @throws NullPointerException if {@code collection} is {@code null}          * @throws IllegalArgumentException if {@code collection} is empty          */, annotations=[], modifiers=[public, static], thrownExceptions=[], declaration=public static T requireNonEmpty(final T collection, final Supplier<String> messageSupplier), parameters=[ParameterInCallable(type=T, name=collection, annotations=[], modifiers=[final]), ParameterInCallable(type=java.util.function.Supplier<java.lang.String>, name=messageSupplier, annotations=[], modifiers=[final])], code={     if (collection == null) {         throw new NullPointerException(messageSupplier.get());     }     if (collection.isEmpty()) {         throw new IllegalArgumentException(messageSupplier.get());     }     return collection; }, startLine=94, endLine=108, returnType=T, isImplicit=false, isConstructor=false, referencedTypes=[], accessedFields=[], callSites=[CallSite(methodName=get, receiverExpr=messageSupplier, receiverType=java.util.function.Supplier<java.lang.String>, argumentTypes=[], returnType=java.lang.String, calleeSignature=get(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=101, startColumn=35, endLine=101, endColumn=55), CallSite(methodName=isEmpty, receiverExpr=collection, receiverType=, argumentTypes=[], returnType=, calleeSignature=isEmpty(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=103, startColumn=6, endLine=103, endColumn=25), CallSite(methodName=get, receiverExpr=messageSupplier, receiverType=java.util.function.Supplier<java.lang.String>, argumentTypes=[], returnType=java.lang.String, calleeSignature=get(), isPublic=true, isProtected=false, isPrivate=false, isUnspecified=false, isStaticCall=false, isConstructorCall=false, startLine=105, startColumn=39, endLine=105, endColumn=59), CallSite(methodName=<init>, receiverExpr=, receiverType=java.lang.NullPointerException, argumentTypes=[java.lang.String], returnType=java.lang.NullPointerException, calleeSignature=NullPointerException(java.lang.String), isPublic=false, isProtected=false, isPrivate=false, isUnspecified=true, isStaticCall=false, isConstructorCall=true, startLine=101, startColumn=10, endLine=101, endColumn=56), CallSite(methodName=<init>, receiverExpr=, receiverType=java.lang.IllegalArgumentException, argumentTypes=[java.lang.String], returnType=java.lang.IllegalArgumentException, calleeSignature=IllegalArgumentException(java.lang.String), isPublic=false, isProtected=false, isPrivate=false, isUnspecified=true, isStaticCall=false, isConstructorCall=true, startLine=105, startColumn=10, endLine=105, endColumn=60)], variableDeclarations=[], cyclomaticComplexity=0))

duplicate #41

authors: rahlk rangeetpan

repo: IBM/codenet-minerva-code-analyzer


text:
As an auditree user I would like transforms for supported fetchers into OSCAL structured items.

Questions

Which format(s) will be supported. Auditree stores raw data so really we are talking about a transform per fetcher (i.e. do we prototype with 1-3 common fetchers (IBM Cloud IKS? or Cloud inventory??)
Do we expect this to be run as a harvest report or more likely directly using trestle (either via a task or as an SDK)

@degenaro  - I think this starts to overlap with graft.

Closing until architectural integration strategy is resolved.

repo: IBM/compliance-trestle


text:
Update operator package name to match ODLM

Issue: https://github.com/IBM/ibm-auditlogging-operator/issues/8

/lgtm

authors: hbradfield znhafeez

repo: IBM/ibm-auditlogging-operator


text:
Adds an image pull secret function to the operator.

Closes #172.
Implements  a list  of image pull  secrets, imagePullSecret in the CRD for the operator. This allows the  user to supply their own  pull secrets for the pods generated by the operator.

@mew2057 Could you please update the instructions how to use this pullsecrets in the CRD operator ?

@mew2057 Could you please update the instructions how to test this pullsecrets in the CRD operator  ?

repo: IBM/ibm-spectrum-scale-csi


text:
after a long table response, terminal does not auto-scroll to make the next input visible

recent regression?

possibly g2g with table inner scrolling. verification needed.

repo: IBM/kui


text:
Windows PathStyle

Describe the bug
error: the path "C:UsersBerndAppDataLocalTempkui--3412-2iBvUQxGfLcs" does not exist
We miss ""
Steps to reproduce the behavior

Install on Windows
Edit any YAML

Expected behavior
A clear and concise description of what you expected to happen.
i can edit YAML Files
System

Kui version: 9.0.4
Operating system: Windows 10 latest

<3


text:
fix(node16-18): add node 16 and 18 like platform node sdk repo

PR summary
This PR enables the CI build to be compatible with newer versions of node.js; in this case versions 16 and 18.
This PR arose from a discussion in this PR: IBM/networking-node-sdk#100
The xenial ubuntu version does not support node.js 18. Therefore, the ubuntu distribution in the travis CI was set to jammy. as used in the following SDK repo: https://github.com/IBM/platform-services-node-sdk
Jammy Jellyfish (Ubuntu 22.04) documentation: https://docs.travis-ci.com/user/reference/jammy/#javascript-and-nodejs-support
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] 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
[x] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.27.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: MalarvizhiK moisesatwork

repo: IBM/networking-node-sdk


text:
Query field does not match schema name

Describe the bug
I have this openapi.json, one of the schema names is Todo.  However, when doing a query, I'd expect:
query{
   todos {
     id
     title
     desc
   }
 }

Actual behavior (notice the todos2):
query{
   todos2 {
     id
     title
     desc
   }
 }

I believe this behavior changes fairly recently because I was able to follow the instruction in this tutorial https://loopback.io/doc/en/lb4/exposing-graphql-apis.html.

Hey! Thanks for filling this issue!
Ugh, this is a very ugly problem. Unfortunately, it's also very difficult to fix. The problem is that, currently, we are incrementally building up the GraphQL interface as it is needed. To get the desired behavior, we will need to take into context how individual pieces in the GraphQL interface will affect each other and come up with the optimal translation. These two approaches are very different. Additionally, there may not be an optimal translation and requires a lot of higher level contextual processing of the OAS.
I think we should try to find a way to amend at least simple cases like this one. It should be possible, but it may still require some difficult changes. I will try to have a go at it...

Let me explain what is LoopBack trying to achieve in the openapi document posted by Diana.
We have a single model called Todo, it is exposing CRUD operations at /todos path. Now different operations accept or return slightly different data.

When creating a new Todo via POST /todos, the PK property is not allowed in the request, it will be generated by the database. The endpoint uses the schema called NewTodo to describe the request body.
When updating (patching) an existing Todo via PATCH /todos/{id}, the user provides only a subset of properties to update, hence the endpoint uses the schema called TodoPartial to describe the request body.
When querying todos via GET /todos, we allow the client to ask for relation traversal, to get related models included in the results (e.g. include todoList with data of the list the todo belongs to). The response is described using the schema TodoWithRelations. (This is not present in the posted openapi doc, but will be produced by many LoopBack4 apps.)

I see how this setup can be difficult to translate into GraphQL spec.
Would it help if openapi-to-graphql was taking into account schema titles when building query names?
Alternatively, can we define a new metadata (an OAS extension, e.g. x-graphql-query) that will make it easier for openapi-to-graphql to build good-looking query names? Then we can modify LoopBack to include that information in OpenAPI documents of LB apps.

@bajtos I'm really glad you brought this up. I think this could be a reasonable solution to this problem. We can create a new option that forces OtG to use schema titles to create

As alternative for strict REST OpenAPI docs HTTP methods can be transformed to prefixes. For example PATCH could end up with patchTask. Same with delete and no append for POST method as this is widely used for any type of modification

@wtrocki This is a valid point but I think we want to move as far away from REST terminology, or at least HTTP methods, to create a GraphQL interface that is more in line with the intention of GraphQL. Thoughts?

I think that any approach here will be taken will need to accept some tradeoffs or require manual intervention. SchemaTitles seems to be good idea for me that will have minimal side effects.

@bajtos @wtrocki On second though, schemaTitleTypeNames may not necessarily resolve this issue here. Currently, we use type names to produce field names for query fields.
This means that instead of querying for
query{
   todos {
     id
     title
     desc
   }
 }

we may just end up querying for
query{
   todoPartial {
     id
     title
     desc
   }
 }

which is arguably worse than the behavior we have now...
I don't think this is what we want, right?

How about we can provide layout abstraction where users can map some extra data from their schema and by default we can use HTTP methods to provide information that this is update operation and that second one.
For typical rest cases developers will always get the /users endpoint and the only difference will be the method that is used (eventually some different payload as above that cannot be used here). Having this losely defined will allow some further manipulaton - next step will be to manually edit schema which I think it is normal ask as there are so many concepts that cannot be mapped properly.

authors: Alan-Cha bajtos dhmlau wtrocki

repo: IBM/openapi-to-graphql


text:
Operator Collection Tutorial indicates that users will need to update the operator-config.yml but this is not always the case

What is the link to the document from the "main" branch?
https://github.com/IBM/operator-collection-sdk/blob/main/docs/tutorial.md
Which section(s) is the issue in?
The Update operator config section.
What needs fixing?
I do not wish to duplicate doc that is in the tutorial.md file in the MQ Operator README file. So, I would like to be able to reference the tutorial.md file as much as possible. However, the tutorial.md file currently states that users will need to update the operator-config.yml file. But, this is not necessarily true because for the MQ Operator, the operator-config.yml file is provided complete. Users do not need to update it.
I think the tutorial needs to differentiate between steps required to install an existing/provided Operator and between creating a brand new Operator.
At present, the instructions are somewhat misleading.
Additional context

Apologies, I had misunderstood the purpose of the tutorial. I just discussed it with Latrell and he clarified that I still need to document specifics in the MQ Operator README.file. So, I am closing this issue.

repo: IBM/operator-collection-sdk


text:
feat(IBM Cloud Shell): re-gen service to adopt the new error toolchain

…chain
PR summary

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)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@padamstx created a fresh PR - still the checks are not passing. Anything else to be done here ?

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

repo: IBM/platform-services-go-sdk


text:
posture management v2 version

PR summary
adding new v2 version of posture management
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)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Merging it to non-main branch for allowing secrets to be used for checks during creating PR to main branch.

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

authors: archanaponnada gary1998 sccdeveloper

repo: IBM/scc-go-sdk


text:
point loss in mask loss

Hi @FengLi-ust , thanks for your great works!
In  the appendix, you stated that We also follow [17, 5, 4] to use point loss in mask loss for efficiency. There are some details that I can not figured out:

How to sample the points?  with (a) regular grid, (b) uniform, (c) mildly biased or (d) heavily biased? How many points are smpled for each query?
The dot product in eq (1) will introduce losts of computation and memory cost. Did you sample the point features from M(T(C_b)+F(C_e)) for each query before performing the dot production? While sampling, which kind of boxes are used, GT boxes or anchor boxes?
Is there an obvious APm gap between the point (mask) loss and the mask loss without sampling?

Hi, you can refer to our cited papers for more details about how to sample and its gain.

repo: IDEA-Research/MaskDINO


text:
🛑 IDR (well 469267) is down

In bf15f36, IDR (well 469267) (https://idr.openmicroscopy.org/webclient/?show=well-469267) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 469267) is back up in eaaed18 after 18 minutes.

repo: IDR/upptime


text:
🛑 IDR (well 119093) is down

In 8f7f927, IDR (well 119093) (https://idr.openmicroscopy.org/webclient/?show=well-119093) was down:

HTTP code: 502
Response time: 98 ms

Resolved: IDR (well 119093) is back up in 3e87a40 after 9 minutes.


text:
🛑 IDR (well 469267) is down

In bc6f959, IDR (well 469267) (https://idr.openmicroscopy.org/webclient/?show=well-469267) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 469267) is back up in 2c01d1e after 49 minutes.


text:
Edited Views for serving Ushahidi requests

Issue Reference
This PR addresses the Issue : Fixes #
Summarize
Please, describe what the PR does, the changes you have made.

Also, mention the key points if any to look into while code reviews

You need to add requests to requirements.txt

Added Try Block and Updated the Requirements

great work @vigneshhari ! this looks good to me. I think we may change this flow in the future to direct users directly to the Ushahidi form - so let's not spend tooo much time perfecting this - this is really urgent to start sending new requests to Ushahidi though, so I'd be +1 on merging soon.

hold on to this till we make a call ?

@cibingeorge yes. definitely hold on this.
Also, some changes will be needed to do this if we need to point it to the new Ushahidi instance at http://volunteers.keralarescue.in
Here's a link to a gist with the field id's of all the fields in the new instance / form: https://gist.github.com/batpad/e745b2c6f1fed6fec51ea15608ea37dd - the field ids in this code will need to be updated accordingly (if we need to use this, cc @vigneshhari )
The form for the above mappings is the Rescue Survey form from http://volunteers.keralarescue.in

authors: batpad cibingeorge sumodm vigneshhari

repo: IEEEKeralaSection/rescuekerala